@univerjs-pro/sheets-pivot 0.10.14-nightly.202511080715 → 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 +38 -38
  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 _0x17bb(_0x7cde85,_0x2d9e9d){const _0x938295=_0x9382();return _0x17bb=function(_0x17bbf5,_0x35d65e){_0x17bbf5=_0x17bbf5-0x14c;let _0x2fb1d9=_0x938295[_0x17bbf5];return _0x2fb1d9;},_0x17bb(_0x7cde85,_0x2d9e9d);}(function(_0xd771d8,_0x20e38c){const _0x7c9faf=_0x17bb,_0x1fc957=_0xd771d8();while(!![]){try{const _0x2d91c6=-parseInt(_0x7c9faf(0x1f5))/0x1+-parseInt(_0x7c9faf(0x421))/0x2*(parseInt(_0x7c9faf(0x1a9))/0x3)+-parseInt(_0x7c9faf(0x38a))/0x4*(parseInt(_0x7c9faf(0x166))/0x5)+parseInt(_0x7c9faf(0x476))/0x6*(-parseInt(_0x7c9faf(0x191))/0x7)+-parseInt(_0x7c9faf(0x358))/0x8+parseInt(_0x7c9faf(0x469))/0x9+parseInt(_0x7c9faf(0x3aa))/0xa;if(_0x2d91c6===_0x20e38c)break;else _0x1fc957['push'](_0x1fc957['shift']());}catch(_0x56de7){_0x1fc957['push'](_0x1fc957['shift']());}}}(_0x9382,0xf1fee),function(_0x2938ca,_0x22aee3){const _0x57dade=_0x17bb;typeof exports=='object'&&typeof module<'u'?_0x22aee3(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define=='function'&&define[_0x57dade(0x39f)]?define([_0x57dade(0x263),_0x57dade(0x1bf),'@univerjs/core',_0x57dade(0x2a6),_0x57dade(0x361),_0x57dade(0x1b2),_0x57dade(0x3b1),_0x57dade(0x1a6),_0x57dade(0x1c7),'@univerjs/engine-render'],_0x22aee3):(_0x2938ca=typeof globalThis<'u'?globalThis:_0x2938ca||self,_0x22aee3(_0x2938ca[_0x57dade(0x19c)]={},_0x2938ca[_0x57dade(0x2be)],_0x2938ca[_0x57dade(0x411)],_0x2938ca[_0x57dade(0x1de)],_0x2938ca['UniverSheets'],_0x2938ca['rxjs'],_0x2938ca['UniverProLicense'],_0x2938ca['UniverSheetsFilter'],_0x2938ca[_0x57dade(0x1e4)],_0x2938ca['UniverEngineRender']));}(this,function(_0x118be4,_0x2bd5b3,_0x108556,_0x3c891a,_0x3c8849,_0x1f8d69,_0x3e2f02,_0x467515,_0x239925,_0x420b3c){'use strict';const _0x47b8d2=_0x17bb;var _0x10c92a=Object[_0x47b8d2(0x3ac)],_0x572b42=(_0x14d5de,_0x98448,_0x391e81)=>_0x98448 in _0x14d5de?_0x10c92a(_0x14d5de,_0x98448,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x391e81}):_0x14d5de[_0x98448]=_0x391e81,_0x44a70e=(_0x4f23d7,_0x5f1e84,_0x54bb11)=>_0x572b42(_0x4f23d7,typeof _0x5f1e84!=_0x47b8d2(0x3ce)?_0x5f1e84+'':_0x5f1e84,_0x54bb11);const _0x4ea681=Number['parseInt'](0x690eee25),_0x48163b=0x10,_0x25d9b6=0x1,_0x292f9f='SHEET_PIVOT_TABLE_PLUGIN',_0x467340=0x1,_0x2c21ac=_0x47b8d2(0x3b9),_0x3f90d4=_0x47b8d2(0x313),_0x423500=_0x47b8d2(0x246),_0x4a1474=_0x47b8d2(0x2b5),_0x2e876c=_0x47b8d2(0x2b5),_0x500b16=_0x47b8d2(0x44d),_0x54db22=_0x47b8d2(0x351),_0x58063f=_0x47b8d2(0x28c),_0x48ccd4='#e6ebfa',_0x439fd4=_0x47b8d2(0x351),_0x3eef02='#FFFFFF',_0x294760=_0x47b8d2(0x46d),_0x2a77b5=0xe,_0x284f6d=0x6;var _0x1d84fc=(_0x13df28=>(_0x13df28[_0x47b8d2(0x266)]=_0x47b8d2(0x292),_0x13df28[_0x47b8d2(0x394)]=_0x47b8d2(0x429),_0x13df28))(_0x1d84fc||{});const _0x14e3ba={'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':''}}},_0x12385d=0x1e,_0x1f7c85={'b':{'s':0x1,'cl':{'rgb':_0x423500}},'l':{'s':0x1,'cl':{'rgb':_0x423500}},'r':{'s':0x1,'cl':{'rgb':_0x423500}},'t':{'s':0x1,'cl':{'rgb':_0x423500}}},_0x31e6e6={'bg':{'rgb':_0x2c21ac},'ht':0x2,'vt':0x2,'tb':0x1},_0x38e5a1={'bg':{'rgb':_0x3f90d4},'ht':0x2,'vt':0x2,'tb':0x1},_0x7fce34={'rowStyle':{'bg':{'rgb':_0x294760},'bd':_0x1f7c85,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x439fd4},'bd':null,'cl':{'rgb':_0x3eef02},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1f7c85,'bg':{'rgb':_0x48ccd4},'vt':0x2},'cornerStyle':{'bd':_0x1f7c85,'bg':{'rgb':_0x500b16},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1f7c85,'bg':{'rgb':_0x4a1474},'vt':0x2},'leafStyle':{'bd':_0x1f7c85,'bg':{'rgb':_0x2e876c},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x54db22},'cl':{'rgb':_0x58063f},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1f7c85,'vt':0x2}};function _0x103b4e(_0x1fe1c4,_0x160d91,_0xeffe07){const _0x260e29=_0x47b8d2,_0xf288aa=_0x1fe1c4[_0x260e29(0x26d)](_0x108556[_0x260e29(0x1a5)]),_0x34f6b8=_0xeffe07[_0x260e29(0x3d6)]('_');switch(_0x160d91){case _0x2bd5b3['PivotDateGroupFieldDateTypeEnum']['Year']:return _0xf288aa['t'](_0x260e29(0x474),..._0x34f6b8);case _0x2bd5b3[_0x260e29(0x1e2)][_0x260e29(0x21b)]:return _0xf288aa['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x34f6b8);case _0x2bd5b3['PivotDateGroupFieldDateTypeEnum']['Hour']:return _0xf288aa['t'](_0x260e29(0x261),..._0x34f6b8);case _0x2bd5b3[_0x260e29(0x1e2)][_0x260e29(0x3a5)]:return _0xf288aa['t'](_0x260e29(0x35c),..._0x34f6b8);case _0x2bd5b3['PivotDateGroupFieldDateTypeEnum'][_0x260e29(0x392)]:return _0xf288aa['t'](_0x260e29(0x21c),..._0x34f6b8);case _0x2bd5b3[_0x260e29(0x1e2)][_0x260e29(0x456)]:return _0xf288aa['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x34f6b8);case _0x2bd5b3[_0x260e29(0x1e2)][_0x260e29(0x3da)]:return _0xf288aa['t'](_0x260e29(0x18b),..._0x34f6b8);case _0x2bd5b3[_0x260e29(0x1e2)][_0x260e29(0x375)]:return _0xf288aa['t'](_0x260e29(0x2e3),..._0x34f6b8);case _0x2bd5b3['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:return _0xf288aa['t'](_0x260e29(0x252),..._0x34f6b8);case _0x2bd5b3[_0x260e29(0x1e2)][_0x260e29(0x3f7)]:return _0xf288aa['t'](_0x260e29(0x451),..._0x34f6b8);}return'';}const _0x58051e=(_0x52bf31,_0x451f4b,_0x25407f,_0x4e85f0)=>{const _0x5e649d=_0x47b8d2;let _0xb0214a;const _0x391067=_0x52bf31[_0x5e649d(0x26d)](_0x108556[_0x5e649d(0x371)])['getCurrentUnitForType'](_0x108556['UniverInstanceType'][_0x5e649d(0x260)]);if(!_0x391067)return null;const _0x5dec7f=_0x391067[_0x5e649d(0x24e)]();let _0x22cf36;if(_0x25407f&&(_0x22cf36=_0x5dec7f['setValue'](_0x25407f)),_0x451f4b!=null&&_0x451f4b['v']||(_0x451f4b==null?void 0x0:_0x451f4b['v'])===0x0){_0xb0214a||(_0xb0214a={});const _0x301ddb=_0x162bda(_0x451f4b['v']);typeof _0x301ddb==_0x5e649d(0x477)?_0xb0214a['t']=_0x108556['CellValueType'][_0x5e649d(0x2d1)]:typeof _0x301ddb==_0x5e649d(0x2df)&&(_0xb0214a['t']=_0x108556['CellValueType'][_0x5e649d(0x430)]),_0xb0214a['v']=_0x301ddb;}if((_0x451f4b!=null&&_0x451f4b['i']||(_0x451f4b==null?void 0x0:_0x451f4b['i'])===0x0)&&(_0xb0214a||(_0xb0214a={}),_0xb0214a['fi']=_0x451f4b['i']),_0x451f4b!=null&&_0x451f4b['s']&&(_0xb0214a||(_0xb0214a={}),_0xb0214a[_0x5e649d(0x3c4)]=_0x451f4b['s']),_0x25407f&&(_0xb0214a||(_0xb0214a={}),_0xb0214a['s']=_0x22cf36),_0x4e85f0&&_0xb0214a!=null&&_0xb0214a['v']&&_0xb0214a[_0x5e649d(0x3c4)]!==_0x2bd5b3[_0x5e649d(0x3ed)]['GrandTotal']&&_0xb0214a[_0x5e649d(0x3c4)]!==_0x2bd5b3[_0x5e649d(0x3ed)][_0x5e649d(0x3f4)]){const _0x5b109e=String(_0xb0214a['v']),{dateType:_0x25d917}=_0x4e85f0;_0xb0214a['v']=_0x103b4e(_0x52bf31,_0x25d917,_0x5b109e),_0xb0214a['t']=_0x108556[_0x5e649d(0x188)][_0x5e649d(0x430)];}return _0xb0214a;},_0x38fd4d=(_0x3e9f2b,_0x57743b,_0x23fba1,_0x7073e5)=>{const _0x107842=_0x47b8d2;var _0x5a0012,_0x368215,_0x5ecf37,_0x1dca61,_0x1331c1,_0x5970f2,_0xa55a7e,_0x824699,_0xb06795,_0x1905ae,_0x577d03,_0x4ed183,_0x4b10f6,_0x3a0180;const _0x1b2d8d=_0x23fba1['targetCellInfo'],{cornerView:_0x144d71,rowView:_0x3c9559,colView:_0xfe3e02,dataView:_0x307f13,pageView:_0x425e0a,formatMap:_0x2e5dc9,groupInfo:_0x3e55ec}=_0x57743b,{row:_0x4eae6a,col:_0x250d54}=_0x1b2d8d,_0x17f636=new _0x108556[(_0x107842(0x161))](),_0x4018ae={},_0x5ca592={},_0x4cc19c={},_0xf0e4ae={},_0x2f15d={};let _0x10fe1=_0x4eae6a,_0x339c71=_0x250d54;Object[_0x107842(0x24f)](_0x425e0a[_0x107842(0x1c2)])[_0x107842(0x464)](_0xba12b4=>{const _0x2ec1d2=_0x107842;Object[_0x2ec1d2(0x24f)](_0x425e0a[_0x2ec1d2(0x1c2)][Number(_0xba12b4)])[_0x2ec1d2(0x464)](_0x25b33b=>{const _0x4a7d04=_0x2ec1d2,_0x47a835={..._0x425e0a[_0x4a7d04(0x1c2)][Number(_0xba12b4)][Number(_0x25b33b)]};_0x17f636[_0x4a7d04(0x15d)](Number(_0xba12b4)+_0x10fe1,Number(_0x25b33b)+_0x339c71,_0x58051e(_0x3e9f2b,_0x47a835,_0x7fce34[_0x4a7d04(0x208)]));});});const _0x3e83bf=Object[_0x107842(0x24f)](_0x425e0a['data'])[_0x107842(0x472)];_0x10fe1+=_0x3e83bf+(_0x3e83bf?_0x467340:0x0);const _0x526fc7=_0x144d71['getRowCount'](),_0x59740b=_0x144d71['getColCount']();for(let _0x57104c=0x0;_0x57104c<_0x526fc7;_0x57104c++)for(let _0x4333c6=0x0;_0x4333c6<_0x59740b;_0x4333c6++){const _0x1dc446={...(_0x368215=(_0x5a0012=_0x144d71[_0x107842(0x1c2)])==null?void 0x0:_0x5a0012[_0x57104c])==null?void 0x0:_0x368215[_0x4333c6]};_0x1dc446&&((_0x5ecf37=_0x3c9559[_0x107842(0x449)][_0x4333c6])!=null&&_0x5ecf37['isValue'])&&_0x4333c6===_0x59740b-0x1&&_0x57104c===_0x526fc7-0x1&&(_0x1dc446['v']=''+_0x7073e5[_0x107842(0x201)]),_0x17f636[_0x107842(0x15d)](_0x57104c+_0x10fe1,_0x4333c6+_0x339c71,_0x58051e(_0x3e9f2b,_0x1dc446,_0x7fce34['cornerStyle']));}for(let _0x11b111=0x0;_0x11b111<_0x144d71['info']['length'];_0x11b111++)_0x144d71['info'][_0x11b111]&&(_0x4cc19c[''+(_0x11b111+_0x339c71)]=_0x144d71[_0x107842(0x32a)][_0x11b111]);_0x339c71+=_0x59740b;const _0x3c0c67=_0xfe3e02[_0x107842(0x449)],_0x51e9d1=_0xfe3e02[_0x107842(0x2bb)]()>=0x0?_0xfe3e02[_0x107842(0x2bb)]()+0x1:0x0,_0x30e906=_0xfe3e02[_0x107842(0x15e)]()>=0x0?_0xfe3e02[_0x107842(0x15e)]()+0x1:0x0;for(let _0x48b24f=0x0;_0x48b24f<_0x30e906;_0x48b24f++){for(let _0x30592e=0x0;_0x30592e<_0x51e9d1;_0x30592e++){const _0x308753={...(_0x1331c1=(_0x1dca61=_0xfe3e02[_0x107842(0x1c2)])==null?void 0x0:_0x1dca61[_0x30592e])==null?void 0x0:_0x1331c1[_0x48b24f]},_0x3fc3d8=(_0x5970f2=_0x3c0c67[_0x30592e])==null?void 0x0:_0x5970f2[_0x107842(0x442)],_0x49736f=_0x2e5dc9[_0x3fc3d8],_0x3fd87e=_0x3e55ec[_0x3fc3d8];_0x308753&&(_0x308753['v']=_0x1b9053(_0x308753,_0x30592e===0x0&&((_0xa55a7e=_0xfe3e02[_0x107842(0x3e3)](_0x48b24f+0x1))==null?void 0x0:_0xa55a7e[_0x107842(0x380)]),_0x49736f,_0x7073e5));let _0x434351;_0x49736f?_0x434351={..._0x7fce34[_0x107842(0x291)],'n':{'pattern':_0x49736f}}:_0x434351={..._0x7fce34['colStyle']},_0x17f636[_0x107842(0x15d)](_0x30592e+_0x10fe1,_0x48b24f+_0x339c71,_0x58051e(_0x3e9f2b,_0x308753,_0x434351,_0x3fd87e));}_0xfe3e02[_0x107842(0x32a)][_0x48b24f]&&(_0x5ca592[''+(_0x48b24f+_0x339c71)]=_0xfe3e02[_0x107842(0x32a)][_0x48b24f]),_0xfe3e02[_0x107842(0x449)][_0x48b24f+0x1]&&(_0x2f15d[''+(_0x48b24f+_0x10fe1+0x1)]=_0xfe3e02[_0x107842(0x449)][_0x48b24f+0x1]);}_0x10fe1+=_0x526fc7;const _0x1ecd3c=_0x3c9559['headerMap'],_0x4a5a04=_0x3c9559[_0x107842(0x2bb)]()>=0x0?_0x3c9559[_0x107842(0x2bb)]()+0x1:0x0,_0x29b8c6=_0x3c9559[_0x107842(0x15e)]()>=0x0?_0x3c9559[_0x107842(0x15e)]()+0x1:0x0;for(let _0x1b8451=0x0;_0x1b8451<_0x4a5a04;_0x1b8451++){for(let _0x39f37e=0x0;_0x39f37e<_0x29b8c6;_0x39f37e++){const _0x1ebadc={...(_0xb06795=(_0x824699=_0x3c9559[_0x107842(0x1c2)])==null?void 0x0:_0x824699[_0x1b8451])==null?void 0x0:_0xb06795[_0x39f37e]},_0x1c9cf2=(_0x1905ae=_0x1ecd3c[_0x39f37e])==null?void 0x0:_0x1905ae[_0x107842(0x442)],_0x2c45b1=_0x2e5dc9[_0x1c9cf2],_0xf4bcf3=_0x3e55ec[_0x1c9cf2];_0x1ebadc&&(_0x1ebadc['v']=_0x1b9053(_0x1ebadc,!0x1,_0x2c45b1,_0x7073e5));let _0x3ffa0d;_0x3c9559['info'][_0x1b8451][_0x107842(0x202)]===_0x3c9559[_0x107842(0x163)]()?_0x3ffa0d=_0x7fce34[_0x107842(0x1bd)]:_0x3c9559[_0x107842(0x32a)][_0x1b8451][_0x107842(0x438)]?_0x3ffa0d=_0x3c9559[_0x107842(0x32a)][_0x1b8451][_0x107842(0x202)]===0x0?_0x7fce34[_0x107842(0x2d5)]:_0x7fce34[_0x107842(0x233)]:_0x3ffa0d=_0x7fce34['rowStyle'],_0x2c45b1&&(_0x3ffa0d={..._0x3ffa0d,'n':{'pattern':_0x2c45b1}}),_0x17f636[_0x107842(0x15d)](_0x1b8451+_0x10fe1,_0x39f37e+_0x250d54,_0x58051e(_0x3e9f2b,_0x1ebadc,_0x3ffa0d,_0xf4bcf3));}_0x3c9559['info'][_0x1b8451]&&(_0x4018ae[''+(_0x1b8451+_0x10fe1)]=_0x3c9559[_0x107842(0x32a)][_0x1b8451]),_0x3c9559[_0x107842(0x449)][_0x1b8451]&&(_0xf0e4ae[''+(_0x1b8451+_0x250d54)]=_0x3c9559[_0x107842(0x449)][_0x1b8451]);}const _0x22bea7=_0x307f13[_0x107842(0x287)](),_0x31f7ba=_0x307f13[_0x107842(0x163)]();for(let _0x25bd33=0x0;_0x25bd33<_0x22bea7;_0x25bd33++)for(let _0xa1323c=0x0;_0xa1323c<_0x31f7ba;_0xa1323c++){const _0x307ffd={...(_0x4ed183=(_0x577d03=_0x307f13['data'])==null?void 0x0:_0x577d03[_0x25bd33])==null?void 0x0:_0x4ed183[_0xa1323c]};let _0xbe50a3;_0x3c9559[_0x107842(0x32a)][_0x25bd33]['isBottomTotal']?_0xbe50a3=_0x3c9559[_0x107842(0x32a)][_0x25bd33][_0x107842(0x202)]===0x0?_0x7fce34[_0x107842(0x2d5)]:_0x7fce34[_0x107842(0x233)]:_0xbe50a3=_0x7fce34[_0x107842(0x1f9)];const _0x1fc452=_0x3c9559[_0x107842(0x32a)][_0x25bd33]['valueIndex'],_0x1f6ca7=_0xfe3e02['info'][_0xa1323c][_0x107842(0x3e2)],_0x45531a=Math[_0x107842(0x43a)](_0x1fc452,_0x1f6ca7),_0x11005c=_0x23fba1[_0x107842(0x347)][_0x107842(0x2b1)][_0x107842(0x17e)]();let _0x2dd0ef='';_0x45531a<0x0?_0x2dd0ef=(_0x4b10f6=_0x11005c[0x0])!=null?_0x4b10f6:'':_0x2dd0ef=(_0x3a0180=_0x11005c[_0x45531a])!=null?_0x3a0180:'';const _0x219ea2=_0x2e5dc9[_0x2dd0ef];_0x219ea2&&(_0xbe50a3={..._0xbe50a3,'n':{'pattern':_0x219ea2}}),_0x17f636[_0x107842(0x15d)](_0x25bd33+_0x10fe1,_0xa1323c+_0x339c71,_0x58051e(_0x3e9f2b,_0x307ffd,_0xbe50a3));}return{'valueMatrix':_0x17f636,'rowInfo':_0x4018ae,'colInfo':_0x5ca592,'cornerInfo':_0x4cc19c,'rowHeaderMap':_0xf0e4ae,'colHeaderMap':_0x2f15d};};function _0x1b9053(_0x4ce3e5,_0x42149b,_0xc01ed8,_0x5dfc80){const _0x57ec6d=_0x47b8d2;let _0x447c35=_0x4ce3e5['v'];_0x42149b&&(_0x447c35=''+_0x5dfc80[_0x57ec6d(0x201)]);const _0x4b2d0e=_0x4ce3e5['t']&&(_0x4ce3e5['t']&_0x2bd5b3[_0x57ec6d(0x314)][_0x57ec6d(0x32e)])>0x0;_0x4b2d0e&&(_0x447c35=''+_0x5dfc80[_0x57ec6d(0x404)]);const _0xe5b0de=_0x4ce3e5['t']&&(_0x4ce3e5['t']&_0x2bd5b3[_0x57ec6d(0x314)][_0x57ec6d(0x16d)])>0x0;if(_0xe5b0de&&(_0x447c35=''+_0x5dfc80[_0x57ec6d(0x1e9)]),_0x4ce3e5['s']===_0x2bd5b3[_0x57ec6d(0x3ed)][_0x57ec6d(0x3f4)]){let _0x236a1d=_0x447c35,_0x5a4317='';_0x2bd5b3[_0x57ec6d(0x159)](_0x447c35)&&(_0x236a1d=_0x447c35[_0x57ec6d(0x18d)],_0x5a4317=_0x447c35['value']);const _0x13ee9c=_0xc01ed8&&!_0x4b2d0e&&!_0xe5b0de?_0x108556[_0x57ec6d(0x238)][_0x57ec6d(0x275)](_0xc01ed8,Number(_0x236a1d)):_0x236a1d;_0x5a4317?_0x447c35=_0x13ee9c+'\x20'+_0x5a4317:_0x447c35=_0x13ee9c+'\x20'+_0x5dfc80[_0x57ec6d(0x26b)];}else _0x4ce3e5['s']===_0x2bd5b3[_0x57ec6d(0x3ed)][_0x57ec6d(0x16c)]&&(_0x447c35=_0x447c35+'\x20'+_0x5dfc80[_0x57ec6d(0x1fa)]);return _0x447c35;}function _0x162bda(_0x4f9c2f){const _0x17ed48=_0x47b8d2;if(_0x2bd5b3[_0x17ed48(0x27f)](_0x4f9c2f)){const {errorType:_0x4413aa}=_0x4f9c2f;switch(_0x4413aa){case _0x2bd5b3['PivotErrorTypeEnum'][_0x17ed48(0x3fe)]:return _0x3c891a[_0x17ed48(0x2ab)][_0x17ed48(0x1d4)];case _0x2bd5b3['PivotErrorTypeEnum']['NotNumber']:return _0x3c891a[_0x17ed48(0x2ab)]['NUM'];case _0x2bd5b3[_0x17ed48(0x38e)][_0x17ed48(0x41a)]:return _0x3c891a[_0x17ed48(0x2ab)]['NAME'];case _0x2bd5b3[_0x17ed48(0x38e)][_0x17ed48(0x433)]:return _0x3c891a[_0x17ed48(0x2ab)][_0x17ed48(0x318)];case _0x2bd5b3[_0x17ed48(0x38e)]['BadReference']:return _0x3c891a[_0x17ed48(0x2ab)]['REF'];}}return _0x4f9c2f;}function _0x5e81ab(_0x4c76a1,_0x457d38,_0x4f2cda=!0x1,_0x20a2c9=!0x1){const _0x5609cb=_0x47b8d2,{data:_0x556358}=_0x457d38,_0x2d3aba=_0x457d38[_0x5609cb(0x287)](),_0x3f49f8=_0x457d38['getColCount']();if(_0x2d3aba<=0x0||_0x3f49f8<=0x0)return[];const _0x4bef27=_0x457d38['getLastCol'](),_0x41a484=_0x457d38[_0x5609cb(0x2bb)](),_0x194870=_0x20a2c9?_0x41a484>=0x0?_0x41a484+0x1:0x0:_0x2d3aba,_0x399cf8=_0x20a2c9?_0x4bef27>=0x0?_0x4bef27+0x1:0x0:_0x3f49f8,{row:_0x27ed57,col:_0x2f1e15}=_0x4c76a1,_0x2b44c3=_0x27ed57,_0x5b9c02=_0x2f1e15;if(_0x4f2cda){const _0x13cec7=[];for(const [_0x2f4307,_0x4f823e]of Object[_0x5609cb(0x239)](_0x556358))for(const [_0x1b115c,_0x4eda4d]of Object[_0x5609cb(0x239)](_0x4f823e))_0x13cec7[_0x5609cb(0x2aa)](_0x108556[_0x5609cb(0x28f)](_0x2b44c3+Number(_0x2f4307),_0x5b9c02+Number(_0x1b115c)));return _0x13cec7;}else{const _0x5703e1=_0x20a2c9?_0x194870>0x0?0x1:0x0:0x1,_0x39069a=_0x20a2c9?_0x399cf8>0x0?0x1:0x0:0x1,_0x2c1862=_0x27ed57+_0x194870-_0x5703e1,_0x5c3edd=_0x2f1e15+_0x399cf8-_0x39069a;return[{'startRow':_0x2b44c3,'startColumn':_0x5b9c02,'endRow':_0x2c1862,'endColumn':_0x5c3edd}];}}const _0x5d78c9=_0x47b8d2(0x151),_0x997266=_0x47b8d2(0x14c);var _0x22171c=(_0x2e2cde=>(_0x2e2cde['Filter']=_0x47b8d2(0x31e),_0x2e2cde[_0x47b8d2(0x3e9)]=_0x47b8d2(0x1a8),_0x2e2cde[_0x47b8d2(0x215)]=_0x47b8d2(0x466),_0x2e2cde['AddPivotTableWithConfig']=_0x47b8d2(0x1f2),_0x2e2cde[_0x47b8d2(0x205)]=_0x47b8d2(0x44b),_0x2e2cde[_0x47b8d2(0x2a2)]=_0x47b8d2(0x2bd),_0x2e2cde[_0x47b8d2(0x3ae)]=_0x47b8d2(0x14d),_0x2e2cde[_0x47b8d2(0x307)]='setPivotCollapse',_0x2e2cde[_0x47b8d2(0x2b7)]=_0x47b8d2(0x171),_0x2e2cde[_0x47b8d2(0x3b7)]='setPivotSort',_0x2e2cde[_0x47b8d2(0x2f2)]=_0x47b8d2(0x403),_0x2e2cde[_0x47b8d2(0x2bf)]=_0x47b8d2(0x3bd),_0x2e2cde[_0x47b8d2(0x346)]=_0x47b8d2(0x3a7),_0x2e2cde[_0x47b8d2(0x3eb)]=_0x47b8d2(0x3fc),_0x2e2cde['SetValuePivotFilter']='setValuePivotFilter',_0x2e2cde[_0x47b8d2(0x172)]=_0x47b8d2(0x288),_0x2e2cde[_0x47b8d2(0x2cd)]='resetPivotTable',_0x2e2cde))(_0x22171c||{});const _0x488a30={'sheets-pivot.blankValue':_0x47b8d2(0x16b),'sheets-pivot.columnName':_0x47b8d2(0x225),'sheets-pivot.subTotalText':_0x47b8d2(0x428),'sheets-pivot.grandTotalText':_0x47b8d2(0x1d6),'sheets-pivot.valueText':_0x47b8d2(0x3c6),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x47b8d2(0x34e),'sheets-pivot.countNumsName':_0x47b8d2(0x34e),'sheets-pivot.maxName':_0x47b8d2(0x279),'sheets-pivot.minName':_0x47b8d2(0x182),'sheets-pivot.productName':_0x47b8d2(0x378),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x47b8d2(0x1cd),'sheets-pivot.sumName':_0x47b8d2(0x2d6),'sheets-pivot.varName':_0x47b8d2(0x1f1),'sheets-pivot.varpName':_0x47b8d2(0x363),'sheets-pivot.subTotal':_0x47b8d2(0x3f4),'sheets-pivot.grandTotal':_0x47b8d2(0x1d6),'sheets-pivot.value':_0x47b8d2(0x3f3),'sheets-pivot.blank':'blank','sheets-pivot.other':_0x47b8d2(0x16d),'sheets-pivot.emptyPivot.filter':_0x47b8d2(0x27e),'sheets-pivot.emptyPivot.row':_0x47b8d2(0x43b),'sheets-pivot.emptyPivot.column':_0x47b8d2(0x42c),'sheets-pivot.emptyPivot.values':_0x47b8d2(0x234)},_0x35686c={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3f49c1=_0x108556[_0x47b8d2(0x427)](_0x47b8d2(0x418)),_0x4acca5=_0x108556[_0x47b8d2(0x253)](_0x47b8d2(0x41b));var _0x591b6a=(_0x2c6fa2=>(_0x2c6fa2[_0x47b8d2(0x273)]=_0x47b8d2(0x273),_0x2c6fa2['delete']=_0x47b8d2(0x424),_0x2c6fa2[_0x47b8d2(0x284)]=_0x47b8d2(0x284),_0x2c6fa2))(_0x591b6a||{}),_0x2c8cb5=(_0x4f918c=>(_0x4f918c[_0x47b8d2(0x311)]=_0x47b8d2(0x273),_0x4f918c[_0x47b8d2(0x2d7)]=_0x47b8d2(0x2a1),_0x4f918c['Delete']=_0x47b8d2(0x424),_0x4f918c))(_0x2c8cb5||{});const _0x30fcb5={'type':_0x108556[_0x47b8d2(0x293)]['MUTATION'],'id':_0x47b8d2(0x37d),'handler':()=>!0x0},_0x293b3b={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x15a),'handler':()=>!0x0},_0x4fe718={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x1f6),'handler':()=>!0x0},_0x5ea1b6={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x3e7),'handler':()=>!0x0},_0x4ef0f2={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x3cc),'handler':()=>!0x0};var _0x22b892=Object[_0x47b8d2(0x44f)],_0x5a606b=(_0xff6eb6,_0x9d2ca0,_0x12b85f,_0x592bfe)=>{const _0x35d1d9=_0x47b8d2;for(var _0x43794c=_0x592bfe>0x1?void 0x0:_0x592bfe?_0x22b892(_0x9d2ca0,_0x12b85f):_0x9d2ca0,_0x674256=_0xff6eb6[_0x35d1d9(0x472)]-0x1,_0x42a388;_0x674256>=0x0;_0x674256--)(_0x42a388=_0xff6eb6[_0x674256])&&(_0x43794c=_0x42a388(_0x43794c)||_0x43794c);return _0x43794c;},_0x587241=(_0x5b9cde,_0x4948b9)=>(_0x55cfbd,_0x5b154b)=>_0x4948b9(_0x55cfbd,_0x5b154b,_0x5b9cde);_0x118be4['SheetsPivotRPCService']=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x42b6ac){const _0x54bc08=_0x47b8d2;super(),_0x44a70e(this,_0x54bc08(0x2b6),new Map()),this[_0x54bc08(0x1e8)]=_0x42b6ac;}[_0x47b8d2(0x1c9)](_0x29638c){const _0x1d8911=_0x47b8d2,{version:_0x581129}=_0x29638c,_0x25b733=this['_requestResolvers'][_0x1d8911(0x26d)](_0x581129);_0x25b733&&(_0x25b733(_0x29638c),this['_requestResolvers'][_0x1d8911(0x424)](_0x581129));}[_0x47b8d2(0x3d9)](_0x5178a6){return new Promise((_0x12cf44,_0x504660)=>{const _0x304415=_0x17bb,_0x5bdfbf=this[_0x304415(0x470)]();this[_0x304415(0x2b6)][_0x304415(0x2a1)](_0x5bdfbf,_0x12cf44),this[_0x304415(0x1e8)][_0x304415(0x389)](_0x30fcb5['id'],{'version':_0x5bdfbf,..._0x5178a6},{'onlyLocal':!0x0});});}[_0x47b8d2(0x470)](){const _0x482e92=_0x47b8d2;return Math[_0x482e92(0x397)]()[_0x482e92(0x27b)](0x24)['substring'](0x2,0x10);}},_0x118be4[_0x47b8d2(0x37f)]=_0x5a606b([_0x587241(0x0,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x2cf)]))],_0x118be4[_0x47b8d2(0x37f)]);const _0x3cc11a={0x0:'9',0x1:'Z',0x2:'2',0x3:'x',0x4:'t',0x5:'n',0x6:'J',0x7:'r',0x8:'6',0x9:'V','P':'0','U':'1','Y':'3','G':'4','Q':'5','a':'7','T':'8','u':'a','t':'b','o':'c','c':'d','d':'e','e':'f','p':'g','B':'h','W':'i','J':'j','L':'k','O':'l','K':'m','x':'o','l':'p','w':'q','i':'s','q':'u','X':'v','D':'w','s':'y','v':'z','j':'A','I':'B','N':'C','h':'D','F':'E','b':'F','H':'G','Z':'H','y':'I','n':'K','m':'L','g':'M','M':'N','k':'O','A':'P','z':'Q','E':'R','r':'S','C':'T','S':'U','R':'W','f':'X','V':'Y'},_0x2fd58a=_0x47b8d2(0x459),_0x2f4b6b=_0x4027d0=>{const _0x40ad68=_0x47b8d2;var _0x31e5d7;return((_0x31e5d7=_0x4027d0[_0x40ad68(0x2a8)])==null?void 0x0:_0x31e5d7[_0x40ad68(0x199)][_0x40ad68(0x3b4)](/\r\n$/,''))||'';};class _0x5599ce extends _0x2bd5b3[_0x47b8d2(0x39e)]{constructor(_0x13a096,_0x41a5f9){const _0x43adb5=_0x47b8d2;super(),_0x44a70e(this,_0x43adb5(0x282),{}),_0x44a70e(this,_0x43adb5(0x3ca)),_0x44a70e(this,_0x43adb5(0x30c)),(this['_univerInstanceService']=_0x41a5f9,this[_0x43adb5(0x30c)]=_0x13a096);}['initDataRanges'](){const _0x92a34d=_0x47b8d2;for(const _0x2c683d in this[_0x92a34d(0x1a3)]){const _0x2aa947=this[_0x92a34d(0x1a3)][_0x2c683d],_0x57acb0=_0x2aa947['getRangeKey']();this[_0x92a34d(0x282)][_0x57acb0]=_0x2aa947[_0x92a34d(0x467)]();}}['getAutoDisplayNameFunction'](){const _0x22d38e=_0x47b8d2,_0x26f011=this[_0x22d38e(0x30c)];return _0x51ff57[_0x22d38e(0x471)](_0x26f011);}[_0x47b8d2(0x2ef)](_0x28d47f){const _0x3db0e4=_0x47b8d2,_0x4baa94=this['dataFields'][_0x28d47f][_0x3db0e4(0x255)];delete this[_0x3db0e4(0x1a3)][_0x28d47f],delete this[_0x3db0e4(0x282)][_0x4baa94];}[_0x47b8d2(0x417)](_0x1e68ac){const _0x5cdfe1=_0x47b8d2;this[_0x5cdfe1(0x1a3)][_0x1e68ac[_0x5cdfe1(0x467)]()]=_0x1e68ac;}['removeCollectionImp'](_0x4c5def){const _0x20eede=_0x47b8d2;var _0x28edcd,_0x59b824;const _0xb8a7f9=this[_0x20eede(0x30c)]['getTargetByPivotId'](_0x4c5def);if(_0xb8a7f9){const {unitId:_0x17cefa,subUnitId:_0x1f8085}=_0xb8a7f9,_0x16372f=(_0x28edcd=this[_0x20eede(0x30c)][_0x20eede(0x294)](_0x17cefa,_0x1f8085,_0x4c5def))==null?void 0x0:_0x28edcd[_0x20eede(0x249)];this['_host'][_0x20eede(0x168)]({'token':_0x4c5def,'type':_0x591b6a[_0x20eede(0x424)],'dataRangeInfo':_0x16372f});}(_0x59b824=this['getCollection'](_0x4c5def))==null||_0x59b824['dispose'](),delete this['collections'][_0x4c5def];}[_0x47b8d2(0x3f0)](_0x443fee,_0xfd0d1){const _0x2e3495=_0x47b8d2,{sheetName:_0x175aae,unitId:_0x294c1b,range:_0x54dfd5}=_0x443fee,{startRow:_0x44bc03,endRow:_0x5ae5e5}=_0x54dfd5;return _0x3c891a[_0x2e3495(0x341)](_0x294c1b,_0x175aae,{'startRow':_0x44bc03,'endRow':_0x5ae5e5,'startColumn':_0xfd0d1,'endColumn':_0xfd0d1});}[_0x47b8d2(0x236)](_0xc5d65d){const _0x501a23=_0x47b8d2;return this[_0x501a23(0x1a3)][this['rangeKeyMap'][_0xc5d65d]];}[_0x47b8d2(0x21e)](_0x1e50d8,_0x3efcc5){const _0x5a91a3=_0x47b8d2;this[_0x5a91a3(0x282)][_0x1e50d8]=_0x3efcc5;}[_0x47b8d2(0x435)](_0x391413,_0x5522b3){const _0x674aa7=_0x47b8d2;this[_0x674aa7(0x282)][_0x5522b3]=this['rangeKeyMap'][_0x391413],delete this['rangeKeyMap'][_0x391413];}[_0x47b8d2(0x243)](_0x18e7f9,_0x28e8d3,_0x485618,_0x484d88){const _0x3342b7=_0x47b8d2,_0x3df17c=new _0x2bd5b3[(_0x3342b7(0x299))](this);_0x3df17c[_0x3342b7(0x37b)](_0x28e8d3);const _0x43ccb0=[];let _0x433f6f=0x0;for(const _0x58408c of _0x3df17c[_0x3342b7(0x1e1)]){const _0x195761=this[_0x3342b7(0x3f0)](_0x485618,_0x433f6f),_0x42391d=this[_0x3342b7(0x1a3)][_0x58408c];_0x42391d&&(_0x42391d[_0x3342b7(0x255)]=_0x195761,this['setRangeKeyMap'](_0x195761,_0x58408c),_0x43ccb0[_0x3342b7(0x2aa)]({'index':_0x433f6f,'dataField':_0x42391d})),_0x433f6f++;}return this['addCollection'](_0x18e7f9,_0x3df17c,_0x485618,_0x484d88),{'collection':_0x3df17c,'updateDataFieldList':_0x43ccb0};}[_0x47b8d2(0x22c)](_0x3c7ec4,_0x2e91bb){const _0x335e88=_0x47b8d2;return _0x3c7ec4[_0x335e88(0x29e)]===_0x108556[_0x335e88(0x39d)][_0x335e88(0x3ad)]?{'startRow':0x0,'startColumn':_0x3c7ec4[_0x335e88(0x2bc)],'endRow':_0x2e91bb['getRowCount']()-0x1,'endColumn':_0x3c7ec4[_0x335e88(0x24d)]}:{'startRow':_0x3c7ec4[_0x335e88(0x33f)],'startColumn':_0x3c7ec4[_0x335e88(0x2bc)],'endRow':_0x3c7ec4[_0x335e88(0x3c2)],'endColumn':_0x3c7ec4[_0x335e88(0x24d)]};}[_0x47b8d2(0x193)](_0x556c17){const _0x334af0=_0x47b8d2,{sheetName:_0x190cd7,range:_0x4aa485}=_0x556c17,_0x14ddf6=this['_univerInstanceService'][_0x334af0(0x308)](_0x108556['UniverInstanceType'][_0x334af0(0x260)]),_0x531cba=_0x14ddf6[_0x334af0(0x187)](_0x190cd7),_0x54ee95=_0x531cba['getCellMatrix'](),{startColumn:_0x225b6e,startRow:_0x4cf952,endColumn:_0x49264d}=this[_0x334af0(0x22c)](_0x4aa485,_0x531cba),_0x3ff442=_0x14ddf6[_0x334af0(0x24e)](),_0x215596=new _0x2bd5b3[(_0x334af0(0x299))](this);_0x215596[_0x334af0(0x152)](_0x556c17);const _0x3a1170=[],_0x5db83b={};for(let _0x3183f8=_0x225b6e;_0x3183f8<=_0x49264d;_0x3183f8++){const _0x4fe4b2=_0x54ee95[_0x334af0(0x1af)](_0x4cf952,_0x3183f8),_0xbc184a=this['getRangeKey'](_0x556c17,_0x3183f8),_0x52db17=this[_0x334af0(0x236)](_0xbc184a);if(_0x52db17)_0x215596[_0x334af0(0x1fe)](_0x52db17['getId'](),_0x52db17[_0x334af0(0x348)]());else{const _0x1ebdf9=this['createDataFieldId']();let _0xcff8e2=this[_0x334af0(0x267)](_0x4fe4b2,_0x3ff442,_0x5db83b);_0x2bd5b3[_0x334af0(0x32c)](_0xcff8e2)&&(_0xcff8e2=_0x108556[_0x334af0(0x238)][_0x334af0(0x275)](_0xcff8e2['f'],Number(_0xcff8e2['v'])));const _0x11d46b=this[_0x334af0(0x210)](_0xcff8e2,_0x3183f8),_0x385a54=new _0x2bd5b3[(_0x334af0(0x245))](_0x1ebdf9,_0x11d46b,_0x2bd5b3[_0x334af0(0x1aa)](0x3));_0x385a54[_0x334af0(0x255)]=_0xbc184a,this[_0x334af0(0x1a3)][_0x1ebdf9]=_0x385a54,_0x215596[_0x334af0(0x1fe)](_0x1ebdf9,_0x11d46b),_0x3a1170[_0x334af0(0x2aa)]({'index':_0x3183f8,'dataField':_0x385a54});}}return{'updateDataFieldList':_0x3a1170,'collection':_0x215596};}[_0x47b8d2(0x176)](_0x496632){const _0x560a1c=_0x47b8d2;return this['_host']['getTextInfo']()[_0x560a1c(0x240)]+'\x20'+_0x108556[_0x560a1c(0x369)](_0x496632);}['uniqueDataFieldName'](_0x26d6db,_0x10609b){return _0x26d6db==null||_0x26d6db===''?this['_getAutoName'](_0x10609b):String(_0x26d6db);}['getCollection'](_0x15601d){const _0x2be0e1=_0x47b8d2;return this[_0x2be0e1(0x17f)][_0x15601d];}['addCollection'](_0x5ba43a,_0xee856,_0x22d9d1,_0x4ac526){const _0x4190a9=_0x47b8d2;this[_0x4190a9(0x17f)][_0x5ba43a]=_0xee856,_0xee856['setRange'](_0x22d9d1),this['_host'][_0x4190a9(0x168)]({'token':_0x5ba43a,'type':_0x591b6a[_0x4190a9(0x273)],'dataRangeInfo':_0x22d9d1,'targetCellInfo':_0x4ac526});}[_0x47b8d2(0x1f7)](_0x153b5c,_0x309258){const _0x132562=_0x47b8d2,_0x54b830=this[_0x132562(0x3a1)](_0x153b5c),_0x51fd63=_0x54b830[_0x132562(0x214)]();let _0x5bcd9d=0x0;for(const _0x1f68bc of _0x51fd63){const _0x1bddec=_0x54b830['getFieldById'](_0x1f68bc),_0x4d551a=this[_0x132562(0x3f0)](_0x309258,_0x5bcd9d);this[_0x132562(0x435)](_0x1bddec['rangeKey'],_0x4d551a),_0x5bcd9d++;}}[_0x47b8d2(0x2ca)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x58b4e6,_0x493530){const _0x15fb54=_0x47b8d2;if(this[_0x15fb54(0x3a1)](_0x58b4e6)){const _0x516e23=this[_0x15fb54(0x24c)](_0x493530),_0x37e3a7=[];for(const _0x710940 of _0x516e23)this[_0x15fb54(0x282)][_0x710940]!==void 0x0&&_0x37e3a7[_0x15fb54(0x2aa)](this[_0x15fb54(0x282)][_0x710940]);const _0x202768=this['getNoUsedDataFieldIds'](_0x58b4e6),_0x5c24d9=[],_0x1b2a6e=new Set(_0x37e3a7);for(const _0x550f0c of _0x202768)_0x1b2a6e[_0x15fb54(0x38f)](_0x550f0c)||_0x5c24d9[_0x15fb54(0x2aa)](_0x550f0c);return _0x5c24d9;}}[_0x47b8d2(0x272)](_0x467d8c,_0xaf4130,_0x23c20b,_0x32c4b0,_0x9b1e51){const _0x223cdc=_0x47b8d2;return _0xaf4130&&_0xaf4130[_0x223cdc(0x1af)](_0x32c4b0,_0x9b1e51)?_0xaf4130['getValue'](_0x32c4b0,_0x9b1e51):_0x23c20b&&_0x23c20b[_0x223cdc(0x1af)](_0x32c4b0,_0x9b1e51)?_0x23c20b[_0x223cdc(0x1af)](_0x32c4b0,_0x9b1e51):_0x467d8c['getValue'](_0x32c4b0,_0x9b1e51);}['refreshDataField'](_0x5b22b3,_0x3bc37e,_0x1b6bd3,_0x81a725){const _0x49a63f=_0x47b8d2,_0x248108=this[_0x49a63f(0x1a3)][_0x5b22b3];if(!_0x248108)return;const {subUnitId:_0x1c8d61,range:_0x463139,unitId:_0x3b3d47}=_0x3bc37e,_0x1339d0=this[_0x49a63f(0x3ca)][_0x49a63f(0x3f1)](_0x3b3d47);if(!_0x1339d0){console[_0x49a63f(0x26f)](_0x49a63f(0x440));return;}const _0x2705ea=_0x1339d0[_0x49a63f(0x20a)](_0x1c8d61),_0x2a1d9b=_0x2705ea['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x3a8646,unitDataMatrix:_0x303e48}=_0x81a725||{},{startRow:_0x5dfe7a,startColumn:_0x258e2d,endRow:_0x164dbf}=this['getRangeStartEndInfo'](_0x463139,_0x2705ea);_0x248108[_0x49a63f(0x3d0)]();const _0x5e8f63=_0x1339d0['getStyles'](),_0x4069cf={},_0x2baa11=this[_0x49a63f(0x272)](_0x2a1d9b,_0x3a8646,_0x303e48,_0x5dfe7a,_0x258e2d+_0x1b6bd3);let _0x147e3b=this['adjustSheetCellData'](_0x2baa11,_0x5e8f63,_0x4069cf);_0x2bd5b3[_0x49a63f(0x32c)](_0x147e3b)&&(_0x147e3b=_0x108556[_0x49a63f(0x238)][_0x49a63f(0x275)](_0x147e3b['f'],Number(_0x147e3b['v'])));const _0x4b66e0=this['uniqueDataFieldName'](_0x147e3b,_0x258e2d+_0x1b6bd3);_0x248108[_0x49a63f(0x230)](_0x4b66e0);for(let _0x4fa858=_0x5dfe7a+0x1;_0x4fa858<=_0x164dbf;_0x4fa858++){const _0x753ec4=this[_0x49a63f(0x272)](_0x2a1d9b,_0x3a8646,_0x303e48,_0x4fa858,_0x258e2d+_0x1b6bd3);_0x248108[_0x49a63f(0x45f)](this[_0x49a63f(0x267)](_0x753ec4,_0x5e8f63,_0x4069cf),_0x4fa858-0x1-_0x5dfe7a);}}['refreshData'](_0x104bf7,_0x8adf68,_0x299c15){const _0x3ad3f7=_0x47b8d2,{subUnitId:_0x199fd7,range:_0x17674e,unitId:_0x11fc94}=_0x299c15,_0x32a86f=this[_0x3ad3f7(0x3ca)][_0x3ad3f7(0x3f1)](_0x11fc94);if(!_0x32a86f){console[_0x3ad3f7(0x26f)](_0x3ad3f7(0x440));return;}const _0x1f2207=_0x32a86f[_0x3ad3f7(0x20a)](_0x199fd7),_0x11161a=_0x1f2207['getCellMatrix'](),{startRow:_0x2971e5,startColumn:_0x1d262c,endRow:_0x1f7e32}=this[_0x3ad3f7(0x22c)](_0x17674e,_0x1f2207),_0x561e31=_0x32a86f['getStyles'](),_0x109a6f={};for(const {dataField:_0x1d32d1,index:_0x3de103}of _0x8adf68){_0x1d32d1[_0x3ad3f7(0x3d0)]();const _0x5915c6=this[_0x3ad3f7(0x272)](_0x11161a,void 0x0,void 0x0,_0x2971e5,_0x1d262c+_0x3de103);let _0x2cf384=this[_0x3ad3f7(0x267)](_0x5915c6,_0x561e31,_0x109a6f);_0x2bd5b3[_0x3ad3f7(0x32c)](_0x2cf384)&&(_0x2cf384=_0x108556['numfmt']['format'](_0x2cf384['f'],Number(_0x2cf384['v'])));const _0x1e8d05=this[_0x3ad3f7(0x210)](_0x2cf384,_0x1d262c+_0x3de103);_0x1d32d1['setName'](_0x1e8d05);}_0x104bf7[_0x3ad3f7(0x398)]();for(let _0x1af700=_0x2971e5+0x1;_0x1af700<=_0x1f7e32;_0x1af700++)for(const {index:_0x2a5329,dataField:_0x25a772}of _0x8adf68){const _0x3f2f06=_0x11161a['getValue'](_0x1af700,_0x1d262c+_0x2a5329);_0x25a772[_0x3ad3f7(0x45f)](this[_0x3ad3f7(0x267)](_0x3f2f06,_0x561e31,_0x109a6f),_0x1af700-0x1-_0x2971e5);}_0x104bf7[_0x3ad3f7(0x35f)](_0x1f7e32-_0x2971e5);}['getRangeKeyList'](_0x36aaa6){const _0x2abe85=_0x47b8d2,{range:_0x51c16b}=_0x36aaa6,{startColumn:_0x4554bc,endColumn:_0x2ab763}=_0x51c16b,_0x2c4ce7=[];for(let _0x1d20dc=_0x4554bc;_0x1d20dc<=_0x2ab763;_0x1d20dc++)_0x2c4ce7[_0x2abe85(0x2aa)](this['getRangeKey'](_0x36aaa6,_0x1d20dc));return _0x2c4ce7;}[_0x47b8d2(0x267)](_0x22f8bf,_0x5d7b50,_0x5afc0b){const _0x310b7f=_0x47b8d2;if(_0x22f8bf){const {s:_0xd0ec6,v:_0x4daa9f,t:_0x4bff17,p:_0x5bc39b}=_0x22f8bf;if(_0x5bc39b)return _0x2f4b6b(_0x5bc39b);const _0x121ff8=_0x5d7b50['get'](_0xd0ec6);if(_0x121ff8&&_0x4bff17===_0x108556[_0x310b7f(0x188)][_0x310b7f(0x2d1)]&&_0x121ff8['n']){const {pattern:_0x4025b5}=_0x121ff8['n'];_0x5afc0b[_0x4025b5]||(_0x5afc0b[_0x4025b5]=_0x108556['numfmt'][_0x310b7f(0x33e)](_0x4025b5));const _0x39b6f6=_0x5afc0b[_0x4025b5],_0x368ad9=_0x39b6f6['isDate'];if(_0x39b6f6[_0x310b7f(0x3c9)])return String(_0x4daa9f);if(_0x368ad9)return{'v':_0x4daa9f,'f':_0x4025b5};}if(_0x4bff17===_0x108556[_0x310b7f(0x188)][_0x310b7f(0x2d1)])return Number(_0x4daa9f);if(_0x4bff17===_0x108556['CellValueType']['STRING']||_0x4bff17===_0x108556[_0x310b7f(0x188)][_0x310b7f(0x244)])return String(_0x4daa9f);if(_0x4bff17===void 0x0){const _0x13b6d4=Number(_0x4daa9f);if(!Number[_0x310b7f(0x400)](_0x13b6d4)&&String(_0x13b6d4)===_0x4daa9f)return _0x13b6d4;}return _0x4daa9f!=null?_0x4daa9f:null;}else return null;}['getRangeData'](_0x445928){const _0x558e3d=_0x47b8d2,{sheetName:_0x202415,range:_0x2b8dca,unitId:_0x8c0f94}=_0x445928,_0x2cb273=this[_0x558e3d(0x3ca)][_0x558e3d(0x3f1)](_0x8c0f94);if(!_0x2cb273)return console[_0x558e3d(0x26f)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x4763e9=_0x2cb273[_0x558e3d(0x187)](_0x202415),_0x4c1da0=_0x4763e9['getCellMatrix'](),{startRow:_0x415926,startColumn:_0x20ea6b,endRow:_0x42e3ba,endColumn:_0x52066c}=this[_0x558e3d(0x22c)](_0x2b8dca,_0x4763e9),_0x5554fe=_0x2cb273[_0x558e3d(0x24e)](),_0x521789=[],_0x1351f7=[],_0x2fd457={};for(let _0x216212=_0x415926;_0x216212<=_0x42e3ba;_0x216212++){const _0x49537f=[];for(let _0x2273b6=_0x20ea6b;_0x2273b6<=_0x52066c;_0x2273b6++){const _0x32fb65=_0x4c1da0[_0x558e3d(0x1af)](_0x216212,_0x2273b6);_0x216212===_0x415926?_0x521789[_0x558e3d(0x2aa)](_0x32fb65==null?null:String(_0x32fb65['v'])):_0x49537f['push'](this[_0x558e3d(0x267)](_0x32fb65,_0x5554fe,_0x2fd457));}_0x1351f7['push'](_0x49537f);}return{'header':_0x521789,'data':_0x1351f7};}[_0x47b8d2(0x302)](){const _0x32cd85=_0x47b8d2;return super[_0x32cd85(0x302)]();}['fromJSON'](_0x57ad13){const _0x33dfd8=_0x47b8d2;super['fromJSON'](_0x57ad13),this[_0x33dfd8(0x157)]();}[_0x47b8d2(0x42e)](){const _0x4a2d30=_0x47b8d2;super[_0x4a2d30(0x42e)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x4ecd8a=_0x5675d9=>{const _0x18c5db=_0x47b8d2,{targetCellInfo:_0x58d3e8}=_0x5675d9,{matrixCache:_0x245f4c,rangesCache:_0x1378a9}=_0x1f679({'filter':_0x18c5db(0x27e),'row':'Row','column':_0x18c5db(0x42c),'values':'Values'},_0x58d3e8),_0xe6ade1=new _0x108556[(_0x18c5db(0x161))]();return _0x245f4c[_0x18c5db(0x3e4)]((_0x11f4b4,_0x4793ac,_0x3beb29)=>{_0xe6ade1['setValue'](_0x11f4b4,_0x4793ac,_0x3beb29);}),{'matrix':_0xe6ade1,'rangesCache':_0x1378a9};},_0x43f93e=_0x4b864a=>{const _0x32b324=_0x47b8d2;let _0x5d06af;if(_0x4b864a!=null&&_0x4b864a['v']||(_0x4b864a==null?void 0x0:_0x4b864a['v'])===0x0){_0x5d06af||(_0x5d06af={});const _0x42e944=_0x162bda(_0x4b864a['v']);typeof _0x42e944==_0x32b324(0x477)?_0x5d06af['t']=_0x108556[_0x32b324(0x188)][_0x32b324(0x2d1)]:typeof _0x42e944==_0x32b324(0x2df)&&(_0x5d06af['t']=_0x108556['CellValueType']['STRING']),_0x5d06af['v']=_0x42e944;}return _0x5d06af;},_0x16f777=(_0x25f9c9,_0x457265,_0xb9db3a)=>{const _0x3bb37f=_0x47b8d2;var _0x3e7953,_0x42d62b,_0x5c0340,_0x46b426,_0x21a174,_0x583b41,_0x3cbba3,_0x522b8d,_0x1ed3ad,_0x3c774e,_0x48dcff,_0x9a6edc;const {cornerView:_0x2d860b,rowView:_0x4fc789,colView:_0x12efc3,dataView:_0x49d937,pageView:_0x11c2ff,formatMap:_0x22fb54}=_0x25f9c9,{row:_0x211a9a,col:_0x17d0c6}=_0x457265,_0x2d6d6b=new _0x108556['ObjectMatrix']();let _0x4202ed=_0x211a9a,_0x1f89ca=_0x17d0c6;Object[_0x3bb37f(0x24f)](_0x11c2ff[_0x3bb37f(0x1c2)])[_0x3bb37f(0x464)](_0x1e4f7f=>{const _0x606bd=_0x3bb37f;Object['keys'](_0x11c2ff[_0x606bd(0x1c2)][Number(_0x1e4f7f)])['forEach'](_0x25a7a3=>{const _0x1d4a9d=_0x606bd,_0x251dc3={..._0x11c2ff['data'][Number(_0x1e4f7f)][Number(_0x25a7a3)]};_0x2d6d6b[_0x1d4a9d(0x15d)](Number(_0x1e4f7f)+_0x4202ed,Number(_0x25a7a3)+_0x1f89ca,_0x43f93e(_0x251dc3));});});const _0x5db2fd=Object[_0x3bb37f(0x24f)](_0x11c2ff['data'])[_0x3bb37f(0x472)];_0x4202ed+=_0x5db2fd+(_0x5db2fd?_0x467340:0x0);const _0x23d849=_0x2d860b[_0x3bb37f(0x287)](),_0x1289cc=_0x2d860b['getColCount']();for(let _0x2f9b17=0x0;_0x2f9b17<_0x23d849;_0x2f9b17++)for(let _0x346aa0=0x0;_0x346aa0<_0x1289cc;_0x346aa0++){const _0x29321d={...(_0x42d62b=(_0x3e7953=_0x2d860b[_0x3bb37f(0x1c2)])==null?void 0x0:_0x3e7953[_0x2f9b17])==null?void 0x0:_0x42d62b[_0x346aa0]};_0x29321d&&((_0x5c0340=_0x4fc789[_0x3bb37f(0x449)][_0x346aa0])!=null&&_0x5c0340[_0x3bb37f(0x380)])&&_0x346aa0===_0x1289cc-0x1&&_0x2f9b17===_0x23d849-0x1&&(_0x29321d['v']=''+_0xb9db3a[_0x3bb37f(0x201)]),_0x2d6d6b['setValue'](_0x2f9b17+_0x4202ed,_0x346aa0+_0x1f89ca,_0x43f93e(_0x29321d));}_0x1f89ca+=_0x1289cc;const _0xddfdec=_0x12efc3[_0x3bb37f(0x449)],_0x28b21a=_0x12efc3[_0x3bb37f(0x2bb)]()>=0x0?_0x12efc3[_0x3bb37f(0x2bb)]()+0x1:0x0,_0x321047=_0x12efc3[_0x3bb37f(0x15e)]()>=0x0?_0x12efc3['getLastCol']()+0x1:0x0;for(let _0x3af267=0x0;_0x3af267<_0x321047;_0x3af267++)for(let _0x373292=0x0;_0x373292<_0x28b21a;_0x373292++){const _0x41af38={...(_0x21a174=(_0x46b426=_0x12efc3[_0x3bb37f(0x1c2)])==null?void 0x0:_0x46b426[_0x3af267])==null?void 0x0:_0x21a174[_0x373292]},_0x55f70f=(_0x583b41=_0xddfdec[_0x3af267])==null?void 0x0:_0x583b41['tableFieldId'],_0x4f7d7b=_0x22fb54[_0x55f70f];_0x41af38&&(_0x41af38['v']=_0x1b9053(_0x41af38,_0x3af267===0x0&&((_0x3cbba3=_0x12efc3[_0x3bb37f(0x3e3)](_0x373292+0x1))==null?void 0x0:_0x3cbba3[_0x3bb37f(0x380)]),_0x4f7d7b,_0xb9db3a)),_0x2d6d6b[_0x3bb37f(0x15d)](_0x3af267+_0x4202ed,_0x373292+_0x1f89ca,_0x43f93e(_0x41af38));}_0x4202ed+=_0x23d849;const _0x72960f=_0x4fc789['headerMap'],_0xc9893f=_0x4fc789[_0x3bb37f(0x2bb)]()>=0x0?_0x4fc789[_0x3bb37f(0x2bb)]()+0x1:0x0,_0x3299f5=_0x4fc789[_0x3bb37f(0x15e)]()>=0x0?_0x4fc789[_0x3bb37f(0x15e)]()+0x1:0x0;for(let _0xb9bfc3=0x0;_0xb9bfc3<_0xc9893f;_0xb9bfc3++)for(let _0x375713=0x0;_0x375713<_0x3299f5;_0x375713++){const _0x5608ef={...(_0x1ed3ad=(_0x522b8d=_0x4fc789[_0x3bb37f(0x1c2)])==null?void 0x0:_0x522b8d[_0xb9bfc3])==null?void 0x0:_0x1ed3ad[_0x375713]},_0x5a786d=(_0x3c774e=_0x72960f[_0x375713])==null?void 0x0:_0x3c774e[_0x3bb37f(0x442)],_0x2b4498=_0x22fb54[_0x5a786d];_0x5608ef&&(_0x5608ef['v']=_0x1b9053(_0x5608ef,!0x1,_0x2b4498,_0xb9db3a)),_0x2d6d6b[_0x3bb37f(0x15d)](_0xb9bfc3+_0x4202ed,_0x375713+_0x17d0c6,_0x43f93e(_0x5608ef));}const _0x773e54=_0x49d937[_0x3bb37f(0x287)](),_0x366a18=_0x49d937[_0x3bb37f(0x163)]();for(let _0x45d414=0x0;_0x45d414<_0x773e54;_0x45d414++)for(let _0x1ef810=0x0;_0x1ef810<_0x366a18;_0x1ef810++){const _0x3b5fca={...(_0x9a6edc=(_0x48dcff=_0x49d937[_0x3bb37f(0x1c2)])==null?void 0x0:_0x48dcff[_0x45d414])==null?void 0x0:_0x9a6edc[_0x1ef810]};_0x2d6d6b[_0x3bb37f(0x15d)](_0x45d414+_0x4202ed,_0x1ef810+_0x1f89ca,_0x43f93e(_0x3b5fca));}return _0x2d6d6b;},_0x5de79d=_0x31980c=>{const _0x4eebf9=_0x47b8d2,{view:_0x49dfda,targetCellInfo:_0x394e1a,isEmpty:_0x5a70b6,textInfo:_0x5d6b26}=_0x31980c;if(_0x5a70b6)return _0x4ecd8a(_0x31980c);const {pageView:_0x1bfccb,cornerView:_0x5618ec,rowView:_0x449340,colView:_0x27a0b5,dataView:_0x5ab066}=_0x49dfda,_0x5744f4=_0x5e81ab(_0x394e1a,_0x1bfccb,!0x0),_0x2d62ad=_0x1bfccb[_0x4eebf9(0x35b)]>=0x0?_0x1bfccb[_0x4eebf9(0x35b)]+0x1:0x0,_0x39811b=_0x5618ec[_0x4eebf9(0x287)](),_0x11252a=_0x5618ec[_0x4eebf9(0x163)](),_0xf1486e=_0x5744f4[_0x4eebf9(0x472)]>0x0?_0x467340:0x0,_0xfcea86=_0x5e81ab({'row':_0x394e1a['row']+_0x2d62ad+_0xf1486e,'col':_0x394e1a[_0x4eebf9(0x319)]},_0x5618ec,!0x1,!0x1),_0x30a869=_0x5e81ab({'row':_0x394e1a[_0x4eebf9(0x296)]+_0x2d62ad+_0xf1486e+_0x39811b,'col':_0x394e1a[_0x4eebf9(0x319)]},_0x449340,!0x1,!0x0),_0x449189=_0x5e81ab({'row':_0x394e1a[_0x4eebf9(0x296)]+_0x2d62ad+_0xf1486e,'col':_0x394e1a[_0x4eebf9(0x319)]+_0x11252a},_0x27a0b5,!0x1,!0x0),_0x22f910=_0x5e81ab({'row':_0x394e1a[_0x4eebf9(0x296)]+_0x2d62ad+_0xf1486e+_0x39811b,'col':_0x394e1a[_0x4eebf9(0x319)]+_0x11252a},_0x5ab066,!0x1,!0x1),_0x388449={'rowRanges':_0x30a869,'colRanges':_0x449189,'cornerRanges':_0xfcea86,'dataRanges':_0x22f910,'pageRanges':_0x5744f4};return{'matrix':_0x16f777(_0x49dfda,_0x394e1a,_0x5d6b26),'rangesCache':_0x388449};};var _0x57ba62=Object[_0x47b8d2(0x44f)],_0x85f3c2=(_0x10a235,_0x58959d,_0x42b0e5,_0x348e59)=>{for(var _0x3f0d41=_0x348e59>0x1?void 0x0:_0x348e59?_0x57ba62(_0x58959d,_0x42b0e5):_0x58959d,_0x111401=_0x10a235['length']-0x1,_0x5beb96;_0x111401>=0x0;_0x111401--)(_0x5beb96=_0x10a235[_0x111401])&&(_0x3f0d41=_0x5beb96(_0x3f0d41)||_0x3f0d41);return _0x3f0d41;},_0x1b8052=(_0x4298e8,_0x5c32ad)=>(_0x4aad48,_0x5a9c10)=>_0x5c32ad(_0x4aad48,_0x5a9c10,_0x4298e8);_0x118be4['SheetsPivotDataSourceModel']=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x1fd5cd,_0x48ec7b,_0x11cbcc,_0x4fdc0f,_0x46fe2f){const _0x3336f4=_0x47b8d2;super(),_0x44a70e(this,'_model',new Map()),_0x44a70e(this,'_pivotTableInstanceCache',new Map()),_0x44a70e(this,_0x3336f4(0x285),new Map()),_0x44a70e(this,_0x3336f4(0x29d)),_0x44a70e(this,_0x3336f4(0x460),new _0x1f8d69[(_0x3336f4(0x41e))]()),_0x44a70e(this,'collectionChange$',this[_0x3336f4(0x460)][_0x3336f4(0x217)]()),_0x44a70e(this,'_viewData$',new _0x1f8d69[(_0x3336f4(0x41e))]()),_0x44a70e(this,'viewData$',this['_viewData$']['asObservable']()),_0x44a70e(this,_0x3336f4(0x28a),new _0x1f8d69['Subject']()),_0x44a70e(this,_0x3336f4(0x156),this[_0x3336f4(0x28a)][_0x3336f4(0x217)]()),_0x44a70e(this,_0x3336f4(0x431),new Map()),_0x44a70e(this,_0x3336f4(0x2d4),[]),_0x44a70e(this,_0x3336f4(0x1ca),new Map()),(this[_0x3336f4(0x3fa)]=_0x1fd5cd,this[_0x3336f4(0x3ca)]=_0x48ec7b,this[_0x3336f4(0x325)]=_0x11cbcc,this[_0x3336f4(0x1e8)]=_0x4fdc0f,this['_resourceManagerService']=_0x46fe2f,this[_0x3336f4(0x2ee)]());}[_0x47b8d2(0x1d3)](){const _0x523093=_0x47b8d2;return this[_0x523093(0x29d)]?this[_0x523093(0x29d)]:_0x488a30;}[_0x47b8d2(0x414)](_0x2aa7a6){const _0x3480b9=_0x47b8d2;this[_0x3480b9(0x29d)]=_0x2aa7a6;}[_0x47b8d2(0x1f7)](_0x4830ab){const _0xd0098c=_0x47b8d2;var _0x140b94;const {from:_0x248123,to:_0x24e16e,unitId:_0x3294ad,fromRange:_0x347b4c,toRange:_0x2dc43b}=_0x4830ab;if(_0x248123&&_0x24e16e){const _0x38a336=this['getDataFieldManager'](_0x3294ad),_0x4cae4f=this[_0xd0098c(0x1cb)][_0xd0098c(0x26d)](_0x3294ad),_0x4271bb=(_0x140b94=this[_0xd0098c(0x3ca)][_0xd0098c(0x3f1)](_0x3294ad))==null?void 0x0:_0x140b94['getSheetBySheetId'](_0x24e16e[_0xd0098c(0x33c)]);if(!_0x4cae4f||!_0x4271bb)return;const _0x2cf063=_0x4271bb==null?void 0x0:_0x4271bb[_0xd0098c(0x348)]();for(const [_0x48646d,_0x648d8d]of _0x4cae4f['entries']())for(const [_0x3567b6,_0x5b62a2]of _0x648d8d[_0xd0098c(0x239)]()){const {sourceRangeInfo:_0x469e54}=_0x5b62a2;if(_0x469e54[_0xd0098c(0x3a4)]===_0x3294ad&&_0x469e54[_0xd0098c(0x33c)]===_0x248123[_0xd0098c(0x33c)]&&_0x108556[_0xd0098c(0x23b)][_0xd0098c(0x17d)](_0x347b4c,_0x469e54[_0xd0098c(0x44c)])){const _0x3ee57d={'row':_0x469e54['range'][_0xd0098c(0x33f)]-_0x347b4c[_0xd0098c(0x33f)],'col':_0x469e54[_0xd0098c(0x44c)][_0xd0098c(0x2bc)]-_0x347b4c[_0xd0098c(0x2bc)]},_0x4dcd4b={'unitId':_0x3294ad,'subUnitId':_0x24e16e[_0xd0098c(0x33c)],'sheetName':_0x2cf063,'range':{'startRow':_0x2dc43b[_0xd0098c(0x33f)]+_0x3ee57d[_0xd0098c(0x296)],'endRow':_0x2dc43b[_0xd0098c(0x33f)]+_0x3ee57d[_0xd0098c(0x296)]+_0x469e54[_0xd0098c(0x44c)][_0xd0098c(0x3c2)]-_0x469e54['range'][_0xd0098c(0x33f)],'startColumn':_0x2dc43b[_0xd0098c(0x2bc)]+_0x3ee57d['col'],'endColumn':_0x2dc43b['startColumn']+_0x3ee57d[_0xd0098c(0x319)]+_0x469e54[_0xd0098c(0x44c)][_0xd0098c(0x24d)]-_0x469e54[_0xd0098c(0x44c)][_0xd0098c(0x2bc)]}};_0x38a336['handleMoveRange'](_0x3567b6,_0x4dcd4b);const _0x38e266={..._0x5b62a2,'sourceRangeInfo':_0x4dcd4b};this[_0xd0098c(0x2b9)](_0x3294ad,_0x24e16e[_0xd0098c(0x33c)],_0x3567b6,_0x38e266),this['broadcastCollectionChange']({'unitId':_0x3294ad,'token':_0x3567b6,'type':_0x591b6a['update'],'oldSourceRangeInfo':_0x469e54,'dataRangeInfo':_0x4dcd4b,'targetCellInfo':_0x5b62a2['targetCellInfo']}),this[_0xd0098c(0x360)]({'unitId':_0x3294ad,'subUnitId':_0x24e16e[_0xd0098c(0x33c)],'oldSubUnitId':_0x48646d,'pivotTableId':_0x3567b6,'pivotTableConfig':_0x38e266,'collectionConfig':_0x38a336['toJSON']()});}}}}[_0x47b8d2(0x168)](_0x31c6f0){const _0xebcc8f=_0x47b8d2;this[_0xebcc8f(0x460)]['next'](_0x31c6f0);}[_0x47b8d2(0x328)](_0x53b33e){const _0x5b092e=_0x47b8d2;let _0x37cd15=this['_dataFieldManagerCollection'][_0x5b092e(0x26d)](_0x53b33e);return _0x37cd15||(_0x37cd15=new _0x5599ce(this,this[_0x5b092e(0x3ca)]),this[_0x5b092e(0x431)][_0x5b092e(0x2a1)](_0x53b33e,_0x37cd15)),_0x37cd15;}[_0x47b8d2(0x3a1)](_0x225d54,_0x592425){const _0x30e32b=_0x47b8d2;return this[_0x30e32b(0x328)](_0x225d54)[_0x30e32b(0x17f)][_0x592425];}[_0x47b8d2(0x29a)](_0x1e505d,_0x66cab3,_0x148fa0){const _0x31513f=_0x47b8d2;return this[_0x31513f(0x328)](_0x1e505d)[_0x31513f(0x29a)](_0x66cab3,_0x148fa0);}[_0x47b8d2(0x25f)](_0x127547,_0x3ef88c){const _0x3dfd24=_0x47b8d2;let _0x34f086=this[_0x3dfd24(0x1cb)]['get'](_0x127547);_0x34f086||(_0x34f086=new Map(),this[_0x3dfd24(0x1cb)][_0x3dfd24(0x2a1)](_0x127547,_0x34f086));let _0x925333=_0x34f086['get'](_0x3ef88c);return _0x925333||(_0x925333=new Map(),_0x34f086[_0x3dfd24(0x2a1)](_0x3ef88c,_0x925333)),_0x925333;}[_0x47b8d2(0x2b9)](_0xb3feb,_0x5b0616,_0x25083c,_0xb4e7){const _0x52d9b8=_0x47b8d2;this[_0x52d9b8(0x25f)](_0xb3feb,_0x5b0616)[_0x52d9b8(0x2a1)](_0x25083c,_0xb4e7);}[_0x47b8d2(0x1d5)](_0x5688d1,_0x4e06af,_0x5edc19){const _0x5bc350=_0x47b8d2;var _0x55caca,_0x37bcdc,_0x3e28b2,_0x524667;((_0x37bcdc=(_0x55caca=this[_0x5bc350(0x1cb)][_0x5bc350(0x26d)](_0x5688d1))==null?void 0x0:_0x55caca['get'](_0x4e06af))==null?void 0x0:_0x37bcdc[_0x5bc350(0x26d)](_0x5edc19))&&((_0x524667=(_0x3e28b2=this['_model'][_0x5bc350(0x26d)](_0x5688d1))==null?void 0x0:_0x3e28b2[_0x5bc350(0x26d)](_0x4e06af))==null||_0x524667[_0x5bc350(0x424)](_0x5edc19));}[_0x47b8d2(0x387)](_0x5b0298,_0x7325b9){const _0x186d76=_0x47b8d2;this[_0x186d76(0x309)][_0x186d76(0x2a1)](_0x5b0298,_0x7325b9);}[_0x47b8d2(0x335)](_0x39d0b6){const _0x1746c4=_0x47b8d2;this['_pivotTableInstanceCache'][_0x1746c4(0x424)](_0x39d0b6);}[_0x47b8d2(0x2a7)](_0x56d41a,_0x2d1be0){const _0x4e8dd6=_0x47b8d2;let _0x312f69=this[_0x4e8dd6(0x285)][_0x4e8dd6(0x26d)](_0x56d41a);_0x312f69||(_0x312f69=new Map(),this[_0x4e8dd6(0x285)][_0x4e8dd6(0x2a1)](_0x56d41a,_0x312f69));let _0x11d057=_0x312f69[_0x4e8dd6(0x26d)](_0x2d1be0);return _0x11d057||(_0x11d057=new Map(),_0x312f69[_0x4e8dd6(0x2a1)](_0x2d1be0,_0x11d057)),_0x11d057;}[_0x47b8d2(0x360)](_0x38a885){const _0x1bf7d7=_0x47b8d2,{unitId:_0xc3de34,subUnitId:_0x39262e,pivotTableId:_0x4065aa,pivotTableConfig:_0x1dc506,collectionConfig:_0x8f4aea}=_0x38a885,_0x5de709={'unitId':_0xc3de34,'subUnitId':_0x39262e,'oldSubUnitId':_0x39262e,'pivotTableId':_0x4065aa,'pivotTableConfig':_0x1dc506,'collectionConfig':_0x8f4aea};this[_0x1bf7d7(0x1e8)]['executeCommand'](_0x5ea1b6['id'],_0x5de709,{'onlyLocal':!0x0});}[_0x47b8d2(0x1d0)](_0x31fd09,_0x1eef62,_0x141d1b,_0x417d47,_0x3560c2,_0x169a1f,_0x55931b,_0x8a5e6f=!0x1){const _0x402a53=_0x47b8d2;var _0x447f65;this[_0x402a53(0x1e8)][_0x402a53(0x389)](_0x4fe718['id'],{'single':{'unitId':_0x31fd09,'subUnitId':_0x1eef62,'type':_0x141d1b,'pivotTableId':_0x417d47,'view':_0x3560c2,'pivotConfig':_0x169a1f},'collectionConfig':{[_0x31fd09]:_0x55931b}},{'onlyLocal':!0x0});const _0x2ee507=!!((_0x447f65=this[_0x402a53(0x410)](_0x417d47))!=null&&_0x447f65[_0x402a53(0x211)]()),_0x346ec2=this[_0x402a53(0x294)](_0x31fd09,_0x1eef62,_0x417d47);_0x346ec2&&this[_0x402a53(0x1ac)]({'view':_0x3560c2,'pivotTableId':_0x417d47,'textInfo':this['getTextInfo'](),'isEmpty':_0x2ee507,'targetCellInfo':_0x346ec2[_0x402a53(0x1bc)]},_0x8a5e6f);}[_0x47b8d2(0x1ac)](_0x2cc99f,_0x550217){const _0x571b42=_0x47b8d2,{targetCellInfo:_0x55c9c7,pivotTableId:_0x4408c1}=_0x2cc99f,{unitId:_0x5d06f6,subUnitId:_0x41b0a1}=_0x55c9c7,_0x3ae3b4=this[_0x571b42(0x2a7)](_0x5d06f6,_0x41b0a1),_0x521303=_0x3ae3b4[_0x571b42(0x26d)](_0x4408c1);let _0x39d4de,_0x1f9f7c;_0x521303&&(_0x39d4de=_0x521303[_0x571b42(0x2da)],_0x1f9f7c=_0x521303[_0x571b42(0x1ff)]);const {rangesCache:_0x251594,matrix:_0x7295ad}=_0x5de79d(_0x2cc99f);_0x3ae3b4[_0x571b42(0x2a1)](_0x4408c1,{'rangeCache':_0x251594,'matrix':_0x7295ad,'oldMatrix':_0x1f9f7c,'oldRangeCache':_0x39d4de}),_0x550217||this[_0x571b42(0x31c)][_0x571b42(0x36a)]({'unitId':_0x5d06f6,'subUnitId':_0x41b0a1,'pivotTableId':_0x4408c1});}[_0x47b8d2(0x44b)](_0x3eac35,_0x38af2a,_0x2919f,_0x387d99,_0x4eecf2){const _0x520355=_0x47b8d2;this[_0x520355(0x2b9)](_0x3eac35,_0x38af2a,_0x2919f,_0x4eecf2),this[_0x520355(0x387)](_0x2919f,_0x387d99);}[_0x47b8d2(0x399)](_0x293f67,_0x3e6ea1,_0x43b5ad){const _0x39daeb=_0x47b8d2,_0x471a1b=this['getDataFieldManager'](_0x293f67);_0x471a1b[_0x39daeb(0x3b0)](_0x43b5ad)[_0x39daeb(0x464)](_0x2f3be2=>{const _0x5c868b=_0x39daeb;_0x471a1b[_0x5c868b(0x2ef)](_0x2f3be2);}),this['removeCollections'](_0x293f67,_0x43b5ad),this['_deleteModelCache'](_0x293f67,_0x3e6ea1,_0x43b5ad),this[_0x39daeb(0x335)](_0x43b5ad);}[_0x47b8d2(0x3db)](_0x266fa7,_0x5e8d57,_0xfcde5d,_0x2460dc){const _0x5af147=_0x47b8d2;this[_0x5af147(0x2b9)](_0x266fa7,_0x5e8d57,_0xfcde5d,_0x2460dc);}[_0x47b8d2(0x294)](_0x3fca33,_0x4e5fe5,_0x5b6543){const _0x4462a2=_0x47b8d2;var _0x4bb1f5,_0x3c7641;const _0x47be5c=(_0x3c7641=(_0x4bb1f5=this[_0x4462a2(0x1cb)][_0x4462a2(0x26d)](_0x3fca33))==null?void 0x0:_0x4bb1f5[_0x4462a2(0x26d)](_0x4e5fe5))==null?void 0x0:_0x3c7641[_0x4462a2(0x26d)](_0x5b6543);if(_0x47be5c)return _0x47be5c;}[_0x47b8d2(0x3f2)](_0x517bb9,_0x5654ce,_0x3953bc){const _0x5ad91e=_0x47b8d2;var _0xec2be5,_0x50871f;const _0x106a68=(_0x50871f=(_0xec2be5=this[_0x5ad91e(0x1cb)][_0x5ad91e(0x26d)](_0x517bb9))==null?void 0x0:_0xec2be5[_0x5ad91e(0x26d)](_0x5654ce))==null?void 0x0:_0x50871f[_0x5ad91e(0x26d)](_0x3953bc);if(_0x106a68)return _0x106a68['fieldsConfig'];}[_0x47b8d2(0x410)](_0x36b601){return this['_pivotTableInstanceCache']['get'](_0x36b601);}[_0x47b8d2(0x330)](_0x3c6499){const _0x46e053=_0x47b8d2;this[_0x46e053(0x1cb)][_0x46e053(0x424)](_0x3c6499);const _0x47d7c2=this[_0x46e053(0x431)]['get'](_0x3c6499);_0x47d7c2&&(_0x47d7c2[_0x46e053(0x42e)](),this['_dataFieldManagerCollection'][_0x46e053(0x424)](_0x3c6499)),this['_viewData'][_0x46e053(0x424)](_0x3c6499),this[_0x46e053(0x2d4)][_0x46e053(0x464)](_0x4d4e17=>{const _0x2fef8a=_0x46e053;_0x4d4e17[_0x2fef8a(0x330)](_0x3c6499);});}[_0x47b8d2(0x243)](_0x20f6dc,_0x4ef3d7,_0x1f95c6,_0x10a558){const _0x518935=_0x47b8d2;return this[_0x518935(0x328)](_0x1f95c6[_0x518935(0x3a4)])['addCollectionByJSON'](_0x20f6dc,_0x4ef3d7,_0x1f95c6,_0x10a558);}['createCollectionWithDataRange'](_0x47d2f8){const _0x2028c7=_0x47b8d2;return this[_0x2028c7(0x328)](_0x47d2f8['unitId'])[_0x2028c7(0x193)](_0x47d2f8);}['refreshData'](_0x21c189,_0x2b771a,_0x407ae6){const _0x3b7390=_0x47b8d2;this['getDataFieldManager'](_0x407ae6['unitId'])[_0x3b7390(0x189)](_0x21c189,_0x2b771a,_0x407ae6);}[_0x47b8d2(0x17b)](_0xf163d2,_0x2e0c23){const _0x2d1ede=_0x47b8d2;this[_0x2d1ede(0x328)](_0xf163d2)[_0x2d1ede(0x2ef)](_0x2e0c23);}[_0x47b8d2(0x1b4)](_0x369ceb,_0x1bf1ad){this['getDataFieldManager'](_0x369ceb)['removeCollectionImp'](_0x1bf1ad);}[_0x47b8d2(0x385)](_0x5efb49,_0x5afe85){const _0x1f410e=_0x47b8d2;var _0x3b28ee;return(_0x3b28ee=this[_0x1f410e(0x1cb)][_0x1f410e(0x26d)](_0x5efb49))==null?void 0x0:_0x3b28ee['get'](_0x5afe85);}[_0x47b8d2(0x222)](_0x4add47){const _0x19e086=_0x47b8d2;for(const [_0x5aa0f9,_0xf04542]of this[_0x19e086(0x1cb)]['entries']())for(const [_0x401bf6,_0x24e138]of _0xf04542[_0x19e086(0x239)]())if(_0x24e138['has'](_0x4add47))return{'unitId':_0x5aa0f9,'subUnitId':_0x401bf6};return null;}['sideEffectUpdateWorkerCache'](_0x1a84bd,_0x3bba4a,_0x3d75f1,_0x414f16){const _0x1565df=_0x47b8d2,_0x332e71=this[_0x1565df(0x2a7)](_0x1a84bd,_0x3bba4a);_0x414f16?_0x332e71[_0x1565df(0x2a1)](_0x3d75f1,_0x414f16):_0x332e71['delete'](_0x3d75f1),this[_0x1565df(0x31c)][_0x1565df(0x36a)]({'unitId':_0x1a84bd,'subUnitId':_0x3bba4a,'pivotTableId':_0x3d75f1});}['dispose'](){const _0x572959=_0x47b8d2;super[_0x572959(0x42e)]();}[_0x47b8d2(0x27a)](_0x1be71b,_0x315754,_0xa241af){const _0x13d6da=_0x47b8d2;var _0x4bf870,_0x10e90f;const _0x5cc623=(_0x10e90f=(_0x4bf870=this[_0x13d6da(0x285)][_0x13d6da(0x26d)](_0x1be71b))==null?void 0x0:_0x4bf870[_0x13d6da(0x26d)](_0x315754))==null?void 0x0:_0x10e90f['get'](_0xa241af);return _0x5cc623||null;}[_0x47b8d2(0x1b8)](_0x360b5d){const _0x4ada7c=_0x47b8d2;this[_0x4ada7c(0x186)](_0x360b5d);}['updateDirtyPivotTable'](_0xa796dc){const _0xaf8b2c=_0x47b8d2,{token:_0x34ef42,unitId:_0x3c14f1,subUnitId:_0x2e2f57}=_0xa796dc,_0x360919=_0x3c14f1+'-'+_0x2e2f57+'-'+_0x34ef42;this[_0xaf8b2c(0x1ca)][_0xaf8b2c(0x26d)](_0x360919)&&clearTimeout(this['_queryingMap'][_0xaf8b2c(0x26d)](_0x360919));const _0x4477f7=setTimeout(()=>{const _0x21662f=_0xaf8b2c;this['queryDirtyPivotTable'](_0xa796dc),this[_0x21662f(0x1ca)]['delete'](_0x360919);},_0x12385d);this['_queryingMap'][_0xaf8b2c(0x2a1)](_0x360919,_0x4477f7);}['queryDirtyPivotTable'](_0x356033){const _0x39fd44=_0x47b8d2,{unitId:_0x37003f,subUnitId:_0x53514d,token:_0x403d3,type:_0x1402c4,pivotConfig:_0x1999d8}=_0x356033,_0x5ce9d2=this[_0x39fd44(0x410)](_0x403d3),_0x2b69e7=_0x5ce9d2==null?void 0x0:_0x5ce9d2[_0x39fd44(0x251)](),_0x30ae5a=_0x1999d8!=null?_0x1999d8:this[_0x39fd44(0x294)](_0x37003f,_0x53514d,_0x403d3);_0x30ae5a&&(_0x30ae5a[_0x39fd44(0x211)]=!!(_0x5ce9d2!=null&&_0x5ce9d2[_0x39fd44(0x211)]())),(_0x2b69e7||_0x1402c4===_0x2c8cb5[_0x39fd44(0x3b3)])&&this[_0x39fd44(0x1d0)](_0x37003f,_0x53514d,_0x1402c4,_0x403d3,_0x2b69e7,_0x30ae5a,this[_0x39fd44(0x328)](_0x37003f)[_0x39fd44(0x302)]());}['toJSON'](_0x37348e){const _0x3edabc=_0x47b8d2,_0x139d1e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x37348e)&&(_0x139d1e['dataFieldManagerConfig'][_0x37348e]=this[_0x3edabc(0x328)](_0x37348e)[_0x3edabc(0x302)]()),this['_model']['get'](_0x37348e)){_0x139d1e['pivotTableConfigs'][_0x37348e]={};const _0x496526=this[_0x3edabc(0x1cb)][_0x3edabc(0x26d)](_0x37348e);_0x496526!=null&&_0x496526[_0x3edabc(0x192)]&&[..._0x496526[_0x3edabc(0x24f)]()][_0x3edabc(0x464)](_0x3e2249=>{const _0x37ebda=_0x3edabc,_0x4ab50a=_0x496526['get'](_0x3e2249);_0x4ab50a!=null&&_0x4ab50a['size']&&(_0x139d1e['pivotTableConfigs'][_0x37348e][_0x3e2249]={},[..._0x4ab50a[_0x37ebda(0x24f)]()][_0x37ebda(0x464)](_0xe12a77=>{const _0x121bd8=_0x37ebda,_0x5cc1b5=_0x4ab50a[_0x121bd8(0x26d)](_0xe12a77);_0x5cc1b5&&(_0x139d1e[_0x121bd8(0x190)][_0x37348e][_0x3e2249][_0xe12a77]=_0x5cc1b5);}));});}return _0x139d1e;}[_0x47b8d2(0x37b)](_0x59babb){const _0x2172eb=_0x47b8d2;var _0xabfac3;const {dataFieldManagerConfig:_0x1a38f2,pivotTableConfigs:_0x2c94a2}=_0x59babb;_0x1a38f2&&Object[_0x2172eb(0x24f)](_0x1a38f2)[_0x2172eb(0x464)](_0xe14bf7=>{const _0x11b3f9=_0x2172eb;this[_0x11b3f9(0x328)](_0xe14bf7)[_0x11b3f9(0x37b)](_0x1a38f2[_0xe14bf7]);});const _0x33b76f=[];if(_0x2c94a2){const _0x3870a5=(_0xabfac3=this[_0x2172eb(0x3fa)][_0x2172eb(0x26d)](_0x108556[_0x2172eb(0x1c3)])['getConfig'](_0x3e2f02['LS_CONFIG_KEY']))!=null?_0xabfac3:{},{ls:_0x59eccb,pbk:_0x438158}=_0x3870a5,_0x1b5ac3=_0x3725c2(_0x25d9b6,_0x59eccb,_0x438158)[_0x2172eb(0x30b)];Object[_0x2172eb(0x24f)](_0x2c94a2)[_0x2172eb(0x464)](_0x4745b3=>{const _0x2187b6=_0x2172eb;let _0x3bfede=0x0;const _0x47b70b=_0x2c94a2[_0x4745b3];Object[_0x2187b6(0x24f)](_0x47b70b)[_0x2187b6(0x464)](_0x2b68da=>{const _0x455b55=_0x2187b6,_0x1403a=_0x47b70b[_0x2b68da];Object[_0x455b55(0x24f)](_0x1403a)['forEach'](_0x2b8a31=>{const _0x308fcd=_0x455b55,_0x32ac03=_0x1403a[_0x2b8a31];if(_0x32ac03){if(_0x3bfede>=_0x1b5ac3)return;_0x3bfede++;const _0x5ad047=this[_0x308fcd(0x328)](_0x4745b3),_0x4d7832=_0x5ad047[_0x308fcd(0x17f)][_0x2b8a31],_0x2afeae=_0x4d7832[_0x308fcd(0x214)]();let _0x5619ed=0x0;const _0xca2903=[];for(const _0x4f9601 of _0x2afeae){const _0x297cd3=_0x4d7832[_0x308fcd(0x30e)](_0x4f9601);if(_0x2bd5b3[_0x308fcd(0x43f)](_0x297cd3)){const _0x8daec6=_0x297cd3[_0x308fcd(0x264)](),_0x3a6e9c=_0x4d7832['getFieldById'](_0x8daec6);_0x3a6e9c&&_0xca2903[_0x308fcd(0x2aa)]([_0x297cd3,_0x3a6e9c]);continue;}_0x5ad047[_0x308fcd(0x3ec)](_0x4f9601,_0x32ac03[_0x308fcd(0x249)],_0x5619ed),_0x5619ed++;}_0xca2903[_0x308fcd(0x464)](([_0x450b1c,_0x2fc280])=>{const _0x5007b1=_0x308fcd;_0x450b1c[_0x5007b1(0x2c6)](_0x2fc280);});const _0x4656fb=new _0x2bd5b3[(_0x308fcd(0x181))](_0x4d7832);_0x4656fb[_0x308fcd(0x37b)](_0x32ac03[_0x308fcd(0x347)]),this[_0x308fcd(0x44b)](_0x4745b3,_0x2b68da,_0x2b8a31,_0x4656fb,_0x32ac03);const _0x2cd15b=_0x4656fb[_0x308fcd(0x251)]();_0x33b76f[_0x308fcd(0x2aa)]({'unitId':_0x4745b3,'subUnitId':_0x2b68da,'pivotTableId':_0x2b8a31,'view':_0x2cd15b[_0x308fcd(0x302)](),'pivotConfig':_0x32ac03,'type':_0x2c8cb5[_0x308fcd(0x311)]});const _0x2b3083=!!_0x4656fb[_0x308fcd(0x211)](),_0x303618={'view':_0x2cd15b,'pivotTableId':_0x2b8a31,'textInfo':this[_0x308fcd(0x1d3)](),'isEmpty':_0x2b3083,'targetCellInfo':_0x32ac03[_0x308fcd(0x1bc)]};this[_0x308fcd(0x1ac)](_0x303618,!0x1);}});});});}_0x1a38f2&&Object[_0x2172eb(0x24f)](_0x1a38f2)[_0x2172eb(0x464)](_0x4a3f49=>{const _0x1cda09=_0x2172eb,_0x39889d=this[_0x1cda09(0x328)](_0x4a3f49);this[_0x1cda09(0x28a)][_0x1cda09(0x36a)](_0x39889d[_0x1cda09(0x17f)]);}),this[_0x2172eb(0x1e8)]['executeCommand'](_0x4fe718['id'],{'batch':_0x33b76f,'collectionConfig':_0x1a38f2},{'onlyLocal':!0x0});}[_0x47b8d2(0x2ee)](){const _0x227691=_0x47b8d2;this['disposeWithMe'](this[_0x227691(0x241)][_0x227691(0x36e)]({'toJson':_0x426dc2=>JSON['stringify'](this[_0x227691(0x302)](_0x426dc2)),'parseJson':_0x4c3f22=>{if(!_0x4c3f22)return{};try{return JSON['parse'](_0x4c3f22);}catch{return{};}},'businesses':[_0x108556[_0x227691(0x298)][_0x227691(0x260)]],'pluginName':_0x292f9f,'onLoad':(_0x440711,_0x309a21)=>{const _0x4508de=_0x227691;this[_0x4508de(0x37b)](_0x309a21);},'onUnLoad':_0x3b85da=>{const _0x1c24a9=_0x227691;this[_0x1c24a9(0x330)](_0x3b85da);}}));}},_0x118be4[_0x47b8d2(0x3c8)]=_0x85f3c2([_0x1b8052(0x0,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x207)])),_0x1b8052(0x1,_0x108556[_0x47b8d2(0x371)]),_0x1b8052(0x2,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x425)])),_0x1b8052(0x3,_0x108556[_0x47b8d2(0x2cf)]),_0x1b8052(0x4,_0x108556[_0x47b8d2(0x24a)](_0x108556['IResourceManagerService']))],_0x118be4['SheetsPivotDataSourceModel']);const _0x1e55f0={0x0:{0x0:{'v':_0x47b8d2(0x31e),'s':_0x31e6e6}},0x2:{0x1:{'v':'','s':_0x31e6e6},0x2:{'v':'','s':_0x31e6e6},0x3:{'v':'column','s':_0x31e6e6},0x4:{'v':'','s':_0x31e6e6},0x5:{'v':'','s':_0x31e6e6}},0x3:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0x4:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0x5:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0x6:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0x7:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0x8:{0x0:{'v':_0x47b8d2(0x296),'s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':_0x47b8d2(0x2c2),'s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0x9:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0xa:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0xb:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0xc:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}},0xd:{0x0:{'v':'','s':_0x31e6e6},0x1:{'v':'','s':_0x38e5a1},0x2:{'v':'','s':_0x38e5a1},0x3:{'v':'','s':_0x38e5a1},0x4:{'v':'','s':_0x38e5a1},0x5:{'v':'','s':_0x38e5a1}}},_0x4638a9={'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':[]},_0x1f679=(_0x34568d,_0x30f0ec)=>{const _0x41f2bd=_0x47b8d2,_0x4733b4=new _0x108556[(_0x41f2bd(0x161))](),_0x3223c5=new _0x108556['ObjectMatrix'](_0x1e55f0),{row:_0xf551be,col:_0x52114f}=_0x30f0ec;_0x3223c5[_0x41f2bd(0x3e4)]((_0x47fad8,_0x2f430a,_0x24338e)=>{const _0x40f628=_0x41f2bd;let _0x430b94='';_0x24338e['v']==='filter'?_0x430b94=_0x34568d[_0x40f628(0x31e)]:_0x24338e['v']===_0x40f628(0x296)?_0x430b94=_0x34568d[_0x40f628(0x296)]:_0x24338e['v']===_0x40f628(0x23a)?_0x430b94=_0x34568d['column']:_0x24338e['v']===_0x40f628(0x2c2)&&(_0x430b94=_0x34568d[_0x40f628(0x2c2)]),_0x4733b4[_0x40f628(0x15d)](_0x47fad8+_0xf551be,_0x2f430a+_0x52114f,{..._0x24338e,'v':_0x430b94});});const _0x667e13=_0x108556['Tools'][_0x41f2bd(0x270)](_0x4638a9);return Object[_0x41f2bd(0x24f)](_0x4638a9)['forEach'](_0x244842=>{const _0x327320=_0x41f2bd;_0x667e13[_0x244842]=_0x4638a9[_0x244842]['map'](_0x2dc917=>({..._0x2dc917,'startRow':_0x2dc917[_0x327320(0x33f)]+_0xf551be,'endRow':_0x2dc917[_0x327320(0x3c2)]+_0xf551be,'startColumn':_0x2dc917[_0x327320(0x2bc)]+_0x52114f,'endColumn':_0x2dc917[_0x327320(0x24d)]+_0x52114f}));}),{'matrixCache':_0x4733b4,'rangesCache':_0x667e13};};function _0x51ff57(_0x47c2a6,_0x5e73f){const _0x497efb=_0x47b8d2;let _0x42e899='';const _0x2b8104=this[_0x497efb(0x1d3)]();switch(_0x5e73f){case _0x2bd5b3[_0x497efb(0x45a)]['average']:_0x42e899=_0x2b8104[_0x497efb(0x169)]+_0x47c2a6;break;case _0x2bd5b3[_0x497efb(0x45a)][_0x497efb(0x30b)]:_0x42e899=_0x2b8104[_0x497efb(0x250)]+_0x47c2a6;break;case _0x2bd5b3['PivotSubtotalTypeEnum'][_0x497efb(0x40d)]:_0x42e899=_0x2b8104[_0x497efb(0x254)]+_0x47c2a6;break;case _0x2bd5b3[_0x497efb(0x45a)]['max']:_0x42e899=_0x2b8104['sheets-pivot.maxName']+_0x47c2a6;break;case _0x2bd5b3['PivotSubtotalTypeEnum'][_0x497efb(0x3ff)]:_0x42e899=_0x2b8104[_0x497efb(0x3c5)]+_0x47c2a6;break;case _0x2bd5b3[_0x497efb(0x45a)]['product']:_0x42e899=_0x2b8104['sheets-pivot.productName']+_0x47c2a6;break;case _0x2bd5b3[_0x497efb(0x45a)][_0x497efb(0x2ba)]:_0x42e899=_0x2b8104[_0x497efb(0x2fe)]+_0x47c2a6;break;case _0x2bd5b3[_0x497efb(0x45a)]['stdDevp']:_0x42e899=_0x2b8104[_0x497efb(0x448)]+_0x47c2a6;break;case _0x2bd5b3['PivotSubtotalTypeEnum'][_0x497efb(0x27d)]:_0x42e899=_0x2b8104[_0x497efb(0x321)]+_0x47c2a6;break;case _0x2bd5b3['PivotSubtotalTypeEnum'][_0x497efb(0x413)]:_0x42e899=_0x2b8104['sheets-pivot.varName']+_0x47c2a6;break;case _0x2bd5b3['PivotSubtotalTypeEnum']['varp']:_0x42e899=_0x2b8104[_0x497efb(0x2fb)]+_0x47c2a6;break;default:_0x42e899=_0x47c2a6;break;}return _0x42e899;}function _0x3471bf(_0x3ac697,_0xf7fdbf,_0x3bcf2f,_0x26e3d3,_0x477eb9){const _0x40b43e=_0x47b8d2;var _0x4d1a14,_0x4caf2d,_0x5e660c,_0x5540dc,_0x46cacf;const _0x2de5ed=_0x108556[_0x40b43e(0x28f)](_0x3ac697,_0xf7fdbf),{rangesInfo:_0x177ab5,areaInfo:_0x5933d3,headerMap:_0x2d3f46}=_0x477eb9;if(!_0x177ab5||!_0x5933d3||!_0x2d3f46)return;const _0x11d93f=Object[_0x40b43e(0x24f)](_0x177ab5)['find'](_0x31bb09=>_0x177ab5[_0x31bb09][_0x40b43e(0x15f)](_0x4de5a6=>_0x108556['Rectangle']['contains'](_0x4de5a6,_0x2de5ed))),_0x3af4b8=_0x5933d3;let _0x22bf84,_0x55baf9,_0x3a08aa;if(_0x11d93f==='rowRanges')_0x22bf84=(_0x4d1a14=_0x3af4b8==null?void 0x0:_0x3af4b8['rowInfo'])==null?void 0x0:_0x4d1a14[_0x3ac697],_0x55baf9=(_0x4caf2d=_0x2d3f46==null?void 0x0:_0x2d3f46[_0x40b43e(0x3f8)])==null?void 0x0:_0x4caf2d[_0xf7fdbf],_0x3a08aa=_0x55baf9==null?void 0x0:_0x55baf9[_0x40b43e(0x442)];else{if(_0x11d93f===_0x40b43e(0x277))_0x22bf84=(_0x5e660c=_0x3af4b8==null?void 0x0:_0x3af4b8[_0x40b43e(0x3a8)])==null?void 0x0:_0x5e660c[_0xf7fdbf],_0x55baf9=(_0x5540dc=_0x2d3f46[_0x40b43e(0x38d)])==null?void 0x0:_0x5540dc[_0x3ac697+0x1+_0xf7fdbf-_0x177ab5['colRanges'][0x0]['startColumn']],_0x3a08aa=_0x55baf9==null?void 0x0:_0x55baf9['tableFieldId'];else{if(_0x11d93f===_0x40b43e(0x1fc))_0x22bf84=(_0x46cacf=_0x3af4b8==null?void 0x0:_0x3af4b8[_0x40b43e(0x3d1)])==null?void 0x0:_0x46cacf[_0xf7fdbf],_0x3a08aa=_0x22bf84==null?void 0x0:_0x22bf84[_0x40b43e(0x442)];else{if(_0x11d93f===_0x40b43e(0x439)){const _0x2875f6=_0x3bcf2f==null?void 0x0:_0x3bcf2f['fi'];_0x2875f6!==void 0x0&&(_0x3a08aa=_0x26e3d3[_0x40b43e(0x227)](_0x2875f6));}}}}return{'filterId':_0x3a08aa,'info':_0x22bf84,'data':_0x3bcf2f,'headerInfo':_0x55baf9};}function _0xc87bc6(_0x6a59cd,_0x34f69d,_0x107ec6){const _0x44de2a=_0x47b8d2,_0x4ce55c=_0x6a59cd[_0x44de2a(0x2b0)],_0x2cabc3=_0x4ce55c['getFieldIds'](),_0xc23904=new Set();_0x6a59cd[_0x44de2a(0x33a)](_0x125856=>{const _0x3e8806=_0x44de2a;_0xc23904[_0x3e8806(0x273)](_0x125856[_0x3e8806(0x224)]);});const _0x3ca568=_0x2cabc3[_0x44de2a(0x31d)](_0x1cc997=>{const _0x32ee54=_0x44de2a,_0x133e42=_0x4ce55c['getFieldById'](_0x1cc997);return{'checked':_0xc23904[_0x32ee54(0x38f)](_0x1cc997),'dataFieldId':_0x133e42['id'],'id':_0x133e42['id'],'name':_0x4ce55c[_0x32ee54(0x322)](_0x133e42['id']),'type':_0x133e42[_0x32ee54(0x1cf)](),'pivotTableId':_0x34f69d};}),_0x540f12=[];_0x6a59cd['iterateFieldByArea'](_0x2bd5b3[_0x44de2a(0x20d)][_0x44de2a(0x43b)],_0x2f8b7b=>{const _0x32db96=_0x44de2a;_0x540f12[_0x32db96(0x2aa)]({'dataFieldId':_0x2f8b7b[_0x32db96(0x224)],'tableFieldId':_0x2f8b7b[_0x32db96(0x467)](),'displayName':_0x2f8b7b[_0x32db96(0x322)]()});});const _0x51679b=[];_0x6a59cd[_0x44de2a(0x22b)](_0x2bd5b3[_0x44de2a(0x20d)][_0x44de2a(0x42c)],_0x151c69=>{const _0x93021=_0x44de2a;_0x51679b['push']({'dataFieldId':_0x151c69[_0x93021(0x224)],'tableFieldId':_0x151c69[_0x93021(0x467)](),'displayName':_0x151c69['getDisplayName']()});});const _0x526690=[];if(_0x6a59cd[_0x44de2a(0x22b)](_0x2bd5b3[_0x44de2a(0x20d)][_0x44de2a(0x3c6)],_0x34e44e=>{const _0x3f36a9=_0x44de2a;_0x526690[_0x3f36a9(0x2aa)]({'dataFieldId':_0x34e44e[_0x3f36a9(0x224)],'tableFieldId':_0x34e44e[_0x3f36a9(0x467)](),'displayName':_0x34e44e[_0x3f36a9(0x322)](),'format':_0x34e44e[_0x3f36a9(0x355)](),'subTotalType':_0x34e44e[_0x3f36a9(0x154)]()});}),_0x526690[_0x44de2a(0x472)]>0x1){const _0x46b67c=_0x6a59cd['getValueIndex']();(_0x6a59cd[_0x44de2a(0x2ec)]()?_0x51679b:_0x540f12)['splice'](_0x46b67c,0x0,{'dataFieldId':'','tableFieldId':_0x44de2a(0x373),'displayName':_0x44de2a(0x3f5)});}const _0xb9f0c7=[];_0x6a59cd[_0x44de2a(0x22b)](_0x2bd5b3[_0x44de2a(0x20d)][_0x44de2a(0x27e)],_0x5750e8=>{const _0x5a7e6d=_0x44de2a;_0xb9f0c7['push']({'dataFieldId':_0x5750e8['dataFieldId'],'tableFieldId':_0x5750e8[_0x5a7e6d(0x467)](),'displayName':_0x5750e8[_0x5a7e6d(0x322)]()});});const _0x5f4f68=_0x107ec6['sourceRangeInfo'];return{'sourceList':_0x3ca568,'sourceRange':_0x5f4f68,'rowFields':_0x540f12,'columnFields':_0x51679b,'valueFields':_0x526690,'filterFields':_0xb9f0c7,'positionInfo':_0x107ec6[_0x44de2a(0x1bc)]};}function _0x159209(_0x336f4f,_0x524b3d,_0x394a39='',_0x4c4d18={}){const _0x48d4d2=_0x47b8d2,_0x3b0f52=_0x336f4f[_0x48d4d2(0x26d)](_0x108556['LocaleService']);for(const _0x5ebd42 in _0x524b3d)if(Object['prototype']['hasOwnProperty'][_0x48d4d2(0x379)](_0x524b3d,_0x5ebd42)){const _0x50ea0c=_0x394a39?_0x394a39+'.'+_0x5ebd42:_0x5ebd42;typeof _0x524b3d[_0x5ebd42]==_0x48d4d2(0x274)&&_0x524b3d[_0x5ebd42]!==null&&!Array[_0x48d4d2(0x454)](_0x524b3d[_0x5ebd42])?_0x159209(_0x336f4f,_0x524b3d[_0x5ebd42],_0x50ea0c,_0x4c4d18):_0x4c4d18[_0x50ea0c]=_0x3b0f52['t'](_0x50ea0c);}return _0x4c4d18;}const _0x3c5d00=_0x1c6796=>{const _0x1c5cda=_0x47b8d2;if(!_0x1c6796)return[];const {rowRanges:_0x4eb37c,colRanges:_0x4d70fe,cornerRanges:_0x5c0843,dataRanges:_0x5b183b,pageRanges:_0x4d817b}=_0x1c6796,_0x1591bc=[..._0x4d70fe,..._0x4eb37c,..._0x5b183b,..._0x5c0843][_0x1c5cda(0x31e)](_0xe71dff=>_0xe71dff['startRow']>=0x0&&_0xe71dff[_0x1c5cda(0x2bc)]>=0x0&&_0xe71dff[_0x1c5cda(0x3c2)]>=0x0&&_0xe71dff[_0x1c5cda(0x24d)]>=0x0);let _0x2afc2f=Number['MAX_SAFE_INTEGER'],_0x36ec05=Number[_0x1c5cda(0x426)],_0x35b585=Number[_0x1c5cda(0x332)],_0x3a89d6=Number['MIN_SAFE_INTEGER'];for(let _0x2655b1=0x0;_0x2655b1<_0x1591bc['length'];_0x2655b1++)_0x2afc2f=Math['min'](_0x2afc2f,_0x1591bc[_0x2655b1]['startRow']),_0x36ec05=Math[_0x1c5cda(0x43a)](_0x36ec05,_0x1591bc[_0x2655b1]['endRow']),_0x35b585=Math['min'](_0x35b585,_0x1591bc[_0x2655b1][_0x1c5cda(0x2bc)]),_0x3a89d6=Math[_0x1c5cda(0x43a)](_0x3a89d6,_0x1591bc[_0x2655b1][_0x1c5cda(0x24d)]);return[..._0x4d817b,{'startRow':_0x2afc2f,'endRow':_0x36ec05,'startColumn':_0x35b585,'endColumn':_0x3a89d6}];};function _0x3a53d8(_0x3020d1,_0xf9f147){const _0x116471=_0x47b8d2,_0x1e6607=_0xf9f147[_0x116471(0x40a)][_0x116471(0x3fc)],{pivotTableId:_0x2198fc,unitId:_0x2a9807,subUnitId:_0x5cf7db}=_0xf9f147;if(!_0x1e6607)return;const _0x4562d7=_0x3020d1[_0x116471(0x26d)](_0x118be4[_0x116471(0x3c8)]),_0x57583d=_0x4562d7[_0x116471(0x410)](_0x2198fc),_0x69924=_0x4562d7['getPivotTableConfig'](_0x2a9807,_0x5cf7db,_0x2198fc);if(!_0x57583d||!_0x69924)return;const _0x1dd24b=_0x57583d['getIndexesByPathStr'](_0x1e6607[_0x116471(0x25c)]);if(!(_0x1dd24b!=null&&_0x1dd24b['length']))return;const _0x4bf787=_0x69924[_0x116471(0x249)],{unitId:_0x366988,subUnitId:_0x4c22f4,range:_0x180623}=_0x4bf787;let _0x4fe8ea=0x0;const _0x45d1e6=_0x57583d[_0x116471(0x2b0)][_0x116471(0x214)]()[_0x116471(0x1c6)]((_0x5e4da3,_0x4c7070)=>{const _0x17cd37=_0x116471;var _0x42adab;const _0x27fae9=(_0x42adab=_0x57583d['getDataFieldByDataFieldId'](_0x4c7070))==null?void 0x0:_0x42adab[_0x17cd37(0x1be)]();return _0x27fae9&&(_0x5e4da3[String(_0x4fe8ea)]=_0x27fae9),_0x4fe8ea++,_0x5e4da3;},{});return{'indexes':_0x1dd24b,'range':_0x180623,'sourceUnitId':_0x366988,'sourceSubUnitId':_0x4c22f4,'formatMap':_0x45d1e6};}function _0x55adce(_0x58905b,_0x271a03){const _0x273cfd=_0x47b8d2;if(!_0x58905b||!_0x271a03)return!0x0;const _0x450c66=_0x3e2f02[_0x273cfd(0x46a)](_0x2fd58a,_0x3cc11a),_0xff5b99=new Function(_0x273cfd(0x352)+_0x450c66)()(_0x58905b,_0x271a03)[_0x273cfd(0x2f0)],_0x39c576=_0x3e2f02[_0x273cfd(0x1ec)](_0xff5b99,'sf',_0x4ea681);return!((_0xff5b99==null?void 0x0:_0xff5b99['rt'])===_0x3e2f02[_0x273cfd(0x3e1)][_0x273cfd(0x231)]&&!_0x39c576);}function _0x3725c2(_0x563792,_0x5369aa,_0x1c3167){const _0x3fd761=_0x47b8d2,_0xba4870={'count':_0x563792,'timeValid':!0x1};if(!_0x5369aa||!_0x1c3167)return _0xba4870;const _0x4a668e=_0x3e2f02[_0x3fd761(0x46a)](_0x2fd58a,_0x3cc11a),_0x4eafc1=new Function(_0x3fd761(0x352)+_0x4a668e)()(_0x5369aa,_0x1c3167);if(_0x4eafc1!=null&&_0x4eafc1[_0x3fd761(0x333)]){const _0x33fabf=_0x4eafc1[_0x3fd761(0x2f0)],_0x367c0b=_0x3e2f02['isFeatureAuthorizedWithinTime'](_0x33fabf,'sf',_0x4ea681);return{'count':_0x3e2f02[_0x3fd761(0x1b0)](_0x33fabf,_0x367c0b,_0x3fd761(0x45b),_0x563792,_0x563792,0x0),'timeValid':_0x367c0b};}return _0xba4870;}function _0x289a33(_0x2856c6,_0x478cd5,_0x47a6d0,_0x3caa8c){const _0x305acf=_0x47b8d2,_0x3a65ea={'subUnitId':_0x47a6d0,'unitId':_0x478cd5,'cellValue':_0x3c8849[_0x305acf(0x31f)](_0x3caa8c)},_0x12d4e1=_0x3c8849[_0x305acf(0x316)](_0x2856c6,_0x3a65ea);let _0x2ef1f4=!0x1;return new _0x108556['ObjectMatrix'](_0x12d4e1[_0x305acf(0x326)])['forValue']((_0x2e2dad,_0x192e1d,_0xc1ef6b)=>{if(!_0x2ef1f4&&_0xc1ef6b&&(_0xc1ef6b['custom']||_0xc1ef6b['f']||_0xc1ef6b['p']||_0xc1ef6b['s']||_0xc1ef6b['si']||_0xc1ef6b['t']||_0xc1ef6b['v']))return _0x2ef1f4=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3c8849[_0x305acf(0x3ea)]['id'],'params':_0x12d4e1},'setRangeValueRedoMutation':{'id':_0x3c8849[_0x305acf(0x3ea)]['id'],'params':_0x3a65ea},'shouldClear':_0x2ef1f4};}function _0x1d4bcb(_0x2fe94f){const {row:_0x57387a,col:_0x346a58}=_0x2fe94f,_0x2c54c0={'startRow':_0x57387a,'endRow':_0x57387a,'startColumn':_0x346a58,'endColumn':_0x346a58},_0x261d0c={'startRow':_0x57387a+0x2,'endRow':_0x57387a+0xe,'startColumn':_0x346a58,'endColumn':_0x346a58+0x6};return[_0x2c54c0,_0x261d0c];}function _0x5c70df(_0x41d517,_0x1fd166,_0x5f42a6){const _0xb63874=_0x47b8d2,{cornerView:_0x1ed80b,rowView:_0x2062a6,colView:_0x296668,pageView:_0x3a2d21}=_0x41d517,{row:_0x393f04,col:_0x3f9480}=_0x1fd166;if(_0x5f42a6)return{'rowCount':_0x2a77b5+_0x393f04,'colCount':_0x284f6d+_0x3f9480};const _0x53f602=_0x3a2d21[_0xb63874(0x35b)]>-0x1?_0x3a2d21[_0xb63874(0x35b)]+0x1:0x0,_0x194e1c=_0x3a2d21['lastCol']>-0x1?_0x3a2d21[_0xb63874(0x300)]:0x0,_0x4fcfbe=_0x393f04+_0x53f602+(_0x53f602?0x1:0x0)+_0x1ed80b[_0xb63874(0x391)]+_0x2062a6[_0xb63874(0x391)],_0x5ecbb1=_0x3f9480+_0x194e1c,_0xf91908=_0x3f9480+_0x1ed80b['colCount']+_0x296668[_0xb63874(0x25e)],_0x2d18a5=Math['max'](_0x5ecbb1,_0xf91908);return{'rowCount':_0x4fcfbe,'colCount':_0x2d18a5};}function _0x244713(_0x6909ac,_0x3bfd85,_0x3eaeac,_0x5a8383){const _0x2dd21f=_0x47b8d2,{row:_0x5076b1,col:_0x45b276,unitId:_0x5b75e5,subUnitId:_0x1923ef}=_0x3eaeac,_0x223c92=_0x5c70df(_0x3bfd85,{'row':_0x5076b1,'col':_0x45b276},_0x5a8383),_0x319943=_0x6909ac[_0x2dd21f(0x26d)](_0x108556[_0x2dd21f(0x371)]),_0x2afd88=_0x3c8849[_0x2dd21f(0x374)](_0x319943,{'unitId':_0x5b75e5,'subUnitId':_0x1923ef}),_0x32390e=[],_0x192ec6=[];if(!_0x2afd88)return{'undos':_0x192ec6,'redos':_0x32390e};const {worksheet:_0x11488c}=_0x2afd88,_0x18b41e=_0x11488c[_0x2dd21f(0x287)](),_0x1c2256=_0x11488c[_0x2dd21f(0x406)]();return _0x18b41e<_0x223c92[_0x2dd21f(0x391)]&&(_0x32390e[_0x2dd21f(0x2aa)]({'id':_0x3c8849[_0x2dd21f(0x197)]['id'],'params':{'unitId':_0x5b75e5,'subUnitId':_0x1923ef,'range':{'startRow':_0x18b41e,'endRow':_0x223c92['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x1c2256-0x1}}}),_0x192ec6[_0x2dd21f(0x2aa)]({'id':_0x3c8849[_0x2dd21f(0x3dd)]['id'],'params':{'unitId':_0x5b75e5,'subUnitId':_0x1923ef,'range':{'startRow':_0x18b41e,'endRow':_0x223c92[_0x2dd21f(0x391)]-0x1,'startColumn':0x0,'endColumn':_0x1c2256-0x1}}})),_0x1c2256<_0x223c92[_0x2dd21f(0x25e)]&&(_0x32390e[_0x2dd21f(0x2aa)]({'id':_0x3c8849[_0x2dd21f(0x33d)]['id'],'params':{'unitId':_0x5b75e5,'subUnitId':_0x1923ef,'range':{'startRow':0x0,'endRow':_0x18b41e-0x1,'startColumn':_0x1c2256,'endColumn':_0x223c92[_0x2dd21f(0x25e)]-0x1}}}),_0x192ec6[_0x2dd21f(0x2aa)]({'id':_0x3c8849[_0x2dd21f(0x452)]['id'],'params':{'unitId':_0x5b75e5,'subUnitId':_0x1923ef,'range':{'startRow':0x0,'endRow':_0x18b41e-0x1,'startColumn':_0x1c2256,'endColumn':_0x223c92[_0x2dd21f(0x25e)]-0x1}}})),{'undos':_0x192ec6,'redos':_0x32390e};}function _0x245930(_0x2d9c8b){const _0x4fea06=_0x47b8d2;let _0x35f649=0x0;for(let _0x937a2c=0x0;_0x937a2c<_0x2d9c8b[_0x4fea06(0x472)];_0x937a2c++){const _0x48df36=_0x2d9c8b[_0x4fea06(0x409)](_0x937a2c);_0x48df36>=0x4e00&&_0x48df36<=0x9fff||_0x48df36>=0x3000&&_0x48df36<=0x303f||_0x48df36>=0xff00&&_0x48df36<=0xffef?_0x35f649+=0x2:_0x35f649+=0x1;}return _0x35f649;}function _0x37c209(_0x287f11,_0x21e726,_0x5ac40a,_0x36ceb1){const _0x30f9f4=_0x47b8d2;var _0x1e9773,_0x409258,_0x5280dc,_0x37cae9;const {rowCount:_0x34ca58,colCount:_0x38319d,headerMap:_0xd60b2b}=_0x287f11,_0x53dc21=0x64,_0x27be93=Math[_0x30f9f4(0x3ff)](_0x34ca58,_0x53dc21),_0x2ce468=Math[_0x30f9f4(0x3ff)](_0x38319d,_0x53dc21);let _0x4d7b64='',_0x57d48c=0x0;for(let _0x55654e=0x0;_0x55654e<_0x27be93;_0x55654e++)for(let _0x38fb14=0x0;_0x38fb14<_0x2ce468;_0x38fb14++){const _0x5cee85={...(_0x409258=(_0x1e9773=_0x287f11[_0x30f9f4(0x1c2)])==null?void 0x0:_0x1e9773[_0x55654e])==null?void 0x0:_0x409258[_0x38fb14]},_0x227d74=(_0x5280dc=_0xd60b2b[_0x55654e])==null?void 0x0:_0x5280dc['tableFieldId'],_0x1606e1=_0x36ceb1[_0x227d74];let _0x43998b=_0x287f11[_0x30f9f4(0x1af)](_0x55654e,_0x38fb14);if(_0x5cee85){const _0x21f332=_0x5ac40a?_0x38fb14===0x0&&((_0x37cae9=_0x287f11[_0x30f9f4(0x3e3)](_0x38fb14+0x1))==null?void 0x0:_0x37cae9['isValue']):!0x1;_0x43998b=_0x1b9053(_0x5cee85,_0x21f332,_0x1606e1,_0x21e726);}if(_0x43998b!==void 0x0){const _0x4ccba4=_0x245930(String(_0x43998b));_0x57d48c<_0x4ccba4&&(_0x4d7b64=String(_0x43998b),_0x57d48c=_0x4ccba4);}}return _0x4d7b64;}function _0x14856a(_0x49859d){const _0xd0f34a=_0x47b8d2,{rowCount:_0x2dccec,colCount:_0x429758}=_0x49859d;let _0x275046='',_0x150f63=0x0;for(let _0x1ec262=_0x2dccec-0x1;_0x1ec262>0x0&&_0x1ec262>_0x2dccec-0x3;_0x1ec262--)for(let _0x5d7bc6=0x0;_0x5d7bc6<_0x429758;_0x5d7bc6++){const _0x391c4e=_0x49859d[_0xd0f34a(0x1af)](_0x1ec262,_0x5d7bc6);if(_0x391c4e!==void 0x0){const _0x26837c=String(_0x391c4e)[_0xd0f34a(0x472)];_0x150f63<_0x26837c&&(_0x275046=String(_0x391c4e),_0x150f63=_0x26837c);}}return _0x275046;}function _0x17df82(_0x53201b){const {rowCount:_0x2d9a45,colCount:_0x10bbf0}=_0x53201b;let _0x104ec3='',_0x1c9d85=0x0;for(let _0x4c58fb=0x0;_0x4c58fb<_0x2d9a45;_0x4c58fb++)for(let _0x23471b=0x0;_0x23471b<_0x10bbf0;_0x23471b++){const _0x3090a8=_0x53201b['getValue'](_0x4c58fb,_0x23471b);if(_0x3090a8!==void 0x0){const _0x2175a1=String(_0x3090a8)['length'];_0x1c9d85<_0x2175a1&&(_0x104ec3=String(_0x3090a8),_0x1c9d85=_0x2175a1);}}return _0x104ec3;}function _0x5dedc5(_0xcd88d5,_0x2ec8b2){const _0x30186c=_0x47b8d2,{rowFields:_0x4dcda1,columnFields:_0x5affd0,valueFields:_0x273ed6,filterFields:_0x5d6580,dimension:_0x375454,measure:_0x286de4}=_0x2ec8b2;for(const _0x5b1799 of _0x4dcda1){const _0x5d5878=_0x375454[_0x5b1799];_0x5d5878&&_0xcd88d5[_0x30186c(0x2b2)](_0x5d5878[_0x30186c(0x224)])&&(_0xcd88d5['addFieldWithSourceId'](_0x5d5878[_0x30186c(0x224)],_0x2bd5b3[_0x30186c(0x20d)]['Row'],void 0x0,_0x5b1799),_0x5d5878[_0x30186c(0x268)]&&_0xcd88d5[_0x30186c(0x3df)](_0x5d5878['id'],_0x5d5878[_0x30186c(0x268)]),_0x5d5878['sortInfo']&&_0xcd88d5['setSortInfo'](_0x5d5878['id'],_0x5d5878[_0x30186c(0x423)]),_0x5d5878['filterInfo']&&_0xcd88d5['setLabelFilterInfo'](_0x5d5878['id'],_0x5d5878[_0x30186c(0x39b)]));}for(const _0x3c2dc9 of _0x5affd0){const _0x4945ea=_0x375454[_0x3c2dc9];_0x4945ea&&_0xcd88d5[_0x30186c(0x2b2)](_0x4945ea[_0x30186c(0x224)])&&(_0xcd88d5[_0x30186c(0x1dc)](_0x4945ea['dataFieldId'],_0x2bd5b3[_0x30186c(0x20d)][_0x30186c(0x42c)],void 0x0,_0x3c2dc9),_0x4945ea[_0x30186c(0x423)]&&_0xcd88d5[_0x30186c(0x37e)](_0x4945ea['id'],_0x4945ea[_0x30186c(0x423)]),_0x4945ea[_0x30186c(0x39b)]&&_0xcd88d5[_0x30186c(0x441)](_0x4945ea['id'],_0x4945ea['filterInfo']),_0x4945ea[_0x30186c(0x268)]&&_0xcd88d5['renameField'](_0x4945ea['id'],_0x4945ea[_0x30186c(0x268)]));}for(const _0x146515 of _0x5d6580){const _0x4fce6f=_0x375454[_0x146515];_0x4fce6f&&_0xcd88d5[_0x30186c(0x2b2)](_0x4fce6f[_0x30186c(0x224)])&&(_0xcd88d5[_0x30186c(0x1dc)](_0x4fce6f[_0x30186c(0x224)],_0x2bd5b3[_0x30186c(0x20d)][_0x30186c(0x27e)],void 0x0,_0x146515),_0x4fce6f[_0x30186c(0x423)]&&_0xcd88d5[_0x30186c(0x37e)](_0x4fce6f['id'],_0x4fce6f['sortInfo']),_0x4fce6f[_0x30186c(0x39b)]&&_0xcd88d5[_0x30186c(0x441)](_0x4fce6f['id'],_0x4fce6f['filterInfo']),_0x4fce6f[_0x30186c(0x268)]&&_0xcd88d5[_0x30186c(0x3df)](_0x4fce6f['id'],_0x4fce6f['displayName']));}for(const _0x3007ff of _0x273ed6){const _0xaa1861=_0x286de4[_0x3007ff];_0xaa1861&&_0xcd88d5[_0x30186c(0x2b2)](_0xaa1861[_0x30186c(0x224)])&&(_0xcd88d5['addFieldWithSourceId'](_0xaa1861[_0x30186c(0x224)],_0x2bd5b3[_0x30186c(0x20d)][_0x30186c(0x3c6)],void 0x0,_0x3007ff),_0xaa1861[_0x30186c(0x216)]!==void 0x0&&_0xcd88d5['setSubtotalType'](_0x3007ff,_0xaa1861[_0x30186c(0x216)]),_0xaa1861['format']&&_0xcd88d5['setFieldFormat'](_0x3007ff,_0xaa1861[_0x30186c(0x275)]),_0xaa1861[_0x30186c(0x268)]&&_0xcd88d5[_0x30186c(0x3df)](_0xaa1861['id'],_0xaa1861[_0x30186c(0x268)]));}const _0x1e5a10=_0x2ec8b2[_0x30186c(0x301)];for(const {fieldId:_0x32340a,filterInfo:_0x1da70d}of _0x1e5a10)_0xcd88d5[_0x30186c(0x2e0)](_0x32340a,_0x1da70d);}function _0x1ccdd7(_0x570e37,_0x56927f){const _0xacbf1f=_0x47b8d2,_0x46cf23=[];_0x56927f===_0x2bd5b3[_0xacbf1f(0x20d)][_0xacbf1f(0x43b)]&&_0x570e37[_0xacbf1f(0x22b)](_0x2bd5b3[_0xacbf1f(0x20d)][_0xacbf1f(0x43b)],_0x15a1f3=>{const _0xc46d4d=_0xacbf1f;_0x46cf23['push'](_0x15a1f3[_0xc46d4d(0x467)]());}),_0x56927f===_0x2bd5b3[_0xacbf1f(0x20d)][_0xacbf1f(0x42c)]&&_0x570e37['iterateFieldByArea'](_0x2bd5b3[_0xacbf1f(0x20d)][_0xacbf1f(0x42c)],_0xc7fa89=>{const _0xe487d8=_0xacbf1f;_0x46cf23[_0xe487d8(0x2aa)](_0xc7fa89[_0xe487d8(0x467)]());}),_0x56927f===_0x2bd5b3[_0xacbf1f(0x20d)][_0xacbf1f(0x27e)]&&_0x570e37['iterateFieldByArea'](_0x2bd5b3['PivotTableFiledAreaEnum'][_0xacbf1f(0x27e)],_0x59852f=>{const _0x32a57e=_0xacbf1f;_0x46cf23[_0x32a57e(0x2aa)](_0x59852f['getId']());}),_0x56927f===_0x2bd5b3[_0xacbf1f(0x20d)][_0xacbf1f(0x3c6)]&&_0x570e37[_0xacbf1f(0x22b)](_0x2bd5b3[_0xacbf1f(0x20d)]['Value'],_0x1634d9=>{const _0x4518a0=_0xacbf1f;_0x46cf23[_0x4518a0(0x2aa)](_0x1634d9[_0x4518a0(0x467)]());}),_0x56927f===void 0x0&&_0x570e37['iterateField'](_0xdeb667=>{const _0x293afa=_0xacbf1f;_0x46cf23[_0x293afa(0x2aa)](_0xdeb667['getId']());});const _0x324dd5=_0x46cf23[_0xacbf1f(0x472)];for(let _0x200cab=_0x324dd5-0x1;_0x200cab>=0x0;_0x200cab--)_0x570e37['removeField'](_0x46cf23[_0x200cab]);const _0x2ab773=_0x570e37['getValueFilterInfos']();for(const _0x87982a in _0x2ab773)_0x570e37[_0xacbf1f(0x1e3)](_0x87982a);}function _0x45a2a1(_0x55479b,_0x7f0893){const _0xe8806e=_0x47b8d2,_0x149336=new Date(_0x2bd5b3['excelDateToUnixMilliseconds'](_0x7f0893)),_0x48a8ea=new Date(_0x2bd5b3['excelDateToUnixMilliseconds'](_0x55479b)),_0x5d9932=_0x149336['getFullYear'](),_0x36fb2d=_0x48a8ea[_0xe8806e(0x1b5)](),_0x5bdd2b=_0x149336[_0xe8806e(0x297)](),_0x210c91=_0x48a8ea[_0xe8806e(0x297)](),_0xb5ab24=_0x149336[_0xe8806e(0x40c)](),_0x563bc9=_0x48a8ea[_0xe8806e(0x40c)](),_0x99980a=_0x5d9932===_0x36fb2d,_0x227e2c=_0x99980a&&_0x5bdd2b===_0x210c91;return _0x99980a&&_0x227e2c&&!(_0x227e2c&&_0xb5ab24===_0x563bc9)?_0x2bd5b3[_0xe8806e(0x1e2)][_0xe8806e(0x46f)]:_0x99980a&&!_0x227e2c?_0x2bd5b3['PivotDateGroupFieldDateTypeEnum'][_0xe8806e(0x375)]:_0x2bd5b3[_0xe8806e(0x1e2)][_0xe8806e(0x16e)];}function _0x11220e(_0x4cd4ae,_0x3ad552){const _0x3496f3=_0x47b8d2,_0x4ac857=_0x4cd4ae[_0x3496f3(0x26d)](_0x118be4[_0x3496f3(0x3c8)])[_0x3496f3(0x1d3)]();let _0x363769='';switch(_0x3ad552){case _0x2bd5b3[_0x3496f3(0x1e2)][_0x3496f3(0x46f)]:_0x363769=_0x4ac857['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x2bd5b3[_0x3496f3(0x1e2)][_0x3496f3(0x375)]:_0x363769=_0x4ac857[_0x3496f3(0x1d9)];break;case _0x2bd5b3[_0x3496f3(0x1e2)][_0x3496f3(0x16e)]:_0x363769=_0x4ac857[_0x3496f3(0x463)];break;case _0x2bd5b3['PivotDateGroupFieldDateTypeEnum'][_0x3496f3(0x456)]:_0x363769=_0x4ac857['sheets-pivot.dateGroup.month'];break;case _0x2bd5b3['PivotDateGroupFieldDateTypeEnum'][_0x3496f3(0x3da)]:_0x363769=_0x4ac857[_0x3496f3(0x47e)];break;case _0x2bd5b3[_0x3496f3(0x1e2)][_0x3496f3(0x392)]:_0x363769=_0x4ac857[_0x3496f3(0x1d2)];break;case _0x2bd5b3['PivotDateGroupFieldDateTypeEnum'][_0x3496f3(0x3a5)]:_0x363769=_0x4ac857[_0x3496f3(0x155)];break;case _0x2bd5b3[_0x3496f3(0x1e2)][_0x3496f3(0x437)]:_0x363769=_0x4ac857['sheets-pivot.dateGroup.hour'];break;case _0x2bd5b3[_0x3496f3(0x1e2)][_0x3496f3(0x21b)]:_0x363769=_0x4ac857[_0x3496f3(0x407)];break;case _0x2bd5b3[_0x3496f3(0x1e2)]['MonthDate']:_0x363769=_0x4ac857[_0x3496f3(0x1a0)];break;case _0x2bd5b3[_0x3496f3(0x1e2)]['YearQuarter']:_0x363769=_0x4ac857[_0x3496f3(0x289)];break;default:_0x363769='';break;}return _0x363769;}const _0x2d1658='sheets-pivot.config',_0x1bb0cd={};var _0x566999=Object[_0x47b8d2(0x44f)],_0x568fe7=(_0x160c58,_0x10dafb,_0x134828,_0x3b2a00)=>{const _0x2167b7=_0x47b8d2;for(var _0x11404c=_0x3b2a00>0x1?void 0x0:_0x3b2a00?_0x566999(_0x10dafb,_0x134828):_0x10dafb,_0x2ae7fe=_0x160c58[_0x2167b7(0x472)]-0x1,_0x3c8b29;_0x2ae7fe>=0x0;_0x2ae7fe--)(_0x3c8b29=_0x160c58[_0x2ae7fe])&&(_0x11404c=_0x3c8b29(_0x11404c)||_0x11404c);return _0x11404c;},_0x4f76a5=(_0x328db7,_0x3b4a14)=>(_0x3aede5,_0x125e16)=>_0x3b4a14(_0x3aede5,_0x125e16,_0x328db7);_0x118be4[_0x47b8d2(0x350)]=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0xb332bc,_0x5bc912,_0x2c1c88,_0x5b25f6,_0x2ae4e4){const _0x5828eb=_0x47b8d2;super(),_0x44a70e(this,_0x5828eb(0x1cb),new Map()),_0x44a70e(this,'_collectionConfigModel',new Map()),_0x44a70e(this,_0x5828eb(0x1e0),new Map()),_0x44a70e(this,'_pivotTableMatrixInfo',new Map()),_0x44a70e(this,_0x5828eb(0x1c4),new _0x1f8d69[(_0x5828eb(0x41e))]()),_0x44a70e(this,_0x5828eb(0x2b8),new _0x1f8d69['Subject']()),_0x44a70e(this,_0x5828eb(0x153),this['_pivotInitCompleted$'][_0x5828eb(0x217)]()),_0x44a70e(this,_0x5828eb(0x26a),new _0x1f8d69[(_0x5828eb(0x41e))]()),_0x44a70e(this,_0x5828eb(0x21a),this[_0x5828eb(0x26a)][_0x5828eb(0x217)]()),_0x44a70e(this,_0x5828eb(0x29d),{}),_0x44a70e(this,_0x5828eb(0x1ce),this[_0x5828eb(0x1c4)][_0x5828eb(0x217)]()),(this[_0x5828eb(0x3fa)]=_0xb332bc,this[_0x5828eb(0x1e8)]=_0x5bc912,this[_0x5828eb(0x3ca)]=_0x2c1c88,this['_resourceManagerService']=_0x5b25f6,this['_configService']=_0x2ae4e4,this[_0x5828eb(0x46b)](),this[_0x5828eb(0x2ce)]());const _0x5fe2cb=this[_0x5828eb(0x20e)][_0x5828eb(0x1f4)](_0x2d1658);(_0x5fe2cb==null?void 0x0:_0x5fe2cb[_0x5828eb(0x34c)])===!0x0&&this[_0x5828eb(0x2ee)]();}[_0x47b8d2(0x2ce)](){const _0x3a44fd=_0x47b8d2;this[_0x3a44fd(0x2f6)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x108556[_0x3a44fd(0x298)][_0x3a44fd(0x260)])[_0x3a44fd(0x1c5)](_0x47b4d7=>{const _0x221bc0=_0x3a44fd;this['deleteUnitId'](_0x47b4d7[_0x221bc0(0x41c)]());}));}[_0x47b8d2(0x27c)](){const _0x4b3d6f=_0x47b8d2;this[_0x4b3d6f(0x2b8)]['next'](!0x0);}[_0x47b8d2(0x46b)](){const _0x46e97a=_0x47b8d2,_0x16607d=_0x159209(this[_0x46e97a(0x3fa)],_0x14e3ba,'',{});this['_textInfo']=_0x16607d,this[_0x46e97a(0x1e8)][_0x46e97a(0x389)](_0x4ef0f2['id'],{'textInfo':_0x16607d},{'onlyLocal':!0x0});}[_0x47b8d2(0x1d3)](){return this['_textInfo'];}[_0x47b8d2(0x223)](_0x3d72fc,_0x1c02e2,_0x5ada4a,_0x4616d6,_0x1b60bf){const _0x47a6eb=_0x47b8d2;this[_0x47a6eb(0x45e)](_0x3d72fc,_0x1c02e2,_0x5ada4a,_0x4616d6),this[_0x47a6eb(0x306)](_0x3d72fc,_0x1c02e2,_0x5ada4a,_0x1b60bf);}['getPivotTableConfig'](_0x2b1bd4,_0x31a9da,_0x137507){const _0x52b677=_0x47b8d2;var _0x3d6276;const _0x304896=(_0x3d6276=this[_0x52b677(0x1cb)][_0x52b677(0x26d)](_0x2b1bd4))==null?void 0x0:_0x3d6276['get'](_0x31a9da);if(_0x304896)return _0x304896['get'](_0x137507);}[_0x47b8d2(0x39c)](_0x144bd2,_0x3b0724){const _0x10b361=_0x47b8d2,_0x83ce47=this[_0x10b361(0x1cb)][_0x10b361(0x26d)](_0x144bd2);if(_0x83ce47){for(const [_0x41416a,_0x378137]of _0x83ce47[_0x10b361(0x239)]())for(const [_0x5b1bc3,_0xccb82e]of _0x378137[_0x10b361(0x239)]())if(_0x5b1bc3===_0x3b0724)return _0xccb82e[_0x10b361(0x1bc)];}}[_0x47b8d2(0x222)](_0x5dfb72,_0x57ef4b,_0x4b4ae6){const _0x5ca6ed=_0x47b8d2,_0x4cc8b8=this[_0x5ca6ed(0x294)](_0x5dfb72,_0x57ef4b,_0x4b4ae6);return _0x4cc8b8==null?void 0x0:_0x4cc8b8['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x33c0de,_0x2e0289){const _0x3d30d8=_0x47b8d2;var _0x1d6556;return(_0x1d6556=this[_0x3d30d8(0x1cb)]['get'](_0x33c0de))==null?void 0x0:_0x1d6556['get'](_0x2e0289);}['updateConfigCache'](_0x20e477,_0x1fdfe3,_0x2a078c,_0x14209b){const _0x199c6e=_0x47b8d2,_0x2ee96d=this[_0x199c6e(0x25f)](_0x20e477,_0x1fdfe3);_0x14209b?_0x2ee96d['set'](_0x2a078c,_0x14209b):_0x2ee96d['delete'](_0x2a078c),this[_0x199c6e(0x26a)]['next']({'unitId':_0x20e477,'subUnitId':_0x1fdfe3,'pivotTableId':_0x2a078c,'pivotTableConfig':_0x14209b});}[_0x47b8d2(0x3a1)](_0x237a04,_0x3be3bc){const _0x1fb483=_0x47b8d2;var _0xd63a3f;return(_0xd63a3f=this[_0x1fb483(0x473)][_0x1fb483(0x26d)](_0x237a04))==null?void 0x0:_0xd63a3f[_0x1fb483(0x17f)][_0x3be3bc];}['updateCollectionConfig'](_0x3ecefc,_0x557052){const _0x1bfb94=_0x47b8d2;this[_0x1bfb94(0x473)]['set'](_0x3ecefc,_0x557052),this['_configVersion$'][_0x1bfb94(0x36a)](Math[_0x1bfb94(0x397)]());}[_0x47b8d2(0x25f)](_0x38e638,_0x1bccdc){const _0x32ac76=_0x47b8d2;let _0x5ddffd=this[_0x32ac76(0x1cb)][_0x32ac76(0x26d)](_0x38e638);_0x5ddffd||(_0x5ddffd=new Map(),this[_0x32ac76(0x1cb)]['set'](_0x38e638,_0x5ddffd));let _0x10c262=_0x5ddffd[_0x32ac76(0x26d)](_0x1bccdc);return _0x10c262||(_0x10c262=new Map(),_0x5ddffd[_0x32ac76(0x2a1)](_0x1bccdc,_0x10c262)),_0x10c262;}[_0x47b8d2(0x2a0)](_0x432c74,_0x354a9c){const _0x28a5dd=_0x47b8d2;let _0x5acd2d=this[_0x28a5dd(0x1e0)][_0x28a5dd(0x26d)](_0x432c74);_0x5acd2d||(_0x5acd2d=new Map(),this[_0x28a5dd(0x1e0)]['set'](_0x432c74,_0x5acd2d));let _0x52a623=_0x5acd2d['get'](_0x354a9c);return _0x52a623||(_0x52a623=new Map(),_0x5acd2d['set'](_0x354a9c,_0x52a623)),_0x52a623;}[_0x47b8d2(0x2dd)](_0x7b0060,_0x423a1f){const _0x319be1=_0x47b8d2;let _0xf0d9f4=this[_0x319be1(0x2c1)]['get'](_0x7b0060);_0xf0d9f4||(_0xf0d9f4=new Map(),this['_pivotTableMatrixInfo'][_0x319be1(0x2a1)](_0x7b0060,_0xf0d9f4));let _0x2e17ab=_0xf0d9f4[_0x319be1(0x26d)](_0x423a1f);return _0x2e17ab||(_0x2e17ab=new Map(),_0xf0d9f4[_0x319be1(0x2a1)](_0x423a1f,_0x2e17ab)),_0x2e17ab;}[_0x47b8d2(0x306)](_0x1b680a,_0x5e3bf6,_0x38b1e6,_0x48682d){const _0x2952fe=_0x47b8d2;var _0x2f6980;const _0x5f548a=this['_ensurePivotTableRangeInfo'](_0x1b680a,_0x5e3bf6),_0x494dda=(_0x2f6980=_0x5f548a[_0x2952fe(0x26d)](_0x38b1e6))==null?void 0x0:_0x2f6980[_0x2952fe(0x453)];_0x5f548a['set'](_0x38b1e6,{'oldRangeInfo':_0x494dda,'rangeInfo':_0x48682d});}[_0x47b8d2(0x45e)](_0x4824d1,_0x43c6cf,_0x2337b7,_0x1b37c0){const _0xd8aa9b=_0x47b8d2;var _0x39d554;const _0x297207=this[_0xd8aa9b(0x2dd)](_0x4824d1,_0x43c6cf),_0x22cfe1=(_0x39d554=_0x297207['get'](_0x2337b7))==null?void 0x0:_0x39d554[_0xd8aa9b(0x200)];_0x297207[_0xd8aa9b(0x2a1)](_0x2337b7,{'oldMatrix':_0x22cfe1,'matrix':_0x1b37c0});}[_0x47b8d2(0x194)](_0x4ed225,_0x2f7a50,_0x35dbae){const _0x11625f=_0x47b8d2;var _0x3e03eb,_0x6fa9ab;return(_0x6fa9ab=(_0x3e03eb=this[_0x11625f(0x1e0)][_0x11625f(0x26d)](_0x4ed225))==null?void 0x0:_0x3e03eb[_0x11625f(0x26d)](_0x2f7a50))==null?void 0x0:_0x6fa9ab[_0x11625f(0x26d)](_0x35dbae);}[_0x47b8d2(0x47a)](_0x27beb3,_0x2672c7,_0x412539){const _0x1e182e=_0x47b8d2;var _0x4ce0e3,_0x3a4cb3;return(_0x3a4cb3=(_0x4ce0e3=this[_0x1e182e(0x2c1)][_0x1e182e(0x26d)](_0x27beb3))==null?void 0x0:_0x4ce0e3[_0x1e182e(0x26d)](_0x2672c7))==null?void 0x0:_0x3a4cb3[_0x1e182e(0x26d)](_0x412539);}[_0x47b8d2(0x330)](_0x332a74){const _0x40cec8=_0x47b8d2;this['_model'][_0x40cec8(0x424)](_0x332a74),this[_0x40cec8(0x473)][_0x40cec8(0x424)](_0x332a74);}[_0x47b8d2(0x203)](_0x2784f4){const _0x50485a=_0x47b8d2,_0xa0ec25={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x50485a(0x473)][_0x50485a(0x26d)](_0x2784f4)&&(_0xa0ec25[_0x50485a(0x2e5)][_0x2784f4]=this[_0x50485a(0x473)][_0x50485a(0x26d)](_0x2784f4)),this[_0x50485a(0x1cb)]['get'](_0x2784f4)){_0xa0ec25[_0x50485a(0x190)][_0x2784f4]={};const _0x181262=this[_0x50485a(0x1cb)]['get'](_0x2784f4);_0x181262!=null&&_0x181262[_0x50485a(0x192)]&&[..._0x181262[_0x50485a(0x24f)]()][_0x50485a(0x464)](_0x11aa1c=>{const _0x3c6918=_0x50485a,_0x4423f1=_0x181262[_0x3c6918(0x26d)](_0x11aa1c);_0x4423f1!=null&&_0x4423f1[_0x3c6918(0x192)]&&(_0xa0ec25[_0x3c6918(0x190)][_0x2784f4][_0x11aa1c]={},[..._0x4423f1['keys']()][_0x3c6918(0x464)](_0x2c0dc4=>{const _0x51609f=_0x3c6918,_0x55910a=_0x4423f1[_0x51609f(0x26d)](_0x2c0dc4);_0x55910a&&(_0xa0ec25[_0x51609f(0x190)][_0x2784f4][_0x11aa1c][_0x2c0dc4]=_0x55910a);}));});}return _0xa0ec25;}['_initSnapshot'](){const _0xa429b6=_0x47b8d2;this['disposeWithMe'](this[_0xa429b6(0x241)]['registerPluginResource']({'toJson':_0x166b0e=>JSON[_0xa429b6(0x444)](this['_toJSON'](_0x166b0e)),'parseJson':_0x12762e=>({}),'businesses':[_0x108556[_0xa429b6(0x298)][_0xa429b6(0x260)]],'pluginName':_0x292f9f,'onLoad':(_0x345ee8,_0x21a9ea)=>{},'onUnLoad':_0x3551fe=>{const _0x33085e=_0xa429b6;this[_0x33085e(0x330)](_0x3551fe);}}));}},_0x118be4[_0x47b8d2(0x350)]=_0x568fe7([_0x4f76a5(0x0,_0x108556['Inject'](_0x108556['Injector'])),_0x4f76a5(0x1,_0x108556['Inject'](_0x108556[_0x47b8d2(0x2cf)])),_0x4f76a5(0x2,_0x108556['Inject'](_0x108556[_0x47b8d2(0x371)])),_0x4f76a5(0x3,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x36f)])),_0x4f76a5(0x4,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x1c3)]))],_0x118be4[_0x47b8d2(0x350)]);var _0x33e3cc=Object[_0x47b8d2(0x44f)],_0x5ec453=(_0xef358,_0x2ede7a,_0x146e2c,_0x2cc2c9)=>{for(var _0x285fd6=_0x2cc2c9>0x1?void 0x0:_0x2cc2c9?_0x33e3cc(_0x2ede7a,_0x146e2c):_0x2ede7a,_0x4ba151=_0xef358['length']-0x1,_0x214563;_0x4ba151>=0x0;_0x4ba151--)(_0x214563=_0xef358[_0x4ba151])&&(_0x285fd6=_0x214563(_0x285fd6)||_0x285fd6);return _0x285fd6;},_0x2fa38f=(_0x2fc1dd,_0x5c8dd7)=>(_0x55257a,_0x55ec86)=>_0x5c8dd7(_0x55257a,_0x55ec86,_0x2fc1dd);_0x118be4['SheetsPivotTableAdaptorModel']=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x25a24d,_0x5d2d1e,_0x3ba4fa,_0x1b7474,_0x20d6ed){const _0x4a5b53=_0x47b8d2;super(),_0x44a70e(this,_0x4a5b53(0x15b),new Map()),_0x44a70e(this,_0x4a5b53(0x40b),new Map()),_0x44a70e(this,_0x4a5b53(0x44a),new _0x1f8d69[(_0x4a5b53(0x41e))]()),_0x44a70e(this,_0x4a5b53(0x3ef),this[_0x4a5b53(0x44a)][_0x4a5b53(0x217)]()),_0x44a70e(this,_0x4a5b53(0x2e6),new _0x1f8d69['Subject']()),_0x44a70e(this,_0x4a5b53(0x29b),this[_0x4a5b53(0x2e6)][_0x4a5b53(0x217)]()),_0x44a70e(this,'_textInfo'),(this['_localeService']=_0x25a24d,this[_0x4a5b53(0x3fa)]=_0x5d2d1e,this[_0x4a5b53(0x18c)]=_0x3ba4fa,this['_univerInstanceService']=_0x1b7474,this['_exclusiveRangeService']=_0x20d6ed,this[_0x4a5b53(0x46b)](),this[_0x4a5b53(0x2ce)]());}['_initUnitDisposed'](){const _0x353953=_0x47b8d2;this['disposeWithMe'](this[_0x353953(0x3ca)]['getTypeOfUnitDisposed$'](_0x108556[_0x353953(0x298)]['UNIVER_SHEET'])['subscribe'](_0x1cc82e=>{const _0xbf864d=_0x353953;this[_0xbf864d(0x330)](_0x1cc82e[_0xbf864d(0x41c)]());}));}[_0x47b8d2(0x46b)](){const _0x598838=_0x47b8d2;this[_0x598838(0x29d)]=_0x159209(this[_0x598838(0x3fa)],_0x14e3ba,'',{});}[_0x47b8d2(0x36b)](_0x2d1cf9){const _0x44fbf6=_0x47b8d2,{view:_0xa9215c,unitId:_0x1f165b,subUnitId:_0x15fa0a,pivotTableId:_0x490e72,type:_0x1d7faf}=_0x2d1cf9,_0x823ced=this[_0x44fbf6(0x18c)][_0x44fbf6(0x294)](_0x1f165b,_0x15fa0a,_0x490e72);if(!_0xa9215c||!_0x823ced||_0x1d7faf===_0x2c8cb5[_0x44fbf6(0x3b3)])return;const {pageView:_0x1a47ff,cornerView:_0x29aa21,rowView:_0x198184,colView:_0x3e2ef2,dataView:_0x2cdb47}=_0xa9215c,_0x4753b7=_0x823ced['targetCellInfo'],_0xfc582e=_0x823ced[_0x44fbf6(0x211)],_0x193967=this[_0x44fbf6(0x2e1)](_0x1f165b,_0x15fa0a),_0x31dc8e=this['_ensurePivotItemRenderInfoCache'](_0x1f165b,_0x15fa0a,_0x490e72);if(_0xfc582e)return this[_0x44fbf6(0x3a6)](_0x2d1cf9,_0x193967,_0x4753b7,_0x31dc8e);{const _0x19293a=_0x5e81ab(_0x4753b7,_0x1a47ff,!0x0),_0x1d93b3=_0x1a47ff[_0x44fbf6(0x35b)]>=0x0?_0x1a47ff[_0x44fbf6(0x35b)]+0x1:0x0,_0xf5843f=_0x29aa21['getRowCount'](),_0x4639f1=_0x29aa21[_0x44fbf6(0x163)](),_0x440e9a=_0x19293a[_0x44fbf6(0x472)]>0x0?_0x467340:0x0,_0x48875a=_0x5e81ab({'row':_0x4753b7[_0x44fbf6(0x296)]+_0x1d93b3+_0x440e9a,'col':_0x4753b7[_0x44fbf6(0x319)]},_0x29aa21,!0x1,!0x1),_0x1cb688=_0x5e81ab({'row':_0x4753b7[_0x44fbf6(0x296)]+_0x1d93b3+_0x440e9a+_0xf5843f,'col':_0x4753b7[_0x44fbf6(0x319)]},_0x198184,!0x1,!0x0),_0x567431=_0x5e81ab({'row':_0x4753b7['row']+_0x1d93b3+_0x440e9a,'col':_0x4753b7[_0x44fbf6(0x319)]+_0x4639f1},_0x3e2ef2,!0x1,!0x0),_0xa92fdc=_0x5e81ab({'row':_0x4753b7[_0x44fbf6(0x296)]+_0x1d93b3+_0x440e9a+_0xf5843f,'col':_0x4753b7[_0x44fbf6(0x319)]+_0x4639f1},_0x2cdb47,!0x1,!0x1);_0x31dc8e[_0x44fbf6(0x174)]={'rowRanges':_0x1cb688,'colRanges':_0x567431,'cornerRanges':_0x48875a,'dataRanges':_0xa92fdc,'pageRanges':_0x19293a};const _0x2cdfe0=_0x38fd4d(this['_injector'],_0xa9215c,_0x823ced,this[_0x44fbf6(0x29d)]),{valueMatrix:_0x327790,rowInfo:_0x48b2f9,colInfo:_0x151176,cornerInfo:_0x135cee,rowHeaderMap:_0x50bbf4,colHeaderMap:_0x57f568}=_0x2cdfe0;return _0x31dc8e[_0x44fbf6(0x43e)]={'rowInfo':_0x48b2f9,'colInfo':_0x151176,'cornerInfo':_0x135cee},_0x31dc8e['headerMap']={'rowHeaderMap':_0x50bbf4,'colHeaderMap':_0x57f568},_0x327790[_0x44fbf6(0x464)]((_0x3ae906,_0x4d3437)=>{const _0x526689=_0x44fbf6;Object[_0x526689(0x24f)](_0x4d3437)[_0x526689(0x464)](_0x3cb155=>{const _0x469cc1=_0x526689,_0x1ba940=+_0x3cb155,_0x510be2=_0x327790[_0x469cc1(0x1af)](_0x3ae906,_0x1ba940);_0x193967['setValue'](_0x3ae906,_0x1ba940,_0x510be2);});}),this[_0x44fbf6(0x2e6)][_0x44fbf6(0x36a)]({'unitId':_0x1f165b,'subUnitId':_0x15fa0a,'valueMatrix':_0x193967,'rangesCache':_0x31dc8e[_0x44fbf6(0x174)],'pivotTableId':_0x490e72,'type':_0x2d1cf9[_0x44fbf6(0x1df)]}),this[_0x44fbf6(0x18c)][_0x44fbf6(0x223)](_0x1f165b,_0x15fa0a,_0x490e72,_0x193967,_0x31dc8e[_0x44fbf6(0x174)]),this[_0x44fbf6(0x2ed)][_0x44fbf6(0x38c)](_0x1f165b,_0x15fa0a,_0x997266,this[_0x44fbf6(0x1b1)](_0x31dc8e['rangesInfo'],_0x490e72)),{'rangeCache':_0x31dc8e[_0x44fbf6(0x174)],'matrix':_0x193967};}}[_0x47b8d2(0x3a6)](_0x3e5aa6,_0x2c1b16,_0x2e8d6e,_0x3fd08a){const _0x2a5bf4=_0x47b8d2,_0x49fbc6=this[_0x2a5bf4(0x359)]['t'],{unitId:_0x34ac93,subUnitId:_0x5b1f7a,pivotTableId:_0x1c91cf}=_0x3e5aa6,_0x5e63fc={'filter':_0x49fbc6(_0x2a5bf4(0x183)),'row':_0x49fbc6(_0x2a5bf4(0x2c9)),'column':_0x49fbc6(_0x2a5bf4(0x177)),'values':_0x49fbc6(_0x2a5bf4(0x3a3))},{matrixCache:_0x91bcab,rangesCache:_0x3b1637}=_0x1f679(_0x5e63fc,_0x2e8d6e);return _0x91bcab[_0x2a5bf4(0x3e4)]((_0x2801f4,_0xc9d57c,_0x1d3b53)=>{_0x2c1b16['setValue'](_0x2801f4,_0xc9d57c,_0x1d3b53);}),_0x3fd08a[_0x2a5bf4(0x174)]=_0x3b1637,this['_viewUpdate$']['next']({'unitId':_0x34ac93,'subUnitId':_0x5b1f7a,'valueMatrix':_0x2c1b16,'rangesCache':_0x3b1637,'pivotTableId':_0x1c91cf,'type':_0x3e5aa6['type'],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x2a5bf4(0x223)](_0x34ac93,_0x5b1f7a,_0x1c91cf,_0x2c1b16,_0x3b1637),this[_0x2a5bf4(0x2ed)]['addExclusiveRange'](_0x34ac93,_0x5b1f7a,_0x997266,this[_0x2a5bf4(0x1b1)](_0x3b1637,_0x1c91cf)),{'rangeCache':_0x3fd08a[_0x2a5bf4(0x174)],'matrix':_0x2c1b16};}[_0x47b8d2(0x1b1)](_0x923a23,_0x33cc82){const _0x4f71c4=_0x47b8d2,_0x4794de=[],_0x5ca898=_0x3c5d00(_0x923a23);for(const _0x1677aa of _0x5ca898)_0x4794de[_0x4f71c4(0x2aa)]({'groupId':_0x33cc82,'range':_0x1677aa});return _0x4794de;}['clearRenderCache'](_0x4c7c13){const _0x263dfb=_0x47b8d2;var _0x174ef2,_0x55398a,_0x3b2a4a,_0x2c82f3;const {pivotTableId:_0x27d9e1,unitId:_0x3fc4aa,subUnitId:_0x2a57a8}=_0x4c7c13;if(!_0x27d9e1||!_0x3fc4aa||!_0x2a57a8)return;const _0x1dea55=this['_ensurePivotItemRenderValueMatrixCache'](_0x3fc4aa,_0x2a57a8),_0x2f9694=(_0x55398a=(_0x174ef2=this[_0x263dfb(0x15b)]['get'](_0x3fc4aa))==null?void 0x0:_0x174ef2[_0x263dfb(0x26d)](_0x2a57a8))==null?void 0x0:_0x55398a[_0x263dfb(0x26d)](_0x27d9e1);if(_0x2f9694!=null&&_0x2f9694[_0x263dfb(0x174)]){for(const _0x18a0fd of Object[_0x263dfb(0x24f)](_0x2f9694[_0x263dfb(0x174)]))_0x2f9694['rangesInfo'][_0x18a0fd][_0x263dfb(0x464)](_0xcca680=>{const _0x3f7bd1=_0x263dfb;for(let _0x1cad05=_0xcca680[_0x3f7bd1(0x33f)];_0x1cad05<=_0xcca680[_0x3f7bd1(0x3c2)];_0x1cad05++)for(let _0xda7f5a=_0xcca680[_0x3f7bd1(0x2bc)];_0xda7f5a<=_0xcca680['endColumn'];_0xda7f5a++)_0x1dea55['realDeleteValue'](_0x1cad05,_0xda7f5a);});}_0x2f9694&&((_0x2c82f3=(_0x3b2a4a=this['_pivotRenderInfoCache'][_0x263dfb(0x26d)](_0x3fc4aa))==null?void 0x0:_0x3b2a4a['get'](_0x2a57a8))==null||_0x2c82f3['delete'](_0x27d9e1)),this[_0x263dfb(0x2e6)][_0x263dfb(0x36a)]({'unitId':_0x3fc4aa,'subUnitId':_0x2a57a8,'valueMatrix':_0x1dea55,'pivotTableId':_0x27d9e1,'rangesCache':void 0x0,'type':_0x4c7c13['type']}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x3fc4aa,_0x2a57a8,_0x997266,_0x27d9e1);}[_0x47b8d2(0x405)](_0x32db8a,_0x5c5555,_0x116a88){const _0x524228=_0x47b8d2;var _0x151ec3,_0x2813a6,_0x582d01,_0x4366c8,_0x57d3f2,_0x3b6226;return this['_pivotRenderInfoCache'][_0x524228(0x38f)](_0x32db8a)||this[_0x524228(0x15b)][_0x524228(0x2a1)](_0x32db8a,new Map()),(_0x151ec3=this['_pivotRenderInfoCache']['get'](_0x32db8a))!=null&&_0x151ec3['has'](_0x5c5555)||(_0x2813a6=this[_0x524228(0x15b)][_0x524228(0x26d)](_0x32db8a))==null||_0x2813a6['set'](_0x5c5555,new Map()),(_0x4366c8=(_0x582d01=this['_pivotRenderInfoCache'][_0x524228(0x26d)](_0x32db8a))==null?void 0x0:_0x582d01[_0x524228(0x26d)](_0x5c5555))!=null&&_0x4366c8[_0x524228(0x38f)](_0x116a88)||(_0x3b6226=(_0x57d3f2=this[_0x524228(0x15b)][_0x524228(0x26d)](_0x32db8a))==null?void 0x0:_0x57d3f2[_0x524228(0x26d)](_0x5c5555))==null||_0x3b6226[_0x524228(0x2a1)](_0x116a88,{}),this[_0x524228(0x15b)][_0x524228(0x26d)](_0x32db8a)['get'](_0x5c5555)['get'](_0x116a88);}[_0x47b8d2(0x2e1)](_0xb1e167,_0xec84fe){const _0x4d2641=_0x47b8d2;var _0x3b379a,_0x103fae;return this[_0x4d2641(0x40b)][_0x4d2641(0x38f)](_0xb1e167)||this[_0x4d2641(0x40b)][_0x4d2641(0x2a1)](_0xb1e167,new Map()),(_0x3b379a=this[_0x4d2641(0x40b)][_0x4d2641(0x26d)](_0xb1e167))!=null&&_0x3b379a[_0x4d2641(0x38f)](_0xec84fe)||(_0x103fae=this[_0x4d2641(0x40b)]['get'](_0xb1e167))==null||_0x103fae['set'](_0xec84fe,new _0x108556[(_0x4d2641(0x161))]()),this[_0x4d2641(0x40b)][_0x4d2641(0x26d)](_0xb1e167)[_0x4d2641(0x26d)](_0xec84fe);}['getPivotTableCellData'](_0x2bd1be,_0x459b02,_0x2d44d3,_0x31fcea){const _0x4c8b25=_0x47b8d2;var _0x5242ec,_0x3324c7;const _0x4e3324=(_0x3324c7=(_0x5242ec=this[_0x4c8b25(0x40b)][_0x4c8b25(0x26d)](_0x2bd1be))==null?void 0x0:_0x5242ec[_0x4c8b25(0x26d)](_0x459b02))==null?void 0x0:_0x3324c7[_0x4c8b25(0x1af)](_0x2d44d3,_0x31fcea);if(_0x4e3324!=null)return _0x4e3324;}[_0x47b8d2(0x30f)](_0x432d91,_0x482219,_0x35e770,_0xbe9e5c){const _0x2f7d86=_0x47b8d2;var _0x2fd655;const _0x560589=_0x108556[_0x2f7d86(0x28f)](_0x35e770,_0xbe9e5c),_0x711e7c=(_0x2fd655=this[_0x2f7d86(0x15b)][_0x2f7d86(0x26d)](_0x432d91))==null?void 0x0:_0x2fd655[_0x2f7d86(0x26d)](_0x482219);return _0x711e7c?Array[_0x2f7d86(0x1ae)](_0x711e7c[_0x2f7d86(0x24f)]())[_0x2f7d86(0x468)](_0x557741=>{const _0x36f323=_0x2f7d86,_0x1bcb33=_0x711e7c[_0x36f323(0x26d)](_0x557741),_0x3784f5=_0x1bcb33==null?void 0x0:_0x1bcb33[_0x36f323(0x174)];return _0x3784f5?Object[_0x36f323(0x24f)](_0x3784f5)[_0x36f323(0x15f)](_0x301f18=>_0x3784f5[_0x301f18]['some'](_0x1e31de=>_0x108556[_0x36f323(0x23b)][_0x36f323(0x17d)](_0x1e31de,_0x560589))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x347d5c,_0x3e1865,_0x9dd59c){const _0x416d0b=_0x47b8d2;var _0x388a43;const _0x5d3bec=(_0x388a43=this[_0x416d0b(0x15b)][_0x416d0b(0x26d)](_0x347d5c))==null?void 0x0:_0x388a43['get'](_0x3e1865),_0x1c6238=[];return _0x5d3bec&&Array[_0x416d0b(0x1ae)](_0x5d3bec[_0x416d0b(0x24f)]())[_0x416d0b(0x464)](_0x2f1868=>{const _0x565c60=_0x416d0b,_0x347057=_0x5d3bec[_0x565c60(0x26d)](_0x2f1868),_0x109963=_0x347057==null?void 0x0:_0x347057['rangesInfo'];if(_0x109963)for(const _0x32ff8e of Object[_0x565c60(0x2c2)](_0x109963)){let _0x43d601=!0x1;for(const _0x23321a of _0x32ff8e)if(_0x108556['Rectangle'][_0x565c60(0x372)](_0x23321a,_0x9dd59c)){_0x1c6238[_0x565c60(0x2aa)](_0x2f1868),_0x43d601=!0x0;break;}if(_0x43d601)break;}}),_0x1c6238;}[_0x47b8d2(0x402)](_0x19d3e2,_0x70b20b){const _0x692a29=_0x47b8d2;var _0x4144fd,_0x2e1669;return(_0x2e1669=(_0x4144fd=this[_0x692a29(0x40b)][_0x692a29(0x26d)](_0x19d3e2))==null?void 0x0:_0x4144fd[_0x692a29(0x26d)](_0x70b20b))!=null?_0x2e1669:new _0x108556[(_0x692a29(0x161))]();}[_0x47b8d2(0x457)](_0x418eb4,_0x103f1c){const _0x48794a=_0x47b8d2;var _0x2bd02a;return(_0x2bd02a=this['_pivotRenderInfoCache'][_0x48794a(0x26d)](_0x418eb4))==null?void 0x0:_0x2bd02a[_0x48794a(0x26d)](_0x103f1c);}[_0x47b8d2(0x455)](_0x3f9850,_0x1e2314,_0x239f4c){const _0x247e46=_0x47b8d2;var _0x20918f,_0x3337e7;return(_0x3337e7=(_0x20918f=this[_0x247e46(0x15b)]['get'](_0x3f9850))==null?void 0x0:_0x20918f[_0x247e46(0x26d)](_0x1e2314))==null?void 0x0:_0x3337e7[_0x247e46(0x26d)](_0x239f4c);}[_0x47b8d2(0x330)](_0x2f50f5){const _0x125e4a=_0x47b8d2;this[_0x125e4a(0x15b)]['delete'](_0x2f50f5),this['_pivotRenderValueMatrixCache'][_0x125e4a(0x424)](_0x2f50f5);}[_0x47b8d2(0x19d)](_0x491943,_0x2b7ae1){const _0x398115=_0x47b8d2;this['_markDirty$'][_0x398115(0x36a)]({'unitId':_0x491943,'subUnitId':_0x2b7ae1});}},_0x118be4[_0x47b8d2(0x1a4)]=_0x5ec453([_0x2fa38f(0x0,_0x108556[_0x47b8d2(0x24a)](_0x108556['LocaleService'])),_0x2fa38f(0x1,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x207)])),_0x2fa38f(0x2,_0x108556['Inject'](_0x118be4[_0x47b8d2(0x350)])),_0x2fa38f(0x3,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x371)])),_0x2fa38f(0x4,_0x108556[_0x47b8d2(0x24a)](_0x3c8849['IExclusiveRangeService']))],_0x118be4['SheetsPivotTableAdaptorModel']);var _0x23c79b=Object['getOwnPropertyDescriptor'],_0x3edd8c=(_0x2aef66,_0x5e0de6,_0x31d9ea,_0x141968)=>{const _0x4fb6a5=_0x47b8d2;for(var _0x3d0ef1=_0x141968>0x1?void 0x0:_0x141968?_0x23c79b(_0x5e0de6,_0x31d9ea):_0x5e0de6,_0x2f5937=_0x2aef66[_0x4fb6a5(0x472)]-0x1,_0x4bf0ae;_0x2f5937>=0x0;_0x2f5937--)(_0x4bf0ae=_0x2aef66[_0x2f5937])&&(_0x3d0ef1=_0x4bf0ae(_0x3d0ef1)||_0x3d0ef1);return _0x3d0ef1;},_0x510d6a=(_0x2d0a3b,_0x49ad71)=>(_0x5a97b6,_0x2a3edb)=>_0x49ad71(_0x5a97b6,_0x2a3edb,_0x2d0a3b);_0x118be4['SheetsPivotTableService']=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x405cf1,_0x364292){const _0x3ed0fc=_0x47b8d2;super(),_0x44a70e(this,_0x3ed0fc(0x1ef),new _0x108556[(_0x3ed0fc(0x35d))]({'PIVOT_PERFORM_CHECK':_0x3f49c1})),_0x44a70e(this,'interceptor',new _0x108556[(_0x3ed0fc(0x432))]({'PIVOT_MUTATION_GENERATE':_0x4acca5})),(this['_sheetInterceptorService']=_0x405cf1,this[_0x3ed0fc(0x3d4)]=_0x364292,this['_init']());}['_init'](){const _0x492b08=_0x47b8d2;this[_0x492b08(0x32b)]();}[_0x47b8d2(0x339)](_0x8a2f22){const _0x43599d=_0x47b8d2;return this['asyncInterceptor'][_0x43599d(0x1b7)](_0x3f49c1)(!0x1,_0x8a2f22);}['_initViewModelBySheetInterceptor'](){const _0x237c42=_0x47b8d2;this[_0x237c42(0x2f6)](this[_0x237c42(0x1c0)]['intercept'](_0x3c8849[_0x237c42(0x329)][_0x237c42(0x416)],{'priority':0xc8,'effect':_0x108556[_0x237c42(0x2d3)][_0x237c42(0x3c6)]|_0x108556[_0x237c42(0x2d3)][_0x237c42(0x218)],'handler':(_0x2b1ec9,_0x53ff9b,_0x33220e)=>{const _0x44e963=_0x237c42,{row:_0x1a7a14,col:_0x1837bd,unitId:_0x4e3686,subUnitId:_0x39d2b1,workbook:_0x47a01f}=_0x53ff9b,_0x5368d4=this[_0x44e963(0x3d4)][_0x44e963(0x25a)](_0x4e3686,_0x39d2b1,_0x1a7a14,_0x1837bd);if(!_0x5368d4)return _0x33220e(_0x2b1ec9);const _0x407dba={..._0x2b1ec9};(_0x5368d4['v']||_0x5368d4['v']===0x0)&&(_0x407dba['v']=_0x5368d4['v']),_0x5368d4['t']&&(_0x407dba['t']=_0x5368d4['t']);const _0x29b178=(typeof(_0x2b1ec9==null?void 0x0:_0x2b1ec9['s'])==_0x44e963(0x2df)?_0x47a01f[_0x44e963(0x24e)]()[_0x44e963(0x26d)](_0x2b1ec9==null?void 0x0:_0x2b1ec9['s']):_0x2b1ec9==null?void 0x0:_0x2b1ec9['s'])||{},_0x2cf869=_0x47a01f[_0x44e963(0x24e)]()[_0x44e963(0x26d)](_0x5368d4['s']),_0x2f0116={..._0x2cf869,..._0x29b178};_0x2cf869!=null&&_0x2cf869['n']&&(_0x2f0116['n']=_0x2cf869['n']);const _0x41696=_0x47a01f[_0x44e963(0x24e)]()[_0x44e963(0x15d)](_0x2f0116);return _0x407dba['s']=_0x41696,(_0x5368d4[_0x44e963(0x3c4)]===_0x2bd5b3['PivotCellStyleTypeEnum'][_0x44e963(0x3d5)]||_0x5368d4[_0x44e963(0x3c4)]===_0x2bd5b3[_0x44e963(0x3ed)][_0x44e963(0x242)])&&(_0x407dba['fontRenderExtension']={},_0x407dba[_0x44e963(0x3a9)]['leftOffset']=_0x48163b),_0x33220e(_0x407dba);}}));}},_0x118be4[_0x47b8d2(0x3ba)]=_0x3edd8c([_0x510d6a(0x0,_0x108556[_0x47b8d2(0x24a)](_0x3c8849[_0x47b8d2(0x465)])),_0x510d6a(0x1,_0x108556[_0x47b8d2(0x24a)](_0x118be4['SheetsPivotTableAdaptorModel']))],_0x118be4[_0x47b8d2(0x3ba)]);const _0x30035a={'id':_0x47b8d2(0x376),'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'handler':(_0x1467d0,_0x9a70e8)=>{const _0x488c96=_0x47b8d2;if(!_0x9a70e8)return!0x1;if(!!_0x1467d0['get'](_0x108556[_0x488c96(0x1c3)])['getConfig'](_0x5d78c9))return!0x0;const {pivotTableId:_0x449f6a,fieldJSON:_0x16d6f7,unitId:_0x273889,subUnitId:_0x4fa460}=_0x9a70e8;let _0x46237f;const {dataFieldType:_0x55c7b7,id:_0x3aad85,name:_0x1df4c3,hexCode:_0x433dc3,originalFieldId:_0x522e63}=_0x16d6f7;if(_0x55c7b7===_0x2bd5b3[_0x488c96(0x3d7)][_0x488c96(0x2c0)]&&(_0x46237f=new _0x2bd5b3[(_0x488c96(0x16a))](_0x3aad85,_0x1df4c3,_0x433dc3,_0x522e63)),!_0x46237f)return!0x1;const _0x4a0a7a=_0x1467d0[_0x488c96(0x26d)](_0x118be4[_0x488c96(0x3c8)]),_0x173b48=_0x4a0a7a['getDataFieldManager'](_0x273889),_0x48b4a6=_0x173b48[_0x488c96(0x3a1)](_0x449f6a);_0x173b48[_0x488c96(0x417)](_0x46237f),_0x48b4a6[_0x488c96(0x1fe)](_0x46237f['getId'](),_0x46237f[_0x488c96(0x348)]());const _0x2d71af=_0x48b4a6[_0x488c96(0x30e)](_0x46237f[_0x488c96(0x264)]());_0x2d71af&&_0x46237f[_0x488c96(0x2c6)](_0x2d71af);const _0x1858ff=_0x4a0a7a[_0x488c96(0x294)](_0x273889,_0x4fa460,_0x449f6a);return _0x4a0a7a[_0x488c96(0x1b8)]({'unitId':_0x273889,'subUnitId':_0x4fa460,'token':_0x449f6a,'type':_0x2c8cb5[_0x488c96(0x2d7)],'pivotConfig':_0x1858ff}),!0x0;}},_0x2d7a59={'id':_0x47b8d2(0x310),'type':_0x108556[_0x47b8d2(0x293)]['MUTATION'],'handler':(_0x5eb1f1,_0x48a70d)=>{const _0x3e0abe=_0x47b8d2;if(!_0x48a70d)return!0x1;if(!!_0x5eb1f1['get'](_0x108556['IConfigService'])['getConfig'](_0x5d78c9))return!0x0;const {pivotTableId:_0x89597d,dataFieldId:_0xad43f8,unitId:_0x22171d,subUnitId:_0x1abae}=_0x48a70d,_0xac758b=_0x5eb1f1[_0x3e0abe(0x26d)](_0x118be4[_0x3e0abe(0x3c8)]),_0x1b6b5c=_0xac758b['getDataFieldManager'](_0x22171d);_0x1b6b5c[_0x3e0abe(0x3a1)](_0x89597d)[_0x3e0abe(0x2e8)](_0xad43f8);let _0x4e448b=!0x0;for(const _0x3cdd0d in _0x1b6b5c[_0x3e0abe(0x17f)])if(_0x1b6b5c[_0x3e0abe(0x17f)][_0x3cdd0d][_0x3e0abe(0x214)]()[_0x3e0abe(0x1a1)](_0xad43f8)){_0x4e448b=!0x1;break;}_0x4e448b&&_0x1b6b5c['deleteDataField'](_0xad43f8);const _0x2f03dc=_0xac758b[_0x3e0abe(0x294)](_0x22171d,_0x1abae,_0x89597d);return _0xac758b[_0x3e0abe(0x1b8)]({'unitId':_0x22171d,'subUnitId':_0x1abae,'token':_0x89597d,'type':_0x2c8cb5['Set'],'pivotConfig':_0x2f03dc}),!0x0;}};function _0x4978e3(_0x39df24,_0x2a45a4){const _0x489d01=_0x47b8d2;switch(_0x2a45a4){case _0x2bd5b3[_0x489d01(0x20d)]['Value']:return _0x39df24[_0x489d01(0x2b1)];case _0x2bd5b3['PivotTableFiledAreaEnum'][_0x489d01(0x27e)]:return _0x39df24['filterFields'];case _0x2bd5b3[_0x489d01(0x20d)]['Row']:return _0x39df24[_0x489d01(0x3be)];case _0x2bd5b3[_0x489d01(0x20d)][_0x489d01(0x42c)]:return _0x39df24[_0x489d01(0x2a5)];default:return[];}}function _0x378c64(_0x4cfa00,_0x255493){return _0x4cfa00['measure'][_0x255493]||_0x4cfa00['dimension'][_0x255493];}function _0x28010e(_0x3f4e83,_0x20dc37){const _0x137e38=_0x47b8d2,{area:_0x26464b,fieldJson:_0x45d1e9,index:_0x37b9ce}=_0x20dc37;_0x26464b===_0x2bd5b3[_0x137e38(0x20d)][_0x137e38(0x3c6)]?_0x3f4e83[_0x137e38(0x2fd)][_0x45d1e9['id']]=_0x45d1e9:_0x3f4e83[_0x137e38(0x3e6)][_0x45d1e9['id']]=_0x45d1e9,_0x4978e3(_0x3f4e83,_0x26464b)[_0x137e38(0x17c)](_0x37b9ce,0x0,_0x45d1e9['id']);}function _0x1be625(_0x2aeb49,_0xe903f3){const _0x4b5d05=_0x47b8d2,{area:_0x15c211,fieldId:_0x26cb55,index:_0x2b65e6}=_0xe903f3;_0x15c211===_0x2bd5b3[_0x4b5d05(0x20d)]['Value']?delete _0x2aeb49[_0x4b5d05(0x2fd)][_0x26cb55]:delete _0x2aeb49[_0x4b5d05(0x3e6)][_0x26cb55],_0x4978e3(_0x2aeb49,_0x15c211)[_0x4b5d05(0x17c)](_0x2b65e6,0x1);}function _0x82c17(_0x1a2897,_0xcb15db){const _0x408681=_0x47b8d2,{fieldId:_0x791377,name:_0x160966}=_0xcb15db,_0x53b484=_0x378c64(_0x1a2897,_0x791377);_0x53b484&&(_0x53b484[_0x408681(0x268)]=_0x160966);}function _0x25f01f(_0x8e7f0e,_0x19b4de){const _0x1fa5a7=_0x47b8d2,{fieldId:_0x47ad94,collapse:_0x362d8e,item:_0x5353d4}=_0x19b4de;_0x5353d4!==void 0x0?(_0x8e7f0e['collapseInfo'][_0x47ad94]=_0x8e7f0e['collapseInfo'][_0x47ad94]||{},_0x8e7f0e[_0x1fa5a7(0x32d)][_0x47ad94][_0x5353d4]=_0x362d8e):_0x8e7f0e[_0x1fa5a7(0x32d)][_0x47ad94]=_0x362d8e;}function _0xc8a6a9(_0x1230fc,_0x137c7e){const {fieldId:_0x21a024,format:_0x5a0de1}=_0x137c7e,_0x5d577a=_0x378c64(_0x1230fc,_0x21a024);_0x5d577a&&(_0x5d577a['format']=_0x5a0de1);}function _0x458a6c(_0x3142e5,_0x1be462){const _0x44b22f=_0x47b8d2,{fieldId:_0x4656c4,filterInfo:_0x5f0022}=_0x1be462,_0x1c9fc2=_0x378c64(_0x3142e5,_0x4656c4);_0x1c9fc2&&(_0x1c9fc2[_0x44b22f(0x39b)]=_0x5f0022);}function _0x4faecc(_0x2213e3,_0x2530f5){const _0x28dc98=_0x47b8d2,{fieldId:_0x1edac7,filterInfo:_0x552790}=_0x2530f5,_0x10b355=_0x2213e3[_0x28dc98(0x301)][_0x28dc98(0x31e)](_0x3ed040=>_0x3ed040[_0x28dc98(0x1f8)]!==_0x1edac7);_0x552790&&_0x10b355['push']({'fieldId':_0x1edac7,'filterInfo':_0x552790}),_0x2213e3['valueFilter']=_0x10b355;}function _0x11dbd0(_0x2191d6,_0x443c00){const _0x1d3a40=_0x47b8d2,{fieldId:_0xaab27a,subtotalType:_0x4aebfc}=_0x443c00,_0x26d70d=_0x378c64(_0x2191d6,_0xaab27a);_0x26d70d&&(_0x26d70d[_0x1d3a40(0x216)]=_0x4aebfc);}function _0x43af51(_0x135ea5,_0xa3c51d){const _0x5364e0=_0x47b8d2,{fieldId:_0x2a8a24,oldArea:_0x5099c7,area:_0x575740,oldIndex:_0x4e3e38,index:_0xcc64d2}=_0xa3c51d,_0x4d5cd1=_0x5099c7!==_0x2bd5b3[_0x5364e0(0x20d)]['Value']&&_0x575740===_0x2bd5b3[_0x5364e0(0x20d)]['Value'],_0x5737e2=_0x5099c7===_0x2bd5b3['PivotTableFiledAreaEnum']['Value']&&_0x575740!==_0x2bd5b3[_0x5364e0(0x20d)][_0x5364e0(0x3c6)];if(_0x4d5cd1||_0x5737e2){const _0x556610=_0x378c64(_0x135ea5,_0x2a8a24);_0x556610&&(_0x4d5cd1?(delete _0x135ea5[_0x5364e0(0x3e6)][_0x2a8a24],_0x135ea5[_0x5364e0(0x2fd)][_0x2a8a24]=_0x556610):(delete _0x135ea5[_0x5364e0(0x2fd)][_0x2a8a24],_0x135ea5[_0x5364e0(0x3e6)][_0x2a8a24]=_0x556610));}const _0x2ef3e4=_0x4978e3(_0x135ea5,_0x5099c7),_0x32dbab=_0x4978e3(_0x135ea5,_0x575740);_0x2ef3e4[_0x5364e0(0x17c)](_0x4e3e38,0x1),_0x32dbab['splice'](_0xcc64d2,0x0,_0x2a8a24);}function _0x2409ed(_0xa630a7,_0x5bbf51){const _0x473401=_0x47b8d2,{valuePosition:_0x13fad9,index:_0x1e9858}=_0x5bbf51;_0xa630a7['valuePosition']=_0x13fad9,_0xa630a7[_0x473401(0x3e2)]=_0x1e9858;}function _0x5b4391(_0x1094ea,_0x542cf2){const _0x7cf99=_0x47b8d2,{tableFieldId:_0x3f2996,sourceName:_0x51f857,dataFieldId:_0x4814ab}=_0x542cf2,_0x4f4371=_0x378c64(_0x1094ea,_0x3f2996);_0x4f4371&&(_0x4f4371['sourceName']=_0x51f857,_0x4f4371[_0x7cf99(0x224)]=_0x4814ab);}function _0x483030(_0x12f1e2,_0x5876ce){const _0x31b1fa=_0x47b8d2,{fieldId:_0x3d7283,sortInfo:_0xe1716b}=_0x5876ce,_0x5daa4a=_0x378c64(_0x12f1e2,_0x3d7283);_0x5daa4a&&(_0x5daa4a[_0x31b1fa(0x423)]=_0xe1716b);}function _0x231178(_0x1fe02a,_0xba4ba){const _0x39a517=_0x47b8d2,{options:_0x4cfa89}=_0xba4ba;_0x1fe02a[_0x39a517(0x28e)]={..._0x1fe02a[_0x39a517(0x28e)],..._0x4cfa89};}const _0x41d3be={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x393),'handler'(_0x3d5937,_0x4a789c){const _0x38bcc1=_0x47b8d2;if(!_0x4a789c)return!0x1;if(!!_0x3d5937['get'](_0x108556[_0x38bcc1(0x1c3)])[_0x38bcc1(0x1f4)](_0x5d78c9))return!0x0;const _0x272230=_0x3d5937[_0x38bcc1(0x26d)](_0x118be4[_0x38bcc1(0x3c8)]),{pivotTableId:_0x30c9ed,fieldJson:_0x29e06a,area:_0x182803,index:_0x4dda6c,unitId:_0x5d75d7,subUnitId:_0x5602dc}=_0x4a789c,_0x1bd343=_0x272230[_0x38bcc1(0x410)](_0x30c9ed);if(!_0x1bd343)return!0x1;let _0x20f215;_0x182803===_0x2bd5b3[_0x38bcc1(0x20d)][_0x38bcc1(0x3c6)]?_0x20f215=_0x2bd5b3[_0x38bcc1(0x1c8)](_0x29e06a):_0x20f215=_0x2bd5b3[_0x38bcc1(0x259)](_0x29e06a),_0x1bd343[_0x38bcc1(0x1fe)](_0x20f215,_0x182803,_0x4dda6c);const _0x1522c9=_0x272230[_0x38bcc1(0x3f2)](_0x5d75d7,_0x5602dc,_0x30c9ed);_0x28010e(_0x1522c9,_0x4a789c);const _0x43ed82=_0x272230['getPivotTableConfig'](_0x5d75d7,_0x5602dc,_0x30c9ed);return _0x272230[_0x38bcc1(0x1b8)]({'unitId':_0x5d75d7,'subUnitId':_0x5602dc,'token':_0x30c9ed,'type':_0x2c8cb5[_0x38bcc1(0x2d7)],'pivotConfig':_0x43ed82}),!0x0;}},_0x4e1b89={'type':_0x108556['CommandType'][_0x47b8d2(0x368)],'id':_0x47b8d2(0x3de),'handler'(_0x3158bb,_0x4647dd){const _0x6869c0=_0x47b8d2;if(!_0x4647dd)return!0x1;if(!!_0x3158bb[_0x6869c0(0x26d)](_0x108556['IConfigService'])[_0x6869c0(0x1f4)](_0x5d78c9))return!0x0;const _0x41466f=_0x3158bb[_0x6869c0(0x26d)](_0x118be4[_0x6869c0(0x3c8)]),{pivotTableId:_0x1ef8e0,fieldId:_0xf43939,unitId:_0x225342,subUnitId:_0x22fa74}=_0x4647dd,_0x475b44=_0x41466f['getPivotTableInstance'](_0x1ef8e0);if(!_0x475b44)return!0x1;_0x475b44['removeField'](_0xf43939);const _0x48d564=_0x41466f[_0x6869c0(0x3f2)](_0x225342,_0x22fa74,_0x1ef8e0);_0x1be625(_0x48d564,_0x4647dd);const _0x3ed952=_0x41466f['getPivotTableConfig'](_0x225342,_0x22fa74,_0x1ef8e0);return _0x41466f[_0x6869c0(0x1b8)]({'unitId':_0x225342,'subUnitId':_0x22fa74,'token':_0x1ef8e0,'type':_0x2c8cb5[_0x6869c0(0x2d7)],'pivotConfig':_0x3ed952}),!0x0;}},_0x406cb6={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x235),'handler'(_0x5700fe,_0x521e37){const _0x5c2190=_0x47b8d2;if(!_0x521e37)return!0x1;if(!!_0x5700fe[_0x5c2190(0x26d)](_0x108556[_0x5c2190(0x1c3)])[_0x5c2190(0x1f4)](_0x5d78c9))return!0x0;const _0x50736e=_0x5700fe['get'](_0x118be4['SheetsPivotDataSourceModel']),{unitId:_0x4998af,subUnitId:_0x392329,pivotTableId:_0x1bc816,fieldId:_0x2d6190,name:_0x2b7a77}=_0x521e37,_0x4d3e3b=_0x50736e[_0x5c2190(0x410)](_0x1bc816);if(!_0x4d3e3b)return!0x1;_0x4d3e3b['renameField'](_0x2d6190,_0x2b7a77);const _0x1ee2bd=_0x50736e['getPivotTableModelConfig'](_0x4998af,_0x392329,_0x1bc816);return _0x82c17(_0x1ee2bd,_0x521e37),_0x50736e[_0x5c2190(0x1b8)]({'unitId':_0x4998af,'subUnitId':_0x392329,'token':_0x1bc816,'type':_0x2c8cb5['Set']}),!0x0;}},_0x2b20a0={'type':_0x108556[_0x47b8d2(0x293)]['MUTATION'],'id':_0x47b8d2(0x2b3),'handler'(_0x162e51,_0x1ebe13){const _0x5ed965=_0x47b8d2;if(!_0x1ebe13)return!0x1;if(!!_0x162e51[_0x5ed965(0x26d)](_0x108556[_0x5ed965(0x1c3)])[_0x5ed965(0x1f4)](_0x5d78c9))return!0x0;const _0x7a7be9=_0x162e51[_0x5ed965(0x26d)](_0x118be4[_0x5ed965(0x3c8)]),{unitId:_0x1fb130,subUnitId:_0x1754db,pivotTableId:_0x2a4330,fieldId:_0x3cb08a,collapse:_0x39140c,item:_0x1aff9f}=_0x1ebe13,_0x5e32e8=_0x7a7be9[_0x5ed965(0x410)](_0x2a4330);if(!_0x5e32e8)return!0x1;_0x5e32e8[_0x5ed965(0x462)](_0x3cb08a,_0x39140c,_0x1aff9f);const _0x5eedcc=_0x7a7be9[_0x5ed965(0x3f2)](_0x1fb130,_0x1754db,_0x2a4330);return _0x25f01f(_0x5eedcc,_0x1ebe13),_0x7a7be9[_0x5ed965(0x1b8)]({'unitId':_0x1fb130,'subUnitId':_0x1754db,'token':_0x2a4330,'type':_0x2c8cb5['Set']}),!0x0;}},_0x5cf879={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':'sheet.mutation.set-pivot-format','handler'(_0x24824a,_0x421f14){const _0x1afb64=_0x47b8d2;if(!_0x421f14)return!0x1;if(!!_0x24824a[_0x1afb64(0x26d)](_0x108556[_0x1afb64(0x1c3)])[_0x1afb64(0x1f4)](_0x5d78c9))return!0x0;const _0x14a624=_0x24824a[_0x1afb64(0x26d)](_0x118be4[_0x1afb64(0x3c8)]),{unitId:_0x45901f,subUnitId:_0x463b2c,pivotTableId:_0x4fc54d,fieldId:_0x360e96,format:_0x2cadad}=_0x421f14,_0x38d3b4=_0x14a624[_0x1afb64(0x410)](_0x4fc54d);if(!_0x38d3b4)return!0x1;_0x38d3b4[_0x1afb64(0x31b)](_0x360e96,_0x2cadad);const _0x57f69b=_0x14a624[_0x1afb64(0x3f2)](_0x45901f,_0x463b2c,_0x4fc54d);return _0xc8a6a9(_0x57f69b,_0x421f14),_0x14a624[_0x1afb64(0x1b8)]({'unitId':_0x45901f,'subUnitId':_0x463b2c,'token':_0x4fc54d,'type':_0x2c8cb5[_0x1afb64(0x2d7)]}),!0x0;}},_0xe5ff29={'type':_0x108556[_0x47b8d2(0x293)]['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x138302,_0x1281ef){const _0x1c3f08=_0x47b8d2;if(!_0x1281ef)return!0x1;if(!!_0x138302[_0x1c3f08(0x26d)](_0x108556['IConfigService'])[_0x1c3f08(0x1f4)](_0x5d78c9))return!0x0;const _0x3d56a7=_0x138302[_0x1c3f08(0x26d)](_0x118be4['SheetsPivotDataSourceModel']),{unitId:_0x43ec96,subUnitId:_0x3cab3d,pivotTableId:_0x1b9df3,fieldId:_0x4a7941,filterInfo:_0x1b884f}=_0x1281ef,_0x184fff=_0x3d56a7[_0x1c3f08(0x410)](_0x1b9df3);if(!_0x184fff)return!0x1;_0x184fff[_0x1c3f08(0x441)](_0x4a7941,_0x1b884f);const _0x36d0ec=_0x3d56a7[_0x1c3f08(0x3f2)](_0x43ec96,_0x3cab3d,_0x1b9df3);return _0x458a6c(_0x36d0ec,_0x1281ef),_0x3d56a7[_0x1c3f08(0x1b8)]({'unitId':_0x43ec96,'subUnitId':_0x3cab3d,'token':_0x1b9df3,'type':_0x2c8cb5[_0x1c3f08(0x2d7)]}),!0x0;}},_0x388d0e={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x445),'handler'(_0x23a0c8,_0x588368){const _0x1ce080=_0x47b8d2;if(!_0x588368)return!0x1;if(!!_0x23a0c8[_0x1ce080(0x26d)](_0x108556[_0x1ce080(0x1c3)])[_0x1ce080(0x1f4)](_0x5d78c9))return!0x0;const _0x52bf93=_0x23a0c8['get'](_0x118be4['SheetsPivotDataSourceModel']),{unitId:_0x1216ff,subUnitId:_0x347c78,pivotTableId:_0x4e1b5a,options:_0x6aff66}=_0x588368,_0x5a6471=_0x52bf93['getPivotTableInstance'](_0x4e1b5a);if(!_0x5a6471)return!0x1;_0x5a6471[_0x1ce080(0x3bc)](_0x6aff66);const _0x2f683b=_0x52bf93['getPivotTableModelConfig'](_0x1216ff,_0x347c78,_0x4e1b5a);return _0x231178(_0x2f683b,_0x588368),_0x52bf93['addDirtyPivotTable']({'unitId':_0x1216ff,'subUnitId':_0x347c78,'token':_0x4e1b5a,'type':_0x2c8cb5[_0x1ce080(0x2d7)]}),!0x0;}},_0x3c6fc5={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x34d),'handler'(_0x10c93a,_0x44aa54){const _0x4c4dda=_0x47b8d2;if(!_0x44aa54)return!0x1;if(!!_0x10c93a[_0x4c4dda(0x26d)](_0x108556[_0x4c4dda(0x1c3)])[_0x4c4dda(0x1f4)](_0x5d78c9))return!0x0;const _0x309911=_0x10c93a[_0x4c4dda(0x26d)](_0x118be4['SheetsPivotDataSourceModel']),{unitId:_0x59b34e,subUnitId:_0x4583e2,pivotTableId:_0x490929,sortInfo:_0x2dfec6,fieldId:_0x32c1d2}=_0x44aa54,_0x2f5534=_0x309911[_0x4c4dda(0x410)](_0x490929);if(!_0x2f5534)return!0x1;_0x2f5534[_0x4c4dda(0x37e)](_0x32c1d2,_0x2dfec6);const _0x1378ce=_0x309911[_0x4c4dda(0x3f2)](_0x59b34e,_0x4583e2,_0x490929);return _0x483030(_0x1378ce,_0x44aa54),_0x309911[_0x4c4dda(0x1b8)]({'unitId':_0x59b34e,'subUnitId':_0x4583e2,'token':_0x490929,'type':_0x2c8cb5[_0x4c4dda(0x2d7)]}),!0x0;}},_0x5450e0={'type':_0x108556[_0x47b8d2(0x293)]['MUTATION'],'id':_0x47b8d2(0x2f9),'handler'(_0x248901,_0x210cd5){const _0x59f76d=_0x47b8d2;if(!_0x210cd5)return!0x1;if(!!_0x248901[_0x59f76d(0x26d)](_0x108556[_0x59f76d(0x1c3)])[_0x59f76d(0x1f4)](_0x5d78c9))return!0x0;const _0x4f6777=_0x248901[_0x59f76d(0x26d)](_0x118be4['SheetsPivotDataSourceModel']),{unitId:_0x5bd60b,subUnitId:_0x3c683e,pivotTableId:_0x10eaa5,fieldId:_0x443df6,subtotalType:_0x176ad0}=_0x210cd5,_0x20f8cd=_0x4f6777[_0x59f76d(0x410)](_0x10eaa5);if(!_0x20f8cd)return!0x1;_0x20f8cd[_0x59f76d(0x362)](_0x443df6,_0x176ad0);const _0x3f5538=_0x4f6777[_0x59f76d(0x3f2)](_0x5bd60b,_0x3c683e,_0x10eaa5);return _0x11dbd0(_0x3f5538,_0x210cd5),_0x4f6777[_0x59f76d(0x1b8)]({'unitId':_0x5bd60b,'subUnitId':_0x3c683e,'token':_0x10eaa5,'type':_0x2c8cb5[_0x59f76d(0x2d7)]}),!0x0;}},_0xad7ab5={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x3e5),'handler'(_0x2bf8ce,_0x25622e){const _0xfa6773=_0x47b8d2;if(!_0x25622e)return!0x1;if(!!_0x2bf8ce[_0xfa6773(0x26d)](_0x108556[_0xfa6773(0x1c3)])['getConfig'](_0x5d78c9))return!0x0;const _0x3feb71=_0x2bf8ce['get'](_0x118be4[_0xfa6773(0x3c8)]),{unitId:_0x229a4c,subUnitId:_0x332612,pivotTableId:_0x17708d,fieldId:_0x4501fe,filterInfo:_0x10bacf}=_0x25622e,_0x58cad0=_0x3feb71['getPivotTableInstance'](_0x17708d);if(!_0x58cad0)return!0x1;_0x58cad0['setValueFilterInfo'](_0x4501fe,_0x10bacf);const _0x2bdb51=_0x3feb71[_0xfa6773(0x3f2)](_0x229a4c,_0x332612,_0x17708d);return _0x4faecc(_0x2bdb51,_0x25622e),_0x3feb71[_0xfa6773(0x1b8)]({'unitId':_0x229a4c,'subUnitId':_0x332612,'token':_0x17708d,'type':_0x2c8cb5[_0xfa6773(0x2d7)]}),!0x0;}},_0xb1f0ee={'type':_0x108556['CommandType'][_0x47b8d2(0x368)],'id':_0x47b8d2(0x2d9),'handler'(_0x2f7cd3,_0x176f8b){const _0x229590=_0x47b8d2;if(!_0x176f8b)return!0x1;if(!!_0x2f7cd3[_0x229590(0x26d)](_0x108556[_0x229590(0x1c3)])[_0x229590(0x1f4)](_0x5d78c9))return!0x0;const _0x59cb6a=_0x2f7cd3[_0x229590(0x26d)](_0x118be4[_0x229590(0x3c8)]),{unitId:_0x3e645f,subUnitId:_0x4a95c4,pivotTableId:_0x2c3c6b,area:_0x49ade5,index:_0x2be124,fieldId:_0xe2d7d7}=_0x176f8b,_0x8c44cb=_0x59cb6a['getPivotTableInstance'](_0x2c3c6b);if(!_0x8c44cb)return!0x1;_0x8c44cb[_0x229590(0x25d)](_0xe2d7d7,_0x49ade5,_0x2be124);const _0x2ce2ff=_0x59cb6a['getPivotTableModelConfig'](_0x3e645f,_0x4a95c4,_0x2c3c6b);return _0x43af51(_0x2ce2ff,_0x176f8b),_0x59cb6a[_0x229590(0x1b8)]({'unitId':_0x3e645f,'subUnitId':_0x4a95c4,'token':_0x2c3c6b,'type':_0x2c8cb5[_0x229590(0x2d7)]}),!0x0;}},_0x4ab67e={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x283),'handler'(_0x55630c,_0x275072){const _0x1761fa=_0x47b8d2;if(!_0x275072)return!0x1;if(!!_0x55630c[_0x1761fa(0x26d)](_0x108556[_0x1761fa(0x1c3)])['getConfig'](_0x5d78c9))return!0x0;const _0x355a73=_0x55630c[_0x1761fa(0x26d)](_0x118be4[_0x1761fa(0x3c8)]),{unitId:_0x5dff32,subUnitId:_0x472412,pivotTableId:_0x4f3795,sourceName:_0x1bafdc,dataFieldId:_0x3e2f31,tableFieldId:_0x1788d4}=_0x275072,_0x2c454a=_0x355a73['getPivotTableInstance'](_0x4f3795);if(!_0x2c454a)return!0x1;_0x2c454a[_0x1761fa(0x1da)](_0x1788d4,_0x1bafdc,_0x3e2f31);const _0x576db1=_0x355a73['getPivotTableModelConfig'](_0x5dff32,_0x472412,_0x4f3795);return _0x5b4391(_0x576db1,_0x275072),_0x355a73[_0x1761fa(0x1b8)]({'unitId':_0x5dff32,'subUnitId':_0x472412,'token':_0x4f3795,'type':_0x2c8cb5[_0x1761fa(0x2d7)]}),!0x0;}},_0x48b0b8={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x2a3),'handler'(_0x405436,_0x122a3c){const _0x393586=_0x47b8d2;if(!_0x122a3c)return!0x1;if(!!_0x405436[_0x393586(0x26d)](_0x108556[_0x393586(0x1c3)])[_0x393586(0x1f4)](_0x5d78c9))return!0x0;const _0x1c7eb5=_0x405436['get'](_0x118be4['SheetsPivotDataSourceModel']),{unitId:_0xadc8eb,subUnitId:_0x1274b4,pivotTableId:_0xe63c85,valuePosition:_0x538460,index:_0x584cf3}=_0x122a3c,_0x133862=_0x1c7eb5[_0x393586(0x410)](_0xe63c85);if(!_0x133862)return!0x1;_0x133862['updateValuePosition'](_0x538460,_0x584cf3);const _0x54507d=_0x1c7eb5['getPivotTableModelConfig'](_0xadc8eb,_0x1274b4,_0xe63c85);return _0x2409ed(_0x54507d,_0x122a3c),_0x1c7eb5[_0x393586(0x1b8)]({'unitId':_0xadc8eb,'subUnitId':_0x1274b4,'token':_0xe63c85,'type':_0x2c8cb5['Set']}),!0x0;}};function _0x34aeb2(_0x5315e9,_0xa240b8,_0x36cf11){const _0xb20fea=_0x47b8d2,{pivotTableId:_0x267840,unitId:_0xfe4266,subUnitId:_0x191195}=_0xa240b8,_0x4001e7=[],_0x5cc82d=[];for(const _0x4b8c7c of _0x36cf11)switch(_0x4b8c7c[_0xb20fea(0x1df)]){case _0x2bd5b3['PivotTableChangeTypeEnum'][_0xb20fea(0x384)]:{const {fieldJson:_0x1d8c7b,area:_0x2559a1,index:_0x11c21b}=_0x4b8c7c,_0x56e219={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldJson':_0x1d8c7b,'area':_0x2559a1,'index':_0x11c21b},_0x25c35a={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x1d8c7b['id'],'area':_0x2559a1,'index':_0x11c21b};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x41d3be['id'],'params':_0x56e219}),_0x5cc82d[_0xb20fea(0x420)]({'id':_0x4e1b89['id'],'params':_0x25c35a});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x24b)]:{const {fieldId:_0xd8641,newSubtotalType:_0x5ddcdb,oldSubtotalType:_0x46b0a1}=_0x4b8c7c,_0x2933c0={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0xd8641,'subtotalType':_0x5ddcdb};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x5450e0['id'],'params':_0x2933c0});const _0x44c534={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0xd8641,'subtotalType':_0x46b0a1};_0x5cc82d[_0xb20fea(0x420)]({'id':_0x5450e0['id'],'params':_0x44c534});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x303)]:{const {fieldId:_0x5d662d,fieldJson:_0x19202a,area:_0x1a48ea,index:_0x4e5924}=_0x4b8c7c,_0x5eefc2={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x5d662d,'index':_0x4e5924,'area':_0x1a48ea};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x4e1b89['id'],'params':_0x5eefc2});const _0x393597={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldJson':_0x19202a,'area':_0x1a48ea,'index':_0x4e5924};_0x5cc82d[_0xb20fea(0x420)]({'id':_0x41d3be['id'],'params':_0x393597});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x1a2)]:{const {fieldId:_0x15bef4,oldName:_0x210240,newName:_0x1255a1}=_0x4b8c7c,_0x3351d5={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x15bef4,'name':_0x1255a1};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x406cb6['id'],'params':_0x3351d5});const _0x369d38={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x15bef4,'name':_0x210240};_0x5cc82d['unshift']({'id':_0x406cb6['id'],'params':_0x369d38});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x336)]:{const {fieldId:_0x433592,oldFilterInfo:_0x5a7da1,newFilterInfo:_0x2f5e2e}=_0x4b8c7c,_0x54c3f4={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x433592,'filterInfo':_0x2f5e2e};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0xe5ff29['id'],'params':_0x54c3f4});const _0x5d839f={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x433592,'filterInfo':_0x5a7da1};_0x5cc82d[_0xb20fea(0x420)]({'id':_0xe5ff29['id'],'params':_0x5d839f});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x323)]:{const {fieldId:_0x4ab18c,oldSortInfo:_0x489fa7,newSortInfo:_0x26b7fd}=_0x4b8c7c,_0x186b1a={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x4ab18c,'sortInfo':_0x26b7fd};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x3c6fc5['id'],'params':_0x186b1a});const _0x223141={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x4ab18c,'sortInfo':_0x489fa7};_0x5cc82d[_0xb20fea(0x420)]({'id':_0x3c6fc5['id'],'params':_0x223141});}break;case _0x2bd5b3[_0xb20fea(0x281)]['SetOptions']:{const {oldOptions:_0xc29698,newOptions:_0x529878}=_0x4b8c7c,_0x1680e8={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'options':_0x529878};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x388d0e['id'],'params':_0x1680e8});const _0xa85199={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'options':_0xc29698};_0x5cc82d[_0xb20fea(0x420)]({'id':_0x388d0e['id'],'params':_0xa85199});}break;case _0x2bd5b3[_0xb20fea(0x281)]['UpdateFieldPosition']:{const {oldArea:_0xd972fb,newArea:_0x5ac3e2,oldIndex:_0x5c6efb,newIndex:_0x2841df,fieldId:_0x4270bb}=_0x4b8c7c,_0x52f0f2={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x4270bb,'area':_0x5ac3e2,'index':_0x2841df,'oldArea':_0xd972fb,'oldIndex':_0x5c6efb};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0xb1f0ee['id'],'params':_0x52f0f2});const _0x150dae={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x4270bb,'area':_0xd972fb,'index':_0x5c6efb,'oldArea':_0x5ac3e2,'oldIndex':_0x2841df};_0x5cc82d[_0xb20fea(0x420)]({'id':_0xb1f0ee['id'],'params':_0x150dae});}break;case _0x2bd5b3['PivotTableChangeTypeEnum'][_0xb20fea(0x346)]:{const {oldValuePosition:_0x3a6553,newValuePosition:_0x2359be,oldIndex:_0x1092fb,newIndex:_0x5d2161}=_0x4b8c7c,_0x499bc5={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'valuePosition':_0x2359be,'index':_0x5d2161};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x48b0b8['id'],'params':_0x499bc5});const _0x17cdc9={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'valuePosition':_0x3a6553,'index':_0x1092fb};_0x5cc82d[_0xb20fea(0x420)]({'id':_0x48b0b8['id'],'params':_0x17cdc9});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x23e)]:{const {fieldId:_0x1192a2,collapse:_0x4ae101,item:_0x213986}=_0x4b8c7c,_0x568f97={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x1192a2,'collapse':_0x4ae101,'item':_0x213986};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x2b20a0['id'],'params':_0x568f97});const _0x44a1ff={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x1192a2,'collapse':!_0x4ae101,'item':_0x213986};_0x5cc82d[_0xb20fea(0x420)]({'id':_0x2b20a0['id'],'params':_0x44a1ff});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x1ba)]:{const {newFormat:_0x1c1dd1,oldFormat:_0x5c5136,fieldId:_0x40ecb}=_0x4b8c7c,_0x384cd3={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x40ecb,'format':_0x1c1dd1};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x5cf879['id'],'params':_0x384cd3});const _0x2235ef={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x40ecb,'format':_0x5c5136};_0x5cc82d['unshift']({'id':_0x5cf879['id'],'params':_0x2235ef});}break;case _0x2bd5b3['PivotTableChangeTypeEnum'][_0xb20fea(0x3c7)]:{const {tableFieldId:_0x585ef2,oldSourceName:_0xc6c213,newSourceName:_0x4f8607,oldDataFieldId:_0x2c5fbd,newDataFieldId:_0x199df6}=_0x4b8c7c,_0xe8e08e={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'tableFieldId':_0x585ef2,'sourceName':_0x4f8607,'dataFieldId':_0x199df6};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0x4ab67e['id'],'params':_0xe8e08e});const _0x4c35a9={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'tableFieldId':_0x585ef2,'sourceName':_0xc6c213,'dataFieldId':_0x2c5fbd};_0x5cc82d[_0xb20fea(0x420)]({'id':_0x4ab67e['id'],'params':_0x4c35a9});}break;case _0x2bd5b3[_0xb20fea(0x281)][_0xb20fea(0x353)]:{const {fieldId:_0x506851,filterInfo:_0x36e105,oldFilterInfo:_0x53ce3c}=_0x4b8c7c,_0x5f1dc4={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x506851,'filterInfo':_0x36e105};_0x4001e7[_0xb20fea(0x2aa)]({'id':_0xad7ab5['id'],'params':_0x5f1dc4});const _0x12c2c7={'unitId':_0xfe4266,'subUnitId':_0x191195,'pivotTableId':_0x267840,'fieldId':_0x506851,'filterInfo':_0x53ce3c};_0x5cc82d[_0xb20fea(0x420)]({'id':_0xad7ab5['id'],'params':_0x12c2c7});}}return{'redos':_0x4001e7,'undos':_0x5cc82d};}function _0x1e1d32(_0x39ca64,_0x9732a8){const _0x4484e2=_0x47b8d2;var _0x1e28ff;const _0x2022e5=_0x39ca64['get'](_0x118be4['SheetsPivotTableService']),{cellInfo:_0x5dff4f,view:_0x2e8282,isEmpty:_0x50f9f4}=_0x9732a8;return(_0x1e28ff=_0x2022e5[_0x4484e2(0x2e4)][_0x4484e2(0x2f4)](_0x4acca5)(_0x35686c,{'cellInfo':_0x5dff4f,'view':_0x2e8282,'isEmpty':_0x50f9f4}))!=null?_0x1e28ff:_0x35686c;}const _0x55876c={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x317),async 'handler'(_0x14f962,_0x477b7c){const _0x1d84f3=_0x47b8d2;if(!_0x477b7c)return!0x1;const _0x2be7f4=_0x14f962[_0x1d84f3(0x26d)](_0x108556['ICommandService']),_0x1657ad=_0x14f962[_0x1d84f3(0x26d)](_0x118be4[_0x1d84f3(0x37f)]),_0x50de88=_0x14f962[_0x1d84f3(0x26d)](_0x108556[_0x1d84f3(0x1a7)]),{pivotTableId:_0x2d1f1a,dataFieldId:_0x238edc,fieldArea:_0x518856,index:_0x5569b7,unitId:_0x862160,subUnitId:_0x3823d4}=_0x477b7c,_0x3d625d=(await _0x1657ad[_0x1d84f3(0x3d9)]({'unitId':_0x862160,'subUnitId':_0x3823d4,'pivotTableId':_0x2d1f1a,'params':{'type':_0x22171c[_0x1d84f3(0x215)],'addPivotField':{'dataFieldId':_0x238edc,'fieldArea':_0x518856,'index':_0x5569b7}}}))['result'][_0x1d84f3(0x466)];if(!_0x3d625d)return!0x1;const {view:_0x44cf8c,changesets:_0x1e1b9a,isEmpty:_0x586fdb,pivotTableConfig:_0x2dab18,shouldBeAddedGroupJSON:_0x3585bf}=_0x3d625d,_0x9934d2=_0x2dab18[_0x1d84f3(0x1bc)],_0x57f1e3=new _0x2bd5b3['PivotView']();_0x57f1e3[_0x1d84f3(0x20f)](_0x44cf8c);const _0x5e551b={'cellInfo':_0x9934d2,'view':_0x57f1e3,'isEmpty':_0x586fdb};if(!await _0x14f962[_0x1d84f3(0x26d)](_0x118be4[_0x1d84f3(0x3ba)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x3f49c1)(!0x0,_0x5e551b))return!0x1;const _0x5da678=_0x244713(_0x14f962,_0x57f1e3,_0x9934d2,_0x586fdb),_0x3c8d1c=_0x1e1d32(_0x14f962,_0x5e551b),{undos:_0x33ad39,redos:_0x5d536f}=_0x34aeb2(_0x2be7f4,{'pivotTableId':_0x2d1f1a,'unitId':_0x862160,'subUnitId':_0x3823d4},_0x1e1b9a);return _0x3585bf&&(_0x5d536f[_0x1d84f3(0x420)]({'id':_0x30035a['id'],'params':{'pivotTableId':_0x2d1f1a,'fieldJSON':_0x3585bf,'unitId':_0x862160,'subUnitId':_0x3823d4}}),_0x33ad39['push']({'id':_0x2d7a59['id'],'params':{'pivotTableId':_0x2d1f1a,'dataFieldId':_0x3585bf['id'],'unitId':_0x862160,'subUnitId':_0x3823d4}})),_0x108556[_0x1d84f3(0x276)]([..._0x5da678['redos'],..._0x3c8d1c[_0x1d84f3(0x1b3)],..._0x5d536f],_0x2be7f4),_0x50de88[_0x1d84f3(0x334)]({'unitID':_0x862160,'redoMutations':[..._0x5da678[_0x1d84f3(0x1b3)],..._0x3c8d1c[_0x1d84f3(0x1b3)],..._0x5d536f],'undoMutations':[..._0x5da678[_0x1d84f3(0x34f)],..._0x3c8d1c['undos'],..._0x33ad39]}),!0x0;}},_0x40c574=()=>typeof process<'u'&&process[_0x47b8d2(0x170)]!=null&&process[_0x47b8d2(0x170)][_0x47b8d2(0x475)]!=null,_0x132d3e={'type':_0x108556[_0x47b8d2(0x293)]['MUTATION'],'id':_0x47b8d2(0x35e),'handler'(_0x261c75,_0x22415c){const _0x557670=_0x47b8d2;var _0x47c4d9;if(!_0x22415c)return!0x1;const _0x3b45cf=_0x261c75[_0x557670(0x26d)](_0x108556[_0x557670(0x1c3)]);if(!!_0x3b45cf[_0x557670(0x1f4)](_0x5d78c9))return!0x0;const _0x2adac0=_0x261c75[_0x557670(0x26d)](_0x108556['IUniverInstanceService']),_0x2a80d1=_0x261c75[_0x557670(0x26d)](_0x118be4[_0x557670(0x3c8)]),{pivotTableId:_0x4d33e4,pivotTableConfig:_0x1273be,collectionConfig:_0x2a4dc4,unitId:_0x252e67,subUnitId:_0x179982}=_0x22415c,{sourceRangeInfo:_0x461b65,fieldsConfig:_0x5d7924,targetCellInfo:_0xc692e5}=_0x1273be,_0x207ebf=_0x2adac0[_0x557670(0x3f1)](_0x252e67);if(!_0x207ebf||!_0x207ebf[_0x557670(0x20a)](_0x179982))return!0x1;if(!_0x40c574()){let _0x8a239e=0x0;_0x207ebf[_0x557670(0x1bb)]()[_0x557670(0x464)](_0x36194c=>{const _0x560754=_0x557670;var _0x48ffd6,_0x220a3e;_0x8a239e+=(_0x220a3e=(_0x48ffd6=_0x2a80d1[_0x560754(0x385)](_0x252e67,_0x36194c[_0x560754(0x342)]()))==null?void 0x0:_0x48ffd6[_0x560754(0x192)])!=null?_0x220a3e:0x0;});const _0x373299=(_0x47c4d9=_0x3b45cf['getConfig'](_0x3e2f02[_0x557670(0x16f)]))!=null?_0x47c4d9:{},{ls:_0x1b8838,pbk:_0x19d3fc}=_0x373299;if(!_0x55adce(_0x1b8838,_0x19d3fc))throw new _0x108556[(_0x557670(0x1ed))](_0x557670(0x1e5));const _0x299f9b=_0x3725c2(_0x25d9b6,_0x1b8838,_0x19d3fc)['count'];if(_0x8a239e>=_0x299f9b)throw new _0x108556[(_0x557670(0x1ed))]('limit\x20pivot');}if(!_0x2a4dc4||!_0x5d7924)return!0x1;const {collection:_0x354955,updateDataFieldList:_0x4c3db1}=_0x2a80d1[_0x557670(0x243)](_0x4d33e4,_0x2a4dc4,_0x461b65,_0xc692e5);_0x2a80d1['refreshData'](_0x354955,_0x4c3db1,_0x461b65);const _0x59dbfb=new _0x2bd5b3[(_0x557670(0x181))](_0x354955,void 0x0,_0x4d33e4);_0x59dbfb[_0x557670(0x37b)](_0x5d7924);const _0x52a2e5=JSON[_0x557670(0x2d2)](JSON[_0x557670(0x444)](_0x1273be));return _0x2a80d1[_0x557670(0x44b)](_0x252e67,_0x179982,_0x4d33e4,_0x59dbfb,_0x52a2e5),_0x2a80d1[_0x557670(0x1b8)]({'unitId':_0x252e67,'subUnitId':_0x179982,'token':_0x4d33e4,'type':_0x2c8cb5['Add'],'pivotConfig':_0x52a2e5}),!0x0;}},_0x3cd8f2={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x2f1),async 'handler'(_0x4b6a5e,_0x54661e){const _0x10bcc8=_0x47b8d2;if(!_0x54661e)return!0x1;const {sourceDataInfo:_0x5700a1,pivotTableConfig:_0x3a2283}=_0x54661e;if(!_0x5700a1||!_0x3a2283)return!0x1;const {unitId:_0x73bc78,subUnitId:_0x58aab5,range:_0x307165}=_0x5700a1,_0x239e99=_0x4b6a5e[_0x10bcc8(0x26d)](_0x108556[_0x10bcc8(0x371)]),_0x4406eb=_0x4b6a5e[_0x10bcc8(0x26d)](_0x118be4[_0x10bcc8(0x37f)]),_0x2ab92a=_0x4b6a5e['get'](_0x108556['LocaleService']),_0x343a51=_0x4b6a5e[_0x10bcc8(0x26d)](_0x108556[_0x10bcc8(0x2cf)]),_0x27ce3b=_0x239e99['getUnit'](_0x73bc78);if(!_0x27ce3b)return!0x1;const _0x558ed1=_0x27ce3b[_0x10bcc8(0x20a)](_0x58aab5);if(!_0x558ed1)return!0x1;const _0x194d48=_0x2bd5b3[_0x10bcc8(0x1aa)](0x8),_0x2a6dd9=_0x307165||{'startRow':0x0,'startColumn':0x0,'endRow':_0x558ed1[_0x10bcc8(0x287)]()-0x1,'endColumn':_0x558ed1['getColumnCount']()-0x1};_0x2a6dd9[_0x10bcc8(0x29e)]=_0x108556[_0x10bcc8(0x39d)][_0x10bcc8(0x19e)];const _0xae9e4=(await _0x4406eb[_0x10bcc8(0x3d9)]({'unitId':_0x73bc78,'subUnitId':_0x58aab5,'pivotTableId':_0x194d48,'params':{'type':_0x22171c[_0x10bcc8(0x1f2)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x73bc78,'sheetName':_0x558ed1[_0x10bcc8(0x348)](),'subUnitId':_0x58aab5,'range':_0x2a6dd9},'pivotTableId':_0x194d48,'pivotTableIndexConfig':_0x3a2283}}}))[_0x10bcc8(0x25b)][_0x10bcc8(0x354)];if(!_0xae9e4)return!0x1;const {isEmpty:_0x3b389a,fieldsConfig:_0x52b8ca,collectionConfig:_0x5141ea,changesets:_0x23c183}=_0xae9e4,_0x18afa2=_0x27ce3b[_0x10bcc8(0x1bb)]()[_0x10bcc8(0x472)],_0x1fa54d=_0x108556[_0x10bcc8(0x34a)]({'rowCount':_0x558ed1['getRowCount']()-0x1,'columnCount':_0x558ed1['getColumnCount']()-0x1});_0x1fa54d['id']=_0x108556[_0x10bcc8(0x1dd)](),_0x1fa54d[_0x10bcc8(0x461)]=_0x27ce3b[_0x10bcc8(0x162)](''+_0x2ab92a['t'](_0x10bcc8(0x1d1)));const _0x2a67e9={'index':_0x18afa2,'sheet':_0x1fa54d,'unitId':_0x73bc78},{redos:_0x381220}=_0x34aeb2(_0x343a51,{'pivotTableId':_0x194d48,'unitId':_0x73bc78,'subUnitId':_0x1fa54d['id']},_0x23c183),_0x3654f2=[{'id':_0x3c8849['InsertSheetCommand']['id'],'params':_0x2a67e9},{'id':_0x132d3e['id'],'params':{'unitId':_0x73bc78,'subUnitId':_0x1fa54d['id'],'pivotTableId':_0x194d48,'pivotTableConfig':{'isEmpty':_0x3b389a,'fieldsConfig':_0x52b8ca,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x73bc78,'subUnitId':_0x1fa54d['id']},'sourceRangeInfo':{'subUnitId':_0x58aab5,'unitId':_0x73bc78,'range':_0x2a6dd9,'sheetName':_0x558ed1['getName']()}},'collectionConfig':_0x5141ea}},..._0x381220];return _0x108556['sequenceExecute'](_0x3654f2,_0x343a51),!0x0;}},_0x232b32={'type':_0x108556['CommandType'][_0x47b8d2(0x368)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x3a36a1,_0xf3c1ce){const _0x548c3e=_0x47b8d2;if(!_0xf3c1ce)return!0x1;if(!!_0x3a36a1[_0x548c3e(0x26d)](_0x108556[_0x548c3e(0x1c3)])[_0x548c3e(0x1f4)](_0x5d78c9))return!0x0;const {pivotTableId:_0xbf9c19,unitId:_0x389dfd,subUnitId:_0xd841e5}=_0xf3c1ce,_0x5bdcff=_0x3a36a1[_0x548c3e(0x26d)](_0x118be4[_0x548c3e(0x3c8)]);return _0x5bdcff['getPivotTableConfig'](_0x389dfd,_0xd841e5,_0xbf9c19)?(_0x5bdcff[_0x548c3e(0x1b8)]({'unitId':_0x389dfd,'subUnitId':_0xd841e5,'token':_0xbf9c19,'type':_0x2c8cb5[_0x548c3e(0x3b3)]}),_0x5bdcff[_0x548c3e(0x399)](_0x389dfd,_0xd841e5,_0xbf9c19),!0x0):!0x1;}},_0x37d500={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x479),async 'handler'(_0x1f351b,_0x1789f0){const _0x6c6bef=_0x47b8d2;var _0x3b86bf,_0x4d593e;const _0x406761=_0x1f351b[_0x6c6bef(0x26d)](_0x108556[_0x6c6bef(0x2cf)]),_0x40071d=_0x1f351b[_0x6c6bef(0x26d)](_0x108556['IUniverInstanceService']),_0x43d583=_0x1f351b[_0x6c6bef(0x26d)](_0x108556[_0x6c6bef(0x1a5)]),_0x5a68f3=_0x1f351b['get'](_0x118be4[_0x6c6bef(0x37f)]),_0x44cd8d=_0x1f351b[_0x6c6bef(0x26d)](_0x108556[_0x6c6bef(0x1a7)]),_0x2de2d1=_0x1f351b[_0x6c6bef(0x26d)](_0x118be4[_0x6c6bef(0x350)]),_0x3be76b=_0x1f351b['get'](_0x108556[_0x6c6bef(0x1c3)]);if(!_0x1789f0)return!0x1;const {pivotTableConfig:_0x22af9b,positionType:_0x1496f5}=_0x1789f0,{targetCellInfo:_0x49e830,sourceRangeInfo:_0x3d5ac3}=_0x22af9b,{unitId:_0x4342fb,subUnitId:_0x166938}=_0x49e830,_0x3e3c77=_0x40071d[_0x6c6bef(0x3f1)](_0x4342fb);if(!_0x3e3c77)return!0x1;let _0x38fc93=0x0;_0x3e3c77[_0x6c6bef(0x1bb)]()['forEach'](_0x15583b=>{const _0x44d769=_0x6c6bef;var _0x4cdc5e,_0x45c56e;_0x38fc93+=(_0x45c56e=(_0x4cdc5e=_0x2de2d1[_0x44d769(0x385)](_0x4342fb,_0x15583b[_0x44d769(0x342)]()))==null?void 0x0:_0x4cdc5e['size'])!=null?_0x45c56e:0x0;});const _0xe83ce5=(_0x3b86bf=_0x3be76b[_0x6c6bef(0x1f4)](_0x3e2f02[_0x6c6bef(0x16f)]))!=null?_0x3b86bf:{},{ls:_0x27a790,pbk:_0x4e20ef}=_0xe83ce5;if(!_0x55adce(_0x27a790,_0x4e20ef))return!0x1;const _0x262ed7=_0x3725c2(_0x25d9b6,_0x27a790,_0x4e20ef)[_0x6c6bef(0x30b)];if(_0x38fc93>=_0x262ed7)return!0x1;const _0x428df0=_0x1789f0[_0x6c6bef(0x45d)]||_0x2bd5b3[_0x6c6bef(0x1aa)](0x8),_0x3bdeac=(await _0x5a68f3[_0x6c6bef(0x3d9)]({'unitId':_0x4342fb,'subUnitId':_0x166938,'pivotTableId':_0x428df0,'params':{'type':_0x22171c[_0x6c6bef(0x205)],'addPivotTable':{'sourceRangeInfo':_0x3d5ac3,'pivotTableId':_0x428df0}}}))[_0x6c6bef(0x25b)][_0x6c6bef(0x44b)];if(!_0x3bdeac)return!0x1;const {view:_0x53d318,isEmpty:_0x119d42,fieldsConfig:_0x5ab082,collectionConfig:_0x45911e}=_0x3bdeac,_0xc3c18=[],_0x15e50f=[];if(_0x1496f5===_0x1d84fc['New']){const _0x38a2f7=_0x3e3c77[_0x6c6bef(0x1bb)]()[_0x6c6bef(0x472)],_0x1d0ecf=_0x108556[_0x6c6bef(0x34a)]({});_0x1d0ecf['id']=_0x22af9b[_0x6c6bef(0x1bc)]['subUnitId'],_0x1d0ecf['name']=(_0x4d593e=_0x22af9b[_0x6c6bef(0x1bc)][_0x6c6bef(0x31a)])!=null?_0x4d593e:_0x3e3c77[_0x6c6bef(0x162)](''+_0x43d583['t'](_0x6c6bef(0x1d1)));const _0x43fdb6={'index':_0x38a2f7,'sheet':_0x1d0ecf,'unitId':_0x4342fb},_0x414a87=_0x3c8849[_0x6c6bef(0x3ee)](_0x1f351b,_0x43fdb6);_0xc3c18[_0x6c6bef(0x2aa)]({'id':_0x3c8849[_0x6c6bef(0x165)]['id'],'params':_0x414a87}),_0x15e50f[_0x6c6bef(0x2aa)]({'id':_0x3c8849[_0x6c6bef(0x23d)]['id'],'params':_0x43fdb6});}else{if(!_0x3e3c77[_0x6c6bef(0x20a)](_0x166938))return!0x1;const _0x2ffdd7=_0x244713(_0x1f351b,new _0x2bd5b3[(_0x6c6bef(0x3cf))](),_0x49e830,!0x0);_0x15e50f[_0x6c6bef(0x2aa)](..._0x2ffdd7[_0x6c6bef(0x1b3)]),_0xc3c18[_0x6c6bef(0x2aa)](..._0x2ffdd7[_0x6c6bef(0x34f)]);const _0x5803e1={'cellInfo':_0x49e830,'view':_0x53d318,'isEmpty':_0x119d42};if(!await _0x1f351b['get'](_0x118be4[_0x6c6bef(0x3ba)])[_0x6c6bef(0x1ef)][_0x6c6bef(0x1b7)](_0x3f49c1)(!0x0,_0x5803e1))return!0x1;const _0x476912=_0x1e1d32(_0x1f351b,_0x5803e1);_0x15e50f[_0x6c6bef(0x2aa)](..._0x476912['redos']),_0xc3c18[_0x6c6bef(0x2aa)](..._0x476912[_0x6c6bef(0x34f)]);}return _0x15e50f[_0x6c6bef(0x2aa)]({'id':_0x132d3e['id'],'params':{'unitId':_0x49e830[_0x6c6bef(0x3a4)],'subUnitId':_0x49e830[_0x6c6bef(0x33c)],'pivotTableId':_0x428df0,'pivotTableConfig':{'targetCellInfo':_0x49e830,'sourceRangeInfo':_0x3d5ac3,'fieldsConfig':_0x5ab082},'collectionConfig':_0x45911e}}),_0xc3c18[_0x6c6bef(0x420)]({'id':_0x232b32['id'],'params':{'unitId':_0x4342fb,'subUnitId':_0x166938,'pivotTableId':_0x428df0}}),_0x108556[_0x6c6bef(0x276)](_0x15e50f,_0x406761)&&_0x44cd8d[_0x6c6bef(0x334)]({'unitID':_0x4342fb,'undoMutations':_0xc3c18,'redoMutations':_0x15e50f}),!0x0;}},_0x4095d8={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x5122bc,_0x439e16){const _0x2e929a=_0x47b8d2;if(!_0x439e16)return!0x1;const _0xc1674a=_0x5122bc[_0x2e929a(0x26d)](_0x108556[_0x2e929a(0x2cf)]),_0x4c805c=_0x5122bc[_0x2e929a(0x26d)](_0x118be4[_0x2e929a(0x37f)]),_0x3b788c=_0x5122bc['get'](_0x108556[_0x2e929a(0x1a7)]),{pivotTableId:_0x4f2f98,fieldId:_0x16a781,area:_0x46602a,index:_0x2c5de4,unitId:_0x9d4e8e,subUnitId:_0x3b9f94}=_0x439e16,_0x3464f8=(await _0x4c805c['getPivotDisplayConfig']({'unitId':_0x9d4e8e,'subUnitId':_0x3b9f94,'pivotTableId':_0x4f2f98,'params':{'type':_0x22171c[_0x2e929a(0x2a2)],'movePivotField':{'fieldId':_0x16a781,'area':_0x46602a,'index':_0x2c5de4}}}))[_0x2e929a(0x25b)][_0x2e929a(0x2bd)];if(!_0x3464f8)return!0x1;const {changesets:_0x40c598,view:_0x2e13e7,isEmpty:_0x59f9c2,pivotTableConfig:_0x5a08ce}=_0x3464f8,_0x3f135c=_0x5a08ce['targetCellInfo'],_0x4af663=new _0x2bd5b3['PivotView']();_0x4af663[_0x2e929a(0x20f)](_0x2e13e7);const _0x373c1b={'cellInfo':_0x3f135c,'view':_0x4af663,'isEmpty':_0x59f9c2};if(!await _0x5122bc[_0x2e929a(0x26d)](_0x118be4[_0x2e929a(0x3ba)])[_0x2e929a(0x1ef)][_0x2e929a(0x1b7)](_0x3f49c1)(!0x0,_0x373c1b))return!0x1;const _0xd3d465=_0x244713(_0x5122bc,_0x4af663,_0x3f135c,_0x59f9c2),_0x33ba7f=_0x1e1d32(_0x5122bc,_0x373c1b),{redos:_0x4d4f50,undos:_0xf6c9c0}=_0x34aeb2(_0xc1674a,{'pivotTableId':_0x4f2f98,'unitId':_0x9d4e8e,'subUnitId':_0x3b9f94},_0x40c598);return _0x108556[_0x2e929a(0x276)]([..._0xd3d465[_0x2e929a(0x1b3)],..._0x33ba7f['redos'],..._0x4d4f50],_0xc1674a),_0x3b788c[_0x2e929a(0x334)]({'unitID':_0x9d4e8e,'redoMutations':[..._0xd3d465['redos'],..._0x33ba7f[_0x2e929a(0x1b3)],..._0x4d4f50],'undoMutations':[..._0xd3d465[_0x2e929a(0x34f)],..._0x33ba7f[_0x2e929a(0x34f)],..._0xf6c9c0]}),!0x0;}},_0x50041f={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':'sheet.mutation.set-pivot-position','handler'(_0x543229,_0x191eb8){const _0x3d0260=_0x47b8d2;if(!_0x191eb8)return!0x1;if(!!_0x543229['get'](_0x108556[_0x3d0260(0x1c3)])[_0x3d0260(0x1f4)](_0x5d78c9))return!0x0;const {pivotTableId:_0x7617e5,targetCellPosition:_0x51ef92,unitId:_0xd914d3,subUnitId:_0x513bb0}=_0x191eb8,_0x278b8d=_0x543229[_0x3d0260(0x26d)](_0x118be4[_0x3d0260(0x3c8)]);if(!_0x278b8d[_0x3d0260(0x410)](_0x191eb8[_0x3d0260(0x45d)]))return!0x1;const _0x2187b0=_0x278b8d[_0x3d0260(0x222)](_0x7617e5);if(!_0x2187b0)return!0x1;const _0x84b22=_0x278b8d[_0x3d0260(0x3a1)](_0x2187b0[_0x3d0260(0x3a4)],_0x191eb8[_0x3d0260(0x45d)]);if(!_0x84b22)return!0x1;const _0x546861=_0x278b8d['getPivotTableConfig'](_0x2187b0['unitId'],_0x2187b0[_0x3d0260(0x33c)],_0x7617e5);if(!_0x546861)return!0x1;const _0x206bcc=_0x108556[_0x3d0260(0x219)]['deepClone'](_0x546861);_0x206bcc[_0x3d0260(0x1bc)]={'unitId':_0xd914d3,'subUnitId':_0x513bb0,'row':_0x51ef92[_0x3d0260(0x296)],'col':_0x51ef92['col']};const _0x2b13ea=_0x84b22[_0x3d0260(0x302)]();if(_0x2187b0[_0x3d0260(0x33c)]===_0x513bb0&&_0x2187b0[_0x3d0260(0x3a4)]===_0xd914d3)_0x278b8d[_0x3d0260(0x3db)](_0xd914d3,_0x513bb0,_0x7617e5,_0x206bcc),_0x278b8d[_0x3d0260(0x1b8)]({'unitId':_0xd914d3,'subUnitId':_0x513bb0,'token':_0x7617e5,'type':_0x2c8cb5[_0x3d0260(0x2d7)]});else{_0x278b8d['addDirtyPivotTable']({'unitId':_0x2187b0[_0x3d0260(0x3a4)],'subUnitId':_0x2187b0[_0x3d0260(0x33c)],'token':_0x7617e5,'type':_0x2c8cb5[_0x3d0260(0x3b3)]}),_0x278b8d['removePivotTable'](_0x2187b0['unitId'],_0x2187b0[_0x3d0260(0x33c)],_0x7617e5);const _0x2ddca4=_0x278b8d[_0x3d0260(0x243)](_0x7617e5,_0x2b13ea,_0x546861[_0x3d0260(0x249)],_0x206bcc[_0x3d0260(0x1bc)]),_0x52026e=new _0x2bd5b3[(_0x3d0260(0x181))](_0x2ddca4[_0x3d0260(0x220)],void 0x0,_0x7617e5);_0x52026e[_0x3d0260(0x37b)](_0x206bcc[_0x3d0260(0x347)]),_0x278b8d[_0x3d0260(0x44b)](_0xd914d3,_0x513bb0,_0x7617e5,_0x52026e,_0x206bcc),_0x278b8d['addDirtyPivotTable']({'unitId':_0xd914d3,'subUnitId':_0x513bb0,'token':_0x7617e5,'type':_0x2c8cb5[_0x3d0260(0x311)],'pivotConfig':_0x206bcc});}return!0x0;}},_0x5d8103={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x1db),'handler':(_0x5ea8c4,_0x15dd4b)=>{const _0x501ae9=_0x47b8d2,_0x3cd43b=_0x5ea8c4['get'](_0x108556['ICommandService']),_0x5bde10=_0x5ea8c4[_0x501ae9(0x26d)](_0x108556[_0x501ae9(0x1a7)]),_0x413885=_0x5ea8c4[_0x501ae9(0x26d)](_0x118be4[_0x501ae9(0x350)]),_0x36ea70=_0x5ea8c4['get'](_0x108556[_0x501ae9(0x371)]);if(!_0x15dd4b)return!0x1;const _0x1973b5=_0x3c8849[_0x501ae9(0x374)](_0x36ea70);if(!_0x1973b5)return!0x1;const {unitId:_0x41a0bf,subUnitId:_0x27e2c2,workbook:_0x101908}=_0x1973b5,_0x30df1d=_0x413885[_0x501ae9(0x294)](_0x15dd4b[_0x501ae9(0x1cc)]['unitId'],_0x15dd4b[_0x501ae9(0x1cc)][_0x501ae9(0x33c)],_0x15dd4b[_0x501ae9(0x45d)]);if(!_0x30df1d)return!0x1;const _0x54f1f6=_0x101908[_0x501ae9(0x20a)](_0x15dd4b[_0x501ae9(0x1bc)][_0x501ae9(0x33c)]);if(!_0x54f1f6)throw new Error(_0x501ae9(0x366));const _0x1c8ff1=_0x54f1f6[_0x501ae9(0x287)](),_0x1b2c81=_0x54f1f6[_0x501ae9(0x406)]();if(_0x15dd4b[_0x501ae9(0x1bc)]['row']>_0x1c8ff1||_0x15dd4b[_0x501ae9(0x1bc)]['col']>_0x1b2c81)throw new Error(_0x501ae9(0x164));const _0x34829b=[{'id':_0x50041f['id'],'params':{'unitId':_0x41a0bf,'subUnitId':_0x15dd4b['targetCellInfo'][_0x501ae9(0x33c)],'pivotTableId':_0x15dd4b[_0x501ae9(0x45d)],'targetCellPosition':{'row':_0x15dd4b['targetCellInfo'][_0x501ae9(0x296)],'col':_0x15dd4b[_0x501ae9(0x1bc)][_0x501ae9(0x319)]}}}],_0xe9f88d=[{'id':_0x50041f['id'],'params':{'unitId':_0x41a0bf,'subUnitId':_0x27e2c2,'pivotTableId':_0x15dd4b[_0x501ae9(0x45d)],'targetCellPosition':{'row':_0x30df1d['targetCellInfo'][_0x501ae9(0x296)],'col':_0x30df1d[_0x501ae9(0x1bc)][_0x501ae9(0x319)]}}}];return _0x108556['sequenceExecute'](_0x34829b,_0x3cd43b)&&_0x5bde10[_0x501ae9(0x334)]({'unitID':_0x41a0bf,'undoMutations':_0xe9f88d,'redoMutations':_0x34829b}),!0x0;}},_0x367b44={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x357),async 'handler'(_0x1cc468,_0x50f1c5){const _0x130087=_0x47b8d2;var _0x3221cb;if(!_0x50f1c5)return!0x1;const _0x16da0b=_0x1cc468['get'](_0x108556[_0x130087(0x371)]),_0x45ade7=_0x3c8849[_0x130087(0x374)](_0x16da0b);if(!_0x45ade7)return!0x1;const {unitId:_0x2119f6,subUnitId:_0x27f9f8,workbook:_0x2a687a}=_0x45ade7,{row:_0x426d3e,col:_0x437077}=_0x50f1c5,_0x3c17af=_0x1cc468[_0x130087(0x26d)](_0x118be4[_0x130087(0x1a4)]),_0x772213=_0x3c17af[_0x130087(0x30f)](_0x2119f6,_0x27f9f8,_0x426d3e,_0x437077);if(!_0x772213)return!0x1;const _0x180029=(_0x3221cb=_0x3c17af[_0x130087(0x455)](_0x2119f6,_0x27f9f8,_0x772213))==null?void 0x0:_0x3221cb[_0x130087(0x43e)];if(!_0x180029)return!0x1;const _0x3ab542=_0x1cc468[_0x130087(0x26d)](_0x118be4[_0x130087(0x350)])[_0x130087(0x294)](_0x2119f6,_0x27f9f8,_0x772213);if(!_0x3ab542)return!0x1;const {rowInfo:_0x5ea4ac,colInfo:_0xebc5f}=_0x180029,_0x4957db=_0x5ea4ac[_0x426d3e]['paths'],_0x3ec65e=_0xebc5f[_0x437077][_0x130087(0x365)],_0x5b1c35=_0x5ea4ac[_0x426d3e][_0x130087(0x202)],_0x22a16f=_0xebc5f[_0x437077][_0x130087(0x202)],_0x580aea=_0x4957db[_0x130087(0x17e)](_0x3ec65e),_0x4f8efd=_0x3ab542[_0x130087(0x347)][_0x130087(0x3be)][_0x130087(0x44e)](0x0,_0x5b1c35),_0x120d96=_0x3ab542[_0x130087(0x347)][_0x130087(0x2a5)][_0x130087(0x44e)](0x0,_0x22a16f),_0x2e71f9=_0x4f8efd['concat'](_0x120d96),_0x289895=_0x580aea[_0x130087(0x31d)]((_0x2b8132,_0x32dddb)=>[_0x2b8132,_0x2e71f9[_0x32dddb]]),_0x15dfe1=(await _0x1cc468[_0x130087(0x26d)](_0x118be4[_0x130087(0x37f)])[_0x130087(0x3d9)]({'unitId':_0x2119f6,'subUnitId':_0x27f9f8,'pivotTableId':_0x772213,'params':{'type':_0x22171c[_0x130087(0x3eb)],'drillDown':{'tuple':_0x289895}}}))[_0x130087(0x25b)][_0x130087(0x3fc)];if(!_0x15dfe1)return!0x1;const {indexes:_0x3bd539,range:_0x5b0d6b,sourceUnitId:_0x2b98a5,sourceSubUnitId:_0x21b803,formatMap:_0x15a659}=_0x15dfe1,{startRow:_0x302375,endRow:_0x152a84,startColumn:_0x1f1c66,endColumn:_0x1c625f}=_0x5b0d6b,_0x3c4736=new _0x108556[(_0x130087(0x161))](),_0x2b3f18=_0x152a84-_0x302375,_0x10dba9=_0x1c625f-_0x1f1c66,_0x551edc={},_0x3ab4b7=_0x3c8849[_0x130087(0x374)](_0x16da0b,{'unitId':_0x2b98a5,'subUnitId':_0x21b803});if(!_0x3ab4b7)return!0x1;const _0x38af8d=_0x7fce34['colStyle'],_0x5f2429=_0x7fce34['subTotalStyle'],_0x4ac131=_0x7fce34[_0x130087(0x233)],_0x317fd7=_0x2a687a[_0x130087(0x24e)]()[_0x130087(0x15d)](_0x38af8d),_0x3b3c21=_0x2a687a['getStyles']()[_0x130087(0x15d)](_0x5f2429),_0xacc90b=_0x2a687a[_0x130087(0x24e)]()[_0x130087(0x15d)](_0x4ac131),{worksheet:_0x533057}=_0x3ab4b7;let _0x51be9d=0x0;const _0xa3b7df=0x1;_0x3bd539[_0x130087(0x464)](_0x4240e6=>{const _0x452e6b=_0x130087;for(let _0x58a105=0x0;_0x58a105<=_0x1c625f-_0x1f1c66;_0x58a105++)_0x3c4736['setValue'](_0x51be9d,_0x58a105,_0x533057[_0x452e6b(0x383)](_0x4240e6+_0x5b0d6b[_0x452e6b(0x33f)]+_0xa3b7df,_0x58a105));_0x51be9d++;});for(let _0x28536f=_0x1f1c66;_0x28536f<=_0x1c625f;_0x28536f++){const _0x36c565=_0x533057['getCellRaw'](_0x302375,_0x28536f);_0x551edc[_0x302375]||(_0x551edc[_0x302375]={}),_0x551edc[_0x302375][_0x28536f]={..._0x36c565,'s':_0x317fd7};}let _0x1e6008=0x1;const _0x3a99aa={},_0x39c4e5={};_0x3c4736[_0x130087(0x19a)]((_0x54e773,_0x2edaaf)=>{const _0x4f11b3=_0x130087;_0x2edaaf[_0x4f11b3(0x464)](_0x48ad2d=>{const _0x4223fb=_0x4f11b3,_0x435e10=_0x3c4736[_0x4223fb(0x1af)](_0x54e773,_0x48ad2d);if(_0x551edc[_0x1e6008]||(_0x551edc[_0x1e6008]={}),_0x551edc[_0x1e6008][_0x48ad2d]={..._0x435e10,'s':_0x1e6008%0x2===0x0?_0xacc90b:_0x3b3c21},_0x15a659[_0x48ad2d]&&_0x54e773>=0x0){const _0x275306=_0x1e6008%0x2===0x0;let _0x4ac3e9=_0x275306?_0x39c4e5[_0x48ad2d]:_0x3a99aa[_0x48ad2d];_0x4ac3e9||(_0x4ac3e9=_0x2a687a['getStyles']()[_0x4223fb(0x15d)]({..._0x275306?_0x4ac131:_0x5f2429,'n':{'pattern':_0x15a659[_0x48ad2d]}}),_0x275306?_0x39c4e5[_0x48ad2d]=_0x4ac3e9:_0x3a99aa[_0x48ad2d]=_0x4ac3e9),_0x551edc[_0x1e6008][_0x48ad2d]['s']=_0x4ac3e9;}}),_0x1e6008++;});const _0x38b163=new _0x108556[(_0x130087(0x161))](_0x551edc),_0x35322f={};_0x38b163[_0x130087(0x3e4)]((_0x51f822,_0x23f657,_0x5b272d)=>{_0x35322f[_0x51f822]||(_0x35322f[_0x51f822]={}),_0x35322f[_0x51f822][_0x23f657]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x47a5ba=[],_0x798d26=[],_0x35de1c=_0x2a687a[_0x130087(0x1bb)]()[_0x130087(0x472)],_0x45e2ba=_0x108556[_0x130087(0x34a)]({'rowCount':Math[_0x130087(0x43a)](_0x108556[_0x130087(0x324)],_0x2b3f18+0xa),'columnCount':Math[_0x130087(0x43a)](_0x108556[_0x130087(0x3e0)],_0x10dba9+0x5)}),_0x28603b=_0x1cc468[_0x130087(0x26d)](_0x108556[_0x130087(0x1a5)]);_0x45e2ba['id']=_0x108556[_0x130087(0x1dd)](),_0x45e2ba['name']=_0x2a687a[_0x130087(0x162)](''+_0x28603b['t'](_0x130087(0x1d1)));const _0x5cb299={'index':_0x35de1c,'sheet':_0x45e2ba,'unitId':_0x2119f6},_0x4b08a5=_0x3c8849['InsertSheetUndoMutationFactory'](_0x1cc468,_0x5cb299);_0x798d26['push']({'id':_0x3c8849[_0x130087(0x23d)]['id'],'params':_0x5cb299}),_0x47a5ba[_0x130087(0x2aa)]({'id':_0x3c8849[_0x130087(0x165)]['id'],'params':_0x4b08a5}),_0x798d26['push']({'id':_0x3c8849[_0x130087(0x3ea)]['id'],'params':{'unitId':_0x2119f6,'subUnitId':_0x45e2ba['id'],'cellValue':_0x551edc}}),_0x47a5ba[_0x130087(0x420)]({'id':_0x3c8849[_0x130087(0x3ea)]['id'],'params':{'unitId':_0x2119f6,'subUnitId':_0x45e2ba['id'],'cellValue':_0x35322f}});const _0xd63e5a={'startRow':0x0,'startColumn':0x0,'endRow':_0x1e6008-0x1,'endColumn':_0x1c625f};_0x798d26['push']({'id':_0x467515[_0x130087(0x3c3)]['id'],'params':{'unitId':_0x2119f6,'subUnitId':_0x45e2ba['id'],'range':_0xd63e5a}}),_0x47a5ba[_0x130087(0x420)]({'id':_0x467515[_0x130087(0x382)]['id'],'params':{'unitId':_0x2119f6,'subUnitId':_0x45e2ba['id']}});const _0x4a6314=_0x1cc468[_0x130087(0x26d)](_0x108556[_0x130087(0x2cf)]);return _0x108556[_0x130087(0x276)](_0x798d26,_0x4a6314)&&_0x1cc468['get'](_0x108556[_0x130087(0x1a7)])['pushUndoRedo']({'unitID':_0x2119f6,'undoMutations':_0x47a5ba,'redoMutations':_0x798d26}),!0x0;}},_0x58603b={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x2ec679,_0x11fac4){const _0x2d6a79=_0x47b8d2;if(!_0x11fac4)return!0x1;const _0x9939ec=_0x2ec679[_0x2d6a79(0x26d)](_0x108556[_0x2d6a79(0x2cf)]),_0x12c9c3=_0x2ec679[_0x2d6a79(0x26d)](_0x118be4[_0x2d6a79(0x37f)]),_0x31e563=_0x2ec679[_0x2d6a79(0x26d)](_0x108556['IUndoRedoService']),{pivotTableId:_0x4cc720,fieldIds:_0x50ff49,unitId:_0xc05cbf,subUnitId:_0x365b75}=_0x11fac4,_0x1cea6d=(await _0x12c9c3[_0x2d6a79(0x3d9)]({'unitId':_0xc05cbf,'subUnitId':_0x365b75,'pivotTableId':_0x4cc720,'params':{'type':_0x22171c[_0x2d6a79(0x3ae)],'removePivotField':{'fieldIds':_0x50ff49}}}))[_0x2d6a79(0x25b)][_0x2d6a79(0x14d)];if(!_0x1cea6d)return!0x1;const {view:_0x45671d,changesets:_0x1a59d6,isEmpty:_0x2e651b,pivotTableConfig:_0x2caebb}=_0x1cea6d,_0x3eb907=_0x2caebb[_0x2d6a79(0x1bc)],_0x4320ad=new _0x2bd5b3[(_0x2d6a79(0x3cf))]();_0x4320ad[_0x2d6a79(0x20f)](_0x45671d);const _0x1ed4c9={'cellInfo':_0x3eb907,'view':_0x4320ad,'isEmpty':_0x2e651b};if(!await _0x2ec679[_0x2d6a79(0x26d)](_0x118be4['SheetsPivotTableService'])[_0x2d6a79(0x1ef)][_0x2d6a79(0x1b7)](_0x3f49c1)(!0x0,_0x1ed4c9))return!0x1;const _0x260387=_0x244713(_0x2ec679,_0x4320ad,_0x3eb907,_0x2e651b),_0xe24aa4=_0x1e1d32(_0x2ec679,_0x1ed4c9),{redos:_0x27f204,undos:_0x448496}=_0x34aeb2(_0x9939ec,{'pivotTableId':_0x4cc720,'unitId':_0xc05cbf,'subUnitId':_0x365b75},_0x1a59d6);return _0x108556['sequenceExecute']([..._0x260387['redos'],..._0xe24aa4['redos'],..._0x27f204],_0x9939ec),_0x31e563[_0x2d6a79(0x334)]({'unitID':_0xc05cbf,'redoMutations':[..._0x260387['redos'],..._0xe24aa4[_0x2d6a79(0x1b3)],..._0x27f204],'undoMutations':[..._0x260387['undos'],..._0xe24aa4[_0x2d6a79(0x34f)],..._0x448496]}),!0x0;}},_0x1ef30c={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x29874f,_0x43b7a4){const _0x2f5eb2=_0x47b8d2;if(!_0x43b7a4)return!0x1;const _0x5fd73a=_0x29874f[_0x2f5eb2(0x26d)](_0x108556[_0x2f5eb2(0x2cf)]),_0xe2e82f=_0x29874f['get'](_0x108556[_0x2f5eb2(0x1a7)]),_0x26b233=_0x29874f['get'](_0x118be4[_0x2f5eb2(0x37f)]),{resetArea:_0xd5a5cd,pivotTableId:_0x200ed9,unitId:_0x144b42,subUnitId:_0x201b3d}=_0x43b7a4,_0x7447b=(await _0x26b233[_0x2f5eb2(0x3d9)]({'unitId':_0x144b42,'subUnitId':_0x201b3d,'pivotTableId':_0x200ed9,'params':{'type':_0x22171c['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x200ed9,'resetArea':_0xd5a5cd}}}))[_0x2f5eb2(0x25b)]['resetPivotTable'];if(!_0x7447b)return!0x1;const {changesets:_0x5da1d3}=_0x7447b,{redos:_0xb3e82e,undos:_0x132ea5}=_0x34aeb2(_0x5fd73a,{'pivotTableId':_0x200ed9,'unitId':_0x144b42,'subUnitId':_0x201b3d},_0x5da1d3);return _0x108556[_0x2f5eb2(0x276)](_0xb3e82e,_0x5fd73a),_0xe2e82f[_0x2f5eb2(0x334)]({'unitID':_0x144b42,'redoMutations':_0xb3e82e,'undoMutations':_0x132ea5}),!0x0;}},_0x11c320={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x2ea),async 'handler'(_0xe03b00,_0x155448){const _0x4776e8=_0x47b8d2,_0x588400=_0xe03b00[_0x4776e8(0x26d)](_0x108556[_0x4776e8(0x2cf)]),_0x1cc0b1=_0xe03b00[_0x4776e8(0x26d)](_0x118be4[_0x4776e8(0x37f)]),_0xd926fa=_0xe03b00[_0x4776e8(0x26d)](_0x118be4[_0x4776e8(0x1a4)]),_0x2ae307=_0xe03b00['get'](_0x108556['IUniverInstanceService']),_0x37994f=_0xe03b00['get'](_0x108556[_0x4776e8(0x1a5)]),_0xbd5c48=_0xe03b00[_0x4776e8(0x26d)](_0x108556['IUndoRedoService']);if(!_0x155448)return!0x1;const {unitId:_0x5de84a,subUnitId:_0x356c4b,row:_0x535a94,col:_0x476757,collapse:_0x3f07e9}=_0x155448,_0x7c7549=_0x2ae307[_0x4776e8(0x3f1)](_0x5de84a);if(!_0x7c7549||!_0x7c7549[_0x4776e8(0x20a)](_0x356c4b))return!0x1;const _0x6e90b9=_0xd926fa['getPivotTableIdByCell'](_0x5de84a,_0x356c4b,_0x535a94,_0x476757);if(!_0x6e90b9)return!0x1;const _0x12742c=_0xd926fa['getPivotItemRenderInfoCache'](_0x5de84a,_0x356c4b,_0x6e90b9);if(!_0x12742c)return!0x1;const _0xcdb752=_0x108556[_0x4776e8(0x28f)](_0x535a94,_0x476757),{rangesInfo:_0x209b30,areaInfo:_0x134363,headerMap:_0x1ddb6c}=_0x12742c;if(!_0x209b30||!_0x134363||!_0x1ddb6c)return!0x1;const _0x4f8a84=Object[_0x4776e8(0x24f)](_0x209b30)[_0x4776e8(0x468)](_0x318161=>_0x209b30[_0x318161][_0x4776e8(0x15f)](_0x32adee=>_0x108556[_0x4776e8(0x23b)][_0x4776e8(0x17d)](_0x32adee,_0xcdb752)));let _0x3109dd;_0x4f8a84==='rowRanges'?_0x3109dd=_0x1ddb6c['rowHeaderMap'][_0x476757]:_0x4f8a84===_0x4776e8(0x277)&&(_0x3109dd=_0x1ddb6c['colHeaderMap'][_0x535a94]);const _0x5255be=_0x3109dd==null?void 0x0:_0x3109dd[_0x4776e8(0x442)],_0x540a0f=_0xd926fa[_0x4776e8(0x25a)](_0x5de84a,_0x356c4b,_0x535a94,_0x476757);let _0x11bd6b=_0x540a0f==null?void 0x0:_0x540a0f['v'];if(_0x11bd6b===_0x37994f['t'](_0x4776e8(0x404))&&(_0x11bd6b=_0x2bd5b3[_0x4776e8(0x271)][_0x4776e8(0x1ad)]),_0x11bd6b==null||!_0x6e90b9||!_0x5255be)return!0x1;const _0x1515ea=await _0x1cc0b1[_0x4776e8(0x3d9)]({'unitId':_0x5de84a,'subUnitId':_0x356c4b,'pivotTableId':_0x6e90b9,'params':{'type':_0x22171c[_0x4776e8(0x307)],'setPivotCollapse':{'tableFieldId':_0x5255be,'collapse':_0x3f07e9,'item':_0x11bd6b}}}),_0x2b9bee=_0x1515ea==null?void 0x0:_0x1515ea[_0x4776e8(0x25b)][_0x4776e8(0x19f)];if(!_0x2b9bee)return!0x1;const {view:_0xd0cd01,pivotTableConfig:_0x28a6cf,isEmpty:_0x44b909,changesets:_0x446e54}=_0x2b9bee,_0x1921ab=new _0x2bd5b3[(_0x4776e8(0x3cf))]();_0x1921ab[_0x4776e8(0x20f)](_0xd0cd01);const _0x2f2692=_0x28a6cf[_0x4776e8(0x1bc)],_0x3169dd={'cellInfo':_0x2f2692,'view':_0x1921ab,'isEmpty':_0x44b909};if(!await _0xe03b00[_0x4776e8(0x26d)](_0x118be4['SheetsPivotTableService'])[_0x4776e8(0x1ef)][_0x4776e8(0x1b7)](_0x3f49c1)(!0x0,_0x3169dd))return!0x1;const _0xfc83f6=_0x244713(_0xe03b00,_0x1921ab,_0x2f2692,_0x44b909),_0x268bb9=_0x1e1d32(_0xe03b00,_0x3169dd),{redos:_0x1391b4,undos:_0xf56037}=_0x34aeb2(_0x588400,{'pivotTableId':_0x6e90b9,'unitId':_0x5de84a,'subUnitId':_0x356c4b},_0x446e54);return _0x108556[_0x4776e8(0x276)]([..._0xfc83f6['redos'],..._0x268bb9[_0x4776e8(0x1b3)],..._0x1391b4],_0x588400),_0xbd5c48['pushUndoRedo']({'unitID':_0x5de84a,'redoMutations':[..._0xfc83f6[_0x4776e8(0x1b3)],..._0x268bb9['redos'],..._0x1391b4],'undoMutations':[..._0xfc83f6[_0x4776e8(0x34f)],..._0x268bb9[_0x4776e8(0x34f)],..._0xf56037]}),!0x0;}},_0x47a731={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x26c),async 'handler'(_0x41ae7f,_0x5dc5f5){const _0x26a44f=_0x47b8d2;if(!_0x5dc5f5)return!0x1;const _0x101343=_0x41ae7f['get'](_0x108556[_0x26a44f(0x2cf)]),_0x103591=_0x41ae7f[_0x26a44f(0x26d)](_0x108556[_0x26a44f(0x1a7)]),_0x13cc3c=_0x41ae7f[_0x26a44f(0x26d)](_0x118be4['SheetsPivotRPCService']),{pivotTableConfig:_0x11a193,pivotTableId:_0x246bef,unitId:_0x4a09c3,subUnitId:_0x21a38a}=_0x5dc5f5,_0x4d70bd=(await _0x13cc3c[_0x26a44f(0x3d9)]({'unitId':_0x4a09c3,'subUnitId':_0x21a38a,'pivotTableId':_0x246bef,'params':{'type':_0x22171c[_0x26a44f(0x172)],'setPivotTableConfig':{'pivotTableId':_0x246bef,'pivotTableConfig':_0x11a193}}}))['result'][_0x26a44f(0x288)];if(!_0x4d70bd)return!0x1;const {changesets:_0x17a84d}=_0x4d70bd,{redos:_0x2e7a2f,undos:_0x1e57b3}=_0x34aeb2(_0x101343,{'pivotTableId':_0x246bef,'unitId':_0x4a09c3,'subUnitId':_0x21a38a},_0x17a84d);return _0x108556[_0x26a44f(0x276)](_0x2e7a2f,_0x101343),_0x103591[_0x26a44f(0x334)]({'unitID':_0x4a09c3,'redoMutations':_0x2e7a2f,'undoMutations':_0x1e57b3}),!0x0;}},_0x3fc77d={'type':_0x108556['CommandType'][_0x47b8d2(0x2e9)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x49632a,_0x2a42c4){const _0x3f443e=_0x47b8d2;if(!_0x2a42c4)return!0x1;const _0x9c5df6=_0x49632a[_0x3f443e(0x26d)](_0x108556['ICommandService']),{pivotTableId:_0x367838,tableFieldId:_0x1e3154,items:_0x42e884,unitId:_0x2b0bb3,subUnitId:_0x177e40,isAll:_0x325cf8}=_0x2a42c4,_0x262540=_0x49632a[_0x3f443e(0x26d)](_0x118be4[_0x3f443e(0x37f)]),_0x25ed1e=_0x49632a[_0x3f443e(0x26d)](_0x108556[_0x3f443e(0x1a7)]),_0x1932fc=(await _0x262540['getPivotDisplayConfig']({'unitId':_0x2b0bb3,'subUnitId':_0x177e40,'pivotTableId':_0x367838,'params':{'type':_0x22171c[_0x3f443e(0x2b7)],'setPivotFilter':{'tableFieldId':_0x1e3154,'items':_0x42e884,'isAll':_0x325cf8}}}))[_0x3f443e(0x25b)]['setPivotFilter'];if(!_0x1932fc)return!0x1;const {changesets:_0x28a982,pivotTableConfig:_0x116e80,isEmpty:_0x5e7b50,view:_0x5b1b49}=_0x1932fc,_0x36e6dd=_0x116e80[_0x3f443e(0x1bc)],_0xba74e9=new _0x2bd5b3['PivotView']();_0xba74e9[_0x3f443e(0x20f)](_0x5b1b49);const _0x2236b5={'cellInfo':_0x36e6dd,'view':_0xba74e9,'isEmpty':_0x5e7b50};if(!await _0x49632a[_0x3f443e(0x26d)](_0x118be4[_0x3f443e(0x3ba)])[_0x3f443e(0x1ef)][_0x3f443e(0x1b7)](_0x3f49c1)(!0x0,_0x2236b5))return!0x1;const _0x337d0e=_0x244713(_0x49632a,_0xba74e9,_0x36e6dd,_0x5e7b50),_0x29e204=_0x1e1d32(_0x49632a,_0x2236b5),{undos:_0x152dbd,redos:_0x3f088f}=_0x34aeb2(_0x9c5df6,{'pivotTableId':_0x367838,'unitId':_0x2b0bb3,'subUnitId':_0x177e40},_0x28a982);return _0x108556['sequenceExecute']([..._0x337d0e[_0x3f443e(0x1b3)],..._0x29e204[_0x3f443e(0x1b3)],..._0x3f088f],_0x9c5df6),_0x25ed1e[_0x3f443e(0x334)]({'unitID':_0x2b0bb3,'redoMutations':[..._0x337d0e[_0x3f443e(0x1b3)],..._0x29e204[_0x3f443e(0x1b3)],..._0x3f088f],'undoMutations':[..._0x337d0e[_0x3f443e(0x34f)],..._0x29e204[_0x3f443e(0x34f)],..._0x152dbd]}),!0x0;}},_0x416ec5={'type':_0x108556['CommandType'][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x30d),async 'handler'(_0x6d9a5e,_0x360cde){const _0x6fa180=_0x47b8d2;if(!_0x360cde)return!0x1;const _0x1d0cab=_0x6d9a5e[_0x6fa180(0x26d)](_0x108556['ICommandService']),_0x5c4f87=_0x6d9a5e[_0x6fa180(0x26d)](_0x108556[_0x6fa180(0x1a7)]),_0x283ad4=_0x6d9a5e[_0x6fa180(0x26d)](_0x118be4[_0x6fa180(0x37f)]),{info:_0x3eeb04,tableFieldId:_0x2b087a,pivotTableId:_0x57b353,unitId:_0x449929,subUnitId:_0x142a49}=_0x360cde,_0x57d3b1=(await _0x283ad4[_0x6fa180(0x3d9)]({'unitId':_0x449929,'subUnitId':_0x142a49,'pivotTableId':_0x57b353,'params':{'type':_0x22171c[_0x6fa180(0x3b7)],'setPivotSort':{'tableFieldId':_0x2b087a,'info':_0x3eeb04}}}))[_0x6fa180(0x25b)][_0x6fa180(0x1f3)];if(!_0x57d3b1)return!0x1;const {changesets:_0x3b6838}=_0x57d3b1,{redos:_0x4c59f6,undos:_0x907e26}=_0x34aeb2(_0x1d0cab,{'pivotTableId':_0x57b353,'unitId':_0x449929,'subUnitId':_0x142a49},_0x3b6838);return _0x108556['sequenceExecute'](_0x4c59f6,_0x1d0cab),_0x5c4f87[_0x6fa180(0x334)]({'unitID':_0x449929,'redoMutations':_0x4c59f6,'undoMutations':_0x907e26}),!0x0;}},_0x20b555={'type':_0x108556[_0x47b8d2(0x293)]['COMMAND'],'id':_0x47b8d2(0x2de),async 'handler'(_0x5aba76,_0x458454){const _0x107b94=_0x47b8d2;if(!_0x458454)return!0x1;const _0x4fe5f6=_0x5aba76[_0x107b94(0x26d)](_0x108556['ICommandService']),{pivotTableId:_0x772f8e,fieldId:_0x53fc56,valueFilterInfo:_0x3ab952,unitId:_0x1f879b,subUnitId:_0x4274a4}=_0x458454,_0x111cf9=_0x5aba76[_0x107b94(0x26d)](_0x118be4[_0x107b94(0x37f)]),_0x1a9264=_0x5aba76[_0x107b94(0x26d)](_0x108556[_0x107b94(0x1a7)]),_0x200f14=(await _0x111cf9[_0x107b94(0x3d9)]({'unitId':_0x1f879b,'subUnitId':_0x4274a4,'pivotTableId':_0x772f8e,'params':{'type':_0x22171c['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x53fc56,'filterInfo':_0x3ab952}}}))[_0x107b94(0x25b)]['setValuePivotFilter'];if(!_0x200f14)return!0x1;const {changesets:_0x2a4b8e,pivotTableConfig:_0x1068f8,isEmpty:_0x238427,view:_0x4e2666}=_0x200f14,_0x55199c=_0x1068f8[_0x107b94(0x1bc)],_0x227d6f=new _0x2bd5b3['PivotView']();_0x227d6f[_0x107b94(0x20f)](_0x4e2666);const _0x1f03bf={'cellInfo':_0x55199c,'view':_0x227d6f,'isEmpty':_0x238427};if(!await _0x5aba76[_0x107b94(0x26d)](_0x118be4[_0x107b94(0x3ba)])[_0x107b94(0x1ef)][_0x107b94(0x1b7)](_0x3f49c1)(!0x0,_0x1f03bf))return!0x1;const _0x2cbc4a=_0x244713(_0x5aba76,_0x227d6f,_0x55199c,_0x238427),_0x452fc8=_0x1e1d32(_0x5aba76,_0x1f03bf),{undos:_0x59e066,redos:_0x56c60f}=_0x34aeb2(_0x4fe5f6,{'pivotTableId':_0x772f8e,'unitId':_0x1f879b,'subUnitId':_0x4274a4},_0x2a4b8e);return _0x108556[_0x107b94(0x276)]([..._0x2cbc4a['redos'],..._0x452fc8[_0x107b94(0x1b3)],..._0x56c60f],_0x4fe5f6),_0x1a9264[_0x107b94(0x334)]({'unitID':_0x1f879b,'redoMutations':[..._0x2cbc4a[_0x107b94(0x1b3)],..._0x452fc8[_0x107b94(0x1b3)],..._0x56c60f],'undoMutations':[..._0x2cbc4a['undos'],..._0x452fc8[_0x107b94(0x34f)],..._0x59e066]}),!0x0;}},_0x3aec01={'id':_0x47b8d2(0x2e7),'type':_0x108556['CommandType'][_0x47b8d2(0x368)],'handler':(_0xfe49b2,_0x252b9e)=>{const _0x570433=_0x47b8d2;if(!_0x252b9e)return!0x1;if(!!_0xfe49b2[_0x570433(0x26d)](_0x108556[_0x570433(0x1c3)])['getConfig'](_0x5d78c9))return!0x0;const {unitId:_0x47323e,subUnitId:_0x2720a5,pivotTableId:_0x189a55,tableFieldId:_0x34f5b6,dateType:_0x3ec4c1}=_0x252b9e,_0x27cc03=_0xfe49b2[_0x570433(0x26d)](_0x118be4['SheetsPivotDataSourceModel']),_0x298beb=_0x27cc03[_0x570433(0x410)](_0x189a55);if(!_0x298beb)return!0x1;const _0x2537a2=_0x298beb[_0x570433(0x3f9)](_0x34f5b6);if(!_0x2537a2)return!0x1;const _0x4d7d29=_0x2537a2[_0x570433(0x264)](),_0x116538=_0x298beb[_0x570433(0x2b2)](_0x4d7d29),_0x529fc2=(_0x116538==null?void 0x0:_0x116538[_0x570433(0x348)]())+'\x20'+_0x11220e(_0xfe49b2,_0x3ec4c1);_0x27cc03['getCollection'](_0x47323e,_0x189a55)[_0x570433(0x22f)](_0x2537a2['id'],_0x529fc2);const _0x50f63a=_0x298beb[_0x570433(0x2dc)](_0x34f5b6);if(!_0x50f63a)return!0x1;_0x298beb[_0x570433(0x3df)](_0x50f63a[_0x570433(0x467)](),_0x529fc2),_0x2537a2[_0x570433(0x46e)](_0x3ec4c1);const _0x57bbad=_0x27cc03[_0x570433(0x294)](_0x47323e,_0x2720a5,_0x189a55);return _0x27cc03[_0x570433(0x1b8)]({'unitId':_0x47323e,'subUnitId':_0x2720a5,'token':_0x189a55,'type':_0x2c8cb5['Set'],'pivotConfig':_0x57bbad}),!0x0;}},_0x2e4127={'id':'sheet.command.update-date-group','type':_0x108556[_0x47b8d2(0x293)]['COMMAND'],'handler':(_0x1aa656,_0x247bfd)=>{const _0x5c14a3=_0x47b8d2;if(!_0x247bfd)return!0x1;const _0x545b76=_0x1aa656[_0x5c14a3(0x26d)](_0x108556[_0x5c14a3(0x1a7)]),{unitId:_0x35883e,subUnitId:_0x5c6188,pivotTableId:_0x38509b,tableFieldId:_0x3c9e35}=_0x247bfd,_0x1f826d=[],_0x3dd8ae=[],_0x79cfcc=_0x1aa656[_0x5c14a3(0x26d)](_0x118be4['SheetsPivotTableConfigModel']),_0xafb10e=_0x79cfcc[_0x5c14a3(0x3a1)](_0x35883e,_0x38509b),_0x1d90b5=_0x79cfcc[_0x5c14a3(0x294)](_0x35883e,_0x5c6188,_0x38509b);if(!(_0x1d90b5!=null&&_0x1d90b5[_0x5c14a3(0x347)][_0x5c14a3(0x3e6)]))return!0x1;const _0x1f1782=Object[_0x5c14a3(0x2c2)](_0x1d90b5[_0x5c14a3(0x347)][_0x5c14a3(0x3e6)])['find'](_0x271e69=>_0x271e69['id']===_0x3c9e35);if(!_0x1f1782)return!0x1;const _0x131024=_0x1f1782[_0x5c14a3(0x224)];if(!(_0xafb10e!=null&&_0xafb10e[_0x5c14a3(0x21d)]))return!0x1;const _0x33bee7=Object[_0x5c14a3(0x2c2)](_0xafb10e==null?void 0x0:_0xafb10e['fields'])[_0x5c14a3(0x468)](_0x87597e=>_0x87597e['id']===_0x131024);if(!_0x33bee7)return!0x1;_0x2bd5b3[_0x5c14a3(0x2f7)](_0x33bee7)&&_0x1f826d[_0x5c14a3(0x2aa)]({'id':_0x3aec01['id'],'params':{..._0x247bfd,'dateType':_0x33bee7[_0x5c14a3(0x26e)]}}),_0x3dd8ae[_0x5c14a3(0x2aa)]({'id':_0x3aec01['id'],'params':{..._0x247bfd}});const _0x543807=_0x1aa656[_0x5c14a3(0x26d)](_0x108556[_0x5c14a3(0x2cf)]);return _0x108556[_0x5c14a3(0x276)](_0x3dd8ae,_0x543807)&&_0x545b76[_0x5c14a3(0x334)]({'unitID':_0x35883e,'undoMutations':_0x1f826d,'redoMutations':_0x3dd8ae}),!0x0;}},_0x22c83c={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x42d),async 'handler'(_0x116d5c,_0x2927e5){const _0x2273b7=_0x47b8d2;if(!_0x2927e5)return!0x1;const _0x33dcc4=_0x116d5c[_0x2273b7(0x26d)](_0x108556[_0x2273b7(0x2cf)]),_0x2faf06=_0x116d5c[_0x2273b7(0x26d)](_0x108556[_0x2273b7(0x1a7)]),_0x47fdfc=_0x116d5c[_0x2273b7(0x26d)](_0x118be4[_0x2273b7(0x37f)]),{displayName:_0x26b428,subtotalType:_0x2bd3f1,format:_0xd15d31,tableFieldId:_0x15fdf0,pivotTableId:_0x584e0c,unitId:_0x11bbab,subUnitId:_0x1865b4}=_0x2927e5,_0xe656e1=(await _0x47fdfc['getPivotDisplayConfig']({'unitId':_0x11bbab,'subUnitId':_0x1865b4,'pivotTableId':_0x584e0c,'params':{'type':_0x22171c['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x15fdf0,'displayName':_0x26b428,'subtotalType':_0x2bd3f1,'format':_0xd15d31}}}))['result'][_0x2273b7(0x403)];if(!_0xe656e1)return!0x1;const {changesets:_0x332ada,view:_0x26cae5,pivotTableConfig:_0x43a78d,isEmpty:_0x20ebcb}=_0xe656e1,_0x25f983=_0x43a78d['targetCellInfo'],_0x239459=new _0x2bd5b3[(_0x2273b7(0x3cf))]();_0x239459[_0x2273b7(0x20f)](_0x26cae5);const _0x19cb7d={'cellInfo':_0x25f983,'view':_0x239459,'isEmpty':_0x20ebcb};if(!await _0x116d5c['get'](_0x118be4[_0x2273b7(0x3ba)])[_0x2273b7(0x1ef)][_0x2273b7(0x1b7)](_0x3f49c1)(!0x0,_0x19cb7d))return!0x1;const _0x1ed3db=_0x244713(_0x116d5c,_0x239459,_0x25f983,_0x20ebcb),_0x5cd0c3=_0x1e1d32(_0x116d5c,_0x19cb7d),{undos:_0x16357,redos:_0x305f63}=_0x34aeb2(_0x33dcc4,{'pivotTableId':_0x584e0c,'unitId':_0x11bbab,'subUnitId':_0x1865b4},_0x332ada);return _0x108556[_0x2273b7(0x276)]([..._0x1ed3db[_0x2273b7(0x1b3)],..._0x5cd0c3['redos'],..._0x305f63],_0x33dcc4),_0x2faf06['pushUndoRedo']({'unitID':_0x11bbab,'redoMutations':[..._0x1ed3db[_0x2273b7(0x1b3)],..._0x5cd0c3[_0x2273b7(0x1b3)],..._0x305f63],'undoMutations':[..._0x1ed3db[_0x2273b7(0x34f)],..._0x5cd0c3[_0x2273b7(0x34f)],..._0x16357]}),!0x0;}},_0x381605={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x368)],'id':_0x47b8d2(0x150),'handler'(_0x5cfd03,_0x3ffb07){const _0x25f0ac=_0x47b8d2;if(!_0x3ffb07)return!0x1;if(!!_0x5cfd03['get'](_0x108556[_0x25f0ac(0x1c3)])[_0x25f0ac(0x1f4)](_0x5d78c9))return!0x0;const _0x3fa972=_0x5cfd03['get'](_0x118be4[_0x25f0ac(0x3c8)]),{pivotTableId:_0x239702,deleteIds:_0x4f50ca,collectionJSON:_0x403428,dataRangeInfo:_0x21b240,unitId:_0x32953e,subUnitId:_0x5e39f6}=_0x3ffb07,_0x5636f2=_0x3fa972[_0x25f0ac(0x410)](_0x239702),_0x4df167=_0x3fa972[_0x25f0ac(0x294)](_0x32953e,_0x5e39f6,_0x239702);if(!_0x5636f2||!_0x4df167)return!0x1;const {collection:_0x46de5f,updateDataFieldList:_0x52c919}=_0x3fa972[_0x25f0ac(0x243)](_0x239702,_0x403428,_0x21b240,_0x4df167[_0x25f0ac(0x1bc)]);_0x3fa972['refreshData'](_0x46de5f,_0x52c919,_0x21b240),_0x5636f2[_0x25f0ac(0x185)](_0x46de5f);for(const _0x206942 of _0x4f50ca)_0x3fa972[_0x25f0ac(0x17b)](_0x21b240[_0x25f0ac(0x3a4)],_0x206942);const _0x121ed8=_0x3fa972[_0x25f0ac(0x294)](_0x32953e,_0x5e39f6,_0x239702);return _0x121ed8[_0x25f0ac(0x249)]=JSON[_0x25f0ac(0x2d2)](JSON[_0x25f0ac(0x444)](_0x21b240)),_0x3fa972[_0x25f0ac(0x1b8)]({'unitId':_0x32953e,'subUnitId':_0x5e39f6,'token':_0x239702,'type':_0x2c8cb5[_0x25f0ac(0x2d7)]}),!0x0;}},_0x56285f={'type':_0x108556[_0x47b8d2(0x293)][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x401),async 'handler'(_0x157304,_0x2a98cd){const _0x4eed13=_0x47b8d2,_0x335290=_0x157304[_0x4eed13(0x26d)](_0x108556['ICommandService']),_0x14726a=_0x157304[_0x4eed13(0x26d)](_0x118be4[_0x4eed13(0x37f)]),_0x5a1eda=_0x157304[_0x4eed13(0x26d)](_0x108556[_0x4eed13(0x1a7)]);if(!_0x2a98cd)return!0x1;const {token:_0x542b68,dataRangeInfo:_0x596ec6,unitId:_0x494c8c,subUnitId:_0x224a8d}=_0x2a98cd,_0x33d6be=[],_0x3acf0c=[],_0x23ff9f=(await _0x14726a[_0x4eed13(0x3d9)]({'unitId':_0x494c8c,'subUnitId':_0x224a8d,'pivotTableId':_0x542b68,'params':{'type':_0x22171c[_0x4eed13(0x2bf)],'updatePivotSource':{'dataRangeInfo':_0x596ec6,'unitId':_0x494c8c,'subUnitId':_0x224a8d}}}))[_0x4eed13(0x25b)]['updatePivotSource'];if(!_0x23ff9f)return!0x1;const {changesets:_0x2e0afc,deleteIds:_0x2b6e8,collectionConfig:_0x125025,oldCollectionConfig:_0x1783fc,view:_0x5a4463,isEmpty:_0x27c043,pivotTableConfig:_0x53f963}=_0x23ff9f;_0x3acf0c['push']({'id':_0x381605['id'],'params':{'pivotTableId':_0x542b68,'deleteIds':_0x2b6e8,'collectionJSON':_0x125025,'dataRangeInfo':_0x596ec6,'unitId':_0x494c8c,'subUnitId':_0x224a8d}}),_0x33d6be[_0x4eed13(0x420)]({'id':_0x381605['id'],'params':{'pivotTableId':_0x542b68,'deleteIds':[],'collectionJSON':_0x1783fc,'dataRangeInfo':_0x53f963[_0x4eed13(0x249)],'unitId':_0x494c8c,'subUnitId':_0x224a8d}});const _0x48857b=_0x53f963[_0x4eed13(0x1bc)],_0x3d88c8=new _0x2bd5b3[(_0x4eed13(0x3cf))]();_0x3d88c8[_0x4eed13(0x20f)](_0x5a4463);const _0x2f6692={'cellInfo':_0x48857b,'view':_0x3d88c8,'isEmpty':_0x27c043};if(!await _0x157304[_0x4eed13(0x26d)](_0x118be4[_0x4eed13(0x3ba)])['asyncInterceptor'][_0x4eed13(0x1b7)](_0x3f49c1)(!0x0,_0x2f6692))return!0x1;const _0x9e3dd0=_0x244713(_0x157304,_0x3d88c8,_0x48857b,_0x27c043),_0x554e2f=_0x1e1d32(_0x157304,_0x2f6692),{undos:_0x4de303,redos:_0x27206c}=_0x34aeb2(_0x335290,{'pivotTableId':_0x542b68,'unitId':_0x494c8c,'subUnitId':_0x224a8d},_0x2e0afc);return _0x108556['sequenceExecute']([..._0x9e3dd0[_0x4eed13(0x1b3)],..._0x554e2f[_0x4eed13(0x1b3)],..._0x3acf0c,..._0x4de303],_0x335290),_0x5a1eda[_0x4eed13(0x334)]({'unitID':_0x494c8c,'redoMutations':[..._0x9e3dd0[_0x4eed13(0x1b3)],..._0x554e2f[_0x4eed13(0x1b3)],..._0x3acf0c,..._0x4de303],'undoMutations':[..._0x9e3dd0[_0x4eed13(0x34f)],..._0x554e2f[_0x4eed13(0x34f)],..._0x33d6be,..._0x27206c]}),!0x0;}},_0x7f10bf={'type':_0x108556['CommandType'][_0x47b8d2(0x2e9)],'id':_0x47b8d2(0x28d),async 'handler'(_0x1b7a28,_0xea3808){const _0x4b935e=_0x47b8d2;if(!_0xea3808)return!0x1;const _0x1ec805=_0x1b7a28['get'](_0x108556[_0x4b935e(0x2cf)]),_0x11f2f5=_0x1b7a28[_0x4b935e(0x26d)](_0x118be4[_0x4b935e(0x37f)]),_0x4fffed=_0x1b7a28[_0x4b935e(0x26d)](_0x108556[_0x4b935e(0x371)]),_0x831ec7=_0x1b7a28['get'](_0x108556[_0x4b935e(0x1a7)]),{pivotTableId:_0xe37354,position:_0x5dcc5c,index:_0x3f678a}=_0xea3808,_0x16b283=_0x3c8849['getSheetCommandTarget'](_0x4fffed);if(!_0x16b283)return!0x1;const {unitId:_0x56fca8,subUnitId:_0x495bb2}=_0x16b283,_0x8e2329=(await _0x11f2f5['getPivotDisplayConfig']({'unitId':_0x56fca8,'subUnitId':_0x495bb2,'pivotTableId':_0xe37354,'params':{'type':_0x22171c[_0x4b935e(0x346)],'updateValuePosition':{'position':_0x5dcc5c,'index':_0x3f678a}}}))[_0x4b935e(0x25b)][_0x4b935e(0x3a7)];if(!_0x8e2329)return!0x1;const {changesets:_0x10c3d7,view:_0xd14936,isEmpty:_0x364ecc,pivotTableConfig:_0x28a970}=_0x8e2329,_0x1fdd93=_0x28a970[_0x4b935e(0x1bc)],_0x3aebde=new _0x2bd5b3[(_0x4b935e(0x3cf))]();_0x3aebde['formJSON'](_0xd14936);const _0x3638a8=_0x1b7a28[_0x4b935e(0x26d)](_0x118be4[_0x4b935e(0x3ba)]),_0x5b3b5b={'cellInfo':_0x1fdd93,'view':_0x3aebde,'isEmpty':_0x364ecc};if(!await _0x3638a8[_0x4b935e(0x1ef)][_0x4b935e(0x1b7)](_0x3f49c1)(!0x0,_0x5b3b5b))return!0x1;const _0x232160=_0x244713(_0x1b7a28,_0x3aebde,_0x1fdd93,_0x364ecc),_0x4b37ca=_0x1e1d32(_0x1b7a28,_0x5b3b5b),{undos:_0x280e8f,redos:_0x352b48}=_0x34aeb2(_0x1ec805,{'pivotTableId':_0xe37354,'unitId':_0x56fca8,'subUnitId':_0x495bb2},_0x10c3d7);return _0x108556[_0x4b935e(0x276)]([..._0x232160[_0x4b935e(0x1b3)],..._0x4b37ca[_0x4b935e(0x1b3)],..._0x352b48],_0x1ec805),_0x831ec7[_0x4b935e(0x334)]({'unitID':_0x56fca8,'redoMutations':[..._0x232160[_0x4b935e(0x1b3)],..._0x4b37ca[_0x4b935e(0x1b3)],..._0x352b48],'undoMutations':[..._0x232160[_0x4b935e(0x34f)],..._0x4b37ca['undos'],..._0x280e8f]}),!0x0;}},_0x4e07fb={'type':_0x108556['CommandType'][_0x47b8d2(0x368)],'id':_0x47b8d2(0x1d8),'handler'(){return!0x0;}};var _0x14afd9=Object[_0x47b8d2(0x44f)],_0x3474fd=(_0x4eaca0,_0x21364e,_0x234687,_0xc74036)=>{const _0x21711c=_0x47b8d2;for(var _0x43ea01=_0xc74036>0x1?void 0x0:_0xc74036?_0x14afd9(_0x21364e,_0x234687):_0x21364e,_0x44805b=_0x4eaca0[_0x21711c(0x472)]-0x1,_0x56714e;_0x44805b>=0x0;_0x44805b--)(_0x56714e=_0x4eaca0[_0x44805b])&&(_0x43ea01=_0x56714e(_0x43ea01)||_0x43ea01);return _0x43ea01;},_0x1fc236=(_0xa9d23f,_0x5e8861)=>(_0x4accb7,_0x3aeb4a)=>_0x5e8861(_0x4accb7,_0x3aeb4a,_0xa9d23f);const _0x14d7af=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x2c2b6a=(_0x151bf4,_0x128011,_0x416ddc)=>{const _0x1f61a0=_0x47b8d2,_0x409abd=_0x151bf4['dataFieldsCollection'];_0x151bf4[_0x1f61a0(0x36c)](_0x3176e9=>{const _0x5e75c6=_0x1f61a0,_0x33439d=_0x3176e9[_0x5e75c6(0x467)](),_0x5b4170=_0x3176e9['getDataFieldId'](),_0x1c8cad=_0x3176e9['getSourceName'](),_0x45f279=_0x3176e9[_0x5e75c6(0x322)]();_0x128011[_0x5b4170]&&_0x128011[_0x5b4170]===_0x45f279&&_0x1c8cad===_0x45f279&&(_0x151bf4[_0x5e75c6(0x3df)](_0x33439d,_0x409abd[_0x5e75c6(0x322)](_0x5b4170)),_0x3176e9[_0x5e75c6(0x3b6)](_0x409abd[_0x5e75c6(0x322)](_0x5b4170)));}),_0x151bf4[_0x1f61a0(0x22b)](_0x2bd5b3[_0x1f61a0(0x20d)][_0x1f61a0(0x3c6)],_0x295648=>{const _0x5bba5e=_0x1f61a0,_0x1b0990=_0x295648[_0x5bba5e(0x467)](),_0x3ca94d=_0x295648[_0x5bba5e(0x436)](),_0x1addf0=_0x295648[_0x5bba5e(0x265)](),_0x3c56a8=_0x295648[_0x5bba5e(0x322)](),_0x598648=_0x295648['getSubtotal'](),_0x3c5c28=_0x416ddc(_0x1addf0,_0x598648);_0x128011[_0x3ca94d]&&_0x128011[_0x3ca94d]===_0x1addf0&&_0x3c5c28===_0x3c56a8&&(_0x151bf4[_0x5bba5e(0x3df)](_0x1b0990,_0x416ddc(_0x409abd[_0x5bba5e(0x322)](_0x3ca94d),_0x598648)),_0x295648[_0x5bba5e(0x3b6)](_0x409abd[_0x5bba5e(0x322)](_0x3ca94d)));});},_0x3e7f5a=(_0xb891fb,_0x343470,_0x13e2d5)=>{const _0xb0bd1a=_0x47b8d2;var _0x2f5fb6,_0x49df6c;const {arrayFormulaCellData:_0x4cc12d,unitData:_0x338dd0}=_0x343470,{unitId:_0x42f6e1,subUnitId:_0x1b1223}=_0x13e2d5,_0x8b5c33=_0x13e2d5[_0xb0bd1a(0x44c)],{startColumn:_0x3233b7,endColumn:_0x3b9e6c}=_0x8b5c33,_0x10d134=(_0x2f5fb6=_0x4cc12d==null?void 0x0:_0x4cc12d[_0x42f6e1])==null?void 0x0:_0x2f5fb6[_0x1b1223],_0xc6d5b7=(_0x49df6c=_0x338dd0==null?void 0x0:_0x338dd0[_0x42f6e1])==null?void 0x0:_0x49df6c[_0x1b1223],_0x283914=new Set(),_0x8ea3cf=_0x3b9e6c-_0x3233b7+0x1,{dirtyRanges:_0x114044}=_0xb891fb;if(_0x114044)for(const {range:_0x3b1434,sheetId:_0x2f776a,unitId:_0x3490ee}of _0x114044){if(_0x2f776a!==_0x1b1223||_0x42f6e1!==_0x3490ee)continue;const _0x1f3b6b=_0x108556[_0xb0bd1a(0x23b)]['getIntersects'](_0x3b1434,_0x8b5c33);if(_0x1f3b6b){const {startColumn:_0x532a71,endColumn:_0x124c8d}=_0x1f3b6b;for(let _0xafbd8e=_0x532a71;_0xafbd8e<=_0x124c8d;_0xafbd8e++)_0x283914[_0xb0bd1a(0x273)](_0xafbd8e);}}if(_0x283914[_0xb0bd1a(0x192)]===_0x8ea3cf||_0x283914[_0xb0bd1a(0x192)]===_0x8ea3cf)return Array[_0xb0bd1a(0x1ae)](_0x283914);if(_0xc6d5b7){const _0x118944=_0xc6d5b7[_0xb0bd1a(0x415)](),_0x14d432=Object[_0xb0bd1a(0x24f)](_0x118944);for(const _0x208dce of _0x14d432){const _0x7a5af7=Number(_0x208dce),_0xf29745=_0x118944[_0x7a5af7];if(_0x283914['size']===_0x8ea3cf)break;for(const _0x3af3e1 in _0xf29745){const _0x41e696=Number(_0x3af3e1);_0x41e696<_0x3233b7||_0x41e696>_0x3b9e6c||_0x283914[_0xb0bd1a(0x273)](_0x41e696);}}}if(_0x10d134){const _0x5dd5ee=_0x10d134[_0xb0bd1a(0x415)](),_0x330ca1=Object[_0xb0bd1a(0x24f)](_0x5dd5ee);for(const _0x34fe7c of _0x330ca1){const _0x1dbdb6=Number(_0x34fe7c),_0x20b21e=_0x5dd5ee[_0x1dbdb6];if(_0x283914['size']===_0x8ea3cf)break;for(const _0xd59287 in _0x20b21e){const _0x5925be=Number(_0xd59287);_0x5925be<_0x3233b7||_0x5925be>_0x3b9e6c||_0x283914['add'](_0x5925be);}}}return Array[_0xb0bd1a(0x1ae)](_0x283914);},_0x1633b1=_0xa69769=>{const _0x3d485f=_0x47b8d2,_0x18884d=new Set(),_0x389bf1=[];for(const _0x2e766e of _0xa69769){const _0x5afd59=_0x2e766e[_0x3d485f(0x33f)]+','+_0x2e766e[_0x3d485f(0x3c2)]+','+_0x2e766e[_0x3d485f(0x2bc)]+','+_0x2e766e[_0x3d485f(0x24d)];_0x18884d['has'](_0x5afd59)||(_0x18884d[_0x3d485f(0x273)](_0x5afd59),_0x389bf1[_0x3d485f(0x2aa)](_0x2e766e));}return _0x389bf1;};let _0xc53bc1=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x590ef3,_0x3183bd,_0x57126c,_0x46cefa,_0x37f38f){const _0x5df1c1=_0x47b8d2;super(),_0x44a70e(this,_0x5df1c1(0x37a),new _0x1f8d69[(_0x5df1c1(0x2d8))](!0x0)),_0x44a70e(this,_0x5df1c1(0x344),_0x6a8432=>{const _0x2548e9=_0x5df1c1;this[_0x2548e9(0x37a)][_0x2548e9(0x36a)](!0x1);}),_0x44a70e(this,_0x5df1c1(0x196),_0x43920e=>{const _0x1949f=_0x5df1c1;this['_globalSubject'][_0x1949f(0x36a)](!0x0);}),(this[_0x5df1c1(0x195)]=_0x590ef3,this[_0x5df1c1(0x41f)]=_0x3183bd,this[_0x5df1c1(0x1e8)]=_0x57126c,this[_0x5df1c1(0x18a)]=_0x46cefa,this[_0x5df1c1(0x3fa)]=_0x37f38f,this['_init'](),this[_0x5df1c1(0x3fb)]());}[_0x47b8d2(0x1d7)](){const _0x39054c=_0x47b8d2;this[_0x39054c(0x42f)](),this['_subjectViewChange'](),this[_0x39054c(0x2ff)](),this[_0x39054c(0x47d)]();}[_0x47b8d2(0x2c4)](){const _0x4be521=_0x47b8d2;this[_0x4be521(0x18a)][_0x4be521(0x2f5)](this[_0x4be521(0x37a)]),_0x2bd5b3[_0x4be521(0x181)][_0x4be521(0x178)](_0x2bd5b3['PivotCallbackEnum'][_0x4be521(0x458)],this[_0x4be521(0x344)]),_0x2bd5b3['PivotTable'][_0x4be521(0x178)](_0x2bd5b3[_0x4be521(0x337)][_0x4be521(0x377)],this[_0x4be521(0x196)]);}[_0x47b8d2(0x3fb)](){const _0x2f3f0d=_0x47b8d2;this[_0x2f3f0d(0x2f6)](this[_0x2f3f0d(0x1e8)][_0x2f3f0d(0x22d)](_0xde1a6d=>{const _0x33b8e8=_0x2f3f0d;_0xde1a6d['id']===_0x3c8849[_0x33b8e8(0x2fa)]['id']&&this[_0x33b8e8(0x195)][_0x33b8e8(0x1f7)](_0xde1a6d[_0x33b8e8(0x40a)]);})),this['disposeWithMe'](this[_0x2f3f0d(0x1e8)][_0x2f3f0d(0x22d)](_0x2a91a3=>{const _0x214fda=_0x2f3f0d;if(_0x2a91a3['id']!==_0x30fcb5['id'])return;const _0x6d2bd7=_0x2a91a3[_0x214fda(0x40a)],{unitId:_0x298cfe,subUnitId:_0x52dc3b,pivotTableId:_0x1b91d6}=_0x6d2bd7,_0x1b9c27=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x1df)],_0x3f810d={};switch(_0x1b9c27){case _0x22171c[_0x214fda(0x27e)]:{const _0x106dbb=_0x6d2bd7['params'][_0x214fda(0x31e)];if(!_0x106dbb)return;const {row:_0x104d94,col:_0x446399,cellData:_0x28621c,pivotItemRenderInfoCache:_0x3af81e,tableFieldId:_0x19916d}=_0x106dbb,_0x35a75b=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x6d2bd7['pivotTableId']);if(!_0x35a75b||!_0x3af81e)return;if(_0x19916d){const _0x1cbef5=_0x35a75b['getDataFieldByTableId'](_0x19916d);if(!_0x1cbef5)return;_0x3f810d[_0x214fda(0x31e)]={..._0x35a75b['getDataFieldItemInfo'](_0x1cbef5),'tableFieldId':_0x19916d,'pivotTableId':_0x6d2bd7[_0x214fda(0x45d)],'filterInfo':_0x35a75b['getFilterInfo'](_0x19916d),'sortInfo':_0x35a75b[_0x214fda(0x212)](_0x19916d),'format':_0x35a75b['getFieldFormat'](_0x19916d)};}else{const _0x21dbe7=_0x3471bf(_0x104d94,_0x446399,_0x28621c,_0x35a75b,_0x3af81e),_0x43233d=_0x21dbe7==null?void 0x0:_0x21dbe7[_0x214fda(0x29f)];if(!_0x43233d)return;const _0x4d9202=_0x35a75b[_0x214fda(0x3f9)](_0x43233d);if(!_0x4d9202)return;_0x3f810d['filter']={..._0x35a75b['getDataFieldItemInfo'](_0x4d9202),'tableFieldId':_0x43233d,'pivotTableId':_0x6d2bd7[_0x214fda(0x45d)],'filterInfo':_0x35a75b[_0x214fda(0x388)](_0x43233d),'sortInfo':_0x35a75b[_0x214fda(0x212)](_0x43233d),'format':_0x35a75b[_0x214fda(0x206)](_0x43233d)};}}break;case _0x22171c[_0x214fda(0x3e9)]:{const _0x1ca587=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x1a8)];if(!_0x1ca587)return;const {pivotTableId:_0x2797d7}=_0x1ca587,_0x2148fb=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x2797d7);if(!_0x2148fb)return;const _0x45e4f9=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x2797d7),_0x238dab=_0xc87bc6(_0x2148fb,_0x2797d7,_0x45e4f9);_0x3f810d[_0x214fda(0x1a8)]=_0x238dab;}break;case _0x22171c[_0x214fda(0x215)]:{const _0x14347f=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6),_0x40d354=this['_sheetsPivotDataSourceModel'][_0x214fda(0x328)](_0x298cfe),_0x202779=_0x40d354[_0x214fda(0x3a1)](_0x1b91d6);let _0x169528=null;const _0xf518c7=this['_sheetsPivotDataSourceModel'][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6),_0x4afa54=_0x6d2bd7[_0x214fda(0x40a)]['addPivotField'];if(!_0x14347f||!_0xf518c7||!_0x4afa54)return!0x1;const {dataFieldId:_0x12c218,fieldArea:_0x49ce7d,index:_0x374d2f}=_0x4afa54;_0x14347f[_0x214fda(0x2d0)]();const _0x3423a5=_0x14347f['addFieldWithSourceId'](_0x12c218,_0x49ce7d,_0x374d2f);if(_0x3423a5&&_0x49ce7d===_0x2bd5b3[_0x214fda(0x20d)]['Value']){const _0x3100c4=_0x3423a5[_0x214fda(0x467)](),_0x745aef=_0x14347f[_0x214fda(0x3f9)](_0x3100c4);if(_0x745aef){const _0x5d2b83=_0x745aef==null?void 0x0:_0x745aef[_0x214fda(0x1cf)]();_0x14347f[_0x214fda(0x362)](_0x3423a5[_0x214fda(0x467)](),_0x5d2b83===_0x2bd5b3[_0x214fda(0x209)][_0x214fda(0x477)]?_0x2bd5b3[_0x214fda(0x45a)][_0x214fda(0x27d)]:_0x2bd5b3[_0x214fda(0x45a)][_0x214fda(0x30b)]);}const _0x544eb6=_0x14347f['getValueIndex'](),_0x50a1d4=_0x14347f[_0x214fda(0x3b8)](),_0x5af59d=_0x14347f[_0x214fda(0x2a4)](_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x3c6)]);if(_0x544eb6===-0x1&&_0x5af59d>0x1){const _0x1128ac=_0x50a1d4===_0x2bd5b3[_0x214fda(0x29c)][_0x214fda(0x364)]?_0x2bd5b3[_0x214fda(0x29c)][_0x214fda(0x42c)]:_0x50a1d4,_0x33872a=_0x1128ac===_0x2bd5b3[_0x214fda(0x29c)][_0x214fda(0x43b)]?_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x43b)]:_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x42c)];_0x14347f[_0x214fda(0x3a7)](_0x1128ac,_0x14347f['getFieldCountByArea'](_0x33872a));}}else{if(_0x3423a5&&(_0x49ce7d===_0x2bd5b3[_0x214fda(0x20d)]['Row']||_0x49ce7d===_0x2bd5b3['PivotTableFiledAreaEnum']['Column'])){const _0x3a7027=_0x3423a5[_0x214fda(0x467)](),_0x1ac049=_0x14347f[_0x214fda(0x3f9)](_0x3a7027);if(_0x1ac049&&(_0x1ac049==null?void 0x0:_0x1ac049['getFieldDataType']())===_0x2bd5b3[_0x214fda(0x209)][_0x214fda(0x40f)]){const _0x1cd19d=_0x1ac049[_0x214fda(0x1be)]();if(_0x1cd19d&&_0x14347f[_0x214fda(0x31b)](_0x3423a5[_0x214fda(0x467)](),_0x1cd19d),!_0x202779[_0x214fda(0x214)]()[_0x214fda(0x15f)](_0x5f44c6=>{const _0x48e6b3=_0x214fda,_0x5105d3=_0x202779[_0x48e6b3(0x30e)](_0x5f44c6);return _0x2bd5b3[_0x48e6b3(0x370)](_0x5105d3)?_0x5105d3['getFieldInfo']()[_0x48e6b3(0x2c7)]===_0x12c218:!0x1;})){const _0x1c0e0a=_0x40d354[_0x214fda(0x2c5)](),_0x1bb13b=_0x45a2a1(_0x1ac049[_0x214fda(0x14f)],_0x1ac049[_0x214fda(0x412)]),_0x31b80b=_0x1ac049[_0x214fda(0x348)]()+'\x20-\x20'+_0x11220e(this[_0x214fda(0x3fa)],_0x1bb13b),_0x2572b8=new _0x2bd5b3[(_0x214fda(0x16a))](_0x1c0e0a,_0x31b80b,_0x2bd5b3['generateHexNumber'](0x3),_0x1ac049['getId'](),_0x1bb13b);_0x40d354[_0x214fda(0x417)](_0x2572b8),_0x202779['addField'](_0x1c0e0a,_0x31b80b),_0x14347f[_0x214fda(0x1dc)](_0x1c0e0a,_0x49ce7d,(_0x374d2f!=null?_0x374d2f:0x0)+0x1),_0x169528=_0x2572b8;}}}}const _0x15e22e=_0x14347f[_0x214fda(0x211)](),_0xb2e06c=_0x14347f['query']()[_0x214fda(0x302)]();let _0x42a718;if(_0x169528){_0x42a718=_0x169528[_0x214fda(0x302)]();const _0x57baec=_0x169528['getId']();_0x202779[_0x214fda(0x2e8)](_0x57baec);let _0x15e468=!0x0;for(const _0xc39c9b in _0x40d354[_0x214fda(0x17f)])if(_0x40d354[_0x214fda(0x17f)][_0xc39c9b][_0x214fda(0x214)]()[_0x214fda(0x1a1)](_0x57baec)){_0x15e468=!0x1;break;}_0x15e468&&_0x40d354['deleteDataField'](_0x57baec);}const _0x263a9d=_0x14347f[_0x214fda(0x47b)]();_0x3f810d[_0x214fda(0x466)]={'view':_0xb2e06c,'changesets':_0x263a9d,'isEmpty':_0x15e22e,'pivotTableConfig':_0xf518c7,'shouldBeAddedGroupJSON':_0x42a718};}break;case _0x22171c[_0x214fda(0x205)]:{const _0x4ce5e6=_0x6d2bd7['params'][_0x214fda(0x44b)];if(!_0x4ce5e6)return;const _0x4bc63f=_0x4ce5e6[_0x214fda(0x249)],_0x40c9bc=_0x4ce5e6[_0x214fda(0x45d)],{collection:_0x2a4f72}=this[_0x214fda(0x195)][_0x214fda(0x193)]({'unitId':_0x4bc63f['unitId'],'sheetName':_0x4bc63f[_0x214fda(0x31a)],'subUnitId':_0x4bc63f['subUnitId'],'range':_0x4bc63f[_0x214fda(0x44c)]}),_0x19b418=new _0x2bd5b3[(_0x214fda(0x181))](_0x2a4f72,void 0x0,_0x40c9bc),_0x4bbd2d=_0x19b418[_0x214fda(0x251)](),_0x351df3=_0x19b418[_0x214fda(0x302)](),_0x4211ef=_0x2a4f72[_0x214fda(0x302)]();_0x3f810d[_0x214fda(0x44b)]={'view':_0x4bbd2d,'fieldsConfig':_0x351df3,'collectionConfig':_0x4211ef,'isEmpty':_0x19b418['isEmpty']()};}break;case _0x22171c[_0x214fda(0x2a2)]:{const _0x2fc7ed=_0x6d2bd7[_0x214fda(0x40a)]['movePivotField'];if(!_0x2fc7ed)return;const {fieldId:_0x120e18,area:_0x118378,index:_0x2f5900}=_0x2fc7ed,_0x142058=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x142058)return;const _0x5b6f0a=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6);if(!_0x5b6f0a)return;_0x5b6f0a['startCollectChangeset']();const {area:_0x30f476,index:_0xbb1f7}=_0x5b6f0a[_0x214fda(0x34b)](_0x120e18);if(_0x5b6f0a[_0x214fda(0x25d)](_0x120e18,_0x118378,_0x2f5900),_0x118378===_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x3c6)]&&_0x5b6f0a['getTableFieldById'](_0x120e18)[_0x214fda(0x154)]()===void 0x0){const _0x1b464d=_0x5b6f0a[_0x214fda(0x2dc)](_0x120e18);if(_0x1b464d&&_0x1b464d[_0x214fda(0x154)]()===void 0x0){const _0x4a44fe=_0x5b6f0a[_0x214fda(0x3f9)](_0x120e18);if(_0x4a44fe){const _0x4b8267=_0x4a44fe==null?void 0x0:_0x4a44fe[_0x214fda(0x1cf)]();_0x5b6f0a[_0x214fda(0x362)](_0x120e18,_0x4b8267===_0x2bd5b3[_0x214fda(0x209)][_0x214fda(0x477)]?_0x2bd5b3[_0x214fda(0x45a)][_0x214fda(0x27d)]:_0x2bd5b3[_0x214fda(0x45a)][_0x214fda(0x30b)]);}}}const _0x5b9da0=_0x5b6f0a[_0x214fda(0x3b8)](),_0x53b516=_0x5b6f0a['getValueIndex'](),_0x4e6796=_0x5b6f0a[_0x214fda(0x2a4)](_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x3c6)])>0x1;if(_0x4e6796&&_0x30f476===_0x118378&&(_0x118378===_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x43b)]&&_0x5b9da0===_0x2bd5b3[_0x214fda(0x29c)]['Row']||_0x118378===_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x42c)]&&_0x5b9da0===_0x2bd5b3[_0x214fda(0x29c)]['Column'])){let _0x41ddea=_0x53b516;_0xbb1f7<=_0x53b516&&_0x41ddea--,_0x2f5900<=_0x53b516&&_0x41ddea++,_0x5b6f0a[_0x214fda(0x3a7)](_0x5b9da0,_0x41ddea);}else _0x4e6796&&(_0x30f476===_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x43b)]&&_0x5b9da0===_0x2bd5b3[_0x214fda(0x29c)][_0x214fda(0x43b)]||_0x30f476===_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x42c)]&&_0x5b9da0===_0x2bd5b3[_0x214fda(0x29c)]['Column'])&&_0x53b516>=_0xbb1f7&&_0x5b6f0a['updateValuePosition'](_0x5b9da0,_0x53b516-0x1),_0x4e6796&&(_0x118378===_0x2bd5b3['PivotTableFiledAreaEnum']['Row']&&_0x5b9da0===_0x2bd5b3['PivotTableValuePositionEnum']['Row']||_0x118378===_0x2bd5b3['PivotTableFiledAreaEnum'][_0x214fda(0x42c)]&&_0x5b9da0===_0x2bd5b3[_0x214fda(0x29c)]['Column'])&&_0x53b516>=_0x2f5900&&_0x5b6f0a[_0x214fda(0x3a7)](_0x5b9da0,_0x53b516+0x1);const _0x1f0438=_0x5b6f0a[_0x214fda(0x251)](),_0x5ea2df=_0x5b6f0a[_0x214fda(0x211)](),_0x47f38c=_0x5b6f0a[_0x214fda(0x47b)]();_0x3f810d[_0x214fda(0x2bd)]={'view':_0x1f0438[_0x214fda(0x302)](),'changesets':_0x47f38c,'isEmpty':_0x5ea2df,'pivotTableConfig':_0x142058};}break;case _0x22171c['RemovePivotField']:{const _0x3faac6=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x14d)];if(!_0x3faac6)return;const _0x5ca474=_0x3faac6[_0x214fda(0x1e1)],_0x48c801=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x48c801)return!0x1;const _0x430f9a=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6);if(!_0x430f9a)return!0x1;_0x430f9a[_0x214fda(0x2d0)]();for(const _0x52f4ef of _0x5ca474){const {area:_0x2e2355}=_0x430f9a['getFieldPositionInfoById'](_0x52f4ef);_0x2e2355===_0x2bd5b3['PivotTableFiledAreaEnum'][_0x214fda(0x3c6)]&&_0x430f9a[_0x214fda(0x184)](_0x52f4ef),(_0x2e2355===_0x2bd5b3['PivotTableFiledAreaEnum'][_0x214fda(0x43b)]||_0x2e2355===_0x2bd5b3[_0x214fda(0x20d)]['Column'])&&_0x430f9a[_0x214fda(0x1e3)](_0x52f4ef),_0x430f9a[_0x214fda(0x258)](_0x52f4ef);}const _0x2df14d=_0x430f9a['isEmpty'](),_0xb1de30=_0x430f9a[_0x214fda(0x251)]()[_0x214fda(0x302)](),_0xd71604=_0x430f9a[_0x214fda(0x47b)]();_0x3f810d[_0x214fda(0x14d)]={'changesets':_0xd71604,'pivotTableConfig':_0x48c801,'isEmpty':_0x2df14d,'view':_0xb1de30};}break;case _0x22171c['SetPivotFilter']:{const _0x2247e9=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x171)];if(!_0x2247e9)return;const {tableFieldId:_0x2f1652,items:_0x807f88,isAll:_0x58f0ec}=_0x2247e9,_0x1f939b=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6),_0x2fda2e=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x1f939b||!_0x2fda2e)return;_0x1f939b[_0x214fda(0x2d0)](),_0x1f939b[_0x214fda(0x441)](_0x2f1652,{'type':_0x2bd5b3[_0x214fda(0x41d)][_0x214fda(0x1eb)],'list':_0x807f88,'isAll':_0x58f0ec});const _0x541ee2=_0x1f939b['isEmpty'](),_0x3459ce=_0x1f939b[_0x214fda(0x251)]()['toJSON'](),_0x5e8221=_0x1f939b[_0x214fda(0x47b)]();_0x3f810d[_0x214fda(0x171)]={'view':_0x3459ce,'changesets':_0x5e8221,'isEmpty':_0x541ee2,'pivotTableConfig':_0x2fda2e};}break;case _0x22171c[_0x214fda(0x1b9)]:{const _0x589069=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x3cb)];if(!_0x589069)return;const {tableFieldId:_0x462a92,filterInfo:_0x474b02}=_0x589069,_0x53eaf8=this[_0x214fda(0x195)]['getPivotTableInstance'](_0x1b91d6),_0x348631=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x53eaf8||!_0x348631)return;_0x53eaf8[_0x214fda(0x2d0)](),_0x53eaf8[_0x214fda(0x2e0)](_0x462a92,_0x474b02);const _0x281db1=_0x53eaf8[_0x214fda(0x211)](),_0x4e564b=_0x53eaf8['query']()['toJSON'](),_0x5eedd2=_0x53eaf8['endCollectChangeset']();_0x3f810d[_0x214fda(0x3cb)]={'view':_0x4e564b,'changesets':_0x5eedd2,'isEmpty':_0x281db1,'pivotTableConfig':_0x348631};}break;case _0x22171c[_0x214fda(0x3b7)]:{const _0x5a7b1c=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x1f3)];if(!_0x5a7b1c)return;const {tableFieldId:_0x25de2c,info:_0x3a0b84}=_0x5a7b1c,_0xbf0fc1=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6),_0x1d984b=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0xbf0fc1||!_0x1d984b)return;_0xbf0fc1[_0x214fda(0x2d0)](),_0xbf0fc1[_0x214fda(0x37e)](_0x25de2c,_0x3a0b84);const _0x597cbf=_0xbf0fc1[_0x214fda(0x211)](),_0x5c1376=_0xbf0fc1['query']()[_0x214fda(0x302)](),_0x445364=_0xbf0fc1[_0x214fda(0x47b)]();_0x3f810d[_0x214fda(0x1f3)]={'view':_0x5c1376,'changesets':_0x445364,'isEmpty':_0x597cbf,'pivotTableConfig':_0x1d984b};}break;case _0x22171c['SetPivotSetting']:{const _0x519b1c=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x403)];if(!_0x519b1c)return;const {tableFieldId:_0x473f21,displayName:_0x5e145e,subtotalType:_0x222a49,format:_0x155f13}=_0x519b1c,_0x230bea=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6),_0x9a912=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x230bea||!_0x9a912)return;_0x230bea['startCollectChangeset'](),_0x5e145e!==void 0x0&&_0x230bea['renameField'](_0x473f21,_0x5e145e),_0x222a49!==void 0x0&&_0x230bea['setSubtotalType'](_0x473f21,_0x222a49),_0x155f13!==void 0x0&&_0x230bea[_0x214fda(0x31b)](_0x473f21,_0x155f13);const _0x2ad094=_0x230bea['isEmpty'](),_0x571184=_0x230bea[_0x214fda(0x251)]()[_0x214fda(0x302)](),_0x146a6c=_0x230bea['endCollectChangeset']();_0x3f810d[_0x214fda(0x403)]={'changesets':_0x146a6c,'pivotTableConfig':_0x9a912,'isEmpty':_0x2ad094,'view':_0x571184};}break;case _0x22171c['UpdatePivotSource']:{const _0xd3a85c=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x3bd)];if(!_0xd3a85c)return;const {dataRangeInfo:_0x47844c,unitId:_0x1c6e44,subUnitId:_0x13984c}=_0xd3a85c,_0x12c1cf=this[_0x214fda(0x195)]['getPivotTableConfig'](_0x1c6e44,_0x13984c,_0x1b91d6),_0x31f6f9=this[_0x214fda(0x195)]['getPivotTableInstance'](_0x1b91d6);if(!this[_0x214fda(0x195)][_0x214fda(0x3a1)](_0x1c6e44,_0x1b91d6)||!_0x31f6f9||!_0x12c1cf)return;const _0x1d505a=this['_sheetsPivotDataSourceModel'][_0x214fda(0x29a)](_0x1c6e44,_0x1b91d6,_0x47844c),_0xceb3b3=this[_0x214fda(0x195)][_0x214fda(0x3a1)](_0x1c6e44,_0x1b91d6)[_0x214fda(0x302)](),{collection:_0x1b26c6}=this['_sheetsPivotDataSourceModel'][_0x214fda(0x193)]({'unitId':_0x47844c['unitId'],'sheetName':_0x47844c[_0x214fda(0x31a)],'subUnitId':_0x47844c[_0x214fda(0x33c)],'range':_0x47844c[_0x214fda(0x44c)]}),_0x5c34c6=_0x1b26c6[_0x214fda(0x302)]();_0x31f6f9[_0x214fda(0x2d0)]();const _0x2b1e19=this[_0x214fda(0x195)][_0x214fda(0x328)](_0x1c6e44)['getAutoDisplayNameFunction']()||_0x2bd5b3[_0x214fda(0x345)];_0x31f6f9[_0x214fda(0x33a)](_0x22512f=>{const _0x2567b4=_0x214fda,_0x49fe53=_0x22512f[_0x2567b4(0x436)]();if(!_0x1b26c6[_0x2567b4(0x312)](_0x49fe53)){const _0x59fe65=_0x1b26c6[_0x2567b4(0x478)](_0x22512f[_0x2567b4(0x265)]());if(_0x59fe65){_0x31f6f9[_0x2567b4(0x1da)](_0x22512f[_0x2567b4(0x467)](),_0x59fe65[_0x2567b4(0x348)](),_0x59fe65[_0x2567b4(0x467)]());const {area:_0x552aac}=_0x31f6f9['getFieldPositionInfoById'](_0x22512f[_0x2567b4(0x467)]());let _0x3da8aa=_0x22512f[_0x2567b4(0x265)]();const _0x18d058=_0x22512f[_0x2567b4(0x322)]();if(_0x552aac===_0x2bd5b3[_0x2567b4(0x20d)][_0x2567b4(0x3c6)]){const _0x396c19=_0x22512f[_0x2567b4(0x154)]();_0x3da8aa=_0x2b1e19(_0x59fe65[_0x2567b4(0x348)](),_0x396c19);}_0x18d058!==_0x3da8aa&&_0x31f6f9['renameField'](_0x22512f[_0x2567b4(0x467)](),_0x3da8aa);}else _0x31f6f9['removeField'](_0x22512f[_0x2567b4(0x467)]());}});const _0xcfafab=_0x31f6f9[_0x214fda(0x211)](),_0x3e3940=_0x31f6f9[_0x214fda(0x251)]()[_0x214fda(0x302)](),_0x15dda8=_0x31f6f9['endCollectChangeset']();_0x3f810d[_0x214fda(0x3bd)]={'view':_0x3e3940,'changesets':_0x15dda8,'isEmpty':_0xcfafab,'pivotTableConfig':_0x12c1cf,'collectionConfig':_0x5c34c6,'oldCollectionConfig':_0xceb3b3,'deleteIds':_0x1d505a};}break;case _0x22171c['UpdateValuePosition']:{const _0x26ff90=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x3a7)];if(!_0x26ff90)return;const {position:_0x3ac9d7,index:_0xbacf5b}=_0x26ff90,_0x56f3a4=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x56f3a4)return!0x1;const _0x5c73ff=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6);if(!_0x5c73ff)return!0x1;_0x5c73ff[_0x214fda(0x2d0)](),_0x5c73ff[_0x214fda(0x3a7)](_0x3ac9d7,_0xbacf5b);const _0x2ab757=_0x5c73ff[_0x214fda(0x211)](),_0x4ed459=_0x5c73ff['query']()[_0x214fda(0x302)](),_0x1b06ea=_0x5c73ff[_0x214fda(0x47b)]();_0x3f810d['updateValuePosition']={'changesets':_0x1b06ea,'pivotTableConfig':_0x56f3a4,'isEmpty':_0x2ab757,'view':_0x4ed459};}break;case _0x22171c['SetPivotCollapse']:{const _0x223ff0=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x19f)];if(!_0x223ff0)return;const {tableFieldId:_0x4521de,collapse:_0x2c92ff,item:_0x3edc98}=_0x223ff0,_0x5f272e=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6),_0x5049e8=this['_sheetsPivotDataSourceModel'][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x5f272e||!_0x5049e8)return;_0x5f272e['startCollectChangeset'](),_0x5f272e[_0x214fda(0x462)](_0x4521de,_0x2c92ff,_0x3edc98);const _0x141161=_0x5f272e[_0x214fda(0x211)](),_0x3c6cc2=_0x5f272e['query']()[_0x214fda(0x302)](),_0x459a16=_0x5f272e['endCollectChangeset']();_0x3f810d[_0x214fda(0x19f)]={'view':_0x3c6cc2,'isEmpty':_0x141161,'pivotTableConfig':_0x5049e8,'changesets':_0x459a16};}break;case _0x22171c[_0x214fda(0x172)]:{const _0x1e1883=_0x6d2bd7['params']['setPivotTableConfig'];if(!_0x1e1883)return;const {pivotTableConfig:_0x180dac}=_0x1e1883,_0x5c80ee=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6),_0x138992=this['_sheetsPivotDataSourceModel'][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x5c80ee||!_0x138992)return;_0x5c80ee['startCollectChangeset'](),_0x5dedc5(_0x5c80ee,_0x180dac);const _0xb81c43=_0x5c80ee['isEmpty'](),_0x1b2270=_0x5c80ee['query']()['toJSON'](),_0x1f75bb=_0x5c80ee[_0x214fda(0x47b)]();_0x3f810d[_0x214fda(0x288)]={'view':_0x1b2270,'isEmpty':_0xb81c43,'pivotTableConfig':{..._0x138992,'fieldsConfig':_0x5c80ee[_0x214fda(0x302)]()},'changesets':_0x1f75bb};}break;case _0x22171c[_0x214fda(0x2cd)]:{const _0x459179=_0x6d2bd7[_0x214fda(0x40a)][_0x214fda(0x180)];if(!_0x459179)return;const _0x4b13d9=this[_0x214fda(0x195)][_0x214fda(0x410)](_0x1b91d6),_0x37aee3=this[_0x214fda(0x195)][_0x214fda(0x294)](_0x298cfe,_0x52dc3b,_0x1b91d6);if(!_0x4b13d9||!_0x37aee3)return;_0x4b13d9[_0x214fda(0x2d0)](),_0x1ccdd7(_0x4b13d9,_0x459179['resetArea']);const _0x22cb71=_0x4b13d9['query']()[_0x214fda(0x302)](),_0x3f2057=_0x4b13d9[_0x214fda(0x47b)]();_0x3f810d['resetPivotTable']={'view':_0x22cb71,'isEmpty':!0x0,'pivotTableConfig':{..._0x37aee3,'fieldsConfig':_0x4b13d9['toJSON']()},'changesets':_0x3f2057};}break;case _0x22171c[_0x214fda(0x1f2)]:{const _0x53166a=_0x6d2bd7[_0x214fda(0x40a)]['addPivotTableWithConfig'];if(!_0x53166a)return;const _0x5db339=_0x53166a[_0x214fda(0x249)],_0x3097c0=_0x53166a[_0x214fda(0x45d)],{collection:_0x2453a6}=this[_0x214fda(0x195)][_0x214fda(0x193)]({'unitId':_0x5db339[_0x214fda(0x3a4)],'sheetName':_0x5db339[_0x214fda(0x31a)],'subUnitId':_0x5db339['subUnitId'],'range':_0x5db339['range']}),_0x4f8a99=new _0x2bd5b3['PivotTable'](_0x2453a6,void 0x0,_0x3097c0),_0x194ad4=_0x2453a6[_0x214fda(0x214)](),{rows:_0x291e24,columns:_0x4709e3,filters:_0x1b4daf,values:_0x3d2fc1}=_0x53166a[_0x214fda(0x18e)];_0x4f8a99['startCollectChangeset']();for(const {field:_0x48e0ac,selectedItems:_0x1e3969}of _0x291e24||[]){const _0x5d9939=_0x194ad4[_0x48e0ac];if(_0x5d9939){const _0x5a73cf=_0x4f8a99[_0x214fda(0x1dc)](_0x5d9939,_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x43b)]);_0x1e3969&&_0x5a73cf&&_0x4f8a99['setLabelFilterInfo'](_0x5a73cf['getId'](),{'type':_0x2bd5b3[_0x214fda(0x41d)][_0x214fda(0x1eb)],'list':_0x1e3969,'isAll':!0x1});}}for(const {field:_0x14a7c5,selectedItems:_0x47c8da}of _0x4709e3||[]){const _0x4e8c4f=_0x194ad4[_0x14a7c5];if(_0x4e8c4f){const _0x2d150f=_0x4f8a99[_0x214fda(0x1dc)](_0x4e8c4f,_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x42c)]);_0x47c8da&&_0x2d150f&&_0x4f8a99[_0x214fda(0x441)](_0x2d150f[_0x214fda(0x467)](),{'type':_0x2bd5b3[_0x214fda(0x41d)]['ManualFilter'],'list':_0x47c8da,'isAll':!0x1});}}for(const {field:_0x267d7e,selectedItems:_0x51b7ab}of _0x1b4daf||[]){const _0x4cdfe5=_0x194ad4[_0x267d7e];if(_0x4cdfe5){const _0x2dd991=_0x4f8a99[_0x214fda(0x1dc)](_0x4cdfe5,_0x2bd5b3[_0x214fda(0x20d)]['Filter']);_0x51b7ab&&_0x2dd991&&_0x4f8a99[_0x214fda(0x441)](_0x2dd991['getId'](),{'type':_0x2bd5b3['PivotFilterTypeEnum'][_0x214fda(0x1eb)],'list':_0x51b7ab,'isAll':!0x1});}}for(const {field:_0x2e2873,subTotalType:_0x47b163,formatString:_0x43d7e2}of _0x3d2fc1||[]){const _0x112b36=_0x2453a6[_0x214fda(0x30e)](_0x194ad4[_0x2e2873]);if(!_0x112b36)continue;const _0x1f3a1d=_0x194ad4[_0x2e2873];if(_0x1f3a1d){const _0x2c037f=_0x4f8a99['addFieldWithSourceId'](_0x1f3a1d,_0x2bd5b3[_0x214fda(0x20d)][_0x214fda(0x3c6)]);if(_0x2c037f){if(_0x47b163!==void 0x0){_0x4f8a99[_0x214fda(0x362)](_0x2c037f[_0x214fda(0x467)](),_0x47b163);const _0x371704=this[_0x214fda(0x195)][_0x214fda(0x328)](_0x5db339['unitId'])[_0x214fda(0x1ab)]()||_0x2bd5b3[_0x214fda(0x345)],_0x36ef1c=_0x2453a6[_0x214fda(0x322)](_0x1f3a1d),_0x380dc5=_0x371704(_0x36ef1c,_0x47b163);_0x4f8a99['renameField'](_0x2c037f['getId'](),_0x380dc5);}else{if(_0x112b36){const _0x5f4700=_0x112b36==null?void 0x0:_0x112b36['getFieldDataType']();_0x4f8a99[_0x214fda(0x362)](_0x2c037f[_0x214fda(0x467)](),_0x5f4700===_0x2bd5b3[_0x214fda(0x209)][_0x214fda(0x477)]?_0x2bd5b3[_0x214fda(0x45a)]['sum']:_0x2bd5b3[_0x214fda(0x45a)][_0x214fda(0x30b)]);}}_0x43d7e2&&_0x4f8a99[_0x214fda(0x31b)](_0x2c037f[_0x214fda(0x467)](),_0x43d7e2);}}}const _0x2f7813=_0x4f8a99['query'](),_0x5b5daf=_0x4f8a99[_0x214fda(0x302)](),_0x362013=_0x4f8a99[_0x214fda(0x211)](),_0x506d51=_0x4f8a99[_0x214fda(0x47b)](),_0x36bdeb=_0x2453a6[_0x214fda(0x302)]();_0x3f810d['addPivotTableWithConfig']={'view':_0x2f7813,'fieldsConfig':_0x5b5daf,'collectionConfig':_0x36bdeb,'isEmpty':_0x362013,'changesets':_0x506d51};}break;case _0x22171c[_0x214fda(0x3eb)]:{const _0x20a752=_0x3a53d8(this[_0x214fda(0x3fa)],_0x6d2bd7);if(!_0x20a752)return;const {range:_0x913d9d,sourceSubUnitId:_0x3bc2c5,sourceUnitId:_0x304681,formatMap:_0x261261,indexes:_0x4db413}=_0x20a752;_0x3f810d[_0x214fda(0x3fc)]={'range':_0x913d9d,'sourceSubUnitId':_0x3bc2c5,'sourceUnitId':_0x304681,'formatMap':_0x261261,'indexes':_0x4db413};}break;}this[_0x214fda(0x1e8)][_0x214fda(0x389)](_0x293b3b['id'],{'version':_0x6d2bd7[_0x214fda(0x1c1)],'result':_0x3f810d},{'onlyLocal':!0x0});}));}[_0x47b8d2(0x2ff)](){const _0x44683c=_0x47b8d2;this[_0x44683c(0x2f6)](this[_0x44683c(0x1e8)]['onCommandExecuted'](_0x1e9a6a=>{const _0x7fd073=_0x44683c;if(_0x1e9a6a['id']!==_0x4ef0f2['id'])return;const _0x3d5892=_0x1e9a6a[_0x7fd073(0x40a)];return this[_0x7fd073(0x195)]['setTextInfo'](_0x3d5892[_0x7fd073(0x20c)]),!0x0;}));}[_0x47b8d2(0x42f)](){const _0x5443b9=_0x47b8d2;this['_sheetsPivotDataSourceModel'][_0x5443b9(0x40e)][_0x5443b9(0x1c5)](_0x27a93e=>{const _0x34239d=_0x5443b9;switch(_0x27a93e[_0x34239d(0x1df)]){case _0x591b6a['add']:_0x27a93e[_0x34239d(0x14e)]&&_0x27a93e[_0x34239d(0x1bc)]&&this['handleSourceRangeChange'](_0x27a93e[_0x34239d(0x450)],_0x27a93e['dataRangeInfo'],_0x27a93e['targetCellInfo']);break;case _0x591b6a['delete']:{const {unitId:_0x1159d4,subUnitId:_0x5b4756,token:_0x3c835e}=_0x27a93e;_0x1159d4&&_0x5b4756&&_0x3c835e&&this[_0x34239d(0x3f6)](_0x1159d4,_0x5b4756,_0x3c835e);}break;case _0x591b6a[_0x34239d(0x284)]:{const {token:_0x42a8a6,oldSourceRangeInfo:_0x1fb96b,dataRangeInfo:_0x500f77,targetCellInfo:_0x1ef382}=_0x27a93e,{unitId:_0x3e9f0e,subUnitId:_0x41fc19}=_0x1fb96b||{};_0x3e9f0e&&_0x41fc19&&_0x42a8a6&&this[_0x34239d(0x3f6)](_0x3e9f0e,_0x41fc19,_0x42a8a6),_0x500f77&&_0x1ef382&&this[_0x34239d(0x3c1)](_0x42a8a6,_0x500f77,_0x1ef382);}break;}});}[_0x47b8d2(0x47d)](){const _0x128174=_0x47b8d2;this['_sheetsPivotDataSourceModel']['fieldsCollectionChange$'][_0x128174(0x1c5)](_0x4e0536=>{Object['keys'](_0x4e0536)['forEach'](_0x2c3fe1=>{const _0x14b3dd=_0x17bb,_0x3d3b57=this[_0x14b3dd(0x195)][_0x14b3dd(0x222)](_0x2c3fe1);if(_0x3d3b57){const _0x4156cb=this[_0x14b3dd(0x195)][_0x14b3dd(0x294)](_0x3d3b57==null?void 0x0:_0x3d3b57[_0x14b3dd(0x3a4)],_0x3d3b57==null?void 0x0:_0x3d3b57[_0x14b3dd(0x33c)],_0x2c3fe1);_0x4156cb&&(this[_0x14b3dd(0x3c1)](_0x2c3fe1,_0x4156cb[_0x14b3dd(0x249)],_0x4156cb[_0x14b3dd(0x1bc)]),this[_0x14b3dd(0x247)]([{'unitId':_0x3d3b57['unitId'],'subUnitId':_0x3d3b57[_0x14b3dd(0x33c)],'token':_0x2c3fe1}]));}});});}['_subjectViewChange'](){const _0x9b19ab=_0x47b8d2;this[_0x9b19ab(0x195)][_0x9b19ab(0x22a)][_0x9b19ab(0x1c5)](_0x43c40=>{const {unitId:_0x58177f,subUnitId:_0x1e12a4,pivotTableId:_0x52eeaf}=_0x43c40;_0x58177f&&_0x1e12a4&&_0x52eeaf&&this['triggerDirtyFeature']([{'unitId':_0x58177f,'subUnitId':_0x1e12a4,'token':_0x52eeaf}]);});}['triggerDirtyFeature'](_0x42d18a){const _0x50ba0e=_0x47b8d2,_0x6cb684={};_0x42d18a[_0x50ba0e(0x464)](_0x5d36a8=>{var _0x2f75a5,_0x330093;const {unitId:_0x1e19a7,subUnitId:_0x274446,token:_0x3b0685}=_0x5d36a8;_0x6cb684[_0x1e19a7]=(_0x2f75a5=_0x6cb684[_0x1e19a7])!=null?_0x2f75a5:{},_0x6cb684[_0x1e19a7][_0x274446]=(_0x330093=_0x6cb684[_0x1e19a7][_0x274446])!=null?_0x330093:{},_0x6cb684[_0x1e19a7][_0x274446][_0x3b0685]=!0x0;}),this[_0x50ba0e(0x1e8)]['executeCommand'](_0x4e07fb['id'],_0x6cb684);}[_0x47b8d2(0x3f6)](_0x5c6bef,_0xcfd434,_0xe5b41b){const _0x997be3=_0x47b8d2;this[_0x997be3(0x41f)][_0x997be3(0x327)](_0x5c6bef,_0xcfd434,[_0xe5b41b]);}[_0x47b8d2(0x3c1)](_0x56b363,_0x301a19,_0x1e0758){const _0x3ca471=_0x47b8d2,{unitId:_0x329194,subUnitId:_0x4fce62}=_0x301a19;this[_0x3ca471(0x41f)][_0x3ca471(0x38f)](_0x1e0758[_0x3ca471(0x3a4)],_0x1e0758[_0x3ca471(0x33c)],_0x56b363)&&this[_0x3ca471(0x3f6)](_0x329194,_0x4fce62,_0x56b363);const _0x359c0c={'sheetId':_0x4fce62,..._0x301a19};this[_0x3ca471(0x41f)][_0x3ca471(0x419)](_0x1e0758[_0x3ca471(0x3a4)],_0x1e0758['subUnitId'],_0x56b363,{'unitId':_0x1e0758[_0x3ca471(0x3a4)],'subUnitId':_0x1e0758[_0x3ca471(0x33c)],'dependencyRanges':[_0x359c0c],'getDirtyData':(_0x4162e5,_0xc4ba32)=>{const _0x336c2e=_0x3ca471,_0x143757=this['_sheetsPivotDataSourceModel'],_0x39b0b2=_0x143757[_0x336c2e(0x222)](_0x56b363);if(!_0x39b0b2)return _0x14d7af();const {unitId:_0xf75f6d,subUnitId:_0x224d89}=_0x39b0b2,_0x178f8c=_0x3e7f5a(_0x4162e5,_0xc4ba32,_0x301a19);if(_0x178f8c['length']>0x0){const _0x280e2d=_0x143757[_0x336c2e(0x3a1)](_0x329194,_0x56b363),_0x2c08ee=_0x280e2d[_0x336c2e(0x214)](),_0x3624ba=this[_0x336c2e(0x2db)](_0x301a19[_0x336c2e(0x3a4)],_0x301a19[_0x336c2e(0x33c)],_0xc4ba32),_0x12474a={},_0x246268=this[_0x336c2e(0x195)][_0x336c2e(0x328)](_0xf75f6d)[_0x336c2e(0x1ab)]()||_0x2bd5b3['getAutoDisplayName'],_0x3b9ea7=[];for(const _0x6de8cd of _0x178f8c){const _0xb5971d=_0x6de8cd-(_0x301a19['range'][_0x336c2e(0x2bc)]||0x0),_0x5a9698=_0x2c08ee[_0xb5971d];_0x3b9ea7['push'](_0x5a9698),_0x12474a[_0x5a9698]=_0x280e2d[_0x336c2e(0x30e)](_0x5a9698)['getName'](),_0x143757[_0x336c2e(0x328)](_0x329194)['refreshDataField'](_0x5a9698,_0x301a19,_0xb5971d,_0x3624ba);}_0x280e2d[_0x336c2e(0x295)](_0x3b9ea7)[_0x336c2e(0x464)](_0x3d4a8a=>{const _0x1bddf6=_0x336c2e,[_0x862342,_0x47b3ab]=_0x3d4a8a,_0x133456=_0x280e2d[_0x1bddf6(0x30e)](_0x862342),_0x3f16ee=_0x280e2d[_0x1bddf6(0x30e)](_0x47b3ab);_0x133456&&_0x3f16ee&&_0x133456[_0x1bddf6(0x2c6)](_0x3f16ee);}),_0x280e2d[_0x336c2e(0x398)]();const _0x4e024c=_0x143757[_0x336c2e(0x410)](_0x56b363);if(_0x4e024c){_0x2c2b6a(_0x4e024c,_0x12474a,_0x246268),_0x4e024c[_0x336c2e(0x221)](!0x0);const _0xd6f595=_0x4e024c[_0x336c2e(0x251)](),_0x129728=_0x143757[_0x336c2e(0x294)](_0xf75f6d,_0x224d89,_0x56b363),_0x34c8e8=_0x143757[_0x336c2e(0x328)](_0x329194)[_0x336c2e(0x302)]();_0x143757['updateView'](_0xf75f6d,_0x224d89,_0x2c8cb5[_0x336c2e(0x2d7)],_0x56b363,_0xd6f595,_0x129728,_0x34c8e8,!0x0);}}return this[_0x336c2e(0x3d3)](_0xf75f6d,_0x224d89,_0x56b363);}});}[_0x47b8d2(0x2db)](_0x4aac95,_0x223867,_0x230aff){var _0x181050,_0xe3c705;const {arrayFormulaCellData:_0x573357,unitData:_0x4a7674}=_0x230aff,_0x21257b=(_0x181050=_0x573357==null?void 0x0:_0x573357[_0x4aac95])==null?void 0x0:_0x181050[_0x223867],_0x4ad24d=(_0xe3c705=_0x4a7674==null?void 0x0:_0x4a7674[_0x4aac95])==null?void 0x0:_0xe3c705[_0x223867];return{'arrayFormulaCellDataMatrix':_0x21257b,'unitDataMatrix':_0x4ad24d};}[_0x47b8d2(0x3d3)](_0x2ce178,_0x43f059,_0xca23c2){const _0x2e8fc0=_0x47b8d2,_0x3c0946=this[_0x2e8fc0(0x195)]['getViewData'](_0x2ce178,_0x43f059,_0xca23c2),_0x456679=[],_0x31d66b=new _0x108556[(_0x2e8fc0(0x161))]();if(_0x3c0946){const {rangeCache:_0xf3858b,matrix:_0x1d007a,oldRangeCache:_0xfaea03,oldMatrix:_0x4fb5f1}=_0x3c0946,_0x418b0d=_0x3c5d00(_0xfaea03),_0x272d38=_0x3c5d00(_0xf3858b);_0x456679[_0x2e8fc0(0x2aa)](..._0x272d38,..._0x418b0d),_0x4fb5f1&&_0xfaea03&&_0x418b0d[_0x2e8fc0(0x464)](_0x5cb08a=>{const _0x244840=_0x2e8fc0;for(let _0x166355=_0x5cb08a['startRow'];_0x166355<=_0x5cb08a['endRow'];_0x166355++)for(let _0x378dfd=_0x5cb08a[_0x244840(0x2bc)];_0x378dfd<=_0x5cb08a[_0x244840(0x24d)];_0x378dfd++)_0x31d66b[_0x244840(0x446)](_0x166355,_0x378dfd);}),_0x1d007a&&_0x272d38&&_0x272d38[_0x2e8fc0(0x464)](_0x14c7c7=>{const _0xfe6e99=_0x2e8fc0;for(let _0x475483=_0x14c7c7[_0xfe6e99(0x33f)];_0x475483<=_0x14c7c7[_0xfe6e99(0x3c2)];_0x475483++)for(let _0x1d3499=_0x14c7c7['startColumn'];_0x1d3499<=_0x14c7c7[_0xfe6e99(0x24d)];_0x1d3499++)_0x31d66b[_0xfe6e99(0x15d)](_0x475483,_0x1d3499,_0x1d007a[_0xfe6e99(0x1af)](_0x475483,_0x1d3499));});}const _0x36ecf7={};return _0x36ecf7[_0x2ce178]={[_0x43f059]:_0x1633b1(_0x456679)},{'runtimeCellData':{[_0x2ce178]:{[_0x43f059]:_0x31d66b}},'dirtyRanges':_0x36ecf7};}['dispose'](){}};_0xc53bc1=_0x3474fd([_0x1fc236(0x0,_0x108556[_0x47b8d2(0x24a)](_0x118be4[_0x47b8d2(0x3c8)])),_0x1fc236(0x1,_0x108556[_0x47b8d2(0x24a)](_0x3c891a[_0x47b8d2(0x3b2)])),_0x1fc236(0x2,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x2cf)])),_0x1fc236(0x3,_0x108556['Inject'](_0x3c891a[_0x47b8d2(0x2c8)])),_0x1fc236(0x4,_0x108556['Inject'](_0x108556[_0x47b8d2(0x207)]))],_0xc53bc1);var _0x10431f=Object['getOwnPropertyDescriptor'],_0x159892=(_0x4357c6,_0x46d34b,_0x1d3510,_0x2fddb0)=>{const _0x4f5c38=_0x47b8d2;for(var _0x266541=_0x2fddb0>0x1?void 0x0:_0x2fddb0?_0x10431f(_0x46d34b,_0x1d3510):_0x46d34b,_0x43e6e3=_0x4357c6[_0x4f5c38(0x472)]-0x1,_0x23dfed;_0x43e6e3>=0x0;_0x43e6e3--)(_0x23dfed=_0x4357c6[_0x43e6e3])&&(_0x266541=_0x23dfed(_0x266541)||_0x266541);return _0x266541;},_0x36e243=(_0x5e1d21,_0x1a6e8a)=>(_0x56c36c,_0x376843)=>_0x1a6e8a(_0x56c36c,_0x376843,_0x5e1d21);let _0x243a9e=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x1066bb,_0x468822,_0x1f8e0d,_0x55d7c5){const _0x1d88bb=_0x47b8d2;super(),_0x44a70e(this,_0x1d88bb(0x23c),new _0x108556['DisposableCollection']()),(this[_0x1d88bb(0x3ca)]=_0x1066bb,this[_0x1d88bb(0x1c0)]=_0x468822,this['_sheetsSelectionsService']=_0x1f8e0d,this['_sheetsPivotTableConfigModel']=_0x55d7c5,this[_0x1d88bb(0x3d2)]());}['_initClearSelectionCommandInterceptor'](){const _0x2644e2=_0x47b8d2;this[_0x2644e2(0x2f6)](this['_sheetInterceptorService'][_0x2644e2(0x315)]({'getMutations':_0x51420d=>{const _0x53e8d1=_0x2644e2;if(_0x51420d['id']===_0x3c8849[_0x53e8d1(0x256)]['id']||_0x51420d['id']===_0x3c8849[_0x53e8d1(0x167)]['id']){const _0x1068d4=[],_0x236c52=[],_0x46082c=this['_sheetsSelectionsService'][_0x53e8d1(0x3af)]()[_0x53e8d1(0x31d)](_0x380b50=>_0x380b50[_0x53e8d1(0x44c)]),_0x3ef21f=_0x3c8849[_0x53e8d1(0x374)](this[_0x53e8d1(0x3ca)]);if(!_0x3ef21f)return{'redos':[],'undos':[]};const {unitId:_0x3743d6,subUnitId:_0x155306}=_0x3ef21f,_0x375528={},_0x5b3616=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x3743d6,_0x155306);if(_0x5b3616!=null&&_0x5b3616[_0x53e8d1(0x192)])for(const [_0xb99084,_0x5492e8]of _0x5b3616){const {unitId:_0xda72f1,subUnitId:_0x3705a5,row:_0x4e4071,col:_0x17d70f}=_0x5492e8[_0x53e8d1(0x1bc)];_0xda72f1===_0x3ef21f[_0x53e8d1(0x3a4)]&&_0x3705a5===_0x3ef21f[_0x53e8d1(0x33c)]&&(_0x375528[_0x4e4071+'-'+_0x17d70f]=_0xb99084);}return _0x46082c&&_0x3ef21f&&_0x46082c[_0x53e8d1(0x464)](_0xb69c67=>{const _0x47a3a0=_0x53e8d1;_0x108556[_0x47a3a0(0x2e2)][_0x47a3a0(0x18f)](_0xb69c67,(_0x12804c,_0x236110)=>{const _0x3e8132=_0x47a3a0,_0x2c5bae=_0x12804c+'-'+_0x236110;if(_0x375528[_0x2c5bae]){const _0x755e1a=_0x375528[_0x2c5bae];_0x1068d4[_0x3e8132(0x2aa)]({'id':_0x232b32['id'],'params':{'unitId':_0x3743d6,'subUnitId':_0x155306,'pivotTableId':_0x755e1a}});const _0x4891f7=this[_0x3e8132(0x18c)]['getCollection'](_0x3743d6,_0x755e1a),_0x57f506=this[_0x3e8132(0x18c)][_0x3e8132(0x294)](_0x3743d6,_0x155306,_0x755e1a);_0x236c52[_0x3e8132(0x2aa)]({'id':_0x132d3e['id'],'params':{'unitId':_0x3743d6,'subUnitId':_0x155306,'pivotTableId':_0x755e1a,'pivotTableConfig':_0x57f506,'collectionConfig':_0x4891f7}});}});}),{'redos':_0x1068d4,'undos':_0x236c52};}return{'redos':[],'undos':[]};}}));}};_0x243a9e=_0x159892([_0x36e243(0x0,_0x108556[_0x47b8d2(0x371)]),_0x36e243(0x1,_0x108556['Inject'](_0x3c8849[_0x47b8d2(0x465)])),_0x36e243(0x2,_0x108556[_0x47b8d2(0x24a)](_0x3c8849[_0x47b8d2(0x17a)])),_0x36e243(0x3,_0x108556['Inject'](_0x118be4[_0x47b8d2(0x350)]))],_0x243a9e);var _0x79b931=Object[_0x47b8d2(0x44f)],_0x2459a6=(_0x23418f,_0x45014e,_0x4d959d,_0x30b740)=>{const _0x15f6ac=_0x47b8d2;for(var _0x3ea577=_0x30b740>0x1?void 0x0:_0x30b740?_0x79b931(_0x45014e,_0x4d959d):_0x45014e,_0x232838=_0x23418f[_0x15f6ac(0x472)]-0x1,_0x568373;_0x232838>=0x0;_0x232838--)(_0x568373=_0x23418f[_0x232838])&&(_0x3ea577=_0x568373(_0x3ea577)||_0x3ea577);return _0x3ea577;},_0x554c24=(_0x4608a4,_0x7cb976)=>(_0x538f4f,_0x4c8015)=>_0x7cb976(_0x538f4f,_0x4c8015,_0x4608a4);let _0x1e9366=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x3103f7,_0x323476,_0x1d35ef,_0x50946e,_0x5d0d03){const _0x136c95=_0x47b8d2;super(),this['_sheetInterceptorService']=_0x3103f7,this[_0x136c95(0x3fa)]=_0x323476,this['_univerInstanceService']=_0x1d35ef,this[_0x136c95(0x18c)]=_0x50946e,this[_0x136c95(0x237)]=_0x5d0d03,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0x5b2a8f,_0x5dcb65,_0x5986b0){const _0xf5586=_0x47b8d2,{pageView:_0xfaf401,cornerView:_0x479aa6,rowView:_0x2f0b9b,colView:_0x5348eb,dataView:_0x1b1f7f}=_0x5dcb65,_0xf888f0=_0x5b2a8f;let _0x32403b;if(_0x5986b0)_0x32403b=[..._0x1d4bcb(_0xf888f0)];else{const _0x20b672=_0x5e81ab(_0xf888f0,_0xfaf401,!0x0),_0x50f6f6=_0xfaf401[_0xf5586(0x35b)]>=0x0?_0xfaf401[_0xf5586(0x35b)]+0x1:0x0,_0x3d0eb4=_0x479aa6[_0xf5586(0x391)],_0x1761fd=_0x479aa6[_0xf5586(0x25e)],_0x475012=_0x20b672[_0xf5586(0x472)]>0x0?_0x467340:0x0,_0x4f8d65=_0x5e81ab({'row':_0xf888f0[_0xf5586(0x296)]+_0x50f6f6+_0x475012,'col':_0xf888f0[_0xf5586(0x319)]},_0x479aa6,!0x1,!0x1),_0x4f93a9=_0x5e81ab({'row':_0xf888f0['row']+_0x50f6f6+_0x475012+_0x3d0eb4,'col':_0xf888f0['col']},_0x2f0b9b,!0x1,!0x0),_0x595948=_0x5e81ab({'row':_0xf888f0['row']+_0x50f6f6+_0x475012,'col':_0xf888f0['col']+_0x1761fd},_0x5348eb,!0x1,!0x0),_0x2143ab=_0x5e81ab({'row':_0xf888f0['row']+_0x50f6f6+_0x475012+_0x3d0eb4,'col':_0xf888f0[_0xf5586(0x319)]+_0x1761fd},_0x1b1f7f,!0x1,!0x0);_0x32403b=[..._0x20b672,..._0x4f8d65,..._0x4f93a9,..._0x595948,..._0x2143ab];}return _0x32403b;}[_0x47b8d2(0x15c)](){const _0x1ab87f=_0x47b8d2;this[_0x1ab87f(0x2f6)](this[_0x1ab87f(0x237)][_0x1ab87f(0x2e4)][_0x1ab87f(0x43c)](this[_0x1ab87f(0x237)][_0x1ab87f(0x2e4)][_0x1ab87f(0x3a2)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x2cd872,_0x812410)=>{const _0x26f96c=_0x1ab87f,{cellInfo:_0x9e1b48,view:_0x17d55b,isEmpty:_0x5ea979}=_0x812410,_0x12cd53=_0x9e1b48,{unitId:_0x2a204b,subUnitId:_0x2b0226}=_0x12cd53,_0x3c44b4=this['_getPivotAppliedRanges'](_0x9e1b48,_0x17d55b,_0x5ea979),_0x17ea05=this['_sheetInterceptorService'][_0x26f96c(0x2cb)]({'unitId':_0x2a204b,'subUnitId':_0x2b0226,'ranges':_0x3c44b4}),_0x3a343c=_0x289a33(this[_0x26f96c(0x3fa)],_0x2a204b,_0x2b0226,_0x3c44b4);_0x3a343c[_0x26f96c(0x2f3)]&&(_0x17ea05[_0x26f96c(0x1b3)]['push'](_0x3a343c[_0x26f96c(0x1ea)]),_0x17ea05['undos'][_0x26f96c(0x2aa)](_0x3a343c[_0x26f96c(0x343)]));const _0x555571=this[_0x26f96c(0x320)](_0x17d55b,_0x9e1b48);return _0x17ea05['redos']['push'](..._0x555571[_0x26f96c(0x1b3)]),_0x17ea05[_0x26f96c(0x34f)][_0x26f96c(0x2aa)](..._0x555571[_0x26f96c(0x34f)]),{'redos':_0x17ea05['redos'],'undos':_0x17ea05[_0x26f96c(0x34f)]};}}));}[_0x47b8d2(0x320)](_0x15f2a9,_0x359095){const _0xb92c18=_0x47b8d2,{col:_0x5510a6,unitId:_0x3e2432,subUnitId:_0x1e9a4e}=_0x359095,_0x35aa8f=[],_0x8788a1=[],_0x138103=_0x3c8849[_0xb92c18(0x374)](this[_0xb92c18(0x3ca)],{'unitId':_0x3e2432,'subUnitId':_0x1e9a4e});if(!_0x359095||!_0x15f2a9||!_0x138103)return{'undos':_0x8788a1,'redos':_0x35aa8f};const _0x2ce6d0=this[_0xb92c18(0x18c)][_0xb92c18(0x1d3)](),{colView:_0x12b2f4,dataView:_0x37a7ce,cornerView:_0xe619c7,rowView:_0x508770,formatMap:_0x5435df}=_0x15f2a9,_0x462f43=_0x37c209(_0x12b2f4,_0x2ce6d0,!0x0,_0x5435df),_0x1b1873=_0x37c209(_0x508770,_0x2ce6d0,!0x1,_0x5435df),_0x1b306e=_0x14856a(_0x37a7ce),_0x498ab5=_0x17df82(_0xe619c7),{worksheet:_0x43394b}=_0x138103;if(typeof window<'u'&&window[_0xb92c18(0x443)]){const _0x3fe008=_0x420b3c[_0xb92c18(0x395)]({..._0x7fce34['colStyle']}),_0x424509=_0x420b3c[_0xb92c18(0x2cc)]['getTextSize'](_0x462f43,_0x3fe008)['width']+0x10,_0x4e31c7=_0x420b3c[_0xb92c18(0x2cc)][_0xb92c18(0x179)](_0x1b306e,_0x3fe008)[_0xb92c18(0x390)],_0x16755d=Math[_0xb92c18(0x20b)](Math[_0xb92c18(0x43a)](_0x424509,_0x4e31c7))+0x10,_0x359b9d=Math['floor'](_0x420b3c[_0xb92c18(0x2cc)][_0xb92c18(0x179)](_0x1b1873,_0x3fe008)[_0xb92c18(0x390)]),_0x522143=Math[_0xb92c18(0x20b)](_0x420b3c[_0xb92c18(0x2cc)][_0xb92c18(0x179)](_0x498ab5,_0x3fe008)[_0xb92c18(0x390)]),_0xfb9167=Math[_0xb92c18(0x43a)](_0x359b9d,_0x522143,0x28)+0xc,_0x4d4d4d=_0x12b2f4[_0xb92c18(0x25e)]+_0xe619c7[_0xb92c18(0x25e)],_0x5ee3e7={},_0xf3d790={};for(let _0x2d55e7=_0x5510a6;_0x2d55e7<_0x5510a6+_0x4d4d4d;_0x2d55e7++){const _0x45a1db=_0x43394b['getColumnWidth'](_0x2d55e7);_0x5ee3e7[_0x2d55e7]=_0x45a1db,_0x2d55e7-_0x5510a6<_0xe619c7[_0xb92c18(0x25e)]?_0xf3d790[_0x2d55e7-_0x5510a6]=_0xfb9167:_0xf3d790[_0x2d55e7-_0x5510a6]=_0x16755d;}_0x35aa8f[_0xb92c18(0x2aa)]({'id':_0x3c8849[_0xb92c18(0x39a)]['id'],'params':{'subUnitId':_0x1e9a4e,'unitId':_0x3e2432,'ranges':[{'startColumn':_0x5510a6,'endColumn':_0x5510a6+_0x4d4d4d-0x1,'startRow':0x0,'endRow':_0x43394b[_0xb92c18(0x287)]()-0x1}],'colWidth':_0xf3d790}}),_0x8788a1[_0xb92c18(0x2aa)]({'id':_0x3c8849[_0xb92c18(0x39a)]['id'],'params':{'subUnitId':_0x1e9a4e,'unitId':_0x3e2432,'ranges':[{'startColumn':_0x5510a6,'endColumn':_0x5510a6+_0x4d4d4d-0x1,'startRow':0x0,'endRow':_0x43394b[_0xb92c18(0x287)]()-0x1}],'colWidth':_0x5ee3e7}});}return{'undos':_0x8788a1,'redos':_0x35aa8f};}};_0x1e9366=_0x2459a6([_0x554c24(0x0,_0x108556[_0x47b8d2(0x24a)](_0x3c8849[_0x47b8d2(0x465)])),_0x554c24(0x1,_0x108556[_0x47b8d2(0x24a)](_0x108556['Injector'])),_0x554c24(0x2,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x371)])),_0x554c24(0x3,_0x108556[_0x47b8d2(0x24a)](_0x118be4['SheetsPivotTableConfigModel'])),_0x554c24(0x4,_0x108556[_0x47b8d2(0x24a)](_0x118be4['SheetsPivotTableService']))],_0x1e9366);var _0x543896=Object['getOwnPropertyDescriptor'],_0x49713f=(_0xc6d0a3,_0x90b20,_0x27d3b9,_0x447f53)=>{for(var _0x464138=_0x447f53>0x1?void 0x0:_0x447f53?_0x543896(_0x90b20,_0x27d3b9):_0x90b20,_0x11e8e1=_0xc6d0a3['length']-0x1,_0x2376b9;_0x11e8e1>=0x0;_0x11e8e1--)(_0x2376b9=_0xc6d0a3[_0x11e8e1])&&(_0x464138=_0x2376b9(_0x464138)||_0x464138);return _0x464138;},_0x5c1dd4=(_0x48cabc,_0x2a22c1)=>(_0x49bac1,_0x47e440)=>_0x2a22c1(_0x49bac1,_0x47e440,_0x48cabc);let _0x5da21c=class extends _0x108556['Disposable']{constructor(_0x427265,_0x527081,_0x54251f,_0x2e3755,_0xf3afc3,_0x20dbd9,_0x11d84b){const _0xf235d5=_0x47b8d2;super(),_0x44a70e(this,_0xf235d5(0x23c),new _0x108556['DisposableCollection']()),(this[_0xf235d5(0x3fa)]=_0x427265,this[_0xf235d5(0x2f8)]=_0x527081,this['_commandService']=_0x54251f,this['_univerInstanceService']=_0x2e3755,this['_sheetsPivotTableConfigModel']=_0xf3afc3,this[_0xf235d5(0x3d4)]=_0x20dbd9,this['_sheetInterceptorService']=_0x11d84b,this[_0xf235d5(0x434)]());}[_0x47b8d2(0x434)](){const _0xf87bf5=_0x47b8d2,_0x3ec940=(_0x230994,_0x198cc6)=>{const _0x1ccfb6=_0x17bb,_0x536be8=this[_0x1ccfb6(0x3ca)][_0x1ccfb6(0x308)](_0x108556['UniverInstanceType'][_0x1ccfb6(0x260)]);if(!_0x536be8||!(_0x536be8==null?void 0x0:_0x536be8['getSheetBySheetId'](_0x198cc6)))return;this[_0x1ccfb6(0x23c)]['dispose']();const _0x37352c=_0x5c7a05=>this[_0x1ccfb6(0x3bb)](_0x5c7a05,_0x230994,_0x198cc6),_0x3c0579=this['_sheetsPivotTableConfigModel'][_0x1ccfb6(0x385)](_0x230994,_0x198cc6);if(!(_0x3c0579!=null&&_0x3c0579[_0x1ccfb6(0x192)]))return;Array['from'](_0x3c0579[_0x1ccfb6(0x2c2)]())[_0x1ccfb6(0x31d)](_0x526760=>{const _0x172a87=_0x1ccfb6,{row:_0x4d66dc,col:_0x24284f}=_0x526760[_0x172a87(0x1bc)];return _0x108556['cellToRange'](_0x4d66dc,_0x24284f);})[_0x1ccfb6(0x464)](_0x595d95=>{const _0x4a97ae=_0x1ccfb6;this[_0x4a97ae(0x23c)][_0x4a97ae(0x273)](this[_0x4a97ae(0x2f8)][_0x4a97ae(0x356)](_0x595d95,_0x37352c,_0x230994,_0x198cc6));});},_0xf31acc=()=>{const _0x29abd2=_0x17bb,_0x1725b6=this[_0x29abd2(0x3ca)]['getCurrentUnitForType'](_0x108556[_0x29abd2(0x298)][_0x29abd2(0x260)]);if(_0x1725b6){const _0x106b56=_0x1725b6[_0x29abd2(0x386)]();if(!_0x106b56)return;_0x3ec940(_0x1725b6[_0x29abd2(0x41c)](),_0x106b56[_0x29abd2(0x342)]());}};this[_0xf87bf5(0x2f6)](this[_0xf87bf5(0x1e8)][_0xf87bf5(0x22d)](_0x535a1a=>{const _0x55d0bf=_0xf87bf5;if(_0x535a1a['id']===_0x3c8849[_0x55d0bf(0x213)]['id']){const _0x30e98f=_0x535a1a[_0x55d0bf(0x40a)],_0x353178=_0x30e98f[_0x55d0bf(0x33c)],_0x381d70=_0x30e98f[_0x55d0bf(0x3a4)];if(!_0x353178||!_0x381d70)return;_0x3ec940(_0x381d70,_0x353178);}})),this[_0xf87bf5(0x2f6)](this[_0xf87bf5(0x18c)]['pivotInitCompleted$'][_0xf87bf5(0x1c5)](_0x26caee=>{_0x26caee&&_0xf31acc();})),this[_0xf87bf5(0x2f6)](this[_0xf87bf5(0x18c)][_0xf87bf5(0x21a)][_0xf87bf5(0x1c5)](_0xe839f5=>{const _0x3ade6a=_0xf87bf5,_0x62fe6b=_0x3c8849[_0x3ade6a(0x374)](this['_univerInstanceService']);if(!_0x62fe6b)return;const {unitId:_0x4bb48f,subUnitId:_0x5eea84}=_0x62fe6b,{unitId:_0x510a7f,subUnitId:_0x1330c7}=_0xe839f5;_0x4bb48f!==_0x510a7f||_0x5eea84!==_0x1330c7||_0x3ec940(_0x4bb48f,_0x5eea84);})),_0xf31acc();}['_refRangeHandle'](_0x4fcfd8,_0x13a09f,_0x4f66e3){const _0x6ae327=_0x47b8d2;switch(_0x4fcfd8['id']){case _0x3c8849[_0x6ae327(0x2a9)]['id']:return this[_0x6ae327(0x408)](_0x4fcfd8[_0x6ae327(0x40a)],_0x13a09f,_0x4f66e3);}return{'redos':[],'undos':[]};}[_0x47b8d2(0x408)](_0x4c54b0,_0x37b4e1,_0x15948){const _0x2863d4=_0x47b8d2,{fromRange:_0x5c2ff3,toRange:_0x29259a}=_0x4c54b0,_0x4d7c7f=[],_0x53b926=[],_0x5166df=_0x3c8849[_0x2863d4(0x374)](this[_0x2863d4(0x3ca)]);if(!_0x5166df)return{'undos':_0x53b926,'redos':_0x4d7c7f};if(_0x37b4e1!==_0x5166df[_0x2863d4(0x3a4)]||_0x15948!==_0x5166df['subUnitId'])return{'undos':_0x53b926,'redos':_0x4d7c7f};const _0x5b6552=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x37b4e1,_0x15948);if(_0x5b6552!=null&&_0x5b6552[_0x2863d4(0x192)])for(const [_0x5b64ef,_0x1507ce]of _0x5b6552){const {unitId:_0x1ec722,subUnitId:_0x22db30,row:_0x4adf49,col:_0x342ea6}=_0x1507ce[_0x2863d4(0x1bc)];if(_0x1ec722===_0x5166df[_0x2863d4(0x3a4)]&&_0x22db30===_0x5166df[_0x2863d4(0x33c)]){const _0x231d9a=_0x108556[_0x2863d4(0x28f)](_0x4adf49,_0x342ea6);if(_0x108556[_0x2863d4(0x23b)][_0x2863d4(0x372)](_0x231d9a,_0x5c2ff3)){const _0x49ca10=_0x4adf49-_0x5c2ff3[_0x2863d4(0x33f)],_0x5a1a49=_0x342ea6-_0x5c2ff3[_0x2863d4(0x2bc)],_0x29dad3={'row':_0x29259a[_0x2863d4(0x33f)]+_0x49ca10,'col':_0x29259a[_0x2863d4(0x2bc)]+_0x5a1a49};_0x4d7c7f[_0x2863d4(0x2aa)]({'id':_0x50041f['id'],'params':{'unitId':_0x1ec722,'subUnitId':_0x22db30,'pivotTableId':_0x5b64ef,'targetCellPosition':_0x29dad3}}),_0x53b926[_0x2863d4(0x2aa)]({'id':_0x50041f['id'],'params':{'unitId':_0x1ec722,'subUnitId':_0x22db30,'pivotTableId':_0x5b64ef,'targetCellPosition':{'row':_0x4adf49,'col':_0x342ea6}}});const _0x526233=_0x29dad3[_0x2863d4(0x296)]-_0x4adf49,_0xdc38bf=_0x29dad3[_0x2863d4(0x319)]-_0x342ea6,_0x2e1f97=[],_0x1b3123=this[_0x2863d4(0x3d4)][_0x2863d4(0x455)](_0x1ec722,_0x22db30,_0x5b64ef),_0x4067e1=_0x1b3123==null?void 0x0:_0x1b3123['rangesInfo'];if(_0x4067e1){Object[_0x2863d4(0x24f)](_0x4067e1)[_0x2863d4(0x464)](_0x3f7483=>{const _0xa1c347=_0x2863d4;_0x4067e1[_0x3f7483][_0xa1c347(0x464)](_0x129554=>{const _0x3cfcfb=_0xa1c347,_0xed8e1d={..._0x129554};_0xed8e1d[_0x3cfcfb(0x33f)]=_0x129554[_0x3cfcfb(0x33f)]+_0x526233,_0xed8e1d[_0x3cfcfb(0x3c2)]=_0x129554['endRow']+_0x526233,_0xed8e1d[_0x3cfcfb(0x2bc)]=_0x129554[_0x3cfcfb(0x2bc)]+_0xdc38bf,_0xed8e1d[_0x3cfcfb(0x24d)]=_0x129554['endColumn']+_0xdc38bf,_0x2e1f97['push'](_0xed8e1d);});});const _0x48f956=this[_0x2863d4(0x1c0)][_0x2863d4(0x2cb)]({'unitId':_0x1ec722,'subUnitId':_0x22db30,'ranges':_0x2e1f97});_0x4d7c7f[_0x2863d4(0x2aa)](..._0x48f956[_0x2863d4(0x1b3)]),_0x53b926[_0x2863d4(0x2aa)](..._0x48f956[_0x2863d4(0x34f)]);const _0x403243=_0x289a33(this[_0x2863d4(0x3fa)],_0x1ec722,_0x22db30,_0x2e1f97);_0x403243[_0x2863d4(0x2f3)]&&(_0x4d7c7f[_0x2863d4(0x2aa)](_0x403243[_0x2863d4(0x1ea)]),_0x53b926[_0x2863d4(0x2aa)](_0x403243['setRangeValueUndoMutation']));}}}}return{'redos':_0x4d7c7f,'undos':_0x53b926};}};_0x5da21c=_0x49713f([_0x5c1dd4(0x0,_0x108556[_0x47b8d2(0x24a)](_0x108556['Injector'])),_0x5c1dd4(0x1,_0x108556[_0x47b8d2(0x24a)](_0x3c8849[_0x47b8d2(0x2ae)])),_0x5c1dd4(0x2,_0x108556[_0x47b8d2(0x2cf)]),_0x5c1dd4(0x3,_0x108556[_0x47b8d2(0x371)]),_0x5c1dd4(0x4,_0x108556[_0x47b8d2(0x24a)](_0x118be4[_0x47b8d2(0x350)])),_0x5c1dd4(0x5,_0x108556[_0x47b8d2(0x24a)](_0x118be4[_0x47b8d2(0x1a4)])),_0x5c1dd4(0x6,_0x108556['Inject'](_0x3c8849['SheetInterceptorService']))],_0x5da21c);var _0x5e77a3=Object[_0x47b8d2(0x44f)],_0x8b479b=(_0x3d4e4f,_0x3707c0,_0x3da415,_0x5ede1e)=>{const _0x6e277c=_0x47b8d2;for(var _0x19730c=_0x5ede1e>0x1?void 0x0:_0x5ede1e?_0x5e77a3(_0x3707c0,_0x3da415):_0x3707c0,_0x1d9577=_0x3d4e4f[_0x6e277c(0x472)]-0x1,_0x79e128;_0x1d9577>=0x0;_0x1d9577--)(_0x79e128=_0x3d4e4f[_0x1d9577])&&(_0x19730c=_0x79e128(_0x19730c)||_0x19730c);return _0x19730c;},_0x35e839=(_0x56d7c5,_0x521b78)=>(_0x36d188,_0x42336f)=>_0x521b78(_0x36d188,_0x42336f,_0x56d7c5);let _0x46bba1=class extends _0x108556['Disposable']{constructor(_0x51c0da,_0x52664f){const _0x6a316f=_0x47b8d2;super(),this[_0x6a316f(0x1c0)]=_0x51c0da,this[_0x6a316f(0x18c)]=_0x52664f,this[_0x6a316f(0x422)]();}[_0x47b8d2(0x422)](){const _0x4a7c2e=_0x47b8d2;this[_0x4a7c2e(0x2f6)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x2f2e9c=>{const _0x49dc00=_0x4a7c2e;if(_0x2f2e9c['id']===_0x3c8849[_0x49dc00(0x286)]['id']){const _0x6f81d2=[],_0x3e6eae=[],_0x17bcd1=_0x2f2e9c[_0x49dc00(0x40a)],{unitId:_0x5a4971,subUnitId:_0x3d2366}=_0x17bcd1;if(!_0x5a4971||!_0x3d2366)return{'undos':_0x3e6eae,'redos':_0x6f81d2};const _0x29e20d=this[_0x49dc00(0x18c)][_0x49dc00(0x385)](_0x5a4971,_0x3d2366);if(_0x29e20d!=null&&_0x29e20d[_0x49dc00(0x192)])for(const [_0xb455,_0x132fbf]of _0x29e20d){_0x6f81d2[_0x49dc00(0x2aa)]({'id':_0x232b32['id'],'params':{'unitId':_0x5a4971,'subUnitId':_0x3d2366,'pivotTableId':_0xb455}});const _0x538c14={...this[_0x49dc00(0x18c)][_0x49dc00(0x3a1)](_0x5a4971,_0xb455)};_0x3e6eae[_0x49dc00(0x2aa)]({'id':_0x132d3e['id'],'params':{'unitId':_0x5a4971,'subUnitId':_0x3d2366,'pivotTableId':_0xb455,'pivotTableConfig':_0x132fbf,'collectionConfig':_0x538c14}});}return{'redos':_0x6f81d2,'undos':_0x3e6eae};}return{'redos':[],'undos':[]};}}));}};_0x46bba1=_0x8b479b([_0x35e839(0x0,_0x108556[_0x47b8d2(0x24a)](_0x3c8849[_0x47b8d2(0x465)])),_0x35e839(0x1,_0x108556[_0x47b8d2(0x24a)](_0x118be4['SheetsPivotTableConfigModel']))],_0x46bba1);var _0x5d8401=Object[_0x47b8d2(0x44f)],_0x76cc8=(_0x852819,_0xc6b4ef,_0x31b98d,_0x1c3860)=>{const _0x44305e=_0x47b8d2;for(var _0x5f123f=_0x1c3860>0x1?void 0x0:_0x1c3860?_0x5d8401(_0xc6b4ef,_0x31b98d):_0xc6b4ef,_0x42bf77=_0x852819[_0x44305e(0x472)]-0x1,_0x16214a;_0x42bf77>=0x0;_0x42bf77--)(_0x16214a=_0x852819[_0x42bf77])&&(_0x5f123f=_0x16214a(_0x5f123f)||_0x5f123f);return _0x5f123f;},_0x409713=(_0x3f10a5,_0x55097c)=>(_0x49367c,_0x2dd3e5)=>_0x55097c(_0x49367c,_0x2dd3e5,_0x3f10a5);let _0x219f8f=class extends _0x108556[_0x47b8d2(0x3d8)]{constructor(_0x3e75a8,_0x52133d,_0x358b01,_0x304ce2,_0x14a3a9,_0x5ea2f4){const _0x2b50ca=_0x47b8d2;super(),this[_0x2b50ca(0x1e8)]=_0x3e75a8,this[_0x2b50ca(0x1e7)]=_0x52133d,this[_0x2b50ca(0x3d4)]=_0x358b01,this[_0x2b50ca(0x18c)]=_0x304ce2,this[_0x2b50ca(0x3ca)]=_0x14a3a9,this[_0x2b50ca(0x396)]=_0x5ea2f4,this[_0x2b50ca(0x305)](),this['registerDirtyService']();}['_initDataSendListener'](){const _0xa7869a=_0x47b8d2;this[_0xa7869a(0x2f6)](this[_0xa7869a(0x1e8)]['onCommandExecuted'](_0x33edb5=>{const _0x4b33aa=_0xa7869a;if(_0x33edb5['id']!==_0x293b3b['id'])return;const _0x4871f5=_0x33edb5[_0x4b33aa(0x40a)];this[_0x4b33aa(0x1e7)]['handleAsyncResponse'](_0x4871f5);})),this[_0xa7869a(0x2f6)](this[_0xa7869a(0x1e8)]['onCommandExecuted'](_0x165098=>{const _0x31b87d=_0xa7869a;if(_0x165098['id']===_0x5ea1b6['id']){const _0x2ba054=_0x165098[_0x31b87d(0x40a)];if(_0x2ba054){const {unitId:_0x4d000f,subUnitId:_0x59e046,oldSubUnitId:_0x33bec6,pivotTableId:_0x2e948c,pivotTableConfig:_0xaa8573,collectionConfig:_0x4903ec}=_0x2ba054;this[_0x31b87d(0x18c)][_0x31b87d(0x38b)](_0x4d000f,_0x33bec6,_0x2ba054[_0x31b87d(0x45d)],null),this['_sheetsPivotTableConfigModel'][_0x31b87d(0x38b)](_0x4d000f,_0x59e046,_0x2e948c,_0xaa8573),this[_0x31b87d(0x18c)]['updateCollectionConfig'](_0x4d000f,_0x4903ec);}}})),this[_0xa7869a(0x2f6)](this[_0xa7869a(0x1e8)][_0xa7869a(0x22d)](_0x120b7d=>{const _0x46533f=_0xa7869a;if(_0x120b7d['id']!==_0x4fe718['id'])return;const _0x15795d=_0x3c8849['getSheetCommandTarget'](this[_0x46533f(0x3ca)]);if(!_0x15795d)return;const {unitId:_0x12566d,subUnitId:_0x33954a}=_0x15795d,_0xc9f4fa=_0x120b7d['params'];if(_0xc9f4fa['collectionConfig']&&Object[_0x46533f(0x24f)](_0xc9f4fa[_0x46533f(0x1ee)])['forEach'](_0x1d000b=>{const _0x44e2e4=_0x46533f;var _0x4916a6;(_0x4916a6=_0xc9f4fa[_0x44e2e4(0x1ee)])!=null&&_0x4916a6[_0x1d000b]&&this[_0x44e2e4(0x18c)][_0x44e2e4(0x262)](_0x1d000b,_0xc9f4fa[_0x44e2e4(0x1ee)][_0x1d000b]);}),_0xc9f4fa[_0x46533f(0x33b)]){const _0x206c33=_0xc9f4fa[_0x46533f(0x33b)],{unitId:_0x4a72fe,subUnitId:_0x4ae96c,view:_0x2bde7d,pivotTableId:_0x52da00,type:_0x360618,pivotConfig:_0xa90840}=_0x206c33;if(_0x360618===_0x2c8cb5[_0x46533f(0x3b3)])this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0x4a72fe,'subUnitId':_0x4ae96c,'pivotTableId':_0x52da00,'type':_0x360618}),this[_0x46533f(0x18c)]['updateConfigCache'](_0x4a72fe,_0x4ae96c,_0x52da00,null);else{const _0xe6db1d=new _0x2bd5b3[(_0x46533f(0x3cf))]();_0xe6db1d['formJSON'](_0x2bde7d),this[_0x46533f(0x18c)][_0x46533f(0x38b)](_0x4a72fe,_0x4ae96c,_0x52da00,_0xa90840),this[_0x46533f(0x3d4)]['clearRenderCache']({'unitId':_0x4a72fe,'subUnitId':_0x4ae96c,'pivotTableId':_0x52da00,'type':_0x360618,'view':_0xe6db1d}),this[_0x46533f(0x3d4)]['updateRenderCache']({'unitId':_0x4a72fe,'subUnitId':_0x4ae96c,'view':_0xe6db1d,'pivotTableId':_0x52da00,'type':_0x360618});}}else _0xc9f4fa[_0x46533f(0x340)]&&(_0xc9f4fa[_0x46533f(0x340)][_0x46533f(0x464)](_0x5d99df=>{const _0x5a9691=_0x46533f,{unitId:_0x4b50c8,subUnitId:_0x21460c,view:_0x235bdd,pivotTableId:_0x487b61,type:_0x10a1dc,pivotConfig:_0x4b99da}=_0x5d99df,_0xd4679b=new _0x2bd5b3[(_0x5a9691(0x3cf))]();_0xd4679b[_0x5a9691(0x20f)](_0x235bdd),this['_sheetsPivotTableConfigModel'][_0x5a9691(0x38b)](_0x4b50c8,_0x21460c,_0x487b61,_0x4b99da),this[_0x5a9691(0x3d4)]['updateRenderCache']({'unitId':_0x4b50c8,'subUnitId':_0x21460c,'view':_0xd4679b,'pivotTableId':_0x487b61,'type':_0x10a1dc});}),this[_0x46533f(0x18c)][_0x46533f(0x27c)]());this[_0x46533f(0x3d4)][_0x46533f(0x19d)](_0x12566d,_0x33954a);}));}[_0x47b8d2(0x45c)](){const _0x85d777=_0x47b8d2;this[_0x85d777(0x396)][_0x85d777(0x419)](_0x4e07fb['id'],{'commandId':_0x4e07fb['id'],'getDirtyData'(_0x571714){return{'dirtyUnitFeatureMap':_0x571714['params']};}});}};_0x219f8f=_0x76cc8([_0x409713(0x0,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x2cf)])),_0x409713(0x1,_0x108556[_0x47b8d2(0x24a)](_0x118be4[_0x47b8d2(0x37f)])),_0x409713(0x2,_0x108556[_0x47b8d2(0x24a)](_0x118be4[_0x47b8d2(0x1a4)])),_0x409713(0x3,_0x108556[_0x47b8d2(0x24a)](_0x118be4[_0x47b8d2(0x350)])),_0x409713(0x4,_0x108556[_0x47b8d2(0x24a)](_0x108556['IUniverInstanceService'])),_0x409713(0x5,_0x3c891a[_0x47b8d2(0x232)])],_0x219f8f);var _0x274356=Object[_0x47b8d2(0x3ac)],_0xd63e6e=Object[_0x47b8d2(0x44f)],_0x1b6ef3=(_0x404e3b,_0x2b9827,_0x4f914d)=>_0x2b9827 in _0x404e3b?_0x274356(_0x404e3b,_0x2b9827,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f914d}):_0x404e3b[_0x2b9827]=_0x4f914d,_0x478348=(_0x1cdcb3,_0x314f11,_0x2edd39,_0x251823)=>{const _0x23dd32=_0x47b8d2;for(var _0x962824=_0x251823>0x1?void 0x0:_0x251823?_0xd63e6e(_0x314f11,_0x2edd39):_0x314f11,_0x14e617=_0x1cdcb3[_0x23dd32(0x472)]-0x1,_0x4fc0f3;_0x14e617>=0x0;_0x14e617--)(_0x4fc0f3=_0x1cdcb3[_0x14e617])&&(_0x962824=_0x4fc0f3(_0x962824)||_0x962824);return _0x962824;},_0x5122bf=(_0x3f835f,_0x547fc3)=>(_0xa54859,_0x4a396e)=>_0x547fc3(_0xa54859,_0x4a396e,_0x3f835f),_0xd9deb8=(_0x3739b6,_0x3cbdba,_0x2a0c5f)=>_0x1b6ef3(_0x3739b6,typeof _0x3cbdba!=_0x47b8d2(0x3ce)?_0x3cbdba+'':_0x3cbdba,_0x2a0c5f);_0x118be4['UniverSheetsPivotTablePlugin']=class extends _0x108556[_0x47b8d2(0x248)]{constructor(_0x1dcde5=_0x1bb0cd,_0x481a19,_0x450f15,_0x4e05d3,_0xc9f2b3){const _0x303bda=_0x47b8d2;super(),this[_0x303bda(0x304)]=_0x1dcde5,this[_0x303bda(0x3fa)]=_0x481a19,this[_0x303bda(0x1e8)]=_0x450f15,this['_configService']=_0x4e05d3,this[_0x303bda(0x3c0)]=_0xc9f2b3;const {..._0x5bf570}=_0x108556[_0x303bda(0x367)]({},_0x1bb0cd,this[_0x303bda(0x304)]);this[_0x303bda(0x20e)][_0x303bda(0x1f0)](_0x2d1658,_0x5bf570),this[_0x303bda(0x229)](),this['_initConfig']();}[_0x47b8d2(0x3fd)](){const _0x19d928=_0x47b8d2;var _0x469bff;const _0xb62274=(_0x469bff=this[_0x19d928(0x304)])==null?void 0x0:_0x469bff[_0x19d928(0x34c)];this[_0x19d928(0x20e)][_0x19d928(0x1f0)](_0x5d78c9,_0xb62274===!0x0);}[_0x47b8d2(0x338)](){const _0x4fdff3=_0x47b8d2;var _0x192bfa;let _0x5bc521=[];const _0x312323=(_0x192bfa=this[_0x4fdff3(0x304)])==null?void 0x0:_0x192bfa['notExecuteFormula'];_0x312323===!0x0?_0x5bc521=[[_0x118be4[_0x4fdff3(0x3ba)]],[_0x118be4[_0x4fdff3(0x37f)]],[_0x219f8f],[_0x118be4[_0x4fdff3(0x1a4)]],[_0x118be4[_0x4fdff3(0x350)]],[_0x46bba1],[_0x243a9e],[_0x5da21c],[_0x1e9366]]:_0x312323===!0x1?_0x5bc521=[[_0x118be4[_0x4fdff3(0x3c8)]],[_0xc53bc1]]:_0x312323===void 0x0&&(_0x5bc521=[[_0x118be4[_0x4fdff3(0x3c8)]],[_0xc53bc1],[_0x118be4[_0x4fdff3(0x3ba)]],[_0x118be4[_0x4fdff3(0x37f)]],[_0x219f8f],[_0x118be4['SheetsPivotTableAdaptorModel']],[_0x118be4[_0x4fdff3(0x350)]],[_0x46bba1],[_0x243a9e],[_0x5da21c],[_0x1e9366]]),_0x5bc521['forEach'](_0x387a4a=>this[_0x4fdff3(0x3fa)][_0x4fdff3(0x273)](_0x387a4a)),[_0xc53bc1,_0x219f8f,_0x118be4['SheetsPivotTableService'],_0x243a9e,_0x46bba1,_0x5da21c,_0x1e9366][_0x4fdff3(0x464)](_0x5d5c67=>{const _0x3fc47d=_0x4fdff3;this[_0x3fc47d(0x3fa)][_0x3fc47d(0x38f)](_0x5d5c67)&&this[_0x3fc47d(0x3fa)][_0x3fc47d(0x26d)](_0x5d5c67);});}[_0x47b8d2(0x229)](){const _0x59ee04=_0x47b8d2;[_0x3cd8f2,_0x37d500,_0x55876c,_0x4095d8,_0x58603b,_0x7f10bf,_0x2e4127,_0x11c320,_0x416ec5,_0x3fc77d,_0x22c83c,_0x56285f,_0x5d8103,_0x367b44,_0x132d3e,_0x3aec01,_0x232b32,_0x41d3be,_0x30035a,_0x2d7a59,_0xe5ff29,_0x4e1b89,_0x406cb6,_0x2b20a0,_0x3c6fc5,_0x388d0e,_0x50041f,_0x30fcb5,_0x293b3b,_0x4fe718,_0xb1f0ee,_0x48b0b8,_0x5450e0,_0x5cf879,_0x4ef0f2,_0x381605,_0x4ab67e,_0x4e07fb,_0x5ea1b6,_0x20b555,_0xad7ab5,_0x47a731,_0x1ef30c][_0x59ee04(0x464)](_0x583dbd=>{const _0x48eadf=_0x59ee04;var _0x38a540;(_0x38a540=this[_0x48eadf(0x3c0)])==null||_0x38a540[_0x48eadf(0x21f)](_0x583dbd),this[_0x48eadf(0x1e8)][_0x48eadf(0x280)](_0x583dbd);});}},_0xd9deb8(_0x118be4[_0x47b8d2(0x35a)],_0x47b8d2(0x204),_0x292f9f),_0xd9deb8(_0x118be4[_0x47b8d2(0x35a)],_0x47b8d2(0x1df),_0x108556[_0x47b8d2(0x298)][_0x47b8d2(0x260)]),_0x118be4['UniverSheetsPivotTablePlugin']=_0x478348([_0x108556[_0x47b8d2(0x198)](_0x3e2f02[_0x47b8d2(0x42b)]),_0x5122bf(0x1,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x207)])),_0x5122bf(0x2,_0x108556[_0x47b8d2(0x24a)](_0x108556[_0x47b8d2(0x2cf)])),_0x5122bf(0x3,_0x108556[_0x47b8d2(0x1c3)]),_0x5122bf(0x4,_0x108556[_0x47b8d2(0x37c)](_0x239925[_0x47b8d2(0x19b)]))],_0x118be4['UniverSheetsPivotTablePlugin']),_0x118be4[_0x47b8d2(0x1fd)]=_0x55876c,_0x118be4['AddPivotFieldMutation']=_0x41d3be,_0x118be4[_0x47b8d2(0x349)]=_0x37d500,_0x118be4[_0x47b8d2(0x3bf)]=_0x132d3e,_0x118be4[_0x47b8d2(0x2eb)]=_0x3cd8f2,_0x118be4['BLANK_ROW_COUNT']=_0x467340,_0x118be4[_0x47b8d2(0x22e)]=_0x25d9b6,_0x118be4['MovePivotFieldCommand']=_0x4095d8,_0x118be4[_0x47b8d2(0x2fc)]=_0x5d8103,_0x118be4['PivotDisplayDataType']=_0x22171c,_0x118be4[_0x47b8d2(0x173)]=_0x367b44,_0x118be4[_0x47b8d2(0x175)]=_0x2c8cb5,_0x118be4[_0x47b8d2(0x43d)]=_0x4e07fb,_0x118be4[_0x47b8d2(0x1fb)]=_0x1d84fc,_0x118be4[_0x47b8d2(0x447)]=_0x58603b,_0x118be4[_0x47b8d2(0x42a)]=_0x4e1b89,_0x118be4[_0x47b8d2(0x331)]=_0x232b32,_0x118be4[_0x47b8d2(0x257)]=_0x406cb6,_0x118be4[_0x47b8d2(0x3cd)]=_0x1ef30c,_0x118be4[_0x47b8d2(0x28b)]=_0x2d1658,_0x118be4[_0x47b8d2(0x2ad)]=_0x292f9f,_0x118be4['SetPivotCollapseCommand']=_0x11c320,_0x118be4[_0x47b8d2(0x3a0)]=_0x2b20a0,_0x118be4[_0x47b8d2(0x3e8)]=_0x5cf879,_0x118be4['SetPivotFieldsConfigCommand']=_0x47a731,_0x118be4[_0x47b8d2(0x3ab)]=_0x3fc77d,_0x118be4[_0x47b8d2(0x290)]=_0xe5ff29,_0x118be4[_0x47b8d2(0x160)]=_0x388d0e,_0x118be4[_0x47b8d2(0x46c)]=_0x50041f,_0x118be4[_0x47b8d2(0x1b6)]=_0x416ec5,_0x118be4[_0x47b8d2(0x36d)]=_0x3c6fc5,_0x118be4['SetPivotSubtotalTypeMutation']=_0x5450e0,_0x118be4['SetPivotValueFilterCommand']=_0x20b555,_0x118be4['SetPivotValueFilterMutation']=_0xad7ab5,_0x118be4[_0x47b8d2(0x226)]=_0x2e4127,_0x118be4['UpdateFieldPositionMutation']=_0xb1f0ee,_0x118be4[_0x47b8d2(0x381)]=_0x22c83c,_0x118be4[_0x47b8d2(0x30a)]=_0x4ab67e,_0x118be4[_0x47b8d2(0x3dc)]=_0x56285f,_0x118be4[_0x47b8d2(0x269)]=_0x381605,_0x118be4['UpdatePivotValuePositionCommand']=_0x7f10bf,_0x118be4['UpdateValuePositionMutation']=_0x48b0b8,_0x118be4[_0x47b8d2(0x228)]=_0x34aeb2,_0x118be4['canUsePivot']=_0x55adce,_0x118be4[_0x47b8d2(0x2af)]=_0x7fce34,_0x118be4[_0x47b8d2(0x2c3)]=_0x289a33,_0x118be4[_0x47b8d2(0x2b4)]=_0x5e81ab,_0x118be4['getEmptyPivotRanges']=_0x1d4bcb,_0x118be4[_0x47b8d2(0x3b5)]=_0x4978e3,_0x118be4[_0x47b8d2(0x23f)]=_0x244713,_0x118be4[_0x47b8d2(0x47c)]=_0x3471bf,_0x118be4[_0x47b8d2(0x278)]=_0x3725c2,_0x118be4[_0x47b8d2(0x32f)]=_0xc87bc6,_0x118be4[_0x47b8d2(0x158)]=_0x1b9053,_0x118be4['unionPivotViewRange']=_0x3c5d00,Object[_0x47b8d2(0x3ac)](_0x118be4,Symbol[_0x47b8d2(0x2ac)],{'value':_0x47b8d2(0x1e6)});}));function _0x9382(){const _0x5009e5=['SetPivotFilter','_pivotInitCompleted$','_updateModelCache','stdDev','getLastRow','startColumn','movePivotField','UniverProEnginePivot','UpdatePivotSource','dateGroupField','_pivotTableMatrixInfo','values','generateSetRangeValueMutations','_initGlobalComputed','createDataFieldId','refreshGroupField','originalFieldId','GlobalComputingStatusService','sheets-pivot.emptyPivot.row','getPivotDirtyViewInfo','generateMutationsByRanges','FontCache','ResetPivotTable','_initUnitDisposed','ICommandService','startCollectChangeset','NUMBER','parse','InterceptorEffectEnum','needSameDeleteModel','grandTotal','Sum\x20of\x20','Set','BehaviorSubject','sheet.mutation.pivot-update-field-position','rangeCache','getMatrixFromRunTimeData','getTableFieldById','_ensurePivotTableMatrixInfo','sheet.command.set-pivot-value-filter','string','setValueFilterInfo','_ensurePivotItemRenderValueMatrixCache','Range','sheets-pivot.cellDateGroupDisplay.yearMonth','interceptor','dataFieldManagerConfig','_viewUpdate$','sheet.mutation.update-date-group','deleteField','COMMAND','sheet.command.set-pivot-collapse','AddPivotTableWithConfigCommand','isColMultiMeasure','_exclusiveRangeService','_initSnapshot','deleteDataField','message','sheet.command.add-pivot-table-with-config','SetPivotSetting','shouldClear','fetchThroughInterceptors','pushComputingStatusSubject','disposeWithMe','isDateGroupFieldJSON','_refRangeService','sheet.mutation.set-pivot-field-subtotal-type','MoveRangeMutation','sheets-pivot.varpName','MovePivotTableCommand','measure','sheets-pivot.stdDevName','_initPivotTextInfo','lastCol','valueFilter','toJSON','RemoveField','_config','_initDataSendListener','updatePivotTableRangeInfo','SetPivotCollapse','getCurrentUnitForType','_pivotTableInstanceCache','UpdatePivotFieldSourceInfoMutation','count','_host','sheet.command.set-pivot-sort','getFieldById','getPivotTableIdByCell','sheet.mutation.remove-group-collection','Add','hasField','rgb(255,255,255)','PivotViewCellValueTypeEnum','interceptCommand','SetRangeValuesUndoMutationFactory','sheet.command.add-pivot-field','NAME','col','sheetName','setFieldFormat','_viewData$','map','filter','generateNullCell','getAutoFitColumnsMutations','sheets-pivot.sumName','getDisplayName','SetSortInfo','DEFAULT_WORKSHEET_ROW_COUNT','_lifecycleService','cellValue','remove','getDataFieldManager','INTERCEPTOR_POINT','info','_initViewModelBySheetInterceptor','isDateValue','collapseInfo','blank','getPivotTableInfo','deleteUnitId','RemovePivotTableMutation','MAX_SAFE_INTEGER','valid','pushUndoRedo','_deletePivotTableInstanceCache','SetFilterInfo','PivotCallbackEnum','onStarting','getPivotPerformCheck','iterateField','single','subUnitId','InsertColMutation','getFormatInfo','startRow','batch','serializeRangeWithSpreadsheet','getSheetId','setRangeValueUndoMutation','_globalComputedStartHelpFunc','getAutoDisplayName','UpdateValuePosition','fieldsConfig','getName','AddPivotTableCommand','mergeWorksheetSnapshotWithDefault','getFieldPositionInfoById','notExecuteFormula','sheet.mutation.set-pivot-sort-info','Count\x20of\x20','undos','SheetsPivotTableConfigModel','#1d32e9','return\x20','SetValueFilter','addPivotTableWithConfig','getFormat','registerRefRange','sheet.command.pivot-drill-down','3238392qQwUWR','_localeService','UniverSheetsPivotTablePlugin','lastRow','sheets-pivot.cellDateGroupDisplay.hourMinute','AsyncInterceptorManager','sheet.mutation.add-pivot-table','setDataRecordCount','updateConfig','@univerjs/sheets','setSubtotalType','Varp\x20of\x20','None','paths','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','merge','MUTATION','numberToABC','next','updateRenderCache','iterateFieldDim','SetPivotSortMutation','registerPluginResource','IResourceManagerService','isDateGroupField','IUniverInstanceService','intersects','PivotMultipleValueId','getSheetCommandTarget','YearMonth','sheet.mutation.add-group-collection','onQueryEnd','Product\x20of\x20','call','_globalSubject','fromJSON','Optional','sheet.mutation.get-pivot-data-local','setSortInfo','SheetsPivotRPCService','isValue','UpdatePivotFieldSettingCommand','RemoveSheetsFilterMutation','getCellRaw','AddField','getSubUnitPivotConfigs','getActiveSheet','_updatePivotTableInstanceCache','getFilterInfo','executeCommand','60oQMami','updateConfigCache','addExclusiveRange','colHeaderMap','PivotErrorTypeEnum','has','width','rowCount','Date','sheet.mutation.add-pivot-field','New','getFontStyleString','_activeDirtyManagerService','random','updateAllDisplayName','removePivotTable','SetWorksheetColWidthMutation','filterInfo','getTargetByPivotTableId','RANGE_TYPE','DataFieldManager','amd','SetPivotCollapseMutation','getCollection','getInterceptPoints','sheets-pivot.emptyPivot.values','unitId','HourMinute','_updateRenderEmptyCache','updateValuePosition','colInfo','fontRenderExtension','41773440vJIINm','SetPivotFilterCommand','defineProperty','COLUMN','RemovePivotField','getCurrentSelections','getNoUsedDataFieldIds','@univerjs-pro/license','IFeatureCalculationManagerService','Delete','replace','getFieldListByArea','setSourceName','SetPivotSort','getValuePosition','rgb(240,241,243)','SheetsPivotTableService','_refRangeHandle','setOptions','updatePivotSource','rowFields','AddPivotTableMutation','_dataSyncPrimaryController','handleSourceRangeChange','endRow','SetSheetsFilterRangeMutation','pbt','sheets-pivot.minName','Value','UpdateSource','SheetsPivotDataSourceModel','isText','_univerInstanceService','setValuePivotFilter','sheet.mutation.send-init-pivot-text-local','ResetPivotFieldsConfigCommand','symbol','PivotView','reset','cornerInfo','_initClearSelectionCommandInterceptor','getDirtyInfo','_sheetsPivotTableAdaptorModel','Collapse','split','PivotDataFieldTypeEnum','Disposable','getPivotDisplayConfig','Quarter','setPivotTable','UpdatePivotTableSourceRangeCommand','RemoveRowMutation','sheet.mutation.remove-pivot-field','renameField','DEFAULT_WORKSHEET_COLUMN_COUNT','ReleaseType','valueIndex','getHeaderMapItem','forValue','sheet.mutation.set-pivot-value-filter','dimension','sheet.mutation.send-pivot-config-local','SetPivotFieldFormatMutation','Panel','SetRangeValuesMutation','DrillDown','refreshDataField','PivotCellStyleTypeEnum','InsertSheetUndoMutationFactory','markDirty$','getRangeKey','getUnit','getPivotTableModelConfig','value','Subtotal','ΣValue','removeSourceRangeChange','YearQuarter','rowHeaderMap','getDataFieldByTableId','_injector','_initPivotDataGetListener','drillDown','_initConfig','Div0','min','isNaN','sheet.command.update-pivot-table-source-range','getSubUnitPivotMatrix','setPivotSetting','sheets-pivot.blank','_ensurePivotItemRenderInfoCache','getColumnCount','sheets-pivot.dateGroup.minute','getRefRangeMutationsByMoveRange','charCodeAt','params','_pivotRenderValueMatrixCache','getDate','countNums','collectionChange$','date','getPivotTableInstance','UniverCore','minDate','var','setTextInfo','getMatrix','CELL_CONTENT','addDataFieldWithoutUnitInfo','pivotPerformCheck','register','NotFunction','pivotMutationGenerate','getUnitId','PivotFilterTypeEnum','Subject','_featureCalculationManagerService','unshift','1774078GPMcde','_initRemoveSheetCommandInterceptor','sortInfo','delete','LifecycleService','MIN_SAFE_INTEGER','createAsyncInterceptorKey','Total','new','RemovePivotFieldMutation','UniverLicensePlugin','Column','sheet.command.set-pivot-field-setting','dispose','_subjectCollectionChange','STRING','_dataFieldManagerCollection','InterceptorManager','NotName','_onRefRangeChange','updateRangeKeyMap','getDataFieldId','Hour','isBottomTotal','pageRanges','max','Row','intercept','PivotTableViewDirtyMarkOperation','areaInfo','isBaseGroupField','workbook\x20is\x20not\x20found','setLabelFilterInfo','tableFieldId','document','stringify','sheet.mutation.set-pivot-option','realDeleteValue','RemovePivotFieldCommand','sheets-pivot.stdDevpName','headerMap','_markDirty$','addPivotTable','range','#eceeff','slice','getOwnPropertyDescriptor','token','sheets-pivot.cellDateGroupDisplay.yearQuarter','RemoveColMutation','oldRangeInfo','isArray','getPivotItemRenderInfoCache','Month','getSubUnitPivotRenderCache','onQueryStart','eq5o4Wx5\x20cdo7sl4Wx5(OWod5id,\x20lqtOWonds)\x20{\x20\x20\x20\x2047s\x20{\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20OWod5idy5exAu74j77us\x20=\x20OWod5id.ilOW4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20x7WpW5gdiiupd\x20=\x206rkM.lu7id(u4xt(OWod5idy5exAu74j77us[2]));\x20\x20\x20\x20\x20\x20\x20\x20We\x20(!x7WpW5gdiiupd.qc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x7WpW5gdiiupd.qc\x20=\x20MqKtd7(OWod5idy5exAu74j77us[G]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20WiRx7Ld7\x20=\x204sldxe\x20Rx7Ld7HOxtuOroxld\x20!==\x20\x27q5cdeW5dc\x27\x20&&\x20idOe\x20W5i4u5odxe\x20Rx7Ld7HOxtuOroxld;\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20ox54d34\x20=\x20WiRx7Ld7\x20?\x20idOe\x20:\x20DW5cxD;\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20KdiiupdRx7c\x20=\x20ox54d34.__Iuid8G__.lu7id(OWod5idy5exAu74j77us[2]);\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20Kdiiupd\x20=\x20ox54d34.__Zd3__.i47W5pWes(KdiiupdRx7c);\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20iWp5u4q7dRx7c\x20=\x20ox54d34.__Iuid8G__.lu7id(OWod5idy5exAu74j77us[Y]);\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20iWp5u4q7d\x20=\x20ox54d34.__Zd3__.i47W5pWes(iWp5u4q7dRx7c);\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20iWp59uOWc\x20=\x20ox54d34.__Xd7Wes__(iWp5u4q7d,\x20Kdiiupd,\x20lqtOWonds);\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20cxKuW5\x20=\x20x7WpW5gdiiupd.cK;\x20\x20\x20\x20\x20\x20\x20\x20eq5o4Wx5\x20WihxKuW5gu4oBW5p(xAu44d75,\x20xZxi4)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20lu44d75\x20=\x20xAu44d75.7dlOuod(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20Bxi4\x20=\x20xZxi4.7dlOuod(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20lu44d75Au74i\x20=\x20lu44d75.ilOW4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20Bxi4Au74i\x20=\x20Bxi4.ilOW4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20We\x20(!lu44d75.W5oOqcdi(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207d4q75\x20lu44d75\x20===\x20Bxi4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20We\x20(lu44d75Au74i.Od5p4B\x20<\x202\x20||\x20lu44d75Au74i[P]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207d4q75\x20euOid;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20lu44d75rqeeW3\x20=\x20lu44d75Au74i.iOWod(U).JxW5(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20Bxi4rqeeW3\x20=\x20Bxi4Au74i.iOWod(-lu44d75Au74i.Od5p4B\x20+\x20U).JxW5(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207d4q75\x20lu44d75rqeeW3\x20===\x20Bxi4rqeeW3;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Od4\x20cxKuW59uOWc\x20=\x20(cxKuW5\x20&&\x20cxKuW5.Od5p4B)\x20?\x20cxKuW5.ixKd((cKy4dK)\x20=>\x20WihxKuW5gu4oBW5p(cKy4dK,\x20Oxou4Wx5.Bxi45uKd))\x20:\x2047qd;\x20\x20\x20\x20\x20\x20\x20\x20We\x20(Oxou4Wx5.Bxi45uKd\x20===\x20\x27OxouOBxi4\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cxKuW59uOWc\x20=\x2047qd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ox5i4\x20XuOWc\x20=\x20iWp59uOWc\x20&&\x20cxKuW59uOWc;\x20\x20\x20\x20\x20\x20\x20\x207d4q75\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XuOWc,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Kdiiupd:\x20x7WpW5gdiiupd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ou4oB\x20(d77x7)\x20{\x20\x20\x20\x20\x20\x20\x20\x207d4q75\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XuOWc:\x20euOid,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Kdiiupd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','PivotSubtotalTypeEnum','ptn','registerDirtyService','pivotTableId','updatePivotTableMatrixInfo','addRecord','_collectionChange$','name','setCollapse','sheets-pivot.dateGroup.year','forEach','SheetInterceptorService','addPivotField','getId','find','4870899ydHlOM','unshiftString','_initLocale','SetPivotPositionMutation','#e6ebfb','setDateType','YearMonthDate','_generateUniqueVersion','bind','length','_collectionConfigModel','sheets-pivot.cellDateGroupDisplay.year','node','430890iuuEuI','number','getDataFieldBySourceName','sheet.command.add-pivot-table','getPivotTableMatrixInfo','endCollectChangeset','getPivotCellInfo','_subjectFieldsCollectionChange','sheets-pivot.dateGroup.quarter','SHEET_PIVOT_EXCLUSIVE_ID','removePivotField','dataRangeInfo','maxDate','sheet.mutation.update-pivot-table-source-range','SHEET_PIVOT_IN_MAIN_THREAD','setRange','pivotInitCompleted$','getSubtotal','sheets-pivot.dateGroup.hourMinute','fieldsCollectionChange$','initDataRanges','transFromCellValue','isPrefixValue','sheet.mutation.send-pivot-data-local','_pivotRenderInfoCache','_initCommandInterceptListener','setValue','getLastCol','some','SetPivotOptionMutation','ObjectMatrix','generateNewSheetName','getColCount','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','RemoveSheetMutation','531895ypgkCP','ClearSelectionAllCommand','broadcastCollectionChange','sheets-pivot.averageName','DateGroupField','(Blank)','GrandTotal','other','Year','LS_CONFIG_KEY','versions','setPivotFilter','SetPivotTableConfig','PivotDrillDownCommand','rangesInfo','PivotTableOperationEnum','_getAutoName','sheets-pivot.emptyPivot.column','registerCallbackWithEvent','getTextSize','SheetsSelectionsService','removeDataField','splice','contains','concat','collections','resetPivotTable','PivotTable','Min\x20of\x20','sheets-pivot.emptyPivot.filter','removeValueFilterInfoByValueFieldId','updateDataFieldsCollection','updateDirtyPivotTable','getSheetBySheetName','CellValueType','refreshData','_globalComputingSrv','sheets-pivot.cellDateGroupDisplay.quarter','_sheetsPivotTableConfigModel','prefix','pivotTableIndexConfig','foreach','pivotTableConfigs','49pYVHvS','size','createCollectionWithDataRange','getPivotTableRangeInfo','_sheetsPivotDataSourceModel','_globalComputedEndHelpFunc','InsertRowMutation','DependentOn','dataStream','forRow','DataSyncPrimaryController','UniverProSheetsPivot','markDirty','NORMAL','setPivotCollapse','sheets-pivot.dateGroup.monthDate','includes','RenameField','dataFields','SheetsPivotTableAdaptorModel','LocaleService','@univerjs/sheets-filter','IUndoRedoService','panel','3scFTBN','generateHexNumber','getAutoDisplayNameFunction','updateViewData','BLANK_PLACEHOLDER','from','getValue','getSheetFeatureLimit','_createExclusiveRange','rxjs','redos','removeCollections','getFullYear','SetPivotSortCommand','fetchThroughAsyncInterceptors','addDirtyPivotTable','SetValuePivotFilter','SetFieldFormat','getSheets','targetCellInfo','leafStyle','getformat','@univerjs-pro/engine-pivot','_sheetInterceptorService','version','data','IConfigService','_configVersion$','subscribe','reduce','@univerjs/rpc','createValueField','handleAsyncResponse','_queryingMap','_model','originTargetInfo','StdDevp\x20of\x20','configVersion$','getFieldDataType','updateView','sheets.tabs.sheet','sheets-pivot.dateGroup.date','getTextInfo','DIV_BY_ZERO','_deleteModelCache','Grand\x20Total','_init','sheet.operation.pivot-table-view-formula-mark-dirty','sheets-pivot.dateGroup.yearMonth','updateFieldSourceInfo','sheet.command.move-pivot-table','addFieldWithSourceId','generateRandomId','UniverEngineFormula','type','_pivotTableRangeInfo','fieldIds','PivotDateGroupFieldDateTypeEnum','removeValueFilterInfo','UniverRpc','limit\x20pivot','Module','_sheetsPivotRpcService','_commandService','sheets-pivot.other','setRangeValueRedoMutation','ManualFilter','isFeatureAuthorizedWithinTime','CustomCommandExecutionError','collectionConfig','asyncInterceptor','setConfig','Var\x20of\x20','AddPivotTableWithConfig','setPivotSort','getConfig','337113riqBOa','sheet.mutation.send-pivot-view-local','handleMoveRange','fieldId','dataStyle','sheets-pivot.grandTotal','PositionType','cornerRanges','AddPivotFieldCommand','addField','matrix','oldMatrix','sheets-pivot.value','level','_toJSON','pluginName','AddPivotTable','getFieldFormat','Injector','pageStyle','PivotDataFieldDataTypeEnum','getSheetBySheetId','floor','textInfo','PivotTableFiledAreaEnum','_configService','formJSON','uniqueDataFieldName','isEmpty','getSortInfo','SetWorksheetActiveOperation','getFieldIds','AddPivotField','subtotal','asObservable','Style','Tools','pivotConfigChange$','Minute','sheets-pivot.cellDateGroupDisplay.date','fields','setRangeKeyMap','registerSyncingMutations','collection','setDirty','getTargetByPivotId','updateViewInfo','dataFieldId','Column\x20','UpdateDateGroupCommand','getFilterFieldIdByIndex','applyChangeSet','_initRegisterCommand','viewData$','iterateFieldByArea','getRangeStartEndInfo','onCommandExecuted','DEFAULT_PIVOT_NUMBER','setDisplayName','setName','NO_COMMERCIAL','IActiveDirtyManagerService','subTotalStyle','Values','sheet.mutation.rename-pivot-field','getDataFieldByRangeKey','_sheetsPivotTableService','numfmt','entries','column','Rectangle','disposableCollection','InsertSheetMutation','SetCollapse','getInsertRowColMutations','sheets-pivot.columnName','_resourceManagerService','Expand','addCollectionByJSON','FORCE_STRING','DataField','#b2b2b2','triggerDirtyFeature','Plugin','sourceRangeInfo','Inject','SetSubtotalType','getRangeKeyList','endColumn','getStyles','keys','sheets-pivot.countName','query','sheets-pivot.cellDateGroupDisplay.yearMonthDate','createInterceptorKey','sheets-pivot.countNumsName','rangeKey','ClearSelectionContentCommand','RenamePivotFieldMutation','removeField','createLabelField','getPivotTableCellData','result','tuple','updateFieldPosition','colCount','_ensurePivotMap','UNIVER_SHEET','sheets-pivot.cellDateGroupDisplay.hour','updateCollectionConfig','exports','getOriginFieldId','getSourceName','Existing','adjustSheetCellData','displayName','UpdatePivotTableSourceRangeMutation','_pivotConfigChange$','sheets-pivot.subTotal','sheet.command.set-pivot-fields-config','get','dateType','error','deepClone','GlobalConfig','getMatrixValue','add','object','format','sequenceExecute','colRanges','getPivotInfoByLicense','Max\x20of\x20','getViewData','toString','setPivotInitCompleted','sum','Filter','isErrorValue','registerCommand','PivotTableChangeTypeEnum','rangeKeyMap','sheet.mutation.pivot-update-field-source-info','update','_viewData','RemoveSheetCommand','getRowCount','setPivotTableConfig','sheets-pivot.dateGroup.yearQuarter','_fieldsCollectionChange$','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','#FFFFFF','sheet.command.update-pivot-value-position','options','cellToRange','SetPivotFilterMutation','colStyle','existing','CommandType','getPivotTableConfig','getGroupFieldsInfoByIds','row','getMonth','UniverInstanceType','FieldsCollection','getUpdateRangeDeleteIds','viewUpdate$','PivotTableValuePositionEnum','_textInfo','rangeType','filterId','_ensurePivotTableRangeInfo','set','MovePivotField','sheet.mutation.pivot-update-value-position','getFieldCountByArea','columnFields','@univerjs/engine-formula','_ensureViewDataMap','body','MoveRangeCommand','push','ErrorType','toStringTag','SHEET_PIVOT_TABLE_PLUGIN','RefRangeService','defaultThemeStyle','dataFieldsCollection','valueFields','getDataFieldByDataFieldId','sheet.mutation.set-pivot-collapse','getAdjustRangesPosition','#f4f4f5','_requestResolvers'];_0x9382=function(){return _0x5009e5;};return _0x9382();}
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();}