@univerjs-pro/sheets-pivot 0.10.14-nightly.202511070628 → 0.10.14-nightly.202511070939

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +40 -40
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +9 -9
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x33f8(_0x51a2ef,_0x2182c6){const _0xfab3d9=_0xfab3();return _0x33f8=function(_0x33f830,_0x57cd5b){_0x33f830=_0x33f830-0x1d4;let _0x28358d=_0xfab3d9[_0x33f830];return _0x28358d;},_0x33f8(_0x51a2ef,_0x2182c6);}(function(_0x3073dc,_0x5eaaab){const _0xcb992a=_0x33f8,_0x7e27b9=_0x3073dc();while(!![]){try{const _0x32e324=parseInt(_0xcb992a(0x29f))/0x1*(parseInt(_0xcb992a(0x4cd))/0x2)+parseInt(_0xcb992a(0x37c))/0x3*(-parseInt(_0xcb992a(0x409))/0x4)+-parseInt(_0xcb992a(0x4b5))/0x5*(-parseInt(_0xcb992a(0x4ce))/0x6)+parseInt(_0xcb992a(0x3a3))/0x7+-parseInt(_0xcb992a(0x301))/0x8+-parseInt(_0xcb992a(0x3bf))/0x9+parseInt(_0xcb992a(0x41e))/0xa;if(_0x32e324===_0x5eaaab)break;else _0x7e27b9['push'](_0x7e27b9['shift']());}catch(_0x29d50d){_0x7e27b9['push'](_0x7e27b9['shift']());}}}(_0xfab3,0x71760),function(_0x1e9514,_0x1fdead){const _0x375a08=_0x33f8;typeof exports==_0x375a08(0x3b0)&&typeof module<'u'?_0x1fdead(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==_0x375a08(0x49f)&&define[_0x375a08(0x399)]?define([_0x375a08(0x2de),'@univerjs-pro/engine-pivot',_0x375a08(0x23f),_0x375a08(0x4e9),_0x375a08(0x3c6),_0x375a08(0x4ba),_0x375a08(0x42d),_0x375a08(0x4c3),'@univerjs/rpc','@univerjs/engine-render'],_0x1fdead):(_0x1e9514=typeof globalThis<'u'?globalThis:_0x1e9514||self,_0x1fdead(_0x1e9514[_0x375a08(0x313)]={},_0x1e9514['UniverProEnginePivot'],_0x1e9514[_0x375a08(0x432)],_0x1e9514['UniverEngineFormula'],_0x1e9514[_0x375a08(0x383)],_0x1e9514[_0x375a08(0x4ba)],_0x1e9514[_0x375a08(0x312)],_0x1e9514[_0x375a08(0x2ec)],_0x1e9514[_0x375a08(0x216)],_0x1e9514['UniverEngineRender']));}(this,function(_0xd0af73,_0x33417a,_0x2fa876,_0x196a8d,_0x30840c,_0x2504f7,_0x4baa44,_0x537f85,_0x52ef50,_0x488639){'use strict';const _0x32a484=_0x33f8;var _0x463884=Object[_0x32a484(0x207)],_0xde213=(_0x3f08df,_0x3b319b,_0x5a579e)=>_0x3b319b in _0x3f08df?_0x463884(_0x3f08df,_0x3b319b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a579e}):_0x3f08df[_0x3b319b]=_0x5a579e,_0x25ab16=(_0x5741ce,_0x199992,_0x71ea15)=>_0xde213(_0x5741ce,typeof _0x199992!='symbol'?_0x199992+'':_0x199992,_0x71ea15);const _0x3e9237=Number[_0x32a484(0x39d)](0x690d91f9),_0x472598=0x10,_0x1c1f87=0x1,_0x1a68df=_0x32a484(0x436),_0x4814ba=0x1,_0x9edab3=_0x32a484(0x470),_0x5491ec=_0x32a484(0x243),_0x15b1d6=_0x32a484(0x2d8),_0x35c132=_0x32a484(0x3a2),_0x464f24=_0x32a484(0x3a2),_0x50e96d=_0x32a484(0x226),_0x268b6=_0x32a484(0x4e5),_0x3a87f4=_0x32a484(0x32f),_0x2a6af7=_0x32a484(0x2a5),_0x423dfe='#1d32e9',_0x30a4de=_0x32a484(0x32f),_0x3896ca='#e6ebfb',_0x4716f3=0xe,_0x287724=0x6;var _0x323c52=(_0x57226f=>(_0x57226f[_0x32a484(0x289)]=_0x32a484(0x3aa),_0x57226f[_0x32a484(0x200)]=_0x32a484(0x282),_0x57226f))(_0x323c52||{});const _0x5be2b9={'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':''}}},_0x3b3d22=0x1e,_0x3cee8={'b':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'l':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'r':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'t':{'s':0x1,'cl':{'rgb':_0x15b1d6}}},_0x395c60={'bg':{'rgb':_0x9edab3},'ht':0x2,'vt':0x2,'tb':0x1},_0x3dc219={'bg':{'rgb':_0x5491ec},'ht':0x2,'vt':0x2,'tb':0x1},_0x226288={'rowStyle':{'bg':{'rgb':_0x3896ca},'bd':_0x3cee8,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x423dfe},'bd':null,'cl':{'rgb':_0x30a4de},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x2a6af7},'vt':0x2},'cornerStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x50e96d},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x35c132},'vt':0x2},'leafStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x464f24},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x268b6},'cl':{'rgb':_0x3a87f4},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3cee8,'vt':0x2}};function _0x3247ef(_0xaae0a8,_0x3f6322,_0x17d8e6){const _0x407116=_0x32a484,_0x1d93c0=_0xaae0a8[_0x407116(0x3fc)](_0x2fa876[_0x407116(0x3d2)]),_0x2c001f=_0x17d8e6['split']('_');switch(_0x3f6322){case _0x33417a[_0x407116(0x486)][_0x407116(0x491)]:return _0x1d93c0['t'](_0x407116(0x2dc),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x28d)]:return _0x1d93c0['t'](_0x407116(0x1ed),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x4eb)]:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x2c001f);case _0x33417a[_0x407116(0x486)]['HourMinute']:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x2c001f);case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x407116(0x3d1)]:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x47d)]:return _0x1d93c0['t'](_0x407116(0x291),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x34e)]:return _0x1d93c0['t'](_0x407116(0x462),..._0x2c001f);case _0x33417a[_0x407116(0x486)]['YearMonth']:return _0x1d93c0['t'](_0x407116(0x3f4),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x3e3)]:return _0x1d93c0['t'](_0x407116(0x227),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x43c)]:return _0x1d93c0['t'](_0x407116(0x242),..._0x2c001f);}return'';}const _0x3428b9=(_0x12a913,_0xeced2b,_0x40d8a2,_0x5c2426)=>{const _0x3747bc=_0x32a484;let _0x1fbb92;const _0x6bc6c8=_0x12a913[_0x3747bc(0x3fc)](_0x2fa876[_0x3747bc(0x361)])['getCurrentUnitForType'](_0x2fa876['UniverInstanceType'][_0x3747bc(0x28a)]);if(!_0x6bc6c8)return null;const _0x4842c6=_0x6bc6c8[_0x3747bc(0x2bb)]();let _0x440372;if(_0x40d8a2&&(_0x440372=_0x4842c6[_0x3747bc(0x280)](_0x40d8a2)),_0xeced2b!=null&&_0xeced2b['v']||(_0xeced2b==null?void 0x0:_0xeced2b['v'])===0x0){_0x1fbb92||(_0x1fbb92={});const _0x2e5c89=_0xa7cb16(_0xeced2b['v']);typeof _0x2e5c89==_0x3747bc(0x309)?_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)][_0x3747bc(0x2b6)]:typeof _0x2e5c89=='string'&&(_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)]['STRING']),_0x1fbb92['v']=_0x2e5c89;}if((_0xeced2b!=null&&_0xeced2b['i']||(_0xeced2b==null?void 0x0:_0xeced2b['i'])===0x0)&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92['fi']=_0xeced2b['i']),_0xeced2b!=null&&_0xeced2b['s']&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92[_0x3747bc(0x22e)]=_0xeced2b['s']),_0x40d8a2&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92['s']=_0x440372),_0x5c2426&&_0x1fbb92!=null&&_0x1fbb92['v']&&_0x1fbb92['pbt']!==_0x33417a[_0x3747bc(0x307)][_0x3747bc(0x43e)]&&_0x1fbb92[_0x3747bc(0x22e)]!==_0x33417a[_0x3747bc(0x307)]['Subtotal']){const _0x15a184=String(_0x1fbb92['v']),{dateType:_0x299c99}=_0x5c2426;_0x1fbb92['v']=_0x3247ef(_0x12a913,_0x299c99,_0x15a184),_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)][_0x3747bc(0x494)];}return _0x1fbb92;},_0x204472=(_0x1d82ef,_0x17e385,_0x231a35,_0x55933e)=>{const _0x473aba=_0x32a484;var _0x397882,_0x23cdf0,_0x23fa4c,_0x294bc7,_0x4fa67e,_0x5cf7f9,_0x44cde0,_0x44cda9,_0x506500,_0x2bebe7,_0x4c9a86,_0x3e00e4,_0x5b9336,_0x1276c4;const _0x538d10=_0x231a35[_0x473aba(0x412)],{cornerView:_0x43a6f1,rowView:_0x1b8310,colView:_0xc494b,dataView:_0x18ea80,pageView:_0x5f03b5,formatMap:_0x8aa481,groupInfo:_0x56d0b3}=_0x17e385,{row:_0xedebb4,col:_0x2d0af6}=_0x538d10,_0x43fff2=new _0x2fa876[(_0x473aba(0x48a))](),_0x46fefd={},_0x52fb57={},_0xebc3f9={},_0x4a7357={},_0x2a6391={};let _0x4e46ac=_0xedebb4,_0x5a9beb=_0x2d0af6;Object[_0x473aba(0x31e)](_0x5f03b5[_0x473aba(0x484)])[_0x473aba(0x4c2)](_0x16311f=>{const _0x43ed6c=_0x473aba;Object[_0x43ed6c(0x31e)](_0x5f03b5[_0x43ed6c(0x484)][Number(_0x16311f)])[_0x43ed6c(0x4c2)](_0x30e364=>{const _0x3d38e1=_0x43ed6c,_0x2d4474={..._0x5f03b5[_0x3d38e1(0x484)][Number(_0x16311f)][Number(_0x30e364)]};_0x43fff2['setValue'](Number(_0x16311f)+_0x4e46ac,Number(_0x30e364)+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x2d4474,_0x226288[_0x3d38e1(0x456)]));});});const _0x3d1140=Object[_0x473aba(0x31e)](_0x5f03b5[_0x473aba(0x484)])[_0x473aba(0x249)];_0x4e46ac+=_0x3d1140+(_0x3d1140?_0x4814ba:0x0);const _0x15ebcb=_0x43a6f1['getRowCount'](),_0x56d6d3=_0x43a6f1[_0x473aba(0x4c4)]();for(let _0x53d594=0x0;_0x53d594<_0x15ebcb;_0x53d594++)for(let _0x8f8e75=0x0;_0x8f8e75<_0x56d6d3;_0x8f8e75++){const _0x2516a8={...(_0x23cdf0=(_0x397882=_0x43a6f1[_0x473aba(0x484)])==null?void 0x0:_0x397882[_0x53d594])==null?void 0x0:_0x23cdf0[_0x8f8e75]};_0x2516a8&&((_0x23fa4c=_0x1b8310[_0x473aba(0x302)][_0x8f8e75])!=null&&_0x23fa4c[_0x473aba(0x3de)])&&_0x8f8e75===_0x56d6d3-0x1&&_0x53d594===_0x15ebcb-0x1&&(_0x2516a8['v']=''+_0x55933e[_0x473aba(0x483)]),_0x43fff2[_0x473aba(0x280)](_0x53d594+_0x4e46ac,_0x8f8e75+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x2516a8,_0x226288[_0x473aba(0x4df)]));}for(let _0x6a9ec6=0x0;_0x6a9ec6<_0x43a6f1[_0x473aba(0x45f)]['length'];_0x6a9ec6++)_0x43a6f1[_0x473aba(0x45f)][_0x6a9ec6]&&(_0xebc3f9[''+(_0x6a9ec6+_0x5a9beb)]=_0x43a6f1[_0x473aba(0x45f)][_0x6a9ec6]);_0x5a9beb+=_0x56d6d3;const _0x3cd360=_0xc494b[_0x473aba(0x302)],_0xd0a4e7=_0xc494b[_0x473aba(0x364)]()>=0x0?_0xc494b[_0x473aba(0x364)]()+0x1:0x0,_0xcccf6c=_0xc494b[_0x473aba(0x27b)]()>=0x0?_0xc494b[_0x473aba(0x27b)]()+0x1:0x0;for(let _0x5b2eb2=0x0;_0x5b2eb2<_0xcccf6c;_0x5b2eb2++){for(let _0x2ca88a=0x0;_0x2ca88a<_0xd0a4e7;_0x2ca88a++){const _0x27ee88={...(_0x4fa67e=(_0x294bc7=_0xc494b[_0x473aba(0x484)])==null?void 0x0:_0x294bc7[_0x2ca88a])==null?void 0x0:_0x4fa67e[_0x5b2eb2]},_0x188413=(_0x5cf7f9=_0x3cd360[_0x2ca88a])==null?void 0x0:_0x5cf7f9[_0x473aba(0x407)],_0x633ae8=_0x8aa481[_0x188413],_0x266fdb=_0x56d0b3[_0x188413];_0x27ee88&&(_0x27ee88['v']=_0x27d4ee(_0x27ee88,_0x2ca88a===0x0&&((_0x44cde0=_0xc494b['getHeaderMapItem'](_0x5b2eb2+0x1))==null?void 0x0:_0x44cde0['isValue']),_0x633ae8,_0x55933e));let _0x578972;_0x633ae8?_0x578972={..._0x226288[_0x473aba(0x4c9)],'n':{'pattern':_0x633ae8}}:_0x578972={..._0x226288[_0x473aba(0x4c9)]},_0x43fff2[_0x473aba(0x280)](_0x2ca88a+_0x4e46ac,_0x5b2eb2+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x27ee88,_0x578972,_0x266fdb));}_0xc494b[_0x473aba(0x45f)][_0x5b2eb2]&&(_0x52fb57[''+(_0x5b2eb2+_0x5a9beb)]=_0xc494b[_0x473aba(0x45f)][_0x5b2eb2]),_0xc494b[_0x473aba(0x302)][_0x5b2eb2+0x1]&&(_0x2a6391[''+(_0x5b2eb2+_0x4e46ac+0x1)]=_0xc494b['headerMap'][_0x5b2eb2+0x1]);}_0x4e46ac+=_0x15ebcb;const _0x5f46d5=_0x1b8310[_0x473aba(0x302)],_0x359dcc=_0x1b8310['getLastRow']()>=0x0?_0x1b8310['getLastRow']()+0x1:0x0,_0x10f46b=_0x1b8310['getLastCol']()>=0x0?_0x1b8310['getLastCol']()+0x1:0x0;for(let _0x23f878=0x0;_0x23f878<_0x359dcc;_0x23f878++){for(let _0x1c7e95=0x0;_0x1c7e95<_0x10f46b;_0x1c7e95++){const _0x542479={...(_0x506500=(_0x44cda9=_0x1b8310[_0x473aba(0x484)])==null?void 0x0:_0x44cda9[_0x23f878])==null?void 0x0:_0x506500[_0x1c7e95]},_0x4d358e=(_0x2bebe7=_0x5f46d5[_0x1c7e95])==null?void 0x0:_0x2bebe7['tableFieldId'],_0x2218df=_0x8aa481[_0x4d358e],_0x524719=_0x56d0b3[_0x4d358e];_0x542479&&(_0x542479['v']=_0x27d4ee(_0x542479,!0x1,_0x2218df,_0x55933e));let _0x36326e;_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x1e8)]===_0x1b8310['getColCount']()?_0x36326e=_0x226288[_0x473aba(0x4d5)]:_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x46c)]?_0x36326e=_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x1e8)]===0x0?_0x226288[_0x473aba(0x4ac)]:_0x226288['subTotalStyle']:_0x36326e=_0x226288['rowStyle'],_0x2218df&&(_0x36326e={..._0x36326e,'n':{'pattern':_0x2218df}}),_0x43fff2[_0x473aba(0x280)](_0x23f878+_0x4e46ac,_0x1c7e95+_0x2d0af6,_0x3428b9(_0x1d82ef,_0x542479,_0x36326e,_0x524719));}_0x1b8310['info'][_0x23f878]&&(_0x46fefd[''+(_0x23f878+_0x4e46ac)]=_0x1b8310[_0x473aba(0x45f)][_0x23f878]),_0x1b8310[_0x473aba(0x302)][_0x23f878]&&(_0x4a7357[''+(_0x23f878+_0x2d0af6)]=_0x1b8310['headerMap'][_0x23f878]);}const _0x4fadff=_0x18ea80[_0x473aba(0x4b4)](),_0x245441=_0x18ea80[_0x473aba(0x4c4)]();for(let _0x952912=0x0;_0x952912<_0x4fadff;_0x952912++)for(let _0x3d6dcd=0x0;_0x3d6dcd<_0x245441;_0x3d6dcd++){const _0x4b0ba7={...(_0x3e00e4=(_0x4c9a86=_0x18ea80[_0x473aba(0x484)])==null?void 0x0:_0x4c9a86[_0x952912])==null?void 0x0:_0x3e00e4[_0x3d6dcd]};let _0x193fa7;_0x1b8310[_0x473aba(0x45f)][_0x952912]['isBottomTotal']?_0x193fa7=_0x1b8310[_0x473aba(0x45f)][_0x952912]['level']===0x0?_0x226288[_0x473aba(0x4ac)]:_0x226288['subTotalStyle']:_0x193fa7=_0x226288[_0x473aba(0x3ac)];const _0x170b4=_0x1b8310[_0x473aba(0x45f)][_0x952912]['valueIndex'],_0x573432=_0xc494b[_0x473aba(0x45f)][_0x3d6dcd]['valueIndex'],_0x300523=Math[_0x473aba(0x1f9)](_0x170b4,_0x573432),_0x1e7254=_0x231a35[_0x473aba(0x481)][_0x473aba(0x414)][_0x473aba(0x398)]();let _0x41c0ee='';_0x300523<0x0?_0x41c0ee=(_0x5b9336=_0x1e7254[0x0])!=null?_0x5b9336:'':_0x41c0ee=(_0x1276c4=_0x1e7254[_0x300523])!=null?_0x1276c4:'';const _0x51121f=_0x8aa481[_0x41c0ee];_0x51121f&&(_0x193fa7={..._0x193fa7,'n':{'pattern':_0x51121f}}),_0x43fff2[_0x473aba(0x280)](_0x952912+_0x4e46ac,_0x3d6dcd+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x4b0ba7,_0x193fa7));}return{'valueMatrix':_0x43fff2,'rowInfo':_0x46fefd,'colInfo':_0x52fb57,'cornerInfo':_0xebc3f9,'rowHeaderMap':_0x4a7357,'colHeaderMap':_0x2a6391};};function _0x27d4ee(_0x176e3c,_0x2c55c8,_0x152074,_0x195bdd){const _0x9c98df=_0x32a484;let _0x9955b2=_0x176e3c['v'];_0x2c55c8&&(_0x9955b2=''+_0x195bdd[_0x9c98df(0x483)]);const _0x36432b=_0x176e3c['t']&&(_0x176e3c['t']&_0x33417a[_0x9c98df(0x44b)][_0x9c98df(0x23b)])>0x0;_0x36432b&&(_0x9955b2=''+_0x195bdd['sheets-pivot.blank']);const _0x5c4926=_0x176e3c['t']&&(_0x176e3c['t']&_0x33417a['PivotViewCellValueTypeEnum'][_0x9c98df(0x30b)])>0x0;if(_0x5c4926&&(_0x9955b2=''+_0x195bdd[_0x9c98df(0x457)]),_0x176e3c['s']===_0x33417a['PivotCellStyleTypeEnum'][_0x9c98df(0x39b)]){let _0x55068a=_0x9955b2,_0x41eb93='';_0x33417a['isPrefixValue'](_0x9955b2)&&(_0x55068a=_0x9955b2[_0x9c98df(0x438)],_0x41eb93=_0x9955b2[_0x9c98df(0x28c)]);const _0x172aa7=_0x152074&&!_0x36432b&&!_0x5c4926?_0x2fa876[_0x9c98df(0x2c5)]['format'](_0x152074,Number(_0x55068a)):_0x55068a;_0x41eb93?_0x9955b2=_0x172aa7+'\x20'+_0x41eb93:_0x9955b2=_0x172aa7+'\x20'+_0x195bdd['sheets-pivot.subTotal'];}else _0x176e3c['s']===_0x33417a['PivotCellStyleTypeEnum']['GrandTotal']&&(_0x9955b2=_0x9955b2+'\x20'+_0x195bdd[_0x9c98df(0x2aa)]);return _0x9955b2;}function _0xa7cb16(_0x5ca8a6){const _0x5000a0=_0x32a484;if(_0x33417a[_0x5000a0(0x2f9)](_0x5ca8a6)){const {errorType:_0x4ee98e}=_0x5ca8a6;switch(_0x4ee98e){case _0x33417a[_0x5000a0(0x2f4)][_0x5000a0(0x449)]:return _0x196a8d[_0x5000a0(0x1d7)][_0x5000a0(0x46a)];case _0x33417a[_0x5000a0(0x2f4)]['NotNumber']:return _0x196a8d[_0x5000a0(0x1d7)]['NUM'];case _0x33417a['PivotErrorTypeEnum'][_0x5000a0(0x40f)]:return _0x196a8d['ErrorType'][_0x5000a0(0x480)];case _0x33417a[_0x5000a0(0x2f4)]['NotName']:return _0x196a8d['ErrorType'][_0x5000a0(0x480)];case _0x33417a[_0x5000a0(0x2f4)][_0x5000a0(0x3c8)]:return _0x196a8d[_0x5000a0(0x1d7)][_0x5000a0(0x458)];}}return _0x5ca8a6;}function _0x47957b(_0x1f0b62,_0x590203,_0x4d1e5e=!0x1,_0x4d9776=!0x1){const _0xe9c216=_0x32a484,{data:_0x70d8fb}=_0x590203,_0x2de9ff=_0x590203[_0xe9c216(0x4b4)](),_0x576b3b=_0x590203['getColCount']();if(_0x2de9ff<=0x0||_0x576b3b<=0x0)return[];const _0x434be8=_0x590203[_0xe9c216(0x27b)](),_0x2bf908=_0x590203[_0xe9c216(0x364)](),_0x205a86=_0x4d9776?_0x2bf908>=0x0?_0x2bf908+0x1:0x0:_0x2de9ff,_0x20a19d=_0x4d9776?_0x434be8>=0x0?_0x434be8+0x1:0x0:_0x576b3b,{row:_0x1ec0e8,col:_0x1e8e9d}=_0x1f0b62,_0x28657a=_0x1ec0e8,_0x39c7e2=_0x1e8e9d;if(_0x4d1e5e){const _0x380f91=[];for(const [_0x422d5d,_0xb12bec]of Object[_0xe9c216(0x408)](_0x70d8fb))for(const [_0x1a2298,_0x3ae7af]of Object[_0xe9c216(0x408)](_0xb12bec))_0x380f91[_0xe9c216(0x296)](_0x2fa876['cellToRange'](_0x28657a+Number(_0x422d5d),_0x39c7e2+Number(_0x1a2298)));return _0x380f91;}else{const _0x45855f=_0x4d9776?_0x205a86>0x0?0x1:0x0:0x1,_0x552e04=_0x4d9776?_0x20a19d>0x0?0x1:0x0:0x1,_0x51162a=_0x1ec0e8+_0x205a86-_0x45855f,_0x64481f=_0x1e8e9d+_0x20a19d-_0x552e04;return[{'startRow':_0x28657a,'startColumn':_0x39c7e2,'endRow':_0x51162a,'endColumn':_0x64481f}];}}const _0x51f97f=_0x32a484(0x388),_0x5f27fb=_0x32a484(0x346);var _0x1ce851=(_0x73fb2e=>(_0x73fb2e[_0x32a484(0x3d0)]=_0x32a484(0x2c6),_0x73fb2e[_0x32a484(0x261)]=_0x32a484(0x260),_0x73fb2e[_0x32a484(0x357)]=_0x32a484(0x385),_0x73fb2e[_0x32a484(0x241)]=_0x32a484(0x241),_0x73fb2e[_0x32a484(0x3d5)]='addPivotTable',_0x73fb2e[_0x32a484(0x397)]=_0x32a484(0x3b1),_0x73fb2e[_0x32a484(0x339)]=_0x32a484(0x45b),_0x73fb2e['SetPivotCollapse']=_0x32a484(0x353),_0x73fb2e[_0x32a484(0x1e6)]=_0x32a484(0x38e),_0x73fb2e[_0x32a484(0x4d3)]=_0x32a484(0x20c),_0x73fb2e[_0x32a484(0x3a0)]=_0x32a484(0x23d),_0x73fb2e['UpdatePivotSource']='updatePivotSource',_0x73fb2e[_0x32a484(0x3ba)]=_0x32a484(0x34c),_0x73fb2e[_0x32a484(0x33d)]=_0x32a484(0x442),_0x73fb2e[_0x32a484(0x220)]='setValuePivotFilter',_0x73fb2e[_0x32a484(0x2e3)]='setPivotTableConfig',_0x73fb2e[_0x32a484(0x2fc)]=_0x32a484(0x344),_0x73fb2e))(_0x1ce851||{});const _0x46fdd4={'sheets-pivot.blankValue':_0x32a484(0x4db),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x32a484(0x358),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x32a484(0x4a5),'sheets-pivot.averageName':_0x32a484(0x40e),'sheets-pivot.countName':_0x32a484(0x394),'sheets-pivot.countNumsName':_0x32a484(0x394),'sheets-pivot.maxName':_0x32a484(0x1dd),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x32a484(0x1ef),'sheets-pivot.stdDevName':_0x32a484(0x29b),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x32a484(0x46b),'sheets-pivot.varName':_0x32a484(0x2be),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x32a484(0x39b),'sheets-pivot.grandTotal':_0x32a484(0x4bf),'sheets-pivot.value':_0x32a484(0x28c),'sheets-pivot.blank':'blank','sheets-pivot.other':_0x32a484(0x30b),'sheets-pivot.emptyPivot.filter':_0x32a484(0x3d0),'sheets-pivot.emptyPivot.row':_0x32a484(0x349),'sheets-pivot.emptyPivot.column':_0x32a484(0x1d6),'sheets-pivot.emptyPivot.values':_0x32a484(0x3c4)},_0x47aadf={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x1d5a00=_0x2fa876[_0x32a484(0x316)]('pivotPerformCheck'),_0x1a7dbe=_0x2fa876[_0x32a484(0x24b)](_0x32a484(0x463));var _0xf2a767=(_0x531585=>(_0x531585['add']=_0x32a484(0x308),_0x531585['delete']=_0x32a484(0x3a9),_0x531585[_0x32a484(0x2bf)]=_0x32a484(0x2bf),_0x531585))(_0xf2a767||{}),_0x477731=(_0x2884de=>(_0x2884de[_0x32a484(0x401)]=_0x32a484(0x308),_0x2884de[_0x32a484(0x47a)]=_0x32a484(0x268),_0x2884de[_0x32a484(0x3df)]=_0x32a484(0x3a9),_0x2884de))(_0x477731||{});const _0x12d10f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x212),'handler':()=>!0x0},_0x195cb7={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x26c),'handler':()=>!0x0},_0x444296={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x4e8),'handler':()=>!0x0},_0x38a7b1={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2ce),'handler':()=>!0x0},_0x3e71e4={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x49b),'handler':()=>!0x0};var _0xeafe12=Object[_0x32a484(0x48e)],_0x1c9a36=(_0x1e70c8,_0x18385c,_0x99b65e,_0x30fa2c)=>{for(var _0x2feae6=_0x30fa2c>0x1?void 0x0:_0x30fa2c?_0xeafe12(_0x18385c,_0x99b65e):_0x18385c,_0x4194cb=_0x1e70c8['length']-0x1,_0x499017;_0x4194cb>=0x0;_0x4194cb--)(_0x499017=_0x1e70c8[_0x4194cb])&&(_0x2feae6=_0x499017(_0x2feae6)||_0x2feae6);return _0x2feae6;},_0x1edf2a=(_0x4b63a5,_0x1f3e94)=>(_0x56b641,_0x1f0228)=>_0x1f3e94(_0x56b641,_0x1f0228,_0x4b63a5);_0xd0af73[_0x32a484(0x3af)]=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0xb38941){const _0x1f1c46=_0x32a484;super(),_0x25ab16(this,_0x1f1c46(0x2e7),new Map()),this[_0x1f1c46(0x4cf)]=_0xb38941;}[_0x32a484(0x482)](_0x68fda6){const _0x4fa7ed=_0x32a484,{version:_0x266f03}=_0x68fda6,_0x2c9994=this[_0x4fa7ed(0x2e7)][_0x4fa7ed(0x3fc)](_0x266f03);_0x2c9994&&(_0x2c9994(_0x68fda6),this[_0x4fa7ed(0x2e7)][_0x4fa7ed(0x3a9)](_0x266f03));}[_0x32a484(0x263)](_0x2d6123){return new Promise((_0x2ab207,_0x43d58e)=>{const _0x136647=_0x33f8,_0x230363=this[_0x136647(0x342)]();this['_requestResolvers'][_0x136647(0x268)](_0x230363,_0x2ab207),this[_0x136647(0x4cf)][_0x136647(0x24f)](_0x12d10f['id'],{'version':_0x230363,..._0x2d6123},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x539f8c=_0x32a484;return Math[_0x539f8c(0x2a3)]()[_0x539f8c(0x2cf)](0x24)[_0x539f8c(0x2f5)](0x2,0x10);}},_0xd0af73[_0x32a484(0x3af)]=_0x1c9a36([_0x1edf2a(0x0,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x41b)]))],_0xd0af73[_0x32a484(0x3af)]);const _0x271cb0={0x0:'q',0x1:'F',0x2:'0',0x3:'c',0x4:'9',0x5:'8',0x6:'y',0x7:'O',0x8:'4',0x9:'u','p':'1','c':'2','s':'3','z':'5','U':'6','B':'7','D':'a','O':'b','g':'d','F':'e','h':'f','w':'g','q':'h','b':'i','X':'j','v':'k','H':'l','P':'m','x':'n','t':'o','J':'p','T':'r','C':'s','K':'t','I':'v','u':'w','Y':'x','a':'z','N':'A','S':'B','d':'C','V':'D','M':'E','k':'G','r':'H','A':'I','m':'J','G':'K','Z':'L','f':'M','R':'N','n':'P','e':'Q','i':'R','E':'S','j':'T','L':'U','l':'V','y':'W','Q':'X','o':'Y','W':'Z'},_0x434851=_0x32a484(0x4b0),_0x97a458=_0xd3c348=>{const _0xb4b383=_0x32a484;var _0x5f2c0b;return((_0x5f2c0b=_0xd3c348[_0xb4b383(0x34f)])==null?void 0x0:_0x5f2c0b['dataStream'][_0xb4b383(0x4b9)](/\r\n$/,''))||'';};class _0xc8ac62 extends _0x33417a[_0x32a484(0x37a)]{constructor(_0x19a18a,_0x3e9e4b){const _0x19ce57=_0x32a484;super(),_0x25ab16(this,_0x19ce57(0x4d7),{}),_0x25ab16(this,_0x19ce57(0x4d0)),_0x25ab16(this,'_host'),(this[_0x19ce57(0x4d0)]=_0x3e9e4b,this[_0x19ce57(0x3ef)]=_0x19a18a);}['initDataRanges'](){const _0xb1de03=_0x32a484;for(const _0x485037 in this[_0xb1de03(0x23c)]){const _0x461547=this[_0xb1de03(0x23c)][_0x485037],_0x5e6471=_0x461547['getRangeKey']();this[_0xb1de03(0x4d7)][_0x5e6471]=_0x461547['getId']();}}['getAutoDisplayNameFunction'](){const _0x49cf04=_0x32a484,_0x542358=this[_0x49cf04(0x3ef)];return _0x232a20[_0x49cf04(0x286)](_0x542358);}[_0x32a484(0x240)](_0x52f9eb){const _0x232580=_0x32a484,_0x1f2728=this['dataFields'][_0x52f9eb][_0x232580(0x2d7)];delete this[_0x232580(0x23c)][_0x52f9eb],delete this[_0x232580(0x4d7)][_0x1f2728];}[_0x32a484(0x355)](_0x5cb229){this['dataFields'][_0x5cb229['getId']()]=_0x5cb229;}['removeCollectionImp'](_0x53c8cd){const _0x1c825e=_0x32a484;var _0x17740a,_0x4cb5dd;const _0x4590ed=this[_0x1c825e(0x3ef)][_0x1c825e(0x4aa)](_0x53c8cd);if(_0x4590ed){const {unitId:_0x106e88,subUnitId:_0x5513d0}=_0x4590ed,_0x483239=(_0x17740a=this[_0x1c825e(0x3ef)]['getPivotTableConfig'](_0x106e88,_0x5513d0,_0x53c8cd))==null?void 0x0:_0x17740a['sourceRangeInfo'];this['_host'][_0x1c825e(0x217)]({'token':_0x53c8cd,'type':_0xf2a767[_0x1c825e(0x3a9)],'dataRangeInfo':_0x483239});}(_0x4cb5dd=this[_0x1c825e(0x336)](_0x53c8cd))==null||_0x4cb5dd['dispose'](),delete this[_0x1c825e(0x4e2)][_0x53c8cd];}['getRangeKey'](_0x4d4b8b,_0x542f29){const _0x59d669=_0x32a484,{sheetName:_0x3afa6d,unitId:_0x29153c,range:_0x39eafb}=_0x4d4b8b,{startRow:_0xc0f350,endRow:_0x3b85ac}=_0x39eafb;return _0x196a8d[_0x59d669(0x278)](_0x29153c,_0x3afa6d,{'startRow':_0xc0f350,'endRow':_0x3b85ac,'startColumn':_0x542f29,'endColumn':_0x542f29});}[_0x32a484(0x3e1)](_0x1c28f3){const _0x5c948b=_0x32a484;return this[_0x5c948b(0x23c)][this[_0x5c948b(0x4d7)][_0x1c28f3]];}['setRangeKeyMap'](_0x4ef967,_0xdf2395){const _0x270f0d=_0x32a484;this[_0x270f0d(0x4d7)][_0x4ef967]=_0xdf2395;}[_0x32a484(0x27e)](_0x10d605,_0x1ac18b){const _0x3b86b9=_0x32a484;this['rangeKeyMap'][_0x1ac18b]=this[_0x3b86b9(0x4d7)][_0x10d605],delete this[_0x3b86b9(0x4d7)][_0x10d605];}[_0x32a484(0x20b)](_0x545d17,_0xd5fcd9,_0x3c3743,_0x8e167a){const _0x2e44bb=_0x32a484,_0x45fcbe=new _0x33417a[(_0x2e44bb(0x4dc))](this);_0x45fcbe['fromJSON'](_0xd5fcd9);const _0x183e67=[];let _0x50839e=0x0;for(const _0x35088c of _0x45fcbe[_0x2e44bb(0x3c1)]){const _0x29cc9=this[_0x2e44bb(0x2e5)](_0x3c3743,_0x50839e),_0x43631d=this[_0x2e44bb(0x23c)][_0x35088c];_0x43631d&&(_0x43631d['rangeKey']=_0x29cc9,this[_0x2e44bb(0x356)](_0x29cc9,_0x35088c),_0x183e67['push']({'index':_0x50839e,'dataField':_0x43631d})),_0x50839e++;}return this[_0x2e44bb(0x3c7)](_0x545d17,_0x45fcbe,_0x3c3743,_0x8e167a),{'collection':_0x45fcbe,'updateDataFieldList':_0x183e67};}['getRangeStartEndInfo'](_0x42e2e3,_0x48e796){const _0x1e1c6d=_0x32a484;return _0x42e2e3[_0x1e1c6d(0x26d)]===_0x2fa876['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0x42e2e3[_0x1e1c6d(0x3e4)],'endRow':_0x48e796[_0x1e1c6d(0x4b4)]()-0x1,'endColumn':_0x42e2e3['endColumn']}:{'startRow':_0x42e2e3[_0x1e1c6d(0x340)],'startColumn':_0x42e2e3['startColumn'],'endRow':_0x42e2e3[_0x1e1c6d(0x2d0)],'endColumn':_0x42e2e3['endColumn']};}['createCollectionWithDataRange'](_0x3bc81c){const _0x30a29c=_0x32a484,{sheetName:_0x497b6b,range:_0x188561}=_0x3bc81c,_0x124ea7=this[_0x30a29c(0x4d0)][_0x30a29c(0x347)](_0x2fa876[_0x30a29c(0x376)][_0x30a29c(0x28a)]),_0x4fed34=_0x124ea7[_0x30a29c(0x2cd)](_0x497b6b),_0x179def=_0x4fed34[_0x30a29c(0x3ea)](),{startColumn:_0x4bba26,startRow:_0x15bd9b,endColumn:_0x1ebae4}=this[_0x30a29c(0x34b)](_0x188561,_0x4fed34),_0xd117d3=_0x124ea7[_0x30a29c(0x2bb)](),_0x383a69=new _0x33417a[(_0x30a29c(0x4dc))](this);_0x383a69['setRange'](_0x3bc81c);const _0x2886c1=[],_0x308eed={};for(let _0xaec7a6=_0x4bba26;_0xaec7a6<=_0x1ebae4;_0xaec7a6++){const _0x563de6=_0x179def[_0x30a29c(0x250)](_0x15bd9b,_0xaec7a6),_0xfaf877=this[_0x30a29c(0x2e5)](_0x3bc81c,_0xaec7a6),_0x328f98=this[_0x30a29c(0x3e1)](_0xfaf877);if(_0x328f98)_0x383a69[_0x30a29c(0x4e7)](_0x328f98[_0x30a29c(0x244)](),_0x328f98[_0x30a29c(0x22d)]());else{const _0x379be8=this[_0x30a29c(0x354)]();let _0x5b0c34=this[_0x30a29c(0x48f)](_0x563de6,_0xd117d3,_0x308eed);_0x33417a[_0x30a29c(0x3b5)](_0x5b0c34)&&(_0x5b0c34=_0x2fa876['numfmt'][_0x30a29c(0x201)](_0x5b0c34['f'],Number(_0x5b0c34['v'])));const _0x335140=this[_0x30a29c(0x222)](_0x5b0c34,_0xaec7a6),_0x2e6de9=new _0x33417a[(_0x30a29c(0x31b))](_0x379be8,_0x335140,_0x33417a[_0x30a29c(0x35b)](0x3));_0x2e6de9[_0x30a29c(0x2d7)]=_0xfaf877,this[_0x30a29c(0x23c)][_0x379be8]=_0x2e6de9,_0x383a69[_0x30a29c(0x4e7)](_0x379be8,_0x335140),_0x2886c1['push']({'index':_0xaec7a6,'dataField':_0x2e6de9});}}return{'updateDataFieldList':_0x2886c1,'collection':_0x383a69};}['_getAutoName'](_0x45e094){const _0x3508a4=_0x32a484;return this[_0x3508a4(0x3ef)][_0x3508a4(0x32e)]()[_0x3508a4(0x310)]+'\x20'+_0x2fa876['numberToABC'](_0x45e094);}[_0x32a484(0x222)](_0x2f791a,_0x49e339){const _0x304185=_0x32a484;return _0x2f791a==null||_0x2f791a===''?this[_0x304185(0x31c)](_0x49e339):String(_0x2f791a);}[_0x32a484(0x336)](_0x5b601e){const _0x5d074c=_0x32a484;return this[_0x5d074c(0x4e2)][_0x5b601e];}[_0x32a484(0x3c7)](_0x13e5e5,_0x5267c1,_0x1abf1d,_0x13a494){const _0x26ede0=_0x32a484;this['collections'][_0x13e5e5]=_0x5267c1,_0x5267c1[_0x26ede0(0x419)](_0x1abf1d),this[_0x26ede0(0x3ef)]['broadcastCollectionChange']({'token':_0x13e5e5,'type':_0xf2a767[_0x26ede0(0x308)],'dataRangeInfo':_0x1abf1d,'targetCellInfo':_0x13a494});}[_0x32a484(0x382)](_0x3def2c,_0x2b0d79){const _0x3add47=_0x32a484,_0x160fdc=this[_0x3add47(0x336)](_0x3def2c),_0x47bb4d=_0x160fdc[_0x3add47(0x29d)]();let _0x1ff716=0x0;for(const _0x362231 of _0x47bb4d){const _0x36fbcc=_0x160fdc[_0x3add47(0x4a9)](_0x362231),_0x1393a2=this[_0x3add47(0x2e5)](_0x2b0d79,_0x1ff716);this['updateRangeKeyMap'](_0x36fbcc[_0x3add47(0x2d7)],_0x1393a2),_0x1ff716++;}}[_0x32a484(0x2d9)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x22d72e,_0x330c44){const _0x3f812a=_0x32a484;if(this[_0x3f812a(0x336)](_0x22d72e)){const _0x40ccb9=this['getRangeKeyList'](_0x330c44),_0x1ef811=[];for(const _0x1633ee of _0x40ccb9)this[_0x3f812a(0x4d7)][_0x1633ee]!==void 0x0&&_0x1ef811['push'](this[_0x3f812a(0x4d7)][_0x1633ee]);const _0x43b440=this[_0x3f812a(0x465)](_0x22d72e),_0x447227=[],_0x3f659f=new Set(_0x1ef811);for(const _0x11701e of _0x43b440)_0x3f659f[_0x3f812a(0x290)](_0x11701e)||_0x447227[_0x3f812a(0x296)](_0x11701e);return _0x447227;}}['getMatrixValue'](_0x2efa73,_0x2dedd1,_0x2cbaea,_0x9bc1e,_0x16ac04){const _0x4d1b85=_0x32a484;return _0x2dedd1&&_0x2dedd1[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04)?_0x2dedd1['getValue'](_0x9bc1e,_0x16ac04):_0x2cbaea&&_0x2cbaea['getValue'](_0x9bc1e,_0x16ac04)?_0x2cbaea[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04):_0x2efa73[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04);}[_0x32a484(0x40a)](_0x2c73,_0x40c6e2,_0x7d5f60,_0x3b3852){const _0x3dca3a=_0x32a484,_0x583857=this[_0x3dca3a(0x23c)][_0x2c73];if(!_0x583857)return;const {subUnitId:_0x28117c,range:_0x497fc6,unitId:_0x593f6f}=_0x40c6e2,_0x1fb8ad=this[_0x3dca3a(0x4d0)][_0x3dca3a(0x1e4)](_0x593f6f);if(!_0x1fb8ad){console[_0x3dca3a(0x3ae)]('workbook\x20is\x20not\x20found');return;}const _0x162935=_0x1fb8ad[_0x3dca3a(0x493)](_0x28117c),_0x37dba3=_0x162935[_0x3dca3a(0x3ea)](),{arrayFormulaCellDataMatrix:_0x136300,unitDataMatrix:_0x5351d0}=_0x3b3852||{},{startRow:_0x5747df,startColumn:_0x7061fa,endRow:_0x1bd098}=this[_0x3dca3a(0x34b)](_0x497fc6,_0x162935);_0x583857[_0x3dca3a(0x325)]();const _0x5a8d8e=_0x1fb8ad['getStyles'](),_0x1a25a4={},_0x484aff=this['getMatrixValue'](_0x37dba3,_0x136300,_0x5351d0,_0x5747df,_0x7061fa+_0x7d5f60);let _0x4b3a88=this[_0x3dca3a(0x48f)](_0x484aff,_0x5a8d8e,_0x1a25a4);_0x33417a[_0x3dca3a(0x3b5)](_0x4b3a88)&&(_0x4b3a88=_0x2fa876[_0x3dca3a(0x2c5)][_0x3dca3a(0x201)](_0x4b3a88['f'],Number(_0x4b3a88['v'])));const _0xa65653=this[_0x3dca3a(0x222)](_0x4b3a88,_0x7061fa+_0x7d5f60);_0x583857[_0x3dca3a(0x271)](_0xa65653);for(let _0xeaabdf=_0x5747df+0x1;_0xeaabdf<=_0x1bd098;_0xeaabdf++){const _0x41bec4=this['getMatrixValue'](_0x37dba3,_0x136300,_0x5351d0,_0xeaabdf,_0x7061fa+_0x7d5f60);_0x583857[_0x3dca3a(0x254)](this[_0x3dca3a(0x48f)](_0x41bec4,_0x5a8d8e,_0x1a25a4),_0xeaabdf-0x1-_0x5747df);}}[_0x32a484(0x381)](_0x3f3033,_0x419a81,_0x297d36){const _0x58e612=_0x32a484,{subUnitId:_0x63502,range:_0xbd8ea1,unitId:_0xd3d37b}=_0x297d36,_0x315343=this[_0x58e612(0x4d0)][_0x58e612(0x1e4)](_0xd3d37b);if(!_0x315343){console[_0x58e612(0x3ae)](_0x58e612(0x48b));return;}const _0x1ac7ee=_0x315343[_0x58e612(0x493)](_0x63502),_0x1c31be=_0x1ac7ee[_0x58e612(0x3ea)](),{startRow:_0x19d8af,startColumn:_0x248610,endRow:_0x3d634a}=this['getRangeStartEndInfo'](_0xbd8ea1,_0x1ac7ee),_0x3d39c1=_0x315343[_0x58e612(0x2bb)](),_0x49029d={};for(const {dataField:_0x18d3ed,index:_0x295931}of _0x419a81){_0x18d3ed[_0x58e612(0x325)]();const _0x2a6720=this['getMatrixValue'](_0x1c31be,void 0x0,void 0x0,_0x19d8af,_0x248610+_0x295931);let _0x36f583=this[_0x58e612(0x48f)](_0x2a6720,_0x3d39c1,_0x49029d);_0x33417a['isDateValue'](_0x36f583)&&(_0x36f583=_0x2fa876[_0x58e612(0x2c5)][_0x58e612(0x201)](_0x36f583['f'],Number(_0x36f583['v'])));const _0x11f833=this[_0x58e612(0x222)](_0x36f583,_0x248610+_0x295931);_0x18d3ed[_0x58e612(0x271)](_0x11f833);}_0x3f3033['updateAllDisplayName']();for(let _0x1ecdbf=_0x19d8af+0x1;_0x1ecdbf<=_0x3d634a;_0x1ecdbf++)for(const {index:_0x140906,dataField:_0x1aa502}of _0x419a81){const _0x7226e1=_0x1c31be[_0x58e612(0x250)](_0x1ecdbf,_0x248610+_0x140906);_0x1aa502['addRecord'](this[_0x58e612(0x48f)](_0x7226e1,_0x3d39c1,_0x49029d),_0x1ecdbf-0x1-_0x19d8af);}_0x3f3033[_0x58e612(0x45d)](_0x3d634a-_0x19d8af);}[_0x32a484(0x2cb)](_0xff2e6a){const _0x524b30=_0x32a484,{range:_0x311ff6}=_0xff2e6a,{startColumn:_0xa1b4c7,endColumn:_0x40f40b}=_0x311ff6,_0x2c1b4d=[];for(let _0x22e2d7=_0xa1b4c7;_0x22e2d7<=_0x40f40b;_0x22e2d7++)_0x2c1b4d[_0x524b30(0x296)](this['getRangeKey'](_0xff2e6a,_0x22e2d7));return _0x2c1b4d;}[_0x32a484(0x48f)](_0x123d77,_0x430722,_0x1c92c6){const _0x2616a2=_0x32a484;if(_0x123d77){const {s:_0x41e1c4,v:_0x4c1a7c,t:_0x58e41a,p:_0x4636fd}=_0x123d77;if(_0x4636fd)return _0x97a458(_0x4636fd);const _0x45d789=_0x430722[_0x2616a2(0x3fc)](_0x41e1c4);if(_0x45d789&&_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x2b6)]&&_0x45d789['n']){const {pattern:_0x978694}=_0x45d789['n'];_0x1c92c6[_0x978694]||(_0x1c92c6[_0x978694]=_0x2fa876[_0x2616a2(0x2c5)]['getFormatInfo'](_0x978694));const _0x188b4b=_0x1c92c6[_0x978694],_0x26084c=_0x188b4b[_0x2616a2(0x4ed)];if(_0x188b4b[_0x2616a2(0x384)])return String(_0x4c1a7c);if(_0x26084c)return{'v':_0x4c1a7c,'f':_0x978694};}if(_0x58e41a===_0x2fa876['CellValueType'][_0x2616a2(0x2b6)])return Number(_0x4c1a7c);if(_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x494)]||_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x4e1)])return String(_0x4c1a7c);if(_0x58e41a===void 0x0){const _0x275063=Number(_0x4c1a7c);if(!Number[_0x2616a2(0x3a7)](_0x275063)&&String(_0x275063)===_0x4c1a7c)return _0x275063;}return _0x4c1a7c!=null?_0x4c1a7c:null;}else return null;}[_0x32a484(0x265)](_0x422107){const _0x52784d=_0x32a484,{sheetName:_0x41ee88,range:_0x663f13,unitId:_0x19756b}=_0x422107,_0x477968=this[_0x52784d(0x4d0)]['getUnit'](_0x19756b);if(!_0x477968)return console[_0x52784d(0x3ae)](_0x52784d(0x48b)),{'header':[],'data':[]};const _0x2c6fbb=_0x477968['getSheetBySheetName'](_0x41ee88),_0x116ca5=_0x2c6fbb['getCellMatrix'](),{startRow:_0x2667c8,startColumn:_0x3a1f68,endRow:_0x1f0d61,endColumn:_0x105b82}=this[_0x52784d(0x34b)](_0x663f13,_0x2c6fbb),_0x47588c=_0x477968['getStyles'](),_0x285fcf=[],_0x33ba5d=[],_0x333dea={};for(let _0x1effe8=_0x2667c8;_0x1effe8<=_0x1f0d61;_0x1effe8++){const _0x5402bf=[];for(let _0x4e952e=_0x3a1f68;_0x4e952e<=_0x105b82;_0x4e952e++){const _0x24309f=_0x116ca5[_0x52784d(0x250)](_0x1effe8,_0x4e952e);_0x1effe8===_0x2667c8?_0x285fcf['push'](_0x24309f==null?null:String(_0x24309f['v'])):_0x5402bf[_0x52784d(0x296)](this['adjustSheetCellData'](_0x24309f,_0x47588c,_0x333dea));}_0x33ba5d[_0x52784d(0x296)](_0x5402bf);}return{'header':_0x285fcf,'data':_0x33ba5d};}[_0x32a484(0x4ab)](){const _0xe6b41=_0x32a484;return super[_0xe6b41(0x4ab)]();}[_0x32a484(0x232)](_0x1155b7){const _0x9d27e6=_0x32a484;super[_0x9d27e6(0x232)](_0x1155b7),this[_0x9d27e6(0x43a)]();}[_0x32a484(0x366)](){const _0x1fe5fb=_0x32a484;super[_0x1fe5fb(0x366)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x6cdb14=_0x1a345d=>{const _0x2563ef=_0x32a484,{targetCellInfo:_0x9ed6f4}=_0x1a345d,{matrixCache:_0xe5eef5,rangesCache:_0xdf976}=_0x170d7b({'filter':_0x2563ef(0x3d0),'row':'Row','column':'Column','values':_0x2563ef(0x3c4)},_0x9ed6f4),_0x4ce1af=new _0x2fa876[(_0x2563ef(0x48a))]();return _0xe5eef5['forValue']((_0x105b33,_0x4b2e09,_0x136268)=>{_0x4ce1af['setValue'](_0x105b33,_0x4b2e09,_0x136268);}),{'matrix':_0x4ce1af,'rangesCache':_0xdf976};},_0x527b53=_0x3e81fd=>{const _0x4f6685=_0x32a484;let _0x403c1f;if(_0x3e81fd!=null&&_0x3e81fd['v']||(_0x3e81fd==null?void 0x0:_0x3e81fd['v'])===0x0){_0x403c1f||(_0x403c1f={});const _0x436532=_0xa7cb16(_0x3e81fd['v']);typeof _0x436532=='number'?_0x403c1f['t']=_0x2fa876[_0x4f6685(0x393)]['NUMBER']:typeof _0x436532=='string'&&(_0x403c1f['t']=_0x2fa876['CellValueType'][_0x4f6685(0x494)]),_0x403c1f['v']=_0x436532;}return _0x403c1f;},_0x8249ad=(_0x7337b4,_0x300992,_0x1b3214)=>{const _0x1fda9e=_0x32a484;var _0x2b2e6f,_0x10ca32,_0x287a90,_0x2ae74b,_0x3cd930,_0x263432,_0x506cc7,_0xa6b6f2,_0x4a1230,_0x520655,_0x292504,_0x278cdb;const {cornerView:_0x2dfccf,rowView:_0x53c1aa,colView:_0x48a909,dataView:_0x417884,pageView:_0x209ee1,formatMap:_0x373ce4}=_0x7337b4,{row:_0x278ee0,col:_0x1ded91}=_0x300992,_0x2e16ab=new _0x2fa876['ObjectMatrix']();let _0x498c57=_0x278ee0,_0x1fbffe=_0x1ded91;Object['keys'](_0x209ee1[_0x1fda9e(0x484)])[_0x1fda9e(0x4c2)](_0x5b524b=>{const _0x1d9865=_0x1fda9e;Object[_0x1d9865(0x31e)](_0x209ee1[_0x1d9865(0x484)][Number(_0x5b524b)])['forEach'](_0x39359a=>{const _0x14ab09=_0x1d9865,_0x5b2547={..._0x209ee1[_0x14ab09(0x484)][Number(_0x5b524b)][Number(_0x39359a)]};_0x2e16ab['setValue'](Number(_0x5b524b)+_0x498c57,Number(_0x39359a)+_0x1fbffe,_0x527b53(_0x5b2547));});});const _0x3511e0=Object[_0x1fda9e(0x31e)](_0x209ee1[_0x1fda9e(0x484)])['length'];_0x498c57+=_0x3511e0+(_0x3511e0?_0x4814ba:0x0);const _0x2d8efc=_0x2dfccf[_0x1fda9e(0x4b4)](),_0x5d6569=_0x2dfccf[_0x1fda9e(0x4c4)]();for(let _0x4a6272=0x0;_0x4a6272<_0x2d8efc;_0x4a6272++)for(let _0x68f591=0x0;_0x68f591<_0x5d6569;_0x68f591++){const _0x33a47e={...(_0x10ca32=(_0x2b2e6f=_0x2dfccf[_0x1fda9e(0x484)])==null?void 0x0:_0x2b2e6f[_0x4a6272])==null?void 0x0:_0x10ca32[_0x68f591]};_0x33a47e&&((_0x287a90=_0x53c1aa[_0x1fda9e(0x302)][_0x68f591])!=null&&_0x287a90[_0x1fda9e(0x3de)])&&_0x68f591===_0x5d6569-0x1&&_0x4a6272===_0x2d8efc-0x1&&(_0x33a47e['v']=''+_0x1b3214[_0x1fda9e(0x483)]),_0x2e16ab[_0x1fda9e(0x280)](_0x4a6272+_0x498c57,_0x68f591+_0x1fbffe,_0x527b53(_0x33a47e));}_0x1fbffe+=_0x5d6569;const _0x13b917=_0x48a909[_0x1fda9e(0x302)],_0x5f3bba=_0x48a909[_0x1fda9e(0x364)]()>=0x0?_0x48a909['getLastRow']()+0x1:0x0,_0x128e6b=_0x48a909[_0x1fda9e(0x27b)]()>=0x0?_0x48a909[_0x1fda9e(0x27b)]()+0x1:0x0;for(let _0x4d14fe=0x0;_0x4d14fe<_0x128e6b;_0x4d14fe++)for(let _0x1f42bf=0x0;_0x1f42bf<_0x5f3bba;_0x1f42bf++){const _0x29fed4={...(_0x3cd930=(_0x2ae74b=_0x48a909[_0x1fda9e(0x484)])==null?void 0x0:_0x2ae74b[_0x4d14fe])==null?void 0x0:_0x3cd930[_0x1f42bf]},_0x54410b=(_0x263432=_0x13b917[_0x4d14fe])==null?void 0x0:_0x263432[_0x1fda9e(0x407)],_0x26000c=_0x373ce4[_0x54410b];_0x29fed4&&(_0x29fed4['v']=_0x27d4ee(_0x29fed4,_0x4d14fe===0x0&&((_0x506cc7=_0x48a909[_0x1fda9e(0x25b)](_0x1f42bf+0x1))==null?void 0x0:_0x506cc7[_0x1fda9e(0x3de)]),_0x26000c,_0x1b3214)),_0x2e16ab['setValue'](_0x4d14fe+_0x498c57,_0x1f42bf+_0x1fbffe,_0x527b53(_0x29fed4));}_0x498c57+=_0x2d8efc;const _0x2a0f8c=_0x53c1aa[_0x1fda9e(0x302)],_0x1a1513=_0x53c1aa[_0x1fda9e(0x364)]()>=0x0?_0x53c1aa[_0x1fda9e(0x364)]()+0x1:0x0,_0x4a9218=_0x53c1aa[_0x1fda9e(0x27b)]()>=0x0?_0x53c1aa['getLastCol']()+0x1:0x0;for(let _0x3e8a4c=0x0;_0x3e8a4c<_0x1a1513;_0x3e8a4c++)for(let _0x57489a=0x0;_0x57489a<_0x4a9218;_0x57489a++){const _0x1459df={...(_0x4a1230=(_0xa6b6f2=_0x53c1aa[_0x1fda9e(0x484)])==null?void 0x0:_0xa6b6f2[_0x3e8a4c])==null?void 0x0:_0x4a1230[_0x57489a]},_0x2b3743=(_0x520655=_0x2a0f8c[_0x57489a])==null?void 0x0:_0x520655[_0x1fda9e(0x407)],_0x20ad65=_0x373ce4[_0x2b3743];_0x1459df&&(_0x1459df['v']=_0x27d4ee(_0x1459df,!0x1,_0x20ad65,_0x1b3214)),_0x2e16ab[_0x1fda9e(0x280)](_0x3e8a4c+_0x498c57,_0x57489a+_0x1ded91,_0x527b53(_0x1459df));}const _0x3e7e6f=_0x417884[_0x1fda9e(0x4b4)](),_0xe32f8a=_0x417884['getColCount']();for(let _0x233a9f=0x0;_0x233a9f<_0x3e7e6f;_0x233a9f++)for(let _0x22cc90=0x0;_0x22cc90<_0xe32f8a;_0x22cc90++){const _0x15557f={...(_0x278cdb=(_0x292504=_0x417884[_0x1fda9e(0x484)])==null?void 0x0:_0x292504[_0x233a9f])==null?void 0x0:_0x278cdb[_0x22cc90]};_0x2e16ab[_0x1fda9e(0x280)](_0x233a9f+_0x498c57,_0x22cc90+_0x1fbffe,_0x527b53(_0x15557f));}return _0x2e16ab;},_0x3250d4=_0xbdb0ae=>{const _0x2a0203=_0x32a484,{view:_0x40769b,targetCellInfo:_0x14cb3e,isEmpty:_0x641d18,textInfo:_0x1d6f34}=_0xbdb0ae;if(_0x641d18)return _0x6cdb14(_0xbdb0ae);const {pageView:_0x27dda2,cornerView:_0x470ae8,rowView:_0x2cd3f3,colView:_0x1d6a6e,dataView:_0x27acd6}=_0x40769b,_0x6e7542=_0x47957b(_0x14cb3e,_0x27dda2,!0x0),_0x5ee4cf=_0x27dda2[_0x2a0203(0x427)]>=0x0?_0x27dda2[_0x2a0203(0x427)]+0x1:0x0,_0x582cae=_0x470ae8['getRowCount'](),_0x1cfffb=_0x470ae8[_0x2a0203(0x4c4)](),_0x51065a=_0x6e7542['length']>0x0?_0x4814ba:0x0,_0x5bebb2=_0x47957b({'row':_0x14cb3e['row']+_0x5ee4cf+_0x51065a,'col':_0x14cb3e[_0x2a0203(0x38d)]},_0x470ae8,!0x1,!0x1),_0x59c2a9=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a+_0x582cae,'col':_0x14cb3e[_0x2a0203(0x38d)]},_0x2cd3f3,!0x1,!0x0),_0x258888=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a,'col':_0x14cb3e[_0x2a0203(0x38d)]+_0x1cfffb},_0x1d6a6e,!0x1,!0x0),_0x35441e=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a+_0x582cae,'col':_0x14cb3e[_0x2a0203(0x38d)]+_0x1cfffb},_0x27acd6,!0x1,!0x1),_0x12c41a={'rowRanges':_0x59c2a9,'colRanges':_0x258888,'cornerRanges':_0x5bebb2,'dataRanges':_0x35441e,'pageRanges':_0x6e7542};return{'matrix':_0x8249ad(_0x40769b,_0x14cb3e,_0x1d6f34),'rangesCache':_0x12c41a};};var _0x3bd245=Object[_0x32a484(0x48e)],_0x118bd2=(_0x17bbcf,_0x5056dc,_0x5139e0,_0xa47823)=>{const _0x241635=_0x32a484;for(var _0x1484be=_0xa47823>0x1?void 0x0:_0xa47823?_0x3bd245(_0x5056dc,_0x5139e0):_0x5056dc,_0x312dee=_0x17bbcf[_0x241635(0x249)]-0x1,_0xaa9b;_0x312dee>=0x0;_0x312dee--)(_0xaa9b=_0x17bbcf[_0x312dee])&&(_0x1484be=_0xaa9b(_0x1484be)||_0x1484be);return _0x1484be;},_0x2025cf=(_0x25cace,_0x4c6d90)=>(_0x2d3b7d,_0x1e2a08)=>_0x4c6d90(_0x2d3b7d,_0x1e2a08,_0x25cace);_0xd0af73['SheetsPivotDataSourceModel']=class extends _0x2fa876['Disposable']{constructor(_0x49bcc5,_0x1d61df,_0x2642e3,_0x32ae9f,_0x3cd7d4){const _0x52f309=_0x32a484;super(),_0x25ab16(this,_0x52f309(0x2e6),new Map()),_0x25ab16(this,_0x52f309(0x36f),new Map()),_0x25ab16(this,_0x52f309(0x1d8),new Map()),_0x25ab16(this,_0x52f309(0x1dc)),_0x25ab16(this,_0x52f309(0x498),new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,'collectionChange$',this[_0x52f309(0x498)][_0x52f309(0x411)]()),_0x25ab16(this,'_viewData$',new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,_0x52f309(0x4b1),this[_0x52f309(0x455)][_0x52f309(0x411)]()),_0x25ab16(this,_0x52f309(0x429),new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,_0x52f309(0x363),this[_0x52f309(0x429)][_0x52f309(0x411)]()),_0x25ab16(this,_0x52f309(0x262),new Map()),_0x25ab16(this,'needSameDeleteModel',[]),_0x25ab16(this,_0x52f309(0x35f),new Map()),(this[_0x52f309(0x42f)]=_0x49bcc5,this['_univerInstanceService']=_0x1d61df,this[_0x52f309(0x208)]=_0x2642e3,this['_commandService']=_0x32ae9f,this[_0x52f309(0x4ae)]=_0x3cd7d4,this[_0x52f309(0x2e8)]());}['getTextInfo'](){return this['_textInfo']?this['_textInfo']:_0x46fdd4;}['setTextInfo'](_0x266522){const _0x4702d8=_0x32a484;this[_0x4702d8(0x1dc)]=_0x266522;}['handleMoveRange'](_0x396d1c){const _0x49d398=_0x32a484;var _0x46c066;const {from:_0x25c2a8,to:_0x55879e,unitId:_0x461a00,fromRange:_0x12f6b1,toRange:_0x4b1b1a}=_0x396d1c;if(_0x25c2a8&&_0x55879e){const _0x5bf1f1=this[_0x49d398(0x4b6)](_0x461a00),_0x2a16f3=this[_0x49d398(0x2e6)][_0x49d398(0x3fc)](_0x461a00),_0x198ac9=(_0x46c066=this['_univerInstanceService'][_0x49d398(0x1e4)](_0x461a00))==null?void 0x0:_0x46c066[_0x49d398(0x493)](_0x55879e[_0x49d398(0x2fa)]);if(!_0x2a16f3||!_0x198ac9)return;const _0x19f71b=_0x198ac9==null?void 0x0:_0x198ac9[_0x49d398(0x22d)]();for(const [_0x403882,_0x56d3d4]of _0x2a16f3[_0x49d398(0x408)]())for(const [_0x2bc10e,_0x13df96]of _0x56d3d4[_0x49d398(0x408)]()){const {sourceRangeInfo:_0x148e49}=_0x13df96;if(_0x148e49[_0x49d398(0x211)]===_0x461a00&&_0x148e49['subUnitId']===_0x25c2a8['subUnitId']&&_0x2fa876[_0x49d398(0x3b2)][_0x49d398(0x24d)](_0x12f6b1,_0x148e49[_0x49d398(0x1f6)])){const _0x267b9d={'row':_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x340)]-_0x12f6b1[_0x49d398(0x340)],'col':_0x148e49[_0x49d398(0x1f6)]['startColumn']-_0x12f6b1[_0x49d398(0x3e4)]},_0x59cf01={'unitId':_0x461a00,'subUnitId':_0x55879e[_0x49d398(0x2fa)],'sheetName':_0x19f71b,'range':{'startRow':_0x4b1b1a[_0x49d398(0x340)]+_0x267b9d['row'],'endRow':_0x4b1b1a[_0x49d398(0x340)]+_0x267b9d['row']+_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x2d0)]-_0x148e49['range'][_0x49d398(0x340)],'startColumn':_0x4b1b1a[_0x49d398(0x3e4)]+_0x267b9d[_0x49d398(0x38d)],'endColumn':_0x4b1b1a['startColumn']+_0x267b9d[_0x49d398(0x38d)]+_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x315)]-_0x148e49['range'][_0x49d398(0x3e4)]}};_0x5bf1f1[_0x49d398(0x382)](_0x2bc10e,_0x59cf01);const _0x1a6d29={..._0x13df96,'sourceRangeInfo':_0x59cf01};this[_0x49d398(0x4e4)](_0x461a00,_0x55879e['subUnitId'],_0x2bc10e,_0x1a6d29),this[_0x49d398(0x217)]({'unitId':_0x461a00,'token':_0x2bc10e,'type':_0xf2a767[_0x49d398(0x2bf)],'oldSourceRangeInfo':_0x148e49,'dataRangeInfo':_0x59cf01,'targetCellInfo':_0x13df96[_0x49d398(0x412)]}),this[_0x49d398(0x1fb)]({'unitId':_0x461a00,'subUnitId':_0x55879e[_0x49d398(0x2fa)],'oldSubUnitId':_0x403882,'pivotTableId':_0x2bc10e,'pivotTableConfig':_0x1a6d29,'collectionConfig':_0x5bf1f1['toJSON']()});}}}}[_0x32a484(0x217)](_0x2b4d02){const _0x4a8ea9=_0x32a484;this[_0x4a8ea9(0x498)][_0x4a8ea9(0x451)](_0x2b4d02);}[_0x32a484(0x4b6)](_0x3f8b1d){const _0x2af4e2=_0x32a484;let _0x21b93a=this[_0x2af4e2(0x262)][_0x2af4e2(0x3fc)](_0x3f8b1d);return _0x21b93a||(_0x21b93a=new _0xc8ac62(this,this['_univerInstanceService']),this[_0x2af4e2(0x262)][_0x2af4e2(0x268)](_0x3f8b1d,_0x21b93a)),_0x21b93a;}['getCollection'](_0x1bedf6,_0x733703){const _0x46ee97=_0x32a484;return this[_0x46ee97(0x4b6)](_0x1bedf6)[_0x46ee97(0x4e2)][_0x733703];}[_0x32a484(0x368)](_0x5a5ff3,_0x28d609,_0x417b2b){const _0x24f3bf=_0x32a484;return this[_0x24f3bf(0x4b6)](_0x5a5ff3)[_0x24f3bf(0x368)](_0x28d609,_0x417b2b);}[_0x32a484(0x1e0)](_0x21a3b9,_0x436b53){const _0x5a6200=_0x32a484;let _0x5f5cbc=this['_model'][_0x5a6200(0x3fc)](_0x21a3b9);_0x5f5cbc||(_0x5f5cbc=new Map(),this['_model'][_0x5a6200(0x268)](_0x21a3b9,_0x5f5cbc));let _0x3598ab=_0x5f5cbc[_0x5a6200(0x3fc)](_0x436b53);return _0x3598ab||(_0x3598ab=new Map(),_0x5f5cbc[_0x5a6200(0x268)](_0x436b53,_0x3598ab)),_0x3598ab;}[_0x32a484(0x4e4)](_0x464fe7,_0x3bd6b9,_0x50b7e7,_0x3df664){const _0x2e9e87=_0x32a484;this[_0x2e9e87(0x1e0)](_0x464fe7,_0x3bd6b9)[_0x2e9e87(0x268)](_0x50b7e7,_0x3df664);}[_0x32a484(0x324)](_0x140b00,_0x42d9ba,_0x10d99d){const _0x65b81f=_0x32a484;var _0x1de08b,_0x2372c9,_0x2b2f07,_0xbdf00e;((_0x2372c9=(_0x1de08b=this[_0x65b81f(0x2e6)]['get'](_0x140b00))==null?void 0x0:_0x1de08b['get'](_0x42d9ba))==null?void 0x0:_0x2372c9[_0x65b81f(0x3fc)](_0x10d99d))&&((_0xbdf00e=(_0x2b2f07=this['_model']['get'](_0x140b00))==null?void 0x0:_0x2b2f07[_0x65b81f(0x3fc)](_0x42d9ba))==null||_0xbdf00e[_0x65b81f(0x3a9)](_0x10d99d));}['_updatePivotTableInstanceCache'](_0x37b01d,_0x4d539e){const _0x251838=_0x32a484;this[_0x251838(0x36f)][_0x251838(0x268)](_0x37b01d,_0x4d539e);}['_deletePivotTableInstanceCache'](_0x3523f8){const _0x2dbf8f=_0x32a484;this['_pivotTableInstanceCache'][_0x2dbf8f(0x3a9)](_0x3523f8);}['_ensureViewDataMap'](_0x361a41,_0x4161ed){const _0x32a370=_0x32a484;let _0x100a7e=this[_0x32a370(0x1d8)][_0x32a370(0x3fc)](_0x361a41);_0x100a7e||(_0x100a7e=new Map(),this[_0x32a370(0x1d8)][_0x32a370(0x268)](_0x361a41,_0x100a7e));let _0x496199=_0x100a7e[_0x32a370(0x3fc)](_0x4161ed);return _0x496199||(_0x496199=new Map(),_0x100a7e['set'](_0x4161ed,_0x496199)),_0x496199;}[_0x32a484(0x1fb)](_0xccbe40){const _0x2d73c0=_0x32a484,{unitId:_0x262963,subUnitId:_0x534369,pivotTableId:_0x2e6602,pivotTableConfig:_0x48f510,collectionConfig:_0x4d0ad2}=_0xccbe40,_0x4600b9={'unitId':_0x262963,'subUnitId':_0x534369,'oldSubUnitId':_0x534369,'pivotTableId':_0x2e6602,'pivotTableConfig':_0x48f510,'collectionConfig':_0x4d0ad2};this[_0x2d73c0(0x4cf)]['executeCommand'](_0x38a7b1['id'],_0x4600b9,{'onlyLocal':!0x0});}['updateView'](_0x484f8b,_0x173a59,_0x188ced,_0x1bdd80,_0x2def53,_0x143ff5,_0x19dddf,_0x365acf=!0x1){const _0x2f5ab5=_0x32a484;var _0x4dd6c0;this[_0x2f5ab5(0x4cf)][_0x2f5ab5(0x24f)](_0x444296['id'],{'single':{'unitId':_0x484f8b,'subUnitId':_0x173a59,'type':_0x188ced,'pivotTableId':_0x1bdd80,'view':_0x2def53,'pivotConfig':_0x143ff5},'collectionConfig':{[_0x484f8b]:_0x19dddf}},{'onlyLocal':!0x0});const _0x471ee2=!!((_0x4dd6c0=this[_0x2f5ab5(0x47b)](_0x1bdd80))!=null&&_0x4dd6c0[_0x2f5ab5(0x3fa)]()),_0x239874=this['getPivotTableConfig'](_0x484f8b,_0x173a59,_0x1bdd80);_0x239874&&this[_0x2f5ab5(0x320)]({'view':_0x2def53,'pivotTableId':_0x1bdd80,'textInfo':this[_0x2f5ab5(0x32e)](),'isEmpty':_0x471ee2,'targetCellInfo':_0x239874[_0x2f5ab5(0x412)]},_0x365acf);}[_0x32a484(0x320)](_0x413ed0,_0x440fe0){const _0x4a9eb9=_0x32a484,{targetCellInfo:_0x872c5b,pivotTableId:_0x307b31}=_0x413ed0,{unitId:_0x332f40,subUnitId:_0x17c2a4}=_0x872c5b,_0x596ad6=this[_0x4a9eb9(0x2a7)](_0x332f40,_0x17c2a4),_0x4844b7=_0x596ad6['get'](_0x307b31);let _0x1e622a,_0x2b58ff;_0x4844b7&&(_0x1e622a=_0x4844b7[_0x4a9eb9(0x49e)],_0x2b58ff=_0x4844b7[_0x4a9eb9(0x371)]);const {rangesCache:_0x294deb,matrix:_0xea51ab}=_0x3250d4(_0x413ed0);_0x596ad6[_0x4a9eb9(0x268)](_0x307b31,{'rangeCache':_0x294deb,'matrix':_0xea51ab,'oldMatrix':_0x2b58ff,'oldRangeCache':_0x1e622a}),_0x440fe0||this['_viewData$']['next']({'unitId':_0x332f40,'subUnitId':_0x17c2a4,'pivotTableId':_0x307b31});}[_0x32a484(0x30f)](_0x2e4a27,_0x5ddb0f,_0x315f64,_0x4747f6,_0x4f42fc){const _0xed4a97=_0x32a484;this[_0xed4a97(0x4e4)](_0x2e4a27,_0x5ddb0f,_0x315f64,_0x4f42fc),this[_0xed4a97(0x1f5)](_0x315f64,_0x4747f6);}['removePivotTable'](_0x10eb10,_0xdec7e4,_0x5c7bc2){const _0x17b38f=_0x32a484,_0x33620f=this[_0x17b38f(0x4b6)](_0x10eb10);_0x33620f[_0x17b38f(0x465)](_0x5c7bc2)[_0x17b38f(0x4c2)](_0x55cc1b=>{_0x33620f['deleteDataField'](_0x55cc1b);}),this[_0x17b38f(0x1fc)](_0x10eb10,_0x5c7bc2),this['_deleteModelCache'](_0x10eb10,_0xdec7e4,_0x5c7bc2),this['_deletePivotTableInstanceCache'](_0x5c7bc2);}[_0x32a484(0x292)](_0x10c927,_0x5f5547,_0x400a93,_0x47a38f){const _0x3205da=_0x32a484;this[_0x3205da(0x4e4)](_0x10c927,_0x5f5547,_0x400a93,_0x47a38f);}['getPivotTableConfig'](_0x37d7f4,_0x3c2a7a,_0x1fc0c8){const _0x377879=_0x32a484;var _0xc7f46e,_0x51221c;const _0x177140=(_0x51221c=(_0xc7f46e=this['_model'][_0x377879(0x3fc)](_0x37d7f4))==null?void 0x0:_0xc7f46e[_0x377879(0x3fc)](_0x3c2a7a))==null?void 0x0:_0x51221c[_0x377879(0x3fc)](_0x1fc0c8);if(_0x177140)return _0x177140;}['getPivotTableModelConfig'](_0x41c6dd,_0x195b82,_0xa098ee){const _0x4f9dc3=_0x32a484;var _0x26f44e,_0x1479b;const _0x54c852=(_0x1479b=(_0x26f44e=this['_model']['get'](_0x41c6dd))==null?void 0x0:_0x26f44e['get'](_0x195b82))==null?void 0x0:_0x1479b[_0x4f9dc3(0x3fc)](_0xa098ee);if(_0x54c852)return _0x54c852[_0x4f9dc3(0x481)];}[_0x32a484(0x47b)](_0x52077b){const _0x1f6bed=_0x32a484;return this[_0x1f6bed(0x36f)]['get'](_0x52077b);}[_0x32a484(0x4d8)](_0x27d8d1){const _0x10e31e=_0x32a484;this[_0x10e31e(0x2e6)][_0x10e31e(0x3a9)](_0x27d8d1);const _0x3b44b8=this[_0x10e31e(0x262)][_0x10e31e(0x3fc)](_0x27d8d1);_0x3b44b8&&(_0x3b44b8['dispose'](),this['_dataFieldManagerCollection']['delete'](_0x27d8d1)),this['_viewData']['delete'](_0x27d8d1),this[_0x10e31e(0x40d)][_0x10e31e(0x4c2)](_0xa6547d=>{const _0x4e60bc=_0x10e31e;_0xa6547d[_0x4e60bc(0x4d8)](_0x27d8d1);});}[_0x32a484(0x20b)](_0x15450e,_0x37f0b9,_0x2fcc60,_0x3f28a8){const _0x5f0231=_0x32a484;return this[_0x5f0231(0x4b6)](_0x2fcc60[_0x5f0231(0x211)])[_0x5f0231(0x20b)](_0x15450e,_0x37f0b9,_0x2fcc60,_0x3f28a8);}['createCollectionWithDataRange'](_0x5ad065){const _0x36fd0b=_0x32a484;return this[_0x36fd0b(0x4b6)](_0x5ad065['unitId'])[_0x36fd0b(0x2af)](_0x5ad065);}[_0x32a484(0x381)](_0x3a3e92,_0x55e8d2,_0xd739e4){const _0x409978=_0x32a484;this[_0x409978(0x4b6)](_0xd739e4[_0x409978(0x211)])[_0x409978(0x381)](_0x3a3e92,_0x55e8d2,_0xd739e4);}[_0x32a484(0x319)](_0x4e2830,_0x590a1a){const _0x508fae=_0x32a484;this[_0x508fae(0x4b6)](_0x4e2830)[_0x508fae(0x240)](_0x590a1a);}[_0x32a484(0x1fc)](_0x366aae,_0xd24c46){const _0x54fa0a=_0x32a484;this['getDataFieldManager'](_0x366aae)[_0x54fa0a(0x35c)](_0xd24c46);}[_0x32a484(0x40b)](_0x1d68a3,_0x3ebfcf){const _0x5c7c23=_0x32a484;var _0x76809a;return(_0x76809a=this[_0x5c7c23(0x2e6)][_0x5c7c23(0x3fc)](_0x1d68a3))==null?void 0x0:_0x76809a[_0x5c7c23(0x3fc)](_0x3ebfcf);}[_0x32a484(0x4aa)](_0x42ca40){const _0x3cdf1b=_0x32a484;for(const [_0x8bc00d,_0x4e0da0]of this[_0x3cdf1b(0x2e6)][_0x3cdf1b(0x408)]())for(const [_0x4b9417,_0x1caea8]of _0x4e0da0[_0x3cdf1b(0x408)]())if(_0x1caea8[_0x3cdf1b(0x290)](_0x42ca40))return{'unitId':_0x8bc00d,'subUnitId':_0x4b9417};return null;}['sideEffectUpdateWorkerCache'](_0x26d926,_0x17be9d,_0x1cd055,_0x1c5e35){const _0x3fe6d7=_0x32a484,_0x25bf4c=this[_0x3fe6d7(0x2a7)](_0x26d926,_0x17be9d);_0x1c5e35?_0x25bf4c['set'](_0x1cd055,_0x1c5e35):_0x25bf4c['delete'](_0x1cd055),this[_0x3fe6d7(0x455)]['next']({'unitId':_0x26d926,'subUnitId':_0x17be9d,'pivotTableId':_0x1cd055});}['dispose'](){const _0x135474=_0x32a484;super[_0x135474(0x366)]();}[_0x32a484(0x469)](_0x540787,_0x4ed1df,_0x5bc4d6){const _0x33aec5=_0x32a484;var _0x448863,_0x273028;const _0x9c9fb=(_0x273028=(_0x448863=this[_0x33aec5(0x1d8)]['get'](_0x540787))==null?void 0x0:_0x448863[_0x33aec5(0x3fc)](_0x4ed1df))==null?void 0x0:_0x273028[_0x33aec5(0x3fc)](_0x5bc4d6);return _0x9c9fb||null;}[_0x32a484(0x272)](_0x14d398){const _0x4dd5b1=_0x32a484;this[_0x4dd5b1(0x3e9)](_0x14d398);}['updateDirtyPivotTable'](_0x55ecef){const _0x2c758d=_0x32a484,{token:_0x4aa72b,unitId:_0xd78bed,subUnitId:_0x253b4f}=_0x55ecef,_0x33025b=_0xd78bed+'-'+_0x253b4f+'-'+_0x4aa72b;this[_0x2c758d(0x35f)]['get'](_0x33025b)&&clearTimeout(this['_queryingMap'][_0x2c758d(0x3fc)](_0x33025b));const _0x1fde46=setTimeout(()=>{const _0x168edb=_0x2c758d;this[_0x168edb(0x4cb)](_0x55ecef),this[_0x168edb(0x35f)][_0x168edb(0x3a9)](_0x33025b);},_0x3b3d22);this[_0x2c758d(0x35f)][_0x2c758d(0x268)](_0x33025b,_0x1fde46);}[_0x32a484(0x4cb)](_0x4792c2){const _0x57ed93=_0x32a484,{unitId:_0x3df796,subUnitId:_0x28605d,token:_0x331f25,type:_0x4d2d2a,pivotConfig:_0xf8eafb}=_0x4792c2,_0x295744=this[_0x57ed93(0x47b)](_0x331f25),_0x1e77fd=_0x295744==null?void 0x0:_0x295744[_0x57ed93(0x341)](),_0x4fe423=_0xf8eafb!=null?_0xf8eafb:this[_0x57ed93(0x2e9)](_0x3df796,_0x28605d,_0x331f25);_0x4fe423&&(_0x4fe423['isEmpty']=!!(_0x295744!=null&&_0x295744['isEmpty']())),(_0x1e77fd||_0x4d2d2a===_0x477731['Delete'])&&this[_0x57ed93(0x239)](_0x3df796,_0x28605d,_0x4d2d2a,_0x331f25,_0x1e77fd,_0x4fe423,this[_0x57ed93(0x4b6)](_0x3df796)['toJSON']());}[_0x32a484(0x4ab)](_0x25207a){const _0x281e00=_0x32a484,_0x201d09={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x281e00(0x4b6)](_0x25207a)&&(_0x201d09[_0x281e00(0x300)][_0x25207a]=this[_0x281e00(0x4b6)](_0x25207a)[_0x281e00(0x4ab)]()),this[_0x281e00(0x2e6)][_0x281e00(0x3fc)](_0x25207a)){_0x201d09[_0x281e00(0x2fd)][_0x25207a]={};const _0x438f3a=this['_model'][_0x281e00(0x3fc)](_0x25207a);_0x438f3a!=null&&_0x438f3a[_0x281e00(0x40c)]&&[..._0x438f3a['keys']()]['forEach'](_0x4d97d9=>{const _0x12f84c=_0x281e00,_0x1f676=_0x438f3a[_0x12f84c(0x3fc)](_0x4d97d9);_0x1f676!=null&&_0x1f676[_0x12f84c(0x40c)]&&(_0x201d09[_0x12f84c(0x2fd)][_0x25207a][_0x4d97d9]={},[..._0x1f676[_0x12f84c(0x31e)]()][_0x12f84c(0x4c2)](_0x45792c=>{const _0x1dcd6f=_0x12f84c,_0x141177=_0x1f676[_0x1dcd6f(0x3fc)](_0x45792c);_0x141177&&(_0x201d09['pivotTableConfigs'][_0x25207a][_0x4d97d9][_0x45792c]=_0x141177);}));});}return _0x201d09;}[_0x32a484(0x232)](_0x554c2b){const _0x494a4b=_0x32a484;var _0x4f0a40;const {dataFieldManagerConfig:_0x36c561,pivotTableConfigs:_0x23285e}=_0x554c2b;_0x36c561&&Object['keys'](_0x36c561)[_0x494a4b(0x4c2)](_0x36134e=>{const _0x20ee81=_0x494a4b;this[_0x20ee81(0x4b6)](_0x36134e)[_0x20ee81(0x232)](_0x36c561[_0x36134e]);});const _0x1a9a35=[];if(_0x23285e){const _0x287a54=(_0x4f0a40=this[_0x494a4b(0x42f)][_0x494a4b(0x3fc)](_0x2fa876['IConfigService'])['getConfig'](_0x4baa44[_0x494a4b(0x3fe)]))!=null?_0x4f0a40:{},{ls:_0x2eecd1,pbk:_0x1642ee}=_0x287a54,_0x484d78=_0x2d207d(_0x1c1f87,_0x2eecd1,_0x1642ee)[_0x494a4b(0x3cd)];Object[_0x494a4b(0x31e)](_0x23285e)[_0x494a4b(0x4c2)](_0x50112c=>{const _0x159790=_0x494a4b;let _0x5de08b=0x0;const _0x52148f=_0x23285e[_0x50112c];Object[_0x159790(0x31e)](_0x52148f)[_0x159790(0x4c2)](_0x152b5c=>{const _0x3fd61d=_0x159790,_0x577c5b=_0x52148f[_0x152b5c];Object[_0x3fd61d(0x31e)](_0x577c5b)[_0x3fd61d(0x4c2)](_0x1183c0=>{const _0xa16c68=_0x3fd61d,_0x1eb733=_0x577c5b[_0x1183c0];if(_0x1eb733){if(_0x5de08b>=_0x484d78)return;_0x5de08b++;const _0x43e699=this[_0xa16c68(0x4b6)](_0x50112c),_0x4dddcf=_0x43e699[_0xa16c68(0x4e2)][_0x1183c0],_0x316247=_0x4dddcf[_0xa16c68(0x29d)]();let _0x22477a=0x0;const _0x362087=[];for(const _0x446358 of _0x316247){const _0x47f764=_0x4dddcf[_0xa16c68(0x4a9)](_0x446358);if(_0x33417a[_0xa16c68(0x372)](_0x47f764)){const _0x3d8b2d=_0x47f764[_0xa16c68(0x45a)](),_0x5a3036=_0x4dddcf[_0xa16c68(0x4a9)](_0x3d8b2d);_0x5a3036&&_0x362087[_0xa16c68(0x296)]([_0x47f764,_0x5a3036]);continue;}_0x43e699['refreshDataField'](_0x446358,_0x1eb733[_0xa16c68(0x218)],_0x22477a),_0x22477a++;}_0x362087[_0xa16c68(0x4c2)](([_0x415cc6,_0x2138ee])=>{const _0x1b09c5=_0xa16c68;_0x415cc6[_0x1b09c5(0x4bb)](_0x2138ee);});const _0x51e4a7=new _0x33417a[(_0xa16c68(0x28e))](_0x4dddcf);_0x51e4a7[_0xa16c68(0x232)](_0x1eb733['fieldsConfig']),this[_0xa16c68(0x30f)](_0x50112c,_0x152b5c,_0x1183c0,_0x51e4a7,_0x1eb733);const _0x33c918=_0x51e4a7[_0xa16c68(0x341)]();_0x1a9a35[_0xa16c68(0x296)]({'unitId':_0x50112c,'subUnitId':_0x152b5c,'pivotTableId':_0x1183c0,'view':_0x33c918['toJSON'](),'pivotConfig':_0x1eb733,'type':_0x477731[_0xa16c68(0x401)]});const _0x45dadd=!!_0x51e4a7['isEmpty'](),_0x3de820={'view':_0x33c918,'pivotTableId':_0x1183c0,'textInfo':this[_0xa16c68(0x32e)](),'isEmpty':_0x45dadd,'targetCellInfo':_0x1eb733[_0xa16c68(0x412)]};this[_0xa16c68(0x320)](_0x3de820,!0x1);}});});});}_0x36c561&&Object[_0x494a4b(0x31e)](_0x36c561)['forEach'](_0x221f9c=>{const _0x28ad37=_0x494a4b,_0x4504e8=this[_0x28ad37(0x4b6)](_0x221f9c);this[_0x28ad37(0x429)][_0x28ad37(0x451)](_0x4504e8[_0x28ad37(0x4e2)]);}),this[_0x494a4b(0x4cf)][_0x494a4b(0x24f)](_0x444296['id'],{'batch':_0x1a9a35,'collectionConfig':_0x36c561},{'onlyLocal':!0x0});}[_0x32a484(0x2e8)](){const _0x45e9ab=_0x32a484;this['disposeWithMe'](this['_resourceManagerService'][_0x45e9ab(0x230)]({'toJson':_0x482201=>JSON[_0x45e9ab(0x277)](this[_0x45e9ab(0x4ab)](_0x482201)),'parseJson':_0x2c27bb=>{const _0x184612=_0x45e9ab;if(!_0x2c27bb)return{};try{return JSON[_0x184612(0x496)](_0x2c27bb);}catch{return{};}},'businesses':[_0x2fa876['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x1a68df,'onLoad':(_0x236109,_0x38f78b)=>{this['fromJSON'](_0x38f78b);},'onUnLoad':_0x17662b=>{const _0x456c81=_0x45e9ab;this[_0x456c81(0x4d8)](_0x17662b);}}));}},_0xd0af73[_0x32a484(0x255)]=_0x118bd2([_0x2025cf(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x2025cf(0x1,_0x2fa876['IUniverInstanceService']),_0x2025cf(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x479)])),_0x2025cf(0x3,_0x2fa876[_0x32a484(0x41b)]),_0x2025cf(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x2da)]))],_0xd0af73['SheetsPivotDataSourceModel']);const _0x275b40={0x0:{0x0:{'v':'filter','s':_0x395c60}},0x2:{0x1:{'v':'','s':_0x395c60},0x2:{'v':'','s':_0x395c60},0x3:{'v':_0x32a484(0x425),'s':_0x395c60},0x4:{'v':'','s':_0x395c60},0x5:{'v':'','s':_0x395c60}},0x3:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x4:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x5:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x6:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x7:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x8:{0x0:{'v':'row','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'values','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x9:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xa:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xb:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xc:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xd:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}}},_0x540dbd={'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':[]},_0x170d7b=(_0x52dcf5,_0xbe6812)=>{const _0x44a73c=_0x32a484,_0x3a8370=new _0x2fa876[(_0x44a73c(0x48a))](),_0x32badd=new _0x2fa876[(_0x44a73c(0x48a))](_0x275b40),{row:_0x157556,col:_0x5552eb}=_0xbe6812;_0x32badd['forValue']((_0x279d98,_0x291513,_0x4308df)=>{const _0x111b5d=_0x44a73c;let _0x1569eb='';_0x4308df['v']===_0x111b5d(0x2c6)?_0x1569eb=_0x52dcf5[_0x111b5d(0x2c6)]:_0x4308df['v']===_0x111b5d(0x213)?_0x1569eb=_0x52dcf5['row']:_0x4308df['v']===_0x111b5d(0x425)?_0x1569eb=_0x52dcf5[_0x111b5d(0x425)]:_0x4308df['v']===_0x111b5d(0x1e7)&&(_0x1569eb=_0x52dcf5['values']),_0x3a8370['setValue'](_0x279d98+_0x157556,_0x291513+_0x5552eb,{..._0x4308df,'v':_0x1569eb});});const _0x2f4a19=_0x2fa876['Tools'][_0x44a73c(0x2a4)](_0x540dbd);return Object[_0x44a73c(0x31e)](_0x540dbd)[_0x44a73c(0x4c2)](_0x5eff36=>{const _0x21edb1=_0x44a73c;_0x2f4a19[_0x5eff36]=_0x540dbd[_0x5eff36][_0x21edb1(0x2a0)](_0x1653b2=>({..._0x1653b2,'startRow':_0x1653b2[_0x21edb1(0x340)]+_0x157556,'endRow':_0x1653b2[_0x21edb1(0x2d0)]+_0x157556,'startColumn':_0x1653b2['startColumn']+_0x5552eb,'endColumn':_0x1653b2[_0x21edb1(0x315)]+_0x5552eb}));}),{'matrixCache':_0x3a8370,'rangesCache':_0x2f4a19};};function _0x232a20(_0x31a50e,_0x1fb248){const _0x55e699=_0x32a484;let _0x338617='';const _0x4bd380=this[_0x55e699(0x32e)]();switch(_0x1fb248){case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x3ff)]:_0x338617=_0x4bd380[_0x55e699(0x2ad)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x3cd)]:_0x338617=_0x4bd380['sheets-pivot.countName']+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x2b1)]:_0x338617=_0x4bd380[_0x55e699(0x38c)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x1f9)]:_0x338617=_0x4bd380['sheets-pivot.maxName']+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x20e)]:_0x338617=_0x4bd380[_0x55e699(0x1ea)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)]['product']:_0x338617=_0x4bd380[_0x55e699(0x270)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)]['stdDev']:_0x338617=_0x4bd380[_0x55e699(0x3ab)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x37d)]:_0x338617=_0x4bd380[_0x55e699(0x402)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x1e9)]:_0x338617=_0x4bd380[_0x55e699(0x417)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x269)]:_0x338617=_0x4bd380[_0x55e699(0x380)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x1d5)]:_0x338617=_0x4bd380[_0x55e699(0x362)]+_0x31a50e;break;default:_0x338617=_0x31a50e;break;}return _0x338617;}function _0x5894c7(_0x1c3f69,_0x2b9884,_0x489a6d,_0xdea5ac,_0x557ebc){const _0x1f68c1=_0x32a484;var _0x4eaa9a,_0x3f3f35,_0x30d5b1,_0x394a70,_0x5d4851;const _0x2cbb8a=_0x2fa876['cellToRange'](_0x1c3f69,_0x2b9884),{rangesInfo:_0x541bbe,areaInfo:_0x4e4948,headerMap:_0x5a4abc}=_0x557ebc;if(!_0x541bbe||!_0x4e4948||!_0x5a4abc)return;const _0x3f6a0a=Object[_0x1f68c1(0x31e)](_0x541bbe)['find'](_0x50b6a8=>_0x541bbe[_0x50b6a8][_0x1f68c1(0x26a)](_0x3c5441=>_0x2fa876[_0x1f68c1(0x3b2)][_0x1f68c1(0x24d)](_0x3c5441,_0x2cbb8a))),_0x4c60c1=_0x4e4948;let _0x5b7475,_0x4fc4f8,_0x5f094d;if(_0x3f6a0a===_0x1f68c1(0x22a))_0x5b7475=(_0x4eaa9a=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x276)])==null?void 0x0:_0x4eaa9a[_0x1c3f69],_0x4fc4f8=(_0x3f3f35=_0x5a4abc==null?void 0x0:_0x5a4abc['rowHeaderMap'])==null?void 0x0:_0x3f3f35[_0x2b9884],_0x5f094d=_0x4fc4f8==null?void 0x0:_0x4fc4f8[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x237))_0x5b7475=(_0x30d5b1=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x1eb)])==null?void 0x0:_0x30d5b1[_0x2b9884],_0x4fc4f8=(_0x394a70=_0x5a4abc[_0x1f68c1(0x22c)])==null?void 0x0:_0x394a70[_0x1c3f69+0x1+_0x2b9884-_0x541bbe['colRanges'][0x0]['startColumn']],_0x5f094d=_0x4fc4f8==null?void 0x0:_0x4fc4f8[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x3f5))_0x5b7475=(_0x5d4851=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x459)])==null?void 0x0:_0x5d4851[_0x2b9884],_0x5f094d=_0x5b7475==null?void 0x0:_0x5b7475[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x31f)){const _0x58583d=_0x489a6d==null?void 0x0:_0x489a6d['fi'];_0x58583d!==void 0x0&&(_0x5f094d=_0xdea5ac[_0x1f68c1(0x3c5)](_0x58583d));}}}}return{'filterId':_0x5f094d,'info':_0x5b7475,'data':_0x489a6d,'headerInfo':_0x4fc4f8};}function _0x4dd84c(_0x57c9c2,_0x2a343e,_0x59a4ce){const _0x358a07=_0x32a484,_0x34d269=_0x57c9c2['dataFieldsCollection'],_0x4bf365=_0x34d269[_0x358a07(0x29d)](),_0x391efe=new Set();_0x57c9c2[_0x358a07(0x293)](_0x56b9dc=>{const _0xf5ec3a=_0x358a07;_0x391efe['add'](_0x56b9dc[_0xf5ec3a(0x422)]);});const _0x4064fc=_0x4bf365[_0x358a07(0x2a0)](_0x160c51=>{const _0x345810=_0x358a07,_0x6ab287=_0x34d269[_0x345810(0x4a9)](_0x160c51);return{'checked':_0x391efe[_0x345810(0x290)](_0x160c51),'dataFieldId':_0x6ab287['id'],'id':_0x6ab287['id'],'name':_0x34d269['getDisplayName'](_0x6ab287['id']),'type':_0x6ab287[_0x345810(0x2b4)](),'pivotTableId':_0x2a343e};}),_0x4ce6b8=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x349)],_0x1beb3f=>{const _0x16f761=_0x358a07;_0x4ce6b8['push']({'dataFieldId':_0x1beb3f['dataFieldId'],'tableFieldId':_0x1beb3f[_0x16f761(0x244)](),'displayName':_0x1beb3f[_0x16f761(0x2b3)]()});});const _0x106848=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x1d6)],_0x105dca=>{const _0x52c837=_0x358a07;_0x106848[_0x52c837(0x296)]({'dataFieldId':_0x105dca['dataFieldId'],'tableFieldId':_0x105dca[_0x52c837(0x244)](),'displayName':_0x105dca[_0x52c837(0x2b3)]()});});const _0x3869e7=[];if(_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x4a5)],_0x53cb74=>{const _0x5ec751=_0x358a07;_0x3869e7['push']({'dataFieldId':_0x53cb74[_0x5ec751(0x422)],'tableFieldId':_0x53cb74[_0x5ec751(0x244)](),'displayName':_0x53cb74[_0x5ec751(0x2b3)](),'format':_0x53cb74[_0x5ec751(0x1ec)](),'subTotalType':_0x53cb74[_0x5ec751(0x423)]()});}),_0x3869e7[_0x358a07(0x249)]>0x1){const _0x3e1457=_0x57c9c2[_0x358a07(0x1df)]();(_0x57c9c2['isColMultiMeasure']()?_0x106848:_0x4ce6b8)['splice'](_0x3e1457,0x0,{'dataFieldId':'','tableFieldId':_0x358a07(0x2f8),'displayName':_0x358a07(0x445)});}const _0x32d5a2=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a['PivotTableFiledAreaEnum'][_0x358a07(0x3d0)],_0x1cbd20=>{const _0x7bc76b=_0x358a07;_0x32d5a2['push']({'dataFieldId':_0x1cbd20[_0x7bc76b(0x422)],'tableFieldId':_0x1cbd20[_0x7bc76b(0x244)](),'displayName':_0x1cbd20[_0x7bc76b(0x2b3)]()});});const _0x3ebf48=_0x59a4ce[_0x358a07(0x218)];return{'sourceList':_0x4064fc,'sourceRange':_0x3ebf48,'rowFields':_0x4ce6b8,'columnFields':_0x106848,'valueFields':_0x3869e7,'filterFields':_0x32d5a2,'positionInfo':_0x59a4ce['targetCellInfo']};}function _0x463464(_0x4f031d,_0x3e35ba,_0x132ee8='',_0x149022={}){const _0xffc07a=_0x32a484,_0x2f7e6e=_0x4f031d[_0xffc07a(0x3fc)](_0x2fa876[_0xffc07a(0x3d2)]);for(const _0x485941 in _0x3e35ba)if(Object[_0xffc07a(0x2a6)]['hasOwnProperty'][_0xffc07a(0x4b8)](_0x3e35ba,_0x485941)){const _0x1bd6a9=_0x132ee8?_0x132ee8+'.'+_0x485941:_0x485941;typeof _0x3e35ba[_0x485941]=='object'&&_0x3e35ba[_0x485941]!==null&&!Array[_0xffc07a(0x435)](_0x3e35ba[_0x485941])?_0x463464(_0x4f031d,_0x3e35ba[_0x485941],_0x1bd6a9,_0x149022):_0x149022[_0x1bd6a9]=_0x2f7e6e['t'](_0x1bd6a9);}return _0x149022;}const _0x3fcd7b=_0x1a0161=>{const _0x329945=_0x32a484;if(!_0x1a0161)return[];const {rowRanges:_0x396828,colRanges:_0x3c2f30,cornerRanges:_0x2468da,dataRanges:_0x18c91d,pageRanges:_0x130131}=_0x1a0161,_0x30e98e=[..._0x3c2f30,..._0x396828,..._0x18c91d,..._0x2468da]['filter'](_0x787ffd=>_0x787ffd[_0x329945(0x340)]>=0x0&&_0x787ffd[_0x329945(0x3e4)]>=0x0&&_0x787ffd[_0x329945(0x2d0)]>=0x0&&_0x787ffd[_0x329945(0x315)]>=0x0);let _0x2a7168=Number[_0x329945(0x258)],_0x393958=Number[_0x329945(0x45e)],_0x2e0d44=Number[_0x329945(0x258)],_0x3d7ea7=Number[_0x329945(0x45e)];for(let _0x35854a=0x0;_0x35854a<_0x30e98e[_0x329945(0x249)];_0x35854a++)_0x2a7168=Math[_0x329945(0x20e)](_0x2a7168,_0x30e98e[_0x35854a][_0x329945(0x340)]),_0x393958=Math[_0x329945(0x1f9)](_0x393958,_0x30e98e[_0x35854a]['endRow']),_0x2e0d44=Math[_0x329945(0x20e)](_0x2e0d44,_0x30e98e[_0x35854a]['startColumn']),_0x3d7ea7=Math[_0x329945(0x1f9)](_0x3d7ea7,_0x30e98e[_0x35854a][_0x329945(0x315)]);return[..._0x130131,{'startRow':_0x2a7168,'endRow':_0x393958,'startColumn':_0x2e0d44,'endColumn':_0x3d7ea7}];};function _0x7fbd45(_0x38572a,_0x1bd4cb){const _0x4ab03f=_0x32a484,_0xdd9909=_0x1bd4cb[_0x4ab03f(0x3ca)][_0x4ab03f(0x442)],{pivotTableId:_0x503a77,unitId:_0x3595b7,subUnitId:_0x43cd11}=_0x1bd4cb;if(!_0xdd9909)return;const _0x43fe48=_0x38572a[_0x4ab03f(0x3fc)](_0xd0af73[_0x4ab03f(0x255)]),_0xe4fee8=_0x43fe48[_0x4ab03f(0x47b)](_0x503a77),_0x17b371=_0x43fe48['getPivotTableConfig'](_0x3595b7,_0x43cd11,_0x503a77);if(!_0xe4fee8||!_0x17b371)return;const _0x28a134=_0xe4fee8[_0x4ab03f(0x4b2)](_0xdd9909[_0x4ab03f(0x43b)]);if(!(_0x28a134!=null&&_0x28a134[_0x4ab03f(0x249)]))return;const _0x41057b=_0x17b371['sourceRangeInfo'],{unitId:_0x29da9b,subUnitId:_0x782bd7,range:_0x874959}=_0x41057b;let _0x378736=0x0;const _0x1506c6=_0xe4fee8[_0x4ab03f(0x360)]['getFieldIds']()['reduce']((_0x28cbed,_0x30169a)=>{const _0x4bccd8=_0x4ab03f;var _0x3a2b3d;const _0xb7716f=(_0x3a2b3d=_0xe4fee8['getDataFieldByDataFieldId'](_0x30169a))==null?void 0x0:_0x3a2b3d[_0x4bccd8(0x233)]();return _0xb7716f&&(_0x28cbed[String(_0x378736)]=_0xb7716f),_0x378736++,_0x28cbed;},{});return{'indexes':_0x28a134,'range':_0x874959,'sourceUnitId':_0x29da9b,'sourceSubUnitId':_0x782bd7,'formatMap':_0x1506c6};}function _0x63db07(_0x4e8094,_0x472ff7){const _0x414861=_0x32a484;if(!_0x4e8094||!_0x472ff7)return!0x0;const _0x5984f9=_0x4baa44[_0x414861(0x3ad)](_0x434851,_0x271cb0),_0x3c59eb=new Function('return\x20'+_0x5984f9)()(_0x4e8094,_0x472ff7)[_0x414861(0x20d)],_0x4575ff=_0x4baa44[_0x414861(0x1fe)](_0x3c59eb,'sf',_0x3e9237);return!((_0x3c59eb==null?void 0x0:_0x3c59eb['rt'])===_0x4baa44[_0x414861(0x337)][_0x414861(0x4d1)]&&!_0x4575ff);}function _0x2d207d(_0x11d96d,_0x35c0d5,_0x3bf4a7){const _0x31421c=_0x32a484,_0x1eedb3={'count':_0x11d96d,'timeValid':!0x1};if(!_0x35c0d5||!_0x3bf4a7)return _0x1eedb3;const _0x26e7af=_0x4baa44[_0x31421c(0x3ad)](_0x434851,_0x271cb0),_0x3fd94a=new Function(_0x31421c(0x47c)+_0x26e7af)()(_0x35c0d5,_0x3bf4a7);if(_0x3fd94a!=null&&_0x3fd94a[_0x31421c(0x450)]){const _0x120dfa=_0x3fd94a['message'],_0x2bbf38=_0x4baa44['isFeatureAuthorizedWithinTime'](_0x120dfa,'sf',_0x3e9237);return{'count':_0x4baa44[_0x31421c(0x477)](_0x120dfa,_0x2bbf38,_0x31421c(0x3b3),_0x11d96d,_0x11d96d,0x0),'timeValid':_0x2bbf38};}return _0x1eedb3;}function _0x10af34(_0x52b90f,_0x894027,_0x21970b,_0x19b327){const _0x468b52=_0x32a484,_0x342566={'subUnitId':_0x21970b,'unitId':_0x894027,'cellValue':_0x30840c[_0x468b52(0x3e8)](_0x19b327)},_0x12c9fb=_0x30840c[_0x468b52(0x274)](_0x52b90f,_0x342566);let _0x21ee8b=!0x1;return new _0x2fa876['ObjectMatrix'](_0x12c9fb['cellValue'])['forValue']((_0x98e52e,_0x120fbd,_0x450ca0)=>{const _0x363f5e=_0x468b52;if(!_0x21ee8b&&_0x450ca0&&(_0x450ca0[_0x363f5e(0x202)]||_0x450ca0['f']||_0x450ca0['p']||_0x450ca0['s']||_0x450ca0['si']||_0x450ca0['t']||_0x450ca0['v']))return _0x21ee8b=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x30840c[_0x468b52(0x35d)]['id'],'params':_0x12c9fb},'setRangeValueRedoMutation':{'id':_0x30840c['SetRangeValuesMutation']['id'],'params':_0x342566},'shouldClear':_0x21ee8b};}function _0xee0526(_0x3af62f){const {row:_0x18363c,col:_0x323111}=_0x3af62f,_0x4063a9={'startRow':_0x18363c,'endRow':_0x18363c,'startColumn':_0x323111,'endColumn':_0x323111},_0x5a4d04={'startRow':_0x18363c+0x2,'endRow':_0x18363c+0xe,'startColumn':_0x323111,'endColumn':_0x323111+0x6};return[_0x4063a9,_0x5a4d04];}function _0x32fd11(_0x13ac77,_0x5db7b9,_0xf08344){const _0x3e1137=_0x32a484,{cornerView:_0x8f8005,rowView:_0x3e8ec9,colView:_0x1abeb4,pageView:_0x11ccf4}=_0x13ac77,{row:_0x2c3c5f,col:_0xc38a11}=_0x5db7b9;if(_0xf08344)return{'rowCount':_0x4716f3+_0x2c3c5f,'colCount':_0x287724+_0xc38a11};const _0xfe5604=_0x11ccf4[_0x3e1137(0x427)]>-0x1?_0x11ccf4[_0x3e1137(0x427)]+0x1:0x0,_0x51f862=_0x11ccf4[_0x3e1137(0x3f3)]>-0x1?_0x11ccf4[_0x3e1137(0x3f3)]:0x0,_0x1a7dbb=_0x2c3c5f+_0xfe5604+(_0xfe5604?0x1:0x0)+_0x8f8005[_0x3e1137(0x3c9)]+_0x3e8ec9['rowCount'],_0x45badd=_0xc38a11+_0x51f862,_0x4c186f=_0xc38a11+_0x8f8005[_0x3e1137(0x295)]+_0x1abeb4[_0x3e1137(0x295)],_0x5b5f50=Math['max'](_0x45badd,_0x4c186f);return{'rowCount':_0x1a7dbb,'colCount':_0x5b5f50};}function _0x36c3d6(_0x3dee46,_0x5cf352,_0x1831d2,_0x476194){const _0x1c6f82=_0x32a484,{row:_0x253f05,col:_0x3a1f47,unitId:_0x26cd2b,subUnitId:_0x61900}=_0x1831d2,_0x350350=_0x32fd11(_0x5cf352,{'row':_0x253f05,'col':_0x3a1f47},_0x476194),_0x4106b8=_0x3dee46[_0x1c6f82(0x3fc)](_0x2fa876[_0x1c6f82(0x361)]),_0x24074b=_0x30840c[_0x1c6f82(0x279)](_0x4106b8,{'unitId':_0x26cd2b,'subUnitId':_0x61900}),_0x149598=[],_0x15f4f0=[];if(!_0x24074b)return{'undos':_0x15f4f0,'redos':_0x149598};const {worksheet:_0x47c12e}=_0x24074b,_0x15bf82=_0x47c12e[_0x1c6f82(0x4b4)](),_0x1a18fd=_0x47c12e[_0x1c6f82(0x485)]();return _0x15bf82<_0x350350[_0x1c6f82(0x3c9)]&&(_0x149598['push']({'id':_0x30840c['InsertRowMutation']['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':_0x15bf82,'endRow':_0x350350[_0x1c6f82(0x3c9)]-0x1,'startColumn':0x0,'endColumn':_0x1a18fd-0x1}}}),_0x15f4f0[_0x1c6f82(0x296)]({'id':_0x30840c[_0x1c6f82(0x434)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':_0x15bf82,'endRow':_0x350350['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x1a18fd-0x1}}})),_0x1a18fd<_0x350350[_0x1c6f82(0x295)]&&(_0x149598['push']({'id':_0x30840c[_0x1c6f82(0x4c5)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':0x0,'endRow':_0x15bf82-0x1,'startColumn':_0x1a18fd,'endColumn':_0x350350[_0x1c6f82(0x295)]-0x1}}}),_0x15f4f0[_0x1c6f82(0x296)]({'id':_0x30840c[_0x1c6f82(0x35a)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':0x0,'endRow':_0x15bf82-0x1,'startColumn':_0x1a18fd,'endColumn':_0x350350[_0x1c6f82(0x295)]-0x1}}})),{'undos':_0x15f4f0,'redos':_0x149598};}function _0x34bbc2(_0x4b632b){const _0x553802=_0x32a484;let _0x574caa=0x0;for(let _0x4913cf=0x0;_0x4913cf<_0x4b632b[_0x553802(0x249)];_0x4913cf++){const _0x54c0c7=_0x4b632b[_0x553802(0x285)](_0x4913cf);_0x54c0c7>=0x4e00&&_0x54c0c7<=0x9fff||_0x54c0c7>=0x3000&&_0x54c0c7<=0x303f||_0x54c0c7>=0xff00&&_0x54c0c7<=0xffef?_0x574caa+=0x2:_0x574caa+=0x1;}return _0x574caa;}function _0x2326eb(_0x58a56d,_0x57b1cb,_0x15ab44,_0x3283d3){const _0xe0b058=_0x32a484;var _0x348287,_0x189640,_0x2cb4ad,_0x462016;const {rowCount:_0x383469,colCount:_0x3fbb3e,headerMap:_0x480d5c}=_0x58a56d,_0x19fbd1=0x64,_0x1e5d51=Math[_0xe0b058(0x20e)](_0x383469,_0x19fbd1),_0x4e44fb=Math[_0xe0b058(0x20e)](_0x3fbb3e,_0x19fbd1);let _0x15eed8='',_0x422ef6=0x0;for(let _0x8132a3=0x0;_0x8132a3<_0x1e5d51;_0x8132a3++)for(let _0x1c94ff=0x0;_0x1c94ff<_0x4e44fb;_0x1c94ff++){const _0x59ff3f={...(_0x189640=(_0x348287=_0x58a56d[_0xe0b058(0x484)])==null?void 0x0:_0x348287[_0x8132a3])==null?void 0x0:_0x189640[_0x1c94ff]},_0x504510=(_0x2cb4ad=_0x480d5c[_0x8132a3])==null?void 0x0:_0x2cb4ad['tableFieldId'],_0x5d93b7=_0x3283d3[_0x504510];let _0x2d7797=_0x58a56d[_0xe0b058(0x250)](_0x8132a3,_0x1c94ff);if(_0x59ff3f){const _0x2a15f1=_0x15ab44?_0x1c94ff===0x0&&((_0x462016=_0x58a56d[_0xe0b058(0x25b)](_0x1c94ff+0x1))==null?void 0x0:_0x462016['isValue']):!0x1;_0x2d7797=_0x27d4ee(_0x59ff3f,_0x2a15f1,_0x5d93b7,_0x57b1cb);}if(_0x2d7797!==void 0x0){const _0x3eb2f0=_0x34bbc2(String(_0x2d7797));_0x422ef6<_0x3eb2f0&&(_0x15eed8=String(_0x2d7797),_0x422ef6=_0x3eb2f0);}}return _0x15eed8;}function _0x478f19(_0x5d6143){const _0x449113=_0x32a484,{rowCount:_0x2004b0,colCount:_0x3b1f62}=_0x5d6143;let _0x14a4f0='',_0x541b35=0x0;for(let _0x40107e=_0x2004b0-0x1;_0x40107e>0x0&&_0x40107e>_0x2004b0-0x3;_0x40107e--)for(let _0x17cd75=0x0;_0x17cd75<_0x3b1f62;_0x17cd75++){const _0x23db44=_0x5d6143[_0x449113(0x250)](_0x40107e,_0x17cd75);if(_0x23db44!==void 0x0){const _0x30f1ce=String(_0x23db44)[_0x449113(0x249)];_0x541b35<_0x30f1ce&&(_0x14a4f0=String(_0x23db44),_0x541b35=_0x30f1ce);}}return _0x14a4f0;}function _0xe3e6b3(_0x3229d2){const _0x1f9c9f=_0x32a484,{rowCount:_0x44d611,colCount:_0x57e25e}=_0x3229d2;let _0x446d50='',_0x5b7556=0x0;for(let _0x23eddd=0x0;_0x23eddd<_0x44d611;_0x23eddd++)for(let _0x247f8f=0x0;_0x247f8f<_0x57e25e;_0x247f8f++){const _0x2031c4=_0x3229d2[_0x1f9c9f(0x250)](_0x23eddd,_0x247f8f);if(_0x2031c4!==void 0x0){const _0x9c2f4=String(_0x2031c4)[_0x1f9c9f(0x249)];_0x5b7556<_0x9c2f4&&(_0x446d50=String(_0x2031c4),_0x5b7556=_0x9c2f4);}}return _0x446d50;}function _0x284d0a(_0x5c74bc,_0x300d86){const _0x4fe2da=_0x32a484,{rowFields:_0x2209da,columnFields:_0x24682a,valueFields:_0x3bfd82,filterFields:_0x35a2c2,dimension:_0x1f3f86,measure:_0x1ea63e}=_0x300d86;for(const _0x363f4d of _0x2209da){const _0x437643=_0x1f3f86[_0x363f4d];_0x437643&&_0x5c74bc[_0x4fe2da(0x44c)](_0x437643['dataFieldId'])&&(_0x5c74bc[_0x4fe2da(0x229)](_0x437643[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)]['Row'],void 0x0,_0x363f4d),_0x437643[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x437643['id'],_0x437643['displayName']),_0x437643[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x437643['id'],_0x437643['sortInfo']),_0x437643[_0x4fe2da(0x2f2)]&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x437643['id'],_0x437643[_0x4fe2da(0x2f2)]));}for(const _0x114078 of _0x24682a){const _0x1b68d4=_0x1f3f86[_0x114078];_0x1b68d4&&_0x5c74bc[_0x4fe2da(0x44c)](_0x1b68d4[_0x4fe2da(0x422)])&&(_0x5c74bc['addFieldWithSourceId'](_0x1b68d4[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)][_0x4fe2da(0x1d6)],void 0x0,_0x114078),_0x1b68d4[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x21b)]),_0x1b68d4[_0x4fe2da(0x2f2)]&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x2f2)]),_0x1b68d4[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x44f)]));}for(const _0x4ed69c of _0x35a2c2){const _0x535c68=_0x1f3f86[_0x4ed69c];_0x535c68&&_0x5c74bc[_0x4fe2da(0x44c)](_0x535c68['dataFieldId'])&&(_0x5c74bc[_0x4fe2da(0x229)](_0x535c68[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)][_0x4fe2da(0x3d0)],void 0x0,_0x4ed69c),_0x535c68[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x535c68['id'],_0x535c68[_0x4fe2da(0x21b)]),_0x535c68['filterInfo']&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x535c68['id'],_0x535c68['filterInfo']),_0x535c68[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x535c68['id'],_0x535c68['displayName']));}for(const _0x2e66b5 of _0x3bfd82){const _0x3bc1cc=_0x1ea63e[_0x2e66b5];_0x3bc1cc&&_0x5c74bc[_0x4fe2da(0x44c)](_0x3bc1cc[_0x4fe2da(0x422)])&&(_0x5c74bc['addFieldWithSourceId'](_0x3bc1cc[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)]['Value'],void 0x0,_0x2e66b5),_0x3bc1cc[_0x4fe2da(0x343)]!==void 0x0&&_0x5c74bc[_0x4fe2da(0x253)](_0x2e66b5,_0x3bc1cc[_0x4fe2da(0x343)]),_0x3bc1cc['format']&&_0x5c74bc[_0x4fe2da(0x30a)](_0x2e66b5,_0x3bc1cc[_0x4fe2da(0x201)]),_0x3bc1cc[_0x4fe2da(0x44f)]&&_0x5c74bc['renameField'](_0x3bc1cc['id'],_0x3bc1cc['displayName']));}const _0x3a6a60=_0x300d86[_0x4fe2da(0x4a7)];for(const {fieldId:_0x484f49,filterInfo:_0x2479db}of _0x3a6a60)_0x5c74bc[_0x4fe2da(0x24a)](_0x484f49,_0x2479db);}function _0x3e6b18(_0x2b8107,_0x36bb4a){const _0x13ee5a=_0x32a484,_0x42ec26=[];_0x36bb4a===_0x33417a[_0x13ee5a(0x321)]['Row']&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x349)],_0x4c124f=>{const _0x5c7e56=_0x13ee5a;_0x42ec26[_0x5c7e56(0x296)](_0x4c124f[_0x5c7e56(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x1d6)]&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)]['Column'],_0x37136c=>{const _0x59700a=_0x13ee5a;_0x42ec26[_0x59700a(0x296)](_0x37136c[_0x59700a(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x3d0)]&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)]['Filter'],_0x105108=>{const _0x3c8263=_0x13ee5a;_0x42ec26[_0x3c8263(0x296)](_0x105108[_0x3c8263(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x4a5)]&&_0x2b8107['iterateFieldByArea'](_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x4a5)],_0x17587e=>{const _0x14912f=_0x13ee5a;_0x42ec26[_0x14912f(0x296)](_0x17587e[_0x14912f(0x244)]());}),_0x36bb4a===void 0x0&&_0x2b8107[_0x13ee5a(0x293)](_0x363d6e=>{const _0x3fb930=_0x13ee5a;_0x42ec26[_0x3fb930(0x296)](_0x363d6e[_0x3fb930(0x244)]());});const _0x19b566=_0x42ec26[_0x13ee5a(0x249)];for(let _0x10db2d=_0x19b566-0x1;_0x10db2d>=0x0;_0x10db2d--)_0x2b8107[_0x13ee5a(0x3f8)](_0x42ec26[_0x10db2d]);const _0x3a7eb5=_0x2b8107[_0x13ee5a(0x284)]();for(const _0x3b5786 in _0x3a7eb5)_0x2b8107[_0x13ee5a(0x428)](_0x3b5786);}function _0x4a1bfb(_0x1a00d0,_0x4fd6b4){const _0x1f1be8=_0x32a484,_0x47f9b4=new Date(_0x33417a['excelDateToUnixMilliseconds'](_0x4fd6b4)),_0x320da1=new Date(_0x33417a['excelDateToUnixMilliseconds'](_0x1a00d0)),_0x5dcf78=_0x47f9b4[_0x1f1be8(0x203)](),_0x4fb82a=_0x320da1[_0x1f1be8(0x203)](),_0x2da135=_0x47f9b4[_0x1f1be8(0x4af)](),_0x10ff94=_0x320da1['getMonth'](),_0x4cea55=_0x47f9b4[_0x1f1be8(0x236)](),_0x3bb642=_0x320da1[_0x1f1be8(0x236)](),_0x365b27=_0x5dcf78===_0x4fb82a,_0x2189ae=_0x365b27&&_0x2da135===_0x10ff94;return _0x365b27&&_0x2189ae&&!(_0x2189ae&&_0x4cea55===_0x3bb642)?_0x33417a[_0x1f1be8(0x486)]['YearMonthDate']:_0x365b27&&!_0x2189ae?_0x33417a[_0x1f1be8(0x486)][_0x1f1be8(0x29a)]:_0x33417a[_0x1f1be8(0x486)]['Year'];}function _0x2cd99e(_0x1ac3b3,_0x38c4e9){const _0x247c7b=_0x32a484,_0x30a86d=_0x1ac3b3[_0x247c7b(0x3fc)](_0xd0af73[_0x247c7b(0x255)])[_0x247c7b(0x32e)]();let _0x6b425b='';switch(_0x38c4e9){case _0x33417a[_0x247c7b(0x486)]['YearMonthDate']:_0x6b425b=_0x30a86d[_0x247c7b(0x374)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x29a)]:_0x6b425b=_0x30a86d[_0x247c7b(0x29e)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x491)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.year'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x47d)]:_0x6b425b=_0x30a86d[_0x247c7b(0x413)];break;case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x247c7b(0x34e)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.quarter'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x3d1)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.date'];break;case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x247c7b(0x3b9)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.hourMinute'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x4eb)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.hour'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x28d)]:_0x6b425b=_0x30a86d[_0x247c7b(0x2c3)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x2f1)]:_0x6b425b=_0x30a86d[_0x247c7b(0x2b5)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x43c)]:_0x6b425b=_0x30a86d[_0x247c7b(0x37f)];break;default:_0x6b425b='';break;}return _0x6b425b;}const _0x2d6051='sheets-pivot.config',_0x876202={};var _0x43d85b=Object['getOwnPropertyDescriptor'],_0x26d4cd=(_0x264266,_0xb6eb46,_0x84dbf4,_0x27e699)=>{const _0x4e0559=_0x32a484;for(var _0x343cb9=_0x27e699>0x1?void 0x0:_0x27e699?_0x43d85b(_0xb6eb46,_0x84dbf4):_0xb6eb46,_0x54c52f=_0x264266[_0x4e0559(0x249)]-0x1,_0x4d961a;_0x54c52f>=0x0;_0x54c52f--)(_0x4d961a=_0x264266[_0x54c52f])&&(_0x343cb9=_0x4d961a(_0x343cb9)||_0x343cb9);return _0x343cb9;},_0x195460=(_0x4b16e1,_0x4b153a)=>(_0x34bd9b,_0x2332ac)=>_0x4b153a(_0x34bd9b,_0x2332ac,_0x4b16e1);_0xd0af73[_0x32a484(0x32b)]=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x4f76e1,_0x32b7d8,_0xd21d5a,_0x2c5731,_0x522a09){const _0x2d4b1f=_0x32a484;super(),_0x25ab16(this,_0x2d4b1f(0x2e6),new Map()),_0x25ab16(this,_0x2d4b1f(0x256),new Map()),_0x25ab16(this,_0x2d4b1f(0x3b4),new Map()),_0x25ab16(this,_0x2d4b1f(0x2d6),new Map()),_0x25ab16(this,_0x2d4b1f(0x3ce),new _0x2504f7['Subject']()),_0x25ab16(this,_0x2d4b1f(0x46d),new _0x2504f7[(_0x2d4b1f(0x25a))]()),_0x25ab16(this,_0x2d4b1f(0x31d),this[_0x2d4b1f(0x46d)]['asObservable']()),_0x25ab16(this,_0x2d4b1f(0x231),new _0x2504f7[(_0x2d4b1f(0x25a))]()),_0x25ab16(this,_0x2d4b1f(0x369),this[_0x2d4b1f(0x231)][_0x2d4b1f(0x411)]()),_0x25ab16(this,_0x2d4b1f(0x1dc),{}),_0x25ab16(this,'configVersion$',this[_0x2d4b1f(0x3ce)][_0x2d4b1f(0x411)]()),(this[_0x2d4b1f(0x42f)]=_0x4f76e1,this[_0x2d4b1f(0x4cf)]=_0x32b7d8,this[_0x2d4b1f(0x4d0)]=_0xd21d5a,this[_0x2d4b1f(0x4ae)]=_0x2c5731,this[_0x2d4b1f(0x3bd)]=_0x522a09,this[_0x2d4b1f(0x29c)](),this[_0x2d4b1f(0x3bb)]());const _0x16a4ec=this['_configService'][_0x2d4b1f(0x28b)](_0x2d6051);(_0x16a4ec==null?void 0x0:_0x16a4ec['notExecuteFormula'])===!0x0&&this[_0x2d4b1f(0x2e8)]();}['_initUnitDisposed'](){const _0x460b9f=_0x32a484;this[_0x460b9f(0x327)](this[_0x460b9f(0x4d0)][_0x460b9f(0x466)](_0x2fa876[_0x460b9f(0x376)][_0x460b9f(0x28a)])[_0x460b9f(0x332)](_0x56cdc3=>{this['deleteUnitId'](_0x56cdc3['getUnitId']());}));}['setPivotInitCompleted'](){const _0x50d301=_0x32a484;this['_pivotInitCompleted$'][_0x50d301(0x451)](!0x0);}[_0x32a484(0x29c)](){const _0x90598c=_0x32a484,_0x5ed22d=_0x463464(this[_0x90598c(0x42f)],_0x5be2b9,'',{});this[_0x90598c(0x1dc)]=_0x5ed22d,this[_0x90598c(0x4cf)]['executeCommand'](_0x3e71e4['id'],{'textInfo':_0x5ed22d},{'onlyLocal':!0x0});}[_0x32a484(0x32e)](){const _0x1830df=_0x32a484;return this[_0x1830df(0x1dc)];}['updateViewInfo'](_0x100b7a,_0x2a6628,_0x25f304,_0x4a794b,_0x5bc39a){const _0x2abe2c=_0x32a484;this[_0x2abe2c(0x41c)](_0x100b7a,_0x2a6628,_0x25f304,_0x4a794b),this[_0x2abe2c(0x257)](_0x100b7a,_0x2a6628,_0x25f304,_0x5bc39a);}['getPivotTableConfig'](_0xba15e8,_0x1e5d0d,_0x32ba2a){const _0x160a5e=_0x32a484;var _0x58bb49;const _0x58930d=(_0x58bb49=this[_0x160a5e(0x2e6)]['get'](_0xba15e8))==null?void 0x0:_0x58bb49[_0x160a5e(0x3fc)](_0x1e5d0d);if(_0x58930d)return _0x58930d[_0x160a5e(0x3fc)](_0x32ba2a);}[_0x32a484(0x2c0)](_0x57fa19,_0x1cfaf2){const _0x45b410=_0x32a484,_0x39887f=this[_0x45b410(0x2e6)][_0x45b410(0x3fc)](_0x57fa19);if(_0x39887f){for(const [_0x2f91d9,_0x508540]of _0x39887f[_0x45b410(0x408)]())for(const [_0x4dac3c,_0x4b34ab]of _0x508540[_0x45b410(0x408)]())if(_0x4dac3c===_0x1cfaf2)return _0x4b34ab[_0x45b410(0x412)];}}[_0x32a484(0x4aa)](_0x45adc0,_0x33ce12,_0x294a78){const _0x21f3b2=_0x32a484,_0x3cc86d=this[_0x21f3b2(0x2e9)](_0x45adc0,_0x33ce12,_0x294a78);return _0x3cc86d==null?void 0x0:_0x3cc86d[_0x21f3b2(0x412)];}[_0x32a484(0x40b)](_0x1d3ada,_0x158419){const _0x3a83b8=_0x32a484;var _0x2fd7f9;return(_0x2fd7f9=this[_0x3a83b8(0x2e6)][_0x3a83b8(0x3fc)](_0x1d3ada))==null?void 0x0:_0x2fd7f9[_0x3a83b8(0x3fc)](_0x158419);}[_0x32a484(0x3a5)](_0x41d781,_0x2858c9,_0x14d8d3,_0xc49c46){const _0x55e873=_0x32a484,_0x363005=this[_0x55e873(0x1e0)](_0x41d781,_0x2858c9);_0xc49c46?_0x363005['set'](_0x14d8d3,_0xc49c46):_0x363005[_0x55e873(0x3a9)](_0x14d8d3),this['_pivotConfigChange$']['next']({'unitId':_0x41d781,'subUnitId':_0x2858c9,'pivotTableId':_0x14d8d3,'pivotTableConfig':_0xc49c46});}[_0x32a484(0x336)](_0xa98072,_0x5e5a9f){const _0x154b5e=_0x32a484;var _0x3499e9;return(_0x3499e9=this['_collectionConfigModel'][_0x154b5e(0x3fc)](_0xa98072))==null?void 0x0:_0x3499e9[_0x154b5e(0x4e2)][_0x5e5a9f];}['updateCollectionConfig'](_0x3691e6,_0x2a4bf9){const _0x728f7b=_0x32a484;this[_0x728f7b(0x256)][_0x728f7b(0x268)](_0x3691e6,_0x2a4bf9),this[_0x728f7b(0x3ce)][_0x728f7b(0x451)](Math[_0x728f7b(0x2a3)]());}[_0x32a484(0x1e0)](_0x5e4e70,_0x2b321c){const _0x3a24e3=_0x32a484;let _0x31dc32=this[_0x3a24e3(0x2e6)][_0x3a24e3(0x3fc)](_0x5e4e70);_0x31dc32||(_0x31dc32=new Map(),this['_model'][_0x3a24e3(0x268)](_0x5e4e70,_0x31dc32));let _0x439a12=_0x31dc32[_0x3a24e3(0x3fc)](_0x2b321c);return _0x439a12||(_0x439a12=new Map(),_0x31dc32[_0x3a24e3(0x268)](_0x2b321c,_0x439a12)),_0x439a12;}[_0x32a484(0x1d4)](_0x4e4acf,_0x3447bc){const _0x442527=_0x32a484;let _0x5cfe37=this[_0x442527(0x3b4)]['get'](_0x4e4acf);_0x5cfe37||(_0x5cfe37=new Map(),this[_0x442527(0x3b4)][_0x442527(0x268)](_0x4e4acf,_0x5cfe37));let _0x315f26=_0x5cfe37['get'](_0x3447bc);return _0x315f26||(_0x315f26=new Map(),_0x5cfe37[_0x442527(0x268)](_0x3447bc,_0x315f26)),_0x315f26;}[_0x32a484(0x359)](_0x28b099,_0x1b4e02){const _0x1b01e2=_0x32a484;let _0x8e621=this[_0x1b01e2(0x2d6)][_0x1b01e2(0x3fc)](_0x28b099);_0x8e621||(_0x8e621=new Map(),this[_0x1b01e2(0x2d6)][_0x1b01e2(0x268)](_0x28b099,_0x8e621));let _0x1e2e30=_0x8e621[_0x1b01e2(0x3fc)](_0x1b4e02);return _0x1e2e30||(_0x1e2e30=new Map(),_0x8e621[_0x1b01e2(0x268)](_0x1b4e02,_0x1e2e30)),_0x1e2e30;}['updatePivotTableRangeInfo'](_0x17d2bf,_0x421f3f,_0x364fd5,_0x409346){const _0x478aec=_0x32a484;var _0x4fe565;const _0x5df683=this[_0x478aec(0x1d4)](_0x17d2bf,_0x421f3f),_0x24d02c=(_0x4fe565=_0x5df683[_0x478aec(0x3fc)](_0x364fd5))==null?void 0x0:_0x4fe565[_0x478aec(0x27d)];_0x5df683[_0x478aec(0x268)](_0x364fd5,{'oldRangeInfo':_0x24d02c,'rangeInfo':_0x409346});}[_0x32a484(0x41c)](_0x37e741,_0x52f75e,_0x3a5915,_0x168f07){const _0x4cbc89=_0x32a484;var _0x4bce3c;const _0x3aef79=this[_0x4cbc89(0x359)](_0x37e741,_0x52f75e),_0x32b312=(_0x4bce3c=_0x3aef79[_0x4cbc89(0x3fc)](_0x3a5915))==null?void 0x0:_0x4bce3c[_0x4cbc89(0x389)];_0x3aef79[_0x4cbc89(0x268)](_0x3a5915,{'oldMatrix':_0x32b312,'matrix':_0x168f07});}[_0x32a484(0x392)](_0x547440,_0x4eccc5,_0x2729ce){const _0x1d08a8=_0x32a484;var _0x541377,_0x3b5ece;return(_0x3b5ece=(_0x541377=this[_0x1d08a8(0x3b4)][_0x1d08a8(0x3fc)](_0x547440))==null?void 0x0:_0x541377[_0x1d08a8(0x3fc)](_0x4eccc5))==null?void 0x0:_0x3b5ece['get'](_0x2729ce);}[_0x32a484(0x370)](_0x4adca0,_0x20c813,_0x1619e2){const _0x1771d1=_0x32a484;var _0x5d8527,_0x9db02e;return(_0x9db02e=(_0x5d8527=this['_pivotTableMatrixInfo'][_0x1771d1(0x3fc)](_0x4adca0))==null?void 0x0:_0x5d8527[_0x1771d1(0x3fc)](_0x20c813))==null?void 0x0:_0x9db02e[_0x1771d1(0x3fc)](_0x1619e2);}['deleteUnitId'](_0x1392fb){const _0x1dfdae=_0x32a484;this['_model'][_0x1dfdae(0x3a9)](_0x1392fb),this[_0x1dfdae(0x256)][_0x1dfdae(0x3a9)](_0x1392fb);}['_toJSON'](_0x2c91f2){const _0x86ecdc=_0x32a484,_0x1b998d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x86ecdc(0x256)][_0x86ecdc(0x3fc)](_0x2c91f2)&&(_0x1b998d['dataFieldManagerConfig'][_0x2c91f2]=this['_collectionConfigModel']['get'](_0x2c91f2)),this[_0x86ecdc(0x2e6)]['get'](_0x2c91f2)){_0x1b998d[_0x86ecdc(0x2fd)][_0x2c91f2]={};const _0x502a20=this[_0x86ecdc(0x2e6)][_0x86ecdc(0x3fc)](_0x2c91f2);_0x502a20!=null&&_0x502a20[_0x86ecdc(0x40c)]&&[..._0x502a20[_0x86ecdc(0x31e)]()]['forEach'](_0x275ac3=>{const _0x4b5172=_0x86ecdc,_0x44f4de=_0x502a20[_0x4b5172(0x3fc)](_0x275ac3);_0x44f4de!=null&&_0x44f4de[_0x4b5172(0x40c)]&&(_0x1b998d[_0x4b5172(0x2fd)][_0x2c91f2][_0x275ac3]={},[..._0x44f4de['keys']()]['forEach'](_0x219402=>{const _0x33a171=_0x4b5172,_0x4561fe=_0x44f4de[_0x33a171(0x3fc)](_0x219402);_0x4561fe&&(_0x1b998d[_0x33a171(0x2fd)][_0x2c91f2][_0x275ac3][_0x219402]=_0x4561fe);}));});}return _0x1b998d;}['_initSnapshot'](){const _0x5c1944=_0x32a484;this[_0x5c1944(0x327)](this['_resourceManagerService'][_0x5c1944(0x230)]({'toJson':_0x382dd9=>JSON[_0x5c1944(0x277)](this[_0x5c1944(0x209)](_0x382dd9)),'parseJson':_0x10fad5=>({}),'businesses':[_0x2fa876[_0x5c1944(0x376)]['UNIVER_SHEET']],'pluginName':_0x1a68df,'onLoad':(_0x5f22df,_0x16a131)=>{},'onUnLoad':_0x1bb7c6=>{const _0x501fbd=_0x5c1944;this[_0x501fbd(0x4d8)](_0x1bb7c6);}}));}},_0xd0af73[_0x32a484(0x32b)]=_0x26d4cd([_0x195460(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x195460(0x1,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x41b)])),_0x195460(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x195460(0x3,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x2da)])),_0x195460(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x3da)]))],_0xd0af73[_0x32a484(0x32b)]);var _0x2e19a9=Object['getOwnPropertyDescriptor'],_0x43542f=(_0x344f1a,_0x427b1b,_0x211e93,_0x5013a9)=>{for(var _0xe41297=_0x5013a9>0x1?void 0x0:_0x5013a9?_0x2e19a9(_0x427b1b,_0x211e93):_0x427b1b,_0x517bab=_0x344f1a['length']-0x1,_0x5b6644;_0x517bab>=0x0;_0x517bab--)(_0x5b6644=_0x344f1a[_0x517bab])&&(_0xe41297=_0x5b6644(_0xe41297)||_0xe41297);return _0xe41297;},_0x4e86f7=(_0x5e4222,_0x31b354)=>(_0x66730f,_0x18bd79)=>_0x31b354(_0x66730f,_0x18bd79,_0x5e4222);_0xd0af73['SheetsPivotTableAdaptorModel']=class extends _0x2fa876['Disposable']{constructor(_0x2f1294,_0x139029,_0x6af11c,_0xd3f1be,_0xa07f0e){const _0x58f39e=_0x32a484;super(),_0x25ab16(this,_0x58f39e(0x430),new Map()),_0x25ab16(this,_0x58f39e(0x41a),new Map()),_0x25ab16(this,_0x58f39e(0x378),new _0x2504f7[(_0x58f39e(0x25a))]()),_0x25ab16(this,'markDirty$',this[_0x58f39e(0x378)][_0x58f39e(0x411)]()),_0x25ab16(this,_0x58f39e(0x4ea),new _0x2504f7[(_0x58f39e(0x25a))]()),_0x25ab16(this,'viewUpdate$',this['_viewUpdate$'][_0x58f39e(0x411)]()),_0x25ab16(this,_0x58f39e(0x1dc)),(this[_0x58f39e(0x495)]=_0x2f1294,this[_0x58f39e(0x42f)]=_0x139029,this[_0x58f39e(0x287)]=_0x6af11c,this[_0x58f39e(0x4d0)]=_0xd3f1be,this['_exclusiveRangeService']=_0xa07f0e,this['_initLocale'](),this[_0x58f39e(0x3bb)]());}[_0x32a484(0x3bb)](){const _0xa20a67=_0x32a484;this[_0xa20a67(0x327)](this[_0xa20a67(0x4d0)][_0xa20a67(0x466)](_0x2fa876['UniverInstanceType'][_0xa20a67(0x28a)])[_0xa20a67(0x332)](_0x3cb723=>{const _0x4de1a3=_0xa20a67;this[_0x4de1a3(0x4d8)](_0x3cb723['getUnitId']());}));}[_0x32a484(0x29c)](){const _0x4867b1=_0x32a484;this[_0x4867b1(0x1dc)]=_0x463464(this[_0x4867b1(0x42f)],_0x5be2b9,'',{});}[_0x32a484(0x492)](_0x1a2683){const _0x28d02f=_0x32a484,{view:_0x3db897,unitId:_0xd995c4,subUnitId:_0x592605,pivotTableId:_0xdfa9d7,type:_0x44c3c9}=_0x1a2683,_0x116e84=this[_0x28d02f(0x287)]['getPivotTableConfig'](_0xd995c4,_0x592605,_0xdfa9d7);if(!_0x3db897||!_0x116e84||_0x44c3c9===_0x477731[_0x28d02f(0x3df)])return;const {pageView:_0x1ff4e1,cornerView:_0x32f8c8,rowView:_0x2e3477,colView:_0x3a3e40,dataView:_0x2c9a00}=_0x3db897,_0x202aa4=_0x116e84[_0x28d02f(0x412)],_0x334124=_0x116e84['isEmpty'],_0x1a8fcf=this[_0x28d02f(0x37e)](_0xd995c4,_0x592605),_0x556fa0=this[_0x28d02f(0x3a1)](_0xd995c4,_0x592605,_0xdfa9d7);if(_0x334124)return this[_0x28d02f(0x26b)](_0x1a2683,_0x1a8fcf,_0x202aa4,_0x556fa0);{const _0x56a803=_0x47957b(_0x202aa4,_0x1ff4e1,!0x0),_0x248527=_0x1ff4e1[_0x28d02f(0x427)]>=0x0?_0x1ff4e1[_0x28d02f(0x427)]+0x1:0x0,_0xd1a847=_0x32f8c8[_0x28d02f(0x4b4)](),_0x4232fa=_0x32f8c8[_0x28d02f(0x4c4)](),_0x447746=_0x56a803[_0x28d02f(0x249)]>0x0?_0x4814ba:0x0,_0x34e613=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746,'col':_0x202aa4['col']},_0x32f8c8,!0x1,!0x1),_0x6710b0=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746+_0xd1a847,'col':_0x202aa4[_0x28d02f(0x38d)]},_0x2e3477,!0x1,!0x0),_0x72d043=_0x47957b({'row':_0x202aa4['row']+_0x248527+_0x447746,'col':_0x202aa4[_0x28d02f(0x38d)]+_0x4232fa},_0x3a3e40,!0x1,!0x0),_0x448641=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746+_0xd1a847,'col':_0x202aa4[_0x28d02f(0x38d)]+_0x4232fa},_0x2c9a00,!0x1,!0x1);_0x556fa0[_0x28d02f(0x38f)]={'rowRanges':_0x6710b0,'colRanges':_0x72d043,'cornerRanges':_0x34e613,'dataRanges':_0x448641,'pageRanges':_0x56a803};const _0xfa1cec=_0x204472(this[_0x28d02f(0x42f)],_0x3db897,_0x116e84,this[_0x28d02f(0x1dc)]),{valueMatrix:_0x461cc8,rowInfo:_0x5d8a8e,colInfo:_0x4be70d,cornerInfo:_0x57dd69,rowHeaderMap:_0x327bc1,colHeaderMap:_0xb0308a}=_0xfa1cec;return _0x556fa0[_0x28d02f(0x206)]={'rowInfo':_0x5d8a8e,'colInfo':_0x4be70d,'cornerInfo':_0x57dd69},_0x556fa0[_0x28d02f(0x302)]={'rowHeaderMap':_0x327bc1,'colHeaderMap':_0xb0308a},_0x461cc8[_0x28d02f(0x4c2)]((_0x15714d,_0xab7709)=>{const _0x3d3fbd=_0x28d02f;Object[_0x3d3fbd(0x31e)](_0xab7709)['forEach'](_0x58642d=>{const _0x303c04=_0x3d3fbd,_0x4524fd=+_0x58642d,_0x177bbc=_0x461cc8[_0x303c04(0x250)](_0x15714d,_0x4524fd);_0x1a8fcf['setValue'](_0x15714d,_0x4524fd,_0x177bbc);});}),this['_viewUpdate$']['next']({'unitId':_0xd995c4,'subUnitId':_0x592605,'valueMatrix':_0x1a8fcf,'rangesCache':_0x556fa0[_0x28d02f(0x38f)],'pivotTableId':_0xdfa9d7,'type':_0x1a2683[_0x28d02f(0x38a)]}),this['_sheetsPivotTableConfigModel'][_0x28d02f(0x228)](_0xd995c4,_0x592605,_0xdfa9d7,_0x1a8fcf,_0x556fa0[_0x28d02f(0x38f)]),this[_0x28d02f(0x38b)]['addExclusiveRange'](_0xd995c4,_0x592605,_0x5f27fb,this[_0x28d02f(0x36c)](_0x556fa0[_0x28d02f(0x38f)],_0xdfa9d7)),{'rangeCache':_0x556fa0[_0x28d02f(0x38f)],'matrix':_0x1a8fcf};}}[_0x32a484(0x26b)](_0x24e66f,_0x30a077,_0x3fc507,_0x2ff681){const _0x3367f2=_0x32a484,_0x20be13=this[_0x3367f2(0x495)]['t'],{unitId:_0x42c19f,subUnitId:_0x11bdf0,pivotTableId:_0x432942}=_0x24e66f,_0x5d5206={'filter':_0x20be13('sheets-pivot.emptyPivot.filter'),'row':_0x20be13(_0x3367f2(0x3f6)),'column':_0x20be13(_0x3367f2(0x1fd)),'values':_0x20be13(_0x3367f2(0x21c))},{matrixCache:_0x1a5db4,rangesCache:_0x156ec4}=_0x170d7b(_0x5d5206,_0x3fc507);return _0x1a5db4[_0x3367f2(0x3ed)]((_0x109c45,_0x35f4d0,_0x60219d)=>{const _0x5165c3=_0x3367f2;_0x30a077[_0x5165c3(0x280)](_0x109c45,_0x35f4d0,_0x60219d);}),_0x2ff681[_0x3367f2(0x38f)]=_0x156ec4,this['_viewUpdate$'][_0x3367f2(0x451)]({'unitId':_0x42c19f,'subUnitId':_0x11bdf0,'valueMatrix':_0x30a077,'rangesCache':_0x156ec4,'pivotTableId':_0x432942,'type':_0x24e66f[_0x3367f2(0x38a)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x3367f2(0x228)](_0x42c19f,_0x11bdf0,_0x432942,_0x30a077,_0x156ec4),this['_exclusiveRangeService'][_0x3367f2(0x3ee)](_0x42c19f,_0x11bdf0,_0x5f27fb,this[_0x3367f2(0x36c)](_0x156ec4,_0x432942)),{'rangeCache':_0x2ff681[_0x3367f2(0x38f)],'matrix':_0x30a077};}[_0x32a484(0x36c)](_0x10b91d,_0x5db78e){const _0x4ba889=_0x32a484,_0x68ade6=[],_0x4bb3c8=_0x3fcd7b(_0x10b91d);for(const _0x1ab0d1 of _0x4bb3c8)_0x68ade6[_0x4ba889(0x296)]({'groupId':_0x5db78e,'range':_0x1ab0d1});return _0x68ade6;}['clearRenderCache'](_0x31dd54){const _0x12c62c=_0x32a484;var _0x148660,_0xbc2028,_0x37e204,_0x5fc4eb;const {pivotTableId:_0x167af9,unitId:_0x4478c1,subUnitId:_0x3fada0}=_0x31dd54;if(!_0x167af9||!_0x4478c1||!_0x3fada0)return;const _0x5454ac=this[_0x12c62c(0x37e)](_0x4478c1,_0x3fada0),_0x4cc00c=(_0xbc2028=(_0x148660=this[_0x12c62c(0x430)]['get'](_0x4478c1))==null?void 0x0:_0x148660[_0x12c62c(0x3fc)](_0x3fada0))==null?void 0x0:_0xbc2028[_0x12c62c(0x3fc)](_0x167af9);if(_0x4cc00c!=null&&_0x4cc00c['rangesInfo']){for(const _0x5132f5 of Object[_0x12c62c(0x31e)](_0x4cc00c[_0x12c62c(0x38f)]))_0x4cc00c[_0x12c62c(0x38f)][_0x5132f5][_0x12c62c(0x4c2)](_0xfa9dae=>{const _0x1fa3ca=_0x12c62c;for(let _0x5a9220=_0xfa9dae[_0x1fa3ca(0x340)];_0x5a9220<=_0xfa9dae[_0x1fa3ca(0x2d0)];_0x5a9220++)for(let _0x2d47f0=_0xfa9dae['startColumn'];_0x2d47f0<=_0xfa9dae[_0x1fa3ca(0x315)];_0x2d47f0++)_0x5454ac[_0x1fa3ca(0x2bd)](_0x5a9220,_0x2d47f0);});}_0x4cc00c&&((_0x5fc4eb=(_0x37e204=this['_pivotRenderInfoCache'][_0x12c62c(0x3fc)](_0x4478c1))==null?void 0x0:_0x37e204[_0x12c62c(0x3fc)](_0x3fada0))==null||_0x5fc4eb[_0x12c62c(0x3a9)](_0x167af9)),this['_viewUpdate$'][_0x12c62c(0x451)]({'unitId':_0x4478c1,'subUnitId':_0x3fada0,'valueMatrix':_0x5454ac,'pivotTableId':_0x167af9,'rangesCache':void 0x0,'type':_0x31dd54[_0x12c62c(0x38a)]}),this[_0x12c62c(0x38b)]['clearExclusiveRangesByGroupId'](_0x4478c1,_0x3fada0,_0x5f27fb,_0x167af9);}[_0x32a484(0x3a1)](_0x4faac4,_0x5edf8b,_0x6e019e){const _0x39dd5a=_0x32a484;var _0x444315,_0x5ab87e,_0x1e30a3,_0x248c04,_0x5ca4e6,_0x181421;return this['_pivotRenderInfoCache'][_0x39dd5a(0x290)](_0x4faac4)||this[_0x39dd5a(0x430)][_0x39dd5a(0x268)](_0x4faac4,new Map()),(_0x444315=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))!=null&&_0x444315[_0x39dd5a(0x290)](_0x5edf8b)||(_0x5ab87e=this['_pivotRenderInfoCache'][_0x39dd5a(0x3fc)](_0x4faac4))==null||_0x5ab87e[_0x39dd5a(0x268)](_0x5edf8b,new Map()),(_0x248c04=(_0x1e30a3=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))==null?void 0x0:_0x1e30a3['get'](_0x5edf8b))!=null&&_0x248c04['has'](_0x6e019e)||(_0x181421=(_0x5ca4e6=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))==null?void 0x0:_0x5ca4e6[_0x39dd5a(0x3fc)](_0x5edf8b))==null||_0x181421[_0x39dd5a(0x268)](_0x6e019e,{}),this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4)[_0x39dd5a(0x3fc)](_0x5edf8b)[_0x39dd5a(0x3fc)](_0x6e019e);}[_0x32a484(0x37e)](_0xc15388,_0x1eed30){const _0x59297a=_0x32a484;var _0x8d2fb5,_0x3e4ab8;return this['_pivotRenderValueMatrixCache'][_0x59297a(0x290)](_0xc15388)||this['_pivotRenderValueMatrixCache'][_0x59297a(0x268)](_0xc15388,new Map()),(_0x8d2fb5=this[_0x59297a(0x41a)][_0x59297a(0x3fc)](_0xc15388))!=null&&_0x8d2fb5[_0x59297a(0x290)](_0x1eed30)||(_0x3e4ab8=this['_pivotRenderValueMatrixCache']['get'](_0xc15388))==null||_0x3e4ab8[_0x59297a(0x268)](_0x1eed30,new _0x2fa876[(_0x59297a(0x48a))]()),this[_0x59297a(0x41a)][_0x59297a(0x3fc)](_0xc15388)['get'](_0x1eed30);}[_0x32a484(0x311)](_0x400445,_0xb4cdcd,_0x595157,_0x4669fe){const _0x4c2a7b=_0x32a484;var _0x1235fa,_0x103199;const _0x4f7c37=(_0x103199=(_0x1235fa=this['_pivotRenderValueMatrixCache'][_0x4c2a7b(0x3fc)](_0x400445))==null?void 0x0:_0x1235fa[_0x4c2a7b(0x3fc)](_0xb4cdcd))==null?void 0x0:_0x103199[_0x4c2a7b(0x250)](_0x595157,_0x4669fe);if(_0x4f7c37!=null)return _0x4f7c37;}[_0x32a484(0x2d4)](_0x536e4e,_0x224886,_0x1ede33,_0x5a690f){const _0x44ed9b=_0x32a484;var _0x2cd630;const _0x37da1a=_0x2fa876[_0x44ed9b(0x4bd)](_0x1ede33,_0x5a690f),_0x5eaad2=(_0x2cd630=this[_0x44ed9b(0x430)][_0x44ed9b(0x3fc)](_0x536e4e))==null?void 0x0:_0x2cd630[_0x44ed9b(0x3fc)](_0x224886);return _0x5eaad2?Array['from'](_0x5eaad2[_0x44ed9b(0x31e)]())[_0x44ed9b(0x475)](_0x55bd1d=>{const _0x137208=_0x44ed9b,_0x433d2c=_0x5eaad2[_0x137208(0x3fc)](_0x55bd1d),_0x27a154=_0x433d2c==null?void 0x0:_0x433d2c['rangesInfo'];return _0x27a154?Object[_0x137208(0x31e)](_0x27a154)[_0x137208(0x26a)](_0x174cb4=>_0x27a154[_0x174cb4][_0x137208(0x26a)](_0x2421df=>_0x2fa876[_0x137208(0x3b2)][_0x137208(0x24d)](_0x2421df,_0x37da1a))):!0x1;}):void 0x0;}[_0x32a484(0x246)](_0x1d45b2,_0x1fabfa,_0x5c1864){const _0x1c7c20=_0x32a484;var _0x8464ba;const _0x2295d1=(_0x8464ba=this[_0x1c7c20(0x430)][_0x1c7c20(0x3fc)](_0x1d45b2))==null?void 0x0:_0x8464ba[_0x1c7c20(0x3fc)](_0x1fabfa),_0x445b10=[];return _0x2295d1&&Array[_0x1c7c20(0x25f)](_0x2295d1['keys']())['forEach'](_0x65101a=>{const _0x2eff8d=_0x1c7c20,_0x4ea4c1=_0x2295d1['get'](_0x65101a),_0xf7fa92=_0x4ea4c1==null?void 0x0:_0x4ea4c1['rangesInfo'];if(_0xf7fa92)for(const _0x4d8432 of Object[_0x2eff8d(0x1e7)](_0xf7fa92)){let _0x30cce5=!0x1;for(const _0x5eb333 of _0x4d8432)if(_0x2fa876[_0x2eff8d(0x3b2)]['intersects'](_0x5eb333,_0x5c1864)){_0x445b10[_0x2eff8d(0x296)](_0x65101a),_0x30cce5=!0x0;break;}if(_0x30cce5)break;}}),_0x445b10;}['getSubUnitPivotMatrix'](_0x3571a9,_0x27c52e){const _0x368fc6=_0x32a484;var _0x532670,_0xe817c9;return(_0xe817c9=(_0x532670=this['_pivotRenderValueMatrixCache'][_0x368fc6(0x3fc)](_0x3571a9))==null?void 0x0:_0x532670['get'](_0x27c52e))!=null?_0xe817c9:new _0x2fa876[(_0x368fc6(0x48a))]();}[_0x32a484(0x431)](_0x2e323d,_0x1f98b4){const _0x27ae1b=_0x32a484;var _0x35bfd6;return(_0x35bfd6=this[_0x27ae1b(0x430)][_0x27ae1b(0x3fc)](_0x2e323d))==null?void 0x0:_0x35bfd6[_0x27ae1b(0x3fc)](_0x1f98b4);}[_0x32a484(0x2d5)](_0x5b07a1,_0x3ef2e4,_0x6ce80d){const _0xb5a6ba=_0x32a484;var _0x1691dd,_0xfdedbe;return(_0xfdedbe=(_0x1691dd=this[_0xb5a6ba(0x430)][_0xb5a6ba(0x3fc)](_0x5b07a1))==null?void 0x0:_0x1691dd[_0xb5a6ba(0x3fc)](_0x3ef2e4))==null?void 0x0:_0xfdedbe[_0xb5a6ba(0x3fc)](_0x6ce80d);}[_0x32a484(0x4d8)](_0x18940c){const _0x2a4afd=_0x32a484;this['_pivotRenderInfoCache']['delete'](_0x18940c),this['_pivotRenderValueMatrixCache'][_0x2a4afd(0x3a9)](_0x18940c);}[_0x32a484(0x464)](_0x49bc17,_0x5ad592){const _0x59fcd2=_0x32a484;this['_markDirty$'][_0x59fcd2(0x451)]({'unitId':_0x49bc17,'subUnitId':_0x5ad592});}},_0xd0af73['SheetsPivotTableAdaptorModel']=_0x43542f([_0x4e86f7(0x0,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x3d2)])),_0x4e86f7(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x4e86f7(0x2,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x4e86f7(0x3,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x4e86f7(0x4,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x3d8)]))],_0xd0af73[_0x32a484(0x404)]);var _0x137580=Object[_0x32a484(0x48e)],_0x2d9d4a=(_0xa50690,_0x31629c,_0xd43ef5,_0x4ce253)=>{const _0x5ed6c3=_0x32a484;for(var _0x196ea9=_0x4ce253>0x1?void 0x0:_0x4ce253?_0x137580(_0x31629c,_0xd43ef5):_0x31629c,_0x99ddc6=_0xa50690[_0x5ed6c3(0x249)]-0x1,_0x362d89;_0x99ddc6>=0x0;_0x99ddc6--)(_0x362d89=_0xa50690[_0x99ddc6])&&(_0x196ea9=_0x362d89(_0x196ea9)||_0x196ea9);return _0x196ea9;},_0x4ff0fb=(_0x399551,_0x604895)=>(_0x319b0f,_0x537527)=>_0x604895(_0x319b0f,_0x537527,_0x399551);_0xd0af73['SheetsPivotTableService']=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x36d102,_0x4a7028){const _0x4294d8=_0x32a484;super(),_0x25ab16(this,'asyncInterceptor',new _0x2fa876[(_0x4294d8(0x2ab))]({'PIVOT_PERFORM_CHECK':_0x1d5a00})),_0x25ab16(this,'interceptor',new _0x2fa876['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x1a7dbe})),(this[_0x4294d8(0x46e)]=_0x36d102,this[_0x4294d8(0x24c)]=_0x4a7028,this[_0x4294d8(0x44a)]());}[_0x32a484(0x44a)](){const _0x36b639=_0x32a484;this[_0x36b639(0x4b7)]();}[_0x32a484(0x333)](_0x6a0e4e){const _0x227b06=_0x32a484;return this[_0x227b06(0x4ca)][_0x227b06(0x323)](_0x1d5a00)(!0x1,_0x6a0e4e);}['_initViewModelBySheetInterceptor'](){const _0xb31be1=_0x32a484;this['disposeWithMe'](this[_0xb31be1(0x46e)][_0xb31be1(0x4a0)](_0x30840c[_0xb31be1(0x2a8)][_0xb31be1(0x219)],{'priority':0xc8,'effect':_0x2fa876[_0xb31be1(0x3fd)][_0xb31be1(0x4a5)]|_0x2fa876[_0xb31be1(0x3fd)]['Style'],'handler':(_0x60ad4,_0x1dfebf,_0x11220c)=>{const _0x43821b=_0xb31be1,{row:_0x26e20d,col:_0x3b38d4,unitId:_0xa11f88,subUnitId:_0x3707af,workbook:_0x32882f}=_0x1dfebf,_0x369e32=this[_0x43821b(0x24c)][_0x43821b(0x311)](_0xa11f88,_0x3707af,_0x26e20d,_0x3b38d4);if(!_0x369e32)return _0x11220c(_0x60ad4);const _0x21bef6={..._0x60ad4};(_0x369e32['v']||_0x369e32['v']===0x0)&&(_0x21bef6['v']=_0x369e32['v']),_0x369e32['t']&&(_0x21bef6['t']=_0x369e32['t']);const _0x58bc75=(typeof(_0x60ad4==null?void 0x0:_0x60ad4['s'])==_0x43821b(0x373)?_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x3fc)](_0x60ad4==null?void 0x0:_0x60ad4['s']):_0x60ad4==null?void 0x0:_0x60ad4['s'])||{},_0x2e2723=_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x3fc)](_0x369e32['s']),_0x4423c2={..._0x2e2723,..._0x58bc75};_0x2e2723!=null&&_0x2e2723['n']&&(_0x4423c2['n']=_0x2e2723['n']);const _0x50c6e1=_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x280)](_0x4423c2);return _0x21bef6['s']=_0x50c6e1,(_0x369e32[_0x43821b(0x22e)]===_0x33417a[_0x43821b(0x307)]['Collapse']||_0x369e32[_0x43821b(0x22e)]===_0x33417a['PivotCellStyleTypeEnum'][_0x43821b(0x4e3)])&&(_0x21bef6[_0x43821b(0x27c)]={},_0x21bef6['fontRenderExtension'][_0x43821b(0x2c1)]=_0x472598),_0x11220c(_0x21bef6);}}));}},_0xd0af73[_0x32a484(0x21f)]=_0x2d9d4a([_0x4ff0fb(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0x4ff0fb(0x1,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x404)]))],_0xd0af73[_0x32a484(0x21f)]);const _0x1b9e99={'id':_0x32a484(0x2ef),'type':_0x2fa876['CommandType']['MUTATION'],'handler':(_0x14642e,_0x3e9f82)=>{const _0x3e37f3=_0x32a484;if(!_0x3e9f82)return!0x1;if(!!_0x14642e[_0x3e37f3(0x3fc)](_0x2fa876[_0x3e37f3(0x3da)])['getConfig'](_0x51f97f))return!0x0;const {pivotTableId:_0x289011,fieldJSON:_0x12b8da,unitId:_0x4b7966,subUnitId:_0x2ece8b}=_0x3e9f82;let _0x4f1625;const {dataFieldType:_0x3a903e,id:_0x12703b,name:_0x3935eb,hexCode:_0x39b393,originalFieldId:_0x44e13b}=_0x12b8da;if(_0x3a903e===_0x33417a[_0x3e37f3(0x264)][_0x3e37f3(0x2c8)]&&(_0x4f1625=new _0x33417a[(_0x3e37f3(0x1e2))](_0x12703b,_0x3935eb,_0x39b393,_0x44e13b)),!_0x4f1625)return!0x1;const _0x3994e3=_0x14642e[_0x3e37f3(0x3fc)](_0xd0af73['SheetsPivotDataSourceModel']),_0xe2f823=_0x3994e3[_0x3e37f3(0x4b6)](_0x4b7966),_0x505e31=_0xe2f823[_0x3e37f3(0x336)](_0x289011);_0xe2f823[_0x3e37f3(0x355)](_0x4f1625),_0x505e31[_0x3e37f3(0x4e7)](_0x4f1625[_0x3e37f3(0x244)](),_0x4f1625['getName']());const _0x3872b1=_0x505e31['getFieldById'](_0x4f1625['getOriginFieldId']());_0x3872b1&&_0x4f1625['refreshGroupField'](_0x3872b1);const _0x2e80f2=_0x3994e3[_0x3e37f3(0x2e9)](_0x4b7966,_0x2ece8b,_0x289011);return _0x3994e3[_0x3e37f3(0x272)]({'unitId':_0x4b7966,'subUnitId':_0x2ece8b,'token':_0x289011,'type':_0x477731[_0x3e37f3(0x47a)],'pivotConfig':_0x2e80f2}),!0x0;}},_0xf85d51={'id':_0x32a484(0x1ee),'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'handler':(_0x32745e,_0xcf462f)=>{const _0x4fed99=_0x32a484;if(!_0xcf462f)return!0x1;if(!!_0x32745e[_0x4fed99(0x3fc)](_0x2fa876['IConfigService'])[_0x4fed99(0x28b)](_0x51f97f))return!0x0;const {pivotTableId:_0xf28a3e,dataFieldId:_0x51f106,unitId:_0x3c7032,subUnitId:_0x7df6}=_0xcf462f,_0x327b80=_0x32745e[_0x4fed99(0x3fc)](_0xd0af73[_0x4fed99(0x255)]),_0x51594b=_0x327b80['getDataFieldManager'](_0x3c7032);_0x51594b['getCollection'](_0xf28a3e)[_0x4fed99(0x3c3)](_0x51f106);let _0x21ec03=!0x0;for(const _0x3c96a0 in _0x51594b['collections'])if(_0x51594b[_0x4fed99(0x4e2)][_0x3c96a0][_0x4fed99(0x29d)]()[_0x4fed99(0x2a1)](_0x51f106)){_0x21ec03=!0x1;break;}_0x21ec03&&_0x51594b[_0x4fed99(0x240)](_0x51f106);const _0x163922=_0x327b80[_0x4fed99(0x2e9)](_0x3c7032,_0x7df6,_0xf28a3e);return _0x327b80[_0x4fed99(0x272)]({'unitId':_0x3c7032,'subUnitId':_0x7df6,'token':_0xf28a3e,'type':_0x477731[_0x4fed99(0x47a)],'pivotConfig':_0x163922}),!0x0;}};function _0x19b65e(_0x39b397,_0x4c5d1d){const _0x4bae04=_0x32a484;switch(_0x4c5d1d){case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x4a5)]:return _0x39b397[_0x4bae04(0x414)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x3d0)]:return _0x39b397[_0x4bae04(0x426)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x349)]:return _0x39b397[_0x4bae04(0x3e2)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x1d6)]:return _0x39b397['columnFields'];default:return[];}}function _0x549ff9(_0x2ccbee,_0x290f96){const _0x188afd=_0x32a484;return _0x2ccbee[_0x188afd(0x4ec)][_0x290f96]||_0x2ccbee[_0x188afd(0x4be)][_0x290f96];}function _0x51944e(_0x345479,_0x1da18b){const _0x3b1b3d=_0x32a484,{area:_0x266a37,fieldJson:_0x4b274b,index:_0x472884}=_0x1da18b;_0x266a37===_0x33417a['PivotTableFiledAreaEnum'][_0x3b1b3d(0x4a5)]?_0x345479[_0x3b1b3d(0x4ec)][_0x4b274b['id']]=_0x4b274b:_0x345479[_0x3b1b3d(0x4be)][_0x4b274b['id']]=_0x4b274b,_0x19b65e(_0x345479,_0x266a37)['splice'](_0x472884,0x0,_0x4b274b['id']);}function _0xe9c4ff(_0xfe7fe1,_0x2ee158){const _0x36e193=_0x32a484,{area:_0x21c5bc,fieldId:_0x18ad3a,index:_0x4a3fe6}=_0x2ee158;_0x21c5bc===_0x33417a[_0x36e193(0x321)][_0x36e193(0x4a5)]?delete _0xfe7fe1[_0x36e193(0x4ec)][_0x18ad3a]:delete _0xfe7fe1[_0x36e193(0x4be)][_0x18ad3a],_0x19b65e(_0xfe7fe1,_0x21c5bc)[_0x36e193(0x2bc)](_0x4a3fe6,0x1);}function _0x79155f(_0x5a3072,_0xdb61b){const _0x4b3850=_0x32a484,{fieldId:_0x3d1bb7,name:_0x12b17d}=_0xdb61b,_0x47eb20=_0x549ff9(_0x5a3072,_0x3d1bb7);_0x47eb20&&(_0x47eb20[_0x4b3850(0x44f)]=_0x12b17d);}function _0x25a491(_0xfe70f2,_0x8bebd9){const _0x40548d=_0x32a484,{fieldId:_0xf73e87,collapse:_0x2813b2,item:_0x5d59ba}=_0x8bebd9;_0x5d59ba!==void 0x0?(_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]=_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]||{},_0xfe70f2[_0x40548d(0x33f)][_0xf73e87][_0x5d59ba]=_0x2813b2):_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]=_0x2813b2;}function _0x4d0632(_0x27649b,_0x58040d){const {fieldId:_0x4e8d54,format:_0x2cf9ef}=_0x58040d,_0xd6cc35=_0x549ff9(_0x27649b,_0x4e8d54);_0xd6cc35&&(_0xd6cc35['format']=_0x2cf9ef);}function _0x2f53ac(_0xc93458,_0x40d6a4){const _0xc5e181=_0x32a484,{fieldId:_0xcb5f39,filterInfo:_0x24cbca}=_0x40d6a4,_0x15dcd7=_0x549ff9(_0xc93458,_0xcb5f39);_0x15dcd7&&(_0x15dcd7[_0xc5e181(0x2f2)]=_0x24cbca);}function _0xc103f7(_0xe27a4d,_0x1522f0){const _0x58c658=_0x32a484,{fieldId:_0x3e0fa2,filterInfo:_0x3ba595}=_0x1522f0,_0x2834b0=_0xe27a4d[_0x58c658(0x4a7)][_0x58c658(0x2c6)](_0x1dfd1c=>_0x1dfd1c[_0x58c658(0x3db)]!==_0x3e0fa2);_0x3ba595&&_0x2834b0[_0x58c658(0x296)]({'fieldId':_0x3e0fa2,'filterInfo':_0x3ba595}),_0xe27a4d[_0x58c658(0x4a7)]=_0x2834b0;}function _0x428772(_0x5c4cbc,_0x485b36){const _0x47bdf4=_0x32a484,{fieldId:_0x144be8,subtotalType:_0x522045}=_0x485b36,_0xf8a630=_0x549ff9(_0x5c4cbc,_0x144be8);_0xf8a630&&(_0xf8a630[_0x47bdf4(0x343)]=_0x522045);}function _0x39acee(_0x385f68,_0x3c6fbe){const _0xdc9140=_0x32a484,{fieldId:_0x25a1b8,oldArea:_0x2c265c,area:_0x33db9a,oldIndex:_0x3f32f6,index:_0x57aa14}=_0x3c6fbe,_0x14eb18=_0x2c265c!==_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)]&&_0x33db9a===_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)],_0x4abf91=_0x2c265c===_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)]&&_0x33db9a!==_0x33417a['PivotTableFiledAreaEnum'][_0xdc9140(0x4a5)];if(_0x14eb18||_0x4abf91){const _0x445e05=_0x549ff9(_0x385f68,_0x25a1b8);_0x445e05&&(_0x14eb18?(delete _0x385f68[_0xdc9140(0x4be)][_0x25a1b8],_0x385f68[_0xdc9140(0x4ec)][_0x25a1b8]=_0x445e05):(delete _0x385f68[_0xdc9140(0x4ec)][_0x25a1b8],_0x385f68[_0xdc9140(0x4be)][_0x25a1b8]=_0x445e05));}const _0x341ec0=_0x19b65e(_0x385f68,_0x2c265c),_0x470c47=_0x19b65e(_0x385f68,_0x33db9a);_0x341ec0[_0xdc9140(0x2bc)](_0x3f32f6,0x1),_0x470c47['splice'](_0x57aa14,0x0,_0x25a1b8);}function _0x2f8102(_0x4b50af,_0x3c1145){const _0x28f566=_0x32a484,{valuePosition:_0x25b201,index:_0xe4c037}=_0x3c1145;_0x4b50af[_0x28f566(0x3d6)]=_0x25b201,_0x4b50af[_0x28f566(0x4d4)]=_0xe4c037;}function _0x4a7475(_0x5e565c,_0x8abb54){const _0x443d50=_0x32a484,{tableFieldId:_0x3adb43,sourceName:_0x31bac7,dataFieldId:_0x5a3658}=_0x8abb54,_0x2fdc02=_0x549ff9(_0x5e565c,_0x3adb43);_0x2fdc02&&(_0x2fdc02[_0x443d50(0x3d9)]=_0x31bac7,_0x2fdc02[_0x443d50(0x422)]=_0x5a3658);}function _0x30b600(_0x422a27,_0x3d0233){const _0x40e918=_0x32a484,{fieldId:_0x32097c,sortInfo:_0x2f4908}=_0x3d0233,_0x3a7764=_0x549ff9(_0x422a27,_0x32097c);_0x3a7764&&(_0x3a7764[_0x40e918(0x21b)]=_0x2f4908);}function _0x1cc998(_0x129fe4,_0x39fd95){const _0x53517e=_0x32a484,{options:_0x331269}=_0x39fd95;_0x129fe4[_0x53517e(0x377)]={..._0x129fe4[_0x53517e(0x377)],..._0x331269};}const _0x2b9c30={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2b9),'handler'(_0x31df95,_0x392c10){const _0x362634=_0x32a484;if(!_0x392c10)return!0x1;if(!!_0x31df95[_0x362634(0x3fc)](_0x2fa876[_0x362634(0x3da)])[_0x362634(0x28b)](_0x51f97f))return!0x0;const _0x26cbd5=_0x31df95[_0x362634(0x3fc)](_0xd0af73[_0x362634(0x255)]),{pivotTableId:_0x52d83e,fieldJson:_0x47254e,area:_0x5d5f60,index:_0x54a51,unitId:_0x2eee30,subUnitId:_0x21043b}=_0x392c10,_0x381087=_0x26cbd5[_0x362634(0x47b)](_0x52d83e);if(!_0x381087)return!0x1;let _0x4db89b;_0x5d5f60===_0x33417a[_0x362634(0x321)][_0x362634(0x4a5)]?_0x4db89b=_0x33417a['createValueField'](_0x47254e):_0x4db89b=_0x33417a[_0x362634(0x3cf)](_0x47254e),_0x381087[_0x362634(0x4e7)](_0x4db89b,_0x5d5f60,_0x54a51);const _0x7f024=_0x26cbd5[_0x362634(0x28f)](_0x2eee30,_0x21043b,_0x52d83e);_0x51944e(_0x7f024,_0x392c10);const _0x2169a5=_0x26cbd5[_0x362634(0x2e9)](_0x2eee30,_0x21043b,_0x52d83e);return _0x26cbd5[_0x362634(0x272)]({'unitId':_0x2eee30,'subUnitId':_0x21043b,'token':_0x52d83e,'type':_0x477731['Set'],'pivotConfig':_0x2169a5}),!0x0;}},_0xabb6f3={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x51ef23,_0x42b756){const _0x1428e8=_0x32a484;if(!_0x42b756)return!0x1;if(!!_0x51ef23[_0x1428e8(0x3fc)](_0x2fa876[_0x1428e8(0x3da)])[_0x1428e8(0x28b)](_0x51f97f))return!0x0;const _0x39ff00=_0x51ef23[_0x1428e8(0x3fc)](_0xd0af73[_0x1428e8(0x255)]),{pivotTableId:_0x4b75c6,fieldId:_0x5a718d,unitId:_0x15aae0,subUnitId:_0x2f43c5}=_0x42b756,_0x2d8b5e=_0x39ff00[_0x1428e8(0x47b)](_0x4b75c6);if(!_0x2d8b5e)return!0x1;_0x2d8b5e[_0x1428e8(0x3f8)](_0x5a718d);const _0x224eca=_0x39ff00[_0x1428e8(0x28f)](_0x15aae0,_0x2f43c5,_0x4b75c6);_0xe9c4ff(_0x224eca,_0x42b756);const _0x3f0417=_0x39ff00[_0x1428e8(0x2e9)](_0x15aae0,_0x2f43c5,_0x4b75c6);return _0x39ff00[_0x1428e8(0x272)]({'unitId':_0x15aae0,'subUnitId':_0x2f43c5,'token':_0x4b75c6,'type':_0x477731[_0x1428e8(0x47a)],'pivotConfig':_0x3f0417}),!0x0;}},_0x5cf91e={'type':_0x2fa876['CommandType']['MUTATION'],'id':_0x32a484(0x297),'handler'(_0xe045f3,_0x1042aa){const _0x39ed16=_0x32a484;if(!_0x1042aa)return!0x1;if(!!_0xe045f3[_0x39ed16(0x3fc)](_0x2fa876[_0x39ed16(0x3da)])[_0x39ed16(0x28b)](_0x51f97f))return!0x0;const _0x32fd92=_0xe045f3[_0x39ed16(0x3fc)](_0xd0af73[_0x39ed16(0x255)]),{unitId:_0xfa81ca,subUnitId:_0xbe485b,pivotTableId:_0x1747ea,fieldId:_0x56d29c,name:_0x56c5f7}=_0x1042aa,_0x3e2812=_0x32fd92['getPivotTableInstance'](_0x1747ea);if(!_0x3e2812)return!0x1;_0x3e2812['renameField'](_0x56d29c,_0x56c5f7);const _0x3b5966=_0x32fd92[_0x39ed16(0x28f)](_0xfa81ca,_0xbe485b,_0x1747ea);return _0x79155f(_0x3b5966,_0x1042aa),_0x32fd92['addDirtyPivotTable']({'unitId':_0xfa81ca,'subUnitId':_0xbe485b,'token':_0x1747ea,'type':_0x477731[_0x39ed16(0x47a)]}),!0x0;}},_0x20aabe={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x306),'handler'(_0x52888c,_0x4892c9){const _0x37523c=_0x32a484;if(!_0x4892c9)return!0x1;if(!!_0x52888c['get'](_0x2fa876['IConfigService'])['getConfig'](_0x51f97f))return!0x0;const _0x2c04c5=_0x52888c[_0x37523c(0x3fc)](_0xd0af73[_0x37523c(0x255)]),{unitId:_0x28176a,subUnitId:_0x5ee665,pivotTableId:_0x732346,fieldId:_0x494099,collapse:_0x38797d,item:_0x361639}=_0x4892c9,_0x21c8be=_0x2c04c5[_0x37523c(0x47b)](_0x732346);if(!_0x21c8be)return!0x1;_0x21c8be[_0x37523c(0x27a)](_0x494099,_0x38797d,_0x361639);const _0x207b62=_0x2c04c5[_0x37523c(0x28f)](_0x28176a,_0x5ee665,_0x732346);return _0x25a491(_0x207b62,_0x4892c9),_0x2c04c5['addDirtyPivotTable']({'unitId':_0x28176a,'subUnitId':_0x5ee665,'token':_0x732346,'type':_0x477731['Set']}),!0x0;}},_0x149f91={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':'sheet.mutation.set-pivot-format','handler'(_0x363164,_0x44eea2){const _0xe6fb3a=_0x32a484;if(!_0x44eea2)return!0x1;if(!!_0x363164[_0xe6fb3a(0x3fc)](_0x2fa876['IConfigService'])[_0xe6fb3a(0x28b)](_0x51f97f))return!0x0;const _0x5eff9c=_0x363164[_0xe6fb3a(0x3fc)](_0xd0af73[_0xe6fb3a(0x255)]),{unitId:_0x245290,subUnitId:_0xc2ba24,pivotTableId:_0x291990,fieldId:_0x1d50d3,format:_0xe9aac7}=_0x44eea2,_0x4bf49a=_0x5eff9c[_0xe6fb3a(0x47b)](_0x291990);if(!_0x4bf49a)return!0x1;_0x4bf49a[_0xe6fb3a(0x30a)](_0x1d50d3,_0xe9aac7);const _0xa47634=_0x5eff9c[_0xe6fb3a(0x28f)](_0x245290,_0xc2ba24,_0x291990);return _0x4d0632(_0xa47634,_0x44eea2),_0x5eff9c['addDirtyPivotTable']({'unitId':_0x245290,'subUnitId':_0xc2ba24,'token':_0x291990,'type':_0x477731['Set']}),!0x0;}},_0x540b6c={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2a9),'handler'(_0x60d651,_0x2f5dd4){const _0x5830eb=_0x32a484;if(!_0x2f5dd4)return!0x1;if(!!_0x60d651[_0x5830eb(0x3fc)](_0x2fa876[_0x5830eb(0x3da)])['getConfig'](_0x51f97f))return!0x0;const _0x2d7c34=_0x60d651[_0x5830eb(0x3fc)](_0xd0af73[_0x5830eb(0x255)]),{unitId:_0x53fe9f,subUnitId:_0x17bbb5,pivotTableId:_0x253ab5,fieldId:_0x25e8f4,filterInfo:_0x37165f}=_0x2f5dd4,_0x174a98=_0x2d7c34[_0x5830eb(0x47b)](_0x253ab5);if(!_0x174a98)return!0x1;_0x174a98['setLabelFilterInfo'](_0x25e8f4,_0x37165f);const _0x184777=_0x2d7c34['getPivotTableModelConfig'](_0x53fe9f,_0x17bbb5,_0x253ab5);return _0x2f53ac(_0x184777,_0x2f5dd4),_0x2d7c34[_0x5830eb(0x272)]({'unitId':_0x53fe9f,'subUnitId':_0x17bbb5,'token':_0x253ab5,'type':_0x477731['Set']}),!0x0;}},_0x3e8bcd={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x444),'handler'(_0x14a8f1,_0x166376){const _0x3222e2=_0x32a484;if(!_0x166376)return!0x1;if(!!_0x14a8f1[_0x3222e2(0x3fc)](_0x2fa876[_0x3222e2(0x3da)])['getConfig'](_0x51f97f))return!0x0;const _0x7d3d7d=_0x14a8f1[_0x3222e2(0x3fc)](_0xd0af73[_0x3222e2(0x255)]),{unitId:_0x50a838,subUnitId:_0xa6a9e2,pivotTableId:_0x48e424,options:_0xe0b81c}=_0x166376,_0x12c11a=_0x7d3d7d[_0x3222e2(0x47b)](_0x48e424);if(!_0x12c11a)return!0x1;_0x12c11a[_0x3222e2(0x32a)](_0xe0b81c);const _0x1d0768=_0x7d3d7d[_0x3222e2(0x28f)](_0x50a838,_0xa6a9e2,_0x48e424);return _0x1cc998(_0x1d0768,_0x166376),_0x7d3d7d[_0x3222e2(0x272)]({'unitId':_0x50a838,'subUnitId':_0xa6a9e2,'token':_0x48e424,'type':_0x477731['Set']}),!0x0;}},_0x3b5bf2={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x4a4),'handler'(_0x574d85,_0x2d4748){const _0x368e23=_0x32a484;if(!_0x2d4748)return!0x1;if(!!_0x574d85['get'](_0x2fa876['IConfigService'])['getConfig'](_0x51f97f))return!0x0;const _0x367752=_0x574d85[_0x368e23(0x3fc)](_0xd0af73[_0x368e23(0x255)]),{unitId:_0x188830,subUnitId:_0x530943,pivotTableId:_0x95abfe,sortInfo:_0x10aa3d,fieldId:_0x386d01}=_0x2d4748,_0x309c1e=_0x367752[_0x368e23(0x47b)](_0x95abfe);if(!_0x309c1e)return!0x1;_0x309c1e[_0x368e23(0x234)](_0x386d01,_0x10aa3d);const _0x302ac7=_0x367752[_0x368e23(0x28f)](_0x188830,_0x530943,_0x95abfe);return _0x30b600(_0x302ac7,_0x2d4748),_0x367752[_0x368e23(0x272)]({'unitId':_0x188830,'subUnitId':_0x530943,'token':_0x95abfe,'type':_0x477731['Set']}),!0x0;}},_0x549329={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x30c),'handler'(_0x2d87de,_0x1c4a6b){const _0xeeb16c=_0x32a484;if(!_0x1c4a6b)return!0x1;if(!!_0x2d87de['get'](_0x2fa876[_0xeeb16c(0x3da)])[_0xeeb16c(0x28b)](_0x51f97f))return!0x0;const _0x15d51c=_0x2d87de['get'](_0xd0af73[_0xeeb16c(0x255)]),{unitId:_0x127815,subUnitId:_0xb63fd1,pivotTableId:_0x4c2b86,fieldId:_0x294ede,subtotalType:_0x5e458f}=_0x1c4a6b,_0x5794cb=_0x15d51c[_0xeeb16c(0x47b)](_0x4c2b86);if(!_0x5794cb)return!0x1;_0x5794cb[_0xeeb16c(0x253)](_0x294ede,_0x5e458f);const _0x4f95a9=_0x15d51c[_0xeeb16c(0x28f)](_0x127815,_0xb63fd1,_0x4c2b86);return _0x428772(_0x4f95a9,_0x1c4a6b),_0x15d51c[_0xeeb16c(0x272)]({'unitId':_0x127815,'subUnitId':_0xb63fd1,'token':_0x4c2b86,'type':_0x477731[_0xeeb16c(0x47a)]}),!0x0;}},_0xa23cd8={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x433),'handler'(_0x23e20e,_0x5d8cf7){const _0x1ae715=_0x32a484;if(!_0x5d8cf7)return!0x1;if(!!_0x23e20e[_0x1ae715(0x3fc)](_0x2fa876['IConfigService'])[_0x1ae715(0x28b)](_0x51f97f))return!0x0;const _0x2f162b=_0x23e20e[_0x1ae715(0x3fc)](_0xd0af73[_0x1ae715(0x255)]),{unitId:_0x484d6e,subUnitId:_0x50b11b,pivotTableId:_0x7e0c52,fieldId:_0x4c8c40,filterInfo:_0x3733ea}=_0x5d8cf7,_0x1dbcbf=_0x2f162b['getPivotTableInstance'](_0x7e0c52);if(!_0x1dbcbf)return!0x1;_0x1dbcbf[_0x1ae715(0x24a)](_0x4c8c40,_0x3733ea);const _0x35474d=_0x2f162b[_0x1ae715(0x28f)](_0x484d6e,_0x50b11b,_0x7e0c52);return _0xc103f7(_0x35474d,_0x5d8cf7),_0x2f162b[_0x1ae715(0x272)]({'unitId':_0x484d6e,'subUnitId':_0x50b11b,'token':_0x7e0c52,'type':_0x477731[_0x1ae715(0x47a)]}),!0x0;}},_0x29c946={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x305),'handler'(_0x3c5408,_0x135c96){const _0x5a3278=_0x32a484;if(!_0x135c96)return!0x1;if(!!_0x3c5408[_0x5a3278(0x3fc)](_0x2fa876[_0x5a3278(0x3da)])[_0x5a3278(0x28b)](_0x51f97f))return!0x0;const _0x179546=_0x3c5408[_0x5a3278(0x3fc)](_0xd0af73[_0x5a3278(0x255)]),{unitId:_0xda1ee1,subUnitId:_0x2ec183,pivotTableId:_0x5306fe,area:_0x268e0a,index:_0x48ef25,fieldId:_0x52c0e1}=_0x135c96,_0x89e49a=_0x179546[_0x5a3278(0x47b)](_0x5306fe);if(!_0x89e49a)return!0x1;_0x89e49a['updateFieldPosition'](_0x52c0e1,_0x268e0a,_0x48ef25);const _0x18c61a=_0x179546[_0x5a3278(0x28f)](_0xda1ee1,_0x2ec183,_0x5306fe);return _0x39acee(_0x18c61a,_0x135c96),_0x179546[_0x5a3278(0x272)]({'unitId':_0xda1ee1,'subUnitId':_0x2ec183,'token':_0x5306fe,'type':_0x477731[_0x5a3278(0x47a)]}),!0x0;}},_0x10d193={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x205),'handler'(_0x2f2056,_0x4509fa){const _0x99e95c=_0x32a484;if(!_0x4509fa)return!0x1;if(!!_0x2f2056[_0x99e95c(0x3fc)](_0x2fa876[_0x99e95c(0x3da)])[_0x99e95c(0x28b)](_0x51f97f))return!0x0;const _0x1db580=_0x2f2056[_0x99e95c(0x3fc)](_0xd0af73[_0x99e95c(0x255)]),{unitId:_0x4b0f6a,subUnitId:_0x329b53,pivotTableId:_0x2ff90e,sourceName:_0x34a219,dataFieldId:_0x4d37ac,tableFieldId:_0x5271dd}=_0x4509fa,_0x474b36=_0x1db580[_0x99e95c(0x47b)](_0x2ff90e);if(!_0x474b36)return!0x1;_0x474b36[_0x99e95c(0x47e)](_0x5271dd,_0x34a219,_0x4d37ac);const _0x374dcb=_0x1db580[_0x99e95c(0x28f)](_0x4b0f6a,_0x329b53,_0x2ff90e);return _0x4a7475(_0x374dcb,_0x4509fa),_0x1db580[_0x99e95c(0x272)]({'unitId':_0x4b0f6a,'subUnitId':_0x329b53,'token':_0x2ff90e,'type':_0x477731[_0x99e95c(0x47a)]}),!0x0;}},_0x16697b={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x424),'handler'(_0x50e0d2,_0xcb3a79){const _0x7ca2ce=_0x32a484;if(!_0xcb3a79)return!0x1;if(!!_0x50e0d2['get'](_0x2fa876[_0x7ca2ce(0x3da)])[_0x7ca2ce(0x28b)](_0x51f97f))return!0x0;const _0x39abdb=_0x50e0d2[_0x7ca2ce(0x3fc)](_0xd0af73[_0x7ca2ce(0x255)]),{unitId:_0x23a9c8,subUnitId:_0x4bca5b,pivotTableId:_0xb5b007,valuePosition:_0x1819bb,index:_0x1ca4b8}=_0xcb3a79,_0x9f191c=_0x39abdb['getPivotTableInstance'](_0xb5b007);if(!_0x9f191c)return!0x1;_0x9f191c['updateValuePosition'](_0x1819bb,_0x1ca4b8);const _0x3d1081=_0x39abdb[_0x7ca2ce(0x28f)](_0x23a9c8,_0x4bca5b,_0xb5b007);return _0x2f8102(_0x3d1081,_0xcb3a79),_0x39abdb[_0x7ca2ce(0x272)]({'unitId':_0x23a9c8,'subUnitId':_0x4bca5b,'token':_0xb5b007,'type':_0x477731[_0x7ca2ce(0x47a)]}),!0x0;}};function _0x5706b0(_0xe21220,_0x389e9b,_0x2dd852){const _0x5b4b70=_0x32a484,{pivotTableId:_0x2726e4,unitId:_0x467001,subUnitId:_0x21612b}=_0x389e9b,_0x550374=[],_0x13b75b=[];for(const _0x78b001 of _0x2dd852)switch(_0x78b001[_0x5b4b70(0x38a)]){case _0x33417a[_0x5b4b70(0x439)]['AddField']:{const {fieldJson:_0x27f1bf,area:_0x2a4800,index:_0x155bd2}=_0x78b001,_0x21d286={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldJson':_0x27f1bf,'area':_0x2a4800,'index':_0x155bd2},_0x1bd063={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x27f1bf['id'],'area':_0x2a4800,'index':_0x155bd2};_0x550374[_0x5b4b70(0x296)]({'id':_0x2b9c30['id'],'params':_0x21d286}),_0x13b75b[_0x5b4b70(0x41d)]({'id':_0xabb6f3['id'],'params':_0x1bd063});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x224)]:{const {fieldId:_0x555a2e,newSubtotalType:_0xc0d85,oldSubtotalType:_0x2c8613}=_0x78b001,_0x356bfe={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x555a2e,'subtotalType':_0xc0d85};_0x550374[_0x5b4b70(0x296)]({'id':_0x549329['id'],'params':_0x356bfe});const _0x2418e9={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x555a2e,'subtotalType':_0x2c8613};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x549329['id'],'params':_0x2418e9});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x23e)]:{const {fieldId:_0x152d91,fieldJson:_0x3312a0,area:_0x1a2cec,index:_0x4d71f8}=_0x78b001,_0x40e9ce={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x152d91,'index':_0x4d71f8,'area':_0x1a2cec};_0x550374['push']({'id':_0xabb6f3['id'],'params':_0x40e9ce});const _0x2e9003={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldJson':_0x3312a0,'area':_0x1a2cec,'index':_0x4d71f8};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x2b9c30['id'],'params':_0x2e9003});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3e0)]:{const {fieldId:_0x5a08c2,oldName:_0x11bd06,newName:_0x5d39c7}=_0x78b001,_0x2684f2={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x5a08c2,'name':_0x5d39c7};_0x550374[_0x5b4b70(0x296)]({'id':_0x5cf91e['id'],'params':_0x2684f2});const _0x4f1026={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x5a08c2,'name':_0x11bd06};_0x13b75b['unshift']({'id':_0x5cf91e['id'],'params':_0x4f1026});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x33c)]:{const {fieldId:_0x33a86f,oldFilterInfo:_0x24d06f,newFilterInfo:_0x28a26d}=_0x78b001,_0x577997={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x33a86f,'filterInfo':_0x28a26d};_0x550374[_0x5b4b70(0x296)]({'id':_0x540b6c['id'],'params':_0x577997});const _0x24c2e6={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x33a86f,'filterInfo':_0x24d06f};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x540b6c['id'],'params':_0x24c2e6});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x3ec)]:{const {fieldId:_0x23edf3,oldSortInfo:_0x276286,newSortInfo:_0x1effa4}=_0x78b001,_0x2beb49={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x23edf3,'sortInfo':_0x1effa4};_0x550374[_0x5b4b70(0x296)]({'id':_0x3b5bf2['id'],'params':_0x2beb49});const _0x54c7f3={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x23edf3,'sortInfo':_0x276286};_0x13b75b['unshift']({'id':_0x3b5bf2['id'],'params':_0x54c7f3});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x2d1)]:{const {oldOptions:_0x2b1f5a,newOptions:_0x3f5a03}=_0x78b001,_0x1397be={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'options':_0x3f5a03};_0x550374['push']({'id':_0x3e8bcd['id'],'params':_0x1397be});const _0x135536={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'options':_0x2b1f5a};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x3e8bcd['id'],'params':_0x135536});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x26e)]:{const {oldArea:_0x772d6a,newArea:_0x4120fa,oldIndex:_0x4a5973,newIndex:_0x5ae22c,fieldId:_0x3f06ec}=_0x78b001,_0x5efd04={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x3f06ec,'area':_0x4120fa,'index':_0x5ae22c,'oldArea':_0x772d6a,'oldIndex':_0x4a5973};_0x550374[_0x5b4b70(0x296)]({'id':_0x29c946['id'],'params':_0x5efd04});const _0x1173a6={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x3f06ec,'area':_0x772d6a,'index':_0x4a5973,'oldArea':_0x4120fa,'oldIndex':_0x5ae22c};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x29c946['id'],'params':_0x1173a6});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3ba)]:{const {oldValuePosition:_0x509c4b,newValuePosition:_0x27c00e,oldIndex:_0x3b973a,newIndex:_0x2ba5e8}=_0x78b001,_0x14aa36={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'valuePosition':_0x27c00e,'index':_0x2ba5e8};_0x550374['push']({'id':_0x16697b['id'],'params':_0x14aa36});const _0x176ccc={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'valuePosition':_0x509c4b,'index':_0x3b973a};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x16697b['id'],'params':_0x176ccc});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x273)]:{const {fieldId:_0x37e93a,collapse:_0x2d63d5,item:_0x236e8f}=_0x78b001,_0x24ec69={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x37e93a,'collapse':_0x2d63d5,'item':_0x236e8f};_0x550374[_0x5b4b70(0x296)]({'id':_0x20aabe['id'],'params':_0x24ec69});const _0x4e6f7d={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x37e93a,'collapse':!_0x2d63d5,'item':_0x236e8f};_0x13b75b['unshift']({'id':_0x20aabe['id'],'params':_0x4e6f7d});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x2ee)]:{const {newFormat:_0x26ed9f,oldFormat:_0x500e1c,fieldId:_0x53d12e}=_0x78b001,_0x221e55={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x53d12e,'format':_0x26ed9f};_0x550374[_0x5b4b70(0x296)]({'id':_0x149f91['id'],'params':_0x221e55});const _0x40843f={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x53d12e,'format':_0x500e1c};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x149f91['id'],'params':_0x40843f});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x42c)]:{const {tableFieldId:_0xbfa243,oldSourceName:_0x3e084c,newSourceName:_0xd5efa1,oldDataFieldId:_0xf74637,newDataFieldId:_0x410afa}=_0x78b001,_0x5d8091={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'tableFieldId':_0xbfa243,'sourceName':_0xd5efa1,'dataFieldId':_0x410afa};_0x550374['push']({'id':_0x10d193['id'],'params':_0x5d8091});const _0x3208ea={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'tableFieldId':_0xbfa243,'sourceName':_0x3e084c,'dataFieldId':_0xf74637};_0x13b75b['unshift']({'id':_0x10d193['id'],'params':_0x3208ea});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3f9)]:{const {fieldId:_0xad3e3e,filterInfo:_0x30091b,oldFilterInfo:_0x3b2718}=_0x78b001,_0x323961={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0xad3e3e,'filterInfo':_0x30091b};_0x550374[_0x5b4b70(0x296)]({'id':_0xa23cd8['id'],'params':_0x323961});const _0x28a1a4={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0xad3e3e,'filterInfo':_0x3b2718};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0xa23cd8['id'],'params':_0x28a1a4});}}return{'redos':_0x550374,'undos':_0x13b75b};}function _0x460318(_0xe10290,_0x4452e4){const _0x5aca1d=_0x32a484;var _0x518d64;const _0x55197a=_0xe10290['get'](_0xd0af73[_0x5aca1d(0x21f)]),{cellInfo:_0x3988f9,view:_0xa77f2d,isEmpty:_0x134470}=_0x4452e4;return(_0x518d64=_0x55197a['interceptor'][_0x5aca1d(0x247)](_0x1a7dbe)(_0x47aadf,{'cellInfo':_0x3988f9,'view':_0xa77f2d,'isEmpty':_0x134470}))!=null?_0x518d64:_0x47aadf;}const _0x2d335d={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2d3),async 'handler'(_0x80ec7f,_0x769914){const _0x4bea60=_0x32a484;if(!_0x769914)return!0x1;const _0x3b6d6b=_0x80ec7f['get'](_0x2fa876[_0x4bea60(0x41b)]),_0x21a7fb=_0x80ec7f[_0x4bea60(0x3fc)](_0xd0af73[_0x4bea60(0x3af)]),_0x5f5593=_0x80ec7f[_0x4bea60(0x3fc)](_0x2fa876[_0x4bea60(0x3bc)]),{pivotTableId:_0x35c68b,dataFieldId:_0x4cdc3f,fieldArea:_0x353eac,index:_0x23d4a3,unitId:_0x1102ea,subUnitId:_0x1d366c}=_0x769914,_0x70ccc3=(await _0x21a7fb[_0x4bea60(0x263)]({'unitId':_0x1102ea,'subUnitId':_0x1d366c,'pivotTableId':_0x35c68b,'params':{'type':_0x1ce851[_0x4bea60(0x357)],'addPivotField':{'dataFieldId':_0x4cdc3f,'fieldArea':_0x353eac,'index':_0x23d4a3}}}))[_0x4bea60(0x210)][_0x4bea60(0x385)];if(!_0x70ccc3)return!0x1;const {view:_0x14000c,changesets:_0x3fcdb2,isEmpty:_0x3abdee,pivotTableConfig:_0x1e67fe,shouldBeAddedGroupJSON:_0x20fe91}=_0x70ccc3,_0x44aa1b=_0x1e67fe[_0x4bea60(0x412)],_0x753fd9=new _0x33417a[(_0x4bea60(0x22b))]();_0x753fd9[_0x4bea60(0x298)](_0x14000c);const _0x2ca09a={'cellInfo':_0x44aa1b,'view':_0x753fd9,'isEmpty':_0x3abdee};if(!await _0x80ec7f['get'](_0xd0af73[_0x4bea60(0x21f)])[_0x4bea60(0x4ca)][_0x4bea60(0x323)](_0x1d5a00)(!0x0,_0x2ca09a))return!0x1;const _0x2ccee6=_0x36c3d6(_0x80ec7f,_0x753fd9,_0x44aa1b,_0x3abdee),_0x4954df=_0x460318(_0x80ec7f,_0x2ca09a),{undos:_0x22fc41,redos:_0xb3b3a7}=_0x5706b0(_0x3b6d6b,{'pivotTableId':_0x35c68b,'unitId':_0x1102ea,'subUnitId':_0x1d366c},_0x3fcdb2);return _0x20fe91&&(_0xb3b3a7[_0x4bea60(0x41d)]({'id':_0x1b9e99['id'],'params':{'pivotTableId':_0x35c68b,'fieldJSON':_0x20fe91,'unitId':_0x1102ea,'subUnitId':_0x1d366c}}),_0x22fc41['push']({'id':_0xf85d51['id'],'params':{'pivotTableId':_0x35c68b,'dataFieldId':_0x20fe91['id'],'unitId':_0x1102ea,'subUnitId':_0x1d366c}})),_0x2fa876[_0x4bea60(0x3e6)]([..._0x2ccee6['redos'],..._0x4954df['redos'],..._0xb3b3a7],_0x3b6d6b),_0x5f5593['pushUndoRedo']({'unitID':_0x1102ea,'redoMutations':[..._0x2ccee6['redos'],..._0x4954df[_0x4bea60(0x390)],..._0xb3b3a7],'undoMutations':[..._0x2ccee6[_0x4bea60(0x443)],..._0x4954df[_0x4bea60(0x443)],..._0x22fc41]}),!0x0;}},_0x4eaa1d=()=>typeof process<'u'&&process[_0x32a484(0x1f3)]!=null&&process['versions'][_0x32a484(0x46f)]!=null,_0x22c246={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x37b),'handler'(_0x380944,_0x1c2db8){const _0xca3b10=_0x32a484;var _0x576193;if(!_0x1c2db8)return!0x1;const _0x35e7cb=_0x380944['get'](_0x2fa876[_0xca3b10(0x3da)]);if(!!_0x35e7cb[_0xca3b10(0x28b)](_0x51f97f))return!0x0;const _0x2e8b8c=_0x380944[_0xca3b10(0x3fc)](_0x2fa876[_0xca3b10(0x361)]),_0x53f69b=_0x380944[_0xca3b10(0x3fc)](_0xd0af73[_0xca3b10(0x255)]),{pivotTableId:_0x76a9a2,pivotTableConfig:_0xdb9854,collectionConfig:_0x5039aa,unitId:_0x98f669,subUnitId:_0x4e30db}=_0x1c2db8,{sourceRangeInfo:_0x24939b,fieldsConfig:_0x406d5a,targetCellInfo:_0xa4d29}=_0xdb9854,_0x58242b=_0x2e8b8c[_0xca3b10(0x1e4)](_0x98f669);if(!_0x58242b||!_0x58242b[_0xca3b10(0x493)](_0x4e30db))return!0x1;if(!_0x4eaa1d()){let _0x3156f3=0x0;_0x58242b[_0xca3b10(0x36a)]()['forEach'](_0x42c49a=>{const _0x46ce3c=_0xca3b10;var _0x3ecc34,_0x109133;_0x3156f3+=(_0x109133=(_0x3ecc34=_0x53f69b[_0x46ce3c(0x40b)](_0x98f669,_0x42c49a['getSheetId']()))==null?void 0x0:_0x3ecc34[_0x46ce3c(0x40c)])!=null?_0x109133:0x0;});const _0x22b07d=(_0x576193=_0x35e7cb['getConfig'](_0x4baa44[_0xca3b10(0x3fe)]))!=null?_0x576193:{},{ls:_0x4968e1,pbk:_0x200e21}=_0x22b07d;if(!_0x63db07(_0x4968e1,_0x200e21))throw new _0x2fa876[(_0xca3b10(0x3cc))]('limit\x20pivot');const _0x2a5634=_0x2d207d(_0x1c1f87,_0x4968e1,_0x200e21)[_0xca3b10(0x3cd)];if(_0x3156f3>=_0x2a5634)throw new _0x2fa876['CustomCommandExecutionError'](_0xca3b10(0x2ea));}if(!_0x5039aa||!_0x406d5a)return!0x1;const {collection:_0x1d2d18,updateDataFieldList:_0x4bb30e}=_0x53f69b[_0xca3b10(0x20b)](_0x76a9a2,_0x5039aa,_0x24939b,_0xa4d29);_0x53f69b[_0xca3b10(0x381)](_0x1d2d18,_0x4bb30e,_0x24939b);const _0x56c14e=new _0x33417a[(_0xca3b10(0x28e))](_0x1d2d18,void 0x0,_0x76a9a2);_0x56c14e[_0xca3b10(0x232)](_0x406d5a);const _0x57e162=JSON[_0xca3b10(0x496)](JSON[_0xca3b10(0x277)](_0xdb9854));return _0x53f69b[_0xca3b10(0x30f)](_0x98f669,_0x4e30db,_0x76a9a2,_0x56c14e,_0x57e162),_0x53f69b[_0xca3b10(0x272)]({'unitId':_0x98f669,'subUnitId':_0x4e30db,'token':_0x76a9a2,'type':_0x477731[_0xca3b10(0x401)],'pivotConfig':_0x57e162}),!0x0;}},_0x500188={'type':_0x2fa876['CommandType'][_0x32a484(0x387)],'id':_0x32a484(0x345),async 'handler'(_0x448444,_0x36f871){const _0xf29954=_0x32a484;if(!_0x36f871)return!0x1;const {sourceDataInfo:_0xdaa46e,pivotTableConfig:_0x595f87}=_0x36f871;if(!_0xdaa46e||!_0x595f87)return!0x1;const {unitId:_0x9ec546,subUnitId:_0x2434c2,range:_0x3bfed0}=_0xdaa46e,_0x216aaa=_0x448444[_0xf29954(0x3fc)](_0x2fa876[_0xf29954(0x361)]),_0x39a7a6=_0x448444[_0xf29954(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x4df87a=_0x448444[_0xf29954(0x3fc)](_0x2fa876[_0xf29954(0x3d2)]),_0x1af6bf=_0x448444['get'](_0x2fa876[_0xf29954(0x41b)]),_0x4e5564=_0x216aaa[_0xf29954(0x1e4)](_0x9ec546);if(!_0x4e5564)return!0x1;const _0xa86e98=_0x4e5564[_0xf29954(0x493)](_0x2434c2);if(!_0xa86e98)return!0x1;const _0x2a49c5=_0x33417a[_0xf29954(0x35b)](0x8),_0x2fec39=_0x3bfed0||{'startRow':0x0,'startColumn':0x0,'endRow':_0xa86e98[_0xf29954(0x4b4)]()-0x1,'endColumn':_0xa86e98['getColumnCount']()-0x1};_0x2fec39[_0xf29954(0x26d)]=_0x2fa876[_0xf29954(0x410)][_0xf29954(0x395)];const _0x40e25e=(await _0x39a7a6[_0xf29954(0x263)]({'unitId':_0x9ec546,'subUnitId':_0x2434c2,'pivotTableId':_0x2a49c5,'params':{'type':_0x1ce851['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x9ec546,'sheetName':_0xa86e98[_0xf29954(0x22d)](),'subUnitId':_0x2434c2,'range':_0x2fec39},'pivotTableId':_0x2a49c5,'pivotTableIndexConfig':_0x595f87}}}))[_0xf29954(0x210)][_0xf29954(0x1f2)];if(!_0x40e25e)return!0x1;const {isEmpty:_0x43748e,fieldsConfig:_0x2d24a1,collectionConfig:_0x4eaeda,changesets:_0x2d7541}=_0x40e25e,_0x5a7803=_0x4e5564[_0xf29954(0x36a)]()['length'],_0x15df0a=_0x2fa876['mergeWorksheetSnapshotWithDefault']({'rowCount':_0xa86e98[_0xf29954(0x4b4)]()-0x1,'columnCount':_0xa86e98[_0xf29954(0x485)]()-0x1});_0x15df0a['id']=_0x2fa876[_0xf29954(0x39c)](),_0x15df0a[_0xf29954(0x4d2)]=_0x4e5564[_0xf29954(0x238)](''+_0x4df87a['t']('sheets.tabs.sheet'));const _0x2fb2dd={'index':_0x5a7803,'sheet':_0x15df0a,'unitId':_0x9ec546},{redos:_0x1109fa}=_0x5706b0(_0x1af6bf,{'pivotTableId':_0x2a49c5,'unitId':_0x9ec546,'subUnitId':_0x15df0a['id']},_0x2d7541),_0x520a78=[{'id':_0x30840c['InsertSheetCommand']['id'],'params':_0x2fb2dd},{'id':_0x22c246['id'],'params':{'unitId':_0x9ec546,'subUnitId':_0x15df0a['id'],'pivotTableId':_0x2a49c5,'pivotTableConfig':{'isEmpty':_0x43748e,'fieldsConfig':_0x2d24a1,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x9ec546,'subUnitId':_0x15df0a['id']},'sourceRangeInfo':{'subUnitId':_0x2434c2,'unitId':_0x9ec546,'range':_0x2fec39,'sheetName':_0xa86e98[_0xf29954(0x22d)]()}},'collectionConfig':_0x4eaeda}},..._0x1109fa];return _0x2fa876['sequenceExecute'](_0x520a78,_0x1af6bf),!0x0;}},_0xe28166={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x519a46,_0x1d503f){const _0x3e12c9=_0x32a484;if(!_0x1d503f)return!0x1;if(!!_0x519a46[_0x3e12c9(0x3fc)](_0x2fa876[_0x3e12c9(0x3da)])[_0x3e12c9(0x28b)](_0x51f97f))return!0x0;const {pivotTableId:_0x4faae4,unitId:_0x19231e,subUnitId:_0x39276b}=_0x1d503f,_0x48a40d=_0x519a46[_0x3e12c9(0x3fc)](_0xd0af73[_0x3e12c9(0x255)]);return _0x48a40d[_0x3e12c9(0x2e9)](_0x19231e,_0x39276b,_0x4faae4)?(_0x48a40d['addDirtyPivotTable']({'unitId':_0x19231e,'subUnitId':_0x39276b,'token':_0x4faae4,'type':_0x477731[_0x3e12c9(0x3df)]}),_0x48a40d['removePivotTable'](_0x19231e,_0x39276b,_0x4faae4),!0x0):!0x1;}},_0x15728c={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x350),async 'handler'(_0x519aad,_0x323595){const _0x7f8e38=_0x32a484;var _0x686da5,_0x47a09f;const _0x5f50ad=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x41b)]),_0x2473c4=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876['IUniverInstanceService']),_0x43e36e=_0x519aad['get'](_0x2fa876[_0x7f8e38(0x3d2)]),_0xa7b1c8=_0x519aad[_0x7f8e38(0x3fc)](_0xd0af73[_0x7f8e38(0x3af)]),_0x4b039e=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x3bc)]),_0x5a8f55=_0x519aad['get'](_0xd0af73['SheetsPivotTableConfigModel']),_0x32d905=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x3da)]);if(!_0x323595)return!0x1;const {pivotTableConfig:_0x455dca,positionType:_0x10aa00}=_0x323595,{targetCellInfo:_0x1c7360,sourceRangeInfo:_0x2cd4b2}=_0x455dca,{unitId:_0xf9bd07,subUnitId:_0x336c23}=_0x1c7360,_0x34a69a=_0x2473c4[_0x7f8e38(0x1e4)](_0xf9bd07);if(!_0x34a69a)return!0x1;let _0x217982=0x0;_0x34a69a[_0x7f8e38(0x36a)]()[_0x7f8e38(0x4c2)](_0x5af7e7=>{const _0x562e37=_0x7f8e38;var _0x2e60c1,_0x58c537;_0x217982+=(_0x58c537=(_0x2e60c1=_0x5a8f55['getSubUnitPivotConfigs'](_0xf9bd07,_0x5af7e7[_0x562e37(0x2ca)]()))==null?void 0x0:_0x2e60c1[_0x562e37(0x40c)])!=null?_0x58c537:0x0;});const _0x3555f0=(_0x686da5=_0x32d905['getConfig'](_0x4baa44['LS_CONFIG_KEY']))!=null?_0x686da5:{},{ls:_0x15da86,pbk:_0x231520}=_0x3555f0;if(!_0x63db07(_0x15da86,_0x231520))return!0x1;const _0x109002=_0x2d207d(_0x1c1f87,_0x15da86,_0x231520)[_0x7f8e38(0x3cd)];if(_0x217982>=_0x109002)return!0x1;const _0x2f866c=_0x323595[_0x7f8e38(0x3eb)]||_0x33417a[_0x7f8e38(0x35b)](0x8),_0x2b2b6d=(await _0xa7b1c8['getPivotDisplayConfig']({'unitId':_0xf9bd07,'subUnitId':_0x336c23,'pivotTableId':_0x2f866c,'params':{'type':_0x1ce851['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x2cd4b2,'pivotTableId':_0x2f866c}}}))[_0x7f8e38(0x210)][_0x7f8e38(0x30f)];if(!_0x2b2b6d)return!0x1;const {view:_0x50ed83,isEmpty:_0x5d9dde,fieldsConfig:_0x1751f8,collectionConfig:_0x2b3d78}=_0x2b2b6d,_0x108441=[],_0x56801e=[];if(_0x10aa00===_0x323c52[_0x7f8e38(0x200)]){const _0x1adca4=_0x34a69a[_0x7f8e38(0x36a)]()[_0x7f8e38(0x249)],_0x165176=_0x2fa876[_0x7f8e38(0x460)]({});_0x165176['id']=_0x455dca['targetCellInfo'][_0x7f8e38(0x2fa)],_0x165176[_0x7f8e38(0x4d2)]=(_0x47a09f=_0x455dca['targetCellInfo'][_0x7f8e38(0x329)])!=null?_0x47a09f:_0x34a69a[_0x7f8e38(0x238)](''+_0x43e36e['t'](_0x7f8e38(0x499)));const _0x261444={'index':_0x1adca4,'sheet':_0x165176,'unitId':_0xf9bd07},_0x32fd69=_0x30840c[_0x7f8e38(0x1e1)](_0x519aad,_0x261444);_0x108441['push']({'id':_0x30840c[_0x7f8e38(0x22f)]['id'],'params':_0x32fd69}),_0x56801e['push']({'id':_0x30840c[_0x7f8e38(0x3dd)]['id'],'params':_0x261444});}else{if(!_0x34a69a[_0x7f8e38(0x493)](_0x336c23))return!0x1;const _0x183c64=_0x36c3d6(_0x519aad,new _0x33417a[(_0x7f8e38(0x22b))](),_0x1c7360,!0x0);_0x56801e[_0x7f8e38(0x296)](..._0x183c64[_0x7f8e38(0x390)]),_0x108441['push'](..._0x183c64[_0x7f8e38(0x443)]);const _0x33d1a3={'cellInfo':_0x1c7360,'view':_0x50ed83,'isEmpty':_0x5d9dde};if(!await _0x519aad['get'](_0xd0af73['SheetsPivotTableService'])[_0x7f8e38(0x4ca)][_0x7f8e38(0x323)](_0x1d5a00)(!0x0,_0x33d1a3))return!0x1;const _0x84993b=_0x460318(_0x519aad,_0x33d1a3);_0x56801e[_0x7f8e38(0x296)](..._0x84993b[_0x7f8e38(0x390)]),_0x108441[_0x7f8e38(0x296)](..._0x84993b['undos']);}return _0x56801e[_0x7f8e38(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x1c7360[_0x7f8e38(0x211)],'subUnitId':_0x1c7360[_0x7f8e38(0x2fa)],'pivotTableId':_0x2f866c,'pivotTableConfig':{'targetCellInfo':_0x1c7360,'sourceRangeInfo':_0x2cd4b2,'fieldsConfig':_0x1751f8},'collectionConfig':_0x2b3d78}}),_0x108441[_0x7f8e38(0x41d)]({'id':_0xe28166['id'],'params':{'unitId':_0xf9bd07,'subUnitId':_0x336c23,'pivotTableId':_0x2f866c}}),_0x2fa876['sequenceExecute'](_0x56801e,_0x5f50ad)&&_0x4b039e['pushUndoRedo']({'unitID':_0xf9bd07,'undoMutations':_0x108441,'redoMutations':_0x56801e}),!0x0;}},_0x4cb5ef={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x301b4f,_0x5a00c8){const _0x37d955=_0x32a484;if(!_0x5a00c8)return!0x1;const _0x3be481=_0x301b4f[_0x37d955(0x3fc)](_0x2fa876[_0x37d955(0x41b)]),_0x54b70f=_0x301b4f[_0x37d955(0x3fc)](_0xd0af73[_0x37d955(0x3af)]),_0x310181=_0x301b4f[_0x37d955(0x3fc)](_0x2fa876[_0x37d955(0x3bc)]),{pivotTableId:_0x24f9da,fieldId:_0xe624e6,area:_0x3dcf8c,index:_0x2a9a57,unitId:_0xdec28b,subUnitId:_0x393322}=_0x5a00c8,_0x57a159=(await _0x54b70f[_0x37d955(0x263)]({'unitId':_0xdec28b,'subUnitId':_0x393322,'pivotTableId':_0x24f9da,'params':{'type':_0x1ce851['MovePivotField'],'movePivotField':{'fieldId':_0xe624e6,'area':_0x3dcf8c,'index':_0x2a9a57}}}))[_0x37d955(0x210)]['movePivotField'];if(!_0x57a159)return!0x1;const {changesets:_0x39537f,view:_0xea9c27,isEmpty:_0x201296,pivotTableConfig:_0x54e3ad}=_0x57a159,_0x13160c=_0x54e3ad[_0x37d955(0x412)],_0x2a3125=new _0x33417a[(_0x37d955(0x22b))]();_0x2a3125[_0x37d955(0x298)](_0xea9c27);const _0x5acc94={'cellInfo':_0x13160c,'view':_0x2a3125,'isEmpty':_0x201296};if(!await _0x301b4f[_0x37d955(0x3fc)](_0xd0af73[_0x37d955(0x21f)])[_0x37d955(0x4ca)][_0x37d955(0x323)](_0x1d5a00)(!0x0,_0x5acc94))return!0x1;const _0x3a4635=_0x36c3d6(_0x301b4f,_0x2a3125,_0x13160c,_0x201296),_0x3d63a5=_0x460318(_0x301b4f,_0x5acc94),{redos:_0x5241aa,undos:_0x2ef86d}=_0x5706b0(_0x3be481,{'pivotTableId':_0x24f9da,'unitId':_0xdec28b,'subUnitId':_0x393322},_0x39537f);return _0x2fa876[_0x37d955(0x3e6)]([..._0x3a4635[_0x37d955(0x390)],..._0x3d63a5[_0x37d955(0x390)],..._0x5241aa],_0x3be481),_0x310181['pushUndoRedo']({'unitID':_0xdec28b,'redoMutations':[..._0x3a4635[_0x37d955(0x390)],..._0x3d63a5[_0x37d955(0x390)],..._0x5241aa],'undoMutations':[..._0x3a4635[_0x37d955(0x443)],..._0x3d63a5[_0x37d955(0x443)],..._0x2ef86d]}),!0x0;}},_0x1de3f8={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.set-pivot-position','handler'(_0x25f2b0,_0x348915){const _0x542f5e=_0x32a484;if(!_0x348915)return!0x1;if(!!_0x25f2b0[_0x542f5e(0x3fc)](_0x2fa876[_0x542f5e(0x3da)])['getConfig'](_0x51f97f))return!0x0;const {pivotTableId:_0x21c511,targetCellPosition:_0x44df3d,unitId:_0x1d8b23,subUnitId:_0x25996b}=_0x348915,_0x1e3213=_0x25f2b0['get'](_0xd0af73['SheetsPivotDataSourceModel']);if(!_0x1e3213[_0x542f5e(0x47b)](_0x348915[_0x542f5e(0x3eb)]))return!0x1;const _0x29df57=_0x1e3213[_0x542f5e(0x4aa)](_0x21c511);if(!_0x29df57)return!0x1;const _0x2d92e0=_0x1e3213[_0x542f5e(0x336)](_0x29df57[_0x542f5e(0x211)],_0x348915[_0x542f5e(0x3eb)]);if(!_0x2d92e0)return!0x1;const _0x357e31=_0x1e3213[_0x542f5e(0x2e9)](_0x29df57[_0x542f5e(0x211)],_0x29df57['subUnitId'],_0x21c511);if(!_0x357e31)return!0x1;const _0x16cc13=_0x2fa876[_0x542f5e(0x3f2)][_0x542f5e(0x2a4)](_0x357e31);_0x16cc13[_0x542f5e(0x412)]={'unitId':_0x1d8b23,'subUnitId':_0x25996b,'row':_0x44df3d[_0x542f5e(0x213)],'col':_0x44df3d[_0x542f5e(0x38d)]};const _0x2da778=_0x2d92e0[_0x542f5e(0x4ab)]();if(_0x29df57[_0x542f5e(0x2fa)]===_0x25996b&&_0x29df57[_0x542f5e(0x211)]===_0x1d8b23)_0x1e3213[_0x542f5e(0x292)](_0x1d8b23,_0x25996b,_0x21c511,_0x16cc13),_0x1e3213['addDirtyPivotTable']({'unitId':_0x1d8b23,'subUnitId':_0x25996b,'token':_0x21c511,'type':_0x477731[_0x542f5e(0x47a)]});else{_0x1e3213[_0x542f5e(0x272)]({'unitId':_0x29df57['unitId'],'subUnitId':_0x29df57[_0x542f5e(0x2fa)],'token':_0x21c511,'type':_0x477731[_0x542f5e(0x3df)]}),_0x1e3213['removePivotTable'](_0x29df57['unitId'],_0x29df57['subUnitId'],_0x21c511);const _0x5c9b8a=_0x1e3213[_0x542f5e(0x20b)](_0x21c511,_0x2da778,_0x357e31[_0x542f5e(0x218)],_0x16cc13[_0x542f5e(0x412)]),_0x3cd725=new _0x33417a[(_0x542f5e(0x28e))](_0x5c9b8a[_0x542f5e(0x473)],void 0x0,_0x21c511);_0x3cd725['fromJSON'](_0x16cc13[_0x542f5e(0x481)]),_0x1e3213[_0x542f5e(0x30f)](_0x1d8b23,_0x25996b,_0x21c511,_0x3cd725,_0x16cc13),_0x1e3213[_0x542f5e(0x272)]({'unitId':_0x1d8b23,'subUnitId':_0x25996b,'token':_0x21c511,'type':_0x477731['Add'],'pivotConfig':_0x16cc13});}return!0x0;}},_0x35a97c={'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'id':_0x32a484(0x3a8),'handler':(_0xd19893,_0x5542df)=>{const _0x346f52=_0x32a484,_0x48dd01=_0xd19893[_0x346f52(0x3fc)](_0x2fa876[_0x346f52(0x41b)]),_0x131a51=_0xd19893[_0x346f52(0x3fc)](_0x2fa876['IUndoRedoService']),_0x52f08f=_0xd19893[_0x346f52(0x3fc)](_0xd0af73[_0x346f52(0x32b)]),_0x3efa9f=_0xd19893[_0x346f52(0x3fc)](_0x2fa876[_0x346f52(0x361)]);if(!_0x5542df)return!0x1;const _0x41cbaf=_0x30840c[_0x346f52(0x279)](_0x3efa9f);if(!_0x41cbaf)return!0x1;const {unitId:_0x54a176,subUnitId:_0x31061e,workbook:_0xdba168}=_0x41cbaf,_0x57f944=_0x52f08f[_0x346f52(0x2e9)](_0x5542df[_0x346f52(0x367)][_0x346f52(0x211)],_0x5542df['originTargetInfo'][_0x346f52(0x2fa)],_0x5542df[_0x346f52(0x3eb)]);if(!_0x57f944)return!0x1;const _0x25dba2=_0xdba168['getSheetBySheetId'](_0x5542df['targetCellInfo']['subUnitId']);if(!_0x25dba2)throw new Error(_0x346f52(0x21d));const _0x43575d=_0x25dba2[_0x346f52(0x4b4)](),_0x50f0f2=_0x25dba2[_0x346f52(0x485)]();if(_0x5542df[_0x346f52(0x412)][_0x346f52(0x213)]>_0x43575d||_0x5542df[_0x346f52(0x412)][_0x346f52(0x38d)]>_0x50f0f2)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0xd84057=[{'id':_0x1de3f8['id'],'params':{'unitId':_0x54a176,'subUnitId':_0x5542df[_0x346f52(0x412)][_0x346f52(0x2fa)],'pivotTableId':_0x5542df[_0x346f52(0x3eb)],'targetCellPosition':{'row':_0x5542df[_0x346f52(0x412)][_0x346f52(0x213)],'col':_0x5542df[_0x346f52(0x412)][_0x346f52(0x38d)]}}}],_0x493592=[{'id':_0x1de3f8['id'],'params':{'unitId':_0x54a176,'subUnitId':_0x31061e,'pivotTableId':_0x5542df['pivotTableId'],'targetCellPosition':{'row':_0x57f944[_0x346f52(0x412)]['row'],'col':_0x57f944[_0x346f52(0x412)]['col']}}}];return _0x2fa876[_0x346f52(0x3e6)](_0xd84057,_0x48dd01)&&_0x131a51['pushUndoRedo']({'unitID':_0x54a176,'undoMutations':_0x493592,'redoMutations':_0xd84057}),!0x0;}},_0x3c4350={'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'id':_0x32a484(0x24e),async 'handler'(_0x582c60,_0x17408f){const _0x3ecfdb=_0x32a484;var _0x681d73;if(!_0x17408f)return!0x1;const _0x401b6a=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x361)]),_0x5dc106=_0x30840c[_0x3ecfdb(0x279)](_0x401b6a);if(!_0x5dc106)return!0x1;const {unitId:_0x510fe1,subUnitId:_0x136661,workbook:_0x42c976}=_0x5dc106,{row:_0x3ff266,col:_0x423fa8}=_0x17408f,_0x21cd09=_0x582c60[_0x3ecfdb(0x3fc)](_0xd0af73[_0x3ecfdb(0x404)]),_0x2b1235=_0x21cd09[_0x3ecfdb(0x2d4)](_0x510fe1,_0x136661,_0x3ff266,_0x423fa8);if(!_0x2b1235)return!0x1;const _0x4766bd=(_0x681d73=_0x21cd09[_0x3ecfdb(0x2d5)](_0x510fe1,_0x136661,_0x2b1235))==null?void 0x0:_0x681d73[_0x3ecfdb(0x206)];if(!_0x4766bd)return!0x1;const _0x50d3ba=_0x582c60[_0x3ecfdb(0x3fc)](_0xd0af73[_0x3ecfdb(0x32b)])[_0x3ecfdb(0x2e9)](_0x510fe1,_0x136661,_0x2b1235);if(!_0x50d3ba)return!0x1;const {rowInfo:_0x2c04f0,colInfo:_0x180e0c}=_0x4766bd,_0x5df3d1=_0x2c04f0[_0x3ff266]['paths'],_0x9cfa61=_0x180e0c[_0x423fa8][_0x3ecfdb(0x266)],_0x5db77e=_0x2c04f0[_0x3ff266][_0x3ecfdb(0x1e8)],_0x110118=_0x180e0c[_0x423fa8][_0x3ecfdb(0x1e8)],_0x42c941=_0x5df3d1[_0x3ecfdb(0x398)](_0x9cfa61),_0x32dcca=_0x50d3ba[_0x3ecfdb(0x481)][_0x3ecfdb(0x3e2)][_0x3ecfdb(0x1f8)](0x0,_0x5db77e),_0x4f4970=_0x50d3ba['fieldsConfig'][_0x3ecfdb(0x2f7)][_0x3ecfdb(0x1f8)](0x0,_0x110118),_0x55f2e6=_0x32dcca['concat'](_0x4f4970),_0x222c1a=_0x42c941[_0x3ecfdb(0x2a0)]((_0x3676d9,_0x22331e)=>[_0x3676d9,_0x55f2e6[_0x22331e]]),_0x135d47=(await _0x582c60['get'](_0xd0af73[_0x3ecfdb(0x3af)])[_0x3ecfdb(0x263)]({'unitId':_0x510fe1,'subUnitId':_0x136661,'pivotTableId':_0x2b1235,'params':{'type':_0x1ce851['DrillDown'],'drillDown':{'tuple':_0x222c1a}}}))[_0x3ecfdb(0x210)]['drillDown'];if(!_0x135d47)return!0x1;const {indexes:_0x5d44cd,range:_0x3bfcf8,sourceUnitId:_0x161cba,sourceSubUnitId:_0xce802f,formatMap:_0x4069bd}=_0x135d47,{startRow:_0x5a6cbc,endRow:_0x27664b,startColumn:_0x3db454,endColumn:_0x3b5bf3}=_0x3bfcf8,_0x1ad1b4=new _0x2fa876[(_0x3ecfdb(0x48a))](),_0x2e59dc=_0x27664b-_0x5a6cbc,_0xf7e3f2=_0x3b5bf3-_0x3db454,_0x844e39={},_0x4ebd59=_0x30840c[_0x3ecfdb(0x279)](_0x401b6a,{'unitId':_0x161cba,'subUnitId':_0xce802f});if(!_0x4ebd59)return!0x1;const _0x22f0d7=_0x226288[_0x3ecfdb(0x4c9)],_0x44ec23=_0x226288[_0x3ecfdb(0x23a)],_0x42c86e=_0x226288[_0x3ecfdb(0x23a)],_0x41758a=_0x42c976['getStyles']()[_0x3ecfdb(0x280)](_0x22f0d7),_0x48f928=_0x42c976[_0x3ecfdb(0x2bb)]()[_0x3ecfdb(0x280)](_0x44ec23),_0x4406c4=_0x42c976[_0x3ecfdb(0x2bb)]()[_0x3ecfdb(0x280)](_0x42c86e),{worksheet:_0x2467e0}=_0x4ebd59;let _0x4402cb=0x0;const _0x4b3123=0x1;_0x5d44cd['forEach'](_0x2d2c88=>{const _0x58381f=_0x3ecfdb;for(let _0x12e3a2=0x0;_0x12e3a2<=_0x3b5bf3-_0x3db454;_0x12e3a2++)_0x1ad1b4['setValue'](_0x4402cb,_0x12e3a2,_0x2467e0['getCellRaw'](_0x2d2c88+_0x3bfcf8[_0x58381f(0x340)]+_0x4b3123,_0x12e3a2));_0x4402cb++;});for(let _0x48db9d=_0x3db454;_0x48db9d<=_0x3b5bf3;_0x48db9d++){const _0x35437a=_0x2467e0[_0x3ecfdb(0x3d7)](_0x5a6cbc,_0x48db9d);_0x844e39[_0x5a6cbc]||(_0x844e39[_0x5a6cbc]={}),_0x844e39[_0x5a6cbc][_0x48db9d]={..._0x35437a,'s':_0x41758a};}let _0xe734ba=0x1;const _0x124522={},_0x494bb4={};_0x1ad1b4[_0x3ecfdb(0x2d2)]((_0x895028,_0xc25018)=>{const _0x23e6b9=_0x3ecfdb;_0xc25018[_0x23e6b9(0x4c2)](_0x5cd19b=>{const _0x273bfe=_0x23e6b9,_0x15987d=_0x1ad1b4[_0x273bfe(0x250)](_0x895028,_0x5cd19b);if(_0x844e39[_0xe734ba]||(_0x844e39[_0xe734ba]={}),_0x844e39[_0xe734ba][_0x5cd19b]={..._0x15987d,'s':_0xe734ba%0x2===0x0?_0x4406c4:_0x48f928},_0x4069bd[_0x5cd19b]&&_0x895028>=0x0){const _0xc9f770=_0xe734ba%0x2===0x0;let _0x368e66=_0xc9f770?_0x494bb4[_0x5cd19b]:_0x124522[_0x5cd19b];_0x368e66||(_0x368e66=_0x42c976[_0x273bfe(0x2bb)]()['setValue']({..._0xc9f770?_0x42c86e:_0x44ec23,'n':{'pattern':_0x4069bd[_0x5cd19b]}}),_0xc9f770?_0x494bb4[_0x5cd19b]=_0x368e66:_0x124522[_0x5cd19b]=_0x368e66),_0x844e39[_0xe734ba][_0x5cd19b]['s']=_0x368e66;}}),_0xe734ba++;});const _0x3f5002=new _0x2fa876['ObjectMatrix'](_0x844e39),_0x20d2bc={};_0x3f5002[_0x3ecfdb(0x3ed)]((_0x1c79a7,_0x519f38,_0x5e3730)=>{_0x20d2bc[_0x1c79a7]||(_0x20d2bc[_0x1c79a7]={}),_0x20d2bc[_0x1c79a7][_0x519f38]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x17b4a8=[],_0xcb2a2b=[],_0x448563=_0x42c976[_0x3ecfdb(0x36a)]()[_0x3ecfdb(0x249)],_0x5a4409=_0x2fa876['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x3ecfdb(0x1f9)](_0x2fa876['DEFAULT_WORKSHEET_ROW_COUNT'],_0x2e59dc+0xa),'columnCount':Math['max'](_0x2fa876[_0x3ecfdb(0x39e)],_0xf7e3f2+0x5)}),_0x1a6162=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x3d2)]);_0x5a4409['id']=_0x2fa876[_0x3ecfdb(0x39c)](),_0x5a4409[_0x3ecfdb(0x4d2)]=_0x42c976[_0x3ecfdb(0x238)](''+_0x1a6162['t'](_0x3ecfdb(0x499)));const _0x400930={'index':_0x448563,'sheet':_0x5a4409,'unitId':_0x510fe1},_0x1e2a53=_0x30840c[_0x3ecfdb(0x1e1)](_0x582c60,_0x400930);_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x30840c['InsertSheetMutation']['id'],'params':_0x400930}),_0x17b4a8[_0x3ecfdb(0x296)]({'id':_0x30840c[_0x3ecfdb(0x22f)]['id'],'params':_0x1e2a53}),_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x30840c['SetRangeValuesMutation']['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'cellValue':_0x844e39}}),_0x17b4a8[_0x3ecfdb(0x41d)]({'id':_0x30840c[_0x3ecfdb(0x35d)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'cellValue':_0x20d2bc}});const _0x45267e={'startRow':0x0,'startColumn':0x0,'endRow':_0xe734ba-0x1,'endColumn':_0x3b5bf3};_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x537f85[_0x3ecfdb(0x294)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'range':_0x45267e}}),_0x17b4a8[_0x3ecfdb(0x41d)]({'id':_0x537f85[_0x3ecfdb(0x488)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id']}});const _0x464a53=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x41b)]);return _0x2fa876[_0x3ecfdb(0x3e6)](_0xcb2a2b,_0x464a53)&&_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x3bc)])[_0x3ecfdb(0x34d)]({'unitID':_0x510fe1,'undoMutations':_0x17b4a8,'redoMutations':_0xcb2a2b}),!0x0;}},_0x429f9b={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2e4),async 'handler'(_0x59a7a0,_0x587d40){const _0x182adb=_0x32a484;if(!_0x587d40)return!0x1;const _0x7696ad=_0x59a7a0[_0x182adb(0x3fc)](_0x2fa876[_0x182adb(0x41b)]),_0x5dd685=_0x59a7a0[_0x182adb(0x3fc)](_0xd0af73[_0x182adb(0x3af)]),_0xffcea0=_0x59a7a0[_0x182adb(0x3fc)](_0x2fa876['IUndoRedoService']),{pivotTableId:_0x12ffef,fieldIds:_0x610655,unitId:_0xd68cc3,subUnitId:_0x1a93b1}=_0x587d40,_0x150825=(await _0x5dd685[_0x182adb(0x263)]({'unitId':_0xd68cc3,'subUnitId':_0x1a93b1,'pivotTableId':_0x12ffef,'params':{'type':_0x1ce851[_0x182adb(0x339)],'removePivotField':{'fieldIds':_0x610655}}}))[_0x182adb(0x210)][_0x182adb(0x45b)];if(!_0x150825)return!0x1;const {view:_0x5db67f,changesets:_0x5a952d,isEmpty:_0x5a294b,pivotTableConfig:_0x1e9345}=_0x150825,_0x507e4d=_0x1e9345[_0x182adb(0x412)],_0x354b18=new _0x33417a[(_0x182adb(0x22b))]();_0x354b18[_0x182adb(0x298)](_0x5db67f);const _0x2cc2d3={'cellInfo':_0x507e4d,'view':_0x354b18,'isEmpty':_0x5a294b};if(!await _0x59a7a0[_0x182adb(0x3fc)](_0xd0af73[_0x182adb(0x21f)])[_0x182adb(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x2cc2d3))return!0x1;const _0x26bda5=_0x36c3d6(_0x59a7a0,_0x354b18,_0x507e4d,_0x5a294b),_0x7219e9=_0x460318(_0x59a7a0,_0x2cc2d3),{redos:_0x5b21c6,undos:_0x23ee07}=_0x5706b0(_0x7696ad,{'pivotTableId':_0x12ffef,'unitId':_0xd68cc3,'subUnitId':_0x1a93b1},_0x5a952d);return _0x2fa876[_0x182adb(0x3e6)]([..._0x26bda5[_0x182adb(0x390)],..._0x7219e9['redos'],..._0x5b21c6],_0x7696ad),_0xffcea0[_0x182adb(0x34d)]({'unitID':_0xd68cc3,'redoMutations':[..._0x26bda5[_0x182adb(0x390)],..._0x7219e9['redos'],..._0x5b21c6],'undoMutations':[..._0x26bda5[_0x182adb(0x443)],..._0x7219e9[_0x182adb(0x443)],..._0x23ee07]}),!0x0;}},_0x34b67e={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x49a),async 'handler'(_0x9c9118,_0x35dad9){const _0x367a0a=_0x32a484;if(!_0x35dad9)return!0x1;const _0x2d1e49=_0x9c9118['get'](_0x2fa876[_0x367a0a(0x41b)]),_0x3b4ede=_0x9c9118[_0x367a0a(0x3fc)](_0x2fa876[_0x367a0a(0x3bc)]),_0x451668=_0x9c9118[_0x367a0a(0x3fc)](_0xd0af73[_0x367a0a(0x3af)]),{resetArea:_0x5b1099,pivotTableId:_0x1b737c,unitId:_0x4461fb,subUnitId:_0xedddfc}=_0x35dad9,_0x2e9514=(await _0x451668['getPivotDisplayConfig']({'unitId':_0x4461fb,'subUnitId':_0xedddfc,'pivotTableId':_0x1b737c,'params':{'type':_0x1ce851['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x1b737c,'resetArea':_0x5b1099}}}))[_0x367a0a(0x210)][_0x367a0a(0x344)];if(!_0x2e9514)return!0x1;const {changesets:_0x165f3c}=_0x2e9514,{redos:_0x4481c5,undos:_0x12b26e}=_0x5706b0(_0x2d1e49,{'pivotTableId':_0x1b737c,'unitId':_0x4461fb,'subUnitId':_0xedddfc},_0x165f3c);return _0x2fa876[_0x367a0a(0x3e6)](_0x4481c5,_0x2d1e49),_0x3b4ede[_0x367a0a(0x34d)]({'unitID':_0x4461fb,'redoMutations':_0x4481c5,'undoMutations':_0x12b26e}),!0x0;}},_0xef2bc4={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x1da),async 'handler'(_0x2ce761,_0xce4285){const _0x231acc=_0x32a484,_0x351ce4=_0x2ce761['get'](_0x2fa876['ICommandService']),_0x2b032c=_0x2ce761['get'](_0xd0af73['SheetsPivotRPCService']),_0x232ea0=_0x2ce761[_0x231acc(0x3fc)](_0xd0af73[_0x231acc(0x404)]),_0x175aca=_0x2ce761['get'](_0x2fa876[_0x231acc(0x361)]),_0x877dd5=_0x2ce761[_0x231acc(0x3fc)](_0x2fa876[_0x231acc(0x3d2)]),_0x13fc35=_0x2ce761['get'](_0x2fa876[_0x231acc(0x3bc)]);if(!_0xce4285)return!0x1;const {unitId:_0xcee7d,subUnitId:_0x193c43,row:_0x5ea88f,col:_0xe80b72,collapse:_0x25cced}=_0xce4285,_0x441818=_0x175aca['getUnit'](_0xcee7d);if(!_0x441818||!_0x441818[_0x231acc(0x493)](_0x193c43))return!0x1;const _0x3f1144=_0x232ea0[_0x231acc(0x2d4)](_0xcee7d,_0x193c43,_0x5ea88f,_0xe80b72);if(!_0x3f1144)return!0x1;const _0x22ec0d=_0x232ea0['getPivotItemRenderInfoCache'](_0xcee7d,_0x193c43,_0x3f1144);if(!_0x22ec0d)return!0x1;const _0x3b91ee=_0x2fa876[_0x231acc(0x4bd)](_0x5ea88f,_0xe80b72),{rangesInfo:_0x4c69a0,areaInfo:_0x23746a,headerMap:_0x3158ae}=_0x22ec0d;if(!_0x4c69a0||!_0x23746a||!_0x3158ae)return!0x1;const _0x1be61d=Object['keys'](_0x4c69a0)[_0x231acc(0x475)](_0x1de42e=>_0x4c69a0[_0x1de42e][_0x231acc(0x26a)](_0x3f79e9=>_0x2fa876[_0x231acc(0x3b2)]['contains'](_0x3f79e9,_0x3b91ee)));let _0x2bd35c;_0x1be61d===_0x231acc(0x22a)?_0x2bd35c=_0x3158ae[_0x231acc(0x35e)][_0xe80b72]:_0x1be61d===_0x231acc(0x237)&&(_0x2bd35c=_0x3158ae[_0x231acc(0x22c)][_0x5ea88f]);const _0x4df3a3=_0x2bd35c==null?void 0x0:_0x2bd35c[_0x231acc(0x407)],_0x5edde0=_0x232ea0['getPivotTableCellData'](_0xcee7d,_0x193c43,_0x5ea88f,_0xe80b72);let _0x1b5307=_0x5edde0==null?void 0x0:_0x5edde0['v'];if(_0x1b5307===_0x877dd5['t'](_0x231acc(0x318))&&(_0x1b5307=_0x33417a[_0x231acc(0x497)]['BLANK_PLACEHOLDER']),_0x1b5307==null||!_0x3f1144||!_0x4df3a3)return!0x1;const _0x204e7c=await _0x2b032c['getPivotDisplayConfig']({'unitId':_0xcee7d,'subUnitId':_0x193c43,'pivotTableId':_0x3f1144,'params':{'type':_0x1ce851[_0x231acc(0x4c0)],'setPivotCollapse':{'tableFieldId':_0x4df3a3,'collapse':_0x25cced,'item':_0x1b5307}}}),_0x519ad0=_0x204e7c==null?void 0x0:_0x204e7c['result'][_0x231acc(0x353)];if(!_0x519ad0)return!0x1;const {view:_0x4135ce,pivotTableConfig:_0x47ebf3,isEmpty:_0x268047,changesets:_0x4b0518}=_0x519ad0,_0x44dd70=new _0x33417a['PivotView']();_0x44dd70[_0x231acc(0x298)](_0x4135ce);const _0x462594=_0x47ebf3[_0x231acc(0x412)],_0x5eb461={'cellInfo':_0x462594,'view':_0x44dd70,'isEmpty':_0x268047};if(!await _0x2ce761[_0x231acc(0x3fc)](_0xd0af73['SheetsPivotTableService'])[_0x231acc(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x5eb461))return!0x1;const _0x3a81ca=_0x36c3d6(_0x2ce761,_0x44dd70,_0x462594,_0x268047),_0x2edcb5=_0x460318(_0x2ce761,_0x5eb461),{redos:_0x5ae2f7,undos:_0x5e0e87}=_0x5706b0(_0x351ce4,{'pivotTableId':_0x3f1144,'unitId':_0xcee7d,'subUnitId':_0x193c43},_0x4b0518);return _0x2fa876[_0x231acc(0x3e6)]([..._0x3a81ca[_0x231acc(0x390)],..._0x2edcb5[_0x231acc(0x390)],..._0x5ae2f7],_0x351ce4),_0x13fc35[_0x231acc(0x34d)]({'unitID':_0xcee7d,'redoMutations':[..._0x3a81ca[_0x231acc(0x390)],..._0x2edcb5['redos'],..._0x5ae2f7],'undoMutations':[..._0x3a81ca['undos'],..._0x2edcb5[_0x231acc(0x443)],..._0x5e0e87]}),!0x0;}},_0x260d7f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x3b7),async 'handler'(_0x18d159,_0x2b9077){const _0x203d7e=_0x32a484;if(!_0x2b9077)return!0x1;const _0x192401=_0x18d159[_0x203d7e(0x3fc)](_0x2fa876['ICommandService']),_0x8f9b27=_0x18d159[_0x203d7e(0x3fc)](_0x2fa876[_0x203d7e(0x3bc)]),_0x4b7a6c=_0x18d159[_0x203d7e(0x3fc)](_0xd0af73['SheetsPivotRPCService']),{pivotTableConfig:_0x19b5cb,pivotTableId:_0x4c409,unitId:_0x385441,subUnitId:_0x29fc29}=_0x2b9077,_0x1bfada=(await _0x4b7a6c['getPivotDisplayConfig']({'unitId':_0x385441,'subUnitId':_0x29fc29,'pivotTableId':_0x4c409,'params':{'type':_0x1ce851[_0x203d7e(0x2e3)],'setPivotTableConfig':{'pivotTableId':_0x4c409,'pivotTableConfig':_0x19b5cb}}}))[_0x203d7e(0x210)][_0x203d7e(0x4a2)];if(!_0x1bfada)return!0x1;const {changesets:_0x1cbf18}=_0x1bfada,{redos:_0x268c43,undos:_0x26ac0b}=_0x5706b0(_0x192401,{'pivotTableId':_0x4c409,'unitId':_0x385441,'subUnitId':_0x29fc29},_0x1cbf18);return _0x2fa876['sequenceExecute'](_0x268c43,_0x192401),_0x8f9b27[_0x203d7e(0x34d)]({'unitID':_0x385441,'redoMutations':_0x268c43,'undoMutations':_0x26ac0b}),!0x0;}},_0x10b4bf={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x20f),async 'handler'(_0x559fe2,_0x81ffe6){const _0x1a90d7=_0x32a484;if(!_0x81ffe6)return!0x1;const _0x31465f=_0x559fe2[_0x1a90d7(0x3fc)](_0x2fa876['ICommandService']),{pivotTableId:_0x262c2d,tableFieldId:_0x4da7a,items:_0x32b4fc,unitId:_0x5de94e,subUnitId:_0x1dec16,isAll:_0x15ac01}=_0x81ffe6,_0x32b672=_0x559fe2[_0x1a90d7(0x3fc)](_0xd0af73[_0x1a90d7(0x3af)]),_0x2434d7=_0x559fe2[_0x1a90d7(0x3fc)](_0x2fa876[_0x1a90d7(0x3bc)]),_0x18b194=(await _0x32b672['getPivotDisplayConfig']({'unitId':_0x5de94e,'subUnitId':_0x1dec16,'pivotTableId':_0x262c2d,'params':{'type':_0x1ce851[_0x1a90d7(0x1e6)],'setPivotFilter':{'tableFieldId':_0x4da7a,'items':_0x32b4fc,'isAll':_0x15ac01}}}))[_0x1a90d7(0x210)][_0x1a90d7(0x38e)];if(!_0x18b194)return!0x1;const {changesets:_0x18e742,pivotTableConfig:_0x233cbd,isEmpty:_0x3258a0,view:_0x541497}=_0x18b194,_0x3cc9a2=_0x233cbd[_0x1a90d7(0x412)],_0xa095a=new _0x33417a[(_0x1a90d7(0x22b))]();_0xa095a[_0x1a90d7(0x298)](_0x541497);const _0xf9d475={'cellInfo':_0x3cc9a2,'view':_0xa095a,'isEmpty':_0x3258a0};if(!await _0x559fe2['get'](_0xd0af73[_0x1a90d7(0x21f)])[_0x1a90d7(0x4ca)][_0x1a90d7(0x323)](_0x1d5a00)(!0x0,_0xf9d475))return!0x1;const _0x1d13b1=_0x36c3d6(_0x559fe2,_0xa095a,_0x3cc9a2,_0x3258a0),_0x1490eb=_0x460318(_0x559fe2,_0xf9d475),{undos:_0x4b44fb,redos:_0x3800c8}=_0x5706b0(_0x31465f,{'pivotTableId':_0x262c2d,'unitId':_0x5de94e,'subUnitId':_0x1dec16},_0x18e742);return _0x2fa876[_0x1a90d7(0x3e6)]([..._0x1d13b1[_0x1a90d7(0x390)],..._0x1490eb[_0x1a90d7(0x390)],..._0x3800c8],_0x31465f),_0x2434d7[_0x1a90d7(0x34d)]({'unitID':_0x5de94e,'redoMutations':[..._0x1d13b1[_0x1a90d7(0x390)],..._0x1490eb[_0x1a90d7(0x390)],..._0x3800c8],'undoMutations':[..._0x1d13b1[_0x1a90d7(0x443)],..._0x1490eb[_0x1a90d7(0x443)],..._0x4b44fb]}),!0x0;}},_0x559985={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2f0),async 'handler'(_0x16a6c0,_0x1ed5f8){const _0x412ee3=_0x32a484;if(!_0x1ed5f8)return!0x1;const _0x1ec79c=_0x16a6c0[_0x412ee3(0x3fc)](_0x2fa876[_0x412ee3(0x41b)]),_0x3c4262=_0x16a6c0['get'](_0x2fa876[_0x412ee3(0x3bc)]),_0x49449f=_0x16a6c0[_0x412ee3(0x3fc)](_0xd0af73['SheetsPivotRPCService']),{info:_0xefd97b,tableFieldId:_0x5bbe70,pivotTableId:_0x4af18d,unitId:_0x3a0486,subUnitId:_0x5c8aed}=_0x1ed5f8,_0x2cb03a=(await _0x49449f[_0x412ee3(0x263)]({'unitId':_0x3a0486,'subUnitId':_0x5c8aed,'pivotTableId':_0x4af18d,'params':{'type':_0x1ce851[_0x412ee3(0x4d3)],'setPivotSort':{'tableFieldId':_0x5bbe70,'info':_0xefd97b}}}))[_0x412ee3(0x210)][_0x412ee3(0x20c)];if(!_0x2cb03a)return!0x1;const {changesets:_0x4479b5}=_0x2cb03a,{redos:_0x23e4e4,undos:_0x307cde}=_0x5706b0(_0x1ec79c,{'pivotTableId':_0x4af18d,'unitId':_0x3a0486,'subUnitId':_0x5c8aed},_0x4479b5);return _0x2fa876['sequenceExecute'](_0x23e4e4,_0x1ec79c),_0x3c4262[_0x412ee3(0x34d)]({'unitID':_0x3a0486,'redoMutations':_0x23e4e4,'undoMutations':_0x307cde}),!0x0;}},_0x29b10f={'type':_0x2fa876['CommandType'][_0x32a484(0x387)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x2cfed5,_0x48fd08){const _0x20c848=_0x32a484;if(!_0x48fd08)return!0x1;const _0x2a06be=_0x2cfed5[_0x20c848(0x3fc)](_0x2fa876[_0x20c848(0x41b)]),{pivotTableId:_0x288f39,fieldId:_0x209304,valueFilterInfo:_0xff0a3d,unitId:_0x165565,subUnitId:_0xde2ea6}=_0x48fd08,_0x4852d4=_0x2cfed5[_0x20c848(0x3fc)](_0xd0af73[_0x20c848(0x3af)]),_0x25765b=_0x2cfed5[_0x20c848(0x3fc)](_0x2fa876['IUndoRedoService']),_0x58a0a7=(await _0x4852d4[_0x20c848(0x263)]({'unitId':_0x165565,'subUnitId':_0xde2ea6,'pivotTableId':_0x288f39,'params':{'type':_0x1ce851['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x209304,'filterInfo':_0xff0a3d}}}))[_0x20c848(0x210)][_0x20c848(0x454)];if(!_0x58a0a7)return!0x1;const {changesets:_0x1e6b3e,pivotTableConfig:_0xdad23,isEmpty:_0x2fd19d,view:_0x1500e9}=_0x58a0a7,_0x5179b4=_0xdad23[_0x20c848(0x412)],_0x5b57d7=new _0x33417a['PivotView']();_0x5b57d7[_0x20c848(0x298)](_0x1500e9);const _0x29fc58={'cellInfo':_0x5179b4,'view':_0x5b57d7,'isEmpty':_0x2fd19d};if(!await _0x2cfed5[_0x20c848(0x3fc)](_0xd0af73[_0x20c848(0x21f)])[_0x20c848(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x29fc58))return!0x1;const _0x2b4756=_0x36c3d6(_0x2cfed5,_0x5b57d7,_0x5179b4,_0x2fd19d),_0x3a148b=_0x460318(_0x2cfed5,_0x29fc58),{undos:_0x21ba73,redos:_0x35c62e}=_0x5706b0(_0x2a06be,{'pivotTableId':_0x288f39,'unitId':_0x165565,'subUnitId':_0xde2ea6},_0x1e6b3e);return _0x2fa876[_0x20c848(0x3e6)]([..._0x2b4756['redos'],..._0x3a148b['redos'],..._0x35c62e],_0x2a06be),_0x25765b[_0x20c848(0x34d)]({'unitID':_0x165565,'redoMutations':[..._0x2b4756['redos'],..._0x3a148b[_0x20c848(0x390)],..._0x35c62e],'undoMutations':[..._0x2b4756['undos'],..._0x3a148b[_0x20c848(0x443)],..._0x21ba73]}),!0x0;}},_0x502ff1={'id':_0x32a484(0x403),'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'handler':(_0x580482,_0x5cda2c)=>{const _0x5598b3=_0x32a484;if(!_0x5cda2c)return!0x1;if(!!_0x580482['get'](_0x2fa876[_0x5598b3(0x3da)])[_0x5598b3(0x28b)](_0x51f97f))return!0x0;const {unitId:_0x58ffe8,subUnitId:_0x24746f,pivotTableId:_0x29ccb7,tableFieldId:_0x4bb25e,dateType:_0x5829c5}=_0x5cda2c,_0x85df7d=_0x580482['get'](_0xd0af73[_0x5598b3(0x255)]),_0x360c9e=_0x85df7d['getPivotTableInstance'](_0x29ccb7);if(!_0x360c9e)return!0x1;const _0x363382=_0x360c9e[_0x5598b3(0x2dd)](_0x4bb25e);if(!_0x363382)return!0x1;const _0x1c8f8f=_0x363382[_0x5598b3(0x45a)](),_0xb9b16=_0x360c9e[_0x5598b3(0x44c)](_0x1c8f8f),_0x49da1a=(_0xb9b16==null?void 0x0:_0xb9b16[_0x5598b3(0x22d)]())+'\x20'+_0x2cd99e(_0x580482,_0x5829c5);_0x85df7d[_0x5598b3(0x336)](_0x58ffe8,_0x29ccb7)[_0x5598b3(0x251)](_0x363382['id'],_0x49da1a);const _0x4b1f6e=_0x360c9e['getTableFieldById'](_0x4bb25e);if(!_0x4b1f6e)return!0x1;_0x360c9e['renameField'](_0x4b1f6e[_0x5598b3(0x244)](),_0x49da1a),_0x363382[_0x5598b3(0x27f)](_0x5829c5);const _0x3e0648=_0x85df7d[_0x5598b3(0x2e9)](_0x58ffe8,_0x24746f,_0x29ccb7);return _0x85df7d[_0x5598b3(0x272)]({'unitId':_0x58ffe8,'subUnitId':_0x24746f,'token':_0x29ccb7,'type':_0x477731[_0x5598b3(0x47a)],'pivotConfig':_0x3e0648}),!0x0;}},_0x51b8e0={'id':_0x32a484(0x396),'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'handler':(_0x31bfbe,_0x1ee481)=>{const _0x5c4cc4=_0x32a484;if(!_0x1ee481)return!0x1;const _0x18bf66=_0x31bfbe[_0x5c4cc4(0x3fc)](_0x2fa876['IUndoRedoService']),{unitId:_0xd38685,subUnitId:_0x33fd80,pivotTableId:_0x47ac1e,tableFieldId:_0x2f2f30}=_0x1ee481,_0x2601e4=[],_0x539ab1=[],_0x4a4005=_0x31bfbe['get'](_0xd0af73[_0x5c4cc4(0x32b)]),_0x3bc569=_0x4a4005[_0x5c4cc4(0x336)](_0xd38685,_0x47ac1e),_0x497683=_0x4a4005[_0x5c4cc4(0x2e9)](_0xd38685,_0x33fd80,_0x47ac1e);if(!(_0x497683!=null&&_0x497683[_0x5c4cc4(0x481)][_0x5c4cc4(0x4be)]))return!0x1;const _0x2b0c76=Object[_0x5c4cc4(0x1e7)](_0x497683[_0x5c4cc4(0x481)][_0x5c4cc4(0x4be)])['find'](_0x1b28a6=>_0x1b28a6['id']===_0x2f2f30);if(!_0x2b0c76)return!0x1;const _0xd92a91=_0x2b0c76['dataFieldId'];if(!(_0x3bc569!=null&&_0x3bc569[_0x5c4cc4(0x4d9)]))return!0x1;const _0x64f0cd=Object[_0x5c4cc4(0x1e7)](_0x3bc569==null?void 0x0:_0x3bc569[_0x5c4cc4(0x4d9)])[_0x5c4cc4(0x475)](_0x3e434c=>_0x3e434c['id']===_0xd92a91);if(!_0x64f0cd)return!0x1;_0x33417a[_0x5c4cc4(0x33e)](_0x64f0cd)&&_0x2601e4[_0x5c4cc4(0x296)]({'id':_0x502ff1['id'],'params':{..._0x1ee481,'dateType':_0x64f0cd['dateType']}}),_0x539ab1[_0x5c4cc4(0x296)]({'id':_0x502ff1['id'],'params':{..._0x1ee481}});const _0x1a1bcf=_0x31bfbe[_0x5c4cc4(0x3fc)](_0x2fa876[_0x5c4cc4(0x41b)]);return _0x2fa876['sequenceExecute'](_0x539ab1,_0x1a1bcf)&&_0x18bf66['pushUndoRedo']({'unitID':_0xd38685,'undoMutations':_0x2601e4,'redoMutations':_0x539ab1}),!0x0;}},_0x1a8f8f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x345dec,_0x75fb46){const _0x36eb61=_0x32a484;if(!_0x75fb46)return!0x1;const _0x3cf0dc=_0x345dec[_0x36eb61(0x3fc)](_0x2fa876[_0x36eb61(0x41b)]),_0x1de494=_0x345dec[_0x36eb61(0x3fc)](_0x2fa876['IUndoRedoService']),_0x1f0338=_0x345dec[_0x36eb61(0x3fc)](_0xd0af73[_0x36eb61(0x3af)]),{displayName:_0x3d658a,subtotalType:_0x57cede,format:_0x3fe912,tableFieldId:_0x1efd5e,pivotTableId:_0x52a49b,unitId:_0x5d741c,subUnitId:_0x146446}=_0x75fb46,_0x1bf710=(await _0x1f0338[_0x36eb61(0x263)]({'unitId':_0x5d741c,'subUnitId':_0x146446,'pivotTableId':_0x52a49b,'params':{'type':_0x1ce851[_0x36eb61(0x3a0)],'setPivotSetting':{'tableFieldId':_0x1efd5e,'displayName':_0x3d658a,'subtotalType':_0x57cede,'format':_0x3fe912}}}))[_0x36eb61(0x210)][_0x36eb61(0x23d)];if(!_0x1bf710)return!0x1;const {changesets:_0x5a89fd,view:_0x118e54,pivotTableConfig:_0xea4059,isEmpty:_0x4b681b}=_0x1bf710,_0x3d207c=_0xea4059[_0x36eb61(0x412)],_0x30e006=new _0x33417a['PivotView']();_0x30e006[_0x36eb61(0x298)](_0x118e54);const _0x3847ae={'cellInfo':_0x3d207c,'view':_0x30e006,'isEmpty':_0x4b681b};if(!await _0x345dec[_0x36eb61(0x3fc)](_0xd0af73[_0x36eb61(0x21f)])[_0x36eb61(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x3847ae))return!0x1;const _0x31402b=_0x36c3d6(_0x345dec,_0x30e006,_0x3d207c,_0x4b681b),_0x556f7c=_0x460318(_0x345dec,_0x3847ae),{undos:_0x209d92,redos:_0x218acd}=_0x5706b0(_0x3cf0dc,{'pivotTableId':_0x52a49b,'unitId':_0x5d741c,'subUnitId':_0x146446},_0x5a89fd);return _0x2fa876[_0x36eb61(0x3e6)]([..._0x31402b[_0x36eb61(0x390)],..._0x556f7c[_0x36eb61(0x390)],..._0x218acd],_0x3cf0dc),_0x1de494[_0x36eb61(0x34d)]({'unitID':_0x5d741c,'redoMutations':[..._0x31402b[_0x36eb61(0x390)],..._0x556f7c['redos'],..._0x218acd],'undoMutations':[..._0x31402b[_0x36eb61(0x443)],..._0x556f7c['undos'],..._0x209d92]}),!0x0;}},_0x22cd86={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x514639,_0x3a3fb8){const _0x376ca0=_0x32a484;if(!_0x3a3fb8)return!0x1;if(!!_0x514639[_0x376ca0(0x3fc)](_0x2fa876[_0x376ca0(0x3da)])[_0x376ca0(0x28b)](_0x51f97f))return!0x0;const _0x1c526d=_0x514639[_0x376ca0(0x3fc)](_0xd0af73[_0x376ca0(0x255)]),{pivotTableId:_0x375356,deleteIds:_0x24e984,collectionJSON:_0x59914a,dataRangeInfo:_0x42e146,unitId:_0xad5ec8,subUnitId:_0x1c98a0}=_0x3a3fb8,_0x1932ea=_0x1c526d[_0x376ca0(0x47b)](_0x375356),_0x4bb0e4=_0x1c526d[_0x376ca0(0x2e9)](_0xad5ec8,_0x1c98a0,_0x375356);if(!_0x1932ea||!_0x4bb0e4)return!0x1;const {collection:_0x55bcad,updateDataFieldList:_0x238b8f}=_0x1c526d[_0x376ca0(0x20b)](_0x375356,_0x59914a,_0x42e146,_0x4bb0e4['targetCellInfo']);_0x1c526d[_0x376ca0(0x381)](_0x55bcad,_0x238b8f,_0x42e146),_0x1932ea[_0x376ca0(0x328)](_0x55bcad);for(const _0x2c1582 of _0x24e984)_0x1c526d['removeDataField'](_0x42e146[_0x376ca0(0x211)],_0x2c1582);const _0x340076=_0x1c526d[_0x376ca0(0x2e9)](_0xad5ec8,_0x1c98a0,_0x375356);return _0x340076['sourceRangeInfo']=JSON[_0x376ca0(0x496)](JSON['stringify'](_0x42e146)),_0x1c526d[_0x376ca0(0x272)]({'unitId':_0xad5ec8,'subUnitId':_0x1c98a0,'token':_0x375356,'type':_0x477731['Set']}),!0x0;}},_0xe923e7={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x310bdd,_0x3242eb){const _0x55c85d=_0x32a484,_0x27f7c5=_0x310bdd[_0x55c85d(0x3fc)](_0x2fa876[_0x55c85d(0x41b)]),_0x44101f=_0x310bdd[_0x55c85d(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x51d89b=_0x310bdd[_0x55c85d(0x3fc)](_0x2fa876[_0x55c85d(0x3bc)]);if(!_0x3242eb)return!0x1;const {token:_0x37235f,dataRangeInfo:_0xe7362a,unitId:_0x1fcc41,subUnitId:_0x9e0248}=_0x3242eb,_0x4de8d4=[],_0x4608df=[],_0x549834=(await _0x44101f[_0x55c85d(0x263)]({'unitId':_0x1fcc41,'subUnitId':_0x9e0248,'pivotTableId':_0x37235f,'params':{'type':_0x1ce851[_0x55c85d(0x379)],'updatePivotSource':{'dataRangeInfo':_0xe7362a,'unitId':_0x1fcc41,'subUnitId':_0x9e0248}}}))[_0x55c85d(0x210)][_0x55c85d(0x4b3)];if(!_0x549834)return!0x1;const {changesets:_0x46ef5f,deleteIds:_0x438b49,collectionConfig:_0x4b2d92,oldCollectionConfig:_0x2d1578,view:_0x42be54,isEmpty:_0x46781c,pivotTableConfig:_0x22e001}=_0x549834;_0x4608df['push']({'id':_0x22cd86['id'],'params':{'pivotTableId':_0x37235f,'deleteIds':_0x438b49,'collectionJSON':_0x4b2d92,'dataRangeInfo':_0xe7362a,'unitId':_0x1fcc41,'subUnitId':_0x9e0248}}),_0x4de8d4[_0x55c85d(0x41d)]({'id':_0x22cd86['id'],'params':{'pivotTableId':_0x37235f,'deleteIds':[],'collectionJSON':_0x2d1578,'dataRangeInfo':_0x22e001[_0x55c85d(0x218)],'unitId':_0x1fcc41,'subUnitId':_0x9e0248}});const _0x417bba=_0x22e001[_0x55c85d(0x412)],_0x247a16=new _0x33417a[(_0x55c85d(0x22b))]();_0x247a16[_0x55c85d(0x298)](_0x42be54);const _0x40bae2={'cellInfo':_0x417bba,'view':_0x247a16,'isEmpty':_0x46781c};if(!await _0x310bdd[_0x55c85d(0x3fc)](_0xd0af73[_0x55c85d(0x21f)])[_0x55c85d(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x40bae2))return!0x1;const _0x188c3d=_0x36c3d6(_0x310bdd,_0x247a16,_0x417bba,_0x46781c),_0x3dcd67=_0x460318(_0x310bdd,_0x40bae2),{undos:_0x37f031,redos:_0x3d53c6}=_0x5706b0(_0x27f7c5,{'pivotTableId':_0x37235f,'unitId':_0x1fcc41,'subUnitId':_0x9e0248},_0x46ef5f);return _0x2fa876[_0x55c85d(0x3e6)]([..._0x188c3d['redos'],..._0x3dcd67[_0x55c85d(0x390)],..._0x4608df,..._0x37f031],_0x27f7c5),_0x51d89b[_0x55c85d(0x34d)]({'unitID':_0x1fcc41,'redoMutations':[..._0x188c3d['redos'],..._0x3dcd67[_0x55c85d(0x390)],..._0x4608df,..._0x37f031],'undoMutations':[..._0x188c3d[_0x55c85d(0x443)],..._0x3dcd67[_0x55c85d(0x443)],..._0x4de8d4,..._0x3d53c6]}),!0x0;}},_0x114525={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0xcdb550,_0x370871){const _0x5be0bb=_0x32a484;if(!_0x370871)return!0x1;const _0x2aff73=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x41b)]),_0x52e539=_0xcdb550[_0x5be0bb(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x123fbe=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x361)]),_0x3432be=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x3bc)]),{pivotTableId:_0x5767eb,position:_0x3a7235,index:_0x5d2f7b}=_0x370871,_0x48d4e9=_0x30840c[_0x5be0bb(0x279)](_0x123fbe);if(!_0x48d4e9)return!0x1;const {unitId:_0x5c498b,subUnitId:_0x3b5a3f}=_0x48d4e9,_0x31d9ba=(await _0x52e539[_0x5be0bb(0x263)]({'unitId':_0x5c498b,'subUnitId':_0x3b5a3f,'pivotTableId':_0x5767eb,'params':{'type':_0x1ce851[_0x5be0bb(0x3ba)],'updateValuePosition':{'position':_0x3a7235,'index':_0x5d2f7b}}}))['result']['updateValuePosition'];if(!_0x31d9ba)return!0x1;const {changesets:_0x3b0b12,view:_0x1e9e25,isEmpty:_0x135367,pivotTableConfig:_0x31f014}=_0x31d9ba,_0x4f6d57=_0x31f014[_0x5be0bb(0x412)],_0x385ce2=new _0x33417a[(_0x5be0bb(0x22b))]();_0x385ce2[_0x5be0bb(0x298)](_0x1e9e25);const _0x48fd6f=_0xcdb550[_0x5be0bb(0x3fc)](_0xd0af73[_0x5be0bb(0x21f)]),_0x3e4365={'cellInfo':_0x4f6d57,'view':_0x385ce2,'isEmpty':_0x135367};if(!await _0x48fd6f[_0x5be0bb(0x4ca)][_0x5be0bb(0x323)](_0x1d5a00)(!0x0,_0x3e4365))return!0x1;const _0x1241c0=_0x36c3d6(_0xcdb550,_0x385ce2,_0x4f6d57,_0x135367),_0x1e24c5=_0x460318(_0xcdb550,_0x3e4365),{undos:_0x2f5be8,redos:_0x37f2ff}=_0x5706b0(_0x2aff73,{'pivotTableId':_0x5767eb,'unitId':_0x5c498b,'subUnitId':_0x3b5a3f},_0x3b0b12);return _0x2fa876['sequenceExecute']([..._0x1241c0[_0x5be0bb(0x390)],..._0x1e24c5[_0x5be0bb(0x390)],..._0x37f2ff],_0x2aff73),_0x3432be[_0x5be0bb(0x34d)]({'unitID':_0x5c498b,'redoMutations':[..._0x1241c0['redos'],..._0x1e24c5[_0x5be0bb(0x390)],..._0x37f2ff],'undoMutations':[..._0x1241c0[_0x5be0bb(0x443)],..._0x1e24c5[_0x5be0bb(0x443)],..._0x2f5be8]}),!0x0;}},_0x322618={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x20a),'handler'(){return!0x0;}};var _0xbd034b=Object['getOwnPropertyDescriptor'],_0x38a2a6=(_0x5e027f,_0x519395,_0x1e670c,_0xb19f69)=>{for(var _0x1659ee=_0xb19f69>0x1?void 0x0:_0xb19f69?_0xbd034b(_0x519395,_0x1e670c):_0x519395,_0x3d1612=_0x5e027f['length']-0x1,_0x3aee4d;_0x3d1612>=0x0;_0x3d1612--)(_0x3aee4d=_0x5e027f[_0x3d1612])&&(_0x1659ee=_0x3aee4d(_0x1659ee)||_0x1659ee);return _0x1659ee;},_0x3a96ca=(_0x277d81,_0x5efa38)=>(_0x3dedbb,_0x5c2f85)=>_0x5efa38(_0x3dedbb,_0x5c2f85,_0x277d81);const _0x3ea56b=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x6d510f=(_0x5913e3,_0x54a860,_0x563e7b)=>{const _0x3d5f03=_0x32a484,_0x10e2a1=_0x5913e3[_0x3d5f03(0x360)];_0x5913e3[_0x3d5f03(0x21e)](_0x2fd760=>{const _0x16c7f2=_0x3d5f03,_0x2c96d9=_0x2fd760['getId'](),_0x290ac1=_0x2fd760[_0x16c7f2(0x49c)](),_0x525d25=_0x2fd760[_0x16c7f2(0x441)](),_0x26dc1d=_0x2fd760[_0x16c7f2(0x2b3)]();_0x54a860[_0x290ac1]&&_0x54a860[_0x290ac1]===_0x26dc1d&&_0x525d25===_0x26dc1d&&(_0x5913e3[_0x16c7f2(0x39f)](_0x2c96d9,_0x10e2a1[_0x16c7f2(0x2b3)](_0x290ac1)),_0x2fd760[_0x16c7f2(0x4a1)](_0x10e2a1[_0x16c7f2(0x2b3)](_0x290ac1)));}),_0x5913e3[_0x3d5f03(0x1f4)](_0x33417a['PivotTableFiledAreaEnum'][_0x3d5f03(0x4a5)],_0x3cac10=>{const _0x47eff1=_0x3d5f03,_0x151cda=_0x3cac10[_0x47eff1(0x244)](),_0x9ab90=_0x3cac10[_0x47eff1(0x49c)](),_0x3b596e=_0x3cac10[_0x47eff1(0x441)](),_0x863afc=_0x3cac10[_0x47eff1(0x2b3)](),_0x1ac43b=_0x3cac10[_0x47eff1(0x423)](),_0x46e615=_0x563e7b(_0x3b596e,_0x1ac43b);_0x54a860[_0x9ab90]&&_0x54a860[_0x9ab90]===_0x3b596e&&_0x46e615===_0x863afc&&(_0x5913e3[_0x47eff1(0x39f)](_0x151cda,_0x563e7b(_0x10e2a1[_0x47eff1(0x2b3)](_0x9ab90),_0x1ac43b)),_0x3cac10[_0x47eff1(0x4a1)](_0x10e2a1[_0x47eff1(0x2b3)](_0x9ab90)));});},_0x54b4b2=(_0x39ed1e,_0x57d90d,_0x53387d)=>{const _0x111a90=_0x32a484;var _0x324ce4,_0x2b4252;const {arrayFormulaCellData:_0x4f32bf,unitData:_0x577d3d}=_0x57d90d,{unitId:_0x5c4b6e,subUnitId:_0x49227f}=_0x53387d,_0x2f4d61=_0x53387d[_0x111a90(0x1f6)],{startColumn:_0x37e0ef,endColumn:_0x515466}=_0x2f4d61,_0x3b6d0e=(_0x324ce4=_0x4f32bf==null?void 0x0:_0x4f32bf[_0x5c4b6e])==null?void 0x0:_0x324ce4[_0x49227f],_0x2b0ed3=(_0x2b4252=_0x577d3d==null?void 0x0:_0x577d3d[_0x5c4b6e])==null?void 0x0:_0x2b4252[_0x49227f],_0x13098d=new Set(),_0x5080f5=_0x515466-_0x37e0ef+0x1,{dirtyRanges:_0x5a4ab7}=_0x39ed1e;if(_0x5a4ab7)for(const {range:_0x24d35d,sheetId:_0x3b8a15,unitId:_0x77f51e}of _0x5a4ab7){if(_0x3b8a15!==_0x49227f||_0x5c4b6e!==_0x77f51e)continue;const _0x488345=_0x2fa876[_0x111a90(0x3b2)][_0x111a90(0x3c0)](_0x24d35d,_0x2f4d61);if(_0x488345){const {startColumn:_0x49ec77,endColumn:_0x516418}=_0x488345;for(let _0x3087eb=_0x49ec77;_0x3087eb<=_0x516418;_0x3087eb++)_0x13098d[_0x111a90(0x308)](_0x3087eb);}}if(_0x13098d[_0x111a90(0x40c)]===_0x5080f5||_0x13098d[_0x111a90(0x40c)]===_0x5080f5)return Array[_0x111a90(0x25f)](_0x13098d);if(_0x2b0ed3){const _0x37e234=_0x2b0ed3[_0x111a90(0x204)](),_0x433b26=Object[_0x111a90(0x31e)](_0x37e234);for(const _0x2c50b1 of _0x433b26){const _0x208328=Number(_0x2c50b1),_0x22aee7=_0x37e234[_0x208328];if(_0x13098d['size']===_0x5080f5)break;for(const _0x1162f4 in _0x22aee7){const _0x3f09a5=Number(_0x1162f4);_0x3f09a5<_0x37e0ef||_0x3f09a5>_0x515466||_0x13098d[_0x111a90(0x308)](_0x3f09a5);}}}if(_0x3b6d0e){const _0x133c3e=_0x3b6d0e['getMatrix'](),_0x4a390d=Object[_0x111a90(0x31e)](_0x133c3e);for(const _0x3015ea of _0x4a390d){const _0x159499=Number(_0x3015ea),_0x41f5a6=_0x133c3e[_0x159499];if(_0x13098d[_0x111a90(0x40c)]===_0x5080f5)break;for(const _0x10f269 in _0x41f5a6){const _0x2349ff=Number(_0x10f269);_0x2349ff<_0x37e0ef||_0x2349ff>_0x515466||_0x13098d[_0x111a90(0x308)](_0x2349ff);}}}return Array[_0x111a90(0x25f)](_0x13098d);},_0x3efc09=_0x551efe=>{const _0x2a6629=_0x32a484,_0x45d5bd=new Set(),_0x386407=[];for(const _0x280927 of _0x551efe){const _0x4a0369=_0x280927[_0x2a6629(0x340)]+','+_0x280927[_0x2a6629(0x2d0)]+','+_0x280927['startColumn']+','+_0x280927[_0x2a6629(0x315)];_0x45d5bd[_0x2a6629(0x290)](_0x4a0369)||(_0x45d5bd[_0x2a6629(0x308)](_0x4a0369),_0x386407[_0x2a6629(0x296)](_0x280927));}return _0x386407;};let _0x5da108=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x3a3554,_0x5e3ef8,_0x52adfe,_0x33ddd9,_0x4454a3){const _0x28c2d3=_0x32a484;super(),_0x25ab16(this,'_globalSubject',new _0x2504f7['BehaviorSubject'](!0x0)),_0x25ab16(this,'_globalComputedStartHelpFunc',_0x4cf116=>{const _0x3ef958=_0x33f8;this['_globalSubject'][_0x3ef958(0x451)](!0x1);}),_0x25ab16(this,_0x28c2d3(0x476),_0x2fa2d3=>{const _0x5c9c5b=_0x28c2d3;this[_0x5c9c5b(0x489)]['next'](!0x0);}),(this[_0x28c2d3(0x34a)]=_0x3a3554,this[_0x28c2d3(0x303)]=_0x5e3ef8,this[_0x28c2d3(0x4cf)]=_0x52adfe,this[_0x28c2d3(0x416)]=_0x33ddd9,this[_0x28c2d3(0x42f)]=_0x4454a3,this[_0x28c2d3(0x44a)](),this[_0x28c2d3(0x4da)]());}[_0x32a484(0x44a)](){const _0x324f22=_0x32a484;this[_0x324f22(0x2b8)](),this[_0x324f22(0x352)](),this['_initPivotTextInfo'](),this['_subjectFieldsCollectionChange']();}['_initGlobalComputed'](){const _0x4e5117=_0x32a484;this[_0x4e5117(0x416)][_0x4e5117(0x235)](this['_globalSubject']),_0x33417a[_0x4e5117(0x28e)][_0x4e5117(0x330)](_0x33417a['PivotCallbackEnum']['onQueryStart'],this[_0x4e5117(0x48d)]),_0x33417a[_0x4e5117(0x28e)][_0x4e5117(0x330)](_0x33417a['PivotCallbackEnum'][_0x4e5117(0x33b)],this[_0x4e5117(0x476)]);}[_0x32a484(0x4da)](){const _0x4df3ac=_0x32a484;this[_0x4df3ac(0x327)](this['_commandService'][_0x4df3ac(0x448)](_0x3a8309=>{const _0x36e7e8=_0x4df3ac;_0x3a8309['id']===_0x30840c['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x36e7e8(0x382)](_0x3a8309['params']);})),this[_0x4df3ac(0x327)](this[_0x4df3ac(0x4cf)]['onCommandExecuted'](_0x1492f3=>{const _0x5b2ef6=_0x4df3ac;if(_0x1492f3['id']!==_0x12d10f['id'])return;const _0xe04d98=_0x1492f3[_0x5b2ef6(0x3ca)],{unitId:_0x3e4a3b,subUnitId:_0x4f49e7,pivotTableId:_0x4ee510}=_0xe04d98,_0x35c1a7=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x38a)],_0x38e6c4={};switch(_0x35c1a7){case _0x1ce851[_0x5b2ef6(0x3d0)]:{const _0x349f93=_0xe04d98['params'][_0x5b2ef6(0x2c6)];if(!_0x349f93)return;const {row:_0x2e63e3,col:_0x3c73a5,cellData:_0x22c417,pivotItemRenderInfoCache:_0x16d319,tableFieldId:_0x7a8e28}=_0x349f93,_0x1c767a=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0xe04d98[_0x5b2ef6(0x3eb)]);if(!_0x1c767a||!_0x16d319)return;if(_0x7a8e28){const _0xe50a46=_0x1c767a[_0x5b2ef6(0x2dd)](_0x7a8e28);if(!_0xe50a46)return;_0x38e6c4['filter']={..._0x1c767a[_0x5b2ef6(0x452)](_0xe50a46),'tableFieldId':_0x7a8e28,'pivotTableId':_0xe04d98[_0x5b2ef6(0x3eb)],'filterInfo':_0x1c767a[_0x5b2ef6(0x2cc)](_0x7a8e28),'sortInfo':_0x1c767a[_0x5b2ef6(0x467)](_0x7a8e28),'format':_0x1c767a[_0x5b2ef6(0x299)](_0x7a8e28)};}else{const _0x4c0cc4=_0x5894c7(_0x2e63e3,_0x3c73a5,_0x22c417,_0x1c767a,_0x16d319),_0x1d4ddb=_0x4c0cc4==null?void 0x0:_0x4c0cc4['filterId'];if(!_0x1d4ddb)return;const _0x25b20d=_0x1c767a[_0x5b2ef6(0x2dd)](_0x1d4ddb);if(!_0x25b20d)return;_0x38e6c4['filter']={..._0x1c767a['getDataFieldItemInfo'](_0x25b20d),'tableFieldId':_0x1d4ddb,'pivotTableId':_0xe04d98['pivotTableId'],'filterInfo':_0x1c767a[_0x5b2ef6(0x2cc)](_0x1d4ddb),'sortInfo':_0x1c767a[_0x5b2ef6(0x467)](_0x1d4ddb),'format':_0x1c767a[_0x5b2ef6(0x299)](_0x1d4ddb)};}}break;case _0x1ce851['Panel']:{const _0x3e4d99=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x260)];if(!_0x3e4d99)return;const {pivotTableId:_0x5904d5}=_0x3e4d99,_0x17dbb9=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x5904d5);if(!_0x17dbb9)return;const _0x5b1c94=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x5904d5),_0xcf31b3=_0x4dd84c(_0x17dbb9,_0x5904d5,_0x5b1c94);_0x38e6c4[_0x5b2ef6(0x260)]=_0xcf31b3;}break;case _0x1ce851[_0x5b2ef6(0x357)]:{const _0x44654c=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x1b2404=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x3e4a3b),_0x2a848a=_0x1b2404['getCollection'](_0x4ee510);let _0x34c60a=null;const _0x342bf3=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510),_0x4f2794=_0xe04d98[_0x5b2ef6(0x3ca)]['addPivotField'];if(!_0x44654c||!_0x342bf3||!_0x4f2794)return!0x1;const {dataFieldId:_0x99340d,fieldArea:_0x711a34,index:_0x26d101}=_0x4f2794;_0x44654c['startCollectChangeset']();const _0x2bb496=_0x44654c[_0x5b2ef6(0x229)](_0x99340d,_0x711a34,_0x26d101);if(_0x2bb496&&_0x711a34===_0x33417a[_0x5b2ef6(0x321)]['Value']){const _0x180874=_0x2bb496['getId'](),_0x231d1c=_0x44654c[_0x5b2ef6(0x2dd)](_0x180874);if(_0x231d1c){const _0x307fbc=_0x231d1c==null?void 0x0:_0x231d1c[_0x5b2ef6(0x2b4)]();_0x44654c[_0x5b2ef6(0x253)](_0x2bb496['getId'](),_0x307fbc===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a[_0x5b2ef6(0x4bc)][_0x5b2ef6(0x1e9)]:_0x33417a[_0x5b2ef6(0x4bc)]['count']);}const _0xa6cf4c=_0x44654c[_0x5b2ef6(0x1df)](),_0xc9435c=_0x44654c[_0x5b2ef6(0x468)](),_0x273093=_0x44654c[_0x5b2ef6(0x4a8)](_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x4a5)]);if(_0xa6cf4c===-0x1&&_0x273093>0x1){const _0x39201f=_0xc9435c===_0x33417a[_0x5b2ef6(0x314)]['None']?_0x33417a['PivotTableValuePositionEnum']['Column']:_0xc9435c,_0x20abf8=_0x39201f===_0x33417a['PivotTableValuePositionEnum'][_0x5b2ef6(0x349)]?_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]:_0x33417a[_0x5b2ef6(0x321)]['Column'];_0x44654c['updateValuePosition'](_0x39201f,_0x44654c['getFieldCountByArea'](_0x20abf8));}}else{if(_0x2bb496&&(_0x711a34===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]||_0x711a34===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x1d6)])){const _0x1f2580=_0x2bb496['getId'](),_0x3607cd=_0x44654c[_0x5b2ef6(0x2dd)](_0x1f2580);if(_0x3607cd&&(_0x3607cd==null?void 0x0:_0x3607cd['getFieldDataType']())===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x437)]){const _0x79cafc=_0x3607cd['getformat']();if(_0x79cafc&&_0x44654c[_0x5b2ef6(0x30a)](_0x2bb496[_0x5b2ef6(0x244)](),_0x79cafc),!_0x2a848a['getFieldIds']()[_0x5b2ef6(0x26a)](_0x45af1f=>{const _0x14c92a=_0x5b2ef6,_0x50ad76=_0x2a848a[_0x14c92a(0x4a9)](_0x45af1f);return _0x33417a[_0x14c92a(0x326)](_0x50ad76)?_0x50ad76[_0x14c92a(0x4c7)]()[_0x14c92a(0x335)]===_0x99340d:!0x1;})){const _0x586b95=_0x1b2404['createDataFieldId'](),_0x53c018=_0x4a1bfb(_0x3607cd['maxDate'],_0x3607cd[_0x5b2ef6(0x1de)]),_0x3d1510=_0x3607cd[_0x5b2ef6(0x22d)]()+_0x5b2ef6(0x400)+_0x2cd99e(this[_0x5b2ef6(0x42f)],_0x53c018),_0x3e5b7c=new _0x33417a[(_0x5b2ef6(0x1e2))](_0x586b95,_0x3d1510,_0x33417a['generateHexNumber'](0x3),_0x3607cd[_0x5b2ef6(0x244)](),_0x53c018);_0x1b2404[_0x5b2ef6(0x355)](_0x3e5b7c),_0x2a848a[_0x5b2ef6(0x4e7)](_0x586b95,_0x3d1510),_0x44654c['addFieldWithSourceId'](_0x586b95,_0x711a34,(_0x26d101!=null?_0x26d101:0x0)+0x1),_0x34c60a=_0x3e5b7c;}}}}const _0x25f564=_0x44654c[_0x5b2ef6(0x3fa)](),_0x492011=_0x44654c[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)]();let _0x457f05;if(_0x34c60a){_0x457f05=_0x34c60a[_0x5b2ef6(0x4ab)]();const _0x2282fb=_0x34c60a['getId']();_0x2a848a[_0x5b2ef6(0x3c3)](_0x2282fb);let _0xf23e25=!0x0;for(const _0x4b5958 in _0x1b2404['collections'])if(_0x1b2404[_0x5b2ef6(0x4e2)][_0x4b5958][_0x5b2ef6(0x29d)]()[_0x5b2ef6(0x2a1)](_0x2282fb)){_0xf23e25=!0x1;break;}_0xf23e25&&_0x1b2404['deleteDataField'](_0x2282fb);}const _0xc581e4=_0x44654c[_0x5b2ef6(0x2ae)]();_0x38e6c4['addPivotField']={'view':_0x492011,'changesets':_0xc581e4,'isEmpty':_0x25f564,'pivotTableConfig':_0x342bf3,'shouldBeAddedGroupJSON':_0x457f05};}break;case _0x1ce851[_0x5b2ef6(0x3d5)]:{const _0x55391f=_0xe04d98['params'][_0x5b2ef6(0x30f)];if(!_0x55391f)return;const _0x59e34e=_0x55391f['sourceRangeInfo'],_0x449327=_0x55391f[_0x5b2ef6(0x3eb)],{collection:_0x22b6c5}=this[_0x5b2ef6(0x34a)]['createCollectionWithDataRange']({'unitId':_0x59e34e['unitId'],'sheetName':_0x59e34e[_0x5b2ef6(0x329)],'subUnitId':_0x59e34e[_0x5b2ef6(0x2fa)],'range':_0x59e34e[_0x5b2ef6(0x1f6)]}),_0x4e566a=new _0x33417a[(_0x5b2ef6(0x28e))](_0x22b6c5,void 0x0,_0x449327),_0x123557=_0x4e566a[_0x5b2ef6(0x341)](),_0x409314=_0x4e566a['toJSON'](),_0x13fe02=_0x22b6c5[_0x5b2ef6(0x4ab)]();_0x38e6c4[_0x5b2ef6(0x30f)]={'view':_0x123557,'fieldsConfig':_0x409314,'collectionConfig':_0x13fe02,'isEmpty':_0x4e566a[_0x5b2ef6(0x3fa)]()};}break;case _0x1ce851['MovePivotField']:{const _0x5be9ed=_0xe04d98['params'][_0x5b2ef6(0x3b1)];if(!_0x5be9ed)return;const {fieldId:_0x1c22ac,area:_0x58761e,index:_0x2fe57c}=_0x5be9ed,_0x47395f=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x47395f)return;const _0x312d6f=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x312d6f)return;_0x312d6f[_0x5b2ef6(0x4c1)]();const {area:_0x38cf48,index:_0xc0ca54}=_0x312d6f[_0x5b2ef6(0x3d3)](_0x1c22ac);if(_0x312d6f[_0x5b2ef6(0x252)](_0x1c22ac,_0x58761e,_0x2fe57c),_0x58761e===_0x33417a[_0x5b2ef6(0x321)]['Value']&&_0x312d6f[_0x5b2ef6(0x447)](_0x1c22ac)['getSubtotal']()===void 0x0){const _0x439fe7=_0x312d6f[_0x5b2ef6(0x447)](_0x1c22ac);if(_0x439fe7&&_0x439fe7[_0x5b2ef6(0x423)]()===void 0x0){const _0x4c2f22=_0x312d6f[_0x5b2ef6(0x2dd)](_0x1c22ac);if(_0x4c2f22){const _0x581bcd=_0x4c2f22==null?void 0x0:_0x4c2f22[_0x5b2ef6(0x2b4)]();_0x312d6f[_0x5b2ef6(0x253)](_0x1c22ac,_0x581bcd===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a[_0x5b2ef6(0x4bc)][_0x5b2ef6(0x1e9)]:_0x33417a[_0x5b2ef6(0x4bc)]['count']);}}}const _0x3d2392=_0x312d6f[_0x5b2ef6(0x468)](),_0x19ba2a=_0x312d6f[_0x5b2ef6(0x1df)](),_0x5f0ed9=_0x312d6f[_0x5b2ef6(0x4a8)](_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x4a5)])>0x1;if(_0x5f0ed9&&_0x38cf48===_0x58761e&&(_0x58761e===_0x33417a[_0x5b2ef6(0x321)]['Row']&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x349)]||_0x58761e===_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)]['Column'])){let _0xb16860=_0x19ba2a;_0xc0ca54<=_0x19ba2a&&_0xb16860--,_0x2fe57c<=_0x19ba2a&&_0xb16860++,_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0xb16860);}else _0x5f0ed9&&(_0x38cf48===_0x33417a[_0x5b2ef6(0x321)]['Row']&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x349)]||_0x38cf48===_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x1d6)])&&_0x19ba2a>=_0xc0ca54&&_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0x19ba2a-0x1),_0x5f0ed9&&(_0x58761e===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]&&_0x3d2392===_0x33417a['PivotTableValuePositionEnum'][_0x5b2ef6(0x349)]||_0x58761e===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x1d6)])&&_0x19ba2a>=_0x2fe57c&&_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0x19ba2a+0x1);const _0x5ac673=_0x312d6f['query'](),_0x44407b=_0x312d6f[_0x5b2ef6(0x3fa)](),_0x233c56=_0x312d6f[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x3b1)]={'view':_0x5ac673[_0x5b2ef6(0x4ab)](),'changesets':_0x233c56,'isEmpty':_0x44407b,'pivotTableConfig':_0x47395f};}break;case _0x1ce851[_0x5b2ef6(0x339)]:{const _0x5938e5=_0xe04d98[_0x5b2ef6(0x3ca)]['removePivotField'];if(!_0x5938e5)return;const _0x2d93e9=_0x5938e5[_0x5b2ef6(0x3c1)],_0x204945=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x204945)return!0x1;const _0x4f9ea6=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x4f9ea6)return!0x1;_0x4f9ea6['startCollectChangeset']();for(const _0x383dac of _0x2d93e9){const {area:_0x5b1788}=_0x4f9ea6[_0x5b2ef6(0x3d3)](_0x383dac);_0x5b1788===_0x33417a[_0x5b2ef6(0x321)]['Value']&&_0x4f9ea6[_0x5b2ef6(0x322)](_0x383dac),(_0x5b1788===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]||_0x5b1788===_0x33417a[_0x5b2ef6(0x321)]['Column'])&&_0x4f9ea6[_0x5b2ef6(0x428)](_0x383dac),_0x4f9ea6[_0x5b2ef6(0x3f8)](_0x383dac);}const _0x2305d2=_0x4f9ea6[_0x5b2ef6(0x3fa)](),_0x183d34=_0x4f9ea6[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x35a4cf=_0x4f9ea6[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x45b)]={'changesets':_0x35a4cf,'pivotTableConfig':_0x204945,'isEmpty':_0x2305d2,'view':_0x183d34};}break;case _0x1ce851[_0x5b2ef6(0x1e6)]:{const _0x21c55a=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x38e)];if(!_0x21c55a)return;const {tableFieldId:_0x44bdde,items:_0x39c320,isAll:_0x5be0b1}=_0x21c55a,_0x126620=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x262b1d=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x126620||!_0x262b1d)return;_0x126620[_0x5b2ef6(0x4c1)](),_0x126620['setLabelFilterInfo'](_0x44bdde,{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x39c320,'isAll':_0x5be0b1});const _0x2c8de6=_0x126620['isEmpty'](),_0x2e46cc=_0x126620[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x354c7f=_0x126620['endCollectChangeset']();_0x38e6c4['setPivotFilter']={'view':_0x2e46cc,'changesets':_0x354c7f,'isEmpty':_0x2c8de6,'pivotTableConfig':_0x262b1d};}break;case _0x1ce851[_0x5b2ef6(0x220)]:{const _0xb0dec0=_0xe04d98[_0x5b2ef6(0x3ca)]['setValuePivotFilter'];if(!_0xb0dec0)return;const {tableFieldId:_0x1fce6d,filterInfo:_0x11fc46}=_0xb0dec0,_0x4bd61d=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4ee510),_0x53c911=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x4bd61d||!_0x53c911)return;_0x4bd61d[_0x5b2ef6(0x4c1)](),_0x4bd61d[_0x5b2ef6(0x24a)](_0x1fce6d,_0x11fc46);const _0x48bf04=_0x4bd61d['isEmpty'](),_0x153da0=_0x4bd61d[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x3ba658=_0x4bd61d[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x454)]={'view':_0x153da0,'changesets':_0x3ba658,'isEmpty':_0x48bf04,'pivotTableConfig':_0x53c911};}break;case _0x1ce851['SetPivotSort']:{const _0x5cdd6d=_0xe04d98[_0x5b2ef6(0x3ca)]['setPivotSort'];if(!_0x5cdd6d)return;const {tableFieldId:_0x5e8651,info:_0x5b90b5}=_0x5cdd6d,_0x14bf74=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x51be70=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x14bf74||!_0x51be70)return;_0x14bf74[_0x5b2ef6(0x4c1)](),_0x14bf74['setSortInfo'](_0x5e8651,_0x5b90b5);const _0x3282e4=_0x14bf74[_0x5b2ef6(0x3fa)](),_0x1afbf7=_0x14bf74[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x1accf1=_0x14bf74[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotSort']={'view':_0x1afbf7,'changesets':_0x1accf1,'isEmpty':_0x3282e4,'pivotTableConfig':_0x51be70};}break;case _0x1ce851[_0x5b2ef6(0x3a0)]:{const _0x3bc5fe=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x23d)];if(!_0x3bc5fe)return;const {tableFieldId:_0x2feaf9,displayName:_0x44c3c2,subtotalType:_0x4639df,format:_0x1bbd6e}=_0x3bc5fe,_0x37e9a6=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510),_0x5ce824=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x37e9a6||!_0x5ce824)return;_0x37e9a6['startCollectChangeset'](),_0x44c3c2!==void 0x0&&_0x37e9a6['renameField'](_0x2feaf9,_0x44c3c2),_0x4639df!==void 0x0&&_0x37e9a6[_0x5b2ef6(0x253)](_0x2feaf9,_0x4639df),_0x1bbd6e!==void 0x0&&_0x37e9a6[_0x5b2ef6(0x30a)](_0x2feaf9,_0x1bbd6e);const _0x395f7b=_0x37e9a6[_0x5b2ef6(0x3fa)](),_0x502dbf=_0x37e9a6[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0xf2506d=_0x37e9a6['endCollectChangeset']();_0x38e6c4[_0x5b2ef6(0x23d)]={'changesets':_0xf2506d,'pivotTableConfig':_0x5ce824,'isEmpty':_0x395f7b,'view':_0x502dbf};}break;case _0x1ce851[_0x5b2ef6(0x379)]:{const _0x2020ef=_0xe04d98[_0x5b2ef6(0x3ca)]['updatePivotSource'];if(!_0x2020ef)return;const {dataRangeInfo:_0x232674,unitId:_0x204858,subUnitId:_0x4a95c0}=_0x2020ef,_0x47b6a6=this['_sheetsPivotDataSourceModel'][_0x5b2ef6(0x2e9)](_0x204858,_0x4a95c0,_0x4ee510),_0x4db347=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510);if(!this[_0x5b2ef6(0x34a)]['getCollection'](_0x204858,_0x4ee510)||!_0x4db347||!_0x47b6a6)return;const _0x30240c=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x368)](_0x204858,_0x4ee510,_0x232674),_0x424d24=this['_sheetsPivotDataSourceModel']['getCollection'](_0x204858,_0x4ee510)[_0x5b2ef6(0x4ab)](),{collection:_0x3e7065}=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2af)]({'unitId':_0x232674[_0x5b2ef6(0x211)],'sheetName':_0x232674[_0x5b2ef6(0x329)],'subUnitId':_0x232674['subUnitId'],'range':_0x232674['range']}),_0x4e87cf=_0x3e7065[_0x5b2ef6(0x4ab)]();_0x4db347[_0x5b2ef6(0x4c1)]();const _0x25c036=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x204858)[_0x5b2ef6(0x2a2)]()||_0x33417a['getAutoDisplayName'];_0x4db347['iterateField'](_0x29de93=>{const _0x3d47c0=_0x5b2ef6,_0xc9498c=_0x29de93[_0x3d47c0(0x49c)]();if(!_0x3e7065['hasField'](_0xc9498c)){const _0x5f421b=_0x3e7065[_0x3d47c0(0x4c6)](_0x29de93['getSourceName']());if(_0x5f421b){_0x4db347[_0x3d47c0(0x47e)](_0x29de93[_0x3d47c0(0x244)](),_0x5f421b[_0x3d47c0(0x22d)](),_0x5f421b[_0x3d47c0(0x244)]());const {area:_0x13473b}=_0x4db347[_0x3d47c0(0x3d3)](_0x29de93[_0x3d47c0(0x244)]());let _0x58a887=_0x29de93[_0x3d47c0(0x441)]();const _0x2f5d6a=_0x29de93['getDisplayName']();if(_0x13473b===_0x33417a['PivotTableFiledAreaEnum'][_0x3d47c0(0x4a5)]){const _0x5886a3=_0x29de93['getSubtotal']();_0x58a887=_0x25c036(_0x5f421b[_0x3d47c0(0x22d)](),_0x5886a3);}_0x2f5d6a!==_0x58a887&&_0x4db347[_0x3d47c0(0x39f)](_0x29de93[_0x3d47c0(0x244)](),_0x58a887);}else _0x4db347[_0x3d47c0(0x3f8)](_0x29de93['getId']());}});const _0xf4ab99=_0x4db347[_0x5b2ef6(0x3fa)](),_0x4e5bd1=_0x4db347['query']()['toJSON'](),_0x318614=_0x4db347[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x4b3)]={'view':_0x4e5bd1,'changesets':_0x318614,'isEmpty':_0xf4ab99,'pivotTableConfig':_0x47b6a6,'collectionConfig':_0x4e87cf,'oldCollectionConfig':_0x424d24,'deleteIds':_0x30240c};}break;case _0x1ce851[_0x5b2ef6(0x3ba)]:{const _0x135bf3=_0xe04d98['params'][_0x5b2ef6(0x34c)];if(!_0x135bf3)return;const {position:_0x4c96e2,index:_0xd0bd32}=_0x135bf3,_0x35e12a=this['_sheetsPivotDataSourceModel'][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x35e12a)return!0x1;const _0x415c69=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x415c69)return!0x1;_0x415c69[_0x5b2ef6(0x4c1)](),_0x415c69[_0x5b2ef6(0x34c)](_0x4c96e2,_0xd0bd32);const _0x5712ae=_0x415c69[_0x5b2ef6(0x3fa)](),_0x423e84=_0x415c69[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x5a01e8=_0x415c69[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x34c)]={'changesets':_0x5a01e8,'pivotTableConfig':_0x35e12a,'isEmpty':_0x5712ae,'view':_0x423e84};}break;case _0x1ce851['SetPivotCollapse']:{const _0x1574d3=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x353)];if(!_0x1574d3)return;const {tableFieldId:_0x44d3da,collapse:_0x17c31a,item:_0x24a88e}=_0x1574d3,_0x188ae1=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510),_0xf0aee=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x188ae1||!_0xf0aee)return;_0x188ae1[_0x5b2ef6(0x4c1)](),_0x188ae1['setCollapse'](_0x44d3da,_0x17c31a,_0x24a88e);const _0x939c21=_0x188ae1[_0x5b2ef6(0x3fa)](),_0x10fc0a=_0x188ae1[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x584211=_0x188ae1[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotCollapse']={'view':_0x10fc0a,'isEmpty':_0x939c21,'pivotTableConfig':_0xf0aee,'changesets':_0x584211};}break;case _0x1ce851[_0x5b2ef6(0x2e3)]:{const _0x467a68=_0xe04d98[_0x5b2ef6(0x3ca)]['setPivotTableConfig'];if(!_0x467a68)return;const {pivotTableConfig:_0x57893b}=_0x467a68,_0x3e5370=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x357e66=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x3e5370||!_0x357e66)return;_0x3e5370[_0x5b2ef6(0x4c1)](),_0x284d0a(_0x3e5370,_0x57893b);const _0x509258=_0x3e5370['isEmpty'](),_0x594d70=_0x3e5370['query']()[_0x5b2ef6(0x4ab)](),_0xd627c5=_0x3e5370[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotTableConfig']={'view':_0x594d70,'isEmpty':_0x509258,'pivotTableConfig':{..._0x357e66,'fieldsConfig':_0x3e5370[_0x5b2ef6(0x4ab)]()},'changesets':_0xd627c5};}break;case _0x1ce851['ResetPivotTable']:{const _0x385b9f=_0xe04d98[_0x5b2ef6(0x3ca)]['resetPivotTable'];if(!_0x385b9f)return;const _0x4a6160=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x34e1b2=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x4a6160||!_0x34e1b2)return;_0x4a6160[_0x5b2ef6(0x4c1)](),_0x3e6b18(_0x4a6160,_0x385b9f['resetArea']);const _0x2a6d84=_0x4a6160[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x3f27a6=_0x4a6160[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x344)]={'view':_0x2a6d84,'isEmpty':!0x0,'pivotTableConfig':{..._0x34e1b2,'fieldsConfig':_0x4a6160[_0x5b2ef6(0x4ab)]()},'changesets':_0x3f27a6};}break;case _0x1ce851[_0x5b2ef6(0x241)]:{const _0x3fd3c2=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x1f2)];if(!_0x3fd3c2)return;const _0x1c97c5=_0x3fd3c2[_0x5b2ef6(0x218)],_0x2d33c9=_0x3fd3c2['pivotTableId'],{collection:_0x2de59e}=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2af)]({'unitId':_0x1c97c5[_0x5b2ef6(0x211)],'sheetName':_0x1c97c5[_0x5b2ef6(0x329)],'subUnitId':_0x1c97c5[_0x5b2ef6(0x2fa)],'range':_0x1c97c5['range']}),_0xdb54f8=new _0x33417a[(_0x5b2ef6(0x28e))](_0x2de59e,void 0x0,_0x2d33c9),_0x25491f=_0x2de59e[_0x5b2ef6(0x29d)](),{rows:_0x1e4887,columns:_0x3b6cbb,filters:_0x492112,values:_0x33282f}=_0x3fd3c2[_0x5b2ef6(0x3d4)];_0xdb54f8['startCollectChangeset']();for(const {field:_0x451e91,selectedItems:_0x25656e}of _0x1e4887||[]){const _0x326218=_0x25491f[_0x451e91];if(_0x326218){const _0x22666f=_0xdb54f8[_0x5b2ef6(0x229)](_0x326218,_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]);_0x25656e&&_0x22666f&&_0xdb54f8[_0x5b2ef6(0x2c2)](_0x22666f[_0x5b2ef6(0x244)](),{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x25656e,'isAll':!0x1});}}for(const {field:_0x2506e7,selectedItems:_0x380bdf}of _0x3b6cbb||[]){const _0x377b38=_0x25491f[_0x2506e7];if(_0x377b38){const _0x111239=_0xdb54f8[_0x5b2ef6(0x229)](_0x377b38,_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]);_0x380bdf&&_0x111239&&_0xdb54f8['setLabelFilterInfo'](_0x111239[_0x5b2ef6(0x244)](),{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x380bdf,'isAll':!0x1});}}for(const {field:_0x1b606d,selectedItems:_0x272410}of _0x492112||[]){const _0x31ab69=_0x25491f[_0x1b606d];if(_0x31ab69){const _0x3a7305=_0xdb54f8['addFieldWithSourceId'](_0x31ab69,_0x33417a[_0x5b2ef6(0x321)]['Filter']);_0x272410&&_0x3a7305&&_0xdb54f8[_0x5b2ef6(0x2c2)](_0x3a7305[_0x5b2ef6(0x244)](),{'type':_0x33417a['PivotFilterTypeEnum'][_0x5b2ef6(0x2fb)],'list':_0x272410,'isAll':!0x1});}}for(const {field:_0xc52265,subTotalType:_0x288ef9,formatString:_0x4c5650}of _0x33282f||[]){const _0x463e35=_0x2de59e[_0x5b2ef6(0x4a9)](_0x25491f[_0xc52265]);if(!_0x463e35)continue;const _0x5f1893=_0x25491f[_0xc52265];if(_0x5f1893){const _0x283b51=_0xdb54f8['addFieldWithSourceId'](_0x5f1893,_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x4a5)]);if(_0x283b51){if(_0x288ef9!==void 0x0){_0xdb54f8[_0x5b2ef6(0x253)](_0x283b51[_0x5b2ef6(0x244)](),_0x288ef9);const _0x3c947b=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x1c97c5[_0x5b2ef6(0x211)])[_0x5b2ef6(0x2a2)]()||_0x33417a[_0x5b2ef6(0x26f)],_0x2f8398=_0x2de59e[_0x5b2ef6(0x2b3)](_0x5f1893),_0x2f6604=_0x3c947b(_0x2f8398,_0x288ef9);_0xdb54f8[_0x5b2ef6(0x39f)](_0x283b51[_0x5b2ef6(0x244)](),_0x2f6604);}else{if(_0x463e35){const _0x31d17b=_0x463e35==null?void 0x0:_0x463e35[_0x5b2ef6(0x2b4)]();_0xdb54f8['setSubtotalType'](_0x283b51[_0x5b2ef6(0x244)](),_0x31d17b===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a['PivotSubtotalTypeEnum'][_0x5b2ef6(0x1e9)]:_0x33417a['PivotSubtotalTypeEnum'][_0x5b2ef6(0x3cd)]);}}_0x4c5650&&_0xdb54f8[_0x5b2ef6(0x30a)](_0x283b51['getId'](),_0x4c5650);}}}const _0xfece6e=_0xdb54f8['query'](),_0x5429b8=_0xdb54f8['toJSON'](),_0x1a78fe=_0xdb54f8['isEmpty'](),_0x14d165=_0xdb54f8[_0x5b2ef6(0x2ae)](),_0x121612=_0x2de59e['toJSON']();_0x38e6c4[_0x5b2ef6(0x1f2)]={'view':_0xfece6e,'fieldsConfig':_0x5429b8,'collectionConfig':_0x121612,'isEmpty':_0x1a78fe,'changesets':_0x14d165};}break;case _0x1ce851['DrillDown']:{const _0x32cb47=_0x7fbd45(this['_injector'],_0xe04d98);if(!_0x32cb47)return;const {range:_0x1c884b,sourceSubUnitId:_0x1958db,sourceUnitId:_0x5e6ffe,formatMap:_0x207b95,indexes:_0x31a213}=_0x32cb47;_0x38e6c4[_0x5b2ef6(0x442)]={'range':_0x1c884b,'sourceSubUnitId':_0x1958db,'sourceUnitId':_0x5e6ffe,'formatMap':_0x207b95,'indexes':_0x31a213};}break;}this['_commandService'][_0x5b2ef6(0x24f)](_0x195cb7['id'],{'version':_0xe04d98[_0x5b2ef6(0x48c)],'result':_0x38e6c4},{'onlyLocal':!0x0});}));}[_0x32a484(0x248)](){const _0x1e0fbc=_0x32a484;this[_0x1e0fbc(0x327)](this[_0x1e0fbc(0x4cf)][_0x1e0fbc(0x448)](_0x39cbde=>{const _0x12c879=_0x1e0fbc;if(_0x39cbde['id']!==_0x3e71e4['id'])return;const _0x2eaa21=_0x39cbde[_0x12c879(0x3ca)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x2eaa21[_0x12c879(0x334)]),!0x0;}));}[_0x32a484(0x2b8)](){const _0x23f142=_0x32a484;this[_0x23f142(0x34a)]['collectionChange$']['subscribe'](_0xd559e5=>{const _0x4d9951=_0x23f142;switch(_0xd559e5[_0x4d9951(0x38a)]){case _0xf2a767[_0x4d9951(0x308)]:_0xd559e5[_0x4d9951(0x221)]&&_0xd559e5['targetCellInfo']&&this[_0x4d9951(0x4e6)](_0xd559e5[_0x4d9951(0x3a6)],_0xd559e5[_0x4d9951(0x221)],_0xd559e5['targetCellInfo']);break;case _0xf2a767[_0x4d9951(0x3a9)]:{const {unitId:_0x5db763,subUnitId:_0x4a364e,token:_0x2dcbc5}=_0xd559e5;_0x5db763&&_0x4a364e&&_0x2dcbc5&&this[_0x4d9951(0x2f3)](_0x5db763,_0x4a364e,_0x2dcbc5);}break;case _0xf2a767['update']:{const {token:_0x431104,oldSourceRangeInfo:_0x2fd601,dataRangeInfo:_0x42bab9,targetCellInfo:_0x12c5df}=_0xd559e5,{unitId:_0x3b506c,subUnitId:_0x1f6973}=_0x2fd601||{};_0x3b506c&&_0x1f6973&&_0x431104&&this[_0x4d9951(0x2f3)](_0x3b506c,_0x1f6973,_0x431104),_0x42bab9&&_0x12c5df&&this[_0x4d9951(0x4e6)](_0x431104,_0x42bab9,_0x12c5df);}break;}});}[_0x32a484(0x4d6)](){const _0x1a2a2c=_0x32a484;this['_sheetsPivotDataSourceModel'][_0x1a2a2c(0x363)][_0x1a2a2c(0x332)](_0x3e9982=>{const _0x24ac16=_0x1a2a2c;Object[_0x24ac16(0x31e)](_0x3e9982)['forEach'](_0x231ec8=>{const _0x4371e0=_0x24ac16,_0x5e6150=this[_0x4371e0(0x34a)][_0x4371e0(0x4aa)](_0x231ec8);if(_0x5e6150){const _0xb6f2ca=this['_sheetsPivotDataSourceModel'][_0x4371e0(0x2e9)](_0x5e6150==null?void 0x0:_0x5e6150[_0x4371e0(0x211)],_0x5e6150==null?void 0x0:_0x5e6150['subUnitId'],_0x231ec8);_0xb6f2ca&&(this[_0x4371e0(0x4e6)](_0x231ec8,_0xb6f2ca[_0x4371e0(0x218)],_0xb6f2ca['targetCellInfo']),this[_0x4371e0(0x3cb)]([{'unitId':_0x5e6150[_0x4371e0(0x211)],'subUnitId':_0x5e6150['subUnitId'],'token':_0x231ec8}]));}});});}[_0x32a484(0x352)](){const _0x27f2a8=_0x32a484;this[_0x27f2a8(0x34a)][_0x27f2a8(0x4b1)][_0x27f2a8(0x332)](_0x1fce11=>{const {unitId:_0x596e0e,subUnitId:_0x1d70ab,pivotTableId:_0x1fe827}=_0x1fce11;_0x596e0e&&_0x1d70ab&&_0x1fe827&&this['triggerDirtyFeature']([{'unitId':_0x596e0e,'subUnitId':_0x1d70ab,'token':_0x1fe827}]);});}[_0x32a484(0x3cb)](_0x5e7152){const _0xfa5a1d=_0x32a484,_0x3f9f7f={};_0x5e7152[_0xfa5a1d(0x4c2)](_0x1d3dc9=>{var _0x3fabf5,_0x177a6f;const {unitId:_0x18e4d5,subUnitId:_0x390f33,token:_0x3b8ac5}=_0x1d3dc9;_0x3f9f7f[_0x18e4d5]=(_0x3fabf5=_0x3f9f7f[_0x18e4d5])!=null?_0x3fabf5:{},_0x3f9f7f[_0x18e4d5][_0x390f33]=(_0x177a6f=_0x3f9f7f[_0x18e4d5][_0x390f33])!=null?_0x177a6f:{},_0x3f9f7f[_0x18e4d5][_0x390f33][_0x3b8ac5]=!0x0;}),this[_0xfa5a1d(0x4cf)][_0xfa5a1d(0x24f)](_0x322618['id'],_0x3f9f7f);}[_0x32a484(0x2f3)](_0x3aaf9d,_0x1239ff,_0x4e0bbd){this['_featureCalculationManagerService']['remove'](_0x3aaf9d,_0x1239ff,[_0x4e0bbd]);}['handleSourceRangeChange'](_0x5ae715,_0x31840b,_0x115a6c){const _0x57d63c=_0x32a484,{unitId:_0x2b5109,subUnitId:_0xf1874f}=_0x31840b;this['_featureCalculationManagerService'][_0x57d63c(0x290)](_0x115a6c[_0x57d63c(0x211)],_0x115a6c[_0x57d63c(0x2fa)],_0x5ae715)&&this[_0x57d63c(0x2f3)](_0x2b5109,_0xf1874f,_0x5ae715);const _0x3f069b={'sheetId':_0xf1874f,..._0x31840b};this['_featureCalculationManagerService'][_0x57d63c(0x43f)](_0x115a6c['unitId'],_0x115a6c['subUnitId'],_0x5ae715,{'unitId':_0x115a6c['unitId'],'subUnitId':_0x115a6c['subUnitId'],'dependencyRanges':[_0x3f069b],'getDirtyData':(_0x2543c3,_0x1c6207)=>{const _0x523c20=_0x57d63c,_0x41d31f=this['_sheetsPivotDataSourceModel'],_0x22550a=_0x41d31f[_0x523c20(0x4aa)](_0x5ae715);if(!_0x22550a)return _0x3ea56b();const {unitId:_0x1dd068,subUnitId:_0xa60613}=_0x22550a,_0x2d37fc=_0x54b4b2(_0x2543c3,_0x1c6207,_0x31840b);if(_0x2d37fc['length']>0x0){const _0x3855b7=_0x41d31f[_0x523c20(0x336)](_0x2b5109,_0x5ae715),_0x2efc9d=_0x3855b7['getFieldIds'](),_0x2d0a90=this['getMatrixFromRunTimeData'](_0x31840b[_0x523c20(0x211)],_0x31840b[_0x523c20(0x2fa)],_0x1c6207),_0x2b42c9={},_0x27ae63=this[_0x523c20(0x34a)]['getDataFieldManager'](_0x1dd068)[_0x523c20(0x2a2)]()||_0x33417a['getAutoDisplayName'],_0xd00743=[];for(const _0x277288 of _0x2d37fc){const _0x41598e=_0x277288-(_0x31840b['range'][_0x523c20(0x3e4)]||0x0),_0x3e69f5=_0x2efc9d[_0x41598e];_0xd00743[_0x523c20(0x296)](_0x3e69f5),_0x2b42c9[_0x3e69f5]=_0x3855b7[_0x523c20(0x4a9)](_0x3e69f5)[_0x523c20(0x22d)](),_0x41d31f[_0x523c20(0x4b6)](_0x2b5109)[_0x523c20(0x40a)](_0x3e69f5,_0x31840b,_0x41598e,_0x2d0a90);}_0x3855b7[_0x523c20(0x1ff)](_0xd00743)[_0x523c20(0x4c2)](_0x9ac8db=>{const _0x45d27d=_0x523c20,[_0x30591b,_0x4530e1]=_0x9ac8db,_0x267e70=_0x3855b7[_0x45d27d(0x4a9)](_0x30591b),_0x2b5e69=_0x3855b7[_0x45d27d(0x4a9)](_0x4530e1);_0x267e70&&_0x2b5e69&&_0x267e70[_0x45d27d(0x4bb)](_0x2b5e69);}),_0x3855b7[_0x523c20(0x440)]();const _0x1a6158=_0x41d31f[_0x523c20(0x47b)](_0x5ae715);if(_0x1a6158){_0x6d510f(_0x1a6158,_0x2b42c9,_0x27ae63),_0x1a6158[_0x523c20(0x453)](!0x0);const _0x560ee7=_0x1a6158[_0x523c20(0x341)](),_0x32970f=_0x41d31f[_0x523c20(0x2e9)](_0x1dd068,_0xa60613,_0x5ae715),_0xa97125=_0x41d31f[_0x523c20(0x4b6)](_0x2b5109)[_0x523c20(0x4ab)]();_0x41d31f['updateView'](_0x1dd068,_0xa60613,_0x477731[_0x523c20(0x47a)],_0x5ae715,_0x560ee7,_0x32970f,_0xa97125,!0x0);}}return this[_0x523c20(0x1e5)](_0x1dd068,_0xa60613,_0x5ae715);}});}['getMatrixFromRunTimeData'](_0x364708,_0x2a47cc,_0x20ecdb){var _0x65e4c6,_0x3b6744;const {arrayFormulaCellData:_0x4ecaa5,unitData:_0x32f989}=_0x20ecdb,_0x30d21f=(_0x65e4c6=_0x4ecaa5==null?void 0x0:_0x4ecaa5[_0x364708])==null?void 0x0:_0x65e4c6[_0x2a47cc],_0x17b9a3=(_0x3b6744=_0x32f989==null?void 0x0:_0x32f989[_0x364708])==null?void 0x0:_0x3b6744[_0x2a47cc];return{'arrayFormulaCellDataMatrix':_0x30d21f,'unitDataMatrix':_0x17b9a3};}[_0x32a484(0x1e5)](_0x782aaf,_0x447b8b,_0x309bce){const _0x389fd4=_0x32a484,_0x14cbf4=this[_0x389fd4(0x34a)][_0x389fd4(0x469)](_0x782aaf,_0x447b8b,_0x309bce),_0x4f341c=[],_0x4abbec=new _0x2fa876[(_0x389fd4(0x48a))]();if(_0x14cbf4){const {rangeCache:_0x3f72c1,matrix:_0x38fb80,oldRangeCache:_0x2fa2c9,oldMatrix:_0x577b4b}=_0x14cbf4,_0x5c558d=_0x3fcd7b(_0x2fa2c9),_0x1e1821=_0x3fcd7b(_0x3f72c1);_0x4f341c['push'](..._0x1e1821,..._0x5c558d),_0x577b4b&&_0x2fa2c9&&_0x5c558d[_0x389fd4(0x4c2)](_0x59fab3=>{const _0x265eaa=_0x389fd4;for(let _0x237e23=_0x59fab3[_0x265eaa(0x340)];_0x237e23<=_0x59fab3['endRow'];_0x237e23++)for(let _0x157879=_0x59fab3[_0x265eaa(0x3e4)];_0x157879<=_0x59fab3[_0x265eaa(0x315)];_0x157879++)_0x4abbec[_0x265eaa(0x2bd)](_0x237e23,_0x157879);}),_0x38fb80&&_0x1e1821&&_0x1e1821['forEach'](_0x2668bc=>{const _0x3c1440=_0x389fd4;for(let _0xc2cb30=_0x2668bc[_0x3c1440(0x340)];_0xc2cb30<=_0x2668bc[_0x3c1440(0x2d0)];_0xc2cb30++)for(let _0x35357b=_0x2668bc['startColumn'];_0x35357b<=_0x2668bc[_0x3c1440(0x315)];_0x35357b++)_0x4abbec['setValue'](_0xc2cb30,_0x35357b,_0x38fb80['getValue'](_0xc2cb30,_0x35357b));});}const _0x5477ad={};return _0x5477ad[_0x782aaf]={[_0x447b8b]:_0x3efc09(_0x4f341c)},{'runtimeCellData':{[_0x782aaf]:{[_0x447b8b]:_0x4abbec}},'dirtyRanges':_0x5477ad};}['dispose'](){}};_0x5da108=_0x38a2a6([_0x3a96ca(0x0,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x255)])),_0x3a96ca(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x196a8d['IFeatureCalculationManagerService'])),_0x3a96ca(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['ICommandService'])),_0x3a96ca(0x3,_0x2fa876[_0x32a484(0x4a3)](_0x196a8d['GlobalComputingStatusService'])),_0x3a96ca(0x4,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x304)]))],_0x5da108);var _0x283970=Object['getOwnPropertyDescriptor'],_0x501cc4=(_0x56df08,_0x17caf3,_0x283fb7,_0x4e54de)=>{const _0x4f3e5e=_0x32a484;for(var _0x163ca3=_0x4e54de>0x1?void 0x0:_0x4e54de?_0x283970(_0x17caf3,_0x283fb7):_0x17caf3,_0xa925d5=_0x56df08[_0x4f3e5e(0x249)]-0x1,_0x37e33b;_0xa925d5>=0x0;_0xa925d5--)(_0x37e33b=_0x56df08[_0xa925d5])&&(_0x163ca3=_0x37e33b(_0x163ca3)||_0x163ca3);return _0x163ca3;},_0xd110aa=(_0x2879ef,_0x53b5f9)=>(_0x1a6c6e,_0x4ada6d)=>_0x53b5f9(_0x1a6c6e,_0x4ada6d,_0x2879ef);let _0x59d811=class extends _0x2fa876['Disposable']{constructor(_0x214660,_0x58b584,_0x495468,_0xca31d4){const _0x1199a5=_0x32a484;super(),_0x25ab16(this,'disposableCollection',new _0x2fa876['DisposableCollection']()),(this[_0x1199a5(0x4d0)]=_0x214660,this['_sheetInterceptorService']=_0x58b584,this[_0x1199a5(0x317)]=_0x495468,this[_0x1199a5(0x287)]=_0xca31d4,this['_initClearSelectionCommandInterceptor']());}[_0x32a484(0x49d)](){const _0x1476ae=_0x32a484;this[_0x1476ae(0x327)](this[_0x1476ae(0x46e)]['interceptCommand']({'getMutations':_0x29568e=>{const _0xc9e83d=_0x1476ae;if(_0x29568e['id']===_0x30840c['ClearSelectionContentCommand']['id']||_0x29568e['id']===_0x30840c['ClearSelectionAllCommand']['id']){const _0x2e742e=[],_0x4411e8=[],_0x31392a=this[_0xc9e83d(0x317)][_0xc9e83d(0x25d)]()[_0xc9e83d(0x2a0)](_0x3dd2d0=>_0x3dd2d0[_0xc9e83d(0x1f6)]),_0x1cea6d=_0x30840c[_0xc9e83d(0x279)](this['_univerInstanceService']);if(!_0x1cea6d)return{'redos':[],'undos':[]};const {unitId:_0x161543,subUnitId:_0xa2305e}=_0x1cea6d,_0x132737={},_0x2b6334=this[_0xc9e83d(0x287)][_0xc9e83d(0x40b)](_0x161543,_0xa2305e);if(_0x2b6334!=null&&_0x2b6334[_0xc9e83d(0x40c)])for(const [_0x3d9f10,_0x3ad5c7]of _0x2b6334){const {unitId:_0x2b230c,subUnitId:_0x5f42d2,row:_0x264899,col:_0x316e2c}=_0x3ad5c7['targetCellInfo'];_0x2b230c===_0x1cea6d[_0xc9e83d(0x211)]&&_0x5f42d2===_0x1cea6d[_0xc9e83d(0x2fa)]&&(_0x132737[_0x264899+'-'+_0x316e2c]=_0x3d9f10);}return _0x31392a&&_0x1cea6d&&_0x31392a[_0xc9e83d(0x4c2)](_0x51e3fe=>{const _0x37ae31=_0xc9e83d;_0x2fa876[_0x37ae31(0x33a)][_0x37ae31(0x2b2)](_0x51e3fe,(_0x11391c,_0x3010f1)=>{const _0x5f0a13=_0x37ae31,_0x58ce34=_0x11391c+'-'+_0x3010f1;if(_0x132737[_0x58ce34]){const _0x40a16b=_0x132737[_0x58ce34];_0x2e742e['push']({'id':_0xe28166['id'],'params':{'unitId':_0x161543,'subUnitId':_0xa2305e,'pivotTableId':_0x40a16b}});const _0x12f3d8=this[_0x5f0a13(0x287)]['getCollection'](_0x161543,_0x40a16b),_0x5d76c5=this[_0x5f0a13(0x287)][_0x5f0a13(0x2e9)](_0x161543,_0xa2305e,_0x40a16b);_0x4411e8[_0x5f0a13(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x161543,'subUnitId':_0xa2305e,'pivotTableId':_0x40a16b,'pivotTableConfig':_0x5d76c5,'collectionConfig':_0x12f3d8}});}});}),{'redos':_0x2e742e,'undos':_0x4411e8};}return{'redos':[],'undos':[]};}}));}};_0x59d811=_0x501cc4([_0xd110aa(0x0,_0x2fa876['IUniverInstanceService']),_0xd110aa(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0xd110aa(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x30840c['SheetsSelectionsService'])),_0xd110aa(0x3,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)]))],_0x59d811);var _0x1e3d57=Object['getOwnPropertyDescriptor'],_0x49bdaa=(_0x4ec7b1,_0x1029c5,_0x508770,_0x393ea1)=>{const _0xef1801=_0x32a484;for(var _0x2244ea=_0x393ea1>0x1?void 0x0:_0x393ea1?_0x1e3d57(_0x1029c5,_0x508770):_0x1029c5,_0x1c93b8=_0x4ec7b1[_0xef1801(0x249)]-0x1,_0x431629;_0x1c93b8>=0x0;_0x1c93b8--)(_0x431629=_0x4ec7b1[_0x1c93b8])&&(_0x2244ea=_0x431629(_0x2244ea)||_0x2244ea);return _0x2244ea;},_0x506c87=(_0xb5ec0a,_0x16e7c5)=>(_0x38f414,_0x10062a)=>_0x16e7c5(_0x38f414,_0x10062a,_0xb5ec0a);let _0x2626a1=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0xbc6039,_0x1970c3,_0x3602ce,_0x4a4881,_0x26c107){const _0x3f54b9=_0x32a484;super(),this['_sheetInterceptorService']=_0xbc6039,this[_0x3f54b9(0x42f)]=_0x1970c3,this['_univerInstanceService']=_0x3602ce,this[_0x3f54b9(0x287)]=_0x4a4881,this['_sheetsPivotTableService']=_0x26c107,this[_0x3f54b9(0x42e)]();}[_0x32a484(0x2b0)](_0x5415fb,_0x40553f,_0x27287e){const _0x522fa3=_0x32a484,{pageView:_0x5dd1b2,cornerView:_0x4ecfce,rowView:_0x5cffa2,colView:_0x3d0828,dataView:_0x462744}=_0x40553f,_0x3d0416=_0x5415fb;let _0xf40887;if(_0x27287e)_0xf40887=[..._0xee0526(_0x3d0416)];else{const _0xd36b4f=_0x47957b(_0x3d0416,_0x5dd1b2,!0x0),_0x5cefe9=_0x5dd1b2[_0x522fa3(0x427)]>=0x0?_0x5dd1b2[_0x522fa3(0x427)]+0x1:0x0,_0x50ef97=_0x4ecfce[_0x522fa3(0x3c9)],_0x122769=_0x4ecfce[_0x522fa3(0x295)],_0x21ee10=_0xd36b4f[_0x522fa3(0x249)]>0x0?_0x4814ba:0x0,_0x1bd089=_0x47957b({'row':_0x3d0416[_0x522fa3(0x213)]+_0x5cefe9+_0x21ee10,'col':_0x3d0416[_0x522fa3(0x38d)]},_0x4ecfce,!0x1,!0x1),_0x560d7d=_0x47957b({'row':_0x3d0416[_0x522fa3(0x213)]+_0x5cefe9+_0x21ee10+_0x50ef97,'col':_0x3d0416[_0x522fa3(0x38d)]},_0x5cffa2,!0x1,!0x0),_0x440d01=_0x47957b({'row':_0x3d0416['row']+_0x5cefe9+_0x21ee10,'col':_0x3d0416['col']+_0x122769},_0x3d0828,!0x1,!0x0),_0x1a7639=_0x47957b({'row':_0x3d0416['row']+_0x5cefe9+_0x21ee10+_0x50ef97,'col':_0x3d0416[_0x522fa3(0x38d)]+_0x122769},_0x462744,!0x1,!0x0);_0xf40887=[..._0xd36b4f,..._0x1bd089,..._0x560d7d,..._0x440d01,..._0x1a7639];}return _0xf40887;}[_0x32a484(0x42e)](){const _0x33dad1=_0x32a484;this[_0x33dad1(0x327)](this[_0x33dad1(0x21a)]['interceptor'][_0x33dad1(0x4a0)](this[_0x33dad1(0x21a)][_0x33dad1(0x44e)][_0x33dad1(0x2e1)]()[_0x33dad1(0x415)],{'handler':(_0x15f17e,_0x1894cd)=>{const _0x42f0c6=_0x33dad1,{cellInfo:_0x29077f,view:_0x58afa9,isEmpty:_0x593b64}=_0x1894cd,_0x95fbcf=_0x29077f,{unitId:_0x6fb303,subUnitId:_0xb9da18}=_0x95fbcf,_0x3d522f=this[_0x42f0c6(0x2b0)](_0x29077f,_0x58afa9,_0x593b64),_0x29ba06=this[_0x42f0c6(0x46e)][_0x42f0c6(0x2ac)]({'unitId':_0x6fb303,'subUnitId':_0xb9da18,'ranges':_0x3d522f}),_0x3cc5f1=_0x10af34(this[_0x42f0c6(0x42f)],_0x6fb303,_0xb9da18,_0x3d522f);_0x3cc5f1[_0x42f0c6(0x3b8)]&&(_0x29ba06[_0x42f0c6(0x390)]['push'](_0x3cc5f1[_0x42f0c6(0x3a4)]),_0x29ba06[_0x42f0c6(0x443)][_0x42f0c6(0x296)](_0x3cc5f1[_0x42f0c6(0x32d)]));const _0x560297=this[_0x42f0c6(0x1fa)](_0x58afa9,_0x29077f);return _0x29ba06[_0x42f0c6(0x390)][_0x42f0c6(0x296)](..._0x560297[_0x42f0c6(0x390)]),_0x29ba06[_0x42f0c6(0x443)][_0x42f0c6(0x296)](..._0x560297[_0x42f0c6(0x443)]),{'redos':_0x29ba06[_0x42f0c6(0x390)],'undos':_0x29ba06['undos']};}}));}[_0x32a484(0x1fa)](_0x160f26,_0x56ec4b){const _0x59081e=_0x32a484,{col:_0x36e183,unitId:_0x49c10e,subUnitId:_0x41c25e}=_0x56ec4b,_0x537280=[],_0x50619b=[],_0x2a78c6=_0x30840c['getSheetCommandTarget'](this[_0x59081e(0x4d0)],{'unitId':_0x49c10e,'subUnitId':_0x41c25e});if(!_0x56ec4b||!_0x160f26||!_0x2a78c6)return{'undos':_0x50619b,'redos':_0x537280};const _0x2b792c=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0x2800cf,dataView:_0x50a223,cornerView:_0x51efa8,rowView:_0x85c8a9,formatMap:_0x1259ee}=_0x160f26,_0x1f0318=_0x2326eb(_0x2800cf,_0x2b792c,!0x0,_0x1259ee),_0x520711=_0x2326eb(_0x85c8a9,_0x2b792c,!0x1,_0x1259ee),_0x218cf1=_0x478f19(_0x50a223),_0x5551d1=_0xe3e6b3(_0x51efa8),{worksheet:_0x4f6547}=_0x2a78c6;if(typeof window<'u'&&window[_0x59081e(0x2c7)]){const _0x8e2b0e=_0x488639['getFontStyleString']({..._0x226288[_0x59081e(0x4c9)]}),_0x3db2d4=_0x488639['FontCache'][_0x59081e(0x42a)](_0x1f0318,_0x8e2b0e)[_0x59081e(0x471)]+0x10,_0xf5c9d2=_0x488639[_0x59081e(0x214)][_0x59081e(0x42a)](_0x218cf1,_0x8e2b0e)['width'],_0x401a22=Math[_0x59081e(0x4a6)](Math['max'](_0x3db2d4,_0xf5c9d2))+0x10,_0x4f2ff1=Math[_0x59081e(0x4a6)](_0x488639[_0x59081e(0x214)]['getTextSize'](_0x520711,_0x8e2b0e)['width']),_0x52f72b=Math[_0x59081e(0x4a6)](_0x488639[_0x59081e(0x214)][_0x59081e(0x42a)](_0x5551d1,_0x8e2b0e)[_0x59081e(0x471)]),_0x200900=Math['max'](_0x4f2ff1,_0x52f72b,0x28)+0xc,_0x5a0b00=_0x2800cf[_0x59081e(0x295)]+_0x51efa8[_0x59081e(0x295)],_0x16bb4f={},_0x2ddc95={};for(let _0x4f73ce=_0x36e183;_0x4f73ce<_0x36e183+_0x5a0b00;_0x4f73ce++){const _0x1803ff=_0x4f6547['getColumnWidth'](_0x4f73ce);_0x16bb4f[_0x4f73ce]=_0x1803ff,_0x4f73ce-_0x36e183<_0x51efa8[_0x59081e(0x295)]?_0x2ddc95[_0x4f73ce-_0x36e183]=_0x200900:_0x2ddc95[_0x4f73ce-_0x36e183]=_0x401a22;}_0x537280[_0x59081e(0x296)]({'id':_0x30840c['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x41c25e,'unitId':_0x49c10e,'ranges':[{'startColumn':_0x36e183,'endColumn':_0x36e183+_0x5a0b00-0x1,'startRow':0x0,'endRow':_0x4f6547[_0x59081e(0x4b4)]()-0x1}],'colWidth':_0x2ddc95}}),_0x50619b[_0x59081e(0x296)]({'id':_0x30840c[_0x59081e(0x421)]['id'],'params':{'subUnitId':_0x41c25e,'unitId':_0x49c10e,'ranges':[{'startColumn':_0x36e183,'endColumn':_0x36e183+_0x5a0b00-0x1,'startRow':0x0,'endRow':_0x4f6547['getRowCount']()-0x1}],'colWidth':_0x16bb4f}});}return{'undos':_0x50619b,'redos':_0x537280};}};_0x2626a1=_0x49bdaa([_0x506c87(0x0,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x3f1)])),_0x506c87(0x1,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x304)])),_0x506c87(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['IUniverInstanceService'])),_0x506c87(0x3,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x32b)])),_0x506c87(0x4,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x21f)]))],_0x2626a1);var _0x2c2e30=Object['getOwnPropertyDescriptor'],_0x2f1c57=(_0x420449,_0x349140,_0x33802d,_0x7ee9c8)=>{for(var _0x5830fb=_0x7ee9c8>0x1?void 0x0:_0x7ee9c8?_0x2c2e30(_0x349140,_0x33802d):_0x349140,_0x128993=_0x420449['length']-0x1,_0x5c515f;_0x128993>=0x0;_0x128993--)(_0x5c515f=_0x420449[_0x128993])&&(_0x5830fb=_0x5c515f(_0x5830fb)||_0x5830fb);return _0x5830fb;},_0x32f550=(_0x59e95e,_0x41a801)=>(_0x9007cc,_0x5123df)=>_0x41a801(_0x9007cc,_0x5123df,_0x59e95e);let _0x27855c=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x58c350,_0x413b91,_0x19dfa4,_0x1275c6,_0x350089,_0x2ddf77,_0x492148){const _0x360dab=_0x32a484;super(),_0x25ab16(this,_0x360dab(0x4ad),new _0x2fa876['DisposableCollection']()),(this[_0x360dab(0x42f)]=_0x58c350,this['_refRangeService']=_0x413b91,this[_0x360dab(0x4cf)]=_0x19dfa4,this[_0x360dab(0x4d0)]=_0x1275c6,this[_0x360dab(0x287)]=_0x350089,this['_sheetsPivotTableAdaptorModel']=_0x2ddf77,this['_sheetInterceptorService']=_0x492148,this[_0x360dab(0x223)]());}[_0x32a484(0x223)](){const _0x3dcdf9=_0x32a484,_0x5259a1=(_0x5445de,_0x5a51da)=>{const _0x12f9cb=_0x33f8,_0x41bd20=this[_0x12f9cb(0x4d0)]['getCurrentUnitForType'](_0x2fa876['UniverInstanceType'][_0x12f9cb(0x28a)]);if(!_0x41bd20||!(_0x41bd20==null?void 0x0:_0x41bd20[_0x12f9cb(0x493)](_0x5a51da)))return;this[_0x12f9cb(0x4ad)][_0x12f9cb(0x366)]();const _0x1a8e08=_0x34733f=>this[_0x12f9cb(0x39a)](_0x34733f,_0x5445de,_0x5a51da),_0x41e27e=this['_sheetsPivotTableConfigModel'][_0x12f9cb(0x40b)](_0x5445de,_0x5a51da);if(!(_0x41e27e!=null&&_0x41e27e[_0x12f9cb(0x40c)]))return;Array[_0x12f9cb(0x25f)](_0x41e27e[_0x12f9cb(0x1e7)]())[_0x12f9cb(0x2a0)](_0xf98579=>{const _0x12d42f=_0x12f9cb,{row:_0x20036d,col:_0x34a7e7}=_0xf98579[_0x12d42f(0x412)];return _0x2fa876[_0x12d42f(0x4bd)](_0x20036d,_0x34a7e7);})['forEach'](_0x56990f=>{const _0x4954f0=_0x12f9cb;this[_0x4954f0(0x4ad)][_0x4954f0(0x308)](this[_0x4954f0(0x365)][_0x4954f0(0x275)](_0x56990f,_0x1a8e08,_0x5445de,_0x5a51da));});},_0x3ce013=()=>{const _0x42741d=_0x33f8,_0x4f2710=this[_0x42741d(0x4d0)][_0x42741d(0x347)](_0x2fa876['UniverInstanceType'][_0x42741d(0x28a)]);if(_0x4f2710){const _0x8d8dc9=_0x4f2710[_0x42741d(0x36e)]();if(!_0x8d8dc9)return;_0x5259a1(_0x4f2710[_0x42741d(0x472)](),_0x8d8dc9['getSheetId']());}};this[_0x3dcdf9(0x327)](this[_0x3dcdf9(0x4cf)][_0x3dcdf9(0x448)](_0x425cfd=>{const _0x4bf5af=_0x3dcdf9;if(_0x425cfd['id']===_0x30840c['SetWorksheetActiveOperation']['id']){const _0x581cae=_0x425cfd[_0x4bf5af(0x3ca)],_0xc0f4a2=_0x581cae[_0x4bf5af(0x2fa)],_0x233689=_0x581cae[_0x4bf5af(0x211)];if(!_0xc0f4a2||!_0x233689)return;_0x5259a1(_0x233689,_0xc0f4a2);}})),this[_0x3dcdf9(0x327)](this[_0x3dcdf9(0x287)]['pivotInitCompleted$'][_0x3dcdf9(0x332)](_0x228606=>{_0x228606&&_0x3ce013();})),this['disposeWithMe'](this[_0x3dcdf9(0x287)][_0x3dcdf9(0x369)][_0x3dcdf9(0x332)](_0x32f29b=>{const _0x30e25a=_0x3dcdf9,_0x23471b=_0x30840c['getSheetCommandTarget'](this[_0x30e25a(0x4d0)]);if(!_0x23471b)return;const {unitId:_0x5c908d,subUnitId:_0x2fc16e}=_0x23471b,{unitId:_0x148959,subUnitId:_0x3287dd}=_0x32f29b;_0x5c908d!==_0x148959||_0x2fc16e!==_0x3287dd||_0x5259a1(_0x5c908d,_0x2fc16e);})),_0x3ce013();}[_0x32a484(0x39a)](_0x3a124f,_0x1e18f2,_0x2eba99){const _0x2139bd=_0x32a484;switch(_0x3a124f['id']){case _0x30840c[_0x2139bd(0x351)]['id']:return this[_0x2139bd(0x2e2)](_0x3a124f[_0x2139bd(0x3ca)],_0x1e18f2,_0x2eba99);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x2a9fd6,_0x4f40c8,_0x10cf7f){const _0x52a525=_0x32a484,{fromRange:_0x5ddd27,toRange:_0x5d6c3a}=_0x2a9fd6,_0x1cc241=[],_0x276dd9=[],_0x305667=_0x30840c[_0x52a525(0x279)](this[_0x52a525(0x4d0)]);if(!_0x305667)return{'undos':_0x276dd9,'redos':_0x1cc241};if(_0x4f40c8!==_0x305667[_0x52a525(0x211)]||_0x10cf7f!==_0x305667['subUnitId'])return{'undos':_0x276dd9,'redos':_0x1cc241};const _0x52af62=this[_0x52a525(0x287)][_0x52a525(0x40b)](_0x4f40c8,_0x10cf7f);if(_0x52af62!=null&&_0x52af62[_0x52a525(0x40c)])for(const [_0x334da7,_0x2fa11f]of _0x52af62){const {unitId:_0x49e751,subUnitId:_0x227fff,row:_0x35f1c0,col:_0x3f2888}=_0x2fa11f[_0x52a525(0x412)];if(_0x49e751===_0x305667['unitId']&&_0x227fff===_0x305667[_0x52a525(0x2fa)]){const _0x1cd054=_0x2fa876[_0x52a525(0x4bd)](_0x35f1c0,_0x3f2888);if(_0x2fa876['Rectangle'][_0x52a525(0x2ed)](_0x1cd054,_0x5ddd27)){const _0x3c7af1=_0x35f1c0-_0x5ddd27[_0x52a525(0x340)],_0x52d6f7=_0x3f2888-_0x5ddd27[_0x52a525(0x3e4)],_0x4d4315={'row':_0x5d6c3a[_0x52a525(0x340)]+_0x3c7af1,'col':_0x5d6c3a[_0x52a525(0x3e4)]+_0x52d6f7};_0x1cc241[_0x52a525(0x296)]({'id':_0x1de3f8['id'],'params':{'unitId':_0x49e751,'subUnitId':_0x227fff,'pivotTableId':_0x334da7,'targetCellPosition':_0x4d4315}}),_0x276dd9[_0x52a525(0x296)]({'id':_0x1de3f8['id'],'params':{'unitId':_0x49e751,'subUnitId':_0x227fff,'pivotTableId':_0x334da7,'targetCellPosition':{'row':_0x35f1c0,'col':_0x3f2888}}});const _0x20ccfc=_0x4d4315[_0x52a525(0x213)]-_0x35f1c0,_0x55818c=_0x4d4315[_0x52a525(0x38d)]-_0x3f2888,_0x2a31f9=[],_0xc07a69=this[_0x52a525(0x24c)][_0x52a525(0x2d5)](_0x49e751,_0x227fff,_0x334da7),_0x10e5b6=_0xc07a69==null?void 0x0:_0xc07a69[_0x52a525(0x38f)];if(_0x10e5b6){Object[_0x52a525(0x31e)](_0x10e5b6)[_0x52a525(0x4c2)](_0x5a6ca8=>{const _0x373191=_0x52a525;_0x10e5b6[_0x5a6ca8][_0x373191(0x4c2)](_0x1e3a12=>{const _0x57c484=_0x373191,_0x52eb0c={..._0x1e3a12};_0x52eb0c[_0x57c484(0x340)]=_0x1e3a12[_0x57c484(0x340)]+_0x20ccfc,_0x52eb0c[_0x57c484(0x2d0)]=_0x1e3a12[_0x57c484(0x2d0)]+_0x20ccfc,_0x52eb0c[_0x57c484(0x3e4)]=_0x1e3a12[_0x57c484(0x3e4)]+_0x55818c,_0x52eb0c[_0x57c484(0x315)]=_0x1e3a12[_0x57c484(0x315)]+_0x55818c,_0x2a31f9['push'](_0x52eb0c);});});const _0x5ed8ca=this[_0x52a525(0x46e)]['generateMutationsByRanges']({'unitId':_0x49e751,'subUnitId':_0x227fff,'ranges':_0x2a31f9});_0x1cc241['push'](..._0x5ed8ca[_0x52a525(0x390)]),_0x276dd9['push'](..._0x5ed8ca[_0x52a525(0x443)]);const _0x11269e=_0x10af34(this['_injector'],_0x49e751,_0x227fff,_0x2a31f9);_0x11269e[_0x52a525(0x3b8)]&&(_0x1cc241['push'](_0x11269e[_0x52a525(0x3a4)]),_0x276dd9['push'](_0x11269e[_0x52a525(0x32d)]));}}}}return{'redos':_0x1cc241,'undos':_0x276dd9};}};_0x27855c=_0x2f1c57([_0x32f550(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['Injector'])),_0x32f550(0x1,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x25e)])),_0x32f550(0x2,_0x2fa876[_0x32a484(0x41b)]),_0x32f550(0x3,_0x2fa876[_0x32a484(0x361)]),_0x32f550(0x4,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x32f550(0x5,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x404)])),_0x32f550(0x6,_0x2fa876['Inject'](_0x30840c['SheetInterceptorService']))],_0x27855c);var _0x17babc=Object[_0x32a484(0x48e)],_0x31f278=(_0x166476,_0x49627a,_0x330d19,_0x7c322)=>{const _0x2541d3=_0x32a484;for(var _0x1a7b12=_0x7c322>0x1?void 0x0:_0x7c322?_0x17babc(_0x49627a,_0x330d19):_0x49627a,_0x3c428f=_0x166476[_0x2541d3(0x249)]-0x1,_0x2aee7f;_0x3c428f>=0x0;_0x3c428f--)(_0x2aee7f=_0x166476[_0x3c428f])&&(_0x1a7b12=_0x2aee7f(_0x1a7b12)||_0x1a7b12);return _0x1a7b12;},_0x22366b=(_0x5d5307,_0x596f9f)=>(_0x45923b,_0x85b9ca)=>_0x596f9f(_0x45923b,_0x85b9ca,_0x5d5307);let _0x4e32d3=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x76036c,_0x246eec){const _0x609f78=_0x32a484;super(),this[_0x609f78(0x46e)]=_0x76036c,this[_0x609f78(0x287)]=_0x246eec,this[_0x609f78(0x1d9)]();}[_0x32a484(0x1d9)](){const _0x475a3c=_0x32a484;this[_0x475a3c(0x327)](this[_0x475a3c(0x46e)][_0x475a3c(0x3f0)]({'getMutations':_0x59ec1d=>{const _0x1e413d=_0x475a3c;if(_0x59ec1d['id']===_0x30840c[_0x1e413d(0x25c)]['id']){const _0x3085e6=[],_0x4fcb92=[],_0x527785=_0x59ec1d['params'],{unitId:_0x410f24,subUnitId:_0x128b13}=_0x527785;if(!_0x410f24||!_0x128b13)return{'undos':_0x4fcb92,'redos':_0x3085e6};const _0x465d30=this[_0x1e413d(0x287)][_0x1e413d(0x40b)](_0x410f24,_0x128b13);if(_0x465d30!=null&&_0x465d30[_0x1e413d(0x40c)])for(const [_0x3c8fe6,_0x1e0b69]of _0x465d30){_0x3085e6[_0x1e413d(0x296)]({'id':_0xe28166['id'],'params':{'unitId':_0x410f24,'subUnitId':_0x128b13,'pivotTableId':_0x3c8fe6}});const _0x31af81={...this['_sheetsPivotTableConfigModel'][_0x1e413d(0x336)](_0x410f24,_0x3c8fe6)};_0x4fcb92[_0x1e413d(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x410f24,'subUnitId':_0x128b13,'pivotTableId':_0x3c8fe6,'pivotTableConfig':_0x1e0b69,'collectionConfig':_0x31af81}});}return{'redos':_0x3085e6,'undos':_0x4fcb92};}return{'redos':[],'undos':[]};}}));}};_0x4e32d3=_0x31f278([_0x22366b(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0x22366b(0x1,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)]))],_0x4e32d3);var _0x408ed7=Object['getOwnPropertyDescriptor'],_0x4cea7b=(_0x251b15,_0x44ff70,_0x430cc1,_0x42469c)=>{for(var _0x59c705=_0x42469c>0x1?void 0x0:_0x42469c?_0x408ed7(_0x44ff70,_0x430cc1):_0x44ff70,_0x5051bf=_0x251b15['length']-0x1,_0x34f6aa;_0x5051bf>=0x0;_0x5051bf--)(_0x34f6aa=_0x251b15[_0x5051bf])&&(_0x59c705=_0x34f6aa(_0x59c705)||_0x59c705);return _0x59c705;},_0x5322da=(_0x1bfe2,_0x3ad088)=>(_0x2d8c5f,_0x21c465)=>_0x3ad088(_0x2d8c5f,_0x21c465,_0x1bfe2);let _0xa8a020=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x299a20,_0x2af359,_0x3ed279,_0x5e2079,_0x38a48e,_0x535e5f){const _0x1c3034=_0x32a484;super(),this[_0x1c3034(0x4cf)]=_0x299a20,this[_0x1c3034(0x47f)]=_0x2af359,this[_0x1c3034(0x24c)]=_0x3ed279,this[_0x1c3034(0x287)]=_0x5e2079,this[_0x1c3034(0x4d0)]=_0x38a48e,this[_0x1c3034(0x2eb)]=_0x535e5f,this[_0x1c3034(0x461)](),this['registerDirtyService']();}[_0x32a484(0x461)](){const _0x22301d=_0x32a484;this[_0x22301d(0x327)](this['_commandService'][_0x22301d(0x448)](_0x3ae5c9=>{const _0x535234=_0x22301d;if(_0x3ae5c9['id']!==_0x195cb7['id'])return;const _0x100271=_0x3ae5c9[_0x535234(0x3ca)];this[_0x535234(0x47f)][_0x535234(0x482)](_0x100271);})),this[_0x22301d(0x327)](this[_0x22301d(0x4cf)]['onCommandExecuted'](_0x3acbfb=>{const _0x4ffcd5=_0x22301d;if(_0x3acbfb['id']===_0x38a7b1['id']){const _0x5986a3=_0x3acbfb[_0x4ffcd5(0x3ca)];if(_0x5986a3){const {unitId:_0xfca160,subUnitId:_0x21b95b,oldSubUnitId:_0x2a49d2,pivotTableId:_0x3a9975,pivotTableConfig:_0x941049,collectionConfig:_0x493465}=_0x5986a3;this['_sheetsPivotTableConfigModel'][_0x4ffcd5(0x3a5)](_0xfca160,_0x2a49d2,_0x5986a3[_0x4ffcd5(0x3eb)],null),this[_0x4ffcd5(0x287)][_0x4ffcd5(0x3a5)](_0xfca160,_0x21b95b,_0x3a9975,_0x941049),this[_0x4ffcd5(0x287)][_0x4ffcd5(0x2db)](_0xfca160,_0x493465);}}})),this[_0x22301d(0x327)](this[_0x22301d(0x4cf)][_0x22301d(0x448)](_0x59800d=>{const _0x4005f9=_0x22301d;if(_0x59800d['id']!==_0x444296['id'])return;const _0x4b14ba=_0x30840c[_0x4005f9(0x279)](this[_0x4005f9(0x4d0)]);if(!_0x4b14ba)return;const {unitId:_0x3d06fe,subUnitId:_0x33e548}=_0x4b14ba,_0x55a242=_0x59800d[_0x4005f9(0x3ca)];if(_0x55a242[_0x4005f9(0x4de)]&&Object[_0x4005f9(0x31e)](_0x55a242[_0x4005f9(0x4de)])[_0x4005f9(0x4c2)](_0x28583b=>{const _0xa6fc9a=_0x4005f9;var _0x51f175;(_0x51f175=_0x55a242['collectionConfig'])!=null&&_0x51f175[_0x28583b]&&this[_0xa6fc9a(0x287)][_0xa6fc9a(0x2db)](_0x28583b,_0x55a242[_0xa6fc9a(0x4de)][_0x28583b]);}),_0x55a242[_0x4005f9(0x4cc)]){const _0x1d8d28=_0x55a242[_0x4005f9(0x4cc)],{unitId:_0x573cc9,subUnitId:_0x573340,view:_0x25f041,pivotTableId:_0x2f40ae,type:_0x56a61a,pivotConfig:_0x1b3209}=_0x1d8d28;if(_0x56a61a===_0x477731[_0x4005f9(0x3df)])this[_0x4005f9(0x24c)][_0x4005f9(0x36d)]({'unitId':_0x573cc9,'subUnitId':_0x573340,'pivotTableId':_0x2f40ae,'type':_0x56a61a}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x573cc9,_0x573340,_0x2f40ae,null);else{const _0x39c132=new _0x33417a[(_0x4005f9(0x22b))]();_0x39c132[_0x4005f9(0x298)](_0x25f041),this[_0x4005f9(0x287)][_0x4005f9(0x3a5)](_0x573cc9,_0x573340,_0x2f40ae,_0x1b3209),this['_sheetsPivotTableAdaptorModel'][_0x4005f9(0x36d)]({'unitId':_0x573cc9,'subUnitId':_0x573340,'pivotTableId':_0x2f40ae,'type':_0x56a61a,'view':_0x39c132}),this[_0x4005f9(0x24c)]['updateRenderCache']({'unitId':_0x573cc9,'subUnitId':_0x573340,'view':_0x39c132,'pivotTableId':_0x2f40ae,'type':_0x56a61a});}}else _0x55a242[_0x4005f9(0x2ff)]&&(_0x55a242[_0x4005f9(0x2ff)]['forEach'](_0x26f5f6=>{const _0x9951b9=_0x4005f9,{unitId:_0x5bac54,subUnitId:_0x3e15eb,view:_0x3df141,pivotTableId:_0x56ba40,type:_0x56e6a4,pivotConfig:_0x534760}=_0x26f5f6,_0x440878=new _0x33417a['PivotView']();_0x440878['formJSON'](_0x3df141),this[_0x9951b9(0x287)][_0x9951b9(0x3a5)](_0x5bac54,_0x3e15eb,_0x56ba40,_0x534760),this['_sheetsPivotTableAdaptorModel'][_0x9951b9(0x492)]({'unitId':_0x5bac54,'subUnitId':_0x3e15eb,'view':_0x440878,'pivotTableId':_0x56ba40,'type':_0x56e6a4});}),this['_sheetsPivotTableConfigModel'][_0x4005f9(0x225)]());this[_0x4005f9(0x24c)]['markDirty'](_0x3d06fe,_0x33e548);}));}[_0x32a484(0x1f7)](){const _0x4f7f4e=_0x32a484;this[_0x4f7f4e(0x2eb)][_0x4f7f4e(0x43f)](_0x322618['id'],{'commandId':_0x322618['id'],'getDirtyData'(_0x10762e){const _0x3b3391=_0x4f7f4e;return{'dirtyUnitFeatureMap':_0x10762e[_0x3b3391(0x3ca)]};}});}};_0xa8a020=_0x4cea7b([_0x5322da(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x41b)])),_0x5322da(0x1,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x3af)])),_0x5322da(0x2,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x404)])),_0x5322da(0x3,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x5322da(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x5322da(0x5,_0x196a8d[_0x32a484(0x3e7)])],_0xa8a020);var _0x1d531b=Object[_0x32a484(0x207)],_0x3ac881=Object['getOwnPropertyDescriptor'],_0x3b915a=(_0x4cb243,_0x5abd59,_0x592686)=>_0x5abd59 in _0x4cb243?_0x1d531b(_0x4cb243,_0x5abd59,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x592686}):_0x4cb243[_0x5abd59]=_0x592686,_0x5cc37f=(_0x2707ca,_0x146679,_0x14fb28,_0xa219fb)=>{for(var _0x2a0063=_0xa219fb>0x1?void 0x0:_0xa219fb?_0x3ac881(_0x146679,_0x14fb28):_0x146679,_0x296a18=_0x2707ca['length']-0x1,_0x474155;_0x296a18>=0x0;_0x296a18--)(_0x474155=_0x2707ca[_0x296a18])&&(_0x2a0063=_0x474155(_0x2a0063)||_0x2a0063);return _0x2a0063;},_0x587dd9=(_0x53bc60,_0x34f171)=>(_0x3b4837,_0x4ea5e3)=>_0x34f171(_0x3b4837,_0x4ea5e3,_0x53bc60),_0x5afdc8=(_0x283526,_0x684b07,_0x1b42c3)=>_0x3b915a(_0x283526,typeof _0x684b07!=_0x32a484(0x3fb)?_0x684b07+'':_0x684b07,_0x1b42c3);_0xd0af73[_0x32a484(0x1db)]=class extends _0x2fa876[_0x32a484(0x2b7)]{constructor(_0x2d9b84=_0x876202,_0x29b9e2,_0x319750,_0x30a925,_0xb3299d){const _0x5cdef9=_0x32a484;super(),this[_0x5cdef9(0x31a)]=_0x2d9b84,this[_0x5cdef9(0x42f)]=_0x29b9e2,this[_0x5cdef9(0x4cf)]=_0x319750,this[_0x5cdef9(0x3bd)]=_0x30a925,this[_0x5cdef9(0x4c8)]=_0xb3299d;const {..._0x43522a}=_0x2fa876[_0x5cdef9(0x405)]({},_0x876202,this['_config']);this[_0x5cdef9(0x3bd)][_0x5cdef9(0x386)](_0x2d6051,_0x43522a),this['_initRegisterCommand'](),this[_0x5cdef9(0x2c4)]();}[_0x32a484(0x2c4)](){const _0x2f0cda=_0x32a484;var _0x383593;const _0x5bdc87=(_0x383593=this['_config'])==null?void 0x0:_0x383593[_0x2f0cda(0x4e0)];this[_0x2f0cda(0x3bd)]['setConfig'](_0x51f97f,_0x5bdc87===!0x0);}[_0x32a484(0x3f7)](){const _0x14f33c=_0x32a484;var _0x58cde5;let _0x346cf6=[];const _0xde7789=(_0x58cde5=this[_0x14f33c(0x31a)])==null?void 0x0:_0x58cde5[_0x14f33c(0x4e0)];_0xde7789===!0x0?_0x346cf6=[[_0xd0af73[_0x14f33c(0x21f)]],[_0xd0af73[_0x14f33c(0x3af)]],[_0xa8a020],[_0xd0af73[_0x14f33c(0x404)]],[_0xd0af73[_0x14f33c(0x32b)]],[_0x4e32d3],[_0x59d811],[_0x27855c],[_0x2626a1]]:_0xde7789===!0x1?_0x346cf6=[[_0xd0af73[_0x14f33c(0x255)]],[_0x5da108]]:_0xde7789===void 0x0&&(_0x346cf6=[[_0xd0af73[_0x14f33c(0x255)]],[_0x5da108],[_0xd0af73['SheetsPivotTableService']],[_0xd0af73[_0x14f33c(0x3af)]],[_0xa8a020],[_0xd0af73[_0x14f33c(0x404)]],[_0xd0af73[_0x14f33c(0x32b)]],[_0x4e32d3],[_0x59d811],[_0x27855c],[_0x2626a1]]),_0x346cf6[_0x14f33c(0x4c2)](_0x26913c=>this[_0x14f33c(0x42f)]['add'](_0x26913c)),[_0x5da108,_0xa8a020,_0xd0af73[_0x14f33c(0x21f)],_0x59d811,_0x4e32d3,_0x27855c,_0x2626a1][_0x14f33c(0x4c2)](_0x4b60bf=>{const _0x1389da=_0x14f33c;this['_injector'][_0x1389da(0x290)](_0x4b60bf)&&this['_injector'][_0x1389da(0x3fc)](_0x4b60bf);});}['_initRegisterCommand'](){const _0x337dcd=_0x32a484;[_0x500188,_0x15728c,_0x2d335d,_0x4cb5ef,_0x429f9b,_0x114525,_0x51b8e0,_0xef2bc4,_0x559985,_0x10b4bf,_0x1a8f8f,_0xe923e7,_0x35a97c,_0x3c4350,_0x22c246,_0x502ff1,_0xe28166,_0x2b9c30,_0x1b9e99,_0xf85d51,_0x540b6c,_0xabb6f3,_0x5cf91e,_0x20aabe,_0x3b5bf2,_0x3e8bcd,_0x1de3f8,_0x12d10f,_0x195cb7,_0x444296,_0x29c946,_0x16697b,_0x549329,_0x149f91,_0x3e71e4,_0x22cd86,_0x10d193,_0x322618,_0x38a7b1,_0x29b10f,_0xa23cd8,_0x260d7f,_0x34b67e][_0x337dcd(0x4c2)](_0x8250b2=>{const _0x4ce967=_0x337dcd;var _0x4abf5e;(_0x4abf5e=this[_0x4ce967(0x4c8)])==null||_0x4abf5e[_0x4ce967(0x267)](_0x8250b2),this['_commandService']['registerCommand'](_0x8250b2);});}},_0x5afdc8(_0xd0af73['UniverSheetsPivotTablePlugin'],_0x32a484(0x36b),_0x1a68df),_0x5afdc8(_0xd0af73[_0x32a484(0x1db)],_0x32a484(0x38a),_0x2fa876['UniverInstanceType'][_0x32a484(0x28a)]),_0xd0af73['UniverSheetsPivotTablePlugin']=_0x5cc37f([_0x2fa876[_0x32a484(0x418)](_0x4baa44['UniverLicensePlugin']),_0x587dd9(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x587dd9(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['ICommandService'])),_0x587dd9(0x3,_0x2fa876['IConfigService']),_0x587dd9(0x4,_0x2fa876['Optional'](_0x52ef50['DataSyncPrimaryController']))],_0xd0af73[_0x32a484(0x1db)]),_0xd0af73[_0x32a484(0x41f)]=_0x2d335d,_0xd0af73['AddPivotFieldMutation']=_0x2b9c30,_0xd0af73[_0x32a484(0x43d)]=_0x15728c,_0xd0af73['AddPivotTableMutation']=_0x22c246,_0xd0af73[_0x32a484(0x1e3)]=_0x500188,_0xd0af73['BLANK_ROW_COUNT']=_0x4814ba,_0xd0af73['DEFAULT_PIVOT_NUMBER']=_0x1c1f87,_0xd0af73['MovePivotFieldCommand']=_0x4cb5ef,_0xd0af73[_0x32a484(0x3dc)]=_0x35a97c,_0xd0af73[_0x32a484(0x2c9)]=_0x1ce851,_0xd0af73[_0x32a484(0x2ba)]=_0x3c4350,_0xd0af73['PivotTableOperationEnum']=_0x477731,_0xd0af73['PivotTableViewDirtyMarkOperation']=_0x322618,_0xd0af73[_0x32a484(0x2df)]=_0x323c52,_0xd0af73[_0x32a484(0x474)]=_0x429f9b,_0xd0af73['RemovePivotFieldMutation']=_0xabb6f3,_0xd0af73[_0x32a484(0x2fe)]=_0xe28166,_0xd0af73[_0x32a484(0x45c)]=_0x5cf91e,_0xd0af73[_0x32a484(0x1f0)]=_0x34b67e,_0xd0af73[_0x32a484(0x2e0)]=_0x2d6051,_0xd0af73[_0x32a484(0x436)]=_0x1a68df,_0xd0af73[_0x32a484(0x30d)]=_0xef2bc4,_0xd0af73[_0x32a484(0x281)]=_0x20aabe,_0xd0af73[_0x32a484(0x32c)]=_0x149f91,_0xd0af73['SetPivotFieldsConfigCommand']=_0x260d7f,_0xd0af73[_0x32a484(0x348)]=_0x10b4bf,_0xd0af73['SetPivotFilterMutation']=_0x540b6c,_0xd0af73['SetPivotOptionMutation']=_0x3e8bcd,_0xd0af73['SetPivotPositionMutation']=_0x1de3f8,_0xd0af73[_0x32a484(0x3b6)]=_0x559985,_0xd0af73['SetPivotSortMutation']=_0x3b5bf2,_0xd0af73[_0x32a484(0x338)]=_0x549329,_0xd0af73[_0x32a484(0x478)]=_0x29b10f,_0xd0af73[_0x32a484(0x406)]=_0xa23cd8,_0xd0af73['UpdateDateGroupCommand']=_0x51b8e0,_0xd0af73[_0x32a484(0x3e5)]=_0x29c946,_0xd0af73['UpdatePivotFieldSettingCommand']=_0x1a8f8f,_0xd0af73[_0x32a484(0x1f1)]=_0x10d193,_0xd0af73['UpdatePivotTableSourceRangeCommand']=_0xe923e7,_0xd0af73[_0x32a484(0x420)]=_0x22cd86,_0xd0af73[_0x32a484(0x42b)]=_0x114525,_0xd0af73['UpdateValuePositionMutation']=_0x16697b,_0xd0af73['applyChangeSet']=_0x5706b0,_0xd0af73[_0x32a484(0x259)]=_0x63db07,_0xd0af73[_0x32a484(0x215)]=_0x226288,_0xd0af73[_0x32a484(0x331)]=_0x10af34,_0xd0af73['getAdjustRangesPosition']=_0x47957b,_0xd0af73[_0x32a484(0x391)]=_0xee0526,_0xd0af73[_0x32a484(0x30e)]=_0x19b65e,_0xd0af73['getInsertRowColMutations']=_0x36c3d6,_0xd0af73[_0x32a484(0x44d)]=_0x5894c7,_0xd0af73[_0x32a484(0x375)]=_0x2d207d,_0xd0af73[_0x32a484(0x446)]=_0x4dd84c,_0xd0af73[_0x32a484(0x3be)]=_0x27d4ee,_0xd0af73[_0x32a484(0x487)]=_0x3fcd7b,Object[_0x32a484(0x207)](_0xd0af73,Symbol[_0x32a484(0x490)],{'value':_0x32a484(0x288)});}));function _0xfab3(){const _0x10ee1c=['getColumnCount','PivotDateGroupFieldDateTypeEnum','unionPivotViewRange','RemoveSheetsFilterMutation','_globalSubject','ObjectMatrix','workbook\x20is\x20not\x20found','version','_globalComputedStartHelpFunc','getOwnPropertyDescriptor','adjustSheetCellData','toStringTag','Year','updateRenderCache','getSheetBySheetId','STRING','_localeService','parse','GlobalConfig','_collectionChange$','sheets.tabs.sheet','sheet.command.reset-pivot-fields-config','sheet.mutation.send-init-pivot-text-local','getDataFieldId','_initClearSelectionCommandInterceptor','rangeCache','function','intercept','setSourceName','setPivotTableConfig','Inject','sheet.mutation.set-pivot-sort-info','Value','floor','valueFilter','getFieldCountByArea','getFieldById','getTargetByPivotId','toJSON','grandTotal','disposableCollection','_resourceManagerService','getMonth','h9x3Kbtx\x20gF3T6JKbtx(Hb3FxCF,\x20J9OHb3GF6)\x20{\x20\x20\x20\x20KT6\x20{\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20Hb3FxCFAxhtnDTKNTTD6\x20=\x20Hb3FxCF.CJHbK(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20tTbwbxfFCCDwF\x20=\x20mE7R.JDTCF(DKtO(Hb3FxCFAxhtnDTKNTTD6[c]));\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!tTbwbxfFCCDwF.9g)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tTbwbxfFCCDwF.9g\x20=\x20R9POFT(Hb3FxCFAxhtnDTKNTTD6[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20bCytTvFT\x20=\x20K6JFth\x20ytTvFTkHtODHE3tJF\x20!==\x20\x279xgFhbxFg\x27\x20&&\x20CFHh\x20bxCKDx3Fth\x20ytTvFTkHtODHE3tJF;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x203txKFYK\x20=\x20bCytTvFT\x20?\x20CFHh\x20:\x20ubxgtu;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[c]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(PFCCDwFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[s]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(CbwxDK9TFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxlDHbg\x20=\x203txKFYK.__IFTbh6__(CbwxDK9TF,\x20PFCCDwF,\x20J9OHb3GF6);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20gtPDbx\x20=\x20tTbwbxfFCCDwF.gP;\x20\x20\x20\x20\x20\x20\x20\x20h9x3Kbtx\x20bCVtPDbxfDK3qbxw(tnDKKFTx,\x20trtCK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTx\x20=\x20tnDKKFTx.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCK\x20=\x20trtCK.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxnDTKC\x20=\x20JDKKFTx.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKnDTKC\x20=\x20qtCK.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!JDKKFTx.bx3H9gFC(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTx\x20===\x20qtCK;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(JDKKFTxnDTKC.HFxwKq\x20<\x20c\x20||\x20JDKKFTxnDTKC[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20hDHCF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxE9hhbY\x20=\x20JDKKFTxnDTKC.CHb3F(p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKE9hhbY\x20=\x20qtCKnDTKC.CHb3F(-JDKKFTxnDTKC.HFxwKq\x20+\x20p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTxE9hhbY\x20===\x20qtCKE9hhbY;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HFK\x20gtPDbxlDHbg\x20=\x20(gtPDbx\x20&&\x20gtPDbx.HFxwKq)\x20?\x20gtPDbx.CtPF((gPAKFP)\x20=>\x20bCVtPDbxfDK3qbxw(gPAKFP,\x20Ht3DKbtx.qtCKxDPF))\x20:\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(Ht3DKbtx.qtCKxDPF\x20===\x20\x27Ht3DHqtCK\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gtPDbxlDHbg\x20=\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20IDHbg\x20=\x20CbwxlDHbg\x20&&\x20gtPDbxlDHbg;\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20tTbwbxfFCCDwF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x203DK3q\x20(FTTtT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg:\x20hDHCF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','viewData$','getIndexesByPathStr','updatePivotSource','getRowCount','978795dCpFQB','getDataFieldManager','_initViewModelBySheetInterceptor','call','replace','rxjs','refreshGroupField','PivotSubtotalTypeEnum','cellToRange','dimension','Grand\x20Total','SetPivotCollapse','startCollectChangeset','forEach','@univerjs/sheets-filter','getColCount','InsertColMutation','getDataFieldBySourceName','getFieldInfo','_dataSyncPrimaryController','colStyle','asyncInterceptor','queryDirtyPivotTable','single','2dKADib','12CHalst','_commandService','_univerInstanceService','NO_COMMERCIAL','name','SetPivotSort','valueIndex','leafStyle','_subjectFieldsCollectionChange','rangeKeyMap','deleteUnitId','fields','_initPivotDataGetListener','(Blank)','FieldsCollection','Disposable','collectionConfig','cornerStyle','notExecuteFormula','FORCE_STRING','collections','Expand','_updateModelCache','#1d32e9','handleSourceRangeChange','addField','sheet.mutation.send-pivot-view-local','@univerjs/engine-formula','_viewUpdate$','Hour','measure','isDate','_ensurePivotTableRangeInfo','varp','Column','ErrorType','_viewData','_initRemoveSheetCommandInterceptor','sheet.command.set-pivot-collapse','UniverSheetsPivotTablePlugin','_textInfo','Max\x20of\x20','minDate','getValueIndex','_ensurePivotMap','InsertSheetUndoMutationFactory','DateGroupField','AddPivotTableWithConfigCommand','getUnit','getDirtyInfo','SetPivotFilter','values','level','sum','sheets-pivot.minName','colInfo','getFormat','sheets-pivot.cellDateGroupDisplay.minute','sheet.mutation.remove-group-collection','Product\x20of\x20','ResetPivotFieldsConfigCommand','UpdatePivotFieldSourceInfoMutation','addPivotTableWithConfig','versions','iterateFieldByArea','_updatePivotTableInstanceCache','range','registerDirtyService','slice','max','getAutoFitColumnsMutations','updateConfig','removeCollections','sheets-pivot.emptyPivot.column','isFeatureAuthorizedWithinTime','getGroupFieldsInfoByIds','New','format','custom','getFullYear','getMatrix','sheet.mutation.pivot-update-field-source-info','areaInfo','defineProperty','_lifecycleService','_toJSON','sheet.operation.pivot-table-view-formula-mark-dirty','addCollectionByJSON','setPivotSort','message','min','sheet.command.set-pivot-filter','result','unitId','sheet.mutation.get-pivot-data-local','row','FontCache','defaultThemeStyle','UniverRpc','broadcastCollectionChange','sourceRangeInfo','CELL_CONTENT','_sheetsPivotTableService','sortInfo','sheets-pivot.emptyPivot.values','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','iterateFieldDim','SheetsPivotTableService','SetValuePivotFilter','dataRangeInfo','uniqueDataFieldName','_onRefRangeChange','SetSubtotalType','setPivotInitCompleted','#eceeff','sheets-pivot.cellDateGroupDisplay.yearMonthDate','updateViewInfo','addFieldWithSourceId','rowRanges','PivotView','colHeaderMap','getName','pbt','RemoveSheetMutation','registerPluginResource','_pivotConfigChange$','fromJSON','getformat','setSortInfo','pushComputingStatusSubject','getDate','colRanges','generateNewSheetName','updateView','subTotalStyle','blank','dataFields','setPivotSetting','RemoveField','@univerjs/core','deleteDataField','AddPivotTableWithConfig','sheets-pivot.cellDateGroupDisplay.yearQuarter','rgb(255,255,255)','getId','PivotFilterTypeEnum','getIntersectsPivotTable','fetchThroughInterceptors','_initPivotTextInfo','length','setValueFilterInfo','createInterceptorKey','_sheetsPivotTableAdaptorModel','contains','sheet.command.pivot-drill-down','executeCommand','getValue','setDisplayName','updateFieldPosition','setSubtotalType','addRecord','SheetsPivotDataSourceModel','_collectionConfigModel','updatePivotTableRangeInfo','MAX_SAFE_INTEGER','canUsePivot','Subject','getHeaderMapItem','RemoveSheetCommand','getCurrentSelections','RefRangeService','from','panel','Panel','_dataFieldManagerCollection','getPivotDisplayConfig','PivotDataFieldTypeEnum','getRangeData','paths','registerSyncingMutations','set','var','some','_updateRenderEmptyCache','sheet.mutation.send-pivot-data-local','rangeType','UpdateFieldPosition','getAutoDisplayName','sheets-pivot.productName','setName','addDirtyPivotTable','SetCollapse','SetRangeValuesUndoMutationFactory','registerRefRange','rowInfo','stringify','serializeRangeWithSpreadsheet','getSheetCommandTarget','setCollapse','getLastCol','fontRenderExtension','oldRangeInfo','updateRangeKeyMap','setDateType','setValue','SetPivotCollapseMutation','new','PivotDataFieldDataTypeEnum','getValueFilterInfos','charCodeAt','bind','_sheetsPivotTableConfigModel','Module','Existing','UNIVER_SHEET','getConfig','value','Minute','PivotTable','getPivotTableModelConfig','has','sheets-pivot.cellDateGroupDisplay.month','setPivotTable','iterateField','SetSheetsFilterRangeMutation','colCount','push','sheet.mutation.rename-pivot-field','formJSON','getFieldFormat','YearMonth','StdDev\x20of\x20','_initLocale','getFieldIds','sheets-pivot.dateGroup.yearMonth','598399PDzaPh','map','includes','getAutoDisplayNameFunction','random','deepClone','#e6ebfa','prototype','_ensureViewDataMap','INTERCEPTOR_POINT','sheet.mutation.set-pivot-filter','sheets-pivot.grandTotal','AsyncInterceptorManager','generateMutationsByRanges','sheets-pivot.averageName','endCollectChangeset','createCollectionWithDataRange','_getPivotAppliedRanges','countNums','foreach','getDisplayName','getFieldDataType','sheets-pivot.dateGroup.monthDate','NUMBER','Plugin','_subjectCollectionChange','sheet.mutation.add-pivot-field','PivotDrillDownCommand','getStyles','splice','realDeleteValue','Var\x20of\x20','update','getTargetByPivotTableId','leftOffset','setLabelFilterInfo','sheets-pivot.dateGroup.minute','_initConfig','numfmt','filter','document','dateGroupField','PivotDisplayDataType','getSheetId','getRangeKeyList','getFilterInfo','getSheetBySheetName','sheet.mutation.send-pivot-config-local','toString','endRow','SetOptions','forRow','sheet.command.add-pivot-field','getPivotTableIdByCell','getPivotItemRenderInfoCache','_pivotTableMatrixInfo','rangeKey','#b2b2b2','getPivotDirtyViewInfo','IResourceManagerService','updateCollectionConfig','sheets-pivot.cellDateGroupDisplay.year','getDataFieldByTableId','exports','PositionType','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','getInterceptPoints','getRefRangeMutationsByMoveRange','SetPivotTableConfig','sheet.command.remove-pivot-field','getRangeKey','_model','_requestResolvers','_initSnapshot','getPivotTableConfig','limit\x20pivot','_activeDirtyManagerService','UniverSheetsFilter','intersects','SetFieldFormat','sheet.mutation.add-group-collection','sheet.command.set-pivot-sort','MonthDate','filterInfo','removeSourceRangeChange','PivotErrorTypeEnum','substring','CommandType','columnFields','PivotMultipleValueId','isErrorValue','subUnitId','ManualFilter','ResetPivotTable','pivotTableConfigs','RemovePivotTableMutation','batch','dataFieldManagerConfig','6296072ctdZxL','headerMap','_featureCalculationManagerService','Injector','sheet.mutation.pivot-update-field-position','sheet.mutation.set-pivot-collapse','PivotCellStyleTypeEnum','add','number','setFieldFormat','other','sheet.mutation.set-pivot-field-subtotal-type','SetPivotCollapseCommand','getFieldListByArea','addPivotTable','sheets-pivot.columnName','getPivotTableCellData','UniverProLicense','UniverProSheetsPivot','PivotTableValuePositionEnum','endColumn','createAsyncInterceptorKey','_sheetsSelectionsService','sheets-pivot.blank','removeDataField','_config','DataField','_getAutoName','pivotInitCompleted$','keys','pageRanges','updateViewData','PivotTableFiledAreaEnum','removeValueFilterInfoByValueFieldId','fetchThroughAsyncInterceptors','_deleteModelCache','reset','isDateGroupField','disposeWithMe','updateDataFieldsCollection','sheetName','setOptions','SheetsPivotTableConfigModel','SetPivotFieldFormatMutation','setRangeValueUndoMutation','getTextInfo','#FFFFFF','registerCallbackWithEvent','generateSetRangeValueMutations','subscribe','getPivotPerformCheck','textInfo','originalFieldId','getCollection','ReleaseType','SetPivotSubtotalTypeMutation','RemovePivotField','Range','onQueryEnd','SetFilterInfo','DrillDown','isDateGroupFieldJSON','collapseInfo','startRow','query','_generateUniqueVersion','subtotal','resetPivotTable','sheet.command.add-pivot-table-with-config','SHEET_PIVOT_EXCLUSIVE_ID','getCurrentUnitForType','SetPivotFilterCommand','Row','_sheetsPivotDataSourceModel','getRangeStartEndInfo','updateValuePosition','pushUndoRedo','Quarter','body','sheet.command.add-pivot-table','MoveRangeCommand','_subjectViewChange','setPivotCollapse','createDataFieldId','addDataFieldWithoutUnitInfo','setRangeKeyMap','AddPivotField','Total','_ensurePivotTableMatrixInfo','RemoveColMutation','generateHexNumber','removeCollectionImp','SetRangeValuesMutation','rowHeaderMap','_queryingMap','dataFieldsCollection','IUniverInstanceService','sheets-pivot.varpName','fieldsCollectionChange$','getLastRow','_refRangeService','dispose','originTargetInfo','getUpdateRangeDeleteIds','pivotConfigChange$','getSheets','pluginName','_createExclusiveRange','clearRenderCache','getActiveSheet','_pivotTableInstanceCache','getPivotTableMatrixInfo','matrix','isBaseGroupField','string','sheets-pivot.dateGroup.yearMonthDate','getPivotInfoByLicense','UniverInstanceType','options','_markDirty$','UpdatePivotSource','DataFieldManager','sheet.mutation.add-pivot-table','3vmrSVl','stdDevp','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.dateGroup.yearQuarter','sheets-pivot.varName','refreshData','handleMoveRange','UniverSheets','isText','addPivotField','setConfig','COMMAND','SHEET_PIVOT_IN_MAIN_THREAD','oldMatrix','type','_exclusiveRangeService','sheets-pivot.countNumsName','col','setPivotFilter','rangesInfo','redos','getEmptyPivotRanges','getPivotTableRangeInfo','CellValueType','Count\x20of\x20','NORMAL','sheet.command.update-date-group','MovePivotField','concat','amd','_refRangeHandle','Subtotal','generateRandomId','parseInt','DEFAULT_WORKSHEET_COLUMN_COUNT','renameField','SetPivotSetting','_ensurePivotItemRenderInfoCache','#f4f4f5','3135769XdrOUY','setRangeValueRedoMutation','updateConfigCache','token','isNaN','sheet.command.move-pivot-table','delete','existing','sheets-pivot.stdDevName','dataStyle','unshiftString','error','SheetsPivotRPCService','object','movePivotField','Rectangle','ptn','_pivotTableRangeInfo','isDateValue','SetPivotSortCommand','sheet.command.set-pivot-fields-config','shouldClear','HourMinute','UpdateValuePosition','_initUnitDisposed','IUndoRedoService','_configService','transFromCellValue','866160XUIBRP','getIntersects','fieldIds','MUTATION','deleteField','Values','getFilterFieldIdByIndex','@univerjs/sheets','addCollection','BadReference','rowCount','params','triggerDirtyFeature','CustomCommandExecutionError','count','_configVersion$','createLabelField','Filter','Date','LocaleService','getFieldPositionInfoById','pivotTableIndexConfig','AddPivotTable','valuePosition','getCellRaw','IExclusiveRangeService','sourceName','IConfigService','fieldId','MovePivotTableCommand','InsertSheetMutation','isValue','Delete','RenameField','getDataFieldByRangeKey','rowFields','YearMonthDate','startColumn','UpdateFieldPositionMutation','sequenceExecute','IActiveDirtyManagerService','generateNullCell','updateDirtyPivotTable','getCellMatrix','pivotTableId','SetSortInfo','forValue','addExclusiveRange','_host','interceptCommand','SheetInterceptorService','Tools','lastCol','sheets-pivot.cellDateGroupDisplay.yearMonth','cornerRanges','sheets-pivot.emptyPivot.row','onStarting','removeField','SetValueFilter','isEmpty','symbol','get','InterceptorEffectEnum','LS_CONFIG_KEY','average','\x20-\x20','Add','sheets-pivot.stdDevpName','sheet.mutation.update-date-group','SheetsPivotTableAdaptorModel','merge','SetPivotValueFilterMutation','tableFieldId','entries','782972hnupWx','refreshDataField','getSubUnitPivotConfigs','size','needSameDeleteModel','Average\x20of\x20','NotFunction','RANGE_TYPE','asObservable','targetCellInfo','sheets-pivot.dateGroup.month','valueFields','PIVOT_MUTATION_GENERATE','_globalComputingSrv','sheets-pivot.sumName','DependentOn','setRange','_pivotRenderValueMatrixCache','ICommandService','updatePivotTableMatrixInfo','unshift','1058440wPeaeK','AddPivotFieldCommand','UpdatePivotTableSourceRangeMutation','SetWorksheetColWidthMutation','dataFieldId','getSubtotal','sheet.mutation.pivot-update-value-position','column','filterFields','lastRow','removeValueFilterInfo','_fieldsCollectionChange$','getTextSize','UpdatePivotValuePositionCommand','UpdateSource','@univerjs-pro/license','_initCommandInterceptListener','_injector','_pivotRenderInfoCache','getSubUnitPivotRenderCache','UniverCore','sheet.mutation.set-pivot-value-filter','RemoveRowMutation','isArray','SHEET_PIVOT_TABLE_PLUGIN','date','prefix','PivotTableChangeTypeEnum','initDataRanges','tuple','YearQuarter','AddPivotTableCommand','GrandTotal','register','updateAllDisplayName','getSourceName','drillDown','undos','sheet.mutation.set-pivot-option','ΣValue','getPivotTableInfo','getTableFieldById','onCommandExecuted','Div0','_init','PivotViewCellValueTypeEnum','getDataFieldByDataFieldId','getPivotCellInfo','interceptor','displayName','valid','next','getDataFieldItemInfo','setDirty','setValuePivotFilter','_viewData$','pageStyle','sheets-pivot.other','REF','cornerInfo','getOriginFieldId','removePivotField','RenamePivotFieldMutation','setDataRecordCount','MIN_SAFE_INTEGER','info','mergeWorksheetSnapshotWithDefault','_initDataSendListener','sheets-pivot.cellDateGroupDisplay.quarter','pivotMutationGenerate','markDirty','getNoUsedDataFieldIds','getTypeOfUnitDisposed$','getSortInfo','getValuePosition','getViewData','DIV_BY_ZERO','Sum\x20of\x20','isBottomTotal','_pivotInitCompleted$','_sheetInterceptorService','node','rgb(240,241,243)','width','getUnitId','collection','RemovePivotFieldCommand','find','_globalComputedEndHelpFunc','getSheetFeatureLimit','SetPivotValueFilterCommand','LifecycleService','Set','getPivotTableInstance','return\x20','Month','updateFieldSourceInfo','_sheetsPivotRpcService','NAME','fieldsConfig','handleAsyncResponse','sheets-pivot.value','data'];_0xfab3=function(){return _0x10ee1c;};return _0xfab3();}
1
+ function _0x4d80(_0x425f89,_0x83d12b){const _0x39bfba=_0x39bf();return _0x4d80=function(_0x4d8066,_0x2fe267){_0x4d8066=_0x4d8066-0x1b3;let _0x3b7992=_0x39bfba[_0x4d8066];return _0x3b7992;},_0x4d80(_0x425f89,_0x83d12b);}(function(_0x2f5e41,_0x3e0e77){const _0x3c933b=_0x4d80,_0x3ecb84=_0x2f5e41();while(!![]){try{const _0x2aacac=-parseInt(_0x3c933b(0x1e2))/0x1*(parseInt(_0x3c933b(0x31b))/0x2)+-parseInt(_0x3c933b(0x3b4))/0x3*(parseInt(_0x3c933b(0x2af))/0x4)+parseInt(_0x3c933b(0x3ac))/0x5*(-parseInt(_0x3c933b(0x37b))/0x6)+parseInt(_0x3c933b(0x2d5))/0x7*(-parseInt(_0x3c933b(0x4a5))/0x8)+-parseInt(_0x3c933b(0x2e7))/0x9+parseInt(_0x3c933b(0x2d0))/0xa+parseInt(_0x3c933b(0x209))/0xb;if(_0x2aacac===_0x3e0e77)break;else _0x3ecb84['push'](_0x3ecb84['shift']());}catch(_0x1f5862){_0x3ecb84['push'](_0x3ecb84['shift']());}}}(_0x39bf,0xc1255),function(_0x3a4b21,_0x5c5189){const _0x17f332=_0x4d80;typeof exports==_0x17f332(0x32a)&&typeof module<'u'?_0x5c5189(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[_0x17f332(0x2d4)]?define([_0x17f332(0x28d),_0x17f332(0x1c5),_0x17f332(0x24b),_0x17f332(0x2b3),_0x17f332(0x317),_0x17f332(0x318),_0x17f332(0x210),'@univerjs/sheets-filter',_0x17f332(0x2e0),'@univerjs/engine-render'],_0x5c5189):(_0x3a4b21=typeof globalThis<'u'?globalThis:_0x3a4b21||self,_0x5c5189(_0x3a4b21['UniverProSheetsPivot']={},_0x3a4b21[_0x17f332(0x442)],_0x3a4b21[_0x17f332(0x4b0)],_0x3a4b21[_0x17f332(0x415)],_0x3a4b21[_0x17f332(0x4c5)],_0x3a4b21[_0x17f332(0x318)],_0x3a4b21[_0x17f332(0x205)],_0x3a4b21[_0x17f332(0x395)],_0x3a4b21['UniverRpc'],_0x3a4b21[_0x17f332(0x1f4)]));}(this,function(_0x1c1f68,_0x1861d8,_0x181393,_0x1a014a,_0x3e3843,_0x1731cb,_0x5cfca4,_0x579f41,_0x133a9c,_0x46c0ad){'use strict';const _0x4bf7c9=_0x4d80;var _0x59ca99=Object[_0x4bf7c9(0x25f)],_0x2969bd=(_0x2eaabe,_0x1f91ed,_0x48dd03)=>_0x1f91ed in _0x2eaabe?_0x59ca99(_0x2eaabe,_0x1f91ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48dd03}):_0x2eaabe[_0x1f91ed]=_0x48dd03,_0x3f85d0=(_0x3cf696,_0x25b68d,_0x46df45)=>_0x2969bd(_0x3cf696,typeof _0x25b68d!='symbol'?_0x25b68d+'':_0x25b68d,_0x46df45);const _0x5001aa=Number[_0x4bf7c9(0x1f7)](0x690dbe6e),_0x22f421=0x10,_0x3d1cb7=0x1,_0x24e5d3=_0x4bf7c9(0x3ed),_0x43ffd9=0x1,_0x39a2fe=_0x4bf7c9(0x24f),_0x3bfbc4=_0x4bf7c9(0x3a8),_0x35cfda='#b2b2b2',_0x233acb=_0x4bf7c9(0x42a),_0x48e5dd=_0x4bf7c9(0x42a),_0x4cddb7='#eceeff',_0x38298e=_0x4bf7c9(0x366),_0x31a8eb=_0x4bf7c9(0x344),_0x24505e='#e6ebfa',_0x171a0e=_0x4bf7c9(0x366),_0x24e83c=_0x4bf7c9(0x344),_0x336433=_0x4bf7c9(0x3b1),_0x20035a=0xe,_0x3efa32=0x6;var _0x34542f=(_0x2a4085=>(_0x2a4085[_0x4bf7c9(0x497)]='existing',_0x2a4085[_0x4bf7c9(0x1c9)]=_0x4bf7c9(0x20a),_0x2a4085))(_0x34542f||{});const _0x39e5af={'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':''}}},_0x23433f=0x1e,_0x4bb61a={'b':{'s':0x1,'cl':{'rgb':_0x35cfda}},'l':{'s':0x1,'cl':{'rgb':_0x35cfda}},'r':{'s':0x1,'cl':{'rgb':_0x35cfda}},'t':{'s':0x1,'cl':{'rgb':_0x35cfda}}},_0x2ffc39={'bg':{'rgb':_0x39a2fe},'ht':0x2,'vt':0x2,'tb':0x1},_0x46b0ef={'bg':{'rgb':_0x3bfbc4},'ht':0x2,'vt':0x2,'tb':0x1},_0x309be9={'rowStyle':{'bg':{'rgb':_0x336433},'bd':_0x4bb61a,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x171a0e},'bd':null,'cl':{'rgb':_0x24e83c},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x4bb61a,'bg':{'rgb':_0x24505e},'vt':0x2},'cornerStyle':{'bd':_0x4bb61a,'bg':{'rgb':_0x4cddb7},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x4bb61a,'bg':{'rgb':_0x233acb},'vt':0x2},'leafStyle':{'bd':_0x4bb61a,'bg':{'rgb':_0x48e5dd},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x38298e},'cl':{'rgb':_0x31a8eb},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x4bb61a,'vt':0x2}};function _0x265585(_0x5e2a20,_0x32e939,_0x373a44){const _0x4eeb6a=_0x4bf7c9,_0x54ffd0=_0x5e2a20[_0x4eeb6a(0x49b)](_0x181393[_0x4eeb6a(0x2f1)]),_0x1e4559=_0x373a44['split']('_');switch(_0x32e939){case _0x1861d8[_0x4eeb6a(0x30f)]['Year']:return _0x54ffd0['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x1e4559);case _0x1861d8[_0x4eeb6a(0x30f)][_0x4eeb6a(0x2bc)]:return _0x54ffd0['t'](_0x4eeb6a(0x421),..._0x1e4559);case _0x1861d8[_0x4eeb6a(0x30f)][_0x4eeb6a(0x410)]:return _0x54ffd0['t'](_0x4eeb6a(0x3ef),..._0x1e4559);case _0x1861d8[_0x4eeb6a(0x30f)][_0x4eeb6a(0x2fb)]:return _0x54ffd0['t'](_0x4eeb6a(0x4ba),..._0x1e4559);case _0x1861d8[_0x4eeb6a(0x30f)][_0x4eeb6a(0x43a)]:return _0x54ffd0['t'](_0x4eeb6a(0x1d4),..._0x1e4559);case _0x1861d8[_0x4eeb6a(0x30f)][_0x4eeb6a(0x27e)]:return _0x54ffd0['t'](_0x4eeb6a(0x319),..._0x1e4559);case _0x1861d8['PivotDateGroupFieldDateTypeEnum'][_0x4eeb6a(0x241)]:return _0x54ffd0['t'](_0x4eeb6a(0x374),..._0x1e4559);case _0x1861d8['PivotDateGroupFieldDateTypeEnum']['YearMonth']:return _0x54ffd0['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x1e4559);case _0x1861d8[_0x4eeb6a(0x30f)]['YearMonthDate']:return _0x54ffd0['t'](_0x4eeb6a(0x1ee),..._0x1e4559);case _0x1861d8['PivotDateGroupFieldDateTypeEnum'][_0x4eeb6a(0x3fd)]:return _0x54ffd0['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x1e4559);}return'';}const _0x5c878a=(_0x45cca0,_0x647c55,_0x53635b,_0x3db628)=>{const _0x5418a2=_0x4bf7c9;let _0x2fc18a;const _0x1cd6cf=_0x45cca0['get'](_0x181393[_0x5418a2(0x271)])[_0x5418a2(0x300)](_0x181393['UniverInstanceType'][_0x5418a2(0x46e)]);if(!_0x1cd6cf)return null;const _0x4c3499=_0x1cd6cf[_0x5418a2(0x1e8)]();let _0x4e10d0;if(_0x53635b&&(_0x4e10d0=_0x4c3499[_0x5418a2(0x242)](_0x53635b)),_0x647c55!=null&&_0x647c55['v']||(_0x647c55==null?void 0x0:_0x647c55['v'])===0x0){_0x2fc18a||(_0x2fc18a={});const _0x4d01c6=_0x40f5f0(_0x647c55['v']);typeof _0x4d01c6==_0x5418a2(0x3ba)?_0x2fc18a['t']=_0x181393['CellValueType'][_0x5418a2(0x2ad)]:typeof _0x4d01c6==_0x5418a2(0x1b9)&&(_0x2fc18a['t']=_0x181393[_0x5418a2(0x1c2)]['STRING']),_0x2fc18a['v']=_0x4d01c6;}if((_0x647c55!=null&&_0x647c55['i']||(_0x647c55==null?void 0x0:_0x647c55['i'])===0x0)&&(_0x2fc18a||(_0x2fc18a={}),_0x2fc18a['fi']=_0x647c55['i']),_0x647c55!=null&&_0x647c55['s']&&(_0x2fc18a||(_0x2fc18a={}),_0x2fc18a[_0x5418a2(0x499)]=_0x647c55['s']),_0x53635b&&(_0x2fc18a||(_0x2fc18a={}),_0x2fc18a['s']=_0x4e10d0),_0x3db628&&_0x2fc18a!=null&&_0x2fc18a['v']&&_0x2fc18a[_0x5418a2(0x499)]!==_0x1861d8[_0x5418a2(0x23a)][_0x5418a2(0x418)]&&_0x2fc18a['pbt']!==_0x1861d8[_0x5418a2(0x23a)][_0x5418a2(0x3b5)]){const _0x57d509=String(_0x2fc18a['v']),{dateType:_0x9d0f19}=_0x3db628;_0x2fc18a['v']=_0x265585(_0x45cca0,_0x9d0f19,_0x57d509),_0x2fc18a['t']=_0x181393[_0x5418a2(0x1c2)]['STRING'];}return _0x2fc18a;},_0x6cfbee=(_0x4fe046,_0x508f99,_0x3fc782,_0x36a618)=>{const _0x285645=_0x4bf7c9;var _0x5291d1,_0x467fca,_0x99ba9d,_0x5df253,_0x4c251e,_0x245eb6,_0x431cbe,_0x5a1ee7,_0x33bc34,_0x102a9c,_0xe73504,_0x514e2b,_0x3db2bc,_0x48fb24;const _0x13347e=_0x3fc782[_0x285645(0x3e0)],{cornerView:_0x5ae1e7,rowView:_0x396f77,colView:_0x3f18d0,dataView:_0xd5b362,pageView:_0x33e395,formatMap:_0x56278e,groupInfo:_0x49257e}=_0x508f99,{row:_0x31600f,col:_0x2589c6}=_0x13347e,_0x7b407c=new _0x181393[(_0x285645(0x219))](),_0x57cb06={},_0x26b5c4={},_0x159cd1={},_0x51436e={},_0x80d79f={};let _0x2ce5d9=_0x31600f,_0x3cc4aa=_0x2589c6;Object[_0x285645(0x34e)](_0x33e395[_0x285645(0x36a)])[_0x285645(0x1e7)](_0x24aa7a=>{const _0x3a7b5d=_0x285645;Object[_0x3a7b5d(0x34e)](_0x33e395[_0x3a7b5d(0x36a)][Number(_0x24aa7a)])['forEach'](_0x9a6bb6=>{const _0x501955=_0x3a7b5d,_0x16ce4e={..._0x33e395[_0x501955(0x36a)][Number(_0x24aa7a)][Number(_0x9a6bb6)]};_0x7b407c['setValue'](Number(_0x24aa7a)+_0x2ce5d9,Number(_0x9a6bb6)+_0x3cc4aa,_0x5c878a(_0x4fe046,_0x16ce4e,_0x309be9[_0x501955(0x3be)]));});});const _0x1070e9=Object[_0x285645(0x34e)](_0x33e395[_0x285645(0x36a)])[_0x285645(0x390)];_0x2ce5d9+=_0x1070e9+(_0x1070e9?_0x43ffd9:0x0);const _0x45f5ba=_0x5ae1e7['getRowCount'](),_0x875c04=_0x5ae1e7['getColCount']();for(let _0x52a77a=0x0;_0x52a77a<_0x45f5ba;_0x52a77a++)for(let _0x3ce5f2=0x0;_0x3ce5f2<_0x875c04;_0x3ce5f2++){const _0x74a74c={...(_0x467fca=(_0x5291d1=_0x5ae1e7[_0x285645(0x36a)])==null?void 0x0:_0x5291d1[_0x52a77a])==null?void 0x0:_0x467fca[_0x3ce5f2]};_0x74a74c&&((_0x99ba9d=_0x396f77[_0x285645(0x3a6)][_0x3ce5f2])!=null&&_0x99ba9d[_0x285645(0x2e5)])&&_0x3ce5f2===_0x875c04-0x1&&_0x52a77a===_0x45f5ba-0x1&&(_0x74a74c['v']=''+_0x36a618['sheets-pivot.value']),_0x7b407c['setValue'](_0x52a77a+_0x2ce5d9,_0x3ce5f2+_0x3cc4aa,_0x5c878a(_0x4fe046,_0x74a74c,_0x309be9[_0x285645(0x44e)]));}for(let _0x2c0578=0x0;_0x2c0578<_0x5ae1e7['info'][_0x285645(0x390)];_0x2c0578++)_0x5ae1e7[_0x285645(0x3e5)][_0x2c0578]&&(_0x159cd1[''+(_0x2c0578+_0x3cc4aa)]=_0x5ae1e7[_0x285645(0x3e5)][_0x2c0578]);_0x3cc4aa+=_0x875c04;const _0x32aec6=_0x3f18d0[_0x285645(0x3a6)],_0x4f9745=_0x3f18d0[_0x285645(0x3f0)]()>=0x0?_0x3f18d0[_0x285645(0x3f0)]()+0x1:0x0,_0x1f17c4=_0x3f18d0[_0x285645(0x36f)]()>=0x0?_0x3f18d0['getLastCol']()+0x1:0x0;for(let _0x2946a4=0x0;_0x2946a4<_0x1f17c4;_0x2946a4++){for(let _0x1c6680=0x0;_0x1c6680<_0x4f9745;_0x1c6680++){const _0x407fbd={...(_0x4c251e=(_0x5df253=_0x3f18d0[_0x285645(0x36a)])==null?void 0x0:_0x5df253[_0x1c6680])==null?void 0x0:_0x4c251e[_0x2946a4]},_0x139a8a=(_0x245eb6=_0x32aec6[_0x1c6680])==null?void 0x0:_0x245eb6[_0x285645(0x492)],_0x467a41=_0x56278e[_0x139a8a],_0x4075b7=_0x49257e[_0x139a8a];_0x407fbd&&(_0x407fbd['v']=_0x172616(_0x407fbd,_0x1c6680===0x0&&((_0x431cbe=_0x3f18d0['getHeaderMapItem'](_0x2946a4+0x1))==null?void 0x0:_0x431cbe[_0x285645(0x2e5)]),_0x467a41,_0x36a618));let _0x3d6421;_0x467a41?_0x3d6421={..._0x309be9[_0x285645(0x315)],'n':{'pattern':_0x467a41}}:_0x3d6421={..._0x309be9['colStyle']},_0x7b407c[_0x285645(0x242)](_0x1c6680+_0x2ce5d9,_0x2946a4+_0x3cc4aa,_0x5c878a(_0x4fe046,_0x407fbd,_0x3d6421,_0x4075b7));}_0x3f18d0['info'][_0x2946a4]&&(_0x26b5c4[''+(_0x2946a4+_0x3cc4aa)]=_0x3f18d0[_0x285645(0x3e5)][_0x2946a4]),_0x3f18d0[_0x285645(0x3a6)][_0x2946a4+0x1]&&(_0x80d79f[''+(_0x2946a4+_0x2ce5d9+0x1)]=_0x3f18d0['headerMap'][_0x2946a4+0x1]);}_0x2ce5d9+=_0x45f5ba;const _0x1e889e=_0x396f77['headerMap'],_0x43e2c8=_0x396f77['getLastRow']()>=0x0?_0x396f77[_0x285645(0x3f0)]()+0x1:0x0,_0x21c571=_0x396f77['getLastCol']()>=0x0?_0x396f77[_0x285645(0x36f)]()+0x1:0x0;for(let _0x592834=0x0;_0x592834<_0x43e2c8;_0x592834++){for(let _0x4cb152=0x0;_0x4cb152<_0x21c571;_0x4cb152++){const _0x46d982={...(_0x33bc34=(_0x5a1ee7=_0x396f77[_0x285645(0x36a)])==null?void 0x0:_0x5a1ee7[_0x592834])==null?void 0x0:_0x33bc34[_0x4cb152]},_0x512a38=(_0x102a9c=_0x1e889e[_0x4cb152])==null?void 0x0:_0x102a9c[_0x285645(0x492)],_0x97e9ce=_0x56278e[_0x512a38],_0x16dac4=_0x49257e[_0x512a38];_0x46d982&&(_0x46d982['v']=_0x172616(_0x46d982,!0x1,_0x97e9ce,_0x36a618));let _0x228c27;_0x396f77[_0x285645(0x3e5)][_0x592834][_0x285645(0x20c)]===_0x396f77[_0x285645(0x47b)]()?_0x228c27=_0x309be9[_0x285645(0x2e6)]:_0x396f77[_0x285645(0x3e5)][_0x592834]['isBottomTotal']?_0x228c27=_0x396f77[_0x285645(0x3e5)][_0x592834]['level']===0x0?_0x309be9[_0x285645(0x448)]:_0x309be9[_0x285645(0x2fc)]:_0x228c27=_0x309be9[_0x285645(0x45f)],_0x97e9ce&&(_0x228c27={..._0x228c27,'n':{'pattern':_0x97e9ce}}),_0x7b407c[_0x285645(0x242)](_0x592834+_0x2ce5d9,_0x4cb152+_0x2589c6,_0x5c878a(_0x4fe046,_0x46d982,_0x228c27,_0x16dac4));}_0x396f77[_0x285645(0x3e5)][_0x592834]&&(_0x57cb06[''+(_0x592834+_0x2ce5d9)]=_0x396f77['info'][_0x592834]),_0x396f77[_0x285645(0x3a6)][_0x592834]&&(_0x51436e[''+(_0x592834+_0x2589c6)]=_0x396f77[_0x285645(0x3a6)][_0x592834]);}const _0x38a585=_0xd5b362[_0x285645(0x2ba)](),_0x4a1b35=_0xd5b362[_0x285645(0x47b)]();for(let _0x2c4fd5=0x0;_0x2c4fd5<_0x38a585;_0x2c4fd5++)for(let _0x79b920=0x0;_0x79b920<_0x4a1b35;_0x79b920++){const _0x17ad04={...(_0x514e2b=(_0xe73504=_0xd5b362[_0x285645(0x36a)])==null?void 0x0:_0xe73504[_0x2c4fd5])==null?void 0x0:_0x514e2b[_0x79b920]};let _0x2a3350;_0x396f77[_0x285645(0x3e5)][_0x2c4fd5][_0x285645(0x3c6)]?_0x2a3350=_0x396f77['info'][_0x2c4fd5][_0x285645(0x20c)]===0x0?_0x309be9[_0x285645(0x448)]:_0x309be9[_0x285645(0x2fc)]:_0x2a3350=_0x309be9['dataStyle'];const _0x40b487=_0x396f77['info'][_0x2c4fd5][_0x285645(0x436)],_0x224b58=_0x3f18d0[_0x285645(0x3e5)][_0x79b920][_0x285645(0x436)],_0x524905=Math[_0x285645(0x41f)](_0x40b487,_0x224b58),_0x13c23f=_0x3fc782[_0x285645(0x237)]['valueFields']['concat']();let _0x3c42ea='';_0x524905<0x0?_0x3c42ea=(_0x3db2bc=_0x13c23f[0x0])!=null?_0x3db2bc:'':_0x3c42ea=(_0x48fb24=_0x13c23f[_0x524905])!=null?_0x48fb24:'';const _0x1df114=_0x56278e[_0x3c42ea];_0x1df114&&(_0x2a3350={..._0x2a3350,'n':{'pattern':_0x1df114}}),_0x7b407c[_0x285645(0x242)](_0x2c4fd5+_0x2ce5d9,_0x79b920+_0x3cc4aa,_0x5c878a(_0x4fe046,_0x17ad04,_0x2a3350));}return{'valueMatrix':_0x7b407c,'rowInfo':_0x57cb06,'colInfo':_0x26b5c4,'cornerInfo':_0x159cd1,'rowHeaderMap':_0x51436e,'colHeaderMap':_0x80d79f};};function _0x172616(_0x1412ae,_0x57cae8,_0x2e36fb,_0x5bf1d3){const _0x20e3dd=_0x4bf7c9;let _0x2d1719=_0x1412ae['v'];_0x57cae8&&(_0x2d1719=''+_0x5bf1d3[_0x20e3dd(0x343)]);const _0x45cdaa=_0x1412ae['t']&&(_0x1412ae['t']&_0x1861d8[_0x20e3dd(0x4bc)][_0x20e3dd(0x2ed)])>0x0;_0x45cdaa&&(_0x2d1719=''+_0x5bf1d3[_0x20e3dd(0x240)]);const _0x1875fd=_0x1412ae['t']&&(_0x1412ae['t']&_0x1861d8[_0x20e3dd(0x4bc)]['other'])>0x0;if(_0x1875fd&&(_0x2d1719=''+_0x5bf1d3[_0x20e3dd(0x396)]),_0x1412ae['s']===_0x1861d8[_0x20e3dd(0x23a)][_0x20e3dd(0x3b5)]){let _0x1cfe1f=_0x2d1719,_0x5dbd8d='';_0x1861d8[_0x20e3dd(0x34c)](_0x2d1719)&&(_0x1cfe1f=_0x2d1719[_0x20e3dd(0x284)],_0x5dbd8d=_0x2d1719[_0x20e3dd(0x4bd)]);const _0x39a040=_0x2e36fb&&!_0x45cdaa&&!_0x1875fd?_0x181393['numfmt'][_0x20e3dd(0x2b1)](_0x2e36fb,Number(_0x1cfe1f)):_0x1cfe1f;_0x5dbd8d?_0x2d1719=_0x39a040+'\x20'+_0x5dbd8d:_0x2d1719=_0x39a040+'\x20'+_0x5bf1d3[_0x20e3dd(0x225)];}else _0x1412ae['s']===_0x1861d8['PivotCellStyleTypeEnum'][_0x20e3dd(0x418)]&&(_0x2d1719=_0x2d1719+'\x20'+_0x5bf1d3[_0x20e3dd(0x453)]);return _0x2d1719;}function _0x40f5f0(_0xdc2bbb){const _0x2bb86e=_0x4bf7c9;if(_0x1861d8['isErrorValue'](_0xdc2bbb)){const {errorType:_0x202cfa}=_0xdc2bbb;switch(_0x202cfa){case _0x1861d8[_0x2bb86e(0x48c)][_0x2bb86e(0x2a5)]:return _0x1a014a[_0x2bb86e(0x258)]['DIV_BY_ZERO'];case _0x1861d8[_0x2bb86e(0x48c)][_0x2bb86e(0x326)]:return _0x1a014a['ErrorType'][_0x2bb86e(0x384)];case _0x1861d8['PivotErrorTypeEnum']['NotFunction']:return _0x1a014a[_0x2bb86e(0x258)][_0x2bb86e(0x347)];case _0x1861d8[_0x2bb86e(0x48c)][_0x2bb86e(0x301)]:return _0x1a014a[_0x2bb86e(0x258)]['NAME'];case _0x1861d8[_0x2bb86e(0x48c)]['BadReference']:return _0x1a014a['ErrorType']['REF'];}}return _0xdc2bbb;}function _0x43d27d(_0x127c79,_0x3ebb37,_0x558316=!0x1,_0x1ae4b1=!0x1){const _0x3d46a1=_0x4bf7c9,{data:_0x56fc17}=_0x3ebb37,_0x47c8be=_0x3ebb37[_0x3d46a1(0x2ba)](),_0x3b4fa0=_0x3ebb37['getColCount']();if(_0x47c8be<=0x0||_0x3b4fa0<=0x0)return[];const _0x287fa4=_0x3ebb37[_0x3d46a1(0x36f)](),_0x1d03db=_0x3ebb37['getLastRow'](),_0x5be8b8=_0x1ae4b1?_0x1d03db>=0x0?_0x1d03db+0x1:0x0:_0x47c8be,_0x3f92a2=_0x1ae4b1?_0x287fa4>=0x0?_0x287fa4+0x1:0x0:_0x3b4fa0,{row:_0x5e8faa,col:_0x49ec37}=_0x127c79,_0x2d66fa=_0x5e8faa,_0x3b7056=_0x49ec37;if(_0x558316){const _0x2dff78=[];for(const [_0x1309c5,_0x28aa21]of Object[_0x3d46a1(0x235)](_0x56fc17))for(const [_0x266c58,_0x1a8e09]of Object[_0x3d46a1(0x235)](_0x28aa21))_0x2dff78[_0x3d46a1(0x1fc)](_0x181393[_0x3d46a1(0x432)](_0x2d66fa+Number(_0x1309c5),_0x3b7056+Number(_0x266c58)));return _0x2dff78;}else{const _0x4b73ee=_0x1ae4b1?_0x5be8b8>0x0?0x1:0x0:0x1,_0x24abf7=_0x1ae4b1?_0x3f92a2>0x0?0x1:0x0:0x1,_0x5d5773=_0x5e8faa+_0x5be8b8-_0x4b73ee,_0x175da5=_0x49ec37+_0x3f92a2-_0x24abf7;return[{'startRow':_0x2d66fa,'startColumn':_0x3b7056,'endRow':_0x5d5773,'endColumn':_0x175da5}];}}const _0x19ee91=_0x4bf7c9(0x4ad),_0x4a7ef3=_0x4bf7c9(0x40c);var _0x40af19=(_0x3b3e61=>(_0x3b3e61[_0x4bf7c9(0x3da)]='filter',_0x3b3e61[_0x4bf7c9(0x1e9)]=_0x4bf7c9(0x2b9),_0x3b3e61['AddPivotField']=_0x4bf7c9(0x1f6),_0x3b3e61['AddPivotTableWithConfig']=_0x4bf7c9(0x204),_0x3b3e61[_0x4bf7c9(0x47d)]=_0x4bf7c9(0x256),_0x3b3e61[_0x4bf7c9(0x26a)]=_0x4bf7c9(0x423),_0x3b3e61[_0x4bf7c9(0x466)]='removePivotField',_0x3b3e61[_0x4bf7c9(0x245)]='setPivotCollapse',_0x3b3e61[_0x4bf7c9(0x28a)]='setPivotFilter',_0x3b3e61[_0x4bf7c9(0x2ee)]='setPivotSort',_0x3b3e61[_0x4bf7c9(0x373)]=_0x4bf7c9(0x3cd),_0x3b3e61['UpdatePivotSource']='updatePivotSource',_0x3b3e61[_0x4bf7c9(0x382)]=_0x4bf7c9(0x2f6),_0x3b3e61[_0x4bf7c9(0x4a6)]='drillDown',_0x3b3e61['SetValuePivotFilter']=_0x4bf7c9(0x441),_0x3b3e61[_0x4bf7c9(0x25a)]='setPivotTableConfig',_0x3b3e61['ResetPivotTable']=_0x4bf7c9(0x44a),_0x3b3e61))(_0x40af19||{});const _0x3559ea={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x4bf7c9(0x4cd),'sheets-pivot.subTotalText':_0x4bf7c9(0x26d),'sheets-pivot.grandTotalText':_0x4bf7c9(0x21d),'sheets-pivot.valueText':_0x4bf7c9(0x226),'sheets-pivot.averageName':_0x4bf7c9(0x1ec),'sheets-pivot.countName':_0x4bf7c9(0x41d),'sheets-pivot.countNumsName':_0x4bf7c9(0x41d),'sheets-pivot.maxName':_0x4bf7c9(0x2b2),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x4bf7c9(0x40d),'sheets-pivot.sumName':_0x4bf7c9(0x405),'sheets-pivot.varName':_0x4bf7c9(0x265),'sheets-pivot.varpName':_0x4bf7c9(0x250),'sheets-pivot.subTotal':_0x4bf7c9(0x3b5),'sheets-pivot.grandTotal':_0x4bf7c9(0x21d),'sheets-pivot.value':'value','sheets-pivot.blank':_0x4bf7c9(0x2ed),'sheets-pivot.other':_0x4bf7c9(0x1c3),'sheets-pivot.emptyPivot.filter':_0x4bf7c9(0x3da),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x4bf7c9(0x322),'sheets-pivot.emptyPivot.values':_0x4bf7c9(0x1cb)},_0x90947e={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3c97f2=_0x181393['createAsyncInterceptorKey'](_0x4bf7c9(0x2d8)),_0x1027b1=_0x181393[_0x4bf7c9(0x254)]('pivotMutationGenerate');var _0x16d496=(_0x24e2c5=>(_0x24e2c5[_0x4bf7c9(0x2a4)]=_0x4bf7c9(0x2a4),_0x24e2c5['delete']='delete',_0x24e2c5[_0x4bf7c9(0x451)]=_0x4bf7c9(0x451),_0x24e2c5))(_0x16d496||{}),_0xefe34=(_0x1250d9=>(_0x1250d9[_0x4bf7c9(0x1cc)]=_0x4bf7c9(0x2a4),_0x1250d9['Set']=_0x4bf7c9(0x1b8),_0x1250d9['Delete']=_0x4bf7c9(0x286),_0x1250d9))(_0xefe34||{});const _0x425d9e={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x54b22f={'type':_0x181393[_0x4bf7c9(0x449)]['MUTATION'],'id':_0x4bf7c9(0x4ce),'handler':()=>!0x0},_0x1478e7={'type':_0x181393[_0x4bf7c9(0x449)]['MUTATION'],'id':_0x4bf7c9(0x292),'handler':()=>!0x0},_0x4f2143={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x152a62={'type':_0x181393['CommandType'][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x270),'handler':()=>!0x0};var _0x3f6912=Object[_0x4bf7c9(0x490)],_0xa0f109=(_0x346947,_0x1994fb,_0x4224ad,_0x2319a4)=>{const _0x74d440=_0x4bf7c9;for(var _0xdae8b3=_0x2319a4>0x1?void 0x0:_0x2319a4?_0x3f6912(_0x1994fb,_0x4224ad):_0x1994fb,_0x5755d2=_0x346947[_0x74d440(0x390)]-0x1,_0x73064d;_0x5755d2>=0x0;_0x5755d2--)(_0x73064d=_0x346947[_0x5755d2])&&(_0xdae8b3=_0x73064d(_0xdae8b3)||_0xdae8b3);return _0xdae8b3;},_0x24e634=(_0x21cbdf,_0x4d72f9)=>(_0x5b8c00,_0x2bf2db)=>_0x4d72f9(_0x5b8c00,_0x2bf2db,_0x21cbdf);_0x1c1f68[_0x4bf7c9(0x356)]=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x274374){const _0xaa05a5=_0x4bf7c9;super(),_0x3f85d0(this,'_requestResolvers',new Map()),this[_0xaa05a5(0x462)]=_0x274374;}['handleAsyncResponse'](_0x523ece){const _0x1418af=_0x4bf7c9,{version:_0x5fc7c3}=_0x523ece,_0x43d12e=this[_0x1418af(0x3d9)][_0x1418af(0x49b)](_0x5fc7c3);_0x43d12e&&(_0x43d12e(_0x523ece),this['_requestResolvers']['delete'](_0x5fc7c3));}[_0x4bf7c9(0x26e)](_0x608a12){return new Promise((_0x4db76e,_0x1e2c5d)=>{const _0x2b26c5=_0x4d80,_0x27ccf2=this['_generateUniqueVersion']();this[_0x2b26c5(0x3d9)][_0x2b26c5(0x1b8)](_0x27ccf2,_0x4db76e),this[_0x2b26c5(0x462)][_0x2b26c5(0x4c0)](_0x425d9e['id'],{'version':_0x27ccf2,..._0x608a12},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x59675e=_0x4bf7c9;return Math[_0x59675e(0x4c4)]()['toString'](0x24)[_0x59675e(0x2b7)](0x2,0x10);}},_0x1c1f68[_0x4bf7c9(0x356)]=_0xa0f109([_0x24e634(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x4a0)]))],_0x1c1f68[_0x4bf7c9(0x356)]);const _0x4b887f={0x0:'W',0x1:'0',0x2:'C',0x3:'q',0x4:'w',0x5:'H',0x6:'G',0x7:'g',0x8:'O',0x9:'6','U':'1','Z':'2','g':'3','s':'4','p':'5','K':'7','W':'8','X':'9','e':'a','r':'b','J':'c','G':'d','t':'e','B':'f','D':'h','u':'i','M':'j','l':'k','H':'l','T':'m','V':'n','N':'o','c':'p','Y':'r','I':'s','P':'t','y':'u','x':'v','o':'x','E':'y','h':'z','k':'A','n':'B','v':'D','w':'E','C':'F','L':'I','O':'J','i':'K','j':'L','b':'M','d':'N','a':'P','F':'Q','S':'R','A':'S','f':'T','z':'U','q':'V','Q':'X','m':'Y','R':'Z'},_0x417057=_0x4bf7c9(0x276),_0x457b67=_0x641eec=>{const _0x37f1f9=_0x4bf7c9;var _0x17c497;return((_0x17c497=_0x641eec[_0x37f1f9(0x30b)])==null?void 0x0:_0x17c497['dataStream']['replace'](/\r\n$/,''))||'';};class _0xf6e57b extends _0x1861d8[_0x4bf7c9(0x283)]{constructor(_0x3e3305,_0x15ad57){const _0x497f4a=_0x4bf7c9;super(),_0x3f85d0(this,_0x497f4a(0x370),{}),_0x3f85d0(this,_0x497f4a(0x3ad)),_0x3f85d0(this,_0x497f4a(0x21a)),(this[_0x497f4a(0x3ad)]=_0x15ad57,this[_0x497f4a(0x21a)]=_0x3e3305);}['initDataRanges'](){const _0x5459a7=_0x4bf7c9;for(const _0x420f1c in this[_0x5459a7(0x49e)]){const _0x26734b=this[_0x5459a7(0x49e)][_0x420f1c],_0x47b636=_0x26734b['getRangeKey']();this[_0x5459a7(0x370)][_0x47b636]=_0x26734b[_0x5459a7(0x3dc)]();}}[_0x4bf7c9(0x2f4)](){const _0x297e56=_0x4bf7c9,_0x2dd93d=this[_0x297e56(0x21a)];return _0x40da2e[_0x297e56(0x463)](_0x2dd93d);}[_0x4bf7c9(0x3cc)](_0x4a8093){const _0x516c10=_0x4bf7c9,_0x4c3e31=this[_0x516c10(0x49e)][_0x4a8093]['rangeKey'];delete this[_0x516c10(0x49e)][_0x4a8093],delete this[_0x516c10(0x370)][_0x4c3e31];}[_0x4bf7c9(0x1f8)](_0x2041c2){this['dataFields'][_0x2041c2['getId']()]=_0x2041c2;}['removeCollectionImp'](_0x280e25){const _0x3837eb=_0x4bf7c9;var _0x4947d4,_0x2cfb0b;const _0x19bbd7=this[_0x3837eb(0x21a)][_0x3837eb(0x40a)](_0x280e25);if(_0x19bbd7){const {unitId:_0x133341,subUnitId:_0x116586}=_0x19bbd7,_0x109330=(_0x4947d4=this[_0x3837eb(0x21a)][_0x3837eb(0x439)](_0x133341,_0x116586,_0x280e25))==null?void 0x0:_0x4947d4[_0x3837eb(0x3f3)];this[_0x3837eb(0x21a)][_0x3837eb(0x496)]({'token':_0x280e25,'type':_0x16d496['delete'],'dataRangeInfo':_0x109330});}(_0x2cfb0b=this[_0x3837eb(0x495)](_0x280e25))==null||_0x2cfb0b['dispose'](),delete this[_0x3837eb(0x48d)][_0x280e25];}['getRangeKey'](_0x403b04,_0xc7f74f){const {sheetName:_0x3dae98,unitId:_0x75c44f,range:_0x4154a3}=_0x403b04,{startRow:_0xda72cc,endRow:_0x3e49e9}=_0x4154a3;return _0x1a014a['serializeRangeWithSpreadsheet'](_0x75c44f,_0x3dae98,{'startRow':_0xda72cc,'endRow':_0x3e49e9,'startColumn':_0xc7f74f,'endColumn':_0xc7f74f});}[_0x4bf7c9(0x386)](_0x2a1ee2){const _0x492b9c=_0x4bf7c9;return this[_0x492b9c(0x49e)][this[_0x492b9c(0x370)][_0x2a1ee2]];}['setRangeKeyMap'](_0x5c328f,_0x48cc91){const _0x2125b9=_0x4bf7c9;this[_0x2125b9(0x370)][_0x5c328f]=_0x48cc91;}[_0x4bf7c9(0x4b1)](_0x2dcd76,_0x15c1a2){const _0x51802e=_0x4bf7c9;this[_0x51802e(0x370)][_0x15c1a2]=this['rangeKeyMap'][_0x2dcd76],delete this['rangeKeyMap'][_0x2dcd76];}[_0x4bf7c9(0x47a)](_0x29bea2,_0x4da28a,_0x218cba,_0x2ac91a){const _0x58ac2f=_0x4bf7c9,_0x3de92b=new _0x1861d8[(_0x58ac2f(0x414))](this);_0x3de92b['fromJSON'](_0x4da28a);const _0xcb8ac=[];let _0x21c59d=0x0;for(const _0x5921e4 of _0x3de92b[_0x58ac2f(0x1c1)]){const _0x47ec0d=this[_0x58ac2f(0x388)](_0x218cba,_0x21c59d),_0xbdfcdd=this[_0x58ac2f(0x49e)][_0x5921e4];_0xbdfcdd&&(_0xbdfcdd['rangeKey']=_0x47ec0d,this['setRangeKeyMap'](_0x47ec0d,_0x5921e4),_0xcb8ac['push']({'index':_0x21c59d,'dataField':_0xbdfcdd})),_0x21c59d++;}return this['addCollection'](_0x29bea2,_0x3de92b,_0x218cba,_0x2ac91a),{'collection':_0x3de92b,'updateDataFieldList':_0xcb8ac};}['getRangeStartEndInfo'](_0x4c5892,_0x49756b){const _0x5c940a=_0x4bf7c9;return _0x4c5892[_0x5c940a(0x268)]===_0x181393[_0x5c940a(0x4a2)][_0x5c940a(0x1e0)]?{'startRow':0x0,'startColumn':_0x4c5892[_0x5c940a(0x2c5)],'endRow':_0x49756b[_0x5c940a(0x2ba)]()-0x1,'endColumn':_0x4c5892[_0x5c940a(0x1f5)]}:{'startRow':_0x4c5892[_0x5c940a(0x30c)],'startColumn':_0x4c5892[_0x5c940a(0x2c5)],'endRow':_0x4c5892[_0x5c940a(0x433)],'endColumn':_0x4c5892['endColumn']};}['createCollectionWithDataRange'](_0x4af5fc){const _0x2f8bdf=_0x4bf7c9,{sheetName:_0xd70535,range:_0x212276}=_0x4af5fc,_0x3e58ea=this[_0x2f8bdf(0x3ad)][_0x2f8bdf(0x300)](_0x181393[_0x2f8bdf(0x23b)]['UNIVER_SHEET']),_0x3db04e=_0x3e58ea[_0x2f8bdf(0x389)](_0xd70535),_0x2220e8=_0x3db04e[_0x2f8bdf(0x246)](),{startColumn:_0x26fdb5,startRow:_0x12caa4,endColumn:_0x289906}=this[_0x2f8bdf(0x345)](_0x212276,_0x3db04e),_0x361053=_0x3e58ea['getStyles'](),_0x3f3454=new _0x1861d8[(_0x2f8bdf(0x414))](this);_0x3f3454['setRange'](_0x4af5fc);const _0x41cddd=[],_0x3330a5={};for(let _0x5ccde4=_0x26fdb5;_0x5ccde4<=_0x289906;_0x5ccde4++){const _0x399f69=_0x2220e8[_0x2f8bdf(0x354)](_0x12caa4,_0x5ccde4),_0x8cb891=this[_0x2f8bdf(0x388)](_0x4af5fc,_0x5ccde4),_0x290787=this[_0x2f8bdf(0x386)](_0x8cb891);if(_0x290787)_0x3f3454['addField'](_0x290787['getId'](),_0x290787['getName']());else{const _0x867db=this[_0x2f8bdf(0x3a5)]();let _0xf78a22=this['adjustSheetCellData'](_0x399f69,_0x361053,_0x3330a5);_0x1861d8['isDateValue'](_0xf78a22)&&(_0xf78a22=_0x181393['numfmt'][_0x2f8bdf(0x2b1)](_0xf78a22['f'],Number(_0xf78a22['v'])));const _0x4af7d6=this[_0x2f8bdf(0x3bf)](_0xf78a22,_0x5ccde4),_0x2eba60=new _0x1861d8['DataField'](_0x867db,_0x4af7d6,_0x1861d8[_0x2f8bdf(0x2d1)](0x3));_0x2eba60[_0x2f8bdf(0x2a1)]=_0x8cb891,this[_0x2f8bdf(0x49e)][_0x867db]=_0x2eba60,_0x3f3454[_0x2f8bdf(0x2fa)](_0x867db,_0x4af7d6),_0x41cddd[_0x2f8bdf(0x1fc)]({'index':_0x5ccde4,'dataField':_0x2eba60});}}return{'updateDataFieldList':_0x41cddd,'collection':_0x3f3454};}[_0x4bf7c9(0x266)](_0x2880fa){const _0x5694b2=_0x4bf7c9;return this['_host'][_0x5694b2(0x293)]()['sheets-pivot.columnName']+'\x20'+_0x181393[_0x5694b2(0x402)](_0x2880fa);}[_0x4bf7c9(0x3bf)](_0x22dd4e,_0x599543){const _0x1499e9=_0x4bf7c9;return _0x22dd4e==null||_0x22dd4e===''?this[_0x1499e9(0x266)](_0x599543):String(_0x22dd4e);}[_0x4bf7c9(0x495)](_0xb29659){const _0x22bb63=_0x4bf7c9;return this[_0x22bb63(0x48d)][_0xb29659];}[_0x4bf7c9(0x335)](_0x243873,_0x478211,_0x509c28,_0x1d67c8){const _0x338e5e=_0x4bf7c9;this['collections'][_0x243873]=_0x478211,_0x478211[_0x338e5e(0x3a0)](_0x509c28),this[_0x338e5e(0x21a)][_0x338e5e(0x496)]({'token':_0x243873,'type':_0x16d496[_0x338e5e(0x2a4)],'dataRangeInfo':_0x509c28,'targetCellInfo':_0x1d67c8});}[_0x4bf7c9(0x45e)](_0x658fef,_0x5422e1){const _0x463080=_0x4bf7c9,_0x1443da=this[_0x463080(0x495)](_0x658fef),_0x3a9f2c=_0x1443da[_0x463080(0x20b)]();let _0x30ff97=0x0;for(const _0xbf4141 of _0x3a9f2c){const _0x1634fb=_0x1443da[_0x463080(0x3dd)](_0xbf4141),_0x327e57=this[_0x463080(0x388)](_0x5422e1,_0x30ff97);this[_0x463080(0x4b1)](_0x1634fb[_0x463080(0x2a1)],_0x327e57),_0x30ff97++;}}[_0x4bf7c9(0x32e)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4bf7c9(0x303)](_0x500377,_0x194791){const _0x3e0890=_0x4bf7c9;if(this[_0x3e0890(0x495)](_0x500377)){const _0xf84706=this[_0x3e0890(0x325)](_0x194791),_0x52e533=[];for(const _0x466d6c of _0xf84706)this[_0x3e0890(0x370)][_0x466d6c]!==void 0x0&&_0x52e533['push'](this[_0x3e0890(0x370)][_0x466d6c]);const _0x437646=this[_0x3e0890(0x253)](_0x500377),_0x13515a=[],_0x4dd0a4=new Set(_0x52e533);for(const _0x22727f of _0x437646)_0x4dd0a4[_0x3e0890(0x2cb)](_0x22727f)||_0x13515a[_0x3e0890(0x1fc)](_0x22727f);return _0x13515a;}}['getMatrixValue'](_0x47b097,_0xd58e22,_0x50c509,_0x553609,_0x23ef5b){const _0x122a47=_0x4bf7c9;return _0xd58e22&&_0xd58e22[_0x122a47(0x354)](_0x553609,_0x23ef5b)?_0xd58e22['getValue'](_0x553609,_0x23ef5b):_0x50c509&&_0x50c509[_0x122a47(0x354)](_0x553609,_0x23ef5b)?_0x50c509[_0x122a47(0x354)](_0x553609,_0x23ef5b):_0x47b097[_0x122a47(0x354)](_0x553609,_0x23ef5b);}[_0x4bf7c9(0x1df)](_0x3c0344,_0x29057d,_0x582a46,_0x91ee50){const _0x204bb1=_0x4bf7c9,_0x4c2e36=this[_0x204bb1(0x49e)][_0x3c0344];if(!_0x4c2e36)return;const {subUnitId:_0x250a36,range:_0x4f0dc6,unitId:_0x2007b8}=_0x29057d,_0x47130d=this['_univerInstanceService'][_0x204bb1(0x267)](_0x2007b8);if(!_0x47130d){console[_0x204bb1(0x445)](_0x204bb1(0x3a7));return;}const _0x4ee121=_0x47130d[_0x204bb1(0x280)](_0x250a36),_0x5667cc=_0x4ee121[_0x204bb1(0x246)](),{arrayFormulaCellDataMatrix:_0x20374b,unitDataMatrix:_0x4535ca}=_0x91ee50||{},{startRow:_0x3e0f86,startColumn:_0x484dec,endRow:_0x965eca}=this[_0x204bb1(0x345)](_0x4f0dc6,_0x4ee121);_0x4c2e36[_0x204bb1(0x38f)]();const _0x1c4746=_0x47130d[_0x204bb1(0x1e8)](),_0x1fdce5={},_0x522371=this[_0x204bb1(0x465)](_0x5667cc,_0x20374b,_0x4535ca,_0x3e0f86,_0x484dec+_0x582a46);let _0x541c0c=this['adjustSheetCellData'](_0x522371,_0x1c4746,_0x1fdce5);_0x1861d8['isDateValue'](_0x541c0c)&&(_0x541c0c=_0x181393[_0x204bb1(0x3b9)][_0x204bb1(0x2b1)](_0x541c0c['f'],Number(_0x541c0c['v'])));const _0x3ade11=this[_0x204bb1(0x3bf)](_0x541c0c,_0x484dec+_0x582a46);_0x4c2e36[_0x204bb1(0x3fa)](_0x3ade11);for(let _0x542de8=_0x3e0f86+0x1;_0x542de8<=_0x965eca;_0x542de8++){const _0x3cc916=this[_0x204bb1(0x465)](_0x5667cc,_0x20374b,_0x4535ca,_0x542de8,_0x484dec+_0x582a46);_0x4c2e36[_0x204bb1(0x36c)](this['adjustSheetCellData'](_0x3cc916,_0x1c4746,_0x1fdce5),_0x542de8-0x1-_0x3e0f86);}}[_0x4bf7c9(0x331)](_0x39c9ea,_0x55963e,_0x370da9){const _0x1499cb=_0x4bf7c9,{subUnitId:_0x69261e,range:_0x5f1c4c,unitId:_0x32c87b}=_0x370da9,_0x127671=this[_0x1499cb(0x3ad)]['getUnit'](_0x32c87b);if(!_0x127671){console[_0x1499cb(0x445)]('workbook\x20is\x20not\x20found');return;}const _0x29887f=_0x127671['getSheetBySheetId'](_0x69261e),_0x1e7c61=_0x29887f[_0x1499cb(0x246)](),{startRow:_0x1368f7,startColumn:_0x19e133,endRow:_0x5c5944}=this[_0x1499cb(0x345)](_0x5f1c4c,_0x29887f),_0x5a5c7e=_0x127671[_0x1499cb(0x1e8)](),_0x59d26e={};for(const {dataField:_0x28512b,index:_0x356217}of _0x55963e){_0x28512b[_0x1499cb(0x38f)]();const _0xdb3064=this[_0x1499cb(0x465)](_0x1e7c61,void 0x0,void 0x0,_0x1368f7,_0x19e133+_0x356217);let _0x1d4edf=this[_0x1499cb(0x1ef)](_0xdb3064,_0x5a5c7e,_0x59d26e);_0x1861d8[_0x1499cb(0x428)](_0x1d4edf)&&(_0x1d4edf=_0x181393[_0x1499cb(0x3b9)][_0x1499cb(0x2b1)](_0x1d4edf['f'],Number(_0x1d4edf['v'])));const _0x237ee8=this[_0x1499cb(0x3bf)](_0x1d4edf,_0x19e133+_0x356217);_0x28512b['setName'](_0x237ee8);}_0x39c9ea[_0x1499cb(0x2fd)]();for(let _0x3fd42f=_0x1368f7+0x1;_0x3fd42f<=_0x5c5944;_0x3fd42f++)for(const {index:_0x3e5fbe,dataField:_0x26d5ba}of _0x55963e){const _0x36847d=_0x1e7c61[_0x1499cb(0x354)](_0x3fd42f,_0x19e133+_0x3e5fbe);_0x26d5ba[_0x1499cb(0x36c)](this['adjustSheetCellData'](_0x36847d,_0x5a5c7e,_0x59d26e),_0x3fd42f-0x1-_0x1368f7);}_0x39c9ea['setDataRecordCount'](_0x5c5944-_0x1368f7);}[_0x4bf7c9(0x325)](_0x474f72){const _0x23bb88=_0x4bf7c9,{range:_0x41cfa0}=_0x474f72,{startColumn:_0x5d34ad,endColumn:_0x3ed159}=_0x41cfa0,_0x18a738=[];for(let _0x318392=_0x5d34ad;_0x318392<=_0x3ed159;_0x318392++)_0x18a738[_0x23bb88(0x1fc)](this[_0x23bb88(0x388)](_0x474f72,_0x318392));return _0x18a738;}[_0x4bf7c9(0x1ef)](_0x51f9f0,_0x5b0db6,_0x5502a){const _0x72f2b1=_0x4bf7c9;if(_0x51f9f0){const {s:_0x3a6cb3,v:_0x5a6354,t:_0x564aa4,p:_0x89c01f}=_0x51f9f0;if(_0x89c01f)return _0x457b67(_0x89c01f);const _0x20cf83=_0x5b0db6['get'](_0x3a6cb3);if(_0x20cf83&&_0x564aa4===_0x181393[_0x72f2b1(0x1c2)][_0x72f2b1(0x2ad)]&&_0x20cf83['n']){const {pattern:_0x5213fb}=_0x20cf83['n'];_0x5502a[_0x5213fb]||(_0x5502a[_0x5213fb]=_0x181393[_0x72f2b1(0x3b9)]['getFormatInfo'](_0x5213fb));const _0x3a0928=_0x5502a[_0x5213fb],_0x233df5=_0x3a0928['isDate'];if(_0x3a0928[_0x72f2b1(0x1fb)])return String(_0x5a6354);if(_0x233df5)return{'v':_0x5a6354,'f':_0x5213fb};}if(_0x564aa4===_0x181393[_0x72f2b1(0x1c2)][_0x72f2b1(0x2ad)])return Number(_0x5a6354);if(_0x564aa4===_0x181393[_0x72f2b1(0x1c2)][_0x72f2b1(0x33b)]||_0x564aa4===_0x181393[_0x72f2b1(0x1c2)][_0x72f2b1(0x4c9)])return String(_0x5a6354);if(_0x564aa4===void 0x0){const _0x49967d=Number(_0x5a6354);if(!Number['isNaN'](_0x49967d)&&String(_0x49967d)===_0x5a6354)return _0x49967d;}return _0x5a6354!=null?_0x5a6354:null;}else return null;}['getRangeData'](_0x4a1efc){const _0x1c5874=_0x4bf7c9,{sheetName:_0x5f03cb,range:_0x4e5b38,unitId:_0x50543d}=_0x4a1efc,_0x267ada=this['_univerInstanceService'][_0x1c5874(0x267)](_0x50543d);if(!_0x267ada)return console[_0x1c5874(0x445)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x1e8729=_0x267ada[_0x1c5874(0x389)](_0x5f03cb),_0x824cdc=_0x1e8729[_0x1c5874(0x246)](),{startRow:_0xde5e20,startColumn:_0x51087c,endRow:_0x1a1aed,endColumn:_0x5abfbb}=this[_0x1c5874(0x345)](_0x4e5b38,_0x1e8729),_0x179cca=_0x267ada['getStyles'](),_0x3237eb=[],_0x150ceb=[],_0x263b8d={};for(let _0x1b5a8c=_0xde5e20;_0x1b5a8c<=_0x1a1aed;_0x1b5a8c++){const _0x101bc1=[];for(let _0x208e68=_0x51087c;_0x208e68<=_0x5abfbb;_0x208e68++){const _0x3f2ba=_0x824cdc[_0x1c5874(0x354)](_0x1b5a8c,_0x208e68);_0x1b5a8c===_0xde5e20?_0x3237eb[_0x1c5874(0x1fc)](_0x3f2ba==null?null:String(_0x3f2ba['v'])):_0x101bc1[_0x1c5874(0x1fc)](this[_0x1c5874(0x1ef)](_0x3f2ba,_0x179cca,_0x263b8d));}_0x150ceb['push'](_0x101bc1);}return{'header':_0x3237eb,'data':_0x150ceb};}[_0x4bf7c9(0x26c)](){const _0x291cac=_0x4bf7c9;return super[_0x291cac(0x26c)]();}[_0x4bf7c9(0x364)](_0x22e600){const _0x28f65f=_0x4bf7c9;super[_0x28f65f(0x364)](_0x22e600),this['initDataRanges']();}['dispose'](){const _0x3934f3=_0x4bf7c9;super['dispose'](),this[_0x3934f3(0x370)]={},this[_0x3934f3(0x21a)]=null;}}const _0x566a91=_0x503122=>{const _0x47a16f=_0x4bf7c9,{targetCellInfo:_0x5c2ed6}=_0x503122,{matrixCache:_0x4174e0,rangesCache:_0xce475}=_0x22d1de({'filter':_0x47a16f(0x3da),'row':_0x47a16f(0x37a),'column':_0x47a16f(0x322),'values':_0x47a16f(0x1cb)},_0x5c2ed6),_0x4ef805=new _0x181393[(_0x47a16f(0x219))]();return _0x4174e0[_0x47a16f(0x20f)]((_0x553a51,_0x626df9,_0x5d1406)=>{const _0x51cd30=_0x47a16f;_0x4ef805[_0x51cd30(0x242)](_0x553a51,_0x626df9,_0x5d1406);}),{'matrix':_0x4ef805,'rangesCache':_0xce475};},_0x3d10f8=_0x4319ca=>{const _0x5ef529=_0x4bf7c9;let _0x21e37b;if(_0x4319ca!=null&&_0x4319ca['v']||(_0x4319ca==null?void 0x0:_0x4319ca['v'])===0x0){_0x21e37b||(_0x21e37b={});const _0x48b632=_0x40f5f0(_0x4319ca['v']);typeof _0x48b632==_0x5ef529(0x3ba)?_0x21e37b['t']=_0x181393[_0x5ef529(0x1c2)][_0x5ef529(0x2ad)]:typeof _0x48b632==_0x5ef529(0x1b9)&&(_0x21e37b['t']=_0x181393[_0x5ef529(0x1c2)][_0x5ef529(0x33b)]),_0x21e37b['v']=_0x48b632;}return _0x21e37b;},_0x5cdf05=(_0x5993c0,_0x59028b,_0x3b97ed)=>{const _0x28d117=_0x4bf7c9;var _0x3d0dfd,_0x27f5f3,_0x1f6f4f,_0x34c5ad,_0x284fb2,_0x4a0344,_0x94ba55,_0x18671a,_0x368ee0,_0x5ee912,_0x2eb7b5,_0x95ef06;const {cornerView:_0x3178c9,rowView:_0x155890,colView:_0x335108,dataView:_0x28f061,pageView:_0x2eb42f,formatMap:_0x76fb3a}=_0x5993c0,{row:_0x58b99c,col:_0x2a65cb}=_0x59028b,_0x57da51=new _0x181393['ObjectMatrix']();let _0x1c5ad9=_0x58b99c,_0x2f2d43=_0x2a65cb;Object[_0x28d117(0x34e)](_0x2eb42f[_0x28d117(0x36a)])['forEach'](_0x100bdc=>{const _0x351f78=_0x28d117;Object[_0x351f78(0x34e)](_0x2eb42f[_0x351f78(0x36a)][Number(_0x100bdc)])['forEach'](_0x168d11=>{const _0x161464=_0x351f78,_0x399a11={..._0x2eb42f['data'][Number(_0x100bdc)][Number(_0x168d11)]};_0x57da51[_0x161464(0x242)](Number(_0x100bdc)+_0x1c5ad9,Number(_0x168d11)+_0x2f2d43,_0x3d10f8(_0x399a11));});});const _0x4b799a=Object[_0x28d117(0x34e)](_0x2eb42f[_0x28d117(0x36a)])[_0x28d117(0x390)];_0x1c5ad9+=_0x4b799a+(_0x4b799a?_0x43ffd9:0x0);const _0x16ac39=_0x3178c9[_0x28d117(0x2ba)](),_0x171fa0=_0x3178c9[_0x28d117(0x47b)]();for(let _0x4df168=0x0;_0x4df168<_0x16ac39;_0x4df168++)for(let _0x5bf5cd=0x0;_0x5bf5cd<_0x171fa0;_0x5bf5cd++){const _0x40c8c7={...(_0x27f5f3=(_0x3d0dfd=_0x3178c9['data'])==null?void 0x0:_0x3d0dfd[_0x4df168])==null?void 0x0:_0x27f5f3[_0x5bf5cd]};_0x40c8c7&&((_0x1f6f4f=_0x155890[_0x28d117(0x3a6)][_0x5bf5cd])!=null&&_0x1f6f4f[_0x28d117(0x2e5)])&&_0x5bf5cd===_0x171fa0-0x1&&_0x4df168===_0x16ac39-0x1&&(_0x40c8c7['v']=''+_0x3b97ed[_0x28d117(0x343)]),_0x57da51['setValue'](_0x4df168+_0x1c5ad9,_0x5bf5cd+_0x2f2d43,_0x3d10f8(_0x40c8c7));}_0x2f2d43+=_0x171fa0;const _0x4466ba=_0x335108[_0x28d117(0x3a6)],_0x10f9c4=_0x335108[_0x28d117(0x3f0)]()>=0x0?_0x335108[_0x28d117(0x3f0)]()+0x1:0x0,_0x32b0a3=_0x335108['getLastCol']()>=0x0?_0x335108[_0x28d117(0x36f)]()+0x1:0x0;for(let _0x2ec6cf=0x0;_0x2ec6cf<_0x32b0a3;_0x2ec6cf++)for(let _0x3edc67=0x0;_0x3edc67<_0x10f9c4;_0x3edc67++){const _0xef1652={...(_0x284fb2=(_0x34c5ad=_0x335108[_0x28d117(0x36a)])==null?void 0x0:_0x34c5ad[_0x2ec6cf])==null?void 0x0:_0x284fb2[_0x3edc67]},_0x2d17b2=(_0x4a0344=_0x4466ba[_0x2ec6cf])==null?void 0x0:_0x4a0344['tableFieldId'],_0xa82b0e=_0x76fb3a[_0x2d17b2];_0xef1652&&(_0xef1652['v']=_0x172616(_0xef1652,_0x2ec6cf===0x0&&((_0x94ba55=_0x335108[_0x28d117(0x2a0)](_0x3edc67+0x1))==null?void 0x0:_0x94ba55['isValue']),_0xa82b0e,_0x3b97ed)),_0x57da51[_0x28d117(0x242)](_0x2ec6cf+_0x1c5ad9,_0x3edc67+_0x2f2d43,_0x3d10f8(_0xef1652));}_0x1c5ad9+=_0x16ac39;const _0x2cd4d9=_0x155890[_0x28d117(0x3a6)],_0x2c6b30=_0x155890[_0x28d117(0x3f0)]()>=0x0?_0x155890[_0x28d117(0x3f0)]()+0x1:0x0,_0x247ce6=_0x155890[_0x28d117(0x36f)]()>=0x0?_0x155890[_0x28d117(0x36f)]()+0x1:0x0;for(let _0x2b7be4=0x0;_0x2b7be4<_0x2c6b30;_0x2b7be4++)for(let _0x4aa60c=0x0;_0x4aa60c<_0x247ce6;_0x4aa60c++){const _0x315aaf={...(_0x368ee0=(_0x18671a=_0x155890['data'])==null?void 0x0:_0x18671a[_0x2b7be4])==null?void 0x0:_0x368ee0[_0x4aa60c]},_0x4fb088=(_0x5ee912=_0x2cd4d9[_0x4aa60c])==null?void 0x0:_0x5ee912[_0x28d117(0x492)],_0x45b475=_0x76fb3a[_0x4fb088];_0x315aaf&&(_0x315aaf['v']=_0x172616(_0x315aaf,!0x1,_0x45b475,_0x3b97ed)),_0x57da51[_0x28d117(0x242)](_0x2b7be4+_0x1c5ad9,_0x4aa60c+_0x2a65cb,_0x3d10f8(_0x315aaf));}const _0x5b4225=_0x28f061[_0x28d117(0x2ba)](),_0x4e731c=_0x28f061[_0x28d117(0x47b)]();for(let _0x3120e8=0x0;_0x3120e8<_0x5b4225;_0x3120e8++)for(let _0x58e6c1=0x0;_0x58e6c1<_0x4e731c;_0x58e6c1++){const _0x38c33e={...(_0x95ef06=(_0x2eb7b5=_0x28f061[_0x28d117(0x36a)])==null?void 0x0:_0x2eb7b5[_0x3120e8])==null?void 0x0:_0x95ef06[_0x58e6c1]};_0x57da51[_0x28d117(0x242)](_0x3120e8+_0x1c5ad9,_0x58e6c1+_0x2f2d43,_0x3d10f8(_0x38c33e));}return _0x57da51;},_0x4d448=_0x3ee251=>{const _0x14a86d=_0x4bf7c9,{view:_0x35d31c,targetCellInfo:_0x2d602c,isEmpty:_0x272948,textInfo:_0x576f08}=_0x3ee251;if(_0x272948)return _0x566a91(_0x3ee251);const {pageView:_0x5af565,cornerView:_0x355ff1,rowView:_0x264af9,colView:_0xa27238,dataView:_0x4845c7}=_0x35d31c,_0xb4c16e=_0x43d27d(_0x2d602c,_0x5af565,!0x0),_0x54de46=_0x5af565[_0x14a86d(0x222)]>=0x0?_0x5af565[_0x14a86d(0x222)]+0x1:0x0,_0x3e2f1a=_0x355ff1['getRowCount'](),_0xeb1446=_0x355ff1[_0x14a86d(0x47b)](),_0x564488=_0xb4c16e['length']>0x0?_0x43ffd9:0x0,_0x41d231=_0x43d27d({'row':_0x2d602c['row']+_0x54de46+_0x564488,'col':_0x2d602c[_0x14a86d(0x394)]},_0x355ff1,!0x1,!0x1),_0x34e80b=_0x43d27d({'row':_0x2d602c[_0x14a86d(0x38c)]+_0x54de46+_0x564488+_0x3e2f1a,'col':_0x2d602c['col']},_0x264af9,!0x1,!0x0),_0xa047d1=_0x43d27d({'row':_0x2d602c[_0x14a86d(0x38c)]+_0x54de46+_0x564488,'col':_0x2d602c[_0x14a86d(0x394)]+_0xeb1446},_0xa27238,!0x1,!0x0),_0x6d8c2c=_0x43d27d({'row':_0x2d602c[_0x14a86d(0x38c)]+_0x54de46+_0x564488+_0x3e2f1a,'col':_0x2d602c['col']+_0xeb1446},_0x4845c7,!0x1,!0x1),_0x427167={'rowRanges':_0x34e80b,'colRanges':_0xa047d1,'cornerRanges':_0x41d231,'dataRanges':_0x6d8c2c,'pageRanges':_0xb4c16e};return{'matrix':_0x5cdf05(_0x35d31c,_0x2d602c,_0x576f08),'rangesCache':_0x427167};};var _0x43ae1b=Object[_0x4bf7c9(0x490)],_0x4f03e5=(_0x4cd570,_0x1557bd,_0x3e70eb,_0x464751)=>{const _0x1ac9fd=_0x4bf7c9;for(var _0x510117=_0x464751>0x1?void 0x0:_0x464751?_0x43ae1b(_0x1557bd,_0x3e70eb):_0x1557bd,_0x1ad8b6=_0x4cd570[_0x1ac9fd(0x390)]-0x1,_0x4a6d63;_0x1ad8b6>=0x0;_0x1ad8b6--)(_0x4a6d63=_0x4cd570[_0x1ad8b6])&&(_0x510117=_0x4a6d63(_0x510117)||_0x510117);return _0x510117;},_0x33c4cb=(_0x21b9c7,_0x7c7399)=>(_0x21bcce,_0x2aa8d0)=>_0x7c7399(_0x21bcce,_0x2aa8d0,_0x21b9c7);_0x1c1f68[_0x4bf7c9(0x1d5)]=class extends _0x181393['Disposable']{constructor(_0x1ffe4b,_0x19c2bb,_0x108af9,_0xe6e743,_0x20edba){const _0x506896=_0x4bf7c9;super(),_0x3f85d0(this,_0x506896(0x29f),new Map()),_0x3f85d0(this,_0x506896(0x24d),new Map()),_0x3f85d0(this,_0x506896(0x406),new Map()),_0x3f85d0(this,'_textInfo'),_0x3f85d0(this,_0x506896(0x208),new _0x1731cb[(_0x506896(0x430))]()),_0x3f85d0(this,_0x506896(0x21f),this['_collectionChange$']['asObservable']()),_0x3f85d0(this,_0x506896(0x477),new _0x1731cb[(_0x506896(0x430))]()),_0x3f85d0(this,_0x506896(0x1be),this[_0x506896(0x477)][_0x506896(0x4ae)]()),_0x3f85d0(this,_0x506896(0x1b3),new _0x1731cb[(_0x506896(0x430))]()),_0x3f85d0(this,_0x506896(0x1ba),this[_0x506896(0x1b3)]['asObservable']()),_0x3f85d0(this,_0x506896(0x351),new Map()),_0x3f85d0(this,_0x506896(0x1dd),[]),_0x3f85d0(this,_0x506896(0x488),new Map()),(this[_0x506896(0x1d3)]=_0x1ffe4b,this[_0x506896(0x3ad)]=_0x19c2bb,this[_0x506896(0x3d4)]=_0x108af9,this[_0x506896(0x462)]=_0xe6e743,this[_0x506896(0x2be)]=_0x20edba,this[_0x506896(0x1f9)]());}[_0x4bf7c9(0x293)](){const _0x51cba0=_0x4bf7c9;return this[_0x51cba0(0x2e2)]?this[_0x51cba0(0x2e2)]:_0x3559ea;}[_0x4bf7c9(0x324)](_0x5b957d){const _0x5553ce=_0x4bf7c9;this[_0x5553ce(0x2e2)]=_0x5b957d;}[_0x4bf7c9(0x45e)](_0x51b62d){const _0x4b30cc=_0x4bf7c9;var _0x5f451e;const {from:_0x23ce81,to:_0x150a0d,unitId:_0x144de0,fromRange:_0x551858,toRange:_0x1d1625}=_0x51b62d;if(_0x23ce81&&_0x150a0d){const _0x2a4fe7=this[_0x4b30cc(0x2a2)](_0x144de0),_0x31945a=this['_model'][_0x4b30cc(0x49b)](_0x144de0),_0x20e7ba=(_0x5f451e=this[_0x4b30cc(0x3ad)]['getUnit'](_0x144de0))==null?void 0x0:_0x5f451e[_0x4b30cc(0x280)](_0x150a0d[_0x4b30cc(0x3c1)]);if(!_0x31945a||!_0x20e7ba)return;const _0x249753=_0x20e7ba==null?void 0x0:_0x20e7ba[_0x4b30cc(0x29e)]();for(const [_0xade905,_0x5c592a]of _0x31945a['entries']())for(const [_0x7dd32c,_0x34529e]of _0x5c592a[_0x4b30cc(0x235)]()){const {sourceRangeInfo:_0x343b9f}=_0x34529e;if(_0x343b9f[_0x4b30cc(0x3d3)]===_0x144de0&&_0x343b9f[_0x4b30cc(0x3c1)]===_0x23ce81['subUnitId']&&_0x181393[_0x4b30cc(0x2ef)][_0x4b30cc(0x217)](_0x551858,_0x343b9f['range'])){const _0x62f298={'row':_0x343b9f[_0x4b30cc(0x375)][_0x4b30cc(0x30c)]-_0x551858[_0x4b30cc(0x30c)],'col':_0x343b9f['range']['startColumn']-_0x551858['startColumn']},_0x23bb6d={'unitId':_0x144de0,'subUnitId':_0x150a0d['subUnitId'],'sheetName':_0x249753,'range':{'startRow':_0x1d1625['startRow']+_0x62f298[_0x4b30cc(0x38c)],'endRow':_0x1d1625[_0x4b30cc(0x30c)]+_0x62f298['row']+_0x343b9f[_0x4b30cc(0x375)]['endRow']-_0x343b9f[_0x4b30cc(0x375)][_0x4b30cc(0x30c)],'startColumn':_0x1d1625['startColumn']+_0x62f298[_0x4b30cc(0x394)],'endColumn':_0x1d1625[_0x4b30cc(0x2c5)]+_0x62f298[_0x4b30cc(0x394)]+_0x343b9f[_0x4b30cc(0x375)][_0x4b30cc(0x1f5)]-_0x343b9f[_0x4b30cc(0x375)][_0x4b30cc(0x2c5)]}};_0x2a4fe7[_0x4b30cc(0x45e)](_0x7dd32c,_0x23bb6d);const _0x21df5a={..._0x34529e,'sourceRangeInfo':_0x23bb6d};this[_0x4b30cc(0x1db)](_0x144de0,_0x150a0d[_0x4b30cc(0x3c1)],_0x7dd32c,_0x21df5a),this['broadcastCollectionChange']({'unitId':_0x144de0,'token':_0x7dd32c,'type':_0x16d496['update'],'oldSourceRangeInfo':_0x343b9f,'dataRangeInfo':_0x23bb6d,'targetCellInfo':_0x34529e['targetCellInfo']}),this[_0x4b30cc(0x1ce)]({'unitId':_0x144de0,'subUnitId':_0x150a0d['subUnitId'],'oldSubUnitId':_0xade905,'pivotTableId':_0x7dd32c,'pivotTableConfig':_0x21df5a,'collectionConfig':_0x2a4fe7[_0x4b30cc(0x26c)]()});}}}}[_0x4bf7c9(0x496)](_0x1afd8f){const _0x27dddc=_0x4bf7c9;this[_0x27dddc(0x208)][_0x27dddc(0x3b6)](_0x1afd8f);}[_0x4bf7c9(0x2a2)](_0xb4a2da){const _0x2d7a53=_0x4bf7c9;let _0x25cf8a=this['_dataFieldManagerCollection'][_0x2d7a53(0x49b)](_0xb4a2da);return _0x25cf8a||(_0x25cf8a=new _0xf6e57b(this,this[_0x2d7a53(0x3ad)]),this[_0x2d7a53(0x351)][_0x2d7a53(0x1b8)](_0xb4a2da,_0x25cf8a)),_0x25cf8a;}[_0x4bf7c9(0x495)](_0xd5e68,_0x2b0e1a){const _0xb9ed08=_0x4bf7c9;return this[_0xb9ed08(0x2a2)](_0xd5e68)[_0xb9ed08(0x48d)][_0x2b0e1a];}[_0x4bf7c9(0x303)](_0x46f611,_0x2c1e4a,_0x2f5339){const _0x447ca0=_0x4bf7c9;return this[_0x447ca0(0x2a2)](_0x46f611)['getUpdateRangeDeleteIds'](_0x2c1e4a,_0x2f5339);}[_0x4bf7c9(0x1e4)](_0x2ae6fe,_0x31c99b){const _0x1c056a=_0x4bf7c9;let _0x1546ab=this['_model'][_0x1c056a(0x49b)](_0x2ae6fe);_0x1546ab||(_0x1546ab=new Map(),this[_0x1c056a(0x29f)][_0x1c056a(0x1b8)](_0x2ae6fe,_0x1546ab));let _0x19075=_0x1546ab[_0x1c056a(0x49b)](_0x31c99b);return _0x19075||(_0x19075=new Map(),_0x1546ab[_0x1c056a(0x1b8)](_0x31c99b,_0x19075)),_0x19075;}['_updateModelCache'](_0xe89f5e,_0x4527a2,_0x1a99e8,_0x59e620){const _0x5404b7=_0x4bf7c9;this[_0x5404b7(0x1e4)](_0xe89f5e,_0x4527a2)[_0x5404b7(0x1b8)](_0x1a99e8,_0x59e620);}['_deleteModelCache'](_0x416702,_0x1bc206,_0x101a06){const _0x355d0f=_0x4bf7c9;var _0x368a99,_0x194031,_0x4d5c36,_0x291b56;((_0x194031=(_0x368a99=this[_0x355d0f(0x29f)][_0x355d0f(0x49b)](_0x416702))==null?void 0x0:_0x368a99[_0x355d0f(0x49b)](_0x1bc206))==null?void 0x0:_0x194031[_0x355d0f(0x49b)](_0x101a06))&&((_0x291b56=(_0x4d5c36=this[_0x355d0f(0x29f)][_0x355d0f(0x49b)](_0x416702))==null?void 0x0:_0x4d5c36[_0x355d0f(0x49b)](_0x1bc206))==null||_0x291b56[_0x355d0f(0x286)](_0x101a06));}[_0x4bf7c9(0x21c)](_0x4ce593,_0x46ba63){const _0x51d447=_0x4bf7c9;this[_0x51d447(0x24d)][_0x51d447(0x1b8)](_0x4ce593,_0x46ba63);}[_0x4bf7c9(0x1ea)](_0x5ca89a){const _0x4f8660=_0x4bf7c9;this[_0x4f8660(0x24d)]['delete'](_0x5ca89a);}[_0x4bf7c9(0x2f9)](_0x4c2b3e,_0x50e29a){const _0x159f8a=_0x4bf7c9;let _0x3f7153=this[_0x159f8a(0x406)][_0x159f8a(0x49b)](_0x4c2b3e);_0x3f7153||(_0x3f7153=new Map(),this[_0x159f8a(0x406)][_0x159f8a(0x1b8)](_0x4c2b3e,_0x3f7153));let _0x199063=_0x3f7153[_0x159f8a(0x49b)](_0x50e29a);return _0x199063||(_0x199063=new Map(),_0x3f7153[_0x159f8a(0x1b8)](_0x50e29a,_0x199063)),_0x199063;}[_0x4bf7c9(0x1ce)](_0x34a16f){const _0x3c7cb1=_0x4bf7c9,{unitId:_0x5a41cb,subUnitId:_0x2ab43f,pivotTableId:_0x48b20c,pivotTableConfig:_0xab0eea,collectionConfig:_0x53e42f}=_0x34a16f,_0x7e3643={'unitId':_0x5a41cb,'subUnitId':_0x2ab43f,'oldSubUnitId':_0x2ab43f,'pivotTableId':_0x48b20c,'pivotTableConfig':_0xab0eea,'collectionConfig':_0x53e42f};this[_0x3c7cb1(0x462)][_0x3c7cb1(0x4c0)](_0x4f2143['id'],_0x7e3643,{'onlyLocal':!0x0});}[_0x4bf7c9(0x308)](_0x1acb64,_0x3fffaf,_0x20835d,_0x36ae6b,_0x37c3ba,_0xde1a53,_0x15c860,_0x57e1d2=!0x1){const _0x5cc377=_0x4bf7c9;var _0x3e58d1;this[_0x5cc377(0x462)][_0x5cc377(0x4c0)](_0x1478e7['id'],{'single':{'unitId':_0x1acb64,'subUnitId':_0x3fffaf,'type':_0x20835d,'pivotTableId':_0x36ae6b,'view':_0x37c3ba,'pivotConfig':_0xde1a53},'collectionConfig':{[_0x1acb64]:_0x15c860}},{'onlyLocal':!0x0});const _0x58f454=!!((_0x3e58d1=this['getPivotTableInstance'](_0x36ae6b))!=null&&_0x3e58d1[_0x5cc377(0x23d)]()),_0x5041b7=this[_0x5cc377(0x439)](_0x1acb64,_0x3fffaf,_0x36ae6b);_0x5041b7&&this['updateViewData']({'view':_0x37c3ba,'pivotTableId':_0x36ae6b,'textInfo':this['getTextInfo'](),'isEmpty':_0x58f454,'targetCellInfo':_0x5041b7['targetCellInfo']},_0x57e1d2);}[_0x4bf7c9(0x46c)](_0x4c63a6,_0x16a440){const _0xcb5e11=_0x4bf7c9,{targetCellInfo:_0x3753ba,pivotTableId:_0xca7f0b}=_0x4c63a6,{unitId:_0x94a5e3,subUnitId:_0x259fa6}=_0x3753ba,_0x512448=this[_0xcb5e11(0x2f9)](_0x94a5e3,_0x259fa6),_0x4aff18=_0x512448[_0xcb5e11(0x49b)](_0xca7f0b);let _0x537357,_0x3eabbf;_0x4aff18&&(_0x537357=_0x4aff18['rangeCache'],_0x3eabbf=_0x4aff18['matrix']);const {rangesCache:_0x683aee,matrix:_0xc898e}=_0x4d448(_0x4c63a6);_0x512448['set'](_0xca7f0b,{'rangeCache':_0x683aee,'matrix':_0xc898e,'oldMatrix':_0x3eabbf,'oldRangeCache':_0x537357}),_0x16a440||this[_0xcb5e11(0x477)]['next']({'unitId':_0x94a5e3,'subUnitId':_0x259fa6,'pivotTableId':_0xca7f0b});}[_0x4bf7c9(0x256)](_0x56d94c,_0x5be8bc,_0x3495ca,_0xce180c,_0x26665d){const _0x48eac5=_0x4bf7c9;this[_0x48eac5(0x1db)](_0x56d94c,_0x5be8bc,_0x3495ca,_0x26665d),this['_updatePivotTableInstanceCache'](_0x3495ca,_0xce180c);}[_0x4bf7c9(0x32f)](_0x3b532f,_0x201efd,_0x3ab850){const _0x34d313=_0x4bf7c9,_0x44eaf3=this[_0x34d313(0x2a2)](_0x3b532f);_0x44eaf3[_0x34d313(0x253)](_0x3ab850)['forEach'](_0x407ba7=>{const _0x4455cd=_0x34d313;_0x44eaf3[_0x4455cd(0x3cc)](_0x407ba7);}),this[_0x34d313(0x214)](_0x3b532f,_0x3ab850),this[_0x34d313(0x3ec)](_0x3b532f,_0x201efd,_0x3ab850),this[_0x34d313(0x1ea)](_0x3ab850);}[_0x4bf7c9(0x480)](_0x56b303,_0x19ee34,_0x14d3e9,_0x1228f1){const _0x42f413=_0x4bf7c9;this[_0x42f413(0x1db)](_0x56b303,_0x19ee34,_0x14d3e9,_0x1228f1);}[_0x4bf7c9(0x439)](_0x94dcb7,_0x264357,_0x5d90d7){const _0x2c2170=_0x4bf7c9;var _0x1d137d,_0xcd7aab;const _0x526e0c=(_0xcd7aab=(_0x1d137d=this[_0x2c2170(0x29f)][_0x2c2170(0x49b)](_0x94dcb7))==null?void 0x0:_0x1d137d[_0x2c2170(0x49b)](_0x264357))==null?void 0x0:_0xcd7aab[_0x2c2170(0x49b)](_0x5d90d7);if(_0x526e0c)return _0x526e0c;}[_0x4bf7c9(0x1b4)](_0x37702e,_0x3fe89c,_0x3c24b3){const _0x1ad265=_0x4bf7c9;var _0x1de2d1,_0x57beef;const _0x3221b3=(_0x57beef=(_0x1de2d1=this[_0x1ad265(0x29f)][_0x1ad265(0x49b)](_0x37702e))==null?void 0x0:_0x1de2d1[_0x1ad265(0x49b)](_0x3fe89c))==null?void 0x0:_0x57beef['get'](_0x3c24b3);if(_0x3221b3)return _0x3221b3[_0x1ad265(0x237)];}['getPivotTableInstance'](_0x86e56c){const _0x5729ee=_0x4bf7c9;return this[_0x5729ee(0x24d)][_0x5729ee(0x49b)](_0x86e56c);}[_0x4bf7c9(0x2d3)](_0xd788c){const _0x1d96f1=_0x4bf7c9;this[_0x1d96f1(0x29f)]['delete'](_0xd788c);const _0x324b3a=this[_0x1d96f1(0x351)][_0x1d96f1(0x49b)](_0xd788c);_0x324b3a&&(_0x324b3a[_0x1d96f1(0x311)](),this[_0x1d96f1(0x351)][_0x1d96f1(0x286)](_0xd788c)),this[_0x1d96f1(0x406)][_0x1d96f1(0x286)](_0xd788c),this[_0x1d96f1(0x1dd)][_0x1d96f1(0x1e7)](_0x461f73=>{const _0x3e953c=_0x1d96f1;_0x461f73[_0x3e953c(0x2d3)](_0xd788c);});}[_0x4bf7c9(0x47a)](_0x4774d8,_0x16fd92,_0x29053a,_0x5bfa80){const _0xdbb58c=_0x4bf7c9;return this[_0xdbb58c(0x2a2)](_0x29053a[_0xdbb58c(0x3d3)])[_0xdbb58c(0x47a)](_0x4774d8,_0x16fd92,_0x29053a,_0x5bfa80);}[_0x4bf7c9(0x24e)](_0x316833){const _0x32f0b4=_0x4bf7c9;return this['getDataFieldManager'](_0x316833[_0x32f0b4(0x3d3)])[_0x32f0b4(0x24e)](_0x316833);}[_0x4bf7c9(0x331)](_0x584d23,_0x397d6d,_0x1e90c4){const _0x1d0b3d=_0x4bf7c9;this[_0x1d0b3d(0x2a2)](_0x1e90c4[_0x1d0b3d(0x3d3)])['refreshData'](_0x584d23,_0x397d6d,_0x1e90c4);}[_0x4bf7c9(0x3e1)](_0x5cbc68,_0x28ffc4){const _0x49898f=_0x4bf7c9;this['getDataFieldManager'](_0x5cbc68)[_0x49898f(0x3cc)](_0x28ffc4);}[_0x4bf7c9(0x214)](_0x193fe1,_0x131eb9){this['getDataFieldManager'](_0x193fe1)['removeCollectionImp'](_0x131eb9);}[_0x4bf7c9(0x279)](_0x117d66,_0x23ee07){const _0x3c66ef=_0x4bf7c9;var _0x2b35e9;return(_0x2b35e9=this[_0x3c66ef(0x29f)]['get'](_0x117d66))==null?void 0x0:_0x2b35e9[_0x3c66ef(0x49b)](_0x23ee07);}[_0x4bf7c9(0x40a)](_0xffd88a){const _0x4e4ef4=_0x4bf7c9;for(const [_0x1e5a1f,_0x406bd2]of this['_model'][_0x4e4ef4(0x235)]())for(const [_0x26a692,_0x39dce2]of _0x406bd2[_0x4e4ef4(0x235)]())if(_0x39dce2[_0x4e4ef4(0x2cb)](_0xffd88a))return{'unitId':_0x1e5a1f,'subUnitId':_0x26a692};return null;}['sideEffectUpdateWorkerCache'](_0x9ab747,_0x3977e3,_0x3a8751,_0x8eeae8){const _0x5f4adf=_0x4bf7c9,_0x1085fc=this[_0x5f4adf(0x2f9)](_0x9ab747,_0x3977e3);_0x8eeae8?_0x1085fc['set'](_0x3a8751,_0x8eeae8):_0x1085fc['delete'](_0x3a8751),this['_viewData$'][_0x5f4adf(0x3b6)]({'unitId':_0x9ab747,'subUnitId':_0x3977e3,'pivotTableId':_0x3a8751});}[_0x4bf7c9(0x311)](){super['dispose']();}[_0x4bf7c9(0x4bf)](_0x51f373,_0x49afdc,_0x1a8be3){const _0xba51db=_0x4bf7c9;var _0x5be3c3,_0x281ada;const _0x5dc582=(_0x281ada=(_0x5be3c3=this[_0xba51db(0x406)][_0xba51db(0x49b)](_0x51f373))==null?void 0x0:_0x5be3c3[_0xba51db(0x49b)](_0x49afdc))==null?void 0x0:_0x281ada[_0xba51db(0x49b)](_0x1a8be3);return _0x5dc582||null;}[_0x4bf7c9(0x440)](_0x10395c){this['updateDirtyPivotTable'](_0x10395c);}[_0x4bf7c9(0x483)](_0x34900f){const _0x53cd1f=_0x4bf7c9,{token:_0x2e0cc7,unitId:_0x5483f5,subUnitId:_0x1f878a}=_0x34900f,_0x17073e=_0x5483f5+'-'+_0x1f878a+'-'+_0x2e0cc7;this[_0x53cd1f(0x488)]['get'](_0x17073e)&&clearTimeout(this[_0x53cd1f(0x488)]['get'](_0x17073e));const _0x3ca507=setTimeout(()=>{const _0x5be9d4=_0x53cd1f;this[_0x5be9d4(0x360)](_0x34900f),this[_0x5be9d4(0x488)]['delete'](_0x17073e);},_0x23433f);this[_0x53cd1f(0x488)][_0x53cd1f(0x1b8)](_0x17073e,_0x3ca507);}[_0x4bf7c9(0x360)](_0x198261){const _0x581731=_0x4bf7c9,{unitId:_0x113174,subUnitId:_0x48483d,token:_0x48ea45,type:_0x456193,pivotConfig:_0x3f0acc}=_0x198261,_0xf65d69=this[_0x581731(0x1eb)](_0x48ea45),_0xf77d67=_0xf65d69==null?void 0x0:_0xf65d69['query'](),_0x342d75=_0x3f0acc!=null?_0x3f0acc:this[_0x581731(0x439)](_0x113174,_0x48483d,_0x48ea45);_0x342d75&&(_0x342d75[_0x581731(0x23d)]=!!(_0xf65d69!=null&&_0xf65d69[_0x581731(0x23d)]())),(_0xf77d67||_0x456193===_0xefe34['Delete'])&&this[_0x581731(0x308)](_0x113174,_0x48483d,_0x456193,_0x48ea45,_0xf77d67,_0x342d75,this[_0x581731(0x2a2)](_0x113174)[_0x581731(0x26c)]());}[_0x4bf7c9(0x26c)](_0x10997d){const _0x5b8c86=_0x4bf7c9,_0x485e61={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5b8c86(0x2a2)](_0x10997d)&&(_0x485e61['dataFieldManagerConfig'][_0x10997d]=this[_0x5b8c86(0x2a2)](_0x10997d)['toJSON']()),this[_0x5b8c86(0x29f)][_0x5b8c86(0x49b)](_0x10997d)){_0x485e61['pivotTableConfigs'][_0x10997d]={};const _0x5663d6=this['_model'][_0x5b8c86(0x49b)](_0x10997d);_0x5663d6!=null&&_0x5663d6[_0x5b8c86(0x379)]&&[..._0x5663d6[_0x5b8c86(0x34e)]()][_0x5b8c86(0x1e7)](_0xe66f42=>{const _0x55755a=_0x5b8c86,_0x34a5b9=_0x5663d6[_0x55755a(0x49b)](_0xe66f42);_0x34a5b9!=null&&_0x34a5b9[_0x55755a(0x379)]&&(_0x485e61['pivotTableConfigs'][_0x10997d][_0xe66f42]={},[..._0x34a5b9['keys']()][_0x55755a(0x1e7)](_0x13f7d0=>{const _0x1cf4d1=_0x34a5b9['get'](_0x13f7d0);_0x1cf4d1&&(_0x485e61['pivotTableConfigs'][_0x10997d][_0xe66f42][_0x13f7d0]=_0x1cf4d1);}));});}return _0x485e61;}[_0x4bf7c9(0x364)](_0x1fa824){const _0x48fc80=_0x4bf7c9;var _0x277795;const {dataFieldManagerConfig:_0x16389d,pivotTableConfigs:_0x3ed4d6}=_0x1fa824;_0x16389d&&Object[_0x48fc80(0x34e)](_0x16389d)['forEach'](_0x2fd942=>{const _0x1defb4=_0x48fc80;this[_0x1defb4(0x2a2)](_0x2fd942)[_0x1defb4(0x364)](_0x16389d[_0x2fd942]);});const _0x33144d=[];if(_0x3ed4d6){const _0x1c1fc4=(_0x277795=this[_0x48fc80(0x1d3)][_0x48fc80(0x49b)](_0x181393[_0x48fc80(0x1c0)])[_0x48fc80(0x4ca)](_0x5cfca4[_0x48fc80(0x320)]))!=null?_0x277795:{},{ls:_0x597a4f,pbk:_0x35fa6e}=_0x1c1fc4,_0x2ad3cc=_0x3f5ab0(_0x3d1cb7,_0x597a4f,_0x35fa6e)[_0x48fc80(0x1f1)];Object[_0x48fc80(0x34e)](_0x3ed4d6)[_0x48fc80(0x1e7)](_0x31e075=>{const _0xfc08c5=_0x48fc80;let _0x4d209e=0x0;const _0x13c439=_0x3ed4d6[_0x31e075];Object[_0xfc08c5(0x34e)](_0x13c439)[_0xfc08c5(0x1e7)](_0x231e0f=>{const _0x5d299a=_0xfc08c5,_0x5e41f3=_0x13c439[_0x231e0f];Object[_0x5d299a(0x34e)](_0x5e41f3)[_0x5d299a(0x1e7)](_0x5b8096=>{const _0x4bc802=_0x5d299a,_0x102b4c=_0x5e41f3[_0x5b8096];if(_0x102b4c){if(_0x4d209e>=_0x2ad3cc)return;_0x4d209e++;const _0x5046b0=this[_0x4bc802(0x2a2)](_0x31e075),_0x502b70=_0x5046b0['collections'][_0x5b8096],_0x2934f6=_0x502b70[_0x4bc802(0x20b)]();let _0x2a98da=0x0;const _0x25ed8e=[];for(const _0x5562a5 of _0x2934f6){const _0x511b04=_0x502b70[_0x4bc802(0x3dd)](_0x5562a5);if(_0x1861d8[_0x4bc802(0x41e)](_0x511b04)){const _0x1f9efd=_0x511b04['getOriginFieldId'](),_0x2b1b45=_0x502b70[_0x4bc802(0x3dd)](_0x1f9efd);_0x2b1b45&&_0x25ed8e[_0x4bc802(0x1fc)]([_0x511b04,_0x2b1b45]);continue;}_0x5046b0[_0x4bc802(0x1df)](_0x5562a5,_0x102b4c['sourceRangeInfo'],_0x2a98da),_0x2a98da++;}_0x25ed8e[_0x4bc802(0x1e7)](([_0x3cd834,_0x362b35])=>{const _0x597915=_0x4bc802;_0x3cd834[_0x597915(0x35d)](_0x362b35);});const _0x51e65b=new _0x1861d8[(_0x4bc802(0x3fc))](_0x502b70);_0x51e65b[_0x4bc802(0x364)](_0x102b4c[_0x4bc802(0x237)]),this[_0x4bc802(0x256)](_0x31e075,_0x231e0f,_0x5b8096,_0x51e65b,_0x102b4c);const _0x138297=_0x51e65b[_0x4bc802(0x403)]();_0x33144d[_0x4bc802(0x1fc)]({'unitId':_0x31e075,'subUnitId':_0x231e0f,'pivotTableId':_0x5b8096,'view':_0x138297[_0x4bc802(0x26c)](),'pivotConfig':_0x102b4c,'type':_0xefe34[_0x4bc802(0x1cc)]});const _0x4804fb=!!_0x51e65b[_0x4bc802(0x23d)](),_0x7c29b4={'view':_0x138297,'pivotTableId':_0x5b8096,'textInfo':this[_0x4bc802(0x293)](),'isEmpty':_0x4804fb,'targetCellInfo':_0x102b4c[_0x4bc802(0x3e0)]};this[_0x4bc802(0x46c)](_0x7c29b4,!0x1);}});});});}_0x16389d&&Object[_0x48fc80(0x34e)](_0x16389d)[_0x48fc80(0x1e7)](_0x3dc2d9=>{const _0x4e390=_0x48fc80,_0x720be6=this[_0x4e390(0x2a2)](_0x3dc2d9);this[_0x4e390(0x1b3)][_0x4e390(0x3b6)](_0x720be6[_0x4e390(0x48d)]);}),this[_0x48fc80(0x462)][_0x48fc80(0x4c0)](_0x1478e7['id'],{'batch':_0x33144d,'collectionConfig':_0x16389d},{'onlyLocal':!0x0});}[_0x4bf7c9(0x1f9)](){const _0x59d174=_0x4bf7c9;this[_0x59d174(0x413)](this[_0x59d174(0x2be)]['registerPluginResource']({'toJson':_0x28bc76=>JSON[_0x59d174(0x294)](this['toJSON'](_0x28bc76)),'parseJson':_0x17ffd2=>{const _0x46a88c=_0x59d174;if(!_0x17ffd2)return{};try{return JSON[_0x46a88c(0x2f5)](_0x17ffd2);}catch{return{};}},'businesses':[_0x181393[_0x59d174(0x23b)][_0x59d174(0x46e)]],'pluginName':_0x24e5d3,'onLoad':(_0x1ab205,_0x3202f0)=>{const _0x396ed9=_0x59d174;this[_0x396ed9(0x364)](_0x3202f0);},'onUnLoad':_0x200fb3=>{const _0x3d8b5a=_0x59d174;this[_0x3d8b5a(0x2d3)](_0x200fb3);}}));}},_0x1c1f68[_0x4bf7c9(0x1d5)]=_0x4f03e5([_0x33c4cb(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x181393['Injector'])),_0x33c4cb(0x1,_0x181393['IUniverInstanceService']),_0x33c4cb(0x2,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x35a)])),_0x33c4cb(0x3,_0x181393['ICommandService']),_0x33c4cb(0x4,_0x181393['Inject'](_0x181393[_0x4bf7c9(0x4a8)]))],_0x1c1f68['SheetsPivotDataSourceModel']);const _0x364cea={0x0:{0x0:{'v':'filter','s':_0x2ffc39}},0x2:{0x1:{'v':'','s':_0x2ffc39},0x2:{'v':'','s':_0x2ffc39},0x3:{'v':_0x4bf7c9(0x33e),'s':_0x2ffc39},0x4:{'v':'','s':_0x2ffc39},0x5:{'v':'','s':_0x2ffc39}},0x3:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0x4:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0x5:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0x6:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0x7:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0x8:{0x0:{'v':_0x4bf7c9(0x38c),'s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':_0x4bf7c9(0x380),'s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0x9:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0xa:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0xb:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0xc:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}},0xd:{0x0:{'v':'','s':_0x2ffc39},0x1:{'v':'','s':_0x46b0ef},0x2:{'v':'','s':_0x46b0ef},0x3:{'v':'','s':_0x46b0ef},0x4:{'v':'','s':_0x46b0ef},0x5:{'v':'','s':_0x46b0ef}}},_0x4d410d={'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':[]},_0x22d1de=(_0x7d7020,_0x4115e3)=>{const _0x30b104=_0x4bf7c9,_0x407e7c=new _0x181393[(_0x30b104(0x219))](),_0x318709=new _0x181393[(_0x30b104(0x219))](_0x364cea),{row:_0x24b2f1,col:_0x4173aa}=_0x4115e3;_0x318709[_0x30b104(0x20f)]((_0x5059de,_0x428d4d,_0x4ccfe7)=>{const _0x65b39b=_0x30b104;let _0x53de15='';_0x4ccfe7['v']===_0x65b39b(0x362)?_0x53de15=_0x7d7020['filter']:_0x4ccfe7['v']===_0x65b39b(0x38c)?_0x53de15=_0x7d7020[_0x65b39b(0x38c)]:_0x4ccfe7['v']===_0x65b39b(0x33e)?_0x53de15=_0x7d7020['column']:_0x4ccfe7['v']===_0x65b39b(0x380)&&(_0x53de15=_0x7d7020[_0x65b39b(0x380)]),_0x407e7c[_0x65b39b(0x242)](_0x5059de+_0x24b2f1,_0x428d4d+_0x4173aa,{..._0x4ccfe7,'v':_0x53de15});});const _0x42ef4b=_0x181393['Tools'][_0x30b104(0x457)](_0x4d410d);return Object[_0x30b104(0x34e)](_0x4d410d)[_0x30b104(0x1e7)](_0x1e7a1a=>{const _0x4e2afb=_0x30b104;_0x42ef4b[_0x1e7a1a]=_0x4d410d[_0x1e7a1a][_0x4e2afb(0x4b2)](_0xe221c9=>({..._0xe221c9,'startRow':_0xe221c9[_0x4e2afb(0x30c)]+_0x24b2f1,'endRow':_0xe221c9[_0x4e2afb(0x433)]+_0x24b2f1,'startColumn':_0xe221c9[_0x4e2afb(0x2c5)]+_0x4173aa,'endColumn':_0xe221c9[_0x4e2afb(0x1f5)]+_0x4173aa}));}),{'matrixCache':_0x407e7c,'rangesCache':_0x42ef4b};};function _0x40da2e(_0x5787ab,_0x5eab3e){const _0xb26faa=_0x4bf7c9;let _0x2a9c5c='';const _0x8ba16c=this[_0xb26faa(0x293)]();switch(_0x5eab3e){case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x43f)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x404)]+_0x5787ab;break;case _0x1861d8['PivotSubtotalTypeEnum'][_0xb26faa(0x1f1)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x28c)]+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x341)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x482)]+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x41f)]:_0x2a9c5c=_0x8ba16c['sheets-pivot.maxName']+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x215)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x3eb)]+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x1b7)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x288)]+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x1e3)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x2f2)]+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x298)]:_0x2a9c5c=_0x8ba16c['sheets-pivot.stdDevpName']+_0x5787ab;break;case _0x1861d8['PivotSubtotalTypeEnum'][_0xb26faa(0x290)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x312)]+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x1c4)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x39c)]+_0x5787ab;break;case _0x1861d8[_0xb26faa(0x417)][_0xb26faa(0x1bd)]:_0x2a9c5c=_0x8ba16c[_0xb26faa(0x248)]+_0x5787ab;break;default:_0x2a9c5c=_0x5787ab;break;}return _0x2a9c5c;}function _0x514dd2(_0x26bfd3,_0x4db594,_0x5abb0c,_0x50afe9,_0x61c33d){const _0x4515cf=_0x4bf7c9;var _0x77dcb1,_0x2b641f,_0x39a2db,_0x30ac24,_0x2e0674;const _0x269f89=_0x181393[_0x4515cf(0x432)](_0x26bfd3,_0x4db594),{rangesInfo:_0x10584f,areaInfo:_0x583d3c,headerMap:_0x4f6fd4}=_0x61c33d;if(!_0x10584f||!_0x583d3c||!_0x4f6fd4)return;const _0xa67510=Object[_0x4515cf(0x34e)](_0x10584f)[_0x4515cf(0x2e3)](_0x15dd3c=>_0x10584f[_0x15dd3c][_0x4515cf(0x3d6)](_0x1fd841=>_0x181393[_0x4515cf(0x2ef)][_0x4515cf(0x217)](_0x1fd841,_0x269f89))),_0x42e666=_0x583d3c;let _0x19760d,_0x4b985a,_0x22b4f2;if(_0xa67510===_0x4515cf(0x3f6))_0x19760d=(_0x77dcb1=_0x42e666==null?void 0x0:_0x42e666['rowInfo'])==null?void 0x0:_0x77dcb1[_0x26bfd3],_0x4b985a=(_0x2b641f=_0x4f6fd4==null?void 0x0:_0x4f6fd4['rowHeaderMap'])==null?void 0x0:_0x2b641f[_0x4db594],_0x22b4f2=_0x4b985a==null?void 0x0:_0x4b985a['tableFieldId'];else{if(_0xa67510===_0x4515cf(0x472))_0x19760d=(_0x39a2db=_0x42e666==null?void 0x0:_0x42e666['colInfo'])==null?void 0x0:_0x39a2db[_0x4db594],_0x4b985a=(_0x30ac24=_0x4f6fd4[_0x4515cf(0x444)])==null?void 0x0:_0x30ac24[_0x26bfd3+0x1+_0x4db594-_0x10584f[_0x4515cf(0x472)][0x0][_0x4515cf(0x2c5)]],_0x22b4f2=_0x4b985a==null?void 0x0:_0x4b985a[_0x4515cf(0x492)];else{if(_0xa67510==='cornerRanges')_0x19760d=(_0x2e0674=_0x42e666==null?void 0x0:_0x42e666[_0x4515cf(0x3c2)])==null?void 0x0:_0x2e0674[_0x4db594],_0x22b4f2=_0x19760d==null?void 0x0:_0x19760d[_0x4515cf(0x492)];else{if(_0xa67510===_0x4515cf(0x234)){const _0x25ffa9=_0x5abb0c==null?void 0x0:_0x5abb0c['fi'];_0x25ffa9!==void 0x0&&(_0x22b4f2=_0x50afe9[_0x4515cf(0x3b2)](_0x25ffa9));}}}}return{'filterId':_0x22b4f2,'info':_0x19760d,'data':_0x5abb0c,'headerInfo':_0x4b985a};}function _0x5739bd(_0x200a9d,_0x15aaae,_0x56c84d){const _0x36ab47=_0x4bf7c9,_0xa8d982=_0x200a9d[_0x36ab47(0x27b)],_0x20cb06=_0xa8d982[_0x36ab47(0x20b)](),_0x3098d1=new Set();_0x200a9d[_0x36ab47(0x2b6)](_0x587d41=>{const _0x172add=_0x36ab47;_0x3098d1[_0x172add(0x2a4)](_0x587d41[_0x172add(0x259)]);});const _0x11c32d=_0x20cb06[_0x36ab47(0x4b2)](_0x5c684a=>{const _0x590ee8=_0x36ab47,_0xb992d5=_0xa8d982[_0x590ee8(0x3dd)](_0x5c684a);return{'checked':_0x3098d1['has'](_0x5c684a),'dataFieldId':_0xb992d5['id'],'id':_0xb992d5['id'],'name':_0xa8d982[_0x590ee8(0x348)](_0xb992d5['id']),'type':_0xb992d5[_0x590ee8(0x330)](),'pivotTableId':_0x15aaae};}),_0x4ffa21=[];_0x200a9d[_0x36ab47(0x26b)](_0x1861d8[_0x36ab47(0x1e1)][_0x36ab47(0x37a)],_0x162746=>{const _0x4e7efe=_0x36ab47;_0x4ffa21['push']({'dataFieldId':_0x162746['dataFieldId'],'tableFieldId':_0x162746['getId'](),'displayName':_0x162746[_0x4e7efe(0x348)]()});});const _0xe2f69=[];_0x200a9d[_0x36ab47(0x26b)](_0x1861d8[_0x36ab47(0x1e1)][_0x36ab47(0x322)],_0x159688=>{const _0x41ca6e=_0x36ab47;_0xe2f69['push']({'dataFieldId':_0x159688['dataFieldId'],'tableFieldId':_0x159688[_0x41ca6e(0x3dc)](),'displayName':_0x159688['getDisplayName']()});});const _0x4a9be7=[];if(_0x200a9d[_0x36ab47(0x26b)](_0x1861d8[_0x36ab47(0x1e1)][_0x36ab47(0x226)],_0xc7c37b=>{const _0x84fe91=_0x36ab47;_0x4a9be7[_0x84fe91(0x1fc)]({'dataFieldId':_0xc7c37b['dataFieldId'],'tableFieldId':_0xc7c37b['getId'](),'displayName':_0xc7c37b[_0x84fe91(0x348)](),'format':_0xc7c37b[_0x84fe91(0x1d7)](),'subTotalType':_0xc7c37b[_0x84fe91(0x349)]()});}),_0x4a9be7[_0x36ab47(0x390)]>0x1){const _0x38e4c8=_0x200a9d['getValueIndex']();(_0x200a9d[_0x36ab47(0x340)]()?_0xe2f69:_0x4ffa21)['splice'](_0x38e4c8,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x36ab47(0x3c7)});}const _0x4e5b6c=[];_0x200a9d[_0x36ab47(0x26b)](_0x1861d8['PivotTableFiledAreaEnum'][_0x36ab47(0x3da)],_0x3dd2d3=>{const _0x2777ec=_0x36ab47;_0x4e5b6c[_0x2777ec(0x1fc)]({'dataFieldId':_0x3dd2d3['dataFieldId'],'tableFieldId':_0x3dd2d3[_0x2777ec(0x3dc)](),'displayName':_0x3dd2d3[_0x2777ec(0x348)]()});});const _0x8380d8=_0x56c84d[_0x36ab47(0x3f3)];return{'sourceList':_0x11c32d,'sourceRange':_0x8380d8,'rowFields':_0x4ffa21,'columnFields':_0xe2f69,'valueFields':_0x4a9be7,'filterFields':_0x4e5b6c,'positionInfo':_0x56c84d['targetCellInfo']};}function _0x23275f(_0x529142,_0x310774,_0x1cae2d='',_0x10a328={}){const _0x5bfefb=_0x4bf7c9,_0x3c3a6f=_0x529142['get'](_0x181393['LocaleService']);for(const _0x6579f0 in _0x310774)if(Object[_0x5bfefb(0x2e9)][_0x5bfefb(0x4a4)][_0x5bfefb(0x22a)](_0x310774,_0x6579f0)){const _0x285261=_0x1cae2d?_0x1cae2d+'.'+_0x6579f0:_0x6579f0;typeof _0x310774[_0x6579f0]==_0x5bfefb(0x32a)&&_0x310774[_0x6579f0]!==null&&!Array[_0x5bfefb(0x2ea)](_0x310774[_0x6579f0])?_0x23275f(_0x529142,_0x310774[_0x6579f0],_0x285261,_0x10a328):_0x10a328[_0x285261]=_0x3c3a6f['t'](_0x285261);}return _0x10a328;}const _0x22f57d=_0x249bfd=>{const _0x1ab626=_0x4bf7c9;if(!_0x249bfd)return[];const {rowRanges:_0x363271,colRanges:_0x15e4f0,cornerRanges:_0x28b775,dataRanges:_0x584d44,pageRanges:_0x2c4972}=_0x249bfd,_0x4f6386=[..._0x15e4f0,..._0x363271,..._0x584d44,..._0x28b775]['filter'](_0x15bf53=>_0x15bf53[_0x1ab626(0x30c)]>=0x0&&_0x15bf53['startColumn']>=0x0&&_0x15bf53[_0x1ab626(0x433)]>=0x0&&_0x15bf53[_0x1ab626(0x1f5)]>=0x0);let _0x397b7d=Number['MAX_SAFE_INTEGER'],_0x4b30a6=Number[_0x1ab626(0x25b)],_0xae4d85=Number[_0x1ab626(0x42f)],_0x1c16b7=Number[_0x1ab626(0x25b)];for(let _0x1bc4d3=0x0;_0x1bc4d3<_0x4f6386[_0x1ab626(0x390)];_0x1bc4d3++)_0x397b7d=Math['min'](_0x397b7d,_0x4f6386[_0x1bc4d3]['startRow']),_0x4b30a6=Math[_0x1ab626(0x41f)](_0x4b30a6,_0x4f6386[_0x1bc4d3][_0x1ab626(0x433)]),_0xae4d85=Math[_0x1ab626(0x215)](_0xae4d85,_0x4f6386[_0x1bc4d3][_0x1ab626(0x2c5)]),_0x1c16b7=Math[_0x1ab626(0x41f)](_0x1c16b7,_0x4f6386[_0x1bc4d3]['endColumn']);return[..._0x2c4972,{'startRow':_0x397b7d,'endRow':_0x4b30a6,'startColumn':_0xae4d85,'endColumn':_0x1c16b7}];};function _0x5018f8(_0x2beda0,_0x848d2d){const _0x435044=_0x4bf7c9,_0xf8e9f9=_0x848d2d[_0x435044(0x207)]['drillDown'],{pivotTableId:_0x1c832b,unitId:_0x3e939d,subUnitId:_0x16a8fa}=_0x848d2d;if(!_0xf8e9f9)return;const _0x519310=_0x2beda0[_0x435044(0x49b)](_0x1c1f68[_0x435044(0x1d5)]),_0x39c86d=_0x519310[_0x435044(0x1eb)](_0x1c832b),_0x4d4f2d=_0x519310[_0x435044(0x439)](_0x3e939d,_0x16a8fa,_0x1c832b);if(!_0x39c86d||!_0x4d4f2d)return;const _0x328e3d=_0x39c86d[_0x435044(0x416)](_0xf8e9f9['tuple']);if(!(_0x328e3d!=null&&_0x328e3d[_0x435044(0x390)]))return;const _0x3eda17=_0x4d4f2d[_0x435044(0x3f3)],{unitId:_0xa0d51f,subUnitId:_0x3e679d,range:_0x252f90}=_0x3eda17;let _0xe0a9c1=0x0;const _0x51d07e=_0x39c86d[_0x435044(0x27b)]['getFieldIds']()[_0x435044(0x350)]((_0x38fb90,_0x5b4ae4)=>{const _0x567d50=_0x435044;var _0xd82725;const _0x19e69e=(_0xd82725=_0x39c86d[_0x567d50(0x313)](_0x5b4ae4))==null?void 0x0:_0xd82725[_0x567d50(0x220)]();return _0x19e69e&&(_0x38fb90[String(_0xe0a9c1)]=_0x19e69e),_0xe0a9c1++,_0x38fb90;},{});return{'indexes':_0x328e3d,'range':_0x252f90,'sourceUnitId':_0xa0d51f,'sourceSubUnitId':_0x3e679d,'formatMap':_0x51d07e};}function _0x20566e(_0x35824b,_0x4965ea){const _0x21d800=_0x4bf7c9;if(!_0x35824b||!_0x4965ea)return!0x0;const _0x5bf0c8=_0x5cfca4[_0x21d800(0x289)](_0x417057,_0x4b887f),_0x18c217=new Function('return\x20'+_0x5bf0c8)()(_0x35824b,_0x4965ea)[_0x21d800(0x33c)],_0x4361b7=_0x5cfca4[_0x21d800(0x479)](_0x18c217,'sf',_0x5001aa);return!((_0x18c217==null?void 0x0:_0x18c217['rt'])===_0x5cfca4[_0x21d800(0x454)][_0x21d800(0x231)]&&!_0x4361b7);}function _0x3f5ab0(_0x2b3175,_0x3b3f40,_0x47c04c){const _0x3b764b=_0x4bf7c9,_0x52d251={'count':_0x2b3175,'timeValid':!0x1};if(!_0x3b3f40||!_0x47c04c)return _0x52d251;const _0x460960=_0x5cfca4[_0x3b764b(0x289)](_0x417057,_0x4b887f),_0x4854cb=new Function(_0x3b764b(0x27a)+_0x460960)()(_0x3b3f40,_0x47c04c);if(_0x4854cb!=null&&_0x4854cb[_0x3b764b(0x431)]){const _0x5307a6=_0x4854cb[_0x3b764b(0x33c)],_0x236673=_0x5cfca4[_0x3b764b(0x479)](_0x5307a6,'sf',_0x5001aa);return{'count':_0x5cfca4[_0x3b764b(0x260)](_0x5307a6,_0x236673,_0x3b764b(0x2d2),_0x2b3175,_0x2b3175,0x0),'timeValid':_0x236673};}return _0x52d251;}function _0x594fe9(_0x57f22b,_0x28c18e,_0x2ffd62,_0x2fc5f1){const _0x1ec8b4=_0x4bf7c9,_0x1fe000={'subUnitId':_0x2ffd62,'unitId':_0x28c18e,'cellValue':_0x3e3843['generateNullCell'](_0x2fc5f1)},_0x4d9d81=_0x3e3843['SetRangeValuesUndoMutationFactory'](_0x57f22b,_0x1fe000);let _0xae7b05=!0x1;return new _0x181393[(_0x1ec8b4(0x219))](_0x4d9d81['cellValue'])[_0x1ec8b4(0x20f)]((_0x5c0e88,_0x14d1fc,_0x18129d)=>{const _0x2c5298=_0x1ec8b4;if(!_0xae7b05&&_0x18129d&&(_0x18129d[_0x2c5298(0x4b4)]||_0x18129d['f']||_0x18129d['p']||_0x18129d['s']||_0x18129d['si']||_0x18129d['t']||_0x18129d['v']))return _0xae7b05=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3e3843[_0x1ec8b4(0x43e)]['id'],'params':_0x4d9d81},'setRangeValueRedoMutation':{'id':_0x3e3843['SetRangeValuesMutation']['id'],'params':_0x1fe000},'shouldClear':_0xae7b05};}function _0x3f5dd8(_0x2c1a7f){const {row:_0x513cb9,col:_0x2bfe13}=_0x2c1a7f,_0x3647f6={'startRow':_0x513cb9,'endRow':_0x513cb9,'startColumn':_0x2bfe13,'endColumn':_0x2bfe13},_0x5440ec={'startRow':_0x513cb9+0x2,'endRow':_0x513cb9+0xe,'startColumn':_0x2bfe13,'endColumn':_0x2bfe13+0x6};return[_0x3647f6,_0x5440ec];}function _0xaca5d0(_0x291787,_0x535d4b,_0x2eef55){const _0x379b14=_0x4bf7c9,{cornerView:_0x3b5384,rowView:_0x2e3e79,colView:_0x1cb4cb,pageView:_0x11be7c}=_0x291787,{row:_0x111c87,col:_0x1e8c73}=_0x535d4b;if(_0x2eef55)return{'rowCount':_0x20035a+_0x111c87,'colCount':_0x3efa32+_0x1e8c73};const _0x5486e8=_0x11be7c[_0x379b14(0x222)]>-0x1?_0x11be7c[_0x379b14(0x222)]+0x1:0x0,_0x2d5a77=_0x11be7c[_0x379b14(0x38a)]>-0x1?_0x11be7c[_0x379b14(0x38a)]:0x0,_0x524fe0=_0x111c87+_0x5486e8+(_0x5486e8?0x1:0x0)+_0x3b5384[_0x379b14(0x327)]+_0x2e3e79['rowCount'],_0x541366=_0x1e8c73+_0x2d5a77,_0x469730=_0x1e8c73+_0x3b5384[_0x379b14(0x342)]+_0x1cb4cb[_0x379b14(0x342)],_0x1db198=Math[_0x379b14(0x41f)](_0x541366,_0x469730);return{'rowCount':_0x524fe0,'colCount':_0x1db198};}function _0x719981(_0x3322a4,_0x540aaa,_0x12f54f,_0x5f2332){const _0xd3744e=_0x4bf7c9,{row:_0xae6079,col:_0x1d47d5,unitId:_0x174269,subUnitId:_0x37877f}=_0x12f54f,_0xb59998=_0xaca5d0(_0x540aaa,{'row':_0xae6079,'col':_0x1d47d5},_0x5f2332),_0x4424ab=_0x3322a4[_0xd3744e(0x49b)](_0x181393[_0xd3744e(0x271)]),_0x57388e=_0x3e3843[_0xd3744e(0x36e)](_0x4424ab,{'unitId':_0x174269,'subUnitId':_0x37877f}),_0x499c62=[],_0x5e6c02=[];if(!_0x57388e)return{'undos':_0x5e6c02,'redos':_0x499c62};const {worksheet:_0x3abfe6}=_0x57388e,_0x4377e4=_0x3abfe6[_0xd3744e(0x2ba)](),_0x41cb4b=_0x3abfe6[_0xd3744e(0x400)]();return _0x4377e4<_0xb59998[_0xd3744e(0x327)]&&(_0x499c62[_0xd3744e(0x1fc)]({'id':_0x3e3843[_0xd3744e(0x1c6)]['id'],'params':{'unitId':_0x174269,'subUnitId':_0x37877f,'range':{'startRow':_0x4377e4,'endRow':_0xb59998[_0xd3744e(0x327)]-0x1,'startColumn':0x0,'endColumn':_0x41cb4b-0x1}}}),_0x5e6c02[_0xd3744e(0x1fc)]({'id':_0x3e3843['RemoveRowMutation']['id'],'params':{'unitId':_0x174269,'subUnitId':_0x37877f,'range':{'startRow':_0x4377e4,'endRow':_0xb59998['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x41cb4b-0x1}}})),_0x41cb4b<_0xb59998[_0xd3744e(0x342)]&&(_0x499c62[_0xd3744e(0x1fc)]({'id':_0x3e3843[_0xd3744e(0x3f8)]['id'],'params':{'unitId':_0x174269,'subUnitId':_0x37877f,'range':{'startRow':0x0,'endRow':_0x4377e4-0x1,'startColumn':_0x41cb4b,'endColumn':_0xb59998[_0xd3744e(0x342)]-0x1}}}),_0x5e6c02[_0xd3744e(0x1fc)]({'id':_0x3e3843[_0xd3744e(0x412)]['id'],'params':{'unitId':_0x174269,'subUnitId':_0x37877f,'range':{'startRow':0x0,'endRow':_0x4377e4-0x1,'startColumn':_0x41cb4b,'endColumn':_0xb59998[_0xd3744e(0x342)]-0x1}}})),{'undos':_0x5e6c02,'redos':_0x499c62};}function _0x30d566(_0x289a6c){const _0x21c0c5=_0x4bf7c9;let _0x3816b8=0x0;for(let _0x1a25c8=0x0;_0x1a25c8<_0x289a6c[_0x21c0c5(0x390)];_0x1a25c8++){const _0x5de662=_0x289a6c[_0x21c0c5(0x4af)](_0x1a25c8);_0x5de662>=0x4e00&&_0x5de662<=0x9fff||_0x5de662>=0x3000&&_0x5de662<=0x303f||_0x5de662>=0xff00&&_0x5de662<=0xffef?_0x3816b8+=0x2:_0x3816b8+=0x1;}return _0x3816b8;}function _0x26b058(_0x5291be,_0x3fd379,_0x244766,_0x58a4b2){const _0x2789c2=_0x4bf7c9;var _0x530b1e,_0x495ba5,_0x491803,_0x1c9f54;const {rowCount:_0x1e9f14,colCount:_0x570f0f,headerMap:_0x53fe}=_0x5291be,_0x53ce33=0x64,_0x1756a0=Math['min'](_0x1e9f14,_0x53ce33),_0x28ac05=Math['min'](_0x570f0f,_0x53ce33);let _0xb09abd='',_0x29ebf2=0x0;for(let _0x52c2b2=0x0;_0x52c2b2<_0x1756a0;_0x52c2b2++)for(let _0x137e02=0x0;_0x137e02<_0x28ac05;_0x137e02++){const _0x4b2768={...(_0x495ba5=(_0x530b1e=_0x5291be['data'])==null?void 0x0:_0x530b1e[_0x52c2b2])==null?void 0x0:_0x495ba5[_0x137e02]},_0x28ec0b=(_0x491803=_0x53fe[_0x52c2b2])==null?void 0x0:_0x491803[_0x2789c2(0x492)],_0x575c8b=_0x58a4b2[_0x28ec0b];let _0x59f299=_0x5291be[_0x2789c2(0x354)](_0x52c2b2,_0x137e02);if(_0x4b2768){const _0x7159f0=_0x244766?_0x137e02===0x0&&((_0x1c9f54=_0x5291be['getHeaderMapItem'](_0x137e02+0x1))==null?void 0x0:_0x1c9f54['isValue']):!0x1;_0x59f299=_0x172616(_0x4b2768,_0x7159f0,_0x575c8b,_0x3fd379);}if(_0x59f299!==void 0x0){const _0x12935f=_0x30d566(String(_0x59f299));_0x29ebf2<_0x12935f&&(_0xb09abd=String(_0x59f299),_0x29ebf2=_0x12935f);}}return _0xb09abd;}function _0x3cfbb8(_0x4d8ec5){const _0x27ea56=_0x4bf7c9,{rowCount:_0x1a2535,colCount:_0x170a89}=_0x4d8ec5;let _0x2fdc9e='',_0x182723=0x0;for(let _0x1ca93e=_0x1a2535-0x1;_0x1ca93e>0x0&&_0x1ca93e>_0x1a2535-0x3;_0x1ca93e--)for(let _0x39f7f7=0x0;_0x39f7f7<_0x170a89;_0x39f7f7++){const _0x563c65=_0x4d8ec5['getValue'](_0x1ca93e,_0x39f7f7);if(_0x563c65!==void 0x0){const _0x406604=String(_0x563c65)[_0x27ea56(0x390)];_0x182723<_0x406604&&(_0x2fdc9e=String(_0x563c65),_0x182723=_0x406604);}}return _0x2fdc9e;}function _0x28321c(_0x1be892){const _0x1e3710=_0x4bf7c9,{rowCount:_0x395f08,colCount:_0x3cfe70}=_0x1be892;let _0x231bb9='',_0x13403e=0x0;for(let _0x40c9a4=0x0;_0x40c9a4<_0x395f08;_0x40c9a4++)for(let _0x13846b=0x0;_0x13846b<_0x3cfe70;_0x13846b++){const _0x596f38=_0x1be892[_0x1e3710(0x354)](_0x40c9a4,_0x13846b);if(_0x596f38!==void 0x0){const _0x4e6d86=String(_0x596f38)[_0x1e3710(0x390)];_0x13403e<_0x4e6d86&&(_0x231bb9=String(_0x596f38),_0x13403e=_0x4e6d86);}}return _0x231bb9;}function _0x3bedf6(_0x3d8463,_0x43a9a5){const _0x5f599b=_0x4bf7c9,{rowFields:_0x72aed0,columnFields:_0x2a7766,valueFields:_0x1479ac,filterFields:_0x5a2f34,dimension:_0x2726a2,measure:_0x271a96}=_0x43a9a5;for(const _0x2925ec of _0x72aed0){const _0x1fa84d=_0x2726a2[_0x2925ec];_0x1fa84d&&_0x3d8463['getDataFieldByDataFieldId'](_0x1fa84d[_0x5f599b(0x259)])&&(_0x3d8463[_0x5f599b(0x30a)](_0x1fa84d['dataFieldId'],_0x1861d8[_0x5f599b(0x1e1)]['Row'],void 0x0,_0x2925ec),_0x1fa84d[_0x5f599b(0x277)]&&_0x3d8463[_0x5f599b(0x25e)](_0x1fa84d['id'],_0x1fa84d[_0x5f599b(0x277)]),_0x1fa84d['sortInfo']&&_0x3d8463[_0x5f599b(0x29d)](_0x1fa84d['id'],_0x1fa84d[_0x5f599b(0x332)]),_0x1fa84d[_0x5f599b(0x41b)]&&_0x3d8463[_0x5f599b(0x2c1)](_0x1fa84d['id'],_0x1fa84d['filterInfo']));}for(const _0x264b51 of _0x2a7766){const _0x144ae7=_0x2726a2[_0x264b51];_0x144ae7&&_0x3d8463[_0x5f599b(0x313)](_0x144ae7[_0x5f599b(0x259)])&&(_0x3d8463[_0x5f599b(0x30a)](_0x144ae7['dataFieldId'],_0x1861d8[_0x5f599b(0x1e1)][_0x5f599b(0x322)],void 0x0,_0x264b51),_0x144ae7['sortInfo']&&_0x3d8463[_0x5f599b(0x29d)](_0x144ae7['id'],_0x144ae7[_0x5f599b(0x332)]),_0x144ae7[_0x5f599b(0x41b)]&&_0x3d8463[_0x5f599b(0x2c1)](_0x144ae7['id'],_0x144ae7[_0x5f599b(0x41b)]),_0x144ae7[_0x5f599b(0x277)]&&_0x3d8463[_0x5f599b(0x25e)](_0x144ae7['id'],_0x144ae7[_0x5f599b(0x277)]));}for(const _0x4e3e68 of _0x5a2f34){const _0x2bc59e=_0x2726a2[_0x4e3e68];_0x2bc59e&&_0x3d8463[_0x5f599b(0x313)](_0x2bc59e[_0x5f599b(0x259)])&&(_0x3d8463['addFieldWithSourceId'](_0x2bc59e['dataFieldId'],_0x1861d8[_0x5f599b(0x1e1)][_0x5f599b(0x3da)],void 0x0,_0x4e3e68),_0x2bc59e[_0x5f599b(0x332)]&&_0x3d8463[_0x5f599b(0x29d)](_0x2bc59e['id'],_0x2bc59e[_0x5f599b(0x332)]),_0x2bc59e[_0x5f599b(0x41b)]&&_0x3d8463[_0x5f599b(0x2c1)](_0x2bc59e['id'],_0x2bc59e[_0x5f599b(0x41b)]),_0x2bc59e[_0x5f599b(0x277)]&&_0x3d8463[_0x5f599b(0x25e)](_0x2bc59e['id'],_0x2bc59e[_0x5f599b(0x277)]));}for(const _0x331b0e of _0x1479ac){const _0x5a67f7=_0x271a96[_0x331b0e];_0x5a67f7&&_0x3d8463['getDataFieldByDataFieldId'](_0x5a67f7['dataFieldId'])&&(_0x3d8463['addFieldWithSourceId'](_0x5a67f7['dataFieldId'],_0x1861d8[_0x5f599b(0x1e1)][_0x5f599b(0x226)],void 0x0,_0x331b0e),_0x5a67f7[_0x5f599b(0x3ab)]!==void 0x0&&_0x3d8463[_0x5f599b(0x40b)](_0x331b0e,_0x5a67f7[_0x5f599b(0x3ab)]),_0x5a67f7['format']&&_0x3d8463[_0x5f599b(0x202)](_0x331b0e,_0x5a67f7['format']),_0x5a67f7[_0x5f599b(0x277)]&&_0x3d8463[_0x5f599b(0x25e)](_0x5a67f7['id'],_0x5a67f7['displayName']));}const _0x3dd94b=_0x43a9a5['valueFilter'];for(const {fieldId:_0x243191,filterInfo:_0x42039d}of _0x3dd94b)_0x3d8463[_0x5f599b(0x2aa)](_0x243191,_0x42039d);}function _0x339ded(_0x398160,_0x50bfcf){const _0x123aa8=_0x4bf7c9,_0x2c6060=[];_0x50bfcf===_0x1861d8[_0x123aa8(0x1e1)][_0x123aa8(0x37a)]&&_0x398160[_0x123aa8(0x26b)](_0x1861d8[_0x123aa8(0x1e1)][_0x123aa8(0x37a)],_0x333b72=>{const _0x11e2be=_0x123aa8;_0x2c6060[_0x11e2be(0x1fc)](_0x333b72[_0x11e2be(0x3dc)]());}),_0x50bfcf===_0x1861d8[_0x123aa8(0x1e1)][_0x123aa8(0x322)]&&_0x398160['iterateFieldByArea'](_0x1861d8['PivotTableFiledAreaEnum'][_0x123aa8(0x322)],_0x2e0c2f=>{const _0x177e2e=_0x123aa8;_0x2c6060[_0x177e2e(0x1fc)](_0x2e0c2f[_0x177e2e(0x3dc)]());}),_0x50bfcf===_0x1861d8[_0x123aa8(0x1e1)][_0x123aa8(0x3da)]&&_0x398160[_0x123aa8(0x26b)](_0x1861d8[_0x123aa8(0x1e1)][_0x123aa8(0x3da)],_0xe4d38e=>{const _0x367c31=_0x123aa8;_0x2c6060[_0x367c31(0x1fc)](_0xe4d38e[_0x367c31(0x3dc)]());}),_0x50bfcf===_0x1861d8[_0x123aa8(0x1e1)][_0x123aa8(0x226)]&&_0x398160[_0x123aa8(0x26b)](_0x1861d8['PivotTableFiledAreaEnum'][_0x123aa8(0x226)],_0x88b47f=>{const _0x291ab5=_0x123aa8;_0x2c6060[_0x291ab5(0x1fc)](_0x88b47f['getId']());}),_0x50bfcf===void 0x0&&_0x398160[_0x123aa8(0x2b6)](_0x21f216=>{const _0x5a27f2=_0x123aa8;_0x2c6060[_0x5a27f2(0x1fc)](_0x21f216[_0x5a27f2(0x3dc)]());});const _0x42d19a=_0x2c6060[_0x123aa8(0x390)];for(let _0x36f909=_0x42d19a-0x1;_0x36f909>=0x0;_0x36f909--)_0x398160[_0x123aa8(0x307)](_0x2c6060[_0x36f909]);const _0xbb5793=_0x398160[_0x123aa8(0x2e4)]();for(const _0x1265a6 in _0xbb5793)_0x398160['removeValueFilterInfo'](_0x1265a6);}function _0x466d4c(_0x501137,_0x2d3773){const _0x5be40e=_0x4bf7c9,_0x570f68=new Date(_0x1861d8[_0x5be40e(0x3cf)](_0x2d3773)),_0x54db48=new Date(_0x1861d8['excelDateToUnixMilliseconds'](_0x501137)),_0x4376b=_0x570f68[_0x5be40e(0x460)](),_0x5b02e6=_0x54db48[_0x5be40e(0x460)](),_0x30f90b=_0x570f68[_0x5be40e(0x2a6)](),_0x518e6=_0x54db48[_0x5be40e(0x2a6)](),_0x2e1fec=_0x570f68[_0x5be40e(0x25c)](),_0x1a136b=_0x54db48[_0x5be40e(0x25c)](),_0x3c4be3=_0x4376b===_0x5b02e6,_0x59c8a1=_0x3c4be3&&_0x30f90b===_0x518e6;return _0x3c4be3&&_0x59c8a1&&!(_0x59c8a1&&_0x2e1fec===_0x1a136b)?_0x1861d8[_0x5be40e(0x30f)][_0x5be40e(0x1da)]:_0x3c4be3&&!_0x59c8a1?_0x1861d8['PivotDateGroupFieldDateTypeEnum']['YearMonth']:_0x1861d8[_0x5be40e(0x30f)][_0x5be40e(0x3d5)];}function _0x285170(_0x21a2b1,_0x5b512b){const _0x275244=_0x4bf7c9,_0x562bb4=_0x21a2b1[_0x275244(0x49b)](_0x1c1f68[_0x275244(0x1d5)])[_0x275244(0x293)]();let _0x107dad='';switch(_0x5b512b){case _0x1861d8['PivotDateGroupFieldDateTypeEnum'][_0x275244(0x1da)]:_0x107dad=_0x562bb4[_0x275244(0x321)];break;case _0x1861d8[_0x275244(0x30f)]['YearMonth']:_0x107dad=_0x562bb4['sheets-pivot.dateGroup.yearMonth'];break;case _0x1861d8[_0x275244(0x30f)][_0x275244(0x3d5)]:_0x107dad=_0x562bb4[_0x275244(0x471)];break;case _0x1861d8[_0x275244(0x30f)][_0x275244(0x27e)]:_0x107dad=_0x562bb4[_0x275244(0x3e9)];break;case _0x1861d8[_0x275244(0x30f)][_0x275244(0x241)]:_0x107dad=_0x562bb4[_0x275244(0x475)];break;case _0x1861d8[_0x275244(0x30f)]['Date']:_0x107dad=_0x562bb4[_0x275244(0x31e)];break;case _0x1861d8[_0x275244(0x30f)][_0x275244(0x2fb)]:_0x107dad=_0x562bb4[_0x275244(0x22e)];break;case _0x1861d8[_0x275244(0x30f)][_0x275244(0x410)]:_0x107dad=_0x562bb4[_0x275244(0x25d)];break;case _0x1861d8[_0x275244(0x30f)][_0x275244(0x2bc)]:_0x107dad=_0x562bb4[_0x275244(0x47c)];break;case _0x1861d8['PivotDateGroupFieldDateTypeEnum'][_0x275244(0x2c8)]:_0x107dad=_0x562bb4[_0x275244(0x3f5)];break;case _0x1861d8[_0x275244(0x30f)]['YearQuarter']:_0x107dad=_0x562bb4['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x107dad='';break;}return _0x107dad;}const _0x29ba6e=_0x4bf7c9(0x39d),_0x404fbe={};var _0x3b7453=Object['getOwnPropertyDescriptor'],_0x27305b=(_0xe6b3e6,_0x485bb7,_0xf1786d,_0x2e4d63)=>{const _0x20ecbb=_0x4bf7c9;for(var _0x168b09=_0x2e4d63>0x1?void 0x0:_0x2e4d63?_0x3b7453(_0x485bb7,_0xf1786d):_0x485bb7,_0x565d3c=_0xe6b3e6[_0x20ecbb(0x390)]-0x1,_0x19911c;_0x565d3c>=0x0;_0x565d3c--)(_0x19911c=_0xe6b3e6[_0x565d3c])&&(_0x168b09=_0x19911c(_0x168b09)||_0x168b09);return _0x168b09;},_0x40f7b3=(_0x4a8f46,_0x2b8765)=>(_0x437b0d,_0x185fec)=>_0x2b8765(_0x437b0d,_0x185fec,_0x4a8f46);_0x1c1f68[_0x4bf7c9(0x4c8)]=class extends _0x181393['Disposable']{constructor(_0x1ee52e,_0x11e030,_0x4031e2,_0x25c3c3,_0x58a26d){const _0x98fa75=_0x4bf7c9;super(),_0x3f85d0(this,_0x98fa75(0x29f),new Map()),_0x3f85d0(this,_0x98fa75(0x459),new Map()),_0x3f85d0(this,'_pivotTableRangeInfo',new Map()),_0x3f85d0(this,_0x98fa75(0x1d1),new Map()),_0x3f85d0(this,'_configVersion$',new _0x1731cb[(_0x98fa75(0x430))]()),_0x3f85d0(this,'_pivotInitCompleted$',new _0x1731cb[(_0x98fa75(0x430))]()),_0x3f85d0(this,_0x98fa75(0x2ce),this[_0x98fa75(0x29a)]['asObservable']()),_0x3f85d0(this,_0x98fa75(0x3e3),new _0x1731cb[(_0x98fa75(0x430))]()),_0x3f85d0(this,_0x98fa75(0x23f),this[_0x98fa75(0x3e3)][_0x98fa75(0x4ae)]()),_0x3f85d0(this,'_textInfo',{}),_0x3f85d0(this,_0x98fa75(0x336),this[_0x98fa75(0x2eb)][_0x98fa75(0x4ae)]()),(this['_injector']=_0x1ee52e,this[_0x98fa75(0x462)]=_0x11e030,this['_univerInstanceService']=_0x4031e2,this[_0x98fa75(0x2be)]=_0x25c3c3,this[_0x98fa75(0x48b)]=_0x58a26d,this[_0x98fa75(0x4b6)](),this[_0x98fa75(0x251)]());const _0xd94d68=this['_configService'][_0x98fa75(0x4ca)](_0x29ba6e);(_0xd94d68==null?void 0x0:_0xd94d68[_0x98fa75(0x227)])===!0x0&&this[_0x98fa75(0x1f9)]();}['_initUnitDisposed'](){const _0x37cf6e=_0x4bf7c9;this[_0x37cf6e(0x413)](this[_0x37cf6e(0x3ad)][_0x37cf6e(0x3ce)](_0x181393[_0x37cf6e(0x23b)][_0x37cf6e(0x46e)])[_0x37cf6e(0x4b8)](_0x3859d8=>{const _0x44d48a=_0x37cf6e;this[_0x44d48a(0x2d3)](_0x3859d8[_0x44d48a(0x27c)]());}));}['setPivotInitCompleted'](){const _0x77d22c=_0x4bf7c9;this[_0x77d22c(0x29a)]['next'](!0x0);}[_0x4bf7c9(0x4b6)](){const _0x582260=_0x4bf7c9,_0x29bb2d=_0x23275f(this[_0x582260(0x1d3)],_0x39e5af,'',{});this[_0x582260(0x2e2)]=_0x29bb2d,this[_0x582260(0x462)][_0x582260(0x4c0)](_0x152a62['id'],{'textInfo':_0x29bb2d},{'onlyLocal':!0x0});}[_0x4bf7c9(0x293)](){const _0x53203f=_0x4bf7c9;return this[_0x53203f(0x2e2)];}[_0x4bf7c9(0x49f)](_0x3c592c,_0x1666d3,_0x79e9ad,_0x368b9a,_0x521903){const _0x469df3=_0x4bf7c9;this[_0x469df3(0x3f4)](_0x3c592c,_0x1666d3,_0x79e9ad,_0x368b9a),this[_0x469df3(0x27f)](_0x3c592c,_0x1666d3,_0x79e9ad,_0x521903);}['getPivotTableConfig'](_0x283131,_0x20ed8d,_0x20eb3c){const _0xbd69f7=_0x4bf7c9;var _0x21be5d;const _0x20867d=(_0x21be5d=this[_0xbd69f7(0x29f)][_0xbd69f7(0x49b)](_0x283131))==null?void 0x0:_0x21be5d[_0xbd69f7(0x49b)](_0x20ed8d);if(_0x20867d)return _0x20867d['get'](_0x20eb3c);}['getTargetByPivotTableId'](_0x1ba6cb,_0x293752){const _0x236968=_0x4bf7c9,_0x5e923c=this[_0x236968(0x29f)]['get'](_0x1ba6cb);if(_0x5e923c){for(const [_0xd11971,_0x557b13]of _0x5e923c['entries']())for(const [_0x15f023,_0x4388f1]of _0x557b13[_0x236968(0x235)]())if(_0x15f023===_0x293752)return _0x4388f1[_0x236968(0x3e0)];}}[_0x4bf7c9(0x40a)](_0x1258ba,_0x1adfd9,_0x26fa32){const _0x4a7658=_0x4bf7c9,_0x3b891b=this[_0x4a7658(0x439)](_0x1258ba,_0x1adfd9,_0x26fa32);return _0x3b891b==null?void 0x0:_0x3b891b[_0x4a7658(0x3e0)];}[_0x4bf7c9(0x279)](_0x193ac3,_0x33e871){const _0x178b29=_0x4bf7c9;var _0x409247;return(_0x409247=this[_0x178b29(0x29f)][_0x178b29(0x49b)](_0x193ac3))==null?void 0x0:_0x409247['get'](_0x33e871);}[_0x4bf7c9(0x238)](_0x3143de,_0x1992d8,_0x3e5f1e,_0x35a691){const _0x54c18f=_0x4bf7c9,_0x48f576=this[_0x54c18f(0x1e4)](_0x3143de,_0x1992d8);_0x35a691?_0x48f576[_0x54c18f(0x1b8)](_0x3e5f1e,_0x35a691):_0x48f576[_0x54c18f(0x286)](_0x3e5f1e),this[_0x54c18f(0x3e3)]['next']({'unitId':_0x3143de,'subUnitId':_0x1992d8,'pivotTableId':_0x3e5f1e,'pivotTableConfig':_0x35a691});}[_0x4bf7c9(0x495)](_0x5c00b2,_0x518d8e){const _0xbd8483=_0x4bf7c9;var _0xaea882;return(_0xaea882=this['_collectionConfigModel'][_0xbd8483(0x49b)](_0x5c00b2))==null?void 0x0:_0xaea882[_0xbd8483(0x48d)][_0x518d8e];}[_0x4bf7c9(0x493)](_0x213d71,_0x2467f9){const _0x384a46=_0x4bf7c9;this[_0x384a46(0x459)][_0x384a46(0x1b8)](_0x213d71,_0x2467f9),this[_0x384a46(0x2eb)][_0x384a46(0x3b6)](Math['random']());}[_0x4bf7c9(0x1e4)](_0x490b0b,_0x404898){const _0x403f4b=_0x4bf7c9;let _0x1eaad5=this[_0x403f4b(0x29f)][_0x403f4b(0x49b)](_0x490b0b);_0x1eaad5||(_0x1eaad5=new Map(),this[_0x403f4b(0x29f)][_0x403f4b(0x1b8)](_0x490b0b,_0x1eaad5));let _0x54b0d0=_0x1eaad5[_0x403f4b(0x49b)](_0x404898);return _0x54b0d0||(_0x54b0d0=new Map(),_0x1eaad5[_0x403f4b(0x1b8)](_0x404898,_0x54b0d0)),_0x54b0d0;}['_ensurePivotTableRangeInfo'](_0x6531e6,_0x2829dc){const _0xd59fd=_0x4bf7c9;let _0x2564d9=this[_0xd59fd(0x1cd)][_0xd59fd(0x49b)](_0x6531e6);_0x2564d9||(_0x2564d9=new Map(),this[_0xd59fd(0x1cd)][_0xd59fd(0x1b8)](_0x6531e6,_0x2564d9));let _0x427789=_0x2564d9[_0xd59fd(0x49b)](_0x2829dc);return _0x427789||(_0x427789=new Map(),_0x2564d9['set'](_0x2829dc,_0x427789)),_0x427789;}['_ensurePivotTableMatrixInfo'](_0x1e3d6e,_0x3f28e0){const _0x34698c=_0x4bf7c9;let _0x1efd8b=this['_pivotTableMatrixInfo']['get'](_0x1e3d6e);_0x1efd8b||(_0x1efd8b=new Map(),this[_0x34698c(0x1d1)][_0x34698c(0x1b8)](_0x1e3d6e,_0x1efd8b));let _0x3ca8b9=_0x1efd8b[_0x34698c(0x49b)](_0x3f28e0);return _0x3ca8b9||(_0x3ca8b9=new Map(),_0x1efd8b[_0x34698c(0x1b8)](_0x3f28e0,_0x3ca8b9)),_0x3ca8b9;}[_0x4bf7c9(0x27f)](_0x310636,_0x59b142,_0x45a8f2,_0x4834bd){const _0x27ac60=_0x4bf7c9;var _0x47f764;const _0xc3b502=this[_0x27ac60(0x2a9)](_0x310636,_0x59b142),_0x4a4f8f=(_0x47f764=_0xc3b502[_0x27ac60(0x49b)](_0x45a8f2))==null?void 0x0:_0x47f764[_0x27ac60(0x3a4)];_0xc3b502['set'](_0x45a8f2,{'oldRangeInfo':_0x4a4f8f,'rangeInfo':_0x4834bd});}['updatePivotTableMatrixInfo'](_0x774173,_0x5764a2,_0x34d0c0,_0x14dc6d){const _0x11daf7=_0x4bf7c9;var _0x10fff4;const _0x2ca072=this[_0x11daf7(0x391)](_0x774173,_0x5764a2),_0x393863=(_0x10fff4=_0x2ca072[_0x11daf7(0x49b)](_0x34d0c0))==null?void 0x0:_0x10fff4[_0x11daf7(0x47f)];_0x2ca072[_0x11daf7(0x1b8)](_0x34d0c0,{'oldMatrix':_0x393863,'matrix':_0x14dc6d});}['getPivotTableRangeInfo'](_0x5c4753,_0x45be7f,_0x3725e7){const _0x4f7086=_0x4bf7c9;var _0x31d113,_0xbba6ef;return(_0xbba6ef=(_0x31d113=this[_0x4f7086(0x1cd)][_0x4f7086(0x49b)](_0x5c4753))==null?void 0x0:_0x31d113['get'](_0x45be7f))==null?void 0x0:_0xbba6ef['get'](_0x3725e7);}[_0x4bf7c9(0x3af)](_0x4f5c7d,_0x31c2e7,_0x97246a){const _0x3d04c7=_0x4bf7c9;var _0x41b0e6,_0x19d2f6;return(_0x19d2f6=(_0x41b0e6=this[_0x3d04c7(0x1d1)][_0x3d04c7(0x49b)](_0x4f5c7d))==null?void 0x0:_0x41b0e6[_0x3d04c7(0x49b)](_0x31c2e7))==null?void 0x0:_0x19d2f6[_0x3d04c7(0x49b)](_0x97246a);}[_0x4bf7c9(0x2d3)](_0x279e32){const _0x58b1ac=_0x4bf7c9;this[_0x58b1ac(0x29f)][_0x58b1ac(0x286)](_0x279e32),this['_collectionConfigModel'][_0x58b1ac(0x286)](_0x279e32);}[_0x4bf7c9(0x38e)](_0x3f3dc3){const _0x471fb5=_0x4bf7c9,_0xba80c2={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x471fb5(0x49b)](_0x3f3dc3)&&(_0xba80c2[_0x471fb5(0x309)][_0x3f3dc3]=this['_collectionConfigModel']['get'](_0x3f3dc3)),this[_0x471fb5(0x29f)]['get'](_0x3f3dc3)){_0xba80c2[_0x471fb5(0x48a)][_0x3f3dc3]={};const _0x5516c3=this[_0x471fb5(0x29f)]['get'](_0x3f3dc3);_0x5516c3!=null&&_0x5516c3[_0x471fb5(0x379)]&&[..._0x5516c3[_0x471fb5(0x34e)]()]['forEach'](_0x29a6b0=>{const _0x5b2761=_0x471fb5,_0x43307f=_0x5516c3[_0x5b2761(0x49b)](_0x29a6b0);_0x43307f!=null&&_0x43307f[_0x5b2761(0x379)]&&(_0xba80c2[_0x5b2761(0x48a)][_0x3f3dc3][_0x29a6b0]={},[..._0x43307f[_0x5b2761(0x34e)]()][_0x5b2761(0x1e7)](_0x46fef1=>{const _0x20c027=_0x5b2761,_0x4d9fad=_0x43307f[_0x20c027(0x49b)](_0x46fef1);_0x4d9fad&&(_0xba80c2[_0x20c027(0x48a)][_0x3f3dc3][_0x29a6b0][_0x46fef1]=_0x4d9fad);}));});}return _0xba80c2;}[_0x4bf7c9(0x1f9)](){const _0x43535d=_0x4bf7c9;this[_0x43535d(0x413)](this[_0x43535d(0x2be)][_0x43535d(0x212)]({'toJson':_0x289401=>JSON[_0x43535d(0x294)](this['_toJSON'](_0x289401)),'parseJson':_0x47713e=>({}),'businesses':[_0x181393[_0x43535d(0x23b)][_0x43535d(0x46e)]],'pluginName':_0x24e5d3,'onLoad':(_0x13b3f6,_0x10d9b4)=>{},'onUnLoad':_0x4959dc=>{const _0x20a4e0=_0x43535d;this[_0x20a4e0(0x2d3)](_0x4959dc);}}));}},_0x1c1f68[_0x4bf7c9(0x4c8)]=_0x27305b([_0x40f7b3(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x181393['Injector'])),_0x40f7b3(0x1,_0x181393[_0x4bf7c9(0x27d)](_0x181393['ICommandService'])),_0x40f7b3(0x2,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x271)])),_0x40f7b3(0x3,_0x181393[_0x4bf7c9(0x27d)](_0x181393['IResourceManagerService'])),_0x40f7b3(0x4,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x1c0)]))],_0x1c1f68[_0x4bf7c9(0x4c8)]);var _0x38750e=Object[_0x4bf7c9(0x490)],_0xdce29b=(_0x546220,_0x4f7a8b,_0x24ad58,_0x39b826)=>{for(var _0x3cdfb4=_0x39b826>0x1?void 0x0:_0x39b826?_0x38750e(_0x4f7a8b,_0x24ad58):_0x4f7a8b,_0x52103d=_0x546220['length']-0x1,_0x416135;_0x52103d>=0x0;_0x52103d--)(_0x416135=_0x546220[_0x52103d])&&(_0x3cdfb4=_0x416135(_0x3cdfb4)||_0x3cdfb4);return _0x3cdfb4;},_0x4510d1=(_0x1b7cba,_0x42611c)=>(_0x4f6d3a,_0x404d97)=>_0x42611c(_0x4f6d3a,_0x404d97,_0x1b7cba);_0x1c1f68[_0x4bf7c9(0x46b)]=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x15968e,_0x557225,_0x1f126b,_0x1b1890,_0x4355af){const _0x29fc0a=_0x4bf7c9;super(),_0x3f85d0(this,_0x29fc0a(0x33d),new Map()),_0x3f85d0(this,_0x29fc0a(0x387),new Map()),_0x3f85d0(this,'_markDirty$',new _0x1731cb[(_0x29fc0a(0x430))]()),_0x3f85d0(this,_0x29fc0a(0x306),this[_0x29fc0a(0x22d)][_0x29fc0a(0x4ae)]()),_0x3f85d0(this,_0x29fc0a(0x4c6),new _0x1731cb['Subject']()),_0x3f85d0(this,_0x29fc0a(0x407),this['_viewUpdate$'][_0x29fc0a(0x4ae)]()),_0x3f85d0(this,_0x29fc0a(0x2e2)),(this[_0x29fc0a(0x2a8)]=_0x15968e,this[_0x29fc0a(0x1d3)]=_0x557225,this[_0x29fc0a(0x49c)]=_0x1f126b,this[_0x29fc0a(0x3ad)]=_0x1b1890,this[_0x29fc0a(0x4a3)]=_0x4355af,this[_0x29fc0a(0x4b6)](),this[_0x29fc0a(0x251)]());}[_0x4bf7c9(0x251)](){const _0x39dd57=_0x4bf7c9;this[_0x39dd57(0x413)](this[_0x39dd57(0x3ad)][_0x39dd57(0x3ce)](_0x181393['UniverInstanceType'][_0x39dd57(0x46e)])[_0x39dd57(0x4b8)](_0x534f75=>{const _0x1dc9b9=_0x39dd57;this['deleteUnitId'](_0x534f75[_0x1dc9b9(0x27c)]());}));}[_0x4bf7c9(0x4b6)](){const _0x50da59=_0x4bf7c9;this[_0x50da59(0x2e2)]=_0x23275f(this[_0x50da59(0x1d3)],_0x39e5af,'',{});}[_0x4bf7c9(0x296)](_0x1fda6a){const _0xa3a8c5=_0x4bf7c9,{view:_0x15f66f,unitId:_0x34bc70,subUnitId:_0x101f5e,pivotTableId:_0x13912a,type:_0x439890}=_0x1fda6a,_0x35d0e9=this[_0xa3a8c5(0x49c)][_0xa3a8c5(0x439)](_0x34bc70,_0x101f5e,_0x13912a);if(!_0x15f66f||!_0x35d0e9||_0x439890===_0xefe34[_0xa3a8c5(0x434)])return;const {pageView:_0x5b3ac1,cornerView:_0x2c749a,rowView:_0x594efa,colView:_0x47ea76,dataView:_0x46764b}=_0x15f66f,_0xc94fe1=_0x35d0e9[_0xa3a8c5(0x3e0)],_0x5485af=_0x35d0e9['isEmpty'],_0x17cd80=this[_0xa3a8c5(0x2b4)](_0x34bc70,_0x101f5e),_0x1bbf89=this[_0xa3a8c5(0x4b5)](_0x34bc70,_0x101f5e,_0x13912a);if(_0x5485af)return this['_updateRenderEmptyCache'](_0x1fda6a,_0x17cd80,_0xc94fe1,_0x1bbf89);{const _0x17c188=_0x43d27d(_0xc94fe1,_0x5b3ac1,!0x0),_0x1c93b2=_0x5b3ac1['lastRow']>=0x0?_0x5b3ac1[_0xa3a8c5(0x222)]+0x1:0x0,_0x3eb9f5=_0x2c749a[_0xa3a8c5(0x2ba)](),_0x1de113=_0x2c749a['getColCount'](),_0x38ecc1=_0x17c188[_0xa3a8c5(0x390)]>0x0?_0x43ffd9:0x0,_0x1cbdc2=_0x43d27d({'row':_0xc94fe1[_0xa3a8c5(0x38c)]+_0x1c93b2+_0x38ecc1,'col':_0xc94fe1[_0xa3a8c5(0x394)]},_0x2c749a,!0x1,!0x1),_0x3b9f6d=_0x43d27d({'row':_0xc94fe1[_0xa3a8c5(0x38c)]+_0x1c93b2+_0x38ecc1+_0x3eb9f5,'col':_0xc94fe1[_0xa3a8c5(0x394)]},_0x594efa,!0x1,!0x0),_0x30ccb8=_0x43d27d({'row':_0xc94fe1[_0xa3a8c5(0x38c)]+_0x1c93b2+_0x38ecc1,'col':_0xc94fe1[_0xa3a8c5(0x394)]+_0x1de113},_0x47ea76,!0x1,!0x0),_0x5176b6=_0x43d27d({'row':_0xc94fe1['row']+_0x1c93b2+_0x38ecc1+_0x3eb9f5,'col':_0xc94fe1[_0xa3a8c5(0x394)]+_0x1de113},_0x46764b,!0x1,!0x1);_0x1bbf89[_0xa3a8c5(0x3cb)]={'rowRanges':_0x3b9f6d,'colRanges':_0x30ccb8,'cornerRanges':_0x1cbdc2,'dataRanges':_0x5176b6,'pageRanges':_0x17c188};const _0x5df4f8=_0x6cfbee(this['_injector'],_0x15f66f,_0x35d0e9,this[_0xa3a8c5(0x2e2)]),{valueMatrix:_0x2008ff,rowInfo:_0x36cdaf,colInfo:_0x5d1f20,cornerInfo:_0x4140fa,rowHeaderMap:_0x3451b6,colHeaderMap:_0x4aeb2e}=_0x5df4f8;return _0x1bbf89[_0xa3a8c5(0x34f)]={'rowInfo':_0x36cdaf,'colInfo':_0x5d1f20,'cornerInfo':_0x4140fa},_0x1bbf89[_0xa3a8c5(0x3a6)]={'rowHeaderMap':_0x3451b6,'colHeaderMap':_0x4aeb2e},_0x2008ff[_0xa3a8c5(0x1e7)]((_0x56c429,_0x5d1103)=>{const _0x3600b2=_0xa3a8c5;Object[_0x3600b2(0x34e)](_0x5d1103)[_0x3600b2(0x1e7)](_0x4ed5dd=>{const _0x1b267a=_0x3600b2,_0x3ccca7=+_0x4ed5dd,_0x3fb107=_0x2008ff[_0x1b267a(0x354)](_0x56c429,_0x3ccca7);_0x17cd80[_0x1b267a(0x242)](_0x56c429,_0x3ccca7,_0x3fb107);});}),this[_0xa3a8c5(0x4c6)][_0xa3a8c5(0x3b6)]({'unitId':_0x34bc70,'subUnitId':_0x101f5e,'valueMatrix':_0x17cd80,'rangesCache':_0x1bbf89['rangesInfo'],'pivotTableId':_0x13912a,'type':_0x1fda6a[_0xa3a8c5(0x363)]}),this[_0xa3a8c5(0x49c)][_0xa3a8c5(0x49f)](_0x34bc70,_0x101f5e,_0x13912a,_0x17cd80,_0x1bbf89[_0xa3a8c5(0x3cb)]),this[_0xa3a8c5(0x4a3)][_0xa3a8c5(0x228)](_0x34bc70,_0x101f5e,_0x4a7ef3,this[_0xa3a8c5(0x1fd)](_0x1bbf89[_0xa3a8c5(0x3cb)],_0x13912a)),{'rangeCache':_0x1bbf89['rangesInfo'],'matrix':_0x17cd80};}}[_0x4bf7c9(0x359)](_0x42dd2f,_0x36c370,_0x269157,_0x3b099c){const _0x206eb6=_0x4bf7c9,_0x9d818d=this[_0x206eb6(0x2a8)]['t'],{unitId:_0x33d93d,subUnitId:_0x1751fd,pivotTableId:_0x3d603b}=_0x42dd2f,_0x33f56c={'filter':_0x9d818d(_0x206eb6(0x287)),'row':_0x9d818d(_0x206eb6(0x2de)),'column':_0x9d818d('sheets-pivot.emptyPivot.column'),'values':_0x9d818d(_0x206eb6(0x411))},{matrixCache:_0x50c69c,rangesCache:_0x15f6bb}=_0x22d1de(_0x33f56c,_0x269157);return _0x50c69c[_0x206eb6(0x20f)]((_0x282d76,_0x190017,_0x1f8d23)=>{const _0x313c84=_0x206eb6;_0x36c370[_0x313c84(0x242)](_0x282d76,_0x190017,_0x1f8d23);}),_0x3b099c[_0x206eb6(0x3cb)]=_0x15f6bb,this[_0x206eb6(0x4c6)]['next']({'unitId':_0x33d93d,'subUnitId':_0x1751fd,'valueMatrix':_0x36c370,'rangesCache':_0x15f6bb,'pivotTableId':_0x3d603b,'type':_0x42dd2f[_0x206eb6(0x363)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x206eb6(0x49f)](_0x33d93d,_0x1751fd,_0x3d603b,_0x36c370,_0x15f6bb),this[_0x206eb6(0x4a3)]['addExclusiveRange'](_0x33d93d,_0x1751fd,_0x4a7ef3,this[_0x206eb6(0x1fd)](_0x15f6bb,_0x3d603b)),{'rangeCache':_0x3b099c[_0x206eb6(0x3cb)],'matrix':_0x36c370};}[_0x4bf7c9(0x1fd)](_0x14fa42,_0x16ab8a){const _0x4c8ae8=_0x4bf7c9,_0x4fdcbc=[],_0x27f574=_0x22f57d(_0x14fa42);for(const _0x16a465 of _0x27f574)_0x4fdcbc[_0x4c8ae8(0x1fc)]({'groupId':_0x16ab8a,'range':_0x16a465});return _0x4fdcbc;}[_0x4bf7c9(0x1bb)](_0x184340){const _0x109d22=_0x4bf7c9;var _0x9c4e3e,_0x2e9626,_0x48946f,_0x47d688;const {pivotTableId:_0x460bac,unitId:_0x4568c6,subUnitId:_0x607cf2}=_0x184340;if(!_0x460bac||!_0x4568c6||!_0x607cf2)return;const _0x294482=this[_0x109d22(0x2b4)](_0x4568c6,_0x607cf2),_0x3c2ad3=(_0x2e9626=(_0x9c4e3e=this[_0x109d22(0x33d)][_0x109d22(0x49b)](_0x4568c6))==null?void 0x0:_0x9c4e3e['get'](_0x607cf2))==null?void 0x0:_0x2e9626[_0x109d22(0x49b)](_0x460bac);if(_0x3c2ad3!=null&&_0x3c2ad3[_0x109d22(0x3cb)]){for(const _0x26a0db of Object[_0x109d22(0x34e)](_0x3c2ad3[_0x109d22(0x3cb)]))_0x3c2ad3['rangesInfo'][_0x26a0db]['forEach'](_0x536401=>{const _0x45a9b9=_0x109d22;for(let _0x153bba=_0x536401['startRow'];_0x153bba<=_0x536401[_0x45a9b9(0x433)];_0x153bba++)for(let _0x3c6346=_0x536401['startColumn'];_0x3c6346<=_0x536401[_0x45a9b9(0x1f5)];_0x3c6346++)_0x294482[_0x45a9b9(0x401)](_0x153bba,_0x3c6346);});}_0x3c2ad3&&((_0x47d688=(_0x48946f=this[_0x109d22(0x33d)][_0x109d22(0x49b)](_0x4568c6))==null?void 0x0:_0x48946f['get'](_0x607cf2))==null||_0x47d688[_0x109d22(0x286)](_0x460bac)),this[_0x109d22(0x4c6)]['next']({'unitId':_0x4568c6,'subUnitId':_0x607cf2,'valueMatrix':_0x294482,'pivotTableId':_0x460bac,'rangesCache':void 0x0,'type':_0x184340['type']}),this[_0x109d22(0x4a3)]['clearExclusiveRangesByGroupId'](_0x4568c6,_0x607cf2,_0x4a7ef3,_0x460bac);}['_ensurePivotItemRenderInfoCache'](_0xf43a0b,_0x582812,_0x57c6e7){const _0x4c82fe=_0x4bf7c9;var _0x411041,_0x5ec280,_0x27ec9b,_0x37970a,_0x36c3d5,_0x58267c;return this[_0x4c82fe(0x33d)][_0x4c82fe(0x2cb)](_0xf43a0b)||this[_0x4c82fe(0x33d)]['set'](_0xf43a0b,new Map()),(_0x411041=this['_pivotRenderInfoCache'][_0x4c82fe(0x49b)](_0xf43a0b))!=null&&_0x411041[_0x4c82fe(0x2cb)](_0x582812)||(_0x5ec280=this['_pivotRenderInfoCache'][_0x4c82fe(0x49b)](_0xf43a0b))==null||_0x5ec280['set'](_0x582812,new Map()),(_0x37970a=(_0x27ec9b=this['_pivotRenderInfoCache'][_0x4c82fe(0x49b)](_0xf43a0b))==null?void 0x0:_0x27ec9b[_0x4c82fe(0x49b)](_0x582812))!=null&&_0x37970a[_0x4c82fe(0x2cb)](_0x57c6e7)||(_0x58267c=(_0x36c3d5=this['_pivotRenderInfoCache'][_0x4c82fe(0x49b)](_0xf43a0b))==null?void 0x0:_0x36c3d5[_0x4c82fe(0x49b)](_0x582812))==null||_0x58267c[_0x4c82fe(0x1b8)](_0x57c6e7,{}),this[_0x4c82fe(0x33d)][_0x4c82fe(0x49b)](_0xf43a0b)[_0x4c82fe(0x49b)](_0x582812)['get'](_0x57c6e7);}[_0x4bf7c9(0x2b4)](_0x2bba46,_0x1dba76){const _0x5e43ef=_0x4bf7c9;var _0x4a4ff0,_0x532225;return this[_0x5e43ef(0x387)][_0x5e43ef(0x2cb)](_0x2bba46)||this[_0x5e43ef(0x387)][_0x5e43ef(0x1b8)](_0x2bba46,new Map()),(_0x4a4ff0=this[_0x5e43ef(0x387)]['get'](_0x2bba46))!=null&&_0x4a4ff0[_0x5e43ef(0x2cb)](_0x1dba76)||(_0x532225=this[_0x5e43ef(0x387)]['get'](_0x2bba46))==null||_0x532225['set'](_0x1dba76,new _0x181393[(_0x5e43ef(0x219))]()),this[_0x5e43ef(0x387)][_0x5e43ef(0x49b)](_0x2bba46)[_0x5e43ef(0x49b)](_0x1dba76);}[_0x4bf7c9(0x1ff)](_0x3a9fed,_0x21de44,_0x61e196,_0x5d663c){const _0x2a6a71=_0x4bf7c9;var _0x52c564,_0x619121;const _0x36bd8d=(_0x619121=(_0x52c564=this['_pivotRenderValueMatrixCache'][_0x2a6a71(0x49b)](_0x3a9fed))==null?void 0x0:_0x52c564[_0x2a6a71(0x49b)](_0x21de44))==null?void 0x0:_0x619121[_0x2a6a71(0x354)](_0x61e196,_0x5d663c);if(_0x36bd8d!=null)return _0x36bd8d;}[_0x4bf7c9(0x2d6)](_0x4c8c6e,_0x383a59,_0xf0dcff,_0x46aaaf){const _0x1d6765=_0x4bf7c9;var _0x5b0a58;const _0x2ab09a=_0x181393[_0x1d6765(0x432)](_0xf0dcff,_0x46aaaf),_0x36cbb5=(_0x5b0a58=this[_0x1d6765(0x33d)]['get'](_0x4c8c6e))==null?void 0x0:_0x5b0a58['get'](_0x383a59);return _0x36cbb5?Array[_0x1d6765(0x3d7)](_0x36cbb5[_0x1d6765(0x34e)]())['find'](_0x126070=>{const _0x1d8988=_0x1d6765,_0x4f6f20=_0x36cbb5[_0x1d8988(0x49b)](_0x126070),_0xff0c27=_0x4f6f20==null?void 0x0:_0x4f6f20[_0x1d8988(0x3cb)];return _0xff0c27?Object[_0x1d8988(0x34e)](_0xff0c27)[_0x1d8988(0x3d6)](_0x7e08dd=>_0xff0c27[_0x7e08dd][_0x1d8988(0x3d6)](_0x271b4f=>_0x181393[_0x1d8988(0x2ef)][_0x1d8988(0x217)](_0x271b4f,_0x2ab09a))):!0x1;}):void 0x0;}[_0x4bf7c9(0x419)](_0x2400c5,_0x63cb08,_0x30fdbf){const _0x3a5ede=_0x4bf7c9;var _0xdb2408;const _0x5889d2=(_0xdb2408=this[_0x3a5ede(0x33d)][_0x3a5ede(0x49b)](_0x2400c5))==null?void 0x0:_0xdb2408[_0x3a5ede(0x49b)](_0x63cb08),_0xe50068=[];return _0x5889d2&&Array['from'](_0x5889d2['keys']())[_0x3a5ede(0x1e7)](_0x3beb77=>{const _0x264d7d=_0x3a5ede,_0x3f5d1a=_0x5889d2[_0x264d7d(0x49b)](_0x3beb77),_0x278bee=_0x3f5d1a==null?void 0x0:_0x3f5d1a[_0x264d7d(0x3cb)];if(_0x278bee)for(const _0x5ad206 of Object[_0x264d7d(0x380)](_0x278bee)){let _0x8c5c67=!0x1;for(const _0x2d0cfb of _0x5ad206)if(_0x181393[_0x264d7d(0x2ef)][_0x264d7d(0x39e)](_0x2d0cfb,_0x30fdbf)){_0xe50068[_0x264d7d(0x1fc)](_0x3beb77),_0x8c5c67=!0x0;break;}if(_0x8c5c67)break;}}),_0xe50068;}[_0x4bf7c9(0x39b)](_0x2650d6,_0x576f5c){const _0xdd8050=_0x4bf7c9;var _0x488d16,_0x5ad4f1;return(_0x5ad4f1=(_0x488d16=this[_0xdd8050(0x387)][_0xdd8050(0x49b)](_0x2650d6))==null?void 0x0:_0x488d16[_0xdd8050(0x49b)](_0x576f5c))!=null?_0x5ad4f1:new _0x181393['ObjectMatrix']();}[_0x4bf7c9(0x3c3)](_0x3a8df0,_0x4d2e30){const _0x2f6f8c=_0x4bf7c9;var _0x5d0d0f;return(_0x5d0d0f=this[_0x2f6f8c(0x33d)][_0x2f6f8c(0x49b)](_0x3a8df0))==null?void 0x0:_0x5d0d0f['get'](_0x4d2e30);}[_0x4bf7c9(0x216)](_0x3fbee9,_0x4e70c7,_0x2fb68b){const _0x183d71=_0x4bf7c9;var _0x2b374b,_0x4abd67;return(_0x4abd67=(_0x2b374b=this[_0x183d71(0x33d)][_0x183d71(0x49b)](_0x3fbee9))==null?void 0x0:_0x2b374b[_0x183d71(0x49b)](_0x4e70c7))==null?void 0x0:_0x4abd67[_0x183d71(0x49b)](_0x2fb68b);}[_0x4bf7c9(0x2d3)](_0x47a02d){const _0x20cb1e=_0x4bf7c9;this[_0x20cb1e(0x33d)][_0x20cb1e(0x286)](_0x47a02d),this[_0x20cb1e(0x387)]['delete'](_0x47a02d);}[_0x4bf7c9(0x476)](_0x4b1c10,_0x1f1288){const _0x6312b6=_0x4bf7c9;this[_0x6312b6(0x22d)][_0x6312b6(0x3b6)]({'unitId':_0x4b1c10,'subUnitId':_0x1f1288});}},_0x1c1f68[_0x4bf7c9(0x46b)]=_0xdce29b([_0x4510d1(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x2f1)])),_0x4510d1(0x1,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x2ec)])),_0x4510d1(0x2,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68[_0x4bf7c9(0x4c8)])),_0x4510d1(0x3,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x271)])),_0x4510d1(0x4,_0x181393['Inject'](_0x3e3843[_0x4bf7c9(0x1f0)]))],_0x1c1f68[_0x4bf7c9(0x46b)]);var _0xcf424d=Object[_0x4bf7c9(0x490)],_0x7e8740=(_0x4425be,_0x1e9068,_0x176c6d,_0x59479d)=>{const _0x4bcd8b=_0x4bf7c9;for(var _0x1386bf=_0x59479d>0x1?void 0x0:_0x59479d?_0xcf424d(_0x1e9068,_0x176c6d):_0x1e9068,_0x518632=_0x4425be[_0x4bcd8b(0x390)]-0x1,_0x120e60;_0x518632>=0x0;_0x518632--)(_0x120e60=_0x4425be[_0x518632])&&(_0x1386bf=_0x120e60(_0x1386bf)||_0x1386bf);return _0x1386bf;},_0x1f143c=(_0x9b7c95,_0x50923d)=>(_0xd349f7,_0x1c1253)=>_0x50923d(_0xd349f7,_0x1c1253,_0x9b7c95);_0x1c1f68[_0x4bf7c9(0x44c)]=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x133dbc,_0x12dba5){const _0x14cc00=_0x4bf7c9;super(),_0x3f85d0(this,_0x14cc00(0x236),new _0x181393[(_0x14cc00(0x489))]({'PIVOT_PERFORM_CHECK':_0x3c97f2})),_0x3f85d0(this,'interceptor',new _0x181393['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x1027b1})),(this[_0x14cc00(0x28f)]=_0x133dbc,this[_0x14cc00(0x31d)]=_0x12dba5,this[_0x14cc00(0x2f7)]());}[_0x4bf7c9(0x2f7)](){const _0x2c5db8=_0x4bf7c9;this[_0x2c5db8(0x255)]();}[_0x4bf7c9(0x3c9)](_0x3d998e){const _0x3b3e7b=_0x4bf7c9;return this[_0x3b3e7b(0x236)][_0x3b3e7b(0x43c)](_0x3c97f2)(!0x1,_0x3d998e);}[_0x4bf7c9(0x255)](){const _0x4e6899=_0x4bf7c9;this[_0x4e6899(0x413)](this['_sheetInterceptorService'][_0x4e6899(0x2d9)](_0x3e3843[_0x4e6899(0x376)][_0x4e6899(0x35b)],{'priority':0xc8,'effect':_0x181393[_0x4e6899(0x3bc)][_0x4e6899(0x226)]|_0x181393[_0x4e6899(0x3bc)][_0x4e6899(0x3d2)],'handler':(_0x316763,_0x32c6d6,_0x24c04b)=>{const _0x321cd6=_0x4e6899,{row:_0x44cefb,col:_0x855cc0,unitId:_0x530ae7,subUnitId:_0x340621,workbook:_0x44145e}=_0x32c6d6,_0x4662fb=this[_0x321cd6(0x31d)][_0x321cd6(0x1ff)](_0x530ae7,_0x340621,_0x44cefb,_0x855cc0);if(!_0x4662fb)return _0x24c04b(_0x316763);const _0x5d6613={..._0x316763};(_0x4662fb['v']||_0x4662fb['v']===0x0)&&(_0x5d6613['v']=_0x4662fb['v']),_0x4662fb['t']&&(_0x5d6613['t']=_0x4662fb['t']);const _0x42f36d=(typeof(_0x316763==null?void 0x0:_0x316763['s'])==_0x321cd6(0x1b9)?_0x44145e[_0x321cd6(0x1e8)]()[_0x321cd6(0x49b)](_0x316763==null?void 0x0:_0x316763['s']):_0x316763==null?void 0x0:_0x316763['s'])||{},_0x11a84e=_0x44145e[_0x321cd6(0x1e8)]()[_0x321cd6(0x49b)](_0x4662fb['s']),_0x2cebd8={..._0x11a84e,..._0x42f36d};_0x11a84e!=null&&_0x11a84e['n']&&(_0x2cebd8['n']=_0x11a84e['n']);const _0x5687b4=_0x44145e[_0x321cd6(0x1e8)]()['setValue'](_0x2cebd8);return _0x5d6613['s']=_0x5687b4,(_0x4662fb[_0x321cd6(0x499)]===_0x1861d8[_0x321cd6(0x23a)]['Collapse']||_0x4662fb['pbt']===_0x1861d8[_0x321cd6(0x23a)][_0x321cd6(0x223)])&&(_0x5d6613['fontRenderExtension']={},_0x5d6613['fontRenderExtension'][_0x321cd6(0x211)]=_0x22f421),_0x24c04b(_0x5d6613);}}));}},_0x1c1f68[_0x4bf7c9(0x44c)]=_0x7e8740([_0x1f143c(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x3e3843[_0x4bf7c9(0x41c)])),_0x1f143c(0x1,_0x181393['Inject'](_0x1c1f68['SheetsPivotTableAdaptorModel']))],_0x1c1f68[_0x4bf7c9(0x44c)]);const _0xbaa2f3={'id':_0x4bf7c9(0x4bb),'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'handler':(_0x1e2e63,_0x1423eb)=>{const _0x8b03d6=_0x4bf7c9;if(!_0x1423eb)return!0x1;if(!!_0x1e2e63[_0x8b03d6(0x49b)](_0x181393['IConfigService'])['getConfig'](_0x19ee91))return!0x0;const {pivotTableId:_0x58358c,fieldJSON:_0x3a7279,unitId:_0x22e912,subUnitId:_0x50e255}=_0x1423eb;let _0x57da5a;const {dataFieldType:_0x985786,id:_0x38bf19,name:_0x1c2978,hexCode:_0x1f6b9d,originalFieldId:_0x523c60}=_0x3a7279;if(_0x985786===_0x1861d8[_0x8b03d6(0x285)][_0x8b03d6(0x224)]&&(_0x57da5a=new _0x1861d8[(_0x8b03d6(0x2dd))](_0x38bf19,_0x1c2978,_0x1f6b9d,_0x523c60)),!_0x57da5a)return!0x1;const _0x313e06=_0x1e2e63['get'](_0x1c1f68['SheetsPivotDataSourceModel']),_0x4e0835=_0x313e06['getDataFieldManager'](_0x22e912),_0x451b09=_0x4e0835[_0x8b03d6(0x495)](_0x58358c);_0x4e0835[_0x8b03d6(0x1f8)](_0x57da5a),_0x451b09[_0x8b03d6(0x2fa)](_0x57da5a[_0x8b03d6(0x3dc)](),_0x57da5a[_0x8b03d6(0x29e)]());const _0xa11272=_0x451b09['getFieldById'](_0x57da5a[_0x8b03d6(0x4b9)]());_0xa11272&&_0x57da5a[_0x8b03d6(0x35d)](_0xa11272);const _0x48e296=_0x313e06['getPivotTableConfig'](_0x22e912,_0x50e255,_0x58358c);return _0x313e06[_0x8b03d6(0x440)]({'unitId':_0x22e912,'subUnitId':_0x50e255,'token':_0x58358c,'type':_0xefe34['Set'],'pivotConfig':_0x48e296}),!0x0;}},_0x2136cd={'id':_0x4bf7c9(0x443),'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'handler':(_0x56d707,_0x161e5b)=>{const _0x250812=_0x4bf7c9;if(!_0x161e5b)return!0x1;if(!!_0x56d707[_0x250812(0x49b)](_0x181393[_0x250812(0x1c0)])['getConfig'](_0x19ee91))return!0x0;const {pivotTableId:_0x56805a,dataFieldId:_0x36fb07,unitId:_0x5ec42d,subUnitId:_0x1367de}=_0x161e5b,_0x5e382b=_0x56d707[_0x250812(0x49b)](_0x1c1f68[_0x250812(0x1d5)]),_0x49b8b7=_0x5e382b[_0x250812(0x2a2)](_0x5ec42d);_0x49b8b7[_0x250812(0x495)](_0x56805a)[_0x250812(0x4be)](_0x36fb07);let _0x59e429=!0x0;for(const _0x13693a in _0x49b8b7[_0x250812(0x48d)])if(_0x49b8b7[_0x250812(0x48d)][_0x13693a]['getFieldIds']()[_0x250812(0x3d1)](_0x36fb07)){_0x59e429=!0x1;break;}_0x59e429&&_0x49b8b7[_0x250812(0x3cc)](_0x36fb07);const _0x256926=_0x5e382b[_0x250812(0x439)](_0x5ec42d,_0x1367de,_0x56805a);return _0x5e382b['addDirtyPivotTable']({'unitId':_0x5ec42d,'subUnitId':_0x1367de,'token':_0x56805a,'type':_0xefe34[_0x250812(0x3c0)],'pivotConfig':_0x256926}),!0x0;}};function _0x412b09(_0x12831d,_0x15f301){const _0x20b0c0=_0x4bf7c9;switch(_0x15f301){case _0x1861d8[_0x20b0c0(0x1e1)][_0x20b0c0(0x226)]:return _0x12831d[_0x20b0c0(0x393)];case _0x1861d8[_0x20b0c0(0x1e1)][_0x20b0c0(0x3da)]:return _0x12831d[_0x20b0c0(0x221)];case _0x1861d8[_0x20b0c0(0x1e1)]['Row']:return _0x12831d['rowFields'];case _0x1861d8['PivotTableFiledAreaEnum'][_0x20b0c0(0x322)]:return _0x12831d[_0x20b0c0(0x2b0)];default:return[];}}function _0x1033dc(_0x127d21,_0x38463f){const _0x4f955a=_0x4bf7c9;return _0x127d21['measure'][_0x38463f]||_0x127d21[_0x4f955a(0x233)][_0x38463f];}function _0x2cc35b(_0xf66ad,_0x330127){const _0x3a030f=_0x4bf7c9,{area:_0x4e0d5e,fieldJson:_0x5ba350,index:_0x1a05b2}=_0x330127;_0x4e0d5e===_0x1861d8[_0x3a030f(0x1e1)]['Value']?_0xf66ad[_0x3a030f(0x23c)][_0x5ba350['id']]=_0x5ba350:_0xf66ad[_0x3a030f(0x233)][_0x5ba350['id']]=_0x5ba350,_0x412b09(_0xf66ad,_0x4e0d5e)[_0x3a030f(0x378)](_0x1a05b2,0x0,_0x5ba350['id']);}function _0x3bdc4d(_0x301297,_0x1f53f0){const _0xfa612f=_0x4bf7c9,{area:_0x33dc76,fieldId:_0x2858e3,index:_0x4161a2}=_0x1f53f0;_0x33dc76===_0x1861d8[_0xfa612f(0x1e1)][_0xfa612f(0x226)]?delete _0x301297['measure'][_0x2858e3]:delete _0x301297['dimension'][_0x2858e3],_0x412b09(_0x301297,_0x33dc76)[_0xfa612f(0x378)](_0x4161a2,0x1);}function _0x1047aa(_0x244ad6,_0x3ecc32){const {fieldId:_0x30855a,name:_0x29fdd1}=_0x3ecc32,_0x24fbff=_0x1033dc(_0x244ad6,_0x30855a);_0x24fbff&&(_0x24fbff['displayName']=_0x29fdd1);}function _0x35e859(_0xa36f1,_0x5a34fa){const _0x2d1153=_0x4bf7c9,{fieldId:_0x225fb4,collapse:_0x44b6ac,item:_0x5eb762}=_0x5a34fa;_0x5eb762!==void 0x0?(_0xa36f1[_0x2d1153(0x3b3)][_0x225fb4]=_0xa36f1[_0x2d1153(0x3b3)][_0x225fb4]||{},_0xa36f1['collapseInfo'][_0x225fb4][_0x5eb762]=_0x44b6ac):_0xa36f1['collapseInfo'][_0x225fb4]=_0x44b6ac;}function _0x5ddc51(_0xf9fe7,_0x55ee90){const {fieldId:_0x110976,format:_0x1b8f4f}=_0x55ee90,_0x5b0897=_0x1033dc(_0xf9fe7,_0x110976);_0x5b0897&&(_0x5b0897['format']=_0x1b8f4f);}function _0x216b96(_0x293b53,_0xbfe345){const _0x69cd99=_0x4bf7c9,{fieldId:_0x5e3196,filterInfo:_0x459120}=_0xbfe345,_0x449e0e=_0x1033dc(_0x293b53,_0x5e3196);_0x449e0e&&(_0x449e0e[_0x69cd99(0x41b)]=_0x459120);}function _0x4b681d(_0x3297f9,_0x5af78b){const _0x565511=_0x4bf7c9,{fieldId:_0x614f54,filterInfo:_0x451b0b}=_0x5af78b,_0x36ebb7=_0x3297f9[_0x565511(0x4c2)]['filter'](_0x49a019=>_0x49a019['fieldId']!==_0x614f54);_0x451b0b&&_0x36ebb7['push']({'fieldId':_0x614f54,'filterInfo':_0x451b0b}),_0x3297f9[_0x565511(0x4c2)]=_0x36ebb7;}function _0x2b33df(_0x4627b2,_0x4eecbf){const _0x14afb1=_0x4bf7c9,{fieldId:_0x169fb4,subtotalType:_0x29af52}=_0x4eecbf,_0x458e69=_0x1033dc(_0x4627b2,_0x169fb4);_0x458e69&&(_0x458e69[_0x14afb1(0x3ab)]=_0x29af52);}function _0x376871(_0x3b1084,_0xf4d7c0){const _0x7ee2cd=_0x4bf7c9,{fieldId:_0x2c7a46,oldArea:_0x34ed70,area:_0x46fc4f,oldIndex:_0x484989,index:_0x165d45}=_0xf4d7c0,_0x53f041=_0x34ed70!==_0x1861d8[_0x7ee2cd(0x1e1)]['Value']&&_0x46fc4f===_0x1861d8[_0x7ee2cd(0x1e1)][_0x7ee2cd(0x226)],_0x2014ee=_0x34ed70===_0x1861d8[_0x7ee2cd(0x1e1)][_0x7ee2cd(0x226)]&&_0x46fc4f!==_0x1861d8[_0x7ee2cd(0x1e1)][_0x7ee2cd(0x226)];if(_0x53f041||_0x2014ee){const _0x529b20=_0x1033dc(_0x3b1084,_0x2c7a46);_0x529b20&&(_0x53f041?(delete _0x3b1084[_0x7ee2cd(0x233)][_0x2c7a46],_0x3b1084[_0x7ee2cd(0x23c)][_0x2c7a46]=_0x529b20):(delete _0x3b1084[_0x7ee2cd(0x23c)][_0x2c7a46],_0x3b1084[_0x7ee2cd(0x233)][_0x2c7a46]=_0x529b20));}const _0xad480c=_0x412b09(_0x3b1084,_0x34ed70),_0x5df2a0=_0x412b09(_0x3b1084,_0x46fc4f);_0xad480c[_0x7ee2cd(0x378)](_0x484989,0x1),_0x5df2a0[_0x7ee2cd(0x378)](_0x165d45,0x0,_0x2c7a46);}function _0x4ac1ea(_0x361f09,_0x543e3c){const _0x4b91fb=_0x4bf7c9,{valuePosition:_0x38c17e,index:_0x4d10e7}=_0x543e3c;_0x361f09[_0x4b91fb(0x3a9)]=_0x38c17e,_0x361f09[_0x4b91fb(0x436)]=_0x4d10e7;}function _0x281b7b(_0x2a61e5,_0x1b4dcc){const _0x207af3=_0x4bf7c9,{tableFieldId:_0x5300f8,sourceName:_0x5cd27b,dataFieldId:_0x579b12}=_0x1b4dcc,_0x534a18=_0x1033dc(_0x2a61e5,_0x5300f8);_0x534a18&&(_0x534a18[_0x207af3(0x4c7)]=_0x5cd27b,_0x534a18[_0x207af3(0x259)]=_0x579b12);}function _0x281f8a(_0x67ffd,_0x52d383){const _0x5af1e5=_0x4bf7c9,{fieldId:_0x426895,sortInfo:_0x345d4b}=_0x52d383,_0xaa8f38=_0x1033dc(_0x67ffd,_0x426895);_0xaa8f38&&(_0xaa8f38[_0x5af1e5(0x332)]=_0x345d4b);}function _0x373d67(_0x2849cb,_0x31d042){const _0x4adafd=_0x4bf7c9,{options:_0x1f70df}=_0x31d042;_0x2849cb[_0x4adafd(0x422)]={..._0x2849cb[_0x4adafd(0x422)],..._0x1f70df};}const _0x1d8273={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.add-pivot-field','handler'(_0x4ea8a7,_0x37db1c){const _0x1ababd=_0x4bf7c9;if(!_0x37db1c)return!0x1;if(!!_0x4ea8a7[_0x1ababd(0x49b)](_0x181393[_0x1ababd(0x1c0)])['getConfig'](_0x19ee91))return!0x0;const _0x2ecb46=_0x4ea8a7[_0x1ababd(0x49b)](_0x1c1f68['SheetsPivotDataSourceModel']),{pivotTableId:_0x1079a7,fieldJson:_0x401655,area:_0x59bc42,index:_0x2758d6,unitId:_0x450128,subUnitId:_0x40dcd3}=_0x37db1c,_0x22c1c1=_0x2ecb46[_0x1ababd(0x1eb)](_0x1079a7);if(!_0x22c1c1)return!0x1;let _0x5a0f88;_0x59bc42===_0x1861d8[_0x1ababd(0x1e1)][_0x1ababd(0x226)]?_0x5a0f88=_0x1861d8[_0x1ababd(0x2e1)](_0x401655):_0x5a0f88=_0x1861d8['createLabelField'](_0x401655),_0x22c1c1[_0x1ababd(0x2fa)](_0x5a0f88,_0x59bc42,_0x2758d6);const _0x1f7b30=_0x2ecb46['getPivotTableModelConfig'](_0x450128,_0x40dcd3,_0x1079a7);_0x2cc35b(_0x1f7b30,_0x37db1c);const _0x5b0af8=_0x2ecb46[_0x1ababd(0x439)](_0x450128,_0x40dcd3,_0x1079a7);return _0x2ecb46[_0x1ababd(0x440)]({'unitId':_0x450128,'subUnitId':_0x40dcd3,'token':_0x1079a7,'type':_0xefe34[_0x1ababd(0x3c0)],'pivotConfig':_0x5b0af8}),!0x0;}},_0x2d4518={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x218),'handler'(_0x2082ad,_0x5c7430){const _0x31c46=_0x4bf7c9;if(!_0x5c7430)return!0x1;if(!!_0x2082ad[_0x31c46(0x49b)](_0x181393[_0x31c46(0x1c0)])[_0x31c46(0x4ca)](_0x19ee91))return!0x0;const _0x1cc76d=_0x2082ad[_0x31c46(0x49b)](_0x1c1f68[_0x31c46(0x1d5)]),{pivotTableId:_0x2d1678,fieldId:_0x52a418,unitId:_0x119132,subUnitId:_0x1c1108}=_0x5c7430,_0x55742d=_0x1cc76d[_0x31c46(0x1eb)](_0x2d1678);if(!_0x55742d)return!0x1;_0x55742d[_0x31c46(0x307)](_0x52a418);const _0x54d9d3=_0x1cc76d[_0x31c46(0x1b4)](_0x119132,_0x1c1108,_0x2d1678);_0x3bdc4d(_0x54d9d3,_0x5c7430);const _0x24598c=_0x1cc76d[_0x31c46(0x439)](_0x119132,_0x1c1108,_0x2d1678);return _0x1cc76d[_0x31c46(0x440)]({'unitId':_0x119132,'subUnitId':_0x1c1108,'token':_0x2d1678,'type':_0xefe34['Set'],'pivotConfig':_0x24598c}),!0x0;}},_0x35c613={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x34a),'handler'(_0xed470b,_0x4424ce){const _0xb49617=_0x4bf7c9;if(!_0x4424ce)return!0x1;if(!!_0xed470b[_0xb49617(0x49b)](_0x181393[_0xb49617(0x1c0)])[_0xb49617(0x4ca)](_0x19ee91))return!0x0;const _0x4caac7=_0xed470b[_0xb49617(0x49b)](_0x1c1f68['SheetsPivotDataSourceModel']),{unitId:_0x59df39,subUnitId:_0x4a20ec,pivotTableId:_0x2b3998,fieldId:_0x46c913,name:_0x2620c8}=_0x4424ce,_0x5ed056=_0x4caac7[_0xb49617(0x1eb)](_0x2b3998);if(!_0x5ed056)return!0x1;_0x5ed056[_0xb49617(0x25e)](_0x46c913,_0x2620c8);const _0x4846e0=_0x4caac7[_0xb49617(0x1b4)](_0x59df39,_0x4a20ec,_0x2b3998);return _0x1047aa(_0x4846e0,_0x4424ce),_0x4caac7[_0xb49617(0x440)]({'unitId':_0x59df39,'subUnitId':_0x4a20ec,'token':_0x2b3998,'type':_0xefe34['Set']}),!0x0;}},_0x18c265={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x76a1d0,_0x279824){const _0x2fb31f=_0x4bf7c9;if(!_0x279824)return!0x1;if(!!_0x76a1d0[_0x2fb31f(0x49b)](_0x181393['IConfigService'])[_0x2fb31f(0x4ca)](_0x19ee91))return!0x0;const _0x3dd9d9=_0x76a1d0[_0x2fb31f(0x49b)](_0x1c1f68[_0x2fb31f(0x1d5)]),{unitId:_0x1041a3,subUnitId:_0x1175af,pivotTableId:_0x553363,fieldId:_0x106156,collapse:_0x2b15ad,item:_0x943ee7}=_0x279824,_0x8cca85=_0x3dd9d9[_0x2fb31f(0x1eb)](_0x553363);if(!_0x8cca85)return!0x1;_0x8cca85[_0x2fb31f(0x409)](_0x106156,_0x2b15ad,_0x943ee7);const _0x33177b=_0x3dd9d9[_0x2fb31f(0x1b4)](_0x1041a3,_0x1175af,_0x553363);return _0x35e859(_0x33177b,_0x279824),_0x3dd9d9[_0x2fb31f(0x440)]({'unitId':_0x1041a3,'subUnitId':_0x1175af,'token':_0x553363,'type':_0xefe34[_0x2fb31f(0x3c0)]}),!0x0;}},_0x4a2ea7={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.set-pivot-format','handler'(_0x56a2fe,_0x919ac){const _0x39084e=_0x4bf7c9;if(!_0x919ac)return!0x1;if(!!_0x56a2fe[_0x39084e(0x49b)](_0x181393['IConfigService'])[_0x39084e(0x4ca)](_0x19ee91))return!0x0;const _0x51b6bb=_0x56a2fe[_0x39084e(0x49b)](_0x1c1f68[_0x39084e(0x1d5)]),{unitId:_0x25eb29,subUnitId:_0x58efc2,pivotTableId:_0x3d8b61,fieldId:_0x1eadb3,format:_0x4670a2}=_0x919ac,_0x55558a=_0x51b6bb[_0x39084e(0x1eb)](_0x3d8b61);if(!_0x55558a)return!0x1;_0x55558a['setFieldFormat'](_0x1eadb3,_0x4670a2);const _0x33fbf0=_0x51b6bb[_0x39084e(0x1b4)](_0x25eb29,_0x58efc2,_0x3d8b61);return _0x5ddc51(_0x33fbf0,_0x919ac),_0x51b6bb[_0x39084e(0x440)]({'unitId':_0x25eb29,'subUnitId':_0x58efc2,'token':_0x3d8b61,'type':_0xefe34[_0x39084e(0x3c0)]}),!0x0;}},_0x175ed6={'type':_0x181393['CommandType'][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x252),'handler'(_0x30f2ae,_0x4a03a0){const _0x68744e=_0x4bf7c9;if(!_0x4a03a0)return!0x1;if(!!_0x30f2ae['get'](_0x181393[_0x68744e(0x1c0)])[_0x68744e(0x4ca)](_0x19ee91))return!0x0;const _0x5d4844=_0x30f2ae[_0x68744e(0x49b)](_0x1c1f68['SheetsPivotDataSourceModel']),{unitId:_0x361f5e,subUnitId:_0x495ccb,pivotTableId:_0x420a68,fieldId:_0x4188ea,filterInfo:_0x2296ed}=_0x4a03a0,_0x3a8511=_0x5d4844[_0x68744e(0x1eb)](_0x420a68);if(!_0x3a8511)return!0x1;_0x3a8511['setLabelFilterInfo'](_0x4188ea,_0x2296ed);const _0x448c55=_0x5d4844[_0x68744e(0x1b4)](_0x361f5e,_0x495ccb,_0x420a68);return _0x216b96(_0x448c55,_0x4a03a0),_0x5d4844[_0x68744e(0x440)]({'unitId':_0x361f5e,'subUnitId':_0x495ccb,'token':_0x420a68,'type':_0xefe34[_0x68744e(0x3c0)]}),!0x0;}},_0x1f342e={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x481),'handler'(_0x49ec21,_0x4971af){const _0x974007=_0x4bf7c9;if(!_0x4971af)return!0x1;if(!!_0x49ec21[_0x974007(0x49b)](_0x181393[_0x974007(0x1c0)])[_0x974007(0x4ca)](_0x19ee91))return!0x0;const _0x36f043=_0x49ec21[_0x974007(0x49b)](_0x1c1f68[_0x974007(0x1d5)]),{unitId:_0x5a9480,subUnitId:_0x15c995,pivotTableId:_0x11762e,options:_0x158736}=_0x4971af,_0x223dda=_0x36f043[_0x974007(0x1eb)](_0x11762e);if(!_0x223dda)return!0x1;_0x223dda['setOptions'](_0x158736);const _0x51a3ad=_0x36f043[_0x974007(0x1b4)](_0x5a9480,_0x15c995,_0x11762e);return _0x373d67(_0x51a3ad,_0x4971af),_0x36f043['addDirtyPivotTable']({'unitId':_0x5a9480,'subUnitId':_0x15c995,'token':_0x11762e,'type':_0xefe34['Set']}),!0x0;}},_0x5dcb03={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x42b),'handler'(_0x1b5cb8,_0x1e1936){const _0x1f67a4=_0x4bf7c9;if(!_0x1e1936)return!0x1;if(!!_0x1b5cb8['get'](_0x181393['IConfigService'])['getConfig'](_0x19ee91))return!0x0;const _0x2e109b=_0x1b5cb8['get'](_0x1c1f68[_0x1f67a4(0x1d5)]),{unitId:_0x129001,subUnitId:_0x3223b1,pivotTableId:_0x7276db,sortInfo:_0x4db6f4,fieldId:_0xc5bc14}=_0x1e1936,_0x275f9f=_0x2e109b[_0x1f67a4(0x1eb)](_0x7276db);if(!_0x275f9f)return!0x1;_0x275f9f[_0x1f67a4(0x29d)](_0xc5bc14,_0x4db6f4);const _0x9854b7=_0x2e109b[_0x1f67a4(0x1b4)](_0x129001,_0x3223b1,_0x7276db);return _0x281f8a(_0x9854b7,_0x1e1936),_0x2e109b[_0x1f67a4(0x440)]({'unitId':_0x129001,'subUnitId':_0x3223b1,'token':_0x7276db,'type':_0xefe34[_0x1f67a4(0x3c0)]}),!0x0;}},_0x5b10ff={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x272),'handler'(_0x31a5bc,_0x4b0123){const _0x5c8813=_0x4bf7c9;if(!_0x4b0123)return!0x1;if(!!_0x31a5bc['get'](_0x181393[_0x5c8813(0x1c0)])[_0x5c8813(0x4ca)](_0x19ee91))return!0x0;const _0x1e43ff=_0x31a5bc[_0x5c8813(0x49b)](_0x1c1f68['SheetsPivotDataSourceModel']),{unitId:_0x1bce22,subUnitId:_0x2ba251,pivotTableId:_0x50a15f,fieldId:_0x18f76d,subtotalType:_0x4985a7}=_0x4b0123,_0x2947e5=_0x1e43ff[_0x5c8813(0x1eb)](_0x50a15f);if(!_0x2947e5)return!0x1;_0x2947e5[_0x5c8813(0x40b)](_0x18f76d,_0x4985a7);const _0x5b7686=_0x1e43ff[_0x5c8813(0x1b4)](_0x1bce22,_0x2ba251,_0x50a15f);return _0x2b33df(_0x5b7686,_0x4b0123),_0x1e43ff['addDirtyPivotTable']({'unitId':_0x1bce22,'subUnitId':_0x2ba251,'token':_0x50a15f,'type':_0xefe34[_0x5c8813(0x3c0)]}),!0x0;}},_0x54ce9e={'type':_0x181393['CommandType'][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x249ce8,_0x2afda0){const _0x1113c2=_0x4bf7c9;if(!_0x2afda0)return!0x1;if(!!_0x249ce8[_0x1113c2(0x49b)](_0x181393[_0x1113c2(0x1c0)])['getConfig'](_0x19ee91))return!0x0;const _0xf68edd=_0x249ce8[_0x1113c2(0x49b)](_0x1c1f68[_0x1113c2(0x1d5)]),{unitId:_0x219777,subUnitId:_0x4729c9,pivotTableId:_0x21fe9d,fieldId:_0x124058,filterInfo:_0x3ea3d3}=_0x2afda0,_0x4f760a=_0xf68edd[_0x1113c2(0x1eb)](_0x21fe9d);if(!_0x4f760a)return!0x1;_0x4f760a[_0x1113c2(0x2aa)](_0x124058,_0x3ea3d3);const _0x207cd2=_0xf68edd[_0x1113c2(0x1b4)](_0x219777,_0x4729c9,_0x21fe9d);return _0x4b681d(_0x207cd2,_0x2afda0),_0xf68edd['addDirtyPivotTable']({'unitId':_0x219777,'subUnitId':_0x4729c9,'token':_0x21fe9d,'type':_0xefe34[_0x1113c2(0x3c0)]}),!0x0;}},_0x5a4296={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x334),'handler'(_0x3d4723,_0x1690c3){const _0x52b578=_0x4bf7c9;if(!_0x1690c3)return!0x1;if(!!_0x3d4723['get'](_0x181393['IConfigService'])[_0x52b578(0x4ca)](_0x19ee91))return!0x0;const _0x2ca4d6=_0x3d4723['get'](_0x1c1f68[_0x52b578(0x1d5)]),{unitId:_0x12c700,subUnitId:_0x4b0341,pivotTableId:_0x1d02f9,area:_0x1e7d98,index:_0x3f01d9,fieldId:_0x2feb95}=_0x1690c3,_0x1a2a1b=_0x2ca4d6[_0x52b578(0x1eb)](_0x1d02f9);if(!_0x1a2a1b)return!0x1;_0x1a2a1b[_0x52b578(0x323)](_0x2feb95,_0x1e7d98,_0x3f01d9);const _0x3f03ef=_0x2ca4d6[_0x52b578(0x1b4)](_0x12c700,_0x4b0341,_0x1d02f9);return _0x376871(_0x3f03ef,_0x1690c3),_0x2ca4d6[_0x52b578(0x440)]({'unitId':_0x12c700,'subUnitId':_0x4b0341,'token':_0x1d02f9,'type':_0xefe34[_0x52b578(0x3c0)]}),!0x0;}},_0x32fdbe={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x1e5),'handler'(_0xb9e4cf,_0x21adb0){const _0x477f86=_0x4bf7c9;if(!_0x21adb0)return!0x1;if(!!_0xb9e4cf[_0x477f86(0x49b)](_0x181393[_0x477f86(0x1c0)])[_0x477f86(0x4ca)](_0x19ee91))return!0x0;const _0xf4dcc9=_0xb9e4cf[_0x477f86(0x49b)](_0x1c1f68[_0x477f86(0x1d5)]),{unitId:_0x59cd88,subUnitId:_0x21876c,pivotTableId:_0x547835,sourceName:_0x15eae1,dataFieldId:_0x5a1e3c,tableFieldId:_0x96faba}=_0x21adb0,_0x49e486=_0xf4dcc9[_0x477f86(0x1eb)](_0x547835);if(!_0x49e486)return!0x1;_0x49e486[_0x477f86(0x257)](_0x96faba,_0x15eae1,_0x5a1e3c);const _0x7fa395=_0xf4dcc9[_0x477f86(0x1b4)](_0x59cd88,_0x21876c,_0x547835);return _0x281b7b(_0x7fa395,_0x21adb0),_0xf4dcc9['addDirtyPivotTable']({'unitId':_0x59cd88,'subUnitId':_0x21876c,'token':_0x547835,'type':_0xefe34['Set']}),!0x0;}},_0x47ee34={'type':_0x181393['CommandType'][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x54615f,_0x591147){const _0x2bd2f8=_0x4bf7c9;if(!_0x591147)return!0x1;if(!!_0x54615f[_0x2bd2f8(0x49b)](_0x181393[_0x2bd2f8(0x1c0)])['getConfig'](_0x19ee91))return!0x0;const _0x185a30=_0x54615f[_0x2bd2f8(0x49b)](_0x1c1f68[_0x2bd2f8(0x1d5)]),{unitId:_0x34adb0,subUnitId:_0x1396cb,pivotTableId:_0x53b090,valuePosition:_0x3a2cc8,index:_0xe51d3c}=_0x591147,_0x14ba30=_0x185a30[_0x2bd2f8(0x1eb)](_0x53b090);if(!_0x14ba30)return!0x1;_0x14ba30[_0x2bd2f8(0x2f6)](_0x3a2cc8,_0xe51d3c);const _0x503e67=_0x185a30[_0x2bd2f8(0x1b4)](_0x34adb0,_0x1396cb,_0x53b090);return _0x4ac1ea(_0x503e67,_0x591147),_0x185a30[_0x2bd2f8(0x440)]({'unitId':_0x34adb0,'subUnitId':_0x1396cb,'token':_0x53b090,'type':_0xefe34[_0x2bd2f8(0x3c0)]}),!0x0;}};function _0x31253c(_0x30b130,_0x199172,_0x3df2dc){const _0x6f9223=_0x4bf7c9,{pivotTableId:_0x506aa1,unitId:_0x1bb042,subUnitId:_0x1685c4}=_0x199172,_0x3c5c81=[],_0xb37c19=[];for(const _0x5dbd2f of _0x3df2dc)switch(_0x5dbd2f['type']){case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x1e6)]:{const {fieldJson:_0x5a9e53,area:_0x198a86,index:_0x534e1e}=_0x5dbd2f,_0x34a588={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldJson':_0x5a9e53,'area':_0x198a86,'index':_0x534e1e},_0x4f7a8f={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x5a9e53['id'],'area':_0x198a86,'index':_0x534e1e};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x1d8273['id'],'params':_0x34a588}),_0xb37c19[_0x6f9223(0x247)]({'id':_0x2d4518['id'],'params':_0x4f7a8f});}break;case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x473)]:{const {fieldId:_0x3e4323,newSubtotalType:_0x277e,oldSubtotalType:_0x55cf41}=_0x5dbd2f,_0x15dcc4={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x3e4323,'subtotalType':_0x277e};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x5b10ff['id'],'params':_0x15dcc4});const _0x9d1a00={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x3e4323,'subtotalType':_0x55cf41};_0xb37c19[_0x6f9223(0x247)]({'id':_0x5b10ff['id'],'params':_0x9d1a00});}break;case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x3d8)]:{const {fieldId:_0x259577,fieldJson:_0x4cf0b8,area:_0x6c995d,index:_0x1c6437}=_0x5dbd2f,_0x442e5c={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x259577,'index':_0x1c6437,'area':_0x6c995d};_0x3c5c81['push']({'id':_0x2d4518['id'],'params':_0x442e5c});const _0x2a0569={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldJson':_0x4cf0b8,'area':_0x6c995d,'index':_0x1c6437};_0xb37c19[_0x6f9223(0x247)]({'id':_0x1d8273['id'],'params':_0x2a0569});}break;case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x44d)]:{const {fieldId:_0x41c112,oldName:_0xe30ce2,newName:_0x2f4e17}=_0x5dbd2f,_0x4d2e67={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x41c112,'name':_0x2f4e17};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x35c613['id'],'params':_0x4d2e67});const _0x57abb1={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x41c112,'name':_0xe30ce2};_0xb37c19[_0x6f9223(0x247)]({'id':_0x35c613['id'],'params':_0x57abb1});}break;case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x2d7)]:{const {fieldId:_0x2922d7,oldFilterInfo:_0x23e0eb,newFilterInfo:_0x4ba60b}=_0x5dbd2f,_0x47d9bb={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x2922d7,'filterInfo':_0x4ba60b};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x175ed6['id'],'params':_0x47d9bb});const _0x2667f8={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x2922d7,'filterInfo':_0x23e0eb};_0xb37c19['unshift']({'id':_0x175ed6['id'],'params':_0x2667f8});}break;case _0x1861d8[_0x6f9223(0x392)]['SetSortInfo']:{const {fieldId:_0x4b96ac,oldSortInfo:_0x4228c4,newSortInfo:_0x5ad750}=_0x5dbd2f,_0x4570de={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x4b96ac,'sortInfo':_0x5ad750};_0x3c5c81['push']({'id':_0x5dcb03['id'],'params':_0x4570de});const _0x10d3aa={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x4b96ac,'sortInfo':_0x4228c4};_0xb37c19[_0x6f9223(0x247)]({'id':_0x5dcb03['id'],'params':_0x10d3aa});}break;case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x1fe)]:{const {oldOptions:_0x2ca0c2,newOptions:_0x12bfbc}=_0x5dbd2f,_0x2e8334={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'options':_0x12bfbc};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x1f342e['id'],'params':_0x2e8334});const _0x23ebed={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'options':_0x2ca0c2};_0xb37c19[_0x6f9223(0x247)]({'id':_0x1f342e['id'],'params':_0x23ebed});}break;case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x23e)]:{const {oldArea:_0x1a18b9,newArea:_0x4ac0bd,oldIndex:_0x379893,newIndex:_0x5967bf,fieldId:_0x51fa5e}=_0x5dbd2f,_0x1b377f={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x51fa5e,'area':_0x4ac0bd,'index':_0x5967bf,'oldArea':_0x1a18b9,'oldIndex':_0x379893};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x5a4296['id'],'params':_0x1b377f});const _0x52c501={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x51fa5e,'area':_0x1a18b9,'index':_0x379893,'oldArea':_0x4ac0bd,'oldIndex':_0x5967bf};_0xb37c19[_0x6f9223(0x247)]({'id':_0x5a4296['id'],'params':_0x52c501});}break;case _0x1861d8[_0x6f9223(0x392)]['UpdateValuePosition']:{const {oldValuePosition:_0x2e82fb,newValuePosition:_0x1cc690,oldIndex:_0x41f3f8,newIndex:_0x3685e1}=_0x5dbd2f,_0x1c7fcf={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'valuePosition':_0x1cc690,'index':_0x3685e1};_0x3c5c81['push']({'id':_0x47ee34['id'],'params':_0x1c7fcf});const _0x389f9f={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'valuePosition':_0x2e82fb,'index':_0x41f3f8};_0xb37c19[_0x6f9223(0x247)]({'id':_0x47ee34['id'],'params':_0x389f9f});}break;case _0x1861d8[_0x6f9223(0x392)]['SetCollapse']:{const {fieldId:_0x496ccd,collapse:_0x843e2e,item:_0x43b58f}=_0x5dbd2f,_0x55837f={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x496ccd,'collapse':_0x843e2e,'item':_0x43b58f};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x18c265['id'],'params':_0x55837f});const _0x79d147={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x496ccd,'collapse':!_0x843e2e,'item':_0x43b58f};_0xb37c19[_0x6f9223(0x247)]({'id':_0x18c265['id'],'params':_0x79d147});}break;case _0x1861d8[_0x6f9223(0x392)]['SetFieldFormat']:{const {newFormat:_0x7deb09,oldFormat:_0x5c9823,fieldId:_0x1e36ed}=_0x5dbd2f,_0x109d2d={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x1e36ed,'format':_0x7deb09};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x4a2ea7['id'],'params':_0x109d2d});const _0x3774f7={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0x1e36ed,'format':_0x5c9823};_0xb37c19['unshift']({'id':_0x4a2ea7['id'],'params':_0x3774f7});}break;case _0x1861d8[_0x6f9223(0x392)][_0x6f9223(0x446)]:{const {tableFieldId:_0x90b07d,oldSourceName:_0x37570a,newSourceName:_0x1a7a44,oldDataFieldId:_0x486ea4,newDataFieldId:_0x95ff9d}=_0x5dbd2f,_0x1a8ff4={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'tableFieldId':_0x90b07d,'sourceName':_0x1a7a44,'dataFieldId':_0x95ff9d};_0x3c5c81[_0x6f9223(0x1fc)]({'id':_0x32fdbe['id'],'params':_0x1a8ff4});const _0x49c333={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'tableFieldId':_0x90b07d,'sourceName':_0x37570a,'dataFieldId':_0x486ea4};_0xb37c19[_0x6f9223(0x247)]({'id':_0x32fdbe['id'],'params':_0x49c333});}break;case _0x1861d8['PivotTableChangeTypeEnum'][_0x6f9223(0x397)]:{const {fieldId:_0xe056d4,filterInfo:_0xfd4c1d,oldFilterInfo:_0x367651}=_0x5dbd2f,_0x5de3ae={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0xe056d4,'filterInfo':_0xfd4c1d};_0x3c5c81['push']({'id':_0x54ce9e['id'],'params':_0x5de3ae});const _0x372ce7={'unitId':_0x1bb042,'subUnitId':_0x1685c4,'pivotTableId':_0x506aa1,'fieldId':_0xe056d4,'filterInfo':_0x367651};_0xb37c19[_0x6f9223(0x247)]({'id':_0x54ce9e['id'],'params':_0x372ce7});}}return{'redos':_0x3c5c81,'undos':_0xb37c19};}function _0x34b351(_0x145d23,_0x506bb3){const _0xcf9d79=_0x4bf7c9;var _0x3f6812;const _0x3d11a2=_0x145d23['get'](_0x1c1f68[_0xcf9d79(0x44c)]),{cellInfo:_0x4213e9,view:_0x39ccd6,isEmpty:_0x4d297a}=_0x506bb3;return(_0x3f6812=_0x3d11a2[_0xcf9d79(0x32c)]['fetchThroughInterceptors'](_0x1027b1)(_0x90947e,{'cellInfo':_0x4213e9,'view':_0x39ccd6,'isEmpty':_0x4d297a}))!=null?_0x3f6812:_0x90947e;}const _0x36ef7b={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x3b644d,_0x1e7e4d){const _0x29d3dd=_0x4bf7c9;if(!_0x1e7e4d)return!0x1;const _0x518a50=_0x3b644d[_0x29d3dd(0x49b)](_0x181393['ICommandService']),_0x59b28b=_0x3b644d[_0x29d3dd(0x49b)](_0x1c1f68[_0x29d3dd(0x356)]),_0x16452f=_0x3b644d[_0x29d3dd(0x49b)](_0x181393[_0x29d3dd(0x3e2)]),{pivotTableId:_0x5eb669,dataFieldId:_0x36edbb,fieldArea:_0x276113,index:_0x16f7c7,unitId:_0x26737e,subUnitId:_0x2cd790}=_0x1e7e4d,_0x471fcb=(await _0x59b28b[_0x29d3dd(0x26e)]({'unitId':_0x26737e,'subUnitId':_0x2cd790,'pivotTableId':_0x5eb669,'params':{'type':_0x40af19['AddPivotField'],'addPivotField':{'dataFieldId':_0x36edbb,'fieldArea':_0x276113,'index':_0x16f7c7}}}))[_0x29d3dd(0x37d)][_0x29d3dd(0x1f6)];if(!_0x471fcb)return!0x1;const {view:_0x1d4989,changesets:_0x452abb,isEmpty:_0x24ee33,pivotTableConfig:_0x1bb224,shouldBeAddedGroupJSON:_0x96f9a}=_0x471fcb,_0x40f669=_0x1bb224[_0x29d3dd(0x3e0)],_0x118738=new _0x1861d8['PivotView']();_0x118738[_0x29d3dd(0x4c3)](_0x1d4989);const _0x4b4591={'cellInfo':_0x40f669,'view':_0x118738,'isEmpty':_0x24ee33};if(!await _0x3b644d[_0x29d3dd(0x49b)](_0x1c1f68[_0x29d3dd(0x44c)])[_0x29d3dd(0x236)][_0x29d3dd(0x43c)](_0x3c97f2)(!0x0,_0x4b4591))return!0x1;const _0x230d88=_0x719981(_0x3b644d,_0x118738,_0x40f669,_0x24ee33),_0x394245=_0x34b351(_0x3b644d,_0x4b4591),{undos:_0x41d838,redos:_0x53ae8d}=_0x31253c(_0x518a50,{'pivotTableId':_0x5eb669,'unitId':_0x26737e,'subUnitId':_0x2cd790},_0x452abb);return _0x96f9a&&(_0x53ae8d[_0x29d3dd(0x247)]({'id':_0xbaa2f3['id'],'params':{'pivotTableId':_0x5eb669,'fieldJSON':_0x96f9a,'unitId':_0x26737e,'subUnitId':_0x2cd790}}),_0x41d838['push']({'id':_0x2136cd['id'],'params':{'pivotTableId':_0x5eb669,'dataFieldId':_0x96f9a['id'],'unitId':_0x26737e,'subUnitId':_0x2cd790}})),_0x181393[_0x29d3dd(0x310)]([..._0x230d88[_0x29d3dd(0x4a1)],..._0x394245[_0x29d3dd(0x4a1)],..._0x53ae8d],_0x518a50),_0x16452f[_0x29d3dd(0x2bf)]({'unitID':_0x26737e,'redoMutations':[..._0x230d88['redos'],..._0x394245[_0x29d3dd(0x4a1)],..._0x53ae8d],'undoMutations':[..._0x230d88[_0x29d3dd(0x37c)],..._0x394245[_0x29d3dd(0x37c)],..._0x41d838]}),!0x0;}},_0x2f97a3=()=>typeof process<'u'&&process['versions']!=null&&process[_0x4bf7c9(0x3e7)][_0x4bf7c9(0x3c4)]!=null,_0x429471={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x3bd),'handler'(_0x3f3160,_0x112e4a){const _0x4f7883=_0x4bf7c9;var _0x1b3a21;if(!_0x112e4a)return!0x1;const _0xa7fb6c=_0x3f3160['get'](_0x181393[_0x4f7883(0x1c0)]);if(!!_0xa7fb6c[_0x4f7883(0x4ca)](_0x19ee91))return!0x0;const _0x29b40f=_0x3f3160[_0x4f7883(0x49b)](_0x181393[_0x4f7883(0x271)]),_0x151792=_0x3f3160[_0x4f7883(0x49b)](_0x1c1f68[_0x4f7883(0x1d5)]),{pivotTableId:_0x38a6c2,pivotTableConfig:_0x43ccf2,collectionConfig:_0x43342a,unitId:_0x302e08,subUnitId:_0x2bb5cd}=_0x112e4a,{sourceRangeInfo:_0x45faf5,fieldsConfig:_0x2bd584,targetCellInfo:_0x520a54}=_0x43ccf2,_0x41e589=_0x29b40f[_0x4f7883(0x267)](_0x302e08);if(!_0x41e589||!_0x41e589[_0x4f7883(0x280)](_0x2bb5cd))return!0x1;if(!_0x2f97a3()){let _0x53f90c=0x0;_0x41e589[_0x4f7883(0x368)]()[_0x4f7883(0x1e7)](_0x596835=>{const _0x721c71=_0x4f7883;var _0x4e61ae,_0x23a3df;_0x53f90c+=(_0x23a3df=(_0x4e61ae=_0x151792[_0x721c71(0x279)](_0x302e08,_0x596835['getSheetId']()))==null?void 0x0:_0x4e61ae['size'])!=null?_0x23a3df:0x0;});const _0x2794a4=(_0x1b3a21=_0xa7fb6c[_0x4f7883(0x4ca)](_0x5cfca4[_0x4f7883(0x320)]))!=null?_0x1b3a21:{},{ls:_0x319d81,pbk:_0x1db9c5}=_0x2794a4;if(!_0x20566e(_0x319d81,_0x1db9c5))throw new _0x181393[(_0x4f7883(0x3ee))](_0x4f7883(0x352));const _0x19faa9=_0x3f5ab0(_0x3d1cb7,_0x319d81,_0x1db9c5)[_0x4f7883(0x1f1)];if(_0x53f90c>=_0x19faa9)throw new _0x181393[(_0x4f7883(0x3ee))]('limit\x20pivot');}if(!_0x43342a||!_0x2bd584)return!0x1;const {collection:_0x112599,updateDataFieldList:_0x23e305}=_0x151792[_0x4f7883(0x47a)](_0x38a6c2,_0x43342a,_0x45faf5,_0x520a54);_0x151792['refreshData'](_0x112599,_0x23e305,_0x45faf5);const _0x1bbb08=new _0x1861d8['PivotTable'](_0x112599,void 0x0,_0x38a6c2);_0x1bbb08['fromJSON'](_0x2bd584);const _0xda7b36=JSON[_0x4f7883(0x2f5)](JSON['stringify'](_0x43ccf2));return _0x151792[_0x4f7883(0x256)](_0x302e08,_0x2bb5cd,_0x38a6c2,_0x1bbb08,_0xda7b36),_0x151792[_0x4f7883(0x440)]({'unitId':_0x302e08,'subUnitId':_0x2bb5cd,'token':_0x38a6c2,'type':_0xefe34[_0x4f7883(0x1cc)],'pivotConfig':_0xda7b36}),!0x0;}},_0x267342={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x24a),async 'handler'(_0x35752c,_0x3a024c){const _0xb80336=_0x4bf7c9;if(!_0x3a024c)return!0x1;const {sourceDataInfo:_0x7b7237,pivotTableConfig:_0x27db73}=_0x3a024c;if(!_0x7b7237||!_0x27db73)return!0x1;const {unitId:_0x4f4da9,subUnitId:_0x3b12c7,range:_0x56e4df}=_0x7b7237,_0x5dcbdb=_0x35752c[_0xb80336(0x49b)](_0x181393['IUniverInstanceService']),_0x46872d=_0x35752c[_0xb80336(0x49b)](_0x1c1f68[_0xb80336(0x356)]),_0xd8a83c=_0x35752c[_0xb80336(0x49b)](_0x181393['LocaleService']),_0x45456e=_0x35752c[_0xb80336(0x49b)](_0x181393[_0xb80336(0x4a0)]),_0x3f15db=_0x5dcbdb[_0xb80336(0x267)](_0x4f4da9);if(!_0x3f15db)return!0x1;const _0xf8d3e0=_0x3f15db[_0xb80336(0x280)](_0x3b12c7);if(!_0xf8d3e0)return!0x1;const _0x5ec435=_0x1861d8['generateHexNumber'](0x8),_0x17c648=_0x56e4df||{'startRow':0x0,'startColumn':0x0,'endRow':_0xf8d3e0[_0xb80336(0x2ba)]()-0x1,'endColumn':_0xf8d3e0[_0xb80336(0x400)]()-0x1};_0x17c648['rangeType']=_0x181393[_0xb80336(0x4a2)][_0xb80336(0x1d6)];const _0x7fd178=(await _0x46872d[_0xb80336(0x26e)]({'unitId':_0x4f4da9,'subUnitId':_0x3b12c7,'pivotTableId':_0x5ec435,'params':{'type':_0x40af19[_0xb80336(0x204)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4f4da9,'sheetName':_0xf8d3e0[_0xb80336(0x29e)](),'subUnitId':_0x3b12c7,'range':_0x17c648},'pivotTableId':_0x5ec435,'pivotTableIndexConfig':_0x27db73}}}))['result'][_0xb80336(0x39f)];if(!_0x7fd178)return!0x1;const {isEmpty:_0x51d8ff,fieldsConfig:_0x28d96b,collectionConfig:_0x46f0f8,changesets:_0x5e6660}=_0x7fd178,_0x38c6d5=_0x3f15db['getSheets']()[_0xb80336(0x390)],_0x102168=_0x181393['mergeWorksheetSnapshotWithDefault']({'rowCount':_0xf8d3e0[_0xb80336(0x2ba)]()-0x1,'columnCount':_0xf8d3e0[_0xb80336(0x400)]()-0x1});_0x102168['id']=_0x181393[_0xb80336(0x2ff)](),_0x102168[_0xb80336(0x1dc)]=_0x3f15db['generateNewSheetName'](''+_0xd8a83c['t']('sheets.tabs.sheet'));const _0x4c3a40={'index':_0x38c6d5,'sheet':_0x102168,'unitId':_0x4f4da9},{redos:_0x167027}=_0x31253c(_0x45456e,{'pivotTableId':_0x5ec435,'unitId':_0x4f4da9,'subUnitId':_0x102168['id']},_0x5e6660),_0x34ef4b=[{'id':_0x3e3843[_0xb80336(0x1cf)]['id'],'params':_0x4c3a40},{'id':_0x429471['id'],'params':{'unitId':_0x4f4da9,'subUnitId':_0x102168['id'],'pivotTableId':_0x5ec435,'pivotTableConfig':{'isEmpty':_0x51d8ff,'fieldsConfig':_0x28d96b,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4f4da9,'subUnitId':_0x102168['id']},'sourceRangeInfo':{'subUnitId':_0x3b12c7,'unitId':_0x4f4da9,'range':_0x17c648,'sheetName':_0xf8d3e0[_0xb80336(0x29e)]()}},'collectionConfig':_0x46f0f8}},..._0x167027];return _0x181393[_0xb80336(0x310)](_0x34ef4b,_0x45456e),!0x0;}},_0x270d6c={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x13a1eb,_0x1338ac){const _0xbcc0d0=_0x4bf7c9;if(!_0x1338ac)return!0x1;if(!!_0x13a1eb['get'](_0x181393['IConfigService'])[_0xbcc0d0(0x4ca)](_0x19ee91))return!0x0;const {pivotTableId:_0x24073c,unitId:_0x5e257e,subUnitId:_0x4f2799}=_0x1338ac,_0x4c1ce3=_0x13a1eb[_0xbcc0d0(0x49b)](_0x1c1f68[_0xbcc0d0(0x1d5)]);return _0x4c1ce3[_0xbcc0d0(0x439)](_0x5e257e,_0x4f2799,_0x24073c)?(_0x4c1ce3[_0xbcc0d0(0x440)]({'unitId':_0x5e257e,'subUnitId':_0x4f2799,'token':_0x24073c,'type':_0xefe34[_0xbcc0d0(0x434)]}),_0x4c1ce3[_0xbcc0d0(0x32f)](_0x5e257e,_0x4f2799,_0x24073c),!0x0):!0x1;}},_0x2a9d5a={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x38d),async 'handler'(_0x263931,_0x1d01b1){const _0x3d9f6a=_0x4bf7c9;var _0x38098f,_0x576b4f;const _0x365322=_0x263931['get'](_0x181393['ICommandService']),_0x52dce3=_0x263931[_0x3d9f6a(0x49b)](_0x181393['IUniverInstanceService']),_0x582cd0=_0x263931['get'](_0x181393[_0x3d9f6a(0x2f1)]),_0x19b0d9=_0x263931[_0x3d9f6a(0x49b)](_0x1c1f68[_0x3d9f6a(0x356)]),_0x7eff4b=_0x263931[_0x3d9f6a(0x49b)](_0x181393[_0x3d9f6a(0x3e2)]),_0x4e0e2b=_0x263931[_0x3d9f6a(0x49b)](_0x1c1f68['SheetsPivotTableConfigModel']),_0x21c653=_0x263931[_0x3d9f6a(0x49b)](_0x181393[_0x3d9f6a(0x1c0)]);if(!_0x1d01b1)return!0x1;const {pivotTableConfig:_0x317898,positionType:_0x108541}=_0x1d01b1,{targetCellInfo:_0x33669a,sourceRangeInfo:_0x44f5bc}=_0x317898,{unitId:_0x22de33,subUnitId:_0x9e934b}=_0x33669a,_0x514a0e=_0x52dce3[_0x3d9f6a(0x267)](_0x22de33);if(!_0x514a0e)return!0x1;let _0x3c2937=0x0;_0x514a0e[_0x3d9f6a(0x368)]()[_0x3d9f6a(0x1e7)](_0xc903e6=>{const _0x947740=_0x3d9f6a;var _0x3fdd02,_0x19b120;_0x3c2937+=(_0x19b120=(_0x3fdd02=_0x4e0e2b['getSubUnitPivotConfigs'](_0x22de33,_0xc903e6[_0x947740(0x1b5)]()))==null?void 0x0:_0x3fdd02[_0x947740(0x379)])!=null?_0x19b120:0x0;});const _0xe89630=(_0x38098f=_0x21c653[_0x3d9f6a(0x4ca)](_0x5cfca4[_0x3d9f6a(0x320)]))!=null?_0x38098f:{},{ls:_0x451665,pbk:_0x19b062}=_0xe89630;if(!_0x20566e(_0x451665,_0x19b062))return!0x1;const _0x2fce34=_0x3f5ab0(_0x3d1cb7,_0x451665,_0x19b062)['count'];if(_0x3c2937>=_0x2fce34)return!0x1;const _0x46ec4a=_0x1d01b1['pivotTableId']||_0x1861d8[_0x3d9f6a(0x2d1)](0x8),_0x30aec0=(await _0x19b0d9['getPivotDisplayConfig']({'unitId':_0x22de33,'subUnitId':_0x9e934b,'pivotTableId':_0x46ec4a,'params':{'type':_0x40af19[_0x3d9f6a(0x47d)],'addPivotTable':{'sourceRangeInfo':_0x44f5bc,'pivotTableId':_0x46ec4a}}}))[_0x3d9f6a(0x37d)][_0x3d9f6a(0x256)];if(!_0x30aec0)return!0x1;const {view:_0x16696c,isEmpty:_0x3f6da0,fieldsConfig:_0x56beec,collectionConfig:_0x2ce7a2}=_0x30aec0,_0x4131a4=[],_0x407391=[];if(_0x108541===_0x34542f[_0x3d9f6a(0x1c9)]){const _0x28d4f4=_0x514a0e[_0x3d9f6a(0x368)]()[_0x3d9f6a(0x390)],_0xd511a6=_0x181393[_0x3d9f6a(0x4aa)]({});_0xd511a6['id']=_0x317898[_0x3d9f6a(0x3e0)][_0x3d9f6a(0x3c1)],_0xd511a6[_0x3d9f6a(0x1dc)]=(_0x576b4f=_0x317898[_0x3d9f6a(0x3e0)][_0x3d9f6a(0x1c7)])!=null?_0x576b4f:_0x514a0e[_0x3d9f6a(0x35e)](''+_0x582cd0['t'](_0x3d9f6a(0x469)));const _0x18b750={'index':_0x28d4f4,'sheet':_0xd511a6,'unitId':_0x22de33},_0x541496=_0x3e3843['InsertSheetUndoMutationFactory'](_0x263931,_0x18b750);_0x4131a4[_0x3d9f6a(0x1fc)]({'id':_0x3e3843[_0x3d9f6a(0x49a)]['id'],'params':_0x541496}),_0x407391[_0x3d9f6a(0x1fc)]({'id':_0x3e3843[_0x3d9f6a(0x2c0)]['id'],'params':_0x18b750});}else{if(!_0x514a0e[_0x3d9f6a(0x280)](_0x9e934b))return!0x1;const _0x567120=_0x719981(_0x263931,new _0x1861d8[(_0x3d9f6a(0x1d9))](),_0x33669a,!0x0);_0x407391['push'](..._0x567120[_0x3d9f6a(0x4a1)]),_0x4131a4[_0x3d9f6a(0x1fc)](..._0x567120['undos']);const _0x17b2d0={'cellInfo':_0x33669a,'view':_0x16696c,'isEmpty':_0x3f6da0};if(!await _0x263931[_0x3d9f6a(0x49b)](_0x1c1f68[_0x3d9f6a(0x44c)])['asyncInterceptor'][_0x3d9f6a(0x43c)](_0x3c97f2)(!0x0,_0x17b2d0))return!0x1;const _0x1e8499=_0x34b351(_0x263931,_0x17b2d0);_0x407391[_0x3d9f6a(0x1fc)](..._0x1e8499['redos']),_0x4131a4['push'](..._0x1e8499[_0x3d9f6a(0x37c)]);}return _0x407391[_0x3d9f6a(0x1fc)]({'id':_0x429471['id'],'params':{'unitId':_0x33669a[_0x3d9f6a(0x3d3)],'subUnitId':_0x33669a[_0x3d9f6a(0x3c1)],'pivotTableId':_0x46ec4a,'pivotTableConfig':{'targetCellInfo':_0x33669a,'sourceRangeInfo':_0x44f5bc,'fieldsConfig':_0x56beec},'collectionConfig':_0x2ce7a2}}),_0x4131a4['unshift']({'id':_0x270d6c['id'],'params':{'unitId':_0x22de33,'subUnitId':_0x9e934b,'pivotTableId':_0x46ec4a}}),_0x181393[_0x3d9f6a(0x310)](_0x407391,_0x365322)&&_0x7eff4b[_0x3d9f6a(0x2bf)]({'unitID':_0x22de33,'undoMutations':_0x4131a4,'redoMutations':_0x407391}),!0x0;}},_0x4b822b={'type':_0x181393['CommandType'][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x3ff),async 'handler'(_0x22dda5,_0x3c4d5d){const _0x24fe0e=_0x4bf7c9;if(!_0x3c4d5d)return!0x1;const _0x52654b=_0x22dda5[_0x24fe0e(0x49b)](_0x181393[_0x24fe0e(0x4a0)]),_0x35b044=_0x22dda5[_0x24fe0e(0x49b)](_0x1c1f68[_0x24fe0e(0x356)]),_0x4cac65=_0x22dda5[_0x24fe0e(0x49b)](_0x181393['IUndoRedoService']),{pivotTableId:_0x311e5a,fieldId:_0x5c8dc0,area:_0x5c58f0,index:_0x196452,unitId:_0x35ee63,subUnitId:_0x5b79ff}=_0x3c4d5d,_0x1e2e2b=(await _0x35b044['getPivotDisplayConfig']({'unitId':_0x35ee63,'subUnitId':_0x5b79ff,'pivotTableId':_0x311e5a,'params':{'type':_0x40af19[_0x24fe0e(0x26a)],'movePivotField':{'fieldId':_0x5c8dc0,'area':_0x5c58f0,'index':_0x196452}}}))[_0x24fe0e(0x37d)][_0x24fe0e(0x423)];if(!_0x1e2e2b)return!0x1;const {changesets:_0x120644,view:_0x2f8965,isEmpty:_0x312709,pivotTableConfig:_0x57c7bf}=_0x1e2e2b,_0xe08ca8=_0x57c7bf['targetCellInfo'],_0x3f5776=new _0x1861d8[(_0x24fe0e(0x1d9))]();_0x3f5776[_0x24fe0e(0x4c3)](_0x2f8965);const _0x1be76e={'cellInfo':_0xe08ca8,'view':_0x3f5776,'isEmpty':_0x312709};if(!await _0x22dda5['get'](_0x1c1f68[_0x24fe0e(0x44c)])[_0x24fe0e(0x236)][_0x24fe0e(0x43c)](_0x3c97f2)(!0x0,_0x1be76e))return!0x1;const _0x3c7a60=_0x719981(_0x22dda5,_0x3f5776,_0xe08ca8,_0x312709),_0x4446f6=_0x34b351(_0x22dda5,_0x1be76e),{redos:_0x2eaee3,undos:_0x242486}=_0x31253c(_0x52654b,{'pivotTableId':_0x311e5a,'unitId':_0x35ee63,'subUnitId':_0x5b79ff},_0x120644);return _0x181393[_0x24fe0e(0x310)]([..._0x3c7a60['redos'],..._0x4446f6[_0x24fe0e(0x4a1)],..._0x2eaee3],_0x52654b),_0x4cac65[_0x24fe0e(0x2bf)]({'unitID':_0x35ee63,'redoMutations':[..._0x3c7a60[_0x24fe0e(0x4a1)],..._0x4446f6['redos'],..._0x2eaee3],'undoMutations':[..._0x3c7a60[_0x24fe0e(0x37c)],..._0x4446f6[_0x24fe0e(0x37c)],..._0x242486]}),!0x0;}},_0x580c4c={'type':_0x181393['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x399f93,_0x1f69d2){const _0x3db045=_0x4bf7c9;if(!_0x1f69d2)return!0x1;if(!!_0x399f93[_0x3db045(0x49b)](_0x181393[_0x3db045(0x1c0)])[_0x3db045(0x4ca)](_0x19ee91))return!0x0;const {pivotTableId:_0x2d14e6,targetCellPosition:_0x503ca6,unitId:_0x5921eb,subUnitId:_0x53ba69}=_0x1f69d2,_0x6f2dd7=_0x399f93['get'](_0x1c1f68['SheetsPivotDataSourceModel']);if(!_0x6f2dd7['getPivotTableInstance'](_0x1f69d2['pivotTableId']))return!0x1;const _0x48a0a5=_0x6f2dd7['getTargetByPivotId'](_0x2d14e6);if(!_0x48a0a5)return!0x1;const _0x136ff2=_0x6f2dd7[_0x3db045(0x495)](_0x48a0a5[_0x3db045(0x3d3)],_0x1f69d2[_0x3db045(0x425)]);if(!_0x136ff2)return!0x1;const _0xef2c37=_0x6f2dd7[_0x3db045(0x439)](_0x48a0a5[_0x3db045(0x3d3)],_0x48a0a5['subUnitId'],_0x2d14e6);if(!_0xef2c37)return!0x1;const _0x3d0e69=_0x181393[_0x3db045(0x1d8)][_0x3db045(0x457)](_0xef2c37);_0x3d0e69[_0x3db045(0x3e0)]={'unitId':_0x5921eb,'subUnitId':_0x53ba69,'row':_0x503ca6[_0x3db045(0x38c)],'col':_0x503ca6[_0x3db045(0x394)]};const _0x2ebe3f=_0x136ff2['toJSON']();if(_0x48a0a5['subUnitId']===_0x53ba69&&_0x48a0a5['unitId']===_0x5921eb)_0x6f2dd7[_0x3db045(0x480)](_0x5921eb,_0x53ba69,_0x2d14e6,_0x3d0e69),_0x6f2dd7[_0x3db045(0x440)]({'unitId':_0x5921eb,'subUnitId':_0x53ba69,'token':_0x2d14e6,'type':_0xefe34['Set']});else{_0x6f2dd7[_0x3db045(0x440)]({'unitId':_0x48a0a5[_0x3db045(0x3d3)],'subUnitId':_0x48a0a5[_0x3db045(0x3c1)],'token':_0x2d14e6,'type':_0xefe34[_0x3db045(0x434)]}),_0x6f2dd7[_0x3db045(0x32f)](_0x48a0a5['unitId'],_0x48a0a5[_0x3db045(0x3c1)],_0x2d14e6);const _0x5d864f=_0x6f2dd7[_0x3db045(0x47a)](_0x2d14e6,_0x2ebe3f,_0xef2c37[_0x3db045(0x3f3)],_0x3d0e69[_0x3db045(0x3e0)]),_0x168a32=new _0x1861d8[(_0x3db045(0x3fc))](_0x5d864f[_0x3db045(0x452)],void 0x0,_0x2d14e6);_0x168a32[_0x3db045(0x364)](_0x3d0e69['fieldsConfig']),_0x6f2dd7['addPivotTable'](_0x5921eb,_0x53ba69,_0x2d14e6,_0x168a32,_0x3d0e69),_0x6f2dd7[_0x3db045(0x440)]({'unitId':_0x5921eb,'subUnitId':_0x53ba69,'token':_0x2d14e6,'type':_0xefe34[_0x3db045(0x1cc)],'pivotConfig':_0x3d0e69});}return!0x0;}},_0x3f17e9={'type':_0x181393['CommandType'][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x206),'handler':(_0x394355,_0x32aea2)=>{const _0x460aab=_0x4bf7c9,_0x2512c6=_0x394355['get'](_0x181393['ICommandService']),_0xb41ad7=_0x394355['get'](_0x181393['IUndoRedoService']),_0x4cffe3=_0x394355[_0x460aab(0x49b)](_0x1c1f68[_0x460aab(0x4c8)]),_0x1a1fc5=_0x394355[_0x460aab(0x49b)](_0x181393[_0x460aab(0x271)]);if(!_0x32aea2)return!0x1;const _0x399cbf=_0x3e3843[_0x460aab(0x36e)](_0x1a1fc5);if(!_0x399cbf)return!0x1;const {unitId:_0x3b9459,subUnitId:_0x4d00e2,workbook:_0x539dd9}=_0x399cbf,_0xe99590=_0x4cffe3[_0x460aab(0x439)](_0x32aea2[_0x460aab(0x31c)][_0x460aab(0x3d3)],_0x32aea2[_0x460aab(0x31c)][_0x460aab(0x3c1)],_0x32aea2['pivotTableId']);if(!_0xe99590)return!0x1;const _0xf79461=_0x539dd9[_0x460aab(0x280)](_0x32aea2['targetCellInfo'][_0x460aab(0x3c1)]);if(!_0xf79461)throw new Error(_0x460aab(0x2df));const _0x144f77=_0xf79461['getRowCount'](),_0x1944e6=_0xf79461['getColumnCount']();if(_0x32aea2[_0x460aab(0x3e0)][_0x460aab(0x38c)]>_0x144f77||_0x32aea2['targetCellInfo'][_0x460aab(0x394)]>_0x1944e6)throw new Error(_0x460aab(0x2c7));const _0x327b23=[{'id':_0x580c4c['id'],'params':{'unitId':_0x3b9459,'subUnitId':_0x32aea2['targetCellInfo'][_0x460aab(0x3c1)],'pivotTableId':_0x32aea2[_0x460aab(0x425)],'targetCellPosition':{'row':_0x32aea2[_0x460aab(0x3e0)]['row'],'col':_0x32aea2[_0x460aab(0x3e0)][_0x460aab(0x394)]}}}],_0x1060aa=[{'id':_0x580c4c['id'],'params':{'unitId':_0x3b9459,'subUnitId':_0x4d00e2,'pivotTableId':_0x32aea2[_0x460aab(0x425)],'targetCellPosition':{'row':_0xe99590[_0x460aab(0x3e0)]['row'],'col':_0xe99590['targetCellInfo'][_0x460aab(0x394)]}}}];return _0x181393[_0x460aab(0x310)](_0x327b23,_0x2512c6)&&_0xb41ad7['pushUndoRedo']({'unitID':_0x3b9459,'undoMutations':_0x1060aa,'redoMutations':_0x327b23}),!0x0;}},_0x279dcc={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x367),async 'handler'(_0x250003,_0x4260c6){const _0x237ccc=_0x4bf7c9;var _0x4c32c5;if(!_0x4260c6)return!0x1;const _0xa0247a=_0x250003[_0x237ccc(0x49b)](_0x181393[_0x237ccc(0x271)]),_0x500e38=_0x3e3843[_0x237ccc(0x36e)](_0xa0247a);if(!_0x500e38)return!0x1;const {unitId:_0x1ad3a1,subUnitId:_0x1e8b9c,workbook:_0x5ba696}=_0x500e38,{row:_0x20d093,col:_0x506012}=_0x4260c6,_0x6dfebf=_0x250003[_0x237ccc(0x49b)](_0x1c1f68[_0x237ccc(0x46b)]),_0x2fbfdf=_0x6dfebf['getPivotTableIdByCell'](_0x1ad3a1,_0x1e8b9c,_0x20d093,_0x506012);if(!_0x2fbfdf)return!0x1;const _0x10063e=(_0x4c32c5=_0x6dfebf['getPivotItemRenderInfoCache'](_0x1ad3a1,_0x1e8b9c,_0x2fbfdf))==null?void 0x0:_0x4c32c5[_0x237ccc(0x34f)];if(!_0x10063e)return!0x1;const _0x1bc052=_0x250003[_0x237ccc(0x49b)](_0x1c1f68[_0x237ccc(0x4c8)])[_0x237ccc(0x439)](_0x1ad3a1,_0x1e8b9c,_0x2fbfdf);if(!_0x1bc052)return!0x1;const {rowInfo:_0x120684,colInfo:_0x198c4a}=_0x10063e,_0x33d604=_0x120684[_0x20d093][_0x237ccc(0x37e)],_0x394efc=_0x198c4a[_0x506012][_0x237ccc(0x37e)],_0x19601a=_0x120684[_0x20d093][_0x237ccc(0x20c)],_0x174c1e=_0x198c4a[_0x506012][_0x237ccc(0x20c)],_0x40216a=_0x33d604[_0x237ccc(0x36b)](_0x394efc),_0x55cf10=_0x1bc052[_0x237ccc(0x237)][_0x237ccc(0x2cc)]['slice'](0x0,_0x19601a),_0x5e1584=_0x1bc052['fieldsConfig'][_0x237ccc(0x2b0)][_0x237ccc(0x329)](0x0,_0x174c1e),_0x462edb=_0x55cf10[_0x237ccc(0x36b)](_0x5e1584),_0x5a6990=_0x40216a[_0x237ccc(0x4b2)]((_0x56007c,_0x241ab5)=>[_0x56007c,_0x462edb[_0x241ab5]]),_0x3dfa77=(await _0x250003[_0x237ccc(0x49b)](_0x1c1f68[_0x237ccc(0x356)])[_0x237ccc(0x26e)]({'unitId':_0x1ad3a1,'subUnitId':_0x1e8b9c,'pivotTableId':_0x2fbfdf,'params':{'type':_0x40af19[_0x237ccc(0x4a6)],'drillDown':{'tuple':_0x5a6990}}}))[_0x237ccc(0x37d)][_0x237ccc(0x1b6)];if(!_0x3dfa77)return!0x1;const {indexes:_0x5f3f34,range:_0x3c7112,sourceUnitId:_0x20efca,sourceSubUnitId:_0x15fcab,formatMap:_0x1a013d}=_0x3dfa77,{startRow:_0x6a58b9,endRow:_0x437aa5,startColumn:_0xe9d71a,endColumn:_0x5078df}=_0x3c7112,_0x174cdd=new _0x181393[(_0x237ccc(0x219))](),_0x41933b=_0x437aa5-_0x6a58b9,_0xf9c021=_0x5078df-_0xe9d71a,_0x4130a1={},_0x4c9c1d=_0x3e3843['getSheetCommandTarget'](_0xa0247a,{'unitId':_0x20efca,'subUnitId':_0x15fcab});if(!_0x4c9c1d)return!0x1;const _0x15a067=_0x309be9[_0x237ccc(0x315)],_0x4f144c=_0x309be9[_0x237ccc(0x2fc)],_0x31b080=_0x309be9[_0x237ccc(0x2fc)],_0x4a2df4=_0x5ba696[_0x237ccc(0x1e8)]()['setValue'](_0x15a067),_0x602d0=_0x5ba696[_0x237ccc(0x1e8)]()['setValue'](_0x4f144c),_0x2d3819=_0x5ba696['getStyles']()[_0x237ccc(0x242)](_0x31b080),{worksheet:_0x2c0d2f}=_0x4c9c1d;let _0x2eae1b=0x0;const _0x55c55d=0x1;_0x5f3f34[_0x237ccc(0x1e7)](_0x5390d4=>{const _0x455b49=_0x237ccc;for(let _0xb8363b=0x0;_0xb8363b<=_0x5078df-_0xe9d71a;_0xb8363b++)_0x174cdd[_0x455b49(0x242)](_0x2eae1b,_0xb8363b,_0x2c0d2f['getCellRaw'](_0x5390d4+_0x3c7112['startRow']+_0x55c55d,_0xb8363b));_0x2eae1b++;});for(let _0x21ef61=_0xe9d71a;_0x21ef61<=_0x5078df;_0x21ef61++){const _0x1f0aec=_0x2c0d2f['getCellRaw'](_0x6a58b9,_0x21ef61);_0x4130a1[_0x6a58b9]||(_0x4130a1[_0x6a58b9]={}),_0x4130a1[_0x6a58b9][_0x21ef61]={..._0x1f0aec,'s':_0x4a2df4};}let _0x5b0271=0x1;const _0x4466d5={},_0x5dc888={};_0x174cdd[_0x237ccc(0x3a3)]((_0x4ee279,_0x27fbd5)=>{const _0x5ab8b6=_0x237ccc;_0x27fbd5[_0x5ab8b6(0x1e7)](_0x331d12=>{const _0x46aae3=_0x5ab8b6,_0x170328=_0x174cdd[_0x46aae3(0x354)](_0x4ee279,_0x331d12);if(_0x4130a1[_0x5b0271]||(_0x4130a1[_0x5b0271]={}),_0x4130a1[_0x5b0271][_0x331d12]={..._0x170328,'s':_0x5b0271%0x2===0x0?_0x2d3819:_0x602d0},_0x1a013d[_0x331d12]&&_0x4ee279>=0x0){const _0x2dbfe2=_0x5b0271%0x2===0x0;let _0x4d748e=_0x2dbfe2?_0x5dc888[_0x331d12]:_0x4466d5[_0x331d12];_0x4d748e||(_0x4d748e=_0x5ba696['getStyles']()['setValue']({..._0x2dbfe2?_0x31b080:_0x4f144c,'n':{'pattern':_0x1a013d[_0x331d12]}}),_0x2dbfe2?_0x5dc888[_0x331d12]=_0x4d748e:_0x4466d5[_0x331d12]=_0x4d748e),_0x4130a1[_0x5b0271][_0x331d12]['s']=_0x4d748e;}}),_0x5b0271++;});const _0x1d78b5=new _0x181393[(_0x237ccc(0x219))](_0x4130a1),_0x3b928d={};_0x1d78b5[_0x237ccc(0x20f)]((_0x324c25,_0x52d6c7,_0x176e2d)=>{_0x3b928d[_0x324c25]||(_0x3b928d[_0x324c25]={}),_0x3b928d[_0x324c25][_0x52d6c7]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x29a43a=[],_0x525be8=[],_0x26c686=_0x5ba696[_0x237ccc(0x368)]()[_0x237ccc(0x390)],_0x51d3b2=_0x181393[_0x237ccc(0x4aa)]({'rowCount':Math[_0x237ccc(0x41f)](_0x181393[_0x237ccc(0x2cd)],_0x41933b+0xa),'columnCount':Math['max'](_0x181393[_0x237ccc(0x48f)],_0xf9c021+0x5)}),_0x3d4f79=_0x250003[_0x237ccc(0x49b)](_0x181393[_0x237ccc(0x2f1)]);_0x51d3b2['id']=_0x181393[_0x237ccc(0x2ff)](),_0x51d3b2[_0x237ccc(0x1dc)]=_0x5ba696['generateNewSheetName'](''+_0x3d4f79['t']('sheets.tabs.sheet'));const _0x182aad={'index':_0x26c686,'sheet':_0x51d3b2,'unitId':_0x1ad3a1},_0x46cefe=_0x3e3843[_0x237ccc(0x269)](_0x250003,_0x182aad);_0x525be8[_0x237ccc(0x1fc)]({'id':_0x3e3843[_0x237ccc(0x2c0)]['id'],'params':_0x182aad}),_0x29a43a[_0x237ccc(0x1fc)]({'id':_0x3e3843['RemoveSheetMutation']['id'],'params':_0x46cefe}),_0x525be8[_0x237ccc(0x1fc)]({'id':_0x3e3843[_0x237ccc(0x43e)]['id'],'params':{'unitId':_0x1ad3a1,'subUnitId':_0x51d3b2['id'],'cellValue':_0x4130a1}}),_0x29a43a['unshift']({'id':_0x3e3843[_0x237ccc(0x43e)]['id'],'params':{'unitId':_0x1ad3a1,'subUnitId':_0x51d3b2['id'],'cellValue':_0x3b928d}});const _0x1d9bdb={'startRow':0x0,'startColumn':0x0,'endRow':_0x5b0271-0x1,'endColumn':_0x5078df};_0x525be8[_0x237ccc(0x1fc)]({'id':_0x579f41[_0x237ccc(0x339)]['id'],'params':{'unitId':_0x1ad3a1,'subUnitId':_0x51d3b2['id'],'range':_0x1d9bdb}}),_0x29a43a['unshift']({'id':_0x579f41[_0x237ccc(0x31a)]['id'],'params':{'unitId':_0x1ad3a1,'subUnitId':_0x51d3b2['id']}});const _0xfeafe8=_0x250003[_0x237ccc(0x49b)](_0x181393['ICommandService']);return _0x181393[_0x237ccc(0x310)](_0x525be8,_0xfeafe8)&&_0x250003[_0x237ccc(0x49b)](_0x181393[_0x237ccc(0x3e2)])[_0x237ccc(0x2bf)]({'unitID':_0x1ad3a1,'undoMutations':_0x29a43a,'redoMutations':_0x525be8}),!0x0;}},_0x4118d0={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x30d),async 'handler'(_0x5841a2,_0x1fb5a4){const _0x1e444d=_0x4bf7c9;if(!_0x1fb5a4)return!0x1;const _0x2eae06=_0x5841a2[_0x1e444d(0x49b)](_0x181393[_0x1e444d(0x4a0)]),_0x1b8d7f=_0x5841a2[_0x1e444d(0x49b)](_0x1c1f68[_0x1e444d(0x356)]),_0x4f7a2f=_0x5841a2[_0x1e444d(0x49b)](_0x181393[_0x1e444d(0x3e2)]),{pivotTableId:_0x5bdb7a,fieldIds:_0x1f92cb,unitId:_0x2bda87,subUnitId:_0x38c2ae}=_0x1fb5a4,_0x46260d=(await _0x1b8d7f[_0x1e444d(0x26e)]({'unitId':_0x2bda87,'subUnitId':_0x38c2ae,'pivotTableId':_0x5bdb7a,'params':{'type':_0x40af19['RemovePivotField'],'removePivotField':{'fieldIds':_0x1f92cb}}}))['result'][_0x1e444d(0x2f3)];if(!_0x46260d)return!0x1;const {view:_0x3262f1,changesets:_0x2b52a6,isEmpty:_0xe055,pivotTableConfig:_0x4619a4}=_0x46260d,_0x4a1d38=_0x4619a4[_0x1e444d(0x3e0)],_0x88994a=new _0x1861d8[(_0x1e444d(0x1d9))]();_0x88994a[_0x1e444d(0x4c3)](_0x3262f1);const _0x1ba1c4={'cellInfo':_0x4a1d38,'view':_0x88994a,'isEmpty':_0xe055};if(!await _0x5841a2[_0x1e444d(0x49b)](_0x1c1f68[_0x1e444d(0x44c)])[_0x1e444d(0x236)][_0x1e444d(0x43c)](_0x3c97f2)(!0x0,_0x1ba1c4))return!0x1;const _0x3e35ea=_0x719981(_0x5841a2,_0x88994a,_0x4a1d38,_0xe055),_0x29e6a7=_0x34b351(_0x5841a2,_0x1ba1c4),{redos:_0x3588f4,undos:_0x41cf58}=_0x31253c(_0x2eae06,{'pivotTableId':_0x5bdb7a,'unitId':_0x2bda87,'subUnitId':_0x38c2ae},_0x2b52a6);return _0x181393[_0x1e444d(0x310)]([..._0x3e35ea[_0x1e444d(0x4a1)],..._0x29e6a7['redos'],..._0x3588f4],_0x2eae06),_0x4f7a2f[_0x1e444d(0x2bf)]({'unitID':_0x2bda87,'redoMutations':[..._0x3e35ea[_0x1e444d(0x4a1)],..._0x29e6a7[_0x1e444d(0x4a1)],..._0x3588f4],'undoMutations':[..._0x3e35ea[_0x1e444d(0x37c)],..._0x29e6a7['undos'],..._0x41cf58]}),!0x0;}},_0x35953b={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x40f),async 'handler'(_0x54c305,_0x29d94a){const _0x5b97b6=_0x4bf7c9;if(!_0x29d94a)return!0x1;const _0x5c6e46=_0x54c305[_0x5b97b6(0x49b)](_0x181393[_0x5b97b6(0x4a0)]),_0x13c5d1=_0x54c305[_0x5b97b6(0x49b)](_0x181393[_0x5b97b6(0x3e2)]),_0x50830a=_0x54c305[_0x5b97b6(0x49b)](_0x1c1f68[_0x5b97b6(0x356)]),{resetArea:_0x3acaa7,pivotTableId:_0x276190,unitId:_0x46cada,subUnitId:_0x371283}=_0x29d94a,_0x42098c=(await _0x50830a[_0x5b97b6(0x26e)]({'unitId':_0x46cada,'subUnitId':_0x371283,'pivotTableId':_0x276190,'params':{'type':_0x40af19[_0x5b97b6(0x3b8)],'resetPivotTable':{'pivotTableId':_0x276190,'resetArea':_0x3acaa7}}}))[_0x5b97b6(0x37d)][_0x5b97b6(0x44a)];if(!_0x42098c)return!0x1;const {changesets:_0x1012e5}=_0x42098c,{redos:_0x477208,undos:_0x4c2380}=_0x31253c(_0x5c6e46,{'pivotTableId':_0x276190,'unitId':_0x46cada,'subUnitId':_0x371283},_0x1012e5);return _0x181393[_0x5b97b6(0x310)](_0x477208,_0x5c6e46),_0x13c5d1[_0x5b97b6(0x2bf)]({'unitID':_0x46cada,'redoMutations':_0x477208,'undoMutations':_0x4c2380}),!0x0;}},_0x309d9e={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x44b),async 'handler'(_0x18b8db,_0x146167){const _0x4dbff2=_0x4bf7c9,_0x59c991=_0x18b8db['get'](_0x181393[_0x4dbff2(0x4a0)]),_0x2701c7=_0x18b8db['get'](_0x1c1f68[_0x4dbff2(0x356)]),_0x501c6e=_0x18b8db[_0x4dbff2(0x49b)](_0x1c1f68['SheetsPivotTableAdaptorModel']),_0xcfa540=_0x18b8db[_0x4dbff2(0x49b)](_0x181393['IUniverInstanceService']),_0x13ac25=_0x18b8db[_0x4dbff2(0x49b)](_0x181393[_0x4dbff2(0x2f1)]),_0x446275=_0x18b8db[_0x4dbff2(0x49b)](_0x181393[_0x4dbff2(0x3e2)]);if(!_0x146167)return!0x1;const {unitId:_0x363fc0,subUnitId:_0x1a9d87,row:_0x424de8,col:_0xcbe1e1,collapse:_0x1d8933}=_0x146167,_0x466db5=_0xcfa540[_0x4dbff2(0x267)](_0x363fc0);if(!_0x466db5||!_0x466db5[_0x4dbff2(0x280)](_0x1a9d87))return!0x1;const _0x1a49a9=_0x501c6e[_0x4dbff2(0x2d6)](_0x363fc0,_0x1a9d87,_0x424de8,_0xcbe1e1);if(!_0x1a49a9)return!0x1;const _0x4c6587=_0x501c6e['getPivotItemRenderInfoCache'](_0x363fc0,_0x1a9d87,_0x1a49a9);if(!_0x4c6587)return!0x1;const _0x100f93=_0x181393[_0x4dbff2(0x432)](_0x424de8,_0xcbe1e1),{rangesInfo:_0x23cf65,areaInfo:_0x2fd22d,headerMap:_0x33fdd8}=_0x4c6587;if(!_0x23cf65||!_0x2fd22d||!_0x33fdd8)return!0x1;const _0x440cda=Object[_0x4dbff2(0x34e)](_0x23cf65)[_0x4dbff2(0x2e3)](_0x35c077=>_0x23cf65[_0x35c077]['some'](_0x4c0cff=>_0x181393[_0x4dbff2(0x2ef)][_0x4dbff2(0x217)](_0x4c0cff,_0x100f93)));let _0x428078;_0x440cda==='rowRanges'?_0x428078=_0x33fdd8[_0x4dbff2(0x4cb)][_0xcbe1e1]:_0x440cda===_0x4dbff2(0x472)&&(_0x428078=_0x33fdd8[_0x4dbff2(0x444)][_0x424de8]);const _0x2a3b53=_0x428078==null?void 0x0:_0x428078[_0x4dbff2(0x492)],_0x13ecf8=_0x501c6e[_0x4dbff2(0x1ff)](_0x363fc0,_0x1a9d87,_0x424de8,_0xcbe1e1);let _0x1ba33a=_0x13ecf8==null?void 0x0:_0x13ecf8['v'];if(_0x1ba33a===_0x13ac25['t'](_0x4dbff2(0x240))&&(_0x1ba33a=_0x1861d8[_0x4dbff2(0x437)][_0x4dbff2(0x261)]),_0x1ba33a==null||!_0x1a49a9||!_0x2a3b53)return!0x1;const _0x1e31fb=await _0x2701c7[_0x4dbff2(0x26e)]({'unitId':_0x363fc0,'subUnitId':_0x1a9d87,'pivotTableId':_0x1a49a9,'params':{'type':_0x40af19[_0x4dbff2(0x245)],'setPivotCollapse':{'tableFieldId':_0x2a3b53,'collapse':_0x1d8933,'item':_0x1ba33a}}}),_0x116bc5=_0x1e31fb==null?void 0x0:_0x1e31fb['result']['setPivotCollapse'];if(!_0x116bc5)return!0x1;const {view:_0x2041fb,pivotTableConfig:_0x47d716,isEmpty:_0x420fd8,changesets:_0x5c79c9}=_0x116bc5,_0x5ea863=new _0x1861d8[(_0x4dbff2(0x1d9))]();_0x5ea863[_0x4dbff2(0x4c3)](_0x2041fb);const _0xfdcdf2=_0x47d716['targetCellInfo'],_0x57064={'cellInfo':_0xfdcdf2,'view':_0x5ea863,'isEmpty':_0x420fd8};if(!await _0x18b8db[_0x4dbff2(0x49b)](_0x1c1f68[_0x4dbff2(0x44c)])[_0x4dbff2(0x236)][_0x4dbff2(0x43c)](_0x3c97f2)(!0x0,_0x57064))return!0x1;const _0x246a41=_0x719981(_0x18b8db,_0x5ea863,_0xfdcdf2,_0x420fd8),_0x82fe20=_0x34b351(_0x18b8db,_0x57064),{redos:_0xe7dd95,undos:_0x4977d2}=_0x31253c(_0x59c991,{'pivotTableId':_0x1a49a9,'unitId':_0x363fc0,'subUnitId':_0x1a9d87},_0x5c79c9);return _0x181393[_0x4dbff2(0x310)]([..._0x246a41[_0x4dbff2(0x4a1)],..._0x82fe20[_0x4dbff2(0x4a1)],..._0xe7dd95],_0x59c991),_0x446275['pushUndoRedo']({'unitID':_0x363fc0,'redoMutations':[..._0x246a41[_0x4dbff2(0x4a1)],..._0x82fe20[_0x4dbff2(0x4a1)],..._0xe7dd95],'undoMutations':[..._0x246a41[_0x4dbff2(0x37c)],..._0x82fe20[_0x4dbff2(0x37c)],..._0x4977d2]}),!0x0;}},_0x447438={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x464),async 'handler'(_0x4a0990,_0x390864){const _0x5dd3fd=_0x4bf7c9;if(!_0x390864)return!0x1;const _0x48130f=_0x4a0990[_0x5dd3fd(0x49b)](_0x181393['ICommandService']),_0x31be7f=_0x4a0990[_0x5dd3fd(0x49b)](_0x181393[_0x5dd3fd(0x3e2)]),_0x45007c=_0x4a0990['get'](_0x1c1f68[_0x5dd3fd(0x356)]),{pivotTableConfig:_0x33d2b8,pivotTableId:_0x2161bd,unitId:_0x210199,subUnitId:_0x424dd9}=_0x390864,_0x14ea4e=(await _0x45007c[_0x5dd3fd(0x26e)]({'unitId':_0x210199,'subUnitId':_0x424dd9,'pivotTableId':_0x2161bd,'params':{'type':_0x40af19[_0x5dd3fd(0x25a)],'setPivotTableConfig':{'pivotTableId':_0x2161bd,'pivotTableConfig':_0x33d2b8}}}))['result'][_0x5dd3fd(0x381)];if(!_0x14ea4e)return!0x1;const {changesets:_0x4a66aa}=_0x14ea4e,{redos:_0x504dcf,undos:_0x92803c}=_0x31253c(_0x48130f,{'pivotTableId':_0x2161bd,'unitId':_0x210199,'subUnitId':_0x424dd9},_0x4a66aa);return _0x181393[_0x5dd3fd(0x310)](_0x504dcf,_0x48130f),_0x31be7f['pushUndoRedo']({'unitID':_0x210199,'redoMutations':_0x504dcf,'undoMutations':_0x92803c}),!0x0;}},_0x316e9f={'type':_0x181393[_0x4bf7c9(0x449)]['COMMAND'],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x4e41e4,_0xeb7acd){const _0x2cfd6a=_0x4bf7c9;if(!_0xeb7acd)return!0x1;const _0x304849=_0x4e41e4[_0x2cfd6a(0x49b)](_0x181393[_0x2cfd6a(0x4a0)]),{pivotTableId:_0x41fd40,tableFieldId:_0x48d6d5,items:_0x4718c5,unitId:_0x47b37e,subUnitId:_0x5bf0c0,isAll:_0xbee81e}=_0xeb7acd,_0x444116=_0x4e41e4[_0x2cfd6a(0x49b)](_0x1c1f68[_0x2cfd6a(0x356)]),_0x319a5a=_0x4e41e4[_0x2cfd6a(0x49b)](_0x181393[_0x2cfd6a(0x3e2)]),_0x18a96c=(await _0x444116['getPivotDisplayConfig']({'unitId':_0x47b37e,'subUnitId':_0x5bf0c0,'pivotTableId':_0x41fd40,'params':{'type':_0x40af19[_0x2cfd6a(0x28a)],'setPivotFilter':{'tableFieldId':_0x48d6d5,'items':_0x4718c5,'isAll':_0xbee81e}}}))[_0x2cfd6a(0x37d)][_0x2cfd6a(0x3f7)];if(!_0x18a96c)return!0x1;const {changesets:_0x193c5d,pivotTableConfig:_0xc02ad5,isEmpty:_0x5aefb1,view:_0x3189d}=_0x18a96c,_0x45596c=_0xc02ad5[_0x2cfd6a(0x3e0)],_0x3ccff9=new _0x1861d8[(_0x2cfd6a(0x1d9))]();_0x3ccff9[_0x2cfd6a(0x4c3)](_0x3189d);const _0x1fa611={'cellInfo':_0x45596c,'view':_0x3ccff9,'isEmpty':_0x5aefb1};if(!await _0x4e41e4[_0x2cfd6a(0x49b)](_0x1c1f68[_0x2cfd6a(0x44c)])[_0x2cfd6a(0x236)][_0x2cfd6a(0x43c)](_0x3c97f2)(!0x0,_0x1fa611))return!0x1;const _0x304d3=_0x719981(_0x4e41e4,_0x3ccff9,_0x45596c,_0x5aefb1),_0x5d6f47=_0x34b351(_0x4e41e4,_0x1fa611),{undos:_0x237da4,redos:_0x52327e}=_0x31253c(_0x304849,{'pivotTableId':_0x41fd40,'unitId':_0x47b37e,'subUnitId':_0x5bf0c0},_0x193c5d);return _0x181393[_0x2cfd6a(0x310)]([..._0x304d3['redos'],..._0x5d6f47['redos'],..._0x52327e],_0x304849),_0x319a5a[_0x2cfd6a(0x2bf)]({'unitID':_0x47b37e,'redoMutations':[..._0x304d3[_0x2cfd6a(0x4a1)],..._0x5d6f47[_0x2cfd6a(0x4a1)],..._0x52327e],'undoMutations':[..._0x304d3['undos'],..._0x5d6f47[_0x2cfd6a(0x37c)],..._0x237da4]}),!0x0;}},_0xb0655f={'type':_0x181393[_0x4bf7c9(0x449)]['COMMAND'],'id':_0x4bf7c9(0x2db),async 'handler'(_0x4caa66,_0xb494df){const _0x540417=_0x4bf7c9;if(!_0xb494df)return!0x1;const _0x3a58c1=_0x4caa66[_0x540417(0x49b)](_0x181393[_0x540417(0x4a0)]),_0x5a23ba=_0x4caa66[_0x540417(0x49b)](_0x181393[_0x540417(0x3e2)]),_0x499328=_0x4caa66['get'](_0x1c1f68[_0x540417(0x356)]),{info:_0x2762d4,tableFieldId:_0x586a11,pivotTableId:_0x4032a4,unitId:_0x23c398,subUnitId:_0xbdec5c}=_0xb494df,_0x1be8e4=(await _0x499328[_0x540417(0x26e)]({'unitId':_0x23c398,'subUnitId':_0xbdec5c,'pivotTableId':_0x4032a4,'params':{'type':_0x40af19[_0x540417(0x2ee)],'setPivotSort':{'tableFieldId':_0x586a11,'info':_0x2762d4}}}))[_0x540417(0x37d)]['setPivotSort'];if(!_0x1be8e4)return!0x1;const {changesets:_0xd85d09}=_0x1be8e4,{redos:_0x51acf1,undos:_0x214a51}=_0x31253c(_0x3a58c1,{'pivotTableId':_0x4032a4,'unitId':_0x23c398,'subUnitId':_0xbdec5c},_0xd85d09);return _0x181393[_0x540417(0x310)](_0x51acf1,_0x3a58c1),_0x5a23ba['pushUndoRedo']({'unitID':_0x23c398,'redoMutations':_0x51acf1,'undoMutations':_0x214a51}),!0x0;}},_0x56a761={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x429),async 'handler'(_0x1dc705,_0x1864f4){const _0x27e300=_0x4bf7c9;if(!_0x1864f4)return!0x1;const _0xf01609=_0x1dc705[_0x27e300(0x49b)](_0x181393[_0x27e300(0x4a0)]),{pivotTableId:_0x3d7776,fieldId:_0xfc75a5,valueFilterInfo:_0x589fa9,unitId:_0x5547d5,subUnitId:_0x5595ba}=_0x1864f4,_0x171c56=_0x1dc705[_0x27e300(0x49b)](_0x1c1f68[_0x27e300(0x356)]),_0x2ed4d8=_0x1dc705[_0x27e300(0x49b)](_0x181393[_0x27e300(0x3e2)]),_0xd812e8=(await _0x171c56[_0x27e300(0x26e)]({'unitId':_0x5547d5,'subUnitId':_0x5595ba,'pivotTableId':_0x3d7776,'params':{'type':_0x40af19[_0x27e300(0x48e)],'setValuePivotFilter':{'tableFieldId':_0xfc75a5,'filterInfo':_0x589fa9}}}))[_0x27e300(0x37d)][_0x27e300(0x441)];if(!_0xd812e8)return!0x1;const {changesets:_0x140126,pivotTableConfig:_0x516295,isEmpty:_0x128449,view:_0x56207f}=_0xd812e8,_0x15fe33=_0x516295[_0x27e300(0x3e0)],_0x28a84c=new _0x1861d8[(_0x27e300(0x1d9))]();_0x28a84c[_0x27e300(0x4c3)](_0x56207f);const _0x461d4a={'cellInfo':_0x15fe33,'view':_0x28a84c,'isEmpty':_0x128449};if(!await _0x1dc705[_0x27e300(0x49b)](_0x1c1f68[_0x27e300(0x44c)])[_0x27e300(0x236)][_0x27e300(0x43c)](_0x3c97f2)(!0x0,_0x461d4a))return!0x1;const _0x441b55=_0x719981(_0x1dc705,_0x28a84c,_0x15fe33,_0x128449),_0x21eb88=_0x34b351(_0x1dc705,_0x461d4a),{undos:_0x1af203,redos:_0x2fac18}=_0x31253c(_0xf01609,{'pivotTableId':_0x3d7776,'unitId':_0x5547d5,'subUnitId':_0x5595ba},_0x140126);return _0x181393[_0x27e300(0x310)]([..._0x441b55[_0x27e300(0x4a1)],..._0x21eb88[_0x27e300(0x4a1)],..._0x2fac18],_0xf01609),_0x2ed4d8[_0x27e300(0x2bf)]({'unitID':_0x5547d5,'redoMutations':[..._0x441b55['redos'],..._0x21eb88[_0x27e300(0x4a1)],..._0x2fac18],'undoMutations':[..._0x441b55['undos'],..._0x21eb88['undos'],..._0x1af203]}),!0x0;}},_0x26aa4d={'id':'sheet.mutation.update-date-group','type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'handler':(_0x2037d2,_0x265328)=>{const _0x337ffc=_0x4bf7c9;if(!_0x265328)return!0x1;if(!!_0x2037d2['get'](_0x181393[_0x337ffc(0x1c0)])['getConfig'](_0x19ee91))return!0x0;const {unitId:_0x5d2854,subUnitId:_0x20c7a5,pivotTableId:_0x158129,tableFieldId:_0x3c92a4,dateType:_0x2cfa57}=_0x265328,_0x5ae13b=_0x2037d2[_0x337ffc(0x49b)](_0x1c1f68[_0x337ffc(0x1d5)]),_0x37f3ec=_0x5ae13b[_0x337ffc(0x1eb)](_0x158129);if(!_0x37f3ec)return!0x1;const _0x23456f=_0x37f3ec[_0x337ffc(0x28e)](_0x3c92a4);if(!_0x23456f)return!0x1;const _0x5c1e5c=_0x23456f[_0x337ffc(0x4b9)](),_0x570e3d=_0x37f3ec['getDataFieldByDataFieldId'](_0x5c1e5c),_0x2476db=(_0x570e3d==null?void 0x0:_0x570e3d[_0x337ffc(0x29e)]())+'\x20'+_0x285170(_0x2037d2,_0x2cfa57);_0x5ae13b[_0x337ffc(0x495)](_0x5d2854,_0x158129)[_0x337ffc(0x302)](_0x23456f['id'],_0x2476db);const _0x1408af=_0x37f3ec['getTableFieldById'](_0x3c92a4);if(!_0x1408af)return!0x1;_0x37f3ec['renameField'](_0x1408af[_0x337ffc(0x3dc)](),_0x2476db),_0x23456f[_0x337ffc(0x353)](_0x2cfa57);const _0x54ce74=_0x5ae13b[_0x337ffc(0x439)](_0x5d2854,_0x20c7a5,_0x158129);return _0x5ae13b[_0x337ffc(0x440)]({'unitId':_0x5d2854,'subUnitId':_0x20c7a5,'token':_0x158129,'type':_0xefe34[_0x337ffc(0x3c0)],'pivotConfig':_0x54ce74}),!0x0;}},_0x5dde87={'id':_0x4bf7c9(0x3e6),'type':_0x181393[_0x4bf7c9(0x449)]['COMMAND'],'handler':(_0x2825dd,_0x46f98c)=>{const _0x3668ad=_0x4bf7c9;if(!_0x46f98c)return!0x1;const _0x1d0eef=_0x2825dd[_0x3668ad(0x49b)](_0x181393[_0x3668ad(0x3e2)]),{unitId:_0x56a4d1,subUnitId:_0x68d25e,pivotTableId:_0x54a7eb,tableFieldId:_0x3d9197}=_0x46f98c,_0x434e63=[],_0x34efe7=[],_0xd6d99=_0x2825dd['get'](_0x1c1f68['SheetsPivotTableConfigModel']),_0x5e7f=_0xd6d99['getCollection'](_0x56a4d1,_0x54a7eb),_0x11bc91=_0xd6d99['getPivotTableConfig'](_0x56a4d1,_0x68d25e,_0x54a7eb);if(!(_0x11bc91!=null&&_0x11bc91[_0x3668ad(0x237)]['dimension']))return!0x1;const _0x2684d1=Object[_0x3668ad(0x380)](_0x11bc91['fieldsConfig'][_0x3668ad(0x233)])[_0x3668ad(0x2e3)](_0x4156d0=>_0x4156d0['id']===_0x3d9197);if(!_0x2684d1)return!0x1;const _0x17f155=_0x2684d1[_0x3668ad(0x259)];if(!(_0x5e7f!=null&&_0x5e7f[_0x3668ad(0x34b)]))return!0x1;const _0x426534=Object[_0x3668ad(0x380)](_0x5e7f==null?void 0x0:_0x5e7f[_0x3668ad(0x34b)])[_0x3668ad(0x2e3)](_0x47aa9d=>_0x47aa9d['id']===_0x17f155);if(!_0x426534)return!0x1;_0x1861d8[_0x3668ad(0x2c3)](_0x426534)&&_0x434e63[_0x3668ad(0x1fc)]({'id':_0x26aa4d['id'],'params':{..._0x46f98c,'dateType':_0x426534['dateType']}}),_0x34efe7[_0x3668ad(0x1fc)]({'id':_0x26aa4d['id'],'params':{..._0x46f98c}});const _0x4b490a=_0x2825dd[_0x3668ad(0x49b)](_0x181393[_0x3668ad(0x4a0)]);return _0x181393['sequenceExecute'](_0x34efe7,_0x4b490a)&&_0x1d0eef[_0x3668ad(0x2bf)]({'unitID':_0x56a4d1,'undoMutations':_0x434e63,'redoMutations':_0x34efe7}),!0x0;}},_0x1ede69={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x46d),async 'handler'(_0x26466b,_0x15985b){const _0x2f5d15=_0x4bf7c9;if(!_0x15985b)return!0x1;const _0xbd7d91=_0x26466b[_0x2f5d15(0x49b)](_0x181393[_0x2f5d15(0x4a0)]),_0x406563=_0x26466b['get'](_0x181393[_0x2f5d15(0x3e2)]),_0x28a8b8=_0x26466b[_0x2f5d15(0x49b)](_0x1c1f68[_0x2f5d15(0x356)]),{displayName:_0xf706f4,subtotalType:_0x416e28,format:_0x4dc352,tableFieldId:_0x7dda04,pivotTableId:_0x39f7fb,unitId:_0x13ce63,subUnitId:_0x5ee115}=_0x15985b,_0x4bcc16=(await _0x28a8b8[_0x2f5d15(0x26e)]({'unitId':_0x13ce63,'subUnitId':_0x5ee115,'pivotTableId':_0x39f7fb,'params':{'type':_0x40af19['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x7dda04,'displayName':_0xf706f4,'subtotalType':_0x416e28,'format':_0x4dc352}}}))[_0x2f5d15(0x37d)][_0x2f5d15(0x3cd)];if(!_0x4bcc16)return!0x1;const {changesets:_0x179e01,view:_0x4152fc,pivotTableConfig:_0x59fe35,isEmpty:_0x17bc51}=_0x4bcc16,_0x2a72f7=_0x59fe35[_0x2f5d15(0x3e0)],_0x3c1bea=new _0x1861d8[(_0x2f5d15(0x1d9))]();_0x3c1bea[_0x2f5d15(0x4c3)](_0x4152fc);const _0x552bfd={'cellInfo':_0x2a72f7,'view':_0x3c1bea,'isEmpty':_0x17bc51};if(!await _0x26466b['get'](_0x1c1f68[_0x2f5d15(0x44c)])[_0x2f5d15(0x236)]['fetchThroughAsyncInterceptors'](_0x3c97f2)(!0x0,_0x552bfd))return!0x1;const _0x298313=_0x719981(_0x26466b,_0x3c1bea,_0x2a72f7,_0x17bc51),_0x341f72=_0x34b351(_0x26466b,_0x552bfd),{undos:_0x57c816,redos:_0x5eeafc}=_0x31253c(_0xbd7d91,{'pivotTableId':_0x39f7fb,'unitId':_0x13ce63,'subUnitId':_0x5ee115},_0x179e01);return _0x181393['sequenceExecute']([..._0x298313['redos'],..._0x341f72['redos'],..._0x5eeafc],_0xbd7d91),_0x406563[_0x2f5d15(0x2bf)]({'unitID':_0x13ce63,'redoMutations':[..._0x298313[_0x2f5d15(0x4a1)],..._0x341f72['redos'],..._0x5eeafc],'undoMutations':[..._0x298313[_0x2f5d15(0x37c)],..._0x341f72[_0x2f5d15(0x37c)],..._0x57c816]}),!0x0;}},_0x1f8fe4={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x2a3),'handler'(_0x4c16a6,_0x96596a){const _0x4e3746=_0x4bf7c9;if(!_0x96596a)return!0x1;if(!!_0x4c16a6['get'](_0x181393[_0x4e3746(0x1c0)])['getConfig'](_0x19ee91))return!0x0;const _0x433df4=_0x4c16a6[_0x4e3746(0x49b)](_0x1c1f68['SheetsPivotDataSourceModel']),{pivotTableId:_0x1e2da9,deleteIds:_0x1d451f,collectionJSON:_0x34c5aa,dataRangeInfo:_0xc9ce94,unitId:_0x29a040,subUnitId:_0x151a61}=_0x96596a,_0x254858=_0x433df4[_0x4e3746(0x1eb)](_0x1e2da9),_0x39a043=_0x433df4['getPivotTableConfig'](_0x29a040,_0x151a61,_0x1e2da9);if(!_0x254858||!_0x39a043)return!0x1;const {collection:_0x6055ba,updateDataFieldList:_0xdfe36e}=_0x433df4['addCollectionByJSON'](_0x1e2da9,_0x34c5aa,_0xc9ce94,_0x39a043[_0x4e3746(0x3e0)]);_0x433df4['refreshData'](_0x6055ba,_0xdfe36e,_0xc9ce94),_0x254858['updateDataFieldsCollection'](_0x6055ba);for(const _0x2a91f4 of _0x1d451f)_0x433df4[_0x4e3746(0x3e1)](_0xc9ce94[_0x4e3746(0x3d3)],_0x2a91f4);const _0x39bb2f=_0x433df4[_0x4e3746(0x439)](_0x29a040,_0x151a61,_0x1e2da9);return _0x39bb2f[_0x4e3746(0x3f3)]=JSON[_0x4e3746(0x2f5)](JSON[_0x4e3746(0x294)](_0xc9ce94)),_0x433df4[_0x4e3746(0x440)]({'unitId':_0x29a040,'subUnitId':_0x151a61,'token':_0x1e2da9,'type':_0xefe34['Set']}),!0x0;}},_0x587bbe={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x458),async 'handler'(_0x5697ce,_0x21e85c){const _0x3cf99b=_0x4bf7c9,_0x1c349e=_0x5697ce[_0x3cf99b(0x49b)](_0x181393['ICommandService']),_0x4208ac=_0x5697ce['get'](_0x1c1f68[_0x3cf99b(0x356)]),_0x4a5ef3=_0x5697ce[_0x3cf99b(0x49b)](_0x181393['IUndoRedoService']);if(!_0x21e85c)return!0x1;const {token:_0x56f09e,dataRangeInfo:_0x136cb6,unitId:_0x1a3d8c,subUnitId:_0x5b212b}=_0x21e85c,_0x2eab98=[],_0x467d56=[],_0x5a45a8=(await _0x4208ac[_0x3cf99b(0x26e)]({'unitId':_0x1a3d8c,'subUnitId':_0x5b212b,'pivotTableId':_0x56f09e,'params':{'type':_0x40af19['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x136cb6,'unitId':_0x1a3d8c,'subUnitId':_0x5b212b}}}))[_0x3cf99b(0x37d)][_0x3cf99b(0x470)];if(!_0x5a45a8)return!0x1;const {changesets:_0x3b1984,deleteIds:_0x3bee55,collectionConfig:_0x27910e,oldCollectionConfig:_0x209bd5,view:_0x5cb0d7,isEmpty:_0x5aea7d,pivotTableConfig:_0x1326e4}=_0x5a45a8;_0x467d56['push']({'id':_0x1f8fe4['id'],'params':{'pivotTableId':_0x56f09e,'deleteIds':_0x3bee55,'collectionJSON':_0x27910e,'dataRangeInfo':_0x136cb6,'unitId':_0x1a3d8c,'subUnitId':_0x5b212b}}),_0x2eab98[_0x3cf99b(0x247)]({'id':_0x1f8fe4['id'],'params':{'pivotTableId':_0x56f09e,'deleteIds':[],'collectionJSON':_0x209bd5,'dataRangeInfo':_0x1326e4[_0x3cf99b(0x3f3)],'unitId':_0x1a3d8c,'subUnitId':_0x5b212b}});const _0x4d1469=_0x1326e4[_0x3cf99b(0x3e0)],_0x208c4e=new _0x1861d8[(_0x3cf99b(0x1d9))]();_0x208c4e['formJSON'](_0x5cb0d7);const _0x36e742={'cellInfo':_0x4d1469,'view':_0x208c4e,'isEmpty':_0x5aea7d};if(!await _0x5697ce['get'](_0x1c1f68[_0x3cf99b(0x44c)])[_0x3cf99b(0x236)][_0x3cf99b(0x43c)](_0x3c97f2)(!0x0,_0x36e742))return!0x1;const _0x374345=_0x719981(_0x5697ce,_0x208c4e,_0x4d1469,_0x5aea7d),_0x1b375c=_0x34b351(_0x5697ce,_0x36e742),{undos:_0xe53a20,redos:_0x21b1ec}=_0x31253c(_0x1c349e,{'pivotTableId':_0x56f09e,'unitId':_0x1a3d8c,'subUnitId':_0x5b212b},_0x3b1984);return _0x181393[_0x3cf99b(0x310)]([..._0x374345[_0x3cf99b(0x4a1)],..._0x1b375c[_0x3cf99b(0x4a1)],..._0x467d56,..._0xe53a20],_0x1c349e),_0x4a5ef3[_0x3cf99b(0x2bf)]({'unitID':_0x1a3d8c,'redoMutations':[..._0x374345[_0x3cf99b(0x4a1)],..._0x1b375c[_0x3cf99b(0x4a1)],..._0x467d56,..._0xe53a20],'undoMutations':[..._0x374345[_0x3cf99b(0x37c)],..._0x1b375c[_0x3cf99b(0x37c)],..._0x2eab98,..._0x21b1ec]}),!0x0;}},_0x2211a1={'type':_0x181393[_0x4bf7c9(0x449)][_0x4bf7c9(0x3e8)],'id':_0x4bf7c9(0x1d2),async 'handler'(_0x616219,_0x3ac705){const _0x273417=_0x4bf7c9;if(!_0x3ac705)return!0x1;const _0x2870f1=_0x616219[_0x273417(0x49b)](_0x181393[_0x273417(0x4a0)]),_0x2affae=_0x616219['get'](_0x1c1f68[_0x273417(0x356)]),_0xe11bed=_0x616219[_0x273417(0x49b)](_0x181393['IUniverInstanceService']),_0x35250d=_0x616219['get'](_0x181393['IUndoRedoService']),{pivotTableId:_0x307183,position:_0x6dd4b4,index:_0x36a727}=_0x3ac705,_0x17770c=_0x3e3843[_0x273417(0x36e)](_0xe11bed);if(!_0x17770c)return!0x1;const {unitId:_0x26a758,subUnitId:_0x5e0fd1}=_0x17770c,_0x3d250c=(await _0x2affae[_0x273417(0x26e)]({'unitId':_0x26a758,'subUnitId':_0x5e0fd1,'pivotTableId':_0x307183,'params':{'type':_0x40af19[_0x273417(0x382)],'updateValuePosition':{'position':_0x6dd4b4,'index':_0x36a727}}}))['result'][_0x273417(0x2f6)];if(!_0x3d250c)return!0x1;const {changesets:_0xb252ef,view:_0x3dc0b5,isEmpty:_0x120d17,pivotTableConfig:_0x42881e}=_0x3d250c,_0xfbdfc7=_0x42881e[_0x273417(0x3e0)],_0x11ec7a=new _0x1861d8['PivotView']();_0x11ec7a[_0x273417(0x4c3)](_0x3dc0b5);const _0x102dcf=_0x616219[_0x273417(0x49b)](_0x1c1f68['SheetsPivotTableService']),_0x21bfa9={'cellInfo':_0xfbdfc7,'view':_0x11ec7a,'isEmpty':_0x120d17};if(!await _0x102dcf[_0x273417(0x236)]['fetchThroughAsyncInterceptors'](_0x3c97f2)(!0x0,_0x21bfa9))return!0x1;const _0x365980=_0x719981(_0x616219,_0x11ec7a,_0xfbdfc7,_0x120d17),_0x60f76b=_0x34b351(_0x616219,_0x21bfa9),{undos:_0x5d5957,redos:_0x4764b3}=_0x31253c(_0x2870f1,{'pivotTableId':_0x307183,'unitId':_0x26a758,'subUnitId':_0x5e0fd1},_0xb252ef);return _0x181393[_0x273417(0x310)]([..._0x365980[_0x273417(0x4a1)],..._0x60f76b[_0x273417(0x4a1)],..._0x4764b3],_0x2870f1),_0x35250d[_0x273417(0x2bf)]({'unitID':_0x26a758,'redoMutations':[..._0x365980[_0x273417(0x4a1)],..._0x60f76b['redos'],..._0x4764b3],'undoMutations':[..._0x365980[_0x273417(0x37c)],..._0x60f76b[_0x273417(0x37c)],..._0x5d5957]}),!0x0;}},_0x541879={'type':_0x181393['CommandType'][_0x4bf7c9(0x4b7)],'id':_0x4bf7c9(0x278),'handler'(){return!0x0;}};var _0x158be0=Object['getOwnPropertyDescriptor'],_0x34e1b8=(_0x513ef3,_0x3f3d85,_0x1a7511,_0x3976c9)=>{for(var _0x48099c=_0x3976c9>0x1?void 0x0:_0x3976c9?_0x158be0(_0x3f3d85,_0x1a7511):_0x3f3d85,_0x457e61=_0x513ef3['length']-0x1,_0x44ce57;_0x457e61>=0x0;_0x457e61--)(_0x44ce57=_0x513ef3[_0x457e61])&&(_0x48099c=_0x44ce57(_0x48099c)||_0x48099c);return _0x48099c;},_0x4f2a55=(_0x26c928,_0x2b3a08)=>(_0x52d200,_0x2afc8e)=>_0x2b3a08(_0x52d200,_0x2afc8e,_0x26c928);const _0xe2f79e=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x3a13a0=(_0x4c370b,_0x1429d4,_0x3c5d60)=>{const _0x764587=_0x4bf7c9,_0x24088d=_0x4c370b[_0x764587(0x27b)];_0x4c370b['iterateFieldDim'](_0x456091=>{const _0xff315f=_0x764587,_0x9dbf23=_0x456091[_0xff315f(0x3dc)](),_0x16ebfc=_0x456091[_0xff315f(0x20d)](),_0x23c703=_0x456091['getSourceName'](),_0x5ceeec=_0x456091[_0xff315f(0x348)]();_0x1429d4[_0x16ebfc]&&_0x1429d4[_0x16ebfc]===_0x5ceeec&&_0x23c703===_0x5ceeec&&(_0x4c370b[_0xff315f(0x25e)](_0x9dbf23,_0x24088d[_0xff315f(0x348)](_0x16ebfc)),_0x456091[_0xff315f(0x275)](_0x24088d[_0xff315f(0x348)](_0x16ebfc)));}),_0x4c370b[_0x764587(0x26b)](_0x1861d8[_0x764587(0x1e1)]['Value'],_0x10c09f=>{const _0x23e06b=_0x764587,_0x3a6286=_0x10c09f['getId'](),_0xe96c7e=_0x10c09f[_0x23e06b(0x20d)](),_0x48a364=_0x10c09f[_0x23e06b(0x203)](),_0x38aa1e=_0x10c09f[_0x23e06b(0x348)](),_0x1b4009=_0x10c09f['getSubtotal'](),_0x49c895=_0x3c5d60(_0x48a364,_0x1b4009);_0x1429d4[_0xe96c7e]&&_0x1429d4[_0xe96c7e]===_0x48a364&&_0x49c895===_0x38aa1e&&(_0x4c370b[_0x23e06b(0x25e)](_0x3a6286,_0x3c5d60(_0x24088d[_0x23e06b(0x348)](_0xe96c7e),_0x1b4009)),_0x10c09f[_0x23e06b(0x275)](_0x24088d[_0x23e06b(0x348)](_0xe96c7e)));});},_0xcc4ada=(_0x4e959b,_0x588b05,_0x575a21)=>{const _0x9c7214=_0x4bf7c9;var _0x4127ba,_0x39fe96;const {arrayFormulaCellData:_0x22e6c1,unitData:_0x4ef5a3}=_0x588b05,{unitId:_0x2b0b36,subUnitId:_0x1dc113}=_0x575a21,_0x1c49e5=_0x575a21[_0x9c7214(0x375)],{startColumn:_0x34b047,endColumn:_0x35f54e}=_0x1c49e5,_0x3b8e46=(_0x4127ba=_0x22e6c1==null?void 0x0:_0x22e6c1[_0x2b0b36])==null?void 0x0:_0x4127ba[_0x1dc113],_0x56fda0=(_0x39fe96=_0x4ef5a3==null?void 0x0:_0x4ef5a3[_0x2b0b36])==null?void 0x0:_0x39fe96[_0x1dc113],_0x21aa6d=new Set(),_0x3fd4c2=_0x35f54e-_0x34b047+0x1,{dirtyRanges:_0x43eb97}=_0x4e959b;if(_0x43eb97)for(const {range:_0x19a1c4,sheetId:_0x3f6a93,unitId:_0x1f2402}of _0x43eb97){if(_0x3f6a93!==_0x1dc113||_0x2b0b36!==_0x1f2402)continue;const _0x356e18=_0x181393[_0x9c7214(0x2ef)]['getIntersects'](_0x19a1c4,_0x1c49e5);if(_0x356e18){const {startColumn:_0x668206,endColumn:_0x228b96}=_0x356e18;for(let _0x21fb62=_0x668206;_0x21fb62<=_0x228b96;_0x21fb62++)_0x21aa6d[_0x9c7214(0x2a4)](_0x21fb62);}}if(_0x21aa6d[_0x9c7214(0x379)]===_0x3fd4c2||_0x21aa6d[_0x9c7214(0x379)]===_0x3fd4c2)return Array['from'](_0x21aa6d);if(_0x56fda0){const _0x4e577c=_0x56fda0['getMatrix'](),_0x3c046b=Object[_0x9c7214(0x34e)](_0x4e577c);for(const _0x4e217b of _0x3c046b){const _0x2dae88=Number(_0x4e217b),_0x4b1475=_0x4e577c[_0x2dae88];if(_0x21aa6d[_0x9c7214(0x379)]===_0x3fd4c2)break;for(const _0x30d109 in _0x4b1475){const _0x36b8e4=Number(_0x30d109);_0x36b8e4<_0x34b047||_0x36b8e4>_0x35f54e||_0x21aa6d[_0x9c7214(0x2a4)](_0x36b8e4);}}}if(_0x3b8e46){const _0x54f6f5=_0x3b8e46['getMatrix'](),_0x5189ed=Object[_0x9c7214(0x34e)](_0x54f6f5);for(const _0x43cdb3 of _0x5189ed){const _0xc2a223=Number(_0x43cdb3),_0x3d9214=_0x54f6f5[_0xc2a223];if(_0x21aa6d[_0x9c7214(0x379)]===_0x3fd4c2)break;for(const _0x58e3a0 in _0x3d9214){const _0x3ccea4=Number(_0x58e3a0);_0x3ccea4<_0x34b047||_0x3ccea4>_0x35f54e||_0x21aa6d[_0x9c7214(0x2a4)](_0x3ccea4);}}}return Array['from'](_0x21aa6d);},_0x464928=_0x1ac005=>{const _0x1b7dc3=_0x4bf7c9,_0x1fe2c=new Set(),_0x1cc55d=[];for(const _0x21c376 of _0x1ac005){const _0x4ca9e7=_0x21c376[_0x1b7dc3(0x30c)]+','+_0x21c376[_0x1b7dc3(0x433)]+','+_0x21c376['startColumn']+','+_0x21c376[_0x1b7dc3(0x1f5)];_0x1fe2c[_0x1b7dc3(0x2cb)](_0x4ca9e7)||(_0x1fe2c[_0x1b7dc3(0x2a4)](_0x4ca9e7),_0x1cc55d[_0x1b7dc3(0x1fc)](_0x21c376));}return _0x1cc55d;};let _0x50fbca=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x3db9aa,_0x5a080e,_0x5e3ec4,_0xde4ede,_0x322e80){const _0x3f20ec=_0x4bf7c9;super(),_0x3f85d0(this,'_globalSubject',new _0x1731cb[(_0x3f20ec(0x3ca))](!0x0)),_0x3f85d0(this,_0x3f20ec(0x26f),_0x253c95=>{const _0x5c37f3=_0x3f20ec;this[_0x5c37f3(0x426)]['next'](!0x1);}),_0x3f85d0(this,'_globalComputedEndHelpFunc',_0x36b8f5=>{const _0x3265ec=_0x3f20ec;this[_0x3265ec(0x426)][_0x3265ec(0x3b6)](!0x0);}),(this[_0x3f20ec(0x1f2)]=_0x3db9aa,this[_0x3f20ec(0x4ab)]=_0x5a080e,this[_0x3f20ec(0x462)]=_0x5e3ec4,this[_0x3f20ec(0x478)]=_0xde4ede,this[_0x3f20ec(0x1d3)]=_0x322e80,this['_init'](),this['_initPivotDataGetListener']());}[_0x4bf7c9(0x2f7)](){const _0x290146=_0x4bf7c9;this[_0x290146(0x372)](),this[_0x290146(0x371)](),this[_0x290146(0x45a)](),this[_0x290146(0x29b)]();}[_0x4bf7c9(0x22b)](){const _0x587d6b=_0x4bf7c9;this[_0x587d6b(0x478)][_0x587d6b(0x316)](this[_0x587d6b(0x426)]),_0x1861d8[_0x587d6b(0x3fc)]['registerCallbackWithEvent'](_0x1861d8[_0x587d6b(0x42c)][_0x587d6b(0x498)],this[_0x587d6b(0x26f)]),_0x1861d8[_0x587d6b(0x3fc)]['registerCallbackWithEvent'](_0x1861d8['PivotCallbackEnum'][_0x587d6b(0x357)],this[_0x587d6b(0x435)]);}['_initPivotDataGetListener'](){const _0x318530=_0x4bf7c9;this[_0x318530(0x413)](this[_0x318530(0x462)]['onCommandExecuted'](_0x5c504b=>{const _0x274da1=_0x318530;_0x5c504b['id']===_0x3e3843[_0x274da1(0x281)]['id']&&this[_0x274da1(0x1f2)][_0x274da1(0x45e)](_0x5c504b[_0x274da1(0x207)]);})),this['disposeWithMe'](this[_0x318530(0x462)][_0x318530(0x29c)](_0x2cbff6=>{const _0x274912=_0x318530;if(_0x2cbff6['id']!==_0x425d9e['id'])return;const _0x5de269=_0x2cbff6['params'],{unitId:_0x563ed9,subUnitId:_0x4e3c14,pivotTableId:_0x528cf7}=_0x5de269,_0x4dad81=_0x5de269['params'][_0x274912(0x363)],_0x59d9c6={};switch(_0x4dad81){case _0x40af19[_0x274912(0x3da)]:{const _0x1cc35e=_0x5de269[_0x274912(0x207)]['filter'];if(!_0x1cc35e)return;const {row:_0x34759a,col:_0x9d1bab,cellData:_0x13541c,pivotItemRenderInfoCache:_0x4cc307,tableFieldId:_0x588db1}=_0x1cc35e,_0x1613f7=this[_0x274912(0x1f2)][_0x274912(0x1eb)](_0x5de269[_0x274912(0x425)]);if(!_0x1613f7||!_0x4cc307)return;if(_0x588db1){const _0xb1a567=_0x1613f7[_0x274912(0x28e)](_0x588db1);if(!_0xb1a567)return;_0x59d9c6[_0x274912(0x362)]={..._0x1613f7['getDataFieldItemInfo'](_0xb1a567),'tableFieldId':_0x588db1,'pivotTableId':_0x5de269[_0x274912(0x425)],'filterInfo':_0x1613f7[_0x274912(0x304)](_0x588db1),'sortInfo':_0x1613f7[_0x274912(0x385)](_0x588db1),'format':_0x1613f7[_0x274912(0x2bb)](_0x588db1)};}else{const _0x3ed253=_0x514dd2(_0x34759a,_0x9d1bab,_0x13541c,_0x1613f7,_0x4cc307),_0x995c8f=_0x3ed253==null?void 0x0:_0x3ed253['filterId'];if(!_0x995c8f)return;const _0x560923=_0x1613f7[_0x274912(0x28e)](_0x995c8f);if(!_0x560923)return;_0x59d9c6[_0x274912(0x362)]={..._0x1613f7['getDataFieldItemInfo'](_0x560923),'tableFieldId':_0x995c8f,'pivotTableId':_0x5de269[_0x274912(0x425)],'filterInfo':_0x1613f7[_0x274912(0x304)](_0x995c8f),'sortInfo':_0x1613f7[_0x274912(0x385)](_0x995c8f),'format':_0x1613f7['getFieldFormat'](_0x995c8f)};}}break;case _0x40af19['Panel']:{const _0x334358=_0x5de269[_0x274912(0x207)]['panel'];if(!_0x334358)return;const {pivotTableId:_0x3c4585}=_0x334358,_0x8ecfb3=this[_0x274912(0x1f2)][_0x274912(0x1eb)](_0x3c4585);if(!_0x8ecfb3)return;const _0x4721ba=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x3c4585),_0x1ba2f3=_0x5739bd(_0x8ecfb3,_0x3c4585,_0x4721ba);_0x59d9c6[_0x274912(0x2b9)]=_0x1ba2f3;}break;case _0x40af19[_0x274912(0x45d)]:{const _0x2192f2=this[_0x274912(0x1f2)]['getPivotTableInstance'](_0x528cf7),_0x25b9d0=this[_0x274912(0x1f2)][_0x274912(0x2a2)](_0x563ed9),_0x19fafa=_0x25b9d0[_0x274912(0x495)](_0x528cf7);let _0x136e4c=null;const _0xff1be6=this[_0x274912(0x1f2)]['getPivotTableConfig'](_0x563ed9,_0x4e3c14,_0x528cf7),_0x495d7b=_0x5de269[_0x274912(0x207)][_0x274912(0x1f6)];if(!_0x2192f2||!_0xff1be6||!_0x495d7b)return!0x1;const {dataFieldId:_0x1ef8ce,fieldArea:_0x2cfb0f,index:_0xf04da6}=_0x495d7b;_0x2192f2[_0x274912(0x3ea)]();const _0x13f06c=_0x2192f2[_0x274912(0x30a)](_0x1ef8ce,_0x2cfb0f,_0xf04da6);if(_0x13f06c&&_0x2cfb0f===_0x1861d8['PivotTableFiledAreaEnum'][_0x274912(0x226)]){const _0x4b846e=_0x13f06c[_0x274912(0x3dc)](),_0x452c3e=_0x2192f2['getDataFieldByTableId'](_0x4b846e);if(_0x452c3e){const _0x4ee2af=_0x452c3e==null?void 0x0:_0x452c3e[_0x274912(0x330)]();_0x2192f2['setSubtotalType'](_0x13f06c['getId'](),_0x4ee2af===_0x1861d8[_0x274912(0x2ac)]['number']?_0x1861d8[_0x274912(0x417)][_0x274912(0x290)]:_0x1861d8[_0x274912(0x417)][_0x274912(0x1f1)]);}const _0x4a8df4=_0x2192f2[_0x274912(0x2ab)](),_0x23354d=_0x2192f2['getValuePosition'](),_0x4d45d8=_0x2192f2[_0x274912(0x3f9)](_0x1861d8[_0x274912(0x1e1)][_0x274912(0x226)]);if(_0x4a8df4===-0x1&&_0x4d45d8>0x1){const _0x52c3f2=_0x23354d===_0x1861d8[_0x274912(0x2bd)][_0x274912(0x31f)]?_0x1861d8[_0x274912(0x2bd)]['Column']:_0x23354d,_0x2dc527=_0x52c3f2===_0x1861d8[_0x274912(0x2bd)]['Row']?_0x1861d8['PivotTableFiledAreaEnum']['Row']:_0x1861d8[_0x274912(0x1e1)][_0x274912(0x322)];_0x2192f2[_0x274912(0x2f6)](_0x52c3f2,_0x2192f2[_0x274912(0x3f9)](_0x2dc527));}}else{if(_0x13f06c&&(_0x2cfb0f===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x37a)]||_0x2cfb0f===_0x1861d8['PivotTableFiledAreaEnum']['Column'])){const _0x2a28b4=_0x13f06c['getId'](),_0x1f8d55=_0x2192f2[_0x274912(0x28e)](_0x2a28b4);if(_0x1f8d55&&(_0x1f8d55==null?void 0x0:_0x1f8d55[_0x274912(0x330)]())===_0x1861d8[_0x274912(0x2ac)][_0x274912(0x299)]){const _0x215424=_0x1f8d55[_0x274912(0x220)]();if(_0x215424&&_0x2192f2[_0x274912(0x202)](_0x13f06c[_0x274912(0x3dc)](),_0x215424),!_0x19fafa['getFieldIds']()[_0x274912(0x3d6)](_0x5d0dda=>{const _0x15ef37=_0x274912,_0x1f7d64=_0x19fafa[_0x15ef37(0x3dd)](_0x5d0dda);return _0x1861d8[_0x15ef37(0x4a7)](_0x1f7d64)?_0x1f7d64[_0x15ef37(0x297)]()[_0x15ef37(0x2c9)]===_0x1ef8ce:!0x1;})){const _0x366c56=_0x25b9d0[_0x274912(0x3a5)](),_0x28592d=_0x466d4c(_0x1f8d55[_0x274912(0x36d)],_0x1f8d55[_0x274912(0x42e)]),_0x37786f=_0x1f8d55[_0x274912(0x29e)]()+'\x20-\x20'+_0x285170(this['_injector'],_0x28592d),_0x57aa85=new _0x1861d8[(_0x274912(0x2dd))](_0x366c56,_0x37786f,_0x1861d8[_0x274912(0x2d1)](0x3),_0x1f8d55['getId'](),_0x28592d);_0x25b9d0[_0x274912(0x1f8)](_0x57aa85),_0x19fafa[_0x274912(0x2fa)](_0x366c56,_0x37786f),_0x2192f2[_0x274912(0x30a)](_0x366c56,_0x2cfb0f,(_0xf04da6!=null?_0xf04da6:0x0)+0x1),_0x136e4c=_0x57aa85;}}}}const _0x35a24b=_0x2192f2[_0x274912(0x23d)](),_0x3b7bd4=_0x2192f2['query']()[_0x274912(0x26c)]();let _0x39e245;if(_0x136e4c){_0x39e245=_0x136e4c[_0x274912(0x26c)]();const _0x27e8e9=_0x136e4c[_0x274912(0x3dc)]();_0x19fafa[_0x274912(0x4be)](_0x27e8e9);let _0x32cbdb=!0x0;for(const _0x4caea5 in _0x25b9d0[_0x274912(0x48d)])if(_0x25b9d0[_0x274912(0x48d)][_0x4caea5][_0x274912(0x20b)]()[_0x274912(0x3d1)](_0x27e8e9)){_0x32cbdb=!0x1;break;}_0x32cbdb&&_0x25b9d0[_0x274912(0x3cc)](_0x27e8e9);}const _0x1f0460=_0x2192f2[_0x274912(0x3b0)]();_0x59d9c6[_0x274912(0x1f6)]={'view':_0x3b7bd4,'changesets':_0x1f0460,'isEmpty':_0x35a24b,'pivotTableConfig':_0xff1be6,'shouldBeAddedGroupJSON':_0x39e245};}break;case _0x40af19[_0x274912(0x47d)]:{const _0x1e1ad3=_0x5de269[_0x274912(0x207)][_0x274912(0x256)];if(!_0x1e1ad3)return;const _0x5f2422=_0x1e1ad3[_0x274912(0x3f3)],_0x5a1c10=_0x1e1ad3['pivotTableId'],{collection:_0x53244e}=this[_0x274912(0x1f2)]['createCollectionWithDataRange']({'unitId':_0x5f2422[_0x274912(0x3d3)],'sheetName':_0x5f2422['sheetName'],'subUnitId':_0x5f2422['subUnitId'],'range':_0x5f2422['range']}),_0x1cfac4=new _0x1861d8['PivotTable'](_0x53244e,void 0x0,_0x5a1c10),_0xc960ce=_0x1cfac4['query'](),_0x308012=_0x1cfac4['toJSON'](),_0x1d27bf=_0x53244e[_0x274912(0x26c)]();_0x59d9c6['addPivotTable']={'view':_0xc960ce,'fieldsConfig':_0x308012,'collectionConfig':_0x1d27bf,'isEmpty':_0x1cfac4['isEmpty']()};}break;case _0x40af19[_0x274912(0x26a)]:{const _0x4d3e28=_0x5de269[_0x274912(0x207)]['movePivotField'];if(!_0x4d3e28)return;const {fieldId:_0x408f6a,area:_0x57417a,index:_0x120cbc}=_0x4d3e28,_0xffceb6=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0xffceb6)return;const _0x35f184=this['_sheetsPivotDataSourceModel'][_0x274912(0x1eb)](_0x528cf7);if(!_0x35f184)return;_0x35f184[_0x274912(0x3ea)]();const {area:_0x4ec8ab,index:_0x153715}=_0x35f184['getFieldPositionInfoById'](_0x408f6a);if(_0x35f184[_0x274912(0x323)](_0x408f6a,_0x57417a,_0x120cbc),_0x57417a===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x226)]&&_0x35f184[_0x274912(0x455)](_0x408f6a)[_0x274912(0x349)]()===void 0x0){const _0x32921e=_0x35f184[_0x274912(0x455)](_0x408f6a);if(_0x32921e&&_0x32921e[_0x274912(0x349)]()===void 0x0){const _0x279a97=_0x35f184[_0x274912(0x28e)](_0x408f6a);if(_0x279a97){const _0x210c1b=_0x279a97==null?void 0x0:_0x279a97[_0x274912(0x330)]();_0x35f184[_0x274912(0x40b)](_0x408f6a,_0x210c1b===_0x1861d8['PivotDataFieldDataTypeEnum'][_0x274912(0x3ba)]?_0x1861d8['PivotSubtotalTypeEnum'][_0x274912(0x290)]:_0x1861d8['PivotSubtotalTypeEnum']['count']);}}}const _0xb1069f=_0x35f184[_0x274912(0x420)](),_0x37a14f=_0x35f184[_0x274912(0x2ab)](),_0x549df9=_0x35f184[_0x274912(0x3f9)](_0x1861d8[_0x274912(0x1e1)][_0x274912(0x226)])>0x1;if(_0x549df9&&_0x4ec8ab===_0x57417a&&(_0x57417a===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x37a)]&&_0xb1069f===_0x1861d8[_0x274912(0x2bd)][_0x274912(0x37a)]||_0x57417a===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x322)]&&_0xb1069f===_0x1861d8['PivotTableValuePositionEnum']['Column'])){let _0x4b272c=_0x37a14f;_0x153715<=_0x37a14f&&_0x4b272c--,_0x120cbc<=_0x37a14f&&_0x4b272c++,_0x35f184[_0x274912(0x2f6)](_0xb1069f,_0x4b272c);}else _0x549df9&&(_0x4ec8ab===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x37a)]&&_0xb1069f===_0x1861d8[_0x274912(0x2bd)][_0x274912(0x37a)]||_0x4ec8ab===_0x1861d8[_0x274912(0x1e1)]['Column']&&_0xb1069f===_0x1861d8[_0x274912(0x2bd)][_0x274912(0x322)])&&_0x37a14f>=_0x153715&&_0x35f184[_0x274912(0x2f6)](_0xb1069f,_0x37a14f-0x1),_0x549df9&&(_0x57417a===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x37a)]&&_0xb1069f===_0x1861d8[_0x274912(0x2bd)][_0x274912(0x37a)]||_0x57417a===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x322)]&&_0xb1069f===_0x1861d8[_0x274912(0x2bd)]['Column'])&&_0x37a14f>=_0x120cbc&&_0x35f184[_0x274912(0x2f6)](_0xb1069f,_0x37a14f+0x1);const _0xea17b9=_0x35f184[_0x274912(0x403)](),_0x580093=_0x35f184[_0x274912(0x23d)](),_0x49317c=_0x35f184[_0x274912(0x3b0)]();_0x59d9c6[_0x274912(0x423)]={'view':_0xea17b9[_0x274912(0x26c)](),'changesets':_0x49317c,'isEmpty':_0x580093,'pivotTableConfig':_0xffceb6};}break;case _0x40af19[_0x274912(0x466)]:{const _0x1babf3=_0x5de269['params'][_0x274912(0x2f3)];if(!_0x1babf3)return;const _0xfd39db=_0x1babf3[_0x274912(0x1c1)],_0x415151=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x415151)return!0x1;const _0x10cdb8=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x528cf7);if(!_0x10cdb8)return!0x1;_0x10cdb8[_0x274912(0x3ea)]();for(const _0x495055 of _0xfd39db){const {area:_0x2c1c22}=_0x10cdb8['getFieldPositionInfoById'](_0x495055);_0x2c1c22===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x226)]&&_0x10cdb8[_0x274912(0x274)](_0x495055),(_0x2c1c22===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x37a)]||_0x2c1c22===_0x1861d8[_0x274912(0x1e1)][_0x274912(0x322)])&&_0x10cdb8[_0x274912(0x32b)](_0x495055),_0x10cdb8['removeField'](_0x495055);}const _0x35ddf8=_0x10cdb8['isEmpty'](),_0x961240=_0x10cdb8['query']()[_0x274912(0x26c)](),_0x3afa9c=_0x10cdb8[_0x274912(0x3b0)]();_0x59d9c6[_0x274912(0x2f3)]={'changesets':_0x3afa9c,'pivotTableConfig':_0x415151,'isEmpty':_0x35ddf8,'view':_0x961240};}break;case _0x40af19[_0x274912(0x28a)]:{const _0x4be45b=_0x5de269[_0x274912(0x207)][_0x274912(0x3f7)];if(!_0x4be45b)return;const {tableFieldId:_0x2c945f,items:_0x348a75,isAll:_0x47a625}=_0x4be45b,_0x2ff597=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x528cf7),_0x36df83=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x2ff597||!_0x36df83)return;_0x2ff597['startCollectChangeset'](),_0x2ff597[_0x274912(0x2c1)](_0x2c945f,{'type':_0x1861d8['PivotFilterTypeEnum'][_0x274912(0x461)],'list':_0x348a75,'isAll':_0x47a625});const _0x2b7f13=_0x2ff597[_0x274912(0x23d)](),_0x36d11d=_0x2ff597[_0x274912(0x403)]()[_0x274912(0x26c)](),_0x24b085=_0x2ff597[_0x274912(0x3b0)]();_0x59d9c6[_0x274912(0x3f7)]={'view':_0x36d11d,'changesets':_0x24b085,'isEmpty':_0x2b7f13,'pivotTableConfig':_0x36df83};}break;case _0x40af19['SetValuePivotFilter']:{const _0x10bbf2=_0x5de269[_0x274912(0x207)][_0x274912(0x441)];if(!_0x10bbf2)return;const {tableFieldId:_0x2eec47,filterInfo:_0x5ce509}=_0x10bbf2,_0x585afd=this[_0x274912(0x1f2)][_0x274912(0x1eb)](_0x528cf7),_0x1fa0fe=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x585afd||!_0x1fa0fe)return;_0x585afd[_0x274912(0x3ea)](),_0x585afd[_0x274912(0x2aa)](_0x2eec47,_0x5ce509);const _0x4f6b4c=_0x585afd[_0x274912(0x23d)](),_0x78b150=_0x585afd['query']()[_0x274912(0x26c)](),_0x4833cb=_0x585afd[_0x274912(0x3b0)]();_0x59d9c6[_0x274912(0x441)]={'view':_0x78b150,'changesets':_0x4833cb,'isEmpty':_0x4f6b4c,'pivotTableConfig':_0x1fa0fe};}break;case _0x40af19[_0x274912(0x2ee)]:{const _0x4dd8ad=_0x5de269[_0x274912(0x207)]['setPivotSort'];if(!_0x4dd8ad)return;const {tableFieldId:_0x531482,info:_0x20ab1a}=_0x4dd8ad,_0x44ee07=this[_0x274912(0x1f2)]['getPivotTableInstance'](_0x528cf7),_0x134758=this[_0x274912(0x1f2)]['getPivotTableConfig'](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x44ee07||!_0x134758)return;_0x44ee07[_0x274912(0x3ea)](),_0x44ee07[_0x274912(0x29d)](_0x531482,_0x20ab1a);const _0x5f386b=_0x44ee07[_0x274912(0x23d)](),_0x118a69=_0x44ee07[_0x274912(0x403)]()[_0x274912(0x26c)](),_0x4f1d01=_0x44ee07['endCollectChangeset']();_0x59d9c6[_0x274912(0x35c)]={'view':_0x118a69,'changesets':_0x4f1d01,'isEmpty':_0x5f386b,'pivotTableConfig':_0x134758};}break;case _0x40af19[_0x274912(0x373)]:{const _0x2d7025=_0x5de269[_0x274912(0x207)]['setPivotSetting'];if(!_0x2d7025)return;const {tableFieldId:_0x5dfcf5,displayName:_0x5aff54,subtotalType:_0x1bf023,format:_0x50e2ee}=_0x2d7025,_0x565690=this['_sheetsPivotDataSourceModel'][_0x274912(0x1eb)](_0x528cf7),_0x59a652=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x565690||!_0x59a652)return;_0x565690[_0x274912(0x3ea)](),_0x5aff54!==void 0x0&&_0x565690[_0x274912(0x25e)](_0x5dfcf5,_0x5aff54),_0x1bf023!==void 0x0&&_0x565690[_0x274912(0x40b)](_0x5dfcf5,_0x1bf023),_0x50e2ee!==void 0x0&&_0x565690[_0x274912(0x202)](_0x5dfcf5,_0x50e2ee);const _0x13e201=_0x565690['isEmpty'](),_0x655562=_0x565690['query']()[_0x274912(0x26c)](),_0x59b288=_0x565690['endCollectChangeset']();_0x59d9c6[_0x274912(0x3cd)]={'changesets':_0x59b288,'pivotTableConfig':_0x59a652,'isEmpty':_0x13e201,'view':_0x655562};}break;case _0x40af19[_0x274912(0x337)]:{const _0x3e5b4a=_0x5de269[_0x274912(0x207)][_0x274912(0x470)];if(!_0x3e5b4a)return;const {dataRangeInfo:_0xedfbfc,unitId:_0x1b4e60,subUnitId:_0x26d201}=_0x3e5b4a,_0x2234c2=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x1b4e60,_0x26d201,_0x528cf7),_0x21f21e=this[_0x274912(0x1f2)][_0x274912(0x1eb)](_0x528cf7);if(!this[_0x274912(0x1f2)][_0x274912(0x495)](_0x1b4e60,_0x528cf7)||!_0x21f21e||!_0x2234c2)return;const _0x3cd2d4=this[_0x274912(0x1f2)][_0x274912(0x303)](_0x1b4e60,_0x528cf7,_0xedfbfc),_0x14c18b=this[_0x274912(0x1f2)][_0x274912(0x495)](_0x1b4e60,_0x528cf7)[_0x274912(0x26c)](),{collection:_0x51eb16}=this['_sheetsPivotDataSourceModel'][_0x274912(0x24e)]({'unitId':_0xedfbfc['unitId'],'sheetName':_0xedfbfc[_0x274912(0x1c7)],'subUnitId':_0xedfbfc[_0x274912(0x3c1)],'range':_0xedfbfc[_0x274912(0x375)]}),_0x25bf29=_0x51eb16[_0x274912(0x26c)]();_0x21f21e[_0x274912(0x3ea)]();const _0x2b5b80=this['_sheetsPivotDataSourceModel'][_0x274912(0x2a2)](_0x1b4e60)['getAutoDisplayNameFunction']()||_0x1861d8[_0x274912(0x21e)];_0x21f21e[_0x274912(0x2b6)](_0x3036=>{const _0x82fdb4=_0x274912,_0x4139e7=_0x3036[_0x82fdb4(0x20d)]();if(!_0x51eb16[_0x82fdb4(0x338)](_0x4139e7)){const _0x127a65=_0x51eb16['getDataFieldBySourceName'](_0x3036[_0x82fdb4(0x203)]());if(_0x127a65){_0x21f21e['updateFieldSourceInfo'](_0x3036[_0x82fdb4(0x3dc)](),_0x127a65[_0x82fdb4(0x29e)](),_0x127a65[_0x82fdb4(0x3dc)]());const {area:_0x3af9f6}=_0x21f21e[_0x82fdb4(0x1fa)](_0x3036[_0x82fdb4(0x3dc)]());let _0x523c69=_0x3036['getSourceName']();const _0x598225=_0x3036[_0x82fdb4(0x348)]();if(_0x3af9f6===_0x1861d8['PivotTableFiledAreaEnum'][_0x82fdb4(0x226)]){const _0xac1f49=_0x3036[_0x82fdb4(0x349)]();_0x523c69=_0x2b5b80(_0x127a65[_0x82fdb4(0x29e)](),_0xac1f49);}_0x598225!==_0x523c69&&_0x21f21e[_0x82fdb4(0x25e)](_0x3036[_0x82fdb4(0x3dc)](),_0x523c69);}else _0x21f21e[_0x82fdb4(0x307)](_0x3036[_0x82fdb4(0x3dc)]());}});const _0x57f55d=_0x21f21e[_0x274912(0x23d)](),_0x208907=_0x21f21e[_0x274912(0x403)]()[_0x274912(0x26c)](),_0x273b78=_0x21f21e['endCollectChangeset']();_0x59d9c6['updatePivotSource']={'view':_0x208907,'changesets':_0x273b78,'isEmpty':_0x57f55d,'pivotTableConfig':_0x2234c2,'collectionConfig':_0x25bf29,'oldCollectionConfig':_0x14c18b,'deleteIds':_0x3cd2d4};}break;case _0x40af19[_0x274912(0x382)]:{const _0xe02bec=_0x5de269[_0x274912(0x207)][_0x274912(0x2f6)];if(!_0xe02bec)return;const {position:_0x4c38e0,index:_0x23bd30}=_0xe02bec,_0x27c81b=this['_sheetsPivotDataSourceModel'][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x27c81b)return!0x1;const _0x3b5559=this['_sheetsPivotDataSourceModel'][_0x274912(0x1eb)](_0x528cf7);if(!_0x3b5559)return!0x1;_0x3b5559[_0x274912(0x3ea)](),_0x3b5559[_0x274912(0x2f6)](_0x4c38e0,_0x23bd30);const _0x5a3db3=_0x3b5559[_0x274912(0x23d)](),_0x1f1fb2=_0x3b5559[_0x274912(0x403)]()[_0x274912(0x26c)](),_0x454931=_0x3b5559['endCollectChangeset']();_0x59d9c6[_0x274912(0x2f6)]={'changesets':_0x454931,'pivotTableConfig':_0x27c81b,'isEmpty':_0x5a3db3,'view':_0x1f1fb2};}break;case _0x40af19[_0x274912(0x245)]:{const _0x206741=_0x5de269[_0x274912(0x207)][_0x274912(0x486)];if(!_0x206741)return;const {tableFieldId:_0x3c678b,collapse:_0x2556ec,item:_0x493132}=_0x206741,_0x45e6c6=this['_sheetsPivotDataSourceModel'][_0x274912(0x1eb)](_0x528cf7),_0x2d9b2b=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x45e6c6||!_0x2d9b2b)return;_0x45e6c6['startCollectChangeset'](),_0x45e6c6[_0x274912(0x409)](_0x3c678b,_0x2556ec,_0x493132);const _0x20a7ea=_0x45e6c6[_0x274912(0x23d)](),_0x187238=_0x45e6c6[_0x274912(0x403)]()['toJSON'](),_0xae557e=_0x45e6c6[_0x274912(0x3b0)]();_0x59d9c6[_0x274912(0x486)]={'view':_0x187238,'isEmpty':_0x20a7ea,'pivotTableConfig':_0x2d9b2b,'changesets':_0xae557e};}break;case _0x40af19[_0x274912(0x25a)]:{const _0x86ba69=_0x5de269[_0x274912(0x207)]['setPivotTableConfig'];if(!_0x86ba69)return;const {pivotTableConfig:_0x486796}=_0x86ba69,_0x2cf7c6=this['_sheetsPivotDataSourceModel'][_0x274912(0x1eb)](_0x528cf7),_0x675c5=this[_0x274912(0x1f2)][_0x274912(0x439)](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x2cf7c6||!_0x675c5)return;_0x2cf7c6[_0x274912(0x3ea)](),_0x3bedf6(_0x2cf7c6,_0x486796);const _0x153f3c=_0x2cf7c6[_0x274912(0x23d)](),_0x30f87a=_0x2cf7c6[_0x274912(0x403)]()[_0x274912(0x26c)](),_0x373707=_0x2cf7c6[_0x274912(0x3b0)]();_0x59d9c6[_0x274912(0x381)]={'view':_0x30f87a,'isEmpty':_0x153f3c,'pivotTableConfig':{..._0x675c5,'fieldsConfig':_0x2cf7c6[_0x274912(0x26c)]()},'changesets':_0x373707};}break;case _0x40af19[_0x274912(0x3b8)]:{const _0x5d6351=_0x5de269['params'][_0x274912(0x44a)];if(!_0x5d6351)return;const _0x9eff2a=this[_0x274912(0x1f2)]['getPivotTableInstance'](_0x528cf7),_0x26f288=this[_0x274912(0x1f2)]['getPivotTableConfig'](_0x563ed9,_0x4e3c14,_0x528cf7);if(!_0x9eff2a||!_0x26f288)return;_0x9eff2a[_0x274912(0x3ea)](),_0x339ded(_0x9eff2a,_0x5d6351[_0x274912(0x484)]);const _0x6c5838=_0x9eff2a[_0x274912(0x403)]()[_0x274912(0x26c)](),_0x2a6ff0=_0x9eff2a['endCollectChangeset']();_0x59d9c6[_0x274912(0x44a)]={'view':_0x6c5838,'isEmpty':!0x0,'pivotTableConfig':{..._0x26f288,'fieldsConfig':_0x9eff2a['toJSON']()},'changesets':_0x2a6ff0};}break;case _0x40af19['AddPivotTableWithConfig']:{const _0x2f1121=_0x5de269['params'][_0x274912(0x39f)];if(!_0x2f1121)return;const _0x593a71=_0x2f1121['sourceRangeInfo'],_0x3c87b5=_0x2f1121['pivotTableId'],{collection:_0x49b7ab}=this[_0x274912(0x1f2)][_0x274912(0x24e)]({'unitId':_0x593a71[_0x274912(0x3d3)],'sheetName':_0x593a71[_0x274912(0x1c7)],'subUnitId':_0x593a71[_0x274912(0x3c1)],'range':_0x593a71['range']}),_0x3d103b=new _0x1861d8[(_0x274912(0x3fc))](_0x49b7ab,void 0x0,_0x3c87b5),_0x431cb5=_0x49b7ab['getFieldIds'](),{rows:_0x4accf9,columns:_0x5c92a3,filters:_0x49f90d,values:_0x338159}=_0x2f1121[_0x274912(0x239)];_0x3d103b['startCollectChangeset']();for(const {field:_0x3fb944,selectedItems:_0x44d5bc}of _0x4accf9||[]){const _0x5c71b7=_0x431cb5[_0x3fb944];if(_0x5c71b7){const _0x20f785=_0x3d103b[_0x274912(0x30a)](_0x5c71b7,_0x1861d8[_0x274912(0x1e1)][_0x274912(0x37a)]);_0x44d5bc&&_0x20f785&&_0x3d103b[_0x274912(0x2c1)](_0x20f785[_0x274912(0x3dc)](),{'type':_0x1861d8['PivotFilterTypeEnum'][_0x274912(0x461)],'list':_0x44d5bc,'isAll':!0x1});}}for(const {field:_0x298fc1,selectedItems:_0x4b915e}of _0x5c92a3||[]){const _0x1f0ba5=_0x431cb5[_0x298fc1];if(_0x1f0ba5){const _0x93d2ff=_0x3d103b[_0x274912(0x30a)](_0x1f0ba5,_0x1861d8[_0x274912(0x1e1)]['Column']);_0x4b915e&&_0x93d2ff&&_0x3d103b['setLabelFilterInfo'](_0x93d2ff['getId'](),{'type':_0x1861d8['PivotFilterTypeEnum'][_0x274912(0x461)],'list':_0x4b915e,'isAll':!0x1});}}for(const {field:_0x2d94bd,selectedItems:_0x357fec}of _0x49f90d||[]){const _0x3a6845=_0x431cb5[_0x2d94bd];if(_0x3a6845){const _0x3e4151=_0x3d103b[_0x274912(0x30a)](_0x3a6845,_0x1861d8['PivotTableFiledAreaEnum']['Filter']);_0x357fec&&_0x3e4151&&_0x3d103b[_0x274912(0x2c1)](_0x3e4151[_0x274912(0x3dc)](),{'type':_0x1861d8[_0x274912(0x4b3)][_0x274912(0x461)],'list':_0x357fec,'isAll':!0x1});}}for(const {field:_0x3b8112,subTotalType:_0x2ebebb,formatString:_0x4fbe5c}of _0x338159||[]){const _0x54c32a=_0x49b7ab[_0x274912(0x3dd)](_0x431cb5[_0x3b8112]);if(!_0x54c32a)continue;const _0x58dabb=_0x431cb5[_0x3b8112];if(_0x58dabb){const _0x25cfe2=_0x3d103b[_0x274912(0x30a)](_0x58dabb,_0x1861d8[_0x274912(0x1e1)]['Value']);if(_0x25cfe2){if(_0x2ebebb!==void 0x0){_0x3d103b['setSubtotalType'](_0x25cfe2[_0x274912(0x3dc)](),_0x2ebebb);const _0x43a035=this[_0x274912(0x1f2)][_0x274912(0x2a2)](_0x593a71['unitId'])['getAutoDisplayNameFunction']()||_0x1861d8['getAutoDisplayName'],_0x1b9d0b=_0x49b7ab[_0x274912(0x348)](_0x58dabb),_0x29088c=_0x43a035(_0x1b9d0b,_0x2ebebb);_0x3d103b[_0x274912(0x25e)](_0x25cfe2['getId'](),_0x29088c);}else{if(_0x54c32a){const _0x30558c=_0x54c32a==null?void 0x0:_0x54c32a[_0x274912(0x330)]();_0x3d103b[_0x274912(0x40b)](_0x25cfe2['getId'](),_0x30558c===_0x1861d8[_0x274912(0x2ac)][_0x274912(0x3ba)]?_0x1861d8[_0x274912(0x417)][_0x274912(0x290)]:_0x1861d8['PivotSubtotalTypeEnum']['count']);}}_0x4fbe5c&&_0x3d103b[_0x274912(0x202)](_0x25cfe2['getId'](),_0x4fbe5c);}}}const _0x3515ff=_0x3d103b[_0x274912(0x403)](),_0x4b42f4=_0x3d103b[_0x274912(0x26c)](),_0x50e388=_0x3d103b[_0x274912(0x23d)](),_0x5518d1=_0x3d103b[_0x274912(0x3b0)](),_0x19db6a=_0x49b7ab[_0x274912(0x26c)]();_0x59d9c6[_0x274912(0x39f)]={'view':_0x3515ff,'fieldsConfig':_0x4b42f4,'collectionConfig':_0x19db6a,'isEmpty':_0x50e388,'changesets':_0x5518d1};}break;case _0x40af19[_0x274912(0x4a6)]:{const _0x23b2fa=_0x5018f8(this[_0x274912(0x1d3)],_0x5de269);if(!_0x23b2fa)return;const {range:_0xfebac1,sourceSubUnitId:_0x1b4d35,sourceUnitId:_0xf7486f,formatMap:_0x7a1b7,indexes:_0x4182aa}=_0x23b2fa;_0x59d9c6[_0x274912(0x1b6)]={'range':_0xfebac1,'sourceSubUnitId':_0x1b4d35,'sourceUnitId':_0xf7486f,'formatMap':_0x7a1b7,'indexes':_0x4182aa};}break;}this[_0x274912(0x462)][_0x274912(0x4c0)](_0x54b22f['id'],{'version':_0x5de269[_0x274912(0x456)],'result':_0x59d9c6},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x3e9352=_0x4bf7c9;this[_0x3e9352(0x413)](this[_0x3e9352(0x462)][_0x3e9352(0x29c)](_0x359e19=>{const _0x3a2b24=_0x3e9352;if(_0x359e19['id']!==_0x152a62['id'])return;const _0x4e845c=_0x359e19['params'];return this[_0x3a2b24(0x1f2)]['setTextInfo'](_0x4e845c[_0x3a2b24(0x485)]),!0x0;}));}[_0x4bf7c9(0x372)](){const _0x4e5301=_0x4bf7c9;this[_0x4e5301(0x1f2)]['collectionChange$']['subscribe'](_0x589329=>{const _0x413d93=_0x4e5301;switch(_0x589329['type']){case _0x16d496[_0x413d93(0x2a4)]:_0x589329[_0x413d93(0x305)]&&_0x589329['targetCellInfo']&&this[_0x413d93(0x494)](_0x589329[_0x413d93(0x3c5)],_0x589329[_0x413d93(0x305)],_0x589329['targetCellInfo']);break;case _0x16d496[_0x413d93(0x286)]:{const {unitId:_0x1f59ee,subUnitId:_0x5ca346,token:_0x11f902}=_0x589329;_0x1f59ee&&_0x5ca346&&_0x11f902&&this['removeSourceRangeChange'](_0x1f59ee,_0x5ca346,_0x11f902);}break;case _0x16d496['update']:{const {token:_0x4b346e,oldSourceRangeInfo:_0x5b9949,dataRangeInfo:_0x326daa,targetCellInfo:_0x5949b9}=_0x589329,{unitId:_0x36b981,subUnitId:_0x337005}=_0x5b9949||{};_0x36b981&&_0x337005&&_0x4b346e&&this[_0x413d93(0x487)](_0x36b981,_0x337005,_0x4b346e),_0x326daa&&_0x5949b9&&this[_0x413d93(0x494)](_0x4b346e,_0x326daa,_0x5949b9);}break;}});}[_0x4bf7c9(0x29b)](){const _0x7737cb=_0x4bf7c9;this[_0x7737cb(0x1f2)]['fieldsCollectionChange$']['subscribe'](_0x1f6a1c=>{const _0x21a69e=_0x7737cb;Object['keys'](_0x1f6a1c)[_0x21a69e(0x1e7)](_0x4da10c=>{const _0x18b394=_0x21a69e,_0x40f22d=this[_0x18b394(0x1f2)][_0x18b394(0x40a)](_0x4da10c);if(_0x40f22d){const _0x20cb27=this['_sheetsPivotDataSourceModel'][_0x18b394(0x439)](_0x40f22d==null?void 0x0:_0x40f22d[_0x18b394(0x3d3)],_0x40f22d==null?void 0x0:_0x40f22d[_0x18b394(0x3c1)],_0x4da10c);_0x20cb27&&(this['handleSourceRangeChange'](_0x4da10c,_0x20cb27[_0x18b394(0x3f3)],_0x20cb27['targetCellInfo']),this[_0x18b394(0x3bb)]([{'unitId':_0x40f22d[_0x18b394(0x3d3)],'subUnitId':_0x40f22d[_0x18b394(0x3c1)],'token':_0x4da10c}]));}});});}[_0x4bf7c9(0x371)](){const _0xf0445a=_0x4bf7c9;this[_0xf0445a(0x1f2)][_0xf0445a(0x1be)][_0xf0445a(0x4b8)](_0x2405af=>{const _0x30aaed=_0xf0445a,{unitId:_0x44fd52,subUnitId:_0x2b6891,pivotTableId:_0x4791bc}=_0x2405af;_0x44fd52&&_0x2b6891&&_0x4791bc&&this[_0x30aaed(0x3bb)]([{'unitId':_0x44fd52,'subUnitId':_0x2b6891,'token':_0x4791bc}]);});}[_0x4bf7c9(0x3bb)](_0x75eb57){const _0x5eaa80=_0x4bf7c9,_0x5a8e1d={};_0x75eb57['forEach'](_0x457251=>{var _0x6044a,_0x3f9a83;const {unitId:_0x3e95cb,subUnitId:_0x51d25b,token:_0x23ca13}=_0x457251;_0x5a8e1d[_0x3e95cb]=(_0x6044a=_0x5a8e1d[_0x3e95cb])!=null?_0x6044a:{},_0x5a8e1d[_0x3e95cb][_0x51d25b]=(_0x3f9a83=_0x5a8e1d[_0x3e95cb][_0x51d25b])!=null?_0x3f9a83:{},_0x5a8e1d[_0x3e95cb][_0x51d25b][_0x23ca13]=!0x0;}),this[_0x5eaa80(0x462)]['executeCommand'](_0x541879['id'],_0x5a8e1d);}[_0x4bf7c9(0x487)](_0xefe328,_0xe5bfcf,_0x386fd1){const _0x5a1f13=_0x4bf7c9;this[_0x5a1f13(0x4ab)][_0x5a1f13(0x45b)](_0xefe328,_0xe5bfcf,[_0x386fd1]);}['handleSourceRangeChange'](_0x5c587b,_0x104dc4,_0x1fede1){const _0x476f01=_0x4bf7c9,{unitId:_0x622c35,subUnitId:_0x355f01}=_0x104dc4;this[_0x476f01(0x4ab)][_0x476f01(0x2cb)](_0x1fede1[_0x476f01(0x3d3)],_0x1fede1[_0x476f01(0x3c1)],_0x5c587b)&&this['removeSourceRangeChange'](_0x622c35,_0x355f01,_0x5c587b);const _0x40369a={'sheetId':_0x355f01,..._0x104dc4};this[_0x476f01(0x4ab)][_0x476f01(0x22c)](_0x1fede1[_0x476f01(0x3d3)],_0x1fede1[_0x476f01(0x3c1)],_0x5c587b,{'unitId':_0x1fede1['unitId'],'subUnitId':_0x1fede1[_0x476f01(0x3c1)],'dependencyRanges':[_0x40369a],'getDirtyData':(_0x45039f,_0x21bf2e)=>{const _0x8f602e=_0x476f01,_0x1f086d=this[_0x8f602e(0x1f2)],_0x1ab356=_0x1f086d['getTargetByPivotId'](_0x5c587b);if(!_0x1ab356)return _0xe2f79e();const {unitId:_0x374a0a,subUnitId:_0x181e6b}=_0x1ab356,_0x236e93=_0xcc4ada(_0x45039f,_0x21bf2e,_0x104dc4);if(_0x236e93[_0x8f602e(0x390)]>0x0){const _0x4a95f8=_0x1f086d['getCollection'](_0x622c35,_0x5c587b),_0x391873=_0x4a95f8['getFieldIds'](),_0x5ddbed=this[_0x8f602e(0x32d)](_0x104dc4['unitId'],_0x104dc4[_0x8f602e(0x3c1)],_0x21bf2e),_0x3be4a8={},_0x1f68b1=this['_sheetsPivotDataSourceModel'][_0x8f602e(0x2a2)](_0x374a0a)[_0x8f602e(0x2f4)]()||_0x1861d8[_0x8f602e(0x21e)],_0x1b2200=[];for(const _0xfce067 of _0x236e93){const _0x52015a=_0xfce067-(_0x104dc4[_0x8f602e(0x375)]['startColumn']||0x0),_0x2ed61b=_0x391873[_0x52015a];_0x1b2200[_0x8f602e(0x1fc)](_0x2ed61b),_0x3be4a8[_0x2ed61b]=_0x4a95f8[_0x8f602e(0x3dd)](_0x2ed61b)[_0x8f602e(0x29e)](),_0x1f086d[_0x8f602e(0x2a2)](_0x622c35)[_0x8f602e(0x1df)](_0x2ed61b,_0x104dc4,_0x52015a,_0x5ddbed);}_0x4a95f8[_0x8f602e(0x44f)](_0x1b2200)[_0x8f602e(0x1e7)](_0xc84eae=>{const _0x5141ad=_0x8f602e,[_0x3dde05,_0x4706a5]=_0xc84eae,_0x506120=_0x4a95f8[_0x5141ad(0x3dd)](_0x3dde05),_0xd7d579=_0x4a95f8[_0x5141ad(0x3dd)](_0x4706a5);_0x506120&&_0xd7d579&&_0x506120['refreshGroupField'](_0xd7d579);}),_0x4a95f8[_0x8f602e(0x2fd)]();const _0x27f922=_0x1f086d[_0x8f602e(0x1eb)](_0x5c587b);if(_0x27f922){_0x3a13a0(_0x27f922,_0x3be4a8,_0x1f68b1),_0x27f922[_0x8f602e(0x3b7)](!0x0);const _0x16c901=_0x27f922[_0x8f602e(0x403)](),_0x50f2e1=_0x1f086d[_0x8f602e(0x439)](_0x374a0a,_0x181e6b,_0x5c587b),_0x219197=_0x1f086d[_0x8f602e(0x2a2)](_0x622c35)[_0x8f602e(0x26c)]();_0x1f086d[_0x8f602e(0x308)](_0x374a0a,_0x181e6b,_0xefe34[_0x8f602e(0x3c0)],_0x5c587b,_0x16c901,_0x50f2e1,_0x219197,!0x0);}}return this[_0x8f602e(0x3e4)](_0x374a0a,_0x181e6b,_0x5c587b);}});}[_0x4bf7c9(0x32d)](_0x579b0f,_0x4e6085,_0x1cc2f6){var _0x3d4593,_0x21725b;const {arrayFormulaCellData:_0x2672ca,unitData:_0x5b13f0}=_0x1cc2f6,_0xf2ae08=(_0x3d4593=_0x2672ca==null?void 0x0:_0x2672ca[_0x579b0f])==null?void 0x0:_0x3d4593[_0x4e6085],_0x5b6a79=(_0x21725b=_0x5b13f0==null?void 0x0:_0x5b13f0[_0x579b0f])==null?void 0x0:_0x21725b[_0x4e6085];return{'arrayFormulaCellDataMatrix':_0xf2ae08,'unitDataMatrix':_0x5b6a79};}[_0x4bf7c9(0x3e4)](_0x5ca2a7,_0x1967bb,_0x54fb9c){const _0x65f9ab=_0x4bf7c9,_0x5c118d=this[_0x65f9ab(0x1f2)][_0x65f9ab(0x4bf)](_0x5ca2a7,_0x1967bb,_0x54fb9c),_0x4db32b=[],_0x29d04c=new _0x181393[(_0x65f9ab(0x219))]();if(_0x5c118d){const {rangeCache:_0x1ba958,matrix:_0x9547c5,oldRangeCache:_0x2b43de,oldMatrix:_0x13a113}=_0x5c118d,_0x2dc86f=_0x22f57d(_0x2b43de),_0x2f3afa=_0x22f57d(_0x1ba958);_0x4db32b[_0x65f9ab(0x1fc)](..._0x2f3afa,..._0x2dc86f),_0x13a113&&_0x2b43de&&_0x2dc86f['forEach'](_0x48f8c6=>{const _0x53e840=_0x65f9ab;for(let _0x50c4f6=_0x48f8c6[_0x53e840(0x30c)];_0x50c4f6<=_0x48f8c6[_0x53e840(0x433)];_0x50c4f6++)for(let _0x55a2a1=_0x48f8c6[_0x53e840(0x2c5)];_0x55a2a1<=_0x48f8c6[_0x53e840(0x1f5)];_0x55a2a1++)_0x29d04c['realDeleteValue'](_0x50c4f6,_0x55a2a1);}),_0x9547c5&&_0x2f3afa&&_0x2f3afa[_0x65f9ab(0x1e7)](_0x35ffb2=>{const _0xdef731=_0x65f9ab;for(let _0x1c887b=_0x35ffb2[_0xdef731(0x30c)];_0x1c887b<=_0x35ffb2[_0xdef731(0x433)];_0x1c887b++)for(let _0x4ac589=_0x35ffb2[_0xdef731(0x2c5)];_0x4ac589<=_0x35ffb2['endColumn'];_0x4ac589++)_0x29d04c[_0xdef731(0x242)](_0x1c887b,_0x4ac589,_0x9547c5['getValue'](_0x1c887b,_0x4ac589));});}const _0x4ad0af={};return _0x4ad0af[_0x5ca2a7]={[_0x1967bb]:_0x464928(_0x4db32b)},{'runtimeCellData':{[_0x5ca2a7]:{[_0x1967bb]:_0x29d04c}},'dirtyRanges':_0x4ad0af};}[_0x4bf7c9(0x311)](){}};_0x50fbca=_0x34e1b8([_0x4f2a55(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68[_0x4bf7c9(0x1d5)])),_0x4f2a55(0x1,_0x181393[_0x4bf7c9(0x27d)](_0x1a014a[_0x4bf7c9(0x2f0)])),_0x4f2a55(0x2,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x4a0)])),_0x4f2a55(0x3,_0x181393[_0x4bf7c9(0x27d)](_0x1a014a[_0x4bf7c9(0x3aa)])),_0x4f2a55(0x4,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x2ec)]))],_0x50fbca);var _0x31a898=Object[_0x4bf7c9(0x490)],_0x32b8e5=(_0xee2413,_0x34a8fd,_0x34de15,_0x130344)=>{const _0x1357dd=_0x4bf7c9;for(var _0x55d25b=_0x130344>0x1?void 0x0:_0x130344?_0x31a898(_0x34a8fd,_0x34de15):_0x34a8fd,_0x54f051=_0xee2413[_0x1357dd(0x390)]-0x1,_0x331d46;_0x54f051>=0x0;_0x54f051--)(_0x331d46=_0xee2413[_0x54f051])&&(_0x55d25b=_0x331d46(_0x55d25b)||_0x55d25b);return _0x55d25b;},_0x53594d=(_0x3767d9,_0x33423b)=>(_0x39a65e,_0x3c9310)=>_0x33423b(_0x39a65e,_0x3c9310,_0x3767d9);let _0x2b9e54=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x5ead56,_0x5cd1b1,_0x14c03e,_0xa53810){const _0x10f3cd=_0x4bf7c9;super(),_0x3f85d0(this,_0x10f3cd(0x282),new _0x181393[(_0x10f3cd(0x438))]()),(this[_0x10f3cd(0x3ad)]=_0x5ead56,this[_0x10f3cd(0x28f)]=_0x5cd1b1,this[_0x10f3cd(0x3db)]=_0x14c03e,this[_0x10f3cd(0x49c)]=_0xa53810,this[_0x10f3cd(0x41a)]());}['_initClearSelectionCommandInterceptor'](){const _0x541c37=_0x4bf7c9;this[_0x541c37(0x413)](this[_0x541c37(0x28f)]['interceptCommand']({'getMutations':_0x4ef096=>{const _0x5a1853=_0x541c37;if(_0x4ef096['id']===_0x3e3843[_0x5a1853(0x2c6)]['id']||_0x4ef096['id']===_0x3e3843['ClearSelectionAllCommand']['id']){const _0x3a34dd=[],_0x57b8da=[],_0x17163f=this[_0x5a1853(0x3db)]['getCurrentSelections']()[_0x5a1853(0x4b2)](_0x4c2a1f=>_0x4c2a1f[_0x5a1853(0x375)]),_0x34b323=_0x3e3843[_0x5a1853(0x36e)](this['_univerInstanceService']);if(!_0x34b323)return{'redos':[],'undos':[]};const {unitId:_0x2a2d64,subUnitId:_0x515176}=_0x34b323,_0x1b0114={},_0xd6a566=this[_0x5a1853(0x49c)][_0x5a1853(0x279)](_0x2a2d64,_0x515176);if(_0xd6a566!=null&&_0xd6a566[_0x5a1853(0x379)])for(const [_0x523aa5,_0x59cef7]of _0xd6a566){const {unitId:_0x3dd1de,subUnitId:_0x5eab09,row:_0x4d4246,col:_0xb125a9}=_0x59cef7[_0x5a1853(0x3e0)];_0x3dd1de===_0x34b323['unitId']&&_0x5eab09===_0x34b323[_0x5a1853(0x3c1)]&&(_0x1b0114[_0x4d4246+'-'+_0xb125a9]=_0x523aa5);}return _0x17163f&&_0x34b323&&_0x17163f[_0x5a1853(0x1e7)](_0xc55828=>{const _0x50059d=_0x5a1853;_0x181393[_0x50059d(0x22f)][_0x50059d(0x1d0)](_0xc55828,(_0x513b4a,_0x262294)=>{const _0x34406d=_0x50059d,_0xc3cb48=_0x513b4a+'-'+_0x262294;if(_0x1b0114[_0xc3cb48]){const _0x24d55b=_0x1b0114[_0xc3cb48];_0x3a34dd[_0x34406d(0x1fc)]({'id':_0x270d6c['id'],'params':{'unitId':_0x2a2d64,'subUnitId':_0x515176,'pivotTableId':_0x24d55b}});const _0xac21ad=this[_0x34406d(0x49c)][_0x34406d(0x495)](_0x2a2d64,_0x24d55b),_0x1ab08b=this[_0x34406d(0x49c)]['getPivotTableConfig'](_0x2a2d64,_0x515176,_0x24d55b);_0x57b8da[_0x34406d(0x1fc)]({'id':_0x429471['id'],'params':{'unitId':_0x2a2d64,'subUnitId':_0x515176,'pivotTableId':_0x24d55b,'pivotTableConfig':_0x1ab08b,'collectionConfig':_0xac21ad}});}});}),{'redos':_0x3a34dd,'undos':_0x57b8da};}return{'redos':[],'undos':[]};}}));}};_0x2b9e54=_0x32b8e5([_0x53594d(0x0,_0x181393[_0x4bf7c9(0x271)]),_0x53594d(0x1,_0x181393[_0x4bf7c9(0x27d)](_0x3e3843[_0x4bf7c9(0x41c)])),_0x53594d(0x2,_0x181393[_0x4bf7c9(0x27d)](_0x3e3843[_0x4bf7c9(0x361)])),_0x53594d(0x3,_0x181393['Inject'](_0x1c1f68[_0x4bf7c9(0x4c8)]))],_0x2b9e54);var _0x5d8e28=Object['getOwnPropertyDescriptor'],_0x119c44=(_0x2d630a,_0x58797b,_0x11f1b5,_0xba8481)=>{const _0x32bc5f=_0x4bf7c9;for(var _0x149241=_0xba8481>0x1?void 0x0:_0xba8481?_0x5d8e28(_0x58797b,_0x11f1b5):_0x58797b,_0x12a8d3=_0x2d630a[_0x32bc5f(0x390)]-0x1,_0x445e4c;_0x12a8d3>=0x0;_0x12a8d3--)(_0x445e4c=_0x2d630a[_0x12a8d3])&&(_0x149241=_0x445e4c(_0x149241)||_0x149241);return _0x149241;},_0x2f5aa4=(_0x2b6b3b,_0x1e2bcf)=>(_0x449e7f,_0x373300)=>_0x1e2bcf(_0x449e7f,_0x373300,_0x2b6b3b);let _0x18f8f5=class extends _0x181393['Disposable']{constructor(_0x381813,_0x274dbe,_0x4d190c,_0x54f630,_0x18db5f){const _0x578611=_0x4bf7c9;super(),this[_0x578611(0x28f)]=_0x381813,this['_injector']=_0x274dbe,this[_0x578611(0x3ad)]=_0x4d190c,this[_0x578611(0x49c)]=_0x54f630,this['_sheetsPivotTableService']=_0x18db5f,this[_0x578611(0x427)]();}[_0x4bf7c9(0x243)](_0x485c0c,_0x13ea2a,_0x2b07c1){const _0x388435=_0x4bf7c9,{pageView:_0x1add52,cornerView:_0x4470c5,rowView:_0x529236,colView:_0x549de0,dataView:_0x1487d1}=_0x13ea2a,_0x49e0f6=_0x485c0c;let _0x562a4b;if(_0x2b07c1)_0x562a4b=[..._0x3f5dd8(_0x49e0f6)];else{const _0x41a4a8=_0x43d27d(_0x49e0f6,_0x1add52,!0x0),_0x96210a=_0x1add52[_0x388435(0x222)]>=0x0?_0x1add52[_0x388435(0x222)]+0x1:0x0,_0x24ade0=_0x4470c5[_0x388435(0x327)],_0x37b197=_0x4470c5['colCount'],_0x3cccb0=_0x41a4a8['length']>0x0?_0x43ffd9:0x0,_0x2b7a14=_0x43d27d({'row':_0x49e0f6[_0x388435(0x38c)]+_0x96210a+_0x3cccb0,'col':_0x49e0f6['col']},_0x4470c5,!0x1,!0x1),_0x4b4918=_0x43d27d({'row':_0x49e0f6[_0x388435(0x38c)]+_0x96210a+_0x3cccb0+_0x24ade0,'col':_0x49e0f6['col']},_0x529236,!0x1,!0x0),_0x59ae2e=_0x43d27d({'row':_0x49e0f6[_0x388435(0x38c)]+_0x96210a+_0x3cccb0,'col':_0x49e0f6['col']+_0x37b197},_0x549de0,!0x1,!0x0),_0x4e2927=_0x43d27d({'row':_0x49e0f6[_0x388435(0x38c)]+_0x96210a+_0x3cccb0+_0x24ade0,'col':_0x49e0f6[_0x388435(0x394)]+_0x37b197},_0x1487d1,!0x1,!0x0);_0x562a4b=[..._0x41a4a8,..._0x2b7a14,..._0x4b4918,..._0x59ae2e,..._0x4e2927];}return _0x562a4b;}['_initCommandInterceptListener'](){const _0x9b52ae=_0x4bf7c9;this[_0x9b52ae(0x413)](this[_0x9b52ae(0x399)][_0x9b52ae(0x32c)][_0x9b52ae(0x2d9)](this[_0x9b52ae(0x399)][_0x9b52ae(0x32c)][_0x9b52ae(0x21b)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x30776c,_0x4cdee7)=>{const _0x3a37fb=_0x9b52ae,{cellInfo:_0x1493de,view:_0x4d9808,isEmpty:_0x56d2ce}=_0x4cdee7,_0x25e254=_0x1493de,{unitId:_0xaab1de,subUnitId:_0x3a4ece}=_0x25e254,_0x5724a2=this[_0x3a37fb(0x243)](_0x1493de,_0x4d9808,_0x56d2ce),_0x173586=this[_0x3a37fb(0x28f)]['generateMutationsByRanges']({'unitId':_0xaab1de,'subUnitId':_0x3a4ece,'ranges':_0x5724a2}),_0xbcab4d=_0x594fe9(this['_injector'],_0xaab1de,_0x3a4ece,_0x5724a2);_0xbcab4d[_0x3a37fb(0x2da)]&&(_0x173586[_0x3a37fb(0x4a1)][_0x3a37fb(0x1fc)](_0xbcab4d[_0x3a37fb(0x333)]),_0x173586[_0x3a37fb(0x37c)]['push'](_0xbcab4d[_0x3a37fb(0x249)]));const _0x4b43d0=this[_0x3a37fb(0x47e)](_0x4d9808,_0x1493de);return _0x173586[_0x3a37fb(0x4a1)]['push'](..._0x4b43d0[_0x3a37fb(0x4a1)]),_0x173586[_0x3a37fb(0x37c)][_0x3a37fb(0x1fc)](..._0x4b43d0[_0x3a37fb(0x37c)]),{'redos':_0x173586[_0x3a37fb(0x4a1)],'undos':_0x173586[_0x3a37fb(0x37c)]};}}));}['getAutoFitColumnsMutations'](_0x4b6798,_0x261a5b){const _0x263bf0=_0x4bf7c9,{col:_0x4d5296,unitId:_0x4a26bb,subUnitId:_0xbf2372}=_0x261a5b,_0x3c6086=[],_0x4b8d69=[],_0x534e34=_0x3e3843[_0x263bf0(0x36e)](this['_univerInstanceService'],{'unitId':_0x4a26bb,'subUnitId':_0xbf2372});if(!_0x261a5b||!_0x4b6798||!_0x534e34)return{'undos':_0x4b8d69,'redos':_0x3c6086};const _0x55b10d=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0x4fdbd4,dataView:_0x214f03,cornerView:_0x2b20ec,rowView:_0x215d9d,formatMap:_0x13972a}=_0x4b6798,_0x389782=_0x26b058(_0x4fdbd4,_0x55b10d,!0x0,_0x13972a),_0x57ce11=_0x26b058(_0x215d9d,_0x55b10d,!0x1,_0x13972a),_0x354462=_0x3cfbb8(_0x214f03),_0x462943=_0x28321c(_0x2b20ec),{worksheet:_0x327cee}=_0x534e34;if(typeof window<'u'&&window[_0x263bf0(0x1ed)]){const _0x197736=_0x46c0ad[_0x263bf0(0x314)]({..._0x309be9[_0x263bf0(0x315)]}),_0x5298ff=_0x46c0ad[_0x263bf0(0x3a2)]['getTextSize'](_0x389782,_0x197736)[_0x263bf0(0x38b)]+0x10,_0x3cef73=_0x46c0ad[_0x263bf0(0x3a2)][_0x263bf0(0x201)](_0x354462,_0x197736)[_0x263bf0(0x38b)],_0xf78bdd=Math['floor'](Math[_0x263bf0(0x41f)](_0x5298ff,_0x3cef73))+0x10,_0x3a9b86=Math[_0x263bf0(0x262)](_0x46c0ad[_0x263bf0(0x3a2)]['getTextSize'](_0x57ce11,_0x197736)[_0x263bf0(0x38b)]),_0x37b0bb=Math['floor'](_0x46c0ad[_0x263bf0(0x3a2)][_0x263bf0(0x201)](_0x462943,_0x197736)['width']),_0x820d1=Math[_0x263bf0(0x41f)](_0x3a9b86,_0x37b0bb,0x28)+0xc,_0x2955dc=_0x4fdbd4[_0x263bf0(0x342)]+_0x2b20ec[_0x263bf0(0x342)],_0x34e8df={},_0x4d074a={};for(let _0x1d56f4=_0x4d5296;_0x1d56f4<_0x4d5296+_0x2955dc;_0x1d56f4++){const _0x4cc8e1=_0x327cee[_0x263bf0(0x46f)](_0x1d56f4);_0x34e8df[_0x1d56f4]=_0x4cc8e1,_0x1d56f4-_0x4d5296<_0x2b20ec['colCount']?_0x4d074a[_0x1d56f4-_0x4d5296]=_0x820d1:_0x4d074a[_0x1d56f4-_0x4d5296]=_0xf78bdd;}_0x3c6086[_0x263bf0(0x1fc)]({'id':_0x3e3843['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0xbf2372,'unitId':_0x4a26bb,'ranges':[{'startColumn':_0x4d5296,'endColumn':_0x4d5296+_0x2955dc-0x1,'startRow':0x0,'endRow':_0x327cee['getRowCount']()-0x1}],'colWidth':_0x4d074a}}),_0x4b8d69[_0x263bf0(0x1fc)]({'id':_0x3e3843[_0x263bf0(0x291)]['id'],'params':{'subUnitId':_0xbf2372,'unitId':_0x4a26bb,'ranges':[{'startColumn':_0x4d5296,'endColumn':_0x4d5296+_0x2955dc-0x1,'startRow':0x0,'endRow':_0x327cee[_0x263bf0(0x2ba)]()-0x1}],'colWidth':_0x34e8df}});}return{'undos':_0x4b8d69,'redos':_0x3c6086};}};_0x18f8f5=_0x119c44([_0x2f5aa4(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x3e3843[_0x4bf7c9(0x41c)])),_0x2f5aa4(0x1,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x2ec)])),_0x2f5aa4(0x2,_0x181393['Inject'](_0x181393[_0x4bf7c9(0x271)])),_0x2f5aa4(0x3,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68[_0x4bf7c9(0x4c8)])),_0x2f5aa4(0x4,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68[_0x4bf7c9(0x44c)]))],_0x18f8f5);var _0x3c7993=Object[_0x4bf7c9(0x490)],_0x4a28b6=(_0x12624f,_0x229fec,_0x2ac55e,_0x1908c8)=>{const _0x445815=_0x4bf7c9;for(var _0x59abad=_0x1908c8>0x1?void 0x0:_0x1908c8?_0x3c7993(_0x229fec,_0x2ac55e):_0x229fec,_0x45129f=_0x12624f[_0x445815(0x390)]-0x1,_0x167af8;_0x45129f>=0x0;_0x45129f--)(_0x167af8=_0x12624f[_0x45129f])&&(_0x59abad=_0x167af8(_0x59abad)||_0x59abad);return _0x59abad;},_0x292efc=(_0x542339,_0x3523cb)=>(_0x5cb341,_0x558f9d)=>_0x3523cb(_0x5cb341,_0x558f9d,_0x542339);let _0x2e8433=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x531578,_0x3972b3,_0xdb2a86,_0x335f03,_0x4133f4,_0x53ed76,_0x4ed5c5){const _0x4eb9c0=_0x4bf7c9;super(),_0x3f85d0(this,_0x4eb9c0(0x282),new _0x181393[(_0x4eb9c0(0x438))]()),(this[_0x4eb9c0(0x1d3)]=_0x531578,this[_0x4eb9c0(0x33a)]=_0x3972b3,this[_0x4eb9c0(0x462)]=_0xdb2a86,this['_univerInstanceService']=_0x335f03,this[_0x4eb9c0(0x49c)]=_0x4133f4,this[_0x4eb9c0(0x31d)]=_0x53ed76,this[_0x4eb9c0(0x28f)]=_0x4ed5c5,this[_0x4eb9c0(0x408)]());}[_0x4bf7c9(0x408)](){const _0x11efef=_0x4bf7c9,_0xfcc597=(_0x23d07a,_0x45e65f)=>{const _0x30e691=_0x4d80,_0x3dc037=this['_univerInstanceService']['getCurrentUnitForType'](_0x181393[_0x30e691(0x23b)][_0x30e691(0x46e)]);if(!_0x3dc037||!(_0x3dc037==null?void 0x0:_0x3dc037[_0x30e691(0x280)](_0x45e65f)))return;this[_0x30e691(0x282)][_0x30e691(0x311)]();const _0x30d86b=_0x7541bf=>this[_0x30e691(0x42d)](_0x7541bf,_0x23d07a,_0x45e65f),_0x957573=this[_0x30e691(0x49c)][_0x30e691(0x279)](_0x23d07a,_0x45e65f);if(!(_0x957573!=null&&_0x957573[_0x30e691(0x379)]))return;Array['from'](_0x957573[_0x30e691(0x380)]())['map'](_0x36f9cc=>{const _0xf9bfc4=_0x30e691,{row:_0x3533e0,col:_0x3d5fca}=_0x36f9cc[_0xf9bfc4(0x3e0)];return _0x181393[_0xf9bfc4(0x432)](_0x3533e0,_0x3d5fca);})['forEach'](_0x34430b=>{const _0xeb0dba=_0x30e691;this[_0xeb0dba(0x282)]['add'](this[_0xeb0dba(0x33a)][_0xeb0dba(0x369)](_0x34430b,_0x30d86b,_0x23d07a,_0x45e65f));});},_0x5f19ea=()=>{const _0x216caa=_0x4d80,_0x511928=this[_0x216caa(0x3ad)][_0x216caa(0x300)](_0x181393['UniverInstanceType'][_0x216caa(0x46e)]);if(_0x511928){const _0x1be744=_0x511928[_0x216caa(0x1ca)]();if(!_0x1be744)return;_0xfcc597(_0x511928['getUnitId'](),_0x1be744[_0x216caa(0x1b5)]());}};this[_0x11efef(0x413)](this['_commandService'][_0x11efef(0x29c)](_0x2ae26c=>{const _0x1922d8=_0x11efef;if(_0x2ae26c['id']===_0x3e3843[_0x1922d8(0x3f1)]['id']){const _0x36566b=_0x2ae26c[_0x1922d8(0x207)],_0x387375=_0x36566b[_0x1922d8(0x3c1)],_0x2cb029=_0x36566b[_0x1922d8(0x3d3)];if(!_0x387375||!_0x2cb029)return;_0xfcc597(_0x2cb029,_0x387375);}})),this[_0x11efef(0x413)](this[_0x11efef(0x49c)][_0x11efef(0x2ce)][_0x11efef(0x4b8)](_0x3102ec=>{_0x3102ec&&_0x5f19ea();})),this[_0x11efef(0x413)](this['_sheetsPivotTableConfigModel'][_0x11efef(0x23f)]['subscribe'](_0x1eb0f6=>{const _0x437325=_0x11efef,_0x357925=_0x3e3843['getSheetCommandTarget'](this[_0x437325(0x3ad)]);if(!_0x357925)return;const {unitId:_0x55a0a6,subUnitId:_0x516e92}=_0x357925,{unitId:_0x314bf5,subUnitId:_0x46f93c}=_0x1eb0f6;_0x55a0a6!==_0x314bf5||_0x516e92!==_0x46f93c||_0xfcc597(_0x55a0a6,_0x516e92);})),_0x5f19ea();}['_refRangeHandle'](_0xe41a5,_0x22f3af,_0x5d44cc){const _0x144141=_0x4bf7c9;switch(_0xe41a5['id']){case _0x3e3843[_0x144141(0x2dc)]['id']:return this[_0x144141(0x40e)](_0xe41a5['params'],_0x22f3af,_0x5d44cc);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x2d9570,_0x2c123c,_0x4af2b0){const _0x36fabb=_0x4bf7c9,{fromRange:_0x24e82e,toRange:_0x2d3cba}=_0x2d9570,_0x550ccd=[],_0x5b3d68=[],_0x1d6591=_0x3e3843[_0x36fabb(0x36e)](this[_0x36fabb(0x3ad)]);if(!_0x1d6591)return{'undos':_0x5b3d68,'redos':_0x550ccd};if(_0x2c123c!==_0x1d6591['unitId']||_0x4af2b0!==_0x1d6591[_0x36fabb(0x3c1)])return{'undos':_0x5b3d68,'redos':_0x550ccd};const _0x326e88=this[_0x36fabb(0x49c)][_0x36fabb(0x279)](_0x2c123c,_0x4af2b0);if(_0x326e88!=null&&_0x326e88['size'])for(const [_0x4be99f,_0x318bad]of _0x326e88){const {unitId:_0x109599,subUnitId:_0x2d049a,row:_0x3d5eef,col:_0x554d5f}=_0x318bad[_0x36fabb(0x3e0)];if(_0x109599===_0x1d6591[_0x36fabb(0x3d3)]&&_0x2d049a===_0x1d6591[_0x36fabb(0x3c1)]){const _0x87157e=_0x181393[_0x36fabb(0x432)](_0x3d5eef,_0x554d5f);if(_0x181393[_0x36fabb(0x2ef)][_0x36fabb(0x39e)](_0x87157e,_0x24e82e)){const _0x2607e4=_0x3d5eef-_0x24e82e[_0x36fabb(0x30c)],_0x4479c4=_0x554d5f-_0x24e82e[_0x36fabb(0x2c5)],_0x7ed714={'row':_0x2d3cba[_0x36fabb(0x30c)]+_0x2607e4,'col':_0x2d3cba[_0x36fabb(0x2c5)]+_0x4479c4};_0x550ccd[_0x36fabb(0x1fc)]({'id':_0x580c4c['id'],'params':{'unitId':_0x109599,'subUnitId':_0x2d049a,'pivotTableId':_0x4be99f,'targetCellPosition':_0x7ed714}}),_0x5b3d68['push']({'id':_0x580c4c['id'],'params':{'unitId':_0x109599,'subUnitId':_0x2d049a,'pivotTableId':_0x4be99f,'targetCellPosition':{'row':_0x3d5eef,'col':_0x554d5f}}});const _0x29fc95=_0x7ed714[_0x36fabb(0x38c)]-_0x3d5eef,_0x43cf53=_0x7ed714['col']-_0x554d5f,_0x104a18=[],_0x3b003f=this[_0x36fabb(0x31d)][_0x36fabb(0x216)](_0x109599,_0x2d049a,_0x4be99f),_0x2b12a8=_0x3b003f==null?void 0x0:_0x3b003f[_0x36fabb(0x3cb)];if(_0x2b12a8){Object['keys'](_0x2b12a8)[_0x36fabb(0x1e7)](_0x43e236=>{_0x2b12a8[_0x43e236]['forEach'](_0x4d9357=>{const _0x564792=_0x4d80,_0x24fe0c={..._0x4d9357};_0x24fe0c[_0x564792(0x30c)]=_0x4d9357[_0x564792(0x30c)]+_0x29fc95,_0x24fe0c[_0x564792(0x433)]=_0x4d9357[_0x564792(0x433)]+_0x29fc95,_0x24fe0c['startColumn']=_0x4d9357[_0x564792(0x2c5)]+_0x43cf53,_0x24fe0c['endColumn']=_0x4d9357[_0x564792(0x1f5)]+_0x43cf53,_0x104a18[_0x564792(0x1fc)](_0x24fe0c);});});const _0x539913=this[_0x36fabb(0x28f)]['generateMutationsByRanges']({'unitId':_0x109599,'subUnitId':_0x2d049a,'ranges':_0x104a18});_0x550ccd[_0x36fabb(0x1fc)](..._0x539913[_0x36fabb(0x4a1)]),_0x5b3d68[_0x36fabb(0x1fc)](..._0x539913[_0x36fabb(0x37c)]);const _0x4db2d1=_0x594fe9(this[_0x36fabb(0x1d3)],_0x109599,_0x2d049a,_0x104a18);_0x4db2d1[_0x36fabb(0x2da)]&&(_0x550ccd[_0x36fabb(0x1fc)](_0x4db2d1[_0x36fabb(0x333)]),_0x5b3d68[_0x36fabb(0x1fc)](_0x4db2d1[_0x36fabb(0x249)]));}}}}return{'redos':_0x550ccd,'undos':_0x5b3d68};}};_0x2e8433=_0x4a28b6([_0x292efc(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x2ec)])),_0x292efc(0x1,_0x181393['Inject'](_0x3e3843[_0x4bf7c9(0x3de)])),_0x292efc(0x2,_0x181393['ICommandService']),_0x292efc(0x3,_0x181393[_0x4bf7c9(0x271)]),_0x292efc(0x4,_0x181393['Inject'](_0x1c1f68[_0x4bf7c9(0x4c8)])),_0x292efc(0x5,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68[_0x4bf7c9(0x46b)])),_0x292efc(0x6,_0x181393[_0x4bf7c9(0x27d)](_0x3e3843[_0x4bf7c9(0x41c)]))],_0x2e8433);var _0x47c5b7=Object['getOwnPropertyDescriptor'],_0x1c790d=(_0x5ae3aa,_0x4141ab,_0x12aa6c,_0x3b2cd3)=>{const _0x18bf2f=_0x4bf7c9;for(var _0x28aacb=_0x3b2cd3>0x1?void 0x0:_0x3b2cd3?_0x47c5b7(_0x4141ab,_0x12aa6c):_0x4141ab,_0x57b91c=_0x5ae3aa[_0x18bf2f(0x390)]-0x1,_0x237832;_0x57b91c>=0x0;_0x57b91c--)(_0x237832=_0x5ae3aa[_0x57b91c])&&(_0x28aacb=_0x237832(_0x28aacb)||_0x28aacb);return _0x28aacb;},_0x4ae2de=(_0x42d90b,_0xb1f062)=>(_0x31f585,_0x3eb069)=>_0xb1f062(_0x31f585,_0x3eb069,_0x42d90b);let _0x47e7ba=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x3a68ef,_0x159106){const _0x51592d=_0x4bf7c9;super(),this[_0x51592d(0x28f)]=_0x3a68ef,this[_0x51592d(0x49c)]=_0x159106,this[_0x51592d(0x263)]();}[_0x4bf7c9(0x263)](){const _0xeb0f52=_0x4bf7c9;this[_0xeb0f52(0x413)](this['_sheetInterceptorService'][_0xeb0f52(0x1bc)]({'getMutations':_0x559dbd=>{const _0x33c548=_0xeb0f52;if(_0x559dbd['id']===_0x3e3843[_0x33c548(0x474)]['id']){const _0x4629f4=[],_0x11ef20=[],_0x10a3dc=_0x559dbd['params'],{unitId:_0x34889e,subUnitId:_0x301540}=_0x10a3dc;if(!_0x34889e||!_0x301540)return{'undos':_0x11ef20,'redos':_0x4629f4};const _0x5d8982=this['_sheetsPivotTableConfigModel'][_0x33c548(0x279)](_0x34889e,_0x301540);if(_0x5d8982!=null&&_0x5d8982[_0x33c548(0x379)])for(const [_0x42de48,_0x4bdde3]of _0x5d8982){_0x4629f4[_0x33c548(0x1fc)]({'id':_0x270d6c['id'],'params':{'unitId':_0x34889e,'subUnitId':_0x301540,'pivotTableId':_0x42de48}});const _0x48c0aa={...this['_sheetsPivotTableConfigModel']['getCollection'](_0x34889e,_0x42de48)};_0x11ef20[_0x33c548(0x1fc)]({'id':_0x429471['id'],'params':{'unitId':_0x34889e,'subUnitId':_0x301540,'pivotTableId':_0x42de48,'pivotTableConfig':_0x4bdde3,'collectionConfig':_0x48c0aa}});}return{'redos':_0x4629f4,'undos':_0x11ef20};}return{'redos':[],'undos':[]};}}));}};_0x47e7ba=_0x1c790d([_0x4ae2de(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x3e3843[_0x4bf7c9(0x41c)])),_0x4ae2de(0x1,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68['SheetsPivotTableConfigModel']))],_0x47e7ba);var _0x52f76e=Object['getOwnPropertyDescriptor'],_0x335b0a=(_0x368d36,_0x5ba41f,_0x4bdb54,_0x138933)=>{const _0x405e81=_0x4bf7c9;for(var _0x42ddd7=_0x138933>0x1?void 0x0:_0x138933?_0x52f76e(_0x5ba41f,_0x4bdb54):_0x5ba41f,_0x50aa1d=_0x368d36[_0x405e81(0x390)]-0x1,_0xe09a34;_0x50aa1d>=0x0;_0x50aa1d--)(_0xe09a34=_0x368d36[_0x50aa1d])&&(_0x42ddd7=_0xe09a34(_0x42ddd7)||_0x42ddd7);return _0x42ddd7;},_0x249bea=(_0x198043,_0x81493)=>(_0x2f9bf2,_0x437924)=>_0x81493(_0x2f9bf2,_0x437924,_0x198043);let _0x419511=class extends _0x181393[_0x4bf7c9(0x43b)]{constructor(_0x5b3253,_0x55da58,_0x4f7028,_0x3b53ae,_0x135c1e,_0x4e2361){const _0x248346=_0x4bf7c9;super(),this[_0x248346(0x462)]=_0x5b3253,this[_0x248346(0x3ae)]=_0x55da58,this[_0x248346(0x31d)]=_0x4f7028,this[_0x248346(0x49c)]=_0x3b53ae,this[_0x248346(0x3ad)]=_0x135c1e,this['_activeDirtyManagerService']=_0x4e2361,this[_0x248346(0x45c)](),this[_0x248346(0x2ca)]();}['_initDataSendListener'](){const _0xb3c51b=_0x4bf7c9;this[_0xb3c51b(0x413)](this[_0xb3c51b(0x462)]['onCommandExecuted'](_0x11b822=>{const _0x5f3db2=_0xb3c51b;if(_0x11b822['id']!==_0x54b22f['id'])return;const _0x47eaaa=_0x11b822[_0x5f3db2(0x207)];this[_0x5f3db2(0x3ae)]['handleAsyncResponse'](_0x47eaaa);})),this['disposeWithMe'](this[_0xb3c51b(0x462)][_0xb3c51b(0x29c)](_0x3db9f5=>{const _0x4d1519=_0xb3c51b;if(_0x3db9f5['id']===_0x4f2143['id']){const _0x493b02=_0x3db9f5[_0x4d1519(0x207)];if(_0x493b02){const {unitId:_0x584885,subUnitId:_0x23256f,oldSubUnitId:_0x2932c9,pivotTableId:_0x2ebe89,pivotTableConfig:_0x130fc4,collectionConfig:_0x47e2c}=_0x493b02;this['_sheetsPivotTableConfigModel'][_0x4d1519(0x238)](_0x584885,_0x2932c9,_0x493b02[_0x4d1519(0x425)],null),this[_0x4d1519(0x49c)][_0x4d1519(0x238)](_0x584885,_0x23256f,_0x2ebe89,_0x130fc4),this[_0x4d1519(0x49c)][_0x4d1519(0x493)](_0x584885,_0x47e2c);}}})),this[_0xb3c51b(0x413)](this[_0xb3c51b(0x462)][_0xb3c51b(0x29c)](_0x2d340e=>{const _0x58825e=_0xb3c51b;if(_0x2d340e['id']!==_0x1478e7['id'])return;const _0x2fac56=_0x3e3843['getSheetCommandTarget'](this[_0x58825e(0x3ad)]);if(!_0x2fac56)return;const {unitId:_0x4738b1,subUnitId:_0x265235}=_0x2fac56,_0x1d17f1=_0x2d340e['params'];if(_0x1d17f1[_0x58825e(0x2a7)]&&Object['keys'](_0x1d17f1[_0x58825e(0x2a7)])[_0x58825e(0x1e7)](_0x472b6b=>{const _0x2369f3=_0x58825e;var _0x2402f5;(_0x2402f5=_0x1d17f1[_0x2369f3(0x2a7)])!=null&&_0x2402f5[_0x472b6b]&&this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x472b6b,_0x1d17f1[_0x2369f3(0x2a7)][_0x472b6b]);}),_0x1d17f1['single']){const _0x567f19=_0x1d17f1[_0x58825e(0x424)],{unitId:_0x13bb34,subUnitId:_0x3d2dad,view:_0x4da9a5,pivotTableId:_0x4cc68d,type:_0x2117ba,pivotConfig:_0x272e11}=_0x567f19;if(_0x2117ba===_0xefe34[_0x58825e(0x434)])this[_0x58825e(0x31d)]['clearRenderCache']({'unitId':_0x13bb34,'subUnitId':_0x3d2dad,'pivotTableId':_0x4cc68d,'type':_0x2117ba}),this[_0x58825e(0x49c)]['updateConfigCache'](_0x13bb34,_0x3d2dad,_0x4cc68d,null);else{const _0x243058=new _0x1861d8[(_0x58825e(0x1d9))]();_0x243058['formJSON'](_0x4da9a5),this[_0x58825e(0x49c)][_0x58825e(0x238)](_0x13bb34,_0x3d2dad,_0x4cc68d,_0x272e11),this[_0x58825e(0x31d)]['clearRenderCache']({'unitId':_0x13bb34,'subUnitId':_0x3d2dad,'pivotTableId':_0x4cc68d,'type':_0x2117ba,'view':_0x243058}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x13bb34,'subUnitId':_0x3d2dad,'view':_0x243058,'pivotTableId':_0x4cc68d,'type':_0x2117ba});}}else _0x1d17f1['batch']&&(_0x1d17f1[_0x58825e(0x1c8)][_0x58825e(0x1e7)](_0x1a69bb=>{const _0x1545bf=_0x58825e,{unitId:_0x244d83,subUnitId:_0x5932cd,view:_0x3baa8f,pivotTableId:_0x3aea1f,type:_0xec819b,pivotConfig:_0x34c545}=_0x1a69bb,_0x413b58=new _0x1861d8[(_0x1545bf(0x1d9))]();_0x413b58['formJSON'](_0x3baa8f),this['_sheetsPivotTableConfigModel'][_0x1545bf(0x238)](_0x244d83,_0x5932cd,_0x3aea1f,_0x34c545),this['_sheetsPivotTableAdaptorModel'][_0x1545bf(0x296)]({'unitId':_0x244d83,'subUnitId':_0x5932cd,'view':_0x413b58,'pivotTableId':_0x3aea1f,'type':_0xec819b});}),this[_0x58825e(0x49c)]['setPivotInitCompleted']());this[_0x58825e(0x31d)][_0x58825e(0x476)](_0x4738b1,_0x265235);}));}[_0x4bf7c9(0x2ca)](){const _0x2d67f3=_0x4bf7c9;this[_0x2d67f3(0x200)][_0x2d67f3(0x22c)](_0x541879['id'],{'commandId':_0x541879['id'],'getDirtyData'(_0x493208){const _0x2634f8=_0x2d67f3;return{'dirtyUnitFeatureMap':_0x493208[_0x2634f8(0x207)]};}});}};_0x419511=_0x335b0a([_0x249bea(0x0,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x4a0)])),_0x249bea(0x1,_0x181393['Inject'](_0x1c1f68['SheetsPivotRPCService'])),_0x249bea(0x2,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68[_0x4bf7c9(0x46b)])),_0x249bea(0x3,_0x181393[_0x4bf7c9(0x27d)](_0x1c1f68[_0x4bf7c9(0x4c8)])),_0x249bea(0x4,_0x181393[_0x4bf7c9(0x27d)](_0x181393['IUniverInstanceService'])),_0x249bea(0x5,_0x1a014a[_0x4bf7c9(0x377)])],_0x419511);var _0x1c9fb3=Object[_0x4bf7c9(0x25f)],_0x2b2d9c=Object[_0x4bf7c9(0x490)],_0x4576e7=(_0x30bca1,_0x51917a,_0x3b84dd)=>_0x51917a in _0x30bca1?_0x1c9fb3(_0x30bca1,_0x51917a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b84dd}):_0x30bca1[_0x51917a]=_0x3b84dd,_0x2d55f9=(_0x162855,_0x4f1a9d,_0x382cec,_0x3190f7)=>{const _0x2f6c6e=_0x4bf7c9;for(var _0x4465ff=_0x3190f7>0x1?void 0x0:_0x3190f7?_0x2b2d9c(_0x4f1a9d,_0x382cec):_0x4f1a9d,_0x4dbbb2=_0x162855[_0x2f6c6e(0x390)]-0x1,_0x42650b;_0x4dbbb2>=0x0;_0x4dbbb2--)(_0x42650b=_0x162855[_0x4dbbb2])&&(_0x4465ff=_0x42650b(_0x4465ff)||_0x4465ff);return _0x4465ff;},_0x244c1c=(_0x5aa8ea,_0x5c7ade)=>(_0x16ee4a,_0x2f1da2)=>_0x5c7ade(_0x16ee4a,_0x2f1da2,_0x5aa8ea),_0x185d13=(_0x46b030,_0x54562f,_0x86df98)=>_0x4576e7(_0x46b030,typeof _0x54562f!=_0x4bf7c9(0x2c2)?_0x54562f+'':_0x54562f,_0x86df98);_0x1c1f68['UniverSheetsPivotTablePlugin']=class extends _0x181393[_0x4bf7c9(0x3a1)]{constructor(_0x14aa34=_0x404fbe,_0x1f7fbd,_0x540f5b,_0x393262,_0x599622){const _0x4cc812=_0x4bf7c9;super(),this['_config']=_0x14aa34,this[_0x4cc812(0x1d3)]=_0x1f7fbd,this[_0x4cc812(0x462)]=_0x540f5b,this[_0x4cc812(0x48b)]=_0x393262,this[_0x4cc812(0x3fb)]=_0x599622;const {..._0x266fbb}=_0x181393['merge']({},_0x404fbe,this[_0x4cc812(0x355)]);this['_configService'][_0x4cc812(0x273)](_0x29ba6e,_0x266fbb),this[_0x4cc812(0x43d)](),this['_initConfig']();}['_initConfig'](){const _0x26be6b=_0x4bf7c9;var _0x5df5a3;const _0x23c2a3=(_0x5df5a3=this[_0x26be6b(0x355)])==null?void 0x0:_0x5df5a3[_0x26be6b(0x227)];this[_0x26be6b(0x48b)][_0x26be6b(0x273)](_0x19ee91,_0x23c2a3===!0x0);}[_0x4bf7c9(0x3f2)](){const _0xbf93ab=_0x4bf7c9;var _0x3957ca;let _0x3105ce=[];const _0x32784b=(_0x3957ca=this[_0xbf93ab(0x355)])==null?void 0x0:_0x3957ca['notExecuteFormula'];_0x32784b===!0x0?_0x3105ce=[[_0x1c1f68['SheetsPivotTableService']],[_0x1c1f68[_0xbf93ab(0x356)]],[_0x419511],[_0x1c1f68[_0xbf93ab(0x46b)]],[_0x1c1f68[_0xbf93ab(0x4c8)]],[_0x47e7ba],[_0x2b9e54],[_0x2e8433],[_0x18f8f5]]:_0x32784b===!0x1?_0x3105ce=[[_0x1c1f68[_0xbf93ab(0x1d5)]],[_0x50fbca]]:_0x32784b===void 0x0&&(_0x3105ce=[[_0x1c1f68[_0xbf93ab(0x1d5)]],[_0x50fbca],[_0x1c1f68[_0xbf93ab(0x44c)]],[_0x1c1f68[_0xbf93ab(0x356)]],[_0x419511],[_0x1c1f68['SheetsPivotTableAdaptorModel']],[_0x1c1f68[_0xbf93ab(0x4c8)]],[_0x47e7ba],[_0x2b9e54],[_0x2e8433],[_0x18f8f5]]),_0x3105ce[_0xbf93ab(0x1e7)](_0x441613=>this[_0xbf93ab(0x1d3)][_0xbf93ab(0x2a4)](_0x441613)),[_0x50fbca,_0x419511,_0x1c1f68[_0xbf93ab(0x44c)],_0x2b9e54,_0x47e7ba,_0x2e8433,_0x18f8f5][_0xbf93ab(0x1e7)](_0x3ca13b=>{const _0x14d4b2=_0xbf93ab;this['_injector'][_0x14d4b2(0x2cb)](_0x3ca13b)&&this[_0x14d4b2(0x1d3)]['get'](_0x3ca13b);});}[_0x4bf7c9(0x43d)](){const _0x2aa6bd=_0x4bf7c9;[_0x267342,_0x2a9d5a,_0x36ef7b,_0x4b822b,_0x4118d0,_0x2211a1,_0x5dde87,_0x309d9e,_0xb0655f,_0x316e9f,_0x1ede69,_0x587bbe,_0x3f17e9,_0x279dcc,_0x429471,_0x26aa4d,_0x270d6c,_0x1d8273,_0xbaa2f3,_0x2136cd,_0x175ed6,_0x2d4518,_0x35c613,_0x18c265,_0x5dcb03,_0x1f342e,_0x580c4c,_0x425d9e,_0x54b22f,_0x1478e7,_0x5a4296,_0x47ee34,_0x5b10ff,_0x4a2ea7,_0x152a62,_0x1f8fe4,_0x32fdbe,_0x541879,_0x4f2143,_0x56a761,_0x54ce9e,_0x447438,_0x35953b][_0x2aa6bd(0x1e7)](_0x1c0767=>{const _0x536b0d=_0x2aa6bd;var _0x29f134;(_0x29f134=this[_0x536b0d(0x3fb)])==null||_0x29f134[_0x536b0d(0x2e8)](_0x1c0767),this[_0x536b0d(0x462)][_0x536b0d(0x467)](_0x1c0767);});}},_0x185d13(_0x1c1f68[_0x4bf7c9(0x468)],_0x4bf7c9(0x46a),_0x24e5d3),_0x185d13(_0x1c1f68[_0x4bf7c9(0x468)],_0x4bf7c9(0x363),_0x181393[_0x4bf7c9(0x23b)][_0x4bf7c9(0x46e)]),_0x1c1f68[_0x4bf7c9(0x468)]=_0x2d55f9([_0x181393[_0x4bf7c9(0x398)](_0x5cfca4[_0x4bf7c9(0x33f)]),_0x244c1c(0x1,_0x181393[_0x4bf7c9(0x27d)](_0x181393[_0x4bf7c9(0x2ec)])),_0x244c1c(0x2,_0x181393['Inject'](_0x181393[_0x4bf7c9(0x4a0)])),_0x244c1c(0x3,_0x181393[_0x4bf7c9(0x1c0)]),_0x244c1c(0x4,_0x181393[_0x4bf7c9(0x2b8)](_0x133a9c[_0x4bf7c9(0x1f3)]))],_0x1c1f68['UniverSheetsPivotTablePlugin']),_0x1c1f68[_0x4bf7c9(0x3c8)]=_0x36ef7b,_0x1c1f68[_0x4bf7c9(0x383)]=_0x1d8273,_0x1c1f68[_0x4bf7c9(0x3d0)]=_0x2a9d5a,_0x1c1f68[_0x4bf7c9(0x2f8)]=_0x429471,_0x1c1f68[_0x4bf7c9(0x328)]=_0x267342,_0x1c1f68['BLANK_ROW_COUNT']=_0x43ffd9,_0x1c1f68[_0x4bf7c9(0x35f)]=_0x3d1cb7,_0x1c1f68[_0x4bf7c9(0x4cc)]=_0x4b822b,_0x1c1f68[_0x4bf7c9(0x28b)]=_0x3f17e9,_0x1c1f68['PivotDisplayDataType']=_0x40af19,_0x1c1f68['PivotDrillDownCommand']=_0x279dcc,_0x1c1f68[_0x4bf7c9(0x4ac)]=_0xefe34,_0x1c1f68[_0x4bf7c9(0x365)]=_0x541879,_0x1c1f68[_0x4bf7c9(0x49d)]=_0x34542f,_0x1c1f68[_0x4bf7c9(0x346)]=_0x4118d0,_0x1c1f68[_0x4bf7c9(0x358)]=_0x2d4518,_0x1c1f68[_0x4bf7c9(0x2b5)]=_0x270d6c,_0x1c1f68[_0x4bf7c9(0x1bf)]=_0x35c613,_0x1c1f68[_0x4bf7c9(0x295)]=_0x35953b,_0x1c1f68[_0x4bf7c9(0x232)]=_0x29ba6e,_0x1c1f68[_0x4bf7c9(0x3ed)]=_0x24e5d3,_0x1c1f68[_0x4bf7c9(0x4c1)]=_0x309d9e,_0x1c1f68[_0x4bf7c9(0x30e)]=_0x18c265,_0x1c1f68['SetPivotFieldFormatMutation']=_0x4a2ea7,_0x1c1f68[_0x4bf7c9(0x2ae)]=_0x447438,_0x1c1f68[_0x4bf7c9(0x2cf)]=_0x316e9f,_0x1c1f68[_0x4bf7c9(0x34d)]=_0x175ed6,_0x1c1f68['SetPivotOptionMutation']=_0x1f342e,_0x1c1f68[_0x4bf7c9(0x39a)]=_0x580c4c,_0x1c1f68[_0x4bf7c9(0x2fe)]=_0xb0655f,_0x1c1f68['SetPivotSortMutation']=_0x5dcb03,_0x1c1f68[_0x4bf7c9(0x229)]=_0x5b10ff,_0x1c1f68[_0x4bf7c9(0x1de)]=_0x56a761,_0x1c1f68[_0x4bf7c9(0x20e)]=_0x54ce9e,_0x1c1f68['UpdateDateGroupCommand']=_0x5dde87,_0x1c1f68[_0x4bf7c9(0x3df)]=_0x5a4296,_0x1c1f68['UpdatePivotFieldSettingCommand']=_0x1ede69,_0x1c1f68[_0x4bf7c9(0x24c)]=_0x32fdbe,_0x1c1f68[_0x4bf7c9(0x3fe)]=_0x587bbe,_0x1c1f68[_0x4bf7c9(0x447)]=_0x1f8fe4,_0x1c1f68['UpdatePivotValuePositionCommand']=_0x2211a1,_0x1c1f68[_0x4bf7c9(0x213)]=_0x47ee34,_0x1c1f68['applyChangeSet']=_0x31253c,_0x1c1f68[_0x4bf7c9(0x230)]=_0x20566e,_0x1c1f68['defaultThemeStyle']=_0x309be9,_0x1c1f68['generateSetRangeValueMutations']=_0x594fe9,_0x1c1f68[_0x4bf7c9(0x37f)]=_0x43d27d,_0x1c1f68['getEmptyPivotRanges']=_0x3f5dd8,_0x1c1f68['getFieldListByArea']=_0x412b09,_0x1c1f68[_0x4bf7c9(0x244)]=_0x719981,_0x1c1f68[_0x4bf7c9(0x4a9)]=_0x514dd2,_0x1c1f68[_0x4bf7c9(0x450)]=_0x3f5ab0,_0x1c1f68[_0x4bf7c9(0x264)]=_0x5739bd,_0x1c1f68['transFromCellValue']=_0x172616,_0x1c1f68[_0x4bf7c9(0x2c4)]=_0x22f57d,Object[_0x4bf7c9(0x25f)](_0x1c1f68,Symbol[_0x4bf7c9(0x491)],{'value':'Module'});}));function _0x39bf(){const _0x2612f9=['_globalComputedEndHelpFunc','valueIndex','GlobalConfig','DisposableCollection','getPivotTableConfig','Date','Disposable','fetchThroughAsyncInterceptors','_initRegisterCommand','SetRangeValuesMutation','average','addDirtyPivotTable','setValuePivotFilter','UniverProEnginePivot','sheet.mutation.remove-group-collection','colHeaderMap','error','UpdateSource','UpdatePivotTableSourceRangeMutation','grandTotal','CommandType','resetPivotTable','sheet.command.set-pivot-collapse','SheetsPivotTableService','RenameField','cornerStyle','getGroupFieldsInfoByIds','getPivotInfoByLicense','update','collection','sheets-pivot.grandTotal','ReleaseType','getTableFieldById','version','deepClone','sheet.command.update-pivot-table-source-range','_collectionConfigModel','_initPivotTextInfo','remove','_initDataSendListener','AddPivotField','handleMoveRange','rowStyle','getFullYear','ManualFilter','_commandService','bind','sheet.command.set-pivot-fields-config','getMatrixValue','RemovePivotField','registerCommand','UniverSheetsPivotTablePlugin','sheets.tabs.sheet','pluginName','SheetsPivotTableAdaptorModel','updateViewData','sheet.command.set-pivot-field-setting','UNIVER_SHEET','getColumnWidth','updatePivotSource','sheets-pivot.dateGroup.year','colRanges','SetSubtotalType','RemoveSheetCommand','sheets-pivot.dateGroup.quarter','markDirty','_viewData$','_globalComputingSrv','isFeatureAuthorizedWithinTime','addCollectionByJSON','getColCount','sheets-pivot.dateGroup.minute','AddPivotTable','getAutoFitColumnsMutations','oldMatrix','setPivotTable','sheet.mutation.set-pivot-option','sheets-pivot.countNumsName','updateDirtyPivotTable','resetArea','textInfo','setPivotCollapse','removeSourceRangeChange','_queryingMap','AsyncInterceptorManager','pivotTableConfigs','_configService','PivotErrorTypeEnum','collections','SetValuePivotFilter','DEFAULT_WORKSHEET_COLUMN_COUNT','getOwnPropertyDescriptor','toStringTag','tableFieldId','updateCollectionConfig','handleSourceRangeChange','getCollection','broadcastCollectionChange','Existing','onQueryStart','pbt','RemoveSheetMutation','get','_sheetsPivotTableConfigModel','PositionType','dataFields','updateViewInfo','ICommandService','redos','RANGE_TYPE','_exclusiveRangeService','hasOwnProperty','1268048NIssyS','DrillDown','isDateGroupField','IResourceManagerService','getPivotCellInfo','mergeWorksheetSnapshotWithDefault','_featureCalculationManagerService','PivotTableOperationEnum','SHEET_PIVOT_IN_MAIN_THREAD','asObservable','charCodeAt','UniverCore','updateRangeKeyMap','map','PivotFilterTypeEnum','custom','_ensurePivotItemRenderInfoCache','_initLocale','MUTATION','subscribe','getOriginFieldId','sheets-pivot.cellDateGroupDisplay.hourMinute','sheet.mutation.add-group-collection','PivotViewCellValueTypeEnum','value','deleteField','getViewData','executeCommand','SetPivotCollapseCommand','valueFilter','formJSON','random','UniverSheets','_viewUpdate$','sourceName','SheetsPivotTableConfigModel','FORCE_STRING','getConfig','rowHeaderMap','MovePivotFieldCommand','Column\x20','sheet.mutation.send-pivot-data-local','_fieldsCollectionChange$','getPivotTableModelConfig','getSheetId','drillDown','product','set','string','fieldsCollectionChange$','clearRenderCache','interceptCommand','varp','viewData$','RenamePivotFieldMutation','IConfigService','fieldIds','CellValueType','other','var','@univerjs-pro/engine-pivot','InsertRowMutation','sheetName','batch','New','getActiveSheet','Values','Add','_pivotTableRangeInfo','updateConfig','InsertSheetCommand','foreach','_pivotTableMatrixInfo','sheet.command.update-pivot-value-position','_injector','sheets-pivot.cellDateGroupDisplay.date','SheetsPivotDataSourceModel','NORMAL','getFormat','Tools','PivotView','YearMonthDate','_updateModelCache','name','needSameDeleteModel','SetPivotValueFilterCommand','refreshDataField','COLUMN','PivotTableFiledAreaEnum','23swQjkN','stdDev','_ensurePivotMap','sheet.mutation.pivot-update-field-source-info','AddField','forEach','getStyles','Panel','_deletePivotTableInstanceCache','getPivotTableInstance','Average\x20of\x20','document','sheets-pivot.cellDateGroupDisplay.yearMonthDate','adjustSheetCellData','IExclusiveRangeService','count','_sheetsPivotDataSourceModel','DataSyncPrimaryController','UniverEngineRender','endColumn','addPivotField','parseInt','addDataFieldWithoutUnitInfo','_initSnapshot','getFieldPositionInfoById','isText','push','_createExclusiveRange','SetOptions','getPivotTableCellData','_activeDirtyManagerService','getTextSize','setFieldFormat','getSourceName','AddPivotTableWithConfig','UniverProLicense','sheet.command.move-pivot-table','params','_collectionChange$','55651552FTNUNJ','new','getFieldIds','level','getDataFieldId','SetPivotValueFilterMutation','forValue','@univerjs-pro/license','leftOffset','registerPluginResource','UpdateValuePositionMutation','removeCollections','min','getPivotItemRenderInfoCache','contains','sheet.mutation.remove-pivot-field','ObjectMatrix','_host','getInterceptPoints','_updatePivotTableInstanceCache','Grand\x20Total','getAutoDisplayName','collectionChange$','getformat','filterFields','lastRow','Expand','dateGroupField','sheets-pivot.subTotal','Value','notExecuteFormula','addExclusiveRange','SetPivotSubtotalTypeMutation','call','_initGlobalComputed','register','_markDirty$','sheets-pivot.dateGroup.hourMinute','Range','canUsePivot','NO_COMMERCIAL','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','dimension','pageRanges','entries','asyncInterceptor','fieldsConfig','updateConfigCache','pivotTableIndexConfig','PivotCellStyleTypeEnum','UniverInstanceType','measure','isEmpty','UpdateFieldPosition','pivotConfigChange$','sheets-pivot.blank','Quarter','setValue','_getPivotAppliedRanges','getInsertRowColMutations','SetPivotCollapse','getCellMatrix','unshift','sheets-pivot.varpName','setRangeValueUndoMutation','sheet.command.add-pivot-table-with-config','@univerjs/core','UpdatePivotFieldSourceInfoMutation','_pivotTableInstanceCache','createCollectionWithDataRange','rgb(240,241,243)','Varp\x20of\x20','_initUnitDisposed','sheet.mutation.set-pivot-filter','getNoUsedDataFieldIds','createInterceptorKey','_initViewModelBySheetInterceptor','addPivotTable','updateFieldSourceInfo','ErrorType','dataFieldId','SetPivotTableConfig','MIN_SAFE_INTEGER','getDate','sheets-pivot.dateGroup.hour','renameField','defineProperty','getSheetFeatureLimit','BLANK_PLACEHOLDER','floor','_initRemoveSheetCommandInterceptor','getPivotTableInfo','Var\x20of\x20','_getAutoName','getUnit','rangeType','InsertSheetUndoMutationFactory','MovePivotField','iterateFieldByArea','toJSON','Total','getPivotDisplayConfig','_globalComputedStartHelpFunc','sheet.mutation.send-init-pivot-text-local','IUniverInstanceService','sheet.mutation.set-pivot-field-subtotal-type','setConfig','removeValueFilterInfoByValueFieldId','setSourceName','ByVJPuNV\x20GtJYEcPuNV(HuJtVIt,\x20cyrHuJitE)\x20{\x20\x20\x20\x20PYE\x20{\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20HuJtVItLVBNaeYPkYYeE\x20=\x20HuJtVIt.IcHuP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20NYu7uVbtIIe7t\x20=\x20OA8d.ceYIt(ePNr(HuJtVItLVBNaeYPkYYeE[Z]));\x20\x20\x20\x20\x20\x20\x20\x20uB\x20(!NYu7uVbtIIe7t.yG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NYu7uVbtIIe7t.yG\x20=\x20dyTrtY(HuJtVItLVBNaeYPkYYeE[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20uI0NYltY\x20=\x20PEctNB\x200NYltY6HNreHAJNct\x20!==\x20\x27yVGtBuVtG\x27\x20&&\x20ItHB\x20uVIPeVJtNB\x200NYltY6HNreHAJNct;\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20JNVPtoP\x20=\x20uI0NYltY\x20?\x20ItHB\x20:\x204uVGN4;\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20TtIIe7t0NYG\x20=\x20JNVPtoP.__neIt9s__.ceYIt(HuJtVItLVBNaeYPkYYeE[Z]);\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20TtIIe7t\x20=\x20JNVPtoP.__5to__.IPYuV7uBE(TtIIe7t0NYG);\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20Iu7VePyYt0NYG\x20=\x20JNVPtoP.__neIt9s__.ceYIt(HuJtVItLVBNaeYPkYYeE[g]);\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20Iu7VePyYt\x20=\x20JNVPtoP.__5to__.IPYuV7uBE(Iu7VePyYt0NYG);\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20Iu7VqeHuG\x20=\x20JNVPtoP.__xtYuBE__(Iu7VePyYt,\x20TtIIe7t,\x20cyrHuJitE);\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20GNTeuV\x20=\x20NYu7uVbtIIe7t.GT;\x20\x20\x20\x20\x20\x20\x20\x20ByVJPuNV\x20uIvNTeuVbePJDuV7(NaePPtYV,\x20N5NIP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20cePPtYV\x20=\x20NaePPtYV.YtcHeJt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20DNIP\x20=\x20N5NIP.YtcHeJt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20cePPtYVaeYPI\x20=\x20cePPtYV.IcHuP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20DNIPaeYPI\x20=\x20DNIP.IcHuP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uB\x20(!cePPtYV.uVJHyGtI(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YtPyYV\x20cePPtYV\x20===\x20DNIP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uB\x20(cePPtYVaeYPI.HtV7PD\x20<\x20Z\x20||\x20cePPtYVaeYPI[1]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YtPyYV\x20BeHIt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20cePPtYVAyBBuo\x20=\x20cePPtYVaeYPI.IHuJt(U).MNuV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20DNIPAyBBuo\x20=\x20DNIPaeYPI.IHuJt(-cePPtYVaeYPI.HtV7PD\x20+\x20U).MNuV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YtPyYV\x20cePPtYVAyBBuo\x20===\x20DNIPAyBBuo;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HtP\x20GNTeuVqeHuG\x20=\x20(GNTeuV\x20&&\x20GNTeuV.HtV7PD)\x20?\x20GNTeuV.INTt((GTLPtT)\x20=>\x20uIvNTeuVbePJDuV7(GTLPtT,\x20HNJePuNV.DNIPVeTt))\x20:\x20PYyt;\x20\x20\x20\x20\x20\x20\x20\x20uB\x20(HNJePuNV.DNIPVeTt\x20===\x20\x27HNJeHDNIP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GNTeuVqeHuG\x20=\x20PYyt;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JNVIP\x20xeHuG\x20=\x20Iu7VqeHuG\x20&&\x20GNTeuVqeHuG;\x20\x20\x20\x20\x20\x20\x20\x20YtPyYV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xeHuG,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TtIIe7t:\x20NYu7uVbtIIe7t,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20JePJD\x20(tYYNY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YtPyYV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xeHuG:\x20BeHIt,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TtIIe7t:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','displayName','sheet.operation.pivot-table-view-formula-mark-dirty','getSubUnitPivotConfigs','return\x20','dataFieldsCollection','getUnitId','Inject','Month','updatePivotTableRangeInfo','getSheetBySheetId','MoveRangeMutation','disposableCollection','DataFieldManager','prefix','PivotDataFieldTypeEnum','delete','sheets-pivot.emptyPivot.filter','sheets-pivot.productName','unshiftString','SetPivotFilter','MovePivotTableCommand','sheets-pivot.countName','exports','getDataFieldByTableId','_sheetInterceptorService','sum','SetWorksheetColWidthMutation','sheet.mutation.send-pivot-view-local','getTextInfo','stringify','ResetPivotFieldsConfigCommand','updateRenderCache','getFieldInfo','stdDevp','date','_pivotInitCompleted$','_subjectFieldsCollectionChange','onCommandExecuted','setSortInfo','getName','_model','getHeaderMapItem','rangeKey','getDataFieldManager','sheet.mutation.update-pivot-table-source-range','add','Div0','getMonth','collectionConfig','_localeService','_ensurePivotTableRangeInfo','setValueFilterInfo','getValueIndex','PivotDataFieldDataTypeEnum','NUMBER','SetPivotFieldsConfigCommand','171308fvBAUj','columnFields','format','Max\x20of\x20','@univerjs/engine-formula','_ensurePivotItemRenderValueMatrixCache','RemovePivotTableMutation','iterateField','substring','Optional','panel','getRowCount','getFieldFormat','Minute','PivotTableValuePositionEnum','_resourceManagerService','pushUndoRedo','InsertSheetMutation','setLabelFilterInfo','symbol','isDateGroupFieldJSON','unionPivotViewRange','startColumn','ClearSelectionContentCommand','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','MonthDate','originalFieldId','registerDirtyService','has','rowFields','DEFAULT_WORKSHEET_ROW_COUNT','pivotInitCompleted$','SetPivotFilterCommand','2436000waXiuR','generateHexNumber','ptn','deleteUnitId','amd','49JvtyyD','getPivotTableIdByCell','SetFilterInfo','pivotPerformCheck','intercept','shouldClear','sheet.command.set-pivot-sort','MoveRangeCommand','DateGroupField','sheets-pivot.emptyPivot.row','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','@univerjs/rpc','createValueField','_textInfo','find','getValueFilterInfos','isValue','leafStyle','12114828OHjXbb','registerSyncingMutations','prototype','isArray','_configVersion$','Injector','blank','SetPivotSort','Rectangle','IFeatureCalculationManagerService','LocaleService','sheets-pivot.stdDevName','removePivotField','getAutoDisplayNameFunction','parse','updateValuePosition','_init','AddPivotTableMutation','_ensureViewDataMap','addField','HourMinute','subTotalStyle','updateAllDisplayName','SetPivotSortCommand','generateRandomId','getCurrentUnitForType','NotName','setDisplayName','getUpdateRangeDeleteIds','getFilterInfo','dataRangeInfo','markDirty$','removeField','updateView','dataFieldManagerConfig','addFieldWithSourceId','body','startRow','sheet.command.remove-pivot-field','SetPivotCollapseMutation','PivotDateGroupFieldDateTypeEnum','sequenceExecute','dispose','sheets-pivot.sumName','getDataFieldByDataFieldId','getFontStyleString','colStyle','pushComputingStatusSubject','@univerjs/sheets','rxjs','sheets-pivot.cellDateGroupDisplay.month','RemoveSheetsFilterMutation','21508evFmPL','originTargetInfo','_sheetsPivotTableAdaptorModel','sheets-pivot.dateGroup.date','None','LS_CONFIG_KEY','sheets-pivot.dateGroup.yearMonthDate','Column','updateFieldPosition','setTextInfo','getRangeKeyList','NotNumber','rowCount','AddPivotTableWithConfigCommand','slice','object','removeValueFilterInfo','interceptor','getMatrixFromRunTimeData','getPivotDirtyViewInfo','removePivotTable','getFieldDataType','refreshData','sortInfo','setRangeValueRedoMutation','sheet.mutation.pivot-update-field-position','addCollection','configVersion$','UpdatePivotSource','hasField','SetSheetsFilterRangeMutation','_refRangeService','STRING','message','_pivotRenderInfoCache','column','UniverLicensePlugin','isColMultiMeasure','countNums','colCount','sheets-pivot.value','#FFFFFF','getRangeStartEndInfo','RemovePivotFieldCommand','NAME','getDisplayName','getSubtotal','sheet.mutation.rename-pivot-field','fields','isPrefixValue','SetPivotFilterMutation','keys','areaInfo','reduce','_dataFieldManagerCollection','limit\x20pivot','setDateType','getValue','_config','SheetsPivotRPCService','onQueryEnd','RemovePivotFieldMutation','_updateRenderEmptyCache','LifecycleService','CELL_CONTENT','setPivotSort','refreshGroupField','generateNewSheetName','DEFAULT_PIVOT_NUMBER','queryDirtyPivotTable','SheetsSelectionsService','filter','type','fromJSON','PivotTableViewDirtyMarkOperation','#1d32e9','sheet.command.pivot-drill-down','getSheets','registerRefRange','data','concat','addRecord','maxDate','getSheetCommandTarget','getLastCol','rangeKeyMap','_subjectViewChange','_subjectCollectionChange','SetPivotSetting','sheets-pivot.cellDateGroupDisplay.quarter','range','INTERCEPTOR_POINT','IActiveDirtyManagerService','splice','size','Row','5970108IgHYli','undos','result','paths','getAdjustRangesPosition','values','setPivotTableConfig','UpdateValuePosition','AddPivotFieldMutation','NUM','getSortInfo','getDataFieldByRangeKey','_pivotRenderValueMatrixCache','getRangeKey','getSheetBySheetName','lastCol','width','row','sheet.command.add-pivot-table','_toJSON','reset','length','_ensurePivotTableMatrixInfo','PivotTableChangeTypeEnum','valueFields','col','UniverSheetsFilter','sheets-pivot.other','SetValueFilter','DependentOn','_sheetsPivotTableService','SetPivotPositionMutation','getSubUnitPivotMatrix','sheets-pivot.varName','sheets-pivot.config','intersects','addPivotTableWithConfig','setRange','Plugin','FontCache','forRow','oldRangeInfo','createDataFieldId','headerMap','workbook\x20is\x20not\x20found','rgb(255,255,255)','valuePosition','GlobalComputingStatusService','subtotal','5qkRDmI','_univerInstanceService','_sheetsPivotRpcService','getPivotTableMatrixInfo','endCollectChangeset','#e6ebfb','getFilterFieldIdByIndex','collapseInfo','57zJnRpO','Subtotal','next','setDirty','ResetPivotTable','numfmt','number','triggerDirtyFeature','InterceptorEffectEnum','sheet.mutation.add-pivot-table','pageStyle','uniqueDataFieldName','Set','subUnitId','cornerInfo','getSubUnitPivotRenderCache','node','token','isBottomTotal','ΣValue','AddPivotFieldCommand','getPivotPerformCheck','BehaviorSubject','rangesInfo','deleteDataField','setPivotSetting','getTypeOfUnitDisposed$','excelDateToUnixMilliseconds','AddPivotTableCommand','includes','Style','unitId','_lifecycleService','Year','some','from','RemoveField','_requestResolvers','Filter','_sheetsSelectionsService','getId','getFieldById','RefRangeService','UpdateFieldPositionMutation','targetCellInfo','removeDataField','IUndoRedoService','_pivotConfigChange$','getDirtyInfo','info','sheet.command.update-date-group','versions','COMMAND','sheets-pivot.dateGroup.month','startCollectChangeset','sheets-pivot.minName','_deleteModelCache','SHEET_PIVOT_TABLE_PLUGIN','CustomCommandExecutionError','sheets-pivot.cellDateGroupDisplay.hour','getLastRow','SetWorksheetActiveOperation','onStarting','sourceRangeInfo','updatePivotTableMatrixInfo','sheets-pivot.dateGroup.monthDate','rowRanges','setPivotFilter','InsertColMutation','getFieldCountByArea','setName','_dataSyncPrimaryController','PivotTable','YearQuarter','UpdatePivotTableSourceRangeCommand','sheet.command.move-pivot-field','getColumnCount','realDeleteValue','numberToABC','query','sheets-pivot.averageName','Sum\x20of\x20','_viewData','viewUpdate$','_onRefRangeChange','setCollapse','getTargetByPivotId','setSubtotalType','SHEET_PIVOT_EXCLUSIVE_ID','StdDevp\x20of\x20','getRefRangeMutationsByMoveRange','sheet.command.reset-pivot-fields-config','Hour','sheets-pivot.emptyPivot.values','RemoveColMutation','disposeWithMe','FieldsCollection','UniverEngineFormula','getIndexesByPathStr','PivotSubtotalTypeEnum','GrandTotal','getIntersectsPivotTable','_initClearSelectionCommandInterceptor','filterInfo','SheetInterceptorService','Count\x20of\x20','isBaseGroupField','max','getValuePosition','sheets-pivot.cellDateGroupDisplay.minute','options','movePivotField','single','pivotTableId','_globalSubject','_initCommandInterceptListener','isDateValue','sheet.command.set-pivot-value-filter','#f4f4f5','sheet.mutation.set-pivot-sort-info','PivotCallbackEnum','_refRangeHandle','minDate','MAX_SAFE_INTEGER','Subject','valid','cellToRange','endRow','Delete'];_0x39bf=function(){return _0x2612f9;};return _0x39bf();}