@univerjs-pro/sheets-pivot 0.5.0-alpha.0 → 0.5.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/facade.js +1 -1
  10. package/lib/es/index.js +1 -1
  11. package/lib/es/locale/en-US.js +1 -1
  12. package/lib/es/locale/fa-IR.js +1 -1
  13. package/lib/es/locale/ru-RU.js +1 -1
  14. package/lib/es/locale/vi-VN.js +1 -1
  15. package/lib/es/locale/zh-CN.js +1 -1
  16. package/lib/es/locale/zh-TW.js +1 -1
  17. package/lib/types/commands/command/add-pivot-field.command.d.ts +11 -0
  18. package/lib/types/commands/command/add-pivot-table-with-config.command.d.ts +3 -0
  19. package/lib/types/commands/command/add-pivot-table.command.d.ts +9 -0
  20. package/lib/types/commands/command/move-pivot-field.command.d.ts +11 -0
  21. package/lib/types/commands/command/pivot-drill-down.command.d.ts +6 -0
  22. package/lib/types/commands/command/remove-pivot-field.command.d.ts +8 -0
  23. package/lib/types/commands/command/set-pivot-collapse.command.d.ts +9 -0
  24. package/lib/types/commands/command/set-pivot-filter.command.d.ts +10 -0
  25. package/lib/types/commands/command/set-pivot-sort.command.d.ts +10 -0
  26. package/lib/types/commands/command/update-pivot-setting.command.d.ts +15 -0
  27. package/lib/types/commands/command/update-pivot-source.command.d.ts +9 -0
  28. package/lib/types/commands/command/update-value-position.command.d.ts +8 -0
  29. package/lib/types/commands/command/util.d.ts +14 -0
  30. package/lib/types/commands/mutations/add-pivot-field.mutation.d.ts +3 -0
  31. package/lib/types/commands/mutations/add-pivot-table.mutation.d.ts +3 -0
  32. package/lib/types/commands/mutations/change-apply-util.d.ts +15 -0
  33. package/lib/types/commands/mutations/pivot-data-communication.mutation.d.ts +7 -0
  34. package/lib/types/commands/mutations/remove-pivot-field.mutation.d.ts +3 -0
  35. package/lib/types/commands/mutations/remove-pivot-table.mutation.d.ts +3 -0
  36. package/lib/types/commands/mutations/rename-pivot-field.mutation.d.ts +3 -0
  37. package/lib/types/commands/mutations/set-pivot-collapse.mutation.d.ts +3 -0
  38. package/lib/types/commands/mutations/set-pivot-field-format.mutation.d.ts +3 -0
  39. package/lib/types/commands/mutations/set-pivot-filter.mutation.d.ts +3 -0
  40. package/lib/types/commands/mutations/set-pivot-option.mutation.d.ts +3 -0
  41. package/lib/types/commands/mutations/set-pivot-position.mutation.d.ts +3 -0
  42. package/lib/types/commands/mutations/set-pivot-sort.mutation.d.ts +3 -0
  43. package/lib/types/commands/mutations/set-pivot-subtotal-type.mutation.d.ts +3 -0
  44. package/lib/types/commands/mutations/update-field-position.mutation.d.ts +3 -0
  45. package/lib/types/commands/mutations/update-pivot-field-source-info.mutation.d.ts +3 -0
  46. package/lib/types/commands/mutations/update-pivot-table-source.mutation.d.ts +3 -0
  47. package/lib/types/commands/mutations/update-value-position.mutation.d.ts +3 -0
  48. package/lib/types/commands/operations/pivot-table-dirty-view.operation.d.ts +3 -0
  49. package/lib/types/common/const.d.ts +64 -0
  50. package/lib/types/const/const.d.ts +107 -0
  51. package/lib/types/const/template.d.ts +885 -0
  52. package/lib/types/const/type.d.ts +525 -0
  53. package/lib/types/controllers/config.schema.d.ts +6 -0
  54. package/lib/types/controllers/const.d.ts +1 -0
  55. package/lib/types/controllers/sheets-pivot-caculate.controller.d.ts +44 -0
  56. package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +12 -0
  57. package/lib/types/controllers/sheets-pivot-interceptor.controller.d.ts +21 -0
  58. package/lib/types/controllers/sheets-pivot-permission.controller.d.ts +7 -0
  59. package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +21 -0
  60. package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +9 -0
  61. package/lib/types/controllers/sheets-pivot-rpc.controller.d.ts +20 -0
  62. package/lib/types/facade/f-pivot-table.d.ts +83 -0
  63. package/lib/types/facade/f-workbook.d.ts +72 -0
  64. package/lib/types/facade/index.d.ts +2 -0
  65. package/lib/types/index.d.ts +52 -1158
  66. package/lib/types/locale/en-US.d.ts +3 -0
  67. package/lib/types/locale/fa-IR.d.ts +3 -0
  68. package/lib/types/locale/ru-RU.d.ts +3 -0
  69. package/lib/types/locale/vi-VN.d.ts +3 -0
  70. package/lib/types/locale/zh-CN.d.ts +31 -0
  71. package/lib/types/locale/zh-TW.d.ts +3 -0
  72. package/lib/types/models/sheets-pivot-config-model.d.ts +58 -0
  73. package/lib/types/models/sheets-pivot-data-field-manager.d.ts +77 -0
  74. package/lib/types/models/sheets-pivot-data-source-model.d.ts +101 -0
  75. package/lib/types/models/sheets-pivot-table-adaptor-model.d.ts +54 -0
  76. package/lib/types/models/view-util.d.ts +16 -0
  77. package/lib/types/plugin.d.ts +17 -0
  78. package/lib/types/services/sheets-pivot-rpc.service.d.ts +11 -0
  79. package/lib/types/services/sheets-pivot-table.service.d.ts +18 -0
  80. package/lib/types/util.d.ts +84 -0
  81. package/lib/umd/facade.js +1 -1
  82. package/lib/umd/index.js +1 -1
  83. package/lib/umd/locale/en-US.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/ru-RU.js +1 -1
  86. package/lib/umd/locale/vi-VN.js +1 -1
  87. package/lib/umd/locale/zh-CN.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +14 -14
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x39e7(_0x22ea6f,_0x17a487){const _0x27c997=_0x27c9();return _0x39e7=function(_0x39e7a3,_0x240e64){_0x39e7a3=_0x39e7a3-0xa7;let _0x5d58fa=_0x27c997[_0x39e7a3];return _0x5d58fa;},_0x39e7(_0x22ea6f,_0x17a487);}(function(_0x5e7cef,_0x256235){const _0x236d53=_0x39e7,_0x48ccb3=_0x5e7cef();while(!![]){try{const _0x374584=-parseInt(_0x236d53(0x162))/0x1*(-parseInt(_0x236d53(0xcc))/0x2)+parseInt(_0x236d53(0x167))/0x3+parseInt(_0x236d53(0x1a6))/0x4*(-parseInt(_0x236d53(0x2e6))/0x5)+-parseInt(_0x236d53(0x291))/0x6+-parseInt(_0x236d53(0x317))/0x7+-parseInt(_0x236d53(0x164))/0x8+parseInt(_0x236d53(0x250))/0x9;if(_0x374584===_0x256235)break;else _0x48ccb3['push'](_0x48ccb3['shift']());}catch(_0x153919){_0x48ccb3['push'](_0x48ccb3['shift']());}}}(_0x27c9,0x9190f),function(_0x23810a,_0x2ecbc4){const _0x365447=_0x39e7;typeof exports==_0x365447(0xbe)&&typeof module<'u'?_0x2ecbc4(exports,require(_0x365447(0x36d)),require(_0x365447(0x11a)),require(_0x365447(0x257)),require(_0x365447(0x227)),require('rxjs'),require(_0x365447(0x332)),require(_0x365447(0x139)),require(_0x365447(0x2b2)),require(_0x365447(0x31a))):typeof define==_0x365447(0x367)&&define[_0x365447(0x19f)]?define([_0x365447(0x140),_0x365447(0x36d),_0x365447(0x11a),_0x365447(0x257),_0x365447(0x227),_0x365447(0xf9),_0x365447(0x332),_0x365447(0x139),_0x365447(0x2b2),'@univerjs/engine-render'],_0x2ecbc4):(_0x23810a=typeof globalThis<'u'?globalThis:_0x23810a||self,_0x2ecbc4(_0x23810a[_0x365447(0x35a)]={},_0x23810a[_0x365447(0x2e7)],_0x23810a['UniverCore'],_0x23810a[_0x365447(0x136)],_0x23810a[_0x365447(0x2bf)],_0x23810a[_0x365447(0xf9)],_0x23810a[_0x365447(0x26f)],_0x23810a[_0x365447(0x122)],_0x23810a['UniverRpc'],_0x23810a[_0x365447(0xe0)]));}(this,function(_0x2ba19f,_0x1f205f,_0x54ff7d,_0x1d2fce,_0x27c753,_0x26fbf0,_0x5dab25,_0x1bdede,_0x23a9ff,_0x34f6eb){'use strict';const _0x28eb76=_0x39e7;var _0x94a7a7=Object[_0x28eb76(0xc5)],_0x1fd39c=(_0xef71be,_0x52d93b,_0x225d47)=>_0x52d93b in _0xef71be?_0x94a7a7(_0xef71be,_0x52d93b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225d47}):_0xef71be[_0x52d93b]=_0x225d47,_0x2edd4f=(_0x8efe45,_0xe92bb1,_0x27e377)=>_0x1fd39c(_0x8efe45,typeof _0xe92bb1!=_0x28eb76(0x1b0)?_0xe92bb1+'':_0xe92bb1,_0x27e377),_0x442b9;const _0x148a08=Number['parseInt'](0x672f6083),_0x130491=0x10,_0xf07192=0x1,_0x4c6b36=_0x28eb76(0x338),_0x323d5f=0x1,_0x19f707=_0x28eb76(0x32f),_0x50dec4='rgb(255,255,255)',_0x1689a5=_0x28eb76(0x14e),_0x106c8f=_0x28eb76(0x163),_0x2d5b86='#f4f4f5',_0x3d5170='#eceeff',_0x3b1e11=_0x28eb76(0x158),_0x2c1c72=_0x28eb76(0x20d),_0x40d805=_0x28eb76(0x1f0),_0x3eb47e=_0x28eb76(0x158),_0x308259=_0x28eb76(0x20d),_0x39097b=_0x28eb76(0x371),_0x49c8f7=0xe,_0x8a510b=0x6;var _0x4157c3=(_0x3f9bb9=>(_0x3f9bb9[_0x28eb76(0xf1)]='exiting',_0x3f9bb9[_0x28eb76(0x298)]='new',_0x3f9bb9))(_0x4157c3||{});const _0x53078d={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''}}},_0x384e25=0x1e,_0x2934fc={'b':{'s':0x1,'cl':{'rgb':_0x1689a5}},'l':{'s':0x1,'cl':{'rgb':_0x1689a5}},'r':{'s':0x1,'cl':{'rgb':_0x1689a5}},'t':{'s':0x1,'cl':{'rgb':_0x1689a5}}},_0x4ccd71={'bg':{'rgb':_0x19f707},'ht':0x2,'vt':0x2,'tb':0x1},_0x2ed410={'bg':{'rgb':_0x50dec4},'ht':0x2,'vt':0x2,'tb':0x1},_0x8c41a9={'rowStyle':{'bg':{'rgb':_0x39097b},'bd':_0x2934fc,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x3eb47e},'bd':null,'cl':{'rgb':_0x308259},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x2934fc,'bg':{'rgb':_0x40d805},'vt':0x2},'cornerStyle':{'bd':_0x2934fc,'bg':{'rgb':_0x3d5170},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x2934fc,'bg':{'rgb':_0x106c8f},'vt':0x2},'leafStyle':{'bd':_0x2934fc,'bg':{'rgb':_0x2d5b86},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x3b1e11},'cl':{'rgb':_0x2c1c72},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x2934fc,'vt':0x2}},_0x4ffe25=(_0x5de24a,_0x2ce2eb,_0x195b7a)=>{const _0xa09e54=_0x28eb76;let _0x4bdd17;const _0x2c0f99=_0x5de24a[_0xa09e54(0xc3)](_0x54ff7d[_0xa09e54(0xfb)])['getCurrentUnitForType'](_0x54ff7d[_0xa09e54(0x1dc)]['UNIVER_SHEET']);if(!_0x2c0f99)return null;const _0x4acbbf=_0x2c0f99[_0xa09e54(0x184)]();let _0x4b137a;if(_0x195b7a&&(_0x4b137a=_0x4acbbf['setValue'](_0x195b7a)),_0x2ce2eb!=null&&_0x2ce2eb['v']||(_0x2ce2eb==null?void 0x0:_0x2ce2eb['v'])===0x0){_0x4bdd17||(_0x4bdd17={});const _0x44432b=_0x50d246(_0x2ce2eb['v']);typeof _0x44432b==_0xa09e54(0x1a8)?_0x4bdd17['t']=_0x54ff7d[_0xa09e54(0x138)][_0xa09e54(0x350)]:typeof _0x44432b=='string'&&(_0x4bdd17['t']=_0x54ff7d[_0xa09e54(0x138)][_0xa09e54(0x215)]),_0x4bdd17['v']=_0x44432b;}return(_0x2ce2eb!=null&&_0x2ce2eb['i']||(_0x2ce2eb==null?void 0x0:_0x2ce2eb['i'])===0x0)&&(_0x4bdd17||(_0x4bdd17={}),_0x4bdd17['fi']=_0x2ce2eb['i']),_0x2ce2eb!=null&&_0x2ce2eb['s']&&(_0x4bdd17||(_0x4bdd17={}),_0x4bdd17['pbt']=_0x2ce2eb['s']),_0x195b7a&&(_0x4bdd17||(_0x4bdd17={}),_0x4bdd17['s']=_0x4b137a),_0x4bdd17;},_0x4e4604=(_0xce99db,_0xee7315,_0x1149bd,_0x1ee823)=>{const _0x2437ea=_0x28eb76;var _0x2bb9f8,_0x3c0772,_0x1f4021,_0x5ca40c,_0x4193f1,_0x684b74,_0x3c6c4d,_0x1a41b6,_0x21ef8b,_0x1445b0,_0x3653d4,_0x3a04d1,_0x1ac7ac,_0x491ca5;const _0x1eec97=_0x1149bd[_0x2437ea(0x1ab)],{cornerView:_0x23bd9a,rowView:_0x1b66a5,colView:_0x9cc914,dataView:_0x4c3e37,pageView:_0x2fdede,formatMap:_0x37e6c8}=_0xee7315,{row:_0x1a69fb,col:_0x17bf32}=_0x1eec97,_0x49ad49=new _0x54ff7d['ObjectMatrix'](),_0x36af11={},_0x2efce8={},_0x1b0e12={},_0x23214d={},_0x568ea1={};let _0x3e6db8=_0x1a69fb,_0x599dd8=_0x17bf32;Object[_0x2437ea(0xb7)](_0x2fdede[_0x2437ea(0x28d)])['forEach'](_0x2d231e=>{const _0x54db67=_0x2437ea;Object[_0x54db67(0xb7)](_0x2fdede[_0x54db67(0x28d)][Number(_0x2d231e)])[_0x54db67(0x287)](_0x1aecc2=>{const _0xef046f=_0x54db67,_0x56b0c5={..._0x2fdede[_0xef046f(0x28d)][Number(_0x2d231e)][Number(_0x1aecc2)]};_0x49ad49[_0xef046f(0xf8)](Number(_0x2d231e)+_0x3e6db8,Number(_0x1aecc2)+_0x599dd8,_0x4ffe25(_0xce99db,_0x56b0c5,_0x8c41a9[_0xef046f(0x18f)]));});});const _0x575c92=Object[_0x2437ea(0xb7)](_0x2fdede[_0x2437ea(0x28d)])['length'];_0x3e6db8+=_0x575c92+(_0x575c92?_0x323d5f:0x0);const _0x5f5399=_0x23bd9a[_0x2437ea(0x106)](),_0x274ac0=_0x23bd9a['getColCount']();for(let _0x19b0d6=0x0;_0x19b0d6<_0x5f5399;_0x19b0d6++)for(let _0x2a7057=0x0;_0x2a7057<_0x274ac0;_0x2a7057++){const _0x20f6b1={...(_0x3c0772=(_0x2bb9f8=_0x23bd9a[_0x2437ea(0x28d)])==null?void 0x0:_0x2bb9f8[_0x19b0d6])==null?void 0x0:_0x3c0772[_0x2a7057]};_0x20f6b1&&((_0x1f4021=_0x1b66a5['headerMap'][_0x2a7057])!=null&&_0x1f4021[_0x2437ea(0x126)])&&(_0x20f6b1['v']=''+_0x1ee823['sheets-pivot.value']),_0x49ad49['setValue'](_0x19b0d6+_0x3e6db8,_0x2a7057+_0x599dd8,_0x4ffe25(_0xce99db,_0x20f6b1,_0x8c41a9['cornerStyle']));}for(let _0x4f66a6=0x0;_0x4f66a6<_0x23bd9a[_0x2437ea(0x1b5)]['length'];_0x4f66a6++)_0x23bd9a[_0x2437ea(0x1b5)][_0x4f66a6]&&(_0x1b0e12[''+(_0x4f66a6+_0x599dd8)]=_0x23bd9a[_0x2437ea(0x1b5)][_0x4f66a6]);_0x599dd8+=_0x274ac0;const _0x4b1fd6=_0x9cc914[_0x2437ea(0x370)],_0x24a2a2=_0x9cc914[_0x2437ea(0x359)]()>=0x0?_0x9cc914[_0x2437ea(0x359)]()+0x1:0x0,_0x117b47=_0x9cc914['getLastCol']()>=0x0?_0x9cc914['getLastCol']()+0x1:0x0;for(let _0x5d902e=0x0;_0x5d902e<_0x117b47;_0x5d902e++){for(let _0x1ca447=0x0;_0x1ca447<_0x24a2a2;_0x1ca447++){const _0x517306={...(_0x4193f1=(_0x5ca40c=_0x9cc914[_0x2437ea(0x28d)])==null?void 0x0:_0x5ca40c[_0x1ca447])==null?void 0x0:_0x4193f1[_0x5d902e]},_0x2ebea8=(_0x684b74=_0x4b1fd6[_0x1ca447])==null?void 0x0:_0x684b74[_0x2437ea(0x2e3)],_0x385648=_0x37e6c8[_0x2ebea8];_0x517306&&(_0x517306['v']=_0xa922d0(_0x517306,_0x1ca447===0x0&&((_0x3c6c4d=_0x9cc914['getHeaderMapItem'](_0x5d902e+0x1))==null?void 0x0:_0x3c6c4d[_0x2437ea(0x126)]),_0x385648,_0x1ee823));let _0x1b5017;_0x385648?_0x1b5017={..._0x8c41a9['colStyle'],'n':{'pattern':_0x385648}}:_0x1b5017={..._0x8c41a9[_0x2437ea(0x316)]},_0x49ad49[_0x2437ea(0xf8)](_0x1ca447+_0x3e6db8,_0x5d902e+_0x599dd8,_0x4ffe25(_0xce99db,_0x517306,_0x1b5017));}_0x9cc914[_0x2437ea(0x1b5)][_0x5d902e]&&(_0x2efce8[''+(_0x5d902e+_0x599dd8)]=_0x9cc914[_0x2437ea(0x1b5)][_0x5d902e]),_0x9cc914[_0x2437ea(0x370)][_0x5d902e+0x1]&&(_0x568ea1[''+(_0x5d902e+_0x3e6db8+0x1)]=_0x9cc914[_0x2437ea(0x370)][_0x5d902e+0x1]);}_0x3e6db8+=_0x5f5399;const _0x50d7ad=_0x1b66a5[_0x2437ea(0x370)],_0x3ba4f9=_0x1b66a5['getLastRow']()>=0x0?_0x1b66a5[_0x2437ea(0x359)]()+0x1:0x0,_0x2f6479=_0x1b66a5['getLastCol']()>=0x0?_0x1b66a5[_0x2437ea(0x1c5)]()+0x1:0x0;for(let _0x2bc5f4=0x0;_0x2bc5f4<_0x3ba4f9;_0x2bc5f4++){for(let _0x5c1347=0x0;_0x5c1347<_0x2f6479;_0x5c1347++){const _0x2bc20b={...(_0x21ef8b=(_0x1a41b6=_0x1b66a5['data'])==null?void 0x0:_0x1a41b6[_0x2bc5f4])==null?void 0x0:_0x21ef8b[_0x5c1347]},_0x4b46a8=(_0x1445b0=_0x50d7ad[_0x5c1347])==null?void 0x0:_0x1445b0['tableFieldId'],_0x2f5796=_0x37e6c8[_0x4b46a8];_0x2bc20b&&(_0x2bc20b['v']=_0xa922d0(_0x2bc20b,!0x1,_0x2f5796,_0x1ee823));let _0x59d4b1;_0x1b66a5[_0x2437ea(0x1b5)][_0x2bc5f4]['level']===_0x1b66a5['getColCount']()?_0x59d4b1=_0x8c41a9[_0x2437ea(0x129)]:_0x1b66a5[_0x2437ea(0x1b5)][_0x2bc5f4][_0x2437ea(0x300)]?_0x59d4b1=_0x1b66a5[_0x2437ea(0x1b5)][_0x2bc5f4]['level']===0x0?_0x8c41a9[_0x2437ea(0x1a4)]:_0x8c41a9[_0x2437ea(0x2a2)]:_0x59d4b1=_0x8c41a9['rowStyle'],_0x2f5796&&(_0x59d4b1={..._0x59d4b1,'n':{'pattern':_0x2f5796}}),_0x49ad49['setValue'](_0x2bc5f4+_0x3e6db8,_0x5c1347+_0x17bf32,_0x4ffe25(_0xce99db,_0x2bc20b,_0x59d4b1));}_0x1b66a5[_0x2437ea(0x1b5)][_0x2bc5f4]&&(_0x36af11[''+(_0x2bc5f4+_0x3e6db8)]=_0x1b66a5['info'][_0x2bc5f4]),_0x1b66a5['headerMap'][_0x2bc5f4]&&(_0x23214d[''+(_0x2bc5f4+_0x17bf32)]=_0x1b66a5[_0x2437ea(0x370)][_0x2bc5f4]);}const _0x3e3024=_0x4c3e37[_0x2437ea(0x106)](),_0x3222e8=_0x4c3e37[_0x2437ea(0xfd)]();for(let _0x27122b=0x0;_0x27122b<_0x3e3024;_0x27122b++)for(let _0x106ea7=0x0;_0x106ea7<_0x3222e8;_0x106ea7++){const _0x38fbe3={...(_0x3a04d1=(_0x3653d4=_0x4c3e37[_0x2437ea(0x28d)])==null?void 0x0:_0x3653d4[_0x27122b])==null?void 0x0:_0x3a04d1[_0x106ea7]};let _0x49c0d3;_0x1b66a5['info'][_0x27122b][_0x2437ea(0x300)]?_0x49c0d3=_0x1b66a5[_0x2437ea(0x1b5)][_0x27122b]['level']===0x0?_0x8c41a9['grandTotal']:_0x8c41a9[_0x2437ea(0x2a2)]:_0x49c0d3=_0x8c41a9[_0x2437ea(0x33a)];const _0x5d17cf=_0x1b66a5['info'][_0x27122b][_0x2437ea(0x281)],_0x543483=_0x9cc914[_0x2437ea(0x1b5)][_0x106ea7]['valueIndex'],_0x15ac63=Math[_0x2437ea(0x28a)](_0x5d17cf,_0x543483),_0x2b1f83=_0x1149bd[_0x2437ea(0xc8)][_0x2437ea(0xde)]['concat']();let _0x17831d='';_0x15ac63<0x0?_0x17831d=(_0x1ac7ac=_0x2b1f83[0x0])!=null?_0x1ac7ac:'':_0x17831d=(_0x491ca5=_0x2b1f83[_0x15ac63])!=null?_0x491ca5:'';const _0x59a180=_0x37e6c8[_0x17831d];_0x59a180&&(_0x49c0d3={..._0x49c0d3,'n':{'pattern':_0x59a180}}),_0x49ad49[_0x2437ea(0xf8)](_0x27122b+_0x3e6db8,_0x106ea7+_0x599dd8,_0x4ffe25(_0xce99db,_0x38fbe3,_0x49c0d3));}return{'valueMatrix':_0x49ad49,'rowInfo':_0x36af11,'colInfo':_0x2efce8,'cornerInfo':_0x1b0e12,'rowHeaderMap':_0x23214d,'colHeaderMap':_0x568ea1};};function _0xa922d0(_0x565b5b,_0x495480,_0x958aac,_0x2ce5b8){const _0x494311=_0x28eb76;let _0x26d64d=_0x565b5b['v'];_0x495480&&(_0x26d64d=''+_0x2ce5b8['sheets-pivot.value']);const _0x3974dd=_0x565b5b['t']&&(_0x565b5b['t']&_0x1f205f[_0x494311(0x266)][_0x494311(0x1c2)])>0x0;if(_0x3974dd&&(_0x26d64d=''+_0x2ce5b8['sheets-pivot.blank']),_0x565b5b['s']===_0x1f205f[_0x494311(0xbd)]['Subtotal']){let _0x4f6d4d=_0x26d64d,_0x2f98b5='';_0x1f205f[_0x494311(0x2ee)](_0x26d64d)&&(_0x4f6d4d=_0x26d64d['prefix'],_0x2f98b5=_0x26d64d[_0x494311(0x36f)]);const _0x29159a=_0x958aac&&!_0x3974dd?_0x54ff7d[_0x494311(0x176)][_0x494311(0x1d2)](_0x958aac,Number(_0x4f6d4d)):_0x4f6d4d;_0x2f98b5?_0x26d64d=_0x29159a+'\x20'+_0x2f98b5:_0x26d64d=_0x29159a+'\x20'+_0x2ce5b8[_0x494311(0x31b)];}else _0x565b5b['s']===_0x1f205f[_0x494311(0xbd)]['GrandTotal']&&(_0x26d64d=_0x26d64d+'\x20'+_0x2ce5b8['sheets-pivot.grandTotal']);return _0x26d64d;}function _0x50d246(_0x25053b){const _0xfdf46c=_0x28eb76;if(_0x1f205f[_0xfdf46c(0x15b)](_0x25053b)){const {errorType:_0x42a538}=_0x25053b;switch(_0x42a538){case _0x1f205f['PivotErrorTypeEnum']['Div0']:return _0x1d2fce[_0xfdf46c(0x191)][_0xfdf46c(0x249)];case _0x1f205f['PivotErrorTypeEnum']['NotNumber']:return _0x1d2fce['ErrorType'][_0xfdf46c(0xd8)];case _0x1f205f[_0xfdf46c(0x20c)][_0xfdf46c(0x2cc)]:return _0x1d2fce[_0xfdf46c(0x191)][_0xfdf46c(0xc1)];case _0x1f205f['PivotErrorTypeEnum'][_0xfdf46c(0x2d4)]:return _0x1d2fce['ErrorType'][_0xfdf46c(0xc1)];case _0x1f205f[_0xfdf46c(0x20c)][_0xfdf46c(0x18c)]:return _0x1d2fce[_0xfdf46c(0x191)][_0xfdf46c(0x127)];}}return _0x25053b;}function _0x25c9ba(_0x627671,_0x846f71,_0x1003d9=!0x1,_0x593c32=!0x1){const _0x11d371=_0x28eb76,{data:_0x540b8c}=_0x846f71,_0xca2b95=_0x846f71[_0x11d371(0x106)](),_0x1ab90d=_0x846f71[_0x11d371(0xfd)]();if(_0xca2b95<=0x0||_0x1ab90d<=0x0)return[];const _0x1673a3=_0x846f71['getLastCol'](),_0x3941a4=_0x846f71[_0x11d371(0x359)](),_0x3a4c9f=_0x593c32?_0x3941a4>=0x0?_0x3941a4+0x1:0x0:_0xca2b95,_0xcfd3a1=_0x593c32?_0x1673a3>=0x0?_0x1673a3+0x1:0x0:_0x1ab90d,{row:_0xc67910,col:_0x650d03}=_0x627671,_0x4c0435=_0xc67910,_0x5d8f42=_0x650d03;if(_0x1003d9){const _0x486120=[];for(const [_0x3e58d7,_0x438a94]of Object[_0x11d371(0x236)](_0x540b8c))for(const [_0x1d4912,_0x3ca946]of Object[_0x11d371(0x236)](_0x438a94))_0x486120[_0x11d371(0x21f)](_0x54ff7d[_0x11d371(0x347)](_0x4c0435+Number(_0x3e58d7),_0x5d8f42+Number(_0x1d4912)));return _0x486120;}else{const _0x3ede22=_0x593c32?_0x3a4c9f>0x0?0x1:0x0:0x1,_0x461435=_0x593c32?_0xcfd3a1>0x0?0x1:0x0:0x1,_0x2d8451=_0xc67910+_0x3a4c9f-_0x3ede22,_0x39c0de=_0x650d03+_0xcfd3a1-_0x461435;return[{'startRow':_0x4c0435,'startColumn':_0x5d8f42,'endRow':_0x2d8451,'endColumn':_0x39c0de}];}}const _0x345bc3=_0x28eb76(0x282),_0x5b16b4=_0x28eb76(0x1db);var _0x203ba5=(_0x37157b=>(_0x37157b['Filter']=_0x28eb76(0x2fb),_0x37157b[_0x28eb76(0x117)]=_0x28eb76(0x261),_0x37157b[_0x28eb76(0x258)]=_0x28eb76(0x355),_0x37157b[_0x28eb76(0x1e6)]='AddPivotTableWithConfig',_0x37157b[_0x28eb76(0x149)]=_0x28eb76(0x2ef),_0x37157b[_0x28eb76(0x260)]=_0x28eb76(0x1e5),_0x37157b[_0x28eb76(0x22b)]=_0x28eb76(0x292),_0x37157b['SetPivotCollapse']='setPivotCollapse',_0x37157b[_0x28eb76(0x243)]='setPivotFilter',_0x37157b[_0x28eb76(0x132)]=_0x28eb76(0x134),_0x37157b[_0x28eb76(0x1e1)]=_0x28eb76(0x2ab),_0x37157b[_0x28eb76(0x19a)]=_0x28eb76(0xaa),_0x37157b['UpdateValuePosition']='updateValuePosition',_0x37157b[_0x28eb76(0x290)]=_0x28eb76(0x1ff),_0x37157b))(_0x203ba5||{});const _0x2dc672={'sheets-pivot.blankValue':_0x28eb76(0x2b7),'sheets-pivot.columnName':_0x28eb76(0x1a0),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x28eb76(0x125),'sheets-pivot.valueText':_0x28eb76(0x209),'sheets-pivot.averageName':_0x28eb76(0x373),'sheets-pivot.countName':_0x28eb76(0x1ca),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x28eb76(0x18e),'sheets-pivot.minName':_0x28eb76(0x17a),'sheets-pivot.productName':_0x28eb76(0x28e),'sheets-pivot.stdDevName':_0x28eb76(0x112),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x28eb76(0x18d),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x28eb76(0x2af),'sheets-pivot.subTotal':_0x28eb76(0x1bd),'sheets-pivot.grandTotal':_0x28eb76(0x125),'sheets-pivot.value':'value','sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x28eb76(0x1b9),'sheets-pivot.emptyPivot.column':_0x28eb76(0x210),'sheets-pivot.emptyPivot.values':_0x28eb76(0x108)},_0x350061={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0xe520be=_0x54ff7d[_0x28eb76(0xd0)](_0x28eb76(0x1d4)),_0x3ee004=_0x54ff7d[_0x28eb76(0xab)](_0x28eb76(0x1b3));var _0x5004fb=(_0x107fa6=>(_0x107fa6[_0x28eb76(0xdc)]=_0x28eb76(0xdc),_0x107fa6[_0x28eb76(0x30d)]=_0x28eb76(0x30d),_0x107fa6[_0x28eb76(0x179)]=_0x28eb76(0x179),_0x107fa6))(_0x5004fb||{}),_0xfaf966=(_0x46c74e=>(_0x46c74e[_0x28eb76(0x1d0)]=_0x28eb76(0xdc),_0x46c74e['Set']=_0x28eb76(0x141),_0x46c74e[_0x28eb76(0x226)]=_0x28eb76(0x30d),_0x46c74e))(_0xfaf966||{});const _0xaae86a={0x0:'y',0x1:'6',0x2:'3',0x3:'M',0x4:'S',0x5:'G',0x6:'Y',0x7:'g',0x8:'a',0x9:'t','h':'0','G':'1','N':'2','y':'4','i':'5','q':'7','p':'8','z':'9','S':'b','A':'c','F':'d','d':'e','K':'f','c':'h','b':'i','k':'j','n':'k','X':'l','H':'m','e':'n','U':'o','o':'p','Y':'q','W':'r','l':'s','v':'u','M':'v','w':'w','j':'x','R':'z','V':'A','g':'B','L':'C','m':'D','Z':'E','B':'F','T':'H','a':'I','C':'J','t':'K','O':'L','J':'N','I':'O','E':'P','s':'Q','Q':'R','x':'T','r':'U','D':'V','P':'W','u':'X','f':'Z'},_0x2e11cf=_0x28eb76(0x307),_0x99249c={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x155),'handler':()=>!0x0},_0x1adb89={'type':_0x54ff7d['CommandType'][_0x28eb76(0x344)],'id':_0x28eb76(0x30c),'handler':()=>!0x0},_0x3a0a39={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x120),'handler':()=>!0x0},_0x1baad8={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x159),'handler':()=>!0x0},_0x1ed8db={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x202),'handler':()=>!0x0},_0x458222=_0x3a24c5=>{const _0x44880a=_0x28eb76;var _0x45af49;return((_0x45af49=_0x3a24c5['body'])==null?void 0x0:_0x45af49[_0x44880a(0x1fe)][_0x44880a(0x274)](/\r\n$/,''))||'';};class _0x3f6a00 extends _0x1f205f['DataFieldManager']{constructor(_0x42fe82,_0x2bea5f){const _0x2f0c77=_0x28eb76;super(),_0x2edd4f(this,'rangeKeyMap',{}),_0x2edd4f(this,_0x2f0c77(0x2d5)),_0x2edd4f(this,_0x2f0c77(0x366)),(this['_univerInstanceService']=_0x2bea5f,this['_host']=_0x42fe82);}[_0x28eb76(0x20a)](){const _0x47de4f=_0x28eb76;for(const _0x4069ce in this[_0x47de4f(0x166)]){const _0x28b5dc=this[_0x47de4f(0x166)][_0x4069ce],_0x242934=_0x28b5dc['getRangeKey']();this['rangeKeyMap'][_0x242934]=_0x28b5dc[_0x47de4f(0x314)]();}}['getAutoDisplayNameFunction'](){const _0xa6cad6=_0x28eb76,_0x48c300=this[_0xa6cad6(0x366)];return _0x358892['bind'](_0x48c300);}[_0x28eb76(0x20b)](_0x208827){const _0x5071b4=_0x28eb76,_0x19c50e=this[_0x5071b4(0x166)][_0x208827]['rangeKey'];delete this[_0x5071b4(0x166)][_0x208827],delete this[_0x5071b4(0x1e2)][_0x19c50e];}[_0x28eb76(0xee)](_0x107233){const _0x3de3d0=_0x28eb76;var _0x6ba567,_0x4fc434;const _0x3e9c3f=this['_host']['getTargetByPivotId'](_0x107233);if(_0x3e9c3f){const {unitId:_0x1adccb,subUnitId:_0x498515}=_0x3e9c3f,_0x4cab73=(_0x6ba567=this['_host'][_0x3de3d0(0xaf)](_0x1adccb,_0x498515,_0x107233))==null?void 0x0:_0x6ba567[_0x3de3d0(0x171)];this[_0x3de3d0(0x366)]['broadcastCollectionChange']({'token':_0x107233,'type':_0x5004fb[_0x3de3d0(0x30d)],'dataRangeInfo':_0x4cab73});}(_0x4fc434=this[_0x3de3d0(0x2fd)](_0x107233))==null||_0x4fc434[_0x3de3d0(0x1aa)](),delete this[_0x3de3d0(0x111)][_0x107233];}[_0x28eb76(0x1b7)](_0xf7e051,_0x1ec9d8){const {sheetName:_0x4fab67,unitId:_0x580f48,range:_0x31aa93}=_0xf7e051,{startRow:_0x58f2c3,endRow:_0x3e3935}=_0x31aa93;return _0x1d2fce['serializeRangeWithSpreadsheet'](_0x580f48,_0x4fab67,{'startRow':_0x58f2c3,'endRow':_0x3e3935,'startColumn':_0x1ec9d8,'endColumn':_0x1ec9d8});}[_0x28eb76(0x36c)](_0x4fcd85){return this['dataFields'][this['rangeKeyMap'][_0x4fcd85]];}[_0x28eb76(0x17e)](_0x75b6ac,_0x5c65c5){const _0x3485dc=_0x28eb76;this[_0x3485dc(0x1e2)][_0x75b6ac]=_0x5c65c5;}['updateRangeKeyMap'](_0x21aefc,_0x1498e2){const _0xe0185c=_0x28eb76;this[_0xe0185c(0x1e2)][_0x1498e2]=this['rangeKeyMap'][_0x21aefc],delete this[_0xe0185c(0x1e2)][_0x21aefc];}[_0x28eb76(0x22e)](_0x2fce93,_0x23176d,_0x1000ea,_0x526faa){const _0x18214e=_0x28eb76,_0x7cd808=new _0x1f205f['FieldsCollection'](this);_0x7cd808['fromJSON'](_0x23176d);const _0x4d9b73=[];let _0x427d74=0x0;for(const _0xc656f5 of _0x7cd808[_0x18214e(0x2a0)]){const _0x40eb68=this[_0x18214e(0x1b7)](_0x1000ea,_0x427d74),_0x49430e=this[_0x18214e(0x166)][_0xc656f5];_0x49430e&&(_0x49430e['rangeKey']=_0x40eb68,this[_0x18214e(0x17e)](_0x40eb68,_0xc656f5),_0x4d9b73[_0x18214e(0x21f)]({'index':_0x427d74,'dataField':_0x49430e})),_0x427d74++;}return this[_0x18214e(0x203)](_0x2fce93,_0x7cd808,_0x1000ea,_0x526faa),{'collection':_0x7cd808,'updateDataFieldList':_0x4d9b73};}['getRangeStartEndInfo'](_0x3582a3,_0x53484b){const _0x4d2430=_0x28eb76;return _0x3582a3[_0x4d2430(0x324)]===_0x54ff7d[_0x4d2430(0x2cd)][_0x4d2430(0x1c7)]?{'startRow':0x0,'startColumn':_0x3582a3[_0x4d2430(0x190)],'endRow':_0x53484b[_0x4d2430(0x106)]()-0x1,'endColumn':_0x3582a3[_0x4d2430(0x2d3)]}:{'startRow':_0x3582a3[_0x4d2430(0x2f2)],'startColumn':_0x3582a3[_0x4d2430(0x190)],'endRow':_0x3582a3['endRow'],'endColumn':_0x3582a3[_0x4d2430(0x2d3)]};}[_0x28eb76(0x2db)](_0x5ac449){const _0x494cba=_0x28eb76,{sheetName:_0x19faf4,range:_0x5509cf}=_0x5ac449,_0x4529d6=this['_univerInstanceService'][_0x494cba(0x2d6)](_0x54ff7d['UniverInstanceType'][_0x494cba(0x2a1)]),_0x1995fc=_0x4529d6[_0x494cba(0x156)](_0x19faf4),_0x1c46b2=_0x1995fc['getCellMatrix'](),{startColumn:_0x25de45,startRow:_0x64b05c,endColumn:_0x135c08}=this[_0x494cba(0x20e)](_0x5509cf,_0x1995fc),_0x569806=_0x4529d6['getStyles'](),_0x258dce=new _0x1f205f['FieldsCollection'](this);_0x258dce['setRange'](_0x5ac449);const _0x4ef5ec=[],_0x1b25d0={};for(let _0x2a8c81=_0x25de45;_0x2a8c81<=_0x135c08;_0x2a8c81++){const _0x13c123=_0x1c46b2['getValue'](_0x64b05c,_0x2a8c81),_0x650e1=this[_0x494cba(0x1b7)](_0x5ac449,_0x2a8c81),_0x340b4f=this[_0x494cba(0x36c)](_0x650e1);if(_0x340b4f)_0x258dce['addField'](_0x340b4f['getId'](),_0x340b4f[_0x494cba(0x27f)]());else{const _0x262a7a=this[_0x494cba(0x342)]();let _0x50cf9a=this['adjustSheetCellData'](_0x13c123,_0x569806,_0x1b25d0);_0x1f205f['isDateValue'](_0x50cf9a)&&(_0x50cf9a=_0x54ff7d['numfmt'][_0x494cba(0x1d2)](_0x50cf9a['f'],Number(_0x50cf9a['v'])));const _0x9430a2=this[_0x494cba(0x1be)](_0x50cf9a,_0x25de45+_0x2a8c81),_0x6eae65=new _0x1f205f['DataField'](_0x262a7a,_0x9430a2,_0x1f205f['generateHexNumber'](0x3));_0x6eae65[_0x494cba(0x361)]=_0x650e1,this[_0x494cba(0x166)][_0x262a7a]=_0x6eae65,_0x258dce['addField'](_0x262a7a,_0x9430a2),_0x4ef5ec[_0x494cba(0x21f)]({'index':_0x2a8c81,'dataField':_0x6eae65});}}return{'updateDataFieldList':_0x4ef5ec,'collection':_0x258dce};}[_0x28eb76(0x101)](_0x32201c){const _0x5a8d5a=_0x28eb76;return this['_host'][_0x5a8d5a(0x16b)]()['sheets-pivot.columnName']+'\x20'+_0x54ff7d[_0x5a8d5a(0x246)](_0x32201c);}[_0x28eb76(0x1be)](_0x2949ca,_0x47f296){const _0x477467=_0x28eb76;return _0x2949ca==null?this[_0x477467(0x101)](_0x47f296):String(_0x2949ca);}[_0x28eb76(0x2fd)](_0x56b0b5){return this['collections'][_0x56b0b5];}['addCollection'](_0x5543c8,_0x25539c,_0x5143d9,_0x55e705){const _0x63b8be=_0x28eb76;this[_0x63b8be(0x111)][_0x5543c8]=_0x25539c,_0x25539c[_0x63b8be(0x12b)](_0x5143d9),this['_host']['broadcastCollectionChange']({'token':_0x5543c8,'type':_0x5004fb[_0x63b8be(0xdc)],'dataRangeInfo':_0x5143d9,'targetCellInfo':_0x55e705});}[_0x28eb76(0x2a5)](_0x562b9d,_0x1e9b19){const _0x3942ad=_0x28eb76,_0x5c5f82=this[_0x3942ad(0x2fd)](_0x562b9d),_0x33ab50=_0x5c5f82[_0x3942ad(0xbb)]();let _0x2d1a0d=0x0;for(const _0x592c71 of _0x33ab50){const _0x5825cc=_0x5c5f82[_0x3942ad(0x23c)](_0x592c71),_0x3e9cc6=this['getRangeKey'](_0x1e9b19,_0x2d1a0d);this[_0x3942ad(0xdf)](_0x5825cc[_0x3942ad(0x361)],_0x3e9cc6),_0x2d1a0d++;}}[_0x28eb76(0x262)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x28eb76(0x2ad)](_0x4a4e04,_0x376c01){const _0x3fa606=_0x28eb76;if(this[_0x3fa606(0x2fd)](_0x4a4e04)){const _0x58a09c=this[_0x3fa606(0x25e)](_0x376c01),_0xda48be=[];for(const _0x1acdcb of _0x58a09c)this['rangeKeyMap'][_0x1acdcb]!==void 0x0&&_0xda48be[_0x3fa606(0x21f)](this[_0x3fa606(0x1e2)][_0x1acdcb]);const _0x213c8a=this[_0x3fa606(0x1e3)](_0x4a4e04),_0x2a8e35=[],_0x4026cf=new Set(_0xda48be);for(const _0x1eea62 of _0x213c8a)_0x4026cf[_0x3fa606(0xc9)](_0x1eea62)||_0x2a8e35[_0x3fa606(0x21f)](_0x1eea62);return _0x2a8e35;}}[_0x28eb76(0x241)](_0x544bf9,_0x34f45d,_0x187cd1,_0x489adc,_0x2437ae){const _0xa0adf=_0x28eb76;return _0x34f45d&&_0x34f45d[_0xa0adf(0x17c)](_0x489adc,_0x2437ae)?_0x34f45d['getValue'](_0x489adc,_0x2437ae):_0x187cd1&&_0x187cd1[_0xa0adf(0x17c)](_0x489adc,_0x2437ae)?_0x187cd1[_0xa0adf(0x17c)](_0x489adc,_0x2437ae):_0x544bf9[_0xa0adf(0x17c)](_0x489adc,_0x2437ae);}[_0x28eb76(0x28b)](_0xc16d08,_0x1701a2,_0x5999b6,_0x58959d){const _0x5ea5a2=_0x28eb76,_0x2902a8=this[_0x5ea5a2(0x166)][_0xc16d08];if(!_0x2902a8)return;const {subUnitId:_0x3b14b9,range:_0x2f4bba,unitId:_0x20d1b8}=_0x1701a2,_0x1b71c1=this[_0x5ea5a2(0x2d5)][_0x5ea5a2(0x16f)](_0x20d1b8);if(!_0x1b71c1){console[_0x5ea5a2(0x2eb)](_0x5ea5a2(0x256));return;}const _0x11d37d=_0x1b71c1[_0x5ea5a2(0xd2)](_0x3b14b9),_0xdab699=_0x11d37d[_0x5ea5a2(0x301)](),{arrayFormulaCellDataMatrix:_0xd649e3,unitDataMatrix:_0x266b11}=_0x58959d||{},{startRow:_0x353661,startColumn:_0x55d793,endRow:_0x2e83d1}=this[_0x5ea5a2(0x20e)](_0x2f4bba,_0x11d37d);_0x2902a8[_0x5ea5a2(0x2fc)]();const _0x43cb41=_0x1b71c1[_0x5ea5a2(0x184)](),_0x3d6e16={},_0x1e6d92=this[_0x5ea5a2(0x241)](_0xdab699,_0xd649e3,_0x266b11,_0x353661,_0x55d793+_0x5999b6);let _0x156810=this['adjustSheetCellData'](_0x1e6d92,_0x43cb41,_0x3d6e16);_0x1f205f['isDateValue'](_0x156810)&&(_0x156810=_0x54ff7d[_0x5ea5a2(0x176)][_0x5ea5a2(0x1d2)](_0x156810['f'],Number(_0x156810['v'])));const _0x341849=this[_0x5ea5a2(0x1be)](_0x156810,_0x55d793+_0x5999b6);_0x2902a8[_0x5ea5a2(0x296)](_0x341849);for(let _0x336021=_0x353661+0x1;_0x336021<=_0x2e83d1;_0x336021++){const _0x475b2d=this[_0x5ea5a2(0x241)](_0xdab699,_0xd649e3,_0x266b11,_0x336021,_0x55d793+_0x5999b6);_0x2902a8[_0x5ea5a2(0x245)](this['adjustSheetCellData'](_0x475b2d,_0x43cb41,_0x3d6e16),_0x336021-0x1);}}[_0x28eb76(0x237)](_0xa24fb4,_0x5dbd2c,_0x30ca50){const _0x257399=_0x28eb76,{subUnitId:_0xecc6bf,range:_0x103d74,unitId:_0xa6178d}=_0x30ca50,_0x36e7e3=this[_0x257399(0x2d5)]['getUnit'](_0xa6178d);if(!_0x36e7e3){console['error'](_0x257399(0x256));return;}const _0x4c76cc=_0x36e7e3[_0x257399(0xd2)](_0xecc6bf),_0x5c663b=_0x4c76cc[_0x257399(0x301)](),{startRow:_0x24a9d4,startColumn:_0x4a788d,endRow:_0x2a1d04}=this['getRangeStartEndInfo'](_0x103d74,_0x4c76cc),_0x15f589=_0x36e7e3['getStyles'](),_0x2b7e07={};for(const {dataField:_0x38f38e,index:_0x4bdc5d}of _0x5dbd2c){_0x38f38e[_0x257399(0x2fc)]();const _0x5a49a5=this[_0x257399(0x241)](_0x5c663b,void 0x0,void 0x0,_0x24a9d4,_0x4a788d+_0x4bdc5d);let _0x5d096f=this['adjustSheetCellData'](_0x5a49a5,_0x15f589,_0x2b7e07);_0x1f205f['isDateValue'](_0x5d096f)&&(_0x5d096f=_0x54ff7d[_0x257399(0x176)][_0x257399(0x1d2)](_0x5d096f['f'],Number(_0x5d096f['v'])));const _0x271beb=this['uniqueDataFieldName'](_0x5d096f,_0x4a788d+_0x4bdc5d);_0x38f38e['setName'](_0x271beb);}_0xa24fb4[_0x257399(0x2b8)]();for(let _0x3e4424=_0x24a9d4+0x1;_0x3e4424<=_0x2a1d04;_0x3e4424++)for(const {index:_0x386a73,dataField:_0x3888e7}of _0x5dbd2c){const _0x3f5f0e=_0x5c663b[_0x257399(0x17c)](_0x3e4424,_0x4a788d+_0x386a73);_0x3888e7[_0x257399(0x245)](this[_0x257399(0x35d)](_0x3f5f0e,_0x15f589,_0x2b7e07),_0x3e4424-0x1);}_0xa24fb4[_0x257399(0xfe)](_0x2a1d04-_0x24a9d4);}[_0x28eb76(0x25e)](_0x37b6ff){const _0x21b0c0=_0x28eb76,{range:_0x146134}=_0x37b6ff,{startColumn:_0x462dc0,endColumn:_0x2d3e0a}=_0x146134,_0x1ef6bf=[];for(let _0x505b1f=_0x462dc0;_0x505b1f<=_0x2d3e0a;_0x505b1f++)_0x1ef6bf[_0x21b0c0(0x21f)](this['getRangeKey'](_0x37b6ff,_0x505b1f));return _0x1ef6bf;}[_0x28eb76(0x35d)](_0x275f18,_0x340bc5,_0x8845d7){const _0x4e104a=_0x28eb76;if(_0x275f18){const {s:_0x31c178,v:_0x50e6fc,t:_0x35b52e,p:_0x8d9e29}=_0x275f18;if(_0x8d9e29)return _0x458222(_0x8d9e29);const _0x2ccb71=_0x340bc5[_0x4e104a(0xc3)](_0x31c178);if(_0x2ccb71&&_0x35b52e===_0x54ff7d[_0x4e104a(0x138)][_0x4e104a(0x350)]&&_0x2ccb71['n']){const {pattern:_0x2c1d94}=_0x2ccb71['n'];_0x8845d7[_0x2c1d94]||(_0x8845d7[_0x2c1d94]=_0x54ff7d['numfmt'][_0x4e104a(0x2bb)](_0x2c1d94));const _0x510728=_0x8845d7[_0x2c1d94],_0x42c714=_0x510728[_0x4e104a(0x142)];if(_0x510728['isText'])return String(_0x50e6fc);if(_0x42c714)return{'v':_0x50e6fc,'f':_0x2c1d94};}if(_0x35b52e===_0x54ff7d[_0x4e104a(0x138)][_0x4e104a(0x350)])return Number(_0x50e6fc);if(_0x35b52e===_0x54ff7d[_0x4e104a(0x138)][_0x4e104a(0x215)]||_0x35b52e===_0x54ff7d[_0x4e104a(0x138)][_0x4e104a(0x13e)])return String(_0x50e6fc);if(_0x35b52e===void 0x0){const _0x4381c5=Number(_0x50e6fc);if(!Number['isNaN'](_0x4381c5)&&String(_0x4381c5)===_0x50e6fc)return _0x4381c5;}return _0x50e6fc!=null?_0x50e6fc:null;}else return null;}[_0x28eb76(0x21c)](_0x308475){const _0x16f68b=_0x28eb76,{sheetName:_0x492545,range:_0x1c1693,unitId:_0x4632be}=_0x308475,_0x1e0d84=this[_0x16f68b(0x2d5)]['getUnit'](_0x4632be);if(!_0x1e0d84)return console[_0x16f68b(0x2eb)](_0x16f68b(0x256)),{'header':[],'data':[]};const _0x1e815a=_0x1e0d84['getSheetBySheetName'](_0x492545),_0x4d223a=_0x1e815a[_0x16f68b(0x301)](),{startRow:_0x19904f,startColumn:_0x4b8bef,endRow:_0x3e4423,endColumn:_0x2cd873}=this[_0x16f68b(0x20e)](_0x1c1693,_0x1e815a),_0x2079db=_0x1e0d84[_0x16f68b(0x184)](),_0x228251=[],_0xb4268f=[],_0x10fedb={};for(let _0x3d9ae2=_0x19904f;_0x3d9ae2<=_0x3e4423;_0x3d9ae2++){const _0x3f6f3f=[];for(let _0x495a5a=_0x4b8bef;_0x495a5a<=_0x2cd873;_0x495a5a++){const _0x404cf4=_0x4d223a[_0x16f68b(0x17c)](_0x3d9ae2,_0x495a5a);_0x3d9ae2===_0x19904f?_0x228251[_0x16f68b(0x21f)](_0x404cf4==null?null:String(_0x404cf4['v'])):_0x3f6f3f['push'](this['adjustSheetCellData'](_0x404cf4,_0x2079db,_0x10fedb));}_0xb4268f[_0x16f68b(0x21f)](_0x3f6f3f);}return{'header':_0x228251,'data':_0xb4268f};}[_0x28eb76(0xb0)](){const _0x73d989=_0x28eb76;return super[_0x73d989(0xb0)]();}[_0x28eb76(0x294)](_0x5654d6){const _0x2537b2=_0x28eb76;super[_0x2537b2(0x294)](_0x5654d6),this[_0x2537b2(0x20a)]();}[_0x28eb76(0x1aa)](){const _0xaf0714=_0x28eb76;super[_0xaf0714(0x1aa)](),this['rangeKeyMap']={},this[_0xaf0714(0x366)]=null;}}const _0x3c60dd=_0xa4b0de=>{const _0x2278e7=_0x28eb76,{targetCellInfo:_0x41f000}=_0xa4b0de,{matrixCache:_0x55cca9,rangesCache:_0x2f092b}=_0x428314({'filter':'Filter','row':_0x2278e7(0x1b9),'column':_0x2278e7(0x210),'values':_0x2278e7(0x108)},_0x41f000),_0x37738b=new _0x54ff7d['ObjectMatrix']();return _0x55cca9[_0x2278e7(0x16e)]((_0x26c3cb,_0x2eec0e,_0x4a1ea0)=>{const _0x1d0684=_0x2278e7;_0x37738b[_0x1d0684(0xf8)](_0x26c3cb,_0x2eec0e,_0x4a1ea0);}),{'matrix':_0x37738b,'rangesCache':_0x2f092b};},_0xfbb4ad=_0xd81675=>{const _0x55f4af=_0x28eb76;let _0x3416a0;if(_0xd81675!=null&&_0xd81675['v']||(_0xd81675==null?void 0x0:_0xd81675['v'])===0x0){_0x3416a0||(_0x3416a0={});const _0x18c9c9=_0x50d246(_0xd81675['v']);typeof _0x18c9c9==_0x55f4af(0x1a8)?_0x3416a0['t']=_0x54ff7d['CellValueType'][_0x55f4af(0x350)]:typeof _0x18c9c9=='string'&&(_0x3416a0['t']=_0x54ff7d['CellValueType'][_0x55f4af(0x215)]),_0x3416a0['v']=_0x18c9c9;}return _0x3416a0;},_0x520f5f=(_0x4d723b,_0x1ce228,_0x529439)=>{const _0x15ab57=_0x28eb76;var _0xaeda0,_0x1d713e,_0x115a1a,_0x304b7c,_0x5f4704,_0x735679,_0x2749d4,_0xe7191,_0x412e78,_0x5c9627,_0x1c1c8e,_0x5db3cf;const {cornerView:_0x368156,rowView:_0x5a7423,colView:_0x55c839,dataView:_0x371250,pageView:_0x138f11,formatMap:_0x380dc6}=_0x4d723b,{row:_0x4b5340,col:_0x539080}=_0x1ce228,_0x11f6f9=new _0x54ff7d['ObjectMatrix']();let _0x321fd1=_0x4b5340,_0x2d93ff=_0x539080;Object[_0x15ab57(0xb7)](_0x138f11['data'])[_0x15ab57(0x287)](_0x21ee4c=>{const _0x3c9e04=_0x15ab57;Object[_0x3c9e04(0xb7)](_0x138f11['data'][Number(_0x21ee4c)])[_0x3c9e04(0x287)](_0x42f995=>{const _0x169cba=_0x3c9e04,_0x25c4ab={..._0x138f11[_0x169cba(0x28d)][Number(_0x21ee4c)][Number(_0x42f995)]};_0x11f6f9['setValue'](Number(_0x21ee4c)+_0x321fd1,Number(_0x42f995)+_0x2d93ff,_0xfbb4ad(_0x25c4ab));});});const _0x1a856d=Object[_0x15ab57(0xb7)](_0x138f11['data'])[_0x15ab57(0x35e)];_0x321fd1+=_0x1a856d+(_0x1a856d?_0x323d5f:0x0);const _0x54e03f=_0x368156['getRowCount'](),_0x2c4466=_0x368156[_0x15ab57(0xfd)]();for(let _0x161f34=0x0;_0x161f34<_0x54e03f;_0x161f34++)for(let _0x53659b=0x0;_0x53659b<_0x2c4466;_0x53659b++){const _0x1baefc={...(_0x1d713e=(_0xaeda0=_0x368156[_0x15ab57(0x28d)])==null?void 0x0:_0xaeda0[_0x161f34])==null?void 0x0:_0x1d713e[_0x53659b]};_0x1baefc&&((_0x115a1a=_0x5a7423[_0x15ab57(0x370)][_0x53659b])!=null&&_0x115a1a[_0x15ab57(0x126)])&&(_0x1baefc['v']=''+_0x529439[_0x15ab57(0x323)]),_0x11f6f9[_0x15ab57(0xf8)](_0x161f34+_0x321fd1,_0x53659b+_0x2d93ff,_0xfbb4ad(_0x1baefc));}_0x2d93ff+=_0x2c4466;const _0x282156=_0x55c839[_0x15ab57(0x370)],_0x9c5ad1=_0x55c839[_0x15ab57(0x359)]()>=0x0?_0x55c839[_0x15ab57(0x359)]()+0x1:0x0,_0x2550c3=_0x55c839[_0x15ab57(0x1c5)]()>=0x0?_0x55c839[_0x15ab57(0x1c5)]()+0x1:0x0;for(let _0x48c1d1=0x0;_0x48c1d1<_0x2550c3;_0x48c1d1++)for(let _0x269a8c=0x0;_0x269a8c<_0x9c5ad1;_0x269a8c++){const _0x565f2b={...(_0x5f4704=(_0x304b7c=_0x55c839[_0x15ab57(0x28d)])==null?void 0x0:_0x304b7c[_0x48c1d1])==null?void 0x0:_0x5f4704[_0x269a8c]},_0x56c709=(_0x735679=_0x282156[_0x48c1d1])==null?void 0x0:_0x735679[_0x15ab57(0x2e3)],_0x288005=_0x380dc6[_0x56c709];_0x565f2b&&(_0x565f2b['v']=_0xa922d0(_0x565f2b,_0x48c1d1===0x0&&((_0x2749d4=_0x55c839[_0x15ab57(0x1a5)](_0x269a8c+0x1))==null?void 0x0:_0x2749d4[_0x15ab57(0x126)]),_0x288005,_0x529439)),_0x11f6f9[_0x15ab57(0xf8)](_0x48c1d1+_0x321fd1,_0x269a8c+_0x2d93ff,_0xfbb4ad(_0x565f2b));}_0x321fd1+=_0x54e03f;const _0x26b027=_0x5a7423[_0x15ab57(0x370)],_0x803831=_0x5a7423[_0x15ab57(0x359)]()>=0x0?_0x5a7423[_0x15ab57(0x359)]()+0x1:0x0,_0x4b4261=_0x5a7423[_0x15ab57(0x1c5)]()>=0x0?_0x5a7423[_0x15ab57(0x1c5)]()+0x1:0x0;for(let _0x578061=0x0;_0x578061<_0x803831;_0x578061++)for(let _0x516b74=0x0;_0x516b74<_0x4b4261;_0x516b74++){const _0x4a9326={...(_0x412e78=(_0xe7191=_0x5a7423[_0x15ab57(0x28d)])==null?void 0x0:_0xe7191[_0x578061])==null?void 0x0:_0x412e78[_0x516b74]},_0x36aa98=(_0x5c9627=_0x26b027[_0x516b74])==null?void 0x0:_0x5c9627[_0x15ab57(0x2e3)],_0xc2a697=_0x380dc6[_0x36aa98];_0x4a9326&&(_0x4a9326['v']=_0xa922d0(_0x4a9326,!0x1,_0xc2a697,_0x529439)),_0x11f6f9[_0x15ab57(0xf8)](_0x578061+_0x321fd1,_0x516b74+_0x539080,_0xfbb4ad(_0x4a9326));}const _0x3cda6a=_0x371250[_0x15ab57(0x106)](),_0x502a81=_0x371250[_0x15ab57(0xfd)]();for(let _0x3c732f=0x0;_0x3c732f<_0x3cda6a;_0x3c732f++)for(let _0x5b9786=0x0;_0x5b9786<_0x502a81;_0x5b9786++){const _0x5bdc98={...(_0x5db3cf=(_0x1c1c8e=_0x371250['data'])==null?void 0x0:_0x1c1c8e[_0x3c732f])==null?void 0x0:_0x5db3cf[_0x5b9786]};_0x11f6f9[_0x15ab57(0xf8)](_0x3c732f+_0x321fd1,_0x5b9786+_0x2d93ff,_0xfbb4ad(_0x5bdc98));}return _0x11f6f9;},_0xea8c20=_0x595d6f=>{const _0x3dd97d=_0x28eb76,{view:_0x3c774b,targetCellInfo:_0x13ffa5,isEmpty:_0x49db32,textInfo:_0x1c5fdd}=_0x595d6f;if(_0x49db32)return _0x3c60dd(_0x595d6f);const {pageView:_0x52dedf,cornerView:_0x425fda,rowView:_0x50e0a6,colView:_0x53b78c,dataView:_0x58a55a}=_0x3c774b,_0xa43551=_0x25c9ba(_0x13ffa5,_0x52dedf,!0x0),_0x974eae=_0x52dedf[_0x3dd97d(0x32c)]>=0x0?_0x52dedf[_0x3dd97d(0x32c)]+0x1:0x0,_0x742056=_0x425fda[_0x3dd97d(0x106)](),_0x24fe8a=_0x425fda[_0x3dd97d(0xfd)](),_0x5c77f8=_0xa43551[_0x3dd97d(0x35e)]>0x0?_0x323d5f:0x0,_0x3f48d2=_0x25c9ba({'row':_0x13ffa5[_0x3dd97d(0x221)]+_0x974eae+_0x5c77f8,'col':_0x13ffa5[_0x3dd97d(0x34f)]},_0x425fda,!0x1,!0x1),_0x130062=_0x25c9ba({'row':_0x13ffa5[_0x3dd97d(0x221)]+_0x974eae+_0x5c77f8+_0x742056,'col':_0x13ffa5[_0x3dd97d(0x34f)]},_0x50e0a6,!0x1,!0x0),_0x347ec5=_0x25c9ba({'row':_0x13ffa5[_0x3dd97d(0x221)]+_0x974eae+_0x5c77f8,'col':_0x13ffa5['col']+_0x24fe8a},_0x53b78c,!0x1,!0x0),_0x2b60da=_0x25c9ba({'row':_0x13ffa5['row']+_0x974eae+_0x5c77f8+_0x742056,'col':_0x13ffa5['col']+_0x24fe8a},_0x58a55a,!0x1,!0x1),_0x2a880a={'rowRanges':_0x130062,'colRanges':_0x347ec5,'cornerRanges':_0x3f48d2,'dataRanges':_0x2b60da,'pageRanges':_0xa43551};return{'matrix':_0x520f5f(_0x3c774b,_0x13ffa5,_0x1c5fdd),'rangesCache':_0x2a880a};};var _0x4c0d2f=Object[_0x28eb76(0xc5)],_0x53a6d5=Object[_0x28eb76(0x265)],_0x587f34=(_0x15ead0,_0x4136e,_0x29dffa,_0x351094)=>{const _0x246445=_0x28eb76;for(var _0x49ed06=_0x351094>0x1?void 0x0:_0x351094?_0x53a6d5(_0x4136e,_0x29dffa):_0x4136e,_0x3c2398=_0x15ead0[_0x246445(0x35e)]-0x1,_0x2fbcaf;_0x3c2398>=0x0;_0x3c2398--)(_0x2fbcaf=_0x15ead0[_0x3c2398])&&(_0x49ed06=(_0x351094?_0x2fbcaf(_0x4136e,_0x29dffa,_0x49ed06):_0x2fbcaf(_0x49ed06))||_0x49ed06);return _0x351094&&_0x49ed06&&_0x4c0d2f(_0x4136e,_0x29dffa,_0x49ed06),_0x49ed06;},_0x5bc78c=(_0x527992,_0x27dc63)=>(_0x3addf3,_0xa545d7)=>_0x27dc63(_0x3addf3,_0xa545d7,_0x527992);_0x2ba19f[_0x28eb76(0x303)]=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x3b3d4d,_0x1e0bc5,_0x2fe270,_0x55f3d6,_0x272ea9,_0x3e1ce5){const _0x1c32f4=_0x28eb76;super(),_0x2edd4f(this,_0x1c32f4(0x15d),new Map()),_0x2edd4f(this,_0x1c32f4(0xfc),new Map()),_0x2edd4f(this,_0x1c32f4(0x10b),new Map()),_0x2edd4f(this,_0x1c32f4(0x1c4)),_0x2edd4f(this,_0x1c32f4(0x24e),new _0x26fbf0[(_0x1c32f4(0x1f9))]()),_0x2edd4f(this,_0x1c32f4(0x2bd),this[_0x1c32f4(0x24e)][_0x1c32f4(0x216)]()),_0x2edd4f(this,'_viewData$',new _0x26fbf0[(_0x1c32f4(0x1f9))]()),_0x2edd4f(this,_0x1c32f4(0x35c),this[_0x1c32f4(0x14a)][_0x1c32f4(0x216)]()),_0x2edd4f(this,'_fieldsCollectionChange$',new _0x26fbf0['Subject']()),_0x2edd4f(this,_0x1c32f4(0x23f),this[_0x1c32f4(0x2c8)][_0x1c32f4(0x216)]()),_0x2edd4f(this,_0x1c32f4(0x36e),new Map()),_0x2edd4f(this,_0x1c32f4(0x198),[]),_0x2edd4f(this,_0x1c32f4(0x333),new Map()),(this[_0x1c32f4(0x185)]=_0x3b3d4d,this[_0x1c32f4(0x2d5)]=_0x1e0bc5,this[_0x1c32f4(0x11b)]=_0x2fe270,this['_configService']=_0x55f3d6,this[_0x1c32f4(0x1bc)]=_0x272ea9,this['_resourceManagerService']=_0x3e1ce5,this[_0x1c32f4(0xf4)]());}[_0x28eb76(0x16b)](){const _0x5a329d=_0x28eb76;return this[_0x5a329d(0x1c4)]?this[_0x5a329d(0x1c4)]:_0x2dc672;}[_0x28eb76(0x2ba)](_0x1f326c){const _0x203e20=_0x28eb76;this[_0x203e20(0x1c4)]=_0x1f326c;}[_0x28eb76(0x2a5)](_0x4dda4e){const _0x4fb65c=_0x28eb76;var _0x2bc02d;const {from:_0x4ab5e8,to:_0x2a4b4e,unitId:_0x4d2d58,fromRange:_0x20a16b,toRange:_0x43ec6b}=_0x4dda4e;if(_0x4ab5e8&&_0x2a4b4e){const _0x5f1270=this[_0x4fb65c(0x368)](_0x4d2d58),_0x22b52b=this['_model'][_0x4fb65c(0xc3)](_0x4d2d58),_0x1a6ee0=(_0x2bc02d=this[_0x4fb65c(0x2d5)]['getUnit'](_0x4d2d58))==null?void 0x0:_0x2bc02d['getSheetBySheetId'](_0x2a4b4e[_0x4fb65c(0x121)]);if(!_0x22b52b||!_0x1a6ee0)return;const _0xc23108=_0x1a6ee0==null?void 0x0:_0x1a6ee0[_0x4fb65c(0x27f)]();for(const [_0x16994f,_0x19ed6f]of _0x22b52b[_0x4fb65c(0x236)]())for(const [_0x29c8b2,_0x3f2e40]of _0x19ed6f[_0x4fb65c(0x236)]()){const {sourceRangeInfo:_0x3158a0}=_0x3f2e40;if(_0x3158a0['unitId']===_0x4d2d58&&_0x3158a0['subUnitId']===_0x4ab5e8[_0x4fb65c(0x121)]&&_0x54ff7d[_0x4fb65c(0x188)][_0x4fb65c(0xb6)](_0x20a16b,_0x3158a0['range'])){const _0x910118={'row':_0x3158a0['range']['startRow']-_0x20a16b[_0x4fb65c(0x2f2)],'col':_0x3158a0[_0x4fb65c(0x20f)]['startColumn']-_0x20a16b['startColumn']},_0x521119={'unitId':_0x4d2d58,'subUnitId':_0x2a4b4e['subUnitId'],'sheetName':_0xc23108,'range':{'startRow':_0x43ec6b[_0x4fb65c(0x2f2)]+_0x910118[_0x4fb65c(0x221)],'endRow':_0x43ec6b['startRow']+_0x910118['row']+_0x3158a0[_0x4fb65c(0x20f)][_0x4fb65c(0x27c)]-_0x3158a0[_0x4fb65c(0x20f)]['startRow'],'startColumn':_0x43ec6b['startColumn']+_0x910118[_0x4fb65c(0x34f)],'endColumn':_0x43ec6b[_0x4fb65c(0x190)]+_0x910118[_0x4fb65c(0x34f)]+_0x3158a0[_0x4fb65c(0x20f)][_0x4fb65c(0x2d3)]-_0x3158a0[_0x4fb65c(0x20f)][_0x4fb65c(0x190)]}};_0x5f1270[_0x4fb65c(0x2a5)](_0x29c8b2,_0x521119);const _0x5ce17a={..._0x3f2e40,'sourceRangeInfo':_0x521119};this['_updateModelCache'](_0x4d2d58,_0x2a4b4e['subUnitId'],_0x29c8b2,_0x5ce17a),this[_0x4fb65c(0x1f2)]({'unitId':_0x4d2d58,'token':_0x29c8b2,'type':_0x5004fb[_0x4fb65c(0x179)],'oldSourceRangeInfo':_0x3158a0,'dataRangeInfo':_0x521119,'targetCellInfo':_0x3f2e40[_0x4fb65c(0x1ab)]}),this['updateConfig']({'unitId':_0x4d2d58,'subUnitId':_0x2a4b4e[_0x4fb65c(0x121)],'oldSubUnitId':_0x16994f,'pivotTableId':_0x29c8b2,'pivotTableConfig':_0x5ce17a,'collectionConfig':_0x5f1270[_0x4fb65c(0xb0)]()});}}}}[_0x28eb76(0x1f2)](_0x4f140f){const _0x397a00=_0x28eb76;this['_collectionChange$'][_0x397a00(0x1d3)](_0x4f140f);}['getDataFieldManager'](_0x100df0){const _0x40ace4=_0x28eb76;let _0x4eddf2=this[_0x40ace4(0x36e)][_0x40ace4(0xc3)](_0x100df0);return _0x4eddf2||(_0x4eddf2=new _0x3f6a00(this,this[_0x40ace4(0x2d5)]),this[_0x40ace4(0x36e)][_0x40ace4(0x141)](_0x100df0,_0x4eddf2)),_0x4eddf2;}[_0x28eb76(0x2fd)](_0x1d0ef9,_0x4ea29c){const _0x362942=_0x28eb76;return this[_0x362942(0x368)](_0x1d0ef9)[_0x362942(0x111)][_0x4ea29c];}['getUpdateRangeDeleteIds'](_0x583aeb,_0x14b5dd,_0x23768e){const _0x417da9=_0x28eb76;return this[_0x417da9(0x368)](_0x583aeb)['getUpdateRangeDeleteIds'](_0x14b5dd,_0x23768e);}[_0x28eb76(0x358)](_0x108a6b,_0x3f2d67){const _0x587f06=_0x28eb76;let _0x10ac86=this[_0x587f06(0x15d)]['get'](_0x108a6b);_0x10ac86||(_0x10ac86=new Map(),this['_model'][_0x587f06(0x141)](_0x108a6b,_0x10ac86));let _0x51f580=_0x10ac86['get'](_0x3f2d67);return _0x51f580||(_0x51f580=new Map(),_0x10ac86[_0x587f06(0x141)](_0x3f2d67,_0x51f580)),_0x51f580;}['_updateModelCache'](_0x45b38c,_0x333c23,_0x14696f,_0x5e9bd1){this['_ensurePivotMap'](_0x45b38c,_0x333c23)['set'](_0x14696f,_0x5e9bd1);}[_0x28eb76(0xd3)](_0x270b11,_0x59a930,_0x5c6ee0){const _0x1ca6d4=_0x28eb76;var _0x197fe6,_0x6706c3,_0x5d20d0,_0x231dc3;((_0x6706c3=(_0x197fe6=this[_0x1ca6d4(0x15d)][_0x1ca6d4(0xc3)](_0x270b11))==null?void 0x0:_0x197fe6[_0x1ca6d4(0xc3)](_0x59a930))==null?void 0x0:_0x6706c3[_0x1ca6d4(0xc3)](_0x5c6ee0))&&((_0x231dc3=(_0x5d20d0=this[_0x1ca6d4(0x15d)][_0x1ca6d4(0xc3)](_0x270b11))==null?void 0x0:_0x5d20d0[_0x1ca6d4(0xc3)](_0x59a930))==null||_0x231dc3['delete'](_0x5c6ee0));}[_0x28eb76(0x2ac)](_0x1d54fd,_0x2c23c8){const _0x312b30=_0x28eb76;this[_0x312b30(0xfc)][_0x312b30(0x141)](_0x1d54fd,_0x2c23c8);}['_deletePivotTableInstanceCache'](_0x5d3604){const _0x34e4d2=_0x28eb76;this[_0x34e4d2(0xfc)][_0x34e4d2(0x30d)](_0x5d3604);}[_0x28eb76(0x252)](_0x49366,_0x57b356){const _0xdc16c6=_0x28eb76;let _0x11f728=this[_0xdc16c6(0x10b)][_0xdc16c6(0xc3)](_0x49366);_0x11f728||(_0x11f728=new Map(),this[_0xdc16c6(0x10b)][_0xdc16c6(0x141)](_0x49366,_0x11f728));let _0x96eeee=_0x11f728['get'](_0x57b356);return _0x96eeee||(_0x96eeee=new Map(),_0x11f728['set'](_0x57b356,_0x96eeee)),_0x96eeee;}[_0x28eb76(0x2e8)](_0x35cf37){const _0x19ed56=_0x28eb76,{unitId:_0x505d67,subUnitId:_0x306f69,pivotTableId:_0x558872,pivotTableConfig:_0x36c4d7,collectionConfig:_0x582ae1}=_0x35cf37,_0xcc9c31={'unitId':_0x505d67,'subUnitId':_0x306f69,'oldSubUnitId':_0x306f69,'pivotTableId':_0x558872,'pivotTableConfig':_0x36c4d7,'collectionConfig':_0x582ae1};this['_commandService'][_0x19ed56(0x330)](_0x1baad8['id'],_0xcc9c31,{'onlyLocal':!0x0});}[_0x28eb76(0x2ae)](_0x20858b,_0x313a59,_0x2356ed,_0x281900,_0x1d0e7a,_0x4dbd79,_0x461128,_0x3bb66a=!0x1){const _0x531204=_0x28eb76;var _0x4d766b;this[_0x531204(0x1bc)][_0x531204(0x330)](_0x3a0a39['id'],{'single':{'unitId':_0x20858b,'subUnitId':_0x313a59,'type':_0x2356ed,'pivotTableId':_0x281900,'view':_0x1d0e7a,'pivotConfig':_0x4dbd79},'collectionConfig':{[_0x20858b]:_0x461128}},{'onlyLocal':!0x0});const _0x18e909=!!((_0x4d766b=this[_0x531204(0x1df)](_0x281900))!=null&&_0x4d766b[_0x531204(0x29a)]()),_0x20c244=this[_0x531204(0xaf)](_0x20858b,_0x313a59,_0x281900);_0x20c244&&this[_0x531204(0x135)]({'view':_0x1d0e7a,'pivotTableId':_0x281900,'textInfo':this['getTextInfo'](),'isEmpty':_0x18e909,'targetCellInfo':_0x20c244[_0x531204(0x1ab)]},_0x3bb66a);}['updateViewData'](_0x41ae3f,_0xf0684e){const _0x385316=_0x28eb76,{targetCellInfo:_0xb9fc67,pivotTableId:_0x439815}=_0x41ae3f,{unitId:_0x21354c,subUnitId:_0x1fb4c5}=_0xb9fc67,_0x1b8e3f=this[_0x385316(0x252)](_0x21354c,_0x1fb4c5),_0x6388e7=_0x1b8e3f['get'](_0x439815);let _0xb5eafd,_0x579900;_0x6388e7&&(_0xb5eafd=_0x6388e7[_0x385316(0x194)],_0x579900=_0x6388e7['matrix']);const {rangesCache:_0x432362,matrix:_0x364773}=_0xea8c20(_0x41ae3f);_0x1b8e3f[_0x385316(0x141)](_0x439815,{'rangeCache':_0x432362,'matrix':_0x364773,'oldMatrix':_0x579900,'oldRangeCache':_0xb5eafd}),_0xf0684e||this['_viewData$'][_0x385316(0x1d3)]({'unitId':_0x21354c,'subUnitId':_0x1fb4c5,'pivotTableId':_0x439815});}[_0x28eb76(0x2ef)](_0x24ef03,_0x2c1bd8,_0x215216,_0x48611d,_0x12e754){const _0x174591=_0x28eb76;this[_0x174591(0x29b)](_0x24ef03,_0x2c1bd8,_0x215216,_0x12e754),this[_0x174591(0x2ac)](_0x215216,_0x48611d);}[_0x28eb76(0x30f)](_0x3e67ad,_0x57762d,_0x5804fb){const _0x47f257=_0x28eb76,_0x292474=this[_0x47f257(0x368)](_0x3e67ad);_0x292474[_0x47f257(0x1e3)](_0x5804fb)['forEach'](_0x185d13=>{const _0x932e53=_0x47f257;_0x292474[_0x932e53(0x20b)](_0x185d13);}),this['removeCollections'](_0x3e67ad,_0x5804fb),this[_0x47f257(0xd3)](_0x3e67ad,_0x57762d,_0x5804fb),this[_0x47f257(0x2c1)](_0x5804fb);}[_0x28eb76(0xcf)](_0x22ebaf,_0x1b5acb,_0x2910f8,_0x205da7){const _0x3d969b=_0x28eb76;this[_0x3d969b(0x29b)](_0x22ebaf,_0x1b5acb,_0x2910f8,_0x205da7);}['getPivotTableConfig'](_0x198fc5,_0x4fe830,_0x16adea){const _0x3c1519=_0x28eb76;var _0x23115a,_0x272117;const _0x50dd52=(_0x272117=(_0x23115a=this[_0x3c1519(0x15d)]['get'](_0x198fc5))==null?void 0x0:_0x23115a[_0x3c1519(0xc3)](_0x4fe830))==null?void 0x0:_0x272117[_0x3c1519(0xc3)](_0x16adea);if(_0x50dd52)return _0x50dd52;}[_0x28eb76(0x340)](_0x50548e,_0x335f0e,_0x4196a3){const _0x214758=_0x28eb76;var _0x1c82a5,_0x5e4172;const _0x3f2585=(_0x5e4172=(_0x1c82a5=this[_0x214758(0x15d)][_0x214758(0xc3)](_0x50548e))==null?void 0x0:_0x1c82a5['get'](_0x335f0e))==null?void 0x0:_0x5e4172['get'](_0x4196a3);if(_0x3f2585)return _0x3f2585[_0x214758(0xc8)];}[_0x28eb76(0x1df)](_0x49097b){const _0x484f58=_0x28eb76;return this['_pivotTableInstanceCache'][_0x484f58(0xc3)](_0x49097b);}[_0x28eb76(0x1b4)](_0x420052){const _0xaf43d8=_0x28eb76;this['_model'][_0xaf43d8(0x30d)](_0x420052);const _0x25d7e2=this[_0xaf43d8(0x36e)][_0xaf43d8(0xc3)](_0x420052);_0x25d7e2&&(_0x25d7e2[_0xaf43d8(0x1aa)](),this[_0xaf43d8(0x36e)][_0xaf43d8(0x30d)](_0x420052)),this[_0xaf43d8(0x10b)][_0xaf43d8(0x30d)](_0x420052),this['needSameDeleteModel'][_0xaf43d8(0x287)](_0x47936b=>{const _0x5c67eb=_0xaf43d8;_0x47936b[_0x5c67eb(0x1b4)](_0x420052);});}[_0x28eb76(0x22e)](_0x1c86e5,_0x48f8d3,_0x18f79b,_0x303336){const _0x140ccd=_0x28eb76;return this[_0x140ccd(0x368)](_0x18f79b[_0x140ccd(0x109)])[_0x140ccd(0x22e)](_0x1c86e5,_0x48f8d3,_0x18f79b,_0x303336);}[_0x28eb76(0x2db)](_0x344a75){const _0x5ef815=_0x28eb76;return this['getDataFieldManager'](_0x344a75['unitId'])[_0x5ef815(0x2db)](_0x344a75);}[_0x28eb76(0x237)](_0xb80548,_0x12b515,_0x3a4492){const _0x48e919=_0x28eb76;this['getDataFieldManager'](_0x3a4492['unitId'])[_0x48e919(0x237)](_0xb80548,_0x12b515,_0x3a4492);}[_0x28eb76(0x1ad)](_0x4e07b9,_0x3a4fad){const _0x5e845e=_0x28eb76;this[_0x5e845e(0x368)](_0x4e07b9)[_0x5e845e(0x20b)](_0x3a4fad);}[_0x28eb76(0x22c)](_0x19c76f,_0x53f5ce){const _0x9cad07=_0x28eb76;this[_0x9cad07(0x368)](_0x19c76f)[_0x9cad07(0xee)](_0x53f5ce);}[_0x28eb76(0x348)](_0x5dcf88,_0x41c563){const _0x28786b=_0x28eb76;var _0xb0c007;return(_0xb0c007=this[_0x28786b(0x15d)][_0x28786b(0xc3)](_0x5dcf88))==null?void 0x0:_0xb0c007['get'](_0x41c563);}[_0x28eb76(0xb1)](_0x165ac9){const _0x1725c0=_0x28eb76;for(const [_0x170fa2,_0x53e8e4]of this[_0x1725c0(0x15d)][_0x1725c0(0x236)]())for(const [_0x554031,_0xd6e84b]of _0x53e8e4[_0x1725c0(0x236)]())if(_0xd6e84b['has'](_0x165ac9))return{'unitId':_0x170fa2,'subUnitId':_0x554031};return null;}[_0x28eb76(0x327)](_0x3cb92e,_0x3e9b95,_0x465b8a,_0x496e08){const _0x2ff4a6=_0x28eb76,_0x466437=this[_0x2ff4a6(0x252)](_0x3cb92e,_0x3e9b95);_0x496e08?_0x466437[_0x2ff4a6(0x141)](_0x465b8a,_0x496e08):_0x466437[_0x2ff4a6(0x30d)](_0x465b8a),this[_0x2ff4a6(0x14a)][_0x2ff4a6(0x1d3)]({'unitId':_0x3cb92e,'subUnitId':_0x3e9b95,'pivotTableId':_0x465b8a});}['dispose'](){super['dispose']();}[_0x28eb76(0x1e8)](_0x445114,_0x429055,_0x381771){const _0x2eb18d=_0x28eb76;var _0x12d009,_0x4466c2;const _0x162a08=(_0x4466c2=(_0x12d009=this[_0x2eb18d(0x10b)][_0x2eb18d(0xc3)](_0x445114))==null?void 0x0:_0x12d009[_0x2eb18d(0xc3)](_0x429055))==null?void 0x0:_0x4466c2[_0x2eb18d(0xc3)](_0x381771);return _0x162a08||null;}[_0x28eb76(0x247)](_0x585d92){this['updateDirtyPivotTable'](_0x585d92);}[_0x28eb76(0xac)](_0x1b45ad){const _0x458554=_0x28eb76,{token:_0x3ad2d5}=_0x1b45ad;this['_queryingMap'][_0x458554(0xc3)](_0x3ad2d5)&&clearTimeout(this[_0x458554(0x333)][_0x458554(0xc3)](_0x3ad2d5));const _0x255558=setTimeout(()=>{const _0x35cc84=_0x458554;this['queryDirtyPivotTable'](_0x1b45ad),this[_0x35cc84(0x333)][_0x35cc84(0x30d)](_0x3ad2d5);},_0x384e25);this[_0x458554(0x333)][_0x458554(0x141)](_0x3ad2d5,_0x255558);}['queryDirtyPivotTable'](_0x30ba8b){const _0xec4adc=_0x28eb76,{unitId:_0x3406a3,subUnitId:_0x3a1804,token:_0x22996e,type:_0x1eb70f,pivotConfig:_0x31f3ac}=_0x30ba8b,_0x27437f=this['getPivotTableInstance'](_0x22996e),_0x29e612=_0x27437f==null?void 0x0:_0x27437f[_0xec4adc(0x270)](),_0xa0478b=_0x31f3ac!=null?_0x31f3ac:this[_0xec4adc(0xaf)](_0x3406a3,_0x3a1804,_0x22996e);_0xa0478b&&(_0xa0478b[_0xec4adc(0x29a)]=!!(_0x27437f!=null&&_0x27437f[_0xec4adc(0x29a)]())),(_0x29e612||_0x1eb70f===_0xfaf966[_0xec4adc(0x226)])&&this[_0xec4adc(0x2ae)](_0x3406a3,_0x3a1804,_0x1eb70f,_0x22996e,_0x29e612,_0xa0478b,this['getDataFieldManager'](_0x3406a3)['toJSON']());}['toJSON'](_0x2b47a0){const _0xd89ade=_0x28eb76,_0x55cf0e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xd89ade(0x368)](_0x2b47a0)&&(_0x55cf0e['dataFieldManagerConfig'][_0x2b47a0]=this[_0xd89ade(0x368)](_0x2b47a0)[_0xd89ade(0xb0)]()),this[_0xd89ade(0x15d)][_0xd89ade(0xc3)](_0x2b47a0)){_0x55cf0e[_0xd89ade(0x284)][_0x2b47a0]={};const _0x4a344d=this['_model'][_0xd89ade(0xc3)](_0x2b47a0);_0x4a344d!=null&&_0x4a344d[_0xd89ade(0x2d2)]&&[..._0x4a344d[_0xd89ade(0xb7)]()][_0xd89ade(0x287)](_0xab3d4e=>{const _0x54ecb0=_0xd89ade,_0x5b444d=_0x4a344d['get'](_0xab3d4e);_0x5b444d!=null&&_0x5b444d[_0x54ecb0(0x2d2)]&&(_0x55cf0e['pivotTableConfigs'][_0x2b47a0][_0xab3d4e]={},[..._0x5b444d['keys']()][_0x54ecb0(0x287)](_0x1e00ac=>{const _0x43e780=_0x54ecb0,_0x48636a=_0x5b444d[_0x43e780(0xc3)](_0x1e00ac);_0x48636a&&(_0x55cf0e[_0x43e780(0x284)][_0x2b47a0][_0xab3d4e][_0x1e00ac]=_0x48636a);}));});}return _0x55cf0e;}[_0x28eb76(0x294)](_0x88330){const _0x29ec28=_0x28eb76;var _0x6e500;const {dataFieldManagerConfig:_0x5235f7,pivotTableConfigs:_0x55f6d4}=_0x88330;_0x5235f7&&Object[_0x29ec28(0xb7)](_0x5235f7)[_0x29ec28(0x287)](_0x6356b0=>{const _0x27df9b=_0x29ec28;this[_0x27df9b(0x368)](_0x6356b0)[_0x27df9b(0x294)](_0x5235f7[_0x6356b0]);});const _0x4df727=[];if(_0x55f6d4){const _0xd264e2=(_0x6e500=this[_0x29ec28(0x185)][_0x29ec28(0xc3)](_0x54ff7d[_0x29ec28(0x208)])['getConfig'](_0x5dab25[_0x29ec28(0x1d1)]))!=null?_0x6e500:{},{ls:_0x36344c,pbk:_0x44c5f4}=_0xd264e2,_0x5523f4=_0x3da561(_0xf07192,_0x36344c,_0x44c5f4)['count'];Object[_0x29ec28(0xb7)](_0x55f6d4)[_0x29ec28(0x287)](_0x58b022=>{const _0x18b0c3=_0x29ec28;let _0xe15f36=0x0;const _0x27e8b8=_0x55f6d4[_0x58b022];Object['keys'](_0x27e8b8)[_0x18b0c3(0x287)](_0x4a6f09=>{const _0x21213e=_0x18b0c3,_0x1c8502=_0x27e8b8[_0x4a6f09];Object[_0x21213e(0xb7)](_0x1c8502)['forEach'](_0x1f0b7b=>{const _0x4ff512=_0x21213e,_0x2cf1ce=_0x1c8502[_0x1f0b7b];if(_0x2cf1ce){if(_0xe15f36>=_0x5523f4)return;_0xe15f36++;const _0x11742a=this[_0x4ff512(0x368)](_0x58b022),_0x4beeb1=_0x11742a['collections'][_0x1f0b7b],_0x3b43ed=_0x4beeb1[_0x4ff512(0xbb)]();let _0x4b55e0=0x0;for(const _0x4ad6ee of _0x3b43ed)_0x11742a[_0x4ff512(0x28b)](_0x4ad6ee,_0x2cf1ce[_0x4ff512(0x171)],_0x4b55e0),_0x4b55e0++;const _0x1656d2=new _0x1f205f[(_0x4ff512(0x21a))](_0x4beeb1);_0x1656d2['fromJSON'](_0x2cf1ce[_0x4ff512(0xc8)]),this[_0x4ff512(0x2ef)](_0x58b022,_0x4a6f09,_0x1f0b7b,_0x1656d2,_0x2cf1ce);const _0x212748=_0x1656d2[_0x4ff512(0x270)]();_0x4df727[_0x4ff512(0x21f)]({'unitId':_0x58b022,'subUnitId':_0x4a6f09,'pivotTableId':_0x1f0b7b,'view':_0x212748[_0x4ff512(0xb0)](),'pivotConfig':_0x2cf1ce,'type':_0xfaf966[_0x4ff512(0x1d0)]});const _0x257dd9=!!_0x1656d2[_0x4ff512(0x29a)](),_0xfd2c70={'view':_0x212748,'pivotTableId':_0x1f0b7b,'textInfo':this[_0x4ff512(0x16b)](),'isEmpty':_0x257dd9,'targetCellInfo':_0x2cf1ce[_0x4ff512(0x1ab)]};this[_0x4ff512(0x135)](_0xfd2c70,!0x1);}});});});}_0x5235f7&&Object[_0x29ec28(0xb7)](_0x5235f7)[_0x29ec28(0x287)](_0x52ff6c=>{const _0x13ee9f=_0x29ec28,_0x513e0f=this[_0x13ee9f(0x368)](_0x52ff6c);this[_0x13ee9f(0x2c8)]['next'](_0x513e0f[_0x13ee9f(0x111)]);}),this[_0x29ec28(0x1bc)][_0x29ec28(0x330)](_0x3a0a39['id'],{'batch':_0x4df727,'collectionConfig':_0x5235f7},{'onlyLocal':!0x0});}[_0x28eb76(0xf4)](){const _0x3c4eee=_0x28eb76;this[_0x3c4eee(0x267)](this[_0x3c4eee(0x360)]['registerPluginResource']({'toJson':_0x3529f0=>JSON[_0x3c4eee(0x21b)](this['toJSON'](_0x3529f0)),'parseJson':_0x260fc6=>{const _0x24a137=_0x3c4eee;if(!_0x260fc6)return{};try{return JSON[_0x24a137(0x1da)](_0x260fc6);}catch{return{};}},'businesses':[_0x54ff7d[_0x3c4eee(0x1dc)]['UNIVER_SHEET']],'pluginName':_0x4c6b36,'onLoad':(_0x4b7327,_0xf2ce93)=>{const _0x367df6=_0x3c4eee;this[_0x367df6(0x294)](_0xf2ce93);},'onUnLoad':_0x47f1b9=>{const _0x25b484=_0x3c4eee;this[_0x25b484(0x1b4)](_0x47f1b9);}}));}},_0x2ba19f[_0x28eb76(0x303)]=_0x587f34([_0x5bc78c(0x0,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x321)])),_0x5bc78c(0x1,_0x54ff7d['IUniverInstanceService']),_0x5bc78c(0x2,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x183)])),_0x5bc78c(0x3,_0x54ff7d[_0x28eb76(0x208)]),_0x5bc78c(0x4,_0x54ff7d[_0x28eb76(0x35b)]),_0x5bc78c(0x5,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d['IResourceManagerService']))],_0x2ba19f['SheetsPivotDataSourceModel']);const _0x29a8b3={0x0:{0x0:{'v':_0x28eb76(0x2fb),'s':_0x4ccd71}},0x2:{0x1:{'v':'','s':_0x4ccd71},0x2:{'v':'','s':_0x4ccd71},0x3:{'v':_0x28eb76(0x276),'s':_0x4ccd71},0x4:{'v':'','s':_0x4ccd71},0x5:{'v':'','s':_0x4ccd71}},0x3:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0x4:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0x5:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0x6:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0x7:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0x8:{0x0:{'v':'row','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':_0x28eb76(0x199),'s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0x9:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0xa:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0xb:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0xc:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}},0xd:{0x0:{'v':'','s':_0x4ccd71},0x1:{'v':'','s':_0x2ed410},0x2:{'v':'','s':_0x2ed410},0x3:{'v':'','s':_0x2ed410},0x4:{'v':'','s':_0x2ed410},0x5:{'v':'','s':_0x2ed410}}},_0x5a40a9={'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':[]},_0x428314=(_0x170a9f,_0x49cfe9)=>{const _0x11a47a=_0x28eb76,_0x1f9bd0=new _0x54ff7d[(_0x11a47a(0x161))](),_0x24ca2b=new _0x54ff7d[(_0x11a47a(0x161))](_0x29a8b3),{row:_0x42274d,col:_0x38b254}=_0x49cfe9;_0x24ca2b['forValue']((_0x58c0b1,_0x129a1c,_0x22083a)=>{const _0x4e0c72=_0x11a47a;let _0x4ef4bf='';_0x22083a['v']===_0x4e0c72(0x2fb)?_0x4ef4bf=_0x170a9f[_0x4e0c72(0x2fb)]:_0x22083a['v']===_0x4e0c72(0x221)?_0x4ef4bf=_0x170a9f[_0x4e0c72(0x221)]:_0x22083a['v']===_0x4e0c72(0x276)?_0x4ef4bf=_0x170a9f[_0x4e0c72(0x276)]:_0x22083a['v']===_0x4e0c72(0x199)&&(_0x4ef4bf=_0x170a9f['values']),_0x1f9bd0[_0x4e0c72(0xf8)](_0x58c0b1+_0x42274d,_0x129a1c+_0x38b254,{..._0x22083a,'v':_0x4ef4bf});});const _0x4e6957=_0x54ff7d[_0x11a47a(0x2c4)][_0x11a47a(0x1c1)](_0x5a40a9);return Object[_0x11a47a(0xb7)](_0x5a40a9)[_0x11a47a(0x287)](_0x3079c9=>{const _0xa707b9=_0x11a47a;_0x4e6957[_0x3079c9]=_0x5a40a9[_0x3079c9][_0xa707b9(0x375)](_0x22f42e=>({..._0x22f42e,'startRow':_0x22f42e[_0xa707b9(0x2f2)]+_0x42274d,'endRow':_0x22f42e[_0xa707b9(0x27c)]+_0x42274d,'startColumn':_0x22f42e[_0xa707b9(0x190)]+_0x38b254,'endColumn':_0x22f42e['endColumn']+_0x38b254}));}),{'matrixCache':_0x1f9bd0,'rangesCache':_0x4e6957};};function _0x358892(_0x45b831,_0x160cfb){const _0x55250a=_0x28eb76;let _0x27098f='';const _0x5992df=this['getTextInfo']();switch(_0x160cfb){case _0x1f205f[_0x55250a(0x15c)][_0x55250a(0x128)]:_0x27098f=_0x5992df[_0x55250a(0xe3)]+_0x45b831;break;case _0x1f205f[_0x55250a(0x15c)][_0x55250a(0x1cc)]:_0x27098f=_0x5992df['sheets-pivot.countName']+_0x45b831;break;case _0x1f205f['PivotSubtotalTypeEnum'][_0x55250a(0x255)]:_0x27098f=_0x5992df['sheets-pivot.countNumsName']+_0x45b831;break;case _0x1f205f[_0x55250a(0x15c)]['max']:_0x27098f=_0x5992df[_0x55250a(0x180)]+_0x45b831;break;case _0x1f205f['PivotSubtotalTypeEnum'][_0x55250a(0xf0)]:_0x27098f=_0x5992df['sheets-pivot.minName']+_0x45b831;break;case _0x1f205f[_0x55250a(0x15c)][_0x55250a(0x11e)]:_0x27098f=_0x5992df[_0x55250a(0x26d)]+_0x45b831;break;case _0x1f205f[_0x55250a(0x15c)][_0x55250a(0x362)]:_0x27098f=_0x5992df[_0x55250a(0x2f6)]+_0x45b831;break;case _0x1f205f['PivotSubtotalTypeEnum'][_0x55250a(0x25c)]:_0x27098f=_0x5992df['sheets-pivot.stdDevpName']+_0x45b831;break;case _0x1f205f['PivotSubtotalTypeEnum'][_0x55250a(0x286)]:_0x27098f=_0x5992df[_0x55250a(0x27a)]+_0x45b831;break;case _0x1f205f[_0x55250a(0x15c)][_0x55250a(0x1a3)]:_0x27098f=_0x5992df[_0x55250a(0x17b)]+_0x45b831;break;case _0x1f205f[_0x55250a(0x15c)][_0x55250a(0x207)]:_0x27098f=_0x5992df[_0x55250a(0x174)]+_0x45b831;break;default:_0x27098f=_0x45b831;break;}return _0x27098f;}function _0x8d0306(_0x1becfc,_0x24bf59,_0x51df60,_0x55f3bc,_0x56386d){const _0x39de30=_0x28eb76;var _0x8deb5e,_0x3dfc49,_0x32c47b,_0x34b160,_0x2dfc68;const _0x4081b5=_0x54ff7d[_0x39de30(0x347)](_0x1becfc,_0x24bf59),{rangesInfo:_0x200f85,areaInfo:_0x1acf3b,headerMap:_0x2e6c28}=_0x56386d;if(!_0x200f85||!_0x1acf3b||!_0x2e6c28)return;const _0x2bf87f=Object['keys'](_0x200f85)[_0x39de30(0x311)](_0x2ee0bf=>_0x200f85[_0x2ee0bf][_0x39de30(0x14b)](_0x566500=>_0x54ff7d[_0x39de30(0x188)]['contains'](_0x566500,_0x4081b5))),_0x3672e3=_0x1acf3b;let _0x6901c1,_0x288e08,_0x2b4c02;if(_0x2bf87f==='rowRanges')_0x6901c1=(_0x8deb5e=_0x3672e3==null?void 0x0:_0x3672e3[_0x39de30(0x153)])==null?void 0x0:_0x8deb5e[_0x1becfc],_0x288e08=(_0x3dfc49=_0x2e6c28==null?void 0x0:_0x2e6c28[_0x39de30(0x12f)])==null?void 0x0:_0x3dfc49[_0x24bf59],_0x2b4c02=_0x288e08==null?void 0x0:_0x288e08['tableFieldId'];else{if(_0x2bf87f===_0x39de30(0xe8))_0x6901c1=(_0x32c47b=_0x3672e3==null?void 0x0:_0x3672e3['colInfo'])==null?void 0x0:_0x32c47b[_0x24bf59],_0x288e08=(_0x34b160=_0x2e6c28[_0x39de30(0x212)])==null?void 0x0:_0x34b160[_0x1becfc+0x1+_0x24bf59-_0x200f85['colRanges'][0x0][_0x39de30(0x190)]],_0x2b4c02=_0x288e08==null?void 0x0:_0x288e08[_0x39de30(0x2e3)];else{if(_0x2bf87f===_0x39de30(0x182))_0x6901c1=(_0x2dfc68=_0x3672e3==null?void 0x0:_0x3672e3[_0x39de30(0x181)])==null?void 0x0:_0x2dfc68[_0x24bf59],_0x2b4c02=_0x6901c1==null?void 0x0:_0x6901c1[_0x39de30(0x2e3)];else{if(_0x2bf87f===_0x39de30(0x2d7)){const _0x586072=_0x51df60==null?void 0x0:_0x51df60['fi'];_0x586072!==void 0x0&&(_0x2b4c02=_0x55f3bc[_0x39de30(0x2cb)](_0x586072));}}}}return{'filterId':_0x2b4c02,'info':_0x6901c1,'data':_0x51df60,'headerInfo':_0x288e08};}function _0x5829f8(_0x17283a,_0x53e319,_0x6ee10a){const _0x24cd2e=_0x28eb76,_0x2d3a22=_0x17283a[_0x24cd2e(0x137)],_0x3b1dda=_0x2d3a22[_0x24cd2e(0xbb)](),_0x50370d=new Set();_0x17283a[_0x24cd2e(0x26e)](_0x36b178=>{_0x50370d['add'](_0x36b178['dataFieldId']);});const _0x531453=_0x3b1dda[_0x24cd2e(0x375)](_0x36ea32=>{const _0x54314d=_0x24cd2e,_0x4505a3=_0x2d3a22[_0x54314d(0x23c)](_0x36ea32);return{'checked':_0x50370d[_0x54314d(0xc9)](_0x36ea32),'dataFieldId':_0x4505a3['id'],'id':_0x4505a3['id'],'name':_0x2d3a22[_0x54314d(0x36b)](_0x4505a3['id']),'type':_0x4505a3[_0x54314d(0xb2)](),'pivotTableId':_0x53e319};}),_0x3c2771=[];_0x17283a[_0x24cd2e(0x192)](_0x1f205f['PivotTableFiledAreaEnum']['Row'],_0x2da490=>{const _0x88c03d=_0x24cd2e;_0x3c2771[_0x88c03d(0x21f)]({'dataFieldId':_0x2da490[_0x88c03d(0x2e0)],'tableFieldId':_0x2da490[_0x88c03d(0x314)](),'displayName':_0x2da490['getDisplayName']()});});const _0x4bb710=[];_0x17283a['iterateFieldByArea'](_0x1f205f[_0x24cd2e(0x2c7)][_0x24cd2e(0x210)],_0x5d0c99=>{const _0x4cc7d6=_0x24cd2e;_0x4bb710[_0x4cc7d6(0x21f)]({'dataFieldId':_0x5d0c99[_0x4cc7d6(0x2e0)],'tableFieldId':_0x5d0c99[_0x4cc7d6(0x314)](),'displayName':_0x5d0c99[_0x4cc7d6(0x36b)]()});});const _0x1e172a=[];if(_0x17283a['iterateFieldByArea'](_0x1f205f['PivotTableFiledAreaEnum'][_0x24cd2e(0x209)],_0x3e51ee=>{const _0x5f445f=_0x24cd2e;_0x1e172a[_0x5f445f(0x21f)]({'dataFieldId':_0x3e51ee['dataFieldId'],'tableFieldId':_0x3e51ee[_0x5f445f(0x314)](),'displayName':_0x3e51ee[_0x5f445f(0x36b)](),'format':_0x3e51ee[_0x5f445f(0x319)](),'subTotalType':_0x3e51ee[_0x5f445f(0x2e9)]()});}),_0x1e172a[_0x24cd2e(0x35e)]>0x1){const _0x5344f6=_0x17283a[_0x24cd2e(0x30b)]();(_0x17283a[_0x24cd2e(0xb8)]()?_0x4bb710:_0x3c2771)[_0x24cd2e(0x10f)](_0x5344f6,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x24cd2e(0x34d)});}const _0x33d95e=[];_0x17283a[_0x24cd2e(0x192)](_0x1f205f[_0x24cd2e(0x2c7)][_0x24cd2e(0x351)],_0x179d5b=>{const _0x5a4727=_0x24cd2e;_0x33d95e['push']({'dataFieldId':_0x179d5b[_0x5a4727(0x2e0)],'tableFieldId':_0x179d5b[_0x5a4727(0x314)](),'displayName':_0x179d5b['getDisplayName']()});});const _0x16eba7=_0x6ee10a[_0x24cd2e(0x171)];return{'sourceList':_0x531453,'sourceRange':_0x16eba7,'rowFields':_0x3c2771,'columnFields':_0x4bb710,'valueFields':_0x1e172a,'filterFields':_0x33d95e,'positionInfo':_0x6ee10a['targetCellInfo']};}function _0x1534fa(_0x15a3f0,_0x58f92e,_0x2daa78='',_0x221787={}){const _0x56f8d7=_0x28eb76,_0xb0983f=_0x15a3f0[_0x56f8d7(0xc3)](_0x54ff7d[_0x56f8d7(0x223)]);for(const _0x179e25 in _0x58f92e)if(Object['prototype'][_0x56f8d7(0xd7)][_0x56f8d7(0x2fe)](_0x58f92e,_0x179e25)){const _0x4ca53e=_0x2daa78?_0x2daa78+'.'+_0x179e25:_0x179e25;typeof _0x58f92e[_0x179e25]=='object'&&_0x58f92e[_0x179e25]!==null&&!Array[_0x56f8d7(0x1fb)](_0x58f92e[_0x179e25])?_0x1534fa(_0x15a3f0,_0x58f92e[_0x179e25],_0x4ca53e,_0x221787):_0x221787[_0x4ca53e]=_0xb0983f['t'](_0x4ca53e);}return _0x221787;}const _0x2ea627=_0x44aaf2=>{const _0x2c67b4=_0x28eb76;if(!_0x44aaf2)return[];const {rowRanges:_0x5dd9fb,colRanges:_0x5f19e9,cornerRanges:_0x51cbde,dataRanges:_0x5eebe6,pageRanges:_0x86403d}=_0x44aaf2,_0x2e4242=[..._0x5f19e9,..._0x5dd9fb,..._0x5eebe6,..._0x51cbde][_0x2c67b4(0x2fb)](_0x44cfaa=>_0x44cfaa[_0x2c67b4(0x2f2)]>=0x0&&_0x44cfaa[_0x2c67b4(0x190)]>=0x0&&_0x44cfaa['endRow']>=0x0&&_0x44cfaa[_0x2c67b4(0x2d3)]>=0x0);let _0x304d0f=Number[_0x2c67b4(0x273)],_0x437d5b=Number[_0x2c67b4(0x2ec)],_0x271b60=Number['MAX_SAFE_INTEGER'],_0x254691=Number['MIN_SAFE_INTEGER'];for(let _0x2fac1e=0x0;_0x2fac1e<_0x2e4242[_0x2c67b4(0x35e)];_0x2fac1e++)_0x304d0f=Math['min'](_0x304d0f,_0x2e4242[_0x2fac1e][_0x2c67b4(0x2f2)]),_0x437d5b=Math[_0x2c67b4(0x28a)](_0x437d5b,_0x2e4242[_0x2fac1e][_0x2c67b4(0x27c)]),_0x271b60=Math[_0x2c67b4(0xf0)](_0x271b60,_0x2e4242[_0x2fac1e][_0x2c67b4(0x190)]),_0x254691=Math[_0x2c67b4(0x28a)](_0x254691,_0x2e4242[_0x2fac1e][_0x2c67b4(0x2d3)]);return[..._0x86403d,{'startRow':_0x304d0f,'endRow':_0x437d5b,'startColumn':_0x271b60,'endColumn':_0x254691}];};function _0x3795d6(_0x92072,_0x4414b4){const _0x21796d=_0x28eb76,_0x3833e7=_0x4414b4['params'][_0x21796d(0x1ff)],{pivotTableId:_0x14d874,unitId:_0x422bc7,subUnitId:_0x3be7eb}=_0x4414b4;if(!_0x3833e7)return;const _0x1b8a84=_0x92072[_0x21796d(0xc3)](_0x2ba19f[_0x21796d(0x303)]),_0x43cf5d=_0x1b8a84[_0x21796d(0x1df)](_0x14d874),_0x241b01=_0x1b8a84[_0x21796d(0xaf)](_0x422bc7,_0x3be7eb,_0x14d874);if(!_0x43cf5d||!_0x241b01)return;const _0x2b9721=_0x43cf5d[_0x21796d(0x278)](_0x3833e7[_0x21796d(0x16a)]);if(!(_0x2b9721!=null&&_0x2b9721[_0x21796d(0x35e)]))return;const _0x3290bc=_0x241b01[_0x21796d(0x171)],{unitId:_0x1bfa6b,subUnitId:_0xe05954,range:_0xfaeecc}=_0x3290bc;let _0x1e2e94=0x0;const _0x37cc64=_0x43cf5d['dataFieldsCollection']['getFieldIds']()[_0x21796d(0x2c5)]((_0x1991c9,_0x46468e)=>{const _0x248732=_0x21796d;var _0x13004b;const _0x35d07c=(_0x13004b=_0x43cf5d[_0x248732(0x313)](_0x46468e))==null?void 0x0:_0x13004b[_0x248732(0x29f)]();return _0x35d07c&&(_0x1991c9[String(_0x1e2e94)]=_0x35d07c),_0x1e2e94++,_0x1991c9;},{});return{'indexes':_0x2b9721,'range':_0xfaeecc,'sourceUnitId':_0x1bfa6b,'sourceSubUnitId':_0xe05954,'formatMap':_0x37cc64};}function _0x2ac71c(_0x3db4d9,_0x2865b8){const _0x19f1ce=_0x28eb76;if(!_0x3db4d9||!_0x2865b8)return!0x0;const _0x258319=_0x5dab25['unshiftString'](_0x2e11cf,_0xaae86a),_0x7b19e1=new Function('return\x20'+_0x258319)()(_0x3db4d9,_0x2865b8)[_0x19f1ce(0x2c3)],_0x3dd2fd=_0x5dab25[_0x19f1ce(0x31f)](_0x7b19e1,'sf',_0x148a08);return!((_0x7b19e1==null?void 0x0:_0x7b19e1['rt'])===_0x5dab25[_0x19f1ce(0x271)][_0x19f1ce(0x2f7)]&&!_0x3dd2fd);}function _0x3da561(_0xd60a9a,_0x8ff04a,_0x474923){const _0x49b93b=_0x28eb76,_0x12b845={'count':_0xd60a9a,'timeValid':!0x1};if(!_0x8ff04a||!_0x474923)return _0x12b845;const _0x24e008=_0x5dab25[_0x49b93b(0x2d8)](_0x2e11cf,_0xaae86a),_0xbf5bc8=new Function(_0x49b93b(0x1ee)+_0x24e008)()(_0x8ff04a,_0x474923);if(_0xbf5bc8!=null&&_0xbf5bc8[_0x49b93b(0x27e)]){const _0x3e688c=_0xbf5bc8[_0x49b93b(0x2c3)],_0x471b87=_0x5dab25['isFeatureAuthorizedWithinTime'](_0x3e688c,'sf',_0x148a08);return{'count':_0x5dab25[_0x49b93b(0x1c6)](_0x3e688c,_0x471b87,_0x49b93b(0x1e0),_0xd60a9a),'timeValid':_0x471b87};}return _0x12b845;}function _0xf52e08(_0x22be33,_0x538071,_0x5ce187,_0x4adc64){const _0x1b6ea1=_0x28eb76,_0x18671a={'subUnitId':_0x5ce187,'unitId':_0x538071,'cellValue':_0x27c753[_0x1b6ea1(0x19b)](_0x4adc64)},_0x366f98=_0x27c753[_0x1b6ea1(0x113)](_0x22be33,_0x18671a);let _0x195969=!0x1;return new _0x54ff7d['ObjectMatrix'](_0x366f98[_0x1b6ea1(0xfa)])[_0x1b6ea1(0x16e)]((_0x4e219d,_0x4188ae,_0x183e85)=>{const _0x3f77a2=_0x1b6ea1;if(!_0x195969&&_0x183e85&&(_0x183e85[_0x3f77a2(0x1f5)]||_0x183e85['f']||_0x183e85['p']||_0x183e85['s']||_0x183e85['si']||_0x183e85['t']||_0x183e85['v']))return _0x195969=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x27c753[_0x1b6ea1(0x21e)]['id'],'params':_0x366f98},'setRangeValueRedoMutation':{'id':_0x27c753[_0x1b6ea1(0x21e)]['id'],'params':_0x18671a},'shouldClear':_0x195969};}function _0x4365fe(_0x4383f8){const {row:_0x10ec2c,col:_0x57102a}=_0x4383f8,_0x49d32a={'startRow':_0x10ec2c,'endRow':_0x10ec2c,'startColumn':_0x57102a,'endColumn':_0x57102a},_0x362b29={'startRow':_0x10ec2c+0x2,'endRow':_0x10ec2c+0xe,'startColumn':_0x57102a,'endColumn':_0x57102a+0x6};return[_0x49d32a,_0x362b29];}function _0x488d59(_0x35a796,_0x3a5157,_0x5b8640){const _0x5f4840=_0x28eb76,{cornerView:_0x5994ad,rowView:_0x19ceac,colView:_0x1b966f,pageView:_0x5a4451}=_0x35a796,{row:_0x363eb6,col:_0xa9dd02}=_0x3a5157;if(_0x5b8640)return{'rowCount':_0x49c8f7+_0x363eb6,'colCount':_0x8a510b+_0xa9dd02};const _0x12d831=_0x5a4451['lastRow']>-0x1?_0x5a4451['lastRow']+0x1:0x0,_0x11ab50=_0x5a4451[_0x5f4840(0x239)]>-0x1?_0x5a4451[_0x5f4840(0x239)]:0x0,_0x2a5fe5=_0x363eb6+_0x12d831+(_0x12d831?0x1:0x0)+_0x5994ad[_0x5f4840(0x2f9)]+_0x19ceac[_0x5f4840(0x2f9)],_0x1ca385=_0xa9dd02+_0x11ab50,_0x5f548b=_0xa9dd02+_0x5994ad['colCount']+_0x1b966f['colCount'],_0x2fe90d=Math[_0x5f4840(0x28a)](_0x1ca385,_0x5f548b);return{'rowCount':_0x2a5fe5,'colCount':_0x2fe90d};}function _0x227372(_0x223830,_0x5b9098,_0x132437,_0x505617){const _0x3babcd=_0x28eb76,{row:_0x1c742e,col:_0x199c8e,unitId:_0x1c85f6,subUnitId:_0x322bec}=_0x132437,_0x4717a5=_0x488d59(_0x5b9098,{'row':_0x1c742e,'col':_0x199c8e},_0x505617),_0x268f86=_0x223830[_0x3babcd(0xc3)](_0x54ff7d[_0x3babcd(0xfb)]),_0x5bc836=_0x27c753['getSheetCommandTarget'](_0x268f86,{'unitId':_0x1c85f6,'subUnitId':_0x322bec}),_0x3d62fe=[],_0xd84b81=[];if(!_0x5bc836)return{'undos':_0xd84b81,'redos':_0x3d62fe};const {worksheet:_0x2ca2f5}=_0x5bc836,_0x192946=_0x2ca2f5[_0x3babcd(0x106)](),_0x4692a9=_0x2ca2f5[_0x3babcd(0x306)]();return _0x192946<_0x4717a5[_0x3babcd(0x2f9)]&&(_0x3d62fe['push']({'id':_0x27c753['InsertRowMutation']['id'],'params':{'unitId':_0x1c85f6,'subUnitId':_0x322bec,'range':{'startRow':_0x192946,'endRow':_0x4717a5[_0x3babcd(0x2f9)]-0x1,'startColumn':0x0,'endColumn':_0x4692a9-0x1}}}),_0xd84b81[_0x3babcd(0x21f)]({'id':_0x27c753[_0x3babcd(0x23b)]['id'],'params':{'unitId':_0x1c85f6,'subUnitId':_0x322bec,'range':{'startRow':_0x192946,'endRow':_0x4717a5['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x4692a9-0x1}}})),_0x4692a9<_0x4717a5[_0x3babcd(0x269)]&&(_0x3d62fe['push']({'id':_0x27c753[_0x3babcd(0xc7)]['id'],'params':{'unitId':_0x1c85f6,'subUnitId':_0x322bec,'range':{'startRow':0x0,'endRow':_0x192946-0x1,'startColumn':_0x4692a9,'endColumn':_0x4717a5[_0x3babcd(0x269)]-0x1}}}),_0xd84b81[_0x3babcd(0x21f)]({'id':_0x27c753[_0x3babcd(0x374)]['id'],'params':{'unitId':_0x1c85f6,'subUnitId':_0x322bec,'range':{'startRow':0x0,'endRow':_0x192946-0x1,'startColumn':_0x4692a9,'endColumn':_0x4717a5[_0x3babcd(0x269)]-0x1}}})),{'undos':_0xd84b81,'redos':_0x3d62fe};}function _0x1b4543(_0x3672e8){const _0x18956e=_0x28eb76;let _0x42a333=0x0;for(let _0x59fec5=0x0;_0x59fec5<_0x3672e8['length'];_0x59fec5++){const _0x52d20a=_0x3672e8[_0x18956e(0x1cd)](_0x59fec5);_0x52d20a>=0x4e00&&_0x52d20a<=0x9fff||_0x52d20a>=0x3000&&_0x52d20a<=0x303f||_0x52d20a>=0xff00&&_0x52d20a<=0xffef?_0x42a333+=0x2:_0x42a333+=0x1;}return _0x42a333;}function _0x535a53(_0x3e28d2,_0x180f3f,_0x5dbfd1,_0x42b2cc){const _0x160a1e=_0x28eb76;var _0x3c0327,_0x1be97c,_0x5aaacc,_0x398b83;const {rowCount:_0x530ccd,colCount:_0x365c4e,headerMap:_0x36468a}=_0x3e28d2,_0x39e5ab=0x64,_0x177fbe=Math[_0x160a1e(0xf0)](_0x530ccd,_0x39e5ab),_0x328f62=Math[_0x160a1e(0xf0)](_0x365c4e,_0x39e5ab);let _0x15f62d='',_0x32c324=0x0;for(let _0x1a9b2c=0x0;_0x1a9b2c<_0x177fbe;_0x1a9b2c++)for(let _0x2671d5=0x0;_0x2671d5<_0x328f62;_0x2671d5++){const _0x604de6={...(_0x1be97c=(_0x3c0327=_0x3e28d2[_0x160a1e(0x28d)])==null?void 0x0:_0x3c0327[_0x1a9b2c])==null?void 0x0:_0x1be97c[_0x2671d5]},_0x4bf280=(_0x5aaacc=_0x36468a[_0x1a9b2c])==null?void 0x0:_0x5aaacc[_0x160a1e(0x2e3)],_0x51b52d=_0x42b2cc[_0x4bf280];let _0x140a60=_0x3e28d2['getValue'](_0x1a9b2c,_0x2671d5);if(_0x604de6){const _0x417e93=_0x5dbfd1?_0x2671d5===0x0&&((_0x398b83=_0x3e28d2[_0x160a1e(0x1a5)](_0x2671d5+0x1))==null?void 0x0:_0x398b83[_0x160a1e(0x126)]):!0x1;_0x140a60=_0xa922d0(_0x604de6,_0x417e93,_0x51b52d,_0x180f3f);}if(_0x140a60!==void 0x0){const _0x9d5237=_0x1b4543(String(_0x140a60));_0x32c324<_0x9d5237&&(_0x15f62d=String(_0x140a60),_0x32c324=_0x9d5237);}}return _0x15f62d;}function _0x2e5b40(_0x4ae674){const _0x5a92fa=_0x28eb76,{rowCount:_0x396c61,colCount:_0x442d9d}=_0x4ae674;let _0x3d3b8a='',_0x2ab2a6=0x0;for(let _0x1df803=_0x396c61-0x1;_0x1df803>0x0&&_0x1df803>_0x396c61-0x3;_0x1df803--)for(let _0x2b368f=0x0;_0x2b368f<_0x442d9d;_0x2b368f++){const _0x103dfe=_0x4ae674[_0x5a92fa(0x17c)](_0x1df803,_0x2b368f);if(_0x103dfe!==void 0x0){const _0x435d64=String(_0x103dfe)[_0x5a92fa(0x35e)];_0x2ab2a6<_0x435d64&&(_0x3d3b8a=String(_0x103dfe),_0x2ab2a6=_0x435d64);}}return _0x3d3b8a;}function _0x271ae0(_0x537465){const _0x261333=_0x28eb76,{rowCount:_0x312015,colCount:_0x46eae6}=_0x537465;let _0x41f1d9='',_0x536e71=0x0;for(let _0x1537b6=0x0;_0x1537b6<_0x312015;_0x1537b6++)for(let _0x22057c=0x0;_0x22057c<_0x46eae6;_0x22057c++){const _0x142365=_0x537465[_0x261333(0x17c)](_0x1537b6,_0x22057c);if(_0x142365!==void 0x0){const _0x538dab=String(_0x142365)['length'];_0x536e71<_0x538dab&&(_0x41f1d9=String(_0x142365),_0x536e71=_0x538dab);}}return _0x41f1d9;}var _0x44283f=Object[_0x28eb76(0xc5)],_0x3f2b54=Object[_0x28eb76(0x265)],_0x7310a3=(_0x4c95f8,_0x1111e1,_0x56ab0a,_0x3ab8de)=>{const _0x18229b=_0x28eb76;for(var _0x3e4bde=_0x3ab8de>0x1?void 0x0:_0x3ab8de?_0x3f2b54(_0x1111e1,_0x56ab0a):_0x1111e1,_0x508dcc=_0x4c95f8[_0x18229b(0x35e)]-0x1,_0x326030;_0x508dcc>=0x0;_0x508dcc--)(_0x326030=_0x4c95f8[_0x508dcc])&&(_0x3e4bde=(_0x3ab8de?_0x326030(_0x1111e1,_0x56ab0a,_0x3e4bde):_0x326030(_0x3e4bde))||_0x3e4bde);return _0x3ab8de&&_0x3e4bde&&_0x44283f(_0x1111e1,_0x56ab0a,_0x3e4bde),_0x3e4bde;},_0x3aac09=(_0x1f2e48,_0x1d8833)=>(_0x4ca4f2,_0x468ee2)=>_0x1d8833(_0x4ca4f2,_0x468ee2,_0x1f2e48);_0x2ba19f['SheetsPivotTableConfigModel']=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x51e155,_0x133367,_0x2b28c1){const _0x312308=_0x28eb76;super(),_0x2edd4f(this,'_model',new Map()),_0x2edd4f(this,_0x312308(0x12a),new Map()),_0x2edd4f(this,'_pivotTableRangeInfo',new Map()),_0x2edd4f(this,_0x312308(0x13d),new Map()),_0x2edd4f(this,'_configVersion$',new _0x26fbf0['Subject']()),_0x2edd4f(this,_0x312308(0x25d),new _0x26fbf0[(_0x312308(0x1f9))]()),_0x2edd4f(this,_0x312308(0x23e),this[_0x312308(0x25d)][_0x312308(0x216)]()),_0x2edd4f(this,'_pivotConfigChange$',new _0x26fbf0[(_0x312308(0x1f9))]()),_0x2edd4f(this,'pivotConfigChange$',this['_pivotConfigChange$']['asObservable']()),_0x2edd4f(this,_0x312308(0x1c4),{}),_0x2edd4f(this,_0x312308(0x186),this[_0x312308(0x24f)][_0x312308(0x216)]()),(this[_0x312308(0x185)]=_0x51e155,this['_commandService']=_0x133367,this[_0x312308(0x2d5)]=_0x2b28c1,this['_initLocale'](),this[_0x312308(0x268)]());}[_0x28eb76(0x268)](){const _0xc12b89=_0x28eb76;this[_0xc12b89(0x267)](this[_0xc12b89(0x2d5)][_0xc12b89(0x2fa)](_0x54ff7d[_0xc12b89(0x1dc)][_0xc12b89(0x2a1)])['subscribe'](_0x4ea702=>{const _0x22ca94=_0xc12b89;this[_0x22ca94(0x1b4)](_0x4ea702['getUnitId']());}));}['setPivotInitCompleted'](){const _0x55f39e=_0x28eb76;this['_pivotInitCompleted$'][_0x55f39e(0x1d3)](!0x0);}[_0x28eb76(0x31c)](){const _0x22d48f=_0x28eb76,_0x5d21da=_0x1534fa(this[_0x22d48f(0x185)],_0x53078d,'',{});this['_textInfo']=_0x5d21da,this[_0x22d48f(0x1bc)][_0x22d48f(0x330)](_0x1ed8db['id'],{'textInfo':_0x5d21da},{'onlyLocal':!0x0});}[_0x28eb76(0x16b)](){const _0x403f15=_0x28eb76;return this[_0x403f15(0x1c4)];}[_0x28eb76(0x2ed)](_0x5df1dd,_0x15fa3d,_0xb54284,_0x24cc6f,_0x10ce86){const _0x51cea5=_0x28eb76;this[_0x51cea5(0xc0)](_0x5df1dd,_0x15fa3d,_0xb54284,_0x24cc6f),this[_0x51cea5(0x197)](_0x5df1dd,_0x15fa3d,_0xb54284,_0x10ce86);}[_0x28eb76(0xaf)](_0x577169,_0x3a62a7,_0x1be298){const _0x52b0d8=_0x28eb76;var _0xd8d87b;const _0x51181a=(_0xd8d87b=this['_model']['get'](_0x577169))==null?void 0x0:_0xd8d87b[_0x52b0d8(0xc3)](_0x3a62a7);if(_0x51181a)return _0x51181a[_0x52b0d8(0xc3)](_0x1be298);}[_0x28eb76(0xb1)](_0x145688,_0x35c199,_0x449869){const _0x1921b9=_0x28eb76,_0x2ea4c3=this[_0x1921b9(0xaf)](_0x145688,_0x35c199,_0x449869);return _0x2ea4c3==null?void 0x0:_0x2ea4c3[_0x1921b9(0x1ab)];}['getSubUnitPivotConfigs'](_0x3b8a6b,_0x45f9f4){const _0x5e39dc=_0x28eb76;var _0xd1d6aa;return(_0xd1d6aa=this[_0x5e39dc(0x15d)][_0x5e39dc(0xc3)](_0x3b8a6b))==null?void 0x0:_0xd1d6aa['get'](_0x45f9f4);}[_0x28eb76(0x304)](_0x227ce9,_0x525648,_0x2c3cd5,_0x1acf2b){const _0x89c9a0=_0x28eb76,_0x52b548=this[_0x89c9a0(0x358)](_0x227ce9,_0x525648);_0x1acf2b?_0x52b548['set'](_0x2c3cd5,_0x1acf2b):_0x52b548[_0x89c9a0(0x30d)](_0x2c3cd5),this[_0x89c9a0(0x1f3)][_0x89c9a0(0x1d3)]({'unitId':_0x227ce9,'subUnitId':_0x525648,'pivotTableId':_0x2c3cd5,'pivotTableConfig':_0x1acf2b});}[_0x28eb76(0x2fd)](_0x3831a7,_0x2abf72){var _0x754237;return(_0x754237=this['_collectionConfigModel']['get'](_0x3831a7))==null?void 0x0:_0x754237['collections'][_0x2abf72];}[_0x28eb76(0x31e)](_0x4faab7,_0x1bcf6a){const _0x4e8395=_0x28eb76;this[_0x4e8395(0x12a)][_0x4e8395(0x141)](_0x4faab7,_0x1bcf6a),this[_0x4e8395(0x24f)][_0x4e8395(0x1d3)](Math[_0x4e8395(0xf7)]());}['_ensurePivotMap'](_0x155c9a,_0x1c9a1d){const _0x7da33e=_0x28eb76;let _0x17b01b=this[_0x7da33e(0x15d)][_0x7da33e(0xc3)](_0x155c9a);_0x17b01b||(_0x17b01b=new Map(),this[_0x7da33e(0x15d)][_0x7da33e(0x141)](_0x155c9a,_0x17b01b));let _0x29e91c=_0x17b01b[_0x7da33e(0xc3)](_0x1c9a1d);return _0x29e91c||(_0x29e91c=new Map(),_0x17b01b['set'](_0x1c9a1d,_0x29e91c)),_0x29e91c;}[_0x28eb76(0xe5)](_0x5e21d2,_0x437239){const _0x1d92c6=_0x28eb76;let _0x1ef5de=this['_pivotTableRangeInfo'][_0x1d92c6(0xc3)](_0x5e21d2);_0x1ef5de||(_0x1ef5de=new Map(),this[_0x1d92c6(0xda)][_0x1d92c6(0x141)](_0x5e21d2,_0x1ef5de));let _0x525f71=_0x1ef5de[_0x1d92c6(0xc3)](_0x437239);return _0x525f71||(_0x525f71=new Map(),_0x1ef5de[_0x1d92c6(0x141)](_0x437239,_0x525f71)),_0x525f71;}['_ensurePivotTableMatrixInfo'](_0x2e606e,_0x162ae0){const _0x453b94=_0x28eb76;let _0x562296=this['_pivotTableMatrixInfo']['get'](_0x2e606e);_0x562296||(_0x562296=new Map(),this[_0x453b94(0x13d)][_0x453b94(0x141)](_0x2e606e,_0x562296));let _0x2e7575=_0x562296['get'](_0x162ae0);return _0x2e7575||(_0x2e7575=new Map(),_0x562296[_0x453b94(0x141)](_0x162ae0,_0x2e7575)),_0x2e7575;}[_0x28eb76(0x197)](_0x1bd1d5,_0x59d502,_0x47e974,_0x209c4f){const _0x237f84=_0x28eb76;var _0x331313;const _0x4f1601=this['_ensurePivotTableRangeInfo'](_0x1bd1d5,_0x59d502),_0x4b6663=(_0x331313=_0x4f1601[_0x237f84(0xc3)](_0x47e974))==null?void 0x0:_0x331313[_0x237f84(0xd9)];_0x4f1601[_0x237f84(0x141)](_0x47e974,{'oldRangeInfo':_0x4b6663,'rangeInfo':_0x209c4f});}['updatePivotTableMatrixInfo'](_0x22c59c,_0x1c6f90,_0x3a3b97,_0x1ae27c){const _0x24493d=_0x28eb76;var _0x54aa27;const _0x42d2e6=this[_0x24493d(0x13c)](_0x22c59c,_0x1c6f90),_0x3a10d8=(_0x54aa27=_0x42d2e6[_0x24493d(0xc3)](_0x3a3b97))==null?void 0x0:_0x54aa27['oldMatrix'];_0x42d2e6['set'](_0x3a3b97,{'oldMatrix':_0x3a10d8,'matrix':_0x1ae27c});}[_0x28eb76(0x33e)](_0x428482,_0x18aaf1,_0x2a8e32){const _0x1d88cc=_0x28eb76;var _0x24b472,_0x200c43;return(_0x200c43=(_0x24b472=this['_pivotTableRangeInfo'][_0x1d88cc(0xc3)](_0x428482))==null?void 0x0:_0x24b472['get'](_0x18aaf1))==null?void 0x0:_0x200c43[_0x1d88cc(0xc3)](_0x2a8e32);}[_0x28eb76(0x100)](_0x4b6686,_0x56e239,_0xc86e26){const _0x1d68a2=_0x28eb76;var _0x359beb,_0x44e3f4;return(_0x44e3f4=(_0x359beb=this['_pivotTableMatrixInfo']['get'](_0x4b6686))==null?void 0x0:_0x359beb['get'](_0x56e239))==null?void 0x0:_0x44e3f4[_0x1d68a2(0xc3)](_0xc86e26);}['deleteUnitId'](_0x50328d){const _0x56c1f5=_0x28eb76;this[_0x56c1f5(0x15d)][_0x56c1f5(0x30d)](_0x50328d),this[_0x56c1f5(0x12a)][_0x56c1f5(0x30d)](_0x50328d);}},_0x2ba19f['SheetsPivotTableConfigModel']=_0x7310a3([_0x3aac09(0x0,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d['Injector'])),_0x3aac09(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x35b)])),_0x3aac09(0x2,_0x54ff7d['Inject'](_0x54ff7d[_0x28eb76(0xfb)]))],_0x2ba19f[_0x28eb76(0x170)]);var _0x2a75cb=Object[_0x28eb76(0xc5)],_0x16aff7=Object[_0x28eb76(0x265)],_0xe0a47f=(_0x48944f,_0x31f3cb,_0x248947,_0x12d4db)=>{const _0x2769a6=_0x28eb76;for(var _0x2b9127=_0x12d4db>0x1?void 0x0:_0x12d4db?_0x16aff7(_0x31f3cb,_0x248947):_0x31f3cb,_0x41923e=_0x48944f[_0x2769a6(0x35e)]-0x1,_0x2b87d4;_0x41923e>=0x0;_0x41923e--)(_0x2b87d4=_0x48944f[_0x41923e])&&(_0x2b9127=(_0x12d4db?_0x2b87d4(_0x31f3cb,_0x248947,_0x2b9127):_0x2b87d4(_0x2b9127))||_0x2b9127);return _0x12d4db&&_0x2b9127&&_0x2a75cb(_0x31f3cb,_0x248947,_0x2b9127),_0x2b9127;},_0x32d586=(_0xee3cf6,_0x17ce0e)=>(_0x54ac05,_0x260053)=>_0x17ce0e(_0x54ac05,_0x260053,_0xee3cf6);_0x2ba19f[_0x28eb76(0x2f4)]=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x20f559,_0x324494,_0x1cf3f1,_0x271f72,_0x3d329f){const _0x53ac3e=_0x28eb76;super(),_0x2edd4f(this,_0x53ac3e(0x2d9),new Map()),_0x2edd4f(this,'_pivotRenderValueMatrixCache',new Map()),_0x2edd4f(this,'_markDirty$',new _0x26fbf0[(_0x53ac3e(0x1f9))]()),_0x2edd4f(this,_0x53ac3e(0x2bc),this[_0x53ac3e(0xbf)][_0x53ac3e(0x216)]()),_0x2edd4f(this,_0x53ac3e(0x2ff),new _0x26fbf0[(_0x53ac3e(0x1f9))]()),_0x2edd4f(this,_0x53ac3e(0x17d),this[_0x53ac3e(0x2ff)][_0x53ac3e(0x216)]()),_0x2edd4f(this,'_textInfo'),(this['_localeService']=_0x20f559,this['_injector']=_0x324494,this[_0x53ac3e(0x14f)]=_0x1cf3f1,this['_univerInstanceService']=_0x271f72,this[_0x53ac3e(0x26c)]=_0x3d329f,this['_initLocale'](),this[_0x53ac3e(0x268)]());}['_initUnitDisposed'](){const _0x28825d=_0x28eb76;this['disposeWithMe'](this[_0x28825d(0x2d5)][_0x28825d(0x2fa)](_0x54ff7d['UniverInstanceType'][_0x28825d(0x2a1)])[_0x28825d(0x280)](_0x524914=>{const _0x4c48da=_0x28825d;this[_0x4c48da(0x1b4)](_0x524914[_0x4c48da(0x217)]());}));}[_0x28eb76(0x31c)](){const _0x7bb96a=_0x28eb76;this[_0x7bb96a(0x1c4)]=_0x1534fa(this[_0x7bb96a(0x185)],_0x53078d,'',{});}[_0x28eb76(0x225)](_0x30cd8d){const _0x4af7ba=_0x28eb76,{view:_0x16b46a,unitId:_0x253ba6,subUnitId:_0xb15b3b,pivotTableId:_0x560045,type:_0x18131d}=_0x30cd8d,_0x6df8f9=this['_sheetsPivotTableConfigModel'][_0x4af7ba(0xaf)](_0x253ba6,_0xb15b3b,_0x560045);if(!_0x16b46a||!_0x6df8f9||_0x18131d===_0xfaf966[_0x4af7ba(0x226)])return;const {pageView:_0x544ac7,cornerView:_0x3b6265,rowView:_0x24bbeb,colView:_0x474cc3,dataView:_0x777028}=_0x16b46a,_0x5993a3=_0x6df8f9[_0x4af7ba(0x1ab)],_0xf80de9=_0x6df8f9[_0x4af7ba(0x29a)],_0x538e2d=this[_0x4af7ba(0x204)](_0x253ba6,_0xb15b3b),_0x291815=this['_ensurePivotItemRenderInfoCache'](_0x253ba6,_0xb15b3b,_0x560045);if(_0xf80de9)return this[_0x4af7ba(0x275)](_0x30cd8d,_0x538e2d,_0x5993a3,_0x291815);{const _0x37e493=_0x25c9ba(_0x5993a3,_0x544ac7,!0x0),_0x1619d0=_0x544ac7[_0x4af7ba(0x32c)]>=0x0?_0x544ac7[_0x4af7ba(0x32c)]+0x1:0x0,_0x8390c5=_0x3b6265[_0x4af7ba(0x106)](),_0x5224d4=_0x3b6265[_0x4af7ba(0xfd)](),_0x2a8c88=_0x37e493['length']>0x0?_0x323d5f:0x0,_0x38421e=_0x25c9ba({'row':_0x5993a3[_0x4af7ba(0x221)]+_0x1619d0+_0x2a8c88,'col':_0x5993a3[_0x4af7ba(0x34f)]},_0x3b6265,!0x1,!0x1),_0x16acbe=_0x25c9ba({'row':_0x5993a3[_0x4af7ba(0x221)]+_0x1619d0+_0x2a8c88+_0x8390c5,'col':_0x5993a3[_0x4af7ba(0x34f)]},_0x24bbeb,!0x1,!0x0),_0x12e6f0=_0x25c9ba({'row':_0x5993a3[_0x4af7ba(0x221)]+_0x1619d0+_0x2a8c88,'col':_0x5993a3[_0x4af7ba(0x34f)]+_0x5224d4},_0x474cc3,!0x1,!0x0),_0xa6b5f=_0x25c9ba({'row':_0x5993a3['row']+_0x1619d0+_0x2a8c88+_0x8390c5,'col':_0x5993a3['col']+_0x5224d4},_0x777028,!0x1,!0x1);_0x291815[_0x4af7ba(0x34e)]={'rowRanges':_0x16acbe,'colRanges':_0x12e6f0,'cornerRanges':_0x38421e,'dataRanges':_0xa6b5f,'pageRanges':_0x37e493};const _0x1b873d=_0x4e4604(this[_0x4af7ba(0x185)],_0x16b46a,_0x6df8f9,this[_0x4af7ba(0x1c4)]),{valueMatrix:_0xdbbe0c,rowInfo:_0x4519cc,colInfo:_0x4b3c92,cornerInfo:_0x299556,rowHeaderMap:_0x118c55,colHeaderMap:_0x5b11aa}=_0x1b873d;return _0x291815[_0x4af7ba(0x302)]={'rowInfo':_0x4519cc,'colInfo':_0x4b3c92,'cornerInfo':_0x299556},_0x291815[_0x4af7ba(0x370)]={'rowHeaderMap':_0x118c55,'colHeaderMap':_0x5b11aa},_0xdbbe0c[_0x4af7ba(0x287)]((_0x929ba1,_0x3b438d)=>{const _0x3c0d46=_0x4af7ba;Object['keys'](_0x3b438d)[_0x3c0d46(0x287)](_0x3390d6=>{const _0x33120d=_0x3c0d46,_0x4faf98=+_0x3390d6,_0x330d0e=_0xdbbe0c[_0x33120d(0x17c)](_0x929ba1,_0x4faf98);_0x538e2d[_0x33120d(0xf8)](_0x929ba1,_0x4faf98,_0x330d0e);});}),this[_0x4af7ba(0x2ff)][_0x4af7ba(0x1d3)]({'unitId':_0x253ba6,'subUnitId':_0xb15b3b,'valueMatrix':_0x538e2d,'rangesCache':_0x291815[_0x4af7ba(0x34e)],'pivotTableId':_0x560045,'type':_0x30cd8d[_0x4af7ba(0x343)]}),this[_0x4af7ba(0x14f)][_0x4af7ba(0x2ed)](_0x253ba6,_0xb15b3b,_0x560045,_0x538e2d,_0x291815[_0x4af7ba(0x34e)]),this['_exclusiveRangeService'][_0x4af7ba(0x308)](_0x253ba6,_0xb15b3b,_0x5b16b4,this[_0x4af7ba(0x189)](_0x291815[_0x4af7ba(0x34e)],_0x560045)),{'rangeCache':_0x291815[_0x4af7ba(0x34e)],'matrix':_0x538e2d};}}['_updateRenderEmptyCache'](_0x5e6601,_0x19014a,_0x558122,_0x1313cc){const _0x3d947b=_0x28eb76,_0x122715=this[_0x3d947b(0x2e1)]['t'],{unitId:_0x1c4d33,subUnitId:_0x2b9fa5,pivotTableId:_0x1eabb4}=_0x5e6601,_0x3dc5a3={'filter':_0x122715(_0x3d947b(0x264)),'row':_0x122715('sheets-pivot.emptyPivot.row'),'column':_0x122715('sheets-pivot.emptyPivot.column'),'values':_0x122715(_0x3d947b(0x19e))},{matrixCache:_0x2990ee,rangesCache:_0x3ed9df}=_0x428314(_0x3dc5a3,_0x558122);return _0x2990ee['forValue']((_0x5df9fd,_0x59a245,_0x5d8a58)=>{const _0x2b0c8a=_0x3d947b;_0x19014a[_0x2b0c8a(0xf8)](_0x5df9fd,_0x59a245,_0x5d8a58);}),_0x1313cc[_0x3d947b(0x34e)]=_0x3ed9df,this[_0x3d947b(0x2ff)]['next']({'unitId':_0x1c4d33,'subUnitId':_0x2b9fa5,'valueMatrix':_0x19014a,'rangesCache':_0x3ed9df,'pivotTableId':_0x1eabb4,'type':_0x5e6601['type']}),this[_0x3d947b(0x14f)]['updateViewInfo'](_0x1c4d33,_0x2b9fa5,_0x1eabb4,_0x19014a,_0x3ed9df),this['_exclusiveRangeService'][_0x3d947b(0x308)](_0x1c4d33,_0x2b9fa5,_0x5b16b4,this[_0x3d947b(0x189)](_0x3ed9df,_0x1eabb4)),{'rangeCache':_0x1313cc[_0x3d947b(0x34e)],'matrix':_0x19014a};}[_0x28eb76(0x189)](_0x54a9df,_0x2946e3){const _0x2c678a=_0x28eb76,_0x2109cd=[],_0x36a767=_0x2ea627(_0x54a9df);for(const _0x298ae3 of _0x36a767)_0x2109cd[_0x2c678a(0x21f)]({'groupId':_0x2946e3,'range':_0x298ae3});return _0x2109cd;}[_0x28eb76(0x150)](_0x516c27){const _0x2754fc=_0x28eb76;var _0x19e815,_0x143a44,_0x105b13,_0x48d30a;const {pivotTableId:_0x1cab86,unitId:_0x3f83c1,subUnitId:_0x536342}=_0x516c27;if(!_0x1cab86||!_0x3f83c1||!_0x536342)return;const _0x41a15f=this[_0x2754fc(0x204)](_0x3f83c1,_0x536342),_0x5117ba=(_0x143a44=(_0x19e815=this[_0x2754fc(0x2d9)][_0x2754fc(0xc3)](_0x3f83c1))==null?void 0x0:_0x19e815[_0x2754fc(0xc3)](_0x536342))==null?void 0x0:_0x143a44[_0x2754fc(0xc3)](_0x1cab86);if(_0x5117ba!=null&&_0x5117ba['rangesInfo']){for(const _0x257d8e of Object[_0x2754fc(0xb7)](_0x5117ba[_0x2754fc(0x34e)]))_0x5117ba[_0x2754fc(0x34e)][_0x257d8e][_0x2754fc(0x287)](_0x3d6bd3=>{const _0x57864c=_0x2754fc;for(let _0x1ae1a3=_0x3d6bd3[_0x57864c(0x2f2)];_0x1ae1a3<=_0x3d6bd3[_0x57864c(0x27c)];_0x1ae1a3++)for(let _0x52112a=_0x3d6bd3['startColumn'];_0x52112a<=_0x3d6bd3['endColumn'];_0x52112a++)_0x41a15f[_0x57864c(0x32b)](_0x1ae1a3,_0x52112a);});}_0x5117ba&&((_0x48d30a=(_0x105b13=this['_pivotRenderInfoCache'][_0x2754fc(0xc3)](_0x3f83c1))==null?void 0x0:_0x105b13[_0x2754fc(0xc3)](_0x536342))==null||_0x48d30a[_0x2754fc(0x30d)](_0x1cab86)),this[_0x2754fc(0x2ff)]['next']({'unitId':_0x3f83c1,'subUnitId':_0x536342,'valueMatrix':_0x41a15f,'pivotTableId':_0x1cab86,'rangesCache':void 0x0,'type':_0x516c27['type']}),this['_exclusiveRangeService'][_0x2754fc(0x336)](_0x3f83c1,_0x536342,_0x5b16b4,_0x1cab86);}['_ensurePivotItemRenderInfoCache'](_0x208d72,_0xd799ee,_0x526ca2){const _0x3209e3=_0x28eb76;var _0x34f1e1,_0x1a1947,_0x6d5140,_0x101a6f,_0x39e18f,_0x36d794;return this[_0x3209e3(0x2d9)][_0x3209e3(0xc9)](_0x208d72)||this[_0x3209e3(0x2d9)][_0x3209e3(0x141)](_0x208d72,new Map()),(_0x34f1e1=this[_0x3209e3(0x2d9)][_0x3209e3(0xc3)](_0x208d72))!=null&&_0x34f1e1['has'](_0xd799ee)||(_0x1a1947=this['_pivotRenderInfoCache'][_0x3209e3(0xc3)](_0x208d72))==null||_0x1a1947[_0x3209e3(0x141)](_0xd799ee,new Map()),(_0x101a6f=(_0x6d5140=this[_0x3209e3(0x2d9)]['get'](_0x208d72))==null?void 0x0:_0x6d5140[_0x3209e3(0xc3)](_0xd799ee))!=null&&_0x101a6f[_0x3209e3(0xc9)](_0x526ca2)||(_0x36d794=(_0x39e18f=this[_0x3209e3(0x2d9)][_0x3209e3(0xc3)](_0x208d72))==null?void 0x0:_0x39e18f[_0x3209e3(0xc3)](_0xd799ee))==null||_0x36d794[_0x3209e3(0x141)](_0x526ca2,{}),this[_0x3209e3(0x2d9)]['get'](_0x208d72)[_0x3209e3(0xc3)](_0xd799ee)[_0x3209e3(0xc3)](_0x526ca2);}[_0x28eb76(0x204)](_0x34e72a,_0x27d529){const _0x140df4=_0x28eb76;var _0x3d7555,_0x5c5677;return this[_0x140df4(0x1f1)][_0x140df4(0xc9)](_0x34e72a)||this['_pivotRenderValueMatrixCache'][_0x140df4(0x141)](_0x34e72a,new Map()),(_0x3d7555=this[_0x140df4(0x1f1)][_0x140df4(0xc3)](_0x34e72a))!=null&&_0x3d7555[_0x140df4(0xc9)](_0x27d529)||(_0x5c5677=this['_pivotRenderValueMatrixCache'][_0x140df4(0xc3)](_0x34e72a))==null||_0x5c5677['set'](_0x27d529,new _0x54ff7d[(_0x140df4(0x161))]()),this[_0x140df4(0x1f1)]['get'](_0x34e72a)['get'](_0x27d529);}['getPivotTableCellData'](_0x195f40,_0x537642,_0x1fc252,_0x226b4f){const _0x4c0d7a=_0x28eb76;var _0x200192,_0xd20ea7;const _0x1c4cf2=(_0xd20ea7=(_0x200192=this[_0x4c0d7a(0x1f1)][_0x4c0d7a(0xc3)](_0x195f40))==null?void 0x0:_0x200192[_0x4c0d7a(0xc3)](_0x537642))==null?void 0x0:_0xd20ea7[_0x4c0d7a(0x17c)](_0x1fc252,_0x226b4f);if(_0x1c4cf2!=null)return _0x1c4cf2;}[_0x28eb76(0x30a)](_0x38a173,_0x5dbc71,_0x537cf6,_0x4ca487){const _0x132038=_0x28eb76;var _0x458f3a;const _0x220a09=_0x54ff7d[_0x132038(0x347)](_0x537cf6,_0x4ca487),_0x3862c8=(_0x458f3a=this[_0x132038(0x2d9)][_0x132038(0xc3)](_0x38a173))==null?void 0x0:_0x458f3a[_0x132038(0xc3)](_0x5dbc71);return _0x3862c8?Array[_0x132038(0xb3)](_0x3862c8[_0x132038(0xb7)]())[_0x132038(0x311)](_0x5271d2=>{const _0x14b562=_0x132038,_0x2120e5=_0x3862c8[_0x14b562(0xc3)](_0x5271d2),_0x47f18b=_0x2120e5==null?void 0x0:_0x2120e5['rangesInfo'];return _0x47f18b?Object['keys'](_0x47f18b)[_0x14b562(0x14b)](_0x5dce43=>_0x47f18b[_0x5dce43][_0x14b562(0x14b)](_0x40fe2f=>_0x54ff7d[_0x14b562(0x188)][_0x14b562(0xb6)](_0x40fe2f,_0x220a09))):!0x1;}):void 0x0;}[_0x28eb76(0xca)](_0x597fb1,_0x500f84,_0x184db8){const _0x85359d=_0x28eb76;var _0x29ba5e;const _0xf907f4=(_0x29ba5e=this[_0x85359d(0x2d9)][_0x85359d(0xc3)](_0x597fb1))==null?void 0x0:_0x29ba5e[_0x85359d(0xc3)](_0x500f84),_0x36be4c=[];return _0xf907f4&&Array[_0x85359d(0xb3)](_0xf907f4[_0x85359d(0xb7)]())[_0x85359d(0x287)](_0x4d0bcc=>{const _0x3d0c31=_0x85359d,_0x2ec169=_0xf907f4[_0x3d0c31(0xc3)](_0x4d0bcc),_0xcfee6e=_0x2ec169==null?void 0x0:_0x2ec169[_0x3d0c31(0x34e)];if(_0xcfee6e)for(const _0x5da0cc of Object[_0x3d0c31(0x199)](_0xcfee6e)){let _0x38eaf5=!0x1;for(const _0x4bf73e of _0x5da0cc)if(_0x54ff7d[_0x3d0c31(0x188)]['intersects'](_0x4bf73e,_0x184db8)){_0x36be4c['push'](_0x4d0bcc),_0x38eaf5=!0x0;break;}if(_0x38eaf5)break;}}),_0x36be4c;}[_0x28eb76(0x2a4)](_0x3eff4d,_0x4a4618){const _0x5481ca=_0x28eb76;var _0x4c6de0,_0x4f4c25;return(_0x4f4c25=(_0x4c6de0=this['_pivotRenderValueMatrixCache']['get'](_0x3eff4d))==null?void 0x0:_0x4c6de0[_0x5481ca(0xc3)](_0x4a4618))!=null?_0x4f4c25:new _0x54ff7d[(_0x5481ca(0x161))]();}['getPivotItemRenderInfoCache'](_0x4419e9,_0x2b4ad9,_0x1cadfa){const _0x11ed90=_0x28eb76;var _0x2e6ace,_0x3d2159;return(_0x3d2159=(_0x2e6ace=this[_0x11ed90(0x2d9)][_0x11ed90(0xc3)](_0x4419e9))==null?void 0x0:_0x2e6ace[_0x11ed90(0xc3)](_0x2b4ad9))==null?void 0x0:_0x3d2159[_0x11ed90(0xc3)](_0x1cadfa);}[_0x28eb76(0x1b4)](_0x32bd76){const _0x561bea=_0x28eb76;this['_pivotRenderInfoCache'][_0x561bea(0x30d)](_0x32bd76),this[_0x561bea(0x1f1)][_0x561bea(0x30d)](_0x32bd76);}['markDirty'](_0x2aba3d,_0x1171f1){this['_markDirty$']['next']({'unitId':_0x2aba3d,'subUnitId':_0x1171f1});}},_0x2ba19f[_0x28eb76(0x2f4)]=_0xe0a47f([_0x32d586(0x0,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x223)])),_0x32d586(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x321)])),_0x32d586(0x2,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f[_0x28eb76(0x170)])),_0x32d586(0x3,_0x54ff7d['Inject'](_0x54ff7d['IUniverInstanceService'])),_0x32d586(0x4,_0x54ff7d[_0x28eb76(0x283)](_0x27c753[_0x28eb76(0x177)]))],_0x2ba19f[_0x28eb76(0x2f4)]);var _0x12d0bd=Object[_0x28eb76(0xc5)],_0x317e18=Object[_0x28eb76(0x265)],_0x4db078=(_0x4c317e,_0x37514d,_0x10ca7b,_0x368563)=>{for(var _0x175c35=_0x368563>0x1?void 0x0:_0x368563?_0x317e18(_0x37514d,_0x10ca7b):_0x37514d,_0x3bb7ec=_0x4c317e['length']-0x1,_0x32e49a;_0x3bb7ec>=0x0;_0x3bb7ec--)(_0x32e49a=_0x4c317e[_0x3bb7ec])&&(_0x175c35=(_0x368563?_0x32e49a(_0x37514d,_0x10ca7b,_0x175c35):_0x32e49a(_0x175c35))||_0x175c35);return _0x368563&&_0x175c35&&_0x12d0bd(_0x37514d,_0x10ca7b,_0x175c35),_0x175c35;},_0x42df50=(_0x28f311,_0x13be90)=>(_0xe25bab,_0x94f388)=>_0x13be90(_0xe25bab,_0x94f388,_0x28f311);_0x2ba19f[_0x28eb76(0x1eb)]=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x510453,_0x4ff60b){const _0x1fcab5=_0x28eb76;super(),_0x2edd4f(this,'asyncInterceptor',new _0x54ff7d[(_0x1fcab5(0xcd))]({'PIVOT_PERFORM_CHECK':_0xe520be})),_0x2edd4f(this,_0x1fcab5(0x2f3),new _0x54ff7d['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x3ee004})),(this[_0x1fcab5(0x23d)]=_0x510453,this['_sheetsPivotTableAdaptorModel']=_0x4ff60b,this[_0x1fcab5(0x211)]());}[_0x28eb76(0x211)](){const _0x41818=_0x28eb76;this[_0x41818(0x110)]();}[_0x28eb76(0x26a)](_0x2b7ef1){const _0x52854b=_0x28eb76;return this[_0x52854b(0x11d)][_0x52854b(0xc4)](_0xe520be)(!0x1,_0x2b7ef1);}['_initViewModelBySheetInterceptor'](){const _0x2934e1=_0x28eb76;this[_0x2934e1(0x267)](this[_0x2934e1(0x23d)][_0x2934e1(0x295)](_0x27c753[_0x2934e1(0x1d7)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x54ff7d['InterceptorEffectEnum'][_0x2934e1(0x209)]|_0x54ff7d['InterceptorEffectEnum'][_0x2934e1(0x123)],'handler':(_0x231d16,_0x4f4c01,_0x5aee72)=>{const _0x368f51=_0x2934e1,{row:_0x57ac0b,col:_0x31319e,unitId:_0x58b574,subUnitId:_0x192aee,workbook:_0x5ca4ce}=_0x4f4c01,_0x250d38=this[_0x368f51(0x144)][_0x368f51(0x1f4)](_0x58b574,_0x192aee,_0x57ac0b,_0x31319e);if(!_0x250d38)return _0x5aee72(_0x231d16);const _0x23a8df={..._0x231d16};(_0x250d38['v']||_0x250d38['v']===0x0)&&(_0x23a8df['v']=_0x250d38['v']),_0x250d38['t']&&(_0x23a8df['t']=_0x250d38['t']);const _0x1686b0=(typeof(_0x231d16==null?void 0x0:_0x231d16['s'])==_0x368f51(0x13a)?_0x5ca4ce[_0x368f51(0x184)]()[_0x368f51(0xc3)](_0x231d16==null?void 0x0:_0x231d16['s']):_0x231d16==null?void 0x0:_0x231d16['s'])||{},_0x3b74e2=_0x5ca4ce[_0x368f51(0x184)]()['get'](_0x250d38['s']),_0x3f4455={..._0x3b74e2,..._0x1686b0};_0x3b74e2!=null&&_0x3b74e2['n']&&(_0x3f4455['n']=_0x3b74e2['n']);const _0x5c193c=_0x5ca4ce['getStyles']()['setValue'](_0x3f4455);return _0x23a8df['s']=_0x5c193c,(_0x250d38[_0x368f51(0x24b)]===_0x1f205f['PivotCellStyleTypeEnum'][_0x368f51(0x12e)]||_0x250d38[_0x368f51(0x24b)]===_0x1f205f['PivotCellStyleTypeEnum'][_0x368f51(0x2b9)])&&(_0x23a8df[_0x368f51(0x2de)]={},_0x23a8df[_0x368f51(0x2de)][_0x368f51(0x2e4)]=_0x130491),_0x5aee72(_0x23a8df);}}));}},_0x2ba19f[_0x28eb76(0x1eb)]=_0x4db078([_0x42df50(0x0,_0x54ff7d[_0x28eb76(0x283)](_0x27c753['SheetInterceptorService'])),_0x42df50(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f[_0x28eb76(0x2f4)]))],_0x2ba19f['SheetsPivotTableService']);function _0x2a15c8(_0x39df37,_0x703e55){const _0x3c6bd8=_0x28eb76;switch(_0x703e55){case _0x1f205f[_0x3c6bd8(0x2c7)]['Value']:return _0x39df37['valueFields'];case _0x1f205f[_0x3c6bd8(0x2c7)][_0x3c6bd8(0x351)]:return _0x39df37[_0x3c6bd8(0x32a)];case _0x1f205f[_0x3c6bd8(0x2c7)][_0x3c6bd8(0x1b9)]:return _0x39df37[_0x3c6bd8(0x165)];case _0x1f205f[_0x3c6bd8(0x2c7)]['Column']:return _0x39df37['columnFields'];default:return[];}}function _0x1748e8(_0x40b4e6,_0x1f17bc){const _0x3d57d1=_0x28eb76;return _0x40b4e6[_0x3d57d1(0x1a2)][_0x1f17bc]||_0x40b4e6[_0x3d57d1(0x293)][_0x1f17bc];}function _0x5b11ee(_0x527953,_0x595780){const _0x135a66=_0x28eb76,{area:_0x42c0cc,fieldJson:_0x2d787e,index:_0x4fb7f0}=_0x595780;_0x42c0cc===_0x1f205f['PivotTableFiledAreaEnum'][_0x135a66(0x209)]?_0x527953[_0x135a66(0x1a2)][_0x2d787e['id']]=_0x2d787e:_0x527953[_0x135a66(0x293)][_0x2d787e['id']]=_0x2d787e,_0x2a15c8(_0x527953,_0x42c0cc)[_0x135a66(0x10f)](_0x4fb7f0,0x0,_0x2d787e['id']);}function _0x2d0a1d(_0x3dc4f6,_0x996798){const _0x2508b6=_0x28eb76,{area:_0x319292,fieldId:_0x13ab7a,index:_0x5dd698}=_0x996798;_0x319292===_0x1f205f[_0x2508b6(0x2c7)][_0x2508b6(0x209)]?delete _0x3dc4f6[_0x2508b6(0x1a2)][_0x13ab7a]:delete _0x3dc4f6[_0x2508b6(0x293)][_0x13ab7a],_0x2a15c8(_0x3dc4f6,_0x319292)['splice'](_0x5dd698,0x1);}function _0x31cead(_0x14ab7f,_0x498a81){const _0x136902=_0x28eb76,{fieldId:_0x1c486c,name:_0x44d2c1}=_0x498a81,_0x44f623=_0x1748e8(_0x14ab7f,_0x1c486c);_0x44f623&&(_0x44f623[_0x136902(0x1f6)]=_0x44d2c1);}function _0x17bf2d(_0x4e78e9,_0x5b0d69){const _0x4dde96=_0x28eb76,{fieldId:_0x475173,collapse:_0x199628,item:_0x4a6e7b}=_0x5b0d69;_0x4a6e7b!==void 0x0?(_0x4e78e9['collapseInfo'][_0x475173]=_0x4e78e9[_0x4dde96(0x19c)][_0x475173]||{},_0x4e78e9['collapseInfo'][_0x475173][_0x4a6e7b]=_0x199628):_0x4e78e9['collapseInfo'][_0x475173]=_0x199628;}function _0x4e63b2(_0x13a48d,_0x1ac26d){const _0x43d4e2=_0x28eb76,{fieldId:_0x5de7de,format:_0x220da5}=_0x1ac26d,_0x118470=_0x1748e8(_0x13a48d,_0x5de7de);_0x118470&&(_0x118470[_0x43d4e2(0x1d2)]=_0x220da5);}function _0x11aec6(_0x43361e,_0x22e8c7){const {fieldId:_0x40e977,filterInfo:_0x326887}=_0x22e8c7,_0x1bdd52=_0x1748e8(_0x43361e,_0x40e977);_0x1bdd52&&(_0x1bdd52['filterInfo']=_0x326887);}function _0x10b7e8(_0x22d442,_0x2f20a9){const _0x280e46=_0x28eb76,{fieldId:_0x59ca75,subtotalType:_0x10430b}=_0x2f20a9,_0x20dc19=_0x1748e8(_0x22d442,_0x59ca75);_0x20dc19&&(_0x20dc19[_0x280e46(0x25a)]=_0x10430b);}function _0x1a26b3(_0x391e3d,_0x5cce83){const _0xc6e226=_0x28eb76,{fieldId:_0x3dfd55,oldArea:_0x2c9062,area:_0x26c903,oldIndex:_0x4309b7,index:_0x5917d5}=_0x5cce83,_0x21500a=_0x2c9062!==_0x1f205f[_0xc6e226(0x2c7)][_0xc6e226(0x209)]&&_0x26c903===_0x1f205f['PivotTableFiledAreaEnum'][_0xc6e226(0x209)],_0x524b5b=_0x2c9062===_0x1f205f[_0xc6e226(0x2c7)][_0xc6e226(0x209)]&&_0x26c903!==_0x1f205f[_0xc6e226(0x2c7)][_0xc6e226(0x209)];if(_0x21500a||_0x524b5b){const _0x9cb24=_0x1748e8(_0x391e3d,_0x3dfd55);_0x9cb24&&(_0x21500a?(delete _0x391e3d[_0xc6e226(0x293)][_0x3dfd55],_0x391e3d[_0xc6e226(0x1a2)][_0x3dfd55]=_0x9cb24):(delete _0x391e3d[_0xc6e226(0x1a2)][_0x3dfd55],_0x391e3d[_0xc6e226(0x293)][_0x3dfd55]=_0x9cb24));}const _0x17c125=_0x2a15c8(_0x391e3d,_0x2c9062),_0xacaa4e=_0x2a15c8(_0x391e3d,_0x26c903);_0x17c125['splice'](_0x4309b7,0x1),_0xacaa4e[_0xc6e226(0x10f)](_0x5917d5,0x0,_0x3dfd55);}function _0x4fbfc1(_0x4a1448,_0x15a1c2){const _0x406b9e=_0x28eb76,{valuePosition:_0x3cde40,index:_0x1d5de0}=_0x15a1c2;_0x4a1448[_0x406b9e(0x220)]=_0x3cde40,_0x4a1448[_0x406b9e(0x281)]=_0x1d5de0;}function _0x29ff6d(_0x1697d9,_0xbcaff9){const _0x21f8f6=_0x28eb76,{tableFieldId:_0x22bf74,sourceName:_0x51e12c,dataFieldId:_0x3fc362}=_0xbcaff9,_0x1c98a6=_0x1748e8(_0x1697d9,_0x22bf74);_0x1c98a6&&(_0x1c98a6[_0x21f8f6(0xc2)]=_0x51e12c,_0x1c98a6[_0x21f8f6(0x2e0)]=_0x3fc362);}function _0x246b6f(_0x2f755d,_0x5b3358){const _0x3798aa=_0x28eb76,{fieldId:_0x3b5673,sortInfo:_0x5a75ef}=_0x5b3358,_0x3c97e9=_0x1748e8(_0x2f755d,_0x3b5673);_0x3c97e9&&(_0x3c97e9[_0x3798aa(0x244)]=_0x5a75ef);}function _0x2d8853(_0x610896,_0x28c156){const _0x1c0170=_0x28eb76,{options:_0x114358}=_0x28c156;_0x610896[_0x1c0170(0x346)]={..._0x610896[_0x1c0170(0x346)],..._0x114358};}const _0x3e5acd={'type':_0x54ff7d['CommandType']['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x33f658,_0x4d91f0){const _0x2f3368=_0x28eb76;if(!_0x4d91f0)return!0x1;if(!!_0x33f658[_0x2f3368(0xc3)](_0x54ff7d[_0x2f3368(0x208)])[_0x2f3368(0x2b5)](_0x345bc3))return!0x0;const _0x34a406=_0x33f658[_0x2f3368(0xc3)](_0x2ba19f[_0x2f3368(0x303)]),{pivotTableId:_0x231fcc,fieldJson:_0x32ab42,area:_0xcddd77,index:_0x1ed307,unitId:_0x3f662e,subUnitId:_0x489feb}=_0x4d91f0,_0x271e83=_0x34a406[_0x2f3368(0x1df)](_0x231fcc);if(!_0x271e83)return!0x1;let _0x283312;_0xcddd77===_0x1f205f['PivotTableFiledAreaEnum'][_0x2f3368(0x209)]?_0x283312=_0x1f205f['createValueField'](_0x32ab42):_0x283312=_0x1f205f[_0x2f3368(0x285)](_0x32ab42),_0x271e83[_0x2f3368(0x2f8)](_0x283312,_0xcddd77,_0x1ed307);const _0x811a03=_0x34a406[_0x2f3368(0x340)](_0x3f662e,_0x489feb,_0x231fcc);_0x5b11ee(_0x811a03,_0x4d91f0);const _0x4bddd4=_0x34a406[_0x2f3368(0xaf)](_0x3f662e,_0x489feb,_0x231fcc);return _0x34a406['addDirtyPivotTable']({'unitId':_0x3f662e,'subUnitId':_0x489feb,'token':_0x231fcc,'type':_0xfaf966['Set'],'pivotConfig':_0x4bddd4}),!0x0;}},_0x35e531={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x22d),'handler'(_0x5ae9d5,_0xda03ac){const _0x42ec4e=_0x28eb76;if(!_0xda03ac)return!0x1;if(!!_0x5ae9d5['get'](_0x54ff7d[_0x42ec4e(0x208)])['getConfig'](_0x345bc3))return!0x0;const _0x1c62c9=_0x5ae9d5['get'](_0x2ba19f['SheetsPivotDataSourceModel']),{pivotTableId:_0x197537,fieldId:_0x1006db,unitId:_0x292f19,subUnitId:_0x477696}=_0xda03ac,_0x2e096f=_0x1c62c9[_0x42ec4e(0x1df)](_0x197537);if(!_0x2e096f)return!0x1;_0x2e096f['removeField'](_0x1006db);const _0x2babfb=_0x1c62c9[_0x42ec4e(0x340)](_0x292f19,_0x477696,_0x197537);_0x2d0a1d(_0x2babfb,_0xda03ac);const _0x1ef6df=_0x1c62c9[_0x42ec4e(0xaf)](_0x292f19,_0x477696,_0x197537);return _0x1c62c9[_0x42ec4e(0x247)]({'unitId':_0x292f19,'subUnitId':_0x477696,'token':_0x197537,'type':_0xfaf966[_0x42ec4e(0x151)],'pivotConfig':_0x1ef6df}),!0x0;}},_0x7f9561={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0xf5),'handler'(_0x5371e8,_0x2db84e){const _0x3dbf63=_0x28eb76;if(!_0x2db84e)return!0x1;if(!!_0x5371e8[_0x3dbf63(0xc3)](_0x54ff7d[_0x3dbf63(0x208)])[_0x3dbf63(0x2b5)](_0x345bc3))return!0x0;const _0x8939da=_0x5371e8[_0x3dbf63(0xc3)](_0x2ba19f[_0x3dbf63(0x303)]),{unitId:_0x15431a,subUnitId:_0x2bcac4,pivotTableId:_0x10205a,fieldId:_0x9a2f21,name:_0x56b52a}=_0x2db84e,_0x4a9242=_0x8939da[_0x3dbf63(0x1df)](_0x10205a);if(!_0x4a9242)return!0x1;_0x4a9242[_0x3dbf63(0x33f)](_0x9a2f21,_0x56b52a);const _0x4ae70d=_0x8939da['getPivotTableModelConfig'](_0x15431a,_0x2bcac4,_0x10205a);return _0x31cead(_0x4ae70d,_0x2db84e),_0x8939da['addDirtyPivotTable']({'unitId':_0x15431a,'subUnitId':_0x2bcac4,'token':_0x10205a,'type':_0xfaf966[_0x3dbf63(0x151)]}),!0x0;}},_0x2c236e={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0xf3),'handler'(_0x57b46e,_0x55a01c){const _0x9b7acb=_0x28eb76;if(!_0x55a01c)return!0x1;if(!!_0x57b46e[_0x9b7acb(0xc3)](_0x54ff7d['IConfigService'])[_0x9b7acb(0x2b5)](_0x345bc3))return!0x0;const _0x2f8466=_0x57b46e[_0x9b7acb(0xc3)](_0x2ba19f[_0x9b7acb(0x303)]),{unitId:_0x5d3eb2,subUnitId:_0x311ed9,pivotTableId:_0x54de68,fieldId:_0x26ccd8,collapse:_0x4db717,item:_0x5f17bd}=_0x55a01c,_0x3fdc88=_0x2f8466[_0x9b7acb(0x1df)](_0x54de68);if(!_0x3fdc88)return!0x1;_0x3fdc88['setCollapse'](_0x26ccd8,_0x4db717,_0x5f17bd);const _0xb17e35=_0x2f8466['getPivotTableModelConfig'](_0x5d3eb2,_0x311ed9,_0x54de68);return _0x17bf2d(_0xb17e35,_0x55a01c),_0x2f8466[_0x9b7acb(0x247)]({'unitId':_0x5d3eb2,'subUnitId':_0x311ed9,'token':_0x54de68,'type':_0xfaf966[_0x9b7acb(0x151)]}),!0x0;}},_0x20489e={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x200),'handler'(_0x53e360,_0x4fe1ba){const _0x307132=_0x28eb76;if(!_0x4fe1ba)return!0x1;if(!!_0x53e360['get'](_0x54ff7d[_0x307132(0x208)])[_0x307132(0x2b5)](_0x345bc3))return!0x0;const _0x371643=_0x53e360['get'](_0x2ba19f['SheetsPivotDataSourceModel']),{unitId:_0x4dbb3e,subUnitId:_0xf2b0e8,pivotTableId:_0x296b9d,fieldId:_0x4e27c6,format:_0x21025c}=_0x4fe1ba,_0x39adfe=_0x371643[_0x307132(0x1df)](_0x296b9d);if(!_0x39adfe)return!0x1;_0x39adfe[_0x307132(0x1b2)](_0x4e27c6,_0x21025c);const _0x587feb=_0x371643[_0x307132(0x340)](_0x4dbb3e,_0xf2b0e8,_0x296b9d);return _0x4e63b2(_0x587feb,_0x4fe1ba),_0x371643[_0x307132(0x247)]({'unitId':_0x4dbb3e,'subUnitId':_0xf2b0e8,'token':_0x296b9d,'type':_0xfaf966[_0x307132(0x151)]}),!0x0;}},_0x1e305={'type':_0x54ff7d['CommandType'][_0x28eb76(0x344)],'id':_0x28eb76(0xae),'handler'(_0x2d1aad,_0x1d37ac){const _0x5005c2=_0x28eb76;if(!_0x1d37ac)return!0x1;if(!!_0x2d1aad[_0x5005c2(0xc3)](_0x54ff7d[_0x5005c2(0x208)])[_0x5005c2(0x2b5)](_0x345bc3))return!0x0;const _0x11a51b=_0x2d1aad[_0x5005c2(0xc3)](_0x2ba19f['SheetsPivotDataSourceModel']),{unitId:_0x53dcd8,subUnitId:_0x4ac1d3,pivotTableId:_0x489abb,fieldId:_0x26ccc3,filterInfo:_0x141d90}=_0x1d37ac,_0x34a65b=_0x11a51b[_0x5005c2(0x1df)](_0x489abb);if(!_0x34a65b)return!0x1;_0x34a65b[_0x5005c2(0x10e)](_0x26ccc3,_0x141d90);const _0x135096=_0x11a51b[_0x5005c2(0x340)](_0x53dcd8,_0x4ac1d3,_0x489abb);return _0x11aec6(_0x135096,_0x1d37ac),_0x11a51b[_0x5005c2(0x247)]({'unitId':_0x53dcd8,'subUnitId':_0x4ac1d3,'token':_0x489abb,'type':_0xfaf966[_0x5005c2(0x151)]}),!0x0;}},_0x403b4c={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x29e),'handler'(_0x1a8c35,_0x1d0e77){const _0x5e1b8c=_0x28eb76;if(!_0x1d0e77)return!0x1;if(!!_0x1a8c35[_0x5e1b8c(0xc3)](_0x54ff7d[_0x5e1b8c(0x208)])[_0x5e1b8c(0x2b5)](_0x345bc3))return!0x0;const _0xcbdf56=_0x1a8c35['get'](_0x2ba19f[_0x5e1b8c(0x303)]),{unitId:_0x1b35c0,subUnitId:_0x1ad57b,pivotTableId:_0x2751a3,options:_0x568716}=_0x1d0e77,_0x57c1d5=_0xcbdf56[_0x5e1b8c(0x1df)](_0x2751a3);if(!_0x57c1d5)return!0x1;_0x57c1d5[_0x5e1b8c(0x146)](_0x568716);const _0x24559c=_0xcbdf56[_0x5e1b8c(0x340)](_0x1b35c0,_0x1ad57b,_0x2751a3);return _0x2d8853(_0x24559c,_0x1d0e77),_0xcbdf56[_0x5e1b8c(0x247)]({'unitId':_0x1b35c0,'subUnitId':_0x1ad57b,'token':_0x2751a3,'type':_0xfaf966[_0x5e1b8c(0x151)]}),!0x0;}},_0x3e9d43={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x353),'handler'(_0x26725f,_0x1332ed){const _0x1c607b=_0x28eb76;if(!_0x1332ed)return!0x1;if(!!_0x26725f['get'](_0x54ff7d['IConfigService'])[_0x1c607b(0x2b5)](_0x345bc3))return!0x0;const _0x9f672d=_0x26725f[_0x1c607b(0xc3)](_0x2ba19f['SheetsPivotDataSourceModel']),{unitId:_0x30c3ee,subUnitId:_0x488dda,pivotTableId:_0x142329,sortInfo:_0x4a9660,fieldId:_0x1e94b4}=_0x1332ed,_0x309bf7=_0x9f672d[_0x1c607b(0x1df)](_0x142329);if(!_0x309bf7)return!0x1;_0x309bf7[_0x1c607b(0x175)](_0x1e94b4,_0x4a9660);const _0xb0ffac=_0x9f672d['getPivotTableModelConfig'](_0x30c3ee,_0x488dda,_0x142329);return _0x246b6f(_0xb0ffac,_0x1332ed),_0x9f672d[_0x1c607b(0x247)]({'unitId':_0x30c3ee,'subUnitId':_0x488dda,'token':_0x142329,'type':_0xfaf966[_0x1c607b(0x151)]}),!0x0;}},_0x354eb4={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x6c84ad,_0x27403b){const _0x1076d6=_0x28eb76;if(!_0x27403b)return!0x1;if(!!_0x6c84ad[_0x1076d6(0xc3)](_0x54ff7d['IConfigService'])[_0x1076d6(0x2b5)](_0x345bc3))return!0x0;const _0x2e5e36=_0x6c84ad['get'](_0x2ba19f[_0x1076d6(0x303)]),{unitId:_0x5f383c,subUnitId:_0x109e74,pivotTableId:_0xeaaa1c,fieldId:_0x651eef,subtotalType:_0x1c64d4}=_0x27403b,_0x546eb7=_0x2e5e36[_0x1076d6(0x1df)](_0xeaaa1c);if(!_0x546eb7)return!0x1;_0x546eb7[_0x1076d6(0xb4)](_0x651eef,_0x1c64d4);const _0x9cdc76=_0x2e5e36['getPivotTableModelConfig'](_0x5f383c,_0x109e74,_0xeaaa1c);return _0x10b7e8(_0x9cdc76,_0x27403b),_0x2e5e36[_0x1076d6(0x247)]({'unitId':_0x5f383c,'subUnitId':_0x109e74,'token':_0xeaaa1c,'type':_0xfaf966[_0x1076d6(0x151)]}),!0x0;}},_0x130a93={'type':_0x54ff7d['CommandType'][_0x28eb76(0x344)],'id':_0x28eb76(0x251),'handler'(_0x13b6e8,_0x36fd68){const _0x3d1633=_0x28eb76;if(!_0x36fd68)return!0x1;if(!!_0x13b6e8[_0x3d1633(0xc3)](_0x54ff7d[_0x3d1633(0x208)])[_0x3d1633(0x2b5)](_0x345bc3))return!0x0;const _0x21d61e=_0x13b6e8[_0x3d1633(0xc3)](_0x2ba19f[_0x3d1633(0x303)]),{unitId:_0x258026,subUnitId:_0x56607b,pivotTableId:_0x3ae9b3,area:_0x7d51f8,index:_0x25b6f9,fieldId:_0x31dc89}=_0x36fd68,_0x260f8a=_0x21d61e[_0x3d1633(0x1df)](_0x3ae9b3);if(!_0x260f8a)return!0x1;_0x260f8a[_0x3d1633(0x1c8)](_0x31dc89,_0x7d51f8,_0x25b6f9);const _0x12bdc7=_0x21d61e[_0x3d1633(0x340)](_0x258026,_0x56607b,_0x3ae9b3);return _0x1a26b3(_0x12bdc7,_0x36fd68),_0x21d61e[_0x3d1633(0x247)]({'unitId':_0x258026,'subUnitId':_0x56607b,'token':_0x3ae9b3,'type':_0xfaf966[_0x3d1633(0x151)]}),!0x0;}},_0x3f16c3={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x11c),'handler'(_0x390ca8,_0x544ccd){const _0x30a0ea=_0x28eb76;if(!_0x544ccd)return!0x1;if(!!_0x390ca8[_0x30a0ea(0xc3)](_0x54ff7d[_0x30a0ea(0x208)])[_0x30a0ea(0x2b5)](_0x345bc3))return!0x0;const _0x1c48eb=_0x390ca8[_0x30a0ea(0xc3)](_0x2ba19f[_0x30a0ea(0x303)]),{unitId:_0x1f378c,subUnitId:_0x36971d,pivotTableId:_0x2558af,sourceName:_0x10747d,dataFieldId:_0x50e00e,tableFieldId:_0xd5774e}=_0x544ccd,_0x298cbe=_0x1c48eb[_0x30a0ea(0x1df)](_0x2558af);if(!_0x298cbe)return!0x1;_0x298cbe[_0x30a0ea(0x21d)](_0xd5774e,_0x10747d,_0x50e00e);const _0x3fd87b=_0x1c48eb[_0x30a0ea(0x340)](_0x1f378c,_0x36971d,_0x2558af);return _0x29ff6d(_0x3fd87b,_0x544ccd),_0x1c48eb[_0x30a0ea(0x247)]({'unitId':_0x1f378c,'subUnitId':_0x36971d,'token':_0x2558af,'type':_0xfaf966[_0x30a0ea(0x151)]}),!0x0;}},_0xa82015={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0xe1),'handler'(_0x36ea90,_0x4ac4f0){const _0xa3f256=_0x28eb76;if(!_0x4ac4f0)return!0x1;if(!!_0x36ea90[_0xa3f256(0xc3)](_0x54ff7d[_0xa3f256(0x208)])[_0xa3f256(0x2b5)](_0x345bc3))return!0x0;const _0xcbbd5a=_0x36ea90['get'](_0x2ba19f['SheetsPivotDataSourceModel']),{unitId:_0x13bbde,subUnitId:_0x5537d3,pivotTableId:_0x12ab22,valuePosition:_0x1b11e1,index:_0x5a3eef}=_0x4ac4f0,_0x16e390=_0xcbbd5a[_0xa3f256(0x1df)](_0x12ab22);if(!_0x16e390)return!0x1;_0x16e390[_0xa3f256(0xea)](_0x1b11e1,_0x5a3eef);const _0x3564c8=_0xcbbd5a[_0xa3f256(0x340)](_0x13bbde,_0x5537d3,_0x12ab22);return _0x4fbfc1(_0x3564c8,_0x4ac4f0),_0xcbbd5a[_0xa3f256(0x247)]({'unitId':_0x13bbde,'subUnitId':_0x5537d3,'token':_0x12ab22,'type':_0xfaf966['Set']}),!0x0;}};function _0x1cc157(_0x5f0ce5,_0x52c5f1,_0x511297){const _0xa7de36=_0x28eb76,{pivotTableId:_0x336cd3,unitId:_0x51ae85,subUnitId:_0x49ca61}=_0x52c5f1,_0x5c93c7=[],_0x5522d5=[];for(const _0x3dba7c of _0x511297)switch(_0x3dba7c[_0xa7de36(0x343)]){case _0x1f205f['PivotTableChangeTypeEnum'][_0xa7de36(0x28f)]:{const {fieldJson:_0x48d692,area:_0xa8870f,index:_0x5754b0}=_0x3dba7c,_0xf2229e={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldJson':_0x48d692,'area':_0xa8870f,'index':_0x5754b0},_0x45fa2d={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x48d692['id'],'area':_0xa8870f,'index':_0x5754b0};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x3e5acd['id'],'params':_0xf2229e}),_0x5522d5[_0xa7de36(0x206)]({'id':_0x35e531['id'],'params':_0x45fa2d});}break;case _0x1f205f[_0xa7de36(0x2cf)][_0xa7de36(0x29d)]:{const {fieldId:_0x31ec70,newSubtotalType:_0x10eb0a,oldSubtotalType:_0x16ec0d}=_0x3dba7c,_0x25b1ff={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x31ec70,'subtotalType':_0x10eb0a};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x354eb4['id'],'params':_0x25b1ff});const _0xb6be34={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x31ec70,'subtotalType':_0x16ec0d};_0x5522d5['unshift']({'id':_0x354eb4['id'],'params':_0xb6be34});}break;case _0x1f205f[_0xa7de36(0x2cf)][_0xa7de36(0x1af)]:{const {fieldId:_0x5572ab,fieldJson:_0x5abed4,area:_0x4f9b5f,index:_0x7f231}=_0x3dba7c,_0xb72187={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x5572ab,'index':_0x7f231,'area':_0x4f9b5f};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x35e531['id'],'params':_0xb72187});const _0x11c844={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldJson':_0x5abed4,'area':_0x4f9b5f,'index':_0x7f231};_0x5522d5[_0xa7de36(0x206)]({'id':_0x3e5acd['id'],'params':_0x11c844});}break;case _0x1f205f[_0xa7de36(0x2cf)]['RenameField']:{const {fieldId:_0x13da1a,oldName:_0x6522f6,newName:_0x261bb1}=_0x3dba7c,_0x293118={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x13da1a,'name':_0x261bb1};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x7f9561['id'],'params':_0x293118});const _0x3eeb11={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x13da1a,'name':_0x6522f6};_0x5522d5[_0xa7de36(0x206)]({'id':_0x7f9561['id'],'params':_0x3eeb11});}break;case _0x1f205f[_0xa7de36(0x2cf)][_0xa7de36(0x356)]:{const {fieldId:_0x8058e8,oldFilterInfo:_0x5cb5ac,newFilterInfo:_0x2a76fe}=_0x3dba7c,_0x530c31={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x8058e8,'filterInfo':_0x2a76fe};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x1e305['id'],'params':_0x530c31});const _0x2ed26a={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x8058e8,'filterInfo':_0x5cb5ac};_0x5522d5[_0xa7de36(0x206)]({'id':_0x1e305['id'],'params':_0x2ed26a});}break;case _0x1f205f['PivotTableChangeTypeEnum']['SetSortInfo']:{const {fieldId:_0x7fe64d,oldSortInfo:_0x52e1b2,newSortInfo:_0x4a27a1}=_0x3dba7c,_0x544262={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x7fe64d,'sortInfo':_0x4a27a1};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x3e9d43['id'],'params':_0x544262});const _0x490efe={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x7fe64d,'sortInfo':_0x52e1b2};_0x5522d5[_0xa7de36(0x206)]({'id':_0x3e9d43['id'],'params':_0x490efe});}break;case _0x1f205f[_0xa7de36(0x2cf)][_0xa7de36(0x24a)]:{const {oldOptions:_0x39c417,newOptions:_0x5e8dde}=_0x3dba7c,_0x34b4eb={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'options':_0x5e8dde};_0x5c93c7['push']({'id':_0x403b4c['id'],'params':_0x34b4eb});const _0x4d0273={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'options':_0x39c417};_0x5522d5['unshift']({'id':_0x403b4c['id'],'params':_0x4d0273});}break;case _0x1f205f[_0xa7de36(0x2cf)][_0xa7de36(0x27d)]:{const {oldArea:_0x58c8c1,newArea:_0x5043fe,oldIndex:_0x2f5b3e,newIndex:_0x31d54d,fieldId:_0x357d8d}=_0x3dba7c,_0x4aeaef={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x357d8d,'area':_0x5043fe,'index':_0x31d54d,'oldArea':_0x58c8c1,'oldIndex':_0x2f5b3e};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x130a93['id'],'params':_0x4aeaef});const _0xdfb7e3={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x357d8d,'area':_0x58c8c1,'index':_0x2f5b3e,'oldArea':_0x5043fe,'oldIndex':_0x31d54d};_0x5522d5[_0xa7de36(0x206)]({'id':_0x130a93['id'],'params':_0xdfb7e3});}break;case _0x1f205f[_0xa7de36(0x2cf)]['UpdateValuePosition']:{const {oldValuePosition:_0x3474ca,newValuePosition:_0xdc5d7b,oldIndex:_0x46fb7a,newIndex:_0x460a1f}=_0x3dba7c,_0x1d4aa9={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'valuePosition':_0xdc5d7b,'index':_0x460a1f};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0xa82015['id'],'params':_0x1d4aa9});const _0x16c2b9={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'valuePosition':_0x3474ca,'index':_0x46fb7a};_0x5522d5[_0xa7de36(0x206)]({'id':_0xa82015['id'],'params':_0x16c2b9});}break;case _0x1f205f[_0xa7de36(0x2cf)][_0xa7de36(0x328)]:{const {fieldId:_0x1500b7,collapse:_0x1f110e,item:_0x16d926}=_0x3dba7c,_0x32b971={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x1500b7,'collapse':_0x1f110e,'item':_0x16d926};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x2c236e['id'],'params':_0x32b971});const _0x5cb80d={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x1500b7,'collapse':!_0x1f110e,'item':_0x16d926};_0x5522d5['unshift']({'id':_0x2c236e['id'],'params':_0x5cb80d});}break;case _0x1f205f[_0xa7de36(0x2cf)][_0xa7de36(0x1e9)]:{const {newFormat:_0x312ebd,oldFormat:_0x5392ad,fieldId:_0x296d9a}=_0x3dba7c,_0x1da8da={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x296d9a,'format':_0x312ebd};_0x5c93c7[_0xa7de36(0x21f)]({'id':_0x20489e['id'],'params':_0x1da8da});const _0x5d56ae={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'fieldId':_0x296d9a,'format':_0x5392ad};_0x5522d5[_0xa7de36(0x206)]({'id':_0x20489e['id'],'params':_0x5d56ae});}break;case _0x1f205f['PivotTableChangeTypeEnum'][_0xa7de36(0x2a3)]:{const {tableFieldId:_0x53f1c0,oldSourceName:_0x532117,newSourceName:_0x2ed1b5,oldDataFieldId:_0x1ce1bb,newDataFieldId:_0x2fd3d9}=_0x3dba7c,_0x462ac9={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'tableFieldId':_0x53f1c0,'sourceName':_0x2ed1b5,'dataFieldId':_0x2fd3d9};_0x5c93c7['push']({'id':_0x3f16c3['id'],'params':_0x462ac9});const _0x2a7226={'unitId':_0x51ae85,'subUnitId':_0x49ca61,'pivotTableId':_0x336cd3,'tableFieldId':_0x53f1c0,'sourceName':_0x532117,'dataFieldId':_0x1ce1bb};_0x5522d5[_0xa7de36(0x206)]({'id':_0x3f16c3['id'],'params':_0x2a7226});}break;}return{'redos':_0x5c93c7,'undos':_0x5522d5};}function _0x179859(_0x3bb784,_0x1ddaac){const _0x2d2c04=_0x28eb76;var _0x2d2e86;const _0x51185d=_0x3bb784[_0x2d2c04(0xc3)](_0x2ba19f['SheetsPivotTableService']),{cellInfo:_0x19ead8,view:_0x40aa7b,isEmpty:_0x4c85c5}=_0x1ddaac;return(_0x2d2e86=_0x51185d[_0x2d2c04(0x2f3)][_0x2d2c04(0x143)](_0x3ee004)(_0x350061,{'cellInfo':_0x19ead8,'view':_0x40aa7b,'isEmpty':_0x4c85c5}))!=null?_0x2d2e86:_0x350061;}const _0x5314fb=()=>typeof process<'u'&&process[_0x28eb76(0x34c)]!=null&&process[_0x28eb76(0x34c)][_0x28eb76(0x248)]!=null,_0x334898={'type':_0x54ff7d['CommandType'][_0x28eb76(0x344)],'id':_0x28eb76(0x1d6),'handler'(_0x43a72b,_0x1d1777){const _0x4459c1=_0x28eb76;var _0x28ce01;if(!_0x1d1777)return!0x1;const _0x54824f=_0x43a72b['get'](_0x54ff7d['IConfigService']);if(!!_0x54824f[_0x4459c1(0x2b5)](_0x345bc3))return!0x0;const _0x369492=_0x43a72b['get'](_0x54ff7d['IUniverInstanceService']),_0x3bc241=_0x43a72b[_0x4459c1(0xc3)](_0x2ba19f['SheetsPivotDataSourceModel']),{pivotTableId:_0x39434d,pivotTableConfig:_0x3348f2,collectionConfig:_0x5e0f14,unitId:_0x15a264,subUnitId:_0x4b8ae6}=_0x1d1777,{sourceRangeInfo:_0x141107,fieldsConfig:_0x3ac088,targetCellInfo:_0x3f3441}=_0x3348f2,_0x32f8c5=_0x369492[_0x4459c1(0x16f)](_0x15a264);if(!_0x32f8c5||!_0x32f8c5['getSheetBySheetId'](_0x4b8ae6))return!0x1;if(!_0x5314fb()){let _0x21a4ed=0x0;_0x32f8c5[_0x4459c1(0x310)]()[_0x4459c1(0x287)](_0x5c689a=>{const _0x208129=_0x4459c1;var _0x524114,_0x50a9ae;_0x21a4ed+=(_0x50a9ae=(_0x524114=_0x3bc241[_0x208129(0x348)](_0x15a264,_0x5c689a[_0x208129(0x27b)]()))==null?void 0x0:_0x524114[_0x208129(0x2d2)])!=null?_0x50a9ae:0x0;});const _0x374a9b=(_0x28ce01=_0x54824f[_0x4459c1(0x2b5)](_0x5dab25[_0x4459c1(0x1d1)]))!=null?_0x28ce01:{},{ls:_0x37b19f,pbk:_0x4f4a4c}=_0x374a9b;if(!_0x2ac71c(_0x37b19f,_0x4f4a4c))throw new _0x54ff7d[(_0x4459c1(0x337))](_0x4459c1(0x1ed));const _0x210d6c=_0x3da561(_0xf07192,_0x37b19f,_0x4f4a4c)['count'];if(_0x21a4ed>=_0x210d6c)throw new _0x54ff7d[(_0x4459c1(0x337))](_0x4459c1(0x1ed));}if(!_0x5e0f14||!_0x3ac088)return!0x1;const {collection:_0x85af24,updateDataFieldList:_0x4f3f3a}=_0x3bc241[_0x4459c1(0x22e)](_0x39434d,_0x5e0f14,_0x141107,_0x3f3441);_0x3bc241[_0x4459c1(0x237)](_0x85af24,_0x4f3f3a,_0x141107);const _0x273222=new _0x1f205f[(_0x4459c1(0x21a))](_0x85af24);_0x273222[_0x4459c1(0x294)](_0x3ac088);const _0x2ea422=JSON[_0x4459c1(0x1da)](JSON[_0x4459c1(0x21b)](_0x3348f2));return _0x3bc241[_0x4459c1(0x2ef)](_0x15a264,_0x4b8ae6,_0x39434d,_0x273222,_0x2ea422),_0x3bc241['addDirtyPivotTable']({'unitId':_0x15a264,'subUnitId':_0x4b8ae6,'token':_0x39434d,'type':_0xfaf966[_0x4459c1(0x1d0)],'pivotConfig':_0x2ea422}),!0x0;}},_0x45af68={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x299),'handler'(_0xc11aa9,_0x43a448){const _0x27af13=_0x28eb76;if(!_0x43a448)return!0x1;if(!!_0xc11aa9['get'](_0x54ff7d[_0x27af13(0x208)])[_0x27af13(0x2b5)](_0x345bc3))return!0x0;const {pivotTableId:_0x2c704f,unitId:_0x13594d,subUnitId:_0xa141f7}=_0x43a448,_0x39bf4b=_0xc11aa9[_0x27af13(0xc3)](_0x2ba19f['SheetsPivotDataSourceModel']);return _0x39bf4b[_0x27af13(0xaf)](_0x13594d,_0xa141f7,_0x2c704f)?(_0x39bf4b[_0x27af13(0x247)]({'unitId':_0x13594d,'subUnitId':_0xa141f7,'token':_0x2c704f,'type':_0xfaf966[_0x27af13(0x226)]}),_0x39bf4b[_0x27af13(0x30f)](_0x13594d,_0xa141f7,_0x2c704f),!0x0):!0x1;}},_0x2e128d={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x325),'handler'(_0x14c7fe,_0x4cad2b){const _0x760723=_0x28eb76;if(!_0x4cad2b)return!0x1;if(!!_0x14c7fe[_0x760723(0xc3)](_0x54ff7d[_0x760723(0x208)])[_0x760723(0x2b5)](_0x345bc3))return!0x0;const {pivotTableId:_0x592c40,targetCellPosition:_0x5e2967,unitId:_0x20e35b,subUnitId:_0x4c0b76}=_0x4cad2b,_0xfb7a6a=_0x14c7fe[_0x760723(0xc3)](_0x2ba19f[_0x760723(0x303)]);if(!_0xfb7a6a[_0x760723(0x1df)](_0x4cad2b[_0x760723(0x10a)]))return!0x1;const _0x5065fd=_0xfb7a6a['getPivotTableConfig'](_0x20e35b,_0x4c0b76,_0x592c40);if(!_0x5065fd)return!0x1;const _0x157882=_0x54ff7d[_0x760723(0x2c4)][_0x760723(0x1c1)](_0x5065fd);return _0x157882[_0x760723(0x1ab)]={'unitId':_0x20e35b,'subUnitId':_0x4c0b76,'row':_0x5e2967[_0x760723(0x221)],'col':_0x5e2967[_0x760723(0x34f)]},_0xfb7a6a[_0x760723(0xcf)](_0x20e35b,_0x4c0b76,_0x592c40,_0x157882),_0xfb7a6a[_0x760723(0x247)]({'unitId':_0x20e35b,'subUnitId':_0x4c0b76,'token':_0x592c40,'type':_0xfaf966[_0x760723(0x151)]}),!0x0;}},_0x4275b7={'type':_0x54ff7d[_0x28eb76(0x331)]['MUTATION'],'id':_0x28eb76(0x1b6),'handler'(_0xdc7fc7,_0x75a694){const _0x59f238=_0x28eb76;if(!_0x75a694)return!0x1;if(!!_0xdc7fc7[_0x59f238(0xc3)](_0x54ff7d[_0x59f238(0x208)])['getConfig'](_0x345bc3))return!0x0;const _0x1a09df=_0xdc7fc7[_0x59f238(0xc3)](_0x2ba19f[_0x59f238(0x303)]),{pivotTableId:_0x476fe1,deleteIds:_0x23f692,collectionJSON:_0x22c308,dataRangeInfo:_0x295107,unitId:_0x44ad7d,subUnitId:_0x4c2599}=_0x75a694,_0x580e73=_0x1a09df[_0x59f238(0x1df)](_0x476fe1),_0x588804=_0x1a09df['getPivotTableConfig'](_0x44ad7d,_0x4c2599,_0x476fe1);if(!_0x580e73||!_0x588804)return!0x1;const {collection:_0x4df777,updateDataFieldList:_0x16ab14}=_0x1a09df[_0x59f238(0x22e)](_0x476fe1,_0x22c308,_0x295107,_0x588804[_0x59f238(0x1ab)]);_0x1a09df[_0x59f238(0x237)](_0x4df777,_0x16ab14,_0x295107),_0x580e73[_0x59f238(0xcb)](_0x4df777);for(const _0x5e1c9a of _0x23f692)_0x1a09df[_0x59f238(0x1ad)](_0x295107[_0x59f238(0x109)],_0x5e1c9a);const _0x134928=_0x1a09df['getPivotTableConfig'](_0x44ad7d,_0x4c2599,_0x476fe1);return _0x134928[_0x59f238(0x171)]=JSON['parse'](JSON['stringify'](_0x295107)),_0x1a09df[_0x59f238(0x247)]({'unitId':_0x44ad7d,'subUnitId':_0x4c2599,'token':_0x476fe1,'type':_0xfaf966[_0x59f238(0x151)]}),!0x0;}},_0xaa3b4b={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0x344)],'id':_0x28eb76(0x12c),'handler'(){return!0x0;}};var _0x4eb39d=Object[_0x28eb76(0xc5)],_0x3f388e=Object[_0x28eb76(0x265)],_0x263d6d=(_0x5377ab,_0x10a50d,_0x560ce9,_0x4eb9ab)=>{const _0x2b5f0e=_0x28eb76;for(var _0x5baaab=_0x4eb9ab>0x1?void 0x0:_0x4eb9ab?_0x3f388e(_0x10a50d,_0x560ce9):_0x10a50d,_0x1b03d3=_0x5377ab[_0x2b5f0e(0x35e)]-0x1,_0x66758d;_0x1b03d3>=0x0;_0x1b03d3--)(_0x66758d=_0x5377ab[_0x1b03d3])&&(_0x5baaab=(_0x4eb9ab?_0x66758d(_0x10a50d,_0x560ce9,_0x5baaab):_0x66758d(_0x5baaab))||_0x5baaab);return _0x4eb9ab&&_0x5baaab&&_0x4eb39d(_0x10a50d,_0x560ce9,_0x5baaab),_0x5baaab;},_0x22db69=(_0xccb9c8,_0xdce462)=>(_0x3f5cbd,_0xcf5eae)=>_0xdce462(_0x3f5cbd,_0xcf5eae,_0xccb9c8);_0x2ba19f['SheetsPivotRPCService']=class extends _0x54ff7d['Disposable']{constructor(_0x4c3271,_0x4c59da){const _0x61de06=_0x28eb76;super(),_0x2edd4f(this,'_requestResolvers',new Map()),(this[_0x61de06(0x185)]=_0x4c3271,this[_0x61de06(0x1bc)]=_0x4c59da);}['handleAsyncResponse'](_0x4b2e8f){const _0x56de84=_0x28eb76,{version:_0x1b6d43}=_0x4b2e8f,_0xda423d=this[_0x56de84(0x169)][_0x56de84(0xc3)](_0x1b6d43);_0xda423d&&(_0xda423d(_0x4b2e8f),this[_0x56de84(0x169)]['delete'](_0x1b6d43));}[_0x28eb76(0x365)](_0x29cc91){return new Promise((_0x276aec,_0x42c5d3)=>{const _0x2cc87f=_0x39e7,_0x752df7=this['_generateUniqueVersion']();this[_0x2cc87f(0x169)][_0x2cc87f(0x141)](_0x752df7,_0x276aec),this[_0x2cc87f(0x1bc)]['executeCommand'](_0x99249c['id'],{'version':_0x752df7,..._0x29cc91},{'onlyLocal':!0x0});});}[_0x28eb76(0x288)](){const _0x4ef2c9=_0x28eb76;return Math[_0x4ef2c9(0xf7)]()['toString'](0x24)[_0x4ef2c9(0x24c)](0x2,0x10);}},_0x2ba19f[_0x28eb76(0x30e)]=_0x263d6d([_0x22db69(0x0,_0x54ff7d['Inject'](_0x54ff7d[_0x28eb76(0x321)])),_0x22db69(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x35b)]))],_0x2ba19f[_0x28eb76(0x30e)]);const _0x28574b={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x1ffd61,_0x41ef66){const _0x8b741c=_0x28eb76;if(!_0x41ef66)return!0x1;const _0x227c73=_0x1ffd61[_0x8b741c(0xc3)](_0x54ff7d[_0x8b741c(0x35b)]),_0x9f2e1a=_0x1ffd61[_0x8b741c(0xc3)](_0x2ba19f['SheetsPivotRPCService']),_0x38feed=_0x1ffd61[_0x8b741c(0xc3)](_0x54ff7d[_0x8b741c(0x32e)]),{pivotTableId:_0xe286d1,dataFieldId:_0x1dc9f9,fieldArea:_0x5a4d16,index:_0x14093a,unitId:_0x36b66f,subUnitId:_0x4465e8}=_0x41ef66,_0x22db78=(await _0x9f2e1a[_0x8b741c(0x365)]({'unitId':_0x36b66f,'subUnitId':_0x4465e8,'pivotTableId':_0xe286d1,'params':{'type':_0x203ba5[_0x8b741c(0x258)],'addPivotField':{'dataFieldId':_0x1dc9f9,'fieldArea':_0x5a4d16,'index':_0x14093a}}}))[_0x8b741c(0xec)][_0x8b741c(0x355)];if(!_0x22db78)return!0x1;const {view:_0x57d2f8,changesets:_0x43101a,isEmpty:_0x3e28bc,pivotTableConfig:_0x1d0994}=_0x22db78,_0x1846f1=_0x1d0994[_0x8b741c(0x1ab)],_0x1a54b0=new _0x1f205f['PivotView']();_0x1a54b0[_0x8b741c(0x160)](_0x57d2f8);const _0x1b461f={'cellInfo':_0x1846f1,'view':_0x1a54b0,'isEmpty':_0x3e28bc};if(!await _0x1ffd61[_0x8b741c(0xc3)](_0x2ba19f['SheetsPivotTableService'])['asyncInterceptor'][_0x8b741c(0xc4)](_0xe520be)(!0x0,_0x1b461f))return!0x1;const _0x4b4f61=_0x227372(_0x1ffd61,_0x1a54b0,_0x1846f1,_0x3e28bc),_0x45665a=_0x179859(_0x1ffd61,_0x1b461f),{undos:_0x4993af,redos:_0x43cba9}=_0x1cc157(_0x227c73,{'pivotTableId':_0xe286d1,'unitId':_0x36b66f,'subUnitId':_0x4465e8},_0x43101a);return _0x54ff7d[_0x8b741c(0x1ce)]([..._0x4b4f61[_0x8b741c(0x238)],..._0x45665a['redos'],..._0x43cba9],_0x227c73),_0x38feed[_0x8b741c(0x2ce)]({'unitID':_0x36b66f,'redoMutations':[..._0x4b4f61['redos'],..._0x45665a[_0x8b741c(0x238)],..._0x43cba9],'undoMutations':[..._0x4b4f61['undos'],..._0x45665a[_0x8b741c(0x2b0)],..._0x4993af]}),!0x0;}},_0x38b3c8={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':_0x28eb76(0x33c),async 'handler'(_0x360afb,_0x30cf57){const _0x214b8f=_0x28eb76;var _0xcb9a8b,_0x1c2054;const _0x4279db=_0x360afb['get'](_0x54ff7d[_0x214b8f(0x35b)]),_0x2b5d25=_0x360afb[_0x214b8f(0xc3)](_0x54ff7d[_0x214b8f(0xfb)]),_0x2611d7=_0x360afb[_0x214b8f(0xc3)](_0x54ff7d['LocaleService']),_0x2b5bb2=_0x360afb[_0x214b8f(0xc3)](_0x2ba19f[_0x214b8f(0x30e)]),_0x24dd00=_0x360afb[_0x214b8f(0xc3)](_0x54ff7d[_0x214b8f(0x32e)]),_0x53df60=_0x360afb[_0x214b8f(0xc3)](_0x2ba19f[_0x214b8f(0x170)]),_0x470496=_0x360afb['get'](_0x54ff7d[_0x214b8f(0x208)]);if(!_0x30cf57)return!0x1;const {pivotTableConfig:_0x97d47f,positionType:_0x3d4f9b}=_0x30cf57,{targetCellInfo:_0x25de0f,sourceRangeInfo:_0x2fac43}=_0x97d47f,{unitId:_0x38b095,subUnitId:_0x5ab7a0}=_0x25de0f,_0x46143a=_0x2b5d25[_0x214b8f(0x16f)](_0x38b095);if(!_0x46143a)return!0x1;let _0x18471a=0x0;_0x46143a['getSheets']()[_0x214b8f(0x287)](_0x2adb9d=>{const _0x3c9456=_0x214b8f;var _0x25e36b,_0x276d0d;_0x18471a+=(_0x276d0d=(_0x25e36b=_0x53df60[_0x3c9456(0x348)](_0x38b095,_0x2adb9d[_0x3c9456(0x27b)]()))==null?void 0x0:_0x25e36b['size'])!=null?_0x276d0d:0x0;});const _0xf87962=(_0xcb9a8b=_0x470496[_0x214b8f(0x2b5)](_0x5dab25['LS_CONFIG_KEY']))!=null?_0xcb9a8b:{},{ls:_0x58bd7b,pbk:_0x179e5f}=_0xf87962;if(!_0x2ac71c(_0x58bd7b,_0x179e5f))return!0x1;const _0x2adcf3=_0x3da561(_0xf07192,_0x58bd7b,_0x179e5f)[_0x214b8f(0x1cc)];if(_0x18471a>=_0x2adcf3)return!0x1;const _0x2f29cc=_0x30cf57['pivotTableId']||_0x1f205f['generateHexNumber'](0x8),_0x5d0141=(await _0x2b5bb2[_0x214b8f(0x365)]({'unitId':_0x38b095,'subUnitId':_0x5ab7a0,'pivotTableId':_0x2f29cc,'params':{'type':_0x203ba5[_0x214b8f(0x149)],'addPivotTable':{'sourceRangeInfo':_0x2fac43}}}))['result'][_0x214b8f(0x2ef)];if(!_0x5d0141)return!0x1;const {view:_0x52e296,isEmpty:_0x369a12,fieldsConfig:_0x47f845,collectionConfig:_0x339a3b}=_0x5d0141,_0x44a3f5=[],_0xd30c5e=[];if(_0x3d4f9b===_0x4157c3['New']){const _0x4d77dd=_0x46143a['getSheets']()[_0x214b8f(0x35e)],_0x50d559=_0x54ff7d[_0x214b8f(0xa8)]({});_0x50d559['id']=_0x97d47f[_0x214b8f(0x1ab)][_0x214b8f(0x121)],_0x50d559[_0x214b8f(0x2c6)]=(_0x1c2054=_0x97d47f[_0x214b8f(0x1ab)][_0x214b8f(0x131)])!=null?_0x1c2054:_0x46143a[_0x214b8f(0x231)](''+_0x2611d7['t'](_0x214b8f(0x187)));const _0x46f04d={'index':_0x4d77dd,'sheet':_0x50d559,'unitId':_0x38b095},_0x194ce8=_0x27c753[_0x214b8f(0x13f)](_0x360afb,_0x46f04d);_0x44a3f5[_0x214b8f(0x21f)]({'id':_0x27c753[_0x214b8f(0x124)]['id'],'params':_0x194ce8}),_0xd30c5e[_0x214b8f(0x21f)]({'id':_0x27c753[_0x214b8f(0x2a9)]['id'],'params':_0x46f04d});}else{if(!_0x46143a[_0x214b8f(0xd2)](_0x5ab7a0))return!0x1;const _0x31d541=_0x227372(_0x360afb,new _0x1f205f[(_0x214b8f(0x25b))](),_0x25de0f,!0x0);_0xd30c5e[_0x214b8f(0x21f)](..._0x31d541[_0x214b8f(0x238)]),_0x44a3f5['push'](..._0x31d541['undos']);const _0xc9b55a={'cellInfo':_0x25de0f,'view':_0x52e296,'isEmpty':_0x369a12};if(!await _0x360afb[_0x214b8f(0xc3)](_0x2ba19f['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0xe520be)(!0x0,_0xc9b55a))return!0x1;const _0x8fcb17=_0x179859(_0x360afb,_0xc9b55a);_0xd30c5e[_0x214b8f(0x21f)](..._0x8fcb17[_0x214b8f(0x238)]),_0x44a3f5[_0x214b8f(0x21f)](..._0x8fcb17[_0x214b8f(0x2b0)]);}return _0xd30c5e['push']({'id':_0x334898['id'],'params':{'unitId':_0x25de0f[_0x214b8f(0x109)],'subUnitId':_0x25de0f[_0x214b8f(0x121)],'pivotTableId':_0x2f29cc,'pivotTableConfig':{'targetCellInfo':_0x25de0f,'sourceRangeInfo':_0x2fac43,'fieldsConfig':_0x47f845},'collectionConfig':_0x339a3b}}),_0x44a3f5['unshift']({'id':_0x45af68['id'],'params':{'unitId':_0x38b095,'subUnitId':_0x5ab7a0,'pivotTableId':_0x2f29cc}}),_0x54ff7d[_0x214b8f(0x1ce)](_0xd30c5e,_0x4279db)&&_0x24dd00['pushUndoRedo']({'unitID':_0x38b095,'undoMutations':_0x44a3f5,'redoMutations':_0xd30c5e}),!0x0;}},_0x5e58e6={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':_0x28eb76(0x1e4),async 'handler'(_0x6210e9,_0x53fffc){const _0x24df63=_0x28eb76;if(!_0x53fffc)return!0x1;const _0x88af60=_0x6210e9['get'](_0x54ff7d[_0x24df63(0x35b)]),_0x37242a=_0x6210e9[_0x24df63(0xc3)](_0x2ba19f[_0x24df63(0x30e)]),_0x1242f6=_0x6210e9[_0x24df63(0xc3)](_0x54ff7d[_0x24df63(0x32e)]),{pivotTableId:_0x16ce6e,fieldId:_0x3ad9ac,area:_0x2063f6,index:_0xc64267,unitId:_0x27fe67,subUnitId:_0x509520}=_0x53fffc,_0x14124c=(await _0x37242a[_0x24df63(0x365)]({'unitId':_0x27fe67,'subUnitId':_0x509520,'pivotTableId':_0x16ce6e,'params':{'type':_0x203ba5[_0x24df63(0x260)],'movePivotField':{'fieldId':_0x3ad9ac,'area':_0x2063f6,'index':_0xc64267}}}))[_0x24df63(0xec)]['movePivotField'];if(!_0x14124c)return!0x1;const {changesets:_0x3a3080,view:_0x473c26,isEmpty:_0x77e0d,pivotTableConfig:_0x18be4a}=_0x14124c,_0x196ef7=_0x18be4a['targetCellInfo'],_0x14d77a=new _0x1f205f[(_0x24df63(0x25b))]();_0x14d77a['formJSON'](_0x473c26);const _0x55c13f={'cellInfo':_0x196ef7,'view':_0x14d77a,'isEmpty':_0x77e0d};if(!await _0x6210e9[_0x24df63(0xc3)](_0x2ba19f[_0x24df63(0x1eb)])['asyncInterceptor'][_0x24df63(0xc4)](_0xe520be)(!0x0,_0x55c13f))return!0x1;const _0x540232=_0x227372(_0x6210e9,_0x14d77a,_0x196ef7,_0x77e0d),_0x47b94d=_0x179859(_0x6210e9,_0x55c13f),{redos:_0x382549,undos:_0x3dce2f}=_0x1cc157(_0x88af60,{'pivotTableId':_0x16ce6e,'unitId':_0x27fe67,'subUnitId':_0x509520},_0x3a3080);return _0x54ff7d[_0x24df63(0x1ce)]([..._0x540232['redos'],..._0x47b94d[_0x24df63(0x238)],..._0x382549],_0x88af60),_0x1242f6[_0x24df63(0x2ce)]({'unitID':_0x27fe67,'redoMutations':[..._0x540232[_0x24df63(0x238)],..._0x47b94d[_0x24df63(0x238)],..._0x382549],'undoMutations':[..._0x540232[_0x24df63(0x2b0)],..._0x47b94d[_0x24df63(0x2b0)],..._0x3dce2f]}),!0x0;}},_0x4ac270={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x47d266,_0x4800ca){const _0x14f0c4=_0x28eb76;var _0x8dec7c;if(!_0x4800ca)return!0x1;const _0x17b854=_0x47d266[_0x14f0c4(0xc3)](_0x54ff7d['IUniverInstanceService']),_0x5dc709=_0x27c753[_0x14f0c4(0x1b8)](_0x17b854);if(!_0x5dc709)return!0x1;const {unitId:_0x50b129,subUnitId:_0x1d3903,workbook:_0x53f520}=_0x5dc709,{row:_0x8f0c1f,col:_0x34abc8}=_0x4800ca,_0x5c0733=_0x47d266[_0x14f0c4(0xc3)](_0x2ba19f['SheetsPivotTableAdaptorModel']),_0x47eb80=_0x5c0733['getPivotTableIdByCell'](_0x50b129,_0x1d3903,_0x8f0c1f,_0x34abc8);if(!_0x47eb80)return!0x1;const _0x5b7420=(_0x8dec7c=_0x5c0733['getPivotItemRenderInfoCache'](_0x50b129,_0x1d3903,_0x47eb80))==null?void 0x0:_0x8dec7c['areaInfo'];if(!_0x5b7420)return!0x1;const _0x3ccf9f=_0x47d266[_0x14f0c4(0xc3)](_0x2ba19f[_0x14f0c4(0x170)])[_0x14f0c4(0xaf)](_0x50b129,_0x1d3903,_0x47eb80);if(!_0x3ccf9f)return!0x1;const {rowInfo:_0x5f4847,colInfo:_0xd89586}=_0x5b7420,_0x19ac9e=_0x5f4847[_0x8f0c1f][_0x14f0c4(0x242)],_0x44bfd3=_0xd89586[_0x34abc8]['paths'],_0x73834a=_0x5f4847[_0x8f0c1f]['level'],_0x359c85=_0xd89586[_0x34abc8][_0x14f0c4(0x157)],_0x1aeb7b=_0x19ac9e[_0x14f0c4(0xd6)](_0x44bfd3),_0x229ae4=_0x3ccf9f[_0x14f0c4(0xc8)]['rowFields']['slice'](0x0,_0x73834a),_0x4d0afc=_0x3ccf9f[_0x14f0c4(0xc8)][_0x14f0c4(0x341)][_0x14f0c4(0x219)](0x0,_0x359c85),_0x39a3dd=_0x229ae4[_0x14f0c4(0xd6)](_0x4d0afc),_0xe47117=_0x1aeb7b[_0x14f0c4(0x375)]((_0x36bb16,_0x4acd14)=>[_0x36bb16,_0x39a3dd[_0x4acd14]]),_0x591bfc=(await _0x47d266[_0x14f0c4(0xc3)](_0x2ba19f[_0x14f0c4(0x30e)])['getPivotDisplayConfig']({'unitId':_0x50b129,'subUnitId':_0x1d3903,'pivotTableId':_0x47eb80,'params':{'type':_0x203ba5[_0x14f0c4(0x290)],'drillDown':{'tuple':_0xe47117}}}))[_0x14f0c4(0xec)]['drillDown'];if(!_0x591bfc)return!0x1;const {indexes:_0x3b8567,range:_0xbb9145,sourceUnitId:_0x1d96f5,sourceSubUnitId:_0xb87274,formatMap:_0x75745b}=_0x591bfc,{startRow:_0xb09525,endRow:_0x54e941,startColumn:_0x9ace3a,endColumn:_0x3848cc}=_0xbb9145,_0x2dc16a=new _0x54ff7d[(_0x14f0c4(0x161))](),_0x585fa2=_0x54e941-_0xb09525,_0x2dd9ef=_0x3848cc-_0x9ace3a,_0x5a50f6={},_0x5bf59f=_0x27c753[_0x14f0c4(0x1b8)](_0x17b854,{'unitId':_0x1d96f5,'subUnitId':_0xb87274});if(!_0x5bf59f)return!0x1;const _0x50b448=_0x8c41a9['colStyle'],_0x26c67b=_0x8c41a9['subTotalStyle'],_0xe10068=_0x8c41a9[_0x14f0c4(0x2a2)],_0x322054=_0x53f520[_0x14f0c4(0x184)]()[_0x14f0c4(0xf8)](_0x50b448),_0x19f719=_0x53f520['getStyles']()[_0x14f0c4(0xf8)](_0x26c67b),_0x3d3867=_0x53f520[_0x14f0c4(0x184)]()[_0x14f0c4(0xf8)](_0xe10068),{worksheet:_0x44efd4}=_0x5bf59f;let _0x3aac70=0x0;const _0x47ace1=0x1;_0x3b8567[_0x14f0c4(0x287)](_0x5bfebf=>{const _0x2fc053=_0x14f0c4;for(let _0x2a5ae8=0x0;_0x2a5ae8<=_0x3848cc-_0x9ace3a;_0x2a5ae8++)_0x2dc16a[_0x2fc053(0xf8)](_0x3aac70,_0x2a5ae8,_0x44efd4[_0x2fc053(0x279)](_0x5bfebf+_0xbb9145[_0x2fc053(0x2f2)]+_0x47ace1,_0x2a5ae8));_0x3aac70++;});for(let _0x4707b5=_0x9ace3a;_0x4707b5<=_0x3848cc;_0x4707b5++){const _0x2c4a15=_0x44efd4['getCellRaw'](_0xb09525,_0x4707b5);_0x5a50f6[_0xb09525]||(_0x5a50f6[_0xb09525]={}),_0x5a50f6[_0xb09525][_0x4707b5]={..._0x2c4a15,'s':_0x322054};}let _0x3858fa=0x1;const _0x3fcf16={},_0x5eeaf3={};_0x2dc16a[_0x14f0c4(0x15e)]((_0xb548ff,_0xf972db)=>{_0xf972db['forEach'](_0x31b9d0=>{const _0x2eb4bf=_0x39e7,_0x220bb3=_0x2dc16a[_0x2eb4bf(0x17c)](_0xb548ff,_0x31b9d0);if(_0x5a50f6[_0x3858fa]||(_0x5a50f6[_0x3858fa]={}),_0x5a50f6[_0x3858fa][_0x31b9d0]={..._0x220bb3,'s':_0x3858fa%0x2===0x0?_0x3d3867:_0x19f719},_0x75745b[_0x31b9d0]&&_0xb548ff>=0x0){const _0x41eab4=_0x3858fa%0x2===0x0;let _0x2db0be=_0x41eab4?_0x5eeaf3[_0x31b9d0]:_0x3fcf16[_0x31b9d0];_0x2db0be||(_0x2db0be=_0x53f520[_0x2eb4bf(0x184)]()['setValue']({..._0x41eab4?_0xe10068:_0x26c67b,'n':{'pattern':_0x75745b[_0x31b9d0]}}),_0x41eab4?_0x5eeaf3[_0x31b9d0]=_0x2db0be:_0x3fcf16[_0x31b9d0]=_0x2db0be),_0x5a50f6[_0x3858fa][_0x31b9d0]['s']=_0x2db0be;}}),_0x3858fa++;});const _0x301a27=new _0x54ff7d[(_0x14f0c4(0x161))](_0x5a50f6),_0x2e361c={};_0x301a27['forValue']((_0x2162c2,_0x58dc47,_0x1c508c)=>{_0x2e361c[_0x2162c2]||(_0x2e361c[_0x2162c2]={}),_0x2e361c[_0x2162c2][_0x58dc47]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x382573=[],_0x1f4902=[],_0x1b9eef=_0x53f520[_0x14f0c4(0x310)]()[_0x14f0c4(0x35e)],_0x166c36=_0x54ff7d[_0x14f0c4(0xa8)]({'rowCount':Math[_0x14f0c4(0x28a)](_0x54ff7d[_0x14f0c4(0x1fd)],_0x585fa2+0xa),'columnCount':Math[_0x14f0c4(0x28a)](_0x54ff7d[_0x14f0c4(0x205)],_0x2dd9ef+0x5)}),_0x36dc87=_0x47d266[_0x14f0c4(0xc3)](_0x54ff7d[_0x14f0c4(0x223)]);_0x166c36['id']=_0x54ff7d['generateRandomId'](),_0x166c36['name']=_0x53f520['generateNewSheetName'](''+_0x36dc87['t'](_0x14f0c4(0x187)));const _0x3b6074={'index':_0x1b9eef,'sheet':_0x166c36,'unitId':_0x50b129},_0x5aab6e=_0x27c753[_0x14f0c4(0x13f)](_0x47d266,_0x3b6074);_0x1f4902[_0x14f0c4(0x21f)]({'id':_0x27c753[_0x14f0c4(0x2a9)]['id'],'params':_0x3b6074}),_0x382573[_0x14f0c4(0x21f)]({'id':_0x27c753[_0x14f0c4(0x124)]['id'],'params':_0x5aab6e}),_0x1f4902[_0x14f0c4(0x21f)]({'id':_0x27c753[_0x14f0c4(0x21e)]['id'],'params':{'unitId':_0x50b129,'subUnitId':_0x166c36['id'],'cellValue':_0x5a50f6}}),_0x382573[_0x14f0c4(0x206)]({'id':_0x27c753[_0x14f0c4(0x21e)]['id'],'params':{'unitId':_0x50b129,'subUnitId':_0x166c36['id'],'cellValue':_0x2e361c}});const _0x39f395={'startRow':0x0,'startColumn':0x0,'endRow':_0x3858fa-0x1,'endColumn':_0x3848cc};_0x1f4902[_0x14f0c4(0x21f)]({'id':_0x1bdede['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x50b129,'subUnitId':_0x166c36['id'],'range':_0x39f395}}),_0x382573['unshift']({'id':_0x1bdede[_0x14f0c4(0x14c)]['id'],'params':{'unitId':_0x50b129,'subUnitId':_0x166c36['id']}});const _0x5102be=_0x47d266[_0x14f0c4(0xc3)](_0x54ff7d[_0x14f0c4(0x35b)]);return _0x54ff7d[_0x14f0c4(0x1ce)](_0x1f4902,_0x5102be)&&_0x47d266[_0x14f0c4(0xc3)](_0x54ff7d[_0x14f0c4(0x32e)])[_0x14f0c4(0x2ce)]({'unitID':_0x50b129,'undoMutations':_0x382573,'redoMutations':_0x1f4902}),!0x0;}},_0x441461={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x20cba0,_0x324dc4){const _0x42c8bf=_0x28eb76;if(!_0x324dc4)return!0x1;const _0x1736ea=_0x20cba0['get'](_0x54ff7d[_0x42c8bf(0x35b)]),_0x46ecd0=_0x20cba0['get'](_0x2ba19f[_0x42c8bf(0x30e)]),_0x442666=_0x20cba0[_0x42c8bf(0xc3)](_0x54ff7d['IUndoRedoService']),{pivotTableId:_0x158310,fieldIds:_0x682618,unitId:_0x4c427a,subUnitId:_0x563453}=_0x324dc4,_0x456377=(await _0x46ecd0[_0x42c8bf(0x365)]({'unitId':_0x4c427a,'subUnitId':_0x563453,'pivotTableId':_0x158310,'params':{'type':_0x203ba5[_0x42c8bf(0x22b)],'removePivotField':{'fieldIds':_0x682618}}}))['result']['removePivotField'];if(!_0x456377)return!0x1;const {view:_0x39b716,changesets:_0x5782c1,isEmpty:_0x3698e9,pivotTableConfig:_0x4721f8}=_0x456377,_0x48d1e1=_0x4721f8['targetCellInfo'],_0x2225b5=new _0x1f205f[(_0x42c8bf(0x25b))]();_0x2225b5['formJSON'](_0x39b716);const _0x26501d={'cellInfo':_0x48d1e1,'view':_0x2225b5,'isEmpty':_0x3698e9};if(!await _0x20cba0[_0x42c8bf(0xc3)](_0x2ba19f[_0x42c8bf(0x1eb)])[_0x42c8bf(0x11d)]['fetchThroughAsyncInterceptors'](_0xe520be)(!0x0,_0x26501d))return!0x1;const _0x5554ab=_0x227372(_0x20cba0,_0x2225b5,_0x48d1e1,_0x3698e9),_0x35fb48=_0x179859(_0x20cba0,_0x26501d),{redos:_0x57c27a,undos:_0x36438f}=_0x1cc157(_0x1736ea,{'pivotTableId':_0x158310,'unitId':_0x4c427a,'subUnitId':_0x563453},_0x5782c1);return _0x54ff7d[_0x42c8bf(0x1ce)]([..._0x5554ab['redos'],..._0x35fb48[_0x42c8bf(0x238)],..._0x57c27a],_0x1736ea),_0x442666[_0x42c8bf(0x2ce)]({'unitID':_0x4c427a,'redoMutations':[..._0x5554ab[_0x42c8bf(0x238)],..._0x35fb48[_0x42c8bf(0x238)],..._0x57c27a],'undoMutations':[..._0x5554ab[_0x42c8bf(0x2b0)],..._0x35fb48[_0x42c8bf(0x2b0)],..._0x36438f]}),!0x0;}},_0x359ddf={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':_0x28eb76(0x1ef),async 'handler'(_0x11049e,_0x4984ac){const _0x4d8d52=_0x28eb76;var _0x32be60;const _0x39ce4d=_0x11049e[_0x4d8d52(0xc3)](_0x54ff7d[_0x4d8d52(0x35b)]),_0x45a21d=_0x11049e['get'](_0x2ba19f[_0x4d8d52(0x30e)]),_0x1374a9=_0x11049e[_0x4d8d52(0xc3)](_0x2ba19f['SheetsPivotTableAdaptorModel']),_0x47c22d=_0x11049e[_0x4d8d52(0xc3)](_0x54ff7d[_0x4d8d52(0xfb)]),_0xff630=_0x11049e[_0x4d8d52(0xc3)](_0x54ff7d[_0x4d8d52(0x32e)]);if(!_0x4984ac)return!0x1;const {unitId:_0x486701,subUnitId:_0x54287f,row:_0x3e9dac,col:_0xe30af0,collapse:_0x512774}=_0x4984ac,_0x12ed9a=_0x47c22d[_0x4d8d52(0x16f)](_0x486701);if(!_0x12ed9a||!_0x12ed9a[_0x4d8d52(0xd2)](_0x54287f))return!0x1;const _0x1a1cee=_0x1374a9[_0x4d8d52(0x30a)](_0x486701,_0x54287f,_0x3e9dac,_0xe30af0);if(!_0x1a1cee)return!0x1;const _0x5181e4=_0x1374a9[_0x4d8d52(0x315)](_0x486701,_0x54287f,_0x1a1cee);if(!_0x5181e4)return!0x1;const _0x42ec7c=_0x54ff7d[_0x4d8d52(0x347)](_0x3e9dac,_0xe30af0),{rangesInfo:_0x2c887b,areaInfo:_0x5495c7,headerMap:_0x325ade}=_0x5181e4;if(!_0x2c887b||!_0x5495c7||!_0x325ade)return!0x1;const _0x38b08c=Object[_0x4d8d52(0xb7)](_0x2c887b)[_0x4d8d52(0x311)](_0x2c5bb5=>_0x2c887b[_0x2c5bb5][_0x4d8d52(0x14b)](_0x5dee0d=>_0x54ff7d['Rectangle'][_0x4d8d52(0xb6)](_0x5dee0d,_0x42ec7c)));let _0x38e75a;_0x38b08c===_0x4d8d52(0x1de)?_0x38e75a=_0x325ade[_0x4d8d52(0x12f)][_0xe30af0]:_0x38b08c===_0x4d8d52(0xe8)&&(_0x38e75a=_0x325ade[_0x4d8d52(0x212)][_0x3e9dac]);const _0x2211ce=_0x38e75a==null?void 0x0:_0x38e75a[_0x4d8d52(0x2e3)],_0x8a7665=(_0x32be60=_0x1374a9['getPivotTableCellData'](_0x486701,_0x54287f,_0x3e9dac,_0xe30af0))==null?void 0x0:_0x32be60['v'];if(!_0x8a7665||!_0x1a1cee||!_0x2211ce)return!0x1;const _0x194a76=await _0x45a21d[_0x4d8d52(0x365)]({'unitId':_0x486701,'subUnitId':_0x54287f,'pivotTableId':_0x1a1cee,'params':{'type':_0x203ba5['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x2211ce,'collapse':_0x512774,'item':_0x8a7665}}}),_0x584e26=_0x194a76==null?void 0x0:_0x194a76['result'][_0x4d8d52(0x22a)];if(!_0x584e26)return!0x1;const {view:_0x4dd1be,pivotTableConfig:_0x56b717,isEmpty:_0x58100a,changesets:_0x26c3b0}=_0x584e26,_0xc6cfb0=new _0x1f205f['PivotView']();_0xc6cfb0['formJSON'](_0x4dd1be);const _0x1b6009=_0x56b717[_0x4d8d52(0x1ab)],_0x542aab={'cellInfo':_0x1b6009,'view':_0xc6cfb0,'isEmpty':_0x58100a};if(!await _0x11049e[_0x4d8d52(0xc3)](_0x2ba19f[_0x4d8d52(0x1eb)])[_0x4d8d52(0x11d)][_0x4d8d52(0xc4)](_0xe520be)(!0x0,_0x542aab))return!0x1;const _0x5d5238=_0x227372(_0x11049e,_0xc6cfb0,_0x1b6009,_0x58100a),_0x491b75=_0x179859(_0x11049e,_0x542aab),{redos:_0x507b70,undos:_0x1bc52f}=_0x1cc157(_0x39ce4d,{'pivotTableId':_0x1a1cee,'unitId':_0x486701,'subUnitId':_0x54287f},_0x26c3b0);return _0x54ff7d[_0x4d8d52(0x1ce)]([..._0x5d5238[_0x4d8d52(0x238)],..._0x491b75[_0x4d8d52(0x238)],..._0x507b70],_0x39ce4d),_0xff630['pushUndoRedo']({'unitID':_0x486701,'redoMutations':[..._0x5d5238[_0x4d8d52(0x238)],..._0x491b75[_0x4d8d52(0x238)],..._0x507b70],'undoMutations':[..._0x5d5238[_0x4d8d52(0x2b0)],..._0x491b75[_0x4d8d52(0x2b0)],..._0x1bc52f]}),!0x0;}},_0x693b78={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':_0x28eb76(0x1a7),async 'handler'(_0x87238d,_0x407794){const _0x2b416d=_0x28eb76;if(!_0x407794)return!0x1;const _0xcfd24d=_0x87238d[_0x2b416d(0xc3)](_0x54ff7d['ICommandService']),{pivotTableId:_0x304f9c,tableFieldId:_0x5156ef,items:_0x3533f1,unitId:_0x418113,subUnitId:_0x58310a,isAll:_0x42de50}=_0x407794,_0x4bdd8d=_0x87238d[_0x2b416d(0xc3)](_0x2ba19f[_0x2b416d(0x30e)]),_0x5efc70=_0x87238d[_0x2b416d(0xc3)](_0x54ff7d[_0x2b416d(0x32e)]),_0x5be134=(await _0x4bdd8d[_0x2b416d(0x365)]({'unitId':_0x418113,'subUnitId':_0x58310a,'pivotTableId':_0x304f9c,'params':{'type':_0x203ba5[_0x2b416d(0x243)],'setPivotFilter':{'tableFieldId':_0x5156ef,'items':_0x3533f1,'isAll':_0x42de50}}}))['result'][_0x2b416d(0x357)];if(!_0x5be134)return!0x1;const {changesets:_0x5262e1,pivotTableConfig:_0x34ed1a,isEmpty:_0x738d0d,view:_0x3206c4}=_0x5be134,_0x460cd3=_0x34ed1a[_0x2b416d(0x1ab)],_0x50ff93=new _0x1f205f[(_0x2b416d(0x25b))]();_0x50ff93[_0x2b416d(0x160)](_0x3206c4);const _0x102349={'cellInfo':_0x460cd3,'view':_0x50ff93,'isEmpty':_0x738d0d};if(!await _0x87238d[_0x2b416d(0xc3)](_0x2ba19f[_0x2b416d(0x1eb)])[_0x2b416d(0x11d)]['fetchThroughAsyncInterceptors'](_0xe520be)(!0x0,_0x102349))return!0x1;const _0x36f5d9=_0x227372(_0x87238d,_0x50ff93,_0x460cd3,_0x738d0d),_0x1e694a=_0x179859(_0x87238d,_0x102349),{undos:_0x5c90a4,redos:_0x3731b7}=_0x1cc157(_0xcfd24d,{'pivotTableId':_0x304f9c,'unitId':_0x418113,'subUnitId':_0x58310a},_0x5262e1);return _0x54ff7d[_0x2b416d(0x1ce)]([..._0x36f5d9['redos'],..._0x1e694a['redos'],..._0x3731b7],_0xcfd24d),_0x5efc70['pushUndoRedo']({'unitID':_0x418113,'redoMutations':[..._0x36f5d9[_0x2b416d(0x238)],..._0x1e694a[_0x2b416d(0x238)],..._0x3731b7],'undoMutations':[..._0x36f5d9[_0x2b416d(0x2b0)],..._0x1e694a[_0x2b416d(0x2b0)],..._0x5c90a4]}),!0x0;}},_0x30032c={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':_0x28eb76(0x23a),async 'handler'(_0x28d4a3,_0x5df39c){const _0x2b8680=_0x28eb76;if(!_0x5df39c)return!0x1;const _0x23f58e=_0x28d4a3[_0x2b8680(0xc3)](_0x54ff7d[_0x2b8680(0x35b)]),_0x44e666=_0x28d4a3['get'](_0x54ff7d['IUndoRedoService']),_0x35572a=_0x28d4a3[_0x2b8680(0xc3)](_0x2ba19f['SheetsPivotRPCService']),{info:_0x5778fd,tableFieldId:_0x540c41,pivotTableId:_0x3103ce,unitId:_0x1e3440,subUnitId:_0x1aa1d7}=_0x5df39c,_0x3af8cc=(await _0x35572a['getPivotDisplayConfig']({'unitId':_0x1e3440,'subUnitId':_0x1aa1d7,'pivotTableId':_0x3103ce,'params':{'type':_0x203ba5[_0x2b8680(0x132)],'setPivotSort':{'tableFieldId':_0x540c41,'info':_0x5778fd}}}))[_0x2b8680(0xec)]['setPivotSort'];if(!_0x3af8cc)return!0x1;const {changesets:_0x2a43af}=_0x3af8cc,{redos:_0x1558b4,undos:_0x516d10}=_0x1cc157(_0x23f58e,{'pivotTableId':_0x3103ce,'unitId':_0x1e3440,'subUnitId':_0x1aa1d7},_0x2a43af);return _0x54ff7d[_0x2b8680(0x1ce)](_0x1558b4,_0x23f58e),_0x44e666[_0x2b8680(0x2ce)]({'unitID':_0x1e3440,'redoMutations':_0x1558b4,'undoMutations':_0x516d10}),!0x0;}},_0x22b1cf={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x191637,_0x177cc9){const _0x4ba26f=_0x28eb76;if(!_0x177cc9)return!0x1;const _0x2a8d59=_0x191637[_0x4ba26f(0xc3)](_0x54ff7d[_0x4ba26f(0x35b)]),_0x3beb58=_0x191637[_0x4ba26f(0xc3)](_0x54ff7d[_0x4ba26f(0x32e)]),_0x342ad1=_0x191637['get'](_0x2ba19f['SheetsPivotRPCService']),{displayName:_0x5217b6,subtotalType:_0x36427e,format:_0x2a1168,tableFieldId:_0x4f08a3,pivotTableId:_0x172a69,unitId:_0x508dc2,subUnitId:_0xfd97e9}=_0x177cc9,_0x15612a=(await _0x342ad1[_0x4ba26f(0x365)]({'unitId':_0x508dc2,'subUnitId':_0xfd97e9,'pivotTableId':_0x172a69,'params':{'type':_0x203ba5[_0x4ba26f(0x1e1)],'setPivotSetting':{'tableFieldId':_0x4f08a3,'displayName':_0x5217b6,'subtotalType':_0x36427e,'format':_0x2a1168}}}))['result'][_0x4ba26f(0x2ab)];if(!_0x15612a)return!0x1;const {changesets:_0x5bebe1,view:_0x38664c,pivotTableConfig:_0x1d256b,isEmpty:_0x352cef}=_0x15612a,_0x444379=_0x1d256b[_0x4ba26f(0x1ab)],_0x29715e=new _0x1f205f['PivotView']();_0x29715e[_0x4ba26f(0x160)](_0x38664c);const _0x192997={'cellInfo':_0x444379,'view':_0x29715e,'isEmpty':_0x352cef};if(!await _0x191637['get'](_0x2ba19f[_0x4ba26f(0x1eb)])[_0x4ba26f(0x11d)]['fetchThroughAsyncInterceptors'](_0xe520be)(!0x0,_0x192997))return!0x1;const _0x574cb8=_0x227372(_0x191637,_0x29715e,_0x444379,_0x352cef),_0x48e83c=_0x179859(_0x191637,_0x192997),{undos:_0xff50de,redos:_0x1571c5}=_0x1cc157(_0x2a8d59,{'pivotTableId':_0x172a69,'unitId':_0x508dc2,'subUnitId':_0xfd97e9},_0x5bebe1);return _0x54ff7d[_0x4ba26f(0x1ce)]([..._0x574cb8[_0x4ba26f(0x238)],..._0x48e83c[_0x4ba26f(0x238)],..._0x1571c5],_0x2a8d59),_0x3beb58[_0x4ba26f(0x2ce)]({'unitID':_0x508dc2,'redoMutations':[..._0x574cb8[_0x4ba26f(0x238)],..._0x48e83c[_0x4ba26f(0x238)],..._0x1571c5],'undoMutations':[..._0x574cb8[_0x4ba26f(0x2b0)],..._0x48e83c[_0x4ba26f(0x2b0)],..._0xff50de]}),!0x0;}},_0x50a9b7={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0xb157b7,_0x9cac6){const _0x50e0fd=_0x28eb76,_0xb91815=_0xb157b7['get'](_0x54ff7d['ICommandService']),_0x2c4648=_0xb157b7[_0x50e0fd(0xc3)](_0x2ba19f['SheetsPivotRPCService']),_0x3b6db6=_0xb157b7[_0x50e0fd(0xc3)](_0x54ff7d[_0x50e0fd(0x32e)]);if(!_0x9cac6)return!0x1;const {token:_0x49949d,dataRangeInfo:_0x44c17d,unitId:_0x2659b4,subUnitId:_0x2e7ddb}=_0x9cac6,_0x2f3321=[],_0x3bc3f6=[],_0x37b779=(await _0x2c4648['getPivotDisplayConfig']({'unitId':_0x2659b4,'subUnitId':_0x2e7ddb,'pivotTableId':_0x49949d,'params':{'type':_0x203ba5[_0x50e0fd(0x19a)],'updatePivotSource':{'dataRangeInfo':_0x44c17d,'unitId':_0x2659b4,'subUnitId':_0x2e7ddb}}}))[_0x50e0fd(0xec)]['updatePivotSource'];if(!_0x37b779)return!0x1;const {changesets:_0x4a0691,deleteIds:_0x56bb10,collectionConfig:_0x5c1666,oldCollectionConfig:_0x3f4a01,view:_0x2b9fff,isEmpty:_0x213c49,pivotTableConfig:_0x27bcbe}=_0x37b779;_0x3bc3f6[_0x50e0fd(0x21f)]({'id':_0x4275b7['id'],'params':{'pivotTableId':_0x49949d,'deleteIds':_0x56bb10,'collectionJSON':_0x5c1666,'dataRangeInfo':_0x44c17d,'unitId':_0x2659b4,'subUnitId':_0x2e7ddb}}),_0x2f3321[_0x50e0fd(0x206)]({'id':_0x4275b7['id'],'params':{'pivotTableId':_0x49949d,'deleteIds':[],'collectionJSON':_0x3f4a01,'dataRangeInfo':_0x27bcbe['sourceRangeInfo'],'unitId':_0x2659b4,'subUnitId':_0x2e7ddb}});const _0x29cb2b=_0x27bcbe['targetCellInfo'],_0x4b4753=new _0x1f205f['PivotView']();_0x4b4753[_0x50e0fd(0x160)](_0x2b9fff);const _0x14015a={'cellInfo':_0x29cb2b,'view':_0x4b4753,'isEmpty':_0x213c49};if(!await _0xb157b7[_0x50e0fd(0xc3)](_0x2ba19f['SheetsPivotTableService'])['asyncInterceptor'][_0x50e0fd(0xc4)](_0xe520be)(!0x0,_0x14015a))return!0x1;const _0x2b52ac=_0x227372(_0xb157b7,_0x4b4753,_0x29cb2b,_0x213c49),_0x4e911d=_0x179859(_0xb157b7,_0x14015a),{undos:_0x5a1459,redos:_0x4b6af6}=_0x1cc157(_0xb91815,{'pivotTableId':_0x49949d,'unitId':_0x2659b4,'subUnitId':_0x2e7ddb},_0x4a0691);return _0x54ff7d[_0x50e0fd(0x1ce)]([..._0x2b52ac[_0x50e0fd(0x238)],..._0x4e911d[_0x50e0fd(0x238)],..._0x3bc3f6,..._0x5a1459],_0xb91815),_0x3b6db6[_0x50e0fd(0x2ce)]({'unitID':_0x2659b4,'redoMutations':[..._0x2b52ac['redos'],..._0x4e911d['redos'],..._0x3bc3f6,..._0x5a1459],'undoMutations':[..._0x2b52ac['undos'],..._0x4e911d[_0x50e0fd(0x2b0)],..._0x2f3321,..._0x4b6af6]}),!0x0;}},_0x42eb04={'type':_0x54ff7d[_0x28eb76(0x331)][_0x28eb76(0xb5)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x5af21f,_0x545544){const _0x468224=_0x28eb76;if(!_0x545544)return!0x1;const _0x216255=_0x5af21f['get'](_0x54ff7d[_0x468224(0x35b)]),_0x141e99=_0x5af21f[_0x468224(0xc3)](_0x2ba19f[_0x468224(0x30e)]),_0x10e9dd=_0x5af21f[_0x468224(0xc3)](_0x54ff7d['IUniverInstanceService']),_0x52f2a4=_0x5af21f[_0x468224(0xc3)](_0x54ff7d['IUndoRedoService']),{pivotTableId:_0x3b6a8b,position:_0x5aeac3,index:_0x15be1a}=_0x545544,_0x4e3a34=_0x27c753[_0x468224(0x1b8)](_0x10e9dd);if(!_0x4e3a34)return!0x1;const {unitId:_0x2526e6,subUnitId:_0x43fb87}=_0x4e3a34,_0x519991=(await _0x141e99[_0x468224(0x365)]({'unitId':_0x2526e6,'subUnitId':_0x43fb87,'pivotTableId':_0x3b6a8b,'params':{'type':_0x203ba5[_0x468224(0x233)],'updateValuePosition':{'position':_0x5aeac3,'index':_0x15be1a}}}))[_0x468224(0xec)]['updateValuePosition'];if(!_0x519991)return!0x1;const {changesets:_0x1367de,view:_0x4611f3,isEmpty:_0x3cc2b2,pivotTableConfig:_0x1ed229}=_0x519991,_0x59059b=_0x1ed229[_0x468224(0x1ab)],_0x316df3=new _0x1f205f['PivotView']();_0x316df3[_0x468224(0x160)](_0x4611f3);const _0x72dfc1=_0x5af21f[_0x468224(0xc3)](_0x2ba19f['SheetsPivotTableService']),_0x4ed7f4={'cellInfo':_0x59059b,'view':_0x316df3,'isEmpty':_0x3cc2b2};if(!await _0x72dfc1[_0x468224(0x11d)]['fetchThroughAsyncInterceptors'](_0xe520be)(!0x0,_0x4ed7f4))return!0x1;const _0x3f7746=_0x227372(_0x5af21f,_0x316df3,_0x59059b,_0x3cc2b2),_0x43e62b=_0x179859(_0x5af21f,_0x4ed7f4),{undos:_0x149c88,redos:_0x127a73}=_0x1cc157(_0x216255,{'pivotTableId':_0x3b6a8b,'unitId':_0x2526e6,'subUnitId':_0x43fb87},_0x1367de);return _0x54ff7d[_0x468224(0x1ce)]([..._0x3f7746[_0x468224(0x238)],..._0x43e62b[_0x468224(0x238)],..._0x127a73],_0x216255),_0x52f2a4[_0x468224(0x2ce)]({'unitID':_0x2526e6,'redoMutations':[..._0x3f7746[_0x468224(0x238)],..._0x43e62b[_0x468224(0x238)],..._0x127a73],'undoMutations':[..._0x3f7746[_0x468224(0x2b0)],..._0x43e62b[_0x468224(0x2b0)],..._0x149c88]}),!0x0;}},_0x1d0f60={'type':_0x54ff7d[_0x28eb76(0x331)]['COMMAND'],'id':_0x28eb76(0xef),async 'handler'(_0x30e9eb,_0x372688){const _0x4769e5=_0x28eb76;if(!_0x372688)return!0x1;const {sourceDataInfo:_0x227c3c,pivotTableConfig:_0x14e8e7}=_0x372688;if(!_0x227c3c||!_0x14e8e7)return!0x1;const {unitId:_0x363a01,subUnitId:_0x4367a0,range:_0x45d87a}=_0x227c3c,_0x2a4eb1=_0x30e9eb[_0x4769e5(0xc3)](_0x54ff7d['IUniverInstanceService']),_0x4eee52=_0x30e9eb[_0x4769e5(0xc3)](_0x2ba19f['SheetsPivotRPCService']),_0x53d41f=_0x30e9eb[_0x4769e5(0xc3)](_0x54ff7d[_0x4769e5(0x223)]),_0x1f80d5=_0x30e9eb[_0x4769e5(0xc3)](_0x54ff7d['ICommandService']),_0x2a9d2d=_0x2a4eb1[_0x4769e5(0x16f)](_0x363a01);if(!_0x2a9d2d)return!0x1;const _0x47cbe7=_0x2a9d2d[_0x4769e5(0xd2)](_0x4367a0);if(!_0x47cbe7)return!0x1;const _0x2b520b=_0x1f205f['generateHexNumber'](0x8),_0x2b1dd9=_0x45d87a||{'startRow':0x0,'startColumn':0x0,'endRow':_0x47cbe7[_0x4769e5(0x106)]()-0x1,'endColumn':_0x47cbe7[_0x4769e5(0x306)]()-0x1};_0x2b1dd9['rangeType']=_0x54ff7d[_0x4769e5(0x2cd)]['NORMAL'];const _0x431d69=(await _0x4eee52[_0x4769e5(0x365)]({'unitId':_0x363a01,'subUnitId':_0x4367a0,'pivotTableId':_0x2b520b,'params':{'type':_0x203ba5[_0x4769e5(0x1e6)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x363a01,'sheetName':_0x47cbe7[_0x4769e5(0x27f)](),'subUnitId':_0x4367a0,'range':_0x2b1dd9},'pivotTableIndexConfig':_0x14e8e7}}}))[_0x4769e5(0xec)][_0x4769e5(0xad)];if(!_0x431d69)return!0x1;const {isEmpty:_0x25a3c6,fieldsConfig:_0x15cba5,collectionConfig:_0x4b925a,changesets:_0x46b609}=_0x431d69,_0x3226cf=_0x2a9d2d[_0x4769e5(0x310)]()[_0x4769e5(0x35e)],_0x55afac=_0x54ff7d['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x47cbe7[_0x4769e5(0x106)]()-0x1,'columnCount':_0x47cbe7[_0x4769e5(0x306)]()-0x1});_0x55afac['id']=_0x54ff7d[_0x4769e5(0x1c9)](),_0x55afac[_0x4769e5(0x2c6)]=_0x2a9d2d[_0x4769e5(0x231)](''+_0x53d41f['t'](_0x4769e5(0x187)));const _0x45d671={'index':_0x3226cf,'sheet':_0x55afac,'unitId':_0x363a01},{redos:_0x4e94ab}=_0x1cc157(_0x1f80d5,{'pivotTableId':_0x2b520b,'unitId':_0x363a01,'subUnitId':_0x55afac['id']},_0x46b609),_0xdc39d2=[{'id':_0x27c753[_0x4769e5(0xa9)]['id'],'params':_0x45d671},{'id':_0x334898['id'],'params':{'unitId':_0x363a01,'subUnitId':_0x55afac['id'],'pivotTableId':_0x2b520b,'pivotTableConfig':{'isEmpty':_0x25a3c6,'fieldsConfig':_0x15cba5,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x363a01,'subUnitId':_0x55afac['id']},'sourceRangeInfo':{'subUnitId':_0x4367a0,'unitId':_0x363a01,'range':_0x2b1dd9,'sheetName':_0x47cbe7['getName']()}},'collectionConfig':_0x4b925a}},..._0x4e94ab];return _0x54ff7d[_0x4769e5(0x1ce)](_0xdc39d2,_0x1f80d5),!0x0;}},_0x4119fd=_0x28eb76(0x105),_0x222961={};var _0x362e01=Object['defineProperty'],_0x38e845=Object[_0x28eb76(0x265)],_0x422928=(_0x186460,_0x58e5c8,_0x494d7c,_0x3f822a)=>{const _0x22ee13=_0x28eb76;for(var _0x5a2cc7=_0x3f822a>0x1?void 0x0:_0x3f822a?_0x38e845(_0x58e5c8,_0x494d7c):_0x58e5c8,_0x289539=_0x186460[_0x22ee13(0x35e)]-0x1,_0xddcd7c;_0x289539>=0x0;_0x289539--)(_0xddcd7c=_0x186460[_0x289539])&&(_0x5a2cc7=(_0x3f822a?_0xddcd7c(_0x58e5c8,_0x494d7c,_0x5a2cc7):_0xddcd7c(_0x5a2cc7))||_0x5a2cc7);return _0x3f822a&&_0x5a2cc7&&_0x362e01(_0x58e5c8,_0x494d7c,_0x5a2cc7),_0x5a2cc7;},_0x2823c5=(_0x4d87d0,_0x4aedb3)=>(_0x4517a0,_0x41f363)=>_0x4aedb3(_0x4517a0,_0x41f363,_0x4d87d0);const _0x1a28bb=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4927e9=(_0x450f1a,_0x3503c1,_0xfb59f)=>{const _0x3e71f5=_0x28eb76,_0xc78cb0=_0x450f1a[_0x3e71f5(0x137)];_0x450f1a[_0x3e71f5(0x2e2)](_0x284764=>{const _0x32fc04=_0x3e71f5,_0x4406ce=_0x284764['getId'](),_0x4944cf=_0x284764[_0x32fc04(0x272)](),_0x37898e=_0x284764[_0x32fc04(0x14d)](),_0x40c877=_0x284764['getDisplayName']();_0x3503c1[_0x4944cf]&&_0x3503c1[_0x4944cf]===_0x40c877&&_0x37898e===_0x40c877&&(_0x450f1a['renameField'](_0x4406ce,_0xc78cb0[_0x32fc04(0x36b)](_0x4944cf)),_0x284764[_0x32fc04(0xe2)](_0xc78cb0[_0x32fc04(0x36b)](_0x4944cf)));}),_0x450f1a['iterateFieldByArea'](_0x1f205f[_0x3e71f5(0x2c7)][_0x3e71f5(0x209)],_0x27e0d2=>{const _0x37b5df=_0x3e71f5,_0x8045ba=_0x27e0d2[_0x37b5df(0x314)](),_0x544e0a=_0x27e0d2[_0x37b5df(0x272)](),_0x2635ed=_0x27e0d2[_0x37b5df(0x14d)](),_0xf7d214=_0x27e0d2[_0x37b5df(0x36b)](),_0x561e9f=_0x27e0d2[_0x37b5df(0x2e9)](),_0x5b2142=_0xfb59f(_0x2635ed,_0x561e9f);_0x3503c1[_0x544e0a]&&_0x3503c1[_0x544e0a]===_0x2635ed&&_0x5b2142===_0xf7d214&&(_0x450f1a[_0x37b5df(0x33f)](_0x8045ba,_0xfb59f(_0xc78cb0[_0x37b5df(0x36b)](_0x544e0a),_0x561e9f)),_0x27e0d2[_0x37b5df(0xe2)](_0xc78cb0[_0x37b5df(0x36b)](_0x544e0a)));});},_0x567d96=(_0x534566,_0x2e6488,_0x48fb41)=>{const _0x4a4564=_0x28eb76;var _0x24546b,_0x3b4a95;const {arrayFormulaCellData:_0x4c664d,unitData:_0x31ac23}=_0x2e6488,{unitId:_0x6d6265,subUnitId:_0x7fb114}=_0x48fb41,_0x3f6817=_0x48fb41[_0x4a4564(0x20f)],{startColumn:_0x226d65,endColumn:_0x341959}=_0x3f6817,_0x13f038=(_0x24546b=_0x4c664d==null?void 0x0:_0x4c664d[_0x6d6265])==null?void 0x0:_0x24546b[_0x7fb114],_0x514597=(_0x3b4a95=_0x31ac23==null?void 0x0:_0x31ac23[_0x6d6265])==null?void 0x0:_0x3b4a95[_0x7fb114],_0x6bef3f=new Set(),_0x314622=_0x341959-_0x226d65+0x1,{dirtyRanges:_0x54ee69}=_0x534566;if(_0x54ee69)for(const {range:_0x1cf3d6,sheetId:_0x1ae2e4,unitId:_0x707da7}of _0x54ee69){if(_0x1ae2e4!==_0x7fb114||_0x6d6265!==_0x707da7)continue;const _0x244f0f=_0x54ff7d[_0x4a4564(0x188)][_0x4a4564(0x312)](_0x1cf3d6,_0x3f6817);if(_0x244f0f){const {startColumn:_0x927f41,endColumn:_0x38e5f3}=_0x244f0f;for(let _0x168d0f=_0x927f41;_0x168d0f<=_0x38e5f3;_0x168d0f++)_0x6bef3f[_0x4a4564(0xdc)](_0x168d0f);}}if(_0x6bef3f['size']===_0x314622||_0x6bef3f['size']===_0x314622)return Array['from'](_0x6bef3f);if(_0x514597){const _0x2b6b53=_0x514597[_0x4a4564(0x19d)](),_0x351270=Object[_0x4a4564(0xb7)](_0x2b6b53);for(const _0x2c73c6 of _0x351270){const _0x160f26=Number(_0x2c73c6),_0x99ece9=_0x2b6b53[_0x160f26];if(_0x6bef3f[_0x4a4564(0x2d2)]===_0x314622)break;for(const _0x554473 in _0x99ece9){const _0x59d16d=Number(_0x554473);_0x59d16d<_0x226d65||_0x59d16d>_0x341959||_0x6bef3f['add'](_0x59d16d);}}}if(_0x13f038){const _0x79ac85=_0x13f038['getMatrix'](),_0x1ac638=Object[_0x4a4564(0xb7)](_0x79ac85);for(const _0x5cbc27 of _0x1ac638){const _0xf47d99=Number(_0x5cbc27),_0x3aa6f2=_0x79ac85[_0xf47d99];if(_0x6bef3f[_0x4a4564(0x2d2)]===_0x314622)break;for(const _0x641795 in _0x3aa6f2){const _0x558b27=Number(_0x641795);_0x558b27<_0x226d65||_0x558b27>_0x341959||_0x6bef3f[_0x4a4564(0xdc)](_0x558b27);}}}return Array['from'](_0x6bef3f);},_0x1bf25c=_0x9df802=>{const _0x14b977=_0x28eb76,_0x50e7d7=new Set(),_0x95623a=[];for(const _0x2ecb48 of _0x9df802){const _0x1cde61=_0x2ecb48[_0x14b977(0x2f2)]+','+_0x2ecb48['endRow']+','+_0x2ecb48['startColumn']+','+_0x2ecb48[_0x14b977(0x2d3)];_0x50e7d7[_0x14b977(0xc9)](_0x1cde61)||(_0x50e7d7[_0x14b977(0xdc)](_0x1cde61),_0x95623a[_0x14b977(0x21f)](_0x2ecb48));}return _0x95623a;};let _0x3c7c79=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0xf1d744,_0x27cf50,_0x27425d,_0x529b80,_0x1d67c9){const _0x8fa589=_0x28eb76;super(),this[_0x8fa589(0xe7)]=_0xf1d744,this[_0x8fa589(0x1f7)]=_0x27cf50,this['_featureCalculationManagerService']=_0x27425d,this[_0x8fa589(0x1bc)]=_0x529b80,this[_0x8fa589(0x185)]=_0x1d67c9,this[_0x8fa589(0x211)](),this[_0x8fa589(0x1cb)]();}['_init'](){const _0x2fa7a2=_0x28eb76;this[_0x2fa7a2(0x369)](),this['_subjectViewChange'](),this[_0x2fa7a2(0x349)](),this['_subjectFieldsCollectionChange']();}[_0x28eb76(0x1cb)](){const _0x4d1dc4=_0x28eb76;this[_0x4d1dc4(0x267)](this[_0x4d1dc4(0x1bc)][_0x4d1dc4(0x34b)](_0x2bf6c4=>{const _0x8945fe=_0x4d1dc4;_0x2bf6c4['id']===_0x27c753[_0x8945fe(0xa7)]['id']&&this['_sheetsPivotDataSourceModel'][_0x8945fe(0x2a5)](_0x2bf6c4[_0x8945fe(0x1a1)]);})),this[_0x4d1dc4(0x267)](this[_0x4d1dc4(0x1bc)][_0x4d1dc4(0x34b)](_0x5c0345=>{const _0x306fc=_0x4d1dc4;if(_0x5c0345['id']!==_0x99249c['id'])return;const _0x1057ba=_0x5c0345[_0x306fc(0x1a1)],{unitId:_0x4d7251,subUnitId:_0x4d2ffa,pivotTableId:_0x588dbe}=_0x1057ba,_0x13869f=_0x1057ba[_0x306fc(0x1a1)][_0x306fc(0x343)],_0x24f7cd={};switch(_0x13869f){case _0x203ba5[_0x306fc(0x351)]:{const _0x27b5c6=_0x1057ba[_0x306fc(0x1a1)][_0x306fc(0x2fb)];if(!_0x27b5c6)return;const {row:_0x5ba848,col:_0x427b99,cellData:_0x2010c6,pivotItemRenderInfoCache:_0x448a58,tableFieldId:_0x35a2c3}=_0x27b5c6,_0x5386a2=this[_0x306fc(0xe7)][_0x306fc(0x1df)](_0x1057ba[_0x306fc(0x10a)]);if(!_0x5386a2||!_0x448a58)return;if(_0x35a2c3){const _0x517beb=_0x5386a2[_0x306fc(0x26b)](_0x35a2c3);if(!_0x517beb)return;_0x24f7cd[_0x306fc(0x2fb)]={..._0x5386a2[_0x306fc(0x297)](_0x517beb),'tableFieldId':_0x35a2c3,'pivotTableId':_0x1057ba[_0x306fc(0x10a)],'filterInfo':_0x5386a2[_0x306fc(0x10d)](_0x35a2c3),'sortInfo':_0x5386a2[_0x306fc(0x36a)](_0x35a2c3),'format':_0x5386a2[_0x306fc(0x33b)](_0x35a2c3)};}else{const _0x4c7c04=_0x8d0306(_0x5ba848,_0x427b99,_0x2010c6,_0x5386a2,_0x448a58),_0x124162=_0x4c7c04==null?void 0x0:_0x4c7c04[_0x306fc(0x201)];if(!_0x124162)return;const _0x1c666d=_0x5386a2[_0x306fc(0x26b)](_0x124162);if(!_0x1c666d)return;_0x24f7cd[_0x306fc(0x2fb)]={..._0x5386a2[_0x306fc(0x297)](_0x1c666d),'tableFieldId':_0x124162,'pivotTableId':_0x1057ba[_0x306fc(0x10a)],'filterInfo':_0x5386a2['getFilterInfo'](_0x124162),'sortInfo':_0x5386a2['getSortInfo'](_0x124162),'format':_0x5386a2[_0x306fc(0x33b)](_0x124162)};}}break;case _0x203ba5['Panel']:{const _0x1803d9=_0x1057ba[_0x306fc(0x1a1)]['panel'];if(!_0x1803d9)return;const {pivotTableId:_0x5a73c4}=_0x1803d9,_0x1b050c=this['_sheetsPivotDataSourceModel'][_0x306fc(0x1df)](_0x5a73c4);if(!_0x1b050c)return;const _0x2b1222=this[_0x306fc(0xe7)][_0x306fc(0xaf)](_0x4d7251,_0x4d2ffa,_0x5a73c4),_0x20c904=_0x5829f8(_0x1b050c,_0x5a73c4,_0x2b1222);_0x24f7cd[_0x306fc(0x261)]=_0x20c904;}break;case _0x203ba5[_0x306fc(0x258)]:{const _0x4beb17=this[_0x306fc(0xe7)][_0x306fc(0x1df)](_0x588dbe),_0x49a2d1=this['_sheetsPivotDataSourceModel'][_0x306fc(0xaf)](_0x4d7251,_0x4d2ffa,_0x588dbe),_0x2a6eb3=_0x1057ba['params']['addPivotField'];if(!_0x4beb17||!_0x49a2d1||!_0x2a6eb3)return!0x1;const {dataFieldId:_0x251bb5,fieldArea:_0x48dd99,index:_0xb462c1}=_0x2a6eb3;_0x4beb17[_0x306fc(0x18a)]();const _0x288713=_0x4beb17[_0x306fc(0x213)](_0x251bb5,_0x48dd99,_0xb462c1);if(_0x288713&&_0x48dd99===_0x1f205f['PivotTableFiledAreaEnum']['Value']){const _0x59ea2d=_0x288713['getId'](),_0x31e827=_0x4beb17[_0x306fc(0x26b)](_0x59ea2d);if(_0x31e827){const _0x4fd669=_0x31e827==null?void 0x0:_0x31e827[_0x306fc(0xb2)]();_0x4beb17[_0x306fc(0xb4)](_0x288713[_0x306fc(0x314)](),_0x4fd669===_0x1f205f[_0x306fc(0x2b6)][_0x306fc(0x1a8)]?_0x1f205f[_0x306fc(0x15c)]['sum']:_0x1f205f['PivotSubtotalTypeEnum']['count']);}const _0x2ba521=_0x4beb17['getValueIndex'](),_0x5c1de0=_0x4beb17[_0x306fc(0x118)](),_0x17c4d7=_0x4beb17[_0x306fc(0x354)](_0x1f205f[_0x306fc(0x2c7)]['Value']);if(_0x2ba521===-0x1&&_0x17c4d7>0x1){const _0x507a31=_0x5c1de0===_0x1f205f[_0x306fc(0x115)][_0x306fc(0x224)]?_0x1f205f[_0x306fc(0x115)][_0x306fc(0x210)]:_0x5c1de0,_0xd1bb9d=_0x507a31===_0x1f205f[_0x306fc(0x115)][_0x306fc(0x1b9)]?_0x1f205f['PivotTableFiledAreaEnum'][_0x306fc(0x1b9)]:_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x210)];_0x4beb17[_0x306fc(0xea)](_0x507a31,_0x4beb17['getFieldCountByArea'](_0xd1bb9d));}}else{if(_0x288713&&(_0x48dd99===_0x1f205f['PivotTableFiledAreaEnum']['Row']||_0x48dd99===_0x1f205f[_0x306fc(0x2c7)]['Column'])){const _0x19ef69=_0x288713[_0x306fc(0x314)](),_0x488279=_0x4beb17[_0x306fc(0x26b)](_0x19ef69);if(_0x488279&&(_0x488279==null?void 0x0:_0x488279[_0x306fc(0xb2)]())===_0x1f205f['PivotDataFieldDataTypeEnum'][_0x306fc(0xd4)]){const _0x53635e=_0x488279[_0x306fc(0x29f)]();_0x53635e&&_0x4beb17['setFieldFormat'](_0x288713[_0x306fc(0x314)](),_0x53635e);}}}const _0x271075=_0x4beb17[_0x306fc(0x29a)](),_0x1e7498=_0x4beb17[_0x306fc(0x270)]()[_0x306fc(0xb0)](),_0x2670fc=_0x4beb17[_0x306fc(0x25f)]();_0x24f7cd[_0x306fc(0x355)]={'view':_0x1e7498,'changesets':_0x2670fc,'isEmpty':_0x271075,'pivotTableConfig':_0x49a2d1};}break;case _0x203ba5['AddPivotTable']:{const _0x519c15=_0x1057ba['params'][_0x306fc(0x2ef)];if(!_0x519c15)return;const _0xe9377a=_0x519c15[_0x306fc(0x171)],{collection:_0xe56f57}=this[_0x306fc(0xe7)]['createCollectionWithDataRange']({'unitId':_0xe9377a[_0x306fc(0x109)],'sheetName':_0xe9377a[_0x306fc(0x131)],'subUnitId':_0xe9377a['subUnitId'],'range':_0xe9377a[_0x306fc(0x20f)]}),_0x2f0a20=new _0x1f205f['PivotTable'](_0xe56f57),_0x1db32b=_0x2f0a20[_0x306fc(0x270)](),_0x88c772=_0x2f0a20[_0x306fc(0xb0)](),_0x1fd503=_0xe56f57[_0x306fc(0xb0)]();_0x24f7cd['addPivotTable']={'view':_0x1db32b,'fieldsConfig':_0x88c772,'collectionConfig':_0x1fd503,'isEmpty':_0x2f0a20[_0x306fc(0x29a)]()};}break;case _0x203ba5[_0x306fc(0x260)]:{const _0x2752bf=_0x1057ba['params'][_0x306fc(0x1e5)];if(!_0x2752bf)return;const {fieldId:_0x52ce57,area:_0x11cd79,index:_0x583c13}=_0x2752bf,_0x5c80d3=this[_0x306fc(0xe7)][_0x306fc(0xaf)](_0x4d7251,_0x4d2ffa,_0x588dbe);if(!_0x5c80d3)return;const _0xe5a523=this[_0x306fc(0xe7)][_0x306fc(0x1df)](_0x588dbe);if(!_0xe5a523)return;_0xe5a523[_0x306fc(0x18a)]();const {area:_0x2e1ecc,index:_0x4e7b7e}=_0xe5a523[_0x306fc(0x168)](_0x52ce57);if(_0xe5a523[_0x306fc(0x1c8)](_0x52ce57,_0x11cd79,_0x583c13),_0x11cd79===_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x209)]&&_0xe5a523[_0x306fc(0x2ea)](_0x52ce57)[_0x306fc(0x2e9)]()===void 0x0){const _0x4b8e28=_0xe5a523['getTableFieldById'](_0x52ce57);if(_0x4b8e28&&_0x4b8e28[_0x306fc(0x2e9)]()===void 0x0){const _0x1f9e20=_0xe5a523['getDataFieldByTableId'](_0x52ce57);if(_0x1f9e20){const _0xf37f23=_0x1f9e20==null?void 0x0:_0x1f9e20[_0x306fc(0xb2)]();_0xe5a523['setSubtotalType'](_0x52ce57,_0xf37f23===_0x1f205f['PivotDataFieldDataTypeEnum'][_0x306fc(0x1a8)]?_0x1f205f[_0x306fc(0x15c)]['sum']:_0x1f205f[_0x306fc(0x15c)]['count']);}}}const _0x5219dc=_0xe5a523[_0x306fc(0x118)](),_0x4c6aba=_0xe5a523[_0x306fc(0x30b)](),_0x596a77=_0xe5a523[_0x306fc(0x354)](_0x1f205f['PivotTableFiledAreaEnum']['Value'])>0x1;if(_0x596a77&&_0x2e1ecc===_0x11cd79&&(_0x11cd79===_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x1b9)]&&_0x5219dc===_0x1f205f[_0x306fc(0x115)][_0x306fc(0x1b9)]||_0x11cd79===_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x210)]&&_0x5219dc===_0x1f205f[_0x306fc(0x115)][_0x306fc(0x210)])){let _0xfb2920=_0x4c6aba;_0x4e7b7e<=_0x4c6aba&&_0xfb2920--,_0x583c13<=_0x4c6aba&&_0xfb2920++,_0xe5a523['updateValuePosition'](_0x5219dc,_0xfb2920);}else _0x596a77&&(_0x2e1ecc===_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x1b9)]&&_0x5219dc===_0x1f205f['PivotTableValuePositionEnum'][_0x306fc(0x1b9)]||_0x2e1ecc===_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x210)]&&_0x5219dc===_0x1f205f['PivotTableValuePositionEnum']['Column'])&&_0x4c6aba>=_0x4e7b7e&&_0xe5a523['updateValuePosition'](_0x5219dc,_0x4c6aba-0x1),_0x596a77&&(_0x11cd79===_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x1b9)]&&_0x5219dc===_0x1f205f[_0x306fc(0x115)]['Row']||_0x11cd79===_0x1f205f[_0x306fc(0x2c7)]['Column']&&_0x5219dc===_0x1f205f[_0x306fc(0x115)][_0x306fc(0x210)])&&_0x4c6aba>=_0x583c13&&_0xe5a523[_0x306fc(0xea)](_0x5219dc,_0x4c6aba+0x1);const _0x27310c=_0xe5a523[_0x306fc(0x270)](),_0x261950=_0xe5a523['isEmpty'](),_0x8a195=_0xe5a523[_0x306fc(0x25f)]();_0x24f7cd['movePivotField']={'view':_0x27310c[_0x306fc(0xb0)](),'changesets':_0x8a195,'isEmpty':_0x261950,'pivotTableConfig':_0x5c80d3};}break;case _0x203ba5[_0x306fc(0x22b)]:{const _0x4f4af7=_0x1057ba['params'][_0x306fc(0x292)];if(!_0x4f4af7)return;const _0x51920f=_0x4f4af7['fieldIds'],_0x39a32c=this[_0x306fc(0xe7)][_0x306fc(0xaf)](_0x4d7251,_0x4d2ffa,_0x588dbe);if(!_0x39a32c)return!0x1;const _0xd8b063=this[_0x306fc(0xe7)][_0x306fc(0x1df)](_0x588dbe);if(!_0xd8b063)return!0x1;_0xd8b063['startCollectChangeset']();for(const _0x40f8a8 of _0x51920f)_0xd8b063[_0x306fc(0x1ae)](_0x40f8a8);const _0xa80266=_0xd8b063['isEmpty'](),_0x5debb3=_0xd8b063[_0x306fc(0x270)]()['toJSON'](),_0x42d7e6=_0xd8b063[_0x306fc(0x25f)]();_0x24f7cd[_0x306fc(0x292)]={'changesets':_0x42d7e6,'pivotTableConfig':_0x39a32c,'isEmpty':_0xa80266,'view':_0x5debb3};}break;case _0x203ba5[_0x306fc(0x243)]:{const _0x2f9a79=_0x1057ba[_0x306fc(0x1a1)][_0x306fc(0x357)];if(!_0x2f9a79)return;const {tableFieldId:_0x34ba14,items:_0x259f48,isAll:_0x28f8fa}=_0x2f9a79,_0x34d755=this[_0x306fc(0xe7)]['getPivotTableInstance'](_0x588dbe),_0x3ede9e=this[_0x306fc(0xe7)][_0x306fc(0xaf)](_0x4d7251,_0x4d2ffa,_0x588dbe);if(!_0x34d755||!_0x3ede9e)return;_0x34d755[_0x306fc(0x18a)](),_0x34d755[_0x306fc(0x10e)](_0x34ba14,{'type':_0x1f205f[_0x306fc(0x1fc)]['ManualFilter'],'list':_0x259f48,'isAll':_0x28f8fa});const _0x3e9716=_0x34d755['isEmpty'](),_0x3f1c9b=_0x34d755[_0x306fc(0x270)]()[_0x306fc(0xb0)](),_0x5b050c=_0x34d755[_0x306fc(0x25f)]();_0x24f7cd[_0x306fc(0x357)]={'view':_0x3f1c9b,'changesets':_0x5b050c,'isEmpty':_0x3e9716,'pivotTableConfig':_0x3ede9e};}break;case _0x203ba5['SetPivotSort']:{const _0x1b1320=_0x1057ba[_0x306fc(0x1a1)]['setPivotSort'];if(!_0x1b1320)return;const {tableFieldId:_0xd4a49f,info:_0x38404a}=_0x1b1320,_0x49abd5=this[_0x306fc(0xe7)][_0x306fc(0x1df)](_0x588dbe),_0x2b5f62=this[_0x306fc(0xe7)]['getPivotTableConfig'](_0x4d7251,_0x4d2ffa,_0x588dbe);if(!_0x49abd5||!_0x2b5f62)return;_0x49abd5[_0x306fc(0x18a)](),_0x49abd5[_0x306fc(0x175)](_0xd4a49f,_0x38404a);const _0x21b757=_0x49abd5[_0x306fc(0x29a)](),_0x4ee3a9=_0x49abd5[_0x306fc(0x270)]()[_0x306fc(0xb0)](),_0x4e1098=_0x49abd5['endCollectChangeset']();_0x24f7cd[_0x306fc(0x134)]={'view':_0x4ee3a9,'changesets':_0x4e1098,'isEmpty':_0x21b757,'pivotTableConfig':_0x2b5f62};}break;case _0x203ba5[_0x306fc(0x1e1)]:{const _0x12a0fa=_0x1057ba[_0x306fc(0x1a1)]['setPivotSetting'];if(!_0x12a0fa)return;const {tableFieldId:_0x4bb7f7,displayName:_0x1f1598,subtotalType:_0x1714c2,format:_0x9bd0b4}=_0x12a0fa,_0x1e98c1=this['_sheetsPivotDataSourceModel'][_0x306fc(0x1df)](_0x588dbe),_0xf9e20=this[_0x306fc(0xe7)]['getPivotTableConfig'](_0x4d7251,_0x4d2ffa,_0x588dbe);if(!_0x1e98c1||!_0xf9e20)return;_0x1e98c1['startCollectChangeset'](),_0x1f1598!==void 0x0&&_0x1e98c1[_0x306fc(0x33f)](_0x4bb7f7,_0x1f1598),_0x1714c2!==void 0x0&&_0x1e98c1['setSubtotalType'](_0x4bb7f7,_0x1714c2),_0x9bd0b4!==void 0x0&&_0x1e98c1[_0x306fc(0x1b2)](_0x4bb7f7,_0x9bd0b4);const _0x44123d=_0x1e98c1[_0x306fc(0x29a)](),_0x518973=_0x1e98c1[_0x306fc(0x270)]()[_0x306fc(0xb0)](),_0x302f39=_0x1e98c1[_0x306fc(0x25f)]();_0x24f7cd['setPivotSetting']={'changesets':_0x302f39,'pivotTableConfig':_0xf9e20,'isEmpty':_0x44123d,'view':_0x518973};}break;case _0x203ba5[_0x306fc(0x19a)]:{const _0x2c3e86=_0x1057ba['params']['updatePivotSource'];if(!_0x2c3e86)return;const {dataRangeInfo:_0x1af8b2,unitId:_0x5dbc12,subUnitId:_0x45f734}=_0x2c3e86,_0x56bddb=this['_sheetsPivotDataSourceModel'][_0x306fc(0xaf)](_0x5dbc12,_0x45f734,_0x588dbe),_0x1af75e=this['_sheetsPivotDataSourceModel'][_0x306fc(0x1df)](_0x588dbe);if(!this['_sheetsPivotDataSourceModel'][_0x306fc(0x2fd)](_0x5dbc12,_0x588dbe)||!_0x1af75e||!_0x56bddb)return;const _0xe5117d=this['_sheetsPivotDataSourceModel'][_0x306fc(0x2ad)](_0x5dbc12,_0x588dbe,_0x1af8b2),_0x3e3696=this[_0x306fc(0xe7)][_0x306fc(0x2fd)](_0x5dbc12,_0x588dbe)[_0x306fc(0xb0)](),{collection:_0x3a8772}=this[_0x306fc(0xe7)][_0x306fc(0x2db)]({'unitId':_0x1af8b2[_0x306fc(0x109)],'sheetName':_0x1af8b2['sheetName'],'subUnitId':_0x1af8b2[_0x306fc(0x121)],'range':_0x1af8b2['range']}),_0x56b136=_0x3a8772[_0x306fc(0xb0)]();_0x1af75e[_0x306fc(0x18a)]();const _0x2c0826=this[_0x306fc(0xe7)][_0x306fc(0x368)](_0x5dbc12)[_0x306fc(0x1e7)]()||_0x1f205f[_0x306fc(0x2da)];_0x1af75e[_0x306fc(0x26e)](_0x497b8e=>{const _0x148010=_0x306fc,_0x45417a=_0x497b8e['getDataFieldId']();if(!_0x3a8772['hasField'](_0x45417a)){const _0x557b0f=_0x3a8772[_0x148010(0xc6)](_0x497b8e['getSourceName']());if(_0x557b0f){_0x1af75e['updateFieldSourceInfo'](_0x497b8e['getId'](),_0x557b0f['getName'](),_0x557b0f[_0x148010(0x314)]());const {area:_0x58fcb8}=_0x1af75e[_0x148010(0x168)](_0x497b8e[_0x148010(0x314)]());let _0x501bce=_0x497b8e[_0x148010(0x14d)]();const _0x595436=_0x497b8e['getDisplayName']();if(_0x58fcb8===_0x1f205f['PivotTableFiledAreaEnum'][_0x148010(0x209)]){const _0x9b13b=_0x497b8e[_0x148010(0x2e9)]();_0x501bce=_0x2c0826(_0x557b0f[_0x148010(0x27f)](),_0x9b13b);}_0x595436!==_0x501bce&&_0x1af75e[_0x148010(0x33f)](_0x497b8e[_0x148010(0x314)](),_0x501bce);}else _0x1af75e['removeField'](_0x497b8e[_0x148010(0x314)]());}});const _0x68f168=_0x1af75e[_0x306fc(0x29a)](),_0x44fba9=_0x1af75e[_0x306fc(0x270)]()['toJSON'](),_0x2a2c64=_0x1af75e[_0x306fc(0x25f)]();_0x24f7cd[_0x306fc(0xaa)]={'view':_0x44fba9,'changesets':_0x2a2c64,'isEmpty':_0x68f168,'pivotTableConfig':_0x56bddb,'collectionConfig':_0x56b136,'oldCollectionConfig':_0x3e3696,'deleteIds':_0xe5117d};}break;case _0x203ba5[_0x306fc(0x233)]:{const _0x2f2380=_0x1057ba[_0x306fc(0x1a1)][_0x306fc(0xea)];if(!_0x2f2380)return;const {position:_0x241cbd,index:_0x25a560}=_0x2f2380,_0x1fd7bb=this[_0x306fc(0xe7)][_0x306fc(0xaf)](_0x4d7251,_0x4d2ffa,_0x588dbe);if(!_0x1fd7bb)return!0x1;const _0x4584cf=this[_0x306fc(0xe7)][_0x306fc(0x1df)](_0x588dbe);if(!_0x4584cf)return!0x1;_0x4584cf['startCollectChangeset'](),_0x4584cf[_0x306fc(0xea)](_0x241cbd,_0x25a560);const _0x1e9d2d=_0x4584cf[_0x306fc(0x29a)](),_0x4be8b6=_0x4584cf['query']()[_0x306fc(0xb0)](),_0x2a125e=_0x4584cf[_0x306fc(0x25f)]();_0x24f7cd['updateValuePosition']={'changesets':_0x2a125e,'pivotTableConfig':_0x1fd7bb,'isEmpty':_0x1e9d2d,'view':_0x4be8b6};}break;case _0x203ba5[_0x306fc(0x2c2)]:{const _0x3c67f9=_0x1057ba['params'][_0x306fc(0x22a)];if(!_0x3c67f9)return;const {tableFieldId:_0x36b883,collapse:_0x47ad03,item:_0xd17bc5}=_0x3c67f9,_0x2719cd=this[_0x306fc(0xe7)]['getPivotTableInstance'](_0x588dbe),_0x2d6af4=this[_0x306fc(0xe7)]['getPivotTableConfig'](_0x4d7251,_0x4d2ffa,_0x588dbe);if(!_0x2719cd||!_0x2d6af4)return;_0x2719cd[_0x306fc(0x18a)](),_0x2719cd[_0x306fc(0x214)](_0x36b883,_0x47ad03,_0xd17bc5);const _0x1dfcd2=_0x2719cd[_0x306fc(0x29a)](),_0x4be77c=_0x2719cd[_0x306fc(0x270)]()[_0x306fc(0xb0)](),_0x495cab=_0x2719cd[_0x306fc(0x25f)]();_0x24f7cd['setPivotCollapse']={'view':_0x4be77c,'isEmpty':_0x1dfcd2,'pivotTableConfig':_0x2d6af4,'changesets':_0x495cab};}break;case _0x203ba5[_0x306fc(0x1e6)]:{const _0x5e81fb=_0x1057ba[_0x306fc(0x1a1)][_0x306fc(0xad)];if(!_0x5e81fb)return;const _0x3acc06=_0x5e81fb['sourceRangeInfo'],{collection:_0x1d9016}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x3acc06[_0x306fc(0x109)],'sheetName':_0x3acc06[_0x306fc(0x131)],'subUnitId':_0x3acc06[_0x306fc(0x121)],'range':_0x3acc06[_0x306fc(0x20f)]}),_0x3ea837=new _0x1f205f[(_0x306fc(0x21a))](_0x1d9016),_0x583b51=_0x1d9016['getFieldIds'](),{rows:_0x140073,columns:_0x12f0a1,filters:_0x46dcc7,values:_0xb11148}=_0x5e81fb[_0x306fc(0x24d)];_0x3ea837[_0x306fc(0x18a)]();for(const {field:_0x32909b,selectedItems:_0x5cac30}of _0x140073||[]){const _0x5876e0=_0x583b51[_0x32909b];if(_0x5876e0){const _0x59ed00=_0x3ea837['addFieldWithSourceId'](_0x5876e0,_0x1f205f['PivotTableFiledAreaEnum'][_0x306fc(0x1b9)]);_0x5cac30&&_0x59ed00&&_0x3ea837['setFilterInfo'](_0x59ed00[_0x306fc(0x314)](),{'type':_0x1f205f['PivotFilterTypeEnum']['ManualFilter'],'list':_0x5cac30,'isAll':!0x1});}}for(const {field:_0x5c1af4,selectedItems:_0x59954b}of _0x12f0a1||[]){const _0x41eb80=_0x583b51[_0x5c1af4];if(_0x41eb80){const _0xa8c466=_0x3ea837[_0x306fc(0x213)](_0x41eb80,_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x210)]);_0x59954b&&_0xa8c466&&_0x3ea837[_0x306fc(0x10e)](_0xa8c466[_0x306fc(0x314)](),{'type':_0x1f205f[_0x306fc(0x1fc)][_0x306fc(0x363)],'list':_0x59954b,'isAll':!0x1});}}for(const {field:_0x16d098,selectedItems:_0x5ef6cc}of _0x46dcc7||[]){const _0x2b3163=_0x583b51[_0x16d098];if(_0x2b3163){const _0x468935=_0x3ea837[_0x306fc(0x213)](_0x2b3163,_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x351)]);_0x5ef6cc&&_0x468935&&_0x3ea837[_0x306fc(0x10e)](_0x468935[_0x306fc(0x314)](),{'type':_0x1f205f['PivotFilterTypeEnum'][_0x306fc(0x363)],'list':_0x5ef6cc,'isAll':!0x1});}}for(const {field:_0xf7056d,subTotalType:_0xeda310,formatString:_0xf63658}of _0xb11148||[]){const _0x2473d7=_0x1d9016[_0x306fc(0x23c)](_0x583b51[_0xf7056d]);if(!_0x2473d7)continue;const _0x2f16ca=_0x583b51[_0xf7056d];if(_0x2f16ca){const _0x3bd5c7=_0x3ea837['addFieldWithSourceId'](_0x2f16ca,_0x1f205f[_0x306fc(0x2c7)][_0x306fc(0x209)]);if(_0x3bd5c7){if(_0xeda310!==void 0x0){_0x3ea837[_0x306fc(0xb4)](_0x3bd5c7[_0x306fc(0x314)](),_0xeda310);const _0x490cbb=this[_0x306fc(0xe7)][_0x306fc(0x368)](_0x3acc06[_0x306fc(0x109)])[_0x306fc(0x1e7)]()||_0x1f205f[_0x306fc(0x2da)],_0x28fe4a=_0x1d9016['getDisplayName'](_0x2f16ca),_0x507322=_0x490cbb(_0x28fe4a,_0xeda310);_0x3ea837[_0x306fc(0x33f)](_0x3bd5c7['getId'](),_0x507322);}else{if(_0x2473d7){const _0x55d25b=_0x2473d7==null?void 0x0:_0x2473d7[_0x306fc(0xb2)]();_0x3ea837['setSubtotalType'](_0x3bd5c7[_0x306fc(0x314)](),_0x55d25b===_0x1f205f[_0x306fc(0x2b6)]['number']?_0x1f205f[_0x306fc(0x15c)]['sum']:_0x1f205f['PivotSubtotalTypeEnum'][_0x306fc(0x1cc)]);}}_0xf63658&&_0x3ea837[_0x306fc(0x1b2)](_0x3bd5c7[_0x306fc(0x314)](),_0xf63658);}}}const _0x4649f0=_0x3ea837['query'](),_0x4e3149=_0x3ea837[_0x306fc(0xb0)](),_0x2389d2=_0x3ea837[_0x306fc(0x29a)](),_0x5ddb27=_0x3ea837[_0x306fc(0x25f)](),_0x192dd7=_0x1d9016[_0x306fc(0xb0)]();_0x24f7cd[_0x306fc(0xad)]={'view':_0x4649f0,'fieldsConfig':_0x4e3149,'collectionConfig':_0x192dd7,'isEmpty':_0x2389d2,'changesets':_0x5ddb27};}break;case _0x203ba5[_0x306fc(0x290)]:{const _0x58ac0a=_0x3795d6(this[_0x306fc(0x185)],_0x1057ba);if(!_0x58ac0a)return;const {range:_0x3dbd94,sourceSubUnitId:_0x3af190,sourceUnitId:_0x1d39bf,formatMap:_0x4e4225,indexes:_0x21ce76}=_0x58ac0a;_0x24f7cd['drillDown']={'range':_0x3dbd94,'sourceSubUnitId':_0x3af190,'sourceUnitId':_0x1d39bf,'formatMap':_0x4e4225,'indexes':_0x21ce76};}break;}this[_0x306fc(0x1bc)]['executeCommand'](_0x1adb89['id'],{'version':_0x1057ba[_0x306fc(0x2b3)],'result':_0x24f7cd},{'onlyLocal':!0x0});}));}[_0x28eb76(0x349)](){const _0x2fec40=_0x28eb76;this[_0x2fec40(0x267)](this['_commandService']['onCommandExecuted'](_0x4a80cd=>{const _0x53e2a8=_0x2fec40;if(_0x4a80cd['id']!==_0x1ed8db['id'])return;const _0x5e03d5=_0x4a80cd['params'];return this[_0x53e2a8(0xe7)][_0x53e2a8(0x2ba)](_0x5e03d5[_0x53e2a8(0x229)]),!0x0;}));}[_0x28eb76(0x369)](){const _0x1fd0a0=_0x28eb76;this['_sheetsPivotDataSourceModel'][_0x1fd0a0(0x2bd)][_0x1fd0a0(0x280)](_0x387362=>{const _0x5f5c95=_0x1fd0a0;switch(_0x387362['type']){case _0x5004fb[_0x5f5c95(0xdc)]:_0x387362[_0x5f5c95(0x254)]&&_0x387362['targetCellInfo']&&this['handleSourceRangeChange'](_0x387362[_0x5f5c95(0x16c)],_0x387362[_0x5f5c95(0x254)],_0x387362[_0x5f5c95(0x1ab)]);break;case _0x5004fb[_0x5f5c95(0x30d)]:{const {unitId:_0x3aa138,subUnitId:_0x4a7587,token:_0x48f734}=_0x387362;_0x3aa138&&_0x4a7587&&_0x48f734&&this['removeSourceRangeChange'](_0x3aa138,_0x4a7587,_0x48f734);}break;case _0x5004fb['update']:{const {token:_0x29aee0,oldSourceRangeInfo:_0x1116c0,dataRangeInfo:_0x2d4bcb,targetCellInfo:_0x46b200}=_0x387362,{unitId:_0x3e7c63,subUnitId:_0x54a82e}=_0x1116c0||{};_0x3e7c63&&_0x54a82e&&_0x29aee0&&this[_0x5f5c95(0x230)](_0x3e7c63,_0x54a82e,_0x29aee0),_0x2d4bcb&&_0x46b200&&this['handleSourceRangeChange'](_0x29aee0,_0x2d4bcb,_0x46b200);}break;}});}[_0x28eb76(0x1cf)](){const _0x1bf713=_0x28eb76;this[_0x1bf713(0xe7)][_0x1bf713(0x23f)][_0x1bf713(0x280)](_0x21cb42=>{Object['keys'](_0x21cb42)['forEach'](_0x25471f=>{const _0x892e29=_0x39e7,_0x469ef1=this[_0x892e29(0xe7)][_0x892e29(0xb1)](_0x25471f);if(_0x469ef1){const _0x52b802=this[_0x892e29(0xe7)]['getPivotTableConfig'](_0x469ef1==null?void 0x0:_0x469ef1[_0x892e29(0x109)],_0x469ef1==null?void 0x0:_0x469ef1[_0x892e29(0x121)],_0x25471f);_0x52b802&&(this[_0x892e29(0x116)](_0x25471f,_0x52b802[_0x892e29(0x171)],_0x52b802[_0x892e29(0x1ab)]),this[_0x892e29(0x104)]([{'unitId':_0x469ef1[_0x892e29(0x109)],'subUnitId':_0x469ef1[_0x892e29(0x121)],'token':_0x25471f}]));}});});}['_subjectViewChange'](){const _0x538e3e=_0x28eb76;this[_0x538e3e(0xe7)][_0x538e3e(0x35c)]['subscribe'](_0x3d780d=>{const _0x2966f4=_0x538e3e,{unitId:_0x5628f9,subUnitId:_0x39bd6f,pivotTableId:_0x1bbf83}=_0x3d780d;_0x5628f9&&_0x39bd6f&&_0x1bbf83&&this[_0x2966f4(0x104)]([{'unitId':_0x5628f9,'subUnitId':_0x39bd6f,'token':_0x1bbf83}]);});}[_0x28eb76(0x104)](_0x26702a){const _0x297368=_0x28eb76,_0x1bf21e={};_0x26702a[_0x297368(0x287)](_0x5ee41a=>{var _0x2475b1,_0x35e692;const {unitId:_0x3b8211,subUnitId:_0x5c1040,token:_0x5cf054}=_0x5ee41a;_0x1bf21e[_0x3b8211]=(_0x2475b1=_0x1bf21e[_0x3b8211])!=null?_0x2475b1:{},_0x1bf21e[_0x3b8211][_0x5c1040]=(_0x35e692=_0x1bf21e[_0x3b8211][_0x5c1040])!=null?_0x35e692:{},_0x1bf21e[_0x3b8211][_0x5c1040][_0x5cf054]=!0x0;}),this[_0x297368(0x1bc)][_0x297368(0x330)](_0xaa3b4b['id'],_0x1bf21e);}[_0x28eb76(0x230)](_0x1312a5,_0x1d2b19,_0xa94d38){const _0x596b76=_0x28eb76;this[_0x596b76(0x15f)][_0x596b76(0x13b)](_0x1312a5,_0x1d2b19,[_0xa94d38]);}[_0x28eb76(0x116)](_0x32c983,_0x16c551,_0x1eca6b){const _0x278366=_0x28eb76,{unitId:_0x4edb76,subUnitId:_0x3690b8}=_0x16c551;this[_0x278366(0x15f)][_0x278366(0xc9)](_0x1eca6b['unitId'],_0x1eca6b[_0x278366(0x121)],_0x32c983)&&this[_0x278366(0x230)](_0x4edb76,_0x3690b8,_0x32c983);const _0x1e1268={'sheetId':_0x3690b8,..._0x16c551};this['_featureCalculationManagerService'][_0x278366(0x18b)](_0x1eca6b[_0x278366(0x109)],_0x1eca6b['subUnitId'],_0x32c983,{'unitId':_0x1eca6b[_0x278366(0x109)],'subUnitId':_0x1eca6b[_0x278366(0x121)],'dependencyRanges':[_0x1e1268],'getDirtyData':(_0x29dd01,_0x3fd0d5)=>{const _0x44e9a5=_0x278366,_0x435f4c=this[_0x44e9a5(0xe7)],_0x1cf911=_0x435f4c['getTargetByPivotId'](_0x32c983);if(!_0x1cf911)return _0x1a28bb();const {unitId:_0xcc081a,subUnitId:_0x5bbbbd}=_0x1cf911,_0x177e11=_0x567d96(_0x29dd01,_0x3fd0d5,_0x16c551);if(_0x177e11['length']>0x0){const _0x4d2da0=_0x435f4c[_0x44e9a5(0x2fd)](_0x4edb76,_0x32c983),_0x27ef55=_0x4d2da0[_0x44e9a5(0xbb)](),_0x39be69=this[_0x44e9a5(0x172)](_0x16c551[_0x44e9a5(0x109)],_0x16c551[_0x44e9a5(0x121)],_0x3fd0d5),_0x55596e={},_0x2817ad=this[_0x44e9a5(0xe7)][_0x44e9a5(0x368)](_0xcc081a)['getAutoDisplayNameFunction']()||_0x1f205f['getAutoDisplayName'];for(const _0x16c1af of _0x177e11){const _0x53d2f1=_0x16c1af-(_0x16c551[_0x44e9a5(0x20f)][_0x44e9a5(0x190)]||0x0),_0x4f1ff8=_0x27ef55[_0x53d2f1];_0x55596e[_0x4f1ff8]=_0x4d2da0[_0x44e9a5(0x23c)](_0x4f1ff8)['getName'](),_0x435f4c['getDataFieldManager'](_0x4edb76)[_0x44e9a5(0x28b)](_0x4f1ff8,_0x16c551,_0x53d2f1,_0x39be69);}_0x4d2da0[_0x44e9a5(0x2b8)]();const _0x2aec4a=_0x435f4c[_0x44e9a5(0x1df)](_0x32c983);if(_0x2aec4a){_0x4927e9(_0x2aec4a,_0x55596e,_0x2817ad),_0x2aec4a[_0x44e9a5(0x309)](!0x0);const _0xc32fa1=_0x2aec4a[_0x44e9a5(0x270)](),_0x9d77cb=_0x435f4c[_0x44e9a5(0xaf)](_0xcc081a,_0x5bbbbd,_0x32c983),_0x3d24d0=_0x435f4c[_0x44e9a5(0x368)](_0x4edb76)[_0x44e9a5(0xb0)]();_0x435f4c[_0x44e9a5(0x2ae)](_0xcc081a,_0x5bbbbd,_0xfaf966[_0x44e9a5(0x151)],_0x32c983,_0xc32fa1,_0x9d77cb,_0x3d24d0,!0x0);}}return this[_0x44e9a5(0x1a9)](_0xcc081a,_0x5bbbbd,_0x32c983);}});}[_0x28eb76(0x172)](_0x46b43b,_0x6ec020,_0x3a12b5){var _0x1e6b06,_0x492cbd;const {arrayFormulaCellData:_0x476b26,unitData:_0xd815db}=_0x3a12b5,_0x36fa39=(_0x1e6b06=_0x476b26==null?void 0x0:_0x476b26[_0x46b43b])==null?void 0x0:_0x1e6b06[_0x6ec020],_0x4479f1=(_0x492cbd=_0xd815db==null?void 0x0:_0xd815db[_0x46b43b])==null?void 0x0:_0x492cbd[_0x6ec020];return{'arrayFormulaCellDataMatrix':_0x36fa39,'unitDataMatrix':_0x4479f1};}['getDirtyInfo'](_0x271ebe,_0x93477,_0x1a423b){const _0x562f9d=_0x28eb76,_0x535c6d=this['_sheetsPivotDataSourceModel'][_0x562f9d(0x1e8)](_0x271ebe,_0x93477,_0x1a423b),_0x43d589=[],_0x39c14f=new _0x54ff7d[(_0x562f9d(0x161))]();if(_0x535c6d){const {rangeCache:_0x1f3f8a,matrix:_0x4c0992,oldRangeCache:_0x1739a0,oldMatrix:_0x474d2d}=_0x535c6d,_0x1a7dd8=_0x2ea627(_0x1739a0),_0xbda82a=_0x2ea627(_0x1f3f8a);_0x43d589[_0x562f9d(0x21f)](..._0xbda82a,..._0x1a7dd8),_0x474d2d&&_0x1739a0&&_0x1a7dd8['forEach'](_0x7c171b=>{const _0x2c78d9=_0x562f9d;for(let _0x1f81f5=_0x7c171b['startRow'];_0x1f81f5<=_0x7c171b[_0x2c78d9(0x27c)];_0x1f81f5++)for(let _0x608619=_0x7c171b['startColumn'];_0x608619<=_0x7c171b['endColumn'];_0x608619++)_0x39c14f[_0x2c78d9(0x32b)](_0x1f81f5,_0x608619);}),_0x4c0992&&_0xbda82a&&_0xbda82a[_0x562f9d(0x287)](_0x50ba99=>{const _0x4be315=_0x562f9d;for(let _0x338072=_0x50ba99[_0x4be315(0x2f2)];_0x338072<=_0x50ba99['endRow'];_0x338072++)for(let _0x180a2b=_0x50ba99[_0x4be315(0x190)];_0x180a2b<=_0x50ba99[_0x4be315(0x2d3)];_0x180a2b++)_0x39c14f[_0x4be315(0xf8)](_0x338072,_0x180a2b,_0x4c0992[_0x4be315(0x17c)](_0x338072,_0x180a2b));});}const _0x181a5c={};return _0x181a5c[_0x271ebe]={[_0x93477]:_0x1bf25c(_0x43d589)},{'runtimeCellData':{[_0x271ebe]:{[_0x93477]:_0x39c14f}},'dirtyRanges':_0x181a5c};}[_0x28eb76(0x1aa)](){}};_0x3c7c79=_0x422928([_0x2823c5(0x0,_0x54ff7d['Inject'](_0x2ba19f[_0x28eb76(0x303)])),_0x2823c5(0x1,_0x54ff7d[_0x28eb76(0x208)]),_0x2823c5(0x2,_0x54ff7d[_0x28eb76(0x283)](_0x1d2fce[_0x28eb76(0x334)])),_0x2823c5(0x3,_0x54ff7d['Inject'](_0x54ff7d[_0x28eb76(0x35b)])),_0x2823c5(0x4,_0x54ff7d['Inject'](_0x54ff7d[_0x28eb76(0x321)]))],_0x3c7c79);var _0x3b307f=Object['defineProperty'],_0x418fc6=Object[_0x28eb76(0x265)],_0x4605f4=(_0x2e2714,_0x574759,_0x53be4e,_0xd07947)=>{const _0x5b93df=_0x28eb76;for(var _0x41a99d=_0xd07947>0x1?void 0x0:_0xd07947?_0x418fc6(_0x574759,_0x53be4e):_0x574759,_0x35c138=_0x2e2714[_0x5b93df(0x35e)]-0x1,_0xb04c7;_0x35c138>=0x0;_0x35c138--)(_0xb04c7=_0x2e2714[_0x35c138])&&(_0x41a99d=(_0xd07947?_0xb04c7(_0x574759,_0x53be4e,_0x41a99d):_0xb04c7(_0x41a99d))||_0x41a99d);return _0xd07947&&_0x41a99d&&_0x3b307f(_0x574759,_0x53be4e,_0x41a99d),_0x41a99d;},_0xf66130=(_0x4be472,_0xe5e3bb)=>(_0x244a0f,_0x57d37a)=>_0xe5e3bb(_0x244a0f,_0x57d37a,_0x4be472);let _0x831d2a=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x36cfbe,_0x10269b,_0x55598b,_0x1d9f49){const _0x46c762=_0x28eb76;super(),_0x2edd4f(this,'disposableCollection',new _0x54ff7d[(_0x46c762(0xe6))]()),(this[_0x46c762(0x2d5)]=_0x36cfbe,this['_sheetInterceptorService']=_0x10269b,this[_0x46c762(0xb9)]=_0x55598b,this[_0x46c762(0x14f)]=_0x1d9f49,this[_0x46c762(0x235)]());}[_0x28eb76(0x235)](){const _0x2efb4a=_0x28eb76;this[_0x2efb4a(0x267)](this[_0x2efb4a(0x23d)][_0x2efb4a(0x234)]({'getMutations':_0x58fbed=>{const _0x549bb4=_0x2efb4a;if(_0x58fbed['id']===_0x27c753[_0x549bb4(0x102)]['id']||_0x58fbed['id']===_0x27c753[_0x549bb4(0x33d)]['id']){const _0x5465db=[],_0x3e0b26=[],_0x3b1b8c=this['_sheetsSelectionsService'][_0x549bb4(0x2f1)]()[_0x549bb4(0x375)](_0x34d5d2=>_0x34d5d2[_0x549bb4(0x20f)]),_0x5e8e54=_0x27c753[_0x549bb4(0x1b8)](this[_0x549bb4(0x2d5)]);if(!_0x5e8e54)return{'redos':[],'undos':[]};const {unitId:_0x5384fd,subUnitId:_0x49bbe8}=_0x5e8e54,_0x21bcd0={},_0x4c683d=this[_0x549bb4(0x14f)][_0x549bb4(0x348)](_0x5384fd,_0x49bbe8);if(_0x4c683d!=null&&_0x4c683d[_0x549bb4(0x2d2)])for(const [_0x417114,_0x3a4cb9]of _0x4c683d){const {unitId:_0x6a7ade,subUnitId:_0x21e64f,row:_0x1d922c,col:_0x359d71}=_0x3a4cb9[_0x549bb4(0x1ab)];_0x6a7ade===_0x5e8e54[_0x549bb4(0x109)]&&_0x21e64f===_0x5e8e54[_0x549bb4(0x121)]&&(_0x21bcd0[_0x1d922c+'-'+_0x359d71]=_0x417114);}return _0x3b1b8c&&_0x5e8e54&&_0x3b1b8c[_0x549bb4(0x287)](_0x554c4d=>{const _0x55cb4a=_0x549bb4;_0x54ff7d[_0x55cb4a(0x277)]['foreach'](_0x554c4d,(_0x31aa41,_0x2201fe)=>{const _0x4b28bb=_0x55cb4a,_0x5a810b=_0x31aa41+'-'+_0x2201fe;if(_0x21bcd0[_0x5a810b]){const _0x43fdd0=_0x21bcd0[_0x5a810b];_0x5465db[_0x4b28bb(0x21f)]({'id':_0x45af68['id'],'params':{'unitId':_0x5384fd,'subUnitId':_0x49bbe8,'pivotTableId':_0x43fdd0}});const _0x234f05=this[_0x4b28bb(0x14f)][_0x4b28bb(0x2fd)](_0x5384fd,_0x43fdd0),_0x5b4320=this[_0x4b28bb(0x14f)][_0x4b28bb(0xaf)](_0x5384fd,_0x49bbe8,_0x43fdd0);_0x3e0b26[_0x4b28bb(0x21f)]({'id':_0x334898['id'],'params':{'unitId':_0x5384fd,'subUnitId':_0x49bbe8,'pivotTableId':_0x43fdd0,'pivotTableConfig':_0x5b4320,'collectionConfig':_0x234f05}});}});}),{'redos':_0x5465db,'undos':_0x3e0b26};}return{'redos':[],'undos':[]};}}));}};_0x831d2a=_0x4605f4([_0xf66130(0x0,_0x54ff7d[_0x28eb76(0xfb)]),_0xf66130(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x27c753[_0x28eb76(0x2a7)])),_0xf66130(0x2,_0x54ff7d['Inject'](_0x27c753[_0x28eb76(0x305)])),_0xf66130(0x3,_0x54ff7d['Inject'](_0x2ba19f[_0x28eb76(0x170)]))],_0x831d2a);var _0x4cdb4a=Object[_0x28eb76(0xc5)],_0x399b40=Object[_0x28eb76(0x265)],_0x32580d=(_0x1dd97e,_0x25b1e3,_0x5471cc,_0x5303c2)=>{for(var _0x2f27e4=_0x5303c2>0x1?void 0x0:_0x5303c2?_0x399b40(_0x25b1e3,_0x5471cc):_0x25b1e3,_0x4808d8=_0x1dd97e['length']-0x1,_0x3e7fd4;_0x4808d8>=0x0;_0x4808d8--)(_0x3e7fd4=_0x1dd97e[_0x4808d8])&&(_0x2f27e4=(_0x5303c2?_0x3e7fd4(_0x25b1e3,_0x5471cc,_0x2f27e4):_0x3e7fd4(_0x2f27e4))||_0x2f27e4);return _0x5303c2&&_0x2f27e4&&_0x4cdb4a(_0x25b1e3,_0x5471cc,_0x2f27e4),_0x2f27e4;},_0x4f828d=(_0xa4e3c4,_0x29263f)=>(_0x589485,_0x2a89c3)=>_0x29263f(_0x589485,_0x2a89c3,_0xa4e3c4);let _0x2b12d1=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x187d0a,_0x29d6bb,_0x5c7611,_0x1f52bf,_0x4ceed7,_0x3d0412){const _0x3dd40a=_0x28eb76;super(),this[_0x3dd40a(0x2e1)]=_0x187d0a,this['_sheetInterceptorService']=_0x29d6bb,this[_0x3dd40a(0x185)]=_0x5c7611,this[_0x3dd40a(0x2d5)]=_0x1f52bf,this[_0x3dd40a(0x14f)]=_0x4ceed7,this[_0x3dd40a(0x114)]=_0x3d0412,this[_0x3dd40a(0x326)]();}[_0x28eb76(0x372)](_0x1728ac,_0x3bc86a,_0x459b4a){const _0x4480e8=_0x28eb76,{pageView:_0x2e47cc,cornerView:_0x46ed22,rowView:_0x3e659f,colView:_0x98c03d,dataView:_0x232c4f}=_0x3bc86a,_0x3d9252=_0x1728ac;let _0x585774;if(_0x459b4a)_0x585774=[..._0x4365fe(_0x3d9252)];else{const _0x34c833=_0x25c9ba(_0x3d9252,_0x2e47cc,!0x0),_0x39dfa3=_0x2e47cc['lastRow']>=0x0?_0x2e47cc['lastRow']+0x1:0x0,_0x43f444=_0x46ed22[_0x4480e8(0x2f9)],_0x3e6748=_0x46ed22[_0x4480e8(0x269)],_0x38c641=_0x34c833[_0x4480e8(0x35e)]>0x0?_0x323d5f:0x0,_0x2c95f8=_0x25c9ba({'row':_0x3d9252['row']+_0x39dfa3+_0x38c641,'col':_0x3d9252[_0x4480e8(0x34f)]},_0x46ed22,!0x1,!0x1),_0x421b9f=_0x25c9ba({'row':_0x3d9252['row']+_0x39dfa3+_0x38c641+_0x43f444,'col':_0x3d9252['col']},_0x3e659f,!0x1,!0x0),_0xf474f6=_0x25c9ba({'row':_0x3d9252[_0x4480e8(0x221)]+_0x39dfa3+_0x38c641,'col':_0x3d9252[_0x4480e8(0x34f)]+_0x3e6748},_0x98c03d,!0x1,!0x0),_0x3ca508=_0x25c9ba({'row':_0x3d9252['row']+_0x39dfa3+_0x38c641+_0x43f444,'col':_0x3d9252[_0x4480e8(0x34f)]+_0x3e6748},_0x232c4f,!0x1,!0x0);_0x585774=[..._0x34c833,..._0x2c95f8,..._0x421b9f,..._0xf474f6,..._0x3ca508];}return _0x585774;}['_initCommandInterceptListener'](){const _0x5c9ee4=_0x28eb76;this[_0x5c9ee4(0x267)](this[_0x5c9ee4(0x114)][_0x5c9ee4(0x2f3)]['intercept'](this[_0x5c9ee4(0x114)][_0x5c9ee4(0x2f3)][_0x5c9ee4(0x2d1)]()[_0x5c9ee4(0x2a8)],{'handler':(_0x518dd2,_0x1c7a41)=>{const _0x78e93a=_0x5c9ee4,{cellInfo:_0x3f5289,view:_0x1a750a,isEmpty:_0x338e5c}=_0x1c7a41,_0x5a37ed=_0x3f5289,{unitId:_0x49eea7,subUnitId:_0x4ac1a5}=_0x5a37ed,_0x36d83b=this[_0x78e93a(0x372)](_0x3f5289,_0x1a750a,_0x338e5c),_0x10d427=this[_0x78e93a(0x23d)][_0x78e93a(0x240)]({'unitId':_0x49eea7,'subUnitId':_0x4ac1a5,'ranges':_0x36d83b}),_0x2b2098=_0xf52e08(this['_injector'],_0x49eea7,_0x4ac1a5,_0x36d83b);_0x2b2098[_0x78e93a(0x1d8)]&&(_0x10d427[_0x78e93a(0x238)][_0x78e93a(0x21f)](_0x2b2098[_0x78e93a(0x193)]),_0x10d427['undos']['push'](_0x2b2098['setRangeValueUndoMutation']));const _0x482d86=this[_0x78e93a(0x133)](_0x1a750a,_0x3f5289);return _0x10d427[_0x78e93a(0x238)][_0x78e93a(0x21f)](..._0x482d86[_0x78e93a(0x238)]),_0x10d427[_0x78e93a(0x2b0)][_0x78e93a(0x21f)](..._0x482d86[_0x78e93a(0x2b0)]),{'redos':_0x10d427[_0x78e93a(0x238)],'undos':_0x10d427[_0x78e93a(0x2b0)]};}}));}[_0x28eb76(0x133)](_0xc36887,_0x23129d){const _0x1ad00e=_0x28eb76,{col:_0x1c6d5c,unitId:_0x2c0fa6,subUnitId:_0xa3268e}=_0x23129d,_0x2d4df7=[],_0x467a18=[],_0x357917=_0x27c753[_0x1ad00e(0x1b8)](this[_0x1ad00e(0x2d5)],{'unitId':_0x2c0fa6,'subUnitId':_0xa3268e});if(!_0x23129d||!_0xc36887||!_0x357917)return{'undos':_0x467a18,'redos':_0x2d4df7};const _0x5ccbc7=this[_0x1ad00e(0x14f)][_0x1ad00e(0x16b)](),{colView:_0x586613,dataView:_0x5e8f1f,cornerView:_0x410ac5,rowView:_0x866b67,formatMap:_0x2c4e77}=_0xc36887,_0x5790eb=_0x535a53(_0x586613,_0x5ccbc7,!0x0,_0x2c4e77),_0x149caa=_0x535a53(_0x866b67,_0x5ccbc7,!0x1,_0x2c4e77),_0x4584ef=_0x2e5b40(_0x5e8f1f),_0x366a9d=_0x271ae0(_0x410ac5),{worksheet:_0x51423b}=_0x357917;if(typeof window<'u'&&window[_0x1ad00e(0x2c0)]){const _0x4e740f=_0x34f6eb['getFontStyleString']({..._0x8c41a9['colStyle']}),_0x54fdbe=_0x34f6eb[_0x1ad00e(0x145)]['getTextSize'](_0x5790eb,_0x4e740f)[_0x1ad00e(0x1bb)]+0x10,_0x3f0a28=_0x34f6eb[_0x1ad00e(0x145)][_0x1ad00e(0xd1)](_0x4584ef,_0x4e740f)['width'],_0x4a8900=Math['floor'](Math['max'](_0x54fdbe,_0x3f0a28))+0x10,_0x3cf4d1=Math[_0x1ad00e(0x28c)](_0x34f6eb['FontCache'][_0x1ad00e(0xd1)](_0x149caa,_0x4e740f)[_0x1ad00e(0x1bb)]),_0x7afca2=Math[_0x1ad00e(0x28c)](_0x34f6eb[_0x1ad00e(0x145)][_0x1ad00e(0xd1)](_0x366a9d,_0x4e740f)[_0x1ad00e(0x1bb)]),_0x21ddbd=Math[_0x1ad00e(0x28a)](_0x3cf4d1,_0x7afca2,0x28)+0xc,_0x2dda87=_0x586613['colCount']+_0x410ac5['colCount'],_0x3a733a={},_0x361b6c={};for(let _0x24d8e7=_0x1c6d5c;_0x24d8e7<_0x1c6d5c+_0x2dda87;_0x24d8e7++){const _0x1978f1=_0x51423b[_0x1ad00e(0x1bf)](_0x24d8e7);_0x3a733a[_0x24d8e7]=_0x1978f1,_0x24d8e7-_0x1c6d5c<_0x410ac5[_0x1ad00e(0x269)]?_0x361b6c[_0x24d8e7-_0x1c6d5c]=_0x21ddbd:_0x361b6c[_0x24d8e7-_0x1c6d5c]=_0x4a8900;}_0x2d4df7[_0x1ad00e(0x21f)]({'id':_0x27c753[_0x1ad00e(0x318)]['id'],'params':{'subUnitId':_0xa3268e,'unitId':_0x2c0fa6,'ranges':[{'startColumn':_0x1c6d5c,'endColumn':_0x1c6d5c+_0x2dda87-0x1,'startRow':0x0,'endRow':_0x51423b[_0x1ad00e(0x106)]()-0x1}],'colWidth':_0x361b6c}}),_0x467a18[_0x1ad00e(0x21f)]({'id':_0x27c753['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0xa3268e,'unitId':_0x2c0fa6,'ranges':[{'startColumn':_0x1c6d5c,'endColumn':_0x1c6d5c+_0x2dda87-0x1,'startRow':0x0,'endRow':_0x51423b['getRowCount']()-0x1}],'colWidth':_0x3a733a}});}return{'undos':_0x467a18,'redos':_0x2d4df7};}};_0x2b12d1=_0x32580d([_0x4f828d(0x0,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d['LocaleService'])),_0x4f828d(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x27c753[_0x28eb76(0x2a7)])),_0x4f828d(0x2,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d['Injector'])),_0x4f828d(0x3,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0xfb)])),_0x4f828d(0x4,_0x54ff7d['Inject'](_0x2ba19f['SheetsPivotTableConfigModel'])),_0x4f828d(0x5,_0x54ff7d['Inject'](_0x2ba19f[_0x28eb76(0x1eb)]))],_0x2b12d1);var _0x340768=Object['defineProperty'],_0x23012c=Object[_0x28eb76(0x265)],_0x5a36ce=(_0x49cdc4,_0x240bc1,_0xa62663,_0x20f58e)=>{const _0x168ddb=_0x28eb76;for(var _0x5bf2af=_0x20f58e>0x1?void 0x0:_0x20f58e?_0x23012c(_0x240bc1,_0xa62663):_0x240bc1,_0x30e1dd=_0x49cdc4[_0x168ddb(0x35e)]-0x1,_0x2650ae;_0x30e1dd>=0x0;_0x30e1dd--)(_0x2650ae=_0x49cdc4[_0x30e1dd])&&(_0x5bf2af=(_0x20f58e?_0x2650ae(_0x240bc1,_0xa62663,_0x5bf2af):_0x2650ae(_0x5bf2af))||_0x5bf2af);return _0x20f58e&&_0x5bf2af&&_0x340768(_0x240bc1,_0xa62663,_0x5bf2af),_0x5bf2af;},_0x7fc4e3=(_0x4c0a27,_0x358409)=>(_0x320d10,_0x54a6a5)=>_0x358409(_0x320d10,_0x54a6a5,_0x4c0a27);let _0x3c5e2d=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x61612a,_0x71d13a,_0xce2cd3,_0xcf3973,_0x381dc9,_0x162ee1,_0x564bb8){const _0x1fc1e4=_0x28eb76;super(),_0x2edd4f(this,_0x1fc1e4(0x22f),new _0x54ff7d[(_0x1fc1e4(0xe6))]()),(this['_injector']=_0x61612a,this['_refRangeService']=_0x71d13a,this[_0x1fc1e4(0x1bc)]=_0xce2cd3,this[_0x1fc1e4(0x2d5)]=_0xcf3973,this[_0x1fc1e4(0x14f)]=_0x381dc9,this[_0x1fc1e4(0x144)]=_0x162ee1,this['_sheetInterceptorService']=_0x564bb8,this[_0x1fc1e4(0x17f)]());}[_0x28eb76(0x17f)](){const _0x2d85c6=_0x28eb76,_0xaded7c=(_0x3c8fc3,_0x346e16)=>{const _0x20d620=_0x39e7,_0x4e8154=this[_0x20d620(0x2d5)]['getCurrentUnitForType'](_0x54ff7d[_0x20d620(0x1dc)][_0x20d620(0x2a1)]);if(!_0x4e8154||!(_0x4e8154==null?void 0x0:_0x4e8154['getSheetBySheetId'](_0x346e16)))return;this[_0x20d620(0x22f)][_0x20d620(0x1aa)]();const _0x3cb375=_0x522772=>this[_0x20d620(0x329)](_0x522772,_0x3c8fc3,_0x346e16),_0x5c2fac=this[_0x20d620(0x14f)][_0x20d620(0x348)](_0x3c8fc3,_0x346e16);if(!(_0x5c2fac!=null&&_0x5c2fac['size']))return;Array[_0x20d620(0xb3)](_0x5c2fac[_0x20d620(0x199)]())[_0x20d620(0x375)](_0x40dc56=>{const _0x5cb1dc=_0x20d620,{row:_0xaabd19,col:_0x53b1ab}=_0x40dc56[_0x5cb1dc(0x1ab)];return _0x54ff7d[_0x5cb1dc(0x347)](_0xaabd19,_0x53b1ab);})[_0x20d620(0x287)](_0x5db92b=>{const _0x29e5bc=_0x20d620;this[_0x29e5bc(0x22f)]['add'](this[_0x29e5bc(0x34a)][_0x29e5bc(0x352)](_0x5db92b,_0x3cb375,_0x3c8fc3,_0x346e16));});},_0xd0b105=()=>{const _0x29ca55=_0x39e7,_0x4eb2df=this[_0x29ca55(0x2d5)]['getCurrentUnitForType'](_0x54ff7d['UniverInstanceType']['UNIVER_SHEET']);if(_0x4eb2df){const _0x4e579b=_0x4eb2df[_0x29ca55(0x1ec)]();if(!_0x4e579b)return;_0xaded7c(_0x4eb2df[_0x29ca55(0x217)](),_0x4e579b[_0x29ca55(0x27b)]());}};this[_0x2d85c6(0x267)](this[_0x2d85c6(0x1bc)][_0x2d85c6(0x34b)](_0x26408f=>{const _0x1d6d82=_0x2d85c6;if(_0x26408f['id']===_0x27c753[_0x1d6d82(0x11f)]['id']){const _0x1892e4=_0x26408f[_0x1d6d82(0x1a1)],_0xe98392=_0x1892e4[_0x1d6d82(0x121)],_0x43c879=_0x1892e4[_0x1d6d82(0x109)];if(!_0xe98392||!_0x43c879)return;_0xaded7c(_0x43c879,_0xe98392);}})),this[_0x2d85c6(0x267)](this[_0x2d85c6(0x14f)]['pivotInitCompleted$']['subscribe'](_0xd0ac59=>{_0xd0ac59&&_0xd0b105();})),this[_0x2d85c6(0x267)](this[_0x2d85c6(0x14f)][_0x2d85c6(0x222)][_0x2d85c6(0x280)](_0x162537=>{const _0x31aa12=_0x2d85c6,_0x131b8b=_0x27c753[_0x31aa12(0x1b8)](this[_0x31aa12(0x2d5)]);if(!_0x131b8b)return;const {unitId:_0x5e9fae,subUnitId:_0x15279e}=_0x131b8b,{unitId:_0x47ac6a,subUnitId:_0x29ba50}=_0x162537;_0x5e9fae!==_0x47ac6a||_0x15279e!==_0x29ba50||_0xaded7c(_0x5e9fae,_0x15279e);})),_0xd0b105();}[_0x28eb76(0x329)](_0x425a09,_0x2c9214,_0x1a79f6){const _0x52845e=_0x28eb76;switch(_0x425a09['id']){case _0x27c753[_0x52845e(0xed)]['id']:return this[_0x52845e(0x16d)](_0x425a09[_0x52845e(0x1a1)],_0x2c9214,_0x1a79f6);}return{'redos':[],'undos':[]};}[_0x28eb76(0x16d)](_0x19ec55,_0x1acf65,_0x4afad5){const _0x4f921d=_0x28eb76,{fromRange:_0x2283b6,toRange:_0x53972f}=_0x19ec55,_0x2b0611=[],_0x878709=[],_0x47132c=_0x27c753['getSheetCommandTarget'](this[_0x4f921d(0x2d5)]);if(!_0x47132c)return{'undos':_0x878709,'redos':_0x2b0611};if(_0x1acf65!==_0x47132c[_0x4f921d(0x109)]||_0x4afad5!==_0x47132c[_0x4f921d(0x121)])return{'undos':_0x878709,'redos':_0x2b0611};const _0x1b6a94=this[_0x4f921d(0x14f)][_0x4f921d(0x348)](_0x1acf65,_0x4afad5);if(_0x1b6a94!=null&&_0x1b6a94[_0x4f921d(0x2d2)])for(const [_0xcf7126,_0x13b7d2]of _0x1b6a94){const {unitId:_0x47ac1d,subUnitId:_0x36e327,row:_0x697f8c,col:_0x13241a}=_0x13b7d2[_0x4f921d(0x1ab)];if(_0x47ac1d===_0x47132c['unitId']&&_0x36e327===_0x47132c[_0x4f921d(0x121)]){const _0x3c1dfd=_0x54ff7d[_0x4f921d(0x347)](_0x697f8c,_0x13241a);if(_0x54ff7d[_0x4f921d(0x188)]['intersects'](_0x3c1dfd,_0x2283b6)){const _0x22810d=_0x697f8c-_0x2283b6[_0x4f921d(0x2f2)],_0x503517=_0x13241a-_0x2283b6['startColumn'],_0x8f80bc={'row':_0x53972f['startRow']+_0x22810d,'col':_0x53972f[_0x4f921d(0x190)]+_0x503517};_0x2b0611['push']({'id':_0x2e128d['id'],'params':{'unitId':_0x47ac1d,'subUnitId':_0x36e327,'pivotTableId':_0xcf7126,'targetCellPosition':_0x8f80bc}}),_0x878709['push']({'id':_0x2e128d['id'],'params':{'unitId':_0x47ac1d,'subUnitId':_0x36e327,'pivotTableId':_0xcf7126,'targetCellPosition':{'row':_0x697f8c,'col':_0x13241a}}});const _0x5da009=_0x8f80bc[_0x4f921d(0x221)]-_0x697f8c,_0x3ddf62=_0x8f80bc[_0x4f921d(0x34f)]-_0x13241a,_0x330e42=[],_0x5ef4ce=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x47ac1d,_0x36e327,_0xcf7126),_0x12c9d8=_0x5ef4ce==null?void 0x0:_0x5ef4ce['rangesInfo'];if(_0x12c9d8){Object[_0x4f921d(0xb7)](_0x12c9d8)['forEach'](_0x1d88c8=>{const _0x6bece2=_0x4f921d;_0x12c9d8[_0x1d88c8][_0x6bece2(0x287)](_0x5b4961=>{const _0x3a4cd8=_0x6bece2,_0x1453e8={..._0x5b4961};_0x1453e8[_0x3a4cd8(0x2f2)]=_0x5b4961['startRow']+_0x5da009,_0x1453e8['endRow']=_0x5b4961[_0x3a4cd8(0x27c)]+_0x5da009,_0x1453e8[_0x3a4cd8(0x190)]=_0x5b4961[_0x3a4cd8(0x190)]+_0x3ddf62,_0x1453e8[_0x3a4cd8(0x2d3)]=_0x5b4961[_0x3a4cd8(0x2d3)]+_0x3ddf62,_0x330e42['push'](_0x1453e8);});});const _0xd30acd=this[_0x4f921d(0x23d)][_0x4f921d(0x240)]({'unitId':_0x47ac1d,'subUnitId':_0x36e327,'ranges':_0x330e42});_0x2b0611[_0x4f921d(0x21f)](..._0xd30acd[_0x4f921d(0x238)]),_0x878709['push'](..._0xd30acd[_0x4f921d(0x2b0)]);const _0x4a842a=_0xf52e08(this['_injector'],_0x47ac1d,_0x36e327,_0x330e42);_0x4a842a['shouldClear']&&(_0x2b0611[_0x4f921d(0x21f)](_0x4a842a[_0x4f921d(0x193)]),_0x878709[_0x4f921d(0x21f)](_0x4a842a[_0x4f921d(0xf6)]));}}}}return{'redos':_0x2b0611,'undos':_0x878709};}};_0x3c5e2d=_0x5a36ce([_0x7fc4e3(0x0,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x321)])),_0x7fc4e3(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x27c753[_0x28eb76(0x1ba)])),_0x7fc4e3(0x2,_0x54ff7d[_0x28eb76(0x35b)]),_0x7fc4e3(0x3,_0x54ff7d[_0x28eb76(0xfb)]),_0x7fc4e3(0x4,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f[_0x28eb76(0x170)])),_0x7fc4e3(0x5,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f['SheetsPivotTableAdaptorModel'])),_0x7fc4e3(0x6,_0x54ff7d[_0x28eb76(0x283)](_0x27c753[_0x28eb76(0x2a7)]))],_0x3c5e2d);var _0x451827=Object[_0x28eb76(0xc5)],_0x4e7715=Object['getOwnPropertyDescriptor'],_0x116ece=(_0x109730,_0x5d23e6,_0xfefd37,_0x15880b)=>{const _0x49af37=_0x28eb76;for(var _0x35ea12=_0x15880b>0x1?void 0x0:_0x15880b?_0x4e7715(_0x5d23e6,_0xfefd37):_0x5d23e6,_0x480809=_0x109730[_0x49af37(0x35e)]-0x1,_0x1c88a0;_0x480809>=0x0;_0x480809--)(_0x1c88a0=_0x109730[_0x480809])&&(_0x35ea12=(_0x15880b?_0x1c88a0(_0x5d23e6,_0xfefd37,_0x35ea12):_0x1c88a0(_0x35ea12))||_0x35ea12);return _0x15880b&&_0x35ea12&&_0x451827(_0x5d23e6,_0xfefd37,_0x35ea12),_0x35ea12;},_0x570ee1=(_0x1b010a,_0x3e9747)=>(_0x5d2969,_0x48dd31)=>_0x3e9747(_0x5d2969,_0x48dd31,_0x1b010a);let _0x50dacd=class extends _0x54ff7d['Disposable']{constructor(_0x23643c,_0x2a55cb){const _0x270e04=_0x28eb76;super(),this[_0x270e04(0x23d)]=_0x23643c,this['_sheetsPivotTableConfigModel']=_0x2a55cb,this[_0x270e04(0x32d)]();}[_0x28eb76(0x32d)](){const _0x55ec78=_0x28eb76;this[_0x55ec78(0x267)](this[_0x55ec78(0x23d)]['interceptCommand']({'getMutations':_0x3bd47e=>{const _0x37e329=_0x55ec78;if(_0x3bd47e['id']===_0x27c753['RemoveSheetCommand']['id']){const _0x17af28=[],_0xb5bc5d=[],_0x35efb0=_0x3bd47e[_0x37e329(0x1a1)],{unitId:_0x1e993d,subUnitId:_0x50a761}=_0x35efb0;if(!_0x1e993d||!_0x50a761)return{'undos':_0xb5bc5d,'redos':_0x17af28};const _0x5b1fd0=this['_sheetsPivotTableConfigModel'][_0x37e329(0x348)](_0x1e993d,_0x50a761);if(_0x5b1fd0!=null&&_0x5b1fd0[_0x37e329(0x2d2)])for(const [_0x45db6f,_0x223ab3]of _0x5b1fd0){_0x17af28['push']({'id':_0x45af68['id'],'params':{'unitId':_0x1e993d,'subUnitId':_0x50a761,'pivotTableId':_0x45db6f}});const _0x495d15={...this[_0x37e329(0x14f)]['getCollection'](_0x1e993d,_0x45db6f)};_0xb5bc5d[_0x37e329(0x21f)]({'id':_0x334898['id'],'params':{'unitId':_0x1e993d,'subUnitId':_0x50a761,'pivotTableId':_0x45db6f,'pivotTableConfig':_0x223ab3,'collectionConfig':_0x495d15}});}return{'redos':_0x17af28,'undos':_0xb5bc5d};}return{'redos':[],'undos':[]};}}));}};_0x50dacd=_0x116ece([_0x570ee1(0x0,_0x54ff7d['Inject'](_0x27c753[_0x28eb76(0x2a7)])),_0x570ee1(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f['SheetsPivotTableConfigModel']))],_0x50dacd);var _0x39f54c=Object[_0x28eb76(0xc5)],_0x5c9cb1=Object[_0x28eb76(0x265)],_0x54ed65=(_0x896d9a,_0x2e3305,_0x96feb7,_0x38f79d)=>{const _0x3eb387=_0x28eb76;for(var _0x27ba08=_0x38f79d>0x1?void 0x0:_0x38f79d?_0x5c9cb1(_0x2e3305,_0x96feb7):_0x2e3305,_0x25c024=_0x896d9a[_0x3eb387(0x35e)]-0x1,_0x245524;_0x25c024>=0x0;_0x25c024--)(_0x245524=_0x896d9a[_0x25c024])&&(_0x27ba08=(_0x38f79d?_0x245524(_0x2e3305,_0x96feb7,_0x27ba08):_0x245524(_0x27ba08))||_0x27ba08);return _0x38f79d&&_0x27ba08&&_0x39f54c(_0x2e3305,_0x96feb7,_0x27ba08),_0x27ba08;},_0x4ac5c0=(_0x55b599,_0x58e095)=>(_0x1f323d,_0x22567e)=>_0x58e095(_0x1f323d,_0x22567e,_0x55b599);let _0xc720b4=class extends _0x54ff7d[_0x28eb76(0x1dd)]{constructor(_0x13a94f,_0xc35e25,_0xfd085c,_0x1977fb,_0x3aaf30,_0x19361c){const _0x414642=_0x28eb76;super(),this[_0x414642(0x1bc)]=_0x13a94f,this[_0x414642(0x10c)]=_0xc35e25,this[_0x414642(0x144)]=_0xfd085c,this[_0x414642(0x14f)]=_0x1977fb,this['_univerInstanceService']=_0x3aaf30,this['_activeDirtyManagerService']=_0x19361c,this[_0x414642(0x154)](),this[_0x414642(0x2dd)]();}[_0x28eb76(0x154)](){const _0x2d7ba3=_0x28eb76;this[_0x2d7ba3(0x267)](this[_0x2d7ba3(0x1bc)][_0x2d7ba3(0x34b)](_0x18f7de=>{const _0x3b2b96=_0x2d7ba3;if(_0x18f7de['id']!==_0x1adb89['id'])return;const _0x51c6fc=_0x18f7de['params'];this[_0x3b2b96(0x10c)][_0x3b2b96(0x339)](_0x51c6fc);})),this[_0x2d7ba3(0x267)](this[_0x2d7ba3(0x1bc)][_0x2d7ba3(0x34b)](_0xb2d9d7=>{const _0x29240d=_0x2d7ba3;if(_0xb2d9d7['id']===_0x1baad8['id']){const _0x414f27=_0xb2d9d7[_0x29240d(0x1a1)];if(_0x414f27){const {unitId:_0x3fcc23,subUnitId:_0x3107d4,oldSubUnitId:_0x4563e0,pivotTableId:_0x1db6b1,pivotTableConfig:_0x373bc2,collectionConfig:_0x26780b}=_0x414f27;this[_0x29240d(0x14f)]['updateConfigCache'](_0x3fcc23,_0x4563e0,_0x414f27['pivotTableId'],null),this[_0x29240d(0x14f)][_0x29240d(0x304)](_0x3fcc23,_0x3107d4,_0x1db6b1,_0x373bc2),this[_0x29240d(0x14f)][_0x29240d(0x31e)](_0x3fcc23,_0x26780b);}}})),this[_0x2d7ba3(0x267)](this[_0x2d7ba3(0x1bc)][_0x2d7ba3(0x34b)](_0x3d77be=>{const _0x14a7a5=_0x2d7ba3;if(_0x3d77be['id']!==_0x3a0a39['id'])return;const _0x196a47=_0x27c753[_0x14a7a5(0x1b8)](this[_0x14a7a5(0x2d5)]);if(!_0x196a47)return;const {unitId:_0x55b445,subUnitId:_0xf785fd}=_0x196a47,_0x18f213=_0x3d77be['params'];if(_0x18f213[_0x14a7a5(0x2dc)]&&Object['keys'](_0x18f213[_0x14a7a5(0x2dc)])['forEach'](_0x3ab92a=>{const _0x1f4137=_0x14a7a5;var _0x525a44;(_0x525a44=_0x18f213[_0x1f4137(0x2dc)])!=null&&_0x525a44[_0x3ab92a]&&this[_0x1f4137(0x14f)][_0x1f4137(0x31e)](_0x3ab92a,_0x18f213[_0x1f4137(0x2dc)][_0x3ab92a]);}),_0x18f213[_0x14a7a5(0x12d)]){const _0x3a0700=_0x18f213['single'],{unitId:_0x4df42f,subUnitId:_0x51b46f,view:_0x540025,pivotTableId:_0xdc194,type:_0x20fc3d,pivotConfig:_0x2f2377}=_0x3a0700;if(_0x20fc3d===_0xfaf966[_0x14a7a5(0x226)])this[_0x14a7a5(0x144)][_0x14a7a5(0x150)]({'unitId':_0x4df42f,'subUnitId':_0x51b46f,'pivotTableId':_0xdc194,'type':_0x20fc3d}),this[_0x14a7a5(0x14f)]['updateConfigCache'](_0x4df42f,_0x51b46f,_0xdc194,null);else{const _0x2cc763=new _0x1f205f['PivotView']();_0x2cc763[_0x14a7a5(0x160)](_0x540025),this[_0x14a7a5(0x14f)][_0x14a7a5(0x304)](_0x4df42f,_0x51b46f,_0xdc194,_0x2f2377),this[_0x14a7a5(0x144)][_0x14a7a5(0x150)]({'unitId':_0x4df42f,'subUnitId':_0x51b46f,'pivotTableId':_0xdc194,'type':_0x20fc3d,'view':_0x2cc763}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x4df42f,'subUnitId':_0x51b46f,'view':_0x2cc763,'pivotTableId':_0xdc194,'type':_0x20fc3d});}}else _0x18f213[_0x14a7a5(0x2c9)]&&(_0x18f213[_0x14a7a5(0x2c9)][_0x14a7a5(0x287)](_0x46f564=>{const _0x317942=_0x14a7a5,{unitId:_0x225670,subUnitId:_0x3d6b2b,view:_0x221223,pivotTableId:_0x370714,type:_0x54f9e5,pivotConfig:_0x1b31fd}=_0x46f564,_0x787e62=new _0x1f205f[(_0x317942(0x25b))]();_0x787e62['formJSON'](_0x221223),this[_0x317942(0x14f)][_0x317942(0x304)](_0x225670,_0x3d6b2b,_0x370714,_0x1b31fd),this[_0x317942(0x144)][_0x317942(0x225)]({'unitId':_0x225670,'subUnitId':_0x3d6b2b,'view':_0x787e62,'pivotTableId':_0x370714,'type':_0x54f9e5});}),this[_0x14a7a5(0x14f)]['setPivotInitCompleted']());this[_0x14a7a5(0x144)][_0x14a7a5(0x2df)](_0x55b445,_0xf785fd);}));}[_0x28eb76(0x2dd)](){const _0x7c7fd0=_0x28eb76;this[_0x7c7fd0(0x2a6)]['register'](_0xaa3b4b['id'],{'commandId':_0xaa3b4b['id'],'getDirtyData'(_0x5c04e1){const _0x431f17=_0x7c7fd0;return{'dirtyUnitFeatureMap':_0x5c04e1[_0x431f17(0x1a1)]};}});}};_0xc720b4=_0x54ed65([_0x4ac5c0(0x0,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d[_0x28eb76(0x35b)])),_0x4ac5c0(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f[_0x28eb76(0x30e)])),_0x4ac5c0(0x2,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f[_0x28eb76(0x2f4)])),_0x4ac5c0(0x3,_0x54ff7d[_0x28eb76(0x283)](_0x2ba19f[_0x28eb76(0x170)])),_0x4ac5c0(0x4,_0x54ff7d['Inject'](_0x54ff7d[_0x28eb76(0xfb)])),_0x4ac5c0(0x5,_0x1d2fce[_0x28eb76(0x1fa)])],_0xc720b4);var _0x245853=Object[_0x28eb76(0xc5)],_0x1d389f=Object[_0x28eb76(0x265)],_0xe17e5d=(_0xdc9be9,_0x4ebf1a,_0x2b4e30,_0x73cae7)=>{const _0x2c63f0=_0x28eb76;for(var _0x2b8509=_0x73cae7>0x1?void 0x0:_0x73cae7?_0x1d389f(_0x4ebf1a,_0x2b4e30):_0x4ebf1a,_0x26b398=_0xdc9be9[_0x2c63f0(0x35e)]-0x1,_0x1b4f6e;_0x26b398>=0x0;_0x26b398--)(_0x1b4f6e=_0xdc9be9[_0x26b398])&&(_0x2b8509=(_0x73cae7?_0x1b4f6e(_0x4ebf1a,_0x2b4e30,_0x2b8509):_0x1b4f6e(_0x2b8509))||_0x2b8509);return _0x73cae7&&_0x2b8509&&_0x245853(_0x4ebf1a,_0x2b4e30,_0x2b8509),_0x2b8509;},_0x1908d3=(_0x1fab9a,_0x4efc86)=>(_0x4c6b67,_0x445740)=>_0x4efc86(_0x4c6b67,_0x445740,_0x1fab9a);_0x2ba19f[_0x28eb76(0xe4)]=(_0x442b9=class extends _0x54ff7d[_0x28eb76(0x2f0)]{constructor(_0xaa3800=_0x222961,_0x11e75e,_0x3d945f,_0x24a8b5,_0x4f56c0){const _0x261e1d=_0x28eb76;super(),this[_0x261e1d(0x345)]=_0xaa3800,this[_0x261e1d(0x185)]=_0x11e75e,this['_commandService']=_0x3d945f,this[_0x261e1d(0x1f7)]=_0x24a8b5,this[_0x261e1d(0x178)]=_0x4f56c0;const {..._0x3564ba}=this[_0x261e1d(0x345)];this['_configService'][_0x261e1d(0x173)](_0x4119fd,_0x3564ba),this['_initRegisterCommand'](),this[_0x261e1d(0xd5)](),this[_0x261e1d(0x1d9)]();}[_0x28eb76(0xd5)](){const _0x400607=_0x28eb76;var _0x6aa1e3;const _0x3c1cff=(_0x6aa1e3=this[_0x400607(0x345)])==null?void 0x0:_0x6aa1e3['notExecuteFormula'];this['_configService'][_0x400607(0x173)](_0x345bc3,_0x3c1cff===!0x0);}[_0x28eb76(0x1c3)](){const _0x2b538d=_0x28eb76;var _0x3eb1f5;let _0x173d67=[];const _0xaf9007=(_0x3eb1f5=this['_config'])==null?void 0x0:_0x3eb1f5[_0x2b538d(0x148)];_0xaf9007===!0x0?_0x173d67=[[_0x2ba19f[_0x2b538d(0x1eb)]],[_0x2ba19f['SheetsPivotRPCService']],[_0xc720b4],[_0x2ba19f['SheetsPivotTableAdaptorModel']],[_0x2ba19f[_0x2b538d(0x170)]],[_0x50dacd],[_0x831d2a],[_0x3c5e2d],[_0x2b12d1]]:_0xaf9007===!0x1?_0x173d67=[[_0x2ba19f[_0x2b538d(0x303)]],[_0x3c7c79]]:_0xaf9007===void 0x0&&(_0x173d67=[[_0x2ba19f[_0x2b538d(0x303)]],[_0x3c7c79],[_0x2ba19f['SheetsPivotTableService']],[_0x2ba19f[_0x2b538d(0x30e)]],[_0xc720b4],[_0x2ba19f[_0x2b538d(0x2f4)]],[_0x2ba19f[_0x2b538d(0x170)]],[_0x50dacd],[_0x831d2a],[_0x3c5e2d],[_0x2b12d1]]),_0x173d67['forEach'](_0x5b8a62=>this['_injector'][_0x2b538d(0xdc)](_0x5b8a62)),[_0x3c7c79,_0xc720b4,_0x2ba19f[_0x2b538d(0x1eb)],_0x831d2a,_0x50dacd,_0x3c5e2d,_0x2b12d1]['forEach'](_0x38b862=>{const _0x479f68=_0x2b538d;this[_0x479f68(0x185)][_0x479f68(0xc9)](_0x38b862)&&this['_injector'][_0x479f68(0xc3)](_0x38b862);});}[_0x28eb76(0xce)](){[_0x1d0f60,_0x38b3c8,_0x28574b,_0x5e58e6,_0x441461,_0x42eb04,_0x359ddf,_0x30032c,_0x693b78,_0x22b1cf,_0x50a9b7,_0x4ac270,_0x334898,_0x45af68,_0x3e5acd,_0x1e305,_0x35e531,_0x7f9561,_0x2c236e,_0x3e9d43,_0x403b4c,_0x2e128d,_0x99249c,_0x1adb89,_0x3a0a39,_0x130a93,_0xa82015,_0x354eb4,_0x20489e,_0x1ed8db,_0x4275b7,_0x3f16c3,_0xaa3b4b,_0x1baad8]['forEach'](_0x5bc83d=>{const _0x265e2b=_0x39e7;var _0x57ad8d;(_0x57ad8d=this[_0x265e2b(0x178)])==null||_0x57ad8d[_0x265e2b(0x1ac)](_0x5bc83d),this[_0x265e2b(0x1bc)][_0x265e2b(0xe9)](_0x5bc83d);});}[_0x28eb76(0x1d9)](){const _0x26dfd3=_0x28eb76;var _0x1b79cc;const _0x144112=(_0x1b79cc=this[_0x26dfd3(0x1f7)][_0x26dfd3(0x2b5)](_0x5dab25[_0x26dfd3(0x1d1)]))!=null?_0x1b79cc:{},{ls:_0x11b26c,pbk:_0x49eee2,tvld:_0xb4edd3}=_0x144112,_0x32c13b=_0x3da561(0x0,_0x11b26c,_0x49eee2)[_0x26dfd3(0x147)];_0xb4edd3!==!0x1&&this[_0x26dfd3(0x1f7)][_0x26dfd3(0x173)](_0x5dab25[_0x26dfd3(0x1d1)],{'ls':_0x11b26c,'pbk':_0x49eee2,'tvld':_0x32c13b});}},_0x2edd4f(_0x442b9,_0x28eb76(0x232),_0x4c6b36),_0x2edd4f(_0x442b9,_0x28eb76(0x343),_0x54ff7d[_0x28eb76(0x1dc)][_0x28eb76(0x2a1)]),_0x442b9),_0x2ba19f[_0x28eb76(0xe4)]=_0xe17e5d([_0x1908d3(0x1,_0x54ff7d[_0x28eb76(0x283)](_0x54ff7d['Injector'])),_0x1908d3(0x2,_0x54ff7d['Inject'](_0x54ff7d[_0x28eb76(0x35b)])),_0x1908d3(0x3,_0x54ff7d[_0x28eb76(0x208)]),_0x1908d3(0x4,_0x54ff7d[_0x28eb76(0x1c0)](_0x23a9ff[_0x28eb76(0x196)]))],_0x2ba19f['UniverSheetsPivotTablePlugin']),_0x2ba19f[_0x28eb76(0x1b1)]=_0x28574b,_0x2ba19f['AddPivotFieldMutation']=_0x3e5acd,_0x2ba19f[_0x28eb76(0x119)]=_0x38b3c8,_0x2ba19f[_0x28eb76(0x31d)]=_0x334898,_0x2ba19f[_0x28eb76(0x1ea)]=_0x323d5f,_0x2ba19f['DEFAULT_PIVOT_NUMBER']=_0xf07192,_0x2ba19f[_0x28eb76(0x35f)]=_0x5e58e6,_0x2ba19f[_0x28eb76(0xff)]=_0x203ba5,_0x2ba19f[_0x28eb76(0x335)]=_0x4ac270,_0x2ba19f[_0x28eb76(0x103)]=_0xfaf966,_0x2ba19f[_0x28eb76(0x322)]=_0xaa3b4b,_0x2ba19f[_0x28eb76(0x1d5)]=_0x4157c3,_0x2ba19f[_0x28eb76(0x218)]=_0x441461,_0x2ba19f[_0x28eb76(0x2f5)]=_0x35e531,_0x2ba19f[_0x28eb76(0x29c)]=_0x45af68,_0x2ba19f[_0x28eb76(0xeb)]=_0x7f9561,_0x2ba19f[_0x28eb76(0x338)]=_0x4c6b36,_0x2ba19f[_0x28eb76(0x195)]=_0x359ddf,_0x2ba19f[_0x28eb76(0xbc)]=_0x2c236e,_0x2ba19f[_0x28eb76(0x2ca)]=_0x20489e,_0x2ba19f['SetPivotFilterCommand']=_0x693b78,_0x2ba19f[_0x28eb76(0x259)]=_0x1e305,_0x2ba19f[_0x28eb76(0x2d0)]=_0x403b4c,_0x2ba19f[_0x28eb76(0xba)]=_0x2e128d,_0x2ba19f[_0x28eb76(0x107)]=_0x30032c,_0x2ba19f[_0x28eb76(0xdb)]=_0x3e9d43,_0x2ba19f[_0x28eb76(0x2be)]=_0x354eb4,_0x2ba19f['UpdateFieldPositionMutation']=_0x130a93,_0x2ba19f[_0x28eb76(0x228)]=_0x22b1cf,_0x2ba19f[_0x28eb76(0x2e5)]=_0x3f16c3,_0x2ba19f[_0x28eb76(0x130)]=_0x50a9b7,_0x2ba19f[_0x28eb76(0x263)]=_0x4275b7,_0x2ba19f['UpdatePivotValuePositionCommand']=_0x42eb04,_0x2ba19f['UpdateValuePositionMutation']=_0xa82015,_0x2ba19f[_0x28eb76(0x152)]=_0x1cc157,_0x2ba19f[_0x28eb76(0x253)]=_0x2ac71c,_0x2ba19f['defaultThemeStyle']=_0x8c41a9,_0x2ba19f[_0x28eb76(0x364)]=_0xf52e08,_0x2ba19f['getAdjustRangesPosition']=_0x25c9ba,_0x2ba19f[_0x28eb76(0xf2)]=_0x4365fe,_0x2ba19f[_0x28eb76(0x1f8)]=_0x2a15c8,_0x2ba19f['getInsertRowColMutations']=_0x227372,_0x2ba19f[_0x28eb76(0x2aa)]=_0x8d0306,_0x2ba19f[_0x28eb76(0x320)]=_0x3da561,_0x2ba19f[_0x28eb76(0x15a)]=_0x5829f8,_0x2ba19f[_0x28eb76(0x2b1)]=_0xa922d0,_0x2ba19f[_0x28eb76(0x289)]=_0x2ea627,Object[_0x28eb76(0xc5)](_0x2ba19f,Symbol[_0x28eb76(0xdd)],{'value':_0x28eb76(0x2b4)});}));function _0x27c9(){const _0x35a933=['Varp\x20of\x20','undos','transFromCellValue','@univerjs/rpc','version','Module','getConfig','PivotDataFieldDataTypeEnum','(Blank)','updateAllDisplayName','Expand','setTextInfo','getInfo','markDirty$','collectionChange$','SetPivotSubtotalTypeMutation','UniverSheets','document','_deletePivotTableInstanceCache','SetPivotCollapse','message','Tools','reduce','name','PivotTableFiledAreaEnum','_fieldsCollectionChange$','batch','SetPivotFieldFormatMutation','getFilterFieldIdByIndex','NotFunction','RANGE_TYPE','pushUndoRedo','PivotTableChangeTypeEnum','SetPivotOptionMutation','getInterceptPoints','size','endColumn','NotName','_univerInstanceService','getCurrentUnitForType','pageRanges','unshiftString','_pivotRenderInfoCache','getAutoDisplayName','createCollectionWithDataRange','collectionConfig','registerDirtyService','fontRenderExtension','markDirty','dataFieldId','_localeService','iterateFieldDim','tableFieldId','leftOffset','UpdatePivotFieldSourceInfoMutation','10xNDyBp','UniverEnginePivot','updateConfig','getSubtotal','getTableFieldById','error','MIN_SAFE_INTEGER','updateViewInfo','isPrefixValue','addPivotTable','Plugin','getCurrentSelections','startRow','interceptor','SheetsPivotTableAdaptorModel','RemovePivotFieldMutation','sheets-pivot.stdDevName','NO_COMMERCIAL','addField','rowCount','getTypeOfUnitDisposed$','filter','reset','getCollection','call','_viewUpdate$','isBottomTotal','getCellMatrix','areaInfo','SheetsPivotDataSourceModel','updateConfigCache','SheetsSelectionsService','getColumnCount','KveA9bUe\x20FdAW0o9bUe(XbAdeld,\x20ovSXbAtd0)\x20{\x20\x20\x20\x20AUel9\x20XbAdeldaeKUE8W9VWW80\x20=\x20XbAdeld.loXb9(\x27-\x27);\x20\x20\x20\x20AUel9\x20UWb7be3dll87d\x20=\x20C4IJ.o8Wld(89US(XbAdeldaeKUE8W9VWW80[N]));\x20\x20\x20\x20bK\x20(!UWb7be3dll87d.vF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20UWb7be3dll87d.vF\x20=\x20JvHSdW(XbAdeldaeKUE8W9VWW80[y]);\x20\x20\x20\x20}\x20\x20\x20\x20AUel9\x20blPUWndW\x20=\x2090odUK\x20PUWndW5XUS8X4AUod\x20!==\x20\x27veFdKbedF\x27\x20&&\x20ldXK\x20bel98eAdUK\x20PUWndW5XUS8X4AUod;\x20\x20\x20\x20AUel9\x20AUe9dj9\x20=\x20blPUWndW\x20?\x20ldXK\x20:\x20wbeFUw;\x20\x20\x20\x20AUel9\x20Hdll87dPUWF\x20=\x20AUe9dj9.__g8ld1y__.o8Wld(XbAdeldaeKUE8W9VWW80[N]);\x20\x20\x20\x20AUel9\x20Hdll87d\x20=\x20AUe9dj9.__Tdj__.l9Wbe7bK0(Hdll87dPUWF);\x20\x20\x20\x20AUel9\x20lb7e89vWdPUWF\x20=\x20AUe9dj9.__g8ld1y__.o8Wld(XbAdeldaeKUE8W9VWW80[2]);\x20\x20\x20\x20AUel9\x20lb7e89vWd\x20=\x20AUe9dj9.__Tdj__.l9Wbe7bK0(lb7e89vWdPUWF);\x20\x20\x20\x20AUel9\x20lb7eD8XbF\x20=\x20AUe9dj9.__MdWbK0__(lb7e89vWd,\x20Hdll87d,\x20ovSXbAtd0);\x20\x20\x20\x20AUel9\x20FUH8be\x20=\x20UWb7be3dll87d.FH;\x20\x20\x20\x20KveA9bUe\x20blmUH8be389Acbe7(UE899dWe,\x20UTUl9)\x20{\x20\x20\x20\x20\x20\x20\x20\x20AUel9\x20o899dWe\x20=\x20UE899dWe.WdoX8Ad(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20AUel9\x20cUl9\x20=\x20UTUl9.WdoX8Ad(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20AUel9\x20o899dWeE8W9l\x20=\x20o899dWe.loXb9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20AUel9\x20cUl9E8W9l\x20=\x20cUl9.loXb9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20bK\x20(!o899dWe.beAXvFdl(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wd9vWe\x20o899dWe\x20===\x20cUl9;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20bK\x20(o899dWeE8W9l.Xde79c\x20<\x20N\x20||\x20o899dWeE8W9l[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wd9vWe\x20K8Xld;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20AUel9\x20o899dWe4vKKbj\x20=\x20o899dWeE8W9l.lXbAd(G).kUbe(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20AUel9\x20cUl94vKKbj\x20=\x20cUl9E8W9l.lXbAd(-o899dWeE8W9l.Xde79c\x20+\x20G).kUbe(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20Wd9vWe\x20o899dWe4vKKbj\x20===\x20cUl94vKKbj;\x20\x20\x20\x20}\x20\x20\x20\x20Xd9\x20FUH8beD8XbF\x20=\x20FUH8be?.Xde79c\x20?\x20FUH8be.lUHd((FHa9dH)\x20=>\x20blmUH8be389Acbe7(FHa9dH,\x20XUA89bUe.cUl9e8Hd))\x20:\x209Wvd;\x20\x20\x20\x20bK\x20(XUA89bUe.cUl9e8Hd\x20===\x20\x27XUA8XcUl9\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20FUH8beD8XbF\x20=\x209Wvd;\x20\x20\x20\x20}\x20\x20\x20\x20AUel9\x20M8XbF\x20=\x20lb7eD8XbF\x20&&\x20FUH8beD8XbF;\x20\x20\x20\x20Wd9vWe\x20{\x20\x20\x20\x20\x20\x20\x20\x20M8XbF,\x20Hdll87d:\x20UWb7be3dll87d,\x20\x20\x20\x20};}','addExclusiveRange','setDirty','getPivotTableIdByCell','getValueIndex','sheet.mutation.send-pivot-data-local','delete','SheetsPivotRPCService','removePivotTable','getSheets','find','getIntersects','getDataFieldByDataFieldId','getId','getPivotItemRenderInfoCache','colStyle','4859638ZBsAYi','SetWorksheetColWidthMutation','getFormat','@univerjs/engine-render','sheets-pivot.subTotal','_initLocale','AddPivotTableMutation','updateCollectionConfig','isFeatureAuthorizedWithinTime','getPivotInfoByLicense','Injector','PivotTableViewDirtyMarkOperation','sheets-pivot.value','rangeType','sheet.mutation.set-pivot-position','_initCommandInterceptListener','sideEffectUpdateWorkerCache','SetCollapse','_refRangeHandle','filterFields','realDeleteValue','lastRow','_initRemoveSheetCommandInterceptor','IUndoRedoService','rgb(240,241,243)','executeCommand','CommandType','@univerjs-pro/license','_queryingMap','IFeatureCalculationManagerService','PivotDrillDownCommand','clearExclusiveRangesByGroupId','CustomCommandExecutionError','SHEET_PIVOT_TABLE_PLUGIN','handleAsyncResponse','dataStyle','getFieldFormat','sheet.command.add-pivot-table','ClearSelectionAllCommand','getPivotTableRangeInfo','renameField','getPivotTableModelConfig','columnFields','createDataFieldId','type','MUTATION','_config','options','cellToRange','getSubUnitPivotConfigs','_initPivotTextInfo','_refRangeService','onCommandExecuted','versions','ΣValue','rangesInfo','col','NUMBER','Filter','registerRefRange','sheet.mutation.set-pivot-sort-info','getFieldCountByArea','addPivotField','SetFilterInfo','setPivotFilter','_ensurePivotMap','getLastRow','UniverSheetsPivot','ICommandService','viewData$','adjustSheetCellData','length','MovePivotFieldCommand','_resourceManagerService','rangeKey','stdDev','ManualFilter','generateSetRangeValueMutations','getPivotDisplayConfig','_host','function','getDataFieldManager','_subjectCollectionChange','getSortInfo','getDisplayName','getDataFieldByRangeKey','@univerjs-pro/engine-pivot','_dataFieldManagerCollection','value','headerMap','#e6ebfb','_getPivotAppliedRanges','Average\x20of\x20','RemoveColMutation','map','MoveRangeMutation','mergeWorksheetSnapshotWithDefault','InsertSheetCommand','updatePivotSource','createInterceptorKey','updateDirtyPivotTable','addPivotTableWithConfig','sheet.mutation.set-pivot-filter','getPivotTableConfig','toJSON','getTargetByPivotId','getFieldDataType','from','setSubtotalType','COMMAND','contains','keys','isColMultiMeasure','_sheetsSelectionsService','SetPivotPositionMutation','getFieldIds','SetPivotCollapseMutation','PivotCellStyleTypeEnum','object','_markDirty$','updatePivotTableMatrixInfo','NAME','sourceName','get','fetchThroughAsyncInterceptors','defineProperty','getDataFieldBySourceName','InsertColMutation','fieldsConfig','has','getIntersectsPivotTable','updateDataFieldsCollection','1898tBHEZY','AsyncInterceptorManager','_initRegisterCommand','setPivotTable','createAsyncInterceptorKey','getTextSize','getSheetBySheetId','_deleteModelCache','date','_initConfig','concat','hasOwnProperty','NUM','oldRangeInfo','_pivotTableRangeInfo','SetPivotSortMutation','add','toStringTag','valueFields','updateRangeKeyMap','UniverEngineRender','sheet.mutation.pivot-update-value-position','setSourceName','sheets-pivot.averageName','UniverSheetsPivotTablePlugin','_ensurePivotTableRangeInfo','DisposableCollection','_sheetsPivotDataSourceModel','colRanges','registerCommand','updateValuePosition','RenamePivotFieldMutation','result','MoveRangeCommand','removeCollectionImp','sheet.command.add-pivot-table-with-config','min','Exiting','getEmptyPivotRanges','sheet.mutation.set-pivot-collapse','_initSnapshot','sheet.mutation.rename-pivot-field','setRangeValueUndoMutation','random','setValue','rxjs','cellValue','IUniverInstanceService','_pivotTableInstanceCache','getColCount','setDataRecordCount','PivotDisplayDataType','getPivotTableMatrixInfo','_getAutoName','ClearSelectionContentCommand','PivotTableOperationEnum','triggerDirtyFeature','sheets-pivot.config','getRowCount','SetPivotSortCommand','Values','unitId','pivotTableId','_viewData','_sheetsPivotRpcService','getFilterInfo','setFilterInfo','splice','_initViewModelBySheetInterceptor','collections','StdDev\x20of\x20','SetRangeValuesUndoMutationFactory','_sheetsPivotTableService','PivotTableValuePositionEnum','handleSourceRangeChange','Panel','getValuePosition','AddPivotTableCommand','@univerjs/core','_lifecycleService','sheet.mutation.pivot-update-field-source-info','asyncInterceptor','product','SetWorksheetActiveOperation','sheet.mutation.send-pivot-view-local','subUnitId','UniverSheetsFilter','Style','RemoveSheetMutation','Grand\x20Total','isValue','REF','average','leafStyle','_collectionConfigModel','setRange','sheet.operation.pivot-table-view-formula-mark-dirty','single','Collapse','rowHeaderMap','UpdatePivotTableSourceRangeCommand','sheetName','SetPivotSort','getAutoFitColumnsMutations','setPivotSort','updateViewData','UniverEngineFormula','dataFieldsCollection','CellValueType','@univerjs/sheets-filter','string','remove','_ensurePivotTableMatrixInfo','_pivotTableMatrixInfo','FORCE_STRING','InsertSheetUndoMutationFactory','exports','set','isDate','fetchThroughInterceptors','_sheetsPivotTableAdaptorModel','FontCache','setOptions','timeValid','notExecuteFormula','AddPivotTable','_viewData$','some','RemoveSheetsFilterMutation','getSourceName','#b2b2b2','_sheetsPivotTableConfigModel','clearRenderCache','Set','applyChangeSet','rowInfo','_initDataSendListener','sheet.mutation.get-pivot-data-local','getSheetBySheetName','level','#1d32e9','sheet.mutation.send-pivot-config-local','getPivotTableInfo','isErrorValue','PivotSubtotalTypeEnum','_model','forRow','_featureCalculationManagerService','formJSON','ObjectMatrix','669MdikEv','#f4f4f5','2974360zznLmB','rowFields','dataFields','1092345prqnCx','getFieldPositionInfoById','_requestResolvers','tuple','getTextInfo','token','getRefRangeMutationsByMoveRange','forValue','getUnit','SheetsPivotTableConfigModel','sourceRangeInfo','getMatrixFromRunTimeData','setConfig','sheets-pivot.varpName','setSortInfo','numfmt','IExclusiveRangeService','_dataSyncPrimaryController','update','Min\x20of\x20','sheets-pivot.varName','getValue','viewUpdate$','setRangeKeyMap','_onRefRangeChange','sheets-pivot.maxName','cornerInfo','cornerRanges','LifecycleService','getStyles','_injector','configVersion$','sheets.tabs.sheet','Rectangle','_createExclusiveRange','startCollectChangeset','register','BadReference','Sum\x20of\x20','Max\x20of\x20','pageStyle','startColumn','ErrorType','iterateFieldByArea','setRangeValueRedoMutation','rangeCache','SetPivotCollapseCommand','DataSyncPrimaryController','updatePivotTableRangeInfo','needSameDeleteModel','values','UpdatePivotSource','generateNullCell','collapseInfo','getMatrix','sheets-pivot.emptyPivot.values','amd','Column\x20','params','measure','var','grandTotal','getHeaderMapItem','1792540nLHYwv','sheet.command.set-pivot-filter','number','getDirtyInfo','dispose','targetCellInfo','registerSyncingMutations','removeDataField','removeField','RemoveField','symbol','AddPivotFieldCommand','setFieldFormat','pivotMutationGenerate','deleteUnitId','info','sheet.mutation.update-pivot-table-source-range','getRangeKey','getSheetCommandTarget','Row','RefRangeService','width','_commandService','Subtotal','uniqueDataFieldName','getColumnWidth','Optional','deepClone','blank','onStarting','_textInfo','getLastCol','getSheetFeatureLimit','COLUMN','updateFieldPosition','generateRandomId','Count\x20of\x20','_initPivotDataGetListener','count','charCodeAt','sequenceExecute','_subjectFieldsCollectionChange','Add','LS_CONFIG_KEY','format','next','pivotPerformCheck','PositionType','sheet.mutation.add-pivot-table','INTERCEPTOR_POINT','shouldClear','_initTimeValid','parse','SHEET_PIVOT_EXCLUSIVE_ID','UniverInstanceType','Disposable','rowRanges','getPivotTableInstance','ptn','SetPivotSetting','rangeKeyMap','getNoUsedDataFieldIds','sheet.command.move-pivot-field','movePivotField','AddPivotTableWithConfig','getAutoDisplayNameFunction','getViewData','SetFieldFormat','BLANK_ROW_COUNT','SheetsPivotTableService','getActiveSheet','limit\x20pivot','return\x20','sheet.command.set-pivot-collapse','#e6ebfa','_pivotRenderValueMatrixCache','broadcastCollectionChange','_pivotConfigChange$','getPivotTableCellData','custom','displayName','_configService','getFieldListByArea','Subject','IActiveDirtyManagerService','isArray','PivotFilterTypeEnum','DEFAULT_WORKSHEET_ROW_COUNT','dataStream','drillDown','sheet.mutation.set-pivot-format','filterId','sheet.mutation.send-init-pivot-text-local','addCollection','_ensurePivotItemRenderValueMatrixCache','DEFAULT_WORKSHEET_COLUMN_COUNT','unshift','varp','IConfigService','Value','initDataRanges','deleteDataField','PivotErrorTypeEnum','#FFFFFF','getRangeStartEndInfo','range','Column','_init','colHeaderMap','addFieldWithSourceId','setCollapse','STRING','asObservable','getUnitId','RemovePivotFieldCommand','slice','PivotTable','stringify','getRangeData','updateFieldSourceInfo','SetRangeValuesMutation','push','valuePosition','row','pivotConfigChange$','LocaleService','None','updateRenderCache','Delete','@univerjs/sheets','UpdatePivotFieldSettingCommand','textInfo','setPivotCollapse','RemovePivotField','removeCollections','sheet.mutation.remove-pivot-field','addCollectionByJSON','disposableCollection','removeSourceRangeChange','generateNewSheetName','pluginName','UpdateValuePosition','interceptCommand','_initClearSelectionCommandInterceptor','entries','refreshData','redos','lastCol','sheet.command.set-pivot-sort','RemoveRowMutation','getFieldById','_sheetInterceptorService','pivotInitCompleted$','fieldsCollectionChange$','generateMutationsByRanges','getMatrixValue','paths','SetPivotFilter','sortInfo','addRecord','numberToABC','addDirtyPivotTable','node','DIV_BY_ZERO','SetOptions','pbt','substring','pivotTableIndexConfig','_collectionChange$','_configVersion$','18446679Qzxnlb','sheet.mutation.pivot-update-field-position','_ensureViewDataMap','canUsePivot','dataRangeInfo','countNums','workbook\x20is\x20not\x20found','@univerjs/engine-formula','AddPivotField','SetPivotFilterMutation','subtotal','PivotView','stdDevp','_pivotInitCompleted$','getRangeKeyList','endCollectChangeset','MovePivotField','panel','getPivotDirtyViewInfo','UpdatePivotTableSourceRangeMutation','sheets-pivot.emptyPivot.filter','getOwnPropertyDescriptor','PivotViewCellValueTypeEnum','disposeWithMe','_initUnitDisposed','colCount','getPivotPerformCheck','getDataFieldByTableId','_exclusiveRangeService','sheets-pivot.productName','iterateField','UniverLicense','query','ReleaseType','getDataFieldId','MAX_SAFE_INTEGER','replace','_updateRenderEmptyCache','column','Range','getIndexesByPathStr','getCellRaw','sheets-pivot.sumName','getSheetId','endRow','UpdateFieldPosition','valid','getName','subscribe','valueIndex','SHEET_PIVOT_IN_MAIN_THREAD','Inject','pivotTableConfigs','createLabelField','sum','forEach','_generateUniqueVersion','unionPivotViewRange','max','refreshDataField','floor','data','Product\x20of\x20','AddField','DrillDown','2940534cDefef','removePivotField','dimension','fromJSON','intercept','setName','getDataFieldItemInfo','New','sheet.mutation.remove-pivot-table','isEmpty','_updateModelCache','RemovePivotTableMutation','SetSubtotalType','sheet.mutation.set-pivot-option','getformat','fieldIds','UNIVER_SHEET','subTotalStyle','UpdateSource','getSubUnitPivotMatrix','handleMoveRange','_activeDirtyManagerService','SheetInterceptorService','PIVOT_MUTATION_GENERATE','InsertSheetMutation','getPivotCellInfo','setPivotSetting','_updatePivotTableInstanceCache','getUpdateRangeDeleteIds','updateView'];_0x27c9=function(){return _0x35a933;};return _0x27c9();}
1
+ (function(_0x367c39,_0x12f600){const _0x20fb7e=_0x554e,_0x8b127=_0x367c39();while(!![]){try{const _0x4c14a6=-parseInt(_0x20fb7e(0x222))/0x1*(-parseInt(_0x20fb7e(0x27f))/0x2)+-parseInt(_0x20fb7e(0x34b))/0x3+parseInt(_0x20fb7e(0x2eb))/0x4*(-parseInt(_0x20fb7e(0x2ee))/0x5)+parseInt(_0x20fb7e(0x3fc))/0x6+parseInt(_0x20fb7e(0x251))/0x7+-parseInt(_0x20fb7e(0x437))/0x8*(parseInt(_0x20fb7e(0x38d))/0x9)+-parseInt(_0x20fb7e(0x2a8))/0xa;if(_0x4c14a6===_0x12f600)break;else _0x8b127['push'](_0x8b127['shift']());}catch(_0x2a5369){_0x8b127['push'](_0x8b127['shift']());}}}(_0x19f2,0xc5b89),function(_0x1a770b,_0x4c29cf){const _0x49769f=_0x554e;typeof exports==_0x49769f(0x45e)&&typeof module<'u'?_0x4c29cf(exports,require(_0x49769f(0x2fc)),require('@univerjs/core'),require('@univerjs/engine-formula'),require(_0x49769f(0x302)),require('rxjs'),require(_0x49769f(0x282)),require(_0x49769f(0x201)),require(_0x49769f(0x3ab)),require(_0x49769f(0x24e))):typeof define==_0x49769f(0x3dd)&&define[_0x49769f(0x3f5)]?define([_0x49769f(0x3af),_0x49769f(0x2fc),_0x49769f(0x3db),_0x49769f(0x43c),_0x49769f(0x302),_0x49769f(0x33f),'@univerjs-pro/license',_0x49769f(0x201),_0x49769f(0x3ab),_0x49769f(0x24e)],_0x4c29cf):(_0x1a770b=typeof globalThis<'u'?globalThis:_0x1a770b||self,_0x4c29cf(_0x1a770b[_0x49769f(0x3c1)]={},_0x1a770b[_0x49769f(0x3a6)],_0x1a770b[_0x49769f(0x204)],_0x1a770b['UniverEngineFormula'],_0x1a770b[_0x49769f(0x440)],_0x1a770b[_0x49769f(0x33f)],_0x1a770b[_0x49769f(0x231)],_0x1a770b[_0x49769f(0x264)],_0x1a770b[_0x49769f(0x2a5)],_0x1a770b['UniverEngineRender']));}(this,function(_0x31f249,_0x31bb8d,_0x3c4cb4,_0x420edd,_0x2bdc55,_0x546c70,_0x33a9ca,_0x2a93cf,_0x2a1490,_0x81333d){'use strict';const _0x37cf57=_0x554e;var _0x397570=Object['defineProperty'],_0x3d8ea8=(_0x2f4996,_0x274aa2,_0x3dcc99)=>_0x274aa2 in _0x2f4996?_0x397570(_0x2f4996,_0x274aa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dcc99}):_0x2f4996[_0x274aa2]=_0x3dcc99,_0x2674dc=(_0x4243a3,_0x542471,_0x40310b)=>_0x3d8ea8(_0x4243a3,typeof _0x542471!=_0x37cf57(0x2d5)?_0x542471+'':_0x542471,_0x40310b),_0xd96a56;const _0x21a8d0=Number[_0x37cf57(0x327)](0x6738a72f),_0xfdcfbf=0x10,_0x17a5cb=0x1,_0x56b1a3=_0x37cf57(0x374),_0x333bcd=0x1,_0x34e8d7='rgb(240,241,243)',_0x476466=_0x37cf57(0x357),_0x18efb6=_0x37cf57(0x24f),_0x484b0f=_0x37cf57(0x42d),_0x4e66d8=_0x37cf57(0x42d),_0x100b6f=_0x37cf57(0x2fa),_0x2dd50f='#1d32e9',_0x34a2ac=_0x37cf57(0x34a),_0x47c9c1=_0x37cf57(0x376),_0x54a8cc=_0x37cf57(0x2d1),_0x14cd76=_0x37cf57(0x34a),_0x3f6f56=_0x37cf57(0x3bf),_0x39fbc5=0xe,_0x324629=0x6;var _0x304da5=(_0x5f05d1=>(_0x5f05d1['Exiting']=_0x37cf57(0x27c),_0x5f05d1[_0x37cf57(0x1f6)]=_0x37cf57(0x28a),_0x5f05d1))(_0x304da5||{});const _0xd4f914={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''}}},_0x336349=0x1e,_0x3c2283={'b':{'s':0x1,'cl':{'rgb':_0x18efb6}},'l':{'s':0x1,'cl':{'rgb':_0x18efb6}},'r':{'s':0x1,'cl':{'rgb':_0x18efb6}},'t':{'s':0x1,'cl':{'rgb':_0x18efb6}}},_0x2d99ff={'bg':{'rgb':_0x34e8d7},'ht':0x2,'vt':0x2,'tb':0x1},_0x96e0d5={'bg':{'rgb':_0x476466},'ht':0x2,'vt':0x2,'tb':0x1},_0x16a3fd={'rowStyle':{'bg':{'rgb':_0x3f6f56},'bd':_0x3c2283,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x54a8cc},'bd':null,'cl':{'rgb':_0x14cd76},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3c2283,'bg':{'rgb':_0x47c9c1},'vt':0x2},'cornerStyle':{'bd':_0x3c2283,'bg':{'rgb':_0x100b6f},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3c2283,'bg':{'rgb':_0x484b0f},'vt':0x2},'leafStyle':{'bd':_0x3c2283,'bg':{'rgb':_0x4e66d8},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x2dd50f},'cl':{'rgb':_0x34a2ac},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3c2283,'vt':0x2}},_0x27ed57=(_0x41dabc,_0x4c996a,_0x1819bc)=>{const _0x1a4bde=_0x37cf57;let _0x28c2b3;const _0x2949e2=_0x41dabc[_0x1a4bde(0x2d9)](_0x3c4cb4[_0x1a4bde(0x444)])['getCurrentUnitForType'](_0x3c4cb4[_0x1a4bde(0x465)]['UNIVER_SHEET']);if(!_0x2949e2)return null;const _0x1f26ca=_0x2949e2[_0x1a4bde(0x3e0)]();let _0x254d3b;if(_0x1819bc&&(_0x254d3b=_0x1f26ca['setValue'](_0x1819bc)),_0x4c996a!=null&&_0x4c996a['v']||(_0x4c996a==null?void 0x0:_0x4c996a['v'])===0x0){_0x28c2b3||(_0x28c2b3={});const _0x7a8355=_0x31d4b8(_0x4c996a['v']);typeof _0x7a8355=='number'?_0x28c2b3['t']=_0x3c4cb4[_0x1a4bde(0x432)][_0x1a4bde(0x40e)]:typeof _0x7a8355=='string'&&(_0x28c2b3['t']=_0x3c4cb4[_0x1a4bde(0x432)][_0x1a4bde(0x1f0)]),_0x28c2b3['v']=_0x7a8355;}return(_0x4c996a!=null&&_0x4c996a['i']||(_0x4c996a==null?void 0x0:_0x4c996a['i'])===0x0)&&(_0x28c2b3||(_0x28c2b3={}),_0x28c2b3['fi']=_0x4c996a['i']),_0x4c996a!=null&&_0x4c996a['s']&&(_0x28c2b3||(_0x28c2b3={}),_0x28c2b3[_0x1a4bde(0x46a)]=_0x4c996a['s']),_0x1819bc&&(_0x28c2b3||(_0x28c2b3={}),_0x28c2b3['s']=_0x254d3b),_0x28c2b3;},_0x2ab859=(_0x2eca24,_0x20ba86,_0x28a942,_0x5e6ad1)=>{const _0x20f67a=_0x37cf57;var _0x46b01a,_0x3a9e6f,_0x553d8f,_0x337ae7,_0x32a3c3,_0x500b29,_0x3f4bff,_0x7479af,_0x2f47f6,_0xf483cd,_0x536ef5,_0x5b7d19,_0x66d5ea,_0x1fc662;const _0x265026=_0x28a942[_0x20f67a(0x44d)],{cornerView:_0x1ee70d,rowView:_0x21fc42,colView:_0x117029,dataView:_0x57b640,pageView:_0x572f37,formatMap:_0x3372c3}=_0x20ba86,{row:_0x22a3b1,col:_0x1b8841}=_0x265026,_0x9a0ad8=new _0x3c4cb4[(_0x20f67a(0x39c))](),_0x35c167={},_0x5247dc={},_0x210f0b={},_0x117c74={},_0xeec952={};let _0x559fdb=_0x22a3b1,_0xd4f730=_0x1b8841;Object['keys'](_0x572f37['data'])[_0x20f67a(0x340)](_0xc3c37d=>{const _0x20fbff=_0x20f67a;Object['keys'](_0x572f37['data'][Number(_0xc3c37d)])[_0x20fbff(0x340)](_0x72d50e=>{const _0x358d78=_0x20fbff,_0x2cede0={..._0x572f37[_0x358d78(0x33c)][Number(_0xc3c37d)][Number(_0x72d50e)]};_0x9a0ad8[_0x358d78(0x2b1)](Number(_0xc3c37d)+_0x559fdb,Number(_0x72d50e)+_0xd4f730,_0x27ed57(_0x2eca24,_0x2cede0,_0x16a3fd['pageStyle']));});});const _0x4833e6=Object[_0x20f67a(0x2e2)](_0x572f37[_0x20f67a(0x33c)])['length'];_0x559fdb+=_0x4833e6+(_0x4833e6?_0x333bcd:0x0);const _0x161c6c=_0x1ee70d['getRowCount'](),_0x1911bc=_0x1ee70d[_0x20f67a(0x271)]();for(let _0x52299a=0x0;_0x52299a<_0x161c6c;_0x52299a++)for(let _0x538172=0x0;_0x538172<_0x1911bc;_0x538172++){const _0x5accbd={...(_0x3a9e6f=(_0x46b01a=_0x1ee70d['data'])==null?void 0x0:_0x46b01a[_0x52299a])==null?void 0x0:_0x3a9e6f[_0x538172]};_0x5accbd&&((_0x553d8f=_0x21fc42[_0x20f67a(0x479)][_0x538172])!=null&&_0x553d8f[_0x20f67a(0x422)])&&(_0x5accbd['v']=''+_0x5e6ad1[_0x20f67a(0x324)]),_0x9a0ad8['setValue'](_0x52299a+_0x559fdb,_0x538172+_0xd4f730,_0x27ed57(_0x2eca24,_0x5accbd,_0x16a3fd[_0x20f67a(0x220)]));}for(let _0x4bb8f3=0x0;_0x4bb8f3<_0x1ee70d[_0x20f67a(0x2b5)][_0x20f67a(0x3fb)];_0x4bb8f3++)_0x1ee70d['info'][_0x4bb8f3]&&(_0x210f0b[''+(_0x4bb8f3+_0xd4f730)]=_0x1ee70d[_0x20f67a(0x2b5)][_0x4bb8f3]);_0xd4f730+=_0x1911bc;const _0x53272c=_0x117029[_0x20f67a(0x479)],_0x2017d7=_0x117029[_0x20f67a(0x269)]()>=0x0?_0x117029[_0x20f67a(0x269)]()+0x1:0x0,_0x4f8da3=_0x117029[_0x20f67a(0x24b)]()>=0x0?_0x117029[_0x20f67a(0x24b)]()+0x1:0x0;for(let _0x4075b3=0x0;_0x4075b3<_0x4f8da3;_0x4075b3++){for(let _0x3a3c06=0x0;_0x3a3c06<_0x2017d7;_0x3a3c06++){const _0x32cffb={...(_0x32a3c3=(_0x337ae7=_0x117029[_0x20f67a(0x33c)])==null?void 0x0:_0x337ae7[_0x3a3c06])==null?void 0x0:_0x32a3c3[_0x4075b3]},_0x669417=(_0x500b29=_0x53272c[_0x3a3c06])==null?void 0x0:_0x500b29[_0x20f67a(0x232)],_0x575fe3=_0x3372c3[_0x669417];_0x32cffb&&(_0x32cffb['v']=_0x3e3d36(_0x32cffb,_0x3a3c06===0x0&&((_0x3f4bff=_0x117029[_0x20f67a(0x360)](_0x4075b3+0x1))==null?void 0x0:_0x3f4bff['isValue']),_0x575fe3,_0x5e6ad1));let _0x8f77dc;_0x575fe3?_0x8f77dc={..._0x16a3fd[_0x20f67a(0x46b)],'n':{'pattern':_0x575fe3}}:_0x8f77dc={..._0x16a3fd[_0x20f67a(0x46b)]},_0x9a0ad8[_0x20f67a(0x2b1)](_0x3a3c06+_0x559fdb,_0x4075b3+_0xd4f730,_0x27ed57(_0x2eca24,_0x32cffb,_0x8f77dc));}_0x117029[_0x20f67a(0x2b5)][_0x4075b3]&&(_0x5247dc[''+(_0x4075b3+_0xd4f730)]=_0x117029[_0x20f67a(0x2b5)][_0x4075b3]),_0x117029[_0x20f67a(0x479)][_0x4075b3+0x1]&&(_0xeec952[''+(_0x4075b3+_0x559fdb+0x1)]=_0x117029[_0x20f67a(0x479)][_0x4075b3+0x1]);}_0x559fdb+=_0x161c6c;const _0x2bf07c=_0x21fc42['headerMap'],_0x46325=_0x21fc42['getLastRow']()>=0x0?_0x21fc42[_0x20f67a(0x269)]()+0x1:0x0,_0x46f3d5=_0x21fc42[_0x20f67a(0x24b)]()>=0x0?_0x21fc42[_0x20f67a(0x24b)]()+0x1:0x0;for(let _0x1aec6e=0x0;_0x1aec6e<_0x46325;_0x1aec6e++){for(let _0x5280c7=0x0;_0x5280c7<_0x46f3d5;_0x5280c7++){const _0x3fe8c6={...(_0x2f47f6=(_0x7479af=_0x21fc42['data'])==null?void 0x0:_0x7479af[_0x1aec6e])==null?void 0x0:_0x2f47f6[_0x5280c7]},_0xed373f=(_0xf483cd=_0x2bf07c[_0x5280c7])==null?void 0x0:_0xf483cd[_0x20f67a(0x232)],_0x5c91c5=_0x3372c3[_0xed373f];_0x3fe8c6&&(_0x3fe8c6['v']=_0x3e3d36(_0x3fe8c6,!0x1,_0x5c91c5,_0x5e6ad1));let _0x55c48a;_0x21fc42[_0x20f67a(0x2b5)][_0x1aec6e][_0x20f67a(0x329)]===_0x21fc42[_0x20f67a(0x271)]()?_0x55c48a=_0x16a3fd[_0x20f67a(0x2ad)]:_0x21fc42[_0x20f67a(0x2b5)][_0x1aec6e]['isBottomTotal']?_0x55c48a=_0x21fc42['info'][_0x1aec6e]['level']===0x0?_0x16a3fd[_0x20f67a(0x2a6)]:_0x16a3fd[_0x20f67a(0x43e)]:_0x55c48a=_0x16a3fd[_0x20f67a(0x2cb)],_0x5c91c5&&(_0x55c48a={..._0x55c48a,'n':{'pattern':_0x5c91c5}}),_0x9a0ad8[_0x20f67a(0x2b1)](_0x1aec6e+_0x559fdb,_0x5280c7+_0x1b8841,_0x27ed57(_0x2eca24,_0x3fe8c6,_0x55c48a));}_0x21fc42[_0x20f67a(0x2b5)][_0x1aec6e]&&(_0x35c167[''+(_0x1aec6e+_0x559fdb)]=_0x21fc42['info'][_0x1aec6e]),_0x21fc42[_0x20f67a(0x479)][_0x1aec6e]&&(_0x117c74[''+(_0x1aec6e+_0x1b8841)]=_0x21fc42[_0x20f67a(0x479)][_0x1aec6e]);}const _0x3db48d=_0x57b640['getRowCount'](),_0x373ffe=_0x57b640[_0x20f67a(0x271)]();for(let _0x51df80=0x0;_0x51df80<_0x3db48d;_0x51df80++)for(let _0x4023ab=0x0;_0x4023ab<_0x373ffe;_0x4023ab++){const _0x34b17b={...(_0x5b7d19=(_0x536ef5=_0x57b640[_0x20f67a(0x33c)])==null?void 0x0:_0x536ef5[_0x51df80])==null?void 0x0:_0x5b7d19[_0x4023ab]};let _0x41aff7;_0x21fc42['info'][_0x51df80][_0x20f67a(0x46f)]?_0x41aff7=_0x21fc42['info'][_0x51df80][_0x20f67a(0x329)]===0x0?_0x16a3fd[_0x20f67a(0x2a6)]:_0x16a3fd[_0x20f67a(0x43e)]:_0x41aff7=_0x16a3fd[_0x20f67a(0x267)];const _0x4c6f87=_0x21fc42[_0x20f67a(0x2b5)][_0x51df80][_0x20f67a(0x44b)],_0x5be00f=_0x117029[_0x20f67a(0x2b5)][_0x4023ab][_0x20f67a(0x44b)],_0x13646a=Math[_0x20f67a(0x462)](_0x4c6f87,_0x5be00f),_0x23073f=_0x28a942[_0x20f67a(0x22a)][_0x20f67a(0x47f)]['concat']();let _0x43022e='';_0x13646a<0x0?_0x43022e=(_0x66d5ea=_0x23073f[0x0])!=null?_0x66d5ea:'':_0x43022e=(_0x1fc662=_0x23073f[_0x13646a])!=null?_0x1fc662:'';const _0x3837f8=_0x3372c3[_0x43022e];_0x3837f8&&(_0x41aff7={..._0x41aff7,'n':{'pattern':_0x3837f8}}),_0x9a0ad8[_0x20f67a(0x2b1)](_0x51df80+_0x559fdb,_0x4023ab+_0xd4f730,_0x27ed57(_0x2eca24,_0x34b17b,_0x41aff7));}return{'valueMatrix':_0x9a0ad8,'rowInfo':_0x35c167,'colInfo':_0x5247dc,'cornerInfo':_0x210f0b,'rowHeaderMap':_0x117c74,'colHeaderMap':_0xeec952};};function _0x3e3d36(_0x59cfae,_0x22539c,_0x32a3fe,_0x535b3a){const _0x54ef42=_0x37cf57;let _0x274b35=_0x59cfae['v'];_0x22539c&&(_0x274b35=''+_0x535b3a[_0x54ef42(0x324)]);const _0x19d999=_0x59cfae['t']&&(_0x59cfae['t']&_0x31bb8d[_0x54ef42(0x33a)][_0x54ef42(0x277)])>0x0;if(_0x19d999&&(_0x274b35=''+_0x535b3a[_0x54ef42(0x46d)]),_0x59cfae['s']===_0x31bb8d['PivotCellStyleTypeEnum'][_0x54ef42(0x2b7)]){let _0x41557a=_0x274b35,_0x42d177='';_0x31bb8d[_0x54ef42(0x290)](_0x274b35)&&(_0x41557a=_0x274b35[_0x54ef42(0x373)],_0x42d177=_0x274b35[_0x54ef42(0x300)]);const _0x4aaf75=_0x32a3fe&&!_0x19d999?_0x3c4cb4[_0x54ef42(0x47b)]['format'](_0x32a3fe,Number(_0x41557a)):_0x41557a;_0x42d177?_0x274b35=_0x4aaf75+'\x20'+_0x42d177:_0x274b35=_0x4aaf75+'\x20'+_0x535b3a[_0x54ef42(0x1ec)];}else _0x59cfae['s']===_0x31bb8d[_0x54ef42(0x412)][_0x54ef42(0x3aa)]&&(_0x274b35=_0x274b35+'\x20'+_0x535b3a[_0x54ef42(0x27a)]);return _0x274b35;}function _0x31d4b8(_0x258170){const _0x5a4524=_0x37cf57;if(_0x31bb8d['isErrorValue'](_0x258170)){const {errorType:_0x5e439b}=_0x258170;switch(_0x5e439b){case _0x31bb8d[_0x5a4524(0x229)][_0x5a4524(0x29c)]:return _0x420edd[_0x5a4524(0x450)]['DIV_BY_ZERO'];case _0x31bb8d[_0x5a4524(0x229)][_0x5a4524(0x470)]:return _0x420edd[_0x5a4524(0x450)]['NUM'];case _0x31bb8d[_0x5a4524(0x229)][_0x5a4524(0x3f1)]:return _0x420edd[_0x5a4524(0x450)][_0x5a4524(0x29b)];case _0x31bb8d['PivotErrorTypeEnum'][_0x5a4524(0x28d)]:return _0x420edd['ErrorType'][_0x5a4524(0x29b)];case _0x31bb8d[_0x5a4524(0x229)]['BadReference']:return _0x420edd[_0x5a4524(0x450)][_0x5a4524(0x3b3)];}}return _0x258170;}function _0x16fcbe(_0x3f5796,_0x27a5d1,_0x137bf1=!0x1,_0x20b861=!0x1){const _0x32dae0=_0x37cf57,{data:_0x4ac39d}=_0x27a5d1,_0x2f344e=_0x27a5d1['getRowCount'](),_0x3bd5fd=_0x27a5d1['getColCount']();if(_0x2f344e<=0x0||_0x3bd5fd<=0x0)return[];const _0x26f111=_0x27a5d1[_0x32dae0(0x24b)](),_0x17d3fe=_0x27a5d1['getLastRow'](),_0x1fec7d=_0x20b861?_0x17d3fe>=0x0?_0x17d3fe+0x1:0x0:_0x2f344e,_0x38089c=_0x20b861?_0x26f111>=0x0?_0x26f111+0x1:0x0:_0x3bd5fd,{row:_0x19f4df,col:_0x5f3cd5}=_0x3f5796,_0x58861e=_0x19f4df,_0x291977=_0x5f3cd5;if(_0x137bf1){const _0x31b9cb=[];for(const [_0x3926bb,_0x195a12]of Object['entries'](_0x4ac39d))for(const [_0x48192a,_0x458a39]of Object[_0x32dae0(0x276)](_0x195a12))_0x31b9cb[_0x32dae0(0x1eb)](_0x3c4cb4['cellToRange'](_0x58861e+Number(_0x3926bb),_0x291977+Number(_0x48192a)));return _0x31b9cb;}else{const _0x25e819=_0x20b861?_0x1fec7d>0x0?0x1:0x0:0x1,_0x335c84=_0x20b861?_0x38089c>0x0?0x1:0x0:0x1,_0x5cb69b=_0x19f4df+_0x1fec7d-_0x25e819,_0x1b43a9=_0x5f3cd5+_0x38089c-_0x335c84;return[{'startRow':_0x58861e,'startColumn':_0x291977,'endRow':_0x5cb69b,'endColumn':_0x1b43a9}];}}const _0x42d250=_0x37cf57(0x1fb),_0xe706fe=_0x37cf57(0x226);var _0x4c34a3=(_0x174055=>(_0x174055[_0x37cf57(0x333)]=_0x37cf57(0x350),_0x174055[_0x37cf57(0x21e)]=_0x37cf57(0x492),_0x174055['AddPivotField']=_0x37cf57(0x3d3),_0x174055[_0x37cf57(0x2c3)]=_0x37cf57(0x2c3),_0x174055[_0x37cf57(0x2f8)]=_0x37cf57(0x32d),_0x174055[_0x37cf57(0x2fd)]='movePivotField',_0x174055[_0x37cf57(0x434)]='removePivotField',_0x174055['SetPivotCollapse']='setPivotCollapse',_0x174055[_0x37cf57(0x471)]=_0x37cf57(0x289),_0x174055[_0x37cf57(0x2cf)]=_0x37cf57(0x2df),_0x174055['SetPivotSetting']=_0x37cf57(0x330),_0x174055['UpdatePivotSource']='updatePivotSource',_0x174055[_0x37cf57(0x28e)]=_0x37cf57(0x3c5),_0x174055[_0x37cf57(0x2d4)]=_0x37cf57(0x200),_0x174055))(_0x4c34a3||{});const _0x362ad9={'sheets-pivot.blankValue':_0x37cf57(0x478),'sheets-pivot.columnName':_0x37cf57(0x499),'sheets-pivot.subTotalText':_0x37cf57(0x3c7),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x37cf57(0x29f),'sheets-pivot.averageName':_0x37cf57(0x236),'sheets-pivot.countName':_0x37cf57(0x2b2),'sheets-pivot.countNumsName':_0x37cf57(0x2b2),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x37cf57(0x420),'sheets-pivot.stdDevName':_0x37cf57(0x3c8),'sheets-pivot.stdDevpName':_0x37cf57(0x3a9),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x37cf57(0x342),'sheets-pivot.varpName':_0x37cf57(0x273),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x37cf57(0x272),'sheets-pivot.value':_0x37cf57(0x300),'sheets-pivot.blank':_0x37cf57(0x277),'sheets-pivot.emptyPivot.filter':_0x37cf57(0x333),'sheets-pivot.emptyPivot.row':_0x37cf57(0x26d),'sheets-pivot.emptyPivot.column':_0x37cf57(0x475),'sheets-pivot.emptyPivot.values':_0x37cf57(0x447)},_0x3d6757={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2163fb=_0x3c4cb4[_0x37cf57(0x217)](_0x37cf57(0x408)),_0x47042d=_0x3c4cb4[_0x37cf57(0x23f)](_0x37cf57(0x2a7));var _0x212309=(_0x591bc4=>(_0x591bc4['add']=_0x37cf57(0x3a3),_0x591bc4['delete']=_0x37cf57(0x46c),_0x591bc4[_0x37cf57(0x49e)]=_0x37cf57(0x49e),_0x591bc4))(_0x212309||{}),_0x26022f=(_0x17aa7c=>(_0x17aa7c['Add']='add',_0x17aa7c[_0x37cf57(0x223)]=_0x37cf57(0x487),_0x17aa7c[_0x37cf57(0x426)]='delete',_0x17aa7c))(_0x26022f||{});const _0x403099={0x0:'Q',0x1:'2',0x2:'y',0x3:'L',0x4:'N',0x5:'9',0x6:'w',0x7:'n',0x8:'S',0x9:'B','k':'0','Y':'1','e':'3','q':'4','G':'5','f':'6','J':'7','C':'8','h':'a','w':'b','P':'c','H':'d','g':'e','I':'f','d':'g','X':'h','s':'i','t':'j','S':'k','L':'l','A':'m','c':'o','u':'p','U':'q','n':'r','B':'s','z':'t','O':'u','V':'v','F':'x','D':'z','y':'A','x':'C','R':'D','K':'E','i':'F','W':'G','m':'H','E':'I','v':'J','b':'K','Z':'M','Q':'O','l':'P','p':'R','r':'T','N':'U','a':'V','M':'W','o':'X','T':'Y','j':'Z'},_0x3c71e1=_0x37cf57(0x406),_0x493a83={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x25b647={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x260e50={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x36fd59={'type':_0x3c4cb4[_0x37cf57(0x29a)]['MUTATION'],'id':_0x37cf57(0x42e),'handler':()=>!0x0},_0x1c5c18={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x479667=_0x468a83=>{var _0x492220;return((_0x492220=_0x468a83['body'])==null?void 0x0:_0x492220['dataStream']['replace'](/\r\n$/,''))||'';};class _0x5b9da3 extends _0x31bb8d['DataFieldManager']{constructor(_0x3fd202,_0x295008){const _0x18f373=_0x37cf57;super(),_0x2674dc(this,_0x18f373(0x352),{}),_0x2674dc(this,_0x18f373(0x40d)),_0x2674dc(this,_0x18f373(0x474)),(this[_0x18f373(0x40d)]=_0x295008,this[_0x18f373(0x474)]=_0x3fd202);}[_0x37cf57(0x34d)](){const _0x3a8775=_0x37cf57;for(const _0x1f69a2 in this[_0x3a8775(0x339)]){const _0x47e34c=this[_0x3a8775(0x339)][_0x1f69a2],_0x21a3c7=_0x47e34c[_0x3a8775(0x2f6)]();this['rangeKeyMap'][_0x21a3c7]=_0x47e34c[_0x3a8775(0x389)]();}}[_0x37cf57(0x3e6)](){const _0x12e002=_0x37cf57,_0x205c26=this[_0x12e002(0x474)];return _0x53d1c0['bind'](_0x205c26);}[_0x37cf57(0x1fd)](_0x493781){const _0x3b8886=_0x37cf57,_0x455b41=this[_0x3b8886(0x339)][_0x493781][_0x3b8886(0x2bc)];delete this[_0x3b8886(0x339)][_0x493781],delete this[_0x3b8886(0x352)][_0x455b41];}[_0x37cf57(0x414)](_0x18c3f0){const _0x234ecd=_0x37cf57;var _0xc54bc,_0x57e2e7;const _0x52463c=this['_host'][_0x234ecd(0x429)](_0x18c3f0);if(_0x52463c){const {unitId:_0x5afeec,subUnitId:_0x249d20}=_0x52463c,_0x1ea58a=(_0xc54bc=this[_0x234ecd(0x474)][_0x234ecd(0x3f0)](_0x5afeec,_0x249d20,_0x18c3f0))==null?void 0x0:_0xc54bc['sourceRangeInfo'];this[_0x234ecd(0x474)]['broadcastCollectionChange']({'token':_0x18c3f0,'type':_0x212309[_0x234ecd(0x46c)],'dataRangeInfo':_0x1ea58a});}(_0x57e2e7=this[_0x234ecd(0x378)](_0x18c3f0))==null||_0x57e2e7[_0x234ecd(0x3fa)](),delete this[_0x234ecd(0x48c)][_0x18c3f0];}['getRangeKey'](_0x5097b8,_0x8addab){const _0x20042b=_0x37cf57,{sheetName:_0x39a5be,unitId:_0x2179ba,range:_0x24c12d}=_0x5097b8,{startRow:_0x539411,endRow:_0x421a73}=_0x24c12d;return _0x420edd[_0x20042b(0x41f)](_0x2179ba,_0x39a5be,{'startRow':_0x539411,'endRow':_0x421a73,'startColumn':_0x8addab,'endColumn':_0x8addab});}[_0x37cf57(0x287)](_0x1be49a){const _0x32f68d=_0x37cf57;return this[_0x32f68d(0x339)][this[_0x32f68d(0x352)][_0x1be49a]];}[_0x37cf57(0x280)](_0x32cd82,_0xbe11d9){this['rangeKeyMap'][_0x32cd82]=_0xbe11d9;}[_0x37cf57(0x3f6)](_0x15980b,_0x29c0cf){const _0x1ee5ee=_0x37cf57;this['rangeKeyMap'][_0x29c0cf]=this[_0x1ee5ee(0x352)][_0x15980b],delete this['rangeKeyMap'][_0x15980b];}[_0x37cf57(0x40a)](_0x9b0473,_0x3ce7a2,_0x356cc6,_0x37180a){const _0x3de7c1=_0x37cf57,_0x116381=new _0x31bb8d[(_0x3de7c1(0x26c))](this);_0x116381[_0x3de7c1(0x3b9)](_0x3ce7a2);const _0x232e15=[];let _0x540223=0x0;for(const _0x3665cc of _0x116381[_0x3de7c1(0x2c2)]){const _0x7424f1=this['getRangeKey'](_0x356cc6,_0x540223),_0x5da25e=this[_0x3de7c1(0x339)][_0x3665cc];_0x5da25e&&(_0x5da25e['rangeKey']=_0x7424f1,this['setRangeKeyMap'](_0x7424f1,_0x3665cc),_0x232e15[_0x3de7c1(0x1eb)]({'index':_0x540223,'dataField':_0x5da25e})),_0x540223++;}return this['addCollection'](_0x9b0473,_0x116381,_0x356cc6,_0x37180a),{'collection':_0x116381,'updateDataFieldList':_0x232e15};}[_0x37cf57(0x3fd)](_0x5ccabc,_0x18077a){const _0x9ce40=_0x37cf57;return _0x5ccabc[_0x9ce40(0x34f)]===_0x3c4cb4[_0x9ce40(0x417)]['COLUMN']?{'startRow':0x0,'startColumn':_0x5ccabc[_0x9ce40(0x40c)],'endRow':_0x18077a['getRowCount']()-0x1,'endColumn':_0x5ccabc[_0x9ce40(0x37d)]}:{'startRow':_0x5ccabc[_0x9ce40(0x421)],'startColumn':_0x5ccabc[_0x9ce40(0x40c)],'endRow':_0x5ccabc['endRow'],'endColumn':_0x5ccabc[_0x9ce40(0x37d)]};}[_0x37cf57(0x47c)](_0x5864ee){const _0x2b9f3a=_0x37cf57,{sheetName:_0x460202,range:_0xc8701}=_0x5864ee,_0x495d11=this[_0x2b9f3a(0x40d)][_0x2b9f3a(0x3f8)](_0x3c4cb4[_0x2b9f3a(0x465)]['UNIVER_SHEET']),_0x3c355e=_0x495d11['getSheetBySheetName'](_0x460202),_0x48ff39=_0x3c355e[_0x2b9f3a(0x20c)](),{startColumn:_0x11446c,startRow:_0x94bd82,endColumn:_0x2bb3a2}=this[_0x2b9f3a(0x3fd)](_0xc8701,_0x3c355e),_0x929a1b=_0x495d11['getStyles'](),_0x145600=new _0x31bb8d[(_0x2b9f3a(0x26c))](this);_0x145600['setRange'](_0x5864ee);const _0x30ebd2=[],_0x22a3a9={};for(let _0x599957=_0x11446c;_0x599957<=_0x2bb3a2;_0x599957++){const _0x2281d0=_0x48ff39[_0x2b9f3a(0x225)](_0x94bd82,_0x599957),_0xd31aaa=this['getRangeKey'](_0x5864ee,_0x599957),_0x6dc46d=this[_0x2b9f3a(0x287)](_0xd31aaa);if(_0x6dc46d)_0x145600[_0x2b9f3a(0x438)](_0x6dc46d['getId'](),_0x6dc46d['getName']());else{const _0x3efe50=this[_0x2b9f3a(0x2be)]();let _0x239382=this[_0x2b9f3a(0x2dc)](_0x2281d0,_0x929a1b,_0x22a3a9);_0x31bb8d[_0x2b9f3a(0x248)](_0x239382)&&(_0x239382=_0x3c4cb4[_0x2b9f3a(0x47b)][_0x2b9f3a(0x2d8)](_0x239382['f'],Number(_0x239382['v'])));const _0x48bc92=this[_0x2b9f3a(0x47d)](_0x239382,_0x11446c+_0x599957),_0x310915=new _0x31bb8d[(_0x2b9f3a(0x494))](_0x3efe50,_0x48bc92,_0x31bb8d[_0x2b9f3a(0x2f7)](0x3));_0x310915[_0x2b9f3a(0x2bc)]=_0xd31aaa,this[_0x2b9f3a(0x339)][_0x3efe50]=_0x310915,_0x145600[_0x2b9f3a(0x438)](_0x3efe50,_0x48bc92),_0x30ebd2['push']({'index':_0x599957,'dataField':_0x310915});}}return{'updateDataFieldList':_0x30ebd2,'collection':_0x145600};}['_getAutoName'](_0x470844){const _0x425a3d=_0x37cf57;return this[_0x425a3d(0x474)][_0x425a3d(0x23b)]()[_0x425a3d(0x26a)]+'\x20'+_0x3c4cb4['numberToABC'](_0x470844);}['uniqueDataFieldName'](_0x5b7956,_0x3733c9){return _0x5b7956==null?this['_getAutoName'](_0x3733c9):String(_0x5b7956);}['getCollection'](_0x3f2035){const _0x20d35e=_0x37cf57;return this[_0x20d35e(0x48c)][_0x3f2035];}['addCollection'](_0x1cbfaa,_0x1ae7a8,_0x44f965,_0x38853e){const _0x1e63eb=_0x37cf57;this[_0x1e63eb(0x48c)][_0x1cbfaa]=_0x1ae7a8,_0x1ae7a8[_0x1e63eb(0x2aa)](_0x44f965),this[_0x1e63eb(0x474)][_0x1e63eb(0x424)]({'token':_0x1cbfaa,'type':_0x212309['add'],'dataRangeInfo':_0x44f965,'targetCellInfo':_0x38853e});}[_0x37cf57(0x35a)](_0xc32347,_0xdb16ee){const _0x3738b3=_0x37cf57,_0x4eabc8=this[_0x3738b3(0x378)](_0xc32347),_0x5cf2e3=_0x4eabc8[_0x3738b3(0x3ff)]();let _0x175520=0x0;for(const _0x2712a2 of _0x5cf2e3){const _0x261b23=_0x4eabc8['getFieldById'](_0x2712a2),_0xec80c=this[_0x3738b3(0x2f6)](_0xdb16ee,_0x175520);this['updateRangeKeyMap'](_0x261b23[_0x3738b3(0x2bc)],_0xec80c),_0x175520++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x82218f,_0x5caae9){const _0x2a6d48=_0x37cf57;if(this[_0x2a6d48(0x378)](_0x82218f)){const _0xed6dae=this[_0x2a6d48(0x45c)](_0x5caae9),_0x5e7329=[];for(const _0x2eb8b7 of _0xed6dae)this[_0x2a6d48(0x352)][_0x2eb8b7]!==void 0x0&&_0x5e7329[_0x2a6d48(0x1eb)](this[_0x2a6d48(0x352)][_0x2eb8b7]);const _0x4eafe7=this[_0x2a6d48(0x213)](_0x82218f),_0x16b8aa=[],_0x241d9c=new Set(_0x5e7329);for(const _0x25be44 of _0x4eafe7)_0x241d9c[_0x2a6d48(0x3f9)](_0x25be44)||_0x16b8aa['push'](_0x25be44);return _0x16b8aa;}}[_0x37cf57(0x347)](_0x12ee75,_0x5f1a9c,_0x57b51a,_0x1c8aed,_0x20f869){const _0x17d614=_0x37cf57;return _0x5f1a9c&&_0x5f1a9c[_0x17d614(0x225)](_0x1c8aed,_0x20f869)?_0x5f1a9c[_0x17d614(0x225)](_0x1c8aed,_0x20f869):_0x57b51a&&_0x57b51a[_0x17d614(0x225)](_0x1c8aed,_0x20f869)?_0x57b51a[_0x17d614(0x225)](_0x1c8aed,_0x20f869):_0x12ee75[_0x17d614(0x225)](_0x1c8aed,_0x20f869);}[_0x37cf57(0x22d)](_0x133f2,_0x3724e7,_0x392d6f,_0xdd92c0){const _0xc5a251=_0x37cf57,_0x36306b=this['dataFields'][_0x133f2];if(!_0x36306b)return;const {subUnitId:_0x44f3d3,range:_0x161734,unitId:_0x24ad6e}=_0x3724e7,_0x2217fa=this[_0xc5a251(0x40d)][_0xc5a251(0x219)](_0x24ad6e);if(!_0x2217fa){console[_0xc5a251(0x2c1)](_0xc5a251(0x35c));return;}const _0x5aa854=_0x2217fa[_0xc5a251(0x246)](_0x44f3d3),_0x1de03c=_0x5aa854[_0xc5a251(0x20c)](),{arrayFormulaCellDataMatrix:_0x46d5c1,unitDataMatrix:_0x34c593}=_0xdd92c0||{},{startRow:_0x3d18ba,startColumn:_0x4a853f,endRow:_0x448b07}=this['getRangeStartEndInfo'](_0x161734,_0x5aa854);_0x36306b[_0xc5a251(0x363)]();const _0x8c39d6=_0x2217fa['getStyles'](),_0x40a16b={},_0xfaf872=this[_0xc5a251(0x347)](_0x1de03c,_0x46d5c1,_0x34c593,_0x3d18ba,_0x4a853f+_0x392d6f);let _0x3f9b1b=this[_0xc5a251(0x2dc)](_0xfaf872,_0x8c39d6,_0x40a16b);_0x31bb8d[_0xc5a251(0x248)](_0x3f9b1b)&&(_0x3f9b1b=_0x3c4cb4[_0xc5a251(0x47b)][_0xc5a251(0x2d8)](_0x3f9b1b['f'],Number(_0x3f9b1b['v'])));const _0x2f8340=this[_0xc5a251(0x47d)](_0x3f9b1b,_0x4a853f+_0x392d6f);_0x36306b['setName'](_0x2f8340);for(let _0x66121a=_0x3d18ba+0x1;_0x66121a<=_0x448b07;_0x66121a++){const _0x2b5adf=this[_0xc5a251(0x347)](_0x1de03c,_0x46d5c1,_0x34c593,_0x66121a,_0x4a853f+_0x392d6f);_0x36306b[_0xc5a251(0x3a8)](this[_0xc5a251(0x2dc)](_0x2b5adf,_0x8c39d6,_0x40a16b),_0x66121a-0x1);}}['refreshData'](_0x546124,_0x4c7da3,_0x40db34){const _0x24bd98=_0x37cf57,{subUnitId:_0x1eb0fe,range:_0x35b838,unitId:_0x5db3f3}=_0x40db34,_0x39a413=this[_0x24bd98(0x40d)][_0x24bd98(0x219)](_0x5db3f3);if(!_0x39a413){console[_0x24bd98(0x2c1)](_0x24bd98(0x35c));return;}const _0x7d5e84=_0x39a413[_0x24bd98(0x246)](_0x1eb0fe),_0x1a2b53=_0x7d5e84[_0x24bd98(0x20c)](),{startRow:_0x52cb05,startColumn:_0x5aa395,endRow:_0x5162b2}=this[_0x24bd98(0x3fd)](_0x35b838,_0x7d5e84),_0x1a2a00=_0x39a413[_0x24bd98(0x3e0)](),_0x2c1705={};for(const {dataField:_0x29da20,index:_0x864800}of _0x4c7da3){_0x29da20[_0x24bd98(0x363)]();const _0xff9cc5=this[_0x24bd98(0x347)](_0x1a2b53,void 0x0,void 0x0,_0x52cb05,_0x5aa395+_0x864800);let _0x10d5e4=this[_0x24bd98(0x2dc)](_0xff9cc5,_0x1a2a00,_0x2c1705);_0x31bb8d[_0x24bd98(0x248)](_0x10d5e4)&&(_0x10d5e4=_0x3c4cb4[_0x24bd98(0x47b)]['format'](_0x10d5e4['f'],Number(_0x10d5e4['v'])));const _0x526678=this[_0x24bd98(0x47d)](_0x10d5e4,_0x5aa395+_0x864800);_0x29da20[_0x24bd98(0x36c)](_0x526678);}_0x546124['updateAllDisplayName']();for(let _0x377867=_0x52cb05+0x1;_0x377867<=_0x5162b2;_0x377867++)for(const {index:_0x32b385,dataField:_0xf76df8}of _0x4c7da3){const _0x3e7ec4=_0x1a2b53[_0x24bd98(0x225)](_0x377867,_0x5aa395+_0x32b385);_0xf76df8[_0x24bd98(0x3a8)](this['adjustSheetCellData'](_0x3e7ec4,_0x1a2a00,_0x2c1705),_0x377867-0x1);}_0x546124[_0x24bd98(0x404)](_0x5162b2-_0x52cb05);}[_0x37cf57(0x45c)](_0x658d12){const _0x26aa0b=_0x37cf57,{range:_0x4909d8}=_0x658d12,{startColumn:_0x233dea,endColumn:_0x44eebb}=_0x4909d8,_0x41be00=[];for(let _0x1eb42a=_0x233dea;_0x1eb42a<=_0x44eebb;_0x1eb42a++)_0x41be00[_0x26aa0b(0x1eb)](this[_0x26aa0b(0x2f6)](_0x658d12,_0x1eb42a));return _0x41be00;}[_0x37cf57(0x2dc)](_0x8c8990,_0x785e2e,_0x1b25c6){const _0x575468=_0x37cf57;if(_0x8c8990){const {s:_0x4d9d4f,v:_0x121d66,t:_0x55aad4,p:_0x2349de}=_0x8c8990;if(_0x2349de)return _0x479667(_0x2349de);const _0x151b82=_0x785e2e[_0x575468(0x2d9)](_0x4d9d4f);if(_0x151b82&&_0x55aad4===_0x3c4cb4['CellValueType']['NUMBER']&&_0x151b82['n']){const {pattern:_0x4d49a1}=_0x151b82['n'];_0x1b25c6[_0x4d49a1]||(_0x1b25c6[_0x4d49a1]=_0x3c4cb4['numfmt'][_0x575468(0x1ea)](_0x4d49a1));const _0x23f5e1=_0x1b25c6[_0x4d49a1],_0x21d60e=_0x23f5e1[_0x575468(0x2ed)];if(_0x23f5e1['isText'])return String(_0x121d66);if(_0x21d60e)return{'v':_0x121d66,'f':_0x4d49a1};}if(_0x55aad4===_0x3c4cb4[_0x575468(0x432)][_0x575468(0x40e)])return Number(_0x121d66);if(_0x55aad4===_0x3c4cb4[_0x575468(0x432)][_0x575468(0x1f0)]||_0x55aad4===_0x3c4cb4[_0x575468(0x432)]['FORCE_STRING'])return String(_0x121d66);if(_0x55aad4===void 0x0){const _0x3e821a=Number(_0x121d66);if(!Number[_0x575468(0x2de)](_0x3e821a)&&String(_0x3e821a)===_0x121d66)return _0x3e821a;}return _0x121d66!=null?_0x121d66:null;}else return null;}[_0x37cf57(0x452)](_0x3f2db7){const _0x22fa0a=_0x37cf57,{sheetName:_0x3e7c89,range:_0x2cc37d,unitId:_0x151ec2}=_0x3f2db7,_0x146820=this[_0x22fa0a(0x40d)][_0x22fa0a(0x219)](_0x151ec2);if(!_0x146820)return console[_0x22fa0a(0x2c1)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x4c54e1=_0x146820[_0x22fa0a(0x2cd)](_0x3e7c89),_0x5a24ad=_0x4c54e1['getCellMatrix'](),{startRow:_0x4b6b62,startColumn:_0x28527e,endRow:_0x4b8783,endColumn:_0xd0e542}=this['getRangeStartEndInfo'](_0x2cc37d,_0x4c54e1),_0x3d34c5=_0x146820[_0x22fa0a(0x3e0)](),_0x4e982d=[],_0x3de2cd=[],_0x3d1d63={};for(let _0x476c63=_0x4b6b62;_0x476c63<=_0x4b8783;_0x476c63++){const _0xafd456=[];for(let _0x236b8d=_0x28527e;_0x236b8d<=_0xd0e542;_0x236b8d++){const _0x3cc61a=_0x5a24ad['getValue'](_0x476c63,_0x236b8d);_0x476c63===_0x4b6b62?_0x4e982d['push'](_0x3cc61a==null?null:String(_0x3cc61a['v'])):_0xafd456[_0x22fa0a(0x1eb)](this['adjustSheetCellData'](_0x3cc61a,_0x3d34c5,_0x3d1d63));}_0x3de2cd[_0x22fa0a(0x1eb)](_0xafd456);}return{'header':_0x4e982d,'data':_0x3de2cd};}[_0x37cf57(0x3d4)](){const _0x38c5c0=_0x37cf57;return super[_0x38c5c0(0x3d4)]();}[_0x37cf57(0x3b9)](_0x735177){const _0x2bd2fb=_0x37cf57;super[_0x2bd2fb(0x3b9)](_0x735177),this[_0x2bd2fb(0x34d)]();}[_0x37cf57(0x3fa)](){const _0x20fa79=_0x37cf57;super[_0x20fa79(0x3fa)](),this[_0x20fa79(0x352)]={},this[_0x20fa79(0x474)]=null;}}const _0x3de463=_0xdbd1ed=>{const _0x5330d3=_0x37cf57,{targetCellInfo:_0x2fac63}=_0xdbd1ed,{matrixCache:_0x13dc7e,rangesCache:_0x1fc304}=_0x2973a8({'filter':'Filter','row':_0x5330d3(0x26d),'column':_0x5330d3(0x475),'values':_0x5330d3(0x447)},_0x2fac63),_0x22f39f=new _0x3c4cb4[(_0x5330d3(0x39c))]();return _0x13dc7e[_0x5330d3(0x3a2)]((_0x5a73d8,_0x3f49a0,_0x43b50f)=>{const _0x581e57=_0x5330d3;_0x22f39f[_0x581e57(0x2b1)](_0x5a73d8,_0x3f49a0,_0x43b50f);}),{'matrix':_0x22f39f,'rangesCache':_0x1fc304};},_0x32c430=_0x4334d2=>{const _0x41721f=_0x37cf57;let _0x2327c0;if(_0x4334d2!=null&&_0x4334d2['v']||(_0x4334d2==null?void 0x0:_0x4334d2['v'])===0x0){_0x2327c0||(_0x2327c0={});const _0xed2471=_0x31d4b8(_0x4334d2['v']);typeof _0xed2471==_0x41721f(0x3f3)?_0x2327c0['t']=_0x3c4cb4[_0x41721f(0x432)][_0x41721f(0x40e)]:typeof _0xed2471==_0x41721f(0x2c9)&&(_0x2327c0['t']=_0x3c4cb4[_0x41721f(0x432)][_0x41721f(0x1f0)]),_0x2327c0['v']=_0xed2471;}return _0x2327c0;},_0xd0b119=(_0x25fd88,_0x432ccf,_0x3f0dd0)=>{const _0xdb634d=_0x37cf57;var _0xc7445f,_0x5cec3a,_0x5ead4f,_0x4b895e,_0x2b27f3,_0x422390,_0x1dd1dd,_0x308f9a,_0xb12b18,_0x408619,_0x14f1d8,_0x2f779d;const {cornerView:_0x4c0399,rowView:_0x1a99bc,colView:_0x4af373,dataView:_0x154510,pageView:_0x4be7f4,formatMap:_0x296df1}=_0x25fd88,{row:_0x3b3ceb,col:_0x570546}=_0x432ccf,_0x52b1d3=new _0x3c4cb4[(_0xdb634d(0x39c))]();let _0x3f373a=_0x3b3ceb,_0x58cd10=_0x570546;Object['keys'](_0x4be7f4['data'])[_0xdb634d(0x340)](_0xef44b3=>{const _0xf5808d=_0xdb634d;Object[_0xf5808d(0x2e2)](_0x4be7f4[_0xf5808d(0x33c)][Number(_0xef44b3)])['forEach'](_0x223e3c=>{const _0x2bdac=_0xf5808d,_0x2c2755={..._0x4be7f4[_0x2bdac(0x33c)][Number(_0xef44b3)][Number(_0x223e3c)]};_0x52b1d3['setValue'](Number(_0xef44b3)+_0x3f373a,Number(_0x223e3c)+_0x58cd10,_0x32c430(_0x2c2755));});});const _0x5f74e1=Object[_0xdb634d(0x2e2)](_0x4be7f4[_0xdb634d(0x33c)])['length'];_0x3f373a+=_0x5f74e1+(_0x5f74e1?_0x333bcd:0x0);const _0x3b7894=_0x4c0399['getRowCount'](),_0x273add=_0x4c0399['getColCount']();for(let _0x288bfb=0x0;_0x288bfb<_0x3b7894;_0x288bfb++)for(let _0x54f1cd=0x0;_0x54f1cd<_0x273add;_0x54f1cd++){const _0x50120f={...(_0x5cec3a=(_0xc7445f=_0x4c0399['data'])==null?void 0x0:_0xc7445f[_0x288bfb])==null?void 0x0:_0x5cec3a[_0x54f1cd]};_0x50120f&&((_0x5ead4f=_0x1a99bc[_0xdb634d(0x479)][_0x54f1cd])!=null&&_0x5ead4f[_0xdb634d(0x422)])&&(_0x50120f['v']=''+_0x3f0dd0[_0xdb634d(0x324)]),_0x52b1d3[_0xdb634d(0x2b1)](_0x288bfb+_0x3f373a,_0x54f1cd+_0x58cd10,_0x32c430(_0x50120f));}_0x58cd10+=_0x273add;const _0x32fd82=_0x4af373[_0xdb634d(0x479)],_0x3eb269=_0x4af373['getLastRow']()>=0x0?_0x4af373[_0xdb634d(0x269)]()+0x1:0x0,_0xd0f3b6=_0x4af373[_0xdb634d(0x24b)]()>=0x0?_0x4af373[_0xdb634d(0x24b)]()+0x1:0x0;for(let _0xc2384=0x0;_0xc2384<_0xd0f3b6;_0xc2384++)for(let _0x156718=0x0;_0x156718<_0x3eb269;_0x156718++){const _0x4240bb={...(_0x2b27f3=(_0x4b895e=_0x4af373[_0xdb634d(0x33c)])==null?void 0x0:_0x4b895e[_0xc2384])==null?void 0x0:_0x2b27f3[_0x156718]},_0x56ebb8=(_0x422390=_0x32fd82[_0xc2384])==null?void 0x0:_0x422390[_0xdb634d(0x232)],_0x12df8f=_0x296df1[_0x56ebb8];_0x4240bb&&(_0x4240bb['v']=_0x3e3d36(_0x4240bb,_0xc2384===0x0&&((_0x1dd1dd=_0x4af373[_0xdb634d(0x360)](_0x156718+0x1))==null?void 0x0:_0x1dd1dd['isValue']),_0x12df8f,_0x3f0dd0)),_0x52b1d3['setValue'](_0xc2384+_0x3f373a,_0x156718+_0x58cd10,_0x32c430(_0x4240bb));}_0x3f373a+=_0x3b7894;const _0x56750d=_0x1a99bc['headerMap'],_0x44dc71=_0x1a99bc[_0xdb634d(0x269)]()>=0x0?_0x1a99bc['getLastRow']()+0x1:0x0,_0x3af9c1=_0x1a99bc[_0xdb634d(0x24b)]()>=0x0?_0x1a99bc[_0xdb634d(0x24b)]()+0x1:0x0;for(let _0x5cceeb=0x0;_0x5cceeb<_0x44dc71;_0x5cceeb++)for(let _0x233520=0x0;_0x233520<_0x3af9c1;_0x233520++){const _0x5073b3={...(_0xb12b18=(_0x308f9a=_0x1a99bc[_0xdb634d(0x33c)])==null?void 0x0:_0x308f9a[_0x5cceeb])==null?void 0x0:_0xb12b18[_0x233520]},_0xd6603b=(_0x408619=_0x56750d[_0x233520])==null?void 0x0:_0x408619[_0xdb634d(0x232)],_0x43a4d5=_0x296df1[_0xd6603b];_0x5073b3&&(_0x5073b3['v']=_0x3e3d36(_0x5073b3,!0x1,_0x43a4d5,_0x3f0dd0)),_0x52b1d3['setValue'](_0x5cceeb+_0x3f373a,_0x233520+_0x570546,_0x32c430(_0x5073b3));}const _0x577c85=_0x154510['getRowCount'](),_0x2f42f5=_0x154510['getColCount']();for(let _0x1253fb=0x0;_0x1253fb<_0x577c85;_0x1253fb++)for(let _0x1961cd=0x0;_0x1961cd<_0x2f42f5;_0x1961cd++){const _0x28868a={...(_0x2f779d=(_0x14f1d8=_0x154510[_0xdb634d(0x33c)])==null?void 0x0:_0x14f1d8[_0x1253fb])==null?void 0x0:_0x2f779d[_0x1961cd]};_0x52b1d3['setValue'](_0x1253fb+_0x3f373a,_0x1961cd+_0x58cd10,_0x32c430(_0x28868a));}return _0x52b1d3;},_0x44988b=_0x675138=>{const _0x318482=_0x37cf57,{view:_0x4076b3,targetCellInfo:_0x5c95d8,isEmpty:_0x56665e,textInfo:_0x37bec1}=_0x675138;if(_0x56665e)return _0x3de463(_0x675138);const {pageView:_0x32ccb7,cornerView:_0x32d98a,rowView:_0x15234b,colView:_0x53db10,dataView:_0x47f2b5}=_0x4076b3,_0xf49640=_0x16fcbe(_0x5c95d8,_0x32ccb7,!0x0),_0x299af3=_0x32ccb7[_0x318482(0x205)]>=0x0?_0x32ccb7['lastRow']+0x1:0x0,_0x12de6b=_0x32d98a[_0x318482(0x348)](),_0x3a4f64=_0x32d98a[_0x318482(0x271)](),_0x57c91b=_0xf49640['length']>0x0?_0x333bcd:0x0,_0x15ddf9=_0x16fcbe({'row':_0x5c95d8['row']+_0x299af3+_0x57c91b,'col':_0x5c95d8[_0x318482(0x1fa)]},_0x32d98a,!0x1,!0x1),_0xaedb2d=_0x16fcbe({'row':_0x5c95d8[_0x318482(0x37e)]+_0x299af3+_0x57c91b+_0x12de6b,'col':_0x5c95d8[_0x318482(0x1fa)]},_0x15234b,!0x1,!0x0),_0x5ab30c=_0x16fcbe({'row':_0x5c95d8[_0x318482(0x37e)]+_0x299af3+_0x57c91b,'col':_0x5c95d8[_0x318482(0x1fa)]+_0x3a4f64},_0x53db10,!0x1,!0x0),_0x144fcb=_0x16fcbe({'row':_0x5c95d8[_0x318482(0x37e)]+_0x299af3+_0x57c91b+_0x12de6b,'col':_0x5c95d8[_0x318482(0x1fa)]+_0x3a4f64},_0x47f2b5,!0x1,!0x1),_0x12f999={'rowRanges':_0xaedb2d,'colRanges':_0x5ab30c,'cornerRanges':_0x15ddf9,'dataRanges':_0x144fcb,'pageRanges':_0xf49640};return{'matrix':_0xd0b119(_0x4076b3,_0x5c95d8,_0x37bec1),'rangesCache':_0x12f999};};var _0x2f5eab=Object[_0x37cf57(0x45a)],_0x39cd4d=Object[_0x37cf57(0x43f)],_0x2312fe=(_0x3c8993,_0xef4ead,_0x467f2f,_0x2adf69)=>{const _0x4e21a2=_0x37cf57;for(var _0xbdda81=_0x2adf69>0x1?void 0x0:_0x2adf69?_0x39cd4d(_0xef4ead,_0x467f2f):_0xef4ead,_0x1ff794=_0x3c8993[_0x4e21a2(0x3fb)]-0x1,_0x262765;_0x1ff794>=0x0;_0x1ff794--)(_0x262765=_0x3c8993[_0x1ff794])&&(_0xbdda81=(_0x2adf69?_0x262765(_0xef4ead,_0x467f2f,_0xbdda81):_0x262765(_0xbdda81))||_0xbdda81);return _0x2adf69&&_0xbdda81&&_0x2f5eab(_0xef4ead,_0x467f2f,_0xbdda81),_0xbdda81;},_0xfd0a89=(_0x9d85c5,_0x29fb70)=>(_0x2f4155,_0x48ed3a)=>_0x29fb70(_0x2f4155,_0x48ed3a,_0x9d85c5);_0x31f249[_0x37cf57(0x265)]=class extends _0x3c4cb4['Disposable']{constructor(_0x406c90,_0x49f7ef,_0x3db7c,_0x4115e7,_0x24e948,_0x47a0f1){const _0x1cefe2=_0x37cf57;super(),_0x2674dc(this,'_model',new Map()),_0x2674dc(this,_0x1cefe2(0x3c4),new Map()),_0x2674dc(this,_0x1cefe2(0x493),new Map()),_0x2674dc(this,_0x1cefe2(0x382)),_0x2674dc(this,_0x1cefe2(0x466),new _0x546c70[(_0x1cefe2(0x366))]()),_0x2674dc(this,_0x1cefe2(0x38c),this[_0x1cefe2(0x466)][_0x1cefe2(0x33b)]()),_0x2674dc(this,_0x1cefe2(0x2af),new _0x546c70['Subject']()),_0x2674dc(this,_0x1cefe2(0x2c4),this[_0x1cefe2(0x2af)][_0x1cefe2(0x33b)]()),_0x2674dc(this,'_fieldsCollectionChange$',new _0x546c70['Subject']()),_0x2674dc(this,'fieldsCollectionChange$',this[_0x1cefe2(0x2d0)][_0x1cefe2(0x33b)]()),_0x2674dc(this,'_dataFieldManagerCollection',new Map()),_0x2674dc(this,_0x1cefe2(0x331),[]),_0x2674dc(this,_0x1cefe2(0x39d),new Map()),(this[_0x1cefe2(0x431)]=_0x406c90,this[_0x1cefe2(0x40d)]=_0x49f7ef,this[_0x1cefe2(0x405)]=_0x3db7c,this[_0x1cefe2(0x292)]=_0x4115e7,this[_0x1cefe2(0x207)]=_0x24e948,this[_0x1cefe2(0x26e)]=_0x47a0f1,this[_0x1cefe2(0x3df)]());}[_0x37cf57(0x23b)](){const _0x3b2b39=_0x37cf57;return this[_0x3b2b39(0x382)]?this['_textInfo']:_0x362ad9;}[_0x37cf57(0x296)](_0x14bdc4){const _0x53ae6f=_0x37cf57;this[_0x53ae6f(0x382)]=_0x14bdc4;}[_0x37cf57(0x35a)](_0x11bde1){const _0x48cc97=_0x37cf57;var _0x1c3bfc;const {from:_0x5980fd,to:_0x5740ac,unitId:_0x4e6429,fromRange:_0x39088a,toRange:_0x4eb77d}=_0x11bde1;if(_0x5980fd&&_0x5740ac){const _0xaa8e60=this['getDataFieldManager'](_0x4e6429),_0x1413b9=this[_0x48cc97(0x1f4)][_0x48cc97(0x2d9)](_0x4e6429),_0x1e6c20=(_0x1c3bfc=this[_0x48cc97(0x40d)][_0x48cc97(0x219)](_0x4e6429))==null?void 0x0:_0x1c3bfc[_0x48cc97(0x246)](_0x5740ac[_0x48cc97(0x2ef)]);if(!_0x1413b9||!_0x1e6c20)return;const _0x46fc0c=_0x1e6c20==null?void 0x0:_0x1e6c20[_0x48cc97(0x496)]();for(const [_0x5c399f,_0x37b8bc]of _0x1413b9[_0x48cc97(0x276)]())for(const [_0x124683,_0x41f8a0]of _0x37b8bc[_0x48cc97(0x276)]()){const {sourceRangeInfo:_0xd77cc0}=_0x41f8a0;if(_0xd77cc0[_0x48cc97(0x394)]===_0x4e6429&&_0xd77cc0[_0x48cc97(0x2ef)]===_0x5980fd[_0x48cc97(0x2ef)]&&_0x3c4cb4[_0x48cc97(0x27b)][_0x48cc97(0x2a2)](_0x39088a,_0xd77cc0['range'])){const _0x4030f1={'row':_0xd77cc0[_0x48cc97(0x349)][_0x48cc97(0x421)]-_0x39088a[_0x48cc97(0x421)],'col':_0xd77cc0[_0x48cc97(0x349)][_0x48cc97(0x40c)]-_0x39088a[_0x48cc97(0x40c)]},_0x294a7d={'unitId':_0x4e6429,'subUnitId':_0x5740ac[_0x48cc97(0x2ef)],'sheetName':_0x46fc0c,'range':{'startRow':_0x4eb77d[_0x48cc97(0x421)]+_0x4030f1['row'],'endRow':_0x4eb77d[_0x48cc97(0x421)]+_0x4030f1['row']+_0xd77cc0[_0x48cc97(0x349)][_0x48cc97(0x46e)]-_0xd77cc0[_0x48cc97(0x349)][_0x48cc97(0x421)],'startColumn':_0x4eb77d[_0x48cc97(0x40c)]+_0x4030f1[_0x48cc97(0x1fa)],'endColumn':_0x4eb77d[_0x48cc97(0x40c)]+_0x4030f1[_0x48cc97(0x1fa)]+_0xd77cc0[_0x48cc97(0x349)]['endColumn']-_0xd77cc0['range'][_0x48cc97(0x40c)]}};_0xaa8e60[_0x48cc97(0x35a)](_0x124683,_0x294a7d);const _0x479515={..._0x41f8a0,'sourceRangeInfo':_0x294a7d};this[_0x48cc97(0x3a0)](_0x4e6429,_0x5740ac['subUnitId'],_0x124683,_0x479515),this[_0x48cc97(0x424)]({'unitId':_0x4e6429,'token':_0x124683,'type':_0x212309['update'],'oldSourceRangeInfo':_0xd77cc0,'dataRangeInfo':_0x294a7d,'targetCellInfo':_0x41f8a0[_0x48cc97(0x44d)]}),this[_0x48cc97(0x398)]({'unitId':_0x4e6429,'subUnitId':_0x5740ac[_0x48cc97(0x2ef)],'oldSubUnitId':_0x5c399f,'pivotTableId':_0x124683,'pivotTableConfig':_0x479515,'collectionConfig':_0xaa8e60[_0x48cc97(0x3d4)]()});}}}}[_0x37cf57(0x424)](_0x118e95){const _0x4c62fd=_0x37cf57;this[_0x4c62fd(0x466)][_0x4c62fd(0x2e4)](_0x118e95);}['getDataFieldManager'](_0x11ff72){const _0x243d0c=_0x37cf57;let _0x4bbc37=this['_dataFieldManagerCollection'][_0x243d0c(0x2d9)](_0x11ff72);return _0x4bbc37||(_0x4bbc37=new _0x5b9da3(this,this[_0x243d0c(0x40d)]),this[_0x243d0c(0x260)][_0x243d0c(0x487)](_0x11ff72,_0x4bbc37)),_0x4bbc37;}[_0x37cf57(0x378)](_0x56a009,_0x1c15e3){const _0x5eb486=_0x37cf57;return this[_0x5eb486(0x3f4)](_0x56a009)[_0x5eb486(0x48c)][_0x1c15e3];}['getUpdateRangeDeleteIds'](_0x3522b2,_0x4eba7e,_0x361580){const _0x588195=_0x37cf57;return this['getDataFieldManager'](_0x3522b2)[_0x588195(0x3e5)](_0x4eba7e,_0x361580);}[_0x37cf57(0x44c)](_0x5ea865,_0x4b95fe){const _0x5d6837=_0x37cf57;let _0x2c1eec=this[_0x5d6837(0x1f4)][_0x5d6837(0x2d9)](_0x5ea865);_0x2c1eec||(_0x2c1eec=new Map(),this[_0x5d6837(0x1f4)]['set'](_0x5ea865,_0x2c1eec));let _0xb7c842=_0x2c1eec[_0x5d6837(0x2d9)](_0x4b95fe);return _0xb7c842||(_0xb7c842=new Map(),_0x2c1eec[_0x5d6837(0x487)](_0x4b95fe,_0xb7c842)),_0xb7c842;}[_0x37cf57(0x3a0)](_0x5d5214,_0xd88194,_0x3e14cb,_0x7ebcb2){const _0x295898=_0x37cf57;this[_0x295898(0x44c)](_0x5d5214,_0xd88194)[_0x295898(0x487)](_0x3e14cb,_0x7ebcb2);}[_0x37cf57(0x3b6)](_0x430b39,_0x23230b,_0x32664f){const _0x364c3d=_0x37cf57;var _0x3e38c1,_0xeaa8e,_0x5abf1b,_0x5d412b;((_0xeaa8e=(_0x3e38c1=this[_0x364c3d(0x1f4)]['get'](_0x430b39))==null?void 0x0:_0x3e38c1[_0x364c3d(0x2d9)](_0x23230b))==null?void 0x0:_0xeaa8e[_0x364c3d(0x2d9)](_0x32664f))&&((_0x5d412b=(_0x5abf1b=this[_0x364c3d(0x1f4)][_0x364c3d(0x2d9)](_0x430b39))==null?void 0x0:_0x5abf1b[_0x364c3d(0x2d9)](_0x23230b))==null||_0x5d412b['delete'](_0x32664f));}['_updatePivotTableInstanceCache'](_0x43ba3e,_0x11eb43){const _0x1c35b5=_0x37cf57;this[_0x1c35b5(0x3c4)][_0x1c35b5(0x487)](_0x43ba3e,_0x11eb43);}['_deletePivotTableInstanceCache'](_0x46be33){const _0x195555=_0x37cf57;this[_0x195555(0x3c4)][_0x195555(0x46c)](_0x46be33);}['_ensureViewDataMap'](_0x357bec,_0x12ae1f){const _0x4f1791=_0x37cf57;let _0x5b7850=this[_0x4f1791(0x493)][_0x4f1791(0x2d9)](_0x357bec);_0x5b7850||(_0x5b7850=new Map(),this[_0x4f1791(0x493)][_0x4f1791(0x487)](_0x357bec,_0x5b7850));let _0x5b37cb=_0x5b7850['get'](_0x12ae1f);return _0x5b37cb||(_0x5b37cb=new Map(),_0x5b7850['set'](_0x12ae1f,_0x5b37cb)),_0x5b37cb;}[_0x37cf57(0x398)](_0x420fb5){const _0x39e8b4=_0x37cf57,{unitId:_0x21efab,subUnitId:_0x58a99a,pivotTableId:_0x592287,pivotTableConfig:_0x29b721,collectionConfig:_0x52e7a9}=_0x420fb5,_0x20dfcc={'unitId':_0x21efab,'subUnitId':_0x58a99a,'oldSubUnitId':_0x58a99a,'pivotTableId':_0x592287,'pivotTableConfig':_0x29b721,'collectionConfig':_0x52e7a9};this['_commandService'][_0x39e8b4(0x2ea)](_0x36fd59['id'],_0x20dfcc,{'onlyLocal':!0x0});}[_0x37cf57(0x49a)](_0x3b430c,_0x2b4015,_0x2860d7,_0x21709d,_0x45e269,_0x7783fa,_0x3e8aa6,_0x5f4cea=!0x1){const _0x54aace=_0x37cf57;var _0x57da82;this[_0x54aace(0x207)][_0x54aace(0x2ea)](_0x260e50['id'],{'single':{'unitId':_0x3b430c,'subUnitId':_0x2b4015,'type':_0x2860d7,'pivotTableId':_0x21709d,'view':_0x45e269,'pivotConfig':_0x7783fa},'collectionConfig':{[_0x3b430c]:_0x3e8aa6}},{'onlyLocal':!0x0});const _0x1ee2e=!!((_0x57da82=this[_0x54aace(0x256)](_0x21709d))!=null&&_0x57da82[_0x54aace(0x39a)]()),_0x1c644a=this[_0x54aace(0x3f0)](_0x3b430c,_0x2b4015,_0x21709d);_0x1c644a&&this[_0x54aace(0x467)]({'view':_0x45e269,'pivotTableId':_0x21709d,'textInfo':this['getTextInfo'](),'isEmpty':_0x1ee2e,'targetCellInfo':_0x1c644a[_0x54aace(0x44d)]},_0x5f4cea);}[_0x37cf57(0x467)](_0x1fadb,_0x260431){const _0x1eb886=_0x37cf57,{targetCellInfo:_0x3cdb09,pivotTableId:_0x248dd6}=_0x1fadb,{unitId:_0x36b77d,subUnitId:_0x1469ee}=_0x3cdb09,_0x5ce8f=this[_0x1eb886(0x20d)](_0x36b77d,_0x1469ee),_0x534bff=_0x5ce8f[_0x1eb886(0x2d9)](_0x248dd6);let _0x34a605,_0x1fed7a;_0x534bff&&(_0x34a605=_0x534bff[_0x1eb886(0x21f)],_0x1fed7a=_0x534bff[_0x1eb886(0x460)]);const {rangesCache:_0x5e9e99,matrix:_0x29d95e}=_0x44988b(_0x1fadb);_0x5ce8f['set'](_0x248dd6,{'rangeCache':_0x5e9e99,'matrix':_0x29d95e,'oldMatrix':_0x1fed7a,'oldRangeCache':_0x34a605}),_0x260431||this[_0x1eb886(0x2af)][_0x1eb886(0x2e4)]({'unitId':_0x36b77d,'subUnitId':_0x1469ee,'pivotTableId':_0x248dd6});}['addPivotTable'](_0x102315,_0x44eaaa,_0x2b16ce,_0x1c9ff2,_0x4d838f){const _0x273e4e=_0x37cf57;this[_0x273e4e(0x3a0)](_0x102315,_0x44eaaa,_0x2b16ce,_0x4d838f),this['_updatePivotTableInstanceCache'](_0x2b16ce,_0x1c9ff2);}[_0x37cf57(0x3bc)](_0x3734a5,_0x2e1c28,_0x2c84ac){const _0x232ba2=_0x37cf57,_0x4dd72f=this[_0x232ba2(0x3f4)](_0x3734a5);_0x4dd72f['getNoUsedDataFieldIds'](_0x2c84ac)['forEach'](_0x2d8dbf=>{const _0x1805d4=_0x232ba2;_0x4dd72f[_0x1805d4(0x1fd)](_0x2d8dbf);}),this[_0x232ba2(0x314)](_0x3734a5,_0x2c84ac),this[_0x232ba2(0x3b6)](_0x3734a5,_0x2e1c28,_0x2c84ac),this['_deletePivotTableInstanceCache'](_0x2c84ac);}['setPivotTable'](_0x20304e,_0x7cec72,_0x5f3330,_0x59edfb){this['_updateModelCache'](_0x20304e,_0x7cec72,_0x5f3330,_0x59edfb);}['getPivotTableConfig'](_0xcf4ffb,_0xcaae82,_0x4fed45){const _0x57dcff=_0x37cf57;var _0x458aae,_0x4f5b35;const _0x1cf0b9=(_0x4f5b35=(_0x458aae=this[_0x57dcff(0x1f4)][_0x57dcff(0x2d9)](_0xcf4ffb))==null?void 0x0:_0x458aae[_0x57dcff(0x2d9)](_0xcaae82))==null?void 0x0:_0x4f5b35[_0x57dcff(0x2d9)](_0x4fed45);if(_0x1cf0b9)return _0x1cf0b9;}[_0x37cf57(0x464)](_0xf5082f,_0x23339e,_0x416974){const _0x56b09f=_0x37cf57;var _0x364aad,_0xa17195;const _0x3b9e6b=(_0xa17195=(_0x364aad=this['_model'][_0x56b09f(0x2d9)](_0xf5082f))==null?void 0x0:_0x364aad[_0x56b09f(0x2d9)](_0x23339e))==null?void 0x0:_0xa17195[_0x56b09f(0x2d9)](_0x416974);if(_0x3b9e6b)return _0x3b9e6b[_0x56b09f(0x22a)];}['getPivotTableInstance'](_0x3caa2f){const _0xbfceb6=_0x37cf57;return this[_0xbfceb6(0x3c4)]['get'](_0x3caa2f);}[_0x37cf57(0x393)](_0x38615f){const _0x137c4a=_0x37cf57;this[_0x137c4a(0x1f4)][_0x137c4a(0x46c)](_0x38615f);const _0x467188=this[_0x137c4a(0x260)][_0x137c4a(0x2d9)](_0x38615f);_0x467188&&(_0x467188[_0x137c4a(0x3fa)](),this[_0x137c4a(0x260)][_0x137c4a(0x46c)](_0x38615f)),this[_0x137c4a(0x493)][_0x137c4a(0x46c)](_0x38615f),this[_0x137c4a(0x331)][_0x137c4a(0x340)](_0x57a528=>{const _0x4d1dc0=_0x137c4a;_0x57a528[_0x4d1dc0(0x393)](_0x38615f);});}['addCollectionByJSON'](_0x480ff1,_0x314abc,_0x367871,_0x531715){const _0x24ecff=_0x37cf57;return this['getDataFieldManager'](_0x367871[_0x24ecff(0x394)])[_0x24ecff(0x40a)](_0x480ff1,_0x314abc,_0x367871,_0x531715);}[_0x37cf57(0x47c)](_0x4a303a){const _0x540f9e=_0x37cf57;return this[_0x540f9e(0x3f4)](_0x4a303a[_0x540f9e(0x394)])[_0x540f9e(0x47c)](_0x4a303a);}['refreshData'](_0x549fc2,_0x3e5d83,_0x5429eb){const _0x1cf8fa=_0x37cf57;this[_0x1cf8fa(0x3f4)](_0x5429eb[_0x1cf8fa(0x394)])['refreshData'](_0x549fc2,_0x3e5d83,_0x5429eb);}[_0x37cf57(0x2bd)](_0x2bb345,_0xdbb327){const _0xec3c86=_0x37cf57;this[_0xec3c86(0x3f4)](_0x2bb345)[_0xec3c86(0x1fd)](_0xdbb327);}[_0x37cf57(0x314)](_0xe23d88,_0x3d2e4f){const _0x46853e=_0x37cf57;this[_0x46853e(0x3f4)](_0xe23d88)[_0x46853e(0x414)](_0x3d2e4f);}[_0x37cf57(0x423)](_0x2f30e6,_0x30ece2){const _0xc1cdd4=_0x37cf57;var _0x38a34c;return(_0x38a34c=this['_model'][_0xc1cdd4(0x2d9)](_0x2f30e6))==null?void 0x0:_0x38a34c[_0xc1cdd4(0x2d9)](_0x30ece2);}[_0x37cf57(0x429)](_0x5270cd){const _0x2e971=_0x37cf57;for(const [_0x26dfad,_0x1a38ed]of this[_0x2e971(0x1f4)][_0x2e971(0x276)]())for(const [_0x6c5378,_0x56f523]of _0x1a38ed[_0x2e971(0x276)]())if(_0x56f523[_0x2e971(0x3f9)](_0x5270cd))return{'unitId':_0x26dfad,'subUnitId':_0x6c5378};return null;}[_0x37cf57(0x255)](_0x217c6d,_0x57d78c,_0x5112be,_0x304167){const _0x27b057=_0x37cf57,_0x26f4f3=this[_0x27b057(0x20d)](_0x217c6d,_0x57d78c);_0x304167?_0x26f4f3[_0x27b057(0x487)](_0x5112be,_0x304167):_0x26f4f3[_0x27b057(0x46c)](_0x5112be),this[_0x27b057(0x2af)][_0x27b057(0x2e4)]({'unitId':_0x217c6d,'subUnitId':_0x57d78c,'pivotTableId':_0x5112be});}[_0x37cf57(0x3fa)](){const _0x3981de=_0x37cf57;super[_0x3981de(0x3fa)]();}[_0x37cf57(0x36e)](_0x2aab82,_0x409659,_0x3791be){const _0x1ab6a9=_0x37cf57;var _0x448844,_0x54afcc;const _0x5207af=(_0x54afcc=(_0x448844=this[_0x1ab6a9(0x493)][_0x1ab6a9(0x2d9)](_0x2aab82))==null?void 0x0:_0x448844[_0x1ab6a9(0x2d9)](_0x409659))==null?void 0x0:_0x54afcc['get'](_0x3791be);return _0x5207af||null;}[_0x37cf57(0x484)](_0x30813e){const _0x2ac969=_0x37cf57;this[_0x2ac969(0x43a)](_0x30813e);}[_0x37cf57(0x43a)](_0x532181){const _0x32c967=_0x37cf57,{token:_0x902601}=_0x532181;this[_0x32c967(0x39d)]['get'](_0x902601)&&clearTimeout(this[_0x32c967(0x39d)][_0x32c967(0x2d9)](_0x902601));const _0x1eae22=setTimeout(()=>{const _0x446367=_0x32c967;this[_0x446367(0x43d)](_0x532181),this[_0x446367(0x39d)][_0x446367(0x46c)](_0x902601);},_0x336349);this[_0x32c967(0x39d)][_0x32c967(0x487)](_0x902601,_0x1eae22);}[_0x37cf57(0x43d)](_0x4f546a){const _0x5a321e=_0x37cf57,{unitId:_0x6ff3cf,subUnitId:_0x94f61c,token:_0x58d4d8,type:_0x49c6fc,pivotConfig:_0xc8de97}=_0x4f546a,_0x449eb3=this[_0x5a321e(0x256)](_0x58d4d8),_0x54ded1=_0x449eb3==null?void 0x0:_0x449eb3['query'](),_0x4c7978=_0xc8de97!=null?_0xc8de97:this[_0x5a321e(0x3f0)](_0x6ff3cf,_0x94f61c,_0x58d4d8);_0x4c7978&&(_0x4c7978[_0x5a321e(0x39a)]=!!(_0x449eb3!=null&&_0x449eb3[_0x5a321e(0x39a)]())),(_0x54ded1||_0x49c6fc===_0x26022f[_0x5a321e(0x426)])&&this[_0x5a321e(0x49a)](_0x6ff3cf,_0x94f61c,_0x49c6fc,_0x58d4d8,_0x54ded1,_0x4c7978,this[_0x5a321e(0x3f4)](_0x6ff3cf)[_0x5a321e(0x3d4)]());}[_0x37cf57(0x3d4)](_0x3f8184){const _0x1db2dc=_0x37cf57,_0x1c1d6b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3f8184)&&(_0x1c1d6b[_0x1db2dc(0x240)][_0x3f8184]=this[_0x1db2dc(0x3f4)](_0x3f8184)[_0x1db2dc(0x3d4)]()),this['_model'][_0x1db2dc(0x2d9)](_0x3f8184)){_0x1c1d6b['pivotTableConfigs'][_0x3f8184]={};const _0x42b695=this['_model'][_0x1db2dc(0x2d9)](_0x3f8184);_0x42b695!=null&&_0x42b695['size']&&[..._0x42b695[_0x1db2dc(0x2e2)]()]['forEach'](_0x1002ea=>{const _0x417e81=_0x1db2dc,_0x73b8f5=_0x42b695[_0x417e81(0x2d9)](_0x1002ea);_0x73b8f5!=null&&_0x73b8f5['size']&&(_0x1c1d6b[_0x417e81(0x495)][_0x3f8184][_0x1002ea]={},[..._0x73b8f5[_0x417e81(0x2e2)]()][_0x417e81(0x340)](_0x2ab6df=>{const _0x5a0b63=_0x417e81,_0x40d5c5=_0x73b8f5[_0x5a0b63(0x2d9)](_0x2ab6df);_0x40d5c5&&(_0x1c1d6b['pivotTableConfigs'][_0x3f8184][_0x1002ea][_0x2ab6df]=_0x40d5c5);}));});}return _0x1c1d6b;}[_0x37cf57(0x3b9)](_0x5a479a){const _0xc4ab56=_0x37cf57;var _0x5d4507;const {dataFieldManagerConfig:_0x1d8229,pivotTableConfigs:_0x224be1}=_0x5a479a;_0x1d8229&&Object[_0xc4ab56(0x2e2)](_0x1d8229)[_0xc4ab56(0x340)](_0x159bab=>{const _0x5506eb=_0xc4ab56;this[_0x5506eb(0x3f4)](_0x159bab)[_0x5506eb(0x3b9)](_0x1d8229[_0x159bab]);});const _0x2644fe=[];if(_0x224be1){const _0x103655=(_0x5d4507=this[_0xc4ab56(0x431)][_0xc4ab56(0x2d9)](_0x3c4cb4[_0xc4ab56(0x38b)])[_0xc4ab56(0x3ec)](_0x33a9ca[_0xc4ab56(0x42f)]))!=null?_0x5d4507:{},{ls:_0x5e0751,pbk:_0x433c26}=_0x103655,_0x39509d=_0x2a14c3(_0x17a5cb,_0x5e0751,_0x433c26)[_0xc4ab56(0x25e)];Object[_0xc4ab56(0x2e2)](_0x224be1)[_0xc4ab56(0x340)](_0x557d8e=>{const _0x330353=_0xc4ab56;let _0x830926=0x0;const _0x1f0b8c=_0x224be1[_0x557d8e];Object[_0x330353(0x2e2)](_0x1f0b8c)[_0x330353(0x340)](_0x46e0ac=>{const _0x42cb3e=_0x1f0b8c[_0x46e0ac];Object['keys'](_0x42cb3e)['forEach'](_0x451842=>{const _0x54c447=_0x554e,_0x4d03f2=_0x42cb3e[_0x451842];if(_0x4d03f2){if(_0x830926>=_0x39509d)return;_0x830926++;const _0x4d070b=this[_0x54c447(0x3f4)](_0x557d8e),_0x3bfe33=_0x4d070b[_0x54c447(0x48c)][_0x451842],_0x385ae3=_0x3bfe33[_0x54c447(0x3ff)]();let _0x393d65=0x0;for(const _0x129ccf of _0x385ae3)_0x4d070b[_0x54c447(0x22d)](_0x129ccf,_0x4d03f2[_0x54c447(0x3fe)],_0x393d65),_0x393d65++;const _0x52f4ad=new _0x31bb8d[(_0x54c447(0x356))](_0x3bfe33);_0x52f4ad[_0x54c447(0x3b9)](_0x4d03f2[_0x54c447(0x22a)]),this[_0x54c447(0x32d)](_0x557d8e,_0x46e0ac,_0x451842,_0x52f4ad,_0x4d03f2);const _0x3740bc=_0x52f4ad[_0x54c447(0x3d7)]();_0x2644fe['push']({'unitId':_0x557d8e,'subUnitId':_0x46e0ac,'pivotTableId':_0x451842,'view':_0x3740bc['toJSON'](),'pivotConfig':_0x4d03f2,'type':_0x26022f[_0x54c447(0x26b)]});const _0xaf4dcf=!!_0x52f4ad[_0x54c447(0x39a)](),_0x172084={'view':_0x3740bc,'pivotTableId':_0x451842,'textInfo':this['getTextInfo'](),'isEmpty':_0xaf4dcf,'targetCellInfo':_0x4d03f2[_0x54c447(0x44d)]};this[_0x54c447(0x467)](_0x172084,!0x1);}});});});}_0x1d8229&&Object[_0xc4ab56(0x2e2)](_0x1d8229)[_0xc4ab56(0x340)](_0x83ee7a=>{const _0x219826=_0xc4ab56,_0x31a3e7=this['getDataFieldManager'](_0x83ee7a);this['_fieldsCollectionChange$'][_0x219826(0x2e4)](_0x31a3e7[_0x219826(0x48c)]);}),this[_0xc4ab56(0x207)][_0xc4ab56(0x2ea)](_0x260e50['id'],{'batch':_0x2644fe,'collectionConfig':_0x1d8229},{'onlyLocal':!0x0});}[_0x37cf57(0x3df)](){const _0x3f95b2=_0x37cf57;this[_0x3f95b2(0x294)](this[_0x3f95b2(0x26e)][_0x3f95b2(0x353)]({'toJson':_0x265843=>JSON['stringify'](this[_0x3f95b2(0x3d4)](_0x265843)),'parseJson':_0x309e18=>{const _0x439fdb=_0x3f95b2;if(!_0x309e18)return{};try{return JSON[_0x439fdb(0x39b)](_0x309e18);}catch{return{};}},'businesses':[_0x3c4cb4[_0x3f95b2(0x465)][_0x3f95b2(0x1f1)]],'pluginName':_0x56b1a3,'onLoad':(_0x498452,_0x22c884)=>{const _0x5c8c6c=_0x3f95b2;this[_0x5c8c6c(0x3b9)](_0x22c884);},'onUnLoad':_0x1d4078=>{const _0x10de8c=_0x3f95b2;this[_0x10de8c(0x393)](_0x1d4078);}}));}},_0x31f249['SheetsPivotDataSourceModel']=_0x2312fe([_0xfd0a89(0x0,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x1e7)])),_0xfd0a89(0x1,_0x3c4cb4[_0x37cf57(0x444)]),_0xfd0a89(0x2,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4['LifecycleService'])),_0xfd0a89(0x3,_0x3c4cb4[_0x37cf57(0x38b)]),_0xfd0a89(0x4,_0x3c4cb4['ICommandService']),_0xfd0a89(0x5,_0x3c4cb4['Inject'](_0x3c4cb4[_0x37cf57(0x489)]))],_0x31f249[_0x37cf57(0x265)]);const _0x1c3a11={0x0:{0x0:{'v':_0x37cf57(0x350),'s':_0x2d99ff}},0x2:{0x1:{'v':'','s':_0x2d99ff},0x2:{'v':'','s':_0x2d99ff},0x3:{'v':_0x37cf57(0x31c),'s':_0x2d99ff},0x4:{'v':'','s':_0x2d99ff},0x5:{'v':'','s':_0x2d99ff}},0x3:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0x4:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0x5:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0x6:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0x7:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0x8:{0x0:{'v':'row','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':_0x37cf57(0x2ff),'s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0x9:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0xa:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0xb:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0xc:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}},0xd:{0x0:{'v':'','s':_0x2d99ff},0x1:{'v':'','s':_0x96e0d5},0x2:{'v':'','s':_0x96e0d5},0x3:{'v':'','s':_0x96e0d5},0x4:{'v':'','s':_0x96e0d5},0x5:{'v':'','s':_0x96e0d5}}},_0x45beb2={'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':[]},_0x2973a8=(_0x3d6f32,_0x1405ae)=>{const _0x559c11=_0x37cf57,_0x54821d=new _0x3c4cb4[(_0x559c11(0x39c))](),_0x229f57=new _0x3c4cb4['ObjectMatrix'](_0x1c3a11),{row:_0x312e1d,col:_0x528087}=_0x1405ae;_0x229f57[_0x559c11(0x3a2)]((_0x14b3c5,_0x1ac176,_0x4f71e9)=>{const _0x26be34=_0x559c11;let _0x4f9b4c='';_0x4f71e9['v']===_0x26be34(0x350)?_0x4f9b4c=_0x3d6f32[_0x26be34(0x350)]:_0x4f71e9['v']==='row'?_0x4f9b4c=_0x3d6f32[_0x26be34(0x37e)]:_0x4f71e9['v']===_0x26be34(0x31c)?_0x4f9b4c=_0x3d6f32[_0x26be34(0x31c)]:_0x4f71e9['v']==='values'&&(_0x4f9b4c=_0x3d6f32[_0x26be34(0x2ff)]),_0x54821d['setValue'](_0x14b3c5+_0x312e1d,_0x1ac176+_0x528087,{..._0x4f71e9,'v':_0x4f9b4c});});const _0x1f9342=_0x3c4cb4[_0x559c11(0x3d9)]['deepClone'](_0x45beb2);return Object[_0x559c11(0x2e2)](_0x45beb2)[_0x559c11(0x340)](_0x5616c5=>{const _0x4231b7=_0x559c11;_0x1f9342[_0x5616c5]=_0x45beb2[_0x5616c5]['map'](_0x1d2f61=>({..._0x1d2f61,'startRow':_0x1d2f61['startRow']+_0x312e1d,'endRow':_0x1d2f61[_0x4231b7(0x46e)]+_0x312e1d,'startColumn':_0x1d2f61['startColumn']+_0x528087,'endColumn':_0x1d2f61[_0x4231b7(0x37d)]+_0x528087}));}),{'matrixCache':_0x54821d,'rangesCache':_0x1f9342};};function _0x53d1c0(_0x2629c5,_0x455d90){const _0x51ab04=_0x37cf57;let _0x3d73e5='';const _0x3a4879=this[_0x51ab04(0x23b)]();switch(_0x455d90){case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x3d6)]:_0x3d73e5=_0x3a4879['sheets-pivot.averageName']+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x25e)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x23c)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x391)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x318)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)]['max']:_0x3d73e5=_0x3a4879['sheets-pivot.maxName']+_0x2629c5;break;case _0x31bb8d['PivotSubtotalTypeEnum'][_0x51ab04(0x2ab)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x31d)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x278)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x397)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x2ec)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x456)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x258)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x249)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x299)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x49d)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)][_0x51ab04(0x268)]:_0x3d73e5=_0x3a4879[_0x51ab04(0x2fe)]+_0x2629c5;break;case _0x31bb8d[_0x51ab04(0x221)]['varp']:_0x3d73e5=_0x3a4879[_0x51ab04(0x497)]+_0x2629c5;break;default:_0x3d73e5=_0x2629c5;break;}return _0x3d73e5;}function _0xda298c(_0x3e1160,_0x23f420,_0x6adfaf,_0x5e4c49,_0x37814c){const _0x48127e=_0x37cf57;var _0x53c302,_0x69f22,_0x501e2f,_0xf15ce0,_0x225a73;const _0x4565b8=_0x3c4cb4[_0x48127e(0x364)](_0x3e1160,_0x23f420),{rangesInfo:_0x157168,areaInfo:_0x56ddd6,headerMap:_0x8c4e21}=_0x37814c;if(!_0x157168||!_0x56ddd6||!_0x8c4e21)return;const _0x25accd=Object[_0x48127e(0x2e2)](_0x157168)[_0x48127e(0x486)](_0x5cf63f=>_0x157168[_0x5cf63f]['some'](_0x104893=>_0x3c4cb4[_0x48127e(0x27b)]['contains'](_0x104893,_0x4565b8))),_0x33d258=_0x56ddd6;let _0x46f313,_0xfba49b,_0x1e2972;if(_0x25accd===_0x48127e(0x35b))_0x46f313=(_0x53c302=_0x33d258==null?void 0x0:_0x33d258[_0x48127e(0x2e9)])==null?void 0x0:_0x53c302[_0x3e1160],_0xfba49b=(_0x69f22=_0x8c4e21==null?void 0x0:_0x8c4e21[_0x48127e(0x2b8)])==null?void 0x0:_0x69f22[_0x23f420],_0x1e2972=_0xfba49b==null?void 0x0:_0xfba49b[_0x48127e(0x232)];else{if(_0x25accd===_0x48127e(0x323))_0x46f313=(_0x501e2f=_0x33d258==null?void 0x0:_0x33d258[_0x48127e(0x291)])==null?void 0x0:_0x501e2f[_0x23f420],_0xfba49b=(_0xf15ce0=_0x8c4e21[_0x48127e(0x274)])==null?void 0x0:_0xf15ce0[_0x3e1160+0x1+_0x23f420-_0x157168['colRanges'][0x0][_0x48127e(0x40c)]],_0x1e2972=_0xfba49b==null?void 0x0:_0xfba49b[_0x48127e(0x232)];else{if(_0x25accd===_0x48127e(0x402))_0x46f313=(_0x225a73=_0x33d258==null?void 0x0:_0x33d258['cornerInfo'])==null?void 0x0:_0x225a73[_0x23f420],_0x1e2972=_0x46f313==null?void 0x0:_0x46f313['tableFieldId'];else{if(_0x25accd==='pageRanges'){const _0xa28c5c=_0x6adfaf==null?void 0x0:_0x6adfaf['fi'];_0xa28c5c!==void 0x0&&(_0x1e2972=_0x5e4c49[_0x48127e(0x23e)](_0xa28c5c));}}}}return{'filterId':_0x1e2972,'info':_0x46f313,'data':_0x6adfaf,'headerInfo':_0xfba49b};}function _0xb56f87(_0x3fb755,_0x40898a,_0x529388){const _0x5f9815=_0x37cf57,_0x40200c=_0x3fb755[_0x5f9815(0x3a5)],_0x4aea0a=_0x40200c['getFieldIds'](),_0x1f251d=new Set();_0x3fb755[_0x5f9815(0x33e)](_0x50d6c0=>{const _0x44c784=_0x5f9815;_0x1f251d[_0x44c784(0x3a3)](_0x50d6c0[_0x44c784(0x49f)]);});const _0x11abf9=_0x4aea0a[_0x5f9815(0x3a4)](_0x3a4874=>{const _0x164b12=_0x5f9815,_0x3f6d47=_0x40200c['getFieldById'](_0x3a4874);return{'checked':_0x1f251d[_0x164b12(0x3f9)](_0x3a4874),'dataFieldId':_0x3f6d47['id'],'id':_0x3f6d47['id'],'name':_0x40200c[_0x164b12(0x235)](_0x3f6d47['id']),'type':_0x3f6d47[_0x164b12(0x23d)](),'pivotTableId':_0x40898a};}),_0x5d5f0f=[];_0x3fb755[_0x5f9815(0x3e4)](_0x31bb8d[_0x5f9815(0x2ba)]['Row'],_0x2c70ba=>{const _0x2b4ffe=_0x5f9815;_0x5d5f0f[_0x2b4ffe(0x1eb)]({'dataFieldId':_0x2c70ba['dataFieldId'],'tableFieldId':_0x2c70ba['getId'](),'displayName':_0x2c70ba[_0x2b4ffe(0x235)]()});});const _0xd92440=[];_0x3fb755[_0x5f9815(0x3e4)](_0x31bb8d[_0x5f9815(0x2ba)]['Column'],_0x33bf31=>{const _0x401542=_0x5f9815;_0xd92440[_0x401542(0x1eb)]({'dataFieldId':_0x33bf31[_0x401542(0x49f)],'tableFieldId':_0x33bf31['getId'](),'displayName':_0x33bf31[_0x401542(0x235)]()});});const _0x4afe79=[];if(_0x3fb755['iterateFieldByArea'](_0x31bb8d[_0x5f9815(0x2ba)][_0x5f9815(0x29f)],_0x5c5b9c=>{const _0x1290b3=_0x5f9815;_0x4afe79['push']({'dataFieldId':_0x5c5b9c[_0x1290b3(0x49f)],'tableFieldId':_0x5c5b9c[_0x1290b3(0x389)](),'displayName':_0x5c5b9c[_0x1290b3(0x235)](),'format':_0x5c5b9c[_0x1290b3(0x418)](),'subTotalType':_0x5c5b9c['getSubtotal']()});}),_0x4afe79['length']>0x1){const _0x3bdbb6=_0x3fb755['getValueIndex']();(_0x3fb755[_0x5f9815(0x3b5)]()?_0xd92440:_0x5d5f0f)[_0x5f9815(0x24a)](_0x3bdbb6,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x5f9815(0x3eb)});}const _0x1e3a89=[];_0x3fb755[_0x5f9815(0x3e4)](_0x31bb8d[_0x5f9815(0x2ba)][_0x5f9815(0x333)],_0x18f904=>{const _0x31ad06=_0x5f9815;_0x1e3a89[_0x31ad06(0x1eb)]({'dataFieldId':_0x18f904[_0x31ad06(0x49f)],'tableFieldId':_0x18f904['getId'](),'displayName':_0x18f904[_0x31ad06(0x235)]()});});const _0x1ceca3=_0x529388[_0x5f9815(0x3fe)];return{'sourceList':_0x11abf9,'sourceRange':_0x1ceca3,'rowFields':_0x5d5f0f,'columnFields':_0xd92440,'valueFields':_0x4afe79,'filterFields':_0x1e3a89,'positionInfo':_0x529388[_0x5f9815(0x44d)]};}function _0x3eac60(_0x272006,_0x6bbc81,_0x5c5621='',_0xa6a339={}){const _0x47f1be=_0x37cf57,_0x2bca40=_0x272006[_0x47f1be(0x2d9)](_0x3c4cb4[_0x47f1be(0x430)]);for(const _0x569acd in _0x6bbc81)if(Object[_0x47f1be(0x3ad)]['hasOwnProperty']['call'](_0x6bbc81,_0x569acd)){const _0x398e7d=_0x5c5621?_0x5c5621+'.'+_0x569acd:_0x569acd;typeof _0x6bbc81[_0x569acd]=='object'&&_0x6bbc81[_0x569acd]!==null&&!Array[_0x47f1be(0x293)](_0x6bbc81[_0x569acd])?_0x3eac60(_0x272006,_0x6bbc81[_0x569acd],_0x398e7d,_0xa6a339):_0xa6a339[_0x398e7d]=_0x2bca40['t'](_0x398e7d);}return _0xa6a339;}const _0x14101a=_0x5dd51a=>{const _0x15aa47=_0x37cf57;if(!_0x5dd51a)return[];const {rowRanges:_0xb9bb06,colRanges:_0x59af8f,cornerRanges:_0x36402d,dataRanges:_0x5703b6,pageRanges:_0x46556c}=_0x5dd51a,_0x107b24=[..._0x59af8f,..._0xb9bb06,..._0x5703b6,..._0x36402d][_0x15aa47(0x350)](_0x27f2c5=>_0x27f2c5[_0x15aa47(0x421)]>=0x0&&_0x27f2c5[_0x15aa47(0x40c)]>=0x0&&_0x27f2c5[_0x15aa47(0x46e)]>=0x0&&_0x27f2c5[_0x15aa47(0x37d)]>=0x0);let _0x38b462=Number[_0x15aa47(0x48b)],_0x2d02ad=Number['MIN_SAFE_INTEGER'],_0x50de35=Number[_0x15aa47(0x48b)],_0x2766c6=Number[_0x15aa47(0x41b)];for(let _0x1e27be=0x0;_0x1e27be<_0x107b24[_0x15aa47(0x3fb)];_0x1e27be++)_0x38b462=Math[_0x15aa47(0x2ab)](_0x38b462,_0x107b24[_0x1e27be][_0x15aa47(0x421)]),_0x2d02ad=Math[_0x15aa47(0x462)](_0x2d02ad,_0x107b24[_0x1e27be][_0x15aa47(0x46e)]),_0x50de35=Math[_0x15aa47(0x2ab)](_0x50de35,_0x107b24[_0x1e27be][_0x15aa47(0x40c)]),_0x2766c6=Math[_0x15aa47(0x462)](_0x2766c6,_0x107b24[_0x1e27be][_0x15aa47(0x37d)]);return[..._0x46556c,{'startRow':_0x38b462,'endRow':_0x2d02ad,'startColumn':_0x50de35,'endColumn':_0x2766c6}];};function _0x17949b(_0x2fdc7a,_0x57520e){const _0x271346=_0x37cf57,_0x149af0=_0x57520e['params'][_0x271346(0x200)],{pivotTableId:_0x12fa72,unitId:_0x1d2ef9,subUnitId:_0x12af52}=_0x57520e;if(!_0x149af0)return;const _0x2a3652=_0x2fdc7a[_0x271346(0x2d9)](_0x31f249[_0x271346(0x265)]),_0x34051e=_0x2a3652[_0x271346(0x256)](_0x12fa72),_0x4d7aa5=_0x2a3652[_0x271346(0x3f0)](_0x1d2ef9,_0x12af52,_0x12fa72);if(!_0x34051e||!_0x4d7aa5)return;const _0x5cfe6e=_0x34051e[_0x271346(0x419)](_0x149af0[_0x271346(0x22b)]);if(!(_0x5cfe6e!=null&&_0x5cfe6e[_0x271346(0x3fb)]))return;const _0x4c5880=_0x4d7aa5[_0x271346(0x3fe)],{unitId:_0x1fdae8,subUnitId:_0x7a4468,range:_0x175df1}=_0x4c5880;let _0x3e4536=0x0;const _0x1322c6=_0x34051e[_0x271346(0x3a5)][_0x271346(0x3ff)]()[_0x271346(0x209)]((_0x3559ea,_0x4d0391)=>{const _0x538947=_0x271346;var _0x135eda;const _0x5f2802=(_0x135eda=_0x34051e[_0x538947(0x3c9)](_0x4d0391))==null?void 0x0:_0x135eda['getformat']();return _0x5f2802&&(_0x3559ea[String(_0x3e4536)]=_0x5f2802),_0x3e4536++,_0x3559ea;},{});return{'indexes':_0x5cfe6e,'range':_0x175df1,'sourceUnitId':_0x1fdae8,'sourceSubUnitId':_0x7a4468,'formatMap':_0x1322c6};}function _0x38f636(_0x4c3636,_0x2584f6){const _0x3a3dda=_0x37cf57;if(!_0x4c3636||!_0x2584f6)return!0x0;const _0x4bcce8=_0x33a9ca[_0x3a3dda(0x386)](_0x3c71e1,_0x403099),_0x374922=new Function(_0x3a3dda(0x454)+_0x4bcce8)()(_0x4c3636,_0x2584f6)[_0x3a3dda(0x476)],_0x1d98a6=_0x33a9ca[_0x3a3dda(0x42c)](_0x374922,'sf',_0x21a8d0);return!((_0x374922==null?void 0x0:_0x374922['rt'])===_0x33a9ca[_0x3a3dda(0x3d2)][_0x3a3dda(0x37b)]&&!_0x1d98a6);}function _0x2a14c3(_0x4873b5,_0x13e192,_0x23c91b){const _0xeed05a=_0x37cf57,_0x4af128={'count':_0x4873b5,'timeValid':!0x1};if(!_0x13e192||!_0x23c91b)return _0x4af128;const _0x50218f=_0x33a9ca[_0xeed05a(0x386)](_0x3c71e1,_0x403099),_0x2950dd=new Function('return\x20'+_0x50218f)()(_0x13e192,_0x23c91b);if(_0x2950dd!=null&&_0x2950dd[_0xeed05a(0x233)]){const _0x77b406=_0x2950dd['message'],_0x523050=_0x33a9ca[_0xeed05a(0x42c)](_0x77b406,'sf',_0x21a8d0);return{'count':_0x33a9ca[_0xeed05a(0x30c)](_0x77b406,_0x523050,_0xeed05a(0x48e),_0x4873b5),'timeValid':_0x523050};}return _0x4af128;}function _0x36cea3(_0x258aaa,_0x1056fe,_0x556fff,_0x3a63b6){const _0x302694=_0x37cf57,_0x23d360={'subUnitId':_0x556fff,'unitId':_0x1056fe,'cellValue':_0x2bdc55[_0x302694(0x24d)](_0x3a63b6)},_0x3cbde6=_0x2bdc55[_0x302694(0x3ed)](_0x258aaa,_0x23d360);let _0xd38241=!0x1;return new _0x3c4cb4[(_0x302694(0x39c))](_0x3cbde6[_0x302694(0x286)])[_0x302694(0x3a2)]((_0xe2f4e2,_0x363c8f,_0x459d5f)=>{const _0x397008=_0x302694;if(!_0xd38241&&_0x459d5f&&(_0x459d5f[_0x397008(0x245)]||_0x459d5f['f']||_0x459d5f['p']||_0x459d5f['s']||_0x459d5f['si']||_0x459d5f['t']||_0x459d5f['v']))return _0xd38241=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2bdc55[_0x302694(0x2d3)]['id'],'params':_0x3cbde6},'setRangeValueRedoMutation':{'id':_0x2bdc55[_0x302694(0x2d3)]['id'],'params':_0x23d360},'shouldClear':_0xd38241};}function _0x35b3c9(_0x15fe31){const {row:_0x2c3414,col:_0x33e6f5}=_0x15fe31,_0x593896={'startRow':_0x2c3414,'endRow':_0x2c3414,'startColumn':_0x33e6f5,'endColumn':_0x33e6f5},_0x5225bb={'startRow':_0x2c3414+0x2,'endRow':_0x2c3414+0xe,'startColumn':_0x33e6f5,'endColumn':_0x33e6f5+0x6};return[_0x593896,_0x5225bb];}function _0x382c47(_0x4db3c6,_0x1d2990,_0x4e8d95){const _0x5b71d1=_0x37cf57,{cornerView:_0x4bd666,rowView:_0xc01660,colView:_0x5b1452,pageView:_0x46eb56}=_0x4db3c6,{row:_0x1b8209,col:_0x1a1fe3}=_0x1d2990;if(_0x4e8d95)return{'rowCount':_0x39fbc5+_0x1b8209,'colCount':_0x324629+_0x1a1fe3};const _0x5d91f4=_0x46eb56[_0x5b71d1(0x205)]>-0x1?_0x46eb56[_0x5b71d1(0x205)]+0x1:0x0,_0x4cc993=_0x46eb56[_0x5b71d1(0x401)]>-0x1?_0x46eb56[_0x5b71d1(0x401)]:0x0,_0x2d1e69=_0x1b8209+_0x5d91f4+(_0x5d91f4?0x1:0x0)+_0x4bd666[_0x5b71d1(0x2b0)]+_0xc01660['rowCount'],_0x5641ea=_0x1a1fe3+_0x4cc993,_0x58151e=_0x1a1fe3+_0x4bd666[_0x5b71d1(0x2ae)]+_0x5b1452[_0x5b71d1(0x2ae)],_0x3a8be=Math[_0x5b71d1(0x462)](_0x5641ea,_0x58151e);return{'rowCount':_0x2d1e69,'colCount':_0x3a8be};}function _0x2b423f(_0x4af270,_0x51c009,_0x578368,_0x195092){const _0x4de8c6=_0x37cf57,{row:_0xa4505c,col:_0x3b78f0,unitId:_0xd2e097,subUnitId:_0xfc7684}=_0x578368,_0x503f20=_0x382c47(_0x51c009,{'row':_0xa4505c,'col':_0x3b78f0},_0x195092),_0x138967=_0x4af270['get'](_0x3c4cb4['IUniverInstanceService']),_0x4abb4a=_0x2bdc55[_0x4de8c6(0x2a1)](_0x138967,{'unitId':_0xd2e097,'subUnitId':_0xfc7684}),_0x3345b1=[],_0x29954e=[];if(!_0x4abb4a)return{'undos':_0x29954e,'redos':_0x3345b1};const {worksheet:_0x437abe}=_0x4abb4a,_0x44ab07=_0x437abe[_0x4de8c6(0x348)](),_0x2b08c8=_0x437abe['getColumnCount']();return _0x44ab07<_0x503f20['rowCount']&&(_0x3345b1[_0x4de8c6(0x1eb)]({'id':_0x2bdc55[_0x4de8c6(0x383)]['id'],'params':{'unitId':_0xd2e097,'subUnitId':_0xfc7684,'range':{'startRow':_0x44ab07,'endRow':_0x503f20['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x2b08c8-0x1}}}),_0x29954e[_0x4de8c6(0x1eb)]({'id':_0x2bdc55['RemoveRowMutation']['id'],'params':{'unitId':_0xd2e097,'subUnitId':_0xfc7684,'range':{'startRow':_0x44ab07,'endRow':_0x503f20[_0x4de8c6(0x2b0)]-0x1,'startColumn':0x0,'endColumn':_0x2b08c8-0x1}}})),_0x2b08c8<_0x503f20['colCount']&&(_0x3345b1['push']({'id':_0x2bdc55['InsertColMutation']['id'],'params':{'unitId':_0xd2e097,'subUnitId':_0xfc7684,'range':{'startRow':0x0,'endRow':_0x44ab07-0x1,'startColumn':_0x2b08c8,'endColumn':_0x503f20[_0x4de8c6(0x2ae)]-0x1}}}),_0x29954e[_0x4de8c6(0x1eb)]({'id':_0x2bdc55['RemoveColMutation']['id'],'params':{'unitId':_0xd2e097,'subUnitId':_0xfc7684,'range':{'startRow':0x0,'endRow':_0x44ab07-0x1,'startColumn':_0x2b08c8,'endColumn':_0x503f20[_0x4de8c6(0x2ae)]-0x1}}})),{'undos':_0x29954e,'redos':_0x3345b1};}function _0x929b7a(_0x31288d){const _0x6bc56b=_0x37cf57;let _0x4e1331=0x0;for(let _0x3de91e=0x0;_0x3de91e<_0x31288d['length'];_0x3de91e++){const _0x411a1a=_0x31288d[_0x6bc56b(0x25b)](_0x3de91e);_0x411a1a>=0x4e00&&_0x411a1a<=0x9fff||_0x411a1a>=0x3000&&_0x411a1a<=0x303f||_0x411a1a>=0xff00&&_0x411a1a<=0xffef?_0x4e1331+=0x2:_0x4e1331+=0x1;}return _0x4e1331;}function _0x293ccf(_0x445e7b,_0x49f7d7,_0x597719,_0x209426){const _0x2ce945=_0x37cf57;var _0x19e0de,_0x4a8cc9,_0x3def6,_0x516a7a;const {rowCount:_0x49a762,colCount:_0x3d7a68,headerMap:_0x384478}=_0x445e7b,_0x1b3c22=0x64,_0x3ab67e=Math[_0x2ce945(0x2ab)](_0x49a762,_0x1b3c22),_0x2c0cce=Math[_0x2ce945(0x2ab)](_0x3d7a68,_0x1b3c22);let _0x15de5c='',_0x210556=0x0;for(let _0x1f15af=0x0;_0x1f15af<_0x3ab67e;_0x1f15af++)for(let _0x432b4c=0x0;_0x432b4c<_0x2c0cce;_0x432b4c++){const _0xc0c22d={...(_0x4a8cc9=(_0x19e0de=_0x445e7b[_0x2ce945(0x33c)])==null?void 0x0:_0x19e0de[_0x1f15af])==null?void 0x0:_0x4a8cc9[_0x432b4c]},_0x31b6e1=(_0x3def6=_0x384478[_0x1f15af])==null?void 0x0:_0x3def6[_0x2ce945(0x232)],_0x5a90ec=_0x209426[_0x31b6e1];let _0x45022f=_0x445e7b[_0x2ce945(0x225)](_0x1f15af,_0x432b4c);if(_0xc0c22d){const _0x4197ce=_0x597719?_0x432b4c===0x0&&((_0x516a7a=_0x445e7b[_0x2ce945(0x360)](_0x432b4c+0x1))==null?void 0x0:_0x516a7a[_0x2ce945(0x422)]):!0x1;_0x45022f=_0x3e3d36(_0xc0c22d,_0x4197ce,_0x5a90ec,_0x49f7d7);}if(_0x45022f!==void 0x0){const _0x204279=_0x929b7a(String(_0x45022f));_0x210556<_0x204279&&(_0x15de5c=String(_0x45022f),_0x210556=_0x204279);}}return _0x15de5c;}function _0x1aaeaf(_0x2105f9){const _0x45172c=_0x37cf57,{rowCount:_0x2f5757,colCount:_0xb2ee97}=_0x2105f9;let _0x10e42e='',_0x10bb0c=0x0;for(let _0x38eb5a=_0x2f5757-0x1;_0x38eb5a>0x0&&_0x38eb5a>_0x2f5757-0x3;_0x38eb5a--)for(let _0x593f01=0x0;_0x593f01<_0xb2ee97;_0x593f01++){const _0x44746c=_0x2105f9['getValue'](_0x38eb5a,_0x593f01);if(_0x44746c!==void 0x0){const _0x41cc01=String(_0x44746c)[_0x45172c(0x3fb)];_0x10bb0c<_0x41cc01&&(_0x10e42e=String(_0x44746c),_0x10bb0c=_0x41cc01);}}return _0x10e42e;}function _0x3fa68e(_0x4fdc94){const _0x2865be=_0x37cf57,{rowCount:_0x3b3395,colCount:_0x4ef345}=_0x4fdc94;let _0x20ff97='',_0x11d521=0x0;for(let _0x2d7e43=0x0;_0x2d7e43<_0x3b3395;_0x2d7e43++)for(let _0x519b81=0x0;_0x519b81<_0x4ef345;_0x519b81++){const _0x1ac1c0=_0x4fdc94['getValue'](_0x2d7e43,_0x519b81);if(_0x1ac1c0!==void 0x0){const _0x38b54c=String(_0x1ac1c0)[_0x2865be(0x3fb)];_0x11d521<_0x38b54c&&(_0x20ff97=String(_0x1ac1c0),_0x11d521=_0x38b54c);}}return _0x20ff97;}var _0x22bc73=Object[_0x37cf57(0x45a)],_0x278d2b=Object[_0x37cf57(0x43f)],_0x445e8c=(_0x3bd170,_0x218125,_0x3d1bba,_0x41031a)=>{const _0x45ecfc=_0x37cf57;for(var _0x415217=_0x41031a>0x1?void 0x0:_0x41031a?_0x278d2b(_0x218125,_0x3d1bba):_0x218125,_0x2533d8=_0x3bd170[_0x45ecfc(0x3fb)]-0x1,_0x1ec07e;_0x2533d8>=0x0;_0x2533d8--)(_0x1ec07e=_0x3bd170[_0x2533d8])&&(_0x415217=(_0x41031a?_0x1ec07e(_0x218125,_0x3d1bba,_0x415217):_0x1ec07e(_0x415217))||_0x415217);return _0x41031a&&_0x415217&&_0x22bc73(_0x218125,_0x3d1bba,_0x415217),_0x415217;},_0x5a7fe5=(_0xb86eb,_0x5d6a43)=>(_0x384f72,_0x544dc9)=>_0x5d6a43(_0x384f72,_0x544dc9,_0xb86eb);_0x31f249[_0x37cf57(0x44e)]=class extends _0x3c4cb4[_0x37cf57(0x427)]{constructor(_0x292d73,_0x1ac4b6,_0x30f0db){const _0x404a2c=_0x37cf57;super(),_0x2674dc(this,'_model',new Map()),_0x2674dc(this,'_collectionConfigModel',new Map()),_0x2674dc(this,_0x404a2c(0x490),new Map()),_0x2674dc(this,_0x404a2c(0x337),new Map()),_0x2674dc(this,_0x404a2c(0x3ee),new _0x546c70['Subject']()),_0x2674dc(this,_0x404a2c(0x2e0),new _0x546c70[(_0x404a2c(0x366))]()),_0x2674dc(this,_0x404a2c(0x461),this[_0x404a2c(0x2e0)][_0x404a2c(0x33b)]()),_0x2674dc(this,_0x404a2c(0x288),new _0x546c70['Subject']()),_0x2674dc(this,_0x404a2c(0x355),this[_0x404a2c(0x288)][_0x404a2c(0x33b)]()),_0x2674dc(this,_0x404a2c(0x382),{}),_0x2674dc(this,_0x404a2c(0x469),this['_configVersion$']['asObservable']()),(this[_0x404a2c(0x431)]=_0x292d73,this[_0x404a2c(0x207)]=_0x1ac4b6,this[_0x404a2c(0x40d)]=_0x30f0db,this[_0x404a2c(0x3cd)](),this[_0x404a2c(0x44a)]());}['_initUnitDisposed'](){const _0x4a55a6=_0x37cf57;this['disposeWithMe'](this[_0x4a55a6(0x40d)]['getTypeOfUnitDisposed$'](_0x3c4cb4['UniverInstanceType'][_0x4a55a6(0x1f1)])[_0x4a55a6(0x49b)](_0x13d760=>{const _0x32d1aa=_0x4a55a6;this[_0x32d1aa(0x393)](_0x13d760['getUnitId']());}));}[_0x37cf57(0x35d)](){const _0x327ad4=_0x37cf57;this[_0x327ad4(0x2e0)][_0x327ad4(0x2e4)](!0x0);}['_initLocale'](){const _0x479b90=_0x37cf57,_0x32c342=_0x3eac60(this[_0x479b90(0x431)],_0xd4f914,'',{});this['_textInfo']=_0x32c342,this['_commandService'][_0x479b90(0x2ea)](_0x1c5c18['id'],{'textInfo':_0x32c342},{'onlyLocal':!0x0});}[_0x37cf57(0x23b)](){const _0x48b50e=_0x37cf57;return this[_0x48b50e(0x382)];}[_0x37cf57(0x252)](_0xa4cb0b,_0x459a57,_0x38656e,_0x167e25,_0x4a9a07){this['updatePivotTableMatrixInfo'](_0xa4cb0b,_0x459a57,_0x38656e,_0x167e25),this['updatePivotTableRangeInfo'](_0xa4cb0b,_0x459a57,_0x38656e,_0x4a9a07);}['getPivotTableConfig'](_0x60de3f,_0x55ea87,_0x21556d){const _0x292f2e=_0x37cf57;var _0x2c9c0d;const _0x865aab=(_0x2c9c0d=this[_0x292f2e(0x1f4)]['get'](_0x60de3f))==null?void 0x0:_0x2c9c0d['get'](_0x55ea87);if(_0x865aab)return _0x865aab[_0x292f2e(0x2d9)](_0x21556d);}[_0x37cf57(0x429)](_0x2fc928,_0x5ac5bd,_0x2651bb){const _0x39b7cf=_0x37cf57,_0x35cdaa=this[_0x39b7cf(0x3f0)](_0x2fc928,_0x5ac5bd,_0x2651bb);return _0x35cdaa==null?void 0x0:_0x35cdaa[_0x39b7cf(0x44d)];}[_0x37cf57(0x423)](_0xcc7142,_0x1095fa){const _0x4da85a=_0x37cf57;var _0x2b528c;return(_0x2b528c=this[_0x4da85a(0x1f4)][_0x4da85a(0x2d9)](_0xcc7142))==null?void 0x0:_0x2b528c['get'](_0x1095fa);}[_0x37cf57(0x20b)](_0x54ebc0,_0x19ac42,_0x37d11b,_0x1deae8){const _0x3929ff=_0x37cf57,_0x491789=this[_0x3929ff(0x44c)](_0x54ebc0,_0x19ac42);_0x1deae8?_0x491789[_0x3929ff(0x487)](_0x37d11b,_0x1deae8):_0x491789[_0x3929ff(0x46c)](_0x37d11b),this[_0x3929ff(0x288)][_0x3929ff(0x2e4)]({'unitId':_0x54ebc0,'subUnitId':_0x19ac42,'pivotTableId':_0x37d11b,'pivotTableConfig':_0x1deae8});}[_0x37cf57(0x378)](_0x1917fc,_0x283e36){const _0x5393d4=_0x37cf57;var _0x3f3436;return(_0x3f3436=this['_collectionConfigModel'][_0x5393d4(0x2d9)](_0x1917fc))==null?void 0x0:_0x3f3436[_0x5393d4(0x48c)][_0x283e36];}[_0x37cf57(0x2d6)](_0x194d2d,_0x404472){const _0x20fc95=_0x37cf57;this['_collectionConfigModel'][_0x20fc95(0x487)](_0x194d2d,_0x404472),this[_0x20fc95(0x3ee)][_0x20fc95(0x2e4)](Math[_0x20fc95(0x3de)]());}[_0x37cf57(0x44c)](_0x4b82b1,_0x534894){const _0x31a1b9=_0x37cf57;let _0x5cf25e=this[_0x31a1b9(0x1f4)][_0x31a1b9(0x2d9)](_0x4b82b1);_0x5cf25e||(_0x5cf25e=new Map(),this[_0x31a1b9(0x1f4)][_0x31a1b9(0x487)](_0x4b82b1,_0x5cf25e));let _0x600bf8=_0x5cf25e[_0x31a1b9(0x2d9)](_0x534894);return _0x600bf8||(_0x600bf8=new Map(),_0x5cf25e[_0x31a1b9(0x487)](_0x534894,_0x600bf8)),_0x600bf8;}['_ensurePivotTableRangeInfo'](_0x213dea,_0x27bd65){const _0x32ba1e=_0x37cf57;let _0x41bfe=this[_0x32ba1e(0x490)][_0x32ba1e(0x2d9)](_0x213dea);_0x41bfe||(_0x41bfe=new Map(),this[_0x32ba1e(0x490)][_0x32ba1e(0x487)](_0x213dea,_0x41bfe));let _0x2a1e9b=_0x41bfe[_0x32ba1e(0x2d9)](_0x27bd65);return _0x2a1e9b||(_0x2a1e9b=new Map(),_0x41bfe[_0x32ba1e(0x487)](_0x27bd65,_0x2a1e9b)),_0x2a1e9b;}[_0x37cf57(0x208)](_0x3d1ff2,_0xaba74a){const _0x46985b=_0x37cf57;let _0x174347=this[_0x46985b(0x337)][_0x46985b(0x2d9)](_0x3d1ff2);_0x174347||(_0x174347=new Map(),this[_0x46985b(0x337)]['set'](_0x3d1ff2,_0x174347));let _0x522b3e=_0x174347[_0x46985b(0x2d9)](_0xaba74a);return _0x522b3e||(_0x522b3e=new Map(),_0x174347[_0x46985b(0x487)](_0xaba74a,_0x522b3e)),_0x522b3e;}[_0x37cf57(0x400)](_0x478707,_0x430820,_0x5a73c5,_0x3ee26f){const _0x2e524c=_0x37cf57;var _0x28bbbc;const _0x58286c=this[_0x2e524c(0x3c3)](_0x478707,_0x430820),_0x10e7bc=(_0x28bbbc=_0x58286c[_0x2e524c(0x2d9)](_0x5a73c5))==null?void 0x0:_0x28bbbc[_0x2e524c(0x1f5)];_0x58286c['set'](_0x5a73c5,{'oldRangeInfo':_0x10e7bc,'rangeInfo':_0x3ee26f});}[_0x37cf57(0x309)](_0x51a8ae,_0x57b06d,_0x3eaa22,_0x351be0){const _0x1b4c5e=_0x37cf57;var _0x471758;const _0x26f278=this['_ensurePivotTableMatrixInfo'](_0x51a8ae,_0x57b06d),_0xdf10dd=(_0x471758=_0x26f278[_0x1b4c5e(0x2d9)](_0x3eaa22))==null?void 0x0:_0x471758[_0x1b4c5e(0x2e6)];_0x26f278[_0x1b4c5e(0x487)](_0x3eaa22,{'oldMatrix':_0xdf10dd,'matrix':_0x351be0});}[_0x37cf57(0x263)](_0x1a1714,_0x4839a5,_0x122a29){const _0xc498e4=_0x37cf57;var _0x4ab09c,_0x26a7c3;return(_0x26a7c3=(_0x4ab09c=this[_0xc498e4(0x490)][_0xc498e4(0x2d9)](_0x1a1714))==null?void 0x0:_0x4ab09c['get'](_0x4839a5))==null?void 0x0:_0x26a7c3['get'](_0x122a29);}['getPivotTableMatrixInfo'](_0x37b81e,_0x14c0d9,_0x513b94){const _0x334bbd=_0x37cf57;var _0x18370c,_0x269872;return(_0x269872=(_0x18370c=this[_0x334bbd(0x337)][_0x334bbd(0x2d9)](_0x37b81e))==null?void 0x0:_0x18370c[_0x334bbd(0x2d9)](_0x14c0d9))==null?void 0x0:_0x269872[_0x334bbd(0x2d9)](_0x513b94);}[_0x37cf57(0x393)](_0x26753f){const _0x4f1ab4=_0x37cf57;this[_0x4f1ab4(0x1f4)][_0x4f1ab4(0x46c)](_0x26753f),this[_0x4f1ab4(0x35e)][_0x4f1ab4(0x46c)](_0x26753f);}},_0x31f249[_0x37cf57(0x44e)]=_0x445e8c([_0x5a7fe5(0x0,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x1e7)])),_0x5a7fe5(0x1,_0x3c4cb4['Inject'](_0x3c4cb4[_0x37cf57(0x31a)])),_0x5a7fe5(0x2,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x444)]))],_0x31f249['SheetsPivotTableConfigModel']);var _0x30b566=Object[_0x37cf57(0x45a)],_0xc5186b=Object[_0x37cf57(0x43f)],_0x2c2162=(_0x42e35e,_0x1de475,_0xbf3efe,_0x473cfc)=>{for(var _0x1e333b=_0x473cfc>0x1?void 0x0:_0x473cfc?_0xc5186b(_0x1de475,_0xbf3efe):_0x1de475,_0x48bc57=_0x42e35e['length']-0x1,_0xa13aae;_0x48bc57>=0x0;_0x48bc57--)(_0xa13aae=_0x42e35e[_0x48bc57])&&(_0x1e333b=(_0x473cfc?_0xa13aae(_0x1de475,_0xbf3efe,_0x1e333b):_0xa13aae(_0x1e333b))||_0x1e333b);return _0x473cfc&&_0x1e333b&&_0x30b566(_0x1de475,_0xbf3efe,_0x1e333b),_0x1e333b;},_0xa8f4d3=(_0x398e04,_0xe9d951)=>(_0x51af82,_0x5b6bab)=>_0xe9d951(_0x51af82,_0x5b6bab,_0x398e04);_0x31f249[_0x37cf57(0x41a)]=class extends _0x3c4cb4[_0x37cf57(0x427)]{constructor(_0x584aa7,_0x30e0a0,_0x4438c3,_0x555f58,_0x51eeda){const _0x13271a=_0x37cf57;super(),_0x2674dc(this,_0x13271a(0x4a3),new Map()),_0x2674dc(this,_0x13271a(0x3b4),new Map()),_0x2674dc(this,'_markDirty$',new _0x546c70[(_0x13271a(0x366))]()),_0x2674dc(this,'markDirty$',this['_markDirty$'][_0x13271a(0x33b)]()),_0x2674dc(this,_0x13271a(0x3ba),new _0x546c70[(_0x13271a(0x366))]()),_0x2674dc(this,_0x13271a(0x2b3),this[_0x13271a(0x3ba)][_0x13271a(0x33b)]()),_0x2674dc(this,_0x13271a(0x382)),(this['_localeService']=_0x584aa7,this[_0x13271a(0x431)]=_0x30e0a0,this[_0x13271a(0x455)]=_0x4438c3,this['_univerInstanceService']=_0x555f58,this[_0x13271a(0x1e8)]=_0x51eeda,this[_0x13271a(0x3cd)](),this[_0x13271a(0x44a)]());}['_initUnitDisposed'](){const _0x43e721=_0x37cf57;this[_0x43e721(0x294)](this[_0x43e721(0x40d)]['getTypeOfUnitDisposed$'](_0x3c4cb4[_0x43e721(0x465)][_0x43e721(0x1f1)])[_0x43e721(0x49b)](_0x16ec5c=>{const _0x103fde=_0x43e721;this[_0x103fde(0x393)](_0x16ec5c[_0x103fde(0x3e3)]());}));}[_0x37cf57(0x3cd)](){const _0x3c18c6=_0x37cf57;this[_0x3c18c6(0x382)]=_0x3eac60(this[_0x3c18c6(0x431)],_0xd4f914,'',{});}[_0x37cf57(0x481)](_0x4bc901){const _0x21f2b4=_0x37cf57,{view:_0x5e6211,unitId:_0x435d4d,subUnitId:_0x2d0d9c,pivotTableId:_0x275570,type:_0x49c5ca}=_0x4bc901,_0x451bf2=this[_0x21f2b4(0x455)][_0x21f2b4(0x3f0)](_0x435d4d,_0x2d0d9c,_0x275570);if(!_0x5e6211||!_0x451bf2||_0x49c5ca===_0x26022f['Delete'])return;const {pageView:_0x250e6a,cornerView:_0x2c8ea9,rowView:_0x24596f,colView:_0x41fc42,dataView:_0x2ab8a6}=_0x5e6211,_0x5bbb81=_0x451bf2[_0x21f2b4(0x44d)],_0x2a7aa5=_0x451bf2[_0x21f2b4(0x39a)],_0x1280a7=this[_0x21f2b4(0x396)](_0x435d4d,_0x2d0d9c),_0x781979=this[_0x21f2b4(0x31b)](_0x435d4d,_0x2d0d9c,_0x275570);if(_0x2a7aa5)return this['_updateRenderEmptyCache'](_0x4bc901,_0x1280a7,_0x5bbb81,_0x781979);{const _0x4b884f=_0x16fcbe(_0x5bbb81,_0x250e6a,!0x0),_0x4ec983=_0x250e6a[_0x21f2b4(0x205)]>=0x0?_0x250e6a[_0x21f2b4(0x205)]+0x1:0x0,_0x4d5d84=_0x2c8ea9[_0x21f2b4(0x348)](),_0x44e594=_0x2c8ea9[_0x21f2b4(0x271)](),_0x2759fe=_0x4b884f[_0x21f2b4(0x3fb)]>0x0?_0x333bcd:0x0,_0x372c06=_0x16fcbe({'row':_0x5bbb81['row']+_0x4ec983+_0x2759fe,'col':_0x5bbb81[_0x21f2b4(0x1fa)]},_0x2c8ea9,!0x1,!0x1),_0x18b685=_0x16fcbe({'row':_0x5bbb81[_0x21f2b4(0x37e)]+_0x4ec983+_0x2759fe+_0x4d5d84,'col':_0x5bbb81[_0x21f2b4(0x1fa)]},_0x24596f,!0x1,!0x0),_0x853dc2=_0x16fcbe({'row':_0x5bbb81['row']+_0x4ec983+_0x2759fe,'col':_0x5bbb81[_0x21f2b4(0x1fa)]+_0x44e594},_0x41fc42,!0x1,!0x0),_0x4820d0=_0x16fcbe({'row':_0x5bbb81[_0x21f2b4(0x37e)]+_0x4ec983+_0x2759fe+_0x4d5d84,'col':_0x5bbb81[_0x21f2b4(0x1fa)]+_0x44e594},_0x2ab8a6,!0x1,!0x1);_0x781979[_0x21f2b4(0x3cf)]={'rowRanges':_0x18b685,'colRanges':_0x853dc2,'cornerRanges':_0x372c06,'dataRanges':_0x4820d0,'pageRanges':_0x4b884f};const _0x1e9c32=_0x2ab859(this[_0x21f2b4(0x431)],_0x5e6211,_0x451bf2,this[_0x21f2b4(0x382)]),{valueMatrix:_0x5f1af7,rowInfo:_0x2e3a68,colInfo:_0x35768c,cornerInfo:_0x1a65c5,rowHeaderMap:_0x598e91,colHeaderMap:_0x535e10}=_0x1e9c32;return _0x781979[_0x21f2b4(0x4a1)]={'rowInfo':_0x2e3a68,'colInfo':_0x35768c,'cornerInfo':_0x1a65c5},_0x781979['headerMap']={'rowHeaderMap':_0x598e91,'colHeaderMap':_0x535e10},_0x5f1af7[_0x21f2b4(0x340)]((_0xff6061,_0x18ca6d)=>{Object['keys'](_0x18ca6d)['forEach'](_0x347960=>{const _0x4b714a=_0x554e,_0x8acdad=+_0x347960,_0x4aaecd=_0x5f1af7[_0x4b714a(0x225)](_0xff6061,_0x8acdad);_0x1280a7[_0x4b714a(0x2b1)](_0xff6061,_0x8acdad,_0x4aaecd);});}),this[_0x21f2b4(0x3ba)]['next']({'unitId':_0x435d4d,'subUnitId':_0x2d0d9c,'valueMatrix':_0x1280a7,'rangesCache':_0x781979[_0x21f2b4(0x3cf)],'pivotTableId':_0x275570,'type':_0x4bc901[_0x21f2b4(0x3e1)]}),this[_0x21f2b4(0x455)][_0x21f2b4(0x252)](_0x435d4d,_0x2d0d9c,_0x275570,_0x1280a7,_0x781979['rangesInfo']),this[_0x21f2b4(0x1e8)][_0x21f2b4(0x261)](_0x435d4d,_0x2d0d9c,_0xe706fe,this[_0x21f2b4(0x365)](_0x781979[_0x21f2b4(0x3cf)],_0x275570)),{'rangeCache':_0x781979['rangesInfo'],'matrix':_0x1280a7};}}[_0x37cf57(0x2c6)](_0x334e6e,_0x27c92,_0x2b5cd6,_0x48a03c){const _0x586b97=_0x37cf57,_0x5b78c5=this[_0x586b97(0x2ca)]['t'],{unitId:_0x53780,subUnitId:_0x306155,pivotTableId:_0x47b17b}=_0x334e6e,_0xfa9163={'filter':_0x5b78c5('sheets-pivot.emptyPivot.filter'),'row':_0x5b78c5('sheets-pivot.emptyPivot.row'),'column':_0x5b78c5('sheets-pivot.emptyPivot.column'),'values':_0x5b78c5('sheets-pivot.emptyPivot.values')},{matrixCache:_0xb0f03a,rangesCache:_0x3c0d01}=_0x2973a8(_0xfa9163,_0x2b5cd6);return _0xb0f03a['forValue']((_0x3da9e8,_0x18d8ee,_0x2baf7e)=>{const _0x5378e6=_0x586b97;_0x27c92[_0x5378e6(0x2b1)](_0x3da9e8,_0x18d8ee,_0x2baf7e);}),_0x48a03c['rangesInfo']=_0x3c0d01,this['_viewUpdate$'][_0x586b97(0x2e4)]({'unitId':_0x53780,'subUnitId':_0x306155,'valueMatrix':_0x27c92,'rangesCache':_0x3c0d01,'pivotTableId':_0x47b17b,'type':_0x334e6e[_0x586b97(0x3e1)]}),this[_0x586b97(0x455)][_0x586b97(0x252)](_0x53780,_0x306155,_0x47b17b,_0x27c92,_0x3c0d01),this['_exclusiveRangeService'][_0x586b97(0x261)](_0x53780,_0x306155,_0xe706fe,this['_createExclusiveRange'](_0x3c0d01,_0x47b17b)),{'rangeCache':_0x48a03c[_0x586b97(0x3cf)],'matrix':_0x27c92};}[_0x37cf57(0x365)](_0x3def67,_0x2da31e){const _0x5d72b6=_0x37cf57,_0x17a4d6=[],_0x3d521a=_0x14101a(_0x3def67);for(const _0x25f936 of _0x3d521a)_0x17a4d6[_0x5d72b6(0x1eb)]({'groupId':_0x2da31e,'range':_0x25f936});return _0x17a4d6;}[_0x37cf57(0x47e)](_0x3f7bca){const _0x22e96b=_0x37cf57;var _0x186e67,_0x2cad3e,_0x50323c,_0x53be15;const {pivotTableId:_0x2f5925,unitId:_0x5db0d5,subUnitId:_0x19dc07}=_0x3f7bca;if(!_0x2f5925||!_0x5db0d5||!_0x19dc07)return;const _0x3b7b1f=this[_0x22e96b(0x396)](_0x5db0d5,_0x19dc07),_0x40b6b5=(_0x2cad3e=(_0x186e67=this[_0x22e96b(0x4a3)][_0x22e96b(0x2d9)](_0x5db0d5))==null?void 0x0:_0x186e67[_0x22e96b(0x2d9)](_0x19dc07))==null?void 0x0:_0x2cad3e[_0x22e96b(0x2d9)](_0x2f5925);if(_0x40b6b5!=null&&_0x40b6b5[_0x22e96b(0x3cf)]){for(const _0x395bed of Object['keys'](_0x40b6b5[_0x22e96b(0x3cf)]))_0x40b6b5['rangesInfo'][_0x395bed][_0x22e96b(0x340)](_0xd8fde6=>{const _0x2a9670=_0x22e96b;for(let _0x1e8d26=_0xd8fde6[_0x2a9670(0x421)];_0x1e8d26<=_0xd8fde6[_0x2a9670(0x46e)];_0x1e8d26++)for(let _0x1a7140=_0xd8fde6['startColumn'];_0x1a7140<=_0xd8fde6[_0x2a9670(0x37d)];_0x1a7140++)_0x3b7b1f[_0x2a9670(0x30b)](_0x1e8d26,_0x1a7140);});}_0x40b6b5&&((_0x53be15=(_0x50323c=this['_pivotRenderInfoCache']['get'](_0x5db0d5))==null?void 0x0:_0x50323c[_0x22e96b(0x2d9)](_0x19dc07))==null||_0x53be15[_0x22e96b(0x46c)](_0x2f5925)),this[_0x22e96b(0x3ba)][_0x22e96b(0x2e4)]({'unitId':_0x5db0d5,'subUnitId':_0x19dc07,'valueMatrix':_0x3b7b1f,'pivotTableId':_0x2f5925,'rangesCache':void 0x0,'type':_0x3f7bca['type']}),this[_0x22e96b(0x1e8)][_0x22e96b(0x354)](_0x5db0d5,_0x19dc07,_0xe706fe,_0x2f5925);}[_0x37cf57(0x31b)](_0x18e966,_0x4021d9,_0x185b5b){const _0x490c68=_0x37cf57;var _0x1bf565,_0x5a6749,_0x2ec9bf,_0x468ef8,_0x478109,_0x17f887;return this[_0x490c68(0x4a3)][_0x490c68(0x3f9)](_0x18e966)||this[_0x490c68(0x4a3)][_0x490c68(0x487)](_0x18e966,new Map()),(_0x1bf565=this[_0x490c68(0x4a3)]['get'](_0x18e966))!=null&&_0x1bf565[_0x490c68(0x3f9)](_0x4021d9)||(_0x5a6749=this[_0x490c68(0x4a3)]['get'](_0x18e966))==null||_0x5a6749[_0x490c68(0x487)](_0x4021d9,new Map()),(_0x468ef8=(_0x2ec9bf=this[_0x490c68(0x4a3)]['get'](_0x18e966))==null?void 0x0:_0x2ec9bf[_0x490c68(0x2d9)](_0x4021d9))!=null&&_0x468ef8['has'](_0x185b5b)||(_0x17f887=(_0x478109=this[_0x490c68(0x4a3)][_0x490c68(0x2d9)](_0x18e966))==null?void 0x0:_0x478109['get'](_0x4021d9))==null||_0x17f887['set'](_0x185b5b,{}),this[_0x490c68(0x4a3)][_0x490c68(0x2d9)](_0x18e966)['get'](_0x4021d9)['get'](_0x185b5b);}['_ensurePivotItemRenderValueMatrixCache'](_0x189495,_0x4508b3){const _0x4389b0=_0x37cf57;var _0x1b1ff2,_0x5013aa;return this[_0x4389b0(0x3b4)][_0x4389b0(0x3f9)](_0x189495)||this[_0x4389b0(0x3b4)]['set'](_0x189495,new Map()),(_0x1b1ff2=this['_pivotRenderValueMatrixCache']['get'](_0x189495))!=null&&_0x1b1ff2[_0x4389b0(0x3f9)](_0x4508b3)||(_0x5013aa=this[_0x4389b0(0x3b4)][_0x4389b0(0x2d9)](_0x189495))==null||_0x5013aa[_0x4389b0(0x487)](_0x4508b3,new _0x3c4cb4[(_0x4389b0(0x39c))]()),this[_0x4389b0(0x3b4)]['get'](_0x189495)[_0x4389b0(0x2d9)](_0x4508b3);}[_0x37cf57(0x30e)](_0x51ca85,_0x3c598e,_0x533311,_0x4d5d38){const _0x5797dd=_0x37cf57;var _0x3233c9,_0x4c30ee;const _0x2a6376=(_0x4c30ee=(_0x3233c9=this[_0x5797dd(0x3b4)][_0x5797dd(0x2d9)](_0x51ca85))==null?void 0x0:_0x3233c9[_0x5797dd(0x2d9)](_0x3c598e))==null?void 0x0:_0x4c30ee[_0x5797dd(0x225)](_0x533311,_0x4d5d38);if(_0x2a6376!=null)return _0x2a6376;}[_0x37cf57(0x2b6)](_0x47ac7b,_0x5aa2de,_0x2b380a,_0xa95fe5){const _0x23f608=_0x37cf57;var _0x5b2243;const _0x9906c6=_0x3c4cb4[_0x23f608(0x364)](_0x2b380a,_0xa95fe5),_0xa15f41=(_0x5b2243=this[_0x23f608(0x4a3)][_0x23f608(0x2d9)](_0x47ac7b))==null?void 0x0:_0x5b2243[_0x23f608(0x2d9)](_0x5aa2de);return _0xa15f41?Array[_0x23f608(0x283)](_0xa15f41['keys']())[_0x23f608(0x486)](_0x38de92=>{const _0x1bde0c=_0x23f608,_0x179b52=_0xa15f41[_0x1bde0c(0x2d9)](_0x38de92),_0x3fe566=_0x179b52==null?void 0x0:_0x179b52[_0x1bde0c(0x3cf)];return _0x3fe566?Object[_0x1bde0c(0x2e2)](_0x3fe566)[_0x1bde0c(0x20e)](_0x2d047d=>_0x3fe566[_0x2d047d]['some'](_0x982218=>_0x3c4cb4[_0x1bde0c(0x27b)][_0x1bde0c(0x2a2)](_0x982218,_0x9906c6))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0xac0b0f,_0xdd52b7,_0x27b365){const _0x89d888=_0x37cf57;var _0xdd1cc2;const _0x394e1c=(_0xdd1cc2=this[_0x89d888(0x4a3)][_0x89d888(0x2d9)](_0xac0b0f))==null?void 0x0:_0xdd1cc2[_0x89d888(0x2d9)](_0xdd52b7),_0x32083f=[];return _0x394e1c&&Array['from'](_0x394e1c['keys']())[_0x89d888(0x340)](_0x3efdef=>{const _0x227e8e=_0x89d888,_0x48d450=_0x394e1c[_0x227e8e(0x2d9)](_0x3efdef),_0x231ba9=_0x48d450==null?void 0x0:_0x48d450['rangesInfo'];if(_0x231ba9)for(const _0x1bc923 of Object[_0x227e8e(0x2ff)](_0x231ba9)){let _0x1ef1fc=!0x1;for(const _0x34d268 of _0x1bc923)if(_0x3c4cb4[_0x227e8e(0x27b)][_0x227e8e(0x343)](_0x34d268,_0x27b365)){_0x32083f[_0x227e8e(0x1eb)](_0x3efdef),_0x1ef1fc=!0x0;break;}if(_0x1ef1fc)break;}}),_0x32083f;}['getSubUnitPivotMatrix'](_0x575341,_0x188ff9){const _0x19af7b=_0x37cf57;var _0x391cce,_0x39108a;return(_0x39108a=(_0x391cce=this[_0x19af7b(0x3b4)][_0x19af7b(0x2d9)](_0x575341))==null?void 0x0:_0x391cce[_0x19af7b(0x2d9)](_0x188ff9))!=null?_0x39108a:new _0x3c4cb4[(_0x19af7b(0x39c))]();}[_0x37cf57(0x21a)](_0x282a96,_0x388c3d,_0x4ae281){const _0x524c97=_0x37cf57;var _0x54c080,_0x4afb81;return(_0x4afb81=(_0x54c080=this[_0x524c97(0x4a3)]['get'](_0x282a96))==null?void 0x0:_0x54c080['get'](_0x388c3d))==null?void 0x0:_0x4afb81[_0x524c97(0x2d9)](_0x4ae281);}[_0x37cf57(0x393)](_0xc69333){const _0x4dda09=_0x37cf57;this['_pivotRenderInfoCache'][_0x4dda09(0x46c)](_0xc69333),this['_pivotRenderValueMatrixCache'][_0x4dda09(0x46c)](_0xc69333);}[_0x37cf57(0x395)](_0x327b4f,_0x460b11){const _0x302d47=_0x37cf57;this['_markDirty$'][_0x302d47(0x2e4)]({'unitId':_0x327b4f,'subUnitId':_0x460b11});}},_0x31f249[_0x37cf57(0x41a)]=_0x2c2162([_0xa8f4d3(0x0,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x430)])),_0xa8f4d3(0x1,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x1e7)])),_0xa8f4d3(0x2,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249['SheetsPivotTableConfigModel'])),_0xa8f4d3(0x3,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x444)])),_0xa8f4d3(0x4,_0x3c4cb4['Inject'](_0x2bdc55[_0x37cf57(0x40b)]))],_0x31f249[_0x37cf57(0x41a)]);var _0x55ef5d=Object[_0x37cf57(0x45a)],_0x17e992=Object[_0x37cf57(0x43f)],_0x3a9671=(_0x5edf9f,_0x4a3166,_0x28fba5,_0x4c65c9)=>{const _0x2bc850=_0x37cf57;for(var _0x9783a1=_0x4c65c9>0x1?void 0x0:_0x4c65c9?_0x17e992(_0x4a3166,_0x28fba5):_0x4a3166,_0x5adffb=_0x5edf9f[_0x2bc850(0x3fb)]-0x1,_0x133515;_0x5adffb>=0x0;_0x5adffb--)(_0x133515=_0x5edf9f[_0x5adffb])&&(_0x9783a1=(_0x4c65c9?_0x133515(_0x4a3166,_0x28fba5,_0x9783a1):_0x133515(_0x9783a1))||_0x9783a1);return _0x4c65c9&&_0x9783a1&&_0x55ef5d(_0x4a3166,_0x28fba5,_0x9783a1),_0x9783a1;},_0x2f4985=(_0x57a084,_0x40a50f)=>(_0x773f10,_0x5bcab5)=>_0x40a50f(_0x773f10,_0x5bcab5,_0x57a084);_0x31f249[_0x37cf57(0x203)]=class extends _0x3c4cb4[_0x37cf57(0x427)]{constructor(_0x594245,_0x3b69c5){const _0x4c4b6a=_0x37cf57;super(),_0x2674dc(this,'asyncInterceptor',new _0x3c4cb4[(_0x4c4b6a(0x30f))]({'PIVOT_PERFORM_CHECK':_0x2163fb})),_0x2674dc(this,'interceptor',new _0x3c4cb4[(_0x4c4b6a(0x425))]({'PIVOT_MUTATION_GENERATE':_0x47042d})),(this[_0x4c4b6a(0x4a2)]=_0x594245,this[_0x4c4b6a(0x20a)]=_0x3b69c5,this[_0x4c4b6a(0x2e7)]());}[_0x37cf57(0x2e7)](){const _0x5acaf6=_0x37cf57;this[_0x5acaf6(0x443)]();}['getPivotPerformCheck'](_0x2a922f){const _0x1d3662=_0x37cf57;return this[_0x1d3662(0x453)][_0x1d3662(0x345)](_0x2163fb)(!0x1,_0x2a922f);}['_initViewModelBySheetInterceptor'](){const _0xb35767=_0x37cf57;this['disposeWithMe'](this[_0xb35767(0x4a2)][_0xb35767(0x3ce)](_0x2bdc55[_0xb35767(0x328)][_0xb35767(0x28f)],{'priority':0xc8,'effect':_0x3c4cb4[_0xb35767(0x33d)][_0xb35767(0x29f)]|_0x3c4cb4[_0xb35767(0x33d)][_0xb35767(0x2f4)],'handler':(_0x49078d,_0x1f8ec6,_0x3ff3a0)=>{const _0x1905d9=_0xb35767,{row:_0x1b9c1c,col:_0x1a1100,unitId:_0xa94507,subUnitId:_0x2a4e66,workbook:_0x141f72}=_0x1f8ec6,_0x2037ac=this['_sheetsPivotTableAdaptorModel'][_0x1905d9(0x30e)](_0xa94507,_0x2a4e66,_0x1b9c1c,_0x1a1100);if(!_0x2037ac)return _0x3ff3a0(_0x49078d);const _0x3bc8a4={..._0x49078d};(_0x2037ac['v']||_0x2037ac['v']===0x0)&&(_0x3bc8a4['v']=_0x2037ac['v']),_0x2037ac['t']&&(_0x3bc8a4['t']=_0x2037ac['t']);const _0x54a79d=(typeof(_0x49078d==null?void 0x0:_0x49078d['s'])==_0x1905d9(0x2c9)?_0x141f72[_0x1905d9(0x3e0)]()[_0x1905d9(0x2d9)](_0x49078d==null?void 0x0:_0x49078d['s']):_0x49078d==null?void 0x0:_0x49078d['s'])||{},_0x3a024b=_0x141f72['getStyles']()['get'](_0x2037ac['s']),_0x4fc20f={..._0x3a024b,..._0x54a79d};_0x3a024b!=null&&_0x3a024b['n']&&(_0x4fc20f['n']=_0x3a024b['n']);const _0x2de28b=_0x141f72[_0x1905d9(0x3e0)]()['setValue'](_0x4fc20f);return _0x3bc8a4['s']=_0x2de28b,(_0x2037ac['pbt']===_0x31bb8d[_0x1905d9(0x412)]['Collapse']||_0x2037ac[_0x1905d9(0x46a)]===_0x31bb8d['PivotCellStyleTypeEnum'][_0x1905d9(0x367)])&&(_0x3bc8a4['fontRenderExtension']={},_0x3bc8a4[_0x1905d9(0x2bb)][_0x1905d9(0x3da)]=_0xfdcfbf),_0x3ff3a0(_0x3bc8a4);}}));}},_0x31f249[_0x37cf57(0x203)]=_0x3a9671([_0x2f4985(0x0,_0x3c4cb4['Inject'](_0x2bdc55[_0x37cf57(0x30a)])),_0x2f4985(0x1,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249[_0x37cf57(0x41a)]))],_0x31f249['SheetsPivotTableService']);function _0x2a27cd(_0x288e0c,_0x25d17a){const _0x1d8f31=_0x37cf57;switch(_0x25d17a){case _0x31bb8d[_0x1d8f31(0x2ba)][_0x1d8f31(0x29f)]:return _0x288e0c[_0x1d8f31(0x47f)];case _0x31bb8d[_0x1d8f31(0x2ba)][_0x1d8f31(0x333)]:return _0x288e0c[_0x1d8f31(0x1ed)];case _0x31bb8d['PivotTableFiledAreaEnum'][_0x1d8f31(0x26d)]:return _0x288e0c['rowFields'];case _0x31bb8d['PivotTableFiledAreaEnum']['Column']:return _0x288e0c[_0x1d8f31(0x1fe)];default:return[];}}function _0x3f55d2(_0x473dc2,_0x410d35){const _0xfe58c7=_0x37cf57;return _0x473dc2[_0xfe58c7(0x3e2)][_0x410d35]||_0x473dc2[_0xfe58c7(0x37c)][_0x410d35];}function _0x1ca3f9(_0x58de26,_0x29dff6){const _0x4d9b16=_0x37cf57,{area:_0x45f9dc,fieldJson:_0x58b2bd,index:_0x41bb3a}=_0x29dff6;_0x45f9dc===_0x31bb8d[_0x4d9b16(0x2ba)][_0x4d9b16(0x29f)]?_0x58de26['measure'][_0x58b2bd['id']]=_0x58b2bd:_0x58de26[_0x4d9b16(0x37c)][_0x58b2bd['id']]=_0x58b2bd,_0x2a27cd(_0x58de26,_0x45f9dc)[_0x4d9b16(0x24a)](_0x41bb3a,0x0,_0x58b2bd['id']);}function _0x491ea0(_0x12416a,_0x4891a4){const _0x5bd47a=_0x37cf57,{area:_0x5c59d4,fieldId:_0x3b0423,index:_0x32dbe3}=_0x4891a4;_0x5c59d4===_0x31bb8d[_0x5bd47a(0x2ba)][_0x5bd47a(0x29f)]?delete _0x12416a[_0x5bd47a(0x3e2)][_0x3b0423]:delete _0x12416a[_0x5bd47a(0x37c)][_0x3b0423],_0x2a27cd(_0x12416a,_0x5c59d4)['splice'](_0x32dbe3,0x1);}function _0x16e44a(_0x5d58f1,_0x2899a3){const _0x4e1c5b=_0x37cf57,{fieldId:_0x1c6d82,name:_0x1df522}=_0x2899a3,_0x1bcc52=_0x3f55d2(_0x5d58f1,_0x1c6d82);_0x1bcc52&&(_0x1bcc52[_0x4e1c5b(0x3b0)]=_0x1df522);}function _0x294f56(_0x2121c0,_0x31f566){const _0x737bca=_0x37cf57,{fieldId:_0x5efcd9,collapse:_0x4e0087,item:_0x173ca8}=_0x31f566;_0x173ca8!==void 0x0?(_0x2121c0['collapseInfo'][_0x5efcd9]=_0x2121c0[_0x737bca(0x298)][_0x5efcd9]||{},_0x2121c0[_0x737bca(0x298)][_0x5efcd9][_0x173ca8]=_0x4e0087):_0x2121c0['collapseInfo'][_0x5efcd9]=_0x4e0087;}function _0x4950b4(_0x315675,_0x17e418){const {fieldId:_0x498a07,format:_0x21ed79}=_0x17e418,_0x1bc5ff=_0x3f55d2(_0x315675,_0x498a07);_0x1bc5ff&&(_0x1bc5ff['format']=_0x21ed79);}function _0x2dc68d(_0x18a92a,_0x157076){const _0x43d188=_0x37cf57,{fieldId:_0x4368f5,filterInfo:_0x29ec2d}=_0x157076,_0x535b58=_0x3f55d2(_0x18a92a,_0x4368f5);_0x535b58&&(_0x535b58[_0x43d188(0x39e)]=_0x29ec2d);}function _0x4b0a5b(_0x31f2c4,_0x771656){const _0x50b452=_0x37cf57,{fieldId:_0x37a43b,subtotalType:_0x40eec4}=_0x771656,_0x364048=_0x3f55d2(_0x31f2c4,_0x37a43b);_0x364048&&(_0x364048[_0x50b452(0x307)]=_0x40eec4);}function _0x938338(_0x4078ca,_0x33e4b7){const _0x2d0a6b=_0x37cf57,{fieldId:_0x44db37,oldArea:_0x5dc159,area:_0x39c872,oldIndex:_0x1b36b0,index:_0x57bd65}=_0x33e4b7,_0x54df37=_0x5dc159!==_0x31bb8d['PivotTableFiledAreaEnum'][_0x2d0a6b(0x29f)]&&_0x39c872===_0x31bb8d['PivotTableFiledAreaEnum'][_0x2d0a6b(0x29f)],_0x50909b=_0x5dc159===_0x31bb8d['PivotTableFiledAreaEnum'][_0x2d0a6b(0x29f)]&&_0x39c872!==_0x31bb8d[_0x2d0a6b(0x2ba)][_0x2d0a6b(0x29f)];if(_0x54df37||_0x50909b){const _0x29dcdc=_0x3f55d2(_0x4078ca,_0x44db37);_0x29dcdc&&(_0x54df37?(delete _0x4078ca[_0x2d0a6b(0x37c)][_0x44db37],_0x4078ca[_0x2d0a6b(0x3e2)][_0x44db37]=_0x29dcdc):(delete _0x4078ca[_0x2d0a6b(0x3e2)][_0x44db37],_0x4078ca[_0x2d0a6b(0x37c)][_0x44db37]=_0x29dcdc));}const _0x4300cc=_0x2a27cd(_0x4078ca,_0x5dc159),_0x3ff0ad=_0x2a27cd(_0x4078ca,_0x39c872);_0x4300cc[_0x2d0a6b(0x24a)](_0x1b36b0,0x1),_0x3ff0ad[_0x2d0a6b(0x24a)](_0x57bd65,0x0,_0x44db37);}function _0x47f35f(_0x323139,_0x5579cf){const _0x2d1967=_0x37cf57,{valuePosition:_0x1d1920,index:_0x477921}=_0x5579cf;_0x323139['valuePosition']=_0x1d1920,_0x323139[_0x2d1967(0x44b)]=_0x477921;}function _0x252bf0(_0x5de196,_0x442d77){const _0x513e41=_0x37cf57,{tableFieldId:_0x335a35,sourceName:_0x35f694,dataFieldId:_0x59de39}=_0x442d77,_0xb0975f=_0x3f55d2(_0x5de196,_0x335a35);_0xb0975f&&(_0xb0975f[_0x513e41(0x442)]=_0x35f694,_0xb0975f[_0x513e41(0x49f)]=_0x59de39);}function _0x2c9ac9(_0x481299,_0x5edba5){const _0xc84f44=_0x37cf57,{fieldId:_0x10756c,sortInfo:_0x55e5c2}=_0x5edba5,_0x586f61=_0x3f55d2(_0x481299,_0x10756c);_0x586f61&&(_0x586f61[_0xc84f44(0x2f9)]=_0x55e5c2);}function _0x2cb4b1(_0xd6a031,_0x2d7b40){const _0x3c0a4c=_0x37cf57,{options:_0x1d513b}=_0x2d7b40;_0xd6a031['options']={..._0xd6a031[_0x3c0a4c(0x322)],..._0x1d513b};}const _0xdee453={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x1e6),'handler'(_0x417cf0,_0x395e8c){const _0x15742d=_0x37cf57;if(!_0x395e8c)return!0x1;if(!!_0x417cf0[_0x15742d(0x2d9)](_0x3c4cb4['IConfigService'])[_0x15742d(0x3ec)](_0x42d250))return!0x0;const _0x2eae23=_0x417cf0['get'](_0x31f249[_0x15742d(0x265)]),{pivotTableId:_0x2b94be,fieldJson:_0x251c88,area:_0x5aa79d,index:_0x16a46c,unitId:_0x2399c5,subUnitId:_0x3b436b}=_0x395e8c,_0xe770ff=_0x2eae23[_0x15742d(0x256)](_0x2b94be);if(!_0xe770ff)return!0x1;let _0x4f9d71;_0x5aa79d===_0x31bb8d[_0x15742d(0x2ba)][_0x15742d(0x29f)]?_0x4f9d71=_0x31bb8d[_0x15742d(0x446)](_0x251c88):_0x4f9d71=_0x31bb8d[_0x15742d(0x315)](_0x251c88),_0xe770ff['addField'](_0x4f9d71,_0x5aa79d,_0x16a46c);const _0x51f3ea=_0x2eae23[_0x15742d(0x464)](_0x2399c5,_0x3b436b,_0x2b94be);_0x1ca3f9(_0x51f3ea,_0x395e8c);const _0x10714e=_0x2eae23['getPivotTableConfig'](_0x2399c5,_0x3b436b,_0x2b94be);return _0x2eae23[_0x15742d(0x484)]({'unitId':_0x2399c5,'subUnitId':_0x3b436b,'token':_0x2b94be,'type':_0x26022f[_0x15742d(0x223)],'pivotConfig':_0x10714e}),!0x0;}},_0x3efd5f={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x2fb),'handler'(_0x3d2bb8,_0x20827e){const _0x3ef8dd=_0x37cf57;if(!_0x20827e)return!0x1;if(!!_0x3d2bb8[_0x3ef8dd(0x2d9)](_0x3c4cb4[_0x3ef8dd(0x38b)])[_0x3ef8dd(0x3ec)](_0x42d250))return!0x0;const _0x4be7a0=_0x3d2bb8[_0x3ef8dd(0x2d9)](_0x31f249[_0x3ef8dd(0x265)]),{pivotTableId:_0x39866f,fieldId:_0x83d45c,unitId:_0x5843e5,subUnitId:_0x4fac98}=_0x20827e,_0x12b2c5=_0x4be7a0['getPivotTableInstance'](_0x39866f);if(!_0x12b2c5)return!0x1;_0x12b2c5[_0x3ef8dd(0x369)](_0x83d45c);const _0x4c7262=_0x4be7a0['getPivotTableModelConfig'](_0x5843e5,_0x4fac98,_0x39866f);_0x491ea0(_0x4c7262,_0x20827e);const _0x3a9e0f=_0x4be7a0[_0x3ef8dd(0x3f0)](_0x5843e5,_0x4fac98,_0x39866f);return _0x4be7a0[_0x3ef8dd(0x484)]({'unitId':_0x5843e5,'subUnitId':_0x4fac98,'token':_0x39866f,'type':_0x26022f[_0x3ef8dd(0x223)],'pivotConfig':_0x3a9e0f}),!0x0;}},_0x1a790d={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x39f),'handler'(_0x1ec5ba,_0x5e917f){const _0x966663=_0x37cf57;if(!_0x5e917f)return!0x1;if(!!_0x1ec5ba['get'](_0x3c4cb4[_0x966663(0x38b)])[_0x966663(0x3ec)](_0x42d250))return!0x0;const _0x379c5a=_0x1ec5ba[_0x966663(0x2d9)](_0x31f249[_0x966663(0x265)]),{unitId:_0x56b580,subUnitId:_0x4c4746,pivotTableId:_0x33ba1e,fieldId:_0x2cedd6,name:_0x2671fd}=_0x5e917f,_0x22b2eb=_0x379c5a['getPivotTableInstance'](_0x33ba1e);if(!_0x22b2eb)return!0x1;_0x22b2eb[_0x966663(0x3f2)](_0x2cedd6,_0x2671fd);const _0x3c45eb=_0x379c5a['getPivotTableModelConfig'](_0x56b580,_0x4c4746,_0x33ba1e);return _0x16e44a(_0x3c45eb,_0x5e917f),_0x379c5a['addDirtyPivotTable']({'unitId':_0x56b580,'subUnitId':_0x4c4746,'token':_0x33ba1e,'type':_0x26022f[_0x966663(0x223)]}),!0x0;}},_0x18aed4={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x36a),'handler'(_0x39786b,_0x1552dd){const _0x4c3a5c=_0x37cf57;if(!_0x1552dd)return!0x1;if(!!_0x39786b[_0x4c3a5c(0x2d9)](_0x3c4cb4[_0x4c3a5c(0x38b)])['getConfig'](_0x42d250))return!0x0;const _0x37f381=_0x39786b[_0x4c3a5c(0x2d9)](_0x31f249[_0x4c3a5c(0x265)]),{unitId:_0x5a421b,subUnitId:_0x2c28d7,pivotTableId:_0x5d9c93,fieldId:_0x5a0cfe,collapse:_0x3959ad,item:_0x2bcde1}=_0x1552dd,_0xe6d21c=_0x37f381[_0x4c3a5c(0x256)](_0x5d9c93);if(!_0xe6d21c)return!0x1;_0xe6d21c[_0x4c3a5c(0x371)](_0x5a0cfe,_0x3959ad,_0x2bcde1);const _0x162c7e=_0x37f381['getPivotTableModelConfig'](_0x5a421b,_0x2c28d7,_0x5d9c93);return _0x294f56(_0x162c7e,_0x1552dd),_0x37f381[_0x4c3a5c(0x484)]({'unitId':_0x5a421b,'subUnitId':_0x2c28d7,'token':_0x5d9c93,'type':_0x26022f[_0x4c3a5c(0x223)]}),!0x0;}},_0xc71a17={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x1f9),'handler'(_0x552fe8,_0x4f03ef){const _0xb9a44c=_0x37cf57;if(!_0x4f03ef)return!0x1;if(!!_0x552fe8[_0xb9a44c(0x2d9)](_0x3c4cb4['IConfigService'])[_0xb9a44c(0x3ec)](_0x42d250))return!0x0;const _0x4eb89a=_0x552fe8[_0xb9a44c(0x2d9)](_0x31f249['SheetsPivotDataSourceModel']),{unitId:_0x5890cb,subUnitId:_0x430efc,pivotTableId:_0x302037,fieldId:_0x5401a4,format:_0xa65f0d}=_0x4f03ef,_0x1c5690=_0x4eb89a[_0xb9a44c(0x256)](_0x302037);if(!_0x1c5690)return!0x1;_0x1c5690[_0xb9a44c(0x379)](_0x5401a4,_0xa65f0d);const _0x549d8c=_0x4eb89a['getPivotTableModelConfig'](_0x5890cb,_0x430efc,_0x302037);return _0x4950b4(_0x549d8c,_0x4f03ef),_0x4eb89a[_0xb9a44c(0x484)]({'unitId':_0x5890cb,'subUnitId':_0x430efc,'token':_0x302037,'type':_0x26022f[_0xb9a44c(0x223)]}),!0x0;}},_0x4f85bd={'type':_0x3c4cb4['CommandType'][_0x37cf57(0x2e8)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x8d153,_0x56caea){const _0x30e62a=_0x37cf57;if(!_0x56caea)return!0x1;if(!!_0x8d153['get'](_0x3c4cb4[_0x30e62a(0x38b)])['getConfig'](_0x42d250))return!0x0;const _0x51e65f=_0x8d153[_0x30e62a(0x2d9)](_0x31f249[_0x30e62a(0x265)]),{unitId:_0x213618,subUnitId:_0x514598,pivotTableId:_0x2fec68,fieldId:_0x1614be,filterInfo:_0x346884}=_0x56caea,_0x198cc0=_0x51e65f[_0x30e62a(0x256)](_0x2fec68);if(!_0x198cc0)return!0x1;_0x198cc0['setFilterInfo'](_0x1614be,_0x346884);const _0x37b1fe=_0x51e65f[_0x30e62a(0x464)](_0x213618,_0x514598,_0x2fec68);return _0x2dc68d(_0x37b1fe,_0x56caea),_0x51e65f[_0x30e62a(0x484)]({'unitId':_0x213618,'subUnitId':_0x514598,'token':_0x2fec68,'type':_0x26022f[_0x30e62a(0x223)]}),!0x0;}},_0x36ab87={'type':_0x3c4cb4['CommandType'][_0x37cf57(0x2e8)],'id':_0x37cf57(0x399),'handler'(_0x5a3232,_0xd83282){const _0x38e405=_0x37cf57;if(!_0xd83282)return!0x1;if(!!_0x5a3232[_0x38e405(0x2d9)](_0x3c4cb4[_0x38e405(0x38b)])[_0x38e405(0x3ec)](_0x42d250))return!0x0;const _0x23f85f=_0x5a3232['get'](_0x31f249[_0x38e405(0x265)]),{unitId:_0xf505ba,subUnitId:_0x35e88c,pivotTableId:_0x273b08,options:_0x45de02}=_0xd83282,_0x51446e=_0x23f85f[_0x38e405(0x256)](_0x273b08);if(!_0x51446e)return!0x1;_0x51446e['setOptions'](_0x45de02);const _0x3e0d7d=_0x23f85f[_0x38e405(0x464)](_0xf505ba,_0x35e88c,_0x273b08);return _0x2cb4b1(_0x3e0d7d,_0xd83282),_0x23f85f[_0x38e405(0x484)]({'unitId':_0xf505ba,'subUnitId':_0x35e88c,'token':_0x273b08,'type':_0x26022f[_0x38e405(0x223)]}),!0x0;}},_0x2bfedc={'type':_0x3c4cb4[_0x37cf57(0x29a)]['MUTATION'],'id':_0x37cf57(0x3a1),'handler'(_0x1e6286,_0x58735d){const _0x51908a=_0x37cf57;if(!_0x58735d)return!0x1;if(!!_0x1e6286[_0x51908a(0x2d9)](_0x3c4cb4[_0x51908a(0x38b)])[_0x51908a(0x3ec)](_0x42d250))return!0x0;const _0x1044b6=_0x1e6286[_0x51908a(0x2d9)](_0x31f249[_0x51908a(0x265)]),{unitId:_0x49d0f3,subUnitId:_0x38c34c,pivotTableId:_0x4a346a,sortInfo:_0x7f175b,fieldId:_0x17fa18}=_0x58735d,_0x4af973=_0x1044b6[_0x51908a(0x256)](_0x4a346a);if(!_0x4af973)return!0x1;_0x4af973['setSortInfo'](_0x17fa18,_0x7f175b);const _0x375b6c=_0x1044b6['getPivotTableModelConfig'](_0x49d0f3,_0x38c34c,_0x4a346a);return _0x2c9ac9(_0x375b6c,_0x58735d),_0x1044b6[_0x51908a(0x484)]({'unitId':_0x49d0f3,'subUnitId':_0x38c34c,'token':_0x4a346a,'type':_0x26022f[_0x51908a(0x223)]}),!0x0;}},_0x513736={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x38a),'handler'(_0xc65f61,_0x3bacac){const _0xf85ea9=_0x37cf57;if(!_0x3bacac)return!0x1;if(!!_0xc65f61['get'](_0x3c4cb4[_0xf85ea9(0x38b)])['getConfig'](_0x42d250))return!0x0;const _0x4ffd57=_0xc65f61[_0xf85ea9(0x2d9)](_0x31f249[_0xf85ea9(0x265)]),{unitId:_0x481805,subUnitId:_0x383467,pivotTableId:_0x2b0f81,fieldId:_0x531c5e,subtotalType:_0x58cae1}=_0x3bacac,_0x24dd91=_0x4ffd57[_0xf85ea9(0x256)](_0x2b0f81);if(!_0x24dd91)return!0x1;_0x24dd91['setSubtotalType'](_0x531c5e,_0x58cae1);const _0x10a490=_0x4ffd57['getPivotTableModelConfig'](_0x481805,_0x383467,_0x2b0f81);return _0x4b0a5b(_0x10a490,_0x3bacac),_0x4ffd57[_0xf85ea9(0x484)]({'unitId':_0x481805,'subUnitId':_0x383467,'token':_0x2b0f81,'type':_0x26022f[_0xf85ea9(0x223)]}),!0x0;}},_0x1f97c8={'type':_0x3c4cb4['CommandType']['MUTATION'],'id':_0x37cf57(0x281),'handler'(_0x4d5b95,_0x49c0de){const _0x48dba4=_0x37cf57;if(!_0x49c0de)return!0x1;if(!!_0x4d5b95[_0x48dba4(0x2d9)](_0x3c4cb4[_0x48dba4(0x38b)])['getConfig'](_0x42d250))return!0x0;const _0x292e2d=_0x4d5b95['get'](_0x31f249[_0x48dba4(0x265)]),{unitId:_0x2eec90,subUnitId:_0x2825ad,pivotTableId:_0x10fb6c,area:_0x2bd6ec,index:_0x3706af,fieldId:_0x549a29}=_0x49c0de,_0x5b3d2d=_0x292e2d[_0x48dba4(0x256)](_0x10fb6c);if(!_0x5b3d2d)return!0x1;_0x5b3d2d[_0x48dba4(0x25f)](_0x549a29,_0x2bd6ec,_0x3706af);const _0x1c624a=_0x292e2d[_0x48dba4(0x464)](_0x2eec90,_0x2825ad,_0x10fb6c);return _0x938338(_0x1c624a,_0x49c0de),_0x292e2d[_0x48dba4(0x484)]({'unitId':_0x2eec90,'subUnitId':_0x2825ad,'token':_0x10fb6c,'type':_0x26022f[_0x48dba4(0x223)]}),!0x0;}},_0x3593ad={'type':_0x3c4cb4[_0x37cf57(0x29a)]['MUTATION'],'id':_0x37cf57(0x312),'handler'(_0x3911a7,_0x371164){const _0x386c6b=_0x37cf57;if(!_0x371164)return!0x1;if(!!_0x3911a7[_0x386c6b(0x2d9)](_0x3c4cb4['IConfigService'])[_0x386c6b(0x3ec)](_0x42d250))return!0x0;const _0x3536c6=_0x3911a7[_0x386c6b(0x2d9)](_0x31f249[_0x386c6b(0x265)]),{unitId:_0x57d0a8,subUnitId:_0x58b37f,pivotTableId:_0xb75abe,sourceName:_0x374630,dataFieldId:_0x421beb,tableFieldId:_0x15d376}=_0x371164,_0x16281b=_0x3536c6['getPivotTableInstance'](_0xb75abe);if(!_0x16281b)return!0x1;_0x16281b[_0x386c6b(0x43b)](_0x15d376,_0x374630,_0x421beb);const _0x374523=_0x3536c6['getPivotTableModelConfig'](_0x57d0a8,_0x58b37f,_0xb75abe);return _0x252bf0(_0x374523,_0x371164),_0x3536c6['addDirtyPivotTable']({'unitId':_0x57d0a8,'subUnitId':_0x58b37f,'token':_0xb75abe,'type':_0x26022f['Set']}),!0x0;}},_0x4cf372={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x40f),'handler'(_0x365574,_0x247f43){const _0x1ec521=_0x37cf57;if(!_0x247f43)return!0x1;if(!!_0x365574['get'](_0x3c4cb4[_0x1ec521(0x38b)])['getConfig'](_0x42d250))return!0x0;const _0x1a81d1=_0x365574[_0x1ec521(0x2d9)](_0x31f249['SheetsPivotDataSourceModel']),{unitId:_0x22f52a,subUnitId:_0x5bb296,pivotTableId:_0x18bc67,valuePosition:_0x523029,index:_0x40314f}=_0x247f43,_0x94a99d=_0x1a81d1[_0x1ec521(0x256)](_0x18bc67);if(!_0x94a99d)return!0x1;_0x94a99d['updateValuePosition'](_0x523029,_0x40314f);const _0x38fa98=_0x1a81d1[_0x1ec521(0x464)](_0x22f52a,_0x5bb296,_0x18bc67);return _0x47f35f(_0x38fa98,_0x247f43),_0x1a81d1[_0x1ec521(0x484)]({'unitId':_0x22f52a,'subUnitId':_0x5bb296,'token':_0x18bc67,'type':_0x26022f[_0x1ec521(0x223)]}),!0x0;}};function _0x44a30a(_0x55a634,_0x5a07a1,_0x4498a3){const _0x29ede8=_0x37cf57,{pivotTableId:_0x3f7374,unitId:_0x46f22d,subUnitId:_0x10a4c4}=_0x5a07a1,_0x25c85d=[],_0x1c94cb=[];for(const _0x205016 of _0x4498a3)switch(_0x205016[_0x29ede8(0x3e1)]){case _0x31bb8d[_0x29ede8(0x459)][_0x29ede8(0x2f1)]:{const {fieldJson:_0x26f3ea,area:_0x352e19,index:_0x3be713}=_0x205016,_0x2de76c={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldJson':_0x26f3ea,'area':_0x352e19,'index':_0x3be713},_0x279b3b={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x26f3ea['id'],'area':_0x352e19,'index':_0x3be713};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0xdee453['id'],'params':_0x2de76c}),_0x1c94cb['unshift']({'id':_0x3efd5f['id'],'params':_0x279b3b});}break;case _0x31bb8d['PivotTableChangeTypeEnum'][_0x29ede8(0x2b4)]:{const {fieldId:_0x1821bf,newSubtotalType:_0x282f1e,oldSubtotalType:_0x311242}=_0x205016,_0x2c2106={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x1821bf,'subtotalType':_0x282f1e};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0x513736['id'],'params':_0x2c2106});const _0x5e0f73={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x1821bf,'subtotalType':_0x311242};_0x1c94cb['unshift']({'id':_0x513736['id'],'params':_0x5e0f73});}break;case _0x31bb8d[_0x29ede8(0x459)][_0x29ede8(0x2dd)]:{const {fieldId:_0x3966ab,fieldJson:_0x45db1b,area:_0x1d0473,index:_0xf8dcf2}=_0x205016,_0xc52bb7={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x3966ab,'index':_0xf8dcf2,'area':_0x1d0473};_0x25c85d['push']({'id':_0x3efd5f['id'],'params':_0xc52bb7});const _0x1d3477={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldJson':_0x45db1b,'area':_0x1d0473,'index':_0xf8dcf2};_0x1c94cb[_0x29ede8(0x36f)]({'id':_0xdee453['id'],'params':_0x1d3477});}break;case _0x31bb8d['PivotTableChangeTypeEnum']['RenameField']:{const {fieldId:_0xd373fd,oldName:_0x3bce95,newName:_0x3ef1ab}=_0x205016,_0x557746={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0xd373fd,'name':_0x3ef1ab};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0x1a790d['id'],'params':_0x557746});const _0x5695ba={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0xd373fd,'name':_0x3bce95};_0x1c94cb[_0x29ede8(0x36f)]({'id':_0x1a790d['id'],'params':_0x5695ba});}break;case _0x31bb8d[_0x29ede8(0x459)]['SetFilterInfo']:{const {fieldId:_0x395490,oldFilterInfo:_0x5f3ea3,newFilterInfo:_0x29490d}=_0x205016,_0x2c92e6={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x395490,'filterInfo':_0x29490d};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0x4f85bd['id'],'params':_0x2c92e6});const _0x14bbe0={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x395490,'filterInfo':_0x5f3ea3};_0x1c94cb[_0x29ede8(0x36f)]({'id':_0x4f85bd['id'],'params':_0x14bbe0});}break;case _0x31bb8d['PivotTableChangeTypeEnum']['SetSortInfo']:{const {fieldId:_0x1b2e36,oldSortInfo:_0x2f56e9,newSortInfo:_0x2a1afa}=_0x205016,_0xb5b3ae={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x1b2e36,'sortInfo':_0x2a1afa};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0x2bfedc['id'],'params':_0xb5b3ae});const _0x5e4ba3={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x1b2e36,'sortInfo':_0x2f56e9};_0x1c94cb[_0x29ede8(0x36f)]({'id':_0x2bfedc['id'],'params':_0x5e4ba3});}break;case _0x31bb8d[_0x29ede8(0x459)][_0x29ede8(0x2a0)]:{const {oldOptions:_0x30b2b0,newOptions:_0x39b380}=_0x205016,_0x3df0b0={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'options':_0x39b380};_0x25c85d['push']({'id':_0x36ab87['id'],'params':_0x3df0b0});const _0x18945f={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'options':_0x30b2b0};_0x1c94cb[_0x29ede8(0x36f)]({'id':_0x36ab87['id'],'params':_0x18945f});}break;case _0x31bb8d[_0x29ede8(0x459)]['UpdateFieldPosition']:{const {oldArea:_0x39a598,newArea:_0x5e199b,oldIndex:_0x111818,newIndex:_0x3da7de,fieldId:_0x55e7d7}=_0x205016,_0x457c7f={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x55e7d7,'area':_0x5e199b,'index':_0x3da7de,'oldArea':_0x39a598,'oldIndex':_0x111818};_0x25c85d['push']({'id':_0x1f97c8['id'],'params':_0x457c7f});const _0x3724ca={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x55e7d7,'area':_0x39a598,'index':_0x111818,'oldArea':_0x5e199b,'oldIndex':_0x3da7de};_0x1c94cb[_0x29ede8(0x36f)]({'id':_0x1f97c8['id'],'params':_0x3724ca});}break;case _0x31bb8d[_0x29ede8(0x459)]['UpdateValuePosition']:{const {oldValuePosition:_0x16eaa4,newValuePosition:_0x337424,oldIndex:_0x1f9483,newIndex:_0xa910b5}=_0x205016,_0x49e5fa={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'valuePosition':_0x337424,'index':_0xa910b5};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0x4cf372['id'],'params':_0x49e5fa});const _0x245f96={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'valuePosition':_0x16eaa4,'index':_0x1f9483};_0x1c94cb['unshift']({'id':_0x4cf372['id'],'params':_0x245f96});}break;case _0x31bb8d['PivotTableChangeTypeEnum']['SetCollapse']:{const {fieldId:_0x4f6f85,collapse:_0x36d83d,item:_0x43b7ac}=_0x205016,_0x27386a={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x4f6f85,'collapse':_0x36d83d,'item':_0x43b7ac};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0x18aed4['id'],'params':_0x27386a});const _0x59fc00={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x4f6f85,'collapse':!_0x36d83d,'item':_0x43b7ac};_0x1c94cb[_0x29ede8(0x36f)]({'id':_0x18aed4['id'],'params':_0x59fc00});}break;case _0x31bb8d[_0x29ede8(0x459)]['SetFieldFormat']:{const {newFormat:_0x322e3f,oldFormat:_0x2e34b9,fieldId:_0x179a73}=_0x205016,_0x49b028={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x179a73,'format':_0x322e3f};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0xc71a17['id'],'params':_0x49b028});const _0x4ec289={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'fieldId':_0x179a73,'format':_0x2e34b9};_0x1c94cb['unshift']({'id':_0xc71a17['id'],'params':_0x4ec289});}break;case _0x31bb8d['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x409fb1,oldSourceName:_0x570563,newSourceName:_0x393de7,oldDataFieldId:_0x3d1ad7,newDataFieldId:_0x63ae60}=_0x205016,_0x12f78d={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'tableFieldId':_0x409fb1,'sourceName':_0x393de7,'dataFieldId':_0x63ae60};_0x25c85d[_0x29ede8(0x1eb)]({'id':_0x3593ad['id'],'params':_0x12f78d});const _0x562add={'unitId':_0x46f22d,'subUnitId':_0x10a4c4,'pivotTableId':_0x3f7374,'tableFieldId':_0x409fb1,'sourceName':_0x570563,'dataFieldId':_0x3d1ad7};_0x1c94cb['unshift']({'id':_0x3593ad['id'],'params':_0x562add});}break;}return{'redos':_0x25c85d,'undos':_0x1c94cb};}function _0x4a0c35(_0x1d332c,_0x49cc30){const _0x285cfe=_0x37cf57;var _0x7fc86f;const _0x9372f5=_0x1d332c[_0x285cfe(0x2d9)](_0x31f249[_0x285cfe(0x203)]),{cellInfo:_0x3df304,view:_0x2b5644,isEmpty:_0x1b3dd9}=_0x49cc30;return(_0x7fc86f=_0x9372f5[_0x285cfe(0x1f8)][_0x285cfe(0x334)](_0x47042d)(_0x3d6757,{'cellInfo':_0x3df304,'view':_0x2b5644,'isEmpty':_0x1b3dd9}))!=null?_0x7fc86f:_0x3d6757;}const _0x7b9b95=()=>typeof process<'u'&&process[_0x37cf57(0x45d)]!=null&&process[_0x37cf57(0x45d)][_0x37cf57(0x243)]!=null,_0x46c408={'type':_0x3c4cb4['CommandType'][_0x37cf57(0x2e8)],'id':_0x37cf57(0x3a7),'handler'(_0x301e5a,_0x3bdefe){const _0x46a7a6=_0x37cf57;var _0x200ab8;if(!_0x3bdefe)return!0x1;const _0x4beba7=_0x301e5a[_0x46a7a6(0x2d9)](_0x3c4cb4[_0x46a7a6(0x38b)]);if(!!_0x4beba7['getConfig'](_0x42d250))return!0x0;const _0x48856f=_0x301e5a[_0x46a7a6(0x2d9)](_0x3c4cb4[_0x46a7a6(0x444)]),_0x467b8d=_0x301e5a[_0x46a7a6(0x2d9)](_0x31f249[_0x46a7a6(0x265)]),{pivotTableId:_0x59cdd5,pivotTableConfig:_0x3a36f5,collectionConfig:_0x4fbf32,unitId:_0x245eaf,subUnitId:_0x323851}=_0x3bdefe,{sourceRangeInfo:_0x2f1a26,fieldsConfig:_0x1a8e07,targetCellInfo:_0x141859}=_0x3a36f5,_0x52c907=_0x48856f[_0x46a7a6(0x219)](_0x245eaf);if(!_0x52c907||!_0x52c907[_0x46a7a6(0x246)](_0x323851))return!0x1;if(!_0x7b9b95()){let _0x4dc34f=0x0;_0x52c907[_0x46a7a6(0x2c8)]()[_0x46a7a6(0x340)](_0xd5bbe3=>{const _0x509f1f=_0x46a7a6;var _0x2f610f,_0x257563;_0x4dc34f+=(_0x257563=(_0x2f610f=_0x467b8d[_0x509f1f(0x423)](_0x245eaf,_0xd5bbe3[_0x509f1f(0x319)]()))==null?void 0x0:_0x2f610f['size'])!=null?_0x257563:0x0;});const _0x25966a=(_0x200ab8=_0x4beba7[_0x46a7a6(0x3ec)](_0x33a9ca[_0x46a7a6(0x42f)]))!=null?_0x200ab8:{},{ls:_0x47b76b,pbk:_0x2b241f}=_0x25966a;if(!_0x38f636(_0x47b76b,_0x2b241f))throw new _0x3c4cb4[(_0x46a7a6(0x3f7))]('limit\x20pivot');const _0x3d0f53=_0x2a14c3(_0x17a5cb,_0x47b76b,_0x2b241f)[_0x46a7a6(0x25e)];if(_0x4dc34f>=_0x3d0f53)throw new _0x3c4cb4['CustomCommandExecutionError'](_0x46a7a6(0x335));}if(!_0x4fbf32||!_0x1a8e07)return!0x1;const {collection:_0x456fb3,updateDataFieldList:_0x37a921}=_0x467b8d['addCollectionByJSON'](_0x59cdd5,_0x4fbf32,_0x2f1a26,_0x141859);_0x467b8d[_0x46a7a6(0x2a9)](_0x456fb3,_0x37a921,_0x2f1a26);const _0x282b84=new _0x31bb8d[(_0x46a7a6(0x356))](_0x456fb3);_0x282b84[_0x46a7a6(0x3b9)](_0x1a8e07);const _0x32ca92=JSON[_0x46a7a6(0x39b)](JSON[_0x46a7a6(0x3ef)](_0x3a36f5));return _0x467b8d[_0x46a7a6(0x32d)](_0x245eaf,_0x323851,_0x59cdd5,_0x282b84,_0x32ca92),_0x467b8d[_0x46a7a6(0x484)]({'unitId':_0x245eaf,'subUnitId':_0x323851,'token':_0x59cdd5,'type':_0x26022f[_0x46a7a6(0x26b)],'pivotConfig':_0x32ca92}),!0x0;}},_0x5cd4e5={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x253),'handler'(_0x2a4e28,_0x4d0fe0){const _0x3e83ec=_0x37cf57;if(!_0x4d0fe0)return!0x1;if(!!_0x2a4e28[_0x3e83ec(0x2d9)](_0x3c4cb4['IConfigService'])[_0x3e83ec(0x3ec)](_0x42d250))return!0x0;const {pivotTableId:_0x4350a5,unitId:_0x4f74c0,subUnitId:_0x1aacf6}=_0x4d0fe0,_0x399081=_0x2a4e28['get'](_0x31f249['SheetsPivotDataSourceModel']);return _0x399081[_0x3e83ec(0x3f0)](_0x4f74c0,_0x1aacf6,_0x4350a5)?(_0x399081[_0x3e83ec(0x484)]({'unitId':_0x4f74c0,'subUnitId':_0x1aacf6,'token':_0x4350a5,'type':_0x26022f[_0x3e83ec(0x426)]}),_0x399081[_0x3e83ec(0x3bc)](_0x4f74c0,_0x1aacf6,_0x4350a5),!0x0):!0x1;}},_0x4c38a5={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x27d),'handler'(_0x1a378f,_0x151c36){const _0x405628=_0x37cf57;if(!_0x151c36)return!0x1;if(!!_0x1a378f[_0x405628(0x2d9)](_0x3c4cb4['IConfigService'])[_0x405628(0x3ec)](_0x42d250))return!0x0;const {pivotTableId:_0x5cfb75,targetCellPosition:_0x2ddb2e,unitId:_0x1d6ae8,subUnitId:_0x556d16}=_0x151c36,_0x598677=_0x1a378f[_0x405628(0x2d9)](_0x31f249[_0x405628(0x265)]);if(!_0x598677[_0x405628(0x256)](_0x151c36[_0x405628(0x485)]))return!0x1;const _0x143e44=_0x598677[_0x405628(0x3f0)](_0x1d6ae8,_0x556d16,_0x5cfb75);if(!_0x143e44)return!0x1;const _0x5e6e0b=_0x3c4cb4[_0x405628(0x3d9)][_0x405628(0x214)](_0x143e44);return _0x5e6e0b['targetCellInfo']={'unitId':_0x1d6ae8,'subUnitId':_0x556d16,'row':_0x2ddb2e[_0x405628(0x37e)],'col':_0x2ddb2e[_0x405628(0x1fa)]},_0x598677['setPivotTable'](_0x1d6ae8,_0x556d16,_0x5cfb75,_0x5e6e0b),_0x598677[_0x405628(0x484)]({'unitId':_0x1d6ae8,'subUnitId':_0x556d16,'token':_0x5cfb75,'type':_0x26022f['Set']}),!0x0;}},_0x38c956={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x2e8)],'id':_0x37cf57(0x32f),'handler'(_0x4831b1,_0x20650e){const _0x1c03b9=_0x37cf57;if(!_0x20650e)return!0x1;if(!!_0x4831b1[_0x1c03b9(0x2d9)](_0x3c4cb4[_0x1c03b9(0x38b)])[_0x1c03b9(0x3ec)](_0x42d250))return!0x0;const _0x227153=_0x4831b1[_0x1c03b9(0x2d9)](_0x31f249[_0x1c03b9(0x265)]),{pivotTableId:_0x1d0714,deleteIds:_0x38bc03,collectionJSON:_0x5639be,dataRangeInfo:_0x59922e,unitId:_0x3cbff0,subUnitId:_0x19ffb6}=_0x20650e,_0x3b22eb=_0x227153[_0x1c03b9(0x256)](_0x1d0714),_0x4a3378=_0x227153['getPivotTableConfig'](_0x3cbff0,_0x19ffb6,_0x1d0714);if(!_0x3b22eb||!_0x4a3378)return!0x1;const {collection:_0x3cac74,updateDataFieldList:_0x25f7b9}=_0x227153[_0x1c03b9(0x40a)](_0x1d0714,_0x5639be,_0x59922e,_0x4a3378[_0x1c03b9(0x44d)]);_0x227153[_0x1c03b9(0x2a9)](_0x3cac74,_0x25f7b9,_0x59922e),_0x3b22eb['updateDataFieldsCollection'](_0x3cac74);for(const _0x15ec62 of _0x38bc03)_0x227153['removeDataField'](_0x59922e[_0x1c03b9(0x394)],_0x15ec62);const _0x54f443=_0x227153[_0x1c03b9(0x3f0)](_0x3cbff0,_0x19ffb6,_0x1d0714);return _0x54f443['sourceRangeInfo']=JSON[_0x1c03b9(0x39b)](JSON[_0x1c03b9(0x3ef)](_0x59922e)),_0x227153['addDirtyPivotTable']({'unitId':_0x3cbff0,'subUnitId':_0x19ffb6,'token':_0x1d0714,'type':_0x26022f[_0x1c03b9(0x223)]}),!0x0;}},_0x5598ba={'type':_0x3c4cb4['CommandType'][_0x37cf57(0x2e8)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x111a6d=Object[_0x37cf57(0x45a)],_0x506c9b=Object['getOwnPropertyDescriptor'],_0x41cfae=(_0x55d202,_0x167e6a,_0x11ddf8,_0x383a91)=>{for(var _0x56e30b=_0x383a91>0x1?void 0x0:_0x383a91?_0x506c9b(_0x167e6a,_0x11ddf8):_0x167e6a,_0x5ecbfe=_0x55d202['length']-0x1,_0x43747c;_0x5ecbfe>=0x0;_0x5ecbfe--)(_0x43747c=_0x55d202[_0x5ecbfe])&&(_0x56e30b=(_0x383a91?_0x43747c(_0x167e6a,_0x11ddf8,_0x56e30b):_0x43747c(_0x56e30b))||_0x56e30b);return _0x383a91&&_0x56e30b&&_0x111a6d(_0x167e6a,_0x11ddf8,_0x56e30b),_0x56e30b;},_0x1bd585=(_0x542fad,_0x2684e7)=>(_0x1718ce,_0x564401)=>_0x2684e7(_0x1718ce,_0x564401,_0x542fad);_0x31f249[_0x37cf57(0x359)]=class extends _0x3c4cb4['Disposable']{constructor(_0x5a8317,_0x3cdf96){const _0x174e67=_0x37cf57;super(),_0x2674dc(this,_0x174e67(0x2ac),new Map()),(this[_0x174e67(0x431)]=_0x5a8317,this['_commandService']=_0x3cdf96);}[_0x37cf57(0x239)](_0x2ad138){const _0x34930c=_0x37cf57,{version:_0x4078ad}=_0x2ad138,_0x2d9247=this[_0x34930c(0x2ac)][_0x34930c(0x2d9)](_0x4078ad);_0x2d9247&&(_0x2d9247(_0x2ad138),this[_0x34930c(0x2ac)][_0x34930c(0x46c)](_0x4078ad));}[_0x37cf57(0x38e)](_0x141456){return new Promise((_0x589d2c,_0x4954cc)=>{const _0x3ca0ad=_0x554e,_0x551b9c=this[_0x3ca0ad(0x457)]();this[_0x3ca0ad(0x2ac)][_0x3ca0ad(0x487)](_0x551b9c,_0x589d2c),this[_0x3ca0ad(0x207)][_0x3ca0ad(0x2ea)](_0x493a83['id'],{'version':_0x551b9c,..._0x141456},{'onlyLocal':!0x0});});}[_0x37cf57(0x457)](){const _0x234609=_0x37cf57;return Math[_0x234609(0x3de)]()[_0x234609(0x211)](0x24)['substring'](0x2,0x10);}},_0x31f249[_0x37cf57(0x359)]=_0x41cfae([_0x1bd585(0x0,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4['Injector'])),_0x1bd585(0x1,_0x3c4cb4['Inject'](_0x3c4cb4['ICommandService']))],_0x31f249[_0x37cf57(0x359)]);const _0x240dc8={'type':_0x3c4cb4[_0x37cf57(0x29a)]['COMMAND'],'id':_0x37cf57(0x241),async 'handler'(_0x3bd48b,_0x20d4cc){const _0x2dfc80=_0x37cf57;if(!_0x20d4cc)return!0x1;const _0x23b21d=_0x3bd48b[_0x2dfc80(0x2d9)](_0x3c4cb4['ICommandService']),_0x8b1f82=_0x3bd48b['get'](_0x31f249['SheetsPivotRPCService']),_0x31ce10=_0x3bd48b[_0x2dfc80(0x2d9)](_0x3c4cb4['IUndoRedoService']),{pivotTableId:_0x5b06b9,dataFieldId:_0xddeef8,fieldArea:_0x2bd0b3,index:_0x5130af,unitId:_0x4ac956,subUnitId:_0x5229e9}=_0x20d4cc,_0x331619=(await _0x8b1f82['getPivotDisplayConfig']({'unitId':_0x4ac956,'subUnitId':_0x5229e9,'pivotTableId':_0x5b06b9,'params':{'type':_0x4c34a3[_0x2dfc80(0x325)],'addPivotField':{'dataFieldId':_0xddeef8,'fieldArea':_0x2bd0b3,'index':_0x5130af}}}))[_0x2dfc80(0x317)][_0x2dfc80(0x3d3)];if(!_0x331619)return!0x1;const {view:_0x233568,changesets:_0x426937,isEmpty:_0x4887a9,pivotTableConfig:_0x338d11}=_0x331619,_0x1a0c8d=_0x338d11[_0x2dfc80(0x44d)],_0x38026d=new _0x31bb8d[(_0x2dfc80(0x2a4))]();_0x38026d[_0x2dfc80(0x380)](_0x233568);const _0x106ab6={'cellInfo':_0x1a0c8d,'view':_0x38026d,'isEmpty':_0x4887a9};if(!await _0x3bd48b[_0x2dfc80(0x2d9)](_0x31f249['SheetsPivotTableService'])[_0x2dfc80(0x453)]['fetchThroughAsyncInterceptors'](_0x2163fb)(!0x0,_0x106ab6))return!0x1;const _0x456b88=_0x2b423f(_0x3bd48b,_0x38026d,_0x1a0c8d,_0x4887a9),_0x4d51b4=_0x4a0c35(_0x3bd48b,_0x106ab6),{undos:_0x311f57,redos:_0x4a6fbb}=_0x44a30a(_0x23b21d,{'pivotTableId':_0x5b06b9,'unitId':_0x4ac956,'subUnitId':_0x5229e9},_0x426937);return _0x3c4cb4[_0x2dfc80(0x303)]([..._0x456b88[_0x2dfc80(0x21d)],..._0x4d51b4[_0x2dfc80(0x21d)],..._0x4a6fbb],_0x23b21d),_0x31ce10[_0x2dfc80(0x25d)]({'unitID':_0x4ac956,'redoMutations':[..._0x456b88['redos'],..._0x4d51b4[_0x2dfc80(0x21d)],..._0x4a6fbb],'undoMutations':[..._0x456b88[_0x2dfc80(0x41c)],..._0x4d51b4[_0x2dfc80(0x41c)],..._0x311f57]}),!0x0;}},_0x5a1951={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':_0x37cf57(0x310),async 'handler'(_0x29966b,_0x15c4a8){const _0x326f02=_0x37cf57;var _0x251946,_0x2ca933;const _0x4a60fa=_0x29966b[_0x326f02(0x2d9)](_0x3c4cb4[_0x326f02(0x31a)]),_0x183a7a=_0x29966b['get'](_0x3c4cb4[_0x326f02(0x444)]),_0x21c645=_0x29966b['get'](_0x3c4cb4['LocaleService']),_0x4d7fbe=_0x29966b[_0x326f02(0x2d9)](_0x31f249[_0x326f02(0x359)]),_0xad2bc8=_0x29966b['get'](_0x3c4cb4[_0x326f02(0x3b7)]),_0x7f5ab3=_0x29966b[_0x326f02(0x2d9)](_0x31f249['SheetsPivotTableConfigModel']),_0x5b3449=_0x29966b[_0x326f02(0x2d9)](_0x3c4cb4['IConfigService']);if(!_0x15c4a8)return!0x1;const {pivotTableConfig:_0x16b3b2,positionType:_0x21d9cd}=_0x15c4a8,{targetCellInfo:_0x462133,sourceRangeInfo:_0x470443}=_0x16b3b2,{unitId:_0x4e4f5c,subUnitId:_0x3b705e}=_0x462133,_0x3ba4c9=_0x183a7a[_0x326f02(0x219)](_0x4e4f5c);if(!_0x3ba4c9)return!0x1;let _0x8ae9fb=0x0;_0x3ba4c9[_0x326f02(0x2c8)]()[_0x326f02(0x340)](_0x323337=>{const _0x544ca9=_0x326f02;var _0x491121,_0xf8cae8;_0x8ae9fb+=(_0xf8cae8=(_0x491121=_0x7f5ab3['getSubUnitPivotConfigs'](_0x4e4f5c,_0x323337['getSheetId']()))==null?void 0x0:_0x491121[_0x544ca9(0x21c)])!=null?_0xf8cae8:0x0;});const _0x137906=(_0x251946=_0x5b3449['getConfig'](_0x33a9ca['LS_CONFIG_KEY']))!=null?_0x251946:{},{ls:_0x4c6071,pbk:_0x22df26}=_0x137906;if(!_0x38f636(_0x4c6071,_0x22df26))return!0x1;const _0x34d7cf=_0x2a14c3(_0x17a5cb,_0x4c6071,_0x22df26)[_0x326f02(0x25e)];if(_0x8ae9fb>=_0x34d7cf)return!0x1;const _0x2c0d5d=_0x15c4a8[_0x326f02(0x485)]||_0x31bb8d[_0x326f02(0x2f7)](0x8),_0x336fc8=(await _0x4d7fbe[_0x326f02(0x38e)]({'unitId':_0x4e4f5c,'subUnitId':_0x3b705e,'pivotTableId':_0x2c0d5d,'params':{'type':_0x4c34a3['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x470443}}}))[_0x326f02(0x317)]['addPivotTable'];if(!_0x336fc8)return!0x1;const {view:_0x449bc8,isEmpty:_0x45fd73,fieldsConfig:_0x2d18b9,collectionConfig:_0x3754eb}=_0x336fc8,_0xcdea4f=[],_0xd9e35=[];if(_0x21d9cd===_0x304da5['New']){const _0x474442=_0x3ba4c9[_0x326f02(0x2c8)]()[_0x326f02(0x3fb)],_0x6e8c5d=_0x3c4cb4['mergeWorksheetSnapshotWithDefault']({});_0x6e8c5d['id']=_0x16b3b2[_0x326f02(0x44d)][_0x326f02(0x2ef)],_0x6e8c5d[_0x326f02(0x4a0)]=(_0x2ca933=_0x16b3b2[_0x326f02(0x44d)][_0x326f02(0x491)])!=null?_0x2ca933:_0x3ba4c9[_0x326f02(0x407)](''+_0x21c645['t'](_0x326f02(0x36d)));const _0xd25862={'index':_0x474442,'sheet':_0x6e8c5d,'unitId':_0x4e4f5c},_0x437827=_0x2bdc55[_0x326f02(0x463)](_0x29966b,_0xd25862);_0xcdea4f[_0x326f02(0x1eb)]({'id':_0x2bdc55[_0x326f02(0x259)]['id'],'params':_0x437827}),_0xd9e35['push']({'id':_0x2bdc55[_0x326f02(0x31e)]['id'],'params':_0xd25862});}else{if(!_0x3ba4c9[_0x326f02(0x246)](_0x3b705e))return!0x1;const _0x5aa54a=_0x2b423f(_0x29966b,new _0x31bb8d[(_0x326f02(0x2a4))](),_0x462133,!0x0);_0xd9e35[_0x326f02(0x1eb)](..._0x5aa54a[_0x326f02(0x21d)]),_0xcdea4f[_0x326f02(0x1eb)](..._0x5aa54a['undos']);const _0x12ae9e={'cellInfo':_0x462133,'view':_0x449bc8,'isEmpty':_0x45fd73};if(!await _0x29966b[_0x326f02(0x2d9)](_0x31f249['SheetsPivotTableService'])[_0x326f02(0x453)]['fetchThroughAsyncInterceptors'](_0x2163fb)(!0x0,_0x12ae9e))return!0x1;const _0x72a21a=_0x4a0c35(_0x29966b,_0x12ae9e);_0xd9e35[_0x326f02(0x1eb)](..._0x72a21a[_0x326f02(0x21d)]),_0xcdea4f[_0x326f02(0x1eb)](..._0x72a21a[_0x326f02(0x41c)]);}return _0xd9e35[_0x326f02(0x1eb)]({'id':_0x46c408['id'],'params':{'unitId':_0x462133[_0x326f02(0x394)],'subUnitId':_0x462133[_0x326f02(0x2ef)],'pivotTableId':_0x2c0d5d,'pivotTableConfig':{'targetCellInfo':_0x462133,'sourceRangeInfo':_0x470443,'fieldsConfig':_0x2d18b9},'collectionConfig':_0x3754eb}}),_0xcdea4f[_0x326f02(0x36f)]({'id':_0x5cd4e5['id'],'params':{'unitId':_0x4e4f5c,'subUnitId':_0x3b705e,'pivotTableId':_0x2c0d5d}}),_0x3c4cb4[_0x326f02(0x303)](_0xd9e35,_0x4a60fa)&&_0xad2bc8[_0x326f02(0x25d)]({'unitID':_0x4e4f5c,'undoMutations':_0xcdea4f,'redoMutations':_0xd9e35}),!0x0;}},_0x15511d={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':_0x37cf57(0x218),async 'handler'(_0x5efcb7,_0x228513){const _0x4d9120=_0x37cf57;if(!_0x228513)return!0x1;const _0x5d287d=_0x5efcb7[_0x4d9120(0x2d9)](_0x3c4cb4['ICommandService']),_0x416d69=_0x5efcb7[_0x4d9120(0x2d9)](_0x31f249[_0x4d9120(0x359)]),_0xdbf3f9=_0x5efcb7['get'](_0x3c4cb4[_0x4d9120(0x3b7)]),{pivotTableId:_0x701fa8,fieldId:_0x497f25,area:_0x51b696,index:_0x31244d,unitId:_0x130897,subUnitId:_0x2a27da}=_0x228513,_0x8271c7=(await _0x416d69[_0x4d9120(0x38e)]({'unitId':_0x130897,'subUnitId':_0x2a27da,'pivotTableId':_0x701fa8,'params':{'type':_0x4c34a3[_0x4d9120(0x2fd)],'movePivotField':{'fieldId':_0x497f25,'area':_0x51b696,'index':_0x31244d}}}))[_0x4d9120(0x317)]['movePivotField'];if(!_0x8271c7)return!0x1;const {changesets:_0x25463f,view:_0x3583e3,isEmpty:_0x4e5242,pivotTableConfig:_0x296eb6}=_0x8271c7,_0x4f4990=_0x296eb6[_0x4d9120(0x44d)],_0x4d4a4f=new _0x31bb8d['PivotView']();_0x4d4a4f[_0x4d9120(0x380)](_0x3583e3);const _0x35705d={'cellInfo':_0x4f4990,'view':_0x4d4a4f,'isEmpty':_0x4e5242};if(!await _0x5efcb7[_0x4d9120(0x2d9)](_0x31f249[_0x4d9120(0x203)])[_0x4d9120(0x453)][_0x4d9120(0x345)](_0x2163fb)(!0x0,_0x35705d))return!0x1;const _0x320af2=_0x2b423f(_0x5efcb7,_0x4d4a4f,_0x4f4990,_0x4e5242),_0x4c9560=_0x4a0c35(_0x5efcb7,_0x35705d),{redos:_0x3482b6,undos:_0x5b0b6b}=_0x44a30a(_0x5d287d,{'pivotTableId':_0x701fa8,'unitId':_0x130897,'subUnitId':_0x2a27da},_0x25463f);return _0x3c4cb4[_0x4d9120(0x303)]([..._0x320af2[_0x4d9120(0x21d)],..._0x4c9560[_0x4d9120(0x21d)],..._0x3482b6],_0x5d287d),_0xdbf3f9[_0x4d9120(0x25d)]({'unitID':_0x130897,'redoMutations':[..._0x320af2[_0x4d9120(0x21d)],..._0x4c9560[_0x4d9120(0x21d)],..._0x3482b6],'undoMutations':[..._0x320af2[_0x4d9120(0x41c)],..._0x4c9560[_0x4d9120(0x41c)],..._0x5b0b6b]}),!0x0;}},_0x186060={'type':_0x3c4cb4['CommandType'][_0x37cf57(0x228)],'id':_0x37cf57(0x3ac),async 'handler'(_0x9c7ee0,_0x267940){const _0x31b5cb=_0x37cf57;var _0xf5467d;if(!_0x267940)return!0x1;const _0x7e5227=_0x9c7ee0[_0x31b5cb(0x2d9)](_0x3c4cb4['IUniverInstanceService']),_0x41dd52=_0x2bdc55[_0x31b5cb(0x2a1)](_0x7e5227);if(!_0x41dd52)return!0x1;const {unitId:_0x5c944f,subUnitId:_0x78438f,workbook:_0x429769}=_0x41dd52,{row:_0x537c84,col:_0x3d4c41}=_0x267940,_0x47698b=_0x9c7ee0[_0x31b5cb(0x2d9)](_0x31f249[_0x31b5cb(0x41a)]),_0x4b525f=_0x47698b[_0x31b5cb(0x2b6)](_0x5c944f,_0x78438f,_0x537c84,_0x3d4c41);if(!_0x4b525f)return!0x1;const _0x456a19=(_0xf5467d=_0x47698b[_0x31b5cb(0x21a)](_0x5c944f,_0x78438f,_0x4b525f))==null?void 0x0:_0xf5467d[_0x31b5cb(0x4a1)];if(!_0x456a19)return!0x1;const _0x566f8c=_0x9c7ee0[_0x31b5cb(0x2d9)](_0x31f249['SheetsPivotTableConfigModel'])[_0x31b5cb(0x3f0)](_0x5c944f,_0x78438f,_0x4b525f);if(!_0x566f8c)return!0x1;const {rowInfo:_0x5ed893,colInfo:_0x2de18e}=_0x456a19,_0x20d340=_0x5ed893[_0x537c84][_0x31b5cb(0x3d1)],_0x5b85bf=_0x2de18e[_0x3d4c41]['paths'],_0x38962e=_0x5ed893[_0x537c84]['level'],_0x410c78=_0x2de18e[_0x3d4c41][_0x31b5cb(0x329)],_0x2d53ab=_0x20d340[_0x31b5cb(0x48a)](_0x5b85bf),_0x31e1d9=_0x566f8c[_0x31b5cb(0x22a)][_0x31b5cb(0x403)][_0x31b5cb(0x1f2)](0x0,_0x38962e),_0x392c8b=_0x566f8c['fieldsConfig'][_0x31b5cb(0x1fe)]['slice'](0x0,_0x410c78),_0x371fea=_0x31e1d9[_0x31b5cb(0x48a)](_0x392c8b),_0x18f7b2=_0x2d53ab[_0x31b5cb(0x3a4)]((_0x1728f9,_0x53c8fa)=>[_0x1728f9,_0x371fea[_0x53c8fa]]),_0x385ec7=(await _0x9c7ee0[_0x31b5cb(0x2d9)](_0x31f249[_0x31b5cb(0x359)])[_0x31b5cb(0x38e)]({'unitId':_0x5c944f,'subUnitId':_0x78438f,'pivotTableId':_0x4b525f,'params':{'type':_0x4c34a3[_0x31b5cb(0x2d4)],'drillDown':{'tuple':_0x18f7b2}}}))[_0x31b5cb(0x317)][_0x31b5cb(0x200)];if(!_0x385ec7)return!0x1;const {indexes:_0x421e48,range:_0x72e8b7,sourceUnitId:_0x47da3a,sourceSubUnitId:_0x1892e7,formatMap:_0x558ce7}=_0x385ec7,{startRow:_0x5bed80,endRow:_0x1ff829,startColumn:_0x42cf96,endColumn:_0x455a19}=_0x72e8b7,_0x33c74e=new _0x3c4cb4[(_0x31b5cb(0x39c))](),_0x59f1f1=_0x1ff829-_0x5bed80,_0x19d671=_0x455a19-_0x42cf96,_0x2571d8={},_0x440e49=_0x2bdc55[_0x31b5cb(0x2a1)](_0x7e5227,{'unitId':_0x47da3a,'subUnitId':_0x1892e7});if(!_0x440e49)return!0x1;const _0x551732=_0x16a3fd[_0x31b5cb(0x46b)],_0xf082a0=_0x16a3fd[_0x31b5cb(0x43e)],_0x44210b=_0x16a3fd[_0x31b5cb(0x43e)],_0x22b80d=_0x429769[_0x31b5cb(0x3e0)]()['setValue'](_0x551732),_0x2bdd4e=_0x429769[_0x31b5cb(0x3e0)]()[_0x31b5cb(0x2b1)](_0xf082a0),_0x117362=_0x429769[_0x31b5cb(0x3e0)]()[_0x31b5cb(0x2b1)](_0x44210b),{worksheet:_0x4d2d3f}=_0x440e49;let _0x5ec851=0x0;const _0x1ada86=0x1;_0x421e48[_0x31b5cb(0x340)](_0x233550=>{const _0x333be0=_0x31b5cb;for(let _0x2dcfba=0x0;_0x2dcfba<=_0x455a19-_0x42cf96;_0x2dcfba++)_0x33c74e[_0x333be0(0x2b1)](_0x5ec851,_0x2dcfba,_0x4d2d3f[_0x333be0(0x385)](_0x233550+_0x72e8b7[_0x333be0(0x421)]+_0x1ada86,_0x2dcfba));_0x5ec851++;});for(let _0x20a84a=_0x42cf96;_0x20a84a<=_0x455a19;_0x20a84a++){const _0x3cb520=_0x4d2d3f[_0x31b5cb(0x385)](_0x5bed80,_0x20a84a);_0x2571d8[_0x5bed80]||(_0x2571d8[_0x5bed80]={}),_0x2571d8[_0x5bed80][_0x20a84a]={..._0x3cb520,'s':_0x22b80d};}let _0x3bf02e=0x1;const _0xe3f9a2={},_0x5708ba={};_0x33c74e[_0x31b5cb(0x346)]((_0x4bd2c0,_0x3bbfaf)=>{const _0x482bbe=_0x31b5cb;_0x3bbfaf[_0x482bbe(0x340)](_0x5a0666=>{const _0xea4036=_0x482bbe,_0x573067=_0x33c74e['getValue'](_0x4bd2c0,_0x5a0666);if(_0x2571d8[_0x3bf02e]||(_0x2571d8[_0x3bf02e]={}),_0x2571d8[_0x3bf02e][_0x5a0666]={..._0x573067,'s':_0x3bf02e%0x2===0x0?_0x117362:_0x2bdd4e},_0x558ce7[_0x5a0666]&&_0x4bd2c0>=0x0){const _0x1a7884=_0x3bf02e%0x2===0x0;let _0x1206d6=_0x1a7884?_0x5708ba[_0x5a0666]:_0xe3f9a2[_0x5a0666];_0x1206d6||(_0x1206d6=_0x429769[_0xea4036(0x3e0)]()[_0xea4036(0x2b1)]({..._0x1a7884?_0x44210b:_0xf082a0,'n':{'pattern':_0x558ce7[_0x5a0666]}}),_0x1a7884?_0x5708ba[_0x5a0666]=_0x1206d6:_0xe3f9a2[_0x5a0666]=_0x1206d6),_0x2571d8[_0x3bf02e][_0x5a0666]['s']=_0x1206d6;}}),_0x3bf02e++;});const _0x1df7d4=new _0x3c4cb4[(_0x31b5cb(0x39c))](_0x2571d8),_0x324a05={};_0x1df7d4['forValue']((_0x5c10db,_0x1862a5,_0x28a779)=>{_0x324a05[_0x5c10db]||(_0x324a05[_0x5c10db]={}),_0x324a05[_0x5c10db][_0x1862a5]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1e8f20=[],_0x3e5e10=[],_0x95a327=_0x429769[_0x31b5cb(0x2c8)]()[_0x31b5cb(0x3fb)],_0x598ccf=_0x3c4cb4[_0x31b5cb(0x45b)]({'rowCount':Math[_0x31b5cb(0x462)](_0x3c4cb4[_0x31b5cb(0x311)],_0x59f1f1+0xa),'columnCount':Math[_0x31b5cb(0x462)](_0x3c4cb4[_0x31b5cb(0x428)],_0x19d671+0x5)}),_0x34f13d=_0x9c7ee0[_0x31b5cb(0x2d9)](_0x3c4cb4['LocaleService']);_0x598ccf['id']=_0x3c4cb4[_0x31b5cb(0x227)](),_0x598ccf['name']=_0x429769['generateNewSheetName'](''+_0x34f13d['t']('sheets.tabs.sheet'));const _0x1a4821={'index':_0x95a327,'sheet':_0x598ccf,'unitId':_0x5c944f},_0x2bfa41=_0x2bdc55[_0x31b5cb(0x463)](_0x9c7ee0,_0x1a4821);_0x3e5e10[_0x31b5cb(0x1eb)]({'id':_0x2bdc55[_0x31b5cb(0x31e)]['id'],'params':_0x1a4821}),_0x1e8f20[_0x31b5cb(0x1eb)]({'id':_0x2bdc55['RemoveSheetMutation']['id'],'params':_0x2bfa41}),_0x3e5e10[_0x31b5cb(0x1eb)]({'id':_0x2bdc55[_0x31b5cb(0x2d3)]['id'],'params':{'unitId':_0x5c944f,'subUnitId':_0x598ccf['id'],'cellValue':_0x2571d8}}),_0x1e8f20[_0x31b5cb(0x36f)]({'id':_0x2bdc55[_0x31b5cb(0x2d3)]['id'],'params':{'unitId':_0x5c944f,'subUnitId':_0x598ccf['id'],'cellValue':_0x324a05}});const _0x326546={'startRow':0x0,'startColumn':0x0,'endRow':_0x3bf02e-0x1,'endColumn':_0x455a19};_0x3e5e10['push']({'id':_0x2a93cf[_0x31b5cb(0x2da)]['id'],'params':{'unitId':_0x5c944f,'subUnitId':_0x598ccf['id'],'range':_0x326546}}),_0x1e8f20[_0x31b5cb(0x36f)]({'id':_0x2a93cf['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x5c944f,'subUnitId':_0x598ccf['id']}});const _0xec546a=_0x9c7ee0[_0x31b5cb(0x2d9)](_0x3c4cb4[_0x31b5cb(0x31a)]);return _0x3c4cb4[_0x31b5cb(0x303)](_0x3e5e10,_0xec546a)&&_0x9c7ee0[_0x31b5cb(0x2d9)](_0x3c4cb4['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x5c944f,'undoMutations':_0x1e8f20,'redoMutations':_0x3e5e10}),!0x0;}},_0x26d05f={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':_0x37cf57(0x316),async 'handler'(_0xe5e950,_0xa3489d){const _0x4057ff=_0x37cf57;if(!_0xa3489d)return!0x1;const _0x136aae=_0xe5e950[_0x4057ff(0x2d9)](_0x3c4cb4['ICommandService']),_0x38dffd=_0xe5e950[_0x4057ff(0x2d9)](_0x31f249[_0x4057ff(0x359)]),_0x3c4812=_0xe5e950[_0x4057ff(0x2d9)](_0x3c4cb4[_0x4057ff(0x3b7)]),{pivotTableId:_0x41eaa5,fieldIds:_0x683fff,unitId:_0x42d9fb,subUnitId:_0x2368f4}=_0xa3489d,_0xeca8fe=(await _0x38dffd[_0x4057ff(0x38e)]({'unitId':_0x42d9fb,'subUnitId':_0x2368f4,'pivotTableId':_0x41eaa5,'params':{'type':_0x4c34a3[_0x4057ff(0x434)],'removePivotField':{'fieldIds':_0x683fff}}}))[_0x4057ff(0x317)][_0x4057ff(0x2f2)];if(!_0xeca8fe)return!0x1;const {view:_0x3cad60,changesets:_0x55c082,isEmpty:_0x5ba11c,pivotTableConfig:_0x179592}=_0xeca8fe,_0x47b9f0=_0x179592['targetCellInfo'],_0x563a60=new _0x31bb8d[(_0x4057ff(0x2a4))]();_0x563a60[_0x4057ff(0x380)](_0x3cad60);const _0x4c47fc={'cellInfo':_0x47b9f0,'view':_0x563a60,'isEmpty':_0x5ba11c};if(!await _0xe5e950[_0x4057ff(0x2d9)](_0x31f249[_0x4057ff(0x203)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x2163fb)(!0x0,_0x4c47fc))return!0x1;const _0x5b59c4=_0x2b423f(_0xe5e950,_0x563a60,_0x47b9f0,_0x5ba11c),_0x32b784=_0x4a0c35(_0xe5e950,_0x4c47fc),{redos:_0x301d5d,undos:_0x361102}=_0x44a30a(_0x136aae,{'pivotTableId':_0x41eaa5,'unitId':_0x42d9fb,'subUnitId':_0x2368f4},_0x55c082);return _0x3c4cb4[_0x4057ff(0x303)]([..._0x5b59c4[_0x4057ff(0x21d)],..._0x32b784[_0x4057ff(0x21d)],..._0x301d5d],_0x136aae),_0x3c4812[_0x4057ff(0x25d)]({'unitID':_0x42d9fb,'redoMutations':[..._0x5b59c4[_0x4057ff(0x21d)],..._0x32b784[_0x4057ff(0x21d)],..._0x301d5d],'undoMutations':[..._0x5b59c4[_0x4057ff(0x41c)],..._0x32b784[_0x4057ff(0x41c)],..._0x361102]}),!0x0;}},_0x2753c8={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x46483a,_0x5bc9be){const _0x1cafd7=_0x37cf57;var _0x936129;const _0x3e30e7=_0x46483a[_0x1cafd7(0x2d9)](_0x3c4cb4['ICommandService']),_0xbd5298=_0x46483a[_0x1cafd7(0x2d9)](_0x31f249[_0x1cafd7(0x359)]),_0x2d9be9=_0x46483a[_0x1cafd7(0x2d9)](_0x31f249['SheetsPivotTableAdaptorModel']),_0x4c2fc5=_0x46483a[_0x1cafd7(0x2d9)](_0x3c4cb4[_0x1cafd7(0x444)]),_0x16a613=_0x46483a[_0x1cafd7(0x2d9)](_0x3c4cb4[_0x1cafd7(0x3b7)]);if(!_0x5bc9be)return!0x1;const {unitId:_0x521de7,subUnitId:_0xa6310f,row:_0x1f87e9,col:_0x39b9f6,collapse:_0x1d1c02}=_0x5bc9be,_0x9e3570=_0x4c2fc5[_0x1cafd7(0x219)](_0x521de7);if(!_0x9e3570||!_0x9e3570[_0x1cafd7(0x246)](_0xa6310f))return!0x1;const _0x28c096=_0x2d9be9[_0x1cafd7(0x2b6)](_0x521de7,_0xa6310f,_0x1f87e9,_0x39b9f6);if(!_0x28c096)return!0x1;const _0x44ba83=_0x2d9be9[_0x1cafd7(0x21a)](_0x521de7,_0xa6310f,_0x28c096);if(!_0x44ba83)return!0x1;const _0x1e4e9f=_0x3c4cb4[_0x1cafd7(0x364)](_0x1f87e9,_0x39b9f6),{rangesInfo:_0x46c1cb,areaInfo:_0x3efc36,headerMap:_0x272bfa}=_0x44ba83;if(!_0x46c1cb||!_0x3efc36||!_0x272bfa)return!0x1;const _0x38cc2f=Object['keys'](_0x46c1cb)[_0x1cafd7(0x486)](_0x279bb8=>_0x46c1cb[_0x279bb8][_0x1cafd7(0x20e)](_0x2d9eee=>_0x3c4cb4[_0x1cafd7(0x27b)]['contains'](_0x2d9eee,_0x1e4e9f)));let _0x1ad081;_0x38cc2f===_0x1cafd7(0x35b)?_0x1ad081=_0x272bfa[_0x1cafd7(0x2b8)][_0x39b9f6]:_0x38cc2f==='colRanges'&&(_0x1ad081=_0x272bfa[_0x1cafd7(0x274)][_0x1f87e9]);const _0x68c4f2=_0x1ad081==null?void 0x0:_0x1ad081[_0x1cafd7(0x232)],_0x3b82b8=(_0x936129=_0x2d9be9['getPivotTableCellData'](_0x521de7,_0xa6310f,_0x1f87e9,_0x39b9f6))==null?void 0x0:_0x936129['v'];if(!_0x3b82b8||!_0x28c096||!_0x68c4f2)return!0x1;const _0x453aa7=await _0xbd5298[_0x1cafd7(0x38e)]({'unitId':_0x521de7,'subUnitId':_0xa6310f,'pivotTableId':_0x28c096,'params':{'type':_0x4c34a3[_0x1cafd7(0x416)],'setPivotCollapse':{'tableFieldId':_0x68c4f2,'collapse':_0x1d1c02,'item':_0x3b82b8}}}),_0x435d68=_0x453aa7==null?void 0x0:_0x453aa7[_0x1cafd7(0x317)]['setPivotCollapse'];if(!_0x435d68)return!0x1;const {view:_0x2d5980,pivotTableConfig:_0x3799b9,isEmpty:_0x1f93a8,changesets:_0x5b16eb}=_0x435d68,_0xfc83fe=new _0x31bb8d[(_0x1cafd7(0x2a4))]();_0xfc83fe[_0x1cafd7(0x380)](_0x2d5980);const _0x5764c3=_0x3799b9[_0x1cafd7(0x44d)],_0x2999a4={'cellInfo':_0x5764c3,'view':_0xfc83fe,'isEmpty':_0x1f93a8};if(!await _0x46483a[_0x1cafd7(0x2d9)](_0x31f249['SheetsPivotTableService'])[_0x1cafd7(0x453)][_0x1cafd7(0x345)](_0x2163fb)(!0x0,_0x2999a4))return!0x1;const _0x4ab291=_0x2b423f(_0x46483a,_0xfc83fe,_0x5764c3,_0x1f93a8),_0x3d0831=_0x4a0c35(_0x46483a,_0x2999a4),{redos:_0x270861,undos:_0xfc8da4}=_0x44a30a(_0x3e30e7,{'pivotTableId':_0x28c096,'unitId':_0x521de7,'subUnitId':_0xa6310f},_0x5b16eb);return _0x3c4cb4[_0x1cafd7(0x303)]([..._0x4ab291['redos'],..._0x3d0831[_0x1cafd7(0x21d)],..._0x270861],_0x3e30e7),_0x16a613[_0x1cafd7(0x25d)]({'unitID':_0x521de7,'redoMutations':[..._0x4ab291[_0x1cafd7(0x21d)],..._0x3d0831['redos'],..._0x270861],'undoMutations':[..._0x4ab291[_0x1cafd7(0x41c)],..._0x3d0831[_0x1cafd7(0x41c)],..._0xfc8da4]}),!0x0;}},_0x52d0d2={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x38681a,_0x2152f1){const _0xe091f0=_0x37cf57;if(!_0x2152f1)return!0x1;const _0x1d58c7=_0x38681a[_0xe091f0(0x2d9)](_0x3c4cb4[_0xe091f0(0x31a)]),{pivotTableId:_0x3dcde4,tableFieldId:_0x1e8740,items:_0x34643f,unitId:_0x35c36b,subUnitId:_0x484045,isAll:_0x156e57}=_0x2152f1,_0x27c5dd=_0x38681a['get'](_0x31f249[_0xe091f0(0x359)]),_0x395580=_0x38681a[_0xe091f0(0x2d9)](_0x3c4cb4[_0xe091f0(0x3b7)]),_0x4336d2=(await _0x27c5dd[_0xe091f0(0x38e)]({'unitId':_0x35c36b,'subUnitId':_0x484045,'pivotTableId':_0x3dcde4,'params':{'type':_0x4c34a3[_0xe091f0(0x471)],'setPivotFilter':{'tableFieldId':_0x1e8740,'items':_0x34643f,'isAll':_0x156e57}}}))[_0xe091f0(0x317)][_0xe091f0(0x289)];if(!_0x4336d2)return!0x1;const {changesets:_0x56ad95,pivotTableConfig:_0x1fc701,isEmpty:_0x7e2e15,view:_0x4cd7b4}=_0x4336d2,_0x237e4e=_0x1fc701[_0xe091f0(0x44d)],_0x34c33d=new _0x31bb8d[(_0xe091f0(0x2a4))]();_0x34c33d[_0xe091f0(0x380)](_0x4cd7b4);const _0x1e6134={'cellInfo':_0x237e4e,'view':_0x34c33d,'isEmpty':_0x7e2e15};if(!await _0x38681a[_0xe091f0(0x2d9)](_0x31f249[_0xe091f0(0x203)])[_0xe091f0(0x453)]['fetchThroughAsyncInterceptors'](_0x2163fb)(!0x0,_0x1e6134))return!0x1;const _0xe8c7f7=_0x2b423f(_0x38681a,_0x34c33d,_0x237e4e,_0x7e2e15),_0xd85645=_0x4a0c35(_0x38681a,_0x1e6134),{undos:_0x249ff4,redos:_0x43a9d6}=_0x44a30a(_0x1d58c7,{'pivotTableId':_0x3dcde4,'unitId':_0x35c36b,'subUnitId':_0x484045},_0x56ad95);return _0x3c4cb4[_0xe091f0(0x303)]([..._0xe8c7f7[_0xe091f0(0x21d)],..._0xd85645[_0xe091f0(0x21d)],..._0x43a9d6],_0x1d58c7),_0x395580[_0xe091f0(0x25d)]({'unitID':_0x35c36b,'redoMutations':[..._0xe8c7f7[_0xe091f0(0x21d)],..._0xd85645[_0xe091f0(0x21d)],..._0x43a9d6],'undoMutations':[..._0xe8c7f7[_0xe091f0(0x41c)],..._0xd85645[_0xe091f0(0x41c)],..._0x249ff4]}),!0x0;}},_0x5a7834={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x3c0d5c,_0x10b347){const _0x2d8139=_0x37cf57;if(!_0x10b347)return!0x1;const _0x40e5a4=_0x3c0d5c[_0x2d8139(0x2d9)](_0x3c4cb4[_0x2d8139(0x31a)]),_0x6015fd=_0x3c0d5c[_0x2d8139(0x2d9)](_0x3c4cb4[_0x2d8139(0x3b7)]),_0x463cbc=_0x3c0d5c[_0x2d8139(0x2d9)](_0x31f249['SheetsPivotRPCService']),{info:_0x255746,tableFieldId:_0x48c5ed,pivotTableId:_0x5d1df6,unitId:_0x171667,subUnitId:_0xd5e38f}=_0x10b347,_0x1f47a2=(await _0x463cbc[_0x2d8139(0x38e)]({'unitId':_0x171667,'subUnitId':_0xd5e38f,'pivotTableId':_0x5d1df6,'params':{'type':_0x4c34a3[_0x2d8139(0x2cf)],'setPivotSort':{'tableFieldId':_0x48c5ed,'info':_0x255746}}}))[_0x2d8139(0x317)][_0x2d8139(0x2df)];if(!_0x1f47a2)return!0x1;const {changesets:_0xf81274}=_0x1f47a2,{redos:_0x4e3e37,undos:_0x3e2919}=_0x44a30a(_0x40e5a4,{'pivotTableId':_0x5d1df6,'unitId':_0x171667,'subUnitId':_0xd5e38f},_0xf81274);return _0x3c4cb4[_0x2d8139(0x303)](_0x4e3e37,_0x40e5a4),_0x6015fd['pushUndoRedo']({'unitID':_0x171667,'redoMutations':_0x4e3e37,'undoMutations':_0x3e2919}),!0x0;}},_0x5e55ef={'type':_0x3c4cb4['CommandType']['COMMAND'],'id':_0x37cf57(0x42b),async 'handler'(_0x544da9,_0x4e02ed){const _0x225818=_0x37cf57;if(!_0x4e02ed)return!0x1;const _0x48ff1d=_0x544da9[_0x225818(0x2d9)](_0x3c4cb4['ICommandService']),_0x6459ee=_0x544da9['get'](_0x3c4cb4['IUndoRedoService']),_0x412c5b=_0x544da9[_0x225818(0x2d9)](_0x31f249[_0x225818(0x359)]),{displayName:_0x25ec07,subtotalType:_0x14442e,format:_0x4664e3,tableFieldId:_0x5462f8,pivotTableId:_0x3563b2,unitId:_0x28b971,subUnitId:_0xa0a27d}=_0x4e02ed,_0x415768=(await _0x412c5b['getPivotDisplayConfig']({'unitId':_0x28b971,'subUnitId':_0xa0a27d,'pivotTableId':_0x3563b2,'params':{'type':_0x4c34a3[_0x225818(0x24c)],'setPivotSetting':{'tableFieldId':_0x5462f8,'displayName':_0x25ec07,'subtotalType':_0x14442e,'format':_0x4664e3}}}))[_0x225818(0x317)][_0x225818(0x330)];if(!_0x415768)return!0x1;const {changesets:_0x15eda7,view:_0x3e2c0b,pivotTableConfig:_0x46f209,isEmpty:_0x1337ac}=_0x415768,_0x205d35=_0x46f209['targetCellInfo'],_0x3db879=new _0x31bb8d[(_0x225818(0x2a4))]();_0x3db879[_0x225818(0x380)](_0x3e2c0b);const _0xd49e13={'cellInfo':_0x205d35,'view':_0x3db879,'isEmpty':_0x1337ac};if(!await _0x544da9[_0x225818(0x2d9)](_0x31f249['SheetsPivotTableService'])[_0x225818(0x453)]['fetchThroughAsyncInterceptors'](_0x2163fb)(!0x0,_0xd49e13))return!0x1;const _0x4c82a3=_0x2b423f(_0x544da9,_0x3db879,_0x205d35,_0x1337ac),_0x1310ac=_0x4a0c35(_0x544da9,_0xd49e13),{undos:_0x4947bb,redos:_0x5eb798}=_0x44a30a(_0x48ff1d,{'pivotTableId':_0x3563b2,'unitId':_0x28b971,'subUnitId':_0xa0a27d},_0x15eda7);return _0x3c4cb4['sequenceExecute']([..._0x4c82a3[_0x225818(0x21d)],..._0x1310ac[_0x225818(0x21d)],..._0x5eb798],_0x48ff1d),_0x6459ee[_0x225818(0x25d)]({'unitID':_0x28b971,'redoMutations':[..._0x4c82a3['redos'],..._0x1310ac[_0x225818(0x21d)],..._0x5eb798],'undoMutations':[..._0x4c82a3[_0x225818(0x41c)],..._0x1310ac[_0x225818(0x41c)],..._0x4947bb]}),!0x0;}},_0x246b92={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':_0x37cf57(0x230),async 'handler'(_0x1a2e50,_0x4019fb){const _0x5c5f97=_0x37cf57,_0x2f9b39=_0x1a2e50[_0x5c5f97(0x2d9)](_0x3c4cb4[_0x5c5f97(0x31a)]),_0x223bce=_0x1a2e50[_0x5c5f97(0x2d9)](_0x31f249[_0x5c5f97(0x359)]),_0x39dc7b=_0x1a2e50['get'](_0x3c4cb4[_0x5c5f97(0x3b7)]);if(!_0x4019fb)return!0x1;const {token:_0x1861ce,dataRangeInfo:_0x4ef68e,unitId:_0x585c7f,subUnitId:_0x5d9fe1}=_0x4019fb,_0x42f287=[],_0x2b7fc4=[],_0xe49697=(await _0x223bce[_0x5c5f97(0x38e)]({'unitId':_0x585c7f,'subUnitId':_0x5d9fe1,'pivotTableId':_0x1861ce,'params':{'type':_0x4c34a3[_0x5c5f97(0x448)],'updatePivotSource':{'dataRangeInfo':_0x4ef68e,'unitId':_0x585c7f,'subUnitId':_0x5d9fe1}}}))[_0x5c5f97(0x317)]['updatePivotSource'];if(!_0xe49697)return!0x1;const {changesets:_0x4da393,deleteIds:_0x16f163,collectionConfig:_0x41ab8f,oldCollectionConfig:_0x40e04d,view:_0x18a68e,isEmpty:_0x3856d3,pivotTableConfig:_0x18fceb}=_0xe49697;_0x2b7fc4['push']({'id':_0x38c956['id'],'params':{'pivotTableId':_0x1861ce,'deleteIds':_0x16f163,'collectionJSON':_0x41ab8f,'dataRangeInfo':_0x4ef68e,'unitId':_0x585c7f,'subUnitId':_0x5d9fe1}}),_0x42f287[_0x5c5f97(0x36f)]({'id':_0x38c956['id'],'params':{'pivotTableId':_0x1861ce,'deleteIds':[],'collectionJSON':_0x40e04d,'dataRangeInfo':_0x18fceb[_0x5c5f97(0x3fe)],'unitId':_0x585c7f,'subUnitId':_0x5d9fe1}});const _0x386cce=_0x18fceb[_0x5c5f97(0x44d)],_0x3938af=new _0x31bb8d['PivotView']();_0x3938af[_0x5c5f97(0x380)](_0x18a68e);const _0x2cd3b7={'cellInfo':_0x386cce,'view':_0x3938af,'isEmpty':_0x3856d3};if(!await _0x1a2e50[_0x5c5f97(0x2d9)](_0x31f249[_0x5c5f97(0x203)])[_0x5c5f97(0x453)][_0x5c5f97(0x345)](_0x2163fb)(!0x0,_0x2cd3b7))return!0x1;const _0x500b3b=_0x2b423f(_0x1a2e50,_0x3938af,_0x386cce,_0x3856d3),_0x3c6800=_0x4a0c35(_0x1a2e50,_0x2cd3b7),{undos:_0x3f4b71,redos:_0x36d389}=_0x44a30a(_0x2f9b39,{'pivotTableId':_0x1861ce,'unitId':_0x585c7f,'subUnitId':_0x5d9fe1},_0x4da393);return _0x3c4cb4[_0x5c5f97(0x303)]([..._0x500b3b[_0x5c5f97(0x21d)],..._0x3c6800[_0x5c5f97(0x21d)],..._0x2b7fc4,..._0x3f4b71],_0x2f9b39),_0x39dc7b[_0x5c5f97(0x25d)]({'unitID':_0x585c7f,'redoMutations':[..._0x500b3b[_0x5c5f97(0x21d)],..._0x3c6800[_0x5c5f97(0x21d)],..._0x2b7fc4,..._0x3f4b71],'undoMutations':[..._0x500b3b['undos'],..._0x3c6800['undos'],..._0x42f287,..._0x36d389]}),!0x0;}},_0x4551fa={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':_0x37cf57(0x250),async 'handler'(_0xd238e0,_0x962acb){const _0x2969ca=_0x37cf57;if(!_0x962acb)return!0x1;const _0x4c3ca7=_0xd238e0[_0x2969ca(0x2d9)](_0x3c4cb4[_0x2969ca(0x31a)]),_0x1a201a=_0xd238e0['get'](_0x31f249[_0x2969ca(0x359)]),_0x1a9cee=_0xd238e0[_0x2969ca(0x2d9)](_0x3c4cb4[_0x2969ca(0x444)]),_0x184b17=_0xd238e0['get'](_0x3c4cb4[_0x2969ca(0x3b7)]),{pivotTableId:_0xf602f0,position:_0x347889,index:_0x3617b3}=_0x962acb,_0x4f4ad4=_0x2bdc55[_0x2969ca(0x2a1)](_0x1a9cee);if(!_0x4f4ad4)return!0x1;const {unitId:_0x4cb89a,subUnitId:_0x2437ba}=_0x4f4ad4,_0x3af558=(await _0x1a201a[_0x2969ca(0x38e)]({'unitId':_0x4cb89a,'subUnitId':_0x2437ba,'pivotTableId':_0xf602f0,'params':{'type':_0x4c34a3[_0x2969ca(0x28e)],'updateValuePosition':{'position':_0x347889,'index':_0x3617b3}}}))[_0x2969ca(0x317)][_0x2969ca(0x3c5)];if(!_0x3af558)return!0x1;const {changesets:_0x219212,view:_0x5bcc4f,isEmpty:_0x40c269,pivotTableConfig:_0x5bda61}=_0x3af558,_0x442f20=_0x5bda61['targetCellInfo'],_0x461c3b=new _0x31bb8d['PivotView']();_0x461c3b[_0x2969ca(0x380)](_0x5bcc4f);const _0x3e40c8=_0xd238e0[_0x2969ca(0x2d9)](_0x31f249[_0x2969ca(0x203)]),_0xc6c97a={'cellInfo':_0x442f20,'view':_0x461c3b,'isEmpty':_0x40c269};if(!await _0x3e40c8[_0x2969ca(0x453)][_0x2969ca(0x345)](_0x2163fb)(!0x0,_0xc6c97a))return!0x1;const _0xdc07eb=_0x2b423f(_0xd238e0,_0x461c3b,_0x442f20,_0x40c269),_0x56687b=_0x4a0c35(_0xd238e0,_0xc6c97a),{undos:_0x5c1c97,redos:_0x220301}=_0x44a30a(_0x4c3ca7,{'pivotTableId':_0xf602f0,'unitId':_0x4cb89a,'subUnitId':_0x2437ba},_0x219212);return _0x3c4cb4['sequenceExecute']([..._0xdc07eb['redos'],..._0x56687b[_0x2969ca(0x21d)],..._0x220301],_0x4c3ca7),_0x184b17[_0x2969ca(0x25d)]({'unitID':_0x4cb89a,'redoMutations':[..._0xdc07eb[_0x2969ca(0x21d)],..._0x56687b[_0x2969ca(0x21d)],..._0x220301],'undoMutations':[..._0xdc07eb['undos'],..._0x56687b[_0x2969ca(0x41c)],..._0x5c1c97]}),!0x0;}},_0xab0d1f={'type':_0x3c4cb4[_0x37cf57(0x29a)][_0x37cf57(0x228)],'id':_0x37cf57(0x3d0),async 'handler'(_0x4a1c65,_0x43e307){const _0x2e2048=_0x37cf57;if(!_0x43e307)return!0x1;const {sourceDataInfo:_0x55b0b1,pivotTableConfig:_0x1f5f04}=_0x43e307;if(!_0x55b0b1||!_0x1f5f04)return!0x1;const {unitId:_0x430524,subUnitId:_0x3d1c81,range:_0x487f96}=_0x55b0b1,_0x328664=_0x4a1c65['get'](_0x3c4cb4[_0x2e2048(0x444)]),_0x41ddf3=_0x4a1c65[_0x2e2048(0x2d9)](_0x31f249['SheetsPivotRPCService']),_0x4ba98d=_0x4a1c65[_0x2e2048(0x2d9)](_0x3c4cb4['LocaleService']),_0x1e12e1=_0x4a1c65[_0x2e2048(0x2d9)](_0x3c4cb4[_0x2e2048(0x31a)]),_0x50f99c=_0x328664['getUnit'](_0x430524);if(!_0x50f99c)return!0x1;const _0x3d57de=_0x50f99c['getSheetBySheetId'](_0x3d1c81);if(!_0x3d57de)return!0x1;const _0x155697=_0x31bb8d[_0x2e2048(0x2f7)](0x8),_0x2c4125=_0x487f96||{'startRow':0x0,'startColumn':0x0,'endRow':_0x3d57de['getRowCount']()-0x1,'endColumn':_0x3d57de[_0x2e2048(0x32c)]()-0x1};_0x2c4125[_0x2e2048(0x34f)]=_0x3c4cb4[_0x2e2048(0x417)][_0x2e2048(0x377)];const _0x19fb0a=(await _0x41ddf3[_0x2e2048(0x38e)]({'unitId':_0x430524,'subUnitId':_0x3d1c81,'pivotTableId':_0x155697,'params':{'type':_0x4c34a3[_0x2e2048(0x2c3)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x430524,'sheetName':_0x3d57de['getName'](),'subUnitId':_0x3d1c81,'range':_0x2c4125},'pivotTableIndexConfig':_0x1f5f04}}}))['result'][_0x2e2048(0x458)];if(!_0x19fb0a)return!0x1;const {isEmpty:_0x5cef8f,fieldsConfig:_0x46f68d,collectionConfig:_0x566e2e,changesets:_0x2fb749}=_0x19fb0a,_0x52a456=_0x50f99c[_0x2e2048(0x2c8)]()['length'],_0x9b25d3=_0x3c4cb4[_0x2e2048(0x45b)]({'rowCount':_0x3d57de[_0x2e2048(0x348)]()-0x1,'columnCount':_0x3d57de['getColumnCount']()-0x1});_0x9b25d3['id']=_0x3c4cb4[_0x2e2048(0x227)](),_0x9b25d3[_0x2e2048(0x4a0)]=_0x50f99c[_0x2e2048(0x407)](''+_0x4ba98d['t']('sheets.tabs.sheet'));const _0x3d2f11={'index':_0x52a456,'sheet':_0x9b25d3,'unitId':_0x430524},{redos:_0x4ba258}=_0x44a30a(_0x1e12e1,{'pivotTableId':_0x155697,'unitId':_0x430524,'subUnitId':_0x9b25d3['id']},_0x2fb749),_0x34e80d=[{'id':_0x2bdc55['InsertSheetCommand']['id'],'params':_0x3d2f11},{'id':_0x46c408['id'],'params':{'unitId':_0x430524,'subUnitId':_0x9b25d3['id'],'pivotTableId':_0x155697,'pivotTableConfig':{'isEmpty':_0x5cef8f,'fieldsConfig':_0x46f68d,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x430524,'subUnitId':_0x9b25d3['id']},'sourceRangeInfo':{'subUnitId':_0x3d1c81,'unitId':_0x430524,'range':_0x2c4125,'sheetName':_0x3d57de[_0x2e2048(0x496)]()}},'collectionConfig':_0x566e2e}},..._0x4ba258];return _0x3c4cb4[_0x2e2048(0x303)](_0x34e80d,_0x1e12e1),!0x0;}},_0x1442b4=_0x37cf57(0x351),_0x53a22c={};var _0x58913c=Object[_0x37cf57(0x45a)],_0xb7eee3=Object[_0x37cf57(0x43f)],_0xb951e2=(_0x4e64c1,_0x253363,_0x52c2b1,_0x31cb0c)=>{const _0x5eab51=_0x37cf57;for(var _0x287e08=_0x31cb0c>0x1?void 0x0:_0x31cb0c?_0xb7eee3(_0x253363,_0x52c2b1):_0x253363,_0x28219d=_0x4e64c1[_0x5eab51(0x3fb)]-0x1,_0x2b8dad;_0x28219d>=0x0;_0x28219d--)(_0x2b8dad=_0x4e64c1[_0x28219d])&&(_0x287e08=(_0x31cb0c?_0x2b8dad(_0x253363,_0x52c2b1,_0x287e08):_0x2b8dad(_0x287e08))||_0x287e08);return _0x31cb0c&&_0x287e08&&_0x58913c(_0x253363,_0x52c2b1,_0x287e08),_0x287e08;},_0x537392=(_0x2841b2,_0x2d1eeb)=>(_0x437c28,_0x4c5d41)=>_0x2d1eeb(_0x437c28,_0x4c5d41,_0x2841b2);const _0x1602aa=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x424c77=(_0xeb07d8,_0x1d4cb0,_0x1a5c9d)=>{const _0x179672=_0x37cf57,_0x5804ab=_0xeb07d8[_0x179672(0x3a5)];_0xeb07d8['iterateFieldDim'](_0x5a8ba9=>{const _0x3fe0d2=_0x179672,_0x16600f=_0x5a8ba9[_0x3fe0d2(0x389)](),_0x38223b=_0x5a8ba9[_0x3fe0d2(0x3e8)](),_0x37cdaf=_0x5a8ba9['getSourceName'](),_0x31bc14=_0x5a8ba9[_0x3fe0d2(0x235)]();_0x1d4cb0[_0x38223b]&&_0x1d4cb0[_0x38223b]===_0x31bc14&&_0x37cdaf===_0x31bc14&&(_0xeb07d8[_0x3fe0d2(0x3f2)](_0x16600f,_0x5804ab[_0x3fe0d2(0x235)](_0x38223b)),_0x5a8ba9[_0x3fe0d2(0x372)](_0x5804ab['getDisplayName'](_0x38223b)));}),_0xeb07d8[_0x179672(0x3e4)](_0x31bb8d['PivotTableFiledAreaEnum'][_0x179672(0x29f)],_0x2226ec=>{const _0x31b565=_0x179672,_0x5c9e95=_0x2226ec[_0x31b565(0x389)](),_0x516250=_0x2226ec[_0x31b565(0x3e8)](),_0x2bf45c=_0x2226ec[_0x31b565(0x22f)](),_0x36a9fe=_0x2226ec[_0x31b565(0x235)](),_0xe5dfa2=_0x2226ec[_0x31b565(0x2db)](),_0x319fa7=_0x1a5c9d(_0x2bf45c,_0xe5dfa2);_0x1d4cb0[_0x516250]&&_0x1d4cb0[_0x516250]===_0x2bf45c&&_0x319fa7===_0x36a9fe&&(_0xeb07d8[_0x31b565(0x3f2)](_0x5c9e95,_0x1a5c9d(_0x5804ab['getDisplayName'](_0x516250),_0xe5dfa2)),_0x2226ec[_0x31b565(0x372)](_0x5804ab['getDisplayName'](_0x516250)));});},_0xba4b53=(_0x356727,_0x3067b5,_0x54aa32)=>{const _0x511146=_0x37cf57;var _0xa73864,_0x3958b9;const {arrayFormulaCellData:_0x5e0d81,unitData:_0x4e9a44}=_0x3067b5,{unitId:_0x1fe7eb,subUnitId:_0x265da9}=_0x54aa32,_0x371ad4=_0x54aa32['range'],{startColumn:_0x2c5782,endColumn:_0x383773}=_0x371ad4,_0x54265c=(_0xa73864=_0x5e0d81==null?void 0x0:_0x5e0d81[_0x1fe7eb])==null?void 0x0:_0xa73864[_0x265da9],_0xdfb610=(_0x3958b9=_0x4e9a44==null?void 0x0:_0x4e9a44[_0x1fe7eb])==null?void 0x0:_0x3958b9[_0x265da9],_0x5462a9=new Set(),_0x521e6e=_0x383773-_0x2c5782+0x1,{dirtyRanges:_0x5368c5}=_0x356727;if(_0x5368c5)for(const {range:_0x8bcb40,sheetId:_0x2782c6,unitId:_0x388532}of _0x5368c5){if(_0x2782c6!==_0x265da9||_0x1fe7eb!==_0x388532)continue;const _0x3c2986=_0x3c4cb4[_0x511146(0x27b)][_0x511146(0x3d8)](_0x8bcb40,_0x371ad4);if(_0x3c2986){const {startColumn:_0x4aa110,endColumn:_0x106ec4}=_0x3c2986;for(let _0x58da06=_0x4aa110;_0x58da06<=_0x106ec4;_0x58da06++)_0x5462a9['add'](_0x58da06);}}if(_0x5462a9[_0x511146(0x21c)]===_0x521e6e||_0x5462a9[_0x511146(0x21c)]===_0x521e6e)return Array['from'](_0x5462a9);if(_0xdfb610){const _0x127f19=_0xdfb610[_0x511146(0x48f)](),_0x126dff=Object['keys'](_0x127f19);for(const _0x17c871 of _0x126dff){const _0x1d5e63=Number(_0x17c871),_0x278166=_0x127f19[_0x1d5e63];if(_0x5462a9[_0x511146(0x21c)]===_0x521e6e)break;for(const _0x131dcc in _0x278166){const _0xace76e=Number(_0x131dcc);_0xace76e<_0x2c5782||_0xace76e>_0x383773||_0x5462a9['add'](_0xace76e);}}}if(_0x54265c){const _0x3a84a7=_0x54265c[_0x511146(0x48f)](),_0x5da849=Object[_0x511146(0x2e2)](_0x3a84a7);for(const _0x522698 of _0x5da849){const _0x338790=Number(_0x522698),_0x4ad066=_0x3a84a7[_0x338790];if(_0x5462a9[_0x511146(0x21c)]===_0x521e6e)break;for(const _0xdb213a in _0x4ad066){const _0x44144c=Number(_0xdb213a);_0x44144c<_0x2c5782||_0x44144c>_0x383773||_0x5462a9[_0x511146(0x3a3)](_0x44144c);}}}return Array[_0x511146(0x283)](_0x5462a9);},_0x2180f8=_0x364125=>{const _0x26de10=_0x37cf57,_0x1613fe=new Set(),_0x562bbc=[];for(const _0x5ba676 of _0x364125){const _0x2fe96e=_0x5ba676['startRow']+','+_0x5ba676[_0x26de10(0x46e)]+','+_0x5ba676[_0x26de10(0x40c)]+','+_0x5ba676[_0x26de10(0x37d)];_0x1613fe[_0x26de10(0x3f9)](_0x2fe96e)||(_0x1613fe[_0x26de10(0x3a3)](_0x2fe96e),_0x562bbc[_0x26de10(0x1eb)](_0x5ba676));}return _0x562bbc;};let _0x4d782a=class extends _0x3c4cb4[_0x37cf57(0x427)]{constructor(_0x5dab49,_0x4b561c,_0x25a2e9,_0x16f3c0,_0x1e8fd1){const _0x156478=_0x37cf57;super(),this[_0x156478(0x47a)]=_0x5dab49,this['_configService']=_0x4b561c,this[_0x156478(0x409)]=_0x25a2e9,this['_commandService']=_0x16f3c0,this[_0x156478(0x431)]=_0x1e8fd1,this['_init'](),this[_0x156478(0x482)]();}[_0x37cf57(0x2e7)](){const _0x373698=_0x37cf57;this[_0x373698(0x413)](),this['_subjectViewChange'](),this[_0x373698(0x32e)](),this[_0x373698(0x451)]();}[_0x37cf57(0x482)](){const _0xf6098f=_0x37cf57;this[_0xf6098f(0x294)](this['_commandService'][_0xf6098f(0x3e9)](_0x2eede0=>{const _0x2d82f6=_0xf6098f;_0x2eede0['id']===_0x2bdc55[_0x2d82f6(0x415)]['id']&&this['_sheetsPivotDataSourceModel'][_0x2d82f6(0x35a)](_0x2eede0[_0x2d82f6(0x304)]);})),this[_0xf6098f(0x294)](this[_0xf6098f(0x207)]['onCommandExecuted'](_0x6b78fd=>{const _0x55cc04=_0xf6098f;if(_0x6b78fd['id']!==_0x493a83['id'])return;const _0xabdb67=_0x6b78fd[_0x55cc04(0x304)],{unitId:_0x15d39a,subUnitId:_0x1c1360,pivotTableId:_0x14bb38}=_0xabdb67,_0x2a6e8e=_0xabdb67[_0x55cc04(0x304)]['type'],_0xfeff12={};switch(_0x2a6e8e){case _0x4c34a3['Filter']:{const _0x3cef8e=_0xabdb67['params'][_0x55cc04(0x350)];if(!_0x3cef8e)return;const {row:_0x5d51e4,col:_0x5ad011,cellData:_0x5ad82c,pivotItemRenderInfoCache:_0x33afd4,tableFieldId:_0x5a09f8}=_0x3cef8e,_0x17e809=this[_0x55cc04(0x47a)][_0x55cc04(0x256)](_0xabdb67[_0x55cc04(0x485)]);if(!_0x17e809||!_0x33afd4)return;if(_0x5a09f8){const _0x302860=_0x17e809[_0x55cc04(0x344)](_0x5a09f8);if(!_0x302860)return;_0xfeff12[_0x55cc04(0x350)]={..._0x17e809['getDataFieldItemInfo'](_0x302860),'tableFieldId':_0x5a09f8,'pivotTableId':_0xabdb67[_0x55cc04(0x485)],'filterInfo':_0x17e809[_0x55cc04(0x468)](_0x5a09f8),'sortInfo':_0x17e809[_0x55cc04(0x341)](_0x5a09f8),'format':_0x17e809[_0x55cc04(0x308)](_0x5a09f8)};}else{const _0x1f032f=_0xda298c(_0x5d51e4,_0x5ad011,_0x5ad82c,_0x17e809,_0x33afd4),_0x24712f=_0x1f032f==null?void 0x0:_0x1f032f[_0x55cc04(0x2f0)];if(!_0x24712f)return;const _0x1670ed=_0x17e809[_0x55cc04(0x344)](_0x24712f);if(!_0x1670ed)return;_0xfeff12[_0x55cc04(0x350)]={..._0x17e809[_0x55cc04(0x284)](_0x1670ed),'tableFieldId':_0x24712f,'pivotTableId':_0xabdb67[_0x55cc04(0x485)],'filterInfo':_0x17e809[_0x55cc04(0x468)](_0x24712f),'sortInfo':_0x17e809[_0x55cc04(0x341)](_0x24712f),'format':_0x17e809['getFieldFormat'](_0x24712f)};}}break;case _0x4c34a3[_0x55cc04(0x21e)]:{const _0x52a555=_0xabdb67[_0x55cc04(0x304)][_0x55cc04(0x492)];if(!_0x52a555)return;const {pivotTableId:_0x4b61dd}=_0x52a555,_0x330516=this[_0x55cc04(0x47a)][_0x55cc04(0x256)](_0x4b61dd);if(!_0x330516)return;const _0x40fe88=this['_sheetsPivotDataSourceModel'][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x4b61dd),_0x2697b0=_0xb56f87(_0x330516,_0x4b61dd,_0x40fe88);_0xfeff12[_0x55cc04(0x492)]=_0x2697b0;}break;case _0x4c34a3[_0x55cc04(0x325)]:{const _0x5ecbe4=this['_sheetsPivotDataSourceModel'][_0x55cc04(0x256)](_0x14bb38),_0x46a068=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38),_0x260ffc=_0xabdb67[_0x55cc04(0x304)][_0x55cc04(0x3d3)];if(!_0x5ecbe4||!_0x46a068||!_0x260ffc)return!0x1;const {dataFieldId:_0x5927dc,fieldArea:_0x7915ae,index:_0x459001}=_0x260ffc;_0x5ecbe4['startCollectChangeset']();const _0x5350f1=_0x5ecbe4[_0x55cc04(0x336)](_0x5927dc,_0x7915ae,_0x459001);if(_0x5350f1&&_0x7915ae===_0x31bb8d[_0x55cc04(0x2ba)]['Value']){const _0x27d361=_0x5350f1['getId'](),_0x462ab5=_0x5ecbe4[_0x55cc04(0x344)](_0x27d361);if(_0x462ab5){const _0x400a1e=_0x462ab5==null?void 0x0:_0x462ab5[_0x55cc04(0x23d)]();_0x5ecbe4[_0x55cc04(0x210)](_0x5350f1[_0x55cc04(0x389)](),_0x400a1e===_0x31bb8d[_0x55cc04(0x435)][_0x55cc04(0x3f3)]?_0x31bb8d[_0x55cc04(0x221)][_0x55cc04(0x299)]:_0x31bb8d[_0x55cc04(0x221)][_0x55cc04(0x25e)]);}const _0x152709=_0x5ecbe4[_0x55cc04(0x2bf)](),_0x2751d5=_0x5ecbe4[_0x55cc04(0x2c7)](),_0x42311d=_0x5ecbe4['getFieldCountByArea'](_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x29f)]);if(_0x152709===-0x1&&_0x42311d>0x1){const _0x53928e=_0x2751d5===_0x31bb8d[_0x55cc04(0x2b9)][_0x55cc04(0x2e5)]?_0x31bb8d[_0x55cc04(0x2b9)][_0x55cc04(0x475)]:_0x2751d5,_0xc230d1=_0x53928e===_0x31bb8d['PivotTableValuePositionEnum']['Row']?_0x31bb8d[_0x55cc04(0x2ba)]['Row']:_0x31bb8d[_0x55cc04(0x2ba)]['Column'];_0x5ecbe4['updateValuePosition'](_0x53928e,_0x5ecbe4[_0x55cc04(0x25a)](_0xc230d1));}}else{if(_0x5350f1&&(_0x7915ae===_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x26d)]||_0x7915ae===_0x31bb8d['PivotTableFiledAreaEnum'][_0x55cc04(0x475)])){const _0x5d95f2=_0x5350f1[_0x55cc04(0x389)](),_0x1462a3=_0x5ecbe4[_0x55cc04(0x344)](_0x5d95f2);if(_0x1462a3&&(_0x1462a3==null?void 0x0:_0x1462a3['getFieldDataType']())===_0x31bb8d[_0x55cc04(0x435)]['date']){const _0x2cb513=_0x1462a3[_0x55cc04(0x238)]();_0x2cb513&&_0x5ecbe4[_0x55cc04(0x379)](_0x5350f1[_0x55cc04(0x389)](),_0x2cb513);}}}const _0x49c7aa=_0x5ecbe4[_0x55cc04(0x39a)](),_0x22d2a4=_0x5ecbe4[_0x55cc04(0x3d7)]()[_0x55cc04(0x3d4)](),_0x43c07a=_0x5ecbe4['endCollectChangeset']();_0xfeff12[_0x55cc04(0x3d3)]={'view':_0x22d2a4,'changesets':_0x43c07a,'isEmpty':_0x49c7aa,'pivotTableConfig':_0x46a068};}break;case _0x4c34a3['AddPivotTable']:{const _0x1f2b2f=_0xabdb67[_0x55cc04(0x304)][_0x55cc04(0x32d)];if(!_0x1f2b2f)return;const _0x17b905=_0x1f2b2f[_0x55cc04(0x3fe)],{collection:_0xfacdc1}=this['_sheetsPivotDataSourceModel'][_0x55cc04(0x47c)]({'unitId':_0x17b905[_0x55cc04(0x394)],'sheetName':_0x17b905[_0x55cc04(0x491)],'subUnitId':_0x17b905[_0x55cc04(0x2ef)],'range':_0x17b905[_0x55cc04(0x349)]}),_0x23695f=new _0x31bb8d[(_0x55cc04(0x356))](_0xfacdc1),_0x2ba77d=_0x23695f[_0x55cc04(0x3d7)](),_0x49830d=_0x23695f[_0x55cc04(0x3d4)](),_0x46c244=_0xfacdc1['toJSON']();_0xfeff12['addPivotTable']={'view':_0x2ba77d,'fieldsConfig':_0x49830d,'collectionConfig':_0x46c244,'isEmpty':_0x23695f[_0x55cc04(0x39a)]()};}break;case _0x4c34a3[_0x55cc04(0x2fd)]:{const _0x2a0a7c=_0xabdb67[_0x55cc04(0x304)][_0x55cc04(0x41e)];if(!_0x2a0a7c)return;const {fieldId:_0x4762e1,area:_0x34438f,index:_0x152d72}=_0x2a0a7c,_0x3f8b66=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38);if(!_0x3f8b66)return;const _0x4e8bae=this[_0x55cc04(0x47a)][_0x55cc04(0x256)](_0x14bb38);if(!_0x4e8bae)return;_0x4e8bae[_0x55cc04(0x1ee)]();const {area:_0x1c6012,index:_0x14c47c}=_0x4e8bae[_0x55cc04(0x41d)](_0x4762e1);if(_0x4e8bae[_0x55cc04(0x25f)](_0x4762e1,_0x34438f,_0x152d72),_0x34438f===_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x29f)]&&_0x4e8bae[_0x55cc04(0x388)](_0x4762e1)[_0x55cc04(0x2db)]()===void 0x0){const _0x49608c=_0x4e8bae[_0x55cc04(0x388)](_0x4762e1);if(_0x49608c&&_0x49608c[_0x55cc04(0x2db)]()===void 0x0){const _0x50a801=_0x4e8bae[_0x55cc04(0x344)](_0x4762e1);if(_0x50a801){const _0xf4d8f8=_0x50a801==null?void 0x0:_0x50a801['getFieldDataType']();_0x4e8bae[_0x55cc04(0x210)](_0x4762e1,_0xf4d8f8===_0x31bb8d[_0x55cc04(0x435)][_0x55cc04(0x3f3)]?_0x31bb8d[_0x55cc04(0x221)][_0x55cc04(0x299)]:_0x31bb8d[_0x55cc04(0x221)][_0x55cc04(0x25e)]);}}}const _0x21d4c4=_0x4e8bae['getValuePosition'](),_0x16e061=_0x4e8bae[_0x55cc04(0x2bf)](),_0x39a393=_0x4e8bae[_0x55cc04(0x25a)](_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x29f)])>0x1;if(_0x39a393&&_0x1c6012===_0x34438f&&(_0x34438f===_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x26d)]&&_0x21d4c4===_0x31bb8d[_0x55cc04(0x2b9)][_0x55cc04(0x26d)]||_0x34438f===_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x475)]&&_0x21d4c4===_0x31bb8d[_0x55cc04(0x2b9)][_0x55cc04(0x475)])){let _0x39c847=_0x16e061;_0x14c47c<=_0x16e061&&_0x39c847--,_0x152d72<=_0x16e061&&_0x39c847++,_0x4e8bae[_0x55cc04(0x3c5)](_0x21d4c4,_0x39c847);}else _0x39a393&&(_0x1c6012===_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x26d)]&&_0x21d4c4===_0x31bb8d[_0x55cc04(0x2b9)][_0x55cc04(0x26d)]||_0x1c6012===_0x31bb8d['PivotTableFiledAreaEnum']['Column']&&_0x21d4c4===_0x31bb8d[_0x55cc04(0x2b9)][_0x55cc04(0x475)])&&_0x16e061>=_0x14c47c&&_0x4e8bae[_0x55cc04(0x3c5)](_0x21d4c4,_0x16e061-0x1),_0x39a393&&(_0x34438f===_0x31bb8d['PivotTableFiledAreaEnum'][_0x55cc04(0x26d)]&&_0x21d4c4===_0x31bb8d['PivotTableValuePositionEnum'][_0x55cc04(0x26d)]||_0x34438f===_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x475)]&&_0x21d4c4===_0x31bb8d[_0x55cc04(0x2b9)][_0x55cc04(0x475)])&&_0x16e061>=_0x152d72&&_0x4e8bae[_0x55cc04(0x3c5)](_0x21d4c4,_0x16e061+0x1);const _0x52edf6=_0x4e8bae[_0x55cc04(0x3d7)](),_0x43d5c2=_0x4e8bae['isEmpty'](),_0x398003=_0x4e8bae[_0x55cc04(0x2f5)]();_0xfeff12[_0x55cc04(0x41e)]={'view':_0x52edf6[_0x55cc04(0x3d4)](),'changesets':_0x398003,'isEmpty':_0x43d5c2,'pivotTableConfig':_0x3f8b66};}break;case _0x4c34a3[_0x55cc04(0x434)]:{const _0x564426=_0xabdb67[_0x55cc04(0x304)][_0x55cc04(0x2f2)];if(!_0x564426)return;const _0x7892f9=_0x564426[_0x55cc04(0x2c2)],_0x1f0eb6=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38);if(!_0x1f0eb6)return!0x1;const _0x10500e=this[_0x55cc04(0x47a)]['getPivotTableInstance'](_0x14bb38);if(!_0x10500e)return!0x1;_0x10500e[_0x55cc04(0x1ee)]();for(const _0x350bd0 of _0x7892f9)_0x10500e['removeField'](_0x350bd0);const _0x55bc20=_0x10500e[_0x55cc04(0x39a)](),_0x4e0eff=_0x10500e[_0x55cc04(0x3d7)]()['toJSON'](),_0x21c907=_0x10500e[_0x55cc04(0x2f5)]();_0xfeff12[_0x55cc04(0x2f2)]={'changesets':_0x21c907,'pivotTableConfig':_0x1f0eb6,'isEmpty':_0x55bc20,'view':_0x4e0eff};}break;case _0x4c34a3[_0x55cc04(0x471)]:{const _0x382e58=_0xabdb67[_0x55cc04(0x304)][_0x55cc04(0x289)];if(!_0x382e58)return;const {tableFieldId:_0x2e40d7,items:_0x1e13da,isAll:_0x3d565b}=_0x382e58,_0x1aaa6c=this[_0x55cc04(0x47a)]['getPivotTableInstance'](_0x14bb38),_0x50f44a=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38);if(!_0x1aaa6c||!_0x50f44a)return;_0x1aaa6c[_0x55cc04(0x1ee)](),_0x1aaa6c['setFilterInfo'](_0x2e40d7,{'type':_0x31bb8d['PivotFilterTypeEnum']['ManualFilter'],'list':_0x1e13da,'isAll':_0x3d565b});const _0x53c5b5=_0x1aaa6c['isEmpty'](),_0x7a937e=_0x1aaa6c[_0x55cc04(0x3d7)]()['toJSON'](),_0x3d3a66=_0x1aaa6c['endCollectChangeset']();_0xfeff12[_0x55cc04(0x289)]={'view':_0x7a937e,'changesets':_0x3d3a66,'isEmpty':_0x53c5b5,'pivotTableConfig':_0x50f44a};}break;case _0x4c34a3[_0x55cc04(0x2cf)]:{const _0x2b8613=_0xabdb67[_0x55cc04(0x304)]['setPivotSort'];if(!_0x2b8613)return;const {tableFieldId:_0x355059,info:_0x4dd22d}=_0x2b8613,_0x35a6bc=this[_0x55cc04(0x47a)][_0x55cc04(0x256)](_0x14bb38),_0x1a78dd=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38);if(!_0x35a6bc||!_0x1a78dd)return;_0x35a6bc[_0x55cc04(0x1ee)](),_0x35a6bc[_0x55cc04(0x410)](_0x355059,_0x4dd22d);const _0x526448=_0x35a6bc[_0x55cc04(0x39a)](),_0x1c71f7=_0x35a6bc[_0x55cc04(0x3d7)]()[_0x55cc04(0x3d4)](),_0x32fd78=_0x35a6bc[_0x55cc04(0x2f5)]();_0xfeff12['setPivotSort']={'view':_0x1c71f7,'changesets':_0x32fd78,'isEmpty':_0x526448,'pivotTableConfig':_0x1a78dd};}break;case _0x4c34a3[_0x55cc04(0x24c)]:{const _0x1fa3cb=_0xabdb67['params']['setPivotSetting'];if(!_0x1fa3cb)return;const {tableFieldId:_0x5564e4,displayName:_0x278c32,subtotalType:_0x35b7a8,format:_0x2501f7}=_0x1fa3cb,_0x216875=this[_0x55cc04(0x47a)]['getPivotTableInstance'](_0x14bb38),_0x5f299d=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38);if(!_0x216875||!_0x5f299d)return;_0x216875[_0x55cc04(0x1ee)](),_0x278c32!==void 0x0&&_0x216875['renameField'](_0x5564e4,_0x278c32),_0x35b7a8!==void 0x0&&_0x216875[_0x55cc04(0x210)](_0x5564e4,_0x35b7a8),_0x2501f7!==void 0x0&&_0x216875[_0x55cc04(0x379)](_0x5564e4,_0x2501f7);const _0x16ad8f=_0x216875[_0x55cc04(0x39a)](),_0x1ac1aa=_0x216875[_0x55cc04(0x3d7)]()[_0x55cc04(0x3d4)](),_0x10e50a=_0x216875[_0x55cc04(0x2f5)]();_0xfeff12['setPivotSetting']={'changesets':_0x10e50a,'pivotTableConfig':_0x5f299d,'isEmpty':_0x16ad8f,'view':_0x1ac1aa};}break;case _0x4c34a3[_0x55cc04(0x448)]:{const _0x410e15=_0xabdb67[_0x55cc04(0x304)][_0x55cc04(0x332)];if(!_0x410e15)return;const {dataRangeInfo:_0x3bef0e,unitId:_0x21ec02,subUnitId:_0x59d346}=_0x410e15,_0x401557=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x21ec02,_0x59d346,_0x14bb38),_0x39f87d=this[_0x55cc04(0x47a)][_0x55cc04(0x256)](_0x14bb38);if(!this[_0x55cc04(0x47a)][_0x55cc04(0x378)](_0x21ec02,_0x14bb38)||!_0x39f87d||!_0x401557)return;const _0x3c8c1b=this['_sheetsPivotDataSourceModel'][_0x55cc04(0x3e5)](_0x21ec02,_0x14bb38,_0x3bef0e),_0x461775=this[_0x55cc04(0x47a)][_0x55cc04(0x378)](_0x21ec02,_0x14bb38)[_0x55cc04(0x3d4)](),{collection:_0x55d521}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x3bef0e[_0x55cc04(0x394)],'sheetName':_0x3bef0e['sheetName'],'subUnitId':_0x3bef0e[_0x55cc04(0x2ef)],'range':_0x3bef0e[_0x55cc04(0x349)]}),_0x168183=_0x55d521[_0x55cc04(0x3d4)]();_0x39f87d[_0x55cc04(0x1ee)]();const _0x5605a6=this[_0x55cc04(0x47a)][_0x55cc04(0x3f4)](_0x21ec02)[_0x55cc04(0x3e6)]()||_0x31bb8d[_0x55cc04(0x321)];_0x39f87d[_0x55cc04(0x33e)](_0x343236=>{const _0x3094e0=_0x55cc04,_0xfd8a23=_0x343236['getDataFieldId']();if(!_0x55d521[_0x3094e0(0x313)](_0xfd8a23)){const _0x268f9d=_0x55d521[_0x3094e0(0x3b8)](_0x343236[_0x3094e0(0x22f)]());if(_0x268f9d){_0x39f87d['updateFieldSourceInfo'](_0x343236['getId'](),_0x268f9d[_0x3094e0(0x496)](),_0x268f9d[_0x3094e0(0x389)]());const {area:_0x4f6a08}=_0x39f87d[_0x3094e0(0x41d)](_0x343236[_0x3094e0(0x389)]());let _0x3332ce=_0x343236['getSourceName']();const _0x2c2cd1=_0x343236[_0x3094e0(0x235)]();if(_0x4f6a08===_0x31bb8d[_0x3094e0(0x2ba)]['Value']){const _0x54d873=_0x343236[_0x3094e0(0x2db)]();_0x3332ce=_0x5605a6(_0x268f9d['getName'](),_0x54d873);}_0x2c2cd1!==_0x3332ce&&_0x39f87d[_0x3094e0(0x3f2)](_0x343236[_0x3094e0(0x389)](),_0x3332ce);}else _0x39f87d[_0x3094e0(0x369)](_0x343236[_0x3094e0(0x389)]());}});const _0x21389c=_0x39f87d[_0x55cc04(0x39a)](),_0x3a69fe=_0x39f87d[_0x55cc04(0x3d7)]()['toJSON'](),_0xf4216a=_0x39f87d['endCollectChangeset']();_0xfeff12['updatePivotSource']={'view':_0x3a69fe,'changesets':_0xf4216a,'isEmpty':_0x21389c,'pivotTableConfig':_0x401557,'collectionConfig':_0x168183,'oldCollectionConfig':_0x461775,'deleteIds':_0x3c8c1b};}break;case _0x4c34a3[_0x55cc04(0x28e)]:{const _0x7b15d1=_0xabdb67[_0x55cc04(0x304)]['updateValuePosition'];if(!_0x7b15d1)return;const {position:_0x3d0412,index:_0x2aea49}=_0x7b15d1,_0x21db59=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38);if(!_0x21db59)return!0x1;const _0x5aed55=this[_0x55cc04(0x47a)][_0x55cc04(0x256)](_0x14bb38);if(!_0x5aed55)return!0x1;_0x5aed55['startCollectChangeset'](),_0x5aed55[_0x55cc04(0x3c5)](_0x3d0412,_0x2aea49);const _0x2788dc=_0x5aed55[_0x55cc04(0x39a)](),_0x23a25c=_0x5aed55[_0x55cc04(0x3d7)]()['toJSON'](),_0x30ae33=_0x5aed55['endCollectChangeset']();_0xfeff12[_0x55cc04(0x3c5)]={'changesets':_0x30ae33,'pivotTableConfig':_0x21db59,'isEmpty':_0x2788dc,'view':_0x23a25c};}break;case _0x4c34a3[_0x55cc04(0x416)]:{const _0x400037=_0xabdb67['params'][_0x55cc04(0x206)];if(!_0x400037)return;const {tableFieldId:_0x4ad984,collapse:_0x10d880,item:_0x22481c}=_0x400037,_0x397b17=this['_sheetsPivotDataSourceModel'][_0x55cc04(0x256)](_0x14bb38),_0x528320=this[_0x55cc04(0x47a)][_0x55cc04(0x3f0)](_0x15d39a,_0x1c1360,_0x14bb38);if(!_0x397b17||!_0x528320)return;_0x397b17['startCollectChangeset'](),_0x397b17['setCollapse'](_0x4ad984,_0x10d880,_0x22481c);const _0x17bd04=_0x397b17[_0x55cc04(0x39a)](),_0x41b54d=_0x397b17['query']()['toJSON'](),_0x50c695=_0x397b17[_0x55cc04(0x2f5)]();_0xfeff12[_0x55cc04(0x206)]={'view':_0x41b54d,'isEmpty':_0x17bd04,'pivotTableConfig':_0x528320,'changesets':_0x50c695};}break;case _0x4c34a3[_0x55cc04(0x2c3)]:{const _0x18fb50=_0xabdb67['params'][_0x55cc04(0x458)];if(!_0x18fb50)return;const _0x27e666=_0x18fb50[_0x55cc04(0x3fe)],{collection:_0x155318}=this[_0x55cc04(0x47a)][_0x55cc04(0x47c)]({'unitId':_0x27e666[_0x55cc04(0x394)],'sheetName':_0x27e666['sheetName'],'subUnitId':_0x27e666['subUnitId'],'range':_0x27e666[_0x55cc04(0x349)]}),_0x42f65f=new _0x31bb8d['PivotTable'](_0x155318),_0x2525d7=_0x155318[_0x55cc04(0x3ff)](),{rows:_0x306d7f,columns:_0x4f2c94,filters:_0x2f8ac0,values:_0x719ab3}=_0x18fb50[_0x55cc04(0x488)];_0x42f65f['startCollectChangeset']();for(const {field:_0x41742b,selectedItems:_0x28f098}of _0x306d7f||[]){const _0x559675=_0x2525d7[_0x41742b];if(_0x559675){const _0x4d0dd4=_0x42f65f[_0x55cc04(0x336)](_0x559675,_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x26d)]);_0x28f098&&_0x4d0dd4&&_0x42f65f[_0x55cc04(0x1e9)](_0x4d0dd4[_0x55cc04(0x389)](),{'type':_0x31bb8d[_0x55cc04(0x44f)][_0x55cc04(0x498)],'list':_0x28f098,'isAll':!0x1});}}for(const {field:_0xae223,selectedItems:_0x2849d7}of _0x4f2c94||[]){const _0x17a1dd=_0x2525d7[_0xae223];if(_0x17a1dd){const _0x57003a=_0x42f65f[_0x55cc04(0x336)](_0x17a1dd,_0x31bb8d[_0x55cc04(0x2ba)]['Column']);_0x2849d7&&_0x57003a&&_0x42f65f[_0x55cc04(0x1e9)](_0x57003a[_0x55cc04(0x389)](),{'type':_0x31bb8d[_0x55cc04(0x44f)][_0x55cc04(0x498)],'list':_0x2849d7,'isAll':!0x1});}}for(const {field:_0x5f5033,selectedItems:_0x4e3e85}of _0x2f8ac0||[]){const _0x36c207=_0x2525d7[_0x5f5033];if(_0x36c207){const _0x48ee4b=_0x42f65f[_0x55cc04(0x336)](_0x36c207,_0x31bb8d[_0x55cc04(0x2ba)][_0x55cc04(0x333)]);_0x4e3e85&&_0x48ee4b&&_0x42f65f[_0x55cc04(0x1e9)](_0x48ee4b[_0x55cc04(0x389)](),{'type':_0x31bb8d[_0x55cc04(0x44f)][_0x55cc04(0x498)],'list':_0x4e3e85,'isAll':!0x1});}}for(const {field:_0x405819,subTotalType:_0x3d7a7f,formatString:_0x361e77}of _0x719ab3||[]){const _0x460dbd=_0x155318[_0x55cc04(0x3ae)](_0x2525d7[_0x405819]);if(!_0x460dbd)continue;const _0x49424f=_0x2525d7[_0x405819];if(_0x49424f){const _0x21b6d4=_0x42f65f['addFieldWithSourceId'](_0x49424f,_0x31bb8d[_0x55cc04(0x2ba)]['Value']);if(_0x21b6d4){if(_0x3d7a7f!==void 0x0){_0x42f65f['setSubtotalType'](_0x21b6d4[_0x55cc04(0x389)](),_0x3d7a7f);const _0x39ee7e=this[_0x55cc04(0x47a)]['getDataFieldManager'](_0x27e666[_0x55cc04(0x394)])['getAutoDisplayNameFunction']()||_0x31bb8d[_0x55cc04(0x321)],_0x2b1069=_0x155318[_0x55cc04(0x235)](_0x49424f),_0x5254e6=_0x39ee7e(_0x2b1069,_0x3d7a7f);_0x42f65f[_0x55cc04(0x3f2)](_0x21b6d4[_0x55cc04(0x389)](),_0x5254e6);}else{if(_0x460dbd){const _0x4d8cb9=_0x460dbd==null?void 0x0:_0x460dbd[_0x55cc04(0x23d)]();_0x42f65f[_0x55cc04(0x210)](_0x21b6d4[_0x55cc04(0x389)](),_0x4d8cb9===_0x31bb8d[_0x55cc04(0x435)][_0x55cc04(0x3f3)]?_0x31bb8d[_0x55cc04(0x221)][_0x55cc04(0x299)]:_0x31bb8d[_0x55cc04(0x221)][_0x55cc04(0x25e)]);}}_0x361e77&&_0x42f65f[_0x55cc04(0x379)](_0x21b6d4['getId'](),_0x361e77);}}}const _0xf08b4a=_0x42f65f['query'](),_0x2a44fa=_0x42f65f[_0x55cc04(0x3d4)](),_0x4ad68d=_0x42f65f[_0x55cc04(0x39a)](),_0x17c262=_0x42f65f['endCollectChangeset'](),_0x187dc6=_0x155318['toJSON']();_0xfeff12[_0x55cc04(0x458)]={'view':_0xf08b4a,'fieldsConfig':_0x2a44fa,'collectionConfig':_0x187dc6,'isEmpty':_0x4ad68d,'changesets':_0x17c262};}break;case _0x4c34a3[_0x55cc04(0x2d4)]:{const _0x36a565=_0x17949b(this['_injector'],_0xabdb67);if(!_0x36a565)return;const {range:_0x3d3a06,sourceSubUnitId:_0xf56d4e,sourceUnitId:_0x45dc9f,formatMap:_0x2a1e20,indexes:_0x110c85}=_0x36a565;_0xfeff12[_0x55cc04(0x200)]={'range':_0x3d3a06,'sourceSubUnitId':_0xf56d4e,'sourceUnitId':_0x45dc9f,'formatMap':_0x2a1e20,'indexes':_0x110c85};}break;}this[_0x55cc04(0x207)][_0x55cc04(0x2ea)](_0x25b647['id'],{'version':_0xabdb67[_0x55cc04(0x262)],'result':_0xfeff12},{'onlyLocal':!0x0});}));}[_0x37cf57(0x32e)](){const _0xc266f0=_0x37cf57;this[_0xc266f0(0x294)](this[_0xc266f0(0x207)][_0xc266f0(0x3e9)](_0x27d8b3=>{const _0x404e1d=_0xc266f0;if(_0x27d8b3['id']!==_0x1c5c18['id'])return;const _0x25f2d2=_0x27d8b3[_0x404e1d(0x304)];return this[_0x404e1d(0x47a)][_0x404e1d(0x296)](_0x25f2d2['textInfo']),!0x0;}));}[_0x37cf57(0x413)](){const _0x29f451=_0x37cf57;this[_0x29f451(0x47a)][_0x29f451(0x38c)][_0x29f451(0x49b)](_0x35b769=>{const _0x2fc70d=_0x29f451;switch(_0x35b769[_0x2fc70d(0x3e1)]){case _0x212309[_0x2fc70d(0x3a3)]:_0x35b769[_0x2fc70d(0x34e)]&&_0x35b769[_0x2fc70d(0x44d)]&&this[_0x2fc70d(0x368)](_0x35b769[_0x2fc70d(0x2e1)],_0x35b769[_0x2fc70d(0x34e)],_0x35b769[_0x2fc70d(0x44d)]);break;case _0x212309['delete']:{const {unitId:_0x3136b7,subUnitId:_0x2aba36,token:_0x168287}=_0x35b769;_0x3136b7&&_0x2aba36&&_0x168287&&this[_0x2fc70d(0x390)](_0x3136b7,_0x2aba36,_0x168287);}break;case _0x212309[_0x2fc70d(0x49e)]:{const {token:_0x20fa9d,oldSourceRangeInfo:_0x3c836c,dataRangeInfo:_0x101b9c,targetCellInfo:_0x4f8153}=_0x35b769,{unitId:_0x4b115d,subUnitId:_0x350e31}=_0x3c836c||{};_0x4b115d&&_0x350e31&&_0x20fa9d&&this[_0x2fc70d(0x390)](_0x4b115d,_0x350e31,_0x20fa9d),_0x101b9c&&_0x4f8153&&this[_0x2fc70d(0x368)](_0x20fa9d,_0x101b9c,_0x4f8153);}break;}});}[_0x37cf57(0x451)](){const _0x108a38=_0x37cf57;this['_sheetsPivotDataSourceModel'][_0x108a38(0x477)][_0x108a38(0x49b)](_0x53443d=>{const _0x1afb25=_0x108a38;Object[_0x1afb25(0x2e2)](_0x53443d)[_0x1afb25(0x340)](_0x5d55aa=>{const _0x54a6fb=_0x1afb25,_0x123299=this['_sheetsPivotDataSourceModel'][_0x54a6fb(0x429)](_0x5d55aa);if(_0x123299){const _0x479022=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x123299==null?void 0x0:_0x123299[_0x54a6fb(0x394)],_0x123299==null?void 0x0:_0x123299['subUnitId'],_0x5d55aa);_0x479022&&(this[_0x54a6fb(0x368)](_0x5d55aa,_0x479022[_0x54a6fb(0x3fe)],_0x479022[_0x54a6fb(0x44d)]),this[_0x54a6fb(0x483)]([{'unitId':_0x123299['unitId'],'subUnitId':_0x123299['subUnitId'],'token':_0x5d55aa}]));}});});}[_0x37cf57(0x32a)](){const _0x3ca56f=_0x37cf57;this['_sheetsPivotDataSourceModel'][_0x3ca56f(0x2c4)]['subscribe'](_0x246691=>{const _0x554b49=_0x3ca56f,{unitId:_0x59a408,subUnitId:_0x337a51,pivotTableId:_0x59a911}=_0x246691;_0x59a408&&_0x337a51&&_0x59a911&&this[_0x554b49(0x483)]([{'unitId':_0x59a408,'subUnitId':_0x337a51,'token':_0x59a911}]);});}[_0x37cf57(0x483)](_0x36bd58){const _0x19199d=_0x37cf57,_0xc0ff46={};_0x36bd58['forEach'](_0x5dba36=>{var _0x561a26,_0x568e2e;const {unitId:_0x5376ce,subUnitId:_0x446ae3,token:_0x219e91}=_0x5dba36;_0xc0ff46[_0x5376ce]=(_0x561a26=_0xc0ff46[_0x5376ce])!=null?_0x561a26:{},_0xc0ff46[_0x5376ce][_0x446ae3]=(_0x568e2e=_0xc0ff46[_0x5376ce][_0x446ae3])!=null?_0x568e2e:{},_0xc0ff46[_0x5376ce][_0x446ae3][_0x219e91]=!0x0;}),this[_0x19199d(0x207)][_0x19199d(0x2ea)](_0x5598ba['id'],_0xc0ff46);}[_0x37cf57(0x390)](_0x3d4f7a,_0x10bc75,_0xdef630){const _0x1e4662=_0x37cf57;this[_0x1e4662(0x409)][_0x1e4662(0x2d7)](_0x3d4f7a,_0x10bc75,[_0xdef630]);}[_0x37cf57(0x368)](_0x2263b2,_0x55e836,_0x40dd2c){const _0x543a63=_0x37cf57,{unitId:_0x44b31f,subUnitId:_0x48aa94}=_0x55e836;this[_0x543a63(0x409)][_0x543a63(0x3f9)](_0x40dd2c[_0x543a63(0x394)],_0x40dd2c[_0x543a63(0x2ef)],_0x2263b2)&&this[_0x543a63(0x390)](_0x44b31f,_0x48aa94,_0x2263b2);const _0x2a582e={'sheetId':_0x48aa94,..._0x55e836};this['_featureCalculationManagerService'][_0x543a63(0x1f3)](_0x40dd2c[_0x543a63(0x394)],_0x40dd2c[_0x543a63(0x2ef)],_0x2263b2,{'unitId':_0x40dd2c[_0x543a63(0x394)],'subUnitId':_0x40dd2c[_0x543a63(0x2ef)],'dependencyRanges':[_0x2a582e],'getDirtyData':(_0x4da788,_0x1b5bd7)=>{const _0x3aab1d=_0x543a63,_0x2376a0=this[_0x3aab1d(0x47a)],_0x33f38b=_0x2376a0['getTargetByPivotId'](_0x2263b2);if(!_0x33f38b)return _0x1602aa();const {unitId:_0x31c007,subUnitId:_0x1a395d}=_0x33f38b,_0x252e31=_0xba4b53(_0x4da788,_0x1b5bd7,_0x55e836);if(_0x252e31[_0x3aab1d(0x3fb)]>0x0){const _0x7c4751=_0x2376a0['getCollection'](_0x44b31f,_0x2263b2),_0x396888=_0x7c4751[_0x3aab1d(0x3ff)](),_0x2dcc26=this[_0x3aab1d(0x29d)](_0x55e836[_0x3aab1d(0x394)],_0x55e836[_0x3aab1d(0x2ef)],_0x1b5bd7),_0x5ab9f2={},_0x2e1f82=this[_0x3aab1d(0x47a)]['getDataFieldManager'](_0x31c007)['getAutoDisplayNameFunction']()||_0x31bb8d[_0x3aab1d(0x321)];for(const _0x283d9a of _0x252e31){const _0x4fa5f6=_0x283d9a-(_0x55e836[_0x3aab1d(0x349)][_0x3aab1d(0x40c)]||0x0),_0x1839e1=_0x396888[_0x4fa5f6];_0x5ab9f2[_0x1839e1]=_0x7c4751[_0x3aab1d(0x3ae)](_0x1839e1)[_0x3aab1d(0x496)](),_0x2376a0['getDataFieldManager'](_0x44b31f)[_0x3aab1d(0x22d)](_0x1839e1,_0x55e836,_0x4fa5f6,_0x2dcc26);}_0x7c4751[_0x3aab1d(0x2a3)]();const _0x4d9917=_0x2376a0[_0x3aab1d(0x256)](_0x2263b2);if(_0x4d9917){_0x424c77(_0x4d9917,_0x5ab9f2,_0x2e1f82),_0x4d9917['setDirty'](!0x0);const _0x46e8ad=_0x4d9917[_0x3aab1d(0x3d7)](),_0x326c83=_0x2376a0['getPivotTableConfig'](_0x31c007,_0x1a395d,_0x2263b2),_0x329002=_0x2376a0['getDataFieldManager'](_0x44b31f)[_0x3aab1d(0x3d4)]();_0x2376a0[_0x3aab1d(0x49a)](_0x31c007,_0x1a395d,_0x26022f[_0x3aab1d(0x223)],_0x2263b2,_0x46e8ad,_0x326c83,_0x329002,!0x0);}}return this[_0x3aab1d(0x338)](_0x31c007,_0x1a395d,_0x2263b2);}});}[_0x37cf57(0x29d)](_0x54d008,_0x2c2844,_0x15b9dd){var _0x5e5b00,_0x396334;const {arrayFormulaCellData:_0x4e4e9e,unitData:_0x9cc30c}=_0x15b9dd,_0x14a0b6=(_0x5e5b00=_0x4e4e9e==null?void 0x0:_0x4e4e9e[_0x54d008])==null?void 0x0:_0x5e5b00[_0x2c2844],_0x557c5c=(_0x396334=_0x9cc30c==null?void 0x0:_0x9cc30c[_0x54d008])==null?void 0x0:_0x396334[_0x2c2844];return{'arrayFormulaCellDataMatrix':_0x14a0b6,'unitDataMatrix':_0x557c5c};}[_0x37cf57(0x338)](_0x363c38,_0x6faa18,_0x1f872b){const _0x40a715=_0x37cf57,_0x5af50e=this[_0x40a715(0x47a)]['getViewData'](_0x363c38,_0x6faa18,_0x1f872b),_0x329fc4=[],_0x53c75e=new _0x3c4cb4[(_0x40a715(0x39c))]();if(_0x5af50e){const {rangeCache:_0x2ad270,matrix:_0x5c5690,oldRangeCache:_0x458e79,oldMatrix:_0x1453a}=_0x5af50e,_0x5aada3=_0x14101a(_0x458e79),_0x38e13e=_0x14101a(_0x2ad270);_0x329fc4['push'](..._0x38e13e,..._0x5aada3),_0x1453a&&_0x458e79&&_0x5aada3[_0x40a715(0x340)](_0x560cbb=>{const _0x4bf53e=_0x40a715;for(let _0x4104c8=_0x560cbb[_0x4bf53e(0x421)];_0x4104c8<=_0x560cbb['endRow'];_0x4104c8++)for(let _0x483d5e=_0x560cbb[_0x4bf53e(0x40c)];_0x483d5e<=_0x560cbb[_0x4bf53e(0x37d)];_0x483d5e++)_0x53c75e[_0x4bf53e(0x30b)](_0x4104c8,_0x483d5e);}),_0x5c5690&&_0x38e13e&&_0x38e13e[_0x40a715(0x340)](_0x544dea=>{const _0x5ae19f=_0x40a715;for(let _0x591675=_0x544dea[_0x5ae19f(0x421)];_0x591675<=_0x544dea[_0x5ae19f(0x46e)];_0x591675++)for(let _0x41cc7d=_0x544dea[_0x5ae19f(0x40c)];_0x41cc7d<=_0x544dea[_0x5ae19f(0x37d)];_0x41cc7d++)_0x53c75e['setValue'](_0x591675,_0x41cc7d,_0x5c5690[_0x5ae19f(0x225)](_0x591675,_0x41cc7d));});}const _0x2384f2={};return _0x2384f2[_0x363c38]={[_0x6faa18]:_0x2180f8(_0x329fc4)},{'runtimeCellData':{[_0x363c38]:{[_0x6faa18]:_0x53c75e}},'dirtyRanges':_0x2384f2};}[_0x37cf57(0x3fa)](){}};_0x4d782a=_0xb951e2([_0x537392(0x0,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249[_0x37cf57(0x265)])),_0x537392(0x1,_0x3c4cb4['IConfigService']),_0x537392(0x2,_0x3c4cb4[_0x37cf57(0x37f)](_0x420edd[_0x37cf57(0x29e)])),_0x537392(0x3,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x31a)])),_0x537392(0x4,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x1e7)]))],_0x4d782a);var _0x4592f3=Object['defineProperty'],_0x3e38d4=Object[_0x37cf57(0x43f)],_0x29ddb1=(_0x3ca2ec,_0x517133,_0x2e4d9e,_0x577185)=>{const _0x2fe8d5=_0x37cf57;for(var _0x5893c5=_0x577185>0x1?void 0x0:_0x577185?_0x3e38d4(_0x517133,_0x2e4d9e):_0x517133,_0x3176f1=_0x3ca2ec[_0x2fe8d5(0x3fb)]-0x1,_0x50fd64;_0x3176f1>=0x0;_0x3176f1--)(_0x50fd64=_0x3ca2ec[_0x3176f1])&&(_0x5893c5=(_0x577185?_0x50fd64(_0x517133,_0x2e4d9e,_0x5893c5):_0x50fd64(_0x5893c5))||_0x5893c5);return _0x577185&&_0x5893c5&&_0x4592f3(_0x517133,_0x2e4d9e,_0x5893c5),_0x5893c5;},_0x5d93a3=(_0x4b55ca,_0x5d81d5)=>(_0x5a2e13,_0x162588)=>_0x5d81d5(_0x5a2e13,_0x162588,_0x4b55ca);let _0x43cfad=class extends _0x3c4cb4['Disposable']{constructor(_0x1c40c2,_0x273605,_0x4495f5,_0x45e396){const _0xb049a=_0x37cf57;super(),_0x2674dc(this,'disposableCollection',new _0x3c4cb4['DisposableCollection']()),(this['_univerInstanceService']=_0x1c40c2,this[_0xb049a(0x4a2)]=_0x273605,this[_0xb049a(0x48d)]=_0x4495f5,this['_sheetsPivotTableConfigModel']=_0x45e396,this[_0xb049a(0x411)]());}[_0x37cf57(0x411)](){const _0x490191=_0x37cf57;this[_0x490191(0x294)](this[_0x490191(0x4a2)][_0x490191(0x1ff)]({'getMutations':_0x4c5378=>{const _0x59b7af=_0x490191;if(_0x4c5378['id']===_0x2bdc55[_0x59b7af(0x3b1)]['id']||_0x4c5378['id']===_0x2bdc55[_0x59b7af(0x38f)]['id']){const _0x183620=[],_0x44cabc=[],_0x516d21=this[_0x59b7af(0x48d)][_0x59b7af(0x234)]()['map'](_0x235409=>_0x235409[_0x59b7af(0x349)]),_0x291cd9=_0x2bdc55[_0x59b7af(0x2a1)](this[_0x59b7af(0x40d)]);if(!_0x291cd9)return{'redos':[],'undos':[]};const {unitId:_0x222ef7,subUnitId:_0xcc2028}=_0x291cd9,_0x5af8ea={},_0x353619=this['_sheetsPivotTableConfigModel'][_0x59b7af(0x423)](_0x222ef7,_0xcc2028);if(_0x353619!=null&&_0x353619[_0x59b7af(0x21c)])for(const [_0x2250f6,_0x5917e4]of _0x353619){const {unitId:_0x2fcb39,subUnitId:_0x33b505,row:_0x36dcef,col:_0x2fecd0}=_0x5917e4[_0x59b7af(0x44d)];_0x2fcb39===_0x291cd9[_0x59b7af(0x394)]&&_0x33b505===_0x291cd9[_0x59b7af(0x2ef)]&&(_0x5af8ea[_0x36dcef+'-'+_0x2fecd0]=_0x2250f6);}return _0x516d21&&_0x291cd9&&_0x516d21[_0x59b7af(0x340)](_0x2ea238=>{const _0x471912=_0x59b7af;_0x3c4cb4[_0x471912(0x301)][_0x471912(0x381)](_0x2ea238,(_0x17a192,_0x5602b6)=>{const _0x22832c=_0x471912,_0x5d28cc=_0x17a192+'-'+_0x5602b6;if(_0x5af8ea[_0x5d28cc]){const _0x39aabe=_0x5af8ea[_0x5d28cc];_0x183620['push']({'id':_0x5cd4e5['id'],'params':{'unitId':_0x222ef7,'subUnitId':_0xcc2028,'pivotTableId':_0x39aabe}});const _0x24f043=this[_0x22832c(0x455)][_0x22832c(0x378)](_0x222ef7,_0x39aabe),_0x434e46=this['_sheetsPivotTableConfigModel'][_0x22832c(0x3f0)](_0x222ef7,_0xcc2028,_0x39aabe);_0x44cabc['push']({'id':_0x46c408['id'],'params':{'unitId':_0x222ef7,'subUnitId':_0xcc2028,'pivotTableId':_0x39aabe,'pivotTableConfig':_0x434e46,'collectionConfig':_0x24f043}});}});}),{'redos':_0x183620,'undos':_0x44cabc};}return{'redos':[],'undos':[]};}}));}};_0x43cfad=_0x29ddb1([_0x5d93a3(0x0,_0x3c4cb4[_0x37cf57(0x444)]),_0x5d93a3(0x1,_0x3c4cb4[_0x37cf57(0x37f)](_0x2bdc55[_0x37cf57(0x30a)])),_0x5d93a3(0x2,_0x3c4cb4['Inject'](_0x2bdc55[_0x37cf57(0x28b)])),_0x5d93a3(0x3,_0x3c4cb4['Inject'](_0x31f249['SheetsPivotTableConfigModel']))],_0x43cfad);var _0x5d7386=Object[_0x37cf57(0x45a)],_0x537afe=Object[_0x37cf57(0x43f)],_0x42da5a=(_0x2a9575,_0x3965fd,_0x92c41f,_0x295dd9)=>{const _0x4d2a1a=_0x37cf57;for(var _0x50244a=_0x295dd9>0x1?void 0x0:_0x295dd9?_0x537afe(_0x3965fd,_0x92c41f):_0x3965fd,_0x57cf06=_0x2a9575[_0x4d2a1a(0x3fb)]-0x1,_0x2ad84c;_0x57cf06>=0x0;_0x57cf06--)(_0x2ad84c=_0x2a9575[_0x57cf06])&&(_0x50244a=(_0x295dd9?_0x2ad84c(_0x3965fd,_0x92c41f,_0x50244a):_0x2ad84c(_0x50244a))||_0x50244a);return _0x295dd9&&_0x50244a&&_0x5d7386(_0x3965fd,_0x92c41f,_0x50244a),_0x50244a;},_0x27073a=(_0x66095,_0x5dda46)=>(_0x1fc25b,_0x5b12c2)=>_0x5dda46(_0x1fc25b,_0x5b12c2,_0x66095);let _0x236961=class extends _0x3c4cb4['Disposable']{constructor(_0xa073c2,_0x1cd2f5,_0x34f358,_0x5575b2,_0x1199fc,_0x38c6eb){const _0x1ae6d7=_0x37cf57;super(),this[_0x1ae6d7(0x2ca)]=_0xa073c2,this[_0x1ae6d7(0x4a2)]=_0x1cd2f5,this[_0x1ae6d7(0x431)]=_0x34f358,this['_univerInstanceService']=_0x5575b2,this[_0x1ae6d7(0x455)]=_0x1199fc,this['_sheetsPivotTableService']=_0x38c6eb,this[_0x1ae6d7(0x28c)]();}['_getPivotAppliedRanges'](_0x3d4daf,_0x40dfaf,_0x564c44){const _0x165954=_0x37cf57,{pageView:_0x5f1891,cornerView:_0x5b2409,rowView:_0x811e9e,colView:_0x110d07,dataView:_0x3c49a6}=_0x40dfaf,_0x11da69=_0x3d4daf;let _0x4ffe51;if(_0x564c44)_0x4ffe51=[..._0x35b3c9(_0x11da69)];else{const _0x60268f=_0x16fcbe(_0x11da69,_0x5f1891,!0x0),_0x4224a9=_0x5f1891[_0x165954(0x205)]>=0x0?_0x5f1891['lastRow']+0x1:0x0,_0xe5c431=_0x5b2409[_0x165954(0x2b0)],_0x3ac985=_0x5b2409[_0x165954(0x2ae)],_0x213a24=_0x60268f[_0x165954(0x3fb)]>0x0?_0x333bcd:0x0,_0x5ad5b5=_0x16fcbe({'row':_0x11da69['row']+_0x4224a9+_0x213a24,'col':_0x11da69['col']},_0x5b2409,!0x1,!0x1),_0x58dec2=_0x16fcbe({'row':_0x11da69[_0x165954(0x37e)]+_0x4224a9+_0x213a24+_0xe5c431,'col':_0x11da69[_0x165954(0x1fa)]},_0x811e9e,!0x1,!0x0),_0x562338=_0x16fcbe({'row':_0x11da69[_0x165954(0x37e)]+_0x4224a9+_0x213a24,'col':_0x11da69[_0x165954(0x1fa)]+_0x3ac985},_0x110d07,!0x1,!0x0),_0x20eff7=_0x16fcbe({'row':_0x11da69[_0x165954(0x37e)]+_0x4224a9+_0x213a24+_0xe5c431,'col':_0x11da69[_0x165954(0x1fa)]+_0x3ac985},_0x3c49a6,!0x1,!0x0);_0x4ffe51=[..._0x60268f,..._0x5ad5b5,..._0x58dec2,..._0x562338,..._0x20eff7];}return _0x4ffe51;}['_initCommandInterceptListener'](){const _0x383e76=_0x37cf57;this[_0x383e76(0x294)](this[_0x383e76(0x22e)]['interceptor']['intercept'](this['_sheetsPivotTableService'][_0x383e76(0x1f8)][_0x383e76(0x216)]()[_0x383e76(0x473)],{'handler':(_0x59b0d3,_0x25b81b)=>{const _0xe26ec1=_0x383e76,{cellInfo:_0x331118,view:_0x3538a2,isEmpty:_0x35435f}=_0x25b81b,_0x5b6d6c=_0x331118,{unitId:_0x5536b2,subUnitId:_0x38d8ae}=_0x5b6d6c,_0x5a1094=this['_getPivotAppliedRanges'](_0x331118,_0x3538a2,_0x35435f),_0x396a5b=this['_sheetInterceptorService'][_0xe26ec1(0x27e)]({'unitId':_0x5536b2,'subUnitId':_0x38d8ae,'ranges':_0x5a1094}),_0x2955df=_0x36cea3(this[_0xe26ec1(0x431)],_0x5536b2,_0x38d8ae,_0x5a1094);_0x2955df[_0xe26ec1(0x441)]&&(_0x396a5b['redos'][_0xe26ec1(0x1eb)](_0x2955df['setRangeValueRedoMutation']),_0x396a5b[_0xe26ec1(0x41c)]['push'](_0x2955df[_0xe26ec1(0x237)]));const _0x37147a=this['getAutoFitColumnsMutations'](_0x3538a2,_0x331118);return _0x396a5b[_0xe26ec1(0x21d)][_0xe26ec1(0x1eb)](..._0x37147a[_0xe26ec1(0x21d)]),_0x396a5b[_0xe26ec1(0x41c)]['push'](..._0x37147a[_0xe26ec1(0x41c)]),{'redos':_0x396a5b['redos'],'undos':_0x396a5b[_0xe26ec1(0x41c)]};}}));}[_0x37cf57(0x2d2)](_0x3f5226,_0x58b68a){const _0x5f0296=_0x37cf57,{col:_0x42221f,unitId:_0xd7d3af,subUnitId:_0x56ff58}=_0x58b68a,_0x4c4b4e=[],_0x3c5e68=[],_0x2cbcda=_0x2bdc55['getSheetCommandTarget'](this[_0x5f0296(0x40d)],{'unitId':_0xd7d3af,'subUnitId':_0x56ff58});if(!_0x58b68a||!_0x3f5226||!_0x2cbcda)return{'undos':_0x3c5e68,'redos':_0x4c4b4e};const _0x4ff32a=this[_0x5f0296(0x455)]['getTextInfo'](),{colView:_0x537ab0,dataView:_0x11f936,cornerView:_0x294be4,rowView:_0x3b0161,formatMap:_0x2783cf}=_0x3f5226,_0x526d4f=_0x293ccf(_0x537ab0,_0x4ff32a,!0x0,_0x2783cf),_0x3942d=_0x293ccf(_0x3b0161,_0x4ff32a,!0x1,_0x2783cf),_0x1439d2=_0x1aaeaf(_0x11f936),_0x29a246=_0x3fa68e(_0x294be4),{worksheet:_0x167fdf}=_0x2cbcda;if(typeof window<'u'&&window[_0x5f0296(0x22c)]){const _0x23805a=_0x81333d[_0x5f0296(0x445)]({..._0x16a3fd[_0x5f0296(0x46b)]}),_0x1b97a5=_0x81333d[_0x5f0296(0x285)][_0x5f0296(0x32b)](_0x526d4f,_0x23805a)[_0x5f0296(0x326)]+0x10,_0x39a56b=_0x81333d['FontCache'][_0x5f0296(0x32b)](_0x1439d2,_0x23805a)[_0x5f0296(0x326)],_0x146a99=Math[_0x5f0296(0x433)](Math[_0x5f0296(0x462)](_0x1b97a5,_0x39a56b))+0x10,_0x2d3fe7=Math[_0x5f0296(0x433)](_0x81333d[_0x5f0296(0x285)][_0x5f0296(0x32b)](_0x3942d,_0x23805a)[_0x5f0296(0x326)]),_0x32ec55=Math[_0x5f0296(0x433)](_0x81333d['FontCache'][_0x5f0296(0x32b)](_0x29a246,_0x23805a)[_0x5f0296(0x326)]),_0x19a295=Math[_0x5f0296(0x462)](_0x2d3fe7,_0x32ec55,0x28)+0xc,_0x38f5e7=_0x537ab0[_0x5f0296(0x2ae)]+_0x294be4['colCount'],_0x53ae3b={},_0x58ee11={};for(let _0x4d7945=_0x42221f;_0x4d7945<_0x42221f+_0x38f5e7;_0x4d7945++){const _0x5a34cb=_0x167fdf[_0x5f0296(0x26f)](_0x4d7945);_0x53ae3b[_0x4d7945]=_0x5a34cb,_0x4d7945-_0x42221f<_0x294be4['colCount']?_0x58ee11[_0x4d7945-_0x42221f]=_0x19a295:_0x58ee11[_0x4d7945-_0x42221f]=_0x146a99;}_0x4c4b4e[_0x5f0296(0x1eb)]({'id':_0x2bdc55[_0x5f0296(0x244)]['id'],'params':{'subUnitId':_0x56ff58,'unitId':_0xd7d3af,'ranges':[{'startColumn':_0x42221f,'endColumn':_0x42221f+_0x38f5e7-0x1,'startRow':0x0,'endRow':_0x167fdf[_0x5f0296(0x348)]()-0x1}],'colWidth':_0x58ee11}}),_0x3c5e68['push']({'id':_0x2bdc55['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x56ff58,'unitId':_0xd7d3af,'ranges':[{'startColumn':_0x42221f,'endColumn':_0x42221f+_0x38f5e7-0x1,'startRow':0x0,'endRow':_0x167fdf[_0x5f0296(0x348)]()-0x1}],'colWidth':_0x53ae3b}});}return{'undos':_0x3c5e68,'redos':_0x4c4b4e};}};_0x236961=_0x42da5a([_0x27073a(0x0,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x430)])),_0x27073a(0x1,_0x3c4cb4['Inject'](_0x2bdc55[_0x37cf57(0x30a)])),_0x27073a(0x2,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x1e7)])),_0x27073a(0x3,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x444)])),_0x27073a(0x4,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249[_0x37cf57(0x44e)])),_0x27073a(0x5,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249[_0x37cf57(0x203)]))],_0x236961);var _0x40447c=Object['defineProperty'],_0x30bfc1=Object[_0x37cf57(0x43f)],_0x44fce2=(_0x3a6b55,_0x340577,_0x56b13f,_0x4f0ae0)=>{const _0x324e07=_0x37cf57;for(var _0x15b0da=_0x4f0ae0>0x1?void 0x0:_0x4f0ae0?_0x30bfc1(_0x340577,_0x56b13f):_0x340577,_0x23aeb6=_0x3a6b55[_0x324e07(0x3fb)]-0x1,_0x2af867;_0x23aeb6>=0x0;_0x23aeb6--)(_0x2af867=_0x3a6b55[_0x23aeb6])&&(_0x15b0da=(_0x4f0ae0?_0x2af867(_0x340577,_0x56b13f,_0x15b0da):_0x2af867(_0x15b0da))||_0x15b0da);return _0x4f0ae0&&_0x15b0da&&_0x40447c(_0x340577,_0x56b13f,_0x15b0da),_0x15b0da;},_0x5e2ed1=(_0x3be9b2,_0x77d90c)=>(_0x21c25a,_0xc8b8f2)=>_0x77d90c(_0x21c25a,_0xc8b8f2,_0x3be9b2);let _0x445041=class extends _0x3c4cb4[_0x37cf57(0x427)]{constructor(_0x3b0d2f,_0x134c03,_0x1e702b,_0x5e8520,_0x19771f,_0x290739,_0x4010f6){const _0x14ae30=_0x37cf57;super(),_0x2674dc(this,_0x14ae30(0x3be),new _0x3c4cb4[(_0x14ae30(0x306))]()),(this[_0x14ae30(0x431)]=_0x3b0d2f,this[_0x14ae30(0x305)]=_0x134c03,this[_0x14ae30(0x207)]=_0x1e702b,this['_univerInstanceService']=_0x5e8520,this['_sheetsPivotTableConfigModel']=_0x19771f,this[_0x14ae30(0x20a)]=_0x290739,this['_sheetInterceptorService']=_0x4010f6,this[_0x14ae30(0x361)]());}['_onRefRangeChange'](){const _0x402f1c=_0x37cf57,_0x21e6e0=(_0x8f38b7,_0x5414df)=>{const _0x51e13a=_0x554e,_0x877f30=this[_0x51e13a(0x40d)]['getCurrentUnitForType'](_0x3c4cb4[_0x51e13a(0x465)][_0x51e13a(0x1f1)]);if(!_0x877f30||!(_0x877f30==null?void 0x0:_0x877f30['getSheetBySheetId'](_0x5414df)))return;this[_0x51e13a(0x3be)][_0x51e13a(0x3fa)]();const _0x184481=_0x3ae033=>this[_0x51e13a(0x1f7)](_0x3ae033,_0x8f38b7,_0x5414df),_0x5a8450=this['_sheetsPivotTableConfigModel'][_0x51e13a(0x423)](_0x8f38b7,_0x5414df);if(!(_0x5a8450!=null&&_0x5a8450[_0x51e13a(0x21c)]))return;Array[_0x51e13a(0x283)](_0x5a8450[_0x51e13a(0x2ff)]())[_0x51e13a(0x3a4)](_0xca92e9=>{const _0x1cae94=_0x51e13a,{row:_0x3103d5,col:_0x38f9a9}=_0xca92e9['targetCellInfo'];return _0x3c4cb4[_0x1cae94(0x364)](_0x3103d5,_0x38f9a9);})[_0x51e13a(0x340)](_0x84e784=>{const _0x44b00b=_0x51e13a;this[_0x44b00b(0x3be)][_0x44b00b(0x3a3)](this['_refRangeService']['registerRefRange'](_0x84e784,_0x184481,_0x8f38b7,_0x5414df));});},_0x506a4e=()=>{const _0x574cd8=_0x554e,_0x1312d1=this[_0x574cd8(0x40d)]['getCurrentUnitForType'](_0x3c4cb4[_0x574cd8(0x465)]['UNIVER_SHEET']);if(_0x1312d1){const _0x2e955b=_0x1312d1[_0x574cd8(0x21b)]();if(!_0x2e955b)return;_0x21e6e0(_0x1312d1['getUnitId'](),_0x2e955b[_0x574cd8(0x319)]());}};this['disposeWithMe'](this['_commandService'][_0x402f1c(0x3e9)](_0x3a252b=>{const _0x44bb34=_0x402f1c;if(_0x3a252b['id']===_0x2bdc55[_0x44bb34(0x384)]['id']){const _0x10e6bb=_0x3a252b[_0x44bb34(0x304)],_0x37353d=_0x10e6bb[_0x44bb34(0x2ef)],_0x32146e=_0x10e6bb[_0x44bb34(0x394)];if(!_0x37353d||!_0x32146e)return;_0x21e6e0(_0x32146e,_0x37353d);}})),this[_0x402f1c(0x294)](this[_0x402f1c(0x455)][_0x402f1c(0x461)][_0x402f1c(0x49b)](_0x18daad=>{_0x18daad&&_0x506a4e();})),this['disposeWithMe'](this[_0x402f1c(0x455)]['pivotConfigChange$']['subscribe'](_0x1b5575=>{const _0x2d1e02=_0x2bdc55['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x2d1e02)return;const {unitId:_0x11a11e,subUnitId:_0x2d7122}=_0x2d1e02,{unitId:_0x34ed3c,subUnitId:_0x557e12}=_0x1b5575;_0x11a11e!==_0x34ed3c||_0x2d7122!==_0x557e12||_0x21e6e0(_0x11a11e,_0x2d7122);})),_0x506a4e();}['_refRangeHandle'](_0x43bb72,_0xea177c,_0x2de118){const _0x38b7a4=_0x37cf57;switch(_0x43bb72['id']){case _0x2bdc55['MoveRangeCommand']['id']:return this[_0x38b7a4(0x472)](_0x43bb72[_0x38b7a4(0x304)],_0xea177c,_0x2de118);}return{'redos':[],'undos':[]};}[_0x37cf57(0x472)](_0x49e711,_0xe8e8a3,_0x118e55){const _0x5376e5=_0x37cf57,{fromRange:_0x12e6e6,toRange:_0x5daa50}=_0x49e711,_0x4ccb4e=[],_0x4cfeb6=[],_0x21b838=_0x2bdc55[_0x5376e5(0x2a1)](this[_0x5376e5(0x40d)]);if(!_0x21b838)return{'undos':_0x4cfeb6,'redos':_0x4ccb4e};if(_0xe8e8a3!==_0x21b838[_0x5376e5(0x394)]||_0x118e55!==_0x21b838[_0x5376e5(0x2ef)])return{'undos':_0x4cfeb6,'redos':_0x4ccb4e};const _0x149ebd=this[_0x5376e5(0x455)][_0x5376e5(0x423)](_0xe8e8a3,_0x118e55);if(_0x149ebd!=null&&_0x149ebd[_0x5376e5(0x21c)])for(const [_0x1eaae7,_0x5b0d67]of _0x149ebd){const {unitId:_0x30c103,subUnitId:_0x16de7c,row:_0x356310,col:_0x19eb3c}=_0x5b0d67[_0x5376e5(0x44d)];if(_0x30c103===_0x21b838[_0x5376e5(0x394)]&&_0x16de7c===_0x21b838[_0x5376e5(0x2ef)]){const _0x340bac=_0x3c4cb4[_0x5376e5(0x364)](_0x356310,_0x19eb3c);if(_0x3c4cb4['Rectangle'][_0x5376e5(0x343)](_0x340bac,_0x12e6e6)){const _0x3a42b1=_0x356310-_0x12e6e6[_0x5376e5(0x421)],_0x537cd8=_0x19eb3c-_0x12e6e6[_0x5376e5(0x40c)],_0x454e68={'row':_0x5daa50['startRow']+_0x3a42b1,'col':_0x5daa50['startColumn']+_0x537cd8};_0x4ccb4e[_0x5376e5(0x1eb)]({'id':_0x4c38a5['id'],'params':{'unitId':_0x30c103,'subUnitId':_0x16de7c,'pivotTableId':_0x1eaae7,'targetCellPosition':_0x454e68}}),_0x4cfeb6[_0x5376e5(0x1eb)]({'id':_0x4c38a5['id'],'params':{'unitId':_0x30c103,'subUnitId':_0x16de7c,'pivotTableId':_0x1eaae7,'targetCellPosition':{'row':_0x356310,'col':_0x19eb3c}}});const _0x1bce17=_0x454e68[_0x5376e5(0x37e)]-_0x356310,_0x501655=_0x454e68[_0x5376e5(0x1fa)]-_0x19eb3c,_0x516b82=[],_0x1acccd=this[_0x5376e5(0x20a)][_0x5376e5(0x21a)](_0x30c103,_0x16de7c,_0x1eaae7),_0x14bf51=_0x1acccd==null?void 0x0:_0x1acccd[_0x5376e5(0x3cf)];if(_0x14bf51){Object['keys'](_0x14bf51)[_0x5376e5(0x340)](_0xc19d70=>{_0x14bf51[_0xc19d70]['forEach'](_0x3a821c=>{const _0x465758=_0x554e,_0x59e24d={..._0x3a821c};_0x59e24d[_0x465758(0x421)]=_0x3a821c[_0x465758(0x421)]+_0x1bce17,_0x59e24d[_0x465758(0x46e)]=_0x3a821c[_0x465758(0x46e)]+_0x1bce17,_0x59e24d[_0x465758(0x40c)]=_0x3a821c[_0x465758(0x40c)]+_0x501655,_0x59e24d['endColumn']=_0x3a821c[_0x465758(0x37d)]+_0x501655,_0x516b82[_0x465758(0x1eb)](_0x59e24d);});});const _0x5e92b6=this['_sheetInterceptorService'][_0x5376e5(0x27e)]({'unitId':_0x30c103,'subUnitId':_0x16de7c,'ranges':_0x516b82});_0x4ccb4e[_0x5376e5(0x1eb)](..._0x5e92b6[_0x5376e5(0x21d)]),_0x4cfeb6[_0x5376e5(0x1eb)](..._0x5e92b6[_0x5376e5(0x41c)]);const _0x2ad58e=_0x36cea3(this[_0x5376e5(0x431)],_0x30c103,_0x16de7c,_0x516b82);_0x2ad58e[_0x5376e5(0x441)]&&(_0x4ccb4e[_0x5376e5(0x1eb)](_0x2ad58e['setRangeValueRedoMutation']),_0x4cfeb6['push'](_0x2ad58e[_0x5376e5(0x237)]));}}}}return{'redos':_0x4ccb4e,'undos':_0x4cfeb6};}};_0x445041=_0x44fce2([_0x5e2ed1(0x0,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4['Injector'])),_0x5e2ed1(0x1,_0x3c4cb4[_0x37cf57(0x37f)](_0x2bdc55[_0x37cf57(0x257)])),_0x5e2ed1(0x2,_0x3c4cb4[_0x37cf57(0x31a)]),_0x5e2ed1(0x3,_0x3c4cb4[_0x37cf57(0x444)]),_0x5e2ed1(0x4,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249[_0x37cf57(0x44e)])),_0x5e2ed1(0x5,_0x3c4cb4['Inject'](_0x31f249[_0x37cf57(0x41a)])),_0x5e2ed1(0x6,_0x3c4cb4[_0x37cf57(0x37f)](_0x2bdc55['SheetInterceptorService']))],_0x445041);var _0x10225e=Object[_0x37cf57(0x45a)],_0x64c08f=Object['getOwnPropertyDescriptor'],_0x59f7d9=(_0x4a2f00,_0x2334ea,_0x7b3566,_0x4dcfbe)=>{const _0x40d871=_0x37cf57;for(var _0x1cdc14=_0x4dcfbe>0x1?void 0x0:_0x4dcfbe?_0x64c08f(_0x2334ea,_0x7b3566):_0x2334ea,_0x140015=_0x4a2f00[_0x40d871(0x3fb)]-0x1,_0x17eb6f;_0x140015>=0x0;_0x140015--)(_0x17eb6f=_0x4a2f00[_0x140015])&&(_0x1cdc14=(_0x4dcfbe?_0x17eb6f(_0x2334ea,_0x7b3566,_0x1cdc14):_0x17eb6f(_0x1cdc14))||_0x1cdc14);return _0x4dcfbe&&_0x1cdc14&&_0x10225e(_0x2334ea,_0x7b3566,_0x1cdc14),_0x1cdc14;},_0x6149c4=(_0x4f3624,_0x2090b4)=>(_0x51a332,_0x1f9e51)=>_0x2090b4(_0x51a332,_0x1f9e51,_0x4f3624);let _0x52642f=class extends _0x3c4cb4[_0x37cf57(0x427)]{constructor(_0x124a20,_0x20c1fa){const _0x371cfa=_0x37cf57;super(),this[_0x371cfa(0x4a2)]=_0x124a20,this['_sheetsPivotTableConfigModel']=_0x20c1fa,this['_initRemoveSheetCommandInterceptor']();}['_initRemoveSheetCommandInterceptor'](){const _0x6d5f11=_0x37cf57;this['disposeWithMe'](this[_0x6d5f11(0x4a2)][_0x6d5f11(0x1ff)]({'getMutations':_0x4d3290=>{const _0x393d3b=_0x6d5f11;if(_0x4d3290['id']===_0x2bdc55[_0x393d3b(0x202)]['id']){const _0x5c4d98=[],_0x453dcc=[],_0x3bb141=_0x4d3290[_0x393d3b(0x304)],{unitId:_0x429e95,subUnitId:_0x3d7ac0}=_0x3bb141;if(!_0x429e95||!_0x3d7ac0)return{'undos':_0x453dcc,'redos':_0x5c4d98};const _0x5bfeef=this[_0x393d3b(0x455)][_0x393d3b(0x423)](_0x429e95,_0x3d7ac0);if(_0x5bfeef!=null&&_0x5bfeef[_0x393d3b(0x21c)])for(const [_0x42474b,_0xc82c43]of _0x5bfeef){_0x5c4d98[_0x393d3b(0x1eb)]({'id':_0x5cd4e5['id'],'params':{'unitId':_0x429e95,'subUnitId':_0x3d7ac0,'pivotTableId':_0x42474b}});const _0x3dbe44={...this['_sheetsPivotTableConfigModel'][_0x393d3b(0x378)](_0x429e95,_0x42474b)};_0x453dcc[_0x393d3b(0x1eb)]({'id':_0x46c408['id'],'params':{'unitId':_0x429e95,'subUnitId':_0x3d7ac0,'pivotTableId':_0x42474b,'pivotTableConfig':_0xc82c43,'collectionConfig':_0x3dbe44}});}return{'redos':_0x5c4d98,'undos':_0x453dcc};}return{'redos':[],'undos':[]};}}));}};_0x52642f=_0x59f7d9([_0x6149c4(0x0,_0x3c4cb4['Inject'](_0x2bdc55[_0x37cf57(0x30a)])),_0x6149c4(0x1,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249[_0x37cf57(0x44e)]))],_0x52642f);var _0x1b7777=Object['defineProperty'],_0x10a328=Object['getOwnPropertyDescriptor'],_0x3b4473=(_0x2857dc,_0x5a44bb,_0x247c01,_0x3f483d)=>{const _0x102c55=_0x37cf57;for(var _0x5c6d9d=_0x3f483d>0x1?void 0x0:_0x3f483d?_0x10a328(_0x5a44bb,_0x247c01):_0x5a44bb,_0x18cf8b=_0x2857dc[_0x102c55(0x3fb)]-0x1,_0x160aad;_0x18cf8b>=0x0;_0x18cf8b--)(_0x160aad=_0x2857dc[_0x18cf8b])&&(_0x5c6d9d=(_0x3f483d?_0x160aad(_0x5a44bb,_0x247c01,_0x5c6d9d):_0x160aad(_0x5c6d9d))||_0x5c6d9d);return _0x3f483d&&_0x5c6d9d&&_0x1b7777(_0x5a44bb,_0x247c01,_0x5c6d9d),_0x5c6d9d;},_0x1b23f2=(_0x290d18,_0x464d11)=>(_0xb549bb,_0x4a7903)=>_0x464d11(_0xb549bb,_0x4a7903,_0x290d18);let _0x1a3ecf=class extends _0x3c4cb4[_0x37cf57(0x427)]{constructor(_0x50c855,_0x3d21d8,_0x5f342e,_0x3f6528,_0x5ddfd4,_0x30d563){const _0x1b1bb6=_0x37cf57;super(),this[_0x1b1bb6(0x207)]=_0x50c855,this[_0x1b1bb6(0x2c0)]=_0x3d21d8,this[_0x1b1bb6(0x20a)]=_0x5f342e,this[_0x1b1bb6(0x455)]=_0x3f6528,this[_0x1b1bb6(0x40d)]=_0x5ddfd4,this['_activeDirtyManagerService']=_0x30d563,this[_0x1b1bb6(0x31f)](),this[_0x1b1bb6(0x37a)]();}[_0x37cf57(0x31f)](){const _0x4e6ea6=_0x37cf57;this[_0x4e6ea6(0x294)](this[_0x4e6ea6(0x207)][_0x4e6ea6(0x3e9)](_0x4967aa=>{const _0x792bd1=_0x4e6ea6;if(_0x4967aa['id']!==_0x25b647['id'])return;const _0x2c7ce7=_0x4967aa['params'];this[_0x792bd1(0x2c0)][_0x792bd1(0x239)](_0x2c7ce7);})),this['disposeWithMe'](this['_commandService'][_0x4e6ea6(0x3e9)](_0x4b05d9=>{const _0x1fb933=_0x4e6ea6;if(_0x4b05d9['id']===_0x36fd59['id']){const _0x19f848=_0x4b05d9[_0x1fb933(0x304)];if(_0x19f848){const {unitId:_0x34b524,subUnitId:_0x5a79a3,oldSubUnitId:_0x3820f4,pivotTableId:_0x29f4d6,pivotTableConfig:_0x5e2998,collectionConfig:_0x2808c8}=_0x19f848;this[_0x1fb933(0x455)][_0x1fb933(0x20b)](_0x34b524,_0x3820f4,_0x19f848[_0x1fb933(0x485)],null),this[_0x1fb933(0x455)][_0x1fb933(0x20b)](_0x34b524,_0x5a79a3,_0x29f4d6,_0x5e2998),this[_0x1fb933(0x455)][_0x1fb933(0x2d6)](_0x34b524,_0x2808c8);}}})),this[_0x4e6ea6(0x294)](this[_0x4e6ea6(0x207)][_0x4e6ea6(0x3e9)](_0x549d3b=>{const _0x517160=_0x4e6ea6;if(_0x549d3b['id']!==_0x260e50['id'])return;const _0x2b7b14=_0x2bdc55['getSheetCommandTarget'](this[_0x517160(0x40d)]);if(!_0x2b7b14)return;const {unitId:_0x172250,subUnitId:_0x353e04}=_0x2b7b14,_0x3c79ad=_0x549d3b[_0x517160(0x304)];if(_0x3c79ad['collectionConfig']&&Object[_0x517160(0x2e2)](_0x3c79ad[_0x517160(0x392)])[_0x517160(0x340)](_0x3ad561=>{const _0x188b4f=_0x517160;var _0x5b6ac3;(_0x5b6ac3=_0x3c79ad['collectionConfig'])!=null&&_0x5b6ac3[_0x3ad561]&&this[_0x188b4f(0x455)][_0x188b4f(0x2d6)](_0x3ad561,_0x3c79ad[_0x188b4f(0x392)][_0x3ad561]);}),_0x3c79ad[_0x517160(0x34c)]){const _0x7647e3=_0x3c79ad[_0x517160(0x34c)],{unitId:_0xfb84d7,subUnitId:_0x407246,view:_0x3d02f5,pivotTableId:_0x5734df,type:_0x35eac2,pivotConfig:_0x54b931}=_0x7647e3;if(_0x35eac2===_0x26022f['Delete'])this['_sheetsPivotTableAdaptorModel'][_0x517160(0x47e)]({'unitId':_0xfb84d7,'subUnitId':_0x407246,'pivotTableId':_0x5734df,'type':_0x35eac2}),this['_sheetsPivotTableConfigModel'][_0x517160(0x20b)](_0xfb84d7,_0x407246,_0x5734df,null);else{const _0x3df6ed=new _0x31bb8d[(_0x517160(0x2a4))]();_0x3df6ed[_0x517160(0x380)](_0x3d02f5),this[_0x517160(0x455)][_0x517160(0x20b)](_0xfb84d7,_0x407246,_0x5734df,_0x54b931),this[_0x517160(0x20a)][_0x517160(0x47e)]({'unitId':_0xfb84d7,'subUnitId':_0x407246,'pivotTableId':_0x5734df,'type':_0x35eac2,'view':_0x3df6ed}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0xfb84d7,'subUnitId':_0x407246,'view':_0x3df6ed,'pivotTableId':_0x5734df,'type':_0x35eac2});}}else _0x3c79ad[_0x517160(0x30d)]&&(_0x3c79ad['batch']['forEach'](_0x341772=>{const _0x84f873=_0x517160,{unitId:_0x56500a,subUnitId:_0x386092,view:_0x1374f9,pivotTableId:_0x179c6b,type:_0x1e53f8,pivotConfig:_0x28c6cc}=_0x341772,_0x1c6d42=new _0x31bb8d[(_0x84f873(0x2a4))]();_0x1c6d42[_0x84f873(0x380)](_0x1374f9),this[_0x84f873(0x455)]['updateConfigCache'](_0x56500a,_0x386092,_0x179c6b,_0x28c6cc),this['_sheetsPivotTableAdaptorModel'][_0x84f873(0x481)]({'unitId':_0x56500a,'subUnitId':_0x386092,'view':_0x1c6d42,'pivotTableId':_0x179c6b,'type':_0x1e53f8});}),this['_sheetsPivotTableConfigModel'][_0x517160(0x35d)]());this['_sheetsPivotTableAdaptorModel'][_0x517160(0x395)](_0x172250,_0x353e04);}));}[_0x37cf57(0x37a)](){const _0x3a739c=_0x37cf57;this[_0x3a739c(0x387)]['register'](_0x5598ba['id'],{'commandId':_0x5598ba['id'],'getDirtyData'(_0x3ce7bd){const _0x134ef1=_0x3a739c;return{'dirtyUnitFeatureMap':_0x3ce7bd[_0x134ef1(0x304)]};}});}};_0x1a3ecf=_0x3b4473([_0x1b23f2(0x0,_0x3c4cb4['Inject'](_0x3c4cb4[_0x37cf57(0x31a)])),_0x1b23f2(0x1,_0x3c4cb4['Inject'](_0x31f249['SheetsPivotRPCService'])),_0x1b23f2(0x2,_0x3c4cb4['Inject'](_0x31f249[_0x37cf57(0x41a)])),_0x1b23f2(0x3,_0x3c4cb4[_0x37cf57(0x37f)](_0x31f249[_0x37cf57(0x44e)])),_0x1b23f2(0x4,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4['IUniverInstanceService'])),_0x1b23f2(0x5,_0x420edd['IActiveDirtyManagerService'])],_0x1a3ecf);var _0xa2295d=Object['defineProperty'],_0x1ebc29=Object[_0x37cf57(0x43f)],_0x32370c=(_0x17efce,_0x2b4882,_0x457470,_0x68ada0)=>{for(var _0x3693c3=_0x68ada0>0x1?void 0x0:_0x68ada0?_0x1ebc29(_0x2b4882,_0x457470):_0x2b4882,_0x3554f6=_0x17efce['length']-0x1,_0x59609f;_0x3554f6>=0x0;_0x3554f6--)(_0x59609f=_0x17efce[_0x3554f6])&&(_0x3693c3=(_0x68ada0?_0x59609f(_0x2b4882,_0x457470,_0x3693c3):_0x59609f(_0x3693c3))||_0x3693c3);return _0x68ada0&&_0x3693c3&&_0xa2295d(_0x2b4882,_0x457470,_0x3693c3),_0x3693c3;},_0x38ea41=(_0x9c80e7,_0x33c8b5)=>(_0x2908d8,_0x44e8ae)=>_0x33c8b5(_0x2908d8,_0x44e8ae,_0x9c80e7);_0x31f249[_0x37cf57(0x3c6)]=(_0xd96a56=class extends _0x3c4cb4['Plugin']{constructor(_0x26a0a3=_0x53a22c,_0x1a3164,_0x4910fb,_0x531247,_0x122e1d){const _0x400a30=_0x37cf57;super(),this[_0x400a30(0x45f)]=_0x26a0a3,this[_0x400a30(0x431)]=_0x1a3164,this[_0x400a30(0x207)]=_0x4910fb,this[_0x400a30(0x292)]=_0x531247,this['_dataSyncPrimaryController']=_0x122e1d;const {..._0x315dd9}=this[_0x400a30(0x45f)];this['_configService'][_0x400a30(0x215)](_0x1442b4,_0x315dd9),this[_0x400a30(0x449)](),this['_initConfig'](),this['_initTimeValid']();}[_0x37cf57(0x3c2)](){const _0x4bf324=_0x37cf57;var _0x5b0fef;const _0x3e4d3e=(_0x5b0fef=this[_0x4bf324(0x45f)])==null?void 0x0:_0x5b0fef[_0x4bf324(0x25c)];this['_configService']['setConfig'](_0x42d250,_0x3e4d3e===!0x0);}[_0x37cf57(0x42a)](){const _0x14adf1=_0x37cf57;var _0x4c623f;let _0x5480c6=[];const _0x3da6e5=(_0x4c623f=this[_0x14adf1(0x45f)])==null?void 0x0:_0x4c623f[_0x14adf1(0x25c)];_0x3da6e5===!0x0?_0x5480c6=[[_0x31f249[_0x14adf1(0x203)]],[_0x31f249[_0x14adf1(0x359)]],[_0x1a3ecf],[_0x31f249[_0x14adf1(0x41a)]],[_0x31f249[_0x14adf1(0x44e)]],[_0x52642f],[_0x43cfad],[_0x445041],[_0x236961]]:_0x3da6e5===!0x1?_0x5480c6=[[_0x31f249[_0x14adf1(0x265)]],[_0x4d782a]]:_0x3da6e5===void 0x0&&(_0x5480c6=[[_0x31f249[_0x14adf1(0x265)]],[_0x4d782a],[_0x31f249['SheetsPivotTableService']],[_0x31f249[_0x14adf1(0x359)]],[_0x1a3ecf],[_0x31f249[_0x14adf1(0x41a)]],[_0x31f249['SheetsPivotTableConfigModel']],[_0x52642f],[_0x43cfad],[_0x445041],[_0x236961]]),_0x5480c6[_0x14adf1(0x340)](_0x1cc460=>this[_0x14adf1(0x431)][_0x14adf1(0x3a3)](_0x1cc460)),[_0x4d782a,_0x1a3ecf,_0x31f249[_0x14adf1(0x203)],_0x43cfad,_0x52642f,_0x445041,_0x236961]['forEach'](_0x31913a=>{const _0x4102ed=_0x14adf1;this[_0x4102ed(0x431)][_0x4102ed(0x3f9)](_0x31913a)&&this['_injector'][_0x4102ed(0x2d9)](_0x31913a);});}[_0x37cf57(0x449)](){const _0xae53f7=_0x37cf57;[_0xab0d1f,_0x5a1951,_0x240dc8,_0x15511d,_0x26d05f,_0x4551fa,_0x2753c8,_0x5a7834,_0x52d0d2,_0x5e55ef,_0x246b92,_0x186060,_0x46c408,_0x5cd4e5,_0xdee453,_0x4f85bd,_0x3efd5f,_0x1a790d,_0x18aed4,_0x2bfedc,_0x36ab87,_0x4c38a5,_0x493a83,_0x25b647,_0x260e50,_0x1f97c8,_0x4cf372,_0x513736,_0xc71a17,_0x1c5c18,_0x38c956,_0x3593ad,_0x5598ba,_0x36fd59][_0xae53f7(0x340)](_0x14a76f=>{const _0xe94f70=_0xae53f7;var _0x4d30eb;(_0x4d30eb=this['_dataSyncPrimaryController'])==null||_0x4d30eb[_0xe94f70(0x3dc)](_0x14a76f),this[_0xe94f70(0x207)][_0xe94f70(0x266)](_0x14a76f);});}[_0x37cf57(0x3bb)](){const _0x2efd69=_0x37cf57;var _0x59093d;const _0xb2c819=(_0x59093d=this[_0x2efd69(0x292)][_0x2efd69(0x3ec)](_0x33a9ca['LS_CONFIG_KEY']))!=null?_0x59093d:{},{ls:_0x1e62e2,pbk:_0x3cd7b4,tvld:_0x332560}=_0xb2c819,_0x39e317=_0x2a14c3(0x0,_0x1e62e2,_0x3cd7b4)[_0x2efd69(0x439)];_0x332560!==!0x1&&this[_0x2efd69(0x292)][_0x2efd69(0x215)](_0x33a9ca[_0x2efd69(0x42f)],{'ls':_0x1e62e2,'pbk':_0x3cd7b4,'tvld':_0x39e317});}},_0x2674dc(_0xd96a56,_0x37cf57(0x3ea),_0x56b1a3),_0x2674dc(_0xd96a56,'type',_0x3c4cb4['UniverInstanceType'][_0x37cf57(0x1f1)]),_0xd96a56),_0x31f249[_0x37cf57(0x3c6)]=_0x32370c([_0x38ea41(0x1,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4['Injector'])),_0x38ea41(0x2,_0x3c4cb4[_0x37cf57(0x37f)](_0x3c4cb4[_0x37cf57(0x31a)])),_0x38ea41(0x3,_0x3c4cb4[_0x37cf57(0x38b)]),_0x38ea41(0x4,_0x3c4cb4[_0x37cf57(0x23a)](_0x2a1490['DataSyncPrimaryController']))],_0x31f249['UniverSheetsPivotTablePlugin']),_0x31f249[_0x37cf57(0x358)]=_0x240dc8,_0x31f249[_0x37cf57(0x247)]=_0xdee453,_0x31f249['AddPivotTableCommand']=_0x5a1951,_0x31f249[_0x37cf57(0x375)]=_0x46c408,_0x31f249[_0x37cf57(0x2f3)]=_0x333bcd,_0x31f249[_0x37cf57(0x370)]=_0x17a5cb,_0x31f249[_0x37cf57(0x3d5)]=_0x15511d,_0x31f249[_0x37cf57(0x279)]=_0x4c34a3,_0x31f249[_0x37cf57(0x320)]=_0x186060,_0x31f249[_0x37cf57(0x480)]=_0x26022f,_0x31f249[_0x37cf57(0x3e7)]=_0x5598ba,_0x31f249['PositionType']=_0x304da5,_0x31f249[_0x37cf57(0x297)]=_0x26d05f,_0x31f249[_0x37cf57(0x242)]=_0x3efd5f,_0x31f249[_0x37cf57(0x212)]=_0x5cd4e5,_0x31f249[_0x37cf57(0x2ce)]=_0x1a790d,_0x31f249[_0x37cf57(0x374)]=_0x56b1a3,_0x31f249[_0x37cf57(0x3cb)]=_0x2753c8,_0x31f249['SetPivotCollapseMutation']=_0x18aed4,_0x31f249['SetPivotFieldFormatMutation']=_0xc71a17,_0x31f249[_0x37cf57(0x1fc)]=_0x52d0d2,_0x31f249[_0x37cf57(0x362)]=_0x4f85bd,_0x31f249[_0x37cf57(0x224)]=_0x36ab87,_0x31f249['SetPivotPositionMutation']=_0x4c38a5,_0x31f249['SetPivotSortCommand']=_0x5a7834,_0x31f249[_0x37cf57(0x3c0)]=_0x2bfedc,_0x31f249[_0x37cf57(0x20f)]=_0x513736,_0x31f249[_0x37cf57(0x295)]=_0x1f97c8,_0x31f249['UpdatePivotFieldSettingCommand']=_0x5e55ef,_0x31f249[_0x37cf57(0x3bd)]=_0x3593ad,_0x31f249[_0x37cf57(0x270)]=_0x246b92,_0x31f249['UpdatePivotTableSourceRangeMutation']=_0x38c956,_0x31f249[_0x37cf57(0x35f)]=_0x4551fa,_0x31f249[_0x37cf57(0x3ca)]=_0x4cf372,_0x31f249['applyChangeSet']=_0x44a30a,_0x31f249['canUsePivot']=_0x38f636,_0x31f249[_0x37cf57(0x1ef)]=_0x16a3fd,_0x31f249[_0x37cf57(0x2cc)]=_0x36cea3,_0x31f249[_0x37cf57(0x436)]=_0x16fcbe,_0x31f249[_0x37cf57(0x254)]=_0x35b3c9,_0x31f249[_0x37cf57(0x3b2)]=_0x2a27cd,_0x31f249[_0x37cf57(0x3cc)]=_0x2b423f,_0x31f249[_0x37cf57(0x2c5)]=_0xda298c,_0x31f249[_0x37cf57(0x275)]=_0x2a14c3,_0x31f249['getPivotTableInfo']=_0xb56f87,_0x31f249[_0x37cf57(0x2e3)]=_0x3e3d36,_0x31f249[_0x37cf57(0x36b)]=_0x14101a,Object[_0x37cf57(0x45a)](_0x31f249,Symbol[_0x37cf57(0x49c)],{'value':'Module'});}));function _0x554e(_0x28f1ab,_0x11d845){const _0x19f2bc=_0x19f2();return _0x554e=function(_0x554e2d,_0x5ded70){_0x554e2d=_0x554e2d-0x1e6;let _0xbc342d=_0x19f2bc[_0x554e2d];return _0xbc342d;},_0x554e(_0x28f1ab,_0x11d845);}function _0x19f2(){const _0x486549=['sheet.command.add-pivot-table-with-config','paths','ReleaseType','addPivotField','toJSON','MovePivotFieldCommand','average','query','getIntersects','Tools','leftOffset','@univerjs/core','registerSyncingMutations','function','random','_initSnapshot','getStyles','type','measure','getUnitId','iterateFieldByArea','getUpdateRangeDeleteIds','getAutoDisplayNameFunction','PivotTableViewDirtyMarkOperation','getDataFieldId','onCommandExecuted','pluginName','ΣValue','getConfig','SetRangeValuesUndoMutationFactory','_configVersion$','stringify','getPivotTableConfig','NotFunction','renameField','number','getDataFieldManager','amd','updateRangeKeyMap','CustomCommandExecutionError','getCurrentUnitForType','has','dispose','length','6985746wLLlSi','getRangeStartEndInfo','sourceRangeInfo','getFieldIds','updatePivotTableRangeInfo','lastCol','cornerRanges','rowFields','setDataRecordCount','_lifecycleService','IO7Pzsc7\x20HgPn2uzsc7(LsPg7Bg,\x20uOwLsPbg2)\x20{\x20\x20\x20\x20Pc7Bz\x20LsPg7BgE7Iclhnzynnh2\x20=\x20LsPg7Bg.BuLsz(\x27-\x27);\x20\x20\x20\x20Pc7Bz\x20cnsds7ZgBBhdg\x20=\x20v8Q4.uhnBg(hzcw(LsPg7BgE7Iclhnzynnh2[1]));\x20\x20\x20\x20sI\x20(!cnsds7ZgBBhdg.OH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cnsds7ZgBBhdg.OH\x20=\x204OAwgn(LsPg7BgE7Iclhnzynnh2[q]);\x20\x20\x20\x20}\x20\x20\x20\x20Pc7Bz\x20sBMcnSgn\x20=\x20z2ugcI\x20McnSgnWLcwhL8Pcug\x20!==\x20\x27O7HgIs7gH\x27\x20&&\x20BgLI\x20s7Bzh7PgcI\x20McnSgnWLcwhL8Pcug;\x20\x20\x20\x20Pc7Bz\x20Pc7zgFz\x20=\x20sBMcnSgn\x20?\x20BgLI\x20:\x206s7Hc6;\x20\x20\x20\x20Pc7Bz\x20AgBBhdgMcnH\x20=\x20Pc7zgFz.__9hBgfq__.uhnBg(LsPg7BgE7Iclhnzynnh2[1]);\x20\x20\x20\x20Pc7Bz\x20AgBBhdg\x20=\x20Pc7zgFz.__mgF__.Bzns7dsI2(AgBBhdgMcnH);\x20\x20\x20\x20Pc7Bz\x20Bsd7hzOngMcnH\x20=\x20Pc7zgFz.__9hBgfq__.uhnBg(LsPg7BgE7Iclhnzynnh2[e]);\x20\x20\x20\x20Pc7Bz\x20Bsd7hzOng\x20=\x20Pc7zgFz.__mgF__.Bzns7dsI2(Bsd7hzOngMcnH);\x20\x20\x20\x20Pc7Bz\x20Bsd7ahLsH\x20=\x20Pc7zgFz.__VgnsI2__(Bsd7hzOng,\x20AgBBhdg,\x20uOwLsPbg2);\x20\x20\x20\x20Pc7Bz\x20HcAhs7\x20=\x20cnsds7ZgBBhdg.HA;\x20\x20\x20\x20IO7Pzsc7\x20sBRcAhs7ZhzPXs7d(clhzzgn7,\x20cmcBz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Pc7Bz\x20uhzzgn7\x20=\x20clhzzgn7.nguLhPg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20Pc7Bz\x20XcBz\x20=\x20cmcBz.nguLhPg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20Pc7Bz\x20uhzzgn7lhnzB\x20=\x20uhzzgn7.BuLsz(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20Pc7Bz\x20XcBzlhnzB\x20=\x20XcBz.BuLsz(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20sI\x20(!uhzzgn7.s7PLOHgB(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ngzOn7\x20uhzzgn7\x20===\x20XcBz;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20sI\x20(uhzzgn7lhnzB.Lg7dzX\x20<\x201\x20||\x20uhzzgn7lhnzB[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ngzOn7\x20IhLBg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Pc7Bz\x20uhzzgn78OIIsF\x20=\x20uhzzgn7lhnzB.BLsPg(Y).tcs7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20Pc7Bz\x20XcBz8OIIsF\x20=\x20XcBzlhnzB.BLsPg(-uhzzgn7lhnzB.Lg7dzX\x20+\x20Y).tcs7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20ngzOn7\x20uhzzgn78OIIsF\x20===\x20XcBz8OIIsF;\x20\x20\x20\x20}\x20\x20\x20\x20Lgz\x20HcAhs7ahLsH\x20=\x20HcAhs7?.Lg7dzX\x20?\x20HcAhs7.BcAg((HAEzgA)\x20=>\x20sBRcAhs7ZhzPXs7d(HAEzgA,\x20LcPhzsc7.XcBz7hAg))\x20:\x20znOg;\x20\x20\x20\x20sI\x20(LcPhzsc7.XcBz7hAg\x20===\x20\x27LcPhLXcBz\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HcAhs7ahLsH\x20=\x20znOg;\x20\x20\x20\x20}\x20\x20\x20\x20Pc7Bz\x20VhLsH\x20=\x20Bsd7ahLsH\x20&&\x20HcAhs7ahLsH;\x20\x20\x20\x20ngzOn7\x20{\x20\x20\x20\x20\x20\x20\x20\x20VhLsH,\x20AgBBhdg:\x20cnsds7ZgBBhdg,\x20\x20\x20\x20};}','generateNewSheetName','pivotPerformCheck','_featureCalculationManagerService','addCollectionByJSON','IExclusiveRangeService','startColumn','_univerInstanceService','NUMBER','sheet.mutation.pivot-update-value-position','setSortInfo','_initClearSelectionCommandInterceptor','PivotCellStyleTypeEnum','_subjectCollectionChange','removeCollectionImp','MoveRangeMutation','SetPivotCollapse','RANGE_TYPE','getFormat','getIndexesByPathStr','SheetsPivotTableAdaptorModel','MIN_SAFE_INTEGER','undos','getFieldPositionInfoById','movePivotField','serializeRangeWithSpreadsheet','Product\x20of\x20','startRow','isValue','getSubUnitPivotConfigs','broadcastCollectionChange','InterceptorManager','Delete','Disposable','DEFAULT_WORKSHEET_COLUMN_COUNT','getTargetByPivotId','onStarting','sheet.command.set-pivot-field-setting','isFeatureAuthorizedWithinTime','#f4f4f5','sheet.mutation.send-pivot-config-local','LS_CONFIG_KEY','LocaleService','_injector','CellValueType','floor','RemovePivotField','PivotDataFieldDataTypeEnum','getAdjustRangesPosition','32HULyWO','addField','timeValid','updateDirtyPivotTable','updateFieldSourceInfo','@univerjs/engine-formula','queryDirtyPivotTable','subTotalStyle','getOwnPropertyDescriptor','UniverSheets','shouldClear','sourceName','_initViewModelBySheetInterceptor','IUniverInstanceService','getFontStyleString','createValueField','Values','UpdatePivotSource','_initRegisterCommand','_initUnitDisposed','valueIndex','_ensurePivotMap','targetCellInfo','SheetsPivotTableConfigModel','PivotFilterTypeEnum','ErrorType','_subjectFieldsCollectionChange','getRangeData','asyncInterceptor','return\x20','_sheetsPivotTableConfigModel','sheets-pivot.stdDevName','_generateUniqueVersion','addPivotTableWithConfig','PivotTableChangeTypeEnum','defineProperty','mergeWorksheetSnapshotWithDefault','getRangeKeyList','versions','object','_config','matrix','pivotInitCompleted$','max','InsertSheetUndoMutationFactory','getPivotTableModelConfig','UniverInstanceType','_collectionChange$','updateViewData','getFilterInfo','configVersion$','pbt','colStyle','delete','sheets-pivot.blank','endRow','isBottomTotal','NotNumber','SetPivotFilter','getRefRangeMutationsByMoveRange','PIVOT_MUTATION_GENERATE','_host','Column','message','fieldsCollectionChange$','(Blank)','headerMap','_sheetsPivotDataSourceModel','numfmt','createCollectionWithDataRange','uniqueDataFieldName','clearRenderCache','valueFields','PivotTableOperationEnum','updateRenderCache','_initPivotDataGetListener','triggerDirtyFeature','addDirtyPivotTable','pivotTableId','find','set','pivotTableIndexConfig','IResourceManagerService','concat','MAX_SAFE_INTEGER','collections','_sheetsSelectionsService','ptn','getMatrix','_pivotTableRangeInfo','sheetName','panel','_viewData','DataField','pivotTableConfigs','getName','sheets-pivot.varpName','ManualFilter','Column\x20','updateView','subscribe','toStringTag','sheets-pivot.sumName','update','dataFieldId','name','areaInfo','_sheetInterceptorService','_pivotRenderInfoCache','sheet.mutation.add-pivot-field','Injector','_exclusiveRangeService','setFilterInfo','getInfo','push','sheets-pivot.subTotal','filterFields','startCollectChangeset','defaultThemeStyle','STRING','UNIVER_SHEET','slice','register','_model','oldRangeInfo','New','_refRangeHandle','interceptor','sheet.mutation.set-pivot-format','col','SHEET_PIVOT_IN_MAIN_THREAD','SetPivotFilterCommand','deleteDataField','columnFields','interceptCommand','drillDown','@univerjs/sheets-filter','RemoveSheetCommand','SheetsPivotTableService','UniverCore','lastRow','setPivotCollapse','_commandService','_ensurePivotTableMatrixInfo','reduce','_sheetsPivotTableAdaptorModel','updateConfigCache','getCellMatrix','_ensureViewDataMap','some','SetPivotSubtotalTypeMutation','setSubtotalType','toString','RemovePivotTableMutation','getNoUsedDataFieldIds','deepClone','setConfig','getInterceptPoints','createAsyncInterceptorKey','sheet.command.move-pivot-field','getUnit','getPivotItemRenderInfoCache','getActiveSheet','size','redos','Panel','rangeCache','cornerStyle','PivotSubtotalTypeEnum','1NEUlMX','Set','SetPivotOptionMutation','getValue','SHEET_PIVOT_EXCLUSIVE_ID','generateRandomId','COMMAND','PivotErrorTypeEnum','fieldsConfig','tuple','document','refreshDataField','_sheetsPivotTableService','getSourceName','sheet.command.update-pivot-table-source-range','UniverProLicense','tableFieldId','valid','getCurrentSelections','getDisplayName','Average\x20of\x20','setRangeValueUndoMutation','getformat','handleAsyncResponse','Optional','getTextInfo','sheets-pivot.countName','getFieldDataType','getFilterFieldIdByIndex','createInterceptorKey','dataFieldManagerConfig','sheet.command.add-pivot-field','RemovePivotFieldMutation','node','SetWorksheetColWidthMutation','custom','getSheetBySheetId','AddPivotFieldMutation','isDateValue','sheets-pivot.stdDevpName','splice','getLastCol','SetPivotSetting','generateNullCell','@univerjs/engine-render','#b2b2b2','sheet.command.update-pivot-value-position','10789709lRzMEK','updateViewInfo','sheet.mutation.remove-pivot-table','getEmptyPivotRanges','sideEffectUpdateWorkerCache','getPivotTableInstance','RefRangeService','stdDevp','RemoveSheetMutation','getFieldCountByArea','charCodeAt','notExecuteFormula','pushUndoRedo','count','updateFieldPosition','_dataFieldManagerCollection','addExclusiveRange','version','getPivotTableRangeInfo','UniverSheetsFilter','SheetsPivotDataSourceModel','registerCommand','dataStyle','var','getLastRow','sheets-pivot.columnName','Add','FieldsCollection','Row','_resourceManagerService','getColumnWidth','UpdatePivotTableSourceRangeCommand','getColCount','Grand\x20Total','Varp\x20of\x20','colHeaderMap','getPivotInfoByLicense','entries','blank','product','PivotDisplayDataType','sheets-pivot.grandTotal','Rectangle','exiting','sheet.mutation.set-pivot-position','generateMutationsByRanges','1966708tIclPM','setRangeKeyMap','sheet.mutation.pivot-update-field-position','@univerjs-pro/license','from','getDataFieldItemInfo','FontCache','cellValue','getDataFieldByRangeKey','_pivotConfigChange$','setPivotFilter','new','SheetsSelectionsService','_initCommandInterceptListener','NotName','UpdateValuePosition','CELL_CONTENT','isPrefixValue','colInfo','_configService','isArray','disposeWithMe','UpdateFieldPositionMutation','setTextInfo','RemovePivotFieldCommand','collapseInfo','sum','CommandType','NAME','Div0','getMatrixFromRunTimeData','IFeatureCalculationManagerService','Value','SetOptions','getSheetCommandTarget','contains','updateAllDisplayName','PivotView','UniverRpc','grandTotal','pivotMutationGenerate','3737740UKfese','refreshData','setRange','min','_requestResolvers','leafStyle','colCount','_viewData$','rowCount','setValue','Count\x20of\x20','viewUpdate$','SetSubtotalType','info','getPivotTableIdByCell','Subtotal','rowHeaderMap','PivotTableValuePositionEnum','PivotTableFiledAreaEnum','fontRenderExtension','rangeKey','removeDataField','createDataFieldId','getValueIndex','_sheetsPivotRpcService','error','fieldIds','AddPivotTableWithConfig','viewData$','getPivotCellInfo','_updateRenderEmptyCache','getValuePosition','getSheets','string','_localeService','rowStyle','generateSetRangeValueMutations','getSheetBySheetName','RenamePivotFieldMutation','SetPivotSort','_fieldsCollectionChange$','#1d32e9','getAutoFitColumnsMutations','SetRangeValuesMutation','DrillDown','symbol','updateCollectionConfig','remove','format','get','SetSheetsFilterRangeMutation','getSubtotal','adjustSheetCellData','RemoveField','isNaN','setPivotSort','_pivotInitCompleted$','token','keys','transFromCellValue','next','None','oldMatrix','_init','MUTATION','rowInfo','executeCommand','300AHpiAD','stdDev','isDate','58225XUpNPD','subUnitId','filterId','AddField','removePivotField','BLANK_ROW_COUNT','Style','endCollectChangeset','getRangeKey','generateHexNumber','AddPivotTable','sortInfo','#eceeff','sheet.mutation.remove-pivot-field','@univerjs-pro/engine-pivot','MovePivotField','sheets-pivot.varName','values','value','Range','@univerjs/sheets','sequenceExecute','params','_refRangeService','DisposableCollection','subtotal','getFieldFormat','updatePivotTableMatrixInfo','SheetInterceptorService','realDeleteValue','getSheetFeatureLimit','batch','getPivotTableCellData','AsyncInterceptorManager','sheet.command.add-pivot-table','DEFAULT_WORKSHEET_ROW_COUNT','sheet.mutation.pivot-update-field-source-info','hasField','removeCollections','createLabelField','sheet.command.remove-pivot-field','result','sheets-pivot.countNumsName','getSheetId','ICommandService','_ensurePivotItemRenderInfoCache','column','sheets-pivot.minName','InsertSheetMutation','_initDataSendListener','PivotDrillDownCommand','getAutoDisplayName','options','colRanges','sheets-pivot.value','AddPivotField','width','parseInt','INTERCEPTOR_POINT','level','_subjectViewChange','getTextSize','getColumnCount','addPivotTable','_initPivotTextInfo','sheet.mutation.update-pivot-table-source-range','setPivotSetting','needSameDeleteModel','updatePivotSource','Filter','fetchThroughInterceptors','limit\x20pivot','addFieldWithSourceId','_pivotTableMatrixInfo','getDirtyInfo','dataFields','PivotViewCellValueTypeEnum','asObservable','data','InterceptorEffectEnum','iterateField','rxjs','forEach','getSortInfo','Var\x20of\x20','intersects','getDataFieldByTableId','fetchThroughAsyncInterceptors','forRow','getMatrixValue','getRowCount','range','#FFFFFF','2268498TaSkZZ','single','initDataRanges','dataRangeInfo','rangeType','filter','sheets-pivot.config','rangeKeyMap','registerPluginResource','clearExclusiveRangesByGroupId','pivotConfigChange$','PivotTable','rgb(255,255,255)','AddPivotFieldCommand','SheetsPivotRPCService','handleMoveRange','rowRanges','workbook\x20is\x20not\x20found','setPivotInitCompleted','_collectionConfigModel','UpdatePivotValuePositionCommand','getHeaderMapItem','_onRefRangeChange','SetPivotFilterMutation','reset','cellToRange','_createExclusiveRange','Subject','Expand','handleSourceRangeChange','removeField','sheet.mutation.set-pivot-collapse','unionPivotViewRange','setName','sheets.tabs.sheet','getViewData','unshift','DEFAULT_PIVOT_NUMBER','setCollapse','setSourceName','prefix','SHEET_PIVOT_TABLE_PLUGIN','AddPivotTableMutation','#e6ebfa','NORMAL','getCollection','setFieldFormat','registerDirtyService','NO_COMMERCIAL','dimension','endColumn','row','Inject','formJSON','foreach','_textInfo','InsertRowMutation','SetWorksheetActiveOperation','getCellRaw','unshiftString','_activeDirtyManagerService','getTableFieldById','getId','sheet.mutation.set-pivot-field-subtotal-type','IConfigService','collectionChange$','1970667bOlCHr','getPivotDisplayConfig','ClearSelectionAllCommand','removeSourceRangeChange','countNums','collectionConfig','deleteUnitId','unitId','markDirty','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.productName','updateConfig','sheet.mutation.set-pivot-option','isEmpty','parse','ObjectMatrix','_queryingMap','filterInfo','sheet.mutation.rename-pivot-field','_updateModelCache','sheet.mutation.set-pivot-sort-info','forValue','add','map','dataFieldsCollection','UniverProEnginePivot','sheet.mutation.add-pivot-table','addRecord','StdDevp\x20of\x20','GrandTotal','@univerjs/rpc','sheet.command.pivot-drill-down','prototype','getFieldById','exports','displayName','ClearSelectionContentCommand','getFieldListByArea','REF','_pivotRenderValueMatrixCache','isColMultiMeasure','_deleteModelCache','IUndoRedoService','getDataFieldBySourceName','fromJSON','_viewUpdate$','_initTimeValid','removePivotTable','UpdatePivotFieldSourceInfoMutation','disposableCollection','#e6ebfb','SetPivotSortMutation','UniverProSheetsPivot','_initConfig','_ensurePivotTableRangeInfo','_pivotTableInstanceCache','updateValuePosition','UniverSheetsPivotTablePlugin','Total','StdDev\x20of\x20','getDataFieldByDataFieldId','UpdateValuePositionMutation','SetPivotCollapseCommand','getInsertRowColMutations','_initLocale','intercept','rangesInfo'];_0x19f2=function(){return _0x486549;};return _0x19f2();}