@univerjs-pro/sheets-pivot 0.11.0-nightly.202511151013 → 0.12.0

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 (55) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/common/const.d.ts +41 -41
  41. package/lib/types/controllers/const.d.ts +1 -1
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +10 -10
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x31677b,_0x39d2fd){const _0x25b33e=_0x2581,_0x24d78f=_0x31677b();while(!![]){try{const _0x179ded=-parseInt(_0x25b33e(0x42b))/0x1*(parseInt(_0x25b33e(0x21f))/0x2)+parseInt(_0x25b33e(0x1d7))/0x3+-parseInt(_0x25b33e(0x2c9))/0x4*(-parseInt(_0x25b33e(0x3c9))/0x5)+parseInt(_0x25b33e(0x449))/0x6*(parseInt(_0x25b33e(0x1b5))/0x7)+parseInt(_0x25b33e(0x1ca))/0x8+parseInt(_0x25b33e(0x432))/0x9*(-parseInt(_0x25b33e(0x4ad))/0xa)+-parseInt(_0x25b33e(0x1b1))/0xb;if(_0x179ded===_0x39d2fd)break;else _0x24d78f['push'](_0x24d78f['shift']());}catch(_0x18d39b){_0x24d78f['push'](_0x24d78f['shift']());}}}(_0x31e5,0xd9333),function(_0x5c81ae,_0x343f0a){const _0xd474cf=_0x2581;typeof exports==_0xd474cf(0x2f1)&&typeof module<'u'?_0x343f0a(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==_0xd474cf(0x421)&&define['amd']?define(['exports',_0xd474cf(0x4a1),_0xd474cf(0x222),_0xd474cf(0x268),_0xd474cf(0x211),_0xd474cf(0x39d),'@univerjs-pro/license',_0xd474cf(0x43c),_0xd474cf(0x497),'@univerjs/engine-render'],_0x343f0a):(_0x5c81ae=typeof globalThis<'u'?globalThis:_0x5c81ae||self,_0x343f0a(_0x5c81ae[_0xd474cf(0x358)]={},_0x5c81ae[_0xd474cf(0x3b6)],_0x5c81ae[_0xd474cf(0x2c4)],_0x5c81ae[_0xd474cf(0x290)],_0x5c81ae[_0xd474cf(0x328)],_0x5c81ae[_0xd474cf(0x39d)],_0x5c81ae[_0xd474cf(0x2e9)],_0x5c81ae[_0xd474cf(0x334)],_0x5c81ae[_0xd474cf(0x37d)],_0x5c81ae[_0xd474cf(0x373)]));}(this,function(_0x10e2e1,_0x5ae8cc,_0x1c6d43,_0x544538,_0x887798,_0xbd119f,_0x1778fa,_0xcdcfb,_0x414f8a,_0x2bc8b1){'use strict';const _0x1a5c4f=_0x2581;var _0x4d44dd=Object[_0x1a5c4f(0x46f)],_0x3fc09b=(_0x1a1516,_0x5620ca,_0x8dd85c)=>_0x5620ca in _0x1a1516?_0x4d44dd(_0x1a1516,_0x5620ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8dd85c}):_0x1a1516[_0x5620ca]=_0x8dd85c,_0x47fe5b=(_0x3b01b4,_0x31e6d7,_0x2bacac)=>_0x3fc09b(_0x3b01b4,typeof _0x31e6d7!=_0x1a5c4f(0x1f8)?_0x31e6d7+'':_0x31e6d7,_0x2bacac);const _0x3243bb=Number[_0x1a5c4f(0x4bb)](0x691852d8),_0x70bc6d=0x10,_0x1cf699=0x1,_0x1540b7=_0x1a5c4f(0x2af),_0x367df3=0x1,_0x2275f1='rgb(240,241,243)',_0x1980cb=_0x1a5c4f(0x30c),_0x5004a4=_0x1a5c4f(0x22e),_0x3cb09f=_0x1a5c4f(0x377),_0x3ff004=_0x1a5c4f(0x377),_0x4ea875='#eceeff',_0x5606e5='#1d32e9',_0x4e4a45=_0x1a5c4f(0x1a7),_0x210a37='#e6ebfa',_0x2c7c04='#1d32e9',_0x30722f=_0x1a5c4f(0x1a7),_0x1f3574=_0x1a5c4f(0x478),_0x555924=0xe,_0x3305c6=0x6;var _0x5544eb=(_0x485a89=>(_0x485a89['Existing']=_0x1a5c4f(0x447),_0x485a89['New']=_0x1a5c4f(0x3f2),_0x485a89))(_0x5544eb||{});const _0x10ab06={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0xf7bd43=0x1e,_0x5816e2={'b':{'s':0x1,'cl':{'rgb':_0x5004a4}},'l':{'s':0x1,'cl':{'rgb':_0x5004a4}},'r':{'s':0x1,'cl':{'rgb':_0x5004a4}},'t':{'s':0x1,'cl':{'rgb':_0x5004a4}}},_0x43ecb9={'bg':{'rgb':_0x2275f1},'ht':0x2,'vt':0x2,'tb':0x1},_0x3aae36={'bg':{'rgb':_0x1980cb},'ht':0x2,'vt':0x2,'tb':0x1},_0x4c04b6={'rowStyle':{'bg':{'rgb':_0x1f3574},'bd':_0x5816e2,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2c7c04},'bd':null,'cl':{'rgb':_0x30722f},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x5816e2,'bg':{'rgb':_0x210a37},'vt':0x2},'cornerStyle':{'bd':_0x5816e2,'bg':{'rgb':_0x4ea875},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x5816e2,'bg':{'rgb':_0x3cb09f},'vt':0x2},'leafStyle':{'bd':_0x5816e2,'bg':{'rgb':_0x3ff004},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5606e5},'cl':{'rgb':_0x4e4a45},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x5816e2,'vt':0x2}};function _0x40d45d(_0x1d2dfb,_0x263cbf,_0x2ce544){const _0x764a81=_0x1a5c4f,_0x403f51=_0x1d2dfb[_0x764a81(0x420)](_0x1c6d43[_0x764a81(0x23d)]),_0x218494=_0x2ce544[_0x764a81(0x1ce)]('_');switch(_0x263cbf){case _0x5ae8cc[_0x764a81(0x2a8)][_0x764a81(0x28e)]:return _0x403f51['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x218494);case _0x5ae8cc['PivotDateGroupFieldDateTypeEnum'][_0x764a81(0x38b)]:return _0x403f51['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x218494);case _0x5ae8cc[_0x764a81(0x2a8)][_0x764a81(0x400)]:return _0x403f51['t'](_0x764a81(0x1cd),..._0x218494);case _0x5ae8cc['PivotDateGroupFieldDateTypeEnum'][_0x764a81(0x2d9)]:return _0x403f51['t'](_0x764a81(0x431),..._0x218494);case _0x5ae8cc[_0x764a81(0x2a8)][_0x764a81(0x2b7)]:return _0x403f51['t'](_0x764a81(0x22d),..._0x218494);case _0x5ae8cc[_0x764a81(0x2a8)][_0x764a81(0x2b6)]:return _0x403f51['t'](_0x764a81(0x480),..._0x218494);case _0x5ae8cc[_0x764a81(0x2a8)][_0x764a81(0x3f5)]:return _0x403f51['t'](_0x764a81(0x1c0),..._0x218494);case _0x5ae8cc[_0x764a81(0x2a8)][_0x764a81(0x38d)]:return _0x403f51['t'](_0x764a81(0x39c),..._0x218494);case _0x5ae8cc[_0x764a81(0x2a8)][_0x764a81(0x46b)]:return _0x403f51['t'](_0x764a81(0x271),..._0x218494);case _0x5ae8cc[_0x764a81(0x2a8)]['YearQuarter']:return _0x403f51['t'](_0x764a81(0x385),..._0x218494);}return'';}const _0x4c41ae=(_0x576eff,_0x50e1d6,_0x5cfbbe,_0x5bad6a)=>{const _0x44fbaf=_0x1a5c4f;let _0x2014fd;const _0x461e05=_0x576eff[_0x44fbaf(0x420)](_0x1c6d43[_0x44fbaf(0x4a9)])[_0x44fbaf(0x20d)](_0x1c6d43[_0x44fbaf(0x3dd)]['UNIVER_SHEET']);if(!_0x461e05)return null;const _0x59490b=_0x461e05[_0x44fbaf(0x3b5)]();let _0x294764;if(_0x5cfbbe&&(_0x294764=_0x59490b[_0x44fbaf(0x1bb)](_0x5cfbbe)),_0x50e1d6!=null&&_0x50e1d6['v']||(_0x50e1d6==null?void 0x0:_0x50e1d6['v'])===0x0){_0x2014fd||(_0x2014fd={});const _0x337801=_0x4e2ba2(_0x50e1d6['v']);typeof _0x337801==_0x44fbaf(0x42d)?_0x2014fd['t']=_0x1c6d43[_0x44fbaf(0x4b8)]['NUMBER']:typeof _0x337801=='string'&&(_0x2014fd['t']=_0x1c6d43[_0x44fbaf(0x4b8)][_0x44fbaf(0x2fb)]),_0x2014fd['v']=_0x337801;}if((_0x50e1d6!=null&&_0x50e1d6['i']||(_0x50e1d6==null?void 0x0:_0x50e1d6['i'])===0x0)&&(_0x2014fd||(_0x2014fd={}),_0x2014fd['fi']=_0x50e1d6['i']),_0x50e1d6!=null&&_0x50e1d6['s']&&(_0x2014fd||(_0x2014fd={}),_0x2014fd[_0x44fbaf(0x285)]=_0x50e1d6['s']),_0x5cfbbe&&(_0x2014fd||(_0x2014fd={}),_0x2014fd['s']=_0x294764),_0x5bad6a&&_0x2014fd!=null&&_0x2014fd['v']&&_0x2014fd[_0x44fbaf(0x285)]!==_0x5ae8cc[_0x44fbaf(0x36d)][_0x44fbaf(0x47f)]&&_0x2014fd[_0x44fbaf(0x285)]!==_0x5ae8cc['PivotCellStyleTypeEnum']['Subtotal']){const _0x17908c=String(_0x2014fd['v']),{dateType:_0x16ca3e}=_0x5bad6a;_0x2014fd['v']=_0x40d45d(_0x576eff,_0x16ca3e,_0x17908c),_0x2014fd['t']=_0x1c6d43[_0x44fbaf(0x4b8)][_0x44fbaf(0x2fb)];}return _0x2014fd;},_0x58e3de=(_0x23dfe1,_0x5c1109,_0x14e782,_0x3e851b)=>{const _0x45ed16=_0x1a5c4f;var _0x34a98f,_0x2861de,_0x1d660e,_0x52d6b9,_0x53c56b,_0x2f9fc5,_0x1646b7,_0x57a102,_0x3d71d7,_0x417345,_0x38be75,_0x1af006,_0x3ac3ec,_0x8d7066;const _0x2f3e1d=_0x14e782[_0x45ed16(0x370)],{cornerView:_0x216bcd,rowView:_0xc7afa9,colView:_0x35423e,dataView:_0x26355a,pageView:_0x96e4c7,formatMap:_0xa1e75e,groupInfo:_0x3d4b8d}=_0x5c1109,{row:_0xc45d6f,col:_0x3335e}=_0x2f3e1d,_0x13e011=new _0x1c6d43[(_0x45ed16(0x4b5))](),_0x1201c6={},_0x1cf840={},_0x19d9c1={},_0x199a38={},_0xdb510b={};let _0x26acbc=_0xc45d6f,_0x5785e0=_0x3335e;Object[_0x45ed16(0x1d2)](_0x96e4c7[_0x45ed16(0x1b7)])[_0x45ed16(0x289)](_0x430abc=>{const _0x1c6351=_0x45ed16;Object[_0x1c6351(0x1d2)](_0x96e4c7[_0x1c6351(0x1b7)][Number(_0x430abc)])['forEach'](_0x27bd76=>{const _0x3f5d8a=_0x1c6351,_0x190557={..._0x96e4c7[_0x3f5d8a(0x1b7)][Number(_0x430abc)][Number(_0x27bd76)]};_0x13e011['setValue'](Number(_0x430abc)+_0x26acbc,Number(_0x27bd76)+_0x5785e0,_0x4c41ae(_0x23dfe1,_0x190557,_0x4c04b6['pageStyle']));});});const _0x3ba821=Object[_0x45ed16(0x1d2)](_0x96e4c7[_0x45ed16(0x1b7)])['length'];_0x26acbc+=_0x3ba821+(_0x3ba821?_0x367df3:0x0);const _0x4ded43=_0x216bcd[_0x45ed16(0x2bf)](),_0xa65c4d=_0x216bcd[_0x45ed16(0x3f4)]();for(let _0x1365e1=0x0;_0x1365e1<_0x4ded43;_0x1365e1++)for(let _0x327c4f=0x0;_0x327c4f<_0xa65c4d;_0x327c4f++){const _0x3c7b37={...(_0x2861de=(_0x34a98f=_0x216bcd[_0x45ed16(0x1b7)])==null?void 0x0:_0x34a98f[_0x1365e1])==null?void 0x0:_0x2861de[_0x327c4f]};_0x3c7b37&&((_0x1d660e=_0xc7afa9[_0x45ed16(0x48b)][_0x327c4f])!=null&&_0x1d660e[_0x45ed16(0x24e)])&&_0x327c4f===_0xa65c4d-0x1&&_0x1365e1===_0x4ded43-0x1&&(_0x3c7b37['v']=''+_0x3e851b[_0x45ed16(0x3d1)]),_0x13e011[_0x45ed16(0x1bb)](_0x1365e1+_0x26acbc,_0x327c4f+_0x5785e0,_0x4c41ae(_0x23dfe1,_0x3c7b37,_0x4c04b6['cornerStyle']));}for(let _0x296e0e=0x0;_0x296e0e<_0x216bcd[_0x45ed16(0x40f)][_0x45ed16(0x1fa)];_0x296e0e++)_0x216bcd['info'][_0x296e0e]&&(_0x19d9c1[''+(_0x296e0e+_0x5785e0)]=_0x216bcd['info'][_0x296e0e]);_0x5785e0+=_0xa65c4d;const _0x5c8c4a=_0x35423e[_0x45ed16(0x48b)],_0x4c12c9=_0x35423e[_0x45ed16(0x417)]()>=0x0?_0x35423e[_0x45ed16(0x417)]()+0x1:0x0,_0x5988f0=_0x35423e[_0x45ed16(0x21d)]()>=0x0?_0x35423e[_0x45ed16(0x21d)]()+0x1:0x0;for(let _0x879ad3=0x0;_0x879ad3<_0x5988f0;_0x879ad3++){for(let _0x342531=0x0;_0x342531<_0x4c12c9;_0x342531++){const _0x3b19a0={...(_0x53c56b=(_0x52d6b9=_0x35423e[_0x45ed16(0x1b7)])==null?void 0x0:_0x52d6b9[_0x342531])==null?void 0x0:_0x53c56b[_0x879ad3]},_0x264f32=(_0x2f9fc5=_0x5c8c4a[_0x342531])==null?void 0x0:_0x2f9fc5['tableFieldId'],_0x36059e=_0xa1e75e[_0x264f32],_0x4116c0=_0x3d4b8d[_0x264f32];_0x3b19a0&&(_0x3b19a0['v']=_0x53fbb7(_0x3b19a0,_0x342531===0x0&&((_0x1646b7=_0x35423e[_0x45ed16(0x3b2)](_0x879ad3+0x1))==null?void 0x0:_0x1646b7[_0x45ed16(0x24e)]),_0x36059e,_0x3e851b));let _0x51e1d1;_0x36059e?_0x51e1d1={..._0x4c04b6[_0x45ed16(0x273)],'n':{'pattern':_0x36059e}}:_0x51e1d1={..._0x4c04b6[_0x45ed16(0x273)]},_0x13e011[_0x45ed16(0x1bb)](_0x342531+_0x26acbc,_0x879ad3+_0x5785e0,_0x4c41ae(_0x23dfe1,_0x3b19a0,_0x51e1d1,_0x4116c0));}_0x35423e[_0x45ed16(0x40f)][_0x879ad3]&&(_0x1cf840[''+(_0x879ad3+_0x5785e0)]=_0x35423e[_0x45ed16(0x40f)][_0x879ad3]),_0x35423e['headerMap'][_0x879ad3+0x1]&&(_0xdb510b[''+(_0x879ad3+_0x26acbc+0x1)]=_0x35423e['headerMap'][_0x879ad3+0x1]);}_0x26acbc+=_0x4ded43;const _0x272c61=_0xc7afa9[_0x45ed16(0x48b)],_0x3de1fa=_0xc7afa9[_0x45ed16(0x417)]()>=0x0?_0xc7afa9[_0x45ed16(0x417)]()+0x1:0x0,_0x3404a3=_0xc7afa9['getLastCol']()>=0x0?_0xc7afa9['getLastCol']()+0x1:0x0;for(let _0x52e73f=0x0;_0x52e73f<_0x3de1fa;_0x52e73f++){for(let _0xab8352=0x0;_0xab8352<_0x3404a3;_0xab8352++){const _0x5d9077={...(_0x3d71d7=(_0x57a102=_0xc7afa9[_0x45ed16(0x1b7)])==null?void 0x0:_0x57a102[_0x52e73f])==null?void 0x0:_0x3d71d7[_0xab8352]},_0x1b5292=(_0x417345=_0x272c61[_0xab8352])==null?void 0x0:_0x417345['tableFieldId'],_0x4b92b6=_0xa1e75e[_0x1b5292],_0x331167=_0x3d4b8d[_0x1b5292];_0x5d9077&&(_0x5d9077['v']=_0x53fbb7(_0x5d9077,!0x1,_0x4b92b6,_0x3e851b));let _0x41e3fb;_0xc7afa9[_0x45ed16(0x40f)][_0x52e73f][_0x45ed16(0x2d5)]===_0xc7afa9['getColCount']()?_0x41e3fb=_0x4c04b6[_0x45ed16(0x398)]:_0xc7afa9['info'][_0x52e73f][_0x45ed16(0x3e0)]?_0x41e3fb=_0xc7afa9['info'][_0x52e73f][_0x45ed16(0x2d5)]===0x0?_0x4c04b6['grandTotal']:_0x4c04b6[_0x45ed16(0x378)]:_0x41e3fb=_0x4c04b6[_0x45ed16(0x3fd)],_0x4b92b6&&(_0x41e3fb={..._0x41e3fb,'n':{'pattern':_0x4b92b6}}),_0x13e011[_0x45ed16(0x1bb)](_0x52e73f+_0x26acbc,_0xab8352+_0x3335e,_0x4c41ae(_0x23dfe1,_0x5d9077,_0x41e3fb,_0x331167));}_0xc7afa9[_0x45ed16(0x40f)][_0x52e73f]&&(_0x1201c6[''+(_0x52e73f+_0x26acbc)]=_0xc7afa9[_0x45ed16(0x40f)][_0x52e73f]),_0xc7afa9[_0x45ed16(0x48b)][_0x52e73f]&&(_0x199a38[''+(_0x52e73f+_0x3335e)]=_0xc7afa9[_0x45ed16(0x48b)][_0x52e73f]);}const _0x464505=_0x26355a[_0x45ed16(0x2bf)](),_0xcb644b=_0x26355a[_0x45ed16(0x3f4)]();for(let _0xc46a0b=0x0;_0xc46a0b<_0x464505;_0xc46a0b++)for(let _0x557e69=0x0;_0x557e69<_0xcb644b;_0x557e69++){const _0x152103={...(_0x1af006=(_0x38be75=_0x26355a[_0x45ed16(0x1b7)])==null?void 0x0:_0x38be75[_0xc46a0b])==null?void 0x0:_0x1af006[_0x557e69]};let _0x479d1a;_0xc7afa9['info'][_0xc46a0b][_0x45ed16(0x3e0)]?_0x479d1a=_0xc7afa9[_0x45ed16(0x40f)][_0xc46a0b][_0x45ed16(0x2d5)]===0x0?_0x4c04b6[_0x45ed16(0x32d)]:_0x4c04b6[_0x45ed16(0x378)]:_0x479d1a=_0x4c04b6['dataStyle'];const _0x20101a=_0xc7afa9[_0x45ed16(0x40f)][_0xc46a0b]['valueIndex'],_0x579ee0=_0x35423e[_0x45ed16(0x40f)][_0x557e69][_0x45ed16(0x22f)],_0x4d85a2=Math[_0x45ed16(0x20a)](_0x20101a,_0x579ee0),_0xe6c5a6=_0x14e782[_0x45ed16(0x3d5)][_0x45ed16(0x1bf)][_0x45ed16(0x295)]();let _0x4e056d='';_0x4d85a2<0x0?_0x4e056d=(_0x3ac3ec=_0xe6c5a6[0x0])!=null?_0x3ac3ec:'':_0x4e056d=(_0x8d7066=_0xe6c5a6[_0x4d85a2])!=null?_0x8d7066:'';const _0x2bbeba=_0xa1e75e[_0x4e056d];_0x2bbeba&&(_0x479d1a={..._0x479d1a,'n':{'pattern':_0x2bbeba}}),_0x13e011[_0x45ed16(0x1bb)](_0xc46a0b+_0x26acbc,_0x557e69+_0x5785e0,_0x4c41ae(_0x23dfe1,_0x152103,_0x479d1a));}return{'valueMatrix':_0x13e011,'rowInfo':_0x1201c6,'colInfo':_0x1cf840,'cornerInfo':_0x19d9c1,'rowHeaderMap':_0x199a38,'colHeaderMap':_0xdb510b};};function _0x53fbb7(_0x577d90,_0x456f3c,_0x3f8c24,_0x4fee50){const _0x29de68=_0x1a5c4f;let _0x12273f=_0x577d90['v'];_0x456f3c&&(_0x12273f=''+_0x4fee50[_0x29de68(0x3d1)]);const _0x24def2=_0x577d90['t']&&(_0x577d90['t']&_0x5ae8cc[_0x29de68(0x4a4)][_0x29de68(0x4b3)])>0x0;_0x24def2&&(_0x12273f=''+_0x4fee50[_0x29de68(0x324)]);const _0x4f7252=_0x577d90['t']&&(_0x577d90['t']&_0x5ae8cc[_0x29de68(0x4a4)]['other'])>0x0;if(_0x4f7252&&(_0x12273f=''+_0x4fee50[_0x29de68(0x2b1)]),_0x577d90['s']===_0x5ae8cc[_0x29de68(0x36d)]['Subtotal']){let _0x35f506=_0x12273f,_0x20d3ec='';_0x5ae8cc[_0x29de68(0x26d)](_0x12273f)&&(_0x35f506=_0x12273f[_0x29de68(0x3fc)],_0x20d3ec=_0x12273f[_0x29de68(0x363)]);const _0x392285=_0x3f8c24&&!_0x24def2&&!_0x4f7252?_0x1c6d43[_0x29de68(0x1c6)][_0x29de68(0x1c2)](_0x3f8c24,Number(_0x35f506)):_0x35f506;_0x20d3ec?_0x12273f=_0x392285+'\x20'+_0x20d3ec:_0x12273f=_0x392285+'\x20'+_0x4fee50[_0x29de68(0x286)];}else _0x577d90['s']===_0x5ae8cc[_0x29de68(0x36d)][_0x29de68(0x47f)]&&(_0x12273f=_0x12273f+'\x20'+_0x4fee50[_0x29de68(0x30b)]);return _0x12273f;}function _0x4e2ba2(_0x710c0c){const _0x10b132=_0x1a5c4f;if(_0x5ae8cc['isErrorValue'](_0x710c0c)){const {errorType:_0x18944c}=_0x710c0c;switch(_0x18944c){case _0x5ae8cc['PivotErrorTypeEnum'][_0x10b132(0x2aa)]:return _0x544538[_0x10b132(0x443)][_0x10b132(0x238)];case _0x5ae8cc[_0x10b132(0x437)][_0x10b132(0x3a8)]:return _0x544538[_0x10b132(0x443)]['NUM'];case _0x5ae8cc[_0x10b132(0x437)][_0x10b132(0x3e1)]:return _0x544538[_0x10b132(0x443)]['NAME'];case _0x5ae8cc['PivotErrorTypeEnum'][_0x10b132(0x232)]:return _0x544538[_0x10b132(0x443)]['NAME'];case _0x5ae8cc[_0x10b132(0x437)]['BadReference']:return _0x544538[_0x10b132(0x443)][_0x10b132(0x2a7)];}}return _0x710c0c;}function _0x243a07(_0x1b305d,_0x35f91e,_0x3d34cf=!0x1,_0x1e3531=!0x1){const _0x5ab260=_0x1a5c4f,{data:_0x3b0ff0}=_0x35f91e,_0x323c17=_0x35f91e[_0x5ab260(0x2bf)](),_0x534521=_0x35f91e[_0x5ab260(0x3f4)]();if(_0x323c17<=0x0||_0x534521<=0x0)return[];const _0x21112d=_0x35f91e[_0x5ab260(0x21d)](),_0x18efc7=_0x35f91e[_0x5ab260(0x417)](),_0x3e5e66=_0x1e3531?_0x18efc7>=0x0?_0x18efc7+0x1:0x0:_0x323c17,_0x4ab2b1=_0x1e3531?_0x21112d>=0x0?_0x21112d+0x1:0x0:_0x534521,{row:_0x3893a3,col:_0x326abe}=_0x1b305d,_0x3d5834=_0x3893a3,_0x44d155=_0x326abe;if(_0x3d34cf){const _0x3598de=[];for(const [_0x1ae641,_0x1d26d8]of Object['entries'](_0x3b0ff0))for(const [_0x3c4318,_0x5a8e18]of Object[_0x5ab260(0x346)](_0x1d26d8))_0x3598de[_0x5ab260(0x35f)](_0x1c6d43[_0x5ab260(0x490)](_0x3d5834+Number(_0x1ae641),_0x44d155+Number(_0x3c4318)));return _0x3598de;}else{const _0x51bf5f=_0x1e3531?_0x3e5e66>0x0?0x1:0x0:0x1,_0x25767d=_0x1e3531?_0x4ab2b1>0x0?0x1:0x0:0x1,_0x5bd816=_0x3893a3+_0x3e5e66-_0x51bf5f,_0x107214=_0x326abe+_0x4ab2b1-_0x25767d;return[{'startRow':_0x3d5834,'startColumn':_0x44d155,'endRow':_0x5bd816,'endColumn':_0x107214}];}}const _0x82779a=_0x1a5c4f(0x472),_0x29c319=_0x1a5c4f(0x368);var _0x4218a2=(_0xe33e1b=>(_0xe33e1b[_0x1a5c4f(0x1ba)]=_0x1a5c4f(0x1a3),_0xe33e1b['Panel']=_0x1a5c4f(0x2d3),_0xe33e1b[_0x1a5c4f(0x35a)]=_0x1a5c4f(0x2f5),_0xe33e1b[_0x1a5c4f(0x487)]=_0x1a5c4f(0x487),_0xe33e1b[_0x1a5c4f(0x44a)]=_0x1a5c4f(0x2c1),_0xe33e1b['MovePivotField']=_0x1a5c4f(0x384),_0xe33e1b['RemovePivotField']=_0x1a5c4f(0x399),_0xe33e1b[_0x1a5c4f(0x36b)]=_0x1a5c4f(0x3bc),_0xe33e1b['SetPivotFilter']=_0x1a5c4f(0x1f5),_0xe33e1b[_0x1a5c4f(0x23c)]='setPivotSort',_0xe33e1b[_0x1a5c4f(0x28a)]=_0x1a5c4f(0x453),_0xe33e1b[_0x1a5c4f(0x470)]='updatePivotSource',_0xe33e1b[_0x1a5c4f(0x21c)]=_0x1a5c4f(0x49f),_0xe33e1b[_0x1a5c4f(0x205)]=_0x1a5c4f(0x25a),_0xe33e1b[_0x1a5c4f(0x359)]=_0x1a5c4f(0x1f1),_0xe33e1b[_0x1a5c4f(0x242)]=_0x1a5c4f(0x43a),_0xe33e1b[_0x1a5c4f(0x3ec)]=_0x1a5c4f(0x40d),_0xe33e1b))(_0x4218a2||{});const _0x2ed76f={'sheets-pivot.blankValue':_0x1a5c4f(0x2c5),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x1a5c4f(0x2d8),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x1a5c4f(0x1db),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x1a5c4f(0x460),'sheets-pivot.maxName':_0x1a5c4f(0x1a9),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x1a5c4f(0x203),'sheets-pivot.stdDevName':_0x1a5c4f(0x1c3),'sheets-pivot.stdDevpName':_0x1a5c4f(0x2b3),'sheets-pivot.sumName':_0x1a5c4f(0x30e),'sheets-pivot.varName':_0x1a5c4f(0x2bc),'sheets-pivot.varpName':_0x1a5c4f(0x38c),'sheets-pivot.subTotal':_0x1a5c4f(0x39e),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x1a5c4f(0x363),'sheets-pivot.blank':_0x1a5c4f(0x4b3),'sheets-pivot.other':_0x1a5c4f(0x3c4),'sheets-pivot.emptyPivot.filter':_0x1a5c4f(0x1ba),'sheets-pivot.emptyPivot.row':_0x1a5c4f(0x2f7),'sheets-pivot.emptyPivot.column':_0x1a5c4f(0x1e3),'sheets-pivot.emptyPivot.values':'Values'},_0x11d29d={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x47bd9f=_0x1c6d43['createAsyncInterceptorKey'](_0x1a5c4f(0x21e)),_0x5c9e95=_0x1c6d43[_0x1a5c4f(0x415)](_0x1a5c4f(0x291));var _0x5f31d8=(_0x283e79=>(_0x283e79['add']=_0x1a5c4f(0x277),_0x283e79[_0x1a5c4f(0x34c)]=_0x1a5c4f(0x34c),_0x283e79[_0x1a5c4f(0x1a4)]=_0x1a5c4f(0x1a4),_0x283e79))(_0x5f31d8||{}),_0x15c80f=(_0x4ceb32=>(_0x4ceb32[_0x1a5c4f(0x2ae)]=_0x1a5c4f(0x277),_0x4ceb32['Set']=_0x1a5c4f(0x1e0),_0x4ceb32[_0x1a5c4f(0x1ed)]=_0x1a5c4f(0x34c),_0x4ceb32))(_0x15c80f||{});const _0x49c429={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x44c),'handler':()=>!0x0},_0x18fd88={'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x24b),'handler':()=>!0x0},_0x1a5016={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x2a1),'handler':()=>!0x0},_0x444bca={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x113f86={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x1fdae8=Object['getOwnPropertyDescriptor'],_0x3d1b04=(_0x544cfd,_0xfd941e,_0x4ffe3c,_0x376e25)=>{const _0x33e221=_0x1a5c4f;for(var _0x90ed70=_0x376e25>0x1?void 0x0:_0x376e25?_0x1fdae8(_0xfd941e,_0x4ffe3c):_0xfd941e,_0x43f51a=_0x544cfd[_0x33e221(0x1fa)]-0x1,_0x6ea789;_0x43f51a>=0x0;_0x43f51a--)(_0x6ea789=_0x544cfd[_0x43f51a])&&(_0x90ed70=_0x6ea789(_0x90ed70)||_0x90ed70);return _0x90ed70;},_0x12673a=(_0x4a9ff3,_0x40126d)=>(_0x174c4c,_0x17cd44)=>_0x40126d(_0x174c4c,_0x17cd44,_0x4a9ff3);_0x10e2e1[_0x1a5c4f(0x2ec)]=class extends _0x1c6d43[_0x1a5c4f(0x229)]{constructor(_0x41acec){const _0x356bea=_0x1a5c4f;super(),_0x47fe5b(this,_0x356bea(0x465),new Map()),this[_0x356bea(0x22a)]=_0x41acec;}[_0x1a5c4f(0x276)](_0x2989d5){const _0x116adc=_0x1a5c4f,{version:_0x50027b}=_0x2989d5,_0xd02ad1=this[_0x116adc(0x465)][_0x116adc(0x420)](_0x50027b);_0xd02ad1&&(_0xd02ad1(_0x2989d5),this[_0x116adc(0x465)][_0x116adc(0x34c)](_0x50027b));}['getPivotDisplayConfig'](_0xaa970e){return new Promise((_0x20e3f4,_0x419017)=>{const _0x1de6c0=_0x2581,_0x6e917e=this['_generateUniqueVersion']();this[_0x1de6c0(0x465)]['set'](_0x6e917e,_0x20e3f4),this[_0x1de6c0(0x22a)]['executeCommand'](_0x49c429['id'],{'version':_0x6e917e,..._0xaa970e},{'onlyLocal':!0x0});});}[_0x1a5c4f(0x44b)](){const _0x50a6e0=_0x1a5c4f;return Math[_0x50a6e0(0x3e2)]()[_0x50a6e0(0x3c1)](0x24)[_0x50a6e0(0x297)](0x2,0x10);}},_0x10e2e1[_0x1a5c4f(0x2ec)]=_0x3d1b04([_0x12673a(0x0,_0x1c6d43['Inject'](_0x1c6d43[_0x1a5c4f(0x3fa)]))],_0x10e2e1[_0x1a5c4f(0x2ec)]);const _0x5871af={0x0:'6',0x1:'B',0x2:'K',0x3:'D',0x4:'T',0x5:'4',0x6:'n',0x7:'s',0x8:'c',0x9:'3','J':'0','S':'1','D':'2','Y':'5','i':'7','R':'8','T':'9','b':'a','r':'b','c':'d','o':'e','d':'f','x':'g','v':'h','Q':'i','j':'j','O':'k','P':'l','F':'m','z':'o','A':'p','a':'q','H':'r','V':'t','s':'u','p':'v','E':'w','G':'x','u':'y','Z':'z','g':'A','h':'C','n':'E','K':'F','U':'G','I':'H','k':'I','W':'J','N':'L','l':'M','t':'N','M':'O','e':'P','m':'Q','X':'R','L':'S','B':'U','C':'V','y':'W','w':'X','f':'Y','q':'Z'},_0xa64d9b='ds68VQz6\x20co8HuAVQz6(PQ8o67o,\x20AsrPQ82ou)\x20{\x20\x20\x20\x20VHu\x20{\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20PQ8o67ok6dzebHVgHHbu\x20=\x20PQ8o67o.7APQV(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20zHQxQ6lo77bxo\x20=\x20WLMt.AbH7o(bVzr(PQ8o67ok6dzebHVgHHbu[D]));\x20\x20\x20\x20\x20\x20\x20\x20Qd\x20(!zHQxQ6lo77bxo.sc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zHQxQ6lo77bxo.sc\x20=\x20tsFroH(PQ8o67ok6dzebHVgHHbu[5]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20Q7yzHOoH\x20=\x20VuAozd\x20yzHOoHUPzrbPL8zAo\x20!==\x20\x27s6codQ6oc\x27\x20&&\x207oPd\x20Q67Vb68ozd\x20yzHOoHUPzrbPL8zAo;\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20Q71HzE7oH\x20=\x20VuAozd\x20EQ6czE\x20!==\x20\x27s6codQ6oc\x27\x20&&\x20VuAozd\x20EQ6czE.Pz8bVQz6\x20!==\x20\x27s6codQ6oc\x27;\x20\x20\x20\x20\x20\x20\x20\x208z67V\x208z6VoGV\x20=\x20Q7yzHOoH\x20?\x207oPd\x20:\x20(Q71HzE7oH\x20?\x20EQ6czE\x20:\x20xPzrbP4vQ7);\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20Fo77bxoyzHc\x20=\x208z6VoGV.__1b7o05__.AbH7o(PQ8o67ok6dzebHVgHHbu[D]);\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20Fo77bxo\x20=\x208z6VoGV.__IoG__.7VHQ6xQdu(Fo77bxoyzHc);\x20\x20\x20\x20\x20\x20\x20\x208z67V\x207Qx6bVsHoyzHc\x20=\x208z6VoGV.__1b7o05__.AbH7o(PQ8o67ok6dzebHVgHHbu[9]);\x20\x20\x20\x20\x20\x20\x20\x208z67V\x207Qx6bVsHo\x20=\x208z6VoGV.__IoG__.7VHQ6xQdu(7Qx6bVsHoyzHc);\x20\x20\x20\x20\x20\x20\x20\x208z67V\x207Qx6CbPQc\x20=\x208z6VoGV.__poHQdu__(7Qx6bVsHo,\x20Fo77bxo,\x20AsrPQ82ou);\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20czFbQ6\x20=\x20zHQxQ6lo77bxo.cF;\x20\x20\x20\x20\x20\x20\x20\x20ds68VQz6\x20Q73zFbQ6lbV8vQ6x(zebVVoH6,\x20zIz7V)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20AbVVoH6\x20=\x20zebVVoH6.HoAPb8o(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20vz7V\x20=\x20zIz7V.HoAPb8o(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20AbVVoH6ebHV7\x20=\x20AbVVoH6.7APQV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20vz7VebHV7\x20=\x20vz7V.7APQV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Qd\x20(!AbVVoH6.Q68Psco7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoVsH6\x20AbVVoH6\x20===\x20vz7V;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Qd\x20(AbVVoH6ebHV7.Po6xVv\x20<\x20D\x20||\x20AbVVoH6ebHV7[J]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoVsH6\x20dbP7o;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20AbVVoH6LsddQG\x20=\x20AbVVoH6ebHV7.7PQ8o(S).jzQ6(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20vz7VLsddQG\x20=\x20vz7VebHV7.7PQ8o(-AbVVoH6ebHV7.Po6xVv\x20+\x20S).jzQ6(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoVsH6\x20AbVVoH6LsddQG\x20===\x20vz7VLsddQG;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PoV\x20czFbQ6CbPQc\x20=\x20dbP7o;\x20\x20\x20\x20\x20\x20\x20\x20Qd\x20(Q71HzE7oH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czFbQ6CbPQc\x20=\x20(czFbQ6\x20&&\x20czFbQ6.Po6xVv)\x20?\x20czFbQ6.7zFo((cFkVoF)\x20=>\x20Q73zFbQ6lbV8vQ6x(cFkVoF,\x20Pz8bVQz6.vz7V6bFo))\x20:\x20VHso;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Qd\x20(Pz8bVQz6.vz7V6bFo\x20===\x20\x27Pz8bPvz7V\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czFbQ6CbPQc\x20=\x20VHso;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20oP7o\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20czFbQ6CbPQc\x20=\x20VHso;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208z67V\x20pbPQc\x20=\x207Qx6CbPQc\x20&&\x20czFbQ6CbPQc;\x20\x20\x20\x20\x20\x20\x20\x20HoVsH6\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pbPQc,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fo77bxo:\x20zHQxQ6lo77bxo,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208bV8v\x20(oHHzH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HoVsH6\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pbPQc:\x20dbP7o,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fo77bxo:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x51cd8=_0x56f78e=>{const _0x5453d8=_0x1a5c4f;var _0x317620;return((_0x317620=_0x56f78e[_0x5453d8(0x397)])==null?void 0x0:_0x317620[_0x5453d8(0x458)][_0x5453d8(0x29f)](/\r\n$/,''))||'';};class _0x301d2c extends _0x5ae8cc[_0x1a5c4f(0x310)]{constructor(_0x9155e5,_0x4288fe){const _0x2599f9=_0x1a5c4f;super(),_0x47fe5b(this,_0x2599f9(0x3a0),{}),_0x47fe5b(this,_0x2599f9(0x3bb)),_0x47fe5b(this,_0x2599f9(0x303)),(this['_univerInstanceService']=_0x4288fe,this[_0x2599f9(0x303)]=_0x9155e5);}[_0x1a5c4f(0x3ba)](){const _0x1602d3=_0x1a5c4f;for(const _0x377f7a in this[_0x1602d3(0x412)]){const _0x284e1c=this['dataFields'][_0x377f7a],_0x7a7dba=_0x284e1c[_0x1602d3(0x27d)]();this['rangeKeyMap'][_0x7a7dba]=_0x284e1c['getId']();}}[_0x1a5c4f(0x2c8)](){const _0x184821=_0x1a5c4f,_0x296802=this[_0x184821(0x303)];return _0x30fbab[_0x184821(0x22b)](_0x296802);}[_0x1a5c4f(0x3f8)](_0x3df285){const _0xb1c953=_0x1a5c4f,_0x2d5561=this[_0xb1c953(0x412)][_0x3df285][_0xb1c953(0x3d7)];delete this['dataFields'][_0x3df285],delete this['rangeKeyMap'][_0x2d5561];}[_0x1a5c4f(0x3d9)](_0x1253d6){const _0x26f221=_0x1a5c4f;this[_0x26f221(0x412)][_0x1253d6[_0x26f221(0x1fc)]()]=_0x1253d6;}['removeCollectionImp'](_0x2bb25c){const _0x4b70a7=_0x1a5c4f;var _0x3a633b,_0x2bd4b3;const _0x458e20=this[_0x4b70a7(0x303)][_0x4b70a7(0x265)](_0x2bb25c);if(_0x458e20){const {unitId:_0x3ae7cf,subUnitId:_0x28f266}=_0x458e20,_0x52e286=(_0x3a633b=this[_0x4b70a7(0x303)][_0x4b70a7(0x493)](_0x3ae7cf,_0x28f266,_0x2bb25c))==null?void 0x0:_0x3a633b[_0x4b70a7(0x430)];this[_0x4b70a7(0x303)]['broadcastCollectionChange']({'token':_0x2bb25c,'type':_0x5f31d8[_0x4b70a7(0x34c)],'dataRangeInfo':_0x52e286});}(_0x2bd4b3=this[_0x4b70a7(0x27c)](_0x2bb25c))==null||_0x2bd4b3['dispose'](),delete this[_0x4b70a7(0x45d)][_0x2bb25c];}['getRangeKey'](_0x491d02,_0xe658db){const _0x4d0b55=_0x1a5c4f,{sheetName:_0x553016,unitId:_0x57378e,range:_0x4d3916}=_0x491d02,{startRow:_0x37a113,endRow:_0x598490}=_0x4d3916;return _0x544538[_0x4d0b55(0x269)](_0x57378e,_0x553016,{'startRow':_0x37a113,'endRow':_0x598490,'startColumn':_0xe658db,'endColumn':_0xe658db});}[_0x1a5c4f(0x389)](_0x55982a){const _0x116b3a=_0x1a5c4f;return this[_0x116b3a(0x412)][this[_0x116b3a(0x3a0)][_0x55982a]];}['setRangeKeyMap'](_0x56a255,_0x328045){const _0x1115b6=_0x1a5c4f;this[_0x1115b6(0x3a0)][_0x56a255]=_0x328045;}['updateRangeKeyMap'](_0x5ac741,_0x5c3280){const _0x446a50=_0x1a5c4f;this[_0x446a50(0x3a0)][_0x5c3280]=this[_0x446a50(0x3a0)][_0x5ac741],delete this[_0x446a50(0x3a0)][_0x5ac741];}['addCollectionByJSON'](_0xa3a50e,_0x4c0873,_0x4376a1,_0x57a28e){const _0x2a74ff=_0x1a5c4f,_0x38e5ce=new _0x5ae8cc[(_0x2a74ff(0x474))](this);_0x38e5ce[_0x2a74ff(0x1ec)](_0x4c0873);const _0x5d9c61=[];let _0x22bc21=0x0;for(const _0x355a45 of _0x38e5ce['fieldIds']){const _0x635004=this[_0x2a74ff(0x27d)](_0x4376a1,_0x22bc21),_0x561aa2=this['dataFields'][_0x355a45];_0x561aa2&&(_0x561aa2[_0x2a74ff(0x3d7)]=_0x635004,this[_0x2a74ff(0x1da)](_0x635004,_0x355a45),_0x5d9c61[_0x2a74ff(0x35f)]({'index':_0x22bc21,'dataField':_0x561aa2})),_0x22bc21++;}return this[_0x2a74ff(0x3b9)](_0xa3a50e,_0x38e5ce,_0x4376a1,_0x57a28e),{'collection':_0x38e5ce,'updateDataFieldList':_0x5d9c61};}[_0x1a5c4f(0x3a6)](_0x2adf0b,_0x5da6a5){const _0x45d0f0=_0x1a5c4f;return _0x2adf0b['rangeType']===_0x1c6d43[_0x45d0f0(0x32e)][_0x45d0f0(0x309)]?{'startRow':0x0,'startColumn':_0x2adf0b[_0x45d0f0(0x2d6)],'endRow':_0x5da6a5[_0x45d0f0(0x2bf)]()-0x1,'endColumn':_0x2adf0b['endColumn']}:{'startRow':_0x2adf0b['startRow'],'startColumn':_0x2adf0b[_0x45d0f0(0x2d6)],'endRow':_0x2adf0b[_0x45d0f0(0x2ca)],'endColumn':_0x2adf0b[_0x45d0f0(0x41c)]};}['createCollectionWithDataRange'](_0x2f1455){const _0x26b848=_0x1a5c4f,{sheetName:_0x1986f5,range:_0x5582e1}=_0x2f1455,_0x363393=this['_univerInstanceService']['getCurrentUnitForType'](_0x1c6d43[_0x26b848(0x3dd)]['UNIVER_SHEET']),_0x20baef=_0x363393[_0x26b848(0x23b)](_0x1986f5),_0x41becf=_0x20baef['getCellMatrix'](),{startColumn:_0x43269c,startRow:_0x5449c5,endColumn:_0x5d9822}=this[_0x26b848(0x3a6)](_0x5582e1,_0x20baef),_0x32cf4e=_0x363393[_0x26b848(0x3b5)](),_0x1e530a=new _0x5ae8cc[(_0x26b848(0x474))](this);_0x1e530a[_0x26b848(0x249)](_0x2f1455);const _0x4fd15b=[],_0x3a29d7={};for(let _0x54778e=_0x43269c;_0x54778e<=_0x5d9822;_0x54778e++){const _0x278273=_0x41becf[_0x26b848(0x2dd)](_0x5449c5,_0x54778e),_0xbc1be6=this[_0x26b848(0x27d)](_0x2f1455,_0x54778e),_0xbf2610=this['getDataFieldByRangeKey'](_0xbc1be6);if(_0xbf2610)_0x1e530a[_0x26b848(0x264)](_0xbf2610[_0x26b848(0x1fc)](),_0xbf2610[_0x26b848(0x343)]());else{const _0x23a2cb=this['createDataFieldId']();let _0x307060=this[_0x26b848(0x4ba)](_0x278273,_0x32cf4e,_0x3a29d7);_0x5ae8cc[_0x26b848(0x3cb)](_0x307060)&&(_0x307060=_0x1c6d43[_0x26b848(0x1c6)][_0x26b848(0x1c2)](_0x307060['f'],Number(_0x307060['v'])));const _0x38a9ef=this['uniqueDataFieldName'](_0x307060,_0x54778e),_0x5e235f=new _0x5ae8cc['DataField'](_0x23a2cb,_0x38a9ef,_0x5ae8cc[_0x26b848(0x339)](0x3));_0x5e235f[_0x26b848(0x3d7)]=_0xbc1be6,this['dataFields'][_0x23a2cb]=_0x5e235f,_0x1e530a[_0x26b848(0x264)](_0x23a2cb,_0x38a9ef),_0x4fd15b['push']({'index':_0x54778e,'dataField':_0x5e235f});}}return{'updateDataFieldList':_0x4fd15b,'collection':_0x1e530a};}[_0x1a5c4f(0x236)](_0x4a1d27){const _0x13cca3=_0x1a5c4f;return this[_0x13cca3(0x303)][_0x13cca3(0x409)]()[_0x13cca3(0x405)]+'\x20'+_0x1c6d43[_0x13cca3(0x418)](_0x4a1d27);}[_0x1a5c4f(0x44e)](_0x527498,_0x154ddb){return _0x527498==null||_0x527498===''?this['_getAutoName'](_0x154ddb):String(_0x527498);}[_0x1a5c4f(0x27c)](_0x39f4ed){const _0x5e6d59=_0x1a5c4f;return this[_0x5e6d59(0x45d)][_0x39f4ed];}['addCollection'](_0xc67ad,_0x42d91d,_0x57dd85,_0x51d43f){const _0x28edef=_0x1a5c4f;this[_0x28edef(0x45d)][_0xc67ad]=_0x42d91d,_0x42d91d[_0x28edef(0x249)](_0x57dd85),this[_0x28edef(0x303)][_0x28edef(0x215)]({'token':_0xc67ad,'type':_0x5f31d8[_0x28edef(0x277)],'dataRangeInfo':_0x57dd85,'targetCellInfo':_0x51d43f});}[_0x1a5c4f(0x21b)](_0x4c3fef,_0x18396f){const _0x37f185=_0x1a5c4f,_0x5ce3d9=this[_0x37f185(0x27c)](_0x4c3fef),_0x850caf=_0x5ce3d9[_0x37f185(0x287)]();let _0x31df17=0x0;for(const _0xf79734 of _0x850caf){const _0x27e82e=_0x5ce3d9[_0x37f185(0x1f6)](_0xf79734),_0x1f81d5=this[_0x37f185(0x27d)](_0x18396f,_0x31df17);this['updateRangeKeyMap'](_0x27e82e[_0x37f185(0x3d7)],_0x1f81d5),_0x31df17++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x3c7992,_0x3ade49){const _0x48ac42=_0x1a5c4f;if(this['getCollection'](_0x3c7992)){const _0x135791=this[_0x48ac42(0x39b)](_0x3ade49),_0xa35808=[];for(const _0x15e76b of _0x135791)this['rangeKeyMap'][_0x15e76b]!==void 0x0&&_0xa35808[_0x48ac42(0x35f)](this[_0x48ac42(0x3a0)][_0x15e76b]);const _0x5de722=this['getNoUsedDataFieldIds'](_0x3c7992),_0x30e3c5=[],_0x89aa0a=new Set(_0xa35808);for(const _0x2d0e1f of _0x5de722)_0x89aa0a['has'](_0x2d0e1f)||_0x30e3c5[_0x48ac42(0x35f)](_0x2d0e1f);return _0x30e3c5;}}[_0x1a5c4f(0x466)](_0x27a145,_0x1b64a7,_0x4187d6,_0x3eae50,_0x18a981){const _0x4e257f=_0x1a5c4f;return _0x1b64a7&&_0x1b64a7['getValue'](_0x3eae50,_0x18a981)?_0x1b64a7[_0x4e257f(0x2dd)](_0x3eae50,_0x18a981):_0x4187d6&&_0x4187d6[_0x4e257f(0x2dd)](_0x3eae50,_0x18a981)?_0x4187d6[_0x4e257f(0x2dd)](_0x3eae50,_0x18a981):_0x27a145['getValue'](_0x3eae50,_0x18a981);}[_0x1a5c4f(0x2e1)](_0x2fe200,_0x172688,_0x1a8341,_0x4135d3){const _0x44ef62=_0x1a5c4f,_0x3738a3=this[_0x44ef62(0x412)][_0x2fe200];if(!_0x3738a3)return;const {subUnitId:_0x5aae23,range:_0x2e1b88,unitId:_0x2156d7}=_0x172688,_0x5545f9=this[_0x44ef62(0x3bb)][_0x44ef62(0x46a)](_0x2156d7);if(!_0x5545f9){console[_0x44ef62(0x1e4)](_0x44ef62(0x1a6));return;}const _0x38a108=_0x5545f9[_0x44ef62(0x2a2)](_0x5aae23),_0x58fd11=_0x38a108[_0x44ef62(0x4ac)](),{arrayFormulaCellDataMatrix:_0x10f053,unitDataMatrix:_0x4c15c3}=_0x4135d3||{},{startRow:_0x5d6ecf,startColumn:_0x1d38c3,endRow:_0x5b603b}=this[_0x44ef62(0x3a6)](_0x2e1b88,_0x38a108);_0x3738a3[_0x44ef62(0x43e)]();const _0x1947d7=_0x5545f9[_0x44ef62(0x3b5)](),_0x49711c={},_0x241ec4=this[_0x44ef62(0x466)](_0x58fd11,_0x10f053,_0x4c15c3,_0x5d6ecf,_0x1d38c3+_0x1a8341);let _0x53394e=this[_0x44ef62(0x4ba)](_0x241ec4,_0x1947d7,_0x49711c);_0x5ae8cc['isDateValue'](_0x53394e)&&(_0x53394e=_0x1c6d43[_0x44ef62(0x1c6)]['format'](_0x53394e['f'],Number(_0x53394e['v'])));const _0x9472d3=this[_0x44ef62(0x44e)](_0x53394e,_0x1d38c3+_0x1a8341);_0x3738a3[_0x44ef62(0x292)](_0x9472d3);for(let _0x5944b8=_0x5d6ecf+0x1;_0x5944b8<=_0x5b603b;_0x5944b8++){const _0x58d47f=this[_0x44ef62(0x466)](_0x58fd11,_0x10f053,_0x4c15c3,_0x5944b8,_0x1d38c3+_0x1a8341);_0x3738a3['addRecord'](this['adjustSheetCellData'](_0x58d47f,_0x1947d7,_0x49711c),_0x5944b8-0x1-_0x5d6ecf);}}[_0x1a5c4f(0x293)](_0x366143,_0x2e02cf,_0xd57571){const _0x146a18=_0x1a5c4f,{subUnitId:_0x2d4558,range:_0x29a06a,unitId:_0x3ec872}=_0xd57571,_0x1d0255=this[_0x146a18(0x3bb)][_0x146a18(0x46a)](_0x3ec872);if(!_0x1d0255){console[_0x146a18(0x1e4)](_0x146a18(0x1a6));return;}const _0x37f65e=_0x1d0255[_0x146a18(0x2a2)](_0x2d4558),_0xe57b8d=_0x37f65e[_0x146a18(0x4ac)](),{startRow:_0x33f884,startColumn:_0x4bcde6,endRow:_0x59b400}=this[_0x146a18(0x3a6)](_0x29a06a,_0x37f65e),_0x188c8e=_0x1d0255['getStyles'](),_0x4e32f2={};for(const {dataField:_0x13590a,index:_0x27f984}of _0x2e02cf){_0x13590a[_0x146a18(0x43e)]();const _0x16b2b1=this[_0x146a18(0x466)](_0xe57b8d,void 0x0,void 0x0,_0x33f884,_0x4bcde6+_0x27f984);let _0xb9926f=this[_0x146a18(0x4ba)](_0x16b2b1,_0x188c8e,_0x4e32f2);_0x5ae8cc[_0x146a18(0x3cb)](_0xb9926f)&&(_0xb9926f=_0x1c6d43[_0x146a18(0x1c6)][_0x146a18(0x1c2)](_0xb9926f['f'],Number(_0xb9926f['v'])));const _0xe4ff29=this['uniqueDataFieldName'](_0xb9926f,_0x4bcde6+_0x27f984);_0x13590a[_0x146a18(0x292)](_0xe4ff29);}_0x366143[_0x146a18(0x2d2)]();for(let _0x193c38=_0x33f884+0x1;_0x193c38<=_0x59b400;_0x193c38++)for(const {index:_0x206e3,dataField:_0x4dae35}of _0x2e02cf){const _0x20c12f=_0xe57b8d[_0x146a18(0x2dd)](_0x193c38,_0x4bcde6+_0x206e3);_0x4dae35[_0x146a18(0x392)](this['adjustSheetCellData'](_0x20c12f,_0x188c8e,_0x4e32f2),_0x193c38-0x1-_0x33f884);}_0x366143[_0x146a18(0x259)](_0x59b400-_0x33f884);}[_0x1a5c4f(0x39b)](_0x455e8e){const _0x1e2349=_0x1a5c4f,{range:_0x3aeb7d}=_0x455e8e,{startColumn:_0x22f7db,endColumn:_0x4b20a4}=_0x3aeb7d,_0x51a40f=[];for(let _0x46b8fe=_0x22f7db;_0x46b8fe<=_0x4b20a4;_0x46b8fe++)_0x51a40f[_0x1e2349(0x35f)](this[_0x1e2349(0x27d)](_0x455e8e,_0x46b8fe));return _0x51a40f;}[_0x1a5c4f(0x4ba)](_0xaab175,_0x3b196e,_0x1e0db9){const _0x6af3be=_0x1a5c4f;if(_0xaab175){const {s:_0x123a3c,v:_0x1a5f8d,t:_0x415e42,p:_0x48a951}=_0xaab175;if(_0x48a951)return _0x51cd8(_0x48a951);const _0x217f3a=_0x3b196e[_0x6af3be(0x420)](_0x123a3c);if(_0x217f3a&&_0x415e42===_0x1c6d43[_0x6af3be(0x4b8)][_0x6af3be(0x336)]&&_0x217f3a['n']){const {pattern:_0x2f9a42}=_0x217f3a['n'];_0x1e0db9[_0x2f9a42]||(_0x1e0db9[_0x2f9a42]=_0x1c6d43[_0x6af3be(0x1c6)][_0x6af3be(0x4b6)](_0x2f9a42));const _0x35d135=_0x1e0db9[_0x2f9a42],_0x2d270d=_0x35d135[_0x6af3be(0x2e0)];if(_0x35d135[_0x6af3be(0x3e9)])return String(_0x1a5f8d);if(_0x2d270d)return{'v':_0x1a5f8d,'f':_0x2f9a42};}if(_0x415e42===_0x1c6d43[_0x6af3be(0x4b8)][_0x6af3be(0x336)])return Number(_0x1a5f8d);if(_0x415e42===_0x1c6d43['CellValueType'][_0x6af3be(0x2fb)]||_0x415e42===_0x1c6d43[_0x6af3be(0x4b8)][_0x6af3be(0x3d4)])return String(_0x1a5f8d);if(_0x415e42===void 0x0){const _0x511579=Number(_0x1a5f8d);if(!Number['isNaN'](_0x511579)&&String(_0x511579)===_0x1a5f8d)return _0x511579;}return _0x1a5f8d!=null?_0x1a5f8d:null;}else return null;}[_0x1a5c4f(0x40c)](_0x267694){const _0x338b23=_0x1a5c4f,{sheetName:_0x5ab2a3,range:_0x3006fa,unitId:_0x317fa4}=_0x267694,_0x16947d=this[_0x338b23(0x3bb)]['getUnit'](_0x317fa4);if(!_0x16947d)return console[_0x338b23(0x1e4)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x274aa4=_0x16947d[_0x338b23(0x23b)](_0x5ab2a3),_0x3f7a15=_0x274aa4[_0x338b23(0x4ac)](),{startRow:_0x1f89e4,startColumn:_0x25be59,endRow:_0xb77706,endColumn:_0x23f86b}=this[_0x338b23(0x3a6)](_0x3006fa,_0x274aa4),_0x4f374e=_0x16947d['getStyles'](),_0x1788d1=[],_0x4c14ff=[],_0x4985e3={};for(let _0x2a2829=_0x1f89e4;_0x2a2829<=_0xb77706;_0x2a2829++){const _0x3cae50=[];for(let _0x17d542=_0x25be59;_0x17d542<=_0x23f86b;_0x17d542++){const _0x3bb32a=_0x3f7a15[_0x338b23(0x2dd)](_0x2a2829,_0x17d542);_0x2a2829===_0x1f89e4?_0x1788d1['push'](_0x3bb32a==null?null:String(_0x3bb32a['v'])):_0x3cae50[_0x338b23(0x35f)](this['adjustSheetCellData'](_0x3bb32a,_0x4f374e,_0x4985e3));}_0x4c14ff['push'](_0x3cae50);}return{'header':_0x1788d1,'data':_0x4c14ff};}[_0x1a5c4f(0x3d0)](){return super['toJSON']();}[_0x1a5c4f(0x1ec)](_0x2c16e2){const _0x445803=_0x1a5c4f;super[_0x445803(0x1ec)](_0x2c16e2),this[_0x445803(0x3ba)]();}['dispose'](){const _0x1747cb=_0x1a5c4f;super['dispose'](),this['rangeKeyMap']={},this[_0x1747cb(0x303)]=null;}}const _0x3e2320=_0x2276ff=>{const _0x4ddb13=_0x1a5c4f,{targetCellInfo:_0x3d93fa}=_0x2276ff,{matrixCache:_0x5c8d3d,rangesCache:_0x5337f9}=_0x4d57dc({'filter':_0x4ddb13(0x1ba),'row':_0x4ddb13(0x2f7),'column':_0x4ddb13(0x1e3),'values':_0x4ddb13(0x3b8)},_0x3d93fa),_0xa0e53e=new _0x1c6d43[(_0x4ddb13(0x4b5))]();return _0x5c8d3d['forValue']((_0x239645,_0x3e5ad4,_0x2104e1)=>{const _0xa6a328=_0x4ddb13;_0xa0e53e[_0xa6a328(0x1bb)](_0x239645,_0x3e5ad4,_0x2104e1);}),{'matrix':_0xa0e53e,'rangesCache':_0x5337f9};},_0x504a1b=_0x1c3c89=>{const _0x50990d=_0x1a5c4f;let _0x489e57;if(_0x1c3c89!=null&&_0x1c3c89['v']||(_0x1c3c89==null?void 0x0:_0x1c3c89['v'])===0x0){_0x489e57||(_0x489e57={});const _0x111c93=_0x4e2ba2(_0x1c3c89['v']);typeof _0x111c93==_0x50990d(0x42d)?_0x489e57['t']=_0x1c6d43[_0x50990d(0x4b8)][_0x50990d(0x336)]:typeof _0x111c93==_0x50990d(0x337)&&(_0x489e57['t']=_0x1c6d43[_0x50990d(0x4b8)][_0x50990d(0x2fb)]),_0x489e57['v']=_0x111c93;}return _0x489e57;},_0x24a6e1=(_0x4cb974,_0x1bf2f9,_0x38b2b3)=>{const _0x8f49d7=_0x1a5c4f;var _0x118fed,_0x14064d,_0x225954,_0x2967d3,_0x2a6bbc,_0x43145d,_0x310a58,_0x7ed88e,_0x4a9fba,_0x28e766,_0x43cf39,_0x121c2e;const {cornerView:_0x1382d8,rowView:_0xcc6548,colView:_0x70e028,dataView:_0x4f73d0,pageView:_0x5e6b83,formatMap:_0x994932}=_0x4cb974,{row:_0x2acc2a,col:_0x348865}=_0x1bf2f9,_0x56c59e=new _0x1c6d43[(_0x8f49d7(0x4b5))]();let _0x1fcd4a=_0x2acc2a,_0x66e4f0=_0x348865;Object[_0x8f49d7(0x1d2)](_0x5e6b83[_0x8f49d7(0x1b7)])['forEach'](_0x38127b=>{const _0x531783=_0x8f49d7;Object['keys'](_0x5e6b83['data'][Number(_0x38127b)])[_0x531783(0x289)](_0x5e9f7b=>{const _0x2d513e=_0x531783,_0x59ed55={..._0x5e6b83[_0x2d513e(0x1b7)][Number(_0x38127b)][Number(_0x5e9f7b)]};_0x56c59e[_0x2d513e(0x1bb)](Number(_0x38127b)+_0x1fcd4a,Number(_0x5e9f7b)+_0x66e4f0,_0x504a1b(_0x59ed55));});});const _0x1eb31a=Object[_0x8f49d7(0x1d2)](_0x5e6b83[_0x8f49d7(0x1b7)])[_0x8f49d7(0x1fa)];_0x1fcd4a+=_0x1eb31a+(_0x1eb31a?_0x367df3:0x0);const _0x41c95d=_0x1382d8[_0x8f49d7(0x2bf)](),_0x4e79b6=_0x1382d8[_0x8f49d7(0x3f4)]();for(let _0x1c4477=0x0;_0x1c4477<_0x41c95d;_0x1c4477++)for(let _0x11c464=0x0;_0x11c464<_0x4e79b6;_0x11c464++){const _0x1c4209={...(_0x14064d=(_0x118fed=_0x1382d8['data'])==null?void 0x0:_0x118fed[_0x1c4477])==null?void 0x0:_0x14064d[_0x11c464]};_0x1c4209&&((_0x225954=_0xcc6548[_0x8f49d7(0x48b)][_0x11c464])!=null&&_0x225954[_0x8f49d7(0x24e)])&&_0x11c464===_0x4e79b6-0x1&&_0x1c4477===_0x41c95d-0x1&&(_0x1c4209['v']=''+_0x38b2b3[_0x8f49d7(0x3d1)]),_0x56c59e['setValue'](_0x1c4477+_0x1fcd4a,_0x11c464+_0x66e4f0,_0x504a1b(_0x1c4209));}_0x66e4f0+=_0x4e79b6;const _0xceb091=_0x70e028[_0x8f49d7(0x48b)],_0x12737b=_0x70e028[_0x8f49d7(0x417)]()>=0x0?_0x70e028[_0x8f49d7(0x417)]()+0x1:0x0,_0x4368f4=_0x70e028['getLastCol']()>=0x0?_0x70e028[_0x8f49d7(0x21d)]()+0x1:0x0;for(let _0x44e750=0x0;_0x44e750<_0x4368f4;_0x44e750++)for(let _0x340874=0x0;_0x340874<_0x12737b;_0x340874++){const _0x24c937={...(_0x2a6bbc=(_0x2967d3=_0x70e028['data'])==null?void 0x0:_0x2967d3[_0x44e750])==null?void 0x0:_0x2a6bbc[_0x340874]},_0x4f2ce2=(_0x43145d=_0xceb091[_0x44e750])==null?void 0x0:_0x43145d[_0x8f49d7(0x31e)],_0x1b0b72=_0x994932[_0x4f2ce2];_0x24c937&&(_0x24c937['v']=_0x53fbb7(_0x24c937,_0x44e750===0x0&&((_0x310a58=_0x70e028[_0x8f49d7(0x3b2)](_0x340874+0x1))==null?void 0x0:_0x310a58[_0x8f49d7(0x24e)]),_0x1b0b72,_0x38b2b3)),_0x56c59e[_0x8f49d7(0x1bb)](_0x44e750+_0x1fcd4a,_0x340874+_0x66e4f0,_0x504a1b(_0x24c937));}_0x1fcd4a+=_0x41c95d;const _0x477b12=_0xcc6548[_0x8f49d7(0x48b)],_0x505788=_0xcc6548[_0x8f49d7(0x417)]()>=0x0?_0xcc6548[_0x8f49d7(0x417)]()+0x1:0x0,_0x4d6936=_0xcc6548[_0x8f49d7(0x21d)]()>=0x0?_0xcc6548[_0x8f49d7(0x21d)]()+0x1:0x0;for(let _0x11f6a1=0x0;_0x11f6a1<_0x505788;_0x11f6a1++)for(let _0x4d47ee=0x0;_0x4d47ee<_0x4d6936;_0x4d47ee++){const _0x1e8547={...(_0x4a9fba=(_0x7ed88e=_0xcc6548[_0x8f49d7(0x1b7)])==null?void 0x0:_0x7ed88e[_0x11f6a1])==null?void 0x0:_0x4a9fba[_0x4d47ee]},_0x30f2e1=(_0x28e766=_0x477b12[_0x4d47ee])==null?void 0x0:_0x28e766[_0x8f49d7(0x31e)],_0x2d125f=_0x994932[_0x30f2e1];_0x1e8547&&(_0x1e8547['v']=_0x53fbb7(_0x1e8547,!0x1,_0x2d125f,_0x38b2b3)),_0x56c59e[_0x8f49d7(0x1bb)](_0x11f6a1+_0x1fcd4a,_0x4d47ee+_0x348865,_0x504a1b(_0x1e8547));}const _0xef6c2f=_0x4f73d0[_0x8f49d7(0x2bf)](),_0x470d9f=_0x4f73d0[_0x8f49d7(0x3f4)]();for(let _0x5dce4c=0x0;_0x5dce4c<_0xef6c2f;_0x5dce4c++)for(let _0x2fa049=0x0;_0x2fa049<_0x470d9f;_0x2fa049++){const _0x536bd3={...(_0x121c2e=(_0x43cf39=_0x4f73d0[_0x8f49d7(0x1b7)])==null?void 0x0:_0x43cf39[_0x5dce4c])==null?void 0x0:_0x121c2e[_0x2fa049]};_0x56c59e[_0x8f49d7(0x1bb)](_0x5dce4c+_0x1fcd4a,_0x2fa049+_0x66e4f0,_0x504a1b(_0x536bd3));}return _0x56c59e;},_0x4ecbcc=_0xcd90f3=>{const _0x342b0d=_0x1a5c4f,{view:_0x693a35,targetCellInfo:_0x2cebf3,isEmpty:_0x437c58,textInfo:_0x44f42a}=_0xcd90f3;if(_0x437c58)return _0x3e2320(_0xcd90f3);const {pageView:_0x532f13,cornerView:_0x37e875,rowView:_0x4d8c9e,colView:_0x3b437b,dataView:_0xc4f1e2}=_0x693a35,_0xba597=_0x243a07(_0x2cebf3,_0x532f13,!0x0),_0x16326a=_0x532f13[_0x342b0d(0x3af)]>=0x0?_0x532f13['lastRow']+0x1:0x0,_0x8fe72b=_0x37e875[_0x342b0d(0x2bf)](),_0x48f7b5=_0x37e875[_0x342b0d(0x3f4)](),_0x74a445=_0xba597[_0x342b0d(0x1fa)]>0x0?_0x367df3:0x0,_0x4ae266=_0x243a07({'row':_0x2cebf3[_0x342b0d(0x1e7)]+_0x16326a+_0x74a445,'col':_0x2cebf3['col']},_0x37e875,!0x1,!0x1),_0x327942=_0x243a07({'row':_0x2cebf3[_0x342b0d(0x1e7)]+_0x16326a+_0x74a445+_0x8fe72b,'col':_0x2cebf3['col']},_0x4d8c9e,!0x1,!0x0),_0x1dc359=_0x243a07({'row':_0x2cebf3['row']+_0x16326a+_0x74a445,'col':_0x2cebf3[_0x342b0d(0x345)]+_0x48f7b5},_0x3b437b,!0x1,!0x0),_0x539752=_0x243a07({'row':_0x2cebf3['row']+_0x16326a+_0x74a445+_0x8fe72b,'col':_0x2cebf3[_0x342b0d(0x345)]+_0x48f7b5},_0xc4f1e2,!0x1,!0x1),_0x380f11={'rowRanges':_0x327942,'colRanges':_0x1dc359,'cornerRanges':_0x4ae266,'dataRanges':_0x539752,'pageRanges':_0xba597};return{'matrix':_0x24a6e1(_0x693a35,_0x2cebf3,_0x44f42a),'rangesCache':_0x380f11};};var _0x59a4bc=Object[_0x1a5c4f(0x4b1)],_0x11d9df=(_0x156960,_0x4ee8c1,_0x305029,_0x1a8eb4)=>{const _0x5878dc=_0x1a5c4f;for(var _0x3ece48=_0x1a8eb4>0x1?void 0x0:_0x1a8eb4?_0x59a4bc(_0x4ee8c1,_0x305029):_0x4ee8c1,_0x2c8a36=_0x156960[_0x5878dc(0x1fa)]-0x1,_0x1bdcf6;_0x2c8a36>=0x0;_0x2c8a36--)(_0x1bdcf6=_0x156960[_0x2c8a36])&&(_0x3ece48=_0x1bdcf6(_0x3ece48)||_0x3ece48);return _0x3ece48;},_0x1c225c=(_0x1c790e,_0x5777a5)=>(_0x58c58b,_0x39aa63)=>_0x5777a5(_0x58c58b,_0x39aa63,_0x1c790e);_0x10e2e1[_0x1a5c4f(0x44f)]=class extends _0x1c6d43[_0x1a5c4f(0x229)]{constructor(_0xba7e83,_0x536a65,_0x1d4e5,_0xc990a6,_0x4fc293){const _0x54aaa1=_0x1a5c4f;super(),_0x47fe5b(this,_0x54aaa1(0x376),new Map()),_0x47fe5b(this,'_pivotTableInstanceCache',new Map()),_0x47fe5b(this,_0x54aaa1(0x2c2),new Map()),_0x47fe5b(this,_0x54aaa1(0x323)),_0x47fe5b(this,'_collectionChange$',new _0xbd119f[(_0x54aaa1(0x4c1))]()),_0x47fe5b(this,_0x54aaa1(0x2b5),this[_0x54aaa1(0x390)][_0x54aaa1(0x43f)]()),_0x47fe5b(this,_0x54aaa1(0x45e),new _0xbd119f[(_0x54aaa1(0x4c1))]()),_0x47fe5b(this,_0x54aaa1(0x47d),this[_0x54aaa1(0x45e)][_0x54aaa1(0x43f)]()),_0x47fe5b(this,_0x54aaa1(0x471),new _0xbd119f[(_0x54aaa1(0x4c1))]()),_0x47fe5b(this,_0x54aaa1(0x362),this[_0x54aaa1(0x471)][_0x54aaa1(0x43f)]()),_0x47fe5b(this,'_dataFieldManagerCollection',new Map()),_0x47fe5b(this,_0x54aaa1(0x25d),[]),_0x47fe5b(this,_0x54aaa1(0x332),new Map()),(this[_0x54aaa1(0x220)]=_0xba7e83,this[_0x54aaa1(0x3bb)]=_0x536a65,this[_0x54aaa1(0x479)]=_0x1d4e5,this[_0x54aaa1(0x22a)]=_0xc990a6,this[_0x54aaa1(0x489)]=_0x4fc293,this[_0x54aaa1(0x1bc)]());}['getTextInfo'](){const _0x184d8a=_0x1a5c4f;return this[_0x184d8a(0x323)]?this[_0x184d8a(0x323)]:_0x2ed76f;}[_0x1a5c4f(0x3c6)](_0x5c944f){this['_textInfo']=_0x5c944f;}['handleMoveRange'](_0x2baa07){const _0x42c576=_0x1a5c4f;var _0x3f3276;const {from:_0x25b4d5,to:_0xcc10c6,unitId:_0x12558b,fromRange:_0x5b476d,toRange:_0x1e9505}=_0x2baa07;if(_0x25b4d5&&_0xcc10c6){const _0xfaae3b=this[_0x42c576(0x3d3)](_0x12558b),_0x37f4f4=this['_model'][_0x42c576(0x420)](_0x12558b),_0x2758f8=(_0x3f3276=this[_0x42c576(0x3bb)][_0x42c576(0x46a)](_0x12558b))==null?void 0x0:_0x3f3276[_0x42c576(0x2a2)](_0xcc10c6['subUnitId']);if(!_0x37f4f4||!_0x2758f8)return;const _0x1cd88d=_0x2758f8==null?void 0x0:_0x2758f8[_0x42c576(0x343)]();for(const [_0x45a985,_0x2fbf65]of _0x37f4f4[_0x42c576(0x346)]())for(const [_0x33e9b0,_0x223d05]of _0x2fbf65[_0x42c576(0x346)]()){const {sourceRangeInfo:_0xd78028}=_0x223d05;if(_0xd78028[_0x42c576(0x3f9)]===_0x12558b&&_0xd78028['subUnitId']===_0x25b4d5[_0x42c576(0x371)]&&_0x1c6d43['Rectangle'][_0x42c576(0x2e7)](_0x5b476d,_0xd78028[_0x42c576(0x1fb)])){const _0x4ea2d3={'row':_0xd78028[_0x42c576(0x1fb)][_0x42c576(0x407)]-_0x5b476d[_0x42c576(0x407)],'col':_0xd78028[_0x42c576(0x1fb)]['startColumn']-_0x5b476d[_0x42c576(0x2d6)]},_0x554d50={'unitId':_0x12558b,'subUnitId':_0xcc10c6['subUnitId'],'sheetName':_0x1cd88d,'range':{'startRow':_0x1e9505[_0x42c576(0x407)]+_0x4ea2d3[_0x42c576(0x1e7)],'endRow':_0x1e9505[_0x42c576(0x407)]+_0x4ea2d3[_0x42c576(0x1e7)]+_0xd78028[_0x42c576(0x1fb)][_0x42c576(0x2ca)]-_0xd78028['range'][_0x42c576(0x407)],'startColumn':_0x1e9505[_0x42c576(0x2d6)]+_0x4ea2d3[_0x42c576(0x345)],'endColumn':_0x1e9505[_0x42c576(0x2d6)]+_0x4ea2d3[_0x42c576(0x345)]+_0xd78028[_0x42c576(0x1fb)][_0x42c576(0x41c)]-_0xd78028['range'][_0x42c576(0x2d6)]}};_0xfaae3b[_0x42c576(0x21b)](_0x33e9b0,_0x554d50);const _0x21d7c7={..._0x223d05,'sourceRangeInfo':_0x554d50};this[_0x42c576(0x225)](_0x12558b,_0xcc10c6['subUnitId'],_0x33e9b0,_0x21d7c7),this[_0x42c576(0x215)]({'unitId':_0x12558b,'token':_0x33e9b0,'type':_0x5f31d8['update'],'oldSourceRangeInfo':_0xd78028,'dataRangeInfo':_0x554d50,'targetCellInfo':_0x223d05['targetCellInfo']}),this['updateConfig']({'unitId':_0x12558b,'subUnitId':_0xcc10c6[_0x42c576(0x371)],'oldSubUnitId':_0x45a985,'pivotTableId':_0x33e9b0,'pivotTableConfig':_0x21d7c7,'collectionConfig':_0xfaae3b[_0x42c576(0x3d0)]()});}}}}[_0x1a5c4f(0x215)](_0x566b00){const _0x5ac0fd=_0x1a5c4f;this[_0x5ac0fd(0x390)]['next'](_0x566b00);}['getDataFieldManager'](_0x4906d7){const _0x4168ab=_0x1a5c4f;let _0x3727e6=this[_0x4168ab(0x1d4)]['get'](_0x4906d7);return _0x3727e6||(_0x3727e6=new _0x301d2c(this,this[_0x4168ab(0x3bb)]),this[_0x4168ab(0x1d4)][_0x4168ab(0x1e0)](_0x4906d7,_0x3727e6)),_0x3727e6;}[_0x1a5c4f(0x27c)](_0x3b756c,_0x46c48b){const _0x2f7932=_0x1a5c4f;return this[_0x2f7932(0x3d3)](_0x3b756c)[_0x2f7932(0x45d)][_0x46c48b];}['getUpdateRangeDeleteIds'](_0x2dcdc7,_0x50715a,_0x5e5e07){const _0x189ac1=_0x1a5c4f;return this[_0x189ac1(0x3d3)](_0x2dcdc7)[_0x189ac1(0x278)](_0x50715a,_0x5e5e07);}[_0x1a5c4f(0x1cc)](_0x3ca601,_0xac3831){const _0x47bf47=_0x1a5c4f;let _0x5292f4=this[_0x47bf47(0x376)][_0x47bf47(0x420)](_0x3ca601);_0x5292f4||(_0x5292f4=new Map(),this['_model'][_0x47bf47(0x1e0)](_0x3ca601,_0x5292f4));let _0x215f3d=_0x5292f4[_0x47bf47(0x420)](_0xac3831);return _0x215f3d||(_0x215f3d=new Map(),_0x5292f4[_0x47bf47(0x1e0)](_0xac3831,_0x215f3d)),_0x215f3d;}[_0x1a5c4f(0x225)](_0x1e22a0,_0x2e68d5,_0x12a077,_0x219438){const _0x27fd2c=_0x1a5c4f;this[_0x27fd2c(0x1cc)](_0x1e22a0,_0x2e68d5)['set'](_0x12a077,_0x219438);}[_0x1a5c4f(0x341)](_0x2ee80f,_0x2383ad,_0x13e832){const _0x1fb484=_0x1a5c4f;var _0x5ad993,_0x29266d,_0x268c2a,_0x3471d6;((_0x29266d=(_0x5ad993=this[_0x1fb484(0x376)]['get'](_0x2ee80f))==null?void 0x0:_0x5ad993[_0x1fb484(0x420)](_0x2383ad))==null?void 0x0:_0x29266d['get'](_0x13e832))&&((_0x3471d6=(_0x268c2a=this[_0x1fb484(0x376)][_0x1fb484(0x420)](_0x2ee80f))==null?void 0x0:_0x268c2a[_0x1fb484(0x420)](_0x2383ad))==null||_0x3471d6[_0x1fb484(0x34c)](_0x13e832));}[_0x1a5c4f(0x245)](_0x5404cb,_0x36deb1){const _0x10297a=_0x1a5c4f;this[_0x10297a(0x423)][_0x10297a(0x1e0)](_0x5404cb,_0x36deb1);}['_deletePivotTableInstanceCache'](_0x7db9ac){const _0x4ea9ff=_0x1a5c4f;this[_0x4ea9ff(0x423)][_0x4ea9ff(0x34c)](_0x7db9ac);}[_0x1a5c4f(0x410)](_0x151a7e,_0x58fc51){const _0x276983=_0x1a5c4f;let _0x2defdb=this[_0x276983(0x2c2)][_0x276983(0x420)](_0x151a7e);_0x2defdb||(_0x2defdb=new Map(),this[_0x276983(0x2c2)]['set'](_0x151a7e,_0x2defdb));let _0x42d95f=_0x2defdb[_0x276983(0x420)](_0x58fc51);return _0x42d95f||(_0x42d95f=new Map(),_0x2defdb[_0x276983(0x1e0)](_0x58fc51,_0x42d95f)),_0x42d95f;}['updateConfig'](_0x41821e){const _0x4a855a=_0x1a5c4f,{unitId:_0x5eaaae,subUnitId:_0x4d4ea9,pivotTableId:_0x34a2d0,pivotTableConfig:_0x3b3280,collectionConfig:_0x87a910}=_0x41821e,_0x456740={'unitId':_0x5eaaae,'subUnitId':_0x4d4ea9,'oldSubUnitId':_0x4d4ea9,'pivotTableId':_0x34a2d0,'pivotTableConfig':_0x3b3280,'collectionConfig':_0x87a910};this[_0x4a855a(0x22a)][_0x4a855a(0x28b)](_0x444bca['id'],_0x456740,{'onlyLocal':!0x0});}[_0x1a5c4f(0x231)](_0x1ae41c,_0xa3fb7a,_0x5a6671,_0x3c5f09,_0x1b12bd,_0x317f26,_0x569e3d,_0x1af46b=!0x1){const _0xdafb78=_0x1a5c4f;var _0x228f0d;this[_0xdafb78(0x22a)]['executeCommand'](_0x1a5016['id'],{'single':{'unitId':_0x1ae41c,'subUnitId':_0xa3fb7a,'type':_0x5a6671,'pivotTableId':_0x3c5f09,'view':_0x1b12bd,'pivotConfig':_0x317f26},'collectionConfig':{[_0x1ae41c]:_0x569e3d}},{'onlyLocal':!0x0});const _0x5112b0=!!((_0x228f0d=this['getPivotTableInstance'](_0x3c5f09))!=null&&_0x228f0d[_0xdafb78(0x44d)]()),_0x1b5cc9=this[_0xdafb78(0x493)](_0x1ae41c,_0xa3fb7a,_0x3c5f09);_0x1b5cc9&&this[_0xdafb78(0x38e)]({'view':_0x1b12bd,'pivotTableId':_0x3c5f09,'textInfo':this[_0xdafb78(0x409)](),'isEmpty':_0x5112b0,'targetCellInfo':_0x1b5cc9[_0xdafb78(0x370)]},_0x1af46b);}[_0x1a5c4f(0x38e)](_0x287ae6,_0x32f32c){const _0x1b7e19=_0x1a5c4f,{targetCellInfo:_0x3abb8d,pivotTableId:_0x24e0f7}=_0x287ae6,{unitId:_0x47ff0a,subUnitId:_0x2905b5}=_0x3abb8d,_0x5ca385=this['_ensureViewDataMap'](_0x47ff0a,_0x2905b5),_0xec36b1=_0x5ca385[_0x1b7e19(0x420)](_0x24e0f7);let _0xce3985,_0x5aa405;_0xec36b1&&(_0xce3985=_0xec36b1[_0x1b7e19(0x401)],_0x5aa405=_0xec36b1['matrix']);const {rangesCache:_0x5ac06d,matrix:_0x378aef}=_0x4ecbcc(_0x287ae6);_0x5ca385[_0x1b7e19(0x1e0)](_0x24e0f7,{'rangeCache':_0x5ac06d,'matrix':_0x378aef,'oldMatrix':_0x5aa405,'oldRangeCache':_0xce3985}),_0x32f32c||this[_0x1b7e19(0x45e)][_0x1b7e19(0x207)]({'unitId':_0x47ff0a,'subUnitId':_0x2905b5,'pivotTableId':_0x24e0f7});}[_0x1a5c4f(0x2c1)](_0x5adeba,_0x452952,_0x36db29,_0x9069c,_0x2ee116){this['_updateModelCache'](_0x5adeba,_0x452952,_0x36db29,_0x2ee116),this['_updatePivotTableInstanceCache'](_0x36db29,_0x9069c);}[_0x1a5c4f(0x414)](_0x23178c,_0x290702,_0x373266){const _0x3f2385=_0x1a5c4f,_0x351c62=this[_0x3f2385(0x3d3)](_0x23178c);_0x351c62[_0x3f2385(0x473)](_0x373266)[_0x3f2385(0x289)](_0x4f3876=>{const _0x583971=_0x3f2385;_0x351c62[_0x583971(0x3f8)](_0x4f3876);}),this['removeCollections'](_0x23178c,_0x373266),this[_0x3f2385(0x341)](_0x23178c,_0x290702,_0x373266),this[_0x3f2385(0x213)](_0x373266);}[_0x1a5c4f(0x48e)](_0x184655,_0x4388de,_0x5e7646,_0x381b5f){const _0x264672=_0x1a5c4f;this[_0x264672(0x225)](_0x184655,_0x4388de,_0x5e7646,_0x381b5f);}[_0x1a5c4f(0x493)](_0x5af0aa,_0x1775ad,_0x1654c0){const _0x206fc4=_0x1a5c4f;var _0x22bd37,_0x3859b2;const _0x11cde4=(_0x3859b2=(_0x22bd37=this[_0x206fc4(0x376)]['get'](_0x5af0aa))==null?void 0x0:_0x22bd37['get'](_0x1775ad))==null?void 0x0:_0x3859b2['get'](_0x1654c0);if(_0x11cde4)return _0x11cde4;}['getPivotTableModelConfig'](_0x36f93b,_0x408c73,_0xf9fa23){const _0x1d8369=_0x1a5c4f;var _0x26eb7b,_0x36e331;const _0xfc7442=(_0x36e331=(_0x26eb7b=this[_0x1d8369(0x376)][_0x1d8369(0x420)](_0x36f93b))==null?void 0x0:_0x26eb7b['get'](_0x408c73))==null?void 0x0:_0x36e331[_0x1d8369(0x420)](_0xf9fa23);if(_0xfc7442)return _0xfc7442[_0x1d8369(0x3d5)];}['getPivotTableInstance'](_0x1545ba){const _0x34ab68=_0x1a5c4f;return this[_0x34ab68(0x423)]['get'](_0x1545ba);}[_0x1a5c4f(0x360)](_0x5a437b){const _0x3bb10a=_0x1a5c4f;this[_0x3bb10a(0x376)][_0x3bb10a(0x34c)](_0x5a437b);const _0x1925c3=this['_dataFieldManagerCollection']['get'](_0x5a437b);_0x1925c3&&(_0x1925c3['dispose'](),this['_dataFieldManagerCollection']['delete'](_0x5a437b)),this[_0x3bb10a(0x2c2)][_0x3bb10a(0x34c)](_0x5a437b),this[_0x3bb10a(0x25d)][_0x3bb10a(0x289)](_0x761dcc=>{const _0x460603=_0x3bb10a;_0x761dcc[_0x460603(0x360)](_0x5a437b);});}['addCollectionByJSON'](_0xd241b,_0x3f1dfd,_0x2b6112,_0x99fc91){const _0x2420cd=_0x1a5c4f;return this[_0x2420cd(0x3d3)](_0x2b6112[_0x2420cd(0x3f9)])[_0x2420cd(0x1ad)](_0xd241b,_0x3f1dfd,_0x2b6112,_0x99fc91);}[_0x1a5c4f(0x2ac)](_0x43bc10){const _0x12f23b=_0x1a5c4f;return this[_0x12f23b(0x3d3)](_0x43bc10[_0x12f23b(0x3f9)])[_0x12f23b(0x2ac)](_0x43bc10);}[_0x1a5c4f(0x293)](_0x486cf3,_0x598cef,_0x343d26){const _0x4311eb=_0x1a5c4f;this['getDataFieldManager'](_0x343d26[_0x4311eb(0x3f9)])[_0x4311eb(0x293)](_0x486cf3,_0x598cef,_0x343d26);}['removeDataField'](_0x71b7e,_0x5b8733){const _0x5a169d=_0x1a5c4f;this[_0x5a169d(0x3d3)](_0x71b7e)[_0x5a169d(0x3f8)](_0x5b8733);}[_0x1a5c4f(0x24a)](_0x20387a,_0x27e143){const _0x1c0190=_0x1a5c4f;this['getDataFieldManager'](_0x20387a)[_0x1c0190(0x28d)](_0x27e143);}[_0x1a5c4f(0x29a)](_0x2f3d0e,_0x2a7e00){const _0x113389=_0x1a5c4f;var _0xcfff7b;return(_0xcfff7b=this['_model'][_0x113389(0x420)](_0x2f3d0e))==null?void 0x0:_0xcfff7b[_0x113389(0x420)](_0x2a7e00);}[_0x1a5c4f(0x265)](_0x4188c4){const _0x3d5c3c=_0x1a5c4f;for(const [_0x4571fe,_0x4bfbfc]of this[_0x3d5c3c(0x376)]['entries']())for(const [_0x422518,_0x52a99c]of _0x4bfbfc[_0x3d5c3c(0x346)]())if(_0x52a99c[_0x3d5c3c(0x2c3)](_0x4188c4))return{'unitId':_0x4571fe,'subUnitId':_0x422518};return null;}[_0x1a5c4f(0x3ff)](_0x2409c9,_0x786796,_0x44ae8c,_0x32aa22){const _0x3e0033=_0x1a5c4f,_0x1c198d=this[_0x3e0033(0x410)](_0x2409c9,_0x786796);_0x32aa22?_0x1c198d[_0x3e0033(0x1e0)](_0x44ae8c,_0x32aa22):_0x1c198d[_0x3e0033(0x34c)](_0x44ae8c),this['_viewData$'][_0x3e0033(0x207)]({'unitId':_0x2409c9,'subUnitId':_0x786796,'pivotTableId':_0x44ae8c});}[_0x1a5c4f(0x3bd)](){const _0x1da698=_0x1a5c4f;super[_0x1da698(0x3bd)]();}[_0x1a5c4f(0x1ae)](_0x582e51,_0x40c802,_0x12942b){const _0x25e0f5=_0x1a5c4f;var _0x48ef5c,_0x37e122;const _0x1e2494=(_0x37e122=(_0x48ef5c=this[_0x25e0f5(0x2c2)][_0x25e0f5(0x420)](_0x582e51))==null?void 0x0:_0x48ef5c[_0x25e0f5(0x420)](_0x40c802))==null?void 0x0:_0x37e122[_0x25e0f5(0x420)](_0x12942b);return _0x1e2494||null;}[_0x1a5c4f(0x255)](_0x5c1fd4){const _0x8af277=_0x1a5c4f;this[_0x8af277(0x499)](_0x5c1fd4);}[_0x1a5c4f(0x499)](_0x57c93c){const _0x46e12a=_0x1a5c4f,{token:_0x17c445,unitId:_0x9dea9e,subUnitId:_0x374856}=_0x57c93c,_0x486069=_0x9dea9e+'-'+_0x374856+'-'+_0x17c445;this[_0x46e12a(0x332)]['get'](_0x486069)&&clearTimeout(this['_queryingMap']['get'](_0x486069));const _0x44f5c3=setTimeout(()=>{const _0x2c103a=_0x46e12a;this['queryDirtyPivotTable'](_0x57c93c),this['_queryingMap'][_0x2c103a(0x34c)](_0x486069);},_0xf7bd43);this['_queryingMap']['set'](_0x486069,_0x44f5c3);}[_0x1a5c4f(0x488)](_0x2c80d4){const _0x48f7b7=_0x1a5c4f,{unitId:_0x11567e,subUnitId:_0x5d5648,token:_0x31975f,type:_0x59e8d3,pivotConfig:_0x47aee9}=_0x2c80d4,_0x3471c6=this[_0x48f7b7(0x23e)](_0x31975f),_0x418264=_0x3471c6==null?void 0x0:_0x3471c6[_0x48f7b7(0x45b)](),_0x5de4e0=_0x47aee9!=null?_0x47aee9:this[_0x48f7b7(0x493)](_0x11567e,_0x5d5648,_0x31975f);_0x5de4e0&&(_0x5de4e0[_0x48f7b7(0x44d)]=!!(_0x3471c6!=null&&_0x3471c6[_0x48f7b7(0x44d)]())),(_0x418264||_0x59e8d3===_0x15c80f[_0x48f7b7(0x1ed)])&&this[_0x48f7b7(0x231)](_0x11567e,_0x5d5648,_0x59e8d3,_0x31975f,_0x418264,_0x5de4e0,this[_0x48f7b7(0x3d3)](_0x11567e)[_0x48f7b7(0x3d0)]());}['toJSON'](_0x241840){const _0x1fe389=_0x1a5c4f,_0x5608d6={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x241840)&&(_0x5608d6[_0x1fe389(0x280)][_0x241840]=this[_0x1fe389(0x3d3)](_0x241840)[_0x1fe389(0x3d0)]()),this[_0x1fe389(0x376)]['get'](_0x241840)){_0x5608d6[_0x1fe389(0x37a)][_0x241840]={};const _0x23e386=this[_0x1fe389(0x376)][_0x1fe389(0x420)](_0x241840);_0x23e386!=null&&_0x23e386[_0x1fe389(0x284)]&&[..._0x23e386[_0x1fe389(0x1d2)]()][_0x1fe389(0x289)](_0x2cd895=>{const _0x57df8f=_0x1fe389,_0x3aec4e=_0x23e386['get'](_0x2cd895);_0x3aec4e!=null&&_0x3aec4e[_0x57df8f(0x284)]&&(_0x5608d6[_0x57df8f(0x37a)][_0x241840][_0x2cd895]={},[..._0x3aec4e[_0x57df8f(0x1d2)]()][_0x57df8f(0x289)](_0x3c7622=>{const _0x3485a9=_0x57df8f,_0x1bd1cc=_0x3aec4e[_0x3485a9(0x420)](_0x3c7622);_0x1bd1cc&&(_0x5608d6[_0x3485a9(0x37a)][_0x241840][_0x2cd895][_0x3c7622]=_0x1bd1cc);}));});}return _0x5608d6;}[_0x1a5c4f(0x1ec)](_0x264dae){const _0x2db1cd=_0x1a5c4f;var _0x41bb20;const {dataFieldManagerConfig:_0x4583d2,pivotTableConfigs:_0x26d076}=_0x264dae;_0x4583d2&&Object[_0x2db1cd(0x1d2)](_0x4583d2)['forEach'](_0x3362e5=>{const _0xca21=_0x2db1cd;this[_0xca21(0x3d3)](_0x3362e5)[_0xca21(0x1ec)](_0x4583d2[_0x3362e5]);});const _0x2e2e3c=[];if(_0x26d076){const _0x104e97=(_0x41bb20=this[_0x2db1cd(0x220)][_0x2db1cd(0x420)](_0x1c6d43[_0x2db1cd(0x31a)])['getConfig'](_0x1778fa[_0x2db1cd(0x494)]))!=null?_0x41bb20:{},{ls:_0x4f93ae,pbk:_0x324b5b}=_0x104e97,_0x37aad1=_0xbd7e33(_0x1cf699,_0x4f93ae,_0x324b5b)[_0x2db1cd(0x369)];Object[_0x2db1cd(0x1d2)](_0x26d076)[_0x2db1cd(0x289)](_0x85dff8=>{const _0x468ae=_0x2db1cd;let _0x109893=0x0;const _0x14b121=_0x26d076[_0x85dff8];Object['keys'](_0x14b121)[_0x468ae(0x289)](_0x23e061=>{const _0x4af956=_0x468ae,_0x3acfe1=_0x14b121[_0x23e061];Object[_0x4af956(0x1d2)](_0x3acfe1)['forEach'](_0x3b8671=>{const _0x5b3070=_0x4af956,_0x4ee1d7=_0x3acfe1[_0x3b8671];if(_0x4ee1d7){if(_0x109893>=_0x37aad1)return;_0x109893++;const _0x4b340d=this[_0x5b3070(0x3d3)](_0x85dff8),_0x1e13b1=_0x4b340d[_0x5b3070(0x45d)][_0x3b8671],_0x5a6ba7=_0x1e13b1[_0x5b3070(0x287)]();let _0xce11e7=0x0;const _0x44b8ab=[];for(const _0xce522b of _0x5a6ba7){const _0x4f19fd=_0x1e13b1[_0x5b3070(0x1f6)](_0xce522b);if(_0x5ae8cc['isBaseGroupField'](_0x4f19fd)){const _0x25336b=_0x4f19fd[_0x5b3070(0x34d)](),_0xb5c78d=_0x1e13b1[_0x5b3070(0x1f6)](_0x25336b);_0xb5c78d&&_0x44b8ab[_0x5b3070(0x35f)]([_0x4f19fd,_0xb5c78d]);continue;}_0x4b340d[_0x5b3070(0x2e1)](_0xce522b,_0x4ee1d7[_0x5b3070(0x430)],_0xce11e7),_0xce11e7++;}_0x44b8ab[_0x5b3070(0x289)](([_0x18ba31,_0x4093f8])=>{const _0x3bb108=_0x5b3070;_0x18ba31[_0x3bb108(0x2b4)](_0x4093f8);});const _0x2c1ae7=new _0x5ae8cc[(_0x5b3070(0x2dc))](_0x1e13b1);_0x2c1ae7[_0x5b3070(0x1ec)](_0x4ee1d7[_0x5b3070(0x3d5)]),this['addPivotTable'](_0x85dff8,_0x23e061,_0x3b8671,_0x2c1ae7,_0x4ee1d7);const _0x1f4931=_0x2c1ae7[_0x5b3070(0x45b)]();_0x2e2e3c[_0x5b3070(0x35f)]({'unitId':_0x85dff8,'subUnitId':_0x23e061,'pivotTableId':_0x3b8671,'view':_0x1f4931[_0x5b3070(0x3d0)](),'pivotConfig':_0x4ee1d7,'type':_0x15c80f[_0x5b3070(0x2ae)]});const _0x45e9a4=!!_0x2c1ae7[_0x5b3070(0x44d)](),_0x36457f={'view':_0x1f4931,'pivotTableId':_0x3b8671,'textInfo':this[_0x5b3070(0x409)](),'isEmpty':_0x45e9a4,'targetCellInfo':_0x4ee1d7[_0x5b3070(0x370)]};this[_0x5b3070(0x38e)](_0x36457f,!0x1);}});});});}_0x4583d2&&Object['keys'](_0x4583d2)[_0x2db1cd(0x289)](_0x306fb2=>{const _0x3a2784=_0x2db1cd,_0x57476f=this['getDataFieldManager'](_0x306fb2);this[_0x3a2784(0x471)][_0x3a2784(0x207)](_0x57476f[_0x3a2784(0x45d)]);}),this[_0x2db1cd(0x22a)]['executeCommand'](_0x1a5016['id'],{'batch':_0x2e2e3c,'collectionConfig':_0x4583d2},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0xa87426=_0x1a5c4f;this[_0xa87426(0x444)](this[_0xa87426(0x489)][_0xa87426(0x469)]({'toJson':_0x3c2a2e=>JSON['stringify'](this[_0xa87426(0x3d0)](_0x3c2a2e)),'parseJson':_0x753949=>{if(!_0x753949)return{};try{return JSON['parse'](_0x753949);}catch{return{};}},'businesses':[_0x1c6d43[_0xa87426(0x3dd)][_0xa87426(0x2ad)]],'pluginName':_0x1540b7,'onLoad':(_0x306253,_0x50a3c5)=>{const _0x2d0e13=_0xa87426;this[_0x2d0e13(0x1ec)](_0x50a3c5);},'onUnLoad':_0x232965=>{this['deleteUnitId'](_0x232965);}}));}},_0x10e2e1[_0x1a5c4f(0x44f)]=_0x11d9df([_0x1c225c(0x0,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x1b3)])),_0x1c225c(0x1,_0x1c6d43[_0x1a5c4f(0x4a9)]),_0x1c225c(0x2,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x217)])),_0x1c225c(0x3,_0x1c6d43[_0x1a5c4f(0x3fa)]),_0x1c225c(0x4,_0x1c6d43['Inject'](_0x1c6d43[_0x1a5c4f(0x3db)]))],_0x10e2e1['SheetsPivotDataSourceModel']);const _0xad2527={0x0:{0x0:{'v':_0x1a5c4f(0x1a3),'s':_0x43ecb9}},0x2:{0x1:{'v':'','s':_0x43ecb9},0x2:{'v':'','s':_0x43ecb9},0x3:{'v':_0x1a5c4f(0x1e2),'s':_0x43ecb9},0x4:{'v':'','s':_0x43ecb9},0x5:{'v':'','s':_0x43ecb9}},0x3:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0x4:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0x5:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0x6:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0x7:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0x8:{0x0:{'v':_0x1a5c4f(0x1e7),'s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'values','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0x9:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0xa:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0xb:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0xc:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}},0xd:{0x0:{'v':'','s':_0x43ecb9},0x1:{'v':'','s':_0x3aae36},0x2:{'v':'','s':_0x3aae36},0x3:{'v':'','s':_0x3aae36},0x4:{'v':'','s':_0x3aae36},0x5:{'v':'','s':_0x3aae36}}},_0x4d89a6={'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':[]},_0x4d57dc=(_0x2adbf5,_0x1f1702)=>{const _0x1bf819=_0x1a5c4f,_0x500bea=new _0x1c6d43['ObjectMatrix'](),_0x307026=new _0x1c6d43['ObjectMatrix'](_0xad2527),{row:_0x36048d,col:_0x56a91e}=_0x1f1702;_0x307026[_0x1bf819(0x39a)]((_0x53cec8,_0x415743,_0x184b45)=>{const _0x519447=_0x1bf819;let _0x2ef738='';_0x184b45['v']===_0x519447(0x1a3)?_0x2ef738=_0x2adbf5[_0x519447(0x1a3)]:_0x184b45['v']===_0x519447(0x1e7)?_0x2ef738=_0x2adbf5[_0x519447(0x1e7)]:_0x184b45['v']===_0x519447(0x1e2)?_0x2ef738=_0x2adbf5[_0x519447(0x1e2)]:_0x184b45['v']===_0x519447(0x468)&&(_0x2ef738=_0x2adbf5['values']),_0x500bea[_0x519447(0x1bb)](_0x53cec8+_0x36048d,_0x415743+_0x56a91e,{..._0x184b45,'v':_0x2ef738});});const _0x53b1a5=_0x1c6d43[_0x1bf819(0x32c)][_0x1bf819(0x261)](_0x4d89a6);return Object['keys'](_0x4d89a6)[_0x1bf819(0x289)](_0x1f0f58=>{const _0x359d79=_0x1bf819;_0x53b1a5[_0x1f0f58]=_0x4d89a6[_0x1f0f58][_0x359d79(0x381)](_0x139469=>({..._0x139469,'startRow':_0x139469[_0x359d79(0x407)]+_0x36048d,'endRow':_0x139469[_0x359d79(0x2ca)]+_0x36048d,'startColumn':_0x139469[_0x359d79(0x2d6)]+_0x56a91e,'endColumn':_0x139469['endColumn']+_0x56a91e}));}),{'matrixCache':_0x500bea,'rangesCache':_0x53b1a5};};function _0x30fbab(_0x392180,_0x5730e3){const _0x28a3bc=_0x1a5c4f;let _0xfc99ca='';const _0x3d43cf=this[_0x28a3bc(0x409)]();switch(_0x5730e3){case _0x5ae8cc[_0x28a3bc(0x296)][_0x28a3bc(0x24f)]:_0xfc99ca=_0x3d43cf['sheets-pivot.averageName']+_0x392180;break;case _0x5ae8cc['PivotSubtotalTypeEnum'][_0x28a3bc(0x369)]:_0xfc99ca=_0x3d43cf['sheets-pivot.countName']+_0x392180;break;case _0x5ae8cc[_0x28a3bc(0x296)][_0x28a3bc(0x2a5)]:_0xfc99ca=_0x3d43cf[_0x28a3bc(0x386)]+_0x392180;break;case _0x5ae8cc[_0x28a3bc(0x296)][_0x28a3bc(0x20a)]:_0xfc99ca=_0x3d43cf[_0x28a3bc(0x411)]+_0x392180;break;case _0x5ae8cc['PivotSubtotalTypeEnum']['min']:_0xfc99ca=_0x3d43cf['sheets-pivot.minName']+_0x392180;break;case _0x5ae8cc[_0x28a3bc(0x296)][_0x28a3bc(0x40b)]:_0xfc99ca=_0x3d43cf[_0x28a3bc(0x25f)]+_0x392180;break;case _0x5ae8cc['PivotSubtotalTypeEnum']['stdDev']:_0xfc99ca=_0x3d43cf['sheets-pivot.stdDevName']+_0x392180;break;case _0x5ae8cc['PivotSubtotalTypeEnum'][_0x28a3bc(0x3d8)]:_0xfc99ca=_0x3d43cf[_0x28a3bc(0x433)]+_0x392180;break;case _0x5ae8cc[_0x28a3bc(0x296)][_0x28a3bc(0x209)]:_0xfc99ca=_0x3d43cf[_0x28a3bc(0x31b)]+_0x392180;break;case _0x5ae8cc[_0x28a3bc(0x296)][_0x28a3bc(0x2d0)]:_0xfc99ca=_0x3d43cf[_0x28a3bc(0x4bc)]+_0x392180;break;case _0x5ae8cc[_0x28a3bc(0x296)][_0x28a3bc(0x481)]:_0xfc99ca=_0x3d43cf[_0x28a3bc(0x457)]+_0x392180;break;default:_0xfc99ca=_0x392180;break;}return _0xfc99ca;}function _0x340a16(_0x28d7ad,_0x5bf5ad,_0x3b19c6,_0x1d460f,_0x29f6f3){const _0x1f8a9d=_0x1a5c4f;var _0x491275,_0x4ba87e,_0x379d5a,_0x1312e2,_0x2647ec;const _0x31562a=_0x1c6d43['cellToRange'](_0x28d7ad,_0x5bf5ad),{rangesInfo:_0x5e815f,areaInfo:_0x4a5612,headerMap:_0x4ba037}=_0x29f6f3;if(!_0x5e815f||!_0x4a5612||!_0x4ba037)return;const _0x55ac41=Object[_0x1f8a9d(0x1d2)](_0x5e815f)[_0x1f8a9d(0x35c)](_0x2bc618=>_0x5e815f[_0x2bc618][_0x1f8a9d(0x446)](_0x2901d2=>_0x1c6d43[_0x1f8a9d(0x43b)]['contains'](_0x2901d2,_0x31562a))),_0x243e2a=_0x4a5612;let _0x5aa2f8,_0x5d907c,_0x5557db;if(_0x55ac41===_0x1f8a9d(0x239))_0x5aa2f8=(_0x491275=_0x243e2a==null?void 0x0:_0x243e2a[_0x1f8a9d(0x253)])==null?void 0x0:_0x491275[_0x28d7ad],_0x5d907c=(_0x4ba87e=_0x4ba037==null?void 0x0:_0x4ba037[_0x1f8a9d(0x374)])==null?void 0x0:_0x4ba87e[_0x5bf5ad],_0x5557db=_0x5d907c==null?void 0x0:_0x5d907c[_0x1f8a9d(0x31e)];else{if(_0x55ac41===_0x1f8a9d(0x1b0))_0x5aa2f8=(_0x379d5a=_0x243e2a==null?void 0x0:_0x243e2a['colInfo'])==null?void 0x0:_0x379d5a[_0x5bf5ad],_0x5d907c=(_0x1312e2=_0x4ba037['colHeaderMap'])==null?void 0x0:_0x1312e2[_0x28d7ad+0x1+_0x5bf5ad-_0x5e815f[_0x1f8a9d(0x1b0)][0x0][_0x1f8a9d(0x2d6)]],_0x5557db=_0x5d907c==null?void 0x0:_0x5d907c[_0x1f8a9d(0x31e)];else{if(_0x55ac41==='cornerRanges')_0x5aa2f8=(_0x2647ec=_0x243e2a==null?void 0x0:_0x243e2a[_0x1f8a9d(0x304)])==null?void 0x0:_0x2647ec[_0x5bf5ad],_0x5557db=_0x5aa2f8==null?void 0x0:_0x5aa2f8['tableFieldId'];else{if(_0x55ac41===_0x1f8a9d(0x34b)){const _0x54148f=_0x3b19c6==null?void 0x0:_0x3b19c6['fi'];_0x54148f!==void 0x0&&(_0x5557db=_0x1d460f[_0x1f8a9d(0x279)](_0x54148f));}}}}return{'filterId':_0x5557db,'info':_0x5aa2f8,'data':_0x3b19c6,'headerInfo':_0x5d907c};}function _0x10f04b(_0x4806cb,_0x27c767,_0xf793c0){const _0x55a22b=_0x1a5c4f,_0xdb9862=_0x4806cb['dataFieldsCollection'],_0x1d48df=_0xdb9862[_0x55a22b(0x287)](),_0x10d293=new Set();_0x4806cb[_0x55a22b(0x4a7)](_0x3fc522=>{_0x10d293['add'](_0x3fc522['dataFieldId']);});const _0x339ef0=_0x1d48df[_0x55a22b(0x381)](_0x5c15a7=>{const _0x39f6ff=_0x55a22b,_0x35ee1f=_0xdb9862['getFieldById'](_0x5c15a7);return{'checked':_0x10d293['has'](_0x5c15a7),'dataFieldId':_0x35ee1f['id'],'id':_0x35ee1f['id'],'name':_0xdb9862[_0x39f6ff(0x1d5)](_0x35ee1f['id']),'type':_0x35ee1f[_0x39f6ff(0x3c7)](),'pivotTableId':_0x27c767};}),_0x265847=[];_0x4806cb['iterateFieldByArea'](_0x5ae8cc[_0x55a22b(0x1d6)][_0x55a22b(0x2f7)],_0x49c3da=>{const _0x42f991=_0x55a22b;_0x265847[_0x42f991(0x35f)]({'dataFieldId':_0x49c3da[_0x42f991(0x452)],'tableFieldId':_0x49c3da[_0x42f991(0x1fc)](),'displayName':_0x49c3da[_0x42f991(0x1d5)]()});});const _0x2524ce=[];_0x4806cb[_0x55a22b(0x275)](_0x5ae8cc[_0x55a22b(0x1d6)]['Column'],_0x46243b=>{const _0xddddc8=_0x55a22b;_0x2524ce[_0xddddc8(0x35f)]({'dataFieldId':_0x46243b['dataFieldId'],'tableFieldId':_0x46243b[_0xddddc8(0x1fc)](),'displayName':_0x46243b[_0xddddc8(0x1d5)]()});});const _0x2cfd67=[];if(_0x4806cb[_0x55a22b(0x275)](_0x5ae8cc[_0x55a22b(0x1d6)][_0x55a22b(0x1c5)],_0x30b400=>{const _0x5ef5db=_0x55a22b;_0x2cfd67[_0x5ef5db(0x35f)]({'dataFieldId':_0x30b400[_0x5ef5db(0x452)],'tableFieldId':_0x30b400[_0x5ef5db(0x1fc)](),'displayName':_0x30b400[_0x5ef5db(0x1d5)](),'format':_0x30b400[_0x5ef5db(0x3a7)](),'subTotalType':_0x30b400['getSubtotal']()});}),_0x2cfd67[_0x55a22b(0x1fa)]>0x1){const _0x7e8fe0=_0x4806cb[_0x55a22b(0x322)]();(_0x4806cb[_0x55a22b(0x456)]()?_0x2524ce:_0x265847)[_0x55a22b(0x288)](_0x7e8fe0,0x0,{'dataFieldId':'','tableFieldId':_0x55a22b(0x1d9),'displayName':_0x55a22b(0x4a3)});}const _0x3d847a=[];_0x4806cb[_0x55a22b(0x275)](_0x5ae8cc[_0x55a22b(0x1d6)][_0x55a22b(0x1ba)],_0x5d3b00=>{const _0xef2287=_0x55a22b;_0x3d847a['push']({'dataFieldId':_0x5d3b00[_0xef2287(0x452)],'tableFieldId':_0x5d3b00[_0xef2287(0x1fc)](),'displayName':_0x5d3b00[_0xef2287(0x1d5)]()});});const _0x1433d9=_0xf793c0[_0x55a22b(0x430)];return{'sourceList':_0x339ef0,'sourceRange':_0x1433d9,'rowFields':_0x265847,'columnFields':_0x2524ce,'valueFields':_0x2cfd67,'filterFields':_0x3d847a,'positionInfo':_0xf793c0[_0x55a22b(0x370)]};}function _0x310859(_0x3c2587,_0xf4fd9e,_0x408a5b='',_0x2cc035={}){const _0x197828=_0x1a5c4f,_0x38bfe8=_0x3c2587[_0x197828(0x420)](_0x1c6d43[_0x197828(0x23d)]);for(const _0x353c57 in _0xf4fd9e)if(Object[_0x197828(0x43d)][_0x197828(0x356)][_0x197828(0x38a)](_0xf4fd9e,_0x353c57)){const _0x30e2dc=_0x408a5b?_0x408a5b+'.'+_0x353c57:_0x353c57;typeof _0xf4fd9e[_0x353c57]==_0x197828(0x2f1)&&_0xf4fd9e[_0x353c57]!==null&&!Array[_0x197828(0x46e)](_0xf4fd9e[_0x353c57])?_0x310859(_0x3c2587,_0xf4fd9e[_0x353c57],_0x30e2dc,_0x2cc035):_0x2cc035[_0x30e2dc]=_0x38bfe8['t'](_0x30e2dc);}return _0x2cc035;}const _0x3ecb18=_0x433622=>{const _0x40fddb=_0x1a5c4f;if(!_0x433622)return[];const {rowRanges:_0x321e94,colRanges:_0x2a1d54,cornerRanges:_0x5ba587,dataRanges:_0x570f9c,pageRanges:_0x204a5d}=_0x433622,_0x256ec0=[..._0x2a1d54,..._0x321e94,..._0x570f9c,..._0x5ba587][_0x40fddb(0x1a3)](_0x2bff8b=>_0x2bff8b['startRow']>=0x0&&_0x2bff8b['startColumn']>=0x0&&_0x2bff8b[_0x40fddb(0x2ca)]>=0x0&&_0x2bff8b['endColumn']>=0x0);let _0x1cb1a1=Number['MAX_SAFE_INTEGER'],_0x5b322a=Number[_0x40fddb(0x49a)],_0x30b96b=Number['MAX_SAFE_INTEGER'],_0x296dbc=Number[_0x40fddb(0x49a)];for(let _0x40495b=0x0;_0x40495b<_0x256ec0['length'];_0x40495b++)_0x1cb1a1=Math[_0x40fddb(0x27b)](_0x1cb1a1,_0x256ec0[_0x40495b]['startRow']),_0x5b322a=Math[_0x40fddb(0x20a)](_0x5b322a,_0x256ec0[_0x40495b][_0x40fddb(0x2ca)]),_0x30b96b=Math['min'](_0x30b96b,_0x256ec0[_0x40495b][_0x40fddb(0x2d6)]),_0x296dbc=Math[_0x40fddb(0x20a)](_0x296dbc,_0x256ec0[_0x40495b][_0x40fddb(0x41c)]);return[..._0x204a5d,{'startRow':_0x1cb1a1,'endRow':_0x5b322a,'startColumn':_0x30b96b,'endColumn':_0x296dbc}];};function _0x460df7(_0x48118c,_0x586277){const _0x2e0b09=_0x1a5c4f,_0x9110dc=_0x586277['params']['drillDown'],{pivotTableId:_0x4c6e03,unitId:_0x315761,subUnitId:_0x5afdba}=_0x586277;if(!_0x9110dc)return;const _0x5585c2=_0x48118c[_0x2e0b09(0x420)](_0x10e2e1['SheetsPivotDataSourceModel']),_0x327e92=_0x5585c2['getPivotTableInstance'](_0x4c6e03),_0x4b4cff=_0x5585c2[_0x2e0b09(0x493)](_0x315761,_0x5afdba,_0x4c6e03);if(!_0x327e92||!_0x4b4cff)return;const _0x389052=_0x327e92[_0x2e0b09(0x29d)](_0x9110dc[_0x2e0b09(0x3c2)]);if(!(_0x389052!=null&&_0x389052[_0x2e0b09(0x1fa)]))return;const _0x2421f6=_0x4b4cff['sourceRangeInfo'],{unitId:_0x1238ef,subUnitId:_0x379a46,range:_0x4908a1}=_0x2421f6;let _0x3d9749=0x0;const _0x4d4ed7=_0x327e92[_0x2e0b09(0x32b)][_0x2e0b09(0x287)]()[_0x2e0b09(0x234)]((_0x58582f,_0x59e3b6)=>{const _0x4bc65f=_0x2e0b09;var _0x167056;const _0xe36810=(_0x167056=_0x327e92[_0x4bc65f(0x1ab)](_0x59e3b6))==null?void 0x0:_0x167056[_0x4bc65f(0x461)]();return _0xe36810&&(_0x58582f[String(_0x3d9749)]=_0xe36810),_0x3d9749++,_0x58582f;},{});return{'indexes':_0x389052,'range':_0x4908a1,'sourceUnitId':_0x1238ef,'sourceSubUnitId':_0x379a46,'formatMap':_0x4d4ed7};}function _0x43bc17(_0x372f3d,_0x262143){const _0x2b65cf=_0x1a5c4f;if(!_0x372f3d||!_0x262143)return!0x0;const _0x26ea69=_0x1778fa[_0x2b65cf(0x2da)](_0xa64d9b,_0x5871af),_0x2e844a=new Function(_0x2b65cf(0x29c)+_0x26ea69)()(_0x372f3d,_0x262143)[_0x2b65cf(0x419)],_0x5c66bd=_0x1778fa['isFeatureAuthorizedWithinTime'](_0x2e844a,'sf',_0x3243bb);return!((_0x2e844a==null?void 0x0:_0x2e844a['rt'])===_0x1778fa[_0x2b65cf(0x4b2)][_0x2b65cf(0x349)]&&!_0x5c66bd);}function _0xbd7e33(_0x10b569,_0x206b38,_0xa23a12){const _0x3c673b=_0x1a5c4f,_0x5d1a9c={'count':_0x10b569,'timeValid':!0x1};if(!_0x206b38||!_0xa23a12)return _0x5d1a9c;const _0x5a52fe=_0x1778fa[_0x3c673b(0x2da)](_0xa64d9b,_0x5871af),_0x5cabf9=new Function(_0x3c673b(0x29c)+_0x5a52fe)()(_0x206b38,_0xa23a12);if(_0x5cabf9!=null&&_0x5cabf9['valid']){const _0x3ec2ff=_0x5cabf9[_0x3c673b(0x419)],_0x281d65=_0x1778fa[_0x3c673b(0x263)](_0x3ec2ff,'sf',_0x3243bb);return{'count':_0x1778fa[_0x3c673b(0x45a)](_0x3ec2ff,_0x281d65,'ptn',_0x10b569,_0x10b569,0x0),'timeValid':_0x281d65};}return _0x5d1a9c;}function _0x902884(_0x68276,_0x50ea19,_0x48653a,_0x38645e){const _0x58a140=_0x1a5c4f,_0x119ad2={'subUnitId':_0x48653a,'unitId':_0x50ea19,'cellValue':_0x887798[_0x58a140(0x1d8)](_0x38645e)},_0x5b7688=_0x887798[_0x58a140(0x1c7)](_0x68276,_0x119ad2);let _0x1ff540=!0x1;return new _0x1c6d43[(_0x58a140(0x4b5))](_0x5b7688['cellValue'])[_0x58a140(0x39a)]((_0x5cf557,_0x288fb9,_0x401f71)=>{const _0x7457f8=_0x58a140;if(!_0x1ff540&&_0x401f71&&(_0x401f71[_0x7457f8(0x365)]||_0x401f71['f']||_0x401f71['p']||_0x401f71['s']||_0x401f71['si']||_0x401f71['t']||_0x401f71['v']))return _0x1ff540=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x887798[_0x58a140(0x3dc)]['id'],'params':_0x5b7688},'setRangeValueRedoMutation':{'id':_0x887798[_0x58a140(0x3dc)]['id'],'params':_0x119ad2},'shouldClear':_0x1ff540};}function _0x5dcd93(_0x5d649b){const {row:_0x18711e,col:_0x44109f}=_0x5d649b,_0x240080={'startRow':_0x18711e,'endRow':_0x18711e,'startColumn':_0x44109f,'endColumn':_0x44109f},_0xe8a72c={'startRow':_0x18711e+0x2,'endRow':_0x18711e+0xe,'startColumn':_0x44109f,'endColumn':_0x44109f+0x6};return[_0x240080,_0xe8a72c];}function _0x1b9c0d(_0x65d9a6,_0x440163,_0x561c2c){const _0xdbcf32=_0x1a5c4f,{cornerView:_0x18c39f,rowView:_0x26f07f,colView:_0x3aa96c,pageView:_0x55771c}=_0x65d9a6,{row:_0x46cbe6,col:_0x49ecf9}=_0x440163;if(_0x561c2c)return{'rowCount':_0x555924+_0x46cbe6,'colCount':_0x3305c6+_0x49ecf9};const _0x10aa14=_0x55771c['lastRow']>-0x1?_0x55771c[_0xdbcf32(0x3af)]+0x1:0x0,_0x3ca194=_0x55771c[_0xdbcf32(0x3a2)]>-0x1?_0x55771c[_0xdbcf32(0x3a2)]:0x0,_0x25b727=_0x46cbe6+_0x10aa14+(_0x10aa14?0x1:0x0)+_0x18c39f[_0xdbcf32(0x300)]+_0x26f07f[_0xdbcf32(0x300)],_0x3c534c=_0x49ecf9+_0x3ca194,_0x1c5305=_0x49ecf9+_0x18c39f['colCount']+_0x3aa96c[_0xdbcf32(0x1b8)],_0xcdfaf7=Math[_0xdbcf32(0x20a)](_0x3c534c,_0x1c5305);return{'rowCount':_0x25b727,'colCount':_0xcdfaf7};}function _0x9427db(_0x4080c1,_0x2e9df9,_0x36a574,_0x68cbca){const _0x1d3eae=_0x1a5c4f,{row:_0x3ffe33,col:_0x7578e3,unitId:_0x5ed1e0,subUnitId:_0x2ab923}=_0x36a574,_0x5022c5=_0x1b9c0d(_0x2e9df9,{'row':_0x3ffe33,'col':_0x7578e3},_0x68cbca),_0x3e5ddd=_0x4080c1[_0x1d3eae(0x420)](_0x1c6d43[_0x1d3eae(0x4a9)]),_0x3d1863=_0x887798[_0x1d3eae(0x41d)](_0x3e5ddd,{'unitId':_0x5ed1e0,'subUnitId':_0x2ab923}),_0x26ccc9=[],_0x2004a9=[];if(!_0x3d1863)return{'undos':_0x2004a9,'redos':_0x26ccc9};const {worksheet:_0x118d74}=_0x3d1863,_0x5aa77f=_0x118d74[_0x1d3eae(0x2bf)](),_0xbb66f5=_0x118d74[_0x1d3eae(0x1b9)]();return _0x5aa77f<_0x5022c5['rowCount']&&(_0x26ccc9[_0x1d3eae(0x35f)]({'id':_0x887798[_0x1d3eae(0x42c)]['id'],'params':{'unitId':_0x5ed1e0,'subUnitId':_0x2ab923,'range':{'startRow':_0x5aa77f,'endRow':_0x5022c5['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xbb66f5-0x1}}}),_0x2004a9[_0x1d3eae(0x35f)]({'id':_0x887798[_0x1d3eae(0x355)]['id'],'params':{'unitId':_0x5ed1e0,'subUnitId':_0x2ab923,'range':{'startRow':_0x5aa77f,'endRow':_0x5022c5[_0x1d3eae(0x300)]-0x1,'startColumn':0x0,'endColumn':_0xbb66f5-0x1}}})),_0xbb66f5<_0x5022c5[_0x1d3eae(0x1b8)]&&(_0x26ccc9[_0x1d3eae(0x35f)]({'id':_0x887798['InsertColMutation']['id'],'params':{'unitId':_0x5ed1e0,'subUnitId':_0x2ab923,'range':{'startRow':0x0,'endRow':_0x5aa77f-0x1,'startColumn':_0xbb66f5,'endColumn':_0x5022c5[_0x1d3eae(0x1b8)]-0x1}}}),_0x2004a9[_0x1d3eae(0x35f)]({'id':_0x887798['RemoveColMutation']['id'],'params':{'unitId':_0x5ed1e0,'subUnitId':_0x2ab923,'range':{'startRow':0x0,'endRow':_0x5aa77f-0x1,'startColumn':_0xbb66f5,'endColumn':_0x5022c5['colCount']-0x1}}})),{'undos':_0x2004a9,'redos':_0x26ccc9};}function _0x288255(_0x4c6bb8){const _0x253ebe=_0x1a5c4f;let _0x34a759=0x0;for(let _0x1ffe91=0x0;_0x1ffe91<_0x4c6bb8[_0x253ebe(0x1fa)];_0x1ffe91++){const _0x4dbe16=_0x4c6bb8['charCodeAt'](_0x1ffe91);_0x4dbe16>=0x4e00&&_0x4dbe16<=0x9fff||_0x4dbe16>=0x3000&&_0x4dbe16<=0x303f||_0x4dbe16>=0xff00&&_0x4dbe16<=0xffef?_0x34a759+=0x2:_0x34a759+=0x1;}return _0x34a759;}function _0xe0fa7c(_0x542e16,_0x3d04a7,_0x18c1c1,_0x1d57f3){const _0xa3824f=_0x1a5c4f;var _0x56f89f,_0x2f49a9,_0x4ceb2b,_0x19eb5b;const {rowCount:_0x4e907b,colCount:_0x4bebfa,headerMap:_0xde6d11}=_0x542e16,_0xf1f859=0x64,_0x599310=Math[_0xa3824f(0x27b)](_0x4e907b,_0xf1f859),_0x1d15f6=Math[_0xa3824f(0x27b)](_0x4bebfa,_0xf1f859);let _0x2cb2d6='',_0x2d1665=0x0;for(let _0x8715a=0x0;_0x8715a<_0x599310;_0x8715a++)for(let _0x240fc1=0x0;_0x240fc1<_0x1d15f6;_0x240fc1++){const _0x7682d4={...(_0x2f49a9=(_0x56f89f=_0x542e16[_0xa3824f(0x1b7)])==null?void 0x0:_0x56f89f[_0x8715a])==null?void 0x0:_0x2f49a9[_0x240fc1]},_0x40fb13=(_0x4ceb2b=_0xde6d11[_0x8715a])==null?void 0x0:_0x4ceb2b[_0xa3824f(0x31e)],_0x4bfabb=_0x1d57f3[_0x40fb13];let _0x51b8c1=_0x542e16[_0xa3824f(0x2dd)](_0x8715a,_0x240fc1);if(_0x7682d4){const _0x5df11a=_0x18c1c1?_0x240fc1===0x0&&((_0x19eb5b=_0x542e16[_0xa3824f(0x3b2)](_0x240fc1+0x1))==null?void 0x0:_0x19eb5b['isValue']):!0x1;_0x51b8c1=_0x53fbb7(_0x7682d4,_0x5df11a,_0x4bfabb,_0x3d04a7);}if(_0x51b8c1!==void 0x0){const _0x26cdcb=_0x288255(String(_0x51b8c1));_0x2d1665<_0x26cdcb&&(_0x2cb2d6=String(_0x51b8c1),_0x2d1665=_0x26cdcb);}}return _0x2cb2d6;}function _0x23eba7(_0x27ef8e){const _0x53712b=_0x1a5c4f,{rowCount:_0x42a474,colCount:_0x538713}=_0x27ef8e;let _0x318a08='',_0x4a7532=0x0;for(let _0x4a6f4a=_0x42a474-0x1;_0x4a6f4a>0x0&&_0x4a6f4a>_0x42a474-0x3;_0x4a6f4a--)for(let _0x35dc3a=0x0;_0x35dc3a<_0x538713;_0x35dc3a++){const _0x3a5055=_0x27ef8e[_0x53712b(0x2dd)](_0x4a6f4a,_0x35dc3a);if(_0x3a5055!==void 0x0){const _0x144afb=String(_0x3a5055)[_0x53712b(0x1fa)];_0x4a7532<_0x144afb&&(_0x318a08=String(_0x3a5055),_0x4a7532=_0x144afb);}}return _0x318a08;}function _0xf703ac(_0x47134f){const _0x52275b=_0x1a5c4f,{rowCount:_0x1c0d5a,colCount:_0x51c8e1}=_0x47134f;let _0x1ba289='',_0x4eb935=0x0;for(let _0x429232=0x0;_0x429232<_0x1c0d5a;_0x429232++)for(let _0x14827c=0x0;_0x14827c<_0x51c8e1;_0x14827c++){const _0xf3d9b4=_0x47134f[_0x52275b(0x2dd)](_0x429232,_0x14827c);if(_0xf3d9b4!==void 0x0){const _0x576d22=String(_0xf3d9b4)[_0x52275b(0x1fa)];_0x4eb935<_0x576d22&&(_0x1ba289=String(_0xf3d9b4),_0x4eb935=_0x576d22);}}return _0x1ba289;}function _0x3fbc7f(_0x39db2f,_0x3cdad0){const _0x53cb02=_0x1a5c4f,{rowFields:_0x352b7c,columnFields:_0x42af5a,valueFields:_0x4cade1,filterFields:_0x179405,dimension:_0x319aa7,measure:_0x2d58c7}=_0x3cdad0;for(const _0x66d74d of _0x352b7c){const _0x5268b0=_0x319aa7[_0x66d74d];_0x5268b0&&_0x39db2f[_0x53cb02(0x1ab)](_0x5268b0[_0x53cb02(0x452)])&&(_0x39db2f['addFieldWithSourceId'](_0x5268b0['dataFieldId'],_0x5ae8cc['PivotTableFiledAreaEnum'][_0x53cb02(0x2f7)],void 0x0,_0x66d74d),_0x5268b0['displayName']&&_0x39db2f[_0x53cb02(0x267)](_0x5268b0['id'],_0x5268b0['displayName']),_0x5268b0['sortInfo']&&_0x39db2f['setSortInfo'](_0x5268b0['id'],_0x5268b0[_0x53cb02(0x26b)]),_0x5268b0[_0x53cb02(0x202)]&&_0x39db2f[_0x53cb02(0x427)](_0x5268b0['id'],_0x5268b0[_0x53cb02(0x202)]));}for(const _0x27f34a of _0x42af5a){const _0x8e22e9=_0x319aa7[_0x27f34a];_0x8e22e9&&_0x39db2f[_0x53cb02(0x1ab)](_0x8e22e9[_0x53cb02(0x452)])&&(_0x39db2f[_0x53cb02(0x1a5)](_0x8e22e9['dataFieldId'],_0x5ae8cc[_0x53cb02(0x1d6)]['Column'],void 0x0,_0x27f34a),_0x8e22e9[_0x53cb02(0x26b)]&&_0x39db2f[_0x53cb02(0x247)](_0x8e22e9['id'],_0x8e22e9[_0x53cb02(0x26b)]),_0x8e22e9['filterInfo']&&_0x39db2f['setLabelFilterInfo'](_0x8e22e9['id'],_0x8e22e9['filterInfo']),_0x8e22e9[_0x53cb02(0x26a)]&&_0x39db2f['renameField'](_0x8e22e9['id'],_0x8e22e9['displayName']));}for(const _0x941905 of _0x179405){const _0xdb824a=_0x319aa7[_0x941905];_0xdb824a&&_0x39db2f[_0x53cb02(0x1ab)](_0xdb824a['dataFieldId'])&&(_0x39db2f[_0x53cb02(0x1a5)](_0xdb824a[_0x53cb02(0x452)],_0x5ae8cc[_0x53cb02(0x1d6)]['Filter'],void 0x0,_0x941905),_0xdb824a[_0x53cb02(0x26b)]&&_0x39db2f[_0x53cb02(0x247)](_0xdb824a['id'],_0xdb824a[_0x53cb02(0x26b)]),_0xdb824a[_0x53cb02(0x202)]&&_0x39db2f[_0x53cb02(0x427)](_0xdb824a['id'],_0xdb824a['filterInfo']),_0xdb824a[_0x53cb02(0x26a)]&&_0x39db2f[_0x53cb02(0x267)](_0xdb824a['id'],_0xdb824a['displayName']));}for(const _0x48738f of _0x4cade1){const _0x2de418=_0x2d58c7[_0x48738f];_0x2de418&&_0x39db2f[_0x53cb02(0x1ab)](_0x2de418[_0x53cb02(0x452)])&&(_0x39db2f[_0x53cb02(0x1a5)](_0x2de418[_0x53cb02(0x452)],_0x5ae8cc[_0x53cb02(0x1d6)]['Value'],void 0x0,_0x48738f),_0x2de418[_0x53cb02(0x41b)]!==void 0x0&&_0x39db2f[_0x53cb02(0x2e5)](_0x48738f,_0x2de418[_0x53cb02(0x41b)]),_0x2de418[_0x53cb02(0x1c2)]&&_0x39db2f[_0x53cb02(0x1a0)](_0x48738f,_0x2de418[_0x53cb02(0x1c2)]),_0x2de418['displayName']&&_0x39db2f[_0x53cb02(0x267)](_0x2de418['id'],_0x2de418['displayName']));}const _0x5ecc34=_0x3cdad0[_0x53cb02(0x2b9)];for(const {fieldId:_0x590131,filterInfo:_0x31a0ee}of _0x5ecc34)_0x39db2f['setValueFilterInfo'](_0x590131,_0x31a0ee);}function _0x509e8d(_0x4912e0,_0xd3d8b2){const _0x196fc4=_0x1a5c4f,_0x47e171=[];_0xd3d8b2===_0x5ae8cc[_0x196fc4(0x1d6)][_0x196fc4(0x2f7)]&&_0x4912e0[_0x196fc4(0x275)](_0x5ae8cc[_0x196fc4(0x1d6)][_0x196fc4(0x2f7)],_0x399685=>{const _0x390bd2=_0x196fc4;_0x47e171['push'](_0x399685[_0x390bd2(0x1fc)]());}),_0xd3d8b2===_0x5ae8cc[_0x196fc4(0x1d6)][_0x196fc4(0x1e3)]&&_0x4912e0[_0x196fc4(0x275)](_0x5ae8cc['PivotTableFiledAreaEnum']['Column'],_0x103cac=>{const _0x22c330=_0x196fc4;_0x47e171[_0x22c330(0x35f)](_0x103cac[_0x22c330(0x1fc)]());}),_0xd3d8b2===_0x5ae8cc[_0x196fc4(0x1d6)][_0x196fc4(0x1ba)]&&_0x4912e0['iterateFieldByArea'](_0x5ae8cc[_0x196fc4(0x1d6)][_0x196fc4(0x1ba)],_0x39f04e=>{const _0x2a2295=_0x196fc4;_0x47e171[_0x2a2295(0x35f)](_0x39f04e[_0x2a2295(0x1fc)]());}),_0xd3d8b2===_0x5ae8cc['PivotTableFiledAreaEnum'][_0x196fc4(0x1c5)]&&_0x4912e0[_0x196fc4(0x275)](_0x5ae8cc['PivotTableFiledAreaEnum'][_0x196fc4(0x1c5)],_0x290d5b=>{const _0x24458b=_0x196fc4;_0x47e171[_0x24458b(0x35f)](_0x290d5b[_0x24458b(0x1fc)]());}),_0xd3d8b2===void 0x0&&_0x4912e0['iterateField'](_0x6d1c46=>{const _0x6f6aff=_0x196fc4;_0x47e171['push'](_0x6d1c46[_0x6f6aff(0x1fc)]());});const _0x46d4fc=_0x47e171[_0x196fc4(0x1fa)];for(let _0x435b0b=_0x46d4fc-0x1;_0x435b0b>=0x0;_0x435b0b--)_0x4912e0[_0x196fc4(0x383)](_0x47e171[_0x435b0b]);const _0x4569dd=_0x4912e0[_0x196fc4(0x454)]();for(const _0x1d4c01 in _0x4569dd)_0x4912e0[_0x196fc4(0x1f7)](_0x1d4c01);}function _0x124f31(_0x588ac2,_0x56bbeb){const _0x21b815=_0x1a5c4f,_0x8ad52c=new Date(_0x5ae8cc[_0x21b815(0x31d)](_0x56bbeb)),_0x17725d=new Date(_0x5ae8cc[_0x21b815(0x31d)](_0x588ac2)),_0x168cb4=_0x8ad52c[_0x21b815(0x4be)](),_0x9991fd=_0x17725d[_0x21b815(0x4be)](),_0x1693bc=_0x8ad52c[_0x21b815(0x402)](),_0x45184f=_0x17725d[_0x21b815(0x402)](),_0x304e22=_0x8ad52c[_0x21b815(0x1fd)](),_0x3ddfe=_0x17725d[_0x21b815(0x1fd)](),_0x239817=_0x168cb4===_0x9991fd,_0x4b2493=_0x239817&&_0x1693bc===_0x45184f;return _0x239817&&_0x4b2493&&!(_0x4b2493&&_0x304e22===_0x3ddfe)?_0x5ae8cc[_0x21b815(0x2a8)][_0x21b815(0x46b)]:_0x239817&&!_0x4b2493?_0x5ae8cc['PivotDateGroupFieldDateTypeEnum'][_0x21b815(0x38d)]:_0x5ae8cc[_0x21b815(0x2a8)][_0x21b815(0x28e)];}function _0xc3c7f1(_0x5a0a8e,_0x77687f){const _0x42bd17=_0x1a5c4f,_0x315a2b=_0x5a0a8e['get'](_0x10e2e1[_0x42bd17(0x44f)])[_0x42bd17(0x409)]();let _0x2363b7='';switch(_0x77687f){case _0x5ae8cc[_0x42bd17(0x2a8)]['YearMonthDate']:_0x2363b7=_0x315a2b[_0x42bd17(0x2db)];break;case _0x5ae8cc[_0x42bd17(0x2a8)][_0x42bd17(0x38d)]:_0x2363b7=_0x315a2b[_0x42bd17(0x1a8)];break;case _0x5ae8cc[_0x42bd17(0x2a8)][_0x42bd17(0x28e)]:_0x2363b7=_0x315a2b[_0x42bd17(0x4c0)];break;case _0x5ae8cc[_0x42bd17(0x2a8)][_0x42bd17(0x2b6)]:_0x2363b7=_0x315a2b[_0x42bd17(0x380)];break;case _0x5ae8cc['PivotDateGroupFieldDateTypeEnum'][_0x42bd17(0x3f5)]:_0x2363b7=_0x315a2b[_0x42bd17(0x422)];break;case _0x5ae8cc['PivotDateGroupFieldDateTypeEnum'][_0x42bd17(0x2b7)]:_0x2363b7=_0x315a2b[_0x42bd17(0x260)];break;case _0x5ae8cc[_0x42bd17(0x2a8)]['HourMinute']:_0x2363b7=_0x315a2b['sheets-pivot.dateGroup.hourMinute'];break;case _0x5ae8cc[_0x42bd17(0x2a8)][_0x42bd17(0x400)]:_0x2363b7=_0x315a2b[_0x42bd17(0x467)];break;case _0x5ae8cc[_0x42bd17(0x2a8)][_0x42bd17(0x38b)]:_0x2363b7=_0x315a2b[_0x42bd17(0x252)];break;case _0x5ae8cc[_0x42bd17(0x2a8)][_0x42bd17(0x424)]:_0x2363b7=_0x315a2b[_0x42bd17(0x2c0)];break;case _0x5ae8cc[_0x42bd17(0x2a8)][_0x42bd17(0x201)]:_0x2363b7=_0x315a2b['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x2363b7='';break;}return _0x2363b7;}const _0x54f87d=_0x1a5c4f(0x313),_0x1a7afb={};var _0x3abeca=Object['getOwnPropertyDescriptor'],_0x527323=(_0x1bfc0d,_0x35cbcf,_0x47cea8,_0x5755ac)=>{const _0x543d62=_0x1a5c4f;for(var _0x2f5125=_0x5755ac>0x1?void 0x0:_0x5755ac?_0x3abeca(_0x35cbcf,_0x47cea8):_0x35cbcf,_0x182568=_0x1bfc0d[_0x543d62(0x1fa)]-0x1,_0x31ad58;_0x182568>=0x0;_0x182568--)(_0x31ad58=_0x1bfc0d[_0x182568])&&(_0x2f5125=_0x31ad58(_0x2f5125)||_0x2f5125);return _0x2f5125;},_0x5ec844=(_0x42170b,_0x54ba9c)=>(_0x1478a7,_0x410aee)=>_0x54ba9c(_0x1478a7,_0x410aee,_0x42170b);_0x10e2e1[_0x1a5c4f(0x212)]=class extends _0x1c6d43['Disposable']{constructor(_0x328937,_0x466af0,_0x3465bc,_0x4ff452,_0x357651){const _0x2e0282=_0x1a5c4f;super(),_0x47fe5b(this,_0x2e0282(0x376),new Map()),_0x47fe5b(this,_0x2e0282(0x3e3),new Map()),_0x47fe5b(this,_0x2e0282(0x330),new Map()),_0x47fe5b(this,_0x2e0282(0x1f0),new Map()),_0x47fe5b(this,_0x2e0282(0x406),new _0xbd119f[(_0x2e0282(0x4c1))]()),_0x47fe5b(this,_0x2e0282(0x298),new _0xbd119f[(_0x2e0282(0x4c1))]()),_0x47fe5b(this,_0x2e0282(0x20b),this[_0x2e0282(0x298)]['asObservable']()),_0x47fe5b(this,_0x2e0282(0x3b1),new _0xbd119f[(_0x2e0282(0x4c1))]()),_0x47fe5b(this,_0x2e0282(0x294),this[_0x2e0282(0x3b1)]['asObservable']()),_0x47fe5b(this,_0x2e0282(0x323),{}),_0x47fe5b(this,_0x2e0282(0x35b),this[_0x2e0282(0x406)]['asObservable']()),(this[_0x2e0282(0x220)]=_0x328937,this[_0x2e0282(0x22a)]=_0x466af0,this[_0x2e0282(0x3bb)]=_0x3465bc,this[_0x2e0282(0x489)]=_0x4ff452,this[_0x2e0282(0x1f2)]=_0x357651,this[_0x2e0282(0x2be)](),this[_0x2e0282(0x230)]());const _0x23b75c=this[_0x2e0282(0x1f2)][_0x2e0282(0x26c)](_0x54f87d);(_0x23b75c==null?void 0x0:_0x23b75c[_0x2e0282(0x2f3)])===!0x0&&this[_0x2e0282(0x1bc)]();}[_0x1a5c4f(0x230)](){const _0x4fb368=_0x1a5c4f;this['disposeWithMe'](this[_0x4fb368(0x3bb)]['getTypeOfUnitDisposed$'](_0x1c6d43[_0x4fb368(0x3dd)][_0x4fb368(0x2ad)])[_0x4fb368(0x1f9)](_0x5470ca=>{const _0x50ab86=_0x4fb368;this[_0x50ab86(0x360)](_0x5470ca[_0x50ab86(0x283)]());}));}['setPivotInitCompleted'](){const _0x324a9=_0x1a5c4f;this[_0x324a9(0x298)][_0x324a9(0x207)](!0x0);}[_0x1a5c4f(0x2be)](){const _0x24436c=_0x1a5c4f,_0x3a98ea=_0x310859(this[_0x24436c(0x220)],_0x10ab06,'',{});this['_textInfo']=_0x3a98ea,this[_0x24436c(0x22a)]['executeCommand'](_0x113f86['id'],{'textInfo':_0x3a98ea},{'onlyLocal':!0x0});}[_0x1a5c4f(0x409)](){const _0x3e57c7=_0x1a5c4f;return this[_0x3e57c7(0x323)];}[_0x1a5c4f(0x1ac)](_0xa8b8bb,_0x1fccda,_0x1eb331,_0x430b14,_0x64884e){const _0x33d7c6=_0x1a5c4f;this['updatePivotTableMatrixInfo'](_0xa8b8bb,_0x1fccda,_0x1eb331,_0x430b14),this[_0x33d7c6(0x49d)](_0xa8b8bb,_0x1fccda,_0x1eb331,_0x64884e);}['getPivotTableConfig'](_0x195228,_0x2d1af9,_0x18c828){const _0x1d5e18=_0x1a5c4f;var _0x54646c;const _0x23d741=(_0x54646c=this[_0x1d5e18(0x376)][_0x1d5e18(0x420)](_0x195228))==null?void 0x0:_0x54646c[_0x1d5e18(0x420)](_0x2d1af9);if(_0x23d741)return _0x23d741['get'](_0x18c828);}[_0x1a5c4f(0x2cf)](_0x4a542c,_0x13e90e){const _0x5a042a=_0x1a5c4f,_0x4c7f68=this['_model'][_0x5a042a(0x420)](_0x4a542c);if(_0x4c7f68){for(const [_0x3d2dad,_0xe929f4]of _0x4c7f68[_0x5a042a(0x346)]())for(const [_0x3380d3,_0x1631ea]of _0xe929f4[_0x5a042a(0x346)]())if(_0x3380d3===_0x13e90e)return _0x1631ea[_0x5a042a(0x370)];}}[_0x1a5c4f(0x265)](_0x395a67,_0x37f923,_0xfe79b7){const _0x2d3bb2=_0x1a5c4f,_0x3cfb0a=this['getPivotTableConfig'](_0x395a67,_0x37f923,_0xfe79b7);return _0x3cfb0a==null?void 0x0:_0x3cfb0a[_0x2d3bb2(0x370)];}[_0x1a5c4f(0x29a)](_0x5d1b50,_0x2356fc){const _0x1855aa=_0x1a5c4f;var _0x52b9dc;return(_0x52b9dc=this['_model'][_0x1855aa(0x420)](_0x5d1b50))==null?void 0x0:_0x52b9dc[_0x1855aa(0x420)](_0x2356fc);}[_0x1a5c4f(0x347)](_0x3821b8,_0x22da79,_0x3a279f,_0x249464){const _0x452e59=_0x1a5c4f,_0x11b5f5=this[_0x452e59(0x1cc)](_0x3821b8,_0x22da79);_0x249464?_0x11b5f5[_0x452e59(0x1e0)](_0x3a279f,_0x249464):_0x11b5f5[_0x452e59(0x34c)](_0x3a279f),this['_pivotConfigChange$']['next']({'unitId':_0x3821b8,'subUnitId':_0x22da79,'pivotTableId':_0x3a279f,'pivotTableConfig':_0x249464});}[_0x1a5c4f(0x27c)](_0x571061,_0x2df280){const _0x2bb448=_0x1a5c4f;var _0x5a689b;return(_0x5a689b=this[_0x2bb448(0x3e3)][_0x2bb448(0x420)](_0x571061))==null?void 0x0:_0x5a689b[_0x2bb448(0x45d)][_0x2df280];}[_0x1a5c4f(0x311)](_0x4d7f36,_0x5e5390){const _0x331bb7=_0x1a5c4f;this[_0x331bb7(0x3e3)]['set'](_0x4d7f36,_0x5e5390),this[_0x331bb7(0x406)][_0x331bb7(0x207)](Math['random']());}[_0x1a5c4f(0x1cc)](_0x1aa99f,_0x2b3b57){const _0x1d2895=_0x1a5c4f;let _0x1fb354=this[_0x1d2895(0x376)][_0x1d2895(0x420)](_0x1aa99f);_0x1fb354||(_0x1fb354=new Map(),this[_0x1d2895(0x376)][_0x1d2895(0x1e0)](_0x1aa99f,_0x1fb354));let _0x5c26d2=_0x1fb354[_0x1d2895(0x420)](_0x2b3b57);return _0x5c26d2||(_0x5c26d2=new Map(),_0x1fb354['set'](_0x2b3b57,_0x5c26d2)),_0x5c26d2;}['_ensurePivotTableRangeInfo'](_0x5a5be1,_0x5856f6){const _0x584644=_0x1a5c4f;let _0xd3ba72=this['_pivotTableRangeInfo'][_0x584644(0x420)](_0x5a5be1);_0xd3ba72||(_0xd3ba72=new Map(),this[_0x584644(0x330)][_0x584644(0x1e0)](_0x5a5be1,_0xd3ba72));let _0x5a4300=_0xd3ba72['get'](_0x5856f6);return _0x5a4300||(_0x5a4300=new Map(),_0xd3ba72[_0x584644(0x1e0)](_0x5856f6,_0x5a4300)),_0x5a4300;}[_0x1a5c4f(0x48c)](_0x41a181,_0x46000d){const _0xe79602=_0x1a5c4f;let _0x33504f=this[_0xe79602(0x1f0)]['get'](_0x41a181);_0x33504f||(_0x33504f=new Map(),this[_0xe79602(0x1f0)][_0xe79602(0x1e0)](_0x41a181,_0x33504f));let _0x5f5b05=_0x33504f['get'](_0x46000d);return _0x5f5b05||(_0x5f5b05=new Map(),_0x33504f['set'](_0x46000d,_0x5f5b05)),_0x5f5b05;}[_0x1a5c4f(0x49d)](_0x503c72,_0x2f1b4a,_0x4e0460,_0x170150){const _0x37226d=_0x1a5c4f;var _0x1cd0f0;const _0x21f098=this['_ensurePivotTableRangeInfo'](_0x503c72,_0x2f1b4a),_0xa50210=(_0x1cd0f0=_0x21f098[_0x37226d(0x420)](_0x4e0460))==null?void 0x0:_0x1cd0f0[_0x37226d(0x464)];_0x21f098[_0x37226d(0x1e0)](_0x4e0460,{'oldRangeInfo':_0xa50210,'rangeInfo':_0x170150});}[_0x1a5c4f(0x233)](_0x522b0e,_0xbce3c4,_0x38947a,_0x244933){const _0x557318=_0x1a5c4f;var _0x266236;const _0xb89fe4=this['_ensurePivotTableMatrixInfo'](_0x522b0e,_0xbce3c4),_0xc8d108=(_0x266236=_0xb89fe4[_0x557318(0x420)](_0x38947a))==null?void 0x0:_0x266236[_0x557318(0x394)];_0xb89fe4[_0x557318(0x1e0)](_0x38947a,{'oldMatrix':_0xc8d108,'matrix':_0x244933});}[_0x1a5c4f(0x396)](_0x10913e,_0x3ffe35,_0x5bd10c){const _0x1271af=_0x1a5c4f;var _0x22ab6e,_0x2ec763;return(_0x2ec763=(_0x22ab6e=this[_0x1271af(0x330)]['get'](_0x10913e))==null?void 0x0:_0x22ab6e[_0x1271af(0x420)](_0x3ffe35))==null?void 0x0:_0x2ec763[_0x1271af(0x420)](_0x5bd10c);}['getPivotTableMatrixInfo'](_0x33cd72,_0x4702c6,_0x7d1f96){const _0x43b4e0=_0x1a5c4f;var _0x2d93e8,_0x35a36e;return(_0x35a36e=(_0x2d93e8=this[_0x43b4e0(0x1f0)][_0x43b4e0(0x420)](_0x33cd72))==null?void 0x0:_0x2d93e8[_0x43b4e0(0x420)](_0x4702c6))==null?void 0x0:_0x35a36e[_0x43b4e0(0x420)](_0x7d1f96);}[_0x1a5c4f(0x360)](_0x1f1690){const _0x3436fa=_0x1a5c4f;this[_0x3436fa(0x376)][_0x3436fa(0x34c)](_0x1f1690),this[_0x3436fa(0x3e3)][_0x3436fa(0x34c)](_0x1f1690);}[_0x1a5c4f(0x30f)](_0x3fffe5){const _0x59a354=_0x1a5c4f,_0x29721d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x59a354(0x3e3)]['get'](_0x3fffe5)&&(_0x29721d[_0x59a354(0x280)][_0x3fffe5]=this[_0x59a354(0x3e3)]['get'](_0x3fffe5)),this[_0x59a354(0x376)][_0x59a354(0x420)](_0x3fffe5)){_0x29721d[_0x59a354(0x37a)][_0x3fffe5]={};const _0x4c88e2=this[_0x59a354(0x376)][_0x59a354(0x420)](_0x3fffe5);_0x4c88e2!=null&&_0x4c88e2[_0x59a354(0x284)]&&[..._0x4c88e2[_0x59a354(0x1d2)]()][_0x59a354(0x289)](_0x387ace=>{const _0x77c805=_0x59a354,_0x5c9460=_0x4c88e2[_0x77c805(0x420)](_0x387ace);_0x5c9460!=null&&_0x5c9460[_0x77c805(0x284)]&&(_0x29721d[_0x77c805(0x37a)][_0x3fffe5][_0x387ace]={},[..._0x5c9460[_0x77c805(0x1d2)]()][_0x77c805(0x289)](_0x2f911c=>{const _0x342418=_0x5c9460['get'](_0x2f911c);_0x342418&&(_0x29721d['pivotTableConfigs'][_0x3fffe5][_0x387ace][_0x2f911c]=_0x342418);}));});}return _0x29721d;}[_0x1a5c4f(0x1bc)](){const _0xf3a168=_0x1a5c4f;this[_0xf3a168(0x444)](this[_0xf3a168(0x489)]['registerPluginResource']({'toJson':_0x3d6d89=>JSON['stringify'](this[_0xf3a168(0x30f)](_0x3d6d89)),'parseJson':_0x5a280e=>({}),'businesses':[_0x1c6d43[_0xf3a168(0x3dd)]['UNIVER_SHEET']],'pluginName':_0x1540b7,'onLoad':(_0x813600,_0x49bc05)=>{},'onUnLoad':_0x27a747=>{const _0x3d465c=_0xf3a168;this[_0x3d465c(0x360)](_0x27a747);}}));}},_0x10e2e1[_0x1a5c4f(0x212)]=_0x527323([_0x5ec844(0x0,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x1b3)])),_0x5ec844(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x3fa)])),_0x5ec844(0x2,_0x1c6d43['Inject'](_0x1c6d43[_0x1a5c4f(0x4a9)])),_0x5ec844(0x3,_0x1c6d43['Inject'](_0x1c6d43['IResourceManagerService'])),_0x5ec844(0x4,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x31a)]))],_0x10e2e1['SheetsPivotTableConfigModel']);var _0x4326fd=Object['getOwnPropertyDescriptor'],_0x43bf6d=(_0x1cfe5b,_0x37a81f,_0x4a01cc,_0x528a99)=>{const _0x479a83=_0x1a5c4f;for(var _0x37149d=_0x528a99>0x1?void 0x0:_0x528a99?_0x4326fd(_0x37a81f,_0x4a01cc):_0x37a81f,_0x45adbb=_0x1cfe5b[_0x479a83(0x1fa)]-0x1,_0x124910;_0x45adbb>=0x0;_0x45adbb--)(_0x124910=_0x1cfe5b[_0x45adbb])&&(_0x37149d=_0x124910(_0x37149d)||_0x37149d);return _0x37149d;},_0x392408=(_0x4d4988,_0x175fe5)=>(_0x416e49,_0x59d422)=>_0x175fe5(_0x416e49,_0x59d422,_0x4d4988);_0x10e2e1[_0x1a5c4f(0x36c)]=class extends _0x1c6d43[_0x1a5c4f(0x229)]{constructor(_0x4aa8e8,_0x46bb9c,_0x56c272,_0x245cf7,_0x4b8e6a){const _0x44f31e=_0x1a5c4f;super(),_0x47fe5b(this,_0x44f31e(0x1d0),new Map()),_0x47fe5b(this,_0x44f31e(0x21a),new Map()),_0x47fe5b(this,_0x44f31e(0x49b),new _0xbd119f['Subject']()),_0x47fe5b(this,'markDirty$',this[_0x44f31e(0x49b)][_0x44f31e(0x43f)]()),_0x47fe5b(this,'_viewUpdate$',new _0xbd119f[(_0x44f31e(0x4c1))]()),_0x47fe5b(this,_0x44f31e(0x2d1),this[_0x44f31e(0x2f9)][_0x44f31e(0x43f)]()),_0x47fe5b(this,_0x44f31e(0x323)),(this[_0x44f31e(0x47b)]=_0x4aa8e8,this['_injector']=_0x46bb9c,this[_0x44f31e(0x46c)]=_0x56c272,this[_0x44f31e(0x3bb)]=_0x245cf7,this['_exclusiveRangeService']=_0x4b8e6a,this[_0x44f31e(0x2be)](),this[_0x44f31e(0x230)]());}['_initUnitDisposed'](){const _0x2733d3=_0x1a5c4f;this[_0x2733d3(0x444)](this[_0x2733d3(0x3bb)]['getTypeOfUnitDisposed$'](_0x1c6d43[_0x2733d3(0x3dd)][_0x2733d3(0x2ad)])[_0x2733d3(0x1f9)](_0x176128=>{const _0x2abe5f=_0x2733d3;this[_0x2abe5f(0x360)](_0x176128[_0x2abe5f(0x283)]());}));}[_0x1a5c4f(0x2be)](){const _0x5564a6=_0x1a5c4f;this[_0x5564a6(0x323)]=_0x310859(this['_injector'],_0x10ab06,'',{});}[_0x1a5c4f(0x482)](_0x4c3622){const _0x5db012=_0x1a5c4f,{view:_0x2eb4f0,unitId:_0x178325,subUnitId:_0x2d4c9f,pivotTableId:_0x4df77a,type:_0x45b262}=_0x4c3622,_0x385464=this['_sheetsPivotTableConfigModel'][_0x5db012(0x493)](_0x178325,_0x2d4c9f,_0x4df77a);if(!_0x2eb4f0||!_0x385464||_0x45b262===_0x15c80f[_0x5db012(0x1ed)])return;const {pageView:_0x22e15f,cornerView:_0x44c535,rowView:_0x1e0e30,colView:_0x40910f,dataView:_0x4a8a78}=_0x2eb4f0,_0x50448b=_0x385464[_0x5db012(0x370)],_0x4311fe=_0x385464[_0x5db012(0x44d)],_0x5a66db=this[_0x5db012(0x30a)](_0x178325,_0x2d4c9f),_0x3f1fa0=this[_0x5db012(0x38f)](_0x178325,_0x2d4c9f,_0x4df77a);if(_0x4311fe)return this['_updateRenderEmptyCache'](_0x4c3622,_0x5a66db,_0x50448b,_0x3f1fa0);{const _0x3750c7=_0x243a07(_0x50448b,_0x22e15f,!0x0),_0x1a5c04=_0x22e15f[_0x5db012(0x3af)]>=0x0?_0x22e15f[_0x5db012(0x3af)]+0x1:0x0,_0x15560b=_0x44c535[_0x5db012(0x2bf)](),_0xd9c4b9=_0x44c535[_0x5db012(0x3f4)](),_0x4690b1=_0x3750c7[_0x5db012(0x1fa)]>0x0?_0x367df3:0x0,_0x1ead28=_0x243a07({'row':_0x50448b[_0x5db012(0x1e7)]+_0x1a5c04+_0x4690b1,'col':_0x50448b[_0x5db012(0x345)]},_0x44c535,!0x1,!0x1),_0x2f8f80=_0x243a07({'row':_0x50448b['row']+_0x1a5c04+_0x4690b1+_0x15560b,'col':_0x50448b[_0x5db012(0x345)]},_0x1e0e30,!0x1,!0x0),_0x2b7f13=_0x243a07({'row':_0x50448b['row']+_0x1a5c04+_0x4690b1,'col':_0x50448b[_0x5db012(0x345)]+_0xd9c4b9},_0x40910f,!0x1,!0x0),_0x3e9090=_0x243a07({'row':_0x50448b[_0x5db012(0x1e7)]+_0x1a5c04+_0x4690b1+_0x15560b,'col':_0x50448b[_0x5db012(0x345)]+_0xd9c4b9},_0x4a8a78,!0x1,!0x1);_0x3f1fa0[_0x5db012(0x451)]={'rowRanges':_0x2f8f80,'colRanges':_0x2b7f13,'cornerRanges':_0x1ead28,'dataRanges':_0x3e9090,'pageRanges':_0x3750c7};const _0x3fa290=_0x58e3de(this['_injector'],_0x2eb4f0,_0x385464,this['_textInfo']),{valueMatrix:_0x32d771,rowInfo:_0x2ca690,colInfo:_0x4dc431,cornerInfo:_0x13d310,rowHeaderMap:_0x3c79c6,colHeaderMap:_0x34f6cb}=_0x3fa290;return _0x3f1fa0[_0x5db012(0x434)]={'rowInfo':_0x2ca690,'colInfo':_0x4dc431,'cornerInfo':_0x13d310},_0x3f1fa0['headerMap']={'rowHeaderMap':_0x3c79c6,'colHeaderMap':_0x34f6cb},_0x32d771[_0x5db012(0x289)]((_0x5ab30b,_0x2d7a49)=>{const _0x1ef9e6=_0x5db012;Object[_0x1ef9e6(0x1d2)](_0x2d7a49)[_0x1ef9e6(0x289)](_0x4cc8d7=>{const _0xe7cfec=_0x1ef9e6,_0x354633=+_0x4cc8d7,_0x1626cc=_0x32d771['getValue'](_0x5ab30b,_0x354633);_0x5a66db[_0xe7cfec(0x1bb)](_0x5ab30b,_0x354633,_0x1626cc);});}),this[_0x5db012(0x2f9)][_0x5db012(0x207)]({'unitId':_0x178325,'subUnitId':_0x2d4c9f,'valueMatrix':_0x5a66db,'rangesCache':_0x3f1fa0[_0x5db012(0x451)],'pivotTableId':_0x4df77a,'type':_0x4c3622[_0x5db012(0x4aa)]}),this[_0x5db012(0x46c)][_0x5db012(0x1ac)](_0x178325,_0x2d4c9f,_0x4df77a,_0x5a66db,_0x3f1fa0['rangesInfo']),this['_exclusiveRangeService'][_0x5db012(0x2a0)](_0x178325,_0x2d4c9f,_0x29c319,this[_0x5db012(0x314)](_0x3f1fa0[_0x5db012(0x451)],_0x4df77a)),{'rangeCache':_0x3f1fa0[_0x5db012(0x451)],'matrix':_0x5a66db};}}[_0x1a5c4f(0x3b3)](_0x372b33,_0x9e686f,_0xe0d97a,_0x1b1b87){const _0x5cc3a8=_0x1a5c4f,_0xb52f3a=this['_localeService']['t'],{unitId:_0x49799a,subUnitId:_0x2dcb50,pivotTableId:_0x1f9c68}=_0x372b33,_0xab0dd3={'filter':_0xb52f3a(_0x5cc3a8(0x47e)),'row':_0xb52f3a(_0x5cc3a8(0x29e)),'column':_0xb52f3a(_0x5cc3a8(0x320)),'values':_0xb52f3a(_0x5cc3a8(0x1be))},{matrixCache:_0x1cc4c1,rangesCache:_0x574c27}=_0x4d57dc(_0xab0dd3,_0xe0d97a);return _0x1cc4c1['forValue']((_0x21481b,_0xf8cafd,_0x34f39f)=>{const _0x37d220=_0x5cc3a8;_0x9e686f[_0x37d220(0x1bb)](_0x21481b,_0xf8cafd,_0x34f39f);}),_0x1b1b87[_0x5cc3a8(0x451)]=_0x574c27,this[_0x5cc3a8(0x2f9)][_0x5cc3a8(0x207)]({'unitId':_0x49799a,'subUnitId':_0x2dcb50,'valueMatrix':_0x9e686f,'rangesCache':_0x574c27,'pivotTableId':_0x1f9c68,'type':_0x372b33['type'],'isEmpty':!0x0}),this[_0x5cc3a8(0x46c)][_0x5cc3a8(0x1ac)](_0x49799a,_0x2dcb50,_0x1f9c68,_0x9e686f,_0x574c27),this[_0x5cc3a8(0x221)][_0x5cc3a8(0x2a0)](_0x49799a,_0x2dcb50,_0x29c319,this[_0x5cc3a8(0x314)](_0x574c27,_0x1f9c68)),{'rangeCache':_0x1b1b87[_0x5cc3a8(0x451)],'matrix':_0x9e686f};}['_createExclusiveRange'](_0x93ea36,_0x227422){const _0x35b332=[],_0x3d85d8=_0x3ecb18(_0x93ea36);for(const _0x56503c of _0x3d85d8)_0x35b332['push']({'groupId':_0x227422,'range':_0x56503c});return _0x35b332;}['clearRenderCache'](_0x2993ca){const _0xd8ca08=_0x1a5c4f;var _0x5df143,_0x3050f0,_0x133c7f,_0x47048d;const {pivotTableId:_0xd5fe24,unitId:_0xeb4181,subUnitId:_0x3f3bf7}=_0x2993ca;if(!_0xd5fe24||!_0xeb4181||!_0x3f3bf7)return;const _0x188ef0=this[_0xd8ca08(0x30a)](_0xeb4181,_0x3f3bf7),_0x3c3164=(_0x3050f0=(_0x5df143=this['_pivotRenderInfoCache']['get'](_0xeb4181))==null?void 0x0:_0x5df143[_0xd8ca08(0x420)](_0x3f3bf7))==null?void 0x0:_0x3050f0['get'](_0xd5fe24);if(_0x3c3164!=null&&_0x3c3164[_0xd8ca08(0x451)]){for(const _0x258981 of Object[_0xd8ca08(0x1d2)](_0x3c3164[_0xd8ca08(0x451)]))_0x3c3164[_0xd8ca08(0x451)][_0x258981][_0xd8ca08(0x289)](_0x5229c1=>{for(let _0x559b41=_0x5229c1['startRow'];_0x559b41<=_0x5229c1['endRow'];_0x559b41++)for(let _0x48b645=_0x5229c1['startColumn'];_0x48b645<=_0x5229c1['endColumn'];_0x48b645++)_0x188ef0['realDeleteValue'](_0x559b41,_0x48b645);});}_0x3c3164&&((_0x47048d=(_0x133c7f=this[_0xd8ca08(0x1d0)][_0xd8ca08(0x420)](_0xeb4181))==null?void 0x0:_0x133c7f[_0xd8ca08(0x420)](_0x3f3bf7))==null||_0x47048d[_0xd8ca08(0x34c)](_0xd5fe24)),this[_0xd8ca08(0x2f9)][_0xd8ca08(0x207)]({'unitId':_0xeb4181,'subUnitId':_0x3f3bf7,'valueMatrix':_0x188ef0,'pivotTableId':_0xd5fe24,'rangesCache':void 0x0,'type':_0x2993ca[_0xd8ca08(0x4aa)]}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0xeb4181,_0x3f3bf7,_0x29c319,_0xd5fe24);}['_ensurePivotItemRenderInfoCache'](_0x498b5b,_0xeb2581,_0x44f719){const _0x22358d=_0x1a5c4f;var _0x282ca6,_0x4b11f6,_0x3daddd,_0x305b8c,_0x3d9511,_0x152e4b;return this[_0x22358d(0x1d0)][_0x22358d(0x2c3)](_0x498b5b)||this['_pivotRenderInfoCache'][_0x22358d(0x1e0)](_0x498b5b,new Map()),(_0x282ca6=this['_pivotRenderInfoCache'][_0x22358d(0x420)](_0x498b5b))!=null&&_0x282ca6[_0x22358d(0x2c3)](_0xeb2581)||(_0x4b11f6=this[_0x22358d(0x1d0)][_0x22358d(0x420)](_0x498b5b))==null||_0x4b11f6[_0x22358d(0x1e0)](_0xeb2581,new Map()),(_0x305b8c=(_0x3daddd=this[_0x22358d(0x1d0)]['get'](_0x498b5b))==null?void 0x0:_0x3daddd['get'](_0xeb2581))!=null&&_0x305b8c[_0x22358d(0x2c3)](_0x44f719)||(_0x152e4b=(_0x3d9511=this[_0x22358d(0x1d0)]['get'](_0x498b5b))==null?void 0x0:_0x3d9511[_0x22358d(0x420)](_0xeb2581))==null||_0x152e4b['set'](_0x44f719,{}),this[_0x22358d(0x1d0)][_0x22358d(0x420)](_0x498b5b)[_0x22358d(0x420)](_0xeb2581)[_0x22358d(0x420)](_0x44f719);}['_ensurePivotItemRenderValueMatrixCache'](_0xfadadb,_0x3dbb08){const _0x17b7d6=_0x1a5c4f;var _0x1266a7,_0x1889c1;return this[_0x17b7d6(0x21a)][_0x17b7d6(0x2c3)](_0xfadadb)||this['_pivotRenderValueMatrixCache'][_0x17b7d6(0x1e0)](_0xfadadb,new Map()),(_0x1266a7=this[_0x17b7d6(0x21a)][_0x17b7d6(0x420)](_0xfadadb))!=null&&_0x1266a7[_0x17b7d6(0x2c3)](_0x3dbb08)||(_0x1889c1=this[_0x17b7d6(0x21a)][_0x17b7d6(0x420)](_0xfadadb))==null||_0x1889c1['set'](_0x3dbb08,new _0x1c6d43[(_0x17b7d6(0x4b5))]()),this['_pivotRenderValueMatrixCache'][_0x17b7d6(0x420)](_0xfadadb)['get'](_0x3dbb08);}['getPivotTableCellData'](_0x4bb1e3,_0x442dbb,_0x28c630,_0x8b7914){const _0xa9fab1=_0x1a5c4f;var _0xf4e07,_0x1d2635;const _0x439a6b=(_0x1d2635=(_0xf4e07=this['_pivotRenderValueMatrixCache']['get'](_0x4bb1e3))==null?void 0x0:_0xf4e07['get'](_0x442dbb))==null?void 0x0:_0x1d2635[_0xa9fab1(0x2dd)](_0x28c630,_0x8b7914);if(_0x439a6b!=null)return _0x439a6b;}[_0x1a5c4f(0x243)](_0x2e5814,_0x2f82de,_0xad0990,_0x53740b){const _0x2f970c=_0x1a5c4f;var _0x1394f1;const _0x23349f=_0x1c6d43['cellToRange'](_0xad0990,_0x53740b),_0x3aca29=(_0x1394f1=this[_0x2f970c(0x1d0)][_0x2f970c(0x420)](_0x2e5814))==null?void 0x0:_0x1394f1[_0x2f970c(0x420)](_0x2f82de);return _0x3aca29?Array[_0x2f970c(0x425)](_0x3aca29['keys']())[_0x2f970c(0x35c)](_0x4f5240=>{const _0x4b18a3=_0x2f970c,_0x285733=_0x3aca29['get'](_0x4f5240),_0xf794c2=_0x285733==null?void 0x0:_0x285733[_0x4b18a3(0x451)];return _0xf794c2?Object['keys'](_0xf794c2)[_0x4b18a3(0x446)](_0x4c3754=>_0xf794c2[_0x4c3754]['some'](_0x3bd35c=>_0x1c6d43[_0x4b18a3(0x43b)][_0x4b18a3(0x2e7)](_0x3bd35c,_0x23349f))):!0x1;}):void 0x0;}[_0x1a5c4f(0x216)](_0x42ec4c,_0x163f90,_0x3be033){const _0x3a25e9=_0x1a5c4f;var _0x33f45e;const _0x3a9626=(_0x33f45e=this[_0x3a25e9(0x1d0)][_0x3a25e9(0x420)](_0x42ec4c))==null?void 0x0:_0x33f45e[_0x3a25e9(0x420)](_0x163f90),_0x193a3b=[];return _0x3a9626&&Array[_0x3a25e9(0x425)](_0x3a9626[_0x3a25e9(0x1d2)]())[_0x3a25e9(0x289)](_0x6a456f=>{const _0x32d9f5=_0x3a25e9,_0x53b340=_0x3a9626[_0x32d9f5(0x420)](_0x6a456f),_0x3c0ac1=_0x53b340==null?void 0x0:_0x53b340[_0x32d9f5(0x451)];if(_0x3c0ac1)for(const _0x36874a of Object[_0x32d9f5(0x468)](_0x3c0ac1)){let _0x46aaad=!0x1;for(const _0x198f02 of _0x36874a)if(_0x1c6d43[_0x32d9f5(0x43b)][_0x32d9f5(0x2a6)](_0x198f02,_0x3be033)){_0x193a3b[_0x32d9f5(0x35f)](_0x6a456f),_0x46aaad=!0x0;break;}if(_0x46aaad)break;}}),_0x193a3b;}[_0x1a5c4f(0x1dd)](_0x3966fc,_0x47530c){const _0x46a604=_0x1a5c4f;var _0x1106be,_0x504829;return(_0x504829=(_0x1106be=this[_0x46a604(0x21a)]['get'](_0x3966fc))==null?void 0x0:_0x1106be['get'](_0x47530c))!=null?_0x504829:new _0x1c6d43[(_0x46a604(0x4b5))]();}['getSubUnitPivotRenderCache'](_0x53630b,_0x15cf04){const _0x4427ee=_0x1a5c4f;var _0x53e2e8;return(_0x53e2e8=this[_0x4427ee(0x1d0)][_0x4427ee(0x420)](_0x53630b))==null?void 0x0:_0x53e2e8[_0x4427ee(0x420)](_0x15cf04);}[_0x1a5c4f(0x2df)](_0x351509,_0x3af6b2,_0x38492b){const _0x1b54e6=_0x1a5c4f;var _0x2817fd,_0x2ad194;return(_0x2ad194=(_0x2817fd=this[_0x1b54e6(0x1d0)][_0x1b54e6(0x420)](_0x351509))==null?void 0x0:_0x2817fd[_0x1b54e6(0x420)](_0x3af6b2))==null?void 0x0:_0x2ad194['get'](_0x38492b);}['deleteUnitId'](_0x21dce9){this['_pivotRenderInfoCache']['delete'](_0x21dce9),this['_pivotRenderValueMatrixCache']['delete'](_0x21dce9);}[_0x1a5c4f(0x1df)](_0x29ea81,_0x22b9b8){const _0x53db50=_0x1a5c4f;this[_0x53db50(0x49b)][_0x53db50(0x207)]({'unitId':_0x29ea81,'subUnitId':_0x22b9b8});}},_0x10e2e1[_0x1a5c4f(0x36c)]=_0x43bf6d([_0x392408(0x0,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43['LocaleService'])),_0x392408(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x1b3)])),_0x392408(0x2,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x212)])),_0x392408(0x3,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x4a9)])),_0x392408(0x4,_0x1c6d43[_0x1a5c4f(0x413)](_0x887798[_0x1a5c4f(0x435)]))],_0x10e2e1[_0x1a5c4f(0x36c)]);var _0x2e8c6d=Object['getOwnPropertyDescriptor'],_0xe10735=(_0x2c6220,_0x73c655,_0x3acc20,_0x362504)=>{const _0x2e7989=_0x1a5c4f;for(var _0x576b56=_0x362504>0x1?void 0x0:_0x362504?_0x2e8c6d(_0x73c655,_0x3acc20):_0x73c655,_0x147307=_0x2c6220[_0x2e7989(0x1fa)]-0x1,_0x3c9424;_0x147307>=0x0;_0x147307--)(_0x3c9424=_0x2c6220[_0x147307])&&(_0x576b56=_0x3c9424(_0x576b56)||_0x576b56);return _0x576b56;},_0x701b9c=(_0x226318,_0x3801a1)=>(_0x563224,_0x27d403)=>_0x3801a1(_0x563224,_0x27d403,_0x226318);_0x10e2e1[_0x1a5c4f(0x2ea)]=class extends _0x1c6d43['Disposable']{constructor(_0x5ae78d,_0x4bb34d){const _0x3f184b=_0x1a5c4f;super(),_0x47fe5b(this,_0x3f184b(0x1ff),new _0x1c6d43[(_0x3f184b(0x342))]({'PIVOT_PERFORM_CHECK':_0x47bd9f})),_0x47fe5b(this,_0x3f184b(0x47a),new _0x1c6d43['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x5c9e95})),(this[_0x3f184b(0x3ae)]=_0x5ae78d,this[_0x3f184b(0x1e5)]=_0x4bb34d,this['_init']());}[_0x1a5c4f(0x227)](){const _0x4047db=_0x1a5c4f;this[_0x4047db(0x3eb)]();}[_0x1a5c4f(0x2c7)](_0xc0bbbc){const _0x35840b=_0x1a5c4f;return this[_0x35840b(0x1ff)]['fetchThroughAsyncInterceptors'](_0x47bd9f)(!0x1,_0xc0bbbc);}[_0x1a5c4f(0x3eb)](){const _0x3c0b3e=_0x1a5c4f;this[_0x3c0b3e(0x444)](this[_0x3c0b3e(0x3ae)][_0x3c0b3e(0x315)](_0x887798['INTERCEPTOR_POINT'][_0x3c0b3e(0x361)],{'priority':0xc8,'effect':_0x1c6d43[_0x3c0b3e(0x1e8)][_0x3c0b3e(0x1c5)]|_0x1c6d43[_0x3c0b3e(0x1e8)][_0x3c0b3e(0x33c)],'handler':(_0x117c69,_0x22e3d5,_0x58a8db)=>{const _0x154f71=_0x3c0b3e,{row:_0x1832d0,col:_0x2301ba,unitId:_0x478f5a,subUnitId:_0x111b42,workbook:_0x13bb4f}=_0x22e3d5,_0x33a915=this[_0x154f71(0x1e5)][_0x154f71(0x439)](_0x478f5a,_0x111b42,_0x1832d0,_0x2301ba);if(!_0x33a915)return _0x58a8db(_0x117c69);const _0x421e18={..._0x117c69};(_0x33a915['v']||_0x33a915['v']===0x0)&&(_0x421e18['v']=_0x33a915['v']),_0x33a915['t']&&(_0x421e18['t']=_0x33a915['t']);const _0x2a4f88=(typeof(_0x117c69==null?void 0x0:_0x117c69['s'])==_0x154f71(0x337)?_0x13bb4f[_0x154f71(0x3b5)]()['get'](_0x117c69==null?void 0x0:_0x117c69['s']):_0x117c69==null?void 0x0:_0x117c69['s'])||{},_0x3ec047=_0x13bb4f[_0x154f71(0x3b5)]()[_0x154f71(0x420)](_0x33a915['s']),_0x2d0bea={..._0x3ec047,..._0x2a4f88};_0x3ec047!=null&&_0x3ec047['n']&&(_0x2d0bea['n']=_0x3ec047['n']);const _0x5d6cd9=_0x13bb4f[_0x154f71(0x3b5)]()[_0x154f71(0x1bb)](_0x2d0bea);return _0x421e18['s']=_0x5d6cd9,(_0x33a915[_0x154f71(0x285)]===_0x5ae8cc[_0x154f71(0x36d)][_0x154f71(0x28c)]||_0x33a915[_0x154f71(0x285)]===_0x5ae8cc[_0x154f71(0x36d)]['Expand'])&&(_0x421e18[_0x154f71(0x393)]={},_0x421e18[_0x154f71(0x393)][_0x154f71(0x223)]=_0x70bc6d),_0x58a8db(_0x421e18);}}));}},_0x10e2e1[_0x1a5c4f(0x2ea)]=_0xe10735([_0x701b9c(0x0,_0x1c6d43['Inject'](_0x887798[_0x1a5c4f(0x3c3)])),_0x701b9c(0x1,_0x1c6d43['Inject'](_0x10e2e1[_0x1a5c4f(0x36c)]))],_0x10e2e1[_0x1a5c4f(0x2ea)]);const _0x5a652b={'id':_0x1a5c4f(0x4bf),'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x1cf)],'handler':(_0x356129,_0x15be44)=>{const _0x145915=_0x1a5c4f;if(!_0x15be44)return!0x1;if(!!_0x356129[_0x145915(0x420)](_0x1c6d43[_0x145915(0x31a)])[_0x145915(0x26c)](_0x82779a))return!0x0;const {pivotTableId:_0xa65b5a,fieldJSON:_0x4432f7,unitId:_0x2374b3,subUnitId:_0x14886e}=_0x15be44;let _0x1f4b83;const {dataFieldType:_0x44ea4d,id:_0x46484e,name:_0x1425c3,hexCode:_0x2bc84a,originalFieldId:_0x32efdd}=_0x4432f7;if(_0x44ea4d===_0x5ae8cc[_0x145915(0x2c6)][_0x145915(0x27a)]&&(_0x1f4b83=new _0x5ae8cc[(_0x145915(0x3e8))](_0x46484e,_0x1425c3,_0x2bc84a,_0x32efdd)),!_0x1f4b83)return!0x1;const _0x2e14c6=_0x356129[_0x145915(0x420)](_0x10e2e1[_0x145915(0x44f)]),_0x52ce82=_0x2e14c6['getDataFieldManager'](_0x2374b3),_0x2d0c68=_0x52ce82[_0x145915(0x27c)](_0xa65b5a);_0x52ce82['addDataFieldWithoutUnitInfo'](_0x1f4b83),_0x2d0c68[_0x145915(0x264)](_0x1f4b83['getId'](),_0x1f4b83[_0x145915(0x343)]());const _0x55c954=_0x2d0c68['getFieldById'](_0x1f4b83['getOriginFieldId']());_0x55c954&&_0x1f4b83[_0x145915(0x2b4)](_0x55c954);const _0x47c560=_0x2e14c6[_0x145915(0x493)](_0x2374b3,_0x14886e,_0xa65b5a);return _0x2e14c6[_0x145915(0x255)]({'unitId':_0x2374b3,'subUnitId':_0x14886e,'token':_0xa65b5a,'type':_0x15c80f[_0x145915(0x2d4)],'pivotConfig':_0x47c560}),!0x0;}},_0x5a843f={'id':_0x1a5c4f(0x19f),'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x1cf)],'handler':(_0xbad4a2,_0x54525a)=>{const _0x5af4bf=_0x1a5c4f;if(!_0x54525a)return!0x1;if(!!_0xbad4a2[_0x5af4bf(0x420)](_0x1c6d43[_0x5af4bf(0x31a)])[_0x5af4bf(0x26c)](_0x82779a))return!0x0;const {pivotTableId:_0x4866fb,dataFieldId:_0x4c6f36,unitId:_0x2811ed,subUnitId:_0x29e156}=_0x54525a,_0x2ff77f=_0xbad4a2[_0x5af4bf(0x420)](_0x10e2e1[_0x5af4bf(0x44f)]),_0xce362a=_0x2ff77f[_0x5af4bf(0x3d3)](_0x2811ed);_0xce362a[_0x5af4bf(0x27c)](_0x4866fb)['deleteField'](_0x4c6f36);let _0x31e6ba=!0x0;for(const _0xe3b9b1 in _0xce362a[_0x5af4bf(0x45d)])if(_0xce362a[_0x5af4bf(0x45d)][_0xe3b9b1][_0x5af4bf(0x287)]()[_0x5af4bf(0x282)](_0x4c6f36)){_0x31e6ba=!0x1;break;}_0x31e6ba&&_0xce362a[_0x5af4bf(0x3f8)](_0x4c6f36);const _0x4508be=_0x2ff77f[_0x5af4bf(0x493)](_0x2811ed,_0x29e156,_0x4866fb);return _0x2ff77f[_0x5af4bf(0x255)]({'unitId':_0x2811ed,'subUnitId':_0x29e156,'token':_0x4866fb,'type':_0x15c80f[_0x5af4bf(0x2d4)],'pivotConfig':_0x4508be}),!0x0;}};function _0x209643(_0x1701bd,_0xe8ecdd){const _0x43475c=_0x1a5c4f;switch(_0xe8ecdd){case _0x5ae8cc[_0x43475c(0x1d6)][_0x43475c(0x1c5)]:return _0x1701bd[_0x43475c(0x1bf)];case _0x5ae8cc[_0x43475c(0x1d6)]['Filter']:return _0x1701bd[_0x43475c(0x475)];case _0x5ae8cc[_0x43475c(0x1d6)][_0x43475c(0x2f7)]:return _0x1701bd[_0x43475c(0x224)];case _0x5ae8cc[_0x43475c(0x1d6)][_0x43475c(0x1e3)]:return _0x1701bd['columnFields'];default:return[];}}function _0x12f9b6(_0x5d796b,_0x7f5259){const _0x4d0f77=_0x1a5c4f;return _0x5d796b['measure'][_0x7f5259]||_0x5d796b[_0x4d0f77(0x20c)][_0x7f5259];}function _0x266d57(_0x11b732,_0x242dc6){const _0x3f2ad5=_0x1a5c4f,{area:_0x3ce882,fieldJson:_0x1dc8e4,index:_0x1a3aed}=_0x242dc6;_0x3ce882===_0x5ae8cc[_0x3f2ad5(0x1d6)]['Value']?_0x11b732[_0x3f2ad5(0x34a)][_0x1dc8e4['id']]=_0x1dc8e4:_0x11b732['dimension'][_0x1dc8e4['id']]=_0x1dc8e4,_0x209643(_0x11b732,_0x3ce882)[_0x3f2ad5(0x288)](_0x1a3aed,0x0,_0x1dc8e4['id']);}function _0x99b198(_0x4032fe,_0x554ca3){const _0x12c69e=_0x1a5c4f,{area:_0x432a37,fieldId:_0x466e16,index:_0x11b9b0}=_0x554ca3;_0x432a37===_0x5ae8cc[_0x12c69e(0x1d6)][_0x12c69e(0x1c5)]?delete _0x4032fe[_0x12c69e(0x34a)][_0x466e16]:delete _0x4032fe['dimension'][_0x466e16],_0x209643(_0x4032fe,_0x432a37)[_0x12c69e(0x288)](_0x11b9b0,0x1);}function _0x2e8d65(_0x102a07,_0x859448){const _0x101d5f=_0x1a5c4f,{fieldId:_0x1e4044,name:_0xdaeef2}=_0x859448,_0x188c4f=_0x12f9b6(_0x102a07,_0x1e4044);_0x188c4f&&(_0x188c4f[_0x101d5f(0x26a)]=_0xdaeef2);}function _0x3c6f5f(_0x1e197e,_0x153655){const _0x580cdc=_0x1a5c4f,{fieldId:_0xd861a3,collapse:_0x24e742,item:_0x49882a}=_0x153655;_0x49882a!==void 0x0?(_0x1e197e[_0x580cdc(0x2d7)][_0xd861a3]=_0x1e197e[_0x580cdc(0x2d7)][_0xd861a3]||{},_0x1e197e['collapseInfo'][_0xd861a3][_0x49882a]=_0x24e742):_0x1e197e[_0x580cdc(0x2d7)][_0xd861a3]=_0x24e742;}function _0x27e191(_0x49092b,_0x5d6286){const {fieldId:_0x49d87b,format:_0x3acb65}=_0x5d6286,_0x293ebb=_0x12f9b6(_0x49092b,_0x49d87b);_0x293ebb&&(_0x293ebb['format']=_0x3acb65);}function _0x5b6394(_0x183023,_0x4d86a5){const _0x45000e=_0x1a5c4f,{fieldId:_0x1ccd71,filterInfo:_0x2ed389}=_0x4d86a5,_0x4f3043=_0x12f9b6(_0x183023,_0x1ccd71);_0x4f3043&&(_0x4f3043[_0x45000e(0x202)]=_0x2ed389);}function _0x2546a3(_0x2dafdf,_0x1e35c5){const _0x5756f5=_0x1a5c4f,{fieldId:_0x468f73,filterInfo:_0x1d5f55}=_0x1e35c5,_0x4d580c=_0x2dafdf[_0x5756f5(0x2b9)][_0x5756f5(0x1a3)](_0x3751c8=>_0x3751c8[_0x5756f5(0x24c)]!==_0x468f73);_0x1d5f55&&_0x4d580c[_0x5756f5(0x35f)]({'fieldId':_0x468f73,'filterInfo':_0x1d5f55}),_0x2dafdf['valueFilter']=_0x4d580c;}function _0x24c16d(_0x156928,_0x2cd0a2){const _0x29bb1d=_0x1a5c4f,{fieldId:_0x439b9c,subtotalType:_0x3be90f}=_0x2cd0a2,_0x54e146=_0x12f9b6(_0x156928,_0x439b9c);_0x54e146&&(_0x54e146[_0x29bb1d(0x41b)]=_0x3be90f);}function _0x5d0c99(_0x282efe,_0x5398ab){const _0x3cd16d=_0x1a5c4f,{fieldId:_0x566e20,oldArea:_0x1828b6,area:_0x4753fc,oldIndex:_0x560c58,index:_0x5a3261}=_0x5398ab,_0x3c53d9=_0x1828b6!==_0x5ae8cc[_0x3cd16d(0x1d6)][_0x3cd16d(0x1c5)]&&_0x4753fc===_0x5ae8cc[_0x3cd16d(0x1d6)][_0x3cd16d(0x1c5)],_0x5acbfb=_0x1828b6===_0x5ae8cc[_0x3cd16d(0x1d6)]['Value']&&_0x4753fc!==_0x5ae8cc[_0x3cd16d(0x1d6)][_0x3cd16d(0x1c5)];if(_0x3c53d9||_0x5acbfb){const _0x588c23=_0x12f9b6(_0x282efe,_0x566e20);_0x588c23&&(_0x3c53d9?(delete _0x282efe[_0x3cd16d(0x20c)][_0x566e20],_0x282efe[_0x3cd16d(0x34a)][_0x566e20]=_0x588c23):(delete _0x282efe[_0x3cd16d(0x34a)][_0x566e20],_0x282efe['dimension'][_0x566e20]=_0x588c23));}const _0x1954b1=_0x209643(_0x282efe,_0x1828b6),_0x5716ff=_0x209643(_0x282efe,_0x4753fc);_0x1954b1['splice'](_0x560c58,0x1),_0x5716ff['splice'](_0x5a3261,0x0,_0x566e20);}function _0x483272(_0x54d391,_0x2e005e){const _0x446d47=_0x1a5c4f,{valuePosition:_0x7a7c0b,index:_0x1b6a48}=_0x2e005e;_0x54d391[_0x446d47(0x47c)]=_0x7a7c0b,_0x54d391['valueIndex']=_0x1b6a48;}function _0x25d1c3(_0x23ddc3,_0x3230d0){const _0x392a53=_0x1a5c4f,{tableFieldId:_0x33a416,sourceName:_0x16406a,dataFieldId:_0x37473e}=_0x3230d0,_0x5c4886=_0x12f9b6(_0x23ddc3,_0x33a416);_0x5c4886&&(_0x5c4886[_0x392a53(0x3d2)]=_0x16406a,_0x5c4886['dataFieldId']=_0x37473e);}function _0x5163f1(_0x27709f,_0x3e4539){const _0x217dc5=_0x1a5c4f,{fieldId:_0x2c28ef,sortInfo:_0x5f48e2}=_0x3e4539,_0x26ff22=_0x12f9b6(_0x27709f,_0x2c28ef);_0x26ff22&&(_0x26ff22[_0x217dc5(0x26b)]=_0x5f48e2);}function _0x13a8c9(_0x5c0462,_0x4b02b0){const _0x222703=_0x1a5c4f,{options:_0x2d32c9}=_0x4b02b0;_0x5c0462[_0x222703(0x2e6)]={..._0x5c0462[_0x222703(0x2e6)],..._0x2d32c9};}const _0x3b4668={'type':_0x1c6d43[_0x1a5c4f(0x248)]['MUTATION'],'id':_0x1a5c4f(0x206),'handler'(_0x54387f,_0x52b88f){const _0x585d1d=_0x1a5c4f;if(!_0x52b88f)return!0x1;if(!!_0x54387f[_0x585d1d(0x420)](_0x1c6d43[_0x585d1d(0x31a)])[_0x585d1d(0x26c)](_0x82779a))return!0x0;const _0x408a8d=_0x54387f['get'](_0x10e2e1[_0x585d1d(0x44f)]),{pivotTableId:_0x2b8b26,fieldJson:_0xd8cf88,area:_0x283595,index:_0xc90ec3,unitId:_0x220aeb,subUnitId:_0x3a24e7}=_0x52b88f,_0x2596b3=_0x408a8d[_0x585d1d(0x23e)](_0x2b8b26);if(!_0x2596b3)return!0x1;let _0x2ae8fd;_0x283595===_0x5ae8cc[_0x585d1d(0x1d6)][_0x585d1d(0x1c5)]?_0x2ae8fd=_0x5ae8cc[_0x585d1d(0x2ef)](_0xd8cf88):_0x2ae8fd=_0x5ae8cc[_0x585d1d(0x2bb)](_0xd8cf88),_0x2596b3[_0x585d1d(0x264)](_0x2ae8fd,_0x283595,_0xc90ec3);const _0x4c57e8=_0x408a8d[_0x585d1d(0x32f)](_0x220aeb,_0x3a24e7,_0x2b8b26);_0x266d57(_0x4c57e8,_0x52b88f);const _0x1df047=_0x408a8d[_0x585d1d(0x493)](_0x220aeb,_0x3a24e7,_0x2b8b26);return _0x408a8d[_0x585d1d(0x255)]({'unitId':_0x220aeb,'subUnitId':_0x3a24e7,'token':_0x2b8b26,'type':_0x15c80f[_0x585d1d(0x2d4)],'pivotConfig':_0x1df047}),!0x0;}},_0x1c9d23={'type':_0x1c6d43[_0x1a5c4f(0x248)]['MUTATION'],'id':'sheet.mutation.remove-pivot-field','handler'(_0x4b756b,_0x8571a2){const _0x326b46=_0x1a5c4f;if(!_0x8571a2)return!0x1;if(!!_0x4b756b['get'](_0x1c6d43['IConfigService'])[_0x326b46(0x26c)](_0x82779a))return!0x0;const _0x9839c2=_0x4b756b['get'](_0x10e2e1['SheetsPivotDataSourceModel']),{pivotTableId:_0x4dd575,fieldId:_0x4653d6,unitId:_0x45cb5d,subUnitId:_0x5f579a}=_0x8571a2,_0x4bdc38=_0x9839c2['getPivotTableInstance'](_0x4dd575);if(!_0x4bdc38)return!0x1;_0x4bdc38['removeField'](_0x4653d6);const _0x13dac3=_0x9839c2[_0x326b46(0x32f)](_0x45cb5d,_0x5f579a,_0x4dd575);_0x99b198(_0x13dac3,_0x8571a2);const _0x3d93ae=_0x9839c2['getPivotTableConfig'](_0x45cb5d,_0x5f579a,_0x4dd575);return _0x9839c2[_0x326b46(0x255)]({'unitId':_0x45cb5d,'subUnitId':_0x5f579a,'token':_0x4dd575,'type':_0x15c80f[_0x326b46(0x2d4)],'pivotConfig':_0x3d93ae}),!0x0;}},_0x36cefc={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x448),'handler'(_0x5c7153,_0x1412c8){const _0x46d432=_0x1a5c4f;if(!_0x1412c8)return!0x1;if(!!_0x5c7153[_0x46d432(0x420)](_0x1c6d43[_0x46d432(0x31a)])['getConfig'](_0x82779a))return!0x0;const _0x155f0b=_0x5c7153[_0x46d432(0x420)](_0x10e2e1[_0x46d432(0x44f)]),{unitId:_0x2e6423,subUnitId:_0x47661a,pivotTableId:_0x1fceb4,fieldId:_0xf4b6fa,name:_0x2cad42}=_0x1412c8,_0x2a3d03=_0x155f0b[_0x46d432(0x23e)](_0x1fceb4);if(!_0x2a3d03)return!0x1;_0x2a3d03[_0x46d432(0x267)](_0xf4b6fa,_0x2cad42);const _0x61df7a=_0x155f0b[_0x46d432(0x32f)](_0x2e6423,_0x47661a,_0x1fceb4);return _0x2e8d65(_0x61df7a,_0x1412c8),_0x155f0b[_0x46d432(0x255)]({'unitId':_0x2e6423,'subUnitId':_0x47661a,'token':_0x1fceb4,'type':_0x15c80f['Set']}),!0x0;}},_0x1f81ce={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x485),'handler'(_0x1d00ef,_0x2ae205){const _0x422470=_0x1a5c4f;if(!_0x2ae205)return!0x1;if(!!_0x1d00ef['get'](_0x1c6d43['IConfigService'])['getConfig'](_0x82779a))return!0x0;const _0x2158cb=_0x1d00ef[_0x422470(0x420)](_0x10e2e1['SheetsPivotDataSourceModel']),{unitId:_0x4d2044,subUnitId:_0x591514,pivotTableId:_0x553550,fieldId:_0x2d368f,collapse:_0x273431,item:_0x5600ed}=_0x2ae205,_0x437fc3=_0x2158cb['getPivotTableInstance'](_0x553550);if(!_0x437fc3)return!0x1;_0x437fc3['setCollapse'](_0x2d368f,_0x273431,_0x5600ed);const _0x530666=_0x2158cb[_0x422470(0x32f)](_0x4d2044,_0x591514,_0x553550);return _0x3c6f5f(_0x530666,_0x2ae205),_0x2158cb['addDirtyPivotTable']({'unitId':_0x4d2044,'subUnitId':_0x591514,'token':_0x553550,'type':_0x15c80f[_0x422470(0x2d4)]}),!0x0;}},_0x22afcb={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x4bd),'handler'(_0xe51a89,_0x35e9bd){const _0x53590f=_0x1a5c4f;if(!_0x35e9bd)return!0x1;if(!!_0xe51a89['get'](_0x1c6d43[_0x53590f(0x31a)])['getConfig'](_0x82779a))return!0x0;const _0x20afb0=_0xe51a89[_0x53590f(0x420)](_0x10e2e1[_0x53590f(0x44f)]),{unitId:_0x133550,subUnitId:_0x1c3765,pivotTableId:_0xd040ad,fieldId:_0x6ff3d1,format:_0x118aa0}=_0x35e9bd,_0x3150ca=_0x20afb0[_0x53590f(0x23e)](_0xd040ad);if(!_0x3150ca)return!0x1;_0x3150ca[_0x53590f(0x1a0)](_0x6ff3d1,_0x118aa0);const _0xdf4f2a=_0x20afb0[_0x53590f(0x32f)](_0x133550,_0x1c3765,_0xd040ad);return _0x27e191(_0xdf4f2a,_0x35e9bd),_0x20afb0[_0x53590f(0x255)]({'unitId':_0x133550,'subUnitId':_0x1c3765,'token':_0xd040ad,'type':_0x15c80f[_0x53590f(0x2d4)]}),!0x0;}},_0x1e2579={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x174d69,_0x459242){const _0x17d69f=_0x1a5c4f;if(!_0x459242)return!0x1;if(!!_0x174d69[_0x17d69f(0x420)](_0x1c6d43[_0x17d69f(0x31a)])['getConfig'](_0x82779a))return!0x0;const _0x1d27c7=_0x174d69[_0x17d69f(0x420)](_0x10e2e1[_0x17d69f(0x44f)]),{unitId:_0x114705,subUnitId:_0x20368b,pivotTableId:_0x460903,fieldId:_0x564dd1,filterInfo:_0x346c35}=_0x459242,_0x1082d1=_0x1d27c7[_0x17d69f(0x23e)](_0x460903);if(!_0x1082d1)return!0x1;_0x1082d1[_0x17d69f(0x427)](_0x564dd1,_0x346c35);const _0x44e7ca=_0x1d27c7['getPivotTableModelConfig'](_0x114705,_0x20368b,_0x460903);return _0x5b6394(_0x44e7ca,_0x459242),_0x1d27c7[_0x17d69f(0x255)]({'unitId':_0x114705,'subUnitId':_0x20368b,'token':_0x460903,'type':_0x15c80f[_0x17d69f(0x2d4)]}),!0x0;}},_0xf6b9c6={'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x2cd),'handler'(_0xe0ae8,_0x2df8c8){const _0x3df183=_0x1a5c4f;if(!_0x2df8c8)return!0x1;if(!!_0xe0ae8[_0x3df183(0x420)](_0x1c6d43['IConfigService'])[_0x3df183(0x26c)](_0x82779a))return!0x0;const _0x42eaa6=_0xe0ae8['get'](_0x10e2e1['SheetsPivotDataSourceModel']),{unitId:_0x169253,subUnitId:_0x5a6e02,pivotTableId:_0x18cd6b,options:_0x14441c}=_0x2df8c8,_0x1dbe61=_0x42eaa6['getPivotTableInstance'](_0x18cd6b);if(!_0x1dbe61)return!0x1;_0x1dbe61[_0x3df183(0x2e4)](_0x14441c);const _0x585f86=_0x42eaa6[_0x3df183(0x32f)](_0x169253,_0x5a6e02,_0x18cd6b);return _0x13a8c9(_0x585f86,_0x2df8c8),_0x42eaa6[_0x3df183(0x255)]({'unitId':_0x169253,'subUnitId':_0x5a6e02,'token':_0x18cd6b,'type':_0x15c80f['Set']}),!0x0;}},_0x9b582d={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x4b4),'handler'(_0x2c0885,_0x2abb67){const _0x4cf029=_0x1a5c4f;if(!_0x2abb67)return!0x1;if(!!_0x2c0885[_0x4cf029(0x420)](_0x1c6d43[_0x4cf029(0x31a)])[_0x4cf029(0x26c)](_0x82779a))return!0x0;const _0x25ce89=_0x2c0885['get'](_0x10e2e1[_0x4cf029(0x44f)]),{unitId:_0x49003c,subUnitId:_0x46a4f4,pivotTableId:_0x32d7f1,sortInfo:_0x3844ee,fieldId:_0x598dde}=_0x2abb67,_0x678b26=_0x25ce89['getPivotTableInstance'](_0x32d7f1);if(!_0x678b26)return!0x1;_0x678b26[_0x4cf029(0x247)](_0x598dde,_0x3844ee);const _0x5d7d38=_0x25ce89['getPivotTableModelConfig'](_0x49003c,_0x46a4f4,_0x32d7f1);return _0x5163f1(_0x5d7d38,_0x2abb67),_0x25ce89[_0x4cf029(0x255)]({'unitId':_0x49003c,'subUnitId':_0x46a4f4,'token':_0x32d7f1,'type':_0x15c80f[_0x4cf029(0x2d4)]}),!0x0;}},_0x5c573c={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x10bf1a,_0x3d7ddf){const _0xc2eae1=_0x1a5c4f;if(!_0x3d7ddf)return!0x1;if(!!_0x10bf1a[_0xc2eae1(0x420)](_0x1c6d43[_0xc2eae1(0x31a)])[_0xc2eae1(0x26c)](_0x82779a))return!0x0;const _0x7a6928=_0x10bf1a[_0xc2eae1(0x420)](_0x10e2e1['SheetsPivotDataSourceModel']),{unitId:_0x1012af,subUnitId:_0x1e7f33,pivotTableId:_0x2fb2de,fieldId:_0x1a9f9f,subtotalType:_0x3e26cd}=_0x3d7ddf,_0x362a31=_0x7a6928[_0xc2eae1(0x23e)](_0x2fb2de);if(!_0x362a31)return!0x1;_0x362a31[_0xc2eae1(0x2e5)](_0x1a9f9f,_0x3e26cd);const _0x55d4f1=_0x7a6928[_0xc2eae1(0x32f)](_0x1012af,_0x1e7f33,_0x2fb2de);return _0x24c16d(_0x55d4f1,_0x3d7ddf),_0x7a6928['addDirtyPivotTable']({'unitId':_0x1012af,'subUnitId':_0x1e7f33,'token':_0x2fb2de,'type':_0x15c80f[_0xc2eae1(0x2d4)]}),!0x0;}},_0x16a0fe={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x155744,_0x3e4963){const _0x26d521=_0x1a5c4f;if(!_0x3e4963)return!0x1;if(!!_0x155744[_0x26d521(0x420)](_0x1c6d43[_0x26d521(0x31a)])[_0x26d521(0x26c)](_0x82779a))return!0x0;const _0x49c7f5=_0x155744[_0x26d521(0x420)](_0x10e2e1[_0x26d521(0x44f)]),{unitId:_0x2581c6,subUnitId:_0x2586f8,pivotTableId:_0x5a50cb,fieldId:_0x3b751e,filterInfo:_0x3a8026}=_0x3e4963,_0x378629=_0x49c7f5['getPivotTableInstance'](_0x5a50cb);if(!_0x378629)return!0x1;_0x378629['setValueFilterInfo'](_0x3b751e,_0x3a8026);const _0x433743=_0x49c7f5[_0x26d521(0x32f)](_0x2581c6,_0x2586f8,_0x5a50cb);return _0x2546a3(_0x433743,_0x3e4963),_0x49c7f5[_0x26d521(0x255)]({'unitId':_0x2581c6,'subUnitId':_0x2586f8,'token':_0x5a50cb,'type':_0x15c80f[_0x26d521(0x2d4)]}),!0x0;}},_0x27b4eb={'type':_0x1c6d43['CommandType']['MUTATION'],'id':_0x1a5c4f(0x219),'handler'(_0x47377f,_0x5d55dc){const _0x5b157b=_0x1a5c4f;if(!_0x5d55dc)return!0x1;if(!!_0x47377f[_0x5b157b(0x420)](_0x1c6d43[_0x5b157b(0x31a)])[_0x5b157b(0x26c)](_0x82779a))return!0x0;const _0xfbcfb=_0x47377f[_0x5b157b(0x420)](_0x10e2e1[_0x5b157b(0x44f)]),{unitId:_0x3b9f7c,subUnitId:_0x3460f8,pivotTableId:_0x291e89,area:_0x23bde2,index:_0xbd1336,fieldId:_0x4b36fe}=_0x5d55dc,_0x2e5032=_0xfbcfb['getPivotTableInstance'](_0x291e89);if(!_0x2e5032)return!0x1;_0x2e5032['updateFieldPosition'](_0x4b36fe,_0x23bde2,_0xbd1336);const _0x3f253c=_0xfbcfb[_0x5b157b(0x32f)](_0x3b9f7c,_0x3460f8,_0x291e89);return _0x5d0c99(_0x3f253c,_0x5d55dc),_0xfbcfb['addDirtyPivotTable']({'unitId':_0x3b9f7c,'subUnitId':_0x3460f8,'token':_0x291e89,'type':_0x15c80f[_0x5b157b(0x2d4)]}),!0x0;}},_0x1ad67c={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x31c),'handler'(_0x34bcd0,_0x2d6cef){const _0x4cfd42=_0x1a5c4f;if(!_0x2d6cef)return!0x1;if(!!_0x34bcd0[_0x4cfd42(0x420)](_0x1c6d43[_0x4cfd42(0x31a)])[_0x4cfd42(0x26c)](_0x82779a))return!0x0;const _0x2bca76=_0x34bcd0[_0x4cfd42(0x420)](_0x10e2e1['SheetsPivotDataSourceModel']),{unitId:_0x45bce4,subUnitId:_0x40248c,pivotTableId:_0x5dcd7a,sourceName:_0x3c5b5a,dataFieldId:_0x2bc51f,tableFieldId:_0x26ea19}=_0x2d6cef,_0x46165e=_0x2bca76[_0x4cfd42(0x23e)](_0x5dcd7a);if(!_0x46165e)return!0x1;_0x46165e[_0x4cfd42(0x2b2)](_0x26ea19,_0x3c5b5a,_0x2bc51f);const _0x4c180e=_0x2bca76[_0x4cfd42(0x32f)](_0x45bce4,_0x40248c,_0x5dcd7a);return _0x25d1c3(_0x4c180e,_0x2d6cef),_0x2bca76[_0x4cfd42(0x255)]({'unitId':_0x45bce4,'subUnitId':_0x40248c,'token':_0x5dcd7a,'type':_0x15c80f['Set']}),!0x0;}},_0x59932b={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x335),'handler'(_0x3c90fc,_0x2e3950){const _0x4770c2=_0x1a5c4f;if(!_0x2e3950)return!0x1;if(!!_0x3c90fc[_0x4770c2(0x420)](_0x1c6d43[_0x4770c2(0x31a)])[_0x4770c2(0x26c)](_0x82779a))return!0x0;const _0x1b2e59=_0x3c90fc[_0x4770c2(0x420)](_0x10e2e1[_0x4770c2(0x44f)]),{unitId:_0x2e398e,subUnitId:_0x440b89,pivotTableId:_0x319ee5,valuePosition:_0x432faf,index:_0x557831}=_0x2e3950,_0x19fa14=_0x1b2e59[_0x4770c2(0x23e)](_0x319ee5);if(!_0x19fa14)return!0x1;_0x19fa14[_0x4770c2(0x49f)](_0x432faf,_0x557831);const _0x496614=_0x1b2e59[_0x4770c2(0x32f)](_0x2e398e,_0x440b89,_0x319ee5);return _0x483272(_0x496614,_0x2e3950),_0x1b2e59[_0x4770c2(0x255)]({'unitId':_0x2e398e,'subUnitId':_0x440b89,'token':_0x319ee5,'type':_0x15c80f[_0x4770c2(0x2d4)]}),!0x0;}};function _0xa3da40(_0x1eb7b1,_0x16a2eb,_0x1a7bc1){const _0x278a3b=_0x1a5c4f,{pivotTableId:_0x5a143f,unitId:_0x3c870f,subUnitId:_0x380562}=_0x16a2eb,_0x1cca93=[],_0x59963e=[];for(const _0x24f6c4 of _0x1a7bc1)switch(_0x24f6c4[_0x278a3b(0x4aa)]){case _0x5ae8cc[_0x278a3b(0x25c)][_0x278a3b(0x1f3)]:{const {fieldJson:_0x594287,area:_0x4e2367,index:_0xf135f6}=_0x24f6c4,_0x2b4051={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldJson':_0x594287,'area':_0x4e2367,'index':_0xf135f6},_0x31fa4f={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x594287['id'],'area':_0x4e2367,'index':_0xf135f6};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x3b4668['id'],'params':_0x2b4051}),_0x59963e[_0x278a3b(0x321)]({'id':_0x1c9d23['id'],'params':_0x31fa4f});}break;case _0x5ae8cc['PivotTableChangeTypeEnum']['SetSubtotalType']:{const {fieldId:_0x5e2acd,newSubtotalType:_0x3e38c2,oldSubtotalType:_0x30e1fa}=_0x24f6c4,_0x2c9c3d={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x5e2acd,'subtotalType':_0x3e38c2};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x5c573c['id'],'params':_0x2c9c3d});const _0x2d5141={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x5e2acd,'subtotalType':_0x30e1fa};_0x59963e[_0x278a3b(0x321)]({'id':_0x5c573c['id'],'params':_0x2d5141});}break;case _0x5ae8cc[_0x278a3b(0x25c)][_0x278a3b(0x37b)]:{const {fieldId:_0x5d2c2c,fieldJson:_0x5589ba,area:_0x9fbdf1,index:_0x52ed1a}=_0x24f6c4,_0x2b44c3={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x5d2c2c,'index':_0x52ed1a,'area':_0x9fbdf1};_0x1cca93['push']({'id':_0x1c9d23['id'],'params':_0x2b44c3});const _0x48294b={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldJson':_0x5589ba,'area':_0x9fbdf1,'index':_0x52ed1a};_0x59963e[_0x278a3b(0x321)]({'id':_0x3b4668['id'],'params':_0x48294b});}break;case _0x5ae8cc[_0x278a3b(0x25c)]['RenameField']:{const {fieldId:_0xefc91d,oldName:_0x5c2c7b,newName:_0x3e0d01}=_0x24f6c4,_0x13e596={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0xefc91d,'name':_0x3e0d01};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x36cefc['id'],'params':_0x13e596});const _0x1c7852={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0xefc91d,'name':_0x5c2c7b};_0x59963e[_0x278a3b(0x321)]({'id':_0x36cefc['id'],'params':_0x1c7852});}break;case _0x5ae8cc[_0x278a3b(0x25c)][_0x278a3b(0x2f8)]:{const {fieldId:_0x1e5f85,oldFilterInfo:_0x35fe4c,newFilterInfo:_0x4f62b7}=_0x24f6c4,_0x19c18a={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x1e5f85,'filterInfo':_0x4f62b7};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x1e2579['id'],'params':_0x19c18a});const _0x32baf4={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x1e5f85,'filterInfo':_0x35fe4c};_0x59963e[_0x278a3b(0x321)]({'id':_0x1e2579['id'],'params':_0x32baf4});}break;case _0x5ae8cc[_0x278a3b(0x25c)]['SetSortInfo']:{const {fieldId:_0x48b79e,oldSortInfo:_0x58c575,newSortInfo:_0x159d70}=_0x24f6c4,_0x2fb12f={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x48b79e,'sortInfo':_0x159d70};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x9b582d['id'],'params':_0x2fb12f});const _0x2adf4f={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x48b79e,'sortInfo':_0x58c575};_0x59963e['unshift']({'id':_0x9b582d['id'],'params':_0x2adf4f});}break;case _0x5ae8cc['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x21fda3,newOptions:_0x3d29ae}=_0x24f6c4,_0x4382d7={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'options':_0x3d29ae};_0x1cca93[_0x278a3b(0x35f)]({'id':_0xf6b9c6['id'],'params':_0x4382d7});const _0x37111d={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'options':_0x21fda3};_0x59963e['unshift']({'id':_0xf6b9c6['id'],'params':_0x37111d});}break;case _0x5ae8cc[_0x278a3b(0x25c)][_0x278a3b(0x1d3)]:{const {oldArea:_0x497bc7,newArea:_0x391029,oldIndex:_0x11d0ff,newIndex:_0x14bf87,fieldId:_0x359a62}=_0x24f6c4,_0x8a18e8={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x359a62,'area':_0x391029,'index':_0x14bf87,'oldArea':_0x497bc7,'oldIndex':_0x11d0ff};_0x1cca93['push']({'id':_0x27b4eb['id'],'params':_0x8a18e8});const _0x24054e={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x359a62,'area':_0x497bc7,'index':_0x11d0ff,'oldArea':_0x391029,'oldIndex':_0x14bf87};_0x59963e['unshift']({'id':_0x27b4eb['id'],'params':_0x24054e});}break;case _0x5ae8cc[_0x278a3b(0x25c)][_0x278a3b(0x21c)]:{const {oldValuePosition:_0x3ddee7,newValuePosition:_0x320e9b,oldIndex:_0x1c0de7,newIndex:_0x2164b4}=_0x24f6c4,_0x539683={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'valuePosition':_0x320e9b,'index':_0x2164b4};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x59932b['id'],'params':_0x539683});const _0x2e28bd={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'valuePosition':_0x3ddee7,'index':_0x1c0de7};_0x59963e[_0x278a3b(0x321)]({'id':_0x59932b['id'],'params':_0x2e28bd});}break;case _0x5ae8cc[_0x278a3b(0x25c)]['SetCollapse']:{const {fieldId:_0x1e3b52,collapse:_0x17d453,item:_0x93dadc}=_0x24f6c4,_0x704018={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x1e3b52,'collapse':_0x17d453,'item':_0x93dadc};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x1f81ce['id'],'params':_0x704018});const _0x4b10db={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x1e3b52,'collapse':!_0x17d453,'item':_0x93dadc};_0x59963e[_0x278a3b(0x321)]({'id':_0x1f81ce['id'],'params':_0x4b10db});}break;case _0x5ae8cc[_0x278a3b(0x25c)][_0x278a3b(0x250)]:{const {newFormat:_0x1b374b,oldFormat:_0x5b3016,fieldId:_0x5e9c93}=_0x24f6c4,_0x3ec17d={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x5e9c93,'format':_0x1b374b};_0x1cca93['push']({'id':_0x22afcb['id'],'params':_0x3ec17d});const _0x49a05c={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x5e9c93,'format':_0x5b3016};_0x59963e[_0x278a3b(0x321)]({'id':_0x22afcb['id'],'params':_0x49a05c});}break;case _0x5ae8cc[_0x278a3b(0x25c)]['UpdateSource']:{const {tableFieldId:_0x3ab567,oldSourceName:_0x26ebc2,newSourceName:_0x2a6ca6,oldDataFieldId:_0x259228,newDataFieldId:_0x47ee31}=_0x24f6c4,_0x420b83={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'tableFieldId':_0x3ab567,'sourceName':_0x2a6ca6,'dataFieldId':_0x47ee31};_0x1cca93['push']({'id':_0x1ad67c['id'],'params':_0x420b83});const _0x2c524d={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'tableFieldId':_0x3ab567,'sourceName':_0x26ebc2,'dataFieldId':_0x259228};_0x59963e[_0x278a3b(0x321)]({'id':_0x1ad67c['id'],'params':_0x2c524d});}break;case _0x5ae8cc[_0x278a3b(0x25c)][_0x278a3b(0x333)]:{const {fieldId:_0x4c841f,filterInfo:_0x1047e9,oldFilterInfo:_0x54e916}=_0x24f6c4,_0x28a130={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x4c841f,'filterInfo':_0x1047e9};_0x1cca93[_0x278a3b(0x35f)]({'id':_0x16a0fe['id'],'params':_0x28a130});const _0x4e431a={'unitId':_0x3c870f,'subUnitId':_0x380562,'pivotTableId':_0x5a143f,'fieldId':_0x4c841f,'filterInfo':_0x54e916};_0x59963e[_0x278a3b(0x321)]({'id':_0x16a0fe['id'],'params':_0x4e431a});}}return{'redos':_0x1cca93,'undos':_0x59963e};}function _0x401911(_0x312bb3,_0x33762d){const _0x1225c6=_0x1a5c4f;var _0x4589f8;const _0x54d24a=_0x312bb3[_0x1225c6(0x420)](_0x10e2e1['SheetsPivotTableService']),{cellInfo:_0x56c6c1,view:_0x31c111,isEmpty:_0xfbe7bb}=_0x33762d;return(_0x4589f8=_0x54d24a['interceptor'][_0x1225c6(0x34e)](_0x5c9e95)(_0x11d29d,{'cellInfo':_0x56c6c1,'view':_0x31c111,'isEmpty':_0xfbe7bb}))!=null?_0x4589f8:_0x11d29d;}const _0x57c919={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x357),async 'handler'(_0x1bdd84,_0x418474){const _0x579917=_0x1a5c4f;if(!_0x418474)return!0x1;const _0x2e850a=_0x1bdd84[_0x579917(0x420)](_0x1c6d43['ICommandService']),_0x17ece1=_0x1bdd84['get'](_0x10e2e1[_0x579917(0x2ec)]),_0x13b3a5=_0x1bdd84[_0x579917(0x420)](_0x1c6d43[_0x579917(0x1e1)]),{pivotTableId:_0x2b96a9,dataFieldId:_0x2a2361,fieldArea:_0x51e9c5,index:_0xe0a835,unitId:_0x105008,subUnitId:_0x56991b}=_0x418474,_0x25ab8a=(await _0x17ece1['getPivotDisplayConfig']({'unitId':_0x105008,'subUnitId':_0x56991b,'pivotTableId':_0x2b96a9,'params':{'type':_0x4218a2[_0x579917(0x35a)],'addPivotField':{'dataFieldId':_0x2a2361,'fieldArea':_0x51e9c5,'index':_0xe0a835}}}))[_0x579917(0x240)][_0x579917(0x2f5)];if(!_0x25ab8a)return!0x1;const {view:_0x44aafc,changesets:_0x4605f6,isEmpty:_0x172ffe,pivotTableConfig:_0x343048,shouldBeAddedGroupJSON:_0x191657}=_0x25ab8a,_0x37ffd4=_0x343048[_0x579917(0x370)],_0x2c5f35=new _0x5ae8cc[(_0x579917(0x29b))]();_0x2c5f35[_0x579917(0x491)](_0x44aafc);const _0x10f819={'cellInfo':_0x37ffd4,'view':_0x2c5f35,'isEmpty':_0x172ffe};if(!await _0x1bdd84[_0x579917(0x420)](_0x10e2e1[_0x579917(0x2ea)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x47bd9f)(!0x0,_0x10f819))return!0x1;const _0x4ee67b=_0x9427db(_0x1bdd84,_0x2c5f35,_0x37ffd4,_0x172ffe),_0x7c149f=_0x401911(_0x1bdd84,_0x10f819),{undos:_0x1c836d,redos:_0x2b63f0}=_0xa3da40(_0x2e850a,{'pivotTableId':_0x2b96a9,'unitId':_0x105008,'subUnitId':_0x56991b},_0x4605f6);return _0x191657&&(_0x2b63f0[_0x579917(0x321)]({'id':_0x5a652b['id'],'params':{'pivotTableId':_0x2b96a9,'fieldJSON':_0x191657,'unitId':_0x105008,'subUnitId':_0x56991b}}),_0x1c836d[_0x579917(0x35f)]({'id':_0x5a843f['id'],'params':{'pivotTableId':_0x2b96a9,'dataFieldId':_0x191657['id'],'unitId':_0x105008,'subUnitId':_0x56991b}})),_0x1c6d43[_0x579917(0x1f4)]([..._0x4ee67b[_0x579917(0x2fd)],..._0x7c149f[_0x579917(0x2fd)],..._0x2b63f0],_0x2e850a),_0x13b3a5[_0x579917(0x4af)]({'unitID':_0x105008,'redoMutations':[..._0x4ee67b[_0x579917(0x2fd)],..._0x7c149f[_0x579917(0x2fd)],..._0x2b63f0],'undoMutations':[..._0x4ee67b[_0x579917(0x3de)],..._0x7c149f[_0x579917(0x3de)],..._0x1c836d]}),!0x0;}},_0x313782=()=>typeof process<'u'&&process[_0x1a5c4f(0x33f)]!=null&&process[_0x1a5c4f(0x33f)][_0x1a5c4f(0x42a)]!=null,_0x201db6={'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x4b0),'handler'(_0x405229,_0x469158){const _0x4c3533=_0x1a5c4f;var _0xb0f8cb;if(!_0x469158)return!0x1;const _0x1e55a9=_0x405229['get'](_0x1c6d43[_0x4c3533(0x31a)]);if(!!_0x1e55a9[_0x4c3533(0x26c)](_0x82779a))return!0x0;const _0x4753f5=_0x405229[_0x4c3533(0x420)](_0x1c6d43['IUniverInstanceService']),_0x21e9c7=_0x405229[_0x4c3533(0x420)](_0x10e2e1[_0x4c3533(0x44f)]),{pivotTableId:_0x431c43,pivotTableConfig:_0x545011,collectionConfig:_0x19872b,unitId:_0x1fb546,subUnitId:_0x375374}=_0x469158,{sourceRangeInfo:_0x2f1e4d,fieldsConfig:_0x1f7fa3,targetCellInfo:_0x5004f6}=_0x545011,_0x2d1e51=_0x4753f5[_0x4c3533(0x46a)](_0x1fb546);if(!_0x2d1e51||!_0x2d1e51[_0x4c3533(0x2a2)](_0x375374))return!0x1;if(!_0x313782()){let _0x11be8c=0x0;_0x2d1e51[_0x4c3533(0x306)]()[_0x4c3533(0x289)](_0x24cdb8=>{const _0x39860e=_0x4c3533;var _0x4f1e83,_0xb3c208;_0x11be8c+=(_0xb3c208=(_0x4f1e83=_0x21e9c7[_0x39860e(0x29a)](_0x1fb546,_0x24cdb8['getSheetId']()))==null?void 0x0:_0x4f1e83['size'])!=null?_0xb3c208:0x0;});const _0x2b3ce8=(_0xb0f8cb=_0x1e55a9[_0x4c3533(0x26c)](_0x1778fa['LS_CONFIG_KEY']))!=null?_0xb0f8cb:{},{ls:_0x505aca,pbk:_0x45ef03}=_0x2b3ce8;if(!_0x43bc17(_0x505aca,_0x45ef03))throw new _0x1c6d43[(_0x4c3533(0x3a9))]('limit\x20pivot');const _0x3b3fe7=_0xbd7e33(_0x1cf699,_0x505aca,_0x45ef03)[_0x4c3533(0x369)];if(_0x11be8c>=_0x3b3fe7)throw new _0x1c6d43['CustomCommandExecutionError']('limit\x20pivot');}if(!_0x19872b||!_0x1f7fa3)return!0x1;const {collection:_0x4e3e1c,updateDataFieldList:_0x446788}=_0x21e9c7[_0x4c3533(0x1ad)](_0x431c43,_0x19872b,_0x2f1e4d,_0x5004f6);_0x21e9c7[_0x4c3533(0x293)](_0x4e3e1c,_0x446788,_0x2f1e4d);const _0x20822d=new _0x5ae8cc[(_0x4c3533(0x2dc))](_0x4e3e1c,void 0x0,_0x431c43);_0x20822d['fromJSON'](_0x1f7fa3);const _0x1ee97d=JSON[_0x4c3533(0x251)](JSON[_0x4c3533(0x1de)](_0x545011));return _0x21e9c7[_0x4c3533(0x2c1)](_0x1fb546,_0x375374,_0x431c43,_0x20822d,_0x1ee97d),_0x21e9c7['addDirtyPivotTable']({'unitId':_0x1fb546,'subUnitId':_0x375374,'token':_0x431c43,'type':_0x15c80f[_0x4c3533(0x2ae)],'pivotConfig':_0x1ee97d}),!0x0;}},_0x4b690f={'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x254),async 'handler'(_0x31b355,_0x965f26){const _0x2b1e33=_0x1a5c4f;if(!_0x965f26)return!0x1;const {sourceDataInfo:_0x4c1ac2,pivotTableConfig:_0x278d92}=_0x965f26;if(!_0x4c1ac2||!_0x278d92)return!0x1;const {unitId:_0x51a424,subUnitId:_0x45d298,range:_0x568301}=_0x4c1ac2,_0x405a00=_0x31b355[_0x2b1e33(0x420)](_0x1c6d43[_0x2b1e33(0x4a9)]),_0x1b41c7=_0x31b355[_0x2b1e33(0x420)](_0x10e2e1[_0x2b1e33(0x2ec)]),_0x564aa8=_0x31b355[_0x2b1e33(0x420)](_0x1c6d43[_0x2b1e33(0x23d)]),_0x1f3930=_0x31b355['get'](_0x1c6d43['ICommandService']),_0x1a7416=_0x405a00['getUnit'](_0x51a424);if(!_0x1a7416)return!0x1;const _0xb5320f=_0x1a7416['getSheetBySheetId'](_0x45d298);if(!_0xb5320f)return!0x1;const _0x554641=_0x5ae8cc[_0x2b1e33(0x339)](0x8),_0x1dd833=_0x568301||{'startRow':0x0,'startColumn':0x0,'endRow':_0xb5320f[_0x2b1e33(0x2bf)]()-0x1,'endColumn':_0xb5320f['getColumnCount']()-0x1};_0x1dd833[_0x2b1e33(0x37c)]=_0x1c6d43['RANGE_TYPE'][_0x2b1e33(0x2cc)];const _0x3f93ca=(await _0x1b41c7[_0x2b1e33(0x329)]({'unitId':_0x51a424,'subUnitId':_0x45d298,'pivotTableId':_0x554641,'params':{'type':_0x4218a2['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x51a424,'sheetName':_0xb5320f[_0x2b1e33(0x343)](),'subUnitId':_0x45d298,'range':_0x1dd833},'pivotTableId':_0x554641,'pivotTableIndexConfig':_0x278d92}}}))[_0x2b1e33(0x240)][_0x2b1e33(0x486)];if(!_0x3f93ca)return!0x1;const {isEmpty:_0x229747,fieldsConfig:_0x5ed3ad,collectionConfig:_0x4196f3,changesets:_0x31d9d2}=_0x3f93ca,_0x276a92=_0x1a7416[_0x2b1e33(0x306)]()[_0x2b1e33(0x1fa)],_0x1996ea=_0x1c6d43['mergeWorksheetSnapshotWithDefault']({'rowCount':_0xb5320f[_0x2b1e33(0x2bf)]()-0x1,'columnCount':_0xb5320f[_0x2b1e33(0x1b9)]()-0x1});_0x1996ea['id']=_0x1c6d43[_0x2b1e33(0x42f)](),_0x1996ea[_0x2b1e33(0x379)]=_0x1a7416['generateNewSheetName'](''+_0x564aa8['t'](_0x2b1e33(0x1d1)));const _0x4fe488={'index':_0x276a92,'sheet':_0x1996ea,'unitId':_0x51a424},{redos:_0x55738d}=_0xa3da40(_0x1f3930,{'pivotTableId':_0x554641,'unitId':_0x51a424,'subUnitId':_0x1996ea['id']},_0x31d9d2),_0x21c04b=[{'id':_0x887798[_0x2b1e33(0x258)]['id'],'params':_0x4fe488},{'id':_0x201db6['id'],'params':{'unitId':_0x51a424,'subUnitId':_0x1996ea['id'],'pivotTableId':_0x554641,'pivotTableConfig':{'isEmpty':_0x229747,'fieldsConfig':_0x5ed3ad,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x51a424,'subUnitId':_0x1996ea['id']},'sourceRangeInfo':{'subUnitId':_0x45d298,'unitId':_0x51a424,'range':_0x1dd833,'sheetName':_0xb5320f['getName']()}},'collectionConfig':_0x4196f3}},..._0x55738d];return _0x1c6d43[_0x2b1e33(0x1f4)](_0x21c04b,_0x1f3930),!0x0;}},_0x4b5ee2={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x30b57f,_0x330fc8){const _0x2f92bf=_0x1a5c4f;if(!_0x330fc8)return!0x1;if(!!_0x30b57f[_0x2f92bf(0x420)](_0x1c6d43['IConfigService'])[_0x2f92bf(0x26c)](_0x82779a))return!0x0;const {pivotTableId:_0x3fcf0a,unitId:_0x4ba293,subUnitId:_0x50eb86}=_0x330fc8,_0x2641dd=_0x30b57f[_0x2f92bf(0x420)](_0x10e2e1[_0x2f92bf(0x44f)]);return _0x2641dd[_0x2f92bf(0x493)](_0x4ba293,_0x50eb86,_0x3fcf0a)?(_0x2641dd['addDirtyPivotTable']({'unitId':_0x4ba293,'subUnitId':_0x50eb86,'token':_0x3fcf0a,'type':_0x15c80f[_0x2f92bf(0x1ed)]}),_0x2641dd[_0x2f92bf(0x414)](_0x4ba293,_0x50eb86,_0x3fcf0a),!0x0):!0x1;}},_0x160459={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x3f1),async 'handler'(_0x44d582,_0xedcc9c){const _0x35e749=_0x1a5c4f;var _0x3de96e,_0x48e95e;const _0x4d56c9=_0x44d582[_0x35e749(0x420)](_0x1c6d43['ICommandService']),_0x1dd06f=_0x44d582[_0x35e749(0x420)](_0x1c6d43[_0x35e749(0x4a9)]),_0x4a8a5d=_0x44d582[_0x35e749(0x420)](_0x1c6d43[_0x35e749(0x23d)]),_0x24d917=_0x44d582['get'](_0x10e2e1[_0x35e749(0x2ec)]),_0x250d46=_0x44d582[_0x35e749(0x420)](_0x1c6d43[_0x35e749(0x1e1)]),_0x2ea71a=_0x44d582[_0x35e749(0x420)](_0x10e2e1[_0x35e749(0x212)]),_0x3128e7=_0x44d582[_0x35e749(0x420)](_0x1c6d43[_0x35e749(0x31a)]);if(!_0xedcc9c)return!0x1;const {pivotTableConfig:_0x29e24d,positionType:_0x7bb27a}=_0xedcc9c,{targetCellInfo:_0x5a838d,sourceRangeInfo:_0x136b6e}=_0x29e24d,{unitId:_0x1b2da1,subUnitId:_0x9573b6}=_0x5a838d,_0xfb373c=_0x1dd06f[_0x35e749(0x46a)](_0x1b2da1);if(!_0xfb373c)return!0x1;let _0x38b7da=0x0;_0xfb373c[_0x35e749(0x306)]()[_0x35e749(0x289)](_0xd66de4=>{const _0x5447f3=_0x35e749;var _0x208b30,_0x23b455;_0x38b7da+=(_0x23b455=(_0x208b30=_0x2ea71a[_0x5447f3(0x29a)](_0x1b2da1,_0xd66de4[_0x5447f3(0x408)]()))==null?void 0x0:_0x208b30[_0x5447f3(0x284)])!=null?_0x23b455:0x0;});const _0x542575=(_0x3de96e=_0x3128e7[_0x35e749(0x26c)](_0x1778fa[_0x35e749(0x494)]))!=null?_0x3de96e:{},{ls:_0x322479,pbk:_0x1f5458}=_0x542575;if(!_0x43bc17(_0x322479,_0x1f5458))return!0x1;const _0x444713=_0xbd7e33(_0x1cf699,_0x322479,_0x1f5458)[_0x35e749(0x369)];if(_0x38b7da>=_0x444713)return!0x1;const _0xb44e87=_0xedcc9c[_0x35e749(0x495)]||_0x5ae8cc['generateHexNumber'](0x8),_0x2965cd=(await _0x24d917['getPivotDisplayConfig']({'unitId':_0x1b2da1,'subUnitId':_0x9573b6,'pivotTableId':_0xb44e87,'params':{'type':_0x4218a2[_0x35e749(0x44a)],'addPivotTable':{'sourceRangeInfo':_0x136b6e,'pivotTableId':_0xb44e87}}}))[_0x35e749(0x240)][_0x35e749(0x2c1)];if(!_0x2965cd)return!0x1;const {view:_0x2a9e18,isEmpty:_0x22fce8,fieldsConfig:_0x21a3d8,collectionConfig:_0x369366}=_0x2965cd,_0x22f2d5=[],_0x4de85e=[];if(_0x7bb27a===_0x5544eb[_0x35e749(0x354)]){const _0x3a45d2=_0xfb373c[_0x35e749(0x306)]()[_0x35e749(0x1fa)],_0xed7298=_0x1c6d43['mergeWorksheetSnapshotWithDefault']({});_0xed7298['id']=_0x29e24d['targetCellInfo'][_0x35e749(0x371)],_0xed7298[_0x35e749(0x379)]=(_0x48e95e=_0x29e24d[_0x35e749(0x370)]['sheetName'])!=null?_0x48e95e:_0xfb373c[_0x35e749(0x49e)](''+_0x4a8a5d['t']('sheets.tabs.sheet'));const _0xd8b08e={'index':_0x3a45d2,'sheet':_0xed7298,'unitId':_0x1b2da1},_0x278017=_0x887798[_0x35e749(0x299)](_0x44d582,_0xd8b08e);_0x22f2d5[_0x35e749(0x35f)]({'id':_0x887798[_0x35e749(0x31f)]['id'],'params':_0x278017}),_0x4de85e[_0x35e749(0x35f)]({'id':_0x887798[_0x35e749(0x1b4)]['id'],'params':_0xd8b08e});}else{if(!_0xfb373c[_0x35e749(0x2a2)](_0x9573b6))return!0x1;const _0x5af986=_0x9427db(_0x44d582,new _0x5ae8cc[(_0x35e749(0x29b))](),_0x5a838d,!0x0);_0x4de85e[_0x35e749(0x35f)](..._0x5af986[_0x35e749(0x2fd)]),_0x22f2d5[_0x35e749(0x35f)](..._0x5af986[_0x35e749(0x3de)]);const _0x2ab375={'cellInfo':_0x5a838d,'view':_0x2a9e18,'isEmpty':_0x22fce8};if(!await _0x44d582[_0x35e749(0x420)](_0x10e2e1['SheetsPivotTableService'])[_0x35e749(0x1ff)][_0x35e749(0x340)](_0x47bd9f)(!0x0,_0x2ab375))return!0x1;const _0x3b5d9f=_0x401911(_0x44d582,_0x2ab375);_0x4de85e[_0x35e749(0x35f)](..._0x3b5d9f['redos']),_0x22f2d5[_0x35e749(0x35f)](..._0x3b5d9f[_0x35e749(0x3de)]);}return _0x4de85e['push']({'id':_0x201db6['id'],'params':{'unitId':_0x5a838d[_0x35e749(0x3f9)],'subUnitId':_0x5a838d['subUnitId'],'pivotTableId':_0xb44e87,'pivotTableConfig':{'targetCellInfo':_0x5a838d,'sourceRangeInfo':_0x136b6e,'fieldsConfig':_0x21a3d8},'collectionConfig':_0x369366}}),_0x22f2d5['unshift']({'id':_0x4b5ee2['id'],'params':{'unitId':_0x1b2da1,'subUnitId':_0x9573b6,'pivotTableId':_0xb44e87}}),_0x1c6d43[_0x35e749(0x1f4)](_0x4de85e,_0x4d56c9)&&_0x250d46[_0x35e749(0x4af)]({'unitID':_0x1b2da1,'undoMutations':_0x22f2d5,'redoMutations':_0x4de85e}),!0x0;}},_0x42e8b8={'type':_0x1c6d43[_0x1a5c4f(0x248)]['COMMAND'],'id':'sheet.command.move-pivot-field',async 'handler'(_0x977b95,_0x1e0525){const _0x39a0ea=_0x1a5c4f;if(!_0x1e0525)return!0x1;const _0x218cb1=_0x977b95[_0x39a0ea(0x420)](_0x1c6d43[_0x39a0ea(0x3fa)]),_0x5a7465=_0x977b95['get'](_0x10e2e1['SheetsPivotRPCService']),_0x35c517=_0x977b95[_0x39a0ea(0x420)](_0x1c6d43[_0x39a0ea(0x1e1)]),{pivotTableId:_0x299d30,fieldId:_0x4c20b1,area:_0x283be8,index:_0x12dc6a,unitId:_0xd9aa7b,subUnitId:_0x1737a2}=_0x1e0525,_0x4aa57e=(await _0x5a7465['getPivotDisplayConfig']({'unitId':_0xd9aa7b,'subUnitId':_0x1737a2,'pivotTableId':_0x299d30,'params':{'type':_0x4218a2['MovePivotField'],'movePivotField':{'fieldId':_0x4c20b1,'area':_0x283be8,'index':_0x12dc6a}}}))[_0x39a0ea(0x240)][_0x39a0ea(0x384)];if(!_0x4aa57e)return!0x1;const {changesets:_0x5e1712,view:_0x41c72c,isEmpty:_0x2e0788,pivotTableConfig:_0x1cb737}=_0x4aa57e,_0x4bd131=_0x1cb737[_0x39a0ea(0x370)],_0xb848d2=new _0x5ae8cc['PivotView']();_0xb848d2[_0x39a0ea(0x491)](_0x41c72c);const _0x2598a0={'cellInfo':_0x4bd131,'view':_0xb848d2,'isEmpty':_0x2e0788};if(!await _0x977b95[_0x39a0ea(0x420)](_0x10e2e1[_0x39a0ea(0x2ea)])[_0x39a0ea(0x1ff)][_0x39a0ea(0x340)](_0x47bd9f)(!0x0,_0x2598a0))return!0x1;const _0x291ea8=_0x9427db(_0x977b95,_0xb848d2,_0x4bd131,_0x2e0788),_0xcaaa1d=_0x401911(_0x977b95,_0x2598a0),{redos:_0x2e3bae,undos:_0x3e39ad}=_0xa3da40(_0x218cb1,{'pivotTableId':_0x299d30,'unitId':_0xd9aa7b,'subUnitId':_0x1737a2},_0x5e1712);return _0x1c6d43[_0x39a0ea(0x1f4)]([..._0x291ea8[_0x39a0ea(0x2fd)],..._0xcaaa1d[_0x39a0ea(0x2fd)],..._0x2e3bae],_0x218cb1),_0x35c517[_0x39a0ea(0x4af)]({'unitID':_0xd9aa7b,'redoMutations':[..._0x291ea8['redos'],..._0xcaaa1d['redos'],..._0x2e3bae],'undoMutations':[..._0x291ea8[_0x39a0ea(0x3de)],..._0xcaaa1d[_0x39a0ea(0x3de)],..._0x3e39ad]}),!0x0;}},_0x1a0c37={'type':_0x1c6d43[_0x1a5c4f(0x248)]['MUTATION'],'id':_0x1a5c4f(0x353),'handler'(_0x579574,_0x41811b){const _0x531c80=_0x1a5c4f;if(!_0x41811b)return!0x1;if(!!_0x579574[_0x531c80(0x420)](_0x1c6d43[_0x531c80(0x31a)])[_0x531c80(0x26c)](_0x82779a))return!0x0;const {pivotTableId:_0x1918fe,targetCellPosition:_0x11b95f,unitId:_0x219506,subUnitId:_0x290233}=_0x41811b,_0x5f184d=_0x579574['get'](_0x10e2e1[_0x531c80(0x44f)]);if(!_0x5f184d['getPivotTableInstance'](_0x41811b[_0x531c80(0x495)]))return!0x1;const _0xcd2928=_0x5f184d[_0x531c80(0x265)](_0x1918fe);if(!_0xcd2928)return!0x1;const _0x556d9c=_0x5f184d[_0x531c80(0x27c)](_0xcd2928[_0x531c80(0x3f9)],_0x41811b[_0x531c80(0x495)]);if(!_0x556d9c)return!0x1;const _0x5e538c=_0x5f184d[_0x531c80(0x493)](_0xcd2928[_0x531c80(0x3f9)],_0xcd2928[_0x531c80(0x371)],_0x1918fe);if(!_0x5e538c)return!0x1;const _0x3ad61d=_0x1c6d43[_0x531c80(0x32c)]['deepClone'](_0x5e538c);_0x3ad61d[_0x531c80(0x370)]={'unitId':_0x219506,'subUnitId':_0x290233,'row':_0x11b95f[_0x531c80(0x1e7)],'col':_0x11b95f['col']};const _0x5bf5fe=_0x556d9c[_0x531c80(0x3d0)]();if(_0xcd2928[_0x531c80(0x371)]===_0x290233&&_0xcd2928[_0x531c80(0x3f9)]===_0x219506)_0x5f184d['setPivotTable'](_0x219506,_0x290233,_0x1918fe,_0x3ad61d),_0x5f184d[_0x531c80(0x255)]({'unitId':_0x219506,'subUnitId':_0x290233,'token':_0x1918fe,'type':_0x15c80f['Set']});else{_0x5f184d[_0x531c80(0x255)]({'unitId':_0xcd2928['unitId'],'subUnitId':_0xcd2928[_0x531c80(0x371)],'token':_0x1918fe,'type':_0x15c80f['Delete']}),_0x5f184d[_0x531c80(0x414)](_0xcd2928[_0x531c80(0x3f9)],_0xcd2928[_0x531c80(0x371)],_0x1918fe);const _0xe05c26=_0x5f184d[_0x531c80(0x1ad)](_0x1918fe,_0x5bf5fe,_0x5e538c[_0x531c80(0x430)],_0x3ad61d['targetCellInfo']),_0x273b0a=new _0x5ae8cc['PivotTable'](_0xe05c26['collection'],void 0x0,_0x1918fe);_0x273b0a['fromJSON'](_0x3ad61d['fieldsConfig']),_0x5f184d[_0x531c80(0x2c1)](_0x219506,_0x290233,_0x1918fe,_0x273b0a,_0x3ad61d),_0x5f184d[_0x531c80(0x255)]({'unitId':_0x219506,'subUnitId':_0x290233,'token':_0x1918fe,'type':_0x15c80f[_0x531c80(0x2ae)],'pivotConfig':_0x3ad61d});}return!0x0;}},_0x4ff1a4={'type':_0x1c6d43[_0x1a5c4f(0x248)]['COMMAND'],'id':_0x1a5c4f(0x3ef),'handler':(_0x253644,_0x35f725)=>{const _0x1b16b7=_0x1a5c4f,_0x27f666=_0x253644[_0x1b16b7(0x420)](_0x1c6d43[_0x1b16b7(0x3fa)]),_0x202f85=_0x253644[_0x1b16b7(0x420)](_0x1c6d43[_0x1b16b7(0x1e1)]),_0x4dc613=_0x253644['get'](_0x10e2e1[_0x1b16b7(0x212)]),_0x1ea14a=_0x253644[_0x1b16b7(0x420)](_0x1c6d43[_0x1b16b7(0x4a9)]);if(!_0x35f725)return!0x1;const _0x2098ff=_0x887798['getSheetCommandTarget'](_0x1ea14a);if(!_0x2098ff)return!0x1;const {unitId:_0x101987,subUnitId:_0x57eaef,workbook:_0x42d8e1}=_0x2098ff,_0x35322c=_0x4dc613[_0x1b16b7(0x493)](_0x35f725[_0x1b16b7(0x244)][_0x1b16b7(0x3f9)],_0x35f725[_0x1b16b7(0x244)]['subUnitId'],_0x35f725[_0x1b16b7(0x495)]);if(!_0x35322c)return!0x1;const _0x3961f4=_0x42d8e1[_0x1b16b7(0x2a2)](_0x35f725['targetCellInfo'][_0x1b16b7(0x371)]);if(!_0x3961f4)throw new Error(_0x1b16b7(0x3a3));const _0x22e19f=_0x3961f4['getRowCount'](),_0x2f9949=_0x3961f4[_0x1b16b7(0x1b9)]();if(_0x35f725[_0x1b16b7(0x370)][_0x1b16b7(0x1e7)]>_0x22e19f||_0x35f725['targetCellInfo'][_0x1b16b7(0x345)]>_0x2f9949)throw new Error(_0x1b16b7(0x1fe));const _0x15e264=[{'id':_0x1a0c37['id'],'params':{'unitId':_0x101987,'subUnitId':_0x35f725[_0x1b16b7(0x370)][_0x1b16b7(0x371)],'pivotTableId':_0x35f725[_0x1b16b7(0x495)],'targetCellPosition':{'row':_0x35f725['targetCellInfo']['row'],'col':_0x35f725[_0x1b16b7(0x370)][_0x1b16b7(0x345)]}}}],_0x25c6d5=[{'id':_0x1a0c37['id'],'params':{'unitId':_0x101987,'subUnitId':_0x57eaef,'pivotTableId':_0x35f725[_0x1b16b7(0x495)],'targetCellPosition':{'row':_0x35322c['targetCellInfo']['row'],'col':_0x35322c[_0x1b16b7(0x370)][_0x1b16b7(0x345)]}}}];return _0x1c6d43[_0x1b16b7(0x1f4)](_0x15e264,_0x27f666)&&_0x202f85[_0x1b16b7(0x4af)]({'unitID':_0x101987,'undoMutations':_0x25c6d5,'redoMutations':_0x15e264}),!0x0;}},_0x334bf9={'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x3ce),async 'handler'(_0x1b79e2,_0x5c057d){const _0x3fa5c9=_0x1a5c4f;var _0x2e073d;if(!_0x5c057d)return!0x1;const _0x4a1f14=_0x1b79e2[_0x3fa5c9(0x420)](_0x1c6d43['IUniverInstanceService']),_0x262389=_0x887798['getSheetCommandTarget'](_0x4a1f14);if(!_0x262389)return!0x1;const {unitId:_0x580dc3,subUnitId:_0x23ea17,workbook:_0xe42067}=_0x262389,{row:_0x11df1a,col:_0x50118d}=_0x5c057d,_0x41527e=_0x1b79e2[_0x3fa5c9(0x420)](_0x10e2e1[_0x3fa5c9(0x36c)]),_0x182272=_0x41527e['getPivotTableIdByCell'](_0x580dc3,_0x23ea17,_0x11df1a,_0x50118d);if(!_0x182272)return!0x1;const _0x40754c=(_0x2e073d=_0x41527e[_0x3fa5c9(0x2df)](_0x580dc3,_0x23ea17,_0x182272))==null?void 0x0:_0x2e073d[_0x3fa5c9(0x434)];if(!_0x40754c)return!0x1;const _0x1bcb1c=_0x1b79e2[_0x3fa5c9(0x420)](_0x10e2e1['SheetsPivotTableConfigModel'])[_0x3fa5c9(0x493)](_0x580dc3,_0x23ea17,_0x182272);if(!_0x1bcb1c)return!0x1;const {rowInfo:_0x4c86d4,colInfo:_0x55550d}=_0x40754c,_0x9c58fc=_0x4c86d4[_0x11df1a][_0x3fa5c9(0x27f)],_0x1ac170=_0x55550d[_0x50118d][_0x3fa5c9(0x27f)],_0x225de7=_0x4c86d4[_0x11df1a][_0x3fa5c9(0x2d5)],_0x3d9101=_0x55550d[_0x50118d][_0x3fa5c9(0x2d5)],_0x2d5d6c=_0x9c58fc['concat'](_0x1ac170),_0x2ba5f8=_0x1bcb1c[_0x3fa5c9(0x3d5)][_0x3fa5c9(0x224)][_0x3fa5c9(0x498)](0x0,_0x225de7),_0x50ecd9=_0x1bcb1c[_0x3fa5c9(0x3d5)][_0x3fa5c9(0x3f0)][_0x3fa5c9(0x498)](0x0,_0x3d9101),_0x51796d=_0x2ba5f8[_0x3fa5c9(0x295)](_0x50ecd9),_0x5e2d90=_0x2d5d6c[_0x3fa5c9(0x381)]((_0x172526,_0x345593)=>[_0x172526,_0x51796d[_0x345593]]),_0x5ab0b4=(await _0x1b79e2[_0x3fa5c9(0x420)](_0x10e2e1[_0x3fa5c9(0x2ec)])[_0x3fa5c9(0x329)]({'unitId':_0x580dc3,'subUnitId':_0x23ea17,'pivotTableId':_0x182272,'params':{'type':_0x4218a2[_0x3fa5c9(0x205)],'drillDown':{'tuple':_0x5e2d90}}}))[_0x3fa5c9(0x240)][_0x3fa5c9(0x25a)];if(!_0x5ab0b4)return!0x1;const {indexes:_0x28ccf0,range:_0x1b25fa,sourceUnitId:_0x55b3b1,sourceSubUnitId:_0x1ae5e2,formatMap:_0x2b8933}=_0x5ab0b4,{startRow:_0x26bb9b,endRow:_0x265ff7,startColumn:_0x39beb2,endColumn:_0x11093e}=_0x1b25fa,_0x2cc09f=new _0x1c6d43[(_0x3fa5c9(0x4b5))](),_0x4ea182=_0x265ff7-_0x26bb9b,_0x4e5d54=_0x11093e-_0x39beb2,_0x164274={},_0x38d83b=_0x887798[_0x3fa5c9(0x41d)](_0x4a1f14,{'unitId':_0x55b3b1,'subUnitId':_0x1ae5e2});if(!_0x38d83b)return!0x1;const _0x3531fc=_0x4c04b6[_0x3fa5c9(0x273)],_0x1fbbe9=_0x4c04b6['subTotalStyle'],_0x53dbce=_0x4c04b6['subTotalStyle'],_0x25efc2=_0xe42067[_0x3fa5c9(0x3b5)]()[_0x3fa5c9(0x1bb)](_0x3531fc),_0x3226af=_0xe42067['getStyles']()[_0x3fa5c9(0x1bb)](_0x1fbbe9),_0x264b4e=_0xe42067[_0x3fa5c9(0x3b5)]()['setValue'](_0x53dbce),{worksheet:_0x6348bd}=_0x38d83b;let _0x1eee4e=0x0;const _0x210e62=0x1;_0x28ccf0[_0x3fa5c9(0x289)](_0x19fa53=>{const _0x1ac552=_0x3fa5c9;for(let _0x1f55d3=0x0;_0x1f55d3<=_0x11093e-_0x39beb2;_0x1f55d3++)_0x2cc09f[_0x1ac552(0x1bb)](_0x1eee4e,_0x1f55d3,_0x6348bd['getCellRaw'](_0x19fa53+_0x1b25fa[_0x1ac552(0x407)]+_0x210e62,_0x1f55d3));_0x1eee4e++;});for(let _0x4e610c=_0x39beb2;_0x4e610c<=_0x11093e;_0x4e610c++){const _0x5cd18e=_0x6348bd[_0x3fa5c9(0x2e8)](_0x26bb9b,_0x4e610c);_0x164274[_0x26bb9b]||(_0x164274[_0x26bb9b]={}),_0x164274[_0x26bb9b][_0x4e610c]={..._0x5cd18e,'s':_0x25efc2};}let _0x3c448f=0x1;const _0x441896={},_0x276aee={};_0x2cc09f['forRow']((_0x4cfd00,_0x25b4c4)=>{_0x25b4c4['forEach'](_0x2ed92e=>{const _0xd8f402=_0x2581,_0x2223b4=_0x2cc09f[_0xd8f402(0x2dd)](_0x4cfd00,_0x2ed92e);if(_0x164274[_0x3c448f]||(_0x164274[_0x3c448f]={}),_0x164274[_0x3c448f][_0x2ed92e]={..._0x2223b4,'s':_0x3c448f%0x2===0x0?_0x264b4e:_0x3226af},_0x2b8933[_0x2ed92e]&&_0x4cfd00>=0x0){const _0x2e0ebd=_0x3c448f%0x2===0x0;let _0x5ed1e7=_0x2e0ebd?_0x276aee[_0x2ed92e]:_0x441896[_0x2ed92e];_0x5ed1e7||(_0x5ed1e7=_0xe42067[_0xd8f402(0x3b5)]()['setValue']({..._0x2e0ebd?_0x53dbce:_0x1fbbe9,'n':{'pattern':_0x2b8933[_0x2ed92e]}}),_0x2e0ebd?_0x276aee[_0x2ed92e]=_0x5ed1e7:_0x441896[_0x2ed92e]=_0x5ed1e7),_0x164274[_0x3c448f][_0x2ed92e]['s']=_0x5ed1e7;}}),_0x3c448f++;});const _0x18eab4=new _0x1c6d43[(_0x3fa5c9(0x4b5))](_0x164274),_0x9af283={};_0x18eab4[_0x3fa5c9(0x39a)]((_0x513c2f,_0x5d5f35,_0x3f1aa2)=>{_0x9af283[_0x513c2f]||(_0x9af283[_0x513c2f]={}),_0x9af283[_0x513c2f][_0x5d5f35]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x251b28=[],_0x42fe6e=[],_0x247750=_0xe42067[_0x3fa5c9(0x306)]()['length'],_0x3ee86c=_0x1c6d43['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x3fa5c9(0x20a)](_0x1c6d43['DEFAULT_WORKSHEET_ROW_COUNT'],_0x4ea182+0xa),'columnCount':Math[_0x3fa5c9(0x20a)](_0x1c6d43[_0x3fa5c9(0x492)],_0x4e5d54+0x5)}),_0x479776=_0x1b79e2[_0x3fa5c9(0x420)](_0x1c6d43[_0x3fa5c9(0x23d)]);_0x3ee86c['id']=_0x1c6d43[_0x3fa5c9(0x42f)](),_0x3ee86c[_0x3fa5c9(0x379)]=_0xe42067[_0x3fa5c9(0x49e)](''+_0x479776['t'](_0x3fa5c9(0x1d1)));const _0xa4a1d8={'index':_0x247750,'sheet':_0x3ee86c,'unitId':_0x580dc3},_0x3bbb5f=_0x887798[_0x3fa5c9(0x299)](_0x1b79e2,_0xa4a1d8);_0x42fe6e[_0x3fa5c9(0x35f)]({'id':_0x887798[_0x3fa5c9(0x1b4)]['id'],'params':_0xa4a1d8}),_0x251b28[_0x3fa5c9(0x35f)]({'id':_0x887798[_0x3fa5c9(0x31f)]['id'],'params':_0x3bbb5f}),_0x42fe6e[_0x3fa5c9(0x35f)]({'id':_0x887798[_0x3fa5c9(0x3dc)]['id'],'params':{'unitId':_0x580dc3,'subUnitId':_0x3ee86c['id'],'cellValue':_0x164274}}),_0x251b28[_0x3fa5c9(0x321)]({'id':_0x887798[_0x3fa5c9(0x3dc)]['id'],'params':{'unitId':_0x580dc3,'subUnitId':_0x3ee86c['id'],'cellValue':_0x9af283}});const _0x2e165d={'startRow':0x0,'startColumn':0x0,'endRow':_0x3c448f-0x1,'endColumn':_0x11093e};_0x42fe6e['push']({'id':_0xcdcfb[_0x3fa5c9(0x344)]['id'],'params':{'unitId':_0x580dc3,'subUnitId':_0x3ee86c['id'],'range':_0x2e165d}}),_0x251b28[_0x3fa5c9(0x321)]({'id':_0xcdcfb[_0x3fa5c9(0x39f)]['id'],'params':{'unitId':_0x580dc3,'subUnitId':_0x3ee86c['id']}});const _0x401cce=_0x1b79e2[_0x3fa5c9(0x420)](_0x1c6d43[_0x3fa5c9(0x3fa)]);return _0x1c6d43[_0x3fa5c9(0x1f4)](_0x42fe6e,_0x401cce)&&_0x1b79e2['get'](_0x1c6d43[_0x3fa5c9(0x1e1)])['pushUndoRedo']({'unitID':_0x580dc3,'undoMutations':_0x251b28,'redoMutations':_0x42fe6e}),!0x0;}},_0x4a5912={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x3ad),async 'handler'(_0x5460a0,_0x424958){const _0x4aba43=_0x1a5c4f;if(!_0x424958)return!0x1;const _0x41c116=_0x5460a0['get'](_0x1c6d43['ICommandService']),_0x14ee9f=_0x5460a0['get'](_0x10e2e1[_0x4aba43(0x2ec)]),_0x5c5842=_0x5460a0[_0x4aba43(0x420)](_0x1c6d43[_0x4aba43(0x1e1)]),{pivotTableId:_0x507df2,fieldIds:_0xad0a84,unitId:_0x15e713,subUnitId:_0x32fb76}=_0x424958,_0x40e63a=(await _0x14ee9f['getPivotDisplayConfig']({'unitId':_0x15e713,'subUnitId':_0x32fb76,'pivotTableId':_0x507df2,'params':{'type':_0x4218a2[_0x4aba43(0x3c8)],'removePivotField':{'fieldIds':_0xad0a84}}}))[_0x4aba43(0x240)]['removePivotField'];if(!_0x40e63a)return!0x1;const {view:_0x17a7ad,changesets:_0x3e0632,isEmpty:_0x2d9cc3,pivotTableConfig:_0x4f5825}=_0x40e63a,_0xf23c55=_0x4f5825[_0x4aba43(0x370)],_0x437c4d=new _0x5ae8cc[(_0x4aba43(0x29b))]();_0x437c4d[_0x4aba43(0x491)](_0x17a7ad);const _0x405fb5={'cellInfo':_0xf23c55,'view':_0x437c4d,'isEmpty':_0x2d9cc3};if(!await _0x5460a0[_0x4aba43(0x420)](_0x10e2e1[_0x4aba43(0x2ea)])[_0x4aba43(0x1ff)][_0x4aba43(0x340)](_0x47bd9f)(!0x0,_0x405fb5))return!0x1;const _0x5a56c3=_0x9427db(_0x5460a0,_0x437c4d,_0xf23c55,_0x2d9cc3),_0x421f8d=_0x401911(_0x5460a0,_0x405fb5),{redos:_0x9e9c91,undos:_0x1ae2ba}=_0xa3da40(_0x41c116,{'pivotTableId':_0x507df2,'unitId':_0x15e713,'subUnitId':_0x32fb76},_0x3e0632);return _0x1c6d43[_0x4aba43(0x1f4)]([..._0x5a56c3[_0x4aba43(0x2fd)],..._0x421f8d[_0x4aba43(0x2fd)],..._0x9e9c91],_0x41c116),_0x5c5842[_0x4aba43(0x4af)]({'unitID':_0x15e713,'redoMutations':[..._0x5a56c3[_0x4aba43(0x2fd)],..._0x421f8d['redos'],..._0x9e9c91],'undoMutations':[..._0x5a56c3[_0x4aba43(0x3de)],..._0x421f8d[_0x4aba43(0x3de)],..._0x1ae2ba]}),!0x0;}},_0x46d7f2={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x23f),async 'handler'(_0x83edbf,_0x41f18e){const _0x179eb9=_0x1a5c4f;if(!_0x41f18e)return!0x1;const _0x15cea7=_0x83edbf[_0x179eb9(0x420)](_0x1c6d43[_0x179eb9(0x3fa)]),_0x16bce0=_0x83edbf[_0x179eb9(0x420)](_0x1c6d43[_0x179eb9(0x1e1)]),_0x16bcaa=_0x83edbf[_0x179eb9(0x420)](_0x10e2e1[_0x179eb9(0x2ec)]),{resetArea:_0x57da25,pivotTableId:_0x4e0363,unitId:_0x31def6,subUnitId:_0xc9d024}=_0x41f18e,_0x5488fc=(await _0x16bcaa[_0x179eb9(0x329)]({'unitId':_0x31def6,'subUnitId':_0xc9d024,'pivotTableId':_0x4e0363,'params':{'type':_0x4218a2[_0x179eb9(0x3ec)],'resetPivotTable':{'pivotTableId':_0x4e0363,'resetArea':_0x57da25}}}))[_0x179eb9(0x240)][_0x179eb9(0x40d)];if(!_0x5488fc)return!0x1;const {changesets:_0x28343c}=_0x5488fc,{redos:_0x48c231,undos:_0x2c9e29}=_0xa3da40(_0x15cea7,{'pivotTableId':_0x4e0363,'unitId':_0x31def6,'subUnitId':_0xc9d024},_0x28343c);return _0x1c6d43[_0x179eb9(0x1f4)](_0x48c231,_0x15cea7),_0x16bce0[_0x179eb9(0x4af)]({'unitID':_0x31def6,'redoMutations':_0x48c231,'undoMutations':_0x2c9e29}),!0x0;}},_0x5e2c13={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x274064,_0x4be26d){const _0x45cc07=_0x1a5c4f,_0x57e187=_0x274064[_0x45cc07(0x420)](_0x1c6d43[_0x45cc07(0x3fa)]),_0x211f49=_0x274064[_0x45cc07(0x420)](_0x10e2e1[_0x45cc07(0x2ec)]),_0x4619dc=_0x274064['get'](_0x10e2e1[_0x45cc07(0x36c)]),_0x49107c=_0x274064[_0x45cc07(0x420)](_0x1c6d43[_0x45cc07(0x4a9)]),_0x117243=_0x274064['get'](_0x1c6d43[_0x45cc07(0x23d)]),_0x547325=_0x274064['get'](_0x1c6d43['IUndoRedoService']);if(!_0x4be26d)return!0x1;const {unitId:_0x4f1dac,subUnitId:_0x409f24,row:_0xbdfe73,col:_0x16b251,collapse:_0x29bd13}=_0x4be26d,_0x10b185=_0x49107c[_0x45cc07(0x46a)](_0x4f1dac);if(!_0x10b185||!_0x10b185[_0x45cc07(0x2a2)](_0x409f24))return!0x1;const _0x4abdf1=_0x4619dc[_0x45cc07(0x243)](_0x4f1dac,_0x409f24,_0xbdfe73,_0x16b251);if(!_0x4abdf1)return!0x1;const _0xe8cd5=_0x4619dc[_0x45cc07(0x2df)](_0x4f1dac,_0x409f24,_0x4abdf1);if(!_0xe8cd5)return!0x1;const _0x5eee17=_0x1c6d43[_0x45cc07(0x490)](_0xbdfe73,_0x16b251),{rangesInfo:_0x522a3f,areaInfo:_0x8dcb9a,headerMap:_0x450a19}=_0xe8cd5;if(!_0x522a3f||!_0x8dcb9a||!_0x450a19)return!0x1;const _0x16771b=Object[_0x45cc07(0x1d2)](_0x522a3f)[_0x45cc07(0x35c)](_0x4f14de=>_0x522a3f[_0x4f14de][_0x45cc07(0x446)](_0x2ca2d8=>_0x1c6d43[_0x45cc07(0x43b)][_0x45cc07(0x2e7)](_0x2ca2d8,_0x5eee17)));let _0x318783;_0x16771b==='rowRanges'?_0x318783=_0x450a19[_0x45cc07(0x374)][_0x16b251]:_0x16771b===_0x45cc07(0x1b0)&&(_0x318783=_0x450a19[_0x45cc07(0x387)][_0xbdfe73]);const _0xdab411=_0x318783==null?void 0x0:_0x318783['tableFieldId'],_0xa6c754=_0x4619dc[_0x45cc07(0x439)](_0x4f1dac,_0x409f24,_0xbdfe73,_0x16b251);let _0xbe0633=_0xa6c754==null?void 0x0:_0xa6c754['v'];if(_0xbe0633===_0x117243['t']('sheets-pivot.blank')&&(_0xbe0633=_0x5ae8cc[_0x45cc07(0x4ab)]['BLANK_PLACEHOLDER']),_0xbe0633==null||!_0x4abdf1||!_0xdab411)return!0x1;const _0x5a4652=await _0x211f49['getPivotDisplayConfig']({'unitId':_0x4f1dac,'subUnitId':_0x409f24,'pivotTableId':_0x4abdf1,'params':{'type':_0x4218a2['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0xdab411,'collapse':_0x29bd13,'item':_0xbe0633}}}),_0x3dfcf4=_0x5a4652==null?void 0x0:_0x5a4652['result'][_0x45cc07(0x3bc)];if(!_0x3dfcf4)return!0x1;const {view:_0x3083e1,pivotTableConfig:_0xe67b5e,isEmpty:_0x56076b,changesets:_0x283ceb}=_0x3dfcf4,_0x5b2976=new _0x5ae8cc[(_0x45cc07(0x29b))]();_0x5b2976[_0x45cc07(0x491)](_0x3083e1);const _0x347fa9=_0xe67b5e['targetCellInfo'],_0x23b0a4={'cellInfo':_0x347fa9,'view':_0x5b2976,'isEmpty':_0x56076b};if(!await _0x274064[_0x45cc07(0x420)](_0x10e2e1['SheetsPivotTableService'])[_0x45cc07(0x1ff)][_0x45cc07(0x340)](_0x47bd9f)(!0x0,_0x23b0a4))return!0x1;const _0x35aced=_0x9427db(_0x274064,_0x5b2976,_0x347fa9,_0x56076b),_0x56f6de=_0x401911(_0x274064,_0x23b0a4),{redos:_0x18c44f,undos:_0x2271e5}=_0xa3da40(_0x57e187,{'pivotTableId':_0x4abdf1,'unitId':_0x4f1dac,'subUnitId':_0x409f24},_0x283ceb);return _0x1c6d43[_0x45cc07(0x1f4)]([..._0x35aced[_0x45cc07(0x2fd)],..._0x56f6de['redos'],..._0x18c44f],_0x57e187),_0x547325[_0x45cc07(0x4af)]({'unitID':_0x4f1dac,'redoMutations':[..._0x35aced[_0x45cc07(0x2fd)],..._0x56f6de['redos'],..._0x18c44f],'undoMutations':[..._0x35aced['undos'],..._0x56f6de['undos'],..._0x2271e5]}),!0x0;}},_0x41f50c={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x235),async 'handler'(_0x106a46,_0x2fe47a){const _0x67569a=_0x1a5c4f;if(!_0x2fe47a)return!0x1;const _0x3a5253=_0x106a46[_0x67569a(0x420)](_0x1c6d43['ICommandService']),_0x2d489f=_0x106a46['get'](_0x1c6d43[_0x67569a(0x1e1)]),_0x440375=_0x106a46[_0x67569a(0x420)](_0x10e2e1[_0x67569a(0x2ec)]),{pivotTableConfig:_0x4f1828,pivotTableId:_0x4b2db0,unitId:_0x5470c1,subUnitId:_0x3941a8}=_0x2fe47a,_0x28b865=(await _0x440375['getPivotDisplayConfig']({'unitId':_0x5470c1,'subUnitId':_0x3941a8,'pivotTableId':_0x4b2db0,'params':{'type':_0x4218a2[_0x67569a(0x242)],'setPivotTableConfig':{'pivotTableId':_0x4b2db0,'pivotTableConfig':_0x4f1828}}}))[_0x67569a(0x240)][_0x67569a(0x43a)];if(!_0x28b865)return!0x1;const {changesets:_0x3267cf}=_0x28b865,{redos:_0x36264d,undos:_0x4292ff}=_0xa3da40(_0x3a5253,{'pivotTableId':_0x4b2db0,'unitId':_0x5470c1,'subUnitId':_0x3941a8},_0x3267cf);return _0x1c6d43[_0x67569a(0x1f4)](_0x36264d,_0x3a5253),_0x2d489f[_0x67569a(0x4af)]({'unitID':_0x5470c1,'redoMutations':_0x36264d,'undoMutations':_0x4292ff}),!0x0;}},_0x11c222={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x496),async 'handler'(_0x3d8f36,_0x18867b){const _0x5dda44=_0x1a5c4f;if(!_0x18867b)return!0x1;const _0x535d72=_0x3d8f36[_0x5dda44(0x420)](_0x1c6d43[_0x5dda44(0x3fa)]),{pivotTableId:_0x5baecf,tableFieldId:_0x2cfeeb,items:_0x1984e7,unitId:_0x2b23d5,subUnitId:_0x25818e,isAll:_0x1e7c33}=_0x18867b,_0x1204c6=_0x3d8f36['get'](_0x10e2e1[_0x5dda44(0x2ec)]),_0x1cdf1f=_0x3d8f36[_0x5dda44(0x420)](_0x1c6d43[_0x5dda44(0x1e1)]),_0xe1b7d5=(await _0x1204c6[_0x5dda44(0x329)]({'unitId':_0x2b23d5,'subUnitId':_0x25818e,'pivotTableId':_0x5baecf,'params':{'type':_0x4218a2[_0x5dda44(0x426)],'setPivotFilter':{'tableFieldId':_0x2cfeeb,'items':_0x1984e7,'isAll':_0x1e7c33}}}))['result'][_0x5dda44(0x1f5)];if(!_0xe1b7d5)return!0x1;const {changesets:_0x54f6c3,pivotTableConfig:_0x2aeef7,isEmpty:_0x20e3a2,view:_0x1c106e}=_0xe1b7d5,_0x2d1f60=_0x2aeef7['targetCellInfo'],_0x34c87b=new _0x5ae8cc[(_0x5dda44(0x29b))]();_0x34c87b[_0x5dda44(0x491)](_0x1c106e);const _0xa74c0b={'cellInfo':_0x2d1f60,'view':_0x34c87b,'isEmpty':_0x20e3a2};if(!await _0x3d8f36[_0x5dda44(0x420)](_0x10e2e1[_0x5dda44(0x2ea)])[_0x5dda44(0x1ff)][_0x5dda44(0x340)](_0x47bd9f)(!0x0,_0xa74c0b))return!0x1;const _0x2d5c08=_0x9427db(_0x3d8f36,_0x34c87b,_0x2d1f60,_0x20e3a2),_0xfe472d=_0x401911(_0x3d8f36,_0xa74c0b),{undos:_0xa11073,redos:_0x29f8cb}=_0xa3da40(_0x535d72,{'pivotTableId':_0x5baecf,'unitId':_0x2b23d5,'subUnitId':_0x25818e},_0x54f6c3);return _0x1c6d43[_0x5dda44(0x1f4)]([..._0x2d5c08['redos'],..._0xfe472d[_0x5dda44(0x2fd)],..._0x29f8cb],_0x535d72),_0x1cdf1f[_0x5dda44(0x4af)]({'unitID':_0x2b23d5,'redoMutations':[..._0x2d5c08[_0x5dda44(0x2fd)],..._0xfe472d[_0x5dda44(0x2fd)],..._0x29f8cb],'undoMutations':[..._0x2d5c08[_0x5dda44(0x3de)],..._0xfe472d[_0x5dda44(0x3de)],..._0xa11073]}),!0x0;}},_0x11aada={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x3da),async 'handler'(_0x55d05b,_0x810b0c){const _0x5dee58=_0x1a5c4f;if(!_0x810b0c)return!0x1;const _0x3cbea4=_0x55d05b[_0x5dee58(0x420)](_0x1c6d43[_0x5dee58(0x3fa)]),_0x2be690=_0x55d05b[_0x5dee58(0x420)](_0x1c6d43[_0x5dee58(0x1e1)]),_0x43eae8=_0x55d05b[_0x5dee58(0x420)](_0x10e2e1[_0x5dee58(0x2ec)]),{info:_0x426198,tableFieldId:_0x4997ed,pivotTableId:_0x344c19,unitId:_0x454b5f,subUnitId:_0x1a5a39}=_0x810b0c,_0x10e83c=(await _0x43eae8[_0x5dee58(0x329)]({'unitId':_0x454b5f,'subUnitId':_0x1a5a39,'pivotTableId':_0x344c19,'params':{'type':_0x4218a2[_0x5dee58(0x23c)],'setPivotSort':{'tableFieldId':_0x4997ed,'info':_0x426198}}}))['result'][_0x5dee58(0x2cb)];if(!_0x10e83c)return!0x1;const {changesets:_0x5a5ad9}=_0x10e83c,{redos:_0x1eec05,undos:_0x291951}=_0xa3da40(_0x3cbea4,{'pivotTableId':_0x344c19,'unitId':_0x454b5f,'subUnitId':_0x1a5a39},_0x5a5ad9);return _0x1c6d43[_0x5dee58(0x1f4)](_0x1eec05,_0x3cbea4),_0x2be690[_0x5dee58(0x4af)]({'unitID':_0x454b5f,'redoMutations':_0x1eec05,'undoMutations':_0x291951}),!0x0;}},_0x9bf298={'type':_0x1c6d43[_0x1a5c4f(0x248)]['COMMAND'],'id':_0x1a5c4f(0x46d),async 'handler'(_0x113308,_0x2ca983){const _0x36971e=_0x1a5c4f;if(!_0x2ca983)return!0x1;const _0xe4becf=_0x113308[_0x36971e(0x420)](_0x1c6d43[_0x36971e(0x3fa)]),{pivotTableId:_0x51d2c9,fieldId:_0x410494,valueFilterInfo:_0x43b486,unitId:_0x4b40fd,subUnitId:_0x38313f}=_0x2ca983,_0x537831=_0x113308[_0x36971e(0x420)](_0x10e2e1[_0x36971e(0x2ec)]),_0x487b63=_0x113308[_0x36971e(0x420)](_0x1c6d43[_0x36971e(0x1e1)]),_0x399569=(await _0x537831[_0x36971e(0x329)]({'unitId':_0x4b40fd,'subUnitId':_0x38313f,'pivotTableId':_0x51d2c9,'params':{'type':_0x4218a2['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x410494,'filterInfo':_0x43b486}}}))[_0x36971e(0x240)][_0x36971e(0x1f1)];if(!_0x399569)return!0x1;const {changesets:_0x43343e,pivotTableConfig:_0x1c7f91,isEmpty:_0x3a3cba,view:_0x562c4a}=_0x399569,_0x559849=_0x1c7f91['targetCellInfo'],_0x59dbbd=new _0x5ae8cc[(_0x36971e(0x29b))]();_0x59dbbd[_0x36971e(0x491)](_0x562c4a);const _0x47d3c5={'cellInfo':_0x559849,'view':_0x59dbbd,'isEmpty':_0x3a3cba};if(!await _0x113308['get'](_0x10e2e1[_0x36971e(0x2ea)])[_0x36971e(0x1ff)][_0x36971e(0x340)](_0x47bd9f)(!0x0,_0x47d3c5))return!0x1;const _0x439f08=_0x9427db(_0x113308,_0x59dbbd,_0x559849,_0x3a3cba),_0x9d6b85=_0x401911(_0x113308,_0x47d3c5),{undos:_0x3f5e2c,redos:_0x2bde8b}=_0xa3da40(_0xe4becf,{'pivotTableId':_0x51d2c9,'unitId':_0x4b40fd,'subUnitId':_0x38313f},_0x43343e);return _0x1c6d43['sequenceExecute']([..._0x439f08[_0x36971e(0x2fd)],..._0x9d6b85['redos'],..._0x2bde8b],_0xe4becf),_0x487b63['pushUndoRedo']({'unitID':_0x4b40fd,'redoMutations':[..._0x439f08['redos'],..._0x9d6b85[_0x36971e(0x2fd)],..._0x2bde8b],'undoMutations':[..._0x439f08[_0x36971e(0x3de)],..._0x9d6b85[_0x36971e(0x3de)],..._0x3f5e2c]}),!0x0;}},_0x1efd0f={'id':_0x1a5c4f(0x3fe),'type':_0x1c6d43[_0x1a5c4f(0x248)]['MUTATION'],'handler':(_0x3971b8,_0x50a273)=>{const _0x5f3d59=_0x1a5c4f;if(!_0x50a273)return!0x1;if(!!_0x3971b8[_0x5f3d59(0x420)](_0x1c6d43['IConfigService'])['getConfig'](_0x82779a))return!0x0;const {unitId:_0x25a706,subUnitId:_0x14de57,pivotTableId:_0x575676,tableFieldId:_0x489368,dateType:_0x4e550a}=_0x50a273,_0x3c4941=_0x3971b8[_0x5f3d59(0x420)](_0x10e2e1[_0x5f3d59(0x44f)]),_0x333cc7=_0x3c4941[_0x5f3d59(0x23e)](_0x575676);if(!_0x333cc7)return!0x1;const _0x95645a=_0x333cc7[_0x5f3d59(0x3e6)](_0x489368);if(!_0x95645a)return!0x1;const _0x318621=_0x95645a[_0x5f3d59(0x34d)](),_0x2aec55=_0x333cc7[_0x5f3d59(0x1ab)](_0x318621),_0x836246=(_0x2aec55==null?void 0x0:_0x2aec55[_0x5f3d59(0x343)]())+'\x20'+_0xc3c7f1(_0x3971b8,_0x4e550a);_0x3c4941['getCollection'](_0x25a706,_0x575676)[_0x5f3d59(0x218)](_0x95645a['id'],_0x836246);const _0x2e1269=_0x333cc7[_0x5f3d59(0x246)](_0x489368);if(!_0x2e1269)return!0x1;_0x333cc7[_0x5f3d59(0x267)](_0x2e1269[_0x5f3d59(0x1fc)](),_0x836246),_0x95645a[_0x5f3d59(0x41a)](_0x4e550a);const _0xebf41a=_0x3c4941[_0x5f3d59(0x493)](_0x25a706,_0x14de57,_0x575676);return _0x3c4941[_0x5f3d59(0x255)]({'unitId':_0x25a706,'subUnitId':_0x14de57,'token':_0x575676,'type':_0x15c80f[_0x5f3d59(0x2d4)],'pivotConfig':_0xebf41a}),!0x0;}},_0x31223d={'id':_0x1a5c4f(0x2ed),'type':_0x1c6d43['CommandType']['COMMAND'],'handler':(_0x190f24,_0x1835db)=>{const _0x151ce4=_0x1a5c4f;if(!_0x1835db)return!0x1;const _0x2fcc18=_0x190f24['get'](_0x1c6d43[_0x151ce4(0x1e1)]),{unitId:_0x5af2a6,subUnitId:_0x4a0207,pivotTableId:_0x4da690,tableFieldId:_0x2aa538}=_0x1835db,_0x2a4861=[],_0x2d4458=[],_0x4bb83c=_0x190f24[_0x151ce4(0x420)](_0x10e2e1[_0x151ce4(0x212)]),_0xe654e4=_0x4bb83c[_0x151ce4(0x27c)](_0x5af2a6,_0x4da690),_0x1a9fd8=_0x4bb83c[_0x151ce4(0x493)](_0x5af2a6,_0x4a0207,_0x4da690);if(!(_0x1a9fd8!=null&&_0x1a9fd8[_0x151ce4(0x3d5)][_0x151ce4(0x20c)]))return!0x1;const _0x3726e7=Object['values'](_0x1a9fd8['fieldsConfig'][_0x151ce4(0x20c)])['find'](_0x1e5ab5=>_0x1e5ab5['id']===_0x2aa538);if(!_0x3726e7)return!0x1;const _0x1e59e9=_0x3726e7[_0x151ce4(0x452)];if(!(_0xe654e4!=null&&_0xe654e4['fields']))return!0x1;const _0x1739ec=Object[_0x151ce4(0x468)](_0xe654e4==null?void 0x0:_0xe654e4[_0x151ce4(0x2ab)])[_0x151ce4(0x35c)](_0x3e9959=>_0x3e9959['id']===_0x1e59e9);if(!_0x1739ec)return!0x1;_0x5ae8cc[_0x151ce4(0x476)](_0x1739ec)&&_0x2a4861[_0x151ce4(0x35f)]({'id':_0x1efd0f['id'],'params':{..._0x1835db,'dateType':_0x1739ec[_0x151ce4(0x316)]}}),_0x2d4458[_0x151ce4(0x35f)]({'id':_0x1efd0f['id'],'params':{..._0x1835db}});const _0x5253a1=_0x190f24[_0x151ce4(0x420)](_0x1c6d43[_0x151ce4(0x3fa)]);return _0x1c6d43['sequenceExecute'](_0x2d4458,_0x5253a1)&&_0x2fcc18['pushUndoRedo']({'unitID':_0x5af2a6,'undoMutations':_0x2a4861,'redoMutations':_0x2d4458}),!0x0;}},_0x473c96={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x1c9),async 'handler'(_0x21b363,_0x366eed){const _0x4d4c9f=_0x1a5c4f;if(!_0x366eed)return!0x1;const _0x5b4e4a=_0x21b363['get'](_0x1c6d43[_0x4d4c9f(0x3fa)]),_0x4c5819=_0x21b363[_0x4d4c9f(0x420)](_0x1c6d43['IUndoRedoService']),_0x44a5ca=_0x21b363[_0x4d4c9f(0x420)](_0x10e2e1[_0x4d4c9f(0x2ec)]),{displayName:_0x1a5f6d,subtotalType:_0x13b390,format:_0x474cd5,tableFieldId:_0x4a238a,pivotTableId:_0x565f1e,unitId:_0x5e5e42,subUnitId:_0x1eb043}=_0x366eed,_0x385f34=(await _0x44a5ca[_0x4d4c9f(0x329)]({'unitId':_0x5e5e42,'subUnitId':_0x1eb043,'pivotTableId':_0x565f1e,'params':{'type':_0x4218a2[_0x4d4c9f(0x28a)],'setPivotSetting':{'tableFieldId':_0x4a238a,'displayName':_0x1a5f6d,'subtotalType':_0x13b390,'format':_0x474cd5}}}))[_0x4d4c9f(0x240)]['setPivotSetting'];if(!_0x385f34)return!0x1;const {changesets:_0x4be8ad,view:_0x130872,pivotTableConfig:_0x16d501,isEmpty:_0x4b189a}=_0x385f34,_0x954a9f=_0x16d501[_0x4d4c9f(0x370)],_0x549c89=new _0x5ae8cc['PivotView']();_0x549c89[_0x4d4c9f(0x491)](_0x130872);const _0x5e2a02={'cellInfo':_0x954a9f,'view':_0x549c89,'isEmpty':_0x4b189a};if(!await _0x21b363[_0x4d4c9f(0x420)](_0x10e2e1[_0x4d4c9f(0x2ea)])[_0x4d4c9f(0x1ff)][_0x4d4c9f(0x340)](_0x47bd9f)(!0x0,_0x5e2a02))return!0x1;const _0x494816=_0x9427db(_0x21b363,_0x549c89,_0x954a9f,_0x4b189a),_0x498d6e=_0x401911(_0x21b363,_0x5e2a02),{undos:_0x5572d0,redos:_0x31b6f2}=_0xa3da40(_0x5b4e4a,{'pivotTableId':_0x565f1e,'unitId':_0x5e5e42,'subUnitId':_0x1eb043},_0x4be8ad);return _0x1c6d43['sequenceExecute']([..._0x494816[_0x4d4c9f(0x2fd)],..._0x498d6e[_0x4d4c9f(0x2fd)],..._0x31b6f2],_0x5b4e4a),_0x4c5819[_0x4d4c9f(0x4af)]({'unitID':_0x5e5e42,'redoMutations':[..._0x494816[_0x4d4c9f(0x2fd)],..._0x498d6e[_0x4d4c9f(0x2fd)],..._0x31b6f2],'undoMutations':[..._0x494816[_0x4d4c9f(0x3de)],..._0x498d6e[_0x4d4c9f(0x3de)],..._0x5572d0]}),!0x0;}},_0x78152={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x48f),'handler'(_0x43982b,_0x149da5){const _0xa95712=_0x1a5c4f;if(!_0x149da5)return!0x1;if(!!_0x43982b[_0xa95712(0x420)](_0x1c6d43[_0xa95712(0x31a)])[_0xa95712(0x26c)](_0x82779a))return!0x0;const _0x3b54d3=_0x43982b[_0xa95712(0x420)](_0x10e2e1[_0xa95712(0x44f)]),{pivotTableId:_0x22d783,deleteIds:_0x1e5c99,collectionJSON:_0x315a8e,dataRangeInfo:_0x42c9dd,unitId:_0x381f5,subUnitId:_0x27e1ef}=_0x149da5,_0x2edee0=_0x3b54d3[_0xa95712(0x23e)](_0x22d783),_0x485294=_0x3b54d3[_0xa95712(0x493)](_0x381f5,_0x27e1ef,_0x22d783);if(!_0x2edee0||!_0x485294)return!0x1;const {collection:_0x460ab6,updateDataFieldList:_0x1eb5b5}=_0x3b54d3[_0xa95712(0x1ad)](_0x22d783,_0x315a8e,_0x42c9dd,_0x485294[_0xa95712(0x370)]);_0x3b54d3['refreshData'](_0x460ab6,_0x1eb5b5,_0x42c9dd),_0x2edee0[_0xa95712(0x3bf)](_0x460ab6);for(const _0x37c70b of _0x1e5c99)_0x3b54d3['removeDataField'](_0x42c9dd['unitId'],_0x37c70b);const _0x610298=_0x3b54d3[_0xa95712(0x493)](_0x381f5,_0x27e1ef,_0x22d783);return _0x610298['sourceRangeInfo']=JSON[_0xa95712(0x251)](JSON['stringify'](_0x42c9dd)),_0x3b54d3['addDirtyPivotTable']({'unitId':_0x381f5,'subUnitId':_0x27e1ef,'token':_0x22d783,'type':_0x15c80f[_0xa95712(0x2d4)]}),!0x0;}},_0x30e45f={'type':_0x1c6d43['CommandType'][_0x1a5c4f(0x3aa)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0xd53259,_0x2b96fb){const _0x5898ea=_0x1a5c4f,_0x47b261=_0xd53259[_0x5898ea(0x420)](_0x1c6d43[_0x5898ea(0x3fa)]),_0x1fff67=_0xd53259[_0x5898ea(0x420)](_0x10e2e1['SheetsPivotRPCService']),_0x497243=_0xd53259[_0x5898ea(0x420)](_0x1c6d43[_0x5898ea(0x1e1)]);if(!_0x2b96fb)return!0x1;const {token:_0x4d4435,dataRangeInfo:_0x48d796,unitId:_0x2dac1b,subUnitId:_0x574745}=_0x2b96fb,_0x3bcf3c=[],_0xc6dbd=[],_0x4b76cf=(await _0x1fff67[_0x5898ea(0x329)]({'unitId':_0x2dac1b,'subUnitId':_0x574745,'pivotTableId':_0x4d4435,'params':{'type':_0x4218a2[_0x5898ea(0x470)],'updatePivotSource':{'dataRangeInfo':_0x48d796,'unitId':_0x2dac1b,'subUnitId':_0x574745}}}))[_0x5898ea(0x240)][_0x5898ea(0x214)];if(!_0x4b76cf)return!0x1;const {changesets:_0x465e54,deleteIds:_0x19b09d,collectionConfig:_0x28b1f7,oldCollectionConfig:_0x32801e,view:_0x3e8133,isEmpty:_0x4e8974,pivotTableConfig:_0x35e178}=_0x4b76cf;_0xc6dbd[_0x5898ea(0x35f)]({'id':_0x78152['id'],'params':{'pivotTableId':_0x4d4435,'deleteIds':_0x19b09d,'collectionJSON':_0x28b1f7,'dataRangeInfo':_0x48d796,'unitId':_0x2dac1b,'subUnitId':_0x574745}}),_0x3bcf3c[_0x5898ea(0x321)]({'id':_0x78152['id'],'params':{'pivotTableId':_0x4d4435,'deleteIds':[],'collectionJSON':_0x32801e,'dataRangeInfo':_0x35e178[_0x5898ea(0x430)],'unitId':_0x2dac1b,'subUnitId':_0x574745}});const _0x39913f=_0x35e178[_0x5898ea(0x370)],_0x509f9c=new _0x5ae8cc[(_0x5898ea(0x29b))]();_0x509f9c[_0x5898ea(0x491)](_0x3e8133);const _0x354cf5={'cellInfo':_0x39913f,'view':_0x509f9c,'isEmpty':_0x4e8974};if(!await _0xd53259[_0x5898ea(0x420)](_0x10e2e1[_0x5898ea(0x2ea)])[_0x5898ea(0x1ff)][_0x5898ea(0x340)](_0x47bd9f)(!0x0,_0x354cf5))return!0x1;const _0x105db0=_0x9427db(_0xd53259,_0x509f9c,_0x39913f,_0x4e8974),_0x4d214e=_0x401911(_0xd53259,_0x354cf5),{undos:_0x183013,redos:_0x27e0ed}=_0xa3da40(_0x47b261,{'pivotTableId':_0x4d4435,'unitId':_0x2dac1b,'subUnitId':_0x574745},_0x465e54);return _0x1c6d43[_0x5898ea(0x1f4)]([..._0x105db0[_0x5898ea(0x2fd)],..._0x4d214e['redos'],..._0xc6dbd,..._0x183013],_0x47b261),_0x497243['pushUndoRedo']({'unitID':_0x2dac1b,'redoMutations':[..._0x105db0['redos'],..._0x4d214e['redos'],..._0xc6dbd,..._0x183013],'undoMutations':[..._0x105db0['undos'],..._0x4d214e[_0x5898ea(0x3de)],..._0x3bcf3c,..._0x27e0ed]}),!0x0;}},_0x984d6e={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x3aa)],'id':_0x1a5c4f(0x48a),async 'handler'(_0x184f97,_0x1647d3){const _0x367d82=_0x1a5c4f;if(!_0x1647d3)return!0x1;const _0x3a191f=_0x184f97[_0x367d82(0x420)](_0x1c6d43[_0x367d82(0x3fa)]),_0x2ca9bd=_0x184f97['get'](_0x10e2e1[_0x367d82(0x2ec)]),_0xb0e962=_0x184f97[_0x367d82(0x420)](_0x1c6d43[_0x367d82(0x4a9)]),_0x248119=_0x184f97['get'](_0x1c6d43[_0x367d82(0x1e1)]),{pivotTableId:_0x555527,position:_0x457f86,index:_0x3730b6}=_0x1647d3,_0x4533d0=_0x887798[_0x367d82(0x41d)](_0xb0e962);if(!_0x4533d0)return!0x1;const {unitId:_0x4fa7fb,subUnitId:_0x5a0cd5}=_0x4533d0,_0x3071a5=(await _0x2ca9bd[_0x367d82(0x329)]({'unitId':_0x4fa7fb,'subUnitId':_0x5a0cd5,'pivotTableId':_0x555527,'params':{'type':_0x4218a2[_0x367d82(0x21c)],'updateValuePosition':{'position':_0x457f86,'index':_0x3730b6}}}))['result'][_0x367d82(0x49f)];if(!_0x3071a5)return!0x1;const {changesets:_0x11263a,view:_0x451a92,isEmpty:_0x55c077,pivotTableConfig:_0x51e1f8}=_0x3071a5,_0xef4b19=_0x51e1f8[_0x367d82(0x370)],_0x261afe=new _0x5ae8cc[(_0x367d82(0x29b))]();_0x261afe[_0x367d82(0x491)](_0x451a92);const _0x515e8f=_0x184f97[_0x367d82(0x420)](_0x10e2e1[_0x367d82(0x2ea)]),_0x2ff2ae={'cellInfo':_0xef4b19,'view':_0x261afe,'isEmpty':_0x55c077};if(!await _0x515e8f['asyncInterceptor'][_0x367d82(0x340)](_0x47bd9f)(!0x0,_0x2ff2ae))return!0x1;const _0x371ee0=_0x9427db(_0x184f97,_0x261afe,_0xef4b19,_0x55c077),_0x2dac5d=_0x401911(_0x184f97,_0x2ff2ae),{undos:_0x20b536,redos:_0x1a4832}=_0xa3da40(_0x3a191f,{'pivotTableId':_0x555527,'unitId':_0x4fa7fb,'subUnitId':_0x5a0cd5},_0x11263a);return _0x1c6d43[_0x367d82(0x1f4)]([..._0x371ee0['redos'],..._0x2dac5d[_0x367d82(0x2fd)],..._0x1a4832],_0x3a191f),_0x248119[_0x367d82(0x4af)]({'unitID':_0x4fa7fb,'redoMutations':[..._0x371ee0['redos'],..._0x2dac5d[_0x367d82(0x2fd)],..._0x1a4832],'undoMutations':[..._0x371ee0['undos'],..._0x2dac5d['undos'],..._0x20b536]}),!0x0;}},_0x4a97a6={'type':_0x1c6d43[_0x1a5c4f(0x248)][_0x1a5c4f(0x1cf)],'id':_0x1a5c4f(0x3ed),'handler'(){return!0x0;}};var _0x1aa069=Object[_0x1a5c4f(0x4b1)],_0x3a884f=(_0x53a807,_0x1e3f55,_0x185f16,_0x5a57f0)=>{const _0x23d334=_0x1a5c4f;for(var _0x1ada2e=_0x5a57f0>0x1?void 0x0:_0x5a57f0?_0x1aa069(_0x1e3f55,_0x185f16):_0x1e3f55,_0xd38d9f=_0x53a807[_0x23d334(0x1fa)]-0x1,_0x1d4307;_0xd38d9f>=0x0;_0xd38d9f--)(_0x1d4307=_0x53a807[_0xd38d9f])&&(_0x1ada2e=_0x1d4307(_0x1ada2e)||_0x1ada2e);return _0x1ada2e;},_0x30717b=(_0x1cc560,_0x21289a)=>(_0xb0964b,_0x46c770)=>_0x21289a(_0xb0964b,_0x46c770,_0x1cc560);const _0x227096=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4f00e6=(_0x32a138,_0x32b0af,_0x291873)=>{const _0x4402b6=_0x1a5c4f,_0x48d773=_0x32a138['dataFieldsCollection'];_0x32a138['iterateFieldDim'](_0x4f8141=>{const _0x465e71=_0x2581,_0x565d63=_0x4f8141[_0x465e71(0x1fc)](),_0x12f589=_0x4f8141['getDataFieldId'](),_0x5295cd=_0x4f8141[_0x465e71(0x3b4)](),_0xeb5ffc=_0x4f8141[_0x465e71(0x1d5)]();_0x32b0af[_0x12f589]&&_0x32b0af[_0x12f589]===_0xeb5ffc&&_0x5295cd===_0xeb5ffc&&(_0x32a138[_0x465e71(0x267)](_0x565d63,_0x48d773[_0x465e71(0x1d5)](_0x12f589)),_0x4f8141[_0x465e71(0x319)](_0x48d773[_0x465e71(0x1d5)](_0x12f589)));}),_0x32a138[_0x4402b6(0x275)](_0x5ae8cc[_0x4402b6(0x1d6)][_0x4402b6(0x1c5)],_0x1c5250=>{const _0x375fbf=_0x4402b6,_0x3fde31=_0x1c5250[_0x375fbf(0x1fc)](),_0x69b875=_0x1c5250[_0x375fbf(0x3cf)](),_0x1aa8fe=_0x1c5250[_0x375fbf(0x3b4)](),_0x4a8300=_0x1c5250[_0x375fbf(0x1d5)](),_0x47b5a6=_0x1c5250[_0x375fbf(0x41e)](),_0x471a44=_0x291873(_0x1aa8fe,_0x47b5a6);_0x32b0af[_0x69b875]&&_0x32b0af[_0x69b875]===_0x1aa8fe&&_0x471a44===_0x4a8300&&(_0x32a138[_0x375fbf(0x267)](_0x3fde31,_0x291873(_0x48d773[_0x375fbf(0x1d5)](_0x69b875),_0x47b5a6)),_0x1c5250[_0x375fbf(0x319)](_0x48d773[_0x375fbf(0x1d5)](_0x69b875)));});},_0x206cde=(_0x47a25d,_0x274c37,_0x11c777)=>{const _0x530745=_0x1a5c4f;var _0x578c99,_0x4f3859;const {arrayFormulaCellData:_0x56b2d9,unitData:_0x2404aa}=_0x274c37,{unitId:_0x3ada16,subUnitId:_0x33f71a}=_0x11c777,_0x2ed545=_0x11c777[_0x530745(0x1fb)],{startColumn:_0x4cc1ed,endColumn:_0x29b03b}=_0x2ed545,_0x1d7f11=(_0x578c99=_0x56b2d9==null?void 0x0:_0x56b2d9[_0x3ada16])==null?void 0x0:_0x578c99[_0x33f71a],_0x236a17=(_0x4f3859=_0x2404aa==null?void 0x0:_0x2404aa[_0x3ada16])==null?void 0x0:_0x4f3859[_0x33f71a],_0x329a60=new Set(),_0x5504d3=_0x29b03b-_0x4cc1ed+0x1,{dirtyRanges:_0x32a6b5}=_0x47a25d;if(_0x32a6b5)for(const {range:_0x24efd2,sheetId:_0x1530e5,unitId:_0x20fa81}of _0x32a6b5){if(_0x1530e5!==_0x33f71a||_0x3ada16!==_0x20fa81)continue;const _0x456c24=_0x1c6d43['Rectangle'][_0x530745(0x256)](_0x24efd2,_0x2ed545);if(_0x456c24){const {startColumn:_0x264ce1,endColumn:_0x197a89}=_0x456c24;for(let _0xb54f07=_0x264ce1;_0xb54f07<=_0x197a89;_0xb54f07++)_0x329a60[_0x530745(0x277)](_0xb54f07);}}if(_0x329a60[_0x530745(0x284)]===_0x5504d3||_0x329a60['size']===_0x5504d3)return Array['from'](_0x329a60);if(_0x236a17){const _0x328ec8=_0x236a17[_0x530745(0x352)](),_0x1e55d2=Object[_0x530745(0x1d2)](_0x328ec8);for(const _0x5a1f53 of _0x1e55d2){const _0x55f189=Number(_0x5a1f53),_0x51fb75=_0x328ec8[_0x55f189];if(_0x329a60['size']===_0x5504d3)break;for(const _0x224d98 in _0x51fb75){const _0x18a2f2=Number(_0x224d98);_0x18a2f2<_0x4cc1ed||_0x18a2f2>_0x29b03b||_0x329a60[_0x530745(0x277)](_0x18a2f2);}}}if(_0x1d7f11){const _0x21d3ad=_0x1d7f11['getMatrix'](),_0x1f4b6b=Object['keys'](_0x21d3ad);for(const _0x1138e5 of _0x1f4b6b){const _0x1a2414=Number(_0x1138e5),_0x37216a=_0x21d3ad[_0x1a2414];if(_0x329a60[_0x530745(0x284)]===_0x5504d3)break;for(const _0x40818d in _0x37216a){const _0x5d53b6=Number(_0x40818d);_0x5d53b6<_0x4cc1ed||_0x5d53b6>_0x29b03b||_0x329a60['add'](_0x5d53b6);}}}return Array[_0x530745(0x425)](_0x329a60);},_0x406a4e=_0x498739=>{const _0x3f1cec=_0x1a5c4f,_0x181ffe=new Set(),_0x323ab2=[];for(const _0xd5db2 of _0x498739){const _0xc72d0e=_0xd5db2[_0x3f1cec(0x407)]+','+_0xd5db2[_0x3f1cec(0x2ca)]+','+_0xd5db2[_0x3f1cec(0x2d6)]+','+_0xd5db2['endColumn'];_0x181ffe[_0x3f1cec(0x2c3)](_0xc72d0e)||(_0x181ffe[_0x3f1cec(0x277)](_0xc72d0e),_0x323ab2[_0x3f1cec(0x35f)](_0xd5db2));}return _0x323ab2;};let _0x14e7e5=class extends _0x1c6d43['Disposable']{constructor(_0x566cbf,_0x1c441c,_0x3bea64,_0x278bc1,_0x538bb1){const _0x5baade=_0x1a5c4f;super(),_0x47fe5b(this,_0x5baade(0x3df),new _0xbd119f[(_0x5baade(0x3e5))](!0x0)),_0x47fe5b(this,_0x5baade(0x375),_0x11e7ae=>{const _0x856569=_0x5baade;this[_0x856569(0x3df)]['next'](!0x1);}),_0x47fe5b(this,_0x5baade(0x37e),_0x47211e=>{const _0x17a608=_0x5baade;this[_0x17a608(0x3df)][_0x17a608(0x207)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x566cbf,this[_0x5baade(0x2fa)]=_0x1c441c,this[_0x5baade(0x22a)]=_0x3bea64,this[_0x5baade(0x1dc)]=_0x278bc1,this[_0x5baade(0x220)]=_0x538bb1,this[_0x5baade(0x227)](),this[_0x5baade(0x2ce)]());}[_0x1a5c4f(0x227)](){const _0x12c1df=_0x1a5c4f;this['_subjectCollectionChange'](),this[_0x12c1df(0x1e9)](),this['_initPivotTextInfo'](),this[_0x12c1df(0x49c)]();}[_0x1a5c4f(0x3f6)](){const _0x32b8ce=_0x1a5c4f;this[_0x32b8ce(0x1dc)]['pushComputingStatusSubject'](this[_0x32b8ce(0x3df)]),_0x5ae8cc[_0x32b8ce(0x2dc)][_0x32b8ce(0x2f2)](_0x5ae8cc[_0x32b8ce(0x3f7)]['onQueryStart'],this['_globalComputedStartHelpFunc']),_0x5ae8cc[_0x32b8ce(0x2dc)][_0x32b8ce(0x2f2)](_0x5ae8cc[_0x32b8ce(0x3f7)][_0x32b8ce(0x301)],this[_0x32b8ce(0x37e)]);}['_initPivotDataGetListener'](){const _0x18ad0b=_0x1a5c4f;this[_0x18ad0b(0x444)](this[_0x18ad0b(0x22a)][_0x18ad0b(0x3be)](_0x288ba9=>{const _0x5060ed=_0x18ad0b;_0x288ba9['id']===_0x887798[_0x5060ed(0x35d)]['id']&&this[_0x5060ed(0x3ab)]['handleMoveRange'](_0x288ba9[_0x5060ed(0x266)]);})),this[_0x18ad0b(0x444)](this[_0x18ad0b(0x22a)][_0x18ad0b(0x3be)](_0x548fc3=>{const _0x4e9bcc=_0x18ad0b;if(_0x548fc3['id']!==_0x49c429['id'])return;const _0x4d5dba=_0x548fc3[_0x4e9bcc(0x266)],{unitId:_0x36a3d9,subUnitId:_0x2b87fc,pivotTableId:_0x5e286b}=_0x4d5dba,_0x5db0e8=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x4aa)],_0x58c083={};switch(_0x5db0e8){case _0x4218a2[_0x4e9bcc(0x1ba)]:{const _0x13839f=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x1a3)];if(!_0x13839f)return;const {row:_0x206579,col:_0x27d58d,cellData:_0x4c0547,pivotItemRenderInfoCache:_0x30ad3b,tableFieldId:_0x454cc2}=_0x13839f,_0x2e0e15=this[_0x4e9bcc(0x3ab)]['getPivotTableInstance'](_0x4d5dba[_0x4e9bcc(0x495)]);if(!_0x2e0e15||!_0x30ad3b)return;if(_0x454cc2){const _0x43a532=_0x2e0e15[_0x4e9bcc(0x3e6)](_0x454cc2);if(!_0x43a532)return;_0x58c083[_0x4e9bcc(0x1a3)]={..._0x2e0e15[_0x4e9bcc(0x483)](_0x43a532),'tableFieldId':_0x454cc2,'pivotTableId':_0x4d5dba[_0x4e9bcc(0x495)],'filterInfo':_0x2e0e15[_0x4e9bcc(0x37f)](_0x454cc2),'sortInfo':_0x2e0e15[_0x4e9bcc(0x272)](_0x454cc2),'format':_0x2e0e15[_0x4e9bcc(0x2fc)](_0x454cc2)};}else{const _0x1aa2d0=_0x340a16(_0x206579,_0x27d58d,_0x4c0547,_0x2e0e15,_0x30ad3b),_0x3bcb63=_0x1aa2d0==null?void 0x0:_0x1aa2d0[_0x4e9bcc(0x429)];if(!_0x3bcb63)return;const _0x562e3b=_0x2e0e15[_0x4e9bcc(0x3e6)](_0x3bcb63);if(!_0x562e3b)return;_0x58c083[_0x4e9bcc(0x1a3)]={..._0x2e0e15[_0x4e9bcc(0x483)](_0x562e3b),'tableFieldId':_0x3bcb63,'pivotTableId':_0x4d5dba[_0x4e9bcc(0x495)],'filterInfo':_0x2e0e15['getFilterInfo'](_0x3bcb63),'sortInfo':_0x2e0e15['getSortInfo'](_0x3bcb63),'format':_0x2e0e15[_0x4e9bcc(0x2fc)](_0x3bcb63)};}}break;case _0x4218a2[_0x4e9bcc(0x30d)]:{const _0x13996c=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x2d3)];if(!_0x13996c)return;const {pivotTableId:_0x2d0fe3}=_0x13996c,_0x45acac=this['_sheetsPivotDataSourceModel'][_0x4e9bcc(0x23e)](_0x2d0fe3);if(!_0x45acac)return;const _0x35e0a2=this[_0x4e9bcc(0x3ab)]['getPivotTableConfig'](_0x36a3d9,_0x2b87fc,_0x2d0fe3),_0x3ea2da=_0x10f04b(_0x45acac,_0x2d0fe3,_0x35e0a2);_0x58c083[_0x4e9bcc(0x2d3)]=_0x3ea2da;}break;case _0x4218a2[_0x4e9bcc(0x35a)]:{const _0xe0dfea=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b),_0x58a30b=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x3d3)](_0x36a3d9),_0x318b9b=_0x58a30b['getCollection'](_0x5e286b);let _0xa3a7ad=null;const _0x4a5b35=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b),_0x509665=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x2f5)];if(!_0xe0dfea||!_0x4a5b35||!_0x509665)return!0x1;const {dataFieldId:_0x159ff1,fieldArea:_0x12c07e,index:_0x44072b}=_0x509665;_0xe0dfea[_0x4e9bcc(0x436)]();const _0x5266a6=_0xe0dfea[_0x4e9bcc(0x1a5)](_0x159ff1,_0x12c07e,_0x44072b);if(_0x5266a6&&_0x12c07e===_0x5ae8cc['PivotTableFiledAreaEnum'][_0x4e9bcc(0x1c5)]){const _0x1f8131=_0x5266a6[_0x4e9bcc(0x1fc)](),_0x5707ba=_0xe0dfea[_0x4e9bcc(0x3e6)](_0x1f8131);if(_0x5707ba){const _0x2a33f1=_0x5707ba==null?void 0x0:_0x5707ba['getFieldDataType']();_0xe0dfea[_0x4e9bcc(0x2e5)](_0x5266a6[_0x4e9bcc(0x1fc)](),_0x2a33f1===_0x5ae8cc[_0x4e9bcc(0x204)]['number']?_0x5ae8cc[_0x4e9bcc(0x296)][_0x4e9bcc(0x209)]:_0x5ae8cc[_0x4e9bcc(0x296)][_0x4e9bcc(0x369)]);}const _0x6af58f=_0xe0dfea[_0x4e9bcc(0x322)](),_0x5b0bfe=_0xe0dfea[_0x4e9bcc(0x2e2)](),_0x31d6b6=_0xe0dfea[_0x4e9bcc(0x326)](_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1c5)]);if(_0x6af58f===-0x1&&_0x31d6b6>0x1){const _0xe0414a=_0x5b0bfe===_0x5ae8cc[_0x4e9bcc(0x364)][_0x4e9bcc(0x4c2)]?_0x5ae8cc['PivotTableValuePositionEnum'][_0x4e9bcc(0x1e3)]:_0x5b0bfe,_0x2b1824=_0xe0414a===_0x5ae8cc[_0x4e9bcc(0x364)][_0x4e9bcc(0x2f7)]?_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x2f7)]:_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1e3)];_0xe0dfea[_0x4e9bcc(0x49f)](_0xe0414a,_0xe0dfea['getFieldCountByArea'](_0x2b1824));}}else{if(_0x5266a6&&(_0x12c07e===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x2f7)]||_0x12c07e===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1e3)])){const _0x46ba9c=_0x5266a6[_0x4e9bcc(0x1fc)](),_0x2275a3=_0xe0dfea[_0x4e9bcc(0x3e6)](_0x46ba9c);if(_0x2275a3&&(_0x2275a3==null?void 0x0:_0x2275a3['getFieldDataType']())===_0x5ae8cc['PivotDataFieldDataTypeEnum']['date']){const _0x133521=_0x2275a3[_0x4e9bcc(0x461)]();if(_0x133521&&_0xe0dfea[_0x4e9bcc(0x1a0)](_0x5266a6[_0x4e9bcc(0x1fc)](),_0x133521),!_0x318b9b[_0x4e9bcc(0x287)]()[_0x4e9bcc(0x446)](_0x4239bb=>{const _0x2df14d=_0x4e9bcc,_0x4a3e24=_0x318b9b[_0x2df14d(0x1f6)](_0x4239bb);return _0x5ae8cc[_0x2df14d(0x20f)](_0x4a3e24)?_0x4a3e24[_0x2df14d(0x450)]()[_0x2df14d(0x388)]===_0x159ff1:!0x1;})){const _0x1efe7c=_0x58a30b[_0x4e9bcc(0x3fb)](),_0x54f310=_0x124f31(_0x2275a3[_0x4e9bcc(0x32a)],_0x2275a3[_0x4e9bcc(0x36a)]),_0x5077a4=_0x2275a3[_0x4e9bcc(0x343)]()+'\x20-\x20'+_0xc3c7f1(this[_0x4e9bcc(0x220)],_0x54f310),_0x111f68=new _0x5ae8cc[(_0x4e9bcc(0x3e8))](_0x1efe7c,_0x5077a4,_0x5ae8cc[_0x4e9bcc(0x339)](0x3),_0x2275a3[_0x4e9bcc(0x1fc)](),_0x54f310);_0x58a30b['addDataFieldWithoutUnitInfo'](_0x111f68),_0x318b9b['addField'](_0x1efe7c,_0x5077a4),_0xe0dfea[_0x4e9bcc(0x1a5)](_0x1efe7c,_0x12c07e,(_0x44072b!=null?_0x44072b:0x0)+0x1),_0xa3a7ad=_0x111f68;}}}}const _0x8d21fb=_0xe0dfea['isEmpty'](),_0x498911=_0xe0dfea[_0x4e9bcc(0x45b)]()['toJSON']();let _0xf2264;if(_0xa3a7ad){_0xf2264=_0xa3a7ad[_0x4e9bcc(0x3d0)]();const _0x10a80f=_0xa3a7ad['getId']();_0x318b9b[_0x4e9bcc(0x33b)](_0x10a80f);let _0x41f50a=!0x0;for(const _0x530fd0 in _0x58a30b[_0x4e9bcc(0x45d)])if(_0x58a30b['collections'][_0x530fd0][_0x4e9bcc(0x287)]()[_0x4e9bcc(0x282)](_0x10a80f)){_0x41f50a=!0x1;break;}_0x41f50a&&_0x58a30b[_0x4e9bcc(0x3f8)](_0x10a80f);}const _0x1d1135=_0xe0dfea[_0x4e9bcc(0x395)]();_0x58c083[_0x4e9bcc(0x2f5)]={'view':_0x498911,'changesets':_0x1d1135,'isEmpty':_0x8d21fb,'pivotTableConfig':_0x4a5b35,'shouldBeAddedGroupJSON':_0xf2264};}break;case _0x4218a2[_0x4e9bcc(0x44a)]:{const _0x3864bd=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x2c1)];if(!_0x3864bd)return;const _0x1926b1=_0x3864bd[_0x4e9bcc(0x430)],_0x587ef2=_0x3864bd[_0x4e9bcc(0x495)],{collection:_0x5ccf48}=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x2ac)]({'unitId':_0x1926b1[_0x4e9bcc(0x3f9)],'sheetName':_0x1926b1['sheetName'],'subUnitId':_0x1926b1[_0x4e9bcc(0x371)],'range':_0x1926b1[_0x4e9bcc(0x1fb)]}),_0x159dff=new _0x5ae8cc[(_0x4e9bcc(0x2dc))](_0x5ccf48,void 0x0,_0x587ef2),_0xc3eec1=_0x159dff['query'](),_0x5e3061=_0x159dff['toJSON'](),_0xb0a7fa=_0x5ccf48['toJSON']();_0x58c083[_0x4e9bcc(0x2c1)]={'view':_0xc3eec1,'fieldsConfig':_0x5e3061,'collectionConfig':_0xb0a7fa,'isEmpty':_0x159dff['isEmpty']()};}break;case _0x4218a2['MovePivotField']:{const _0xa054d3=_0x4d5dba[_0x4e9bcc(0x266)]['movePivotField'];if(!_0xa054d3)return;const {fieldId:_0x18b815,area:_0x2f69fd,index:_0x2dfeda}=_0xa054d3,_0x2d4870=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x2d4870)return;const _0x42d31a=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b);if(!_0x42d31a)return;_0x42d31a[_0x4e9bcc(0x436)]();const {area:_0x441396,index:_0x43b8d2}=_0x42d31a['getFieldPositionInfoById'](_0x18b815);if(_0x42d31a[_0x4e9bcc(0x26f)](_0x18b815,_0x2f69fd,_0x2dfeda),_0x2f69fd===_0x5ae8cc['PivotTableFiledAreaEnum'][_0x4e9bcc(0x1c5)]&&_0x42d31a['getTableFieldById'](_0x18b815)[_0x4e9bcc(0x41e)]()===void 0x0){const _0x5d1c3d=_0x42d31a[_0x4e9bcc(0x246)](_0x18b815);if(_0x5d1c3d&&_0x5d1c3d[_0x4e9bcc(0x41e)]()===void 0x0){const _0x1f2d0d=_0x42d31a[_0x4e9bcc(0x3e6)](_0x18b815);if(_0x1f2d0d){const _0x46b62d=_0x1f2d0d==null?void 0x0:_0x1f2d0d['getFieldDataType']();_0x42d31a['setSubtotalType'](_0x18b815,_0x46b62d===_0x5ae8cc[_0x4e9bcc(0x204)]['number']?_0x5ae8cc[_0x4e9bcc(0x296)]['sum']:_0x5ae8cc[_0x4e9bcc(0x296)][_0x4e9bcc(0x369)]);}}}const _0x2795f2=_0x42d31a[_0x4e9bcc(0x2e2)](),_0x1be42c=_0x42d31a[_0x4e9bcc(0x322)](),_0x582c6b=_0x42d31a['getFieldCountByArea'](_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1c5)])>0x1;if(_0x582c6b&&_0x441396===_0x2f69fd&&(_0x2f69fd===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x2f7)]&&_0x2795f2===_0x5ae8cc[_0x4e9bcc(0x364)][_0x4e9bcc(0x2f7)]||_0x2f69fd===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1e3)]&&_0x2795f2===_0x5ae8cc[_0x4e9bcc(0x364)][_0x4e9bcc(0x1e3)])){let _0x2bb101=_0x1be42c;_0x43b8d2<=_0x1be42c&&_0x2bb101--,_0x2dfeda<=_0x1be42c&&_0x2bb101++,_0x42d31a[_0x4e9bcc(0x49f)](_0x2795f2,_0x2bb101);}else _0x582c6b&&(_0x441396===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x2f7)]&&_0x2795f2===_0x5ae8cc[_0x4e9bcc(0x364)]['Row']||_0x441396===_0x5ae8cc[_0x4e9bcc(0x1d6)]['Column']&&_0x2795f2===_0x5ae8cc[_0x4e9bcc(0x364)][_0x4e9bcc(0x1e3)])&&_0x1be42c>=_0x43b8d2&&_0x42d31a['updateValuePosition'](_0x2795f2,_0x1be42c-0x1),_0x582c6b&&(_0x2f69fd===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x2f7)]&&_0x2795f2===_0x5ae8cc[_0x4e9bcc(0x364)][_0x4e9bcc(0x2f7)]||_0x2f69fd===_0x5ae8cc['PivotTableFiledAreaEnum'][_0x4e9bcc(0x1e3)]&&_0x2795f2===_0x5ae8cc['PivotTableValuePositionEnum'][_0x4e9bcc(0x1e3)])&&_0x1be42c>=_0x2dfeda&&_0x42d31a[_0x4e9bcc(0x49f)](_0x2795f2,_0x1be42c+0x1);const _0x4d8b14=_0x42d31a[_0x4e9bcc(0x45b)](),_0x31fea2=_0x42d31a[_0x4e9bcc(0x44d)](),_0x5af981=_0x42d31a['endCollectChangeset']();_0x58c083['movePivotField']={'view':_0x4d8b14[_0x4e9bcc(0x3d0)](),'changesets':_0x5af981,'isEmpty':_0x31fea2,'pivotTableConfig':_0x2d4870};}break;case _0x4218a2['RemovePivotField']:{const _0x317b09=_0x4d5dba['params'][_0x4e9bcc(0x399)];if(!_0x317b09)return;const _0xdb61fb=_0x317b09[_0x4e9bcc(0x404)],_0x3c395a=this[_0x4e9bcc(0x3ab)]['getPivotTableConfig'](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x3c395a)return!0x1;const _0x21a31f=this[_0x4e9bcc(0x3ab)]['getPivotTableInstance'](_0x5e286b);if(!_0x21a31f)return!0x1;_0x21a31f[_0x4e9bcc(0x436)]();for(const _0x190407 of _0xdb61fb){const {area:_0x52a050}=_0x21a31f['getFieldPositionInfoById'](_0x190407);_0x52a050===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1c5)]&&_0x21a31f['removeValueFilterInfoByValueFieldId'](_0x190407),(_0x52a050===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x2f7)]||_0x52a050===_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1e3)])&&_0x21a31f[_0x4e9bcc(0x1f7)](_0x190407),_0x21a31f[_0x4e9bcc(0x383)](_0x190407);}const _0x107910=_0x21a31f[_0x4e9bcc(0x44d)](),_0x249351=_0x21a31f[_0x4e9bcc(0x45b)]()['toJSON'](),_0x2cd058=_0x21a31f[_0x4e9bcc(0x395)]();_0x58c083[_0x4e9bcc(0x399)]={'changesets':_0x2cd058,'pivotTableConfig':_0x3c395a,'isEmpty':_0x107910,'view':_0x249351};}break;case _0x4218a2[_0x4e9bcc(0x426)]:{const _0x4981c8=_0x4d5dba['params'][_0x4e9bcc(0x1f5)];if(!_0x4981c8)return;const {tableFieldId:_0x1a7b3a,items:_0x42d224,isAll:_0x43cfc2}=_0x4981c8,_0x718e75=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b),_0x20d9a7=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x718e75||!_0x20d9a7)return;_0x718e75[_0x4e9bcc(0x436)](),_0x718e75[_0x4e9bcc(0x427)](_0x1a7b3a,{'type':_0x5ae8cc[_0x4e9bcc(0x45f)]['ManualFilter'],'list':_0x42d224,'isAll':_0x43cfc2});const _0x502782=_0x718e75['isEmpty'](),_0x265652=_0x718e75[_0x4e9bcc(0x45b)]()['toJSON'](),_0x452305=_0x718e75[_0x4e9bcc(0x395)]();_0x58c083[_0x4e9bcc(0x1f5)]={'view':_0x265652,'changesets':_0x452305,'isEmpty':_0x502782,'pivotTableConfig':_0x20d9a7};}break;case _0x4218a2['SetValuePivotFilter']:{const _0x47606b=_0x4d5dba[_0x4e9bcc(0x266)]['setValuePivotFilter'];if(!_0x47606b)return;const {tableFieldId:_0x5f47f4,filterInfo:_0x21b3e3}=_0x47606b,_0x117277=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b),_0x292ad4=this['_sheetsPivotDataSourceModel'][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x117277||!_0x292ad4)return;_0x117277[_0x4e9bcc(0x436)](),_0x117277['setValueFilterInfo'](_0x5f47f4,_0x21b3e3);const _0x3c3711=_0x117277[_0x4e9bcc(0x44d)](),_0x161e02=_0x117277[_0x4e9bcc(0x45b)]()[_0x4e9bcc(0x3d0)](),_0x34ab79=_0x117277[_0x4e9bcc(0x395)]();_0x58c083[_0x4e9bcc(0x1f1)]={'view':_0x161e02,'changesets':_0x34ab79,'isEmpty':_0x3c3711,'pivotTableConfig':_0x292ad4};}break;case _0x4218a2[_0x4e9bcc(0x23c)]:{const _0x34a8b9=_0x4d5dba['params'][_0x4e9bcc(0x2cb)];if(!_0x34a8b9)return;const {tableFieldId:_0x24f844,info:_0x51bf0d}=_0x34a8b9,_0x4ab9e6=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b),_0x2d1e4c=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x4ab9e6||!_0x2d1e4c)return;_0x4ab9e6[_0x4e9bcc(0x436)](),_0x4ab9e6[_0x4e9bcc(0x247)](_0x24f844,_0x51bf0d);const _0x479bf5=_0x4ab9e6[_0x4e9bcc(0x44d)](),_0x3d55d1=_0x4ab9e6[_0x4e9bcc(0x45b)]()[_0x4e9bcc(0x3d0)](),_0x58ed7a=_0x4ab9e6['endCollectChangeset']();_0x58c083[_0x4e9bcc(0x2cb)]={'view':_0x3d55d1,'changesets':_0x58ed7a,'isEmpty':_0x479bf5,'pivotTableConfig':_0x2d1e4c};}break;case _0x4218a2[_0x4e9bcc(0x28a)]:{const _0x11f2d0=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x453)];if(!_0x11f2d0)return;const {tableFieldId:_0x133b48,displayName:_0x174f57,subtotalType:_0x19a168,format:_0x26533f}=_0x11f2d0,_0x3accaa=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b),_0x36217f=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x3accaa||!_0x36217f)return;_0x3accaa[_0x4e9bcc(0x436)](),_0x174f57!==void 0x0&&_0x3accaa[_0x4e9bcc(0x267)](_0x133b48,_0x174f57),_0x19a168!==void 0x0&&_0x3accaa['setSubtotalType'](_0x133b48,_0x19a168),_0x26533f!==void 0x0&&_0x3accaa[_0x4e9bcc(0x1a0)](_0x133b48,_0x26533f);const _0x4b7550=_0x3accaa[_0x4e9bcc(0x44d)](),_0xfc6dcb=_0x3accaa[_0x4e9bcc(0x45b)]()[_0x4e9bcc(0x3d0)](),_0x1b9858=_0x3accaa['endCollectChangeset']();_0x58c083[_0x4e9bcc(0x453)]={'changesets':_0x1b9858,'pivotTableConfig':_0x36217f,'isEmpty':_0x4b7550,'view':_0xfc6dcb};}break;case _0x4218a2[_0x4e9bcc(0x470)]:{const _0xb4c246=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x214)];if(!_0xb4c246)return;const {dataRangeInfo:_0xc447a3,unitId:_0x3755cb,subUnitId:_0x3cd800}=_0xb4c246,_0x259c0f=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x3755cb,_0x3cd800,_0x5e286b),_0x2cfb61=this['_sheetsPivotDataSourceModel'][_0x4e9bcc(0x23e)](_0x5e286b);if(!this['_sheetsPivotDataSourceModel'][_0x4e9bcc(0x27c)](_0x3755cb,_0x5e286b)||!_0x2cfb61||!_0x259c0f)return;const _0x128c89=this['_sheetsPivotDataSourceModel'][_0x4e9bcc(0x278)](_0x3755cb,_0x5e286b,_0xc447a3),_0x48597b=this['_sheetsPivotDataSourceModel'][_0x4e9bcc(0x27c)](_0x3755cb,_0x5e286b)[_0x4e9bcc(0x3d0)](),{collection:_0x462b86}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0xc447a3[_0x4e9bcc(0x3f9)],'sheetName':_0xc447a3[_0x4e9bcc(0x3f3)],'subUnitId':_0xc447a3['subUnitId'],'range':_0xc447a3[_0x4e9bcc(0x1fb)]}),_0x46bfa0=_0x462b86[_0x4e9bcc(0x3d0)]();_0x2cfb61[_0x4e9bcc(0x436)]();const _0xaa7877=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x3d3)](_0x3755cb)[_0x4e9bcc(0x2c8)]()||_0x5ae8cc['getAutoDisplayName'];_0x2cfb61['iterateField'](_0x480e24=>{const _0x1781bd=_0x4e9bcc,_0x4e9739=_0x480e24[_0x1781bd(0x3cf)]();if(!_0x462b86[_0x1781bd(0x3c5)](_0x4e9739)){const _0x39500f=_0x462b86['getDataFieldBySourceName'](_0x480e24['getSourceName']());if(_0x39500f){_0x2cfb61[_0x1781bd(0x2b2)](_0x480e24['getId'](),_0x39500f[_0x1781bd(0x343)](),_0x39500f[_0x1781bd(0x1fc)]());const {area:_0x68d47a}=_0x2cfb61[_0x1781bd(0x3ee)](_0x480e24['getId']());let _0x3efb5e=_0x480e24['getSourceName']();const _0x1d80ce=_0x480e24[_0x1781bd(0x1d5)]();if(_0x68d47a===_0x5ae8cc[_0x1781bd(0x1d6)]['Value']){const _0x15fecd=_0x480e24[_0x1781bd(0x41e)]();_0x3efb5e=_0xaa7877(_0x39500f[_0x1781bd(0x343)](),_0x15fecd);}_0x1d80ce!==_0x3efb5e&&_0x2cfb61[_0x1781bd(0x267)](_0x480e24['getId'](),_0x3efb5e);}else _0x2cfb61[_0x1781bd(0x383)](_0x480e24[_0x1781bd(0x1fc)]());}});const _0x53503a=_0x2cfb61['isEmpty'](),_0x18818=_0x2cfb61[_0x4e9bcc(0x45b)]()[_0x4e9bcc(0x3d0)](),_0xaed6d4=_0x2cfb61[_0x4e9bcc(0x395)]();_0x58c083['updatePivotSource']={'view':_0x18818,'changesets':_0xaed6d4,'isEmpty':_0x53503a,'pivotTableConfig':_0x259c0f,'collectionConfig':_0x46bfa0,'oldCollectionConfig':_0x48597b,'deleteIds':_0x128c89};}break;case _0x4218a2[_0x4e9bcc(0x21c)]:{const _0x8ff82d=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x49f)];if(!_0x8ff82d)return;const {position:_0x590b85,index:_0x522e03}=_0x8ff82d,_0xda04fd=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0xda04fd)return!0x1;const _0x3734a4=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b);if(!_0x3734a4)return!0x1;_0x3734a4[_0x4e9bcc(0x436)](),_0x3734a4[_0x4e9bcc(0x49f)](_0x590b85,_0x522e03);const _0x53c2a9=_0x3734a4[_0x4e9bcc(0x44d)](),_0x17eea0=_0x3734a4['query']()[_0x4e9bcc(0x3d0)](),_0x540678=_0x3734a4[_0x4e9bcc(0x395)]();_0x58c083[_0x4e9bcc(0x49f)]={'changesets':_0x540678,'pivotTableConfig':_0xda04fd,'isEmpty':_0x53c2a9,'view':_0x17eea0};}break;case _0x4218a2[_0x4e9bcc(0x36b)]:{const _0xd8dd37=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x3bc)];if(!_0xd8dd37)return;const {tableFieldId:_0x1e35d1,collapse:_0x108301,item:_0x28b833}=_0xd8dd37,_0x5d32bc=this[_0x4e9bcc(0x3ab)]['getPivotTableInstance'](_0x5e286b),_0x943cf5=this['_sheetsPivotDataSourceModel'][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x5d32bc||!_0x943cf5)return;_0x5d32bc[_0x4e9bcc(0x436)](),_0x5d32bc['setCollapse'](_0x1e35d1,_0x108301,_0x28b833);const _0x33c24e=_0x5d32bc[_0x4e9bcc(0x44d)](),_0xaebe4f=_0x5d32bc[_0x4e9bcc(0x45b)]()[_0x4e9bcc(0x3d0)](),_0x9c7429=_0x5d32bc[_0x4e9bcc(0x395)]();_0x58c083[_0x4e9bcc(0x3bc)]={'view':_0xaebe4f,'isEmpty':_0x33c24e,'pivotTableConfig':_0x943cf5,'changesets':_0x9c7429};}break;case _0x4218a2[_0x4e9bcc(0x242)]:{const _0x171310=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x43a)];if(!_0x171310)return;const {pivotTableConfig:_0x49c564}=_0x171310,_0x4e9753=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b),_0xcfe9a3=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x4e9753||!_0xcfe9a3)return;_0x4e9753[_0x4e9bcc(0x436)](),_0x3fbc7f(_0x4e9753,_0x49c564);const _0x548ea9=_0x4e9753[_0x4e9bcc(0x44d)](),_0x736dbc=_0x4e9753['query']()['toJSON'](),_0x42cc3d=_0x4e9753[_0x4e9bcc(0x395)]();_0x58c083[_0x4e9bcc(0x43a)]={'view':_0x736dbc,'isEmpty':_0x548ea9,'pivotTableConfig':{..._0xcfe9a3,'fieldsConfig':_0x4e9753[_0x4e9bcc(0x3d0)]()},'changesets':_0x42cc3d};}break;case _0x4218a2[_0x4e9bcc(0x3ec)]:{const _0x48cb69=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x40d)];if(!_0x48cb69)return;const _0x1e2e5f=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x23e)](_0x5e286b),_0x52c88c=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x493)](_0x36a3d9,_0x2b87fc,_0x5e286b);if(!_0x1e2e5f||!_0x52c88c)return;_0x1e2e5f['startCollectChangeset'](),_0x509e8d(_0x1e2e5f,_0x48cb69[_0x4e9bcc(0x351)]);const _0x350d75=_0x1e2e5f[_0x4e9bcc(0x45b)]()[_0x4e9bcc(0x3d0)](),_0x5daabb=_0x1e2e5f[_0x4e9bcc(0x395)]();_0x58c083['resetPivotTable']={'view':_0x350d75,'isEmpty':!0x0,'pivotTableConfig':{..._0x52c88c,'fieldsConfig':_0x1e2e5f[_0x4e9bcc(0x3d0)]()},'changesets':_0x5daabb};}break;case _0x4218a2[_0x4e9bcc(0x487)]:{const _0x599503=_0x4d5dba[_0x4e9bcc(0x266)][_0x4e9bcc(0x486)];if(!_0x599503)return;const _0x50e532=_0x599503[_0x4e9bcc(0x430)],_0x41cbe1=_0x599503[_0x4e9bcc(0x495)],{collection:_0x3038c0}=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x2ac)]({'unitId':_0x50e532[_0x4e9bcc(0x3f9)],'sheetName':_0x50e532['sheetName'],'subUnitId':_0x50e532[_0x4e9bcc(0x371)],'range':_0x50e532[_0x4e9bcc(0x1fb)]}),_0x949530=new _0x5ae8cc[(_0x4e9bcc(0x2dc))](_0x3038c0,void 0x0,_0x41cbe1),_0x503818=_0x3038c0[_0x4e9bcc(0x287)](),{rows:_0x47afeb,columns:_0x1b318e,filters:_0x4ac256,values:_0x35c7a8}=_0x599503[_0x4e9bcc(0x2eb)];_0x949530['startCollectChangeset']();for(const {field:_0x439b67,selectedItems:_0x43105d}of _0x47afeb||[]){const _0x23018d=_0x503818[_0x439b67];if(_0x23018d){const _0x22032f=_0x949530[_0x4e9bcc(0x1a5)](_0x23018d,_0x5ae8cc['PivotTableFiledAreaEnum']['Row']);_0x43105d&&_0x22032f&&_0x949530[_0x4e9bcc(0x427)](_0x22032f['getId'](),{'type':_0x5ae8cc['PivotFilterTypeEnum'][_0x4e9bcc(0x3c0)],'list':_0x43105d,'isAll':!0x1});}}for(const {field:_0x53c7b9,selectedItems:_0x31b5cd}of _0x1b318e||[]){const _0x364798=_0x503818[_0x53c7b9];if(_0x364798){const _0x48f84c=_0x949530[_0x4e9bcc(0x1a5)](_0x364798,_0x5ae8cc[_0x4e9bcc(0x1d6)]['Column']);_0x31b5cd&&_0x48f84c&&_0x949530[_0x4e9bcc(0x427)](_0x48f84c[_0x4e9bcc(0x1fc)](),{'type':_0x5ae8cc[_0x4e9bcc(0x45f)][_0x4e9bcc(0x3c0)],'list':_0x31b5cd,'isAll':!0x1});}}for(const {field:_0x5f5714,selectedItems:_0x514d3a}of _0x4ac256||[]){const _0x599c16=_0x503818[_0x5f5714];if(_0x599c16){const _0x35fa91=_0x949530['addFieldWithSourceId'](_0x599c16,_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1ba)]);_0x514d3a&&_0x35fa91&&_0x949530[_0x4e9bcc(0x427)](_0x35fa91[_0x4e9bcc(0x1fc)](),{'type':_0x5ae8cc[_0x4e9bcc(0x45f)][_0x4e9bcc(0x3c0)],'list':_0x514d3a,'isAll':!0x1});}}for(const {field:_0x1af477,subTotalType:_0x416655,formatString:_0x3b3fa3}of _0x35c7a8||[]){const _0x870955=_0x3038c0[_0x4e9bcc(0x1f6)](_0x503818[_0x1af477]);if(!_0x870955)continue;const _0x46d4e8=_0x503818[_0x1af477];if(_0x46d4e8){const _0x282c16=_0x949530[_0x4e9bcc(0x1a5)](_0x46d4e8,_0x5ae8cc[_0x4e9bcc(0x1d6)][_0x4e9bcc(0x1c5)]);if(_0x282c16){if(_0x416655!==void 0x0){_0x949530['setSubtotalType'](_0x282c16['getId'](),_0x416655);const _0x58e0bf=this[_0x4e9bcc(0x3ab)][_0x4e9bcc(0x3d3)](_0x50e532[_0x4e9bcc(0x3f9)])['getAutoDisplayNameFunction']()||_0x5ae8cc['getAutoDisplayName'],_0x231718=_0x3038c0[_0x4e9bcc(0x1d5)](_0x46d4e8),_0x542d71=_0x58e0bf(_0x231718,_0x416655);_0x949530[_0x4e9bcc(0x267)](_0x282c16[_0x4e9bcc(0x1fc)](),_0x542d71);}else{if(_0x870955){const _0x56b5eb=_0x870955==null?void 0x0:_0x870955[_0x4e9bcc(0x3c7)]();_0x949530[_0x4e9bcc(0x2e5)](_0x282c16[_0x4e9bcc(0x1fc)](),_0x56b5eb===_0x5ae8cc[_0x4e9bcc(0x204)]['number']?_0x5ae8cc[_0x4e9bcc(0x296)][_0x4e9bcc(0x209)]:_0x5ae8cc[_0x4e9bcc(0x296)][_0x4e9bcc(0x369)]);}}_0x3b3fa3&&_0x949530[_0x4e9bcc(0x1a0)](_0x282c16[_0x4e9bcc(0x1fc)](),_0x3b3fa3);}}}const _0x3f8cde=_0x949530[_0x4e9bcc(0x45b)](),_0x12aad4=_0x949530[_0x4e9bcc(0x3d0)](),_0x2b007a=_0x949530[_0x4e9bcc(0x44d)](),_0x4d3249=_0x949530[_0x4e9bcc(0x395)](),_0x342cb0=_0x3038c0[_0x4e9bcc(0x3d0)]();_0x58c083[_0x4e9bcc(0x486)]={'view':_0x3f8cde,'fieldsConfig':_0x12aad4,'collectionConfig':_0x342cb0,'isEmpty':_0x2b007a,'changesets':_0x4d3249};}break;case _0x4218a2['DrillDown']:{const _0x117e44=_0x460df7(this[_0x4e9bcc(0x220)],_0x4d5dba);if(!_0x117e44)return;const {range:_0x58cae7,sourceSubUnitId:_0x2a1a40,sourceUnitId:_0x24ad9c,formatMap:_0x3de2a7,indexes:_0xc32b66}=_0x117e44;_0x58c083['drillDown']={'range':_0x58cae7,'sourceSubUnitId':_0x2a1a40,'sourceUnitId':_0x24ad9c,'formatMap':_0x3de2a7,'indexes':_0xc32b66};}break;}this['_commandService'][_0x4e9bcc(0x28b)](_0x18fd88['id'],{'version':_0x4d5dba['version'],'result':_0x58c083},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x29c4a3=_0x1a5c4f;this['disposeWithMe'](this['_commandService'][_0x29c4a3(0x3be)](_0x22dd6b=>{const _0x35aa38=_0x29c4a3;if(_0x22dd6b['id']!==_0x113f86['id'])return;const _0x7b026b=_0x22dd6b[_0x35aa38(0x266)];return this[_0x35aa38(0x3ab)][_0x35aa38(0x3c6)](_0x7b026b[_0x35aa38(0x484)]),!0x0;}));}[_0x1a5c4f(0x305)](){const _0x742ddf=_0x1a5c4f;this['_sheetsPivotDataSourceModel'][_0x742ddf(0x2b5)]['subscribe'](_0x3c7ebd=>{const _0x409f37=_0x742ddf;switch(_0x3c7ebd[_0x409f37(0x4aa)]){case _0x5f31d8[_0x409f37(0x277)]:_0x3c7ebd[_0x409f37(0x1ef)]&&_0x3c7ebd[_0x409f37(0x370)]&&this[_0x409f37(0x1ee)](_0x3c7ebd[_0x409f37(0x2f4)],_0x3c7ebd['dataRangeInfo'],_0x3c7ebd[_0x409f37(0x370)]);break;case _0x5f31d8[_0x409f37(0x34c)]:{const {unitId:_0x5ddaa8,subUnitId:_0x234e16,token:_0x2cbe29}=_0x3c7ebd;_0x5ddaa8&&_0x234e16&&_0x2cbe29&&this[_0x409f37(0x338)](_0x5ddaa8,_0x234e16,_0x2cbe29);}break;case _0x5f31d8[_0x409f37(0x1a4)]:{const {token:_0x1658a4,oldSourceRangeInfo:_0x311374,dataRangeInfo:_0x5df485,targetCellInfo:_0x4df562}=_0x3c7ebd,{unitId:_0x33e3d0,subUnitId:_0x5c8875}=_0x311374||{};_0x33e3d0&&_0x5c8875&&_0x1658a4&&this[_0x409f37(0x338)](_0x33e3d0,_0x5c8875,_0x1658a4),_0x5df485&&_0x4df562&&this[_0x409f37(0x1ee)](_0x1658a4,_0x5df485,_0x4df562);}break;}});}['_subjectFieldsCollectionChange'](){const _0x5cb142=_0x1a5c4f;this[_0x5cb142(0x3ab)][_0x5cb142(0x362)]['subscribe'](_0x5b6264=>{const _0x592c7d=_0x5cb142;Object[_0x592c7d(0x1d2)](_0x5b6264)[_0x592c7d(0x289)](_0x3b3f51=>{const _0x2b24c9=_0x592c7d,_0x146539=this[_0x2b24c9(0x3ab)][_0x2b24c9(0x265)](_0x3b3f51);if(_0x146539){const _0x3b43f7=this[_0x2b24c9(0x3ab)][_0x2b24c9(0x493)](_0x146539==null?void 0x0:_0x146539[_0x2b24c9(0x3f9)],_0x146539==null?void 0x0:_0x146539[_0x2b24c9(0x371)],_0x3b3f51);_0x3b43f7&&(this['handleSourceRangeChange'](_0x3b3f51,_0x3b43f7[_0x2b24c9(0x430)],_0x3b43f7[_0x2b24c9(0x370)]),this[_0x2b24c9(0x257)]([{'unitId':_0x146539[_0x2b24c9(0x3f9)],'subUnitId':_0x146539['subUnitId'],'token':_0x3b3f51}]));}});});}[_0x1a5c4f(0x1e9)](){const _0x393a1c=_0x1a5c4f;this['_sheetsPivotDataSourceModel'][_0x393a1c(0x47d)][_0x393a1c(0x1f9)](_0x1a0a2f=>{const _0x3f7581=_0x393a1c,{unitId:_0x829530,subUnitId:_0x16f8c4,pivotTableId:_0x30fc95}=_0x1a0a2f;_0x829530&&_0x16f8c4&&_0x30fc95&&this[_0x3f7581(0x257)]([{'unitId':_0x829530,'subUnitId':_0x16f8c4,'token':_0x30fc95}]);});}['triggerDirtyFeature'](_0x5b2d4e){const _0x4cf1f3=_0x1a5c4f,_0x9cae6f={};_0x5b2d4e[_0x4cf1f3(0x289)](_0x5a301b=>{var _0x119f57,_0x1fcab2;const {unitId:_0x55c94b,subUnitId:_0x112365,token:_0xa58ef5}=_0x5a301b;_0x9cae6f[_0x55c94b]=(_0x119f57=_0x9cae6f[_0x55c94b])!=null?_0x119f57:{},_0x9cae6f[_0x55c94b][_0x112365]=(_0x1fcab2=_0x9cae6f[_0x55c94b][_0x112365])!=null?_0x1fcab2:{},_0x9cae6f[_0x55c94b][_0x112365][_0xa58ef5]=!0x0;}),this[_0x4cf1f3(0x22a)][_0x4cf1f3(0x28b)](_0x4a97a6['id'],_0x9cae6f);}[_0x1a5c4f(0x338)](_0x3bf1e7,_0x151120,_0x2e032c){const _0x2f7c9d=_0x1a5c4f;this['_featureCalculationManagerService'][_0x2f7c9d(0x3ca)](_0x3bf1e7,_0x151120,[_0x2e032c]);}['handleSourceRangeChange'](_0x353a09,_0x4fb78a,_0x4e9a5c){const _0x404a3a=_0x1a5c4f,{unitId:_0x187eef,subUnitId:_0x4f784c}=_0x4fb78a;this[_0x404a3a(0x2fa)][_0x404a3a(0x2c3)](_0x4e9a5c['unitId'],_0x4e9a5c[_0x404a3a(0x371)],_0x353a09)&&this[_0x404a3a(0x338)](_0x187eef,_0x4f784c,_0x353a09);const _0x15a93e={'sheetId':_0x4f784c,..._0x4fb78a};this[_0x404a3a(0x2fa)][_0x404a3a(0x3d6)](_0x4e9a5c['unitId'],_0x4e9a5c[_0x404a3a(0x371)],_0x353a09,{'unitId':_0x4e9a5c[_0x404a3a(0x3f9)],'subUnitId':_0x4e9a5c[_0x404a3a(0x371)],'dependencyRanges':[_0x15a93e],'getDirtyData':(_0x28589f,_0x2d7da4)=>{const _0x93d997=_0x404a3a,_0x3dcffc=this[_0x93d997(0x3ab)],_0x309106=_0x3dcffc[_0x93d997(0x265)](_0x353a09);if(!_0x309106)return _0x227096();const {unitId:_0x30a4d1,subUnitId:_0x468b60}=_0x309106,_0x59dec7=_0x206cde(_0x28589f,_0x2d7da4,_0x4fb78a);if(_0x59dec7[_0x93d997(0x1fa)]>0x0){const _0x572097=_0x3dcffc[_0x93d997(0x27c)](_0x187eef,_0x353a09),_0x5f4bc1=_0x572097['getFieldIds'](),_0x3b14de=this[_0x93d997(0x3a5)](_0x4fb78a[_0x93d997(0x3f9)],_0x4fb78a['subUnitId'],_0x2d7da4),_0x4e3507={},_0x4e7bbd=this['_sheetsPivotDataSourceModel'][_0x93d997(0x3d3)](_0x30a4d1)[_0x93d997(0x2c8)]()||_0x5ae8cc[_0x93d997(0x48d)],_0x251d8e=[];for(const _0x1cadbc of _0x59dec7){const _0x11be4a=_0x1cadbc-(_0x4fb78a[_0x93d997(0x1fb)][_0x93d997(0x2d6)]||0x0),_0x469ef3=_0x5f4bc1[_0x11be4a];_0x251d8e[_0x93d997(0x35f)](_0x469ef3),_0x4e3507[_0x469ef3]=_0x572097[_0x93d997(0x1f6)](_0x469ef3)['getName'](),_0x3dcffc[_0x93d997(0x3d3)](_0x187eef)[_0x93d997(0x2e1)](_0x469ef3,_0x4fb78a,_0x11be4a,_0x3b14de);}_0x572097['getGroupFieldsInfoByIds'](_0x251d8e)[_0x93d997(0x289)](_0x417535=>{const _0x50813e=_0x93d997,[_0x4b40da,_0x33c622]=_0x417535,_0x46ccd1=_0x572097[_0x50813e(0x1f6)](_0x4b40da),_0x3445fc=_0x572097[_0x50813e(0x1f6)](_0x33c622);_0x46ccd1&&_0x3445fc&&_0x46ccd1[_0x50813e(0x2b4)](_0x3445fc);}),_0x572097[_0x93d997(0x2d2)]();const _0x5d1e2a=_0x3dcffc[_0x93d997(0x23e)](_0x353a09);if(_0x5d1e2a){_0x4f00e6(_0x5d1e2a,_0x4e3507,_0x4e7bbd),_0x5d1e2a[_0x93d997(0x22c)](!0x0);const _0x494122=_0x5d1e2a['query'](),_0x402f0d=_0x3dcffc[_0x93d997(0x493)](_0x30a4d1,_0x468b60,_0x353a09),_0x551f75=_0x3dcffc[_0x93d997(0x3d3)](_0x187eef)[_0x93d997(0x3d0)]();_0x3dcffc[_0x93d997(0x231)](_0x30a4d1,_0x468b60,_0x15c80f['Set'],_0x353a09,_0x494122,_0x402f0d,_0x551f75,!0x0);}}return this[_0x93d997(0x1cb)](_0x30a4d1,_0x468b60,_0x353a09);}});}[_0x1a5c4f(0x3a5)](_0x4bf074,_0x2976f2,_0x3c4594){var _0x56f606,_0x3642ef;const {arrayFormulaCellData:_0x121bbd,unitData:_0x9c67d6}=_0x3c4594,_0x4fe167=(_0x56f606=_0x121bbd==null?void 0x0:_0x121bbd[_0x4bf074])==null?void 0x0:_0x56f606[_0x2976f2],_0x343974=(_0x3642ef=_0x9c67d6==null?void 0x0:_0x9c67d6[_0x4bf074])==null?void 0x0:_0x3642ef[_0x2976f2];return{'arrayFormulaCellDataMatrix':_0x4fe167,'unitDataMatrix':_0x343974};}[_0x1a5c4f(0x1cb)](_0x30b257,_0x4fe8a6,_0x208658){const _0xfd8c0d=_0x1a5c4f,_0x27effb=this[_0xfd8c0d(0x3ab)][_0xfd8c0d(0x1ae)](_0x30b257,_0x4fe8a6,_0x208658),_0x56cefa=[],_0x2347b1=new _0x1c6d43[(_0xfd8c0d(0x4b5))]();if(_0x27effb){const {rangeCache:_0x54d537,matrix:_0x438a6b,oldRangeCache:_0x156f86,oldMatrix:_0x556628}=_0x27effb,_0x56b808=_0x3ecb18(_0x156f86),_0x29ad62=_0x3ecb18(_0x54d537);_0x56cefa['push'](..._0x29ad62,..._0x56b808),_0x556628&&_0x156f86&&_0x56b808['forEach'](_0x5b9dbe=>{const _0x31c203=_0xfd8c0d;for(let _0x165e84=_0x5b9dbe[_0x31c203(0x407)];_0x165e84<=_0x5b9dbe[_0x31c203(0x2ca)];_0x165e84++)for(let _0x45622e=_0x5b9dbe[_0x31c203(0x2d6)];_0x45622e<=_0x5b9dbe[_0x31c203(0x41c)];_0x45622e++)_0x2347b1[_0x31c203(0x1af)](_0x165e84,_0x45622e);}),_0x438a6b&&_0x29ad62&&_0x29ad62[_0xfd8c0d(0x289)](_0x3f2908=>{const _0x5ad92e=_0xfd8c0d;for(let _0x2948e4=_0x3f2908[_0x5ad92e(0x407)];_0x2948e4<=_0x3f2908['endRow'];_0x2948e4++)for(let _0x4a3ac0=_0x3f2908['startColumn'];_0x4a3ac0<=_0x3f2908[_0x5ad92e(0x41c)];_0x4a3ac0++)_0x2347b1[_0x5ad92e(0x1bb)](_0x2948e4,_0x4a3ac0,_0x438a6b[_0x5ad92e(0x2dd)](_0x2948e4,_0x4a3ac0));});}const _0x1bf9b3={};return _0x1bf9b3[_0x30b257]={[_0x4fe8a6]:_0x406a4e(_0x56cefa)},{'runtimeCellData':{[_0x30b257]:{[_0x4fe8a6]:_0x2347b1}},'dirtyRanges':_0x1bf9b3};}[_0x1a5c4f(0x3bd)](){}};_0x14e7e5=_0x3a884f([_0x30717b(0x0,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x44f)])),_0x30717b(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x544538[_0x1a5c4f(0x25b)])),_0x30717b(0x2,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x3fa)])),_0x30717b(0x3,_0x1c6d43[_0x1a5c4f(0x413)](_0x544538[_0x1a5c4f(0x27e)])),_0x30717b(0x4,_0x1c6d43['Inject'](_0x1c6d43[_0x1a5c4f(0x1b3)]))],_0x14e7e5);var _0x250313=Object[_0x1a5c4f(0x4b1)],_0x274b56=(_0x3de088,_0x8b2bed,_0x1771dc,_0x6cf118)=>{const _0xa2be55=_0x1a5c4f;for(var _0x32299a=_0x6cf118>0x1?void 0x0:_0x6cf118?_0x250313(_0x8b2bed,_0x1771dc):_0x8b2bed,_0x2681f8=_0x3de088[_0xa2be55(0x1fa)]-0x1,_0x3bbb73;_0x2681f8>=0x0;_0x2681f8--)(_0x3bbb73=_0x3de088[_0x2681f8])&&(_0x32299a=_0x3bbb73(_0x32299a)||_0x32299a);return _0x32299a;},_0x20077c=(_0x54dd20,_0x16672d)=>(_0x1d26da,_0x505f5c)=>_0x16672d(_0x1d26da,_0x505f5c,_0x54dd20);let _0x3ab706=class extends _0x1c6d43[_0x1a5c4f(0x229)]{constructor(_0x4376a9,_0x4fbf08,_0x51594d,_0x50ebff){const _0x42a2b5=_0x1a5c4f;super(),_0x47fe5b(this,_0x42a2b5(0x42e),new _0x1c6d43[(_0x42a2b5(0x442))]()),(this['_univerInstanceService']=_0x4376a9,this[_0x42a2b5(0x3ae)]=_0x4fbf08,this['_sheetsSelectionsService']=_0x51594d,this[_0x42a2b5(0x46c)]=_0x50ebff,this[_0x42a2b5(0x348)]());}[_0x1a5c4f(0x348)](){const _0x27c7bc=_0x1a5c4f;this[_0x27c7bc(0x444)](this['_sheetInterceptorService'][_0x27c7bc(0x3cd)]({'getMutations':_0x1660a2=>{const _0x8467f4=_0x27c7bc;if(_0x1660a2['id']===_0x887798['ClearSelectionContentCommand']['id']||_0x1660a2['id']===_0x887798[_0x8467f4(0x308)]['id']){const _0x1b859b=[],_0x26a73e=[],_0xe7cee9=this[_0x8467f4(0x1aa)][_0x8467f4(0x26e)]()[_0x8467f4(0x381)](_0xa01113=>_0xa01113[_0x8467f4(0x1fb)]),_0x34044a=_0x887798['getSheetCommandTarget'](this[_0x8467f4(0x3bb)]);if(!_0x34044a)return{'redos':[],'undos':[]};const {unitId:_0x5d1ec3,subUnitId:_0x269b03}=_0x34044a,_0x3bdcd5={},_0x3feb1b=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x5d1ec3,_0x269b03);if(_0x3feb1b!=null&&_0x3feb1b['size'])for(const [_0xbc3058,_0x1f4b53]of _0x3feb1b){const {unitId:_0x1dbd0d,subUnitId:_0x3c7b48,row:_0x4b94a9,col:_0x1cde8e}=_0x1f4b53['targetCellInfo'];_0x1dbd0d===_0x34044a[_0x8467f4(0x3f9)]&&_0x3c7b48===_0x34044a[_0x8467f4(0x371)]&&(_0x3bdcd5[_0x4b94a9+'-'+_0x1cde8e]=_0xbc3058);}return _0xe7cee9&&_0x34044a&&_0xe7cee9['forEach'](_0x4936d8=>{const _0x5558af=_0x8467f4;_0x1c6d43[_0x5558af(0x23a)]['foreach'](_0x4936d8,(_0x5e6ce4,_0x5c56f1)=>{const _0x51de6f=_0x5558af,_0x1c312f=_0x5e6ce4+'-'+_0x5c56f1;if(_0x3bdcd5[_0x1c312f]){const _0x4943a7=_0x3bdcd5[_0x1c312f];_0x1b859b[_0x51de6f(0x35f)]({'id':_0x4b5ee2['id'],'params':{'unitId':_0x5d1ec3,'subUnitId':_0x269b03,'pivotTableId':_0x4943a7}});const _0x313c95=this['_sheetsPivotTableConfigModel']['getCollection'](_0x5d1ec3,_0x4943a7),_0x4b3f78=this[_0x51de6f(0x46c)][_0x51de6f(0x493)](_0x5d1ec3,_0x269b03,_0x4943a7);_0x26a73e['push']({'id':_0x201db6['id'],'params':{'unitId':_0x5d1ec3,'subUnitId':_0x269b03,'pivotTableId':_0x4943a7,'pivotTableConfig':_0x4b3f78,'collectionConfig':_0x313c95}});}});}),{'redos':_0x1b859b,'undos':_0x26a73e};}return{'redos':[],'undos':[]};}}));}};_0x3ab706=_0x274b56([_0x20077c(0x0,_0x1c6d43[_0x1a5c4f(0x4a9)]),_0x20077c(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x887798[_0x1a5c4f(0x3c3)])),_0x20077c(0x2,_0x1c6d43[_0x1a5c4f(0x413)](_0x887798[_0x1a5c4f(0x302)])),_0x20077c(0x3,_0x1c6d43['Inject'](_0x10e2e1['SheetsPivotTableConfigModel']))],_0x3ab706);var _0x2943d9=Object['getOwnPropertyDescriptor'],_0x4eb0d0=(_0x2b5031,_0x5540f3,_0x337f2b,_0x2c3382)=>{const _0xcf996e=_0x1a5c4f;for(var _0x4c60d4=_0x2c3382>0x1?void 0x0:_0x2c3382?_0x2943d9(_0x5540f3,_0x337f2b):_0x5540f3,_0x44d999=_0x2b5031[_0xcf996e(0x1fa)]-0x1,_0x4bcc9e;_0x44d999>=0x0;_0x44d999--)(_0x4bcc9e=_0x2b5031[_0x44d999])&&(_0x4c60d4=_0x4bcc9e(_0x4c60d4)||_0x4c60d4);return _0x4c60d4;},_0x3ee006=(_0x46f325,_0x196ce2)=>(_0x2be4b8,_0x39a637)=>_0x196ce2(_0x2be4b8,_0x39a637,_0x46f325);let _0x2d0cf2=class extends _0x1c6d43[_0x1a5c4f(0x229)]{constructor(_0x4f92cb,_0x15e02a,_0x3e763a,_0x29b318,_0x33192c){const _0x3189e4=_0x1a5c4f;super(),this['_sheetInterceptorService']=_0x4f92cb,this['_injector']=_0x15e02a,this['_univerInstanceService']=_0x3e763a,this[_0x3189e4(0x46c)]=_0x29b318,this[_0x3189e4(0x438)]=_0x33192c,this[_0x3189e4(0x2ff)]();}[_0x1a5c4f(0x262)](_0x5f57cc,_0x48cc49,_0x2a4890){const _0x31ce44=_0x1a5c4f,{pageView:_0x2ba1aa,cornerView:_0x36ef65,rowView:_0x4e59e9,colView:_0xf0a120,dataView:_0x13709f}=_0x48cc49,_0x5d9dfa=_0x5f57cc;let _0x5df816;if(_0x2a4890)_0x5df816=[..._0x5dcd93(_0x5d9dfa)];else{const _0x10b367=_0x243a07(_0x5d9dfa,_0x2ba1aa,!0x0),_0x4f3519=_0x2ba1aa[_0x31ce44(0x3af)]>=0x0?_0x2ba1aa[_0x31ce44(0x3af)]+0x1:0x0,_0x277795=_0x36ef65[_0x31ce44(0x300)],_0x41c45b=_0x36ef65['colCount'],_0xd18dc0=_0x10b367[_0x31ce44(0x1fa)]>0x0?_0x367df3:0x0,_0x3acc8e=_0x243a07({'row':_0x5d9dfa[_0x31ce44(0x1e7)]+_0x4f3519+_0xd18dc0,'col':_0x5d9dfa[_0x31ce44(0x345)]},_0x36ef65,!0x1,!0x1),_0x15e3dd=_0x243a07({'row':_0x5d9dfa[_0x31ce44(0x1e7)]+_0x4f3519+_0xd18dc0+_0x277795,'col':_0x5d9dfa[_0x31ce44(0x345)]},_0x4e59e9,!0x1,!0x0),_0x448126=_0x243a07({'row':_0x5d9dfa[_0x31ce44(0x1e7)]+_0x4f3519+_0xd18dc0,'col':_0x5d9dfa[_0x31ce44(0x345)]+_0x41c45b},_0xf0a120,!0x1,!0x0),_0x257aa1=_0x243a07({'row':_0x5d9dfa['row']+_0x4f3519+_0xd18dc0+_0x277795,'col':_0x5d9dfa[_0x31ce44(0x345)]+_0x41c45b},_0x13709f,!0x1,!0x0);_0x5df816=[..._0x10b367,..._0x3acc8e,..._0x15e3dd,..._0x448126,..._0x257aa1];}return _0x5df816;}[_0x1a5c4f(0x2ff)](){const _0x340ff0=_0x1a5c4f;this[_0x340ff0(0x444)](this[_0x340ff0(0x438)][_0x340ff0(0x47a)][_0x340ff0(0x315)](this[_0x340ff0(0x438)][_0x340ff0(0x47a)][_0x340ff0(0x35e)]()[_0x340ff0(0x34f)],{'handler':(_0x520752,_0x549824)=>{const _0x589fdf=_0x340ff0,{cellInfo:_0x3c996a,view:_0x239eec,isEmpty:_0x1e412f}=_0x549824,_0x5906da=_0x3c996a,{unitId:_0x4f4b25,subUnitId:_0x51e0ed}=_0x5906da,_0x5772a6=this['_getPivotAppliedRanges'](_0x3c996a,_0x239eec,_0x1e412f),_0x1e6ae9=this[_0x589fdf(0x3ae)][_0x589fdf(0x440)]({'unitId':_0x4f4b25,'subUnitId':_0x51e0ed,'ranges':_0x5772a6}),_0x1891c6=_0x902884(this[_0x589fdf(0x220)],_0x4f4b25,_0x51e0ed,_0x5772a6);_0x1891c6[_0x589fdf(0x2a9)]&&(_0x1e6ae9['redos'][_0x589fdf(0x35f)](_0x1891c6[_0x589fdf(0x372)]),_0x1e6ae9[_0x589fdf(0x3de)][_0x589fdf(0x35f)](_0x1891c6[_0x589fdf(0x1c4)]));const _0x4454a5=this[_0x589fdf(0x33e)](_0x239eec,_0x3c996a);return _0x1e6ae9[_0x589fdf(0x2fd)][_0x589fdf(0x35f)](..._0x4454a5[_0x589fdf(0x2fd)]),_0x1e6ae9['undos'][_0x589fdf(0x35f)](..._0x4454a5[_0x589fdf(0x3de)]),{'redos':_0x1e6ae9[_0x589fdf(0x2fd)],'undos':_0x1e6ae9[_0x589fdf(0x3de)]};}}));}[_0x1a5c4f(0x33e)](_0x3f7558,_0x24f503){const _0x5cc230=_0x1a5c4f,{col:_0x4ca949,unitId:_0x58dd10,subUnitId:_0x4560f8}=_0x24f503,_0x475764=[],_0x5b05cf=[],_0x53560a=_0x887798['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x58dd10,'subUnitId':_0x4560f8});if(!_0x24f503||!_0x3f7558||!_0x53560a)return{'undos':_0x5b05cf,'redos':_0x475764};const _0x57d5e9=this['_sheetsPivotTableConfigModel'][_0x5cc230(0x409)](),{colView:_0x55664b,dataView:_0x732f11,cornerView:_0xe24a75,rowView:_0x33b9eb,formatMap:_0x1a5d9a}=_0x3f7558,_0x45b970=_0xe0fa7c(_0x55664b,_0x57d5e9,!0x0,_0x1a5d9a),_0x177820=_0xe0fa7c(_0x33b9eb,_0x57d5e9,!0x1,_0x1a5d9a),_0x2c298e=_0x23eba7(_0x732f11),_0x5d049f=_0xf703ac(_0xe24a75),{worksheet:_0x2071e0}=_0x53560a;if(typeof window<'u'&&window[_0x5cc230(0x1eb)]){const _0x2bf7f8=_0x2bc8b1[_0x5cc230(0x1ea)]({..._0x4c04b6[_0x5cc230(0x273)]}),_0x50ec72=_0x2bc8b1[_0x5cc230(0x228)][_0x5cc230(0x2a3)](_0x45b970,_0x2bf7f8)['width']+0x10,_0x26ac83=_0x2bc8b1[_0x5cc230(0x228)]['getTextSize'](_0x2c298e,_0x2bf7f8)[_0x5cc230(0x325)],_0x12de6d=Math[_0x5cc230(0x1b6)](Math[_0x5cc230(0x20a)](_0x50ec72,_0x26ac83))+0x10,_0x3367=Math[_0x5cc230(0x1b6)](_0x2bc8b1['FontCache'][_0x5cc230(0x2a3)](_0x177820,_0x2bf7f8)[_0x5cc230(0x325)]),_0x5c7db2=Math[_0x5cc230(0x1b6)](_0x2bc8b1['FontCache']['getTextSize'](_0x5d049f,_0x2bf7f8)[_0x5cc230(0x325)]),_0x2e444d=Math[_0x5cc230(0x20a)](_0x3367,_0x5c7db2,0x28)+0xc,_0x265843=_0x55664b['colCount']+_0xe24a75[_0x5cc230(0x1b8)],_0x5d6eab={},_0x590c4c={};for(let _0x136930=_0x4ca949;_0x136930<_0x4ca949+_0x265843;_0x136930++){const _0x31b453=_0x2071e0['getColumnWidth'](_0x136930);_0x5d6eab[_0x136930]=_0x31b453,_0x136930-_0x4ca949<_0xe24a75['colCount']?_0x590c4c[_0x136930-_0x4ca949]=_0x2e444d:_0x590c4c[_0x136930-_0x4ca949]=_0x12de6d;}_0x475764[_0x5cc230(0x35f)]({'id':_0x887798[_0x5cc230(0x2f0)]['id'],'params':{'subUnitId':_0x4560f8,'unitId':_0x58dd10,'ranges':[{'startColumn':_0x4ca949,'endColumn':_0x4ca949+_0x265843-0x1,'startRow':0x0,'endRow':_0x2071e0[_0x5cc230(0x2bf)]()-0x1}],'colWidth':_0x590c4c}}),_0x5b05cf[_0x5cc230(0x35f)]({'id':_0x887798[_0x5cc230(0x2f0)]['id'],'params':{'subUnitId':_0x4560f8,'unitId':_0x58dd10,'ranges':[{'startColumn':_0x4ca949,'endColumn':_0x4ca949+_0x265843-0x1,'startRow':0x0,'endRow':_0x2071e0[_0x5cc230(0x2bf)]()-0x1}],'colWidth':_0x5d6eab}});}return{'undos':_0x5b05cf,'redos':_0x475764};}};_0x2d0cf2=_0x4eb0d0([_0x3ee006(0x0,_0x1c6d43['Inject'](_0x887798['SheetInterceptorService'])),_0x3ee006(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x1b3)])),_0x3ee006(0x2,_0x1c6d43['Inject'](_0x1c6d43[_0x1a5c4f(0x4a9)])),_0x3ee006(0x3,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x212)])),_0x3ee006(0x4,_0x1c6d43['Inject'](_0x10e2e1['SheetsPivotTableService']))],_0x2d0cf2);var _0x3babf0=Object['getOwnPropertyDescriptor'],_0x43ae43=(_0x5d1c62,_0x56f226,_0x5e88b6,_0x51fb2a)=>{for(var _0x4c29cb=_0x51fb2a>0x1?void 0x0:_0x51fb2a?_0x3babf0(_0x56f226,_0x5e88b6):_0x56f226,_0x1af567=_0x5d1c62['length']-0x1,_0x264cc3;_0x1af567>=0x0;_0x1af567--)(_0x264cc3=_0x5d1c62[_0x1af567])&&(_0x4c29cb=_0x264cc3(_0x4c29cb)||_0x4c29cb);return _0x4c29cb;},_0x1ca526=(_0x47c293,_0x2da751)=>(_0x31f161,_0x130f19)=>_0x2da751(_0x31f161,_0x130f19,_0x47c293);let _0x13b9b6=class extends _0x1c6d43['Disposable']{constructor(_0x44a87e,_0x1807d0,_0x52d7a9,_0x3cca35,_0xeb03f7,_0x58eff7,_0xe40354){const _0x222f83=_0x1a5c4f;super(),_0x47fe5b(this,_0x222f83(0x42e),new _0x1c6d43['DisposableCollection']()),(this['_injector']=_0x44a87e,this[_0x222f83(0x366)]=_0x1807d0,this[_0x222f83(0x22a)]=_0x52d7a9,this[_0x222f83(0x3bb)]=_0x3cca35,this['_sheetsPivotTableConfigModel']=_0xeb03f7,this[_0x222f83(0x1e5)]=_0x58eff7,this[_0x222f83(0x3ae)]=_0xe40354,this[_0x222f83(0x331)]());}['_onRefRangeChange'](){const _0x2f5aa4=_0x1a5c4f,_0x28ae3b=(_0x29d144,_0x2310af)=>{const _0x3c0a05=_0x2581,_0x227e7d=this['_univerInstanceService']['getCurrentUnitForType'](_0x1c6d43[_0x3c0a05(0x3dd)][_0x3c0a05(0x2ad)]);if(!_0x227e7d||!(_0x227e7d==null?void 0x0:_0x227e7d['getSheetBySheetId'](_0x2310af)))return;this['disposableCollection']['dispose']();const _0x5b28f2=_0x1649e5=>this[_0x3c0a05(0x441)](_0x1649e5,_0x29d144,_0x2310af),_0x15b7e3=this[_0x3c0a05(0x46c)][_0x3c0a05(0x29a)](_0x29d144,_0x2310af);if(!(_0x15b7e3!=null&&_0x15b7e3[_0x3c0a05(0x284)]))return;Array[_0x3c0a05(0x425)](_0x15b7e3[_0x3c0a05(0x468)]())[_0x3c0a05(0x381)](_0x3f1f85=>{const _0x11b6f5=_0x3c0a05,{row:_0x20d4cf,col:_0x43f61f}=_0x3f1f85['targetCellInfo'];return _0x1c6d43[_0x11b6f5(0x490)](_0x20d4cf,_0x43f61f);})[_0x3c0a05(0x289)](_0xc5cf7c=>{const _0x1ca9f8=_0x3c0a05;this[_0x1ca9f8(0x42e)]['add'](this[_0x1ca9f8(0x366)][_0x1ca9f8(0x210)](_0xc5cf7c,_0x5b28f2,_0x29d144,_0x2310af));});},_0x1c769e=()=>{const _0x5d3c78=_0x2581,_0x17378f=this['_univerInstanceService'][_0x5d3c78(0x20d)](_0x1c6d43[_0x5d3c78(0x3dd)][_0x5d3c78(0x2ad)]);if(_0x17378f){const _0x3a2aed=_0x17378f[_0x5d3c78(0x350)]();if(!_0x3a2aed)return;_0x28ae3b(_0x17378f[_0x5d3c78(0x283)](),_0x3a2aed[_0x5d3c78(0x408)]());}};this[_0x2f5aa4(0x444)](this[_0x2f5aa4(0x22a)]['onCommandExecuted'](_0x153c67=>{const _0x2e784b=_0x2f5aa4;if(_0x153c67['id']===_0x887798[_0x2e784b(0x3a1)]['id']){const _0x57feca=_0x153c67[_0x2e784b(0x266)],_0x159a1e=_0x57feca['subUnitId'],_0x331837=_0x57feca['unitId'];if(!_0x159a1e||!_0x331837)return;_0x28ae3b(_0x331837,_0x159a1e);}})),this[_0x2f5aa4(0x444)](this[_0x2f5aa4(0x46c)][_0x2f5aa4(0x20b)][_0x2f5aa4(0x1f9)](_0x4484b3=>{_0x4484b3&&_0x1c769e();})),this['disposeWithMe'](this[_0x2f5aa4(0x46c)][_0x2f5aa4(0x294)]['subscribe'](_0x132bb8=>{const _0x29ff91=_0x2f5aa4,_0x197592=_0x887798['getSheetCommandTarget'](this[_0x29ff91(0x3bb)]);if(!_0x197592)return;const {unitId:_0x473bb9,subUnitId:_0x471944}=_0x197592,{unitId:_0x3a2946,subUnitId:_0x295c66}=_0x132bb8;_0x473bb9!==_0x3a2946||_0x471944!==_0x295c66||_0x28ae3b(_0x473bb9,_0x471944);})),_0x1c769e();}[_0x1a5c4f(0x441)](_0x4da514,_0x37bef5,_0x367be9){const _0x2e15da=_0x1a5c4f;switch(_0x4da514['id']){case _0x887798['MoveRangeCommand']['id']:return this[_0x2e15da(0x4a5)](_0x4da514[_0x2e15da(0x266)],_0x37bef5,_0x367be9);}return{'redos':[],'undos':[]};}[_0x1a5c4f(0x4a5)](_0x8d33e,_0x5dd618,_0x338a21){const _0x1276d8=_0x1a5c4f,{fromRange:_0x1ae079,toRange:_0x256b5d}=_0x8d33e,_0x2e9dc7=[],_0x294077=[],_0xed882d=_0x887798[_0x1276d8(0x41d)](this[_0x1276d8(0x3bb)]);if(!_0xed882d)return{'undos':_0x294077,'redos':_0x2e9dc7};if(_0x5dd618!==_0xed882d[_0x1276d8(0x3f9)]||_0x338a21!==_0xed882d[_0x1276d8(0x371)])return{'undos':_0x294077,'redos':_0x2e9dc7};const _0x44a0de=this['_sheetsPivotTableConfigModel'][_0x1276d8(0x29a)](_0x5dd618,_0x338a21);if(_0x44a0de!=null&&_0x44a0de[_0x1276d8(0x284)])for(const [_0x2db6c3,_0x5e6e88]of _0x44a0de){const {unitId:_0x2c4f1e,subUnitId:_0x45f62b,row:_0x457a7d,col:_0x2c08db}=_0x5e6e88['targetCellInfo'];if(_0x2c4f1e===_0xed882d[_0x1276d8(0x3f9)]&&_0x45f62b===_0xed882d[_0x1276d8(0x371)]){const _0x18ca9d=_0x1c6d43[_0x1276d8(0x490)](_0x457a7d,_0x2c08db);if(_0x1c6d43[_0x1276d8(0x43b)][_0x1276d8(0x2a6)](_0x18ca9d,_0x1ae079)){const _0x30caa6=_0x457a7d-_0x1ae079[_0x1276d8(0x407)],_0x53a810=_0x2c08db-_0x1ae079[_0x1276d8(0x2d6)],_0x47076f={'row':_0x256b5d['startRow']+_0x30caa6,'col':_0x256b5d[_0x1276d8(0x2d6)]+_0x53a810};_0x2e9dc7['push']({'id':_0x1a0c37['id'],'params':{'unitId':_0x2c4f1e,'subUnitId':_0x45f62b,'pivotTableId':_0x2db6c3,'targetCellPosition':_0x47076f}}),_0x294077['push']({'id':_0x1a0c37['id'],'params':{'unitId':_0x2c4f1e,'subUnitId':_0x45f62b,'pivotTableId':_0x2db6c3,'targetCellPosition':{'row':_0x457a7d,'col':_0x2c08db}}});const _0x6bf228=_0x47076f['row']-_0x457a7d,_0x54c469=_0x47076f['col']-_0x2c08db,_0x1d51d2=[],_0xc5badc=this[_0x1276d8(0x1e5)][_0x1276d8(0x2df)](_0x2c4f1e,_0x45f62b,_0x2db6c3),_0x3318e8=_0xc5badc==null?void 0x0:_0xc5badc[_0x1276d8(0x451)];if(_0x3318e8){Object[_0x1276d8(0x1d2)](_0x3318e8)[_0x1276d8(0x289)](_0x5021f3=>{_0x3318e8[_0x5021f3]['forEach'](_0x782df0=>{const _0x8f3bf5=_0x2581,_0x1ee9aa={..._0x782df0};_0x1ee9aa[_0x8f3bf5(0x407)]=_0x782df0[_0x8f3bf5(0x407)]+_0x6bf228,_0x1ee9aa[_0x8f3bf5(0x2ca)]=_0x782df0[_0x8f3bf5(0x2ca)]+_0x6bf228,_0x1ee9aa['startColumn']=_0x782df0[_0x8f3bf5(0x2d6)]+_0x54c469,_0x1ee9aa[_0x8f3bf5(0x41c)]=_0x782df0[_0x8f3bf5(0x41c)]+_0x54c469,_0x1d51d2['push'](_0x1ee9aa);});});const _0xdfcab7=this[_0x1276d8(0x3ae)]['generateMutationsByRanges']({'unitId':_0x2c4f1e,'subUnitId':_0x45f62b,'ranges':_0x1d51d2});_0x2e9dc7[_0x1276d8(0x35f)](..._0xdfcab7['redos']),_0x294077[_0x1276d8(0x35f)](..._0xdfcab7[_0x1276d8(0x3de)]);const _0x1e8cba=_0x902884(this[_0x1276d8(0x220)],_0x2c4f1e,_0x45f62b,_0x1d51d2);_0x1e8cba[_0x1276d8(0x2a9)]&&(_0x2e9dc7['push'](_0x1e8cba['setRangeValueRedoMutation']),_0x294077[_0x1276d8(0x35f)](_0x1e8cba['setRangeValueUndoMutation']));}}}}return{'redos':_0x2e9dc7,'undos':_0x294077};}};_0x13b9b6=_0x43ae43([_0x1ca526(0x0,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x1b3)])),_0x1ca526(0x1,_0x1c6d43['Inject'](_0x887798[_0x1a5c4f(0x403)])),_0x1ca526(0x2,_0x1c6d43[_0x1a5c4f(0x3fa)]),_0x1ca526(0x3,_0x1c6d43[_0x1a5c4f(0x4a9)]),_0x1ca526(0x4,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x212)])),_0x1ca526(0x5,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x36c)])),_0x1ca526(0x6,_0x1c6d43[_0x1a5c4f(0x413)](_0x887798[_0x1a5c4f(0x3c3)]))],_0x13b9b6);var _0x5e81e3=Object[_0x1a5c4f(0x4b1)],_0x18a9a2=(_0x257b58,_0x58c030,_0x1c0009,_0x3b2ccc)=>{const _0x1a0662=_0x1a5c4f;for(var _0x536218=_0x3b2ccc>0x1?void 0x0:_0x3b2ccc?_0x5e81e3(_0x58c030,_0x1c0009):_0x58c030,_0x1e410e=_0x257b58[_0x1a0662(0x1fa)]-0x1,_0x449207;_0x1e410e>=0x0;_0x1e410e--)(_0x449207=_0x257b58[_0x1e410e])&&(_0x536218=_0x449207(_0x536218)||_0x536218);return _0x536218;},_0x50ac33=(_0x5f07e7,_0x590a17)=>(_0x2c5fdb,_0x51d2eb)=>_0x590a17(_0x2c5fdb,_0x51d2eb,_0x5f07e7);let _0x7feb44=class extends _0x1c6d43[_0x1a5c4f(0x229)]{constructor(_0x1840b4,_0x3bc6b6){const _0x261cc1=_0x1a5c4f;super(),this[_0x261cc1(0x3ae)]=_0x1840b4,this[_0x261cc1(0x46c)]=_0x3bc6b6,this['_initRemoveSheetCommandInterceptor']();}[_0x1a5c4f(0x2e3)](){const _0x332614=_0x1a5c4f;this[_0x332614(0x444)](this['_sheetInterceptorService'][_0x332614(0x3cd)]({'getMutations':_0x31b702=>{const _0x444126=_0x332614;if(_0x31b702['id']===_0x887798[_0x444126(0x41f)]['id']){const _0x37cc18=[],_0x2d546f=[],_0x5d8e51=_0x31b702['params'],{unitId:_0x27ae9f,subUnitId:_0x3c085f}=_0x5d8e51;if(!_0x27ae9f||!_0x3c085f)return{'undos':_0x2d546f,'redos':_0x37cc18};const _0x1b3a4e=this[_0x444126(0x46c)][_0x444126(0x29a)](_0x27ae9f,_0x3c085f);if(_0x1b3a4e!=null&&_0x1b3a4e[_0x444126(0x284)])for(const [_0x24a2c4,_0x3c7bbf]of _0x1b3a4e){_0x37cc18[_0x444126(0x35f)]({'id':_0x4b5ee2['id'],'params':{'unitId':_0x27ae9f,'subUnitId':_0x3c085f,'pivotTableId':_0x24a2c4}});const _0x1d7438={...this[_0x444126(0x46c)][_0x444126(0x27c)](_0x27ae9f,_0x24a2c4)};_0x2d546f[_0x444126(0x35f)]({'id':_0x201db6['id'],'params':{'unitId':_0x27ae9f,'subUnitId':_0x3c085f,'pivotTableId':_0x24a2c4,'pivotTableConfig':_0x3c7bbf,'collectionConfig':_0x1d7438}});}return{'redos':_0x37cc18,'undos':_0x2d546f};}return{'redos':[],'undos':[]};}}));}};_0x7feb44=_0x18a9a2([_0x50ac33(0x0,_0x1c6d43[_0x1a5c4f(0x413)](_0x887798[_0x1a5c4f(0x3c3)])),_0x50ac33(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x212)]))],_0x7feb44);var _0x4328b1=Object[_0x1a5c4f(0x4b1)],_0x12ea5f=(_0x454d0d,_0x274f11,_0x1240c1,_0x391935)=>{const _0x582ccb=_0x1a5c4f;for(var _0x48293d=_0x391935>0x1?void 0x0:_0x391935?_0x4328b1(_0x274f11,_0x1240c1):_0x274f11,_0x424b37=_0x454d0d[_0x582ccb(0x1fa)]-0x1,_0x184033;_0x424b37>=0x0;_0x424b37--)(_0x184033=_0x454d0d[_0x424b37])&&(_0x48293d=_0x184033(_0x48293d)||_0x48293d);return _0x48293d;},_0xcc41b8=(_0x308ac6,_0x5cc8a0)=>(_0x2b9924,_0x3c047a)=>_0x5cc8a0(_0x2b9924,_0x3c047a,_0x308ac6);let _0x5565de=class extends _0x1c6d43[_0x1a5c4f(0x229)]{constructor(_0x55b8e4,_0x5dd9e4,_0x5dd289,_0x1ce2ae,_0x44809d,_0x6e1bfc){const _0x3df311=_0x1a5c4f;super(),this[_0x3df311(0x22a)]=_0x55b8e4,this[_0x3df311(0x391)]=_0x5dd9e4,this[_0x3df311(0x1e5)]=_0x5dd289,this[_0x3df311(0x46c)]=_0x1ce2ae,this[_0x3df311(0x3bb)]=_0x44809d,this[_0x3df311(0x2fe)]=_0x6e1bfc,this[_0x3df311(0x200)](),this['registerDirtyService']();}['_initDataSendListener'](){const _0x5d68b4=_0x1a5c4f;this[_0x5d68b4(0x444)](this[_0x5d68b4(0x22a)][_0x5d68b4(0x3be)](_0x86a4d6=>{const _0x21c73d=_0x5d68b4;if(_0x86a4d6['id']!==_0x18fd88['id'])return;const _0x3befff=_0x86a4d6[_0x21c73d(0x266)];this[_0x21c73d(0x391)][_0x21c73d(0x276)](_0x3befff);})),this[_0x5d68b4(0x444)](this[_0x5d68b4(0x22a)][_0x5d68b4(0x3be)](_0x25db20=>{const _0x194fe3=_0x5d68b4;if(_0x25db20['id']===_0x444bca['id']){const _0x4f0aef=_0x25db20[_0x194fe3(0x266)];if(_0x4f0aef){const {unitId:_0xbedb7d,subUnitId:_0x5c5b64,oldSubUnitId:_0x14d967,pivotTableId:_0x1b686e,pivotTableConfig:_0x151301,collectionConfig:_0x35df6c}=_0x4f0aef;this['_sheetsPivotTableConfigModel'][_0x194fe3(0x347)](_0xbedb7d,_0x14d967,_0x4f0aef[_0x194fe3(0x495)],null),this[_0x194fe3(0x46c)][_0x194fe3(0x347)](_0xbedb7d,_0x5c5b64,_0x1b686e,_0x151301),this[_0x194fe3(0x46c)][_0x194fe3(0x311)](_0xbedb7d,_0x35df6c);}}})),this[_0x5d68b4(0x444)](this[_0x5d68b4(0x22a)][_0x5d68b4(0x3be)](_0x1d91f9=>{const _0x200ce4=_0x5d68b4;if(_0x1d91f9['id']!==_0x1a5016['id'])return;const _0x45ff4d=_0x887798[_0x200ce4(0x41d)](this[_0x200ce4(0x3bb)]);if(!_0x45ff4d)return;const {unitId:_0x492b3f,subUnitId:_0x745b64}=_0x45ff4d,_0x107c51=_0x1d91f9['params'];if(_0x107c51['collectionConfig']&&Object['keys'](_0x107c51['collectionConfig'])[_0x200ce4(0x289)](_0xcb1bbf=>{const _0x505be6=_0x200ce4;var _0x120a01;(_0x120a01=_0x107c51[_0x505be6(0x2ba)])!=null&&_0x120a01[_0xcb1bbf]&&this[_0x505be6(0x46c)][_0x505be6(0x311)](_0xcb1bbf,_0x107c51['collectionConfig'][_0xcb1bbf]);}),_0x107c51[_0x200ce4(0x4a2)]){const _0xf8b757=_0x107c51[_0x200ce4(0x4a2)],{unitId:_0x459665,subUnitId:_0x1808b3,view:_0x1b40bf,pivotTableId:_0xfefd7e,type:_0x167928,pivotConfig:_0x56500e}=_0xf8b757;if(_0x167928===_0x15c80f[_0x200ce4(0x1ed)])this[_0x200ce4(0x1e5)][_0x200ce4(0x1e6)]({'unitId':_0x459665,'subUnitId':_0x1808b3,'pivotTableId':_0xfefd7e,'type':_0x167928}),this[_0x200ce4(0x46c)][_0x200ce4(0x347)](_0x459665,_0x1808b3,_0xfefd7e,null);else{const _0x20f299=new _0x5ae8cc[(_0x200ce4(0x29b))]();_0x20f299[_0x200ce4(0x491)](_0x1b40bf),this['_sheetsPivotTableConfigModel'][_0x200ce4(0x347)](_0x459665,_0x1808b3,_0xfefd7e,_0x56500e),this[_0x200ce4(0x1e5)]['clearRenderCache']({'unitId':_0x459665,'subUnitId':_0x1808b3,'pivotTableId':_0xfefd7e,'type':_0x167928,'view':_0x20f299}),this[_0x200ce4(0x1e5)][_0x200ce4(0x482)]({'unitId':_0x459665,'subUnitId':_0x1808b3,'view':_0x20f299,'pivotTableId':_0xfefd7e,'type':_0x167928});}}else _0x107c51['batch']&&(_0x107c51[_0x200ce4(0x208)][_0x200ce4(0x289)](_0x5a9df9=>{const _0x590af6=_0x200ce4,{unitId:_0x26ac4c,subUnitId:_0x296539,view:_0x1d95a6,pivotTableId:_0x37e083,type:_0x4cd795,pivotConfig:_0xdd0948}=_0x5a9df9,_0x146e1b=new _0x5ae8cc[(_0x590af6(0x29b))]();_0x146e1b[_0x590af6(0x491)](_0x1d95a6),this[_0x590af6(0x46c)][_0x590af6(0x347)](_0x26ac4c,_0x296539,_0x37e083,_0xdd0948),this[_0x590af6(0x1e5)][_0x590af6(0x482)]({'unitId':_0x26ac4c,'subUnitId':_0x296539,'view':_0x146e1b,'pivotTableId':_0x37e083,'type':_0x4cd795});}),this['_sheetsPivotTableConfigModel'][_0x200ce4(0x455)]());this[_0x200ce4(0x1e5)][_0x200ce4(0x1df)](_0x492b3f,_0x745b64);}));}['registerDirtyService'](){const _0x448491=_0x1a5c4f;this[_0x448491(0x2fe)][_0x448491(0x3d6)](_0x4a97a6['id'],{'commandId':_0x4a97a6['id'],'getDirtyData'(_0x451212){const _0x4fd3d8=_0x448491;return{'dirtyUnitFeatureMap':_0x451212[_0x4fd3d8(0x266)]};}});}};_0x5565de=_0x12ea5f([_0xcc41b8(0x0,_0x1c6d43['Inject'](_0x1c6d43[_0x1a5c4f(0x3fa)])),_0xcc41b8(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x2ec)])),_0xcc41b8(0x2,_0x1c6d43[_0x1a5c4f(0x413)](_0x10e2e1[_0x1a5c4f(0x36c)])),_0xcc41b8(0x3,_0x1c6d43['Inject'](_0x10e2e1['SheetsPivotTableConfigModel'])),_0xcc41b8(0x4,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x4a9)])),_0xcc41b8(0x5,_0x544538[_0x1a5c4f(0x33a)])],_0x5565de);var _0x253603=Object[_0x1a5c4f(0x46f)],_0x3833d9=Object['getOwnPropertyDescriptor'],_0x287e06=(_0x43b245,_0x3913f0,_0xf42fd9)=>_0x3913f0 in _0x43b245?_0x253603(_0x43b245,_0x3913f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf42fd9}):_0x43b245[_0x3913f0]=_0xf42fd9,_0x193540=(_0x4d0aa8,_0x24b9f7,_0x477ec7,_0x41af58)=>{const _0x35fb74=_0x1a5c4f;for(var _0x3bb611=_0x41af58>0x1?void 0x0:_0x41af58?_0x3833d9(_0x24b9f7,_0x477ec7):_0x24b9f7,_0x1539fb=_0x4d0aa8[_0x35fb74(0x1fa)]-0x1,_0x1776af;_0x1539fb>=0x0;_0x1539fb--)(_0x1776af=_0x4d0aa8[_0x1539fb])&&(_0x3bb611=_0x1776af(_0x3bb611)||_0x3bb611);return _0x3bb611;},_0x28af41=(_0x43e45c,_0x251ce6)=>(_0x3ae4f9,_0xbb189a)=>_0x251ce6(_0x3ae4f9,_0xbb189a,_0x43e45c),_0x128220=(_0x490d62,_0x4367f3,_0x181fd0)=>_0x287e06(_0x490d62,typeof _0x4367f3!='symbol'?_0x4367f3+'':_0x4367f3,_0x181fd0);_0x10e2e1[_0x1a5c4f(0x307)]=class extends _0x1c6d43[_0x1a5c4f(0x312)]{constructor(_0x225733=_0x1a7afb,_0x104355,_0x24d4ca,_0x3a3f3e,_0x7f206c){const _0xa286ba=_0x1a5c4f;super(),this[_0xa286ba(0x4a0)]=_0x225733,this[_0xa286ba(0x220)]=_0x104355,this['_commandService']=_0x24d4ca,this[_0xa286ba(0x1f2)]=_0x3a3f3e,this[_0xa286ba(0x428)]=_0x7f206c;const {..._0x6eb56b}=_0x1c6d43[_0xa286ba(0x28f)]({},_0x1a7afb,this[_0xa286ba(0x4a0)]);this[_0xa286ba(0x1f2)]['setConfig'](_0x54f87d,_0x6eb56b),this[_0xa286ba(0x4ae)](),this[_0xa286ba(0x4b7)]();}[_0x1a5c4f(0x4b7)](){const _0x1ce04a=_0x1a5c4f;var _0x59e90b;const _0x199b07=(_0x59e90b=this['_config'])==null?void 0x0:_0x59e90b[_0x1ce04a(0x2f3)];this[_0x1ce04a(0x1f2)][_0x1ce04a(0x382)](_0x82779a,_0x199b07===!0x0);}[_0x1a5c4f(0x2bd)](){const _0x379dfd=_0x1a5c4f;var _0x4ce1cb;let _0x5eaef0=[];const _0x4fb786=(_0x4ce1cb=this[_0x379dfd(0x4a0)])==null?void 0x0:_0x4ce1cb[_0x379dfd(0x2f3)];_0x4fb786===!0x0?_0x5eaef0=[[_0x10e2e1['SheetsPivotTableService']],[_0x10e2e1[_0x379dfd(0x2ec)]],[_0x5565de],[_0x10e2e1[_0x379dfd(0x36c)]],[_0x10e2e1[_0x379dfd(0x212)]],[_0x7feb44],[_0x3ab706],[_0x13b9b6],[_0x2d0cf2]]:_0x4fb786===!0x1?_0x5eaef0=[[_0x10e2e1[_0x379dfd(0x44f)]],[_0x14e7e5]]:_0x4fb786===void 0x0&&(_0x5eaef0=[[_0x10e2e1[_0x379dfd(0x44f)]],[_0x14e7e5],[_0x10e2e1[_0x379dfd(0x2ea)]],[_0x10e2e1[_0x379dfd(0x2ec)]],[_0x5565de],[_0x10e2e1[_0x379dfd(0x36c)]],[_0x10e2e1['SheetsPivotTableConfigModel']],[_0x7feb44],[_0x3ab706],[_0x13b9b6],[_0x2d0cf2]]),_0x5eaef0['forEach'](_0x31c06d=>this[_0x379dfd(0x220)][_0x379dfd(0x277)](_0x31c06d)),[_0x14e7e5,_0x5565de,_0x10e2e1[_0x379dfd(0x2ea)],_0x3ab706,_0x7feb44,_0x13b9b6,_0x2d0cf2]['forEach'](_0x3cc18c=>{const _0xd94a4b=_0x379dfd;this[_0xd94a4b(0x220)][_0xd94a4b(0x2c3)](_0x3cc18c)&&this[_0xd94a4b(0x220)][_0xd94a4b(0x420)](_0x3cc18c);});}['_initRegisterCommand'](){[_0x4b690f,_0x160459,_0x57c919,_0x42e8b8,_0x4a5912,_0x984d6e,_0x31223d,_0x5e2c13,_0x11aada,_0x11c222,_0x473c96,_0x30e45f,_0x4ff1a4,_0x334bf9,_0x201db6,_0x1efd0f,_0x4b5ee2,_0x3b4668,_0x5a652b,_0x5a843f,_0x1e2579,_0x1c9d23,_0x36cefc,_0x1f81ce,_0x9b582d,_0xf6b9c6,_0x1a0c37,_0x49c429,_0x18fd88,_0x1a5016,_0x27b4eb,_0x59932b,_0x5c573c,_0x22afcb,_0x113f86,_0x78152,_0x1ad67c,_0x4a97a6,_0x444bca,_0x9bf298,_0x16a0fe,_0x41f50c,_0x46d7f2]['forEach'](_0x1043b7=>{const _0x40bad9=_0x2581;var _0x63b157;(_0x63b157=this[_0x40bad9(0x428)])==null||_0x63b157[_0x40bad9(0x4a6)](_0x1043b7),this[_0x40bad9(0x22a)][_0x40bad9(0x3ea)](_0x1043b7);});}},_0x128220(_0x10e2e1['UniverSheetsPivotTablePlugin'],_0x1a5c4f(0x237),_0x1540b7),_0x128220(_0x10e2e1[_0x1a5c4f(0x307)],'type',_0x1c6d43['UniverInstanceType'][_0x1a5c4f(0x2ad)]),_0x10e2e1[_0x1a5c4f(0x307)]=_0x193540([_0x1c6d43[_0x1a5c4f(0x3a4)](_0x1778fa['UniverLicensePlugin']),_0x28af41(0x1,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x1b3)])),_0x28af41(0x2,_0x1c6d43[_0x1a5c4f(0x413)](_0x1c6d43[_0x1a5c4f(0x3fa)])),_0x28af41(0x3,_0x1c6d43[_0x1a5c4f(0x31a)]),_0x28af41(0x4,_0x1c6d43[_0x1a5c4f(0x33d)](_0x414f8a[_0x1a5c4f(0x25e)]))],_0x10e2e1[_0x1a5c4f(0x307)]),_0x10e2e1['AddPivotFieldCommand']=_0x57c919,_0x10e2e1[_0x1a5c4f(0x463)]=_0x3b4668,_0x10e2e1[_0x1a5c4f(0x24d)]=_0x160459,_0x10e2e1[_0x1a5c4f(0x1a2)]=_0x201db6,_0x10e2e1['AddPivotTableWithConfigCommand']=_0x4b690f,_0x10e2e1[_0x1a5c4f(0x36e)]=_0x367df3,_0x10e2e1[_0x1a5c4f(0x45c)]=_0x1cf699,_0x10e2e1[_0x1a5c4f(0x3cc)]=_0x42e8b8,_0x10e2e1['MovePivotTableCommand']=_0x4ff1a4,_0x10e2e1[_0x1a5c4f(0x1bd)]=_0x4218a2,_0x10e2e1[_0x1a5c4f(0x367)]=_0x334bf9,_0x10e2e1[_0x1a5c4f(0x1c1)]=_0x15c80f,_0x10e2e1[_0x1a5c4f(0x281)]=_0x4a97a6,_0x10e2e1[_0x1a5c4f(0x317)]=_0x5544eb,_0x10e2e1[_0x1a5c4f(0x4a8)]=_0x4a5912,_0x10e2e1['RemovePivotFieldMutation']=_0x1c9d23,_0x10e2e1[_0x1a5c4f(0x241)]=_0x4b5ee2,_0x10e2e1[_0x1a5c4f(0x3b7)]=_0x36cefc,_0x10e2e1['ResetPivotFieldsConfigCommand']=_0x46d7f2,_0x10e2e1[_0x1a5c4f(0x40a)]=_0x54f87d,_0x10e2e1[_0x1a5c4f(0x2af)]=_0x1540b7,_0x10e2e1['SetPivotCollapseCommand']=_0x5e2c13,_0x10e2e1['SetPivotCollapseMutation']=_0x1f81ce,_0x10e2e1['SetPivotFieldFormatMutation']=_0x22afcb,_0x10e2e1['SetPivotFieldsConfigCommand']=_0x41f50c,_0x10e2e1[_0x1a5c4f(0x3e4)]=_0x11c222,_0x10e2e1[_0x1a5c4f(0x226)]=_0x1e2579,_0x10e2e1[_0x1a5c4f(0x318)]=_0xf6b9c6,_0x10e2e1[_0x1a5c4f(0x1c8)]=_0x1a0c37,_0x10e2e1[_0x1a5c4f(0x3ac)]=_0x11aada,_0x10e2e1[_0x1a5c4f(0x40e)]=_0x9b582d,_0x10e2e1[_0x1a5c4f(0x3e7)]=_0x5c573c,_0x10e2e1['SetPivotValueFilterCommand']=_0x9bf298,_0x10e2e1[_0x1a5c4f(0x459)]=_0x16a0fe,_0x10e2e1[_0x1a5c4f(0x1b2)]=_0x31223d,_0x10e2e1[_0x1a5c4f(0x416)]=_0x27b4eb,_0x10e2e1[_0x1a5c4f(0x327)]=_0x473c96,_0x10e2e1['UpdatePivotFieldSourceInfoMutation']=_0x1ad67c,_0x10e2e1[_0x1a5c4f(0x2a4)]=_0x30e45f,_0x10e2e1[_0x1a5c4f(0x20e)]=_0x78152,_0x10e2e1[_0x1a5c4f(0x462)]=_0x984d6e,_0x10e2e1[_0x1a5c4f(0x445)]=_0x59932b,_0x10e2e1[_0x1a5c4f(0x2f6)]=_0xa3da40,_0x10e2e1[_0x1a5c4f(0x1a1)]=_0x43bc17,_0x10e2e1['defaultThemeStyle']=_0x4c04b6,_0x10e2e1[_0x1a5c4f(0x2b8)]=_0x902884,_0x10e2e1[_0x1a5c4f(0x2b0)]=_0x243a07,_0x10e2e1[_0x1a5c4f(0x2de)]=_0x5dcd93,_0x10e2e1[_0x1a5c4f(0x36f)]=_0x209643,_0x10e2e1[_0x1a5c4f(0x477)]=_0x9427db,_0x10e2e1['getPivotCellInfo']=_0x340a16,_0x10e2e1[_0x1a5c4f(0x2ee)]=_0xbd7e33,_0x10e2e1[_0x1a5c4f(0x274)]=_0x10f04b,_0x10e2e1[_0x1a5c4f(0x3b0)]=_0x53fbb7,_0x10e2e1['unionPivotViewRange']=_0x3ecb18,Object[_0x1a5c4f(0x46f)](_0x10e2e1,Symbol[_0x1a5c4f(0x270)],{'value':_0x1a5c4f(0x4b9)});}));function _0x2581(_0x322103,_0x3cdf32){const _0x31e5f0=_0x31e5();return _0x2581=function(_0x25810f,_0x31d878){_0x25810f=_0x25810f-0x19f;let _0x3a3eb=_0x31e5f0[_0x25810f];return _0x3a3eb;},_0x2581(_0x322103,_0x3cdf32);}function _0x31e5(){const _0x59bdef=['PivotCellStyleTypeEnum','BLANK_ROW_COUNT','getFieldListByArea','targetCellInfo','subUnitId','setRangeValueRedoMutation','UniverEngineRender','rowHeaderMap','_globalComputedStartHelpFunc','_model','#f4f4f5','subTotalStyle','name','pivotTableConfigs','RemoveField','rangeType','UniverRpc','_globalComputedEndHelpFunc','getFilterInfo','sheets-pivot.dateGroup.month','map','setConfig','removeField','movePivotField','sheets-pivot.cellDateGroupDisplay.yearQuarter','sheets-pivot.countNumsName','colHeaderMap','originalFieldId','getDataFieldByRangeKey','call','Minute','Varp\x20of\x20','YearMonth','updateViewData','_ensurePivotItemRenderInfoCache','_collectionChange$','_sheetsPivotRpcService','addRecord','fontRenderExtension','oldMatrix','endCollectChangeset','getPivotTableRangeInfo','body','leafStyle','removePivotField','forValue','getRangeKeyList','sheets-pivot.cellDateGroupDisplay.yearMonth','rxjs','Subtotal','RemoveSheetsFilterMutation','rangeKeyMap','SetWorksheetActiveOperation','lastCol','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','DependentOn','getMatrixFromRunTimeData','getRangeStartEndInfo','getFormat','NotNumber','CustomCommandExecutionError','COMMAND','_sheetsPivotDataSourceModel','SetPivotSortCommand','sheet.command.remove-pivot-field','_sheetInterceptorService','lastRow','transFromCellValue','_pivotConfigChange$','getHeaderMapItem','_updateRenderEmptyCache','getSourceName','getStyles','UniverProEnginePivot','RenamePivotFieldMutation','Values','addCollection','initDataRanges','_univerInstanceService','setPivotCollapse','dispose','onCommandExecuted','updateDataFieldsCollection','ManualFilter','toString','tuple','SheetInterceptorService','other','hasField','setTextInfo','getFieldDataType','RemovePivotField','2045OgJWzG','remove','isDateValue','MovePivotFieldCommand','interceptCommand','sheet.command.pivot-drill-down','getDataFieldId','toJSON','sheets-pivot.value','sourceName','getDataFieldManager','FORCE_STRING','fieldsConfig','register','rangeKey','stdDevp','addDataFieldWithoutUnitInfo','sheet.command.set-pivot-sort','IResourceManagerService','SetRangeValuesMutation','UniverInstanceType','undos','_globalSubject','isBottomTotal','NotFunction','random','_collectionConfigModel','SetPivotFilterCommand','BehaviorSubject','getDataFieldByTableId','SetPivotSubtotalTypeMutation','DateGroupField','isText','registerCommand','_initViewModelBySheetInterceptor','ResetPivotTable','sheet.operation.pivot-table-view-formula-mark-dirty','getFieldPositionInfoById','sheet.command.move-pivot-table','columnFields','sheet.command.add-pivot-table','new','sheetName','getColCount','Quarter','_initGlobalComputed','PivotCallbackEnum','deleteDataField','unitId','ICommandService','createDataFieldId','prefix','rowStyle','sheet.mutation.update-date-group','sideEffectUpdateWorkerCache','Hour','rangeCache','getMonth','RefRangeService','fieldIds','sheets-pivot.columnName','_configVersion$','startRow','getSheetId','getTextInfo','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','product','getRangeData','resetPivotTable','SetPivotSortMutation','info','_ensureViewDataMap','sheets-pivot.maxName','dataFields','Inject','removePivotTable','createInterceptorKey','UpdateFieldPositionMutation','getLastRow','numberToABC','message','setDateType','subtotal','endColumn','getSheetCommandTarget','getSubtotal','RemoveSheetCommand','get','function','sheets-pivot.dateGroup.quarter','_pivotTableInstanceCache','MonthDate','from','SetPivotFilter','setLabelFilterInfo','_dataSyncPrimaryController','filterId','node','22CKXrxU','InsertRowMutation','number','disposableCollection','generateRandomId','sourceRangeInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','5612202sGxidx','sheets-pivot.stdDevpName','areaInfo','IExclusiveRangeService','startCollectChangeset','PivotErrorTypeEnum','_sheetsPivotTableService','getPivotTableCellData','setPivotTableConfig','Rectangle','@univerjs/sheets-filter','prototype','reset','asObservable','generateMutationsByRanges','_refRangeHandle','DisposableCollection','ErrorType','disposeWithMe','UpdateValuePositionMutation','some','existing','sheet.mutation.rename-pivot-field','312084azXyWG','AddPivotTable','_generateUniqueVersion','sheet.mutation.get-pivot-data-local','isEmpty','uniqueDataFieldName','SheetsPivotDataSourceModel','getFieldInfo','rangesInfo','dataFieldId','setPivotSetting','getValueFilterInfos','setPivotInitCompleted','isColMultiMeasure','sheets-pivot.varpName','dataStream','SetPivotValueFilterMutation','getSheetFeatureLimit','query','DEFAULT_PIVOT_NUMBER','collections','_viewData$','PivotFilterTypeEnum','Count\x20of\x20','getformat','UpdatePivotValuePositionCommand','AddPivotFieldMutation','oldRangeInfo','_requestResolvers','getMatrixValue','sheets-pivot.dateGroup.hour','values','registerPluginResource','getUnit','YearMonthDate','_sheetsPivotTableConfigModel','sheet.command.set-pivot-value-filter','isArray','defineProperty','UpdatePivotSource','_fieldsCollectionChange$','SHEET_PIVOT_IN_MAIN_THREAD','getNoUsedDataFieldIds','FieldsCollection','filterFields','isDateGroupFieldJSON','getInsertRowColMutations','#e6ebfb','_lifecycleService','interceptor','_localeService','valuePosition','viewData$','sheets-pivot.emptyPivot.filter','GrandTotal','sheets-pivot.cellDateGroupDisplay.month','varp','updateRenderCache','getDataFieldItemInfo','textInfo','sheet.mutation.set-pivot-collapse','addPivotTableWithConfig','AddPivotTableWithConfig','queryDirtyPivotTable','_resourceManagerService','sheet.command.update-pivot-value-position','headerMap','_ensurePivotTableMatrixInfo','getAutoDisplayName','setPivotTable','sheet.mutation.update-pivot-table-source-range','cellToRange','formJSON','DEFAULT_WORKSHEET_COLUMN_COUNT','getPivotTableConfig','LS_CONFIG_KEY','pivotTableId','sheet.command.set-pivot-filter','@univerjs/rpc','slice','updateDirtyPivotTable','MIN_SAFE_INTEGER','_markDirty$','_subjectFieldsCollectionChange','updatePivotTableRangeInfo','generateNewSheetName','updateValuePosition','_config','@univerjs-pro/engine-pivot','single','ΣValue','PivotViewCellValueTypeEnum','getRefRangeMutationsByMoveRange','registerSyncingMutations','iterateField','RemovePivotFieldCommand','IUniverInstanceService','type','GlobalConfig','getCellMatrix','10uDJYuq','_initRegisterCommand','pushUndoRedo','sheet.mutation.add-pivot-table','getOwnPropertyDescriptor','ReleaseType','blank','sheet.mutation.set-pivot-sort-info','ObjectMatrix','getFormatInfo','_initConfig','CellValueType','Module','adjustSheetCellData','parseInt','sheets-pivot.varName','sheet.mutation.set-pivot-format','getFullYear','sheet.mutation.add-group-collection','sheets-pivot.dateGroup.year','Subject','None','sheet.mutation.remove-group-collection','setFieldFormat','canUsePivot','AddPivotTableMutation','filter','update','addFieldWithSourceId','workbook\x20is\x20not\x20found','#FFFFFF','sheets-pivot.dateGroup.yearMonth','Max\x20of\x20','_sheetsSelectionsService','getDataFieldByDataFieldId','updateViewInfo','addCollectionByJSON','getViewData','realDeleteValue','colRanges','6013271BVIpHf','UpdateDateGroupCommand','Injector','InsertSheetMutation','196hVDksC','floor','data','colCount','getColumnCount','Filter','setValue','_initSnapshot','PivotDisplayDataType','sheets-pivot.emptyPivot.values','valueFields','sheets-pivot.cellDateGroupDisplay.quarter','PivotTableOperationEnum','format','StdDev\x20of\x20','setRangeValueUndoMutation','Value','numfmt','SetRangeValuesUndoMutationFactory','SetPivotPositionMutation','sheet.command.set-pivot-field-setting','595400DbMCQA','getDirtyInfo','_ensurePivotMap','sheets-pivot.cellDateGroupDisplay.hour','split','MUTATION','_pivotRenderInfoCache','sheets.tabs.sheet','keys','UpdateFieldPosition','_dataFieldManagerCollection','getDisplayName','PivotTableFiledAreaEnum','674337PAtdcE','generateNullCell','PivotMultipleValueId','setRangeKeyMap','Average\x20of\x20','_globalComputingSrv','getSubUnitPivotMatrix','stringify','markDirty','set','IUndoRedoService','column','Column','error','_sheetsPivotTableAdaptorModel','clearRenderCache','row','InterceptorEffectEnum','_subjectViewChange','getFontStyleString','document','fromJSON','Delete','handleSourceRangeChange','dataRangeInfo','_pivotTableMatrixInfo','setValuePivotFilter','_configService','AddField','sequenceExecute','setPivotFilter','getFieldById','removeValueFilterInfo','symbol','subscribe','length','range','getId','getDate','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','asyncInterceptor','_initDataSendListener','YearQuarter','filterInfo','Product\x20of\x20','PivotDataFieldDataTypeEnum','DrillDown','sheet.mutation.add-pivot-field','next','batch','sum','max','pivotInitCompleted$','dimension','getCurrentUnitForType','UpdatePivotTableSourceRangeMutation','isDateGroupField','registerRefRange','@univerjs/sheets','SheetsPivotTableConfigModel','_deletePivotTableInstanceCache','updatePivotSource','broadcastCollectionChange','getIntersectsPivotTable','LifecycleService','setDisplayName','sheet.mutation.pivot-update-field-position','_pivotRenderValueMatrixCache','handleMoveRange','UpdateValuePosition','getLastCol','pivotPerformCheck','14278hGdEzJ','_injector','_exclusiveRangeService','@univerjs/core','leftOffset','rowFields','_updateModelCache','SetPivotFilterMutation','_init','FontCache','Disposable','_commandService','bind','setDirty','sheets-pivot.cellDateGroupDisplay.date','#b2b2b2','valueIndex','_initUnitDisposed','updateView','NotName','updatePivotTableMatrixInfo','reduce','sheet.command.set-pivot-fields-config','_getAutoName','pluginName','DIV_BY_ZERO','rowRanges','Range','getSheetBySheetName','SetPivotSort','LocaleService','getPivotTableInstance','sheet.command.reset-pivot-fields-config','result','RemovePivotTableMutation','SetPivotTableConfig','getPivotTableIdByCell','originTargetInfo','_updatePivotTableInstanceCache','getTableFieldById','setSortInfo','CommandType','setRange','removeCollections','sheet.mutation.send-pivot-data-local','fieldId','AddPivotTableCommand','isValue','average','SetFieldFormat','parse','sheets-pivot.dateGroup.minute','rowInfo','sheet.command.add-pivot-table-with-config','addDirtyPivotTable','getIntersects','triggerDirtyFeature','InsertSheetCommand','setDataRecordCount','drillDown','IFeatureCalculationManagerService','PivotTableChangeTypeEnum','needSameDeleteModel','DataSyncPrimaryController','sheets-pivot.productName','sheets-pivot.dateGroup.date','deepClone','_getPivotAppliedRanges','isFeatureAuthorizedWithinTime','addField','getTargetByPivotId','params','renameField','@univerjs/engine-formula','serializeRangeWithSpreadsheet','displayName','sortInfo','getConfig','isPrefixValue','getCurrentSelections','updateFieldPosition','toStringTag','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getSortInfo','colStyle','getPivotTableInfo','iterateFieldByArea','handleAsyncResponse','add','getUpdateRangeDeleteIds','getFilterFieldIdByIndex','dateGroupField','min','getCollection','getRangeKey','GlobalComputingStatusService','paths','dataFieldManagerConfig','PivotTableViewDirtyMarkOperation','includes','getUnitId','size','pbt','sheets-pivot.subTotal','getFieldIds','splice','forEach','SetPivotSetting','executeCommand','Collapse','removeCollectionImp','Year','merge','UniverEngineFormula','pivotMutationGenerate','setName','refreshData','pivotConfigChange$','concat','PivotSubtotalTypeEnum','substring','_pivotInitCompleted$','InsertSheetUndoMutationFactory','getSubUnitPivotConfigs','PivotView','return\x20','getIndexesByPathStr','sheets-pivot.emptyPivot.row','replace','addExclusiveRange','sheet.mutation.send-pivot-view-local','getSheetBySheetId','getTextSize','UpdatePivotTableSourceRangeCommand','countNums','intersects','REF','PivotDateGroupFieldDateTypeEnum','shouldClear','Div0','fields','createCollectionWithDataRange','UNIVER_SHEET','Add','SHEET_PIVOT_TABLE_PLUGIN','getAdjustRangesPosition','sheets-pivot.other','updateFieldSourceInfo','StdDevp\x20of\x20','refreshGroupField','collectionChange$','Month','Date','generateSetRangeValueMutations','valueFilter','collectionConfig','createLabelField','Var\x20of\x20','onStarting','_initLocale','getRowCount','sheets-pivot.dateGroup.monthDate','addPivotTable','_viewData','has','UniverCore','(Blank)','PivotDataFieldTypeEnum','getPivotPerformCheck','getAutoDisplayNameFunction','4512nlUxjo','endRow','setPivotSort','NORMAL','sheet.mutation.set-pivot-option','_initPivotDataGetListener','getTargetByPivotTableId','var','viewUpdate$','updateAllDisplayName','panel','Set','level','startColumn','collapseInfo','Grand\x20Total','HourMinute','unshiftString','sheets-pivot.dateGroup.yearMonthDate','PivotTable','getValue','getEmptyPivotRanges','getPivotItemRenderInfoCache','isDate','refreshDataField','getValuePosition','_initRemoveSheetCommandInterceptor','setOptions','setSubtotalType','options','contains','getCellRaw','UniverProLicense','SheetsPivotTableService','pivotTableIndexConfig','SheetsPivotRPCService','sheet.command.update-date-group','getPivotInfoByLicense','createValueField','SetWorksheetColWidthMutation','object','registerCallbackWithEvent','notExecuteFormula','token','addPivotField','applyChangeSet','Row','SetFilterInfo','_viewUpdate$','_featureCalculationManagerService','STRING','getFieldFormat','redos','_activeDirtyManagerService','_initCommandInterceptListener','rowCount','onQueryEnd','SheetsSelectionsService','_host','cornerInfo','_subjectCollectionChange','getSheets','UniverSheetsPivotTablePlugin','ClearSelectionAllCommand','COLUMN','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.grandTotal','rgb(255,255,255)','Panel','Sum\x20of\x20','_toJSON','DataFieldManager','updateCollectionConfig','Plugin','sheets-pivot.config','_createExclusiveRange','intercept','dateType','PositionType','SetPivotOptionMutation','setSourceName','IConfigService','sheets-pivot.sumName','sheet.mutation.pivot-update-field-source-info','excelDateToUnixMilliseconds','tableFieldId','RemoveSheetMutation','sheets-pivot.emptyPivot.column','unshift','getValueIndex','_textInfo','sheets-pivot.blank','width','getFieldCountByArea','UpdatePivotFieldSettingCommand','UniverSheets','getPivotDisplayConfig','maxDate','dataFieldsCollection','Tools','grandTotal','RANGE_TYPE','getPivotTableModelConfig','_pivotTableRangeInfo','_onRefRangeChange','_queryingMap','SetValueFilter','UniverSheetsFilter','sheet.mutation.pivot-update-value-position','NUMBER','string','removeSourceRangeChange','generateHexNumber','IActiveDirtyManagerService','deleteField','Style','Optional','getAutoFitColumnsMutations','versions','fetchThroughAsyncInterceptors','_deleteModelCache','AsyncInterceptorManager','getName','SetSheetsFilterRangeMutation','col','entries','updateConfigCache','_initClearSelectionCommandInterceptor','NO_COMMERCIAL','measure','pageRanges','delete','getOriginFieldId','fetchThroughInterceptors','PIVOT_MUTATION_GENERATE','getActiveSheet','resetArea','getMatrix','sheet.mutation.set-pivot-position','New','RemoveRowMutation','hasOwnProperty','sheet.command.add-pivot-field','UniverProSheetsPivot','SetValuePivotFilter','AddPivotField','configVersion$','find','MoveRangeMutation','getInterceptPoints','push','deleteUnitId','CELL_CONTENT','fieldsCollectionChange$','value','PivotTableValuePositionEnum','custom','_refRangeService','PivotDrillDownCommand','SHEET_PIVOT_EXCLUSIVE_ID','count','minDate','SetPivotCollapse','SheetsPivotTableAdaptorModel'];_0x31e5=function(){return _0x59bdef;};return _0x31e5();}
1
+ (function(_0x205147,_0x9e297e){const _0x4c8d75=_0x21bd,_0x428e61=_0x205147();while(!![]){try{const _0x3bc345=-parseInt(_0x4c8d75(0x378))/0x1*(-parseInt(_0x4c8d75(0x357))/0x2)+-parseInt(_0x4c8d75(0x1d8))/0x3*(parseInt(_0x4c8d75(0x314))/0x4)+-parseInt(_0x4c8d75(0x13e))/0x5+parseInt(_0x4c8d75(0xee))/0x6*(parseInt(_0x4c8d75(0x35a))/0x7)+-parseInt(_0x4c8d75(0x20b))/0x8*(-parseInt(_0x4c8d75(0x180))/0x9)+-parseInt(_0x4c8d75(0x260))/0xa+-parseInt(_0x4c8d75(0x2e2))/0xb*(-parseInt(_0x4c8d75(0x360))/0xc);if(_0x3bc345===_0x9e297e)break;else _0x428e61['push'](_0x428e61['shift']());}catch(_0x574c54){_0x428e61['push'](_0x428e61['shift']());}}}(_0x14ff,0x5b494),function(_0x47d76d,_0x5edfa4){const _0x1323a8=_0x21bd;typeof exports==_0x1323a8(0x1ae)&&typeof module<'u'?_0x5edfa4(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=='function'&&define['amd']?define([_0x1323a8(0x326),'@univerjs-pro/engine-pivot',_0x1323a8(0x225),'@univerjs/engine-formula',_0x1323a8(0x12b),_0x1323a8(0x3b0),'@univerjs-pro/license','@univerjs/sheets-filter',_0x1323a8(0x17e),_0x1323a8(0x224)],_0x5edfa4):(_0x47d76d=typeof globalThis<'u'?globalThis:_0x47d76d||self,_0x5edfa4(_0x47d76d[_0x1323a8(0x2ea)]={},_0x47d76d['UniverProEnginePivot'],_0x47d76d[_0x1323a8(0x248)],_0x47d76d[_0x1323a8(0x11e)],_0x47d76d[_0x1323a8(0x1a0)],_0x47d76d['rxjs'],_0x47d76d[_0x1323a8(0x279)],_0x47d76d[_0x1323a8(0x236)],_0x47d76d[_0x1323a8(0x119)],_0x47d76d[_0x1323a8(0x2c9)]));}(this,function(_0x2f79a9,_0x51a67c,_0x238b6d,_0x1cd513,_0x30ad02,_0x5a76bc,_0x4056fc,_0x1a207e,_0x21107e,_0x36cd10){'use strict';const _0x29979c=_0x21bd;var _0x3aa48a=Object[_0x29979c(0x202)],_0x1053c7=(_0x486d2f,_0x3220a7,_0x5d0f47)=>_0x3220a7 in _0x486d2f?_0x3aa48a(_0x486d2f,_0x3220a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d0f47}):_0x486d2f[_0x3220a7]=_0x5d0f47,_0xeae76b=(_0x31194b,_0x4219c6,_0x2bd87a)=>_0x1053c7(_0x31194b,typeof _0x4219c6!='symbol'?_0x4219c6+'':_0x4219c6,_0x2bd87a);const _0x29da4a=Number[_0x29979c(0x30b)](0x6918615d),_0x1decb9=0x10,_0x51b9aa=0x1,_0x220f9d=_0x29979c(0xbe),_0x4f4cfc=0x1,_0x31c95a=_0x29979c(0x160),_0x448e10=_0x29979c(0x20c),_0x586ebf='#b2b2b2',_0x374d0c=_0x29979c(0x16e),_0x4faf79='#f4f4f5',_0x231adc='#eceeff',_0x309f8c=_0x29979c(0x11b),_0x391694=_0x29979c(0x26d),_0x3ec49d=_0x29979c(0x2ff),_0x357d8b=_0x29979c(0x11b),_0x7c5c0d=_0x29979c(0x26d),_0x29f975='#e6ebfb',_0x2e97ff=0xe,_0x4906f2=0x6;var _0x21f39b=(_0x52c0e8=>(_0x52c0e8[_0x29979c(0x2fc)]=_0x29979c(0x1eb),_0x52c0e8[_0x29979c(0x295)]=_0x29979c(0xda),_0x52c0e8))(_0x21f39b||{});const _0x59e8c5={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0xac1186=0x1e,_0x357de3={'b':{'s':0x1,'cl':{'rgb':_0x586ebf}},'l':{'s':0x1,'cl':{'rgb':_0x586ebf}},'r':{'s':0x1,'cl':{'rgb':_0x586ebf}},'t':{'s':0x1,'cl':{'rgb':_0x586ebf}}},_0x127156={'bg':{'rgb':_0x31c95a},'ht':0x2,'vt':0x2,'tb':0x1},_0x6a22ed={'bg':{'rgb':_0x448e10},'ht':0x2,'vt':0x2,'tb':0x1},_0x54da07={'rowStyle':{'bg':{'rgb':_0x29f975},'bd':_0x357de3,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x357d8b},'bd':null,'cl':{'rgb':_0x7c5c0d},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x357de3,'bg':{'rgb':_0x3ec49d},'vt':0x2},'cornerStyle':{'bd':_0x357de3,'bg':{'rgb':_0x231adc},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x357de3,'bg':{'rgb':_0x374d0c},'vt':0x2},'leafStyle':{'bd':_0x357de3,'bg':{'rgb':_0x4faf79},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x309f8c},'cl':{'rgb':_0x391694},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x357de3,'vt':0x2}};function _0x13403f(_0xecfd1b,_0x4c29f2,_0x408ffc){const _0x38d9de=_0x29979c,_0x2b87d0=_0xecfd1b[_0x38d9de(0x272)](_0x238b6d[_0x38d9de(0x31f)]),_0x4c018e=_0x408ffc['split']('_');switch(_0x4c29f2){case _0x51a67c['PivotDateGroupFieldDateTypeEnum']['Year']:return _0x2b87d0['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x4c018e);case _0x51a67c[_0x38d9de(0x27e)][_0x38d9de(0x1ed)]:return _0x2b87d0['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x4c018e);case _0x51a67c[_0x38d9de(0x27e)][_0x38d9de(0x199)]:return _0x2b87d0['t'](_0x38d9de(0x3c7),..._0x4c018e);case _0x51a67c[_0x38d9de(0x27e)][_0x38d9de(0x261)]:return _0x2b87d0['t'](_0x38d9de(0x25e),..._0x4c018e);case _0x51a67c['PivotDateGroupFieldDateTypeEnum']['Date']:return _0x2b87d0['t'](_0x38d9de(0x374),..._0x4c018e);case _0x51a67c[_0x38d9de(0x27e)][_0x38d9de(0x304)]:return _0x2b87d0['t'](_0x38d9de(0x242),..._0x4c018e);case _0x51a67c[_0x38d9de(0x27e)]['Quarter']:return _0x2b87d0['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x4c018e);case _0x51a67c[_0x38d9de(0x27e)]['YearMonth']:return _0x2b87d0['t'](_0x38d9de(0x16f),..._0x4c018e);case _0x51a67c['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:return _0x2b87d0['t'](_0x38d9de(0x15e),..._0x4c018e);case _0x51a67c[_0x38d9de(0x27e)][_0x38d9de(0x312)]:return _0x2b87d0['t'](_0x38d9de(0x36b),..._0x4c018e);}return'';}const _0x1135fb=(_0x4a9cfb,_0x1a213d,_0x269809,_0x4ae79e)=>{const _0xe4e2bc=_0x29979c;let _0x234494;const _0x26c787=_0x4a9cfb[_0xe4e2bc(0x272)](_0x238b6d[_0xe4e2bc(0xd7)])['getCurrentUnitForType'](_0x238b6d[_0xe4e2bc(0x210)]['UNIVER_SHEET']);if(!_0x26c787)return null;const _0x46b123=_0x26c787['getStyles']();let _0x5aa398;if(_0x269809&&(_0x5aa398=_0x46b123[_0xe4e2bc(0x1aa)](_0x269809)),_0x1a213d!=null&&_0x1a213d['v']||(_0x1a213d==null?void 0x0:_0x1a213d['v'])===0x0){_0x234494||(_0x234494={});const _0x4047b3=_0x40fee1(_0x1a213d['v']);typeof _0x4047b3==_0xe4e2bc(0xd1)?_0x234494['t']=_0x238b6d[_0xe4e2bc(0x10e)]['NUMBER']:typeof _0x4047b3==_0xe4e2bc(0x39c)&&(_0x234494['t']=_0x238b6d['CellValueType'][_0xe4e2bc(0x1da)]),_0x234494['v']=_0x4047b3;}if((_0x1a213d!=null&&_0x1a213d['i']||(_0x1a213d==null?void 0x0:_0x1a213d['i'])===0x0)&&(_0x234494||(_0x234494={}),_0x234494['fi']=_0x1a213d['i']),_0x1a213d!=null&&_0x1a213d['s']&&(_0x234494||(_0x234494={}),_0x234494['pbt']=_0x1a213d['s']),_0x269809&&(_0x234494||(_0x234494={}),_0x234494['s']=_0x5aa398),_0x4ae79e&&_0x234494!=null&&_0x234494['v']&&_0x234494['pbt']!==_0x51a67c[_0xe4e2bc(0xd8)][_0xe4e2bc(0xe8)]&&_0x234494[_0xe4e2bc(0xfc)]!==_0x51a67c[_0xe4e2bc(0xd8)][_0xe4e2bc(0x185)]){const _0x15b64c=String(_0x234494['v']),{dateType:_0x11428f}=_0x4ae79e;_0x234494['v']=_0x13403f(_0x4a9cfb,_0x11428f,_0x15b64c),_0x234494['t']=_0x238b6d[_0xe4e2bc(0x10e)][_0xe4e2bc(0x1da)];}return _0x234494;},_0x1e522e=(_0x8511b7,_0x3776ca,_0x5c32a1,_0x45e52f)=>{const _0x15586a=_0x29979c;var _0x562b97,_0x3a1b2d,_0x1ed459,_0x5883c8,_0x5295cf,_0x135097,_0x14bfe5,_0x91fba5,_0x5a0641,_0x2e785c,_0x4f6736,_0x2c4026,_0x155591,_0x5bf456;const _0x53e192=_0x5c32a1['targetCellInfo'],{cornerView:_0xa1cdcd,rowView:_0x55a253,colView:_0x2171e6,dataView:_0x18abdc,pageView:_0x7a9e44,formatMap:_0xa00582,groupInfo:_0x2a513f}=_0x3776ca,{row:_0x3de2ab,col:_0x3a5605}=_0x53e192,_0xc147fb=new _0x238b6d[(_0x15586a(0x2d6))](),_0x26363f={},_0x56cdbf={},_0x5c8856={},_0x406eb9={},_0x15c960={};let _0x1ea5b7=_0x3de2ab,_0x59ac5e=_0x3a5605;Object[_0x15586a(0x1e5)](_0x7a9e44[_0x15586a(0x311)])['forEach'](_0x4b6cd6=>{const _0x55133d=_0x15586a;Object[_0x55133d(0x1e5)](_0x7a9e44[_0x55133d(0x311)][Number(_0x4b6cd6)])[_0x55133d(0x246)](_0x788e0f=>{const _0xd03b06=_0x55133d,_0x139a6a={..._0x7a9e44[_0xd03b06(0x311)][Number(_0x4b6cd6)][Number(_0x788e0f)]};_0xc147fb[_0xd03b06(0x1aa)](Number(_0x4b6cd6)+_0x1ea5b7,Number(_0x788e0f)+_0x59ac5e,_0x1135fb(_0x8511b7,_0x139a6a,_0x54da07[_0xd03b06(0x342)]));});});const _0x57762b=Object[_0x15586a(0x1e5)](_0x7a9e44[_0x15586a(0x311)])[_0x15586a(0x390)];_0x1ea5b7+=_0x57762b+(_0x57762b?_0x4f4cfc:0x0);const _0x7ccdd3=_0xa1cdcd[_0x15586a(0x3b3)](),_0x25eaae=_0xa1cdcd[_0x15586a(0x16a)]();for(let _0x189bc2=0x0;_0x189bc2<_0x7ccdd3;_0x189bc2++)for(let _0x49beea=0x0;_0x49beea<_0x25eaae;_0x49beea++){const _0x374488={...(_0x3a1b2d=(_0x562b97=_0xa1cdcd[_0x15586a(0x311)])==null?void 0x0:_0x562b97[_0x189bc2])==null?void 0x0:_0x3a1b2d[_0x49beea]};_0x374488&&((_0x1ed459=_0x55a253[_0x15586a(0x190)][_0x49beea])!=null&&_0x1ed459[_0x15586a(0x336)])&&_0x49beea===_0x25eaae-0x1&&_0x189bc2===_0x7ccdd3-0x1&&(_0x374488['v']=''+_0x45e52f[_0x15586a(0x389)]),_0xc147fb['setValue'](_0x189bc2+_0x1ea5b7,_0x49beea+_0x59ac5e,_0x1135fb(_0x8511b7,_0x374488,_0x54da07[_0x15586a(0x238)]));}for(let _0xe4197c=0x0;_0xe4197c<_0xa1cdcd[_0x15586a(0x250)][_0x15586a(0x390)];_0xe4197c++)_0xa1cdcd[_0x15586a(0x250)][_0xe4197c]&&(_0x5c8856[''+(_0xe4197c+_0x59ac5e)]=_0xa1cdcd[_0x15586a(0x250)][_0xe4197c]);_0x59ac5e+=_0x25eaae;const _0x387a3e=_0x2171e6[_0x15586a(0x190)],_0x5ae4a5=_0x2171e6[_0x15586a(0x274)]()>=0x0?_0x2171e6[_0x15586a(0x274)]()+0x1:0x0,_0x2919d3=_0x2171e6['getLastCol']()>=0x0?_0x2171e6[_0x15586a(0x1d9)]()+0x1:0x0;for(let _0xb4c694=0x0;_0xb4c694<_0x2919d3;_0xb4c694++){for(let _0x54b707=0x0;_0x54b707<_0x5ae4a5;_0x54b707++){const _0x5f5d4a={...(_0x5295cf=(_0x5883c8=_0x2171e6[_0x15586a(0x311)])==null?void 0x0:_0x5883c8[_0x54b707])==null?void 0x0:_0x5295cf[_0xb4c694]},_0x21ef85=(_0x135097=_0x387a3e[_0x54b707])==null?void 0x0:_0x135097[_0x15586a(0xd5)],_0xb0c0d3=_0xa00582[_0x21ef85],_0x3fe210=_0x2a513f[_0x21ef85];_0x5f5d4a&&(_0x5f5d4a['v']=_0x43e2db(_0x5f5d4a,_0x54b707===0x0&&((_0x14bfe5=_0x2171e6['getHeaderMapItem'](_0xb4c694+0x1))==null?void 0x0:_0x14bfe5[_0x15586a(0x336)]),_0xb0c0d3,_0x45e52f));let _0xed562e;_0xb0c0d3?_0xed562e={..._0x54da07[_0x15586a(0x353)],'n':{'pattern':_0xb0c0d3}}:_0xed562e={..._0x54da07[_0x15586a(0x353)]},_0xc147fb[_0x15586a(0x1aa)](_0x54b707+_0x1ea5b7,_0xb4c694+_0x59ac5e,_0x1135fb(_0x8511b7,_0x5f5d4a,_0xed562e,_0x3fe210));}_0x2171e6[_0x15586a(0x250)][_0xb4c694]&&(_0x56cdbf[''+(_0xb4c694+_0x59ac5e)]=_0x2171e6['info'][_0xb4c694]),_0x2171e6[_0x15586a(0x190)][_0xb4c694+0x1]&&(_0x15c960[''+(_0xb4c694+_0x1ea5b7+0x1)]=_0x2171e6[_0x15586a(0x190)][_0xb4c694+0x1]);}_0x1ea5b7+=_0x7ccdd3;const _0x385093=_0x55a253[_0x15586a(0x190)],_0x506c31=_0x55a253['getLastRow']()>=0x0?_0x55a253[_0x15586a(0x274)]()+0x1:0x0,_0x1481f4=_0x55a253[_0x15586a(0x1d9)]()>=0x0?_0x55a253['getLastCol']()+0x1:0x0;for(let _0x17f6b1=0x0;_0x17f6b1<_0x506c31;_0x17f6b1++){for(let _0x154780=0x0;_0x154780<_0x1481f4;_0x154780++){const _0x5171b4={...(_0x5a0641=(_0x91fba5=_0x55a253[_0x15586a(0x311)])==null?void 0x0:_0x91fba5[_0x17f6b1])==null?void 0x0:_0x5a0641[_0x154780]},_0x234acf=(_0x2e785c=_0x385093[_0x154780])==null?void 0x0:_0x2e785c['tableFieldId'],_0x446b54=_0xa00582[_0x234acf],_0x28a3f2=_0x2a513f[_0x234acf];_0x5171b4&&(_0x5171b4['v']=_0x43e2db(_0x5171b4,!0x1,_0x446b54,_0x45e52f));let _0x5335e6;_0x55a253[_0x15586a(0x250)][_0x17f6b1][_0x15586a(0x14f)]===_0x55a253[_0x15586a(0x16a)]()?_0x5335e6=_0x54da07['leafStyle']:_0x55a253[_0x15586a(0x250)][_0x17f6b1][_0x15586a(0x2e3)]?_0x5335e6=_0x55a253[_0x15586a(0x250)][_0x17f6b1][_0x15586a(0x14f)]===0x0?_0x54da07['grandTotal']:_0x54da07['subTotalStyle']:_0x5335e6=_0x54da07[_0x15586a(0x203)],_0x446b54&&(_0x5335e6={..._0x5335e6,'n':{'pattern':_0x446b54}}),_0xc147fb[_0x15586a(0x1aa)](_0x17f6b1+_0x1ea5b7,_0x154780+_0x3a5605,_0x1135fb(_0x8511b7,_0x5171b4,_0x5335e6,_0x28a3f2));}_0x55a253[_0x15586a(0x250)][_0x17f6b1]&&(_0x26363f[''+(_0x17f6b1+_0x1ea5b7)]=_0x55a253['info'][_0x17f6b1]),_0x55a253[_0x15586a(0x190)][_0x17f6b1]&&(_0x406eb9[''+(_0x17f6b1+_0x3a5605)]=_0x55a253['headerMap'][_0x17f6b1]);}const _0x43fc81=_0x18abdc['getRowCount'](),_0x32d639=_0x18abdc[_0x15586a(0x16a)]();for(let _0x1a346e=0x0;_0x1a346e<_0x43fc81;_0x1a346e++)for(let _0x5ebc22=0x0;_0x5ebc22<_0x32d639;_0x5ebc22++){const _0x3b2781={...(_0x2c4026=(_0x4f6736=_0x18abdc[_0x15586a(0x311)])==null?void 0x0:_0x4f6736[_0x1a346e])==null?void 0x0:_0x2c4026[_0x5ebc22]};let _0x512487;_0x55a253[_0x15586a(0x250)][_0x1a346e][_0x15586a(0x2e3)]?_0x512487=_0x55a253[_0x15586a(0x250)][_0x1a346e][_0x15586a(0x14f)]===0x0?_0x54da07[_0x15586a(0x39f)]:_0x54da07[_0x15586a(0x2a9)]:_0x512487=_0x54da07['dataStyle'];const _0x464737=_0x55a253[_0x15586a(0x250)][_0x1a346e][_0x15586a(0x39e)],_0x4307d4=_0x2171e6[_0x15586a(0x250)][_0x5ebc22][_0x15586a(0x39e)],_0x4fd029=Math[_0x15586a(0x196)](_0x464737,_0x4307d4),_0x3ac4de=_0x5c32a1[_0x15586a(0x207)][_0x15586a(0x171)]['concat']();let _0x36ae80='';_0x4fd029<0x0?_0x36ae80=(_0x155591=_0x3ac4de[0x0])!=null?_0x155591:'':_0x36ae80=(_0x5bf456=_0x3ac4de[_0x4fd029])!=null?_0x5bf456:'';const _0x5760cc=_0xa00582[_0x36ae80];_0x5760cc&&(_0x512487={..._0x512487,'n':{'pattern':_0x5760cc}}),_0xc147fb[_0x15586a(0x1aa)](_0x1a346e+_0x1ea5b7,_0x5ebc22+_0x59ac5e,_0x1135fb(_0x8511b7,_0x3b2781,_0x512487));}return{'valueMatrix':_0xc147fb,'rowInfo':_0x26363f,'colInfo':_0x56cdbf,'cornerInfo':_0x5c8856,'rowHeaderMap':_0x406eb9,'colHeaderMap':_0x15c960};};function _0x43e2db(_0x1ff660,_0x475758,_0x57d14c,_0x4d9e9a){const _0x4c2893=_0x29979c;let _0x381260=_0x1ff660['v'];_0x475758&&(_0x381260=''+_0x4d9e9a['sheets-pivot.value']);const _0x3d004b=_0x1ff660['t']&&(_0x1ff660['t']&_0x51a67c[_0x4c2893(0x244)]['blank'])>0x0;_0x3d004b&&(_0x381260=''+_0x4d9e9a[_0x4c2893(0x350)]);const _0x1af3b3=_0x1ff660['t']&&(_0x1ff660['t']&_0x51a67c[_0x4c2893(0x244)][_0x4c2893(0x31a)])>0x0;if(_0x1af3b3&&(_0x381260=''+_0x4d9e9a[_0x4c2893(0x277)]),_0x1ff660['s']===_0x51a67c[_0x4c2893(0xd8)][_0x4c2893(0x185)]){let _0x552853=_0x381260,_0x4e5cf7='';_0x51a67c[_0x4c2893(0x2f8)](_0x381260)&&(_0x552853=_0x381260['prefix'],_0x4e5cf7=_0x381260[_0x4c2893(0x17c)]);const _0x39660a=_0x57d14c&&!_0x3d004b&&!_0x1af3b3?_0x238b6d['numfmt'][_0x4c2893(0x2d2)](_0x57d14c,Number(_0x552853)):_0x552853;_0x4e5cf7?_0x381260=_0x39660a+'\x20'+_0x4e5cf7:_0x381260=_0x39660a+'\x20'+_0x4d9e9a[_0x4c2893(0x301)];}else _0x1ff660['s']===_0x51a67c['PivotCellStyleTypeEnum']['GrandTotal']&&(_0x381260=_0x381260+'\x20'+_0x4d9e9a['sheets-pivot.grandTotal']);return _0x381260;}function _0x40fee1(_0x294c63){const _0x51f88f=_0x29979c;if(_0x51a67c[_0x51f88f(0x3b4)](_0x294c63)){const {errorType:_0x2adf83}=_0x294c63;switch(_0x2adf83){case _0x51a67c[_0x51f88f(0x1a7)][_0x51f88f(0x149)]:return _0x1cd513['ErrorType'][_0x51f88f(0x2cc)];case _0x51a67c[_0x51f88f(0x1a7)]['NotNumber']:return _0x1cd513['ErrorType']['NUM'];case _0x51a67c[_0x51f88f(0x1a7)][_0x51f88f(0x105)]:return _0x1cd513[_0x51f88f(0x386)]['NAME'];case _0x51a67c[_0x51f88f(0x1a7)][_0x51f88f(0x3c3)]:return _0x1cd513['ErrorType'][_0x51f88f(0x273)];case _0x51a67c[_0x51f88f(0x1a7)][_0x51f88f(0x33b)]:return _0x1cd513[_0x51f88f(0x386)][_0x51f88f(0x130)];}}return _0x294c63;}function _0x4bea66(_0x13a822,_0x51f693,_0x1299f5=!0x1,_0xca2fff=!0x1){const _0x443d7b=_0x29979c,{data:_0x1a935f}=_0x51f693,_0xdfe201=_0x51f693[_0x443d7b(0x3b3)](),_0x558538=_0x51f693['getColCount']();if(_0xdfe201<=0x0||_0x558538<=0x0)return[];const _0x3c7b7a=_0x51f693['getLastCol'](),_0x2334a1=_0x51f693[_0x443d7b(0x274)](),_0x1b046b=_0xca2fff?_0x2334a1>=0x0?_0x2334a1+0x1:0x0:_0xdfe201,_0x58e4ed=_0xca2fff?_0x3c7b7a>=0x0?_0x3c7b7a+0x1:0x0:_0x558538,{row:_0x5cd5a1,col:_0x553c4d}=_0x13a822,_0x25241b=_0x5cd5a1,_0x244245=_0x553c4d;if(_0x1299f5){const _0x521a2c=[];for(const [_0x1c2c64,_0x74c7c7]of Object[_0x443d7b(0x2e9)](_0x1a935f))for(const [_0x436171,_0x2d01ca]of Object['entries'](_0x74c7c7))_0x521a2c[_0x443d7b(0x35f)](_0x238b6d[_0x443d7b(0xdf)](_0x25241b+Number(_0x1c2c64),_0x244245+Number(_0x436171)));return _0x521a2c;}else{const _0x1796c9=_0xca2fff?_0x1b046b>0x0?0x1:0x0:0x1,_0x36925f=_0xca2fff?_0x58e4ed>0x0?0x1:0x0:0x1,_0x261ec4=_0x5cd5a1+_0x1b046b-_0x1796c9,_0x5cb2b9=_0x553c4d+_0x58e4ed-_0x36925f;return[{'startRow':_0x25241b,'startColumn':_0x244245,'endRow':_0x261ec4,'endColumn':_0x5cb2b9}];}}const _0x2bb74b=_0x29979c(0x19e),_0x25b06a='SHEET_PIVOT_EXCLUSIVE_ID';var _0x10895c=(_0x3b2210=>(_0x3b2210[_0x29979c(0xd9)]=_0x29979c(0x157),_0x3b2210[_0x29979c(0x2ce)]=_0x29979c(0x1d1),_0x3b2210['AddPivotField']='addPivotField',_0x3b2210[_0x29979c(0x2cb)]='AddPivotTableWithConfig',_0x3b2210['AddPivotTable']=_0x29979c(0x2df),_0x3b2210[_0x29979c(0xf8)]=_0x29979c(0x392),_0x3b2210[_0x29979c(0x118)]=_0x29979c(0x143),_0x3b2210[_0x29979c(0x23e)]=_0x29979c(0x1e1),_0x3b2210[_0x29979c(0x233)]='setPivotFilter',_0x3b2210['SetPivotSort']=_0x29979c(0x11f),_0x3b2210['SetPivotSetting']='setPivotSetting',_0x3b2210[_0x29979c(0xe9)]=_0x29979c(0x1cd),_0x3b2210[_0x29979c(0x108)]=_0x29979c(0x11d),_0x3b2210['DrillDown']=_0x29979c(0x2ac),_0x3b2210['SetValuePivotFilter']=_0x29979c(0x351),_0x3b2210[_0x29979c(0xce)]=_0x29979c(0x1f6),_0x3b2210['ResetPivotTable']=_0x29979c(0x278),_0x3b2210))(_0x10895c||{});const _0x5f5cc6={'sheets-pivot.blankValue':_0x29979c(0x1d6),'sheets-pivot.columnName':_0x29979c(0x1d5),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x29979c(0x2c1),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x29979c(0x3ab),'sheets-pivot.countNumsName':_0x29979c(0x3ab),'sheets-pivot.maxName':_0x29979c(0x365),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x29979c(0x39d),'sheets-pivot.stdDevName':_0x29979c(0x192),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x29979c(0x140),'sheets-pivot.value':_0x29979c(0x17c),'sheets-pivot.blank':_0x29979c(0x1c5),'sheets-pivot.other':_0x29979c(0x31a),'sheets-pivot.emptyPivot.filter':_0x29979c(0xd9),'sheets-pivot.emptyPivot.row':_0x29979c(0x1f3),'sheets-pivot.emptyPivot.column':_0x29979c(0x220),'sheets-pivot.emptyPivot.values':_0x29979c(0x229)},_0x4b7380={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x36545b=_0x238b6d[_0x29979c(0x2c2)]('pivotPerformCheck'),_0x26a720=_0x238b6d[_0x29979c(0x18a)](_0x29979c(0x211));var _0x359bf9=(_0xa9100f=>(_0xa9100f[_0x29979c(0x290)]='add',_0xa9100f[_0x29979c(0x3ac)]='delete',_0xa9100f[_0x29979c(0x267)]=_0x29979c(0x267),_0xa9100f))(_0x359bf9||{}),_0x32bc0d=(_0x186f46=>(_0x186f46[_0x29979c(0x38c)]=_0x29979c(0x290),_0x186f46[_0x29979c(0x2dc)]='set',_0x186f46[_0x29979c(0x154)]=_0x29979c(0x3ac),_0x186f46))(_0x32bc0d||{});const _0x679ff0={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0xeb),'handler':()=>!0x0},_0x536f16={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x570454={'type':_0x238b6d['CommandType'][_0x29979c(0x1f2)],'id':_0x29979c(0x10f),'handler':()=>!0x0},_0x3c4a14={'type':_0x238b6d['CommandType']['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0xce1328={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x2aa),'handler':()=>!0x0};var _0x266ef2=Object[_0x29979c(0x257)],_0x2a972c=(_0x3354c9,_0x35376d,_0x46f9e5,_0x3c377f)=>{const _0x2bd3a6=_0x29979c;for(var _0x5d0ed2=_0x3c377f>0x1?void 0x0:_0x3c377f?_0x266ef2(_0x35376d,_0x46f9e5):_0x35376d,_0x2394d6=_0x3354c9[_0x2bd3a6(0x390)]-0x1,_0x29cc51;_0x2394d6>=0x0;_0x2394d6--)(_0x29cc51=_0x3354c9[_0x2394d6])&&(_0x5d0ed2=_0x29cc51(_0x5d0ed2)||_0x5d0ed2);return _0x5d0ed2;},_0x15fc92=(_0x50d3c9,_0xed523)=>(_0x3db7d5,_0x3c875d)=>_0xed523(_0x3db7d5,_0x3c875d,_0x50d3c9);_0x2f79a9[_0x29979c(0x25f)]=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0x1b61a3){const _0x3429eb=_0x29979c;super(),_0xeae76b(this,'_requestResolvers',new Map()),this[_0x3429eb(0x3b5)]=_0x1b61a3;}['handleAsyncResponse'](_0x41c232){const _0x51a03c=_0x29979c,{version:_0x1a661f}=_0x41c232,_0x3850ad=this[_0x51a03c(0x175)][_0x51a03c(0x272)](_0x1a661f);_0x3850ad&&(_0x3850ad(_0x41c232),this['_requestResolvers'][_0x51a03c(0x3ac)](_0x1a661f));}[_0x29979c(0x1de)](_0x114c06){return new Promise((_0x546e68,_0x493230)=>{const _0x359909=_0x21bd,_0x4f0033=this['_generateUniqueVersion']();this[_0x359909(0x175)]['set'](_0x4f0033,_0x546e68),this['_commandService']['executeCommand'](_0x679ff0['id'],{'version':_0x4f0033,..._0x114c06},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x23a4c6=_0x29979c;return Math['random']()[_0x23a4c6(0x110)](0x24)[_0x23a4c6(0x1ab)](0x2,0x10);}},_0x2f79a9['SheetsPivotRPCService']=_0x2a972c([_0x15fc92(0x0,_0x238b6d[_0x29979c(0x18c)](_0x238b6d['ICommandService']))],_0x2f79a9[_0x29979c(0x25f)]);const _0xab93ae={0x0:'v',0x1:'1',0x2:'6',0x3:'t',0x4:'V',0x5:'g',0x6:'0',0x7:'o',0x8:'5',0x9:'E','A':'2','q':'3','g':'4','l':'7','n':'8','X':'9','D':'a','c':'b','E':'c','r':'d','Q':'e','B':'f','I':'h','e':'i','j':'j','Z':'k','y':'l','Y':'m','b':'n','f':'p','G':'q','p':'r','U':'s','z':'u','P':'w','d':'x','w':'y','i':'z','x':'A','W':'B','C':'C','a':'D','J':'F','O':'G','L':'H','s':'I','t':'J','V':'K','R':'L','T':'M','M':'N','o':'O','u':'P','m':'Q','H':'R','K':'S','k':'T','h':'U','S':'W','F':'X','N':'Y','v':'Z'},_0x1c6f57='BzbE3e7b\x20rQEpwf3e7b(yeEQbUQ,\x20fzcyeEVQw)\x20{\x20\x20\x20\x203pw\x20{\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20yeEQbUQsbB7uDp3xppDw\x20=\x20yeEQbUQ.Ufye3(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x207pe5ebTQUUD5Q\x20=\x20tKoM.fDpUQ(D37c(yeEQbUQsbB7uDp3xppDw[A]));\x20\x20\x20\x20\x20\x20\x20\x20eB\x20(!7pe5ebTQUUD5Q.zr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207pe5ebTQUUD5Q.zr\x20=\x20MzYcQp(yeEQbUQsbB7uDp3xppDw[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20eUS7pZQp\x20=\x203wfQ7B\x20S7pZQpOy7cDyKE7fQ\x20!==\x20\x27zbrQBebQr\x27\x20&&\x20UQyB\x20ebU3DbEQ7B\x20S7pZQpOy7cDyKE7fQ;\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20eUWp7PUQp\x20=\x203wfQ7B\x20Pebr7P\x20!==\x20\x27zbrQBebQr\x27\x20&&\x203wfQ7B\x20Pebr7P.y7ED3e7b\x20!==\x20\x27zbrQBebQr\x27;\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20E7b3Qd3\x20=\x20eUS7pZQp\x20?\x20UQyB\x20:\x20(eUWp7PUQp\x20?\x20Pebr7P\x20:\x205y7cDykIeU);\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20YQUUD5QS7pr\x20=\x20E7b3Qd3.__WDUQ2g__.fDpUQ(yeEQbUQsbB7uDp3xppDw[A]);\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20YQUUD5Q\x20=\x20E7b3Qd3.__LQd__.U3peb5eBw(YQUUD5QS7pr);\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20Ue5bD3zpQS7pr\x20=\x20E7b3Qd3.__WDUQ2g__.fDpUQ(yeEQbUQsbB7uDp3xppDw[q]);\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20Ue5bD3zpQ\x20=\x20E7b3Qd3.__LQd__.U3peb5eBw(Ue5bD3zpQS7pr);\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20Ue5b4Dyer\x20=\x20E7b3Qd3.__0QpeBw__(Ue5bD3zpQ,\x20YQUUD5Q,\x20fzcyeEVQw);\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20r7YDeb\x20=\x207pe5ebTQUUD5Q.rY;\x20\x20\x20\x20\x20\x20\x20\x20BzbE3e7b\x20eUa7YDebTD3EIeb5(7uD33Qpb,\x207L7U3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20fD33Qpb\x20=\x207uD33Qpb.pQfyDEQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20I7U3\x20=\x207L7U3.pQfyDEQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20fD33QpbuDp3U\x20=\x20fD33Qpb.Ufye3(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20I7U3uDp3U\x20=\x20I7U3.Ufye3(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eB\x20(!fD33Qpb.ebEyzrQU(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pQ3zpb\x20fD33Qpb\x20===\x20I7U3;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eB\x20(fD33QpbuDp3U.yQb53I\x20<\x20A\x20||\x20fD33QpbuDp3U[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pQ3zpb\x20BDyUQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20fD33QpbKzBBed\x20=\x20fD33QpbuDp3U.UyeEQ(1).j7eb(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x20I7U3KzBBed\x20=\x20I7U3uDp3U.UyeEQ(-fD33QpbuDp3U.yQb53I\x20+\x201).j7eb(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pQ3zpb\x20fD33QpbKzBBed\x20===\x20I7U3KzBBed;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yQ3\x20r7YDeb4Dyer\x20=\x20BDyUQ;\x20\x20\x20\x20\x20\x20\x20\x20eB\x20(eUWp7PUQp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7YDeb4Dyer\x20=\x20(r7YDeb\x20&&\x20r7YDeb.yQb53I)\x20?\x20r7YDeb.U7YQ((rYs3QY)\x20=>\x20eUa7YDebTD3EIeb5(rYs3QY,\x20y7ED3e7b.I7U3bDYQ))\x20:\x203pzQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eB\x20(y7ED3e7b.I7U3bDYQ\x20===\x20\x27y7EDyI7U3\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7YDeb4Dyer\x20=\x203pzQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20QyUQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7YDeb4Dyer\x20=\x203pzQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20E7bU3\x200Dyer\x20=\x20Ue5b4Dyer\x20&&\x20r7YDeb4Dyer;\x20\x20\x20\x20\x20\x20\x20\x20pQ3zpb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Dyer,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YQUUD5Q:\x207pe5ebTQUUD5Q,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ED3EI\x20(Qpp7p)\x20{\x20\x20\x20\x20\x20\x20\x20\x20pQ3zpb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200Dyer:\x20BDyUQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YQUUD5Q:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x1167a1=_0x3c17b2=>{const _0x41b382=_0x29979c;var _0x36a230;return((_0x36a230=_0x3c17b2['body'])==null?void 0x0:_0x36a230[_0x41b382(0x1d7)][_0x41b382(0x323)](/\r\n$/,''))||'';};class _0x350399 extends _0x51a67c[_0x29979c(0x3c4)]{constructor(_0x4d6d9c,_0x1eb0ce){const _0x1c58cb=_0x29979c;super(),_0xeae76b(this,'rangeKeyMap',{}),_0xeae76b(this,_0x1c58cb(0x19b)),_0xeae76b(this,_0x1c58cb(0xfe)),(this['_univerInstanceService']=_0x1eb0ce,this[_0x1c58cb(0xfe)]=_0x4d6d9c);}['initDataRanges'](){const _0x4b826b=_0x29979c;for(const _0x5a3c88 in this[_0x4b826b(0x2ab)]){const _0x3e5570=this[_0x4b826b(0x2ab)][_0x5a3c88],_0x15907f=_0x3e5570[_0x4b826b(0x294)]();this[_0x4b826b(0x2ec)][_0x15907f]=_0x3e5570[_0x4b826b(0x3b7)]();}}['getAutoDisplayNameFunction'](){const _0x49cd20=_0x29979c,_0xb19a2c=this['_host'];return _0x916baa[_0x49cd20(0x310)](_0xb19a2c);}[_0x29979c(0x194)](_0x51d6de){const _0x56f572=_0x29979c,_0x43fbf2=this[_0x56f572(0x2ab)][_0x51d6de][_0x56f572(0x234)];delete this[_0x56f572(0x2ab)][_0x51d6de],delete this[_0x56f572(0x2ec)][_0x43fbf2];}['addDataFieldWithoutUnitInfo'](_0xca108a){const _0x4de6fd=_0x29979c;this[_0x4de6fd(0x2ab)][_0xca108a[_0x4de6fd(0x3b7)]()]=_0xca108a;}[_0x29979c(0x18b)](_0x3a73f4){const _0x3ac455=_0x29979c;var _0xe9212,_0x2dab60;const _0x3ddbf6=this[_0x3ac455(0xfe)][_0x3ac455(0x337)](_0x3a73f4);if(_0x3ddbf6){const {unitId:_0x321f14,subUnitId:_0x59b9fd}=_0x3ddbf6,_0xb0cfec=(_0xe9212=this[_0x3ac455(0xfe)]['getPivotTableConfig'](_0x321f14,_0x59b9fd,_0x3a73f4))==null?void 0x0:_0xe9212[_0x3ac455(0x226)];this[_0x3ac455(0xfe)]['broadcastCollectionChange']({'token':_0x3a73f4,'type':_0x359bf9['delete'],'dataRangeInfo':_0xb0cfec});}(_0x2dab60=this[_0x3ac455(0x398)](_0x3a73f4))==null||_0x2dab60[_0x3ac455(0x33c)](),delete this[_0x3ac455(0x191)][_0x3a73f4];}[_0x29979c(0x294)](_0x1ac361,_0x25846d){const {sheetName:_0x2c6eaf,unitId:_0x2012cc,range:_0xc53a16}=_0x1ac361,{startRow:_0x5d2658,endRow:_0x6e94ca}=_0xc53a16;return _0x1cd513['serializeRangeWithSpreadsheet'](_0x2012cc,_0x2c6eaf,{'startRow':_0x5d2658,'endRow':_0x6e94ca,'startColumn':_0x25846d,'endColumn':_0x25846d});}[_0x29979c(0x121)](_0x10dc23){const _0x114713=_0x29979c;return this[_0x114713(0x2ab)][this[_0x114713(0x2ec)][_0x10dc23]];}[_0x29979c(0x3a5)](_0x5c0e6b,_0x3b6fb6){const _0x359830=_0x29979c;this[_0x359830(0x2ec)][_0x5c0e6b]=_0x3b6fb6;}[_0x29979c(0x33a)](_0x1ea970,_0x3d34e9){const _0x280bab=_0x29979c;this[_0x280bab(0x2ec)][_0x3d34e9]=this[_0x280bab(0x2ec)][_0x1ea970],delete this[_0x280bab(0x2ec)][_0x1ea970];}[_0x29979c(0x358)](_0x2811ff,_0x1d3c9b,_0x2f237b,_0x14be74){const _0xcdfe48=_0x29979c,_0x2ad96f=new _0x51a67c[(_0xcdfe48(0xef))](this);_0x2ad96f[_0xcdfe48(0x38e)](_0x1d3c9b);const _0x3fbd21=[];let _0x2a2a8f=0x0;for(const _0x10d8da of _0x2ad96f[_0xcdfe48(0xe4)]){const _0xd1ccb7=this[_0xcdfe48(0x294)](_0x2f237b,_0x2a2a8f),_0x117055=this[_0xcdfe48(0x2ab)][_0x10d8da];_0x117055&&(_0x117055[_0xcdfe48(0x234)]=_0xd1ccb7,this['setRangeKeyMap'](_0xd1ccb7,_0x10d8da),_0x3fbd21[_0xcdfe48(0x35f)]({'index':_0x2a2a8f,'dataField':_0x117055})),_0x2a2a8f++;}return this[_0xcdfe48(0x1b9)](_0x2811ff,_0x2ad96f,_0x2f237b,_0x14be74),{'collection':_0x2ad96f,'updateDataFieldList':_0x3fbd21};}[_0x29979c(0x23a)](_0x2ba058,_0x5699df){const _0x133ed7=_0x29979c;return _0x2ba058[_0x133ed7(0x28a)]===_0x238b6d[_0x133ed7(0x387)][_0x133ed7(0x1c6)]?{'startRow':0x0,'startColumn':_0x2ba058[_0x133ed7(0x2b3)],'endRow':_0x5699df[_0x133ed7(0x3b3)]()-0x1,'endColumn':_0x2ba058[_0x133ed7(0x345)]}:{'startRow':_0x2ba058[_0x133ed7(0x395)],'startColumn':_0x2ba058[_0x133ed7(0x2b3)],'endRow':_0x2ba058['endRow'],'endColumn':_0x2ba058[_0x133ed7(0x345)]};}[_0x29979c(0x14c)](_0x303392){const _0x491b47=_0x29979c,{sheetName:_0x32be0c,range:_0x4c7ef0}=_0x303392,_0x3e538b=this['_univerInstanceService'][_0x491b47(0x1e7)](_0x238b6d[_0x491b47(0x210)][_0x491b47(0x2e6)]),_0x259f99=_0x3e538b[_0x491b47(0xb9)](_0x32be0c),_0x2305bd=_0x259f99['getCellMatrix'](),{startColumn:_0x784888,startRow:_0x88d030,endColumn:_0x28a0ca}=this[_0x491b47(0x23a)](_0x4c7ef0,_0x259f99),_0x3b1fc3=_0x3e538b['getStyles'](),_0x30fa9b=new _0x51a67c['FieldsCollection'](this);_0x30fa9b[_0x491b47(0x2ed)](_0x303392);const _0x4a2c84=[],_0x237aab={};for(let _0x10f32a=_0x784888;_0x10f32a<=_0x28a0ca;_0x10f32a++){const _0x495e05=_0x2305bd[_0x491b47(0x13a)](_0x88d030,_0x10f32a),_0x4b0bf7=this[_0x491b47(0x294)](_0x303392,_0x10f32a),_0x3f0396=this[_0x491b47(0x121)](_0x4b0bf7);if(_0x3f0396)_0x30fa9b['addField'](_0x3f0396[_0x491b47(0x3b7)](),_0x3f0396[_0x491b47(0x188)]());else{const _0x44bc71=this[_0x491b47(0xe2)]();let _0x364f0b=this[_0x491b47(0x339)](_0x495e05,_0x3b1fc3,_0x237aab);_0x51a67c[_0x491b47(0x321)](_0x364f0b)&&(_0x364f0b=_0x238b6d[_0x491b47(0x347)][_0x491b47(0x2d2)](_0x364f0b['f'],Number(_0x364f0b['v'])));const _0x1edabf=this[_0x491b47(0x317)](_0x364f0b,_0x10f32a),_0x463c3c=new _0x51a67c['DataField'](_0x44bc71,_0x1edabf,_0x51a67c[_0x491b47(0x1fd)](0x3));_0x463c3c['rangeKey']=_0x4b0bf7,this[_0x491b47(0x2ab)][_0x44bc71]=_0x463c3c,_0x30fa9b[_0x491b47(0x259)](_0x44bc71,_0x1edabf),_0x4a2c84[_0x491b47(0x35f)]({'index':_0x10f32a,'dataField':_0x463c3c});}}return{'updateDataFieldList':_0x4a2c84,'collection':_0x30fa9b};}[_0x29979c(0x243)](_0x4f7597){const _0x27c9c8=_0x29979c;return this['_host'][_0x27c9c8(0x176)]()['sheets-pivot.columnName']+'\x20'+_0x238b6d[_0x27c9c8(0x2ef)](_0x4f7597);}[_0x29979c(0x317)](_0x1ff62b,_0x2575bd){const _0x974dad=_0x29979c;return _0x1ff62b==null||_0x1ff62b===''?this[_0x974dad(0x243)](_0x2575bd):String(_0x1ff62b);}[_0x29979c(0x398)](_0x432a27){const _0x443b0a=_0x29979c;return this[_0x443b0a(0x191)][_0x432a27];}['addCollection'](_0x1190d6,_0x502a6f,_0x43f211,_0x355c73){const _0x392516=_0x29979c;this[_0x392516(0x191)][_0x1190d6]=_0x502a6f,_0x502a6f[_0x392516(0x2ed)](_0x43f211),this[_0x392516(0xfe)]['broadcastCollectionChange']({'token':_0x1190d6,'type':_0x359bf9[_0x392516(0x290)],'dataRangeInfo':_0x43f211,'targetCellInfo':_0x355c73});}['handleMoveRange'](_0x3264be,_0x22a25d){const _0x20708d=_0x29979c,_0xb11c43=this['getCollection'](_0x3264be),_0x3926a7=_0xb11c43[_0x20708d(0x30c)]();let _0x44f1d2=0x0;for(const _0x3e5a73 of _0x3926a7){const _0x24e7b8=_0xb11c43['getFieldById'](_0x3e5a73),_0x581bad=this[_0x20708d(0x294)](_0x22a25d,_0x44f1d2);this[_0x20708d(0x33a)](_0x24e7b8['rangeKey'],_0x581bad),_0x44f1d2++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x29979c(0x324)](_0x54932b,_0xdfaccb){const _0x136d54=_0x29979c;if(this['getCollection'](_0x54932b)){const _0x15fa4c=this[_0x136d54(0x38b)](_0xdfaccb),_0x6ee519=[];for(const _0x31aa09 of _0x15fa4c)this['rangeKeyMap'][_0x31aa09]!==void 0x0&&_0x6ee519[_0x136d54(0x35f)](this[_0x136d54(0x2ec)][_0x31aa09]);const _0x8a615b=this[_0x136d54(0x216)](_0x54932b),_0x45bb7e=[],_0x49be1c=new Set(_0x6ee519);for(const _0x2bdfcd of _0x8a615b)_0x49be1c['has'](_0x2bdfcd)||_0x45bb7e['push'](_0x2bdfcd);return _0x45bb7e;}}[_0x29979c(0x32e)](_0x9f8dd0,_0x4e15ac,_0x46f911,_0x3c90e0,_0x56ad93){const _0x32eec5=_0x29979c;return _0x4e15ac&&_0x4e15ac[_0x32eec5(0x13a)](_0x3c90e0,_0x56ad93)?_0x4e15ac[_0x32eec5(0x13a)](_0x3c90e0,_0x56ad93):_0x46f911&&_0x46f911['getValue'](_0x3c90e0,_0x56ad93)?_0x46f911[_0x32eec5(0x13a)](_0x3c90e0,_0x56ad93):_0x9f8dd0[_0x32eec5(0x13a)](_0x3c90e0,_0x56ad93);}['refreshDataField'](_0x3d1e89,_0x1aae2c,_0x3798c2,_0x3584f0){const _0x449c1b=_0x29979c,_0x4920d5=this['dataFields'][_0x3d1e89];if(!_0x4920d5)return;const {subUnitId:_0x3ae130,range:_0x288446,unitId:_0x201416}=_0x1aae2c,_0x29f419=this['_univerInstanceService'][_0x449c1b(0xe1)](_0x201416);if(!_0x29f419){console[_0x449c1b(0x2a6)](_0x449c1b(0x25d));return;}const _0x394726=_0x29f419['getSheetBySheetId'](_0x3ae130),_0x2c394b=_0x394726[_0x449c1b(0x318)](),{arrayFormulaCellDataMatrix:_0x1881b5,unitDataMatrix:_0x46ab5c}=_0x3584f0||{},{startRow:_0x52cf1a,startColumn:_0x45bca,endRow:_0x322837}=this[_0x449c1b(0x23a)](_0x288446,_0x394726);_0x4920d5['reset']();const _0x36238f=_0x29f419[_0x449c1b(0x282)](),_0x38d8bc={},_0x5ea87e=this[_0x449c1b(0x32e)](_0x2c394b,_0x1881b5,_0x46ab5c,_0x52cf1a,_0x45bca+_0x3798c2);let _0x3bb9a9=this[_0x449c1b(0x339)](_0x5ea87e,_0x36238f,_0x38d8bc);_0x51a67c[_0x449c1b(0x321)](_0x3bb9a9)&&(_0x3bb9a9=_0x238b6d[_0x449c1b(0x347)][_0x449c1b(0x2d2)](_0x3bb9a9['f'],Number(_0x3bb9a9['v'])));const _0x16e5da=this[_0x449c1b(0x317)](_0x3bb9a9,_0x45bca+_0x3798c2);_0x4920d5[_0x449c1b(0xd4)](_0x16e5da);for(let _0xe9e903=_0x52cf1a+0x1;_0xe9e903<=_0x322837;_0xe9e903++){const _0x58a65d=this[_0x449c1b(0x32e)](_0x2c394b,_0x1881b5,_0x46ab5c,_0xe9e903,_0x45bca+_0x3798c2);_0x4920d5[_0x449c1b(0x26e)](this[_0x449c1b(0x339)](_0x58a65d,_0x36238f,_0x38d8bc),_0xe9e903-0x1-_0x52cf1a);}}[_0x29979c(0x269)](_0x27b416,_0x2f1325,_0x1550f4){const _0x48419a=_0x29979c,{subUnitId:_0x29d2df,range:_0x212141,unitId:_0x4b1ee3}=_0x1550f4,_0xaf70e9=this['_univerInstanceService'][_0x48419a(0xe1)](_0x4b1ee3);if(!_0xaf70e9){console[_0x48419a(0x2a6)]('workbook\x20is\x20not\x20found');return;}const _0x53f0df=_0xaf70e9[_0x48419a(0x280)](_0x29d2df),_0x5cec04=_0x53f0df[_0x48419a(0x318)](),{startRow:_0x4666ed,startColumn:_0x2fdf0a,endRow:_0x5e5e01}=this[_0x48419a(0x23a)](_0x212141,_0x53f0df),_0x123dca=_0xaf70e9[_0x48419a(0x282)](),_0x560d28={};for(const {dataField:_0x47dfa0,index:_0x96dd2c}of _0x2f1325){_0x47dfa0[_0x48419a(0x179)]();const _0x178645=this[_0x48419a(0x32e)](_0x5cec04,void 0x0,void 0x0,_0x4666ed,_0x2fdf0a+_0x96dd2c);let _0x2b337c=this[_0x48419a(0x339)](_0x178645,_0x123dca,_0x560d28);_0x51a67c[_0x48419a(0x321)](_0x2b337c)&&(_0x2b337c=_0x238b6d['numfmt'][_0x48419a(0x2d2)](_0x2b337c['f'],Number(_0x2b337c['v'])));const _0x17130a=this[_0x48419a(0x317)](_0x2b337c,_0x2fdf0a+_0x96dd2c);_0x47dfa0['setName'](_0x17130a);}_0x27b416[_0x48419a(0x1c8)]();for(let _0x2560dc=_0x4666ed+0x1;_0x2560dc<=_0x5e5e01;_0x2560dc++)for(const {index:_0x111339,dataField:_0x32dfb7}of _0x2f1325){const _0x1150bb=_0x5cec04['getValue'](_0x2560dc,_0x2fdf0a+_0x111339);_0x32dfb7[_0x48419a(0x26e)](this['adjustSheetCellData'](_0x1150bb,_0x123dca,_0x560d28),_0x2560dc-0x1-_0x4666ed);}_0x27b416[_0x48419a(0x1f0)](_0x5e5e01-_0x4666ed);}['getRangeKeyList'](_0x11f346){const _0xe03e11=_0x29979c,{range:_0xc80aa9}=_0x11f346,{startColumn:_0x2d8157,endColumn:_0x2abfbb}=_0xc80aa9,_0x172201=[];for(let _0x5ed0d2=_0x2d8157;_0x5ed0d2<=_0x2abfbb;_0x5ed0d2++)_0x172201[_0xe03e11(0x35f)](this['getRangeKey'](_0x11f346,_0x5ed0d2));return _0x172201;}[_0x29979c(0x339)](_0x43098e,_0x51ea9f,_0x8068f){const _0x63d5be=_0x29979c;if(_0x43098e){const {s:_0x5db245,v:_0x318fc2,t:_0xabf33,p:_0x1cc508}=_0x43098e;if(_0x1cc508)return _0x1167a1(_0x1cc508);const _0x551fbc=_0x51ea9f[_0x63d5be(0x272)](_0x5db245);if(_0x551fbc&&_0xabf33===_0x238b6d['CellValueType'][_0x63d5be(0x129)]&&_0x551fbc['n']){const {pattern:_0x4dbd54}=_0x551fbc['n'];_0x8068f[_0x4dbd54]||(_0x8068f[_0x4dbd54]=_0x238b6d[_0x63d5be(0x347)]['getFormatInfo'](_0x4dbd54));const _0x267c1c=_0x8068f[_0x4dbd54],_0x3a5c28=_0x267c1c[_0x63d5be(0x34c)];if(_0x267c1c[_0x63d5be(0x34f)])return String(_0x318fc2);if(_0x3a5c28)return{'v':_0x318fc2,'f':_0x4dbd54};}if(_0xabf33===_0x238b6d[_0x63d5be(0x10e)][_0x63d5be(0x129)])return Number(_0x318fc2);if(_0xabf33===_0x238b6d['CellValueType'][_0x63d5be(0x1da)]||_0xabf33===_0x238b6d[_0x63d5be(0x10e)][_0x63d5be(0x37d)])return String(_0x318fc2);if(_0xabf33===void 0x0){const _0x10f453=Number(_0x318fc2);if(!Number['isNaN'](_0x10f453)&&String(_0x10f453)===_0x318fc2)return _0x10f453;}return _0x318fc2!=null?_0x318fc2:null;}else return null;}[_0x29979c(0x36f)](_0x230bd3){const _0x41d7a9=_0x29979c,{sheetName:_0x52b23d,range:_0x2c5236,unitId:_0x7990e8}=_0x230bd3,_0x2bc983=this['_univerInstanceService'][_0x41d7a9(0xe1)](_0x7990e8);if(!_0x2bc983)return console['error']('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x3bee10=_0x2bc983[_0x41d7a9(0xb9)](_0x52b23d),_0x4a44c1=_0x3bee10[_0x41d7a9(0x318)](),{startRow:_0x39f050,startColumn:_0x391dea,endRow:_0x1bb9b1,endColumn:_0x411fdb}=this['getRangeStartEndInfo'](_0x2c5236,_0x3bee10),_0x51e756=_0x2bc983[_0x41d7a9(0x282)](),_0x4eb176=[],_0x2762a1=[],_0x21bee4={};for(let _0xb83ff3=_0x39f050;_0xb83ff3<=_0x1bb9b1;_0xb83ff3++){const _0x3515b5=[];for(let _0x3d74fc=_0x391dea;_0x3d74fc<=_0x411fdb;_0x3d74fc++){const _0x48e2c6=_0x4a44c1['getValue'](_0xb83ff3,_0x3d74fc);_0xb83ff3===_0x39f050?_0x4eb176['push'](_0x48e2c6==null?null:String(_0x48e2c6['v'])):_0x3515b5[_0x41d7a9(0x35f)](this[_0x41d7a9(0x339)](_0x48e2c6,_0x51e756,_0x21bee4));}_0x2762a1[_0x41d7a9(0x35f)](_0x3515b5);}return{'header':_0x4eb176,'data':_0x2762a1};}[_0x29979c(0xe5)](){return super['toJSON']();}['fromJSON'](_0x286c9e){const _0xcc3aa0=_0x29979c;super[_0xcc3aa0(0x38e)](_0x286c9e),this[_0xcc3aa0(0x2c3)]();}[_0x29979c(0x33c)](){const _0x42b57c=_0x29979c;super[_0x42b57c(0x33c)](),this[_0x42b57c(0x2ec)]={},this[_0x42b57c(0xfe)]=null;}}const _0xd7868a=_0x5dc384=>{const _0x1e8bd8=_0x29979c,{targetCellInfo:_0x575d0e}=_0x5dc384,{matrixCache:_0x5ff936,rangesCache:_0x27709d}=_0x2b9077({'filter':_0x1e8bd8(0xd9),'row':_0x1e8bd8(0x1f3),'column':_0x1e8bd8(0x220),'values':_0x1e8bd8(0x229)},_0x575d0e),_0xa4e18e=new _0x238b6d[(_0x1e8bd8(0x2d6))]();return _0x5ff936[_0x1e8bd8(0x102)]((_0x46b45b,_0x137a4e,_0x24c757)=>{const _0x13b3f4=_0x1e8bd8;_0xa4e18e[_0x13b3f4(0x1aa)](_0x46b45b,_0x137a4e,_0x24c757);}),{'matrix':_0xa4e18e,'rangesCache':_0x27709d};},_0x505222=_0x1062a4=>{const _0x537c1a=_0x29979c;let _0xac405e;if(_0x1062a4!=null&&_0x1062a4['v']||(_0x1062a4==null?void 0x0:_0x1062a4['v'])===0x0){_0xac405e||(_0xac405e={});const _0x1260b5=_0x40fee1(_0x1062a4['v']);typeof _0x1260b5==_0x537c1a(0xd1)?_0xac405e['t']=_0x238b6d['CellValueType'][_0x537c1a(0x129)]:typeof _0x1260b5==_0x537c1a(0x39c)&&(_0xac405e['t']=_0x238b6d[_0x537c1a(0x10e)][_0x537c1a(0x1da)]),_0xac405e['v']=_0x1260b5;}return _0xac405e;},_0x1f858b=(_0x40b667,_0x6b25e5,_0x509c79)=>{const _0x343ee8=_0x29979c;var _0x3b5258,_0x4b9a24,_0x4a7d59,_0x2c0be9,_0x5e208c,_0x5dbf3e,_0xf14b70,_0x528e81,_0x3ac786,_0x285959,_0x259dde,_0x4841f2;const {cornerView:_0x5b9ff1,rowView:_0x5bbd0d,colView:_0x1b100e,dataView:_0x2d056f,pageView:_0x1c8ac1,formatMap:_0x12cb10}=_0x40b667,{row:_0x1539ae,col:_0x2b31b9}=_0x6b25e5,_0x3e6a73=new _0x238b6d[(_0x343ee8(0x2d6))]();let _0x4d55d3=_0x1539ae,_0x57cf24=_0x2b31b9;Object[_0x343ee8(0x1e5)](_0x1c8ac1[_0x343ee8(0x311)])[_0x343ee8(0x246)](_0x29c750=>{const _0x43d7ec=_0x343ee8;Object['keys'](_0x1c8ac1[_0x43d7ec(0x311)][Number(_0x29c750)])[_0x43d7ec(0x246)](_0x49e08c=>{const _0x56ecbd=_0x43d7ec,_0x3c56f5={..._0x1c8ac1[_0x56ecbd(0x311)][Number(_0x29c750)][Number(_0x49e08c)]};_0x3e6a73['setValue'](Number(_0x29c750)+_0x4d55d3,Number(_0x49e08c)+_0x57cf24,_0x505222(_0x3c56f5));});});const _0x26a8d7=Object[_0x343ee8(0x1e5)](_0x1c8ac1[_0x343ee8(0x311)])[_0x343ee8(0x390)];_0x4d55d3+=_0x26a8d7+(_0x26a8d7?_0x4f4cfc:0x0);const _0x42f6ff=_0x5b9ff1[_0x343ee8(0x3b3)](),_0x93f4b6=_0x5b9ff1['getColCount']();for(let _0x5d9bad=0x0;_0x5d9bad<_0x42f6ff;_0x5d9bad++)for(let _0x539cee=0x0;_0x539cee<_0x93f4b6;_0x539cee++){const _0x12c811={...(_0x4b9a24=(_0x3b5258=_0x5b9ff1['data'])==null?void 0x0:_0x3b5258[_0x5d9bad])==null?void 0x0:_0x4b9a24[_0x539cee]};_0x12c811&&((_0x4a7d59=_0x5bbd0d[_0x343ee8(0x190)][_0x539cee])!=null&&_0x4a7d59[_0x343ee8(0x336)])&&_0x539cee===_0x93f4b6-0x1&&_0x5d9bad===_0x42f6ff-0x1&&(_0x12c811['v']=''+_0x509c79['sheets-pivot.value']),_0x3e6a73[_0x343ee8(0x1aa)](_0x5d9bad+_0x4d55d3,_0x539cee+_0x57cf24,_0x505222(_0x12c811));}_0x57cf24+=_0x93f4b6;const _0x4b94bb=_0x1b100e['headerMap'],_0x1b4018=_0x1b100e[_0x343ee8(0x274)]()>=0x0?_0x1b100e[_0x343ee8(0x274)]()+0x1:0x0,_0x5eae73=_0x1b100e[_0x343ee8(0x1d9)]()>=0x0?_0x1b100e[_0x343ee8(0x1d9)]()+0x1:0x0;for(let _0x661ec0=0x0;_0x661ec0<_0x5eae73;_0x661ec0++)for(let _0x254c9f=0x0;_0x254c9f<_0x1b4018;_0x254c9f++){const _0x3cf6ce={...(_0x5e208c=(_0x2c0be9=_0x1b100e['data'])==null?void 0x0:_0x2c0be9[_0x661ec0])==null?void 0x0:_0x5e208c[_0x254c9f]},_0x41fe46=(_0x5dbf3e=_0x4b94bb[_0x661ec0])==null?void 0x0:_0x5dbf3e[_0x343ee8(0xd5)],_0x568dbd=_0x12cb10[_0x41fe46];_0x3cf6ce&&(_0x3cf6ce['v']=_0x43e2db(_0x3cf6ce,_0x661ec0===0x0&&((_0xf14b70=_0x1b100e[_0x343ee8(0x23d)](_0x254c9f+0x1))==null?void 0x0:_0xf14b70[_0x343ee8(0x336)]),_0x568dbd,_0x509c79)),_0x3e6a73['setValue'](_0x661ec0+_0x4d55d3,_0x254c9f+_0x57cf24,_0x505222(_0x3cf6ce));}_0x4d55d3+=_0x42f6ff;const _0x463046=_0x5bbd0d['headerMap'],_0x585483=_0x5bbd0d['getLastRow']()>=0x0?_0x5bbd0d[_0x343ee8(0x274)]()+0x1:0x0,_0x551ca7=_0x5bbd0d[_0x343ee8(0x1d9)]()>=0x0?_0x5bbd0d[_0x343ee8(0x1d9)]()+0x1:0x0;for(let _0x1d4161=0x0;_0x1d4161<_0x585483;_0x1d4161++)for(let _0x193b6d=0x0;_0x193b6d<_0x551ca7;_0x193b6d++){const _0x19755a={...(_0x3ac786=(_0x528e81=_0x5bbd0d[_0x343ee8(0x311)])==null?void 0x0:_0x528e81[_0x1d4161])==null?void 0x0:_0x3ac786[_0x193b6d]},_0x16f4b9=(_0x285959=_0x463046[_0x193b6d])==null?void 0x0:_0x285959[_0x343ee8(0xd5)],_0xa96732=_0x12cb10[_0x16f4b9];_0x19755a&&(_0x19755a['v']=_0x43e2db(_0x19755a,!0x1,_0xa96732,_0x509c79)),_0x3e6a73[_0x343ee8(0x1aa)](_0x1d4161+_0x4d55d3,_0x193b6d+_0x2b31b9,_0x505222(_0x19755a));}const _0x269b83=_0x2d056f[_0x343ee8(0x3b3)](),_0x4de44d=_0x2d056f[_0x343ee8(0x16a)]();for(let _0x410d55=0x0;_0x410d55<_0x269b83;_0x410d55++)for(let _0x907ed6=0x0;_0x907ed6<_0x4de44d;_0x907ed6++){const _0x9767dc={...(_0x4841f2=(_0x259dde=_0x2d056f[_0x343ee8(0x311)])==null?void 0x0:_0x259dde[_0x410d55])==null?void 0x0:_0x4841f2[_0x907ed6]};_0x3e6a73[_0x343ee8(0x1aa)](_0x410d55+_0x4d55d3,_0x907ed6+_0x57cf24,_0x505222(_0x9767dc));}return _0x3e6a73;},_0xe1b44=_0xe00ccb=>{const _0x538c1c=_0x29979c,{view:_0x58200b,targetCellInfo:_0x5ab4b2,isEmpty:_0x2e9683,textInfo:_0x48dd7c}=_0xe00ccb;if(_0x2e9683)return _0xd7868a(_0xe00ccb);const {pageView:_0x2af4aa,cornerView:_0x23b562,rowView:_0x5c4d14,colView:_0x51a3d5,dataView:_0x528378}=_0x58200b,_0x51d7f2=_0x4bea66(_0x5ab4b2,_0x2af4aa,!0x0),_0x4fec35=_0x2af4aa[_0x538c1c(0x2b0)]>=0x0?_0x2af4aa['lastRow']+0x1:0x0,_0x438528=_0x23b562[_0x538c1c(0x3b3)](),_0x2ff421=_0x23b562['getColCount'](),_0x31d4d4=_0x51d7f2['length']>0x0?_0x4f4cfc:0x0,_0x368447=_0x4bea66({'row':_0x5ab4b2[_0x538c1c(0x20d)]+_0x4fec35+_0x31d4d4,'col':_0x5ab4b2[_0x538c1c(0x232)]},_0x23b562,!0x1,!0x1),_0x30f7aa=_0x4bea66({'row':_0x5ab4b2['row']+_0x4fec35+_0x31d4d4+_0x438528,'col':_0x5ab4b2[_0x538c1c(0x232)]},_0x5c4d14,!0x1,!0x0),_0x51d77f=_0x4bea66({'row':_0x5ab4b2[_0x538c1c(0x20d)]+_0x4fec35+_0x31d4d4,'col':_0x5ab4b2['col']+_0x2ff421},_0x51a3d5,!0x1,!0x0),_0x339f1a=_0x4bea66({'row':_0x5ab4b2[_0x538c1c(0x20d)]+_0x4fec35+_0x31d4d4+_0x438528,'col':_0x5ab4b2[_0x538c1c(0x232)]+_0x2ff421},_0x528378,!0x1,!0x1),_0x192cbb={'rowRanges':_0x30f7aa,'colRanges':_0x51d77f,'cornerRanges':_0x368447,'dataRanges':_0x339f1a,'pageRanges':_0x51d7f2};return{'matrix':_0x1f858b(_0x58200b,_0x5ab4b2,_0x48dd7c),'rangesCache':_0x192cbb};};var _0x214ffa=Object['getOwnPropertyDescriptor'],_0x302cf9=(_0x57fa29,_0x9f6384,_0x55c510,_0x4f3507)=>{for(var _0x47bda9=_0x4f3507>0x1?void 0x0:_0x4f3507?_0x214ffa(_0x9f6384,_0x55c510):_0x9f6384,_0x51ac39=_0x57fa29['length']-0x1,_0x572b93;_0x51ac39>=0x0;_0x51ac39--)(_0x572b93=_0x57fa29[_0x51ac39])&&(_0x47bda9=_0x572b93(_0x47bda9)||_0x47bda9);return _0x47bda9;},_0x309bef=(_0x116ab1,_0x45c4a9)=>(_0xdc32c8,_0x26bed7)=>_0x45c4a9(_0xdc32c8,_0x26bed7,_0x116ab1);_0x2f79a9[_0x29979c(0x2af)]=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0x2fe9b5,_0x3b01f1,_0x10e6b7,_0x32f9ba,_0x532e7f){const _0x48aa49=_0x29979c;super(),_0xeae76b(this,_0x48aa49(0x381),new Map()),_0xeae76b(this,'_pivotTableInstanceCache',new Map()),_0xeae76b(this,'_viewData',new Map()),_0xeae76b(this,_0x48aa49(0xf4)),_0xeae76b(this,_0x48aa49(0x299),new _0x5a76bc[(_0x48aa49(0x20f))]()),_0xeae76b(this,_0x48aa49(0x306),this[_0x48aa49(0x299)][_0x48aa49(0x150)]()),_0xeae76b(this,_0x48aa49(0x249),new _0x5a76bc['Subject']()),_0xeae76b(this,_0x48aa49(0xf9),this['_viewData$']['asObservable']()),_0xeae76b(this,_0x48aa49(0x22f),new _0x5a76bc[(_0x48aa49(0x20f))]()),_0xeae76b(this,_0x48aa49(0x17f),this['_fieldsCollectionChange$'][_0x48aa49(0x150)]()),_0xeae76b(this,'_dataFieldManagerCollection',new Map()),_0xeae76b(this,'needSameDeleteModel',[]),_0xeae76b(this,_0x48aa49(0x174),new Map()),(this[_0x48aa49(0x343)]=_0x2fe9b5,this[_0x48aa49(0x19b)]=_0x3b01f1,this[_0x48aa49(0x32d)]=_0x10e6b7,this[_0x48aa49(0x3b5)]=_0x32f9ba,this[_0x48aa49(0x2ad)]=_0x532e7f,this[_0x48aa49(0x300)]());}[_0x29979c(0x176)](){const _0x17a6aa=_0x29979c;return this[_0x17a6aa(0xf4)]?this[_0x17a6aa(0xf4)]:_0x5f5cc6;}[_0x29979c(0x2a5)](_0x1c6ade){const _0x1b929f=_0x29979c;this[_0x1b929f(0xf4)]=_0x1c6ade;}[_0x29979c(0x375)](_0x343295){const _0xc0d7b0=_0x29979c;var _0x45b926;const {from:_0x48c276,to:_0x48d122,unitId:_0x2a6896,fromRange:_0xb0ef41,toRange:_0x3faec3}=_0x343295;if(_0x48c276&&_0x48d122){const _0x3748a=this['getDataFieldManager'](_0x2a6896),_0x4aa8ca=this[_0xc0d7b0(0x381)][_0xc0d7b0(0x272)](_0x2a6896),_0xec98b2=(_0x45b926=this[_0xc0d7b0(0x19b)][_0xc0d7b0(0xe1)](_0x2a6896))==null?void 0x0:_0x45b926['getSheetBySheetId'](_0x48d122[_0xc0d7b0(0x31e)]);if(!_0x4aa8ca||!_0xec98b2)return;const _0x22f3c1=_0xec98b2==null?void 0x0:_0xec98b2[_0xc0d7b0(0x188)]();for(const [_0x5f1596,_0x1c3009]of _0x4aa8ca['entries']())for(const [_0x152983,_0x2dce17]of _0x1c3009[_0xc0d7b0(0x2e9)]()){const {sourceRangeInfo:_0x3f3088}=_0x2dce17;if(_0x3f3088[_0xc0d7b0(0x24d)]===_0x2a6896&&_0x3f3088[_0xc0d7b0(0x31e)]===_0x48c276['subUnitId']&&_0x238b6d[_0xc0d7b0(0x38f)][_0xc0d7b0(0x146)](_0xb0ef41,_0x3f3088[_0xc0d7b0(0x2eb)])){const _0x571506={'row':_0x3f3088[_0xc0d7b0(0x2eb)][_0xc0d7b0(0x395)]-_0xb0ef41[_0xc0d7b0(0x395)],'col':_0x3f3088[_0xc0d7b0(0x2eb)][_0xc0d7b0(0x2b3)]-_0xb0ef41[_0xc0d7b0(0x2b3)]},_0x3f787f={'unitId':_0x2a6896,'subUnitId':_0x48d122['subUnitId'],'sheetName':_0x22f3c1,'range':{'startRow':_0x3faec3[_0xc0d7b0(0x395)]+_0x571506['row'],'endRow':_0x3faec3[_0xc0d7b0(0x395)]+_0x571506[_0xc0d7b0(0x20d)]+_0x3f3088[_0xc0d7b0(0x2eb)]['endRow']-_0x3f3088[_0xc0d7b0(0x2eb)][_0xc0d7b0(0x395)],'startColumn':_0x3faec3[_0xc0d7b0(0x2b3)]+_0x571506[_0xc0d7b0(0x232)],'endColumn':_0x3faec3[_0xc0d7b0(0x2b3)]+_0x571506[_0xc0d7b0(0x232)]+_0x3f3088[_0xc0d7b0(0x2eb)][_0xc0d7b0(0x345)]-_0x3f3088[_0xc0d7b0(0x2eb)]['startColumn']}};_0x3748a['handleMoveRange'](_0x152983,_0x3f787f);const _0x1263ef={..._0x2dce17,'sourceRangeInfo':_0x3f787f};this[_0xc0d7b0(0x12f)](_0x2a6896,_0x48d122['subUnitId'],_0x152983,_0x1263ef),this['broadcastCollectionChange']({'unitId':_0x2a6896,'token':_0x152983,'type':_0x359bf9[_0xc0d7b0(0x267)],'oldSourceRangeInfo':_0x3f3088,'dataRangeInfo':_0x3f787f,'targetCellInfo':_0x2dce17[_0xc0d7b0(0x27a)]}),this[_0xc0d7b0(0xf2)]({'unitId':_0x2a6896,'subUnitId':_0x48d122[_0xc0d7b0(0x31e)],'oldSubUnitId':_0x5f1596,'pivotTableId':_0x152983,'pivotTableConfig':_0x1263ef,'collectionConfig':_0x3748a[_0xc0d7b0(0xe5)]()});}}}}[_0x29979c(0x275)](_0x2c8be){this['_collectionChange$']['next'](_0x2c8be);}[_0x29979c(0xf7)](_0x173d6a){const _0x47abdb=_0x29979c;let _0x47d7eb=this['_dataFieldManagerCollection']['get'](_0x173d6a);return _0x47d7eb||(_0x47d7eb=new _0x350399(this,this[_0x47abdb(0x19b)]),this['_dataFieldManagerCollection'][_0x47abdb(0x147)](_0x173d6a,_0x47d7eb)),_0x47d7eb;}[_0x29979c(0x398)](_0x31cb2d,_0x5c76d1){const _0x1a5276=_0x29979c;return this[_0x1a5276(0xf7)](_0x31cb2d)[_0x1a5276(0x191)][_0x5c76d1];}[_0x29979c(0x324)](_0x3add9a,_0x56ee07,_0x541286){const _0x4ebf0f=_0x29979c;return this[_0x4ebf0f(0xf7)](_0x3add9a)[_0x4ebf0f(0x324)](_0x56ee07,_0x541286);}[_0x29979c(0x315)](_0x3238f9,_0x22da71){const _0x297465=_0x29979c;let _0x43aec5=this[_0x297465(0x381)][_0x297465(0x272)](_0x3238f9);_0x43aec5||(_0x43aec5=new Map(),this['_model'][_0x297465(0x147)](_0x3238f9,_0x43aec5));let _0x856bc4=_0x43aec5['get'](_0x22da71);return _0x856bc4||(_0x856bc4=new Map(),_0x43aec5[_0x297465(0x147)](_0x22da71,_0x856bc4)),_0x856bc4;}[_0x29979c(0x12f)](_0x453ee4,_0x4e1c9a,_0x530ca8,_0x49c333){const _0x3e8fc7=_0x29979c;this[_0x3e8fc7(0x315)](_0x453ee4,_0x4e1c9a)[_0x3e8fc7(0x147)](_0x530ca8,_0x49c333);}[_0x29979c(0x183)](_0xf75cb1,_0x47b317,_0x13e246){const _0x59a623=_0x29979c;var _0x5ea0b8,_0xbd0c8d,_0xa9002c,_0x479555;((_0xbd0c8d=(_0x5ea0b8=this['_model'][_0x59a623(0x272)](_0xf75cb1))==null?void 0x0:_0x5ea0b8[_0x59a623(0x272)](_0x47b317))==null?void 0x0:_0xbd0c8d[_0x59a623(0x272)](_0x13e246))&&((_0x479555=(_0xa9002c=this[_0x59a623(0x381)][_0x59a623(0x272)](_0xf75cb1))==null?void 0x0:_0xa9002c[_0x59a623(0x272)](_0x47b317))==null||_0x479555[_0x59a623(0x3ac)](_0x13e246));}[_0x29979c(0x22b)](_0xb44839,_0x43c8cd){const _0x551ea5=_0x29979c;this[_0x551ea5(0x37a)][_0x551ea5(0x147)](_0xb44839,_0x43c8cd);}[_0x29979c(0x37c)](_0x3b0f6a){const _0x15eb05=_0x29979c;this[_0x15eb05(0x37a)][_0x15eb05(0x3ac)](_0x3b0f6a);}[_0x29979c(0x144)](_0x44a8f3,_0x4a8c8d){const _0x3e0a9b=_0x29979c;let _0x53cf5f=this[_0x3e0a9b(0x1b4)][_0x3e0a9b(0x272)](_0x44a8f3);_0x53cf5f||(_0x53cf5f=new Map(),this[_0x3e0a9b(0x1b4)][_0x3e0a9b(0x147)](_0x44a8f3,_0x53cf5f));let _0x1660a4=_0x53cf5f[_0x3e0a9b(0x272)](_0x4a8c8d);return _0x1660a4||(_0x1660a4=new Map(),_0x53cf5f['set'](_0x4a8c8d,_0x1660a4)),_0x1660a4;}[_0x29979c(0xf2)](_0x4aae68){const _0x36f600=_0x29979c,{unitId:_0x5dd606,subUnitId:_0x3957f0,pivotTableId:_0x54a676,pivotTableConfig:_0x2ab3c5,collectionConfig:_0x27ecdb}=_0x4aae68,_0x468b79={'unitId':_0x5dd606,'subUnitId':_0x3957f0,'oldSubUnitId':_0x3957f0,'pivotTableId':_0x54a676,'pivotTableConfig':_0x2ab3c5,'collectionConfig':_0x27ecdb};this['_commandService'][_0x36f600(0x1e2)](_0x3c4a14['id'],_0x468b79,{'onlyLocal':!0x0});}[_0x29979c(0x2b8)](_0x21b26f,_0x2bf257,_0x1cde36,_0x8eff16,_0x1b2893,_0x5d7023,_0x55cdfc,_0x167cf7=!0x1){const _0x4787aa=_0x29979c;var _0x422448;this[_0x4787aa(0x3b5)][_0x4787aa(0x1e2)](_0x570454['id'],{'single':{'unitId':_0x21b26f,'subUnitId':_0x2bf257,'type':_0x1cde36,'pivotTableId':_0x8eff16,'view':_0x1b2893,'pivotConfig':_0x5d7023},'collectionConfig':{[_0x21b26f]:_0x55cdfc}},{'onlyLocal':!0x0});const _0x400e96=!!((_0x422448=this[_0x4787aa(0x178)](_0x8eff16))!=null&&_0x422448[_0x4787aa(0x2bb)]()),_0x26b38e=this[_0x4787aa(0xff)](_0x21b26f,_0x2bf257,_0x8eff16);_0x26b38e&&this[_0x4787aa(0x3c9)]({'view':_0x1b2893,'pivotTableId':_0x8eff16,'textInfo':this[_0x4787aa(0x176)](),'isEmpty':_0x400e96,'targetCellInfo':_0x26b38e[_0x4787aa(0x27a)]},_0x167cf7);}[_0x29979c(0x3c9)](_0x2ade08,_0x1edc3a){const _0x4c3f80=_0x29979c,{targetCellInfo:_0x4c4483,pivotTableId:_0x3a0a43}=_0x2ade08,{unitId:_0x160494,subUnitId:_0x2ffb3c}=_0x4c4483,_0xf04cb1=this[_0x4c3f80(0x144)](_0x160494,_0x2ffb3c),_0x15a1ea=_0xf04cb1[_0x4c3f80(0x272)](_0x3a0a43);let _0x1a15ff,_0x88556d;_0x15a1ea&&(_0x1a15ff=_0x15a1ea[_0x4c3f80(0xc7)],_0x88556d=_0x15a1ea['matrix']);const {rangesCache:_0x27edb7,matrix:_0x5a0758}=_0xe1b44(_0x2ade08);_0xf04cb1['set'](_0x3a0a43,{'rangeCache':_0x27edb7,'matrix':_0x5a0758,'oldMatrix':_0x88556d,'oldRangeCache':_0x1a15ff}),_0x1edc3a||this[_0x4c3f80(0x249)][_0x4c3f80(0x24e)]({'unitId':_0x160494,'subUnitId':_0x2ffb3c,'pivotTableId':_0x3a0a43});}[_0x29979c(0x2df)](_0x15e84f,_0x4e4bac,_0x48b699,_0x41b269,_0xca576e){const _0x288e55=_0x29979c;this[_0x288e55(0x12f)](_0x15e84f,_0x4e4bac,_0x48b699,_0xca576e),this[_0x288e55(0x22b)](_0x48b699,_0x41b269);}[_0x29979c(0xf6)](_0x2318b8,_0x5436a3,_0x360d41){const _0x442dee=_0x29979c,_0x4eee8d=this['getDataFieldManager'](_0x2318b8);_0x4eee8d['getNoUsedDataFieldIds'](_0x360d41)[_0x442dee(0x246)](_0x18541e=>{_0x4eee8d['deleteDataField'](_0x18541e);}),this['removeCollections'](_0x2318b8,_0x360d41),this[_0x442dee(0x183)](_0x2318b8,_0x5436a3,_0x360d41),this[_0x442dee(0x37c)](_0x360d41);}[_0x29979c(0xf0)](_0x2caecc,_0x50d5b2,_0x129d73,_0x121e0f){const _0x373c03=_0x29979c;this[_0x373c03(0x12f)](_0x2caecc,_0x50d5b2,_0x129d73,_0x121e0f);}['getPivotTableConfig'](_0x3af84a,_0x47a5c6,_0x3306d5){const _0x18e1c0=_0x29979c;var _0x1763b6,_0x10c8e5;const _0x1c31d4=(_0x10c8e5=(_0x1763b6=this[_0x18e1c0(0x381)][_0x18e1c0(0x272)](_0x3af84a))==null?void 0x0:_0x1763b6[_0x18e1c0(0x272)](_0x47a5c6))==null?void 0x0:_0x10c8e5[_0x18e1c0(0x272)](_0x3306d5);if(_0x1c31d4)return _0x1c31d4;}[_0x29979c(0x270)](_0x5ef16b,_0x13550f,_0xf476c9){const _0x36a3c3=_0x29979c;var _0x15e57c,_0x474e32;const _0x4a0a8d=(_0x474e32=(_0x15e57c=this['_model'][_0x36a3c3(0x272)](_0x5ef16b))==null?void 0x0:_0x15e57c[_0x36a3c3(0x272)](_0x13550f))==null?void 0x0:_0x474e32[_0x36a3c3(0x272)](_0xf476c9);if(_0x4a0a8d)return _0x4a0a8d['fieldsConfig'];}['getPivotTableInstance'](_0x4d345b){const _0x124c4a=_0x29979c;return this[_0x124c4a(0x37a)][_0x124c4a(0x272)](_0x4d345b);}['deleteUnitId'](_0x31ae20){const _0x41f8f1=_0x29979c;this[_0x41f8f1(0x381)][_0x41f8f1(0x3ac)](_0x31ae20);const _0x253404=this[_0x41f8f1(0x2c4)][_0x41f8f1(0x272)](_0x31ae20);_0x253404&&(_0x253404['dispose'](),this[_0x41f8f1(0x2c4)][_0x41f8f1(0x3ac)](_0x31ae20)),this[_0x41f8f1(0x1b4)]['delete'](_0x31ae20),this[_0x41f8f1(0x16d)][_0x41f8f1(0x246)](_0xff4c99=>{const _0x24ff40=_0x41f8f1;_0xff4c99[_0x24ff40(0x302)](_0x31ae20);});}['addCollectionByJSON'](_0x32f31a,_0x286cf2,_0x1273ce,_0x69e290){const _0x2b1f6d=_0x29979c;return this[_0x2b1f6d(0xf7)](_0x1273ce['unitId'])[_0x2b1f6d(0x358)](_0x32f31a,_0x286cf2,_0x1273ce,_0x69e290);}[_0x29979c(0x14c)](_0x5a9fdc){const _0x37c0f4=_0x29979c;return this[_0x37c0f4(0xf7)](_0x5a9fdc[_0x37c0f4(0x24d)])['createCollectionWithDataRange'](_0x5a9fdc);}[_0x29979c(0x269)](_0x55a3e9,_0x68f399,_0xe49af1){const _0x52effa=_0x29979c;this[_0x52effa(0xf7)](_0xe49af1[_0x52effa(0x24d)])['refreshData'](_0x55a3e9,_0x68f399,_0xe49af1);}['removeDataField'](_0x4f37e7,_0x5dbd3b){const _0x366803=_0x29979c;this[_0x366803(0xf7)](_0x4f37e7)['deleteDataField'](_0x5dbd3b);}[_0x29979c(0x281)](_0x176de4,_0x2602e0){const _0x3396c1=_0x29979c;this['getDataFieldManager'](_0x176de4)[_0x3396c1(0x18b)](_0x2602e0);}['getSubUnitPivotConfigs'](_0x5e4dd7,_0x40ec67){const _0x9b6f60=_0x29979c;var _0x5023f9;return(_0x5023f9=this[_0x9b6f60(0x381)]['get'](_0x5e4dd7))==null?void 0x0:_0x5023f9[_0x9b6f60(0x272)](_0x40ec67);}[_0x29979c(0x337)](_0x3d8b21){const _0x45cae8=_0x29979c;for(const [_0x2afc39,_0x1dbb70]of this[_0x45cae8(0x381)][_0x45cae8(0x2e9)]())for(const [_0x274e6c,_0xd5aab4]of _0x1dbb70['entries']())if(_0xd5aab4[_0x45cae8(0x166)](_0x3d8b21))return{'unitId':_0x2afc39,'subUnitId':_0x274e6c};return null;}[_0x29979c(0x195)](_0x281926,_0x1002fa,_0x4207f7,_0x22f48a){const _0x3688f7=_0x29979c,_0x4da63d=this[_0x3688f7(0x144)](_0x281926,_0x1002fa);_0x22f48a?_0x4da63d['set'](_0x4207f7,_0x22f48a):_0x4da63d[_0x3688f7(0x3ac)](_0x4207f7),this[_0x3688f7(0x249)][_0x3688f7(0x24e)]({'unitId':_0x281926,'subUnitId':_0x1002fa,'pivotTableId':_0x4207f7});}['dispose'](){const _0x8386ee=_0x29979c;super[_0x8386ee(0x33c)]();}[_0x29979c(0x3a3)](_0x516390,_0x66144d,_0x31892a){const _0x3137e0=_0x29979c;var _0x25edd1,_0x5de8a6;const _0xbcf481=(_0x5de8a6=(_0x25edd1=this[_0x3137e0(0x1b4)][_0x3137e0(0x272)](_0x516390))==null?void 0x0:_0x25edd1[_0x3137e0(0x272)](_0x66144d))==null?void 0x0:_0x5de8a6['get'](_0x31892a);return _0xbcf481||null;}[_0x29979c(0x2f3)](_0x586ae){this['updateDirtyPivotTable'](_0x586ae);}[_0x29979c(0x2b4)](_0x5ccadc){const _0xa09454=_0x29979c,{token:_0x1c1058,unitId:_0x3061eb,subUnitId:_0x4c6544}=_0x5ccadc,_0x30da8c=_0x3061eb+'-'+_0x4c6544+'-'+_0x1c1058;this[_0xa09454(0x174)]['get'](_0x30da8c)&&clearTimeout(this[_0xa09454(0x174)][_0xa09454(0x272)](_0x30da8c));const _0x505fed=setTimeout(()=>{const _0x2d418e=_0xa09454;this[_0x2d418e(0xc6)](_0x5ccadc),this[_0x2d418e(0x174)][_0x2d418e(0x3ac)](_0x30da8c);},_0xac1186);this[_0xa09454(0x174)][_0xa09454(0x147)](_0x30da8c,_0x505fed);}['queryDirtyPivotTable'](_0xa936db){const _0x5f55fd=_0x29979c,{unitId:_0x1ce15b,subUnitId:_0x49d612,token:_0x3db999,type:_0x20968f,pivotConfig:_0x2986f3}=_0xa936db,_0x19096e=this[_0x5f55fd(0x178)](_0x3db999),_0x2861d1=_0x19096e==null?void 0x0:_0x19096e[_0x5f55fd(0x1a2)](),_0x539214=_0x2986f3!=null?_0x2986f3:this[_0x5f55fd(0xff)](_0x1ce15b,_0x49d612,_0x3db999);_0x539214&&(_0x539214[_0x5f55fd(0x2bb)]=!!(_0x19096e!=null&&_0x19096e['isEmpty']())),(_0x2861d1||_0x20968f===_0x32bc0d[_0x5f55fd(0x154)])&&this[_0x5f55fd(0x2b8)](_0x1ce15b,_0x49d612,_0x20968f,_0x3db999,_0x2861d1,_0x539214,this[_0x5f55fd(0xf7)](_0x1ce15b)[_0x5f55fd(0xe5)]());}[_0x29979c(0xe5)](_0x1218d7){const _0x9abbe2=_0x29979c,_0x2c43e9={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x9abbe2(0xf7)](_0x1218d7)&&(_0x2c43e9[_0x9abbe2(0x21d)][_0x1218d7]=this[_0x9abbe2(0xf7)](_0x1218d7)[_0x9abbe2(0xe5)]()),this['_model'][_0x9abbe2(0x272)](_0x1218d7)){_0x2c43e9[_0x9abbe2(0x12d)][_0x1218d7]={};const _0x405fe4=this[_0x9abbe2(0x381)]['get'](_0x1218d7);_0x405fe4!=null&&_0x405fe4[_0x9abbe2(0x122)]&&[..._0x405fe4[_0x9abbe2(0x1e5)]()][_0x9abbe2(0x246)](_0x2656e8=>{const _0x937ba3=_0x9abbe2,_0x1b14e7=_0x405fe4['get'](_0x2656e8);_0x1b14e7!=null&&_0x1b14e7['size']&&(_0x2c43e9[_0x937ba3(0x12d)][_0x1218d7][_0x2656e8]={},[..._0x1b14e7[_0x937ba3(0x1e5)]()][_0x937ba3(0x246)](_0x36ff05=>{const _0xbb362b=_0x937ba3,_0x1c69cf=_0x1b14e7[_0xbb362b(0x272)](_0x36ff05);_0x1c69cf&&(_0x2c43e9[_0xbb362b(0x12d)][_0x1218d7][_0x2656e8][_0x36ff05]=_0x1c69cf);}));});}return _0x2c43e9;}[_0x29979c(0x38e)](_0x2c0ea1){const _0x5023bf=_0x29979c;var _0x5798b2;const {dataFieldManagerConfig:_0x4fb292,pivotTableConfigs:_0x255140}=_0x2c0ea1;_0x4fb292&&Object[_0x5023bf(0x1e5)](_0x4fb292)[_0x5023bf(0x246)](_0x57a71a=>{const _0x479851=_0x5023bf;this['getDataFieldManager'](_0x57a71a)[_0x479851(0x38e)](_0x4fb292[_0x57a71a]);});const _0x4d71b6=[];if(_0x255140){const _0x508497=(_0x5798b2=this['_injector'][_0x5023bf(0x272)](_0x238b6d[_0x5023bf(0x1dd)])[_0x5023bf(0x128)](_0x4056fc['LS_CONFIG_KEY']))!=null?_0x5798b2:{},{ls:_0x1345b5,pbk:_0x432d05}=_0x508497,_0x2617db=_0x1c55e5(_0x51b9aa,_0x1345b5,_0x432d05)[_0x5023bf(0xfd)];Object[_0x5023bf(0x1e5)](_0x255140)[_0x5023bf(0x246)](_0x1c9d92=>{const _0xaafc3f=_0x5023bf;let _0x4fc527=0x0;const _0x2f63c5=_0x255140[_0x1c9d92];Object[_0xaafc3f(0x1e5)](_0x2f63c5)[_0xaafc3f(0x246)](_0x111dff=>{const _0x3e4e94=_0xaafc3f,_0xd56982=_0x2f63c5[_0x111dff];Object[_0x3e4e94(0x1e5)](_0xd56982)[_0x3e4e94(0x246)](_0xb14eb=>{const _0x441fe6=_0x3e4e94,_0x39fcb0=_0xd56982[_0xb14eb];if(_0x39fcb0){if(_0x4fc527>=_0x2617db)return;_0x4fc527++;const _0xe0fe6a=this[_0x441fe6(0xf7)](_0x1c9d92),_0x5edbc=_0xe0fe6a[_0x441fe6(0x191)][_0xb14eb],_0x1286f4=_0x5edbc[_0x441fe6(0x30c)]();let _0x1e8f2d=0x0;const _0x3cf0d0=[];for(const _0x701c2 of _0x1286f4){const _0x3ebe6b=_0x5edbc[_0x441fe6(0x26a)](_0x701c2);if(_0x51a67c[_0x441fe6(0x2be)](_0x3ebe6b)){const _0xbb4cc4=_0x3ebe6b[_0x441fe6(0x20a)](),_0xae3db9=_0x5edbc[_0x441fe6(0x26a)](_0xbb4cc4);_0xae3db9&&_0x3cf0d0['push']([_0x3ebe6b,_0xae3db9]);continue;}_0xe0fe6a[_0x441fe6(0x182)](_0x701c2,_0x39fcb0[_0x441fe6(0x226)],_0x1e8f2d),_0x1e8f2d++;}_0x3cf0d0[_0x441fe6(0x246)](([_0x1b1b35,_0x26246e])=>{const _0x4e47db=_0x441fe6;_0x1b1b35[_0x4e47db(0x19d)](_0x26246e);});const _0x3582b2=new _0x51a67c['PivotTable'](_0x5edbc);_0x3582b2['fromJSON'](_0x39fcb0[_0x441fe6(0x207)]),this[_0x441fe6(0x2df)](_0x1c9d92,_0x111dff,_0xb14eb,_0x3582b2,_0x39fcb0);const _0x5146d2=_0x3582b2[_0x441fe6(0x1a2)]();_0x4d71b6[_0x441fe6(0x35f)]({'unitId':_0x1c9d92,'subUnitId':_0x111dff,'pivotTableId':_0xb14eb,'view':_0x5146d2[_0x441fe6(0xe5)](),'pivotConfig':_0x39fcb0,'type':_0x32bc0d[_0x441fe6(0x38c)]});const _0x131029=!!_0x3582b2[_0x441fe6(0x2bb)](),_0x99290={'view':_0x5146d2,'pivotTableId':_0xb14eb,'textInfo':this[_0x441fe6(0x176)](),'isEmpty':_0x131029,'targetCellInfo':_0x39fcb0[_0x441fe6(0x27a)]};this[_0x441fe6(0x3c9)](_0x99290,!0x1);}});});});}_0x4fb292&&Object['keys'](_0x4fb292)[_0x5023bf(0x246)](_0x27d26f=>{const _0x26335e=_0x5023bf,_0x3d38f7=this[_0x26335e(0xf7)](_0x27d26f);this[_0x26335e(0x22f)][_0x26335e(0x24e)](_0x3d38f7[_0x26335e(0x191)]);}),this[_0x5023bf(0x3b5)][_0x5023bf(0x1e2)](_0x570454['id'],{'batch':_0x4d71b6,'collectionConfig':_0x4fb292},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x23851e=_0x29979c;this[_0x23851e(0x2bf)](this[_0x23851e(0x2ad)][_0x23851e(0x10c)]({'toJson':_0x51fa7f=>JSON[_0x23851e(0x283)](this[_0x23851e(0xe5)](_0x51fa7f)),'parseJson':_0x59e9af=>{const _0x36a084=_0x23851e;if(!_0x59e9af)return{};try{return JSON[_0x36a084(0x2a2)](_0x59e9af);}catch{return{};}},'businesses':[_0x238b6d[_0x23851e(0x210)][_0x23851e(0x2e6)]],'pluginName':_0x220f9d,'onLoad':(_0x4c89ab,_0x199e18)=>{const _0xb5b97=_0x23851e;this[_0xb5b97(0x38e)](_0x199e18);},'onUnLoad':_0x191c7c=>{const _0xda4e0b=_0x23851e;this[_0xda4e0b(0x302)](_0x191c7c);}}));}},_0x2f79a9[_0x29979c(0x2af)]=_0x302cf9([_0x309bef(0x0,_0x238b6d[_0x29979c(0x18c)](_0x238b6d['Injector'])),_0x309bef(0x1,_0x238b6d[_0x29979c(0xd7)]),_0x309bef(0x2,_0x238b6d['Inject'](_0x238b6d['LifecycleService'])),_0x309bef(0x3,_0x238b6d[_0x29979c(0x13b)]),_0x309bef(0x4,_0x238b6d['Inject'](_0x238b6d[_0x29979c(0x252)]))],_0x2f79a9[_0x29979c(0x2af)]);const _0x1f7de8={0x0:{0x0:{'v':_0x29979c(0x157),'s':_0x127156}},0x2:{0x1:{'v':'','s':_0x127156},0x2:{'v':'','s':_0x127156},0x3:{'v':_0x29979c(0x2d3),'s':_0x127156},0x4:{'v':'','s':_0x127156},0x5:{'v':'','s':_0x127156}},0x3:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0x4:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0x5:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0x6:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0x7:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0x8:{0x0:{'v':_0x29979c(0x20d),'s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':_0x29979c(0x285),'s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0x9:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0xa:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0xb:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0xc:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}},0xd:{0x0:{'v':'','s':_0x127156},0x1:{'v':'','s':_0x6a22ed},0x2:{'v':'','s':_0x6a22ed},0x3:{'v':'','s':_0x6a22ed},0x4:{'v':'','s':_0x6a22ed},0x5:{'v':'','s':_0x6a22ed}}},_0x49b64b={'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':[]},_0x2b9077=(_0x54d2c8,_0x668d2c)=>{const _0x6257ac=_0x29979c,_0x46a20e=new _0x238b6d[(_0x6257ac(0x2d6))](),_0x31a428=new _0x238b6d[(_0x6257ac(0x2d6))](_0x1f7de8),{row:_0x5ed834,col:_0x3bc4d0}=_0x668d2c;_0x31a428[_0x6257ac(0x102)]((_0x52921d,_0x2879b7,_0x2e60f5)=>{const _0x19d90e=_0x6257ac;let _0x33495b='';_0x2e60f5['v']===_0x19d90e(0x157)?_0x33495b=_0x54d2c8['filter']:_0x2e60f5['v']===_0x19d90e(0x20d)?_0x33495b=_0x54d2c8[_0x19d90e(0x20d)]:_0x2e60f5['v']==='column'?_0x33495b=_0x54d2c8[_0x19d90e(0x2d3)]:_0x2e60f5['v']===_0x19d90e(0x285)&&(_0x33495b=_0x54d2c8[_0x19d90e(0x285)]),_0x46a20e[_0x19d90e(0x1aa)](_0x52921d+_0x5ed834,_0x2879b7+_0x3bc4d0,{..._0x2e60f5,'v':_0x33495b});});const _0x53d72e=_0x238b6d[_0x6257ac(0x3be)]['deepClone'](_0x49b64b);return Object['keys'](_0x49b64b)[_0x6257ac(0x246)](_0x2bbf2f=>{const _0x5bd764=_0x6257ac;_0x53d72e[_0x2bbf2f]=_0x49b64b[_0x2bbf2f][_0x5bd764(0x162)](_0xfb1c7=>({..._0xfb1c7,'startRow':_0xfb1c7[_0x5bd764(0x395)]+_0x5ed834,'endRow':_0xfb1c7[_0x5bd764(0x1d2)]+_0x5ed834,'startColumn':_0xfb1c7['startColumn']+_0x3bc4d0,'endColumn':_0xfb1c7['endColumn']+_0x3bc4d0}));}),{'matrixCache':_0x46a20e,'rangesCache':_0x53d72e};};function _0x916baa(_0x5937cf,_0x42bf57){const _0x3a8e75=_0x29979c;let _0x4687d1='';const _0x35a1da=this[_0x3a8e75(0x176)]();switch(_0x42bf57){case _0x51a67c['PivotSubtotalTypeEnum'][_0x3a8e75(0x117)]:_0x4687d1=_0x35a1da[_0x3a8e75(0x36a)]+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)][_0x3a8e75(0xfd)]:_0x4687d1=_0x35a1da[_0x3a8e75(0x2c8)]+_0x5937cf;break;case _0x51a67c['PivotSubtotalTypeEnum'][_0x3a8e75(0x28f)]:_0x4687d1=_0x35a1da[_0x3a8e75(0x15b)]+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)][_0x3a8e75(0x196)]:_0x4687d1=_0x35a1da[_0x3a8e75(0x1e4)]+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)]['min']:_0x4687d1=_0x35a1da[_0x3a8e75(0x1c4)]+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)][_0x3a8e75(0x247)]:_0x4687d1=_0x35a1da['sheets-pivot.productName']+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)][_0x3a8e75(0x2a0)]:_0x4687d1=_0x35a1da[_0x3a8e75(0x3b9)]+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)][_0x3a8e75(0x1e3)]:_0x4687d1=_0x35a1da['sheets-pivot.stdDevpName']+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)][_0x3a8e75(0x276)]:_0x4687d1=_0x35a1da['sheets-pivot.sumName']+_0x5937cf;break;case _0x51a67c[_0x3a8e75(0x23c)]['var']:_0x4687d1=_0x35a1da[_0x3a8e75(0x3a0)]+_0x5937cf;break;case _0x51a67c['PivotSubtotalTypeEnum']['varp']:_0x4687d1=_0x35a1da[_0x3a8e75(0x1b7)]+_0x5937cf;break;default:_0x4687d1=_0x5937cf;break;}return _0x4687d1;}function _0x468ce8(_0x5010a5,_0x43a382,_0xc7fdba,_0x2eb8d0,_0x5baa0e){const _0x347986=_0x29979c;var _0x59516d,_0xf9d1a4,_0x3616b1,_0x4afce1,_0x18a27e;const _0x27896e=_0x238b6d[_0x347986(0xdf)](_0x5010a5,_0x43a382),{rangesInfo:_0x3d10a6,areaInfo:_0x22051d,headerMap:_0x578d78}=_0x5baa0e;if(!_0x3d10a6||!_0x22051d||!_0x578d78)return;const _0x443402=Object['keys'](_0x3d10a6)[_0x347986(0x3cc)](_0x3e0db3=>_0x3d10a6[_0x3e0db3][_0x347986(0x24f)](_0x511740=>_0x238b6d[_0x347986(0x38f)][_0x347986(0x146)](_0x511740,_0x27896e))),_0x2e5d0b=_0x22051d;let _0x418442,_0x1e9d40,_0x3dee49;if(_0x443402===_0x347986(0x369))_0x418442=(_0x59516d=_0x2e5d0b==null?void 0x0:_0x2e5d0b[_0x347986(0x152)])==null?void 0x0:_0x59516d[_0x5010a5],_0x1e9d40=(_0xf9d1a4=_0x578d78==null?void 0x0:_0x578d78[_0x347986(0x29c)])==null?void 0x0:_0xf9d1a4[_0x43a382],_0x3dee49=_0x1e9d40==null?void 0x0:_0x1e9d40[_0x347986(0xd5)];else{if(_0x443402==='colRanges')_0x418442=(_0x3616b1=_0x2e5d0b==null?void 0x0:_0x2e5d0b[_0x347986(0x208)])==null?void 0x0:_0x3616b1[_0x43a382],_0x1e9d40=(_0x4afce1=_0x578d78[_0x347986(0x1b6)])==null?void 0x0:_0x4afce1[_0x5010a5+0x1+_0x43a382-_0x3d10a6[_0x347986(0x1a5)][0x0][_0x347986(0x2b3)]],_0x3dee49=_0x1e9d40==null?void 0x0:_0x1e9d40[_0x347986(0xd5)];else{if(_0x443402===_0x347986(0x30e))_0x418442=(_0x18a27e=_0x2e5d0b==null?void 0x0:_0x2e5d0b['cornerInfo'])==null?void 0x0:_0x18a27e[_0x43a382],_0x3dee49=_0x418442==null?void 0x0:_0x418442['tableFieldId'];else{if(_0x443402==='pageRanges'){const _0x3bb726=_0xc7fdba==null?void 0x0:_0xc7fdba['fi'];_0x3bb726!==void 0x0&&(_0x3dee49=_0x2eb8d0['getFilterFieldIdByIndex'](_0x3bb726));}}}}return{'filterId':_0x3dee49,'info':_0x418442,'data':_0xc7fdba,'headerInfo':_0x1e9d40};}function _0x235d57(_0x573731,_0x4510b5,_0x310821){const _0x281e8e=_0x29979c,_0x1fe094=_0x573731[_0x281e8e(0x1c2)],_0x21362f=_0x1fe094[_0x281e8e(0x30c)](),_0x593cf0=new Set();_0x573731[_0x281e8e(0x2bd)](_0x3cfd72=>{const _0x506699=_0x281e8e;_0x593cf0[_0x506699(0x290)](_0x3cfd72[_0x506699(0x34a)]);});const _0x298928=_0x21362f[_0x281e8e(0x162)](_0x32c33c=>{const _0x133a2c=_0x281e8e,_0x3f6ca0=_0x1fe094[_0x133a2c(0x26a)](_0x32c33c);return{'checked':_0x593cf0[_0x133a2c(0x166)](_0x32c33c),'dataFieldId':_0x3f6ca0['id'],'id':_0x3f6ca0['id'],'name':_0x1fe094[_0x133a2c(0x34b)](_0x3f6ca0['id']),'type':_0x3f6ca0[_0x133a2c(0xfb)](),'pivotTableId':_0x4510b5};}),_0x29226d=[];_0x573731[_0x281e8e(0x11a)](_0x51a67c['PivotTableFiledAreaEnum'][_0x281e8e(0x1f3)],_0x217f34=>{const _0x40fbca=_0x281e8e;_0x29226d[_0x40fbca(0x35f)]({'dataFieldId':_0x217f34[_0x40fbca(0x34a)],'tableFieldId':_0x217f34[_0x40fbca(0x3b7)](),'displayName':_0x217f34[_0x40fbca(0x34b)]()});});const _0x252e2f=[];_0x573731[_0x281e8e(0x11a)](_0x51a67c['PivotTableFiledAreaEnum'][_0x281e8e(0x220)],_0x561114=>{const _0x5442e1=_0x281e8e;_0x252e2f['push']({'dataFieldId':_0x561114[_0x5442e1(0x34a)],'tableFieldId':_0x561114[_0x5442e1(0x3b7)](),'displayName':_0x561114[_0x5442e1(0x34b)]()});});const _0x369c09=[];if(_0x573731[_0x281e8e(0x11a)](_0x51a67c[_0x281e8e(0x209)][_0x281e8e(0x2c1)],_0x14c71a=>{const _0x4c2ab5=_0x281e8e;_0x369c09[_0x4c2ab5(0x35f)]({'dataFieldId':_0x14c71a['dataFieldId'],'tableFieldId':_0x14c71a[_0x4c2ab5(0x3b7)](),'displayName':_0x14c71a[_0x4c2ab5(0x34b)](),'format':_0x14c71a[_0x4c2ab5(0x1ec)](),'subTotalType':_0x14c71a[_0x4c2ab5(0x22e)]()});}),_0x369c09['length']>0x1){const _0x182898=_0x573731[_0x281e8e(0x325)]();(_0x573731[_0x281e8e(0x142)]()?_0x252e2f:_0x29226d)['splice'](_0x182898,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x281e8e(0x10a)});}const _0x240b15=[];_0x573731[_0x281e8e(0x11a)](_0x51a67c[_0x281e8e(0x209)][_0x281e8e(0xd9)],_0x45cbf2=>{const _0x2b9ac3=_0x281e8e;_0x240b15[_0x2b9ac3(0x35f)]({'dataFieldId':_0x45cbf2[_0x2b9ac3(0x34a)],'tableFieldId':_0x45cbf2['getId'](),'displayName':_0x45cbf2['getDisplayName']()});});const _0x530136=_0x310821[_0x281e8e(0x226)];return{'sourceList':_0x298928,'sourceRange':_0x530136,'rowFields':_0x29226d,'columnFields':_0x252e2f,'valueFields':_0x369c09,'filterFields':_0x240b15,'positionInfo':_0x310821[_0x281e8e(0x27a)]};}function _0x260627(_0x1c9ff6,_0x4c7461,_0x3b01ec='',_0x5e2f4f={}){const _0x472c81=_0x29979c,_0x186240=_0x1c9ff6[_0x472c81(0x272)](_0x238b6d['LocaleService']);for(const _0xc70fcc in _0x4c7461)if(Object[_0x472c81(0x113)][_0x472c81(0x2a7)][_0x472c81(0x1b5)](_0x4c7461,_0xc70fcc)){const _0x30c780=_0x3b01ec?_0x3b01ec+'.'+_0xc70fcc:_0xc70fcc;typeof _0x4c7461[_0xc70fcc]==_0x472c81(0x1ae)&&_0x4c7461[_0xc70fcc]!==null&&!Array[_0x472c81(0x145)](_0x4c7461[_0xc70fcc])?_0x260627(_0x1c9ff6,_0x4c7461[_0xc70fcc],_0x30c780,_0x5e2f4f):_0x5e2f4f[_0x30c780]=_0x186240['t'](_0x30c780);}return _0x5e2f4f;}const _0x3dad50=_0x54e226=>{const _0x13b558=_0x29979c;if(!_0x54e226)return[];const {rowRanges:_0x292f2e,colRanges:_0x30c3b1,cornerRanges:_0x145383,dataRanges:_0x1c825c,pageRanges:_0x1d889e}=_0x54e226,_0x167dc9=[..._0x30c3b1,..._0x292f2e,..._0x1c825c,..._0x145383][_0x13b558(0x157)](_0x22c9c5=>_0x22c9c5[_0x13b558(0x395)]>=0x0&&_0x22c9c5[_0x13b558(0x2b3)]>=0x0&&_0x22c9c5['endRow']>=0x0&&_0x22c9c5[_0x13b558(0x345)]>=0x0);let _0x81ec14=Number['MAX_SAFE_INTEGER'],_0x11004c=Number[_0x13b558(0x3ad)],_0x36e527=Number[_0x13b558(0x1ba)],_0x5c743e=Number[_0x13b558(0x3ad)];for(let _0x61ad3a=0x0;_0x61ad3a<_0x167dc9[_0x13b558(0x390)];_0x61ad3a++)_0x81ec14=Math[_0x13b558(0x1db)](_0x81ec14,_0x167dc9[_0x61ad3a][_0x13b558(0x395)]),_0x11004c=Math[_0x13b558(0x196)](_0x11004c,_0x167dc9[_0x61ad3a]['endRow']),_0x36e527=Math[_0x13b558(0x1db)](_0x36e527,_0x167dc9[_0x61ad3a][_0x13b558(0x2b3)]),_0x5c743e=Math[_0x13b558(0x196)](_0x5c743e,_0x167dc9[_0x61ad3a][_0x13b558(0x345)]);return[..._0x1d889e,{'startRow':_0x81ec14,'endRow':_0x11004c,'startColumn':_0x36e527,'endColumn':_0x5c743e}];};function _0x3cb899(_0x405dff,_0x17f16e){const _0x1420ff=_0x29979c,_0xfe19f2=_0x17f16e['params'][_0x1420ff(0x2ac)],{pivotTableId:_0x40d16a,unitId:_0x545a37,subUnitId:_0x444aa3}=_0x17f16e;if(!_0xfe19f2)return;const _0x5a1a3c=_0x405dff[_0x1420ff(0x272)](_0x2f79a9[_0x1420ff(0x2af)]),_0x34827=_0x5a1a3c[_0x1420ff(0x178)](_0x40d16a),_0x384a3c=_0x5a1a3c[_0x1420ff(0xff)](_0x545a37,_0x444aa3,_0x40d16a);if(!_0x34827||!_0x384a3c)return;const _0x1279c1=_0x34827[_0x1420ff(0x223)](_0xfe19f2[_0x1420ff(0x1b2)]);if(!(_0x1279c1!=null&&_0x1279c1['length']))return;const _0x576d20=_0x384a3c[_0x1420ff(0x226)],{unitId:_0x1c5fd2,subUnitId:_0x11f2b4,range:_0x47b592}=_0x576d20;let _0x18f82c=0x0;const _0x2210a3=_0x34827[_0x1420ff(0x1c2)][_0x1420ff(0x30c)]()['reduce']((_0x3a9fe2,_0x27bc52)=>{const _0x30f3b7=_0x1420ff;var _0x133bd9;const _0x4df770=(_0x133bd9=_0x34827[_0x30f3b7(0x1a8)](_0x27bc52))==null?void 0x0:_0x133bd9['getformat']();return _0x4df770&&(_0x3a9fe2[String(_0x18f82c)]=_0x4df770),_0x18f82c++,_0x3a9fe2;},{});return{'indexes':_0x1279c1,'range':_0x47b592,'sourceUnitId':_0x1c5fd2,'sourceSubUnitId':_0x11f2b4,'formatMap':_0x2210a3};}function _0x318e25(_0x195720,_0x4a5d2f){const _0x5b0d0a=_0x29979c;if(!_0x195720||!_0x4a5d2f)return!0x0;const _0x168c39=_0x4056fc[_0x5b0d0a(0x127)](_0x1c6f57,_0xab93ae),_0x5f2999=new Function(_0x5b0d0a(0xd3)+_0x168c39)()(_0x195720,_0x4a5d2f)[_0x5b0d0a(0x3b8)],_0x1e359e=_0x4056fc[_0x5b0d0a(0x214)](_0x5f2999,'sf',_0x29da4a);return!((_0x5f2999==null?void 0x0:_0x5f2999['rt'])===_0x4056fc[_0x5b0d0a(0x1e6)][_0x5b0d0a(0x349)]&&!_0x1e359e);}function _0x1c55e5(_0x1e16cb,_0x42a4c4,_0x5c49a8){const _0x4a8731=_0x29979c,_0x156aab={'count':_0x1e16cb,'timeValid':!0x1};if(!_0x42a4c4||!_0x5c49a8)return _0x156aab;const _0x11f2d6=_0x4056fc[_0x4a8731(0x127)](_0x1c6f57,_0xab93ae),_0x4ac1b1=new Function('return\x20'+_0x11f2d6)()(_0x42a4c4,_0x5c49a8);if(_0x4ac1b1!=null&&_0x4ac1b1[_0x4a8731(0x1b8)]){const _0x2f6b2d=_0x4ac1b1[_0x4a8731(0x3b8)],_0x329ccc=_0x4056fc[_0x4a8731(0x214)](_0x2f6b2d,'sf',_0x29da4a);return{'count':_0x4056fc[_0x4a8731(0x264)](_0x2f6b2d,_0x329ccc,'ptn',_0x1e16cb,_0x1e16cb,0x0),'timeValid':_0x329ccc};}return _0x156aab;}function _0x50b3cd(_0x4a313c,_0x4181a5,_0x3857a5,_0x2c4b40){const _0x33fd86=_0x29979c,_0x4c78a0={'subUnitId':_0x3857a5,'unitId':_0x4181a5,'cellValue':_0x30ad02[_0x33fd86(0x344)](_0x2c4b40)},_0x2f1cf7=_0x30ad02[_0x33fd86(0x2ee)](_0x4a313c,_0x4c78a0);let _0x35f961=!0x1;return new _0x238b6d[(_0x33fd86(0x2d6))](_0x2f1cf7['cellValue'])[_0x33fd86(0x102)]((_0x514273,_0x1d489b,_0x265277)=>{const _0x142282=_0x33fd86;if(!_0x35f961&&_0x265277&&(_0x265277[_0x142282(0xdb)]||_0x265277['f']||_0x265277['p']||_0x265277['s']||_0x265277['si']||_0x265277['t']||_0x265277['v']))return _0x35f961=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x30ad02[_0x33fd86(0x2ca)]['id'],'params':_0x2f1cf7},'setRangeValueRedoMutation':{'id':_0x30ad02[_0x33fd86(0x2ca)]['id'],'params':_0x4c78a0},'shouldClear':_0x35f961};}function _0x2c1aae(_0x7f7770){const {row:_0x3d4e46,col:_0x48f19b}=_0x7f7770,_0x125b8f={'startRow':_0x3d4e46,'endRow':_0x3d4e46,'startColumn':_0x48f19b,'endColumn':_0x48f19b},_0x3dce78={'startRow':_0x3d4e46+0x2,'endRow':_0x3d4e46+0xe,'startColumn':_0x48f19b,'endColumn':_0x48f19b+0x6};return[_0x125b8f,_0x3dce78];}function _0x226f64(_0x98a0d3,_0x386256,_0x5bf5fa){const _0x299cb8=_0x29979c,{cornerView:_0x54923f,rowView:_0x52e13c,colView:_0x111b5a,pageView:_0x38406a}=_0x98a0d3,{row:_0x494509,col:_0x4539c5}=_0x386256;if(_0x5bf5fa)return{'rowCount':_0x2e97ff+_0x494509,'colCount':_0x4906f2+_0x4539c5};const _0x4cebbe=_0x38406a[_0x299cb8(0x2b0)]>-0x1?_0x38406a[_0x299cb8(0x2b0)]+0x1:0x0,_0x937747=_0x38406a['lastCol']>-0x1?_0x38406a[_0x299cb8(0x125)]:0x0,_0x2201ab=_0x494509+_0x4cebbe+(_0x4cebbe?0x1:0x0)+_0x54923f[_0x299cb8(0x11c)]+_0x52e13c[_0x299cb8(0x11c)],_0x5a7acd=_0x4539c5+_0x937747,_0x2f6536=_0x4539c5+_0x54923f[_0x299cb8(0x291)]+_0x111b5a[_0x299cb8(0x291)],_0x58c3ca=Math[_0x299cb8(0x196)](_0x5a7acd,_0x2f6536);return{'rowCount':_0x2201ab,'colCount':_0x58c3ca};}function _0x1b8251(_0x43c80e,_0xdc6971,_0x2c6595,_0x5997a8){const _0x2b6ef7=_0x29979c,{row:_0x20d647,col:_0x5c959e,unitId:_0x15ac41,subUnitId:_0x40615a}=_0x2c6595,_0xff30ee=_0x226f64(_0xdc6971,{'row':_0x20d647,'col':_0x5c959e},_0x5997a8),_0x312758=_0x43c80e[_0x2b6ef7(0x272)](_0x238b6d[_0x2b6ef7(0xd7)]),_0x525364=_0x30ad02[_0x2b6ef7(0xdd)](_0x312758,{'unitId':_0x15ac41,'subUnitId':_0x40615a}),_0x1ded96=[],_0x1ac2b2=[];if(!_0x525364)return{'undos':_0x1ac2b2,'redos':_0x1ded96};const {worksheet:_0x37cce0}=_0x525364,_0x47016e=_0x37cce0['getRowCount'](),_0x236f0e=_0x37cce0[_0x2b6ef7(0x26b)]();return _0x47016e<_0xff30ee['rowCount']&&(_0x1ded96[_0x2b6ef7(0x35f)]({'id':_0x30ad02[_0x2b6ef7(0x1cf)]['id'],'params':{'unitId':_0x15ac41,'subUnitId':_0x40615a,'range':{'startRow':_0x47016e,'endRow':_0xff30ee[_0x2b6ef7(0x11c)]-0x1,'startColumn':0x0,'endColumn':_0x236f0e-0x1}}}),_0x1ac2b2['push']({'id':_0x30ad02['RemoveRowMutation']['id'],'params':{'unitId':_0x15ac41,'subUnitId':_0x40615a,'range':{'startRow':_0x47016e,'endRow':_0xff30ee[_0x2b6ef7(0x11c)]-0x1,'startColumn':0x0,'endColumn':_0x236f0e-0x1}}})),_0x236f0e<_0xff30ee[_0x2b6ef7(0x291)]&&(_0x1ded96['push']({'id':_0x30ad02[_0x2b6ef7(0x3cd)]['id'],'params':{'unitId':_0x15ac41,'subUnitId':_0x40615a,'range':{'startRow':0x0,'endRow':_0x47016e-0x1,'startColumn':_0x236f0e,'endColumn':_0xff30ee[_0x2b6ef7(0x291)]-0x1}}}),_0x1ac2b2[_0x2b6ef7(0x35f)]({'id':_0x30ad02[_0x2b6ef7(0x151)]['id'],'params':{'unitId':_0x15ac41,'subUnitId':_0x40615a,'range':{'startRow':0x0,'endRow':_0x47016e-0x1,'startColumn':_0x236f0e,'endColumn':_0xff30ee[_0x2b6ef7(0x291)]-0x1}}})),{'undos':_0x1ac2b2,'redos':_0x1ded96};}function _0x5b1292(_0x13f53e){let _0x27e24c=0x0;for(let _0x1490ac=0x0;_0x1490ac<_0x13f53e['length'];_0x1490ac++){const _0x2cfba9=_0x13f53e['charCodeAt'](_0x1490ac);_0x2cfba9>=0x4e00&&_0x2cfba9<=0x9fff||_0x2cfba9>=0x3000&&_0x2cfba9<=0x303f||_0x2cfba9>=0xff00&&_0x2cfba9<=0xffef?_0x27e24c+=0x2:_0x27e24c+=0x1;}return _0x27e24c;}function _0x5a33cd(_0x15929a,_0x148729,_0x43e6ff,_0x206382){const _0x2a8ed1=_0x29979c;var _0x17b4e7,_0x3d277c,_0x2b4fbc,_0x380389;const {rowCount:_0x45e596,colCount:_0x3609e2,headerMap:_0x2d0aae}=_0x15929a,_0x786156=0x64,_0x4206ea=Math[_0x2a8ed1(0x1db)](_0x45e596,_0x786156),_0x51d996=Math['min'](_0x3609e2,_0x786156);let _0x47375b='',_0x5b6ea6=0x0;for(let _0x409788=0x0;_0x409788<_0x4206ea;_0x409788++)for(let _0xcae2b8=0x0;_0xcae2b8<_0x51d996;_0xcae2b8++){const _0x42fd39={...(_0x3d277c=(_0x17b4e7=_0x15929a['data'])==null?void 0x0:_0x17b4e7[_0x409788])==null?void 0x0:_0x3d277c[_0xcae2b8]},_0x47776b=(_0x2b4fbc=_0x2d0aae[_0x409788])==null?void 0x0:_0x2b4fbc['tableFieldId'],_0x2e498c=_0x206382[_0x47776b];let _0x2570c6=_0x15929a[_0x2a8ed1(0x13a)](_0x409788,_0xcae2b8);if(_0x42fd39){const _0x5693df=_0x43e6ff?_0xcae2b8===0x0&&((_0x380389=_0x15929a['getHeaderMapItem'](_0xcae2b8+0x1))==null?void 0x0:_0x380389[_0x2a8ed1(0x336)]):!0x1;_0x2570c6=_0x43e2db(_0x42fd39,_0x5693df,_0x2e498c,_0x148729);}if(_0x2570c6!==void 0x0){const _0x1967ca=_0x5b1292(String(_0x2570c6));_0x5b6ea6<_0x1967ca&&(_0x47375b=String(_0x2570c6),_0x5b6ea6=_0x1967ca);}}return _0x47375b;}function _0x38d80d(_0x274cd9){const _0x559a2b=_0x29979c,{rowCount:_0x324368,colCount:_0x1fab5a}=_0x274cd9;let _0x1508de='',_0xab2163=0x0;for(let _0x214368=_0x324368-0x1;_0x214368>0x0&&_0x214368>_0x324368-0x3;_0x214368--)for(let _0x158ce5=0x0;_0x158ce5<_0x1fab5a;_0x158ce5++){const _0x26d645=_0x274cd9[_0x559a2b(0x13a)](_0x214368,_0x158ce5);if(_0x26d645!==void 0x0){const _0x3e25c1=String(_0x26d645)[_0x559a2b(0x390)];_0xab2163<_0x3e25c1&&(_0x1508de=String(_0x26d645),_0xab2163=_0x3e25c1);}}return _0x1508de;}function _0x3b7f70(_0x13c1f9){const _0x5a46e5=_0x29979c,{rowCount:_0xb6ccb9,colCount:_0x36e871}=_0x13c1f9;let _0x55b6e9='',_0x5553a2=0x0;for(let _0x16c2a3=0x0;_0x16c2a3<_0xb6ccb9;_0x16c2a3++)for(let _0x47a082=0x0;_0x47a082<_0x36e871;_0x47a082++){const _0x3eed05=_0x13c1f9[_0x5a46e5(0x13a)](_0x16c2a3,_0x47a082);if(_0x3eed05!==void 0x0){const _0x3dee10=String(_0x3eed05)[_0x5a46e5(0x390)];_0x5553a2<_0x3dee10&&(_0x55b6e9=String(_0x3eed05),_0x5553a2=_0x3dee10);}}return _0x55b6e9;}function _0x2e0897(_0x4f92bb,_0x5dda03){const _0x3a7b61=_0x29979c,{rowFields:_0x5724a8,columnFields:_0x275451,valueFields:_0x55848a,filterFields:_0x225e14,dimension:_0xc59e5c,measure:_0x4c1e7b}=_0x5dda03;for(const _0x297a3f of _0x5724a8){const _0x21cc31=_0xc59e5c[_0x297a3f];_0x21cc31&&_0x4f92bb[_0x3a7b61(0x1a8)](_0x21cc31[_0x3a7b61(0x34a)])&&(_0x4f92bb[_0x3a7b61(0x284)](_0x21cc31[_0x3a7b61(0x34a)],_0x51a67c[_0x3a7b61(0x209)][_0x3a7b61(0x1f3)],void 0x0,_0x297a3f),_0x21cc31['displayName']&&_0x4f92bb[_0x3a7b61(0x2f9)](_0x21cc31['id'],_0x21cc31[_0x3a7b61(0x14a)]),_0x21cc31[_0x3a7b61(0x235)]&&_0x4f92bb['setSortInfo'](_0x21cc31['id'],_0x21cc31['sortInfo']),_0x21cc31['filterInfo']&&_0x4f92bb[_0x3a7b61(0x3c6)](_0x21cc31['id'],_0x21cc31[_0x3a7b61(0x296)]));}for(const _0x11a2d0 of _0x275451){const _0x1ee8d8=_0xc59e5c[_0x11a2d0];_0x1ee8d8&&_0x4f92bb[_0x3a7b61(0x1a8)](_0x1ee8d8[_0x3a7b61(0x34a)])&&(_0x4f92bb['addFieldWithSourceId'](_0x1ee8d8[_0x3a7b61(0x34a)],_0x51a67c[_0x3a7b61(0x209)][_0x3a7b61(0x220)],void 0x0,_0x11a2d0),_0x1ee8d8[_0x3a7b61(0x235)]&&_0x4f92bb['setSortInfo'](_0x1ee8d8['id'],_0x1ee8d8[_0x3a7b61(0x235)]),_0x1ee8d8[_0x3a7b61(0x296)]&&_0x4f92bb[_0x3a7b61(0x3c6)](_0x1ee8d8['id'],_0x1ee8d8['filterInfo']),_0x1ee8d8[_0x3a7b61(0x14a)]&&_0x4f92bb[_0x3a7b61(0x2f9)](_0x1ee8d8['id'],_0x1ee8d8['displayName']));}for(const _0x5b795f of _0x225e14){const _0x33ea94=_0xc59e5c[_0x5b795f];_0x33ea94&&_0x4f92bb[_0x3a7b61(0x1a8)](_0x33ea94[_0x3a7b61(0x34a)])&&(_0x4f92bb[_0x3a7b61(0x284)](_0x33ea94[_0x3a7b61(0x34a)],_0x51a67c[_0x3a7b61(0x209)][_0x3a7b61(0xd9)],void 0x0,_0x5b795f),_0x33ea94['sortInfo']&&_0x4f92bb[_0x3a7b61(0x13d)](_0x33ea94['id'],_0x33ea94[_0x3a7b61(0x235)]),_0x33ea94['filterInfo']&&_0x4f92bb['setLabelFilterInfo'](_0x33ea94['id'],_0x33ea94['filterInfo']),_0x33ea94[_0x3a7b61(0x14a)]&&_0x4f92bb[_0x3a7b61(0x2f9)](_0x33ea94['id'],_0x33ea94[_0x3a7b61(0x14a)]));}for(const _0x4e8b84 of _0x55848a){const _0x5b77ab=_0x4c1e7b[_0x4e8b84];_0x5b77ab&&_0x4f92bb[_0x3a7b61(0x1a8)](_0x5b77ab[_0x3a7b61(0x34a)])&&(_0x4f92bb['addFieldWithSourceId'](_0x5b77ab[_0x3a7b61(0x34a)],_0x51a67c['PivotTableFiledAreaEnum'][_0x3a7b61(0x2c1)],void 0x0,_0x4e8b84),_0x5b77ab[_0x3a7b61(0x297)]!==void 0x0&&_0x4f92bb['setSubtotalType'](_0x4e8b84,_0x5b77ab['subtotal']),_0x5b77ab[_0x3a7b61(0x2d2)]&&_0x4f92bb[_0x3a7b61(0x22d)](_0x4e8b84,_0x5b77ab['format']),_0x5b77ab[_0x3a7b61(0x14a)]&&_0x4f92bb[_0x3a7b61(0x2f9)](_0x5b77ab['id'],_0x5b77ab['displayName']));}const _0x15932f=_0x5dda03[_0x3a7b61(0x21b)];for(const {fieldId:_0x2d55fd,filterInfo:_0x16a1e6}of _0x15932f)_0x4f92bb[_0x3a7b61(0xde)](_0x2d55fd,_0x16a1e6);}function _0x2b852a(_0x595544,_0x37a4c2){const _0x2b9f00=_0x29979c,_0x21147c=[];_0x37a4c2===_0x51a67c[_0x2b9f00(0x209)][_0x2b9f00(0x1f3)]&&_0x595544['iterateFieldByArea'](_0x51a67c[_0x2b9f00(0x209)][_0x2b9f00(0x1f3)],_0x6c0055=>{const _0x586e81=_0x2b9f00;_0x21147c[_0x586e81(0x35f)](_0x6c0055[_0x586e81(0x3b7)]());}),_0x37a4c2===_0x51a67c['PivotTableFiledAreaEnum'][_0x2b9f00(0x220)]&&_0x595544[_0x2b9f00(0x11a)](_0x51a67c[_0x2b9f00(0x209)][_0x2b9f00(0x220)],_0x48fb32=>{const _0x1a6bdd=_0x2b9f00;_0x21147c['push'](_0x48fb32[_0x1a6bdd(0x3b7)]());}),_0x37a4c2===_0x51a67c[_0x2b9f00(0x209)]['Filter']&&_0x595544['iterateFieldByArea'](_0x51a67c['PivotTableFiledAreaEnum'][_0x2b9f00(0xd9)],_0x3dfc72=>{const _0xf935e7=_0x2b9f00;_0x21147c['push'](_0x3dfc72[_0xf935e7(0x3b7)]());}),_0x37a4c2===_0x51a67c[_0x2b9f00(0x209)]['Value']&&_0x595544[_0x2b9f00(0x11a)](_0x51a67c['PivotTableFiledAreaEnum']['Value'],_0x131c70=>{const _0x4dba12=_0x2b9f00;_0x21147c[_0x4dba12(0x35f)](_0x131c70[_0x4dba12(0x3b7)]());}),_0x37a4c2===void 0x0&&_0x595544[_0x2b9f00(0x2bd)](_0x3d738a=>{const _0x5e57a3=_0x2b9f00;_0x21147c['push'](_0x3d738a[_0x5e57a3(0x3b7)]());});const _0x5b6a34=_0x21147c[_0x2b9f00(0x390)];for(let _0x2a221a=_0x5b6a34-0x1;_0x2a221a>=0x0;_0x2a221a--)_0x595544['removeField'](_0x21147c[_0x2a221a]);const _0x2d3b6f=_0x595544[_0x2b9f00(0x37f)]();for(const _0x406e29 in _0x2d3b6f)_0x595544['removeValueFilterInfo'](_0x406e29);}function _0x3123f1(_0x3eb0dd,_0x1b1abe){const _0x27766d=_0x29979c,_0x264970=new Date(_0x51a67c[_0x27766d(0x372)](_0x1b1abe)),_0x4ecf79=new Date(_0x51a67c['excelDateToUnixMilliseconds'](_0x3eb0dd)),_0x5cba67=_0x264970[_0x27766d(0x35c)](),_0x146f1d=_0x4ecf79[_0x27766d(0x35c)](),_0x286a9f=_0x264970[_0x27766d(0x3b6)](),_0xe67225=_0x4ecf79['getMonth'](),_0x5713a9=_0x264970['getDate'](),_0x28cbdc=_0x4ecf79['getDate'](),_0x41bb22=_0x5cba67===_0x146f1d,_0x5e1ca9=_0x41bb22&&_0x286a9f===_0xe67225;return _0x41bb22&&_0x5e1ca9&&!(_0x5e1ca9&&_0x5713a9===_0x28cbdc)?_0x51a67c[_0x27766d(0x27e)][_0x27766d(0x303)]:_0x41bb22&&!_0x5e1ca9?_0x51a67c[_0x27766d(0x27e)][_0x27766d(0x1cc)]:_0x51a67c[_0x27766d(0x27e)][_0x27766d(0x309)];}function _0x2d4709(_0x5e38ac,_0x2f07b4){const _0x509de9=_0x29979c,_0x1dfb4a=_0x5e38ac[_0x509de9(0x272)](_0x2f79a9[_0x509de9(0x2af)])[_0x509de9(0x176)]();let _0x5bea5f='';switch(_0x2f07b4){case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x303)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x2fa)];break;case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x1cc)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x164)];break;case _0x51a67c['PivotDateGroupFieldDateTypeEnum'][_0x509de9(0x309)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x271)];break;case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x304)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x227)];break;case _0x51a67c['PivotDateGroupFieldDateTypeEnum'][_0x509de9(0x3c1)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x371)];break;case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x1c3)]:_0x5bea5f=_0x1dfb4a['sheets-pivot.dateGroup.date'];break;case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x261)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x16b)];break;case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x199)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x25c)];break;case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x1ed)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x163)];break;case _0x51a67c[_0x509de9(0x27e)][_0x509de9(0x307)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x1bb)];break;case _0x51a67c['PivotDateGroupFieldDateTypeEnum'][_0x509de9(0x312)]:_0x5bea5f=_0x1dfb4a[_0x509de9(0x1c7)];break;default:_0x5bea5f='';break;}return _0x5bea5f;}const _0x1308f1=_0x29979c(0x340),_0x13aa7c={};var _0x81fc87=Object[_0x29979c(0x257)],_0xa45e3d=(_0x2032f6,_0x1c3396,_0x2f7edf,_0x45f4cc)=>{const _0x5f1cdb=_0x29979c;for(var _0x4ea989=_0x45f4cc>0x1?void 0x0:_0x45f4cc?_0x81fc87(_0x1c3396,_0x2f7edf):_0x1c3396,_0x35f776=_0x2032f6[_0x5f1cdb(0x390)]-0x1,_0xa9b222;_0x35f776>=0x0;_0x35f776--)(_0xa9b222=_0x2032f6[_0x35f776])&&(_0x4ea989=_0xa9b222(_0x4ea989)||_0x4ea989);return _0x4ea989;},_0x1943a0=(_0xe5f432,_0x469371)=>(_0x3bc9cf,_0x269b89)=>_0x469371(_0x3bc9cf,_0x269b89,_0xe5f432);_0x2f79a9[_0x29979c(0x139)]=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0x18a83f,_0x457889,_0x1be1ce,_0x3a49f5,_0x157dda){const _0x20155f=_0x29979c;super(),_0xeae76b(this,_0x20155f(0x381),new Map()),_0xeae76b(this,_0x20155f(0x155),new Map()),_0xeae76b(this,_0x20155f(0x123),new Map()),_0xeae76b(this,_0x20155f(0x391),new Map()),_0xeae76b(this,'_configVersion$',new _0x5a76bc[(_0x20155f(0x20f))]()),_0xeae76b(this,'_pivotInitCompleted$',new _0x5a76bc[(_0x20155f(0x20f))]()),_0xeae76b(this,_0x20155f(0x104),this[_0x20155f(0x287)][_0x20155f(0x150)]()),_0xeae76b(this,_0x20155f(0x201),new _0x5a76bc[(_0x20155f(0x20f))]()),_0xeae76b(this,_0x20155f(0x251),this[_0x20155f(0x201)][_0x20155f(0x150)]()),_0xeae76b(this,_0x20155f(0xf4),{}),_0xeae76b(this,_0x20155f(0x221),this[_0x20155f(0x1c9)][_0x20155f(0x150)]()),(this['_injector']=_0x18a83f,this[_0x20155f(0x3b5)]=_0x457889,this[_0x20155f(0x19b)]=_0x1be1ce,this[_0x20155f(0x2ad)]=_0x3a49f5,this[_0x20155f(0x28d)]=_0x157dda,this[_0x20155f(0x397)](),this[_0x20155f(0x362)]());const _0x3f6712=this['_configService'][_0x20155f(0x128)](_0x1308f1);(_0x3f6712==null?void 0x0:_0x3f6712[_0x20155f(0x1dc)])===!0x0&&this[_0x20155f(0x300)]();}['_initUnitDisposed'](){const _0x6468a7=_0x29979c;this[_0x6468a7(0x2bf)](this[_0x6468a7(0x19b)][_0x6468a7(0x239)](_0x238b6d[_0x6468a7(0x210)][_0x6468a7(0x2e6)])[_0x6468a7(0xba)](_0x147f9e=>{const _0x502549=_0x6468a7;this[_0x502549(0x302)](_0x147f9e[_0x502549(0x168)]());}));}[_0x29979c(0x38a)](){const _0x34759d=_0x29979c;this['_pivotInitCompleted$'][_0x34759d(0x24e)](!0x0);}[_0x29979c(0x397)](){const _0x36dfeb=_0x29979c,_0x45fa24=_0x260627(this[_0x36dfeb(0x343)],_0x59e8c5,'',{});this['_textInfo']=_0x45fa24,this[_0x36dfeb(0x3b5)][_0x36dfeb(0x1e2)](_0xce1328['id'],{'textInfo':_0x45fa24},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x5025c3=_0x29979c;return this[_0x5025c3(0xf4)];}[_0x29979c(0x1ca)](_0x89f986,_0x4ddb49,_0x358027,_0x1a73a4,_0x4041a0){const _0x1337a9=_0x29979c;this[_0x1337a9(0x29f)](_0x89f986,_0x4ddb49,_0x358027,_0x1a73a4),this[_0x1337a9(0x1a4)](_0x89f986,_0x4ddb49,_0x358027,_0x4041a0);}['getPivotTableConfig'](_0x19f5fc,_0x3ba9d3,_0x4ad9f6){const _0x19775f=_0x29979c;var _0x5e56af;const _0x183c38=(_0x5e56af=this[_0x19775f(0x381)][_0x19775f(0x272)](_0x19f5fc))==null?void 0x0:_0x5e56af['get'](_0x3ba9d3);if(_0x183c38)return _0x183c38['get'](_0x4ad9f6);}[_0x29979c(0x1bf)](_0x520643,_0x400c16){const _0x403248=_0x29979c,_0x164da=this[_0x403248(0x381)][_0x403248(0x272)](_0x520643);if(_0x164da){for(const [_0x3588f8,_0x1a950f]of _0x164da[_0x403248(0x2e9)]())for(const [_0x536cd9,_0x41bacf]of _0x1a950f[_0x403248(0x2e9)]())if(_0x536cd9===_0x400c16)return _0x41bacf[_0x403248(0x27a)];}}[_0x29979c(0x337)](_0x40a431,_0x5e8979,_0x77110d){const _0x5e1e53=_0x29979c,_0x9d403=this['getPivotTableConfig'](_0x40a431,_0x5e8979,_0x77110d);return _0x9d403==null?void 0x0:_0x9d403[_0x5e1e53(0x27a)];}['getSubUnitPivotConfigs'](_0x378036,_0x32f35b){const _0x17b22d=_0x29979c;var _0x5501d6;return(_0x5501d6=this[_0x17b22d(0x381)][_0x17b22d(0x272)](_0x378036))==null?void 0x0:_0x5501d6[_0x17b22d(0x272)](_0x32f35b);}[_0x29979c(0x10b)](_0x3c2bc7,_0x35e8ef,_0x38631d,_0x1bdc32){const _0x1aa43d=_0x29979c,_0x26d30d=this[_0x1aa43d(0x315)](_0x3c2bc7,_0x35e8ef);_0x1bdc32?_0x26d30d[_0x1aa43d(0x147)](_0x38631d,_0x1bdc32):_0x26d30d[_0x1aa43d(0x3ac)](_0x38631d),this[_0x1aa43d(0x201)][_0x1aa43d(0x24e)]({'unitId':_0x3c2bc7,'subUnitId':_0x35e8ef,'pivotTableId':_0x38631d,'pivotTableConfig':_0x1bdc32});}[_0x29979c(0x398)](_0x40f4cb,_0x3f74ab){const _0x4f2fdd=_0x29979c;var _0x1edca9;return(_0x1edca9=this[_0x4f2fdd(0x155)][_0x4f2fdd(0x272)](_0x40f4cb))==null?void 0x0:_0x1edca9['collections'][_0x3f74ab];}['updateCollectionConfig'](_0x106753,_0x26b1e0){const _0x4463ee=_0x29979c;this[_0x4463ee(0x155)][_0x4463ee(0x147)](_0x106753,_0x26b1e0),this[_0x4463ee(0x1c9)][_0x4463ee(0x24e)](Math[_0x4463ee(0x2e7)]());}['_ensurePivotMap'](_0x16d3b4,_0x2eb44c){const _0x92e9e8=_0x29979c;let _0x12bc28=this['_model']['get'](_0x16d3b4);_0x12bc28||(_0x12bc28=new Map(),this[_0x92e9e8(0x381)][_0x92e9e8(0x147)](_0x16d3b4,_0x12bc28));let _0x19abc1=_0x12bc28['get'](_0x2eb44c);return _0x19abc1||(_0x19abc1=new Map(),_0x12bc28[_0x92e9e8(0x147)](_0x2eb44c,_0x19abc1)),_0x19abc1;}[_0x29979c(0x29e)](_0x272e26,_0x431f8a){const _0x3fa570=_0x29979c;let _0x2b6ab6=this['_pivotTableRangeInfo']['get'](_0x272e26);_0x2b6ab6||(_0x2b6ab6=new Map(),this['_pivotTableRangeInfo']['set'](_0x272e26,_0x2b6ab6));let _0x19bf9c=_0x2b6ab6[_0x3fa570(0x272)](_0x431f8a);return _0x19bf9c||(_0x19bf9c=new Map(),_0x2b6ab6[_0x3fa570(0x147)](_0x431f8a,_0x19bf9c)),_0x19bf9c;}[_0x29979c(0x348)](_0x490c1a,_0x10c885){const _0x4cd56c=_0x29979c;let _0xec959b=this[_0x4cd56c(0x391)]['get'](_0x490c1a);_0xec959b||(_0xec959b=new Map(),this[_0x4cd56c(0x391)][_0x4cd56c(0x147)](_0x490c1a,_0xec959b));let _0x3a9e44=_0xec959b[_0x4cd56c(0x272)](_0x10c885);return _0x3a9e44||(_0x3a9e44=new Map(),_0xec959b[_0x4cd56c(0x147)](_0x10c885,_0x3a9e44)),_0x3a9e44;}['updatePivotTableRangeInfo'](_0x47b22f,_0x5f5509,_0x4b00cc,_0x47a361){const _0x55682c=_0x29979c;var _0x2813c9;const _0x459ee4=this[_0x55682c(0x29e)](_0x47b22f,_0x5f5509),_0x140f14=(_0x2813c9=_0x459ee4[_0x55682c(0x272)](_0x4b00cc))==null?void 0x0:_0x2813c9[_0x55682c(0x3bb)];_0x459ee4[_0x55682c(0x147)](_0x4b00cc,{'oldRangeInfo':_0x140f14,'rangeInfo':_0x47a361});}[_0x29979c(0x29f)](_0x25432a,_0x369ba4,_0xcc441c,_0xf721bf){const _0x27e43c=_0x29979c;var _0x9675b7;const _0x2cf1e4=this['_ensurePivotTableMatrixInfo'](_0x25432a,_0x369ba4),_0x27bf00=(_0x9675b7=_0x2cf1e4[_0x27e43c(0x272)](_0xcc441c))==null?void 0x0:_0x9675b7[_0x27e43c(0x148)];_0x2cf1e4['set'](_0xcc441c,{'oldMatrix':_0x27bf00,'matrix':_0xf721bf});}[_0x29979c(0x21c)](_0x454405,_0x722bc6,_0x4acc26){const _0x1d3488=_0x29979c;var _0x14a2f6,_0x41b030;return(_0x41b030=(_0x14a2f6=this[_0x1d3488(0x123)][_0x1d3488(0x272)](_0x454405))==null?void 0x0:_0x14a2f6[_0x1d3488(0x272)](_0x722bc6))==null?void 0x0:_0x41b030['get'](_0x4acc26);}[_0x29979c(0x37e)](_0x8f1ee2,_0x16cb0d,_0x43cd7b){const _0x175bee=_0x29979c;var _0x209311,_0x52e498;return(_0x52e498=(_0x209311=this[_0x175bee(0x391)]['get'](_0x8f1ee2))==null?void 0x0:_0x209311[_0x175bee(0x272)](_0x16cb0d))==null?void 0x0:_0x52e498['get'](_0x43cd7b);}[_0x29979c(0x302)](_0x3debaf){const _0x3985bc=_0x29979c;this[_0x3985bc(0x381)]['delete'](_0x3debaf),this[_0x3985bc(0x155)][_0x3985bc(0x3ac)](_0x3debaf);}[_0x29979c(0x2d5)](_0x42c053){const _0x20375e=_0x29979c,_0x582349={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x20375e(0x155)][_0x20375e(0x272)](_0x42c053)&&(_0x582349[_0x20375e(0x21d)][_0x42c053]=this[_0x20375e(0x155)][_0x20375e(0x272)](_0x42c053)),this[_0x20375e(0x381)][_0x20375e(0x272)](_0x42c053)){_0x582349[_0x20375e(0x12d)][_0x42c053]={};const _0x11b8d5=this[_0x20375e(0x381)][_0x20375e(0x272)](_0x42c053);_0x11b8d5!=null&&_0x11b8d5[_0x20375e(0x122)]&&[..._0x11b8d5[_0x20375e(0x1e5)]()][_0x20375e(0x246)](_0x56b836=>{const _0x2a9dbb=_0x20375e,_0x1e89ab=_0x11b8d5['get'](_0x56b836);_0x1e89ab!=null&&_0x1e89ab[_0x2a9dbb(0x122)]&&(_0x582349[_0x2a9dbb(0x12d)][_0x42c053][_0x56b836]={},[..._0x1e89ab[_0x2a9dbb(0x1e5)]()][_0x2a9dbb(0x246)](_0x17f87d=>{const _0x2aeabb=_0x2a9dbb,_0x18ef94=_0x1e89ab[_0x2aeabb(0x272)](_0x17f87d);_0x18ef94&&(_0x582349[_0x2aeabb(0x12d)][_0x42c053][_0x56b836][_0x17f87d]=_0x18ef94);}));});}return _0x582349;}['_initSnapshot'](){const _0x126f56=_0x29979c;this[_0x126f56(0x2bf)](this[_0x126f56(0x2ad)]['registerPluginResource']({'toJson':_0x1ac7fb=>JSON['stringify'](this[_0x126f56(0x2d5)](_0x1ac7fb)),'parseJson':_0x1dea82=>({}),'businesses':[_0x238b6d[_0x126f56(0x210)][_0x126f56(0x2e6)]],'pluginName':_0x220f9d,'onLoad':(_0x167409,_0x1c51ff)=>{},'onUnLoad':_0x23a338=>{const _0x34a134=_0x126f56;this[_0x34a134(0x302)](_0x23a338);}}));}},_0x2f79a9[_0x29979c(0x139)]=_0xa45e3d([_0x1943a0(0x0,_0x238b6d['Inject'](_0x238b6d['Injector'])),_0x1943a0(0x1,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x13b)])),_0x1943a0(0x2,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0xd7)])),_0x1943a0(0x3,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x252)])),_0x1943a0(0x4,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x1dd)]))],_0x2f79a9['SheetsPivotTableConfigModel']);var _0x7fb107=Object[_0x29979c(0x257)],_0x291fa5=(_0x44cc34,_0xd00770,_0x2a510e,_0x2e392c)=>{const _0x35a897=_0x29979c;for(var _0x5bc05e=_0x2e392c>0x1?void 0x0:_0x2e392c?_0x7fb107(_0xd00770,_0x2a510e):_0xd00770,_0x4b5e60=_0x44cc34[_0x35a897(0x390)]-0x1,_0x5abe72;_0x4b5e60>=0x0;_0x4b5e60--)(_0x5abe72=_0x44cc34[_0x4b5e60])&&(_0x5bc05e=_0x5abe72(_0x5bc05e)||_0x5bc05e);return _0x5bc05e;},_0x4c4a4c=(_0x209242,_0x3b1816)=>(_0x18570c,_0x40721e)=>_0x3b1816(_0x18570c,_0x40721e,_0x209242);_0x2f79a9[_0x29979c(0x377)]=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0x35090a,_0x3e3f35,_0x171952,_0x470c26,_0x95af58){const _0x5a86c7=_0x29979c;super(),_0xeae76b(this,_0x5a86c7(0x22c),new Map()),_0xeae76b(this,_0x5a86c7(0x2ae),new Map()),_0xeae76b(this,_0x5a86c7(0x219),new _0x5a76bc[(_0x5a86c7(0x20f))]()),_0xeae76b(this,_0x5a86c7(0x26f),this[_0x5a86c7(0x219)][_0x5a86c7(0x150)]()),_0xeae76b(this,_0x5a86c7(0x3a8),new _0x5a76bc[(_0x5a86c7(0x20f))]()),_0xeae76b(this,'viewUpdate$',this[_0x5a86c7(0x3a8)][_0x5a86c7(0x150)]()),_0xeae76b(this,'_textInfo'),(this[_0x5a86c7(0x1e9)]=_0x35090a,this['_injector']=_0x3e3f35,this[_0x5a86c7(0xe0)]=_0x171952,this[_0x5a86c7(0x19b)]=_0x470c26,this[_0x5a86c7(0x169)]=_0x95af58,this['_initLocale'](),this[_0x5a86c7(0x362)]());}[_0x29979c(0x362)](){const _0x40740d=_0x29979c;this[_0x40740d(0x2bf)](this['_univerInstanceService'][_0x40740d(0x239)](_0x238b6d[_0x40740d(0x210)][_0x40740d(0x2e6)])[_0x40740d(0xba)](_0x196b67=>{const _0x212600=_0x40740d;this[_0x212600(0x302)](_0x196b67['getUnitId']());}));}[_0x29979c(0x397)](){const _0x58ff18=_0x29979c;this[_0x58ff18(0xf4)]=_0x260627(this[_0x58ff18(0x343)],_0x59e8c5,'',{});}[_0x29979c(0x187)](_0x2313aa){const _0x3e3292=_0x29979c,{view:_0x41de27,unitId:_0xfae8de,subUnitId:_0x1369db,pivotTableId:_0x72469f,type:_0x45096b}=_0x2313aa,_0x36485f=this[_0x3e3292(0xe0)][_0x3e3292(0xff)](_0xfae8de,_0x1369db,_0x72469f);if(!_0x41de27||!_0x36485f||_0x45096b===_0x32bc0d[_0x3e3292(0x154)])return;const {pageView:_0xd8d570,cornerView:_0x29ad40,rowView:_0x6f02ef,colView:_0xc3f6f5,dataView:_0x2bd82b}=_0x41de27,_0x146905=_0x36485f[_0x3e3292(0x27a)],_0x430ad8=_0x36485f[_0x3e3292(0x2bb)],_0x125522=this[_0x3e3292(0x352)](_0xfae8de,_0x1369db),_0x51b1a5=this[_0x3e3292(0x213)](_0xfae8de,_0x1369db,_0x72469f);if(_0x430ad8)return this['_updateRenderEmptyCache'](_0x2313aa,_0x125522,_0x146905,_0x51b1a5);{const _0x76d0cc=_0x4bea66(_0x146905,_0xd8d570,!0x0),_0x3eb90f=_0xd8d570[_0x3e3292(0x2b0)]>=0x0?_0xd8d570[_0x3e3292(0x2b0)]+0x1:0x0,_0x110096=_0x29ad40[_0x3e3292(0x3b3)](),_0x500d4c=_0x29ad40[_0x3e3292(0x16a)](),_0x260046=_0x76d0cc[_0x3e3292(0x390)]>0x0?_0x4f4cfc:0x0,_0x15eb82=_0x4bea66({'row':_0x146905[_0x3e3292(0x20d)]+_0x3eb90f+_0x260046,'col':_0x146905[_0x3e3292(0x232)]},_0x29ad40,!0x1,!0x1),_0x2b5326=_0x4bea66({'row':_0x146905[_0x3e3292(0x20d)]+_0x3eb90f+_0x260046+_0x110096,'col':_0x146905[_0x3e3292(0x232)]},_0x6f02ef,!0x1,!0x0),_0xd52770=_0x4bea66({'row':_0x146905['row']+_0x3eb90f+_0x260046,'col':_0x146905['col']+_0x500d4c},_0xc3f6f5,!0x1,!0x0),_0x5a6b3b=_0x4bea66({'row':_0x146905['row']+_0x3eb90f+_0x260046+_0x110096,'col':_0x146905[_0x3e3292(0x232)]+_0x500d4c},_0x2bd82b,!0x1,!0x1);_0x51b1a5[_0x3e3292(0x111)]={'rowRanges':_0x2b5326,'colRanges':_0xd52770,'cornerRanges':_0x15eb82,'dataRanges':_0x5a6b3b,'pageRanges':_0x76d0cc};const _0x49f3af=_0x1e522e(this[_0x3e3292(0x343)],_0x41de27,_0x36485f,this[_0x3e3292(0xf4)]),{valueMatrix:_0x254c84,rowInfo:_0x54a818,colInfo:_0x4a49b1,cornerInfo:_0x51dc90,rowHeaderMap:_0x208e6a,colHeaderMap:_0xb1fadd}=_0x49f3af;return _0x51b1a5['areaInfo']={'rowInfo':_0x54a818,'colInfo':_0x4a49b1,'cornerInfo':_0x51dc90},_0x51b1a5[_0x3e3292(0x190)]={'rowHeaderMap':_0x208e6a,'colHeaderMap':_0xb1fadd},_0x254c84['forEach']((_0xa70c8,_0x344b59)=>{const _0x5d0731=_0x3e3292;Object[_0x5d0731(0x1e5)](_0x344b59)[_0x5d0731(0x246)](_0x1094df=>{const _0x3d6eb1=_0x5d0731,_0x5e4c68=+_0x1094df,_0x1b1a39=_0x254c84[_0x3d6eb1(0x13a)](_0xa70c8,_0x5e4c68);_0x125522[_0x3d6eb1(0x1aa)](_0xa70c8,_0x5e4c68,_0x1b1a39);});}),this[_0x3e3292(0x3a8)][_0x3e3292(0x24e)]({'unitId':_0xfae8de,'subUnitId':_0x1369db,'valueMatrix':_0x125522,'rangesCache':_0x51b1a5[_0x3e3292(0x111)],'pivotTableId':_0x72469f,'type':_0x2313aa[_0x3e3292(0x33f)]}),this[_0x3e3292(0xe0)][_0x3e3292(0x1ca)](_0xfae8de,_0x1369db,_0x72469f,_0x125522,_0x51b1a5[_0x3e3292(0x111)]),this['_exclusiveRangeService']['addExclusiveRange'](_0xfae8de,_0x1369db,_0x25b06a,this[_0x3e3292(0x112)](_0x51b1a5[_0x3e3292(0x111)],_0x72469f)),{'rangeCache':_0x51b1a5[_0x3e3292(0x111)],'matrix':_0x125522};}}['_updateRenderEmptyCache'](_0x3687a8,_0x2c2796,_0x29f6f9,_0x51b02e){const _0x53e1d3=_0x29979c,_0x42be71=this[_0x53e1d3(0x1e9)]['t'],{unitId:_0x2283cf,subUnitId:_0x14fd27,pivotTableId:_0x3cb907}=_0x3687a8,_0x89832={'filter':_0x42be71(_0x53e1d3(0x1fc)),'row':_0x42be71(_0x53e1d3(0x135)),'column':_0x42be71(_0x53e1d3(0xbc)),'values':_0x42be71(_0x53e1d3(0x2c6))},{matrixCache:_0x388665,rangesCache:_0x48b340}=_0x2b9077(_0x89832,_0x29f6f9);return _0x388665['forValue']((_0x101fef,_0x149c20,_0x519f7d)=>{const _0xefa591=_0x53e1d3;_0x2c2796[_0xefa591(0x1aa)](_0x101fef,_0x149c20,_0x519f7d);}),_0x51b02e['rangesInfo']=_0x48b340,this[_0x53e1d3(0x3a8)][_0x53e1d3(0x24e)]({'unitId':_0x2283cf,'subUnitId':_0x14fd27,'valueMatrix':_0x2c2796,'rangesCache':_0x48b340,'pivotTableId':_0x3cb907,'type':_0x3687a8['type'],'isEmpty':!0x0}),this[_0x53e1d3(0xe0)][_0x53e1d3(0x1ca)](_0x2283cf,_0x14fd27,_0x3cb907,_0x2c2796,_0x48b340),this[_0x53e1d3(0x169)]['addExclusiveRange'](_0x2283cf,_0x14fd27,_0x25b06a,this[_0x53e1d3(0x112)](_0x48b340,_0x3cb907)),{'rangeCache':_0x51b02e['rangesInfo'],'matrix':_0x2c2796};}[_0x29979c(0x112)](_0x2e9fbf,_0x2fe5f1){const _0x2ae7a2=_0x29979c,_0x14ed1d=[],_0x589245=_0x3dad50(_0x2e9fbf);for(const _0x5a76fa of _0x589245)_0x14ed1d[_0x2ae7a2(0x35f)]({'groupId':_0x2fe5f1,'range':_0x5a76fa});return _0x14ed1d;}[_0x29979c(0x24c)](_0xc7e51){const _0x43b076=_0x29979c;var _0x27eeb7,_0x5f328f,_0x247ab5,_0x4811e5;const {pivotTableId:_0x2e1b80,unitId:_0xf89106,subUnitId:_0x109135}=_0xc7e51;if(!_0x2e1b80||!_0xf89106||!_0x109135)return;const _0x36c1b8=this[_0x43b076(0x352)](_0xf89106,_0x109135),_0x4d48a5=(_0x5f328f=(_0x27eeb7=this[_0x43b076(0x22c)][_0x43b076(0x272)](_0xf89106))==null?void 0x0:_0x27eeb7[_0x43b076(0x272)](_0x109135))==null?void 0x0:_0x5f328f[_0x43b076(0x272)](_0x2e1b80);if(_0x4d48a5!=null&&_0x4d48a5[_0x43b076(0x111)]){for(const _0x6fd735 of Object[_0x43b076(0x1e5)](_0x4d48a5['rangesInfo']))_0x4d48a5[_0x43b076(0x111)][_0x6fd735][_0x43b076(0x246)](_0x299682=>{const _0x2723d2=_0x43b076;for(let _0x21ddf7=_0x299682[_0x2723d2(0x395)];_0x21ddf7<=_0x299682[_0x2723d2(0x1d2)];_0x21ddf7++)for(let _0xc699a9=_0x299682[_0x2723d2(0x2b3)];_0xc699a9<=_0x299682[_0x2723d2(0x345)];_0xc699a9++)_0x36c1b8['realDeleteValue'](_0x21ddf7,_0xc699a9);});}_0x4d48a5&&((_0x4811e5=(_0x247ab5=this[_0x43b076(0x22c)][_0x43b076(0x272)](_0xf89106))==null?void 0x0:_0x247ab5[_0x43b076(0x272)](_0x109135))==null||_0x4811e5['delete'](_0x2e1b80)),this[_0x43b076(0x3a8)][_0x43b076(0x24e)]({'unitId':_0xf89106,'subUnitId':_0x109135,'valueMatrix':_0x36c1b8,'pivotTableId':_0x2e1b80,'rangesCache':void 0x0,'type':_0xc7e51[_0x43b076(0x33f)]}),this[_0x43b076(0x169)][_0x43b076(0x124)](_0xf89106,_0x109135,_0x25b06a,_0x2e1b80);}[_0x29979c(0x213)](_0x203298,_0x50544c,_0x5a9c71){const _0xc937d=_0x29979c;var _0x1fa360,_0x3c234a,_0x3c90fd,_0x27f65d,_0x5bc68c,_0x235a83;return this[_0xc937d(0x22c)][_0xc937d(0x166)](_0x203298)||this[_0xc937d(0x22c)][_0xc937d(0x147)](_0x203298,new Map()),(_0x1fa360=this[_0xc937d(0x22c)][_0xc937d(0x272)](_0x203298))!=null&&_0x1fa360[_0xc937d(0x166)](_0x50544c)||(_0x3c234a=this[_0xc937d(0x22c)][_0xc937d(0x272)](_0x203298))==null||_0x3c234a['set'](_0x50544c,new Map()),(_0x27f65d=(_0x3c90fd=this[_0xc937d(0x22c)][_0xc937d(0x272)](_0x203298))==null?void 0x0:_0x3c90fd[_0xc937d(0x272)](_0x50544c))!=null&&_0x27f65d[_0xc937d(0x166)](_0x5a9c71)||(_0x235a83=(_0x5bc68c=this[_0xc937d(0x22c)][_0xc937d(0x272)](_0x203298))==null?void 0x0:_0x5bc68c[_0xc937d(0x272)](_0x50544c))==null||_0x235a83[_0xc937d(0x147)](_0x5a9c71,{}),this[_0xc937d(0x22c)][_0xc937d(0x272)](_0x203298)[_0xc937d(0x272)](_0x50544c)[_0xc937d(0x272)](_0x5a9c71);}[_0x29979c(0x352)](_0x49ef03,_0x362e62){const _0x15cf60=_0x29979c;var _0x51026f,_0x15d61a;return this['_pivotRenderValueMatrixCache'][_0x15cf60(0x166)](_0x49ef03)||this['_pivotRenderValueMatrixCache']['set'](_0x49ef03,new Map()),(_0x51026f=this[_0x15cf60(0x2ae)]['get'](_0x49ef03))!=null&&_0x51026f[_0x15cf60(0x166)](_0x362e62)||(_0x15d61a=this[_0x15cf60(0x2ae)][_0x15cf60(0x272)](_0x49ef03))==null||_0x15d61a[_0x15cf60(0x147)](_0x362e62,new _0x238b6d[(_0x15cf60(0x2d6))]()),this[_0x15cf60(0x2ae)][_0x15cf60(0x272)](_0x49ef03)['get'](_0x362e62);}['getPivotTableCellData'](_0x123fdd,_0xcaff86,_0x544643,_0x225d62){const _0x4f34d2=_0x29979c;var _0xd5c210,_0x35d88c;const _0x3d3ce8=(_0x35d88c=(_0xd5c210=this[_0x4f34d2(0x2ae)][_0x4f34d2(0x272)](_0x123fdd))==null?void 0x0:_0xd5c210['get'](_0xcaff86))==null?void 0x0:_0x35d88c[_0x4f34d2(0x13a)](_0x544643,_0x225d62);if(_0x3d3ce8!=null)return _0x3d3ce8;}['getPivotTableIdByCell'](_0x1ff394,_0x3940b8,_0x5177e5,_0x2ea22c){const _0x4f0309=_0x29979c;var _0x4d5ed4;const _0x32a9fa=_0x238b6d[_0x4f0309(0xdf)](_0x5177e5,_0x2ea22c),_0x4177e5=(_0x4d5ed4=this[_0x4f0309(0x22c)][_0x4f0309(0x272)](_0x1ff394))==null?void 0x0:_0x4d5ed4['get'](_0x3940b8);return _0x4177e5?Array[_0x4f0309(0x29d)](_0x4177e5[_0x4f0309(0x1e5)]())[_0x4f0309(0x3cc)](_0x107f17=>{const _0x38c08b=_0x4f0309,_0x160da9=_0x4177e5[_0x38c08b(0x272)](_0x107f17),_0x4fe059=_0x160da9==null?void 0x0:_0x160da9[_0x38c08b(0x111)];return _0x4fe059?Object[_0x38c08b(0x1e5)](_0x4fe059)['some'](_0x47b6dd=>_0x4fe059[_0x47b6dd][_0x38c08b(0x24f)](_0xae95af=>_0x238b6d[_0x38c08b(0x38f)][_0x38c08b(0x146)](_0xae95af,_0x32a9fa))):!0x1;}):void 0x0;}[_0x29979c(0xf3)](_0x158246,_0x46e45c,_0x5ab55f){const _0x16ae3b=_0x29979c;var _0x164241;const _0xf197b0=(_0x164241=this[_0x16ae3b(0x22c)][_0x16ae3b(0x272)](_0x158246))==null?void 0x0:_0x164241[_0x16ae3b(0x272)](_0x46e45c),_0x278d06=[];return _0xf197b0&&Array[_0x16ae3b(0x29d)](_0xf197b0[_0x16ae3b(0x1e5)]())[_0x16ae3b(0x246)](_0x35719e=>{const _0x5c4312=_0x16ae3b,_0x35bd54=_0xf197b0[_0x5c4312(0x272)](_0x35719e),_0x1fa9c6=_0x35bd54==null?void 0x0:_0x35bd54[_0x5c4312(0x111)];if(_0x1fa9c6)for(const _0x2c40e0 of Object['values'](_0x1fa9c6)){let _0x411bdb=!0x1;for(const _0x2cc629 of _0x2c40e0)if(_0x238b6d['Rectangle'][_0x5c4312(0x265)](_0x2cc629,_0x5ab55f)){_0x278d06[_0x5c4312(0x35f)](_0x35719e),_0x411bdb=!0x0;break;}if(_0x411bdb)break;}}),_0x278d06;}[_0x29979c(0x3c5)](_0x5b31d5,_0x408d38){const _0x18984d=_0x29979c;var _0x114b8a,_0x26875f;return(_0x26875f=(_0x114b8a=this[_0x18984d(0x2ae)]['get'](_0x5b31d5))==null?void 0x0:_0x114b8a[_0x18984d(0x272)](_0x408d38))!=null?_0x26875f:new _0x238b6d[(_0x18984d(0x2d6))]();}['getSubUnitPivotRenderCache'](_0x51303a,_0xd1f9aa){const _0x498377=_0x29979c;var _0xac9937;return(_0xac9937=this[_0x498377(0x22c)][_0x498377(0x272)](_0x51303a))==null?void 0x0:_0xac9937[_0x498377(0x272)](_0xd1f9aa);}[_0x29979c(0x240)](_0x3e341d,_0x4e8178,_0x2220b0){var _0x135128,_0x33339f;return(_0x33339f=(_0x135128=this['_pivotRenderInfoCache']['get'](_0x3e341d))==null?void 0x0:_0x135128['get'](_0x4e8178))==null?void 0x0:_0x33339f['get'](_0x2220b0);}[_0x29979c(0x302)](_0x23fc38){const _0x5ae4b4=_0x29979c;this[_0x5ae4b4(0x22c)]['delete'](_0x23fc38),this[_0x5ae4b4(0x2ae)][_0x5ae4b4(0x3ac)](_0x23fc38);}[_0x29979c(0xb8)](_0x38e646,_0x149268){const _0x387558=_0x29979c;this[_0x387558(0x219)][_0x387558(0x24e)]({'unitId':_0x38e646,'subUnitId':_0x149268});}},_0x2f79a9[_0x29979c(0x377)]=_0x291fa5([_0x4c4a4c(0x0,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x31f)])),_0x4c4a4c(0x1,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x363)])),_0x4c4a4c(0x2,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9[_0x29979c(0x139)])),_0x4c4a4c(0x3,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0xd7)])),_0x4c4a4c(0x4,_0x238b6d[_0x29979c(0x18c)](_0x30ad02[_0x29979c(0xc0)]))],_0x2f79a9[_0x29979c(0x377)]);var _0x2a54a4=Object[_0x29979c(0x257)],_0x10b255=(_0x3fe988,_0x279ce2,_0x5590d2,_0x1c3fee)=>{const _0x40fe28=_0x29979c;for(var _0x21aba8=_0x1c3fee>0x1?void 0x0:_0x1c3fee?_0x2a54a4(_0x279ce2,_0x5590d2):_0x279ce2,_0x21dcd1=_0x3fe988[_0x40fe28(0x390)]-0x1,_0x278c9d;_0x21dcd1>=0x0;_0x21dcd1--)(_0x278c9d=_0x3fe988[_0x21dcd1])&&(_0x21aba8=_0x278c9d(_0x21aba8)||_0x21aba8);return _0x21aba8;},_0xf34c26=(_0x230b7d,_0x4a8845)=>(_0x24a729,_0x31c3cb)=>_0x4a8845(_0x24a729,_0x31c3cb,_0x230b7d);_0x2f79a9['SheetsPivotTableService']=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0x3ba00f,_0x49dee4){const _0x59e445=_0x29979c;super(),_0xeae76b(this,'asyncInterceptor',new _0x238b6d['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x36545b})),_0xeae76b(this,_0x59e445(0x153),new _0x238b6d['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x26a720})),(this['_sheetInterceptorService']=_0x3ba00f,this['_sheetsPivotTableAdaptorModel']=_0x49dee4,this['_init']());}[_0x29979c(0x36e)](){const _0x1e1750=_0x29979c;this[_0x1e1750(0x1c0)]();}[_0x29979c(0xf1)](_0x305243){const _0x5228a8=_0x29979c;return this[_0x5228a8(0x1be)][_0x5228a8(0xe7)](_0x36545b)(!0x1,_0x305243);}[_0x29979c(0x1c0)](){const _0x24968d=_0x29979c;this[_0x24968d(0x2bf)](this[_0x24968d(0xec)][_0x24968d(0xd0)](_0x30ad02[_0x24968d(0x2d1)][_0x24968d(0x330)],{'priority':0xc8,'effect':_0x238b6d[_0x24968d(0x189)][_0x24968d(0x2c1)]|_0x238b6d[_0x24968d(0x189)]['Style'],'handler':(_0x1156c4,_0xb825cd,_0x5824d3)=>{const _0x3fb480=_0x24968d,{row:_0x2c7f91,col:_0x22e0ab,unitId:_0x3b40f3,subUnitId:_0x3b604a,workbook:_0x1ed162}=_0xb825cd,_0x3ef74c=this['_sheetsPivotTableAdaptorModel'][_0x3fb480(0x258)](_0x3b40f3,_0x3b604a,_0x2c7f91,_0x22e0ab);if(!_0x3ef74c)return _0x5824d3(_0x1156c4);const _0x2e938a={..._0x1156c4};(_0x3ef74c['v']||_0x3ef74c['v']===0x0)&&(_0x2e938a['v']=_0x3ef74c['v']),_0x3ef74c['t']&&(_0x2e938a['t']=_0x3ef74c['t']);const _0x222a1f=(typeof(_0x1156c4==null?void 0x0:_0x1156c4['s'])==_0x3fb480(0x39c)?_0x1ed162[_0x3fb480(0x282)]()['get'](_0x1156c4==null?void 0x0:_0x1156c4['s']):_0x1156c4==null?void 0x0:_0x1156c4['s'])||{},_0x550ef2=_0x1ed162['getStyles']()['get'](_0x3ef74c['s']),_0x13e14c={..._0x550ef2,..._0x222a1f};_0x550ef2!=null&&_0x550ef2['n']&&(_0x13e14c['n']=_0x550ef2['n']);const _0x2e654c=_0x1ed162[_0x3fb480(0x282)]()[_0x3fb480(0x1aa)](_0x13e14c);return _0x2e938a['s']=_0x2e654c,(_0x3ef74c[_0x3fb480(0xfc)]===_0x51a67c[_0x3fb480(0xd8)]['Collapse']||_0x3ef74c[_0x3fb480(0xfc)]===_0x51a67c[_0x3fb480(0xd8)]['Expand'])&&(_0x2e938a[_0x3fb480(0x366)]={},_0x2e938a[_0x3fb480(0x366)][_0x3fb480(0x1a9)]=_0x1decb9),_0x5824d3(_0x2e938a);}}));}},_0x2f79a9[_0x29979c(0x231)]=_0x10b255([_0xf34c26(0x0,_0x238b6d[_0x29979c(0x18c)](_0x30ad02[_0x29979c(0x28b)])),_0xf34c26(0x1,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9[_0x29979c(0x377)]))],_0x2f79a9[_0x29979c(0x231)]);const _0x13815a={'id':_0x29979c(0x298),'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'handler':(_0x17cc96,_0x2ccca0)=>{const _0x1e1991=_0x29979c;if(!_0x2ccca0)return!0x1;if(!!_0x17cc96[_0x1e1991(0x272)](_0x238b6d[_0x1e1991(0x1dd)])[_0x1e1991(0x128)](_0x2bb74b))return!0x0;const {pivotTableId:_0x59351e,fieldJSON:_0x3738e4,unitId:_0x4a5a9d,subUnitId:_0x7014ad}=_0x2ccca0;let _0x7342f3;const {dataFieldType:_0x4ebdc6,id:_0x2ae584,name:_0x12dafc,hexCode:_0x4894f1,originalFieldId:_0xa100cf}=_0x3738e4;if(_0x4ebdc6===_0x51a67c[_0x1e1991(0x262)]['dateGroupField']&&(_0x7342f3=new _0x51a67c[(_0x1e1991(0x268))](_0x2ae584,_0x12dafc,_0x4894f1,_0xa100cf)),!_0x7342f3)return!0x1;const _0x73d39b=_0x17cc96[_0x1e1991(0x272)](_0x2f79a9[_0x1e1991(0x2af)]),_0x575216=_0x73d39b['getDataFieldManager'](_0x4a5a9d),_0x583584=_0x575216[_0x1e1991(0x398)](_0x59351e);_0x575216[_0x1e1991(0x370)](_0x7342f3),_0x583584[_0x1e1991(0x259)](_0x7342f3[_0x1e1991(0x3b7)](),_0x7342f3[_0x1e1991(0x188)]());const _0x4fda19=_0x583584[_0x1e1991(0x26a)](_0x7342f3[_0x1e1991(0x20a)]());_0x4fda19&&_0x7342f3[_0x1e1991(0x19d)](_0x4fda19);const _0x54b326=_0x73d39b[_0x1e1991(0xff)](_0x4a5a9d,_0x7014ad,_0x59351e);return _0x73d39b['addDirtyPivotTable']({'unitId':_0x4a5a9d,'subUnitId':_0x7014ad,'token':_0x59351e,'type':_0x32bc0d[_0x1e1991(0x2dc)],'pivotConfig':_0x54b326}),!0x0;}},_0xd81e18={'id':_0x29979c(0x36c),'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'handler':(_0x577dd8,_0x4b4e46)=>{const _0xfdee0f=_0x29979c;if(!_0x4b4e46)return!0x1;if(!!_0x577dd8['get'](_0x238b6d[_0xfdee0f(0x1dd)])[_0xfdee0f(0x128)](_0x2bb74b))return!0x0;const {pivotTableId:_0x384ea1,dataFieldId:_0x3e3941,unitId:_0x169d0b,subUnitId:_0x40b7bb}=_0x4b4e46,_0x3912ef=_0x577dd8['get'](_0x2f79a9['SheetsPivotDataSourceModel']),_0x1f1856=_0x3912ef[_0xfdee0f(0xf7)](_0x169d0b);_0x1f1856[_0xfdee0f(0x398)](_0x384ea1)['deleteField'](_0x3e3941);let _0x1f7057=!0x0;for(const _0x11bc7e in _0x1f1856[_0xfdee0f(0x191)])if(_0x1f1856[_0xfdee0f(0x191)][_0x11bc7e][_0xfdee0f(0x30c)]()[_0xfdee0f(0x354)](_0x3e3941)){_0x1f7057=!0x1;break;}_0x1f7057&&_0x1f1856['deleteDataField'](_0x3e3941);const _0x4457db=_0x3912ef[_0xfdee0f(0xff)](_0x169d0b,_0x40b7bb,_0x384ea1);return _0x3912ef['addDirtyPivotTable']({'unitId':_0x169d0b,'subUnitId':_0x40b7bb,'token':_0x384ea1,'type':_0x32bc0d[_0xfdee0f(0x2dc)],'pivotConfig':_0x4457db}),!0x0;}};function _0x48ae44(_0x4b1883,_0x54742a){const _0x43e7ba=_0x29979c;switch(_0x54742a){case _0x51a67c[_0x43e7ba(0x209)][_0x43e7ba(0x2c1)]:return _0x4b1883[_0x43e7ba(0x171)];case _0x51a67c[_0x43e7ba(0x209)][_0x43e7ba(0xd9)]:return _0x4b1883['filterFields'];case _0x51a67c[_0x43e7ba(0x209)][_0x43e7ba(0x1f3)]:return _0x4b1883[_0x43e7ba(0xbd)];case _0x51a67c[_0x43e7ba(0x209)][_0x43e7ba(0x220)]:return _0x4b1883[_0x43e7ba(0x253)];default:return[];}}function _0x5150ed(_0x32ed4e,_0x31bed1){const _0x27e9e4=_0x29979c;return _0x32ed4e[_0x27e9e4(0x165)][_0x31bed1]||_0x32ed4e[_0x27e9e4(0x20e)][_0x31bed1];}function _0x19b14f(_0x10eefd,_0x331b42){const _0x1a1182=_0x29979c,{area:_0x2b20d4,fieldJson:_0x282910,index:_0xc1072e}=_0x331b42;_0x2b20d4===_0x51a67c[_0x1a1182(0x209)]['Value']?_0x10eefd[_0x1a1182(0x165)][_0x282910['id']]=_0x282910:_0x10eefd[_0x1a1182(0x20e)][_0x282910['id']]=_0x282910,_0x48ae44(_0x10eefd,_0x2b20d4)[_0x1a1182(0x31b)](_0xc1072e,0x0,_0x282910['id']);}function _0x537de8(_0x5e0a4c,_0x4b5f90){const _0x5b020a=_0x29979c,{area:_0x22a506,fieldId:_0x354fc7,index:_0x25fa06}=_0x4b5f90;_0x22a506===_0x51a67c[_0x5b020a(0x209)]['Value']?delete _0x5e0a4c['measure'][_0x354fc7]:delete _0x5e0a4c[_0x5b020a(0x20e)][_0x354fc7],_0x48ae44(_0x5e0a4c,_0x22a506)['splice'](_0x25fa06,0x1);}function _0x478d0e(_0x668e1e,_0x1b4104){const _0x777b6c=_0x29979c,{fieldId:_0x5279d8,name:_0x140309}=_0x1b4104,_0xec3ab6=_0x5150ed(_0x668e1e,_0x5279d8);_0xec3ab6&&(_0xec3ab6[_0x777b6c(0x14a)]=_0x140309);}function _0x39dcf4(_0x237ae8,_0x24a2ac){const _0x346a95=_0x29979c,{fieldId:_0x4f0eea,collapse:_0x4589db,item:_0x5bbe2b}=_0x24a2ac;_0x5bbe2b!==void 0x0?(_0x237ae8[_0x346a95(0x39a)][_0x4f0eea]=_0x237ae8[_0x346a95(0x39a)][_0x4f0eea]||{},_0x237ae8[_0x346a95(0x39a)][_0x4f0eea][_0x5bbe2b]=_0x4589db):_0x237ae8[_0x346a95(0x39a)][_0x4f0eea]=_0x4589db;}function _0x3e51a3(_0x153cd4,_0xc94d5e){const {fieldId:_0x1c624d,format:_0x15021f}=_0xc94d5e,_0x337bdf=_0x5150ed(_0x153cd4,_0x1c624d);_0x337bdf&&(_0x337bdf['format']=_0x15021f);}function _0x8604c(_0x2e52b2,_0x2918e6){const {fieldId:_0x3a9611,filterInfo:_0x48c6b9}=_0x2918e6,_0x329338=_0x5150ed(_0x2e52b2,_0x3a9611);_0x329338&&(_0x329338['filterInfo']=_0x48c6b9);}function _0x34013d(_0x126d77,_0x43a27b){const _0x58a207=_0x29979c,{fieldId:_0x431db6,filterInfo:_0x3aff70}=_0x43a27b,_0x2abcfc=_0x126d77['valueFilter']['filter'](_0x2df427=>_0x2df427[_0x58a207(0x2e8)]!==_0x431db6);_0x3aff70&&_0x2abcfc['push']({'fieldId':_0x431db6,'filterInfo':_0x3aff70}),_0x126d77[_0x58a207(0x21b)]=_0x2abcfc;}function _0x500ec7(_0x32b17a,_0x301e4f){const _0x58a66=_0x29979c,{fieldId:_0x546141,subtotalType:_0x493681}=_0x301e4f,_0x476edb=_0x5150ed(_0x32b17a,_0x546141);_0x476edb&&(_0x476edb[_0x58a66(0x297)]=_0x493681);}function _0x164af9(_0x381b35,_0x3f5172){const _0x22fc84=_0x29979c,{fieldId:_0x1b84db,oldArea:_0x8f9dc2,area:_0x28fd09,oldIndex:_0x25a1e1,index:_0x1d07c6}=_0x3f5172,_0x28fef4=_0x8f9dc2!==_0x51a67c[_0x22fc84(0x209)]['Value']&&_0x28fd09===_0x51a67c[_0x22fc84(0x209)]['Value'],_0x2ac266=_0x8f9dc2===_0x51a67c[_0x22fc84(0x209)][_0x22fc84(0x2c1)]&&_0x28fd09!==_0x51a67c[_0x22fc84(0x209)]['Value'];if(_0x28fef4||_0x2ac266){const _0x56d11d=_0x5150ed(_0x381b35,_0x1b84db);_0x56d11d&&(_0x28fef4?(delete _0x381b35[_0x22fc84(0x20e)][_0x1b84db],_0x381b35[_0x22fc84(0x165)][_0x1b84db]=_0x56d11d):(delete _0x381b35[_0x22fc84(0x165)][_0x1b84db],_0x381b35['dimension'][_0x1b84db]=_0x56d11d));}const _0x1456ae=_0x48ae44(_0x381b35,_0x8f9dc2),_0x2b47d8=_0x48ae44(_0x381b35,_0x28fd09);_0x1456ae[_0x22fc84(0x31b)](_0x25a1e1,0x1),_0x2b47d8[_0x22fc84(0x31b)](_0x1d07c6,0x0,_0x1b84db);}function _0x50c9d9(_0x5bd6da,_0x46800e){const _0x20f100=_0x29979c,{valuePosition:_0x365327,index:_0x24e6d0}=_0x46800e;_0x5bd6da[_0x20f100(0x237)]=_0x365327,_0x5bd6da['valueIndex']=_0x24e6d0;}function _0x14793e(_0x90f630,_0x156508){const _0x296aa3=_0x29979c,{tableFieldId:_0x5db3e0,sourceName:_0xb15119,dataFieldId:_0x2215ee}=_0x156508,_0x38884c=_0x5150ed(_0x90f630,_0x5db3e0);_0x38884c&&(_0x38884c[_0x296aa3(0x25b)]=_0xb15119,_0x38884c[_0x296aa3(0x34a)]=_0x2215ee);}function _0x256fff(_0x353dc6,_0x4dbb8b){const _0x39f277=_0x29979c,{fieldId:_0x2e0564,sortInfo:_0x15ffab}=_0x4dbb8b,_0x2f2bbe=_0x5150ed(_0x353dc6,_0x2e0564);_0x2f2bbe&&(_0x2f2bbe[_0x39f277(0x235)]=_0x15ffab);}function _0x598b9a(_0x22bb3f,_0x1d34a8){const _0xc563d7=_0x29979c,{options:_0x3ac752}=_0x1d34a8;_0x22bb3f[_0xc563d7(0x313)]={..._0x22bb3f[_0xc563d7(0x313)],..._0x3ac752};}const _0x170ee0={'type':_0x238b6d['CommandType'][_0x29979c(0x1f2)],'id':'sheet.mutation.add-pivot-field','handler'(_0x52236a,_0x3f3210){const _0x40836c=_0x29979c;if(!_0x3f3210)return!0x1;if(!!_0x52236a['get'](_0x238b6d[_0x40836c(0x1dd)])[_0x40836c(0x128)](_0x2bb74b))return!0x0;const _0x490bc0=_0x52236a[_0x40836c(0x272)](_0x2f79a9[_0x40836c(0x2af)]),{pivotTableId:_0x4bed9c,fieldJson:_0x9084ba,area:_0x4ec14d,index:_0x336e82,unitId:_0x555c09,subUnitId:_0x151176}=_0x3f3210,_0x2714e3=_0x490bc0[_0x40836c(0x178)](_0x4bed9c);if(!_0x2714e3)return!0x1;let _0x4f5cc5;_0x4ec14d===_0x51a67c[_0x40836c(0x209)][_0x40836c(0x2c1)]?_0x4f5cc5=_0x51a67c['createValueField'](_0x9084ba):_0x4f5cc5=_0x51a67c[_0x40836c(0x383)](_0x9084ba),_0x2714e3[_0x40836c(0x259)](_0x4f5cc5,_0x4ec14d,_0x336e82);const _0x2ddcbe=_0x490bc0[_0x40836c(0x270)](_0x555c09,_0x151176,_0x4bed9c);_0x19b14f(_0x2ddcbe,_0x3f3210);const _0x2e4647=_0x490bc0[_0x40836c(0xff)](_0x555c09,_0x151176,_0x4bed9c);return _0x490bc0[_0x40836c(0x2f3)]({'unitId':_0x555c09,'subUnitId':_0x151176,'token':_0x4bed9c,'type':_0x32bc0d[_0x40836c(0x2dc)],'pivotConfig':_0x2e4647}),!0x0;}},_0xc22163={'type':_0x238b6d[_0x29979c(0x159)]['MUTATION'],'id':'sheet.mutation.remove-pivot-field','handler'(_0x1a2acb,_0x344e90){const _0x12a250=_0x29979c;if(!_0x344e90)return!0x1;if(!!_0x1a2acb['get'](_0x238b6d[_0x12a250(0x1dd)])['getConfig'](_0x2bb74b))return!0x0;const _0x12c74b=_0x1a2acb['get'](_0x2f79a9[_0x12a250(0x2af)]),{pivotTableId:_0x2085c8,fieldId:_0x1ab90f,unitId:_0x4c48a7,subUnitId:_0x1c20cc}=_0x344e90,_0x32ff4c=_0x12c74b[_0x12a250(0x178)](_0x2085c8);if(!_0x32ff4c)return!0x1;_0x32ff4c['removeField'](_0x1ab90f);const _0x43e5c7=_0x12c74b[_0x12a250(0x270)](_0x4c48a7,_0x1c20cc,_0x2085c8);_0x537de8(_0x43e5c7,_0x344e90);const _0x13cf1e=_0x12c74b['getPivotTableConfig'](_0x4c48a7,_0x1c20cc,_0x2085c8);return _0x12c74b[_0x12a250(0x2f3)]({'unitId':_0x4c48a7,'subUnitId':_0x1c20cc,'token':_0x2085c8,'type':_0x32bc0d[_0x12a250(0x2dc)],'pivotConfig':_0x13cf1e}),!0x0;}},_0x2165fa={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x241),'handler'(_0x248da3,_0x520a9b){const _0xcb8fd=_0x29979c;if(!_0x520a9b)return!0x1;if(!!_0x248da3[_0xcb8fd(0x272)](_0x238b6d[_0xcb8fd(0x1dd)])['getConfig'](_0x2bb74b))return!0x0;const _0x20b964=_0x248da3[_0xcb8fd(0x272)](_0x2f79a9[_0xcb8fd(0x2af)]),{unitId:_0x2cadd5,subUnitId:_0x1310d1,pivotTableId:_0xbd565c,fieldId:_0x384e12,name:_0x5a9351}=_0x520a9b,_0x24f50f=_0x20b964[_0xcb8fd(0x178)](_0xbd565c);if(!_0x24f50f)return!0x1;_0x24f50f[_0xcb8fd(0x2f9)](_0x384e12,_0x5a9351);const _0x1dda0b=_0x20b964[_0xcb8fd(0x270)](_0x2cadd5,_0x1310d1,_0xbd565c);return _0x478d0e(_0x1dda0b,_0x520a9b),_0x20b964[_0xcb8fd(0x2f3)]({'unitId':_0x2cadd5,'subUnitId':_0x1310d1,'token':_0xbd565c,'type':_0x32bc0d[_0xcb8fd(0x2dc)]}),!0x0;}},_0xc56865={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x379),'handler'(_0x408315,_0x43ae9c){const _0x94fcd4=_0x29979c;if(!_0x43ae9c)return!0x1;if(!!_0x408315[_0x94fcd4(0x272)](_0x238b6d[_0x94fcd4(0x1dd)])['getConfig'](_0x2bb74b))return!0x0;const _0x1654ff=_0x408315[_0x94fcd4(0x272)](_0x2f79a9['SheetsPivotDataSourceModel']),{unitId:_0x3b1af7,subUnitId:_0x29cfcc,pivotTableId:_0x3a1e7e,fieldId:_0x11b217,collapse:_0x5bdeaa,item:_0x4e5c56}=_0x43ae9c,_0x11ee78=_0x1654ff[_0x94fcd4(0x178)](_0x3a1e7e);if(!_0x11ee78)return!0x1;_0x11ee78[_0x94fcd4(0x13c)](_0x11b217,_0x5bdeaa,_0x4e5c56);const _0x1858e0=_0x1654ff[_0x94fcd4(0x270)](_0x3b1af7,_0x29cfcc,_0x3a1e7e);return _0x39dcf4(_0x1858e0,_0x43ae9c),_0x1654ff[_0x94fcd4(0x2f3)]({'unitId':_0x3b1af7,'subUnitId':_0x29cfcc,'token':_0x3a1e7e,'type':_0x32bc0d['Set']}),!0x0;}},_0x4cf90a={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x17d),'handler'(_0x25e0c3,_0x160111){const _0x170e3a=_0x29979c;if(!_0x160111)return!0x1;if(!!_0x25e0c3[_0x170e3a(0x272)](_0x238b6d[_0x170e3a(0x1dd)])['getConfig'](_0x2bb74b))return!0x0;const _0x400f2f=_0x25e0c3[_0x170e3a(0x272)](_0x2f79a9[_0x170e3a(0x2af)]),{unitId:_0x38dd74,subUnitId:_0x1a3fef,pivotTableId:_0x529ee6,fieldId:_0x54e2da,format:_0x20e720}=_0x160111,_0x10798b=_0x400f2f[_0x170e3a(0x178)](_0x529ee6);if(!_0x10798b)return!0x1;_0x10798b[_0x170e3a(0x22d)](_0x54e2da,_0x20e720);const _0x5d7585=_0x400f2f['getPivotTableModelConfig'](_0x38dd74,_0x1a3fef,_0x529ee6);return _0x3e51a3(_0x5d7585,_0x160111),_0x400f2f[_0x170e3a(0x2f3)]({'unitId':_0x38dd74,'subUnitId':_0x1a3fef,'token':_0x529ee6,'type':_0x32bc0d[_0x170e3a(0x2dc)]}),!0x0;}},_0x4428aa={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x34e),'handler'(_0x56d428,_0x4ca157){const _0x2964f0=_0x29979c;if(!_0x4ca157)return!0x1;if(!!_0x56d428[_0x2964f0(0x272)](_0x238b6d[_0x2964f0(0x1dd)])[_0x2964f0(0x128)](_0x2bb74b))return!0x0;const _0x16716c=_0x56d428['get'](_0x2f79a9['SheetsPivotDataSourceModel']),{unitId:_0x1a3e71,subUnitId:_0x15782d,pivotTableId:_0x3bcc16,fieldId:_0x34bdc6,filterInfo:_0x21b7f1}=_0x4ca157,_0x526222=_0x16716c[_0x2964f0(0x178)](_0x3bcc16);if(!_0x526222)return!0x1;_0x526222['setLabelFilterInfo'](_0x34bdc6,_0x21b7f1);const _0x470e6a=_0x16716c[_0x2964f0(0x270)](_0x1a3e71,_0x15782d,_0x3bcc16);return _0x8604c(_0x470e6a,_0x4ca157),_0x16716c[_0x2964f0(0x2f3)]({'unitId':_0x1a3e71,'subUnitId':_0x15782d,'token':_0x3bcc16,'type':_0x32bc0d[_0x2964f0(0x2dc)]}),!0x0;}},_0x5c37c9={'type':_0x238b6d[_0x29979c(0x159)]['MUTATION'],'id':_0x29979c(0x2d4),'handler'(_0x12324f,_0x251f1e){const _0x472b00=_0x29979c;if(!_0x251f1e)return!0x1;if(!!_0x12324f[_0x472b00(0x272)](_0x238b6d['IConfigService'])[_0x472b00(0x128)](_0x2bb74b))return!0x0;const _0x2b5c11=_0x12324f['get'](_0x2f79a9[_0x472b00(0x2af)]),{unitId:_0x20d20e,subUnitId:_0x4b9b2d,pivotTableId:_0x58c513,options:_0x34d7bd}=_0x251f1e,_0x1f7a4a=_0x2b5c11[_0x472b00(0x178)](_0x58c513);if(!_0x1f7a4a)return!0x1;_0x1f7a4a['setOptions'](_0x34d7bd);const _0x2c411e=_0x2b5c11[_0x472b00(0x270)](_0x20d20e,_0x4b9b2d,_0x58c513);return _0x598b9a(_0x2c411e,_0x251f1e),_0x2b5c11['addDirtyPivotTable']({'unitId':_0x20d20e,'subUnitId':_0x4b9b2d,'token':_0x58c513,'type':_0x32bc0d[_0x472b00(0x2dc)]}),!0x0;}},_0x3a7740={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x25fdeb,_0x3bd8ba){const _0x3f8e59=_0x29979c;if(!_0x3bd8ba)return!0x1;if(!!_0x25fdeb[_0x3f8e59(0x272)](_0x238b6d[_0x3f8e59(0x1dd)])[_0x3f8e59(0x128)](_0x2bb74b))return!0x0;const _0x37f022=_0x25fdeb[_0x3f8e59(0x272)](_0x2f79a9['SheetsPivotDataSourceModel']),{unitId:_0x3e9e27,subUnitId:_0x278b93,pivotTableId:_0x2ae338,sortInfo:_0x125fcd,fieldId:_0x59a40b}=_0x3bd8ba,_0x35a9d3=_0x37f022[_0x3f8e59(0x178)](_0x2ae338);if(!_0x35a9d3)return!0x1;_0x35a9d3[_0x3f8e59(0x13d)](_0x59a40b,_0x125fcd);const _0x255517=_0x37f022[_0x3f8e59(0x270)](_0x3e9e27,_0x278b93,_0x2ae338);return _0x256fff(_0x255517,_0x3bd8ba),_0x37f022[_0x3f8e59(0x2f3)]({'unitId':_0x3e9e27,'subUnitId':_0x278b93,'token':_0x2ae338,'type':_0x32bc0d[_0x3f8e59(0x2dc)]}),!0x0;}},_0x44548a={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x2da),'handler'(_0x2ecd00,_0x4a5b30){const _0xc77246=_0x29979c;if(!_0x4a5b30)return!0x1;if(!!_0x2ecd00[_0xc77246(0x272)](_0x238b6d['IConfigService'])[_0xc77246(0x128)](_0x2bb74b))return!0x0;const _0x2ea441=_0x2ecd00[_0xc77246(0x272)](_0x2f79a9['SheetsPivotDataSourceModel']),{unitId:_0x259387,subUnitId:_0x2d6074,pivotTableId:_0x1d75ec,fieldId:_0x2a484c,subtotalType:_0x1f59ef}=_0x4a5b30,_0x57d8b4=_0x2ea441[_0xc77246(0x178)](_0x1d75ec);if(!_0x57d8b4)return!0x1;_0x57d8b4[_0xc77246(0x38d)](_0x2a484c,_0x1f59ef);const _0x51534d=_0x2ea441['getPivotTableModelConfig'](_0x259387,_0x2d6074,_0x1d75ec);return _0x500ec7(_0x51534d,_0x4a5b30),_0x2ea441['addDirtyPivotTable']({'unitId':_0x259387,'subUnitId':_0x2d6074,'token':_0x1d75ec,'type':_0x32bc0d[_0xc77246(0x2dc)]}),!0x0;}},_0x14418d={'type':_0x238b6d['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x2397aa,_0x1bc2d8){const _0x4477e9=_0x29979c;if(!_0x1bc2d8)return!0x1;if(!!_0x2397aa[_0x4477e9(0x272)](_0x238b6d[_0x4477e9(0x1dd)])[_0x4477e9(0x128)](_0x2bb74b))return!0x0;const _0x10aeb2=_0x2397aa['get'](_0x2f79a9[_0x4477e9(0x2af)]),{unitId:_0x32441e,subUnitId:_0xb73bc3,pivotTableId:_0x15d013,fieldId:_0x53c074,filterInfo:_0x119e5d}=_0x1bc2d8,_0xdffdd8=_0x10aeb2[_0x4477e9(0x178)](_0x15d013);if(!_0xdffdd8)return!0x1;_0xdffdd8['setValueFilterInfo'](_0x53c074,_0x119e5d);const _0x2feea4=_0x10aeb2[_0x4477e9(0x270)](_0x32441e,_0xb73bc3,_0x15d013);return _0x34013d(_0x2feea4,_0x1bc2d8),_0x10aeb2['addDirtyPivotTable']({'unitId':_0x32441e,'subUnitId':_0xb73bc3,'token':_0x15d013,'type':_0x32bc0d['Set']}),!0x0;}},_0x3fbd48={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0xc5),'handler'(_0x240f72,_0x589fb9){const _0x375b48=_0x29979c;if(!_0x589fb9)return!0x1;if(!!_0x240f72['get'](_0x238b6d[_0x375b48(0x1dd)])[_0x375b48(0x128)](_0x2bb74b))return!0x0;const _0x3d1672=_0x240f72[_0x375b48(0x272)](_0x2f79a9[_0x375b48(0x2af)]),{unitId:_0x2d89d4,subUnitId:_0x43558d,pivotTableId:_0x117c41,area:_0x2d2610,index:_0x116de2,fieldId:_0x48f4f3}=_0x589fb9,_0x3b333c=_0x3d1672[_0x375b48(0x178)](_0x117c41);if(!_0x3b333c)return!0x1;_0x3b333c[_0x375b48(0x12e)](_0x48f4f3,_0x2d2610,_0x116de2);const _0x1c1b84=_0x3d1672['getPivotTableModelConfig'](_0x2d89d4,_0x43558d,_0x117c41);return _0x164af9(_0x1c1b84,_0x589fb9),_0x3d1672['addDirtyPivotTable']({'unitId':_0x2d89d4,'subUnitId':_0x43558d,'token':_0x117c41,'type':_0x32bc0d['Set']}),!0x0;}},_0x3866ae={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x2f6),'handler'(_0x1e1f99,_0xdbe84b){const _0x2f975c=_0x29979c;if(!_0xdbe84b)return!0x1;if(!!_0x1e1f99[_0x2f975c(0x272)](_0x238b6d[_0x2f975c(0x1dd)])[_0x2f975c(0x128)](_0x2bb74b))return!0x0;const _0x20282d=_0x1e1f99[_0x2f975c(0x272)](_0x2f79a9[_0x2f975c(0x2af)]),{unitId:_0x5a3b19,subUnitId:_0x5d0b59,pivotTableId:_0x41bec8,sourceName:_0xb129d3,dataFieldId:_0x38d51b,tableFieldId:_0xaa86d}=_0xdbe84b,_0x27032f=_0x20282d[_0x2f975c(0x178)](_0x41bec8);if(!_0x27032f)return!0x1;_0x27032f[_0x2f975c(0xc2)](_0xaa86d,_0xb129d3,_0x38d51b);const _0x417bd4=_0x20282d[_0x2f975c(0x270)](_0x5a3b19,_0x5d0b59,_0x41bec8);return _0x14793e(_0x417bd4,_0xdbe84b),_0x20282d['addDirtyPivotTable']({'unitId':_0x5a3b19,'subUnitId':_0x5d0b59,'token':_0x41bec8,'type':_0x32bc0d[_0x2f975c(0x2dc)]}),!0x0;}},_0x20f840={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x1a3),'handler'(_0x50c4b8,_0x230e28){const _0x74d084=_0x29979c;if(!_0x230e28)return!0x1;if(!!_0x50c4b8[_0x74d084(0x272)](_0x238b6d[_0x74d084(0x1dd)])[_0x74d084(0x128)](_0x2bb74b))return!0x0;const _0x3a67f8=_0x50c4b8[_0x74d084(0x272)](_0x2f79a9['SheetsPivotDataSourceModel']),{unitId:_0x4fac7a,subUnitId:_0x221cea,pivotTableId:_0x1534e0,valuePosition:_0x227175,index:_0x2e103d}=_0x230e28,_0x3aafb6=_0x3a67f8[_0x74d084(0x178)](_0x1534e0);if(!_0x3aafb6)return!0x1;_0x3aafb6[_0x74d084(0x11d)](_0x227175,_0x2e103d);const _0x54f20f=_0x3a67f8[_0x74d084(0x270)](_0x4fac7a,_0x221cea,_0x1534e0);return _0x50c9d9(_0x54f20f,_0x230e28),_0x3a67f8[_0x74d084(0x2f3)]({'unitId':_0x4fac7a,'subUnitId':_0x221cea,'token':_0x1534e0,'type':_0x32bc0d['Set']}),!0x0;}};function _0x420693(_0x3ce84f,_0x36bf72,_0x988873){const _0x4292f5=_0x29979c,{pivotTableId:_0x5811fe,unitId:_0x5d0296,subUnitId:_0x391d18}=_0x36bf72,_0x131fb0=[],_0x47901a=[];for(const _0x17a168 of _0x988873)switch(_0x17a168[_0x4292f5(0x33f)]){case _0x51a67c[_0x4292f5(0x355)][_0x4292f5(0x1b3)]:{const {fieldJson:_0xb944b,area:_0x20c9f7,index:_0x8bd5df}=_0x17a168,_0x28e877={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldJson':_0xb944b,'area':_0x20c9f7,'index':_0x8bd5df},_0x551298={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0xb944b['id'],'area':_0x20c9f7,'index':_0x8bd5df};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x170ee0['id'],'params':_0x28e877}),_0x47901a[_0x4292f5(0x3a9)]({'id':_0xc22163['id'],'params':_0x551298});}break;case _0x51a67c[_0x4292f5(0x355)]['SetSubtotalType']:{const {fieldId:_0x27b864,newSubtotalType:_0x3d666f,oldSubtotalType:_0x456e69}=_0x17a168,_0x4eb99e={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x27b864,'subtotalType':_0x3d666f};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x44548a['id'],'params':_0x4eb99e});const _0xbfb1a2={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x27b864,'subtotalType':_0x456e69};_0x47901a[_0x4292f5(0x3a9)]({'id':_0x44548a['id'],'params':_0xbfb1a2});}break;case _0x51a67c['PivotTableChangeTypeEnum'][_0x4292f5(0x2a8)]:{const {fieldId:_0x58eacc,fieldJson:_0x3ade6f,area:_0x33eba4,index:_0x4760b2}=_0x17a168,_0x5b32f2={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x58eacc,'index':_0x4760b2,'area':_0x33eba4};_0x131fb0[_0x4292f5(0x35f)]({'id':_0xc22163['id'],'params':_0x5b32f2});const _0x3cbb23={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldJson':_0x3ade6f,'area':_0x33eba4,'index':_0x4760b2};_0x47901a['unshift']({'id':_0x170ee0['id'],'params':_0x3cbb23});}break;case _0x51a67c[_0x4292f5(0x355)]['RenameField']:{const {fieldId:_0x49555f,oldName:_0x201d53,newName:_0x10ed84}=_0x17a168,_0x560556={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x49555f,'name':_0x10ed84};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x2165fa['id'],'params':_0x560556});const _0x24005f={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x49555f,'name':_0x201d53};_0x47901a[_0x4292f5(0x3a9)]({'id':_0x2165fa['id'],'params':_0x24005f});}break;case _0x51a67c[_0x4292f5(0x355)]['SetFilterInfo']:{const {fieldId:_0x406ea8,oldFilterInfo:_0x331999,newFilterInfo:_0x1ce6b2}=_0x17a168,_0x4041ed={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x406ea8,'filterInfo':_0x1ce6b2};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x4428aa['id'],'params':_0x4041ed});const _0x206733={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x406ea8,'filterInfo':_0x331999};_0x47901a['unshift']({'id':_0x4428aa['id'],'params':_0x206733});}break;case _0x51a67c['PivotTableChangeTypeEnum']['SetSortInfo']:{const {fieldId:_0x81208c,oldSortInfo:_0x59f2d8,newSortInfo:_0x315416}=_0x17a168,_0x5e9980={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x81208c,'sortInfo':_0x315416};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x3a7740['id'],'params':_0x5e9980});const _0x52eba8={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x81208c,'sortInfo':_0x59f2d8};_0x47901a['unshift']({'id':_0x3a7740['id'],'params':_0x52eba8});}break;case _0x51a67c[_0x4292f5(0x355)]['SetOptions']:{const {oldOptions:_0x16a5dc,newOptions:_0x202280}=_0x17a168,_0x2c5cb9={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'options':_0x202280};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x5c37c9['id'],'params':_0x2c5cb9});const _0x226e84={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'options':_0x16a5dc};_0x47901a[_0x4292f5(0x3a9)]({'id':_0x5c37c9['id'],'params':_0x226e84});}break;case _0x51a67c[_0x4292f5(0x355)][_0x4292f5(0x1ea)]:{const {oldArea:_0x354556,newArea:_0x1d5608,oldIndex:_0x3b9ba7,newIndex:_0x1faad5,fieldId:_0x3be830}=_0x17a168,_0x297b1f={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x3be830,'area':_0x1d5608,'index':_0x1faad5,'oldArea':_0x354556,'oldIndex':_0x3b9ba7};_0x131fb0['push']({'id':_0x3fbd48['id'],'params':_0x297b1f});const _0x3e8e65={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x3be830,'area':_0x354556,'index':_0x3b9ba7,'oldArea':_0x1d5608,'oldIndex':_0x1faad5};_0x47901a[_0x4292f5(0x3a9)]({'id':_0x3fbd48['id'],'params':_0x3e8e65});}break;case _0x51a67c[_0x4292f5(0x355)]['UpdateValuePosition']:{const {oldValuePosition:_0x2b6283,newValuePosition:_0x12f6da,oldIndex:_0x3a1f5a,newIndex:_0x3aa1b9}=_0x17a168,_0x2853e3={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'valuePosition':_0x12f6da,'index':_0x3aa1b9};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x20f840['id'],'params':_0x2853e3});const _0xef2f35={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'valuePosition':_0x2b6283,'index':_0x3a1f5a};_0x47901a[_0x4292f5(0x3a9)]({'id':_0x20f840['id'],'params':_0xef2f35});}break;case _0x51a67c[_0x4292f5(0x355)][_0x4292f5(0x2f7)]:{const {fieldId:_0x5da6c2,collapse:_0x58e7ef,item:_0x1dba6c}=_0x17a168,_0x436ce5={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x5da6c2,'collapse':_0x58e7ef,'item':_0x1dba6c};_0x131fb0[_0x4292f5(0x35f)]({'id':_0xc56865['id'],'params':_0x436ce5});const _0x5da34e={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0x5da6c2,'collapse':!_0x58e7ef,'item':_0x1dba6c};_0x47901a[_0x4292f5(0x3a9)]({'id':_0xc56865['id'],'params':_0x5da34e});}break;case _0x51a67c['PivotTableChangeTypeEnum']['SetFieldFormat']:{const {newFormat:_0x569706,oldFormat:_0x315779,fieldId:_0xdcacee}=_0x17a168,_0x3d1ea3={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0xdcacee,'format':_0x569706};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x4cf90a['id'],'params':_0x3d1ea3});const _0x4a9e65={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0xdcacee,'format':_0x315779};_0x47901a['unshift']({'id':_0x4cf90a['id'],'params':_0x4a9e65});}break;case _0x51a67c['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x49a7c6,oldSourceName:_0x1df997,newSourceName:_0x444055,oldDataFieldId:_0x35cb1a,newDataFieldId:_0x1b308f}=_0x17a168,_0x161783={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'tableFieldId':_0x49a7c6,'sourceName':_0x444055,'dataFieldId':_0x1b308f};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x3866ae['id'],'params':_0x161783});const _0x3ce111={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'tableFieldId':_0x49a7c6,'sourceName':_0x1df997,'dataFieldId':_0x35cb1a};_0x47901a[_0x4292f5(0x3a9)]({'id':_0x3866ae['id'],'params':_0x3ce111});}break;case _0x51a67c[_0x4292f5(0x355)][_0x4292f5(0x1d3)]:{const {fieldId:_0xd99218,filterInfo:_0x48969a,oldFilterInfo:_0xaa591e}=_0x17a168,_0x2ec74a={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0xd99218,'filterInfo':_0x48969a};_0x131fb0[_0x4292f5(0x35f)]({'id':_0x14418d['id'],'params':_0x2ec74a});const _0x3828fc={'unitId':_0x5d0296,'subUnitId':_0x391d18,'pivotTableId':_0x5811fe,'fieldId':_0xd99218,'filterInfo':_0xaa591e};_0x47901a[_0x4292f5(0x3a9)]({'id':_0x14418d['id'],'params':_0x3828fc});}}return{'redos':_0x131fb0,'undos':_0x47901a};}function _0x45097d(_0x55d751,_0x3939ee){const _0x1264e5=_0x29979c;var _0x4041a3;const _0x3477fd=_0x55d751[_0x1264e5(0x272)](_0x2f79a9['SheetsPivotTableService']),{cellInfo:_0x4a8e9a,view:_0x3146bc,isEmpty:_0x1bb12e}=_0x3939ee;return(_0x4041a3=_0x3477fd[_0x1264e5(0x153)][_0x1264e5(0x1ef)](_0x26a720)(_0x4b7380,{'cellInfo':_0x4a8e9a,'view':_0x3146bc,'isEmpty':_0x1bb12e}))!=null?_0x4041a3:_0x4b7380;}const _0x4697aa={'type':_0x238b6d['CommandType']['COMMAND'],'id':_0x29979c(0x27b),async 'handler'(_0x89ec3d,_0x1eef19){const _0x182551=_0x29979c;if(!_0x1eef19)return!0x1;const _0x3633ea=_0x89ec3d['get'](_0x238b6d[_0x182551(0x13b)]),_0x2850a8=_0x89ec3d[_0x182551(0x272)](_0x2f79a9[_0x182551(0x25f)]),_0x4302b3=_0x89ec3d[_0x182551(0x272)](_0x238b6d[_0x182551(0x1fa)]),{pivotTableId:_0x2fac76,dataFieldId:_0x512676,fieldArea:_0x40ac9b,index:_0x329bf2,unitId:_0x55aeea,subUnitId:_0x4ea3b6}=_0x1eef19,_0x3e8bb3=(await _0x2850a8[_0x182551(0x1de)]({'unitId':_0x55aeea,'subUnitId':_0x4ea3b6,'pivotTableId':_0x2fac76,'params':{'type':_0x10895c[_0x182551(0x205)],'addPivotField':{'dataFieldId':_0x512676,'fieldArea':_0x40ac9b,'index':_0x329bf2}}}))[_0x182551(0x2db)][_0x182551(0x15f)];if(!_0x3e8bb3)return!0x1;const {view:_0x4a3019,changesets:_0x426aab,isEmpty:_0x22a5b5,pivotTableConfig:_0x18691e,shouldBeAddedGroupJSON:_0x4e0eeb}=_0x3e8bb3,_0x1c083f=_0x18691e['targetCellInfo'],_0x2b8f9f=new _0x51a67c[(_0x182551(0x2b1))]();_0x2b8f9f[_0x182551(0x1f4)](_0x4a3019);const _0x27689b={'cellInfo':_0x1c083f,'view':_0x2b8f9f,'isEmpty':_0x22a5b5};if(!await _0x89ec3d[_0x182551(0x272)](_0x2f79a9[_0x182551(0x231)])['asyncInterceptor'][_0x182551(0xe7)](_0x36545b)(!0x0,_0x27689b))return!0x1;const _0x48bdd5=_0x1b8251(_0x89ec3d,_0x2b8f9f,_0x1c083f,_0x22a5b5),_0x278138=_0x45097d(_0x89ec3d,_0x27689b),{undos:_0xf2f1c8,redos:_0x4d9104}=_0x420693(_0x3633ea,{'pivotTableId':_0x2fac76,'unitId':_0x55aeea,'subUnitId':_0x4ea3b6},_0x426aab);return _0x4e0eeb&&(_0x4d9104[_0x182551(0x3a9)]({'id':_0x13815a['id'],'params':{'pivotTableId':_0x2fac76,'fieldJSON':_0x4e0eeb,'unitId':_0x55aeea,'subUnitId':_0x4ea3b6}}),_0xf2f1c8[_0x182551(0x35f)]({'id':_0xd81e18['id'],'params':{'pivotTableId':_0x2fac76,'dataFieldId':_0x4e0eeb['id'],'unitId':_0x55aeea,'subUnitId':_0x4ea3b6}})),_0x238b6d[_0x182551(0x35d)]([..._0x48bdd5[_0x182551(0x2fb)],..._0x278138[_0x182551(0x2fb)],..._0x4d9104],_0x3633ea),_0x4302b3[_0x182551(0x394)]({'unitID':_0x55aeea,'redoMutations':[..._0x48bdd5[_0x182551(0x2fb)],..._0x278138[_0x182551(0x2fb)],..._0x4d9104],'undoMutations':[..._0x48bdd5[_0x182551(0x193)],..._0x278138[_0x182551(0x193)],..._0xf2f1c8]}),!0x0;}},_0x30c3f6=()=>typeof process<'u'&&process[_0x29979c(0xcc)]!=null&&process['versions'][_0x29979c(0x346)]!=null,_0x19442a={'type':_0x238b6d[_0x29979c(0x159)]['MUTATION'],'id':_0x29979c(0x120),'handler'(_0x6046cf,_0x122225){const _0x536411=_0x29979c;var _0x3e946a;if(!_0x122225)return!0x1;const _0x35816b=_0x6046cf[_0x536411(0x272)](_0x238b6d[_0x536411(0x1dd)]);if(!!_0x35816b[_0x536411(0x128)](_0x2bb74b))return!0x0;const _0x1a018f=_0x6046cf[_0x536411(0x272)](_0x238b6d[_0x536411(0xd7)]),_0xea7206=_0x6046cf[_0x536411(0x272)](_0x2f79a9[_0x536411(0x2af)]),{pivotTableId:_0x4c229d,pivotTableConfig:_0x4b193f,collectionConfig:_0x19c21a,unitId:_0x13a6a7,subUnitId:_0x24d46e}=_0x122225,{sourceRangeInfo:_0x4a3bbb,fieldsConfig:_0x3e01e1,targetCellInfo:_0x546f13}=_0x4b193f,_0x40935d=_0x1a018f[_0x536411(0xe1)](_0x13a6a7);if(!_0x40935d||!_0x40935d['getSheetBySheetId'](_0x24d46e))return!0x1;if(!_0x30c3f6()){let _0x2fbd8c=0x0;_0x40935d[_0x536411(0x2b5)]()[_0x536411(0x246)](_0x2d2c7f=>{const _0x2b8687=_0x536411;var _0x58ac63,_0x72522b;_0x2fbd8c+=(_0x72522b=(_0x58ac63=_0xea7206[_0x2b8687(0x32b)](_0x13a6a7,_0x2d2c7f['getSheetId']()))==null?void 0x0:_0x58ac63[_0x2b8687(0x122)])!=null?_0x72522b:0x0;});const _0x3ddfa1=(_0x3e946a=_0x35816b['getConfig'](_0x4056fc['LS_CONFIG_KEY']))!=null?_0x3e946a:{},{ls:_0x3643dd,pbk:_0x3f64a2}=_0x3ddfa1;if(!_0x318e25(_0x3643dd,_0x3f64a2))throw new _0x238b6d[(_0x536411(0x361))]('limit\x20pivot');const _0x919c9f=_0x1c55e5(_0x51b9aa,_0x3643dd,_0x3f64a2)[_0x536411(0xfd)];if(_0x2fbd8c>=_0x919c9f)throw new _0x238b6d[(_0x536411(0x361))](_0x536411(0x3af));}if(!_0x19c21a||!_0x3e01e1)return!0x1;const {collection:_0x34bbd6,updateDataFieldList:_0x2e0668}=_0xea7206[_0x536411(0x358)](_0x4c229d,_0x19c21a,_0x4a3bbb,_0x546f13);_0xea7206[_0x536411(0x269)](_0x34bbd6,_0x2e0668,_0x4a3bbb);const _0x1d5609=new _0x51a67c[(_0x536411(0x29b))](_0x34bbd6,void 0x0,_0x4c229d);_0x1d5609[_0x536411(0x38e)](_0x3e01e1);const _0x57e527=JSON[_0x536411(0x2a2)](JSON[_0x536411(0x283)](_0x4b193f));return _0xea7206[_0x536411(0x2df)](_0x13a6a7,_0x24d46e,_0x4c229d,_0x1d5609,_0x57e527),_0xea7206[_0x536411(0x2f3)]({'unitId':_0x13a6a7,'subUnitId':_0x24d46e,'token':_0x4c229d,'type':_0x32bc0d['Add'],'pivotConfig':_0x57e527}),!0x0;}},_0x15c76={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x3a4)],'id':_0x29979c(0x328),async 'handler'(_0x452de7,_0x3068f1){const _0x55a601=_0x29979c;if(!_0x3068f1)return!0x1;const {sourceDataInfo:_0x8600d1,pivotTableConfig:_0x24204c}=_0x3068f1;if(!_0x8600d1||!_0x24204c)return!0x1;const {unitId:_0x394b4a,subUnitId:_0x97f7ec,range:_0x3c8870}=_0x8600d1,_0x2224cc=_0x452de7[_0x55a601(0x272)](_0x238b6d[_0x55a601(0xd7)]),_0x1e7801=_0x452de7['get'](_0x2f79a9[_0x55a601(0x25f)]),_0x3ecc5b=_0x452de7[_0x55a601(0x272)](_0x238b6d[_0x55a601(0x31f)]),_0x11416d=_0x452de7[_0x55a601(0x272)](_0x238b6d[_0x55a601(0x13b)]),_0x4e782c=_0x2224cc[_0x55a601(0xe1)](_0x394b4a);if(!_0x4e782c)return!0x1;const _0x696148=_0x4e782c['getSheetBySheetId'](_0x97f7ec);if(!_0x696148)return!0x1;const _0x40b870=_0x51a67c[_0x55a601(0x1fd)](0x8),_0x6d5133=_0x3c8870||{'startRow':0x0,'startColumn':0x0,'endRow':_0x696148[_0x55a601(0x3b3)]()-0x1,'endColumn':_0x696148[_0x55a601(0x26b)]()-0x1};_0x6d5133['rangeType']=_0x238b6d[_0x55a601(0x387)][_0x55a601(0x2a1)];const _0x748150=(await _0x1e7801[_0x55a601(0x1de)]({'unitId':_0x394b4a,'subUnitId':_0x97f7ec,'pivotTableId':_0x40b870,'params':{'type':_0x10895c['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x394b4a,'sheetName':_0x696148[_0x55a601(0x188)](),'subUnitId':_0x97f7ec,'range':_0x6d5133},'pivotTableId':_0x40b870,'pivotTableIndexConfig':_0x24204c}}}))[_0x55a601(0x2db)]['addPivotTableWithConfig'];if(!_0x748150)return!0x1;const {isEmpty:_0x14266d,fieldsConfig:_0x46adbc,collectionConfig:_0x18d85b,changesets:_0x50d883}=_0x748150,_0xcf6f1a=_0x4e782c[_0x55a601(0x2b5)]()['length'],_0x2d7f9d=_0x238b6d[_0x55a601(0x109)]({'rowCount':_0x696148[_0x55a601(0x3b3)]()-0x1,'columnCount':_0x696148['getColumnCount']()-0x1});_0x2d7f9d['id']=_0x238b6d[_0x55a601(0xca)](),_0x2d7f9d['name']=_0x4e782c[_0x55a601(0x12a)](''+_0x3ecc5b['t'](_0x55a601(0x32f)));const _0xb31f4={'index':_0xcf6f1a,'sheet':_0x2d7f9d,'unitId':_0x394b4a},{redos:_0x10a976}=_0x420693(_0x11416d,{'pivotTableId':_0x40b870,'unitId':_0x394b4a,'subUnitId':_0x2d7f9d['id']},_0x50d883),_0x3ba841=[{'id':_0x30ad02['InsertSheetCommand']['id'],'params':_0xb31f4},{'id':_0x19442a['id'],'params':{'unitId':_0x394b4a,'subUnitId':_0x2d7f9d['id'],'pivotTableId':_0x40b870,'pivotTableConfig':{'isEmpty':_0x14266d,'fieldsConfig':_0x46adbc,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x394b4a,'subUnitId':_0x2d7f9d['id']},'sourceRangeInfo':{'subUnitId':_0x97f7ec,'unitId':_0x394b4a,'range':_0x6d5133,'sheetName':_0x696148[_0x55a601(0x188)]()}},'collectionConfig':_0x18d85b}},..._0x10a976];return _0x238b6d[_0x55a601(0x35d)](_0x3ba841,_0x11416d),!0x0;}},_0x3e059f={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x116),'handler'(_0x424099,_0x16c85a){const _0x23c325=_0x29979c;if(!_0x16c85a)return!0x1;if(!!_0x424099[_0x23c325(0x272)](_0x238b6d[_0x23c325(0x1dd)])[_0x23c325(0x128)](_0x2bb74b))return!0x0;const {pivotTableId:_0x26dfa1,unitId:_0x2222d0,subUnitId:_0xd9684e}=_0x16c85a,_0x582333=_0x424099[_0x23c325(0x272)](_0x2f79a9[_0x23c325(0x2af)]);return _0x582333[_0x23c325(0xff)](_0x2222d0,_0xd9684e,_0x26dfa1)?(_0x582333[_0x23c325(0x2f3)]({'unitId':_0x2222d0,'subUnitId':_0xd9684e,'token':_0x26dfa1,'type':_0x32bc0d[_0x23c325(0x154)]}),_0x582333[_0x23c325(0xf6)](_0x2222d0,_0xd9684e,_0x26dfa1),!0x0):!0x1;}},_0x3b0b8e={'type':_0x238b6d[_0x29979c(0x159)]['COMMAND'],'id':_0x29979c(0x33d),async 'handler'(_0x212f67,_0x38a06c){const _0x4eb570=_0x29979c;var _0x5ac762,_0x5bbc35;const _0x5e2561=_0x212f67[_0x4eb570(0x272)](_0x238b6d[_0x4eb570(0x13b)]),_0x2bc77e=_0x212f67[_0x4eb570(0x272)](_0x238b6d[_0x4eb570(0xd7)]),_0x4c167b=_0x212f67[_0x4eb570(0x272)](_0x238b6d[_0x4eb570(0x31f)]),_0x5efc44=_0x212f67['get'](_0x2f79a9[_0x4eb570(0x25f)]),_0x43c22a=_0x212f67[_0x4eb570(0x272)](_0x238b6d[_0x4eb570(0x1fa)]),_0x3a0a3=_0x212f67[_0x4eb570(0x272)](_0x2f79a9[_0x4eb570(0x139)]),_0xb743d4=_0x212f67[_0x4eb570(0x272)](_0x238b6d[_0x4eb570(0x1dd)]);if(!_0x38a06c)return!0x1;const {pivotTableConfig:_0x4ea4d1,positionType:_0x210eb3}=_0x38a06c,{targetCellInfo:_0x1f4ca0,sourceRangeInfo:_0x232c3a}=_0x4ea4d1,{unitId:_0x2aaa13,subUnitId:_0x5c8809}=_0x1f4ca0,_0x10aa6d=_0x2bc77e[_0x4eb570(0xe1)](_0x2aaa13);if(!_0x10aa6d)return!0x1;let _0x47f18e=0x0;_0x10aa6d[_0x4eb570(0x2b5)]()[_0x4eb570(0x246)](_0x15da95=>{const _0x209918=_0x4eb570;var _0xf5d7d1,_0x44b61e;_0x47f18e+=(_0x44b61e=(_0xf5d7d1=_0x3a0a3['getSubUnitPivotConfigs'](_0x2aaa13,_0x15da95[_0x209918(0x3a2)]()))==null?void 0x0:_0xf5d7d1[_0x209918(0x122)])!=null?_0x44b61e:0x0;});const _0x34509a=(_0x5ac762=_0xb743d4[_0x4eb570(0x128)](_0x4056fc[_0x4eb570(0x14b)]))!=null?_0x5ac762:{},{ls:_0x57eff0,pbk:_0x581a66}=_0x34509a;if(!_0x318e25(_0x57eff0,_0x581a66))return!0x1;const _0x4b390a=_0x1c55e5(_0x51b9aa,_0x57eff0,_0x581a66)[_0x4eb570(0xfd)];if(_0x47f18e>=_0x4b390a)return!0x1;const _0x501155=_0x38a06c['pivotTableId']||_0x51a67c[_0x4eb570(0x1fd)](0x8),_0x90f37e=(await _0x5efc44['getPivotDisplayConfig']({'unitId':_0x2aaa13,'subUnitId':_0x5c8809,'pivotTableId':_0x501155,'params':{'type':_0x10895c[_0x4eb570(0x28c)],'addPivotTable':{'sourceRangeInfo':_0x232c3a,'pivotTableId':_0x501155}}}))[_0x4eb570(0x2db)][_0x4eb570(0x2df)];if(!_0x90f37e)return!0x1;const {view:_0x2c243b,isEmpty:_0x59b57c,fieldsConfig:_0x3179a1,collectionConfig:_0x1ab221}=_0x90f37e,_0x4ad75a=[],_0x212b79=[];if(_0x210eb3===_0x21f39b[_0x4eb570(0x295)]){const _0x55e38f=_0x10aa6d[_0x4eb570(0x2b5)]()['length'],_0x5434cd=_0x238b6d[_0x4eb570(0x109)]({});_0x5434cd['id']=_0x4ea4d1[_0x4eb570(0x27a)][_0x4eb570(0x31e)],_0x5434cd[_0x4eb570(0x331)]=(_0x5bbc35=_0x4ea4d1[_0x4eb570(0x27a)]['sheetName'])!=null?_0x5bbc35:_0x10aa6d['generateNewSheetName'](''+_0x4c167b['t'](_0x4eb570(0x32f)));const _0x5779a5={'index':_0x55e38f,'sheet':_0x5434cd,'unitId':_0x2aaa13},_0x2784d4=_0x30ad02[_0x4eb570(0x292)](_0x212f67,_0x5779a5);_0x4ad75a[_0x4eb570(0x35f)]({'id':_0x30ad02[_0x4eb570(0xb5)]['id'],'params':_0x2784d4}),_0x212b79['push']({'id':_0x30ad02['InsertSheetMutation']['id'],'params':_0x5779a5});}else{if(!_0x10aa6d[_0x4eb570(0x280)](_0x5c8809))return!0x1;const _0x302eb0=_0x1b8251(_0x212f67,new _0x51a67c['PivotView'](),_0x1f4ca0,!0x0);_0x212b79[_0x4eb570(0x35f)](..._0x302eb0['redos']),_0x4ad75a[_0x4eb570(0x35f)](..._0x302eb0[_0x4eb570(0x193)]);const _0xd1805c={'cellInfo':_0x1f4ca0,'view':_0x2c243b,'isEmpty':_0x59b57c};if(!await _0x212f67[_0x4eb570(0x272)](_0x2f79a9[_0x4eb570(0x231)])[_0x4eb570(0x1be)][_0x4eb570(0xe7)](_0x36545b)(!0x0,_0xd1805c))return!0x1;const _0x3311e0=_0x45097d(_0x212f67,_0xd1805c);_0x212b79[_0x4eb570(0x35f)](..._0x3311e0[_0x4eb570(0x2fb)]),_0x4ad75a['push'](..._0x3311e0[_0x4eb570(0x193)]);}return _0x212b79[_0x4eb570(0x35f)]({'id':_0x19442a['id'],'params':{'unitId':_0x1f4ca0[_0x4eb570(0x24d)],'subUnitId':_0x1f4ca0['subUnitId'],'pivotTableId':_0x501155,'pivotTableConfig':{'targetCellInfo':_0x1f4ca0,'sourceRangeInfo':_0x232c3a,'fieldsConfig':_0x3179a1},'collectionConfig':_0x1ab221}}),_0x4ad75a[_0x4eb570(0x3a9)]({'id':_0x3e059f['id'],'params':{'unitId':_0x2aaa13,'subUnitId':_0x5c8809,'pivotTableId':_0x501155}}),_0x238b6d[_0x4eb570(0x35d)](_0x212b79,_0x5e2561)&&_0x43c22a[_0x4eb570(0x394)]({'unitID':_0x2aaa13,'undoMutations':_0x4ad75a,'redoMutations':_0x212b79}),!0x0;}},_0x52e001={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x3a4)],'id':_0x29979c(0x329),async 'handler'(_0x4eabfa,_0x421010){const _0x191524=_0x29979c;if(!_0x421010)return!0x1;const _0x34fb4d=_0x4eabfa['get'](_0x238b6d[_0x191524(0x13b)]),_0xd2e9f1=_0x4eabfa['get'](_0x2f79a9[_0x191524(0x25f)]),_0x18a8cf=_0x4eabfa[_0x191524(0x272)](_0x238b6d['IUndoRedoService']),{pivotTableId:_0xfe5f30,fieldId:_0x4f6b9d,area:_0x14e622,index:_0x3de1ff,unitId:_0x3c04bd,subUnitId:_0x37f1fb}=_0x421010,_0x46deb3=(await _0xd2e9f1[_0x191524(0x1de)]({'unitId':_0x3c04bd,'subUnitId':_0x37f1fb,'pivotTableId':_0xfe5f30,'params':{'type':_0x10895c[_0x191524(0xf8)],'movePivotField':{'fieldId':_0x4f6b9d,'area':_0x14e622,'index':_0x3de1ff}}}))[_0x191524(0x2db)][_0x191524(0x392)];if(!_0x46deb3)return!0x1;const {changesets:_0x57c8a7,view:_0x4de5b7,isEmpty:_0x213201,pivotTableConfig:_0x15d89f}=_0x46deb3,_0x136624=_0x15d89f[_0x191524(0x27a)],_0x539007=new _0x51a67c[(_0x191524(0x2b1))]();_0x539007['formJSON'](_0x4de5b7);const _0x40bb53={'cellInfo':_0x136624,'view':_0x539007,'isEmpty':_0x213201};if(!await _0x4eabfa[_0x191524(0x272)](_0x2f79a9['SheetsPivotTableService'])[_0x191524(0x1be)][_0x191524(0xe7)](_0x36545b)(!0x0,_0x40bb53))return!0x1;const _0x25e6be=_0x1b8251(_0x4eabfa,_0x539007,_0x136624,_0x213201),_0x1e96c8=_0x45097d(_0x4eabfa,_0x40bb53),{redos:_0x50f5ff,undos:_0x5de058}=_0x420693(_0x34fb4d,{'pivotTableId':_0xfe5f30,'unitId':_0x3c04bd,'subUnitId':_0x37f1fb},_0x57c8a7);return _0x238b6d['sequenceExecute']([..._0x25e6be[_0x191524(0x2fb)],..._0x1e96c8[_0x191524(0x2fb)],..._0x50f5ff],_0x34fb4d),_0x18a8cf[_0x191524(0x394)]({'unitID':_0x3c04bd,'redoMutations':[..._0x25e6be[_0x191524(0x2fb)],..._0x1e96c8[_0x191524(0x2fb)],..._0x50f5ff],'undoMutations':[..._0x25e6be[_0x191524(0x193)],..._0x1e96c8[_0x191524(0x193)],..._0x5de058]}),!0x0;}},_0x283123={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x1f7),'handler'(_0x14d557,_0x1672c6){const _0x9367d3=_0x29979c;if(!_0x1672c6)return!0x1;if(!!_0x14d557[_0x9367d3(0x272)](_0x238b6d['IConfigService'])['getConfig'](_0x2bb74b))return!0x0;const {pivotTableId:_0x5a3dac,targetCellPosition:_0xf5c2d9,unitId:_0x37e73e,subUnitId:_0x3f2dde}=_0x1672c6,_0x5bcb68=_0x14d557['get'](_0x2f79a9[_0x9367d3(0x2af)]);if(!_0x5bcb68[_0x9367d3(0x178)](_0x1672c6[_0x9367d3(0xb7)]))return!0x1;const _0xe33525=_0x5bcb68[_0x9367d3(0x337)](_0x5a3dac);if(!_0xe33525)return!0x1;const _0x2621ff=_0x5bcb68[_0x9367d3(0x398)](_0xe33525['unitId'],_0x1672c6[_0x9367d3(0xb7)]);if(!_0x2621ff)return!0x1;const _0x14d5bf=_0x5bcb68['getPivotTableConfig'](_0xe33525[_0x9367d3(0x24d)],_0xe33525[_0x9367d3(0x31e)],_0x5a3dac);if(!_0x14d5bf)return!0x1;const _0x5ef05a=_0x238b6d['Tools'][_0x9367d3(0x103)](_0x14d5bf);_0x5ef05a[_0x9367d3(0x27a)]={'unitId':_0x37e73e,'subUnitId':_0x3f2dde,'row':_0xf5c2d9[_0x9367d3(0x20d)],'col':_0xf5c2d9['col']};const _0x44b559=_0x2621ff['toJSON']();if(_0xe33525['subUnitId']===_0x3f2dde&&_0xe33525[_0x9367d3(0x24d)]===_0x37e73e)_0x5bcb68[_0x9367d3(0xf0)](_0x37e73e,_0x3f2dde,_0x5a3dac,_0x5ef05a),_0x5bcb68[_0x9367d3(0x2f3)]({'unitId':_0x37e73e,'subUnitId':_0x3f2dde,'token':_0x5a3dac,'type':_0x32bc0d[_0x9367d3(0x2dc)]});else{_0x5bcb68[_0x9367d3(0x2f3)]({'unitId':_0xe33525[_0x9367d3(0x24d)],'subUnitId':_0xe33525[_0x9367d3(0x31e)],'token':_0x5a3dac,'type':_0x32bc0d[_0x9367d3(0x154)]}),_0x5bcb68[_0x9367d3(0xf6)](_0xe33525['unitId'],_0xe33525[_0x9367d3(0x31e)],_0x5a3dac);const _0x39f3bc=_0x5bcb68[_0x9367d3(0x358)](_0x5a3dac,_0x44b559,_0x14d5bf[_0x9367d3(0x226)],_0x5ef05a['targetCellInfo']),_0x38e4ea=new _0x51a67c[(_0x9367d3(0x29b))](_0x39f3bc[_0x9367d3(0x3c0)],void 0x0,_0x5a3dac);_0x38e4ea['fromJSON'](_0x5ef05a[_0x9367d3(0x207)]),_0x5bcb68[_0x9367d3(0x2df)](_0x37e73e,_0x3f2dde,_0x5a3dac,_0x38e4ea,_0x5ef05a),_0x5bcb68[_0x9367d3(0x2f3)]({'unitId':_0x37e73e,'subUnitId':_0x3f2dde,'token':_0x5a3dac,'type':_0x32bc0d[_0x9367d3(0x38c)],'pivotConfig':_0x5ef05a});}return!0x0;}},_0x427a54={'type':_0x238b6d['CommandType']['COMMAND'],'id':_0x29979c(0xe3),'handler':(_0x1af2ca,_0xe6d640)=>{const _0x2f5ddf=_0x29979c,_0x2d0d45=_0x1af2ca[_0x2f5ddf(0x272)](_0x238b6d[_0x2f5ddf(0x13b)]),_0x73a928=_0x1af2ca['get'](_0x238b6d[_0x2f5ddf(0x1fa)]),_0x64f76d=_0x1af2ca[_0x2f5ddf(0x272)](_0x2f79a9['SheetsPivotTableConfigModel']),_0x30f858=_0x1af2ca[_0x2f5ddf(0x272)](_0x238b6d[_0x2f5ddf(0xd7)]);if(!_0xe6d640)return!0x1;const _0x26e635=_0x30ad02[_0x2f5ddf(0xdd)](_0x30f858);if(!_0x26e635)return!0x1;const {unitId:_0x3b649e,subUnitId:_0x3a50cb,workbook:_0x3ca7a2}=_0x26e635,_0x3b69ab=_0x64f76d['getPivotTableConfig'](_0xe6d640[_0x2f5ddf(0x177)][_0x2f5ddf(0x24d)],_0xe6d640['originTargetInfo'][_0x2f5ddf(0x31e)],_0xe6d640[_0x2f5ddf(0xb7)]);if(!_0x3b69ab)return!0x1;const _0x5bb88e=_0x3ca7a2[_0x2f5ddf(0x280)](_0xe6d640[_0x2f5ddf(0x27a)][_0x2f5ddf(0x31e)]);if(!_0x5bb88e)throw new Error(_0x2f5ddf(0x2b6));const _0x5c28b9=_0x5bb88e[_0x2f5ddf(0x3b3)](),_0xbf9037=_0x5bb88e[_0x2f5ddf(0x26b)]();if(_0xe6d640['targetCellInfo']['row']>_0x5c28b9||_0xe6d640['targetCellInfo'][_0x2f5ddf(0x232)]>_0xbf9037)throw new Error(_0x2f5ddf(0x382));const _0x220ca4=[{'id':_0x283123['id'],'params':{'unitId':_0x3b649e,'subUnitId':_0xe6d640[_0x2f5ddf(0x27a)]['subUnitId'],'pivotTableId':_0xe6d640[_0x2f5ddf(0xb7)],'targetCellPosition':{'row':_0xe6d640[_0x2f5ddf(0x27a)][_0x2f5ddf(0x20d)],'col':_0xe6d640['targetCellInfo'][_0x2f5ddf(0x232)]}}}],_0x32aae4=[{'id':_0x283123['id'],'params':{'unitId':_0x3b649e,'subUnitId':_0x3a50cb,'pivotTableId':_0xe6d640['pivotTableId'],'targetCellPosition':{'row':_0x3b69ab['targetCellInfo'][_0x2f5ddf(0x20d)],'col':_0x3b69ab[_0x2f5ddf(0x27a)]['col']}}}];return _0x238b6d[_0x2f5ddf(0x35d)](_0x220ca4,_0x2d0d45)&&_0x73a928['pushUndoRedo']({'unitID':_0x3b649e,'undoMutations':_0x32aae4,'redoMutations':_0x220ca4}),!0x0;}},_0x2b6f9c={'type':_0x238b6d['CommandType']['COMMAND'],'id':_0x29979c(0x32a),async 'handler'(_0x37bfa6,_0x46ab6f){const _0x2946d7=_0x29979c;var _0x2c7ec9;if(!_0x46ab6f)return!0x1;const _0x45ffeb=_0x37bfa6['get'](_0x238b6d[_0x2946d7(0xd7)]),_0x325ee5=_0x30ad02[_0x2946d7(0xdd)](_0x45ffeb);if(!_0x325ee5)return!0x1;const {unitId:_0x2c4a99,subUnitId:_0x18fdf9,workbook:_0x1b0900}=_0x325ee5,{row:_0x3791a3,col:_0x513bee}=_0x46ab6f,_0x4c84ea=_0x37bfa6[_0x2946d7(0x272)](_0x2f79a9[_0x2946d7(0x377)]),_0x1df873=_0x4c84ea[_0x2946d7(0x132)](_0x2c4a99,_0x18fdf9,_0x3791a3,_0x513bee);if(!_0x1df873)return!0x1;const _0x5120ee=(_0x2c7ec9=_0x4c84ea[_0x2946d7(0x240)](_0x2c4a99,_0x18fdf9,_0x1df873))==null?void 0x0:_0x2c7ec9['areaInfo'];if(!_0x5120ee)return!0x1;const _0xfd2a3d=_0x37bfa6[_0x2946d7(0x272)](_0x2f79a9[_0x2946d7(0x139)])[_0x2946d7(0xff)](_0x2c4a99,_0x18fdf9,_0x1df873);if(!_0xfd2a3d)return!0x1;const {rowInfo:_0x270064,colInfo:_0x51a257}=_0x5120ee,_0x952e6d=_0x270064[_0x3791a3][_0x2946d7(0x19f)],_0x2fca4f=_0x51a257[_0x513bee]['paths'],_0x16afcb=_0x270064[_0x3791a3][_0x2946d7(0x14f)],_0x567a35=_0x51a257[_0x513bee][_0x2946d7(0x14f)],_0x3d8c56=_0x952e6d[_0x2946d7(0x23f)](_0x2fca4f),_0x37dcfc=_0xfd2a3d[_0x2946d7(0x207)]['rowFields']['slice'](0x0,_0x16afcb),_0x47956f=_0xfd2a3d[_0x2946d7(0x207)][_0x2946d7(0x253)][_0x2946d7(0xd6)](0x0,_0x567a35),_0x2691a6=_0x37dcfc['concat'](_0x47956f),_0x33c41a=_0x3d8c56[_0x2946d7(0x162)]((_0x10eaa4,_0xa2e343)=>[_0x10eaa4,_0x2691a6[_0xa2e343]]),_0x2d5690=(await _0x37bfa6[_0x2946d7(0x272)](_0x2f79a9[_0x2946d7(0x25f)])[_0x2946d7(0x1de)]({'unitId':_0x2c4a99,'subUnitId':_0x18fdf9,'pivotTableId':_0x1df873,'params':{'type':_0x10895c['DrillDown'],'drillDown':{'tuple':_0x33c41a}}}))['result'][_0x2946d7(0x2ac)];if(!_0x2d5690)return!0x1;const {indexes:_0x326f01,range:_0x3690e0,sourceUnitId:_0x37c7f0,sourceSubUnitId:_0x2d5b75,formatMap:_0x3f93aa}=_0x2d5690,{startRow:_0x9a0b31,endRow:_0xfbdc2,startColumn:_0x1694ea,endColumn:_0x2aad28}=_0x3690e0,_0x42400c=new _0x238b6d[(_0x2946d7(0x2d6))](),_0x4e4532=_0xfbdc2-_0x9a0b31,_0x46b3b2=_0x2aad28-_0x1694ea,_0x114298={},_0x54fef7=_0x30ad02[_0x2946d7(0xdd)](_0x45ffeb,{'unitId':_0x37c7f0,'subUnitId':_0x2d5b75});if(!_0x54fef7)return!0x1;const _0x32e9a5=_0x54da07[_0x2946d7(0x353)],_0x5af06d=_0x54da07[_0x2946d7(0x2a9)],_0x19dfdd=_0x54da07[_0x2946d7(0x2a9)],_0x316a8b=_0x1b0900[_0x2946d7(0x282)]()[_0x2946d7(0x1aa)](_0x32e9a5),_0x1a4c7b=_0x1b0900[_0x2946d7(0x282)]()[_0x2946d7(0x1aa)](_0x5af06d),_0x3633dd=_0x1b0900['getStyles']()[_0x2946d7(0x1aa)](_0x19dfdd),{worksheet:_0x329e90}=_0x54fef7;let _0x41d1d7=0x0;const _0x550c42=0x1;_0x326f01[_0x2946d7(0x246)](_0x57eaa9=>{const _0x29891e=_0x2946d7;for(let _0x51b054=0x0;_0x51b054<=_0x2aad28-_0x1694ea;_0x51b054++)_0x42400c[_0x29891e(0x1aa)](_0x41d1d7,_0x51b054,_0x329e90['getCellRaw'](_0x57eaa9+_0x3690e0[_0x29891e(0x395)]+_0x550c42,_0x51b054));_0x41d1d7++;});for(let _0x134d7f=_0x1694ea;_0x134d7f<=_0x2aad28;_0x134d7f++){const _0x46e78b=_0x329e90[_0x2946d7(0x15d)](_0x9a0b31,_0x134d7f);_0x114298[_0x9a0b31]||(_0x114298[_0x9a0b31]={}),_0x114298[_0x9a0b31][_0x134d7f]={..._0x46e78b,'s':_0x316a8b};}let _0x3dea46=0x1;const _0x3d8585={},_0x54d564={};_0x42400c[_0x2946d7(0x359)]((_0x437494,_0x3636d1)=>{_0x3636d1['forEach'](_0x6d7273=>{const _0x1eb5e6=_0x21bd,_0x561909=_0x42400c[_0x1eb5e6(0x13a)](_0x437494,_0x6d7273);if(_0x114298[_0x3dea46]||(_0x114298[_0x3dea46]={}),_0x114298[_0x3dea46][_0x6d7273]={..._0x561909,'s':_0x3dea46%0x2===0x0?_0x3633dd:_0x1a4c7b},_0x3f93aa[_0x6d7273]&&_0x437494>=0x0){const _0x262697=_0x3dea46%0x2===0x0;let _0x285129=_0x262697?_0x54d564[_0x6d7273]:_0x3d8585[_0x6d7273];_0x285129||(_0x285129=_0x1b0900[_0x1eb5e6(0x282)]()[_0x1eb5e6(0x1aa)]({..._0x262697?_0x19dfdd:_0x5af06d,'n':{'pattern':_0x3f93aa[_0x6d7273]}}),_0x262697?_0x54d564[_0x6d7273]=_0x285129:_0x3d8585[_0x6d7273]=_0x285129),_0x114298[_0x3dea46][_0x6d7273]['s']=_0x285129;}}),_0x3dea46++;});const _0x3bfb7a=new _0x238b6d[(_0x2946d7(0x2d6))](_0x114298),_0x5ce3a3={};_0x3bfb7a[_0x2946d7(0x102)]((_0x36b4a2,_0x5ebfa1,_0x436a70)=>{_0x5ce3a3[_0x36b4a2]||(_0x5ce3a3[_0x36b4a2]={}),_0x5ce3a3[_0x36b4a2][_0x5ebfa1]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4decf2=[],_0x2184f4=[],_0x77994=_0x1b0900['getSheets']()[_0x2946d7(0x390)],_0x4314c2=_0x238b6d['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x2946d7(0x196)](_0x238b6d[_0x2946d7(0x2c7)],_0x4e4532+0xa),'columnCount':Math[_0x2946d7(0x196)](_0x238b6d[_0x2946d7(0x3ba)],_0x46b3b2+0x5)}),_0x5ba45c=_0x37bfa6[_0x2946d7(0x272)](_0x238b6d[_0x2946d7(0x31f)]);_0x4314c2['id']=_0x238b6d[_0x2946d7(0xca)](),_0x4314c2[_0x2946d7(0x331)]=_0x1b0900[_0x2946d7(0x12a)](''+_0x5ba45c['t']('sheets.tabs.sheet'));const _0x5c557b={'index':_0x77994,'sheet':_0x4314c2,'unitId':_0x2c4a99},_0x56f368=_0x30ad02['InsertSheetUndoMutationFactory'](_0x37bfa6,_0x5c557b);_0x2184f4['push']({'id':_0x30ad02['InsertSheetMutation']['id'],'params':_0x5c557b}),_0x4decf2['push']({'id':_0x30ad02[_0x2946d7(0xb5)]['id'],'params':_0x56f368}),_0x2184f4[_0x2946d7(0x35f)]({'id':_0x30ad02[_0x2946d7(0x2ca)]['id'],'params':{'unitId':_0x2c4a99,'subUnitId':_0x4314c2['id'],'cellValue':_0x114298}}),_0x4decf2[_0x2946d7(0x3a9)]({'id':_0x30ad02['SetRangeValuesMutation']['id'],'params':{'unitId':_0x2c4a99,'subUnitId':_0x4314c2['id'],'cellValue':_0x5ce3a3}});const _0x8a5507={'startRow':0x0,'startColumn':0x0,'endRow':_0x3dea46-0x1,'endColumn':_0x2aad28};_0x2184f4[_0x2946d7(0x35f)]({'id':_0x1a207e['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x2c4a99,'subUnitId':_0x4314c2['id'],'range':_0x8a5507}}),_0x4decf2['unshift']({'id':_0x1a207e[_0x2946d7(0x31c)]['id'],'params':{'unitId':_0x2c4a99,'subUnitId':_0x4314c2['id']}});const _0x53b91e=_0x37bfa6['get'](_0x238b6d['ICommandService']);return _0x238b6d[_0x2946d7(0x35d)](_0x2184f4,_0x53b91e)&&_0x37bfa6[_0x2946d7(0x272)](_0x238b6d['IUndoRedoService'])[_0x2946d7(0x394)]({'unitID':_0x2c4a99,'undoMutations':_0x4decf2,'redoMutations':_0x2184f4}),!0x0;}},_0x260809={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x3a4)],'id':_0x29979c(0x15c),async 'handler'(_0x47c253,_0x185a9e){const _0x1107b4=_0x29979c;if(!_0x185a9e)return!0x1;const _0xddc6c2=_0x47c253[_0x1107b4(0x272)](_0x238b6d[_0x1107b4(0x13b)]),_0x4f625f=_0x47c253[_0x1107b4(0x272)](_0x2f79a9[_0x1107b4(0x25f)]),_0x458278=_0x47c253[_0x1107b4(0x272)](_0x238b6d[_0x1107b4(0x1fa)]),{pivotTableId:_0x527a8b,fieldIds:_0x174440,unitId:_0x35081f,subUnitId:_0x5e3cd7}=_0x185a9e,_0x16eae0=(await _0x4f625f[_0x1107b4(0x1de)]({'unitId':_0x35081f,'subUnitId':_0x5e3cd7,'pivotTableId':_0x527a8b,'params':{'type':_0x10895c[_0x1107b4(0x118)],'removePivotField':{'fieldIds':_0x174440}}}))[_0x1107b4(0x2db)][_0x1107b4(0x143)];if(!_0x16eae0)return!0x1;const {view:_0xf06bae,changesets:_0x3ad57d,isEmpty:_0x4dafc7,pivotTableConfig:_0x5f1aca}=_0x16eae0,_0x15f5a9=_0x5f1aca[_0x1107b4(0x27a)],_0x454b3=new _0x51a67c[(_0x1107b4(0x2b1))]();_0x454b3[_0x1107b4(0x1f4)](_0xf06bae);const _0x252a46={'cellInfo':_0x15f5a9,'view':_0x454b3,'isEmpty':_0x4dafc7};if(!await _0x47c253['get'](_0x2f79a9[_0x1107b4(0x231)])[_0x1107b4(0x1be)][_0x1107b4(0xe7)](_0x36545b)(!0x0,_0x252a46))return!0x1;const _0x2f027d=_0x1b8251(_0x47c253,_0x454b3,_0x15f5a9,_0x4dafc7),_0x3c025c=_0x45097d(_0x47c253,_0x252a46),{redos:_0x3490e6,undos:_0x5e698f}=_0x420693(_0xddc6c2,{'pivotTableId':_0x527a8b,'unitId':_0x35081f,'subUnitId':_0x5e3cd7},_0x3ad57d);return _0x238b6d['sequenceExecute']([..._0x2f027d[_0x1107b4(0x2fb)],..._0x3c025c[_0x1107b4(0x2fb)],..._0x3490e6],_0xddc6c2),_0x458278['pushUndoRedo']({'unitID':_0x35081f,'redoMutations':[..._0x2f027d['redos'],..._0x3c025c['redos'],..._0x3490e6],'undoMutations':[..._0x2f027d[_0x1107b4(0x193)],..._0x3c025c[_0x1107b4(0x193)],..._0x5e698f]}),!0x0;}},_0x415599={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x3a4)],'id':_0x29979c(0x341),async 'handler'(_0x49a2c3,_0x590663){const _0x165a59=_0x29979c;if(!_0x590663)return!0x1;const _0x5737e7=_0x49a2c3[_0x165a59(0x272)](_0x238b6d[_0x165a59(0x13b)]),_0x2eed34=_0x49a2c3[_0x165a59(0x272)](_0x238b6d[_0x165a59(0x1fa)]),_0x27a118=_0x49a2c3[_0x165a59(0x272)](_0x2f79a9['SheetsPivotRPCService']),{resetArea:_0x65eb6d,pivotTableId:_0x144b18,unitId:_0xf7714c,subUnitId:_0x165e5c}=_0x590663,_0xb73caf=(await _0x27a118[_0x165a59(0x1de)]({'unitId':_0xf7714c,'subUnitId':_0x165e5c,'pivotTableId':_0x144b18,'params':{'type':_0x10895c['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x144b18,'resetArea':_0x65eb6d}}}))[_0x165a59(0x2db)]['resetPivotTable'];if(!_0xb73caf)return!0x1;const {changesets:_0x8c9a0f}=_0xb73caf,{redos:_0x9c347a,undos:_0x316adb}=_0x420693(_0x5737e7,{'pivotTableId':_0x144b18,'unitId':_0xf7714c,'subUnitId':_0x165e5c},_0x8c9a0f);return _0x238b6d[_0x165a59(0x35d)](_0x9c347a,_0x5737e7),_0x2eed34[_0x165a59(0x394)]({'unitID':_0xf7714c,'redoMutations':_0x9c347a,'undoMutations':_0x316adb}),!0x0;}},_0x4ac040={'type':_0x238b6d['CommandType'][_0x29979c(0x3a4)],'id':_0x29979c(0x2dd),async 'handler'(_0x32ef33,_0x31f7ce){const _0x99100e=_0x29979c,_0x9aa65b=_0x32ef33[_0x99100e(0x272)](_0x238b6d[_0x99100e(0x13b)]),_0x27859e=_0x32ef33['get'](_0x2f79a9[_0x99100e(0x25f)]),_0x2e43cc=_0x32ef33[_0x99100e(0x272)](_0x2f79a9[_0x99100e(0x377)]),_0x174d6b=_0x32ef33['get'](_0x238b6d['IUniverInstanceService']),_0x19e2e7=_0x32ef33[_0x99100e(0x272)](_0x238b6d[_0x99100e(0x31f)]),_0x2bb02b=_0x32ef33[_0x99100e(0x272)](_0x238b6d[_0x99100e(0x1fa)]);if(!_0x31f7ce)return!0x1;const {unitId:_0x138c3b,subUnitId:_0x51b9c3,row:_0x2e5dba,col:_0x7a744f,collapse:_0x38d596}=_0x31f7ce,_0x1d4e61=_0x174d6b[_0x99100e(0xe1)](_0x138c3b);if(!_0x1d4e61||!_0x1d4e61[_0x99100e(0x280)](_0x51b9c3))return!0x1;const _0x33a5b3=_0x2e43cc[_0x99100e(0x132)](_0x138c3b,_0x51b9c3,_0x2e5dba,_0x7a744f);if(!_0x33a5b3)return!0x1;const _0x426600=_0x2e43cc[_0x99100e(0x240)](_0x138c3b,_0x51b9c3,_0x33a5b3);if(!_0x426600)return!0x1;const _0x1eefce=_0x238b6d[_0x99100e(0xdf)](_0x2e5dba,_0x7a744f),{rangesInfo:_0x20f4d2,areaInfo:_0x244104,headerMap:_0x23bd5e}=_0x426600;if(!_0x20f4d2||!_0x244104||!_0x23bd5e)return!0x1;const _0x67e366=Object[_0x99100e(0x1e5)](_0x20f4d2)['find'](_0x30e1f3=>_0x20f4d2[_0x30e1f3]['some'](_0x4ca9f8=>_0x238b6d[_0x99100e(0x38f)][_0x99100e(0x146)](_0x4ca9f8,_0x1eefce)));let _0x4e8cb4;_0x67e366===_0x99100e(0x369)?_0x4e8cb4=_0x23bd5e[_0x99100e(0x29c)][_0x7a744f]:_0x67e366==='colRanges'&&(_0x4e8cb4=_0x23bd5e[_0x99100e(0x1b6)][_0x2e5dba]);const _0x3a218a=_0x4e8cb4==null?void 0x0:_0x4e8cb4['tableFieldId'],_0x34f3c9=_0x2e43cc[_0x99100e(0x258)](_0x138c3b,_0x51b9c3,_0x2e5dba,_0x7a744f);let _0x389069=_0x34f3c9==null?void 0x0:_0x34f3c9['v'];if(_0x389069===_0x19e2e7['t']('sheets-pivot.blank')&&(_0x389069=_0x51a67c[_0x99100e(0x255)][_0x99100e(0x2c5)]),_0x389069==null||!_0x33a5b3||!_0x3a218a)return!0x1;const _0x1e8c8b=await _0x27859e['getPivotDisplayConfig']({'unitId':_0x138c3b,'subUnitId':_0x51b9c3,'pivotTableId':_0x33a5b3,'params':{'type':_0x10895c[_0x99100e(0x23e)],'setPivotCollapse':{'tableFieldId':_0x3a218a,'collapse':_0x38d596,'item':_0x389069}}}),_0x28fce9=_0x1e8c8b==null?void 0x0:_0x1e8c8b[_0x99100e(0x2db)]['setPivotCollapse'];if(!_0x28fce9)return!0x1;const {view:_0x27a16c,pivotTableConfig:_0x34f6a4,isEmpty:_0xb802a4,changesets:_0x1502ae}=_0x28fce9,_0x962b13=new _0x51a67c['PivotView']();_0x962b13[_0x99100e(0x1f4)](_0x27a16c);const _0x2c5d09=_0x34f6a4[_0x99100e(0x27a)],_0x2e4cc9={'cellInfo':_0x2c5d09,'view':_0x962b13,'isEmpty':_0xb802a4};if(!await _0x32ef33[_0x99100e(0x272)](_0x2f79a9[_0x99100e(0x231)])[_0x99100e(0x1be)][_0x99100e(0xe7)](_0x36545b)(!0x0,_0x2e4cc9))return!0x1;const _0x1b191b=_0x1b8251(_0x32ef33,_0x962b13,_0x2c5d09,_0xb802a4),_0x1435a2=_0x45097d(_0x32ef33,_0x2e4cc9),{redos:_0x1e573d,undos:_0x22c43d}=_0x420693(_0x9aa65b,{'pivotTableId':_0x33a5b3,'unitId':_0x138c3b,'subUnitId':_0x51b9c3},_0x1502ae);return _0x238b6d[_0x99100e(0x35d)]([..._0x1b191b[_0x99100e(0x2fb)],..._0x1435a2[_0x99100e(0x2fb)],..._0x1e573d],_0x9aa65b),_0x2bb02b['pushUndoRedo']({'unitID':_0x138c3b,'redoMutations':[..._0x1b191b[_0x99100e(0x2fb)],..._0x1435a2[_0x99100e(0x2fb)],..._0x1e573d],'undoMutations':[..._0x1b191b['undos'],..._0x1435a2['undos'],..._0x22c43d]}),!0x0;}},_0x2731ad={'type':_0x238b6d[_0x29979c(0x159)]['COMMAND'],'id':_0x29979c(0x17a),async 'handler'(_0x139b9f,_0x910e88){const _0x8b5daa=_0x29979c;if(!_0x910e88)return!0x1;const _0x772aac=_0x139b9f[_0x8b5daa(0x272)](_0x238b6d[_0x8b5daa(0x13b)]),_0x529977=_0x139b9f[_0x8b5daa(0x272)](_0x238b6d['IUndoRedoService']),_0x37add5=_0x139b9f[_0x8b5daa(0x272)](_0x2f79a9[_0x8b5daa(0x25f)]),{pivotTableConfig:_0x5e7c6f,pivotTableId:_0xfdab5c,unitId:_0x2207ec,subUnitId:_0x355a83}=_0x910e88,_0x413fd2=(await _0x37add5[_0x8b5daa(0x1de)]({'unitId':_0x2207ec,'subUnitId':_0x355a83,'pivotTableId':_0xfdab5c,'params':{'type':_0x10895c[_0x8b5daa(0xce)],'setPivotTableConfig':{'pivotTableId':_0xfdab5c,'pivotTableConfig':_0x5e7c6f}}}))[_0x8b5daa(0x2db)][_0x8b5daa(0x1f6)];if(!_0x413fd2)return!0x1;const {changesets:_0x3d16f4}=_0x413fd2,{redos:_0x55df0d,undos:_0x37ad68}=_0x420693(_0x772aac,{'pivotTableId':_0xfdab5c,'unitId':_0x2207ec,'subUnitId':_0x355a83},_0x3d16f4);return _0x238b6d['sequenceExecute'](_0x55df0d,_0x772aac),_0x529977['pushUndoRedo']({'unitID':_0x2207ec,'redoMutations':_0x55df0d,'undoMutations':_0x37ad68}),!0x0;}},_0x492ef4={'type':_0x238b6d[_0x29979c(0x159)]['COMMAND'],'id':_0x29979c(0x367),async 'handler'(_0x17f793,_0xcd936c){const _0x2994d2=_0x29979c;if(!_0xcd936c)return!0x1;const _0x5e796b=_0x17f793[_0x2994d2(0x272)](_0x238b6d[_0x2994d2(0x13b)]),{pivotTableId:_0x1da07f,tableFieldId:_0x5ef117,items:_0x332492,unitId:_0xb29884,subUnitId:_0x1828a3,isAll:_0x45d11b}=_0xcd936c,_0x1d823b=_0x17f793[_0x2994d2(0x272)](_0x2f79a9[_0x2994d2(0x25f)]),_0x1b7f70=_0x17f793['get'](_0x238b6d[_0x2994d2(0x1fa)]),_0x1f2c61=(await _0x1d823b[_0x2994d2(0x1de)]({'unitId':_0xb29884,'subUnitId':_0x1828a3,'pivotTableId':_0x1da07f,'params':{'type':_0x10895c['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x5ef117,'items':_0x332492,'isAll':_0x45d11b}}}))[_0x2994d2(0x2db)]['setPivotFilter'];if(!_0x1f2c61)return!0x1;const {changesets:_0x280ae0,pivotTableConfig:_0x29cfba,isEmpty:_0x3c8fef,view:_0x19f5e2}=_0x1f2c61,_0x2a71c2=_0x29cfba[_0x2994d2(0x27a)],_0x13ece1=new _0x51a67c[(_0x2994d2(0x2b1))]();_0x13ece1[_0x2994d2(0x1f4)](_0x19f5e2);const _0x21dd4b={'cellInfo':_0x2a71c2,'view':_0x13ece1,'isEmpty':_0x3c8fef};if(!await _0x17f793[_0x2994d2(0x272)](_0x2f79a9[_0x2994d2(0x231)])[_0x2994d2(0x1be)]['fetchThroughAsyncInterceptors'](_0x36545b)(!0x0,_0x21dd4b))return!0x1;const _0x48c8b7=_0x1b8251(_0x17f793,_0x13ece1,_0x2a71c2,_0x3c8fef),_0x568988=_0x45097d(_0x17f793,_0x21dd4b),{undos:_0x3026df,redos:_0x30b829}=_0x420693(_0x5e796b,{'pivotTableId':_0x1da07f,'unitId':_0xb29884,'subUnitId':_0x1828a3},_0x280ae0);return _0x238b6d['sequenceExecute']([..._0x48c8b7['redos'],..._0x568988[_0x2994d2(0x2fb)],..._0x30b829],_0x5e796b),_0x1b7f70[_0x2994d2(0x394)]({'unitID':_0xb29884,'redoMutations':[..._0x48c8b7[_0x2994d2(0x2fb)],..._0x568988[_0x2994d2(0x2fb)],..._0x30b829],'undoMutations':[..._0x48c8b7[_0x2994d2(0x193)],..._0x568988[_0x2994d2(0x193)],..._0x3026df]}),!0x0;}},_0x1d9412={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x3a4)],'id':_0x29979c(0x18f),async 'handler'(_0x6b07e,_0x3f2402){const _0xa8ecb2=_0x29979c;if(!_0x3f2402)return!0x1;const _0x1e6702=_0x6b07e[_0xa8ecb2(0x272)](_0x238b6d[_0xa8ecb2(0x13b)]),_0x10179d=_0x6b07e[_0xa8ecb2(0x272)](_0x238b6d[_0xa8ecb2(0x1fa)]),_0x428240=_0x6b07e[_0xa8ecb2(0x272)](_0x2f79a9[_0xa8ecb2(0x25f)]),{info:_0x57954d,tableFieldId:_0x478dd1,pivotTableId:_0x39d03f,unitId:_0x3a6886,subUnitId:_0x1c4c2c}=_0x3f2402,_0x18421e=(await _0x428240['getPivotDisplayConfig']({'unitId':_0x3a6886,'subUnitId':_0x1c4c2c,'pivotTableId':_0x39d03f,'params':{'type':_0x10895c[_0xa8ecb2(0x335)],'setPivotSort':{'tableFieldId':_0x478dd1,'info':_0x57954d}}}))[_0xa8ecb2(0x2db)][_0xa8ecb2(0x11f)];if(!_0x18421e)return!0x1;const {changesets:_0x4a03a9}=_0x18421e,{redos:_0x40c851,undos:_0x9d4c5b}=_0x420693(_0x1e6702,{'pivotTableId':_0x39d03f,'unitId':_0x3a6886,'subUnitId':_0x1c4c2c},_0x4a03a9);return _0x238b6d[_0xa8ecb2(0x35d)](_0x40c851,_0x1e6702),_0x10179d['pushUndoRedo']({'unitID':_0x3a6886,'redoMutations':_0x40c851,'undoMutations':_0x9d4c5b}),!0x0;}},_0x16a82c={'type':_0x238b6d[_0x29979c(0x159)]['COMMAND'],'id':_0x29979c(0x32c),async 'handler'(_0x1b38e2,_0x42780f){const _0x42d9fd=_0x29979c;if(!_0x42780f)return!0x1;const _0x4e0cc6=_0x1b38e2['get'](_0x238b6d[_0x42d9fd(0x13b)]),{pivotTableId:_0x17d248,fieldId:_0x1e34ea,valueFilterInfo:_0x33ce8b,unitId:_0x3d7168,subUnitId:_0x5585c5}=_0x42780f,_0x55b3f3=_0x1b38e2['get'](_0x2f79a9[_0x42d9fd(0x25f)]),_0x25e313=_0x1b38e2[_0x42d9fd(0x272)](_0x238b6d[_0x42d9fd(0x1fa)]),_0x2f6829=(await _0x55b3f3[_0x42d9fd(0x1de)]({'unitId':_0x3d7168,'subUnitId':_0x5585c5,'pivotTableId':_0x17d248,'params':{'type':_0x10895c[_0x42d9fd(0x396)],'setValuePivotFilter':{'tableFieldId':_0x1e34ea,'filterInfo':_0x33ce8b}}}))[_0x42d9fd(0x2db)][_0x42d9fd(0x351)];if(!_0x2f6829)return!0x1;const {changesets:_0x817d97,pivotTableConfig:_0x32d715,isEmpty:_0x111a99,view:_0x16e7b3}=_0x2f6829,_0x3ecb65=_0x32d715[_0x42d9fd(0x27a)],_0x5443b2=new _0x51a67c[(_0x42d9fd(0x2b1))]();_0x5443b2[_0x42d9fd(0x1f4)](_0x16e7b3);const _0x1dca25={'cellInfo':_0x3ecb65,'view':_0x5443b2,'isEmpty':_0x111a99};if(!await _0x1b38e2[_0x42d9fd(0x272)](_0x2f79a9['SheetsPivotTableService'])[_0x42d9fd(0x1be)][_0x42d9fd(0xe7)](_0x36545b)(!0x0,_0x1dca25))return!0x1;const _0x26329c=_0x1b8251(_0x1b38e2,_0x5443b2,_0x3ecb65,_0x111a99),_0x2c0fc0=_0x45097d(_0x1b38e2,_0x1dca25),{undos:_0x20a184,redos:_0x427973}=_0x420693(_0x4e0cc6,{'pivotTableId':_0x17d248,'unitId':_0x3d7168,'subUnitId':_0x5585c5},_0x817d97);return _0x238b6d[_0x42d9fd(0x35d)]([..._0x26329c[_0x42d9fd(0x2fb)],..._0x2c0fc0[_0x42d9fd(0x2fb)],..._0x427973],_0x4e0cc6),_0x25e313[_0x42d9fd(0x394)]({'unitID':_0x3d7168,'redoMutations':[..._0x26329c[_0x42d9fd(0x2fb)],..._0x2c0fc0[_0x42d9fd(0x2fb)],..._0x427973],'undoMutations':[..._0x26329c[_0x42d9fd(0x193)],..._0x2c0fc0[_0x42d9fd(0x193)],..._0x20a184]}),!0x0;}},_0x51d977={'id':'sheet.mutation.update-date-group','type':_0x238b6d['CommandType']['MUTATION'],'handler':(_0xf95757,_0x5d62b0)=>{const _0x5c3468=_0x29979c;if(!_0x5d62b0)return!0x1;if(!!_0xf95757['get'](_0x238b6d[_0x5c3468(0x1dd)])['getConfig'](_0x2bb74b))return!0x0;const {unitId:_0x3f78a0,subUnitId:_0x2c699a,pivotTableId:_0x370f63,tableFieldId:_0x385a0f,dateType:_0x485aaa}=_0x5d62b0,_0x2acdad=_0xf95757[_0x5c3468(0x272)](_0x2f79a9[_0x5c3468(0x2af)]),_0x4be4be=_0x2acdad[_0x5c3468(0x178)](_0x370f63);if(!_0x4be4be)return!0x1;const _0x3b1486=_0x4be4be[_0x5c3468(0x2a3)](_0x385a0f);if(!_0x3b1486)return!0x1;const _0x23543c=_0x3b1486[_0x5c3468(0x20a)](),_0x122956=_0x4be4be[_0x5c3468(0x1a8)](_0x23543c),_0x3006ab=(_0x122956==null?void 0x0:_0x122956[_0x5c3468(0x188)]())+'\x20'+_0x2d4709(_0xf95757,_0x485aaa);_0x2acdad[_0x5c3468(0x398)](_0x3f78a0,_0x370f63)[_0x5c3468(0x19a)](_0x3b1486['id'],_0x3006ab);const _0x43b217=_0x4be4be[_0x5c3468(0x25a)](_0x385a0f);if(!_0x43b217)return!0x1;_0x4be4be[_0x5c3468(0x2f9)](_0x43b217[_0x5c3468(0x3b7)](),_0x3006ab),_0x3b1486[_0x5c3468(0x245)](_0x485aaa);const _0x77d8e6=_0x2acdad[_0x5c3468(0xff)](_0x3f78a0,_0x2c699a,_0x370f63);return _0x2acdad['addDirtyPivotTable']({'unitId':_0x3f78a0,'subUnitId':_0x2c699a,'token':_0x370f63,'type':_0x32bc0d[_0x5c3468(0x2dc)],'pivotConfig':_0x77d8e6}),!0x0;}},_0x18f639={'id':_0x29979c(0x1ad),'type':_0x238b6d[_0x29979c(0x159)]['COMMAND'],'handler':(_0x2c6313,_0x3bdf1e)=>{const _0x59cbc5=_0x29979c;if(!_0x3bdf1e)return!0x1;const _0x92700c=_0x2c6313[_0x59cbc5(0x272)](_0x238b6d[_0x59cbc5(0x1fa)]),{unitId:_0x44ca89,subUnitId:_0x58b5e7,pivotTableId:_0x416c3f,tableFieldId:_0x322eb2}=_0x3bdf1e,_0x3490f8=[],_0x3555a6=[],_0x10dd27=_0x2c6313[_0x59cbc5(0x272)](_0x2f79a9['SheetsPivotTableConfigModel']),_0x4f760f=_0x10dd27[_0x59cbc5(0x398)](_0x44ca89,_0x416c3f),_0x40378c=_0x10dd27[_0x59cbc5(0xff)](_0x44ca89,_0x58b5e7,_0x416c3f);if(!(_0x40378c!=null&&_0x40378c[_0x59cbc5(0x207)]['dimension']))return!0x1;const _0x1ee242=Object[_0x59cbc5(0x285)](_0x40378c[_0x59cbc5(0x207)][_0x59cbc5(0x20e)])[_0x59cbc5(0x3cc)](_0x4881c7=>_0x4881c7['id']===_0x322eb2);if(!_0x1ee242)return!0x1;const _0x5dde14=_0x1ee242[_0x59cbc5(0x34a)];if(!(_0x4f760f!=null&&_0x4f760f[_0x59cbc5(0x2b7)]))return!0x1;const _0x28fbbb=Object[_0x59cbc5(0x285)](_0x4f760f==null?void 0x0:_0x4f760f[_0x59cbc5(0x2b7)])['find'](_0x507e22=>_0x507e22['id']===_0x5dde14);if(!_0x28fbbb)return!0x1;_0x51a67c[_0x59cbc5(0x1b0)](_0x28fbbb)&&_0x3490f8[_0x59cbc5(0x35f)]({'id':_0x51d977['id'],'params':{..._0x3bdf1e,'dateType':_0x28fbbb[_0x59cbc5(0x172)]}}),_0x3555a6['push']({'id':_0x51d977['id'],'params':{..._0x3bdf1e}});const _0xa484f5=_0x2c6313[_0x59cbc5(0x272)](_0x238b6d['ICommandService']);return _0x238b6d['sequenceExecute'](_0x3555a6,_0xa484f5)&&_0x92700c[_0x59cbc5(0x394)]({'unitID':_0x44ca89,'undoMutations':_0x3490f8,'redoMutations':_0x3555a6}),!0x0;}},_0x58c89c={'type':_0x238b6d[_0x29979c(0x159)]['COMMAND'],'id':_0x29979c(0x1cb),async 'handler'(_0x3c1a80,_0x1f69b5){const _0xd57086=_0x29979c;if(!_0x1f69b5)return!0x1;const _0x1f5e12=_0x3c1a80[_0xd57086(0x272)](_0x238b6d[_0xd57086(0x13b)]),_0x421e56=_0x3c1a80['get'](_0x238b6d[_0xd57086(0x1fa)]),_0x498fc4=_0x3c1a80[_0xd57086(0x272)](_0x2f79a9[_0xd57086(0x25f)]),{displayName:_0x225eb0,subtotalType:_0xa7cd8c,format:_0x4dded3,tableFieldId:_0xb8771a,pivotTableId:_0x5d7073,unitId:_0x3f0536,subUnitId:_0x7bfb66}=_0x1f69b5,_0x283f09=(await _0x498fc4[_0xd57086(0x1de)]({'unitId':_0x3f0536,'subUnitId':_0x7bfb66,'pivotTableId':_0x5d7073,'params':{'type':_0x10895c[_0xd57086(0x28e)],'setPivotSetting':{'tableFieldId':_0xb8771a,'displayName':_0x225eb0,'subtotalType':_0xa7cd8c,'format':_0x4dded3}}}))[_0xd57086(0x2db)]['setPivotSetting'];if(!_0x283f09)return!0x1;const {changesets:_0x2d11d0,view:_0x4183be,pivotTableConfig:_0x5e20e5,isEmpty:_0x4af3b8}=_0x283f09,_0x14f9fe=_0x5e20e5[_0xd57086(0x27a)],_0x4cf520=new _0x51a67c['PivotView']();_0x4cf520[_0xd57086(0x1f4)](_0x4183be);const _0x3073b3={'cellInfo':_0x14f9fe,'view':_0x4cf520,'isEmpty':_0x4af3b8};if(!await _0x3c1a80[_0xd57086(0x272)](_0x2f79a9[_0xd57086(0x231)])['asyncInterceptor'][_0xd57086(0xe7)](_0x36545b)(!0x0,_0x3073b3))return!0x1;const _0x383c91=_0x1b8251(_0x3c1a80,_0x4cf520,_0x14f9fe,_0x4af3b8),_0x32c76a=_0x45097d(_0x3c1a80,_0x3073b3),{undos:_0x1890e3,redos:_0x1f0e04}=_0x420693(_0x1f5e12,{'pivotTableId':_0x5d7073,'unitId':_0x3f0536,'subUnitId':_0x7bfb66},_0x2d11d0);return _0x238b6d[_0xd57086(0x35d)]([..._0x383c91[_0xd57086(0x2fb)],..._0x32c76a[_0xd57086(0x2fb)],..._0x1f0e04],_0x1f5e12),_0x421e56[_0xd57086(0x394)]({'unitID':_0x3f0536,'redoMutations':[..._0x383c91[_0xd57086(0x2fb)],..._0x32c76a[_0xd57086(0x2fb)],..._0x1f0e04],'undoMutations':[..._0x383c91['undos'],..._0x32c76a['undos'],..._0x1890e3]}),!0x0;}},_0x37e103={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x263),'handler'(_0x212a54,_0x4b8b31){const _0x4e6401=_0x29979c;if(!_0x4b8b31)return!0x1;if(!!_0x212a54[_0x4e6401(0x272)](_0x238b6d[_0x4e6401(0x1dd)])[_0x4e6401(0x128)](_0x2bb74b))return!0x0;const _0x362443=_0x212a54[_0x4e6401(0x272)](_0x2f79a9[_0x4e6401(0x2af)]),{pivotTableId:_0x3671e3,deleteIds:_0x8c2e2c,collectionJSON:_0x5c4dee,dataRangeInfo:_0x499c56,unitId:_0x34cb80,subUnitId:_0xa9a7d7}=_0x4b8b31,_0x1ade36=_0x362443['getPivotTableInstance'](_0x3671e3),_0x562f67=_0x362443[_0x4e6401(0xff)](_0x34cb80,_0xa9a7d7,_0x3671e3);if(!_0x1ade36||!_0x562f67)return!0x1;const {collection:_0x3b003a,updateDataFieldList:_0x4d9792}=_0x362443['addCollectionByJSON'](_0x3671e3,_0x5c4dee,_0x499c56,_0x562f67['targetCellInfo']);_0x362443[_0x4e6401(0x269)](_0x3b003a,_0x4d9792,_0x499c56),_0x1ade36[_0x4e6401(0x256)](_0x3b003a);for(const _0x24365a of _0x8c2e2c)_0x362443['removeDataField'](_0x499c56[_0x4e6401(0x24d)],_0x24365a);const _0x48f222=_0x362443[_0x4e6401(0xff)](_0x34cb80,_0xa9a7d7,_0x3671e3);return _0x48f222[_0x4e6401(0x226)]=JSON['parse'](JSON['stringify'](_0x499c56)),_0x362443['addDirtyPivotTable']({'unitId':_0x34cb80,'subUnitId':_0xa9a7d7,'token':_0x3671e3,'type':_0x32bc0d['Set']}),!0x0;}},_0x18f454={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x3a4)],'id':_0x29979c(0x1df),async 'handler'(_0x33f4ec,_0x25f28c){const _0x33542d=_0x29979c,_0x3276da=_0x33f4ec[_0x33542d(0x272)](_0x238b6d[_0x33542d(0x13b)]),_0x3da5e8=_0x33f4ec[_0x33542d(0x272)](_0x2f79a9[_0x33542d(0x25f)]),_0x2fe9dc=_0x33f4ec[_0x33542d(0x272)](_0x238b6d[_0x33542d(0x1fa)]);if(!_0x25f28c)return!0x1;const {token:_0x5f4d89,dataRangeInfo:_0x2fdca6,unitId:_0x25868f,subUnitId:_0x10df32}=_0x25f28c,_0x31e425=[],_0x35a4da=[],_0x3c6e35=(await _0x3da5e8[_0x33542d(0x1de)]({'unitId':_0x25868f,'subUnitId':_0x10df32,'pivotTableId':_0x5f4d89,'params':{'type':_0x10895c[_0x33542d(0xe9)],'updatePivotSource':{'dataRangeInfo':_0x2fdca6,'unitId':_0x25868f,'subUnitId':_0x10df32}}}))[_0x33542d(0x2db)][_0x33542d(0x1cd)];if(!_0x3c6e35)return!0x1;const {changesets:_0x632613,deleteIds:_0x322840,collectionConfig:_0x13ed65,oldCollectionConfig:_0x114cd4,view:_0x3b78d2,isEmpty:_0x4ea772,pivotTableConfig:_0xa3a14a}=_0x3c6e35;_0x35a4da['push']({'id':_0x37e103['id'],'params':{'pivotTableId':_0x5f4d89,'deleteIds':_0x322840,'collectionJSON':_0x13ed65,'dataRangeInfo':_0x2fdca6,'unitId':_0x25868f,'subUnitId':_0x10df32}}),_0x31e425[_0x33542d(0x3a9)]({'id':_0x37e103['id'],'params':{'pivotTableId':_0x5f4d89,'deleteIds':[],'collectionJSON':_0x114cd4,'dataRangeInfo':_0xa3a14a[_0x33542d(0x226)],'unitId':_0x25868f,'subUnitId':_0x10df32}});const _0x132155=_0xa3a14a[_0x33542d(0x27a)],_0x4764d8=new _0x51a67c[(_0x33542d(0x2b1))]();_0x4764d8['formJSON'](_0x3b78d2);const _0x563f57={'cellInfo':_0x132155,'view':_0x4764d8,'isEmpty':_0x4ea772};if(!await _0x33f4ec[_0x33542d(0x272)](_0x2f79a9['SheetsPivotTableService'])[_0x33542d(0x1be)]['fetchThroughAsyncInterceptors'](_0x36545b)(!0x0,_0x563f57))return!0x1;const _0x138bcb=_0x1b8251(_0x33f4ec,_0x4764d8,_0x132155,_0x4ea772),_0x212719=_0x45097d(_0x33f4ec,_0x563f57),{undos:_0x3d4618,redos:_0x1ff2ad}=_0x420693(_0x3276da,{'pivotTableId':_0x5f4d89,'unitId':_0x25868f,'subUnitId':_0x10df32},_0x632613);return _0x238b6d[_0x33542d(0x35d)]([..._0x138bcb[_0x33542d(0x2fb)],..._0x212719['redos'],..._0x35a4da,..._0x3d4618],_0x3276da),_0x2fe9dc['pushUndoRedo']({'unitID':_0x25868f,'redoMutations':[..._0x138bcb['redos'],..._0x212719[_0x33542d(0x2fb)],..._0x35a4da,..._0x3d4618],'undoMutations':[..._0x138bcb[_0x33542d(0x193)],..._0x212719[_0x33542d(0x193)],..._0x31e425,..._0x1ff2ad]}),!0x0;}},_0x38ec85={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x3a4)],'id':_0x29979c(0x2c0),async 'handler'(_0x22cf9f,_0x439db7){const _0x8b4200=_0x29979c;if(!_0x439db7)return!0x1;const _0x103492=_0x22cf9f['get'](_0x238b6d[_0x8b4200(0x13b)]),_0x1ecdf6=_0x22cf9f[_0x8b4200(0x272)](_0x2f79a9[_0x8b4200(0x25f)]),_0x27ae61=_0x22cf9f[_0x8b4200(0x272)](_0x238b6d[_0x8b4200(0xd7)]),_0x45452e=_0x22cf9f['get'](_0x238b6d['IUndoRedoService']),{pivotTableId:_0x441aaa,position:_0x11aa12,index:_0x367cfe}=_0x439db7,_0x13bdf3=_0x30ad02[_0x8b4200(0xdd)](_0x27ae61);if(!_0x13bdf3)return!0x1;const {unitId:_0x48da4e,subUnitId:_0x455864}=_0x13bdf3,_0x29d099=(await _0x1ecdf6['getPivotDisplayConfig']({'unitId':_0x48da4e,'subUnitId':_0x455864,'pivotTableId':_0x441aaa,'params':{'type':_0x10895c[_0x8b4200(0x108)],'updateValuePosition':{'position':_0x11aa12,'index':_0x367cfe}}}))[_0x8b4200(0x2db)][_0x8b4200(0x11d)];if(!_0x29d099)return!0x1;const {changesets:_0x431863,view:_0x29643e,isEmpty:_0x34edb9,pivotTableConfig:_0x348e39}=_0x29d099,_0x3048f4=_0x348e39[_0x8b4200(0x27a)],_0x15c4e8=new _0x51a67c[(_0x8b4200(0x2b1))]();_0x15c4e8[_0x8b4200(0x1f4)](_0x29643e);const _0x4762b8=_0x22cf9f[_0x8b4200(0x272)](_0x2f79a9[_0x8b4200(0x231)]),_0x4f1dea={'cellInfo':_0x3048f4,'view':_0x15c4e8,'isEmpty':_0x34edb9};if(!await _0x4762b8[_0x8b4200(0x1be)][_0x8b4200(0xe7)](_0x36545b)(!0x0,_0x4f1dea))return!0x1;const _0x5a90eb=_0x1b8251(_0x22cf9f,_0x15c4e8,_0x3048f4,_0x34edb9),_0x5e6607=_0x45097d(_0x22cf9f,_0x4f1dea),{undos:_0x39ecb6,redos:_0x54e74e}=_0x420693(_0x103492,{'pivotTableId':_0x441aaa,'unitId':_0x48da4e,'subUnitId':_0x455864},_0x431863);return _0x238b6d[_0x8b4200(0x35d)]([..._0x5a90eb[_0x8b4200(0x2fb)],..._0x5e6607['redos'],..._0x54e74e],_0x103492),_0x45452e['pushUndoRedo']({'unitID':_0x48da4e,'redoMutations':[..._0x5a90eb[_0x8b4200(0x2fb)],..._0x5e6607[_0x8b4200(0x2fb)],..._0x54e74e],'undoMutations':[..._0x5a90eb[_0x8b4200(0x193)],..._0x5e6607[_0x8b4200(0x193)],..._0x39ecb6]}),!0x0;}},_0xb171eb={'type':_0x238b6d[_0x29979c(0x159)][_0x29979c(0x1f2)],'id':_0x29979c(0x3ae),'handler'(){return!0x0;}};var _0x35ac3b=Object[_0x29979c(0x257)],_0x1194ce=(_0x1d5e51,_0x4f7ee1,_0x1c8d47,_0x489263)=>{const _0x34675d=_0x29979c;for(var _0x284597=_0x489263>0x1?void 0x0:_0x489263?_0x35ac3b(_0x4f7ee1,_0x1c8d47):_0x4f7ee1,_0x20e9ce=_0x1d5e51[_0x34675d(0x390)]-0x1,_0x4e4148;_0x20e9ce>=0x0;_0x20e9ce--)(_0x4e4148=_0x1d5e51[_0x20e9ce])&&(_0x284597=_0x4e4148(_0x284597)||_0x284597);return _0x284597;},_0x2f6a9e=(_0x24574b,_0x2af90b)=>(_0xd49b33,_0x1a54b1)=>_0x2af90b(_0xd49b33,_0x1a54b1,_0x24574b);const _0x1442be=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x519f00=(_0x1d53b8,_0x1ead72,_0x21125b)=>{const _0x25e82a=_0x29979c,_0x2cd3b1=_0x1d53b8[_0x25e82a(0x1c2)];_0x1d53b8[_0x25e82a(0x2e4)](_0x49ee35=>{const _0x1d4c38=_0x25e82a,_0x164e61=_0x49ee35[_0x1d4c38(0x3b7)](),_0x3ef607=_0x49ee35[_0x1d4c38(0x37b)](),_0x51f094=_0x49ee35[_0x1d4c38(0x2b9)](),_0x4d04b4=_0x49ee35['getDisplayName']();_0x1ead72[_0x3ef607]&&_0x1ead72[_0x3ef607]===_0x4d04b4&&_0x51f094===_0x4d04b4&&(_0x1d53b8['renameField'](_0x164e61,_0x2cd3b1['getDisplayName'](_0x3ef607)),_0x49ee35[_0x1d4c38(0x2d0)](_0x2cd3b1[_0x1d4c38(0x34b)](_0x3ef607)));}),_0x1d53b8[_0x25e82a(0x11a)](_0x51a67c[_0x25e82a(0x209)][_0x25e82a(0x2c1)],_0x541858=>{const _0x46946f=_0x25e82a,_0x1390a9=_0x541858[_0x46946f(0x3b7)](),_0x54942a=_0x541858[_0x46946f(0x37b)](),_0x9c7ec3=_0x541858[_0x46946f(0x2b9)](),_0x429513=_0x541858[_0x46946f(0x34b)](),_0x3e0a6c=_0x541858[_0x46946f(0x22e)](),_0x2ce271=_0x21125b(_0x9c7ec3,_0x3e0a6c);_0x1ead72[_0x54942a]&&_0x1ead72[_0x54942a]===_0x9c7ec3&&_0x2ce271===_0x429513&&(_0x1d53b8[_0x46946f(0x2f9)](_0x1390a9,_0x21125b(_0x2cd3b1['getDisplayName'](_0x54942a),_0x3e0a6c)),_0x541858[_0x46946f(0x2d0)](_0x2cd3b1['getDisplayName'](_0x54942a)));});},_0x1a15f9=(_0x338f0a,_0xb4863b,_0x39c533)=>{const _0x57e56f=_0x29979c;var _0x5679c0,_0x117dab;const {arrayFormulaCellData:_0x35a8e3,unitData:_0x2128ed}=_0xb4863b,{unitId:_0x5d8f54,subUnitId:_0x56fde8}=_0x39c533,_0x5bdc35=_0x39c533['range'],{startColumn:_0x56f665,endColumn:_0x3afe03}=_0x5bdc35,_0x292394=(_0x5679c0=_0x35a8e3==null?void 0x0:_0x35a8e3[_0x5d8f54])==null?void 0x0:_0x5679c0[_0x56fde8],_0x2aeb4d=(_0x117dab=_0x2128ed==null?void 0x0:_0x2128ed[_0x5d8f54])==null?void 0x0:_0x117dab[_0x56fde8],_0x3a1c9b=new Set(),_0xafbfec=_0x3afe03-_0x56f665+0x1,{dirtyRanges:_0x4147ae}=_0x338f0a;if(_0x4147ae)for(const {range:_0x144786,sheetId:_0x270575,unitId:_0x1e08b0}of _0x4147ae){if(_0x270575!==_0x56fde8||_0x5d8f54!==_0x1e08b0)continue;const _0x360b41=_0x238b6d[_0x57e56f(0x38f)][_0x57e56f(0x26c)](_0x144786,_0x5bdc35);if(_0x360b41){const {startColumn:_0x39648c,endColumn:_0x483a52}=_0x360b41;for(let _0x25f225=_0x39648c;_0x25f225<=_0x483a52;_0x25f225++)_0x3a1c9b[_0x57e56f(0x290)](_0x25f225);}}if(_0x3a1c9b[_0x57e56f(0x122)]===_0xafbfec||_0x3a1c9b[_0x57e56f(0x122)]===_0xafbfec)return Array['from'](_0x3a1c9b);if(_0x2aeb4d){const _0x185521=_0x2aeb4d[_0x57e56f(0x3aa)](),_0x3f921b=Object[_0x57e56f(0x1e5)](_0x185521);for(const _0x45e87d of _0x3f921b){const _0x1fc375=Number(_0x45e87d),_0x22aed1=_0x185521[_0x1fc375];if(_0x3a1c9b[_0x57e56f(0x122)]===_0xafbfec)break;for(const _0x21dde8 in _0x22aed1){const _0x52b53b=Number(_0x21dde8);_0x52b53b<_0x56f665||_0x52b53b>_0x3afe03||_0x3a1c9b['add'](_0x52b53b);}}}if(_0x292394){const _0x22a716=_0x292394['getMatrix'](),_0x289310=Object[_0x57e56f(0x1e5)](_0x22a716);for(const _0x127036 of _0x289310){const _0x19a88a=Number(_0x127036),_0x106a3b=_0x22a716[_0x19a88a];if(_0x3a1c9b['size']===_0xafbfec)break;for(const _0x10b00d in _0x106a3b){const _0x69de75=Number(_0x10b00d);_0x69de75<_0x56f665||_0x69de75>_0x3afe03||_0x3a1c9b[_0x57e56f(0x290)](_0x69de75);}}}return Array[_0x57e56f(0x29d)](_0x3a1c9b);},_0x3a61c9=_0x36104f=>{const _0x5735f7=_0x29979c,_0x216c66=new Set(),_0x3b8dd3=[];for(const _0xdff248 of _0x36104f){const _0x5c8fa2=_0xdff248['startRow']+','+_0xdff248[_0x5735f7(0x1d2)]+','+_0xdff248[_0x5735f7(0x2b3)]+','+_0xdff248[_0x5735f7(0x345)];_0x216c66[_0x5735f7(0x166)](_0x5c8fa2)||(_0x216c66['add'](_0x5c8fa2),_0x3b8dd3['push'](_0xdff248));}return _0x3b8dd3;};let _0x17cc18=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0x2cbaa4,_0x43cbe2,_0x263339,_0x57c9c6,_0x18ed69){const _0x2fec11=_0x29979c;super(),_0xeae76b(this,_0x2fec11(0x322),new _0x5a76bc[(_0x2fec11(0x2f0))](!0x0)),_0xeae76b(this,'_globalComputedStartHelpFunc',_0x26d84e=>{this['_globalSubject']['next'](!0x1);}),_0xeae76b(this,_0x2fec11(0x181),_0xc15320=>{const _0x129cea=_0x2fec11;this[_0x129cea(0x322)][_0x129cea(0x24e)](!0x0);}),(this[_0x2fec11(0x3bf)]=_0x2cbaa4,this[_0x2fec11(0x1e8)]=_0x43cbe2,this[_0x2fec11(0x3b5)]=_0x263339,this[_0x2fec11(0x2f4)]=_0x57c9c6,this['_injector']=_0x18ed69,this['_init'](),this[_0x2fec11(0x13f)]());}[_0x29979c(0x36e)](){const _0x2f75df=_0x29979c;this[_0x2f75df(0x388)](),this[_0x2f75df(0x1ce)](),this['_initPivotTextInfo'](),this[_0x2f75df(0xea)]();}[_0x29979c(0x30f)](){const _0x2d294e=_0x29979c;this[_0x2d294e(0x2f4)]['pushComputingStatusSubject'](this[_0x2d294e(0x322)]),_0x51a67c[_0x2d294e(0x29b)]['registerCallbackWithEvent'](_0x51a67c[_0x2d294e(0x131)][_0x2d294e(0x2cf)],this[_0x2d294e(0x206)]),_0x51a67c['PivotTable'][_0x2d294e(0x21a)](_0x51a67c[_0x2d294e(0x131)][_0x2d294e(0x197)],this['_globalComputedEndHelpFunc']);}[_0x29979c(0x13f)](){const _0x410a54=_0x29979c;this['disposeWithMe'](this[_0x410a54(0x3b5)][_0x410a54(0xb4)](_0x14d187=>{const _0x51fe99=_0x410a54;_0x14d187['id']===_0x30ad02[_0x51fe99(0x3bc)]['id']&&this[_0x51fe99(0x3bf)][_0x51fe99(0x375)](_0x14d187[_0x51fe99(0xcb)]);})),this['disposeWithMe'](this['_commandService'][_0x410a54(0xb4)](_0x3b3aa1=>{const _0x461dd7=_0x410a54;if(_0x3b3aa1['id']!==_0x679ff0['id'])return;const _0x548608=_0x3b3aa1[_0x461dd7(0xcb)],{unitId:_0x5c935d,subUnitId:_0x327dfd,pivotTableId:_0x512d2d}=_0x548608,_0x1389e2=_0x548608['params'][_0x461dd7(0x33f)],_0x5d96ce={};switch(_0x1389e2){case _0x10895c[_0x461dd7(0xd9)]:{const _0x5a3683=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x157)];if(!_0x5a3683)return;const {row:_0x2baf90,col:_0x3c368e,cellData:_0x4ead2f,pivotItemRenderInfoCache:_0x172e2d,tableFieldId:_0x6429bd}=_0x5a3683,_0x5d140f=this[_0x461dd7(0x3bf)]['getPivotTableInstance'](_0x548608[_0x461dd7(0xb7)]);if(!_0x5d140f||!_0x172e2d)return;if(_0x6429bd){const _0x39decd=_0x5d140f[_0x461dd7(0x2a3)](_0x6429bd);if(!_0x39decd)return;_0x5d96ce[_0x461dd7(0x157)]={..._0x5d140f[_0x461dd7(0x2e5)](_0x39decd),'tableFieldId':_0x6429bd,'pivotTableId':_0x548608[_0x461dd7(0xb7)],'filterInfo':_0x5d140f[_0x461dd7(0x373)](_0x6429bd),'sortInfo':_0x5d140f[_0x461dd7(0x126)](_0x6429bd),'format':_0x5d140f[_0x461dd7(0x368)](_0x6429bd)};}else{const _0x153064=_0x468ce8(_0x2baf90,_0x3c368e,_0x4ead2f,_0x5d140f,_0x172e2d),_0x4e44ab=_0x153064==null?void 0x0:_0x153064['filterId'];if(!_0x4e44ab)return;const _0x3ca819=_0x5d140f['getDataFieldByTableId'](_0x4e44ab);if(!_0x3ca819)return;_0x5d96ce[_0x461dd7(0x157)]={..._0x5d140f['getDataFieldItemInfo'](_0x3ca819),'tableFieldId':_0x4e44ab,'pivotTableId':_0x548608['pivotTableId'],'filterInfo':_0x5d140f['getFilterInfo'](_0x4e44ab),'sortInfo':_0x5d140f['getSortInfo'](_0x4e44ab),'format':_0x5d140f[_0x461dd7(0x368)](_0x4e44ab)};}}break;case _0x10895c[_0x461dd7(0x2ce)]:{const _0x55e719=_0x548608['params']['panel'];if(!_0x55e719)return;const {pivotTableId:_0x63d813}=_0x55e719,_0x1c7f18=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x63d813);if(!_0x1c7f18)return;const _0x1adb89=this[_0x461dd7(0x3bf)][_0x461dd7(0xff)](_0x5c935d,_0x327dfd,_0x63d813),_0x233bda=_0x235d57(_0x1c7f18,_0x63d813,_0x1adb89);_0x5d96ce[_0x461dd7(0x1d1)]=_0x233bda;}break;case _0x10895c[_0x461dd7(0x205)]:{const _0x50c9a2=this[_0x461dd7(0x3bf)][_0x461dd7(0x178)](_0x512d2d),_0xed44c2=this[_0x461dd7(0x3bf)]['getDataFieldManager'](_0x5c935d),_0x1d05f1=_0xed44c2['getCollection'](_0x512d2d);let _0x1986ff=null;const _0x37010a=this[_0x461dd7(0x3bf)]['getPivotTableConfig'](_0x5c935d,_0x327dfd,_0x512d2d),_0x345f7a=_0x548608[_0x461dd7(0xcb)]['addPivotField'];if(!_0x50c9a2||!_0x37010a||!_0x345f7a)return!0x1;const {dataFieldId:_0xa4d80c,fieldArea:_0x49739a,index:_0x10fc93}=_0x345f7a;_0x50c9a2['startCollectChangeset']();const _0x59db72=_0x50c9a2['addFieldWithSourceId'](_0xa4d80c,_0x49739a,_0x10fc93);if(_0x59db72&&_0x49739a===_0x51a67c['PivotTableFiledAreaEnum'][_0x461dd7(0x2c1)]){const _0x4f94b4=_0x59db72[_0x461dd7(0x3b7)](),_0x3a3cf7=_0x50c9a2[_0x461dd7(0x2a3)](_0x4f94b4);if(_0x3a3cf7){const _0x54eb15=_0x3a3cf7==null?void 0x0:_0x3a3cf7[_0x461dd7(0xfb)]();_0x50c9a2[_0x461dd7(0x38d)](_0x59db72[_0x461dd7(0x3b7)](),_0x54eb15===_0x51a67c['PivotDataFieldDataTypeEnum'][_0x461dd7(0xd1)]?_0x51a67c[_0x461dd7(0x23c)][_0x461dd7(0x276)]:_0x51a67c[_0x461dd7(0x23c)]['count']);}const _0x5757ac=_0x50c9a2[_0x461dd7(0x325)](),_0x21bcff=_0x50c9a2[_0x461dd7(0x115)](),_0x1150e0=_0x50c9a2['getFieldCountByArea'](_0x51a67c['PivotTableFiledAreaEnum']['Value']);if(_0x5757ac===-0x1&&_0x1150e0>0x1){const _0x59d357=_0x21bcff===_0x51a67c[_0x461dd7(0x21f)][_0x461dd7(0x3cb)]?_0x51a67c['PivotTableValuePositionEnum'][_0x461dd7(0x220)]:_0x21bcff,_0x19ac1b=_0x59d357===_0x51a67c['PivotTableValuePositionEnum']['Row']?_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x1f3)]:_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x220)];_0x50c9a2['updateValuePosition'](_0x59d357,_0x50c9a2[_0x461dd7(0xf5)](_0x19ac1b));}}else{if(_0x59db72&&(_0x49739a===_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x1f3)]||_0x49739a===_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x220)])){const _0x4750da=_0x59db72[_0x461dd7(0x3b7)](),_0x2b78e5=_0x50c9a2[_0x461dd7(0x2a3)](_0x4750da);if(_0x2b78e5&&(_0x2b78e5==null?void 0x0:_0x2b78e5[_0x461dd7(0xfb)]())===_0x51a67c[_0x461dd7(0x138)][_0x461dd7(0x332)]){const _0x291c5e=_0x2b78e5[_0x461dd7(0xdc)]();if(_0x291c5e&&_0x50c9a2[_0x461dd7(0x22d)](_0x59db72['getId'](),_0x291c5e),!_0x1d05f1[_0x461dd7(0x30c)]()[_0x461dd7(0x24f)](_0x49ee23=>{const _0x18f98d=_0x461dd7,_0x4720da=_0x1d05f1[_0x18f98d(0x26a)](_0x49ee23);return _0x51a67c[_0x18f98d(0x380)](_0x4720da)?_0x4720da[_0x18f98d(0x384)]()['originalFieldId']===_0xa4d80c:!0x1;})){const _0x22b7a4=_0xed44c2[_0x461dd7(0xe2)](),_0x12b28b=_0x3123f1(_0x2b78e5[_0x461dd7(0x316)],_0x2b78e5[_0x461dd7(0x1bd)]),_0x5f51b=_0x2b78e5[_0x461dd7(0x188)]()+_0x461dd7(0x288)+_0x2d4709(this[_0x461dd7(0x343)],_0x12b28b),_0x277f8a=new _0x51a67c['DateGroupField'](_0x22b7a4,_0x5f51b,_0x51a67c['generateHexNumber'](0x3),_0x2b78e5[_0x461dd7(0x3b7)](),_0x12b28b);_0xed44c2[_0x461dd7(0x370)](_0x277f8a),_0x1d05f1[_0x461dd7(0x259)](_0x22b7a4,_0x5f51b),_0x50c9a2[_0x461dd7(0x284)](_0x22b7a4,_0x49739a,(_0x10fc93!=null?_0x10fc93:0x0)+0x1),_0x1986ff=_0x277f8a;}}}}const _0x8c3931=_0x50c9a2[_0x461dd7(0x2bb)](),_0xbe3b14=_0x50c9a2['query']()[_0x461dd7(0xe5)]();let _0x3429bc;if(_0x1986ff){_0x3429bc=_0x1986ff[_0x461dd7(0xe5)]();const _0xdc6e1b=_0x1986ff[_0x461dd7(0x3b7)]();_0x1d05f1[_0x461dd7(0x24a)](_0xdc6e1b);let _0x522fd6=!0x0;for(const _0x9b30b7 in _0xed44c2[_0x461dd7(0x191)])if(_0xed44c2['collections'][_0x9b30b7]['getFieldIds']()[_0x461dd7(0x354)](_0xdc6e1b)){_0x522fd6=!0x1;break;}_0x522fd6&&_0xed44c2['deleteDataField'](_0xdc6e1b);}const _0x164edb=_0x50c9a2['endCollectChangeset']();_0x5d96ce[_0x461dd7(0x15f)]={'view':_0xbe3b14,'changesets':_0x164edb,'isEmpty':_0x8c3931,'pivotTableConfig':_0x37010a,'shouldBeAddedGroupJSON':_0x3429bc};}break;case _0x10895c[_0x461dd7(0x28c)]:{const _0x39a4ed=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x2df)];if(!_0x39a4ed)return;const _0x1c06e9=_0x39a4ed[_0x461dd7(0x226)],_0xb49197=_0x39a4ed[_0x461dd7(0xb7)],{collection:_0x278b8a}=this[_0x461dd7(0x3bf)][_0x461dd7(0x14c)]({'unitId':_0x1c06e9['unitId'],'sheetName':_0x1c06e9[_0x461dd7(0x3c8)],'subUnitId':_0x1c06e9[_0x461dd7(0x31e)],'range':_0x1c06e9[_0x461dd7(0x2eb)]}),_0x4e0c1d=new _0x51a67c[(_0x461dd7(0x29b))](_0x278b8a,void 0x0,_0xb49197),_0x2c25e7=_0x4e0c1d[_0x461dd7(0x1a2)](),_0x19d439=_0x4e0c1d[_0x461dd7(0xe5)](),_0x37ca23=_0x278b8a[_0x461dd7(0xe5)]();_0x5d96ce[_0x461dd7(0x2df)]={'view':_0x2c25e7,'fieldsConfig':_0x19d439,'collectionConfig':_0x37ca23,'isEmpty':_0x4e0c1d[_0x461dd7(0x2bb)]()};}break;case _0x10895c[_0x461dd7(0xf8)]:{const _0x127db4=_0x548608[_0x461dd7(0xcb)]['movePivotField'];if(!_0x127db4)return;const {fieldId:_0x463ce3,area:_0x3da3b2,index:_0x4815a8}=_0x127db4,_0x4f63db=this[_0x461dd7(0x3bf)]['getPivotTableConfig'](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x4f63db)return;const _0x1c65ab=this[_0x461dd7(0x3bf)][_0x461dd7(0x178)](_0x512d2d);if(!_0x1c65ab)return;_0x1c65ab[_0x461dd7(0x29a)]();const {area:_0xfc9d8,index:_0x5f5572}=_0x1c65ab['getFieldPositionInfoById'](_0x463ce3);if(_0x1c65ab[_0x461dd7(0x12e)](_0x463ce3,_0x3da3b2,_0x4815a8),_0x3da3b2===_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x2c1)]&&_0x1c65ab[_0x461dd7(0x25a)](_0x463ce3)[_0x461dd7(0x22e)]()===void 0x0){const _0x534af2=_0x1c65ab[_0x461dd7(0x25a)](_0x463ce3);if(_0x534af2&&_0x534af2[_0x461dd7(0x22e)]()===void 0x0){const _0x3af305=_0x1c65ab[_0x461dd7(0x2a3)](_0x463ce3);if(_0x3af305){const _0x26a231=_0x3af305==null?void 0x0:_0x3af305[_0x461dd7(0xfb)]();_0x1c65ab[_0x461dd7(0x38d)](_0x463ce3,_0x26a231===_0x51a67c[_0x461dd7(0x138)]['number']?_0x51a67c[_0x461dd7(0x23c)][_0x461dd7(0x276)]:_0x51a67c[_0x461dd7(0x23c)]['count']);}}}const _0x1f5386=_0x1c65ab['getValuePosition'](),_0x19a572=_0x1c65ab[_0x461dd7(0x325)](),_0x305256=_0x1c65ab[_0x461dd7(0xf5)](_0x51a67c['PivotTableFiledAreaEnum'][_0x461dd7(0x2c1)])>0x1;if(_0x305256&&_0xfc9d8===_0x3da3b2&&(_0x3da3b2===_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x1f3)]&&_0x1f5386===_0x51a67c[_0x461dd7(0x21f)]['Row']||_0x3da3b2===_0x51a67c[_0x461dd7(0x209)]['Column']&&_0x1f5386===_0x51a67c[_0x461dd7(0x21f)]['Column'])){let _0xef09e=_0x19a572;_0x5f5572<=_0x19a572&&_0xef09e--,_0x4815a8<=_0x19a572&&_0xef09e++,_0x1c65ab['updateValuePosition'](_0x1f5386,_0xef09e);}else _0x305256&&(_0xfc9d8===_0x51a67c['PivotTableFiledAreaEnum']['Row']&&_0x1f5386===_0x51a67c[_0x461dd7(0x21f)][_0x461dd7(0x1f3)]||_0xfc9d8===_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x220)]&&_0x1f5386===_0x51a67c[_0x461dd7(0x21f)][_0x461dd7(0x220)])&&_0x19a572>=_0x5f5572&&_0x1c65ab[_0x461dd7(0x11d)](_0x1f5386,_0x19a572-0x1),_0x305256&&(_0x3da3b2===_0x51a67c[_0x461dd7(0x209)]['Row']&&_0x1f5386===_0x51a67c[_0x461dd7(0x21f)][_0x461dd7(0x1f3)]||_0x3da3b2===_0x51a67c['PivotTableFiledAreaEnum'][_0x461dd7(0x220)]&&_0x1f5386===_0x51a67c[_0x461dd7(0x21f)][_0x461dd7(0x220)])&&_0x19a572>=_0x4815a8&&_0x1c65ab[_0x461dd7(0x11d)](_0x1f5386,_0x19a572+0x1);const _0x3f0c72=_0x1c65ab[_0x461dd7(0x1a2)](),_0x139fe6=_0x1c65ab[_0x461dd7(0x2bb)](),_0x876a3a=_0x1c65ab[_0x461dd7(0x100)]();_0x5d96ce['movePivotField']={'view':_0x3f0c72[_0x461dd7(0xe5)](),'changesets':_0x876a3a,'isEmpty':_0x139fe6,'pivotTableConfig':_0x4f63db};}break;case _0x10895c['RemovePivotField']:{const _0x2025e3=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x143)];if(!_0x2025e3)return;const _0x2026c1=_0x2025e3[_0x461dd7(0xe4)],_0x3abcbe=this['_sheetsPivotDataSourceModel'][_0x461dd7(0xff)](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x3abcbe)return!0x1;const _0x5897f9=this[_0x461dd7(0x3bf)]['getPivotTableInstance'](_0x512d2d);if(!_0x5897f9)return!0x1;_0x5897f9['startCollectChangeset']();for(const _0x1174cf of _0x2026c1){const {area:_0xe1ac73}=_0x5897f9['getFieldPositionInfoById'](_0x1174cf);_0xe1ac73===_0x51a67c[_0x461dd7(0x209)]['Value']&&_0x5897f9[_0x461dd7(0x33e)](_0x1174cf),(_0xe1ac73===_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x1f3)]||_0xe1ac73===_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x220)])&&_0x5897f9[_0x461dd7(0x1fb)](_0x1174cf),_0x5897f9[_0x461dd7(0x327)](_0x1174cf);}const _0x41517c=_0x5897f9['isEmpty'](),_0x42a71f=_0x5897f9[_0x461dd7(0x1a2)]()[_0x461dd7(0xe5)](),_0x2b418c=_0x5897f9[_0x461dd7(0x100)]();_0x5d96ce['removePivotField']={'changesets':_0x2b418c,'pivotTableConfig':_0x3abcbe,'isEmpty':_0x41517c,'view':_0x42a71f};}break;case _0x10895c[_0x461dd7(0x233)]:{const _0x5dae08=_0x548608[_0x461dd7(0xcb)]['setPivotFilter'];if(!_0x5dae08)return;const {tableFieldId:_0x64e206,items:_0x2d6f3f,isAll:_0xfe6346}=_0x5dae08,_0x26b144=this[_0x461dd7(0x3bf)][_0x461dd7(0x178)](_0x512d2d),_0x1f57dd=this[_0x461dd7(0x3bf)]['getPivotTableConfig'](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x26b144||!_0x1f57dd)return;_0x26b144[_0x461dd7(0x29a)](),_0x26b144[_0x461dd7(0x3c6)](_0x64e206,{'type':_0x51a67c[_0x461dd7(0x2f5)][_0x461dd7(0x228)],'list':_0x2d6f3f,'isAll':_0xfe6346});const _0x18c929=_0x26b144['isEmpty'](),_0x39bd0d=_0x26b144[_0x461dd7(0x1a2)]()[_0x461dd7(0xe5)](),_0x598d4f=_0x26b144['endCollectChangeset']();_0x5d96ce[_0x461dd7(0x308)]={'view':_0x39bd0d,'changesets':_0x598d4f,'isEmpty':_0x18c929,'pivotTableConfig':_0x1f57dd};}break;case _0x10895c[_0x461dd7(0x396)]:{const _0x4d92af=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x351)];if(!_0x4d92af)return;const {tableFieldId:_0x4f649c,filterInfo:_0x336df4}=_0x4d92af,_0x3c8fb0=this[_0x461dd7(0x3bf)][_0x461dd7(0x178)](_0x512d2d),_0x503eb9=this[_0x461dd7(0x3bf)]['getPivotTableConfig'](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x3c8fb0||!_0x503eb9)return;_0x3c8fb0[_0x461dd7(0x29a)](),_0x3c8fb0['setValueFilterInfo'](_0x4f649c,_0x336df4);const _0x414c55=_0x3c8fb0['isEmpty'](),_0x19db80=_0x3c8fb0[_0x461dd7(0x1a2)]()['toJSON'](),_0x45e2d1=_0x3c8fb0[_0x461dd7(0x100)]();_0x5d96ce[_0x461dd7(0x351)]={'view':_0x19db80,'changesets':_0x45e2d1,'isEmpty':_0x414c55,'pivotTableConfig':_0x503eb9};}break;case _0x10895c['SetPivotSort']:{const _0x5df600=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x11f)];if(!_0x5df600)return;const {tableFieldId:_0x623dac,info:_0x33be7d}=_0x5df600,_0x1131e5=this['_sheetsPivotDataSourceModel'][_0x461dd7(0x178)](_0x512d2d),_0x23cb53=this[_0x461dd7(0x3bf)][_0x461dd7(0xff)](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x1131e5||!_0x23cb53)return;_0x1131e5[_0x461dd7(0x29a)](),_0x1131e5[_0x461dd7(0x13d)](_0x623dac,_0x33be7d);const _0x235322=_0x1131e5[_0x461dd7(0x2bb)](),_0x14df7e=_0x1131e5[_0x461dd7(0x1a2)]()[_0x461dd7(0xe5)](),_0x21c70c=_0x1131e5[_0x461dd7(0x100)]();_0x5d96ce[_0x461dd7(0x11f)]={'view':_0x14df7e,'changesets':_0x21c70c,'isEmpty':_0x235322,'pivotTableConfig':_0x23cb53};}break;case _0x10895c[_0x461dd7(0x28e)]:{const _0x3386df=_0x548608['params']['setPivotSetting'];if(!_0x3386df)return;const {tableFieldId:_0x192351,displayName:_0x3ccfe3,subtotalType:_0x38d048,format:_0x42d1b6}=_0x3386df,_0x7e067f=this['_sheetsPivotDataSourceModel'][_0x461dd7(0x178)](_0x512d2d),_0x43636d=this[_0x461dd7(0x3bf)][_0x461dd7(0xff)](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x7e067f||!_0x43636d)return;_0x7e067f['startCollectChangeset'](),_0x3ccfe3!==void 0x0&&_0x7e067f[_0x461dd7(0x2f9)](_0x192351,_0x3ccfe3),_0x38d048!==void 0x0&&_0x7e067f[_0x461dd7(0x38d)](_0x192351,_0x38d048),_0x42d1b6!==void 0x0&&_0x7e067f[_0x461dd7(0x22d)](_0x192351,_0x42d1b6);const _0x465b91=_0x7e067f[_0x461dd7(0x2bb)](),_0x4c3241=_0x7e067f[_0x461dd7(0x1a2)]()['toJSON'](),_0x47aae4=_0x7e067f[_0x461dd7(0x100)]();_0x5d96ce[_0x461dd7(0x158)]={'changesets':_0x47aae4,'pivotTableConfig':_0x43636d,'isEmpty':_0x465b91,'view':_0x4c3241};}break;case _0x10895c[_0x461dd7(0xe9)]:{const _0x214b3f=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x1cd)];if(!_0x214b3f)return;const {dataRangeInfo:_0x34723b,unitId:_0x437f04,subUnitId:_0x3cb64a}=_0x214b3f,_0x3fd1fe=this['_sheetsPivotDataSourceModel'][_0x461dd7(0xff)](_0x437f04,_0x3cb64a,_0x512d2d),_0x4c4dc3=this['_sheetsPivotDataSourceModel'][_0x461dd7(0x178)](_0x512d2d);if(!this[_0x461dd7(0x3bf)][_0x461dd7(0x398)](_0x437f04,_0x512d2d)||!_0x4c4dc3||!_0x3fd1fe)return;const _0x4992a1=this[_0x461dd7(0x3bf)][_0x461dd7(0x324)](_0x437f04,_0x512d2d,_0x34723b),_0x3572ee=this[_0x461dd7(0x3bf)][_0x461dd7(0x398)](_0x437f04,_0x512d2d)[_0x461dd7(0xe5)](),{collection:_0x58f54b}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x34723b['unitId'],'sheetName':_0x34723b['sheetName'],'subUnitId':_0x34723b[_0x461dd7(0x31e)],'range':_0x34723b[_0x461dd7(0x2eb)]}),_0xdf424c=_0x58f54b['toJSON']();_0x4c4dc3['startCollectChangeset']();const _0x4d448e=this[_0x461dd7(0x3bf)][_0x461dd7(0xf7)](_0x437f04)[_0x461dd7(0x385)]()||_0x51a67c[_0x461dd7(0x2f2)];_0x4c4dc3[_0x461dd7(0x2bd)](_0xf38f01=>{const _0x378910=_0x461dd7,_0xd7da0e=_0xf38f01[_0x378910(0x37b)]();if(!_0x58f54b['hasField'](_0xd7da0e)){const _0xfa78f=_0x58f54b[_0x378910(0x215)](_0xf38f01['getSourceName']());if(_0xfa78f){_0x4c4dc3[_0x378910(0xc2)](_0xf38f01[_0x378910(0x3b7)](),_0xfa78f['getName'](),_0xfa78f['getId']());const {area:_0x224839}=_0x4c4dc3[_0x378910(0x35b)](_0xf38f01[_0x378910(0x3b7)]());let _0x4e9832=_0xf38f01[_0x378910(0x2b9)]();const _0x6b3947=_0xf38f01[_0x378910(0x34b)]();if(_0x224839===_0x51a67c[_0x378910(0x209)]['Value']){const _0x4a3bb3=_0xf38f01['getSubtotal']();_0x4e9832=_0x4d448e(_0xfa78f[_0x378910(0x188)](),_0x4a3bb3);}_0x6b3947!==_0x4e9832&&_0x4c4dc3[_0x378910(0x2f9)](_0xf38f01['getId'](),_0x4e9832);}else _0x4c4dc3[_0x378910(0x327)](_0xf38f01['getId']());}});const _0x11be25=_0x4c4dc3['isEmpty'](),_0x18412c=_0x4c4dc3[_0x461dd7(0x1a2)]()[_0x461dd7(0xe5)](),_0x43fda6=_0x4c4dc3[_0x461dd7(0x100)]();_0x5d96ce['updatePivotSource']={'view':_0x18412c,'changesets':_0x43fda6,'isEmpty':_0x11be25,'pivotTableConfig':_0x3fd1fe,'collectionConfig':_0xdf424c,'oldCollectionConfig':_0x3572ee,'deleteIds':_0x4992a1};}break;case _0x10895c[_0x461dd7(0x108)]:{const _0x5c33d=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x11d)];if(!_0x5c33d)return;const {position:_0x158394,index:_0x29a924}=_0x5c33d,_0xb0c187=this[_0x461dd7(0x3bf)][_0x461dd7(0xff)](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0xb0c187)return!0x1;const _0x4f5b61=this[_0x461dd7(0x3bf)][_0x461dd7(0x178)](_0x512d2d);if(!_0x4f5b61)return!0x1;_0x4f5b61[_0x461dd7(0x29a)](),_0x4f5b61[_0x461dd7(0x11d)](_0x158394,_0x29a924);const _0x155488=_0x4f5b61[_0x461dd7(0x2bb)](),_0x217ec3=_0x4f5b61[_0x461dd7(0x1a2)]()[_0x461dd7(0xe5)](),_0x4d35c0=_0x4f5b61['endCollectChangeset']();_0x5d96ce[_0x461dd7(0x11d)]={'changesets':_0x4d35c0,'pivotTableConfig':_0xb0c187,'isEmpty':_0x155488,'view':_0x217ec3};}break;case _0x10895c[_0x461dd7(0x23e)]:{const _0x42baea=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x1e1)];if(!_0x42baea)return;const {tableFieldId:_0x57c03a,collapse:_0x87de43,item:_0xcdacc5}=_0x42baea,_0x230e4b=this[_0x461dd7(0x3bf)][_0x461dd7(0x178)](_0x512d2d),_0x4cac8c=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x230e4b||!_0x4cac8c)return;_0x230e4b[_0x461dd7(0x29a)](),_0x230e4b['setCollapse'](_0x57c03a,_0x87de43,_0xcdacc5);const _0x271705=_0x230e4b['isEmpty'](),_0x2c14a2=_0x230e4b[_0x461dd7(0x1a2)]()[_0x461dd7(0xe5)](),_0x25b992=_0x230e4b[_0x461dd7(0x100)]();_0x5d96ce[_0x461dd7(0x1e1)]={'view':_0x2c14a2,'isEmpty':_0x271705,'pivotTableConfig':_0x4cac8c,'changesets':_0x25b992};}break;case _0x10895c['SetPivotTableConfig']:{const _0x1692a7=_0x548608[_0x461dd7(0xcb)][_0x461dd7(0x1f6)];if(!_0x1692a7)return;const {pivotTableConfig:_0x54aa81}=_0x1692a7,_0xd0d75d=this[_0x461dd7(0x3bf)]['getPivotTableInstance'](_0x512d2d),_0x101428=this[_0x461dd7(0x3bf)][_0x461dd7(0xff)](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0xd0d75d||!_0x101428)return;_0xd0d75d[_0x461dd7(0x29a)](),_0x2e0897(_0xd0d75d,_0x54aa81);const _0x2855b1=_0xd0d75d['isEmpty'](),_0x42bebc=_0xd0d75d['query']()[_0x461dd7(0xe5)](),_0x30e7c5=_0xd0d75d[_0x461dd7(0x100)]();_0x5d96ce[_0x461dd7(0x1f6)]={'view':_0x42bebc,'isEmpty':_0x2855b1,'pivotTableConfig':{..._0x101428,'fieldsConfig':_0xd0d75d[_0x461dd7(0xe5)]()},'changesets':_0x30e7c5};}break;case _0x10895c['ResetPivotTable']:{const _0x2ab511=_0x548608['params']['resetPivotTable'];if(!_0x2ab511)return;const _0x50e46f=this[_0x461dd7(0x3bf)][_0x461dd7(0x178)](_0x512d2d),_0x230f87=this[_0x461dd7(0x3bf)][_0x461dd7(0xff)](_0x5c935d,_0x327dfd,_0x512d2d);if(!_0x50e46f||!_0x230f87)return;_0x50e46f[_0x461dd7(0x29a)](),_0x2b852a(_0x50e46f,_0x2ab511[_0x461dd7(0x10d)]);const _0x2fa882=_0x50e46f[_0x461dd7(0x1a2)]()[_0x461dd7(0xe5)](),_0x4049b2=_0x50e46f[_0x461dd7(0x100)]();_0x5d96ce['resetPivotTable']={'view':_0x2fa882,'isEmpty':!0x0,'pivotTableConfig':{..._0x230f87,'fieldsConfig':_0x50e46f[_0x461dd7(0xe5)]()},'changesets':_0x4049b2};}break;case _0x10895c[_0x461dd7(0x2cb)]:{const _0x4b37c1=_0x548608['params']['addPivotTableWithConfig'];if(!_0x4b37c1)return;const _0x4583cc=_0x4b37c1[_0x461dd7(0x226)],_0x11edd1=_0x4b37c1[_0x461dd7(0xb7)],{collection:_0x391828}=this[_0x461dd7(0x3bf)][_0x461dd7(0x14c)]({'unitId':_0x4583cc[_0x461dd7(0x24d)],'sheetName':_0x4583cc['sheetName'],'subUnitId':_0x4583cc[_0x461dd7(0x31e)],'range':_0x4583cc[_0x461dd7(0x2eb)]}),_0x47df54=new _0x51a67c[(_0x461dd7(0x29b))](_0x391828,void 0x0,_0x11edd1),_0x387b23=_0x391828[_0x461dd7(0x30c)](),{rows:_0x39c334,columns:_0x2b3ecd,filters:_0x6673e9,values:_0x37772e}=_0x4b37c1[_0x461dd7(0x17b)];_0x47df54[_0x461dd7(0x29a)]();for(const {field:_0x48f04f,selectedItems:_0x30272f}of _0x39c334||[]){const _0xac61c4=_0x387b23[_0x48f04f];if(_0xac61c4){const _0x26e8e8=_0x47df54['addFieldWithSourceId'](_0xac61c4,_0x51a67c['PivotTableFiledAreaEnum'][_0x461dd7(0x1f3)]);_0x30272f&&_0x26e8e8&&_0x47df54[_0x461dd7(0x3c6)](_0x26e8e8[_0x461dd7(0x3b7)](),{'type':_0x51a67c[_0x461dd7(0x2f5)][_0x461dd7(0x228)],'list':_0x30272f,'isAll':!0x1});}}for(const {field:_0x2c05eb,selectedItems:_0x2586d1}of _0x2b3ecd||[]){const _0x286647=_0x387b23[_0x2c05eb];if(_0x286647){const _0xac39cc=_0x47df54[_0x461dd7(0x284)](_0x286647,_0x51a67c[_0x461dd7(0x209)][_0x461dd7(0x220)]);_0x2586d1&&_0xac39cc&&_0x47df54['setLabelFilterInfo'](_0xac39cc[_0x461dd7(0x3b7)](),{'type':_0x51a67c[_0x461dd7(0x2f5)][_0x461dd7(0x228)],'list':_0x2586d1,'isAll':!0x1});}}for(const {field:_0x58d851,selectedItems:_0x5edf10}of _0x6673e9||[]){const _0x2a6240=_0x387b23[_0x58d851];if(_0x2a6240){const _0x1f79d2=_0x47df54[_0x461dd7(0x284)](_0x2a6240,_0x51a67c['PivotTableFiledAreaEnum'][_0x461dd7(0xd9)]);_0x5edf10&&_0x1f79d2&&_0x47df54[_0x461dd7(0x3c6)](_0x1f79d2['getId'](),{'type':_0x51a67c['PivotFilterTypeEnum']['ManualFilter'],'list':_0x5edf10,'isAll':!0x1});}}for(const {field:_0x5ef593,subTotalType:_0x140f62,formatString:_0x587519}of _0x37772e||[]){const _0x1d2380=_0x391828[_0x461dd7(0x26a)](_0x387b23[_0x5ef593]);if(!_0x1d2380)continue;const _0x116dcc=_0x387b23[_0x5ef593];if(_0x116dcc){const _0x14859c=_0x47df54[_0x461dd7(0x284)](_0x116dcc,_0x51a67c['PivotTableFiledAreaEnum'][_0x461dd7(0x2c1)]);if(_0x14859c){if(_0x140f62!==void 0x0){_0x47df54[_0x461dd7(0x38d)](_0x14859c[_0x461dd7(0x3b7)](),_0x140f62);const _0x3c24b9=this[_0x461dd7(0x3bf)][_0x461dd7(0xf7)](_0x4583cc[_0x461dd7(0x24d)])['getAutoDisplayNameFunction']()||_0x51a67c[_0x461dd7(0x2f2)],_0x1727e2=_0x391828['getDisplayName'](_0x116dcc),_0x4c0573=_0x3c24b9(_0x1727e2,_0x140f62);_0x47df54[_0x461dd7(0x2f9)](_0x14859c[_0x461dd7(0x3b7)](),_0x4c0573);}else{if(_0x1d2380){const _0x16dbb9=_0x1d2380==null?void 0x0:_0x1d2380[_0x461dd7(0xfb)]();_0x47df54[_0x461dd7(0x38d)](_0x14859c[_0x461dd7(0x3b7)](),_0x16dbb9===_0x51a67c[_0x461dd7(0x138)][_0x461dd7(0xd1)]?_0x51a67c[_0x461dd7(0x23c)]['sum']:_0x51a67c[_0x461dd7(0x23c)][_0x461dd7(0xfd)]);}}_0x587519&&_0x47df54[_0x461dd7(0x22d)](_0x14859c[_0x461dd7(0x3b7)](),_0x587519);}}}const _0x2d2706=_0x47df54[_0x461dd7(0x1a2)](),_0x3077d1=_0x47df54[_0x461dd7(0xe5)](),_0x2d06a1=_0x47df54[_0x461dd7(0x2bb)](),_0x5d2960=_0x47df54[_0x461dd7(0x100)](),_0x22c75e=_0x391828[_0x461dd7(0xe5)]();_0x5d96ce[_0x461dd7(0xd2)]={'view':_0x2d2706,'fieldsConfig':_0x3077d1,'collectionConfig':_0x22c75e,'isEmpty':_0x2d06a1,'changesets':_0x5d2960};}break;case _0x10895c['DrillDown']:{const _0x31d7d6=_0x3cb899(this[_0x461dd7(0x343)],_0x548608);if(!_0x31d7d6)return;const {range:_0x273442,sourceSubUnitId:_0x20d1f8,sourceUnitId:_0x55a7ef,formatMap:_0x3d5cb7,indexes:_0x6afba7}=_0x31d7d6;_0x5d96ce['drillDown']={'range':_0x273442,'sourceSubUnitId':_0x20d1f8,'sourceUnitId':_0x55a7ef,'formatMap':_0x3d5cb7,'indexes':_0x6afba7};}break;}this[_0x461dd7(0x3b5)][_0x461dd7(0x1e2)](_0x536f16['id'],{'version':_0x548608[_0x461dd7(0x170)],'result':_0x5d96ce},{'onlyLocal':!0x0});}));}[_0x29979c(0x393)](){const _0x12261f=_0x29979c;this[_0x12261f(0x2bf)](this['_commandService'][_0x12261f(0xb4)](_0x5ea854=>{const _0x26d345=_0x12261f;if(_0x5ea854['id']!==_0xce1328['id'])return;const _0x5496ea=_0x5ea854['params'];return this['_sheetsPivotDataSourceModel'][_0x26d345(0x2a5)](_0x5496ea['textInfo']),!0x0;}));}['_subjectCollectionChange'](){const _0x59a67c=_0x29979c;this[_0x59a67c(0x3bf)][_0x59a67c(0x306)][_0x59a67c(0xba)](_0x450f77=>{const _0x3feb09=_0x59a67c;switch(_0x450f77[_0x3feb09(0x33f)]){case _0x359bf9[_0x3feb09(0x290)]:_0x450f77[_0x3feb09(0x22a)]&&_0x450f77[_0x3feb09(0x27a)]&&this[_0x3feb09(0xcd)](_0x450f77[_0x3feb09(0x23b)],_0x450f77[_0x3feb09(0x22a)],_0x450f77['targetCellInfo']);break;case _0x359bf9['delete']:{const {unitId:_0x301fad,subUnitId:_0x41ec9b,token:_0x226a75}=_0x450f77;_0x301fad&&_0x41ec9b&&_0x226a75&&this[_0x3feb09(0x200)](_0x301fad,_0x41ec9b,_0x226a75);}break;case _0x359bf9['update']:{const {token:_0x9fb8aa,oldSourceRangeInfo:_0x480ebc,dataRangeInfo:_0x206caf,targetCellInfo:_0x237490}=_0x450f77,{unitId:_0x51d122,subUnitId:_0x98cb95}=_0x480ebc||{};_0x51d122&&_0x98cb95&&_0x9fb8aa&&this[_0x3feb09(0x200)](_0x51d122,_0x98cb95,_0x9fb8aa),_0x206caf&&_0x237490&&this[_0x3feb09(0xcd)](_0x9fb8aa,_0x206caf,_0x237490);}break;}});}['_subjectFieldsCollectionChange'](){const _0x410c11=_0x29979c;this['_sheetsPivotDataSourceModel'][_0x410c11(0x17f)][_0x410c11(0xba)](_0x95dc5f=>{const _0x57c65e=_0x410c11;Object['keys'](_0x95dc5f)[_0x57c65e(0x246)](_0x25e77b=>{const _0x1cfb45=_0x57c65e,_0x1833d8=this[_0x1cfb45(0x3bf)]['getTargetByPivotId'](_0x25e77b);if(_0x1833d8){const _0x382e4a=this['_sheetsPivotDataSourceModel'][_0x1cfb45(0xff)](_0x1833d8==null?void 0x0:_0x1833d8['unitId'],_0x1833d8==null?void 0x0:_0x1833d8[_0x1cfb45(0x31e)],_0x25e77b);_0x382e4a&&(this['handleSourceRangeChange'](_0x25e77b,_0x382e4a['sourceRangeInfo'],_0x382e4a[_0x1cfb45(0x27a)]),this[_0x1cfb45(0x2fe)]([{'unitId':_0x1833d8[_0x1cfb45(0x24d)],'subUnitId':_0x1833d8[_0x1cfb45(0x31e)],'token':_0x25e77b}]));}});});}[_0x29979c(0x1ce)](){const _0x5f0ba5=_0x29979c;this[_0x5f0ba5(0x3bf)][_0x5f0ba5(0xf9)]['subscribe'](_0x4fa236=>{const _0x2ea01e=_0x5f0ba5,{unitId:_0x27cdd7,subUnitId:_0x1bdca2,pivotTableId:_0x53db93}=_0x4fa236;_0x27cdd7&&_0x1bdca2&&_0x53db93&&this[_0x2ea01e(0x2fe)]([{'unitId':_0x27cdd7,'subUnitId':_0x1bdca2,'token':_0x53db93}]);});}[_0x29979c(0x2fe)](_0x49f2fa){const _0x26319e=_0x29979c,_0x256e8a={};_0x49f2fa[_0x26319e(0x246)](_0x22f120=>{var _0x1af77e,_0x162e51;const {unitId:_0x29b670,subUnitId:_0x2a1a31,token:_0x43d142}=_0x22f120;_0x256e8a[_0x29b670]=(_0x1af77e=_0x256e8a[_0x29b670])!=null?_0x1af77e:{},_0x256e8a[_0x29b670][_0x2a1a31]=(_0x162e51=_0x256e8a[_0x29b670][_0x2a1a31])!=null?_0x162e51:{},_0x256e8a[_0x29b670][_0x2a1a31][_0x43d142]=!0x0;}),this[_0x26319e(0x3b5)]['executeCommand'](_0xb171eb['id'],_0x256e8a);}[_0x29979c(0x200)](_0xd8180c,_0x21a5bc,_0x1b8da5){const _0x31cb2c=_0x29979c;this[_0x31cb2c(0x1e8)][_0x31cb2c(0x3b1)](_0xd8180c,_0x21a5bc,[_0x1b8da5]);}['handleSourceRangeChange'](_0x4f39f2,_0x5ea874,_0xcba632){const _0x357e15=_0x29979c,{unitId:_0xe336f0,subUnitId:_0x349ca5}=_0x5ea874;this[_0x357e15(0x1e8)][_0x357e15(0x166)](_0xcba632[_0x357e15(0x24d)],_0xcba632['subUnitId'],_0x4f39f2)&&this[_0x357e15(0x200)](_0xe336f0,_0x349ca5,_0x4f39f2);const _0xb92b84={'sheetId':_0x349ca5,..._0x5ea874};this[_0x357e15(0x1e8)]['register'](_0xcba632['unitId'],_0xcba632[_0x357e15(0x31e)],_0x4f39f2,{'unitId':_0xcba632[_0x357e15(0x24d)],'subUnitId':_0xcba632[_0x357e15(0x31e)],'dependencyRanges':[_0xb92b84],'getDirtyData':(_0x4f330d,_0x44251c)=>{const _0x2f973d=_0x357e15,_0x411f85=this[_0x2f973d(0x3bf)],_0x1dc58f=_0x411f85[_0x2f973d(0x337)](_0x4f39f2);if(!_0x1dc58f)return _0x1442be();const {unitId:_0x4a7586,subUnitId:_0x20a2de}=_0x1dc58f,_0x25f7b8=_0x1a15f9(_0x4f330d,_0x44251c,_0x5ea874);if(_0x25f7b8[_0x2f973d(0x390)]>0x0){const _0x438335=_0x411f85['getCollection'](_0xe336f0,_0x4f39f2),_0x161b09=_0x438335[_0x2f973d(0x30c)](),_0x331359=this[_0x2f973d(0x15a)](_0x5ea874[_0x2f973d(0x24d)],_0x5ea874[_0x2f973d(0x31e)],_0x44251c),_0xfaeb31={},_0x3abf29=this[_0x2f973d(0x3bf)]['getDataFieldManager'](_0x4a7586)['getAutoDisplayNameFunction']()||_0x51a67c[_0x2f973d(0x2f2)],_0xe7eb53=[];for(const _0x4aacf3 of _0x25f7b8){const _0x476912=_0x4aacf3-(_0x5ea874[_0x2f973d(0x2eb)][_0x2f973d(0x2b3)]||0x0),_0x563fdc=_0x161b09[_0x476912];_0xe7eb53[_0x2f973d(0x35f)](_0x563fdc),_0xfaeb31[_0x563fdc]=_0x438335['getFieldById'](_0x563fdc)[_0x2f973d(0x188)](),_0x411f85[_0x2f973d(0xf7)](_0xe336f0)[_0x2f973d(0x182)](_0x563fdc,_0x5ea874,_0x476912,_0x331359);}_0x438335['getGroupFieldsInfoByIds'](_0xe7eb53)[_0x2f973d(0x246)](_0x5e3918=>{const _0x12154b=_0x2f973d,[_0x221d2e,_0x1deba4]=_0x5e3918,_0x347def=_0x438335[_0x12154b(0x26a)](_0x221d2e),_0xdea14e=_0x438335[_0x12154b(0x26a)](_0x1deba4);_0x347def&&_0xdea14e&&_0x347def[_0x12154b(0x19d)](_0xdea14e);}),_0x438335['updateAllDisplayName']();const _0x40381c=_0x411f85[_0x2f973d(0x178)](_0x4f39f2);if(_0x40381c){_0x519f00(_0x40381c,_0xfaeb31,_0x3abf29),_0x40381c['setDirty'](!0x0);const _0x5076e5=_0x40381c[_0x2f973d(0x1a2)](),_0x4763b8=_0x411f85[_0x2f973d(0xff)](_0x4a7586,_0x20a2de,_0x4f39f2),_0x4a7b47=_0x411f85[_0x2f973d(0xf7)](_0xe336f0)[_0x2f973d(0xe5)]();_0x411f85[_0x2f973d(0x2b8)](_0x4a7586,_0x20a2de,_0x32bc0d[_0x2f973d(0x2dc)],_0x4f39f2,_0x5076e5,_0x4763b8,_0x4a7b47,!0x0);}}return this[_0x2f973d(0x30a)](_0x4a7586,_0x20a2de,_0x4f39f2);}});}['getMatrixFromRunTimeData'](_0x11d1e1,_0x4a36f3,_0x1b3d28){var _0x3987fc,_0x3e4bff;const {arrayFormulaCellData:_0x3c6aff,unitData:_0x1ace8a}=_0x1b3d28,_0x5c89f1=(_0x3987fc=_0x3c6aff==null?void 0x0:_0x3c6aff[_0x11d1e1])==null?void 0x0:_0x3987fc[_0x4a36f3],_0x12eef1=(_0x3e4bff=_0x1ace8a==null?void 0x0:_0x1ace8a[_0x11d1e1])==null?void 0x0:_0x3e4bff[_0x4a36f3];return{'arrayFormulaCellDataMatrix':_0x5c89f1,'unitDataMatrix':_0x12eef1};}[_0x29979c(0x30a)](_0x506ead,_0x1d69d9,_0x290130){const _0x252eca=_0x29979c,_0x450aa2=this[_0x252eca(0x3bf)][_0x252eca(0x3a3)](_0x506ead,_0x1d69d9,_0x290130),_0x26ef79=[],_0x2637c4=new _0x238b6d[(_0x252eca(0x2d6))]();if(_0x450aa2){const {rangeCache:_0x18b687,matrix:_0x398843,oldRangeCache:_0x316b69,oldMatrix:_0x5a3961}=_0x450aa2,_0xd21bf2=_0x3dad50(_0x316b69),_0x3e628a=_0x3dad50(_0x18b687);_0x26ef79['push'](..._0x3e628a,..._0xd21bf2),_0x5a3961&&_0x316b69&&_0xd21bf2[_0x252eca(0x246)](_0x18ba13=>{const _0x3572ec=_0x252eca;for(let _0x423d0d=_0x18ba13[_0x3572ec(0x395)];_0x423d0d<=_0x18ba13[_0x3572ec(0x1d2)];_0x423d0d++)for(let _0x919669=_0x18ba13['startColumn'];_0x919669<=_0x18ba13[_0x3572ec(0x345)];_0x919669++)_0x2637c4[_0x3572ec(0x1d4)](_0x423d0d,_0x919669);}),_0x398843&&_0x3e628a&&_0x3e628a[_0x252eca(0x246)](_0x5ccb51=>{const _0x5e2b03=_0x252eca;for(let _0x30f633=_0x5ccb51['startRow'];_0x30f633<=_0x5ccb51[_0x5e2b03(0x1d2)];_0x30f633++)for(let _0x23297c=_0x5ccb51['startColumn'];_0x23297c<=_0x5ccb51[_0x5e2b03(0x345)];_0x23297c++)_0x2637c4[_0x5e2b03(0x1aa)](_0x30f633,_0x23297c,_0x398843['getValue'](_0x30f633,_0x23297c));});}const _0x2c3756={};return _0x2c3756[_0x506ead]={[_0x1d69d9]:_0x3a61c9(_0x26ef79)},{'runtimeCellData':{[_0x506ead]:{[_0x1d69d9]:_0x2637c4}},'dirtyRanges':_0x2c3756};}[_0x29979c(0x33c)](){}};_0x17cc18=_0x1194ce([_0x2f6a9e(0x0,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9[_0x29979c(0x2af)])),_0x2f6a9e(0x1,_0x238b6d[_0x29979c(0x18c)](_0x1cd513[_0x29979c(0x2de)])),_0x2f6a9e(0x2,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x13b)])),_0x2f6a9e(0x3,_0x238b6d['Inject'](_0x1cd513['GlobalComputingStatusService'])),_0x2f6a9e(0x4,_0x238b6d[_0x29979c(0x18c)](_0x238b6d['Injector']))],_0x17cc18);var _0x31392d=Object['getOwnPropertyDescriptor'],_0x183bee=(_0x23912a,_0x25b7b5,_0x329e5e,_0x5ced88)=>{const _0x19bc03=_0x29979c;for(var _0x48a184=_0x5ced88>0x1?void 0x0:_0x5ced88?_0x31392d(_0x25b7b5,_0x329e5e):_0x25b7b5,_0x432f4e=_0x23912a[_0x19bc03(0x390)]-0x1,_0x451148;_0x432f4e>=0x0;_0x432f4e--)(_0x451148=_0x23912a[_0x432f4e])&&(_0x48a184=_0x451148(_0x48a184)||_0x48a184);return _0x48a184;},_0x2af764=(_0x379dbb,_0x52ef85)=>(_0x23cf87,_0x5042fc)=>_0x52ef85(_0x23cf87,_0x5042fc,_0x379dbb);let _0x29cf11=class extends _0x238b6d['Disposable']{constructor(_0x41be78,_0x4ffded,_0x3ae2a5,_0x48455c){const _0x54afae=_0x29979c;super(),_0xeae76b(this,_0x54afae(0xc3),new _0x238b6d[(_0x54afae(0x2f1))]()),(this[_0x54afae(0x19b)]=_0x41be78,this[_0x54afae(0xec)]=_0x4ffded,this[_0x54afae(0x3a7)]=_0x3ae2a5,this[_0x54afae(0xe0)]=_0x48455c,this[_0x54afae(0x2d7)]());}[_0x29979c(0x2d7)](){const _0x4e661e=_0x29979c;this[_0x4e661e(0x2bf)](this[_0x4e661e(0xec)][_0x4e661e(0xc1)]({'getMutations':_0x39d520=>{const _0x4b9894=_0x4e661e;if(_0x39d520['id']===_0x30ad02[_0x4b9894(0xc4)]['id']||_0x39d520['id']===_0x30ad02[_0x4b9894(0xcf)]['id']){const _0x5d475a=[],_0x26f521=[],_0x4fc18f=this['_sheetsSelectionsService'][_0x4b9894(0x2bc)]()['map'](_0x51518d=>_0x51518d['range']),_0x1e5e8b=_0x30ad02[_0x4b9894(0xdd)](this[_0x4b9894(0x19b)]);if(!_0x1e5e8b)return{'redos':[],'undos':[]};const {unitId:_0x49812d,subUnitId:_0x2e445e}=_0x1e5e8b,_0x201e7d={},_0x4541ce=this['_sheetsPivotTableConfigModel'][_0x4b9894(0x32b)](_0x49812d,_0x2e445e);if(_0x4541ce!=null&&_0x4541ce[_0x4b9894(0x122)])for(const [_0x45941c,_0x441dca]of _0x4541ce){const {unitId:_0x33d199,subUnitId:_0x42ad5b,row:_0x421f80,col:_0xe3c5bd}=_0x441dca['targetCellInfo'];_0x33d199===_0x1e5e8b[_0x4b9894(0x24d)]&&_0x42ad5b===_0x1e5e8b[_0x4b9894(0x31e)]&&(_0x201e7d[_0x421f80+'-'+_0xe3c5bd]=_0x45941c);}return _0x4fc18f&&_0x1e5e8b&&_0x4fc18f['forEach'](_0x1eda9c=>{const _0x3e3c4c=_0x4b9894;_0x238b6d[_0x3e3c4c(0x173)][_0x3e3c4c(0x107)](_0x1eda9c,(_0x4f711b,_0x731b11)=>{const _0x2d36a2=_0x3e3c4c,_0x295bc7=_0x4f711b+'-'+_0x731b11;if(_0x201e7d[_0x295bc7]){const _0x4dcb4c=_0x201e7d[_0x295bc7];_0x5d475a[_0x2d36a2(0x35f)]({'id':_0x3e059f['id'],'params':{'unitId':_0x49812d,'subUnitId':_0x2e445e,'pivotTableId':_0x4dcb4c}});const _0x594343=this[_0x2d36a2(0xe0)][_0x2d36a2(0x398)](_0x49812d,_0x4dcb4c),_0x2ce215=this[_0x2d36a2(0xe0)][_0x2d36a2(0xff)](_0x49812d,_0x2e445e,_0x4dcb4c);_0x26f521[_0x2d36a2(0x35f)]({'id':_0x19442a['id'],'params':{'unitId':_0x49812d,'subUnitId':_0x2e445e,'pivotTableId':_0x4dcb4c,'pivotTableConfig':_0x2ce215,'collectionConfig':_0x594343}});}});}),{'redos':_0x5d475a,'undos':_0x26f521};}return{'redos':[],'undos':[]};}}));}};_0x29cf11=_0x183bee([_0x2af764(0x0,_0x238b6d['IUniverInstanceService']),_0x2af764(0x1,_0x238b6d['Inject'](_0x30ad02['SheetInterceptorService'])),_0x2af764(0x2,_0x238b6d[_0x29979c(0x18c)](_0x30ad02[_0x29979c(0x293)])),_0x2af764(0x3,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9[_0x29979c(0x139)]))],_0x29cf11);var _0x413f72=Object['getOwnPropertyDescriptor'],_0x3f1f8b=(_0x250fa1,_0x2b4bfe,_0x5bb192,_0x21baee)=>{const _0x5d6d46=_0x29979c;for(var _0x4ec04f=_0x21baee>0x1?void 0x0:_0x21baee?_0x413f72(_0x2b4bfe,_0x5bb192):_0x2b4bfe,_0x8b269c=_0x250fa1[_0x5d6d46(0x390)]-0x1,_0x1f96ba;_0x8b269c>=0x0;_0x8b269c--)(_0x1f96ba=_0x250fa1[_0x8b269c])&&(_0x4ec04f=_0x1f96ba(_0x4ec04f)||_0x4ec04f);return _0x4ec04f;},_0x50ceac=(_0x582375,_0x232a19)=>(_0x247f4d,_0x3541c9)=>_0x232a19(_0x247f4d,_0x3541c9,_0x582375);let _0xe57807=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0xb4e9d9,_0xa1f6f2,_0x319913,_0xbc334d,_0x3af8ad){const _0x3fbad0=_0x29979c;super(),this['_sheetInterceptorService']=_0xb4e9d9,this['_injector']=_0xa1f6f2,this[_0x3fbad0(0x19b)]=_0x319913,this[_0x3fbad0(0xe0)]=_0xbc334d,this['_sheetsPivotTableService']=_0x3af8ad,this[_0x3fbad0(0x338)]();}['_getPivotAppliedRanges'](_0x2ea348,_0x5e5516,_0x348ac6){const _0x394efe=_0x29979c,{pageView:_0x55dc88,cornerView:_0x464869,rowView:_0x4b433b,colView:_0x3d8719,dataView:_0x574a59}=_0x5e5516,_0x394684=_0x2ea348;let _0xb81650;if(_0x348ac6)_0xb81650=[..._0x2c1aae(_0x394684)];else{const _0xa71f85=_0x4bea66(_0x394684,_0x55dc88,!0x0),_0x3f7515=_0x55dc88[_0x394efe(0x2b0)]>=0x0?_0x55dc88['lastRow']+0x1:0x0,_0x2fd03c=_0x464869[_0x394efe(0x11c)],_0x156882=_0x464869[_0x394efe(0x291)],_0x59757f=_0xa71f85[_0x394efe(0x390)]>0x0?_0x4f4cfc:0x0,_0x305588=_0x4bea66({'row':_0x394684[_0x394efe(0x20d)]+_0x3f7515+_0x59757f,'col':_0x394684['col']},_0x464869,!0x1,!0x1),_0x59040c=_0x4bea66({'row':_0x394684[_0x394efe(0x20d)]+_0x3f7515+_0x59757f+_0x2fd03c,'col':_0x394684[_0x394efe(0x232)]},_0x4b433b,!0x1,!0x0),_0x3b528a=_0x4bea66({'row':_0x394684['row']+_0x3f7515+_0x59757f,'col':_0x394684[_0x394efe(0x232)]+_0x156882},_0x3d8719,!0x1,!0x0),_0x7770bc=_0x4bea66({'row':_0x394684['row']+_0x3f7515+_0x59757f+_0x2fd03c,'col':_0x394684[_0x394efe(0x232)]+_0x156882},_0x574a59,!0x1,!0x0);_0xb81650=[..._0xa71f85,..._0x305588,..._0x59040c,..._0x3b528a,..._0x7770bc];}return _0xb81650;}[_0x29979c(0x338)](){const _0x4280e9=_0x29979c;this[_0x4280e9(0x2bf)](this[_0x4280e9(0x1fe)]['interceptor'][_0x4280e9(0xd0)](this[_0x4280e9(0x1fe)][_0x4280e9(0x153)]['getInterceptPoints']()[_0x4280e9(0x320)],{'handler':(_0x23d78f,_0x318ec7)=>{const _0x245baa=_0x4280e9,{cellInfo:_0x46adf2,view:_0x5848fe,isEmpty:_0x4376fe}=_0x318ec7,_0xd21d2=_0x46adf2,{unitId:_0x4d0b19,subUnitId:_0xd5fccf}=_0xd21d2,_0x175cd0=this['_getPivotAppliedRanges'](_0x46adf2,_0x5848fe,_0x4376fe),_0x4906ab=this['_sheetInterceptorService'][_0x245baa(0x1f9)]({'unitId':_0x4d0b19,'subUnitId':_0xd5fccf,'ranges':_0x175cd0}),_0xcfaafa=_0x50b3cd(this['_injector'],_0x4d0b19,_0xd5fccf,_0x175cd0);_0xcfaafa[_0x245baa(0x3ce)]&&(_0x4906ab[_0x245baa(0x2fb)][_0x245baa(0x35f)](_0xcfaafa[_0x245baa(0x334)]),_0x4906ab[_0x245baa(0x193)][_0x245baa(0x35f)](_0xcfaafa[_0x245baa(0x1ee)]));const _0x3bf4fc=this[_0x245baa(0x254)](_0x5848fe,_0x46adf2);return _0x4906ab[_0x245baa(0x2fb)]['push'](..._0x3bf4fc['redos']),_0x4906ab[_0x245baa(0x193)][_0x245baa(0x35f)](..._0x3bf4fc[_0x245baa(0x193)]),{'redos':_0x4906ab[_0x245baa(0x2fb)],'undos':_0x4906ab[_0x245baa(0x193)]};}}));}[_0x29979c(0x254)](_0x407e06,_0x504231){const _0x17ccf3=_0x29979c,{col:_0x39a8a6,unitId:_0x5bf6d8,subUnitId:_0x1eb230}=_0x504231,_0x43f02d=[],_0x1af81b=[],_0xb79c27=_0x30ad02[_0x17ccf3(0xdd)](this[_0x17ccf3(0x19b)],{'unitId':_0x5bf6d8,'subUnitId':_0x1eb230});if(!_0x504231||!_0x407e06||!_0xb79c27)return{'undos':_0x1af81b,'redos':_0x43f02d};const _0x16a0da=this[_0x17ccf3(0xe0)][_0x17ccf3(0x176)](),{colView:_0x26e08d,dataView:_0x2517f2,cornerView:_0x12786e,rowView:_0x8d5e39,formatMap:_0x30a38b}=_0x407e06,_0xc1d0fc=_0x5a33cd(_0x26e08d,_0x16a0da,!0x0,_0x30a38b),_0x32bc3f=_0x5a33cd(_0x8d5e39,_0x16a0da,!0x1,_0x30a38b),_0x3205a7=_0x38d80d(_0x2517f2),_0x5adde1=_0x3b7f70(_0x12786e),{worksheet:_0xb613a0}=_0xb79c27;if(typeof window<'u'&&window['document']){const _0x1183ee=_0x36cd10[_0x17ccf3(0x217)]({..._0x54da07['colStyle']}),_0x2579aa=_0x36cd10[_0x17ccf3(0x21e)]['getTextSize'](_0xc1d0fc,_0x1183ee)[_0x17ccf3(0x34d)]+0x10,_0x1e2a33=_0x36cd10[_0x17ccf3(0x21e)][_0x17ccf3(0x27c)](_0x3205a7,_0x1183ee)[_0x17ccf3(0x34d)],_0x561a12=Math[_0x17ccf3(0xc9)](Math[_0x17ccf3(0x196)](_0x2579aa,_0x1e2a33))+0x10,_0xfe0ae5=Math[_0x17ccf3(0xc9)](_0x36cd10[_0x17ccf3(0x21e)][_0x17ccf3(0x27c)](_0x32bc3f,_0x1183ee)['width']),_0x205d80=Math[_0x17ccf3(0xc9)](_0x36cd10['FontCache'][_0x17ccf3(0x27c)](_0x5adde1,_0x1183ee)['width']),_0x1a94c4=Math[_0x17ccf3(0x196)](_0xfe0ae5,_0x205d80,0x28)+0xc,_0x874130=_0x26e08d[_0x17ccf3(0x291)]+_0x12786e['colCount'],_0x953327={},_0x355a07={};for(let _0x3eae8c=_0x39a8a6;_0x3eae8c<_0x39a8a6+_0x874130;_0x3eae8c++){const _0x41df84=_0xb613a0[_0x17ccf3(0x1d0)](_0x3eae8c);_0x953327[_0x3eae8c]=_0x41df84,_0x3eae8c-_0x39a8a6<_0x12786e['colCount']?_0x355a07[_0x3eae8c-_0x39a8a6]=_0x1a94c4:_0x355a07[_0x3eae8c-_0x39a8a6]=_0x561a12;}_0x43f02d[_0x17ccf3(0x35f)]({'id':_0x30ad02[_0x17ccf3(0x137)]['id'],'params':{'subUnitId':_0x1eb230,'unitId':_0x5bf6d8,'ranges':[{'startColumn':_0x39a8a6,'endColumn':_0x39a8a6+_0x874130-0x1,'startRow':0x0,'endRow':_0xb613a0[_0x17ccf3(0x3b3)]()-0x1}],'colWidth':_0x355a07}}),_0x1af81b['push']({'id':_0x30ad02[_0x17ccf3(0x137)]['id'],'params':{'subUnitId':_0x1eb230,'unitId':_0x5bf6d8,'ranges':[{'startColumn':_0x39a8a6,'endColumn':_0x39a8a6+_0x874130-0x1,'startRow':0x0,'endRow':_0xb613a0[_0x17ccf3(0x3b3)]()-0x1}],'colWidth':_0x953327}});}return{'undos':_0x1af81b,'redos':_0x43f02d};}};_0xe57807=_0x3f1f8b([_0x50ceac(0x0,_0x238b6d[_0x29979c(0x18c)](_0x30ad02[_0x29979c(0x28b)])),_0x50ceac(0x1,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x363)])),_0x50ceac(0x2,_0x238b6d['Inject'](_0x238b6d[_0x29979c(0xd7)])),_0x50ceac(0x3,_0x238b6d['Inject'](_0x2f79a9[_0x29979c(0x139)])),_0x50ceac(0x4,_0x238b6d['Inject'](_0x2f79a9[_0x29979c(0x231)]))],_0xe57807);var _0xb3daec=Object[_0x29979c(0x257)],_0x9266c=(_0x625d53,_0x4a0060,_0x1c30a6,_0x5e7bee)=>{const _0x7287f3=_0x29979c;for(var _0x2f3a71=_0x5e7bee>0x1?void 0x0:_0x5e7bee?_0xb3daec(_0x4a0060,_0x1c30a6):_0x4a0060,_0x42d249=_0x625d53[_0x7287f3(0x390)]-0x1,_0xd97f1;_0x42d249>=0x0;_0x42d249--)(_0xd97f1=_0x625d53[_0x42d249])&&(_0x2f3a71=_0xd97f1(_0x2f3a71)||_0x2f3a71);return _0x2f3a71;},_0x5790f0=(_0x30dd65,_0xe7c99f)=>(_0x5c143d,_0x520bc0)=>_0xe7c99f(_0x5c143d,_0x520bc0,_0x30dd65);let _0x40390d=class extends _0x238b6d['Disposable']{constructor(_0x45875e,_0x584bcc,_0x409675,_0x3af60a,_0x5d53b6,_0x1b22e6,_0x55e19c){const _0x349ce1=_0x29979c;super(),_0xeae76b(this,_0x349ce1(0xc3),new _0x238b6d[(_0x349ce1(0x2f1))]()),(this['_injector']=_0x45875e,this['_refRangeService']=_0x584bcc,this[_0x349ce1(0x3b5)]=_0x409675,this[_0x349ce1(0x19b)]=_0x3af60a,this[_0x349ce1(0xe0)]=_0x5d53b6,this[_0x349ce1(0x39b)]=_0x1b22e6,this['_sheetInterceptorService']=_0x55e19c,this[_0x349ce1(0x333)]());}[_0x29979c(0x333)](){const _0x4ef503=_0x29979c,_0x35a3e7=(_0x11e5af,_0x56031d)=>{const _0x252255=_0x21bd,_0x27ce1c=this[_0x252255(0x19b)][_0x252255(0x1e7)](_0x238b6d[_0x252255(0x210)][_0x252255(0x2e6)]);if(!_0x27ce1c||!(_0x27ce1c==null?void 0x0:_0x27ce1c[_0x252255(0x280)](_0x56031d)))return;this[_0x252255(0xc3)][_0x252255(0x33c)]();const _0x53025=_0x131144=>this[_0x252255(0x356)](_0x131144,_0x11e5af,_0x56031d),_0x30bfca=this[_0x252255(0xe0)]['getSubUnitPivotConfigs'](_0x11e5af,_0x56031d);if(!(_0x30bfca!=null&&_0x30bfca[_0x252255(0x122)]))return;Array[_0x252255(0x29d)](_0x30bfca[_0x252255(0x285)]())[_0x252255(0x162)](_0x3e9da0=>{const _0x3c9cec=_0x252255,{row:_0x45721c,col:_0x452ae3}=_0x3e9da0[_0x3c9cec(0x27a)];return _0x238b6d['cellToRange'](_0x45721c,_0x452ae3);})[_0x252255(0x246)](_0xdfc84=>{const _0x3c9b13=_0x252255;this[_0x3c9b13(0xc3)][_0x3c9b13(0x290)](this[_0x3c9b13(0x212)][_0x3c9b13(0x1ff)](_0xdfc84,_0x53025,_0x11e5af,_0x56031d));});},_0x46d9c1=()=>{const _0x1f3741=_0x21bd,_0x4b4134=this['_univerInstanceService']['getCurrentUnitForType'](_0x238b6d[_0x1f3741(0x210)][_0x1f3741(0x2e6)]);if(_0x4b4134){const _0x2a3911=_0x4b4134[_0x1f3741(0x3c2)]();if(!_0x2a3911)return;_0x35a3e7(_0x4b4134[_0x1f3741(0x168)](),_0x2a3911[_0x1f3741(0x3a2)]());}};this[_0x4ef503(0x2bf)](this['_commandService'][_0x4ef503(0xb4)](_0x5b8e78=>{const _0x5b2740=_0x4ef503;if(_0x5b8e78['id']===_0x30ad02[_0x5b2740(0xe6)]['id']){const _0x37e975=_0x5b8e78[_0x5b2740(0xcb)],_0xfea9d0=_0x37e975[_0x5b2740(0x31e)],_0x5b5850=_0x37e975[_0x5b2740(0x24d)];if(!_0xfea9d0||!_0x5b5850)return;_0x35a3e7(_0x5b5850,_0xfea9d0);}})),this['disposeWithMe'](this[_0x4ef503(0xe0)][_0x4ef503(0x104)][_0x4ef503(0xba)](_0x1dc9ff=>{_0x1dc9ff&&_0x46d9c1();})),this[_0x4ef503(0x2bf)](this[_0x4ef503(0xe0)]['pivotConfigChange$'][_0x4ef503(0xba)](_0x1e2aee=>{const _0x30aff7=_0x4ef503,_0x128358=_0x30ad02[_0x30aff7(0xdd)](this[_0x30aff7(0x19b)]);if(!_0x128358)return;const {unitId:_0x456eb2,subUnitId:_0x45c348}=_0x128358,{unitId:_0x1a3003,subUnitId:_0x51e2b7}=_0x1e2aee;_0x456eb2!==_0x1a3003||_0x45c348!==_0x51e2b7||_0x35a3e7(_0x456eb2,_0x45c348);})),_0x46d9c1();}[_0x29979c(0x356)](_0x2aeb90,_0x3fb3a5,_0x5f3c83){const _0x5aedef=_0x29979c;switch(_0x2aeb90['id']){case _0x30ad02[_0x5aedef(0x14e)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x2aeb90[_0x5aedef(0xcb)],_0x3fb3a5,_0x5f3c83);}return{'redos':[],'undos':[]};}[_0x29979c(0xfa)](_0x3bece4,_0x3da408,_0x38ea5a){const _0xbce344=_0x29979c,{fromRange:_0x163700,toRange:_0x43020e}=_0x3bece4,_0x358371=[],_0xadd7b3=[],_0x4473a1=_0x30ad02[_0xbce344(0xdd)](this[_0xbce344(0x19b)]);if(!_0x4473a1)return{'undos':_0xadd7b3,'redos':_0x358371};if(_0x3da408!==_0x4473a1[_0xbce344(0x24d)]||_0x38ea5a!==_0x4473a1['subUnitId'])return{'undos':_0xadd7b3,'redos':_0x358371};const _0x3a46c0=this[_0xbce344(0xe0)][_0xbce344(0x32b)](_0x3da408,_0x38ea5a);if(_0x3a46c0!=null&&_0x3a46c0['size'])for(const [_0x4519b3,_0x2320c5]of _0x3a46c0){const {unitId:_0x477a5d,subUnitId:_0x2e98b9,row:_0x3456dc,col:_0x4d9bc9}=_0x2320c5[_0xbce344(0x27a)];if(_0x477a5d===_0x4473a1[_0xbce344(0x24d)]&&_0x2e98b9===_0x4473a1['subUnitId']){const _0x560c61=_0x238b6d['cellToRange'](_0x3456dc,_0x4d9bc9);if(_0x238b6d[_0xbce344(0x38f)]['intersects'](_0x560c61,_0x163700)){const _0x56d2da=_0x3456dc-_0x163700[_0xbce344(0x395)],_0x2c9b05=_0x4d9bc9-_0x163700['startColumn'],_0x2cea39={'row':_0x43020e[_0xbce344(0x395)]+_0x56d2da,'col':_0x43020e['startColumn']+_0x2c9b05};_0x358371[_0xbce344(0x35f)]({'id':_0x283123['id'],'params':{'unitId':_0x477a5d,'subUnitId':_0x2e98b9,'pivotTableId':_0x4519b3,'targetCellPosition':_0x2cea39}}),_0xadd7b3[_0xbce344(0x35f)]({'id':_0x283123['id'],'params':{'unitId':_0x477a5d,'subUnitId':_0x2e98b9,'pivotTableId':_0x4519b3,'targetCellPosition':{'row':_0x3456dc,'col':_0x4d9bc9}}});const _0x10c793=_0x2cea39[_0xbce344(0x20d)]-_0x3456dc,_0x11cac0=_0x2cea39[_0xbce344(0x232)]-_0x4d9bc9,_0x1f6305=[],_0x48ec9e=this[_0xbce344(0x39b)]['getPivotItemRenderInfoCache'](_0x477a5d,_0x2e98b9,_0x4519b3),_0xc29d8e=_0x48ec9e==null?void 0x0:_0x48ec9e[_0xbce344(0x111)];if(_0xc29d8e){Object[_0xbce344(0x1e5)](_0xc29d8e)[_0xbce344(0x246)](_0x390602=>{const _0x4015cb=_0xbce344;_0xc29d8e[_0x390602][_0x4015cb(0x246)](_0x474240=>{const _0x334c6a=_0x4015cb,_0xd2910c={..._0x474240};_0xd2910c['startRow']=_0x474240[_0x334c6a(0x395)]+_0x10c793,_0xd2910c['endRow']=_0x474240['endRow']+_0x10c793,_0xd2910c[_0x334c6a(0x2b3)]=_0x474240['startColumn']+_0x11cac0,_0xd2910c['endColumn']=_0x474240[_0x334c6a(0x345)]+_0x11cac0,_0x1f6305[_0x334c6a(0x35f)](_0xd2910c);});});const _0x245653=this[_0xbce344(0xec)]['generateMutationsByRanges']({'unitId':_0x477a5d,'subUnitId':_0x2e98b9,'ranges':_0x1f6305});_0x358371[_0xbce344(0x35f)](..._0x245653[_0xbce344(0x2fb)]),_0xadd7b3[_0xbce344(0x35f)](..._0x245653[_0xbce344(0x193)]);const _0x49ba99=_0x50b3cd(this[_0xbce344(0x343)],_0x477a5d,_0x2e98b9,_0x1f6305);_0x49ba99[_0xbce344(0x3ce)]&&(_0x358371[_0xbce344(0x35f)](_0x49ba99[_0xbce344(0x334)]),_0xadd7b3[_0xbce344(0x35f)](_0x49ba99[_0xbce344(0x1ee)]));}}}}return{'redos':_0x358371,'undos':_0xadd7b3};}};_0x40390d=_0x9266c([_0x5790f0(0x0,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x363)])),_0x5790f0(0x1,_0x238b6d['Inject'](_0x30ad02[_0x29979c(0xbf)])),_0x5790f0(0x2,_0x238b6d['ICommandService']),_0x5790f0(0x3,_0x238b6d['IUniverInstanceService']),_0x5790f0(0x4,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9[_0x29979c(0x139)])),_0x5790f0(0x5,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9['SheetsPivotTableAdaptorModel'])),_0x5790f0(0x6,_0x238b6d['Inject'](_0x30ad02[_0x29979c(0x28b)]))],_0x40390d);var _0x4e380a=Object[_0x29979c(0x257)],_0x466279=(_0x4ff2e1,_0x2678c2,_0x51e7de,_0xe52b2e)=>{const _0x2be639=_0x29979c;for(var _0x394297=_0xe52b2e>0x1?void 0x0:_0xe52b2e?_0x4e380a(_0x2678c2,_0x51e7de):_0x2678c2,_0x74b694=_0x4ff2e1[_0x2be639(0x390)]-0x1,_0x48bead;_0x74b694>=0x0;_0x74b694--)(_0x48bead=_0x4ff2e1[_0x74b694])&&(_0x394297=_0x48bead(_0x394297)||_0x394297);return _0x394297;},_0x5bb70b=(_0x2f0300,_0x3e03bc)=>(_0x6eb07f,_0x52dd7e)=>_0x3e03bc(_0x6eb07f,_0x52dd7e,_0x2f0300);let _0x10b10a=class extends _0x238b6d['Disposable']{constructor(_0x2a8992,_0xcb89af){const _0xb3a22a=_0x29979c;super(),this[_0xb3a22a(0xec)]=_0x2a8992,this[_0xb3a22a(0xe0)]=_0xcb89af,this[_0xb3a22a(0x1a1)]();}[_0x29979c(0x1a1)](){const _0x2b34cc=_0x29979c;this['disposeWithMe'](this[_0x2b34cc(0xec)][_0x2b34cc(0xc1)]({'getMutations':_0x5592c8=>{const _0x5218a3=_0x2b34cc;if(_0x5592c8['id']===_0x30ad02[_0x5218a3(0x2d9)]['id']){const _0x2ecc8d=[],_0x452a62=[],_0x25cc64=_0x5592c8['params'],{unitId:_0xe1b5cc,subUnitId:_0x1c70c5}=_0x25cc64;if(!_0xe1b5cc||!_0x1c70c5)return{'undos':_0x452a62,'redos':_0x2ecc8d};const _0x567df5=this['_sheetsPivotTableConfigModel'][_0x5218a3(0x32b)](_0xe1b5cc,_0x1c70c5);if(_0x567df5!=null&&_0x567df5[_0x5218a3(0x122)])for(const [_0x49be53,_0x352dcd]of _0x567df5){_0x2ecc8d[_0x5218a3(0x35f)]({'id':_0x3e059f['id'],'params':{'unitId':_0xe1b5cc,'subUnitId':_0x1c70c5,'pivotTableId':_0x49be53}});const _0x1f1300={...this['_sheetsPivotTableConfigModel']['getCollection'](_0xe1b5cc,_0x49be53)};_0x452a62[_0x5218a3(0x35f)]({'id':_0x19442a['id'],'params':{'unitId':_0xe1b5cc,'subUnitId':_0x1c70c5,'pivotTableId':_0x49be53,'pivotTableConfig':_0x352dcd,'collectionConfig':_0x1f1300}});}return{'redos':_0x2ecc8d,'undos':_0x452a62};}return{'redos':[],'undos':[]};}}));}};_0x10b10a=_0x466279([_0x5bb70b(0x0,_0x238b6d[_0x29979c(0x18c)](_0x30ad02['SheetInterceptorService'])),_0x5bb70b(0x1,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9[_0x29979c(0x139)]))],_0x10b10a);var _0x3472b9=Object[_0x29979c(0x257)],_0x43c9e4=(_0x4985a3,_0x24933d,_0x4def74,_0x155c06)=>{const _0x2a5d95=_0x29979c;for(var _0x15d2e2=_0x155c06>0x1?void 0x0:_0x155c06?_0x3472b9(_0x24933d,_0x4def74):_0x24933d,_0x5d7e05=_0x4985a3[_0x2a5d95(0x390)]-0x1,_0x24c7de;_0x5d7e05>=0x0;_0x5d7e05--)(_0x24c7de=_0x4985a3[_0x5d7e05])&&(_0x15d2e2=_0x24c7de(_0x15d2e2)||_0x15d2e2);return _0x15d2e2;},_0x106aac=(_0x5c2e19,_0x1c8137)=>(_0x4850fd,_0x289c98)=>_0x1c8137(_0x4850fd,_0x289c98,_0x5c2e19);let _0xc4e76f=class extends _0x238b6d[_0x29979c(0x3bd)]{constructor(_0x2cdb59,_0xc47aef,_0x2bd9f,_0x227644,_0x355132,_0xc450bc){const _0x3cbc3c=_0x29979c;super(),this[_0x3cbc3c(0x3b5)]=_0x2cdb59,this[_0x3cbc3c(0x27d)]=_0xc47aef,this[_0x3cbc3c(0x39b)]=_0x2bd9f,this['_sheetsPivotTableConfigModel']=_0x227644,this[_0x3cbc3c(0x19b)]=_0x355132,this['_activeDirtyManagerService']=_0xc450bc,this[_0x3cbc3c(0x204)](),this[_0x3cbc3c(0x319)]();}[_0x29979c(0x204)](){const _0x1214af=_0x29979c;this['disposeWithMe'](this[_0x1214af(0x3b5)][_0x1214af(0xb4)](_0x4f9363=>{const _0x2cbff7=_0x1214af;if(_0x4f9363['id']!==_0x536f16['id'])return;const _0x43a842=_0x4f9363[_0x2cbff7(0xcb)];this[_0x2cbff7(0x27d)][_0x2cbff7(0x305)](_0x43a842);})),this[_0x1214af(0x2bf)](this[_0x1214af(0x3b5)][_0x1214af(0xb4)](_0x2ea732=>{const _0x8812f4=_0x1214af;if(_0x2ea732['id']===_0x3c4a14['id']){const _0xd11c1c=_0x2ea732['params'];if(_0xd11c1c){const {unitId:_0x1a7df4,subUnitId:_0x13e620,oldSubUnitId:_0x382886,pivotTableId:_0x2e35dc,pivotTableConfig:_0x4f7acd,collectionConfig:_0xe35366}=_0xd11c1c;this['_sheetsPivotTableConfigModel'][_0x8812f4(0x10b)](_0x1a7df4,_0x382886,_0xd11c1c[_0x8812f4(0xb7)],null),this[_0x8812f4(0xe0)][_0x8812f4(0x10b)](_0x1a7df4,_0x13e620,_0x2e35dc,_0x4f7acd),this[_0x8812f4(0xe0)]['updateCollectionConfig'](_0x1a7df4,_0xe35366);}}})),this['disposeWithMe'](this['_commandService'][_0x1214af(0xb4)](_0xd142b1=>{const _0x4b8498=_0x1214af;if(_0xd142b1['id']!==_0x570454['id'])return;const _0x6ba2cb=_0x30ad02['getSheetCommandTarget'](this[_0x4b8498(0x19b)]);if(!_0x6ba2cb)return;const {unitId:_0x138017,subUnitId:_0x2503c9}=_0x6ba2cb,_0x181d6c=_0xd142b1[_0x4b8498(0xcb)];if(_0x181d6c[_0x4b8498(0xbb)]&&Object[_0x4b8498(0x1e5)](_0x181d6c[_0x4b8498(0xbb)])[_0x4b8498(0x246)](_0x34276f=>{const _0x4378ef=_0x4b8498;var _0x5b5c71;(_0x5b5c71=_0x181d6c[_0x4378ef(0xbb)])!=null&&_0x5b5c71[_0x34276f]&&this[_0x4378ef(0xe0)]['updateCollectionConfig'](_0x34276f,_0x181d6c[_0x4378ef(0xbb)][_0x34276f]);}),_0x181d6c[_0x4b8498(0x218)]){const _0x37d33f=_0x181d6c[_0x4b8498(0x218)],{unitId:_0x1a1916,subUnitId:_0x76498c,view:_0x357d5d,pivotTableId:_0x540539,type:_0xf57e13,pivotConfig:_0x8f1817}=_0x37d33f;if(_0xf57e13===_0x32bc0d['Delete'])this[_0x4b8498(0x39b)][_0x4b8498(0x24c)]({'unitId':_0x1a1916,'subUnitId':_0x76498c,'pivotTableId':_0x540539,'type':_0xf57e13}),this['_sheetsPivotTableConfigModel'][_0x4b8498(0x10b)](_0x1a1916,_0x76498c,_0x540539,null);else{const _0x372455=new _0x51a67c[(_0x4b8498(0x2b1))]();_0x372455[_0x4b8498(0x1f4)](_0x357d5d),this[_0x4b8498(0xe0)][_0x4b8498(0x10b)](_0x1a1916,_0x76498c,_0x540539,_0x8f1817),this['_sheetsPivotTableAdaptorModel'][_0x4b8498(0x24c)]({'unitId':_0x1a1916,'subUnitId':_0x76498c,'pivotTableId':_0x540539,'type':_0xf57e13,'view':_0x372455}),this[_0x4b8498(0x39b)][_0x4b8498(0x187)]({'unitId':_0x1a1916,'subUnitId':_0x76498c,'view':_0x372455,'pivotTableId':_0x540539,'type':_0xf57e13});}}else _0x181d6c[_0x4b8498(0x30d)]&&(_0x181d6c[_0x4b8498(0x30d)][_0x4b8498(0x246)](_0x199d86=>{const _0x464e31=_0x4b8498,{unitId:_0x4f20b4,subUnitId:_0x28dbda,view:_0x44e054,pivotTableId:_0x1b1be5,type:_0x54fd54,pivotConfig:_0x1ec707}=_0x199d86,_0x56a7f8=new _0x51a67c[(_0x464e31(0x2b1))]();_0x56a7f8[_0x464e31(0x1f4)](_0x44e054),this[_0x464e31(0xe0)][_0x464e31(0x10b)](_0x4f20b4,_0x28dbda,_0x1b1be5,_0x1ec707),this['_sheetsPivotTableAdaptorModel'][_0x464e31(0x187)]({'unitId':_0x4f20b4,'subUnitId':_0x28dbda,'view':_0x56a7f8,'pivotTableId':_0x1b1be5,'type':_0x54fd54});}),this[_0x4b8498(0xe0)][_0x4b8498(0x38a)]());this[_0x4b8498(0x39b)][_0x4b8498(0xb8)](_0x138017,_0x2503c9);}));}[_0x29979c(0x319)](){const _0x155468=_0x29979c;this[_0x155468(0x161)][_0x155468(0x2e1)](_0xb171eb['id'],{'commandId':_0xb171eb['id'],'getDirtyData'(_0x4d5a0a){return{'dirtyUnitFeatureMap':_0x4d5a0a['params']};}});}};_0xc4e76f=_0x43c9e4([_0x106aac(0x0,_0x238b6d[_0x29979c(0x18c)](_0x238b6d['ICommandService'])),_0x106aac(0x1,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9[_0x29979c(0x25f)])),_0x106aac(0x2,_0x238b6d[_0x29979c(0x18c)](_0x2f79a9['SheetsPivotTableAdaptorModel'])),_0x106aac(0x3,_0x238b6d['Inject'](_0x2f79a9['SheetsPivotTableConfigModel'])),_0x106aac(0x4,_0x238b6d['Inject'](_0x238b6d[_0x29979c(0xd7)])),_0x106aac(0x5,_0x1cd513['IActiveDirtyManagerService'])],_0xc4e76f);var _0x4ea5ed=Object[_0x29979c(0x202)],_0xce8940=Object[_0x29979c(0x257)],_0x38bbe4=(_0x19d3b9,_0x45e5fc,_0x5c02ac)=>_0x45e5fc in _0x19d3b9?_0x4ea5ed(_0x19d3b9,_0x45e5fc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c02ac}):_0x19d3b9[_0x45e5fc]=_0x5c02ac,_0x3e241e=(_0x3f2708,_0x3cadb0,_0x149418,_0x5d51d3)=>{const _0x131ea6=_0x29979c;for(var _0x2a56c2=_0x5d51d3>0x1?void 0x0:_0x5d51d3?_0xce8940(_0x3cadb0,_0x149418):_0x3cadb0,_0x19cd2e=_0x3f2708[_0x131ea6(0x390)]-0x1,_0x4229d2;_0x19cd2e>=0x0;_0x19cd2e--)(_0x4229d2=_0x3f2708[_0x19cd2e])&&(_0x2a56c2=_0x4229d2(_0x2a56c2)||_0x2a56c2);return _0x2a56c2;},_0x5c4948=(_0x19edc3,_0xeac57f)=>(_0x264c85,_0x2da6ff)=>_0xeac57f(_0x264c85,_0x2da6ff,_0x19edc3),_0x3d19ab=(_0x4c8777,_0x22361a,_0x4a41f7)=>_0x38bbe4(_0x4c8777,typeof _0x22361a!='symbol'?_0x22361a+'':_0x22361a,_0x4a41f7);_0x2f79a9[_0x29979c(0x2e0)]=class extends _0x238b6d['Plugin']{constructor(_0x34429f=_0x13aa7c,_0x17c3c,_0x3917bc,_0x49a927,_0x283e4c){const _0x3d6c13=_0x29979c;super(),this['_config']=_0x34429f,this[_0x3d6c13(0x343)]=_0x17c3c,this[_0x3d6c13(0x3b5)]=_0x3917bc,this['_configService']=_0x49a927,this['_dataSyncPrimaryController']=_0x283e4c;const {..._0x4e47ad}=_0x238b6d[_0x3d6c13(0x3b2)]({},_0x13aa7c,this[_0x3d6c13(0x2a4)]);this['_configService'][_0x3d6c13(0x1ac)](_0x1308f1,_0x4e47ad),this[_0x3d6c13(0x12c)](),this[_0x3d6c13(0xed)]();}['_initConfig'](){const _0x395609=_0x29979c;var _0x4601f0;const _0x3bfdff=(_0x4601f0=this[_0x395609(0x2a4)])==null?void 0x0:_0x4601f0[_0x395609(0x1dc)];this['_configService'][_0x395609(0x1ac)](_0x2bb74b,_0x3bfdff===!0x0);}[_0x29979c(0x289)](){const _0x4f2e7e=_0x29979c;var _0x5745b2;let _0x22e71f=[];const _0x5d6ad6=(_0x5745b2=this[_0x4f2e7e(0x2a4)])==null?void 0x0:_0x5745b2[_0x4f2e7e(0x1dc)];_0x5d6ad6===!0x0?_0x22e71f=[[_0x2f79a9['SheetsPivotTableService']],[_0x2f79a9[_0x4f2e7e(0x25f)]],[_0xc4e76f],[_0x2f79a9[_0x4f2e7e(0x377)]],[_0x2f79a9[_0x4f2e7e(0x139)]],[_0x10b10a],[_0x29cf11],[_0x40390d],[_0xe57807]]:_0x5d6ad6===!0x1?_0x22e71f=[[_0x2f79a9[_0x4f2e7e(0x2af)]],[_0x17cc18]]:_0x5d6ad6===void 0x0&&(_0x22e71f=[[_0x2f79a9[_0x4f2e7e(0x2af)]],[_0x17cc18],[_0x2f79a9[_0x4f2e7e(0x231)]],[_0x2f79a9[_0x4f2e7e(0x25f)]],[_0xc4e76f],[_0x2f79a9[_0x4f2e7e(0x377)]],[_0x2f79a9[_0x4f2e7e(0x139)]],[_0x10b10a],[_0x29cf11],[_0x40390d],[_0xe57807]]),_0x22e71f[_0x4f2e7e(0x246)](_0x10d7d4=>this[_0x4f2e7e(0x343)][_0x4f2e7e(0x290)](_0x10d7d4)),[_0x17cc18,_0xc4e76f,_0x2f79a9['SheetsPivotTableService'],_0x29cf11,_0x10b10a,_0x40390d,_0xe57807]['forEach'](_0x328b10=>{const _0x5d4dfb=_0x4f2e7e;this[_0x5d4dfb(0x343)][_0x5d4dfb(0x166)](_0x328b10)&&this[_0x5d4dfb(0x343)][_0x5d4dfb(0x272)](_0x328b10);});}[_0x29979c(0x12c)](){[_0x15c76,_0x3b0b8e,_0x4697aa,_0x52e001,_0x260809,_0x38ec85,_0x18f639,_0x4ac040,_0x1d9412,_0x492ef4,_0x58c89c,_0x18f454,_0x427a54,_0x2b6f9c,_0x19442a,_0x51d977,_0x3e059f,_0x170ee0,_0x13815a,_0xd81e18,_0x4428aa,_0xc22163,_0x2165fa,_0xc56865,_0x3a7740,_0x5c37c9,_0x283123,_0x679ff0,_0x536f16,_0x570454,_0x3fbd48,_0x20f840,_0x44548a,_0x4cf90a,_0xce1328,_0x37e103,_0x3866ae,_0xb171eb,_0x3c4a14,_0x16a82c,_0x14418d,_0x2731ad,_0x415599]['forEach'](_0x11f604=>{const _0x255a78=_0x21bd;var _0x3bff91;(_0x3bff91=this[_0x255a78(0x1f5)])==null||_0x3bff91['registerSyncingMutations'](_0x11f604),this[_0x255a78(0x3b5)]['registerCommand'](_0x11f604);});}},_0x3d19ab(_0x2f79a9[_0x29979c(0x2e0)],_0x29979c(0x14d),_0x220f9d),_0x3d19ab(_0x2f79a9['UniverSheetsPivotTablePlugin'],_0x29979c(0x33f),_0x238b6d[_0x29979c(0x210)][_0x29979c(0x2e6)]),_0x2f79a9[_0x29979c(0x2e0)]=_0x3e241e([_0x238b6d[_0x29979c(0x230)](_0x4056fc[_0x29979c(0x222)]),_0x5c4948(0x1,_0x238b6d[_0x29979c(0x18c)](_0x238b6d[_0x29979c(0x363)])),_0x5c4948(0x2,_0x238b6d['Inject'](_0x238b6d[_0x29979c(0x13b)])),_0x5c4948(0x3,_0x238b6d['IConfigService']),_0x5c4948(0x4,_0x238b6d[_0x29979c(0x186)](_0x21107e[_0x29979c(0xb6)]))],_0x2f79a9[_0x29979c(0x2e0)]),_0x2f79a9[_0x29979c(0x18d)]=_0x4697aa,_0x2f79a9[_0x29979c(0x3ca)]=_0x170ee0,_0x2f79a9[_0x29979c(0x1f1)]=_0x3b0b8e,_0x2f79a9['AddPivotTableMutation']=_0x19442a,_0x2f79a9['AddPivotTableWithConfigCommand']=_0x15c76,_0x2f79a9[_0x29979c(0x141)]=_0x4f4cfc,_0x2f79a9[_0x29979c(0x134)]=_0x51b9aa,_0x2f79a9[_0x29979c(0x133)]=_0x52e001,_0x2f79a9['MovePivotTableCommand']=_0x427a54,_0x2f79a9[_0x29979c(0x1c1)]=_0x10895c,_0x2f79a9['PivotDrillDownCommand']=_0x2b6f9c,_0x2f79a9[_0x29979c(0x376)]=_0x32bc0d,_0x2f79a9[_0x29979c(0x1b1)]=_0xb171eb,_0x2f79a9['PositionType']=_0x21f39b,_0x2f79a9[_0x29979c(0x184)]=_0x260809,_0x2f79a9['RemovePivotFieldMutation']=_0xc22163,_0x2f79a9[_0x29979c(0x2d8)]=_0x3e059f,_0x2f79a9[_0x29979c(0x167)]=_0x2165fa,_0x2f79a9['ResetPivotFieldsConfigCommand']=_0x415599,_0x2f79a9[_0x29979c(0x1e0)]=_0x1308f1,_0x2f79a9[_0x29979c(0xbe)]=_0x220f9d,_0x2f79a9[_0x29979c(0x2ba)]=_0x4ac040,_0x2f79a9[_0x29979c(0x3a6)]=_0xc56865,_0x2f79a9[_0x29979c(0x156)]=_0x4cf90a,_0x2f79a9[_0x29979c(0x364)]=_0x2731ad,_0x2f79a9[_0x29979c(0x35e)]=_0x492ef4,_0x2f79a9[_0x29979c(0x36d)]=_0x4428aa,_0x2f79a9[_0x29979c(0x18e)]=_0x5c37c9,_0x2f79a9[_0x29979c(0x1af)]=_0x283123,_0x2f79a9[_0x29979c(0x136)]=_0x1d9412,_0x2f79a9[_0x29979c(0x1f8)]=_0x3a7740,_0x2f79a9[_0x29979c(0x1a6)]=_0x44548a,_0x2f79a9[_0x29979c(0x266)]=_0x16a82c,_0x2f79a9[_0x29979c(0x24b)]=_0x14418d,_0x2f79a9[_0x29979c(0x31d)]=_0x18f639,_0x2f79a9['UpdateFieldPositionMutation']=_0x3fbd48,_0x2f79a9['UpdatePivotFieldSettingCommand']=_0x58c89c,_0x2f79a9['UpdatePivotFieldSourceInfoMutation']=_0x3866ae,_0x2f79a9[_0x29979c(0x3a1)]=_0x18f454,_0x2f79a9[_0x29979c(0x1bc)]=_0x37e103,_0x2f79a9[_0x29979c(0x2fd)]=_0x38ec85,_0x2f79a9[_0x29979c(0x19c)]=_0x20f840,_0x2f79a9['applyChangeSet']=_0x420693,_0x2f79a9['canUsePivot']=_0x318e25,_0x2f79a9[_0x29979c(0x101)]=_0x54da07,_0x2f79a9[_0x29979c(0xc8)]=_0x50b3cd,_0x2f79a9[_0x29979c(0x2cd)]=_0x4bea66,_0x2f79a9[_0x29979c(0x27f)]=_0x2c1aae,_0x2f79a9['getFieldListByArea']=_0x48ae44,_0x2f79a9[_0x29979c(0x198)]=_0x1b8251,_0x2f79a9[_0x29979c(0x106)]=_0x468ce8,_0x2f79a9[_0x29979c(0x2b2)]=_0x1c55e5,_0x2f79a9[_0x29979c(0x399)]=_0x235d57,_0x2f79a9[_0x29979c(0x286)]=_0x43e2db,_0x2f79a9['unionPivotViewRange']=_0x3dad50,Object[_0x29979c(0x202)](_0x2f79a9,Symbol[_0x29979c(0x114)],{'value':_0x29979c(0x16c)});}));function _0x21bd(_0x5bbe3b,_0x556c64){const _0x14ff01=_0x14ff();return _0x21bd=function(_0x21bd3d,_0x39e680){_0x21bd3d=_0x21bd3d-0xb4;let _0x2cabf4=_0x14ff01[_0x21bd3d];return _0x2cabf4;},_0x21bd(_0x5bbe3b,_0x556c64);}function _0x14ff(){const _0x4f2d72=['from','_ensurePivotTableRangeInfo','updatePivotTableMatrixInfo','stdDev','NORMAL','parse','getDataFieldByTableId','_config','setTextInfo','error','hasOwnProperty','RemoveField','subTotalStyle','sheet.mutation.send-init-pivot-text-local','dataFields','drillDown','_resourceManagerService','_pivotRenderValueMatrixCache','SheetsPivotDataSourceModel','lastRow','PivotView','getPivotInfoByLicense','startColumn','updateDirtyPivotTable','getSheets','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','fields','updateView','getSourceName','SetPivotCollapseCommand','isEmpty','getCurrentSelections','iterateField','isBaseGroupField','disposeWithMe','sheet.command.update-pivot-value-position','Value','createAsyncInterceptorKey','initDataRanges','_dataFieldManagerCollection','BLANK_PLACEHOLDER','sheets-pivot.emptyPivot.values','DEFAULT_WORKSHEET_ROW_COUNT','sheets-pivot.countName','UniverEngineRender','SetRangeValuesMutation','AddPivotTableWithConfig','DIV_BY_ZERO','getAdjustRangesPosition','Panel','onQueryStart','setSourceName','INTERCEPTOR_POINT','format','column','sheet.mutation.set-pivot-option','_toJSON','ObjectMatrix','_initClearSelectionCommandInterceptor','RemovePivotTableMutation','RemoveSheetCommand','sheet.mutation.set-pivot-field-subtotal-type','result','Set','sheet.command.set-pivot-collapse','IFeatureCalculationManagerService','addPivotTable','UniverSheetsPivotTablePlugin','register','2453vFtFtq','isBottomTotal','iterateFieldDim','getDataFieldItemInfo','UNIVER_SHEET','random','fieldId','entries','UniverProSheetsPivot','range','rangeKeyMap','setRange','SetRangeValuesUndoMutationFactory','numberToABC','BehaviorSubject','DisposableCollection','getAutoDisplayName','addDirtyPivotTable','_globalComputingSrv','PivotFilterTypeEnum','sheet.mutation.pivot-update-field-source-info','SetCollapse','isPrefixValue','renameField','sheets-pivot.dateGroup.yearMonthDate','redos','Existing','UpdatePivotValuePositionCommand','triggerDirtyFeature','#e6ebfa','_initSnapshot','sheets-pivot.subTotal','deleteUnitId','YearMonthDate','Month','handleAsyncResponse','collectionChange$','MonthDate','setPivotFilter','Year','getDirtyInfo','parseInt','getFieldIds','batch','cornerRanges','_initGlobalComputed','bind','data','YearQuarter','options','4FLOhpR','_ensurePivotMap','maxDate','uniqueDataFieldName','getCellMatrix','registerDirtyService','other','splice','RemoveSheetsFilterMutation','UpdateDateGroupCommand','subUnitId','LocaleService','PIVOT_MUTATION_GENERATE','isDateValue','_globalSubject','replace','getUpdateRangeDeleteIds','getValueIndex','exports','removeField','sheet.command.add-pivot-table-with-config','sheet.command.move-pivot-field','sheet.command.pivot-drill-down','getSubUnitPivotConfigs','sheet.command.set-pivot-value-filter','_lifecycleService','getMatrixValue','sheets.tabs.sheet','CELL_CONTENT','name','date','_onRefRangeChange','setRangeValueRedoMutation','SetPivotSort','isValue','getTargetByPivotId','_initCommandInterceptListener','adjustSheetCellData','updateRangeKeyMap','BadReference','dispose','sheet.command.add-pivot-table','removeValueFilterInfoByValueFieldId','type','sheets-pivot.config','sheet.command.reset-pivot-fields-config','pageStyle','_injector','generateNullCell','endColumn','node','numfmt','_ensurePivotTableMatrixInfo','NO_COMMERCIAL','dataFieldId','getDisplayName','isDate','width','sheet.mutation.set-pivot-filter','isText','sheets-pivot.blank','setValuePivotFilter','_ensurePivotItemRenderValueMatrixCache','colStyle','includes','PivotTableChangeTypeEnum','_refRangeHandle','4010iOKFrm','addCollectionByJSON','forRow','51870sQIZkC','getFieldPositionInfoById','getFullYear','sequenceExecute','SetPivotFilterCommand','push','54132WULGRN','CustomCommandExecutionError','_initUnitDisposed','Injector','SetPivotFieldsConfigCommand','Max\x20of\x20','fontRenderExtension','sheet.command.set-pivot-filter','getFieldFormat','rowRanges','sheets-pivot.averageName','sheets-pivot.cellDateGroupDisplay.yearQuarter','sheet.mutation.remove-group-collection','SetPivotFilterMutation','_init','getRangeData','addDataFieldWithoutUnitInfo','sheets-pivot.dateGroup.quarter','excelDateToUnixMilliseconds','getFilterInfo','sheets-pivot.cellDateGroupDisplay.date','handleMoveRange','PivotTableOperationEnum','SheetsPivotTableAdaptorModel','371CRltZb','sheet.mutation.set-pivot-collapse','_pivotTableInstanceCache','getDataFieldId','_deletePivotTableInstanceCache','FORCE_STRING','getPivotTableMatrixInfo','getValueFilterInfos','isDateGroupField','_model','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','createLabelField','getFieldInfo','getAutoDisplayNameFunction','ErrorType','RANGE_TYPE','_subjectCollectionChange','sheets-pivot.value','setPivotInitCompleted','getRangeKeyList','Add','setSubtotalType','fromJSON','Rectangle','length','_pivotTableMatrixInfo','movePivotField','_initPivotTextInfo','pushUndoRedo','startRow','SetValuePivotFilter','_initLocale','getCollection','getPivotTableInfo','collapseInfo','_sheetsPivotTableAdaptorModel','string','Product\x20of\x20','valueIndex','grandTotal','sheets-pivot.varName','UpdatePivotTableSourceRangeCommand','getSheetId','getViewData','COMMAND','setRangeKeyMap','SetPivotCollapseMutation','_sheetsSelectionsService','_viewUpdate$','unshift','getMatrix','Count\x20of\x20','delete','MIN_SAFE_INTEGER','sheet.operation.pivot-table-view-formula-mark-dirty','limit\x20pivot','rxjs','remove','merge','getRowCount','isErrorValue','_commandService','getMonth','getId','message','sheets-pivot.stdDevName','DEFAULT_WORKSHEET_COLUMN_COUNT','oldRangeInfo','MoveRangeMutation','Disposable','Tools','_sheetsPivotDataSourceModel','collection','Quarter','getActiveSheet','NotName','DataFieldManager','getSubUnitPivotMatrix','setLabelFilterInfo','sheets-pivot.cellDateGroupDisplay.hour','sheetName','updateViewData','AddPivotFieldMutation','None','find','InsertColMutation','shouldClear','onCommandExecuted','RemoveSheetMutation','DataSyncPrimaryController','pivotTableId','markDirty','getSheetBySheetName','subscribe','collectionConfig','sheets-pivot.emptyPivot.column','rowFields','SHEET_PIVOT_TABLE_PLUGIN','RefRangeService','IExclusiveRangeService','interceptCommand','updateFieldSourceInfo','disposableCollection','ClearSelectionContentCommand','sheet.mutation.pivot-update-field-position','queryDirtyPivotTable','rangeCache','generateSetRangeValueMutations','floor','generateRandomId','params','versions','handleSourceRangeChange','SetPivotTableConfig','ClearSelectionAllCommand','intercept','number','addPivotTableWithConfig','return\x20','setName','tableFieldId','slice','IUniverInstanceService','PivotCellStyleTypeEnum','Filter','new','custom','getformat','getSheetCommandTarget','setValueFilterInfo','cellToRange','_sheetsPivotTableConfigModel','getUnit','createDataFieldId','sheet.command.move-pivot-table','fieldIds','toJSON','SetWorksheetActiveOperation','fetchThroughAsyncInterceptors','GrandTotal','UpdatePivotSource','_subjectFieldsCollectionChange','sheet.mutation.get-pivot-data-local','_sheetInterceptorService','_initConfig','72dNqudW','FieldsCollection','setPivotTable','getPivotPerformCheck','updateConfig','getIntersectsPivotTable','_textInfo','getFieldCountByArea','removePivotTable','getDataFieldManager','MovePivotField','viewData$','getRefRangeMutationsByMoveRange','getFieldDataType','pbt','count','_host','getPivotTableConfig','endCollectChangeset','defaultThemeStyle','forValue','deepClone','pivotInitCompleted$','NotFunction','getPivotCellInfo','foreach','UpdateValuePosition','mergeWorksheetSnapshotWithDefault','ΣValue','updateConfigCache','registerPluginResource','resetArea','CellValueType','sheet.mutation.send-pivot-view-local','toString','rangesInfo','_createExclusiveRange','prototype','toStringTag','getValuePosition','sheet.mutation.remove-pivot-table','average','RemovePivotField','UniverRpc','iterateFieldByArea','#1d32e9','rowCount','updateValuePosition','UniverEngineFormula','setPivotSort','sheet.mutation.add-pivot-table','getDataFieldByRangeKey','size','_pivotTableRangeInfo','clearExclusiveRangesByGroupId','lastCol','getSortInfo','unshiftString','getConfig','NUMBER','generateNewSheetName','@univerjs/sheets','_initRegisterCommand','pivotTableConfigs','updateFieldPosition','_updateModelCache','REF','PivotCallbackEnum','getPivotTableIdByCell','MovePivotFieldCommand','DEFAULT_PIVOT_NUMBER','sheets-pivot.emptyPivot.row','SetPivotSortCommand','SetWorksheetColWidthMutation','PivotDataFieldDataTypeEnum','SheetsPivotTableConfigModel','getValue','ICommandService','setCollapse','setSortInfo','3609670QmhpdW','_initPivotDataGetListener','Grand\x20Total','BLANK_ROW_COUNT','isColMultiMeasure','removePivotField','_ensureViewDataMap','isArray','contains','set','oldMatrix','Div0','displayName','LS_CONFIG_KEY','createCollectionWithDataRange','pluginName','MoveRangeCommand','level','asObservable','RemoveColMutation','rowInfo','interceptor','Delete','_collectionConfigModel','SetPivotFieldFormatMutation','filter','setPivotSetting','CommandType','getMatrixFromRunTimeData','sheets-pivot.countNumsName','sheet.command.remove-pivot-field','getCellRaw','sheets-pivot.cellDateGroupDisplay.yearMonthDate','addPivotField','rgb(240,241,243)','_activeDirtyManagerService','map','sheets-pivot.dateGroup.minute','sheets-pivot.dateGroup.yearMonth','measure','has','RenamePivotFieldMutation','getUnitId','_exclusiveRangeService','getColCount','sheets-pivot.dateGroup.hourMinute','Module','needSameDeleteModel','#f4f4f5','sheets-pivot.cellDateGroupDisplay.yearMonth','version','valueFields','dateType','Range','_queryingMap','_requestResolvers','getTextInfo','originTargetInfo','getPivotTableInstance','reset','sheet.command.set-pivot-fields-config','pivotTableIndexConfig','value','sheet.mutation.set-pivot-format','@univerjs/rpc','fieldsCollectionChange$','2987973OSLdAR','_globalComputedEndHelpFunc','refreshDataField','_deleteModelCache','RemovePivotFieldCommand','Subtotal','Optional','updateRenderCache','getName','InterceptorEffectEnum','createInterceptorKey','removeCollectionImp','Inject','AddPivotFieldCommand','SetPivotOptionMutation','sheet.command.set-pivot-sort','headerMap','collections','StdDev\x20of\x20','undos','deleteDataField','sideEffectUpdateWorkerCache','max','onQueryEnd','getInsertRowColMutations','Hour','setDisplayName','_univerInstanceService','UpdateValuePositionMutation','refreshGroupField','SHEET_PIVOT_IN_MAIN_THREAD','paths','UniverSheets','_initRemoveSheetCommandInterceptor','query','sheet.mutation.pivot-update-value-position','updatePivotTableRangeInfo','colRanges','SetPivotSubtotalTypeMutation','PivotErrorTypeEnum','getDataFieldByDataFieldId','leftOffset','setValue','substring','setConfig','sheet.command.update-date-group','object','SetPivotPositionMutation','isDateGroupFieldJSON','PivotTableViewDirtyMarkOperation','tuple','AddField','_viewData','call','colHeaderMap','sheets-pivot.varpName','valid','addCollection','MAX_SAFE_INTEGER','sheets-pivot.dateGroup.monthDate','UpdatePivotTableSourceRangeMutation','minDate','asyncInterceptor','getTargetByPivotTableId','_initViewModelBySheetInterceptor','PivotDisplayDataType','dataFieldsCollection','Date','sheets-pivot.minName','blank','COLUMN','sheets-pivot.dateGroup.yearQuarter','updateAllDisplayName','_configVersion$','updateViewInfo','sheet.command.set-pivot-field-setting','YearMonth','updatePivotSource','_subjectViewChange','InsertRowMutation','getColumnWidth','panel','endRow','SetValueFilter','realDeleteValue','Column\x20','(Blank)','dataStream','1377615lPvwzn','getLastCol','STRING','min','notExecuteFormula','IConfigService','getPivotDisplayConfig','sheet.command.update-pivot-table-source-range','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','setPivotCollapse','executeCommand','stdDevp','sheets-pivot.maxName','keys','ReleaseType','getCurrentUnitForType','_featureCalculationManagerService','_localeService','UpdateFieldPosition','existing','getFormat','Minute','setRangeValueUndoMutation','fetchThroughInterceptors','setDataRecordCount','AddPivotTableCommand','MUTATION','Row','formJSON','_dataSyncPrimaryController','setPivotTableConfig','sheet.mutation.set-pivot-position','SetPivotSortMutation','generateMutationsByRanges','IUndoRedoService','removeValueFilterInfo','sheets-pivot.emptyPivot.filter','generateHexNumber','_sheetsPivotTableService','registerRefRange','removeSourceRangeChange','_pivotConfigChange$','defineProperty','rowStyle','_initDataSendListener','AddPivotField','_globalComputedStartHelpFunc','fieldsConfig','colInfo','PivotTableFiledAreaEnum','getOriginFieldId','8oufoiP','rgb(255,255,255)','row','dimension','Subject','UniverInstanceType','pivotMutationGenerate','_refRangeService','_ensurePivotItemRenderInfoCache','isFeatureAuthorizedWithinTime','getDataFieldBySourceName','getNoUsedDataFieldIds','getFontStyleString','single','_markDirty$','registerCallbackWithEvent','valueFilter','getPivotTableRangeInfo','dataFieldManagerConfig','FontCache','PivotTableValuePositionEnum','Column','configVersion$','UniverLicensePlugin','getIndexesByPathStr','@univerjs/engine-render','@univerjs/core','sourceRangeInfo','sheets-pivot.dateGroup.month','ManualFilter','Values','dataRangeInfo','_updatePivotTableInstanceCache','_pivotRenderInfoCache','setFieldFormat','getSubtotal','_fieldsCollectionChange$','DependentOn','SheetsPivotTableService','col','SetPivotFilter','rangeKey','sortInfo','UniverSheetsFilter','valuePosition','cornerStyle','getTypeOfUnitDisposed$','getRangeStartEndInfo','token','PivotSubtotalTypeEnum','getHeaderMapItem','SetPivotCollapse','concat','getPivotItemRenderInfoCache','sheet.mutation.rename-pivot-field','sheets-pivot.cellDateGroupDisplay.month','_getAutoName','PivotViewCellValueTypeEnum','setDateType','forEach','product','UniverCore','_viewData$','deleteField','SetPivotValueFilterMutation','clearRenderCache','unitId','next','some','info','pivotConfigChange$','IResourceManagerService','columnFields','getAutoFitColumnsMutations','GlobalConfig','updateDataFieldsCollection','getOwnPropertyDescriptor','getPivotTableCellData','addField','getTableFieldById','sourceName','sheets-pivot.dateGroup.hour','workbook\x20is\x20not\x20found','sheets-pivot.cellDateGroupDisplay.hourMinute','SheetsPivotRPCService','6156780yyZyQe','HourMinute','PivotDataFieldTypeEnum','sheet.mutation.update-pivot-table-source-range','getSheetFeatureLimit','intersects','SetPivotValueFilterCommand','update','DateGroupField','refreshData','getFieldById','getColumnCount','getIntersects','#FFFFFF','addRecord','markDirty$','getPivotTableModelConfig','sheets-pivot.dateGroup.year','get','NAME','getLastRow','broadcastCollectionChange','sum','sheets-pivot.other','resetPivotTable','UniverProLicense','targetCellInfo','sheet.command.add-pivot-field','getTextSize','_sheetsPivotRpcService','PivotDateGroupFieldDateTypeEnum','getEmptyPivotRanges','getSheetBySheetId','removeCollections','getStyles','stringify','addFieldWithSourceId','values','transFromCellValue','_pivotInitCompleted$','\x20-\x20','onStarting','rangeType','SheetInterceptorService','AddPivotTable','_configService','SetPivotSetting','countNums','add','colCount','InsertSheetUndoMutationFactory','SheetsSelectionsService','getRangeKey','New','filterInfo','subtotal','sheet.mutation.add-group-collection','_collectionChange$','startCollectChangeset','PivotTable','rowHeaderMap'];_0x14ff=function(){return _0x4f2d72;};return _0x14ff();}