@univerjs-pro/sheets-pivot 0.9.3-nightly.202507250819 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +41 -41
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +10 -10
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3fd337,_0xa26bfb){const _0x30e0ea=_0x2e3d,_0x307b50=_0x3fd337();while(!![]){try{const _0x2035b3=parseInt(_0x30e0ea(0x149))/0x1*(parseInt(_0x30e0ea(0x3d4))/0x2)+parseInt(_0x30e0ea(0x1ca))/0x3+-parseInt(_0x30e0ea(0x3a0))/0x4+-parseInt(_0x30e0ea(0x3ac))/0x5+parseInt(_0x30e0ea(0x32d))/0x6*(parseInt(_0x30e0ea(0x315))/0x7)+parseInt(_0x30e0ea(0x23c))/0x8+parseInt(_0x30e0ea(0x179))/0x9*(parseInt(_0x30e0ea(0x118))/0xa);if(_0x2035b3===_0xa26bfb)break;else _0x307b50['push'](_0x307b50['shift']());}catch(_0x376043){_0x307b50['push'](_0x307b50['shift']());}}}(_0x4327,0x65eee),function(_0x465608,_0x2e31cf){const _0x2f35b7=_0x2e3d;typeof exports==_0x2f35b7(0x3c5)&&typeof module<'u'?_0x2e31cf(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x2f35b7(0x276)&&define[_0x2f35b7(0x3fd)]?define([_0x2f35b7(0x1c8),_0x2f35b7(0x23b),_0x2f35b7(0x104),_0x2f35b7(0x173),_0x2f35b7(0x284),'rxjs','@univerjs-pro/license',_0x2f35b7(0x209),_0x2f35b7(0x2fc),_0x2f35b7(0x2cb)],_0x2e31cf):(_0x465608=typeof globalThis<'u'?globalThis:_0x465608||self,_0x2e31cf(_0x465608[_0x2f35b7(0x328)]={},_0x465608[_0x2f35b7(0x178)],_0x465608['UniverCore'],_0x465608['UniverEngineFormula'],_0x465608[_0x2f35b7(0x2b9)],_0x465608[_0x2f35b7(0x34d)],_0x465608['UniverProLicense'],_0x465608[_0x2f35b7(0x204)],_0x465608[_0x2f35b7(0x338)],_0x465608[_0x2f35b7(0x1ce)]));}(this,function(_0x3e9a4b,_0x1978cb,_0x71e749,_0x19b6b3,_0x2a18e2,_0x11b8a8,_0x53e420,_0x5b4ef3,_0x5b6293,_0x30b91d){'use strict';const _0x952e9f=_0x2e3d;var _0x329d94=Object[_0x952e9f(0x26e)],_0x537b04=(_0x52b8d8,_0x34d94e,_0xdf6c4e)=>_0x34d94e in _0x52b8d8?_0x329d94(_0x52b8d8,_0x34d94e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdf6c4e}):_0x52b8d8[_0x34d94e]=_0xdf6c4e,_0x59bac0=(_0x2cf1a1,_0x3ed382,_0x392075)=>_0x537b04(_0x2cf1a1,typeof _0x3ed382!=_0x952e9f(0x193)?_0x3ed382+'':_0x3ed382,_0x392075);const _0x1354fd=Number[_0x952e9f(0x346)](0x68833ed2),_0x7261e6=0x10,_0x1a1b40=0x1,_0x510c58=_0x952e9f(0x141),_0x18e791=0x1,_0x1f655b='rgb(240,241,243)',_0x4e5e21=_0x952e9f(0x3af),_0x28b5e4=_0x952e9f(0x304),_0x2d9a0b=_0x952e9f(0x350),_0x32ce49=_0x952e9f(0x350),_0x49380c=_0x952e9f(0x397),_0x3eef65=_0x952e9f(0x20b),_0x2c4591='#FFFFFF',_0x50ab88=_0x952e9f(0x1e2),_0x2f9650=_0x952e9f(0x20b),_0x64004a=_0x952e9f(0x391),_0x48da6e=_0x952e9f(0x268),_0x51cb5e=0xe,_0x267e4c=0x6;var _0x17cb1b=(_0x236ee2=>(_0x236ee2['Existing']=_0x952e9f(0x291),_0x236ee2[_0x952e9f(0x365)]=_0x952e9f(0x1fc),_0x236ee2))(_0x17cb1b||{});const _0x478a78={'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':''}}},_0x5650cd=0x1e,_0x44b194={'b':{'s':0x1,'cl':{'rgb':_0x28b5e4}},'l':{'s':0x1,'cl':{'rgb':_0x28b5e4}},'r':{'s':0x1,'cl':{'rgb':_0x28b5e4}},'t':{'s':0x1,'cl':{'rgb':_0x28b5e4}}},_0x14db19={'bg':{'rgb':_0x1f655b},'ht':0x2,'vt':0x2,'tb':0x1},_0x19a4fc={'bg':{'rgb':_0x4e5e21},'ht':0x2,'vt':0x2,'tb':0x1},_0x4f9185={'rowStyle':{'bg':{'rgb':_0x48da6e},'bd':_0x44b194,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2f9650},'bd':null,'cl':{'rgb':_0x64004a},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x44b194,'bg':{'rgb':_0x50ab88},'vt':0x2},'cornerStyle':{'bd':_0x44b194,'bg':{'rgb':_0x49380c},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x44b194,'bg':{'rgb':_0x2d9a0b},'vt':0x2},'leafStyle':{'bd':_0x44b194,'bg':{'rgb':_0x32ce49},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x3eef65},'cl':{'rgb':_0x2c4591},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x44b194,'vt':0x2}};function _0x36911b(_0xc4af44,_0x50a8a7,_0x3401a8){const _0x50901b=_0x952e9f,_0x225402=_0xc4af44[_0x50901b(0x3dc)](_0x71e749['LocaleService']),_0x15db8d=_0x3401a8[_0x50901b(0x3d2)]('_');switch(_0x50a8a7){case _0x1978cb['PivotDateGroupFieldDateTypeEnum']['Year']:return _0x225402['t'](_0x50901b(0x15b),..._0x15db8d);case _0x1978cb['PivotDateGroupFieldDateTypeEnum'][_0x50901b(0x176)]:return _0x225402['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x15db8d);case _0x1978cb['PivotDateGroupFieldDateTypeEnum'][_0x50901b(0x38b)]:return _0x225402['t'](_0x50901b(0x1f6),..._0x15db8d);case _0x1978cb[_0x50901b(0x243)][_0x50901b(0x332)]:return _0x225402['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x15db8d);case _0x1978cb[_0x50901b(0x243)][_0x50901b(0x2d7)]:return _0x225402['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x15db8d);case _0x1978cb['PivotDateGroupFieldDateTypeEnum'][_0x50901b(0x29b)]:return _0x225402['t'](_0x50901b(0x39c),..._0x15db8d);case _0x1978cb[_0x50901b(0x243)][_0x50901b(0x253)]:return _0x225402['t'](_0x50901b(0x1ac),..._0x15db8d);case _0x1978cb[_0x50901b(0x243)][_0x50901b(0x21c)]:return _0x225402['t'](_0x50901b(0x3cc),..._0x15db8d);case _0x1978cb[_0x50901b(0x243)][_0x50901b(0x198)]:return _0x225402['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x15db8d);case _0x1978cb[_0x50901b(0x243)]['YearQuarter']:return _0x225402['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x15db8d);}return'';}const _0x466485=(_0x178371,_0x4dfaa8,_0x44bb79,_0x20c603)=>{const _0x5942b8=_0x952e9f;let _0x59df3f;const _0x1d92d=_0x178371['get'](_0x71e749[_0x5942b8(0x168)])[_0x5942b8(0x137)](_0x71e749[_0x5942b8(0x21f)][_0x5942b8(0xfe)]);if(!_0x1d92d)return null;const _0x338071=_0x1d92d[_0x5942b8(0x3a1)]();let _0x5e8c1c;if(_0x44bb79&&(_0x5e8c1c=_0x338071[_0x5942b8(0x183)](_0x44bb79)),_0x4dfaa8!=null&&_0x4dfaa8['v']||(_0x4dfaa8==null?void 0x0:_0x4dfaa8['v'])===0x0){_0x59df3f||(_0x59df3f={});const _0x4c1db1=_0x422930(_0x4dfaa8['v']);typeof _0x4c1db1==_0x5942b8(0x3d3)?_0x59df3f['t']=_0x71e749[_0x5942b8(0x1c9)][_0x5942b8(0x1d2)]:typeof _0x4c1db1==_0x5942b8(0x282)&&(_0x59df3f['t']=_0x71e749[_0x5942b8(0x1c9)][_0x5942b8(0x1c5)]),_0x59df3f['v']=_0x4c1db1;}if((_0x4dfaa8!=null&&_0x4dfaa8['i']||(_0x4dfaa8==null?void 0x0:_0x4dfaa8['i'])===0x0)&&(_0x59df3f||(_0x59df3f={}),_0x59df3f['fi']=_0x4dfaa8['i']),_0x4dfaa8!=null&&_0x4dfaa8['s']&&(_0x59df3f||(_0x59df3f={}),_0x59df3f['pbt']=_0x4dfaa8['s']),_0x44bb79&&(_0x59df3f||(_0x59df3f={}),_0x59df3f['s']=_0x5e8c1c),_0x20c603&&_0x59df3f!=null&&_0x59df3f['v']&&_0x59df3f[_0x5942b8(0x18f)]!==_0x1978cb[_0x5942b8(0x2f3)][_0x5942b8(0x2b5)]&&_0x59df3f['pbt']!==_0x1978cb['PivotCellStyleTypeEnum'][_0x5942b8(0xf9)]){const _0x324f84=String(_0x59df3f['v']),{dateType:_0x33774e}=_0x20c603;_0x59df3f['v']=_0x36911b(_0x178371,_0x33774e,_0x324f84),_0x59df3f['t']=_0x71e749['CellValueType'][_0x5942b8(0x1c5)];}return _0x59df3f;},_0x5dcea6=(_0x27e704,_0x4336c1,_0x5596c2,_0x9c1bad)=>{const _0x1c69ad=_0x952e9f;var _0x4a329a,_0x373abc,_0x32a920,_0x143d12,_0x1b3291,_0x30aa54,_0x2d4da9,_0x1d5564,_0x4ce601,_0x3054d7,_0x40ed0d,_0x2227b2,_0xa846ea,_0x2eef23;const _0x1302ac=_0x5596c2[_0x1c69ad(0x354)],{cornerView:_0x166683,rowView:_0x527dae,colView:_0x1c2ff0,dataView:_0x26d902,pageView:_0x338f9b,formatMap:_0x5dfa14,groupInfo:_0x403c91}=_0x4336c1,{row:_0x4cd425,col:_0x321022}=_0x1302ac,_0x5f5783=new _0x71e749['ObjectMatrix'](),_0x5c0fae={},_0x5eaffa={},_0x24e667={},_0x148f3b={},_0x488b3f={};let _0x40bb0e=_0x4cd425,_0x3cf711=_0x321022;Object[_0x1c69ad(0x111)](_0x338f9b['data'])[_0x1c69ad(0x1fb)](_0x1b5ca8=>{const _0x58c4d1=_0x1c69ad;Object['keys'](_0x338f9b[_0x58c4d1(0x2ac)][Number(_0x1b5ca8)])['forEach'](_0x243bc2=>{const _0xfbf888=_0x58c4d1,_0x21d628={..._0x338f9b['data'][Number(_0x1b5ca8)][Number(_0x243bc2)]};_0x5f5783[_0xfbf888(0x183)](Number(_0x1b5ca8)+_0x40bb0e,Number(_0x243bc2)+_0x3cf711,_0x466485(_0x27e704,_0x21d628,_0x4f9185[_0xfbf888(0x1e3)]));});});const _0x285007=Object['keys'](_0x338f9b[_0x1c69ad(0x2ac)])[_0x1c69ad(0x278)];_0x40bb0e+=_0x285007+(_0x285007?_0x18e791:0x0);const _0x486d82=_0x166683['getRowCount'](),_0x23a7ad=_0x166683[_0x1c69ad(0x3b7)]();for(let _0x34e34b=0x0;_0x34e34b<_0x486d82;_0x34e34b++)for(let _0x5673fc=0x0;_0x5673fc<_0x23a7ad;_0x5673fc++){const _0xdf09a0={...(_0x373abc=(_0x4a329a=_0x166683[_0x1c69ad(0x2ac)])==null?void 0x0:_0x4a329a[_0x34e34b])==null?void 0x0:_0x373abc[_0x5673fc]};_0xdf09a0&&((_0x32a920=_0x527dae[_0x1c69ad(0x130)][_0x5673fc])!=null&&_0x32a920['isValue'])&&_0x5673fc===_0x23a7ad-0x1&&_0x34e34b===_0x486d82-0x1&&(_0xdf09a0['v']=''+_0x9c1bad['sheets-pivot.value']),_0x5f5783['setValue'](_0x34e34b+_0x40bb0e,_0x5673fc+_0x3cf711,_0x466485(_0x27e704,_0xdf09a0,_0x4f9185[_0x1c69ad(0x18d)]));}for(let _0x487c79=0x0;_0x487c79<_0x166683['info'][_0x1c69ad(0x278)];_0x487c79++)_0x166683[_0x1c69ad(0x1fd)][_0x487c79]&&(_0x24e667[''+(_0x487c79+_0x3cf711)]=_0x166683[_0x1c69ad(0x1fd)][_0x487c79]);_0x3cf711+=_0x23a7ad;const _0x30aa6b=_0x1c2ff0[_0x1c69ad(0x130)],_0x46697a=_0x1c2ff0[_0x1c69ad(0x339)]()>=0x0?_0x1c2ff0['getLastRow']()+0x1:0x0,_0x548451=_0x1c2ff0['getLastCol']()>=0x0?_0x1c2ff0[_0x1c69ad(0x195)]()+0x1:0x0;for(let _0x445a3d=0x0;_0x445a3d<_0x548451;_0x445a3d++){for(let _0xfda6ad=0x0;_0xfda6ad<_0x46697a;_0xfda6ad++){const _0x5b5b01={...(_0x1b3291=(_0x143d12=_0x1c2ff0[_0x1c69ad(0x2ac)])==null?void 0x0:_0x143d12[_0xfda6ad])==null?void 0x0:_0x1b3291[_0x445a3d]},_0x3f7c23=(_0x30aa54=_0x30aa6b[_0xfda6ad])==null?void 0x0:_0x30aa54[_0x1c69ad(0x295)],_0x2b9cb9=_0x5dfa14[_0x3f7c23],_0x1effac=_0x403c91[_0x3f7c23];_0x5b5b01&&(_0x5b5b01['v']=_0x2d2a3c(_0x5b5b01,_0xfda6ad===0x0&&((_0x2d4da9=_0x1c2ff0[_0x1c69ad(0x166)](_0x445a3d+0x1))==null?void 0x0:_0x2d4da9[_0x1c69ad(0x255)]),_0x2b9cb9,_0x9c1bad));let _0x358179;_0x2b9cb9?_0x358179={..._0x4f9185['colStyle'],'n':{'pattern':_0x2b9cb9}}:_0x358179={..._0x4f9185[_0x1c69ad(0x1dc)]},_0x5f5783[_0x1c69ad(0x183)](_0xfda6ad+_0x40bb0e,_0x445a3d+_0x3cf711,_0x466485(_0x27e704,_0x5b5b01,_0x358179,_0x1effac));}_0x1c2ff0[_0x1c69ad(0x1fd)][_0x445a3d]&&(_0x5eaffa[''+(_0x445a3d+_0x3cf711)]=_0x1c2ff0['info'][_0x445a3d]),_0x1c2ff0[_0x1c69ad(0x130)][_0x445a3d+0x1]&&(_0x488b3f[''+(_0x445a3d+_0x40bb0e+0x1)]=_0x1c2ff0[_0x1c69ad(0x130)][_0x445a3d+0x1]);}_0x40bb0e+=_0x486d82;const _0x1643f0=_0x527dae[_0x1c69ad(0x130)],_0x45c041=_0x527dae['getLastRow']()>=0x0?_0x527dae[_0x1c69ad(0x339)]()+0x1:0x0,_0x1c245e=_0x527dae[_0x1c69ad(0x195)]()>=0x0?_0x527dae[_0x1c69ad(0x195)]()+0x1:0x0;for(let _0x35aa10=0x0;_0x35aa10<_0x45c041;_0x35aa10++){for(let _0x591d55=0x0;_0x591d55<_0x1c245e;_0x591d55++){const _0x52ca54={...(_0x4ce601=(_0x1d5564=_0x527dae[_0x1c69ad(0x2ac)])==null?void 0x0:_0x1d5564[_0x35aa10])==null?void 0x0:_0x4ce601[_0x591d55]},_0x2bea3d=(_0x3054d7=_0x1643f0[_0x591d55])==null?void 0x0:_0x3054d7[_0x1c69ad(0x295)],_0x1d3630=_0x5dfa14[_0x2bea3d],_0x4143a3=_0x403c91[_0x2bea3d];_0x52ca54&&(_0x52ca54['v']=_0x2d2a3c(_0x52ca54,!0x1,_0x1d3630,_0x9c1bad));let _0x479a08;_0x527dae[_0x1c69ad(0x1fd)][_0x35aa10][_0x1c69ad(0x146)]===_0x527dae[_0x1c69ad(0x3b7)]()?_0x479a08=_0x4f9185[_0x1c69ad(0x3d9)]:_0x527dae['info'][_0x35aa10]['isBottomTotal']?_0x479a08=_0x527dae['info'][_0x35aa10][_0x1c69ad(0x146)]===0x0?_0x4f9185[_0x1c69ad(0x1f4)]:_0x4f9185[_0x1c69ad(0x2bd)]:_0x479a08=_0x4f9185['rowStyle'],_0x1d3630&&(_0x479a08={..._0x479a08,'n':{'pattern':_0x1d3630}}),_0x5f5783[_0x1c69ad(0x183)](_0x35aa10+_0x40bb0e,_0x591d55+_0x321022,_0x466485(_0x27e704,_0x52ca54,_0x479a08,_0x4143a3));}_0x527dae[_0x1c69ad(0x1fd)][_0x35aa10]&&(_0x5c0fae[''+(_0x35aa10+_0x40bb0e)]=_0x527dae[_0x1c69ad(0x1fd)][_0x35aa10]),_0x527dae['headerMap'][_0x35aa10]&&(_0x148f3b[''+(_0x35aa10+_0x321022)]=_0x527dae[_0x1c69ad(0x130)][_0x35aa10]);}const _0x21cb65=_0x26d902[_0x1c69ad(0x1bd)](),_0x5284da=_0x26d902[_0x1c69ad(0x3b7)]();for(let _0x145d4a=0x0;_0x145d4a<_0x21cb65;_0x145d4a++)for(let _0x451b2e=0x0;_0x451b2e<_0x5284da;_0x451b2e++){const _0x1ebf2b={...(_0x2227b2=(_0x40ed0d=_0x26d902['data'])==null?void 0x0:_0x40ed0d[_0x145d4a])==null?void 0x0:_0x2227b2[_0x451b2e]};let _0x486dbe;_0x527dae['info'][_0x145d4a][_0x1c69ad(0x13f)]?_0x486dbe=_0x527dae[_0x1c69ad(0x1fd)][_0x145d4a][_0x1c69ad(0x146)]===0x0?_0x4f9185['grandTotal']:_0x4f9185[_0x1c69ad(0x2bd)]:_0x486dbe=_0x4f9185['dataStyle'];const _0x3b09f7=_0x527dae[_0x1c69ad(0x1fd)][_0x145d4a][_0x1c69ad(0x289)],_0x41a104=_0x1c2ff0[_0x1c69ad(0x1fd)][_0x451b2e][_0x1c69ad(0x289)],_0xfbc872=Math['max'](_0x3b09f7,_0x41a104),_0x26e282=_0x5596c2['fieldsConfig'][_0x1c69ad(0x114)]['concat']();let _0x3ed954='';_0xfbc872<0x0?_0x3ed954=(_0xa846ea=_0x26e282[0x0])!=null?_0xa846ea:'':_0x3ed954=(_0x2eef23=_0x26e282[_0xfbc872])!=null?_0x2eef23:'';const _0x58c9a5=_0x5dfa14[_0x3ed954];_0x58c9a5&&(_0x486dbe={..._0x486dbe,'n':{'pattern':_0x58c9a5}}),_0x5f5783['setValue'](_0x145d4a+_0x40bb0e,_0x451b2e+_0x3cf711,_0x466485(_0x27e704,_0x1ebf2b,_0x486dbe));}return{'valueMatrix':_0x5f5783,'rowInfo':_0x5c0fae,'colInfo':_0x5eaffa,'cornerInfo':_0x24e667,'rowHeaderMap':_0x148f3b,'colHeaderMap':_0x488b3f};};function _0x2d2a3c(_0x1b569f,_0x955237,_0x41321c,_0x10f3a2){const _0x47ab80=_0x952e9f;let _0x1d51ab=_0x1b569f['v'];_0x955237&&(_0x1d51ab=''+_0x10f3a2[_0x47ab80(0x305)]);const _0x39de1e=_0x1b569f['t']&&(_0x1b569f['t']&_0x1978cb[_0x47ab80(0x35b)][_0x47ab80(0x32f)])>0x0;if(_0x39de1e&&(_0x1d51ab=''+_0x10f3a2['sheets-pivot.blank']),_0x1b569f['s']===_0x1978cb['PivotCellStyleTypeEnum'][_0x47ab80(0xf9)]){let _0x346dc7=_0x1d51ab,_0x471f00='';_0x1978cb[_0x47ab80(0x274)](_0x1d51ab)&&(_0x346dc7=_0x1d51ab[_0x47ab80(0x3b1)],_0x471f00=_0x1d51ab[_0x47ab80(0x101)]);const _0x366ed8=_0x41321c&&!_0x39de1e?_0x71e749[_0x47ab80(0x122)][_0x47ab80(0x21e)](_0x41321c,Number(_0x346dc7)):_0x346dc7;_0x471f00?_0x1d51ab=_0x366ed8+'\x20'+_0x471f00:_0x1d51ab=_0x366ed8+'\x20'+_0x10f3a2[_0x47ab80(0x3b6)];}else _0x1b569f['s']===_0x1978cb[_0x47ab80(0x2f3)]['GrandTotal']&&(_0x1d51ab=_0x1d51ab+'\x20'+_0x10f3a2[_0x47ab80(0x2a4)]);return _0x1d51ab;}function _0x422930(_0x117dfd){const _0x40d303=_0x952e9f;if(_0x1978cb[_0x40d303(0x31d)](_0x117dfd)){const {errorType:_0x2aeb83}=_0x117dfd;switch(_0x2aeb83){case _0x1978cb['PivotErrorTypeEnum']['Div0']:return _0x19b6b3[_0x40d303(0x1fa)][_0x40d303(0x301)];case _0x1978cb[_0x40d303(0x3ec)]['NotNumber']:return _0x19b6b3['ErrorType'][_0x40d303(0x1b7)];case _0x1978cb[_0x40d303(0x3ec)]['NotFunction']:return _0x19b6b3[_0x40d303(0x1fa)][_0x40d303(0x1ad)];case _0x1978cb[_0x40d303(0x3ec)][_0x40d303(0x380)]:return _0x19b6b3[_0x40d303(0x1fa)][_0x40d303(0x1ad)];case _0x1978cb['PivotErrorTypeEnum']['BadReference']:return _0x19b6b3['ErrorType'][_0x40d303(0x28f)];}}return _0x117dfd;}function _0x3f4101(_0x13cc73,_0x106ca3,_0x1c5156=!0x1,_0x3f8f55=!0x1){const _0x536d14=_0x952e9f,{data:_0x1a5a84}=_0x106ca3,_0x14d8dd=_0x106ca3[_0x536d14(0x1bd)](),_0x51a0fe=_0x106ca3[_0x536d14(0x3b7)]();if(_0x14d8dd<=0x0||_0x51a0fe<=0x0)return[];const _0x179313=_0x106ca3[_0x536d14(0x195)](),_0x462add=_0x106ca3[_0x536d14(0x339)](),_0x2cc942=_0x3f8f55?_0x462add>=0x0?_0x462add+0x1:0x0:_0x14d8dd,_0x306ccb=_0x3f8f55?_0x179313>=0x0?_0x179313+0x1:0x0:_0x51a0fe,{row:_0x4ef4b6,col:_0x5bb3b1}=_0x13cc73,_0x51b649=_0x4ef4b6,_0x2890bf=_0x5bb3b1;if(_0x1c5156){const _0x523de8=[];for(const [_0x3cd1fa,_0x342aaf]of Object['entries'](_0x1a5a84))for(const [_0xaee2,_0x2dd21b]of Object[_0x536d14(0x3c9)](_0x342aaf))_0x523de8[_0x536d14(0x2b7)](_0x71e749[_0x536d14(0x1a0)](_0x51b649+Number(_0x3cd1fa),_0x2890bf+Number(_0xaee2)));return _0x523de8;}else{const _0x43b1c5=_0x3f8f55?_0x2cc942>0x0?0x1:0x0:0x1,_0x1ed0cf=_0x3f8f55?_0x306ccb>0x0?0x1:0x0:0x1,_0xf6fe94=_0x4ef4b6+_0x2cc942-_0x43b1c5,_0x7ba15c=_0x5bb3b1+_0x306ccb-_0x1ed0cf;return[{'startRow':_0x51b649,'startColumn':_0x2890bf,'endRow':_0xf6fe94,'endColumn':_0x7ba15c}];}}const _0xf9ba23='SHEET_PIVOT_IN_MAIN_THREAD',_0x30ef77=_0x952e9f(0x3d6);var _0x2dff37=(_0x988911=>(_0x988911[_0x952e9f(0x341)]='filter',_0x988911[_0x952e9f(0x17f)]=_0x952e9f(0x388),_0x988911[_0x952e9f(0x400)]='addPivotField',_0x988911['AddPivotTableWithConfig']=_0x952e9f(0x3bc),_0x988911[_0x952e9f(0x3a2)]=_0x952e9f(0x261),_0x988911[_0x952e9f(0x20a)]=_0x952e9f(0x232),_0x988911[_0x952e9f(0x24c)]=_0x952e9f(0x395),_0x988911[_0x952e9f(0x3ee)]=_0x952e9f(0x16b),_0x988911[_0x952e9f(0xf0)]='setPivotFilter',_0x988911['SetPivotSort']=_0x952e9f(0x125),_0x988911[_0x952e9f(0x191)]='setPivotSetting',_0x988911[_0x952e9f(0x13a)]='updatePivotSource',_0x988911[_0x952e9f(0x26f)]=_0x952e9f(0x12b),_0x988911['DrillDown']=_0x952e9f(0x16f),_0x988911[_0x952e9f(0x2d3)]='setValuePivotFilter',_0x988911['SetPivotTableConfig']='setPivotTableConfig',_0x988911[_0x952e9f(0x2ef)]=_0x952e9f(0x152),_0x988911))(_0x2dff37||{});const _0x3328ed={'sheets-pivot.blankValue':_0x952e9f(0x115),'sheets-pivot.columnName':_0x952e9f(0x32c),'sheets-pivot.subTotalText':_0x952e9f(0x1c2),'sheets-pivot.grandTotalText':_0x952e9f(0x266),'sheets-pivot.valueText':_0x952e9f(0x2f0),'sheets-pivot.averageName':_0x952e9f(0x220),'sheets-pivot.countName':_0x952e9f(0x1f5),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x952e9f(0x2ed),'sheets-pivot.minName':_0x952e9f(0x2e8),'sheets-pivot.productName':_0x952e9f(0x205),'sheets-pivot.stdDevName':_0x952e9f(0x22f),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x952e9f(0x298),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x952e9f(0x174),'sheets-pivot.subTotal':_0x952e9f(0xf9),'sheets-pivot.grandTotal':_0x952e9f(0x266),'sheets-pivot.value':_0x952e9f(0x101),'sheets-pivot.blank':_0x952e9f(0x32f),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':'Values'},_0xd6d385={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x178140=_0x71e749['createAsyncInterceptorKey'](_0x952e9f(0x34e)),_0x2f3b0c=_0x71e749[_0x952e9f(0x185)](_0x952e9f(0x139));var _0x2c797b=(_0x107c03=>(_0x107c03[_0x952e9f(0x249)]='add',_0x107c03['delete']='delete',_0x107c03[_0x952e9f(0x311)]=_0x952e9f(0x311),_0x107c03))(_0x2c797b||{}),_0x5cfd72=(_0x6ef3de=>(_0x6ef3de['Add']=_0x952e9f(0x249),_0x6ef3de[_0x952e9f(0x15c)]=_0x952e9f(0x23d),_0x6ef3de['Delete']=_0x952e9f(0x366),_0x6ef3de))(_0x5cfd72||{});const _0x3a0815={0x0:'w',0x1:'Y',0x2:'I',0x3:'a',0x4:'s',0x5:'8',0x6:'k',0x7:'M',0x8:'x',0x9:'l','K':'0','L':'1','b':'2','U':'3','w':'4','X':'5','a':'6','V':'7','p':'9','Q':'b','y':'c','n':'d','W':'e','F':'f','G':'g','q':'h','k':'i','D':'j','m':'m','d':'n','z':'o','H':'p','A':'q','h':'r','R':'t','Y':'u','u':'v','j':'y','c':'z','T':'A','M':'B','l':'C','B':'D','S':'E','C':'F','g':'G','P':'H','J':'J','E':'K','o':'L','O':'N','t':'O','x':'P','v':'Q','i':'R','e':'S','r':'T','I':'U','Z':'V','f':'W','N':'X','s':'Z'},_0x3dfaa6=_0x952e9f(0x3f4),_0x1efe7b={'type':_0x71e749[_0x952e9f(0x1ff)]['MUTATION'],'id':_0x952e9f(0x2c7),'handler':()=>!0x0},_0x42f08c={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':_0x952e9f(0x214),'handler':()=>!0x0},_0x13964a={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':_0x952e9f(0x189),'handler':()=>!0x0},_0x4c06b7={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':_0x952e9f(0x29c),'handler':()=>!0x0},_0x4e58e8={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':_0x952e9f(0x172),'handler':()=>!0x0},_0x3c5b0f=_0xe3f63=>{const _0x122967=_0x952e9f;var _0x149f11;return((_0x149f11=_0xe3f63[_0x122967(0x13e)])==null?void 0x0:_0x149f11[_0x122967(0x3ce)][_0x122967(0x345)](/\r\n$/,''))||'';};class _0x56de34 extends _0x1978cb[_0x952e9f(0xef)]{constructor(_0x3c3c47,_0x416200){const _0x2afe7b=_0x952e9f;super(),_0x59bac0(this,_0x2afe7b(0x100),{}),_0x59bac0(this,_0x2afe7b(0x2ba)),_0x59bac0(this,'_host'),(this[_0x2afe7b(0x2ba)]=_0x416200,this[_0x2afe7b(0x256)]=_0x3c3c47);}[_0x952e9f(0xea)](){const _0x5d9df5=_0x952e9f;for(const _0x23d939 in this[_0x5d9df5(0x108)]){const _0x32fe74=this['dataFields'][_0x23d939],_0x345d34=_0x32fe74[_0x5d9df5(0x1d1)]();this['rangeKeyMap'][_0x345d34]=_0x32fe74[_0x5d9df5(0x1ed)]();}}[_0x952e9f(0x194)](){const _0x3f0434=_0x952e9f,_0x29af60=this[_0x3f0434(0x256)];return _0x5d9b48[_0x3f0434(0xfc)](_0x29af60);}['deleteDataField'](_0x18f2f0){const _0x541cc4=_0x952e9f,_0xc60558=this[_0x541cc4(0x108)][_0x18f2f0][_0x541cc4(0x1c7)];delete this[_0x541cc4(0x108)][_0x18f2f0],delete this[_0x541cc4(0x100)][_0xc60558];}[_0x952e9f(0x10b)](_0x343a34){const _0x5a12c8=_0x952e9f;this[_0x5a12c8(0x108)][_0x343a34[_0x5a12c8(0x1ed)]()]=_0x343a34;}[_0x952e9f(0x2de)](_0x2598dd){const _0x3558c2=_0x952e9f;var _0x57b90b,_0x6b2dff;const _0x495b83=this[_0x3558c2(0x256)][_0x3558c2(0x1cd)](_0x2598dd);if(_0x495b83){const {unitId:_0x52a272,subUnitId:_0x5b8507}=_0x495b83,_0x3ae300=(_0x57b90b=this[_0x3558c2(0x256)][_0x3558c2(0x405)](_0x52a272,_0x5b8507,_0x2598dd))==null?void 0x0:_0x57b90b[_0x3558c2(0x3a8)];this[_0x3558c2(0x256)][_0x3558c2(0x1c3)]({'token':_0x2598dd,'type':_0x2c797b['delete'],'dataRangeInfo':_0x3ae300});}(_0x6b2dff=this[_0x3558c2(0x3b3)](_0x2598dd))==null||_0x6b2dff['dispose'](),delete this[_0x3558c2(0x3d8)][_0x2598dd];}[_0x952e9f(0x1d1)](_0x5d9883,_0x45e461){const _0x107a1f=_0x952e9f,{sheetName:_0x42947a,unitId:_0x4c98d2,range:_0x55d607}=_0x5d9883,{startRow:_0x4a5bc8,endRow:_0x49f3f1}=_0x55d607;return _0x19b6b3[_0x107a1f(0x25d)](_0x4c98d2,_0x42947a,{'startRow':_0x4a5bc8,'endRow':_0x49f3f1,'startColumn':_0x45e461,'endColumn':_0x45e461});}[_0x952e9f(0x37c)](_0x20dfee){const _0x1fb028=_0x952e9f;return this[_0x1fb028(0x108)][this['rangeKeyMap'][_0x20dfee]];}[_0x952e9f(0xfa)](_0x50d3ef,_0x4dd323){this['rangeKeyMap'][_0x50d3ef]=_0x4dd323;}['updateRangeKeyMap'](_0x3d8ebc,_0x2c7f07){const _0x2a86bf=_0x952e9f;this[_0x2a86bf(0x100)][_0x2c7f07]=this[_0x2a86bf(0x100)][_0x3d8ebc],delete this[_0x2a86bf(0x100)][_0x3d8ebc];}[_0x952e9f(0x132)](_0x6e4ccb,_0x594706,_0x25ca08,_0x186f88){const _0x5d3fce=_0x952e9f,_0x19350a=new _0x1978cb[(_0x5d3fce(0x10f))](this);_0x19350a['fromJSON'](_0x594706);const _0x339da0=[];let _0x3da699=0x0;for(const _0x100ad1 of _0x19350a[_0x5d3fce(0x3a5)]){const _0x335cb5=this['getRangeKey'](_0x25ca08,_0x3da699),_0x550f7e=this[_0x5d3fce(0x108)][_0x100ad1];_0x550f7e&&(_0x550f7e[_0x5d3fce(0x1c7)]=_0x335cb5,this[_0x5d3fce(0xfa)](_0x335cb5,_0x100ad1),_0x339da0['push']({'index':_0x3da699,'dataField':_0x550f7e})),_0x3da699++;}return this[_0x5d3fce(0x19d)](_0x6e4ccb,_0x19350a,_0x25ca08,_0x186f88),{'collection':_0x19350a,'updateDataFieldList':_0x339da0};}[_0x952e9f(0x404)](_0x420857,_0x570965){const _0x16cf4f=_0x952e9f;return _0x420857[_0x16cf4f(0x396)]===_0x71e749[_0x16cf4f(0x28c)][_0x16cf4f(0x382)]?{'startRow':0x0,'startColumn':_0x420857[_0x16cf4f(0x3a9)],'endRow':_0x570965[_0x16cf4f(0x1bd)]()-0x1,'endColumn':_0x420857['endColumn']}:{'startRow':_0x420857[_0x16cf4f(0x2fd)],'startColumn':_0x420857[_0x16cf4f(0x3a9)],'endRow':_0x420857['endRow'],'endColumn':_0x420857[_0x16cf4f(0x317)]};}[_0x952e9f(0x252)](_0x33af4c){const _0x8cac3b=_0x952e9f,{sheetName:_0x6f3b1c,range:_0x29de0b}=_0x33af4c,_0x386fa0=this[_0x8cac3b(0x2ba)]['getCurrentUnitForType'](_0x71e749[_0x8cac3b(0x21f)][_0x8cac3b(0xfe)]),_0x199d31=_0x386fa0['getSheetBySheetName'](_0x6f3b1c),_0x2abf41=_0x199d31['getCellMatrix'](),{startColumn:_0x4d452d,startRow:_0x35087d,endColumn:_0x39c8a3}=this[_0x8cac3b(0x404)](_0x29de0b,_0x199d31),_0x5816e1=_0x386fa0[_0x8cac3b(0x3a1)](),_0x3704b3=new _0x1978cb['FieldsCollection'](this);_0x3704b3[_0x8cac3b(0xe6)](_0x33af4c);const _0xc7d604=[],_0xa8f8c7={};for(let _0x507fe6=_0x4d452d;_0x507fe6<=_0x39c8a3;_0x507fe6++){const _0x4f9c41=_0x2abf41[_0x8cac3b(0x3ea)](_0x35087d,_0x507fe6),_0x20f188=this[_0x8cac3b(0x1d1)](_0x33af4c,_0x507fe6),_0x28eadf=this['getDataFieldByRangeKey'](_0x20f188);if(_0x28eadf)_0x3704b3[_0x8cac3b(0x1de)](_0x28eadf['getId'](),_0x28eadf[_0x8cac3b(0x134)]());else{const _0x58949d=this[_0x8cac3b(0x196)]();let _0x127df1=this[_0x8cac3b(0x3c7)](_0x4f9c41,_0x5816e1,_0xa8f8c7);_0x1978cb[_0x8cac3b(0x2b8)](_0x127df1)&&(_0x127df1=_0x71e749[_0x8cac3b(0x122)]['format'](_0x127df1['f'],Number(_0x127df1['v'])));const _0x35fc18=this[_0x8cac3b(0x35a)](_0x127df1,_0x507fe6),_0xa71dfe=new _0x1978cb[(_0x8cac3b(0x3db))](_0x58949d,_0x35fc18,_0x1978cb[_0x8cac3b(0x24d)](0x3));_0xa71dfe[_0x8cac3b(0x1c7)]=_0x20f188,this[_0x8cac3b(0x108)][_0x58949d]=_0xa71dfe,_0x3704b3[_0x8cac3b(0x1de)](_0x58949d,_0x35fc18),_0xc7d604['push']({'index':_0x507fe6,'dataField':_0xa71dfe});}}return{'updateDataFieldList':_0xc7d604,'collection':_0x3704b3};}[_0x952e9f(0x206)](_0xd3eba4){const _0x158101=_0x952e9f;return this['_host'][_0x158101(0x2a1)]()[_0x158101(0x3cb)]+'\x20'+_0x71e749[_0x158101(0x151)](_0xd3eba4);}[_0x952e9f(0x35a)](_0x2adc57,_0xc3d96){const _0x164e29=_0x952e9f;return _0x2adc57==null||_0x2adc57===''?this[_0x164e29(0x206)](_0xc3d96):String(_0x2adc57);}[_0x952e9f(0x3b3)](_0x4e9f07){const _0x2b7d46=_0x952e9f;return this[_0x2b7d46(0x3d8)][_0x4e9f07];}['addCollection'](_0x3b1def,_0x13bb53,_0x3ffca6,_0x97b80e){const _0x4416cc=_0x952e9f;this[_0x4416cc(0x3d8)][_0x3b1def]=_0x13bb53,_0x13bb53['setRange'](_0x3ffca6),this[_0x4416cc(0x256)][_0x4416cc(0x1c3)]({'token':_0x3b1def,'type':_0x2c797b[_0x4416cc(0x249)],'dataRangeInfo':_0x3ffca6,'targetCellInfo':_0x97b80e});}[_0x952e9f(0x12d)](_0x5f9466,_0x1f52e7){const _0x616bc9=_0x952e9f,_0x163ba0=this[_0x616bc9(0x3b3)](_0x5f9466),_0x458b13=_0x163ba0['getFieldIds']();let _0xed58a9=0x0;for(const _0x28433b of _0x458b13){const _0x370a03=_0x163ba0[_0x616bc9(0x17d)](_0x28433b),_0x10f4ec=this[_0x616bc9(0x1d1)](_0x1f52e7,_0xed58a9);this[_0x616bc9(0x3e7)](_0x370a03['rangeKey'],_0x10f4ec),_0xed58a9++;}}[_0x952e9f(0x160)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x952e9f(0x3bb)](_0x3acc83,_0x10f0b1){const _0x48e508=_0x952e9f;if(this[_0x48e508(0x3b3)](_0x3acc83)){const _0x55a4cf=this[_0x48e508(0x3ca)](_0x10f0b1),_0x3277d9=[];for(const _0x1b67a1 of _0x55a4cf)this[_0x48e508(0x100)][_0x1b67a1]!==void 0x0&&_0x3277d9[_0x48e508(0x2b7)](this[_0x48e508(0x100)][_0x1b67a1]);const _0x4861ba=this[_0x48e508(0x25f)](_0x3acc83),_0x4c76b5=[],_0x598b95=new Set(_0x3277d9);for(const _0x141a49 of _0x4861ba)_0x598b95['has'](_0x141a49)||_0x4c76b5[_0x48e508(0x2b7)](_0x141a49);return _0x4c76b5;}}['getMatrixValue'](_0x5478ee,_0x177558,_0x185c42,_0x1d3cd1,_0x1371db){const _0x3f4b42=_0x952e9f;return _0x177558&&_0x177558[_0x3f4b42(0x3ea)](_0x1d3cd1,_0x1371db)?_0x177558[_0x3f4b42(0x3ea)](_0x1d3cd1,_0x1371db):_0x185c42&&_0x185c42['getValue'](_0x1d3cd1,_0x1371db)?_0x185c42[_0x3f4b42(0x3ea)](_0x1d3cd1,_0x1371db):_0x5478ee[_0x3f4b42(0x3ea)](_0x1d3cd1,_0x1371db);}[_0x952e9f(0x3e9)](_0x31cd93,_0x2d9d97,_0x3cc1d4,_0x2403ed){const _0x5a1b24=_0x952e9f,_0x567cd6=this[_0x5a1b24(0x108)][_0x31cd93];if(!_0x567cd6)return;const {subUnitId:_0x3a1730,range:_0x15b588,unitId:_0x20372}=_0x2d9d97,_0xe8006a=this['_univerInstanceService'][_0x5a1b24(0x38c)](_0x20372);if(!_0xe8006a){console[_0x5a1b24(0x1c0)](_0x5a1b24(0x2d8));return;}const _0x5a8c4d=_0xe8006a[_0x5a1b24(0x216)](_0x3a1730),_0x4e8896=_0x5a8c4d[_0x5a1b24(0x23f)](),{arrayFormulaCellDataMatrix:_0x2d4aff,unitDataMatrix:_0x5c986e}=_0x2403ed||{},{startRow:_0x233dc6,startColumn:_0x382771,endRow:_0x501963}=this[_0x5a1b24(0x404)](_0x15b588,_0x5a8c4d);_0x567cd6[_0x5a1b24(0x356)]();const _0x2d1538=_0xe8006a[_0x5a1b24(0x3a1)](),_0x26c44={},_0x1b53b4=this[_0x5a1b24(0x3b4)](_0x4e8896,_0x2d4aff,_0x5c986e,_0x233dc6,_0x382771+_0x3cc1d4);let _0x4f502e=this[_0x5a1b24(0x3c7)](_0x1b53b4,_0x2d1538,_0x26c44);_0x1978cb[_0x5a1b24(0x2b8)](_0x4f502e)&&(_0x4f502e=_0x71e749['numfmt']['format'](_0x4f502e['f'],Number(_0x4f502e['v'])));const _0x3ec2c8=this['uniqueDataFieldName'](_0x4f502e,_0x382771+_0x3cc1d4);_0x567cd6['setName'](_0x3ec2c8);for(let _0x4b5046=_0x233dc6+0x1;_0x4b5046<=_0x501963;_0x4b5046++){const _0x457c49=this[_0x5a1b24(0x3b4)](_0x4e8896,_0x2d4aff,_0x5c986e,_0x4b5046,_0x382771+_0x3cc1d4);_0x567cd6['addRecord'](this['adjustSheetCellData'](_0x457c49,_0x2d1538,_0x26c44),_0x4b5046-0x1-_0x233dc6);}}[_0x952e9f(0x16d)](_0x2f370e,_0x1dbeb4,_0x2e6357){const _0x41d1b0=_0x952e9f,{subUnitId:_0x4a3185,range:_0x5eae52,unitId:_0x26dddb}=_0x2e6357,_0x7ff002=this[_0x41d1b0(0x2ba)][_0x41d1b0(0x38c)](_0x26dddb);if(!_0x7ff002){console['error'](_0x41d1b0(0x2d8));return;}const _0x6da34e=_0x7ff002[_0x41d1b0(0x216)](_0x4a3185),_0x11a1c7=_0x6da34e[_0x41d1b0(0x23f)](),{startRow:_0x55b763,startColumn:_0x40ac87,endRow:_0x4ed487}=this[_0x41d1b0(0x404)](_0x5eae52,_0x6da34e),_0x56c1c8=_0x7ff002['getStyles'](),_0x3ba1eb={};for(const {dataField:_0x4cf341,index:_0xc85461}of _0x1dbeb4){_0x4cf341[_0x41d1b0(0x356)]();const _0x5c62c2=this[_0x41d1b0(0x3b4)](_0x11a1c7,void 0x0,void 0x0,_0x55b763,_0x40ac87+_0xc85461);let _0x93f2d9=this['adjustSheetCellData'](_0x5c62c2,_0x56c1c8,_0x3ba1eb);_0x1978cb[_0x41d1b0(0x2b8)](_0x93f2d9)&&(_0x93f2d9=_0x71e749[_0x41d1b0(0x122)]['format'](_0x93f2d9['f'],Number(_0x93f2d9['v'])));const _0x4829e3=this[_0x41d1b0(0x35a)](_0x93f2d9,_0x40ac87+_0xc85461);_0x4cf341[_0x41d1b0(0x34b)](_0x4829e3);}_0x2f370e[_0x41d1b0(0x15a)]();for(let _0x4ee69a=_0x55b763+0x1;_0x4ee69a<=_0x4ed487;_0x4ee69a++)for(const {index:_0x25b0ce,dataField:_0x2be866}of _0x1dbeb4){const _0x161a70=_0x11a1c7['getValue'](_0x4ee69a,_0x40ac87+_0x25b0ce);_0x2be866[_0x41d1b0(0x1f1)](this[_0x41d1b0(0x3c7)](_0x161a70,_0x56c1c8,_0x3ba1eb),_0x4ee69a-0x1-_0x55b763);}_0x2f370e[_0x41d1b0(0x161)](_0x4ed487-_0x55b763);}[_0x952e9f(0x3ca)](_0x302213){const _0x28f1f2=_0x952e9f,{range:_0x2ddf90}=_0x302213,{startColumn:_0x5c00da,endColumn:_0x887fb9}=_0x2ddf90,_0x269022=[];for(let _0x3938b9=_0x5c00da;_0x3938b9<=_0x887fb9;_0x3938b9++)_0x269022[_0x28f1f2(0x2b7)](this[_0x28f1f2(0x1d1)](_0x302213,_0x3938b9));return _0x269022;}[_0x952e9f(0x3c7)](_0x3998ae,_0x48186c,_0xd49422){const _0x3a6514=_0x952e9f;if(_0x3998ae){const {s:_0x42640c,v:_0xe265f4,t:_0x538cf6,p:_0x1894bf}=_0x3998ae;if(_0x1894bf)return _0x3c5b0f(_0x1894bf);const _0x5afc05=_0x48186c[_0x3a6514(0x3dc)](_0x42640c);if(_0x5afc05&&_0x538cf6===_0x71e749[_0x3a6514(0x1c9)][_0x3a6514(0x1d2)]&&_0x5afc05['n']){const {pattern:_0x33918b}=_0x5afc05['n'];_0xd49422[_0x33918b]||(_0xd49422[_0x33918b]=_0x71e749[_0x3a6514(0x122)][_0x3a6514(0x2d9)](_0x33918b));const _0x589e81=_0xd49422[_0x33918b],_0x232f68=_0x589e81[_0x3a6514(0x1b8)];if(_0x589e81[_0x3a6514(0x175)])return String(_0xe265f4);if(_0x232f68)return{'v':_0xe265f4,'f':_0x33918b};}if(_0x538cf6===_0x71e749['CellValueType']['NUMBER'])return Number(_0xe265f4);if(_0x538cf6===_0x71e749[_0x3a6514(0x1c9)][_0x3a6514(0x1c5)]||_0x538cf6===_0x71e749[_0x3a6514(0x1c9)]['FORCE_STRING'])return String(_0xe265f4);if(_0x538cf6===void 0x0){const _0x1d4405=Number(_0xe265f4);if(!Number[_0x3a6514(0x3fa)](_0x1d4405)&&String(_0x1d4405)===_0xe265f4)return _0x1d4405;}return _0xe265f4!=null?_0xe265f4:null;}else return null;}[_0x952e9f(0x2db)](_0x5c2fe5){const _0x2f466f=_0x952e9f,{sheetName:_0x4692d4,range:_0x4bec34,unitId:_0x5e9f2d}=_0x5c2fe5,_0x4aca5a=this[_0x2f466f(0x2ba)][_0x2f466f(0x38c)](_0x5e9f2d);if(!_0x4aca5a)return console[_0x2f466f(0x1c0)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x30775e=_0x4aca5a[_0x2f466f(0x17a)](_0x4692d4),_0x5b6406=_0x30775e[_0x2f466f(0x23f)](),{startRow:_0x492f5a,startColumn:_0x9f1e19,endRow:_0x3d690e,endColumn:_0x547ee5}=this[_0x2f466f(0x404)](_0x4bec34,_0x30775e),_0x17dd69=_0x4aca5a[_0x2f466f(0x3a1)](),_0x3735d1=[],_0xff398c=[],_0x44b5af={};for(let _0x4ad96e=_0x492f5a;_0x4ad96e<=_0x3d690e;_0x4ad96e++){const _0x3780f7=[];for(let _0x556014=_0x9f1e19;_0x556014<=_0x547ee5;_0x556014++){const _0x41ee84=_0x5b6406['getValue'](_0x4ad96e,_0x556014);_0x4ad96e===_0x492f5a?_0x3735d1[_0x2f466f(0x2b7)](_0x41ee84==null?null:String(_0x41ee84['v'])):_0x3780f7[_0x2f466f(0x2b7)](this[_0x2f466f(0x3c7)](_0x41ee84,_0x17dd69,_0x44b5af));}_0xff398c['push'](_0x3780f7);}return{'header':_0x3735d1,'data':_0xff398c};}[_0x952e9f(0x117)](){const _0x107497=_0x952e9f;return super[_0x107497(0x117)]();}[_0x952e9f(0x136)](_0x365bd7){const _0x4c00f0=_0x952e9f;super[_0x4c00f0(0x136)](_0x365bd7),this[_0x4c00f0(0xea)]();}[_0x952e9f(0x3e3)](){const _0x561a91=_0x952e9f;super[_0x561a91(0x3e3)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x1c782e=_0x590dbd=>{const _0x3ba1c8=_0x952e9f,{targetCellInfo:_0x279684}=_0x590dbd,{matrixCache:_0x125caa,rangesCache:_0x330ec9}=_0x59b07e({'filter':_0x3ba1c8(0x341),'row':_0x3ba1c8(0x3b9),'column':_0x3ba1c8(0x3f0),'values':_0x3ba1c8(0x23e)},_0x279684),_0x1c9ec1=new _0x71e749[(_0x3ba1c8(0x3f8))]();return _0x125caa[_0x3ba1c8(0x2c5)]((_0x2f7318,_0x2cbffa,_0x4dd5ac)=>{const _0x5ee94c=_0x3ba1c8;_0x1c9ec1[_0x5ee94c(0x183)](_0x2f7318,_0x2cbffa,_0x4dd5ac);}),{'matrix':_0x1c9ec1,'rangesCache':_0x330ec9};},_0x435feb=_0x4c1755=>{const _0x4696d3=_0x952e9f;let _0x2d3b88;if(_0x4c1755!=null&&_0x4c1755['v']||(_0x4c1755==null?void 0x0:_0x4c1755['v'])===0x0){_0x2d3b88||(_0x2d3b88={});const _0xc9274b=_0x422930(_0x4c1755['v']);typeof _0xc9274b==_0x4696d3(0x3d3)?_0x2d3b88['t']=_0x71e749['CellValueType']['NUMBER']:typeof _0xc9274b==_0x4696d3(0x282)&&(_0x2d3b88['t']=_0x71e749[_0x4696d3(0x1c9)][_0x4696d3(0x1c5)]),_0x2d3b88['v']=_0xc9274b;}return _0x2d3b88;},_0x30dda7=(_0x5c0da6,_0x31f560,_0x293eec)=>{const _0x1d8eff=_0x952e9f;var _0x1c7b5c,_0x201d0d,_0x5468e3,_0x10838b,_0x502aa5,_0x339a6f,_0x3030a1,_0x58d623,_0x1e3a08,_0x586b28,_0x57ac90,_0x411b99;const {cornerView:_0x290c9e,rowView:_0x551844,colView:_0x23507d,dataView:_0x7b4263,pageView:_0x2ea392,formatMap:_0x36e6e7}=_0x5c0da6,{row:_0x43a087,col:_0x18fde0}=_0x31f560,_0x2c96f3=new _0x71e749[(_0x1d8eff(0x3f8))]();let _0x3ce95f=_0x43a087,_0x1cf38b=_0x18fde0;Object[_0x1d8eff(0x111)](_0x2ea392[_0x1d8eff(0x2ac)])[_0x1d8eff(0x1fb)](_0x1d1f03=>{const _0x4d55a6=_0x1d8eff;Object[_0x4d55a6(0x111)](_0x2ea392[_0x4d55a6(0x2ac)][Number(_0x1d1f03)])[_0x4d55a6(0x1fb)](_0x13e14f=>{const _0x1118dd=_0x4d55a6,_0x1e8e92={..._0x2ea392[_0x1118dd(0x2ac)][Number(_0x1d1f03)][Number(_0x13e14f)]};_0x2c96f3[_0x1118dd(0x183)](Number(_0x1d1f03)+_0x3ce95f,Number(_0x13e14f)+_0x1cf38b,_0x435feb(_0x1e8e92));});});const _0x23f04d=Object['keys'](_0x2ea392[_0x1d8eff(0x2ac)])[_0x1d8eff(0x278)];_0x3ce95f+=_0x23f04d+(_0x23f04d?_0x18e791:0x0);const _0x40710e=_0x290c9e[_0x1d8eff(0x1bd)](),_0x509821=_0x290c9e[_0x1d8eff(0x3b7)]();for(let _0x1ba962=0x0;_0x1ba962<_0x40710e;_0x1ba962++)for(let _0xbcc576=0x0;_0xbcc576<_0x509821;_0xbcc576++){const _0x54436b={...(_0x201d0d=(_0x1c7b5c=_0x290c9e[_0x1d8eff(0x2ac)])==null?void 0x0:_0x1c7b5c[_0x1ba962])==null?void 0x0:_0x201d0d[_0xbcc576]};_0x54436b&&((_0x5468e3=_0x551844[_0x1d8eff(0x130)][_0xbcc576])!=null&&_0x5468e3[_0x1d8eff(0x255)])&&_0xbcc576===_0x509821-0x1&&_0x1ba962===_0x40710e-0x1&&(_0x54436b['v']=''+_0x293eec[_0x1d8eff(0x305)]),_0x2c96f3['setValue'](_0x1ba962+_0x3ce95f,_0xbcc576+_0x1cf38b,_0x435feb(_0x54436b));}_0x1cf38b+=_0x509821;const _0x2a417d=_0x23507d['headerMap'],_0x5686a7=_0x23507d[_0x1d8eff(0x339)]()>=0x0?_0x23507d[_0x1d8eff(0x339)]()+0x1:0x0,_0x4301ce=_0x23507d[_0x1d8eff(0x195)]()>=0x0?_0x23507d[_0x1d8eff(0x195)]()+0x1:0x0;for(let _0x495843=0x0;_0x495843<_0x4301ce;_0x495843++)for(let _0x811c42=0x0;_0x811c42<_0x5686a7;_0x811c42++){const _0x6558c8={...(_0x502aa5=(_0x10838b=_0x23507d[_0x1d8eff(0x2ac)])==null?void 0x0:_0x10838b[_0x495843])==null?void 0x0:_0x502aa5[_0x811c42]},_0x323963=(_0x339a6f=_0x2a417d[_0x495843])==null?void 0x0:_0x339a6f[_0x1d8eff(0x295)],_0x45e180=_0x36e6e7[_0x323963];_0x6558c8&&(_0x6558c8['v']=_0x2d2a3c(_0x6558c8,_0x495843===0x0&&((_0x3030a1=_0x23507d[_0x1d8eff(0x166)](_0x811c42+0x1))==null?void 0x0:_0x3030a1['isValue']),_0x45e180,_0x293eec)),_0x2c96f3['setValue'](_0x495843+_0x3ce95f,_0x811c42+_0x1cf38b,_0x435feb(_0x6558c8));}_0x3ce95f+=_0x40710e;const _0x35a4bd=_0x551844[_0x1d8eff(0x130)],_0x3326a5=_0x551844[_0x1d8eff(0x339)]()>=0x0?_0x551844[_0x1d8eff(0x339)]()+0x1:0x0,_0x325fb7=_0x551844[_0x1d8eff(0x195)]()>=0x0?_0x551844[_0x1d8eff(0x195)]()+0x1:0x0;for(let _0x47256a=0x0;_0x47256a<_0x3326a5;_0x47256a++)for(let _0x1569eb=0x0;_0x1569eb<_0x325fb7;_0x1569eb++){const _0x370df9={...(_0x1e3a08=(_0x58d623=_0x551844[_0x1d8eff(0x2ac)])==null?void 0x0:_0x58d623[_0x47256a])==null?void 0x0:_0x1e3a08[_0x1569eb]},_0x41c91b=(_0x586b28=_0x35a4bd[_0x1569eb])==null?void 0x0:_0x586b28[_0x1d8eff(0x295)],_0x587cfd=_0x36e6e7[_0x41c91b];_0x370df9&&(_0x370df9['v']=_0x2d2a3c(_0x370df9,!0x1,_0x587cfd,_0x293eec)),_0x2c96f3['setValue'](_0x47256a+_0x3ce95f,_0x1569eb+_0x18fde0,_0x435feb(_0x370df9));}const _0x14f43f=_0x7b4263[_0x1d8eff(0x1bd)](),_0x4a9338=_0x7b4263[_0x1d8eff(0x3b7)]();for(let _0x3de074=0x0;_0x3de074<_0x14f43f;_0x3de074++)for(let _0x4654a5=0x0;_0x4654a5<_0x4a9338;_0x4654a5++){const _0x3755e4={...(_0x411b99=(_0x57ac90=_0x7b4263[_0x1d8eff(0x2ac)])==null?void 0x0:_0x57ac90[_0x3de074])==null?void 0x0:_0x411b99[_0x4654a5]};_0x2c96f3[_0x1d8eff(0x183)](_0x3de074+_0x3ce95f,_0x4654a5+_0x1cf38b,_0x435feb(_0x3755e4));}return _0x2c96f3;},_0x5cbcb0=_0x5e0ca1=>{const _0x5dca0b=_0x952e9f,{view:_0x3a9840,targetCellInfo:_0x148534,isEmpty:_0x12c0f2,textInfo:_0x36037c}=_0x5e0ca1;if(_0x12c0f2)return _0x1c782e(_0x5e0ca1);const {pageView:_0x6611bd,cornerView:_0x1a79a3,rowView:_0xda84f1,colView:_0x591a91,dataView:_0xe8a4c6}=_0x3a9840,_0x5956cd=_0x3f4101(_0x148534,_0x6611bd,!0x0),_0x57ab15=_0x6611bd[_0x5dca0b(0x337)]>=0x0?_0x6611bd[_0x5dca0b(0x337)]+0x1:0x0,_0x2b878=_0x1a79a3[_0x5dca0b(0x1bd)](),_0x54ddb7=_0x1a79a3[_0x5dca0b(0x3b7)](),_0x3072d7=_0x5956cd[_0x5dca0b(0x278)]>0x0?_0x18e791:0x0,_0x42f20a=_0x3f4101({'row':_0x148534[_0x5dca0b(0x2f4)]+_0x57ab15+_0x3072d7,'col':_0x148534['col']},_0x1a79a3,!0x1,!0x1),_0xc8c818=_0x3f4101({'row':_0x148534[_0x5dca0b(0x2f4)]+_0x57ab15+_0x3072d7+_0x2b878,'col':_0x148534['col']},_0xda84f1,!0x1,!0x0),_0x1c63d1=_0x3f4101({'row':_0x148534[_0x5dca0b(0x2f4)]+_0x57ab15+_0x3072d7,'col':_0x148534[_0x5dca0b(0x320)]+_0x54ddb7},_0x591a91,!0x1,!0x0),_0x146621=_0x3f4101({'row':_0x148534[_0x5dca0b(0x2f4)]+_0x57ab15+_0x3072d7+_0x2b878,'col':_0x148534[_0x5dca0b(0x320)]+_0x54ddb7},_0xe8a4c6,!0x1,!0x1),_0x5d5714={'rowRanges':_0xc8c818,'colRanges':_0x1c63d1,'cornerRanges':_0x42f20a,'dataRanges':_0x146621,'pageRanges':_0x5956cd};return{'matrix':_0x30dda7(_0x3a9840,_0x148534,_0x36037c),'rangesCache':_0x5d5714};};var _0x531b5a=Object[_0x952e9f(0x169)],_0x3691ac=(_0x40b958,_0x24e429,_0x4176d1,_0xcb71ae)=>{for(var _0x1d9233=_0xcb71ae>0x1?void 0x0:_0xcb71ae?_0x531b5a(_0x24e429,_0x4176d1):_0x24e429,_0x58c151=_0x40b958['length']-0x1,_0xb26485;_0x58c151>=0x0;_0x58c151--)(_0xb26485=_0x40b958[_0x58c151])&&(_0x1d9233=_0xb26485(_0x1d9233)||_0x1d9233);return _0x1d9233;},_0x1a0722=(_0x34bad9,_0x3bc170)=>(_0x291f67,_0x315be5)=>_0x3bc170(_0x291f67,_0x315be5,_0x34bad9);_0x3e9a4b[_0x952e9f(0x386)]=class extends _0x71e749['Disposable']{constructor(_0x40df00,_0x561371,_0x273d81,_0x55ddfd,_0x49f6c4,_0x20ee40){const _0x1d36fd=_0x952e9f;super(),_0x59bac0(this,'_model',new Map()),_0x59bac0(this,_0x1d36fd(0x263),new Map()),_0x59bac0(this,'_viewData',new Map()),_0x59bac0(this,_0x1d36fd(0x1e0)),_0x59bac0(this,_0x1d36fd(0x38f),new _0x11b8a8[(_0x1d36fd(0x384))]()),_0x59bac0(this,_0x1d36fd(0x3f3),this['_collectionChange$'][_0x1d36fd(0x2c1)]()),_0x59bac0(this,_0x1d36fd(0x336),new _0x11b8a8[(_0x1d36fd(0x384))]()),_0x59bac0(this,_0x1d36fd(0x2ff),this['_viewData$'][_0x1d36fd(0x2c1)]()),_0x59bac0(this,_0x1d36fd(0x138),new _0x11b8a8[(_0x1d36fd(0x384))]()),_0x59bac0(this,'fieldsCollectionChange$',this[_0x1d36fd(0x138)][_0x1d36fd(0x2c1)]()),_0x59bac0(this,_0x1d36fd(0x347),new Map()),_0x59bac0(this,_0x1d36fd(0xe1),[]),_0x59bac0(this,_0x1d36fd(0x377),new Map()),(this[_0x1d36fd(0x170)]=_0x40df00,this[_0x1d36fd(0x2ba)]=_0x561371,this[_0x1d36fd(0x11f)]=_0x273d81,this['_configService']=_0x55ddfd,this[_0x1d36fd(0x107)]=_0x49f6c4,this['_resourceManagerService']=_0x20ee40,this['_initSnapshot']());}['getTextInfo'](){const _0x4595be=_0x952e9f;return this[_0x4595be(0x1e0)]?this['_textInfo']:_0x3328ed;}[_0x952e9f(0x2d5)](_0xd84425){const _0x46738b=_0x952e9f;this[_0x46738b(0x1e0)]=_0xd84425;}[_0x952e9f(0x12d)](_0x361d22){const _0x492e09=_0x952e9f;var _0x37e7c5;const {from:_0x23f494,to:_0x463744,unitId:_0xd2e62e,fromRange:_0x5b3459,toRange:_0x3bac00}=_0x361d22;if(_0x23f494&&_0x463744){const _0x371df7=this[_0x492e09(0x351)](_0xd2e62e),_0x4d4600=this['_model'][_0x492e09(0x3dc)](_0xd2e62e),_0x65bde9=(_0x37e7c5=this[_0x492e09(0x2ba)]['getUnit'](_0xd2e62e))==null?void 0x0:_0x37e7c5[_0x492e09(0x216)](_0x463744[_0x492e09(0x277)]);if(!_0x4d4600||!_0x65bde9)return;const _0x5e2a7a=_0x65bde9==null?void 0x0:_0x65bde9[_0x492e09(0x134)]();for(const [_0x31ec65,_0x4483da]of _0x4d4600[_0x492e09(0x3c9)]())for(const [_0x3c3bb6,_0x58ffd2]of _0x4483da[_0x492e09(0x3c9)]()){const {sourceRangeInfo:_0x24aaf5}=_0x58ffd2;if(_0x24aaf5[_0x492e09(0x27e)]===_0xd2e62e&&_0x24aaf5['subUnitId']===_0x23f494[_0x492e09(0x277)]&&_0x71e749['Rectangle']['contains'](_0x5b3459,_0x24aaf5[_0x492e09(0x145)])){const _0x46f407={'row':_0x24aaf5[_0x492e09(0x145)][_0x492e09(0x2fd)]-_0x5b3459[_0x492e09(0x2fd)],'col':_0x24aaf5['range'][_0x492e09(0x3a9)]-_0x5b3459['startColumn']},_0x94a60c={'unitId':_0xd2e62e,'subUnitId':_0x463744[_0x492e09(0x277)],'sheetName':_0x5e2a7a,'range':{'startRow':_0x3bac00[_0x492e09(0x2fd)]+_0x46f407[_0x492e09(0x2f4)],'endRow':_0x3bac00[_0x492e09(0x2fd)]+_0x46f407['row']+_0x24aaf5[_0x492e09(0x145)][_0x492e09(0x22a)]-_0x24aaf5[_0x492e09(0x145)][_0x492e09(0x2fd)],'startColumn':_0x3bac00[_0x492e09(0x3a9)]+_0x46f407[_0x492e09(0x320)],'endColumn':_0x3bac00[_0x492e09(0x3a9)]+_0x46f407[_0x492e09(0x320)]+_0x24aaf5[_0x492e09(0x145)][_0x492e09(0x317)]-_0x24aaf5[_0x492e09(0x145)][_0x492e09(0x3a9)]}};_0x371df7[_0x492e09(0x12d)](_0x3c3bb6,_0x94a60c);const _0x59b0f7={..._0x58ffd2,'sourceRangeInfo':_0x94a60c};this[_0x492e09(0x38a)](_0xd2e62e,_0x463744['subUnitId'],_0x3c3bb6,_0x59b0f7),this['broadcastCollectionChange']({'unitId':_0xd2e62e,'token':_0x3c3bb6,'type':_0x2c797b[_0x492e09(0x311)],'oldSourceRangeInfo':_0x24aaf5,'dataRangeInfo':_0x94a60c,'targetCellInfo':_0x58ffd2[_0x492e09(0x354)]}),this[_0x492e09(0x207)]({'unitId':_0xd2e62e,'subUnitId':_0x463744[_0x492e09(0x277)],'oldSubUnitId':_0x31ec65,'pivotTableId':_0x3c3bb6,'pivotTableConfig':_0x59b0f7,'collectionConfig':_0x371df7['toJSON']()});}}}}[_0x952e9f(0x1c3)](_0x100af1){const _0x1e429f=_0x952e9f;this[_0x1e429f(0x38f)][_0x1e429f(0x348)](_0x100af1);}[_0x952e9f(0x351)](_0x5c393d){const _0x22d9d9=_0x952e9f;let _0x7447a2=this[_0x22d9d9(0x347)][_0x22d9d9(0x3dc)](_0x5c393d);return _0x7447a2||(_0x7447a2=new _0x56de34(this,this[_0x22d9d9(0x2ba)]),this[_0x22d9d9(0x347)][_0x22d9d9(0x23d)](_0x5c393d,_0x7447a2)),_0x7447a2;}['getCollection'](_0x3d9765,_0x4251d6){const _0x1aace7=_0x952e9f;return this[_0x1aace7(0x351)](_0x3d9765)[_0x1aace7(0x3d8)][_0x4251d6];}[_0x952e9f(0x3bb)](_0x4b2998,_0x278582,_0x3520d7){const _0x3e95c0=_0x952e9f;return this[_0x3e95c0(0x351)](_0x4b2998)['getUpdateRangeDeleteIds'](_0x278582,_0x3520d7);}[_0x952e9f(0x372)](_0x138f0,_0x34745a){const _0x10a793=_0x952e9f;let _0x11b59a=this[_0x10a793(0xe2)][_0x10a793(0x3dc)](_0x138f0);_0x11b59a||(_0x11b59a=new Map(),this[_0x10a793(0xe2)][_0x10a793(0x23d)](_0x138f0,_0x11b59a));let _0x54e3c4=_0x11b59a['get'](_0x34745a);return _0x54e3c4||(_0x54e3c4=new Map(),_0x11b59a[_0x10a793(0x23d)](_0x34745a,_0x54e3c4)),_0x54e3c4;}['_updateModelCache'](_0x258302,_0x320141,_0xb33830,_0x5b611e){const _0x1655ab=_0x952e9f;this[_0x1655ab(0x372)](_0x258302,_0x320141)['set'](_0xb33830,_0x5b611e);}[_0x952e9f(0x251)](_0x3145e2,_0x2760fe,_0x5df309){const _0x3aca3c=_0x952e9f;var _0x1b79b3,_0x2af758,_0x51f24f,_0xe9d5bf;((_0x2af758=(_0x1b79b3=this[_0x3aca3c(0xe2)][_0x3aca3c(0x3dc)](_0x3145e2))==null?void 0x0:_0x1b79b3[_0x3aca3c(0x3dc)](_0x2760fe))==null?void 0x0:_0x2af758['get'](_0x5df309))&&((_0xe9d5bf=(_0x51f24f=this[_0x3aca3c(0xe2)][_0x3aca3c(0x3dc)](_0x3145e2))==null?void 0x0:_0x51f24f[_0x3aca3c(0x3dc)](_0x2760fe))==null||_0xe9d5bf['delete'](_0x5df309));}['_updatePivotTableInstanceCache'](_0x56d903,_0x310afd){const _0x3a8997=_0x952e9f;this[_0x3a8997(0x263)][_0x3a8997(0x23d)](_0x56d903,_0x310afd);}[_0x952e9f(0x2e1)](_0x445784){const _0x4a615a=_0x952e9f;this['_pivotTableInstanceCache'][_0x4a615a(0x366)](_0x445784);}[_0x952e9f(0x239)](_0x3639ef,_0x471ae3){const _0xf4d473=_0x952e9f;let _0x57a472=this[_0xf4d473(0x308)]['get'](_0x3639ef);_0x57a472||(_0x57a472=new Map(),this[_0xf4d473(0x308)][_0xf4d473(0x23d)](_0x3639ef,_0x57a472));let _0x2b0fe2=_0x57a472['get'](_0x471ae3);return _0x2b0fe2||(_0x2b0fe2=new Map(),_0x57a472[_0xf4d473(0x23d)](_0x471ae3,_0x2b0fe2)),_0x2b0fe2;}['updateConfig'](_0x5ace58){const _0xd32185=_0x952e9f,{unitId:_0x271e6e,subUnitId:_0x567db1,pivotTableId:_0x594834,pivotTableConfig:_0xa7e9aa,collectionConfig:_0x12f524}=_0x5ace58,_0x55c461={'unitId':_0x271e6e,'subUnitId':_0x567db1,'oldSubUnitId':_0x567db1,'pivotTableId':_0x594834,'pivotTableConfig':_0xa7e9aa,'collectionConfig':_0x12f524};this[_0xd32185(0x107)][_0xd32185(0xfd)](_0x4c06b7['id'],_0x55c461,{'onlyLocal':!0x0});}[_0x952e9f(0x39a)](_0x1b9244,_0x43fb96,_0x5345ff,_0x3462df,_0x316bbb,_0x57279e,_0x4e3edc,_0x5a5f8b=!0x1){const _0x1e2334=_0x952e9f;var _0x521272;this[_0x1e2334(0x107)]['executeCommand'](_0x13964a['id'],{'single':{'unitId':_0x1b9244,'subUnitId':_0x43fb96,'type':_0x5345ff,'pivotTableId':_0x3462df,'view':_0x316bbb,'pivotConfig':_0x57279e},'collectionConfig':{[_0x1b9244]:_0x4e3edc}},{'onlyLocal':!0x0});const _0x3a40af=!!((_0x521272=this[_0x1e2334(0x123)](_0x3462df))!=null&&_0x521272[_0x1e2334(0x36b)]()),_0x566635=this[_0x1e2334(0x405)](_0x1b9244,_0x43fb96,_0x3462df);_0x566635&&this[_0x1e2334(0x12a)]({'view':_0x316bbb,'pivotTableId':_0x3462df,'textInfo':this['getTextInfo'](),'isEmpty':_0x3a40af,'targetCellInfo':_0x566635['targetCellInfo']},_0x5a5f8b);}[_0x952e9f(0x12a)](_0x15d512,_0x5259f7){const _0x1a7ed6=_0x952e9f,{targetCellInfo:_0x53f137,pivotTableId:_0x4830fb}=_0x15d512,{unitId:_0x5193b9,subUnitId:_0x5d4b68}=_0x53f137,_0x259e54=this[_0x1a7ed6(0x239)](_0x5193b9,_0x5d4b68),_0x4c5d5f=_0x259e54[_0x1a7ed6(0x3dc)](_0x4830fb);let _0x41d174,_0x13286c;_0x4c5d5f&&(_0x41d174=_0x4c5d5f['rangeCache'],_0x13286c=_0x4c5d5f[_0x1a7ed6(0x3ed)]);const {rangesCache:_0x63ea66,matrix:_0x453d45}=_0x5cbcb0(_0x15d512);_0x259e54[_0x1a7ed6(0x23d)](_0x4830fb,{'rangeCache':_0x63ea66,'matrix':_0x453d45,'oldMatrix':_0x13286c,'oldRangeCache':_0x41d174}),_0x5259f7||this[_0x1a7ed6(0x336)][_0x1a7ed6(0x348)]({'unitId':_0x5193b9,'subUnitId':_0x5d4b68,'pivotTableId':_0x4830fb});}[_0x952e9f(0x261)](_0x4d9db6,_0x24e669,_0x2d9b26,_0x1586bc,_0x403a47){const _0x5a53ba=_0x952e9f;this['_updateModelCache'](_0x4d9db6,_0x24e669,_0x2d9b26,_0x403a47),this[_0x5a53ba(0x1e9)](_0x2d9b26,_0x1586bc);}[_0x952e9f(0x3a4)](_0x300286,_0x415349,_0x21f0fe){const _0x380ed7=_0x952e9f,_0x276b9b=this[_0x380ed7(0x351)](_0x300286);_0x276b9b[_0x380ed7(0x25f)](_0x21f0fe)[_0x380ed7(0x1fb)](_0x19a69b=>{const _0x8d52b5=_0x380ed7;_0x276b9b[_0x8d52b5(0x1eb)](_0x19a69b);}),this['removeCollections'](_0x300286,_0x21f0fe),this[_0x380ed7(0x251)](_0x300286,_0x415349,_0x21f0fe),this['_deletePivotTableInstanceCache'](_0x21f0fe);}[_0x952e9f(0x2a0)](_0x1f1c07,_0x46b6be,_0x2d3617,_0x109a63){this['_updateModelCache'](_0x1f1c07,_0x46b6be,_0x2d3617,_0x109a63);}[_0x952e9f(0x405)](_0x5caded,_0x2680b7,_0x44e854){const _0x898546=_0x952e9f;var _0x1b0c04,_0x415f4d;const _0x39bb57=(_0x415f4d=(_0x1b0c04=this[_0x898546(0xe2)][_0x898546(0x3dc)](_0x5caded))==null?void 0x0:_0x1b0c04[_0x898546(0x3dc)](_0x2680b7))==null?void 0x0:_0x415f4d[_0x898546(0x3dc)](_0x44e854);if(_0x39bb57)return _0x39bb57;}[_0x952e9f(0x3d7)](_0x195302,_0x2eeb0f,_0x509673){const _0x1747db=_0x952e9f;var _0xc87d29,_0xcd669d;const _0x30fb2f=(_0xcd669d=(_0xc87d29=this[_0x1747db(0xe2)][_0x1747db(0x3dc)](_0x195302))==null?void 0x0:_0xc87d29[_0x1747db(0x3dc)](_0x2eeb0f))==null?void 0x0:_0xcd669d[_0x1747db(0x3dc)](_0x509673);if(_0x30fb2f)return _0x30fb2f[_0x1747db(0x13c)];}[_0x952e9f(0x123)](_0x5d882c){const _0x21ffb7=_0x952e9f;return this[_0x21ffb7(0x263)][_0x21ffb7(0x3dc)](_0x5d882c);}[_0x952e9f(0x262)](_0x1f5bbf){const _0xfebde0=_0x952e9f;this[_0xfebde0(0xe2)][_0xfebde0(0x366)](_0x1f5bbf);const _0x56551b=this[_0xfebde0(0x347)]['get'](_0x1f5bbf);_0x56551b&&(_0x56551b[_0xfebde0(0x3e3)](),this[_0xfebde0(0x347)][_0xfebde0(0x366)](_0x1f5bbf)),this[_0xfebde0(0x308)][_0xfebde0(0x366)](_0x1f5bbf),this['needSameDeleteModel']['forEach'](_0x1dc86a=>{_0x1dc86a['deleteUnitId'](_0x1f5bbf);});}[_0x952e9f(0x132)](_0x4570cc,_0x5b070c,_0x388f79,_0x202be4){const _0x3691c6=_0x952e9f;return this[_0x3691c6(0x351)](_0x388f79[_0x3691c6(0x27e)])['addCollectionByJSON'](_0x4570cc,_0x5b070c,_0x388f79,_0x202be4);}[_0x952e9f(0x252)](_0x236f72){const _0x278d6f=_0x952e9f;return this[_0x278d6f(0x351)](_0x236f72['unitId'])[_0x278d6f(0x252)](_0x236f72);}[_0x952e9f(0x16d)](_0xc072be,_0x160de8,_0x2dac4b){const _0x4c6a5f=_0x952e9f;this[_0x4c6a5f(0x351)](_0x2dac4b[_0x4c6a5f(0x27e)])[_0x4c6a5f(0x16d)](_0xc072be,_0x160de8,_0x2dac4b);}['removeDataField'](_0x116207,_0x83cb26){const _0x33cb48=_0x952e9f;this[_0x33cb48(0x351)](_0x116207)[_0x33cb48(0x1eb)](_0x83cb26);}[_0x952e9f(0x3dd)](_0x5b2a08,_0x523e47){this['getDataFieldManager'](_0x5b2a08)['removeCollectionImp'](_0x523e47);}[_0x952e9f(0x329)](_0x9821ab,_0x4d7fee){const _0x2b9f2e=_0x952e9f;var _0x3ee25d;return(_0x3ee25d=this[_0x2b9f2e(0xe2)][_0x2b9f2e(0x3dc)](_0x9821ab))==null?void 0x0:_0x3ee25d['get'](_0x4d7fee);}[_0x952e9f(0x1cd)](_0x37c2c3){const _0x41d993=_0x952e9f;for(const [_0x5473c0,_0x447a4c]of this[_0x41d993(0xe2)][_0x41d993(0x3c9)]())for(const [_0x1a7064,_0x460fb3]of _0x447a4c[_0x41d993(0x3c9)]())if(_0x460fb3[_0x41d993(0x2cc)](_0x37c2c3))return{'unitId':_0x5473c0,'subUnitId':_0x1a7064};return null;}[_0x952e9f(0x113)](_0x5118f4,_0x526a24,_0x59cc0f,_0x58f62b){const _0x222262=_0x952e9f,_0x5a9dde=this[_0x222262(0x239)](_0x5118f4,_0x526a24);_0x58f62b?_0x5a9dde[_0x222262(0x23d)](_0x59cc0f,_0x58f62b):_0x5a9dde[_0x222262(0x366)](_0x59cc0f),this[_0x222262(0x336)][_0x222262(0x348)]({'unitId':_0x5118f4,'subUnitId':_0x526a24,'pivotTableId':_0x59cc0f});}[_0x952e9f(0x3e3)](){super['dispose']();}[_0x952e9f(0x327)](_0x2a9f21,_0x155d05,_0x5e01e4){const _0x303162=_0x952e9f;var _0x803c5b,_0xb5fd80;const _0x577484=(_0xb5fd80=(_0x803c5b=this[_0x303162(0x308)]['get'](_0x2a9f21))==null?void 0x0:_0x803c5b['get'](_0x155d05))==null?void 0x0:_0xb5fd80[_0x303162(0x3dc)](_0x5e01e4);return _0x577484||null;}['addDirtyPivotTable'](_0x3ffd02){const _0x52a0a6=_0x952e9f;this[_0x52a0a6(0x197)](_0x3ffd02);}[_0x952e9f(0x197)](_0x186f0d){const _0x110f28=_0x952e9f,{token:_0x51c045,unitId:_0x39135f,subUnitId:_0x286f64}=_0x186f0d,_0x56b236=_0x39135f+'-'+_0x286f64+'-'+_0x51c045;this[_0x110f28(0x377)][_0x110f28(0x3dc)](_0x56b236)&&clearTimeout(this[_0x110f28(0x377)]['get'](_0x56b236));const _0x12708a=setTimeout(()=>{const _0x446489=_0x110f28;this[_0x446489(0x20c)](_0x186f0d),this[_0x446489(0x377)]['delete'](_0x56b236);},_0x5650cd);this[_0x110f28(0x377)][_0x110f28(0x23d)](_0x56b236,_0x12708a);}[_0x952e9f(0x20c)](_0x3470ce){const _0x2b9f6c=_0x952e9f,{unitId:_0x5eed52,subUnitId:_0x277f57,token:_0x41c51b,type:_0x7ffa04,pivotConfig:_0x270353}=_0x3470ce,_0x39ca22=this[_0x2b9f6c(0x123)](_0x41c51b),_0x58f21a=_0x39ca22==null?void 0x0:_0x39ca22[_0x2b9f6c(0x393)](),_0x18b905=_0x270353!=null?_0x270353:this['getPivotTableConfig'](_0x5eed52,_0x277f57,_0x41c51b);_0x18b905&&(_0x18b905[_0x2b9f6c(0x36b)]=!!(_0x39ca22!=null&&_0x39ca22[_0x2b9f6c(0x36b)]())),(_0x58f21a||_0x7ffa04===_0x5cfd72[_0x2b9f6c(0x22c)])&&this['updateView'](_0x5eed52,_0x277f57,_0x7ffa04,_0x41c51b,_0x58f21a,_0x18b905,this[_0x2b9f6c(0x351)](_0x5eed52)[_0x2b9f6c(0x117)]());}[_0x952e9f(0x117)](_0x173022){const _0x3a6f57=_0x952e9f,_0x68b35c={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3a6f57(0x351)](_0x173022)&&(_0x68b35c['dataFieldManagerConfig'][_0x173022]=this[_0x3a6f57(0x351)](_0x173022)[_0x3a6f57(0x117)]()),this['_model'][_0x3a6f57(0x3dc)](_0x173022)){_0x68b35c[_0x3a6f57(0x26c)][_0x173022]={};const _0x3ea64e=this[_0x3a6f57(0xe2)]['get'](_0x173022);_0x3ea64e!=null&&_0x3ea64e['size']&&[..._0x3ea64e['keys']()][_0x3a6f57(0x1fb)](_0x222133=>{const _0x351710=_0x3a6f57,_0x2bb802=_0x3ea64e[_0x351710(0x3dc)](_0x222133);_0x2bb802!=null&&_0x2bb802[_0x351710(0x303)]&&(_0x68b35c[_0x351710(0x26c)][_0x173022][_0x222133]={},[..._0x2bb802['keys']()][_0x351710(0x1fb)](_0x1dfb47=>{const _0x52acf2=_0x351710,_0x5ec028=_0x2bb802[_0x52acf2(0x3dc)](_0x1dfb47);_0x5ec028&&(_0x68b35c['pivotTableConfigs'][_0x173022][_0x222133][_0x1dfb47]=_0x5ec028);}));});}return _0x68b35c;}[_0x952e9f(0x136)](_0x39d0cb){const _0x33e360=_0x952e9f;var _0x559798;const {dataFieldManagerConfig:_0x2efbbd,pivotTableConfigs:_0x4ccf77}=_0x39d0cb;_0x2efbbd&&Object[_0x33e360(0x111)](_0x2efbbd)['forEach'](_0x4713b0=>{const _0x47af3e=_0x33e360;this['getDataFieldManager'](_0x4713b0)[_0x47af3e(0x136)](_0x2efbbd[_0x4713b0]);});const _0x4155f6=[];if(_0x4ccf77){const _0x46d337=(_0x559798=this[_0x33e360(0x170)][_0x33e360(0x3dc)](_0x71e749['IConfigService'])['getConfig'](_0x53e420[_0x33e360(0xe5)]))!=null?_0x559798:{},{ls:_0x319e8a,pbk:_0x2c8055}=_0x46d337,_0x401c12=_0xfe1c71(_0x1a1b40,_0x319e8a,_0x2c8055)['count'];Object[_0x33e360(0x111)](_0x4ccf77)[_0x33e360(0x1fb)](_0x527ad3=>{const _0x2fdbc9=_0x33e360;let _0x58358a=0x0;const _0x5b835e=_0x4ccf77[_0x527ad3];Object[_0x2fdbc9(0x111)](_0x5b835e)[_0x2fdbc9(0x1fb)](_0x1fde82=>{const _0xbb6437=_0x2fdbc9,_0x4bc245=_0x5b835e[_0x1fde82];Object[_0xbb6437(0x111)](_0x4bc245)[_0xbb6437(0x1fb)](_0x46038d=>{const _0x4c1665=_0xbb6437,_0x391529=_0x4bc245[_0x46038d];if(_0x391529){if(_0x58358a>=_0x401c12)return;_0x58358a++;const _0x3e0a3a=this[_0x4c1665(0x351)](_0x527ad3),_0x3a2375=_0x3e0a3a[_0x4c1665(0x3d8)][_0x46038d],_0x32b006=_0x3a2375['getFieldIds']();let _0xf01a53=0x0;const _0x26a49f=[];for(const _0x10d5c8 of _0x32b006){const _0x5163b9=_0x3a2375[_0x4c1665(0x17d)](_0x10d5c8);if(_0x1978cb[_0x4c1665(0x26a)](_0x5163b9)){const _0x1e02c3=_0x5163b9[_0x4c1665(0x245)](),_0x378531=_0x3a2375[_0x4c1665(0x17d)](_0x1e02c3);_0x378531&&_0x26a49f[_0x4c1665(0x2b7)]([_0x5163b9,_0x378531]);continue;}_0x3e0a3a[_0x4c1665(0x3e9)](_0x10d5c8,_0x391529[_0x4c1665(0x3a8)],_0xf01a53),_0xf01a53++;}_0x26a49f[_0x4c1665(0x1fb)](([_0xd15262,_0x5a83d4])=>{const _0xa0f40d=_0x4c1665;_0xd15262[_0xa0f40d(0x2f1)](_0x5a83d4);});const _0x35826f=new _0x1978cb[(_0x4c1665(0x28e))](_0x3a2375);_0x35826f['fromJSON'](_0x391529['fieldsConfig']),this[_0x4c1665(0x261)](_0x527ad3,_0x1fde82,_0x46038d,_0x35826f,_0x391529);const _0x26b742=_0x35826f[_0x4c1665(0x393)]();_0x4155f6[_0x4c1665(0x2b7)]({'unitId':_0x527ad3,'subUnitId':_0x1fde82,'pivotTableId':_0x46038d,'view':_0x26b742[_0x4c1665(0x117)](),'pivotConfig':_0x391529,'type':_0x5cfd72[_0x4c1665(0x38e)]});const _0x5224db=!!_0x35826f[_0x4c1665(0x36b)](),_0x5d5c8d={'view':_0x26b742,'pivotTableId':_0x46038d,'textInfo':this[_0x4c1665(0x2a1)](),'isEmpty':_0x5224db,'targetCellInfo':_0x391529[_0x4c1665(0x354)]};this[_0x4c1665(0x12a)](_0x5d5c8d,!0x1);}});});});}_0x2efbbd&&Object[_0x33e360(0x111)](_0x2efbbd)[_0x33e360(0x1fb)](_0x58f505=>{const _0x379163=_0x33e360,_0x41e550=this[_0x379163(0x351)](_0x58f505);this[_0x379163(0x138)][_0x379163(0x348)](_0x41e550[_0x379163(0x3d8)]);}),this[_0x33e360(0x107)][_0x33e360(0xfd)](_0x13964a['id'],{'batch':_0x4155f6,'collectionConfig':_0x2efbbd},{'onlyLocal':!0x0});}[_0x952e9f(0x18a)](){const _0x85d937=_0x952e9f;this[_0x85d937(0x2fa)](this[_0x85d937(0x371)][_0x85d937(0x390)]({'toJson':_0x4bd922=>JSON['stringify'](this[_0x85d937(0x117)](_0x4bd922)),'parseJson':_0x340046=>{const _0x48a6e5=_0x85d937;if(!_0x340046)return{};try{return JSON[_0x48a6e5(0x2f8)](_0x340046);}catch{return{};}},'businesses':[_0x71e749[_0x85d937(0x21f)][_0x85d937(0xfe)]],'pluginName':_0x510c58,'onLoad':(_0x510ae2,_0x508b87)=>{const _0x54badf=_0x85d937;this[_0x54badf(0x136)](_0x508b87);},'onUnLoad':_0x3ae707=>{const _0x4652e9=_0x85d937;this[_0x4652e9(0x262)](_0x3ae707);}}));}},_0x3e9a4b[_0x952e9f(0x386)]=_0x3691ac([_0x1a0722(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x297)])),_0x1a0722(0x1,_0x71e749['IUniverInstanceService']),_0x1a0722(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x288)])),_0x1a0722(0x3,_0x71e749[_0x952e9f(0x225)]),_0x1a0722(0x4,_0x71e749['ICommandService']),_0x1a0722(0x5,_0x71e749['Inject'](_0x71e749[_0x952e9f(0x29e)]))],_0x3e9a4b[_0x952e9f(0x386)]);const _0x29033d={0x0:{0x0:{'v':_0x952e9f(0x279),'s':_0x14db19}},0x2:{0x1:{'v':'','s':_0x14db19},0x2:{'v':'','s':_0x14db19},0x3:{'v':_0x952e9f(0x192),'s':_0x14db19},0x4:{'v':'','s':_0x14db19},0x5:{'v':'','s':_0x14db19}},0x3:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0x4:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0x5:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0x6:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0x7:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0x8:{0x0:{'v':_0x952e9f(0x2f4),'s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':_0x952e9f(0xed),'s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0x9:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0xa:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0xb:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0xc:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}},0xd:{0x0:{'v':'','s':_0x14db19},0x1:{'v':'','s':_0x19a4fc},0x2:{'v':'','s':_0x19a4fc},0x3:{'v':'','s':_0x19a4fc},0x4:{'v':'','s':_0x19a4fc},0x5:{'v':'','s':_0x19a4fc}}},_0x45f0f0={'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':[]},_0x59b07e=(_0x4f68f1,_0x389759)=>{const _0x265395=_0x952e9f,_0x2df0f1=new _0x71e749[(_0x265395(0x3f8))](),_0x26bcd0=new _0x71e749[(_0x265395(0x3f8))](_0x29033d),{row:_0x3f10b0,col:_0x585586}=_0x389759;_0x26bcd0[_0x265395(0x2c5)]((_0xa8fac9,_0x29e267,_0x269311)=>{const _0xddedf1=_0x265395;let _0xfe490c='';_0x269311['v']===_0xddedf1(0x279)?_0xfe490c=_0x4f68f1[_0xddedf1(0x279)]:_0x269311['v']===_0xddedf1(0x2f4)?_0xfe490c=_0x4f68f1[_0xddedf1(0x2f4)]:_0x269311['v']==='column'?_0xfe490c=_0x4f68f1['column']:_0x269311['v']===_0xddedf1(0xed)&&(_0xfe490c=_0x4f68f1[_0xddedf1(0xed)]),_0x2df0f1['setValue'](_0xa8fac9+_0x3f10b0,_0x29e267+_0x585586,{..._0x269311,'v':_0xfe490c});});const _0x52e602=_0x71e749[_0x265395(0x349)][_0x265395(0x2b1)](_0x45f0f0);return Object[_0x265395(0x111)](_0x45f0f0)[_0x265395(0x1fb)](_0xb6fa63=>{const _0x792759=_0x265395;_0x52e602[_0xb6fa63]=_0x45f0f0[_0xb6fa63]['map'](_0x51e544=>({..._0x51e544,'startRow':_0x51e544[_0x792759(0x2fd)]+_0x3f10b0,'endRow':_0x51e544[_0x792759(0x22a)]+_0x3f10b0,'startColumn':_0x51e544[_0x792759(0x3a9)]+_0x585586,'endColumn':_0x51e544[_0x792759(0x317)]+_0x585586}));}),{'matrixCache':_0x2df0f1,'rangesCache':_0x52e602};};function _0x5d9b48(_0x271b35,_0x3e2d43){const _0x394a5e=_0x952e9f;let _0x3ab969='';const _0x47967b=this[_0x394a5e(0x2a1)]();switch(_0x3e2d43){case _0x1978cb[_0x394a5e(0x33e)][_0x394a5e(0x330)]:_0x3ab969=_0x47967b[_0x394a5e(0xeb)]+_0x271b35;break;case _0x1978cb['PivotSubtotalTypeEnum'][_0x394a5e(0x165)]:_0x3ab969=_0x47967b[_0x394a5e(0x14c)]+_0x271b35;break;case _0x1978cb['PivotSubtotalTypeEnum'][_0x394a5e(0xf2)]:_0x3ab969=_0x47967b[_0x394a5e(0x224)]+_0x271b35;break;case _0x1978cb[_0x394a5e(0x33e)][_0x394a5e(0x368)]:_0x3ab969=_0x47967b['sheets-pivot.maxName']+_0x271b35;break;case _0x1978cb[_0x394a5e(0x33e)]['min']:_0x3ab969=_0x47967b[_0x394a5e(0x3c2)]+_0x271b35;break;case _0x1978cb[_0x394a5e(0x33e)][_0x394a5e(0x30c)]:_0x3ab969=_0x47967b['sheets-pivot.productName']+_0x271b35;break;case _0x1978cb[_0x394a5e(0x33e)][_0x394a5e(0x3bd)]:_0x3ab969=_0x47967b['sheets-pivot.stdDevName']+_0x271b35;break;case _0x1978cb[_0x394a5e(0x33e)][_0x394a5e(0x133)]:_0x3ab969=_0x47967b[_0x394a5e(0x235)]+_0x271b35;break;case _0x1978cb['PivotSubtotalTypeEnum'][_0x394a5e(0x242)]:_0x3ab969=_0x47967b['sheets-pivot.sumName']+_0x271b35;break;case _0x1978cb['PivotSubtotalTypeEnum'][_0x394a5e(0x3b0)]:_0x3ab969=_0x47967b[_0x394a5e(0x323)]+_0x271b35;break;case _0x1978cb['PivotSubtotalTypeEnum'][_0x394a5e(0x3d0)]:_0x3ab969=_0x47967b['sheets-pivot.varpName']+_0x271b35;break;default:_0x3ab969=_0x271b35;break;}return _0x3ab969;}function _0x45e11b(_0x28944e,_0x573324,_0x3bc0d2,_0x2281d6,_0xa31300){const _0x39b828=_0x952e9f;var _0x8d3d8,_0x4844e6,_0x2effac,_0x300a5a,_0x15c7e6;const _0x1b6207=_0x71e749[_0x39b828(0x1a0)](_0x28944e,_0x573324),{rangesInfo:_0x24c933,areaInfo:_0x43ad0d,headerMap:_0x57f70e}=_0xa31300;if(!_0x24c933||!_0x43ad0d||!_0x57f70e)return;const _0x5c4f03=Object[_0x39b828(0x111)](_0x24c933)[_0x39b828(0x2d4)](_0x53532d=>_0x24c933[_0x53532d][_0x39b828(0x131)](_0x46fc77=>_0x71e749[_0x39b828(0x28b)][_0x39b828(0x1b9)](_0x46fc77,_0x1b6207))),_0x4547b1=_0x43ad0d;let _0x11ea73,_0x580687,_0x5a8103;if(_0x5c4f03===_0x39b828(0x1b0))_0x11ea73=(_0x8d3d8=_0x4547b1==null?void 0x0:_0x4547b1[_0x39b828(0x109)])==null?void 0x0:_0x8d3d8[_0x28944e],_0x580687=(_0x4844e6=_0x57f70e==null?void 0x0:_0x57f70e['rowHeaderMap'])==null?void 0x0:_0x4844e6[_0x573324],_0x5a8103=_0x580687==null?void 0x0:_0x580687[_0x39b828(0x295)];else{if(_0x5c4f03===_0x39b828(0x2eb))_0x11ea73=(_0x2effac=_0x4547b1==null?void 0x0:_0x4547b1['colInfo'])==null?void 0x0:_0x2effac[_0x573324],_0x580687=(_0x300a5a=_0x57f70e[_0x39b828(0x12e)])==null?void 0x0:_0x300a5a[_0x28944e+0x1+_0x573324-_0x24c933[_0x39b828(0x2eb)][0x0][_0x39b828(0x3a9)]],_0x5a8103=_0x580687==null?void 0x0:_0x580687['tableFieldId'];else{if(_0x5c4f03===_0x39b828(0x2d1))_0x11ea73=(_0x15c7e6=_0x4547b1==null?void 0x0:_0x4547b1[_0x39b828(0x1e5)])==null?void 0x0:_0x15c7e6[_0x573324],_0x5a8103=_0x11ea73==null?void 0x0:_0x11ea73[_0x39b828(0x295)];else{if(_0x5c4f03===_0x39b828(0x3a7)){const _0xdc41f3=_0x3bc0d2==null?void 0x0:_0x3bc0d2['fi'];_0xdc41f3!==void 0x0&&(_0x5a8103=_0x2281d6[_0x39b828(0x385)](_0xdc41f3));}}}}return{'filterId':_0x5a8103,'info':_0x11ea73,'data':_0x3bc0d2,'headerInfo':_0x580687};}function _0x2f2bc4(_0x44c224,_0x240a3f,_0x178b3f){const _0x2263eb=_0x952e9f,_0x6ac414=_0x44c224[_0x2263eb(0x25b)],_0x3ad8da=_0x6ac414[_0x2263eb(0x31b)](),_0x2e4ac4=new Set();_0x44c224['iterateField'](_0x5d8277=>{const _0x4bc2ff=_0x2263eb;_0x2e4ac4[_0x4bc2ff(0x249)](_0x5d8277[_0x4bc2ff(0x3f2)]);});const _0x18b383=_0x3ad8da['map'](_0xa9e653=>{const _0x4e7fea=_0x2263eb,_0x40e33b=_0x6ac414[_0x4e7fea(0x17d)](_0xa9e653);return{'checked':_0x2e4ac4['has'](_0xa9e653),'dataFieldId':_0x40e33b['id'],'id':_0x40e33b['id'],'name':_0x6ac414['getDisplayName'](_0x40e33b['id']),'type':_0x40e33b[_0x4e7fea(0x222)](),'pivotTableId':_0x240a3f};}),_0x2d63db=[];_0x44c224[_0x2263eb(0x1e6)](_0x1978cb[_0x2263eb(0x3be)]['Row'],_0x4fa0fe=>{const _0x39d3ac=_0x2263eb;_0x2d63db['push']({'dataFieldId':_0x4fa0fe[_0x39d3ac(0x3f2)],'tableFieldId':_0x4fa0fe['getId'](),'displayName':_0x4fa0fe[_0x39d3ac(0x186)]()});});const _0x1105a5=[];_0x44c224['iterateFieldByArea'](_0x1978cb[_0x2263eb(0x3be)][_0x2263eb(0x3f0)],_0x5320d0=>{const _0x33d522=_0x2263eb;_0x1105a5[_0x33d522(0x2b7)]({'dataFieldId':_0x5320d0[_0x33d522(0x3f2)],'tableFieldId':_0x5320d0[_0x33d522(0x1ed)](),'displayName':_0x5320d0[_0x33d522(0x186)]()});});const _0xa63789=[];if(_0x44c224['iterateFieldByArea'](_0x1978cb[_0x2263eb(0x3be)][_0x2263eb(0x2f0)],_0x429d4c=>{const _0x2477eb=_0x2263eb;_0xa63789[_0x2477eb(0x2b7)]({'dataFieldId':_0x429d4c['dataFieldId'],'tableFieldId':_0x429d4c['getId'](),'displayName':_0x429d4c['getDisplayName'](),'format':_0x429d4c[_0x2477eb(0x29a)](),'subTotalType':_0x429d4c[_0x2477eb(0x1a3)]()});}),_0xa63789[_0x2263eb(0x278)]>0x1){const _0xe1090a=_0x44c224['getValueIndex']();(_0x44c224['isColMultiMeasure']()?_0x1105a5:_0x2d63db)['splice'](_0xe1090a,0x0,{'dataFieldId':'','tableFieldId':_0x2263eb(0x226),'displayName':'ΣValue'});}const _0x1e1df1=[];_0x44c224[_0x2263eb(0x1e6)](_0x1978cb[_0x2263eb(0x3be)][_0x2263eb(0x341)],_0x1084be=>{const _0xcd80c7=_0x2263eb;_0x1e1df1['push']({'dataFieldId':_0x1084be[_0xcd80c7(0x3f2)],'tableFieldId':_0x1084be['getId'](),'displayName':_0x1084be[_0xcd80c7(0x186)]()});});const _0x279592=_0x178b3f[_0x2263eb(0x3a8)];return{'sourceList':_0x18b383,'sourceRange':_0x279592,'rowFields':_0x2d63db,'columnFields':_0x1105a5,'valueFields':_0xa63789,'filterFields':_0x1e1df1,'positionInfo':_0x178b3f['targetCellInfo']};}function _0x15f1eb(_0x3cac73,_0x478a91,_0x430cb0='',_0x3a4350={}){const _0xdecd54=_0x952e9f,_0x5c748d=_0x3cac73[_0xdecd54(0x3dc)](_0x71e749[_0xdecd54(0x364)]);for(const _0x384baa in _0x478a91)if(Object[_0xdecd54(0x374)][_0xdecd54(0x120)][_0xdecd54(0x29f)](_0x478a91,_0x384baa)){const _0xd7378=_0x430cb0?_0x430cb0+'.'+_0x384baa:_0x384baa;typeof _0x478a91[_0x384baa]==_0xdecd54(0x3c5)&&_0x478a91[_0x384baa]!==null&&!Array[_0xdecd54(0x1a1)](_0x478a91[_0x384baa])?_0x15f1eb(_0x3cac73,_0x478a91[_0x384baa],_0xd7378,_0x3a4350):_0x3a4350[_0xd7378]=_0x5c748d['t'](_0xd7378);}return _0x3a4350;}const _0x3e9c2e=_0x28594f=>{const _0x2ff8b8=_0x952e9f;if(!_0x28594f)return[];const {rowRanges:_0x37756f,colRanges:_0xd3e39b,cornerRanges:_0x5c9e5a,dataRanges:_0x1fa373,pageRanges:_0x4e0a8d}=_0x28594f,_0x539464=[..._0xd3e39b,..._0x37756f,..._0x1fa373,..._0x5c9e5a][_0x2ff8b8(0x279)](_0x2e663e=>_0x2e663e[_0x2ff8b8(0x2fd)]>=0x0&&_0x2e663e[_0x2ff8b8(0x3a9)]>=0x0&&_0x2e663e[_0x2ff8b8(0x22a)]>=0x0&&_0x2e663e[_0x2ff8b8(0x317)]>=0x0);let _0x5cb1ea=Number[_0x2ff8b8(0x2ce)],_0x478de5=Number[_0x2ff8b8(0x36c)],_0x53ebe1=Number['MAX_SAFE_INTEGER'],_0x454cf4=Number[_0x2ff8b8(0x36c)];for(let _0x5a07f2=0x0;_0x5a07f2<_0x539464[_0x2ff8b8(0x278)];_0x5a07f2++)_0x5cb1ea=Math[_0x2ff8b8(0x34c)](_0x5cb1ea,_0x539464[_0x5a07f2]['startRow']),_0x478de5=Math[_0x2ff8b8(0x368)](_0x478de5,_0x539464[_0x5a07f2]['endRow']),_0x53ebe1=Math['min'](_0x53ebe1,_0x539464[_0x5a07f2][_0x2ff8b8(0x3a9)]),_0x454cf4=Math[_0x2ff8b8(0x368)](_0x454cf4,_0x539464[_0x5a07f2]['endColumn']);return[..._0x4e0a8d,{'startRow':_0x5cb1ea,'endRow':_0x478de5,'startColumn':_0x53ebe1,'endColumn':_0x454cf4}];};function _0x2edfac(_0xb57a77,_0x30577f){const _0x297980=_0x952e9f,_0x18edc7=_0x30577f['params'][_0x297980(0x16f)],{pivotTableId:_0x19612b,unitId:_0x1850cc,subUnitId:_0x1502ce}=_0x30577f;if(!_0x18edc7)return;const _0xde788d=_0xb57a77['get'](_0x3e9a4b[_0x297980(0x386)]),_0x3f9cbc=_0xde788d[_0x297980(0x123)](_0x19612b),_0x31439e=_0xde788d[_0x297980(0x405)](_0x1850cc,_0x1502ce,_0x19612b);if(!_0x3f9cbc||!_0x31439e)return;const _0x184ef9=_0x3f9cbc['getIndexesByPathStr'](_0x18edc7[_0x297980(0x2df)]);if(!(_0x184ef9!=null&&_0x184ef9[_0x297980(0x278)]))return;const _0x26df1f=_0x31439e[_0x297980(0x3a8)],{unitId:_0x3d67c3,subUnitId:_0x3db0bc,range:_0x3075ba}=_0x26df1f;let _0x50e634=0x0;const _0x26290e=_0x3f9cbc['dataFieldsCollection'][_0x297980(0x31b)]()['reduce']((_0x794efc,_0x469c11)=>{const _0x501440=_0x297980;var _0x144512;const _0x435a17=(_0x144512=_0x3f9cbc[_0x501440(0x36a)](_0x469c11))==null?void 0x0:_0x144512[_0x501440(0x27c)]();return _0x435a17&&(_0x794efc[String(_0x50e634)]=_0x435a17),_0x50e634++,_0x794efc;},{});return{'indexes':_0x184ef9,'range':_0x3075ba,'sourceUnitId':_0x3d67c3,'sourceSubUnitId':_0x3db0bc,'formatMap':_0x26290e};}function _0x4f39c8(_0x41b586,_0x362b88){const _0x402bbf=_0x952e9f;if(!_0x41b586||!_0x362b88)return!0x0;const _0x1e0234=_0x53e420[_0x402bbf(0xdf)](_0x3dfaa6,_0x3a0815),_0x2b6a31=new Function(_0x402bbf(0x156)+_0x1e0234)()(_0x41b586,_0x362b88)[_0x402bbf(0x1b3)],_0x21c073=_0x53e420[_0x402bbf(0x2bf)](_0x2b6a31,'sf',_0x1354fd);return!((_0x2b6a31==null?void 0x0:_0x2b6a31['rt'])===_0x53e420[_0x402bbf(0x1f2)][_0x402bbf(0x361)]&&!_0x21c073);}function _0xfe1c71(_0x193f8b,_0xdcb5e5,_0x403061){const _0x13ba58=_0x952e9f,_0x21607c={'count':_0x193f8b,'timeValid':!0x1};if(!_0xdcb5e5||!_0x403061)return _0x21607c;const _0x2109b1=_0x53e420['unshiftString'](_0x3dfaa6,_0x3a0815),_0x5d765f=new Function(_0x13ba58(0x156)+_0x2109b1)()(_0xdcb5e5,_0x403061);if(_0x5d765f!=null&&_0x5d765f['valid']){const _0x42043c=_0x5d765f['message'],_0x5bc8b9=_0x53e420[_0x13ba58(0x2bf)](_0x42043c,'sf',_0x1354fd);return{'count':_0x53e420[_0x13ba58(0x3c8)](_0x42043c,_0x5bc8b9,'ptn',_0x193f8b,_0x193f8b,0x0),'timeValid':_0x5bc8b9};}return _0x21607c;}function _0x1ebc46(_0x3034b5,_0x450c14,_0x13d364,_0x1fc3a5){const _0x375c52=_0x952e9f,_0x3d5507={'subUnitId':_0x13d364,'unitId':_0x450c14,'cellValue':_0x2a18e2[_0x375c52(0x27f)](_0x1fc3a5)},_0x21902a=_0x2a18e2[_0x375c52(0x1b6)](_0x3034b5,_0x3d5507);let _0x4e17d=!0x1;return new _0x71e749['ObjectMatrix'](_0x21902a[_0x375c52(0x153)])['forValue']((_0x231960,_0x1bed83,_0x8c42e1)=>{const _0x19d52e=_0x375c52;if(!_0x4e17d&&_0x8c42e1&&(_0x8c42e1[_0x19d52e(0x1a6)]||_0x8c42e1['f']||_0x8c42e1['p']||_0x8c42e1['s']||_0x8c42e1['si']||_0x8c42e1['t']||_0x8c42e1['v']))return _0x4e17d=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2a18e2[_0x375c52(0x13b)]['id'],'params':_0x21902a},'setRangeValueRedoMutation':{'id':_0x2a18e2[_0x375c52(0x13b)]['id'],'params':_0x3d5507},'shouldClear':_0x4e17d};}function _0x1d490c(_0x1f454e){const {row:_0x34df02,col:_0x23d3ba}=_0x1f454e,_0x3c0925={'startRow':_0x34df02,'endRow':_0x34df02,'startColumn':_0x23d3ba,'endColumn':_0x23d3ba},_0x10eb31={'startRow':_0x34df02+0x2,'endRow':_0x34df02+0xe,'startColumn':_0x23d3ba,'endColumn':_0x23d3ba+0x6};return[_0x3c0925,_0x10eb31];}function _0x275e08(_0x691dd,_0x4481ab,_0x1ddcbd){const _0x311de9=_0x952e9f,{cornerView:_0x1167f0,rowView:_0x4aa53a,colView:_0x3acb8d,pageView:_0x53bd9a}=_0x691dd,{row:_0x4328f5,col:_0x47880e}=_0x4481ab;if(_0x1ddcbd)return{'rowCount':_0x51cb5e+_0x4328f5,'colCount':_0x267e4c+_0x47880e};const _0x50e7cd=_0x53bd9a[_0x311de9(0x337)]>-0x1?_0x53bd9a['lastRow']+0x1:0x0,_0x461b8d=_0x53bd9a['lastCol']>-0x1?_0x53bd9a[_0x311de9(0x293)]:0x0,_0x2bdd02=_0x4328f5+_0x50e7cd+(_0x50e7cd?0x1:0x0)+_0x1167f0[_0x311de9(0x35d)]+_0x4aa53a[_0x311de9(0x35d)],_0x481576=_0x47880e+_0x461b8d,_0x22136e=_0x47880e+_0x1167f0[_0x311de9(0x379)]+_0x3acb8d[_0x311de9(0x379)],_0x39e16b=Math[_0x311de9(0x368)](_0x481576,_0x22136e);return{'rowCount':_0x2bdd02,'colCount':_0x39e16b};}function _0xed8bbb(_0x2685ac,_0x5b9ca7,_0x598890,_0x10bfeb){const _0x3e01fc=_0x952e9f,{row:_0x575618,col:_0x7644fd,unitId:_0x4d255a,subUnitId:_0x3e234a}=_0x598890,_0x594983=_0x275e08(_0x5b9ca7,{'row':_0x575618,'col':_0x7644fd},_0x10bfeb),_0x1b82c0=_0x2685ac['get'](_0x71e749[_0x3e01fc(0x168)]),_0x497200=_0x2a18e2[_0x3e01fc(0x1cf)](_0x1b82c0,{'unitId':_0x4d255a,'subUnitId':_0x3e234a}),_0x2d07e3=[],_0x41caca=[];if(!_0x497200)return{'undos':_0x41caca,'redos':_0x2d07e3};const {worksheet:_0x5731b6}=_0x497200,_0x5a42dc=_0x5731b6[_0x3e01fc(0x1bd)](),_0x38fd6b=_0x5731b6[_0x3e01fc(0x202)]();return _0x5a42dc<_0x594983[_0x3e01fc(0x35d)]&&(_0x2d07e3[_0x3e01fc(0x2b7)]({'id':_0x2a18e2[_0x3e01fc(0x2da)]['id'],'params':{'unitId':_0x4d255a,'subUnitId':_0x3e234a,'range':{'startRow':_0x5a42dc,'endRow':_0x594983[_0x3e01fc(0x35d)]-0x1,'startColumn':0x0,'endColumn':_0x38fd6b-0x1}}}),_0x41caca[_0x3e01fc(0x2b7)]({'id':_0x2a18e2['RemoveRowMutation']['id'],'params':{'unitId':_0x4d255a,'subUnitId':_0x3e234a,'range':{'startRow':_0x5a42dc,'endRow':_0x594983[_0x3e01fc(0x35d)]-0x1,'startColumn':0x0,'endColumn':_0x38fd6b-0x1}}})),_0x38fd6b<_0x594983[_0x3e01fc(0x379)]&&(_0x2d07e3[_0x3e01fc(0x2b7)]({'id':_0x2a18e2['InsertColMutation']['id'],'params':{'unitId':_0x4d255a,'subUnitId':_0x3e234a,'range':{'startRow':0x0,'endRow':_0x5a42dc-0x1,'startColumn':_0x38fd6b,'endColumn':_0x594983[_0x3e01fc(0x379)]-0x1}}}),_0x41caca[_0x3e01fc(0x2b7)]({'id':_0x2a18e2[_0x3e01fc(0x344)]['id'],'params':{'unitId':_0x4d255a,'subUnitId':_0x3e234a,'range':{'startRow':0x0,'endRow':_0x5a42dc-0x1,'startColumn':_0x38fd6b,'endColumn':_0x594983[_0x3e01fc(0x379)]-0x1}}})),{'undos':_0x41caca,'redos':_0x2d07e3};}function _0x3fc903(_0x38b3fb){const _0x1b0be3=_0x952e9f;let _0x33580c=0x0;for(let _0x36a474=0x0;_0x36a474<_0x38b3fb[_0x1b0be3(0x278)];_0x36a474++){const _0x492a86=_0x38b3fb['charCodeAt'](_0x36a474);_0x492a86>=0x4e00&&_0x492a86<=0x9fff||_0x492a86>=0x3000&&_0x492a86<=0x303f||_0x492a86>=0xff00&&_0x492a86<=0xffef?_0x33580c+=0x2:_0x33580c+=0x1;}return _0x33580c;}function _0x357a7b(_0x18977b,_0x3616b1,_0x443e01,_0x4de055){const _0x22dabc=_0x952e9f;var _0x32d377,_0x4ca51d,_0x487c80,_0x1d9dda;const {rowCount:_0xa40394,colCount:_0x155900,headerMap:_0x13b495}=_0x18977b,_0x1899e1=0x64,_0x32fc0b=Math[_0x22dabc(0x34c)](_0xa40394,_0x1899e1),_0x22e563=Math[_0x22dabc(0x34c)](_0x155900,_0x1899e1);let _0x269e2b='',_0x1a03a5=0x0;for(let _0x2ae19c=0x0;_0x2ae19c<_0x32fc0b;_0x2ae19c++)for(let _0x55d0ea=0x0;_0x55d0ea<_0x22e563;_0x55d0ea++){const _0x37d037={...(_0x4ca51d=(_0x32d377=_0x18977b[_0x22dabc(0x2ac)])==null?void 0x0:_0x32d377[_0x2ae19c])==null?void 0x0:_0x4ca51d[_0x55d0ea]},_0x67ebeb=(_0x487c80=_0x13b495[_0x2ae19c])==null?void 0x0:_0x487c80[_0x22dabc(0x295)],_0x15f6b2=_0x4de055[_0x67ebeb];let _0x37ac43=_0x18977b[_0x22dabc(0x3ea)](_0x2ae19c,_0x55d0ea);if(_0x37d037){const _0x47df36=_0x443e01?_0x55d0ea===0x0&&((_0x1d9dda=_0x18977b['getHeaderMapItem'](_0x55d0ea+0x1))==null?void 0x0:_0x1d9dda[_0x22dabc(0x255)]):!0x1;_0x37ac43=_0x2d2a3c(_0x37d037,_0x47df36,_0x15f6b2,_0x3616b1);}if(_0x37ac43!==void 0x0){const _0x576394=_0x3fc903(String(_0x37ac43));_0x1a03a5<_0x576394&&(_0x269e2b=String(_0x37ac43),_0x1a03a5=_0x576394);}}return _0x269e2b;}function _0x2a7639(_0x277476){const _0x21ecf1=_0x952e9f,{rowCount:_0x52e494,colCount:_0x33c102}=_0x277476;let _0x8f90e3='',_0x4a1153=0x0;for(let _0x16bce2=_0x52e494-0x1;_0x16bce2>0x0&&_0x16bce2>_0x52e494-0x3;_0x16bce2--)for(let _0x310672=0x0;_0x310672<_0x33c102;_0x310672++){const _0x416f3c=_0x277476[_0x21ecf1(0x3ea)](_0x16bce2,_0x310672);if(_0x416f3c!==void 0x0){const _0x1b6371=String(_0x416f3c)[_0x21ecf1(0x278)];_0x4a1153<_0x1b6371&&(_0x8f90e3=String(_0x416f3c),_0x4a1153=_0x1b6371);}}return _0x8f90e3;}function _0x2d2182(_0x1de980){const _0x2860bd=_0x952e9f,{rowCount:_0x144cf4,colCount:_0x453754}=_0x1de980;let _0x330593='',_0x188876=0x0;for(let _0x11404c=0x0;_0x11404c<_0x144cf4;_0x11404c++)for(let _0x2ef62d=0x0;_0x2ef62d<_0x453754;_0x2ef62d++){const _0x2dd0bc=_0x1de980[_0x2860bd(0x3ea)](_0x11404c,_0x2ef62d);if(_0x2dd0bc!==void 0x0){const _0x42fb2d=String(_0x2dd0bc)[_0x2860bd(0x278)];_0x188876<_0x42fb2d&&(_0x330593=String(_0x2dd0bc),_0x188876=_0x42fb2d);}}return _0x330593;}function _0x8cee7d(_0x4998ce,_0x34b134){const _0x5e5bb7=_0x952e9f,{rowFields:_0x2075ef,columnFields:_0x40286f,valueFields:_0x550601,filterFields:_0x4c6f0f,dimension:_0x17d06d,measure:_0x6e41f4}=_0x34b134;for(const _0x3df55a of _0x2075ef){const _0x4905d3=_0x17d06d[_0x3df55a];_0x4905d3&&_0x4998ce[_0x5e5bb7(0x36a)](_0x4905d3[_0x5e5bb7(0x3f2)])&&(_0x4998ce['addFieldWithSourceId'](_0x4905d3[_0x5e5bb7(0x3f2)],_0x1978cb['PivotTableFiledAreaEnum'][_0x5e5bb7(0x3b9)],void 0x0,_0x3df55a),_0x4905d3['displayName']&&_0x4998ce[_0x5e5bb7(0x326)](_0x4905d3['id'],_0x4905d3['displayName']),_0x4905d3[_0x5e5bb7(0x106)]&&_0x4998ce[_0x5e5bb7(0x1ea)](_0x4905d3['id'],_0x4905d3[_0x5e5bb7(0x106)]),_0x4905d3['filterInfo']&&_0x4998ce[_0x5e5bb7(0x1e4)](_0x4905d3['id'],_0x4905d3[_0x5e5bb7(0x1d3)]));}for(const _0x19b7f3 of _0x40286f){const _0x5c4c98=_0x17d06d[_0x19b7f3];_0x5c4c98&&_0x4998ce['getDataFieldByDataFieldId'](_0x5c4c98['dataFieldId'])&&(_0x4998ce[_0x5e5bb7(0x10d)](_0x5c4c98[_0x5e5bb7(0x3f2)],_0x1978cb['PivotTableFiledAreaEnum']['Column'],void 0x0,_0x19b7f3),_0x5c4c98[_0x5e5bb7(0x106)]&&_0x4998ce[_0x5e5bb7(0x1ea)](_0x5c4c98['id'],_0x5c4c98[_0x5e5bb7(0x106)]),_0x5c4c98[_0x5e5bb7(0x1d3)]&&_0x4998ce['setLabelFilterInfo'](_0x5c4c98['id'],_0x5c4c98['filterInfo']),_0x5c4c98[_0x5e5bb7(0x3df)]&&_0x4998ce[_0x5e5bb7(0x326)](_0x5c4c98['id'],_0x5c4c98[_0x5e5bb7(0x3df)]));}for(const _0x12ef69 of _0x4c6f0f){const _0x12b63f=_0x17d06d[_0x12ef69];_0x12b63f&&_0x4998ce['getDataFieldByDataFieldId'](_0x12b63f[_0x5e5bb7(0x3f2)])&&(_0x4998ce['addFieldWithSourceId'](_0x12b63f['dataFieldId'],_0x1978cb[_0x5e5bb7(0x3be)][_0x5e5bb7(0x341)],void 0x0,_0x12ef69),_0x12b63f['sortInfo']&&_0x4998ce[_0x5e5bb7(0x1ea)](_0x12b63f['id'],_0x12b63f[_0x5e5bb7(0x106)]),_0x12b63f[_0x5e5bb7(0x1d3)]&&_0x4998ce['setLabelFilterInfo'](_0x12b63f['id'],_0x12b63f[_0x5e5bb7(0x1d3)]),_0x12b63f['displayName']&&_0x4998ce[_0x5e5bb7(0x326)](_0x12b63f['id'],_0x12b63f[_0x5e5bb7(0x3df)]));}for(const _0x24a1dd of _0x550601){const _0x7ea79d=_0x6e41f4[_0x24a1dd];_0x7ea79d&&_0x4998ce['getDataFieldByDataFieldId'](_0x7ea79d[_0x5e5bb7(0x3f2)])&&(_0x4998ce['addFieldWithSourceId'](_0x7ea79d[_0x5e5bb7(0x3f2)],_0x1978cb[_0x5e5bb7(0x3be)][_0x5e5bb7(0x2f0)],void 0x0,_0x24a1dd),_0x7ea79d[_0x5e5bb7(0x3bf)]!==void 0x0&&_0x4998ce[_0x5e5bb7(0x19c)](_0x24a1dd,_0x7ea79d['subtotal']),_0x7ea79d[_0x5e5bb7(0x21e)]&&_0x4998ce[_0x5e5bb7(0x2d0)](_0x24a1dd,_0x7ea79d[_0x5e5bb7(0x21e)]),_0x7ea79d['displayName']&&_0x4998ce[_0x5e5bb7(0x326)](_0x7ea79d['id'],_0x7ea79d[_0x5e5bb7(0x3df)]));}const _0x53f38e=_0x34b134['valueFilter'];for(const {fieldId:_0x45ea74,filterInfo:_0x297d87}of _0x53f38e)_0x4998ce[_0x5e5bb7(0x124)](_0x45ea74,_0x297d87);}function _0x11d3b9(_0x323219,_0x41691c){const _0x207393=_0x952e9f,_0x4a25e5=[];_0x41691c===_0x1978cb[_0x207393(0x3be)]['Row']&&_0x323219[_0x207393(0x1e6)](_0x1978cb[_0x207393(0x3be)][_0x207393(0x3b9)],_0x468f24=>{const _0x214c34=_0x207393;_0x4a25e5['push'](_0x468f24[_0x214c34(0x1ed)]());}),_0x41691c===_0x1978cb['PivotTableFiledAreaEnum'][_0x207393(0x3f0)]&&_0x323219[_0x207393(0x1e6)](_0x1978cb[_0x207393(0x3be)][_0x207393(0x3f0)],_0x407826=>{const _0x356309=_0x207393;_0x4a25e5[_0x356309(0x2b7)](_0x407826[_0x356309(0x1ed)]());}),_0x41691c===_0x1978cb[_0x207393(0x3be)]['Filter']&&_0x323219['iterateFieldByArea'](_0x1978cb['PivotTableFiledAreaEnum'][_0x207393(0x341)],_0x39751b=>{const _0x2b7457=_0x207393;_0x4a25e5[_0x2b7457(0x2b7)](_0x39751b[_0x2b7457(0x1ed)]());}),_0x41691c===_0x1978cb[_0x207393(0x3be)][_0x207393(0x2f0)]&&_0x323219['iterateFieldByArea'](_0x1978cb[_0x207393(0x3be)][_0x207393(0x2f0)],_0x5c4b53=>{const _0x1d4b25=_0x207393;_0x4a25e5['push'](_0x5c4b53[_0x1d4b25(0x1ed)]());}),_0x41691c===void 0x0&&_0x323219['iterateField'](_0x434931=>{const _0x201c0d=_0x207393;_0x4a25e5['push'](_0x434931[_0x201c0d(0x1ed)]());});const _0x8a46c3=_0x4a25e5[_0x207393(0x278)];for(let _0x180339=_0x8a46c3-0x1;_0x180339>=0x0;_0x180339--)_0x323219[_0x207393(0xe8)](_0x4a25e5[_0x180339]);const _0x216ef8=_0x323219[_0x207393(0x312)]();for(const _0x3f3c1b in _0x216ef8)_0x323219[_0x207393(0xf5)](_0x3f3c1b);}function _0x1773cf(_0x8b8d23,_0x2baed9){const _0x56d765=_0x952e9f,_0x397ac6=new Date(_0x1978cb[_0x56d765(0x2a5)](_0x2baed9)),_0x56e23c=new Date(_0x1978cb[_0x56d765(0x2a5)](_0x8b8d23)),_0x47ae2a=_0x397ac6[_0x56d765(0x219)](),_0x3b1e15=_0x56e23c[_0x56d765(0x219)](),_0x3498b2=_0x397ac6['getMonth'](),_0x59199d=_0x56e23c['getMonth'](),_0xa640ec=_0x397ac6[_0x56d765(0x2a2)](),_0x435d4d=_0x56e23c['getDate'](),_0x2dd9d3=_0x47ae2a===_0x3b1e15,_0xbd664e=_0x2dd9d3&&_0x3498b2===_0x59199d;return _0x2dd9d3&&_0xbd664e&&!(_0xbd664e&&_0xa640ec===_0x435d4d)?_0x1978cb[_0x56d765(0x243)][_0x56d765(0x198)]:_0x2dd9d3&&!_0xbd664e?_0x1978cb['PivotDateGroupFieldDateTypeEnum'][_0x56d765(0x21c)]:_0x1978cb[_0x56d765(0x243)][_0x56d765(0x2be)];}function _0x16e833(_0x12c0e6,_0x1ea08b){const _0x31eb35=_0x952e9f,_0x42620e=_0x12c0e6[_0x31eb35(0x3dc)](_0x3e9a4b[_0x31eb35(0x386)])[_0x31eb35(0x2a1)]();let _0x24530e='';switch(_0x1ea08b){case _0x1978cb[_0x31eb35(0x243)][_0x31eb35(0x198)]:_0x24530e=_0x42620e[_0x31eb35(0x31e)];break;case _0x1978cb[_0x31eb35(0x243)][_0x31eb35(0x21c)]:_0x24530e=_0x42620e['sheets-pivot.dateGroup.yearMonth'];break;case _0x1978cb[_0x31eb35(0x243)]['Year']:_0x24530e=_0x42620e['sheets-pivot.dateGroup.year'];break;case _0x1978cb[_0x31eb35(0x243)][_0x31eb35(0x29b)]:_0x24530e=_0x42620e['sheets-pivot.dateGroup.month'];break;case _0x1978cb[_0x31eb35(0x243)][_0x31eb35(0x253)]:_0x24530e=_0x42620e[_0x31eb35(0x25c)];break;case _0x1978cb[_0x31eb35(0x243)][_0x31eb35(0x2d7)]:_0x24530e=_0x42620e[_0x31eb35(0x10a)];break;case _0x1978cb[_0x31eb35(0x243)][_0x31eb35(0x332)]:_0x24530e=_0x42620e[_0x31eb35(0x273)];break;case _0x1978cb[_0x31eb35(0x243)]['Hour']:_0x24530e=_0x42620e[_0x31eb35(0x1bc)];break;case _0x1978cb[_0x31eb35(0x243)][_0x31eb35(0x176)]:_0x24530e=_0x42620e['sheets-pivot.dateGroup.minute'];break;case _0x1978cb['PivotDateGroupFieldDateTypeEnum'][_0x31eb35(0xe4)]:_0x24530e=_0x42620e['sheets-pivot.dateGroup.monthDate'];break;case _0x1978cb['PivotDateGroupFieldDateTypeEnum'][_0x31eb35(0x375)]:_0x24530e=_0x42620e[_0x31eb35(0x105)];break;default:_0x24530e='';break;}return _0x24530e;}const _0x1695fa='sheets-pivot.config',_0x2de722={};var _0x2b15bb=Object[_0x952e9f(0x169)],_0x218674=(_0xbb5bd2,_0x2fa598,_0xe8d21,_0x520fe0)=>{const _0x2845c6=_0x952e9f;for(var _0x3402e2=_0x520fe0>0x1?void 0x0:_0x520fe0?_0x2b15bb(_0x2fa598,_0xe8d21):_0x2fa598,_0x5d0de6=_0xbb5bd2[_0x2845c6(0x278)]-0x1,_0x48aa2a;_0x5d0de6>=0x0;_0x5d0de6--)(_0x48aa2a=_0xbb5bd2[_0x5d0de6])&&(_0x3402e2=_0x48aa2a(_0x3402e2)||_0x3402e2);return _0x3402e2;},_0x1bee58=(_0x1a15bd,_0x1846fe)=>(_0x5491a1,_0x37dab5)=>_0x1846fe(_0x5491a1,_0x37dab5,_0x1a15bd);_0x3e9a4b[_0x952e9f(0x299)]=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x8e1895,_0x2b12cf,_0x279952,_0x2e305f,_0x2848b5){const _0x4e34d7=_0x952e9f;super(),_0x59bac0(this,_0x4e34d7(0xe2),new Map()),_0x59bac0(this,_0x4e34d7(0x3c0),new Map()),_0x59bac0(this,_0x4e34d7(0x13d),new Map()),_0x59bac0(this,_0x4e34d7(0x37d),new Map()),_0x59bac0(this,_0x4e34d7(0x387),new _0x11b8a8[(_0x4e34d7(0x384))]()),_0x59bac0(this,'_pivotInitCompleted$',new _0x11b8a8['Subject']()),_0x59bac0(this,_0x4e34d7(0x140),this[_0x4e34d7(0x150)][_0x4e34d7(0x2c1)]()),_0x59bac0(this,_0x4e34d7(0x35f),new _0x11b8a8['Subject']()),_0x59bac0(this,_0x4e34d7(0x2f6),this['_pivotConfigChange$'][_0x4e34d7(0x2c1)]()),_0x59bac0(this,_0x4e34d7(0x1e0),{}),_0x59bac0(this,_0x4e34d7(0x2c9),this['_configVersion$']['asObservable']()),(this[_0x4e34d7(0x170)]=_0x8e1895,this[_0x4e34d7(0x107)]=_0x2b12cf,this[_0x4e34d7(0x2ba)]=_0x279952,this[_0x4e34d7(0x371)]=_0x2e305f,this['_configService']=_0x2848b5,this['_initLocale'](),this[_0x4e34d7(0x21b)]());const _0x181079=this[_0x4e34d7(0x399)][_0x4e34d7(0x2dd)](_0x1695fa);(_0x181079==null?void 0x0:_0x181079[_0x4e34d7(0x2e0)])===!0x0&&this[_0x4e34d7(0x18a)]();}[_0x952e9f(0x21b)](){const _0x5b0424=_0x952e9f;this[_0x5b0424(0x2fa)](this[_0x5b0424(0x2ba)][_0x5b0424(0xe9)](_0x71e749[_0x5b0424(0x21f)]['UNIVER_SHEET'])['subscribe'](_0x1cca12=>{const _0x57d51f=_0x5b0424;this[_0x57d51f(0x262)](_0x1cca12[_0x57d51f(0x1bb)]());}));}[_0x952e9f(0x3ba)](){const _0x40e612=_0x952e9f;this[_0x40e612(0x150)][_0x40e612(0x348)](!0x0);}[_0x952e9f(0x369)](){const _0x1cd548=_0x952e9f,_0x470803=_0x15f1eb(this['_injector'],_0x478a78,'',{});this[_0x1cd548(0x1e0)]=_0x470803,this['_commandService']['executeCommand'](_0x4e58e8['id'],{'textInfo':_0x470803},{'onlyLocal':!0x0});}[_0x952e9f(0x2a1)](){const _0x241d91=_0x952e9f;return this[_0x241d91(0x1e0)];}[_0x952e9f(0xf8)](_0x780f0d,_0x34039c,_0x557af3,_0x50bfe0,_0x24df1e){const _0x276355=_0x952e9f;this[_0x276355(0x2cd)](_0x780f0d,_0x34039c,_0x557af3,_0x50bfe0),this[_0x276355(0x22d)](_0x780f0d,_0x34039c,_0x557af3,_0x24df1e);}[_0x952e9f(0x405)](_0x84b15d,_0xbaf610,_0x1d8056){const _0x49f3ca=_0x952e9f;var _0x3debbb;const _0x371b78=(_0x3debbb=this[_0x49f3ca(0xe2)]['get'](_0x84b15d))==null?void 0x0:_0x3debbb['get'](_0xbaf610);if(_0x371b78)return _0x371b78[_0x49f3ca(0x3dc)](_0x1d8056);}[_0x952e9f(0xee)](_0x355a0b,_0xa8c396){const _0x3245f9=_0x952e9f,_0x57b412=this['_model'][_0x3245f9(0x3dc)](_0x355a0b);if(_0x57b412){for(const [_0x20e949,_0x4531c0]of _0x57b412['entries']())for(const [_0xa588ac,_0x42752f]of _0x4531c0[_0x3245f9(0x3c9)]())if(_0xa588ac===_0xa8c396)return _0x42752f[_0x3245f9(0x354)];}}[_0x952e9f(0x1cd)](_0x1395ae,_0xbd9eb2,_0x135b82){const _0x31e17f=_0x952e9f,_0x576f9b=this[_0x31e17f(0x405)](_0x1395ae,_0xbd9eb2,_0x135b82);return _0x576f9b==null?void 0x0:_0x576f9b[_0x31e17f(0x354)];}[_0x952e9f(0x329)](_0x54e9ef,_0x356fed){const _0x1e8b96=_0x952e9f;var _0x27a37d;return(_0x27a37d=this[_0x1e8b96(0xe2)]['get'](_0x54e9ef))==null?void 0x0:_0x27a37d['get'](_0x356fed);}[_0x952e9f(0x217)](_0x4307b4,_0x1f43f6,_0x29562a,_0x4a159c){const _0x3797b1=_0x952e9f,_0x3f385a=this[_0x3797b1(0x372)](_0x4307b4,_0x1f43f6);_0x4a159c?_0x3f385a[_0x3797b1(0x23d)](_0x29562a,_0x4a159c):_0x3f385a[_0x3797b1(0x366)](_0x29562a),this[_0x3797b1(0x35f)][_0x3797b1(0x348)]({'unitId':_0x4307b4,'subUnitId':_0x1f43f6,'pivotTableId':_0x29562a,'pivotTableConfig':_0x4a159c});}[_0x952e9f(0x3b3)](_0x2e009b,_0x56a5a0){const _0x183972=_0x952e9f;var _0x475cc5;return(_0x475cc5=this['_collectionConfigModel'][_0x183972(0x3dc)](_0x2e009b))==null?void 0x0:_0x475cc5[_0x183972(0x3d8)][_0x56a5a0];}[_0x952e9f(0x11b)](_0x4fc30d,_0x590ab4){const _0x3d0819=_0x952e9f;this[_0x3d0819(0x3c0)][_0x3d0819(0x23d)](_0x4fc30d,_0x590ab4),this['_configVersion$'][_0x3d0819(0x348)](Math[_0x3d0819(0x270)]());}[_0x952e9f(0x372)](_0x489d25,_0x1e2157){const _0x521c90=_0x952e9f;let _0x533347=this[_0x521c90(0xe2)][_0x521c90(0x3dc)](_0x489d25);_0x533347||(_0x533347=new Map(),this[_0x521c90(0xe2)][_0x521c90(0x23d)](_0x489d25,_0x533347));let _0x5806bc=_0x533347['get'](_0x1e2157);return _0x5806bc||(_0x5806bc=new Map(),_0x533347[_0x521c90(0x23d)](_0x1e2157,_0x5806bc)),_0x5806bc;}['_ensurePivotTableRangeInfo'](_0x4f9e72,_0x23b5a5){const _0x139b73=_0x952e9f;let _0x5af55a=this['_pivotTableRangeInfo'][_0x139b73(0x3dc)](_0x4f9e72);_0x5af55a||(_0x5af55a=new Map(),this[_0x139b73(0x13d)][_0x139b73(0x23d)](_0x4f9e72,_0x5af55a));let _0x8e70f1=_0x5af55a[_0x139b73(0x3dc)](_0x23b5a5);return _0x8e70f1||(_0x8e70f1=new Map(),_0x5af55a[_0x139b73(0x23d)](_0x23b5a5,_0x8e70f1)),_0x8e70f1;}[_0x952e9f(0x24a)](_0x2c73f8,_0x191220){const _0x16d4b1=_0x952e9f;let _0x5f51c2=this[_0x16d4b1(0x37d)]['get'](_0x2c73f8);_0x5f51c2||(_0x5f51c2=new Map(),this['_pivotTableMatrixInfo'][_0x16d4b1(0x23d)](_0x2c73f8,_0x5f51c2));let _0x49b93b=_0x5f51c2['get'](_0x191220);return _0x49b93b||(_0x49b93b=new Map(),_0x5f51c2['set'](_0x191220,_0x49b93b)),_0x49b93b;}[_0x952e9f(0x22d)](_0x8c6012,_0x430299,_0x147692,_0x28ee76){const _0x11ce99=_0x952e9f;var _0x166226;const _0x78aede=this[_0x11ce99(0x264)](_0x8c6012,_0x430299),_0x169c3d=(_0x166226=_0x78aede[_0x11ce99(0x3dc)](_0x147692))==null?void 0x0:_0x166226[_0x11ce99(0x17b)];_0x78aede[_0x11ce99(0x23d)](_0x147692,{'oldRangeInfo':_0x169c3d,'rangeInfo':_0x28ee76});}[_0x952e9f(0x2cd)](_0x2dbe51,_0x4f899e,_0x118911,_0x504b2a){const _0x3fd7ef=_0x952e9f;var _0x40178c;const _0x4466b6=this['_ensurePivotTableMatrixInfo'](_0x2dbe51,_0x4f899e),_0x17f09e=(_0x40178c=_0x4466b6[_0x3fd7ef(0x3dc)](_0x118911))==null?void 0x0:_0x40178c[_0x3fd7ef(0x237)];_0x4466b6[_0x3fd7ef(0x23d)](_0x118911,{'oldMatrix':_0x17f09e,'matrix':_0x504b2a});}[_0x952e9f(0x360)](_0x14f499,_0x4be702,_0x34b9ba){const _0x1ffa58=_0x952e9f;var _0x17a291,_0x8d0225;return(_0x8d0225=(_0x17a291=this[_0x1ffa58(0x13d)][_0x1ffa58(0x3dc)](_0x14f499))==null?void 0x0:_0x17a291[_0x1ffa58(0x3dc)](_0x4be702))==null?void 0x0:_0x8d0225[_0x1ffa58(0x3dc)](_0x34b9ba);}[_0x952e9f(0x269)](_0x384478,_0x1fa5ea,_0x5c5bfc){const _0x4e926f=_0x952e9f;var _0x248959,_0x12d364;return(_0x12d364=(_0x248959=this[_0x4e926f(0x37d)][_0x4e926f(0x3dc)](_0x384478))==null?void 0x0:_0x248959[_0x4e926f(0x3dc)](_0x1fa5ea))==null?void 0x0:_0x12d364['get'](_0x5c5bfc);}[_0x952e9f(0x262)](_0x30b284){const _0x3def48=_0x952e9f;this[_0x3def48(0xe2)][_0x3def48(0x366)](_0x30b284),this[_0x3def48(0x3c0)]['delete'](_0x30b284);}[_0x952e9f(0x20f)](_0x3825d5){const _0x39f692=_0x952e9f,_0x35ae8c={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x39f692(0x3c0)]['get'](_0x3825d5)&&(_0x35ae8c[_0x39f692(0x280)][_0x3825d5]=this[_0x39f692(0x3c0)][_0x39f692(0x3dc)](_0x3825d5)),this[_0x39f692(0xe2)][_0x39f692(0x3dc)](_0x3825d5)){_0x35ae8c['pivotTableConfigs'][_0x3825d5]={};const _0x5329fe=this['_model'][_0x39f692(0x3dc)](_0x3825d5);_0x5329fe!=null&&_0x5329fe[_0x39f692(0x303)]&&[..._0x5329fe['keys']()][_0x39f692(0x1fb)](_0x2acc46=>{const _0x4ba655=_0x39f692,_0x324a5c=_0x5329fe[_0x4ba655(0x3dc)](_0x2acc46);_0x324a5c!=null&&_0x324a5c[_0x4ba655(0x303)]&&(_0x35ae8c[_0x4ba655(0x26c)][_0x3825d5][_0x2acc46]={},[..._0x324a5c[_0x4ba655(0x111)]()][_0x4ba655(0x1fb)](_0x4c5c62=>{const _0x5897c9=_0x4ba655,_0x1eb3bc=_0x324a5c[_0x5897c9(0x3dc)](_0x4c5c62);_0x1eb3bc&&(_0x35ae8c['pivotTableConfigs'][_0x3825d5][_0x2acc46][_0x4c5c62]=_0x1eb3bc);}));});}return _0x35ae8c;}[_0x952e9f(0x18a)](){const _0x28cda4=_0x952e9f;this[_0x28cda4(0x2fa)](this[_0x28cda4(0x371)][_0x28cda4(0x390)]({'toJson':_0x4b0b1c=>JSON[_0x28cda4(0x26d)](this[_0x28cda4(0x20f)](_0x4b0b1c)),'parseJson':_0xfbad8a=>({}),'businesses':[_0x71e749[_0x28cda4(0x21f)][_0x28cda4(0xfe)]],'pluginName':_0x510c58,'onLoad':(_0x55ca0c,_0x4b229d)=>{},'onUnLoad':_0x2f0819=>{this['deleteUnitId'](_0x2f0819);}}));}},_0x3e9a4b['SheetsPivotTableConfigModel']=_0x218674([_0x1bee58(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x71e749['Injector'])),_0x1bee58(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x1ec)])),_0x1bee58(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x71e749['IUniverInstanceService'])),_0x1bee58(0x3,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x29e)])),_0x1bee58(0x4,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x225)]))],_0x3e9a4b['SheetsPivotTableConfigModel']);var _0x5dd6c7=Object[_0x952e9f(0x169)],_0x4daf07=(_0x36346e,_0x22c502,_0x52ee9f,_0x219a79)=>{const _0x39e202=_0x952e9f;for(var _0x3274c7=_0x219a79>0x1?void 0x0:_0x219a79?_0x5dd6c7(_0x22c502,_0x52ee9f):_0x22c502,_0x820e4b=_0x36346e[_0x39e202(0x278)]-0x1,_0x4b88b2;_0x820e4b>=0x0;_0x820e4b--)(_0x4b88b2=_0x36346e[_0x820e4b])&&(_0x3274c7=_0x4b88b2(_0x3274c7)||_0x3274c7);return _0x3274c7;},_0x4063b8=(_0x486133,_0x5b08f4)=>(_0x3dfbdd,_0x1c9c5f)=>_0x5b08f4(_0x3dfbdd,_0x1c9c5f,_0x486133);_0x3e9a4b[_0x952e9f(0x3de)]=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x486243,_0x22106c,_0x423cd3,_0x28e6a8,_0x5486b3){const _0x2f9fce=_0x952e9f;super(),_0x59bac0(this,_0x2f9fce(0x1f8),new Map()),_0x59bac0(this,_0x2f9fce(0x2f9),new Map()),_0x59bac0(this,_0x2f9fce(0x3e6),new _0x11b8a8[(_0x2f9fce(0x384))]()),_0x59bac0(this,'markDirty$',this['_markDirty$'][_0x2f9fce(0x2c1)]()),_0x59bac0(this,_0x2f9fce(0x1d6),new _0x11b8a8[(_0x2f9fce(0x384))]()),_0x59bac0(this,_0x2f9fce(0x2fb),this[_0x2f9fce(0x1d6)][_0x2f9fce(0x2c1)]()),_0x59bac0(this,_0x2f9fce(0x1e0)),(this[_0x2f9fce(0x402)]=_0x486243,this[_0x2f9fce(0x170)]=_0x22106c,this[_0x2f9fce(0x321)]=_0x423cd3,this[_0x2f9fce(0x2ba)]=_0x28e6a8,this['_exclusiveRangeService']=_0x5486b3,this[_0x2f9fce(0x369)](),this[_0x2f9fce(0x21b)]());}[_0x952e9f(0x21b)](){const _0x115148=_0x952e9f;this['disposeWithMe'](this[_0x115148(0x2ba)][_0x115148(0xe9)](_0x71e749[_0x115148(0x21f)][_0x115148(0xfe)])[_0x115148(0x15e)](_0x51f5f1=>{const _0x5f1183=_0x115148;this['deleteUnitId'](_0x51f5f1[_0x5f1183(0x1bb)]());}));}[_0x952e9f(0x369)](){const _0x189172=_0x952e9f;this[_0x189172(0x1e0)]=_0x15f1eb(this['_injector'],_0x478a78,'',{});}[_0x952e9f(0x11d)](_0x178963){const _0x45d34e=_0x952e9f,{view:_0x513486,unitId:_0x536778,subUnitId:_0x38220f,pivotTableId:_0x37526e,type:_0x50523a}=_0x178963,_0xf17b6f=this['_sheetsPivotTableConfigModel'][_0x45d34e(0x405)](_0x536778,_0x38220f,_0x37526e);if(!_0x513486||!_0xf17b6f||_0x50523a===_0x5cfd72[_0x45d34e(0x22c)])return;const {pageView:_0x2e293c,cornerView:_0x2d04c3,rowView:_0x2a7beb,colView:_0x5afa8b,dataView:_0x16cc3c}=_0x513486,_0xfc225d=_0xf17b6f['targetCellInfo'],_0x4b5779=_0xf17b6f[_0x45d34e(0x36b)],_0x342e5c=this[_0x45d34e(0x223)](_0x536778,_0x38220f),_0x404e91=this['_ensurePivotItemRenderInfoCache'](_0x536778,_0x38220f,_0x37526e);if(_0x4b5779)return this[_0x45d34e(0x286)](_0x178963,_0x342e5c,_0xfc225d,_0x404e91);{const _0x2b1533=_0x3f4101(_0xfc225d,_0x2e293c,!0x0),_0x2f7fc5=_0x2e293c['lastRow']>=0x0?_0x2e293c['lastRow']+0x1:0x0,_0x351f34=_0x2d04c3[_0x45d34e(0x1bd)](),_0xe1bb94=_0x2d04c3['getColCount'](),_0x22e273=_0x2b1533[_0x45d34e(0x278)]>0x0?_0x18e791:0x0,_0x477f88=_0x3f4101({'row':_0xfc225d[_0x45d34e(0x2f4)]+_0x2f7fc5+_0x22e273,'col':_0xfc225d[_0x45d34e(0x320)]},_0x2d04c3,!0x1,!0x1),_0x5333f1=_0x3f4101({'row':_0xfc225d[_0x45d34e(0x2f4)]+_0x2f7fc5+_0x22e273+_0x351f34,'col':_0xfc225d[_0x45d34e(0x320)]},_0x2a7beb,!0x1,!0x0),_0x575569=_0x3f4101({'row':_0xfc225d[_0x45d34e(0x2f4)]+_0x2f7fc5+_0x22e273,'col':_0xfc225d[_0x45d34e(0x320)]+_0xe1bb94},_0x5afa8b,!0x1,!0x0),_0x23f791=_0x3f4101({'row':_0xfc225d[_0x45d34e(0x2f4)]+_0x2f7fc5+_0x22e273+_0x351f34,'col':_0xfc225d[_0x45d34e(0x320)]+_0xe1bb94},_0x16cc3c,!0x1,!0x1);_0x404e91[_0x45d34e(0x3ab)]={'rowRanges':_0x5333f1,'colRanges':_0x575569,'cornerRanges':_0x477f88,'dataRanges':_0x23f791,'pageRanges':_0x2b1533};const _0x4a96bc=_0x5dcea6(this['_injector'],_0x513486,_0xf17b6f,this[_0x45d34e(0x1e0)]),{valueMatrix:_0x1d8fb0,rowInfo:_0x412a55,colInfo:_0x563fb2,cornerInfo:_0x3361c0,rowHeaderMap:_0x2a6ab9,colHeaderMap:_0x22f028}=_0x4a96bc;return _0x404e91[_0x45d34e(0x254)]={'rowInfo':_0x412a55,'colInfo':_0x563fb2,'cornerInfo':_0x3361c0},_0x404e91[_0x45d34e(0x130)]={'rowHeaderMap':_0x2a6ab9,'colHeaderMap':_0x22f028},_0x1d8fb0[_0x45d34e(0x1fb)]((_0x423d7e,_0x5681b1)=>{const _0x4f5dd8=_0x45d34e;Object[_0x4f5dd8(0x111)](_0x5681b1)['forEach'](_0x303cc6=>{const _0x5bcb33=+_0x303cc6,_0x5971ea=_0x1d8fb0['getValue'](_0x423d7e,_0x5bcb33);_0x342e5c['setValue'](_0x423d7e,_0x5bcb33,_0x5971ea);});}),this[_0x45d34e(0x1d6)][_0x45d34e(0x348)]({'unitId':_0x536778,'subUnitId':_0x38220f,'valueMatrix':_0x342e5c,'rangesCache':_0x404e91[_0x45d34e(0x3ab)],'pivotTableId':_0x37526e,'type':_0x178963['type']}),this[_0x45d34e(0x321)][_0x45d34e(0xf8)](_0x536778,_0x38220f,_0x37526e,_0x342e5c,_0x404e91['rangesInfo']),this[_0x45d34e(0x1a8)][_0x45d34e(0x200)](_0x536778,_0x38220f,_0x30ef77,this[_0x45d34e(0x3f6)](_0x404e91[_0x45d34e(0x3ab)],_0x37526e)),{'rangeCache':_0x404e91[_0x45d34e(0x3ab)],'matrix':_0x342e5c};}}[_0x952e9f(0x286)](_0xf0b4c3,_0x30494c,_0x110483,_0x4d4a78){const _0x29717f=_0x952e9f,_0x59a0d5=this[_0x29717f(0x402)]['t'],{unitId:_0x19ba60,subUnitId:_0x30f417,pivotTableId:_0x45eb63}=_0xf0b4c3,_0x285f41={'filter':_0x59a0d5(_0x29717f(0x1af)),'row':_0x59a0d5(_0x29717f(0x39b)),'column':_0x59a0d5(_0x29717f(0x1d0)),'values':_0x59a0d5('sheets-pivot.emptyPivot.values')},{matrixCache:_0x4c0fde,rangesCache:_0x286d05}=_0x59b07e(_0x285f41,_0x110483);return _0x4c0fde[_0x29717f(0x2c5)]((_0x16e593,_0x2609b5,_0x20405e)=>{const _0x3519bd=_0x29717f;_0x30494c[_0x3519bd(0x183)](_0x16e593,_0x2609b5,_0x20405e);}),_0x4d4a78[_0x29717f(0x3ab)]=_0x286d05,this['_viewUpdate$'][_0x29717f(0x348)]({'unitId':_0x19ba60,'subUnitId':_0x30f417,'valueMatrix':_0x30494c,'rangesCache':_0x286d05,'pivotTableId':_0x45eb63,'type':_0xf0b4c3['type'],'isEmpty':!0x0}),this[_0x29717f(0x321)][_0x29717f(0xf8)](_0x19ba60,_0x30f417,_0x45eb63,_0x30494c,_0x286d05),this['_exclusiveRangeService'][_0x29717f(0x200)](_0x19ba60,_0x30f417,_0x30ef77,this['_createExclusiveRange'](_0x286d05,_0x45eb63)),{'rangeCache':_0x4d4a78['rangesInfo'],'matrix':_0x30494c};}['_createExclusiveRange'](_0x31c271,_0xb5f63e){const _0x46f892=_0x952e9f,_0x2c2e0c=[],_0x567ae5=_0x3e9c2e(_0x31c271);for(const _0x258a32 of _0x567ae5)_0x2c2e0c[_0x46f892(0x2b7)]({'groupId':_0xb5f63e,'range':_0x258a32});return _0x2c2e0c;}[_0x952e9f(0x230)](_0x5c7d09){const _0x579c7f=_0x952e9f;var _0x2e3e5d,_0x57d952,_0x4e18c1,_0x3f698f;const {pivotTableId:_0x9abd37,unitId:_0x52952a,subUnitId:_0x16f5f3}=_0x5c7d09;if(!_0x9abd37||!_0x52952a||!_0x16f5f3)return;const _0x242998=this[_0x579c7f(0x223)](_0x52952a,_0x16f5f3),_0x2e1afb=(_0x57d952=(_0x2e3e5d=this[_0x579c7f(0x1f8)][_0x579c7f(0x3dc)](_0x52952a))==null?void 0x0:_0x2e3e5d[_0x579c7f(0x3dc)](_0x16f5f3))==null?void 0x0:_0x57d952[_0x579c7f(0x3dc)](_0x9abd37);if(_0x2e1afb!=null&&_0x2e1afb[_0x579c7f(0x3ab)]){for(const _0x2ce976 of Object[_0x579c7f(0x111)](_0x2e1afb[_0x579c7f(0x3ab)]))_0x2e1afb[_0x579c7f(0x3ab)][_0x2ce976][_0x579c7f(0x1fb)](_0x118003=>{const _0x5acf16=_0x579c7f;for(let _0x5378c9=_0x118003[_0x5acf16(0x2fd)];_0x5378c9<=_0x118003['endRow'];_0x5378c9++)for(let _0xe309cc=_0x118003[_0x5acf16(0x3a9)];_0xe309cc<=_0x118003[_0x5acf16(0x317)];_0xe309cc++)_0x242998[_0x5acf16(0x272)](_0x5378c9,_0xe309cc);});}_0x2e1afb&&((_0x3f698f=(_0x4e18c1=this[_0x579c7f(0x1f8)][_0x579c7f(0x3dc)](_0x52952a))==null?void 0x0:_0x4e18c1[_0x579c7f(0x3dc)](_0x16f5f3))==null||_0x3f698f[_0x579c7f(0x366)](_0x9abd37)),this[_0x579c7f(0x1d6)][_0x579c7f(0x348)]({'unitId':_0x52952a,'subUnitId':_0x16f5f3,'valueMatrix':_0x242998,'pivotTableId':_0x9abd37,'rangesCache':void 0x0,'type':_0x5c7d09['type']}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x52952a,_0x16f5f3,_0x30ef77,_0x9abd37);}['_ensurePivotItemRenderInfoCache'](_0x339326,_0x4f31b3,_0x425513){const _0x5ec9f2=_0x952e9f;var _0x412341,_0x120b25,_0x320099,_0x183db6,_0x1612b5,_0x515031;return this[_0x5ec9f2(0x1f8)][_0x5ec9f2(0x2cc)](_0x339326)||this['_pivotRenderInfoCache']['set'](_0x339326,new Map()),(_0x412341=this['_pivotRenderInfoCache'][_0x5ec9f2(0x3dc)](_0x339326))!=null&&_0x412341[_0x5ec9f2(0x2cc)](_0x4f31b3)||(_0x120b25=this[_0x5ec9f2(0x1f8)]['get'](_0x339326))==null||_0x120b25[_0x5ec9f2(0x23d)](_0x4f31b3,new Map()),(_0x183db6=(_0x320099=this[_0x5ec9f2(0x1f8)][_0x5ec9f2(0x3dc)](_0x339326))==null?void 0x0:_0x320099[_0x5ec9f2(0x3dc)](_0x4f31b3))!=null&&_0x183db6[_0x5ec9f2(0x2cc)](_0x425513)||(_0x515031=(_0x1612b5=this[_0x5ec9f2(0x1f8)]['get'](_0x339326))==null?void 0x0:_0x1612b5['get'](_0x4f31b3))==null||_0x515031[_0x5ec9f2(0x23d)](_0x425513,{}),this['_pivotRenderInfoCache'][_0x5ec9f2(0x3dc)](_0x339326)[_0x5ec9f2(0x3dc)](_0x4f31b3)[_0x5ec9f2(0x3dc)](_0x425513);}[_0x952e9f(0x223)](_0xc65d9f,_0x304a5b){const _0x130a15=_0x952e9f;var _0x53c917,_0xab303a;return this[_0x130a15(0x2f9)][_0x130a15(0x2cc)](_0xc65d9f)||this[_0x130a15(0x2f9)][_0x130a15(0x23d)](_0xc65d9f,new Map()),(_0x53c917=this[_0x130a15(0x2f9)][_0x130a15(0x3dc)](_0xc65d9f))!=null&&_0x53c917[_0x130a15(0x2cc)](_0x304a5b)||(_0xab303a=this[_0x130a15(0x2f9)]['get'](_0xc65d9f))==null||_0xab303a[_0x130a15(0x23d)](_0x304a5b,new _0x71e749[(_0x130a15(0x3f8))]()),this['_pivotRenderValueMatrixCache']['get'](_0xc65d9f)['get'](_0x304a5b);}['getPivotTableCellData'](_0x563dc1,_0x2184bc,_0x261207,_0x1fd700){const _0x292821=_0x952e9f;var _0x558e1e,_0xa771e4;const _0x412e16=(_0xa771e4=(_0x558e1e=this[_0x292821(0x2f9)][_0x292821(0x3dc)](_0x563dc1))==null?void 0x0:_0x558e1e[_0x292821(0x3dc)](_0x2184bc))==null?void 0x0:_0xa771e4[_0x292821(0x3ea)](_0x261207,_0x1fd700);if(_0x412e16!=null)return _0x412e16;}[_0x952e9f(0x275)](_0x5be467,_0x3054de,_0x2cba81,_0x4c2a9b){const _0x1dff62=_0x952e9f;var _0x432f48;const _0xdbc121=_0x71e749[_0x1dff62(0x1a0)](_0x2cba81,_0x4c2a9b),_0x3b254d=(_0x432f48=this['_pivotRenderInfoCache'][_0x1dff62(0x3dc)](_0x5be467))==null?void 0x0:_0x432f48[_0x1dff62(0x3dc)](_0x3054de);return _0x3b254d?Array[_0x1dff62(0x12f)](_0x3b254d[_0x1dff62(0x111)]())['find'](_0x4472a8=>{const _0x36f999=_0x1dff62,_0x91ae4c=_0x3b254d['get'](_0x4472a8),_0x54d7bf=_0x91ae4c==null?void 0x0:_0x91ae4c[_0x36f999(0x3ab)];return _0x54d7bf?Object['keys'](_0x54d7bf)[_0x36f999(0x131)](_0x254657=>_0x54d7bf[_0x254657][_0x36f999(0x131)](_0x4d8012=>_0x71e749[_0x36f999(0x28b)][_0x36f999(0x1b9)](_0x4d8012,_0xdbc121))):!0x1;}):void 0x0;}[_0x952e9f(0x154)](_0x4e64ad,_0x1a8b4e,_0x22ea8e){const _0x52bf69=_0x952e9f;var _0x3e4d07;const _0x300715=(_0x3e4d07=this[_0x52bf69(0x1f8)]['get'](_0x4e64ad))==null?void 0x0:_0x3e4d07['get'](_0x1a8b4e),_0x55fbea=[];return _0x300715&&Array['from'](_0x300715[_0x52bf69(0x111)]())[_0x52bf69(0x1fb)](_0x11bf5b=>{const _0xbf2339=_0x52bf69,_0xfb06cd=_0x300715[_0xbf2339(0x3dc)](_0x11bf5b),_0xc689d1=_0xfb06cd==null?void 0x0:_0xfb06cd[_0xbf2339(0x3ab)];if(_0xc689d1)for(const _0xdf82f1 of Object[_0xbf2339(0xed)](_0xc689d1)){let _0x245a98=!0x1;for(const _0x1ff286 of _0xdf82f1)if(_0x71e749[_0xbf2339(0x28b)][_0xbf2339(0x3d1)](_0x1ff286,_0x22ea8e)){_0x55fbea[_0xbf2339(0x2b7)](_0x11bf5b),_0x245a98=!0x0;break;}if(_0x245a98)break;}}),_0x55fbea;}[_0x952e9f(0x376)](_0x2e966f,_0x57341b){const _0x700fb5=_0x952e9f;var _0x23e17f,_0x2d6ee2;return(_0x2d6ee2=(_0x23e17f=this['_pivotRenderValueMatrixCache'][_0x700fb5(0x3dc)](_0x2e966f))==null?void 0x0:_0x23e17f['get'](_0x57341b))!=null?_0x2d6ee2:new _0x71e749[(_0x700fb5(0x3f8))]();}[_0x952e9f(0x184)](_0x287729,_0xc77b1f){const _0x13952c=_0x952e9f;var _0x55bad5;return(_0x55bad5=this['_pivotRenderInfoCache'][_0x13952c(0x3dc)](_0x287729))==null?void 0x0:_0x55bad5[_0x13952c(0x3dc)](_0xc77b1f);}[_0x952e9f(0x285)](_0x1e7caa,_0x493c60,_0x3649c2){const _0x35b0e9=_0x952e9f;var _0x256c15,_0x4d176e;return(_0x4d176e=(_0x256c15=this[_0x35b0e9(0x1f8)]['get'](_0x1e7caa))==null?void 0x0:_0x256c15['get'](_0x493c60))==null?void 0x0:_0x4d176e[_0x35b0e9(0x3dc)](_0x3649c2);}[_0x952e9f(0x262)](_0x71c344){const _0x1c9f55=_0x952e9f;this[_0x1c9f55(0x1f8)]['delete'](_0x71c344),this[_0x1c9f55(0x2f9)][_0x1c9f55(0x366)](_0x71c344);}[_0x952e9f(0x248)](_0x406a3a,_0x5add92){const _0x1f431b=_0x952e9f;this[_0x1f431b(0x3e6)][_0x1f431b(0x348)]({'unitId':_0x406a3a,'subUnitId':_0x5add92});}},_0x3e9a4b[_0x952e9f(0x3de)]=_0x4daf07([_0x4063b8(0x0,_0x71e749['Inject'](_0x71e749[_0x952e9f(0x364)])),_0x4063b8(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x71e749['Injector'])),_0x4063b8(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x299)])),_0x4063b8(0x3,_0x71e749[_0x952e9f(0x3f5)](_0x71e749['IUniverInstanceService'])),_0x4063b8(0x4,_0x71e749[_0x952e9f(0x3f5)](_0x2a18e2[_0x952e9f(0x1ba)]))],_0x3e9a4b[_0x952e9f(0x3de)]);var _0x1e472e=Object[_0x952e9f(0x169)],_0x3c1338=(_0x1dc772,_0x5eccdd,_0x1fac9c,_0x4f7cbf)=>{const _0x357920=_0x952e9f;for(var _0x33f6f2=_0x4f7cbf>0x1?void 0x0:_0x4f7cbf?_0x1e472e(_0x5eccdd,_0x1fac9c):_0x5eccdd,_0xfcd7be=_0x1dc772[_0x357920(0x278)]-0x1,_0x18e5d7;_0xfcd7be>=0x0;_0xfcd7be--)(_0x18e5d7=_0x1dc772[_0xfcd7be])&&(_0x33f6f2=_0x18e5d7(_0x33f6f2)||_0x33f6f2);return _0x33f6f2;},_0x1d8cb1=(_0x103a03,_0x5c8795)=>(_0x219e7b,_0x47864b)=>_0x5c8795(_0x219e7b,_0x47864b,_0x103a03);_0x3e9a4b['SheetsPivotTableService']=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x2e01a9,_0x45e0f5){const _0x45da86=_0x952e9f;super(),_0x59bac0(this,_0x45da86(0xf6),new _0x71e749[(_0x45da86(0x3fb))]({'PIVOT_PERFORM_CHECK':_0x178140})),_0x59bac0(this,_0x45da86(0x121),new _0x71e749['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x2f3b0c})),(this['_sheetInterceptorService']=_0x2e01a9,this[_0x45da86(0x3ad)]=_0x45e0f5,this[_0x45da86(0x234)]());}[_0x952e9f(0x234)](){this['_initViewModelBySheetInterceptor']();}['getPivotPerformCheck'](_0x4739c4){const _0x56d0cc=_0x952e9f;return this[_0x56d0cc(0xf6)][_0x56d0cc(0x17e)](_0x178140)(!0x1,_0x4739c4);}[_0x952e9f(0x2ad)](){const _0x55099d=_0x952e9f;this[_0x55099d(0x2fa)](this['_sheetInterceptorService'][_0x55099d(0x129)](_0x2a18e2[_0x55099d(0x19a)][_0x55099d(0x236)],{'priority':0xc8,'effect':_0x71e749[_0x55099d(0x27a)][_0x55099d(0x2f0)]|_0x71e749['InterceptorEffectEnum']['Style'],'handler':(_0x1c67b4,_0x443fec,_0x3954a7)=>{const _0x3b800d=_0x55099d,{row:_0x2caf11,col:_0x3199c0,unitId:_0xf98c9d,subUnitId:_0x24ef31,workbook:_0x45398b}=_0x443fec,_0x16fcc1=this[_0x3b800d(0x3ad)][_0x3b800d(0x2b0)](_0xf98c9d,_0x24ef31,_0x2caf11,_0x3199c0);if(!_0x16fcc1)return _0x3954a7(_0x1c67b4);const _0x509969={..._0x1c67b4};(_0x16fcc1['v']||_0x16fcc1['v']===0x0)&&(_0x509969['v']=_0x16fcc1['v']),_0x16fcc1['t']&&(_0x509969['t']=_0x16fcc1['t']);const _0x118422=(typeof(_0x1c67b4==null?void 0x0:_0x1c67b4['s'])==_0x3b800d(0x282)?_0x45398b[_0x3b800d(0x3a1)]()[_0x3b800d(0x3dc)](_0x1c67b4==null?void 0x0:_0x1c67b4['s']):_0x1c67b4==null?void 0x0:_0x1c67b4['s'])||{},_0xcb64c5=_0x45398b[_0x3b800d(0x3a1)]()['get'](_0x16fcc1['s']),_0x4338b9={..._0xcb64c5,..._0x118422};_0xcb64c5!=null&&_0xcb64c5['n']&&(_0x4338b9['n']=_0xcb64c5['n']);const _0x78558a=_0x45398b[_0x3b800d(0x3a1)]()['setValue'](_0x4338b9);return _0x509969['s']=_0x78558a,(_0x16fcc1['pbt']===_0x1978cb['PivotCellStyleTypeEnum'][_0x3b800d(0x163)]||_0x16fcc1['pbt']===_0x1978cb['PivotCellStyleTypeEnum'][_0x3b800d(0x32e)])&&(_0x509969[_0x3b800d(0x3b5)]={},_0x509969[_0x3b800d(0x3b5)][_0x3b800d(0x18b)]=_0x7261e6),_0x3954a7(_0x509969);}}));}},_0x3e9a4b[_0x952e9f(0x257)]=_0x3c1338([_0x1d8cb1(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x2a18e2[_0x952e9f(0x2d2)])),_0x1d8cb1(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x3de)]))],_0x3e9a4b['SheetsPivotTableService']);function _0x36b92f(_0x23d308,_0x5bccfd){const _0x4c0749=_0x952e9f;switch(_0x5bccfd){case _0x1978cb[_0x4c0749(0x3be)]['Value']:return _0x23d308[_0x4c0749(0x114)];case _0x1978cb[_0x4c0749(0x3be)][_0x4c0749(0x341)]:return _0x23d308[_0x4c0749(0x1ab)];case _0x1978cb[_0x4c0749(0x3be)][_0x4c0749(0x3b9)]:return _0x23d308[_0x4c0749(0x318)];case _0x1978cb[_0x4c0749(0x3be)][_0x4c0749(0x3f0)]:return _0x23d308[_0x4c0749(0x35c)];default:return[];}}function _0x5f1556(_0x3a6281,_0x10e1ec){const _0xfdb621=_0x952e9f;return _0x3a6281['measure'][_0x10e1ec]||_0x3a6281[_0xfdb621(0x383)][_0x10e1ec];}function _0x306454(_0x59fbc6,_0x2901d0){const _0x436985=_0x952e9f,{area:_0x131908,fieldJson:_0x5d4ac5,index:_0x180626}=_0x2901d0;_0x131908===_0x1978cb[_0x436985(0x3be)][_0x436985(0x2f0)]?_0x59fbc6['measure'][_0x5d4ac5['id']]=_0x5d4ac5:_0x59fbc6[_0x436985(0x383)][_0x5d4ac5['id']]=_0x5d4ac5,_0x36b92f(_0x59fbc6,_0x131908)['splice'](_0x180626,0x0,_0x5d4ac5['id']);}function _0xe7c352(_0x290689,_0x3c1c55){const _0x3859e9=_0x952e9f,{area:_0x547dee,fieldId:_0x3adb47,index:_0x444dfe}=_0x3c1c55;_0x547dee===_0x1978cb['PivotTableFiledAreaEnum'][_0x3859e9(0x2f0)]?delete _0x290689['measure'][_0x3adb47]:delete _0x290689[_0x3859e9(0x383)][_0x3adb47],_0x36b92f(_0x290689,_0x547dee)[_0x3859e9(0x1c4)](_0x444dfe,0x1);}function _0x10adca(_0x5d6714,_0x513408){const {fieldId:_0x2fc579,name:_0x530d76}=_0x513408,_0x540a2b=_0x5f1556(_0x5d6714,_0x2fc579);_0x540a2b&&(_0x540a2b['displayName']=_0x530d76);}function _0x2b7d08(_0x47700d,_0x5298f6){const _0x2a3b2f=_0x952e9f,{fieldId:_0x4daa5d,collapse:_0x527ab0,item:_0x4b3349}=_0x5298f6;_0x4b3349!==void 0x0?(_0x47700d[_0x2a3b2f(0x2ec)][_0x4daa5d]=_0x47700d[_0x2a3b2f(0x2ec)][_0x4daa5d]||{},_0x47700d['collapseInfo'][_0x4daa5d][_0x4b3349]=_0x527ab0):_0x47700d['collapseInfo'][_0x4daa5d]=_0x527ab0;}function _0x3d549b(_0x403766,_0x1e6752){const _0x6efe81=_0x952e9f,{fieldId:_0x3ddd80,format:_0x419449}=_0x1e6752,_0x4e2eea=_0x5f1556(_0x403766,_0x3ddd80);_0x4e2eea&&(_0x4e2eea[_0x6efe81(0x21e)]=_0x419449);}function _0x5b9de4(_0x465103,_0x253c57){const {fieldId:_0x4a6140,filterInfo:_0x16d84f}=_0x253c57,_0x428783=_0x5f1556(_0x465103,_0x4a6140);_0x428783&&(_0x428783['filterInfo']=_0x16d84f);}function _0x54f67a(_0x1f8acf,_0x241f2a){const _0x21d442=_0x952e9f,{fieldId:_0x24d9b9,filterInfo:_0x5596a0}=_0x241f2a,_0x2e0c50=_0x1f8acf[_0x21d442(0x1a9)][_0x21d442(0x279)](_0x108a9c=>_0x108a9c[_0x21d442(0x126)]!==_0x24d9b9);_0x5596a0&&_0x2e0c50['push']({'fieldId':_0x24d9b9,'filterInfo':_0x5596a0}),_0x1f8acf[_0x21d442(0x1a9)]=_0x2e0c50;}function _0x4d6722(_0x475339,_0x34f4e7){const _0x413462=_0x952e9f,{fieldId:_0x266fc5,subtotalType:_0x446b49}=_0x34f4e7,_0x5c2715=_0x5f1556(_0x475339,_0x266fc5);_0x5c2715&&(_0x5c2715[_0x413462(0x3bf)]=_0x446b49);}function _0x26dab0(_0xcf6e7e,_0x5e6a88){const _0x45313c=_0x952e9f,{fieldId:_0x4a7ed2,oldArea:_0x2bc4b3,area:_0x4578b8,oldIndex:_0x3f3a2e,index:_0x15cbf3}=_0x5e6a88,_0x24c417=_0x2bc4b3!==_0x1978cb['PivotTableFiledAreaEnum']['Value']&&_0x4578b8===_0x1978cb[_0x45313c(0x3be)]['Value'],_0x1aed4a=_0x2bc4b3===_0x1978cb[_0x45313c(0x3be)][_0x45313c(0x2f0)]&&_0x4578b8!==_0x1978cb[_0x45313c(0x3be)]['Value'];if(_0x24c417||_0x1aed4a){const _0x38960f=_0x5f1556(_0xcf6e7e,_0x4a7ed2);_0x38960f&&(_0x24c417?(delete _0xcf6e7e[_0x45313c(0x383)][_0x4a7ed2],_0xcf6e7e['measure'][_0x4a7ed2]=_0x38960f):(delete _0xcf6e7e[_0x45313c(0x3d5)][_0x4a7ed2],_0xcf6e7e[_0x45313c(0x383)][_0x4a7ed2]=_0x38960f));}const _0x592584=_0x36b92f(_0xcf6e7e,_0x2bc4b3),_0x179f87=_0x36b92f(_0xcf6e7e,_0x4578b8);_0x592584[_0x45313c(0x1c4)](_0x3f3a2e,0x1),_0x179f87[_0x45313c(0x1c4)](_0x15cbf3,0x0,_0x4a7ed2);}function _0x549fad(_0x10cf34,_0xe30736){const _0x504d82=_0x952e9f,{valuePosition:_0x58c2d0,index:_0x542d07}=_0xe30736;_0x10cf34[_0x504d82(0x335)]=_0x58c2d0,_0x10cf34[_0x504d82(0x289)]=_0x542d07;}function _0x424aa8(_0x5b0e99,_0x25082f){const _0x37678b=_0x952e9f,{tableFieldId:_0x20816b,sourceName:_0x278930,dataFieldId:_0x4c135a}=_0x25082f,_0x3d5d08=_0x5f1556(_0x5b0e99,_0x20816b);_0x3d5d08&&(_0x3d5d08[_0x37678b(0x11a)]=_0x278930,_0x3d5d08[_0x37678b(0x3f2)]=_0x4c135a);}function _0x46e5a0(_0x5ee096,_0x10ca02){const _0x1b5c3f=_0x952e9f,{fieldId:_0x2a08c5,sortInfo:_0x2cea73}=_0x10ca02,_0x416a57=_0x5f1556(_0x5ee096,_0x2a08c5);_0x416a57&&(_0x416a57[_0x1b5c3f(0x106)]=_0x2cea73);}function _0x298a69(_0x40407f,_0x339e6a){const _0x16d1d5=_0x952e9f,{options:_0x27fd33}=_0x339e6a;_0x40407f[_0x16d1d5(0x28d)]={..._0x40407f['options'],..._0x27fd33};}const _0x4f9dee={'type':_0x71e749[_0x952e9f(0x1ff)]['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x23e195,_0x4d454f){const _0x5dbc18=_0x952e9f;if(!_0x4d454f)return!0x1;if(!!_0x23e195[_0x5dbc18(0x3dc)](_0x71e749[_0x5dbc18(0x225)])[_0x5dbc18(0x2dd)](_0xf9ba23))return!0x0;const _0x5c220f=_0x23e195[_0x5dbc18(0x3dc)](_0x3e9a4b['SheetsPivotDataSourceModel']),{pivotTableId:_0x307f17,fieldJson:_0x201341,area:_0x180782,index:_0x99de66,unitId:_0xf13571,subUnitId:_0x23fc60}=_0x4d454f,_0x414061=_0x5c220f[_0x5dbc18(0x123)](_0x307f17);if(!_0x414061)return!0x1;let _0x6c5f37;_0x180782===_0x1978cb['PivotTableFiledAreaEnum']['Value']?_0x6c5f37=_0x1978cb['createValueField'](_0x201341):_0x6c5f37=_0x1978cb[_0x5dbc18(0x37f)](_0x201341),_0x414061['addField'](_0x6c5f37,_0x180782,_0x99de66);const _0x4f4268=_0x5c220f['getPivotTableModelConfig'](_0xf13571,_0x23fc60,_0x307f17);_0x306454(_0x4f4268,_0x4d454f);const _0x4a3038=_0x5c220f[_0x5dbc18(0x405)](_0xf13571,_0x23fc60,_0x307f17);return _0x5c220f['addDirtyPivotTable']({'unitId':_0xf13571,'subUnitId':_0x23fc60,'token':_0x307f17,'type':_0x5cfd72['Set'],'pivotConfig':_0x4a3038}),!0x0;}},_0x314e34={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':_0x952e9f(0x10c),'handler'(_0x3df073,_0x5908b4){const _0xa9c261=_0x952e9f;if(!_0x5908b4)return!0x1;if(!!_0x3df073[_0xa9c261(0x3dc)](_0x71e749[_0xa9c261(0x225)])[_0xa9c261(0x2dd)](_0xf9ba23))return!0x0;const _0x3ab9db=_0x3df073['get'](_0x3e9a4b[_0xa9c261(0x386)]),{pivotTableId:_0x5c4d31,fieldId:_0x56db20,unitId:_0x21074b,subUnitId:_0x1ef2db}=_0x5908b4,_0x40ef6c=_0x3ab9db[_0xa9c261(0x123)](_0x5c4d31);if(!_0x40ef6c)return!0x1;_0x40ef6c[_0xa9c261(0xe8)](_0x56db20);const _0x19a2b5=_0x3ab9db[_0xa9c261(0x3d7)](_0x21074b,_0x1ef2db,_0x5c4d31);_0xe7c352(_0x19a2b5,_0x5908b4);const _0x1363f7=_0x3ab9db[_0xa9c261(0x405)](_0x21074b,_0x1ef2db,_0x5c4d31);return _0x3ab9db['addDirtyPivotTable']({'unitId':_0x21074b,'subUnitId':_0x1ef2db,'token':_0x5c4d31,'type':_0x5cfd72['Set'],'pivotConfig':_0x1363f7}),!0x0;}},_0x15f90a={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x4e286e,_0x283d9e){const _0x42d997=_0x952e9f;if(!_0x283d9e)return!0x1;if(!!_0x4e286e[_0x42d997(0x3dc)](_0x71e749[_0x42d997(0x225)])['getConfig'](_0xf9ba23))return!0x0;const _0x1f4ad6=_0x4e286e[_0x42d997(0x3dc)](_0x3e9a4b[_0x42d997(0x386)]),{unitId:_0x6b8a77,subUnitId:_0x48c514,pivotTableId:_0xeeb0d3,fieldId:_0x5ba237,name:_0x736011}=_0x283d9e,_0x556ee7=_0x1f4ad6[_0x42d997(0x123)](_0xeeb0d3);if(!_0x556ee7)return!0x1;_0x556ee7[_0x42d997(0x326)](_0x5ba237,_0x736011);const _0x5e72ec=_0x1f4ad6['getPivotTableModelConfig'](_0x6b8a77,_0x48c514,_0xeeb0d3);return _0x10adca(_0x5e72ec,_0x283d9e),_0x1f4ad6[_0x42d997(0x1e1)]({'unitId':_0x6b8a77,'subUnitId':_0x48c514,'token':_0xeeb0d3,'type':_0x5cfd72[_0x42d997(0x15c)]}),!0x0;}},_0x3d16f6={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x5f3f24,_0x3a059f){const _0x17afdf=_0x952e9f;if(!_0x3a059f)return!0x1;if(!!_0x5f3f24[_0x17afdf(0x3dc)](_0x71e749[_0x17afdf(0x225)])[_0x17afdf(0x2dd)](_0xf9ba23))return!0x0;const _0x50d658=_0x5f3f24[_0x17afdf(0x3dc)](_0x3e9a4b[_0x17afdf(0x386)]),{unitId:_0x116bc7,subUnitId:_0x30cbce,pivotTableId:_0x55e5b0,fieldId:_0x33cc13,collapse:_0x448555,item:_0x486e80}=_0x3a059f,_0x1f4910=_0x50d658[_0x17afdf(0x123)](_0x55e5b0);if(!_0x1f4910)return!0x1;_0x1f4910[_0x17afdf(0x401)](_0x33cc13,_0x448555,_0x486e80);const _0x3585d5=_0x50d658[_0x17afdf(0x3d7)](_0x116bc7,_0x30cbce,_0x55e5b0);return _0x2b7d08(_0x3585d5,_0x3a059f),_0x50d658[_0x17afdf(0x1e1)]({'unitId':_0x116bc7,'subUnitId':_0x30cbce,'token':_0x55e5b0,'type':_0x5cfd72[_0x17afdf(0x15c)]}),!0x0;}},_0x3af33e={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':_0x952e9f(0xf1),'handler'(_0x4ec2a1,_0x52d6cf){const _0xffb853=_0x952e9f;if(!_0x52d6cf)return!0x1;if(!!_0x4ec2a1[_0xffb853(0x3dc)](_0x71e749[_0xffb853(0x225)])[_0xffb853(0x2dd)](_0xf9ba23))return!0x0;const _0x39bb60=_0x4ec2a1[_0xffb853(0x3dc)](_0x3e9a4b[_0xffb853(0x386)]),{unitId:_0x9352c0,subUnitId:_0x44fc99,pivotTableId:_0x50da19,fieldId:_0x39fa02,format:_0xaf105b}=_0x52d6cf,_0x554160=_0x39bb60[_0xffb853(0x123)](_0x50da19);if(!_0x554160)return!0x1;_0x554160[_0xffb853(0x2d0)](_0x39fa02,_0xaf105b);const _0x4e4f8b=_0x39bb60[_0xffb853(0x3d7)](_0x9352c0,_0x44fc99,_0x50da19);return _0x3d549b(_0x4e4f8b,_0x52d6cf),_0x39bb60[_0xffb853(0x1e1)]({'unitId':_0x9352c0,'subUnitId':_0x44fc99,'token':_0x50da19,'type':_0x5cfd72[_0xffb853(0x15c)]}),!0x0;}},_0x25b050={'type':_0x71e749['CommandType']['MUTATION'],'id':_0x952e9f(0x1d9),'handler'(_0x283efc,_0x898d5f){const _0x2be0ab=_0x952e9f;if(!_0x898d5f)return!0x1;if(!!_0x283efc[_0x2be0ab(0x3dc)](_0x71e749['IConfigService'])['getConfig'](_0xf9ba23))return!0x0;const _0x262ca8=_0x283efc[_0x2be0ab(0x3dc)](_0x3e9a4b[_0x2be0ab(0x386)]),{unitId:_0x3f36e2,subUnitId:_0x8fae0d,pivotTableId:_0x1301b2,fieldId:_0x19b51b,filterInfo:_0x393950}=_0x898d5f,_0x67f8f6=_0x262ca8[_0x2be0ab(0x123)](_0x1301b2);if(!_0x67f8f6)return!0x1;_0x67f8f6[_0x2be0ab(0x1e4)](_0x19b51b,_0x393950);const _0x18f541=_0x262ca8[_0x2be0ab(0x3d7)](_0x3f36e2,_0x8fae0d,_0x1301b2);return _0x5b9de4(_0x18f541,_0x898d5f),_0x262ca8[_0x2be0ab(0x1e1)]({'unitId':_0x3f36e2,'subUnitId':_0x8fae0d,'token':_0x1301b2,'type':_0x5cfd72[_0x2be0ab(0x15c)]}),!0x0;}},_0x377fce={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':'sheet.mutation.set-pivot-option','handler'(_0x23067b,_0x27e46c){const _0x4fd4bf=_0x952e9f;if(!_0x27e46c)return!0x1;if(!!_0x23067b[_0x4fd4bf(0x3dc)](_0x71e749['IConfigService'])[_0x4fd4bf(0x2dd)](_0xf9ba23))return!0x0;const _0x50cd0e=_0x23067b[_0x4fd4bf(0x3dc)](_0x3e9a4b[_0x4fd4bf(0x386)]),{unitId:_0x244db4,subUnitId:_0x9025d,pivotTableId:_0x21c8a6,options:_0x2497cd}=_0x27e46c,_0x25b7e0=_0x50cd0e[_0x4fd4bf(0x123)](_0x21c8a6);if(!_0x25b7e0)return!0x1;_0x25b7e0[_0x4fd4bf(0x14d)](_0x2497cd);const _0x59cb49=_0x50cd0e[_0x4fd4bf(0x3d7)](_0x244db4,_0x9025d,_0x21c8a6);return _0x298a69(_0x59cb49,_0x27e46c),_0x50cd0e[_0x4fd4bf(0x1e1)]({'unitId':_0x244db4,'subUnitId':_0x9025d,'token':_0x21c8a6,'type':_0x5cfd72[_0x4fd4bf(0x15c)]}),!0x0;}},_0x37f93b={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':_0x952e9f(0x258),'handler'(_0x1c7c7f,_0x62f9fb){const _0x5864fd=_0x952e9f;if(!_0x62f9fb)return!0x1;if(!!_0x1c7c7f[_0x5864fd(0x3dc)](_0x71e749[_0x5864fd(0x225)])[_0x5864fd(0x2dd)](_0xf9ba23))return!0x0;const _0xbc5fdc=_0x1c7c7f[_0x5864fd(0x3dc)](_0x3e9a4b[_0x5864fd(0x386)]),{unitId:_0x363ee8,subUnitId:_0x2a7e33,pivotTableId:_0x5d1697,sortInfo:_0x24f70a,fieldId:_0x3efd51}=_0x62f9fb,_0x521a72=_0xbc5fdc[_0x5864fd(0x123)](_0x5d1697);if(!_0x521a72)return!0x1;_0x521a72[_0x5864fd(0x1ea)](_0x3efd51,_0x24f70a);const _0xd40a01=_0xbc5fdc[_0x5864fd(0x3d7)](_0x363ee8,_0x2a7e33,_0x5d1697);return _0x46e5a0(_0xd40a01,_0x62f9fb),_0xbc5fdc[_0x5864fd(0x1e1)]({'unitId':_0x363ee8,'subUnitId':_0x2a7e33,'token':_0x5d1697,'type':_0x5cfd72[_0x5864fd(0x15c)]}),!0x0;}},_0x4d3daa={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':_0x952e9f(0x352),'handler'(_0x460b0c,_0x4bf060){const _0x292257=_0x952e9f;if(!_0x4bf060)return!0x1;if(!!_0x460b0c['get'](_0x71e749[_0x292257(0x225)])[_0x292257(0x2dd)](_0xf9ba23))return!0x0;const _0x2161ab=_0x460b0c[_0x292257(0x3dc)](_0x3e9a4b['SheetsPivotDataSourceModel']),{unitId:_0x485b9a,subUnitId:_0x43b09c,pivotTableId:_0x27cb2c,fieldId:_0x99f60d,subtotalType:_0x5b5fdd}=_0x4bf060,_0x13634b=_0x2161ab[_0x292257(0x123)](_0x27cb2c);if(!_0x13634b)return!0x1;_0x13634b['setSubtotalType'](_0x99f60d,_0x5b5fdd);const _0x153131=_0x2161ab[_0x292257(0x3d7)](_0x485b9a,_0x43b09c,_0x27cb2c);return _0x4d6722(_0x153131,_0x4bf060),_0x2161ab[_0x292257(0x1e1)]({'unitId':_0x485b9a,'subUnitId':_0x43b09c,'token':_0x27cb2c,'type':_0x5cfd72[_0x292257(0x15c)]}),!0x0;}},_0x4b00fe={'type':_0x71e749['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x50920b,_0x101448){const _0x4386bf=_0x952e9f;if(!_0x101448)return!0x1;if(!!_0x50920b[_0x4386bf(0x3dc)](_0x71e749['IConfigService'])[_0x4386bf(0x2dd)](_0xf9ba23))return!0x0;const _0x388314=_0x50920b[_0x4386bf(0x3dc)](_0x3e9a4b['SheetsPivotDataSourceModel']),{unitId:_0x503ea3,subUnitId:_0x425055,pivotTableId:_0x201233,fieldId:_0x27e6bb,filterInfo:_0x5bc94f}=_0x101448,_0x416964=_0x388314[_0x4386bf(0x123)](_0x201233);if(!_0x416964)return!0x1;_0x416964[_0x4386bf(0x124)](_0x27e6bb,_0x5bc94f);const _0x59103c=_0x388314[_0x4386bf(0x3d7)](_0x503ea3,_0x425055,_0x201233);return _0x54f67a(_0x59103c,_0x101448),_0x388314[_0x4386bf(0x1e1)]({'unitId':_0x503ea3,'subUnitId':_0x425055,'token':_0x201233,'type':_0x5cfd72[_0x4386bf(0x15c)]}),!0x0;}},_0x2d0f45={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':_0x952e9f(0x306),'handler'(_0x10c827,_0x47efc1){const _0x3260a9=_0x952e9f;if(!_0x47efc1)return!0x1;if(!!_0x10c827[_0x3260a9(0x3dc)](_0x71e749[_0x3260a9(0x225)])[_0x3260a9(0x2dd)](_0xf9ba23))return!0x0;const _0x522b59=_0x10c827[_0x3260a9(0x3dc)](_0x3e9a4b[_0x3260a9(0x386)]),{unitId:_0x3d9354,subUnitId:_0x7b6120,pivotTableId:_0xf82c8c,area:_0x3559ce,index:_0x93c093,fieldId:_0x5b0e5f}=_0x47efc1,_0x47ddfc=_0x522b59[_0x3260a9(0x123)](_0xf82c8c);if(!_0x47ddfc)return!0x1;_0x47ddfc['updateFieldPosition'](_0x5b0e5f,_0x3559ce,_0x93c093);const _0xe0e383=_0x522b59[_0x3260a9(0x3d7)](_0x3d9354,_0x7b6120,_0xf82c8c);return _0x26dab0(_0xe0e383,_0x47efc1),_0x522b59['addDirtyPivotTable']({'unitId':_0x3d9354,'subUnitId':_0x7b6120,'token':_0xf82c8c,'type':_0x5cfd72['Set']}),!0x0;}},_0x2da68e={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':_0x952e9f(0x1b1),'handler'(_0x202d93,_0x28fd0e){const _0x439caf=_0x952e9f;if(!_0x28fd0e)return!0x1;if(!!_0x202d93[_0x439caf(0x3dc)](_0x71e749[_0x439caf(0x225)])[_0x439caf(0x2dd)](_0xf9ba23))return!0x0;const _0x44bf14=_0x202d93[_0x439caf(0x3dc)](_0x3e9a4b[_0x439caf(0x386)]),{unitId:_0x4aaade,subUnitId:_0x46b1b5,pivotTableId:_0x4a7899,sourceName:_0x2fd6cb,dataFieldId:_0x122f21,tableFieldId:_0x3e2826}=_0x28fd0e,_0x281637=_0x44bf14[_0x439caf(0x123)](_0x4a7899);if(!_0x281637)return!0x1;_0x281637['updateFieldSourceInfo'](_0x3e2826,_0x2fd6cb,_0x122f21);const _0x37b4c1=_0x44bf14[_0x439caf(0x3d7)](_0x4aaade,_0x46b1b5,_0x4a7899);return _0x424aa8(_0x37b4c1,_0x28fd0e),_0x44bf14[_0x439caf(0x1e1)]({'unitId':_0x4aaade,'subUnitId':_0x46b1b5,'token':_0x4a7899,'type':_0x5cfd72['Set']}),!0x0;}},_0x27db08={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0xbb9ff3,_0x3afa26){const _0x563a8e=_0x952e9f;if(!_0x3afa26)return!0x1;if(!!_0xbb9ff3['get'](_0x71e749['IConfigService'])[_0x563a8e(0x2dd)](_0xf9ba23))return!0x0;const _0x54b0de=_0xbb9ff3[_0x563a8e(0x3dc)](_0x3e9a4b[_0x563a8e(0x386)]),{unitId:_0x546f7f,subUnitId:_0x35ca88,pivotTableId:_0x43e422,valuePosition:_0x3f7c34,index:_0x2ea42e}=_0x3afa26,_0x1c826b=_0x54b0de[_0x563a8e(0x123)](_0x43e422);if(!_0x1c826b)return!0x1;_0x1c826b[_0x563a8e(0x12b)](_0x3f7c34,_0x2ea42e);const _0x1a537d=_0x54b0de[_0x563a8e(0x3d7)](_0x546f7f,_0x35ca88,_0x43e422);return _0x549fad(_0x1a537d,_0x3afa26),_0x54b0de[_0x563a8e(0x1e1)]({'unitId':_0x546f7f,'subUnitId':_0x35ca88,'token':_0x43e422,'type':_0x5cfd72[_0x563a8e(0x15c)]}),!0x0;}};function _0x2dd215(_0x2f950c,_0x16495f,_0x11d4ab){const _0x2acecf=_0x952e9f,{pivotTableId:_0xa4d6fa,unitId:_0x1ba7af,subUnitId:_0x3314f8}=_0x16495f,_0x4415a3=[],_0xa79cf0=[];for(const _0x5b9c4b of _0x11d4ab)switch(_0x5b9c4b[_0x2acecf(0x2e2)]){case _0x1978cb[_0x2acecf(0x406)][_0x2acecf(0x2e7)]:{const {fieldJson:_0x578520,area:_0x5355a0,index:_0x145f0b}=_0x5b9c4b,_0x4c9286={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldJson':_0x578520,'area':_0x5355a0,'index':_0x145f0b},_0x1affa4={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x578520['id'],'area':_0x5355a0,'index':_0x145f0b};_0x4415a3['push']({'id':_0x4f9dee['id'],'params':_0x4c9286}),_0xa79cf0[_0x2acecf(0x271)]({'id':_0x314e34['id'],'params':_0x1affa4});}break;case _0x1978cb['PivotTableChangeTypeEnum'][_0x2acecf(0x322)]:{const {fieldId:_0x87efb7,newSubtotalType:_0x42b247,oldSubtotalType:_0xf8cf72}=_0x5b9c4b,_0x3c9496={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x87efb7,'subtotalType':_0x42b247};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x4d3daa['id'],'params':_0x3c9496});const _0x3484a4={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x87efb7,'subtotalType':_0xf8cf72};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x4d3daa['id'],'params':_0x3484a4});}break;case _0x1978cb[_0x2acecf(0x406)][_0x2acecf(0xe7)]:{const {fieldId:_0x2d77da,fieldJson:_0x34ede9,area:_0x1f1db1,index:_0x42cdee}=_0x5b9c4b,_0xe93397={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x2d77da,'index':_0x42cdee,'area':_0x1f1db1};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x314e34['id'],'params':_0xe93397});const _0xcc3756={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldJson':_0x34ede9,'area':_0x1f1db1,'index':_0x42cdee};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x4f9dee['id'],'params':_0xcc3756});}break;case _0x1978cb[_0x2acecf(0x406)][_0x2acecf(0x2dc)]:{const {fieldId:_0x102dab,oldName:_0x86af8f,newName:_0x34a36a}=_0x5b9c4b,_0x1ddb9d={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x102dab,'name':_0x34a36a};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x15f90a['id'],'params':_0x1ddb9d});const _0x3c7572={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x102dab,'name':_0x86af8f};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x15f90a['id'],'params':_0x3c7572});}break;case _0x1978cb[_0x2acecf(0x406)]['SetFilterInfo']:{const {fieldId:_0x522ca3,oldFilterInfo:_0x143c8b,newFilterInfo:_0x3eca05}=_0x5b9c4b,_0x253737={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x522ca3,'filterInfo':_0x3eca05};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x25b050['id'],'params':_0x253737});const _0x3a55c9={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x522ca3,'filterInfo':_0x143c8b};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x25b050['id'],'params':_0x3a55c9});}break;case _0x1978cb[_0x2acecf(0x406)][_0x2acecf(0x27b)]:{const {fieldId:_0x14f3e7,oldSortInfo:_0x43d812,newSortInfo:_0x45ada5}=_0x5b9c4b,_0x55f169={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x14f3e7,'sortInfo':_0x45ada5};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x37f93b['id'],'params':_0x55f169});const _0x217202={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x14f3e7,'sortInfo':_0x43d812};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x37f93b['id'],'params':_0x217202});}break;case _0x1978cb[_0x2acecf(0x406)][_0x2acecf(0x37b)]:{const {oldOptions:_0xb1c9cf,newOptions:_0x2c4671}=_0x5b9c4b,_0x797c51={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'options':_0x2c4671};_0x4415a3['push']({'id':_0x377fce['id'],'params':_0x797c51});const _0x15904b={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'options':_0xb1c9cf};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x377fce['id'],'params':_0x15904b});}break;case _0x1978cb[_0x2acecf(0x406)][_0x2acecf(0x2e3)]:{const {oldArea:_0x3de880,newArea:_0x412ce5,oldIndex:_0x2a553b,newIndex:_0x3ef5fe,fieldId:_0xad96e1}=_0x5b9c4b,_0x330cad={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0xad96e1,'area':_0x412ce5,'index':_0x3ef5fe,'oldArea':_0x3de880,'oldIndex':_0x2a553b};_0x4415a3['push']({'id':_0x2d0f45['id'],'params':_0x330cad});const _0x40b17b={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0xad96e1,'area':_0x3de880,'index':_0x2a553b,'oldArea':_0x412ce5,'oldIndex':_0x3ef5fe};_0xa79cf0['unshift']({'id':_0x2d0f45['id'],'params':_0x40b17b});}break;case _0x1978cb[_0x2acecf(0x406)][_0x2acecf(0x26f)]:{const {oldValuePosition:_0x754eb2,newValuePosition:_0x3ec132,oldIndex:_0x447998,newIndex:_0x394d49}=_0x5b9c4b,_0x4b3efd={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'valuePosition':_0x3ec132,'index':_0x394d49};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x27db08['id'],'params':_0x4b3efd});const _0x13bfda={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'valuePosition':_0x754eb2,'index':_0x447998};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x27db08['id'],'params':_0x13bfda});}break;case _0x1978cb['PivotTableChangeTypeEnum'][_0x2acecf(0x2fe)]:{const {fieldId:_0x291a7c,collapse:_0x3a5ebb,item:_0x1fb762}=_0x5b9c4b,_0x261c51={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x291a7c,'collapse':_0x3a5ebb,'item':_0x1fb762};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x3d16f6['id'],'params':_0x261c51});const _0x522b75={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x291a7c,'collapse':!_0x3a5ebb,'item':_0x1fb762};_0xa79cf0['unshift']({'id':_0x3d16f6['id'],'params':_0x522b75});}break;case _0x1978cb['PivotTableChangeTypeEnum'][_0x2acecf(0x1d8)]:{const {newFormat:_0x41c4eb,oldFormat:_0x12f6b1,fieldId:_0x34805c}=_0x5b9c4b,_0x43ef05={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x34805c,'format':_0x41c4eb};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x3af33e['id'],'params':_0x43ef05});const _0x4a64bb={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x34805c,'format':_0x12f6b1};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x3af33e['id'],'params':_0x4a64bb});}break;case _0x1978cb['PivotTableChangeTypeEnum'][_0x2acecf(0x228)]:{const {tableFieldId:_0x28bf5f,oldSourceName:_0x535455,newSourceName:_0x4ec6a3,oldDataFieldId:_0x112a21,newDataFieldId:_0x473ec6}=_0x5b9c4b,_0x57193c={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'tableFieldId':_0x28bf5f,'sourceName':_0x4ec6a3,'dataFieldId':_0x473ec6};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x2da68e['id'],'params':_0x57193c});const _0x50cd4e={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'tableFieldId':_0x28bf5f,'sourceName':_0x535455,'dataFieldId':_0x112a21};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x2da68e['id'],'params':_0x50cd4e});}break;case _0x1978cb[_0x2acecf(0x406)]['SetValueFilter']:{const {fieldId:_0x5a9ec3,filterInfo:_0x41b779,oldFilterInfo:_0x42ca18}=_0x5b9c4b,_0x505ad4={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x5a9ec3,'filterInfo':_0x41b779};_0x4415a3[_0x2acecf(0x2b7)]({'id':_0x4b00fe['id'],'params':_0x505ad4});const _0x1c04d0={'unitId':_0x1ba7af,'subUnitId':_0x3314f8,'pivotTableId':_0xa4d6fa,'fieldId':_0x5a9ec3,'filterInfo':_0x42ca18};_0xa79cf0[_0x2acecf(0x271)]({'id':_0x4b00fe['id'],'params':_0x1c04d0});}}return{'redos':_0x4415a3,'undos':_0xa79cf0};}function _0xdc7318(_0x47d0af,_0x13eb20){const _0x4d1dd5=_0x952e9f;var _0x5d8bea;const _0x426f4a=_0x47d0af['get'](_0x3e9a4b[_0x4d1dd5(0x257)]),{cellInfo:_0x25d99e,view:_0x187840,isEmpty:_0xf28da0}=_0x13eb20;return(_0x5d8bea=_0x426f4a[_0x4d1dd5(0x121)][_0x4d1dd5(0x38d)](_0x2f3b0c)(_0xd6d385,{'cellInfo':_0x25d99e,'view':_0x187840,'isEmpty':_0xf28da0}))!=null?_0x5d8bea:_0xd6d385;}const _0x4eb7ba=()=>typeof process<'u'&&process['versions']!=null&&process[_0x952e9f(0x3e1)]['node']!=null,_0x191981={'type':_0x71e749[_0x952e9f(0x1ff)]['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x3b7172,_0x591274){const _0x2d9844=_0x952e9f;var _0x1a4466;if(!_0x591274)return!0x1;const _0x221eda=_0x3b7172[_0x2d9844(0x3dc)](_0x71e749['IConfigService']);if(!!_0x221eda['getConfig'](_0xf9ba23))return!0x0;const _0x3d9589=_0x3b7172[_0x2d9844(0x3dc)](_0x71e749[_0x2d9844(0x168)]),_0x229139=_0x3b7172[_0x2d9844(0x3dc)](_0x3e9a4b[_0x2d9844(0x386)]),{pivotTableId:_0x5a2682,pivotTableConfig:_0x39fe1f,collectionConfig:_0x1a8470,unitId:_0x475458,subUnitId:_0x5508f8}=_0x591274,{sourceRangeInfo:_0x4c62a5,fieldsConfig:_0x150135,targetCellInfo:_0x40fe0f}=_0x39fe1f,_0x5ef819=_0x3d9589[_0x2d9844(0x38c)](_0x475458);if(!_0x5ef819||!_0x5ef819['getSheetBySheetId'](_0x5508f8))return!0x1;if(!_0x4eb7ba()){let _0x2d3e0f=0x0;_0x5ef819[_0x2d9844(0x342)]()[_0x2d9844(0x1fb)](_0x54e4e3=>{const _0x5beaf3=_0x2d9844;var _0x44cf62,_0x1d3939;_0x2d3e0f+=(_0x1d3939=(_0x44cf62=_0x229139['getSubUnitPivotConfigs'](_0x475458,_0x54e4e3[_0x5beaf3(0x20e)]()))==null?void 0x0:_0x44cf62[_0x5beaf3(0x303)])!=null?_0x1d3939:0x0;});const _0x5d4412=(_0x1a4466=_0x221eda[_0x2d9844(0x2dd)](_0x53e420[_0x2d9844(0xe5)]))!=null?_0x1a4466:{},{ls:_0x36701e,pbk:_0x8d6187}=_0x5d4412;if(!_0x4f39c8(_0x36701e,_0x8d6187))throw new _0x71e749['CustomCommandExecutionError'](_0x2d9844(0x1da));const _0x257e8e=_0xfe1c71(_0x1a1b40,_0x36701e,_0x8d6187)[_0x2d9844(0x165)];if(_0x2d3e0f>=_0x257e8e)throw new _0x71e749[(_0x2d9844(0x27d))]('limit\x20pivot');}if(!_0x1a8470||!_0x150135)return!0x1;const {collection:_0x4e5fec,updateDataFieldList:_0x39fcd2}=_0x229139[_0x2d9844(0x132)](_0x5a2682,_0x1a8470,_0x4c62a5,_0x40fe0f);_0x229139['refreshData'](_0x4e5fec,_0x39fcd2,_0x4c62a5);const _0x238ec1=new _0x1978cb[(_0x2d9844(0x28e))](_0x4e5fec,void 0x0,_0x5a2682);_0x238ec1[_0x2d9844(0x136)](_0x150135);const _0x2e2da7=JSON[_0x2d9844(0x2f8)](JSON[_0x2d9844(0x26d)](_0x39fe1f));return _0x229139[_0x2d9844(0x261)](_0x475458,_0x5508f8,_0x5a2682,_0x238ec1,_0x2e2da7),_0x229139[_0x2d9844(0x1e1)]({'unitId':_0x475458,'subUnitId':_0x5508f8,'token':_0x5a2682,'type':_0x5cfd72[_0x2d9844(0x38e)],'pivotConfig':_0x2e2da7}),!0x0;}},_0x5f2bbe={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'id':_0x952e9f(0x2cf),'handler'(_0x3a819c,_0x7eb95){const _0x4eedce=_0x952e9f;if(!_0x7eb95)return!0x1;if(!!_0x3a819c[_0x4eedce(0x3dc)](_0x71e749['IConfigService'])[_0x4eedce(0x2dd)](_0xf9ba23))return!0x0;const {pivotTableId:_0x233d64,unitId:_0x51035f,subUnitId:_0x162934}=_0x7eb95,_0x4ea2fa=_0x3a819c[_0x4eedce(0x3dc)](_0x3e9a4b['SheetsPivotDataSourceModel']);return _0x4ea2fa[_0x4eedce(0x405)](_0x51035f,_0x162934,_0x233d64)?(_0x4ea2fa[_0x4eedce(0x1e1)]({'unitId':_0x51035f,'subUnitId':_0x162934,'token':_0x233d64,'type':_0x5cfd72[_0x4eedce(0x22c)]}),_0x4ea2fa['removePivotTable'](_0x51035f,_0x162934,_0x233d64),!0x0):!0x1;}},_0x140124={'type':_0x71e749[_0x952e9f(0x1ff)]['MUTATION'],'id':_0x952e9f(0x241),'handler'(_0x3861de,_0x5d0019){const _0x340f91=_0x952e9f;if(!_0x5d0019)return!0x1;if(!!_0x3861de['get'](_0x71e749['IConfigService'])[_0x340f91(0x2dd)](_0xf9ba23))return!0x0;const {pivotTableId:_0x5a4ce3,targetCellPosition:_0x2d8472,unitId:_0x168fef,subUnitId:_0x50f375}=_0x5d0019,_0x126ebb=_0x3861de[_0x340f91(0x3dc)](_0x3e9a4b[_0x340f91(0x386)]);if(!_0x126ebb[_0x340f91(0x123)](_0x5d0019[_0x340f91(0x1a5)]))return!0x1;const _0x2d8a06=_0x126ebb[_0x340f91(0x1cd)](_0x5a4ce3);if(!_0x2d8a06)return!0x1;const _0xab9d1f=_0x126ebb[_0x340f91(0x3b3)](_0x2d8a06[_0x340f91(0x27e)],_0x5d0019['pivotTableId']);if(!_0xab9d1f)return!0x1;const _0x2dca84=_0x126ebb[_0x340f91(0x405)](_0x2d8a06[_0x340f91(0x27e)],_0x2d8a06['subUnitId'],_0x5a4ce3);if(!_0x2dca84)return!0x1;const _0x1076cb=_0x71e749[_0x340f91(0x349)][_0x340f91(0x2b1)](_0x2dca84);_0x1076cb[_0x340f91(0x354)]={'unitId':_0x168fef,'subUnitId':_0x50f375,'row':_0x2d8472[_0x340f91(0x2f4)],'col':_0x2d8472['col']};const _0x18f2ed=_0xab9d1f['toJSON']();if(_0x2d8a06[_0x340f91(0x277)]===_0x50f375&&_0x2d8a06['unitId']===_0x168fef)_0x126ebb['setPivotTable'](_0x168fef,_0x50f375,_0x5a4ce3,_0x1076cb),_0x126ebb[_0x340f91(0x1e1)]({'unitId':_0x168fef,'subUnitId':_0x50f375,'token':_0x5a4ce3,'type':_0x5cfd72[_0x340f91(0x15c)]});else{_0x126ebb[_0x340f91(0x1e1)]({'unitId':_0x2d8a06[_0x340f91(0x27e)],'subUnitId':_0x2d8a06['subUnitId'],'token':_0x5a4ce3,'type':_0x5cfd72['Delete']}),_0x126ebb['removePivotTable'](_0x2d8a06[_0x340f91(0x27e)],_0x2d8a06[_0x340f91(0x277)],_0x5a4ce3);const _0x36b3b6=_0x126ebb[_0x340f91(0x132)](_0x5a4ce3,_0x18f2ed,_0x2dca84[_0x340f91(0x3a8)],_0x1076cb['targetCellInfo']),_0x20ffe7=new _0x1978cb[(_0x340f91(0x28e))](_0x36b3b6[_0x340f91(0x3c4)],void 0x0,_0x5a4ce3);_0x20ffe7['fromJSON'](_0x1076cb[_0x340f91(0x13c)]),_0x126ebb[_0x340f91(0x261)](_0x168fef,_0x50f375,_0x5a4ce3,_0x20ffe7,_0x1076cb),_0x126ebb['addDirtyPivotTable']({'unitId':_0x168fef,'subUnitId':_0x50f375,'token':_0x5a4ce3,'type':_0x5cfd72['Add'],'pivotConfig':_0x1076cb});}return!0x0;}},_0x3f6e25={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':_0x952e9f(0x3c6),'handler'(_0x4ddad1,_0x541f30){const _0x1c7787=_0x952e9f;if(!_0x541f30)return!0x1;if(!!_0x4ddad1[_0x1c7787(0x3dc)](_0x71e749[_0x1c7787(0x225)])[_0x1c7787(0x2dd)](_0xf9ba23))return!0x0;const _0x59bccc=_0x4ddad1[_0x1c7787(0x3dc)](_0x3e9a4b[_0x1c7787(0x386)]),{pivotTableId:_0x49e216,deleteIds:_0x258210,collectionJSON:_0x5a0e30,dataRangeInfo:_0x1e7186,unitId:_0x1d378b,subUnitId:_0x5ec030}=_0x541f30,_0x209f15=_0x59bccc[_0x1c7787(0x123)](_0x49e216),_0x3734ae=_0x59bccc['getPivotTableConfig'](_0x1d378b,_0x5ec030,_0x49e216);if(!_0x209f15||!_0x3734ae)return!0x1;const {collection:_0x541117,updateDataFieldList:_0x3621f4}=_0x59bccc[_0x1c7787(0x132)](_0x49e216,_0x5a0e30,_0x1e7186,_0x3734ae['targetCellInfo']);_0x59bccc['refreshData'](_0x541117,_0x3621f4,_0x1e7186),_0x209f15['updateDataFieldsCollection'](_0x541117);for(const _0x4e88a3 of _0x258210)_0x59bccc[_0x1c7787(0x238)](_0x1e7186[_0x1c7787(0x27e)],_0x4e88a3);const _0x5cceef=_0x59bccc[_0x1c7787(0x405)](_0x1d378b,_0x5ec030,_0x49e216);return _0x5cceef[_0x1c7787(0x3a8)]=JSON[_0x1c7787(0x2f8)](JSON[_0x1c7787(0x26d)](_0x1e7186)),_0x59bccc[_0x1c7787(0x1e1)]({'unitId':_0x1d378b,'subUnitId':_0x5ec030,'token':_0x49e216,'type':_0x5cfd72[_0x1c7787(0x15c)]}),!0x0;}},_0x4c380b={'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'id':_0x952e9f(0x358),'handler'(){return!0x0;}};var _0x5418e5=Object[_0x952e9f(0x169)],_0x20344f=(_0x59b0ea,_0x35e3bc,_0xf33d74,_0x2c2ff3)=>{for(var _0x5b7328=_0x2c2ff3>0x1?void 0x0:_0x2c2ff3?_0x5418e5(_0x35e3bc,_0xf33d74):_0x35e3bc,_0x27dd01=_0x59b0ea['length']-0x1,_0x9b3be;_0x27dd01>=0x0;_0x27dd01--)(_0x9b3be=_0x59b0ea[_0x27dd01])&&(_0x5b7328=_0x9b3be(_0x5b7328)||_0x5b7328);return _0x5b7328;},_0x5cf7ba=(_0x4da91b,_0x15fa7e)=>(_0xd92874,_0x53c1ee)=>_0x15fa7e(_0xd92874,_0x53c1ee,_0x4da91b);_0x3e9a4b['SheetsPivotRPCService']=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x10e60a,_0x25f6eb){const _0x389bc6=_0x952e9f;super(),_0x59bac0(this,'_requestResolvers',new Map()),(this[_0x389bc6(0x170)]=_0x10e60a,this[_0x389bc6(0x107)]=_0x25f6eb);}[_0x952e9f(0x30a)](_0x5bab64){const _0x1a7818=_0x952e9f,{version:_0x15d47b}=_0x5bab64,_0x8f2e69=this[_0x1a7818(0x208)][_0x1a7818(0x3dc)](_0x15d47b);_0x8f2e69&&(_0x8f2e69(_0x5bab64),this[_0x1a7818(0x208)][_0x1a7818(0x366)](_0x15d47b));}[_0x952e9f(0x1c1)](_0x28ae31){return new Promise((_0x197c61,_0xa8ae60)=>{const _0x16b23f=_0x2e3d,_0x3f4f14=this[_0x16b23f(0x283)]();this[_0x16b23f(0x208)]['set'](_0x3f4f14,_0x197c61),this[_0x16b23f(0x107)][_0x16b23f(0xfd)](_0x1efe7b['id'],{'version':_0x3f4f14,..._0x28ae31},{'onlyLocal':!0x0});});}[_0x952e9f(0x283)](){const _0x278965=_0x952e9f;return Math[_0x278965(0x270)]()[_0x278965(0x2d6)](0x24)[_0x278965(0x3fe)](0x2,0x10);}},_0x3e9a4b['SheetsPivotRPCService']=_0x20344f([_0x5cf7ba(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x297)])),_0x5cf7ba(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x71e749['ICommandService']))],_0x3e9a4b[_0x952e9f(0x211)]);const _0x5e9fc0={'id':_0x952e9f(0x2b3),'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'handler':(_0x22dba0,_0x4313cb)=>{const _0x501b65=_0x952e9f;if(!_0x4313cb)return!0x1;if(!!_0x22dba0['get'](_0x71e749[_0x501b65(0x225)])[_0x501b65(0x2dd)](_0xf9ba23))return!0x0;const {pivotTableId:_0x10d211,fieldJSON:_0x500e6b,unitId:_0x4de381,subUnitId:_0x516609}=_0x4313cb,_0xe88cd0=_0x1978cb['BaseGroupField'][_0x501b65(0x136)](_0x500e6b);if(!_0xe88cd0)return!0x1;const _0x54675e=_0x22dba0[_0x501b65(0x3dc)](_0x3e9a4b[_0x501b65(0x386)]),_0x107188=_0x54675e['getDataFieldManager'](_0x4de381),_0x24ee10=_0x107188[_0x501b65(0x3b3)](_0x10d211);_0x107188[_0x501b65(0x10b)](_0xe88cd0),_0x24ee10[_0x501b65(0x1de)](_0xe88cd0['getId'](),_0xe88cd0['getName']());const _0x592cd5=_0x24ee10[_0x501b65(0x17d)](_0xe88cd0[_0x501b65(0x245)]());_0x592cd5&&_0xe88cd0[_0x501b65(0x2f1)](_0x592cd5);const _0x1e79d0=_0x54675e[_0x501b65(0x405)](_0x4de381,_0x516609,_0x10d211);return _0x54675e[_0x501b65(0x1e1)]({'unitId':_0x4de381,'subUnitId':_0x516609,'token':_0x10d211,'type':_0x5cfd72['Set'],'pivotConfig':_0x1e79d0}),!0x0;}},_0x9a9807={'id':_0x952e9f(0x407),'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0x334)],'handler':(_0x23636f,_0x273031)=>{const _0x543898=_0x952e9f;if(!_0x273031)return!0x1;if(!!_0x23636f[_0x543898(0x3dc)](_0x71e749[_0x543898(0x225)])[_0x543898(0x2dd)](_0xf9ba23))return!0x0;const {pivotTableId:_0x3a33ed,dataFieldId:_0x11fff1,unitId:_0x2bb5f5,subUnitId:_0x5877b0}=_0x273031,_0x52daef=_0x23636f[_0x543898(0x3dc)](_0x3e9a4b['SheetsPivotDataSourceModel']),_0x2a26e6=_0x52daef[_0x543898(0x351)](_0x2bb5f5);_0x2a26e6['getCollection'](_0x3a33ed)[_0x543898(0x3cf)](_0x11fff1);let _0x43d70a=!0x0;for(const _0x4fff69 in _0x2a26e6[_0x543898(0x3d8)])if(_0x2a26e6['collections'][_0x4fff69]['getFieldIds']()[_0x543898(0x302)](_0x11fff1)){_0x43d70a=!0x1;break;}_0x43d70a&&_0x2a26e6[_0x543898(0x1eb)](_0x11fff1);const _0xb07419=_0x52daef['getPivotTableConfig'](_0x2bb5f5,_0x5877b0,_0x3a33ed);return _0x52daef[_0x543898(0x1e1)]({'unitId':_0x2bb5f5,'subUnitId':_0x5877b0,'token':_0x3a33ed,'type':_0x5cfd72[_0x543898(0x15c)],'pivotConfig':_0xb07419}),!0x0;}},_0x1515c8={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x405265,_0x29859d){const _0x1a7d3f=_0x952e9f;if(!_0x29859d)return!0x1;const _0x1121f0=_0x405265[_0x1a7d3f(0x3dc)](_0x71e749[_0x1a7d3f(0x1ec)]),_0x47dcea=_0x405265[_0x1a7d3f(0x3dc)](_0x3e9a4b['SheetsPivotRPCService']),_0x5dc0b4=_0x405265['get'](_0x71e749[_0x1a7d3f(0x1e7)]),{pivotTableId:_0x40be22,dataFieldId:_0x503ff1,fieldArea:_0xaad9bf,index:_0x3f15be,unitId:_0x47ab07,subUnitId:_0x445616}=_0x29859d,_0x2ab123=(await _0x47dcea[_0x1a7d3f(0x1c1)]({'unitId':_0x47ab07,'subUnitId':_0x445616,'pivotTableId':_0x40be22,'params':{'type':_0x2dff37[_0x1a7d3f(0x400)],'addPivotField':{'dataFieldId':_0x503ff1,'fieldArea':_0xaad9bf,'index':_0x3f15be}}}))[_0x1a7d3f(0x144)][_0x1a7d3f(0xec)];if(!_0x2ab123)return!0x1;const {view:_0x409a52,changesets:_0x292144,isEmpty:_0x382a5a,pivotTableConfig:_0x8eaa8,shouldBeAddedGroupJSON:_0x2cd2c8}=_0x2ab123,_0x3506e1=_0x8eaa8[_0x1a7d3f(0x354)],_0x47d5db=new _0x1978cb[(_0x1a7d3f(0x26b))]();_0x47d5db['formJSON'](_0x409a52);const _0x21f83d={'cellInfo':_0x3506e1,'view':_0x47d5db,'isEmpty':_0x382a5a};if(!await _0x405265[_0x1a7d3f(0x3dc)](_0x3e9a4b['SheetsPivotTableService'])[_0x1a7d3f(0xf6)]['fetchThroughAsyncInterceptors'](_0x178140)(!0x0,_0x21f83d))return!0x1;const _0x4de947=_0xed8bbb(_0x405265,_0x47d5db,_0x3506e1,_0x382a5a),_0x4d5743=_0xdc7318(_0x405265,_0x21f83d),{undos:_0x1750be,redos:_0x550f97}=_0x2dd215(_0x1121f0,{'pivotTableId':_0x40be22,'unitId':_0x47ab07,'subUnitId':_0x445616},_0x292144);return _0x2cd2c8&&(_0x550f97[_0x1a7d3f(0x271)]({'id':_0x5e9fc0['id'],'params':{'pivotTableId':_0x40be22,'fieldJSON':_0x2cd2c8,'unitId':_0x47ab07,'subUnitId':_0x445616}}),_0x1750be[_0x1a7d3f(0x2b7)]({'id':_0x9a9807['id'],'params':{'pivotTableId':_0x40be22,'dataFieldId':_0x2cd2c8['id'],'unitId':_0x47ab07,'subUnitId':_0x445616}})),_0x71e749['sequenceExecute']([..._0x4de947[_0x1a7d3f(0x1ae)],..._0x4d5743[_0x1a7d3f(0x1ae)],..._0x550f97],_0x1121f0),_0x5dc0b4[_0x1a7d3f(0x23a)]({'unitID':_0x47ab07,'redoMutations':[..._0x4de947[_0x1a7d3f(0x1ae)],..._0x4d5743[_0x1a7d3f(0x1ae)],..._0x550f97],'undoMutations':[..._0x4de947[_0x1a7d3f(0x233)],..._0x4d5743['undos'],..._0x1750be]}),!0x0;}},_0x5f392f={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':_0x952e9f(0x1d4),async 'handler'(_0x14f7cb,_0x2ee910){const _0x236484=_0x952e9f;if(!_0x2ee910)return!0x1;const {sourceDataInfo:_0x16a25f,pivotTableConfig:_0x121b6d}=_0x2ee910;if(!_0x16a25f||!_0x121b6d)return!0x1;const {unitId:_0x45fa1e,subUnitId:_0x4f9938,range:_0x4b7495}=_0x16a25f,_0x5cd166=_0x14f7cb[_0x236484(0x3dc)](_0x71e749[_0x236484(0x168)]),_0x516f2a=_0x14f7cb[_0x236484(0x3dc)](_0x3e9a4b[_0x236484(0x211)]),_0x443306=_0x14f7cb[_0x236484(0x3dc)](_0x71e749[_0x236484(0x364)]),_0x12106d=_0x14f7cb[_0x236484(0x3dc)](_0x71e749['ICommandService']),_0x87bd4c=_0x5cd166[_0x236484(0x38c)](_0x45fa1e);if(!_0x87bd4c)return!0x1;const _0x107971=_0x87bd4c[_0x236484(0x216)](_0x4f9938);if(!_0x107971)return!0x1;const _0x466dbe=_0x1978cb[_0x236484(0x24d)](0x8),_0xc10ffe=_0x4b7495||{'startRow':0x0,'startColumn':0x0,'endRow':_0x107971['getRowCount']()-0x1,'endColumn':_0x107971[_0x236484(0x202)]()-0x1};_0xc10ffe[_0x236484(0x396)]=_0x71e749[_0x236484(0x28c)][_0x236484(0x3c3)];const _0x4edb2f=(await _0x516f2a[_0x236484(0x1c1)]({'unitId':_0x45fa1e,'subUnitId':_0x4f9938,'pivotTableId':_0x466dbe,'params':{'type':_0x2dff37[_0x236484(0x3bc)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x45fa1e,'sheetName':_0x107971[_0x236484(0x134)](),'subUnitId':_0x4f9938,'range':_0xc10ffe},'pivotTableId':_0x466dbe,'pivotTableIndexConfig':_0x121b6d}}}))[_0x236484(0x144)][_0x236484(0x127)];if(!_0x4edb2f)return!0x1;const {isEmpty:_0x9795e9,fieldsConfig:_0x531c23,collectionConfig:_0x209ae6,changesets:_0x5d45dd}=_0x4edb2f,_0x3c37db=_0x87bd4c[_0x236484(0x342)]()[_0x236484(0x278)],_0x5c55e1=_0x71e749[_0x236484(0x187)]({'rowCount':_0x107971[_0x236484(0x1bd)]()-0x1,'columnCount':_0x107971[_0x236484(0x202)]()-0x1});_0x5c55e1['id']=_0x71e749[_0x236484(0x343)](),_0x5c55e1[_0x236484(0x218)]=_0x87bd4c[_0x236484(0x3eb)](''+_0x443306['t'](_0x236484(0x1cb)));const _0x34128c={'index':_0x3c37db,'sheet':_0x5c55e1,'unitId':_0x45fa1e},{redos:_0x24ba2e}=_0x2dd215(_0x12106d,{'pivotTableId':_0x466dbe,'unitId':_0x45fa1e,'subUnitId':_0x5c55e1['id']},_0x5d45dd),_0x52e7a4=[{'id':_0x2a18e2[_0x236484(0x182)]['id'],'params':_0x34128c},{'id':_0x191981['id'],'params':{'unitId':_0x45fa1e,'subUnitId':_0x5c55e1['id'],'pivotTableId':_0x466dbe,'pivotTableConfig':{'isEmpty':_0x9795e9,'fieldsConfig':_0x531c23,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x45fa1e,'subUnitId':_0x5c55e1['id']},'sourceRangeInfo':{'subUnitId':_0x4f9938,'unitId':_0x45fa1e,'range':_0xc10ffe,'sheetName':_0x107971[_0x236484(0x134)]()}},'collectionConfig':_0x209ae6}},..._0x24ba2e];return _0x71e749[_0x236484(0x296)](_0x52e7a4,_0x12106d),!0x0;}},_0x38b0a9={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':_0x952e9f(0x331),async 'handler'(_0x3e1f6b,_0x148a5c){const _0x4b8c1e=_0x952e9f;var _0xb1e43d,_0x1f3eff;const _0x2cb5e1=_0x3e1f6b[_0x4b8c1e(0x3dc)](_0x71e749['ICommandService']),_0x5a11a9=_0x3e1f6b[_0x4b8c1e(0x3dc)](_0x71e749[_0x4b8c1e(0x168)]),_0x523bb2=_0x3e1f6b[_0x4b8c1e(0x3dc)](_0x71e749[_0x4b8c1e(0x364)]),_0x44cd13=_0x3e1f6b['get'](_0x3e9a4b[_0x4b8c1e(0x211)]),_0x576bfa=_0x3e1f6b[_0x4b8c1e(0x3dc)](_0x71e749[_0x4b8c1e(0x1e7)]),_0x52c856=_0x3e1f6b[_0x4b8c1e(0x3dc)](_0x3e9a4b[_0x4b8c1e(0x299)]),_0x2018c1=_0x3e1f6b['get'](_0x71e749[_0x4b8c1e(0x225)]);if(!_0x148a5c)return!0x1;const {pivotTableConfig:_0x2209d1,positionType:_0x2e89b8}=_0x148a5c,{targetCellInfo:_0x2d3321,sourceRangeInfo:_0x892022}=_0x2209d1,{unitId:_0x42cd4e,subUnitId:_0x54fe64}=_0x2d3321,_0x7ebce9=_0x5a11a9[_0x4b8c1e(0x38c)](_0x42cd4e);if(!_0x7ebce9)return!0x1;let _0x10feca=0x0;_0x7ebce9[_0x4b8c1e(0x342)]()[_0x4b8c1e(0x1fb)](_0x4631a4=>{const _0x145a62=_0x4b8c1e;var _0x34e5e9,_0x184ed4;_0x10feca+=(_0x184ed4=(_0x34e5e9=_0x52c856['getSubUnitPivotConfigs'](_0x42cd4e,_0x4631a4[_0x145a62(0x20e)]()))==null?void 0x0:_0x34e5e9[_0x145a62(0x303)])!=null?_0x184ed4:0x0;});const _0xa531ef=(_0xb1e43d=_0x2018c1['getConfig'](_0x53e420[_0x4b8c1e(0xe5)]))!=null?_0xb1e43d:{},{ls:_0x242940,pbk:_0x4d451c}=_0xa531ef;if(!_0x4f39c8(_0x242940,_0x4d451c))return!0x1;const _0x17672f=_0xfe1c71(_0x1a1b40,_0x242940,_0x4d451c)[_0x4b8c1e(0x165)];if(_0x10feca>=_0x17672f)return!0x1;const _0xb336f=_0x148a5c[_0x4b8c1e(0x1a5)]||_0x1978cb[_0x4b8c1e(0x24d)](0x8),_0x14c1ed=(await _0x44cd13[_0x4b8c1e(0x1c1)]({'unitId':_0x42cd4e,'subUnitId':_0x54fe64,'pivotTableId':_0xb336f,'params':{'type':_0x2dff37[_0x4b8c1e(0x3a2)],'addPivotTable':{'sourceRangeInfo':_0x892022,'pivotTableId':_0xb336f}}}))[_0x4b8c1e(0x144)][_0x4b8c1e(0x261)];if(!_0x14c1ed)return!0x1;const {view:_0x484b2f,isEmpty:_0x176b97,fieldsConfig:_0x114610,collectionConfig:_0x2b9c15}=_0x14c1ed,_0x5e9996=[],_0x543fe7=[];if(_0x2e89b8===_0x17cb1b[_0x4b8c1e(0x365)]){const _0x35c4e5=_0x7ebce9[_0x4b8c1e(0x342)]()[_0x4b8c1e(0x278)],_0x142fb7=_0x71e749[_0x4b8c1e(0x187)]({});_0x142fb7['id']=_0x2209d1[_0x4b8c1e(0x354)][_0x4b8c1e(0x277)],_0x142fb7[_0x4b8c1e(0x218)]=(_0x1f3eff=_0x2209d1['targetCellInfo'][_0x4b8c1e(0x1db)])!=null?_0x1f3eff:_0x7ebce9[_0x4b8c1e(0x3eb)](''+_0x523bb2['t'](_0x4b8c1e(0x1cb)));const _0x22f9fa={'index':_0x35c4e5,'sheet':_0x142fb7,'unitId':_0x42cd4e},_0x37ffd5=_0x2a18e2[_0x4b8c1e(0x2c8)](_0x3e1f6b,_0x22f9fa);_0x5e9996['push']({'id':_0x2a18e2[_0x4b8c1e(0x36d)]['id'],'params':_0x37ffd5}),_0x543fe7[_0x4b8c1e(0x2b7)]({'id':_0x2a18e2[_0x4b8c1e(0x203)]['id'],'params':_0x22f9fa});}else{if(!_0x7ebce9['getSheetBySheetId'](_0x54fe64))return!0x1;const _0x52365c=_0xed8bbb(_0x3e1f6b,new _0x1978cb[(_0x4b8c1e(0x26b))](),_0x2d3321,!0x0);_0x543fe7['push'](..._0x52365c[_0x4b8c1e(0x1ae)]),_0x5e9996[_0x4b8c1e(0x2b7)](..._0x52365c[_0x4b8c1e(0x233)]);const _0x3e958b={'cellInfo':_0x2d3321,'view':_0x484b2f,'isEmpty':_0x176b97};if(!await _0x3e1f6b[_0x4b8c1e(0x3dc)](_0x3e9a4b[_0x4b8c1e(0x257)])['asyncInterceptor'][_0x4b8c1e(0x17e)](_0x178140)(!0x0,_0x3e958b))return!0x1;const _0x541726=_0xdc7318(_0x3e1f6b,_0x3e958b);_0x543fe7['push'](..._0x541726[_0x4b8c1e(0x1ae)]),_0x5e9996[_0x4b8c1e(0x2b7)](..._0x541726['undos']);}return _0x543fe7[_0x4b8c1e(0x2b7)]({'id':_0x191981['id'],'params':{'unitId':_0x2d3321[_0x4b8c1e(0x27e)],'subUnitId':_0x2d3321[_0x4b8c1e(0x277)],'pivotTableId':_0xb336f,'pivotTableConfig':{'targetCellInfo':_0x2d3321,'sourceRangeInfo':_0x892022,'fieldsConfig':_0x114610},'collectionConfig':_0x2b9c15}}),_0x5e9996[_0x4b8c1e(0x271)]({'id':_0x5f2bbe['id'],'params':{'unitId':_0x42cd4e,'subUnitId':_0x54fe64,'pivotTableId':_0xb336f}}),_0x71e749['sequenceExecute'](_0x543fe7,_0x2cb5e1)&&_0x576bfa[_0x4b8c1e(0x23a)]({'unitID':_0x42cd4e,'undoMutations':_0x5e9996,'redoMutations':_0x543fe7}),!0x0;}},_0x2f6a17={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x4b39fc,_0x503b52){const _0x3be36a=_0x952e9f;if(!_0x503b52)return!0x1;const _0x1eafda=_0x4b39fc[_0x3be36a(0x3dc)](_0x71e749[_0x3be36a(0x1ec)]),_0x44202b=_0x4b39fc[_0x3be36a(0x3dc)](_0x3e9a4b[_0x3be36a(0x211)]),_0x19114f=_0x4b39fc[_0x3be36a(0x3dc)](_0x71e749[_0x3be36a(0x1e7)]),{pivotTableId:_0x5ddf9f,fieldId:_0x1dd58b,area:_0x450156,index:_0x5bad34,unitId:_0x3720e3,subUnitId:_0x2fcabe}=_0x503b52,_0x472467=(await _0x44202b[_0x3be36a(0x1c1)]({'unitId':_0x3720e3,'subUnitId':_0x2fcabe,'pivotTableId':_0x5ddf9f,'params':{'type':_0x2dff37[_0x3be36a(0x20a)],'movePivotField':{'fieldId':_0x1dd58b,'area':_0x450156,'index':_0x5bad34}}}))['result'][_0x3be36a(0x232)];if(!_0x472467)return!0x1;const {changesets:_0x16c78f,view:_0x47477b,isEmpty:_0x1bf846,pivotTableConfig:_0x3e69a0}=_0x472467,_0x2cedea=_0x3e69a0['targetCellInfo'],_0x59a9dc=new _0x1978cb[(_0x3be36a(0x26b))]();_0x59a9dc[_0x3be36a(0x15d)](_0x47477b);const _0x3da50d={'cellInfo':_0x2cedea,'view':_0x59a9dc,'isEmpty':_0x1bf846};if(!await _0x4b39fc[_0x3be36a(0x3dc)](_0x3e9a4b[_0x3be36a(0x257)])['asyncInterceptor'][_0x3be36a(0x17e)](_0x178140)(!0x0,_0x3da50d))return!0x1;const _0x3e8728=_0xed8bbb(_0x4b39fc,_0x59a9dc,_0x2cedea,_0x1bf846),_0x27240a=_0xdc7318(_0x4b39fc,_0x3da50d),{redos:_0x4bc0ee,undos:_0xf115e}=_0x2dd215(_0x1eafda,{'pivotTableId':_0x5ddf9f,'unitId':_0x3720e3,'subUnitId':_0x2fcabe},_0x16c78f);return _0x71e749[_0x3be36a(0x296)]([..._0x3e8728['redos'],..._0x27240a[_0x3be36a(0x1ae)],..._0x4bc0ee],_0x1eafda),_0x19114f['pushUndoRedo']({'unitID':_0x3720e3,'redoMutations':[..._0x3e8728['redos'],..._0x27240a['redos'],..._0x4bc0ee],'undoMutations':[..._0x3e8728[_0x3be36a(0x233)],..._0x27240a['undos'],..._0xf115e]}),!0x0;}},_0x27a793={'type':_0x71e749['CommandType'][_0x952e9f(0xf7)],'id':_0x952e9f(0x240),async 'handler'(_0x287c9e,_0x3f3191){const _0x4fe962=_0x952e9f;var _0x9ceecc;if(!_0x3f3191)return!0x1;const _0x36cdd6=_0x287c9e[_0x4fe962(0x3dc)](_0x71e749['IUniverInstanceService']),_0x11e0db=_0x2a18e2[_0x4fe962(0x1cf)](_0x36cdd6);if(!_0x11e0db)return!0x1;const {unitId:_0x4ef721,subUnitId:_0x4e0de3,workbook:_0x2692fe}=_0x11e0db,{row:_0x53c783,col:_0x4d0376}=_0x3f3191,_0x3fd1ba=_0x287c9e['get'](_0x3e9a4b[_0x4fe962(0x3de)]),_0x27ff2e=_0x3fd1ba[_0x4fe962(0x275)](_0x4ef721,_0x4e0de3,_0x53c783,_0x4d0376);if(!_0x27ff2e)return!0x1;const _0xf3c290=(_0x9ceecc=_0x3fd1ba[_0x4fe962(0x285)](_0x4ef721,_0x4e0de3,_0x27ff2e))==null?void 0x0:_0x9ceecc[_0x4fe962(0x254)];if(!_0xf3c290)return!0x1;const _0x3ee529=_0x287c9e[_0x4fe962(0x3dc)](_0x3e9a4b[_0x4fe962(0x299)])['getPivotTableConfig'](_0x4ef721,_0x4e0de3,_0x27ff2e);if(!_0x3ee529)return!0x1;const {rowInfo:_0x38b787,colInfo:_0x506497}=_0xf3c290,_0x1ecbd9=_0x38b787[_0x53c783][_0x4fe962(0x324)],_0x26a78=_0x506497[_0x4d0376][_0x4fe962(0x324)],_0x17abe8=_0x38b787[_0x53c783]['level'],_0x9f4b6e=_0x506497[_0x4d0376][_0x4fe962(0x146)],_0x49a6f2=_0x1ecbd9[_0x4fe962(0x3b2)](_0x26a78),_0x206d67=_0x3ee529[_0x4fe962(0x13c)][_0x4fe962(0x318)][_0x4fe962(0x171)](0x0,_0x17abe8),_0x484490=_0x3ee529['fieldsConfig'][_0x4fe962(0x35c)][_0x4fe962(0x171)](0x0,_0x9f4b6e),_0x32af74=_0x206d67[_0x4fe962(0x3b2)](_0x484490),_0xf1a9e4=_0x49a6f2[_0x4fe962(0x2c3)]((_0x30f863,_0x4ee797)=>[_0x30f863,_0x32af74[_0x4ee797]]),_0x51d178=(await _0x287c9e['get'](_0x3e9a4b[_0x4fe962(0x211)])[_0x4fe962(0x1c1)]({'unitId':_0x4ef721,'subUnitId':_0x4e0de3,'pivotTableId':_0x27ff2e,'params':{'type':_0x2dff37['DrillDown'],'drillDown':{'tuple':_0xf1a9e4}}}))['result'][_0x4fe962(0x16f)];if(!_0x51d178)return!0x1;const {indexes:_0x529d89,range:_0x1b78d2,sourceUnitId:_0x686cb8,sourceSubUnitId:_0x21251e,formatMap:_0x49f071}=_0x51d178,{startRow:_0x1ed92c,endRow:_0x1ff6af,startColumn:_0x437361,endColumn:_0x1284e7}=_0x1b78d2,_0x590c22=new _0x71e749[(_0x4fe962(0x3f8))](),_0x4fadfc=_0x1ff6af-_0x1ed92c,_0x166140=_0x1284e7-_0x437361,_0x3616a0={},_0x513fcd=_0x2a18e2[_0x4fe962(0x1cf)](_0x36cdd6,{'unitId':_0x686cb8,'subUnitId':_0x21251e});if(!_0x513fcd)return!0x1;const _0x33286d=_0x4f9185[_0x4fe962(0x1dc)],_0x186a15=_0x4f9185[_0x4fe962(0x2bd)],_0x1e7a2d=_0x4f9185[_0x4fe962(0x2bd)],_0x18da0a=_0x2692fe[_0x4fe962(0x3a1)]()['setValue'](_0x33286d),_0x2ba761=_0x2692fe[_0x4fe962(0x3a1)]()[_0x4fe962(0x183)](_0x186a15),_0x2573ea=_0x2692fe['getStyles']()['setValue'](_0x1e7a2d),{worksheet:_0x248984}=_0x513fcd;let _0x34ee7c=0x0;const _0x2d0acd=0x1;_0x529d89[_0x4fe962(0x1fb)](_0xb22674=>{const _0x256389=_0x4fe962;for(let _0x479bb3=0x0;_0x479bb3<=_0x1284e7-_0x437361;_0x479bb3++)_0x590c22['setValue'](_0x34ee7c,_0x479bb3,_0x248984[_0x256389(0x24e)](_0xb22674+_0x1b78d2['startRow']+_0x2d0acd,_0x479bb3));_0x34ee7c++;});for(let _0xbc1e0c=_0x437361;_0xbc1e0c<=_0x1284e7;_0xbc1e0c++){const _0x7c6b39=_0x248984[_0x4fe962(0x24e)](_0x1ed92c,_0xbc1e0c);_0x3616a0[_0x1ed92c]||(_0x3616a0[_0x1ed92c]={}),_0x3616a0[_0x1ed92c][_0xbc1e0c]={..._0x7c6b39,'s':_0x18da0a};}let _0x3474c3=0x1;const _0x4856ca={},_0x117a21={};_0x590c22[_0x4fe962(0x14f)]((_0x464418,_0x16a93e)=>{const _0x5ee85a=_0x4fe962;_0x16a93e[_0x5ee85a(0x1fb)](_0x4d8bf4=>{const _0x4b730b=_0x5ee85a,_0x49e7d5=_0x590c22[_0x4b730b(0x3ea)](_0x464418,_0x4d8bf4);if(_0x3616a0[_0x3474c3]||(_0x3616a0[_0x3474c3]={}),_0x3616a0[_0x3474c3][_0x4d8bf4]={..._0x49e7d5,'s':_0x3474c3%0x2===0x0?_0x2573ea:_0x2ba761},_0x49f071[_0x4d8bf4]&&_0x464418>=0x0){const _0x3fa785=_0x3474c3%0x2===0x0;let _0x124f36=_0x3fa785?_0x117a21[_0x4d8bf4]:_0x4856ca[_0x4d8bf4];_0x124f36||(_0x124f36=_0x2692fe[_0x4b730b(0x3a1)]()[_0x4b730b(0x183)]({..._0x3fa785?_0x1e7a2d:_0x186a15,'n':{'pattern':_0x49f071[_0x4d8bf4]}}),_0x3fa785?_0x117a21[_0x4d8bf4]=_0x124f36:_0x4856ca[_0x4d8bf4]=_0x124f36),_0x3616a0[_0x3474c3][_0x4d8bf4]['s']=_0x124f36;}}),_0x3474c3++;});const _0x82cdfd=new _0x71e749[(_0x4fe962(0x3f8))](_0x3616a0),_0x37c32e={};_0x82cdfd[_0x4fe962(0x2c5)]((_0x149bf9,_0x2918d1,_0x44e869)=>{_0x37c32e[_0x149bf9]||(_0x37c32e[_0x149bf9]={}),_0x37c32e[_0x149bf9][_0x2918d1]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4f81ac=[],_0x3c162c=[],_0x1bc0a7=_0x2692fe[_0x4fe962(0x342)]()[_0x4fe962(0x278)],_0x50111e=_0x71e749[_0x4fe962(0x187)]({'rowCount':Math[_0x4fe962(0x368)](_0x71e749[_0x4fe962(0x30f)],_0x4fadfc+0xa),'columnCount':Math[_0x4fe962(0x368)](_0x71e749[_0x4fe962(0x201)],_0x166140+0x5)}),_0x4bcfab=_0x287c9e[_0x4fe962(0x3dc)](_0x71e749[_0x4fe962(0x364)]);_0x50111e['id']=_0x71e749[_0x4fe962(0x343)](),_0x50111e[_0x4fe962(0x218)]=_0x2692fe[_0x4fe962(0x3eb)](''+_0x4bcfab['t'](_0x4fe962(0x1cb)));const _0x2319cd={'index':_0x1bc0a7,'sheet':_0x50111e,'unitId':_0x4ef721},_0x4e1737=_0x2a18e2['InsertSheetUndoMutationFactory'](_0x287c9e,_0x2319cd);_0x3c162c['push']({'id':_0x2a18e2[_0x4fe962(0x203)]['id'],'params':_0x2319cd}),_0x4f81ac[_0x4fe962(0x2b7)]({'id':_0x2a18e2[_0x4fe962(0x36d)]['id'],'params':_0x4e1737}),_0x3c162c[_0x4fe962(0x2b7)]({'id':_0x2a18e2['SetRangeValuesMutation']['id'],'params':{'unitId':_0x4ef721,'subUnitId':_0x50111e['id'],'cellValue':_0x3616a0}}),_0x4f81ac['unshift']({'id':_0x2a18e2[_0x4fe962(0x13b)]['id'],'params':{'unitId':_0x4ef721,'subUnitId':_0x50111e['id'],'cellValue':_0x37c32e}});const _0x9dcf07={'startRow':0x0,'startColumn':0x0,'endRow':_0x3474c3-0x1,'endColumn':_0x1284e7};_0x3c162c[_0x4fe962(0x2b7)]({'id':_0x5b4ef3[_0x4fe962(0x2a6)]['id'],'params':{'unitId':_0x4ef721,'subUnitId':_0x50111e['id'],'range':_0x9dcf07}}),_0x4f81ac[_0x4fe962(0x271)]({'id':_0x5b4ef3['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x4ef721,'subUnitId':_0x50111e['id']}});const _0x6dc018=_0x287c9e[_0x4fe962(0x3dc)](_0x71e749[_0x4fe962(0x1ec)]);return _0x71e749['sequenceExecute'](_0x3c162c,_0x6dc018)&&_0x287c9e[_0x4fe962(0x3dc)](_0x71e749[_0x4fe962(0x1e7)])[_0x4fe962(0x23a)]({'unitID':_0x4ef721,'undoMutations':_0x4f81ac,'redoMutations':_0x3c162c}),!0x0;}},_0x2565f1={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':_0x952e9f(0x2af),async 'handler'(_0x15a7a5,_0x2422cf){const _0x34390c=_0x952e9f;if(!_0x2422cf)return!0x1;const _0x51a9f2=_0x15a7a5[_0x34390c(0x3dc)](_0x71e749[_0x34390c(0x1ec)]),_0x2f3f8c=_0x15a7a5[_0x34390c(0x3dc)](_0x3e9a4b[_0x34390c(0x211)]),_0x136fe4=_0x15a7a5[_0x34390c(0x3dc)](_0x71e749[_0x34390c(0x1e7)]),{pivotTableId:_0x4ee466,fieldIds:_0x2df255,unitId:_0x4adc54,subUnitId:_0x4b2b10}=_0x2422cf,_0x33595a=(await _0x2f3f8c['getPivotDisplayConfig']({'unitId':_0x4adc54,'subUnitId':_0x4b2b10,'pivotTableId':_0x4ee466,'params':{'type':_0x2dff37['RemovePivotField'],'removePivotField':{'fieldIds':_0x2df255}}}))[_0x34390c(0x144)][_0x34390c(0x395)];if(!_0x33595a)return!0x1;const {view:_0x29cef1,changesets:_0xfd762b,isEmpty:_0xb576db,pivotTableConfig:_0x28c3fd}=_0x33595a,_0xd9df8e=_0x28c3fd[_0x34390c(0x354)],_0x30ff2b=new _0x1978cb[(_0x34390c(0x26b))]();_0x30ff2b[_0x34390c(0x15d)](_0x29cef1);const _0x16c62b={'cellInfo':_0xd9df8e,'view':_0x30ff2b,'isEmpty':_0xb576db};if(!await _0x15a7a5[_0x34390c(0x3dc)](_0x3e9a4b[_0x34390c(0x257)])['asyncInterceptor'][_0x34390c(0x17e)](_0x178140)(!0x0,_0x16c62b))return!0x1;const _0xe9239d=_0xed8bbb(_0x15a7a5,_0x30ff2b,_0xd9df8e,_0xb576db),_0x50bb53=_0xdc7318(_0x15a7a5,_0x16c62b),{redos:_0x9cafc2,undos:_0x5794fc}=_0x2dd215(_0x51a9f2,{'pivotTableId':_0x4ee466,'unitId':_0x4adc54,'subUnitId':_0x4b2b10},_0xfd762b);return _0x71e749[_0x34390c(0x296)]([..._0xe9239d[_0x34390c(0x1ae)],..._0x50bb53[_0x34390c(0x1ae)],..._0x9cafc2],_0x51a9f2),_0x136fe4['pushUndoRedo']({'unitID':_0x4adc54,'redoMutations':[..._0xe9239d['redos'],..._0x50bb53[_0x34390c(0x1ae)],..._0x9cafc2],'undoMutations':[..._0xe9239d[_0x34390c(0x233)],..._0x50bb53[_0x34390c(0x233)],..._0x5794fc]}),!0x0;}},_0x1751a7={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x342807,_0x205142){const _0x5bd9fc=_0x952e9f;var _0x10ee38;const _0x20b83b=_0x342807[_0x5bd9fc(0x3dc)](_0x71e749[_0x5bd9fc(0x1ec)]),_0x108671=_0x342807['get'](_0x3e9a4b[_0x5bd9fc(0x211)]),_0x5b8ba9=_0x342807['get'](_0x3e9a4b['SheetsPivotTableAdaptorModel']),_0x49b392=_0x342807[_0x5bd9fc(0x3dc)](_0x71e749[_0x5bd9fc(0x168)]),_0x74582=_0x342807[_0x5bd9fc(0x3dc)](_0x71e749[_0x5bd9fc(0x1e7)]);if(!_0x205142)return!0x1;const {unitId:_0x397d64,subUnitId:_0x44aba6,row:_0x33cecd,col:_0x36e815,collapse:_0x2271dd}=_0x205142,_0x2cc428=_0x49b392[_0x5bd9fc(0x38c)](_0x397d64);if(!_0x2cc428||!_0x2cc428[_0x5bd9fc(0x216)](_0x44aba6))return!0x1;const _0x21b436=_0x5b8ba9['getPivotTableIdByCell'](_0x397d64,_0x44aba6,_0x33cecd,_0x36e815);if(!_0x21b436)return!0x1;const _0x76f2bc=_0x5b8ba9[_0x5bd9fc(0x285)](_0x397d64,_0x44aba6,_0x21b436);if(!_0x76f2bc)return!0x1;const _0x4777cf=_0x71e749['cellToRange'](_0x33cecd,_0x36e815),{rangesInfo:_0xb448ac,areaInfo:_0x3c0d83,headerMap:_0x514dbe}=_0x76f2bc;if(!_0xb448ac||!_0x3c0d83||!_0x514dbe)return!0x1;const _0x988b50=Object[_0x5bd9fc(0x111)](_0xb448ac)[_0x5bd9fc(0x2d4)](_0x485c36=>_0xb448ac[_0x485c36][_0x5bd9fc(0x131)](_0x5d2022=>_0x71e749['Rectangle'][_0x5bd9fc(0x1b9)](_0x5d2022,_0x4777cf)));let _0x36fae5;_0x988b50===_0x5bd9fc(0x1b0)?_0x36fae5=_0x514dbe[_0x5bd9fc(0x3c1)][_0x36e815]:_0x988b50===_0x5bd9fc(0x2eb)&&(_0x36fae5=_0x514dbe[_0x5bd9fc(0x12e)][_0x33cecd]);const _0x1671a8=_0x36fae5==null?void 0x0:_0x36fae5[_0x5bd9fc(0x295)],_0x58cfde=(_0x10ee38=_0x5b8ba9['getPivotTableCellData'](_0x397d64,_0x44aba6,_0x33cecd,_0x36e815))==null?void 0x0:_0x10ee38['v'];if(_0x58cfde==null||!_0x21b436||!_0x1671a8)return!0x1;const _0x14c76d=await _0x108671[_0x5bd9fc(0x1c1)]({'unitId':_0x397d64,'subUnitId':_0x44aba6,'pivotTableId':_0x21b436,'params':{'type':_0x2dff37[_0x5bd9fc(0x3ee)],'setPivotCollapse':{'tableFieldId':_0x1671a8,'collapse':_0x2271dd,'item':_0x58cfde}}}),_0x43fdd2=_0x14c76d==null?void 0x0:_0x14c76d['result'][_0x5bd9fc(0x16b)];if(!_0x43fdd2)return!0x1;const {view:_0x1e5c96,pivotTableConfig:_0x31f5ec,isEmpty:_0x3ef98e,changesets:_0x13896b}=_0x43fdd2,_0x3064af=new _0x1978cb[(_0x5bd9fc(0x26b))]();_0x3064af[_0x5bd9fc(0x15d)](_0x1e5c96);const _0xea9d64=_0x31f5ec[_0x5bd9fc(0x354)],_0x1d86b1={'cellInfo':_0xea9d64,'view':_0x3064af,'isEmpty':_0x3ef98e};if(!await _0x342807[_0x5bd9fc(0x3dc)](_0x3e9a4b[_0x5bd9fc(0x257)])[_0x5bd9fc(0xf6)][_0x5bd9fc(0x17e)](_0x178140)(!0x0,_0x1d86b1))return!0x1;const _0xe062c0=_0xed8bbb(_0x342807,_0x3064af,_0xea9d64,_0x3ef98e),_0x1a3618=_0xdc7318(_0x342807,_0x1d86b1),{redos:_0x14b9de,undos:_0x30e363}=_0x2dd215(_0x20b83b,{'pivotTableId':_0x21b436,'unitId':_0x397d64,'subUnitId':_0x44aba6},_0x13896b);return _0x71e749[_0x5bd9fc(0x296)]([..._0xe062c0[_0x5bd9fc(0x1ae)],..._0x1a3618['redos'],..._0x14b9de],_0x20b83b),_0x74582[_0x5bd9fc(0x23a)]({'unitID':_0x397d64,'redoMutations':[..._0xe062c0[_0x5bd9fc(0x1ae)],..._0x1a3618[_0x5bd9fc(0x1ae)],..._0x14b9de],'undoMutations':[..._0xe062c0['undos'],..._0x1a3618[_0x5bd9fc(0x233)],..._0x30e363]}),!0x0;}},_0x4cc07e={'type':_0x71e749[_0x952e9f(0x1ff)]['COMMAND'],'id':_0x952e9f(0x12c),async 'handler'(_0x496c04,_0x33578e){const _0x2c8eca=_0x952e9f;if(!_0x33578e)return!0x1;const _0x29ed19=_0x496c04[_0x2c8eca(0x3dc)](_0x71e749[_0x2c8eca(0x1ec)]),{pivotTableId:_0x3b84f7,tableFieldId:_0x4e2610,items:_0x466aa1,unitId:_0x35be36,subUnitId:_0x357bab,isAll:_0x3fa0c6}=_0x33578e,_0x4f8dd6=_0x496c04[_0x2c8eca(0x3dc)](_0x3e9a4b[_0x2c8eca(0x211)]),_0x40e805=_0x496c04[_0x2c8eca(0x3dc)](_0x71e749[_0x2c8eca(0x1e7)]),_0xf4c33d=(await _0x4f8dd6['getPivotDisplayConfig']({'unitId':_0x35be36,'subUnitId':_0x357bab,'pivotTableId':_0x3b84f7,'params':{'type':_0x2dff37[_0x2c8eca(0xf0)],'setPivotFilter':{'tableFieldId':_0x4e2610,'items':_0x466aa1,'isAll':_0x3fa0c6}}}))[_0x2c8eca(0x144)]['setPivotFilter'];if(!_0xf4c33d)return!0x1;const {changesets:_0x46f63d,pivotTableConfig:_0x7a604,isEmpty:_0x10de68,view:_0xb36ee5}=_0xf4c33d,_0x34c272=_0x7a604[_0x2c8eca(0x354)],_0x28b61c=new _0x1978cb['PivotView']();_0x28b61c['formJSON'](_0xb36ee5);const _0x192bb4={'cellInfo':_0x34c272,'view':_0x28b61c,'isEmpty':_0x10de68};if(!await _0x496c04[_0x2c8eca(0x3dc)](_0x3e9a4b['SheetsPivotTableService'])[_0x2c8eca(0xf6)]['fetchThroughAsyncInterceptors'](_0x178140)(!0x0,_0x192bb4))return!0x1;const _0x247f1d=_0xed8bbb(_0x496c04,_0x28b61c,_0x34c272,_0x10de68),_0x39e48f=_0xdc7318(_0x496c04,_0x192bb4),{undos:_0x3297b7,redos:_0x26edd9}=_0x2dd215(_0x29ed19,{'pivotTableId':_0x3b84f7,'unitId':_0x35be36,'subUnitId':_0x357bab},_0x46f63d);return _0x71e749[_0x2c8eca(0x296)]([..._0x247f1d[_0x2c8eca(0x1ae)],..._0x39e48f[_0x2c8eca(0x1ae)],..._0x26edd9],_0x29ed19),_0x40e805[_0x2c8eca(0x23a)]({'unitID':_0x35be36,'redoMutations':[..._0x247f1d['redos'],..._0x39e48f[_0x2c8eca(0x1ae)],..._0x26edd9],'undoMutations':[..._0x247f1d[_0x2c8eca(0x233)],..._0x39e48f[_0x2c8eca(0x233)],..._0x3297b7]}),!0x0;}},_0x223ceb={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x2413d0,_0x5e4ea9){const _0x44324c=_0x952e9f;if(!_0x5e4ea9)return!0x1;const _0x13b45b=_0x2413d0[_0x44324c(0x3dc)](_0x71e749['ICommandService']),_0x3f8d4c=_0x2413d0[_0x44324c(0x3dc)](_0x71e749[_0x44324c(0x1e7)]),_0x3f9106=_0x2413d0[_0x44324c(0x3dc)](_0x3e9a4b[_0x44324c(0x211)]),{info:_0xd6f0fb,tableFieldId:_0x34a824,pivotTableId:_0x4b89b4,unitId:_0x478d2e,subUnitId:_0x3100b}=_0x5e4ea9,_0x166b3a=(await _0x3f9106['getPivotDisplayConfig']({'unitId':_0x478d2e,'subUnitId':_0x3100b,'pivotTableId':_0x4b89b4,'params':{'type':_0x2dff37[_0x44324c(0xf4)],'setPivotSort':{'tableFieldId':_0x34a824,'info':_0xd6f0fb}}}))[_0x44324c(0x144)][_0x44324c(0x125)];if(!_0x166b3a)return!0x1;const {changesets:_0x458538}=_0x166b3a,{redos:_0x5b8c71,undos:_0x499fc2}=_0x2dd215(_0x13b45b,{'pivotTableId':_0x4b89b4,'unitId':_0x478d2e,'subUnitId':_0x3100b},_0x458538);return _0x71e749[_0x44324c(0x296)](_0x5b8c71,_0x13b45b),_0x3f8d4c[_0x44324c(0x23a)]({'unitID':_0x478d2e,'redoMutations':_0x5b8c71,'undoMutations':_0x499fc2}),!0x0;}},_0x3b940b={'type':_0x71e749[_0x952e9f(0x1ff)]['COMMAND'],'id':_0x952e9f(0x307),async 'handler'(_0x23d203,_0x53fd2d){const _0x40d06e=_0x952e9f;if(!_0x53fd2d)return!0x1;const _0x4f472f=_0x23d203[_0x40d06e(0x3dc)](_0x71e749[_0x40d06e(0x1ec)]),_0x34ae19=_0x23d203['get'](_0x71e749['IUndoRedoService']),_0x859916=_0x23d203['get'](_0x3e9a4b['SheetsPivotRPCService']),{displayName:_0xcbbc54,subtotalType:_0x43f7c2,format:_0x33b49a,tableFieldId:_0x8f2747,pivotTableId:_0x57e5a7,unitId:_0x2b48b9,subUnitId:_0x131db2}=_0x53fd2d,_0x250846=(await _0x859916[_0x40d06e(0x1c1)]({'unitId':_0x2b48b9,'subUnitId':_0x131db2,'pivotTableId':_0x57e5a7,'params':{'type':_0x2dff37[_0x40d06e(0x191)],'setPivotSetting':{'tableFieldId':_0x8f2747,'displayName':_0xcbbc54,'subtotalType':_0x43f7c2,'format':_0x33b49a}}}))[_0x40d06e(0x144)][_0x40d06e(0x29d)];if(!_0x250846)return!0x1;const {changesets:_0x34abfc,view:_0x230d06,pivotTableConfig:_0x5b07d6,isEmpty:_0xfbf6bd}=_0x250846,_0x4dae7a=_0x5b07d6[_0x40d06e(0x354)],_0x5cb922=new _0x1978cb['PivotView']();_0x5cb922['formJSON'](_0x230d06);const _0x1ea989={'cellInfo':_0x4dae7a,'view':_0x5cb922,'isEmpty':_0xfbf6bd};if(!await _0x23d203[_0x40d06e(0x3dc)](_0x3e9a4b['SheetsPivotTableService'])[_0x40d06e(0xf6)][_0x40d06e(0x17e)](_0x178140)(!0x0,_0x1ea989))return!0x1;const _0x5957cf=_0xed8bbb(_0x23d203,_0x5cb922,_0x4dae7a,_0xfbf6bd),_0xe6a014=_0xdc7318(_0x23d203,_0x1ea989),{undos:_0x206c2a,redos:_0x2188f4}=_0x2dd215(_0x4f472f,{'pivotTableId':_0x57e5a7,'unitId':_0x2b48b9,'subUnitId':_0x131db2},_0x34abfc);return _0x71e749[_0x40d06e(0x296)]([..._0x5957cf[_0x40d06e(0x1ae)],..._0xe6a014[_0x40d06e(0x1ae)],..._0x2188f4],_0x4f472f),_0x34ae19[_0x40d06e(0x23a)]({'unitID':_0x2b48b9,'redoMutations':[..._0x5957cf[_0x40d06e(0x1ae)],..._0xe6a014[_0x40d06e(0x1ae)],..._0x2188f4],'undoMutations':[..._0x5957cf[_0x40d06e(0x233)],..._0xe6a014[_0x40d06e(0x233)],..._0x206c2a]}),!0x0;}},_0x8cc147={'type':_0x71e749['CommandType'][_0x952e9f(0xf7)],'id':_0x952e9f(0x1cc),async 'handler'(_0x42c5e6,_0x55561e){const _0x3ab271=_0x952e9f,_0x5cc8a7=_0x42c5e6[_0x3ab271(0x3dc)](_0x71e749[_0x3ab271(0x1ec)]),_0xa5489f=_0x42c5e6[_0x3ab271(0x3dc)](_0x3e9a4b[_0x3ab271(0x211)]),_0x6f8267=_0x42c5e6[_0x3ab271(0x3dc)](_0x71e749[_0x3ab271(0x1e7)]);if(!_0x55561e)return!0x1;const {token:_0x4b07aa,dataRangeInfo:_0x121710,unitId:_0x1b8054,subUnitId:_0x2a48a8}=_0x55561e,_0x51e806=[],_0x1771c5=[],_0x15f6bd=(await _0xa5489f[_0x3ab271(0x1c1)]({'unitId':_0x1b8054,'subUnitId':_0x2a48a8,'pivotTableId':_0x4b07aa,'params':{'type':_0x2dff37[_0x3ab271(0x13a)],'updatePivotSource':{'dataRangeInfo':_0x121710,'unitId':_0x1b8054,'subUnitId':_0x2a48a8}}}))[_0x3ab271(0x144)][_0x3ab271(0x3e2)];if(!_0x15f6bd)return!0x1;const {changesets:_0x1c0828,deleteIds:_0x4be9de,collectionConfig:_0x189daf,oldCollectionConfig:_0x334f65,view:_0x4707af,isEmpty:_0x41c286,pivotTableConfig:_0x1a9eb0}=_0x15f6bd;_0x1771c5[_0x3ab271(0x2b7)]({'id':_0x3f6e25['id'],'params':{'pivotTableId':_0x4b07aa,'deleteIds':_0x4be9de,'collectionJSON':_0x189daf,'dataRangeInfo':_0x121710,'unitId':_0x1b8054,'subUnitId':_0x2a48a8}}),_0x51e806[_0x3ab271(0x271)]({'id':_0x3f6e25['id'],'params':{'pivotTableId':_0x4b07aa,'deleteIds':[],'collectionJSON':_0x334f65,'dataRangeInfo':_0x1a9eb0[_0x3ab271(0x3a8)],'unitId':_0x1b8054,'subUnitId':_0x2a48a8}});const _0x147e75=_0x1a9eb0['targetCellInfo'],_0x226200=new _0x1978cb[(_0x3ab271(0x26b))]();_0x226200[_0x3ab271(0x15d)](_0x4707af);const _0x2cf712={'cellInfo':_0x147e75,'view':_0x226200,'isEmpty':_0x41c286};if(!await _0x42c5e6[_0x3ab271(0x3dc)](_0x3e9a4b[_0x3ab271(0x257)])[_0x3ab271(0xf6)]['fetchThroughAsyncInterceptors'](_0x178140)(!0x0,_0x2cf712))return!0x1;const _0x1f755a=_0xed8bbb(_0x42c5e6,_0x226200,_0x147e75,_0x41c286),_0x6354fa=_0xdc7318(_0x42c5e6,_0x2cf712),{undos:_0x5753c6,redos:_0x2cc9c0}=_0x2dd215(_0x5cc8a7,{'pivotTableId':_0x4b07aa,'unitId':_0x1b8054,'subUnitId':_0x2a48a8},_0x1c0828);return _0x71e749[_0x3ab271(0x296)]([..._0x1f755a[_0x3ab271(0x1ae)],..._0x6354fa[_0x3ab271(0x1ae)],..._0x1771c5,..._0x5753c6],_0x5cc8a7),_0x6f8267[_0x3ab271(0x23a)]({'unitID':_0x1b8054,'redoMutations':[..._0x1f755a['redos'],..._0x6354fa['redos'],..._0x1771c5,..._0x5753c6],'undoMutations':[..._0x1f755a['undos'],..._0x6354fa[_0x3ab271(0x233)],..._0x51e806,..._0x2cc9c0]}),!0x0;}},_0x59c1c6={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':_0x952e9f(0x367),async 'handler'(_0x3f692f,_0x511169){const _0x14f063=_0x952e9f;if(!_0x511169)return!0x1;const _0x698190=_0x3f692f[_0x14f063(0x3dc)](_0x71e749[_0x14f063(0x1ec)]),_0x393177=_0x3f692f['get'](_0x3e9a4b['SheetsPivotRPCService']),_0x75834f=_0x3f692f[_0x14f063(0x3dc)](_0x71e749[_0x14f063(0x168)]),_0x10f72f=_0x3f692f['get'](_0x71e749[_0x14f063(0x1e7)]),{pivotTableId:_0x3d1357,position:_0x3f2edb,index:_0xb402d0}=_0x511169,_0x1ba8f4=_0x2a18e2['getSheetCommandTarget'](_0x75834f);if(!_0x1ba8f4)return!0x1;const {unitId:_0x17779a,subUnitId:_0xaaf9f}=_0x1ba8f4,_0x4f5b4c=(await _0x393177[_0x14f063(0x1c1)]({'unitId':_0x17779a,'subUnitId':_0xaaf9f,'pivotTableId':_0x3d1357,'params':{'type':_0x2dff37[_0x14f063(0x26f)],'updateValuePosition':{'position':_0x3f2edb,'index':_0xb402d0}}}))['result'][_0x14f063(0x12b)];if(!_0x4f5b4c)return!0x1;const {changesets:_0x1a938f,view:_0x75d14d,isEmpty:_0x16a5b8,pivotTableConfig:_0x1a915b}=_0x4f5b4c,_0x4aba56=_0x1a915b[_0x14f063(0x354)],_0x3f675e=new _0x1978cb[(_0x14f063(0x26b))]();_0x3f675e['formJSON'](_0x75d14d);const _0x3bed7d=_0x3f692f[_0x14f063(0x3dc)](_0x3e9a4b['SheetsPivotTableService']),_0x3d82cd={'cellInfo':_0x4aba56,'view':_0x3f675e,'isEmpty':_0x16a5b8};if(!await _0x3bed7d[_0x14f063(0xf6)][_0x14f063(0x17e)](_0x178140)(!0x0,_0x3d82cd))return!0x1;const _0x17ba85=_0xed8bbb(_0x3f692f,_0x3f675e,_0x4aba56,_0x16a5b8),_0x3783af=_0xdc7318(_0x3f692f,_0x3d82cd),{undos:_0x332b3e,redos:_0x4d5c0f}=_0x2dd215(_0x698190,{'pivotTableId':_0x3d1357,'unitId':_0x17779a,'subUnitId':_0xaaf9f},_0x1a938f);return _0x71e749[_0x14f063(0x296)]([..._0x17ba85[_0x14f063(0x1ae)],..._0x3783af['redos'],..._0x4d5c0f],_0x698190),_0x10f72f[_0x14f063(0x23a)]({'unitID':_0x17779a,'redoMutations':[..._0x17ba85['redos'],..._0x3783af[_0x14f063(0x1ae)],..._0x4d5c0f],'undoMutations':[..._0x17ba85[_0x14f063(0x233)],..._0x3783af['undos'],..._0x332b3e]}),!0x0;}},_0x53619c={'type':_0x71e749[_0x952e9f(0x1ff)]['COMMAND'],'id':_0x952e9f(0x24b),'handler':(_0x42ed6f,_0x3f7e00)=>{const _0x22a47d=_0x952e9f,_0x554175=_0x42ed6f[_0x22a47d(0x3dc)](_0x71e749[_0x22a47d(0x1ec)]),_0x1e8306=_0x42ed6f[_0x22a47d(0x3dc)](_0x71e749['IUndoRedoService']),_0x191eb6=_0x42ed6f['get'](_0x3e9a4b[_0x22a47d(0x299)]),_0x9247f0=_0x42ed6f[_0x22a47d(0x3dc)](_0x71e749[_0x22a47d(0x168)]);if(!_0x3f7e00)return!0x1;const _0x2a2be0=_0x2a18e2[_0x22a47d(0x1cf)](_0x9247f0);if(!_0x2a2be0)return!0x1;const {unitId:_0x227ee0,subUnitId:_0x1b6c36,workbook:_0x3ed885}=_0x2a2be0,_0x18e8b3=_0x191eb6[_0x22a47d(0x405)](_0x3f7e00[_0x22a47d(0x319)][_0x22a47d(0x27e)],_0x3f7e00['originTargetInfo']['subUnitId'],_0x3f7e00[_0x22a47d(0x1a5)]);if(!_0x18e8b3)return!0x1;const _0x3cc873=_0x3ed885['getSheetBySheetId'](_0x3f7e00[_0x22a47d(0x354)][_0x22a47d(0x277)]);if(!_0x3cc873)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x30047f=_0x3cc873[_0x22a47d(0x1bd)](),_0x42df04=_0x3cc873[_0x22a47d(0x202)]();if(_0x3f7e00['targetCellInfo'][_0x22a47d(0x2f4)]>_0x30047f||_0x3f7e00[_0x22a47d(0x354)]['col']>_0x42df04)throw new Error(_0x22a47d(0x34a));const _0x176a4d=[{'id':_0x140124['id'],'params':{'unitId':_0x227ee0,'subUnitId':_0x3f7e00[_0x22a47d(0x354)]['subUnitId'],'pivotTableId':_0x3f7e00[_0x22a47d(0x1a5)],'targetCellPosition':{'row':_0x3f7e00['targetCellInfo'][_0x22a47d(0x2f4)],'col':_0x3f7e00[_0x22a47d(0x354)][_0x22a47d(0x320)]}}}],_0x356352=[{'id':_0x140124['id'],'params':{'unitId':_0x227ee0,'subUnitId':_0x1b6c36,'pivotTableId':_0x3f7e00['pivotTableId'],'targetCellPosition':{'row':_0x18e8b3['targetCellInfo'][_0x22a47d(0x2f4)],'col':_0x18e8b3[_0x22a47d(0x354)][_0x22a47d(0x320)]}}}];return _0x71e749['sequenceExecute'](_0x176a4d,_0x554175)&&_0x1e8306[_0x22a47d(0x23a)]({'unitID':_0x227ee0,'undoMutations':_0x356352,'redoMutations':_0x176a4d}),!0x0;}},_0x19db14={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':_0x952e9f(0x167),async 'handler'(_0x4667f2,_0x401c28){const _0x3b69d2=_0x952e9f;if(!_0x401c28)return!0x1;const _0x1b07d6=_0x4667f2[_0x3b69d2(0x3dc)](_0x71e749['ICommandService']),{pivotTableId:_0x539371,fieldId:_0x20acd2,valueFilterInfo:_0x20e4d1,unitId:_0x18c84d,subUnitId:_0x2e98b6}=_0x401c28,_0x2fde7b=_0x4667f2['get'](_0x3e9a4b[_0x3b69d2(0x211)]),_0x27dc42=_0x4667f2[_0x3b69d2(0x3dc)](_0x71e749[_0x3b69d2(0x1e7)]),_0x6f76e3=(await _0x2fde7b[_0x3b69d2(0x1c1)]({'unitId':_0x18c84d,'subUnitId':_0x2e98b6,'pivotTableId':_0x539371,'params':{'type':_0x2dff37[_0x3b69d2(0x2d3)],'setValuePivotFilter':{'tableFieldId':_0x20acd2,'filterInfo':_0x20e4d1}}}))[_0x3b69d2(0x144)][_0x3b69d2(0x14b)];if(!_0x6f76e3)return!0x1;const {changesets:_0x2d0780,pivotTableConfig:_0x10bce6,isEmpty:_0x4d6150,view:_0x17ccff}=_0x6f76e3,_0x3c0302=_0x10bce6[_0x3b69d2(0x354)],_0x11e773=new _0x1978cb['PivotView']();_0x11e773['formJSON'](_0x17ccff);const _0x5da106={'cellInfo':_0x3c0302,'view':_0x11e773,'isEmpty':_0x4d6150};if(!await _0x4667f2['get'](_0x3e9a4b['SheetsPivotTableService'])[_0x3b69d2(0xf6)][_0x3b69d2(0x17e)](_0x178140)(!0x0,_0x5da106))return!0x1;const _0x67b686=_0xed8bbb(_0x4667f2,_0x11e773,_0x3c0302,_0x4d6150),_0x28b64a=_0xdc7318(_0x4667f2,_0x5da106),{undos:_0x492cf4,redos:_0x772f3e}=_0x2dd215(_0x1b07d6,{'pivotTableId':_0x539371,'unitId':_0x18c84d,'subUnitId':_0x2e98b6},_0x2d0780);return _0x71e749[_0x3b69d2(0x296)]([..._0x67b686[_0x3b69d2(0x1ae)],..._0x28b64a[_0x3b69d2(0x1ae)],..._0x772f3e],_0x1b07d6),_0x27dc42[_0x3b69d2(0x23a)]({'unitID':_0x18c84d,'redoMutations':[..._0x67b686[_0x3b69d2(0x1ae)],..._0x28b64a['redos'],..._0x772f3e],'undoMutations':[..._0x67b686['undos'],..._0x28b64a['undos'],..._0x492cf4]}),!0x0;}},_0x44cc22={'type':_0x71e749[_0x952e9f(0x1ff)][_0x952e9f(0xf7)],'id':_0x952e9f(0x1b4),async 'handler'(_0x3cc5bb,_0xfdbe29){const _0x1ed627=_0x952e9f;if(!_0xfdbe29)return!0x1;const _0x4fcff0=_0x3cc5bb['get'](_0x71e749[_0x1ed627(0x1ec)]),_0x266f9f=_0x3cc5bb[_0x1ed627(0x3dc)](_0x71e749[_0x1ed627(0x1e7)]),_0x207963=_0x3cc5bb[_0x1ed627(0x3dc)](_0x3e9a4b[_0x1ed627(0x211)]),{pivotTableConfig:_0x204ed9,pivotTableId:_0x10adcc,unitId:_0xefdb21,subUnitId:_0x2af085}=_0xfdbe29,_0x55c6bf=(await _0x207963[_0x1ed627(0x1c1)]({'unitId':_0xefdb21,'subUnitId':_0x2af085,'pivotTableId':_0x10adcc,'params':{'type':_0x2dff37[_0x1ed627(0x14e)],'setPivotTableConfig':{'pivotTableId':_0x10adcc,'pivotTableConfig':_0x204ed9}}}))[_0x1ed627(0x144)]['setPivotTableConfig'];if(!_0x55c6bf)return!0x1;const {changesets:_0x919894}=_0x55c6bf,{redos:_0xc78f1d,undos:_0x5e3fee}=_0x2dd215(_0x4fcff0,{'pivotTableId':_0x10adcc,'unitId':_0xefdb21,'subUnitId':_0x2af085},_0x919894);return _0x71e749[_0x1ed627(0x296)](_0xc78f1d,_0x4fcff0),_0x266f9f[_0x1ed627(0x23a)]({'unitID':_0xefdb21,'redoMutations':_0xc78f1d,'undoMutations':_0x5e3fee}),!0x0;}},_0x5c5c64={'type':_0x71e749['CommandType']['COMMAND'],'id':_0x952e9f(0x1ef),async 'handler'(_0x1df5f7,_0x42b510){const _0x5c264f=_0x952e9f;if(!_0x42b510)return!0x1;const _0x178571=_0x1df5f7[_0x5c264f(0x3dc)](_0x71e749[_0x5c264f(0x1ec)]),_0x1ec4bb=_0x1df5f7[_0x5c264f(0x3dc)](_0x71e749[_0x5c264f(0x1e7)]),_0x252a77=_0x1df5f7[_0x5c264f(0x3dc)](_0x3e9a4b[_0x5c264f(0x211)]),{resetArea:_0x2cc6ce,pivotTableId:_0x541937,unitId:_0x5e91ce,subUnitId:_0x5555dc}=_0x42b510,_0x4ff997=(await _0x252a77[_0x5c264f(0x1c1)]({'unitId':_0x5e91ce,'subUnitId':_0x5555dc,'pivotTableId':_0x541937,'params':{'type':_0x2dff37['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x541937,'resetArea':_0x2cc6ce}}}))[_0x5c264f(0x144)][_0x5c264f(0x152)];if(!_0x4ff997)return!0x1;const {changesets:_0x45d478}=_0x4ff997,{redos:_0x31e6a7,undos:_0x2eeacc}=_0x2dd215(_0x178571,{'pivotTableId':_0x541937,'unitId':_0x5e91ce,'subUnitId':_0x5555dc},_0x45d478);return _0x71e749[_0x5c264f(0x296)](_0x31e6a7,_0x178571),_0x1ec4bb['pushUndoRedo']({'unitID':_0x5e91ce,'redoMutations':_0x31e6a7,'undoMutations':_0x2eeacc}),!0x0;}},_0x3f31b7={'id':_0x952e9f(0x1ee),'type':_0x71e749['CommandType'][_0x952e9f(0x334)],'handler':(_0x521e6e,_0x3fbf05)=>{const _0x1081f5=_0x952e9f;if(!_0x3fbf05)return!0x1;if(!!_0x521e6e[_0x1081f5(0x3dc)](_0x71e749[_0x1081f5(0x225)])[_0x1081f5(0x2dd)](_0xf9ba23))return!0x0;const {unitId:_0x5a8f52,subUnitId:_0x48178f,pivotTableId:_0x1f7fc3,tableFieldId:_0x5bd120,dateType:_0x2b7100}=_0x3fbf05,_0xde1602=_0x521e6e[_0x1081f5(0x3dc)](_0x3e9a4b[_0x1081f5(0x386)]),_0x293412=_0xde1602['getPivotTableInstance'](_0x1f7fc3);if(!_0x293412)return!0x1;const _0x4fe7c0=_0x293412[_0x1081f5(0x147)](_0x5bd120);if(!_0x4fe7c0)return!0x1;const _0x5947a8=_0x4fe7c0[_0x1081f5(0x245)](),_0x1db3f6=_0x293412[_0x1081f5(0x36a)](_0x5947a8),_0x34428d=(_0x1db3f6==null?void 0x0:_0x1db3f6[_0x1081f5(0x134)]())+'\x20'+_0x16e833(_0x521e6e,_0x2b7100);_0xde1602[_0x1081f5(0x3b3)](_0x5a8f52,_0x1f7fc3)[_0x1081f5(0x148)](_0x4fe7c0['id'],_0x34428d);const _0xa06ccc=_0x293412[_0x1081f5(0x24f)](_0x5bd120);if(!_0xa06ccc)return!0x1;_0x293412[_0x1081f5(0x326)](_0xa06ccc['getId'](),_0x34428d),_0x4fe7c0[_0x1081f5(0x30d)](_0x2b7100);const _0x2fb7ea=_0xde1602[_0x1081f5(0x405)](_0x5a8f52,_0x48178f,_0x1f7fc3);return _0xde1602[_0x1081f5(0x1e1)]({'unitId':_0x5a8f52,'subUnitId':_0x48178f,'token':_0x1f7fc3,'type':_0x5cfd72[_0x1081f5(0x15c)],'pivotConfig':_0x2fb7ea}),!0x0;}},_0x13d7ff={'id':_0x952e9f(0x3ef),'type':_0x71e749['CommandType']['COMMAND'],'handler':(_0x259e83,_0x18e17a)=>{const _0x39ec00=_0x952e9f;if(!_0x18e17a)return!0x1;const _0x54707b=_0x259e83[_0x39ec00(0x3dc)](_0x71e749[_0x39ec00(0x1e7)]),{unitId:_0x44426c,subUnitId:_0x479999,pivotTableId:_0x46020e,tableFieldId:_0x57d89f}=_0x18e17a,_0x3abf9e=[],_0x258f48=[],_0x5960da=_0x259e83[_0x39ec00(0x3dc)](_0x3e9a4b[_0x39ec00(0x299)]),_0x344e12=_0x5960da[_0x39ec00(0x3b3)](_0x44426c,_0x46020e),_0x12930f=_0x5960da[_0x39ec00(0x405)](_0x44426c,_0x479999,_0x46020e);if(!(_0x12930f!=null&&_0x12930f[_0x39ec00(0x13c)][_0x39ec00(0x383)]))return!0x1;const _0x57e566=Object['values'](_0x12930f[_0x39ec00(0x13c)][_0x39ec00(0x383)])[_0x39ec00(0x2d4)](_0x58bb38=>_0x58bb38['id']===_0x57d89f);if(!_0x57e566)return!0x1;const _0xf4bb20=_0x57e566[_0x39ec00(0x3f2)];if(!(_0x344e12!=null&&_0x344e12[_0x39ec00(0x1fe)]))return!0x1;const _0x3a2401=Object['values'](_0x344e12==null?void 0x0:_0x344e12[_0x39ec00(0x1fe)])[_0x39ec00(0x2d4)](_0x30e45d=>_0x30e45d['id']===_0xf4bb20);if(!_0x3a2401)return!0x1;_0x1978cb[_0x39ec00(0x403)](_0x3a2401)&&_0x3abf9e['push']({'id':_0x3f31b7['id'],'params':{..._0x18e17a,'dateType':_0x3a2401[_0x39ec00(0x21a)]}}),_0x258f48[_0x39ec00(0x2b7)]({'id':_0x3f31b7['id'],'params':{..._0x18e17a}});const _0xf3de24=_0x259e83[_0x39ec00(0x3dc)](_0x71e749[_0x39ec00(0x1ec)]);return _0x71e749[_0x39ec00(0x296)](_0x258f48,_0xf3de24)&&_0x54707b['pushUndoRedo']({'unitID':_0x44426c,'undoMutations':_0x3abf9e,'redoMutations':_0x258f48}),!0x0;}};var _0x33e577=Object[_0x952e9f(0x169)],_0x4db938=(_0x29eee4,_0x120509,_0x477995,_0x541866)=>{const _0x13049d=_0x952e9f;for(var _0x3a8a7f=_0x541866>0x1?void 0x0:_0x541866?_0x33e577(_0x120509,_0x477995):_0x120509,_0x1c4890=_0x29eee4[_0x13049d(0x278)]-0x1,_0x5611f1;_0x1c4890>=0x0;_0x1c4890--)(_0x5611f1=_0x29eee4[_0x1c4890])&&(_0x3a8a7f=_0x5611f1(_0x3a8a7f)||_0x3a8a7f);return _0x3a8a7f;},_0x348f0e=(_0x1b5b6d,_0x2a0d84)=>(_0x416f98,_0x1d1cc5)=>_0x2a0d84(_0x416f98,_0x1d1cc5,_0x1b5b6d);const _0x5b8854=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x504c93=(_0x166661,_0x49bb31,_0x314dbd)=>{const _0x899525=_0x952e9f,_0x151459=_0x166661[_0x899525(0x25b)];_0x166661[_0x899525(0x3ff)](_0x50d30e=>{const _0x3e47f1=_0x899525,_0xd5e807=_0x50d30e[_0x3e47f1(0x1ed)](),_0x5a1623=_0x50d30e['getDataFieldId'](),_0x16b267=_0x50d30e[_0x3e47f1(0x36f)](),_0x446c75=_0x50d30e[_0x3e47f1(0x186)]();_0x49bb31[_0x5a1623]&&_0x49bb31[_0x5a1623]===_0x446c75&&_0x16b267===_0x446c75&&(_0x166661[_0x3e47f1(0x326)](_0xd5e807,_0x151459[_0x3e47f1(0x186)](_0x5a1623)),_0x50d30e[_0x3e47f1(0x103)](_0x151459[_0x3e47f1(0x186)](_0x5a1623)));}),_0x166661['iterateFieldByArea'](_0x1978cb['PivotTableFiledAreaEnum'][_0x899525(0x2f0)],_0x22fc45=>{const _0x15c23b=_0x899525,_0x3709e1=_0x22fc45[_0x15c23b(0x1ed)](),_0x42b07e=_0x22fc45[_0x15c23b(0x25e)](),_0x1c4681=_0x22fc45[_0x15c23b(0x36f)](),_0x56f5c4=_0x22fc45[_0x15c23b(0x186)](),_0x3093db=_0x22fc45['getSubtotal'](),_0x28aa9f=_0x314dbd(_0x1c4681,_0x3093db);_0x49bb31[_0x42b07e]&&_0x49bb31[_0x42b07e]===_0x1c4681&&_0x28aa9f===_0x56f5c4&&(_0x166661[_0x15c23b(0x326)](_0x3709e1,_0x314dbd(_0x151459[_0x15c23b(0x186)](_0x42b07e),_0x3093db)),_0x22fc45[_0x15c23b(0x103)](_0x151459[_0x15c23b(0x186)](_0x42b07e)));});},_0x3e6df8=(_0x3b8569,_0x5459a2,_0x31ad19)=>{const _0x22f7f1=_0x952e9f;var _0xab9392,_0x10836d;const {arrayFormulaCellData:_0x2b6cae,unitData:_0x3b9831}=_0x5459a2,{unitId:_0x12bab7,subUnitId:_0x135b9d}=_0x31ad19,_0x27ad6b=_0x31ad19[_0x22f7f1(0x145)],{startColumn:_0x14a6df,endColumn:_0x1c453c}=_0x27ad6b,_0x5a77a3=(_0xab9392=_0x2b6cae==null?void 0x0:_0x2b6cae[_0x12bab7])==null?void 0x0:_0xab9392[_0x135b9d],_0x562fe3=(_0x10836d=_0x3b9831==null?void 0x0:_0x3b9831[_0x12bab7])==null?void 0x0:_0x10836d[_0x135b9d],_0x223478=new Set(),_0x24f115=_0x1c453c-_0x14a6df+0x1,{dirtyRanges:_0x1844f6}=_0x3b8569;if(_0x1844f6)for(const {range:_0x3118a4,sheetId:_0x3602f5,unitId:_0x437b6d}of _0x1844f6){if(_0x3602f5!==_0x135b9d||_0x12bab7!==_0x437b6d)continue;const _0x3ad843=_0x71e749[_0x22f7f1(0x28b)]['getIntersects'](_0x3118a4,_0x27ad6b);if(_0x3ad843){const {startColumn:_0xd478e8,endColumn:_0x18a486}=_0x3ad843;for(let _0x20a643=_0xd478e8;_0x20a643<=_0x18a486;_0x20a643++)_0x223478[_0x22f7f1(0x249)](_0x20a643);}}if(_0x223478[_0x22f7f1(0x303)]===_0x24f115||_0x223478[_0x22f7f1(0x303)]===_0x24f115)return Array['from'](_0x223478);if(_0x562fe3){const _0x579272=_0x562fe3[_0x22f7f1(0x300)](),_0x3d3535=Object[_0x22f7f1(0x111)](_0x579272);for(const _0x202d97 of _0x3d3535){const _0x5e60d2=Number(_0x202d97),_0x53fafd=_0x579272[_0x5e60d2];if(_0x223478[_0x22f7f1(0x303)]===_0x24f115)break;for(const _0x1593ea in _0x53fafd){const _0x3f78ee=Number(_0x1593ea);_0x3f78ee<_0x14a6df||_0x3f78ee>_0x1c453c||_0x223478[_0x22f7f1(0x249)](_0x3f78ee);}}}if(_0x5a77a3){const _0x8be8f4=_0x5a77a3[_0x22f7f1(0x300)](),_0x4876f3=Object[_0x22f7f1(0x111)](_0x8be8f4);for(const _0x52793e of _0x4876f3){const _0x454968=Number(_0x52793e),_0x2755b1=_0x8be8f4[_0x454968];if(_0x223478[_0x22f7f1(0x303)]===_0x24f115)break;for(const _0x3cff5e in _0x2755b1){const _0x27e676=Number(_0x3cff5e);_0x27e676<_0x14a6df||_0x27e676>_0x1c453c||_0x223478[_0x22f7f1(0x249)](_0x27e676);}}}return Array[_0x22f7f1(0x12f)](_0x223478);},_0x3dd879=_0x3a0d17=>{const _0x354438=_0x952e9f,_0x12a8eb=new Set(),_0x5d2ef4=[];for(const _0x1db51c of _0x3a0d17){const _0x39ac56=_0x1db51c[_0x354438(0x2fd)]+','+_0x1db51c['endRow']+','+_0x1db51c['startColumn']+','+_0x1db51c[_0x354438(0x317)];_0x12a8eb[_0x354438(0x2cc)](_0x39ac56)||(_0x12a8eb[_0x354438(0x249)](_0x39ac56),_0x5d2ef4[_0x354438(0x2b7)](_0x1db51c));}return _0x5d2ef4;};let _0x11d712=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x4fcc18,_0x836531,_0xc2d499,_0x4dad79,_0xc83e58,_0x59ce94){const _0x5d76c9=_0x952e9f;super(),_0x59bac0(this,_0x5d76c9(0x1be),new _0x11b8a8[(_0x5d76c9(0x316))](!0x0)),_0x59bac0(this,_0x5d76c9(0x340),_0x4fc1e5=>{const _0x5254fc=_0x5d76c9;this['_globalSubject'][_0x5254fc(0x348)](!0x1);}),_0x59bac0(this,'_globalComputedEndHelpFunc',_0xc65552=>{const _0x25cf4a=_0x5d76c9;this[_0x25cf4a(0x1be)][_0x25cf4a(0x348)](!0x0);}),(this[_0x5d76c9(0x2b2)]=_0x4fcc18,this[_0x5d76c9(0x399)]=_0x836531,this['_featureCalculationManagerService']=_0xc2d499,this[_0x5d76c9(0x107)]=_0x4dad79,this['_globalComputingSrv']=_0xc83e58,this['_injector']=_0x59ce94,this[_0x5d76c9(0x234)](),this['_initPivotDataGetListener']());}[_0x952e9f(0x234)](){const _0x3a8870=_0x952e9f;this['_subjectCollectionChange'](),this[_0x3a8870(0xf3)](),this[_0x3a8870(0x2e6)](),this[_0x3a8870(0x142)]();}[_0x952e9f(0x34f)](){const _0x1606cc=_0x952e9f;this[_0x1606cc(0x31f)][_0x1606cc(0x267)](this['_globalSubject']),_0x1978cb[_0x1606cc(0x28e)][_0x1606cc(0x30e)](_0x1978cb[_0x1606cc(0x2f7)][_0x1606cc(0x16c)],this['_globalComputedStartHelpFunc']),_0x1978cb[_0x1606cc(0x28e)][_0x1606cc(0x30e)](_0x1978cb[_0x1606cc(0x2f7)][_0x1606cc(0x181)],this[_0x1606cc(0x2bb)]);}[_0x952e9f(0x2e4)](){const _0x2f9fdd=_0x952e9f;this[_0x2f9fdd(0x2fa)](this[_0x2f9fdd(0x107)]['onCommandExecuted'](_0x359a85=>{const _0x36dc2c=_0x2f9fdd;_0x359a85['id']===_0x2a18e2[_0x36dc2c(0x17c)]['id']&&this[_0x36dc2c(0x2b2)]['handleMoveRange'](_0x359a85[_0x36dc2c(0x35e)]);})),this[_0x2f9fdd(0x2fa)](this[_0x2f9fdd(0x107)][_0x2f9fdd(0x260)](_0x2c023f=>{const _0x3dcb1a=_0x2f9fdd;if(_0x2c023f['id']!==_0x1efe7b['id'])return;const _0x1dc62a=_0x2c023f['params'],{unitId:_0x5855b7,subUnitId:_0xa6c44,pivotTableId:_0x215be9}=_0x1dc62a,_0x5c015e=_0x1dc62a[_0x3dcb1a(0x35e)]['type'],_0x2c9778={};switch(_0x5c015e){case _0x2dff37['Filter']:{const _0x1d49cc=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0x279)];if(!_0x1d49cc)return;const {row:_0x98923c,col:_0x523389,cellData:_0x32be33,pivotItemRenderInfoCache:_0x3027e5,tableFieldId:_0x325d3a}=_0x1d49cc,_0x25d8ae=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x123)](_0x1dc62a['pivotTableId']);if(!_0x25d8ae||!_0x3027e5)return;if(_0x325d3a){const _0x334761=_0x25d8ae[_0x3dcb1a(0x147)](_0x325d3a);if(!_0x334761)return;_0x2c9778['filter']={..._0x25d8ae[_0x3dcb1a(0x2c0)](_0x334761),'tableFieldId':_0x325d3a,'pivotTableId':_0x1dc62a['pivotTableId'],'filterInfo':_0x25d8ae[_0x3dcb1a(0x3aa)](_0x325d3a),'sortInfo':_0x25d8ae['getSortInfo'](_0x325d3a),'format':_0x25d8ae['getFieldFormat'](_0x325d3a)};}else{const _0x1c8880=_0x45e11b(_0x98923c,_0x523389,_0x32be33,_0x25d8ae,_0x3027e5),_0x185263=_0x1c8880==null?void 0x0:_0x1c8880[_0x3dcb1a(0x39e)];if(!_0x185263)return;const _0x460aff=_0x25d8ae[_0x3dcb1a(0x147)](_0x185263);if(!_0x460aff)return;_0x2c9778[_0x3dcb1a(0x279)]={..._0x25d8ae['getDataFieldItemInfo'](_0x460aff),'tableFieldId':_0x185263,'pivotTableId':_0x1dc62a[_0x3dcb1a(0x1a5)],'filterInfo':_0x25d8ae['getFilterInfo'](_0x185263),'sortInfo':_0x25d8ae[_0x3dcb1a(0x213)](_0x185263),'format':_0x25d8ae['getFieldFormat'](_0x185263)};}}break;case _0x2dff37[_0x3dcb1a(0x17f)]:{const _0x33b947=_0x1dc62a['params'][_0x3dcb1a(0x388)];if(!_0x33b947)return;const {pivotTableId:_0x56f91c}=_0x33b947,_0x2559ac=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x56f91c);if(!_0x2559ac)return;const _0x2e74d8=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x56f91c),_0x7cd289=_0x2f2bc4(_0x2559ac,_0x56f91c,_0x2e74d8);_0x2c9778['panel']=_0x7cd289;}break;case _0x2dff37[_0x3dcb1a(0x400)]:{const _0x11d70d=this[_0x3dcb1a(0x2b2)]['getPivotTableInstance'](_0x215be9),_0x5b4f55=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x351)](_0x5855b7),_0x17a9c8=_0x5b4f55[_0x3dcb1a(0x3b3)](_0x215be9);let _0x3681ae=null;const _0x344ab0=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x215be9),_0x50d715=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0xec)];if(!_0x11d70d||!_0x344ab0||!_0x50d715)return!0x1;const {dataFieldId:_0x15ffd3,fieldArea:_0xe5ba28,index:_0x31cb38}=_0x50d715;_0x11d70d[_0x3dcb1a(0x1a7)]();const _0x328586=_0x11d70d['addFieldWithSourceId'](_0x15ffd3,_0xe5ba28,_0x31cb38);if(_0x328586&&_0xe5ba28===_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x2f0)]){const _0x468db6=_0x328586[_0x3dcb1a(0x1ed)](),_0x5be9ad=_0x11d70d[_0x3dcb1a(0x147)](_0x468db6);if(_0x5be9ad){const _0x158716=_0x5be9ad==null?void 0x0:_0x5be9ad['getFieldDataType']();_0x11d70d[_0x3dcb1a(0x19c)](_0x328586[_0x3dcb1a(0x1ed)](),_0x158716===_0x1978cb[_0x3dcb1a(0x110)]['number']?_0x1978cb[_0x3dcb1a(0x33e)]['sum']:_0x1978cb['PivotSubtotalTypeEnum'][_0x3dcb1a(0x165)]);}const _0x2124fe=_0x11d70d[_0x3dcb1a(0x36e)](),_0x395b53=_0x11d70d[_0x3dcb1a(0x102)](),_0x266b3d=_0x11d70d['getFieldCountByArea'](_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x2f0)]);if(_0x2124fe===-0x1&&_0x266b3d>0x1){const _0x127948=_0x395b53===_0x1978cb[_0x3dcb1a(0x362)][_0x3dcb1a(0x2ee)]?_0x1978cb['PivotTableValuePositionEnum'][_0x3dcb1a(0x3f0)]:_0x395b53,_0x468330=_0x127948===_0x1978cb['PivotTableValuePositionEnum']['Row']?_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x3b9)]:_0x1978cb[_0x3dcb1a(0x3be)]['Column'];_0x11d70d[_0x3dcb1a(0x12b)](_0x127948,_0x11d70d['getFieldCountByArea'](_0x468330));}}else{if(_0x328586&&(_0xe5ba28===_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x3b9)]||_0xe5ba28===_0x1978cb[_0x3dcb1a(0x3be)][_0x3dcb1a(0x3f0)])){const _0x28ec1d=_0x328586[_0x3dcb1a(0x1ed)](),_0x5d98fd=_0x11d70d['getDataFieldByTableId'](_0x28ec1d);if(_0x5d98fd&&(_0x5d98fd==null?void 0x0:_0x5d98fd[_0x3dcb1a(0x222)]())===_0x1978cb[_0x3dcb1a(0x110)][_0x3dcb1a(0x15f)]){const _0x34bcf0=_0x5d98fd[_0x3dcb1a(0x27c)]();if(_0x34bcf0&&_0x11d70d[_0x3dcb1a(0x2d0)](_0x328586[_0x3dcb1a(0x1ed)](),_0x34bcf0),!_0x17a9c8[_0x3dcb1a(0x31b)]()['some'](_0x14a84a=>{const _0x3dcbe4=_0x3dcb1a,_0x2b4217=_0x17a9c8[_0x3dcbe4(0x17d)](_0x14a84a);return _0x1978cb[_0x3dcbe4(0x21d)](_0x2b4217)?_0x2b4217[_0x3dcbe4(0x355)]()[_0x3dcbe4(0x357)]===_0x15ffd3:!0x1;})){const _0x4b1ce8=_0x5b4f55[_0x3dcb1a(0x196)](),_0x373905=_0x1773cf(_0x5d98fd['maxDate'],_0x5d98fd[_0x3dcb1a(0x3e4)]),_0x46c5b1=_0x5d98fd[_0x3dcb1a(0x134)]()+_0x3dcb1a(0x190)+_0x16e833(this['_injector'],_0x373905),_0x2b0e9d=new _0x1978cb['DateGroupField'](_0x4b1ce8,_0x46c5b1,_0x1978cb[_0x3dcb1a(0x24d)](0x3),_0x5d98fd['getId'](),_0x373905);_0x5b4f55[_0x3dcb1a(0x10b)](_0x2b0e9d),_0x17a9c8['addField'](_0x4b1ce8,_0x46c5b1),_0x11d70d['addFieldWithSourceId'](_0x4b1ce8,_0xe5ba28,(_0x31cb38!=null?_0x31cb38:0x0)+0x1),_0x3681ae=_0x2b0e9d;}}}}const _0x1468ff=_0x11d70d['isEmpty'](),_0x30c0c9=_0x11d70d[_0x3dcb1a(0x393)]()[_0x3dcb1a(0x117)]();let _0x1a39d2;if(_0x3681ae){_0x1a39d2=_0x3681ae[_0x3dcb1a(0x117)]();const _0x2241da=_0x3681ae[_0x3dcb1a(0x1ed)]();_0x17a9c8['deleteField'](_0x2241da);let _0x455864=!0x0;for(const _0x1b13c3 in _0x5b4f55['collections'])if(_0x5b4f55[_0x3dcb1a(0x3d8)][_0x1b13c3]['getFieldIds']()[_0x3dcb1a(0x302)](_0x2241da)){_0x455864=!0x1;break;}_0x455864&&_0x5b4f55[_0x3dcb1a(0x1eb)](_0x2241da);}const _0x302a1a=_0x11d70d[_0x3dcb1a(0x159)]();_0x2c9778['addPivotField']={'view':_0x30c0c9,'changesets':_0x302a1a,'isEmpty':_0x1468ff,'pivotTableConfig':_0x344ab0,'shouldBeAddedGroupJSON':_0x1a39d2};}break;case _0x2dff37['AddPivotTable']:{const _0x2f168c=_0x1dc62a['params'][_0x3dcb1a(0x261)];if(!_0x2f168c)return;const _0x4431d0=_0x2f168c['sourceRangeInfo'],_0x30df1c=_0x2f168c[_0x3dcb1a(0x1a5)],{collection:_0x504731}=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x252)]({'unitId':_0x4431d0[_0x3dcb1a(0x27e)],'sheetName':_0x4431d0['sheetName'],'subUnitId':_0x4431d0['subUnitId'],'range':_0x4431d0[_0x3dcb1a(0x145)]}),_0x2bd0ea=new _0x1978cb[(_0x3dcb1a(0x28e))](_0x504731,void 0x0,_0x30df1c),_0x10c0ed=_0x2bd0ea[_0x3dcb1a(0x393)](),_0x153042=_0x2bd0ea[_0x3dcb1a(0x117)](),_0x3f6c8b=_0x504731['toJSON']();_0x2c9778[_0x3dcb1a(0x261)]={'view':_0x10c0ed,'fieldsConfig':_0x153042,'collectionConfig':_0x3f6c8b,'isEmpty':_0x2bd0ea[_0x3dcb1a(0x36b)]()};}break;case _0x2dff37[_0x3dcb1a(0x20a)]:{const _0x3f4a75=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0x232)];if(!_0x3f4a75)return;const {fieldId:_0x313de9,area:_0x4c621f,index:_0xc7cbe8}=_0x3f4a75,_0x35046c=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x35046c)return;const _0x2a98d3=this['_sheetsPivotDataSourceModel'][_0x3dcb1a(0x123)](_0x215be9);if(!_0x2a98d3)return;_0x2a98d3['startCollectChangeset']();const {area:_0x13f7d8,index:_0x345543}=_0x2a98d3[_0x3dcb1a(0x3a6)](_0x313de9);if(_0x2a98d3[_0x3dcb1a(0x10e)](_0x313de9,_0x4c621f,_0xc7cbe8),_0x4c621f===_0x1978cb[_0x3dcb1a(0x3be)]['Value']&&_0x2a98d3[_0x3dcb1a(0x24f)](_0x313de9)[_0x3dcb1a(0x1a3)]()===void 0x0){const _0x69be67=_0x2a98d3[_0x3dcb1a(0x24f)](_0x313de9);if(_0x69be67&&_0x69be67[_0x3dcb1a(0x1a3)]()===void 0x0){const _0x5c8d1f=_0x2a98d3[_0x3dcb1a(0x147)](_0x313de9);if(_0x5c8d1f){const _0x5857e6=_0x5c8d1f==null?void 0x0:_0x5c8d1f[_0x3dcb1a(0x222)]();_0x2a98d3[_0x3dcb1a(0x19c)](_0x313de9,_0x5857e6===_0x1978cb[_0x3dcb1a(0x110)][_0x3dcb1a(0x3d3)]?_0x1978cb[_0x3dcb1a(0x33e)][_0x3dcb1a(0x242)]:_0x1978cb[_0x3dcb1a(0x33e)][_0x3dcb1a(0x165)]);}}}const _0x5b9517=_0x2a98d3[_0x3dcb1a(0x102)](),_0x38c8cf=_0x2a98d3[_0x3dcb1a(0x36e)](),_0x56c490=_0x2a98d3[_0x3dcb1a(0x28a)](_0x1978cb[_0x3dcb1a(0x3be)][_0x3dcb1a(0x2f0)])>0x1;if(_0x56c490&&_0x13f7d8===_0x4c621f&&(_0x4c621f===_0x1978cb[_0x3dcb1a(0x3be)][_0x3dcb1a(0x3b9)]&&_0x5b9517===_0x1978cb['PivotTableValuePositionEnum'][_0x3dcb1a(0x3b9)]||_0x4c621f===_0x1978cb[_0x3dcb1a(0x3be)]['Column']&&_0x5b9517===_0x1978cb['PivotTableValuePositionEnum'][_0x3dcb1a(0x3f0)])){let _0x46b8bf=_0x38c8cf;_0x345543<=_0x38c8cf&&_0x46b8bf--,_0xc7cbe8<=_0x38c8cf&&_0x46b8bf++,_0x2a98d3[_0x3dcb1a(0x12b)](_0x5b9517,_0x46b8bf);}else _0x56c490&&(_0x13f7d8===_0x1978cb[_0x3dcb1a(0x3be)]['Row']&&_0x5b9517===_0x1978cb['PivotTableValuePositionEnum'][_0x3dcb1a(0x3b9)]||_0x13f7d8===_0x1978cb[_0x3dcb1a(0x3be)][_0x3dcb1a(0x3f0)]&&_0x5b9517===_0x1978cb[_0x3dcb1a(0x362)]['Column'])&&_0x38c8cf>=_0x345543&&_0x2a98d3[_0x3dcb1a(0x12b)](_0x5b9517,_0x38c8cf-0x1),_0x56c490&&(_0x4c621f===_0x1978cb[_0x3dcb1a(0x3be)][_0x3dcb1a(0x3b9)]&&_0x5b9517===_0x1978cb['PivotTableValuePositionEnum'][_0x3dcb1a(0x3b9)]||_0x4c621f===_0x1978cb[_0x3dcb1a(0x3be)][_0x3dcb1a(0x3f0)]&&_0x5b9517===_0x1978cb['PivotTableValuePositionEnum'][_0x3dcb1a(0x3f0)])&&_0x38c8cf>=_0xc7cbe8&&_0x2a98d3[_0x3dcb1a(0x12b)](_0x5b9517,_0x38c8cf+0x1);const _0x5a106e=_0x2a98d3[_0x3dcb1a(0x393)](),_0x35bb59=_0x2a98d3[_0x3dcb1a(0x36b)](),_0x4151ad=_0x2a98d3[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x232)]={'view':_0x5a106e[_0x3dcb1a(0x117)](),'changesets':_0x4151ad,'isEmpty':_0x35bb59,'pivotTableConfig':_0x35046c};}break;case _0x2dff37[_0x3dcb1a(0x24c)]:{const _0x54713e=_0x1dc62a[_0x3dcb1a(0x35e)]['removePivotField'];if(!_0x54713e)return;const _0x5f5973=_0x54713e[_0x3dcb1a(0x3a5)],_0x517e79=this[_0x3dcb1a(0x2b2)]['getPivotTableConfig'](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x517e79)return!0x1;const _0x28d3fd=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x123)](_0x215be9);if(!_0x28d3fd)return!0x1;_0x28d3fd[_0x3dcb1a(0x1a7)]();for(const _0x355c01 of _0x5f5973){const {area:_0x4532e5}=_0x28d3fd[_0x3dcb1a(0x3a6)](_0x355c01);_0x4532e5===_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x2f0)]&&_0x28d3fd['removeValueFilterInfoByValueFieldId'](_0x355c01),(_0x4532e5===_0x1978cb[_0x3dcb1a(0x3be)]['Row']||_0x4532e5===_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x3f0)])&&_0x28d3fd[_0x3dcb1a(0xf5)](_0x355c01),_0x28d3fd[_0x3dcb1a(0xe8)](_0x355c01);}const _0x3abea6=_0x28d3fd[_0x3dcb1a(0x36b)](),_0x4cd7bb=_0x28d3fd[_0x3dcb1a(0x393)]()['toJSON'](),_0x5efded=_0x28d3fd[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x395)]={'changesets':_0x5efded,'pivotTableConfig':_0x517e79,'isEmpty':_0x3abea6,'view':_0x4cd7bb};}break;case _0x2dff37[_0x3dcb1a(0xf0)]:{const _0x163967=_0x1dc62a['params'][_0x3dcb1a(0x310)];if(!_0x163967)return;const {tableFieldId:_0x2046a1,items:_0x53e6b9,isAll:_0x645228}=_0x163967,_0x2672f6=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x123)](_0x215be9),_0x33222d=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x2672f6||!_0x33222d)return;_0x2672f6[_0x3dcb1a(0x1a7)](),_0x2672f6['setLabelFilterInfo'](_0x2046a1,{'type':_0x1978cb[_0x3dcb1a(0x215)]['ManualFilter'],'list':_0x53e6b9,'isAll':_0x645228});const _0x5a3b73=_0x2672f6[_0x3dcb1a(0x36b)](),_0x65e0a=_0x2672f6[_0x3dcb1a(0x393)]()['toJSON'](),_0x208941=_0x2672f6[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x310)]={'view':_0x65e0a,'changesets':_0x208941,'isEmpty':_0x5a3b73,'pivotTableConfig':_0x33222d};}break;case _0x2dff37[_0x3dcb1a(0x2d3)]:{const _0x1a4ec4=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0x14b)];if(!_0x1a4ec4)return;const {tableFieldId:_0x16ba89,filterInfo:_0x5ccbde}=_0x1a4ec4,_0x53551f=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x123)](_0x215be9),_0x47816c=this[_0x3dcb1a(0x2b2)]['getPivotTableConfig'](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x53551f||!_0x47816c)return;_0x53551f[_0x3dcb1a(0x1a7)](),_0x53551f[_0x3dcb1a(0x124)](_0x16ba89,_0x5ccbde);const _0x2871ad=_0x53551f['isEmpty'](),_0x157565=_0x53551f[_0x3dcb1a(0x393)]()[_0x3dcb1a(0x117)](),_0x257c0a=_0x53551f[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x14b)]={'view':_0x157565,'changesets':_0x257c0a,'isEmpty':_0x2871ad,'pivotTableConfig':_0x47816c};}break;case _0x2dff37[_0x3dcb1a(0xf4)]:{const _0x303f75=_0x1dc62a[_0x3dcb1a(0x35e)]['setPivotSort'];if(!_0x303f75)return;const {tableFieldId:_0x1b01a3,info:_0x8cea4e}=_0x303f75,_0x580210=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x123)](_0x215be9),_0x15a4b6=this['_sheetsPivotDataSourceModel'][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x580210||!_0x15a4b6)return;_0x580210[_0x3dcb1a(0x1a7)](),_0x580210[_0x3dcb1a(0x1ea)](_0x1b01a3,_0x8cea4e);const _0x3ba0de=_0x580210['isEmpty'](),_0x399772=_0x580210[_0x3dcb1a(0x393)]()[_0x3dcb1a(0x117)](),_0xeba221=_0x580210[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x125)]={'view':_0x399772,'changesets':_0xeba221,'isEmpty':_0x3ba0de,'pivotTableConfig':_0x15a4b6};}break;case _0x2dff37[_0x3dcb1a(0x191)]:{const _0x24cd14=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0x29d)];if(!_0x24cd14)return;const {tableFieldId:_0x1e086c,displayName:_0xc3a713,subtotalType:_0x19c70c,format:_0xd0cc1e}=_0x24cd14,_0x2bb047=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x215be9),_0x1c41d7=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x2bb047||!_0x1c41d7)return;_0x2bb047[_0x3dcb1a(0x1a7)](),_0xc3a713!==void 0x0&&_0x2bb047[_0x3dcb1a(0x326)](_0x1e086c,_0xc3a713),_0x19c70c!==void 0x0&&_0x2bb047[_0x3dcb1a(0x19c)](_0x1e086c,_0x19c70c),_0xd0cc1e!==void 0x0&&_0x2bb047[_0x3dcb1a(0x2d0)](_0x1e086c,_0xd0cc1e);const _0x78abfb=_0x2bb047[_0x3dcb1a(0x36b)](),_0x39148d=_0x2bb047['query']()[_0x3dcb1a(0x117)](),_0x26b44a=_0x2bb047[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x29d)]={'changesets':_0x26b44a,'pivotTableConfig':_0x1c41d7,'isEmpty':_0x78abfb,'view':_0x39148d};}break;case _0x2dff37['UpdatePivotSource']:{const _0x3d422d=_0x1dc62a['params'][_0x3dcb1a(0x3e2)];if(!_0x3d422d)return;const {dataRangeInfo:_0xf7794d,unitId:_0x370b83,subUnitId:_0xa24d7d}=_0x3d422d,_0x4d047b=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x405)](_0x370b83,_0xa24d7d,_0x215be9),_0x58c460=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x215be9);if(!this['_sheetsPivotDataSourceModel'][_0x3dcb1a(0x3b3)](_0x370b83,_0x215be9)||!_0x58c460||!_0x4d047b)return;const _0x441282=this['_sheetsPivotDataSourceModel'][_0x3dcb1a(0x3bb)](_0x370b83,_0x215be9,_0xf7794d),_0x4d015f=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x3b3)](_0x370b83,_0x215be9)[_0x3dcb1a(0x117)](),{collection:_0x1831d7}=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x252)]({'unitId':_0xf7794d[_0x3dcb1a(0x27e)],'sheetName':_0xf7794d['sheetName'],'subUnitId':_0xf7794d[_0x3dcb1a(0x277)],'range':_0xf7794d[_0x3dcb1a(0x145)]}),_0x32dfca=_0x1831d7['toJSON']();_0x58c460[_0x3dcb1a(0x1a7)]();const _0x46adcb=this[_0x3dcb1a(0x2b2)]['getDataFieldManager'](_0x370b83)[_0x3dcb1a(0x194)]()||_0x1978cb[_0x3dcb1a(0x2ab)];_0x58c460[_0x3dcb1a(0x32a)](_0x46d25d=>{const _0x204f51=_0x3dcb1a,_0x587453=_0x46d25d['getDataFieldId']();if(!_0x1831d7[_0x204f51(0x155)](_0x587453)){const _0x1f5a35=_0x1831d7['getDataFieldBySourceName'](_0x46d25d[_0x204f51(0x36f)]());if(_0x1f5a35){_0x58c460['updateFieldSourceInfo'](_0x46d25d[_0x204f51(0x1ed)](),_0x1f5a35['getName'](),_0x1f5a35[_0x204f51(0x1ed)]());const {area:_0x1a1916}=_0x58c460['getFieldPositionInfoById'](_0x46d25d[_0x204f51(0x1ed)]());let _0x22274b=_0x46d25d[_0x204f51(0x36f)]();const _0x5e7e14=_0x46d25d[_0x204f51(0x186)]();if(_0x1a1916===_0x1978cb[_0x204f51(0x3be)][_0x204f51(0x2f0)]){const _0x18e88a=_0x46d25d[_0x204f51(0x1a3)]();_0x22274b=_0x46adcb(_0x1f5a35[_0x204f51(0x134)](),_0x18e88a);}_0x5e7e14!==_0x22274b&&_0x58c460[_0x204f51(0x326)](_0x46d25d[_0x204f51(0x1ed)](),_0x22274b);}else _0x58c460[_0x204f51(0xe8)](_0x46d25d[_0x204f51(0x1ed)]());}});const _0x3c2bd9=_0x58c460[_0x3dcb1a(0x36b)](),_0x364110=_0x58c460['query']()[_0x3dcb1a(0x117)](),_0x751313=_0x58c460[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x3e2)]={'view':_0x364110,'changesets':_0x751313,'isEmpty':_0x3c2bd9,'pivotTableConfig':_0x4d047b,'collectionConfig':_0x32dfca,'oldCollectionConfig':_0x4d015f,'deleteIds':_0x441282};}break;case _0x2dff37[_0x3dcb1a(0x26f)]:{const _0x5955c4=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0x12b)];if(!_0x5955c4)return;const {position:_0x209a7f,index:_0x357c84}=_0x5955c4,_0x569895=this[_0x3dcb1a(0x2b2)]['getPivotTableConfig'](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x569895)return!0x1;const _0xa8ab96=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x215be9);if(!_0xa8ab96)return!0x1;_0xa8ab96[_0x3dcb1a(0x1a7)](),_0xa8ab96[_0x3dcb1a(0x12b)](_0x209a7f,_0x357c84);const _0x13479a=_0xa8ab96[_0x3dcb1a(0x36b)](),_0x748ff4=_0xa8ab96[_0x3dcb1a(0x393)]()[_0x3dcb1a(0x117)](),_0x4f912c=_0xa8ab96[_0x3dcb1a(0x159)]();_0x2c9778['updateValuePosition']={'changesets':_0x4f912c,'pivotTableConfig':_0x569895,'isEmpty':_0x13479a,'view':_0x748ff4};}break;case _0x2dff37[_0x3dcb1a(0x3ee)]:{const _0x3ae721=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0x16b)];if(!_0x3ae721)return;const {tableFieldId:_0x2719c0,collapse:_0x2e34e0,item:_0x18ffec}=_0x3ae721,_0x4f1ebc=this['_sheetsPivotDataSourceModel'][_0x3dcb1a(0x123)](_0x215be9),_0x18e7f4=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x4f1ebc||!_0x18e7f4)return;_0x4f1ebc[_0x3dcb1a(0x1a7)](),_0x4f1ebc['setCollapse'](_0x2719c0,_0x2e34e0,_0x18ffec);const _0x246725=_0x4f1ebc['isEmpty'](),_0xa6e9ca=_0x4f1ebc[_0x3dcb1a(0x393)]()[_0x3dcb1a(0x117)](),_0x26f148=_0x4f1ebc[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x16b)]={'view':_0xa6e9ca,'isEmpty':_0x246725,'pivotTableConfig':_0x18e7f4,'changesets':_0x26f148};}break;case _0x2dff37[_0x3dcb1a(0x14e)]:{const _0x4785c9=_0x1dc62a[_0x3dcb1a(0x35e)][_0x3dcb1a(0x325)];if(!_0x4785c9)return;const {pivotTableConfig:_0x1a3887}=_0x4785c9,_0x2fc555=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x215be9),_0x428892=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x2fc555||!_0x428892)return;_0x2fc555[_0x3dcb1a(0x1a7)](),_0x8cee7d(_0x2fc555,_0x1a3887);const _0x1f57c9=_0x2fc555[_0x3dcb1a(0x36b)](),_0x4808e3=_0x2fc555[_0x3dcb1a(0x393)]()[_0x3dcb1a(0x117)](),_0x3a5e64=_0x2fc555['endCollectChangeset']();_0x2c9778[_0x3dcb1a(0x325)]={'view':_0x4808e3,'isEmpty':_0x1f57c9,'pivotTableConfig':{..._0x428892,'fieldsConfig':_0x2fc555['toJSON']()},'changesets':_0x3a5e64};}break;case _0x2dff37[_0x3dcb1a(0x2ef)]:{const _0xbc731e=_0x1dc62a['params'][_0x3dcb1a(0x152)];if(!_0xbc731e)return;const _0x62f88e=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x123)](_0x215be9),_0x5112a7=this['_sheetsPivotDataSourceModel'][_0x3dcb1a(0x405)](_0x5855b7,_0xa6c44,_0x215be9);if(!_0x62f88e||!_0x5112a7)return;_0x62f88e[_0x3dcb1a(0x1a7)](),_0x11d3b9(_0x62f88e,_0xbc731e[_0x3dcb1a(0x2b4)]);const _0x586258=_0x62f88e[_0x3dcb1a(0x393)]()[_0x3dcb1a(0x117)](),_0x33df00=_0x62f88e[_0x3dcb1a(0x159)]();_0x2c9778[_0x3dcb1a(0x152)]={'view':_0x586258,'isEmpty':!0x0,'pivotTableConfig':{..._0x5112a7,'fieldsConfig':_0x62f88e[_0x3dcb1a(0x117)]()},'changesets':_0x33df00};}break;case _0x2dff37[_0x3dcb1a(0x3bc)]:{const _0x76274f=_0x1dc62a['params']['addPivotTableWithConfig'];if(!_0x76274f)return;const _0x30c096=_0x76274f['sourceRangeInfo'],_0x53a9c1=_0x76274f['pivotTableId'],{collection:_0x511835}=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x252)]({'unitId':_0x30c096['unitId'],'sheetName':_0x30c096[_0x3dcb1a(0x1db)],'subUnitId':_0x30c096[_0x3dcb1a(0x277)],'range':_0x30c096[_0x3dcb1a(0x145)]}),_0x3b00e5=new _0x1978cb[(_0x3dcb1a(0x28e))](_0x511835,void 0x0,_0x53a9c1),_0x2b8b60=_0x511835[_0x3dcb1a(0x31b)](),{rows:_0x19c0d6,columns:_0x355ab4,filters:_0x38ecbc,values:_0x17db32}=_0x76274f[_0x3dcb1a(0x135)];_0x3b00e5[_0x3dcb1a(0x1a7)]();for(const {field:_0x5a08bc,selectedItems:_0x2399f5}of _0x19c0d6||[]){const _0x34af24=_0x2b8b60[_0x5a08bc];if(_0x34af24){const _0x4e4873=_0x3b00e5[_0x3dcb1a(0x10d)](_0x34af24,_0x1978cb[_0x3dcb1a(0x3be)][_0x3dcb1a(0x3b9)]);_0x2399f5&&_0x4e4873&&_0x3b00e5[_0x3dcb1a(0x1e4)](_0x4e4873[_0x3dcb1a(0x1ed)](),{'type':_0x1978cb[_0x3dcb1a(0x215)]['ManualFilter'],'list':_0x2399f5,'isAll':!0x1});}}for(const {field:_0x23c63e,selectedItems:_0x48a8bc}of _0x355ab4||[]){const _0xfcf7ab=_0x2b8b60[_0x23c63e];if(_0xfcf7ab){const _0x88c63f=_0x3b00e5['addFieldWithSourceId'](_0xfcf7ab,_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x3f0)]);_0x48a8bc&&_0x88c63f&&_0x3b00e5[_0x3dcb1a(0x1e4)](_0x88c63f[_0x3dcb1a(0x1ed)](),{'type':_0x1978cb[_0x3dcb1a(0x215)][_0x3dcb1a(0x378)],'list':_0x48a8bc,'isAll':!0x1});}}for(const {field:_0xc6312d,selectedItems:_0x33cf08}of _0x38ecbc||[]){const _0x2dca80=_0x2b8b60[_0xc6312d];if(_0x2dca80){const _0x495983=_0x3b00e5[_0x3dcb1a(0x10d)](_0x2dca80,_0x1978cb['PivotTableFiledAreaEnum'][_0x3dcb1a(0x341)]);_0x33cf08&&_0x495983&&_0x3b00e5['setLabelFilterInfo'](_0x495983['getId'](),{'type':_0x1978cb[_0x3dcb1a(0x215)][_0x3dcb1a(0x378)],'list':_0x33cf08,'isAll':!0x1});}}for(const {field:_0x481fa1,subTotalType:_0x21a796,formatString:_0x2a3bf2}of _0x17db32||[]){const _0x59e048=_0x511835[_0x3dcb1a(0x17d)](_0x2b8b60[_0x481fa1]);if(!_0x59e048)continue;const _0x17ccb6=_0x2b8b60[_0x481fa1];if(_0x17ccb6){const _0x4991ab=_0x3b00e5['addFieldWithSourceId'](_0x17ccb6,_0x1978cb[_0x3dcb1a(0x3be)]['Value']);if(_0x4991ab){if(_0x21a796!==void 0x0){_0x3b00e5[_0x3dcb1a(0x19c)](_0x4991ab[_0x3dcb1a(0x1ed)](),_0x21a796);const _0x28103b=this[_0x3dcb1a(0x2b2)][_0x3dcb1a(0x351)](_0x30c096[_0x3dcb1a(0x27e)])['getAutoDisplayNameFunction']()||_0x1978cb[_0x3dcb1a(0x2ab)],_0x984c15=_0x511835[_0x3dcb1a(0x186)](_0x17ccb6),_0x478ece=_0x28103b(_0x984c15,_0x21a796);_0x3b00e5[_0x3dcb1a(0x326)](_0x4991ab['getId'](),_0x478ece);}else{if(_0x59e048){const _0x1901d7=_0x59e048==null?void 0x0:_0x59e048[_0x3dcb1a(0x222)]();_0x3b00e5[_0x3dcb1a(0x19c)](_0x4991ab['getId'](),_0x1901d7===_0x1978cb[_0x3dcb1a(0x110)][_0x3dcb1a(0x3d3)]?_0x1978cb[_0x3dcb1a(0x33e)][_0x3dcb1a(0x242)]:_0x1978cb[_0x3dcb1a(0x33e)][_0x3dcb1a(0x165)]);}}_0x2a3bf2&&_0x3b00e5[_0x3dcb1a(0x2d0)](_0x4991ab[_0x3dcb1a(0x1ed)](),_0x2a3bf2);}}}const _0x5e5f4b=_0x3b00e5[_0x3dcb1a(0x393)](),_0x2e041a=_0x3b00e5[_0x3dcb1a(0x117)](),_0x49593c=_0x3b00e5[_0x3dcb1a(0x36b)](),_0x454c9f=_0x3b00e5[_0x3dcb1a(0x159)](),_0x1a3a63=_0x511835[_0x3dcb1a(0x117)]();_0x2c9778[_0x3dcb1a(0x127)]={'view':_0x5e5f4b,'fieldsConfig':_0x2e041a,'collectionConfig':_0x1a3a63,'isEmpty':_0x49593c,'changesets':_0x454c9f};}break;case _0x2dff37[_0x3dcb1a(0x11c)]:{const _0x4a855b=_0x2edfac(this['_injector'],_0x1dc62a);if(!_0x4a855b)return;const {range:_0x22b070,sourceSubUnitId:_0x3fabf8,sourceUnitId:_0x385bf2,formatMap:_0x306cda,indexes:_0x888024}=_0x4a855b;_0x2c9778[_0x3dcb1a(0x16f)]={'range':_0x22b070,'sourceSubUnitId':_0x3fabf8,'sourceUnitId':_0x385bf2,'formatMap':_0x306cda,'indexes':_0x888024};}break;}this[_0x3dcb1a(0x107)][_0x3dcb1a(0xfd)](_0x42f08c['id'],{'version':_0x1dc62a[_0x3dcb1a(0x3da)],'result':_0x2c9778},{'onlyLocal':!0x0});}));}[_0x952e9f(0x2e6)](){const _0x169e33=_0x952e9f;this[_0x169e33(0x2fa)](this[_0x169e33(0x107)][_0x169e33(0x260)](_0x94f9ec=>{const _0x303c9c=_0x169e33;if(_0x94f9ec['id']!==_0x4e58e8['id'])return;const _0x5a22de=_0x94f9ec[_0x303c9c(0x35e)];return this[_0x303c9c(0x2b2)][_0x303c9c(0x2d5)](_0x5a22de[_0x303c9c(0x31a)]),!0x0;}));}['_subjectCollectionChange'](){const _0x322b5f=_0x952e9f;this['_sheetsPivotDataSourceModel'][_0x322b5f(0x3f3)][_0x322b5f(0x15e)](_0x1039e5=>{const _0x5dec8c=_0x322b5f;switch(_0x1039e5[_0x5dec8c(0x2e2)]){case _0x2c797b['add']:_0x1039e5[_0x5dec8c(0x157)]&&_0x1039e5['targetCellInfo']&&this[_0x5dec8c(0x290)](_0x1039e5[_0x5dec8c(0xde)],_0x1039e5[_0x5dec8c(0x157)],_0x1039e5[_0x5dec8c(0x354)]);break;case _0x2c797b[_0x5dec8c(0x366)]:{const {unitId:_0x25bab8,subUnitId:_0x85cf12,token:_0x49dc}=_0x1039e5;_0x25bab8&&_0x85cf12&&_0x49dc&&this[_0x5dec8c(0x3b8)](_0x25bab8,_0x85cf12,_0x49dc);}break;case _0x2c797b['update']:{const {token:_0xac54bd,oldSourceRangeInfo:_0x45c876,dataRangeInfo:_0x15df10,targetCellInfo:_0xbb4bf9}=_0x1039e5,{unitId:_0x2906a6,subUnitId:_0x44ad0f}=_0x45c876||{};_0x2906a6&&_0x44ad0f&&_0xac54bd&&this[_0x5dec8c(0x3b8)](_0x2906a6,_0x44ad0f,_0xac54bd),_0x15df10&&_0xbb4bf9&&this[_0x5dec8c(0x290)](_0xac54bd,_0x15df10,_0xbb4bf9);}break;}});}[_0x952e9f(0x142)](){const _0x4c8de0=_0x952e9f;this[_0x4c8de0(0x2b2)][_0x4c8de0(0x3f7)][_0x4c8de0(0x15e)](_0x3ef23f=>{const _0x5d4a37=_0x4c8de0;Object[_0x5d4a37(0x111)](_0x3ef23f)[_0x5d4a37(0x1fb)](_0x495b31=>{const _0x193aa8=_0x5d4a37,_0x33b364=this['_sheetsPivotDataSourceModel']['getTargetByPivotId'](_0x495b31);if(_0x33b364){const _0x2c8e0d=this[_0x193aa8(0x2b2)][_0x193aa8(0x405)](_0x33b364==null?void 0x0:_0x33b364['unitId'],_0x33b364==null?void 0x0:_0x33b364[_0x193aa8(0x277)],_0x495b31);_0x2c8e0d&&(this[_0x193aa8(0x290)](_0x495b31,_0x2c8e0d[_0x193aa8(0x3a8)],_0x2c8e0d[_0x193aa8(0x354)]),this['triggerDirtyFeature']([{'unitId':_0x33b364[_0x193aa8(0x27e)],'subUnitId':_0x33b364['subUnitId'],'token':_0x495b31}]));}});});}[_0x952e9f(0xf3)](){const _0x5430b2=_0x952e9f;this['_sheetsPivotDataSourceModel'][_0x5430b2(0x2ff)][_0x5430b2(0x15e)](_0x2ddafa=>{const _0x404809=_0x5430b2,{unitId:_0x4ed6f2,subUnitId:_0x28f866,pivotTableId:_0x3b5cd3}=_0x2ddafa;_0x4ed6f2&&_0x28f866&&_0x3b5cd3&&this[_0x404809(0x32b)]([{'unitId':_0x4ed6f2,'subUnitId':_0x28f866,'token':_0x3b5cd3}]);});}[_0x952e9f(0x32b)](_0x3acea1){const _0x2ec5e3=_0x952e9f,_0x5bd6c6={};_0x3acea1[_0x2ec5e3(0x1fb)](_0x24a683=>{var _0x2ee2a6,_0x216bbd;const {unitId:_0x112f40,subUnitId:_0x16efaf,token:_0x4980ed}=_0x24a683;_0x5bd6c6[_0x112f40]=(_0x2ee2a6=_0x5bd6c6[_0x112f40])!=null?_0x2ee2a6:{},_0x5bd6c6[_0x112f40][_0x16efaf]=(_0x216bbd=_0x5bd6c6[_0x112f40][_0x16efaf])!=null?_0x216bbd:{},_0x5bd6c6[_0x112f40][_0x16efaf][_0x4980ed]=!0x0;}),this[_0x2ec5e3(0x107)][_0x2ec5e3(0xfd)](_0x4c380b['id'],_0x5bd6c6);}[_0x952e9f(0x3b8)](_0x17e08f,_0x401f42,_0xe4547d){const _0x8a629b=_0x952e9f;this[_0x8a629b(0x33f)][_0x8a629b(0x2a3)](_0x17e08f,_0x401f42,[_0xe4547d]);}[_0x952e9f(0x290)](_0x50b4f8,_0x22a522,_0x5ed15b){const _0x3d8ab9=_0x952e9f,{unitId:_0x1f4133,subUnitId:_0x4f018f}=_0x22a522;this[_0x3d8ab9(0x33f)][_0x3d8ab9(0x2cc)](_0x5ed15b[_0x3d8ab9(0x27e)],_0x5ed15b[_0x3d8ab9(0x277)],_0x50b4f8)&&this[_0x3d8ab9(0x3b8)](_0x1f4133,_0x4f018f,_0x50b4f8);const _0x5ed863={'sheetId':_0x4f018f,..._0x22a522};this[_0x3d8ab9(0x33f)][_0x3d8ab9(0x2ea)](_0x5ed15b['unitId'],_0x5ed15b['subUnitId'],_0x50b4f8,{'unitId':_0x5ed15b[_0x3d8ab9(0x27e)],'subUnitId':_0x5ed15b['subUnitId'],'dependencyRanges':[_0x5ed863],'getDirtyData':(_0xa48ff9,_0x21fec3)=>{const _0x10381c=_0x3d8ab9,_0x16d024=this['_sheetsPivotDataSourceModel'],_0x1c9032=_0x16d024['getTargetByPivotId'](_0x50b4f8);if(!_0x1c9032)return _0x5b8854();const {unitId:_0x4bd2bd,subUnitId:_0x38d7be}=_0x1c9032,_0x2b5a99=_0x3e6df8(_0xa48ff9,_0x21fec3,_0x22a522);if(_0x2b5a99[_0x10381c(0x278)]>0x0){const _0x212b25=_0x16d024[_0x10381c(0x3b3)](_0x1f4133,_0x50b4f8),_0x50b58b=_0x212b25[_0x10381c(0x31b)](),_0xd0edfc=this[_0x10381c(0x2a9)](_0x22a522[_0x10381c(0x27e)],_0x22a522[_0x10381c(0x277)],_0x21fec3),_0x51062d={},_0x458ff4=this[_0x10381c(0x2b2)]['getDataFieldManager'](_0x4bd2bd)['getAutoDisplayNameFunction']()||_0x1978cb[_0x10381c(0x2ab)],_0x33b969=[];for(const _0x5728bc of _0x2b5a99){const _0x1efa9c=_0x5728bc-(_0x22a522[_0x10381c(0x145)][_0x10381c(0x3a9)]||0x0),_0x5dfe45=_0x50b58b[_0x1efa9c];_0x33b969[_0x10381c(0x2b7)](_0x5dfe45),_0x51062d[_0x5dfe45]=_0x212b25[_0x10381c(0x17d)](_0x5dfe45)['getName'](),_0x16d024['getDataFieldManager'](_0x1f4133)['refreshDataField'](_0x5dfe45,_0x22a522,_0x1efa9c,_0xd0edfc);}_0x212b25[_0x10381c(0x143)](_0x33b969)[_0x10381c(0x1fb)](_0x576969=>{const _0x4ea0e3=_0x10381c,[_0xf123ab,_0xbe5e47]=_0x576969,_0x316891=_0x212b25[_0x4ea0e3(0x17d)](_0xf123ab),_0x5cf7ae=_0x212b25[_0x4ea0e3(0x17d)](_0xbe5e47);_0x316891&&_0x5cf7ae&&_0x316891[_0x4ea0e3(0x2f1)](_0x5cf7ae);}),_0x212b25['updateAllDisplayName']();const _0x54256b=_0x16d024[_0x10381c(0x123)](_0x50b4f8);if(_0x54256b){_0x504c93(_0x54256b,_0x51062d,_0x458ff4),_0x54256b['setDirty'](!0x0);const _0x2aeaff=_0x54256b[_0x10381c(0x393)](),_0x3a5f38=_0x16d024['getPivotTableConfig'](_0x4bd2bd,_0x38d7be,_0x50b4f8),_0x5b499d=_0x16d024[_0x10381c(0x351)](_0x1f4133)[_0x10381c(0x117)]();_0x16d024[_0x10381c(0x39a)](_0x4bd2bd,_0x38d7be,_0x5cfd72[_0x10381c(0x15c)],_0x50b4f8,_0x2aeaff,_0x3a5f38,_0x5b499d,!0x0);}}return this[_0x10381c(0x359)](_0x4bd2bd,_0x38d7be,_0x50b4f8);}});}[_0x952e9f(0x2a9)](_0x69a168,_0x273a7a,_0x29f7b6){var _0x81ba25,_0x173bf5;const {arrayFormulaCellData:_0x17134a,unitData:_0x4ed3d3}=_0x29f7b6,_0x46f5f9=(_0x81ba25=_0x17134a==null?void 0x0:_0x17134a[_0x69a168])==null?void 0x0:_0x81ba25[_0x273a7a],_0x1e3544=(_0x173bf5=_0x4ed3d3==null?void 0x0:_0x4ed3d3[_0x69a168])==null?void 0x0:_0x173bf5[_0x273a7a];return{'arrayFormulaCellDataMatrix':_0x46f5f9,'unitDataMatrix':_0x1e3544};}[_0x952e9f(0x359)](_0x56b6fd,_0xd4264c,_0x495dc2){const _0x94ed60=_0x952e9f,_0x4f04a3=this['_sheetsPivotDataSourceModel']['getViewData'](_0x56b6fd,_0xd4264c,_0x495dc2),_0x55a372=[],_0x27fbad=new _0x71e749[(_0x94ed60(0x3f8))]();if(_0x4f04a3){const {rangeCache:_0x49baeb,matrix:_0x290784,oldRangeCache:_0x454a9d,oldMatrix:_0x4d08fc}=_0x4f04a3,_0xa7a519=_0x3e9c2e(_0x454a9d),_0x1d8b79=_0x3e9c2e(_0x49baeb);_0x55a372[_0x94ed60(0x2b7)](..._0x1d8b79,..._0xa7a519),_0x4d08fc&&_0x454a9d&&_0xa7a519[_0x94ed60(0x1fb)](_0x56563f=>{const _0x5057a9=_0x94ed60;for(let _0x4eaf7c=_0x56563f[_0x5057a9(0x2fd)];_0x4eaf7c<=_0x56563f['endRow'];_0x4eaf7c++)for(let _0x12fb12=_0x56563f[_0x5057a9(0x3a9)];_0x12fb12<=_0x56563f[_0x5057a9(0x317)];_0x12fb12++)_0x27fbad[_0x5057a9(0x272)](_0x4eaf7c,_0x12fb12);}),_0x290784&&_0x1d8b79&&_0x1d8b79['forEach'](_0x6d1ba1=>{const _0x2b62e6=_0x94ed60;for(let _0x111963=_0x6d1ba1['startRow'];_0x111963<=_0x6d1ba1[_0x2b62e6(0x22a)];_0x111963++)for(let _0x61bf79=_0x6d1ba1['startColumn'];_0x61bf79<=_0x6d1ba1['endColumn'];_0x61bf79++)_0x27fbad[_0x2b62e6(0x183)](_0x111963,_0x61bf79,_0x290784[_0x2b62e6(0x3ea)](_0x111963,_0x61bf79));});}const _0x4a6a9a={};return _0x4a6a9a[_0x56b6fd]={[_0xd4264c]:_0x3dd879(_0x55a372)},{'runtimeCellData':{[_0x56b6fd]:{[_0xd4264c]:_0x27fbad}},'dirtyRanges':_0x4a6a9a};}['dispose'](){}};_0x11d712=_0x4db938([_0x348f0e(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x386)])),_0x348f0e(0x1,_0x71e749[_0x952e9f(0x225)]),_0x348f0e(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x19b6b3[_0x952e9f(0x128)])),_0x348f0e(0x3,_0x71e749['Inject'](_0x71e749[_0x952e9f(0x1ec)])),_0x348f0e(0x4,_0x71e749[_0x952e9f(0x3f5)](_0x19b6b3[_0x952e9f(0x265)])),_0x348f0e(0x5,_0x71e749['Inject'](_0x71e749[_0x952e9f(0x297)]))],_0x11d712);var _0x15f854=Object['getOwnPropertyDescriptor'],_0x2e0ce1=(_0x1f0b55,_0x1f1ff3,_0x55e8b6,_0x1bf45e)=>{for(var _0x129d9a=_0x1bf45e>0x1?void 0x0:_0x1bf45e?_0x15f854(_0x1f1ff3,_0x55e8b6):_0x1f1ff3,_0x44e614=_0x1f0b55['length']-0x1,_0x1735bb;_0x44e614>=0x0;_0x44e614--)(_0x1735bb=_0x1f0b55[_0x44e614])&&(_0x129d9a=_0x1735bb(_0x129d9a)||_0x129d9a);return _0x129d9a;},_0x4aff24=(_0xe289d5,_0x2e44d2)=>(_0xcaaee9,_0x5b7880)=>_0x2e44d2(_0xcaaee9,_0x5b7880,_0xe289d5);let _0x3f4d61=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x5647bb,_0xbcfe50,_0x193d4c,_0x34adcd){const _0x597584=_0x952e9f;super(),_0x59bac0(this,_0x597584(0x33c),new _0x71e749[(_0x597584(0x250))]()),(this[_0x597584(0x2ba)]=_0x5647bb,this[_0x597584(0x158)]=_0xbcfe50,this[_0x597584(0x221)]=_0x193d4c,this['_sheetsPivotTableConfigModel']=_0x34adcd,this[_0x597584(0x370)]());}[_0x952e9f(0x370)](){const _0x1cfb20=_0x952e9f;this[_0x1cfb20(0x2fa)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0xdaa438=>{const _0x1f59ab=_0x1cfb20;if(_0xdaa438['id']===_0x2a18e2['ClearSelectionContentCommand']['id']||_0xdaa438['id']===_0x2a18e2[_0x1f59ab(0x37e)]['id']){const _0x4163da=[],_0x4f1a25=[],_0x19669d=this[_0x1f59ab(0x221)][_0x1f59ab(0x18c)]()['map'](_0x4965c5=>_0x4965c5[_0x1f59ab(0x145)]),_0x4ccac5=_0x2a18e2['getSheetCommandTarget'](this[_0x1f59ab(0x2ba)]);if(!_0x4ccac5)return{'redos':[],'undos':[]};const {unitId:_0x3db418,subUnitId:_0x303ed0}=_0x4ccac5,_0x2fe04d={},_0x3dcca9=this[_0x1f59ab(0x321)][_0x1f59ab(0x329)](_0x3db418,_0x303ed0);if(_0x3dcca9!=null&&_0x3dcca9['size'])for(const [_0x404cbe,_0x13c570]of _0x3dcca9){const {unitId:_0x4b59d9,subUnitId:_0x1c22ec,row:_0x14d6bc,col:_0x1c3b12}=_0x13c570[_0x1f59ab(0x354)];_0x4b59d9===_0x4ccac5[_0x1f59ab(0x27e)]&&_0x1c22ec===_0x4ccac5[_0x1f59ab(0x277)]&&(_0x2fe04d[_0x14d6bc+'-'+_0x1c3b12]=_0x404cbe);}return _0x19669d&&_0x4ccac5&&_0x19669d[_0x1f59ab(0x1fb)](_0xd1b975=>{const _0xe4657d=_0x1f59ab;_0x71e749[_0xe4657d(0x20d)][_0xe4657d(0x244)](_0xd1b975,(_0x204725,_0x412b3d)=>{const _0x33b70f=_0xe4657d,_0x4a9bba=_0x204725+'-'+_0x412b3d;if(_0x2fe04d[_0x4a9bba]){const _0x1cbe16=_0x2fe04d[_0x4a9bba];_0x4163da[_0x33b70f(0x2b7)]({'id':_0x5f2bbe['id'],'params':{'unitId':_0x3db418,'subUnitId':_0x303ed0,'pivotTableId':_0x1cbe16}});const _0x1fc68d=this['_sheetsPivotTableConfigModel'][_0x33b70f(0x3b3)](_0x3db418,_0x1cbe16),_0x512893=this['_sheetsPivotTableConfigModel'][_0x33b70f(0x405)](_0x3db418,_0x303ed0,_0x1cbe16);_0x4f1a25[_0x33b70f(0x2b7)]({'id':_0x191981['id'],'params':{'unitId':_0x3db418,'subUnitId':_0x303ed0,'pivotTableId':_0x1cbe16,'pivotTableConfig':_0x512893,'collectionConfig':_0x1fc68d}});}});}),{'redos':_0x4163da,'undos':_0x4f1a25};}return{'redos':[],'undos':[]};}}));}};_0x3f4d61=_0x2e0ce1([_0x4aff24(0x0,_0x71e749[_0x952e9f(0x168)]),_0x4aff24(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x2a18e2['SheetInterceptorService'])),_0x4aff24(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x2a18e2[_0x952e9f(0x363)])),_0x4aff24(0x3,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x299)]))],_0x3f4d61);var _0x2602c1=Object[_0x952e9f(0x169)],_0x448322=(_0x1089b8,_0x11d7a5,_0x5f4bca,_0x2bbbd8)=>{const _0x3da84c=_0x952e9f;for(var _0x549824=_0x2bbbd8>0x1?void 0x0:_0x2bbbd8?_0x2602c1(_0x11d7a5,_0x5f4bca):_0x11d7a5,_0x20f184=_0x1089b8[_0x3da84c(0x278)]-0x1,_0x91ad50;_0x20f184>=0x0;_0x20f184--)(_0x91ad50=_0x1089b8[_0x20f184])&&(_0x549824=_0x91ad50(_0x549824)||_0x549824);return _0x549824;},_0x5bb5c9=(_0x385b29,_0x3ca6ab)=>(_0x14fe22,_0x39132d)=>_0x3ca6ab(_0x14fe22,_0x39132d,_0x385b29);let _0x2215fd=class extends _0x71e749['Disposable']{constructor(_0x286584,_0x52df37,_0x4afcdd,_0x239322,_0x43a10d,_0x129338){const _0x4ac03b=_0x952e9f;super(),this[_0x4ac03b(0x402)]=_0x286584,this[_0x4ac03b(0x158)]=_0x52df37,this[_0x4ac03b(0x170)]=_0x4afcdd,this['_univerInstanceService']=_0x239322,this[_0x4ac03b(0x321)]=_0x43a10d,this['_sheetsPivotTableService']=_0x129338,this['_initCommandInterceptListener']();}[_0x952e9f(0x373)](_0x677b1d,_0x52d18c,_0x2fe5de){const _0x16e251=_0x952e9f,{pageView:_0x48d36a,cornerView:_0x2247e1,rowView:_0x4f3347,colView:_0xdfc434,dataView:_0x279e9b}=_0x52d18c,_0x3fea74=_0x677b1d;let _0x7a9dda;if(_0x2fe5de)_0x7a9dda=[..._0x1d490c(_0x3fea74)];else{const _0x11917c=_0x3f4101(_0x3fea74,_0x48d36a,!0x0),_0x38faa4=_0x48d36a['lastRow']>=0x0?_0x48d36a[_0x16e251(0x337)]+0x1:0x0,_0x47e26f=_0x2247e1[_0x16e251(0x35d)],_0x19b573=_0x2247e1[_0x16e251(0x379)],_0x1e8014=_0x11917c[_0x16e251(0x278)]>0x0?_0x18e791:0x0,_0x3da6bf=_0x3f4101({'row':_0x3fea74[_0x16e251(0x2f4)]+_0x38faa4+_0x1e8014,'col':_0x3fea74[_0x16e251(0x320)]},_0x2247e1,!0x1,!0x1),_0xdf3c76=_0x3f4101({'row':_0x3fea74['row']+_0x38faa4+_0x1e8014+_0x47e26f,'col':_0x3fea74[_0x16e251(0x320)]},_0x4f3347,!0x1,!0x0),_0x20241b=_0x3f4101({'row':_0x3fea74['row']+_0x38faa4+_0x1e8014,'col':_0x3fea74[_0x16e251(0x320)]+_0x19b573},_0xdfc434,!0x1,!0x0),_0x578c32=_0x3f4101({'row':_0x3fea74[_0x16e251(0x2f4)]+_0x38faa4+_0x1e8014+_0x47e26f,'col':_0x3fea74['col']+_0x19b573},_0x279e9b,!0x1,!0x0);_0x7a9dda=[..._0x11917c,..._0x3da6bf,..._0xdf3c76,..._0x20241b,..._0x578c32];}return _0x7a9dda;}[_0x952e9f(0x3f1)](){const _0x38534d=_0x952e9f;this[_0x38534d(0x2fa)](this[_0x38534d(0x18e)][_0x38534d(0x121)]['intercept'](this[_0x38534d(0x18e)]['interceptor'][_0x38534d(0x112)]()[_0x38534d(0x3e5)],{'handler':(_0x1367a5,_0x5f1bca)=>{const _0x3a454a=_0x38534d,{cellInfo:_0x274c73,view:_0x1c0c57,isEmpty:_0x476d00}=_0x5f1bca,_0x16c126=_0x274c73,{unitId:_0x25d3b7,subUnitId:_0x10faaf}=_0x16c126,_0x387bb0=this['_getPivotAppliedRanges'](_0x274c73,_0x1c0c57,_0x476d00),_0x3008a4=this[_0x3a454a(0x158)][_0x3a454a(0x31c)]({'unitId':_0x25d3b7,'subUnitId':_0x10faaf,'ranges':_0x387bb0}),_0x157db7=_0x1ebc46(this['_injector'],_0x25d3b7,_0x10faaf,_0x387bb0);_0x157db7[_0x3a454a(0x2f5)]&&(_0x3008a4[_0x3a454a(0x1ae)][_0x3a454a(0x2b7)](_0x157db7[_0x3a454a(0x199)]),_0x3008a4[_0x3a454a(0x233)][_0x3a454a(0x2b7)](_0x157db7['setRangeValueUndoMutation']));const _0x1d2a0f=this[_0x3a454a(0x119)](_0x1c0c57,_0x274c73);return _0x3008a4['redos'][_0x3a454a(0x2b7)](..._0x1d2a0f[_0x3a454a(0x1ae)]),_0x3008a4['undos'][_0x3a454a(0x2b7)](..._0x1d2a0f[_0x3a454a(0x233)]),{'redos':_0x3008a4[_0x3a454a(0x1ae)],'undos':_0x3008a4[_0x3a454a(0x233)]};}}));}[_0x952e9f(0x119)](_0x4b04b5,_0x403efe){const _0x1e7079=_0x952e9f,{col:_0x27f64a,unitId:_0x2e9812,subUnitId:_0xc7eb3}=_0x403efe,_0x4dab03=[],_0x1c3416=[],_0x48e671=_0x2a18e2[_0x1e7079(0x1cf)](this['_univerInstanceService'],{'unitId':_0x2e9812,'subUnitId':_0xc7eb3});if(!_0x403efe||!_0x4b04b5||!_0x48e671)return{'undos':_0x1c3416,'redos':_0x4dab03};const _0x4f71b8=this[_0x1e7079(0x321)][_0x1e7079(0x2a1)](),{colView:_0x282ad1,dataView:_0x265ec0,cornerView:_0x47db01,rowView:_0x2cb7b5,formatMap:_0x209648}=_0x4b04b5,_0x48205f=_0x357a7b(_0x282ad1,_0x4f71b8,!0x0,_0x209648),_0x509e0d=_0x357a7b(_0x2cb7b5,_0x4f71b8,!0x1,_0x209648),_0x2801b6=_0x2a7639(_0x265ec0),_0x102a2d=_0x2d2182(_0x47db01),{worksheet:_0x50db6f}=_0x48e671;if(typeof window<'u'&&window[_0x1e7079(0x227)]){const _0x4fa8c3=_0x30b91d[_0x1e7079(0x1f0)]({..._0x4f9185[_0x1e7079(0x1dc)]}),_0x2741de=_0x30b91d[_0x1e7079(0x37a)][_0x1e7079(0x3a3)](_0x48205f,_0x4fa8c3)['width']+0x10,_0x3395e5=_0x30b91d[_0x1e7079(0x37a)][_0x1e7079(0x3a3)](_0x2801b6,_0x4fa8c3)[_0x1e7079(0x1a2)],_0xdae887=Math['floor'](Math[_0x1e7079(0x368)](_0x2741de,_0x3395e5))+0x10,_0x473308=Math['floor'](_0x30b91d['FontCache'][_0x1e7079(0x3a3)](_0x509e0d,_0x4fa8c3)[_0x1e7079(0x1a2)]),_0x2a6d77=Math['floor'](_0x30b91d[_0x1e7079(0x37a)][_0x1e7079(0x3a3)](_0x102a2d,_0x4fa8c3)[_0x1e7079(0x1a2)]),_0x532ad0=Math['max'](_0x473308,_0x2a6d77,0x28)+0xc,_0x314a11=_0x282ad1['colCount']+_0x47db01[_0x1e7079(0x379)],_0x9db234={},_0x204489={};for(let _0x2e16ff=_0x27f64a;_0x2e16ff<_0x27f64a+_0x314a11;_0x2e16ff++){const _0x1dcbd2=_0x50db6f['getColumnWidth'](_0x2e16ff);_0x9db234[_0x2e16ff]=_0x1dcbd2,_0x2e16ff-_0x27f64a<_0x47db01[_0x1e7079(0x379)]?_0x204489[_0x2e16ff-_0x27f64a]=_0x532ad0:_0x204489[_0x2e16ff-_0x27f64a]=_0xdae887;}_0x4dab03['push']({'id':_0x2a18e2[_0x1e7079(0x309)]['id'],'params':{'subUnitId':_0xc7eb3,'unitId':_0x2e9812,'ranges':[{'startColumn':_0x27f64a,'endColumn':_0x27f64a+_0x314a11-0x1,'startRow':0x0,'endRow':_0x50db6f['getRowCount']()-0x1}],'colWidth':_0x204489}}),_0x1c3416[_0x1e7079(0x2b7)]({'id':_0x2a18e2[_0x1e7079(0x309)]['id'],'params':{'subUnitId':_0xc7eb3,'unitId':_0x2e9812,'ranges':[{'startColumn':_0x27f64a,'endColumn':_0x27f64a+_0x314a11-0x1,'startRow':0x0,'endRow':_0x50db6f['getRowCount']()-0x1}],'colWidth':_0x9db234}});}return{'undos':_0x1c3416,'redos':_0x4dab03};}};_0x2215fd=_0x448322([_0x5bb5c9(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x364)])),_0x5bb5c9(0x1,_0x71e749['Inject'](_0x2a18e2['SheetInterceptorService'])),_0x5bb5c9(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x297)])),_0x5bb5c9(0x3,_0x71e749['Inject'](_0x71e749['IUniverInstanceService'])),_0x5bb5c9(0x4,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x299)])),_0x5bb5c9(0x5,_0x71e749['Inject'](_0x3e9a4b[_0x952e9f(0x257)]))],_0x2215fd);var _0x1a99b8=Object[_0x952e9f(0x169)],_0x2945ad=(_0xbc681b,_0xdb38ee,_0x2279fc,_0x3521cb)=>{const _0x4fa7d9=_0x952e9f;for(var _0x28dc41=_0x3521cb>0x1?void 0x0:_0x3521cb?_0x1a99b8(_0xdb38ee,_0x2279fc):_0xdb38ee,_0x5b2a5c=_0xbc681b[_0x4fa7d9(0x278)]-0x1,_0x444bd1;_0x5b2a5c>=0x0;_0x5b2a5c--)(_0x444bd1=_0xbc681b[_0x5b2a5c])&&(_0x28dc41=_0x444bd1(_0x28dc41)||_0x28dc41);return _0x28dc41;},_0x29d1b4=(_0x2e8a84,_0x3601ae)=>(_0x22416f,_0x5d3f97)=>_0x3601ae(_0x22416f,_0x5d3f97,_0x2e8a84);let _0x4cd8ef=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x1f25a6,_0x3db35f,_0x5610ac,_0x154009,_0x2b36e4,_0xb465f7,_0x227b5b){const _0x1c4e4c=_0x952e9f;super(),_0x59bac0(this,'disposableCollection',new _0x71e749[(_0x1c4e4c(0x250))]()),(this['_injector']=_0x1f25a6,this['_refRangeService']=_0x3db35f,this[_0x1c4e4c(0x107)]=_0x5610ac,this[_0x1c4e4c(0x2ba)]=_0x154009,this[_0x1c4e4c(0x321)]=_0x2b36e4,this[_0x1c4e4c(0x3ad)]=_0xb465f7,this['_sheetInterceptorService']=_0x227b5b,this['_onRefRangeChange']());}['_onRefRangeChange'](){const _0xe3321c=_0x952e9f,_0x2b4466=(_0x46a861,_0x2cfb8a)=>{const _0x368d4c=_0x2e3d,_0x58c59f=this[_0x368d4c(0x2ba)]['getCurrentUnitForType'](_0x71e749[_0x368d4c(0x21f)][_0x368d4c(0xfe)]);if(!_0x58c59f||!(_0x58c59f==null?void 0x0:_0x58c59f[_0x368d4c(0x216)](_0x2cfb8a)))return;this[_0x368d4c(0x33c)][_0x368d4c(0x3e3)]();const _0x104aa2=_0x40163a=>this[_0x368d4c(0x19b)](_0x40163a,_0x46a861,_0x2cfb8a),_0x15ea8c=this['_sheetsPivotTableConfigModel'][_0x368d4c(0x329)](_0x46a861,_0x2cfb8a);if(!(_0x15ea8c!=null&&_0x15ea8c[_0x368d4c(0x303)]))return;Array[_0x368d4c(0x12f)](_0x15ea8c[_0x368d4c(0xed)]())[_0x368d4c(0x2c3)](_0x3bd6bc=>{const _0xaf2f1d=_0x368d4c,{row:_0x3e632d,col:_0x2c319c}=_0x3bd6bc[_0xaf2f1d(0x354)];return _0x71e749[_0xaf2f1d(0x1a0)](_0x3e632d,_0x2c319c);})['forEach'](_0x49881b=>{const _0x611cf6=_0x368d4c;this[_0x611cf6(0x33c)]['add'](this[_0x611cf6(0x188)][_0x611cf6(0x2ae)](_0x49881b,_0x104aa2,_0x46a861,_0x2cfb8a));});},_0x48b458=()=>{const _0x373350=_0x2e3d,_0x596990=this[_0x373350(0x2ba)][_0x373350(0x137)](_0x71e749[_0x373350(0x21f)]['UNIVER_SHEET']);if(_0x596990){const _0xd24d2=_0x596990[_0x373350(0x1dd)]();if(!_0xd24d2)return;_0x2b4466(_0x596990[_0x373350(0x1bb)](),_0xd24d2['getSheetId']());}};this[_0xe3321c(0x2fa)](this[_0xe3321c(0x107)][_0xe3321c(0x260)](_0x487992=>{const _0x4d5c31=_0xe3321c;if(_0x487992['id']===_0x2a18e2[_0x4d5c31(0x1f7)]['id']){const _0x41fddc=_0x487992[_0x4d5c31(0x35e)],_0x51b599=_0x41fddc[_0x4d5c31(0x277)],_0x5b6751=_0x41fddc[_0x4d5c31(0x27e)];if(!_0x51b599||!_0x5b6751)return;_0x2b4466(_0x5b6751,_0x51b599);}})),this[_0xe3321c(0x2fa)](this[_0xe3321c(0x321)][_0xe3321c(0x140)][_0xe3321c(0x15e)](_0x28849a=>{_0x28849a&&_0x48b458();})),this[_0xe3321c(0x2fa)](this[_0xe3321c(0x321)][_0xe3321c(0x2f6)][_0xe3321c(0x15e)](_0x5546a5=>{const _0x5ad711=_0xe3321c,_0x424775=_0x2a18e2[_0x5ad711(0x1cf)](this[_0x5ad711(0x2ba)]);if(!_0x424775)return;const {unitId:_0x2ce0f9,subUnitId:_0x3d658a}=_0x424775,{unitId:_0x4f16eb,subUnitId:_0x50dd75}=_0x5546a5;_0x2ce0f9!==_0x4f16eb||_0x3d658a!==_0x50dd75||_0x2b4466(_0x2ce0f9,_0x3d658a);})),_0x48b458();}['_refRangeHandle'](_0x1956e3,_0x244885,_0x175e70){const _0x100079=_0x952e9f;switch(_0x1956e3['id']){case _0x2a18e2[_0x100079(0x3f9)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x1956e3[_0x100079(0x35e)],_0x244885,_0x175e70);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x40c13a,_0x359661,_0x1fa093){const _0x1b99f2=_0x952e9f,{fromRange:_0x2af55e,toRange:_0x30d630}=_0x40c13a,_0x5da71f=[],_0x530526=[],_0x242d48=_0x2a18e2[_0x1b99f2(0x1cf)](this['_univerInstanceService']);if(!_0x242d48)return{'undos':_0x530526,'redos':_0x5da71f};if(_0x359661!==_0x242d48[_0x1b99f2(0x27e)]||_0x1fa093!==_0x242d48[_0x1b99f2(0x277)])return{'undos':_0x530526,'redos':_0x5da71f};const _0x321acc=this[_0x1b99f2(0x321)]['getSubUnitPivotConfigs'](_0x359661,_0x1fa093);if(_0x321acc!=null&&_0x321acc[_0x1b99f2(0x303)])for(const [_0x42fd54,_0x3ec5dd]of _0x321acc){const {unitId:_0x24f2ed,subUnitId:_0x47dc85,row:_0x6df331,col:_0x456e43}=_0x3ec5dd[_0x1b99f2(0x354)];if(_0x24f2ed===_0x242d48[_0x1b99f2(0x27e)]&&_0x47dc85===_0x242d48[_0x1b99f2(0x277)]){const _0x52f60a=_0x71e749[_0x1b99f2(0x1a0)](_0x6df331,_0x456e43);if(_0x71e749[_0x1b99f2(0x28b)][_0x1b99f2(0x3d1)](_0x52f60a,_0x2af55e)){const _0x5dba79=_0x6df331-_0x2af55e[_0x1b99f2(0x2fd)],_0x1c7142=_0x456e43-_0x2af55e[_0x1b99f2(0x3a9)],_0x2f87be={'row':_0x30d630[_0x1b99f2(0x2fd)]+_0x5dba79,'col':_0x30d630[_0x1b99f2(0x3a9)]+_0x1c7142};_0x5da71f[_0x1b99f2(0x2b7)]({'id':_0x140124['id'],'params':{'unitId':_0x24f2ed,'subUnitId':_0x47dc85,'pivotTableId':_0x42fd54,'targetCellPosition':_0x2f87be}}),_0x530526[_0x1b99f2(0x2b7)]({'id':_0x140124['id'],'params':{'unitId':_0x24f2ed,'subUnitId':_0x47dc85,'pivotTableId':_0x42fd54,'targetCellPosition':{'row':_0x6df331,'col':_0x456e43}}});const _0x4b20ff=_0x2f87be['row']-_0x6df331,_0x917ae1=_0x2f87be['col']-_0x456e43,_0x22d2b1=[],_0x3a9f20=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x24f2ed,_0x47dc85,_0x42fd54),_0x240592=_0x3a9f20==null?void 0x0:_0x3a9f20[_0x1b99f2(0x3ab)];if(_0x240592){Object[_0x1b99f2(0x111)](_0x240592)['forEach'](_0x362880=>{_0x240592[_0x362880]['forEach'](_0x75dc51=>{const _0x4ce6a9=_0x2e3d,_0x15629d={..._0x75dc51};_0x15629d[_0x4ce6a9(0x2fd)]=_0x75dc51[_0x4ce6a9(0x2fd)]+_0x4b20ff,_0x15629d[_0x4ce6a9(0x22a)]=_0x75dc51[_0x4ce6a9(0x22a)]+_0x4b20ff,_0x15629d[_0x4ce6a9(0x3a9)]=_0x75dc51[_0x4ce6a9(0x3a9)]+_0x917ae1,_0x15629d[_0x4ce6a9(0x317)]=_0x75dc51[_0x4ce6a9(0x317)]+_0x917ae1,_0x22d2b1[_0x4ce6a9(0x2b7)](_0x15629d);});});const _0x18579e=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x24f2ed,'subUnitId':_0x47dc85,'ranges':_0x22d2b1});_0x5da71f[_0x1b99f2(0x2b7)](..._0x18579e[_0x1b99f2(0x1ae)]),_0x530526[_0x1b99f2(0x2b7)](..._0x18579e['undos']);const _0x1e7ae7=_0x1ebc46(this[_0x1b99f2(0x170)],_0x24f2ed,_0x47dc85,_0x22d2b1);_0x1e7ae7[_0x1b99f2(0x2f5)]&&(_0x5da71f['push'](_0x1e7ae7[_0x1b99f2(0x199)]),_0x530526['push'](_0x1e7ae7[_0x1b99f2(0x180)]));}}}}return{'redos':_0x5da71f,'undos':_0x530526};}};_0x4cd8ef=_0x2945ad([_0x29d1b4(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x71e749['Injector'])),_0x29d1b4(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x2a18e2[_0x952e9f(0x2c2)])),_0x29d1b4(0x2,_0x71e749[_0x952e9f(0x1ec)]),_0x29d1b4(0x3,_0x71e749['IUniverInstanceService']),_0x29d1b4(0x4,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x299)])),_0x29d1b4(0x5,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x3de)])),_0x29d1b4(0x6,_0x71e749[_0x952e9f(0x3f5)](_0x2a18e2['SheetInterceptorService']))],_0x4cd8ef);var _0x28247f=Object[_0x952e9f(0x169)],_0x58da42=(_0x2d76f6,_0x46ea56,_0x20035f,_0x2d992c)=>{const _0x22d380=_0x952e9f;for(var _0x5983e7=_0x2d992c>0x1?void 0x0:_0x2d992c?_0x28247f(_0x46ea56,_0x20035f):_0x46ea56,_0x35d76a=_0x2d76f6[_0x22d380(0x278)]-0x1,_0x124a70;_0x35d76a>=0x0;_0x35d76a--)(_0x124a70=_0x2d76f6[_0x35d76a])&&(_0x5983e7=_0x124a70(_0x5983e7)||_0x5983e7);return _0x5983e7;},_0xe16a0a=(_0xea1149,_0x2d4e2c)=>(_0x5d9884,_0x3aee67)=>_0x2d4e2c(_0x5d9884,_0x3aee67,_0xea1149);let _0x30aa35=class extends _0x71e749[_0x952e9f(0x1bf)]{constructor(_0x550dce,_0x202014){const _0xde08ea=_0x952e9f;super(),this[_0xde08ea(0x158)]=_0x550dce,this['_sheetsPivotTableConfigModel']=_0x202014,this[_0xde08ea(0x292)]();}[_0x952e9f(0x292)](){const _0x1a2fa1=_0x952e9f;this['disposeWithMe'](this[_0x1a2fa1(0x158)]['interceptCommand']({'getMutations':_0x8a985=>{const _0x5f4c74=_0x1a2fa1;if(_0x8a985['id']===_0x2a18e2[_0x5f4c74(0x2bc)]['id']){const _0x24083c=[],_0x1c5366=[],_0x18cc89=_0x8a985[_0x5f4c74(0x35e)],{unitId:_0xed82a9,subUnitId:_0xe4fd5f}=_0x18cc89;if(!_0xed82a9||!_0xe4fd5f)return{'undos':_0x1c5366,'redos':_0x24083c};const _0x36ae69=this[_0x5f4c74(0x321)][_0x5f4c74(0x329)](_0xed82a9,_0xe4fd5f);if(_0x36ae69!=null&&_0x36ae69[_0x5f4c74(0x303)])for(const [_0x3c01b6,_0x58ca38]of _0x36ae69){_0x24083c[_0x5f4c74(0x2b7)]({'id':_0x5f2bbe['id'],'params':{'unitId':_0xed82a9,'subUnitId':_0xe4fd5f,'pivotTableId':_0x3c01b6}});const _0xba28bf={...this['_sheetsPivotTableConfigModel'][_0x5f4c74(0x3b3)](_0xed82a9,_0x3c01b6)};_0x1c5366[_0x5f4c74(0x2b7)]({'id':_0x191981['id'],'params':{'unitId':_0xed82a9,'subUnitId':_0xe4fd5f,'pivotTableId':_0x3c01b6,'pivotTableConfig':_0x58ca38,'collectionConfig':_0xba28bf}});}return{'redos':_0x24083c,'undos':_0x1c5366};}return{'redos':[],'undos':[]};}}));}};_0x30aa35=_0x58da42([_0xe16a0a(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x2a18e2['SheetInterceptorService'])),_0xe16a0a(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b['SheetsPivotTableConfigModel']))],_0x30aa35);var _0x1aece9=Object[_0x952e9f(0x169)],_0x4d4f19=(_0x4d68d2,_0x519b1,_0x46a632,_0x268b56)=>{const _0x21b5fe=_0x952e9f;for(var _0x381177=_0x268b56>0x1?void 0x0:_0x268b56?_0x1aece9(_0x519b1,_0x46a632):_0x519b1,_0x82e99b=_0x4d68d2[_0x21b5fe(0x278)]-0x1,_0x2cbc58;_0x82e99b>=0x0;_0x82e99b--)(_0x2cbc58=_0x4d68d2[_0x82e99b])&&(_0x381177=_0x2cbc58(_0x381177)||_0x381177);return _0x381177;},_0x2311c4=(_0x2b3f96,_0x515c0f)=>(_0x123308,_0x3db1bc)=>_0x515c0f(_0x123308,_0x3db1bc,_0x2b3f96);let _0x569e5f=class extends _0x71e749['Disposable']{constructor(_0x5883da,_0x484f6f,_0xb6186d,_0x274112,_0x1b1584,_0x256579){const _0x4a5c88=_0x952e9f;super(),this[_0x4a5c88(0x107)]=_0x5883da,this[_0x4a5c88(0xe3)]=_0x484f6f,this[_0x4a5c88(0x3ad)]=_0xb6186d,this['_sheetsPivotTableConfigModel']=_0x274112,this[_0x4a5c88(0x2ba)]=_0x1b1584,this['_activeDirtyManagerService']=_0x256579,this[_0x4a5c88(0x3e0)](),this[_0x4a5c88(0x30b)]();}[_0x952e9f(0x3e0)](){const _0x2baad2=_0x952e9f;this[_0x2baad2(0x2fa)](this[_0x2baad2(0x107)][_0x2baad2(0x260)](_0x1b3437=>{const _0x2a5ccf=_0x2baad2;if(_0x1b3437['id']!==_0x42f08c['id'])return;const _0x2765f=_0x1b3437['params'];this['_sheetsPivotRpcService'][_0x2a5ccf(0x30a)](_0x2765f);})),this[_0x2baad2(0x2fa)](this[_0x2baad2(0x107)]['onCommandExecuted'](_0x154abd=>{const _0x9b3097=_0x2baad2;if(_0x154abd['id']===_0x4c06b7['id']){const _0x392b67=_0x154abd[_0x9b3097(0x35e)];if(_0x392b67){const {unitId:_0xf688f9,subUnitId:_0x2b474c,oldSubUnitId:_0x2d28f4,pivotTableId:_0x55cc38,pivotTableConfig:_0xf07bee,collectionConfig:_0xf343b3}=_0x392b67;this['_sheetsPivotTableConfigModel'][_0x9b3097(0x217)](_0xf688f9,_0x2d28f4,_0x392b67[_0x9b3097(0x1a5)],null),this[_0x9b3097(0x321)][_0x9b3097(0x217)](_0xf688f9,_0x2b474c,_0x55cc38,_0xf07bee),this[_0x9b3097(0x321)]['updateCollectionConfig'](_0xf688f9,_0xf343b3);}}})),this[_0x2baad2(0x2fa)](this[_0x2baad2(0x107)][_0x2baad2(0x260)](_0x8dcb23=>{const _0x694d1f=_0x2baad2;if(_0x8dcb23['id']!==_0x13964a['id'])return;const _0x35afd4=_0x2a18e2[_0x694d1f(0x1cf)](this[_0x694d1f(0x2ba)]);if(!_0x35afd4)return;const {unitId:_0x19997b,subUnitId:_0x514599}=_0x35afd4,_0x426307=_0x8dcb23['params'];if(_0x426307[_0x694d1f(0x398)]&&Object[_0x694d1f(0x111)](_0x426307[_0x694d1f(0x398)])['forEach'](_0x5c1c14=>{const _0x2920dd=_0x694d1f;var _0x5ce334;(_0x5ce334=_0x426307[_0x2920dd(0x398)])!=null&&_0x5ce334[_0x5c1c14]&&this[_0x2920dd(0x321)][_0x2920dd(0x11b)](_0x5c1c14,_0x426307['collectionConfig'][_0x5c1c14]);}),_0x426307[_0x694d1f(0x1f3)]){const _0x1d38ca=_0x426307[_0x694d1f(0x1f3)],{unitId:_0x4e7b34,subUnitId:_0x129c87,view:_0x3d0ff4,pivotTableId:_0x234d51,type:_0x1dbdfb,pivotConfig:_0x46b024}=_0x1d38ca;if(_0x1dbdfb===_0x5cfd72['Delete'])this['_sheetsPivotTableAdaptorModel'][_0x694d1f(0x230)]({'unitId':_0x4e7b34,'subUnitId':_0x129c87,'pivotTableId':_0x234d51,'type':_0x1dbdfb}),this[_0x694d1f(0x321)][_0x694d1f(0x217)](_0x4e7b34,_0x129c87,_0x234d51,null);else{const _0x1b2332=new _0x1978cb['PivotView']();_0x1b2332[_0x694d1f(0x15d)](_0x3d0ff4),this[_0x694d1f(0x321)][_0x694d1f(0x217)](_0x4e7b34,_0x129c87,_0x234d51,_0x46b024),this[_0x694d1f(0x3ad)][_0x694d1f(0x230)]({'unitId':_0x4e7b34,'subUnitId':_0x129c87,'pivotTableId':_0x234d51,'type':_0x1dbdfb,'view':_0x1b2332}),this['_sheetsPivotTableAdaptorModel'][_0x694d1f(0x11d)]({'unitId':_0x4e7b34,'subUnitId':_0x129c87,'view':_0x1b2332,'pivotTableId':_0x234d51,'type':_0x1dbdfb});}}else _0x426307[_0x694d1f(0x25a)]&&(_0x426307[_0x694d1f(0x25a)][_0x694d1f(0x1fb)](_0x241276=>{const _0x42faee=_0x694d1f,{unitId:_0x210a0a,subUnitId:_0xd0c030,view:_0x1dbfa6,pivotTableId:_0xad3bc8,type:_0x1730ae,pivotConfig:_0x4d4bf8}=_0x241276,_0x1d931a=new _0x1978cb[(_0x42faee(0x26b))]();_0x1d931a[_0x42faee(0x15d)](_0x1dbfa6),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x210a0a,_0xd0c030,_0xad3bc8,_0x4d4bf8),this[_0x42faee(0x3ad)][_0x42faee(0x11d)]({'unitId':_0x210a0a,'subUnitId':_0xd0c030,'view':_0x1d931a,'pivotTableId':_0xad3bc8,'type':_0x1730ae});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x694d1f(0x3ad)][_0x694d1f(0x248)](_0x19997b,_0x514599);}));}[_0x952e9f(0x30b)](){const _0x16829=_0x952e9f;this[_0x16829(0x212)]['register'](_0x4c380b['id'],{'commandId':_0x4c380b['id'],'getDirtyData'(_0x372dbe){return{'dirtyUnitFeatureMap':_0x372dbe['params']};}});}};_0x569e5f=_0x4d4f19([_0x2311c4(0x0,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x1ec)])),_0x2311c4(0x1,_0x71e749['Inject'](_0x3e9a4b[_0x952e9f(0x211)])),_0x2311c4(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x3de)])),_0x2311c4(0x3,_0x71e749[_0x952e9f(0x3f5)](_0x3e9a4b[_0x952e9f(0x299)])),_0x2311c4(0x4,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x168)])),_0x2311c4(0x5,_0x19b6b3[_0x952e9f(0x313)])],_0x569e5f);var _0x27dcdf=Object['defineProperty'],_0x3953a2=Object[_0x952e9f(0x169)],_0x2a1a5d=(_0x38a939,_0x573be1,_0x9a58c9)=>_0x573be1 in _0x38a939?_0x27dcdf(_0x38a939,_0x573be1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9a58c9}):_0x38a939[_0x573be1]=_0x9a58c9,_0x3545f6=(_0x46e822,_0x3c4d28,_0x450255,_0x2197c4)=>{const _0x3805b1=_0x952e9f;for(var _0x535212=_0x2197c4>0x1?void 0x0:_0x2197c4?_0x3953a2(_0x3c4d28,_0x450255):_0x3c4d28,_0x3dc0df=_0x46e822[_0x3805b1(0x278)]-0x1,_0x55aace;_0x3dc0df>=0x0;_0x3dc0df--)(_0x55aace=_0x46e822[_0x3dc0df])&&(_0x535212=_0x55aace(_0x535212)||_0x535212);return _0x535212;},_0x1e42fa=(_0x10e007,_0x35fd41)=>(_0x4548b6,_0x577990)=>_0x35fd41(_0x4548b6,_0x577990,_0x10e007),_0x4978c7=(_0x4b7702,_0xd5a217,_0x1e6236)=>_0x2a1a5d(_0x4b7702,typeof _0xd5a217!=_0x952e9f(0x193)?_0xd5a217+'':_0xd5a217,_0x1e6236);_0x3e9a4b[_0x952e9f(0x210)]=class extends _0x71e749[_0x952e9f(0x1f9)]{constructor(_0x4119ed=_0x2de722,_0x2d5ef7,_0x20e695,_0x4d21c2,_0x360bab){const _0x1863ea=_0x952e9f;super(),this[_0x1863ea(0x247)]=_0x4119ed,this[_0x1863ea(0x170)]=_0x2d5ef7,this[_0x1863ea(0x107)]=_0x20e695,this[_0x1863ea(0x399)]=_0x4d21c2,this['_dataSyncPrimaryController']=_0x360bab;const {..._0x1da300}=_0x71e749['merge']({},_0x2de722,this[_0x1863ea(0x247)]);this['_configService'][_0x1863ea(0x177)](_0x1695fa,_0x1da300),this[_0x1863ea(0x389)](),this['_initConfig']();}[_0x952e9f(0x2f2)](){const _0x56ba62=_0x952e9f;var _0x3edf5f;const _0x53c95d=(_0x3edf5f=this[_0x56ba62(0x247)])==null?void 0x0:_0x3edf5f[_0x56ba62(0x2e0)];this[_0x56ba62(0x399)][_0x56ba62(0x177)](_0xf9ba23,_0x53c95d===!0x0);}[_0x952e9f(0x287)](){const _0x56f41d=_0x952e9f;var _0x1d5c0b;let _0xf1905f=[];const _0x4ae19f=(_0x1d5c0b=this[_0x56f41d(0x247)])==null?void 0x0:_0x1d5c0b['notExecuteFormula'];_0x4ae19f===!0x0?_0xf1905f=[[_0x3e9a4b['SheetsPivotTableService']],[_0x3e9a4b[_0x56f41d(0x211)]],[_0x569e5f],[_0x3e9a4b[_0x56f41d(0x3de)]],[_0x3e9a4b['SheetsPivotTableConfigModel']],[_0x30aa35],[_0x3f4d61],[_0x4cd8ef],[_0x2215fd]]:_0x4ae19f===!0x1?_0xf1905f=[[_0x3e9a4b['SheetsPivotDataSourceModel']],[_0x11d712]]:_0x4ae19f===void 0x0&&(_0xf1905f=[[_0x3e9a4b[_0x56f41d(0x386)]],[_0x11d712],[_0x3e9a4b[_0x56f41d(0x257)]],[_0x3e9a4b[_0x56f41d(0x211)]],[_0x569e5f],[_0x3e9a4b[_0x56f41d(0x3de)]],[_0x3e9a4b[_0x56f41d(0x299)]],[_0x30aa35],[_0x3f4d61],[_0x4cd8ef],[_0x2215fd]]),_0xf1905f[_0x56f41d(0x1fb)](_0x2b9af9=>this['_injector'][_0x56f41d(0x249)](_0x2b9af9)),[_0x11d712,_0x569e5f,_0x3e9a4b[_0x56f41d(0x257)],_0x3f4d61,_0x30aa35,_0x4cd8ef,_0x2215fd][_0x56f41d(0x1fb)](_0x4d11e7=>{const _0x2298df=_0x56f41d;this[_0x2298df(0x170)][_0x2298df(0x2cc)](_0x4d11e7)&&this[_0x2298df(0x170)][_0x2298df(0x3dc)](_0x4d11e7);});}['_initRegisterCommand'](){const _0x182fef=_0x952e9f;[_0x5f392f,_0x38b0a9,_0x1515c8,_0x2f6a17,_0x2565f1,_0x59c1c6,_0x13d7ff,_0x1751a7,_0x223ceb,_0x4cc07e,_0x3b940b,_0x8cc147,_0x53619c,_0x27a793,_0x191981,_0x3f31b7,_0x5f2bbe,_0x4f9dee,_0x5e9fc0,_0x9a9807,_0x25b050,_0x314e34,_0x15f90a,_0x3d16f6,_0x37f93b,_0x377fce,_0x140124,_0x1efe7b,_0x42f08c,_0x13964a,_0x2d0f45,_0x27db08,_0x4d3daa,_0x3af33e,_0x4e58e8,_0x3f6e25,_0x2da68e,_0x4c380b,_0x4c06b7,_0x19db14,_0x4b00fe,_0x44cc22,_0x5c5c64][_0x182fef(0x1fb)](_0x49f164=>{const _0x517ec7=_0x182fef;var _0x431f06;(_0x431f06=this['_dataSyncPrimaryController'])==null||_0x431f06[_0x517ec7(0x19f)](_0x49f164),this[_0x517ec7(0x107)][_0x517ec7(0x164)](_0x49f164);});}},_0x4978c7(_0x3e9a4b[_0x952e9f(0x210)],_0x952e9f(0x2aa),_0x510c58),_0x4978c7(_0x3e9a4b[_0x952e9f(0x210)],_0x952e9f(0x2e2),_0x71e749[_0x952e9f(0x21f)][_0x952e9f(0xfe)]),_0x3e9a4b['UniverSheetsPivotTablePlugin']=_0x3545f6([_0x71e749[_0x952e9f(0x231)](_0x53e420['UniverLicensePlugin']),_0x1e42fa(0x1,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x297)])),_0x1e42fa(0x2,_0x71e749[_0x952e9f(0x3f5)](_0x71e749[_0x952e9f(0x1ec)])),_0x1e42fa(0x3,_0x71e749[_0x952e9f(0x225)]),_0x1e42fa(0x4,_0x71e749[_0x952e9f(0xe0)](_0x5b6293['DataSyncPrimaryController']))],_0x3e9a4b[_0x952e9f(0x210)]),_0x3e9a4b[_0x952e9f(0x3e8)]=_0x1515c8,_0x3e9a4b[_0x952e9f(0x2b6)]=_0x4f9dee,_0x3e9a4b[_0x952e9f(0x16a)]=_0x38b0a9,_0x3e9a4b[_0x952e9f(0x1d5)]=_0x191981,_0x3e9a4b[_0x952e9f(0x1aa)]=_0x5f392f,_0x3e9a4b[_0x952e9f(0x1d7)]=_0x18e791,_0x3e9a4b[_0x952e9f(0x294)]=_0x1a1b40,_0x3e9a4b[_0x952e9f(0x281)]=_0x2f6a17,_0x3e9a4b[_0x952e9f(0x2e9)]=_0x53619c,_0x3e9a4b[_0x952e9f(0x2a7)]=_0x2dff37,_0x3e9a4b[_0x952e9f(0x392)]=_0x27a793,_0x3e9a4b[_0x952e9f(0x333)]=_0x5cfd72,_0x3e9a4b[_0x952e9f(0x314)]=_0x4c380b,_0x3e9a4b[_0x952e9f(0x1e8)]=_0x17cb1b,_0x3e9a4b[_0x952e9f(0x39f)]=_0x2565f1,_0x3e9a4b[_0x952e9f(0x1b2)]=_0x314e34,_0x3e9a4b[_0x952e9f(0x381)]=_0x5f2bbe,_0x3e9a4b[_0x952e9f(0x22b)]=_0x15f90a,_0x3e9a4b[_0x952e9f(0x2ca)]=_0x5c5c64,_0x3e9a4b['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x1695fa,_0x3e9a4b[_0x952e9f(0x141)]=_0x510c58,_0x3e9a4b[_0x952e9f(0x16e)]=_0x1751a7,_0x3e9a4b['SetPivotCollapseMutation']=_0x3d16f6,_0x3e9a4b[_0x952e9f(0x14a)]=_0x3af33e,_0x3e9a4b[_0x952e9f(0xfb)]=_0x44cc22,_0x3e9a4b[_0x952e9f(0x22e)]=_0x4cc07e,_0x3e9a4b[_0x952e9f(0x1df)]=_0x25b050,_0x3e9a4b[_0x952e9f(0x162)]=_0x377fce,_0x3e9a4b[_0x952e9f(0x246)]=_0x140124,_0x3e9a4b[_0x952e9f(0x39d)]=_0x223ceb,_0x3e9a4b[_0x952e9f(0x394)]=_0x37f93b,_0x3e9a4b[_0x952e9f(0x1b5)]=_0x4d3daa,_0x3e9a4b[_0x952e9f(0x116)]=_0x19db14,_0x3e9a4b[_0x952e9f(0x353)]=_0x4b00fe,_0x3e9a4b['UpdateDateGroupCommand']=_0x13d7ff,_0x3e9a4b['UpdateFieldPositionMutation']=_0x2d0f45,_0x3e9a4b[_0x952e9f(0x11e)]=_0x3b940b,_0x3e9a4b['UpdatePivotFieldSourceInfoMutation']=_0x2da68e,_0x3e9a4b[_0x952e9f(0x2e5)]=_0x8cc147,_0x3e9a4b[_0x952e9f(0x1c6)]=_0x3f6e25,_0x3e9a4b[_0x952e9f(0x19e)]=_0x59c1c6,_0x3e9a4b[_0x952e9f(0xff)]=_0x27db08,_0x3e9a4b[_0x952e9f(0x33d)]=_0x2dd215,_0x3e9a4b[_0x952e9f(0x33b)]=_0x4f39c8,_0x3e9a4b['defaultThemeStyle']=_0x4f9185,_0x3e9a4b['generateSetRangeValueMutations']=_0x1ebc46,_0x3e9a4b['getAdjustRangesPosition']=_0x3f4101,_0x3e9a4b[_0x952e9f(0x2c6)]=_0x1d490c,_0x3e9a4b[_0x952e9f(0x3cd)]=_0x36b92f,_0x3e9a4b[_0x952e9f(0x1a4)]=_0xed8bbb,_0x3e9a4b[_0x952e9f(0x2a8)]=_0x45e11b,_0x3e9a4b[_0x952e9f(0x3ae)]=_0xfe1c71,_0x3e9a4b[_0x952e9f(0x2c4)]=_0x2f2bc4,_0x3e9a4b[_0x952e9f(0x33a)]=_0x2d2a3c,_0x3e9a4b[_0x952e9f(0x259)]=_0x3e9c2e,Object[_0x952e9f(0x26e)](_0x3e9a4b,Symbol[_0x952e9f(0x3fc)],{'value':_0x952e9f(0x229)});}));function _0x2e3d(_0x2a2417,_0x383fc4){const _0x43279b=_0x4327();return _0x2e3d=function(_0x2e3dca,_0x169c88){_0x2e3dca=_0x2e3dca-0xde;let _0x1931e5=_0x43279b[_0x2e3dca];return _0x1931e5;},_0x2e3d(_0x2a2417,_0x383fc4);}function _0x4327(){const _0x43191f=['getConfig','removeCollectionImp','tuple','notExecuteFormula','_deletePivotTableInstanceCache','type','UpdateFieldPosition','_initPivotDataGetListener','UpdatePivotTableSourceRangeCommand','_initPivotTextInfo','AddField','Min\x20of\x20','MovePivotTableCommand','register','colRanges','collapseInfo','Max\x20of\x20','None','ResetPivotTable','Value','refreshGroupField','_initConfig','PivotCellStyleTypeEnum','row','shouldClear','pivotConfigChange$','PivotCallbackEnum','parse','_pivotRenderValueMatrixCache','disposeWithMe','viewUpdate$','@univerjs/rpc','startRow','SetCollapse','viewData$','getMatrix','DIV_BY_ZERO','includes','size','#b2b2b2','sheets-pivot.value','sheet.mutation.pivot-update-field-position','sheet.command.set-pivot-field-setting','_viewData','SetWorksheetColWidthMutation','handleAsyncResponse','registerDirtyService','product','setDateType','registerCallbackWithEvent','DEFAULT_WORKSHEET_ROW_COUNT','setPivotFilter','update','getValueFilterInfos','IActiveDirtyManagerService','PivotTableViewDirtyMarkOperation','34993btirzk','BehaviorSubject','endColumn','rowFields','originTargetInfo','textInfo','getFieldIds','generateMutationsByRanges','isErrorValue','sheets-pivot.dateGroup.yearMonthDate','_globalComputingSrv','col','_sheetsPivotTableConfigModel','SetSubtotalType','sheets-pivot.varName','paths','setPivotTableConfig','renameField','getViewData','UniverProSheetsPivot','getSubUnitPivotConfigs','iterateField','triggerDirtyFeature','Column\x20','390ZioqMq','Expand','blank','average','sheet.command.add-pivot-table','HourMinute','PivotTableOperationEnum','MUTATION','valuePosition','_viewData$','lastRow','UniverRpc','getLastRow','transFromCellValue','canUsePivot','disposableCollection','applyChangeSet','PivotSubtotalTypeEnum','_featureCalculationManagerService','_globalComputedStartHelpFunc','Filter','getSheets','generateRandomId','RemoveColMutation','replace','parseInt','_dataFieldManagerCollection','next','Tools','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','setName','min','rxjs','pivotPerformCheck','_initGlobalComputed','#f4f4f5','getDataFieldManager','sheet.mutation.set-pivot-field-subtotal-type','SetPivotValueFilterMutation','targetCellInfo','getFieldInfo','reset','originalFieldId','sheet.operation.pivot-table-view-formula-mark-dirty','getDirtyInfo','uniqueDataFieldName','PivotViewCellValueTypeEnum','columnFields','rowCount','params','_pivotConfigChange$','getPivotTableRangeInfo','NO_COMMERCIAL','PivotTableValuePositionEnum','SheetsSelectionsService','LocaleService','New','delete','sheet.command.update-pivot-value-position','max','_initLocale','getDataFieldByDataFieldId','isEmpty','MIN_SAFE_INTEGER','RemoveSheetMutation','getValueIndex','getSourceName','_initClearSelectionCommandInterceptor','_resourceManagerService','_ensurePivotMap','_getPivotAppliedRanges','prototype','YearQuarter','getSubUnitPivotMatrix','_queryingMap','ManualFilter','colCount','FontCache','SetOptions','getDataFieldByRangeKey','_pivotTableMatrixInfo','ClearSelectionAllCommand','createLabelField','NotName','RemovePivotTableMutation','COLUMN','dimension','Subject','getFilterFieldIdByIndex','SheetsPivotDataSourceModel','_configVersion$','panel','_initRegisterCommand','_updateModelCache','Hour','getUnit','fetchThroughInterceptors','Add','_collectionChange$','registerPluginResource','#FFFFFF','PivotDrillDownCommand','query','SetPivotSortMutation','removePivotField','rangeType','#eceeff','collectionConfig','_configService','updateView','sheets-pivot.emptyPivot.row','sheets-pivot.cellDateGroupDisplay.month','SetPivotSortCommand','filterId','RemovePivotFieldCommand','2280824eqVGTY','getStyles','AddPivotTable','getTextSize','removePivotTable','fieldIds','getFieldPositionInfoById','pageRanges','sourceRangeInfo','startColumn','getFilterInfo','rangesInfo','3947410pzEfTm','_sheetsPivotTableAdaptorModel','getPivotInfoByLicense','rgb(255,255,255)','var','prefix','concat','getCollection','getMatrixValue','fontRenderExtension','sheets-pivot.subTotal','getColCount','removeSourceRangeChange','Row','setPivotInitCompleted','getUpdateRangeDeleteIds','AddPivotTableWithConfig','stdDev','PivotTableFiledAreaEnum','subtotal','_collectionConfigModel','rowHeaderMap','sheets-pivot.minName','NORMAL','collection','object','sheet.mutation.update-pivot-table-source-range','adjustSheetCellData','getSheetFeatureLimit','entries','getRangeKeyList','sheets-pivot.columnName','sheets-pivot.cellDateGroupDisplay.yearMonth','getFieldListByArea','dataStream','deleteField','varp','intersects','split','number','4792nfVNRD','measure','SHEET_PIVOT_EXCLUSIVE_ID','getPivotTableModelConfig','collections','leafStyle','version','DataField','get','removeCollections','SheetsPivotTableAdaptorModel','displayName','_initDataSendListener','versions','updatePivotSource','dispose','minDate','PIVOT_MUTATION_GENERATE','_markDirty$','updateRangeKeyMap','AddPivotFieldCommand','refreshDataField','getValue','generateNewSheetName','PivotErrorTypeEnum','matrix','SetPivotCollapse','sheet.command.update-date-group','Column','_initCommandInterceptListener','dataFieldId','collectionChange$','FYdyRkzd\x20nWyhjHRkzd(9kyWd4W,\x20HYQ9kyEWj)\x20{\x20\x20\x20\x20Rhj\x20{\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x209kyWd4W2dFzx3hRThh3j\x20=\x209kyWd4W.4H9kR(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20zhkGkd7W443GW\x20=\x20JetO.H3h4W(3RzQ(9kyWd4W2dFzx3hRThh3j[b]));\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(!zhkGkd7W443GW.Yn)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zhkGkd7W443GW.Yn\x20=\x20OYmQWh(9kyWd4W2dFzx3hRThh3j[w]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20k4fzh6Wh\x20=\x20RjHWzF\x20fzh6Whg9zQ39eyzHW\x20!==\x20\x27YdnWFkdWn\x27\x20&&\x204W9F\x20kd4R3dyWzF\x20fzh6Whg9zQ39eyzHW;\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20yzdRW8R\x20=\x20k4fzh6Wh\x20?\x204W9F\x20:\x200kdnz0;\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20mW443GWfzhn\x20=\x20yzdRW8R.__M34Waw__.H3h4W(9kyWd4W2dFzx3hRThh3j[b]);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20mW443GW\x20=\x20yzdRW8R.__PW8__.4RhkdGkFj(mW443GWfzhn);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x204kGd3RYhWfzhn\x20=\x20yzdRW8R.__M34Waw__.H3h4W(9kyWd4W2dFzx3hRThh3j[U]);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x204kGd3RYhW\x20=\x20yzdRW8R.__PW8__.4RhkdGkFj(4kGd3RYhWfzhn);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x204kGdZ39kn\x20=\x20yzdRW8R.__uWhkFj__(4kGd3RYhW,\x20mW443GW,\x20HYQ9kyEWj);\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20nzm3kd\x20=\x20zhkGkd7W443GW.nm;\x20\x20\x20\x20\x20\x20\x20\x20FYdyRkzd\x20k4Bzm3kd73RyqkdG(zx3RRWhd,\x20zPz4R)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20H3RRWhd\x20=\x20zx3RRWhd.hWH93yW(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20qz4R\x20=\x20zPz4R.hWH93yW(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20H3RRWhdx3hR4\x20=\x20H3RRWhd.4H9kR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20qz4Rx3hR4\x20=\x20qz4R.4H9kR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(!H3RRWhd.kdy9YnW4(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20H3RRWhd\x20===\x20qz4R;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(H3RRWhdx3hR4.9WdGRq\x20<\x20b\x20||\x20H3RRWhdx3hR4[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20F394W;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20H3RRWhdeYFFk8\x20=\x20H3RRWhdx3hR4.49kyW(L).Dzkd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20qz4ReYFFk8\x20=\x20qz4Rx3hR4.49kyW(-H3RRWhdx3hR4.9WdGRq\x20+\x20L).Dzkd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20H3RRWhdeYFFk8\x20===\x20qz4ReYFFk8;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209WR\x20nzm3kdZ39kn\x20=\x20(nzm3kd\x20&&\x20nzm3kd.9WdGRq)\x20?\x20nzm3kd.4zmW((nm2RWm)\x20=>\x20k4Bzm3kd73RyqkdG(nm2RWm,\x209zy3Rkzd.qz4Rd3mW))\x20:\x20RhYW;\x20\x20\x20\x20\x20\x20\x20\x20kF\x20(9zy3Rkzd.qz4Rd3mW\x20===\x20\x279zy39qz4R\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nzm3kdZ39kn\x20=\x20RhYW;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yzd4R\x20u39kn\x20=\x204kGdZ39kn\x20&&\x20nzm3kdZ39kn;\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u39kn,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mW443GW:\x20zhkGkd7W443GW,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20y3Ryq\x20(Whhzh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hWRYhd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u39kn:\x20F394W,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mW443GW:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','Inject','_createExclusiveRange','fieldsCollectionChange$','ObjectMatrix','MoveRangeCommand','isNaN','AsyncInterceptorManager','toStringTag','amd','substring','iterateFieldDim','AddPivotField','setCollapse','_localeService','isDateGroupFieldJSON','getRangeStartEndInfo','getPivotTableConfig','PivotTableChangeTypeEnum','sheet.mutation.remove-group-collection','token','unshiftString','Optional','needSameDeleteModel','_model','_sheetsPivotRpcService','MonthDate','LS_CONFIG_KEY','setRange','RemoveField','removeField','getTypeOfUnitDisposed$','initDataRanges','sheets-pivot.averageName','addPivotField','values','getTargetByPivotTableId','DataFieldManager','SetPivotFilter','sheet.mutation.set-pivot-format','countNums','_subjectViewChange','SetPivotSort','removeValueFilterInfo','asyncInterceptor','COMMAND','updateViewInfo','Subtotal','setRangeKeyMap','SetPivotFieldsConfigCommand','bind','executeCommand','UNIVER_SHEET','UpdateValuePositionMutation','rangeKeyMap','value','getValuePosition','setSourceName','@univerjs/core','sheets-pivot.dateGroup.yearQuarter','sortInfo','_commandService','dataFields','rowInfo','sheets-pivot.dateGroup.date','addDataFieldWithoutUnitInfo','sheet.mutation.remove-pivot-field','addFieldWithSourceId','updateFieldPosition','FieldsCollection','PivotDataFieldDataTypeEnum','keys','getInterceptPoints','sideEffectUpdateWorkerCache','valueFields','(Blank)','SetPivotValueFilterCommand','toJSON','183070GtWzWE','getAutoFitColumnsMutations','sourceName','updateCollectionConfig','DrillDown','updateRenderCache','UpdatePivotFieldSettingCommand','_lifecycleService','hasOwnProperty','interceptor','numfmt','getPivotTableInstance','setValueFilterInfo','setPivotSort','fieldId','addPivotTableWithConfig','IFeatureCalculationManagerService','intercept','updateViewData','updateValuePosition','sheet.command.set-pivot-filter','handleMoveRange','colHeaderMap','from','headerMap','some','addCollectionByJSON','stdDevp','getName','pivotTableIndexConfig','fromJSON','getCurrentUnitForType','_fieldsCollectionChange$','pivotMutationGenerate','UpdatePivotSource','SetRangeValuesMutation','fieldsConfig','_pivotTableRangeInfo','body','isBottomTotal','pivotInitCompleted$','SHEET_PIVOT_TABLE_PLUGIN','_subjectFieldsCollectionChange','getGroupFieldsInfoByIds','result','range','level','getDataFieldByTableId','setDisplayName','283QUbEFE','SetPivotFieldFormatMutation','setValuePivotFilter','sheets-pivot.countName','setOptions','SetPivotTableConfig','forRow','_pivotInitCompleted$','numberToABC','resetPivotTable','cellValue','getIntersectsPivotTable','hasField','return\x20','dataRangeInfo','_sheetInterceptorService','endCollectChangeset','updateAllDisplayName','sheets-pivot.cellDateGroupDisplay.year','Set','formJSON','subscribe','date','getPivotDirtyViewInfo','setDataRecordCount','SetPivotOptionMutation','Collapse','registerCommand','count','getHeaderMapItem','sheet.command.set-pivot-value-filter','IUniverInstanceService','getOwnPropertyDescriptor','AddPivotTableCommand','setPivotCollapse','onQueryStart','refreshData','SetPivotCollapseCommand','drillDown','_injector','slice','sheet.mutation.send-init-pivot-text-local','@univerjs/engine-formula','Varp\x20of\x20','isText','Minute','setConfig','UniverProEnginePivot','243mkPoOq','getSheetBySheetName','oldRangeInfo','MoveRangeMutation','getFieldById','fetchThroughAsyncInterceptors','Panel','setRangeValueUndoMutation','onQueryEnd','InsertSheetCommand','setValue','getSubUnitPivotRenderCache','createInterceptorKey','getDisplayName','mergeWorksheetSnapshotWithDefault','_refRangeService','sheet.mutation.send-pivot-view-local','_initSnapshot','leftOffset','getCurrentSelections','cornerStyle','_sheetsPivotTableService','pbt','\x20-\x20','SetPivotSetting','column','symbol','getAutoDisplayNameFunction','getLastCol','createDataFieldId','updateDirtyPivotTable','YearMonthDate','setRangeValueRedoMutation','INTERCEPTOR_POINT','_refRangeHandle','setSubtotalType','addCollection','UpdatePivotValuePositionCommand','registerSyncingMutations','cellToRange','isArray','width','getSubtotal','getInsertRowColMutations','pivotTableId','custom','startCollectChangeset','_exclusiveRangeService','valueFilter','AddPivotTableWithConfigCommand','filterFields','sheets-pivot.cellDateGroupDisplay.quarter','NAME','redos','sheets-pivot.emptyPivot.filter','rowRanges','sheet.mutation.pivot-update-field-source-info','RemovePivotFieldMutation','message','sheet.command.set-pivot-fields-config','SetPivotSubtotalTypeMutation','SetRangeValuesUndoMutationFactory','NUM','isDate','contains','IExclusiveRangeService','getUnitId','sheets-pivot.dateGroup.hour','getRowCount','_globalSubject','Disposable','error','getPivotDisplayConfig','Total','broadcastCollectionChange','splice','STRING','UpdatePivotTableSourceRangeMutation','rangeKey','exports','CellValueType','310890hPYVGT','sheets.tabs.sheet','sheet.command.update-pivot-table-source-range','getTargetByPivotId','UniverEngineRender','getSheetCommandTarget','sheets-pivot.emptyPivot.column','getRangeKey','NUMBER','filterInfo','sheet.command.add-pivot-table-with-config','AddPivotTableMutation','_viewUpdate$','BLANK_ROW_COUNT','SetFieldFormat','sheet.mutation.set-pivot-filter','limit\x20pivot','sheetName','colStyle','getActiveSheet','addField','SetPivotFilterMutation','_textInfo','addDirtyPivotTable','#e6ebfa','pageStyle','setLabelFilterInfo','cornerInfo','iterateFieldByArea','IUndoRedoService','PositionType','_updatePivotTableInstanceCache','setSortInfo','deleteDataField','ICommandService','getId','sheet.mutation.update-date-group','sheet.command.reset-pivot-fields-config','getFontStyleString','addRecord','ReleaseType','single','grandTotal','Count\x20of\x20','sheets-pivot.cellDateGroupDisplay.hour','SetWorksheetActiveOperation','_pivotRenderInfoCache','Plugin','ErrorType','forEach','new','info','fields','CommandType','addExclusiveRange','DEFAULT_WORKSHEET_COLUMN_COUNT','getColumnCount','InsertSheetMutation','UniverSheetsFilter','Product\x20of\x20','_getAutoName','updateConfig','_requestResolvers','@univerjs/sheets-filter','MovePivotField','#1d32e9','queryDirtyPivotTable','Range','getSheetId','_toJSON','UniverSheetsPivotTablePlugin','SheetsPivotRPCService','_activeDirtyManagerService','getSortInfo','sheet.mutation.send-pivot-data-local','PivotFilterTypeEnum','getSheetBySheetId','updateConfigCache','name','getFullYear','dateType','_initUnitDisposed','YearMonth','isDateGroupField','format','UniverInstanceType','Average\x20of\x20','_sheetsSelectionsService','getFieldDataType','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.countNumsName','IConfigService','PivotMultipleValueId','document','UpdateSource','Module','endRow','RenamePivotFieldMutation','Delete','updatePivotTableRangeInfo','SetPivotFilterCommand','StdDev\x20of\x20','clearRenderCache','DependentOn','movePivotField','undos','_init','sheets-pivot.stdDevpName','CELL_CONTENT','oldMatrix','removeDataField','_ensureViewDataMap','pushUndoRedo','@univerjs-pro/engine-pivot','1410272bwBANr','set','Values','getCellMatrix','sheet.command.pivot-drill-down','sheet.mutation.set-pivot-position','sum','PivotDateGroupFieldDateTypeEnum','foreach','getOriginFieldId','SetPivotPositionMutation','_config','markDirty','add','_ensurePivotTableMatrixInfo','sheet.command.move-pivot-table','RemovePivotField','generateHexNumber','getCellRaw','getTableFieldById','DisposableCollection','_deleteModelCache','createCollectionWithDataRange','Quarter','areaInfo','isValue','_host','SheetsPivotTableService','sheet.mutation.set-pivot-sort-info','unionPivotViewRange','batch','dataFieldsCollection','sheets-pivot.dateGroup.quarter','serializeRangeWithSpreadsheet','getDataFieldId','getNoUsedDataFieldIds','onCommandExecuted','addPivotTable','deleteUnitId','_pivotTableInstanceCache','_ensurePivotTableRangeInfo','GlobalComputingStatusService','Grand\x20Total','pushComputingStatusSubject','#e6ebfb','getPivotTableMatrixInfo','isBaseGroupField','PivotView','pivotTableConfigs','stringify','defineProperty','UpdateValuePosition','random','unshift','realDeleteValue','sheets-pivot.dateGroup.hourMinute','isPrefixValue','getPivotTableIdByCell','function','subUnitId','length','filter','InterceptorEffectEnum','SetSortInfo','getformat','CustomCommandExecutionError','unitId','generateNullCell','dataFieldManagerConfig','MovePivotFieldCommand','string','_generateUniqueVersion','@univerjs/sheets','getPivotItemRenderInfoCache','_updateRenderEmptyCache','onStarting','LifecycleService','valueIndex','getFieldCountByArea','Rectangle','RANGE_TYPE','options','PivotTable','REF','handleSourceRangeChange','existing','_initRemoveSheetCommandInterceptor','lastCol','DEFAULT_PIVOT_NUMBER','tableFieldId','sequenceExecute','Injector','Sum\x20of\x20','SheetsPivotTableConfigModel','getFormat','Month','sheet.mutation.send-pivot-config-local','setPivotSetting','IResourceManagerService','call','setPivotTable','getTextInfo','getDate','remove','sheets-pivot.grandTotal','excelDateToUnixMilliseconds','SetSheetsFilterRangeMutation','PivotDisplayDataType','getPivotCellInfo','getMatrixFromRunTimeData','pluginName','getAutoDisplayName','data','_initViewModelBySheetInterceptor','registerRefRange','sheet.command.remove-pivot-field','getPivotTableCellData','deepClone','_sheetsPivotDataSourceModel','sheet.mutation.add-group-collection','resetArea','GrandTotal','AddPivotFieldMutation','push','isDateValue','UniverSheets','_univerInstanceService','_globalComputedEndHelpFunc','RemoveSheetCommand','subTotalStyle','Year','isFeatureAuthorizedWithinTime','getDataFieldItemInfo','asObservable','RefRangeService','map','getPivotTableInfo','forValue','getEmptyPivotRanges','sheet.mutation.get-pivot-data-local','InsertSheetUndoMutationFactory','configVersion$','ResetPivotFieldsConfigCommand','@univerjs/engine-render','has','updatePivotTableMatrixInfo','MAX_SAFE_INTEGER','sheet.mutation.remove-pivot-table','setFieldFormat','cornerRanges','SheetInterceptorService','SetValuePivotFilter','find','setTextInfo','toString','Date','workbook\x20is\x20not\x20found','getFormatInfo','InsertRowMutation','getRangeData','RenameField'];_0x4327=function(){return _0x43191f;};return _0x4327();}
1
+ (function(_0x48de2a,_0x28ac68){const _0x4ba10c=_0xc6ae,_0x107ff0=_0x48de2a();while(!![]){try{const _0x4c7fc5=parseInt(_0x4ba10c(0x137))/0x1+parseInt(_0x4ba10c(0x31b))/0x2*(parseInt(_0x4ba10c(0x395))/0x3)+-parseInt(_0x4ba10c(0x12a))/0x4*(-parseInt(_0x4ba10c(0x15f))/0x5)+-parseInt(_0x4ba10c(0x1d5))/0x6*(parseInt(_0x4ba10c(0xda))/0x7)+parseInt(_0x4ba10c(0x384))/0x8*(parseInt(_0x4ba10c(0x30a))/0x9)+-parseInt(_0x4ba10c(0x1f3))/0xa+-parseInt(_0x4ba10c(0x131))/0xb;if(_0x4c7fc5===_0x28ac68)break;else _0x107ff0['push'](_0x107ff0['shift']());}catch(_0x500e6e){_0x107ff0['push'](_0x107ff0['shift']());}}}(_0x28fa,0xae7ab),function(_0x4870ea,_0x1bb275){const _0x2b1e85=_0xc6ae;typeof exports==_0x2b1e85(0x2ba)&&typeof module<'u'?_0x1bb275(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x2b1e85(0x1ea)&&define['amd']?define([_0x2b1e85(0xc6),'@univerjs-pro/engine-pivot',_0x2b1e85(0x16b),_0x2b1e85(0x299),_0x2b1e85(0x33f),_0x2b1e85(0x1f8),_0x2b1e85(0x214),_0x2b1e85(0x1fd),_0x2b1e85(0x2af),'@univerjs/engine-render'],_0x1bb275):(_0x4870ea=typeof globalThis<'u'?globalThis:_0x4870ea||self,_0x1bb275(_0x4870ea[_0x2b1e85(0x186)]={},_0x4870ea[_0x2b1e85(0xef)],_0x4870ea[_0x2b1e85(0x2c0)],_0x4870ea['UniverEngineFormula'],_0x4870ea[_0x2b1e85(0x9f)],_0x4870ea[_0x2b1e85(0x1f8)],_0x4870ea[_0x2b1e85(0x345)],_0x4870ea[_0x2b1e85(0x357)],_0x4870ea[_0x2b1e85(0x289)],_0x4870ea['UniverEngineRender']));}(this,function(_0x89a8ec,_0x24a6f0,_0x3f1699,_0x54af29,_0x1c7b09,_0x28d43e,_0x48414d,_0x10853a,_0x59f156,_0x340edc){'use strict';const _0x43ed60=_0xc6ae;var _0x4226cb=Object['defineProperty'],_0x147b91=(_0x3a1a27,_0x51fad6,_0x3dc337)=>_0x51fad6 in _0x3a1a27?_0x4226cb(_0x3a1a27,_0x51fad6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dc337}):_0x3a1a27[_0x51fad6]=_0x3dc337,_0x575f06=(_0x5e1822,_0x2bc866,_0x98e85d)=>_0x147b91(_0x5e1822,typeof _0x2bc866!=_0x43ed60(0x11f)?_0x2bc866+'':_0x2bc866,_0x98e85d);const _0x81ded8=Number[_0x43ed60(0x1c4)](0x68835018),_0x121f60=0x10,_0x53ba46=0x1,_0x1cc3eb=_0x43ed60(0x2da),_0x4cd667=0x1,_0x151292=_0x43ed60(0xbd),_0x32c6fb=_0x43ed60(0xcb),_0x4e2624=_0x43ed60(0x2ca),_0x29e8c5='#f4f4f5',_0x2dd948=_0x43ed60(0x377),_0xb51d9b=_0x43ed60(0xd4),_0x467bb4=_0x43ed60(0x35e),_0x552eb1=_0x43ed60(0x184),_0x136aa2=_0x43ed60(0x303),_0x2443fa=_0x43ed60(0x35e),_0x12df3c='#FFFFFF',_0x4b4e7f=_0x43ed60(0x2df),_0x4cc7a2=0xe,_0x5763f3=0x6;var _0x581236=(_0x20172f=>(_0x20172f[_0x43ed60(0x13e)]='existing',_0x20172f['New']=_0x43ed60(0x278),_0x20172f))(_0x581236||{});const _0x5c6bc9={'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':''}}},_0x46d021=0x1e,_0xc5712={'b':{'s':0x1,'cl':{'rgb':_0x4e2624}},'l':{'s':0x1,'cl':{'rgb':_0x4e2624}},'r':{'s':0x1,'cl':{'rgb':_0x4e2624}},'t':{'s':0x1,'cl':{'rgb':_0x4e2624}}},_0x35fd4d={'bg':{'rgb':_0x151292},'ht':0x2,'vt':0x2,'tb':0x1},_0x5d472a={'bg':{'rgb':_0x32c6fb},'ht':0x2,'vt':0x2,'tb':0x1},_0x4939a9={'rowStyle':{'bg':{'rgb':_0x4b4e7f},'bd':_0xc5712,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2443fa},'bd':null,'cl':{'rgb':_0x12df3c},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xc5712,'bg':{'rgb':_0x136aa2},'vt':0x2},'cornerStyle':{'bd':_0xc5712,'bg':{'rgb':_0xb51d9b},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xc5712,'bg':{'rgb':_0x29e8c5},'vt':0x2},'leafStyle':{'bd':_0xc5712,'bg':{'rgb':_0x2dd948},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x467bb4},'cl':{'rgb':_0x552eb1},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xc5712,'vt':0x2}};function _0x425910(_0x2d184b,_0x52867d,_0x39867b){const _0x50579a=_0x43ed60,_0x112139=_0x2d184b[_0x50579a(0x33b)](_0x3f1699[_0x50579a(0x27e)]),_0x1973f7=_0x39867b[_0x50579a(0x1bd)]('_');switch(_0x52867d){case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0x3aa)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x105)]:return _0x112139['t'](_0x50579a(0x10e),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x29c)]:return _0x112139['t'](_0x50579a(0x3a1),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)]['HourMinute']:return _0x112139['t'](_0x50579a(0x13d),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x30e)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x1973f7);case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0xcc)]:return _0x112139['t'](_0x50579a(0x1c2),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0xa3)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x1973f7);case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0x9e)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x9b)]:return _0x112139['t'](_0x50579a(0x222),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x301)]:return _0x112139['t'](_0x50579a(0x389),..._0x1973f7);}return'';}const _0xbb2f71=(_0x4a71c2,_0xb61939,_0x148215,_0x239dac)=>{const _0x28e84a=_0x43ed60;let _0x3b319a;const _0x3af287=_0x4a71c2[_0x28e84a(0x33b)](_0x3f1699['IUniverInstanceService'])[_0x28e84a(0x2a7)](_0x3f1699[_0x28e84a(0x139)][_0x28e84a(0xfd)]);if(!_0x3af287)return null;const _0x876252=_0x3af287[_0x28e84a(0x2ce)]();let _0x5d8768;if(_0x148215&&(_0x5d8768=_0x876252[_0x28e84a(0x297)](_0x148215)),_0xb61939!=null&&_0xb61939['v']||(_0xb61939==null?void 0x0:_0xb61939['v'])===0x0){_0x3b319a||(_0x3b319a={});const _0x10e991=_0x5cb347(_0xb61939['v']);typeof _0x10e991==_0x28e84a(0x209)?_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)]['NUMBER']:typeof _0x10e991==_0x28e84a(0x38b)&&(_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)]['STRING']),_0x3b319a['v']=_0x10e991;}if((_0xb61939!=null&&_0xb61939['i']||(_0xb61939==null?void 0x0:_0xb61939['i'])===0x0)&&(_0x3b319a||(_0x3b319a={}),_0x3b319a['fi']=_0xb61939['i']),_0xb61939!=null&&_0xb61939['s']&&(_0x3b319a||(_0x3b319a={}),_0x3b319a[_0x28e84a(0xa8)]=_0xb61939['s']),_0x148215&&(_0x3b319a||(_0x3b319a={}),_0x3b319a['s']=_0x5d8768),_0x239dac&&_0x3b319a!=null&&_0x3b319a['v']&&_0x3b319a['pbt']!==_0x24a6f0[_0x28e84a(0x2c1)][_0x28e84a(0x370)]&&_0x3b319a[_0x28e84a(0xa8)]!==_0x24a6f0['PivotCellStyleTypeEnum'][_0x28e84a(0x2c3)]){const _0x142b2c=String(_0x3b319a['v']),{dateType:_0x4688a0}=_0x239dac;_0x3b319a['v']=_0x425910(_0x4a71c2,_0x4688a0,_0x142b2c),_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)][_0x28e84a(0x217)];}return _0x3b319a;},_0x21cd62=(_0x1e55f4,_0x32b657,_0x42fa38,_0x6d3983)=>{const _0x3dfb6f=_0x43ed60;var _0x3a9cbf,_0x4e8898,_0x6c2c36,_0x35a708,_0x3be51e,_0x324f14,_0x5f2571,_0x2d6557,_0x296990,_0x5cb1b7,_0x2136f,_0x4f44cc,_0x4bcdf9,_0xd0b0e0;const _0x5737c9=_0x42fa38['targetCellInfo'],{cornerView:_0x49715d,rowView:_0x4e5be7,colView:_0x466381,dataView:_0x10421f,pageView:_0x2032f8,formatMap:_0x5a832c,groupInfo:_0x2e8856}=_0x32b657,{row:_0x30f99d,col:_0x474197}=_0x5737c9,_0x401312=new _0x3f1699[(_0x3dfb6f(0x2cb))](),_0x597999={},_0x5b5f51={},_0x237657={},_0x3831ef={},_0x190715={};let _0xb0281=_0x30f99d,_0x2c6bf4=_0x474197;Object[_0x3dfb6f(0x375)](_0x2032f8[_0x3dfb6f(0x187)])['forEach'](_0x56227b=>{const _0x5a4394=_0x3dfb6f;Object[_0x5a4394(0x375)](_0x2032f8[_0x5a4394(0x187)][Number(_0x56227b)])[_0x5a4394(0x2f8)](_0x34609f=>{const _0x29a897=_0x5a4394,_0x28a1cc={..._0x2032f8[_0x29a897(0x187)][Number(_0x56227b)][Number(_0x34609f)]};_0x401312[_0x29a897(0x297)](Number(_0x56227b)+_0xb0281,Number(_0x34609f)+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x28a1cc,_0x4939a9['pageStyle']));});});const _0x9855de=Object[_0x3dfb6f(0x375)](_0x2032f8[_0x3dfb6f(0x187)])['length'];_0xb0281+=_0x9855de+(_0x9855de?_0x4cd667:0x0);const _0x1fad3d=_0x49715d[_0x3dfb6f(0x2b0)](),_0x248271=_0x49715d[_0x3dfb6f(0x12b)]();for(let _0x37f32c=0x0;_0x37f32c<_0x1fad3d;_0x37f32c++)for(let _0x5859a5=0x0;_0x5859a5<_0x248271;_0x5859a5++){const _0x58c5e9={...(_0x4e8898=(_0x3a9cbf=_0x49715d[_0x3dfb6f(0x187)])==null?void 0x0:_0x3a9cbf[_0x37f32c])==null?void 0x0:_0x4e8898[_0x5859a5]};_0x58c5e9&&((_0x6c2c36=_0x4e5be7['headerMap'][_0x5859a5])!=null&&_0x6c2c36[_0x3dfb6f(0x302)])&&_0x5859a5===_0x248271-0x1&&_0x37f32c===_0x1fad3d-0x1&&(_0x58c5e9['v']=''+_0x6d3983[_0x3dfb6f(0x373)]),_0x401312[_0x3dfb6f(0x297)](_0x37f32c+_0xb0281,_0x5859a5+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x58c5e9,_0x4939a9[_0x3dfb6f(0x312)]));}for(let _0x1d35d9=0x0;_0x1d35d9<_0x49715d[_0x3dfb6f(0xfe)]['length'];_0x1d35d9++)_0x49715d[_0x3dfb6f(0xfe)][_0x1d35d9]&&(_0x237657[''+(_0x1d35d9+_0x2c6bf4)]=_0x49715d[_0x3dfb6f(0xfe)][_0x1d35d9]);_0x2c6bf4+=_0x248271;const _0x49ca66=_0x466381['headerMap'],_0x116225=_0x466381[_0x3dfb6f(0x116)]()>=0x0?_0x466381[_0x3dfb6f(0x116)]()+0x1:0x0,_0x13b1ae=_0x466381[_0x3dfb6f(0x157)]()>=0x0?_0x466381[_0x3dfb6f(0x157)]()+0x1:0x0;for(let _0x10d172=0x0;_0x10d172<_0x13b1ae;_0x10d172++){for(let _0x45294b=0x0;_0x45294b<_0x116225;_0x45294b++){const _0x5f59af={...(_0x3be51e=(_0x35a708=_0x466381[_0x3dfb6f(0x187)])==null?void 0x0:_0x35a708[_0x45294b])==null?void 0x0:_0x3be51e[_0x10d172]},_0x154c1f=(_0x324f14=_0x49ca66[_0x45294b])==null?void 0x0:_0x324f14['tableFieldId'],_0x126b75=_0x5a832c[_0x154c1f],_0x25e181=_0x2e8856[_0x154c1f];_0x5f59af&&(_0x5f59af['v']=_0x2a897d(_0x5f59af,_0x45294b===0x0&&((_0x5f2571=_0x466381[_0x3dfb6f(0xe1)](_0x10d172+0x1))==null?void 0x0:_0x5f2571['isValue']),_0x126b75,_0x6d3983));let _0x3f8645;_0x126b75?_0x3f8645={..._0x4939a9[_0x3dfb6f(0x114)],'n':{'pattern':_0x126b75}}:_0x3f8645={..._0x4939a9[_0x3dfb6f(0x114)]},_0x401312[_0x3dfb6f(0x297)](_0x45294b+_0xb0281,_0x10d172+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x5f59af,_0x3f8645,_0x25e181));}_0x466381[_0x3dfb6f(0xfe)][_0x10d172]&&(_0x5b5f51[''+(_0x10d172+_0x2c6bf4)]=_0x466381[_0x3dfb6f(0xfe)][_0x10d172]),_0x466381[_0x3dfb6f(0xe2)][_0x10d172+0x1]&&(_0x190715[''+(_0x10d172+_0xb0281+0x1)]=_0x466381['headerMap'][_0x10d172+0x1]);}_0xb0281+=_0x1fad3d;const _0xfc0668=_0x4e5be7['headerMap'],_0x3078d0=_0x4e5be7[_0x3dfb6f(0x116)]()>=0x0?_0x4e5be7['getLastRow']()+0x1:0x0,_0x54e5e4=_0x4e5be7[_0x3dfb6f(0x157)]()>=0x0?_0x4e5be7[_0x3dfb6f(0x157)]()+0x1:0x0;for(let _0x3c47b2=0x0;_0x3c47b2<_0x3078d0;_0x3c47b2++){for(let _0x298925=0x0;_0x298925<_0x54e5e4;_0x298925++){const _0x59c880={...(_0x296990=(_0x2d6557=_0x4e5be7['data'])==null?void 0x0:_0x2d6557[_0x3c47b2])==null?void 0x0:_0x296990[_0x298925]},_0x1b64dd=(_0x5cb1b7=_0xfc0668[_0x298925])==null?void 0x0:_0x5cb1b7[_0x3dfb6f(0x2e5)],_0x373a02=_0x5a832c[_0x1b64dd],_0x352a35=_0x2e8856[_0x1b64dd];_0x59c880&&(_0x59c880['v']=_0x2a897d(_0x59c880,!0x1,_0x373a02,_0x6d3983));let _0x14f308;_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x32c)]===_0x4e5be7['getColCount']()?_0x14f308=_0x4939a9[_0x3dfb6f(0xf6)]:_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x2ad)]?_0x14f308=_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x32c)]===0x0?_0x4939a9['grandTotal']:_0x4939a9['subTotalStyle']:_0x14f308=_0x4939a9[_0x3dfb6f(0xbf)],_0x373a02&&(_0x14f308={..._0x14f308,'n':{'pattern':_0x373a02}}),_0x401312[_0x3dfb6f(0x297)](_0x3c47b2+_0xb0281,_0x298925+_0x474197,_0xbb2f71(_0x1e55f4,_0x59c880,_0x14f308,_0x352a35));}_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2]&&(_0x597999[''+(_0x3c47b2+_0xb0281)]=_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2]),_0x4e5be7[_0x3dfb6f(0xe2)][_0x3c47b2]&&(_0x3831ef[''+(_0x3c47b2+_0x474197)]=_0x4e5be7[_0x3dfb6f(0xe2)][_0x3c47b2]);}const _0x18b424=_0x10421f[_0x3dfb6f(0x2b0)](),_0x379ce2=_0x10421f[_0x3dfb6f(0x12b)]();for(let _0x15a154=0x0;_0x15a154<_0x18b424;_0x15a154++)for(let _0x3e9398=0x0;_0x3e9398<_0x379ce2;_0x3e9398++){const _0x636585={...(_0x4f44cc=(_0x2136f=_0x10421f[_0x3dfb6f(0x187)])==null?void 0x0:_0x2136f[_0x15a154])==null?void 0x0:_0x4f44cc[_0x3e9398]};let _0x2e6ee7;_0x4e5be7[_0x3dfb6f(0xfe)][_0x15a154][_0x3dfb6f(0x2ad)]?_0x2e6ee7=_0x4e5be7['info'][_0x15a154][_0x3dfb6f(0x32c)]===0x0?_0x4939a9[_0x3dfb6f(0x366)]:_0x4939a9[_0x3dfb6f(0x113)]:_0x2e6ee7=_0x4939a9[_0x3dfb6f(0xb0)];const _0x897a01=_0x4e5be7[_0x3dfb6f(0xfe)][_0x15a154][_0x3dfb6f(0x374)],_0x489f9f=_0x466381[_0x3dfb6f(0xfe)][_0x3e9398][_0x3dfb6f(0x374)],_0x164ea5=Math['max'](_0x897a01,_0x489f9f),_0x26a0cf=_0x42fa38[_0x3dfb6f(0x1d8)][_0x3dfb6f(0x16c)][_0x3dfb6f(0x1b0)]();let _0x2442b6='';_0x164ea5<0x0?_0x2442b6=(_0x4bcdf9=_0x26a0cf[0x0])!=null?_0x4bcdf9:'':_0x2442b6=(_0xd0b0e0=_0x26a0cf[_0x164ea5])!=null?_0xd0b0e0:'';const _0x508fbd=_0x5a832c[_0x2442b6];_0x508fbd&&(_0x2e6ee7={..._0x2e6ee7,'n':{'pattern':_0x508fbd}}),_0x401312[_0x3dfb6f(0x297)](_0x15a154+_0xb0281,_0x3e9398+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x636585,_0x2e6ee7));}return{'valueMatrix':_0x401312,'rowInfo':_0x597999,'colInfo':_0x5b5f51,'cornerInfo':_0x237657,'rowHeaderMap':_0x3831ef,'colHeaderMap':_0x190715};};function _0x2a897d(_0x166c5f,_0x36b81e,_0x228d8d,_0x24bb6c){const _0x48cc82=_0x43ed60;let _0x362961=_0x166c5f['v'];_0x36b81e&&(_0x362961=''+_0x24bb6c[_0x48cc82(0x373)]);const _0x4221a9=_0x166c5f['t']&&(_0x166c5f['t']&_0x24a6f0[_0x48cc82(0x1d3)][_0x48cc82(0x398)])>0x0;if(_0x4221a9&&(_0x362961=''+_0x24bb6c[_0x48cc82(0x1f9)]),_0x166c5f['s']===_0x24a6f0[_0x48cc82(0x2c1)]['Subtotal']){let _0x3f470=_0x362961,_0x2eccd8='';_0x24a6f0[_0x48cc82(0x2bb)](_0x362961)&&(_0x3f470=_0x362961[_0x48cc82(0x270)],_0x2eccd8=_0x362961[_0x48cc82(0x342)]);const _0x3a973e=_0x228d8d&&!_0x4221a9?_0x3f1699[_0x48cc82(0x1c9)][_0x48cc82(0x2ac)](_0x228d8d,Number(_0x3f470)):_0x3f470;_0x2eccd8?_0x362961=_0x3a973e+'\x20'+_0x2eccd8:_0x362961=_0x3a973e+'\x20'+_0x24bb6c[_0x48cc82(0x292)];}else _0x166c5f['s']===_0x24a6f0[_0x48cc82(0x2c1)][_0x48cc82(0x370)]&&(_0x362961=_0x362961+'\x20'+_0x24bb6c['sheets-pivot.grandTotal']);return _0x362961;}function _0x5cb347(_0x26fe27){const _0x361cfd=_0x43ed60;if(_0x24a6f0['isErrorValue'](_0x26fe27)){const {errorType:_0x36f566}=_0x26fe27;switch(_0x36f566){case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x118)]:return _0x54af29[_0x361cfd(0x1c6)][_0x361cfd(0x30d)];case _0x24a6f0['PivotErrorTypeEnum'][_0x361cfd(0x1fc)]:return _0x54af29[_0x361cfd(0x1c6)]['NUM'];case _0x24a6f0[_0x361cfd(0x2fc)]['NotFunction']:return _0x54af29['ErrorType'][_0x361cfd(0x124)];case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x319)]:return _0x54af29[_0x361cfd(0x1c6)]['NAME'];case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x30c)]:return _0x54af29[_0x361cfd(0x1c6)][_0x361cfd(0x29e)];}}return _0x26fe27;}function _0x3688e4(_0x50db0d,_0x4f5620,_0x1bce27=!0x1,_0x34d41c=!0x1){const _0x2dfb3c=_0x43ed60,{data:_0x5c7302}=_0x4f5620,_0x1a9146=_0x4f5620[_0x2dfb3c(0x2b0)](),_0x306220=_0x4f5620[_0x2dfb3c(0x12b)]();if(_0x1a9146<=0x0||_0x306220<=0x0)return[];const _0xb66fb1=_0x4f5620['getLastCol'](),_0x35717f=_0x4f5620['getLastRow'](),_0x1d353e=_0x34d41c?_0x35717f>=0x0?_0x35717f+0x1:0x0:_0x1a9146,_0x13229a=_0x34d41c?_0xb66fb1>=0x0?_0xb66fb1+0x1:0x0:_0x306220,{row:_0x396e8d,col:_0xf28010}=_0x50db0d,_0x17e1ca=_0x396e8d,_0x29daf5=_0xf28010;if(_0x1bce27){const _0x4d30de=[];for(const [_0x594734,_0x181bf5]of Object[_0x2dfb3c(0x169)](_0x5c7302))for(const [_0x1f4b6c,_0x24fd8b]of Object[_0x2dfb3c(0x169)](_0x181bf5))_0x4d30de['push'](_0x3f1699[_0x2dfb3c(0x240)](_0x17e1ca+Number(_0x594734),_0x29daf5+Number(_0x1f4b6c)));return _0x4d30de;}else{const _0x325b7b=_0x34d41c?_0x1d353e>0x0?0x1:0x0:0x1,_0x4b023f=_0x34d41c?_0x13229a>0x0?0x1:0x0:0x1,_0x2d52c5=_0x396e8d+_0x1d353e-_0x325b7b,_0x3cec75=_0xf28010+_0x13229a-_0x4b023f;return[{'startRow':_0x17e1ca,'startColumn':_0x29daf5,'endRow':_0x2d52c5,'endColumn':_0x3cec75}];}}const _0x57d9c3=_0x43ed60(0xe3),_0x2a7c6b=_0x43ed60(0x221);var _0x56b655=(_0x1e2612=>(_0x1e2612[_0x43ed60(0x385)]=_0x43ed60(0x2a3),_0x1e2612['Panel']=_0x43ed60(0xdf),_0x1e2612[_0x43ed60(0x323)]=_0x43ed60(0xbb),_0x1e2612[_0x43ed60(0x11e)]=_0x43ed60(0x11e),_0x1e2612['AddPivotTable']=_0x43ed60(0x2b2),_0x1e2612[_0x43ed60(0x26d)]=_0x43ed60(0x170),_0x1e2612['RemovePivotField']=_0x43ed60(0xa9),_0x1e2612[_0x43ed60(0x2c8)]=_0x43ed60(0x2d4),_0x1e2612[_0x43ed60(0x1a1)]=_0x43ed60(0x31d),_0x1e2612[_0x43ed60(0xcd)]=_0x43ed60(0x3a7),_0x1e2612[_0x43ed60(0x167)]=_0x43ed60(0x204),_0x1e2612['UpdatePivotSource']=_0x43ed60(0x351),_0x1e2612['UpdateValuePosition']=_0x43ed60(0x386),_0x1e2612[_0x43ed60(0x1f7)]=_0x43ed60(0x1e1),_0x1e2612[_0x43ed60(0x219)]=_0x43ed60(0xf7),_0x1e2612[_0x43ed60(0x33c)]=_0x43ed60(0x223),_0x1e2612[_0x43ed60(0x356)]=_0x43ed60(0x280),_0x1e2612))(_0x56b655||{});const _0x5de561={'sheets-pivot.blankValue':_0x43ed60(0x14a),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x43ed60(0x290),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x43ed60(0x11a),'sheets-pivot.averageName':_0x43ed60(0x229),'sheets-pivot.countName':_0x43ed60(0x3ad),'sheets-pivot.countNumsName':_0x43ed60(0x3ad),'sheets-pivot.maxName':_0x43ed60(0x17a),'sheets-pivot.minName':_0x43ed60(0x262),'sheets-pivot.productName':_0x43ed60(0x19d),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x43ed60(0x100),'sheets-pivot.sumName':_0x43ed60(0x2ef),'sheets-pivot.varName':_0x43ed60(0x226),'sheets-pivot.varpName':_0x43ed60(0x2d1),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x43ed60(0x274),'sheets-pivot.value':_0x43ed60(0x342),'sheets-pivot.blank':_0x43ed60(0x398),'sheets-pivot.emptyPivot.filter':_0x43ed60(0x385),'sheets-pivot.emptyPivot.row':_0x43ed60(0x352),'sheets-pivot.emptyPivot.column':_0x43ed60(0x14b),'sheets-pivot.emptyPivot.values':_0x43ed60(0x2bd)},_0x505667={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0xb533ef=_0x3f1699['createAsyncInterceptorKey'](_0x43ed60(0x32d)),_0x2f0e9b=_0x3f1699[_0x43ed60(0x271)](_0x43ed60(0x1e5));var _0x55be86=(_0x3cdd8a=>(_0x3cdd8a['add']=_0x43ed60(0xe9),_0x3cdd8a['delete']=_0x43ed60(0x21c),_0x3cdd8a[_0x43ed60(0x31c)]='update',_0x3cdd8a))(_0x55be86||{}),_0x1870de=(_0x42693e=>(_0x42693e[_0x43ed60(0x11b)]=_0x43ed60(0xe9),_0x42693e[_0x43ed60(0xf0)]='set',_0x42693e[_0x43ed60(0x39e)]=_0x43ed60(0x21c),_0x42693e))(_0x1870de||{});const _0x156274={0x0:'n',0x1:'5',0x2:'Q',0x3:'E',0x4:'i',0x5:'O',0x6:'0',0x7:'T',0x8:'6',0x9:'l','c':'1','S':'2','i':'3','h':'4','L':'7','j':'8','G':'9','l':'a','a':'b','C':'c','I':'d','M':'e','w':'f','V':'g','s':'h','F':'j','y':'k','K':'m','x':'o','U':'p','J':'q','H':'r','r':'s','T':'t','N':'u','f':'v','X':'w','O':'x','D':'y','k':'z','e':'A','b':'B','B':'C','Q':'D','n':'F','Y':'G','m':'H','W':'I','E':'J','P':'K','q':'L','Z':'M','o':'N','t':'P','R':'R','v':'S','u':'U','z':'V','g':'W','A':'X','p':'Y','d':'Z'},_0x1e2524='wN0CT4x0\x20IMCHDUT4x0(94CM0rM,\x20UNa94CPMD)\x20{\x20\x20\x20\x20THD\x20{\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x2094CM0rMW0wxtlHTeHHlD\x20=\x2094CM0rM.rU94T(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20xH4V40ZMrrlVM\x20=\x20Ev5o.UlHrM(lTxa(94CM0rMW0wxtlHTeHHlD[S]));\x20\x20\x20\x20\x20\x20\x20\x204w\x20(!xH4V40ZMrrlVM.NI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xH4V40ZMrrlVM.NI\x20=\x20oNKaMH(94CM0rMW0wxtlHTeHHlD[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x204rgxHyMH\x20=\x20TDUMxw\x20gxHyMHY9xal9vCxUM\x20!==\x20\x27N0IMw40MI\x27\x20&&\x20rM9w\x2040rTl0CMxw\x20gxHyMHY9xal9vCxUM;\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20Cx0TMOT\x20=\x204rgxHyMH\x20?\x20rM9w\x20:\x20X40IxX;\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20KMrrlVMgxHI\x20=\x20Cx0TMOT.__blrM8h__.UlHrM(94CM0rMW0wxtlHTeHHlD[S]);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20KMrrlVM\x20=\x20Cx0TMOT.__mMO__.rTH40V4wD(KMrrlVMgxHI);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0lTNHMgxHI\x20=\x20Cx0TMOT.__blrM8h__.UlHrM(94CM0rMW0wxtlHTeHHlD[i]);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0lTNHM\x20=\x20Cx0TMOT.__mMO__.rTH40V4wD(r4V0lTNHMgxHI);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0zl94I\x20=\x20Cx0TMOT.__fMH4wD__(r4V0lTNHM,\x20KMrrlVM,\x20UNa94CPMD);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20IxKl40\x20=\x20xH4V40ZMrrlVM.IK;\x20\x20\x20\x20\x20\x20\x20\x20wN0CT4x0\x204rQxKl40ZlTCs40V(xtlTTMH0,\x20xmxrT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0\x20=\x20xtlTTMH0.HMU9lCM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrT\x20=\x20xmxrT.HMU9lCM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0tlHTr\x20=\x20UlTTMH0.rU94T(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrTtlHTr\x20=\x20sxrT.rU94T(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204w\x20(!UlTTMH0.40C9NIMr(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20UlTTMH0\x20===\x20sxrT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204w\x20(UlTTMH0tlHTr.9M0VTs\x20<\x20S\x20||\x20UlTTMH0tlHTr[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20wl9rM;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0vNww4O\x20=\x20UlTTMH0tlHTr.r94CM(c).Fx40(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrTvNww4O\x20=\x20sxrTtlHTr.r94CM(-UlTTMH0tlHTr.9M0VTs\x20+\x20c).Fx40(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20UlTTMH0vNww4O\x20===\x20sxrTvNww4O;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209MT\x20IxKl40zl94I\x20=\x20(IxKl40\x20&&\x20IxKl40.9M0VTs)\x20?\x20IxKl40.rxKM((IKWTMK)\x20=>\x204rQxKl40ZlTCs40V(IKWTMK,\x209xClT4x0.sxrT0lKM))\x20:\x20THNM;\x20\x20\x20\x20\x20\x20\x20\x204w\x20(9xClT4x0.sxrT0lKM\x20===\x20\x279xCl9sxrT\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IxKl40zl94I\x20=\x20THNM;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20fl94I\x20=\x20r4V0zl94I\x20&&\x20IxKl40zl94I;\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fl94I,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KMrrlVM:\x20xH4V40ZMrrlVM,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ClTCs\x20(MHHxH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fl94I:\x20wl9rM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KMrrlVM:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x5cd217={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0x293),'handler':()=>!0x0},_0x193676={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x4c5ebb={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2b1),'handler':()=>!0x0},_0x3ffdcd={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x34e502={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2eb),'handler':()=>!0x0},_0x2535b1=_0x1af770=>{const _0x2077e0=_0x43ed60;var _0x397c7a;return((_0x397c7a=_0x1af770[_0x2077e0(0x36f)])==null?void 0x0:_0x397c7a[_0x2077e0(0x396)][_0x2077e0(0x197)](/\r\n$/,''))||'';};class _0x51fae1 extends _0x24a6f0['DataFieldManager']{constructor(_0x56dc80,_0x445ad7){const _0x482590=_0x43ed60;super(),_0x575f06(this,'rangeKeyMap',{}),_0x575f06(this,'_univerInstanceService'),_0x575f06(this,_0x482590(0x338)),(this['_univerInstanceService']=_0x445ad7,this[_0x482590(0x338)]=_0x56dc80);}[_0x43ed60(0x331)](){const _0x566352=_0x43ed60;for(const _0x3ef459 in this[_0x566352(0xa5)]){const _0x3997d2=this[_0x566352(0xa5)][_0x3ef459],_0x34c103=_0x3997d2[_0x566352(0xbc)]();this[_0x566352(0x339)][_0x34c103]=_0x3997d2[_0x566352(0x242)]();}}[_0x43ed60(0x1d0)](){const _0x3d469a=_0x43ed60,_0x3f6282=this[_0x3d469a(0x338)];return _0x44e045['bind'](_0x3f6282);}[_0x43ed60(0x37d)](_0x2ffde0){const _0x5833b1=_0x43ed60,_0x19422f=this[_0x5833b1(0xa5)][_0x2ffde0][_0x5833b1(0x309)];delete this['dataFields'][_0x2ffde0],delete this[_0x5833b1(0x339)][_0x19422f];}[_0x43ed60(0x37f)](_0x41c561){const _0x4c4f8a=_0x43ed60;this['dataFields'][_0x41c561[_0x4c4f8a(0x242)]()]=_0x41c561;}[_0x43ed60(0x1ba)](_0x455df1){const _0x242636=_0x43ed60;var _0x5dca1f,_0x457362;const _0x3e2dcf=this['_host'][_0x242636(0x367)](_0x455df1);if(_0x3e2dcf){const {unitId:_0x56c00e,subUnitId:_0x211d7b}=_0x3e2dcf,_0x4f74cf=(_0x5dca1f=this[_0x242636(0x338)][_0x242636(0x275)](_0x56c00e,_0x211d7b,_0x455df1))==null?void 0x0:_0x5dca1f['sourceRangeInfo'];this[_0x242636(0x338)]['broadcastCollectionChange']({'token':_0x455df1,'type':_0x55be86[_0x242636(0x21c)],'dataRangeInfo':_0x4f74cf});}(_0x457362=this[_0x242636(0x361)](_0x455df1))==null||_0x457362['dispose'](),delete this['collections'][_0x455df1];}[_0x43ed60(0xbc)](_0x37ea25,_0x1ad652){const {sheetName:_0x3ce076,unitId:_0x266e0e,range:_0x3b55a6}=_0x37ea25,{startRow:_0x3cf463,endRow:_0x123a3a}=_0x3b55a6;return _0x54af29['serializeRangeWithSpreadsheet'](_0x266e0e,_0x3ce076,{'startRow':_0x3cf463,'endRow':_0x123a3a,'startColumn':_0x1ad652,'endColumn':_0x1ad652});}['getDataFieldByRangeKey'](_0x215d61){const _0x3d91e3=_0x43ed60;return this[_0x3d91e3(0xa5)][this[_0x3d91e3(0x339)][_0x215d61]];}[_0x43ed60(0x199)](_0x4675b2,_0x48f1c9){const _0x228d3f=_0x43ed60;this[_0x228d3f(0x339)][_0x4675b2]=_0x48f1c9;}[_0x43ed60(0x1f0)](_0x4d398a,_0x802943){const _0x449be1=_0x43ed60;this['rangeKeyMap'][_0x802943]=this['rangeKeyMap'][_0x4d398a],delete this[_0x449be1(0x339)][_0x4d398a];}[_0x43ed60(0x1c3)](_0x234509,_0x4cc7e2,_0x131b77,_0x119799){const _0x3aded6=_0x43ed60,_0x1197df=new _0x24a6f0[(_0x3aded6(0x136))](this);_0x1197df['fromJSON'](_0x4cc7e2);const _0x395a09=[];let _0x11e4a3=0x0;for(const _0x4b4d59 of _0x1197df[_0x3aded6(0x33a)]){const _0x140043=this[_0x3aded6(0xbc)](_0x131b77,_0x11e4a3),_0x2e78ea=this['dataFields'][_0x4b4d59];_0x2e78ea&&(_0x2e78ea[_0x3aded6(0x309)]=_0x140043,this[_0x3aded6(0x199)](_0x140043,_0x4b4d59),_0x395a09[_0x3aded6(0x182)]({'index':_0x11e4a3,'dataField':_0x2e78ea})),_0x11e4a3++;}return this[_0x3aded6(0x16e)](_0x234509,_0x1197df,_0x131b77,_0x119799),{'collection':_0x1197df,'updateDataFieldList':_0x395a09};}[_0x43ed60(0x340)](_0xfa251f,_0x557901){const _0xc6768a=_0x43ed60;return _0xfa251f[_0xc6768a(0x215)]===_0x3f1699['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0xfa251f[_0xc6768a(0x135)],'endRow':_0x557901['getRowCount']()-0x1,'endColumn':_0xfa251f['endColumn']}:{'startRow':_0xfa251f[_0xc6768a(0x13a)],'startColumn':_0xfa251f[_0xc6768a(0x135)],'endRow':_0xfa251f[_0xc6768a(0x18b)],'endColumn':_0xfa251f['endColumn']};}[_0x43ed60(0x97)](_0x3e9175){const _0x193b8a=_0x43ed60,{sheetName:_0x8545d4,range:_0x3f0a5c}=_0x3e9175,_0xa1610d=this[_0x193b8a(0x2dc)][_0x193b8a(0x2a7)](_0x3f1699[_0x193b8a(0x139)][_0x193b8a(0xfd)]),_0x326b1a=_0xa1610d['getSheetBySheetName'](_0x8545d4),_0x242a26=_0x326b1a[_0x193b8a(0x305)](),{startColumn:_0x42380d,startRow:_0x3565f5,endColumn:_0x837b29}=this[_0x193b8a(0x340)](_0x3f0a5c,_0x326b1a),_0x240104=_0xa1610d[_0x193b8a(0x2ce)](),_0x3b2279=new _0x24a6f0[(_0x193b8a(0x136))](this);_0x3b2279[_0x193b8a(0xc1)](_0x3e9175);const _0x14cd34=[],_0x706d2e={};for(let _0x3758d8=_0x42380d;_0x3758d8<=_0x837b29;_0x3758d8++){const _0x5d36b4=_0x242a26[_0x193b8a(0x381)](_0x3565f5,_0x3758d8),_0x33f7a5=this[_0x193b8a(0xbc)](_0x3e9175,_0x3758d8),_0xbafc7e=this[_0x193b8a(0x325)](_0x33f7a5);if(_0xbafc7e)_0x3b2279[_0x193b8a(0x372)](_0xbafc7e['getId'](),_0xbafc7e[_0x193b8a(0xbe)]());else{const _0x5344d6=this[_0x193b8a(0x185)]();let _0x2bf324=this[_0x193b8a(0x147)](_0x5d36b4,_0x240104,_0x706d2e);_0x24a6f0[_0x193b8a(0x349)](_0x2bf324)&&(_0x2bf324=_0x3f1699[_0x193b8a(0x1c9)]['format'](_0x2bf324['f'],Number(_0x2bf324['v'])));const _0x217723=this['uniqueDataFieldName'](_0x2bf324,_0x3758d8),_0x51a351=new _0x24a6f0['DataField'](_0x5344d6,_0x217723,_0x24a6f0['generateHexNumber'](0x3));_0x51a351['rangeKey']=_0x33f7a5,this[_0x193b8a(0xa5)][_0x5344d6]=_0x51a351,_0x3b2279[_0x193b8a(0x372)](_0x5344d6,_0x217723),_0x14cd34[_0x193b8a(0x182)]({'index':_0x3758d8,'dataField':_0x51a351});}}return{'updateDataFieldList':_0x14cd34,'collection':_0x3b2279};}['_getAutoName'](_0x1e9199){const _0x4801f4=_0x43ed60;return this['_host'][_0x4801f4(0x1a0)]()[_0x4801f4(0xe4)]+'\x20'+_0x3f1699[_0x4801f4(0x255)](_0x1e9199);}['uniqueDataFieldName'](_0x201d63,_0x53004e){return _0x201d63==null||_0x201d63===''?this['_getAutoName'](_0x53004e):String(_0x201d63);}[_0x43ed60(0x361)](_0x4676ba){return this['collections'][_0x4676ba];}[_0x43ed60(0x16e)](_0x1d0a49,_0x55b07f,_0x52e163,_0x3defcb){const _0x5a412b=_0x43ed60;this['collections'][_0x1d0a49]=_0x55b07f,_0x55b07f[_0x5a412b(0xc1)](_0x52e163),this['_host'][_0x5a412b(0x266)]({'token':_0x1d0a49,'type':_0x55be86[_0x5a412b(0xe9)],'dataRangeInfo':_0x52e163,'targetCellInfo':_0x3defcb});}['handleMoveRange'](_0x3ca812,_0x8e203b){const _0x1ead9d=_0x43ed60,_0x26735e=this[_0x1ead9d(0x361)](_0x3ca812),_0x2d802f=_0x26735e[_0x1ead9d(0x2d8)]();let _0x561076=0x0;for(const _0x43f8ee of _0x2d802f){const _0x179c0d=_0x26735e[_0x1ead9d(0x2c7)](_0x43f8ee),_0x74382d=this[_0x1ead9d(0xbc)](_0x8e203b,_0x561076);this[_0x1ead9d(0x1f0)](_0x179c0d[_0x1ead9d(0x309)],_0x74382d),_0x561076++;}}[_0x43ed60(0x284)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x43ed60(0x2ab)](_0x23a6a1,_0x2813c9){const _0x3584ee=_0x43ed60;if(this[_0x3584ee(0x361)](_0x23a6a1)){const _0x462f53=this[_0x3584ee(0x20a)](_0x2813c9),_0x1086fe=[];for(const _0x2bf85a of _0x462f53)this[_0x3584ee(0x339)][_0x2bf85a]!==void 0x0&&_0x1086fe[_0x3584ee(0x182)](this[_0x3584ee(0x339)][_0x2bf85a]);const _0x2db6c3=this['getNoUsedDataFieldIds'](_0x23a6a1),_0x46bef5=[],_0x5f460d=new Set(_0x1086fe);for(const _0x2afa89 of _0x2db6c3)_0x5f460d[_0x3584ee(0x1d1)](_0x2afa89)||_0x46bef5[_0x3584ee(0x182)](_0x2afa89);return _0x46bef5;}}['getMatrixValue'](_0x4ae7ae,_0x20476e,_0x4b63d3,_0x177966,_0x280d7b){const _0x32a908=_0x43ed60;return _0x20476e&&_0x20476e['getValue'](_0x177966,_0x280d7b)?_0x20476e[_0x32a908(0x381)](_0x177966,_0x280d7b):_0x4b63d3&&_0x4b63d3[_0x32a908(0x381)](_0x177966,_0x280d7b)?_0x4b63d3[_0x32a908(0x381)](_0x177966,_0x280d7b):_0x4ae7ae[_0x32a908(0x381)](_0x177966,_0x280d7b);}[_0x43ed60(0xb9)](_0x499cce,_0x37f265,_0x2e4a4e,_0x45f22a){const _0x5161e3=_0x43ed60,_0xb36a39=this[_0x5161e3(0xa5)][_0x499cce];if(!_0xb36a39)return;const {subUnitId:_0x1a6910,range:_0x1bbc21,unitId:_0x342541}=_0x37f265,_0x312096=this[_0x5161e3(0x2dc)][_0x5161e3(0x35a)](_0x342541);if(!_0x312096){console[_0x5161e3(0x175)]('workbook\x20is\x20not\x20found');return;}const _0x2b2c3f=_0x312096['getSheetBySheetId'](_0x1a6910),_0x181cd6=_0x2b2c3f[_0x5161e3(0x305)](),{arrayFormulaCellDataMatrix:_0x19fa19,unitDataMatrix:_0x5788b3}=_0x45f22a||{},{startRow:_0x22b5fd,startColumn:_0xbc8665,endRow:_0x429f08}=this[_0x5161e3(0x340)](_0x1bbc21,_0x2b2c3f);_0xb36a39[_0x5161e3(0x2a5)]();const _0x4480fb=_0x312096[_0x5161e3(0x2ce)](),_0x4ca5c8={},_0x567396=this[_0x5161e3(0x38a)](_0x181cd6,_0x19fa19,_0x5788b3,_0x22b5fd,_0xbc8665+_0x2e4a4e);let _0x3edd44=this['adjustSheetCellData'](_0x567396,_0x4480fb,_0x4ca5c8);_0x24a6f0[_0x5161e3(0x349)](_0x3edd44)&&(_0x3edd44=_0x3f1699['numfmt'][_0x5161e3(0x2ac)](_0x3edd44['f'],Number(_0x3edd44['v'])));const _0x3e380d=this[_0x5161e3(0x207)](_0x3edd44,_0xbc8665+_0x2e4a4e);_0xb36a39['setName'](_0x3e380d);for(let _0x4a907b=_0x22b5fd+0x1;_0x4a907b<=_0x429f08;_0x4a907b++){const _0x4558fb=this['getMatrixValue'](_0x181cd6,_0x19fa19,_0x5788b3,_0x4a907b,_0xbc8665+_0x2e4a4e);_0xb36a39[_0x5161e3(0x260)](this[_0x5161e3(0x147)](_0x4558fb,_0x4480fb,_0x4ca5c8),_0x4a907b-0x1-_0x22b5fd);}}[_0x43ed60(0xf8)](_0x15c2fb,_0x35c2af,_0x4b600b){const _0x3e7ade=_0x43ed60,{subUnitId:_0x539637,range:_0x38c4e7,unitId:_0x4460dc}=_0x4b600b,_0x3ec7df=this[_0x3e7ade(0x2dc)][_0x3e7ade(0x35a)](_0x4460dc);if(!_0x3ec7df){console[_0x3e7ade(0x175)](_0x3e7ade(0x12d));return;}const _0x35e75b=_0x3ec7df[_0x3e7ade(0x11d)](_0x539637),_0x2c0aed=_0x35e75b[_0x3e7ade(0x305)](),{startRow:_0x2111c0,startColumn:_0x231e51,endRow:_0x21900a}=this[_0x3e7ade(0x340)](_0x38c4e7,_0x35e75b),_0x160615=_0x3ec7df[_0x3e7ade(0x2ce)](),_0x3c9f48={};for(const {dataField:_0x2499b9,index:_0x37ef19}of _0x35c2af){_0x2499b9[_0x3e7ade(0x2a5)]();const _0xe556dc=this[_0x3e7ade(0x38a)](_0x2c0aed,void 0x0,void 0x0,_0x2111c0,_0x231e51+_0x37ef19);let _0x3900ff=this[_0x3e7ade(0x147)](_0xe556dc,_0x160615,_0x3c9f48);_0x24a6f0[_0x3e7ade(0x349)](_0x3900ff)&&(_0x3900ff=_0x3f1699[_0x3e7ade(0x1c9)][_0x3e7ade(0x2ac)](_0x3900ff['f'],Number(_0x3900ff['v'])));const _0x47a66e=this['uniqueDataFieldName'](_0x3900ff,_0x231e51+_0x37ef19);_0x2499b9[_0x3e7ade(0x2b3)](_0x47a66e);}_0x15c2fb[_0x3e7ade(0xd7)]();for(let _0x15b02a=_0x2111c0+0x1;_0x15b02a<=_0x21900a;_0x15b02a++)for(const {index:_0x4353c9,dataField:_0x4ce16d}of _0x35c2af){const _0x5c41c3=_0x2c0aed['getValue'](_0x15b02a,_0x231e51+_0x4353c9);_0x4ce16d[_0x3e7ade(0x260)](this[_0x3e7ade(0x147)](_0x5c41c3,_0x160615,_0x3c9f48),_0x15b02a-0x1-_0x2111c0);}_0x15c2fb[_0x3e7ade(0x343)](_0x21900a-_0x2111c0);}[_0x43ed60(0x20a)](_0x19f8fa){const _0x36040e=_0x43ed60,{range:_0x61ea0f}=_0x19f8fa,{startColumn:_0x4c6a58,endColumn:_0x509dc5}=_0x61ea0f,_0x51015f=[];for(let _0x8b3f4b=_0x4c6a58;_0x8b3f4b<=_0x509dc5;_0x8b3f4b++)_0x51015f[_0x36040e(0x182)](this['getRangeKey'](_0x19f8fa,_0x8b3f4b));return _0x51015f;}[_0x43ed60(0x147)](_0x2b4530,_0x378f20,_0x42b79b){const _0x28fc0d=_0x43ed60;if(_0x2b4530){const {s:_0x2996b2,v:_0x2acd00,t:_0x22404c,p:_0x3be969}=_0x2b4530;if(_0x3be969)return _0x2535b1(_0x3be969);const _0x1bca41=_0x378f20[_0x28fc0d(0x33b)](_0x2996b2);if(_0x1bca41&&_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x19c)]&&_0x1bca41['n']){const {pattern:_0x1157c0}=_0x1bca41['n'];_0x42b79b[_0x1157c0]||(_0x42b79b[_0x1157c0]=_0x3f1699[_0x28fc0d(0x1c9)][_0x28fc0d(0x336)](_0x1157c0));const _0x34e625=_0x42b79b[_0x1157c0],_0x1688b9=_0x34e625['isDate'];if(_0x34e625[_0x28fc0d(0xf2)])return String(_0x2acd00);if(_0x1688b9)return{'v':_0x2acd00,'f':_0x1157c0};}if(_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x19c)])return Number(_0x2acd00);if(_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x217)]||_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x2cd)])return String(_0x2acd00);if(_0x22404c===void 0x0){const _0x6a6064=Number(_0x2acd00);if(!Number[_0x28fc0d(0x34c)](_0x6a6064)&&String(_0x6a6064)===_0x2acd00)return _0x6a6064;}return _0x2acd00!=null?_0x2acd00:null;}else return null;}[_0x43ed60(0x348)](_0x379b56){const _0x424540=_0x43ed60,{sheetName:_0x56fdda,range:_0x14dd11,unitId:_0x2190cf}=_0x379b56,_0x39f9b2=this[_0x424540(0x2dc)]['getUnit'](_0x2190cf);if(!_0x39f9b2)return console['error'](_0x424540(0x12d)),{'header':[],'data':[]};const _0x3e1eb7=_0x39f9b2[_0x424540(0xa7)](_0x56fdda),_0x396861=_0x3e1eb7[_0x424540(0x305)](),{startRow:_0x36f24e,startColumn:_0xe9e331,endRow:_0x323e25,endColumn:_0x10ee37}=this[_0x424540(0x340)](_0x14dd11,_0x3e1eb7),_0x5ee7de=_0x39f9b2[_0x424540(0x2ce)](),_0x83b06c=[],_0x18109b=[],_0x15b622={};for(let _0x52895b=_0x36f24e;_0x52895b<=_0x323e25;_0x52895b++){const _0x4d7af7=[];for(let _0x2965da=_0xe9e331;_0x2965da<=_0x10ee37;_0x2965da++){const _0x53ffcd=_0x396861[_0x424540(0x381)](_0x52895b,_0x2965da);_0x52895b===_0x36f24e?_0x83b06c[_0x424540(0x182)](_0x53ffcd==null?null:String(_0x53ffcd['v'])):_0x4d7af7['push'](this[_0x424540(0x147)](_0x53ffcd,_0x5ee7de,_0x15b622));}_0x18109b[_0x424540(0x182)](_0x4d7af7);}return{'header':_0x83b06c,'data':_0x18109b};}[_0x43ed60(0x10f)](){const _0x9b1408=_0x43ed60;return super[_0x9b1408(0x10f)]();}[_0x43ed60(0x327)](_0x14eda8){const _0x5a3263=_0x43ed60;super[_0x5a3263(0x327)](_0x14eda8),this['initDataRanges']();}[_0x43ed60(0x180)](){const _0x195035=_0x43ed60;super[_0x195035(0x180)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x542000=_0x331b7b=>{const _0x3bb1e9=_0x43ed60,{targetCellInfo:_0x281fa3}=_0x331b7b,{matrixCache:_0xec1ecb,rangesCache:_0x1f1b0d}=_0x8a4b79({'filter':_0x3bb1e9(0x385),'row':'Row','column':_0x3bb1e9(0x14b),'values':_0x3bb1e9(0x2bd)},_0x281fa3),_0x3944f4=new _0x3f1699['ObjectMatrix']();return _0xec1ecb[_0x3bb1e9(0x36d)]((_0x54d2d4,_0x4c04a1,_0x8ddd11)=>{_0x3944f4['setValue'](_0x54d2d4,_0x4c04a1,_0x8ddd11);}),{'matrix':_0x3944f4,'rangesCache':_0x1f1b0d};},_0x48c8c1=_0x28d04f=>{const _0x5818c8=_0x43ed60;let _0xb79714;if(_0x28d04f!=null&&_0x28d04f['v']||(_0x28d04f==null?void 0x0:_0x28d04f['v'])===0x0){_0xb79714||(_0xb79714={});const _0x56bb4c=_0x5cb347(_0x28d04f['v']);typeof _0x56bb4c==_0x5818c8(0x209)?_0xb79714['t']=_0x3f1699[_0x5818c8(0x130)][_0x5818c8(0x19c)]:typeof _0x56bb4c=='string'&&(_0xb79714['t']=_0x3f1699['CellValueType']['STRING']),_0xb79714['v']=_0x56bb4c;}return _0xb79714;},_0xd9e50e=(_0x43e97c,_0x50f80d,_0x219b45)=>{const _0xa15031=_0x43ed60;var _0xcb0351,_0x4eec10,_0x1a5c80,_0x50efdc,_0x22f6dd,_0x5b0218,_0x44ec73,_0x4481cb,_0x3b36bd,_0x25dc52,_0x395015,_0x90d9d3;const {cornerView:_0x91279e,rowView:_0x5f132c,colView:_0x325a14,dataView:_0x1fc2f1,pageView:_0x7f51f3,formatMap:_0x4b05ef}=_0x43e97c,{row:_0x42ccc2,col:_0x375638}=_0x50f80d,_0x497afb=new _0x3f1699[(_0xa15031(0x2cb))]();let _0x93dbdc=_0x42ccc2,_0x5ee363=_0x375638;Object[_0xa15031(0x375)](_0x7f51f3['data'])['forEach'](_0x297d83=>{const _0x1daa75=_0xa15031;Object[_0x1daa75(0x375)](_0x7f51f3[_0x1daa75(0x187)][Number(_0x297d83)])[_0x1daa75(0x2f8)](_0xf4555b=>{const _0x328a14=_0x1daa75,_0x53a43a={..._0x7f51f3[_0x328a14(0x187)][Number(_0x297d83)][Number(_0xf4555b)]};_0x497afb[_0x328a14(0x297)](Number(_0x297d83)+_0x93dbdc,Number(_0xf4555b)+_0x5ee363,_0x48c8c1(_0x53a43a));});});const _0x4c0a89=Object['keys'](_0x7f51f3[_0xa15031(0x187)])['length'];_0x93dbdc+=_0x4c0a89+(_0x4c0a89?_0x4cd667:0x0);const _0x27423f=_0x91279e[_0xa15031(0x2b0)](),_0xdadc17=_0x91279e['getColCount']();for(let _0x1ca463=0x0;_0x1ca463<_0x27423f;_0x1ca463++)for(let _0x52fdc6=0x0;_0x52fdc6<_0xdadc17;_0x52fdc6++){const _0xf23ff8={...(_0x4eec10=(_0xcb0351=_0x91279e[_0xa15031(0x187)])==null?void 0x0:_0xcb0351[_0x1ca463])==null?void 0x0:_0x4eec10[_0x52fdc6]};_0xf23ff8&&((_0x1a5c80=_0x5f132c['headerMap'][_0x52fdc6])!=null&&_0x1a5c80[_0xa15031(0x302)])&&_0x52fdc6===_0xdadc17-0x1&&_0x1ca463===_0x27423f-0x1&&(_0xf23ff8['v']=''+_0x219b45['sheets-pivot.value']),_0x497afb['setValue'](_0x1ca463+_0x93dbdc,_0x52fdc6+_0x5ee363,_0x48c8c1(_0xf23ff8));}_0x5ee363+=_0xdadc17;const _0x221818=_0x325a14[_0xa15031(0xe2)],_0x4da138=_0x325a14['getLastRow']()>=0x0?_0x325a14[_0xa15031(0x116)]()+0x1:0x0,_0x41da62=_0x325a14[_0xa15031(0x157)]()>=0x0?_0x325a14[_0xa15031(0x157)]()+0x1:0x0;for(let _0x4ab71f=0x0;_0x4ab71f<_0x41da62;_0x4ab71f++)for(let _0x46b92c=0x0;_0x46b92c<_0x4da138;_0x46b92c++){const _0x3ddb3c={...(_0x22f6dd=(_0x50efdc=_0x325a14[_0xa15031(0x187)])==null?void 0x0:_0x50efdc[_0x4ab71f])==null?void 0x0:_0x22f6dd[_0x46b92c]},_0x3c45d5=(_0x5b0218=_0x221818[_0x4ab71f])==null?void 0x0:_0x5b0218[_0xa15031(0x2e5)],_0xfba303=_0x4b05ef[_0x3c45d5];_0x3ddb3c&&(_0x3ddb3c['v']=_0x2a897d(_0x3ddb3c,_0x4ab71f===0x0&&((_0x44ec73=_0x325a14[_0xa15031(0xe1)](_0x46b92c+0x1))==null?void 0x0:_0x44ec73[_0xa15031(0x302)]),_0xfba303,_0x219b45)),_0x497afb[_0xa15031(0x297)](_0x4ab71f+_0x93dbdc,_0x46b92c+_0x5ee363,_0x48c8c1(_0x3ddb3c));}_0x93dbdc+=_0x27423f;const _0x47250a=_0x5f132c['headerMap'],_0x113317=_0x5f132c[_0xa15031(0x116)]()>=0x0?_0x5f132c[_0xa15031(0x116)]()+0x1:0x0,_0x44a798=_0x5f132c[_0xa15031(0x157)]()>=0x0?_0x5f132c[_0xa15031(0x157)]()+0x1:0x0;for(let _0x44434f=0x0;_0x44434f<_0x113317;_0x44434f++)for(let _0x5a72c3=0x0;_0x5a72c3<_0x44a798;_0x5a72c3++){const _0x2a6025={...(_0x3b36bd=(_0x4481cb=_0x5f132c[_0xa15031(0x187)])==null?void 0x0:_0x4481cb[_0x44434f])==null?void 0x0:_0x3b36bd[_0x5a72c3]},_0x34117f=(_0x25dc52=_0x47250a[_0x5a72c3])==null?void 0x0:_0x25dc52[_0xa15031(0x2e5)],_0x482785=_0x4b05ef[_0x34117f];_0x2a6025&&(_0x2a6025['v']=_0x2a897d(_0x2a6025,!0x1,_0x482785,_0x219b45)),_0x497afb[_0xa15031(0x297)](_0x44434f+_0x93dbdc,_0x5a72c3+_0x375638,_0x48c8c1(_0x2a6025));}const _0x44ab86=_0x1fc2f1[_0xa15031(0x2b0)](),_0x44d5e0=_0x1fc2f1[_0xa15031(0x12b)]();for(let _0x5b9b9f=0x0;_0x5b9b9f<_0x44ab86;_0x5b9b9f++)for(let _0x51690f=0x0;_0x51690f<_0x44d5e0;_0x51690f++){const _0x48d0ef={...(_0x90d9d3=(_0x395015=_0x1fc2f1[_0xa15031(0x187)])==null?void 0x0:_0x395015[_0x5b9b9f])==null?void 0x0:_0x90d9d3[_0x51690f]};_0x497afb[_0xa15031(0x297)](_0x5b9b9f+_0x93dbdc,_0x51690f+_0x5ee363,_0x48c8c1(_0x48d0ef));}return _0x497afb;},_0x2375c2=_0x306ce1=>{const _0x3e0633=_0x43ed60,{view:_0x27d976,targetCellInfo:_0x16a799,isEmpty:_0x2fcd50,textInfo:_0x5ee143}=_0x306ce1;if(_0x2fcd50)return _0x542000(_0x306ce1);const {pageView:_0x465a8c,cornerView:_0x32131d,rowView:_0x4220c5,colView:_0x401075,dataView:_0x404069}=_0x27d976,_0x163e2c=_0x3688e4(_0x16a799,_0x465a8c,!0x0),_0x693275=_0x465a8c['lastRow']>=0x0?_0x465a8c[_0x3e0633(0x121)]+0x1:0x0,_0x58a776=_0x32131d['getRowCount'](),_0x20402f=_0x32131d[_0x3e0633(0x12b)](),_0x5b7ac3=_0x163e2c['length']>0x0?_0x4cd667:0x0,_0x3a32bb=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3,'col':_0x16a799[_0x3e0633(0x14c)]},_0x32131d,!0x1,!0x1),_0x3034f1=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3+_0x58a776,'col':_0x16a799[_0x3e0633(0x14c)]},_0x4220c5,!0x1,!0x0),_0x1f59c6=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3,'col':_0x16a799[_0x3e0633(0x14c)]+_0x20402f},_0x401075,!0x1,!0x0),_0x2dbd67=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3+_0x58a776,'col':_0x16a799[_0x3e0633(0x14c)]+_0x20402f},_0x404069,!0x1,!0x1),_0x395e88={'rowRanges':_0x3034f1,'colRanges':_0x1f59c6,'cornerRanges':_0x3a32bb,'dataRanges':_0x2dbd67,'pageRanges':_0x163e2c};return{'matrix':_0xd9e50e(_0x27d976,_0x16a799,_0x5ee143),'rangesCache':_0x395e88};};var _0x518cd8=Object[_0x43ed60(0x269)],_0x5d57aa=(_0x41e94e,_0x252da8,_0x56a9f8,_0x39fce5)=>{for(var _0x23b13f=_0x39fce5>0x1?void 0x0:_0x39fce5?_0x518cd8(_0x252da8,_0x56a9f8):_0x252da8,_0x563b14=_0x41e94e['length']-0x1,_0x59e4b9;_0x563b14>=0x0;_0x563b14--)(_0x59e4b9=_0x41e94e[_0x563b14])&&(_0x23b13f=_0x59e4b9(_0x23b13f)||_0x23b13f);return _0x23b13f;},_0x4963f7=(_0x459a47,_0x1d9d5e)=>(_0x2cbb25,_0x983cb5)=>_0x1d9d5e(_0x2cbb25,_0x983cb5,_0x459a47);_0x89a8ec['SheetsPivotDataSourceModel']=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x307875,_0xb83a6f,_0x586a23,_0x4697ef,_0x24439f,_0x1be0f1){const _0x3be3c8=_0x43ed60;super(),_0x575f06(this,_0x3be3c8(0x268),new Map()),_0x575f06(this,_0x3be3c8(0x3a8),new Map()),_0x575f06(this,_0x3be3c8(0x34b),new Map()),_0x575f06(this,'_textInfo'),_0x575f06(this,_0x3be3c8(0x218),new _0x28d43e[(_0x3be3c8(0x1ee))]()),_0x575f06(this,'collectionChange$',this['_collectionChange$'][_0x3be3c8(0xfc)]()),_0x575f06(this,_0x3be3c8(0x285),new _0x28d43e[(_0x3be3c8(0x1ee))]()),_0x575f06(this,_0x3be3c8(0x9a),this[_0x3be3c8(0x285)][_0x3be3c8(0xfc)]()),_0x575f06(this,'_fieldsCollectionChange$',new _0x28d43e['Subject']()),_0x575f06(this,_0x3be3c8(0x387),this[_0x3be3c8(0x38d)][_0x3be3c8(0xfc)]()),_0x575f06(this,_0x3be3c8(0x1b6),new Map()),_0x575f06(this,_0x3be3c8(0xb5),[]),_0x575f06(this,_0x3be3c8(0x146),new Map()),(this[_0x3be3c8(0x2f1)]=_0x307875,this[_0x3be3c8(0x2dc)]=_0xb83a6f,this['_lifecycleService']=_0x586a23,this[_0x3be3c8(0x359)]=_0x4697ef,this[_0x3be3c8(0x399)]=_0x24439f,this[_0x3be3c8(0xe7)]=_0x1be0f1,this[_0x3be3c8(0x216)]());}[_0x43ed60(0x1a0)](){const _0x10f855=_0x43ed60;return this[_0x10f855(0x134)]?this['_textInfo']:_0x5de561;}['setTextInfo'](_0x5bed69){this['_textInfo']=_0x5bed69;}['handleMoveRange'](_0x2c57b9){const _0x32a25e=_0x43ed60;var _0x26ffa2;const {from:_0x46f90a,to:_0x930014,unitId:_0x245d9f,fromRange:_0x1dfb31,toRange:_0x521e39}=_0x2c57b9;if(_0x46f90a&&_0x930014){const _0x12ec2b=this[_0x32a25e(0x1b1)](_0x245d9f),_0x48cfbc=this[_0x32a25e(0x268)][_0x32a25e(0x33b)](_0x245d9f),_0x23bfab=(_0x26ffa2=this[_0x32a25e(0x2dc)]['getUnit'](_0x245d9f))==null?void 0x0:_0x26ffa2[_0x32a25e(0x11d)](_0x930014['subUnitId']);if(!_0x48cfbc||!_0x23bfab)return;const _0x1caf85=_0x23bfab==null?void 0x0:_0x23bfab['getName']();for(const [_0x61a2f9,_0x374b07]of _0x48cfbc[_0x32a25e(0x169)]())for(const [_0x2026ac,_0x50e98f]of _0x374b07[_0x32a25e(0x169)]()){const {sourceRangeInfo:_0x3dd4f6}=_0x50e98f;if(_0x3dd4f6[_0x32a25e(0x210)]===_0x245d9f&&_0x3dd4f6[_0x32a25e(0x15a)]===_0x46f90a[_0x32a25e(0x15a)]&&_0x3f1699[_0x32a25e(0x36b)]['contains'](_0x1dfb31,_0x3dd4f6[_0x32a25e(0x24d)])){const _0x59b74a={'row':_0x3dd4f6['range'][_0x32a25e(0x13a)]-_0x1dfb31['startRow'],'col':_0x3dd4f6['range']['startColumn']-_0x1dfb31['startColumn']},_0x324396={'unitId':_0x245d9f,'subUnitId':_0x930014[_0x32a25e(0x15a)],'sheetName':_0x1caf85,'range':{'startRow':_0x521e39['startRow']+_0x59b74a[_0x32a25e(0x329)],'endRow':_0x521e39['startRow']+_0x59b74a[_0x32a25e(0x329)]+_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x18b)]-_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x13a)],'startColumn':_0x521e39[_0x32a25e(0x135)]+_0x59b74a[_0x32a25e(0x14c)],'endColumn':_0x521e39[_0x32a25e(0x135)]+_0x59b74a[_0x32a25e(0x14c)]+_0x3dd4f6[_0x32a25e(0x24d)]['endColumn']-_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x135)]}};_0x12ec2b[_0x32a25e(0x310)](_0x2026ac,_0x324396);const _0x1d876a={..._0x50e98f,'sourceRangeInfo':_0x324396};this[_0x32a25e(0x173)](_0x245d9f,_0x930014[_0x32a25e(0x15a)],_0x2026ac,_0x1d876a),this[_0x32a25e(0x266)]({'unitId':_0x245d9f,'token':_0x2026ac,'type':_0x55be86[_0x32a25e(0x31c)],'oldSourceRangeInfo':_0x3dd4f6,'dataRangeInfo':_0x324396,'targetCellInfo':_0x50e98f[_0x32a25e(0x3a4)]}),this[_0x32a25e(0x1c1)]({'unitId':_0x245d9f,'subUnitId':_0x930014[_0x32a25e(0x15a)],'oldSubUnitId':_0x61a2f9,'pivotTableId':_0x2026ac,'pivotTableConfig':_0x1d876a,'collectionConfig':_0x12ec2b[_0x32a25e(0x10f)]()});}}}}[_0x43ed60(0x266)](_0x146fe7){const _0x5bc17e=_0x43ed60;this[_0x5bc17e(0x218)][_0x5bc17e(0x2c4)](_0x146fe7);}[_0x43ed60(0x1b1)](_0x2d42f7){const _0x2f2cb2=_0x43ed60;let _0xca5dd0=this[_0x2f2cb2(0x1b6)][_0x2f2cb2(0x33b)](_0x2d42f7);return _0xca5dd0||(_0xca5dd0=new _0x51fae1(this,this[_0x2f2cb2(0x2dc)]),this['_dataFieldManagerCollection']['set'](_0x2d42f7,_0xca5dd0)),_0xca5dd0;}['getCollection'](_0x4311b8,_0x4baad4){const _0x33c546=_0x43ed60;return this[_0x33c546(0x1b1)](_0x4311b8)[_0x33c546(0x379)][_0x4baad4];}['getUpdateRangeDeleteIds'](_0x162955,_0x556406,_0xefcb24){const _0x143f95=_0x43ed60;return this[_0x143f95(0x1b1)](_0x162955)[_0x143f95(0x2ab)](_0x556406,_0xefcb24);}['_ensurePivotMap'](_0x255ecb,_0x32bc77){const _0x19d555=_0x43ed60;let _0x180b2a=this[_0x19d555(0x268)]['get'](_0x255ecb);_0x180b2a||(_0x180b2a=new Map(),this['_model'][_0x19d555(0x273)](_0x255ecb,_0x180b2a));let _0x187bf8=_0x180b2a[_0x19d555(0x33b)](_0x32bc77);return _0x187bf8||(_0x187bf8=new Map(),_0x180b2a[_0x19d555(0x273)](_0x32bc77,_0x187bf8)),_0x187bf8;}[_0x43ed60(0x173)](_0x2e4f9b,_0xf43f7c,_0x3aff36,_0x329782){const _0x13ef79=_0x43ed60;this[_0x13ef79(0x31e)](_0x2e4f9b,_0xf43f7c)[_0x13ef79(0x273)](_0x3aff36,_0x329782);}[_0x43ed60(0xa4)](_0xeb4d41,_0xfcb602,_0x51392a){const _0x15790f=_0x43ed60;var _0x213c4b,_0xee4af0,_0x2a0a8e,_0xe8dc46;((_0xee4af0=(_0x213c4b=this[_0x15790f(0x268)]['get'](_0xeb4d41))==null?void 0x0:_0x213c4b[_0x15790f(0x33b)](_0xfcb602))==null?void 0x0:_0xee4af0['get'](_0x51392a))&&((_0xe8dc46=(_0x2a0a8e=this[_0x15790f(0x268)][_0x15790f(0x33b)](_0xeb4d41))==null?void 0x0:_0x2a0a8e[_0x15790f(0x33b)](_0xfcb602))==null||_0xe8dc46[_0x15790f(0x21c)](_0x51392a));}[_0x43ed60(0x201)](_0x48613e,_0x3440d7){this['_pivotTableInstanceCache']['set'](_0x48613e,_0x3440d7);}['_deletePivotTableInstanceCache'](_0x3af9fe){const _0x96d1dc=_0x43ed60;this[_0x96d1dc(0x3a8)]['delete'](_0x3af9fe);}[_0x43ed60(0x26e)](_0x33a4db,_0x17a17f){const _0x32e44d=_0x43ed60;let _0xbbbb94=this[_0x32e44d(0x34b)][_0x32e44d(0x33b)](_0x33a4db);_0xbbbb94||(_0xbbbb94=new Map(),this[_0x32e44d(0x34b)][_0x32e44d(0x273)](_0x33a4db,_0xbbbb94));let _0x3c7d8d=_0xbbbb94[_0x32e44d(0x33b)](_0x17a17f);return _0x3c7d8d||(_0x3c7d8d=new Map(),_0xbbbb94['set'](_0x17a17f,_0x3c7d8d)),_0x3c7d8d;}['updateConfig'](_0x148daf){const _0x5d9338=_0x43ed60,{unitId:_0x537db5,subUnitId:_0x354078,pivotTableId:_0x1ae312,pivotTableConfig:_0x5d95ed,collectionConfig:_0x12dd1e}=_0x148daf,_0x2b4441={'unitId':_0x537db5,'subUnitId':_0x354078,'oldSubUnitId':_0x354078,'pivotTableId':_0x1ae312,'pivotTableConfig':_0x5d95ed,'collectionConfig':_0x12dd1e};this[_0x5d9338(0x399)][_0x5d9338(0x294)](_0x3ffdcd['id'],_0x2b4441,{'onlyLocal':!0x0});}[_0x43ed60(0x259)](_0x5427a7,_0x5e7c0d,_0x54e30b,_0x2e3156,_0x33d9ce,_0x20ca5c,_0x249e65,_0xc868a0=!0x1){const _0x3b5cab=_0x43ed60;var _0xf97b86;this[_0x3b5cab(0x399)][_0x3b5cab(0x294)](_0x4c5ebb['id'],{'single':{'unitId':_0x5427a7,'subUnitId':_0x5e7c0d,'type':_0x54e30b,'pivotTableId':_0x2e3156,'view':_0x33d9ce,'pivotConfig':_0x20ca5c},'collectionConfig':{[_0x5427a7]:_0x249e65}},{'onlyLocal':!0x0});const _0x45d350=!!((_0xf97b86=this['getPivotTableInstance'](_0x2e3156))!=null&&_0xf97b86['isEmpty']()),_0x3b3fa2=this['getPivotTableConfig'](_0x5427a7,_0x5e7c0d,_0x2e3156);_0x3b3fa2&&this[_0x3b5cab(0x258)]({'view':_0x33d9ce,'pivotTableId':_0x2e3156,'textInfo':this[_0x3b5cab(0x1a0)](),'isEmpty':_0x45d350,'targetCellInfo':_0x3b3fa2[_0x3b5cab(0x3a4)]},_0xc868a0);}[_0x43ed60(0x258)](_0x28c0db,_0xa62dbb){const _0x2b5c2d=_0x43ed60,{targetCellInfo:_0x4ceb34,pivotTableId:_0x33b437}=_0x28c0db,{unitId:_0x51f11e,subUnitId:_0x289ef0}=_0x4ceb34,_0x4449f0=this[_0x2b5c2d(0x26e)](_0x51f11e,_0x289ef0),_0x20be22=_0x4449f0[_0x2b5c2d(0x33b)](_0x33b437);let _0x4b9049,_0x989955;_0x20be22&&(_0x4b9049=_0x20be22[_0x2b5c2d(0x1f6)],_0x989955=_0x20be22[_0x2b5c2d(0x288)]);const {rangesCache:_0x17e0f7,matrix:_0xa8b8a3}=_0x2375c2(_0x28c0db);_0x4449f0[_0x2b5c2d(0x273)](_0x33b437,{'rangeCache':_0x17e0f7,'matrix':_0xa8b8a3,'oldMatrix':_0x989955,'oldRangeCache':_0x4b9049}),_0xa62dbb||this['_viewData$']['next']({'unitId':_0x51f11e,'subUnitId':_0x289ef0,'pivotTableId':_0x33b437});}['addPivotTable'](_0x34da63,_0x4de613,_0x3de97c,_0x70c33d,_0x390a2e){const _0x1c1828=_0x43ed60;this[_0x1c1828(0x173)](_0x34da63,_0x4de613,_0x3de97c,_0x390a2e),this[_0x1c1828(0x201)](_0x3de97c,_0x70c33d);}['removePivotTable'](_0x264ca8,_0x11c7bc,_0x35cbf3){const _0x2b2a61=_0x43ed60,_0x4d3259=this[_0x2b2a61(0x1b1)](_0x264ca8);_0x4d3259['getNoUsedDataFieldIds'](_0x35cbf3)[_0x2b2a61(0x2f8)](_0x2777eb=>{const _0xcfe7fb=_0x2b2a61;_0x4d3259[_0xcfe7fb(0x37d)](_0x2777eb);}),this['removeCollections'](_0x264ca8,_0x35cbf3),this[_0x2b2a61(0xa4)](_0x264ca8,_0x11c7bc,_0x35cbf3),this[_0x2b2a61(0xd1)](_0x35cbf3);}[_0x43ed60(0x2d0)](_0x1058e8,_0x1628e8,_0x1d2f19,_0x325273){this['_updateModelCache'](_0x1058e8,_0x1628e8,_0x1d2f19,_0x325273);}[_0x43ed60(0x275)](_0x291d31,_0x22b88e,_0x36a35b){const _0x5c939f=_0x43ed60;var _0x2fa937,_0x2874d6;const _0x1cf87a=(_0x2874d6=(_0x2fa937=this[_0x5c939f(0x268)]['get'](_0x291d31))==null?void 0x0:_0x2fa937[_0x5c939f(0x33b)](_0x22b88e))==null?void 0x0:_0x2874d6['get'](_0x36a35b);if(_0x1cf87a)return _0x1cf87a;}[_0x43ed60(0x26c)](_0x29960c,_0x1beb4e,_0x521318){const _0xd6c945=_0x43ed60;var _0x345dab,_0x120e2a;const _0x22be05=(_0x120e2a=(_0x345dab=this[_0xd6c945(0x268)]['get'](_0x29960c))==null?void 0x0:_0x345dab[_0xd6c945(0x33b)](_0x1beb4e))==null?void 0x0:_0x120e2a['get'](_0x521318);if(_0x22be05)return _0x22be05['fieldsConfig'];}['getPivotTableInstance'](_0x557873){const _0xcbf850=_0x43ed60;return this[_0xcbf850(0x3a8)][_0xcbf850(0x33b)](_0x557873);}['deleteUnitId'](_0x565846){const _0x2d80d4=_0x43ed60;this[_0x2d80d4(0x268)]['delete'](_0x565846);const _0x51eef6=this['_dataFieldManagerCollection'][_0x2d80d4(0x33b)](_0x565846);_0x51eef6&&(_0x51eef6[_0x2d80d4(0x180)](),this[_0x2d80d4(0x1b6)][_0x2d80d4(0x21c)](_0x565846)),this[_0x2d80d4(0x34b)][_0x2d80d4(0x21c)](_0x565846),this[_0x2d80d4(0xb5)][_0x2d80d4(0x2f8)](_0x34bf7b=>{_0x34bf7b['deleteUnitId'](_0x565846);});}[_0x43ed60(0x1c3)](_0x858d3f,_0xf2690f,_0x31a857,_0x5ce8a7){const _0x48c7df=_0x43ed60;return this[_0x48c7df(0x1b1)](_0x31a857[_0x48c7df(0x210)])[_0x48c7df(0x1c3)](_0x858d3f,_0xf2690f,_0x31a857,_0x5ce8a7);}[_0x43ed60(0x97)](_0x13d7d0){const _0x18f177=_0x43ed60;return this[_0x18f177(0x1b1)](_0x13d7d0[_0x18f177(0x210)])['createCollectionWithDataRange'](_0x13d7d0);}[_0x43ed60(0xf8)](_0x4d65f5,_0xd639b1,_0x28c910){const _0x18f3e2=_0x43ed60;this['getDataFieldManager'](_0x28c910[_0x18f3e2(0x210)])['refreshData'](_0x4d65f5,_0xd639b1,_0x28c910);}[_0x43ed60(0x2c6)](_0x26cb86,_0x2eee0a){const _0x564f8f=_0x43ed60;this[_0x564f8f(0x1b1)](_0x26cb86)[_0x564f8f(0x37d)](_0x2eee0a);}[_0x43ed60(0x178)](_0x241264,_0x4fc60){const _0x490dfb=_0x43ed60;this[_0x490dfb(0x1b1)](_0x241264)[_0x490dfb(0x1ba)](_0x4fc60);}[_0x43ed60(0x39b)](_0x2bc0d4,_0xb9739a){const _0x2fef80=_0x43ed60;var _0x342096;return(_0x342096=this[_0x2fef80(0x268)]['get'](_0x2bc0d4))==null?void 0x0:_0x342096[_0x2fef80(0x33b)](_0xb9739a);}[_0x43ed60(0x367)](_0x261ae3){const _0x2177f5=_0x43ed60;for(const [_0x368ea5,_0x19a120]of this[_0x2177f5(0x268)][_0x2177f5(0x169)]())for(const [_0x444d65,_0x5aa0ee]of _0x19a120['entries']())if(_0x5aa0ee[_0x2177f5(0x1d1)](_0x261ae3))return{'unitId':_0x368ea5,'subUnitId':_0x444d65};return null;}[_0x43ed60(0x17e)](_0x486a97,_0x5b00ec,_0x579fa0,_0x97101f){const _0x408997=_0x43ed60,_0x2b5ef5=this['_ensureViewDataMap'](_0x486a97,_0x5b00ec);_0x97101f?_0x2b5ef5[_0x408997(0x273)](_0x579fa0,_0x97101f):_0x2b5ef5['delete'](_0x579fa0),this[_0x408997(0x285)]['next']({'unitId':_0x486a97,'subUnitId':_0x5b00ec,'pivotTableId':_0x579fa0});}[_0x43ed60(0x180)](){const _0x55524e=_0x43ed60;super[_0x55524e(0x180)]();}[_0x43ed60(0x18d)](_0x346802,_0x1003b6,_0x53b7e9){const _0x3d4ad8=_0x43ed60;var _0x23f5a9,_0x45f7b1;const _0x5623de=(_0x45f7b1=(_0x23f5a9=this['_viewData'][_0x3d4ad8(0x33b)](_0x346802))==null?void 0x0:_0x23f5a9[_0x3d4ad8(0x33b)](_0x1003b6))==null?void 0x0:_0x45f7b1[_0x3d4ad8(0x33b)](_0x53b7e9);return _0x5623de||null;}[_0x43ed60(0x232)](_0x471a0d){const _0x59630a=_0x43ed60;this[_0x59630a(0x102)](_0x471a0d);}[_0x43ed60(0x102)](_0x570303){const _0x29dda1=_0x43ed60,{token:_0x2fa039,unitId:_0x294c2c,subUnitId:_0x1347c0}=_0x570303,_0xf4aba3=_0x294c2c+'-'+_0x1347c0+'-'+_0x2fa039;this[_0x29dda1(0x146)][_0x29dda1(0x33b)](_0xf4aba3)&&clearTimeout(this[_0x29dda1(0x146)][_0x29dda1(0x33b)](_0xf4aba3));const _0x23334b=setTimeout(()=>{const _0x4e4549=_0x29dda1;this[_0x4e4549(0x337)](_0x570303),this[_0x4e4549(0x146)][_0x4e4549(0x21c)](_0xf4aba3);},_0x46d021);this[_0x29dda1(0x146)]['set'](_0xf4aba3,_0x23334b);}[_0x43ed60(0x337)](_0x3b4747){const _0x3e76a6=_0x43ed60,{unitId:_0x43838f,subUnitId:_0xab0720,token:_0x1d6a44,type:_0x5b3743,pivotConfig:_0x332d24}=_0x3b4747,_0x19490e=this['getPivotTableInstance'](_0x1d6a44),_0x57be8c=_0x19490e==null?void 0x0:_0x19490e[_0x3e76a6(0x264)](),_0x456ffe=_0x332d24!=null?_0x332d24:this[_0x3e76a6(0x275)](_0x43838f,_0xab0720,_0x1d6a44);_0x456ffe&&(_0x456ffe[_0x3e76a6(0x35c)]=!!(_0x19490e!=null&&_0x19490e[_0x3e76a6(0x35c)]())),(_0x57be8c||_0x5b3743===_0x1870de[_0x3e76a6(0x39e)])&&this['updateView'](_0x43838f,_0xab0720,_0x5b3743,_0x1d6a44,_0x57be8c,_0x456ffe,this[_0x3e76a6(0x1b1)](_0x43838f)[_0x3e76a6(0x10f)]());}[_0x43ed60(0x10f)](_0x3172fe){const _0x351e34=_0x43ed60,_0x243295={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3172fe)&&(_0x243295[_0x351e34(0x1f4)][_0x3172fe]=this[_0x351e34(0x1b1)](_0x3172fe)[_0x351e34(0x10f)]()),this[_0x351e34(0x268)][_0x351e34(0x33b)](_0x3172fe)){_0x243295[_0x351e34(0x193)][_0x3172fe]={};const _0x237417=this[_0x351e34(0x268)][_0x351e34(0x33b)](_0x3172fe);_0x237417!=null&&_0x237417[_0x351e34(0x1e8)]&&[..._0x237417[_0x351e34(0x375)]()][_0x351e34(0x2f8)](_0x1403b2=>{const _0x219582=_0x351e34,_0x3ec604=_0x237417[_0x219582(0x33b)](_0x1403b2);_0x3ec604!=null&&_0x3ec604['size']&&(_0x243295[_0x219582(0x193)][_0x3172fe][_0x1403b2]={},[..._0x3ec604[_0x219582(0x375)]()][_0x219582(0x2f8)](_0x2d79b4=>{const _0x8aacc4=_0x219582,_0x5b03b7=_0x3ec604[_0x8aacc4(0x33b)](_0x2d79b4);_0x5b03b7&&(_0x243295[_0x8aacc4(0x193)][_0x3172fe][_0x1403b2][_0x2d79b4]=_0x5b03b7);}));});}return _0x243295;}[_0x43ed60(0x327)](_0x5bd237){const _0x2f6463=_0x43ed60;var _0x213e76;const {dataFieldManagerConfig:_0x276fc3,pivotTableConfigs:_0x30c24d}=_0x5bd237;_0x276fc3&&Object[_0x2f6463(0x375)](_0x276fc3)[_0x2f6463(0x2f8)](_0x5ac74b=>{const _0x522ed5=_0x2f6463;this[_0x522ed5(0x1b1)](_0x5ac74b)[_0x522ed5(0x327)](_0x276fc3[_0x5ac74b]);});const _0x29b70d=[];if(_0x30c24d){const _0x4ec336=(_0x213e76=this[_0x2f6463(0x2f1)]['get'](_0x3f1699[_0x2f6463(0x23e)])[_0x2f6463(0x30f)](_0x48414d['LS_CONFIG_KEY']))!=null?_0x213e76:{},{ls:_0x5aaa48,pbk:_0x4cf135}=_0x4ec336,_0x2baf67=_0xa1005d(_0x53ba46,_0x5aaa48,_0x4cf135)[_0x2f6463(0x28f)];Object[_0x2f6463(0x375)](_0x30c24d)['forEach'](_0x3bc901=>{const _0x3b1d10=_0x2f6463;let _0x2ae16a=0x0;const _0x23a439=_0x30c24d[_0x3bc901];Object[_0x3b1d10(0x375)](_0x23a439)[_0x3b1d10(0x2f8)](_0x211094=>{const _0xb4919=_0x3b1d10,_0x3d96e6=_0x23a439[_0x211094];Object[_0xb4919(0x375)](_0x3d96e6)['forEach'](_0x2dac5f=>{const _0x5662af=_0xb4919,_0x540aa9=_0x3d96e6[_0x2dac5f];if(_0x540aa9){if(_0x2ae16a>=_0x2baf67)return;_0x2ae16a++;const _0x29e259=this[_0x5662af(0x1b1)](_0x3bc901),_0x1ae20f=_0x29e259[_0x5662af(0x379)][_0x2dac5f],_0x352758=_0x1ae20f[_0x5662af(0x2d8)]();let _0x517ea1=0x0;const _0x345e8d=[];for(const _0x5d8eab of _0x352758){const _0x4feec9=_0x1ae20f['getFieldById'](_0x5d8eab);if(_0x24a6f0[_0x5662af(0x156)](_0x4feec9)){const _0x3be279=_0x4feec9[_0x5662af(0x211)](),_0x45ff6a=_0x1ae20f['getFieldById'](_0x3be279);_0x45ff6a&&_0x345e8d[_0x5662af(0x182)]([_0x4feec9,_0x45ff6a]);continue;}_0x29e259['refreshDataField'](_0x5d8eab,_0x540aa9[_0x5662af(0x1af)],_0x517ea1),_0x517ea1++;}_0x345e8d['forEach'](([_0x48300f,_0x54f685])=>{const _0x2b5e72=_0x5662af;_0x48300f[_0x2b5e72(0x151)](_0x54f685);});const _0x572ba9=new _0x24a6f0[(_0x5662af(0x308))](_0x1ae20f);_0x572ba9[_0x5662af(0x327)](_0x540aa9[_0x5662af(0x1d8)]),this[_0x5662af(0x2b2)](_0x3bc901,_0x211094,_0x2dac5f,_0x572ba9,_0x540aa9);const _0x566a75=_0x572ba9[_0x5662af(0x264)]();_0x29b70d[_0x5662af(0x182)]({'unitId':_0x3bc901,'subUnitId':_0x211094,'pivotTableId':_0x2dac5f,'view':_0x566a75[_0x5662af(0x10f)](),'pivotConfig':_0x540aa9,'type':_0x1870de[_0x5662af(0x11b)]});const _0x55b331=!!_0x572ba9[_0x5662af(0x35c)](),_0x710222={'view':_0x566a75,'pivotTableId':_0x2dac5f,'textInfo':this['getTextInfo'](),'isEmpty':_0x55b331,'targetCellInfo':_0x540aa9[_0x5662af(0x3a4)]};this[_0x5662af(0x258)](_0x710222,!0x1);}});});});}_0x276fc3&&Object[_0x2f6463(0x375)](_0x276fc3)['forEach'](_0x1d6a92=>{const _0x303ab7=_0x2f6463,_0x408f86=this[_0x303ab7(0x1b1)](_0x1d6a92);this[_0x303ab7(0x38d)]['next'](_0x408f86[_0x303ab7(0x379)]);}),this[_0x2f6463(0x399)][_0x2f6463(0x294)](_0x4c5ebb['id'],{'batch':_0x29b70d,'collectionConfig':_0x276fc3},{'onlyLocal':!0x0});}[_0x43ed60(0x216)](){const _0x1ccdd1=_0x43ed60;this[_0x1ccdd1(0xaf)](this[_0x1ccdd1(0xe7)][_0x1ccdd1(0x322)]({'toJson':_0x1ad2b0=>JSON['stringify'](this[_0x1ccdd1(0x10f)](_0x1ad2b0)),'parseJson':_0x41ed5f=>{const _0x12f895=_0x1ccdd1;if(!_0x41ed5f)return{};try{return JSON[_0x12f895(0x203)](_0x41ed5f);}catch{return{};}},'businesses':[_0x3f1699[_0x1ccdd1(0x139)][_0x1ccdd1(0xfd)]],'pluginName':_0x1cc3eb,'onLoad':(_0x1208f2,_0x506191)=>{this['fromJSON'](_0x506191);},'onUnLoad':_0x338be0=>{this['deleteUnitId'](_0x338be0);}}));}},_0x89a8ec[_0x43ed60(0x1b5)]=_0x5d57aa([_0x4963f7(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x4963f7(0x1,_0x3f1699[_0x43ed60(0x1b9)]),_0x4963f7(0x2,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1e9)])),_0x4963f7(0x3,_0x3f1699[_0x43ed60(0x23e)]),_0x4963f7(0x4,_0x3f1699[_0x43ed60(0x163)]),_0x4963f7(0x5,_0x3f1699['Inject'](_0x3f1699['IResourceManagerService']))],_0x89a8ec['SheetsPivotDataSourceModel']);const _0x43d41d={0x0:{0x0:{'v':_0x43ed60(0x2a3),'s':_0x35fd4d}},0x2:{0x1:{'v':'','s':_0x35fd4d},0x2:{'v':'','s':_0x35fd4d},0x3:{'v':_0x43ed60(0x31a),'s':_0x35fd4d},0x4:{'v':'','s':_0x35fd4d},0x5:{'v':'','s':_0x35fd4d}},0x3:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x4:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x5:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x6:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x7:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x8:{0x0:{'v':_0x43ed60(0x329),'s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':_0x43ed60(0x213),'s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x9:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xa:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xb:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xc:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xd:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}}},_0x25b867={'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':[]},_0x8a4b79=(_0x280644,_0x3f2b03)=>{const _0x38cf97=_0x43ed60,_0x40dec9=new _0x3f1699[(_0x38cf97(0x2cb))](),_0x29d124=new _0x3f1699[(_0x38cf97(0x2cb))](_0x43d41d),{row:_0x36f1c1,col:_0xcf300d}=_0x3f2b03;_0x29d124[_0x38cf97(0x36d)]((_0x5bb857,_0x2ddd8a,_0x583631)=>{const _0x4fb86a=_0x38cf97;let _0x49f1d2='';_0x583631['v']===_0x4fb86a(0x2a3)?_0x49f1d2=_0x280644[_0x4fb86a(0x2a3)]:_0x583631['v']===_0x4fb86a(0x329)?_0x49f1d2=_0x280644[_0x4fb86a(0x329)]:_0x583631['v']==='column'?_0x49f1d2=_0x280644[_0x4fb86a(0x31a)]:_0x583631['v']==='values'&&(_0x49f1d2=_0x280644[_0x4fb86a(0x213)]),_0x40dec9[_0x4fb86a(0x297)](_0x5bb857+_0x36f1c1,_0x2ddd8a+_0xcf300d,{..._0x583631,'v':_0x49f1d2});});const _0x553e43=_0x3f1699[_0x38cf97(0x21b)][_0x38cf97(0xf5)](_0x25b867);return Object[_0x38cf97(0x375)](_0x25b867)[_0x38cf97(0x2f8)](_0x1f1e6a=>{const _0x3f38b0=_0x38cf97;_0x553e43[_0x1f1e6a]=_0x25b867[_0x1f1e6a][_0x3f38b0(0xca)](_0x4743e7=>({..._0x4743e7,'startRow':_0x4743e7[_0x3f38b0(0x13a)]+_0x36f1c1,'endRow':_0x4743e7['endRow']+_0x36f1c1,'startColumn':_0x4743e7[_0x3f38b0(0x135)]+_0xcf300d,'endColumn':_0x4743e7[_0x3f38b0(0x1dc)]+_0xcf300d}));}),{'matrixCache':_0x40dec9,'rangesCache':_0x553e43};};function _0x44e045(_0x30572d,_0x1f6d37){const _0x2334e5=_0x43ed60;let _0x37d017='';const _0xccba27=this[_0x2334e5(0x1a0)]();switch(_0x1f6d37){case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x166)]:_0x37d017=_0xccba27[_0x2334e5(0x1b3)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x28f)]:_0x37d017=_0xccba27['sheets-pivot.countName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x2fb)]:_0x37d017=_0xccba27[_0x2334e5(0x28c)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['max']:_0x37d017=_0xccba27[_0x2334e5(0x37b)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x2f6)]:_0x37d017=_0xccba27[_0x2334e5(0xc8)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['product']:_0x37d017=_0xccba27['sheets-pivot.productName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['stdDev']:_0x37d017=_0xccba27['sheets-pivot.stdDevName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x1a2)]:_0x37d017=_0xccba27[_0x2334e5(0x227)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x37a)]:_0x37d017=_0xccba27[_0x2334e5(0x20c)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x34a)]:_0x37d017=_0xccba27['sheets-pivot.varName']+_0x30572d;break;case _0x24a6f0['PivotSubtotalTypeEnum']['varp']:_0x37d017=_0xccba27['sheets-pivot.varpName']+_0x30572d;break;default:_0x37d017=_0x30572d;break;}return _0x37d017;}function _0x4e2eec(_0xa81f73,_0xa0fd8e,_0x54520b,_0x153fcf,_0x178358){const _0x17a0aa=_0x43ed60;var _0x3aa73b,_0x56ff3a,_0x695675,_0xb1d28a,_0xbbc59d;const _0x2e4ff2=_0x3f1699[_0x17a0aa(0x240)](_0xa81f73,_0xa0fd8e),{rangesInfo:_0xb94b35,areaInfo:_0x12527e,headerMap:_0x2b8c3e}=_0x178358;if(!_0xb94b35||!_0x12527e||!_0x2b8c3e)return;const _0x5c0847=Object[_0x17a0aa(0x375)](_0xb94b35)['find'](_0x52871d=>_0xb94b35[_0x52871d]['some'](_0x58e5b9=>_0x3f1699[_0x17a0aa(0x36b)]['contains'](_0x58e5b9,_0x2e4ff2))),_0x276c0f=_0x12527e;let _0x445dea,_0x54d2df,_0x2702d9;if(_0x5c0847===_0x17a0aa(0xeb))_0x445dea=(_0x3aa73b=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x1e3)])==null?void 0x0:_0x3aa73b[_0xa81f73],_0x54d2df=(_0x56ff3a=_0x2b8c3e==null?void 0x0:_0x2b8c3e['rowHeaderMap'])==null?void 0x0:_0x56ff3a[_0xa0fd8e],_0x2702d9=_0x54d2df==null?void 0x0:_0x54d2df['tableFieldId'];else{if(_0x5c0847===_0x17a0aa(0xd8))_0x445dea=(_0x695675=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x382)])==null?void 0x0:_0x695675[_0xa0fd8e],_0x54d2df=(_0xb1d28a=_0x2b8c3e['colHeaderMap'])==null?void 0x0:_0xb1d28a[_0xa81f73+0x1+_0xa0fd8e-_0xb94b35['colRanges'][0x0][_0x17a0aa(0x135)]],_0x2702d9=_0x54d2df==null?void 0x0:_0x54d2df[_0x17a0aa(0x2e5)];else{if(_0x5c0847==='cornerRanges')_0x445dea=(_0xbbc59d=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x1cd)])==null?void 0x0:_0xbbc59d[_0xa0fd8e],_0x2702d9=_0x445dea==null?void 0x0:_0x445dea[_0x17a0aa(0x2e5)];else{if(_0x5c0847===_0x17a0aa(0x2ae)){const _0x1c3506=_0x54520b==null?void 0x0:_0x54520b['fi'];_0x1c3506!==void 0x0&&(_0x2702d9=_0x153fcf[_0x17a0aa(0x2de)](_0x1c3506));}}}}return{'filterId':_0x2702d9,'info':_0x445dea,'data':_0x54520b,'headerInfo':_0x54d2df};}function _0x34c403(_0x4f2bd7,_0x231861,_0x100647){const _0x466e63=_0x43ed60,_0x2748d2=_0x4f2bd7[_0x466e63(0x21f)],_0x2617c7=_0x2748d2[_0x466e63(0x2d8)](),_0x54d866=new Set();_0x4f2bd7[_0x466e63(0x1f1)](_0xb1a544=>{const _0x114409=_0x466e63;_0x54d866[_0x114409(0xe9)](_0xb1a544[_0x114409(0xea)]);});const _0x2711b0=_0x2617c7[_0x466e63(0xca)](_0xfd03e0=>{const _0x36ad22=_0x466e63,_0x4f1b11=_0x2748d2[_0x36ad22(0x2c7)](_0xfd03e0);return{'checked':_0x54d866[_0x36ad22(0x1d1)](_0xfd03e0),'dataFieldId':_0x4f1b11['id'],'id':_0x4f1b11['id'],'name':_0x2748d2[_0x36ad22(0x16a)](_0x4f1b11['id']),'type':_0x4f1b11[_0x36ad22(0x165)](),'pivotTableId':_0x231861};}),_0x4395b0=[];_0x4f2bd7['iterateFieldByArea'](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x352)],_0x310869=>{const _0x12630e=_0x466e63;_0x4395b0['push']({'dataFieldId':_0x310869[_0x12630e(0xea)],'tableFieldId':_0x310869[_0x12630e(0x242)](),'displayName':_0x310869[_0x12630e(0x16a)]()});});const _0x533dee=[];_0x4f2bd7[_0x466e63(0x120)](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x14b)],_0x3ef36d=>{const _0x203cd2=_0x466e63;_0x533dee[_0x203cd2(0x182)]({'dataFieldId':_0x3ef36d['dataFieldId'],'tableFieldId':_0x3ef36d['getId'](),'displayName':_0x3ef36d['getDisplayName']()});});const _0x330420=[];if(_0x4f2bd7['iterateFieldByArea'](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x11a)],_0x1a46f7=>{const _0x5da1aa=_0x466e63;_0x330420[_0x5da1aa(0x182)]({'dataFieldId':_0x1a46f7[_0x5da1aa(0xea)],'tableFieldId':_0x1a46f7[_0x5da1aa(0x242)](),'displayName':_0x1a46f7[_0x5da1aa(0x16a)](),'format':_0x1a46f7[_0x5da1aa(0xe6)](),'subTotalType':_0x1a46f7['getSubtotal']()});}),_0x330420[_0x466e63(0x27d)]>0x1){const _0x2365d1=_0x4f2bd7['getValueIndex']();(_0x4f2bd7[_0x466e63(0x39f)]()?_0x533dee:_0x4395b0)[_0x466e63(0xd0)](_0x2365d1,0x0,{'dataFieldId':'','tableFieldId':_0x466e63(0x1e7),'displayName':_0x466e63(0x22c)});}const _0x56496e=[];_0x4f2bd7[_0x466e63(0x120)](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x385)],_0x4e09ff=>{const _0x573e4d=_0x466e63;_0x56496e[_0x573e4d(0x182)]({'dataFieldId':_0x4e09ff[_0x573e4d(0xea)],'tableFieldId':_0x4e09ff[_0x573e4d(0x242)](),'displayName':_0x4e09ff['getDisplayName']()});});const _0x44cb2e=_0x100647[_0x466e63(0x1af)];return{'sourceList':_0x2711b0,'sourceRange':_0x44cb2e,'rowFields':_0x4395b0,'columnFields':_0x533dee,'valueFields':_0x330420,'filterFields':_0x56496e,'positionInfo':_0x100647['targetCellInfo']};}function _0x59f8a5(_0x463213,_0x28beba,_0x3450e1='',_0x56d6fc={}){const _0x1c94ed=_0x43ed60,_0x3a3506=_0x463213['get'](_0x3f1699['LocaleService']);for(const _0x2d0111 in _0x28beba)if(Object[_0x1c94ed(0x1df)][_0x1c94ed(0x18c)]['call'](_0x28beba,_0x2d0111)){const _0x46a03f=_0x3450e1?_0x3450e1+'.'+_0x2d0111:_0x2d0111;typeof _0x28beba[_0x2d0111]==_0x1c94ed(0x2ba)&&_0x28beba[_0x2d0111]!==null&&!Array[_0x1c94ed(0x1ca)](_0x28beba[_0x2d0111])?_0x59f8a5(_0x463213,_0x28beba[_0x2d0111],_0x46a03f,_0x56d6fc):_0x56d6fc[_0x46a03f]=_0x3a3506['t'](_0x46a03f);}return _0x56d6fc;}const _0x3fa2d9=_0x209f71=>{const _0xd51b1a=_0x43ed60;if(!_0x209f71)return[];const {rowRanges:_0x49f43a,colRanges:_0x43a29f,cornerRanges:_0x3d03fe,dataRanges:_0xdf4489,pageRanges:_0x2ce3de}=_0x209f71,_0x4a4f30=[..._0x43a29f,..._0x49f43a,..._0xdf4489,..._0x3d03fe][_0xd51b1a(0x2a3)](_0x53aa81=>_0x53aa81[_0xd51b1a(0x13a)]>=0x0&&_0x53aa81[_0xd51b1a(0x135)]>=0x0&&_0x53aa81[_0xd51b1a(0x18b)]>=0x0&&_0x53aa81['endColumn']>=0x0);let _0x102125=Number[_0xd51b1a(0x126)],_0x4d09a2=Number[_0xd51b1a(0x1e0)],_0x10bd75=Number[_0xd51b1a(0x126)],_0x18472e=Number['MIN_SAFE_INTEGER'];for(let _0x4f654c=0x0;_0x4f654c<_0x4a4f30[_0xd51b1a(0x27d)];_0x4f654c++)_0x102125=Math[_0xd51b1a(0x2f6)](_0x102125,_0x4a4f30[_0x4f654c][_0xd51b1a(0x13a)]),_0x4d09a2=Math[_0xd51b1a(0x144)](_0x4d09a2,_0x4a4f30[_0x4f654c]['endRow']),_0x10bd75=Math['min'](_0x10bd75,_0x4a4f30[_0x4f654c][_0xd51b1a(0x135)]),_0x18472e=Math['max'](_0x18472e,_0x4a4f30[_0x4f654c][_0xd51b1a(0x1dc)]);return[..._0x2ce3de,{'startRow':_0x102125,'endRow':_0x4d09a2,'startColumn':_0x10bd75,'endColumn':_0x18472e}];};function _0x23420b(_0x2255ef,_0x3056ac){const _0x27eee5=_0x43ed60,_0x3f7c33=_0x3056ac[_0x27eee5(0x2c9)]['drillDown'],{pivotTableId:_0x598213,unitId:_0x4ea7e6,subUnitId:_0x3dcc72}=_0x3056ac;if(!_0x3f7c33)return;const _0x27922e=_0x2255ef[_0x27eee5(0x33b)](_0x89a8ec[_0x27eee5(0x1b5)]),_0x32ad15=_0x27922e[_0x27eee5(0x1bf)](_0x598213),_0x4223f0=_0x27922e[_0x27eee5(0x275)](_0x4ea7e6,_0x3dcc72,_0x598213);if(!_0x32ad15||!_0x4223f0)return;const _0x475254=_0x32ad15[_0x27eee5(0xdd)](_0x3f7c33[_0x27eee5(0x23b)]);if(!(_0x475254!=null&&_0x475254[_0x27eee5(0x27d)]))return;const _0x259190=_0x4223f0[_0x27eee5(0x1af)],{unitId:_0x29b569,subUnitId:_0x63d96b,range:_0x3fa948}=_0x259190;let _0x355647=0x0;const _0x2efc80=_0x32ad15[_0x27eee5(0x21f)][_0x27eee5(0x2d8)]()[_0x27eee5(0x115)]((_0x5b95c5,_0x3cc3a1)=>{const _0x1f11e8=_0x27eee5;var _0x55435b;const _0x256f1e=(_0x55435b=_0x32ad15['getDataFieldByDataFieldId'](_0x3cc3a1))==null?void 0x0:_0x55435b[_0x1f11e8(0x14d)]();return _0x256f1e&&(_0x5b95c5[String(_0x355647)]=_0x256f1e),_0x355647++,_0x5b95c5;},{});return{'indexes':_0x475254,'range':_0x3fa948,'sourceUnitId':_0x29b569,'sourceSubUnitId':_0x63d96b,'formatMap':_0x2efc80};}function _0x35e5f9(_0x5300b0,_0x40140a){const _0x2ef42c=_0x43ed60;if(!_0x5300b0||!_0x40140a)return!0x0;const _0x2dd3c3=_0x48414d['unshiftString'](_0x1e2524,_0x156274),_0xde00a1=new Function(_0x2ef42c(0x13b)+_0x2dd3c3)()(_0x5300b0,_0x40140a)[_0x2ef42c(0x1dd)],_0x3ef59c=_0x48414d[_0x2ef42c(0x2e2)](_0xde00a1,'sf',_0x81ded8);return!((_0xde00a1==null?void 0x0:_0xde00a1['rt'])===_0x48414d[_0x2ef42c(0xa0)]['NO_COMMERCIAL']&&!_0x3ef59c);}function _0xa1005d(_0x43afc4,_0x42af61,_0x438545){const _0x110bc3=_0x43ed60,_0x2caab7={'count':_0x43afc4,'timeValid':!0x1};if(!_0x42af61||!_0x438545)return _0x2caab7;const _0x41452f=_0x48414d[_0x110bc3(0x36e)](_0x1e2524,_0x156274),_0x43348b=new Function(_0x110bc3(0x13b)+_0x41452f)()(_0x42af61,_0x438545);if(_0x43348b!=null&&_0x43348b[_0x110bc3(0x27c)]){const _0x1e63cc=_0x43348b[_0x110bc3(0x1dd)],_0x33631a=_0x48414d[_0x110bc3(0x2e2)](_0x1e63cc,'sf',_0x81ded8);return{'count':_0x48414d[_0x110bc3(0xb8)](_0x1e63cc,_0x33631a,_0x110bc3(0x265),_0x43afc4,_0x43afc4,0x0),'timeValid':_0x33631a};}return _0x2caab7;}function _0x228cb9(_0x3eb195,_0xfc238f,_0x210312,_0x4deb01){const _0x4fc4f4=_0x43ed60,_0x5e27b0={'subUnitId':_0x210312,'unitId':_0xfc238f,'cellValue':_0x1c7b09[_0x4fc4f4(0x19f)](_0x4deb01)},_0x540e39=_0x1c7b09['SetRangeValuesUndoMutationFactory'](_0x3eb195,_0x5e27b0);let _0x2b6d01=!0x1;return new _0x3f1699[(_0x4fc4f4(0x2cb))](_0x540e39[_0x4fc4f4(0x1b7)])[_0x4fc4f4(0x36d)]((_0x4054c3,_0x204f37,_0x4f7da3)=>{const _0x3955ab=_0x4fc4f4;if(!_0x2b6d01&&_0x4f7da3&&(_0x4f7da3[_0x3955ab(0x2a8)]||_0x4f7da3['f']||_0x4f7da3['p']||_0x4f7da3['s']||_0x4f7da3['si']||_0x4f7da3['t']||_0x4f7da3['v']))return _0x2b6d01=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1c7b09[_0x4fc4f4(0x2f0)]['id'],'params':_0x540e39},'setRangeValueRedoMutation':{'id':_0x1c7b09['SetRangeValuesMutation']['id'],'params':_0x5e27b0},'shouldClear':_0x2b6d01};}function _0x51080a(_0x110cb2){const {row:_0x360b6d,col:_0x599293}=_0x110cb2,_0x3cd915={'startRow':_0x360b6d,'endRow':_0x360b6d,'startColumn':_0x599293,'endColumn':_0x599293},_0x1e4184={'startRow':_0x360b6d+0x2,'endRow':_0x360b6d+0xe,'startColumn':_0x599293,'endColumn':_0x599293+0x6};return[_0x3cd915,_0x1e4184];}function _0x38bce4(_0x472f9a,_0x1f45d2,_0xc24fd4){const _0x113f8c=_0x43ed60,{cornerView:_0x12703b,rowView:_0x1719bc,colView:_0x215cbf,pageView:_0x3aaacf}=_0x472f9a,{row:_0xa0128d,col:_0x5f22c7}=_0x1f45d2;if(_0xc24fd4)return{'rowCount':_0x4cc7a2+_0xa0128d,'colCount':_0x5763f3+_0x5f22c7};const _0x357cc6=_0x3aaacf['lastRow']>-0x1?_0x3aaacf[_0x113f8c(0x121)]+0x1:0x0,_0x4fcf48=_0x3aaacf[_0x113f8c(0x39d)]>-0x1?_0x3aaacf[_0x113f8c(0x39d)]:0x0,_0x2c0935=_0xa0128d+_0x357cc6+(_0x357cc6?0x1:0x0)+_0x12703b[_0x113f8c(0x140)]+_0x1719bc[_0x113f8c(0x140)],_0x2ad3f6=_0x5f22c7+_0x4fcf48,_0x1a086e=_0x5f22c7+_0x12703b[_0x113f8c(0x19b)]+_0x215cbf[_0x113f8c(0x19b)],_0x170dc6=Math['max'](_0x2ad3f6,_0x1a086e);return{'rowCount':_0x2c0935,'colCount':_0x170dc6};}function _0x34a7f9(_0x481ccd,_0x5193d7,_0x3ff420,_0x32fd4d){const _0x2f36d6=_0x43ed60,{row:_0x10f573,col:_0x221dfe,unitId:_0x4fced3,subUnitId:_0x1ea64f}=_0x3ff420,_0x469e39=_0x38bce4(_0x5193d7,{'row':_0x10f573,'col':_0x221dfe},_0x32fd4d),_0x5dbee9=_0x481ccd[_0x2f36d6(0x33b)](_0x3f1699['IUniverInstanceService']),_0x4d5505=_0x1c7b09['getSheetCommandTarget'](_0x5dbee9,{'unitId':_0x4fced3,'subUnitId':_0x1ea64f}),_0x5dbf98=[],_0x5798b1=[];if(!_0x4d5505)return{'undos':_0x5798b1,'redos':_0x5dbf98};const {worksheet:_0x9e608f}=_0x4d5505,_0x1f985c=_0x9e608f[_0x2f36d6(0x2b0)](),_0xbdaad0=_0x9e608f[_0x2f36d6(0x179)]();return _0x1f985c<_0x469e39['rowCount']&&(_0x5dbf98[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x142)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':_0x1f985c,'endRow':_0x469e39['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xbdaad0-0x1}}}),_0x5798b1[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x272)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':_0x1f985c,'endRow':_0x469e39[_0x2f36d6(0x140)]-0x1,'startColumn':0x0,'endColumn':_0xbdaad0-0x1}}})),_0xbdaad0<_0x469e39[_0x2f36d6(0x19b)]&&(_0x5dbf98[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0xc5)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':0x0,'endRow':_0x1f985c-0x1,'startColumn':_0xbdaad0,'endColumn':_0x469e39[_0x2f36d6(0x19b)]-0x1}}}),_0x5798b1[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x190)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':0x0,'endRow':_0x1f985c-0x1,'startColumn':_0xbdaad0,'endColumn':_0x469e39[_0x2f36d6(0x19b)]-0x1}}})),{'undos':_0x5798b1,'redos':_0x5dbf98};}function _0x2423e9(_0x1199b8){const _0x4cf48d=_0x43ed60;let _0x5c6d66=0x0;for(let _0x33d451=0x0;_0x33d451<_0x1199b8['length'];_0x33d451++){const _0x33aa8c=_0x1199b8[_0x4cf48d(0x20d)](_0x33d451);_0x33aa8c>=0x4e00&&_0x33aa8c<=0x9fff||_0x33aa8c>=0x3000&&_0x33aa8c<=0x303f||_0x33aa8c>=0xff00&&_0x33aa8c<=0xffef?_0x5c6d66+=0x2:_0x5c6d66+=0x1;}return _0x5c6d66;}function _0x40f147(_0x27c3bb,_0x46d830,_0xa2d50a,_0x46fb5d){const _0x591055=_0x43ed60;var _0x50cea0,_0x59d4eb,_0x482a4b,_0x191bb0;const {rowCount:_0x4d183f,colCount:_0x248da6,headerMap:_0x314d39}=_0x27c3bb,_0x4e42fd=0x64,_0x20b71=Math['min'](_0x4d183f,_0x4e42fd),_0x4bd70e=Math[_0x591055(0x2f6)](_0x248da6,_0x4e42fd);let _0x509e61='',_0x4f8521=0x0;for(let _0x1a6c75=0x0;_0x1a6c75<_0x20b71;_0x1a6c75++)for(let _0x23fb7b=0x0;_0x23fb7b<_0x4bd70e;_0x23fb7b++){const _0x34f2ff={...(_0x59d4eb=(_0x50cea0=_0x27c3bb[_0x591055(0x187)])==null?void 0x0:_0x50cea0[_0x1a6c75])==null?void 0x0:_0x59d4eb[_0x23fb7b]},_0x39c0be=(_0x482a4b=_0x314d39[_0x1a6c75])==null?void 0x0:_0x482a4b[_0x591055(0x2e5)],_0x17a23c=_0x46fb5d[_0x39c0be];let _0x13a0b1=_0x27c3bb[_0x591055(0x381)](_0x1a6c75,_0x23fb7b);if(_0x34f2ff){const _0x5e1cd3=_0xa2d50a?_0x23fb7b===0x0&&((_0x191bb0=_0x27c3bb[_0x591055(0xe1)](_0x23fb7b+0x1))==null?void 0x0:_0x191bb0[_0x591055(0x302)]):!0x1;_0x13a0b1=_0x2a897d(_0x34f2ff,_0x5e1cd3,_0x17a23c,_0x46d830);}if(_0x13a0b1!==void 0x0){const _0x21755d=_0x2423e9(String(_0x13a0b1));_0x4f8521<_0x21755d&&(_0x509e61=String(_0x13a0b1),_0x4f8521=_0x21755d);}}return _0x509e61;}function _0x838b47(_0x4e0d7b){const _0x276ad3=_0x43ed60,{rowCount:_0x5980e7,colCount:_0x32f340}=_0x4e0d7b;let _0x5bb96d='',_0x4dd241=0x0;for(let _0x1b48c2=_0x5980e7-0x1;_0x1b48c2>0x0&&_0x1b48c2>_0x5980e7-0x3;_0x1b48c2--)for(let _0x2435c7=0x0;_0x2435c7<_0x32f340;_0x2435c7++){const _0x45641f=_0x4e0d7b['getValue'](_0x1b48c2,_0x2435c7);if(_0x45641f!==void 0x0){const _0x522c34=String(_0x45641f)[_0x276ad3(0x27d)];_0x4dd241<_0x522c34&&(_0x5bb96d=String(_0x45641f),_0x4dd241=_0x522c34);}}return _0x5bb96d;}function _0xd435f9(_0x5e52c1){const _0x2287d4=_0x43ed60,{rowCount:_0x38215d,colCount:_0x269d1a}=_0x5e52c1;let _0x2451c2='',_0x25eb02=0x0;for(let _0x5f297a=0x0;_0x5f297a<_0x38215d;_0x5f297a++)for(let _0x5787da=0x0;_0x5787da<_0x269d1a;_0x5787da++){const _0x8d4c19=_0x5e52c1[_0x2287d4(0x381)](_0x5f297a,_0x5787da);if(_0x8d4c19!==void 0x0){const _0x150ce1=String(_0x8d4c19)[_0x2287d4(0x27d)];_0x25eb02<_0x150ce1&&(_0x2451c2=String(_0x8d4c19),_0x25eb02=_0x150ce1);}}return _0x2451c2;}function _0x44161b(_0x382327,_0xa727e1){const _0x25155d=_0x43ed60,{rowFields:_0x1f8da1,columnFields:_0xfe30b4,valueFields:_0x71691f,filterFields:_0x5cda74,dimension:_0x207ac0,measure:_0x299f99}=_0xa727e1;for(const _0x200365 of _0x1f8da1){const _0x4c8046=_0x207ac0[_0x200365];_0x4c8046&&_0x382327[_0x25155d(0x1a3)](_0x4c8046['dataFieldId'])&&(_0x382327[_0x25155d(0x34f)](_0x4c8046[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x352)],void 0x0,_0x200365),_0x4c8046[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x4c8046['id'],_0x4c8046['displayName']),_0x4c8046[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4c8046['id'],_0x4c8046['sortInfo']),_0x4c8046[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4c8046['id'],_0x4c8046[_0x25155d(0x22e)]));}for(const _0x25fcdc of _0xfe30b4){const _0x4a9ef5=_0x207ac0[_0x25fcdc];_0x4a9ef5&&_0x382327[_0x25155d(0x1a3)](_0x4a9ef5[_0x25155d(0xea)])&&(_0x382327[_0x25155d(0x34f)](_0x4a9ef5[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x14b)],void 0x0,_0x25fcdc),_0x4a9ef5[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4a9ef5['id'],_0x4a9ef5[_0x25155d(0x141)]),_0x4a9ef5[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4a9ef5['id'],_0x4a9ef5['filterInfo']),_0x4a9ef5[_0x25155d(0x106)]&&_0x382327['renameField'](_0x4a9ef5['id'],_0x4a9ef5[_0x25155d(0x106)]));}for(const _0x19a638 of _0x5cda74){const _0x4fd8b2=_0x207ac0[_0x19a638];_0x4fd8b2&&_0x382327[_0x25155d(0x1a3)](_0x4fd8b2['dataFieldId'])&&(_0x382327[_0x25155d(0x34f)](_0x4fd8b2['dataFieldId'],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x385)],void 0x0,_0x19a638),_0x4fd8b2[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x141)]),_0x4fd8b2[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x22e)]),_0x4fd8b2[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x106)]));}for(const _0xd2ffc7 of _0x71691f){const _0x552af7=_0x299f99[_0xd2ffc7];_0x552af7&&_0x382327[_0x25155d(0x1a3)](_0x552af7[_0x25155d(0xea)])&&(_0x382327[_0x25155d(0x34f)](_0x552af7[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x11a)],void 0x0,_0xd2ffc7),_0x552af7[_0x25155d(0x296)]!==void 0x0&&_0x382327[_0x25155d(0x1a9)](_0xd2ffc7,_0x552af7[_0x25155d(0x296)]),_0x552af7[_0x25155d(0x2ac)]&&_0x382327[_0x25155d(0x19a)](_0xd2ffc7,_0x552af7['format']),_0x552af7[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x552af7['id'],_0x552af7[_0x25155d(0x106)]));}const _0x381e61=_0xa727e1[_0x25155d(0x1a7)];for(const {fieldId:_0x41cfb3,filterInfo:_0x4a6e2c}of _0x381e61)_0x382327['setValueFilterInfo'](_0x41cfb3,_0x4a6e2c);}function _0x20f090(_0x3e638b,_0x17b2a7){const _0xacf560=_0x43ed60,_0x5f160e=[];_0x17b2a7===_0x24a6f0['PivotTableFiledAreaEnum']['Row']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Row'],_0x3b42eb=>{const _0x57d360=_0xacf560;_0x5f160e[_0x57d360(0x182)](_0x3b42eb[_0x57d360(0x242)]());}),_0x17b2a7===_0x24a6f0['PivotTableFiledAreaEnum']['Column']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x14b)],_0x5eb2fb=>{const _0x3a137a=_0xacf560;_0x5f160e[_0x3a137a(0x182)](_0x5eb2fb[_0x3a137a(0x242)]());}),_0x17b2a7===_0x24a6f0[_0xacf560(0x2b6)]['Filter']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x385)],_0x399f2d=>{const _0x483567=_0xacf560;_0x5f160e[_0x483567(0x182)](_0x399f2d[_0x483567(0x242)]());}),_0x17b2a7===_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x11a)]&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Value'],_0x484279=>{const _0x1cd5ff=_0xacf560;_0x5f160e[_0x1cd5ff(0x182)](_0x484279[_0x1cd5ff(0x242)]());}),_0x17b2a7===void 0x0&&_0x3e638b[_0xacf560(0x1f1)](_0x233d0d=>{const _0x537996=_0xacf560;_0x5f160e[_0x537996(0x182)](_0x233d0d[_0x537996(0x242)]());});const _0xb0ed0b=_0x5f160e[_0xacf560(0x27d)];for(let _0x519100=_0xb0ed0b-0x1;_0x519100>=0x0;_0x519100--)_0x3e638b[_0xacf560(0x32f)](_0x5f160e[_0x519100]);const _0x178426=_0x3e638b[_0xacf560(0x35b)]();for(const _0x324437 in _0x178426)_0x3e638b[_0xacf560(0x2e7)](_0x324437);}function _0x4aebca(_0x504dab,_0x8f88eb){const _0x367b80=_0x43ed60,_0x173095=new Date(_0x24a6f0[_0x367b80(0x324)](_0x8f88eb)),_0x50cb22=new Date(_0x24a6f0[_0x367b80(0x324)](_0x504dab)),_0x1866bb=_0x173095['getFullYear'](),_0x1762c8=_0x50cb22['getFullYear'](),_0x26c3d7=_0x173095['getMonth'](),_0xb59ecb=_0x50cb22['getMonth'](),_0x47858f=_0x173095[_0x367b80(0x256)](),_0x379715=_0x50cb22[_0x367b80(0x256)](),_0x54ab19=_0x1866bb===_0x1762c8,_0x2b5281=_0x54ab19&&_0x26c3d7===_0xb59ecb;return _0x54ab19&&_0x2b5281&&!(_0x2b5281&&_0x47858f===_0x379715)?_0x24a6f0['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x54ab19&&!_0x2b5281?_0x24a6f0[_0x367b80(0x354)][_0x367b80(0x9e)]:_0x24a6f0[_0x367b80(0x354)][_0x367b80(0x3aa)];}function _0xe6d46c(_0x57decc,_0x157364){const _0x49e09f=_0x43ed60,_0x1ef126=_0x57decc[_0x49e09f(0x33b)](_0x89a8ec[_0x49e09f(0x1b5)])[_0x49e09f(0x1a0)]();let _0x520042='';switch(_0x157364){case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x49e09f(0x9b)]:_0x520042=_0x1ef126[_0x49e09f(0x39a)];break;case _0x24a6f0[_0x49e09f(0x354)]['YearMonth']:_0x520042=_0x1ef126['sheets-pivot.dateGroup.yearMonth'];break;case _0x24a6f0[_0x49e09f(0x354)]['Year']:_0x520042=_0x1ef126[_0x49e09f(0xd9)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xcc)]:_0x520042=_0x1ef126[_0x49e09f(0x380)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xa3)]:_0x520042=_0x1ef126[_0x49e09f(0x160)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x30e)]:_0x520042=_0x1ef126[_0x49e09f(0x1d6)];break;case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x49e09f(0xc9)]:_0x520042=_0x1ef126[_0x49e09f(0x161)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x29c)]:_0x520042=_0x1ef126['sheets-pivot.dateGroup.hour'];break;case _0x24a6f0[_0x49e09f(0x354)]['Minute']:_0x520042=_0x1ef126[_0x49e09f(0x2b7)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xab)]:_0x520042=_0x1ef126['sheets-pivot.dateGroup.monthDate'];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x301)]:_0x520042=_0x1ef126[_0x49e09f(0x358)];break;default:_0x520042='';break;}return _0x520042;}const _0x3b7866='sheets-pivot.config',_0x548652={};var _0x29ef34=Object['getOwnPropertyDescriptor'],_0x111e6b=(_0x451b8a,_0x21f9cd,_0x17773a,_0x305bfc)=>{const _0x27263a=_0x43ed60;for(var _0x4bae4d=_0x305bfc>0x1?void 0x0:_0x305bfc?_0x29ef34(_0x21f9cd,_0x17773a):_0x21f9cd,_0x56c776=_0x451b8a[_0x27263a(0x27d)]-0x1,_0x3f9dfd;_0x56c776>=0x0;_0x56c776--)(_0x3f9dfd=_0x451b8a[_0x56c776])&&(_0x4bae4d=_0x3f9dfd(_0x4bae4d)||_0x4bae4d);return _0x4bae4d;},_0x392ba4=(_0x5a57a0,_0x57585f)=>(_0x27f857,_0x4da3cb)=>_0x57585f(_0x27f857,_0x4da3cb,_0x5a57a0);_0x89a8ec['SheetsPivotTableConfigModel']=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0xc445a3,_0x388ff7,_0x7450c9,_0x36dbb1,_0x5ca91d){const _0x204e33=_0x43ed60;super(),_0x575f06(this,_0x204e33(0x268),new Map()),_0x575f06(this,_0x204e33(0xed),new Map()),_0x575f06(this,_0x204e33(0x2c5),new Map()),_0x575f06(this,_0x204e33(0x15d),new Map()),_0x575f06(this,_0x204e33(0x313),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,_0x204e33(0x2ff),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,_0x204e33(0x1c0),this[_0x204e33(0x2ff)]['asObservable']()),_0x575f06(this,_0x204e33(0x36a),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,'pivotConfigChange$',this[_0x204e33(0x36a)][_0x204e33(0xfc)]()),_0x575f06(this,_0x204e33(0x134),{}),_0x575f06(this,_0x204e33(0x158),this[_0x204e33(0x313)][_0x204e33(0xfc)]()),(this[_0x204e33(0x2f1)]=_0xc445a3,this[_0x204e33(0x399)]=_0x388ff7,this['_univerInstanceService']=_0x7450c9,this['_resourceManagerService']=_0x36dbb1,this['_configService']=_0x5ca91d,this[_0x204e33(0x355)](),this[_0x204e33(0x129)]());const _0x4b09c3=this[_0x204e33(0x359)][_0x204e33(0x30f)](_0x3b7866);(_0x4b09c3==null?void 0x0:_0x4b09c3['notExecuteFormula'])===!0x0&&this[_0x204e33(0x216)]();}['_initUnitDisposed'](){const _0x2902f4=_0x43ed60;this[_0x2902f4(0xaf)](this[_0x2902f4(0x2dc)][_0x2902f4(0x101)](_0x3f1699['UniverInstanceType'][_0x2902f4(0xfd)])[_0x2902f4(0x3ae)](_0x8d7ab7=>{const _0x4afaee=_0x2902f4;this[_0x4afaee(0x233)](_0x8d7ab7[_0x4afaee(0x330)]());}));}[_0x43ed60(0x22a)](){const _0x496632=_0x43ed60;this[_0x496632(0x2ff)][_0x496632(0x2c4)](!0x0);}[_0x43ed60(0x355)](){const _0x51e9ba=_0x43ed60,_0x590ea7=_0x59f8a5(this['_injector'],_0x5c6bc9,'',{});this[_0x51e9ba(0x134)]=_0x590ea7,this[_0x51e9ba(0x399)][_0x51e9ba(0x294)](_0x34e502['id'],{'textInfo':_0x590ea7},{'onlyLocal':!0x0});}[_0x43ed60(0x1a0)](){const _0x19cc26=_0x43ed60;return this[_0x19cc26(0x134)];}[_0x43ed60(0x390)](_0x35b951,_0xeb32a1,_0x58804a,_0x4d2ee3,_0x15502a){const _0x205d9e=_0x43ed60;this[_0x205d9e(0x206)](_0x35b951,_0xeb32a1,_0x58804a,_0x4d2ee3),this[_0x205d9e(0x1d7)](_0x35b951,_0xeb32a1,_0x58804a,_0x15502a);}['getPivotTableConfig'](_0x51d8ac,_0x3a3e78,_0x432132){const _0x4bb959=_0x43ed60;var _0x2e13ca;const _0x133ecd=(_0x2e13ca=this[_0x4bb959(0x268)][_0x4bb959(0x33b)](_0x51d8ac))==null?void 0x0:_0x2e13ca['get'](_0x3a3e78);if(_0x133ecd)return _0x133ecd[_0x4bb959(0x33b)](_0x432132);}[_0x43ed60(0x192)](_0x2d72b4,_0x3b853d){const _0x1ead3e=_0x43ed60,_0x5534a0=this[_0x1ead3e(0x268)]['get'](_0x2d72b4);if(_0x5534a0){for(const [_0x53d396,_0x2c6843]of _0x5534a0[_0x1ead3e(0x169)]())for(const [_0x58796b,_0x251f14]of _0x2c6843[_0x1ead3e(0x169)]())if(_0x58796b===_0x3b853d)return _0x251f14['targetCellInfo'];}}[_0x43ed60(0x367)](_0xed98ab,_0x5afc86,_0x2594c2){const _0x31b7d4=_0x43ed60,_0x17f625=this[_0x31b7d4(0x275)](_0xed98ab,_0x5afc86,_0x2594c2);return _0x17f625==null?void 0x0:_0x17f625['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x1f6aa8,_0x5b7915){const _0x28c4dd=_0x43ed60;var _0x1016db;return(_0x1016db=this[_0x28c4dd(0x268)][_0x28c4dd(0x33b)](_0x1f6aa8))==null?void 0x0:_0x1016db[_0x28c4dd(0x33b)](_0x5b7915);}[_0x43ed60(0x2b5)](_0x36e52f,_0x2eaa8f,_0x3929cd,_0x345b91){const _0x4e5e9b=_0x43ed60,_0x191487=this[_0x4e5e9b(0x31e)](_0x36e52f,_0x2eaa8f);_0x345b91?_0x191487['set'](_0x3929cd,_0x345b91):_0x191487[_0x4e5e9b(0x21c)](_0x3929cd),this['_pivotConfigChange$'][_0x4e5e9b(0x2c4)]({'unitId':_0x36e52f,'subUnitId':_0x2eaa8f,'pivotTableId':_0x3929cd,'pivotTableConfig':_0x345b91});}[_0x43ed60(0x361)](_0x376711,_0x527470){const _0x1fb5c0=_0x43ed60;var _0x52d664;return(_0x52d664=this[_0x1fb5c0(0xed)][_0x1fb5c0(0x33b)](_0x376711))==null?void 0x0:_0x52d664[_0x1fb5c0(0x379)][_0x527470];}[_0x43ed60(0x32a)](_0x529ec5,_0x2c6b51){const _0x249444=_0x43ed60;this[_0x249444(0xed)][_0x249444(0x273)](_0x529ec5,_0x2c6b51),this['_configVersion$']['next'](Math['random']());}[_0x43ed60(0x31e)](_0x26f5ae,_0x4d84be){const _0x1b4dd8=_0x43ed60;let _0x175229=this[_0x1b4dd8(0x268)][_0x1b4dd8(0x33b)](_0x26f5ae);_0x175229||(_0x175229=new Map(),this[_0x1b4dd8(0x268)][_0x1b4dd8(0x273)](_0x26f5ae,_0x175229));let _0x1c4104=_0x175229[_0x1b4dd8(0x33b)](_0x4d84be);return _0x1c4104||(_0x1c4104=new Map(),_0x175229[_0x1b4dd8(0x273)](_0x4d84be,_0x1c4104)),_0x1c4104;}['_ensurePivotTableRangeInfo'](_0x19ad32,_0x28522b){const _0x530f90=_0x43ed60;let _0x706946=this[_0x530f90(0x2c5)][_0x530f90(0x33b)](_0x19ad32);_0x706946||(_0x706946=new Map(),this[_0x530f90(0x2c5)][_0x530f90(0x273)](_0x19ad32,_0x706946));let _0xd9d69a=_0x706946['get'](_0x28522b);return _0xd9d69a||(_0xd9d69a=new Map(),_0x706946[_0x530f90(0x273)](_0x28522b,_0xd9d69a)),_0xd9d69a;}[_0x43ed60(0x362)](_0xf729c9,_0x21cf30){const _0x3ab10a=_0x43ed60;let _0x14fa7a=this[_0x3ab10a(0x15d)]['get'](_0xf729c9);_0x14fa7a||(_0x14fa7a=new Map(),this[_0x3ab10a(0x15d)][_0x3ab10a(0x273)](_0xf729c9,_0x14fa7a));let _0x2bc93a=_0x14fa7a['get'](_0x21cf30);return _0x2bc93a||(_0x2bc93a=new Map(),_0x14fa7a[_0x3ab10a(0x273)](_0x21cf30,_0x2bc93a)),_0x2bc93a;}[_0x43ed60(0x1d7)](_0x8326c0,_0x1fc010,_0x444bf9,_0x248ba9){const _0x21a6fb=_0x43ed60;var _0x51f489;const _0x120f62=this[_0x21a6fb(0x2d2)](_0x8326c0,_0x1fc010),_0x283ed8=(_0x51f489=_0x120f62[_0x21a6fb(0x33b)](_0x444bf9))==null?void 0x0:_0x51f489['oldRangeInfo'];_0x120f62[_0x21a6fb(0x273)](_0x444bf9,{'oldRangeInfo':_0x283ed8,'rangeInfo':_0x248ba9});}[_0x43ed60(0x206)](_0xddbe9e,_0x5475a5,_0xd179c,_0x64f59e){const _0x416fc0=_0x43ed60;var _0x35829a;const _0x28ccb9=this['_ensurePivotTableMatrixInfo'](_0xddbe9e,_0x5475a5),_0x1e2299=(_0x35829a=_0x28ccb9[_0x416fc0(0x33b)](_0xd179c))==null?void 0x0:_0x35829a[_0x416fc0(0x19e)];_0x28ccb9['set'](_0xd179c,{'oldMatrix':_0x1e2299,'matrix':_0x64f59e});}[_0x43ed60(0x2a6)](_0x2c488c,_0x1f2e99,_0x10772d){const _0x1459a7=_0x43ed60;var _0x42b798,_0x39df19;return(_0x39df19=(_0x42b798=this[_0x1459a7(0x2c5)][_0x1459a7(0x33b)](_0x2c488c))==null?void 0x0:_0x42b798[_0x1459a7(0x33b)](_0x1f2e99))==null?void 0x0:_0x39df19['get'](_0x10772d);}[_0x43ed60(0x13f)](_0x45690f,_0x28c6fe,_0x3d86cb){const _0x2549bc=_0x43ed60;var _0x2c48eb,_0x35be8c;return(_0x35be8c=(_0x2c48eb=this['_pivotTableMatrixInfo'][_0x2549bc(0x33b)](_0x45690f))==null?void 0x0:_0x2c48eb['get'](_0x28c6fe))==null?void 0x0:_0x35be8c[_0x2549bc(0x33b)](_0x3d86cb);}[_0x43ed60(0x233)](_0x141698){const _0x3cef62=_0x43ed60;this['_model'][_0x3cef62(0x21c)](_0x141698),this['_collectionConfigModel'][_0x3cef62(0x21c)](_0x141698);}[_0x43ed60(0x1ec)](_0x529fe5){const _0x2c5444=_0x43ed60,_0x2a822a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2c5444(0xed)][_0x2c5444(0x33b)](_0x529fe5)&&(_0x2a822a[_0x2c5444(0x1f4)][_0x529fe5]=this[_0x2c5444(0xed)]['get'](_0x529fe5)),this[_0x2c5444(0x268)][_0x2c5444(0x33b)](_0x529fe5)){_0x2a822a['pivotTableConfigs'][_0x529fe5]={};const _0x5c9104=this[_0x2c5444(0x268)][_0x2c5444(0x33b)](_0x529fe5);_0x5c9104!=null&&_0x5c9104[_0x2c5444(0x1e8)]&&[..._0x5c9104['keys']()]['forEach'](_0x53503f=>{const _0x5c8e84=_0x2c5444,_0x2e0ff2=_0x5c9104['get'](_0x53503f);_0x2e0ff2!=null&&_0x2e0ff2['size']&&(_0x2a822a[_0x5c8e84(0x193)][_0x529fe5][_0x53503f]={},[..._0x2e0ff2['keys']()][_0x5c8e84(0x2f8)](_0x321861=>{const _0x501993=_0x5c8e84,_0x4cec8a=_0x2e0ff2[_0x501993(0x33b)](_0x321861);_0x4cec8a&&(_0x2a822a['pivotTableConfigs'][_0x529fe5][_0x53503f][_0x321861]=_0x4cec8a);}));});}return _0x2a822a;}[_0x43ed60(0x216)](){const _0x2fd9b7=_0x43ed60;this[_0x2fd9b7(0xaf)](this[_0x2fd9b7(0xe7)][_0x2fd9b7(0x322)]({'toJson':_0x237d35=>JSON[_0x2fd9b7(0x252)](this[_0x2fd9b7(0x1ec)](_0x237d35)),'parseJson':_0x41d369=>({}),'businesses':[_0x3f1699[_0x2fd9b7(0x139)][_0x2fd9b7(0xfd)]],'pluginName':_0x1cc3eb,'onLoad':(_0x578c07,_0x4ddc5f)=>{},'onUnLoad':_0x5033e8=>{const _0x1461ee=_0x2fd9b7;this[_0x1461ee(0x233)](_0x5033e8);}}));}},_0x89a8ec[_0x43ed60(0xb3)]=_0x111e6b([_0x392ba4(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x392ba4(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['ICommandService'])),_0x392ba4(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x1b9)])),_0x392ba4(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x230)])),_0x392ba4(0x4,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x23e)]))],_0x89a8ec['SheetsPivotTableConfigModel']);var _0x3c01cb=Object[_0x43ed60(0x269)],_0x1fc49e=(_0x367552,_0x51b856,_0x106f9c,_0x1b3d6b)=>{for(var _0x1b63a0=_0x1b3d6b>0x1?void 0x0:_0x1b3d6b?_0x3c01cb(_0x51b856,_0x106f9c):_0x51b856,_0x22a342=_0x367552['length']-0x1,_0x5366b4;_0x22a342>=0x0;_0x22a342--)(_0x5366b4=_0x367552[_0x22a342])&&(_0x1b63a0=_0x5366b4(_0x1b63a0)||_0x1b63a0);return _0x1b63a0;},_0x1a911d=(_0x4a085e,_0x446340)=>(_0x3ab5ab,_0x1efffc)=>_0x446340(_0x3ab5ab,_0x1efffc,_0x4a085e);_0x89a8ec[_0x43ed60(0x1ef)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2c2f21,_0xafd39a,_0x124168,_0x4c01f2,_0x2d2589){const _0x2a9226=_0x43ed60;super(),_0x575f06(this,_0x2a9226(0x17d),new Map()),_0x575f06(this,'_pivotRenderValueMatrixCache',new Map()),_0x575f06(this,_0x2a9226(0x34d),new _0x28d43e[(_0x2a9226(0x1ee))]()),_0x575f06(this,'markDirty$',this[_0x2a9226(0x34d)][_0x2a9226(0xfc)]()),_0x575f06(this,'_viewUpdate$',new _0x28d43e['Subject']()),_0x575f06(this,'viewUpdate$',this[_0x2a9226(0x369)]['asObservable']()),_0x575f06(this,_0x2a9226(0x134)),(this[_0x2a9226(0x1da)]=_0x2c2f21,this[_0x2a9226(0x2f1)]=_0xafd39a,this['_sheetsPivotTableConfigModel']=_0x124168,this[_0x2a9226(0x2dc)]=_0x4c01f2,this[_0x2a9226(0x35d)]=_0x2d2589,this[_0x2a9226(0x355)](),this[_0x2a9226(0x129)]());}['_initUnitDisposed'](){const _0x4c706f=_0x43ed60;this[_0x4c706f(0xaf)](this[_0x4c706f(0x2dc)][_0x4c706f(0x101)](_0x3f1699['UniverInstanceType']['UNIVER_SHEET'])[_0x4c706f(0x3ae)](_0x293346=>{const _0x2adfd8=_0x4c706f;this[_0x2adfd8(0x233)](_0x293346[_0x2adfd8(0x330)]());}));}[_0x43ed60(0x355)](){this['_textInfo']=_0x59f8a5(this['_injector'],_0x5c6bc9,'',{});}['updateRenderCache'](_0x22fd2e){const _0x2c3e8d=_0x43ed60,{view:_0x319956,unitId:_0x3c2ae8,subUnitId:_0x11faad,pivotTableId:_0x390e4c,type:_0x5df599}=_0x22fd2e,_0x21619c=this[_0x2c3e8d(0xd6)][_0x2c3e8d(0x275)](_0x3c2ae8,_0x11faad,_0x390e4c);if(!_0x319956||!_0x21619c||_0x5df599===_0x1870de[_0x2c3e8d(0x39e)])return;const {pageView:_0x1b7e2c,cornerView:_0x2c5391,rowView:_0xf3ea24,colView:_0x28078c,dataView:_0x3fb37a}=_0x319956,_0x2a4629=_0x21619c[_0x2c3e8d(0x3a4)],_0x2d613b=_0x21619c[_0x2c3e8d(0x35c)],_0x3dfb7f=this[_0x2c3e8d(0x24b)](_0x3c2ae8,_0x11faad),_0x20c301=this['_ensurePivotItemRenderInfoCache'](_0x3c2ae8,_0x11faad,_0x390e4c);if(_0x2d613b)return this[_0x2c3e8d(0x1e2)](_0x22fd2e,_0x3dfb7f,_0x2a4629,_0x20c301);{const _0x376dee=_0x3688e4(_0x2a4629,_0x1b7e2c,!0x0),_0x494c3d=_0x1b7e2c['lastRow']>=0x0?_0x1b7e2c['lastRow']+0x1:0x0,_0x1713bf=_0x2c5391[_0x2c3e8d(0x2b0)](),_0x104f92=_0x2c5391[_0x2c3e8d(0x12b)](),_0x5dab30=_0x376dee['length']>0x0?_0x4cd667:0x0,_0x10951c=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30,'col':_0x2a4629['col']},_0x2c5391,!0x1,!0x1),_0x4a7673=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30+_0x1713bf,'col':_0x2a4629[_0x2c3e8d(0x14c)]},_0xf3ea24,!0x1,!0x0),_0x54fd86=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30,'col':_0x2a4629[_0x2c3e8d(0x14c)]+_0x104f92},_0x28078c,!0x1,!0x0),_0x140770=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30+_0x1713bf,'col':_0x2a4629[_0x2c3e8d(0x14c)]+_0x104f92},_0x3fb37a,!0x1,!0x1);_0x20c301[_0x2c3e8d(0x250)]={'rowRanges':_0x4a7673,'colRanges':_0x54fd86,'cornerRanges':_0x10951c,'dataRanges':_0x140770,'pageRanges':_0x376dee};const _0x1ac22c=_0x21cd62(this[_0x2c3e8d(0x2f1)],_0x319956,_0x21619c,this['_textInfo']),{valueMatrix:_0x39867e,rowInfo:_0x5f1b95,colInfo:_0x21a293,cornerInfo:_0x5f53fa,rowHeaderMap:_0x4ca8b3,colHeaderMap:_0x4dd98a}=_0x1ac22c;return _0x20c301[_0x2c3e8d(0x155)]={'rowInfo':_0x5f1b95,'colInfo':_0x21a293,'cornerInfo':_0x5f53fa},_0x20c301[_0x2c3e8d(0xe2)]={'rowHeaderMap':_0x4ca8b3,'colHeaderMap':_0x4dd98a},_0x39867e[_0x2c3e8d(0x2f8)]((_0x5e089e,_0x45d5cf)=>{const _0x42ed2b=_0x2c3e8d;Object[_0x42ed2b(0x375)](_0x45d5cf)[_0x42ed2b(0x2f8)](_0x59f010=>{const _0xd530e8=_0x42ed2b,_0x46495a=+_0x59f010,_0x4c04e6=_0x39867e[_0xd530e8(0x381)](_0x5e089e,_0x46495a);_0x3dfb7f['setValue'](_0x5e089e,_0x46495a,_0x4c04e6);});}),this['_viewUpdate$'][_0x2c3e8d(0x2c4)]({'unitId':_0x3c2ae8,'subUnitId':_0x11faad,'valueMatrix':_0x3dfb7f,'rangesCache':_0x20c301[_0x2c3e8d(0x250)],'pivotTableId':_0x390e4c,'type':_0x22fd2e[_0x2c3e8d(0x347)]}),this[_0x2c3e8d(0xd6)][_0x2c3e8d(0x390)](_0x3c2ae8,_0x11faad,_0x390e4c,_0x3dfb7f,_0x20c301[_0x2c3e8d(0x250)]),this[_0x2c3e8d(0x35d)][_0x2c3e8d(0x371)](_0x3c2ae8,_0x11faad,_0x2a7c6b,this[_0x2c3e8d(0x148)](_0x20c301[_0x2c3e8d(0x250)],_0x390e4c)),{'rangeCache':_0x20c301[_0x2c3e8d(0x250)],'matrix':_0x3dfb7f};}}[_0x43ed60(0x1e2)](_0x372a1b,_0x361f80,_0x2c2a49,_0x5f27b3){const _0x5c007d=_0x43ed60,_0x52deca=this[_0x5c007d(0x1da)]['t'],{unitId:_0x309fe9,subUnitId:_0x5ab9a6,pivotTableId:_0x405464}=_0x372a1b,_0x1cba97={'filter':_0x52deca(_0x5c007d(0x306)),'row':_0x52deca('sheets-pivot.emptyPivot.row'),'column':_0x52deca('sheets-pivot.emptyPivot.column'),'values':_0x52deca(_0x5c007d(0xc3))},{matrixCache:_0x225016,rangesCache:_0x1b42d2}=_0x8a4b79(_0x1cba97,_0x2c2a49);return _0x225016[_0x5c007d(0x36d)]((_0x5ed95d,_0x361437,_0x2df27b)=>{const _0xdca79c=_0x5c007d;_0x361f80[_0xdca79c(0x297)](_0x5ed95d,_0x361437,_0x2df27b);}),_0x5f27b3[_0x5c007d(0x250)]=_0x1b42d2,this[_0x5c007d(0x369)]['next']({'unitId':_0x309fe9,'subUnitId':_0x5ab9a6,'valueMatrix':_0x361f80,'rangesCache':_0x1b42d2,'pivotTableId':_0x405464,'type':_0x372a1b[_0x5c007d(0x347)],'isEmpty':!0x0}),this[_0x5c007d(0xd6)][_0x5c007d(0x390)](_0x309fe9,_0x5ab9a6,_0x405464,_0x361f80,_0x1b42d2),this['_exclusiveRangeService'][_0x5c007d(0x371)](_0x309fe9,_0x5ab9a6,_0x2a7c6b,this[_0x5c007d(0x148)](_0x1b42d2,_0x405464)),{'rangeCache':_0x5f27b3[_0x5c007d(0x250)],'matrix':_0x361f80};}[_0x43ed60(0x148)](_0x1a2af4,_0x3e5fe9){const _0x2ebf1c=[],_0x46ba0f=_0x3fa2d9(_0x1a2af4);for(const _0x565c92 of _0x46ba0f)_0x2ebf1c['push']({'groupId':_0x3e5fe9,'range':_0x565c92});return _0x2ebf1c;}[_0x43ed60(0x26b)](_0x2a15c1){const _0x491487=_0x43ed60;var _0x157f9d,_0x47e446,_0x4d57f4,_0x49c4b1;const {pivotTableId:_0x1a2549,unitId:_0x4a4aab,subUnitId:_0x147f62}=_0x2a15c1;if(!_0x1a2549||!_0x4a4aab||!_0x147f62)return;const _0x3c396c=this['_ensurePivotItemRenderValueMatrixCache'](_0x4a4aab,_0x147f62),_0x5e4857=(_0x47e446=(_0x157f9d=this[_0x491487(0x17d)][_0x491487(0x33b)](_0x4a4aab))==null?void 0x0:_0x157f9d['get'](_0x147f62))==null?void 0x0:_0x47e446[_0x491487(0x33b)](_0x1a2549);if(_0x5e4857!=null&&_0x5e4857[_0x491487(0x250)]){for(const _0x2e8651 of Object[_0x491487(0x375)](_0x5e4857[_0x491487(0x250)]))_0x5e4857[_0x491487(0x250)][_0x2e8651][_0x491487(0x2f8)](_0x3075c7=>{const _0x4572d5=_0x491487;for(let _0xeb4143=_0x3075c7['startRow'];_0xeb4143<=_0x3075c7[_0x4572d5(0x18b)];_0xeb4143++)for(let _0x270563=_0x3075c7[_0x4572d5(0x135)];_0x270563<=_0x3075c7['endColumn'];_0x270563++)_0x3c396c['realDeleteValue'](_0xeb4143,_0x270563);});}_0x5e4857&&((_0x49c4b1=(_0x4d57f4=this[_0x491487(0x17d)]['get'](_0x4a4aab))==null?void 0x0:_0x4d57f4[_0x491487(0x33b)](_0x147f62))==null||_0x49c4b1[_0x491487(0x21c)](_0x1a2549)),this[_0x491487(0x369)][_0x491487(0x2c4)]({'unitId':_0x4a4aab,'subUnitId':_0x147f62,'valueMatrix':_0x3c396c,'pivotTableId':_0x1a2549,'rangesCache':void 0x0,'type':_0x2a15c1[_0x491487(0x347)]}),this[_0x491487(0x35d)][_0x491487(0x1fb)](_0x4a4aab,_0x147f62,_0x2a7c6b,_0x1a2549);}[_0x43ed60(0x2f5)](_0x5c1fc7,_0x1e3e1f,_0x246b68){const _0x63d079=_0x43ed60;var _0x169844,_0x49a1bc,_0x37c398,_0x3649c4,_0x1870da,_0x3b4666;return this[_0x63d079(0x17d)][_0x63d079(0x1d1)](_0x5c1fc7)||this[_0x63d079(0x17d)][_0x63d079(0x273)](_0x5c1fc7,new Map()),(_0x169844=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))!=null&&_0x169844['has'](_0x1e3e1f)||(_0x49a1bc=this['_pivotRenderInfoCache']['get'](_0x5c1fc7))==null||_0x49a1bc[_0x63d079(0x273)](_0x1e3e1f,new Map()),(_0x3649c4=(_0x37c398=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))==null?void 0x0:_0x37c398[_0x63d079(0x33b)](_0x1e3e1f))!=null&&_0x3649c4[_0x63d079(0x1d1)](_0x246b68)||(_0x3b4666=(_0x1870da=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))==null?void 0x0:_0x1870da[_0x63d079(0x33b)](_0x1e3e1f))==null||_0x3b4666[_0x63d079(0x273)](_0x246b68,{}),this['_pivotRenderInfoCache'][_0x63d079(0x33b)](_0x5c1fc7)['get'](_0x1e3e1f)[_0x63d079(0x33b)](_0x246b68);}[_0x43ed60(0x24b)](_0x303e80,_0x2c7b21){const _0x154881=_0x43ed60;var _0x46399f,_0x21f51d;return this[_0x154881(0x37e)][_0x154881(0x1d1)](_0x303e80)||this[_0x154881(0x37e)]['set'](_0x303e80,new Map()),(_0x46399f=this['_pivotRenderValueMatrixCache'][_0x154881(0x33b)](_0x303e80))!=null&&_0x46399f['has'](_0x2c7b21)||(_0x21f51d=this[_0x154881(0x37e)]['get'](_0x303e80))==null||_0x21f51d['set'](_0x2c7b21,new _0x3f1699[(_0x154881(0x2cb))]()),this[_0x154881(0x37e)][_0x154881(0x33b)](_0x303e80)[_0x154881(0x33b)](_0x2c7b21);}[_0x43ed60(0x224)](_0x43029e,_0x12dabd,_0x299b8f,_0x109982){const _0x2043c6=_0x43ed60;var _0x186d26,_0x2fb4b9;const _0x2c02dd=(_0x2fb4b9=(_0x186d26=this[_0x2043c6(0x37e)]['get'](_0x43029e))==null?void 0x0:_0x186d26[_0x2043c6(0x33b)](_0x12dabd))==null?void 0x0:_0x2fb4b9[_0x2043c6(0x381)](_0x299b8f,_0x109982);if(_0x2c02dd!=null)return _0x2c02dd;}[_0x43ed60(0x393)](_0x7cde2d,_0xb1d05d,_0x598c28,_0x5cd488){const _0x5c0ad1=_0x43ed60;var _0x53b89c;const _0x468d26=_0x3f1699[_0x5c0ad1(0x240)](_0x598c28,_0x5cd488),_0x466075=(_0x53b89c=this[_0x5c0ad1(0x17d)]['get'](_0x7cde2d))==null?void 0x0:_0x53b89c[_0x5c0ad1(0x33b)](_0xb1d05d);return _0x466075?Array[_0x5c0ad1(0xff)](_0x466075[_0x5c0ad1(0x375)]())[_0x5c0ad1(0xfb)](_0xbeae30=>{const _0x5c5d35=_0x5c0ad1,_0x1fb8b1=_0x466075['get'](_0xbeae30),_0x1b4473=_0x1fb8b1==null?void 0x0:_0x1fb8b1[_0x5c5d35(0x250)];return _0x1b4473?Object[_0x5c5d35(0x375)](_0x1b4473)['some'](_0x1a2096=>_0x1b4473[_0x1a2096][_0x5c5d35(0x35f)](_0x41f2cc=>_0x3f1699[_0x5c5d35(0x36b)][_0x5c5d35(0x123)](_0x41f2cc,_0x468d26))):!0x1;}):void 0x0;}[_0x43ed60(0x261)](_0x2339ef,_0x5041ca,_0x8729ba){const _0x49e538=_0x43ed60;var _0x26ad72;const _0xb00f56=(_0x26ad72=this[_0x49e538(0x17d)][_0x49e538(0x33b)](_0x2339ef))==null?void 0x0:_0x26ad72[_0x49e538(0x33b)](_0x5041ca),_0x33aec4=[];return _0xb00f56&&Array[_0x49e538(0xff)](_0xb00f56[_0x49e538(0x375)]())[_0x49e538(0x2f8)](_0x5a6241=>{const _0x3fc880=_0x49e538,_0x1c17bd=_0xb00f56[_0x3fc880(0x33b)](_0x5a6241),_0x450b34=_0x1c17bd==null?void 0x0:_0x1c17bd['rangesInfo'];if(_0x450b34)for(const _0x2870c0 of Object[_0x3fc880(0x213)](_0x450b34)){let _0x16518c=!0x1;for(const _0xc5d6f0 of _0x2870c0)if(_0x3f1699[_0x3fc880(0x36b)]['intersects'](_0xc5d6f0,_0x8729ba)){_0x33aec4[_0x3fc880(0x182)](_0x5a6241),_0x16518c=!0x0;break;}if(_0x16518c)break;}}),_0x33aec4;}[_0x43ed60(0x30b)](_0x4c7384,_0x4c8883){const _0x18ad65=_0x43ed60;var _0x17b742,_0x14fe06;return(_0x14fe06=(_0x17b742=this[_0x18ad65(0x37e)][_0x18ad65(0x33b)](_0x4c7384))==null?void 0x0:_0x17b742[_0x18ad65(0x33b)](_0x4c8883))!=null?_0x14fe06:new _0x3f1699[(_0x18ad65(0x2cb))]();}[_0x43ed60(0x154)](_0x32d147,_0x4c135a){const _0x3902e6=_0x43ed60;var _0x5d98ec;return(_0x5d98ec=this[_0x3902e6(0x17d)][_0x3902e6(0x33b)](_0x32d147))==null?void 0x0:_0x5d98ec[_0x3902e6(0x33b)](_0x4c135a);}[_0x43ed60(0x2e4)](_0x2bdf9b,_0x42a805,_0x238488){const _0x5d9fe2=_0x43ed60;var _0x5295fc,_0x327575;return(_0x327575=(_0x5295fc=this[_0x5d9fe2(0x17d)]['get'](_0x2bdf9b))==null?void 0x0:_0x5295fc[_0x5d9fe2(0x33b)](_0x42a805))==null?void 0x0:_0x327575[_0x5d9fe2(0x33b)](_0x238488);}[_0x43ed60(0x233)](_0x448ba3){const _0x24ce6e=_0x43ed60;this[_0x24ce6e(0x17d)][_0x24ce6e(0x21c)](_0x448ba3),this[_0x24ce6e(0x37e)][_0x24ce6e(0x21c)](_0x448ba3);}['markDirty'](_0x2061b2,_0x504b48){this['_markDirty$']['next']({'unitId':_0x2061b2,'subUnitId':_0x504b48});}},_0x89a8ec['SheetsPivotTableAdaptorModel']=_0x1fc49e([_0x1a911d(0x0,_0x3f1699['Inject'](_0x3f1699['LocaleService'])),_0x1a911d(0x1,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x383)])),_0x1a911d(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x1a911d(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x1a911d(0x4,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x132)]))],_0x89a8ec[_0x43ed60(0x1ef)]);var _0x3967c3=Object[_0x43ed60(0x269)],_0x1adeea=(_0x4c1b3e,_0x1605d4,_0x2f1484,_0x3b745f)=>{for(var _0x48cbf0=_0x3b745f>0x1?void 0x0:_0x3b745f?_0x3967c3(_0x1605d4,_0x2f1484):_0x1605d4,_0x2fbbdc=_0x4c1b3e['length']-0x1,_0xe88a64;_0x2fbbdc>=0x0;_0x2fbbdc--)(_0xe88a64=_0x4c1b3e[_0x2fbbdc])&&(_0x48cbf0=_0xe88a64(_0x48cbf0)||_0x48cbf0);return _0x48cbf0;},_0x4f2a49=(_0x3dc9a3,_0x2ead77)=>(_0x1dae1c,_0x2d8993)=>_0x2ead77(_0x1dae1c,_0x2d8993,_0x3dc9a3);_0x89a8ec[_0x43ed60(0xba)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x191c7e,_0xb4e1d9){const _0x33fef8=_0x43ed60;super(),_0x575f06(this,'asyncInterceptor',new _0x3f1699[(_0x33fef8(0x254))]({'PIVOT_PERFORM_CHECK':_0xb533ef})),_0x575f06(this,_0x33fef8(0x2f9),new _0x3f1699['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x2f0e9b})),(this['_sheetInterceptorService']=_0x191c7e,this[_0x33fef8(0x2cc)]=_0xb4e1d9,this[_0x33fef8(0x360)]());}[_0x43ed60(0x360)](){this['_initViewModelBySheetInterceptor']();}[_0x43ed60(0x2b4)](_0x175dec){const _0x2b0092=_0x43ed60;return this[_0x2b0092(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x1,_0x175dec);}[_0x43ed60(0x23d)](){const _0x635e23=_0x43ed60;this['disposeWithMe'](this['_sheetInterceptorService'][_0x635e23(0x188)](_0x1c7b09[_0x635e23(0x1f2)][_0x635e23(0x189)],{'priority':0xc8,'effect':_0x3f1699[_0x635e23(0x225)][_0x635e23(0x11a)]|_0x3f1699[_0x635e23(0x225)][_0x635e23(0x234)],'handler':(_0x45fe85,_0x34f4ca,_0x322dc3)=>{const _0x8b8be7=_0x635e23,{row:_0x521323,col:_0x201902,unitId:_0x2b9938,subUnitId:_0x2523aa,workbook:_0x2b07af}=_0x34f4ca,_0x4711bb=this[_0x8b8be7(0x2cc)][_0x8b8be7(0x224)](_0x2b9938,_0x2523aa,_0x521323,_0x201902);if(!_0x4711bb)return _0x322dc3(_0x45fe85);const _0x2b1650={..._0x45fe85};(_0x4711bb['v']||_0x4711bb['v']===0x0)&&(_0x2b1650['v']=_0x4711bb['v']),_0x4711bb['t']&&(_0x2b1650['t']=_0x4711bb['t']);const _0x5ef23e=(typeof(_0x45fe85==null?void 0x0:_0x45fe85['s'])==_0x8b8be7(0x38b)?_0x2b07af[_0x8b8be7(0x2ce)]()['get'](_0x45fe85==null?void 0x0:_0x45fe85['s']):_0x45fe85==null?void 0x0:_0x45fe85['s'])||{},_0x10ee08=_0x2b07af[_0x8b8be7(0x2ce)]()[_0x8b8be7(0x33b)](_0x4711bb['s']),_0x549d87={..._0x10ee08,..._0x5ef23e};_0x10ee08!=null&&_0x10ee08['n']&&(_0x549d87['n']=_0x10ee08['n']);const _0x3ac9fc=_0x2b07af[_0x8b8be7(0x2ce)]()[_0x8b8be7(0x297)](_0x549d87);return _0x2b1650['s']=_0x3ac9fc,(_0x4711bb[_0x8b8be7(0xa8)]===_0x24a6f0['PivotCellStyleTypeEnum'][_0x8b8be7(0x2db)]||_0x4711bb[_0x8b8be7(0xa8)]===_0x24a6f0[_0x8b8be7(0x2c1)][_0x8b8be7(0x39c)])&&(_0x2b1650[_0x8b8be7(0x3af)]={},_0x2b1650[_0x8b8be7(0x3af)]['leftOffset']=_0x121f60),_0x322dc3(_0x2b1650);}}));}},_0x89a8ec[_0x43ed60(0xba)]=_0x1adeea([_0x4f2a49(0x0,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x133)])),_0x4f2a49(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x1ef)]))],_0x89a8ec['SheetsPivotTableService']);function _0x10b759(_0x341db2,_0x451d17){const _0x50c3fe=_0x43ed60;switch(_0x451d17){case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x11a)]:return _0x341db2['valueFields'];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x385)]:return _0x341db2['filterFields'];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x352)]:return _0x341db2[_0x50c3fe(0x2d5)];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x14b)]:return _0x341db2[_0x50c3fe(0x2d9)];default:return[];}}function _0x27884e(_0x4b693e,_0x234c38){const _0x2a8932=_0x43ed60;return _0x4b693e[_0x2a8932(0x1ff)][_0x234c38]||_0x4b693e[_0x2a8932(0x1ab)][_0x234c38];}function _0x35d338(_0x5f1417,_0x169892){const _0x200c4d=_0x43ed60,{area:_0x28f95e,fieldJson:_0x6ea4ad,index:_0x2084fe}=_0x169892;_0x28f95e===_0x24a6f0[_0x200c4d(0x2b6)][_0x200c4d(0x11a)]?_0x5f1417[_0x200c4d(0x1ff)][_0x6ea4ad['id']]=_0x6ea4ad:_0x5f1417[_0x200c4d(0x1ab)][_0x6ea4ad['id']]=_0x6ea4ad,_0x10b759(_0x5f1417,_0x28f95e)[_0x200c4d(0xd0)](_0x2084fe,0x0,_0x6ea4ad['id']);}function _0x47202d(_0x4029fc,_0x3e05e5){const _0x72a01b=_0x43ed60,{area:_0x5cc3a0,fieldId:_0x5639b5,index:_0x39d6fe}=_0x3e05e5;_0x5cc3a0===_0x24a6f0['PivotTableFiledAreaEnum'][_0x72a01b(0x11a)]?delete _0x4029fc[_0x72a01b(0x1ff)][_0x5639b5]:delete _0x4029fc[_0x72a01b(0x1ab)][_0x5639b5],_0x10b759(_0x4029fc,_0x5cc3a0)[_0x72a01b(0xd0)](_0x39d6fe,0x1);}function _0xf2cdc1(_0x472af1,_0x14cb87){const {fieldId:_0x445387,name:_0x51552b}=_0x14cb87,_0x1c80d5=_0x27884e(_0x472af1,_0x445387);_0x1c80d5&&(_0x1c80d5['displayName']=_0x51552b);}function _0x41eed8(_0x3d5117,_0x4e4598){const _0x463e36=_0x43ed60,{fieldId:_0x4b2fa6,collapse:_0x2a715c,item:_0x16d7e4}=_0x4e4598;_0x16d7e4!==void 0x0?(_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]=_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]||{},_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6][_0x16d7e4]=_0x2a715c):_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]=_0x2a715c;}function _0x47bc72(_0x49f363,_0x126167){const _0x40be35=_0x43ed60,{fieldId:_0xe7bcb2,format:_0x12c7c5}=_0x126167,_0x1019a6=_0x27884e(_0x49f363,_0xe7bcb2);_0x1019a6&&(_0x1019a6[_0x40be35(0x2ac)]=_0x12c7c5);}function _0x575d8c(_0x55f59a,_0x8b87b5){const _0x43ac47=_0x43ed60,{fieldId:_0x1134a0,filterInfo:_0x871cca}=_0x8b87b5,_0x35f9d5=_0x27884e(_0x55f59a,_0x1134a0);_0x35f9d5&&(_0x35f9d5[_0x43ac47(0x22e)]=_0x871cca);}function _0x131fda(_0x51a736,_0x4c08ff){const _0x3d81a4=_0x43ed60,{fieldId:_0xe0062f,filterInfo:_0xcabd6e}=_0x4c08ff,_0x5068ce=_0x51a736['valueFilter'][_0x3d81a4(0x2a3)](_0x248e02=>_0x248e02[_0x3d81a4(0x196)]!==_0xe0062f);_0xcabd6e&&_0x5068ce['push']({'fieldId':_0xe0062f,'filterInfo':_0xcabd6e}),_0x51a736['valueFilter']=_0x5068ce;}function _0x11a70f(_0x58eaea,_0x4f44fd){const _0x397fad=_0x43ed60,{fieldId:_0x44c630,subtotalType:_0xb3534b}=_0x4f44fd,_0x475959=_0x27884e(_0x58eaea,_0x44c630);_0x475959&&(_0x475959[_0x397fad(0x296)]=_0xb3534b);}function _0x3a1a7d(_0xe50944,_0x158902){const _0x49e964=_0x43ed60,{fieldId:_0x1e7482,oldArea:_0x58eaa0,area:_0x58643c,oldIndex:_0x1a2994,index:_0x35e7e0}=_0x158902,_0x10bbca=_0x58eaa0!==_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)]&&_0x58643c===_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)],_0x28a924=_0x58eaa0===_0x24a6f0[_0x49e964(0x2b6)]['Value']&&_0x58643c!==_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)];if(_0x10bbca||_0x28a924){const _0x58a395=_0x27884e(_0xe50944,_0x1e7482);_0x58a395&&(_0x10bbca?(delete _0xe50944[_0x49e964(0x1ab)][_0x1e7482],_0xe50944[_0x49e964(0x1ff)][_0x1e7482]=_0x58a395):(delete _0xe50944['measure'][_0x1e7482],_0xe50944[_0x49e964(0x1ab)][_0x1e7482]=_0x58a395));}const _0x54ea36=_0x10b759(_0xe50944,_0x58eaa0),_0x27893d=_0x10b759(_0xe50944,_0x58643c);_0x54ea36[_0x49e964(0xd0)](_0x1a2994,0x1),_0x27893d[_0x49e964(0xd0)](_0x35e7e0,0x0,_0x1e7482);}function _0x3bbf67(_0x32de65,_0x242159){const _0x16b7d9=_0x43ed60,{valuePosition:_0xb9722c,index:_0x166e77}=_0x242159;_0x32de65[_0x16b7d9(0x98)]=_0xb9722c,_0x32de65[_0x16b7d9(0x374)]=_0x166e77;}function _0x4af060(_0x305409,_0x316596){const _0xa8b2b6=_0x43ed60,{tableFieldId:_0x1df4fb,sourceName:_0x569435,dataFieldId:_0x2b277c}=_0x316596,_0x3fc8ee=_0x27884e(_0x305409,_0x1df4fb);_0x3fc8ee&&(_0x3fc8ee['sourceName']=_0x569435,_0x3fc8ee[_0xa8b2b6(0xea)]=_0x2b277c);}function _0x2ad79e(_0x20ebea,_0x3c5359){const _0x39d24c=_0x43ed60,{fieldId:_0x853178,sortInfo:_0x48a3a0}=_0x3c5359,_0x41707d=_0x27884e(_0x20ebea,_0x853178);_0x41707d&&(_0x41707d[_0x39d24c(0x141)]=_0x48a3a0);}function _0x38c32f(_0x4102ce,_0x483e68){const _0x4971f9=_0x43ed60,{options:_0x471916}=_0x483e68;_0x4102ce[_0x4971f9(0x28e)]={..._0x4102ce[_0x4971f9(0x28e)],..._0x471916};}const _0x2683fb={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0xaa),'handler'(_0x44a04b,_0x59fe9c){const _0x18fffa=_0x43ed60;if(!_0x59fe9c)return!0x1;if(!!_0x44a04b[_0x18fffa(0x33b)](_0x3f1699[_0x18fffa(0x23e)])[_0x18fffa(0x30f)](_0x57d9c3))return!0x0;const _0x3cd1a9=_0x44a04b['get'](_0x89a8ec[_0x18fffa(0x1b5)]),{pivotTableId:_0x2cb395,fieldJson:_0x849b6d,area:_0x1c96b9,index:_0x4634cf,unitId:_0x490542,subUnitId:_0x570d00}=_0x59fe9c,_0x41cd8e=_0x3cd1a9['getPivotTableInstance'](_0x2cb395);if(!_0x41cd8e)return!0x1;let _0x3b1084;_0x1c96b9===_0x24a6f0[_0x18fffa(0x2b6)][_0x18fffa(0x11a)]?_0x3b1084=_0x24a6f0[_0x18fffa(0x18e)](_0x849b6d):_0x3b1084=_0x24a6f0[_0x18fffa(0x2e0)](_0x849b6d),_0x41cd8e[_0x18fffa(0x372)](_0x3b1084,_0x1c96b9,_0x4634cf);const _0x25157c=_0x3cd1a9[_0x18fffa(0x26c)](_0x490542,_0x570d00,_0x2cb395);_0x35d338(_0x25157c,_0x59fe9c);const _0x4b89cf=_0x3cd1a9['getPivotTableConfig'](_0x490542,_0x570d00,_0x2cb395);return _0x3cd1a9[_0x18fffa(0x232)]({'unitId':_0x490542,'subUnitId':_0x570d00,'token':_0x2cb395,'type':_0x1870de[_0x18fffa(0xf0)],'pivotConfig':_0x4b89cf}),!0x0;}},_0x4c4039={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x518c97,_0x2d60f2){const _0x202595=_0x43ed60;if(!_0x2d60f2)return!0x1;if(!!_0x518c97[_0x202595(0x33b)](_0x3f1699[_0x202595(0x23e)])[_0x202595(0x30f)](_0x57d9c3))return!0x0;const _0x5c11cc=_0x518c97[_0x202595(0x33b)](_0x89a8ec[_0x202595(0x1b5)]),{pivotTableId:_0x7bdca1,fieldId:_0x2eb64a,unitId:_0x3027e9,subUnitId:_0x181317}=_0x2d60f2,_0x589214=_0x5c11cc[_0x202595(0x1bf)](_0x7bdca1);if(!_0x589214)return!0x1;_0x589214[_0x202595(0x32f)](_0x2eb64a);const _0x58b2bd=_0x5c11cc[_0x202595(0x26c)](_0x3027e9,_0x181317,_0x7bdca1);_0x47202d(_0x58b2bd,_0x2d60f2);const _0x38e4ac=_0x5c11cc[_0x202595(0x275)](_0x3027e9,_0x181317,_0x7bdca1);return _0x5c11cc['addDirtyPivotTable']({'unitId':_0x3027e9,'subUnitId':_0x181317,'token':_0x7bdca1,'type':_0x1870de['Set'],'pivotConfig':_0x38e4ac}),!0x0;}},_0x33ff97={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0x14e),'handler'(_0x168d13,_0x4b3335){const _0x516393=_0x43ed60;if(!_0x4b3335)return!0x1;if(!!_0x168d13[_0x516393(0x33b)](_0x3f1699['IConfigService'])[_0x516393(0x30f)](_0x57d9c3))return!0x0;const _0x590ac2=_0x168d13[_0x516393(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x4f344a,subUnitId:_0x5acfcb,pivotTableId:_0x4d01d0,fieldId:_0x26e519,name:_0x4d4baf}=_0x4b3335,_0x2a4861=_0x590ac2[_0x516393(0x1bf)](_0x4d01d0);if(!_0x2a4861)return!0x1;_0x2a4861[_0x516393(0xb2)](_0x26e519,_0x4d4baf);const _0x5a6532=_0x590ac2[_0x516393(0x26c)](_0x4f344a,_0x5acfcb,_0x4d01d0);return _0xf2cdc1(_0x5a6532,_0x4b3335),_0x590ac2['addDirtyPivotTable']({'unitId':_0x4f344a,'subUnitId':_0x5acfcb,'token':_0x4d01d0,'type':_0x1870de[_0x516393(0xf0)]}),!0x0;}},_0x4d2e93={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x308289,_0x192eaa){const _0x12a365=_0x43ed60;if(!_0x192eaa)return!0x1;if(!!_0x308289[_0x12a365(0x33b)](_0x3f1699[_0x12a365(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x45e984=_0x308289[_0x12a365(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x55db88,subUnitId:_0x5f47b9,pivotTableId:_0x27f173,fieldId:_0x934efd,collapse:_0x1a911c,item:_0x59ec97}=_0x192eaa,_0xa69924=_0x45e984[_0x12a365(0x1bf)](_0x27f173);if(!_0xa69924)return!0x1;_0xa69924['setCollapse'](_0x934efd,_0x1a911c,_0x59ec97);const _0x4610a0=_0x45e984[_0x12a365(0x26c)](_0x55db88,_0x5f47b9,_0x27f173);return _0x41eed8(_0x4610a0,_0x192eaa),_0x45e984[_0x12a365(0x232)]({'unitId':_0x55db88,'subUnitId':_0x5f47b9,'token':_0x27f173,'type':_0x1870de['Set']}),!0x0;}},_0x574c2c={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x3ab),'handler'(_0x47615d,_0x1ecfeb){const _0x141630=_0x43ed60;if(!_0x1ecfeb)return!0x1;if(!!_0x47615d[_0x141630(0x33b)](_0x3f1699[_0x141630(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x14b921=_0x47615d[_0x141630(0x33b)](_0x89a8ec[_0x141630(0x1b5)]),{unitId:_0x49e972,subUnitId:_0x51842e,pivotTableId:_0x265973,fieldId:_0x6f0d34,format:_0x4c5ad1}=_0x1ecfeb,_0x457c90=_0x14b921['getPivotTableInstance'](_0x265973);if(!_0x457c90)return!0x1;_0x457c90['setFieldFormat'](_0x6f0d34,_0x4c5ad1);const _0x485314=_0x14b921['getPivotTableModelConfig'](_0x49e972,_0x51842e,_0x265973);return _0x47bc72(_0x485314,_0x1ecfeb),_0x14b921[_0x141630(0x232)]({'unitId':_0x49e972,'subUnitId':_0x51842e,'token':_0x265973,'type':_0x1870de[_0x141630(0xf0)]}),!0x0;}},_0x32fa40={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x1ed),'handler'(_0x1098e4,_0x532c15){const _0x2b1ed9=_0x43ed60;if(!_0x532c15)return!0x1;if(!!_0x1098e4[_0x2b1ed9(0x33b)](_0x3f1699[_0x2b1ed9(0x23e)])[_0x2b1ed9(0x30f)](_0x57d9c3))return!0x0;const _0x4fb6ac=_0x1098e4[_0x2b1ed9(0x33b)](_0x89a8ec[_0x2b1ed9(0x1b5)]),{unitId:_0xda400,subUnitId:_0x47d473,pivotTableId:_0x365081,fieldId:_0x5ceff5,filterInfo:_0x2fbdb2}=_0x532c15,_0x369c34=_0x4fb6ac[_0x2b1ed9(0x1bf)](_0x365081);if(!_0x369c34)return!0x1;_0x369c34[_0x2b1ed9(0xd5)](_0x5ceff5,_0x2fbdb2);const _0x17769c=_0x4fb6ac[_0x2b1ed9(0x26c)](_0xda400,_0x47d473,_0x365081);return _0x575d8c(_0x17769c,_0x532c15),_0x4fb6ac[_0x2b1ed9(0x232)]({'unitId':_0xda400,'subUnitId':_0x47d473,'token':_0x365081,'type':_0x1870de[_0x2b1ed9(0xf0)]}),!0x0;}},_0x1082bc={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2d7),'handler'(_0x3ed879,_0x570bd1){const _0x29972f=_0x43ed60;if(!_0x570bd1)return!0x1;if(!!_0x3ed879[_0x29972f(0x33b)](_0x3f1699[_0x29972f(0x23e)])[_0x29972f(0x30f)](_0x57d9c3))return!0x0;const _0x4ab4f9=_0x3ed879[_0x29972f(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x1a3405,subUnitId:_0x555186,pivotTableId:_0xbe9dc1,options:_0x5d0bc6}=_0x570bd1,_0x4c7782=_0x4ab4f9[_0x29972f(0x1bf)](_0xbe9dc1);if(!_0x4c7782)return!0x1;_0x4c7782[_0x29972f(0x2a4)](_0x5d0bc6);const _0x55ead7=_0x4ab4f9[_0x29972f(0x26c)](_0x1a3405,_0x555186,_0xbe9dc1);return _0x38c32f(_0x55ead7,_0x570bd1),_0x4ab4f9['addDirtyPivotTable']({'unitId':_0x1a3405,'subUnitId':_0x555186,'token':_0xbe9dc1,'type':_0x1870de['Set']}),!0x0;}},_0xdc2a8={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x10c),'handler'(_0x188978,_0x3a44fd){const _0x4a3bc7=_0x43ed60;if(!_0x3a44fd)return!0x1;if(!!_0x188978[_0x4a3bc7(0x33b)](_0x3f1699[_0x4a3bc7(0x23e)])[_0x4a3bc7(0x30f)](_0x57d9c3))return!0x0;const _0x11fade=_0x188978['get'](_0x89a8ec[_0x4a3bc7(0x1b5)]),{unitId:_0x37d5f7,subUnitId:_0x219d84,pivotTableId:_0x3c6f46,sortInfo:_0x4a74ed,fieldId:_0x3871ba}=_0x3a44fd,_0x365b7f=_0x11fade['getPivotTableInstance'](_0x3c6f46);if(!_0x365b7f)return!0x1;_0x365b7f['setSortInfo'](_0x3871ba,_0x4a74ed);const _0x3bf13b=_0x11fade[_0x4a3bc7(0x26c)](_0x37d5f7,_0x219d84,_0x3c6f46);return _0x2ad79e(_0x3bf13b,_0x3a44fd),_0x11fade[_0x4a3bc7(0x232)]({'unitId':_0x37d5f7,'subUnitId':_0x219d84,'token':_0x3c6f46,'type':_0x1870de['Set']}),!0x0;}},_0x47dd65={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x333),'handler'(_0x22f2d1,_0x317179){const _0x5ece04=_0x43ed60;if(!_0x317179)return!0x1;if(!!_0x22f2d1['get'](_0x3f1699[_0x5ece04(0x23e)])[_0x5ece04(0x30f)](_0x57d9c3))return!0x0;const _0x385ff8=_0x22f2d1[_0x5ece04(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x5ec802,subUnitId:_0x3c07bb,pivotTableId:_0x44db1f,fieldId:_0x1be5c8,subtotalType:_0x2d59fc}=_0x317179,_0x3bc300=_0x385ff8[_0x5ece04(0x1bf)](_0x44db1f);if(!_0x3bc300)return!0x1;_0x3bc300[_0x5ece04(0x1a9)](_0x1be5c8,_0x2d59fc);const _0x91aa73=_0x385ff8[_0x5ece04(0x26c)](_0x5ec802,_0x3c07bb,_0x44db1f);return _0x11a70f(_0x91aa73,_0x317179),_0x385ff8['addDirtyPivotTable']({'unitId':_0x5ec802,'subUnitId':_0x3c07bb,'token':_0x44db1f,'type':_0x1870de['Set']}),!0x0;}},_0x56fe20={'type':_0x3f1699['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x1403d8,_0x5057e8){const _0x52583a=_0x43ed60;if(!_0x5057e8)return!0x1;if(!!_0x1403d8[_0x52583a(0x33b)](_0x3f1699[_0x52583a(0x23e)])[_0x52583a(0x30f)](_0x57d9c3))return!0x0;const _0x4e8eff=_0x1403d8[_0x52583a(0x33b)](_0x89a8ec[_0x52583a(0x1b5)]),{unitId:_0x4d197e,subUnitId:_0x405b41,pivotTableId:_0x4edfb0,fieldId:_0x52906a,filterInfo:_0x314847}=_0x5057e8,_0x2cc6b2=_0x4e8eff[_0x52583a(0x1bf)](_0x4edfb0);if(!_0x2cc6b2)return!0x1;_0x2cc6b2[_0x52583a(0x2b9)](_0x52906a,_0x314847);const _0x3eb27d=_0x4e8eff['getPivotTableModelConfig'](_0x4d197e,_0x405b41,_0x4edfb0);return _0x131fda(_0x3eb27d,_0x5057e8),_0x4e8eff[_0x52583a(0x232)]({'unitId':_0x4d197e,'subUnitId':_0x405b41,'token':_0x4edfb0,'type':_0x1870de[_0x52583a(0xf0)]}),!0x0;}},_0x1389af={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x128),'handler'(_0x4ff2eb,_0x2d959b){const _0x5a13a4=_0x43ed60;if(!_0x2d959b)return!0x1;if(!!_0x4ff2eb[_0x5a13a4(0x33b)](_0x3f1699[_0x5a13a4(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x1d67f8=_0x4ff2eb['get'](_0x89a8ec[_0x5a13a4(0x1b5)]),{unitId:_0x4a808e,subUnitId:_0x261b08,pivotTableId:_0x554428,area:_0x12db79,index:_0x128cce,fieldId:_0x3900e5}=_0x2d959b,_0x12f6c4=_0x1d67f8[_0x5a13a4(0x1bf)](_0x554428);if(!_0x12f6c4)return!0x1;_0x12f6c4[_0x5a13a4(0x109)](_0x3900e5,_0x12db79,_0x128cce);const _0xbae0da=_0x1d67f8[_0x5a13a4(0x26c)](_0x4a808e,_0x261b08,_0x554428);return _0x3a1a7d(_0xbae0da,_0x2d959b),_0x1d67f8['addDirtyPivotTable']({'unitId':_0x4a808e,'subUnitId':_0x261b08,'token':_0x554428,'type':_0x1870de['Set']}),!0x0;}},_0x344faf={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x38f),'handler'(_0x21945a,_0x413c67){const _0x6e3d88=_0x43ed60;if(!_0x413c67)return!0x1;if(!!_0x21945a[_0x6e3d88(0x33b)](_0x3f1699['IConfigService'])[_0x6e3d88(0x30f)](_0x57d9c3))return!0x0;const _0x2f0cc2=_0x21945a[_0x6e3d88(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x204d82,subUnitId:_0xa41127,pivotTableId:_0x347822,sourceName:_0x4dc8c7,dataFieldId:_0x2c49be,tableFieldId:_0x5f0724}=_0x413c67,_0x3db347=_0x2f0cc2[_0x6e3d88(0x1bf)](_0x347822);if(!_0x3db347)return!0x1;_0x3db347[_0x6e3d88(0x1bc)](_0x5f0724,_0x4dc8c7,_0x2c49be);const _0x598ea0=_0x2f0cc2[_0x6e3d88(0x26c)](_0x204d82,_0xa41127,_0x347822);return _0x4af060(_0x598ea0,_0x413c67),_0x2f0cc2['addDirtyPivotTable']({'unitId':_0x204d82,'subUnitId':_0xa41127,'token':_0x347822,'type':_0x1870de['Set']}),!0x0;}},_0xad2258={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x26f),'handler'(_0x560e86,_0x524391){const _0x491d94=_0x43ed60;if(!_0x524391)return!0x1;if(!!_0x560e86[_0x491d94(0x33b)](_0x3f1699[_0x491d94(0x23e)])[_0x491d94(0x30f)](_0x57d9c3))return!0x0;const _0x3926d6=_0x560e86[_0x491d94(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x10f49a,subUnitId:_0x2f8abb,pivotTableId:_0x389f09,valuePosition:_0x2c66b2,index:_0x33120c}=_0x524391,_0x7fb1d0=_0x3926d6[_0x491d94(0x1bf)](_0x389f09);if(!_0x7fb1d0)return!0x1;_0x7fb1d0[_0x491d94(0x386)](_0x2c66b2,_0x33120c);const _0x49be1d=_0x3926d6[_0x491d94(0x26c)](_0x10f49a,_0x2f8abb,_0x389f09);return _0x3bbf67(_0x49be1d,_0x524391),_0x3926d6[_0x491d94(0x232)]({'unitId':_0x10f49a,'subUnitId':_0x2f8abb,'token':_0x389f09,'type':_0x1870de[_0x491d94(0xf0)]}),!0x0;}};function _0x122330(_0x3bbd3b,_0x3aa680,_0x561847){const _0x2e7e60=_0x43ed60,{pivotTableId:_0x22432b,unitId:_0x8e1edf,subUnitId:_0x50dae8}=_0x3aa680,_0x3d307d=[],_0x28815d=[];for(const _0x24e382 of _0x561847)switch(_0x24e382['type']){case _0x24a6f0[_0x2e7e60(0x295)]['AddField']:{const {fieldJson:_0x140c87,area:_0x283aeb,index:_0x363b63}=_0x24e382,_0x6b782c={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldJson':_0x140c87,'area':_0x283aeb,'index':_0x363b63},_0x4fa736={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x140c87['id'],'area':_0x283aeb,'index':_0x363b63};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x2683fb['id'],'params':_0x6b782c}),_0x28815d['unshift']({'id':_0x4c4039['id'],'params':_0x4fa736});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x2d3)]:{const {fieldId:_0x32fc67,newSubtotalType:_0x337eda,oldSubtotalType:_0x1e9734}=_0x24e382,_0x2a1b7b={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x32fc67,'subtotalType':_0x337eda};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x47dd65['id'],'params':_0x2a1b7b});const _0x3859ce={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x32fc67,'subtotalType':_0x1e9734};_0x28815d[_0x2e7e60(0x318)]({'id':_0x47dd65['id'],'params':_0x3859ce});}break;case _0x24a6f0['PivotTableChangeTypeEnum'][_0x2e7e60(0x200)]:{const {fieldId:_0x3f6341,fieldJson:_0x10f92f,area:_0x27bb98,index:_0x75cd4c}=_0x24e382,_0x149209={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3f6341,'index':_0x75cd4c,'area':_0x27bb98};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x4c4039['id'],'params':_0x149209});const _0x4d6ea0={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldJson':_0x10f92f,'area':_0x27bb98,'index':_0x75cd4c};_0x28815d['unshift']({'id':_0x2683fb['id'],'params':_0x4d6ea0});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x321)]:{const {fieldId:_0x3791f7,oldName:_0x41b6e6,newName:_0x548c40}=_0x24e382,_0x1261e3={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3791f7,'name':_0x548c40};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x33ff97['id'],'params':_0x1261e3});const _0x444c0c={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3791f7,'name':_0x41b6e6};_0x28815d[_0x2e7e60(0x318)]({'id':_0x33ff97['id'],'params':_0x444c0c});}break;case _0x24a6f0[_0x2e7e60(0x295)]['SetFilterInfo']:{const {fieldId:_0x440b95,oldFilterInfo:_0x49e3d2,newFilterInfo:_0x58cf08}=_0x24e382,_0x3ec973={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x440b95,'filterInfo':_0x58cf08};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x32fa40['id'],'params':_0x3ec973});const _0x3a7712={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x440b95,'filterInfo':_0x49e3d2};_0x28815d[_0x2e7e60(0x318)]({'id':_0x32fa40['id'],'params':_0x3a7712});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x2bc)]:{const {fieldId:_0x3fdf3d,oldSortInfo:_0x355b55,newSortInfo:_0x482b1d}=_0x24e382,_0x23a02d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3fdf3d,'sortInfo':_0x482b1d};_0x3d307d[_0x2e7e60(0x182)]({'id':_0xdc2a8['id'],'params':_0x23a02d});const _0x1ec93d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3fdf3d,'sortInfo':_0x355b55};_0x28815d['unshift']({'id':_0xdc2a8['id'],'params':_0x1ec93d});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x25f)]:{const {oldOptions:_0x3e2f1f,newOptions:_0x4212aa}=_0x24e382,_0x4a4774={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'options':_0x4212aa};_0x3d307d['push']({'id':_0x1082bc['id'],'params':_0x4a4774});const _0x258ef3={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'options':_0x3e2f1f};_0x28815d[_0x2e7e60(0x318)]({'id':_0x1082bc['id'],'params':_0x258ef3});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x208)]:{const {oldArea:_0x5aa979,newArea:_0x4d276a,oldIndex:_0x157bce,newIndex:_0x910235,fieldId:_0x4b5210}=_0x24e382,_0x4c4613={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x4b5210,'area':_0x4d276a,'index':_0x910235,'oldArea':_0x5aa979,'oldIndex':_0x157bce};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x1389af['id'],'params':_0x4c4613});const _0x52e795={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x4b5210,'area':_0x5aa979,'index':_0x157bce,'oldArea':_0x4d276a,'oldIndex':_0x910235};_0x28815d[_0x2e7e60(0x318)]({'id':_0x1389af['id'],'params':_0x52e795});}break;case _0x24a6f0[_0x2e7e60(0x295)]['UpdateValuePosition']:{const {oldValuePosition:_0x185b55,newValuePosition:_0x1e4969,oldIndex:_0x109352,newIndex:_0x5da059}=_0x24e382,_0x542cd4={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'valuePosition':_0x1e4969,'index':_0x5da059};_0x3d307d[_0x2e7e60(0x182)]({'id':_0xad2258['id'],'params':_0x542cd4});const _0x48fb6d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'valuePosition':_0x185b55,'index':_0x109352};_0x28815d[_0x2e7e60(0x318)]({'id':_0xad2258['id'],'params':_0x48fb6d});}break;case _0x24a6f0[_0x2e7e60(0x295)]['SetCollapse']:{const {fieldId:_0x438157,collapse:_0x36bb8d,item:_0x6afd2b}=_0x24e382,_0x52c8fb={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x438157,'collapse':_0x36bb8d,'item':_0x6afd2b};_0x3d307d['push']({'id':_0x4d2e93['id'],'params':_0x52c8fb});const _0xf5a0bb={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x438157,'collapse':!_0x36bb8d,'item':_0x6afd2b};_0x28815d[_0x2e7e60(0x318)]({'id':_0x4d2e93['id'],'params':_0xf5a0bb});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x150)]:{const {newFormat:_0x43ed64,oldFormat:_0x584585,fieldId:_0x52da6e}=_0x24e382,_0x5291f7={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x52da6e,'format':_0x43ed64};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x574c2c['id'],'params':_0x5291f7});const _0x30e663={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x52da6e,'format':_0x584585};_0x28815d['unshift']({'id':_0x574c2c['id'],'params':_0x30e663});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0xe8)]:{const {tableFieldId:_0x4d6b1f,oldSourceName:_0x8fa71e,newSourceName:_0x1506f6,oldDataFieldId:_0x52baf2,newDataFieldId:_0x551499}=_0x24e382,_0xa106ab={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'tableFieldId':_0x4d6b1f,'sourceName':_0x1506f6,'dataFieldId':_0x551499};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x344faf['id'],'params':_0xa106ab});const _0x12aae1={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'tableFieldId':_0x4d6b1f,'sourceName':_0x8fa71e,'dataFieldId':_0x52baf2};_0x28815d[_0x2e7e60(0x318)]({'id':_0x344faf['id'],'params':_0x12aae1});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x164)]:{const {fieldId:_0x58e66b,filterInfo:_0x4422ea,oldFilterInfo:_0x2e7824}=_0x24e382,_0x329b4f={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x58e66b,'filterInfo':_0x4422ea};_0x3d307d['push']({'id':_0x56fe20['id'],'params':_0x329b4f});const _0x112daa={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x58e66b,'filterInfo':_0x2e7824};_0x28815d[_0x2e7e60(0x318)]({'id':_0x56fe20['id'],'params':_0x112daa});}}return{'redos':_0x3d307d,'undos':_0x28815d};}function _0x2debb2(_0x5d4cad,_0x2ce24b){const _0x460144=_0x43ed60;var _0x32e619;const _0x5c7a28=_0x5d4cad[_0x460144(0x33b)](_0x89a8ec[_0x460144(0xba)]),{cellInfo:_0x4de9a4,view:_0x56fe46,isEmpty:_0x33c63d}=_0x2ce24b;return(_0x32e619=_0x5c7a28[_0x460144(0x2f9)][_0x460144(0x22b)](_0x2f0e9b)(_0x505667,{'cellInfo':_0x4de9a4,'view':_0x56fe46,'isEmpty':_0x33c63d}))!=null?_0x32e619:_0x505667;}const _0x3efb0f=()=>typeof process<'u'&&process[_0x43ed60(0x239)]!=null&&process[_0x43ed60(0x239)][_0x43ed60(0x2cf)]!=null,_0x158817={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x12c),'handler'(_0x1cb0a0,_0x162148){const _0x1c0520=_0x43ed60;var _0x4a49cb;if(!_0x162148)return!0x1;const _0x262808=_0x1cb0a0[_0x1c0520(0x33b)](_0x3f1699[_0x1c0520(0x23e)]);if(!!_0x262808['getConfig'](_0x57d9c3))return!0x0;const _0xe0d27c=_0x1cb0a0[_0x1c0520(0x33b)](_0x3f1699[_0x1c0520(0x1b9)]),_0x2693c0=_0x1cb0a0[_0x1c0520(0x33b)](_0x89a8ec[_0x1c0520(0x1b5)]),{pivotTableId:_0xa8e5de,pivotTableConfig:_0x59ef01,collectionConfig:_0x8da18a,unitId:_0x31d81f,subUnitId:_0x446ba8}=_0x162148,{sourceRangeInfo:_0x1553df,fieldsConfig:_0x26beda,targetCellInfo:_0x3b9e8b}=_0x59ef01,_0x4c4cf2=_0xe0d27c[_0x1c0520(0x35a)](_0x31d81f);if(!_0x4c4cf2||!_0x4c4cf2[_0x1c0520(0x11d)](_0x446ba8))return!0x1;if(!_0x3efb0f()){let _0x29f47f=0x0;_0x4c4cf2[_0x1c0520(0x2e6)]()[_0x1c0520(0x2f8)](_0x4090b9=>{const _0x4c2493=_0x1c0520;var _0x4c1195,_0x1b9592;_0x29f47f+=(_0x1b9592=(_0x4c1195=_0x2693c0['getSubUnitPivotConfigs'](_0x31d81f,_0x4090b9[_0x4c2493(0x344)]()))==null?void 0x0:_0x4c1195[_0x4c2493(0x1e8)])!=null?_0x1b9592:0x0;});const _0xbb87e9=(_0x4a49cb=_0x262808[_0x1c0520(0x30f)](_0x48414d[_0x1c0520(0x228)]))!=null?_0x4a49cb:{},{ls:_0x374f06,pbk:_0x18858}=_0xbb87e9;if(!_0x35e5f9(_0x374f06,_0x18858))throw new _0x3f1699[(_0x1c0520(0x282))](_0x1c0520(0x298));const _0x796758=_0xa1005d(_0x53ba46,_0x374f06,_0x18858)[_0x1c0520(0x28f)];if(_0x29f47f>=_0x796758)throw new _0x3f1699[(_0x1c0520(0x282))](_0x1c0520(0x298));}if(!_0x8da18a||!_0x26beda)return!0x1;const {collection:_0x34fb01,updateDataFieldList:_0x3f051e}=_0x2693c0[_0x1c0520(0x1c3)](_0xa8e5de,_0x8da18a,_0x1553df,_0x3b9e8b);_0x2693c0['refreshData'](_0x34fb01,_0x3f051e,_0x1553df);const _0x326989=new _0x24a6f0[(_0x1c0520(0x308))](_0x34fb01,void 0x0,_0xa8e5de);_0x326989[_0x1c0520(0x327)](_0x26beda);const _0x5ca5bb=JSON[_0x1c0520(0x203)](JSON[_0x1c0520(0x252)](_0x59ef01));return _0x2693c0['addPivotTable'](_0x31d81f,_0x446ba8,_0xa8e5de,_0x326989,_0x5ca5bb),_0x2693c0['addDirtyPivotTable']({'unitId':_0x31d81f,'subUnitId':_0x446ba8,'token':_0xa8e5de,'type':_0x1870de[_0x1c0520(0x11b)],'pivotConfig':_0x5ca5bb}),!0x0;}},_0x3fa252={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x315),'handler'(_0x1b5a3d,_0xd597b5){const _0x5df4e6=_0x43ed60;if(!_0xd597b5)return!0x1;if(!!_0x1b5a3d[_0x5df4e6(0x33b)](_0x3f1699['IConfigService'])[_0x5df4e6(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x114c56,unitId:_0x36892b,subUnitId:_0x342f77}=_0xd597b5,_0x24c86a=_0x1b5a3d[_0x5df4e6(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']);return _0x24c86a[_0x5df4e6(0x275)](_0x36892b,_0x342f77,_0x114c56)?(_0x24c86a['addDirtyPivotTable']({'unitId':_0x36892b,'subUnitId':_0x342f77,'token':_0x114c56,'type':_0x1870de[_0x5df4e6(0x39e)]}),_0x24c86a['removePivotTable'](_0x36892b,_0x342f77,_0x114c56),!0x0):!0x1;}},_0x118dc3={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0xfa),'handler'(_0x36aaca,_0x167431){const _0x450119=_0x43ed60;if(!_0x167431)return!0x1;if(!!_0x36aaca[_0x450119(0x33b)](_0x3f1699[_0x450119(0x23e)])[_0x450119(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x55c593,targetCellPosition:_0x925ed8,unitId:_0x5bba26,subUnitId:_0xcabdb7}=_0x167431,_0x22b900=_0x36aaca[_0x450119(0x33b)](_0x89a8ec[_0x450119(0x1b5)]);if(!_0x22b900['getPivotTableInstance'](_0x167431[_0x450119(0x281)]))return!0x1;const _0x44f510=_0x22b900['getTargetByPivotId'](_0x55c593);if(!_0x44f510)return!0x1;const _0x46d3c3=_0x22b900[_0x450119(0x361)](_0x44f510[_0x450119(0x210)],_0x167431[_0x450119(0x281)]);if(!_0x46d3c3)return!0x1;const _0x50a784=_0x22b900['getPivotTableConfig'](_0x44f510['unitId'],_0x44f510[_0x450119(0x15a)],_0x55c593);if(!_0x50a784)return!0x1;const _0x56eb2f=_0x3f1699[_0x450119(0x21b)][_0x450119(0xf5)](_0x50a784);_0x56eb2f[_0x450119(0x3a4)]={'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'row':_0x925ed8['row'],'col':_0x925ed8[_0x450119(0x14c)]};const _0x4f33c9=_0x46d3c3[_0x450119(0x10f)]();if(_0x44f510['subUnitId']===_0xcabdb7&&_0x44f510['unitId']===_0x5bba26)_0x22b900['setPivotTable'](_0x5bba26,_0xcabdb7,_0x55c593,_0x56eb2f),_0x22b900[_0x450119(0x232)]({'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'token':_0x55c593,'type':_0x1870de['Set']});else{_0x22b900[_0x450119(0x232)]({'unitId':_0x44f510['unitId'],'subUnitId':_0x44f510[_0x450119(0x15a)],'token':_0x55c593,'type':_0x1870de[_0x450119(0x39e)]}),_0x22b900['removePivotTable'](_0x44f510[_0x450119(0x210)],_0x44f510[_0x450119(0x15a)],_0x55c593);const _0x59921b=_0x22b900[_0x450119(0x1c3)](_0x55c593,_0x4f33c9,_0x50a784['sourceRangeInfo'],_0x56eb2f[_0x450119(0x3a4)]),_0x5ce531=new _0x24a6f0['PivotTable'](_0x59921b['collection'],void 0x0,_0x55c593);_0x5ce531['fromJSON'](_0x56eb2f[_0x450119(0x1d8)]),_0x22b900[_0x450119(0x2b2)](_0x5bba26,_0xcabdb7,_0x55c593,_0x5ce531,_0x56eb2f),_0x22b900[_0x450119(0x232)]({'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'token':_0x55c593,'type':_0x1870de[_0x450119(0x11b)],'pivotConfig':_0x56eb2f});}return!0x0;}},_0x100c03={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x32b),'handler'(_0x5ed09a,_0x42d42f){const _0x24feea=_0x43ed60;if(!_0x42d42f)return!0x1;if(!!_0x5ed09a[_0x24feea(0x33b)](_0x3f1699['IConfigService'])[_0x24feea(0x30f)](_0x57d9c3))return!0x0;const _0x25a34e=_0x5ed09a[_0x24feea(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{pivotTableId:_0x44fa88,deleteIds:_0x17ca99,collectionJSON:_0x53d941,dataRangeInfo:_0x1cdf32,unitId:_0x4e203f,subUnitId:_0xdc91e8}=_0x42d42f,_0x3eec08=_0x25a34e[_0x24feea(0x1bf)](_0x44fa88),_0x50ad20=_0x25a34e['getPivotTableConfig'](_0x4e203f,_0xdc91e8,_0x44fa88);if(!_0x3eec08||!_0x50ad20)return!0x1;const {collection:_0x123e1b,updateDataFieldList:_0xa42749}=_0x25a34e['addCollectionByJSON'](_0x44fa88,_0x53d941,_0x1cdf32,_0x50ad20[_0x24feea(0x3a4)]);_0x25a34e[_0x24feea(0xf8)](_0x123e1b,_0xa42749,_0x1cdf32),_0x3eec08[_0x24feea(0x320)](_0x123e1b);for(const _0x3090db of _0x17ca99)_0x25a34e['removeDataField'](_0x1cdf32[_0x24feea(0x210)],_0x3090db);const _0x508ff5=_0x25a34e['getPivotTableConfig'](_0x4e203f,_0xdc91e8,_0x44fa88);return _0x508ff5[_0x24feea(0x1af)]=JSON[_0x24feea(0x203)](JSON['stringify'](_0x1cdf32)),_0x25a34e['addDirtyPivotTable']({'unitId':_0x4e203f,'subUnitId':_0xdc91e8,'token':_0x44fa88,'type':_0x1870de[_0x24feea(0xf0)]}),!0x0;}},_0x1e4960={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x3598f3=Object['getOwnPropertyDescriptor'],_0x8c97d1=(_0x397595,_0x5483a0,_0x228dae,_0x10db56)=>{const _0x59a830=_0x43ed60;for(var _0x181c8d=_0x10db56>0x1?void 0x0:_0x10db56?_0x3598f3(_0x5483a0,_0x228dae):_0x5483a0,_0xcf8a36=_0x397595[_0x59a830(0x27d)]-0x1,_0x5191e6;_0xcf8a36>=0x0;_0xcf8a36--)(_0x5191e6=_0x397595[_0xcf8a36])&&(_0x181c8d=_0x5191e6(_0x181c8d)||_0x181c8d);return _0x181c8d;},_0x19eb5d=(_0x4ca4f6,_0x1366af)=>(_0x21d5c0,_0x1ecabb)=>_0x1366af(_0x21d5c0,_0x1ecabb,_0x4ca4f6);_0x89a8ec[_0x43ed60(0x392)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2593e3,_0x2c3f5b){const _0x213fb2=_0x43ed60;super(),_0x575f06(this,_0x213fb2(0x15c),new Map()),(this[_0x213fb2(0x2f1)]=_0x2593e3,this[_0x213fb2(0x399)]=_0x2c3f5b);}[_0x43ed60(0x2f2)](_0x515bdf){const _0x382bba=_0x43ed60,{version:_0x3d10a6}=_0x515bdf,_0x523bc3=this[_0x382bba(0x15c)][_0x382bba(0x33b)](_0x3d10a6);_0x523bc3&&(_0x523bc3(_0x515bdf),this['_requestResolvers']['delete'](_0x3d10a6));}[_0x43ed60(0x20b)](_0x463e84){return new Promise((_0x51e5ae,_0x1c45f8)=>{const _0x5c35ef=_0xc6ae,_0x567515=this[_0x5c35ef(0x3a9)]();this[_0x5c35ef(0x15c)][_0x5c35ef(0x273)](_0x567515,_0x51e5ae),this[_0x5c35ef(0x399)][_0x5c35ef(0x294)](_0x5cd217['id'],{'version':_0x567515,..._0x463e84},{'onlyLocal':!0x0});});}[_0x43ed60(0x3a9)](){const _0x2c6203=_0x43ed60;return Math['random']()['toString'](0x24)[_0x2c6203(0x122)](0x2,0x10);}},_0x89a8ec[_0x43ed60(0x392)]=_0x8c97d1([_0x19eb5d(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['Injector'])),_0x19eb5d(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['ICommandService']))],_0x89a8ec['SheetsPivotRPCService']);const _0x50e961={'id':_0x43ed60(0x177),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'handler':(_0x3458a0,_0x141ec0)=>{const _0x1dd19c=_0x43ed60;if(!_0x141ec0)return!0x1;if(!!_0x3458a0[_0x1dd19c(0x33b)](_0x3f1699[_0x1dd19c(0x23e)])[_0x1dd19c(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x1713e0,fieldJSON:_0x17177d,unitId:_0xe5be94,subUnitId:_0x100da6}=_0x141ec0,_0x11ac19=_0x24a6f0[_0x1dd19c(0x328)]['fromJSON'](_0x17177d);if(!_0x11ac19)return!0x1;const _0x1b2f0d=_0x3458a0[_0x1dd19c(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x3e0ec8=_0x1b2f0d[_0x1dd19c(0x1b1)](_0xe5be94),_0x520046=_0x3e0ec8[_0x1dd19c(0x361)](_0x1713e0);_0x3e0ec8[_0x1dd19c(0x37f)](_0x11ac19),_0x520046[_0x1dd19c(0x372)](_0x11ac19[_0x1dd19c(0x242)](),_0x11ac19[_0x1dd19c(0xbe)]());const _0x15af6b=_0x520046[_0x1dd19c(0x2c7)](_0x11ac19[_0x1dd19c(0x211)]());_0x15af6b&&_0x11ac19[_0x1dd19c(0x151)](_0x15af6b);const _0x125a75=_0x1b2f0d[_0x1dd19c(0x275)](_0xe5be94,_0x100da6,_0x1713e0);return _0x1b2f0d[_0x1dd19c(0x232)]({'unitId':_0xe5be94,'subUnitId':_0x100da6,'token':_0x1713e0,'type':_0x1870de[_0x1dd19c(0xf0)],'pivotConfig':_0x125a75}),!0x0;}},_0x3d58af={'id':_0x43ed60(0x249),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'handler':(_0xdf87f8,_0x23976f)=>{const _0x1b4250=_0x43ed60;if(!_0x23976f)return!0x1;if(!!_0xdf87f8['get'](_0x3f1699[_0x1b4250(0x23e)])[_0x1b4250(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x3ca1a4,dataFieldId:_0x2b30a2,unitId:_0x38553f,subUnitId:_0x26a16b}=_0x23976f,_0x2b407c=_0xdf87f8[_0x1b4250(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x5e8287=_0x2b407c[_0x1b4250(0x1b1)](_0x38553f);_0x5e8287['getCollection'](_0x3ca1a4)[_0x1b4250(0x172)](_0x2b30a2);let _0x5537c4=!0x0;for(const _0x2316d7 in _0x5e8287[_0x1b4250(0x379)])if(_0x5e8287[_0x1b4250(0x379)][_0x2316d7]['getFieldIds']()[_0x1b4250(0x376)](_0x2b30a2)){_0x5537c4=!0x1;break;}_0x5537c4&&_0x5e8287[_0x1b4250(0x37d)](_0x2b30a2);const _0x3c9fb4=_0x2b407c[_0x1b4250(0x275)](_0x38553f,_0x26a16b,_0x3ca1a4);return _0x2b407c['addDirtyPivotTable']({'unitId':_0x38553f,'subUnitId':_0x26a16b,'token':_0x3ca1a4,'type':_0x1870de[_0x1b4250(0xf0)],'pivotConfig':_0x3c9fb4}),!0x0;}},_0x3f11e0={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x40ea7c,_0x45f66a){const _0x583001=_0x43ed60;if(!_0x45f66a)return!0x1;const _0x214be0=_0x40ea7c[_0x583001(0x33b)](_0x3f1699[_0x583001(0x163)]),_0xe8c433=_0x40ea7c['get'](_0x89a8ec[_0x583001(0x392)]),_0x17b973=_0x40ea7c['get'](_0x3f1699['IUndoRedoService']),{pivotTableId:_0xa6dcc4,dataFieldId:_0x5ca284,fieldArea:_0x45ae13,index:_0x50df8e,unitId:_0x3b035d,subUnitId:_0xaf6609}=_0x45f66a,_0x160e6b=(await _0xe8c433[_0x583001(0x20b)]({'unitId':_0x3b035d,'subUnitId':_0xaf6609,'pivotTableId':_0xa6dcc4,'params':{'type':_0x56b655[_0x583001(0x323)],'addPivotField':{'dataFieldId':_0x5ca284,'fieldArea':_0x45ae13,'index':_0x50df8e}}}))[_0x583001(0x2fa)][_0x583001(0xbb)];if(!_0x160e6b)return!0x1;const {view:_0x11fd42,changesets:_0x20c5ef,isEmpty:_0x3ed464,pivotTableConfig:_0x2fc9fa,shouldBeAddedGroupJSON:_0x164510}=_0x160e6b,_0x15be0a=_0x2fc9fa['targetCellInfo'],_0x12bccc=new _0x24a6f0[(_0x583001(0x25b))]();_0x12bccc[_0x583001(0xd2)](_0x11fd42);const _0x1b422c={'cellInfo':_0x15be0a,'view':_0x12bccc,'isEmpty':_0x3ed464};if(!await _0x40ea7c[_0x583001(0x33b)](_0x89a8ec['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x1b422c))return!0x1;const _0x3f7146=_0x34a7f9(_0x40ea7c,_0x12bccc,_0x15be0a,_0x3ed464),_0x13bcdd=_0x2debb2(_0x40ea7c,_0x1b422c),{undos:_0x2126f2,redos:_0x23e213}=_0x122330(_0x214be0,{'pivotTableId':_0xa6dcc4,'unitId':_0x3b035d,'subUnitId':_0xaf6609},_0x20c5ef);return _0x164510&&(_0x23e213[_0x583001(0x318)]({'id':_0x50e961['id'],'params':{'pivotTableId':_0xa6dcc4,'fieldJSON':_0x164510,'unitId':_0x3b035d,'subUnitId':_0xaf6609}}),_0x2126f2[_0x583001(0x182)]({'id':_0x3d58af['id'],'params':{'pivotTableId':_0xa6dcc4,'dataFieldId':_0x164510['id'],'unitId':_0x3b035d,'subUnitId':_0xaf6609}})),_0x3f1699[_0x583001(0x22f)]([..._0x3f7146[_0x583001(0x245)],..._0x13bcdd[_0x583001(0x245)],..._0x23e213],_0x214be0),_0x17b973[_0x583001(0x368)]({'unitID':_0x3b035d,'redoMutations':[..._0x3f7146[_0x583001(0x245)],..._0x13bcdd[_0x583001(0x245)],..._0x23e213],'undoMutations':[..._0x3f7146[_0x583001(0x176)],..._0x13bcdd[_0x583001(0x176)],..._0x2126f2]}),!0x0;}},_0x2355f0={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x3a6),async 'handler'(_0x1e82f8,_0x433355){const _0x24f173=_0x43ed60;if(!_0x433355)return!0x1;const {sourceDataInfo:_0x27cf40,pivotTableConfig:_0x376e2f}=_0x433355;if(!_0x27cf40||!_0x376e2f)return!0x1;const {unitId:_0x6ac95b,subUnitId:_0x39e8b2,range:_0xde43b0}=_0x27cf40,_0x2aff3d=_0x1e82f8['get'](_0x3f1699[_0x24f173(0x1b9)]),_0x1cadbf=_0x1e82f8[_0x24f173(0x33b)](_0x89a8ec[_0x24f173(0x392)]),_0x6c0be8=_0x1e82f8[_0x24f173(0x33b)](_0x3f1699[_0x24f173(0x27e)]),_0x5c12ab=_0x1e82f8[_0x24f173(0x33b)](_0x3f1699[_0x24f173(0x163)]),_0x1c7100=_0x2aff3d[_0x24f173(0x35a)](_0x6ac95b);if(!_0x1c7100)return!0x1;const _0x5d1a2b=_0x1c7100[_0x24f173(0x11d)](_0x39e8b2);if(!_0x5d1a2b)return!0x1;const _0x489dd5=_0x24a6f0[_0x24f173(0x1c5)](0x8),_0x5e082b=_0xde43b0||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5d1a2b[_0x24f173(0x2b0)]()-0x1,'endColumn':_0x5d1a2b[_0x24f173(0x179)]()-0x1};_0x5e082b[_0x24f173(0x215)]=_0x3f1699['RANGE_TYPE'][_0x24f173(0x21a)];const _0x121a7b=(await _0x1cadbf['getPivotDisplayConfig']({'unitId':_0x6ac95b,'subUnitId':_0x39e8b2,'pivotTableId':_0x489dd5,'params':{'type':_0x56b655[_0x24f173(0x11e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x6ac95b,'sheetName':_0x5d1a2b[_0x24f173(0xbe)](),'subUnitId':_0x39e8b2,'range':_0x5e082b},'pivotTableId':_0x489dd5,'pivotTableIndexConfig':_0x376e2f}}}))[_0x24f173(0x2fa)][_0x24f173(0x2ec)];if(!_0x121a7b)return!0x1;const {isEmpty:_0x5321f1,fieldsConfig:_0x1e1aee,collectionConfig:_0x3fdf5f,changesets:_0x3a2f0e}=_0x121a7b,_0x23d179=_0x1c7100['getSheets']()[_0x24f173(0x27d)],_0x57cffd=_0x3f1699[_0x24f173(0x33e)]({'rowCount':_0x5d1a2b[_0x24f173(0x2b0)]()-0x1,'columnCount':_0x5d1a2b[_0x24f173(0x179)]()-0x1});_0x57cffd['id']=_0x3f1699['generateRandomId'](),_0x57cffd[_0x24f173(0x112)]=_0x1c7100[_0x24f173(0x28b)](''+_0x6c0be8['t']('sheets.tabs.sheet'));const _0xdb14a8={'index':_0x23d179,'sheet':_0x57cffd,'unitId':_0x6ac95b},{redos:_0x2dbafd}=_0x122330(_0x5c12ab,{'pivotTableId':_0x489dd5,'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id']},_0x3a2f0e),_0x27dac9=[{'id':_0x1c7b09[_0x24f173(0x237)]['id'],'params':_0xdb14a8},{'id':_0x158817['id'],'params':{'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id'],'pivotTableId':_0x489dd5,'pivotTableConfig':{'isEmpty':_0x5321f1,'fieldsConfig':_0x1e1aee,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id']},'sourceRangeInfo':{'subUnitId':_0x39e8b2,'unitId':_0x6ac95b,'range':_0x5e082b,'sheetName':_0x5d1a2b[_0x24f173(0xbe)]()}},'collectionConfig':_0x3fdf5f}},..._0x2dbafd];return _0x3f1699['sequenceExecute'](_0x27dac9,_0x5c12ab),!0x0;}},_0xa736a1={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0x1eb),async 'handler'(_0x6c9a7,_0x3641dd){const _0xe40016=_0x43ed60;var _0x3db6ab,_0x1f17ac;const _0x2a1f07=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x163)]),_0x104ac6=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x1b9)]),_0xbbaeba=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x27e)]),_0x15de56=_0x6c9a7[_0xe40016(0x33b)](_0x89a8ec['SheetsPivotRPCService']),_0x2c3dfd=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x2a9)]),_0x32896b=_0x6c9a7[_0xe40016(0x33b)](_0x89a8ec['SheetsPivotTableConfigModel']),_0x1699e8=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x23e)]);if(!_0x3641dd)return!0x1;const {pivotTableConfig:_0x2ec458,positionType:_0x158768}=_0x3641dd,{targetCellInfo:_0xfe3b5,sourceRangeInfo:_0x254084}=_0x2ec458,{unitId:_0x533fce,subUnitId:_0xa99d07}=_0xfe3b5,_0x5c9102=_0x104ac6['getUnit'](_0x533fce);if(!_0x5c9102)return!0x1;let _0x763a1=0x0;_0x5c9102[_0xe40016(0x2e6)]()['forEach'](_0x2eaf61=>{const _0x559447=_0xe40016;var _0x530231,_0x28968f;_0x763a1+=(_0x28968f=(_0x530231=_0x32896b[_0x559447(0x39b)](_0x533fce,_0x2eaf61[_0x559447(0x344)]()))==null?void 0x0:_0x530231[_0x559447(0x1e8)])!=null?_0x28968f:0x0;});const _0x25fdae=(_0x3db6ab=_0x1699e8[_0xe40016(0x30f)](_0x48414d[_0xe40016(0x228)]))!=null?_0x3db6ab:{},{ls:_0x1ea2b6,pbk:_0x40e257}=_0x25fdae;if(!_0x35e5f9(_0x1ea2b6,_0x40e257))return!0x1;const _0x1201ad=_0xa1005d(_0x53ba46,_0x1ea2b6,_0x40e257)[_0xe40016(0x28f)];if(_0x763a1>=_0x1201ad)return!0x1;const _0x3215d9=_0x3641dd['pivotTableId']||_0x24a6f0['generateHexNumber'](0x8),_0x239b48=(await _0x15de56[_0xe40016(0x20b)]({'unitId':_0x533fce,'subUnitId':_0xa99d07,'pivotTableId':_0x3215d9,'params':{'type':_0x56b655[_0xe40016(0x3a5)],'addPivotTable':{'sourceRangeInfo':_0x254084,'pivotTableId':_0x3215d9}}}))[_0xe40016(0x2fa)][_0xe40016(0x2b2)];if(!_0x239b48)return!0x1;const {view:_0x228c6f,isEmpty:_0x4037eb,fieldsConfig:_0x33d448,collectionConfig:_0x2d1307}=_0x239b48,_0x46907d=[],_0x1a53a6=[];if(_0x158768===_0x581236[_0xe40016(0x1a5)]){const _0x4a81f4=_0x5c9102[_0xe40016(0x2e6)]()[_0xe40016(0x27d)],_0x4d6724=_0x3f1699[_0xe40016(0x33e)]({});_0x4d6724['id']=_0x2ec458[_0xe40016(0x3a4)]['subUnitId'],_0x4d6724[_0xe40016(0x112)]=(_0x1f17ac=_0x2ec458[_0xe40016(0x3a4)]['sheetName'])!=null?_0x1f17ac:_0x5c9102['generateNewSheetName'](''+_0xbbaeba['t'](_0xe40016(0x2be)));const _0x462715={'index':_0x4a81f4,'sheet':_0x4d6724,'unitId':_0x533fce},_0x10131a=_0x1c7b09['InsertSheetUndoMutationFactory'](_0x6c9a7,_0x462715);_0x46907d[_0xe40016(0x182)]({'id':_0x1c7b09[_0xe40016(0x15b)]['id'],'params':_0x10131a}),_0x1a53a6[_0xe40016(0x182)]({'id':_0x1c7b09[_0xe40016(0x10b)]['id'],'params':_0x462715});}else{if(!_0x5c9102['getSheetBySheetId'](_0xa99d07))return!0x1;const _0xd79dd1=_0x34a7f9(_0x6c9a7,new _0x24a6f0[(_0xe40016(0x25b))](),_0xfe3b5,!0x0);_0x1a53a6[_0xe40016(0x182)](..._0xd79dd1[_0xe40016(0x245)]),_0x46907d[_0xe40016(0x182)](..._0xd79dd1[_0xe40016(0x176)]);const _0x35875d={'cellInfo':_0xfe3b5,'view':_0x228c6f,'isEmpty':_0x4037eb};if(!await _0x6c9a7['get'](_0x89a8ec[_0xe40016(0xba)])[_0xe40016(0x159)][_0xe40016(0x300)](_0xb533ef)(!0x0,_0x35875d))return!0x1;const _0x5498c1=_0x2debb2(_0x6c9a7,_0x35875d);_0x1a53a6[_0xe40016(0x182)](..._0x5498c1[_0xe40016(0x245)]),_0x46907d[_0xe40016(0x182)](..._0x5498c1[_0xe40016(0x176)]);}return _0x1a53a6[_0xe40016(0x182)]({'id':_0x158817['id'],'params':{'unitId':_0xfe3b5[_0xe40016(0x210)],'subUnitId':_0xfe3b5[_0xe40016(0x15a)],'pivotTableId':_0x3215d9,'pivotTableConfig':{'targetCellInfo':_0xfe3b5,'sourceRangeInfo':_0x254084,'fieldsConfig':_0x33d448},'collectionConfig':_0x2d1307}}),_0x46907d['unshift']({'id':_0x3fa252['id'],'params':{'unitId':_0x533fce,'subUnitId':_0xa99d07,'pivotTableId':_0x3215d9}}),_0x3f1699[_0xe40016(0x22f)](_0x1a53a6,_0x2a1f07)&&_0x2c3dfd[_0xe40016(0x368)]({'unitID':_0x533fce,'undoMutations':_0x46907d,'redoMutations':_0x1a53a6}),!0x0;}},_0x1e7f27={'type':_0x3f1699['CommandType'][_0x43ed60(0xb4)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x3611d1,_0x443472){const _0x65088=_0x43ed60;if(!_0x443472)return!0x1;const _0x105514=_0x3611d1[_0x65088(0x33b)](_0x3f1699[_0x65088(0x163)]),_0x4fd828=_0x3611d1['get'](_0x89a8ec[_0x65088(0x392)]),_0x3134b4=_0x3611d1[_0x65088(0x33b)](_0x3f1699[_0x65088(0x2a9)]),{pivotTableId:_0x3b2c77,fieldId:_0x3b2731,area:_0x352dfa,index:_0x24ec64,unitId:_0x2e7502,subUnitId:_0x1d9359}=_0x443472,_0x1c2576=(await _0x4fd828['getPivotDisplayConfig']({'unitId':_0x2e7502,'subUnitId':_0x1d9359,'pivotTableId':_0x3b2c77,'params':{'type':_0x56b655[_0x65088(0x26d)],'movePivotField':{'fieldId':_0x3b2731,'area':_0x352dfa,'index':_0x24ec64}}}))[_0x65088(0x2fa)][_0x65088(0x170)];if(!_0x1c2576)return!0x1;const {changesets:_0x22b507,view:_0x527666,isEmpty:_0x5a4d12,pivotTableConfig:_0x252aef}=_0x1c2576,_0x283e14=_0x252aef['targetCellInfo'],_0x394447=new _0x24a6f0[(_0x65088(0x25b))]();_0x394447['formJSON'](_0x527666);const _0x163431={'cellInfo':_0x283e14,'view':_0x394447,'isEmpty':_0x5a4d12};if(!await _0x3611d1[_0x65088(0x33b)](_0x89a8ec[_0x65088(0xba)])[_0x65088(0x159)][_0x65088(0x300)](_0xb533ef)(!0x0,_0x163431))return!0x1;const _0x1f240f=_0x34a7f9(_0x3611d1,_0x394447,_0x283e14,_0x5a4d12),_0x48bb82=_0x2debb2(_0x3611d1,_0x163431),{redos:_0x547e39,undos:_0x4f0ee9}=_0x122330(_0x105514,{'pivotTableId':_0x3b2c77,'unitId':_0x2e7502,'subUnitId':_0x1d9359},_0x22b507);return _0x3f1699[_0x65088(0x22f)]([..._0x1f240f[_0x65088(0x245)],..._0x48bb82[_0x65088(0x245)],..._0x547e39],_0x105514),_0x3134b4[_0x65088(0x368)]({'unitID':_0x2e7502,'redoMutations':[..._0x1f240f[_0x65088(0x245)],..._0x48bb82[_0x65088(0x245)],..._0x547e39],'undoMutations':[..._0x1f240f[_0x65088(0x176)],..._0x48bb82['undos'],..._0x4f0ee9]}),!0x0;}},_0x55ad53={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0x236),async 'handler'(_0x43511f,_0xe0d45a){const _0x2af15d=_0x43ed60;var _0x437c18;if(!_0xe0d45a)return!0x1;const _0x5c0df1=_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x1b9)]),_0x3b15b9=_0x1c7b09['getSheetCommandTarget'](_0x5c0df1);if(!_0x3b15b9)return!0x1;const {unitId:_0x5c6ed6,subUnitId:_0x394534,workbook:_0xb902c8}=_0x3b15b9,{row:_0x2457b6,col:_0x1fa6f2}=_0xe0d45a,_0x49a51c=_0x43511f[_0x2af15d(0x33b)](_0x89a8ec[_0x2af15d(0x1ef)]),_0x16449a=_0x49a51c['getPivotTableIdByCell'](_0x5c6ed6,_0x394534,_0x2457b6,_0x1fa6f2);if(!_0x16449a)return!0x1;const _0x49d85d=(_0x437c18=_0x49a51c['getPivotItemRenderInfoCache'](_0x5c6ed6,_0x394534,_0x16449a))==null?void 0x0:_0x437c18['areaInfo'];if(!_0x49d85d)return!0x1;const _0x3b07fb=_0x43511f['get'](_0x89a8ec[_0x2af15d(0xb3)])[_0x2af15d(0x275)](_0x5c6ed6,_0x394534,_0x16449a);if(!_0x3b07fb)return!0x1;const {rowInfo:_0x4576b8,colInfo:_0x25a1e7}=_0x49d85d,_0xbbe8ec=_0x4576b8[_0x2457b6][_0x2af15d(0x1a8)],_0x2238ac=_0x25a1e7[_0x1fa6f2][_0x2af15d(0x1a8)],_0x45e2cf=_0x4576b8[_0x2457b6][_0x2af15d(0x32c)],_0x143b6f=_0x25a1e7[_0x1fa6f2]['level'],_0x13bcc0=_0xbbe8ec[_0x2af15d(0x1b0)](_0x2238ac),_0x62bea8=_0x3b07fb['fieldsConfig'][_0x2af15d(0x2d5)][_0x2af15d(0x10d)](0x0,_0x45e2cf),_0x512d5e=_0x3b07fb[_0x2af15d(0x1d8)][_0x2af15d(0x2d9)]['slice'](0x0,_0x143b6f),_0x1663fc=_0x62bea8['concat'](_0x512d5e),_0x477cac=_0x13bcc0[_0x2af15d(0xca)]((_0xb5b65a,_0x2f41c1)=>[_0xb5b65a,_0x1663fc[_0x2f41c1]]),_0x3c0b8e=(await _0x43511f['get'](_0x89a8ec[_0x2af15d(0x392)])[_0x2af15d(0x20b)]({'unitId':_0x5c6ed6,'subUnitId':_0x394534,'pivotTableId':_0x16449a,'params':{'type':_0x56b655[_0x2af15d(0x1f7)],'drillDown':{'tuple':_0x477cac}}}))[_0x2af15d(0x2fa)][_0x2af15d(0x1e1)];if(!_0x3c0b8e)return!0x1;const {indexes:_0x262721,range:_0x1dbe38,sourceUnitId:_0x35c345,sourceSubUnitId:_0x48f1fa,formatMap:_0x4f2668}=_0x3c0b8e,{startRow:_0x3dda92,endRow:_0x1dee92,startColumn:_0x16365b,endColumn:_0x5ddb51}=_0x1dbe38,_0x4f17a2=new _0x3f1699[(_0x2af15d(0x2cb))](),_0x5a3715=_0x1dee92-_0x3dda92,_0x39c619=_0x5ddb51-_0x16365b,_0x48c329={},_0x2943e3=_0x1c7b09[_0x2af15d(0x11c)](_0x5c0df1,{'unitId':_0x35c345,'subUnitId':_0x48f1fa});if(!_0x2943e3)return!0x1;const _0x555729=_0x4939a9[_0x2af15d(0x114)],_0x14ecbc=_0x4939a9[_0x2af15d(0x113)],_0x54c8dc=_0x4939a9[_0x2af15d(0x113)],_0x281c55=_0xb902c8['getStyles']()[_0x2af15d(0x297)](_0x555729),_0x35a58d=_0xb902c8['getStyles']()[_0x2af15d(0x297)](_0x14ecbc),_0x589948=_0xb902c8[_0x2af15d(0x2ce)]()[_0x2af15d(0x297)](_0x54c8dc),{worksheet:_0x307871}=_0x2943e3;let _0x162a38=0x0;const _0x513073=0x1;_0x262721[_0x2af15d(0x2f8)](_0x1c34ca=>{const _0x144a9b=_0x2af15d;for(let _0x367007=0x0;_0x367007<=_0x5ddb51-_0x16365b;_0x367007++)_0x4f17a2['setValue'](_0x162a38,_0x367007,_0x307871[_0x144a9b(0x22d)](_0x1c34ca+_0x1dbe38[_0x144a9b(0x13a)]+_0x513073,_0x367007));_0x162a38++;});for(let _0x561c9f=_0x16365b;_0x561c9f<=_0x5ddb51;_0x561c9f++){const _0x4000d3=_0x307871[_0x2af15d(0x22d)](_0x3dda92,_0x561c9f);_0x48c329[_0x3dda92]||(_0x48c329[_0x3dda92]={}),_0x48c329[_0x3dda92][_0x561c9f]={..._0x4000d3,'s':_0x281c55};}let _0xfd6420=0x1;const _0x207d61={},_0x3c9794={};_0x4f17a2[_0x2af15d(0x194)]((_0x49fe12,_0x18f851)=>{_0x18f851['forEach'](_0x3b5546=>{const _0x30d9a8=_0xc6ae,_0x1b6b9c=_0x4f17a2[_0x30d9a8(0x381)](_0x49fe12,_0x3b5546);if(_0x48c329[_0xfd6420]||(_0x48c329[_0xfd6420]={}),_0x48c329[_0xfd6420][_0x3b5546]={..._0x1b6b9c,'s':_0xfd6420%0x2===0x0?_0x589948:_0x35a58d},_0x4f2668[_0x3b5546]&&_0x49fe12>=0x0){const _0x334d62=_0xfd6420%0x2===0x0;let _0x35a808=_0x334d62?_0x3c9794[_0x3b5546]:_0x207d61[_0x3b5546];_0x35a808||(_0x35a808=_0xb902c8[_0x30d9a8(0x2ce)]()[_0x30d9a8(0x297)]({..._0x334d62?_0x54c8dc:_0x14ecbc,'n':{'pattern':_0x4f2668[_0x3b5546]}}),_0x334d62?_0x3c9794[_0x3b5546]=_0x35a808:_0x207d61[_0x3b5546]=_0x35a808),_0x48c329[_0xfd6420][_0x3b5546]['s']=_0x35a808;}}),_0xfd6420++;});const _0x17b0e6=new _0x3f1699[(_0x2af15d(0x2cb))](_0x48c329),_0x47d7ca={};_0x17b0e6[_0x2af15d(0x36d)]((_0x2945d8,_0x434a56,_0x44ef1c)=>{_0x47d7ca[_0x2945d8]||(_0x47d7ca[_0x2945d8]={}),_0x47d7ca[_0x2945d8][_0x434a56]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5da2e4=[],_0x5c3759=[],_0x5efee7=_0xb902c8['getSheets']()[_0x2af15d(0x27d)],_0x16ba87=_0x3f1699[_0x2af15d(0x33e)]({'rowCount':Math[_0x2af15d(0x144)](_0x3f1699[_0x2af15d(0x111)],_0x5a3715+0xa),'columnCount':Math[_0x2af15d(0x144)](_0x3f1699[_0x2af15d(0x108)],_0x39c619+0x5)}),_0x477415=_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x27e)]);_0x16ba87['id']=_0x3f1699[_0x2af15d(0x365)](),_0x16ba87[_0x2af15d(0x112)]=_0xb902c8[_0x2af15d(0x28b)](''+_0x477415['t'](_0x2af15d(0x2be)));const _0x137429={'index':_0x5efee7,'sheet':_0x16ba87,'unitId':_0x5c6ed6},_0x152c88=_0x1c7b09[_0x2af15d(0x1fa)](_0x43511f,_0x137429);_0x5c3759[_0x2af15d(0x182)]({'id':_0x1c7b09[_0x2af15d(0x10b)]['id'],'params':_0x137429}),_0x5da2e4['push']({'id':_0x1c7b09[_0x2af15d(0x15b)]['id'],'params':_0x152c88}),_0x5c3759[_0x2af15d(0x182)]({'id':_0x1c7b09[_0x2af15d(0x2f0)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'cellValue':_0x48c329}}),_0x5da2e4[_0x2af15d(0x318)]({'id':_0x1c7b09[_0x2af15d(0x2f0)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'cellValue':_0x47d7ca}});const _0x2ae586={'startRow':0x0,'startColumn':0x0,'endRow':_0xfd6420-0x1,'endColumn':_0x5ddb51};_0x5c3759[_0x2af15d(0x182)]({'id':_0x10853a['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'range':_0x2ae586}}),_0x5da2e4[_0x2af15d(0x318)]({'id':_0x10853a[_0x2af15d(0x38c)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id']}});const _0x368855=_0x43511f['get'](_0x3f1699[_0x2af15d(0x163)]);return _0x3f1699['sequenceExecute'](_0x5c3759,_0x368855)&&_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x2a9)])[_0x2af15d(0x368)]({'unitID':_0x5c6ed6,'undoMutations':_0x5da2e4,'redoMutations':_0x5c3759}),!0x0;}},_0x59be0b={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0xee),async 'handler'(_0x1bcae5,_0x4e4009){const _0x17da98=_0x43ed60;if(!_0x4e4009)return!0x1;const _0x5e4d39=_0x1bcae5[_0x17da98(0x33b)](_0x3f1699[_0x17da98(0x163)]),_0x3ebb0c=_0x1bcae5[_0x17da98(0x33b)](_0x89a8ec[_0x17da98(0x392)]),_0x497ab0=_0x1bcae5['get'](_0x3f1699['IUndoRedoService']),{pivotTableId:_0x36bce5,fieldIds:_0x27b26a,unitId:_0xbc067a,subUnitId:_0x1ced77}=_0x4e4009,_0x59b7b4=(await _0x3ebb0c['getPivotDisplayConfig']({'unitId':_0xbc067a,'subUnitId':_0x1ced77,'pivotTableId':_0x36bce5,'params':{'type':_0x56b655[_0x17da98(0x2ed)],'removePivotField':{'fieldIds':_0x27b26a}}}))[_0x17da98(0x2fa)][_0x17da98(0xa9)];if(!_0x59b7b4)return!0x1;const {view:_0x475715,changesets:_0x2d74a9,isEmpty:_0x4083bd,pivotTableConfig:_0x5ebbc9}=_0x59b7b4,_0x3017dd=_0x5ebbc9['targetCellInfo'],_0x36734b=new _0x24a6f0['PivotView']();_0x36734b[_0x17da98(0xd2)](_0x475715);const _0x5ef79a={'cellInfo':_0x3017dd,'view':_0x36734b,'isEmpty':_0x4083bd};if(!await _0x1bcae5[_0x17da98(0x33b)](_0x89a8ec[_0x17da98(0xba)])[_0x17da98(0x159)][_0x17da98(0x300)](_0xb533ef)(!0x0,_0x5ef79a))return!0x1;const _0x16b69e=_0x34a7f9(_0x1bcae5,_0x36734b,_0x3017dd,_0x4083bd),_0x40a641=_0x2debb2(_0x1bcae5,_0x5ef79a),{redos:_0x5d29b1,undos:_0x4c91be}=_0x122330(_0x5e4d39,{'pivotTableId':_0x36bce5,'unitId':_0xbc067a,'subUnitId':_0x1ced77},_0x2d74a9);return _0x3f1699['sequenceExecute']([..._0x16b69e[_0x17da98(0x245)],..._0x40a641[_0x17da98(0x245)],..._0x5d29b1],_0x5e4d39),_0x497ab0['pushUndoRedo']({'unitID':_0xbc067a,'redoMutations':[..._0x16b69e[_0x17da98(0x245)],..._0x40a641[_0x17da98(0x245)],..._0x5d29b1],'undoMutations':[..._0x16b69e[_0x17da98(0x176)],..._0x40a641[_0x17da98(0x176)],..._0x4c91be]}),!0x0;}},_0x1e7c51={'type':_0x3f1699['CommandType'][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x4a0b8d,_0x5ccc3a){const _0x280331=_0x43ed60;var _0x2e052c;const _0x508443=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699['ICommandService']),_0x5b30ab=_0x4a0b8d['get'](_0x89a8ec[_0x280331(0x392)]),_0xa56cc9=_0x4a0b8d['get'](_0x89a8ec['SheetsPivotTableAdaptorModel']),_0x43c306=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699['IUniverInstanceService']),_0x28b6f5=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699[_0x280331(0x2a9)]);if(!_0x5ccc3a)return!0x1;const {unitId:_0x25274c,subUnitId:_0x4547dc,row:_0x3cf38a,col:_0x242be7,collapse:_0x3eabdc}=_0x5ccc3a,_0x3e203e=_0x43c306['getUnit'](_0x25274c);if(!_0x3e203e||!_0x3e203e[_0x280331(0x11d)](_0x4547dc))return!0x1;const _0x42ed1e=_0xa56cc9['getPivotTableIdByCell'](_0x25274c,_0x4547dc,_0x3cf38a,_0x242be7);if(!_0x42ed1e)return!0x1;const _0x39a052=_0xa56cc9[_0x280331(0x2e4)](_0x25274c,_0x4547dc,_0x42ed1e);if(!_0x39a052)return!0x1;const _0x10504f=_0x3f1699[_0x280331(0x240)](_0x3cf38a,_0x242be7),{rangesInfo:_0x4114ea,areaInfo:_0xcb6e4e,headerMap:_0x35fa38}=_0x39a052;if(!_0x4114ea||!_0xcb6e4e||!_0x35fa38)return!0x1;const _0x5473fe=Object[_0x280331(0x375)](_0x4114ea)[_0x280331(0xfb)](_0x3c893a=>_0x4114ea[_0x3c893a][_0x280331(0x35f)](_0xb8f87=>_0x3f1699[_0x280331(0x36b)]['contains'](_0xb8f87,_0x10504f)));let _0x9ddba1;_0x5473fe===_0x280331(0xeb)?_0x9ddba1=_0x35fa38[_0x280331(0x29b)][_0x242be7]:_0x5473fe===_0x280331(0xd8)&&(_0x9ddba1=_0x35fa38[_0x280331(0x241)][_0x3cf38a]);const _0x3cddc9=_0x9ddba1==null?void 0x0:_0x9ddba1['tableFieldId'],_0x51965f=(_0x2e052c=_0xa56cc9[_0x280331(0x224)](_0x25274c,_0x4547dc,_0x3cf38a,_0x242be7))==null?void 0x0:_0x2e052c['v'];if(_0x51965f==null||!_0x42ed1e||!_0x3cddc9)return!0x1;const _0x216ef3=await _0x5b30ab[_0x280331(0x20b)]({'unitId':_0x25274c,'subUnitId':_0x4547dc,'pivotTableId':_0x42ed1e,'params':{'type':_0x56b655['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x3cddc9,'collapse':_0x3eabdc,'item':_0x51965f}}}),_0x5ef1c8=_0x216ef3==null?void 0x0:_0x216ef3[_0x280331(0x2fa)][_0x280331(0x2d4)];if(!_0x5ef1c8)return!0x1;const {view:_0x2bdfd4,pivotTableConfig:_0x303af9,isEmpty:_0x38c73,changesets:_0x118f6e}=_0x5ef1c8,_0x470ba7=new _0x24a6f0[(_0x280331(0x25b))]();_0x470ba7[_0x280331(0xd2)](_0x2bdfd4);const _0x387cfc=_0x303af9[_0x280331(0x3a4)],_0x1e6106={'cellInfo':_0x387cfc,'view':_0x470ba7,'isEmpty':_0x38c73};if(!await _0x4a0b8d[_0x280331(0x33b)](_0x89a8ec['SheetsPivotTableService'])[_0x280331(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x1e6106))return!0x1;const _0x14266c=_0x34a7f9(_0x4a0b8d,_0x470ba7,_0x387cfc,_0x38c73),_0x5a2c78=_0x2debb2(_0x4a0b8d,_0x1e6106),{redos:_0x7bb1db,undos:_0x1cab71}=_0x122330(_0x508443,{'pivotTableId':_0x42ed1e,'unitId':_0x25274c,'subUnitId':_0x4547dc},_0x118f6e);return _0x3f1699[_0x280331(0x22f)]([..._0x14266c['redos'],..._0x5a2c78[_0x280331(0x245)],..._0x7bb1db],_0x508443),_0x28b6f5[_0x280331(0x368)]({'unitID':_0x25274c,'redoMutations':[..._0x14266c[_0x280331(0x245)],..._0x5a2c78[_0x280331(0x245)],..._0x7bb1db],'undoMutations':[..._0x14266c[_0x280331(0x176)],..._0x5a2c78[_0x280331(0x176)],..._0x1cab71]}),!0x0;}},_0x1cf9cd={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x1db),async 'handler'(_0xbfb36d,_0x4ed350){const _0x45fcd7=_0x43ed60;if(!_0x4ed350)return!0x1;const _0x1f6d11=_0xbfb36d[_0x45fcd7(0x33b)](_0x3f1699['ICommandService']),{pivotTableId:_0x1f80bd,tableFieldId:_0x234a29,items:_0x43ae92,unitId:_0x3e701a,subUnitId:_0x316ab3,isAll:_0x1c6cab}=_0x4ed350,_0x513983=_0xbfb36d[_0x45fcd7(0x33b)](_0x89a8ec[_0x45fcd7(0x392)]),_0x3f7c35=_0xbfb36d[_0x45fcd7(0x33b)](_0x3f1699['IUndoRedoService']),_0x127c9d=(await _0x513983['getPivotDisplayConfig']({'unitId':_0x3e701a,'subUnitId':_0x316ab3,'pivotTableId':_0x1f80bd,'params':{'type':_0x56b655[_0x45fcd7(0x1a1)],'setPivotFilter':{'tableFieldId':_0x234a29,'items':_0x43ae92,'isAll':_0x1c6cab}}}))['result'][_0x45fcd7(0x31d)];if(!_0x127c9d)return!0x1;const {changesets:_0x4cff45,pivotTableConfig:_0x3461fb,isEmpty:_0xca9196,view:_0x44539b}=_0x127c9d,_0x4efc7e=_0x3461fb[_0x45fcd7(0x3a4)],_0x221d04=new _0x24a6f0[(_0x45fcd7(0x25b))]();_0x221d04[_0x45fcd7(0xd2)](_0x44539b);const _0x22c266={'cellInfo':_0x4efc7e,'view':_0x221d04,'isEmpty':_0xca9196};if(!await _0xbfb36d['get'](_0x89a8ec[_0x45fcd7(0xba)])[_0x45fcd7(0x159)][_0x45fcd7(0x300)](_0xb533ef)(!0x0,_0x22c266))return!0x1;const _0x5d85b0=_0x34a7f9(_0xbfb36d,_0x221d04,_0x4efc7e,_0xca9196),_0x47cdd8=_0x2debb2(_0xbfb36d,_0x22c266),{undos:_0x116f62,redos:_0x451d76}=_0x122330(_0x1f6d11,{'pivotTableId':_0x1f80bd,'unitId':_0x3e701a,'subUnitId':_0x316ab3},_0x4cff45);return _0x3f1699[_0x45fcd7(0x22f)]([..._0x5d85b0[_0x45fcd7(0x245)],..._0x47cdd8['redos'],..._0x451d76],_0x1f6d11),_0x3f7c35['pushUndoRedo']({'unitID':_0x3e701a,'redoMutations':[..._0x5d85b0['redos'],..._0x47cdd8['redos'],..._0x451d76],'undoMutations':[..._0x5d85b0[_0x45fcd7(0x176)],..._0x47cdd8[_0x45fcd7(0x176)],..._0x116f62]}),!0x0;}},_0x4df349={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x31e955,_0x4f18bd){const _0x45dc5e=_0x43ed60;if(!_0x4f18bd)return!0x1;const _0xa96dd=_0x31e955['get'](_0x3f1699[_0x45dc5e(0x163)]),_0x4a9e49=_0x31e955[_0x45dc5e(0x33b)](_0x3f1699[_0x45dc5e(0x2a9)]),_0x5bfe0e=_0x31e955[_0x45dc5e(0x33b)](_0x89a8ec[_0x45dc5e(0x392)]),{info:_0x434fb4,tableFieldId:_0x2c6ee1,pivotTableId:_0x557295,unitId:_0x41f7ba,subUnitId:_0x1dcab3}=_0x4f18bd,_0x3f53c9=(await _0x5bfe0e[_0x45dc5e(0x20b)]({'unitId':_0x41f7ba,'subUnitId':_0x1dcab3,'pivotTableId':_0x557295,'params':{'type':_0x56b655[_0x45dc5e(0xcd)],'setPivotSort':{'tableFieldId':_0x2c6ee1,'info':_0x434fb4}}}))['result'][_0x45dc5e(0x3a7)];if(!_0x3f53c9)return!0x1;const {changesets:_0xdf2d6}=_0x3f53c9,{redos:_0x40c338,undos:_0x59e31f}=_0x122330(_0xa96dd,{'pivotTableId':_0x557295,'unitId':_0x41f7ba,'subUnitId':_0x1dcab3},_0xdf2d6);return _0x3f1699['sequenceExecute'](_0x40c338,_0xa96dd),_0x4a9e49['pushUndoRedo']({'unitID':_0x41f7ba,'redoMutations':_0x40c338,'undoMutations':_0x59e31f}),!0x0;}},_0x1d8ad2={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x276),async 'handler'(_0x3f32d0,_0x42b2f6){const _0x48230a=_0x43ed60;if(!_0x42b2f6)return!0x1;const _0x53ae5e=_0x3f32d0[_0x48230a(0x33b)](_0x3f1699[_0x48230a(0x163)]),_0x43218b=_0x3f32d0[_0x48230a(0x33b)](_0x3f1699[_0x48230a(0x2a9)]),_0x2f0091=_0x3f32d0['get'](_0x89a8ec[_0x48230a(0x392)]),{displayName:_0x7a03eb,subtotalType:_0x33ad2a,format:_0x2fb3c2,tableFieldId:_0x1769d1,pivotTableId:_0x51d286,unitId:_0x1ee6b7,subUnitId:_0x2f9336}=_0x42b2f6,_0x2a8106=(await _0x2f0091['getPivotDisplayConfig']({'unitId':_0x1ee6b7,'subUnitId':_0x2f9336,'pivotTableId':_0x51d286,'params':{'type':_0x56b655['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x1769d1,'displayName':_0x7a03eb,'subtotalType':_0x33ad2a,'format':_0x2fb3c2}}}))['result']['setPivotSetting'];if(!_0x2a8106)return!0x1;const {changesets:_0x25e534,view:_0xb61c9,pivotTableConfig:_0x1b405d,isEmpty:_0x365f4d}=_0x2a8106,_0x5a8eac=_0x1b405d[_0x48230a(0x3a4)],_0x35f15b=new _0x24a6f0[(_0x48230a(0x25b))]();_0x35f15b[_0x48230a(0xd2)](_0xb61c9);const _0x1fe061={'cellInfo':_0x5a8eac,'view':_0x35f15b,'isEmpty':_0x365f4d};if(!await _0x3f32d0[_0x48230a(0x33b)](_0x89a8ec[_0x48230a(0xba)])['asyncInterceptor'][_0x48230a(0x300)](_0xb533ef)(!0x0,_0x1fe061))return!0x1;const _0x3729c8=_0x34a7f9(_0x3f32d0,_0x35f15b,_0x5a8eac,_0x365f4d),_0xe2e27=_0x2debb2(_0x3f32d0,_0x1fe061),{undos:_0x563497,redos:_0x353cf0}=_0x122330(_0x53ae5e,{'pivotTableId':_0x51d286,'unitId':_0x1ee6b7,'subUnitId':_0x2f9336},_0x25e534);return _0x3f1699[_0x48230a(0x22f)]([..._0x3729c8[_0x48230a(0x245)],..._0xe2e27[_0x48230a(0x245)],..._0x353cf0],_0x53ae5e),_0x43218b[_0x48230a(0x368)]({'unitID':_0x1ee6b7,'redoMutations':[..._0x3729c8[_0x48230a(0x245)],..._0xe2e27[_0x48230a(0x245)],..._0x353cf0],'undoMutations':[..._0x3729c8[_0x48230a(0x176)],..._0xe2e27[_0x48230a(0x176)],..._0x563497]}),!0x0;}},_0x3c72f3={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x2aa),async 'handler'(_0xc54eda,_0x1309eb){const _0x4d860f=_0x43ed60,_0x8b10c5=_0xc54eda[_0x4d860f(0x33b)](_0x3f1699[_0x4d860f(0x163)]),_0x4563a0=_0xc54eda[_0x4d860f(0x33b)](_0x89a8ec[_0x4d860f(0x392)]),_0x2a0608=_0xc54eda[_0x4d860f(0x33b)](_0x3f1699['IUndoRedoService']);if(!_0x1309eb)return!0x1;const {token:_0x301366,dataRangeInfo:_0x537ea8,unitId:_0x380fb3,subUnitId:_0x33f31f}=_0x1309eb,_0x166dc4=[],_0x59983c=[],_0x1022b0=(await _0x4563a0[_0x4d860f(0x20b)]({'unitId':_0x380fb3,'subUnitId':_0x33f31f,'pivotTableId':_0x301366,'params':{'type':_0x56b655[_0x4d860f(0x32e)],'updatePivotSource':{'dataRangeInfo':_0x537ea8,'unitId':_0x380fb3,'subUnitId':_0x33f31f}}}))[_0x4d860f(0x2fa)]['updatePivotSource'];if(!_0x1022b0)return!0x1;const {changesets:_0xb9c765,deleteIds:_0x22edd0,collectionConfig:_0x51d634,oldCollectionConfig:_0x4cc491,view:_0x23a69f,isEmpty:_0x2957e4,pivotTableConfig:_0x3854ac}=_0x1022b0;_0x59983c[_0x4d860f(0x182)]({'id':_0x100c03['id'],'params':{'pivotTableId':_0x301366,'deleteIds':_0x22edd0,'collectionJSON':_0x51d634,'dataRangeInfo':_0x537ea8,'unitId':_0x380fb3,'subUnitId':_0x33f31f}}),_0x166dc4[_0x4d860f(0x318)]({'id':_0x100c03['id'],'params':{'pivotTableId':_0x301366,'deleteIds':[],'collectionJSON':_0x4cc491,'dataRangeInfo':_0x3854ac[_0x4d860f(0x1af)],'unitId':_0x380fb3,'subUnitId':_0x33f31f}});const _0x3f1525=_0x3854ac['targetCellInfo'],_0x3c9e4e=new _0x24a6f0['PivotView']();_0x3c9e4e[_0x4d860f(0xd2)](_0x23a69f);const _0x1ae832={'cellInfo':_0x3f1525,'view':_0x3c9e4e,'isEmpty':_0x2957e4};if(!await _0xc54eda[_0x4d860f(0x33b)](_0x89a8ec[_0x4d860f(0xba)])[_0x4d860f(0x159)][_0x4d860f(0x300)](_0xb533ef)(!0x0,_0x1ae832))return!0x1;const _0x81981d=_0x34a7f9(_0xc54eda,_0x3c9e4e,_0x3f1525,_0x2957e4),_0x40b9bd=_0x2debb2(_0xc54eda,_0x1ae832),{undos:_0x11294e,redos:_0x871029}=_0x122330(_0x8b10c5,{'pivotTableId':_0x301366,'unitId':_0x380fb3,'subUnitId':_0x33f31f},_0xb9c765);return _0x3f1699[_0x4d860f(0x22f)]([..._0x81981d[_0x4d860f(0x245)],..._0x40b9bd[_0x4d860f(0x245)],..._0x59983c,..._0x11294e],_0x8b10c5),_0x2a0608[_0x4d860f(0x368)]({'unitID':_0x380fb3,'redoMutations':[..._0x81981d[_0x4d860f(0x245)],..._0x40b9bd['redos'],..._0x59983c,..._0x11294e],'undoMutations':[..._0x81981d[_0x4d860f(0x176)],..._0x40b9bd[_0x4d860f(0x176)],..._0x166dc4,..._0x871029]}),!0x0;}},_0x3af9ef={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x3ff5a5,_0x2bce4d){const _0x5792bd=_0x43ed60;if(!_0x2bce4d)return!0x1;const _0x1b8b9d=_0x3ff5a5[_0x5792bd(0x33b)](_0x3f1699['ICommandService']),_0x557c5b=_0x3ff5a5[_0x5792bd(0x33b)](_0x89a8ec['SheetsPivotRPCService']),_0xcbb018=_0x3ff5a5[_0x5792bd(0x33b)](_0x3f1699[_0x5792bd(0x1b9)]),_0x15a43c=_0x3ff5a5['get'](_0x3f1699[_0x5792bd(0x2a9)]),{pivotTableId:_0x3d580f,position:_0x4b7fa6,index:_0x1030fb}=_0x2bce4d,_0x51fb23=_0x1c7b09[_0x5792bd(0x11c)](_0xcbb018);if(!_0x51fb23)return!0x1;const {unitId:_0x1cb5a7,subUnitId:_0x5b71ad}=_0x51fb23,_0x5bb2c4=(await _0x557c5b[_0x5792bd(0x20b)]({'unitId':_0x1cb5a7,'subUnitId':_0x5b71ad,'pivotTableId':_0x3d580f,'params':{'type':_0x56b655[_0x5792bd(0x14f)],'updateValuePosition':{'position':_0x4b7fa6,'index':_0x1030fb}}}))[_0x5792bd(0x2fa)]['updateValuePosition'];if(!_0x5bb2c4)return!0x1;const {changesets:_0x416238,view:_0x7c3773,isEmpty:_0x4ec175,pivotTableConfig:_0x19ab2d}=_0x5bb2c4,_0x543afe=_0x19ab2d['targetCellInfo'],_0x939562=new _0x24a6f0[(_0x5792bd(0x25b))]();_0x939562[_0x5792bd(0xd2)](_0x7c3773);const _0x5534e4=_0x3ff5a5[_0x5792bd(0x33b)](_0x89a8ec[_0x5792bd(0xba)]),_0x2390d1={'cellInfo':_0x543afe,'view':_0x939562,'isEmpty':_0x4ec175};if(!await _0x5534e4[_0x5792bd(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x2390d1))return!0x1;const _0x200373=_0x34a7f9(_0x3ff5a5,_0x939562,_0x543afe,_0x4ec175),_0x1e21f0=_0x2debb2(_0x3ff5a5,_0x2390d1),{undos:_0x10d84c,redos:_0x5a45fd}=_0x122330(_0x1b8b9d,{'pivotTableId':_0x3d580f,'unitId':_0x1cb5a7,'subUnitId':_0x5b71ad},_0x416238);return _0x3f1699['sequenceExecute']([..._0x200373[_0x5792bd(0x245)],..._0x1e21f0[_0x5792bd(0x245)],..._0x5a45fd],_0x1b8b9d),_0x15a43c[_0x5792bd(0x368)]({'unitID':_0x1cb5a7,'redoMutations':[..._0x200373[_0x5792bd(0x245)],..._0x1e21f0[_0x5792bd(0x245)],..._0x5a45fd],'undoMutations':[..._0x200373[_0x5792bd(0x176)],..._0x1e21f0['undos'],..._0x10d84c]}),!0x0;}},_0x30bfee={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.move-pivot-table','handler':(_0x149fca,_0x3955e8)=>{const _0xf693ef=_0x43ed60,_0x14b68c=_0x149fca[_0xf693ef(0x33b)](_0x3f1699[_0xf693ef(0x163)]),_0x20f877=_0x149fca[_0xf693ef(0x33b)](_0x3f1699['IUndoRedoService']),_0x3b0463=_0x149fca['get'](_0x89a8ec['SheetsPivotTableConfigModel']),_0x1001a4=_0x149fca[_0xf693ef(0x33b)](_0x3f1699['IUniverInstanceService']);if(!_0x3955e8)return!0x1;const _0x3d4164=_0x1c7b09[_0xf693ef(0x11c)](_0x1001a4);if(!_0x3d4164)return!0x1;const {unitId:_0x29ab51,subUnitId:_0x4bae02,workbook:_0x197671}=_0x3d4164,_0x11c803=_0x3b0463[_0xf693ef(0x275)](_0x3955e8['originTargetInfo'][_0xf693ef(0x210)],_0x3955e8['originTargetInfo'][_0xf693ef(0x15a)],_0x3955e8[_0xf693ef(0x281)]);if(!_0x11c803)return!0x1;const _0x53f993=_0x197671['getSheetBySheetId'](_0x3955e8[_0xf693ef(0x3a4)][_0xf693ef(0x15a)]);if(!_0x53f993)throw new Error(_0xf693ef(0x143));const _0x45c4b4=_0x53f993[_0xf693ef(0x2b0)](),_0x2bb8b6=_0x53f993[_0xf693ef(0x179)]();if(_0x3955e8['targetCellInfo'][_0xf693ef(0x329)]>_0x45c4b4||_0x3955e8['targetCellInfo'][_0xf693ef(0x14c)]>_0x2bb8b6)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x279237=[{'id':_0x118dc3['id'],'params':{'unitId':_0x29ab51,'subUnitId':_0x3955e8[_0xf693ef(0x3a4)]['subUnitId'],'pivotTableId':_0x3955e8[_0xf693ef(0x281)],'targetCellPosition':{'row':_0x3955e8['targetCellInfo'][_0xf693ef(0x329)],'col':_0x3955e8['targetCellInfo'][_0xf693ef(0x14c)]}}}],_0x2a59f4=[{'id':_0x118dc3['id'],'params':{'unitId':_0x29ab51,'subUnitId':_0x4bae02,'pivotTableId':_0x3955e8[_0xf693ef(0x281)],'targetCellPosition':{'row':_0x11c803[_0xf693ef(0x3a4)][_0xf693ef(0x329)],'col':_0x11c803[_0xf693ef(0x3a4)][_0xf693ef(0x14c)]}}}];return _0x3f1699[_0xf693ef(0x22f)](_0x279237,_0x14b68c)&&_0x20f877[_0xf693ef(0x368)]({'unitID':_0x29ab51,'undoMutations':_0x2a59f4,'redoMutations':_0x279237}),!0x0;}},_0x1cacdd={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x18f),async 'handler'(_0x4fbb26,_0x4240bb){const _0x32f7a2=_0x43ed60;if(!_0x4240bb)return!0x1;const _0x1ad1c0=_0x4fbb26[_0x32f7a2(0x33b)](_0x3f1699[_0x32f7a2(0x163)]),{pivotTableId:_0x9e7b1e,fieldId:_0x48d63a,valueFilterInfo:_0x30016c,unitId:_0x2389d8,subUnitId:_0x19f4c6}=_0x4240bb,_0x4ebfc2=_0x4fbb26[_0x32f7a2(0x33b)](_0x89a8ec[_0x32f7a2(0x392)]),_0x310461=_0x4fbb26['get'](_0x3f1699[_0x32f7a2(0x2a9)]),_0x4a50fe=(await _0x4ebfc2[_0x32f7a2(0x20b)]({'unitId':_0x2389d8,'subUnitId':_0x19f4c6,'pivotTableId':_0x9e7b1e,'params':{'type':_0x56b655[_0x32f7a2(0x219)],'setValuePivotFilter':{'tableFieldId':_0x48d63a,'filterInfo':_0x30016c}}}))[_0x32f7a2(0x2fa)][_0x32f7a2(0xf7)];if(!_0x4a50fe)return!0x1;const {changesets:_0x316c95,pivotTableConfig:_0x2ddd64,isEmpty:_0x5e616e,view:_0x2bf7f4}=_0x4a50fe,_0x2a2fa8=_0x2ddd64[_0x32f7a2(0x3a4)],_0x47f73f=new _0x24a6f0[(_0x32f7a2(0x25b))]();_0x47f73f[_0x32f7a2(0xd2)](_0x2bf7f4);const _0x451bf3={'cellInfo':_0x2a2fa8,'view':_0x47f73f,'isEmpty':_0x5e616e};if(!await _0x4fbb26[_0x32f7a2(0x33b)](_0x89a8ec[_0x32f7a2(0xba)])[_0x32f7a2(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x451bf3))return!0x1;const _0x5d2053=_0x34a7f9(_0x4fbb26,_0x47f73f,_0x2a2fa8,_0x5e616e),_0xd402ee=_0x2debb2(_0x4fbb26,_0x451bf3),{undos:_0x23dd9b,redos:_0x5b276c}=_0x122330(_0x1ad1c0,{'pivotTableId':_0x9e7b1e,'unitId':_0x2389d8,'subUnitId':_0x19f4c6},_0x316c95);return _0x3f1699['sequenceExecute']([..._0x5d2053[_0x32f7a2(0x245)],..._0xd402ee[_0x32f7a2(0x245)],..._0x5b276c],_0x1ad1c0),_0x310461['pushUndoRedo']({'unitID':_0x2389d8,'redoMutations':[..._0x5d2053['redos'],..._0xd402ee[_0x32f7a2(0x245)],..._0x5b276c],'undoMutations':[..._0x5d2053[_0x32f7a2(0x176)],..._0xd402ee[_0x32f7a2(0x176)],..._0x23dd9b]}),!0x0;}},_0x3c2f81={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x4377a0,_0x5c1957){const _0x29a5c8=_0x43ed60;if(!_0x5c1957)return!0x1;const _0x2efa27=_0x4377a0[_0x29a5c8(0x33b)](_0x3f1699[_0x29a5c8(0x163)]),_0x4596de=_0x4377a0[_0x29a5c8(0x33b)](_0x3f1699[_0x29a5c8(0x2a9)]),_0x33df6c=_0x4377a0[_0x29a5c8(0x33b)](_0x89a8ec['SheetsPivotRPCService']),{pivotTableConfig:_0x2e8e8a,pivotTableId:_0x25a71a,unitId:_0x1e3b8c,subUnitId:_0x30caf9}=_0x5c1957,_0x2ac20d=(await _0x33df6c[_0x29a5c8(0x20b)]({'unitId':_0x1e3b8c,'subUnitId':_0x30caf9,'pivotTableId':_0x25a71a,'params':{'type':_0x56b655[_0x29a5c8(0x33c)],'setPivotTableConfig':{'pivotTableId':_0x25a71a,'pivotTableConfig':_0x2e8e8a}}}))[_0x29a5c8(0x2fa)]['setPivotTableConfig'];if(!_0x2ac20d)return!0x1;const {changesets:_0x4364ad}=_0x2ac20d,{redos:_0xaf09ae,undos:_0x479d14}=_0x122330(_0x2efa27,{'pivotTableId':_0x25a71a,'unitId':_0x1e3b8c,'subUnitId':_0x30caf9},_0x4364ad);return _0x3f1699['sequenceExecute'](_0xaf09ae,_0x2efa27),_0x4596de[_0x29a5c8(0x368)]({'unitID':_0x1e3b8c,'redoMutations':_0xaf09ae,'undoMutations':_0x479d14}),!0x0;}},_0x4106d8={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x263),async 'handler'(_0x440bbb,_0x943f7c){const _0x11139b=_0x43ed60;if(!_0x943f7c)return!0x1;const _0x1a40f6=_0x440bbb['get'](_0x3f1699['ICommandService']),_0x4989a7=_0x440bbb[_0x11139b(0x33b)](_0x3f1699['IUndoRedoService']),_0x5b423d=_0x440bbb[_0x11139b(0x33b)](_0x89a8ec[_0x11139b(0x392)]),{resetArea:_0x4f7b84,pivotTableId:_0x4fa6d0,unitId:_0x32230a,subUnitId:_0x39813b}=_0x943f7c,_0x52f3ae=(await _0x5b423d[_0x11139b(0x20b)]({'unitId':_0x32230a,'subUnitId':_0x39813b,'pivotTableId':_0x4fa6d0,'params':{'type':_0x56b655[_0x11139b(0x356)],'resetPivotTable':{'pivotTableId':_0x4fa6d0,'resetArea':_0x4f7b84}}}))['result'][_0x11139b(0x280)];if(!_0x52f3ae)return!0x1;const {changesets:_0x51880d}=_0x52f3ae,{redos:_0x4d1377,undos:_0x121576}=_0x122330(_0x1a40f6,{'pivotTableId':_0x4fa6d0,'unitId':_0x32230a,'subUnitId':_0x39813b},_0x51880d);return _0x3f1699[_0x11139b(0x22f)](_0x4d1377,_0x1a40f6),_0x4989a7[_0x11139b(0x368)]({'unitID':_0x32230a,'redoMutations':_0x4d1377,'undoMutations':_0x121576}),!0x0;}},_0x6eb560={'id':_0x43ed60(0x346),'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'handler':(_0x34a808,_0x389591)=>{const _0x4bcbb6=_0x43ed60;if(!_0x389591)return!0x1;if(!!_0x34a808[_0x4bcbb6(0x33b)](_0x3f1699[_0x4bcbb6(0x23e)])[_0x4bcbb6(0x30f)](_0x57d9c3))return!0x0;const {unitId:_0xa29fa4,subUnitId:_0x57a7ce,pivotTableId:_0x5b0223,tableFieldId:_0xcf31e0,dateType:_0x201da5}=_0x389591,_0x5f587f=_0x34a808[_0x4bcbb6(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x16bf97=_0x5f587f[_0x4bcbb6(0x1bf)](_0x5b0223);if(!_0x16bf97)return!0x1;const _0x505c1f=_0x16bf97[_0x4bcbb6(0xad)](_0xcf31e0);if(!_0x505c1f)return!0x1;const _0x54d7d6=_0x505c1f['getOriginFieldId'](),_0x4f443b=_0x16bf97[_0x4bcbb6(0x1a3)](_0x54d7d6),_0x4bba8b=(_0x4f443b==null?void 0x0:_0x4f443b[_0x4bcbb6(0xbe)]())+'\x20'+_0xe6d46c(_0x34a808,_0x201da5);_0x5f587f[_0x4bcbb6(0x361)](_0xa29fa4,_0x5b0223)[_0x4bcbb6(0x2ea)](_0x505c1f['id'],_0x4bba8b);const _0xa5aed6=_0x16bf97[_0x4bcbb6(0x145)](_0xcf31e0);if(!_0xa5aed6)return!0x1;_0x16bf97[_0x4bcbb6(0xb2)](_0xa5aed6['getId'](),_0x4bba8b),_0x505c1f[_0x4bcbb6(0xa2)](_0x201da5);const _0x537fc6=_0x5f587f[_0x4bcbb6(0x275)](_0xa29fa4,_0x57a7ce,_0x5b0223);return _0x5f587f[_0x4bcbb6(0x232)]({'unitId':_0xa29fa4,'subUnitId':_0x57a7ce,'token':_0x5b0223,'type':_0x1870de['Set'],'pivotConfig':_0x537fc6}),!0x0;}},_0x427b3e={'id':_0x43ed60(0xae),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'handler':(_0x507c91,_0x412096)=>{const _0xe5be9e=_0x43ed60;if(!_0x412096)return!0x1;const _0x58ff26=_0x507c91[_0xe5be9e(0x33b)](_0x3f1699[_0xe5be9e(0x2a9)]),{unitId:_0x5a6f6d,subUnitId:_0x4f5dc3,pivotTableId:_0x1041e6,tableFieldId:_0x446825}=_0x412096,_0x8bacd8=[],_0x1fb97e=[],_0x46e807=_0x507c91[_0xe5be9e(0x33b)](_0x89a8ec[_0xe5be9e(0xb3)]),_0x65ef5c=_0x46e807[_0xe5be9e(0x361)](_0x5a6f6d,_0x1041e6),_0x2a7b53=_0x46e807['getPivotTableConfig'](_0x5a6f6d,_0x4f5dc3,_0x1041e6);if(!(_0x2a7b53!=null&&_0x2a7b53[_0xe5be9e(0x1d8)]['dimension']))return!0x1;const _0x2efce0=Object[_0xe5be9e(0x213)](_0x2a7b53[_0xe5be9e(0x1d8)]['dimension'])['find'](_0xd7ddb0=>_0xd7ddb0['id']===_0x446825);if(!_0x2efce0)return!0x1;const _0x3c0495=_0x2efce0[_0xe5be9e(0xea)];if(!(_0x65ef5c!=null&&_0x65ef5c[_0xe5be9e(0x99)]))return!0x1;const _0x1e0571=Object['values'](_0x65ef5c==null?void 0x0:_0x65ef5c[_0xe5be9e(0x99)])['find'](_0x26926d=>_0x26926d['id']===_0x3c0495);if(!_0x1e0571)return!0x1;_0x24a6f0[_0xe5be9e(0x17c)](_0x1e0571)&&_0x8bacd8[_0xe5be9e(0x182)]({'id':_0x6eb560['id'],'params':{..._0x412096,'dateType':_0x1e0571[_0xe5be9e(0xb7)]}}),_0x1fb97e['push']({'id':_0x6eb560['id'],'params':{..._0x412096}});const _0x933b42=_0x507c91[_0xe5be9e(0x33b)](_0x3f1699[_0xe5be9e(0x163)]);return _0x3f1699['sequenceExecute'](_0x1fb97e,_0x933b42)&&_0x58ff26[_0xe5be9e(0x368)]({'unitID':_0x5a6f6d,'undoMutations':_0x8bacd8,'redoMutations':_0x1fb97e}),!0x0;}};var _0x18ceef=Object['getOwnPropertyDescriptor'],_0x4fd81f=(_0x48969f,_0x4bd4d3,_0x4e2b5f,_0x523449)=>{const _0x1e8b82=_0x43ed60;for(var _0xf09716=_0x523449>0x1?void 0x0:_0x523449?_0x18ceef(_0x4bd4d3,_0x4e2b5f):_0x4bd4d3,_0x5d32dc=_0x48969f[_0x1e8b82(0x27d)]-0x1,_0x147fbe;_0x5d32dc>=0x0;_0x5d32dc--)(_0x147fbe=_0x48969f[_0x5d32dc])&&(_0xf09716=_0x147fbe(_0xf09716)||_0xf09716);return _0xf09716;},_0x4b20b6=(_0x2d8d26,_0x15210b)=>(_0x1ea0f5,_0xb196de)=>_0x15210b(_0x1ea0f5,_0xb196de,_0x2d8d26);const _0x231ff0=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x15a34d=(_0x5d6f21,_0x24662e,_0x363d10)=>{const _0x231d36=_0x43ed60,_0x11572b=_0x5d6f21[_0x231d36(0x21f)];_0x5d6f21['iterateFieldDim'](_0x34bc9d=>{const _0x42611a=_0x231d36,_0x386ed3=_0x34bc9d[_0x42611a(0x242)](),_0x3c27bb=_0x34bc9d[_0x42611a(0x291)](),_0x24b882=_0x34bc9d[_0x42611a(0x391)](),_0x5a7bd5=_0x34bc9d['getDisplayName']();_0x24662e[_0x3c27bb]&&_0x24662e[_0x3c27bb]===_0x5a7bd5&&_0x24b882===_0x5a7bd5&&(_0x5d6f21[_0x42611a(0xb2)](_0x386ed3,_0x11572b[_0x42611a(0x16a)](_0x3c27bb)),_0x34bc9d[_0x42611a(0x24a)](_0x11572b[_0x42611a(0x16a)](_0x3c27bb)));}),_0x5d6f21[_0x231d36(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Value'],_0xf0d76e=>{const _0x2f3bfe=_0x231d36,_0x1bdf1d=_0xf0d76e[_0x2f3bfe(0x242)](),_0x25ae14=_0xf0d76e[_0x2f3bfe(0x291)](),_0x1c0b1f=_0xf0d76e[_0x2f3bfe(0x391)](),_0x1efc87=_0xf0d76e[_0x2f3bfe(0x16a)](),_0x3a181b=_0xf0d76e[_0x2f3bfe(0x1d4)](),_0x5b773e=_0x363d10(_0x1c0b1f,_0x3a181b);_0x24662e[_0x25ae14]&&_0x24662e[_0x25ae14]===_0x1c0b1f&&_0x5b773e===_0x1efc87&&(_0x5d6f21['renameField'](_0x1bdf1d,_0x363d10(_0x11572b[_0x2f3bfe(0x16a)](_0x25ae14),_0x3a181b)),_0xf0d76e[_0x2f3bfe(0x24a)](_0x11572b['getDisplayName'](_0x25ae14)));});},_0x57cd46=(_0x45ce2a,_0x2c1c09,_0x32ea34)=>{const _0x4cfb75=_0x43ed60;var _0x229800,_0x4e271e;const {arrayFormulaCellData:_0x42703c,unitData:_0x160960}=_0x2c1c09,{unitId:_0x424e20,subUnitId:_0x49e74a}=_0x32ea34,_0x33b90a=_0x32ea34[_0x4cfb75(0x24d)],{startColumn:_0xecde9d,endColumn:_0x5cf1d0}=_0x33b90a,_0x1839d5=(_0x229800=_0x42703c==null?void 0x0:_0x42703c[_0x424e20])==null?void 0x0:_0x229800[_0x49e74a],_0x5ca936=(_0x4e271e=_0x160960==null?void 0x0:_0x160960[_0x424e20])==null?void 0x0:_0x4e271e[_0x49e74a],_0x17f9cd=new Set(),_0x2a4427=_0x5cf1d0-_0xecde9d+0x1,{dirtyRanges:_0x368649}=_0x45ce2a;if(_0x368649)for(const {range:_0xd3dc77,sheetId:_0x8ee8d1,unitId:_0x22fbb0}of _0x368649){if(_0x8ee8d1!==_0x49e74a||_0x424e20!==_0x22fbb0)continue;const _0xb54897=_0x3f1699['Rectangle'][_0x4cfb75(0x34e)](_0xd3dc77,_0x33b90a);if(_0xb54897){const {startColumn:_0x2c1da9,endColumn:_0x301e62}=_0xb54897;for(let _0x49acab=_0x2c1da9;_0x49acab<=_0x301e62;_0x49acab++)_0x17f9cd[_0x4cfb75(0xe9)](_0x49acab);}}if(_0x17f9cd['size']===_0x2a4427||_0x17f9cd[_0x4cfb75(0x1e8)]===_0x2a4427)return Array[_0x4cfb75(0xff)](_0x17f9cd);if(_0x5ca936){const _0x3db5b3=_0x5ca936['getMatrix'](),_0x1c4c6d=Object[_0x4cfb75(0x375)](_0x3db5b3);for(const _0xb11ff1 of _0x1c4c6d){const _0x32fe60=Number(_0xb11ff1),_0x297bbe=_0x3db5b3[_0x32fe60];if(_0x17f9cd['size']===_0x2a4427)break;for(const _0x287e6e in _0x297bbe){const _0x3c4ea2=Number(_0x287e6e);_0x3c4ea2<_0xecde9d||_0x3c4ea2>_0x5cf1d0||_0x17f9cd[_0x4cfb75(0xe9)](_0x3c4ea2);}}}if(_0x1839d5){const _0x1f0d96=_0x1839d5[_0x4cfb75(0x2f7)](),_0x4342e0=Object['keys'](_0x1f0d96);for(const _0x2a55d4 of _0x4342e0){const _0x5bf99a=Number(_0x2a55d4),_0x8a7e39=_0x1f0d96[_0x5bf99a];if(_0x17f9cd[_0x4cfb75(0x1e8)]===_0x2a4427)break;for(const _0x437569 in _0x8a7e39){const _0x43bdc2=Number(_0x437569);_0x43bdc2<_0xecde9d||_0x43bdc2>_0x5cf1d0||_0x17f9cd[_0x4cfb75(0xe9)](_0x43bdc2);}}}return Array['from'](_0x17f9cd);},_0x2a939d=_0x326765=>{const _0x5a40c6=_0x43ed60,_0x9a3503=new Set(),_0x5e83d0=[];for(const _0x27344d of _0x326765){const _0x7522c2=_0x27344d[_0x5a40c6(0x13a)]+','+_0x27344d[_0x5a40c6(0x18b)]+','+_0x27344d['startColumn']+','+_0x27344d[_0x5a40c6(0x1dc)];_0x9a3503[_0x5a40c6(0x1d1)](_0x7522c2)||(_0x9a3503['add'](_0x7522c2),_0x5e83d0['push'](_0x27344d));}return _0x5e83d0;};let _0x500fea=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x3cce08,_0x31908a,_0x5bad95,_0x143253,_0x919fc8,_0x3af175){const _0x586e68=_0x43ed60;super(),_0x575f06(this,'_globalSubject',new _0x28d43e[(_0x586e68(0xc2))](!0x0)),_0x575f06(this,_0x586e68(0x332),_0x367fee=>{const _0x3c7af7=_0x586e68;this[_0x3c7af7(0x15e)]['next'](!0x1);}),_0x575f06(this,'_globalComputedEndHelpFunc',_0x2dabe5=>{this['_globalSubject']['next'](!0x0);}),(this[_0x586e68(0x212)]=_0x3cce08,this[_0x586e68(0x359)]=_0x31908a,this[_0x586e68(0x1cf)]=_0x5bad95,this['_commandService']=_0x143253,this['_globalComputingSrv']=_0x919fc8,this[_0x586e68(0x2f1)]=_0x3af175,this[_0x586e68(0x360)](),this['_initPivotDataGetListener']());}['_init'](){const _0x435bc7=_0x43ed60;this['_subjectCollectionChange'](),this[_0x435bc7(0x21e)](),this[_0x435bc7(0x117)](),this[_0x435bc7(0x202)]();}['_initGlobalComputed'](){const _0x53e1e0=_0x43ed60;this['_globalComputingSrv']['pushComputingStatusSubject'](this[_0x53e1e0(0x15e)]),_0x24a6f0['PivotTable'][_0x53e1e0(0x279)](_0x24a6f0[_0x53e1e0(0x238)][_0x53e1e0(0x2f4)],this[_0x53e1e0(0x332)]),_0x24a6f0[_0x53e1e0(0x308)]['registerCallbackWithEvent'](_0x24a6f0['PivotCallbackEnum']['onQueryEnd'],this[_0x53e1e0(0xa6)]);}[_0x43ed60(0x287)](){const _0xe173dd=_0x43ed60;this[_0xe173dd(0xaf)](this['_commandService'][_0xe173dd(0x149)](_0x2c1e32=>{const _0x271669=_0xe173dd;_0x2c1e32['id']===_0x1c7b09[_0x271669(0x394)]['id']&&this[_0x271669(0x212)][_0x271669(0x310)](_0x2c1e32['params']);})),this[_0xe173dd(0xaf)](this[_0xe173dd(0x399)][_0xe173dd(0x149)](_0x52e051=>{const _0x395f52=_0xe173dd;if(_0x52e051['id']!==_0x5cd217['id'])return;const _0x907c6=_0x52e051[_0x395f52(0x2c9)],{unitId:_0x5c5f2f,subUnitId:_0x4bf8b2,pivotTableId:_0xe5d454}=_0x907c6,_0x4c37fc=_0x907c6['params']['type'],_0x4a387c={};switch(_0x4c37fc){case _0x56b655[_0x395f52(0x385)]:{const _0x242468=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2a3)];if(!_0x242468)return;const {row:_0x68a1d4,col:_0x12781f,cellData:_0x21e93b,pivotItemRenderInfoCache:_0x21eae5,tableFieldId:_0x4b7dbf}=_0x242468,_0x582a9a=this[_0x395f52(0x212)]['getPivotTableInstance'](_0x907c6[_0x395f52(0x281)]);if(!_0x582a9a||!_0x21eae5)return;if(_0x4b7dbf){const _0x4b06c1=_0x582a9a[_0x395f52(0xad)](_0x4b7dbf);if(!_0x4b06c1)return;_0x4a387c[_0x395f52(0x2a3)]={..._0x582a9a[_0x395f52(0x168)](_0x4b06c1),'tableFieldId':_0x4b7dbf,'pivotTableId':_0x907c6['pivotTableId'],'filterInfo':_0x582a9a['getFilterInfo'](_0x4b7dbf),'sortInfo':_0x582a9a['getSortInfo'](_0x4b7dbf),'format':_0x582a9a[_0x395f52(0x2fd)](_0x4b7dbf)};}else{const _0x4496c5=_0x4e2eec(_0x68a1d4,_0x12781f,_0x21e93b,_0x582a9a,_0x21eae5),_0x27b59e=_0x4496c5==null?void 0x0:_0x4496c5[_0x395f52(0x257)];if(!_0x27b59e)return;const _0xb7acbf=_0x582a9a['getDataFieldByTableId'](_0x27b59e);if(!_0xb7acbf)return;_0x4a387c[_0x395f52(0x2a3)]={..._0x582a9a['getDataFieldItemInfo'](_0xb7acbf),'tableFieldId':_0x27b59e,'pivotTableId':_0x907c6[_0x395f52(0x281)],'filterInfo':_0x582a9a[_0x395f52(0xf9)](_0x27b59e),'sortInfo':_0x582a9a[_0x395f52(0x198)](_0x27b59e),'format':_0x582a9a[_0x395f52(0x2fd)](_0x27b59e)};}}break;case _0x56b655[_0x395f52(0x110)]:{const _0xaf32e8=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xdf)];if(!_0xaf32e8)return;const {pivotTableId:_0x11eaa3}=_0xaf32e8,_0x245e8b=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0x11eaa3);if(!_0x245e8b)return;const _0x1b4565=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0x11eaa3),_0x12b7c3=_0x34c403(_0x245e8b,_0x11eaa3,_0x1b4565);_0x4a387c[_0x395f52(0xdf)]=_0x12b7c3;}break;case _0x56b655[_0x395f52(0x323)]:{const _0x58a591=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454),_0x50f83b=this['_sheetsPivotDataSourceModel'][_0x395f52(0x1b1)](_0x5c5f2f),_0x7eefd3=_0x50f83b[_0x395f52(0x361)](_0xe5d454);let _0x21dcb5=null;const _0x5bd99f=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454),_0x1b20ed=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xbb)];if(!_0x58a591||!_0x5bd99f||!_0x1b20ed)return!0x1;const {dataFieldId:_0xaa1817,fieldArea:_0x18b960,index:_0x3a3b04}=_0x1b20ed;_0x58a591[_0x395f52(0x127)]();const _0x2344c3=_0x58a591[_0x395f52(0x34f)](_0xaa1817,_0x18b960,_0x3a3b04);if(_0x2344c3&&_0x18b960===_0x24a6f0[_0x395f52(0x2b6)]['Value']){const _0x1fbc41=_0x2344c3[_0x395f52(0x242)](),_0x2292b2=_0x58a591[_0x395f52(0xad)](_0x1fbc41);if(_0x2292b2){const _0x58d678=_0x2292b2==null?void 0x0:_0x2292b2[_0x395f52(0x165)]();_0x58a591['setSubtotalType'](_0x2344c3[_0x395f52(0x242)](),_0x58d678===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x28f)]);}const _0x33f544=_0x58a591['getValueIndex'](),_0x2d1884=_0x58a591['getValuePosition'](),_0x3862ce=_0x58a591[_0x395f52(0x247)](_0x24a6f0[_0x395f52(0x2b6)]['Value']);if(_0x33f544===-0x1&&_0x3862ce>0x1){const _0x461e81=_0x2d1884===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x1e6)]?_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x14b)]:_0x2d1884,_0x77d325=_0x461e81===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]?_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]:_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)];_0x58a591[_0x395f52(0x386)](_0x461e81,_0x58a591['getFieldCountByArea'](_0x77d325));}}else{if(_0x2344c3&&(_0x18b960===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x352)]||_0x18b960===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x14b)])){const _0x3abe60=_0x2344c3['getId'](),_0x199eff=_0x58a591['getDataFieldByTableId'](_0x3abe60);if(_0x199eff&&(_0x199eff==null?void 0x0:_0x199eff[_0x395f52(0x165)]())===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x2a0)]){const _0x66577f=_0x199eff[_0x395f52(0x14d)]();if(_0x66577f&&_0x58a591[_0x395f52(0x19a)](_0x2344c3['getId'](),_0x66577f),!_0x7eefd3[_0x395f52(0x2d8)]()[_0x395f52(0x35f)](_0x5653b4=>{const _0x58d3ed=_0x395f52,_0x45473e=_0x7eefd3[_0x58d3ed(0x2c7)](_0x5653b4);return _0x24a6f0['isDateGroupField'](_0x45473e)?_0x45473e[_0x58d3ed(0x350)]()[_0x58d3ed(0x171)]===_0xaa1817:!0x1;})){const _0x556acd=_0x50f83b[_0x395f52(0x185)](),_0x54a6e3=_0x4aebca(_0x199eff['maxDate'],_0x199eff[_0x395f52(0x17f)]),_0x19caed=_0x199eff[_0x395f52(0xbe)]()+'\x20-\x20'+_0xe6d46c(this[_0x395f52(0x2f1)],_0x54a6e3),_0x12f48c=new _0x24a6f0['DateGroupField'](_0x556acd,_0x19caed,_0x24a6f0[_0x395f52(0x1c5)](0x3),_0x199eff[_0x395f52(0x242)](),_0x54a6e3);_0x50f83b[_0x395f52(0x37f)](_0x12f48c),_0x7eefd3[_0x395f52(0x372)](_0x556acd,_0x19caed),_0x58a591[_0x395f52(0x34f)](_0x556acd,_0x18b960,(_0x3a3b04!=null?_0x3a3b04:0x0)+0x1),_0x21dcb5=_0x12f48c;}}}}const _0xff8e1c=_0x58a591[_0x395f52(0x35c)](),_0x2ffb56=_0x58a591[_0x395f52(0x264)]()[_0x395f52(0x10f)]();let _0x2e3de6;if(_0x21dcb5){_0x2e3de6=_0x21dcb5['toJSON']();const _0x521637=_0x21dcb5[_0x395f52(0x242)]();_0x7eefd3['deleteField'](_0x521637);let _0xf513ee=!0x0;for(const _0x523526 in _0x50f83b[_0x395f52(0x379)])if(_0x50f83b[_0x395f52(0x379)][_0x523526][_0x395f52(0x2d8)]()[_0x395f52(0x376)](_0x521637)){_0xf513ee=!0x1;break;}_0xf513ee&&_0x50f83b['deleteDataField'](_0x521637);}const _0x469c6f=_0x58a591[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0xbb)]={'view':_0x2ffb56,'changesets':_0x469c6f,'isEmpty':_0xff8e1c,'pivotTableConfig':_0x5bd99f,'shouldBeAddedGroupJSON':_0x2e3de6};}break;case _0x56b655[_0x395f52(0x3a5)]:{const _0x427d02=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2b2)];if(!_0x427d02)return;const _0xd4f33c=_0x427d02[_0x395f52(0x1af)],_0x257908=_0x427d02[_0x395f52(0x281)],{collection:_0x1b1495}=this[_0x395f52(0x212)]['createCollectionWithDataRange']({'unitId':_0xd4f33c[_0x395f52(0x210)],'sheetName':_0xd4f33c[_0x395f52(0x248)],'subUnitId':_0xd4f33c[_0x395f52(0x15a)],'range':_0xd4f33c[_0x395f52(0x24d)]}),_0x7abaea=new _0x24a6f0[(_0x395f52(0x308))](_0x1b1495,void 0x0,_0x257908),_0x3815cc=_0x7abaea[_0x395f52(0x264)](),_0x4a357d=_0x7abaea[_0x395f52(0x10f)](),_0x4706ff=_0x1b1495[_0x395f52(0x10f)]();_0x4a387c['addPivotTable']={'view':_0x3815cc,'fieldsConfig':_0x4a357d,'collectionConfig':_0x4706ff,'isEmpty':_0x7abaea[_0x395f52(0x35c)]()};}break;case _0x56b655[_0x395f52(0x26d)]:{const _0x539584=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x170)];if(!_0x539584)return;const {fieldId:_0x2d6592,area:_0x13f372,index:_0x377a31}=_0x539584,_0x3bd2e9=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3bd2e9)return;const _0x3e78d6=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x3e78d6)return;_0x3e78d6['startCollectChangeset']();const {area:_0x1454dc,index:_0x312a2a}=_0x3e78d6[_0x395f52(0x2ee)](_0x2d6592);if(_0x3e78d6[_0x395f52(0x109)](_0x2d6592,_0x13f372,_0x377a31),_0x13f372===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x11a)]&&_0x3e78d6['getTableFieldById'](_0x2d6592)[_0x395f52(0x1d4)]()===void 0x0){const _0x16d913=_0x3e78d6['getTableFieldById'](_0x2d6592);if(_0x16d913&&_0x16d913[_0x395f52(0x1d4)]()===void 0x0){const _0x15bf60=_0x3e78d6[_0x395f52(0xad)](_0x2d6592);if(_0x15bf60){const _0x5b0956=_0x15bf60==null?void 0x0:_0x15bf60['getFieldDataType']();_0x3e78d6[_0x395f52(0x1a9)](_0x2d6592,_0x5b0956===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)]['count']);}}}const _0x15bcbb=_0x3e78d6[_0x395f52(0xde)](),_0x4a3f54=_0x3e78d6[_0x395f52(0x251)](),_0x183de4=_0x3e78d6['getFieldCountByArea'](_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x11a)])>0x1;if(_0x183de4&&_0x1454dc===_0x13f372&&(_0x13f372===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x13f372===_0x24a6f0[_0x395f52(0x2b6)]['Column']&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)]['Column'])){let _0x2fceff=_0x4a3f54;_0x312a2a<=_0x4a3f54&&_0x2fceff--,_0x377a31<=_0x4a3f54&&_0x2fceff++,_0x3e78d6[_0x395f52(0x386)](_0x15bcbb,_0x2fceff);}else _0x183de4&&(_0x1454dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x1454dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)]&&_0x15bcbb===_0x24a6f0['PivotTableValuePositionEnum'][_0x395f52(0x14b)])&&_0x4a3f54>=_0x312a2a&&_0x3e78d6[_0x395f52(0x386)](_0x15bcbb,_0x4a3f54-0x1),_0x183de4&&(_0x13f372===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x13f372===_0x24a6f0[_0x395f52(0x2b6)]['Column']&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x14b)])&&_0x4a3f54>=_0x377a31&&_0x3e78d6['updateValuePosition'](_0x15bcbb,_0x4a3f54+0x1);const _0x227a51=_0x3e78d6[_0x395f52(0x264)](),_0x3f75c4=_0x3e78d6['isEmpty'](),_0x44e52e=_0x3e78d6[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x170)]={'view':_0x227a51[_0x395f52(0x10f)](),'changesets':_0x44e52e,'isEmpty':_0x3f75c4,'pivotTableConfig':_0x3bd2e9};}break;case _0x56b655['RemovePivotField']:{const _0x24d4cd=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xa9)];if(!_0x24d4cd)return;const _0x2cde89=_0x24d4cd[_0x395f52(0x33a)],_0x4ca795=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4ca795)return!0x1;const _0x40747f=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x40747f)return!0x1;_0x40747f[_0x395f52(0x127)]();for(const _0x1c40d3 of _0x2cde89){const {area:_0x1a03dc}=_0x40747f['getFieldPositionInfoById'](_0x1c40d3);_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x11a)]&&_0x40747f[_0x395f52(0x2a1)](_0x1c40d3),(_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]||_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)])&&_0x40747f['removeValueFilterInfo'](_0x1c40d3),_0x40747f[_0x395f52(0x32f)](_0x1c40d3);}const _0x45d1a9=_0x40747f[_0x395f52(0x35c)](),_0x37ec64=_0x40747f['query']()[_0x395f52(0x10f)](),_0x43c61b=_0x40747f[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0xa9)]={'changesets':_0x43c61b,'pivotTableConfig':_0x4ca795,'isEmpty':_0x45d1a9,'view':_0x37ec64};}break;case _0x56b655['SetPivotFilter']:{const _0x3b5ab0=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x31d)];if(!_0x3b5ab0)return;const {tableFieldId:_0x41706e,items:_0xfcb099,isAll:_0x281815}=_0x3b5ab0,_0x48f5fd=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x189cdf=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x48f5fd||!_0x189cdf)return;_0x48f5fd[_0x395f52(0x127)](),_0x48f5fd[_0x395f52(0xd5)](_0x41706e,{'type':_0x24a6f0[_0x395f52(0x2fe)]['ManualFilter'],'list':_0xfcb099,'isAll':_0x281815});const _0x15935f=_0x48f5fd['isEmpty'](),_0x4315b9=_0x48f5fd[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x1cd7e2=_0x48f5fd[_0x395f52(0x21d)]();_0x4a387c['setPivotFilter']={'view':_0x4315b9,'changesets':_0x1cd7e2,'isEmpty':_0x15935f,'pivotTableConfig':_0x189cdf};}break;case _0x56b655[_0x395f52(0x219)]:{const _0x15e99d=_0x907c6[_0x395f52(0x2c9)]['setValuePivotFilter'];if(!_0x15e99d)return;const {tableFieldId:_0x366427,filterInfo:_0xec7893}=_0x15e99d,_0x487e24=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454),_0x556d7c=this[_0x395f52(0x212)]['getPivotTableConfig'](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x487e24||!_0x556d7c)return;_0x487e24[_0x395f52(0x127)](),_0x487e24[_0x395f52(0x2b9)](_0x366427,_0xec7893);const _0x1a3af0=_0x487e24[_0x395f52(0x35c)](),_0x31e956=_0x487e24[_0x395f52(0x264)]()['toJSON'](),_0x59b707=_0x487e24[_0x395f52(0x21d)]();_0x4a387c['setValuePivotFilter']={'view':_0x31e956,'changesets':_0x59b707,'isEmpty':_0x1a3af0,'pivotTableConfig':_0x556d7c};}break;case _0x56b655[_0x395f52(0xcd)]:{const _0x62211=_0x907c6[_0x395f52(0x2c9)]['setPivotSort'];if(!_0x62211)return;const {tableFieldId:_0x38eb66,info:_0x39ac18}=_0x62211,_0x3a356d=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x1fa7ef=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3a356d||!_0x1fa7ef)return;_0x3a356d[_0x395f52(0x127)](),_0x3a356d[_0x395f52(0x13c)](_0x38eb66,_0x39ac18);const _0x500db8=_0x3a356d[_0x395f52(0x35c)](),_0x929974=_0x3a356d['query']()[_0x395f52(0x10f)](),_0x4271c1=_0x3a356d['endCollectChangeset']();_0x4a387c['setPivotSort']={'view':_0x929974,'changesets':_0x4271c1,'isEmpty':_0x500db8,'pivotTableConfig':_0x1fa7ef};}break;case _0x56b655[_0x395f52(0x167)]:{const _0x49367d=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x204)];if(!_0x49367d)return;const {tableFieldId:_0x4780c6,displayName:_0x52bc1d,subtotalType:_0xf9f1f7,format:_0x3d762d}=_0x49367d,_0x4e187c=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x354361=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4e187c||!_0x354361)return;_0x4e187c[_0x395f52(0x127)](),_0x52bc1d!==void 0x0&&_0x4e187c[_0x395f52(0xb2)](_0x4780c6,_0x52bc1d),_0xf9f1f7!==void 0x0&&_0x4e187c[_0x395f52(0x1a9)](_0x4780c6,_0xf9f1f7),_0x3d762d!==void 0x0&&_0x4e187c[_0x395f52(0x19a)](_0x4780c6,_0x3d762d);const _0x18227b=_0x4e187c['isEmpty'](),_0x1c5d0a=_0x4e187c[_0x395f52(0x264)]()['toJSON'](),_0x887b0c=_0x4e187c[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x204)]={'changesets':_0x887b0c,'pivotTableConfig':_0x354361,'isEmpty':_0x18227b,'view':_0x1c5d0a};}break;case _0x56b655[_0x395f52(0x32e)]:{const _0x24008b=_0x907c6[_0x395f52(0x2c9)]['updatePivotSource'];if(!_0x24008b)return;const {dataRangeInfo:_0x37d3f5,unitId:_0x48f860,subUnitId:_0x20116e}=_0x24008b,_0x162787=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x48f860,_0x20116e,_0xe5d454),_0x33bd16=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454);if(!this['_sheetsPivotDataSourceModel'][_0x395f52(0x361)](_0x48f860,_0xe5d454)||!_0x33bd16||!_0x162787)return;const _0x1f0892=this[_0x395f52(0x212)][_0x395f52(0x2ab)](_0x48f860,_0xe5d454,_0x37d3f5),_0x28f785=this[_0x395f52(0x212)][_0x395f52(0x361)](_0x48f860,_0xe5d454)['toJSON'](),{collection:_0x4a7ca8}=this['_sheetsPivotDataSourceModel'][_0x395f52(0x97)]({'unitId':_0x37d3f5[_0x395f52(0x210)],'sheetName':_0x37d3f5['sheetName'],'subUnitId':_0x37d3f5[_0x395f52(0x15a)],'range':_0x37d3f5[_0x395f52(0x24d)]}),_0x21b7fd=_0x4a7ca8[_0x395f52(0x10f)]();_0x33bd16[_0x395f52(0x127)]();const _0x17656a=this[_0x395f52(0x212)][_0x395f52(0x1b1)](_0x48f860)[_0x395f52(0x1d0)]()||_0x24a6f0[_0x395f52(0x1cc)];_0x33bd16[_0x395f52(0x1f1)](_0x2e6d0f=>{const _0x208fc7=_0x395f52,_0x2b5631=_0x2e6d0f[_0x208fc7(0x291)]();if(!_0x4a7ca8[_0x208fc7(0x397)](_0x2b5631)){const _0x56f9ee=_0x4a7ca8[_0x208fc7(0x152)](_0x2e6d0f['getSourceName']());if(_0x56f9ee){_0x33bd16[_0x208fc7(0x1bc)](_0x2e6d0f['getId'](),_0x56f9ee['getName'](),_0x56f9ee[_0x208fc7(0x242)]());const {area:_0x3a4249}=_0x33bd16[_0x208fc7(0x2ee)](_0x2e6d0f[_0x208fc7(0x242)]());let _0x20fa3f=_0x2e6d0f[_0x208fc7(0x391)]();const _0x514acb=_0x2e6d0f['getDisplayName']();if(_0x3a4249===_0x24a6f0['PivotTableFiledAreaEnum'][_0x208fc7(0x11a)]){const _0x16a153=_0x2e6d0f['getSubtotal']();_0x20fa3f=_0x17656a(_0x56f9ee[_0x208fc7(0xbe)](),_0x16a153);}_0x514acb!==_0x20fa3f&&_0x33bd16[_0x208fc7(0xb2)](_0x2e6d0f[_0x208fc7(0x242)](),_0x20fa3f);}else _0x33bd16[_0x208fc7(0x32f)](_0x2e6d0f[_0x208fc7(0x242)]());}});const _0x1256a3=_0x33bd16[_0x395f52(0x35c)](),_0x3f6876=_0x33bd16[_0x395f52(0x264)]()['toJSON'](),_0x18cf67=_0x33bd16[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x351)]={'view':_0x3f6876,'changesets':_0x18cf67,'isEmpty':_0x1256a3,'pivotTableConfig':_0x162787,'collectionConfig':_0x21b7fd,'oldCollectionConfig':_0x28f785,'deleteIds':_0x1f0892};}break;case _0x56b655[_0x395f52(0x14f)]:{const _0x5e134a=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x386)];if(!_0x5e134a)return;const {position:_0x189db0,index:_0x39e330}=_0x5e134a,_0x955f94=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x955f94)return!0x1;const _0x326229=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x326229)return!0x1;_0x326229['startCollectChangeset'](),_0x326229[_0x395f52(0x386)](_0x189db0,_0x39e330);const _0x74636f=_0x326229[_0x395f52(0x35c)](),_0x56b43a=_0x326229[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x22a035=_0x326229[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x386)]={'changesets':_0x22a035,'pivotTableConfig':_0x955f94,'isEmpty':_0x74636f,'view':_0x56b43a};}break;case _0x56b655[_0x395f52(0x2c8)]:{const _0x10b8c4=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2d4)];if(!_0x10b8c4)return;const {tableFieldId:_0x46f9f9,collapse:_0x4027f1,item:_0x2a4788}=_0x10b8c4,_0x3d0fd9=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x2c77f5=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3d0fd9||!_0x2c77f5)return;_0x3d0fd9['startCollectChangeset'](),_0x3d0fd9[_0x395f52(0x107)](_0x46f9f9,_0x4027f1,_0x2a4788);const _0x4e1fa0=_0x3d0fd9['isEmpty'](),_0x37f49b=_0x3d0fd9[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x9280d3=_0x3d0fd9[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x2d4)]={'view':_0x37f49b,'isEmpty':_0x4e1fa0,'pivotTableConfig':_0x2c77f5,'changesets':_0x9280d3};}break;case _0x56b655[_0x395f52(0x33c)]:{const _0x25b972=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x223)];if(!_0x25b972)return;const {pivotTableConfig:_0x59777d}=_0x25b972,_0x467485=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x1b23b9=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x467485||!_0x1b23b9)return;_0x467485[_0x395f52(0x127)](),_0x44161b(_0x467485,_0x59777d);const _0x3e12ca=_0x467485[_0x395f52(0x35c)](),_0x24c866=_0x467485[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x62d708=_0x467485['endCollectChangeset']();_0x4a387c['setPivotTableConfig']={'view':_0x24c866,'isEmpty':_0x3e12ca,'pivotTableConfig':{..._0x1b23b9,'fieldsConfig':_0x467485[_0x395f52(0x10f)]()},'changesets':_0x62d708};}break;case _0x56b655[_0x395f52(0x356)]:{const _0xa2d6d1=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x280)];if(!_0xa2d6d1)return;const _0x4e66c9=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0xe5d454),_0xcb7ed6=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4e66c9||!_0xcb7ed6)return;_0x4e66c9[_0x395f52(0x127)](),_0x20f090(_0x4e66c9,_0xa2d6d1[_0x395f52(0x2e3)]);const _0x128d2e=_0x4e66c9[_0x395f52(0x264)]()['toJSON'](),_0x379ced=_0x4e66c9[_0x395f52(0x21d)]();_0x4a387c['resetPivotTable']={'view':_0x128d2e,'isEmpty':!0x0,'pivotTableConfig':{..._0xcb7ed6,'fieldsConfig':_0x4e66c9[_0x395f52(0x10f)]()},'changesets':_0x379ced};}break;case _0x56b655['AddPivotTableWithConfig']:{const _0x2aec2d=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2ec)];if(!_0x2aec2d)return;const _0x4b0c95=_0x2aec2d['sourceRangeInfo'],_0x4caf85=_0x2aec2d[_0x395f52(0x281)],{collection:_0x51a806}=this[_0x395f52(0x212)][_0x395f52(0x97)]({'unitId':_0x4b0c95[_0x395f52(0x210)],'sheetName':_0x4b0c95[_0x395f52(0x248)],'subUnitId':_0x4b0c95[_0x395f52(0x15a)],'range':_0x4b0c95[_0x395f52(0x24d)]}),_0x5babc4=new _0x24a6f0['PivotTable'](_0x51a806,void 0x0,_0x4caf85),_0x5b95d2=_0x51a806[_0x395f52(0x2d8)](),{rows:_0x3096e6,columns:_0x5e6e1d,filters:_0x521b55,values:_0x6befe2}=_0x2aec2d[_0x395f52(0x1ad)];_0x5babc4[_0x395f52(0x127)]();for(const {field:_0x2fa377,selectedItems:_0x45d645}of _0x3096e6||[]){const _0xe7419c=_0x5b95d2[_0x2fa377];if(_0xe7419c){const _0x115c8e=_0x5babc4['addFieldWithSourceId'](_0xe7419c,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]);_0x45d645&&_0x115c8e&&_0x5babc4[_0x395f52(0xd5)](_0x115c8e['getId'](),{'type':_0x24a6f0[_0x395f52(0x2fe)][_0x395f52(0x1ae)],'list':_0x45d645,'isAll':!0x1});}}for(const {field:_0x1293f7,selectedItems:_0x15157a}of _0x5e6e1d||[]){const _0x291a98=_0x5b95d2[_0x1293f7];if(_0x291a98){const _0x5db4f=_0x5babc4['addFieldWithSourceId'](_0x291a98,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)]);_0x15157a&&_0x5db4f&&_0x5babc4[_0x395f52(0xd5)](_0x5db4f[_0x395f52(0x242)](),{'type':_0x24a6f0[_0x395f52(0x2fe)]['ManualFilter'],'list':_0x15157a,'isAll':!0x1});}}for(const {field:_0x59714a,selectedItems:_0x293c8d}of _0x521b55||[]){const _0x452cc3=_0x5b95d2[_0x59714a];if(_0x452cc3){const _0x5f7a5f=_0x5babc4['addFieldWithSourceId'](_0x452cc3,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x385)]);_0x293c8d&&_0x5f7a5f&&_0x5babc4[_0x395f52(0xd5)](_0x5f7a5f['getId'](),{'type':_0x24a6f0[_0x395f52(0x2fe)][_0x395f52(0x1ae)],'list':_0x293c8d,'isAll':!0x1});}}for(const {field:_0x41c02a,subTotalType:_0x46f93f,formatString:_0x476084}of _0x6befe2||[]){const _0x293a9f=_0x51a806[_0x395f52(0x2c7)](_0x5b95d2[_0x41c02a]);if(!_0x293a9f)continue;const _0x9e6dab=_0x5b95d2[_0x41c02a];if(_0x9e6dab){const _0x746fb6=_0x5babc4[_0x395f52(0x34f)](_0x9e6dab,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x11a)]);if(_0x746fb6){if(_0x46f93f!==void 0x0){_0x5babc4[_0x395f52(0x1a9)](_0x746fb6[_0x395f52(0x242)](),_0x46f93f);const _0x291d5e=this[_0x395f52(0x212)][_0x395f52(0x1b1)](_0x4b0c95[_0x395f52(0x210)])[_0x395f52(0x1d0)]()||_0x24a6f0['getAutoDisplayName'],_0x565b60=_0x51a806[_0x395f52(0x16a)](_0x9e6dab),_0x2a0754=_0x291d5e(_0x565b60,_0x46f93f);_0x5babc4[_0x395f52(0xb2)](_0x746fb6['getId'](),_0x2a0754);}else{if(_0x293a9f){const _0x44a815=_0x293a9f==null?void 0x0:_0x293a9f[_0x395f52(0x165)]();_0x5babc4['setSubtotalType'](_0x746fb6[_0x395f52(0x242)](),_0x44a815===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x28f)]);}}_0x476084&&_0x5babc4['setFieldFormat'](_0x746fb6['getId'](),_0x476084);}}}const _0x2703c0=_0x5babc4[_0x395f52(0x264)](),_0x35fce0=_0x5babc4[_0x395f52(0x10f)](),_0x4268c6=_0x5babc4[_0x395f52(0x35c)](),_0x5292cb=_0x5babc4['endCollectChangeset'](),_0x15fae3=_0x51a806[_0x395f52(0x10f)]();_0x4a387c[_0x395f52(0x2ec)]={'view':_0x2703c0,'fieldsConfig':_0x35fce0,'collectionConfig':_0x15fae3,'isEmpty':_0x4268c6,'changesets':_0x5292cb};}break;case _0x56b655[_0x395f52(0x1f7)]:{const _0xb46658=_0x23420b(this[_0x395f52(0x2f1)],_0x907c6);if(!_0xb46658)return;const {range:_0x5ca808,sourceSubUnitId:_0x7e7b4e,sourceUnitId:_0x3f5ae6,formatMap:_0x194f00,indexes:_0x1fafea}=_0xb46658;_0x4a387c[_0x395f52(0x1e1)]={'range':_0x5ca808,'sourceSubUnitId':_0x7e7b4e,'sourceUnitId':_0x3f5ae6,'formatMap':_0x194f00,'indexes':_0x1fafea};}break;}this[_0x395f52(0x399)][_0x395f52(0x294)](_0x193676['id'],{'version':_0x907c6[_0x395f52(0x24e)],'result':_0x4a387c},{'onlyLocal':!0x0});}));}[_0x43ed60(0x117)](){const _0x4d1fb4=_0x43ed60;this[_0x4d1fb4(0xaf)](this[_0x4d1fb4(0x399)][_0x4d1fb4(0x149)](_0x5a8dbf=>{const _0x41b86a=_0x4d1fb4;if(_0x5a8dbf['id']!==_0x34e502['id'])return;const _0x11706c=_0x5a8dbf[_0x41b86a(0x2c9)];return this[_0x41b86a(0x212)][_0x41b86a(0x10a)](_0x11706c[_0x41b86a(0xf4)]),!0x0;}));}[_0x43ed60(0x1d2)](){const _0x1b3d04=_0x43ed60;this[_0x1b3d04(0x212)][_0x1b3d04(0x38e)][_0x1b3d04(0x3ae)](_0x47694e=>{const _0x3214f3=_0x1b3d04;switch(_0x47694e[_0x3214f3(0x347)]){case _0x55be86[_0x3214f3(0xe9)]:_0x47694e[_0x3214f3(0x3ac)]&&_0x47694e[_0x3214f3(0x3a4)]&&this[_0x3214f3(0xb6)](_0x47694e['token'],_0x47694e[_0x3214f3(0x3ac)],_0x47694e[_0x3214f3(0x3a4)]);break;case _0x55be86[_0x3214f3(0x21c)]:{const {unitId:_0x1d6fd5,subUnitId:_0x1d4457,token:_0x205633}=_0x47694e;_0x1d6fd5&&_0x1d4457&&_0x205633&&this['removeSourceRangeChange'](_0x1d6fd5,_0x1d4457,_0x205633);}break;case _0x55be86[_0x3214f3(0x31c)]:{const {token:_0x2ea3cb,oldSourceRangeInfo:_0x1a7e07,dataRangeInfo:_0x53604b,targetCellInfo:_0x393532}=_0x47694e,{unitId:_0x5680d4,subUnitId:_0x4fe040}=_0x1a7e07||{};_0x5680d4&&_0x4fe040&&_0x2ea3cb&&this[_0x3214f3(0x2e9)](_0x5680d4,_0x4fe040,_0x2ea3cb),_0x53604b&&_0x393532&&this[_0x3214f3(0xb6)](_0x2ea3cb,_0x53604b,_0x393532);}break;}});}['_subjectFieldsCollectionChange'](){const _0x570586=_0x43ed60;this[_0x570586(0x212)][_0x570586(0x387)][_0x570586(0x3ae)](_0x454b9e=>{const _0xedb729=_0x570586;Object[_0xedb729(0x375)](_0x454b9e)[_0xedb729(0x2f8)](_0x4e3384=>{const _0x35ae57=_0xedb729,_0x5539b0=this['_sheetsPivotDataSourceModel'][_0x35ae57(0x367)](_0x4e3384);if(_0x5539b0){const _0x59fea2=this[_0x35ae57(0x212)][_0x35ae57(0x275)](_0x5539b0==null?void 0x0:_0x5539b0[_0x35ae57(0x210)],_0x5539b0==null?void 0x0:_0x5539b0[_0x35ae57(0x15a)],_0x4e3384);_0x59fea2&&(this[_0x35ae57(0xb6)](_0x4e3384,_0x59fea2[_0x35ae57(0x1af)],_0x59fea2[_0x35ae57(0x3a4)]),this['triggerDirtyFeature']([{'unitId':_0x5539b0[_0x35ae57(0x210)],'subUnitId':_0x5539b0[_0x35ae57(0x15a)],'token':_0x4e3384}]));}});});}[_0x43ed60(0x21e)](){const _0x4725f8=_0x43ed60;this['_sheetsPivotDataSourceModel'][_0x4725f8(0x9a)][_0x4725f8(0x3ae)](_0x4f656f=>{const {unitId:_0x25800c,subUnitId:_0x106156,pivotTableId:_0x2c5e4f}=_0x4f656f;_0x25800c&&_0x106156&&_0x2c5e4f&&this['triggerDirtyFeature']([{'unitId':_0x25800c,'subUnitId':_0x106156,'token':_0x2c5e4f}]);});}[_0x43ed60(0x353)](_0x4ca572){const _0x384326=_0x43ed60,_0x509bba={};_0x4ca572['forEach'](_0x3d0948=>{var _0x29e283,_0xe83763;const {unitId:_0x514228,subUnitId:_0x28d4ec,token:_0x457244}=_0x3d0948;_0x509bba[_0x514228]=(_0x29e283=_0x509bba[_0x514228])!=null?_0x29e283:{},_0x509bba[_0x514228][_0x28d4ec]=(_0xe83763=_0x509bba[_0x514228][_0x28d4ec])!=null?_0xe83763:{},_0x509bba[_0x514228][_0x28d4ec][_0x457244]=!0x0;}),this['_commandService'][_0x384326(0x294)](_0x1e4960['id'],_0x509bba);}['removeSourceRangeChange'](_0x24a0d1,_0x5d8eb5,_0x463a52){const _0x53acbf=_0x43ed60;this[_0x53acbf(0x1cf)][_0x53acbf(0x2e1)](_0x24a0d1,_0x5d8eb5,[_0x463a52]);}['handleSourceRangeChange'](_0x1756b8,_0x423852,_0x45b694){const _0x3db828=_0x43ed60,{unitId:_0x227221,subUnitId:_0x26ce25}=_0x423852;this['_featureCalculationManagerService']['has'](_0x45b694[_0x3db828(0x210)],_0x45b694[_0x3db828(0x15a)],_0x1756b8)&&this[_0x3db828(0x2e9)](_0x227221,_0x26ce25,_0x1756b8);const _0x280730={'sheetId':_0x26ce25,..._0x423852};this[_0x3db828(0x1cf)][_0x3db828(0x244)](_0x45b694[_0x3db828(0x210)],_0x45b694[_0x3db828(0x15a)],_0x1756b8,{'unitId':_0x45b694[_0x3db828(0x210)],'subUnitId':_0x45b694[_0x3db828(0x15a)],'dependencyRanges':[_0x280730],'getDirtyData':(_0x342aa6,_0x3c1fae)=>{const _0x4e6503=_0x3db828,_0xdda439=this[_0x4e6503(0x212)],_0x1c689b=_0xdda439[_0x4e6503(0x367)](_0x1756b8);if(!_0x1c689b)return _0x231ff0();const {unitId:_0x3030f7,subUnitId:_0x254b25}=_0x1c689b,_0x52e467=_0x57cd46(_0x342aa6,_0x3c1fae,_0x423852);if(_0x52e467['length']>0x0){const _0x55038e=_0xdda439[_0x4e6503(0x361)](_0x227221,_0x1756b8),_0x2cb247=_0x55038e['getFieldIds'](),_0x431273=this[_0x4e6503(0x26a)](_0x423852[_0x4e6503(0x210)],_0x423852[_0x4e6503(0x15a)],_0x3c1fae),_0x3a6848={},_0x11084=this[_0x4e6503(0x212)][_0x4e6503(0x1b1)](_0x3030f7)[_0x4e6503(0x1d0)]()||_0x24a6f0[_0x4e6503(0x1cc)],_0x2d479a=[];for(const _0x5b3544 of _0x52e467){const _0x4a727e=_0x5b3544-(_0x423852[_0x4e6503(0x24d)][_0x4e6503(0x135)]||0x0),_0x128f43=_0x2cb247[_0x4a727e];_0x2d479a['push'](_0x128f43),_0x3a6848[_0x128f43]=_0x55038e[_0x4e6503(0x2c7)](_0x128f43)[_0x4e6503(0xbe)](),_0xdda439[_0x4e6503(0x1b1)](_0x227221)['refreshDataField'](_0x128f43,_0x423852,_0x4a727e,_0x431273);}_0x55038e[_0x4e6503(0x311)](_0x2d479a)[_0x4e6503(0x2f8)](_0x458d2f=>{const _0x19aca4=_0x4e6503,[_0xced7da,_0x344a83]=_0x458d2f,_0x1956b2=_0x55038e['getFieldById'](_0xced7da),_0x267e3b=_0x55038e[_0x19aca4(0x2c7)](_0x344a83);_0x1956b2&&_0x267e3b&&_0x1956b2[_0x19aca4(0x151)](_0x267e3b);}),_0x55038e[_0x4e6503(0xd7)]();const _0x53a5e0=_0xdda439[_0x4e6503(0x1bf)](_0x1756b8);if(_0x53a5e0){_0x15a34d(_0x53a5e0,_0x3a6848,_0x11084),_0x53a5e0['setDirty'](!0x0);const _0x4d2595=_0x53a5e0['query'](),_0x52e03d=_0xdda439[_0x4e6503(0x275)](_0x3030f7,_0x254b25,_0x1756b8),_0xdc2ab9=_0xdda439[_0x4e6503(0x1b1)](_0x227221)[_0x4e6503(0x10f)]();_0xdda439['updateView'](_0x3030f7,_0x254b25,_0x1870de['Set'],_0x1756b8,_0x4d2595,_0x52e03d,_0xdc2ab9,!0x0);}}return this[_0x4e6503(0x2bf)](_0x3030f7,_0x254b25,_0x1756b8);}});}[_0x43ed60(0x26a)](_0x21ecaa,_0x240930,_0x1489c1){var _0x4e1e5a,_0x54ce40;const {arrayFormulaCellData:_0xac3f4c,unitData:_0x3c1c14}=_0x1489c1,_0x102996=(_0x4e1e5a=_0xac3f4c==null?void 0x0:_0xac3f4c[_0x21ecaa])==null?void 0x0:_0x4e1e5a[_0x240930],_0x4b5c8c=(_0x54ce40=_0x3c1c14==null?void 0x0:_0x3c1c14[_0x21ecaa])==null?void 0x0:_0x54ce40[_0x240930];return{'arrayFormulaCellDataMatrix':_0x102996,'unitDataMatrix':_0x4b5c8c};}[_0x43ed60(0x2bf)](_0x373146,_0x33f01f,_0x1f525f){const _0x40bfae=_0x43ed60,_0x94f7c=this[_0x40bfae(0x212)][_0x40bfae(0x18d)](_0x373146,_0x33f01f,_0x1f525f),_0x261849=[],_0x4e5a3f=new _0x3f1699[(_0x40bfae(0x2cb))]();if(_0x94f7c){const {rangeCache:_0x1c00d6,matrix:_0x228a73,oldRangeCache:_0x5d5842,oldMatrix:_0x5c979c}=_0x94f7c,_0x20f0b1=_0x3fa2d9(_0x5d5842),_0x44f3d7=_0x3fa2d9(_0x1c00d6);_0x261849['push'](..._0x44f3d7,..._0x20f0b1),_0x5c979c&&_0x5d5842&&_0x20f0b1[_0x40bfae(0x2f8)](_0x594c13=>{const _0x43f064=_0x40bfae;for(let _0x2d5687=_0x594c13[_0x43f064(0x13a)];_0x2d5687<=_0x594c13['endRow'];_0x2d5687++)for(let _0x181869=_0x594c13[_0x43f064(0x135)];_0x181869<=_0x594c13[_0x43f064(0x1dc)];_0x181869++)_0x4e5a3f[_0x43f064(0x235)](_0x2d5687,_0x181869);}),_0x228a73&&_0x44f3d7&&_0x44f3d7[_0x40bfae(0x2f8)](_0x4a9042=>{const _0x2b1c0c=_0x40bfae;for(let _0x362d72=_0x4a9042[_0x2b1c0c(0x13a)];_0x362d72<=_0x4a9042[_0x2b1c0c(0x18b)];_0x362d72++)for(let _0x20b023=_0x4a9042[_0x2b1c0c(0x135)];_0x20b023<=_0x4a9042[_0x2b1c0c(0x1dc)];_0x20b023++)_0x4e5a3f[_0x2b1c0c(0x297)](_0x362d72,_0x20b023,_0x228a73[_0x2b1c0c(0x381)](_0x362d72,_0x20b023));});}const _0x43f848={};return _0x43f848[_0x373146]={[_0x33f01f]:_0x2a939d(_0x261849)},{'runtimeCellData':{[_0x373146]:{[_0x33f01f]:_0x4e5a3f}},'dirtyRanges':_0x43f848};}[_0x43ed60(0x180)](){}};_0x500fea=_0x4fd81f([_0x4b20b6(0x0,_0x3f1699['Inject'](_0x89a8ec[_0x43ed60(0x1b5)])),_0x4b20b6(0x1,_0x3f1699[_0x43ed60(0x23e)]),_0x4b20b6(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x54af29['IFeatureCalculationManagerService'])),_0x4b20b6(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x163)])),_0x4b20b6(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x54af29['GlobalComputingStatusService'])),_0x4b20b6(0x5,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x383)]))],_0x500fea);var _0x417cf7=Object[_0x43ed60(0x269)],_0x52fbc3=(_0x5498bf,_0x543dbe,_0x140de6,_0x3fd37c)=>{const _0x322684=_0x43ed60;for(var _0x31fb08=_0x3fd37c>0x1?void 0x0:_0x3fd37c?_0x417cf7(_0x543dbe,_0x140de6):_0x543dbe,_0x20e05e=_0x5498bf[_0x322684(0x27d)]-0x1,_0x157734;_0x20e05e>=0x0;_0x20e05e--)(_0x157734=_0x5498bf[_0x20e05e])&&(_0x31fb08=_0x157734(_0x31fb08)||_0x31fb08);return _0x31fb08;},_0x2a0b98=(_0x46dae8,_0x42e767)=>(_0x420f14,_0x241f8a)=>_0x42e767(_0x420f14,_0x241f8a,_0x46dae8);let _0x16f3f8=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x31f309,_0x4e6e6a,_0x1584aa,_0x3ac6e0){const _0x27ef3c=_0x43ed60;super(),_0x575f06(this,_0x27ef3c(0x29a),new _0x3f1699[(_0x27ef3c(0xa1))]()),(this['_univerInstanceService']=_0x31f309,this[_0x27ef3c(0x1c7)]=_0x4e6e6a,this[_0x27ef3c(0x1bb)]=_0x1584aa,this['_sheetsPivotTableConfigModel']=_0x3ac6e0,this[_0x27ef3c(0x246)]());}[_0x43ed60(0x246)](){const _0x39584c=_0x43ed60;this[_0x39584c(0xaf)](this['_sheetInterceptorService'][_0x39584c(0x307)]({'getMutations':_0x3da60c=>{const _0x592c7f=_0x39584c;if(_0x3da60c['id']===_0x1c7b09['ClearSelectionContentCommand']['id']||_0x3da60c['id']===_0x1c7b09['ClearSelectionAllCommand']['id']){const _0x2c9258=[],_0x5e0f30=[],_0x516d8b=this[_0x592c7f(0x1bb)][_0x592c7f(0x195)]()['map'](_0xf3020b=>_0xf3020b['range']),_0x105f7c=_0x1c7b09[_0x592c7f(0x11c)](this['_univerInstanceService']);if(!_0x105f7c)return{'redos':[],'undos':[]};const {unitId:_0x41f2fe,subUnitId:_0x1ee362}=_0x105f7c,_0x195e56={},_0x675230=this[_0x592c7f(0xd6)][_0x592c7f(0x39b)](_0x41f2fe,_0x1ee362);if(_0x675230!=null&&_0x675230['size'])for(const [_0x5d90c5,_0x581340]of _0x675230){const {unitId:_0x24832d,subUnitId:_0x4323b3,row:_0x1be074,col:_0x40e395}=_0x581340[_0x592c7f(0x3a4)];_0x24832d===_0x105f7c[_0x592c7f(0x210)]&&_0x4323b3===_0x105f7c[_0x592c7f(0x15a)]&&(_0x195e56[_0x1be074+'-'+_0x40e395]=_0x5d90c5);}return _0x516d8b&&_0x105f7c&&_0x516d8b[_0x592c7f(0x2f8)](_0x2a218b=>{const _0xbc9ea2=_0x592c7f;_0x3f1699['Range'][_0xbc9ea2(0x1aa)](_0x2a218b,(_0x3904e5,_0xee8488)=>{const _0x139168=_0xbc9ea2,_0x5d2dd8=_0x3904e5+'-'+_0xee8488;if(_0x195e56[_0x5d2dd8]){const _0x17bbce=_0x195e56[_0x5d2dd8];_0x2c9258['push']({'id':_0x3fa252['id'],'params':{'unitId':_0x41f2fe,'subUnitId':_0x1ee362,'pivotTableId':_0x17bbce}});const _0x232527=this[_0x139168(0xd6)]['getCollection'](_0x41f2fe,_0x17bbce),_0x3d8b00=this[_0x139168(0xd6)][_0x139168(0x275)](_0x41f2fe,_0x1ee362,_0x17bbce);_0x5e0f30['push']({'id':_0x158817['id'],'params':{'unitId':_0x41f2fe,'subUnitId':_0x1ee362,'pivotTableId':_0x17bbce,'pivotTableConfig':_0x3d8b00,'collectionConfig':_0x232527}});}});}),{'redos':_0x2c9258,'undos':_0x5e0f30};}return{'redos':[],'undos':[]};}}));}};_0x16f3f8=_0x52fbc3([_0x2a0b98(0x0,_0x3f1699['IUniverInstanceService']),_0x2a0b98(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09[_0x43ed60(0x133)])),_0x2a0b98(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09['SheetsSelectionsService'])),_0x2a0b98(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)]))],_0x16f3f8);var _0x536239=Object['getOwnPropertyDescriptor'],_0x4672a9=(_0x343c84,_0x44a7e4,_0x4bf06a,_0x12be58)=>{const _0x5110be=_0x43ed60;for(var _0x5c5d44=_0x12be58>0x1?void 0x0:_0x12be58?_0x536239(_0x44a7e4,_0x4bf06a):_0x44a7e4,_0x59e4ee=_0x343c84[_0x5110be(0x27d)]-0x1,_0x39bc92;_0x59e4ee>=0x0;_0x59e4ee--)(_0x39bc92=_0x343c84[_0x59e4ee])&&(_0x5c5d44=_0x39bc92(_0x5c5d44)||_0x5c5d44);return _0x5c5d44;},_0x40e43a=(_0x469605,_0x11d567)=>(_0x305202,_0x22b5e9)=>_0x11d567(_0x305202,_0x22b5e9,_0x469605);let _0x3fa19b=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x5368fa,_0x149e95,_0x3bed71,_0x380ef1,_0x46782f,_0x11070c){const _0x1ceaa1=_0x43ed60;super(),this[_0x1ceaa1(0x1da)]=_0x5368fa,this[_0x1ceaa1(0x1c7)]=_0x149e95,this[_0x1ceaa1(0x2f1)]=_0x3bed71,this[_0x1ceaa1(0x2dc)]=_0x380ef1,this[_0x1ceaa1(0xd6)]=_0x46782f,this[_0x1ceaa1(0x1a4)]=_0x11070c,this[_0x1ceaa1(0x20f)]();}[_0x43ed60(0x3a3)](_0x14686a,_0x26f22e,_0x3fdc67){const _0x4d6f56=_0x43ed60,{pageView:_0x2b75a0,cornerView:_0x7d05b,rowView:_0x59423b,colView:_0x1700c6,dataView:_0x22d523}=_0x26f22e,_0x466ae0=_0x14686a;let _0x4bcd1f;if(_0x3fdc67)_0x4bcd1f=[..._0x51080a(_0x466ae0)];else{const _0xe6e0e6=_0x3688e4(_0x466ae0,_0x2b75a0,!0x0),_0x3a09c0=_0x2b75a0[_0x4d6f56(0x121)]>=0x0?_0x2b75a0[_0x4d6f56(0x121)]+0x1:0x0,_0x3c9723=_0x7d05b[_0x4d6f56(0x140)],_0x4edb34=_0x7d05b[_0x4d6f56(0x19b)],_0x2845f3=_0xe6e0e6[_0x4d6f56(0x27d)]>0x0?_0x4cd667:0x0,_0x148c58=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3,'col':_0x466ae0['col']},_0x7d05b,!0x1,!0x1),_0x1cf204=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3+_0x3c9723,'col':_0x466ae0['col']},_0x59423b,!0x1,!0x0),_0x33431a=_0x3688e4({'row':_0x466ae0[_0x4d6f56(0x329)]+_0x3a09c0+_0x2845f3,'col':_0x466ae0['col']+_0x4edb34},_0x1700c6,!0x1,!0x0),_0x2398bb=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3+_0x3c9723,'col':_0x466ae0[_0x4d6f56(0x14c)]+_0x4edb34},_0x22d523,!0x1,!0x0);_0x4bcd1f=[..._0xe6e0e6,..._0x148c58,..._0x1cf204,..._0x33431a,..._0x2398bb];}return _0x4bcd1f;}[_0x43ed60(0x20f)](){const _0xbe9563=_0x43ed60;this['disposeWithMe'](this[_0xbe9563(0x1a4)][_0xbe9563(0x2f9)][_0xbe9563(0x188)](this[_0xbe9563(0x1a4)][_0xbe9563(0x2f9)][_0xbe9563(0x17b)]()[_0xbe9563(0x37c)],{'handler':(_0x18603d,_0x37710f)=>{const _0x2de937=_0xbe9563,{cellInfo:_0x35c635,view:_0x588dc9,isEmpty:_0x18abd0}=_0x37710f,_0x567861=_0x35c635,{unitId:_0xcb13de,subUnitId:_0xb0bc00}=_0x567861,_0x297cf0=this['_getPivotAppliedRanges'](_0x35c635,_0x588dc9,_0x18abd0),_0x488452=this[_0x2de937(0x1c7)][_0x2de937(0x1b2)]({'unitId':_0xcb13de,'subUnitId':_0xb0bc00,'ranges':_0x297cf0}),_0x35fbd8=_0x228cb9(this[_0x2de937(0x2f1)],_0xcb13de,_0xb0bc00,_0x297cf0);_0x35fbd8['shouldClear']&&(_0x488452[_0x2de937(0x245)][_0x2de937(0x182)](_0x35fbd8[_0x2de937(0xc4)]),_0x488452[_0x2de937(0x176)][_0x2de937(0x182)](_0x35fbd8[_0x2de937(0xd3)]));const _0x3f5161=this[_0x2de937(0x3a0)](_0x588dc9,_0x35c635);return _0x488452[_0x2de937(0x245)]['push'](..._0x3f5161[_0x2de937(0x245)]),_0x488452[_0x2de937(0x176)][_0x2de937(0x182)](..._0x3f5161[_0x2de937(0x176)]),{'redos':_0x488452[_0x2de937(0x245)],'undos':_0x488452[_0x2de937(0x176)]};}}));}[_0x43ed60(0x3a0)](_0x4c67d3,_0x1a5d99){const _0x38d40c=_0x43ed60,{col:_0x4cdfae,unitId:_0x634e60,subUnitId:_0x4dc39e}=_0x1a5d99,_0xfa7fba=[],_0x2f43a9=[],_0x3bc383=_0x1c7b09['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x634e60,'subUnitId':_0x4dc39e});if(!_0x1a5d99||!_0x4c67d3||!_0x3bc383)return{'undos':_0x2f43a9,'redos':_0xfa7fba};const _0x1e09cf=this['_sheetsPivotTableConfigModel'][_0x38d40c(0x1a0)](),{colView:_0x45556c,dataView:_0x3e8869,cornerView:_0xf7cf84,rowView:_0x5e6095,formatMap:_0x3ff0de}=_0x4c67d3,_0x5414d1=_0x40f147(_0x45556c,_0x1e09cf,!0x0,_0x3ff0de),_0x1336dc=_0x40f147(_0x5e6095,_0x1e09cf,!0x1,_0x3ff0de),_0x2728bd=_0x838b47(_0x3e8869),_0x4c9187=_0xd435f9(_0xf7cf84),{worksheet:_0x385c9e}=_0x3bc383;if(typeof window<'u'&&window[_0x38d40c(0x326)]){const _0x4ca632=_0x340edc['getFontStyleString']({..._0x4939a9['colStyle']}),_0x5ebe2b=_0x340edc[_0x38d40c(0x104)][_0x38d40c(0x9d)](_0x5414d1,_0x4ca632)['width']+0x10,_0x263da8=_0x340edc[_0x38d40c(0x104)]['getTextSize'](_0x2728bd,_0x4ca632)['width'],_0x2606bf=Math[_0x38d40c(0x12f)](Math[_0x38d40c(0x144)](_0x5ebe2b,_0x263da8))+0x10,_0x3ff18a=Math[_0x38d40c(0x12f)](_0x340edc['FontCache'][_0x38d40c(0x9d)](_0x1336dc,_0x4ca632)['width']),_0x238bc9=Math[_0x38d40c(0x12f)](_0x340edc[_0x38d40c(0x104)][_0x38d40c(0x9d)](_0x4c9187,_0x4ca632)[_0x38d40c(0x1d9)]),_0x3f0f1d=Math[_0x38d40c(0x144)](_0x3ff18a,_0x238bc9,0x28)+0xc,_0x517891=_0x45556c[_0x38d40c(0x19b)]+_0xf7cf84[_0x38d40c(0x19b)],_0x5e1695={},_0x5a15a5={};for(let _0x269043=_0x4cdfae;_0x269043<_0x4cdfae+_0x517891;_0x269043++){const _0x3596b4=_0x385c9e[_0x38d40c(0xf3)](_0x269043);_0x5e1695[_0x269043]=_0x3596b4,_0x269043-_0x4cdfae<_0xf7cf84['colCount']?_0x5a15a5[_0x269043-_0x4cdfae]=_0x3f0f1d:_0x5a15a5[_0x269043-_0x4cdfae]=_0x2606bf;}_0xfa7fba[_0x38d40c(0x182)]({'id':_0x1c7b09[_0x38d40c(0x341)]['id'],'params':{'subUnitId':_0x4dc39e,'unitId':_0x634e60,'ranges':[{'startColumn':_0x4cdfae,'endColumn':_0x4cdfae+_0x517891-0x1,'startRow':0x0,'endRow':_0x385c9e[_0x38d40c(0x2b0)]()-0x1}],'colWidth':_0x5a15a5}}),_0x2f43a9[_0x38d40c(0x182)]({'id':_0x1c7b09[_0x38d40c(0x341)]['id'],'params':{'subUnitId':_0x4dc39e,'unitId':_0x634e60,'ranges':[{'startColumn':_0x4cdfae,'endColumn':_0x4cdfae+_0x517891-0x1,'startRow':0x0,'endRow':_0x385c9e[_0x38d40c(0x2b0)]()-0x1}],'colWidth':_0x5e1695}});}return{'undos':_0x2f43a9,'redos':_0xfa7fba};}};_0x3fa19b=_0x4672a9([_0x40e43a(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x27e)])),_0x40e43a(0x1,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x133)])),_0x40e43a(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x40e43a(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x40e43a(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x40e43a(0x5,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xba)]))],_0x3fa19b);var _0x3a1b3f=Object[_0x43ed60(0x269)],_0x107260=(_0x20c52e,_0x376423,_0x383d69,_0x5b9476)=>{const _0x161fb0=_0x43ed60;for(var _0x43e100=_0x5b9476>0x1?void 0x0:_0x5b9476?_0x3a1b3f(_0x376423,_0x383d69):_0x376423,_0x1e54d9=_0x20c52e[_0x161fb0(0x27d)]-0x1,_0x1c9721;_0x1e54d9>=0x0;_0x1e54d9--)(_0x1c9721=_0x20c52e[_0x1e54d9])&&(_0x43e100=_0x1c9721(_0x43e100)||_0x43e100);return _0x43e100;},_0x3db426=(_0x470f5c,_0x57bc45)=>(_0x4239db,_0x6d78b8)=>_0x57bc45(_0x4239db,_0x6d78b8,_0x470f5c);let _0x14f8d7=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2f0da7,_0x567a91,_0x4ecc21,_0x53801a,_0x5b5e45,_0x15094d,_0x4afa9b){const _0x3b790b=_0x43ed60;super(),_0x575f06(this,_0x3b790b(0x29a),new _0x3f1699[(_0x3b790b(0xa1))]()),(this[_0x3b790b(0x2f1)]=_0x2f0da7,this['_refRangeService']=_0x567a91,this[_0x3b790b(0x399)]=_0x4ecc21,this[_0x3b790b(0x2dc)]=_0x53801a,this[_0x3b790b(0xd6)]=_0x5b5e45,this[_0x3b790b(0x2cc)]=_0x15094d,this[_0x3b790b(0x1c7)]=_0x4afa9b,this['_onRefRangeChange']());}[_0x43ed60(0x191)](){const _0x33d25b=_0x43ed60,_0x225a3e=(_0x2d853d,_0x28d88f)=>{const _0x3031d1=_0xc6ae,_0x535907=this[_0x3031d1(0x2dc)][_0x3031d1(0x2a7)](_0x3f1699['UniverInstanceType']['UNIVER_SHEET']);if(!_0x535907||!(_0x535907==null?void 0x0:_0x535907['getSheetBySheetId'](_0x28d88f)))return;this[_0x3031d1(0x29a)][_0x3031d1(0x180)]();const _0x55ecdb=_0x3f75c1=>this[_0x3031d1(0x2a2)](_0x3f75c1,_0x2d853d,_0x28d88f),_0x54817e=this[_0x3031d1(0xd6)]['getSubUnitPivotConfigs'](_0x2d853d,_0x28d88f);if(!(_0x54817e!=null&&_0x54817e['size']))return;Array['from'](_0x54817e[_0x3031d1(0x213)]())[_0x3031d1(0xca)](_0xeb8d09=>{const _0x3d83ea=_0x3031d1,{row:_0x444a72,col:_0x380cff}=_0xeb8d09['targetCellInfo'];return _0x3f1699[_0x3d83ea(0x240)](_0x444a72,_0x380cff);})[_0x3031d1(0x2f8)](_0x4ac555=>{const _0x2d87a5=_0x3031d1;this[_0x2d87a5(0x29a)]['add'](this[_0x2d87a5(0x12e)][_0x2d87a5(0x267)](_0x4ac555,_0x55ecdb,_0x2d853d,_0x28d88f));});},_0x565f7d=()=>{const _0x17db9e=_0xc6ae,_0xed20f5=this[_0x17db9e(0x2dc)]['getCurrentUnitForType'](_0x3f1699[_0x17db9e(0x139)][_0x17db9e(0xfd)]);if(_0xed20f5){const _0x2aff14=_0xed20f5[_0x17db9e(0x25e)]();if(!_0x2aff14)return;_0x225a3e(_0xed20f5[_0x17db9e(0x330)](),_0x2aff14[_0x17db9e(0x344)]());}};this['disposeWithMe'](this[_0x33d25b(0x399)][_0x33d25b(0x149)](_0x395fd6=>{const _0x150cfe=_0x33d25b;if(_0x395fd6['id']===_0x1c7b09[_0x150cfe(0x1ce)]['id']){const _0x37adef=_0x395fd6[_0x150cfe(0x2c9)],_0x5ddf4c=_0x37adef[_0x150cfe(0x15a)],_0x58460e=_0x37adef[_0x150cfe(0x210)];if(!_0x5ddf4c||!_0x58460e)return;_0x225a3e(_0x58460e,_0x5ddf4c);}})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$']['subscribe'](_0x34f650=>{_0x34f650&&_0x565f7d();})),this[_0x33d25b(0xaf)](this[_0x33d25b(0xd6)]['pivotConfigChange$'][_0x33d25b(0x3ae)](_0x3b8f7f=>{const _0x13c641=_0x33d25b,_0x1dc7e8=_0x1c7b09[_0x13c641(0x11c)](this['_univerInstanceService']);if(!_0x1dc7e8)return;const {unitId:_0x27a65a,subUnitId:_0x4e1d8}=_0x1dc7e8,{unitId:_0x1b679c,subUnitId:_0xbe6e43}=_0x3b8f7f;_0x27a65a!==_0x1b679c||_0x4e1d8!==_0xbe6e43||_0x225a3e(_0x27a65a,_0x4e1d8);})),_0x565f7d();}[_0x43ed60(0x2a2)](_0x385be6,_0x3b72d4,_0x39e86d){const _0x279762=_0x43ed60;switch(_0x385be6['id']){case _0x1c7b09[_0x279762(0x364)]['id']:return this[_0x279762(0x27b)](_0x385be6[_0x279762(0x2c9)],_0x3b72d4,_0x39e86d);}return{'redos':[],'undos':[]};}[_0x43ed60(0x27b)](_0x3f1d60,_0xa02e7c,_0x29943c){const _0x97737a=_0x43ed60,{fromRange:_0x2a46f5,toRange:_0x24c2ea}=_0x3f1d60,_0x5660de=[],_0x57c409=[],_0x44030e=_0x1c7b09[_0x97737a(0x11c)](this[_0x97737a(0x2dc)]);if(!_0x44030e)return{'undos':_0x57c409,'redos':_0x5660de};if(_0xa02e7c!==_0x44030e['unitId']||_0x29943c!==_0x44030e[_0x97737a(0x15a)])return{'undos':_0x57c409,'redos':_0x5660de};const _0x21181a=this[_0x97737a(0xd6)]['getSubUnitPivotConfigs'](_0xa02e7c,_0x29943c);if(_0x21181a!=null&&_0x21181a[_0x97737a(0x1e8)])for(const [_0x8ebd05,_0x28bde6]of _0x21181a){const {unitId:_0x1fd9fb,subUnitId:_0x558497,row:_0x1787b6,col:_0x41e96c}=_0x28bde6[_0x97737a(0x3a4)];if(_0x1fd9fb===_0x44030e[_0x97737a(0x210)]&&_0x558497===_0x44030e[_0x97737a(0x15a)]){const _0x3c85c1=_0x3f1699[_0x97737a(0x240)](_0x1787b6,_0x41e96c);if(_0x3f1699[_0x97737a(0x36b)]['intersects'](_0x3c85c1,_0x2a46f5)){const _0x1cda22=_0x1787b6-_0x2a46f5[_0x97737a(0x13a)],_0x431c49=_0x41e96c-_0x2a46f5[_0x97737a(0x135)],_0x5f4870={'row':_0x24c2ea[_0x97737a(0x13a)]+_0x1cda22,'col':_0x24c2ea['startColumn']+_0x431c49};_0x5660de[_0x97737a(0x182)]({'id':_0x118dc3['id'],'params':{'unitId':_0x1fd9fb,'subUnitId':_0x558497,'pivotTableId':_0x8ebd05,'targetCellPosition':_0x5f4870}}),_0x57c409[_0x97737a(0x182)]({'id':_0x118dc3['id'],'params':{'unitId':_0x1fd9fb,'subUnitId':_0x558497,'pivotTableId':_0x8ebd05,'targetCellPosition':{'row':_0x1787b6,'col':_0x41e96c}}});const _0x3b576c=_0x5f4870[_0x97737a(0x329)]-_0x1787b6,_0x1ccdf6=_0x5f4870[_0x97737a(0x14c)]-_0x41e96c,_0x548180=[],_0x418b3f=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x1fd9fb,_0x558497,_0x8ebd05),_0x124e0c=_0x418b3f==null?void 0x0:_0x418b3f[_0x97737a(0x250)];if(_0x124e0c){Object[_0x97737a(0x375)](_0x124e0c)[_0x97737a(0x2f8)](_0x26fcf6=>{const _0x476e57=_0x97737a;_0x124e0c[_0x26fcf6][_0x476e57(0x2f8)](_0x53e285=>{const _0x565f6e=_0x476e57,_0x2a2a62={..._0x53e285};_0x2a2a62['startRow']=_0x53e285['startRow']+_0x3b576c,_0x2a2a62[_0x565f6e(0x18b)]=_0x53e285['endRow']+_0x3b576c,_0x2a2a62[_0x565f6e(0x135)]=_0x53e285[_0x565f6e(0x135)]+_0x1ccdf6,_0x2a2a62[_0x565f6e(0x1dc)]=_0x53e285[_0x565f6e(0x1dc)]+_0x1ccdf6,_0x548180[_0x565f6e(0x182)](_0x2a2a62);});});const _0x29ca3c=this['_sheetInterceptorService'][_0x97737a(0x1b2)]({'unitId':_0x1fd9fb,'subUnitId':_0x558497,'ranges':_0x548180});_0x5660de[_0x97737a(0x182)](..._0x29ca3c[_0x97737a(0x245)]),_0x57c409['push'](..._0x29ca3c[_0x97737a(0x176)]);const _0x37135a=_0x228cb9(this[_0x97737a(0x2f1)],_0x1fd9fb,_0x558497,_0x548180);_0x37135a[_0x97737a(0x316)]&&(_0x5660de[_0x97737a(0x182)](_0x37135a['setRangeValueRedoMutation']),_0x57c409[_0x97737a(0x182)](_0x37135a[_0x97737a(0xd3)]));}}}}return{'redos':_0x5660de,'undos':_0x57c409};}};_0x14f8d7=_0x107260([_0x3db426(0x0,_0x3f1699['Inject'](_0x3f1699['Injector'])),_0x3db426(0x1,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x220)])),_0x3db426(0x2,_0x3f1699['ICommandService']),_0x3db426(0x3,_0x3f1699[_0x43ed60(0x1b9)]),_0x3db426(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x3db426(0x5,_0x3f1699['Inject'](_0x89a8ec[_0x43ed60(0x1ef)])),_0x3db426(0x6,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09['SheetInterceptorService']))],_0x14f8d7);var _0x433747=Object[_0x43ed60(0x269)],_0x5d37e9=(_0x3731c6,_0x3eb1da,_0x2198db,_0x475482)=>{const _0x4fd1af=_0x43ed60;for(var _0x1db35b=_0x475482>0x1?void 0x0:_0x475482?_0x433747(_0x3eb1da,_0x2198db):_0x3eb1da,_0x6bf9fa=_0x3731c6[_0x4fd1af(0x27d)]-0x1,_0x14247d;_0x6bf9fa>=0x0;_0x6bf9fa--)(_0x14247d=_0x3731c6[_0x6bf9fa])&&(_0x1db35b=_0x14247d(_0x1db35b)||_0x1db35b);return _0x1db35b;},_0x54a561=(_0x4b123d,_0x15845c)=>(_0x5510b9,_0x31f9b6)=>_0x15845c(_0x5510b9,_0x31f9b6,_0x4b123d);let _0x5885e7=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x5ed089,_0x3b6148){const _0x42f896=_0x43ed60;super(),this[_0x42f896(0x1c7)]=_0x5ed089,this[_0x42f896(0xd6)]=_0x3b6148,this[_0x42f896(0x1ac)]();}['_initRemoveSheetCommandInterceptor'](){const _0x42f2dd=_0x43ed60;this[_0x42f2dd(0xaf)](this['_sheetInterceptorService'][_0x42f2dd(0x307)]({'getMutations':_0x22c40e=>{const _0x467185=_0x42f2dd;if(_0x22c40e['id']===_0x1c7b09[_0x467185(0x2d6)]['id']){const _0x542ee0=[],_0x4acebd=[],_0x1c37da=_0x22c40e['params'],{unitId:_0x23fb15,subUnitId:_0x44794f}=_0x1c37da;if(!_0x23fb15||!_0x44794f)return{'undos':_0x4acebd,'redos':_0x542ee0};const _0x4b79ff=this[_0x467185(0xd6)]['getSubUnitPivotConfigs'](_0x23fb15,_0x44794f);if(_0x4b79ff!=null&&_0x4b79ff[_0x467185(0x1e8)])for(const [_0x56f291,_0xcecca]of _0x4b79ff){_0x542ee0[_0x467185(0x182)]({'id':_0x3fa252['id'],'params':{'unitId':_0x23fb15,'subUnitId':_0x44794f,'pivotTableId':_0x56f291}});const _0x16919d={...this[_0x467185(0xd6)][_0x467185(0x361)](_0x23fb15,_0x56f291)};_0x4acebd[_0x467185(0x182)]({'id':_0x158817['id'],'params':{'unitId':_0x23fb15,'subUnitId':_0x44794f,'pivotTableId':_0x56f291,'pivotTableConfig':_0xcecca,'collectionConfig':_0x16919d}});}return{'redos':_0x542ee0,'undos':_0x4acebd};}return{'redos':[],'undos':[]};}}));}};_0x5885e7=_0x5d37e9([_0x54a561(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09[_0x43ed60(0x133)])),_0x54a561(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec['SheetsPivotTableConfigModel']))],_0x5885e7);var _0x478b3e=Object['getOwnPropertyDescriptor'],_0x5b3cab=(_0x5e66cf,_0x2cadc0,_0x263248,_0x2b80a6)=>{for(var _0x4d8261=_0x2b80a6>0x1?void 0x0:_0x2b80a6?_0x478b3e(_0x2cadc0,_0x263248):_0x2cadc0,_0x43ec7b=_0x5e66cf['length']-0x1,_0x324e3d;_0x43ec7b>=0x0;_0x43ec7b--)(_0x324e3d=_0x5e66cf[_0x43ec7b])&&(_0x4d8261=_0x324e3d(_0x4d8261)||_0x4d8261);return _0x4d8261;},_0x843479=(_0x121c84,_0x5c0b2d)=>(_0x36c924,_0x12843c)=>_0x5c0b2d(_0x36c924,_0x12843c,_0x121c84);let _0xe8846f=class extends _0x3f1699['Disposable']{constructor(_0x264935,_0x21daf1,_0x37a39f,_0x1c2c14,_0x1b4f86,_0x52e876){const _0x44711a=_0x43ed60;super(),this['_commandService']=_0x264935,this[_0x44711a(0x314)]=_0x21daf1,this['_sheetsPivotTableAdaptorModel']=_0x37a39f,this[_0x44711a(0xd6)]=_0x1c2c14,this[_0x44711a(0x2dc)]=_0x1b4f86,this[_0x44711a(0x1b4)]=_0x52e876,this['_initDataSendListener'](),this[_0x44711a(0x286)]();}[_0x43ed60(0x125)](){const _0x270be4=_0x43ed60;this[_0x270be4(0xaf)](this['_commandService']['onCommandExecuted'](_0x4a1922=>{const _0x1a1a75=_0x270be4;if(_0x4a1922['id']!==_0x193676['id'])return;const _0x359fbc=_0x4a1922[_0x1a1a75(0x2c9)];this[_0x1a1a75(0x314)]['handleAsyncResponse'](_0x359fbc);})),this['disposeWithMe'](this[_0x270be4(0x399)][_0x270be4(0x149)](_0x51693a=>{const _0x5106b3=_0x270be4;if(_0x51693a['id']===_0x3ffdcd['id']){const _0x223ad7=_0x51693a[_0x5106b3(0x2c9)];if(_0x223ad7){const {unitId:_0x325df9,subUnitId:_0x44c989,oldSubUnitId:_0x33f19f,pivotTableId:_0x11a8b4,pivotTableConfig:_0xb408da,collectionConfig:_0x1f79c2}=_0x223ad7;this[_0x5106b3(0xd6)]['updateConfigCache'](_0x325df9,_0x33f19f,_0x223ad7[_0x5106b3(0x281)],null),this[_0x5106b3(0xd6)][_0x5106b3(0x2b5)](_0x325df9,_0x44c989,_0x11a8b4,_0xb408da),this[_0x5106b3(0xd6)][_0x5106b3(0x32a)](_0x325df9,_0x1f79c2);}}})),this[_0x270be4(0xaf)](this['_commandService']['onCommandExecuted'](_0x4a4359=>{const _0x2b02cc=_0x270be4;if(_0x4a4359['id']!==_0x4c5ebb['id'])return;const _0x57f8be=_0x1c7b09['getSheetCommandTarget'](this[_0x2b02cc(0x2dc)]);if(!_0x57f8be)return;const {unitId:_0x4f9276,subUnitId:_0x207505}=_0x57f8be,_0x1e2949=_0x4a4359[_0x2b02cc(0x2c9)];if(_0x1e2949[_0x2b02cc(0x25d)]&&Object[_0x2b02cc(0x375)](_0x1e2949[_0x2b02cc(0x25d)])['forEach'](_0x939951=>{const _0x525bfe=_0x2b02cc;var _0x520f27;(_0x520f27=_0x1e2949['collectionConfig'])!=null&&_0x520f27[_0x939951]&&this[_0x525bfe(0xd6)]['updateCollectionConfig'](_0x939951,_0x1e2949[_0x525bfe(0x25d)][_0x939951]);}),_0x1e2949[_0x2b02cc(0x28a)]){const _0x56c9d8=_0x1e2949['single'],{unitId:_0xe3d26c,subUnitId:_0x211f3e,view:_0x1f40d2,pivotTableId:_0x4200ea,type:_0x1f5823,pivotConfig:_0x2ad7a2}=_0x56c9d8;if(_0x1f5823===_0x1870de[_0x2b02cc(0x39e)])this['_sheetsPivotTableAdaptorModel'][_0x2b02cc(0x26b)]({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'pivotTableId':_0x4200ea,'type':_0x1f5823}),this[_0x2b02cc(0xd6)][_0x2b02cc(0x2b5)](_0xe3d26c,_0x211f3e,_0x4200ea,null);else{const _0x239456=new _0x24a6f0['PivotView']();_0x239456['formJSON'](_0x1f40d2),this[_0x2b02cc(0xd6)]['updateConfigCache'](_0xe3d26c,_0x211f3e,_0x4200ea,_0x2ad7a2),this[_0x2b02cc(0x2cc)]['clearRenderCache']({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'pivotTableId':_0x4200ea,'type':_0x1f5823,'view':_0x239456}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'view':_0x239456,'pivotTableId':_0x4200ea,'type':_0x1f5823});}}else _0x1e2949[_0x2b02cc(0xcf)]&&(_0x1e2949[_0x2b02cc(0xcf)][_0x2b02cc(0x2f8)](_0x10a391=>{const _0x1f5e15=_0x2b02cc,{unitId:_0x459a2c,subUnitId:_0x2a2d09,view:_0x3b53fe,pivotTableId:_0x3f6e0e,type:_0x27b286,pivotConfig:_0x407869}=_0x10a391,_0x283328=new _0x24a6f0[(_0x1f5e15(0x25b))]();_0x283328[_0x1f5e15(0xd2)](_0x3b53fe),this[_0x1f5e15(0xd6)][_0x1f5e15(0x2b5)](_0x459a2c,_0x2a2d09,_0x3f6e0e,_0x407869),this[_0x1f5e15(0x2cc)][_0x1f5e15(0x27a)]({'unitId':_0x459a2c,'subUnitId':_0x2a2d09,'view':_0x283328,'pivotTableId':_0x3f6e0e,'type':_0x27b286});}),this['_sheetsPivotTableConfigModel'][_0x2b02cc(0x22a)]());this[_0x2b02cc(0x2cc)][_0x2b02cc(0x27f)](_0x4f9276,_0x207505);}));}[_0x43ed60(0x286)](){const _0x3d2e67=_0x43ed60;this[_0x3d2e67(0x1b4)][_0x3d2e67(0x244)](_0x1e4960['id'],{'commandId':_0x1e4960['id'],'getDirtyData'(_0x17a03c){const _0x41c62c=_0x3d2e67;return{'dirtyUnitFeatureMap':_0x17a03c[_0x41c62c(0x2c9)]};}});}};_0xe8846f=_0x5b3cab([_0x843479(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x163)])),_0x843479(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x392)])),_0x843479(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x1ef)])),_0x843479(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x843479(0x4,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x843479(0x5,_0x54af29[_0x43ed60(0x23a)])],_0xe8846f);var _0x3f129a=Object['defineProperty'],_0x5c2d19=Object['getOwnPropertyDescriptor'],_0x7a59de=(_0x1c2ab4,_0x14d99f,_0x546b6c)=>_0x14d99f in _0x1c2ab4?_0x3f129a(_0x1c2ab4,_0x14d99f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x546b6c}):_0x1c2ab4[_0x14d99f]=_0x546b6c,_0x3d1c83=(_0x461ac1,_0x1233e9,_0x44bb1d,_0x2d6d17)=>{const _0x52e9e8=_0x43ed60;for(var _0x247621=_0x2d6d17>0x1?void 0x0:_0x2d6d17?_0x5c2d19(_0x1233e9,_0x44bb1d):_0x1233e9,_0xf86544=_0x461ac1[_0x52e9e8(0x27d)]-0x1,_0x4f54dc;_0xf86544>=0x0;_0xf86544--)(_0x4f54dc=_0x461ac1[_0xf86544])&&(_0x247621=_0x4f54dc(_0x247621)||_0x247621);return _0x247621;},_0x12d9d2=(_0x228008,_0x183869)=>(_0x58a769,_0x1bf990)=>_0x183869(_0x58a769,_0x1bf990,_0x228008),_0x4b7164=(_0x408133,_0x1a7024,_0x431e0a)=>_0x7a59de(_0x408133,typeof _0x1a7024!=_0x43ed60(0x11f)?_0x1a7024+'':_0x1a7024,_0x431e0a);_0x89a8ec['UniverSheetsPivotTablePlugin']=class extends _0x3f1699[_0x43ed60(0x283)]{constructor(_0x4fec6f=_0x548652,_0x123cf8,_0xee879b,_0x25373f,_0x5ad637){const _0x27de31=_0x43ed60;super(),this[_0x27de31(0x9c)]=_0x4fec6f,this[_0x27de31(0x2f1)]=_0x123cf8,this[_0x27de31(0x399)]=_0xee879b,this['_configService']=_0x25373f,this[_0x27de31(0x3a2)]=_0x5ad637;const {..._0x5cf6ab}=_0x3f1699[_0x27de31(0xe0)]({},_0x548652,this['_config']);this['_configService'][_0x27de31(0x335)](_0x3b7866,_0x5cf6ab),this['_initRegisterCommand'](),this['_initConfig']();}[_0x43ed60(0xe5)](){const _0x4479c1=_0x43ed60;var _0x15864b;const _0x57e2c6=(_0x15864b=this[_0x4479c1(0x9c)])==null?void 0x0:_0x15864b[_0x4479c1(0x18a)];this[_0x4479c1(0x359)][_0x4479c1(0x335)](_0x57d9c3,_0x57e2c6===!0x0);}[_0x43ed60(0x317)](){const _0x2c9944=_0x43ed60;var _0x2c8650;let _0xde8d34=[];const _0x14299a=(_0x2c8650=this[_0x2c9944(0x9c)])==null?void 0x0:_0x2c8650['notExecuteFormula'];_0x14299a===!0x0?_0xde8d34=[[_0x89a8ec[_0x2c9944(0xba)]],[_0x89a8ec[_0x2c9944(0x392)]],[_0xe8846f],[_0x89a8ec['SheetsPivotTableAdaptorModel']],[_0x89a8ec[_0x2c9944(0xb3)]],[_0x5885e7],[_0x16f3f8],[_0x14f8d7],[_0x3fa19b]]:_0x14299a===!0x1?_0xde8d34=[[_0x89a8ec[_0x2c9944(0x1b5)]],[_0x500fea]]:_0x14299a===void 0x0&&(_0xde8d34=[[_0x89a8ec[_0x2c9944(0x1b5)]],[_0x500fea],[_0x89a8ec[_0x2c9944(0xba)]],[_0x89a8ec[_0x2c9944(0x392)]],[_0xe8846f],[_0x89a8ec[_0x2c9944(0x1ef)]],[_0x89a8ec[_0x2c9944(0xb3)]],[_0x5885e7],[_0x16f3f8],[_0x14f8d7],[_0x3fa19b]]),_0xde8d34[_0x2c9944(0x2f8)](_0x578cbc=>this[_0x2c9944(0x2f1)][_0x2c9944(0xe9)](_0x578cbc)),[_0x500fea,_0xe8846f,_0x89a8ec['SheetsPivotTableService'],_0x16f3f8,_0x5885e7,_0x14f8d7,_0x3fa19b][_0x2c9944(0x2f8)](_0x16c239=>{const _0x3b7644=_0x2c9944;this[_0x3b7644(0x2f1)][_0x3b7644(0x1d1)](_0x16c239)&&this[_0x3b7644(0x2f1)]['get'](_0x16c239);});}[_0x43ed60(0x2e8)](){const _0x2e2b8b=_0x43ed60;[_0x2355f0,_0xa736a1,_0x3f11e0,_0x1e7f27,_0x59be0b,_0x3af9ef,_0x427b3e,_0x1e7c51,_0x4df349,_0x1cf9cd,_0x1d8ad2,_0x3c72f3,_0x30bfee,_0x55ad53,_0x158817,_0x6eb560,_0x3fa252,_0x2683fb,_0x50e961,_0x3d58af,_0x32fa40,_0x4c4039,_0x33ff97,_0x4d2e93,_0xdc2a8,_0x1082bc,_0x118dc3,_0x5cd217,_0x193676,_0x4c5ebb,_0x1389af,_0xad2258,_0x47dd65,_0x574c2c,_0x34e502,_0x100c03,_0x344faf,_0x1e4960,_0x3ffdcd,_0x1cacdd,_0x56fe20,_0x3c2f81,_0x4106d8][_0x2e2b8b(0x2f8)](_0x5d0b47=>{const _0x481a48=_0x2e2b8b;var _0x3d202e;(_0x3d202e=this[_0x481a48(0x3a2)])==null||_0x3d202e[_0x481a48(0x20e)](_0x5d0b47),this[_0x481a48(0x399)]['registerCommand'](_0x5d0b47);});}},_0x4b7164(_0x89a8ec[_0x43ed60(0x25c)],_0x43ed60(0x2dd),_0x1cc3eb),_0x4b7164(_0x89a8ec[_0x43ed60(0x25c)],_0x43ed60(0x347),_0x3f1699[_0x43ed60(0x139)]['UNIVER_SHEET']),_0x89a8ec[_0x43ed60(0x25c)]=_0x3d1c83([_0x3f1699['DependentOn'](_0x48414d['UniverLicensePlugin']),_0x12d9d2(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x12d9d2(0x2,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x163)])),_0x12d9d2(0x3,_0x3f1699[_0x43ed60(0x23e)]),_0x12d9d2(0x4,_0x3f1699[_0x43ed60(0x1fe)](_0x59f156[_0x43ed60(0x334)]))],_0x89a8ec[_0x43ed60(0x25c)]),_0x89a8ec[_0x43ed60(0x277)]=_0x3f11e0,_0x89a8ec['AddPivotFieldMutation']=_0x2683fb,_0x89a8ec[_0x43ed60(0x253)]=_0xa736a1,_0x89a8ec['AddPivotTableMutation']=_0x158817,_0x89a8ec[_0x43ed60(0x23c)]=_0x2355f0,_0x89a8ec['BLANK_ROW_COUNT']=_0x4cd667,_0x89a8ec[_0x43ed60(0xac)]=_0x53ba46,_0x89a8ec[_0x43ed60(0x205)]=_0x1e7f27,_0x89a8ec[_0x43ed60(0x31f)]=_0x30bfee,_0x89a8ec['PivotDisplayDataType']=_0x56b655,_0x89a8ec[_0x43ed60(0x363)]=_0x55ad53,_0x89a8ec['PivotTableOperationEnum']=_0x1870de,_0x89a8ec[_0x43ed60(0x243)]=_0x1e4960,_0x89a8ec[_0x43ed60(0xdb)]=_0x581236,_0x89a8ec['RemovePivotFieldCommand']=_0x59be0b,_0x89a8ec[_0x43ed60(0x103)]=_0x4c4039,_0x89a8ec[_0x43ed60(0x28d)]=_0x3fa252,_0x89a8ec[_0x43ed60(0x388)]=_0x33ff97,_0x89a8ec[_0x43ed60(0x16f)]=_0x4106d8,_0x89a8ec[_0x43ed60(0xc7)]=_0x3b7866,_0x89a8ec['SHEET_PIVOT_TABLE_PLUGIN']=_0x1cc3eb,_0x89a8ec[_0x43ed60(0x1e4)]=_0x1e7c51,_0x89a8ec[_0x43ed60(0x33d)]=_0x4d2e93,_0x89a8ec[_0x43ed60(0xc0)]=_0x574c2c,_0x89a8ec[_0x43ed60(0x181)]=_0x3c2f81,_0x89a8ec['SetPivotFilterCommand']=_0x1cf9cd,_0x89a8ec[_0x43ed60(0x183)]=_0x32fa40,_0x89a8ec[_0x43ed60(0x162)]=_0x1082bc,_0x89a8ec['SetPivotPositionMutation']=_0x118dc3,_0x89a8ec['SetPivotSortCommand']=_0x4df349,_0x89a8ec[_0x43ed60(0x16d)]=_0xdc2a8,_0x89a8ec[_0x43ed60(0x29d)]=_0x47dd65,_0x89a8ec[_0x43ed60(0x378)]=_0x1cacdd,_0x89a8ec[_0x43ed60(0x36c)]=_0x56fe20,_0x89a8ec[_0x43ed60(0x304)]=_0x427b3e,_0x89a8ec[_0x43ed60(0x174)]=_0x1389af,_0x89a8ec['UpdatePivotFieldSettingCommand']=_0x1d8ad2,_0x89a8ec[_0x43ed60(0xec)]=_0x344faf,_0x89a8ec[_0x43ed60(0xdc)]=_0x3c72f3,_0x89a8ec[_0x43ed60(0x2c2)]=_0x100c03,_0x89a8ec[_0x43ed60(0x119)]=_0x3af9ef,_0x89a8ec[_0x43ed60(0xce)]=_0xad2258,_0x89a8ec[_0x43ed60(0x1a6)]=_0x122330,_0x89a8ec['canUsePivot']=_0x35e5f9,_0x89a8ec[_0x43ed60(0x153)]=_0x4939a9,_0x89a8ec['generateSetRangeValueMutations']=_0x228cb9,_0x89a8ec[_0x43ed60(0x25a)]=_0x3688e4,_0x89a8ec[_0x43ed60(0x29f)]=_0x51080a,_0x89a8ec[_0x43ed60(0x231)]=_0x10b759,_0x89a8ec[_0x43ed60(0xf1)]=_0x34a7f9,_0x89a8ec[_0x43ed60(0x1de)]=_0x4e2eec,_0x89a8ec[_0x43ed60(0x138)]=_0xa1005d,_0x89a8ec['getPivotTableInfo']=_0x34c403,_0x89a8ec[_0x43ed60(0x1be)]=_0x2a897d,_0x89a8ec['unionPivotViewRange']=_0x3fa2d9,Object[_0x43ed60(0x2f3)](_0x89a8ec,Symbol['toStringTag'],{'value':_0x43ed60(0x1b8)});}));function _0xc6ae(_0x333181,_0xec30e1){const _0x28fa73=_0x28fa();return _0xc6ae=function(_0xc6ae32,_0x5b5215){_0xc6ae32=_0xc6ae32-0x97;let _0x18936e=_0x28fa73[_0xc6ae32];return _0x18936e;},_0xc6ae(_0x333181,_0xec30e1);}function _0x28fa(){const _0x3aacac=['_sheetsPivotTableAdaptorModel','FORCE_STRING','getStyles','node','setPivotTable','Varp\x20of\x20','_ensurePivotTableRangeInfo','SetSubtotalType','setPivotCollapse','rowFields','RemoveSheetCommand','sheet.mutation.set-pivot-option','getFieldIds','columnFields','SHEET_PIVOT_TABLE_PLUGIN','Collapse','_univerInstanceService','pluginName','getFilterFieldIdByIndex','#e6ebfb','createLabelField','remove','isFeatureAuthorizedWithinTime','resetArea','getPivotItemRenderInfoCache','tableFieldId','getSheets','removeValueFilterInfo','_initRegisterCommand','removeSourceRangeChange','setDisplayName','sheet.mutation.send-init-pivot-text-local','addPivotTableWithConfig','RemovePivotField','getFieldPositionInfoById','Sum\x20of\x20','SetRangeValuesMutation','_injector','handleAsyncResponse','defineProperty','onQueryStart','_ensurePivotItemRenderInfoCache','min','getMatrix','forEach','interceptor','result','countNums','PivotErrorTypeEnum','getFieldFormat','PivotFilterTypeEnum','_pivotInitCompleted$','fetchThroughAsyncInterceptors','YearQuarter','isValue','#e6ebfa','UpdateDateGroupCommand','getCellMatrix','sheets-pivot.emptyPivot.filter','interceptCommand','PivotTable','rangeKey','531svvHTb','getSubUnitPivotMatrix','BadReference','DIV_BY_ZERO','Date','getConfig','handleMoveRange','getGroupFieldsInfoByIds','cornerStyle','_configVersion$','_sheetsPivotRpcService','sheet.mutation.remove-pivot-table','shouldClear','onStarting','unshift','NotName','column','1839806VMMckB','update','setPivotFilter','_ensurePivotMap','MovePivotTableCommand','updateDataFieldsCollection','RenameField','registerPluginResource','AddPivotField','excelDateToUnixMilliseconds','getDataFieldByRangeKey','document','fromJSON','BaseGroupField','row','updateCollectionConfig','sheet.mutation.update-pivot-table-source-range','level','pivotPerformCheck','UpdatePivotSource','removeField','getUnitId','initDataRanges','_globalComputedStartHelpFunc','sheet.mutation.set-pivot-field-subtotal-type','DataSyncPrimaryController','setConfig','getFormatInfo','queryDirtyPivotTable','_host','rangeKeyMap','fieldIds','get','SetPivotTableConfig','SetPivotCollapseMutation','mergeWorksheetSnapshotWithDefault','@univerjs/sheets','getRangeStartEndInfo','SetWorksheetColWidthMutation','value','setDataRecordCount','getSheetId','UniverProLicense','sheet.mutation.update-date-group','type','getRangeData','isDateValue','var','_viewData','isNaN','_markDirty$','getIntersects','addFieldWithSourceId','getFieldInfo','updatePivotSource','Row','triggerDirtyFeature','PivotDateGroupFieldDateTypeEnum','_initLocale','ResetPivotTable','UniverSheetsFilter','sheets-pivot.dateGroup.yearQuarter','_configService','getUnit','getValueFilterInfos','isEmpty','_exclusiveRangeService','#1d32e9','some','_init','getCollection','_ensurePivotTableMatrixInfo','PivotDrillDownCommand','MoveRangeCommand','generateRandomId','grandTotal','getTargetByPivotId','pushUndoRedo','_viewUpdate$','_pivotConfigChange$','Rectangle','SetPivotValueFilterMutation','forValue','unshiftString','body','GrandTotal','addExclusiveRange','addField','sheets-pivot.value','valueIndex','keys','includes','#f4f4f5','SetPivotValueFilterCommand','collections','sum','sheets-pivot.maxName','PIVOT_MUTATION_GENERATE','deleteDataField','_pivotRenderValueMatrixCache','addDataFieldWithoutUnitInfo','sheets-pivot.dateGroup.month','getValue','colInfo','Injector','113512uLCxEw','Filter','updateValuePosition','fieldsCollectionChange$','RenamePivotFieldMutation','sheets-pivot.cellDateGroupDisplay.yearQuarter','getMatrixValue','string','RemoveSheetsFilterMutation','_fieldsCollectionChange$','collectionChange$','sheet.mutation.pivot-update-field-source-info','updateViewInfo','getSourceName','SheetsPivotRPCService','getPivotTableIdByCell','MoveRangeMutation','3ShRJxT','dataStream','hasField','blank','_commandService','sheets-pivot.dateGroup.yearMonthDate','getSubUnitPivotConfigs','Expand','lastCol','Delete','isColMultiMeasure','getAutoFitColumnsMutations','sheets-pivot.cellDateGroupDisplay.hour','_dataSyncPrimaryController','_getPivotAppliedRanges','targetCellInfo','AddPivotTable','sheet.command.add-pivot-table-with-config','setPivotSort','_pivotTableInstanceCache','_generateUniqueVersion','Year','sheet.mutation.set-pivot-format','dataRangeInfo','Count\x20of\x20','subscribe','fontRenderExtension','createCollectionWithDataRange','valuePosition','fields','viewData$','YearMonthDate','_config','getTextSize','YearMonth','UniverSheets','ReleaseType','DisposableCollection','setDateType','Quarter','_deleteModelCache','dataFields','_globalComputedEndHelpFunc','getSheetBySheetName','pbt','removePivotField','sheet.mutation.add-pivot-field','MonthDate','DEFAULT_PIVOT_NUMBER','getDataFieldByTableId','sheet.command.update-date-group','disposeWithMe','dataStyle','PivotTableValuePositionEnum','renameField','SheetsPivotTableConfigModel','COMMAND','needSameDeleteModel','handleSourceRangeChange','dateType','getSheetFeatureLimit','refreshDataField','SheetsPivotTableService','addPivotField','getRangeKey','rgb(240,241,243)','getName','rowStyle','SetPivotFieldFormatMutation','setRange','BehaviorSubject','sheets-pivot.emptyPivot.values','setRangeValueRedoMutation','InsertColMutation','exports','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','sheets-pivot.minName','HourMinute','map','rgb(255,255,255)','Month','SetPivotSort','UpdateValuePositionMutation','batch','splice','_deletePivotTableInstanceCache','formJSON','setRangeValueUndoMutation','#eceeff','setLabelFilterInfo','_sheetsPivotTableConfigModel','updateAllDisplayName','colRanges','sheets-pivot.dateGroup.year','221501qfCZKP','PositionType','UpdatePivotTableSourceRangeCommand','getIndexesByPathStr','getValuePosition','panel','merge','getHeaderMapItem','headerMap','SHEET_PIVOT_IN_MAIN_THREAD','sheets-pivot.columnName','_initConfig','getFormat','_resourceManagerService','UpdateSource','add','dataFieldId','rowRanges','UpdatePivotFieldSourceInfoMutation','_collectionConfigModel','sheet.command.remove-pivot-field','UniverProEnginePivot','Set','getInsertRowColMutations','isText','getColumnWidth','textInfo','deepClone','leafStyle','setValuePivotFilter','refreshData','getFilterInfo','sheet.mutation.set-pivot-position','find','asObservable','UNIVER_SHEET','info','from','StdDevp\x20of\x20','getTypeOfUnitDisposed$','updateDirtyPivotTable','RemovePivotFieldMutation','FontCache','Minute','displayName','setCollapse','DEFAULT_WORKSHEET_COLUMN_COUNT','updateFieldPosition','setTextInfo','InsertSheetMutation','sheet.mutation.set-pivot-sort-info','slice','sheets-pivot.cellDateGroupDisplay.minute','toJSON','Panel','DEFAULT_WORKSHEET_ROW_COUNT','name','subTotalStyle','colStyle','reduce','getLastRow','_initPivotTextInfo','Div0','UpdatePivotValuePositionCommand','Value','Add','getSheetCommandTarget','getSheetBySheetId','AddPivotTableWithConfig','symbol','iterateFieldByArea','lastRow','substring','contains','NAME','_initDataSendListener','MAX_SAFE_INTEGER','startCollectChangeset','sheet.mutation.pivot-update-field-position','_initUnitDisposed','184112xMuDsg','getColCount','sheet.mutation.add-pivot-table','workbook\x20is\x20not\x20found','_refRangeService','floor','CellValueType','26491872ebQuTs','IExclusiveRangeService','SheetInterceptorService','_textInfo','startColumn','FieldsCollection','1118402tQtUsZ','getPivotInfoByLicense','UniverInstanceType','startRow','return\x20','setSortInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','Existing','getPivotTableMatrixInfo','rowCount','sortInfo','InsertRowMutation','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','max','getTableFieldById','_queryingMap','adjustSheetCellData','_createExclusiveRange','onCommandExecuted','(Blank)','Column','col','getformat','sheet.mutation.rename-pivot-field','UpdateValuePosition','SetFieldFormat','refreshGroupField','getDataFieldBySourceName','defaultThemeStyle','getSubUnitPivotRenderCache','areaInfo','isBaseGroupField','getLastCol','configVersion$','asyncInterceptor','subUnitId','RemoveSheetMutation','_requestResolvers','_pivotTableMatrixInfo','_globalSubject','115zqXROW','sheets-pivot.dateGroup.quarter','sheets-pivot.dateGroup.hourMinute','SetPivotOptionMutation','ICommandService','SetValueFilter','getFieldDataType','average','SetPivotSetting','getDataFieldItemInfo','entries','getDisplayName','@univerjs/core','valueFields','SetPivotSortMutation','addCollection','ResetPivotFieldsConfigCommand','movePivotField','originalFieldId','deleteField','_updateModelCache','UpdateFieldPositionMutation','error','undos','sheet.mutation.add-group-collection','removeCollections','getColumnCount','Max\x20of\x20','getInterceptPoints','isDateGroupFieldJSON','_pivotRenderInfoCache','sideEffectUpdateWorkerCache','minDate','dispose','SetPivotFieldsConfigCommand','push','SetPivotFilterMutation','#FFFFFF','createDataFieldId','UniverProSheetsPivot','data','intercept','CELL_CONTENT','notExecuteFormula','endRow','hasOwnProperty','getViewData','createValueField','sheet.command.set-pivot-value-filter','RemoveColMutation','_onRefRangeChange','getTargetByPivotTableId','pivotTableConfigs','forRow','getCurrentSelections','fieldId','replace','getSortInfo','setRangeKeyMap','setFieldFormat','colCount','NUMBER','Product\x20of\x20','oldMatrix','generateNullCell','getTextInfo','SetPivotFilter','stdDevp','getDataFieldByDataFieldId','_sheetsPivotTableService','New','applyChangeSet','valueFilter','paths','setSubtotalType','foreach','dimension','_initRemoveSheetCommandInterceptor','pivotTableIndexConfig','ManualFilter','sourceRangeInfo','concat','getDataFieldManager','generateMutationsByRanges','sheets-pivot.averageName','_activeDirtyManagerService','SheetsPivotDataSourceModel','_dataFieldManagerCollection','cellValue','Module','IUniverInstanceService','removeCollectionImp','_sheetsSelectionsService','updateFieldSourceInfo','split','transFromCellValue','getPivotTableInstance','pivotInitCompleted$','updateConfig','sheets-pivot.cellDateGroupDisplay.month','addCollectionByJSON','parseInt','generateHexNumber','ErrorType','_sheetInterceptorService','PivotDataFieldDataTypeEnum','numfmt','isArray','CommandType','getAutoDisplayName','cornerInfo','SetWorksheetActiveOperation','_featureCalculationManagerService','getAutoDisplayNameFunction','has','_subjectCollectionChange','PivotViewCellValueTypeEnum','getSubtotal','54kpYGza','sheets-pivot.dateGroup.date','updatePivotTableRangeInfo','fieldsConfig','width','_localeService','sheet.command.set-pivot-filter','endColumn','message','getPivotCellInfo','prototype','MIN_SAFE_INTEGER','drillDown','_updateRenderEmptyCache','rowInfo','SetPivotCollapseCommand','pivotMutationGenerate','None','PivotMultipleValueId','size','LifecycleService','function','sheet.command.add-pivot-table','_toJSON','sheet.mutation.set-pivot-filter','Subject','SheetsPivotTableAdaptorModel','updateRangeKeyMap','iterateField','INTERCEPTOR_POINT','5262940QFovhQ','dataFieldManagerConfig','PivotSubtotalTypeEnum','rangeCache','DrillDown','rxjs','sheets-pivot.blank','InsertSheetUndoMutationFactory','clearExclusiveRangesByGroupId','NotNumber','@univerjs/sheets-filter','Optional','measure','RemoveField','_updatePivotTableInstanceCache','_subjectFieldsCollectionChange','parse','setPivotSetting','MovePivotFieldCommand','updatePivotTableMatrixInfo','uniqueDataFieldName','UpdateFieldPosition','number','getRangeKeyList','getPivotDisplayConfig','sheets-pivot.sumName','charCodeAt','registerSyncingMutations','_initCommandInterceptListener','unitId','getOriginFieldId','_sheetsPivotDataSourceModel','values','@univerjs-pro/license','rangeType','_initSnapshot','STRING','_collectionChange$','SetValuePivotFilter','NORMAL','Tools','delete','endCollectChangeset','_subjectViewChange','dataFieldsCollection','RefRangeService','SHEET_PIVOT_EXCLUSIVE_ID','sheets-pivot.cellDateGroupDisplay.yearMonthDate','setPivotTableConfig','getPivotTableCellData','InterceptorEffectEnum','Var\x20of\x20','sheets-pivot.stdDevpName','LS_CONFIG_KEY','Average\x20of\x20','setPivotInitCompleted','fetchThroughInterceptors','ΣValue','getCellRaw','filterInfo','sequenceExecute','IResourceManagerService','getFieldListByArea','addDirtyPivotTable','deleteUnitId','Style','realDeleteValue','sheet.command.pivot-drill-down','InsertSheetCommand','PivotCallbackEnum','versions','IActiveDirtyManagerService','tuple','AddPivotTableWithConfigCommand','_initViewModelBySheetInterceptor','IConfigService','collapseInfo','cellToRange','colHeaderMap','getId','PivotTableViewDirtyMarkOperation','register','redos','_initClearSelectionCommandInterceptor','getFieldCountByArea','sheetName','sheet.mutation.remove-group-collection','setSourceName','_ensurePivotItemRenderValueMatrixCache','MUTATION','range','version','Inject','rangesInfo','getValueIndex','stringify','AddPivotTableCommand','AsyncInterceptorManager','numberToABC','getDate','filterId','updateViewData','updateView','getAdjustRangesPosition','PivotView','UniverSheetsPivotTablePlugin','collectionConfig','getActiveSheet','SetOptions','addRecord','getIntersectsPivotTable','Min\x20of\x20','sheet.command.reset-pivot-fields-config','query','ptn','broadcastCollectionChange','registerRefRange','_model','getOwnPropertyDescriptor','getMatrixFromRunTimeData','clearRenderCache','getPivotTableModelConfig','MovePivotField','_ensureViewDataMap','sheet.mutation.pivot-update-value-position','prefix','createInterceptorKey','RemoveRowMutation','set','Grand\x20Total','getPivotTableConfig','sheet.command.set-pivot-field-setting','AddPivotFieldCommand','new','registerCallbackWithEvent','updateRenderCache','getRefRangeMutationsByMoveRange','valid','length','LocaleService','markDirty','resetPivotTable','pivotTableId','CustomCommandExecutionError','Plugin','getPivotDirtyViewInfo','_viewData$','registerDirtyService','_initPivotDataGetListener','matrix','UniverRpc','single','generateNewSheetName','sheets-pivot.countNumsName','RemovePivotTableMutation','options','count','Total','getDataFieldId','sheets-pivot.subTotal','sheet.mutation.get-pivot-data-local','executeCommand','PivotTableChangeTypeEnum','subtotal','setValue','limit\x20pivot','@univerjs/engine-formula','disposableCollection','rowHeaderMap','Hour','SetPivotSubtotalTypeMutation','REF','getEmptyPivotRanges','date','removeValueFilterInfoByValueFieldId','_refRangeHandle','filter','setOptions','reset','getPivotTableRangeInfo','getCurrentUnitForType','custom','IUndoRedoService','sheet.command.update-pivot-table-source-range','getUpdateRangeDeleteIds','format','isBottomTotal','pageRanges','@univerjs/rpc','getRowCount','sheet.mutation.send-pivot-view-local','addPivotTable','setName','getPivotPerformCheck','updateConfigCache','PivotTableFiledAreaEnum','sheets-pivot.dateGroup.minute','Disposable','setValueFilterInfo','object','isPrefixValue','SetSortInfo','Values','sheets.tabs.sheet','getDirtyInfo','UniverCore','PivotCellStyleTypeEnum','UpdatePivotTableSourceRangeMutation','Subtotal','next','_pivotTableRangeInfo','removeDataField','getFieldById','SetPivotCollapse','params','#b2b2b2','ObjectMatrix'];_0x28fa=function(){return _0x3aacac;};return _0x28fa();}