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

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 (56) 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 -0
  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 -0
  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 -0
  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 +42 -42
  41. package/lib/types/controllers/const.d.ts +1 -1
  42. package/lib/types/locale/ja-JP.d.ts +3 -0
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -0
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/vi-VN.js +1 -1
  54. package/lib/umd/locale/zh-CN.js +1 -1
  55. package/lib/umd/locale/zh-TW.js +1 -1
  56. package/package.json +11 -11
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x15a090,_0x534088){const _0x596c7d=_0xd91a,_0x5b43a3=_0x15a090();while(!![]){try{const _0x3830ca=parseInt(_0x596c7d(0x487))/0x1+-parseInt(_0x596c7d(0x45f))/0x2*(-parseInt(_0x596c7d(0x39b))/0x3)+parseInt(_0x596c7d(0x20e))/0x4*(parseInt(_0x596c7d(0x19b))/0x5)+-parseInt(_0x596c7d(0x3e7))/0x6+parseInt(_0x596c7d(0x39e))/0x7+parseInt(_0x596c7d(0x26c))/0x8+-parseInt(_0x596c7d(0x332))/0x9;if(_0x3830ca===_0x534088)break;else _0x5b43a3['push'](_0x5b43a3['shift']());}catch(_0x524caf){_0x5b43a3['push'](_0x5b43a3['shift']());}}}(_0x1719,0x744fa),function(_0x1eba41,_0x2692c4){const _0xd4389c=_0xd91a;typeof exports=='object'&&typeof module<'u'?_0x2692c4(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==_0xd4389c(0x296)&&define[_0xd4389c(0x312)]?define([_0xd4389c(0x24e),_0xd4389c(0x2fb),'@univerjs/core',_0xd4389c(0x32f),_0xd4389c(0x341),_0xd4389c(0x33d),'@univerjs-pro/license',_0xd4389c(0x22b),_0xd4389c(0x30e),_0xd4389c(0x400)],_0x2692c4):(_0x1eba41=typeof globalThis<'u'?globalThis:_0x1eba41||self,_0x2692c4(_0x1eba41[_0xd4389c(0x41b)]={},_0x1eba41[_0xd4389c(0x339)],_0x1eba41[_0xd4389c(0x20a)],_0x1eba41[_0xd4389c(0x220)],_0x1eba41[_0xd4389c(0x2bc)],_0x1eba41[_0xd4389c(0x33d)],_0x1eba41[_0xd4389c(0x43a)],_0x1eba41[_0xd4389c(0x41a)],_0x1eba41[_0xd4389c(0x1ba)],_0x1eba41[_0xd4389c(0x1e1)]));}(this,function(_0x3122be,_0x5eb847,_0x4d7ec7,_0x1a7c77,_0x132be5,_0x5659f3,_0x2cd015,_0x10c4d4,_0x55f83b,_0x16debd){'use strict';const _0x32b11e=_0xd91a;var _0x19dc96=Object[_0x32b11e(0x29b)],_0x520405=(_0x2d54e1,_0x4bf158,_0xe20b11)=>_0x4bf158 in _0x2d54e1?_0x19dc96(_0x2d54e1,_0x4bf158,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe20b11}):_0x2d54e1[_0x4bf158]=_0xe20b11,_0x24fce5=(_0x1d01cf,_0x230e4c,_0x5e4a6e)=>_0x520405(_0x1d01cf,typeof _0x230e4c!=_0x32b11e(0x36f)?_0x230e4c+'':_0x230e4c,_0x5e4a6e);const _0x54808c=Number[_0x32b11e(0x3a3)](0x6901e30d),_0x1c6b3b=0x10,_0x128592=0x1,_0x4c9c53='SHEET_PIVOT_TABLE_PLUGIN',_0x36faea=0x1,_0x566ab3='rgb(240,241,243)',_0x39df8f=_0x32b11e(0x468),_0x13dab3=_0x32b11e(0x3fc),_0x38f2b8=_0x32b11e(0x3f8),_0x345d31=_0x32b11e(0x3f8),_0x430c23='#eceeff',_0x5e99a7=_0x32b11e(0x31f),_0x5cb55f=_0x32b11e(0x255),_0x20f922=_0x32b11e(0x311),_0x1df9ad=_0x32b11e(0x31f),_0x3f0248=_0x32b11e(0x255),_0x2c920d=_0x32b11e(0x27a),_0x230768=0xe,_0x32ddeb=0x6;var _0x3a7711=(_0x69c557=>(_0x69c557[_0x32b11e(0x2c8)]=_0x32b11e(0x40f),_0x69c557[_0x32b11e(0x4ad)]=_0x32b11e(0x433),_0x69c557))(_0x3a7711||{});const _0x1cdeff={'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':''}}},_0x79a625=0x1e,_0x1d84ea={'b':{'s':0x1,'cl':{'rgb':_0x13dab3}},'l':{'s':0x1,'cl':{'rgb':_0x13dab3}},'r':{'s':0x1,'cl':{'rgb':_0x13dab3}},'t':{'s':0x1,'cl':{'rgb':_0x13dab3}}},_0xbfd544={'bg':{'rgb':_0x566ab3},'ht':0x2,'vt':0x2,'tb':0x1},_0x591685={'bg':{'rgb':_0x39df8f},'ht':0x2,'vt':0x2,'tb':0x1},_0x3d8532={'rowStyle':{'bg':{'rgb':_0x2c920d},'bd':_0x1d84ea,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x1df9ad},'bd':null,'cl':{'rgb':_0x3f0248},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1d84ea,'bg':{'rgb':_0x20f922},'vt':0x2},'cornerStyle':{'bd':_0x1d84ea,'bg':{'rgb':_0x430c23},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1d84ea,'bg':{'rgb':_0x38f2b8},'vt':0x2},'leafStyle':{'bd':_0x1d84ea,'bg':{'rgb':_0x345d31},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5e99a7},'cl':{'rgb':_0x5cb55f},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1d84ea,'vt':0x2}};function _0x1038c1(_0x190b77,_0x397399,_0x10a198){const _0x505849=_0x32b11e,_0x3ca7c4=_0x190b77[_0x505849(0x492)](_0x4d7ec7[_0x505849(0x406)]),_0x25187c=_0x10a198[_0x505849(0x284)]('_');switch(_0x397399){case _0x5eb847[_0x505849(0x1a7)]['Year']:return _0x3ca7c4['t'](_0x505849(0x465),..._0x25187c);case _0x5eb847[_0x505849(0x1a7)][_0x505849(0x3ad)]:return _0x3ca7c4['t'](_0x505849(0x1e8),..._0x25187c);case _0x5eb847[_0x505849(0x1a7)][_0x505849(0x260)]:return _0x3ca7c4['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x25187c);case _0x5eb847[_0x505849(0x1a7)][_0x505849(0x230)]:return _0x3ca7c4['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x25187c);case _0x5eb847[_0x505849(0x1a7)][_0x505849(0x28a)]:return _0x3ca7c4['t'](_0x505849(0x4b9),..._0x25187c);case _0x5eb847[_0x505849(0x1a7)][_0x505849(0x23d)]:return _0x3ca7c4['t'](_0x505849(0x306),..._0x25187c);case _0x5eb847['PivotDateGroupFieldDateTypeEnum']['Quarter']:return _0x3ca7c4['t'](_0x505849(0x23b),..._0x25187c);case _0x5eb847['PivotDateGroupFieldDateTypeEnum'][_0x505849(0x47f)]:return _0x3ca7c4['t'](_0x505849(0x1cd),..._0x25187c);case _0x5eb847[_0x505849(0x1a7)]['YearMonthDate']:return _0x3ca7c4['t'](_0x505849(0x1cc),..._0x25187c);case _0x5eb847[_0x505849(0x1a7)]['YearQuarter']:return _0x3ca7c4['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x25187c);}return'';}const _0xba7f38=(_0xe8e21c,_0x5b24e3,_0x49badf,_0x51aa48)=>{const _0x4f7228=_0x32b11e;let _0x48b110;const _0x4a2b6c=_0xe8e21c['get'](_0x4d7ec7[_0x4f7228(0x1c4)])[_0x4f7228(0x1a9)](_0x4d7ec7[_0x4f7228(0x49b)][_0x4f7228(0x190)]);if(!_0x4a2b6c)return null;const _0x579781=_0x4a2b6c[_0x4f7228(0x38c)]();let _0x20a446;if(_0x49badf&&(_0x20a446=_0x579781['setValue'](_0x49badf)),_0x5b24e3!=null&&_0x5b24e3['v']||(_0x5b24e3==null?void 0x0:_0x5b24e3['v'])===0x0){_0x48b110||(_0x48b110={});const _0x1c8508=_0x4249b2(_0x5b24e3['v']);typeof _0x1c8508=='number'?_0x48b110['t']=_0x4d7ec7[_0x4f7228(0x240)]['NUMBER']:typeof _0x1c8508==_0x4f7228(0x3c9)&&(_0x48b110['t']=_0x4d7ec7[_0x4f7228(0x240)][_0x4f7228(0x31a)]),_0x48b110['v']=_0x1c8508;}if((_0x5b24e3!=null&&_0x5b24e3['i']||(_0x5b24e3==null?void 0x0:_0x5b24e3['i'])===0x0)&&(_0x48b110||(_0x48b110={}),_0x48b110['fi']=_0x5b24e3['i']),_0x5b24e3!=null&&_0x5b24e3['s']&&(_0x48b110||(_0x48b110={}),_0x48b110[_0x4f7228(0x286)]=_0x5b24e3['s']),_0x49badf&&(_0x48b110||(_0x48b110={}),_0x48b110['s']=_0x20a446),_0x51aa48&&_0x48b110!=null&&_0x48b110['v']&&_0x48b110[_0x4f7228(0x286)]!==_0x5eb847[_0x4f7228(0x39a)][_0x4f7228(0x324)]&&_0x48b110[_0x4f7228(0x286)]!==_0x5eb847[_0x4f7228(0x39a)][_0x4f7228(0x1b7)]){const _0x3628c6=String(_0x48b110['v']),{dateType:_0x148b97}=_0x51aa48;_0x48b110['v']=_0x1038c1(_0xe8e21c,_0x148b97,_0x3628c6),_0x48b110['t']=_0x4d7ec7['CellValueType'][_0x4f7228(0x31a)];}return _0x48b110;},_0x2e6bfd=(_0x5e9d52,_0x32885d,_0x4300c4,_0x565ffb)=>{const _0x2ed6ff=_0x32b11e;var _0x1c4d13,_0x2e7b9f,_0x437d8a,_0x2396a1,_0x2259bd,_0x3f4052,_0xd1b721,_0x1c8764,_0x569f4a,_0x147c08,_0x2aadbe,_0x1a28b6,_0x5b7a79,_0x116410;const _0x36c5dc=_0x4300c4['targetCellInfo'],{cornerView:_0x4054e6,rowView:_0x5ed036,colView:_0x227c5a,dataView:_0x354bae,pageView:_0x44a2b8,formatMap:_0x34e286,groupInfo:_0x446e73}=_0x32885d,{row:_0x314e93,col:_0x544d9f}=_0x36c5dc,_0x1fb3a7=new _0x4d7ec7[(_0x2ed6ff(0x2f4))](),_0x24758d={},_0x1eaddb={},_0x135df9={},_0x3fdfd1={},_0x4554a5={};let _0x3d62e8=_0x314e93,_0x576d25=_0x544d9f;Object[_0x2ed6ff(0x2c6)](_0x44a2b8[_0x2ed6ff(0x2b1)])[_0x2ed6ff(0x408)](_0x153388=>{const _0x37fdf4=_0x2ed6ff;Object['keys'](_0x44a2b8[_0x37fdf4(0x2b1)][Number(_0x153388)])[_0x37fdf4(0x408)](_0x46a671=>{const _0x2fc84b=_0x37fdf4,_0x29ebcf={..._0x44a2b8['data'][Number(_0x153388)][Number(_0x46a671)]};_0x1fb3a7[_0x2fc84b(0x4a2)](Number(_0x153388)+_0x3d62e8,Number(_0x46a671)+_0x576d25,_0xba7f38(_0x5e9d52,_0x29ebcf,_0x3d8532[_0x2fc84b(0x3d7)]));});});const _0x2477a6=Object[_0x2ed6ff(0x2c6)](_0x44a2b8['data'])[_0x2ed6ff(0x30f)];_0x3d62e8+=_0x2477a6+(_0x2477a6?_0x36faea:0x0);const _0x19cf13=_0x4054e6[_0x2ed6ff(0x336)](),_0x467d1f=_0x4054e6[_0x2ed6ff(0x31b)]();for(let _0x103e70=0x0;_0x103e70<_0x19cf13;_0x103e70++)for(let _0x39620f=0x0;_0x39620f<_0x467d1f;_0x39620f++){const _0x3b2648={...(_0x2e7b9f=(_0x1c4d13=_0x4054e6[_0x2ed6ff(0x2b1)])==null?void 0x0:_0x1c4d13[_0x103e70])==null?void 0x0:_0x2e7b9f[_0x39620f]};_0x3b2648&&((_0x437d8a=_0x5ed036[_0x2ed6ff(0x31c)][_0x39620f])!=null&&_0x437d8a['isValue'])&&_0x39620f===_0x467d1f-0x1&&_0x103e70===_0x19cf13-0x1&&(_0x3b2648['v']=''+_0x565ffb[_0x2ed6ff(0x3fe)]),_0x1fb3a7[_0x2ed6ff(0x4a2)](_0x103e70+_0x3d62e8,_0x39620f+_0x576d25,_0xba7f38(_0x5e9d52,_0x3b2648,_0x3d8532[_0x2ed6ff(0x436)]));}for(let _0x2e6cd1=0x0;_0x2e6cd1<_0x4054e6[_0x2ed6ff(0x35c)][_0x2ed6ff(0x30f)];_0x2e6cd1++)_0x4054e6[_0x2ed6ff(0x35c)][_0x2e6cd1]&&(_0x135df9[''+(_0x2e6cd1+_0x576d25)]=_0x4054e6['info'][_0x2e6cd1]);_0x576d25+=_0x467d1f;const _0x2ab4e0=_0x227c5a[_0x2ed6ff(0x31c)],_0x13fa63=_0x227c5a[_0x2ed6ff(0x20b)]()>=0x0?_0x227c5a['getLastRow']()+0x1:0x0,_0x40ecba=_0x227c5a[_0x2ed6ff(0x4ac)]()>=0x0?_0x227c5a[_0x2ed6ff(0x4ac)]()+0x1:0x0;for(let _0x38c9f3=0x0;_0x38c9f3<_0x40ecba;_0x38c9f3++){for(let _0x45544e=0x0;_0x45544e<_0x13fa63;_0x45544e++){const _0x5aeed8={...(_0x2259bd=(_0x2396a1=_0x227c5a[_0x2ed6ff(0x2b1)])==null?void 0x0:_0x2396a1[_0x45544e])==null?void 0x0:_0x2259bd[_0x38c9f3]},_0x2514d3=(_0x3f4052=_0x2ab4e0[_0x45544e])==null?void 0x0:_0x3f4052[_0x2ed6ff(0x45d)],_0x2cdc24=_0x34e286[_0x2514d3],_0x5b8c0e=_0x446e73[_0x2514d3];_0x5aeed8&&(_0x5aeed8['v']=_0x1072a1(_0x5aeed8,_0x45544e===0x0&&((_0xd1b721=_0x227c5a[_0x2ed6ff(0x1f3)](_0x38c9f3+0x1))==null?void 0x0:_0xd1b721['isValue']),_0x2cdc24,_0x565ffb));let _0x5eb0d9;_0x2cdc24?_0x5eb0d9={..._0x3d8532[_0x2ed6ff(0x36c)],'n':{'pattern':_0x2cdc24}}:_0x5eb0d9={..._0x3d8532['colStyle']},_0x1fb3a7[_0x2ed6ff(0x4a2)](_0x45544e+_0x3d62e8,_0x38c9f3+_0x576d25,_0xba7f38(_0x5e9d52,_0x5aeed8,_0x5eb0d9,_0x5b8c0e));}_0x227c5a[_0x2ed6ff(0x35c)][_0x38c9f3]&&(_0x1eaddb[''+(_0x38c9f3+_0x576d25)]=_0x227c5a['info'][_0x38c9f3]),_0x227c5a[_0x2ed6ff(0x31c)][_0x38c9f3+0x1]&&(_0x4554a5[''+(_0x38c9f3+_0x3d62e8+0x1)]=_0x227c5a[_0x2ed6ff(0x31c)][_0x38c9f3+0x1]);}_0x3d62e8+=_0x19cf13;const _0x487513=_0x5ed036[_0x2ed6ff(0x31c)],_0x5502c7=_0x5ed036[_0x2ed6ff(0x20b)]()>=0x0?_0x5ed036['getLastRow']()+0x1:0x0,_0x2242a4=_0x5ed036[_0x2ed6ff(0x4ac)]()>=0x0?_0x5ed036[_0x2ed6ff(0x4ac)]()+0x1:0x0;for(let _0x3fc7ba=0x0;_0x3fc7ba<_0x5502c7;_0x3fc7ba++){for(let _0x411437=0x0;_0x411437<_0x2242a4;_0x411437++){const _0x1b764b={...(_0x569f4a=(_0x1c8764=_0x5ed036[_0x2ed6ff(0x2b1)])==null?void 0x0:_0x1c8764[_0x3fc7ba])==null?void 0x0:_0x569f4a[_0x411437]},_0x281b7a=(_0x147c08=_0x487513[_0x411437])==null?void 0x0:_0x147c08[_0x2ed6ff(0x45d)],_0x363583=_0x34e286[_0x281b7a],_0x5c27e3=_0x446e73[_0x281b7a];_0x1b764b&&(_0x1b764b['v']=_0x1072a1(_0x1b764b,!0x1,_0x363583,_0x565ffb));let _0x41007d;_0x5ed036[_0x2ed6ff(0x35c)][_0x3fc7ba][_0x2ed6ff(0x2c7)]===_0x5ed036[_0x2ed6ff(0x31b)]()?_0x41007d=_0x3d8532['leafStyle']:_0x5ed036['info'][_0x3fc7ba][_0x2ed6ff(0x299)]?_0x41007d=_0x5ed036[_0x2ed6ff(0x35c)][_0x3fc7ba][_0x2ed6ff(0x2c7)]===0x0?_0x3d8532[_0x2ed6ff(0x445)]:_0x3d8532[_0x2ed6ff(0x38f)]:_0x41007d=_0x3d8532[_0x2ed6ff(0x2a4)],_0x363583&&(_0x41007d={..._0x41007d,'n':{'pattern':_0x363583}}),_0x1fb3a7[_0x2ed6ff(0x4a2)](_0x3fc7ba+_0x3d62e8,_0x411437+_0x544d9f,_0xba7f38(_0x5e9d52,_0x1b764b,_0x41007d,_0x5c27e3));}_0x5ed036[_0x2ed6ff(0x35c)][_0x3fc7ba]&&(_0x24758d[''+(_0x3fc7ba+_0x3d62e8)]=_0x5ed036[_0x2ed6ff(0x35c)][_0x3fc7ba]),_0x5ed036['headerMap'][_0x3fc7ba]&&(_0x3fdfd1[''+(_0x3fc7ba+_0x544d9f)]=_0x5ed036[_0x2ed6ff(0x31c)][_0x3fc7ba]);}const _0x3c5070=_0x354bae[_0x2ed6ff(0x336)](),_0x13dc2d=_0x354bae['getColCount']();for(let _0x8f7e4c=0x0;_0x8f7e4c<_0x3c5070;_0x8f7e4c++)for(let _0x2da27b=0x0;_0x2da27b<_0x13dc2d;_0x2da27b++){const _0x2f0957={...(_0x1a28b6=(_0x2aadbe=_0x354bae[_0x2ed6ff(0x2b1)])==null?void 0x0:_0x2aadbe[_0x8f7e4c])==null?void 0x0:_0x1a28b6[_0x2da27b]};let _0x2845d7;_0x5ed036[_0x2ed6ff(0x35c)][_0x8f7e4c][_0x2ed6ff(0x299)]?_0x2845d7=_0x5ed036[_0x2ed6ff(0x35c)][_0x8f7e4c]['level']===0x0?_0x3d8532['grandTotal']:_0x3d8532['subTotalStyle']:_0x2845d7=_0x3d8532[_0x2ed6ff(0x353)];const _0x241234=_0x5ed036[_0x2ed6ff(0x35c)][_0x8f7e4c][_0x2ed6ff(0x226)],_0x108b70=_0x227c5a[_0x2ed6ff(0x35c)][_0x2da27b][_0x2ed6ff(0x226)],_0x1625ee=Math[_0x2ed6ff(0x453)](_0x241234,_0x108b70),_0x49a079=_0x4300c4[_0x2ed6ff(0x2d5)][_0x2ed6ff(0x48e)][_0x2ed6ff(0x46a)]();let _0x1f1cb8='';_0x1625ee<0x0?_0x1f1cb8=(_0x5b7a79=_0x49a079[0x0])!=null?_0x5b7a79:'':_0x1f1cb8=(_0x116410=_0x49a079[_0x1625ee])!=null?_0x116410:'';const _0xb8e807=_0x34e286[_0x1f1cb8];_0xb8e807&&(_0x2845d7={..._0x2845d7,'n':{'pattern':_0xb8e807}}),_0x1fb3a7['setValue'](_0x8f7e4c+_0x3d62e8,_0x2da27b+_0x576d25,_0xba7f38(_0x5e9d52,_0x2f0957,_0x2845d7));}return{'valueMatrix':_0x1fb3a7,'rowInfo':_0x24758d,'colInfo':_0x1eaddb,'cornerInfo':_0x135df9,'rowHeaderMap':_0x3fdfd1,'colHeaderMap':_0x4554a5};};function _0x1072a1(_0x126703,_0x3f09d2,_0x324451,_0x2e313a){const _0x3f9178=_0x32b11e;let _0x10cf41=_0x126703['v'];_0x3f09d2&&(_0x10cf41=''+_0x2e313a[_0x3f9178(0x3fe)]);const _0x3d1061=_0x126703['t']&&(_0x126703['t']&_0x5eb847[_0x3f9178(0x242)]['blank'])>0x0;_0x3d1061&&(_0x10cf41=''+_0x2e313a[_0x3f9178(0x307)]);const _0x2c3f2e=_0x126703['t']&&(_0x126703['t']&_0x5eb847['PivotViewCellValueTypeEnum']['other'])>0x0;if(_0x2c3f2e&&(_0x10cf41=''+_0x2e313a['sheets-pivot.other']),_0x126703['s']===_0x5eb847[_0x3f9178(0x39a)][_0x3f9178(0x1b7)]){let _0x288de7=_0x10cf41,_0x2a3633='';_0x5eb847[_0x3f9178(0x390)](_0x10cf41)&&(_0x288de7=_0x10cf41[_0x3f9178(0x2d8)],_0x2a3633=_0x10cf41[_0x3f9178(0x3b6)]);const _0x582a68=_0x324451&&!_0x3d1061&&!_0x2c3f2e?_0x4d7ec7[_0x3f9178(0x2d0)][_0x3f9178(0x3da)](_0x324451,Number(_0x288de7)):_0x288de7;_0x2a3633?_0x10cf41=_0x582a68+'\x20'+_0x2a3633:_0x10cf41=_0x582a68+'\x20'+_0x2e313a['sheets-pivot.subTotal'];}else _0x126703['s']===_0x5eb847['PivotCellStyleTypeEnum'][_0x3f9178(0x324)]&&(_0x10cf41=_0x10cf41+'\x20'+_0x2e313a[_0x3f9178(0x1ec)]);return _0x10cf41;}function _0x4249b2(_0x1837ae){const _0x139833=_0x32b11e;if(_0x5eb847['isErrorValue'](_0x1837ae)){const {errorType:_0x4994f4}=_0x1837ae;switch(_0x4994f4){case _0x5eb847[_0x139833(0x3c0)][_0x139833(0x430)]:return _0x1a7c77[_0x139833(0x2ed)]['DIV_BY_ZERO'];case _0x5eb847[_0x139833(0x3c0)][_0x139833(0x3ba)]:return _0x1a7c77[_0x139833(0x2ed)]['NUM'];case _0x5eb847[_0x139833(0x3c0)][_0x139833(0x3e5)]:return _0x1a7c77[_0x139833(0x2ed)][_0x139833(0x407)];case _0x5eb847[_0x139833(0x3c0)][_0x139833(0x36e)]:return _0x1a7c77[_0x139833(0x2ed)][_0x139833(0x407)];case _0x5eb847[_0x139833(0x3c0)][_0x139833(0x48d)]:return _0x1a7c77['ErrorType'][_0x139833(0x1fc)];}}return _0x1837ae;}function _0x57c10c(_0x48b1a9,_0xdaacaf,_0x1094a5=!0x1,_0x10d825=!0x1){const _0x5e3222=_0x32b11e,{data:_0x3960e6}=_0xdaacaf,_0x4c9fe6=_0xdaacaf[_0x5e3222(0x336)](),_0x3f8eb4=_0xdaacaf[_0x5e3222(0x31b)]();if(_0x4c9fe6<=0x0||_0x3f8eb4<=0x0)return[];const _0x4d1690=_0xdaacaf['getLastCol'](),_0x5bf7b9=_0xdaacaf[_0x5e3222(0x20b)](),_0xa4e2f6=_0x10d825?_0x5bf7b9>=0x0?_0x5bf7b9+0x1:0x0:_0x4c9fe6,_0x297ef8=_0x10d825?_0x4d1690>=0x0?_0x4d1690+0x1:0x0:_0x3f8eb4,{row:_0x4e94b2,col:_0x46c3f3}=_0x48b1a9,_0x57f797=_0x4e94b2,_0x2535d7=_0x46c3f3;if(_0x1094a5){const _0x39738e=[];for(const [_0xeb806c,_0xdf8685]of Object[_0x5e3222(0x1e9)](_0x3960e6))for(const [_0x485856,_0x596752]of Object[_0x5e3222(0x1e9)](_0xdf8685))_0x39738e[_0x5e3222(0x344)](_0x4d7ec7[_0x5e3222(0x4a0)](_0x57f797+Number(_0xeb806c),_0x2535d7+Number(_0x485856)));return _0x39738e;}else{const _0x219162=_0x10d825?_0xa4e2f6>0x0?0x1:0x0:0x1,_0x124922=_0x10d825?_0x297ef8>0x0?0x1:0x0:0x1,_0x1c5344=_0x4e94b2+_0xa4e2f6-_0x219162,_0x5dd8b8=_0x46c3f3+_0x297ef8-_0x124922;return[{'startRow':_0x57f797,'startColumn':_0x2535d7,'endRow':_0x1c5344,'endColumn':_0x5dd8b8}];}}const _0x5755e4=_0x32b11e(0x2aa),_0x27992b=_0x32b11e(0x362);var _0x19355e=(_0x4cfc3e=>(_0x4cfc3e[_0x32b11e(0x43f)]='filter',_0x4cfc3e[_0x32b11e(0x40c)]=_0x32b11e(0x1d8),_0x4cfc3e[_0x32b11e(0x227)]='addPivotField',_0x4cfc3e[_0x32b11e(0x23f)]=_0x32b11e(0x23f),_0x4cfc3e[_0x32b11e(0x1ee)]=_0x32b11e(0x18e),_0x4cfc3e[_0x32b11e(0x1b6)]=_0x32b11e(0x441),_0x4cfc3e[_0x32b11e(0x388)]=_0x32b11e(0x34e),_0x4cfc3e[_0x32b11e(0x287)]='setPivotCollapse',_0x4cfc3e[_0x32b11e(0x367)]=_0x32b11e(0x217),_0x4cfc3e['SetPivotSort']='setPivotSort',_0x4cfc3e[_0x32b11e(0x225)]=_0x32b11e(0x1c3),_0x4cfc3e[_0x32b11e(0x379)]=_0x32b11e(0x3e3),_0x4cfc3e['UpdateValuePosition']=_0x32b11e(0x3c6),_0x4cfc3e[_0x32b11e(0x305)]=_0x32b11e(0x195),_0x4cfc3e[_0x32b11e(0x3a4)]=_0x32b11e(0x3f2),_0x4cfc3e[_0x32b11e(0x1c2)]=_0x32b11e(0x1e4),_0x4cfc3e[_0x32b11e(0x33c)]=_0x32b11e(0x1f9),_0x4cfc3e))(_0x19355e||{});const _0x581f57={'sheets-pivot.blankValue':_0x32b11e(0x40b),'sheets-pivot.columnName':_0x32b11e(0x42a),'sheets-pivot.subTotalText':_0x32b11e(0x24f),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x32b11e(0x254),'sheets-pivot.averageName':_0x32b11e(0x414),'sheets-pivot.countName':_0x32b11e(0x475),'sheets-pivot.countNumsName':_0x32b11e(0x475),'sheets-pivot.maxName':_0x32b11e(0x488),'sheets-pivot.minName':_0x32b11e(0x405),'sheets-pivot.productName':_0x32b11e(0x328),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x32b11e(0x3b3),'sheets-pivot.sumName':_0x32b11e(0x493),'sheets-pivot.varName':_0x32b11e(0x21f),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x32b11e(0x1b7),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':'blank','sheets-pivot.other':_0x32b11e(0x19a),'sheets-pivot.emptyPivot.filter':_0x32b11e(0x43f),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x32b11e(0x27c),'sheets-pivot.emptyPivot.values':_0x32b11e(0x4a1)},_0x2462ec={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x39ea12=_0x4d7ec7['createAsyncInterceptorKey'](_0x32b11e(0x4b2)),_0x588616=_0x4d7ec7[_0x32b11e(0x1d0)]('pivotMutationGenerate');var _0x2882c5=(_0xfe44f4=>(_0xfe44f4[_0x32b11e(0x20f)]='add',_0xfe44f4[_0x32b11e(0x494)]='delete',_0xfe44f4[_0x32b11e(0x435)]=_0x32b11e(0x435),_0xfe44f4))(_0x2882c5||{}),_0x4e6aa2=(_0x465cef=>(_0x465cef[_0x32b11e(0x248)]=_0x32b11e(0x20f),_0x465cef[_0x32b11e(0x476)]='set',_0x465cef[_0x32b11e(0x420)]=_0x32b11e(0x494),_0x465cef))(_0x4e6aa2||{});const _0x2d6314={'type':_0x4d7ec7[_0x32b11e(0x409)]['MUTATION'],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x1927fa={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x5c081f={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'id':_0x32b11e(0x271),'handler':()=>!0x0},_0x2c9a6c={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x571d06={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':_0x32b11e(0x1a8),'handler':()=>!0x0};var _0x5a0cde=Object[_0x32b11e(0x210)],_0x225229=(_0xc63391,_0x54758b,_0x5195ab,_0x5b8434)=>{for(var _0x2f1043=_0x5b8434>0x1?void 0x0:_0x5b8434?_0x5a0cde(_0x54758b,_0x5195ab):_0x54758b,_0x11945e=_0xc63391['length']-0x1,_0x5ce425;_0x11945e>=0x0;_0x11945e--)(_0x5ce425=_0xc63391[_0x11945e])&&(_0x2f1043=_0x5ce425(_0x2f1043)||_0x2f1043);return _0x2f1043;},_0x4b8230=(_0x64eb24,_0x236836)=>(_0x101e2b,_0x3605de)=>_0x236836(_0x101e2b,_0x3605de,_0x64eb24);_0x3122be[_0x32b11e(0x308)]=class extends _0x4d7ec7['Disposable']{constructor(_0x553888){const _0xf02921=_0x32b11e;super(),_0x24fce5(this,_0xf02921(0x291),new Map()),this[_0xf02921(0x48b)]=_0x553888;}['handleAsyncResponse'](_0x33f931){const _0xfb40fd=_0x32b11e,{version:_0x1193d7}=_0x33f931,_0x7b2a6e=this['_requestResolvers'][_0xfb40fd(0x492)](_0x1193d7);_0x7b2a6e&&(_0x7b2a6e(_0x33f931),this[_0xfb40fd(0x291)][_0xfb40fd(0x494)](_0x1193d7));}[_0x32b11e(0x1b2)](_0x49eff6){return new Promise((_0x339e46,_0x2446b6)=>{const _0x3e87cc=_0xd91a,_0x43ea3c=this[_0x3e87cc(0x329)]();this[_0x3e87cc(0x291)]['set'](_0x43ea3c,_0x339e46),this[_0x3e87cc(0x48b)][_0x3e87cc(0x238)](_0x2d6314['id'],{'version':_0x43ea3c,..._0x49eff6},{'onlyLocal':!0x0});});}[_0x32b11e(0x329)](){const _0x17f795=_0x32b11e;return Math[_0x17f795(0x222)]()['toString'](0x24)[_0x17f795(0x20c)](0x2,0x10);}},_0x3122be[_0x32b11e(0x308)]=_0x225229([_0x4b8230(0x0,_0x4d7ec7['Inject'](_0x4d7ec7['ICommandService']))],_0x3122be['SheetsPivotRPCService']);const _0x1a399b={0x0:'R',0x1:'K',0x2:'2',0x3:'F',0x4:'s',0x5:'z',0x6:'S',0x7:'n',0x8:'P',0x9:'3','q':'0','v':'1','Z':'4','G':'5','V':'6','K':'7','C':'8','Q':'9','T':'a','c':'b','j':'c','O':'d','i':'e','y':'f','A':'g','k':'h','r':'i','L':'j','m':'k','u':'l','l':'m','x':'o','U':'p','d':'q','X':'r','n':'t','P':'u','p':'v','b':'w','z':'x','h':'y','F':'A','N':'B','W':'C','s':'D','w':'E','a':'G','J':'H','S':'I','o':'J','Y':'L','M':'M','I':'N','H':'O','t':'Q','R':'T','f':'U','g':'V','D':'W','B':'X','e':'Y','E':'Z'},_0x746e82=_0x32b11e(0x354),_0x2ba261=_0x95d26b=>{const _0x5e65cd=_0x32b11e;var _0xd3f749;return((_0xd3f749=_0x95d26b[_0x5e65cd(0x4a7)])==null?void 0x0:_0xd3f749[_0x5e65cd(0x1f7)]['replace'](/\r\n$/,''))||'';};class _0x4f3c64 extends _0x5eb847['DataFieldManager']{constructor(_0x4ed75d,_0x270523){const _0x1e431c=_0x32b11e;super(),_0x24fce5(this,'rangeKeyMap',{}),_0x24fce5(this,_0x1e431c(0x45a)),_0x24fce5(this,_0x1e431c(0x357)),(this[_0x1e431c(0x45a)]=_0x270523,this[_0x1e431c(0x357)]=_0x4ed75d);}[_0x32b11e(0x1df)](){const _0x1de34e=_0x32b11e;for(const _0x592931 in this[_0x1de34e(0x22f)]){const _0x386f70=this[_0x1de34e(0x22f)][_0x592931],_0x5517e0=_0x386f70[_0x1de34e(0x3f1)]();this['rangeKeyMap'][_0x5517e0]=_0x386f70['getId']();}}[_0x32b11e(0x257)](){const _0x1456b4=_0x32b11e,_0x3d70b6=this[_0x1456b4(0x357)];return _0x4bdafa[_0x1456b4(0x295)](_0x3d70b6);}[_0x32b11e(0x3fd)](_0x1120e6){const _0x4ebc6d=_0x32b11e,_0x5dfa47=this[_0x4ebc6d(0x22f)][_0x1120e6][_0x4ebc6d(0x491)];delete this['dataFields'][_0x1120e6],delete this['rangeKeyMap'][_0x5dfa47];}['addDataFieldWithoutUnitInfo'](_0x282fc5){const _0x721820=_0x32b11e;this[_0x721820(0x22f)][_0x282fc5[_0x721820(0x1fe)]()]=_0x282fc5;}['removeCollectionImp'](_0x4bbec9){const _0x3907b9=_0x32b11e;var _0x29b727,_0x4ef29f;const _0x2c684b=this[_0x3907b9(0x357)][_0x3907b9(0x283)](_0x4bbec9);if(_0x2c684b){const {unitId:_0x174cf3,subUnitId:_0x2eaad6}=_0x2c684b,_0x28a0c4=(_0x29b727=this[_0x3907b9(0x357)][_0x3907b9(0x3f0)](_0x174cf3,_0x2eaad6,_0x4bbec9))==null?void 0x0:_0x29b727[_0x3907b9(0x261)];this[_0x3907b9(0x357)][_0x3907b9(0x3cf)]({'token':_0x4bbec9,'type':_0x2882c5[_0x3907b9(0x494)],'dataRangeInfo':_0x28a0c4});}(_0x4ef29f=this[_0x3907b9(0x334)](_0x4bbec9))==null||_0x4ef29f['dispose'](),delete this[_0x3907b9(0x3f7)][_0x4bbec9];}['getRangeKey'](_0x2ef2b8,_0x3b6ee7){const _0x5f0824=_0x32b11e,{sheetName:_0x208780,unitId:_0x3a6fcb,range:_0x2889e7}=_0x2ef2b8,{startRow:_0x16ee05,endRow:_0x1429ed}=_0x2889e7;return _0x1a7c77[_0x5f0824(0x2da)](_0x3a6fcb,_0x208780,{'startRow':_0x16ee05,'endRow':_0x1429ed,'startColumn':_0x3b6ee7,'endColumn':_0x3b6ee7});}[_0x32b11e(0x383)](_0x1ded38){const _0x2e5c35=_0x32b11e;return this[_0x2e5c35(0x22f)][this[_0x2e5c35(0x4a6)][_0x1ded38]];}[_0x32b11e(0x1ed)](_0x2cf4ea,_0x5cee30){this['rangeKeyMap'][_0x2cf4ea]=_0x5cee30;}['updateRangeKeyMap'](_0x4043a0,_0x1d1200){const _0x3a5d3d=_0x32b11e;this[_0x3a5d3d(0x4a6)][_0x1d1200]=this['rangeKeyMap'][_0x4043a0],delete this[_0x3a5d3d(0x4a6)][_0x4043a0];}[_0x32b11e(0x247)](_0x575f9a,_0x408794,_0x5de335,_0x30eb99){const _0x20a663=_0x32b11e,_0x378234=new _0x5eb847[(_0x20a663(0x2be))](this);_0x378234[_0x20a663(0x471)](_0x408794);const _0x488ef2=[];let _0x427ab8=0x0;for(const _0x215c2c of _0x378234['fieldIds']){const _0x5ebd61=this[_0x20a663(0x3f1)](_0x5de335,_0x427ab8),_0x2d06d8=this[_0x20a663(0x22f)][_0x215c2c];_0x2d06d8&&(_0x2d06d8[_0x20a663(0x491)]=_0x5ebd61,this[_0x20a663(0x1ed)](_0x5ebd61,_0x215c2c),_0x488ef2[_0x20a663(0x344)]({'index':_0x427ab8,'dataField':_0x2d06d8})),_0x427ab8++;}return this[_0x20a663(0x458)](_0x575f9a,_0x378234,_0x5de335,_0x30eb99),{'collection':_0x378234,'updateDataFieldList':_0x488ef2};}[_0x32b11e(0x1d3)](_0x1dad01,_0x5221e2){const _0x369afd=_0x32b11e;return _0x1dad01[_0x369afd(0x1d7)]===_0x4d7ec7[_0x369afd(0x269)][_0x369afd(0x2ea)]?{'startRow':0x0,'startColumn':_0x1dad01[_0x369afd(0x39f)],'endRow':_0x5221e2[_0x369afd(0x336)]()-0x1,'endColumn':_0x1dad01['endColumn']}:{'startRow':_0x1dad01[_0x369afd(0x262)],'startColumn':_0x1dad01[_0x369afd(0x39f)],'endRow':_0x1dad01[_0x369afd(0x40d)],'endColumn':_0x1dad01[_0x369afd(0x2ee)]};}[_0x32b11e(0x253)](_0x13ad79){const _0x1e96f8=_0x32b11e,{sheetName:_0x19689d,range:_0x4c6a12}=_0x13ad79,_0xb75862=this[_0x1e96f8(0x45a)][_0x1e96f8(0x1a9)](_0x4d7ec7[_0x1e96f8(0x49b)]['UNIVER_SHEET']),_0x546e9f=_0xb75862['getSheetBySheetName'](_0x19689d),_0x4290e7=_0x546e9f[_0x1e96f8(0x455)](),{startColumn:_0x80d52f,startRow:_0x373a6a,endColumn:_0x26cc20}=this[_0x1e96f8(0x1d3)](_0x4c6a12,_0x546e9f),_0x380eb0=_0xb75862[_0x1e96f8(0x38c)](),_0x85aeaf=new _0x5eb847[(_0x1e96f8(0x2be))](this);_0x85aeaf[_0x1e96f8(0x415)](_0x13ad79);const _0x1cded6=[],_0x2ff077={};for(let _0x58009a=_0x80d52f;_0x58009a<=_0x26cc20;_0x58009a++){const _0x1754da=_0x4290e7[_0x1e96f8(0x213)](_0x373a6a,_0x58009a),_0x1ffe97=this[_0x1e96f8(0x3f1)](_0x13ad79,_0x58009a),_0x4d96ad=this[_0x1e96f8(0x383)](_0x1ffe97);if(_0x4d96ad)_0x85aeaf[_0x1e96f8(0x3bf)](_0x4d96ad['getId'](),_0x4d96ad[_0x1e96f8(0x440)]());else{const _0x12b2e6=this[_0x1e96f8(0x191)]();let _0x477da5=this['adjustSheetCellData'](_0x1754da,_0x380eb0,_0x2ff077);_0x5eb847[_0x1e96f8(0x35b)](_0x477da5)&&(_0x477da5=_0x4d7ec7[_0x1e96f8(0x2d0)][_0x1e96f8(0x3da)](_0x477da5['f'],Number(_0x477da5['v'])));const _0x500afc=this['uniqueDataFieldName'](_0x477da5,_0x58009a),_0x3ed7ab=new _0x5eb847[(_0x1e96f8(0x26a))](_0x12b2e6,_0x500afc,_0x5eb847[_0x1e96f8(0x28e)](0x3));_0x3ed7ab[_0x1e96f8(0x491)]=_0x1ffe97,this['dataFields'][_0x12b2e6]=_0x3ed7ab,_0x85aeaf[_0x1e96f8(0x3bf)](_0x12b2e6,_0x500afc),_0x1cded6[_0x1e96f8(0x344)]({'index':_0x58009a,'dataField':_0x3ed7ab});}}return{'updateDataFieldList':_0x1cded6,'collection':_0x85aeaf};}[_0x32b11e(0x412)](_0x46a0b6){const _0x2e4f25=_0x32b11e;return this['_host'][_0x2e4f25(0x46e)]()['sheets-pivot.columnName']+'\x20'+_0x4d7ec7[_0x2e4f25(0x446)](_0x46a0b6);}[_0x32b11e(0x35f)](_0x307826,_0x3ccaba){return _0x307826==null||_0x307826===''?this['_getAutoName'](_0x3ccaba):String(_0x307826);}['getCollection'](_0x5b878c){const _0x16c5ba=_0x32b11e;return this[_0x16c5ba(0x3f7)][_0x5b878c];}[_0x32b11e(0x458)](_0x178247,_0x31f8f7,_0x25cd0e,_0x2d6424){const _0x5e22f1=_0x32b11e;this[_0x5e22f1(0x3f7)][_0x178247]=_0x31f8f7,_0x31f8f7[_0x5e22f1(0x415)](_0x25cd0e),this[_0x5e22f1(0x357)][_0x5e22f1(0x3cf)]({'token':_0x178247,'type':_0x2882c5[_0x5e22f1(0x20f)],'dataRangeInfo':_0x25cd0e,'targetCellInfo':_0x2d6424});}[_0x32b11e(0x428)](_0x32fba9,_0x4e5666){const _0xedd3f6=_0x32b11e,_0x24c373=this[_0xedd3f6(0x334)](_0x32fba9),_0x488499=_0x24c373[_0xedd3f6(0x3ed)]();let _0x2e1e46=0x0;for(const _0x1b8adb of _0x488499){const _0x29b8e7=_0x24c373[_0xedd3f6(0x318)](_0x1b8adb),_0xda259d=this[_0xedd3f6(0x3f1)](_0x4e5666,_0x2e1e46);this[_0xedd3f6(0x2e4)](_0x29b8e7[_0xedd3f6(0x491)],_0xda259d),_0x2e1e46++;}}[_0x32b11e(0x1ae)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x32b11e(0x1fb)](_0x2bcc8f,_0x97e9e2){const _0x38f320=_0x32b11e;if(this[_0x38f320(0x334)](_0x2bcc8f)){const _0x38bba2=this[_0x38f320(0x1e6)](_0x97e9e2),_0x34477a=[];for(const _0x4ca800 of _0x38bba2)this[_0x38f320(0x4a6)][_0x4ca800]!==void 0x0&&_0x34477a[_0x38f320(0x344)](this[_0x38f320(0x4a6)][_0x4ca800]);const _0x1d7288=this[_0x38f320(0x489)](_0x2bcc8f),_0x202f59=[],_0x8e1d=new Set(_0x34477a);for(const _0x40c20c of _0x1d7288)_0x8e1d[_0x38f320(0x231)](_0x40c20c)||_0x202f59[_0x38f320(0x344)](_0x40c20c);return _0x202f59;}}[_0x32b11e(0x327)](_0x176a83,_0x4bcffd,_0xaaf08a,_0x308090,_0x54085a){const _0x3768f6=_0x32b11e;return _0x4bcffd&&_0x4bcffd[_0x3768f6(0x213)](_0x308090,_0x54085a)?_0x4bcffd['getValue'](_0x308090,_0x54085a):_0xaaf08a&&_0xaaf08a[_0x3768f6(0x213)](_0x308090,_0x54085a)?_0xaaf08a[_0x3768f6(0x213)](_0x308090,_0x54085a):_0x176a83[_0x3768f6(0x213)](_0x308090,_0x54085a);}[_0x32b11e(0x3b7)](_0x3da0e3,_0x48e57c,_0x7fbdd6,_0x9ae415){const _0x34b97c=_0x32b11e,_0xc7c617=this[_0x34b97c(0x22f)][_0x3da0e3];if(!_0xc7c617)return;const {subUnitId:_0x322a57,range:_0x3bfdbc,unitId:_0x195a29}=_0x48e57c,_0x6d6110=this[_0x34b97c(0x45a)]['getUnit'](_0x195a29);if(!_0x6d6110){console['error'](_0x34b97c(0x2e9));return;}const _0x5ef7be=_0x6d6110[_0x34b97c(0x33a)](_0x322a57),_0x26da4e=_0x5ef7be[_0x34b97c(0x455)](),{arrayFormulaCellDataMatrix:_0x110563,unitDataMatrix:_0xc2fa87}=_0x9ae415||{},{startRow:_0x23a4df,startColumn:_0x17c5f7,endRow:_0x4fe5f8}=this['getRangeStartEndInfo'](_0x3bfdbc,_0x5ef7be);_0xc7c617['reset']();const _0x31bcf4=_0x6d6110[_0x34b97c(0x38c)](),_0x429d7c={},_0x338c34=this[_0x34b97c(0x327)](_0x26da4e,_0x110563,_0xc2fa87,_0x23a4df,_0x17c5f7+_0x7fbdd6);let _0x2fa4c1=this['adjustSheetCellData'](_0x338c34,_0x31bcf4,_0x429d7c);_0x5eb847['isDateValue'](_0x2fa4c1)&&(_0x2fa4c1=_0x4d7ec7[_0x34b97c(0x2d0)][_0x34b97c(0x3da)](_0x2fa4c1['f'],Number(_0x2fa4c1['v'])));const _0x167db7=this[_0x34b97c(0x35f)](_0x2fa4c1,_0x17c5f7+_0x7fbdd6);_0xc7c617[_0x34b97c(0x2ec)](_0x167db7);for(let _0x5d02b7=_0x23a4df+0x1;_0x5d02b7<=_0x4fe5f8;_0x5d02b7++){const _0x1eac9d=this[_0x34b97c(0x327)](_0x26da4e,_0x110563,_0xc2fa87,_0x5d02b7,_0x17c5f7+_0x7fbdd6);_0xc7c617[_0x34b97c(0x3be)](this[_0x34b97c(0x321)](_0x1eac9d,_0x31bcf4,_0x429d7c),_0x5d02b7-0x1-_0x23a4df);}}['refreshData'](_0x36d458,_0x18e5ea,_0x470d96){const _0x540044=_0x32b11e,{subUnitId:_0x41c981,range:_0x5dc043,unitId:_0x223c99}=_0x470d96,_0x673e58=this['_univerInstanceService'][_0x540044(0x27d)](_0x223c99);if(!_0x673e58){console[_0x540044(0x2c0)](_0x540044(0x2e9));return;}const _0x21507c=_0x673e58[_0x540044(0x33a)](_0x41c981),_0x1ac0a5=_0x21507c[_0x540044(0x455)](),{startRow:_0x234c4,startColumn:_0x291130,endRow:_0xf77797}=this[_0x540044(0x1d3)](_0x5dc043,_0x21507c),_0x15c5f4=_0x673e58['getStyles'](),_0x17aa84={};for(const {dataField:_0x532174,index:_0x2285cd}of _0x18e5ea){_0x532174['reset']();const _0x3422c7=this[_0x540044(0x327)](_0x1ac0a5,void 0x0,void 0x0,_0x234c4,_0x291130+_0x2285cd);let _0xb4c709=this['adjustSheetCellData'](_0x3422c7,_0x15c5f4,_0x17aa84);_0x5eb847[_0x540044(0x35b)](_0xb4c709)&&(_0xb4c709=_0x4d7ec7['numfmt'][_0x540044(0x3da)](_0xb4c709['f'],Number(_0xb4c709['v'])));const _0x1a3c6c=this[_0x540044(0x35f)](_0xb4c709,_0x291130+_0x2285cd);_0x532174[_0x540044(0x2ec)](_0x1a3c6c);}_0x36d458[_0x540044(0x45c)]();for(let _0xd225a8=_0x234c4+0x1;_0xd225a8<=_0xf77797;_0xd225a8++)for(const {index:_0x596b4b,dataField:_0x5c3a66}of _0x18e5ea){const _0x3a6780=_0x1ac0a5[_0x540044(0x213)](_0xd225a8,_0x291130+_0x596b4b);_0x5c3a66['addRecord'](this[_0x540044(0x321)](_0x3a6780,_0x15c5f4,_0x17aa84),_0xd225a8-0x1-_0x234c4);}_0x36d458['setDataRecordCount'](_0xf77797-_0x234c4);}[_0x32b11e(0x1e6)](_0x5d187e){const _0x351587=_0x32b11e,{range:_0x250bf5}=_0x5d187e,{startColumn:_0x4ece11,endColumn:_0x13fa69}=_0x250bf5,_0xba8fd6=[];for(let _0x5048b3=_0x4ece11;_0x5048b3<=_0x13fa69;_0x5048b3++)_0xba8fd6[_0x351587(0x344)](this[_0x351587(0x3f1)](_0x5d187e,_0x5048b3));return _0xba8fd6;}[_0x32b11e(0x321)](_0x2b2e0e,_0x157c04,_0x2ce061){const _0x10d800=_0x32b11e;if(_0x2b2e0e){const {s:_0x317ca9,v:_0xff3b0a,t:_0x11dca1,p:_0x2d09b5}=_0x2b2e0e;if(_0x2d09b5)return _0x2ba261(_0x2d09b5);const _0x15378c=_0x157c04[_0x10d800(0x492)](_0x317ca9);if(_0x15378c&&_0x11dca1===_0x4d7ec7[_0x10d800(0x240)][_0x10d800(0x245)]&&_0x15378c['n']){const {pattern:_0x2e4219}=_0x15378c['n'];_0x2ce061[_0x2e4219]||(_0x2ce061[_0x2e4219]=_0x4d7ec7[_0x10d800(0x2d0)]['getFormatInfo'](_0x2e4219));const _0x4459f4=_0x2ce061[_0x2e4219],_0x29c6ff=_0x4459f4[_0x10d800(0x1a4)];if(_0x4459f4[_0x10d800(0x437)])return String(_0xff3b0a);if(_0x29c6ff)return{'v':_0xff3b0a,'f':_0x2e4219};}if(_0x11dca1===_0x4d7ec7[_0x10d800(0x240)][_0x10d800(0x245)])return Number(_0xff3b0a);if(_0x11dca1===_0x4d7ec7['CellValueType'][_0x10d800(0x31a)]||_0x11dca1===_0x4d7ec7['CellValueType'][_0x10d800(0x2ae)])return String(_0xff3b0a);if(_0x11dca1===void 0x0){const _0x5685ea=Number(_0xff3b0a);if(!Number[_0x10d800(0x464)](_0x5685ea)&&String(_0x5685ea)===_0xff3b0a)return _0x5685ea;}return _0xff3b0a!=null?_0xff3b0a:null;}else return null;}[_0x32b11e(0x29a)](_0x4efa93){const _0xb7e325=_0x32b11e,{sheetName:_0x13a9a4,range:_0x4a2e46,unitId:_0x10adb5}=_0x4efa93,_0x54950d=this[_0xb7e325(0x45a)][_0xb7e325(0x27d)](_0x10adb5);if(!_0x54950d)return console['error'](_0xb7e325(0x2e9)),{'header':[],'data':[]};const _0x66567c=_0x54950d[_0xb7e325(0x274)](_0x13a9a4),_0xa8a4cc=_0x66567c[_0xb7e325(0x455)](),{startRow:_0x2d6e95,startColumn:_0x5dd912,endRow:_0x31a978,endColumn:_0x305f0}=this[_0xb7e325(0x1d3)](_0x4a2e46,_0x66567c),_0x445549=_0x54950d[_0xb7e325(0x38c)](),_0x1777b0=[],_0x47c628=[],_0x4e3b94={};for(let _0x5f01cc=_0x2d6e95;_0x5f01cc<=_0x31a978;_0x5f01cc++){const _0x1332bc=[];for(let _0x38d858=_0x5dd912;_0x38d858<=_0x305f0;_0x38d858++){const _0x2bc3ad=_0xa8a4cc[_0xb7e325(0x213)](_0x5f01cc,_0x38d858);_0x5f01cc===_0x2d6e95?_0x1777b0['push'](_0x2bc3ad==null?null:String(_0x2bc3ad['v'])):_0x1332bc[_0xb7e325(0x344)](this['adjustSheetCellData'](_0x2bc3ad,_0x445549,_0x4e3b94));}_0x47c628[_0xb7e325(0x344)](_0x1332bc);}return{'header':_0x1777b0,'data':_0x47c628};}['toJSON'](){const _0xa8f9a2=_0x32b11e;return super[_0xa8f9a2(0x376)]();}[_0x32b11e(0x471)](_0x33a8b7){const _0x4a57df=_0x32b11e;super[_0x4a57df(0x471)](_0x33a8b7),this['initDataRanges']();}[_0x32b11e(0x25b)](){const _0xd231fe=_0x32b11e;super[_0xd231fe(0x25b)](),this[_0xd231fe(0x4a6)]={},this['_host']=null;}}const _0x2a7559=_0x5964e9=>{const _0x31295f=_0x32b11e,{targetCellInfo:_0x1ae59b}=_0x5964e9,{matrixCache:_0x2ae0eb,rangesCache:_0x42543c}=_0x529fe9({'filter':_0x31295f(0x43f),'row':'Row','column':'Column','values':'Values'},_0x1ae59b),_0x3b2f48=new _0x4d7ec7[(_0x31295f(0x2f4))]();return _0x2ae0eb['forValue']((_0x3ce0cc,_0x17fbb7,_0xdd796d)=>{_0x3b2f48['setValue'](_0x3ce0cc,_0x17fbb7,_0xdd796d);}),{'matrix':_0x3b2f48,'rangesCache':_0x42543c};},_0x13f886=_0x323bc8=>{const _0x32af42=_0x32b11e;let _0x590933;if(_0x323bc8!=null&&_0x323bc8['v']||(_0x323bc8==null?void 0x0:_0x323bc8['v'])===0x0){_0x590933||(_0x590933={});const _0x514731=_0x4249b2(_0x323bc8['v']);typeof _0x514731==_0x32af42(0x1f5)?_0x590933['t']=_0x4d7ec7[_0x32af42(0x240)][_0x32af42(0x245)]:typeof _0x514731==_0x32af42(0x3c9)&&(_0x590933['t']=_0x4d7ec7[_0x32af42(0x240)][_0x32af42(0x31a)]),_0x590933['v']=_0x514731;}return _0x590933;},_0x32733d=(_0xa1dc13,_0x9d837f,_0x216316)=>{const _0x2153e3=_0x32b11e;var _0x59ebdf,_0x48454d,_0x51a081,_0x5ae6d8,_0x481db6,_0x44ed45,_0x4fdc85,_0x562123,_0x63ef02,_0xc492e4,_0x3c2507,_0x1fed10;const {cornerView:_0x5038f5,rowView:_0x394f71,colView:_0x4bc14f,dataView:_0x3e30fc,pageView:_0x463353,formatMap:_0x49b9ef}=_0xa1dc13,{row:_0x155f71,col:_0x198024}=_0x9d837f,_0x18526f=new _0x4d7ec7[(_0x2153e3(0x2f4))]();let _0x2c5ccc=_0x155f71,_0x380a9d=_0x198024;Object['keys'](_0x463353[_0x2153e3(0x2b1)])[_0x2153e3(0x408)](_0x218cbb=>{const _0x192acd=_0x2153e3;Object[_0x192acd(0x2c6)](_0x463353[_0x192acd(0x2b1)][Number(_0x218cbb)])['forEach'](_0x108813=>{const _0x53ce42=_0x192acd,_0x11d0e1={..._0x463353[_0x53ce42(0x2b1)][Number(_0x218cbb)][Number(_0x108813)]};_0x18526f[_0x53ce42(0x4a2)](Number(_0x218cbb)+_0x2c5ccc,Number(_0x108813)+_0x380a9d,_0x13f886(_0x11d0e1));});});const _0x2083f9=Object[_0x2153e3(0x2c6)](_0x463353[_0x2153e3(0x2b1)])['length'];_0x2c5ccc+=_0x2083f9+(_0x2083f9?_0x36faea:0x0);const _0x170f43=_0x5038f5['getRowCount'](),_0x5ccafd=_0x5038f5[_0x2153e3(0x31b)]();for(let _0x3498c8=0x0;_0x3498c8<_0x170f43;_0x3498c8++)for(let _0x20cb58=0x0;_0x20cb58<_0x5ccafd;_0x20cb58++){const _0x14fcfe={...(_0x48454d=(_0x59ebdf=_0x5038f5[_0x2153e3(0x2b1)])==null?void 0x0:_0x59ebdf[_0x3498c8])==null?void 0x0:_0x48454d[_0x20cb58]};_0x14fcfe&&((_0x51a081=_0x394f71[_0x2153e3(0x31c)][_0x20cb58])!=null&&_0x51a081[_0x2153e3(0x411)])&&_0x20cb58===_0x5ccafd-0x1&&_0x3498c8===_0x170f43-0x1&&(_0x14fcfe['v']=''+_0x216316[_0x2153e3(0x3fe)]),_0x18526f[_0x2153e3(0x4a2)](_0x3498c8+_0x2c5ccc,_0x20cb58+_0x380a9d,_0x13f886(_0x14fcfe));}_0x380a9d+=_0x5ccafd;const _0xa35b1e=_0x4bc14f[_0x2153e3(0x31c)],_0x30408f=_0x4bc14f['getLastRow']()>=0x0?_0x4bc14f[_0x2153e3(0x20b)]()+0x1:0x0,_0x2763a4=_0x4bc14f['getLastCol']()>=0x0?_0x4bc14f['getLastCol']()+0x1:0x0;for(let _0x56259b=0x0;_0x56259b<_0x2763a4;_0x56259b++)for(let _0x396f73=0x0;_0x396f73<_0x30408f;_0x396f73++){const _0x33c950={...(_0x481db6=(_0x5ae6d8=_0x4bc14f['data'])==null?void 0x0:_0x5ae6d8[_0x56259b])==null?void 0x0:_0x481db6[_0x396f73]},_0x1fe1cd=(_0x44ed45=_0xa35b1e[_0x56259b])==null?void 0x0:_0x44ed45[_0x2153e3(0x45d)],_0x479a81=_0x49b9ef[_0x1fe1cd];_0x33c950&&(_0x33c950['v']=_0x1072a1(_0x33c950,_0x56259b===0x0&&((_0x4fdc85=_0x4bc14f[_0x2153e3(0x1f3)](_0x396f73+0x1))==null?void 0x0:_0x4fdc85[_0x2153e3(0x411)]),_0x479a81,_0x216316)),_0x18526f['setValue'](_0x56259b+_0x2c5ccc,_0x396f73+_0x380a9d,_0x13f886(_0x33c950));}_0x2c5ccc+=_0x170f43;const _0x498787=_0x394f71[_0x2153e3(0x31c)],_0x38b42f=_0x394f71[_0x2153e3(0x20b)]()>=0x0?_0x394f71['getLastRow']()+0x1:0x0,_0x4743fc=_0x394f71['getLastCol']()>=0x0?_0x394f71[_0x2153e3(0x4ac)]()+0x1:0x0;for(let _0x331191=0x0;_0x331191<_0x38b42f;_0x331191++)for(let _0x1e628c=0x0;_0x1e628c<_0x4743fc;_0x1e628c++){const _0x5d93be={...(_0x63ef02=(_0x562123=_0x394f71[_0x2153e3(0x2b1)])==null?void 0x0:_0x562123[_0x331191])==null?void 0x0:_0x63ef02[_0x1e628c]},_0xfc10f3=(_0xc492e4=_0x498787[_0x1e628c])==null?void 0x0:_0xc492e4[_0x2153e3(0x45d)],_0x40f4d=_0x49b9ef[_0xfc10f3];_0x5d93be&&(_0x5d93be['v']=_0x1072a1(_0x5d93be,!0x1,_0x40f4d,_0x216316)),_0x18526f[_0x2153e3(0x4a2)](_0x331191+_0x2c5ccc,_0x1e628c+_0x198024,_0x13f886(_0x5d93be));}const _0x563c6c=_0x3e30fc['getRowCount'](),_0x2b7113=_0x3e30fc[_0x2153e3(0x31b)]();for(let _0x5dd48f=0x0;_0x5dd48f<_0x563c6c;_0x5dd48f++)for(let _0x165494=0x0;_0x165494<_0x2b7113;_0x165494++){const _0x2c7962={...(_0x1fed10=(_0x3c2507=_0x3e30fc[_0x2153e3(0x2b1)])==null?void 0x0:_0x3c2507[_0x5dd48f])==null?void 0x0:_0x1fed10[_0x165494]};_0x18526f[_0x2153e3(0x4a2)](_0x5dd48f+_0x2c5ccc,_0x165494+_0x380a9d,_0x13f886(_0x2c7962));}return _0x18526f;},_0x195093=_0x25769d=>{const _0x33c5e9=_0x32b11e,{view:_0x2b7666,targetCellInfo:_0x4128b5,isEmpty:_0x116a05,textInfo:_0x4cf129}=_0x25769d;if(_0x116a05)return _0x2a7559(_0x25769d);const {pageView:_0x92b7c8,cornerView:_0x333875,rowView:_0x305d67,colView:_0xfd6a21,dataView:_0x5cc697}=_0x2b7666,_0x4838be=_0x57c10c(_0x4128b5,_0x92b7c8,!0x0),_0x46b47b=_0x92b7c8[_0x33c5e9(0x48f)]>=0x0?_0x92b7c8[_0x33c5e9(0x48f)]+0x1:0x0,_0x5e0396=_0x333875[_0x33c5e9(0x336)](),_0xcd5cee=_0x333875[_0x33c5e9(0x31b)](),_0x333c85=_0x4838be[_0x33c5e9(0x30f)]>0x0?_0x36faea:0x0,_0x3a4303=_0x57c10c({'row':_0x4128b5[_0x33c5e9(0x3d2)]+_0x46b47b+_0x333c85,'col':_0x4128b5['col']},_0x333875,!0x1,!0x1),_0x22b2ed=_0x57c10c({'row':_0x4128b5[_0x33c5e9(0x3d2)]+_0x46b47b+_0x333c85+_0x5e0396,'col':_0x4128b5[_0x33c5e9(0x2f5)]},_0x305d67,!0x1,!0x0),_0x2dcf8e=_0x57c10c({'row':_0x4128b5[_0x33c5e9(0x3d2)]+_0x46b47b+_0x333c85,'col':_0x4128b5[_0x33c5e9(0x2f5)]+_0xcd5cee},_0xfd6a21,!0x1,!0x0),_0x555e58=_0x57c10c({'row':_0x4128b5[_0x33c5e9(0x3d2)]+_0x46b47b+_0x333c85+_0x5e0396,'col':_0x4128b5[_0x33c5e9(0x2f5)]+_0xcd5cee},_0x5cc697,!0x1,!0x1),_0x592d16={'rowRanges':_0x22b2ed,'colRanges':_0x2dcf8e,'cornerRanges':_0x3a4303,'dataRanges':_0x555e58,'pageRanges':_0x4838be};return{'matrix':_0x32733d(_0x2b7666,_0x4128b5,_0x4cf129),'rangesCache':_0x592d16};};var _0x6c6b1d=Object[_0x32b11e(0x210)],_0x1a7061=(_0x3d681e,_0x3db423,_0x257705,_0x348254)=>{for(var _0x1b7504=_0x348254>0x1?void 0x0:_0x348254?_0x6c6b1d(_0x3db423,_0x257705):_0x3db423,_0x52141e=_0x3d681e['length']-0x1,_0x4987bd;_0x52141e>=0x0;_0x52141e--)(_0x4987bd=_0x3d681e[_0x52141e])&&(_0x1b7504=_0x4987bd(_0x1b7504)||_0x1b7504);return _0x1b7504;},_0x3f5225=(_0xde1469,_0x341a4e)=>(_0x4c0327,_0x53473f)=>_0x341a4e(_0x4c0327,_0x53473f,_0xde1469);_0x3122be[_0x32b11e(0x215)]=class extends _0x4d7ec7['Disposable']{constructor(_0x15e74f,_0x82f98a,_0x5fbcc7,_0x55303b,_0x51eeb9){const _0x32bb3c=_0x32b11e;super(),_0x24fce5(this,_0x32bb3c(0x302),new Map()),_0x24fce5(this,_0x32bb3c(0x19d),new Map()),_0x24fce5(this,'_viewData',new Map()),_0x24fce5(this,_0x32bb3c(0x350)),_0x24fce5(this,'_collectionChange$',new _0x5659f3[(_0x32bb3c(0x3a0))]()),_0x24fce5(this,'collectionChange$',this['_collectionChange$']['asObservable']()),_0x24fce5(this,_0x32bb3c(0x384),new _0x5659f3[(_0x32bb3c(0x3a0))]()),_0x24fce5(this,_0x32bb3c(0x466),this[_0x32bb3c(0x384)][_0x32bb3c(0x3d3)]()),_0x24fce5(this,_0x32bb3c(0x31d),new _0x5659f3[(_0x32bb3c(0x3a0))]()),_0x24fce5(this,_0x32bb3c(0x36a),this['_fieldsCollectionChange$']['asObservable']()),_0x24fce5(this,'_dataFieldManagerCollection',new Map()),_0x24fce5(this,_0x32bb3c(0x196),[]),_0x24fce5(this,'_queryingMap',new Map()),(this[_0x32bb3c(0x22d)]=_0x15e74f,this[_0x32bb3c(0x45a)]=_0x82f98a,this[_0x32bb3c(0x30a)]=_0x5fbcc7,this[_0x32bb3c(0x48b)]=_0x55303b,this[_0x32bb3c(0x1a2)]=_0x51eeb9,this[_0x32bb3c(0x252)]());}[_0x32b11e(0x46e)](){const _0x1c8331=_0x32b11e;return this[_0x1c8331(0x350)]?this[_0x1c8331(0x350)]:_0x581f57;}[_0x32b11e(0x443)](_0x1c3fd9){const _0x5799c9=_0x32b11e;this[_0x5799c9(0x350)]=_0x1c3fd9;}[_0x32b11e(0x428)](_0x48a16e){const _0x1d1053=_0x32b11e;var _0x8373e6;const {from:_0x4d4867,to:_0x3931c4,unitId:_0x25f21f,fromRange:_0x4c2506,toRange:_0x5e235f}=_0x48a16e;if(_0x4d4867&&_0x3931c4){const _0x5c8f69=this['getDataFieldManager'](_0x25f21f),_0x58114b=this[_0x1d1053(0x302)][_0x1d1053(0x492)](_0x25f21f),_0x8eb704=(_0x8373e6=this[_0x1d1053(0x45a)][_0x1d1053(0x27d)](_0x25f21f))==null?void 0x0:_0x8373e6[_0x1d1053(0x33a)](_0x3931c4[_0x1d1053(0x258)]);if(!_0x58114b||!_0x8eb704)return;const _0x1867ec=_0x8eb704==null?void 0x0:_0x8eb704[_0x1d1053(0x440)]();for(const [_0x206778,_0x5b3d02]of _0x58114b[_0x1d1053(0x1e9)]())for(const [_0x228dcf,_0xb4d37a]of _0x5b3d02['entries']()){const {sourceRangeInfo:_0x299855}=_0xb4d37a;if(_0x299855[_0x1d1053(0x3e4)]===_0x25f21f&&_0x299855[_0x1d1053(0x258)]===_0x4d4867[_0x1d1053(0x258)]&&_0x4d7ec7['Rectangle'][_0x1d1053(0x34d)](_0x4c2506,_0x299855[_0x1d1053(0x18d)])){const _0x7a8532={'row':_0x299855['range']['startRow']-_0x4c2506['startRow'],'col':_0x299855[_0x1d1053(0x18d)][_0x1d1053(0x39f)]-_0x4c2506[_0x1d1053(0x39f)]},_0xb37e5c={'unitId':_0x25f21f,'subUnitId':_0x3931c4[_0x1d1053(0x258)],'sheetName':_0x1867ec,'range':{'startRow':_0x5e235f['startRow']+_0x7a8532[_0x1d1053(0x3d2)],'endRow':_0x5e235f['startRow']+_0x7a8532['row']+_0x299855[_0x1d1053(0x18d)][_0x1d1053(0x40d)]-_0x299855[_0x1d1053(0x18d)][_0x1d1053(0x262)],'startColumn':_0x5e235f[_0x1d1053(0x39f)]+_0x7a8532['col'],'endColumn':_0x5e235f[_0x1d1053(0x39f)]+_0x7a8532[_0x1d1053(0x2f5)]+_0x299855[_0x1d1053(0x18d)][_0x1d1053(0x2ee)]-_0x299855[_0x1d1053(0x18d)][_0x1d1053(0x39f)]}};_0x5c8f69['handleMoveRange'](_0x228dcf,_0xb37e5c);const _0x465f2e={..._0xb4d37a,'sourceRangeInfo':_0xb37e5c};this[_0x1d1053(0x301)](_0x25f21f,_0x3931c4[_0x1d1053(0x258)],_0x228dcf,_0x465f2e),this['broadcastCollectionChange']({'unitId':_0x25f21f,'token':_0x228dcf,'type':_0x2882c5[_0x1d1053(0x435)],'oldSourceRangeInfo':_0x299855,'dataRangeInfo':_0xb37e5c,'targetCellInfo':_0xb4d37a[_0x1d1053(0x3ae)]}),this[_0x1d1053(0x293)]({'unitId':_0x25f21f,'subUnitId':_0x3931c4[_0x1d1053(0x258)],'oldSubUnitId':_0x206778,'pivotTableId':_0x228dcf,'pivotTableConfig':_0x465f2e,'collectionConfig':_0x5c8f69[_0x1d1053(0x376)]()});}}}}[_0x32b11e(0x3cf)](_0x41b2bc){const _0x1ca700=_0x32b11e;this['_collectionChange$'][_0x1ca700(0x3b8)](_0x41b2bc);}[_0x32b11e(0x2d2)](_0x57c44a){const _0x5e552d=_0x32b11e;let _0x46f348=this[_0x5e552d(0x1c1)]['get'](_0x57c44a);return _0x46f348||(_0x46f348=new _0x4f3c64(this,this[_0x5e552d(0x45a)]),this[_0x5e552d(0x1c1)]['set'](_0x57c44a,_0x46f348)),_0x46f348;}[_0x32b11e(0x334)](_0xcc0428,_0x3381d0){const _0x45ff93=_0x32b11e;return this[_0x45ff93(0x2d2)](_0xcc0428)['collections'][_0x3381d0];}[_0x32b11e(0x1fb)](_0x3d2b80,_0x735912,_0x51b45f){const _0x3cdeec=_0x32b11e;return this['getDataFieldManager'](_0x3d2b80)[_0x3cdeec(0x1fb)](_0x735912,_0x51b45f);}['_ensurePivotMap'](_0x26c067,_0x49428f){const _0x3428f7=_0x32b11e;let _0x176c78=this[_0x3428f7(0x302)][_0x3428f7(0x492)](_0x26c067);_0x176c78||(_0x176c78=new Map(),this[_0x3428f7(0x302)]['set'](_0x26c067,_0x176c78));let _0x55cf9e=_0x176c78['get'](_0x49428f);return _0x55cf9e||(_0x55cf9e=new Map(),_0x176c78[_0x3428f7(0x24b)](_0x49428f,_0x55cf9e)),_0x55cf9e;}[_0x32b11e(0x301)](_0x569e7b,_0x41c240,_0x569bfe,_0x416f41){const _0x19747c=_0x32b11e;this[_0x19747c(0x1ca)](_0x569e7b,_0x41c240)['set'](_0x569bfe,_0x416f41);}['_deleteModelCache'](_0x355678,_0xfb29f9,_0x2fc1fb){const _0x142043=_0x32b11e;var _0x22b17e,_0xfa88f3,_0x2e8b67,_0x536796;((_0xfa88f3=(_0x22b17e=this[_0x142043(0x302)][_0x142043(0x492)](_0x355678))==null?void 0x0:_0x22b17e[_0x142043(0x492)](_0xfb29f9))==null?void 0x0:_0xfa88f3[_0x142043(0x492)](_0x2fc1fb))&&((_0x536796=(_0x2e8b67=this[_0x142043(0x302)]['get'](_0x355678))==null?void 0x0:_0x2e8b67[_0x142043(0x492)](_0xfb29f9))==null||_0x536796['delete'](_0x2fc1fb));}[_0x32b11e(0x3a9)](_0x5030c0,_0xc6ac8d){const _0xa7c676=_0x32b11e;this[_0xa7c676(0x19d)]['set'](_0x5030c0,_0xc6ac8d);}[_0x32b11e(0x282)](_0x15f25d){const _0x544227=_0x32b11e;this['_pivotTableInstanceCache'][_0x544227(0x494)](_0x15f25d);}[_0x32b11e(0x2c1)](_0x5f2302,_0x18aa2e){const _0x4030f3=_0x32b11e;let _0xdba72f=this['_viewData']['get'](_0x5f2302);_0xdba72f||(_0xdba72f=new Map(),this[_0x4030f3(0x2dc)]['set'](_0x5f2302,_0xdba72f));let _0x489146=_0xdba72f[_0x4030f3(0x492)](_0x18aa2e);return _0x489146||(_0x489146=new Map(),_0xdba72f['set'](_0x18aa2e,_0x489146)),_0x489146;}[_0x32b11e(0x293)](_0x14039a){const _0x4077f0=_0x32b11e,{unitId:_0x591bf8,subUnitId:_0x9d5d80,pivotTableId:_0x5aad99,pivotTableConfig:_0x58569f,collectionConfig:_0x22ee64}=_0x14039a,_0x489b54={'unitId':_0x591bf8,'subUnitId':_0x9d5d80,'oldSubUnitId':_0x9d5d80,'pivotTableId':_0x5aad99,'pivotTableConfig':_0x58569f,'collectionConfig':_0x22ee64};this[_0x4077f0(0x48b)][_0x4077f0(0x238)](_0x2c9a6c['id'],_0x489b54,{'onlyLocal':!0x0});}[_0x32b11e(0x438)](_0xcdb3e9,_0x11d694,_0x7c92f7,_0x3349bc,_0x5e2d83,_0x42f9ac,_0xb00fb0,_0x5bdf82=!0x1){const _0x3b73f0=_0x32b11e;var _0x268e17;this[_0x3b73f0(0x48b)][_0x3b73f0(0x238)](_0x5c081f['id'],{'single':{'unitId':_0xcdb3e9,'subUnitId':_0x11d694,'type':_0x7c92f7,'pivotTableId':_0x3349bc,'view':_0x5e2d83,'pivotConfig':_0x42f9ac},'collectionConfig':{[_0xcdb3e9]:_0xb00fb0}},{'onlyLocal':!0x0});const _0x4584fd=!!((_0x268e17=this[_0x3b73f0(0x37c)](_0x3349bc))!=null&&_0x268e17['isEmpty']()),_0x5a0a06=this['getPivotTableConfig'](_0xcdb3e9,_0x11d694,_0x3349bc);_0x5a0a06&&this['updateViewData']({'view':_0x5e2d83,'pivotTableId':_0x3349bc,'textInfo':this[_0x3b73f0(0x46e)](),'isEmpty':_0x4584fd,'targetCellInfo':_0x5a0a06[_0x3b73f0(0x3ae)]},_0x5bdf82);}[_0x32b11e(0x369)](_0x20ba7b,_0x4dcfe6){const _0x47dca1=_0x32b11e,{targetCellInfo:_0xd7d2ad,pivotTableId:_0x23a40c}=_0x20ba7b,{unitId:_0x52a5b0,subUnitId:_0x651869}=_0xd7d2ad,_0x37ebaa=this[_0x47dca1(0x2c1)](_0x52a5b0,_0x651869),_0x4b8a5d=_0x37ebaa[_0x47dca1(0x492)](_0x23a40c);let _0x28009c,_0x21b5ce;_0x4b8a5d&&(_0x28009c=_0x4b8a5d[_0x47dca1(0x2e1)],_0x21b5ce=_0x4b8a5d[_0x47dca1(0x322)]);const {rangesCache:_0x5f2604,matrix:_0x109c8d}=_0x195093(_0x20ba7b);_0x37ebaa[_0x47dca1(0x24b)](_0x23a40c,{'rangeCache':_0x5f2604,'matrix':_0x109c8d,'oldMatrix':_0x21b5ce,'oldRangeCache':_0x28009c}),_0x4dcfe6||this[_0x47dca1(0x384)][_0x47dca1(0x3b8)]({'unitId':_0x52a5b0,'subUnitId':_0x651869,'pivotTableId':_0x23a40c});}[_0x32b11e(0x18e)](_0x161c76,_0x33b5eb,_0xaaa007,_0x14c74b,_0x15e559){const _0x553f40=_0x32b11e;this[_0x553f40(0x301)](_0x161c76,_0x33b5eb,_0xaaa007,_0x15e559),this['_updatePivotTableInstanceCache'](_0xaaa007,_0x14c74b);}[_0x32b11e(0x485)](_0x15e4f1,_0x5bd13f,_0x586173){const _0x5f2fd1=_0x32b11e,_0x42b316=this['getDataFieldManager'](_0x15e4f1);_0x42b316[_0x5f2fd1(0x489)](_0x586173)['forEach'](_0xea4295=>{_0x42b316['deleteDataField'](_0xea4295);}),this[_0x5f2fd1(0x48a)](_0x15e4f1,_0x586173),this[_0x5f2fd1(0x2a8)](_0x15e4f1,_0x5bd13f,_0x586173),this['_deletePivotTableInstanceCache'](_0x586173);}[_0x32b11e(0x197)](_0x5ba2b8,_0x59deb5,_0x40625b,_0x589b74){const _0x402303=_0x32b11e;this[_0x402303(0x301)](_0x5ba2b8,_0x59deb5,_0x40625b,_0x589b74);}[_0x32b11e(0x3f0)](_0xb49a61,_0x5316bb,_0xf522f3){const _0x71b0b9=_0x32b11e;var _0x548e7f,_0x3cb952;const _0x1124fe=(_0x3cb952=(_0x548e7f=this[_0x71b0b9(0x302)][_0x71b0b9(0x492)](_0xb49a61))==null?void 0x0:_0x548e7f['get'](_0x5316bb))==null?void 0x0:_0x3cb952[_0x71b0b9(0x492)](_0xf522f3);if(_0x1124fe)return _0x1124fe;}[_0x32b11e(0x2bf)](_0x1c1bbc,_0x2d77b4,_0x172b9d){const _0x594399=_0x32b11e;var _0x5c6d73,_0xc31198;const _0x47e830=(_0xc31198=(_0x5c6d73=this[_0x594399(0x302)][_0x594399(0x492)](_0x1c1bbc))==null?void 0x0:_0x5c6d73['get'](_0x2d77b4))==null?void 0x0:_0xc31198[_0x594399(0x492)](_0x172b9d);if(_0x47e830)return _0x47e830['fieldsConfig'];}[_0x32b11e(0x37c)](_0x106653){const _0x5d50dc=_0x32b11e;return this['_pivotTableInstanceCache'][_0x5d50dc(0x492)](_0x106653);}[_0x32b11e(0x2df)](_0x3f12ab){const _0x21aa01=_0x32b11e;this[_0x21aa01(0x302)]['delete'](_0x3f12ab);const _0x2aafd2=this[_0x21aa01(0x1c1)]['get'](_0x3f12ab);_0x2aafd2&&(_0x2aafd2[_0x21aa01(0x25b)](),this[_0x21aa01(0x1c1)]['delete'](_0x3f12ab)),this[_0x21aa01(0x2dc)][_0x21aa01(0x494)](_0x3f12ab),this[_0x21aa01(0x196)][_0x21aa01(0x408)](_0x3d8104=>{const _0x314684=_0x21aa01;_0x3d8104[_0x314684(0x2df)](_0x3f12ab);});}[_0x32b11e(0x247)](_0x441403,_0x504d6d,_0xfb1adc,_0x5a773c){const _0xb30046=_0x32b11e;return this[_0xb30046(0x2d2)](_0xfb1adc['unitId'])[_0xb30046(0x247)](_0x441403,_0x504d6d,_0xfb1adc,_0x5a773c);}[_0x32b11e(0x253)](_0x5d3ae6){const _0x396737=_0x32b11e;return this[_0x396737(0x2d2)](_0x5d3ae6[_0x396737(0x3e4)])[_0x396737(0x253)](_0x5d3ae6);}[_0x32b11e(0x1c8)](_0xf16d7f,_0x378967,_0x11bc84){const _0x511c85=_0x32b11e;this[_0x511c85(0x2d2)](_0x11bc84[_0x511c85(0x3e4)])[_0x511c85(0x1c8)](_0xf16d7f,_0x378967,_0x11bc84);}['removeDataField'](_0x4a4ab5,_0x16e6be){const _0x16ddbd=_0x32b11e;this[_0x16ddbd(0x2d2)](_0x4a4ab5)['deleteDataField'](_0x16e6be);}[_0x32b11e(0x48a)](_0x387a6e,_0x5a1d74){const _0x5b5fb5=_0x32b11e;this[_0x5b5fb5(0x2d2)](_0x387a6e)[_0x5b5fb5(0x1b4)](_0x5a1d74);}[_0x32b11e(0x263)](_0x551650,_0x2092b2){const _0x5b9a3f=_0x32b11e;var _0x4b16fb;return(_0x4b16fb=this[_0x5b9a3f(0x302)]['get'](_0x551650))==null?void 0x0:_0x4b16fb[_0x5b9a3f(0x492)](_0x2092b2);}['getTargetByPivotId'](_0x3fceab){const _0x580586=_0x32b11e;for(const [_0xf40465,_0x7232ae]of this[_0x580586(0x302)][_0x580586(0x1e9)]())for(const [_0x1527e7,_0x35b916]of _0x7232ae[_0x580586(0x1e9)]())if(_0x35b916['has'](_0x3fceab))return{'unitId':_0xf40465,'subUnitId':_0x1527e7};return null;}[_0x32b11e(0x3f4)](_0x15915b,_0x2fa111,_0x538a49,_0x19638c){const _0x3e7cd1=_0x32b11e,_0x250f47=this[_0x3e7cd1(0x2c1)](_0x15915b,_0x2fa111);_0x19638c?_0x250f47[_0x3e7cd1(0x24b)](_0x538a49,_0x19638c):_0x250f47[_0x3e7cd1(0x494)](_0x538a49),this[_0x3e7cd1(0x384)][_0x3e7cd1(0x3b8)]({'unitId':_0x15915b,'subUnitId':_0x2fa111,'pivotTableId':_0x538a49});}['dispose'](){const _0x5d8b5a=_0x32b11e;super[_0x5d8b5a(0x25b)]();}['getViewData'](_0x210845,_0x55d9b9,_0x5ea41d){const _0x57bd63=_0x32b11e;var _0x908273,_0x164983;const _0x37787d=(_0x164983=(_0x908273=this[_0x57bd63(0x2dc)][_0x57bd63(0x492)](_0x210845))==null?void 0x0:_0x908273[_0x57bd63(0x492)](_0x55d9b9))==null?void 0x0:_0x164983[_0x57bd63(0x492)](_0x5ea41d);return _0x37787d||null;}[_0x32b11e(0x2b0)](_0x591a1e){const _0x181ff7=_0x32b11e;this[_0x181ff7(0x3c1)](_0x591a1e);}[_0x32b11e(0x3c1)](_0x117563){const _0x4bd0ab=_0x32b11e,{token:_0x1ad987,unitId:_0x21367d,subUnitId:_0x48f7cc}=_0x117563,_0x375dc2=_0x21367d+'-'+_0x48f7cc+'-'+_0x1ad987;this['_queryingMap'][_0x4bd0ab(0x492)](_0x375dc2)&&clearTimeout(this[_0x4bd0ab(0x480)][_0x4bd0ab(0x492)](_0x375dc2));const _0x125d23=setTimeout(()=>{const _0x17fbd7=_0x4bd0ab;this['queryDirtyPivotTable'](_0x117563),this[_0x17fbd7(0x480)][_0x17fbd7(0x494)](_0x375dc2);},_0x79a625);this[_0x4bd0ab(0x480)]['set'](_0x375dc2,_0x125d23);}[_0x32b11e(0x3b4)](_0x266547){const _0x23cc65=_0x32b11e,{unitId:_0x105b62,subUnitId:_0xdb5542,token:_0x528f7f,type:_0x49e9ec,pivotConfig:_0x3569c9}=_0x266547,_0x31dffd=this[_0x23cc65(0x37c)](_0x528f7f),_0x39249c=_0x31dffd==null?void 0x0:_0x31dffd[_0x23cc65(0x361)](),_0x36fa8c=_0x3569c9!=null?_0x3569c9:this['getPivotTableConfig'](_0x105b62,_0xdb5542,_0x528f7f);_0x36fa8c&&(_0x36fa8c[_0x23cc65(0x395)]=!!(_0x31dffd!=null&&_0x31dffd[_0x23cc65(0x395)]())),(_0x39249c||_0x49e9ec===_0x4e6aa2[_0x23cc65(0x420)])&&this[_0x23cc65(0x438)](_0x105b62,_0xdb5542,_0x49e9ec,_0x528f7f,_0x39249c,_0x36fa8c,this[_0x23cc65(0x2d2)](_0x105b62)[_0x23cc65(0x376)]());}[_0x32b11e(0x376)](_0x55067d){const _0x2e3b34=_0x32b11e,_0x19a769={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2e3b34(0x2d2)](_0x55067d)&&(_0x19a769[_0x2e3b34(0x21a)][_0x55067d]=this[_0x2e3b34(0x2d2)](_0x55067d)[_0x2e3b34(0x376)]()),this['_model']['get'](_0x55067d)){_0x19a769['pivotTableConfigs'][_0x55067d]={};const _0x381d17=this[_0x2e3b34(0x302)][_0x2e3b34(0x492)](_0x55067d);_0x381d17!=null&&_0x381d17[_0x2e3b34(0x4b6)]&&[..._0x381d17[_0x2e3b34(0x2c6)]()][_0x2e3b34(0x408)](_0x3f8961=>{const _0x1e2773=_0x2e3b34,_0xe88e04=_0x381d17['get'](_0x3f8961);_0xe88e04!=null&&_0xe88e04[_0x1e2773(0x4b6)]&&(_0x19a769[_0x1e2773(0x3fa)][_0x55067d][_0x3f8961]={},[..._0xe88e04[_0x1e2773(0x2c6)]()][_0x1e2773(0x408)](_0x442fbd=>{const _0x455baf=_0x1e2773,_0x29aef2=_0xe88e04['get'](_0x442fbd);_0x29aef2&&(_0x19a769[_0x455baf(0x3fa)][_0x55067d][_0x3f8961][_0x442fbd]=_0x29aef2);}));});}return _0x19a769;}[_0x32b11e(0x471)](_0x35f439){const _0x399a3b=_0x32b11e;var _0x1d05bc;const {dataFieldManagerConfig:_0x5ae612,pivotTableConfigs:_0x521da8}=_0x35f439;_0x5ae612&&Object[_0x399a3b(0x2c6)](_0x5ae612)[_0x399a3b(0x408)](_0x2cf276=>{const _0x3d7f49=_0x399a3b;this[_0x3d7f49(0x2d2)](_0x2cf276)[_0x3d7f49(0x471)](_0x5ae612[_0x2cf276]);});const _0x478871=[];if(_0x521da8){const _0x592b1e=(_0x1d05bc=this[_0x399a3b(0x22d)][_0x399a3b(0x492)](_0x4d7ec7[_0x399a3b(0x2cb)])[_0x399a3b(0x2c4)](_0x2cd015[_0x399a3b(0x43c)]))!=null?_0x1d05bc:{},{ls:_0x255bea,pbk:_0x3aee84}=_0x592b1e,_0x1799a8=_0x7dbf34(_0x128592,_0x255bea,_0x3aee84)['count'];Object[_0x399a3b(0x2c6)](_0x521da8)[_0x399a3b(0x408)](_0x6ea565=>{const _0x11e0b0=_0x399a3b;let _0x1c13f9=0x0;const _0x118de2=_0x521da8[_0x6ea565];Object[_0x11e0b0(0x2c6)](_0x118de2)[_0x11e0b0(0x408)](_0x16a309=>{const _0x105fb7=_0x11e0b0,_0x205be9=_0x118de2[_0x16a309];Object[_0x105fb7(0x2c6)](_0x205be9)[_0x105fb7(0x408)](_0x4555d9=>{const _0x437b7e=_0x105fb7,_0x5e9a11=_0x205be9[_0x4555d9];if(_0x5e9a11){if(_0x1c13f9>=_0x1799a8)return;_0x1c13f9++;const _0x28ea75=this[_0x437b7e(0x2d2)](_0x6ea565),_0x284713=_0x28ea75[_0x437b7e(0x3f7)][_0x4555d9],_0xdbed0e=_0x284713['getFieldIds']();let _0x3d7582=0x0;const _0x2e3122=[];for(const _0x4eecf3 of _0xdbed0e){const _0x3ac0b7=_0x284713['getFieldById'](_0x4eecf3);if(_0x5eb847['isBaseGroupField'](_0x3ac0b7)){const _0x516535=_0x3ac0b7['getOriginFieldId'](),_0x2ff818=_0x284713['getFieldById'](_0x516535);_0x2ff818&&_0x2e3122['push']([_0x3ac0b7,_0x2ff818]);continue;}_0x28ea75[_0x437b7e(0x3b7)](_0x4eecf3,_0x5e9a11[_0x437b7e(0x261)],_0x3d7582),_0x3d7582++;}_0x2e3122['forEach'](([_0x2e8775,_0x2fb75f])=>{_0x2e8775['refreshGroupField'](_0x2fb75f);});const _0x589554=new _0x5eb847[(_0x437b7e(0x3f5))](_0x284713);_0x589554[_0x437b7e(0x471)](_0x5e9a11[_0x437b7e(0x2d5)]),this[_0x437b7e(0x18e)](_0x6ea565,_0x16a309,_0x4555d9,_0x589554,_0x5e9a11);const _0x39832a=_0x589554['query']();_0x478871[_0x437b7e(0x344)]({'unitId':_0x6ea565,'subUnitId':_0x16a309,'pivotTableId':_0x4555d9,'view':_0x39832a['toJSON'](),'pivotConfig':_0x5e9a11,'type':_0x4e6aa2[_0x437b7e(0x248)]});const _0x4bc112=!!_0x589554['isEmpty'](),_0x240e65={'view':_0x39832a,'pivotTableId':_0x4555d9,'textInfo':this[_0x437b7e(0x46e)](),'isEmpty':_0x4bc112,'targetCellInfo':_0x5e9a11['targetCellInfo']};this['updateViewData'](_0x240e65,!0x1);}});});});}_0x5ae612&&Object[_0x399a3b(0x2c6)](_0x5ae612)['forEach'](_0x50fee2=>{const _0x37c88f=_0x399a3b,_0x366e6d=this[_0x37c88f(0x2d2)](_0x50fee2);this[_0x37c88f(0x31d)][_0x37c88f(0x3b8)](_0x366e6d[_0x37c88f(0x3f7)]);}),this[_0x399a3b(0x48b)][_0x399a3b(0x238)](_0x5c081f['id'],{'batch':_0x478871,'collectionConfig':_0x5ae612},{'onlyLocal':!0x0});}[_0x32b11e(0x252)](){const _0x5c851c=_0x32b11e;this[_0x5c851c(0x355)](this[_0x5c851c(0x1a2)][_0x5c851c(0x340)]({'toJson':_0x339060=>JSON[_0x5c851c(0x375)](this[_0x5c851c(0x376)](_0x339060)),'parseJson':_0x53e2c3=>{const _0x4c0d03=_0x5c851c;if(!_0x53e2c3)return{};try{return JSON[_0x4c0d03(0x203)](_0x53e2c3);}catch{return{};}},'businesses':[_0x4d7ec7[_0x5c851c(0x49b)]['UNIVER_SHEET']],'pluginName':_0x4c9c53,'onLoad':(_0x3323d3,_0x2a6faa)=>{const _0x127ae7=_0x5c851c;this[_0x127ae7(0x471)](_0x2a6faa);},'onUnLoad':_0x3f8e26=>{const _0x5de12c=_0x5c851c;this[_0x5de12c(0x2df)](_0x3f8e26);}}));}},_0x3122be[_0x32b11e(0x215)]=_0x1a7061([_0x3f5225(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x199)])),_0x3f5225(0x1,_0x4d7ec7[_0x32b11e(0x1c4)]),_0x3f5225(0x2,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x3d1)])),_0x3f5225(0x3,_0x4d7ec7[_0x32b11e(0x46b)]),_0x3f5225(0x4,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x276)]))],_0x3122be[_0x32b11e(0x215)]);const _0xf3ade6={0x0:{0x0:{'v':_0x32b11e(0x3dc),'s':_0xbfd544}},0x2:{0x1:{'v':'','s':_0xbfd544},0x2:{'v':'','s':_0xbfd544},0x3:{'v':'column','s':_0xbfd544},0x4:{'v':'','s':_0xbfd544},0x5:{'v':'','s':_0xbfd544}},0x3:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0x4:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0x5:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0x6:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0x7:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0x8:{0x0:{'v':'row','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':_0x32b11e(0x2bb),'s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0x9:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0xa:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0xb:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0xc:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}},0xd:{0x0:{'v':'','s':_0xbfd544},0x1:{'v':'','s':_0x591685},0x2:{'v':'','s':_0x591685},0x3:{'v':'','s':_0x591685},0x4:{'v':'','s':_0x591685},0x5:{'v':'','s':_0x591685}}},_0x4776f3={'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':[]},_0x529fe9=(_0x460b5d,_0x24526d)=>{const _0x41c1bb=_0x32b11e,_0x8d9345=new _0x4d7ec7[(_0x41c1bb(0x2f4))](),_0x3b2b9c=new _0x4d7ec7['ObjectMatrix'](_0xf3ade6),{row:_0x7f76c7,col:_0x2831d2}=_0x24526d;_0x3b2b9c[_0x41c1bb(0x193)]((_0x3d3c50,_0x2832d9,_0x15c3f4)=>{const _0x4d60dc=_0x41c1bb;let _0x6a7523='';_0x15c3f4['v']===_0x4d60dc(0x3dc)?_0x6a7523=_0x460b5d[_0x4d60dc(0x3dc)]:_0x15c3f4['v']===_0x4d60dc(0x3d2)?_0x6a7523=_0x460b5d[_0x4d60dc(0x3d2)]:_0x15c3f4['v']==='column'?_0x6a7523=_0x460b5d[_0x4d60dc(0x267)]:_0x15c3f4['v']===_0x4d60dc(0x2bb)&&(_0x6a7523=_0x460b5d['values']),_0x8d9345[_0x4d60dc(0x4a2)](_0x3d3c50+_0x7f76c7,_0x2832d9+_0x2831d2,{..._0x15c3f4,'v':_0x6a7523});});const _0xf44062=_0x4d7ec7[_0x41c1bb(0x33f)][_0x41c1bb(0x1a0)](_0x4776f3);return Object[_0x41c1bb(0x2c6)](_0x4776f3)['forEach'](_0x416c75=>{const _0x4a831b=_0x41c1bb;_0xf44062[_0x416c75]=_0x4776f3[_0x416c75]['map'](_0x24b43=>({..._0x24b43,'startRow':_0x24b43[_0x4a831b(0x262)]+_0x7f76c7,'endRow':_0x24b43['endRow']+_0x7f76c7,'startColumn':_0x24b43[_0x4a831b(0x39f)]+_0x2831d2,'endColumn':_0x24b43[_0x4a831b(0x2ee)]+_0x2831d2}));}),{'matrixCache':_0x8d9345,'rangesCache':_0xf44062};};function _0x4bdafa(_0xa7f774,_0x4721a2){const _0x5af754=_0x32b11e;let _0xb29e72='';const _0xf4cc23=this['getTextInfo']();switch(_0x4721a2){case _0x5eb847['PivotSubtotalTypeEnum'][_0x5af754(0x392)]:_0xb29e72=_0xf4cc23[_0x5af754(0x3b5)]+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)][_0x5af754(0x49d)]:_0xb29e72=_0xf4cc23['sheets-pivot.countName']+_0xa7f774;break;case _0x5eb847['PivotSubtotalTypeEnum'][_0x5af754(0x2fc)]:_0xb29e72=_0xf4cc23[_0x5af754(0x3bb)]+_0xa7f774;break;case _0x5eb847['PivotSubtotalTypeEnum'][_0x5af754(0x453)]:_0xb29e72=_0xf4cc23['sheets-pivot.maxName']+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)][_0x5af754(0x34b)]:_0xb29e72=_0xf4cc23[_0x5af754(0x4b4)]+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)][_0x5af754(0x2b2)]:_0xb29e72=_0xf4cc23[_0x5af754(0x2a1)]+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)]['stdDev']:_0xb29e72=_0xf4cc23[_0x5af754(0x279)]+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)][_0x5af754(0x1aa)]:_0xb29e72=_0xf4cc23[_0x5af754(0x469)]+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)][_0x5af754(0x2ca)]:_0xb29e72=_0xf4cc23[_0x5af754(0x1de)]+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)]['var']:_0xb29e72=_0xf4cc23[_0x5af754(0x1fa)]+_0xa7f774;break;case _0x5eb847[_0x5af754(0x3ab)][_0x5af754(0x251)]:_0xb29e72=_0xf4cc23['sheets-pivot.varpName']+_0xa7f774;break;default:_0xb29e72=_0xa7f774;break;}return _0xb29e72;}function _0x368785(_0x38bae8,_0x30c4df,_0x26855e,_0x2e95b1,_0x2d21c9){const _0x1c7dd6=_0x32b11e;var _0x3fdcb7,_0x41cf1c,_0x4df976,_0x3f5305,_0x28fd2e;const _0x4db6a4=_0x4d7ec7['cellToRange'](_0x38bae8,_0x30c4df),{rangesInfo:_0x2cbd9c,areaInfo:_0x304d99,headerMap:_0x196dd9}=_0x2d21c9;if(!_0x2cbd9c||!_0x304d99||!_0x196dd9)return;const _0x5a19d8=Object[_0x1c7dd6(0x2c6)](_0x2cbd9c)[_0x1c7dd6(0x3ac)](_0x475ba9=>_0x2cbd9c[_0x475ba9]['some'](_0x525006=>_0x4d7ec7[_0x1c7dd6(0x2c2)][_0x1c7dd6(0x34d)](_0x525006,_0x4db6a4))),_0xa920e=_0x304d99;let _0x3d3974,_0xdb5e2c,_0x469d86;if(_0x5a19d8===_0x1c7dd6(0x2b9))_0x3d3974=(_0x3fdcb7=_0xa920e==null?void 0x0:_0xa920e[_0x1c7dd6(0x3d6)])==null?void 0x0:_0x3fdcb7[_0x38bae8],_0xdb5e2c=(_0x41cf1c=_0x196dd9==null?void 0x0:_0x196dd9[_0x1c7dd6(0x2ad)])==null?void 0x0:_0x41cf1c[_0x30c4df],_0x469d86=_0xdb5e2c==null?void 0x0:_0xdb5e2c['tableFieldId'];else{if(_0x5a19d8===_0x1c7dd6(0x3e6))_0x3d3974=(_0x4df976=_0xa920e==null?void 0x0:_0xa920e[_0x1c7dd6(0x3e8)])==null?void 0x0:_0x4df976[_0x30c4df],_0xdb5e2c=(_0x3f5305=_0x196dd9[_0x1c7dd6(0x3e0)])==null?void 0x0:_0x3f5305[_0x38bae8+0x1+_0x30c4df-_0x2cbd9c[_0x1c7dd6(0x3e6)][0x0]['startColumn']],_0x469d86=_0xdb5e2c==null?void 0x0:_0xdb5e2c[_0x1c7dd6(0x45d)];else{if(_0x5a19d8===_0x1c7dd6(0x2af))_0x3d3974=(_0x28fd2e=_0xa920e==null?void 0x0:_0xa920e[_0x1c7dd6(0x2d7)])==null?void 0x0:_0x28fd2e[_0x30c4df],_0x469d86=_0x3d3974==null?void 0x0:_0x3d3974[_0x1c7dd6(0x45d)];else{if(_0x5a19d8===_0x1c7dd6(0x3dd)){const _0x4f2c87=_0x26855e==null?void 0x0:_0x26855e['fi'];_0x4f2c87!==void 0x0&&(_0x469d86=_0x2e95b1[_0x1c7dd6(0x3df)](_0x4f2c87));}}}}return{'filterId':_0x469d86,'info':_0x3d3974,'data':_0x26855e,'headerInfo':_0xdb5e2c};}function _0x148394(_0x29099e,_0x2b0047,_0x2e7ee1){const _0x534c6e=_0x32b11e,_0x40b24a=_0x29099e[_0x534c6e(0x25e)],_0x18e6a5=_0x40b24a[_0x534c6e(0x3ed)](),_0x51ba3d=new Set();_0x29099e['iterateField'](_0x594976=>{const _0x781e7d=_0x534c6e;_0x51ba3d['add'](_0x594976[_0x781e7d(0x444)]);});const _0x3f3c39=_0x18e6a5[_0x534c6e(0x338)](_0xb9ad2b=>{const _0x505fe4=_0x534c6e,_0x3feb77=_0x40b24a[_0x505fe4(0x318)](_0xb9ad2b);return{'checked':_0x51ba3d[_0x505fe4(0x231)](_0xb9ad2b),'dataFieldId':_0x3feb77['id'],'id':_0x3feb77['id'],'name':_0x40b24a[_0x505fe4(0x23a)](_0x3feb77['id']),'type':_0x3feb77[_0x505fe4(0x482)](),'pivotTableId':_0x2b0047};}),_0xab621a=[];_0x29099e[_0x534c6e(0x4a8)](_0x5eb847[_0x534c6e(0x266)]['Row'],_0xc69837=>{const _0x5eddfb=_0x534c6e;_0xab621a[_0x5eddfb(0x344)]({'dataFieldId':_0xc69837[_0x5eddfb(0x444)],'tableFieldId':_0xc69837[_0x5eddfb(0x1fe)](),'displayName':_0xc69837['getDisplayName']()});});const _0x1e64bd=[];_0x29099e['iterateFieldByArea'](_0x5eb847['PivotTableFiledAreaEnum'][_0x534c6e(0x27c)],_0x54313d=>{const _0x36f1a6=_0x534c6e;_0x1e64bd[_0x36f1a6(0x344)]({'dataFieldId':_0x54313d[_0x36f1a6(0x444)],'tableFieldId':_0x54313d[_0x36f1a6(0x1fe)](),'displayName':_0x54313d[_0x36f1a6(0x23a)]()});});const _0xd89f32=[];if(_0x29099e[_0x534c6e(0x4a8)](_0x5eb847[_0x534c6e(0x266)][_0x534c6e(0x254)],_0x178db2=>{const _0x5188a0=_0x534c6e;_0xd89f32[_0x5188a0(0x344)]({'dataFieldId':_0x178db2[_0x5188a0(0x444)],'tableFieldId':_0x178db2['getId'](),'displayName':_0x178db2[_0x5188a0(0x23a)](),'format':_0x178db2[_0x5188a0(0x2b6)](),'subTotalType':_0x178db2[_0x5188a0(0x1a5)]()});}),_0xd89f32[_0x534c6e(0x30f)]>0x1){const _0x43a170=_0x29099e['getValueIndex']();(_0x29099e['isColMultiMeasure']()?_0x1e64bd:_0xab621a)[_0x534c6e(0x26d)](_0x43a170,0x0,{'dataFieldId':'','tableFieldId':_0x534c6e(0x1f6),'displayName':_0x534c6e(0x29c)});}const _0x560268=[];_0x29099e[_0x534c6e(0x4a8)](_0x5eb847[_0x534c6e(0x266)]['Filter'],_0x4634d0=>{const _0x5ac603=_0x534c6e;_0x560268['push']({'dataFieldId':_0x4634d0[_0x5ac603(0x444)],'tableFieldId':_0x4634d0['getId'](),'displayName':_0x4634d0[_0x5ac603(0x23a)]()});});const _0x19ed1f=_0x2e7ee1[_0x534c6e(0x261)];return{'sourceList':_0x3f3c39,'sourceRange':_0x19ed1f,'rowFields':_0xab621a,'columnFields':_0x1e64bd,'valueFields':_0xd89f32,'filterFields':_0x560268,'positionInfo':_0x2e7ee1['targetCellInfo']};}function _0x921cde(_0x482cba,_0x5725ed,_0x1139fa='',_0x3fd8ab={}){const _0x16d951=_0x32b11e,_0x51dcf6=_0x482cba[_0x16d951(0x492)](_0x4d7ec7['LocaleService']);for(const _0x51fdc5 in _0x5725ed)if(Object[_0x16d951(0x34f)]['hasOwnProperty'][_0x16d951(0x486)](_0x5725ed,_0x51fdc5)){const _0x4a90aa=_0x1139fa?_0x1139fa+'.'+_0x51fdc5:_0x51fdc5;typeof _0x5725ed[_0x51fdc5]==_0x16d951(0x232)&&_0x5725ed[_0x51fdc5]!==null&&!Array[_0x16d951(0x3c5)](_0x5725ed[_0x51fdc5])?_0x921cde(_0x482cba,_0x5725ed[_0x51fdc5],_0x4a90aa,_0x3fd8ab):_0x3fd8ab[_0x4a90aa]=_0x51dcf6['t'](_0x4a90aa);}return _0x3fd8ab;}const _0x277844=_0x5c5f85=>{const _0x6a0f89=_0x32b11e;if(!_0x5c5f85)return[];const {rowRanges:_0x5ccc44,colRanges:_0x45643,cornerRanges:_0x2d178d,dataRanges:_0x5b5c5c,pageRanges:_0x2a1090}=_0x5c5f85,_0x3ee18a=[..._0x45643,..._0x5ccc44,..._0x5b5c5c,..._0x2d178d]['filter'](_0x458dda=>_0x458dda[_0x6a0f89(0x262)]>=0x0&&_0x458dda[_0x6a0f89(0x39f)]>=0x0&&_0x458dda[_0x6a0f89(0x40d)]>=0x0&&_0x458dda[_0x6a0f89(0x2ee)]>=0x0);let _0x32d50d=Number['MAX_SAFE_INTEGER'],_0x25462c=Number[_0x6a0f89(0x303)],_0x1665ef=Number[_0x6a0f89(0x32d)],_0x4ad541=Number[_0x6a0f89(0x303)];for(let _0x5ac0d1=0x0;_0x5ac0d1<_0x3ee18a[_0x6a0f89(0x30f)];_0x5ac0d1++)_0x32d50d=Math[_0x6a0f89(0x34b)](_0x32d50d,_0x3ee18a[_0x5ac0d1][_0x6a0f89(0x262)]),_0x25462c=Math[_0x6a0f89(0x453)](_0x25462c,_0x3ee18a[_0x5ac0d1][_0x6a0f89(0x40d)]),_0x1665ef=Math['min'](_0x1665ef,_0x3ee18a[_0x5ac0d1][_0x6a0f89(0x39f)]),_0x4ad541=Math[_0x6a0f89(0x453)](_0x4ad541,_0x3ee18a[_0x5ac0d1][_0x6a0f89(0x2ee)]);return[..._0x2a1090,{'startRow':_0x32d50d,'endRow':_0x25462c,'startColumn':_0x1665ef,'endColumn':_0x4ad541}];};function _0x2cbb87(_0x10f68c,_0x4a0f02){const _0x3ba375=_0x32b11e,_0x276408=_0x4a0f02[_0x3ba375(0x3ce)][_0x3ba375(0x195)],{pivotTableId:_0x3a58fa,unitId:_0x1abebc,subUnitId:_0x1f3640}=_0x4a0f02;if(!_0x276408)return;const _0x15f2fe=_0x10f68c['get'](_0x3122be[_0x3ba375(0x215)]),_0x238726=_0x15f2fe[_0x3ba375(0x37c)](_0x3a58fa),_0x3ae408=_0x15f2fe[_0x3ba375(0x3f0)](_0x1abebc,_0x1f3640,_0x3a58fa);if(!_0x238726||!_0x3ae408)return;const _0x175b40=_0x238726[_0x3ba375(0x40e)](_0x276408['tuple']);if(!(_0x175b40!=null&&_0x175b40[_0x3ba375(0x30f)]))return;const _0x6b2023=_0x3ae408[_0x3ba375(0x261)],{unitId:_0xfbdc76,subUnitId:_0x14166c,range:_0x4e439e}=_0x6b2023;let _0x533a03=0x0;const _0x944235=_0x238726[_0x3ba375(0x25e)][_0x3ba375(0x3ed)]()[_0x3ba375(0x434)]((_0x1171b2,_0xbe05de)=>{const _0x34dddb=_0x3ba375;var _0x155d9b;const _0x357e0f=(_0x155d9b=_0x238726['getDataFieldByDataFieldId'](_0xbe05de))==null?void 0x0:_0x155d9b[_0x34dddb(0x447)]();return _0x357e0f&&(_0x1171b2[String(_0x533a03)]=_0x357e0f),_0x533a03++,_0x1171b2;},{});return{'indexes':_0x175b40,'range':_0x4e439e,'sourceUnitId':_0xfbdc76,'sourceSubUnitId':_0x14166c,'formatMap':_0x944235};}function _0x12ddf2(_0xb2941e,_0x3bd6d6){const _0x222f1b=_0x32b11e;if(!_0xb2941e||!_0x3bd6d6)return!0x0;const _0x372176=_0x2cd015['unshiftString'](_0x746e82,_0x1a399b),_0x2dff94=new Function(_0x222f1b(0x1a6)+_0x372176)()(_0xb2941e,_0x3bd6d6)[_0x222f1b(0x496)],_0x5272ab=_0x2cd015[_0x222f1b(0x461)](_0x2dff94,'sf',_0x54808c);return!((_0x2dff94==null?void 0x0:_0x2dff94['rt'])===_0x2cd015[_0x222f1b(0x402)][_0x222f1b(0x372)]&&!_0x5272ab);}function _0x7dbf34(_0x3a6f90,_0x30f62b,_0x4750e9){const _0x3068a3=_0x32b11e,_0x19fa95={'count':_0x3a6f90,'timeValid':!0x1};if(!_0x30f62b||!_0x4750e9)return _0x19fa95;const _0x527297=_0x2cd015[_0x3068a3(0x431)](_0x746e82,_0x1a399b),_0x7aa0c1=new Function(_0x3068a3(0x1a6)+_0x527297)()(_0x30f62b,_0x4750e9);if(_0x7aa0c1!=null&&_0x7aa0c1['valid']){const _0x1976e1=_0x7aa0c1['message'],_0x362d62=_0x2cd015[_0x3068a3(0x461)](_0x1976e1,'sf',_0x54808c);return{'count':_0x2cd015['getSheetFeatureLimit'](_0x1976e1,_0x362d62,_0x3068a3(0x34a),_0x3a6f90,_0x3a6f90,0x0),'timeValid':_0x362d62};}return _0x19fa95;}function _0x3c0ae4(_0x379300,_0x48e866,_0x381c93,_0x31a0ba){const _0x3aa7a1=_0x32b11e,_0x2a4809={'subUnitId':_0x381c93,'unitId':_0x48e866,'cellValue':_0x132be5[_0x3aa7a1(0x1a1)](_0x31a0ba)},_0x13584b=_0x132be5[_0x3aa7a1(0x403)](_0x379300,_0x2a4809);let _0x118f9c=!0x1;return new _0x4d7ec7[(_0x3aa7a1(0x2f4))](_0x13584b[_0x3aa7a1(0x3de)])[_0x3aa7a1(0x193)]((_0x2fa369,_0x28ea9f,_0x285dd9)=>{const _0x232a33=_0x3aa7a1;if(!_0x118f9c&&_0x285dd9&&(_0x285dd9[_0x232a33(0x1c7)]||_0x285dd9['f']||_0x285dd9['p']||_0x285dd9['s']||_0x285dd9['si']||_0x285dd9['t']||_0x285dd9['v']))return _0x118f9c=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x132be5[_0x3aa7a1(0x49a)]['id'],'params':_0x13584b},'setRangeValueRedoMutation':{'id':_0x132be5[_0x3aa7a1(0x49a)]['id'],'params':_0x2a4809},'shouldClear':_0x118f9c};}function _0x261cb7(_0x2fe7c6){const {row:_0x45afb0,col:_0x9d494b}=_0x2fe7c6,_0x1b9c63={'startRow':_0x45afb0,'endRow':_0x45afb0,'startColumn':_0x9d494b,'endColumn':_0x9d494b},_0x2bdb95={'startRow':_0x45afb0+0x2,'endRow':_0x45afb0+0xe,'startColumn':_0x9d494b,'endColumn':_0x9d494b+0x6};return[_0x1b9c63,_0x2bdb95];}function _0x176102(_0x29ce18,_0x422dc8,_0x411674){const _0x6175d=_0x32b11e,{cornerView:_0x4a5d74,rowView:_0x3db126,colView:_0x259510,pageView:_0x1e9c4f}=_0x29ce18,{row:_0xeef09e,col:_0x1f5322}=_0x422dc8;if(_0x411674)return{'rowCount':_0x230768+_0xeef09e,'colCount':_0x32ddeb+_0x1f5322};const _0xb66f74=_0x1e9c4f[_0x6175d(0x48f)]>-0x1?_0x1e9c4f[_0x6175d(0x48f)]+0x1:0x0,_0x2e03e2=_0x1e9c4f['lastCol']>-0x1?_0x1e9c4f['lastCol']:0x0,_0x387a42=_0xeef09e+_0xb66f74+(_0xb66f74?0x1:0x0)+_0x4a5d74[_0x6175d(0x21b)]+_0x3db126[_0x6175d(0x21b)],_0x2314b0=_0x1f5322+_0x2e03e2,_0x53f173=_0x1f5322+_0x4a5d74[_0x6175d(0x315)]+_0x259510['colCount'],_0x4f05c0=Math['max'](_0x2314b0,_0x53f173);return{'rowCount':_0x387a42,'colCount':_0x4f05c0};}function _0x142fd8(_0x5f0cfb,_0x225eb2,_0x1cd7bc,_0x4b75f5){const _0x528c6d=_0x32b11e,{row:_0x3b7a9c,col:_0x361edd,unitId:_0xc436a9,subUnitId:_0x5d3221}=_0x1cd7bc,_0x4dd1c3=_0x176102(_0x225eb2,{'row':_0x3b7a9c,'col':_0x361edd},_0x4b75f5),_0x5d3adb=_0x5f0cfb[_0x528c6d(0x492)](_0x4d7ec7[_0x528c6d(0x1c4)]),_0x2d90e9=_0x132be5[_0x528c6d(0x198)](_0x5d3adb,{'unitId':_0xc436a9,'subUnitId':_0x5d3221}),_0x36ad8e=[],_0x8329ed=[];if(!_0x2d90e9)return{'undos':_0x8329ed,'redos':_0x36ad8e};const {worksheet:_0x934ae2}=_0x2d90e9,_0x77790c=_0x934ae2['getRowCount'](),_0x2d0d39=_0x934ae2[_0x528c6d(0x477)]();return _0x77790c<_0x4dd1c3['rowCount']&&(_0x36ad8e['push']({'id':_0x132be5['InsertRowMutation']['id'],'params':{'unitId':_0xc436a9,'subUnitId':_0x5d3221,'range':{'startRow':_0x77790c,'endRow':_0x4dd1c3['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x2d0d39-0x1}}}),_0x8329ed[_0x528c6d(0x344)]({'id':_0x132be5[_0x528c6d(0x368)]['id'],'params':{'unitId':_0xc436a9,'subUnitId':_0x5d3221,'range':{'startRow':_0x77790c,'endRow':_0x4dd1c3[_0x528c6d(0x21b)]-0x1,'startColumn':0x0,'endColumn':_0x2d0d39-0x1}}})),_0x2d0d39<_0x4dd1c3[_0x528c6d(0x315)]&&(_0x36ad8e[_0x528c6d(0x344)]({'id':_0x132be5[_0x528c6d(0x37b)]['id'],'params':{'unitId':_0xc436a9,'subUnitId':_0x5d3221,'range':{'startRow':0x0,'endRow':_0x77790c-0x1,'startColumn':_0x2d0d39,'endColumn':_0x4dd1c3[_0x528c6d(0x315)]-0x1}}}),_0x8329ed['push']({'id':_0x132be5['RemoveColMutation']['id'],'params':{'unitId':_0xc436a9,'subUnitId':_0x5d3221,'range':{'startRow':0x0,'endRow':_0x77790c-0x1,'startColumn':_0x2d0d39,'endColumn':_0x4dd1c3[_0x528c6d(0x315)]-0x1}}})),{'undos':_0x8329ed,'redos':_0x36ad8e};}function _0x3d5232(_0x2f1d8f){const _0x2ed9ac=_0x32b11e;let _0x1922fc=0x0;for(let _0x5db581=0x0;_0x5db581<_0x2f1d8f['length'];_0x5db581++){const _0x2f567d=_0x2f1d8f[_0x2ed9ac(0x2de)](_0x5db581);_0x2f567d>=0x4e00&&_0x2f567d<=0x9fff||_0x2f567d>=0x3000&&_0x2f567d<=0x303f||_0x2f567d>=0xff00&&_0x2f567d<=0xffef?_0x1922fc+=0x2:_0x1922fc+=0x1;}return _0x1922fc;}function _0x44e512(_0x418d9d,_0x15f37a,_0x4123ed,_0x50a3af){const _0x4cf174=_0x32b11e;var _0x1bb8c2,_0x5735fb,_0x1e4716,_0x5b3e1c;const {rowCount:_0x2ccc36,colCount:_0x35ec28,headerMap:_0x5a80b7}=_0x418d9d,_0x35f0df=0x64,_0x5466e7=Math[_0x4cf174(0x34b)](_0x2ccc36,_0x35f0df),_0xf94aba=Math[_0x4cf174(0x34b)](_0x35ec28,_0x35f0df);let _0x17842f='',_0x4a8c9c=0x0;for(let _0x332643=0x0;_0x332643<_0x5466e7;_0x332643++)for(let _0x51ad28=0x0;_0x51ad28<_0xf94aba;_0x51ad28++){const _0x4f4b93={...(_0x5735fb=(_0x1bb8c2=_0x418d9d[_0x4cf174(0x2b1)])==null?void 0x0:_0x1bb8c2[_0x332643])==null?void 0x0:_0x5735fb[_0x51ad28]},_0x3cbfb1=(_0x1e4716=_0x5a80b7[_0x332643])==null?void 0x0:_0x1e4716[_0x4cf174(0x45d)],_0x152c09=_0x50a3af[_0x3cbfb1];let _0x1e2d36=_0x418d9d[_0x4cf174(0x213)](_0x332643,_0x51ad28);if(_0x4f4b93){const _0x3106df=_0x4123ed?_0x51ad28===0x0&&((_0x5b3e1c=_0x418d9d['getHeaderMapItem'](_0x51ad28+0x1))==null?void 0x0:_0x5b3e1c['isValue']):!0x1;_0x1e2d36=_0x1072a1(_0x4f4b93,_0x3106df,_0x152c09,_0x15f37a);}if(_0x1e2d36!==void 0x0){const _0xbe2c0=_0x3d5232(String(_0x1e2d36));_0x4a8c9c<_0xbe2c0&&(_0x17842f=String(_0x1e2d36),_0x4a8c9c=_0xbe2c0);}}return _0x17842f;}function _0xdbdd90(_0x1aed92){const _0x1d73eb=_0x32b11e,{rowCount:_0x1ac4f2,colCount:_0x2b457b}=_0x1aed92;let _0x37121e='',_0x52adbf=0x0;for(let _0x1242d7=_0x1ac4f2-0x1;_0x1242d7>0x0&&_0x1242d7>_0x1ac4f2-0x3;_0x1242d7--)for(let _0x35b81c=0x0;_0x35b81c<_0x2b457b;_0x35b81c++){const _0x267ac1=_0x1aed92['getValue'](_0x1242d7,_0x35b81c);if(_0x267ac1!==void 0x0){const _0x1db76d=String(_0x267ac1)[_0x1d73eb(0x30f)];_0x52adbf<_0x1db76d&&(_0x37121e=String(_0x267ac1),_0x52adbf=_0x1db76d);}}return _0x37121e;}function _0x47bfbc(_0x1b91e2){const _0x4ef0e1=_0x32b11e,{rowCount:_0x29df7c,colCount:_0xbae6ba}=_0x1b91e2;let _0x24e12b='',_0x19bd56=0x0;for(let _0x26da03=0x0;_0x26da03<_0x29df7c;_0x26da03++)for(let _0x48d68e=0x0;_0x48d68e<_0xbae6ba;_0x48d68e++){const _0x3d2e8a=_0x1b91e2['getValue'](_0x26da03,_0x48d68e);if(_0x3d2e8a!==void 0x0){const _0x13d56b=String(_0x3d2e8a)[_0x4ef0e1(0x30f)];_0x19bd56<_0x13d56b&&(_0x24e12b=String(_0x3d2e8a),_0x19bd56=_0x13d56b);}}return _0x24e12b;}function _0x5dac7d(_0x2d4357,_0x272e23){const _0x181dff=_0x32b11e,{rowFields:_0x597633,columnFields:_0x27a3c8,valueFields:_0x448559,filterFields:_0x3e4e80,dimension:_0x155a8c,measure:_0x14cea6}=_0x272e23;for(const _0x3d95b2 of _0x597633){const _0x10e6d5=_0x155a8c[_0x3d95b2];_0x10e6d5&&_0x2d4357[_0x181dff(0x23e)](_0x10e6d5[_0x181dff(0x444)])&&(_0x2d4357[_0x181dff(0x45e)](_0x10e6d5['dataFieldId'],_0x5eb847['PivotTableFiledAreaEnum'][_0x181dff(0x393)],void 0x0,_0x3d95b2),_0x10e6d5[_0x181dff(0x1e3)]&&_0x2d4357['renameField'](_0x10e6d5['id'],_0x10e6d5[_0x181dff(0x1e3)]),_0x10e6d5[_0x181dff(0x3d8)]&&_0x2d4357['setSortInfo'](_0x10e6d5['id'],_0x10e6d5[_0x181dff(0x3d8)]),_0x10e6d5[_0x181dff(0x265)]&&_0x2d4357[_0x181dff(0x3a8)](_0x10e6d5['id'],_0x10e6d5[_0x181dff(0x265)]));}for(const _0x3cd479 of _0x27a3c8){const _0x3cfa42=_0x155a8c[_0x3cd479];_0x3cfa42&&_0x2d4357[_0x181dff(0x23e)](_0x3cfa42[_0x181dff(0x444)])&&(_0x2d4357['addFieldWithSourceId'](_0x3cfa42[_0x181dff(0x444)],_0x5eb847[_0x181dff(0x266)]['Column'],void 0x0,_0x3cd479),_0x3cfa42['sortInfo']&&_0x2d4357[_0x181dff(0x28f)](_0x3cfa42['id'],_0x3cfa42[_0x181dff(0x3d8)]),_0x3cfa42[_0x181dff(0x265)]&&_0x2d4357[_0x181dff(0x3a8)](_0x3cfa42['id'],_0x3cfa42[_0x181dff(0x265)]),_0x3cfa42['displayName']&&_0x2d4357[_0x181dff(0x1c9)](_0x3cfa42['id'],_0x3cfa42[_0x181dff(0x1e3)]));}for(const _0x50ab5c of _0x3e4e80){const _0x35ceec=_0x155a8c[_0x50ab5c];_0x35ceec&&_0x2d4357[_0x181dff(0x23e)](_0x35ceec[_0x181dff(0x444)])&&(_0x2d4357[_0x181dff(0x45e)](_0x35ceec[_0x181dff(0x444)],_0x5eb847[_0x181dff(0x266)][_0x181dff(0x43f)],void 0x0,_0x50ab5c),_0x35ceec[_0x181dff(0x3d8)]&&_0x2d4357[_0x181dff(0x28f)](_0x35ceec['id'],_0x35ceec[_0x181dff(0x3d8)]),_0x35ceec[_0x181dff(0x265)]&&_0x2d4357['setLabelFilterInfo'](_0x35ceec['id'],_0x35ceec[_0x181dff(0x265)]),_0x35ceec[_0x181dff(0x1e3)]&&_0x2d4357['renameField'](_0x35ceec['id'],_0x35ceec[_0x181dff(0x1e3)]));}for(const _0x2eac23 of _0x448559){const _0x5b8912=_0x14cea6[_0x2eac23];_0x5b8912&&_0x2d4357[_0x181dff(0x23e)](_0x5b8912['dataFieldId'])&&(_0x2d4357[_0x181dff(0x45e)](_0x5b8912[_0x181dff(0x444)],_0x5eb847[_0x181dff(0x266)]['Value'],void 0x0,_0x2eac23),_0x5b8912[_0x181dff(0x3c2)]!==void 0x0&&_0x2d4357[_0x181dff(0x292)](_0x2eac23,_0x5b8912[_0x181dff(0x3c2)]),_0x5b8912[_0x181dff(0x3da)]&&_0x2d4357[_0x181dff(0x264)](_0x2eac23,_0x5b8912[_0x181dff(0x3da)]),_0x5b8912['displayName']&&_0x2d4357[_0x181dff(0x1c9)](_0x5b8912['id'],_0x5b8912[_0x181dff(0x1e3)]));}const _0x551a71=_0x272e23['valueFilter'];for(const {fieldId:_0x1b1ad1,filterInfo:_0x23e698}of _0x551a71)_0x2d4357[_0x181dff(0x2dd)](_0x1b1ad1,_0x23e698);}function _0x21a5ec(_0x3cc236,_0x42a3bf){const _0x4b18c2=_0x32b11e,_0x593ee0=[];_0x42a3bf===_0x5eb847['PivotTableFiledAreaEnum'][_0x4b18c2(0x393)]&&_0x3cc236['iterateFieldByArea'](_0x5eb847[_0x4b18c2(0x266)]['Row'],_0x3fcc62=>{const _0x5942d1=_0x4b18c2;_0x593ee0[_0x5942d1(0x344)](_0x3fcc62[_0x5942d1(0x1fe)]());}),_0x42a3bf===_0x5eb847[_0x4b18c2(0x266)][_0x4b18c2(0x27c)]&&_0x3cc236[_0x4b18c2(0x4a8)](_0x5eb847[_0x4b18c2(0x266)][_0x4b18c2(0x27c)],_0x1a51be=>{const _0x163456=_0x4b18c2;_0x593ee0[_0x163456(0x344)](_0x1a51be[_0x163456(0x1fe)]());}),_0x42a3bf===_0x5eb847['PivotTableFiledAreaEnum'][_0x4b18c2(0x43f)]&&_0x3cc236[_0x4b18c2(0x4a8)](_0x5eb847['PivotTableFiledAreaEnum']['Filter'],_0x26c399=>{const _0x103cb5=_0x4b18c2;_0x593ee0[_0x103cb5(0x344)](_0x26c399[_0x103cb5(0x1fe)]());}),_0x42a3bf===_0x5eb847[_0x4b18c2(0x266)][_0x4b18c2(0x254)]&&_0x3cc236[_0x4b18c2(0x4a8)](_0x5eb847['PivotTableFiledAreaEnum'][_0x4b18c2(0x254)],_0x408f81=>{const _0x36f16b=_0x4b18c2;_0x593ee0[_0x36f16b(0x344)](_0x408f81[_0x36f16b(0x1fe)]());}),_0x42a3bf===void 0x0&&_0x3cc236['iterateField'](_0x43ad95=>{const _0x2c1d89=_0x4b18c2;_0x593ee0[_0x2c1d89(0x344)](_0x43ad95[_0x2c1d89(0x1fe)]());});const _0x357729=_0x593ee0[_0x4b18c2(0x30f)];for(let _0x531ddb=_0x357729-0x1;_0x531ddb>=0x0;_0x531ddb--)_0x3cc236[_0x4b18c2(0x3ff)](_0x593ee0[_0x531ddb]);const _0x1a7c24=_0x3cc236[_0x4b18c2(0x42f)]();for(const _0x4a8413 in _0x1a7c24)_0x3cc236[_0x4b18c2(0x399)](_0x4a8413);}function _0x358070(_0x38a5a0,_0x31f705){const _0x29e579=_0x32b11e,_0x4c640d=new Date(_0x5eb847['excelDateToUnixMilliseconds'](_0x31f705)),_0x16ad29=new Date(_0x5eb847[_0x29e579(0x22a)](_0x38a5a0)),_0xdeae1e=_0x4c640d['getFullYear'](),_0x1a592d=_0x16ad29[_0x29e579(0x36b)](),_0x4ba648=_0x4c640d['getMonth'](),_0x494384=_0x16ad29[_0x29e579(0x46f)](),_0x17cc6d=_0x4c640d['getDate'](),_0x28b07b=_0x16ad29['getDate'](),_0x19cac2=_0xdeae1e===_0x1a592d,_0x5d5015=_0x19cac2&&_0x4ba648===_0x494384;return _0x19cac2&&_0x5d5015&&!(_0x5d5015&&_0x17cc6d===_0x28b07b)?_0x5eb847[_0x29e579(0x1a7)]['YearMonthDate']:_0x19cac2&&!_0x5d5015?_0x5eb847[_0x29e579(0x1a7)][_0x29e579(0x47f)]:_0x5eb847['PivotDateGroupFieldDateTypeEnum']['Year'];}function _0x360540(_0x147b06,_0x120c8d){const _0x53f76b=_0x32b11e,_0x1f4920=_0x147b06[_0x53f76b(0x492)](_0x3122be[_0x53f76b(0x215)])[_0x53f76b(0x46e)]();let _0x45bb31='';switch(_0x120c8d){case _0x5eb847[_0x53f76b(0x1a7)][_0x53f76b(0x474)]:_0x45bb31=_0x1f4920[_0x53f76b(0x30c)];break;case _0x5eb847[_0x53f76b(0x1a7)][_0x53f76b(0x47f)]:_0x45bb31=_0x1f4920['sheets-pivot.dateGroup.yearMonth'];break;case _0x5eb847[_0x53f76b(0x1a7)][_0x53f76b(0x401)]:_0x45bb31=_0x1f4920[_0x53f76b(0x1d1)];break;case _0x5eb847['PivotDateGroupFieldDateTypeEnum'][_0x53f76b(0x23d)]:_0x45bb31=_0x1f4920['sheets-pivot.dateGroup.month'];break;case _0x5eb847[_0x53f76b(0x1a7)][_0x53f76b(0x326)]:_0x45bb31=_0x1f4920[_0x53f76b(0x35d)];break;case _0x5eb847['PivotDateGroupFieldDateTypeEnum']['Date']:_0x45bb31=_0x1f4920['sheets-pivot.dateGroup.date'];break;case _0x5eb847[_0x53f76b(0x1a7)][_0x53f76b(0x230)]:_0x45bb31=_0x1f4920[_0x53f76b(0x1ea)];break;case _0x5eb847[_0x53f76b(0x1a7)]['Hour']:_0x45bb31=_0x1f4920['sheets-pivot.dateGroup.hour'];break;case _0x5eb847[_0x53f76b(0x1a7)][_0x53f76b(0x3ad)]:_0x45bb31=_0x1f4920[_0x53f76b(0x38e)];break;case _0x5eb847[_0x53f76b(0x1a7)][_0x53f76b(0x37d)]:_0x45bb31=_0x1f4920['sheets-pivot.dateGroup.monthDate'];break;case _0x5eb847[_0x53f76b(0x1a7)]['YearQuarter']:_0x45bb31=_0x1f4920[_0x53f76b(0x2ce)];break;default:_0x45bb31='';break;}return _0x45bb31;}const _0xdc392c=_0x32b11e(0x374),_0x1f9375={};var _0x3d490a=Object[_0x32b11e(0x210)],_0x52b88e=(_0x5b08e2,_0x1afcc5,_0x5c1b13,_0x1c0972)=>{for(var _0x248bb5=_0x1c0972>0x1?void 0x0:_0x1c0972?_0x3d490a(_0x1afcc5,_0x5c1b13):_0x1afcc5,_0x2e47c9=_0x5b08e2['length']-0x1,_0x1523c1;_0x2e47c9>=0x0;_0x2e47c9--)(_0x1523c1=_0x5b08e2[_0x2e47c9])&&(_0x248bb5=_0x1523c1(_0x248bb5)||_0x248bb5);return _0x248bb5;},_0x351868=(_0x4ea3c1,_0x33c8db)=>(_0x2a7c4c,_0x1b2912)=>_0x33c8db(_0x2a7c4c,_0x1b2912,_0x4ea3c1);_0x3122be[_0x32b11e(0x3db)]=class extends _0x4d7ec7[_0x32b11e(0x44c)]{constructor(_0x14c0e4,_0x1c44d7,_0x3d6314,_0x5e32b6,_0xccc1d3){const _0x1476b0=_0x32b11e;super(),_0x24fce5(this,_0x1476b0(0x302),new Map()),_0x24fce5(this,'_collectionConfigModel',new Map()),_0x24fce5(this,_0x1476b0(0x1ad),new Map()),_0x24fce5(this,_0x1476b0(0x3ea),new Map()),_0x24fce5(this,_0x1476b0(0x44f),new _0x5659f3['Subject']()),_0x24fce5(this,'_pivotInitCompleted$',new _0x5659f3['Subject']()),_0x24fce5(this,_0x1476b0(0x373),this[_0x1476b0(0x2f3)]['asObservable']()),_0x24fce5(this,_0x1476b0(0x478),new _0x5659f3['Subject']()),_0x24fce5(this,_0x1476b0(0x314),this[_0x1476b0(0x478)]['asObservable']()),_0x24fce5(this,_0x1476b0(0x350),{}),_0x24fce5(this,'configVersion$',this[_0x1476b0(0x44f)]['asObservable']()),(this[_0x1476b0(0x22d)]=_0x14c0e4,this['_commandService']=_0x1c44d7,this[_0x1476b0(0x45a)]=_0x3d6314,this[_0x1476b0(0x1a2)]=_0x5e32b6,this[_0x1476b0(0x29f)]=_0xccc1d3,this['_initLocale'](),this[_0x1476b0(0x204)]());const _0xfb26f5=this[_0x1476b0(0x29f)][_0x1476b0(0x2c4)](_0xdc392c);(_0xfb26f5==null?void 0x0:_0xfb26f5[_0x1476b0(0x2eb)])===!0x0&&this[_0x1476b0(0x252)]();}[_0x32b11e(0x204)](){const _0x4e6214=_0x32b11e;this[_0x4e6214(0x355)](this[_0x4e6214(0x45a)][_0x4e6214(0x218)](_0x4d7ec7['UniverInstanceType']['UNIVER_SHEET'])[_0x4e6214(0x495)](_0x346f1e=>{const _0x43ca9a=_0x4e6214;this[_0x43ca9a(0x2df)](_0x346f1e[_0x43ca9a(0x472)]());}));}[_0x32b11e(0x3c8)](){const _0x32d08f=_0x32b11e;this[_0x32d08f(0x2f3)]['next'](!0x0);}[_0x32b11e(0x22e)](){const _0x11eab3=_0x32b11e,_0x5ad959=_0x921cde(this[_0x11eab3(0x22d)],_0x1cdeff,'',{});this[_0x11eab3(0x350)]=_0x5ad959,this['_commandService'][_0x11eab3(0x238)](_0x571d06['id'],{'textInfo':_0x5ad959},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x4f9b51=_0x32b11e;return this[_0x4f9b51(0x350)];}[_0x32b11e(0x1db)](_0x429547,_0x36715e,_0xfbc9a7,_0x51cf99,_0x31a958){const _0x3806bf=_0x32b11e;this[_0x3806bf(0x456)](_0x429547,_0x36715e,_0xfbc9a7,_0x51cf99),this[_0x3806bf(0x2c9)](_0x429547,_0x36715e,_0xfbc9a7,_0x31a958);}[_0x32b11e(0x3f0)](_0x35b2a2,_0x4d5eee,_0xc0b598){const _0x2b40d2=_0x32b11e;var _0x3975e6;const _0x1c4d2c=(_0x3975e6=this['_model'][_0x2b40d2(0x492)](_0x35b2a2))==null?void 0x0:_0x3975e6[_0x2b40d2(0x492)](_0x4d5eee);if(_0x1c4d2c)return _0x1c4d2c[_0x2b40d2(0x492)](_0xc0b598);}[_0x32b11e(0x1eb)](_0xb7d1c2,_0x2d9e41){const _0x404d77=_0x32b11e,_0x4f4364=this[_0x404d77(0x302)][_0x404d77(0x492)](_0xb7d1c2);if(_0x4f4364){for(const [_0x2ec976,_0x3feaff]of _0x4f4364[_0x404d77(0x1e9)]())for(const [_0x5acd14,_0x4aaae6]of _0x3feaff['entries']())if(_0x5acd14===_0x2d9e41)return _0x4aaae6['targetCellInfo'];}}[_0x32b11e(0x283)](_0x32906b,_0x4e54c8,_0x44f063){const _0x2a1de6=_0x32b11e,_0x3ed3c9=this[_0x2a1de6(0x3f0)](_0x32906b,_0x4e54c8,_0x44f063);return _0x3ed3c9==null?void 0x0:_0x3ed3c9[_0x2a1de6(0x3ae)];}[_0x32b11e(0x263)](_0x45c90b,_0x4171e4){const _0x5e8de1=_0x32b11e;var _0x22c29c;return(_0x22c29c=this[_0x5e8de1(0x302)]['get'](_0x45c90b))==null?void 0x0:_0x22c29c['get'](_0x4171e4);}[_0x32b11e(0x27f)](_0xdf6edf,_0x2b81d3,_0x38535c,_0x5c1941){const _0x4f2352=_0x32b11e,_0x571b7d=this[_0x4f2352(0x1ca)](_0xdf6edf,_0x2b81d3);_0x5c1941?_0x571b7d[_0x4f2352(0x24b)](_0x38535c,_0x5c1941):_0x571b7d[_0x4f2352(0x494)](_0x38535c),this['_pivotConfigChange$'][_0x4f2352(0x3b8)]({'unitId':_0xdf6edf,'subUnitId':_0x2b81d3,'pivotTableId':_0x38535c,'pivotTableConfig':_0x5c1941});}[_0x32b11e(0x334)](_0x297350,_0x27b50b){const _0x4d68a3=_0x32b11e;var _0x1ed754;return(_0x1ed754=this[_0x4d68a3(0x426)][_0x4d68a3(0x492)](_0x297350))==null?void 0x0:_0x1ed754[_0x4d68a3(0x3f7)][_0x27b50b];}[_0x32b11e(0x3a6)](_0x2c65cb,_0x126655){const _0x37f207=_0x32b11e;this[_0x37f207(0x426)]['set'](_0x2c65cb,_0x126655),this[_0x37f207(0x44f)][_0x37f207(0x3b8)](Math[_0x37f207(0x222)]());}[_0x32b11e(0x1ca)](_0x22fdba,_0x2f8883){const _0x5447dd=_0x32b11e;let _0x581bfa=this[_0x5447dd(0x302)][_0x5447dd(0x492)](_0x22fdba);_0x581bfa||(_0x581bfa=new Map(),this[_0x5447dd(0x302)][_0x5447dd(0x24b)](_0x22fdba,_0x581bfa));let _0x31e121=_0x581bfa[_0x5447dd(0x492)](_0x2f8883);return _0x31e121||(_0x31e121=new Map(),_0x581bfa['set'](_0x2f8883,_0x31e121)),_0x31e121;}[_0x32b11e(0x4a5)](_0x4b0fbe,_0x2e9f0b){const _0x46be03=_0x32b11e;let _0x1b0234=this[_0x46be03(0x1ad)][_0x46be03(0x492)](_0x4b0fbe);_0x1b0234||(_0x1b0234=new Map(),this[_0x46be03(0x1ad)]['set'](_0x4b0fbe,_0x1b0234));let _0x3463a8=_0x1b0234[_0x46be03(0x492)](_0x2e9f0b);return _0x3463a8||(_0x3463a8=new Map(),_0x1b0234[_0x46be03(0x24b)](_0x2e9f0b,_0x3463a8)),_0x3463a8;}[_0x32b11e(0x1a3)](_0x12a3e6,_0xc9d588){const _0x53d3ce=_0x32b11e;let _0xbc6a45=this[_0x53d3ce(0x3ea)][_0x53d3ce(0x492)](_0x12a3e6);_0xbc6a45||(_0xbc6a45=new Map(),this[_0x53d3ce(0x3ea)][_0x53d3ce(0x24b)](_0x12a3e6,_0xbc6a45));let _0x4bec9a=_0xbc6a45[_0x53d3ce(0x492)](_0xc9d588);return _0x4bec9a||(_0x4bec9a=new Map(),_0xbc6a45[_0x53d3ce(0x24b)](_0xc9d588,_0x4bec9a)),_0x4bec9a;}[_0x32b11e(0x2c9)](_0x168bdd,_0x478060,_0x33f013,_0x2a3707){const _0xb9a24e=_0x32b11e;var _0x2b03cf;const _0x37b860=this[_0xb9a24e(0x4a5)](_0x168bdd,_0x478060),_0x5e6951=(_0x2b03cf=_0x37b860[_0xb9a24e(0x492)](_0x33f013))==null?void 0x0:_0x2b03cf[_0xb9a24e(0x19c)];_0x37b860['set'](_0x33f013,{'oldRangeInfo':_0x5e6951,'rangeInfo':_0x2a3707});}[_0x32b11e(0x456)](_0x22e124,_0x4184e0,_0x3ac14c,_0x2c571d){const _0x501779=_0x32b11e;var _0x4e4ebf;const _0x46ac56=this[_0x501779(0x1a3)](_0x22e124,_0x4184e0),_0x1391e7=(_0x4e4ebf=_0x46ac56[_0x501779(0x492)](_0x3ac14c))==null?void 0x0:_0x4e4ebf[_0x501779(0x2a5)];_0x46ac56[_0x501779(0x24b)](_0x3ac14c,{'oldMatrix':_0x1391e7,'matrix':_0x2c571d});}[_0x32b11e(0x277)](_0x22ae8d,_0x3d0804,_0x579f56){const _0x50b5a7=_0x32b11e;var _0x5436df,_0x4c2445;return(_0x4c2445=(_0x5436df=this[_0x50b5a7(0x1ad)][_0x50b5a7(0x492)](_0x22ae8d))==null?void 0x0:_0x5436df[_0x50b5a7(0x492)](_0x3d0804))==null?void 0x0:_0x4c2445[_0x50b5a7(0x492)](_0x579f56);}[_0x32b11e(0x349)](_0xa5c9e9,_0x2a6ce0,_0x1bd9e0){const _0x54ce37=_0x32b11e;var _0x4a070e,_0x2985cd;return(_0x2985cd=(_0x4a070e=this['_pivotTableMatrixInfo'][_0x54ce37(0x492)](_0xa5c9e9))==null?void 0x0:_0x4a070e[_0x54ce37(0x492)](_0x2a6ce0))==null?void 0x0:_0x2985cd[_0x54ce37(0x492)](_0x1bd9e0);}[_0x32b11e(0x2df)](_0x2adf0d){const _0x3c611f=_0x32b11e;this[_0x3c611f(0x302)]['delete'](_0x2adf0d),this[_0x3c611f(0x426)][_0x3c611f(0x494)](_0x2adf0d);}[_0x32b11e(0x32b)](_0xe0f67c){const _0x27e13b=_0x32b11e,_0x5549cc={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x27e13b(0x426)]['get'](_0xe0f67c)&&(_0x5549cc['dataFieldManagerConfig'][_0xe0f67c]=this[_0x27e13b(0x426)][_0x27e13b(0x492)](_0xe0f67c)),this[_0x27e13b(0x302)][_0x27e13b(0x492)](_0xe0f67c)){_0x5549cc[_0x27e13b(0x3fa)][_0xe0f67c]={};const _0x112cc5=this[_0x27e13b(0x302)][_0x27e13b(0x492)](_0xe0f67c);_0x112cc5!=null&&_0x112cc5['size']&&[..._0x112cc5[_0x27e13b(0x2c6)]()][_0x27e13b(0x408)](_0x32ff14=>{const _0x1515ec=_0x27e13b,_0x3f0443=_0x112cc5[_0x1515ec(0x492)](_0x32ff14);_0x3f0443!=null&&_0x3f0443[_0x1515ec(0x4b6)]&&(_0x5549cc[_0x1515ec(0x3fa)][_0xe0f67c][_0x32ff14]={},[..._0x3f0443[_0x1515ec(0x2c6)]()]['forEach'](_0x489397=>{const _0x37e562=_0x1515ec,_0x245394=_0x3f0443[_0x37e562(0x492)](_0x489397);_0x245394&&(_0x5549cc[_0x37e562(0x3fa)][_0xe0f67c][_0x32ff14][_0x489397]=_0x245394);}));});}return _0x5549cc;}[_0x32b11e(0x252)](){const _0xfb847c=_0x32b11e;this[_0xfb847c(0x355)](this[_0xfb847c(0x1a2)][_0xfb847c(0x340)]({'toJson':_0x23a99d=>JSON[_0xfb847c(0x375)](this['_toJSON'](_0x23a99d)),'parseJson':_0x116062=>({}),'businesses':[_0x4d7ec7[_0xfb847c(0x49b)]['UNIVER_SHEET']],'pluginName':_0x4c9c53,'onLoad':(_0x2e4865,_0x22902a)=>{},'onUnLoad':_0x5bda71=>{const _0x2d2a31=_0xfb847c;this[_0x2d2a31(0x2df)](_0x5bda71);}}));}},_0x3122be['SheetsPivotTableConfigModel']=_0x52b88e([_0x351868(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x199)])),_0x351868(0x1,_0x4d7ec7['Inject'](_0x4d7ec7[_0x32b11e(0x46b)])),_0x351868(0x2,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x1c4)])),_0x351868(0x3,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x276)])),_0x351868(0x4,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7['IConfigService']))],_0x3122be[_0x32b11e(0x3db)]);var _0x40895a=Object[_0x32b11e(0x210)],_0x542895=(_0x562fe8,_0x212862,_0x3c5800,_0x176748)=>{const _0x556465=_0x32b11e;for(var _0x96ecf7=_0x176748>0x1?void 0x0:_0x176748?_0x40895a(_0x212862,_0x3c5800):_0x212862,_0x38ef59=_0x562fe8[_0x556465(0x30f)]-0x1,_0x383949;_0x38ef59>=0x0;_0x38ef59--)(_0x383949=_0x562fe8[_0x38ef59])&&(_0x96ecf7=_0x383949(_0x96ecf7)||_0x96ecf7);return _0x96ecf7;},_0x1bb5d2=(_0x390654,_0x460a4d)=>(_0x5e5cc6,_0x288fea)=>_0x460a4d(_0x5e5cc6,_0x288fea,_0x390654);_0x3122be[_0x32b11e(0x360)]=class extends _0x4d7ec7[_0x32b11e(0x44c)]{constructor(_0x47de70,_0x34f372,_0x59d55a,_0x40a008,_0x30584d){const _0x11bc02=_0x32b11e;super(),_0x24fce5(this,'_pivotRenderInfoCache',new Map()),_0x24fce5(this,_0x11bc02(0x497),new Map()),_0x24fce5(this,_0x11bc02(0x1d9),new _0x5659f3['Subject']()),_0x24fce5(this,'markDirty$',this[_0x11bc02(0x1d9)][_0x11bc02(0x3d3)]()),_0x24fce5(this,_0x11bc02(0x2a6),new _0x5659f3[(_0x11bc02(0x3a0))]()),_0x24fce5(this,_0x11bc02(0x427),this[_0x11bc02(0x2a6)][_0x11bc02(0x3d3)]()),_0x24fce5(this,_0x11bc02(0x350)),(this[_0x11bc02(0x268)]=_0x47de70,this[_0x11bc02(0x22d)]=_0x34f372,this['_sheetsPivotTableConfigModel']=_0x59d55a,this[_0x11bc02(0x45a)]=_0x40a008,this['_exclusiveRangeService']=_0x30584d,this[_0x11bc02(0x22e)](),this[_0x11bc02(0x204)]());}[_0x32b11e(0x204)](){const _0x51226f=_0x32b11e;this['disposeWithMe'](this[_0x51226f(0x45a)][_0x51226f(0x218)](_0x4d7ec7['UniverInstanceType'][_0x51226f(0x190)])[_0x51226f(0x495)](_0x1cd880=>{this['deleteUnitId'](_0x1cd880['getUnitId']());}));}['_initLocale'](){const _0x1cafa4=_0x32b11e;this[_0x1cafa4(0x350)]=_0x921cde(this[_0x1cafa4(0x22d)],_0x1cdeff,'',{});}[_0x32b11e(0x192)](_0x135bb1){const _0x322a8e=_0x32b11e,{view:_0x26b88c,unitId:_0xa8a0c1,subUnitId:_0x2e792b,pivotTableId:_0x5af1d4,type:_0x5b81b4}=_0x135bb1,_0x1e7d65=this[_0x322a8e(0x194)]['getPivotTableConfig'](_0xa8a0c1,_0x2e792b,_0x5af1d4);if(!_0x26b88c||!_0x1e7d65||_0x5b81b4===_0x4e6aa2[_0x322a8e(0x420)])return;const {pageView:_0xd7d0fa,cornerView:_0x3f6e99,rowView:_0x1c230f,colView:_0x5e350a,dataView:_0x55d349}=_0x26b88c,_0x25f8aa=_0x1e7d65[_0x322a8e(0x3ae)],_0x2a3ec7=_0x1e7d65['isEmpty'],_0x2807ef=this[_0x322a8e(0x209)](_0xa8a0c1,_0x2e792b),_0x4d6aa7=this[_0x322a8e(0x452)](_0xa8a0c1,_0x2e792b,_0x5af1d4);if(_0x2a3ec7)return this[_0x322a8e(0x398)](_0x135bb1,_0x2807ef,_0x25f8aa,_0x4d6aa7);{const _0x2e6726=_0x57c10c(_0x25f8aa,_0xd7d0fa,!0x0),_0x2cca0e=_0xd7d0fa[_0x322a8e(0x48f)]>=0x0?_0xd7d0fa[_0x322a8e(0x48f)]+0x1:0x0,_0x190f0f=_0x3f6e99[_0x322a8e(0x336)](),_0x53212f=_0x3f6e99[_0x322a8e(0x31b)](),_0x3dd30a=_0x2e6726[_0x322a8e(0x30f)]>0x0?_0x36faea:0x0,_0xde4824=_0x57c10c({'row':_0x25f8aa[_0x322a8e(0x3d2)]+_0x2cca0e+_0x3dd30a,'col':_0x25f8aa[_0x322a8e(0x2f5)]},_0x3f6e99,!0x1,!0x1),_0x225232=_0x57c10c({'row':_0x25f8aa['row']+_0x2cca0e+_0x3dd30a+_0x190f0f,'col':_0x25f8aa[_0x322a8e(0x2f5)]},_0x1c230f,!0x1,!0x0),_0x1992d4=_0x57c10c({'row':_0x25f8aa['row']+_0x2cca0e+_0x3dd30a,'col':_0x25f8aa[_0x322a8e(0x2f5)]+_0x53212f},_0x5e350a,!0x1,!0x0),_0xe59a0d=_0x57c10c({'row':_0x25f8aa[_0x322a8e(0x3d2)]+_0x2cca0e+_0x3dd30a+_0x190f0f,'col':_0x25f8aa[_0x322a8e(0x2f5)]+_0x53212f},_0x55d349,!0x1,!0x1);_0x4d6aa7[_0x322a8e(0x3f3)]={'rowRanges':_0x225232,'colRanges':_0x1992d4,'cornerRanges':_0xde4824,'dataRanges':_0xe59a0d,'pageRanges':_0x2e6726};const _0x5eff96=_0x2e6bfd(this[_0x322a8e(0x22d)],_0x26b88c,_0x1e7d65,this[_0x322a8e(0x350)]),{valueMatrix:_0x261db8,rowInfo:_0x57c24e,colInfo:_0x29f1af,cornerInfo:_0x2c96e6,rowHeaderMap:_0x40c068,colHeaderMap:_0x53a978}=_0x5eff96;return _0x4d6aa7[_0x322a8e(0x49c)]={'rowInfo':_0x57c24e,'colInfo':_0x29f1af,'cornerInfo':_0x2c96e6},_0x4d6aa7['headerMap']={'rowHeaderMap':_0x40c068,'colHeaderMap':_0x53a978},_0x261db8[_0x322a8e(0x408)]((_0x32f42d,_0x4e5dc4)=>{const _0x39c1ae=_0x322a8e;Object[_0x39c1ae(0x2c6)](_0x4e5dc4)[_0x39c1ae(0x408)](_0x81434f=>{const _0x430267=_0x39c1ae,_0x1762d4=+_0x81434f,_0x52ec05=_0x261db8[_0x430267(0x213)](_0x32f42d,_0x1762d4);_0x2807ef[_0x430267(0x4a2)](_0x32f42d,_0x1762d4,_0x52ec05);});}),this[_0x322a8e(0x2a6)]['next']({'unitId':_0xa8a0c1,'subUnitId':_0x2e792b,'valueMatrix':_0x2807ef,'rangesCache':_0x4d6aa7[_0x322a8e(0x3f3)],'pivotTableId':_0x5af1d4,'type':_0x135bb1['type']}),this[_0x322a8e(0x194)][_0x322a8e(0x1db)](_0xa8a0c1,_0x2e792b,_0x5af1d4,_0x2807ef,_0x4d6aa7[_0x322a8e(0x3f3)]),this[_0x322a8e(0x1d6)][_0x322a8e(0x33e)](_0xa8a0c1,_0x2e792b,_0x27992b,this[_0x322a8e(0x410)](_0x4d6aa7['rangesInfo'],_0x5af1d4)),{'rangeCache':_0x4d6aa7[_0x322a8e(0x3f3)],'matrix':_0x2807ef};}}['_updateRenderEmptyCache'](_0x2597d1,_0x30a885,_0x51774d,_0x25caa5){const _0x38709e=_0x32b11e,_0x574b19=this[_0x38709e(0x268)]['t'],{unitId:_0x3906e7,subUnitId:_0xf8efc8,pivotTableId:_0x8e0474}=_0x2597d1,_0x84799f={'filter':_0x574b19('sheets-pivot.emptyPivot.filter'),'row':_0x574b19(_0x38709e(0x241)),'column':_0x574b19(_0x38709e(0x246)),'values':_0x574b19(_0x38709e(0x28c))},{matrixCache:_0x4045aa,rangesCache:_0x1c59da}=_0x529fe9(_0x84799f,_0x51774d);return _0x4045aa['forValue']((_0x50c7e0,_0x28e4e1,_0x581dbb)=>{const _0x445b3c=_0x38709e;_0x30a885[_0x445b3c(0x4a2)](_0x50c7e0,_0x28e4e1,_0x581dbb);}),_0x25caa5[_0x38709e(0x3f3)]=_0x1c59da,this[_0x38709e(0x2a6)][_0x38709e(0x3b8)]({'unitId':_0x3906e7,'subUnitId':_0xf8efc8,'valueMatrix':_0x30a885,'rangesCache':_0x1c59da,'pivotTableId':_0x8e0474,'type':_0x2597d1[_0x38709e(0x288)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x38709e(0x1db)](_0x3906e7,_0xf8efc8,_0x8e0474,_0x30a885,_0x1c59da),this[_0x38709e(0x1d6)]['addExclusiveRange'](_0x3906e7,_0xf8efc8,_0x27992b,this[_0x38709e(0x410)](_0x1c59da,_0x8e0474)),{'rangeCache':_0x25caa5[_0x38709e(0x3f3)],'matrix':_0x30a885};}[_0x32b11e(0x410)](_0x28893d,_0x4688f6){const _0x73a8e8=_0x32b11e,_0x1fc15e=[],_0x126bbb=_0x277844(_0x28893d);for(const _0x277dd9 of _0x126bbb)_0x1fc15e[_0x73a8e8(0x344)]({'groupId':_0x4688f6,'range':_0x277dd9});return _0x1fc15e;}[_0x32b11e(0x37f)](_0x55323b){const _0x570870=_0x32b11e;var _0x4759ad,_0x3e9cf9,_0x3258ed,_0xf79abf;const {pivotTableId:_0x342b4c,unitId:_0x2817dd,subUnitId:_0x3cf8f6}=_0x55323b;if(!_0x342b4c||!_0x2817dd||!_0x3cf8f6)return;const _0x5cddbb=this['_ensurePivotItemRenderValueMatrixCache'](_0x2817dd,_0x3cf8f6),_0x1bd7f0=(_0x3e9cf9=(_0x4759ad=this[_0x570870(0x377)][_0x570870(0x492)](_0x2817dd))==null?void 0x0:_0x4759ad[_0x570870(0x492)](_0x3cf8f6))==null?void 0x0:_0x3e9cf9[_0x570870(0x492)](_0x342b4c);if(_0x1bd7f0!=null&&_0x1bd7f0[_0x570870(0x3f3)]){for(const _0x210e4f of Object[_0x570870(0x2c6)](_0x1bd7f0[_0x570870(0x3f3)]))_0x1bd7f0[_0x570870(0x3f3)][_0x210e4f]['forEach'](_0x551c03=>{const _0x91f0ce=_0x570870;for(let _0x3a4838=_0x551c03[_0x91f0ce(0x262)];_0x3a4838<=_0x551c03[_0x91f0ce(0x40d)];_0x3a4838++)for(let _0x1f5229=_0x551c03[_0x91f0ce(0x39f)];_0x1f5229<=_0x551c03[_0x91f0ce(0x2ee)];_0x1f5229++)_0x5cddbb[_0x91f0ce(0x212)](_0x3a4838,_0x1f5229);});}_0x1bd7f0&&((_0xf79abf=(_0x3258ed=this[_0x570870(0x377)][_0x570870(0x492)](_0x2817dd))==null?void 0x0:_0x3258ed['get'](_0x3cf8f6))==null||_0xf79abf[_0x570870(0x494)](_0x342b4c)),this[_0x570870(0x2a6)][_0x570870(0x3b8)]({'unitId':_0x2817dd,'subUnitId':_0x3cf8f6,'valueMatrix':_0x5cddbb,'pivotTableId':_0x342b4c,'rangesCache':void 0x0,'type':_0x55323b['type']}),this[_0x570870(0x1d6)][_0x570870(0x4b5)](_0x2817dd,_0x3cf8f6,_0x27992b,_0x342b4c);}[_0x32b11e(0x452)](_0x31cd85,_0x7462c,_0x7a06e5){const _0x40abd8=_0x32b11e;var _0x1df12a,_0x4c8778,_0xde76e6,_0x20d893,_0x493700,_0x4e9c59;return this['_pivotRenderInfoCache'][_0x40abd8(0x231)](_0x31cd85)||this[_0x40abd8(0x377)][_0x40abd8(0x24b)](_0x31cd85,new Map()),(_0x1df12a=this[_0x40abd8(0x377)][_0x40abd8(0x492)](_0x31cd85))!=null&&_0x1df12a[_0x40abd8(0x231)](_0x7462c)||(_0x4c8778=this[_0x40abd8(0x377)][_0x40abd8(0x492)](_0x31cd85))==null||_0x4c8778['set'](_0x7462c,new Map()),(_0x20d893=(_0xde76e6=this[_0x40abd8(0x377)][_0x40abd8(0x492)](_0x31cd85))==null?void 0x0:_0xde76e6[_0x40abd8(0x492)](_0x7462c))!=null&&_0x20d893[_0x40abd8(0x231)](_0x7a06e5)||(_0x4e9c59=(_0x493700=this[_0x40abd8(0x377)][_0x40abd8(0x492)](_0x31cd85))==null?void 0x0:_0x493700[_0x40abd8(0x492)](_0x7462c))==null||_0x4e9c59[_0x40abd8(0x24b)](_0x7a06e5,{}),this[_0x40abd8(0x377)]['get'](_0x31cd85)[_0x40abd8(0x492)](_0x7462c)[_0x40abd8(0x492)](_0x7a06e5);}[_0x32b11e(0x209)](_0x37fc12,_0x58e76b){const _0x47e757=_0x32b11e;var _0x595761,_0x264018;return this['_pivotRenderValueMatrixCache']['has'](_0x37fc12)||this[_0x47e757(0x497)][_0x47e757(0x24b)](_0x37fc12,new Map()),(_0x595761=this['_pivotRenderValueMatrixCache'][_0x47e757(0x492)](_0x37fc12))!=null&&_0x595761[_0x47e757(0x231)](_0x58e76b)||(_0x264018=this[_0x47e757(0x497)]['get'](_0x37fc12))==null||_0x264018[_0x47e757(0x24b)](_0x58e76b,new _0x4d7ec7[(_0x47e757(0x2f4))]()),this[_0x47e757(0x497)]['get'](_0x37fc12)[_0x47e757(0x492)](_0x58e76b);}[_0x32b11e(0x1ab)](_0x2f1401,_0x2e39dc,_0x5aba15,_0x9b51e7){const _0x475985=_0x32b11e;var _0x340641,_0x41c6da;const _0xb56d4c=(_0x41c6da=(_0x340641=this[_0x475985(0x497)][_0x475985(0x492)](_0x2f1401))==null?void 0x0:_0x340641[_0x475985(0x492)](_0x2e39dc))==null?void 0x0:_0x41c6da[_0x475985(0x213)](_0x5aba15,_0x9b51e7);if(_0xb56d4c!=null)return _0xb56d4c;}[_0x32b11e(0x1e0)](_0x2a96e2,_0x4d42da,_0x1002fb,_0xd52cba){const _0x1a3817=_0x32b11e;var _0x497bfc;const _0x2d84dd=_0x4d7ec7['cellToRange'](_0x1002fb,_0xd52cba),_0x52cf3a=(_0x497bfc=this[_0x1a3817(0x377)][_0x1a3817(0x492)](_0x2a96e2))==null?void 0x0:_0x497bfc[_0x1a3817(0x492)](_0x4d42da);return _0x52cf3a?Array['from'](_0x52cf3a['keys']())[_0x1a3817(0x3ac)](_0x1db77b=>{const _0x50e5cf=_0x1a3817,_0x54fa03=_0x52cf3a[_0x50e5cf(0x492)](_0x1db77b),_0x58a3c2=_0x54fa03==null?void 0x0:_0x54fa03['rangesInfo'];return _0x58a3c2?Object[_0x50e5cf(0x2c6)](_0x58a3c2)[_0x50e5cf(0x2e5)](_0x3727f8=>_0x58a3c2[_0x3727f8][_0x50e5cf(0x2e5)](_0x3dd449=>_0x4d7ec7[_0x50e5cf(0x2c2)][_0x50e5cf(0x34d)](_0x3dd449,_0x2d84dd))):!0x1;}):void 0x0;}[_0x32b11e(0x1b5)](_0x23fd54,_0x2df893,_0x4ef7fe){const _0x4fda52=_0x32b11e;var _0x56891e;const _0x22e1fa=(_0x56891e=this[_0x4fda52(0x377)]['get'](_0x23fd54))==null?void 0x0:_0x56891e['get'](_0x2df893),_0x5875bc=[];return _0x22e1fa&&Array[_0x4fda52(0x419)](_0x22e1fa[_0x4fda52(0x2c6)]())[_0x4fda52(0x408)](_0xe7c706=>{const _0x44eab1=_0x4fda52,_0x549061=_0x22e1fa[_0x44eab1(0x492)](_0xe7c706),_0xf225ca=_0x549061==null?void 0x0:_0x549061[_0x44eab1(0x3f3)];if(_0xf225ca)for(const _0x50fd0b of Object[_0x44eab1(0x2bb)](_0xf225ca)){let _0xc16fe8=!0x1;for(const _0x5ed802 of _0x50fd0b)if(_0x4d7ec7[_0x44eab1(0x2c2)][_0x44eab1(0x413)](_0x5ed802,_0x4ef7fe)){_0x5875bc[_0x44eab1(0x344)](_0xe7c706),_0xc16fe8=!0x0;break;}if(_0xc16fe8)break;}}),_0x5875bc;}[_0x32b11e(0x1b0)](_0x16f4a8,_0x341d15){const _0x4e5294=_0x32b11e;var _0x184803,_0x2e38f0;return(_0x2e38f0=(_0x184803=this['_pivotRenderValueMatrixCache']['get'](_0x16f4a8))==null?void 0x0:_0x184803['get'](_0x341d15))!=null?_0x2e38f0:new _0x4d7ec7[(_0x4e5294(0x2f4))]();}['getSubUnitPivotRenderCache'](_0x2c5231,_0xbc08e9){const _0x2a2f76=_0x32b11e;var _0x563545;return(_0x563545=this[_0x2a2f76(0x377)][_0x2a2f76(0x492)](_0x2c5231))==null?void 0x0:_0x563545[_0x2a2f76(0x492)](_0xbc08e9);}[_0x32b11e(0x1cb)](_0x3bbf69,_0x224d28,_0x428d06){const _0x45954d=_0x32b11e;var _0x59193d,_0x16660b;return(_0x16660b=(_0x59193d=this[_0x45954d(0x377)][_0x45954d(0x492)](_0x3bbf69))==null?void 0x0:_0x59193d[_0x45954d(0x492)](_0x224d28))==null?void 0x0:_0x16660b['get'](_0x428d06);}[_0x32b11e(0x2df)](_0x4cae78){const _0x4f8aea=_0x32b11e;this[_0x4f8aea(0x377)]['delete'](_0x4cae78),this[_0x4f8aea(0x497)]['delete'](_0x4cae78);}[_0x32b11e(0x273)](_0x1b5788,_0x3ce0a5){const _0xd55f9=_0x32b11e;this[_0xd55f9(0x1d9)][_0xd55f9(0x3b8)]({'unitId':_0x1b5788,'subUnitId':_0x3ce0a5});}},_0x3122be[_0x32b11e(0x360)]=_0x542895([_0x1bb5d2(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7['LocaleService'])),_0x1bb5d2(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x199)])),_0x1bb5d2(0x2,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be[_0x32b11e(0x3db)])),_0x1bb5d2(0x3,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7['IUniverInstanceService'])),_0x1bb5d2(0x4,_0x4d7ec7['Inject'](_0x132be5[_0x32b11e(0x37a)]))],_0x3122be[_0x32b11e(0x360)]);var _0x448fa7=Object[_0x32b11e(0x210)],_0x56669b=(_0x459ab9,_0x2eb157,_0x410f5a,_0xbc802f)=>{const _0x38c5e3=_0x32b11e;for(var _0x470a35=_0xbc802f>0x1?void 0x0:_0xbc802f?_0x448fa7(_0x2eb157,_0x410f5a):_0x2eb157,_0x1ff78d=_0x459ab9[_0x38c5e3(0x30f)]-0x1,_0x2e6778;_0x1ff78d>=0x0;_0x1ff78d--)(_0x2e6778=_0x459ab9[_0x1ff78d])&&(_0x470a35=_0x2e6778(_0x470a35)||_0x470a35);return _0x470a35;},_0x22c93a=(_0x1f4071,_0x336c6d)=>(_0x47c059,_0x28888a)=>_0x336c6d(_0x47c059,_0x28888a,_0x1f4071);_0x3122be[_0x32b11e(0x25f)]=class extends _0x4d7ec7[_0x32b11e(0x44c)]{constructor(_0x2a8b8c,_0x424c03){const _0x2b02b9=_0x32b11e;super(),_0x24fce5(this,'asyncInterceptor',new _0x4d7ec7[(_0x2b02b9(0x39d))]({'PIVOT_PERFORM_CHECK':_0x39ea12})),_0x24fce5(this,'interceptor',new _0x4d7ec7[(_0x2b02b9(0x29e))]({'PIVOT_MUTATION_GENERATE':_0x588616})),(this[_0x2b02b9(0x223)]=_0x2a8b8c,this['_sheetsPivotTableAdaptorModel']=_0x424c03,this[_0x2b02b9(0x26e)]());}['_init'](){const _0x1f02c7=_0x32b11e;this[_0x1f02c7(0x250)]();}[_0x32b11e(0x46c)](_0x3ab557){const _0x217365=_0x32b11e;return this[_0x217365(0x3cb)][_0x217365(0x348)](_0x39ea12)(!0x1,_0x3ab557);}[_0x32b11e(0x250)](){const _0x260661=_0x32b11e;this[_0x260661(0x355)](this['_sheetInterceptorService'][_0x260661(0x2b4)](_0x132be5[_0x260661(0x1ce)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x4d7ec7[_0x260661(0x2ac)][_0x260661(0x254)]|_0x4d7ec7['InterceptorEffectEnum']['Style'],'handler':(_0x329538,_0x58d2d7,_0x5332dd)=>{const _0x288b2b=_0x260661,{row:_0x4f2f86,col:_0x21c18d,unitId:_0x177829,subUnitId:_0x545971,workbook:_0xb9988c}=_0x58d2d7,_0x5c25e6=this[_0x288b2b(0x25c)][_0x288b2b(0x1ab)](_0x177829,_0x545971,_0x4f2f86,_0x21c18d);if(!_0x5c25e6)return _0x5332dd(_0x329538);const _0x219e6a={..._0x329538};(_0x5c25e6['v']||_0x5c25e6['v']===0x0)&&(_0x219e6a['v']=_0x5c25e6['v']),_0x5c25e6['t']&&(_0x219e6a['t']=_0x5c25e6['t']);const _0x452d9b=(typeof(_0x329538==null?void 0x0:_0x329538['s'])==_0x288b2b(0x3c9)?_0xb9988c[_0x288b2b(0x38c)]()['get'](_0x329538==null?void 0x0:_0x329538['s']):_0x329538==null?void 0x0:_0x329538['s'])||{},_0x2e02e8=_0xb9988c[_0x288b2b(0x38c)]()[_0x288b2b(0x492)](_0x5c25e6['s']),_0x7155e0={..._0x2e02e8,..._0x452d9b};_0x2e02e8!=null&&_0x2e02e8['n']&&(_0x7155e0['n']=_0x2e02e8['n']);const _0x3739f8=_0xb9988c[_0x288b2b(0x38c)]()[_0x288b2b(0x4a2)](_0x7155e0);return _0x219e6a['s']=_0x3739f8,(_0x5c25e6[_0x288b2b(0x286)]===_0x5eb847[_0x288b2b(0x39a)]['Collapse']||_0x5c25e6[_0x288b2b(0x286)]===_0x5eb847[_0x288b2b(0x39a)][_0x288b2b(0x270)])&&(_0x219e6a[_0x288b2b(0x25d)]={},_0x219e6a[_0x288b2b(0x25d)]['leftOffset']=_0x1c6b3b),_0x5332dd(_0x219e6a);}}));}},_0x3122be[_0x32b11e(0x25f)]=_0x56669b([_0x22c93a(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x132be5['SheetInterceptorService'])),_0x22c93a(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be[_0x32b11e(0x360)]))],_0x3122be[_0x32b11e(0x25f)]);const _0x42ff40={'id':_0x32b11e(0x41f),'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'handler':(_0x228445,_0x347b2d)=>{const _0xccd8f4=_0x32b11e;if(!_0x347b2d)return!0x1;if(!!_0x228445[_0xccd8f4(0x492)](_0x4d7ec7[_0xccd8f4(0x2cb)])[_0xccd8f4(0x2c4)](_0x5755e4))return!0x0;const {pivotTableId:_0x15380a,fieldJSON:_0x599fbf,unitId:_0x2f288b,subUnitId:_0x3abf35}=_0x347b2d;let _0x32f049;const {dataFieldType:_0x175099,id:_0x283ad7,name:_0x11ea41,hexCode:_0x2dd156,originalFieldId:_0x1acf14}=_0x599fbf;if(_0x175099===_0x5eb847[_0xccd8f4(0x214)][_0xccd8f4(0x304)]&&(_0x32f049=new _0x5eb847[(_0xccd8f4(0x351))](_0x283ad7,_0x11ea41,_0x2dd156,_0x1acf14)),!_0x32f049)return!0x1;const _0x1048ef=_0x228445[_0xccd8f4(0x492)](_0x3122be[_0xccd8f4(0x215)]),_0x1372be=_0x1048ef[_0xccd8f4(0x2d2)](_0x2f288b),_0x249923=_0x1372be[_0xccd8f4(0x334)](_0x15380a);_0x1372be[_0xccd8f4(0x1af)](_0x32f049),_0x249923['addField'](_0x32f049[_0xccd8f4(0x1fe)](),_0x32f049[_0xccd8f4(0x440)]());const _0x25d23b=_0x249923['getFieldById'](_0x32f049[_0xccd8f4(0x4aa)]());_0x25d23b&&_0x32f049['refreshGroupField'](_0x25d23b);const _0x5f1c58=_0x1048ef['getPivotTableConfig'](_0x2f288b,_0x3abf35,_0x15380a);return _0x1048ef[_0xccd8f4(0x2b0)]({'unitId':_0x2f288b,'subUnitId':_0x3abf35,'token':_0x15380a,'type':_0x4e6aa2[_0xccd8f4(0x476)],'pivotConfig':_0x5f1c58}),!0x0;}},_0x516d05={'id':_0x32b11e(0x235),'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'handler':(_0x268697,_0x332e41)=>{const _0x48e56b=_0x32b11e;if(!_0x332e41)return!0x1;if(!!_0x268697[_0x48e56b(0x492)](_0x4d7ec7['IConfigService'])['getConfig'](_0x5755e4))return!0x0;const {pivotTableId:_0x23ba63,dataFieldId:_0x3d4eb4,unitId:_0x17b984,subUnitId:_0x2fb726}=_0x332e41,_0x1911d1=_0x268697[_0x48e56b(0x492)](_0x3122be[_0x48e56b(0x215)]),_0x203b34=_0x1911d1[_0x48e56b(0x2d2)](_0x17b984);_0x203b34[_0x48e56b(0x334)](_0x23ba63)[_0x48e56b(0x3a2)](_0x3d4eb4);let _0x3de2ca=!0x0;for(const _0x50db77 in _0x203b34['collections'])if(_0x203b34[_0x48e56b(0x3f7)][_0x50db77]['getFieldIds']()[_0x48e56b(0x3aa)](_0x3d4eb4)){_0x3de2ca=!0x1;break;}_0x3de2ca&&_0x203b34[_0x48e56b(0x3fd)](_0x3d4eb4);const _0x52b198=_0x1911d1[_0x48e56b(0x3f0)](_0x17b984,_0x2fb726,_0x23ba63);return _0x1911d1[_0x48e56b(0x2b0)]({'unitId':_0x17b984,'subUnitId':_0x2fb726,'token':_0x23ba63,'type':_0x4e6aa2['Set'],'pivotConfig':_0x52b198}),!0x0;}};function _0x204433(_0x323a13,_0x3b7fd7){const _0x246d88=_0x32b11e;switch(_0x3b7fd7){case _0x5eb847[_0x246d88(0x266)][_0x246d88(0x254)]:return _0x323a13[_0x246d88(0x48e)];case _0x5eb847[_0x246d88(0x266)]['Filter']:return _0x323a13[_0x246d88(0x3eb)];case _0x5eb847[_0x246d88(0x266)][_0x246d88(0x393)]:return _0x323a13[_0x246d88(0x3bc)];case _0x5eb847['PivotTableFiledAreaEnum'][_0x246d88(0x27c)]:return _0x323a13[_0x246d88(0x2e8)];default:return[];}}function _0x2a21ae(_0x17ab75,_0x2bccbe){const _0x5b78d1=_0x32b11e;return _0x17ab75[_0x5b78d1(0x41c)][_0x2bccbe]||_0x17ab75['dimension'][_0x2bccbe];}function _0x18cbda(_0xfef496,_0x1ba150){const _0x2b79ad=_0x32b11e,{area:_0x7ab04,fieldJson:_0x49eadd,index:_0x320998}=_0x1ba150;_0x7ab04===_0x5eb847[_0x2b79ad(0x266)][_0x2b79ad(0x254)]?_0xfef496['measure'][_0x49eadd['id']]=_0x49eadd:_0xfef496[_0x2b79ad(0x28d)][_0x49eadd['id']]=_0x49eadd,_0x204433(_0xfef496,_0x7ab04)[_0x2b79ad(0x26d)](_0x320998,0x0,_0x49eadd['id']);}function _0xd996b(_0x499733,_0x407962){const _0x381e29=_0x32b11e,{area:_0x2fbb28,fieldId:_0x2d5c95,index:_0x18bd38}=_0x407962;_0x2fbb28===_0x5eb847[_0x381e29(0x266)][_0x381e29(0x254)]?delete _0x499733[_0x381e29(0x41c)][_0x2d5c95]:delete _0x499733[_0x381e29(0x28d)][_0x2d5c95],_0x204433(_0x499733,_0x2fbb28)[_0x381e29(0x26d)](_0x18bd38,0x1);}function _0x185720(_0x24acef,_0x34aeea){const {fieldId:_0x263b5e,name:_0x226719}=_0x34aeea,_0x41862b=_0x2a21ae(_0x24acef,_0x263b5e);_0x41862b&&(_0x41862b['displayName']=_0x226719);}function _0x3618e8(_0x51be2c,_0x46549c){const _0x505eff=_0x32b11e,{fieldId:_0x8a7e34,collapse:_0x168c5c,item:_0x231fa3}=_0x46549c;_0x231fa3!==void 0x0?(_0x51be2c[_0x505eff(0x216)][_0x8a7e34]=_0x51be2c[_0x505eff(0x216)][_0x8a7e34]||{},_0x51be2c['collapseInfo'][_0x8a7e34][_0x231fa3]=_0x168c5c):_0x51be2c['collapseInfo'][_0x8a7e34]=_0x168c5c;}function _0x11b9e2(_0x6847ca,_0x48001a){const {fieldId:_0x3b17a5,format:_0x599199}=_0x48001a,_0x57e631=_0x2a21ae(_0x6847ca,_0x3b17a5);_0x57e631&&(_0x57e631['format']=_0x599199);}function _0x11f2a0(_0x42c265,_0x141e68){const _0x26b652=_0x32b11e,{fieldId:_0x379047,filterInfo:_0x5bb373}=_0x141e68,_0x6039d3=_0x2a21ae(_0x42c265,_0x379047);_0x6039d3&&(_0x6039d3[_0x26b652(0x265)]=_0x5bb373);}function _0x3d95d2(_0x1b6d30,_0xbd346f){const _0x4f2f76=_0x32b11e,{fieldId:_0x1b5e02,filterInfo:_0x405489}=_0xbd346f,_0x4a76a8=_0x1b6d30[_0x4f2f76(0x2ef)][_0x4f2f76(0x3dc)](_0x12dd7a=>_0x12dd7a[_0x4f2f76(0x278)]!==_0x1b5e02);_0x405489&&_0x4a76a8[_0x4f2f76(0x344)]({'fieldId':_0x1b5e02,'filterInfo':_0x405489}),_0x1b6d30['valueFilter']=_0x4a76a8;}function _0x23cecd(_0x6a33e4,_0x4c922d){const _0x3c0766=_0x32b11e,{fieldId:_0x30fd72,subtotalType:_0x5c6656}=_0x4c922d,_0x568688=_0x2a21ae(_0x6a33e4,_0x30fd72);_0x568688&&(_0x568688[_0x3c0766(0x3c2)]=_0x5c6656);}function _0x5c08b7(_0x3336d6,_0x3a36f3){const _0x485c9c=_0x32b11e,{fieldId:_0x4e9883,oldArea:_0x153e41,area:_0x5c6c12,oldIndex:_0x594e1a,index:_0x2b27d1}=_0x3a36f3,_0x17d47b=_0x153e41!==_0x5eb847[_0x485c9c(0x266)][_0x485c9c(0x254)]&&_0x5c6c12===_0x5eb847[_0x485c9c(0x266)]['Value'],_0x1c808b=_0x153e41===_0x5eb847[_0x485c9c(0x266)][_0x485c9c(0x254)]&&_0x5c6c12!==_0x5eb847[_0x485c9c(0x266)][_0x485c9c(0x254)];if(_0x17d47b||_0x1c808b){const _0x298143=_0x2a21ae(_0x3336d6,_0x4e9883);_0x298143&&(_0x17d47b?(delete _0x3336d6[_0x485c9c(0x28d)][_0x4e9883],_0x3336d6['measure'][_0x4e9883]=_0x298143):(delete _0x3336d6['measure'][_0x4e9883],_0x3336d6[_0x485c9c(0x28d)][_0x4e9883]=_0x298143));}const _0x13f390=_0x204433(_0x3336d6,_0x153e41),_0x51915b=_0x204433(_0x3336d6,_0x5c6c12);_0x13f390[_0x485c9c(0x26d)](_0x594e1a,0x1),_0x51915b[_0x485c9c(0x26d)](_0x2b27d1,0x0,_0x4e9883);}function _0x23a6b9(_0x433bc4,_0x43867d){const _0x5baaad=_0x32b11e,{valuePosition:_0x4959d7,index:_0x42b429}=_0x43867d;_0x433bc4[_0x5baaad(0x397)]=_0x4959d7,_0x433bc4[_0x5baaad(0x226)]=_0x42b429;}function _0x5d20bb(_0x112615,_0x368535){const _0x3a35f4=_0x32b11e,{tableFieldId:_0x1e55ea,sourceName:_0xb2c8af,dataFieldId:_0x454b82}=_0x368535,_0x5834b2=_0x2a21ae(_0x112615,_0x1e55ea);_0x5834b2&&(_0x5834b2[_0x3a35f4(0x1c0)]=_0xb2c8af,_0x5834b2[_0x3a35f4(0x444)]=_0x454b82);}function _0x234487(_0x1e0c73,_0x4907ae){const {fieldId:_0xae5d2,sortInfo:_0x317dcb}=_0x4907ae,_0x2b6149=_0x2a21ae(_0x1e0c73,_0xae5d2);_0x2b6149&&(_0x2b6149['sortInfo']=_0x317dcb);}function _0x48a9c5(_0xfbe662,_0x11f1bd){const _0x1d4ebf=_0x32b11e,{options:_0x2f20a4}=_0x11f1bd;_0xfbe662[_0x1d4ebf(0x490)]={..._0xfbe662[_0x1d4ebf(0x490)],..._0x2f20a4};}const _0x2f9ae3={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':_0x32b11e(0x18f),'handler'(_0xc45642,_0x13d6ad){const _0x2be098=_0x32b11e;if(!_0x13d6ad)return!0x1;if(!!_0xc45642['get'](_0x4d7ec7[_0x2be098(0x2cb)])[_0x2be098(0x2c4)](_0x5755e4))return!0x0;const _0x17b446=_0xc45642[_0x2be098(0x492)](_0x3122be['SheetsPivotDataSourceModel']),{pivotTableId:_0xb5fbd9,fieldJson:_0x1c61fa,area:_0x9407d4,index:_0x1c46d9,unitId:_0x17530b,subUnitId:_0x317a92}=_0x13d6ad,_0x4ae7fa=_0x17b446[_0x2be098(0x37c)](_0xb5fbd9);if(!_0x4ae7fa)return!0x1;let _0x441609;_0x9407d4===_0x5eb847[_0x2be098(0x266)][_0x2be098(0x254)]?_0x441609=_0x5eb847[_0x2be098(0x330)](_0x1c61fa):_0x441609=_0x5eb847['createLabelField'](_0x1c61fa),_0x4ae7fa[_0x2be098(0x3bf)](_0x441609,_0x9407d4,_0x1c46d9);const _0x3d81a1=_0x17b446[_0x2be098(0x2bf)](_0x17530b,_0x317a92,_0xb5fbd9);_0x18cbda(_0x3d81a1,_0x13d6ad);const _0x3fb812=_0x17b446['getPivotTableConfig'](_0x17530b,_0x317a92,_0xb5fbd9);return _0x17b446[_0x2be098(0x2b0)]({'unitId':_0x17530b,'subUnitId':_0x317a92,'token':_0xb5fbd9,'type':_0x4e6aa2[_0x2be098(0x476)],'pivotConfig':_0x3fb812}),!0x0;}},_0x480425={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':_0x32b11e(0x32c),'handler'(_0x312370,_0x2c5c9b){const _0x20e5ea=_0x32b11e;if(!_0x2c5c9b)return!0x1;if(!!_0x312370['get'](_0x4d7ec7[_0x20e5ea(0x2cb)])[_0x20e5ea(0x2c4)](_0x5755e4))return!0x0;const _0x2e3782=_0x312370[_0x20e5ea(0x492)](_0x3122be['SheetsPivotDataSourceModel']),{pivotTableId:_0x2004d3,fieldId:_0x435a88,unitId:_0x1dd740,subUnitId:_0x3657c1}=_0x2c5c9b,_0x30dd87=_0x2e3782['getPivotTableInstance'](_0x2004d3);if(!_0x30dd87)return!0x1;_0x30dd87[_0x20e5ea(0x3ff)](_0x435a88);const _0x474c56=_0x2e3782[_0x20e5ea(0x2bf)](_0x1dd740,_0x3657c1,_0x2004d3);_0xd996b(_0x474c56,_0x2c5c9b);const _0x45055b=_0x2e3782[_0x20e5ea(0x3f0)](_0x1dd740,_0x3657c1,_0x2004d3);return _0x2e3782[_0x20e5ea(0x2b0)]({'unitId':_0x1dd740,'subUnitId':_0x3657c1,'token':_0x2004d3,'type':_0x4e6aa2[_0x20e5ea(0x476)],'pivotConfig':_0x45055b}),!0x0;}},_0x29b105={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':'sheet.mutation.rename-pivot-field','handler'(_0xd86037,_0x29242a){const _0xb1471=_0x32b11e;if(!_0x29242a)return!0x1;if(!!_0xd86037[_0xb1471(0x492)](_0x4d7ec7[_0xb1471(0x2cb)])[_0xb1471(0x2c4)](_0x5755e4))return!0x0;const _0x15dcfc=_0xd86037[_0xb1471(0x492)](_0x3122be[_0xb1471(0x215)]),{unitId:_0x182910,subUnitId:_0x3fbe90,pivotTableId:_0x2467c0,fieldId:_0x51a8ef,name:_0x4ee265}=_0x29242a,_0x42bc8c=_0x15dcfc[_0xb1471(0x37c)](_0x2467c0);if(!_0x42bc8c)return!0x1;_0x42bc8c[_0xb1471(0x1c9)](_0x51a8ef,_0x4ee265);const _0xe7c557=_0x15dcfc[_0xb1471(0x2bf)](_0x182910,_0x3fbe90,_0x2467c0);return _0x185720(_0xe7c557,_0x29242a),_0x15dcfc[_0xb1471(0x2b0)]({'unitId':_0x182910,'subUnitId':_0x3fbe90,'token':_0x2467c0,'type':_0x4e6aa2[_0xb1471(0x476)]}),!0x0;}},_0x59be26={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x59513a,_0x28a7c5){const _0x2d341f=_0x32b11e;if(!_0x28a7c5)return!0x1;if(!!_0x59513a[_0x2d341f(0x492)](_0x4d7ec7[_0x2d341f(0x2cb)])[_0x2d341f(0x2c4)](_0x5755e4))return!0x0;const _0x322909=_0x59513a[_0x2d341f(0x492)](_0x3122be[_0x2d341f(0x215)]),{unitId:_0x5dd3c5,subUnitId:_0x2b5979,pivotTableId:_0x365503,fieldId:_0x3e2561,collapse:_0x52c6b7,item:_0x1a73a4}=_0x28a7c5,_0x3aa896=_0x322909[_0x2d341f(0x37c)](_0x365503);if(!_0x3aa896)return!0x1;_0x3aa896['setCollapse'](_0x3e2561,_0x52c6b7,_0x1a73a4);const _0x32bf2b=_0x322909[_0x2d341f(0x2bf)](_0x5dd3c5,_0x2b5979,_0x365503);return _0x3618e8(_0x32bf2b,_0x28a7c5),_0x322909[_0x2d341f(0x2b0)]({'unitId':_0x5dd3c5,'subUnitId':_0x2b5979,'token':_0x365503,'type':_0x4e6aa2[_0x2d341f(0x476)]}),!0x0;}},_0x193a55={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':_0x32b11e(0x462),'handler'(_0x1d8351,_0x2acbc2){const _0x23dfd8=_0x32b11e;if(!_0x2acbc2)return!0x1;if(!!_0x1d8351['get'](_0x4d7ec7[_0x23dfd8(0x2cb)])[_0x23dfd8(0x2c4)](_0x5755e4))return!0x0;const _0x1d9ee7=_0x1d8351['get'](_0x3122be['SheetsPivotDataSourceModel']),{unitId:_0x40e119,subUnitId:_0x1dcb9f,pivotTableId:_0x319271,fieldId:_0x50a837,format:_0x332be8}=_0x2acbc2,_0x420718=_0x1d9ee7[_0x23dfd8(0x37c)](_0x319271);if(!_0x420718)return!0x1;_0x420718[_0x23dfd8(0x264)](_0x50a837,_0x332be8);const _0x53d9a9=_0x1d9ee7[_0x23dfd8(0x2bf)](_0x40e119,_0x1dcb9f,_0x319271);return _0x11b9e2(_0x53d9a9,_0x2acbc2),_0x1d9ee7[_0x23dfd8(0x2b0)]({'unitId':_0x40e119,'subUnitId':_0x1dcb9f,'token':_0x319271,'type':_0x4e6aa2[_0x23dfd8(0x476)]}),!0x0;}},_0x12ca45={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':_0x32b11e(0x345),'handler'(_0x183999,_0x486c01){const _0x3cf4bd=_0x32b11e;if(!_0x486c01)return!0x1;if(!!_0x183999['get'](_0x4d7ec7['IConfigService'])[_0x3cf4bd(0x2c4)](_0x5755e4))return!0x0;const _0x4f9122=_0x183999[_0x3cf4bd(0x492)](_0x3122be[_0x3cf4bd(0x215)]),{unitId:_0xfd2aba,subUnitId:_0xbfeaf9,pivotTableId:_0x3081d3,fieldId:_0x585d53,filterInfo:_0x2f170c}=_0x486c01,_0x1a120b=_0x4f9122['getPivotTableInstance'](_0x3081d3);if(!_0x1a120b)return!0x1;_0x1a120b[_0x3cf4bd(0x3a8)](_0x585d53,_0x2f170c);const _0x18f14e=_0x4f9122['getPivotTableModelConfig'](_0xfd2aba,_0xbfeaf9,_0x3081d3);return _0x11f2a0(_0x18f14e,_0x486c01),_0x4f9122['addDirtyPivotTable']({'unitId':_0xfd2aba,'subUnitId':_0xbfeaf9,'token':_0x3081d3,'type':_0x4e6aa2['Set']}),!0x0;}},_0x3ba7e7={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':_0x32b11e(0x2d4),'handler'(_0x314502,_0x51bb87){const _0x1f06e9=_0x32b11e;if(!_0x51bb87)return!0x1;if(!!_0x314502[_0x1f06e9(0x492)](_0x4d7ec7['IConfigService'])[_0x1f06e9(0x2c4)](_0x5755e4))return!0x0;const _0x25b5fb=_0x314502['get'](_0x3122be[_0x1f06e9(0x215)]),{unitId:_0x302f87,subUnitId:_0x2b6ef7,pivotTableId:_0x34b223,options:_0x5764d5}=_0x51bb87,_0x2f49df=_0x25b5fb[_0x1f06e9(0x37c)](_0x34b223);if(!_0x2f49df)return!0x1;_0x2f49df[_0x1f06e9(0x460)](_0x5764d5);const _0x4802b1=_0x25b5fb[_0x1f06e9(0x2bf)](_0x302f87,_0x2b6ef7,_0x34b223);return _0x48a9c5(_0x4802b1,_0x51bb87),_0x25b5fb[_0x1f06e9(0x2b0)]({'unitId':_0x302f87,'subUnitId':_0x2b6ef7,'token':_0x34b223,'type':_0x4e6aa2[_0x1f06e9(0x476)]}),!0x0;}},_0x4eb43f={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'id':_0x32b11e(0x3fb),'handler'(_0x4872ea,_0x35cece){const _0x250ece=_0x32b11e;if(!_0x35cece)return!0x1;if(!!_0x4872ea[_0x250ece(0x492)](_0x4d7ec7['IConfigService'])[_0x250ece(0x2c4)](_0x5755e4))return!0x0;const _0x544be9=_0x4872ea[_0x250ece(0x492)](_0x3122be[_0x250ece(0x215)]),{unitId:_0x29a870,subUnitId:_0x3b42e4,pivotTableId:_0x1c19ed,sortInfo:_0x3372e3,fieldId:_0x192553}=_0x35cece,_0x2b674e=_0x544be9[_0x250ece(0x37c)](_0x1c19ed);if(!_0x2b674e)return!0x1;_0x2b674e[_0x250ece(0x28f)](_0x192553,_0x3372e3);const _0x41db37=_0x544be9[_0x250ece(0x2bf)](_0x29a870,_0x3b42e4,_0x1c19ed);return _0x234487(_0x41db37,_0x35cece),_0x544be9[_0x250ece(0x2b0)]({'unitId':_0x29a870,'subUnitId':_0x3b42e4,'token':_0x1c19ed,'type':_0x4e6aa2[_0x250ece(0x476)]}),!0x0;}},_0x2dd658={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x39a416,_0x29975d){const _0x2009a6=_0x32b11e;if(!_0x29975d)return!0x1;if(!!_0x39a416[_0x2009a6(0x492)](_0x4d7ec7[_0x2009a6(0x2cb)])[_0x2009a6(0x2c4)](_0x5755e4))return!0x0;const _0x57a45d=_0x39a416[_0x2009a6(0x492)](_0x3122be['SheetsPivotDataSourceModel']),{unitId:_0xc19947,subUnitId:_0x4cd8d6,pivotTableId:_0xf9f34b,fieldId:_0x50e50e,subtotalType:_0x9fd6b1}=_0x29975d,_0x152bfc=_0x57a45d[_0x2009a6(0x37c)](_0xf9f34b);if(!_0x152bfc)return!0x1;_0x152bfc[_0x2009a6(0x292)](_0x50e50e,_0x9fd6b1);const _0xf0306f=_0x57a45d[_0x2009a6(0x2bf)](_0xc19947,_0x4cd8d6,_0xf9f34b);return _0x23cecd(_0xf0306f,_0x29975d),_0x57a45d[_0x2009a6(0x2b0)]({'unitId':_0xc19947,'subUnitId':_0x4cd8d6,'token':_0xf9f34b,'type':_0x4e6aa2[_0x2009a6(0x476)]}),!0x0;}},_0x291740={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'id':_0x32b11e(0x335),'handler'(_0x5a0d83,_0x34d89c){const _0x1d8e54=_0x32b11e;if(!_0x34d89c)return!0x1;if(!!_0x5a0d83[_0x1d8e54(0x492)](_0x4d7ec7[_0x1d8e54(0x2cb)])['getConfig'](_0x5755e4))return!0x0;const _0x3e4628=_0x5a0d83[_0x1d8e54(0x492)](_0x3122be[_0x1d8e54(0x215)]),{unitId:_0x1e7247,subUnitId:_0x17c991,pivotTableId:_0x127b7f,fieldId:_0x5d4998,filterInfo:_0x11d5e1}=_0x34d89c,_0x2e6a4f=_0x3e4628[_0x1d8e54(0x37c)](_0x127b7f);if(!_0x2e6a4f)return!0x1;_0x2e6a4f[_0x1d8e54(0x2dd)](_0x5d4998,_0x11d5e1);const _0x418a0e=_0x3e4628[_0x1d8e54(0x2bf)](_0x1e7247,_0x17c991,_0x127b7f);return _0x3d95d2(_0x418a0e,_0x34d89c),_0x3e4628[_0x1d8e54(0x2b0)]({'unitId':_0x1e7247,'subUnitId':_0x17c991,'token':_0x127b7f,'type':_0x4e6aa2[_0x1d8e54(0x476)]}),!0x0;}},_0x5179e7={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':_0x32b11e(0x1b8),'handler'(_0x36b4e6,_0x2a5a3e){const _0x4d23bf=_0x32b11e;if(!_0x2a5a3e)return!0x1;if(!!_0x36b4e6[_0x4d23bf(0x492)](_0x4d7ec7[_0x4d23bf(0x2cb)])[_0x4d23bf(0x2c4)](_0x5755e4))return!0x0;const _0x58ea12=_0x36b4e6[_0x4d23bf(0x492)](_0x3122be['SheetsPivotDataSourceModel']),{unitId:_0x382183,subUnitId:_0xcf0b12,pivotTableId:_0x544de7,area:_0x3cc3bc,index:_0x3c4222,fieldId:_0x3921ac}=_0x2a5a3e,_0x1623ee=_0x58ea12[_0x4d23bf(0x37c)](_0x544de7);if(!_0x1623ee)return!0x1;_0x1623ee[_0x4d23bf(0x2fa)](_0x3921ac,_0x3cc3bc,_0x3c4222);const _0x23dd75=_0x58ea12['getPivotTableModelConfig'](_0x382183,_0xcf0b12,_0x544de7);return _0x5c08b7(_0x23dd75,_0x2a5a3e),_0x58ea12[_0x4d23bf(0x2b0)]({'unitId':_0x382183,'subUnitId':_0xcf0b12,'token':_0x544de7,'type':_0x4e6aa2[_0x4d23bf(0x476)]}),!0x0;}},_0x3c383e={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x1850b5,_0x43a1ae){const _0x34cc00=_0x32b11e;if(!_0x43a1ae)return!0x1;if(!!_0x1850b5[_0x34cc00(0x492)](_0x4d7ec7[_0x34cc00(0x2cb)])[_0x34cc00(0x2c4)](_0x5755e4))return!0x0;const _0x20e8c1=_0x1850b5[_0x34cc00(0x492)](_0x3122be['SheetsPivotDataSourceModel']),{unitId:_0xec6b16,subUnitId:_0xa281ea,pivotTableId:_0x1b6f35,sourceName:_0x4df766,dataFieldId:_0x57cbb1,tableFieldId:_0x138f7f}=_0x43a1ae,_0x45c6fa=_0x20e8c1[_0x34cc00(0x37c)](_0x1b6f35);if(!_0x45c6fa)return!0x1;_0x45c6fa['updateFieldSourceInfo'](_0x138f7f,_0x4df766,_0x57cbb1);const _0x352ecf=_0x20e8c1[_0x34cc00(0x2bf)](_0xec6b16,_0xa281ea,_0x1b6f35);return _0x5d20bb(_0x352ecf,_0x43a1ae),_0x20e8c1[_0x34cc00(0x2b0)]({'unitId':_0xec6b16,'subUnitId':_0xa281ea,'token':_0x1b6f35,'type':_0x4e6aa2[_0x34cc00(0x476)]}),!0x0;}},_0x145f03={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x130de7,_0x5c30bd){const _0x4e76ae=_0x32b11e;if(!_0x5c30bd)return!0x1;if(!!_0x130de7[_0x4e76ae(0x492)](_0x4d7ec7[_0x4e76ae(0x2cb)])[_0x4e76ae(0x2c4)](_0x5755e4))return!0x0;const _0x57bed6=_0x130de7[_0x4e76ae(0x492)](_0x3122be['SheetsPivotDataSourceModel']),{unitId:_0x2e188b,subUnitId:_0x4dde3c,pivotTableId:_0x4f228e,valuePosition:_0x2b65c1,index:_0x4de079}=_0x5c30bd,_0x104d25=_0x57bed6['getPivotTableInstance'](_0x4f228e);if(!_0x104d25)return!0x1;_0x104d25[_0x4e76ae(0x3c6)](_0x2b65c1,_0x4de079);const _0x249c8e=_0x57bed6[_0x4e76ae(0x2bf)](_0x2e188b,_0x4dde3c,_0x4f228e);return _0x23a6b9(_0x249c8e,_0x5c30bd),_0x57bed6[_0x4e76ae(0x2b0)]({'unitId':_0x2e188b,'subUnitId':_0x4dde3c,'token':_0x4f228e,'type':_0x4e6aa2[_0x4e76ae(0x476)]}),!0x0;}};function _0x2ced52(_0x3eee1d,_0x1d8cdb,_0x52dd80){const _0x210024=_0x32b11e,{pivotTableId:_0xb01816,unitId:_0x24f1f5,subUnitId:_0x3c8f99}=_0x1d8cdb,_0x1e250c=[],_0x4a7dc8=[];for(const _0x497e97 of _0x52dd80)switch(_0x497e97[_0x210024(0x288)]){case _0x5eb847['PivotTableChangeTypeEnum'][_0x210024(0x4b1)]:{const {fieldJson:_0x58e31e,area:_0x3eabc7,index:_0x46dea9}=_0x497e97,_0x309c98={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldJson':_0x58e31e,'area':_0x3eabc7,'index':_0x46dea9},_0x394923={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x58e31e['id'],'area':_0x3eabc7,'index':_0x46dea9};_0x1e250c[_0x210024(0x344)]({'id':_0x2f9ae3['id'],'params':_0x309c98}),_0x4a7dc8[_0x210024(0x23c)]({'id':_0x480425['id'],'params':_0x394923});}break;case _0x5eb847['PivotTableChangeTypeEnum'][_0x210024(0x42b)]:{const {fieldId:_0x1b7b25,newSubtotalType:_0x344e4c,oldSubtotalType:_0xdff72}=_0x497e97,_0x3c39c9={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x1b7b25,'subtotalType':_0x344e4c};_0x1e250c[_0x210024(0x344)]({'id':_0x2dd658['id'],'params':_0x3c39c9});const _0x3fe106={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x1b7b25,'subtotalType':_0xdff72};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x2dd658['id'],'params':_0x3fe106});}break;case _0x5eb847['PivotTableChangeTypeEnum'][_0x210024(0x1e5)]:{const {fieldId:_0x735706,fieldJson:_0x2ac3cc,area:_0x54aef2,index:_0x210a27}=_0x497e97,_0x1c3964={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x735706,'index':_0x210a27,'area':_0x54aef2};_0x1e250c[_0x210024(0x344)]({'id':_0x480425['id'],'params':_0x1c3964});const _0x5b0d2e={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldJson':_0x2ac3cc,'area':_0x54aef2,'index':_0x210a27};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x2f9ae3['id'],'params':_0x5b0d2e});}break;case _0x5eb847[_0x210024(0x316)]['RenameField']:{const {fieldId:_0x258cb4,oldName:_0x3b5afd,newName:_0x5ced84}=_0x497e97,_0x4cd818={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x258cb4,'name':_0x5ced84};_0x1e250c[_0x210024(0x344)]({'id':_0x29b105['id'],'params':_0x4cd818});const _0x38ac0f={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x258cb4,'name':_0x3b5afd};_0x4a7dc8['unshift']({'id':_0x29b105['id'],'params':_0x38ac0f});}break;case _0x5eb847[_0x210024(0x316)]['SetFilterInfo']:{const {fieldId:_0x47fd97,oldFilterInfo:_0x2fc519,newFilterInfo:_0x19a32c}=_0x497e97,_0x484996={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x47fd97,'filterInfo':_0x19a32c};_0x1e250c[_0x210024(0x344)]({'id':_0x12ca45['id'],'params':_0x484996});const _0x282aa4={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x47fd97,'filterInfo':_0x2fc519};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x12ca45['id'],'params':_0x282aa4});}break;case _0x5eb847['PivotTableChangeTypeEnum'][_0x210024(0x422)]:{const {fieldId:_0x371c45,oldSortInfo:_0x18621d,newSortInfo:_0x4fb196}=_0x497e97,_0x40e71c={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x371c45,'sortInfo':_0x4fb196};_0x1e250c[_0x210024(0x344)]({'id':_0x4eb43f['id'],'params':_0x40e71c});const _0x344f53={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x371c45,'sortInfo':_0x18621d};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x4eb43f['id'],'params':_0x344f53});}break;case _0x5eb847[_0x210024(0x316)][_0x210024(0x47e)]:{const {oldOptions:_0x3b051b,newOptions:_0x54d6b7}=_0x497e97,_0x47aaa9={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'options':_0x54d6b7};_0x1e250c[_0x210024(0x344)]({'id':_0x3ba7e7['id'],'params':_0x47aaa9});const _0x4e7173={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'options':_0x3b051b};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x3ba7e7['id'],'params':_0x4e7173});}break;case _0x5eb847['PivotTableChangeTypeEnum'][_0x210024(0x48c)]:{const {oldArea:_0x5412f6,newArea:_0x117d05,oldIndex:_0x16159b,newIndex:_0x46e4f6,fieldId:_0x1e0d59}=_0x497e97,_0x2187cc={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x1e0d59,'area':_0x117d05,'index':_0x46e4f6,'oldArea':_0x5412f6,'oldIndex':_0x16159b};_0x1e250c[_0x210024(0x344)]({'id':_0x5179e7['id'],'params':_0x2187cc});const _0x35dcd5={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x1e0d59,'area':_0x5412f6,'index':_0x16159b,'oldArea':_0x117d05,'oldIndex':_0x46e4f6};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x5179e7['id'],'params':_0x35dcd5});}break;case _0x5eb847[_0x210024(0x316)][_0x210024(0x44e)]:{const {oldValuePosition:_0xd8c52c,newValuePosition:_0x3f8ab0,oldIndex:_0x3738d9,newIndex:_0x4c79f6}=_0x497e97,_0x19b7d1={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'valuePosition':_0x3f8ab0,'index':_0x4c79f6};_0x1e250c[_0x210024(0x344)]({'id':_0x145f03['id'],'params':_0x19b7d1});const _0x224b34={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'valuePosition':_0xd8c52c,'index':_0x3738d9};_0x4a7dc8['unshift']({'id':_0x145f03['id'],'params':_0x224b34});}break;case _0x5eb847['PivotTableChangeTypeEnum'][_0x210024(0x2e3)]:{const {fieldId:_0x3bca6d,collapse:_0x2409c1,item:_0x466773}=_0x497e97,_0x24d12b={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x3bca6d,'collapse':_0x2409c1,'item':_0x466773};_0x1e250c['push']({'id':_0x59be26['id'],'params':_0x24d12b});const _0x4cf02a={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x3bca6d,'collapse':!_0x2409c1,'item':_0x466773};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x59be26['id'],'params':_0x4cf02a});}break;case _0x5eb847[_0x210024(0x316)][_0x210024(0x36d)]:{const {newFormat:_0x3800cf,oldFormat:_0x1b73c4,fieldId:_0x57d680}=_0x497e97,_0x1922a7={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x57d680,'format':_0x3800cf};_0x1e250c[_0x210024(0x344)]({'id':_0x193a55['id'],'params':_0x1922a7});const _0x394c37={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x57d680,'format':_0x1b73c4};_0x4a7dc8[_0x210024(0x23c)]({'id':_0x193a55['id'],'params':_0x394c37});}break;case _0x5eb847[_0x210024(0x316)]['UpdateSource']:{const {tableFieldId:_0x277d35,oldSourceName:_0x438199,newSourceName:_0x37765e,oldDataFieldId:_0x2bacf3,newDataFieldId:_0x3af4b0}=_0x497e97,_0x191875={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'tableFieldId':_0x277d35,'sourceName':_0x37765e,'dataFieldId':_0x3af4b0};_0x1e250c[_0x210024(0x344)]({'id':_0x3c383e['id'],'params':_0x191875});const _0x41de6d={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'tableFieldId':_0x277d35,'sourceName':_0x438199,'dataFieldId':_0x2bacf3};_0x4a7dc8['unshift']({'id':_0x3c383e['id'],'params':_0x41de6d});}break;case _0x5eb847[_0x210024(0x316)][_0x210024(0x463)]:{const {fieldId:_0x5a3591,filterInfo:_0x4f1d49,oldFilterInfo:_0x1705e2}=_0x497e97,_0x4a9e50={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x5a3591,'filterInfo':_0x4f1d49};_0x1e250c[_0x210024(0x344)]({'id':_0x291740['id'],'params':_0x4a9e50});const _0x1bd27e={'unitId':_0x24f1f5,'subUnitId':_0x3c8f99,'pivotTableId':_0xb01816,'fieldId':_0x5a3591,'filterInfo':_0x1705e2};_0x4a7dc8['unshift']({'id':_0x291740['id'],'params':_0x1bd27e});}}return{'redos':_0x1e250c,'undos':_0x4a7dc8};}function _0x3a4eb1(_0x387739,_0x4547c1){const _0xf3c26a=_0x32b11e;var _0x3f43c8;const _0x694e4a=_0x387739[_0xf3c26a(0x492)](_0x3122be['SheetsPivotTableService']),{cellInfo:_0x37f607,view:_0x43f4b8,isEmpty:_0xb33fb0}=_0x4547c1;return(_0x3f43c8=_0x694e4a[_0xf3c26a(0x1f8)]['fetchThroughInterceptors'](_0x588616)(_0x2462ec,{'cellInfo':_0x37f607,'view':_0x43f4b8,'isEmpty':_0xb33fb0}))!=null?_0x3f43c8:_0x2462ec;}const _0xeb040a={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x2f6)],'id':_0x32b11e(0x3af),async 'handler'(_0x416b83,_0x1262cf){const _0x1a66a4=_0x32b11e;if(!_0x1262cf)return!0x1;const _0x3f572c=_0x416b83[_0x1a66a4(0x492)](_0x4d7ec7[_0x1a66a4(0x46b)]),_0x16b900=_0x416b83['get'](_0x3122be[_0x1a66a4(0x308)]),_0x2635a7=_0x416b83['get'](_0x4d7ec7['IUndoRedoService']),{pivotTableId:_0xd418e,dataFieldId:_0x32563c,fieldArea:_0x5f6d72,index:_0x423970,unitId:_0x228ee6,subUnitId:_0x130809}=_0x1262cf,_0x2b0740=(await _0x16b900[_0x1a66a4(0x1b2)]({'unitId':_0x228ee6,'subUnitId':_0x130809,'pivotTableId':_0xd418e,'params':{'type':_0x19355e['AddPivotField'],'addPivotField':{'dataFieldId':_0x32563c,'fieldArea':_0x5f6d72,'index':_0x423970}}}))['result'][_0x1a66a4(0x2e6)];if(!_0x2b0740)return!0x1;const {view:_0xb452b,changesets:_0x158855,isEmpty:_0x581e4f,pivotTableConfig:_0x1ce237,shouldBeAddedGroupJSON:_0x502ffd}=_0x2b0740,_0x1e4659=_0x1ce237[_0x1a66a4(0x3ae)],_0x50c0b0=new _0x5eb847[(_0x1a66a4(0x290))]();_0x50c0b0[_0x1a66a4(0x1b1)](_0xb452b);const _0x18aead={'cellInfo':_0x1e4659,'view':_0x50c0b0,'isEmpty':_0x581e4f};if(!await _0x416b83[_0x1a66a4(0x492)](_0x3122be[_0x1a66a4(0x25f)])[_0x1a66a4(0x3cb)][_0x1a66a4(0x348)](_0x39ea12)(!0x0,_0x18aead))return!0x1;const _0x41849e=_0x142fd8(_0x416b83,_0x50c0b0,_0x1e4659,_0x581e4f),_0x32f686=_0x3a4eb1(_0x416b83,_0x18aead),{undos:_0x18eb1a,redos:_0x1d032e}=_0x2ced52(_0x3f572c,{'pivotTableId':_0xd418e,'unitId':_0x228ee6,'subUnitId':_0x130809},_0x158855);return _0x502ffd&&(_0x1d032e[_0x1a66a4(0x23c)]({'id':_0x42ff40['id'],'params':{'pivotTableId':_0xd418e,'fieldJSON':_0x502ffd,'unitId':_0x228ee6,'subUnitId':_0x130809}}),_0x18eb1a[_0x1a66a4(0x344)]({'id':_0x516d05['id'],'params':{'pivotTableId':_0xd418e,'dataFieldId':_0x502ffd['id'],'unitId':_0x228ee6,'subUnitId':_0x130809}})),_0x4d7ec7[_0x1a66a4(0x3d4)]([..._0x41849e['redos'],..._0x32f686['redos'],..._0x1d032e],_0x3f572c),_0x2635a7[_0x1a66a4(0x31e)]({'unitID':_0x228ee6,'redoMutations':[..._0x41849e[_0x1a66a4(0x1dc)],..._0x32f686[_0x1a66a4(0x1dc)],..._0x1d032e],'undoMutations':[..._0x41849e[_0x1a66a4(0x1ff)],..._0x32f686[_0x1a66a4(0x1ff)],..._0x18eb1a]}),!0x0;}},_0x21387f=()=>typeof process<'u'&&process[_0x32b11e(0x3d5)]!=null&&process[_0x32b11e(0x3d5)]['node']!=null,_0x27fd1c={'type':_0x4d7ec7[_0x32b11e(0x409)]['MUTATION'],'id':_0x32b11e(0x2d9),'handler'(_0x14bc37,_0x51e236){const _0x5922ba=_0x32b11e;var _0x44a477;if(!_0x51e236)return!0x1;const _0x2fc6ed=_0x14bc37[_0x5922ba(0x492)](_0x4d7ec7[_0x5922ba(0x2cb)]);if(!!_0x2fc6ed[_0x5922ba(0x2c4)](_0x5755e4))return!0x0;const _0x3155f6=_0x14bc37[_0x5922ba(0x492)](_0x4d7ec7[_0x5922ba(0x1c4)]),_0x519d4c=_0x14bc37['get'](_0x3122be['SheetsPivotDataSourceModel']),{pivotTableId:_0x193e99,pivotTableConfig:_0x4a837e,collectionConfig:_0x9dc756,unitId:_0x1758da,subUnitId:_0x347301}=_0x51e236,{sourceRangeInfo:_0x5b2d87,fieldsConfig:_0x5e90ff,targetCellInfo:_0x42bbed}=_0x4a837e,_0x59cff7=_0x3155f6['getUnit'](_0x1758da);if(!_0x59cff7||!_0x59cff7[_0x5922ba(0x33a)](_0x347301))return!0x1;if(!_0x21387f()){let _0x5494ee=0x0;_0x59cff7[_0x5922ba(0x424)]()[_0x5922ba(0x408)](_0x43cc1b=>{const _0x492a9c=_0x5922ba;var _0x5a6a7f,_0x214ede;_0x5494ee+=(_0x214ede=(_0x5a6a7f=_0x519d4c[_0x492a9c(0x263)](_0x1758da,_0x43cc1b[_0x492a9c(0x40a)]()))==null?void 0x0:_0x5a6a7f[_0x492a9c(0x4b6)])!=null?_0x214ede:0x0;});const _0x5e2bc0=(_0x44a477=_0x2fc6ed[_0x5922ba(0x2c4)](_0x2cd015[_0x5922ba(0x43c)]))!=null?_0x44a477:{},{ls:_0x5d3d46,pbk:_0x318f0b}=_0x5e2bc0;if(!_0x12ddf2(_0x5d3d46,_0x318f0b))throw new _0x4d7ec7[(_0x5922ba(0x28b))](_0x5922ba(0x1dd));const _0xc50dc0=_0x7dbf34(_0x128592,_0x5d3d46,_0x318f0b)[_0x5922ba(0x49d)];if(_0x5494ee>=_0xc50dc0)throw new _0x4d7ec7[(_0x5922ba(0x28b))]('limit\x20pivot');}if(!_0x9dc756||!_0x5e90ff)return!0x1;const {collection:_0x51503b,updateDataFieldList:_0x395ed8}=_0x519d4c['addCollectionByJSON'](_0x193e99,_0x9dc756,_0x5b2d87,_0x42bbed);_0x519d4c[_0x5922ba(0x1c8)](_0x51503b,_0x395ed8,_0x5b2d87);const _0x4c0ac2=new _0x5eb847[(_0x5922ba(0x3f5))](_0x51503b,void 0x0,_0x193e99);_0x4c0ac2[_0x5922ba(0x471)](_0x5e90ff);const _0x75f890=JSON[_0x5922ba(0x203)](JSON[_0x5922ba(0x375)](_0x4a837e));return _0x519d4c[_0x5922ba(0x18e)](_0x1758da,_0x347301,_0x193e99,_0x4c0ac2,_0x75f890),_0x519d4c[_0x5922ba(0x2b0)]({'unitId':_0x1758da,'subUnitId':_0x347301,'token':_0x193e99,'type':_0x4e6aa2[_0x5922ba(0x248)],'pivotConfig':_0x75f890}),!0x0;}},_0x10b873={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x2f6)],'id':_0x32b11e(0x385),async 'handler'(_0x2a74e2,_0x3e07d5){const _0x165899=_0x32b11e;if(!_0x3e07d5)return!0x1;const {sourceDataInfo:_0x300863,pivotTableConfig:_0x35edd3}=_0x3e07d5;if(!_0x300863||!_0x35edd3)return!0x1;const {unitId:_0x3aa120,subUnitId:_0x4fcbfd,range:_0x33e1a2}=_0x300863,_0xa2b98b=_0x2a74e2['get'](_0x4d7ec7[_0x165899(0x1c4)]),_0x3090a9=_0x2a74e2['get'](_0x3122be[_0x165899(0x308)]),_0x598cf2=_0x2a74e2[_0x165899(0x492)](_0x4d7ec7[_0x165899(0x406)]),_0x8e24d0=_0x2a74e2[_0x165899(0x492)](_0x4d7ec7[_0x165899(0x46b)]),_0x15f081=_0xa2b98b[_0x165899(0x27d)](_0x3aa120);if(!_0x15f081)return!0x1;const _0x46c59c=_0x15f081['getSheetBySheetId'](_0x4fcbfd);if(!_0x46c59c)return!0x1;const _0x21a95f=_0x5eb847[_0x165899(0x28e)](0x8),_0x48bb5d=_0x33e1a2||{'startRow':0x0,'startColumn':0x0,'endRow':_0x46c59c[_0x165899(0x336)]()-0x1,'endColumn':_0x46c59c[_0x165899(0x477)]()-0x1};_0x48bb5d[_0x165899(0x1d7)]=_0x4d7ec7[_0x165899(0x269)][_0x165899(0x47b)];const _0x908989=(await _0x3090a9['getPivotDisplayConfig']({'unitId':_0x3aa120,'subUnitId':_0x4fcbfd,'pivotTableId':_0x21a95f,'params':{'type':_0x19355e[_0x165899(0x23f)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x3aa120,'sheetName':_0x46c59c[_0x165899(0x440)](),'subUnitId':_0x4fcbfd,'range':_0x48bb5d},'pivotTableId':_0x21a95f,'pivotTableIndexConfig':_0x35edd3}}}))[_0x165899(0x1bb)]['addPivotTableWithConfig'];if(!_0x908989)return!0x1;const {isEmpty:_0x3c9747,fieldsConfig:_0x5f0de1,collectionConfig:_0x2026ee,changesets:_0x1765bd}=_0x908989,_0x35a53d=_0x15f081['getSheets']()['length'],_0x35b14d=_0x4d7ec7[_0x165899(0x389)]({'rowCount':_0x46c59c[_0x165899(0x336)]()-0x1,'columnCount':_0x46c59c[_0x165899(0x477)]()-0x1});_0x35b14d['id']=_0x4d7ec7['generateRandomId'](),_0x35b14d[_0x165899(0x202)]=_0x15f081[_0x165899(0x364)](''+_0x598cf2['t'](_0x165899(0x3a5)));const _0x31c0c8={'index':_0x35a53d,'sheet':_0x35b14d,'unitId':_0x3aa120},{redos:_0xfc08f1}=_0x2ced52(_0x8e24d0,{'pivotTableId':_0x21a95f,'unitId':_0x3aa120,'subUnitId':_0x35b14d['id']},_0x1765bd),_0x32b4e0=[{'id':_0x132be5[_0x165899(0x2a9)]['id'],'params':_0x31c0c8},{'id':_0x27fd1c['id'],'params':{'unitId':_0x3aa120,'subUnitId':_0x35b14d['id'],'pivotTableId':_0x21a95f,'pivotTableConfig':{'isEmpty':_0x3c9747,'fieldsConfig':_0x5f0de1,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x3aa120,'subUnitId':_0x35b14d['id']},'sourceRangeInfo':{'subUnitId':_0x4fcbfd,'unitId':_0x3aa120,'range':_0x48bb5d,'sheetName':_0x46c59c[_0x165899(0x440)]()}},'collectionConfig':_0x2026ee}},..._0xfc08f1];return _0x4d7ec7[_0x165899(0x3d4)](_0x32b4e0,_0x8e24d0),!0x0;}},_0x9e7315={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'id':_0x32b11e(0x499),'handler'(_0x580061,_0x2d3c3a){const _0x32f736=_0x32b11e;if(!_0x2d3c3a)return!0x1;if(!!_0x580061[_0x32f736(0x492)](_0x4d7ec7[_0x32f736(0x2cb)])[_0x32f736(0x2c4)](_0x5755e4))return!0x0;const {pivotTableId:_0x477f1e,unitId:_0x3a9663,subUnitId:_0x1c528d}=_0x2d3c3a,_0x490fc5=_0x580061[_0x32f736(0x492)](_0x3122be['SheetsPivotDataSourceModel']);return _0x490fc5[_0x32f736(0x3f0)](_0x3a9663,_0x1c528d,_0x477f1e)?(_0x490fc5[_0x32f736(0x2b0)]({'unitId':_0x3a9663,'subUnitId':_0x1c528d,'token':_0x477f1e,'type':_0x4e6aa2[_0x32f736(0x420)]}),_0x490fc5[_0x32f736(0x485)](_0x3a9663,_0x1c528d,_0x477f1e),!0x0):!0x1;}},_0x485f16={'type':_0x4d7ec7[_0x32b11e(0x409)]['COMMAND'],'id':_0x32b11e(0x1f4),async 'handler'(_0x411f73,_0x5bff37){const _0x4e65cd=_0x32b11e;var _0x21fdc0,_0x1c2a44;const _0x5d6e7d=_0x411f73[_0x4e65cd(0x492)](_0x4d7ec7[_0x4e65cd(0x46b)]),_0x58b4e5=_0x411f73[_0x4e65cd(0x492)](_0x4d7ec7[_0x4e65cd(0x1c4)]),_0x440176=_0x411f73[_0x4e65cd(0x492)](_0x4d7ec7['LocaleService']),_0xc7e6a7=_0x411f73['get'](_0x3122be['SheetsPivotRPCService']),_0x5ad622=_0x411f73[_0x4e65cd(0x492)](_0x4d7ec7[_0x4e65cd(0x2f7)]),_0x1548f6=_0x411f73[_0x4e65cd(0x492)](_0x3122be['SheetsPivotTableConfigModel']),_0x38a65b=_0x411f73[_0x4e65cd(0x492)](_0x4d7ec7[_0x4e65cd(0x2cb)]);if(!_0x5bff37)return!0x1;const {pivotTableConfig:_0x427bfd,positionType:_0x3a176c}=_0x5bff37,{targetCellInfo:_0x5824a7,sourceRangeInfo:_0x5b6a57}=_0x427bfd,{unitId:_0x34a5e4,subUnitId:_0x4d56a8}=_0x5824a7,_0x373bf3=_0x58b4e5['getUnit'](_0x34a5e4);if(!_0x373bf3)return!0x1;let _0x4d170f=0x0;_0x373bf3[_0x4e65cd(0x424)]()[_0x4e65cd(0x408)](_0x9159b=>{const _0x44606b=_0x4e65cd;var _0x1b635a,_0x42770d;_0x4d170f+=(_0x42770d=(_0x1b635a=_0x1548f6[_0x44606b(0x263)](_0x34a5e4,_0x9159b['getSheetId']()))==null?void 0x0:_0x1b635a['size'])!=null?_0x42770d:0x0;});const _0x4181fa=(_0x21fdc0=_0x38a65b['getConfig'](_0x2cd015[_0x4e65cd(0x43c)]))!=null?_0x21fdc0:{},{ls:_0x2f7e33,pbk:_0x3bad3f}=_0x4181fa;if(!_0x12ddf2(_0x2f7e33,_0x3bad3f))return!0x1;const _0x2a8d73=_0x7dbf34(_0x128592,_0x2f7e33,_0x3bad3f)[_0x4e65cd(0x49d)];if(_0x4d170f>=_0x2a8d73)return!0x1;const _0xf273c3=_0x5bff37[_0x4e65cd(0x421)]||_0x5eb847['generateHexNumber'](0x8),_0x2972e3=(await _0xc7e6a7[_0x4e65cd(0x1b2)]({'unitId':_0x34a5e4,'subUnitId':_0x4d56a8,'pivotTableId':_0xf273c3,'params':{'type':_0x19355e[_0x4e65cd(0x1ee)],'addPivotTable':{'sourceRangeInfo':_0x5b6a57,'pivotTableId':_0xf273c3}}}))['result'][_0x4e65cd(0x18e)];if(!_0x2972e3)return!0x1;const {view:_0x25d83b,isEmpty:_0x5ee03b,fieldsConfig:_0x47c2fd,collectionConfig:_0x3ecdf1}=_0x2972e3,_0x120ab1=[],_0x32a18d=[];if(_0x3a176c===_0x3a7711[_0x4e65cd(0x4ad)]){const _0x2e912d=_0x373bf3[_0x4e65cd(0x424)]()[_0x4e65cd(0x30f)],_0x41006e=_0x4d7ec7[_0x4e65cd(0x389)]({});_0x41006e['id']=_0x427bfd[_0x4e65cd(0x3ae)][_0x4e65cd(0x258)],_0x41006e['name']=(_0x1c2a44=_0x427bfd[_0x4e65cd(0x3ae)][_0x4e65cd(0x1ef)])!=null?_0x1c2a44:_0x373bf3[_0x4e65cd(0x364)](''+_0x440176['t'](_0x4e65cd(0x3a5)));const _0x6befcb={'index':_0x2e912d,'sheet':_0x41006e,'unitId':_0x34a5e4},_0x518939=_0x132be5['InsertSheetUndoMutationFactory'](_0x411f73,_0x6befcb);_0x120ab1['push']({'id':_0x132be5[_0x4e65cd(0x237)]['id'],'params':_0x518939}),_0x32a18d[_0x4e65cd(0x344)]({'id':_0x132be5[_0x4e65cd(0x1bf)]['id'],'params':_0x6befcb});}else{if(!_0x373bf3[_0x4e65cd(0x33a)](_0x4d56a8))return!0x1;const _0x247f88=_0x142fd8(_0x411f73,new _0x5eb847['PivotView'](),_0x5824a7,!0x0);_0x32a18d['push'](..._0x247f88[_0x4e65cd(0x1dc)]),_0x120ab1['push'](..._0x247f88[_0x4e65cd(0x1ff)]);const _0x379dd2={'cellInfo':_0x5824a7,'view':_0x25d83b,'isEmpty':_0x5ee03b};if(!await _0x411f73[_0x4e65cd(0x492)](_0x3122be[_0x4e65cd(0x25f)])[_0x4e65cd(0x3cb)][_0x4e65cd(0x348)](_0x39ea12)(!0x0,_0x379dd2))return!0x1;const _0x357577=_0x3a4eb1(_0x411f73,_0x379dd2);_0x32a18d[_0x4e65cd(0x344)](..._0x357577[_0x4e65cd(0x1dc)]),_0x120ab1[_0x4e65cd(0x344)](..._0x357577[_0x4e65cd(0x1ff)]);}return _0x32a18d[_0x4e65cd(0x344)]({'id':_0x27fd1c['id'],'params':{'unitId':_0x5824a7[_0x4e65cd(0x3e4)],'subUnitId':_0x5824a7['subUnitId'],'pivotTableId':_0xf273c3,'pivotTableConfig':{'targetCellInfo':_0x5824a7,'sourceRangeInfo':_0x5b6a57,'fieldsConfig':_0x47c2fd},'collectionConfig':_0x3ecdf1}}),_0x120ab1['unshift']({'id':_0x9e7315['id'],'params':{'unitId':_0x34a5e4,'subUnitId':_0x4d56a8,'pivotTableId':_0xf273c3}}),_0x4d7ec7[_0x4e65cd(0x3d4)](_0x32a18d,_0x5d6e7d)&&_0x5ad622['pushUndoRedo']({'unitID':_0x34a5e4,'undoMutations':_0x120ab1,'redoMutations':_0x32a18d}),!0x0;}},_0x4d2463={'type':_0x4d7ec7['CommandType']['COMMAND'],'id':_0x32b11e(0x2b8),async 'handler'(_0x3d32a6,_0x3fda7e){const _0x55c55c=_0x32b11e;if(!_0x3fda7e)return!0x1;const _0x51c504=_0x3d32a6[_0x55c55c(0x492)](_0x4d7ec7[_0x55c55c(0x46b)]),_0x346fa0=_0x3d32a6[_0x55c55c(0x492)](_0x3122be[_0x55c55c(0x308)]),_0x4dbe77=_0x3d32a6[_0x55c55c(0x492)](_0x4d7ec7['IUndoRedoService']),{pivotTableId:_0x57640f,fieldId:_0x55c300,area:_0x9400bc,index:_0x5c893a,unitId:_0x2a02a0,subUnitId:_0x3a76a0}=_0x3fda7e,_0x16d846=(await _0x346fa0[_0x55c55c(0x1b2)]({'unitId':_0x2a02a0,'subUnitId':_0x3a76a0,'pivotTableId':_0x57640f,'params':{'type':_0x19355e[_0x55c55c(0x1b6)],'movePivotField':{'fieldId':_0x55c300,'area':_0x9400bc,'index':_0x5c893a}}}))[_0x55c55c(0x1bb)][_0x55c55c(0x441)];if(!_0x16d846)return!0x1;const {changesets:_0x34c7a4,view:_0x2b62fe,isEmpty:_0x4e9111,pivotTableConfig:_0x3d7f75}=_0x16d846,_0x4eff13=_0x3d7f75[_0x55c55c(0x3ae)],_0x5d5aed=new _0x5eb847[(_0x55c55c(0x290))]();_0x5d5aed[_0x55c55c(0x1b1)](_0x2b62fe);const _0x3df840={'cellInfo':_0x4eff13,'view':_0x5d5aed,'isEmpty':_0x4e9111};if(!await _0x3d32a6[_0x55c55c(0x492)](_0x3122be['SheetsPivotTableService'])['asyncInterceptor'][_0x55c55c(0x348)](_0x39ea12)(!0x0,_0x3df840))return!0x1;const _0xb8884e=_0x142fd8(_0x3d32a6,_0x5d5aed,_0x4eff13,_0x4e9111),_0x46fc84=_0x3a4eb1(_0x3d32a6,_0x3df840),{redos:_0x9916a4,undos:_0xd496ee}=_0x2ced52(_0x51c504,{'pivotTableId':_0x57640f,'unitId':_0x2a02a0,'subUnitId':_0x3a76a0},_0x34c7a4);return _0x4d7ec7['sequenceExecute']([..._0xb8884e[_0x55c55c(0x1dc)],..._0x46fc84[_0x55c55c(0x1dc)],..._0x9916a4],_0x51c504),_0x4dbe77[_0x55c55c(0x31e)]({'unitID':_0x2a02a0,'redoMutations':[..._0xb8884e[_0x55c55c(0x1dc)],..._0x46fc84[_0x55c55c(0x1dc)],..._0x9916a4],'undoMutations':[..._0xb8884e[_0x55c55c(0x1ff)],..._0x46fc84['undos'],..._0xd496ee]}),!0x0;}},_0x466320={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'id':'sheet.mutation.set-pivot-position','handler'(_0x190ba2,_0x145d76){const _0x393cb6=_0x32b11e;if(!_0x145d76)return!0x1;if(!!_0x190ba2[_0x393cb6(0x492)](_0x4d7ec7[_0x393cb6(0x2cb)])[_0x393cb6(0x2c4)](_0x5755e4))return!0x0;const {pivotTableId:_0x178b15,targetCellPosition:_0x75b540,unitId:_0x52b73b,subUnitId:_0x1ea5e5}=_0x145d76,_0x3d4346=_0x190ba2['get'](_0x3122be[_0x393cb6(0x215)]);if(!_0x3d4346[_0x393cb6(0x37c)](_0x145d76[_0x393cb6(0x421)]))return!0x1;const _0x14fa61=_0x3d4346[_0x393cb6(0x283)](_0x178b15);if(!_0x14fa61)return!0x1;const _0x1cb2ff=_0x3d4346['getCollection'](_0x14fa61['unitId'],_0x145d76[_0x393cb6(0x421)]);if(!_0x1cb2ff)return!0x1;const _0x8dcffb=_0x3d4346[_0x393cb6(0x3f0)](_0x14fa61[_0x393cb6(0x3e4)],_0x14fa61[_0x393cb6(0x258)],_0x178b15);if(!_0x8dcffb)return!0x1;const _0x445c07=_0x4d7ec7[_0x393cb6(0x33f)][_0x393cb6(0x1a0)](_0x8dcffb);_0x445c07['targetCellInfo']={'unitId':_0x52b73b,'subUnitId':_0x1ea5e5,'row':_0x75b540['row'],'col':_0x75b540['col']};const _0x51ad69=_0x1cb2ff[_0x393cb6(0x376)]();if(_0x14fa61['subUnitId']===_0x1ea5e5&&_0x14fa61['unitId']===_0x52b73b)_0x3d4346[_0x393cb6(0x197)](_0x52b73b,_0x1ea5e5,_0x178b15,_0x445c07),_0x3d4346['addDirtyPivotTable']({'unitId':_0x52b73b,'subUnitId':_0x1ea5e5,'token':_0x178b15,'type':_0x4e6aa2[_0x393cb6(0x476)]});else{_0x3d4346[_0x393cb6(0x2b0)]({'unitId':_0x14fa61[_0x393cb6(0x3e4)],'subUnitId':_0x14fa61[_0x393cb6(0x258)],'token':_0x178b15,'type':_0x4e6aa2[_0x393cb6(0x420)]}),_0x3d4346[_0x393cb6(0x485)](_0x14fa61[_0x393cb6(0x3e4)],_0x14fa61[_0x393cb6(0x258)],_0x178b15);const _0x581777=_0x3d4346[_0x393cb6(0x247)](_0x178b15,_0x51ad69,_0x8dcffb[_0x393cb6(0x261)],_0x445c07[_0x393cb6(0x3ae)]),_0x1ad181=new _0x5eb847[(_0x393cb6(0x3f5))](_0x581777[_0x393cb6(0x259)],void 0x0,_0x178b15);_0x1ad181['fromJSON'](_0x445c07[_0x393cb6(0x2d5)]),_0x3d4346[_0x393cb6(0x18e)](_0x52b73b,_0x1ea5e5,_0x178b15,_0x1ad181,_0x445c07),_0x3d4346[_0x393cb6(0x2b0)]({'unitId':_0x52b73b,'subUnitId':_0x1ea5e5,'token':_0x178b15,'type':_0x4e6aa2[_0x393cb6(0x248)],'pivotConfig':_0x445c07});}return!0x0;}},_0x518f7c={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x2f6)],'id':_0x32b11e(0x2bd),'handler':(_0x4441e9,_0x571422)=>{const _0x30ab47=_0x32b11e,_0xfb935e=_0x4441e9[_0x30ab47(0x492)](_0x4d7ec7[_0x30ab47(0x46b)]),_0xdd29be=_0x4441e9[_0x30ab47(0x492)](_0x4d7ec7[_0x30ab47(0x2f7)]),_0x205d9c=_0x4441e9[_0x30ab47(0x492)](_0x3122be[_0x30ab47(0x3db)]),_0x8ec8=_0x4441e9['get'](_0x4d7ec7[_0x30ab47(0x1c4)]);if(!_0x571422)return!0x1;const _0x2589ff=_0x132be5[_0x30ab47(0x198)](_0x8ec8);if(!_0x2589ff)return!0x1;const {unitId:_0x417a44,subUnitId:_0x5db365,workbook:_0x225309}=_0x2589ff,_0xf4abb0=_0x205d9c[_0x30ab47(0x3f0)](_0x571422[_0x30ab47(0x1cf)][_0x30ab47(0x3e4)],_0x571422[_0x30ab47(0x1cf)][_0x30ab47(0x258)],_0x571422['pivotTableId']);if(!_0xf4abb0)return!0x1;const _0x426dae=_0x225309['getSheetBySheetId'](_0x571422[_0x30ab47(0x3ae)][_0x30ab47(0x258)]);if(!_0x426dae)throw new Error(_0x30ab47(0x1b3));const _0x3a4899=_0x426dae['getRowCount'](),_0x12ee61=_0x426dae['getColumnCount']();if(_0x571422[_0x30ab47(0x3ae)][_0x30ab47(0x3d2)]>_0x3a4899||_0x571422[_0x30ab47(0x3ae)][_0x30ab47(0x2f5)]>_0x12ee61)throw new Error(_0x30ab47(0x1f1));const _0x35d3b5=[{'id':_0x466320['id'],'params':{'unitId':_0x417a44,'subUnitId':_0x571422['targetCellInfo'][_0x30ab47(0x258)],'pivotTableId':_0x571422[_0x30ab47(0x421)],'targetCellPosition':{'row':_0x571422[_0x30ab47(0x3ae)]['row'],'col':_0x571422[_0x30ab47(0x3ae)][_0x30ab47(0x2f5)]}}}],_0x44bd3c=[{'id':_0x466320['id'],'params':{'unitId':_0x417a44,'subUnitId':_0x5db365,'pivotTableId':_0x571422[_0x30ab47(0x421)],'targetCellPosition':{'row':_0xf4abb0['targetCellInfo']['row'],'col':_0xf4abb0[_0x30ab47(0x3ae)][_0x30ab47(0x2f5)]}}}];return _0x4d7ec7[_0x30ab47(0x3d4)](_0x35d3b5,_0xfb935e)&&_0xdd29be['pushUndoRedo']({'unitID':_0x417a44,'undoMutations':_0x44bd3c,'redoMutations':_0x35d3b5}),!0x0;}},_0x18d5c9={'type':_0x4d7ec7[_0x32b11e(0x409)]['COMMAND'],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x4e43dd,_0x3309da){const _0x256ea9=_0x32b11e;var _0x451b1a;if(!_0x3309da)return!0x1;const _0x3d9c0d=_0x4e43dd[_0x256ea9(0x492)](_0x4d7ec7['IUniverInstanceService']),_0x40470d=_0x132be5[_0x256ea9(0x198)](_0x3d9c0d);if(!_0x40470d)return!0x1;const {unitId:_0x42aea5,subUnitId:_0x4a510c,workbook:_0x548d5a}=_0x40470d,{row:_0x21c188,col:_0x24a005}=_0x3309da,_0x1e23a5=_0x4e43dd['get'](_0x3122be['SheetsPivotTableAdaptorModel']),_0x14482c=_0x1e23a5['getPivotTableIdByCell'](_0x42aea5,_0x4a510c,_0x21c188,_0x24a005);if(!_0x14482c)return!0x1;const _0xf7bc04=(_0x451b1a=_0x1e23a5['getPivotItemRenderInfoCache'](_0x42aea5,_0x4a510c,_0x14482c))==null?void 0x0:_0x451b1a[_0x256ea9(0x49c)];if(!_0xf7bc04)return!0x1;const _0xfc666c=_0x4e43dd['get'](_0x3122be[_0x256ea9(0x3db)])[_0x256ea9(0x3f0)](_0x42aea5,_0x4a510c,_0x14482c);if(!_0xfc666c)return!0x1;const {rowInfo:_0x246b87,colInfo:_0x532083}=_0xf7bc04,_0x50aeeb=_0x246b87[_0x21c188][_0x256ea9(0x396)],_0x2fbd38=_0x532083[_0x24a005]['paths'],_0x1c7de9=_0x246b87[_0x21c188][_0x256ea9(0x2c7)],_0x158809=_0x532083[_0x24a005][_0x256ea9(0x2c7)],_0x3d6cd4=_0x50aeeb[_0x256ea9(0x46a)](_0x2fbd38),_0x9593b0=_0xfc666c[_0x256ea9(0x2d5)][_0x256ea9(0x3bc)][_0x256ea9(0x49e)](0x0,_0x1c7de9),_0x167dcd=_0xfc666c[_0x256ea9(0x2d5)][_0x256ea9(0x2e8)][_0x256ea9(0x49e)](0x0,_0x158809),_0x4ed064=_0x9593b0[_0x256ea9(0x46a)](_0x167dcd),_0x55ec4d=_0x3d6cd4[_0x256ea9(0x338)]((_0xe61524,_0x590b22)=>[_0xe61524,_0x4ed064[_0x590b22]]),_0x5c116e=(await _0x4e43dd['get'](_0x3122be[_0x256ea9(0x308)])[_0x256ea9(0x1b2)]({'unitId':_0x42aea5,'subUnitId':_0x4a510c,'pivotTableId':_0x14482c,'params':{'type':_0x19355e[_0x256ea9(0x305)],'drillDown':{'tuple':_0x55ec4d}}}))[_0x256ea9(0x1bb)]['drillDown'];if(!_0x5c116e)return!0x1;const {indexes:_0x2141bb,range:_0x121fcf,sourceUnitId:_0x46f071,sourceSubUnitId:_0x59f903,formatMap:_0x2221fc}=_0x5c116e,{startRow:_0x13a1b1,endRow:_0x2fb814,startColumn:_0x1fbe03,endColumn:_0x4a30f1}=_0x121fcf,_0x4b8998=new _0x4d7ec7[(_0x256ea9(0x2f4))](),_0x2a9a52=_0x2fb814-_0x13a1b1,_0x1fb7c3=_0x4a30f1-_0x1fbe03,_0xcf318={},_0x2b5c7d=_0x132be5[_0x256ea9(0x198)](_0x3d9c0d,{'unitId':_0x46f071,'subUnitId':_0x59f903});if(!_0x2b5c7d)return!0x1;const _0x33747f=_0x3d8532[_0x256ea9(0x36c)],_0x14aa53=_0x3d8532['subTotalStyle'],_0x469679=_0x3d8532[_0x256ea9(0x38f)],_0x6f2732=_0x548d5a['getStyles']()[_0x256ea9(0x4a2)](_0x33747f),_0x252cd0=_0x548d5a[_0x256ea9(0x38c)]()[_0x256ea9(0x4a2)](_0x14aa53),_0x31d91d=_0x548d5a[_0x256ea9(0x38c)]()[_0x256ea9(0x4a2)](_0x469679),{worksheet:_0x441ca2}=_0x2b5c7d;let _0x5232f3=0x0;const _0x32f1a9=0x1;_0x2141bb[_0x256ea9(0x408)](_0x247915=>{const _0x5966e7=_0x256ea9;for(let _0x2636b0=0x0;_0x2636b0<=_0x4a30f1-_0x1fbe03;_0x2636b0++)_0x4b8998[_0x5966e7(0x4a2)](_0x5232f3,_0x2636b0,_0x441ca2[_0x5966e7(0x228)](_0x247915+_0x121fcf[_0x5966e7(0x262)]+_0x32f1a9,_0x2636b0));_0x5232f3++;});for(let _0x3b481e=_0x1fbe03;_0x3b481e<=_0x4a30f1;_0x3b481e++){const _0x10d6cc=_0x441ca2[_0x256ea9(0x228)](_0x13a1b1,_0x3b481e);_0xcf318[_0x13a1b1]||(_0xcf318[_0x13a1b1]={}),_0xcf318[_0x13a1b1][_0x3b481e]={..._0x10d6cc,'s':_0x6f2732};}let _0x24ee12=0x1;const _0x2decca={},_0x5c5f88={};_0x4b8998['forRow']((_0x40362a,_0x408c49)=>{const _0x163e45=_0x256ea9;_0x408c49[_0x163e45(0x408)](_0x32555c=>{const _0x3a0d21=_0x163e45,_0xb874a6=_0x4b8998[_0x3a0d21(0x213)](_0x40362a,_0x32555c);if(_0xcf318[_0x24ee12]||(_0xcf318[_0x24ee12]={}),_0xcf318[_0x24ee12][_0x32555c]={..._0xb874a6,'s':_0x24ee12%0x2===0x0?_0x31d91d:_0x252cd0},_0x2221fc[_0x32555c]&&_0x40362a>=0x0){const _0x15cd41=_0x24ee12%0x2===0x0;let _0x1dfe3e=_0x15cd41?_0x5c5f88[_0x32555c]:_0x2decca[_0x32555c];_0x1dfe3e||(_0x1dfe3e=_0x548d5a[_0x3a0d21(0x38c)]()[_0x3a0d21(0x4a2)]({..._0x15cd41?_0x469679:_0x14aa53,'n':{'pattern':_0x2221fc[_0x32555c]}}),_0x15cd41?_0x5c5f88[_0x32555c]=_0x1dfe3e:_0x2decca[_0x32555c]=_0x1dfe3e),_0xcf318[_0x24ee12][_0x32555c]['s']=_0x1dfe3e;}}),_0x24ee12++;});const _0x224b48=new _0x4d7ec7[(_0x256ea9(0x2f4))](_0xcf318),_0x3fb67c={};_0x224b48['forValue']((_0x532f61,_0x5a9024,_0x58a127)=>{_0x3fb67c[_0x532f61]||(_0x3fb67c[_0x532f61]={}),_0x3fb67c[_0x532f61][_0x5a9024]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1ec236=[],_0x4f4154=[],_0x23a4c9=_0x548d5a[_0x256ea9(0x424)]()[_0x256ea9(0x30f)],_0x28fcef=_0x4d7ec7[_0x256ea9(0x389)]({'rowCount':Math['max'](_0x4d7ec7[_0x256ea9(0x233)],_0x2a9a52+0xa),'columnCount':Math[_0x256ea9(0x453)](_0x4d7ec7[_0x256ea9(0x24a)],_0x1fb7c3+0x5)}),_0x51a305=_0x4e43dd[_0x256ea9(0x492)](_0x4d7ec7['LocaleService']);_0x28fcef['id']=_0x4d7ec7[_0x256ea9(0x2f2)](),_0x28fcef[_0x256ea9(0x202)]=_0x548d5a['generateNewSheetName'](''+_0x51a305['t'](_0x256ea9(0x3a5)));const _0xe970eb={'index':_0x23a4c9,'sheet':_0x28fcef,'unitId':_0x42aea5},_0x14445e=_0x132be5[_0x256ea9(0x2d1)](_0x4e43dd,_0xe970eb);_0x4f4154[_0x256ea9(0x344)]({'id':_0x132be5[_0x256ea9(0x1bf)]['id'],'params':_0xe970eb}),_0x1ec236[_0x256ea9(0x344)]({'id':_0x132be5[_0x256ea9(0x237)]['id'],'params':_0x14445e}),_0x4f4154[_0x256ea9(0x344)]({'id':_0x132be5[_0x256ea9(0x49a)]['id'],'params':{'unitId':_0x42aea5,'subUnitId':_0x28fcef['id'],'cellValue':_0xcf318}}),_0x1ec236[_0x256ea9(0x23c)]({'id':_0x132be5['SetRangeValuesMutation']['id'],'params':{'unitId':_0x42aea5,'subUnitId':_0x28fcef['id'],'cellValue':_0x3fb67c}});const _0x365027={'startRow':0x0,'startColumn':0x0,'endRow':_0x24ee12-0x1,'endColumn':_0x4a30f1};_0x4f4154[_0x256ea9(0x344)]({'id':_0x10c4d4[_0x256ea9(0x473)]['id'],'params':{'unitId':_0x42aea5,'subUnitId':_0x28fcef['id'],'range':_0x365027}}),_0x1ec236[_0x256ea9(0x23c)]({'id':_0x10c4d4['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x42aea5,'subUnitId':_0x28fcef['id']}});const _0x1c7efb=_0x4e43dd['get'](_0x4d7ec7[_0x256ea9(0x46b)]);return _0x4d7ec7['sequenceExecute'](_0x4f4154,_0x1c7efb)&&_0x4e43dd[_0x256ea9(0x492)](_0x4d7ec7[_0x256ea9(0x2f7)])[_0x256ea9(0x31e)]({'unitID':_0x42aea5,'undoMutations':_0x1ec236,'redoMutations':_0x4f4154}),!0x0;}},_0x307fdb={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x2f6)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x3427bf,_0x3bc202){const _0x9cedf5=_0x32b11e;if(!_0x3bc202)return!0x1;const _0x31f558=_0x3427bf[_0x9cedf5(0x492)](_0x4d7ec7[_0x9cedf5(0x46b)]),_0xdfe3f6=_0x3427bf[_0x9cedf5(0x492)](_0x3122be[_0x9cedf5(0x308)]),_0x51a8f7=_0x3427bf[_0x9cedf5(0x492)](_0x4d7ec7['IUndoRedoService']),{pivotTableId:_0x1370e2,fieldIds:_0x57b9bc,unitId:_0x3ab04a,subUnitId:_0x582917}=_0x3bc202,_0x31d03a=(await _0xdfe3f6[_0x9cedf5(0x1b2)]({'unitId':_0x3ab04a,'subUnitId':_0x582917,'pivotTableId':_0x1370e2,'params':{'type':_0x19355e['RemovePivotField'],'removePivotField':{'fieldIds':_0x57b9bc}}}))['result'][_0x9cedf5(0x34e)];if(!_0x31d03a)return!0x1;const {view:_0x57cf4f,changesets:_0x2606ea,isEmpty:_0x229dad,pivotTableConfig:_0x419526}=_0x31d03a,_0x5700dd=_0x419526[_0x9cedf5(0x3ae)],_0x52cb50=new _0x5eb847[(_0x9cedf5(0x290))]();_0x52cb50[_0x9cedf5(0x1b1)](_0x57cf4f);const _0xcbe0f6={'cellInfo':_0x5700dd,'view':_0x52cb50,'isEmpty':_0x229dad};if(!await _0x3427bf[_0x9cedf5(0x492)](_0x3122be[_0x9cedf5(0x25f)])[_0x9cedf5(0x3cb)][_0x9cedf5(0x348)](_0x39ea12)(!0x0,_0xcbe0f6))return!0x1;const _0x1dbb5d=_0x142fd8(_0x3427bf,_0x52cb50,_0x5700dd,_0x229dad),_0x3a28ea=_0x3a4eb1(_0x3427bf,_0xcbe0f6),{redos:_0x5a4ee3,undos:_0x6baf63}=_0x2ced52(_0x31f558,{'pivotTableId':_0x1370e2,'unitId':_0x3ab04a,'subUnitId':_0x582917},_0x2606ea);return _0x4d7ec7[_0x9cedf5(0x3d4)]([..._0x1dbb5d[_0x9cedf5(0x1dc)],..._0x3a28ea['redos'],..._0x5a4ee3],_0x31f558),_0x51a8f7[_0x9cedf5(0x31e)]({'unitID':_0x3ab04a,'redoMutations':[..._0x1dbb5d[_0x9cedf5(0x1dc)],..._0x3a28ea['redos'],..._0x5a4ee3],'undoMutations':[..._0x1dbb5d['undos'],..._0x3a28ea[_0x9cedf5(0x1ff)],..._0x6baf63]}),!0x0;}},_0x19345c={'type':_0x4d7ec7[_0x32b11e(0x409)]['COMMAND'],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x1ac7ed,_0x298fa2){const _0x26e3b9=_0x32b11e;if(!_0x298fa2)return!0x1;const _0x5d32d3=_0x1ac7ed[_0x26e3b9(0x492)](_0x4d7ec7['ICommandService']),_0x26d4f0=_0x1ac7ed[_0x26e3b9(0x492)](_0x4d7ec7[_0x26e3b9(0x2f7)]),_0x2c478f=_0x1ac7ed[_0x26e3b9(0x492)](_0x3122be[_0x26e3b9(0x308)]),{resetArea:_0x3adc4d,pivotTableId:_0x3647cd,unitId:_0x55f2b0,subUnitId:_0x4fead7}=_0x298fa2,_0x20efe6=(await _0x2c478f[_0x26e3b9(0x1b2)]({'unitId':_0x55f2b0,'subUnitId':_0x4fead7,'pivotTableId':_0x3647cd,'params':{'type':_0x19355e[_0x26e3b9(0x33c)],'resetPivotTable':{'pivotTableId':_0x3647cd,'resetArea':_0x3adc4d}}}))[_0x26e3b9(0x1bb)][_0x26e3b9(0x1f9)];if(!_0x20efe6)return!0x1;const {changesets:_0x4a3de3}=_0x20efe6,{redos:_0x207195,undos:_0x3978ce}=_0x2ced52(_0x5d32d3,{'pivotTableId':_0x3647cd,'unitId':_0x55f2b0,'subUnitId':_0x4fead7},_0x4a3de3);return _0x4d7ec7[_0x26e3b9(0x3d4)](_0x207195,_0x5d32d3),_0x26d4f0[_0x26e3b9(0x31e)]({'unitID':_0x55f2b0,'redoMutations':_0x207195,'undoMutations':_0x3978ce}),!0x0;}},_0x2c3686={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x2f6)],'id':_0x32b11e(0x38a),async 'handler'(_0x4e215e,_0x310c81){const _0x14f5ae=_0x32b11e,_0x9a0fe=_0x4e215e['get'](_0x4d7ec7['ICommandService']),_0x5924e5=_0x4e215e['get'](_0x3122be['SheetsPivotRPCService']),_0x10aff2=_0x4e215e['get'](_0x3122be[_0x14f5ae(0x360)]),_0x3f5ebb=_0x4e215e['get'](_0x4d7ec7[_0x14f5ae(0x1c4)]),_0x17d8fe=_0x4e215e['get'](_0x4d7ec7['LocaleService']),_0xc69c36=_0x4e215e['get'](_0x4d7ec7[_0x14f5ae(0x2f7)]);if(!_0x310c81)return!0x1;const {unitId:_0x526dbd,subUnitId:_0x10eca7,row:_0x4eb8c0,col:_0x3de42c,collapse:_0x5aa2a7}=_0x310c81,_0x10353b=_0x3f5ebb[_0x14f5ae(0x27d)](_0x526dbd);if(!_0x10353b||!_0x10353b[_0x14f5ae(0x33a)](_0x10eca7))return!0x1;const _0x192361=_0x10aff2[_0x14f5ae(0x1e0)](_0x526dbd,_0x10eca7,_0x4eb8c0,_0x3de42c);if(!_0x192361)return!0x1;const _0x227411=_0x10aff2[_0x14f5ae(0x1cb)](_0x526dbd,_0x10eca7,_0x192361);if(!_0x227411)return!0x1;const _0x54ff10=_0x4d7ec7[_0x14f5ae(0x4a0)](_0x4eb8c0,_0x3de42c),{rangesInfo:_0x14cdf3,areaInfo:_0x294f3f,headerMap:_0x33a740}=_0x227411;if(!_0x14cdf3||!_0x294f3f||!_0x33a740)return!0x1;const _0x23bfad=Object[_0x14f5ae(0x2c6)](_0x14cdf3)[_0x14f5ae(0x3ac)](_0x503cae=>_0x14cdf3[_0x503cae][_0x14f5ae(0x2e5)](_0x4b32e0=>_0x4d7ec7[_0x14f5ae(0x2c2)]['contains'](_0x4b32e0,_0x54ff10)));let _0x2e396c;_0x23bfad===_0x14f5ae(0x2b9)?_0x2e396c=_0x33a740[_0x14f5ae(0x2ad)][_0x3de42c]:_0x23bfad===_0x14f5ae(0x3e6)&&(_0x2e396c=_0x33a740['colHeaderMap'][_0x4eb8c0]);const _0x35be9f=_0x2e396c==null?void 0x0:_0x2e396c['tableFieldId'],_0x430515=_0x10aff2[_0x14f5ae(0x1ab)](_0x526dbd,_0x10eca7,_0x4eb8c0,_0x3de42c);let _0x4d7f49=_0x430515==null?void 0x0:_0x430515['v'];if(_0x4d7f49===_0x17d8fe['t']('sheets-pivot.blank')&&(_0x4d7f49=_0x5eb847[_0x14f5ae(0x1d4)][_0x14f5ae(0x229)]),_0x4d7f49==null||!_0x192361||!_0x35be9f)return!0x1;const _0xef08ca=await _0x5924e5[_0x14f5ae(0x1b2)]({'unitId':_0x526dbd,'subUnitId':_0x10eca7,'pivotTableId':_0x192361,'params':{'type':_0x19355e['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x35be9f,'collapse':_0x5aa2a7,'item':_0x4d7f49}}}),_0x2581ec=_0xef08ca==null?void 0x0:_0xef08ca[_0x14f5ae(0x1bb)]['setPivotCollapse'];if(!_0x2581ec)return!0x1;const {view:_0x190f47,pivotTableConfig:_0x5dba95,isEmpty:_0x1f081d,changesets:_0x6417f2}=_0x2581ec,_0x23f292=new _0x5eb847['PivotView']();_0x23f292['formJSON'](_0x190f47);const _0x18f129=_0x5dba95[_0x14f5ae(0x3ae)],_0x44e509={'cellInfo':_0x18f129,'view':_0x23f292,'isEmpty':_0x1f081d};if(!await _0x4e215e['get'](_0x3122be[_0x14f5ae(0x25f)])[_0x14f5ae(0x3cb)][_0x14f5ae(0x348)](_0x39ea12)(!0x0,_0x44e509))return!0x1;const _0x3e7fe6=_0x142fd8(_0x4e215e,_0x23f292,_0x18f129,_0x1f081d),_0x1c5b93=_0x3a4eb1(_0x4e215e,_0x44e509),{redos:_0x57250d,undos:_0x354a51}=_0x2ced52(_0x9a0fe,{'pivotTableId':_0x192361,'unitId':_0x526dbd,'subUnitId':_0x10eca7},_0x6417f2);return _0x4d7ec7[_0x14f5ae(0x3d4)]([..._0x3e7fe6[_0x14f5ae(0x1dc)],..._0x1c5b93['redos'],..._0x57250d],_0x9a0fe),_0xc69c36[_0x14f5ae(0x31e)]({'unitID':_0x526dbd,'redoMutations':[..._0x3e7fe6[_0x14f5ae(0x1dc)],..._0x1c5b93[_0x14f5ae(0x1dc)],..._0x57250d],'undoMutations':[..._0x3e7fe6[_0x14f5ae(0x1ff)],..._0x1c5b93[_0x14f5ae(0x1ff)],..._0x354a51]}),!0x0;}},_0x304bc9={'type':_0x4d7ec7[_0x32b11e(0x409)]['COMMAND'],'id':_0x32b11e(0x2ff),async 'handler'(_0x39f2ae,_0x1acc35){const _0x5a6630=_0x32b11e;if(!_0x1acc35)return!0x1;const _0x2e986f=_0x39f2ae['get'](_0x4d7ec7[_0x5a6630(0x46b)]),_0x591d2c=_0x39f2ae[_0x5a6630(0x492)](_0x4d7ec7['IUndoRedoService']),_0x132ea3=_0x39f2ae['get'](_0x3122be[_0x5a6630(0x308)]),{pivotTableConfig:_0x423282,pivotTableId:_0x2645a8,unitId:_0x20ee1b,subUnitId:_0x2c16c8}=_0x1acc35,_0x1303ff=(await _0x132ea3[_0x5a6630(0x1b2)]({'unitId':_0x20ee1b,'subUnitId':_0x2c16c8,'pivotTableId':_0x2645a8,'params':{'type':_0x19355e[_0x5a6630(0x1c2)],'setPivotTableConfig':{'pivotTableId':_0x2645a8,'pivotTableConfig':_0x423282}}}))[_0x5a6630(0x1bb)][_0x5a6630(0x1e4)];if(!_0x1303ff)return!0x1;const {changesets:_0x268e42}=_0x1303ff,{redos:_0x58e8d0,undos:_0x478c44}=_0x2ced52(_0x2e986f,{'pivotTableId':_0x2645a8,'unitId':_0x20ee1b,'subUnitId':_0x2c16c8},_0x268e42);return _0x4d7ec7[_0x5a6630(0x3d4)](_0x58e8d0,_0x2e986f),_0x591d2c[_0x5a6630(0x31e)]({'unitID':_0x20ee1b,'redoMutations':_0x58e8d0,'undoMutations':_0x478c44}),!0x0;}},_0x582d5a={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x2f6)],'id':_0x32b11e(0x479),async 'handler'(_0x43c9f6,_0x5220b2){const _0x33b0e9=_0x32b11e;if(!_0x5220b2)return!0x1;const _0x165192=_0x43c9f6['get'](_0x4d7ec7[_0x33b0e9(0x46b)]),{pivotTableId:_0x343e35,tableFieldId:_0xed9a14,items:_0x491cf3,unitId:_0x1e9308,subUnitId:_0x1fdb8e,isAll:_0x4b7e3d}=_0x5220b2,_0xd928cc=_0x43c9f6[_0x33b0e9(0x492)](_0x3122be[_0x33b0e9(0x308)]),_0x5b8170=_0x43c9f6[_0x33b0e9(0x492)](_0x4d7ec7['IUndoRedoService']),_0x1274df=(await _0xd928cc[_0x33b0e9(0x1b2)]({'unitId':_0x1e9308,'subUnitId':_0x1fdb8e,'pivotTableId':_0x343e35,'params':{'type':_0x19355e['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0xed9a14,'items':_0x491cf3,'isAll':_0x4b7e3d}}}))[_0x33b0e9(0x1bb)]['setPivotFilter'];if(!_0x1274df)return!0x1;const {changesets:_0x2a7771,pivotTableConfig:_0x2993bf,isEmpty:_0x41d019,view:_0x3324a2}=_0x1274df,_0x3dd21=_0x2993bf[_0x33b0e9(0x3ae)],_0x10e042=new _0x5eb847[(_0x33b0e9(0x290))]();_0x10e042[_0x33b0e9(0x1b1)](_0x3324a2);const _0x43cb56={'cellInfo':_0x3dd21,'view':_0x10e042,'isEmpty':_0x41d019};if(!await _0x43c9f6['get'](_0x3122be[_0x33b0e9(0x25f)])[_0x33b0e9(0x3cb)][_0x33b0e9(0x348)](_0x39ea12)(!0x0,_0x43cb56))return!0x1;const _0x2b9725=_0x142fd8(_0x43c9f6,_0x10e042,_0x3dd21,_0x41d019),_0x61c81b=_0x3a4eb1(_0x43c9f6,_0x43cb56),{undos:_0x509d8d,redos:_0x66304c}=_0x2ced52(_0x165192,{'pivotTableId':_0x343e35,'unitId':_0x1e9308,'subUnitId':_0x1fdb8e},_0x2a7771);return _0x4d7ec7[_0x33b0e9(0x3d4)]([..._0x2b9725[_0x33b0e9(0x1dc)],..._0x61c81b[_0x33b0e9(0x1dc)],..._0x66304c],_0x165192),_0x5b8170[_0x33b0e9(0x31e)]({'unitID':_0x1e9308,'redoMutations':[..._0x2b9725[_0x33b0e9(0x1dc)],..._0x61c81b[_0x33b0e9(0x1dc)],..._0x66304c],'undoMutations':[..._0x2b9725[_0x33b0e9(0x1ff)],..._0x61c81b[_0x33b0e9(0x1ff)],..._0x509d8d]}),!0x0;}},_0x1fc305={'type':_0x4d7ec7[_0x32b11e(0x409)]['COMMAND'],'id':_0x32b11e(0x3e1),async 'handler'(_0x54a6b4,_0x2b11bb){const _0x58cc4f=_0x32b11e;if(!_0x2b11bb)return!0x1;const _0x1eaade=_0x54a6b4[_0x58cc4f(0x492)](_0x4d7ec7[_0x58cc4f(0x46b)]),_0x452dc6=_0x54a6b4['get'](_0x4d7ec7[_0x58cc4f(0x2f7)]),_0x29d5a1=_0x54a6b4[_0x58cc4f(0x492)](_0x3122be[_0x58cc4f(0x308)]),{info:_0x537565,tableFieldId:_0x387028,pivotTableId:_0x3c178e,unitId:_0x6ca079,subUnitId:_0x8b6a7f}=_0x2b11bb,_0x396f06=(await _0x29d5a1[_0x58cc4f(0x1b2)]({'unitId':_0x6ca079,'subUnitId':_0x8b6a7f,'pivotTableId':_0x3c178e,'params':{'type':_0x19355e['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x387028,'info':_0x537565}}}))[_0x58cc4f(0x1bb)][_0x58cc4f(0x234)];if(!_0x396f06)return!0x1;const {changesets:_0x240efc}=_0x396f06,{redos:_0x3beed3,undos:_0x342251}=_0x2ced52(_0x1eaade,{'pivotTableId':_0x3c178e,'unitId':_0x6ca079,'subUnitId':_0x8b6a7f},_0x240efc);return _0x4d7ec7[_0x58cc4f(0x3d4)](_0x3beed3,_0x1eaade),_0x452dc6[_0x58cc4f(0x31e)]({'unitID':_0x6ca079,'redoMutations':_0x3beed3,'undoMutations':_0x342251}),!0x0;}},_0x2ba8fe={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x2f6)],'id':_0x32b11e(0x3a1),async 'handler'(_0x439810,_0x34907c){const _0x1f1f47=_0x32b11e;if(!_0x34907c)return!0x1;const _0x15f0f9=_0x439810[_0x1f1f47(0x492)](_0x4d7ec7[_0x1f1f47(0x46b)]),{pivotTableId:_0x2003b8,fieldId:_0x41880e,valueFilterInfo:_0x4cb7a8,unitId:_0x441eff,subUnitId:_0x34b485}=_0x34907c,_0xdad894=_0x439810[_0x1f1f47(0x492)](_0x3122be[_0x1f1f47(0x308)]),_0x5d1a8d=_0x439810[_0x1f1f47(0x492)](_0x4d7ec7[_0x1f1f47(0x2f7)]),_0x34efb7=(await _0xdad894[_0x1f1f47(0x1b2)]({'unitId':_0x441eff,'subUnitId':_0x34b485,'pivotTableId':_0x2003b8,'params':{'type':_0x19355e[_0x1f1f47(0x3a4)],'setValuePivotFilter':{'tableFieldId':_0x41880e,'filterInfo':_0x4cb7a8}}}))['result'][_0x1f1f47(0x3f2)];if(!_0x34efb7)return!0x1;const {changesets:_0x3ce542,pivotTableConfig:_0x291cab,isEmpty:_0x37c918,view:_0x4b4c98}=_0x34efb7,_0x52fc3=_0x291cab[_0x1f1f47(0x3ae)],_0x111290=new _0x5eb847[(_0x1f1f47(0x290))]();_0x111290[_0x1f1f47(0x1b1)](_0x4b4c98);const _0x1c19c6={'cellInfo':_0x52fc3,'view':_0x111290,'isEmpty':_0x37c918};if(!await _0x439810['get'](_0x3122be[_0x1f1f47(0x25f)])[_0x1f1f47(0x3cb)][_0x1f1f47(0x348)](_0x39ea12)(!0x0,_0x1c19c6))return!0x1;const _0x46d358=_0x142fd8(_0x439810,_0x111290,_0x52fc3,_0x37c918),_0x5c6e75=_0x3a4eb1(_0x439810,_0x1c19c6),{undos:_0x56d3ab,redos:_0x582a14}=_0x2ced52(_0x15f0f9,{'pivotTableId':_0x2003b8,'unitId':_0x441eff,'subUnitId':_0x34b485},_0x3ce542);return _0x4d7ec7[_0x1f1f47(0x3d4)]([..._0x46d358[_0x1f1f47(0x1dc)],..._0x5c6e75[_0x1f1f47(0x1dc)],..._0x582a14],_0x15f0f9),_0x5d1a8d[_0x1f1f47(0x31e)]({'unitID':_0x441eff,'redoMutations':[..._0x46d358['redos'],..._0x5c6e75[_0x1f1f47(0x1dc)],..._0x582a14],'undoMutations':[..._0x46d358[_0x1f1f47(0x1ff)],..._0x5c6e75[_0x1f1f47(0x1ff)],..._0x56d3ab]}),!0x0;}},_0x1c74c5={'id':_0x32b11e(0x272),'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x47d)],'handler':(_0x4fa8c3,_0x879d07)=>{const _0x453e09=_0x32b11e;if(!_0x879d07)return!0x1;if(!!_0x4fa8c3[_0x453e09(0x492)](_0x4d7ec7[_0x453e09(0x2cb)])[_0x453e09(0x2c4)](_0x5755e4))return!0x0;const {unitId:_0xd19cde,subUnitId:_0xad207a,pivotTableId:_0x2ff8d3,tableFieldId:_0x1c12f0,dateType:_0x17cf91}=_0x879d07,_0x3a50fe=_0x4fa8c3[_0x453e09(0x492)](_0x3122be[_0x453e09(0x215)]),_0x48bb71=_0x3a50fe[_0x453e09(0x37c)](_0x2ff8d3);if(!_0x48bb71)return!0x1;const _0x3ba2be=_0x48bb71[_0x453e09(0x439)](_0x1c12f0);if(!_0x3ba2be)return!0x1;const _0x5dedbb=_0x3ba2be[_0x453e09(0x4aa)](),_0x4e1f6f=_0x48bb71[_0x453e09(0x23e)](_0x5dedbb),_0x3cc8c8=(_0x4e1f6f==null?void 0x0:_0x4e1f6f[_0x453e09(0x440)]())+'\x20'+_0x360540(_0x4fa8c3,_0x17cf91);_0x3a50fe[_0x453e09(0x334)](_0xd19cde,_0x2ff8d3)['setDisplayName'](_0x3ba2be['id'],_0x3cc8c8);const _0x1f3000=_0x48bb71[_0x453e09(0x42c)](_0x1c12f0);if(!_0x1f3000)return!0x1;_0x48bb71[_0x453e09(0x1c9)](_0x1f3000[_0x453e09(0x1fe)](),_0x3cc8c8),_0x3ba2be[_0x453e09(0x352)](_0x17cf91);const _0x2882b1=_0x3a50fe[_0x453e09(0x3f0)](_0xd19cde,_0xad207a,_0x2ff8d3);return _0x3a50fe[_0x453e09(0x2b0)]({'unitId':_0xd19cde,'subUnitId':_0xad207a,'token':_0x2ff8d3,'type':_0x4e6aa2[_0x453e09(0x476)],'pivotConfig':_0x2882b1}),!0x0;}},_0x37eb2f={'id':_0x32b11e(0x3f9),'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x2f6)],'handler':(_0x30971e,_0x1c224e)=>{const _0x310e67=_0x32b11e;if(!_0x1c224e)return!0x1;const _0x6656fe=_0x30971e[_0x310e67(0x492)](_0x4d7ec7[_0x310e67(0x2f7)]),{unitId:_0x588e97,subUnitId:_0x4842fb,pivotTableId:_0x2e1661,tableFieldId:_0x4c97f1}=_0x1c224e,_0x34f754=[],_0x5d850d=[],_0x1e1682=_0x30971e[_0x310e67(0x492)](_0x3122be['SheetsPivotTableConfigModel']),_0x54edd8=_0x1e1682[_0x310e67(0x334)](_0x588e97,_0x2e1661),_0x26dee9=_0x1e1682[_0x310e67(0x3f0)](_0x588e97,_0x4842fb,_0x2e1661);if(!(_0x26dee9!=null&&_0x26dee9[_0x310e67(0x2d5)]['dimension']))return!0x1;const _0x28df36=Object['values'](_0x26dee9[_0x310e67(0x2d5)][_0x310e67(0x28d)])[_0x310e67(0x3ac)](_0x53a5b9=>_0x53a5b9['id']===_0x4c97f1);if(!_0x28df36)return!0x1;const _0x2cc063=_0x28df36[_0x310e67(0x444)];if(!(_0x54edd8!=null&&_0x54edd8['fields']))return!0x1;const _0x2eeb9a=Object['values'](_0x54edd8==null?void 0x0:_0x54edd8[_0x310e67(0x47a)])[_0x310e67(0x3ac)](_0x30f15c=>_0x30f15c['id']===_0x2cc063);if(!_0x2eeb9a)return!0x1;_0x5eb847[_0x310e67(0x221)](_0x2eeb9a)&&_0x34f754[_0x310e67(0x344)]({'id':_0x1c74c5['id'],'params':{..._0x1c224e,'dateType':_0x2eeb9a[_0x310e67(0x219)]}}),_0x5d850d['push']({'id':_0x1c74c5['id'],'params':{..._0x1c224e}});const _0x567874=_0x30971e[_0x310e67(0x492)](_0x4d7ec7[_0x310e67(0x46b)]);return _0x4d7ec7[_0x310e67(0x3d4)](_0x5d850d,_0x567874)&&_0x6656fe[_0x310e67(0x31e)]({'unitID':_0x588e97,'undoMutations':_0x34f754,'redoMutations':_0x5d850d}),!0x0;}},_0x404666={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x2f6)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x2075ff,_0x437a40){const _0x1ff9bb=_0x32b11e;if(!_0x437a40)return!0x1;const _0x39ccb9=_0x2075ff[_0x1ff9bb(0x492)](_0x4d7ec7[_0x1ff9bb(0x46b)]),_0x50e943=_0x2075ff[_0x1ff9bb(0x492)](_0x4d7ec7['IUndoRedoService']),_0x56b100=_0x2075ff[_0x1ff9bb(0x492)](_0x3122be['SheetsPivotRPCService']),{displayName:_0x1bf6e4,subtotalType:_0x170bb7,format:_0x44a7ee,tableFieldId:_0x4899c6,pivotTableId:_0x2de2eb,unitId:_0x41218e,subUnitId:_0x498d54}=_0x437a40,_0x25298c=(await _0x56b100[_0x1ff9bb(0x1b2)]({'unitId':_0x41218e,'subUnitId':_0x498d54,'pivotTableId':_0x2de2eb,'params':{'type':_0x19355e[_0x1ff9bb(0x225)],'setPivotSetting':{'tableFieldId':_0x4899c6,'displayName':_0x1bf6e4,'subtotalType':_0x170bb7,'format':_0x44a7ee}}}))[_0x1ff9bb(0x1bb)][_0x1ff9bb(0x1c3)];if(!_0x25298c)return!0x1;const {changesets:_0x48480b,view:_0x46c051,pivotTableConfig:_0x207f50,isEmpty:_0x1bff59}=_0x25298c,_0x7ffeac=_0x207f50[_0x1ff9bb(0x3ae)],_0x5ea8f6=new _0x5eb847[(_0x1ff9bb(0x290))]();_0x5ea8f6['formJSON'](_0x46c051);const _0x212eb8={'cellInfo':_0x7ffeac,'view':_0x5ea8f6,'isEmpty':_0x1bff59};if(!await _0x2075ff['get'](_0x3122be['SheetsPivotTableService'])[_0x1ff9bb(0x3cb)]['fetchThroughAsyncInterceptors'](_0x39ea12)(!0x0,_0x212eb8))return!0x1;const _0x43b670=_0x142fd8(_0x2075ff,_0x5ea8f6,_0x7ffeac,_0x1bff59),_0x62c850=_0x3a4eb1(_0x2075ff,_0x212eb8),{undos:_0x5dd2c3,redos:_0x547dae}=_0x2ced52(_0x39ccb9,{'pivotTableId':_0x2de2eb,'unitId':_0x41218e,'subUnitId':_0x498d54},_0x48480b);return _0x4d7ec7['sequenceExecute']([..._0x43b670['redos'],..._0x62c850[_0x1ff9bb(0x1dc)],..._0x547dae],_0x39ccb9),_0x50e943['pushUndoRedo']({'unitID':_0x41218e,'redoMutations':[..._0x43b670['redos'],..._0x62c850[_0x1ff9bb(0x1dc)],..._0x547dae],'undoMutations':[..._0x43b670[_0x1ff9bb(0x1ff)],..._0x62c850[_0x1ff9bb(0x1ff)],..._0x5dd2c3]}),!0x0;}},_0x31ae6c={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'id':_0x32b11e(0x320),'handler'(_0x580654,_0x4e83f1){const _0x822bac=_0x32b11e;if(!_0x4e83f1)return!0x1;if(!!_0x580654[_0x822bac(0x492)](_0x4d7ec7[_0x822bac(0x2cb)])[_0x822bac(0x2c4)](_0x5755e4))return!0x0;const _0x1df143=_0x580654['get'](_0x3122be[_0x822bac(0x215)]),{pivotTableId:_0x339d0b,deleteIds:_0x2a6606,collectionJSON:_0x46e22d,dataRangeInfo:_0x23c416,unitId:_0x186232,subUnitId:_0x3165a0}=_0x4e83f1,_0x3ee503=_0x1df143[_0x822bac(0x37c)](_0x339d0b),_0x5354f2=_0x1df143[_0x822bac(0x3f0)](_0x186232,_0x3165a0,_0x339d0b);if(!_0x3ee503||!_0x5354f2)return!0x1;const {collection:_0x47edae,updateDataFieldList:_0x4483cc}=_0x1df143['addCollectionByJSON'](_0x339d0b,_0x46e22d,_0x23c416,_0x5354f2[_0x822bac(0x3ae)]);_0x1df143[_0x822bac(0x1c8)](_0x47edae,_0x4483cc,_0x23c416),_0x3ee503[_0x822bac(0x275)](_0x47edae);for(const _0x468bdd of _0x2a6606)_0x1df143['removeDataField'](_0x23c416[_0x822bac(0x3e4)],_0x468bdd);const _0x31525f=_0x1df143[_0x822bac(0x3f0)](_0x186232,_0x3165a0,_0x339d0b);return _0x31525f[_0x822bac(0x261)]=JSON['parse'](JSON[_0x822bac(0x375)](_0x23c416)),_0x1df143[_0x822bac(0x2b0)]({'unitId':_0x186232,'subUnitId':_0x3165a0,'token':_0x339d0b,'type':_0x4e6aa2[_0x822bac(0x476)]}),!0x0;}},_0x5c58c8={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x2f6)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5a2bd6,_0x173c31){const _0x246a6c=_0x32b11e,_0x3a989d=_0x5a2bd6[_0x246a6c(0x492)](_0x4d7ec7[_0x246a6c(0x46b)]),_0x1193a5=_0x5a2bd6[_0x246a6c(0x492)](_0x3122be[_0x246a6c(0x308)]),_0x161cc6=_0x5a2bd6['get'](_0x4d7ec7[_0x246a6c(0x2f7)]);if(!_0x173c31)return!0x1;const {token:_0x29aa37,dataRangeInfo:_0x5759b0,unitId:_0x540049,subUnitId:_0x2c9565}=_0x173c31,_0x22fad5=[],_0x3b76d4=[],_0x49e5ac=(await _0x1193a5['getPivotDisplayConfig']({'unitId':_0x540049,'subUnitId':_0x2c9565,'pivotTableId':_0x29aa37,'params':{'type':_0x19355e['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x5759b0,'unitId':_0x540049,'subUnitId':_0x2c9565}}}))[_0x246a6c(0x1bb)]['updatePivotSource'];if(!_0x49e5ac)return!0x1;const {changesets:_0x3f6564,deleteIds:_0x90c69d,collectionConfig:_0x54e1f6,oldCollectionConfig:_0x39592a,view:_0x4c1920,isEmpty:_0x495a14,pivotTableConfig:_0x5783e6}=_0x49e5ac;_0x3b76d4[_0x246a6c(0x344)]({'id':_0x31ae6c['id'],'params':{'pivotTableId':_0x29aa37,'deleteIds':_0x90c69d,'collectionJSON':_0x54e1f6,'dataRangeInfo':_0x5759b0,'unitId':_0x540049,'subUnitId':_0x2c9565}}),_0x22fad5['unshift']({'id':_0x31ae6c['id'],'params':{'pivotTableId':_0x29aa37,'deleteIds':[],'collectionJSON':_0x39592a,'dataRangeInfo':_0x5783e6[_0x246a6c(0x261)],'unitId':_0x540049,'subUnitId':_0x2c9565}});const _0x28f78d=_0x5783e6['targetCellInfo'],_0x1fc4f1=new _0x5eb847['PivotView']();_0x1fc4f1['formJSON'](_0x4c1920);const _0x37cf51={'cellInfo':_0x28f78d,'view':_0x1fc4f1,'isEmpty':_0x495a14};if(!await _0x5a2bd6[_0x246a6c(0x492)](_0x3122be[_0x246a6c(0x25f)])[_0x246a6c(0x3cb)][_0x246a6c(0x348)](_0x39ea12)(!0x0,_0x37cf51))return!0x1;const _0x30e70a=_0x142fd8(_0x5a2bd6,_0x1fc4f1,_0x28f78d,_0x495a14),_0x20ca22=_0x3a4eb1(_0x5a2bd6,_0x37cf51),{undos:_0x22144b,redos:_0x4159b7}=_0x2ced52(_0x3a989d,{'pivotTableId':_0x29aa37,'unitId':_0x540049,'subUnitId':_0x2c9565},_0x3f6564);return _0x4d7ec7[_0x246a6c(0x3d4)]([..._0x30e70a[_0x246a6c(0x1dc)],..._0x20ca22['redos'],..._0x3b76d4,..._0x22144b],_0x3a989d),_0x161cc6[_0x246a6c(0x31e)]({'unitID':_0x540049,'redoMutations':[..._0x30e70a[_0x246a6c(0x1dc)],..._0x20ca22[_0x246a6c(0x1dc)],..._0x3b76d4,..._0x22144b],'undoMutations':[..._0x30e70a[_0x246a6c(0x1ff)],..._0x20ca22[_0x246a6c(0x1ff)],..._0x22fad5,..._0x4159b7]}),!0x0;}},_0x1fb80a={'type':_0x4d7ec7[_0x32b11e(0x409)][_0x32b11e(0x2f6)],'id':_0x32b11e(0x1f2),async 'handler'(_0x5c2595,_0x2bc376){const _0x4ae595=_0x32b11e;if(!_0x2bc376)return!0x1;const _0x2bcb56=_0x5c2595[_0x4ae595(0x492)](_0x4d7ec7[_0x4ae595(0x46b)]),_0x527a41=_0x5c2595['get'](_0x3122be[_0x4ae595(0x308)]),_0x4c1bd5=_0x5c2595[_0x4ae595(0x492)](_0x4d7ec7[_0x4ae595(0x1c4)]),_0x4d9054=_0x5c2595[_0x4ae595(0x492)](_0x4d7ec7[_0x4ae595(0x2f7)]),{pivotTableId:_0x3e412e,position:_0x3c4dfe,index:_0x388d13}=_0x2bc376,_0x19f67d=_0x132be5[_0x4ae595(0x198)](_0x4c1bd5);if(!_0x19f67d)return!0x1;const {unitId:_0x580835,subUnitId:_0x27c54c}=_0x19f67d,_0xe25882=(await _0x527a41['getPivotDisplayConfig']({'unitId':_0x580835,'subUnitId':_0x27c54c,'pivotTableId':_0x3e412e,'params':{'type':_0x19355e[_0x4ae595(0x44e)],'updateValuePosition':{'position':_0x3c4dfe,'index':_0x388d13}}}))[_0x4ae595(0x1bb)][_0x4ae595(0x3c6)];if(!_0xe25882)return!0x1;const {changesets:_0x534d5e,view:_0x4d9724,isEmpty:_0x73af39,pivotTableConfig:_0x3aa1bc}=_0xe25882,_0xad9db9=_0x3aa1bc['targetCellInfo'],_0x414dff=new _0x5eb847[(_0x4ae595(0x290))]();_0x414dff[_0x4ae595(0x1b1)](_0x4d9724);const _0x54963a=_0x5c2595['get'](_0x3122be['SheetsPivotTableService']),_0x3ab08c={'cellInfo':_0xad9db9,'view':_0x414dff,'isEmpty':_0x73af39};if(!await _0x54963a['asyncInterceptor'][_0x4ae595(0x348)](_0x39ea12)(!0x0,_0x3ab08c))return!0x1;const _0xee85e2=_0x142fd8(_0x5c2595,_0x414dff,_0xad9db9,_0x73af39),_0x18095f=_0x3a4eb1(_0x5c2595,_0x3ab08c),{undos:_0x5dd335,redos:_0x3a1dd4}=_0x2ced52(_0x2bcb56,{'pivotTableId':_0x3e412e,'unitId':_0x580835,'subUnitId':_0x27c54c},_0x534d5e);return _0x4d7ec7[_0x4ae595(0x3d4)]([..._0xee85e2[_0x4ae595(0x1dc)],..._0x18095f['redos'],..._0x3a1dd4],_0x2bcb56),_0x4d9054['pushUndoRedo']({'unitID':_0x580835,'redoMutations':[..._0xee85e2[_0x4ae595(0x1dc)],..._0x18095f[_0x4ae595(0x1dc)],..._0x3a1dd4],'undoMutations':[..._0xee85e2[_0x4ae595(0x1ff)],..._0x18095f[_0x4ae595(0x1ff)],..._0x5dd335]}),!0x0;}},_0x45b06c={'type':_0x4d7ec7['CommandType'][_0x32b11e(0x47d)],'id':_0x32b11e(0x4a4),'handler'(){return!0x0;}};var _0x55066e=Object[_0x32b11e(0x210)],_0x250696=(_0x90dfad,_0x2433fd,_0x42eb78,_0x57fe5c)=>{for(var _0x26b0ad=_0x57fe5c>0x1?void 0x0:_0x57fe5c?_0x55066e(_0x2433fd,_0x42eb78):_0x2433fd,_0x4f4ced=_0x90dfad['length']-0x1,_0x21746e;_0x4f4ced>=0x0;_0x4f4ced--)(_0x21746e=_0x90dfad[_0x4f4ced])&&(_0x26b0ad=_0x21746e(_0x26b0ad)||_0x26b0ad);return _0x26b0ad;},_0x48010d=(_0x1b9e77,_0x349813)=>(_0x1a2d6b,_0x570d2d)=>_0x349813(_0x1a2d6b,_0x570d2d,_0x1b9e77);const _0xb005b5=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x280f33=(_0x3f06a0,_0x19c5d2,_0x3ee312)=>{const _0xfdc85=_0x32b11e,_0x34b73c=_0x3f06a0[_0xfdc85(0x25e)];_0x3f06a0[_0xfdc85(0x2a2)](_0x551683=>{const _0x56604e=_0xfdc85,_0x398cee=_0x551683['getId'](),_0x33e86b=_0x551683[_0x56604e(0x38b)](),_0x541a5d=_0x551683[_0x56604e(0x24d)](),_0x2b6982=_0x551683['getDisplayName']();_0x19c5d2[_0x33e86b]&&_0x19c5d2[_0x33e86b]===_0x2b6982&&_0x541a5d===_0x2b6982&&(_0x3f06a0[_0x56604e(0x1c9)](_0x398cee,_0x34b73c[_0x56604e(0x23a)](_0x33e86b)),_0x551683['setSourceName'](_0x34b73c[_0x56604e(0x23a)](_0x33e86b)));}),_0x3f06a0[_0xfdc85(0x4a8)](_0x5eb847[_0xfdc85(0x266)][_0xfdc85(0x254)],_0x3c109e=>{const _0x29490e=_0xfdc85,_0x2df3b9=_0x3c109e[_0x29490e(0x1fe)](),_0x2183fc=_0x3c109e['getDataFieldId'](),_0x3c52df=_0x3c109e['getSourceName'](),_0x56fa86=_0x3c109e[_0x29490e(0x23a)](),_0x3b6d34=_0x3c109e[_0x29490e(0x1a5)](),_0x73137c=_0x3ee312(_0x3c52df,_0x3b6d34);_0x19c5d2[_0x2183fc]&&_0x19c5d2[_0x2183fc]===_0x3c52df&&_0x73137c===_0x56fa86&&(_0x3f06a0[_0x29490e(0x1c9)](_0x2df3b9,_0x3ee312(_0x34b73c[_0x29490e(0x23a)](_0x2183fc),_0x3b6d34)),_0x3c109e['setSourceName'](_0x34b73c['getDisplayName'](_0x2183fc)));});},_0x16ae26=(_0xdcdb0b,_0x896a57,_0x4eaa19)=>{const _0x570e0b=_0x32b11e;var _0x356a3f,_0x3a2f56;const {arrayFormulaCellData:_0x9f0802,unitData:_0x1d2b83}=_0x896a57,{unitId:_0x41a74f,subUnitId:_0x5b3bbc}=_0x4eaa19,_0x464249=_0x4eaa19[_0x570e0b(0x18d)],{startColumn:_0x4b52de,endColumn:_0x37dd2d}=_0x464249,_0x31279c=(_0x356a3f=_0x9f0802==null?void 0x0:_0x9f0802[_0x41a74f])==null?void 0x0:_0x356a3f[_0x5b3bbc],_0x29333c=(_0x3a2f56=_0x1d2b83==null?void 0x0:_0x1d2b83[_0x41a74f])==null?void 0x0:_0x3a2f56[_0x5b3bbc],_0x429a35=new Set(),_0x2fac1b=_0x37dd2d-_0x4b52de+0x1,{dirtyRanges:_0x4d4aeb}=_0xdcdb0b;if(_0x4d4aeb)for(const {range:_0x5458c9,sheetId:_0x37f4b5,unitId:_0x233a7e}of _0x4d4aeb){if(_0x37f4b5!==_0x5b3bbc||_0x41a74f!==_0x233a7e)continue;const _0x993f09=_0x4d7ec7['Rectangle']['getIntersects'](_0x5458c9,_0x464249);if(_0x993f09){const {startColumn:_0x50cd0b,endColumn:_0x2116f9}=_0x993f09;for(let _0x5dd2fc=_0x50cd0b;_0x5dd2fc<=_0x2116f9;_0x5dd2fc++)_0x429a35[_0x570e0b(0x20f)](_0x5dd2fc);}}if(_0x429a35[_0x570e0b(0x4b6)]===_0x2fac1b||_0x429a35[_0x570e0b(0x4b6)]===_0x2fac1b)return Array[_0x570e0b(0x419)](_0x429a35);if(_0x29333c){const _0x5e2b28=_0x29333c['getMatrix'](),_0x97e146=Object['keys'](_0x5e2b28);for(const _0x1fc2c8 of _0x97e146){const _0x296cb4=Number(_0x1fc2c8),_0x50b5c3=_0x5e2b28[_0x296cb4];if(_0x429a35[_0x570e0b(0x4b6)]===_0x2fac1b)break;for(const _0x37abe0 in _0x50b5c3){const _0xae3e35=Number(_0x37abe0);_0xae3e35<_0x4b52de||_0xae3e35>_0x37dd2d||_0x429a35['add'](_0xae3e35);}}}if(_0x31279c){const _0x278b17=_0x31279c[_0x570e0b(0x432)](),_0x49cf77=Object[_0x570e0b(0x2c6)](_0x278b17);for(const _0x402a44 of _0x49cf77){const _0x257c1e=Number(_0x402a44),_0x3af801=_0x278b17[_0x257c1e];if(_0x429a35[_0x570e0b(0x4b6)]===_0x2fac1b)break;for(const _0x521896 in _0x3af801){const _0x349513=Number(_0x521896);_0x349513<_0x4b52de||_0x349513>_0x37dd2d||_0x429a35[_0x570e0b(0x20f)](_0x349513);}}}return Array[_0x570e0b(0x419)](_0x429a35);},_0x13d201=_0x29c8e3=>{const _0x4d37ef=_0x32b11e,_0x3fe60e=new Set(),_0x43a6cf=[];for(const _0x4a28fc of _0x29c8e3){const _0x59dac9=_0x4a28fc[_0x4d37ef(0x262)]+','+_0x4a28fc[_0x4d37ef(0x40d)]+','+_0x4a28fc[_0x4d37ef(0x39f)]+','+_0x4a28fc[_0x4d37ef(0x2ee)];_0x3fe60e[_0x4d37ef(0x231)](_0x59dac9)||(_0x3fe60e[_0x4d37ef(0x20f)](_0x59dac9),_0x43a6cf[_0x4d37ef(0x344)](_0x4a28fc));}return _0x43a6cf;};let _0x75f9d2=class extends _0x4d7ec7[_0x32b11e(0x44c)]{constructor(_0x5d2343,_0x1e26c5,_0x5e338d,_0x39d749,_0x2d87fe){const _0x372200=_0x32b11e;super(),_0x24fce5(this,_0x372200(0x294),new _0x5659f3[(_0x372200(0x43d))](!0x0)),_0x24fce5(this,_0x372200(0x1be),_0x20d3b0=>{const _0x5dc038=_0x372200;this[_0x5dc038(0x294)][_0x5dc038(0x3b8)](!0x1);}),_0x24fce5(this,'_globalComputedEndHelpFunc',_0x39b57a=>{const _0x584be0=_0x372200;this[_0x584be0(0x294)][_0x584be0(0x3b8)](!0x0);}),(this[_0x372200(0x1da)]=_0x5d2343,this['_featureCalculationManagerService']=_0x1e26c5,this[_0x372200(0x48b)]=_0x5e338d,this[_0x372200(0x356)]=_0x39d749,this[_0x372200(0x22d)]=_0x2d87fe,this[_0x372200(0x26e)](),this[_0x372200(0x4b3)]());}[_0x32b11e(0x26e)](){const _0x1c2ca7=_0x32b11e;this['_subjectCollectionChange'](),this[_0x1c2ca7(0x343)](),this[_0x1c2ca7(0x45b)](),this[_0x1c2ca7(0x289)]();}[_0x32b11e(0x4a9)](){const _0xafc31d=_0x32b11e;this['_globalComputingSrv'][_0xafc31d(0x1c5)](this[_0xafc31d(0x294)]),_0x5eb847[_0xafc31d(0x3f5)][_0xafc31d(0x42d)](_0x5eb847[_0xafc31d(0x2d6)]['onQueryStart'],this[_0xafc31d(0x1be)]),_0x5eb847[_0xafc31d(0x3f5)][_0xafc31d(0x42d)](_0x5eb847[_0xafc31d(0x2d6)][_0xafc31d(0x32a)],this[_0xafc31d(0x3a7)]);}[_0x32b11e(0x4b3)](){const _0x186582=_0x32b11e;this[_0x186582(0x355)](this[_0x186582(0x48b)][_0x186582(0x30d)](_0x54d885=>{const _0x3bc7a0=_0x186582;_0x54d885['id']===_0x132be5[_0x3bc7a0(0x484)]['id']&&this[_0x3bc7a0(0x1da)][_0x3bc7a0(0x428)](_0x54d885[_0x3bc7a0(0x3ce)]);})),this[_0x186582(0x355)](this['_commandService']['onCommandExecuted'](_0x15b36c=>{const _0x38454a=_0x186582;if(_0x15b36c['id']!==_0x2d6314['id'])return;const _0x87e583=_0x15b36c[_0x38454a(0x3ce)],{unitId:_0x242734,subUnitId:_0xf4ffc5,pivotTableId:_0x5b5812}=_0x87e583,_0x1450f0=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x288)],_0x258346={};switch(_0x1450f0){case _0x19355e[_0x38454a(0x43f)]:{const _0x286752=_0x87e583[_0x38454a(0x3ce)]['filter'];if(!_0x286752)return;const {row:_0x5a3ee1,col:_0x479893,cellData:_0x3854c9,pivotItemRenderInfoCache:_0x52178f,tableFieldId:_0x2cb3ed}=_0x286752,_0x25a643=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x87e583[_0x38454a(0x421)]);if(!_0x25a643||!_0x52178f)return;if(_0x2cb3ed){const _0x3d24d3=_0x25a643[_0x38454a(0x439)](_0x2cb3ed);if(!_0x3d24d3)return;_0x258346['filter']={..._0x25a643[_0x38454a(0x4b0)](_0x3d24d3),'tableFieldId':_0x2cb3ed,'pivotTableId':_0x87e583[_0x38454a(0x421)],'filterInfo':_0x25a643[_0x38454a(0x2b7)](_0x2cb3ed),'sortInfo':_0x25a643[_0x38454a(0x3ec)](_0x2cb3ed),'format':_0x25a643[_0x38454a(0x1b9)](_0x2cb3ed)};}else{const _0x270a66=_0x368785(_0x5a3ee1,_0x479893,_0x3854c9,_0x25a643,_0x52178f),_0x512868=_0x270a66==null?void 0x0:_0x270a66[_0x38454a(0x44b)];if(!_0x512868)return;const _0x427c05=_0x25a643[_0x38454a(0x439)](_0x512868);if(!_0x427c05)return;_0x258346[_0x38454a(0x3dc)]={..._0x25a643['getDataFieldItemInfo'](_0x427c05),'tableFieldId':_0x512868,'pivotTableId':_0x87e583[_0x38454a(0x421)],'filterInfo':_0x25a643[_0x38454a(0x2b7)](_0x512868),'sortInfo':_0x25a643[_0x38454a(0x3ec)](_0x512868),'format':_0x25a643[_0x38454a(0x1b9)](_0x512868)};}}break;case _0x19355e[_0x38454a(0x40c)]:{const _0x4d3bb7=_0x87e583['params']['panel'];if(!_0x4d3bb7)return;const {pivotTableId:_0xee84fc}=_0x4d3bb7,_0x3e5788=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0xee84fc);if(!_0x3e5788)return;const _0x2311d4=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0xee84fc),_0xaa0606=_0x148394(_0x3e5788,_0xee84fc,_0x2311d4);_0x258346[_0x38454a(0x1d8)]=_0xaa0606;}break;case _0x19355e[_0x38454a(0x227)]:{const _0x233a30=this[_0x38454a(0x1da)]['getPivotTableInstance'](_0x5b5812),_0x2788ec=this[_0x38454a(0x1da)][_0x38454a(0x2d2)](_0x242734),_0x2368aa=_0x2788ec['getCollection'](_0x5b5812);let _0x1aef73=null;const _0x354873=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812),_0x4fb5e4=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x2e6)];if(!_0x233a30||!_0x354873||!_0x4fb5e4)return!0x1;const {dataFieldId:_0x371959,fieldArea:_0x2f296e,index:_0x5db99a}=_0x4fb5e4;_0x233a30[_0x38454a(0x4ab)]();const _0x29abec=_0x233a30[_0x38454a(0x45e)](_0x371959,_0x2f296e,_0x5db99a);if(_0x29abec&&_0x2f296e===_0x5eb847['PivotTableFiledAreaEnum'][_0x38454a(0x254)]){const _0x2d9571=_0x29abec[_0x38454a(0x1fe)](),_0x2b61ed=_0x233a30[_0x38454a(0x439)](_0x2d9571);if(_0x2b61ed){const _0xf30a54=_0x2b61ed==null?void 0x0:_0x2b61ed[_0x38454a(0x482)]();_0x233a30[_0x38454a(0x292)](_0x29abec[_0x38454a(0x1fe)](),_0xf30a54===_0x5eb847['PivotDataFieldDataTypeEnum'][_0x38454a(0x1f5)]?_0x5eb847[_0x38454a(0x3ab)][_0x38454a(0x2ca)]:_0x5eb847[_0x38454a(0x3ab)][_0x38454a(0x49d)]);}const _0x3806b7=_0x233a30['getValueIndex'](),_0x42cfb0=_0x233a30[_0x38454a(0x3ca)](),_0x39739c=_0x233a30[_0x38454a(0x236)](_0x5eb847[_0x38454a(0x266)][_0x38454a(0x254)]);if(_0x3806b7===-0x1&&_0x39739c>0x1){const _0x114294=_0x42cfb0===_0x5eb847[_0x38454a(0x2f9)][_0x38454a(0x3c3)]?_0x5eb847[_0x38454a(0x2f9)][_0x38454a(0x27c)]:_0x42cfb0,_0xc22587=_0x114294===_0x5eb847[_0x38454a(0x2f9)]['Row']?_0x5eb847['PivotTableFiledAreaEnum'][_0x38454a(0x393)]:_0x5eb847[_0x38454a(0x266)][_0x38454a(0x27c)];_0x233a30[_0x38454a(0x3c6)](_0x114294,_0x233a30['getFieldCountByArea'](_0xc22587));}}else{if(_0x29abec&&(_0x2f296e===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x393)]||_0x2f296e===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x27c)])){const _0x20bc0d=_0x29abec[_0x38454a(0x1fe)](),_0x1cdda1=_0x233a30[_0x38454a(0x439)](_0x20bc0d);if(_0x1cdda1&&(_0x1cdda1==null?void 0x0:_0x1cdda1[_0x38454a(0x482)]())===_0x5eb847['PivotDataFieldDataTypeEnum'][_0x38454a(0x3b2)]){const _0x5c948a=_0x1cdda1[_0x38454a(0x447)]();if(_0x5c948a&&_0x233a30[_0x38454a(0x264)](_0x29abec[_0x38454a(0x1fe)](),_0x5c948a),!_0x2368aa['getFieldIds']()[_0x38454a(0x2e5)](_0x31371b=>{const _0x303710=_0x38454a,_0x2eaa8b=_0x2368aa[_0x303710(0x318)](_0x31371b);return _0x5eb847[_0x303710(0x2fd)](_0x2eaa8b)?_0x2eaa8b[_0x303710(0x3b0)]()['originalFieldId']===_0x371959:!0x1;})){const _0x42d11c=_0x2788ec['createDataFieldId'](),_0x37081d=_0x358070(_0x1cdda1[_0x38454a(0x3cd)],_0x1cdda1[_0x38454a(0x1bd)]),_0x207a05=_0x1cdda1[_0x38454a(0x440)]()+_0x38454a(0x467)+_0x360540(this[_0x38454a(0x22d)],_0x37081d),_0x8ad8ca=new _0x5eb847['DateGroupField'](_0x42d11c,_0x207a05,_0x5eb847[_0x38454a(0x28e)](0x3),_0x1cdda1[_0x38454a(0x1fe)](),_0x37081d);_0x2788ec[_0x38454a(0x1af)](_0x8ad8ca),_0x2368aa[_0x38454a(0x3bf)](_0x42d11c,_0x207a05),_0x233a30[_0x38454a(0x45e)](_0x42d11c,_0x2f296e,(_0x5db99a!=null?_0x5db99a:0x0)+0x1),_0x1aef73=_0x8ad8ca;}}}}const _0x67c601=_0x233a30[_0x38454a(0x395)](),_0x1df1ab=_0x233a30['query']()[_0x38454a(0x376)]();let _0x4378bd;if(_0x1aef73){_0x4378bd=_0x1aef73[_0x38454a(0x376)]();const _0x2c4e7f=_0x1aef73[_0x38454a(0x1fe)]();_0x2368aa[_0x38454a(0x3a2)](_0x2c4e7f);let _0x2341d5=!0x0;for(const _0x1865ed in _0x2788ec[_0x38454a(0x3f7)])if(_0x2788ec[_0x38454a(0x3f7)][_0x1865ed][_0x38454a(0x3ed)]()[_0x38454a(0x3aa)](_0x2c4e7f)){_0x2341d5=!0x1;break;}_0x2341d5&&_0x2788ec[_0x38454a(0x3fd)](_0x2c4e7f);}const _0x244302=_0x233a30[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x2e6)]={'view':_0x1df1ab,'changesets':_0x244302,'isEmpty':_0x67c601,'pivotTableConfig':_0x354873,'shouldBeAddedGroupJSON':_0x4378bd};}break;case _0x19355e[_0x38454a(0x1ee)]:{const _0x356b0a=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x18e)];if(!_0x356b0a)return;const _0xd441c8=_0x356b0a[_0x38454a(0x261)],_0x3e3f52=_0x356b0a['pivotTableId'],{collection:_0x441314}=this['_sheetsPivotDataSourceModel'][_0x38454a(0x253)]({'unitId':_0xd441c8[_0x38454a(0x3e4)],'sheetName':_0xd441c8[_0x38454a(0x1ef)],'subUnitId':_0xd441c8[_0x38454a(0x258)],'range':_0xd441c8['range']}),_0x44ddce=new _0x5eb847[(_0x38454a(0x3f5))](_0x441314,void 0x0,_0x3e3f52),_0x42e9a7=_0x44ddce[_0x38454a(0x361)](),_0x490318=_0x44ddce[_0x38454a(0x376)](),_0xd1a119=_0x441314['toJSON']();_0x258346[_0x38454a(0x18e)]={'view':_0x42e9a7,'fieldsConfig':_0x490318,'collectionConfig':_0xd1a119,'isEmpty':_0x44ddce['isEmpty']()};}break;case _0x19355e[_0x38454a(0x1b6)]:{const _0x18b8c7=_0x87e583['params'][_0x38454a(0x441)];if(!_0x18b8c7)return;const {fieldId:_0x222e87,area:_0x5cfda0,index:_0x17cbfd}=_0x18b8c7,_0x4173ee=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x4173ee)return;const _0x3a739f=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812);if(!_0x3a739f)return;_0x3a739f[_0x38454a(0x4ab)]();const {area:_0x18046d,index:_0x476583}=_0x3a739f[_0x38454a(0x22c)](_0x222e87);if(_0x3a739f['updateFieldPosition'](_0x222e87,_0x5cfda0,_0x17cbfd),_0x5cfda0===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x254)]&&_0x3a739f[_0x38454a(0x42c)](_0x222e87)[_0x38454a(0x1a5)]()===void 0x0){const _0x5bbadd=_0x3a739f[_0x38454a(0x42c)](_0x222e87);if(_0x5bbadd&&_0x5bbadd[_0x38454a(0x1a5)]()===void 0x0){const _0x1d8a6b=_0x3a739f[_0x38454a(0x439)](_0x222e87);if(_0x1d8a6b){const _0x37d04a=_0x1d8a6b==null?void 0x0:_0x1d8a6b[_0x38454a(0x482)]();_0x3a739f[_0x38454a(0x292)](_0x222e87,_0x37d04a===_0x5eb847[_0x38454a(0x1fd)][_0x38454a(0x1f5)]?_0x5eb847[_0x38454a(0x3ab)][_0x38454a(0x2ca)]:_0x5eb847[_0x38454a(0x3ab)][_0x38454a(0x49d)]);}}}const _0x1d8deb=_0x3a739f['getValuePosition'](),_0x5d1ea3=_0x3a739f[_0x38454a(0x2cc)](),_0x21b33c=_0x3a739f[_0x38454a(0x236)](_0x5eb847[_0x38454a(0x266)][_0x38454a(0x254)])>0x1;if(_0x21b33c&&_0x18046d===_0x5cfda0&&(_0x5cfda0===_0x5eb847['PivotTableFiledAreaEnum'][_0x38454a(0x393)]&&_0x1d8deb===_0x5eb847['PivotTableValuePositionEnum'][_0x38454a(0x393)]||_0x5cfda0===_0x5eb847[_0x38454a(0x266)]['Column']&&_0x1d8deb===_0x5eb847['PivotTableValuePositionEnum'][_0x38454a(0x27c)])){let _0x3056e4=_0x5d1ea3;_0x476583<=_0x5d1ea3&&_0x3056e4--,_0x17cbfd<=_0x5d1ea3&&_0x3056e4++,_0x3a739f[_0x38454a(0x3c6)](_0x1d8deb,_0x3056e4);}else _0x21b33c&&(_0x18046d===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x393)]&&_0x1d8deb===_0x5eb847[_0x38454a(0x2f9)][_0x38454a(0x393)]||_0x18046d===_0x5eb847[_0x38454a(0x266)]['Column']&&_0x1d8deb===_0x5eb847[_0x38454a(0x2f9)]['Column'])&&_0x5d1ea3>=_0x476583&&_0x3a739f['updateValuePosition'](_0x1d8deb,_0x5d1ea3-0x1),_0x21b33c&&(_0x5cfda0===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x393)]&&_0x1d8deb===_0x5eb847[_0x38454a(0x2f9)][_0x38454a(0x393)]||_0x5cfda0===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x27c)]&&_0x1d8deb===_0x5eb847[_0x38454a(0x2f9)][_0x38454a(0x27c)])&&_0x5d1ea3>=_0x17cbfd&&_0x3a739f[_0x38454a(0x3c6)](_0x1d8deb,_0x5d1ea3+0x1);const _0xdb034b=_0x3a739f[_0x38454a(0x361)](),_0x3b4bb0=_0x3a739f[_0x38454a(0x395)](),_0x5a11c0=_0x3a739f[_0x38454a(0x2a7)]();_0x258346['movePivotField']={'view':_0xdb034b[_0x38454a(0x376)](),'changesets':_0x5a11c0,'isEmpty':_0x3b4bb0,'pivotTableConfig':_0x4173ee};}break;case _0x19355e['RemovePivotField']:{const _0x44043a=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x34e)];if(!_0x44043a)return;const _0x197d10=_0x44043a['fieldIds'],_0x5cd838=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x5cd838)return!0x1;const _0x4d4fa4=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812);if(!_0x4d4fa4)return!0x1;_0x4d4fa4[_0x38454a(0x4ab)]();for(const _0x40f2a6 of _0x197d10){const {area:_0x6b61b7}=_0x4d4fa4['getFieldPositionInfoById'](_0x40f2a6);_0x6b61b7===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x254)]&&_0x4d4fa4[_0x38454a(0x33b)](_0x40f2a6),(_0x6b61b7===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x393)]||_0x6b61b7===_0x5eb847[_0x38454a(0x266)][_0x38454a(0x27c)])&&_0x4d4fa4['removeValueFilterInfo'](_0x40f2a6),_0x4d4fa4[_0x38454a(0x3ff)](_0x40f2a6);}const _0x3d501f=_0x4d4fa4[_0x38454a(0x395)](),_0x34af44=_0x4d4fa4[_0x38454a(0x361)]()[_0x38454a(0x376)](),_0x4d38cc=_0x4d4fa4[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x34e)]={'changesets':_0x4d38cc,'pivotTableConfig':_0x5cd838,'isEmpty':_0x3d501f,'view':_0x34af44};}break;case _0x19355e['SetPivotFilter']:{const _0x393d96=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x217)];if(!_0x393d96)return;const {tableFieldId:_0x5caa0f,items:_0x1b4c60,isAll:_0x3ad53a}=_0x393d96,_0x4e105c=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812),_0x582e10=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x4e105c||!_0x582e10)return;_0x4e105c[_0x38454a(0x4ab)](),_0x4e105c[_0x38454a(0x3a8)](_0x5caa0f,{'type':_0x5eb847[_0x38454a(0x3bd)][_0x38454a(0x313)],'list':_0x1b4c60,'isAll':_0x3ad53a});const _0x13b651=_0x4e105c[_0x38454a(0x395)](),_0x128109=_0x4e105c['query']()[_0x38454a(0x376)](),_0x2268a8=_0x4e105c[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x217)]={'view':_0x128109,'changesets':_0x2268a8,'isEmpty':_0x13b651,'pivotTableConfig':_0x582e10};}break;case _0x19355e[_0x38454a(0x3a4)]:{const _0x538555=_0x87e583[_0x38454a(0x3ce)]['setValuePivotFilter'];if(!_0x538555)return;const {tableFieldId:_0x3a5fa1,filterInfo:_0x53709d}=_0x538555,_0x1f544f=this[_0x38454a(0x1da)]['getPivotTableInstance'](_0x5b5812),_0x2d4703=this['_sheetsPivotDataSourceModel'][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x1f544f||!_0x2d4703)return;_0x1f544f[_0x38454a(0x4ab)](),_0x1f544f[_0x38454a(0x2dd)](_0x3a5fa1,_0x53709d);const _0x162ab6=_0x1f544f[_0x38454a(0x395)](),_0x2f0155=_0x1f544f[_0x38454a(0x361)]()[_0x38454a(0x376)](),_0x7c64ca=_0x1f544f[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x3f2)]={'view':_0x2f0155,'changesets':_0x7c64ca,'isEmpty':_0x162ab6,'pivotTableConfig':_0x2d4703};}break;case _0x19355e[_0x38454a(0x333)]:{const _0x2c9998=_0x87e583[_0x38454a(0x3ce)]['setPivotSort'];if(!_0x2c9998)return;const {tableFieldId:_0xd67e16,info:_0x59bb0c}=_0x2c9998,_0xfee5cd=this['_sheetsPivotDataSourceModel'][_0x38454a(0x37c)](_0x5b5812),_0x26aede=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0xfee5cd||!_0x26aede)return;_0xfee5cd[_0x38454a(0x4ab)](),_0xfee5cd[_0x38454a(0x28f)](_0xd67e16,_0x59bb0c);const _0x31bff5=_0xfee5cd[_0x38454a(0x395)](),_0x5bf6d6=_0xfee5cd[_0x38454a(0x361)]()[_0x38454a(0x376)](),_0x2276f9=_0xfee5cd[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x234)]={'view':_0x5bf6d6,'changesets':_0x2276f9,'isEmpty':_0x31bff5,'pivotTableConfig':_0x26aede};}break;case _0x19355e['SetPivotSetting']:{const _0x235492=_0x87e583['params']['setPivotSetting'];if(!_0x235492)return;const {tableFieldId:_0x49992e,displayName:_0xdd0d76,subtotalType:_0x23cf61,format:_0x4c6f61}=_0x235492,_0x3e3e4f=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812),_0x3ea527=this['_sheetsPivotDataSourceModel'][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x3e3e4f||!_0x3ea527)return;_0x3e3e4f['startCollectChangeset'](),_0xdd0d76!==void 0x0&&_0x3e3e4f['renameField'](_0x49992e,_0xdd0d76),_0x23cf61!==void 0x0&&_0x3e3e4f[_0x38454a(0x292)](_0x49992e,_0x23cf61),_0x4c6f61!==void 0x0&&_0x3e3e4f[_0x38454a(0x264)](_0x49992e,_0x4c6f61);const _0x162618=_0x3e3e4f[_0x38454a(0x395)](),_0x398930=_0x3e3e4f[_0x38454a(0x361)]()['toJSON'](),_0x501580=_0x3e3e4f[_0x38454a(0x2a7)]();_0x258346['setPivotSetting']={'changesets':_0x501580,'pivotTableConfig':_0x3ea527,'isEmpty':_0x162618,'view':_0x398930};}break;case _0x19355e[_0x38454a(0x379)]:{const _0x545e92=_0x87e583[_0x38454a(0x3ce)]['updatePivotSource'];if(!_0x545e92)return;const {dataRangeInfo:_0x132fd2,unitId:_0x2f75eb,subUnitId:_0x52815d}=_0x545e92,_0x1d4b7a=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2f75eb,_0x52815d,_0x5b5812),_0x46cc3f=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812);if(!this[_0x38454a(0x1da)][_0x38454a(0x334)](_0x2f75eb,_0x5b5812)||!_0x46cc3f||!_0x1d4b7a)return;const _0x4741ab=this['_sheetsPivotDataSourceModel'][_0x38454a(0x1fb)](_0x2f75eb,_0x5b5812,_0x132fd2),_0x377bac=this[_0x38454a(0x1da)][_0x38454a(0x334)](_0x2f75eb,_0x5b5812)[_0x38454a(0x376)](),{collection:_0x2851e9}=this[_0x38454a(0x1da)]['createCollectionWithDataRange']({'unitId':_0x132fd2[_0x38454a(0x3e4)],'sheetName':_0x132fd2['sheetName'],'subUnitId':_0x132fd2[_0x38454a(0x258)],'range':_0x132fd2[_0x38454a(0x18d)]}),_0x2b4ef2=_0x2851e9[_0x38454a(0x376)]();_0x46cc3f[_0x38454a(0x4ab)]();const _0xa26960=this[_0x38454a(0x1da)][_0x38454a(0x2d2)](_0x2f75eb)['getAutoDisplayNameFunction']()||_0x5eb847[_0x38454a(0x378)];_0x46cc3f[_0x38454a(0x3f6)](_0x51e444=>{const _0x18f37b=_0x38454a,_0x163e28=_0x51e444[_0x18f37b(0x38b)]();if(!_0x2851e9[_0x18f37b(0x347)](_0x163e28)){const _0x358e14=_0x2851e9[_0x18f37b(0x249)](_0x51e444[_0x18f37b(0x24d)]());if(_0x358e14){_0x46cc3f[_0x18f37b(0x49f)](_0x51e444[_0x18f37b(0x1fe)](),_0x358e14[_0x18f37b(0x440)](),_0x358e14[_0x18f37b(0x1fe)]());const {area:_0x3e6745}=_0x46cc3f[_0x18f37b(0x22c)](_0x51e444[_0x18f37b(0x1fe)]());let _0x2b0804=_0x51e444[_0x18f37b(0x24d)]();const _0x154d94=_0x51e444['getDisplayName']();if(_0x3e6745===_0x5eb847[_0x18f37b(0x266)]['Value']){const _0x24bc7e=_0x51e444['getSubtotal']();_0x2b0804=_0xa26960(_0x358e14['getName'](),_0x24bc7e);}_0x154d94!==_0x2b0804&&_0x46cc3f['renameField'](_0x51e444[_0x18f37b(0x1fe)](),_0x2b0804);}else _0x46cc3f[_0x18f37b(0x3ff)](_0x51e444['getId']());}});const _0x1c2a9e=_0x46cc3f[_0x38454a(0x395)](),_0xdd9f67=_0x46cc3f['query']()['toJSON'](),_0x4560bf=_0x46cc3f[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x3e3)]={'view':_0xdd9f67,'changesets':_0x4560bf,'isEmpty':_0x1c2a9e,'pivotTableConfig':_0x1d4b7a,'collectionConfig':_0x2b4ef2,'oldCollectionConfig':_0x377bac,'deleteIds':_0x4741ab};}break;case _0x19355e['UpdateValuePosition']:{const _0x11e1e7=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x3c6)];if(!_0x11e1e7)return;const {position:_0x18456e,index:_0x570fc4}=_0x11e1e7,_0x2c27da=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x2c27da)return!0x1;const _0x2222e0=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x5b5812);if(!_0x2222e0)return!0x1;_0x2222e0[_0x38454a(0x4ab)](),_0x2222e0['updateValuePosition'](_0x18456e,_0x570fc4);const _0x3981bb=_0x2222e0[_0x38454a(0x395)](),_0x392ec1=_0x2222e0[_0x38454a(0x361)]()[_0x38454a(0x376)](),_0x14a4b5=_0x2222e0[_0x38454a(0x2a7)]();_0x258346['updateValuePosition']={'changesets':_0x14a4b5,'pivotTableConfig':_0x2c27da,'isEmpty':_0x3981bb,'view':_0x392ec1};}break;case _0x19355e[_0x38454a(0x287)]:{const _0x12196b=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x387)];if(!_0x12196b)return;const {tableFieldId:_0x101656,collapse:_0xb10740,item:_0x29c256}=_0x12196b,_0x15e0b2=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812),_0x2e70a3=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x15e0b2||!_0x2e70a3)return;_0x15e0b2[_0x38454a(0x4ab)](),_0x15e0b2[_0x38454a(0x2e7)](_0x101656,_0xb10740,_0x29c256);const _0x1a319b=_0x15e0b2[_0x38454a(0x395)](),_0x11b0cf=_0x15e0b2[_0x38454a(0x361)]()['toJSON'](),_0x450fd2=_0x15e0b2[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x387)]={'view':_0x11b0cf,'isEmpty':_0x1a319b,'pivotTableConfig':_0x2e70a3,'changesets':_0x450fd2};}break;case _0x19355e[_0x38454a(0x1c2)]:{const _0x590a07=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x1e4)];if(!_0x590a07)return;const {pivotTableConfig:_0x15a431}=_0x590a07,_0x1d946b=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812),_0x2e4b59=this[_0x38454a(0x1da)][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x1d946b||!_0x2e4b59)return;_0x1d946b[_0x38454a(0x4ab)](),_0x5dac7d(_0x1d946b,_0x15a431);const _0x13a68f=_0x1d946b[_0x38454a(0x395)](),_0x4a6dfc=_0x1d946b['query']()[_0x38454a(0x376)](),_0x4c82de=_0x1d946b[_0x38454a(0x2a7)]();_0x258346['setPivotTableConfig']={'view':_0x4a6dfc,'isEmpty':_0x13a68f,'pivotTableConfig':{..._0x2e4b59,'fieldsConfig':_0x1d946b[_0x38454a(0x376)]()},'changesets':_0x4c82de};}break;case _0x19355e['ResetPivotTable']:{const _0x3a4b28=_0x87e583['params'][_0x38454a(0x1f9)];if(!_0x3a4b28)return;const _0x1f80c4=this[_0x38454a(0x1da)][_0x38454a(0x37c)](_0x5b5812),_0x3fdf96=this['_sheetsPivotDataSourceModel'][_0x38454a(0x3f0)](_0x242734,_0xf4ffc5,_0x5b5812);if(!_0x1f80c4||!_0x3fdf96)return;_0x1f80c4[_0x38454a(0x4ab)](),_0x21a5ec(_0x1f80c4,_0x3a4b28[_0x38454a(0x35a)]);const _0x4a11f7=_0x1f80c4[_0x38454a(0x361)]()[_0x38454a(0x376)](),_0x3f4e29=_0x1f80c4[_0x38454a(0x2a7)]();_0x258346[_0x38454a(0x1f9)]={'view':_0x4a11f7,'isEmpty':!0x0,'pivotTableConfig':{..._0x3fdf96,'fieldsConfig':_0x1f80c4[_0x38454a(0x376)]()},'changesets':_0x3f4e29};}break;case _0x19355e[_0x38454a(0x23f)]:{const _0x9c591f=_0x87e583[_0x38454a(0x3ce)][_0x38454a(0x20d)];if(!_0x9c591f)return;const _0x9949fe=_0x9c591f[_0x38454a(0x261)],_0x288edf=_0x9c591f[_0x38454a(0x421)],{collection:_0x280b60}=this[_0x38454a(0x1da)]['createCollectionWithDataRange']({'unitId':_0x9949fe[_0x38454a(0x3e4)],'sheetName':_0x9949fe[_0x38454a(0x1ef)],'subUnitId':_0x9949fe['subUnitId'],'range':_0x9949fe[_0x38454a(0x18d)]}),_0x5cc1b1=new _0x5eb847['PivotTable'](_0x280b60,void 0x0,_0x288edf),_0x4a0b29=_0x280b60[_0x38454a(0x3ed)](),{rows:_0x528fa9,columns:_0x48ffb5,filters:_0x4b6e2e,values:_0xd35ba4}=_0x9c591f['pivotTableIndexConfig'];_0x5cc1b1[_0x38454a(0x4ab)]();for(const {field:_0x3bb818,selectedItems:_0x2c7a1e}of _0x528fa9||[]){const _0x338bc5=_0x4a0b29[_0x3bb818];if(_0x338bc5){const _0x5e1c88=_0x5cc1b1[_0x38454a(0x45e)](_0x338bc5,_0x5eb847['PivotTableFiledAreaEnum'][_0x38454a(0x393)]);_0x2c7a1e&&_0x5e1c88&&_0x5cc1b1[_0x38454a(0x3a8)](_0x5e1c88[_0x38454a(0x1fe)](),{'type':_0x5eb847['PivotFilterTypeEnum'][_0x38454a(0x313)],'list':_0x2c7a1e,'isAll':!0x1});}}for(const {field:_0x3196f1,selectedItems:_0x6bac9e}of _0x48ffb5||[]){const _0x25dd23=_0x4a0b29[_0x3196f1];if(_0x25dd23){const _0x289e7d=_0x5cc1b1[_0x38454a(0x45e)](_0x25dd23,_0x5eb847[_0x38454a(0x266)][_0x38454a(0x27c)]);_0x6bac9e&&_0x289e7d&&_0x5cc1b1[_0x38454a(0x3a8)](_0x289e7d[_0x38454a(0x1fe)](),{'type':_0x5eb847[_0x38454a(0x3bd)]['ManualFilter'],'list':_0x6bac9e,'isAll':!0x1});}}for(const {field:_0x49a342,selectedItems:_0x5c878c}of _0x4b6e2e||[]){const _0x3ad2cc=_0x4a0b29[_0x49a342];if(_0x3ad2cc){const _0x2cd498=_0x5cc1b1[_0x38454a(0x45e)](_0x3ad2cc,_0x5eb847['PivotTableFiledAreaEnum'][_0x38454a(0x43f)]);_0x5c878c&&_0x2cd498&&_0x5cc1b1[_0x38454a(0x3a8)](_0x2cd498[_0x38454a(0x1fe)](),{'type':_0x5eb847[_0x38454a(0x3bd)][_0x38454a(0x313)],'list':_0x5c878c,'isAll':!0x1});}}for(const {field:_0x51301c,subTotalType:_0x30d7b8,formatString:_0x2a6114}of _0xd35ba4||[]){const _0x2652ca=_0x280b60[_0x38454a(0x318)](_0x4a0b29[_0x51301c]);if(!_0x2652ca)continue;const _0x23b749=_0x4a0b29[_0x51301c];if(_0x23b749){const _0x59188d=_0x5cc1b1['addFieldWithSourceId'](_0x23b749,_0x5eb847[_0x38454a(0x266)][_0x38454a(0x254)]);if(_0x59188d){if(_0x30d7b8!==void 0x0){_0x5cc1b1[_0x38454a(0x292)](_0x59188d[_0x38454a(0x1fe)](),_0x30d7b8);const _0x4b791e=this['_sheetsPivotDataSourceModel'][_0x38454a(0x2d2)](_0x9949fe[_0x38454a(0x3e4)])[_0x38454a(0x257)]()||_0x5eb847['getAutoDisplayName'],_0x59eb5e=_0x280b60[_0x38454a(0x23a)](_0x23b749),_0x224109=_0x4b791e(_0x59eb5e,_0x30d7b8);_0x5cc1b1[_0x38454a(0x1c9)](_0x59188d[_0x38454a(0x1fe)](),_0x224109);}else{if(_0x2652ca){const _0x560246=_0x2652ca==null?void 0x0:_0x2652ca[_0x38454a(0x482)]();_0x5cc1b1[_0x38454a(0x292)](_0x59188d[_0x38454a(0x1fe)](),_0x560246===_0x5eb847[_0x38454a(0x1fd)][_0x38454a(0x1f5)]?_0x5eb847[_0x38454a(0x3ab)][_0x38454a(0x2ca)]:_0x5eb847[_0x38454a(0x3ab)][_0x38454a(0x49d)]);}}_0x2a6114&&_0x5cc1b1[_0x38454a(0x264)](_0x59188d[_0x38454a(0x1fe)](),_0x2a6114);}}}const _0x281a42=_0x5cc1b1['query'](),_0x39f8d7=_0x5cc1b1[_0x38454a(0x376)](),_0x5bbe97=_0x5cc1b1[_0x38454a(0x395)](),_0x459337=_0x5cc1b1[_0x38454a(0x2a7)](),_0x1e3a62=_0x280b60[_0x38454a(0x376)]();_0x258346[_0x38454a(0x20d)]={'view':_0x281a42,'fieldsConfig':_0x39f8d7,'collectionConfig':_0x1e3a62,'isEmpty':_0x5bbe97,'changesets':_0x459337};}break;case _0x19355e['DrillDown']:{const _0x5b9320=_0x2cbb87(this[_0x38454a(0x22d)],_0x87e583);if(!_0x5b9320)return;const {range:_0x13f5cc,sourceSubUnitId:_0x1c0528,sourceUnitId:_0x2871d5,formatMap:_0x100054,indexes:_0x10c74e}=_0x5b9320;_0x258346[_0x38454a(0x195)]={'range':_0x13f5cc,'sourceSubUnitId':_0x1c0528,'sourceUnitId':_0x2871d5,'formatMap':_0x100054,'indexes':_0x10c74e};}break;}this[_0x38454a(0x48b)][_0x38454a(0x238)](_0x1927fa['id'],{'version':_0x87e583[_0x38454a(0x27e)],'result':_0x258346},{'onlyLocal':!0x0});}));}[_0x32b11e(0x45b)](){const _0x5c61ac=_0x32b11e;this[_0x5c61ac(0x355)](this['_commandService']['onCommandExecuted'](_0x5264e7=>{const _0x2a3c24=_0x5c61ac;if(_0x5264e7['id']!==_0x571d06['id'])return;const _0x150914=_0x5264e7[_0x2a3c24(0x3ce)];return this[_0x2a3c24(0x1da)][_0x2a3c24(0x443)](_0x150914[_0x2a3c24(0x200)]),!0x0;}));}[_0x32b11e(0x2db)](){const _0x56a8e1=_0x32b11e;this['_sheetsPivotDataSourceModel'][_0x56a8e1(0x224)]['subscribe'](_0x443fee=>{const _0x5cb713=_0x56a8e1;switch(_0x443fee[_0x5cb713(0x288)]){case _0x2882c5['add']:_0x443fee['dataRangeInfo']&&_0x443fee[_0x5cb713(0x3ae)]&&this['handleSourceRangeChange'](_0x443fee[_0x5cb713(0x4ae)],_0x443fee[_0x5cb713(0x442)],_0x443fee['targetCellInfo']);break;case _0x2882c5[_0x5cb713(0x494)]:{const {unitId:_0x5b4d24,subUnitId:_0x53c060,token:_0x4b361f}=_0x443fee;_0x5b4d24&&_0x53c060&&_0x4b361f&&this[_0x5cb713(0x429)](_0x5b4d24,_0x53c060,_0x4b361f);}break;case _0x2882c5[_0x5cb713(0x435)]:{const {token:_0xca584b,oldSourceRangeInfo:_0x7b1661,dataRangeInfo:_0x82da8e,targetCellInfo:_0x5ac0ae}=_0x443fee,{unitId:_0xa3db0,subUnitId:_0x45d9c5}=_0x7b1661||{};_0xa3db0&&_0x45d9c5&&_0xca584b&&this['removeSourceRangeChange'](_0xa3db0,_0x45d9c5,_0xca584b),_0x82da8e&&_0x5ac0ae&&this['handleSourceRangeChange'](_0xca584b,_0x82da8e,_0x5ac0ae);}break;}});}[_0x32b11e(0x289)](){const _0x38eb99=_0x32b11e;this['_sheetsPivotDataSourceModel']['fieldsCollectionChange$'][_0x38eb99(0x495)](_0x14200d=>{const _0x3beae8=_0x38eb99;Object['keys'](_0x14200d)[_0x3beae8(0x408)](_0x5c984d=>{const _0x2d112=_0x3beae8,_0xf082ca=this[_0x2d112(0x1da)]['getTargetByPivotId'](_0x5c984d);if(_0xf082ca){const _0x5d6a89=this[_0x2d112(0x1da)][_0x2d112(0x3f0)](_0xf082ca==null?void 0x0:_0xf082ca[_0x2d112(0x3e4)],_0xf082ca==null?void 0x0:_0xf082ca['subUnitId'],_0x5c984d);_0x5d6a89&&(this['handleSourceRangeChange'](_0x5c984d,_0x5d6a89[_0x2d112(0x261)],_0x5d6a89[_0x2d112(0x3ae)]),this[_0x2d112(0x205)]([{'unitId':_0xf082ca[_0x2d112(0x3e4)],'subUnitId':_0xf082ca[_0x2d112(0x258)],'token':_0x5c984d}]));}});});}[_0x32b11e(0x343)](){const _0x4b34bd=_0x32b11e;this[_0x4b34bd(0x1da)][_0x4b34bd(0x466)][_0x4b34bd(0x495)](_0x4b4609=>{const _0x4dcaf2=_0x4b34bd,{unitId:_0x5ec8d8,subUnitId:_0xa3ba81,pivotTableId:_0x184cfc}=_0x4b4609;_0x5ec8d8&&_0xa3ba81&&_0x184cfc&&this[_0x4dcaf2(0x205)]([{'unitId':_0x5ec8d8,'subUnitId':_0xa3ba81,'token':_0x184cfc}]);});}[_0x32b11e(0x205)](_0x20b819){const _0xc6987c=_0x32b11e,_0x21275c={};_0x20b819[_0xc6987c(0x408)](_0x1bc649=>{var _0x28cbd2,_0xe38e1c;const {unitId:_0x36fd11,subUnitId:_0x1d3cdf,token:_0x7b15c0}=_0x1bc649;_0x21275c[_0x36fd11]=(_0x28cbd2=_0x21275c[_0x36fd11])!=null?_0x28cbd2:{},_0x21275c[_0x36fd11][_0x1d3cdf]=(_0xe38e1c=_0x21275c[_0x36fd11][_0x1d3cdf])!=null?_0xe38e1c:{},_0x21275c[_0x36fd11][_0x1d3cdf][_0x7b15c0]=!0x0;}),this[_0xc6987c(0x48b)]['executeCommand'](_0x45b06c['id'],_0x21275c);}['removeSourceRangeChange'](_0x519457,_0x32f41e,_0x59b345){const _0x71375b=_0x32b11e;this[_0x71375b(0x4b7)][_0x71375b(0x451)](_0x519457,_0x32f41e,[_0x59b345]);}[_0x32b11e(0x3e9)](_0x254b0d,_0x44dd99,_0xe0f07a){const _0x28ba9d=_0x32b11e,{unitId:_0x3e3217,subUnitId:_0x12f843}=_0x44dd99;this[_0x28ba9d(0x4b7)][_0x28ba9d(0x231)](_0xe0f07a[_0x28ba9d(0x3e4)],_0xe0f07a[_0x28ba9d(0x258)],_0x254b0d)&&this[_0x28ba9d(0x429)](_0x3e3217,_0x12f843,_0x254b0d);const _0xb17cbf={'sheetId':_0x12f843,..._0x44dd99};this[_0x28ba9d(0x4b7)][_0x28ba9d(0x331)](_0xe0f07a['unitId'],_0xe0f07a[_0x28ba9d(0x258)],_0x254b0d,{'unitId':_0xe0f07a['unitId'],'subUnitId':_0xe0f07a[_0x28ba9d(0x258)],'dependencyRanges':[_0xb17cbf],'getDirtyData':(_0x2e8936,_0xfe1703)=>{const _0x1d7908=_0x28ba9d,_0x22bddd=this['_sheetsPivotDataSourceModel'],_0x4fa12e=_0x22bddd[_0x1d7908(0x283)](_0x254b0d);if(!_0x4fa12e)return _0xb005b5();const {unitId:_0x4e46b1,subUnitId:_0x2aba4e}=_0x4fa12e,_0x561df1=_0x16ae26(_0x2e8936,_0xfe1703,_0x44dd99);if(_0x561df1[_0x1d7908(0x30f)]>0x0){const _0x5e26ca=_0x22bddd[_0x1d7908(0x334)](_0x3e3217,_0x254b0d),_0xf61f54=_0x5e26ca[_0x1d7908(0x3ed)](),_0x4620fa=this[_0x1d7908(0x2a3)](_0x44dd99[_0x1d7908(0x3e4)],_0x44dd99[_0x1d7908(0x258)],_0xfe1703),_0x45967a={},_0x9f8eef=this[_0x1d7908(0x1da)][_0x1d7908(0x2d2)](_0x4e46b1)['getAutoDisplayNameFunction']()||_0x5eb847[_0x1d7908(0x378)],_0x4eac3a=[];for(const _0x48ec69 of _0x561df1){const _0x5e6b8d=_0x48ec69-(_0x44dd99[_0x1d7908(0x18d)][_0x1d7908(0x39f)]||0x0),_0x5e65fc=_0xf61f54[_0x5e6b8d];_0x4eac3a[_0x1d7908(0x344)](_0x5e65fc),_0x45967a[_0x5e65fc]=_0x5e26ca[_0x1d7908(0x318)](_0x5e65fc)[_0x1d7908(0x440)](),_0x22bddd['getDataFieldManager'](_0x3e3217)[_0x1d7908(0x3b7)](_0x5e65fc,_0x44dd99,_0x5e6b8d,_0x4620fa);}_0x5e26ca[_0x1d7908(0x42e)](_0x4eac3a)['forEach'](_0x4a7400=>{const _0x1cd75e=_0x1d7908,[_0xcbf031,_0x36aced]=_0x4a7400,_0x473d14=_0x5e26ca['getFieldById'](_0xcbf031),_0x2efc84=_0x5e26ca['getFieldById'](_0x36aced);_0x473d14&&_0x2efc84&&_0x473d14[_0x1cd75e(0x366)](_0x2efc84);}),_0x5e26ca[_0x1d7908(0x45c)]();const _0x406206=_0x22bddd[_0x1d7908(0x37c)](_0x254b0d);if(_0x406206){_0x280f33(_0x406206,_0x45967a,_0x9f8eef),_0x406206[_0x1d7908(0x381)](!0x0);const _0x1d0e74=_0x406206['query'](),_0x27c7cd=_0x22bddd[_0x1d7908(0x3f0)](_0x4e46b1,_0x2aba4e,_0x254b0d),_0x2e03e8=_0x22bddd['getDataFieldManager'](_0x3e3217)[_0x1d7908(0x376)]();_0x22bddd[_0x1d7908(0x438)](_0x4e46b1,_0x2aba4e,_0x4e6aa2[_0x1d7908(0x476)],_0x254b0d,_0x1d0e74,_0x27c7cd,_0x2e03e8,!0x0);}}return this[_0x1d7908(0x34c)](_0x4e46b1,_0x2aba4e,_0x254b0d);}});}[_0x32b11e(0x2a3)](_0x5972e4,_0x165735,_0x4f78bc){var _0x4a53fe,_0x1ec612;const {arrayFormulaCellData:_0x14eea5,unitData:_0x5d94d1}=_0x4f78bc,_0x3ebd0e=(_0x4a53fe=_0x14eea5==null?void 0x0:_0x14eea5[_0x5972e4])==null?void 0x0:_0x4a53fe[_0x165735],_0x136f67=(_0x1ec612=_0x5d94d1==null?void 0x0:_0x5d94d1[_0x5972e4])==null?void 0x0:_0x1ec612[_0x165735];return{'arrayFormulaCellDataMatrix':_0x3ebd0e,'unitDataMatrix':_0x136f67};}['getDirtyInfo'](_0x214eeb,_0x447e0e,_0x26e98b){const _0x21bbb4=_0x32b11e,_0x30bd01=this[_0x21bbb4(0x1da)][_0x21bbb4(0x363)](_0x214eeb,_0x447e0e,_0x26e98b),_0x14a99a=[],_0x5984ea=new _0x4d7ec7[(_0x21bbb4(0x2f4))]();if(_0x30bd01){const {rangeCache:_0x1601e9,matrix:_0x1eae75,oldRangeCache:_0x3354b3,oldMatrix:_0x32a85e}=_0x30bd01,_0x233974=_0x277844(_0x3354b3),_0x1e845b=_0x277844(_0x1601e9);_0x14a99a[_0x21bbb4(0x344)](..._0x1e845b,..._0x233974),_0x32a85e&&_0x3354b3&&_0x233974['forEach'](_0x2122bf=>{const _0x5bb607=_0x21bbb4;for(let _0x491b14=_0x2122bf[_0x5bb607(0x262)];_0x491b14<=_0x2122bf[_0x5bb607(0x40d)];_0x491b14++)for(let _0x222010=_0x2122bf[_0x5bb607(0x39f)];_0x222010<=_0x2122bf[_0x5bb607(0x2ee)];_0x222010++)_0x5984ea[_0x5bb607(0x212)](_0x491b14,_0x222010);}),_0x1eae75&&_0x1e845b&&_0x1e845b['forEach'](_0x2b523d=>{const _0x16a77c=_0x21bbb4;for(let _0x25401a=_0x2b523d[_0x16a77c(0x262)];_0x25401a<=_0x2b523d[_0x16a77c(0x40d)];_0x25401a++)for(let _0x2cecf8=_0x2b523d[_0x16a77c(0x39f)];_0x2cecf8<=_0x2b523d[_0x16a77c(0x2ee)];_0x2cecf8++)_0x5984ea['setValue'](_0x25401a,_0x2cecf8,_0x1eae75[_0x16a77c(0x213)](_0x25401a,_0x2cecf8));});}const _0x4859c2={};return _0x4859c2[_0x214eeb]={[_0x447e0e]:_0x13d201(_0x14a99a)},{'runtimeCellData':{[_0x214eeb]:{[_0x447e0e]:_0x5984ea}},'dirtyRanges':_0x4859c2};}[_0x32b11e(0x25b)](){}};_0x75f9d2=_0x250696([_0x48010d(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be[_0x32b11e(0x215)])),_0x48010d(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x1a7c77['IFeatureCalculationManagerService'])),_0x48010d(0x2,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x46b)])),_0x48010d(0x3,_0x4d7ec7['Inject'](_0x1a7c77[_0x32b11e(0x325)])),_0x48010d(0x4,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x199)]))],_0x75f9d2);var _0x368ea7=Object[_0x32b11e(0x210)],_0x5643e2=(_0x5e2ccf,_0x46af94,_0xe06abb,_0x518e81)=>{const _0x16692a=_0x32b11e;for(var _0x57dc16=_0x518e81>0x1?void 0x0:_0x518e81?_0x368ea7(_0x46af94,_0xe06abb):_0x46af94,_0xefac87=_0x5e2ccf[_0x16692a(0x30f)]-0x1,_0x3f63c3;_0xefac87>=0x0;_0xefac87--)(_0x3f63c3=_0x5e2ccf[_0xefac87])&&(_0x57dc16=_0x3f63c3(_0x57dc16)||_0x57dc16);return _0x57dc16;},_0x16f4aa=(_0x4706f7,_0xf4e454)=>(_0x31c0ce,_0x2c34e5)=>_0xf4e454(_0x31c0ce,_0x2c34e5,_0x4706f7);let _0x17453d=class extends _0x4d7ec7['Disposable']{constructor(_0x468166,_0xbc5f10,_0x4b92b8,_0x5a76d5){const _0x58da9b=_0x32b11e;super(),_0x24fce5(this,_0x58da9b(0x2e0),new _0x4d7ec7['DisposableCollection']()),(this[_0x58da9b(0x45a)]=_0x468166,this['_sheetInterceptorService']=_0xbc5f10,this[_0x58da9b(0x481)]=_0x4b92b8,this['_sheetsPivotTableConfigModel']=_0x5a76d5,this[_0x58da9b(0x2b3)]());}[_0x32b11e(0x2b3)](){const _0xf05c4b=_0x32b11e;this[_0xf05c4b(0x355)](this[_0xf05c4b(0x223)][_0xf05c4b(0x39c)]({'getMutations':_0x342bf5=>{const _0x37d47b=_0xf05c4b;if(_0x342bf5['id']===_0x132be5[_0x37d47b(0x1c6)]['id']||_0x342bf5['id']===_0x132be5[_0x37d47b(0x342)]['id']){const _0x460894=[],_0x14e1d5=[],_0x3850e3=this[_0x37d47b(0x481)][_0x37d47b(0x319)]()['map'](_0x580de1=>_0x580de1[_0x37d47b(0x18d)]),_0x272ef4=_0x132be5[_0x37d47b(0x198)](this[_0x37d47b(0x45a)]);if(!_0x272ef4)return{'redos':[],'undos':[]};const {unitId:_0xb834c1,subUnitId:_0x22474e}=_0x272ef4,_0x46e218={},_0x3b2c8=this[_0x37d47b(0x194)][_0x37d47b(0x263)](_0xb834c1,_0x22474e);if(_0x3b2c8!=null&&_0x3b2c8['size'])for(const [_0x4ce6de,_0x52bd4a]of _0x3b2c8){const {unitId:_0xa76be3,subUnitId:_0x36d10d,row:_0x5af879,col:_0x231e10}=_0x52bd4a[_0x37d47b(0x3ae)];_0xa76be3===_0x272ef4['unitId']&&_0x36d10d===_0x272ef4[_0x37d47b(0x258)]&&(_0x46e218[_0x5af879+'-'+_0x231e10]=_0x4ce6de);}return _0x3850e3&&_0x272ef4&&_0x3850e3['forEach'](_0x244adc=>{const _0x360c3b=_0x37d47b;_0x4d7ec7[_0x360c3b(0x41d)]['foreach'](_0x244adc,(_0xe3ed1b,_0x29f243)=>{const _0x477d87=_0x360c3b,_0x594217=_0xe3ed1b+'-'+_0x29f243;if(_0x46e218[_0x594217]){const _0xc2a228=_0x46e218[_0x594217];_0x460894[_0x477d87(0x344)]({'id':_0x9e7315['id'],'params':{'unitId':_0xb834c1,'subUnitId':_0x22474e,'pivotTableId':_0xc2a228}});const _0x2857fb=this[_0x477d87(0x194)]['getCollection'](_0xb834c1,_0xc2a228),_0x1d8333=this[_0x477d87(0x194)][_0x477d87(0x3f0)](_0xb834c1,_0x22474e,_0xc2a228);_0x14e1d5[_0x477d87(0x344)]({'id':_0x27fd1c['id'],'params':{'unitId':_0xb834c1,'subUnitId':_0x22474e,'pivotTableId':_0xc2a228,'pivotTableConfig':_0x1d8333,'collectionConfig':_0x2857fb}});}});}),{'redos':_0x460894,'undos':_0x14e1d5};}return{'redos':[],'undos':[]};}}));}};_0x17453d=_0x5643e2([_0x16f4aa(0x0,_0x4d7ec7[_0x32b11e(0x1c4)]),_0x16f4aa(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x132be5[_0x32b11e(0x382)])),_0x16f4aa(0x2,_0x4d7ec7['Inject'](_0x132be5[_0x32b11e(0x2b5)])),_0x16f4aa(0x3,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be[_0x32b11e(0x3db)]))],_0x17453d);var _0x5547ff=Object[_0x32b11e(0x210)],_0x2d2b41=(_0x595364,_0x30e82e,_0x15fcae,_0x19a044)=>{for(var _0x21d72a=_0x19a044>0x1?void 0x0:_0x19a044?_0x5547ff(_0x30e82e,_0x15fcae):_0x30e82e,_0x2c6c3b=_0x595364['length']-0x1,_0x3c663a;_0x2c6c3b>=0x0;_0x2c6c3b--)(_0x3c663a=_0x595364[_0x2c6c3b])&&(_0x21d72a=_0x3c663a(_0x21d72a)||_0x21d72a);return _0x21d72a;},_0x4a5b57=(_0xe1e158,_0x4e73d5)=>(_0x4705a5,_0x39869a)=>_0x4e73d5(_0x4705a5,_0x39869a,_0xe1e158);let _0x338560=class extends _0x4d7ec7[_0x32b11e(0x44c)]{constructor(_0x3ee390,_0x2269ee,_0x4b1668,_0x546d3b,_0x556a0b){const _0x16c7ea=_0x32b11e;super(),this[_0x16c7ea(0x223)]=_0x3ee390,this[_0x16c7ea(0x22d)]=_0x2269ee,this[_0x16c7ea(0x45a)]=_0x4b1668,this[_0x16c7ea(0x194)]=_0x546d3b,this[_0x16c7ea(0x2ba)]=_0x556a0b,this[_0x16c7ea(0x448)]();}[_0x32b11e(0x19f)](_0xc44c8e,_0x2d57c2,_0x44dd36){const _0x12e5db=_0x32b11e,{pageView:_0x4f2d5f,cornerView:_0x3c07f0,rowView:_0x526bb5,colView:_0x41ae1c,dataView:_0x5c402b}=_0x2d57c2,_0x27e046=_0xc44c8e;let _0x19b12c;if(_0x44dd36)_0x19b12c=[..._0x261cb7(_0x27e046)];else{const _0xa326ae=_0x57c10c(_0x27e046,_0x4f2d5f,!0x0),_0x230f2c=_0x4f2d5f[_0x12e5db(0x48f)]>=0x0?_0x4f2d5f[_0x12e5db(0x48f)]+0x1:0x0,_0x23c75c=_0x3c07f0[_0x12e5db(0x21b)],_0x56d2b5=_0x3c07f0[_0x12e5db(0x315)],_0x56053b=_0xa326ae[_0x12e5db(0x30f)]>0x0?_0x36faea:0x0,_0x55b7af=_0x57c10c({'row':_0x27e046['row']+_0x230f2c+_0x56053b,'col':_0x27e046['col']},_0x3c07f0,!0x1,!0x1),_0x499011=_0x57c10c({'row':_0x27e046[_0x12e5db(0x3d2)]+_0x230f2c+_0x56053b+_0x23c75c,'col':_0x27e046['col']},_0x526bb5,!0x1,!0x0),_0x79dbc0=_0x57c10c({'row':_0x27e046[_0x12e5db(0x3d2)]+_0x230f2c+_0x56053b,'col':_0x27e046['col']+_0x56d2b5},_0x41ae1c,!0x1,!0x0),_0xac8023=_0x57c10c({'row':_0x27e046[_0x12e5db(0x3d2)]+_0x230f2c+_0x56053b+_0x23c75c,'col':_0x27e046['col']+_0x56d2b5},_0x5c402b,!0x1,!0x0);_0x19b12c=[..._0xa326ae,..._0x55b7af,..._0x499011,..._0x79dbc0,..._0xac8023];}return _0x19b12c;}[_0x32b11e(0x448)](){const _0xd44128=_0x32b11e;this[_0xd44128(0x355)](this[_0xd44128(0x2ba)][_0xd44128(0x1f8)]['intercept'](this[_0xd44128(0x2ba)][_0xd44128(0x1f8)]['getInterceptPoints']()[_0xd44128(0x470)],{'handler':(_0x197aa3,_0x52fc5b)=>{const _0x59d507=_0xd44128,{cellInfo:_0x76e721,view:_0x6ea928,isEmpty:_0x543cc8}=_0x52fc5b,_0x4e75d3=_0x76e721,{unitId:_0x416275,subUnitId:_0x44010e}=_0x4e75d3,_0x1b6a24=this[_0x59d507(0x19f)](_0x76e721,_0x6ea928,_0x543cc8),_0x5c879d=this[_0x59d507(0x223)]['generateMutationsByRanges']({'unitId':_0x416275,'subUnitId':_0x44010e,'ranges':_0x1b6a24}),_0x45fab3=_0x3c0ae4(this['_injector'],_0x416275,_0x44010e,_0x1b6a24);_0x45fab3['shouldClear']&&(_0x5c879d[_0x59d507(0x1dc)][_0x59d507(0x344)](_0x45fab3[_0x59d507(0x457)]),_0x5c879d['undos'][_0x59d507(0x344)](_0x45fab3[_0x59d507(0x3b1)]));const _0x4937fe=this[_0x59d507(0x3c7)](_0x6ea928,_0x76e721);return _0x5c879d[_0x59d507(0x1dc)][_0x59d507(0x344)](..._0x4937fe[_0x59d507(0x1dc)]),_0x5c879d[_0x59d507(0x1ff)][_0x59d507(0x344)](..._0x4937fe[_0x59d507(0x1ff)]),{'redos':_0x5c879d[_0x59d507(0x1dc)],'undos':_0x5c879d[_0x59d507(0x1ff)]};}}));}[_0x32b11e(0x3c7)](_0x57aecb,_0x40b2db){const _0x123e5c=_0x32b11e,{col:_0x396a4e,unitId:_0x1734ec,subUnitId:_0xf33b46}=_0x40b2db,_0x16c092=[],_0x48ee9d=[],_0x4b01c1=_0x132be5[_0x123e5c(0x198)](this[_0x123e5c(0x45a)],{'unitId':_0x1734ec,'subUnitId':_0xf33b46});if(!_0x40b2db||!_0x57aecb||!_0x4b01c1)return{'undos':_0x48ee9d,'redos':_0x16c092};const _0x3d5f2e=this['_sheetsPivotTableConfigModel'][_0x123e5c(0x46e)](),{colView:_0x476d4f,dataView:_0x55346f,cornerView:_0x574bd4,rowView:_0x6af4ea,formatMap:_0x22f1fa}=_0x57aecb,_0x369b3=_0x44e512(_0x476d4f,_0x3d5f2e,!0x0,_0x22f1fa),_0x4518f5=_0x44e512(_0x6af4ea,_0x3d5f2e,!0x1,_0x22f1fa),_0x2cbd35=_0xdbdd90(_0x55346f),_0x3a31c6=_0x47bfbc(_0x574bd4),{worksheet:_0x490a66}=_0x4b01c1;if(typeof window<'u'&&window[_0x123e5c(0x386)]){const _0x5d4370=_0x16debd['getFontStyleString']({..._0x3d8532[_0x123e5c(0x36c)]}),_0x545362=_0x16debd[_0x123e5c(0x425)][_0x123e5c(0x498)](_0x369b3,_0x5d4370)['width']+0x10,_0x4539d2=_0x16debd[_0x123e5c(0x425)][_0x123e5c(0x498)](_0x2cbd35,_0x5d4370)[_0x123e5c(0x380)],_0x243cd1=Math[_0x123e5c(0x21c)](Math[_0x123e5c(0x453)](_0x545362,_0x4539d2))+0x10,_0x2780a0=Math[_0x123e5c(0x21c)](_0x16debd[_0x123e5c(0x425)][_0x123e5c(0x498)](_0x4518f5,_0x5d4370)[_0x123e5c(0x380)]),_0x6c30c5=Math[_0x123e5c(0x21c)](_0x16debd['FontCache'][_0x123e5c(0x498)](_0x3a31c6,_0x5d4370)[_0x123e5c(0x380)]),_0x512f09=Math['max'](_0x2780a0,_0x6c30c5,0x28)+0xc,_0x2aefb5=_0x476d4f['colCount']+_0x574bd4[_0x123e5c(0x315)],_0x466d01={},_0x127523={};for(let _0x18eefc=_0x396a4e;_0x18eefc<_0x396a4e+_0x2aefb5;_0x18eefc++){const _0x4d2f9a=_0x490a66[_0x123e5c(0x2c3)](_0x18eefc);_0x466d01[_0x18eefc]=_0x4d2f9a,_0x18eefc-_0x396a4e<_0x574bd4[_0x123e5c(0x315)]?_0x127523[_0x18eefc-_0x396a4e]=_0x512f09:_0x127523[_0x18eefc-_0x396a4e]=_0x243cd1;}_0x16c092['push']({'id':_0x132be5['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0xf33b46,'unitId':_0x1734ec,'ranges':[{'startColumn':_0x396a4e,'endColumn':_0x396a4e+_0x2aefb5-0x1,'startRow':0x0,'endRow':_0x490a66[_0x123e5c(0x336)]()-0x1}],'colWidth':_0x127523}}),_0x48ee9d[_0x123e5c(0x344)]({'id':_0x132be5[_0x123e5c(0x459)]['id'],'params':{'subUnitId':_0xf33b46,'unitId':_0x1734ec,'ranges':[{'startColumn':_0x396a4e,'endColumn':_0x396a4e+_0x2aefb5-0x1,'startRow':0x0,'endRow':_0x490a66[_0x123e5c(0x336)]()-0x1}],'colWidth':_0x466d01}});}return{'undos':_0x48ee9d,'redos':_0x16c092};}};_0x338560=_0x2d2b41([_0x4a5b57(0x0,_0x4d7ec7['Inject'](_0x132be5[_0x32b11e(0x382)])),_0x4a5b57(0x1,_0x4d7ec7['Inject'](_0x4d7ec7[_0x32b11e(0x199)])),_0x4a5b57(0x2,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7['IUniverInstanceService'])),_0x4a5b57(0x3,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be[_0x32b11e(0x3db)])),_0x4a5b57(0x4,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be[_0x32b11e(0x25f)]))],_0x338560);var _0x51cc21=Object['getOwnPropertyDescriptor'],_0x2b9815=(_0x5d60e7,_0x214413,_0x12694e,_0x53c5fd)=>{const _0x377691=_0x32b11e;for(var _0x150798=_0x53c5fd>0x1?void 0x0:_0x53c5fd?_0x51cc21(_0x214413,_0x12694e):_0x214413,_0x2a7e00=_0x5d60e7[_0x377691(0x30f)]-0x1,_0x479fdf;_0x2a7e00>=0x0;_0x2a7e00--)(_0x479fdf=_0x5d60e7[_0x2a7e00])&&(_0x150798=_0x479fdf(_0x150798)||_0x150798);return _0x150798;},_0x534e6a=(_0x15b12d,_0x106e99)=>(_0x2e72ef,_0x5093b1)=>_0x106e99(_0x2e72ef,_0x5093b1,_0x15b12d);let _0x2b60d2=class extends _0x4d7ec7['Disposable']{constructor(_0x4e737c,_0x2ebfc2,_0x374590,_0x13f6b5,_0x10155f,_0x4bf892,_0x45067f){const _0x440c2c=_0x32b11e;super(),_0x24fce5(this,_0x440c2c(0x2e0),new _0x4d7ec7[(_0x440c2c(0x4b8))]()),(this[_0x440c2c(0x22d)]=_0x4e737c,this[_0x440c2c(0x35e)]=_0x2ebfc2,this[_0x440c2c(0x48b)]=_0x374590,this['_univerInstanceService']=_0x13f6b5,this['_sheetsPivotTableConfigModel']=_0x10155f,this['_sheetsPivotTableAdaptorModel']=_0x4bf892,this[_0x440c2c(0x223)]=_0x45067f,this[_0x440c2c(0x1e7)]());}[_0x32b11e(0x1e7)](){const _0x457d81=_0x32b11e,_0x1954e0=(_0x30df68,_0x4c7a84)=>{const _0x24e7e3=_0xd91a,_0x503907=this['_univerInstanceService'][_0x24e7e3(0x1a9)](_0x4d7ec7[_0x24e7e3(0x49b)]['UNIVER_SHEET']);if(!_0x503907||!(_0x503907==null?void 0x0:_0x503907[_0x24e7e3(0x33a)](_0x4c7a84)))return;this[_0x24e7e3(0x2e0)][_0x24e7e3(0x25b)]();const _0x4f73e7=_0x45e7ea=>this[_0x24e7e3(0x2cd)](_0x45e7ea,_0x30df68,_0x4c7a84),_0x4f5228=this[_0x24e7e3(0x194)][_0x24e7e3(0x263)](_0x30df68,_0x4c7a84);if(!(_0x4f5228!=null&&_0x4f5228[_0x24e7e3(0x4b6)]))return;Array['from'](_0x4f5228[_0x24e7e3(0x2bb)]())[_0x24e7e3(0x338)](_0x21d937=>{const _0x2bac5e=_0x24e7e3,{row:_0x3dab91,col:_0x5b9dc6}=_0x21d937[_0x2bac5e(0x3ae)];return _0x4d7ec7['cellToRange'](_0x3dab91,_0x5b9dc6);})[_0x24e7e3(0x408)](_0x5b70fc=>{const _0x47c754=_0x24e7e3;this[_0x47c754(0x2e0)][_0x47c754(0x20f)](this['_refRangeService'][_0x47c754(0x483)](_0x5b70fc,_0x4f73e7,_0x30df68,_0x4c7a84));});},_0x16ba81=()=>{const _0x26ce5b=_0xd91a,_0x4e97d7=this[_0x26ce5b(0x45a)][_0x26ce5b(0x1a9)](_0x4d7ec7[_0x26ce5b(0x49b)][_0x26ce5b(0x190)]);if(_0x4e97d7){const _0x325794=_0x4e97d7[_0x26ce5b(0x417)]();if(!_0x325794)return;_0x1954e0(_0x4e97d7[_0x26ce5b(0x472)](),_0x325794['getSheetId']());}};this['disposeWithMe'](this[_0x457d81(0x48b)][_0x457d81(0x30d)](_0x468a2b=>{const _0x4344e5=_0x457d81;if(_0x468a2b['id']===_0x132be5[_0x4344e5(0x1ac)]['id']){const _0x438a2c=_0x468a2b[_0x4344e5(0x3ce)],_0x49ccdf=_0x438a2c['subUnitId'],_0x355333=_0x438a2c[_0x4344e5(0x3e4)];if(!_0x49ccdf||!_0x355333)return;_0x1954e0(_0x355333,_0x49ccdf);}})),this[_0x457d81(0x355)](this[_0x457d81(0x194)][_0x457d81(0x373)][_0x457d81(0x495)](_0x3a8a2f=>{_0x3a8a2f&&_0x16ba81();})),this[_0x457d81(0x355)](this['_sheetsPivotTableConfigModel'][_0x457d81(0x314)]['subscribe'](_0x139add=>{const _0x1d3e5c=_0x457d81,_0x2de246=_0x132be5[_0x1d3e5c(0x198)](this[_0x1d3e5c(0x45a)]);if(!_0x2de246)return;const {unitId:_0x92e46,subUnitId:_0x1f0416}=_0x2de246,{unitId:_0x145d03,subUnitId:_0x2ee8ae}=_0x139add;_0x92e46!==_0x145d03||_0x1f0416!==_0x2ee8ae||_0x1954e0(_0x92e46,_0x1f0416);})),_0x16ba81();}[_0x32b11e(0x2cd)](_0x921548,_0x16e5f0,_0x8fa390){const _0x275272=_0x32b11e;switch(_0x921548['id']){case _0x132be5[_0x275272(0x21e)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x921548[_0x275272(0x3ce)],_0x16e5f0,_0x8fa390);}return{'redos':[],'undos':[]};}[_0x32b11e(0x30b)](_0x1ef0e9,_0x2c2dc4,_0x418abb){const _0x69767e=_0x32b11e,{fromRange:_0x3ad18d,toRange:_0x4c8126}=_0x1ef0e9,_0x5e01aa=[],_0x27b9a2=[],_0x4f497b=_0x132be5[_0x69767e(0x198)](this['_univerInstanceService']);if(!_0x4f497b)return{'undos':_0x27b9a2,'redos':_0x5e01aa};if(_0x2c2dc4!==_0x4f497b[_0x69767e(0x3e4)]||_0x418abb!==_0x4f497b[_0x69767e(0x258)])return{'undos':_0x27b9a2,'redos':_0x5e01aa};const _0xc27d17=this['_sheetsPivotTableConfigModel'][_0x69767e(0x263)](_0x2c2dc4,_0x418abb);if(_0xc27d17!=null&&_0xc27d17[_0x69767e(0x4b6)])for(const [_0x14d4f9,_0x30c5df]of _0xc27d17){const {unitId:_0x419414,subUnitId:_0xd837b5,row:_0xf345ee,col:_0x12bf42}=_0x30c5df['targetCellInfo'];if(_0x419414===_0x4f497b[_0x69767e(0x3e4)]&&_0xd837b5===_0x4f497b['subUnitId']){const _0x118ee9=_0x4d7ec7[_0x69767e(0x4a0)](_0xf345ee,_0x12bf42);if(_0x4d7ec7['Rectangle'][_0x69767e(0x413)](_0x118ee9,_0x3ad18d)){const _0x535ce5=_0xf345ee-_0x3ad18d['startRow'],_0x4dc3ba=_0x12bf42-_0x3ad18d[_0x69767e(0x39f)],_0x5eaa56={'row':_0x4c8126['startRow']+_0x535ce5,'col':_0x4c8126[_0x69767e(0x39f)]+_0x4dc3ba};_0x5e01aa[_0x69767e(0x344)]({'id':_0x466320['id'],'params':{'unitId':_0x419414,'subUnitId':_0xd837b5,'pivotTableId':_0x14d4f9,'targetCellPosition':_0x5eaa56}}),_0x27b9a2[_0x69767e(0x344)]({'id':_0x466320['id'],'params':{'unitId':_0x419414,'subUnitId':_0xd837b5,'pivotTableId':_0x14d4f9,'targetCellPosition':{'row':_0xf345ee,'col':_0x12bf42}}});const _0x5f3a73=_0x5eaa56[_0x69767e(0x3d2)]-_0xf345ee,_0x5abbd1=_0x5eaa56[_0x69767e(0x2f5)]-_0x12bf42,_0x29adc8=[],_0x456283=this[_0x69767e(0x25c)][_0x69767e(0x1cb)](_0x419414,_0xd837b5,_0x14d4f9),_0x5ea332=_0x456283==null?void 0x0:_0x456283[_0x69767e(0x3f3)];if(_0x5ea332){Object[_0x69767e(0x2c6)](_0x5ea332)['forEach'](_0x4071f7=>{const _0x5361e3=_0x69767e;_0x5ea332[_0x4071f7][_0x5361e3(0x408)](_0x2d4129=>{const _0x71ee8d=_0x5361e3,_0x4f85e6={..._0x2d4129};_0x4f85e6[_0x71ee8d(0x262)]=_0x2d4129[_0x71ee8d(0x262)]+_0x5f3a73,_0x4f85e6['endRow']=_0x2d4129[_0x71ee8d(0x40d)]+_0x5f3a73,_0x4f85e6[_0x71ee8d(0x39f)]=_0x2d4129[_0x71ee8d(0x39f)]+_0x5abbd1,_0x4f85e6[_0x71ee8d(0x2ee)]=_0x2d4129['endColumn']+_0x5abbd1,_0x29adc8['push'](_0x4f85e6);});});const _0x414c06=this[_0x69767e(0x223)]['generateMutationsByRanges']({'unitId':_0x419414,'subUnitId':_0xd837b5,'ranges':_0x29adc8});_0x5e01aa[_0x69767e(0x344)](..._0x414c06[_0x69767e(0x1dc)]),_0x27b9a2[_0x69767e(0x344)](..._0x414c06[_0x69767e(0x1ff)]);const _0x2b6ff3=_0x3c0ae4(this['_injector'],_0x419414,_0xd837b5,_0x29adc8);_0x2b6ff3[_0x69767e(0x418)]&&(_0x5e01aa[_0x69767e(0x344)](_0x2b6ff3['setRangeValueRedoMutation']),_0x27b9a2[_0x69767e(0x344)](_0x2b6ff3[_0x69767e(0x3b1)]));}}}}return{'redos':_0x5e01aa,'undos':_0x27b9a2};}};_0x2b60d2=_0x2b9815([_0x534e6a(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7['Injector'])),_0x534e6a(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x132be5[_0x32b11e(0x450)])),_0x534e6a(0x2,_0x4d7ec7[_0x32b11e(0x46b)]),_0x534e6a(0x3,_0x4d7ec7[_0x32b11e(0x1c4)]),_0x534e6a(0x4,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be['SheetsPivotTableConfigModel'])),_0x534e6a(0x5,_0x4d7ec7['Inject'](_0x3122be[_0x32b11e(0x360)])),_0x534e6a(0x6,_0x4d7ec7[_0x32b11e(0x26f)](_0x132be5[_0x32b11e(0x382)]))],_0x2b60d2);var _0x3bc4f7=Object['getOwnPropertyDescriptor'],_0x49c194=(_0x5c888b,_0x213a39,_0x2d2d68,_0x49b2e7)=>{for(var _0x1b17f1=_0x49b2e7>0x1?void 0x0:_0x49b2e7?_0x3bc4f7(_0x213a39,_0x2d2d68):_0x213a39,_0xae9b43=_0x5c888b['length']-0x1,_0x3a58cd;_0xae9b43>=0x0;_0xae9b43--)(_0x3a58cd=_0x5c888b[_0xae9b43])&&(_0x1b17f1=_0x3a58cd(_0x1b17f1)||_0x1b17f1);return _0x1b17f1;},_0x3dda76=(_0x390486,_0x1473cc)=>(_0x96c0a,_0x139c50)=>_0x1473cc(_0x96c0a,_0x139c50,_0x390486);let _0x4ee4b4=class extends _0x4d7ec7['Disposable']{constructor(_0x3db441,_0x1c240e){const _0x107469=_0x32b11e;super(),this['_sheetInterceptorService']=_0x3db441,this[_0x107469(0x194)]=_0x1c240e,this[_0x107469(0x365)]();}['_initRemoveSheetCommandInterceptor'](){const _0x41fb58=_0x32b11e;this[_0x41fb58(0x355)](this[_0x41fb58(0x223)][_0x41fb58(0x39c)]({'getMutations':_0x532c22=>{const _0x146d1a=_0x41fb58;if(_0x532c22['id']===_0x132be5[_0x146d1a(0x298)]['id']){const _0x56c239=[],_0xbbba77=[],_0x2d12ed=_0x532c22[_0x146d1a(0x3ce)],{unitId:_0x3a94c5,subUnitId:_0x53d341}=_0x2d12ed;if(!_0x3a94c5||!_0x53d341)return{'undos':_0xbbba77,'redos':_0x56c239};const _0x4c97a9=this[_0x146d1a(0x194)][_0x146d1a(0x263)](_0x3a94c5,_0x53d341);if(_0x4c97a9!=null&&_0x4c97a9['size'])for(const [_0x1bb779,_0x3c1b5d]of _0x4c97a9){_0x56c239['push']({'id':_0x9e7315['id'],'params':{'unitId':_0x3a94c5,'subUnitId':_0x53d341,'pivotTableId':_0x1bb779}});const _0x3c49d5={...this['_sheetsPivotTableConfigModel'][_0x146d1a(0x334)](_0x3a94c5,_0x1bb779)};_0xbbba77[_0x146d1a(0x344)]({'id':_0x27fd1c['id'],'params':{'unitId':_0x3a94c5,'subUnitId':_0x53d341,'pivotTableId':_0x1bb779,'pivotTableConfig':_0x3c1b5d,'collectionConfig':_0x3c49d5}});}return{'redos':_0x56c239,'undos':_0xbbba77};}return{'redos':[],'undos':[]};}}));}};_0x4ee4b4=_0x49c194([_0x3dda76(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x132be5['SheetInterceptorService'])),_0x3dda76(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be['SheetsPivotTableConfigModel']))],_0x4ee4b4);var _0x1429a8=Object['getOwnPropertyDescriptor'],_0x2fb25b=(_0x123a59,_0x40c6b2,_0x44c2bf,_0x4d807d)=>{const _0x3bce73=_0x32b11e;for(var _0x3a6a2d=_0x4d807d>0x1?void 0x0:_0x4d807d?_0x1429a8(_0x40c6b2,_0x44c2bf):_0x40c6b2,_0x5eb9a7=_0x123a59[_0x3bce73(0x30f)]-0x1,_0x2f82e1;_0x5eb9a7>=0x0;_0x5eb9a7--)(_0x2f82e1=_0x123a59[_0x5eb9a7])&&(_0x3a6a2d=_0x2f82e1(_0x3a6a2d)||_0x3a6a2d);return _0x3a6a2d;},_0x406728=(_0x563735,_0x54b2a0)=>(_0x3dc889,_0x38965c)=>_0x54b2a0(_0x3dc889,_0x38965c,_0x563735);let _0x1cd4b8=class extends _0x4d7ec7[_0x32b11e(0x44c)]{constructor(_0x573910,_0x5f2063,_0x34840c,_0x5cd6f2,_0x2226b3,_0x23ed32){const _0xf354b1=_0x32b11e;super(),this[_0xf354b1(0x48b)]=_0x573910,this[_0xf354b1(0x21d)]=_0x5f2063,this[_0xf354b1(0x25c)]=_0x34840c,this[_0xf354b1(0x194)]=_0x5cd6f2,this[_0xf354b1(0x45a)]=_0x2226b3,this[_0xf354b1(0x43e)]=_0x23ed32,this[_0xf354b1(0x359)](),this[_0xf354b1(0x2a0)]();}[_0x32b11e(0x359)](){const _0x551bb2=_0x32b11e;this[_0x551bb2(0x355)](this[_0x551bb2(0x48b)][_0x551bb2(0x30d)](_0x469859=>{const _0x3d35d3=_0x551bb2;if(_0x469859['id']!==_0x1927fa['id'])return;const _0x3d46b2=_0x469859['params'];this[_0x3d35d3(0x21d)][_0x3d35d3(0x3d0)](_0x3d46b2);})),this[_0x551bb2(0x355)](this[_0x551bb2(0x48b)][_0x551bb2(0x30d)](_0x2549c8=>{const _0x2cdc4e=_0x551bb2;if(_0x2549c8['id']===_0x2c9a6c['id']){const _0x360870=_0x2549c8[_0x2cdc4e(0x3ce)];if(_0x360870){const {unitId:_0x1a691f,subUnitId:_0x53142c,oldSubUnitId:_0x4c3227,pivotTableId:_0x246768,pivotTableConfig:_0x33e7,collectionConfig:_0x5318d9}=_0x360870;this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x1a691f,_0x4c3227,_0x360870[_0x2cdc4e(0x421)],null),this['_sheetsPivotTableConfigModel'][_0x2cdc4e(0x27f)](_0x1a691f,_0x53142c,_0x246768,_0x33e7),this['_sheetsPivotTableConfigModel'][_0x2cdc4e(0x3a6)](_0x1a691f,_0x5318d9);}}})),this['disposeWithMe'](this[_0x551bb2(0x48b)]['onCommandExecuted'](_0x5c9475=>{const _0x5e6990=_0x551bb2;if(_0x5c9475['id']!==_0x5c081f['id'])return;const _0x207598=_0x132be5['getSheetCommandTarget'](this[_0x5e6990(0x45a)]);if(!_0x207598)return;const {unitId:_0x37b7bb,subUnitId:_0x3e0c0c}=_0x207598,_0x21316f=_0x5c9475[_0x5e6990(0x3ce)];if(_0x21316f['collectionConfig']&&Object[_0x5e6990(0x2c6)](_0x21316f[_0x5e6990(0x1e2)])[_0x5e6990(0x408)](_0x329a50=>{const _0x10368a=_0x5e6990;var _0x26f369;(_0x26f369=_0x21316f[_0x10368a(0x1e2)])!=null&&_0x26f369[_0x329a50]&&this[_0x10368a(0x194)][_0x10368a(0x3a6)](_0x329a50,_0x21316f[_0x10368a(0x1e2)][_0x329a50]);}),_0x21316f['single']){const _0x327c51=_0x21316f[_0x5e6990(0x29d)],{unitId:_0x1883d8,subUnitId:_0x445e97,view:_0x9da140,pivotTableId:_0x2f786e,type:_0x5ec1b4,pivotConfig:_0x726b60}=_0x327c51;if(_0x5ec1b4===_0x4e6aa2[_0x5e6990(0x420)])this[_0x5e6990(0x25c)]['clearRenderCache']({'unitId':_0x1883d8,'subUnitId':_0x445e97,'pivotTableId':_0x2f786e,'type':_0x5ec1b4}),this[_0x5e6990(0x194)][_0x5e6990(0x27f)](_0x1883d8,_0x445e97,_0x2f786e,null);else{const _0x4f495b=new _0x5eb847[(_0x5e6990(0x290))]();_0x4f495b[_0x5e6990(0x1b1)](_0x9da140),this[_0x5e6990(0x194)][_0x5e6990(0x27f)](_0x1883d8,_0x445e97,_0x2f786e,_0x726b60),this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x1883d8,'subUnitId':_0x445e97,'pivotTableId':_0x2f786e,'type':_0x5ec1b4,'view':_0x4f495b}),this[_0x5e6990(0x25c)][_0x5e6990(0x192)]({'unitId':_0x1883d8,'subUnitId':_0x445e97,'view':_0x4f495b,'pivotTableId':_0x2f786e,'type':_0x5ec1b4});}}else _0x21316f[_0x5e6990(0x2ab)]&&(_0x21316f[_0x5e6990(0x2ab)][_0x5e6990(0x408)](_0x197e1b=>{const _0x3e5bae=_0x5e6990,{unitId:_0x332649,subUnitId:_0x21467c,view:_0x210cfe,pivotTableId:_0x160c18,type:_0x14bc8f,pivotConfig:_0x56b091}=_0x197e1b,_0x1c3028=new _0x5eb847[(_0x3e5bae(0x290))]();_0x1c3028[_0x3e5bae(0x1b1)](_0x210cfe),this[_0x3e5bae(0x194)][_0x3e5bae(0x27f)](_0x332649,_0x21467c,_0x160c18,_0x56b091),this[_0x3e5bae(0x25c)][_0x3e5bae(0x192)]({'unitId':_0x332649,'subUnitId':_0x21467c,'view':_0x1c3028,'pivotTableId':_0x160c18,'type':_0x14bc8f});}),this['_sheetsPivotTableConfigModel'][_0x5e6990(0x3c8)]());this['_sheetsPivotTableAdaptorModel'][_0x5e6990(0x273)](_0x37b7bb,_0x3e0c0c);}));}[_0x32b11e(0x2a0)](){const _0x332043=_0x32b11e;this[_0x332043(0x43e)][_0x332043(0x331)](_0x45b06c['id'],{'commandId':_0x45b06c['id'],'getDirtyData'(_0x1e29bf){const _0x57d68d=_0x332043;return{'dirtyUnitFeatureMap':_0x1e29bf[_0x57d68d(0x3ce)]};}});}};_0x1cd4b8=_0x2fb25b([_0x406728(0x0,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x46b)])),_0x406728(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be['SheetsPivotRPCService'])),_0x406728(0x2,_0x4d7ec7['Inject'](_0x3122be[_0x32b11e(0x360)])),_0x406728(0x3,_0x4d7ec7[_0x32b11e(0x26f)](_0x3122be[_0x32b11e(0x3db)])),_0x406728(0x4,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x1c4)])),_0x406728(0x5,_0x1a7c77[_0x32b11e(0x44a)])],_0x1cd4b8);var _0x10c493=Object[_0x32b11e(0x29b)],_0x31efa4=Object['getOwnPropertyDescriptor'],_0x6c066f=(_0x432686,_0x42bdf9,_0x3eba1a)=>_0x42bdf9 in _0x432686?_0x10c493(_0x432686,_0x42bdf9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3eba1a}):_0x432686[_0x42bdf9]=_0x3eba1a,_0x122b78=(_0x3a8321,_0x129694,_0x30ae4a,_0x25f9e2)=>{for(var _0x17e1ff=_0x25f9e2>0x1?void 0x0:_0x25f9e2?_0x31efa4(_0x129694,_0x30ae4a):_0x129694,_0x5597a3=_0x3a8321['length']-0x1,_0x2d3173;_0x5597a3>=0x0;_0x5597a3--)(_0x2d3173=_0x3a8321[_0x5597a3])&&(_0x17e1ff=_0x2d3173(_0x17e1ff)||_0x17e1ff);return _0x17e1ff;},_0x5b99b7=(_0x161d30,_0x1ee733)=>(_0x52d970,_0x185136)=>_0x1ee733(_0x52d970,_0x185136,_0x161d30),_0x253cc4=(_0x3be77a,_0x51bd5b,_0x42b44b)=>_0x6c066f(_0x3be77a,typeof _0x51bd5b!='symbol'?_0x51bd5b+'':_0x51bd5b,_0x42b44b);_0x3122be[_0x32b11e(0x3c4)]=class extends _0x4d7ec7[_0x32b11e(0x32e)]{constructor(_0x1a3e06=_0x1f9375,_0x1fdb19,_0x14bfe1,_0x54fd34,_0x52d1d9){const _0x11703d=_0x32b11e;super(),this[_0x11703d(0x206)]=_0x1a3e06,this[_0x11703d(0x22d)]=_0x1fdb19,this[_0x11703d(0x48b)]=_0x14bfe1,this['_configService']=_0x54fd34,this['_dataSyncPrimaryController']=_0x52d1d9;const {..._0x409896}=_0x4d7ec7[_0x11703d(0x243)]({},_0x1f9375,this[_0x11703d(0x206)]);this['_configService'][_0x11703d(0x43b)](_0xdc392c,_0x409896),this[_0x11703d(0x201)](),this[_0x11703d(0x280)]();}[_0x32b11e(0x280)](){const _0x3d9020=_0x32b11e;var _0x65af88;const _0x14fb97=(_0x65af88=this[_0x3d9020(0x206)])==null?void 0x0:_0x65af88[_0x3d9020(0x2eb)];this[_0x3d9020(0x29f)]['setConfig'](_0x5755e4,_0x14fb97===!0x0);}[_0x32b11e(0x323)](){const _0x4ac3ab=_0x32b11e;var _0x528ed2;let _0xee4292=[];const _0x3d353d=(_0x528ed2=this[_0x4ac3ab(0x206)])==null?void 0x0:_0x528ed2['notExecuteFormula'];_0x3d353d===!0x0?_0xee4292=[[_0x3122be[_0x4ac3ab(0x25f)]],[_0x3122be[_0x4ac3ab(0x308)]],[_0x1cd4b8],[_0x3122be['SheetsPivotTableAdaptorModel']],[_0x3122be[_0x4ac3ab(0x3db)]],[_0x4ee4b4],[_0x17453d],[_0x2b60d2],[_0x338560]]:_0x3d353d===!0x1?_0xee4292=[[_0x3122be['SheetsPivotDataSourceModel']],[_0x75f9d2]]:_0x3d353d===void 0x0&&(_0xee4292=[[_0x3122be[_0x4ac3ab(0x215)]],[_0x75f9d2],[_0x3122be[_0x4ac3ab(0x25f)]],[_0x3122be['SheetsPivotRPCService']],[_0x1cd4b8],[_0x3122be['SheetsPivotTableAdaptorModel']],[_0x3122be['SheetsPivotTableConfigModel']],[_0x4ee4b4],[_0x17453d],[_0x2b60d2],[_0x338560]]),_0xee4292['forEach'](_0x25f893=>this[_0x4ac3ab(0x22d)][_0x4ac3ab(0x20f)](_0x25f893)),[_0x75f9d2,_0x1cd4b8,_0x3122be[_0x4ac3ab(0x25f)],_0x17453d,_0x4ee4b4,_0x2b60d2,_0x338560][_0x4ac3ab(0x408)](_0x2a2bd9=>{const _0x5f0bae=_0x4ac3ab;this[_0x5f0bae(0x22d)][_0x5f0bae(0x231)](_0x2a2bd9)&&this[_0x5f0bae(0x22d)][_0x5f0bae(0x492)](_0x2a2bd9);});}[_0x32b11e(0x201)](){const _0x21e75d=_0x32b11e;[_0x10b873,_0x485f16,_0xeb040a,_0x4d2463,_0x307fdb,_0x1fb80a,_0x37eb2f,_0x2c3686,_0x1fc305,_0x582d5a,_0x404666,_0x5c58c8,_0x518f7c,_0x18d5c9,_0x27fd1c,_0x1c74c5,_0x9e7315,_0x2f9ae3,_0x42ff40,_0x516d05,_0x12ca45,_0x480425,_0x29b105,_0x59be26,_0x4eb43f,_0x3ba7e7,_0x466320,_0x2d6314,_0x1927fa,_0x5c081f,_0x5179e7,_0x145f03,_0x2dd658,_0x193a55,_0x571d06,_0x31ae6c,_0x3c383e,_0x45b06c,_0x2c9a6c,_0x2ba8fe,_0x291740,_0x304bc9,_0x19345c][_0x21e75d(0x408)](_0xbc3d12=>{const _0x430d97=_0x21e75d;var _0x3def26;(_0x3def26=this[_0x430d97(0x1d5)])==null||_0x3def26[_0x430d97(0x3ee)](_0xbc3d12),this[_0x430d97(0x48b)][_0x430d97(0x2f8)](_0xbc3d12);});}},_0x253cc4(_0x3122be[_0x32b11e(0x3c4)],_0x32b11e(0x371),_0x4c9c53),_0x253cc4(_0x3122be[_0x32b11e(0x3c4)],_0x32b11e(0x288),_0x4d7ec7['UniverInstanceType'][_0x32b11e(0x190)]),_0x3122be[_0x32b11e(0x3c4)]=_0x122b78([_0x4d7ec7['DependentOn'](_0x2cd015[_0x32b11e(0x25a)]),_0x5b99b7(0x1,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7[_0x32b11e(0x199)])),_0x5b99b7(0x2,_0x4d7ec7[_0x32b11e(0x26f)](_0x4d7ec7['ICommandService'])),_0x5b99b7(0x3,_0x4d7ec7[_0x32b11e(0x2cb)]),_0x5b99b7(0x4,_0x4d7ec7[_0x32b11e(0x41e)](_0x55f83b[_0x32b11e(0x1f0)]))],_0x3122be['UniverSheetsPivotTablePlugin']),_0x3122be[_0x32b11e(0x309)]=_0xeb040a,_0x3122be[_0x32b11e(0x337)]=_0x2f9ae3,_0x3122be[_0x32b11e(0x244)]=_0x485f16,_0x3122be[_0x32b11e(0x46d)]=_0x27fd1c,_0x3122be[_0x32b11e(0x391)]=_0x10b873,_0x3122be['BLANK_ROW_COUNT']=_0x36faea,_0x3122be[_0x32b11e(0x27b)]=_0x128592,_0x3122be['MovePivotFieldCommand']=_0x4d2463,_0x3122be['MovePivotTableCommand']=_0x518f7c,_0x3122be['PivotDisplayDataType']=_0x19355e,_0x3122be[_0x32b11e(0x2c5)]=_0x18d5c9,_0x3122be[_0x32b11e(0x404)]=_0x4e6aa2,_0x3122be[_0x32b11e(0x449)]=_0x45b06c,_0x3122be['PositionType']=_0x3a7711,_0x3122be[_0x32b11e(0x297)]=_0x307fdb,_0x3122be[_0x32b11e(0x358)]=_0x480425,_0x3122be[_0x32b11e(0x1bc)]=_0x9e7315,_0x3122be[_0x32b11e(0x370)]=_0x29b105,_0x3122be[_0x32b11e(0x423)]=_0x19345c,_0x3122be[_0x32b11e(0x454)]=_0xdc392c,_0x3122be[_0x32b11e(0x208)]=_0x4c9c53,_0x3122be[_0x32b11e(0x19e)]=_0x2c3686,_0x3122be[_0x32b11e(0x47c)]=_0x59be26,_0x3122be[_0x32b11e(0x207)]=_0x193a55,_0x3122be[_0x32b11e(0x1d2)]=_0x304bc9,_0x3122be[_0x32b11e(0x2fe)]=_0x582d5a,_0x3122be[_0x32b11e(0x211)]=_0x12ca45,_0x3122be[_0x32b11e(0x26b)]=_0x3ba7e7,_0x3122be[_0x32b11e(0x37e)]=_0x466320,_0x3122be['SetPivotSortCommand']=_0x1fc305,_0x3122be[_0x32b11e(0x281)]=_0x4eb43f,_0x3122be[_0x32b11e(0x3cc)]=_0x2dd658,_0x3122be[_0x32b11e(0x300)]=_0x2ba8fe,_0x3122be[_0x32b11e(0x416)]=_0x291740,_0x3122be[_0x32b11e(0x3ef)]=_0x37eb2f,_0x3122be[_0x32b11e(0x394)]=_0x5179e7,_0x3122be[_0x32b11e(0x239)]=_0x404666,_0x3122be[_0x32b11e(0x310)]=_0x3c383e,_0x3122be[_0x32b11e(0x2f0)]=_0x5c58c8,_0x3122be[_0x32b11e(0x44d)]=_0x31ae6c,_0x3122be[_0x32b11e(0x2cf)]=_0x1fb80a,_0x3122be[_0x32b11e(0x4af)]=_0x145f03,_0x3122be[_0x32b11e(0x38d)]=_0x2ced52,_0x3122be[_0x32b11e(0x24c)]=_0x12ddf2,_0x3122be[_0x32b11e(0x2d3)]=_0x3d8532,_0x3122be['generateSetRangeValueMutations']=_0x3c0ae4,_0x3122be[_0x32b11e(0x3d9)]=_0x57c10c,_0x3122be[_0x32b11e(0x2e2)]=_0x261cb7,_0x3122be[_0x32b11e(0x285)]=_0x204433,_0x3122be[_0x32b11e(0x346)]=_0x142fd8,_0x3122be['getPivotCellInfo']=_0x368785,_0x3122be[_0x32b11e(0x4a3)]=_0x7dbf34,_0x3122be[_0x32b11e(0x317)]=_0x148394,_0x3122be[_0x32b11e(0x2f1)]=_0x1072a1,_0x3122be[_0x32b11e(0x3b9)]=_0x277844,Object['defineProperty'](_0x3122be,Symbol[_0x32b11e(0x256)],{'value':_0x32b11e(0x3e2)});}));function _0xd91a(_0x20fa7d,_0x4fbf70){const _0x1719e1=_0x1719();return _0xd91a=function(_0xd91a49,_0x4144a5){_0xd91a49=_0xd91a49-0x18d;let _0x28057e=_0x1719e1[_0xd91a49];return _0x28057e;},_0xd91a(_0x20fa7d,_0x4fbf70);}function _0x1719(){const _0x162b62=['sheet.mutation.set-pivot-filter','getInsertRowColMutations','hasField','fetchThroughAsyncInterceptors','getPivotTableMatrixInfo','ptn','min','getDirtyInfo','contains','removePivotField','prototype','_textInfo','DateGroupField','setDateType','dataStyle','yP7jnrx7\x20OijXhUnrx7(urji74i,\x20UPcurj1ih)\x20{\x20\x20\x20\x20nXh\x20{\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20urji74iS7yx8TXnFXXTh\x20=\x20urji74i.4Uurn(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20xXrAr7Mi44TAi\x20=\x20o6HI.UTX4i(Tnxc(urji74iS7yx8TXnFXXTh[2]));\x20\x20\x20\x20\x20\x20\x20\x20ry\x20(!xXrAr7Mi44TAi.PO)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xXrAr7Mi44TAi.PO\x20=\x20IPlciX(urji74iS7yx8TXnFXXTh[Z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20r4DxXmiX\x20=\x20nhUixy\x20DxXmiXauxcTu6jxUi\x20!==\x20\x27P7Oiyr7iO\x27\x20&&\x204iuy\x20r74nT7jixy\x20DxXmiXauxcTu6jxUi;\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20jx7nizn\x20=\x20r4DxXmiX\x20?\x204iuy\x20:\x20br7Oxb;\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20li44TAiDxXO\x20=\x20jx7nizn.__NT4iVZ__.UTX4i(urji74iS7yx8TXnFXXTh[2]);\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20li44TAi\x20=\x20jx7nizn.__Jiz__.4nXr7Aryh(li44TAiDxXO);\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x204rA7TnPXiDxXO\x20=\x20jx7nizn.__NT4iVZ__.UTX4i(urji74iS7yx8TXnFXXTh[9]);\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x204rA7TnPXi\x20=\x20jx7nizn.__Jiz__.4nXr7Aryh(4rA7TnPXiDxXO);\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x204rA7gTurO\x20=\x20jx7nizn.__piXryh__(4rA7TnPXi,\x20li44TAi,\x20UPcurj1ih);\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20OxlTr7\x20=\x20xXrAr7Mi44TAi.Ol;\x20\x20\x20\x20\x20\x20\x20\x20yP7jnrx7\x20r4sxlTr7MTnjkr7A(x8TnniX7,\x20xJx4n)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20UTnniX7\x20=\x20x8TnniX7.XiUuTji(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20kx4n\x20=\x20xJx4n.XiUuTji(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20UTnniX78TXn4\x20=\x20UTnniX7.4Uurn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20kx4n8TXn4\x20=\x20kx4n.4Uurn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ry\x20(!UTnniX7.r7juPOi4(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XinPX7\x20UTnniX7\x20===\x20kx4n;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ry\x20(UTnniX78TXn4.ui7Ank\x20<\x202\x20||\x20UTnniX78TXn4[q]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XinPX7\x20yTu4i;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20UTnniX76Pyyrz\x20=\x20UTnniX78TXn4.4urji(v).Lxr7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20kx4n6Pyyrz\x20=\x20kx4n8TXn4.4urji(-UTnniX78TXn4.ui7Ank\x20+\x20v).Lxr7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XinPX7\x20UTnniX76Pyyrz\x20===\x20kx4n6Pyyrz;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20uin\x20OxlTr7gTurO\x20=\x20(OxlTr7\x20&&\x20OxlTr7.ui7Ank)\x20?\x20OxlTr7.4xli((OlSnil)\x20=>\x20r4sxlTr7MTnjkr7A(OlSnil,\x20uxjTnrx7.kx4n7Tli))\x20:\x20nXPi;\x20\x20\x20\x20\x20\x20\x20\x20ry\x20(uxjTnrx7.kx4n7Tli\x20===\x20\x27uxjTukx4n\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OxlTr7gTurO\x20=\x20nXPi;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jx74n\x20pTurO\x20=\x204rA7gTurO\x20&&\x20OxlTr7gTurO;\x20\x20\x20\x20\x20\x20\x20\x20XinPX7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pTurO,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20li44TAi:\x20xXrAr7Mi44TAi,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20jTnjk\x20(iXXxX)\x20{\x20\x20\x20\x20\x20\x20\x20\x20XinPX7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pTurO:\x20yTu4i,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20li44TAi:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','disposeWithMe','_globalComputingSrv','_host','RemovePivotFieldMutation','_initDataSendListener','resetArea','isDateValue','info','sheets-pivot.dateGroup.quarter','_refRangeService','uniqueDataFieldName','SheetsPivotTableAdaptorModel','query','SHEET_PIVOT_EXCLUSIVE_ID','getViewData','generateNewSheetName','_initRemoveSheetCommandInterceptor','refreshGroupField','SetPivotFilter','RemoveRowMutation','updateViewData','fieldsCollectionChange$','getFullYear','colStyle','SetFieldFormat','NotName','symbol','RenamePivotFieldMutation','pluginName','NO_COMMERCIAL','pivotInitCompleted$','sheets-pivot.config','stringify','toJSON','_pivotRenderInfoCache','getAutoDisplayName','UpdatePivotSource','IExclusiveRangeService','InsertColMutation','getPivotTableInstance','MonthDate','SetPivotPositionMutation','clearRenderCache','width','setDirty','SheetInterceptorService','getDataFieldByRangeKey','_viewData$','sheet.command.add-pivot-table-with-config','document','setPivotCollapse','RemovePivotField','mergeWorksheetSnapshotWithDefault','sheet.command.set-pivot-collapse','getDataFieldId','getStyles','applyChangeSet','sheets-pivot.dateGroup.minute','subTotalStyle','isPrefixValue','AddPivotTableWithConfigCommand','average','Row','UpdateFieldPositionMutation','isEmpty','paths','valuePosition','_updateRenderEmptyCache','removeValueFilterInfo','PivotCellStyleTypeEnum','825yrPnXO','interceptCommand','AsyncInterceptorManager','3749697fzUGwC','startColumn','Subject','sheet.command.set-pivot-value-filter','deleteField','parseInt','SetValuePivotFilter','sheets.tabs.sheet','updateCollectionConfig','_globalComputedEndHelpFunc','setLabelFilterInfo','_updatePivotTableInstanceCache','includes','PivotSubtotalTypeEnum','find','Minute','targetCellInfo','sheet.command.add-pivot-field','getFieldInfo','setRangeValueUndoMutation','date','StdDevp\x20of\x20','queryDirtyPivotTable','sheets-pivot.averageName','value','refreshDataField','next','unionPivotViewRange','NotNumber','sheets-pivot.countNumsName','rowFields','PivotFilterTypeEnum','addRecord','addField','PivotErrorTypeEnum','updateDirtyPivotTable','subtotal','None','UniverSheetsPivotTablePlugin','isArray','updateValuePosition','getAutoFitColumnsMutations','setPivotInitCompleted','string','getValuePosition','asyncInterceptor','SetPivotSubtotalTypeMutation','maxDate','params','broadcastCollectionChange','handleAsyncResponse','LifecycleService','row','asObservable','sequenceExecute','versions','rowInfo','pageStyle','sortInfo','getAdjustRangesPosition','format','SheetsPivotTableConfigModel','filter','pageRanges','cellValue','getFilterFieldIdByIndex','colHeaderMap','sheet.command.set-pivot-sort','Module','updatePivotSource','unitId','NotFunction','colRanges','4721604uQksRt','colInfo','handleSourceRangeChange','_pivotTableMatrixInfo','filterFields','getSortInfo','getFieldIds','registerSyncingMutations','UpdateDateGroupCommand','getPivotTableConfig','getRangeKey','setValuePivotFilter','rangesInfo','sideEffectUpdateWorkerCache','PivotTable','iterateField','collections','#f4f4f5','sheet.command.update-date-group','pivotTableConfigs','sheet.mutation.set-pivot-sort-info','#b2b2b2','deleteDataField','sheets-pivot.value','removeField','@univerjs/engine-render','Year','ReleaseType','SetRangeValuesUndoMutationFactory','PivotTableOperationEnum','Min\x20of\x20','LocaleService','NAME','forEach','CommandType','getSheetId','(Blank)','Panel','endRow','getIndexesByPathStr','existing','_createExclusiveRange','isValue','_getAutoName','intersects','Average\x20of\x20','setRange','SetPivotValueFilterMutation','getActiveSheet','shouldClear','from','UniverSheetsFilter','UniverProSheetsPivot','measure','Range','Optional','sheet.mutation.add-group-collection','Delete','pivotTableId','SetSortInfo','ResetPivotFieldsConfigCommand','getSheets','FontCache','_collectionConfigModel','viewUpdate$','handleMoveRange','removeSourceRangeChange','Column\x20','SetSubtotalType','getTableFieldById','registerCallbackWithEvent','getGroupFieldsInfoByIds','getValueFilterInfos','Div0','unshiftString','getMatrix','new','reduce','update','cornerStyle','isText','updateView','getDataFieldByTableId','UniverProLicense','setConfig','LS_CONFIG_KEY','BehaviorSubject','_activeDirtyManagerService','Filter','getName','movePivotField','dataRangeInfo','setTextInfo','dataFieldId','grandTotal','numberToABC','getformat','_initCommandInterceptListener','PivotTableViewDirtyMarkOperation','IActiveDirtyManagerService','filterId','Disposable','UpdatePivotTableSourceRangeMutation','UpdateValuePosition','_configVersion$','RefRangeService','remove','_ensurePivotItemRenderInfoCache','max','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','getCellMatrix','updatePivotTableMatrixInfo','setRangeValueRedoMutation','addCollection','SetWorksheetColWidthMutation','_univerInstanceService','_initPivotTextInfo','updateAllDisplayName','tableFieldId','addFieldWithSourceId','5756lhOuVf','setOptions','isFeatureAuthorizedWithinTime','sheet.mutation.set-pivot-format','SetValueFilter','isNaN','sheets-pivot.cellDateGroupDisplay.year','viewData$','\x20-\x20','rgb(255,255,255)','sheets-pivot.stdDevpName','concat','ICommandService','getPivotPerformCheck','AddPivotTableMutation','getTextInfo','getMonth','PIVOT_MUTATION_GENERATE','fromJSON','getUnitId','SetSheetsFilterRangeMutation','YearMonthDate','Count\x20of\x20','Set','getColumnCount','_pivotConfigChange$','sheet.command.set-pivot-filter','fields','NORMAL','SetPivotCollapseMutation','MUTATION','SetOptions','YearMonth','_queryingMap','_sheetsSelectionsService','getFieldDataType','registerRefRange','MoveRangeMutation','removePivotTable','call','146501JMzHqW','Max\x20of\x20','getNoUsedDataFieldIds','removeCollections','_commandService','UpdateFieldPosition','BadReference','valueFields','lastRow','options','rangeKey','get','Sum\x20of\x20','delete','subscribe','message','_pivotRenderValueMatrixCache','getTextSize','sheet.mutation.remove-pivot-table','SetRangeValuesMutation','UniverInstanceType','areaInfo','count','slice','updateFieldSourceInfo','cellToRange','Values','setValue','getPivotInfoByLicense','sheet.operation.pivot-table-view-formula-mark-dirty','_ensurePivotTableRangeInfo','rangeKeyMap','body','iterateFieldByArea','_initGlobalComputed','getOriginFieldId','startCollectChangeset','getLastCol','New','token','UpdateValuePositionMutation','getDataFieldItemInfo','AddField','pivotPerformCheck','_initPivotDataGetListener','sheets-pivot.minName','clearExclusiveRangesByGroupId','size','_featureCalculationManagerService','DisposableCollection','sheets-pivot.cellDateGroupDisplay.date','range','addPivotTable','sheet.mutation.add-pivot-field','UNIVER_SHEET','createDataFieldId','updateRenderCache','forValue','_sheetsPivotTableConfigModel','drillDown','needSameDeleteModel','setPivotTable','getSheetCommandTarget','Injector','other','3104190lyCcoB','oldRangeInfo','_pivotTableInstanceCache','SetPivotCollapseCommand','_getPivotAppliedRanges','deepClone','generateNullCell','_resourceManagerService','_ensurePivotTableMatrixInfo','isDate','getSubtotal','return\x20','PivotDateGroupFieldDateTypeEnum','sheet.mutation.send-init-pivot-text-local','getCurrentUnitForType','stdDevp','getPivotTableCellData','SetWorksheetActiveOperation','_pivotTableRangeInfo','getPivotDirtyViewInfo','addDataFieldWithoutUnitInfo','getSubUnitPivotMatrix','formJSON','getPivotDisplayConfig','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','removeCollectionImp','getIntersectsPivotTable','MovePivotField','Subtotal','sheet.mutation.pivot-update-field-position','getFieldFormat','UniverRpc','result','RemovePivotTableMutation','minDate','_globalComputedStartHelpFunc','InsertSheetMutation','sourceName','_dataFieldManagerCollection','SetPivotTableConfig','setPivotSetting','IUniverInstanceService','pushComputingStatusSubject','ClearSelectionContentCommand','custom','refreshData','renameField','_ensurePivotMap','getPivotItemRenderInfoCache','sheets-pivot.cellDateGroupDisplay.yearMonthDate','sheets-pivot.cellDateGroupDisplay.yearMonth','INTERCEPTOR_POINT','originTargetInfo','createInterceptorKey','sheets-pivot.dateGroup.year','SetPivotFieldsConfigCommand','getRangeStartEndInfo','GlobalConfig','_dataSyncPrimaryController','_exclusiveRangeService','rangeType','panel','_markDirty$','_sheetsPivotDataSourceModel','updateViewInfo','redos','limit\x20pivot','sheets-pivot.sumName','initDataRanges','getPivotTableIdByCell','UniverEngineRender','collectionConfig','displayName','setPivotTableConfig','RemoveField','getRangeKeyList','_onRefRangeChange','sheets-pivot.cellDateGroupDisplay.minute','entries','sheets-pivot.dateGroup.hourMinute','getTargetByPivotTableId','sheets-pivot.grandTotal','setRangeKeyMap','AddPivotTable','sheetName','DataSyncPrimaryController','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sheet.command.update-pivot-value-position','getHeaderMapItem','sheet.command.add-pivot-table','number','PivotMultipleValueId','dataStream','interceptor','resetPivotTable','sheets-pivot.varName','getUpdateRangeDeleteIds','REF','PivotDataFieldDataTypeEnum','getId','undos','textInfo','_initRegisterCommand','name','parse','_initUnitDisposed','triggerDirtyFeature','_config','SetPivotFieldFormatMutation','SHEET_PIVOT_TABLE_PLUGIN','_ensurePivotItemRenderValueMatrixCache','UniverCore','getLastRow','substring','addPivotTableWithConfig','4qNpFlT','add','getOwnPropertyDescriptor','SetPivotFilterMutation','realDeleteValue','getValue','PivotDataFieldTypeEnum','SheetsPivotDataSourceModel','collapseInfo','setPivotFilter','getTypeOfUnitDisposed$','dateType','dataFieldManagerConfig','rowCount','floor','_sheetsPivotRpcService','MoveRangeCommand','Var\x20of\x20','UniverEngineFormula','isDateGroupFieldJSON','random','_sheetInterceptorService','collectionChange$','SetPivotSetting','valueIndex','AddPivotField','getCellRaw','BLANK_PLACEHOLDER','excelDateToUnixMilliseconds','@univerjs/sheets-filter','getFieldPositionInfoById','_injector','_initLocale','dataFields','HourMinute','has','object','DEFAULT_WORKSHEET_ROW_COUNT','setPivotSort','sheet.mutation.remove-group-collection','getFieldCountByArea','RemoveSheetMutation','executeCommand','UpdatePivotFieldSettingCommand','getDisplayName','sheets-pivot.cellDateGroupDisplay.quarter','unshift','Month','getDataFieldByDataFieldId','AddPivotTableWithConfig','CellValueType','sheets-pivot.emptyPivot.row','PivotViewCellValueTypeEnum','merge','AddPivotTableCommand','NUMBER','sheets-pivot.emptyPivot.column','addCollectionByJSON','Add','getDataFieldBySourceName','DEFAULT_WORKSHEET_COLUMN_COUNT','set','canUsePivot','getSourceName','exports','Total','_initViewModelBySheetInterceptor','varp','_initSnapshot','createCollectionWithDataRange','Value','#FFFFFF','toStringTag','getAutoDisplayNameFunction','subUnitId','collection','UniverLicensePlugin','dispose','_sheetsPivotTableAdaptorModel','fontRenderExtension','dataFieldsCollection','SheetsPivotTableService','Hour','sourceRangeInfo','startRow','getSubUnitPivotConfigs','setFieldFormat','filterInfo','PivotTableFiledAreaEnum','column','_localeService','RANGE_TYPE','DataField','SetPivotOptionMutation','3337824hSCtHu','splice','_init','Inject','Expand','sheet.mutation.send-pivot-view-local','sheet.mutation.update-date-group','markDirty','getSheetBySheetName','updateDataFieldsCollection','IResourceManagerService','getPivotTableRangeInfo','fieldId','sheets-pivot.stdDevName','#e6ebfb','DEFAULT_PIVOT_NUMBER','Column','getUnit','version','updateConfigCache','_initConfig','SetPivotSortMutation','_deletePivotTableInstanceCache','getTargetByPivotId','split','getFieldListByArea','pbt','SetPivotCollapse','type','_subjectFieldsCollectionChange','Date','CustomCommandExecutionError','sheets-pivot.emptyPivot.values','dimension','generateHexNumber','setSortInfo','PivotView','_requestResolvers','setSubtotalType','updateConfig','_globalSubject','bind','function','RemovePivotFieldCommand','RemoveSheetCommand','isBottomTotal','getRangeData','defineProperty','ΣValue','single','InterceptorManager','_configService','registerDirtyService','sheets-pivot.productName','iterateFieldDim','getMatrixFromRunTimeData','rowStyle','oldMatrix','_viewUpdate$','endCollectChangeset','_deleteModelCache','InsertSheetCommand','SHEET_PIVOT_IN_MAIN_THREAD','batch','InterceptorEffectEnum','rowHeaderMap','FORCE_STRING','cornerRanges','addDirtyPivotTable','data','product','_initClearSelectionCommandInterceptor','intercept','SheetsSelectionsService','getFormat','getFilterInfo','sheet.command.move-pivot-field','rowRanges','_sheetsPivotTableService','values','UniverSheets','sheet.command.move-pivot-table','FieldsCollection','getPivotTableModelConfig','error','_ensureViewDataMap','Rectangle','getColumnWidth','getConfig','PivotDrillDownCommand','keys','level','Existing','updatePivotTableRangeInfo','sum','IConfigService','getValueIndex','_refRangeHandle','sheets-pivot.dateGroup.yearQuarter','UpdatePivotValuePositionCommand','numfmt','InsertSheetUndoMutationFactory','getDataFieldManager','defaultThemeStyle','sheet.mutation.set-pivot-option','fieldsConfig','PivotCallbackEnum','cornerInfo','prefix','sheet.mutation.add-pivot-table','serializeRangeWithSpreadsheet','_subjectCollectionChange','_viewData','setValueFilterInfo','charCodeAt','deleteUnitId','disposableCollection','rangeCache','getEmptyPivotRanges','SetCollapse','updateRangeKeyMap','some','addPivotField','setCollapse','columnFields','workbook\x20is\x20not\x20found','COLUMN','notExecuteFormula','setName','ErrorType','endColumn','valueFilter','UpdatePivotTableSourceRangeCommand','transFromCellValue','generateRandomId','_pivotInitCompleted$','ObjectMatrix','col','COMMAND','IUndoRedoService','registerCommand','PivotTableValuePositionEnum','updateFieldPosition','@univerjs-pro/engine-pivot','countNums','isDateGroupField','SetPivotFilterCommand','sheet.command.set-pivot-fields-config','SetPivotValueFilterCommand','_updateModelCache','_model','MIN_SAFE_INTEGER','dateGroupField','DrillDown','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.blank','SheetsPivotRPCService','AddPivotFieldCommand','_lifecycleService','getRefRangeMutationsByMoveRange','sheets-pivot.dateGroup.yearMonthDate','onCommandExecuted','@univerjs/rpc','length','UpdatePivotFieldSourceInfoMutation','#e6ebfa','amd','ManualFilter','pivotConfigChange$','colCount','PivotTableChangeTypeEnum','getPivotTableInfo','getFieldById','getCurrentSelections','STRING','getColCount','headerMap','_fieldsCollectionChange$','pushUndoRedo','#1d32e9','sheet.mutation.update-pivot-table-source-range','adjustSheetCellData','matrix','onStarting','GrandTotal','GlobalComputingStatusService','Quarter','getMatrixValue','Product\x20of\x20','_generateUniqueVersion','onQueryEnd','_toJSON','sheet.mutation.remove-pivot-field','MAX_SAFE_INTEGER','Plugin','@univerjs/engine-formula','createValueField','register','11235096VqlVpq','SetPivotSort','getCollection','sheet.mutation.set-pivot-value-filter','getRowCount','AddPivotFieldMutation','map','UniverProEnginePivot','getSheetBySheetId','removeValueFilterInfoByValueFieldId','ResetPivotTable','rxjs','addExclusiveRange','Tools','registerPluginResource','@univerjs/sheets','ClearSelectionAllCommand','_subjectViewChange','push'];_0x1719=function(){return _0x162b62;};return _0x1719();}
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();}