@univerjs-pro/sheets-pivot 0.12.4 → 0.13.0-insiders.20251216-1519cb7
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5250(_0x3d6f7b,_0x1bcdba){_0x3d6f7b=_0x3d6f7b-0x183;const _0x441756=_0x4417();let _0x52509e=_0x441756[_0x3d6f7b];return _0x52509e;}(function(_0x10a216,_0x4ddc8b){const _0xccdf35=_0x5250,_0x1722be=_0x10a216();while(!![]){try{const _0x5599d0=-parseInt(_0xccdf35(0x255))/0x1+-parseInt(_0xccdf35(0x1d2))/0x2+parseInt(_0xccdf35(0x467))/0x3+-parseInt(_0xccdf35(0x44a))/0x4+-parseInt(_0xccdf35(0x1e8))/0x5*(-parseInt(_0xccdf35(0x464))/0x6)+-parseInt(_0xccdf35(0x3ee))/0x7*(parseInt(_0xccdf35(0x3fe))/0x8)+parseInt(_0xccdf35(0x3c9))/0x9;if(_0x5599d0===_0x4ddc8b)break;else _0x1722be['push'](_0x1722be['shift']());}catch(_0x3e60b5){_0x1722be['push'](_0x1722be['shift']());}}}(_0x4417,0x391b2),function(_0x3f1144,_0x130a59){const _0x42605b=_0x5250;typeof exports==_0x42605b(0x326)&&typeof module<'u'?_0x130a59(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x42605b(0x1c7)&&define['amd']?define([_0x42605b(0x23c),'@univerjs-pro/engine-pivot',_0x42605b(0x26d),_0x42605b(0x38c),_0x42605b(0x198),_0x42605b(0x2ba),_0x42605b(0x3a6),_0x42605b(0x19e),_0x42605b(0x41e),'@univerjs/engine-render'],_0x130a59):(_0x3f1144=typeof globalThis<'u'?globalThis:_0x3f1144||self,_0x130a59(_0x3f1144[_0x42605b(0x429)]={},_0x3f1144[_0x42605b(0x480)],_0x3f1144['UniverCore'],_0x3f1144[_0x42605b(0x232)],_0x3f1144[_0x42605b(0x1c6)],_0x3f1144[_0x42605b(0x2ba)],_0x3f1144[_0x42605b(0x2ed)],_0x3f1144[_0x42605b(0x28e)],_0x3f1144['UniverRpc'],_0x3f1144[_0x42605b(0x328)]));}(this,function(_0xc8ae41,_0x31fd0d,_0x578498,_0x2cbd7b,_0x137997,_0x34a132,_0x251e5d,_0x78b71a,_0x511ab9,_0x5cf515){'use strict';const _0x15ffdc=_0x5250;var _0x56d2e9=Object[_0x15ffdc(0x230)],_0x2257ee=(_0x476f98,_0x5f0be9,_0x4a5655)=>_0x5f0be9 in _0x476f98?_0x56d2e9(_0x476f98,_0x5f0be9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a5655}):_0x476f98[_0x5f0be9]=_0x4a5655,_0x2518e1=(_0x5cdbee,_0x5ec408,_0x5819e3)=>_0x2257ee(_0x5cdbee,typeof _0x5ec408!='symbol'?_0x5ec408+'':_0x5ec408,_0x5819e3);const _0x3a8dcc=Number['parseInt'](0x6933d6ed),_0x1687fc=0x10,_0x2340ff=0x1,_0x598476=_0x15ffdc(0x285),_0x3d21a4=0x1,_0xde395e=_0x15ffdc(0x39b),_0x96ad2b=_0x15ffdc(0x1ec),_0xedc37f=_0x15ffdc(0x42a),_0x448533=_0x15ffdc(0x3af),_0x401c0f=_0x15ffdc(0x3af),_0x345ff0=_0x15ffdc(0x346),_0x40e19a=_0x15ffdc(0x320),_0x39012a=_0x15ffdc(0x2a2),_0x443398=_0x15ffdc(0x405),_0x2f76f3=_0x15ffdc(0x320),_0x3f8203=_0x15ffdc(0x2a2),_0x20511b='#e6ebfb',_0x277ff8=0xe,_0x1d5c2b=0x6;var _0x54f7d6=(_0x5ba646=>(_0x5ba646['Existing']=_0x15ffdc(0x48d),_0x5ba646[_0x15ffdc(0x32b)]='new',_0x5ba646))(_0x54f7d6||{});const _0x158289={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x3ce908=0x1e,_0xaab8de={'b':{'s':0x1,'cl':{'rgb':_0xedc37f}},'l':{'s':0x1,'cl':{'rgb':_0xedc37f}},'r':{'s':0x1,'cl':{'rgb':_0xedc37f}},'t':{'s':0x1,'cl':{'rgb':_0xedc37f}}},_0x47359e={'bg':{'rgb':_0xde395e},'ht':0x2,'vt':0x2,'tb':0x1},_0x3fa76f={'bg':{'rgb':_0x96ad2b},'ht':0x2,'vt':0x2,'tb':0x1},_0x315c8b={'rowStyle':{'bg':{'rgb':_0x20511b},'bd':_0xaab8de,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2f76f3},'bd':null,'cl':{'rgb':_0x3f8203},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xaab8de,'bg':{'rgb':_0x443398},'vt':0x2},'cornerStyle':{'bd':_0xaab8de,'bg':{'rgb':_0x345ff0},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xaab8de,'bg':{'rgb':_0x448533},'vt':0x2},'leafStyle':{'bd':_0xaab8de,'bg':{'rgb':_0x401c0f},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x40e19a},'cl':{'rgb':_0x39012a},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xaab8de,'vt':0x2}};function _0x38a8b0(_0x3e3933,_0x19ca03,_0x1c299c){const _0x43633d=_0x15ffdc,_0x583c24=_0x3e3933['get'](_0x578498[_0x43633d(0x282)]),_0x5ae09d=_0x1c299c[_0x43633d(0x186)]('_');switch(_0x19ca03){case _0x31fd0d[_0x43633d(0x225)][_0x43633d(0x30c)]:return _0x583c24['t'](_0x43633d(0x385),..._0x5ae09d);case _0x31fd0d[_0x43633d(0x225)]['Minute']:return _0x583c24['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x5ae09d);case _0x31fd0d['PivotDateGroupFieldDateTypeEnum'][_0x43633d(0x1ed)]:return _0x583c24['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x5ae09d);case _0x31fd0d[_0x43633d(0x225)]['HourMinute']:return _0x583c24['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x5ae09d);case _0x31fd0d[_0x43633d(0x225)][_0x43633d(0x247)]:return _0x583c24['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x5ae09d);case _0x31fd0d[_0x43633d(0x225)][_0x43633d(0x2e1)]:return _0x583c24['t'](_0x43633d(0x36d),..._0x5ae09d);case _0x31fd0d[_0x43633d(0x225)][_0x43633d(0x20e)]:return _0x583c24['t'](_0x43633d(0x47d),..._0x5ae09d);case _0x31fd0d[_0x43633d(0x225)][_0x43633d(0x34a)]:return _0x583c24['t'](_0x43633d(0x482),..._0x5ae09d);case _0x31fd0d[_0x43633d(0x225)]['YearMonthDate']:return _0x583c24['t'](_0x43633d(0x2de),..._0x5ae09d);case _0x31fd0d['PivotDateGroupFieldDateTypeEnum'][_0x43633d(0x336)]:return _0x583c24['t'](_0x43633d(0x2cc),..._0x5ae09d);}return'';}const _0x114fd4=(_0x454eae,_0x477a1c,_0x523f9c,_0x4346c1)=>{const _0x13b880=_0x15ffdc;let _0x48cd28;const _0x1a3ba0=_0x454eae[_0x13b880(0x1b6)](_0x578498['IUniverInstanceService'])[_0x13b880(0x321)](_0x578498['UniverInstanceType']['UNIVER_SHEET']);if(!_0x1a3ba0)return null;const _0x3d12eb=_0x1a3ba0[_0x13b880(0x3bb)]();let _0x47ea59;if(_0x523f9c&&(_0x47ea59=_0x3d12eb['setValue'](_0x523f9c)),_0x477a1c!=null&&_0x477a1c['v']||(_0x477a1c==null?void 0x0:_0x477a1c['v'])===0x0){_0x48cd28||(_0x48cd28={});const _0x410a1e=_0x4ba968(_0x477a1c['v']);typeof _0x410a1e==_0x13b880(0x1ba)?_0x48cd28['t']=_0x578498['CellValueType'][_0x13b880(0x3a7)]:typeof _0x410a1e==_0x13b880(0x305)&&(_0x48cd28['t']=_0x578498[_0x13b880(0x2a3)][_0x13b880(0x2c2)]),_0x48cd28['v']=_0x410a1e;}if((_0x477a1c!=null&&_0x477a1c['i']||(_0x477a1c==null?void 0x0:_0x477a1c['i'])===0x0)&&(_0x48cd28||(_0x48cd28={}),_0x48cd28['fi']=_0x477a1c['i']),_0x477a1c!=null&&_0x477a1c['s']&&(_0x48cd28||(_0x48cd28={}),_0x48cd28[_0x13b880(0x203)]=_0x477a1c['s']),_0x523f9c&&(_0x48cd28||(_0x48cd28={}),_0x48cd28['s']=_0x47ea59),_0x4346c1&&_0x48cd28!=null&&_0x48cd28['v']&&_0x48cd28[_0x13b880(0x203)]!==_0x31fd0d[_0x13b880(0x45c)][_0x13b880(0x3e9)]&&_0x48cd28[_0x13b880(0x203)]!==_0x31fd0d[_0x13b880(0x45c)][_0x13b880(0x206)]){const _0x884190=String(_0x48cd28['v']),{dateType:_0x5bb9f3}=_0x4346c1;_0x48cd28['v']=_0x38a8b0(_0x454eae,_0x5bb9f3,_0x884190),_0x48cd28['t']=_0x578498[_0x13b880(0x2a3)]['STRING'];}return _0x48cd28;},_0x263020=(_0x6f6d79,_0x5b0841,_0x23d035,_0x1adfff)=>{const _0x2babcd=_0x15ffdc;var _0x4ffc0f,_0x15df1d,_0x24c8ee,_0x4160d5,_0x33b2be,_0x56efd2,_0x188fa0,_0x8cb7b,_0x4c37f7,_0x33db7a,_0xe5435d,_0x560286,_0x4ec850,_0x30fe9a;const _0x54713c=_0x23d035[_0x2babcd(0x2a8)],{cornerView:_0x4ab47e,rowView:_0x1d8eaf,colView:_0x5b95f2,dataView:_0x3fc64d,pageView:_0xdd50bc,formatMap:_0x41122f,groupInfo:_0x5f48b3}=_0x5b0841,{row:_0x484a0e,col:_0x3bf78c}=_0x54713c,_0x501ae2=new _0x578498['ObjectMatrix'](),_0x43e63b={},_0x5b0068={},_0xa250ba={},_0x5b6680={},_0x66e2a4={};let _0x53edbb=_0x484a0e,_0xcabb2c=_0x3bf78c;Object[_0x2babcd(0x34f)](_0xdd50bc[_0x2babcd(0x435)])[_0x2babcd(0x3fd)](_0x172faa=>{const _0x3d1cc6=_0x2babcd;Object[_0x3d1cc6(0x34f)](_0xdd50bc[_0x3d1cc6(0x435)][Number(_0x172faa)])[_0x3d1cc6(0x3fd)](_0x16c748=>{const _0x462101=_0x3d1cc6,_0x133c7d={..._0xdd50bc['data'][Number(_0x172faa)][Number(_0x16c748)]};_0x501ae2[_0x462101(0x3d3)](Number(_0x172faa)+_0x53edbb,Number(_0x16c748)+_0xcabb2c,_0x114fd4(_0x6f6d79,_0x133c7d,_0x315c8b[_0x462101(0x377)]));});});const _0x5e1b14=Object[_0x2babcd(0x34f)](_0xdd50bc[_0x2babcd(0x435)])['length'];_0x53edbb+=_0x5e1b14+(_0x5e1b14?_0x3d21a4:0x0);const _0x2dc912=_0x4ab47e[_0x2babcd(0x26c)](),_0x3f766a=_0x4ab47e[_0x2babcd(0x410)]();for(let _0x39e7cd=0x0;_0x39e7cd<_0x2dc912;_0x39e7cd++)for(let _0xc4c42f=0x0;_0xc4c42f<_0x3f766a;_0xc4c42f++){const _0x385f9c={...(_0x15df1d=(_0x4ffc0f=_0x4ab47e['data'])==null?void 0x0:_0x4ffc0f[_0x39e7cd])==null?void 0x0:_0x15df1d[_0xc4c42f]};_0x385f9c&&((_0x24c8ee=_0x1d8eaf[_0x2babcd(0x221)][_0xc4c42f])!=null&&_0x24c8ee[_0x2babcd(0x2c6)])&&_0xc4c42f===_0x3f766a-0x1&&_0x39e7cd===_0x2dc912-0x1&&(_0x385f9c['v']=''+_0x1adfff[_0x2babcd(0x20d)]),_0x501ae2[_0x2babcd(0x3d3)](_0x39e7cd+_0x53edbb,_0xc4c42f+_0xcabb2c,_0x114fd4(_0x6f6d79,_0x385f9c,_0x315c8b['cornerStyle']));}for(let _0x7ccc89=0x0;_0x7ccc89<_0x4ab47e[_0x2babcd(0x1ac)][_0x2babcd(0x366)];_0x7ccc89++)_0x4ab47e['info'][_0x7ccc89]&&(_0xa250ba[''+(_0x7ccc89+_0xcabb2c)]=_0x4ab47e[_0x2babcd(0x1ac)][_0x7ccc89]);_0xcabb2c+=_0x3f766a;const _0x250831=_0x5b95f2[_0x2babcd(0x221)],_0x2094de=_0x5b95f2['getLastRow']()>=0x0?_0x5b95f2[_0x2babcd(0x193)]()+0x1:0x0,_0x416483=_0x5b95f2[_0x2babcd(0x356)]()>=0x0?_0x5b95f2[_0x2babcd(0x356)]()+0x1:0x0;for(let _0x27cca6=0x0;_0x27cca6<_0x416483;_0x27cca6++){for(let _0x4e9b04=0x0;_0x4e9b04<_0x2094de;_0x4e9b04++){const _0x11ba55={...(_0x33b2be=(_0x4160d5=_0x5b95f2['data'])==null?void 0x0:_0x4160d5[_0x4e9b04])==null?void 0x0:_0x33b2be[_0x27cca6]},_0x37c3e7=(_0x56efd2=_0x250831[_0x4e9b04])==null?void 0x0:_0x56efd2[_0x2babcd(0x271)],_0x57d3da=_0x41122f[_0x37c3e7],_0x3bb261=_0x5f48b3[_0x37c3e7];_0x11ba55&&(_0x11ba55['v']=_0x404244(_0x11ba55,_0x4e9b04===0x0&&((_0x188fa0=_0x5b95f2[_0x2babcd(0x397)](_0x27cca6+0x1))==null?void 0x0:_0x188fa0['isValue']),_0x57d3da,_0x1adfff));let _0x13a2e8;_0x57d3da?_0x13a2e8={..._0x315c8b[_0x2babcd(0x306)],'n':{'pattern':_0x57d3da}}:_0x13a2e8={..._0x315c8b[_0x2babcd(0x306)]},_0x501ae2[_0x2babcd(0x3d3)](_0x4e9b04+_0x53edbb,_0x27cca6+_0xcabb2c,_0x114fd4(_0x6f6d79,_0x11ba55,_0x13a2e8,_0x3bb261));}_0x5b95f2[_0x2babcd(0x1ac)][_0x27cca6]&&(_0x5b0068[''+(_0x27cca6+_0xcabb2c)]=_0x5b95f2[_0x2babcd(0x1ac)][_0x27cca6]),_0x5b95f2[_0x2babcd(0x221)][_0x27cca6+0x1]&&(_0x66e2a4[''+(_0x27cca6+_0x53edbb+0x1)]=_0x5b95f2[_0x2babcd(0x221)][_0x27cca6+0x1]);}_0x53edbb+=_0x2dc912;const _0x4c1754=_0x1d8eaf['headerMap'],_0x59bc9c=_0x1d8eaf['getLastRow']()>=0x0?_0x1d8eaf['getLastRow']()+0x1:0x0,_0x25451c=_0x1d8eaf['getLastCol']()>=0x0?_0x1d8eaf[_0x2babcd(0x356)]()+0x1:0x0;for(let _0x1940c8=0x0;_0x1940c8<_0x59bc9c;_0x1940c8++){for(let _0x6493db=0x0;_0x6493db<_0x25451c;_0x6493db++){const _0x59aed5={...(_0x4c37f7=(_0x8cb7b=_0x1d8eaf['data'])==null?void 0x0:_0x8cb7b[_0x1940c8])==null?void 0x0:_0x4c37f7[_0x6493db]},_0x580c58=(_0x33db7a=_0x4c1754[_0x6493db])==null?void 0x0:_0x33db7a['tableFieldId'],_0x48687b=_0x41122f[_0x580c58],_0x4f356b=_0x5f48b3[_0x580c58];_0x59aed5&&(_0x59aed5['v']=_0x404244(_0x59aed5,!0x1,_0x48687b,_0x1adfff));let _0x7c321f;_0x1d8eaf[_0x2babcd(0x1ac)][_0x1940c8]['level']===_0x1d8eaf['getColCount']()?_0x7c321f=_0x315c8b[_0x2babcd(0x31d)]:_0x1d8eaf[_0x2babcd(0x1ac)][_0x1940c8]['isBottomTotal']?_0x7c321f=_0x1d8eaf[_0x2babcd(0x1ac)][_0x1940c8][_0x2babcd(0x1af)]===0x0?_0x315c8b[_0x2babcd(0x195)]:_0x315c8b[_0x2babcd(0x2a6)]:_0x7c321f=_0x315c8b[_0x2babcd(0x211)],_0x48687b&&(_0x7c321f={..._0x7c321f,'n':{'pattern':_0x48687b}}),_0x501ae2[_0x2babcd(0x3d3)](_0x1940c8+_0x53edbb,_0x6493db+_0x3bf78c,_0x114fd4(_0x6f6d79,_0x59aed5,_0x7c321f,_0x4f356b));}_0x1d8eaf[_0x2babcd(0x1ac)][_0x1940c8]&&(_0x43e63b[''+(_0x1940c8+_0x53edbb)]=_0x1d8eaf['info'][_0x1940c8]),_0x1d8eaf[_0x2babcd(0x221)][_0x1940c8]&&(_0x5b6680[''+(_0x1940c8+_0x3bf78c)]=_0x1d8eaf['headerMap'][_0x1940c8]);}const _0x164840=_0x3fc64d['getRowCount'](),_0x3c9db9=_0x3fc64d['getColCount']();for(let _0x1704ca=0x0;_0x1704ca<_0x164840;_0x1704ca++)for(let _0x1dfee8=0x0;_0x1dfee8<_0x3c9db9;_0x1dfee8++){const _0xe85f0={...(_0x560286=(_0xe5435d=_0x3fc64d[_0x2babcd(0x435)])==null?void 0x0:_0xe5435d[_0x1704ca])==null?void 0x0:_0x560286[_0x1dfee8]};let _0x198bad;_0x1d8eaf[_0x2babcd(0x1ac)][_0x1704ca][_0x2babcd(0x3c2)]?_0x198bad=_0x1d8eaf['info'][_0x1704ca]['level']===0x0?_0x315c8b['grandTotal']:_0x315c8b[_0x2babcd(0x2a6)]:_0x198bad=_0x315c8b[_0x2babcd(0x35b)];const _0xf0e75e=_0x1d8eaf['info'][_0x1704ca][_0x2babcd(0x33d)],_0x2675e8=_0x5b95f2[_0x2babcd(0x1ac)][_0x1dfee8]['valueIndex'],_0x4c9840=Math['max'](_0xf0e75e,_0x2675e8),_0x48b1e6=_0x23d035[_0x2babcd(0x227)][_0x2babcd(0x2f4)][_0x2babcd(0x408)]();let _0x217b66='';_0x4c9840<0x0?_0x217b66=(_0x4ec850=_0x48b1e6[0x0])!=null?_0x4ec850:'':_0x217b66=(_0x30fe9a=_0x48b1e6[_0x4c9840])!=null?_0x30fe9a:'';const _0x1ca2ab=_0x41122f[_0x217b66];_0x1ca2ab&&(_0x198bad={..._0x198bad,'n':{'pattern':_0x1ca2ab}}),_0x501ae2['setValue'](_0x1704ca+_0x53edbb,_0x1dfee8+_0xcabb2c,_0x114fd4(_0x6f6d79,_0xe85f0,_0x198bad));}return{'valueMatrix':_0x501ae2,'rowInfo':_0x43e63b,'colInfo':_0x5b0068,'cornerInfo':_0xa250ba,'rowHeaderMap':_0x5b6680,'colHeaderMap':_0x66e2a4};};function _0x404244(_0x1ded13,_0x319d5e,_0x5d8284,_0x4af395){const _0x15e0fb=_0x15ffdc;let _0x554434=_0x1ded13['v'];_0x319d5e&&(_0x554434=''+_0x4af395[_0x15e0fb(0x20d)]);const _0xd13d85=_0x1ded13['t']&&(_0x1ded13['t']&_0x31fd0d['PivotViewCellValueTypeEnum'][_0x15e0fb(0x43e)])>0x0;_0xd13d85&&(_0x554434=''+_0x4af395['sheets-pivot.blank']);const _0xf8f102=_0x1ded13['t']&&(_0x1ded13['t']&_0x31fd0d[_0x15e0fb(0x24a)][_0x15e0fb(0x27a)])>0x0;if(_0xf8f102&&(_0x554434=''+_0x4af395[_0x15e0fb(0x24c)]),_0x1ded13['s']===_0x31fd0d[_0x15e0fb(0x45c)][_0x15e0fb(0x206)]){let _0xcbf23c=_0x554434,_0x36ee86='';_0x31fd0d[_0x15e0fb(0x1bc)](_0x554434)&&(_0xcbf23c=_0x554434[_0x15e0fb(0x199)],_0x36ee86=_0x554434['value']);const _0x5b32a6=_0x5d8284&&!_0xd13d85&&!_0xf8f102?_0x578498[_0x15e0fb(0x3bd)][_0x15e0fb(0x313)](_0x5d8284,Number(_0xcbf23c)):_0xcbf23c;_0x36ee86?_0x554434=_0x5b32a6+'\x20'+_0x36ee86:_0x554434=_0x5b32a6+'\x20'+_0x4af395[_0x15e0fb(0x1b7)];}else _0x1ded13['s']===_0x31fd0d[_0x15e0fb(0x45c)][_0x15e0fb(0x3e9)]&&(_0x554434=_0x554434+'\x20'+_0x4af395['sheets-pivot.grandTotal']);return _0x554434;}function _0x4ba968(_0x1b6be5){const _0x1f7d69=_0x15ffdc;if(_0x31fd0d[_0x1f7d69(0x3d5)](_0x1b6be5)){const {errorType:_0x6f944b}=_0x1b6be5;switch(_0x6f944b){case _0x31fd0d[_0x1f7d69(0x430)][_0x1f7d69(0x370)]:return _0x2cbd7b['ErrorType']['DIV_BY_ZERO'];case _0x31fd0d[_0x1f7d69(0x430)][_0x1f7d69(0x401)]:return _0x2cbd7b[_0x1f7d69(0x2a1)]['NUM'];case _0x31fd0d[_0x1f7d69(0x430)]['NotFunction']:return _0x2cbd7b[_0x1f7d69(0x2a1)][_0x1f7d69(0x1fb)];case _0x31fd0d['PivotErrorTypeEnum'][_0x1f7d69(0x1b9)]:return _0x2cbd7b[_0x1f7d69(0x2a1)]['NAME'];case _0x31fd0d[_0x1f7d69(0x430)][_0x1f7d69(0x329)]:return _0x2cbd7b[_0x1f7d69(0x2a1)][_0x1f7d69(0x3e3)];}}return _0x1b6be5;}function _0x1342b0(_0x496b85,_0x20832d,_0x1abeca=!0x1,_0x1fd0e7=!0x1){const _0x28be0d=_0x15ffdc,{data:_0x395bb2}=_0x20832d,_0x241efc=_0x20832d['getRowCount'](),_0x585707=_0x20832d[_0x28be0d(0x410)]();if(_0x241efc<=0x0||_0x585707<=0x0)return[];const _0x33fae3=_0x20832d['getLastCol'](),_0x55c484=_0x20832d[_0x28be0d(0x193)](),_0x17e403=_0x1fd0e7?_0x55c484>=0x0?_0x55c484+0x1:0x0:_0x241efc,_0x128879=_0x1fd0e7?_0x33fae3>=0x0?_0x33fae3+0x1:0x0:_0x585707,{row:_0x3fcd18,col:_0x3d01e4}=_0x496b85,_0xfa3535=_0x3fcd18,_0x4d0e58=_0x3d01e4;if(_0x1abeca){const _0x2160f2=[];for(const [_0x45f9ba,_0x2a16f6]of Object[_0x28be0d(0x404)](_0x395bb2))for(const [_0x266e7f,_0x4a8459]of Object[_0x28be0d(0x404)](_0x2a16f6))_0x2160f2[_0x28be0d(0x23e)](_0x578498['cellToRange'](_0xfa3535+Number(_0x45f9ba),_0x4d0e58+Number(_0x266e7f)));return _0x2160f2;}else{const _0x224ac0=_0x1fd0e7?_0x17e403>0x0?0x1:0x0:0x1,_0xaac5ba=_0x1fd0e7?_0x128879>0x0?0x1:0x0:0x1,_0x13e897=_0x3fcd18+_0x17e403-_0x224ac0,_0x34a193=_0x3d01e4+_0x128879-_0xaac5ba;return[{'startRow':_0xfa3535,'startColumn':_0x4d0e58,'endRow':_0x13e897,'endColumn':_0x34a193}];}}const _0x98d9f3=_0x15ffdc(0x251),_0xb34a8a='SHEET_PIVOT_EXCLUSIVE_ID';var _0x28ab98=(_0x10f715=>(_0x10f715[_0x15ffdc(0x33a)]=_0x15ffdc(0x2f6),_0x10f715[_0x15ffdc(0x3b8)]='panel',_0x10f715[_0x15ffdc(0x44f)]=_0x15ffdc(0x394),_0x10f715[_0x15ffdc(0x3f5)]=_0x15ffdc(0x3f5),_0x10f715[_0x15ffdc(0x1cd)]='addPivotTable',_0x10f715[_0x15ffdc(0x274)]=_0x15ffdc(0x2da),_0x10f715[_0x15ffdc(0x2fe)]=_0x15ffdc(0x37a),_0x10f715[_0x15ffdc(0x1ca)]=_0x15ffdc(0x21c),_0x10f715['SetPivotFilter']=_0x15ffdc(0x384),_0x10f715['SetPivotSort']='setPivotSort',_0x10f715[_0x15ffdc(0x32a)]=_0x15ffdc(0x33f),_0x10f715[_0x15ffdc(0x369)]=_0x15ffdc(0x40a),_0x10f715[_0x15ffdc(0x20b)]=_0x15ffdc(0x3d9),_0x10f715[_0x15ffdc(0x3eb)]=_0x15ffdc(0x197),_0x10f715[_0x15ffdc(0x1bf)]=_0x15ffdc(0x3c7),_0x10f715[_0x15ffdc(0x1ee)]=_0x15ffdc(0x3f1),_0x10f715[_0x15ffdc(0x2fa)]=_0x15ffdc(0x332),_0x10f715))(_0x28ab98||{});const _0x2f7e60={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x15ffdc(0x1c3),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x15ffdc(0x2f7),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x15ffdc(0x39c),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x15ffdc(0x1a4),'sheets-pivot.maxName':_0x15ffdc(0x209),'sheets-pivot.minName':_0x15ffdc(0x383),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x15ffdc(0x2e0),'sheets-pivot.stdDevpName':_0x15ffdc(0x187),'sheets-pivot.sumName':_0x15ffdc(0x268),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x15ffdc(0x468),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x15ffdc(0x2f7),'sheets-pivot.value':'value','sheets-pivot.blank':_0x15ffdc(0x43e),'sheets-pivot.other':_0x15ffdc(0x27a),'sheets-pivot.emptyPivot.filter':_0x15ffdc(0x33a),'sheets-pivot.emptyPivot.row':_0x15ffdc(0x289),'sheets-pivot.emptyPivot.column':_0x15ffdc(0x3e0),'sheets-pivot.emptyPivot.values':_0x15ffdc(0x3cf)},_0x520f4a={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0xa3c025=_0x578498['createAsyncInterceptorKey'](_0x15ffdc(0x443)),_0x545318=_0x578498['createInterceptorKey']('pivotMutationGenerate');var _0x5cd348=(_0x1c2bcf=>(_0x1c2bcf[_0x15ffdc(0x34b)]='add',_0x1c2bcf[_0x15ffdc(0x2f5)]=_0x15ffdc(0x2f5),_0x1c2bcf['update']=_0x15ffdc(0x479),_0x1c2bcf))(_0x5cd348||{}),_0x4f3f1d=(_0x2d3add=>(_0x2d3add[_0x15ffdc(0x40e)]=_0x15ffdc(0x34b),_0x2d3add[_0x15ffdc(0x1d4)]='set',_0x2d3add[_0x15ffdc(0x1a9)]=_0x15ffdc(0x2f5),_0x2d3add))(_0x4f3f1d||{});const _0x4cb55e={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':_0x15ffdc(0x2cb),'handler':()=>!0x0},_0xaa0e3={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x2bf189={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x1f7500={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x1fc3c8={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':_0x15ffdc(0x38f),'handler':()=>!0x0};var _0x49cc42=Object[_0x15ffdc(0x35e)],_0x4ade68=(_0x5bf854,_0x24d4d9,_0x14ae95,_0x4455c9)=>{const _0x126e57=_0x15ffdc;for(var _0xceb280=_0x4455c9>0x1?void 0x0:_0x4455c9?_0x49cc42(_0x24d4d9,_0x14ae95):_0x24d4d9,_0x40b5ea=_0x5bf854[_0x126e57(0x366)]-0x1,_0x298fa4;_0x40b5ea>=0x0;_0x40b5ea--)(_0x298fa4=_0x5bf854[_0x40b5ea])&&(_0xceb280=_0x298fa4(_0xceb280)||_0xceb280);return _0xceb280;},_0x48978d=(_0x4c97f1,_0x1f61be)=>(_0x41103d,_0x5aa80f)=>_0x1f61be(_0x41103d,_0x5aa80f,_0x4c97f1);_0xc8ae41[_0x15ffdc(0x3d7)]=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x14500c){const _0x26fc7a=_0x15ffdc;super(),_0x2518e1(this,'_requestResolvers',new Map()),this[_0x26fc7a(0x1f3)]=_0x14500c;}['handleAsyncResponse'](_0x4b2d34){const _0x375feb=_0x15ffdc,{version:_0x4c3198}=_0x4b2d34,_0x20e289=this[_0x375feb(0x3b3)][_0x375feb(0x1b6)](_0x4c3198);_0x20e289&&(_0x20e289(_0x4b2d34),this[_0x375feb(0x3b3)][_0x375feb(0x2f5)](_0x4c3198));}[_0x15ffdc(0x2d0)](_0x276f71){return new Promise((_0x559a59,_0x430c3b)=>{const _0x58dd5b=_0x5250,_0x543f66=this[_0x58dd5b(0x293)]();this[_0x58dd5b(0x3b3)][_0x58dd5b(0x234)](_0x543f66,_0x559a59),this[_0x58dd5b(0x1f3)][_0x58dd5b(0x41f)](_0x4cb55e['id'],{'version':_0x543f66,..._0x276f71},{'onlyLocal':!0x0});});}[_0x15ffdc(0x293)](){const _0xad7b23=_0x15ffdc;return Math[_0xad7b23(0x2f1)]()[_0xad7b23(0x2ae)](0x24)[_0xad7b23(0x490)](0x2,0x10);}},_0xc8ae41[_0x15ffdc(0x3d7)]=_0x4ade68([_0x48978d(0x0,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x339)]))],_0xc8ae41[_0x15ffdc(0x3d7)]);const _0x1fd1df={0x0:'G',0x1:'f',0x2:'u',0x3:'J',0x4:'p',0x5:'a',0x6:'9',0x7:'s',0x8:'b',0x9:'T','o':'0','v':'1','Y':'2','L':'3','M':'4','t':'5','s':'6','w':'7','E':'8','F':'c','a':'d','R':'e','h':'g','D':'h','p':'i','n':'j','l':'k','x':'l','B':'m','i':'n','d':'o','P':'q','f':'r','U':'t','y':'v','j':'w','V':'x','Q':'y','b':'z','S':'A','q':'B','g':'C','G':'D','C':'E','e':'F','A':'H','r':'I','H':'K','Z':'L','I':'M','T':'N','J':'O','k':'P','m':'Q','u':'R','N':'S','z':'U','W':'V','K':'W','X':'X','c':'Y','O':'Z'},_0x3a7d52='12iFUpdi\x20aRFfQ4Updi(xpFRi7R,\x20428xpFHRQ)\x20{\x20\x20\x20\x20UfQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20xpFRi7Rri1dk5fUSff5Q\x20=\x20xpFRi7R.74xpU(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20dfphpiIR775hR\x20=\x203NJT.45f7R(5Ud8(xpFRi7Rri1dk5fUSff5Q[Y]));\x20\x20\x20\x20\x20\x20\x20\x20p1\x20(!dfphpiIR775hR.2a)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dfphpiIR775hR.2a\x20=\x20T2B8Rf(xpFRi7Rri1dk5fUSff5Q[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20p7KdflRf\x20=\x20UQ4Rd1\x20KdflRf0xd85xNFd4R\x20!==\x20\x272iaR1piRa\x27\x20&&\x207Rx1\x20pi7U5iFRd1\x20KdflRf0xd85xNFd4R;\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20p7qfdj7Rf\x20=\x20UQ4Rd1\x20jpiadj\x20!==\x20\x272iaR1piRa\x27\x20&&\x20UQ4Rd1\x20jpiadj.xdF5Updi\x20!==\x20\x272iaR1piRa\x27;\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20FdiURVU\x20=\x20p7KdflRf\x20?\x207Rx1\x20:\x20(p7qfdj7Rf\x20?\x20jpiadj\x20:\x20hxd85x9Dp7);\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20BR775hRKdfa\x20=\x20FdiURVU.__q57RsM__.45f7R(xpFRi7Rri1dk5fUSff5Q[Y]);\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20BR775hR\x20=\x20FdiURVU.__ARV__.7Ufpihp1Q(BR775hRKdfa);\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x207phi5U2fRKdfa\x20=\x20FdiURVU.__q57RsM__.45f7R(xpFRi7Rri1dk5fUSff5Q[L]);\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x207phi5U2fR\x20=\x20FdiURVU.__ARV__.7Ufpihp1Q(7phi5U2fRKdfa);\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x207phiW5xpa\x20=\x20FdiURVU.__yRfp1Q__(7phi5U2fR,\x20BR775hR,\x20428xpFHRQ);\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20adB5pi\x20=\x20dfphpiIR775hR.aB;\x20\x20\x20\x20\x20\x20\x20\x2012iFUpdi\x20p7GdB5piI5UFDpih(dk5UURfi,\x20dAd7U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x2045UURfi\x20=\x20dk5UURfi.fR4x5FR(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20Dd7U\x20=\x20dAd7U.fR4x5FR(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x2045UURfik5fU7\x20=\x2045UURfi.74xpU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20Dd7Uk5fU7\x20=\x20Dd7U.74xpU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20p1\x20(!45UURfi.piFx2aR7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRU2fi\x2045UURfi\x20===\x20Dd7U;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20p1\x20(45UURfik5fU7.xRihUD\x20<\x20Y\x20||\x2045UURfik5fU7[o]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRU2fi\x2015x7R;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x2045UURfiN211pV\x20=\x2045UURfik5fU7.7xpFR(v).ndpi(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20Dd7UN211pV\x20=\x20Dd7Uk5fU7.7xpFR(-45UURfik5fU7.xRihUD\x20+\x20v).ndpi(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRU2fi\x2045UURfiN211pV\x20===\x20Dd7UN211pV;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xRU\x20adB5piW5xpa\x20=\x2015x7R;\x20\x20\x20\x20\x20\x20\x20\x20p1\x20(p7qfdj7Rf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20adB5piW5xpa\x20=\x20(adB5pi\x20&&\x20adB5pi.xRihUD)\x20?\x20adB5pi.7dBR((aBrURB)\x20=>\x20p7GdB5piI5UFDpih(aBrURB,\x20xdF5Updi.Dd7Ui5BR))\x20:\x20Uf2R;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20p1\x20(xdF5Updi.Dd7Ui5BR\x20===\x20\x27xdF5xDd7U\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20adB5piW5xpa\x20=\x20Uf2R;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20Rx7R\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20adB5piW5xpa\x20=\x20Uf2R;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Fdi7U\x20y5xpa\x20=\x207phiW5xpa\x20&&\x20adB5piW5xpa;\x20\x20\x20\x20\x20\x20\x20\x20fRU2fi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20y5xpa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BR775hR:\x20dfphpiIR775hR,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20F5UFD\x20(Rffdf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20fRU2fi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20y5xpa:\x2015x7R,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BR775hR:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x5adea8=_0x4e4d84=>{const _0x501963=_0x15ffdc;var _0x57d200;return((_0x57d200=_0x4e4d84[_0x501963(0x2f8)])==null?void 0x0:_0x57d200[_0x501963(0x453)][_0x501963(0x2b3)](/\r\n$/,''))||'';};class _0x515872 extends _0x31fd0d[_0x15ffdc(0x1f2)]{constructor(_0x779604,_0x4fc80d){const _0x513b9e=_0x15ffdc;super(),_0x2518e1(this,_0x513b9e(0x42f),{}),_0x2518e1(this,'_univerInstanceService'),_0x2518e1(this,_0x513b9e(0x1cf)),(this[_0x513b9e(0x43a)]=_0x4fc80d,this[_0x513b9e(0x1cf)]=_0x779604);}[_0x15ffdc(0x3dd)](){const _0x4a2c78=_0x15ffdc;for(const _0x541a94 in this[_0x4a2c78(0x46a)]){const _0x231683=this[_0x4a2c78(0x46a)][_0x541a94],_0x39b950=_0x231683[_0x4a2c78(0x261)]();this[_0x4a2c78(0x42f)][_0x39b950]=_0x231683[_0x4a2c78(0x3ce)]();}}[_0x15ffdc(0x1f8)](){const _0x4d6c80=_0x15ffdc,_0x3e7674=this[_0x4d6c80(0x1cf)];return _0x4f2dfa[_0x4d6c80(0x3e4)](_0x3e7674);}[_0x15ffdc(0x3fa)](_0x2bb572){const _0x465f06=_0x15ffdc,_0x554b12=this[_0x465f06(0x46a)][_0x2bb572]['rangeKey'];delete this[_0x465f06(0x46a)][_0x2bb572],delete this['rangeKeyMap'][_0x554b12];}[_0x15ffdc(0x303)](_0xf401de){const _0x4704e1=_0x15ffdc;this['dataFields'][_0xf401de[_0x4704e1(0x3ce)]()]=_0xf401de;}[_0x15ffdc(0x36c)](_0x32f660){const _0x2117b2=_0x15ffdc;var _0x35afc2,_0x278da9;const _0x158b81=this[_0x2117b2(0x1cf)][_0x2117b2(0x3b9)](_0x32f660);if(_0x158b81){const {unitId:_0x4fe592,subUnitId:_0x559d3c}=_0x158b81,_0xe59fbc=(_0x35afc2=this[_0x2117b2(0x1cf)][_0x2117b2(0x1d5)](_0x4fe592,_0x559d3c,_0x32f660))==null?void 0x0:_0x35afc2[_0x2117b2(0x3b2)];this[_0x2117b2(0x1cf)][_0x2117b2(0x411)]({'token':_0x32f660,'type':_0x5cd348[_0x2117b2(0x2f5)],'dataRangeInfo':_0xe59fbc});}(_0x278da9=this[_0x2117b2(0x39f)](_0x32f660))==null||_0x278da9[_0x2117b2(0x413)](),delete this[_0x2117b2(0x28b)][_0x32f660];}[_0x15ffdc(0x261)](_0xcd39d3,_0x558fa9){const {sheetName:_0x378d42,unitId:_0x311c80,range:_0x45c617}=_0xcd39d3,{startRow:_0x2e351d,endRow:_0xd1308}=_0x45c617;return _0x2cbd7b['serializeRangeWithSpreadsheet'](_0x311c80,_0x378d42,{'startRow':_0x2e351d,'endRow':_0xd1308,'startColumn':_0x558fa9,'endColumn':_0x558fa9});}[_0x15ffdc(0x304)](_0x2fffcd){const _0x246a9f=_0x15ffdc;return this[_0x246a9f(0x46a)][this[_0x246a9f(0x42f)][_0x2fffcd]];}[_0x15ffdc(0x22b)](_0xad73bb,_0x1992db){const _0x84faf3=_0x15ffdc;this[_0x84faf3(0x42f)][_0xad73bb]=_0x1992db;}['updateRangeKeyMap'](_0xff4573,_0x3b3bb0){const _0x58d777=_0x15ffdc;this[_0x58d777(0x42f)][_0x3b3bb0]=this[_0x58d777(0x42f)][_0xff4573],delete this[_0x58d777(0x42f)][_0xff4573];}[_0x15ffdc(0x30a)](_0x5d0381,_0x2a658d,_0x34219d,_0x179285){const _0x8aadc7=_0x15ffdc,_0x1b522a=new _0x31fd0d['FieldsCollection'](this);_0x1b522a[_0x8aadc7(0x223)](_0x2a658d);const _0x5b53b8=[];let _0x532dc8=0x0;for(const _0x491bc2 of _0x1b522a['fieldIds']){const _0x1db2a1=this[_0x8aadc7(0x261)](_0x34219d,_0x532dc8),_0x3447c9=this[_0x8aadc7(0x46a)][_0x491bc2];_0x3447c9&&(_0x3447c9['rangeKey']=_0x1db2a1,this[_0x8aadc7(0x22b)](_0x1db2a1,_0x491bc2),_0x5b53b8['push']({'index':_0x532dc8,'dataField':_0x3447c9})),_0x532dc8++;}return this[_0x8aadc7(0x2aa)](_0x5d0381,_0x1b522a,_0x34219d,_0x179285),{'collection':_0x1b522a,'updateDataFieldList':_0x5b53b8};}[_0x15ffdc(0x3b1)](_0x1fb93b,_0x37090c){const _0xdbaaaf=_0x15ffdc;return _0x1fb93b[_0xdbaaaf(0x446)]===_0x578498[_0xdbaaaf(0x371)][_0xdbaaaf(0x1ab)]?{'startRow':0x0,'startColumn':_0x1fb93b[_0xdbaaaf(0x228)],'endRow':_0x37090c[_0xdbaaaf(0x26c)]()-0x1,'endColumn':_0x1fb93b[_0xdbaaaf(0x333)]}:{'startRow':_0x1fb93b[_0xdbaaaf(0x458)],'startColumn':_0x1fb93b[_0xdbaaaf(0x228)],'endRow':_0x1fb93b[_0xdbaaaf(0x219)],'endColumn':_0x1fb93b[_0xdbaaaf(0x333)]};}['createCollectionWithDataRange'](_0x25df18){const _0xbd05b9=_0x15ffdc,{sheetName:_0x417644,range:_0x1c29aa}=_0x25df18,_0x572526=this['_univerInstanceService'][_0xbd05b9(0x321)](_0x578498[_0xbd05b9(0x1f6)][_0xbd05b9(0x185)]),_0x428800=_0x572526[_0xbd05b9(0x403)](_0x417644),_0x10aba0=_0x428800['getCellMatrix'](),{startColumn:_0x33de84,startRow:_0xa73ccb,endColumn:_0x5ddc1a}=this[_0xbd05b9(0x3b1)](_0x1c29aa,_0x428800),_0x392ddb=_0x572526[_0xbd05b9(0x3bb)](),_0x655523=new _0x31fd0d['FieldsCollection'](this);_0x655523[_0xbd05b9(0x260)](_0x25df18);const _0xee73f6=[],_0x438328={};for(let _0x5c0027=_0x33de84;_0x5c0027<=_0x5ddc1a;_0x5c0027++){const _0x14ef7a=_0x10aba0['getValue'](_0xa73ccb,_0x5c0027),_0xa0791f=this[_0xbd05b9(0x261)](_0x25df18,_0x5c0027),_0x4f060f=this[_0xbd05b9(0x304)](_0xa0791f);if(_0x4f060f)_0x655523['addField'](_0x4f060f[_0xbd05b9(0x3ce)](),_0x4f060f[_0xbd05b9(0x2bb)]());else{const _0x347185=this[_0xbd05b9(0x22a)]();let _0x1e6f96=this[_0xbd05b9(0x47e)](_0x14ef7a,_0x392ddb,_0x438328);_0x31fd0d[_0xbd05b9(0x245)](_0x1e6f96)&&(_0x1e6f96=_0x578498[_0xbd05b9(0x3bd)]['format'](_0x1e6f96['f'],Number(_0x1e6f96['v'])));const _0x5112bd=this[_0xbd05b9(0x41a)](_0x1e6f96,_0x5c0027),_0x44f914=new _0x31fd0d[(_0xbd05b9(0x2d6))](_0x347185,_0x5112bd,_0x31fd0d[_0xbd05b9(0x3a8)](0x3));_0x44f914[_0xbd05b9(0x18f)]=_0xa0791f,this[_0xbd05b9(0x46a)][_0x347185]=_0x44f914,_0x655523[_0xbd05b9(0x488)](_0x347185,_0x5112bd),_0xee73f6[_0xbd05b9(0x23e)]({'index':_0x5c0027,'dataField':_0x44f914});}}return{'updateDataFieldList':_0xee73f6,'collection':_0x655523};}[_0x15ffdc(0x1b1)](_0x11691b){const _0x567da9=_0x15ffdc;return this[_0x567da9(0x1cf)]['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x578498[_0x567da9(0x46f)](_0x11691b);}[_0x15ffdc(0x41a)](_0x1a5f2b,_0x1363da){return _0x1a5f2b==null||_0x1a5f2b===''?this['_getAutoName'](_0x1363da):String(_0x1a5f2b);}[_0x15ffdc(0x39f)](_0x33ea1f){const _0xdc231e=_0x15ffdc;return this[_0xdc231e(0x28b)][_0x33ea1f];}[_0x15ffdc(0x2aa)](_0x47fd47,_0xfb48dd,_0x5726b4,_0x1c931f){const _0x39a726=_0x15ffdc;this[_0x39a726(0x28b)][_0x47fd47]=_0xfb48dd,_0xfb48dd['setRange'](_0x5726b4),this[_0x39a726(0x1cf)][_0x39a726(0x411)]({'token':_0x47fd47,'type':_0x5cd348[_0x39a726(0x34b)],'dataRangeInfo':_0x5726b4,'targetCellInfo':_0x1c931f});}[_0x15ffdc(0x21f)](_0x33d51f,_0x32cdb8){const _0x2d75ec=_0x15ffdc,_0x462241=this[_0x2d75ec(0x39f)](_0x33d51f),_0x15f915=_0x462241[_0x2d75ec(0x2d8)]();let _0x559aed=0x0;for(const _0xf7cd56 of _0x15f915){const _0x41dc21=_0x462241[_0x2d75ec(0x45e)](_0xf7cd56),_0x245397=this[_0x2d75ec(0x261)](_0x32cdb8,_0x559aed);this['updateRangeKeyMap'](_0x41dc21['rangeKey'],_0x245397),_0x559aed++;}}[_0x15ffdc(0x45f)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x3ee875,_0x41d329){const _0x2b5009=_0x15ffdc;if(this[_0x2b5009(0x39f)](_0x3ee875)){const _0x5d9b88=this[_0x2b5009(0x364)](_0x41d329),_0xd2043d=[];for(const _0x4cd04d of _0x5d9b88)this[_0x2b5009(0x42f)][_0x4cd04d]!==void 0x0&&_0xd2043d[_0x2b5009(0x23e)](this[_0x2b5009(0x42f)][_0x4cd04d]);const _0x225a51=this[_0x2b5009(0x2c5)](_0x3ee875),_0x39e0a7=[],_0x20ef3b=new Set(_0xd2043d);for(const _0x3930a6 of _0x225a51)_0x20ef3b[_0x2b5009(0x392)](_0x3930a6)||_0x39e0a7[_0x2b5009(0x23e)](_0x3930a6);return _0x39e0a7;}}[_0x15ffdc(0x1df)](_0x528e06,_0x3b43ed,_0x1390da,_0x5f3939,_0x5bbdbf){const _0x32939e=_0x15ffdc;return _0x3b43ed&&_0x3b43ed[_0x32939e(0x1f5)](_0x5f3939,_0x5bbdbf)?_0x3b43ed['getValue'](_0x5f3939,_0x5bbdbf):_0x1390da&&_0x1390da[_0x32939e(0x1f5)](_0x5f3939,_0x5bbdbf)?_0x1390da[_0x32939e(0x1f5)](_0x5f3939,_0x5bbdbf):_0x528e06['getValue'](_0x5f3939,_0x5bbdbf);}[_0x15ffdc(0x489)](_0x5af332,_0x5ade70,_0x8b75d7,_0x5c7941){const _0x567797=_0x15ffdc,_0x34f0b2=this[_0x567797(0x46a)][_0x5af332];if(!_0x34f0b2)return;const {subUnitId:_0x47446b,range:_0x2c4098,unitId:_0x35a30e}=_0x5ade70,_0x2db26f=this['_univerInstanceService'][_0x567797(0x3ef)](_0x35a30e);if(!_0x2db26f){console['error']('workbook\x20is\x20not\x20found');return;}const _0x5ae741=_0x2db26f[_0x567797(0x375)](_0x47446b),_0x2a3510=_0x5ae741[_0x567797(0x3df)](),{arrayFormulaCellDataMatrix:_0x45f82a,unitDataMatrix:_0x1dd5ab}=_0x5c7941||{},{startRow:_0x80ad40,startColumn:_0x4241a8,endRow:_0x124b5a}=this[_0x567797(0x3b1)](_0x2c4098,_0x5ae741);_0x34f0b2[_0x567797(0x294)]();const _0x35e251=_0x2db26f['getStyles'](),_0x5594d5={},_0x195f65=this[_0x567797(0x1df)](_0x2a3510,_0x45f82a,_0x1dd5ab,_0x80ad40,_0x4241a8+_0x8b75d7);let _0x14ae2e=this[_0x567797(0x47e)](_0x195f65,_0x35e251,_0x5594d5);_0x31fd0d[_0x567797(0x245)](_0x14ae2e)&&(_0x14ae2e=_0x578498['numfmt'][_0x567797(0x313)](_0x14ae2e['f'],Number(_0x14ae2e['v'])));const _0x334ef7=this[_0x567797(0x41a)](_0x14ae2e,_0x4241a8+_0x8b75d7);_0x34f0b2['setName'](_0x334ef7);for(let _0x8483bf=_0x80ad40+0x1;_0x8483bf<=_0x124b5a;_0x8483bf++){const _0x1c6bea=this['getMatrixValue'](_0x2a3510,_0x45f82a,_0x1dd5ab,_0x8483bf,_0x4241a8+_0x8b75d7);_0x34f0b2['addRecord'](this[_0x567797(0x47e)](_0x1c6bea,_0x35e251,_0x5594d5),_0x8483bf-0x1-_0x80ad40);}}[_0x15ffdc(0x434)](_0x226a28,_0x49f8a7,_0x1256d1){const _0x17ca43=_0x15ffdc,{subUnitId:_0x4d066b,range:_0x2367c3,unitId:_0x77a7b2}=_0x1256d1,_0x47942f=this[_0x17ca43(0x43a)][_0x17ca43(0x3ef)](_0x77a7b2);if(!_0x47942f){console[_0x17ca43(0x409)]('workbook\x20is\x20not\x20found');return;}const _0x4dcc2f=_0x47942f[_0x17ca43(0x375)](_0x4d066b),_0x28c70a=_0x4dcc2f[_0x17ca43(0x3df)](),{startRow:_0x52a315,startColumn:_0x2abdd4,endRow:_0x19e190}=this[_0x17ca43(0x3b1)](_0x2367c3,_0x4dcc2f),_0x2ae861=_0x47942f['getStyles'](),_0x17a1dc={};for(const {dataField:_0x1f12f8,index:_0xb46b02}of _0x49f8a7){_0x1f12f8['reset']();const _0x5c4f80=this[_0x17ca43(0x1df)](_0x28c70a,void 0x0,void 0x0,_0x52a315,_0x2abdd4+_0xb46b02);let _0x5ca0dd=this[_0x17ca43(0x47e)](_0x5c4f80,_0x2ae861,_0x17a1dc);_0x31fd0d[_0x17ca43(0x245)](_0x5ca0dd)&&(_0x5ca0dd=_0x578498[_0x17ca43(0x3bd)][_0x17ca43(0x313)](_0x5ca0dd['f'],Number(_0x5ca0dd['v'])));const _0xcf26ca=this['uniqueDataFieldName'](_0x5ca0dd,_0x2abdd4+_0xb46b02);_0x1f12f8[_0x17ca43(0x457)](_0xcf26ca);}_0x226a28[_0x17ca43(0x2df)]();for(let _0x2add8c=_0x52a315+0x1;_0x2add8c<=_0x19e190;_0x2add8c++)for(const {index:_0x35808c,dataField:_0x308154}of _0x49f8a7){const _0x4bacca=_0x28c70a[_0x17ca43(0x1f5)](_0x2add8c,_0x2abdd4+_0x35808c);_0x308154[_0x17ca43(0x3a2)](this[_0x17ca43(0x47e)](_0x4bacca,_0x2ae861,_0x17a1dc),_0x2add8c-0x1-_0x52a315);}_0x226a28[_0x17ca43(0x2a4)](_0x19e190-_0x52a315);}[_0x15ffdc(0x364)](_0x1613e0){const _0x54c340=_0x15ffdc,{range:_0x5f1291}=_0x1613e0,{startColumn:_0xe8fbf8,endColumn:_0xe0cedd}=_0x5f1291,_0xb01078=[];for(let _0x550939=_0xe8fbf8;_0x550939<=_0xe0cedd;_0x550939++)_0xb01078[_0x54c340(0x23e)](this[_0x54c340(0x261)](_0x1613e0,_0x550939));return _0xb01078;}[_0x15ffdc(0x47e)](_0xa838d4,_0x331318,_0x1f8203){const _0x170dcd=_0x15ffdc;if(_0xa838d4){const {s:_0x31d21e,v:_0x438395,t:_0x573b72,p:_0x56ca4b}=_0xa838d4;if(_0x56ca4b)return _0x5adea8(_0x56ca4b);const _0x1d32ca=_0x331318[_0x170dcd(0x1b6)](_0x31d21e);if(_0x1d32ca&&_0x573b72===_0x578498[_0x170dcd(0x2a3)][_0x170dcd(0x3a7)]&&_0x1d32ca['n']){const {pattern:_0x3c5eaf}=_0x1d32ca['n'];_0x1f8203[_0x3c5eaf]||(_0x1f8203[_0x3c5eaf]=_0x578498['numfmt'][_0x170dcd(0x3c1)](_0x3c5eaf));const _0x4f55fa=_0x1f8203[_0x3c5eaf],_0x4b49f5=_0x4f55fa['isDate'];if(_0x4f55fa[_0x170dcd(0x334)])return String(_0x438395);if(_0x4b49f5)return{'v':_0x438395,'f':_0x3c5eaf};}if(_0x573b72===_0x578498[_0x170dcd(0x2a3)][_0x170dcd(0x3a7)])return Number(_0x438395);if(_0x573b72===_0x578498[_0x170dcd(0x2a3)][_0x170dcd(0x2c2)]||_0x573b72===_0x578498['CellValueType'][_0x170dcd(0x2e2)])return String(_0x438395);if(_0x573b72===void 0x0){const _0x27c32d=Number(_0x438395);if(!Number[_0x170dcd(0x40c)](_0x27c32d)&&String(_0x27c32d)===_0x438395)return _0x27c32d;}return _0x438395!=null?_0x438395:null;}else return null;}[_0x15ffdc(0x1d1)](_0x517052){const _0x245e24=_0x15ffdc,{sheetName:_0x554a96,range:_0x30365b,unitId:_0x4b138c}=_0x517052,_0x3c7cf5=this[_0x245e24(0x43a)][_0x245e24(0x3ef)](_0x4b138c);if(!_0x3c7cf5)return console[_0x245e24(0x409)](_0x245e24(0x45a)),{'header':[],'data':[]};const _0x5d227e=_0x3c7cf5[_0x245e24(0x403)](_0x554a96),_0x17a76d=_0x5d227e[_0x245e24(0x3df)](),{startRow:_0x17ab19,startColumn:_0x5bcb53,endRow:_0x33e174,endColumn:_0x324100}=this[_0x245e24(0x3b1)](_0x30365b,_0x5d227e),_0x6a4c2e=_0x3c7cf5[_0x245e24(0x3bb)](),_0x134ca9=[],_0x38020b=[],_0x3c729d={};for(let _0x5609f6=_0x17ab19;_0x5609f6<=_0x33e174;_0x5609f6++){const _0x1cfac5=[];for(let _0x1a3bf5=_0x5bcb53;_0x1a3bf5<=_0x324100;_0x1a3bf5++){const _0x53a7b6=_0x17a76d[_0x245e24(0x1f5)](_0x5609f6,_0x1a3bf5);_0x5609f6===_0x17ab19?_0x134ca9['push'](_0x53a7b6==null?null:String(_0x53a7b6['v'])):_0x1cfac5['push'](this[_0x245e24(0x47e)](_0x53a7b6,_0x6a4c2e,_0x3c729d));}_0x38020b[_0x245e24(0x23e)](_0x1cfac5);}return{'header':_0x134ca9,'data':_0x38020b};}['toJSON'](){const _0x4ec04c=_0x15ffdc;return super[_0x4ec04c(0x1ef)]();}[_0x15ffdc(0x223)](_0x301901){const _0x30296b=_0x15ffdc;super[_0x30296b(0x223)](_0x301901),this[_0x30296b(0x3dd)]();}[_0x15ffdc(0x413)](){const _0x432ac7=_0x15ffdc;super[_0x432ac7(0x413)](),this[_0x432ac7(0x42f)]={},this['_host']=null;}}const _0x128f04=_0x56b8bd=>{const _0x3fe5c3=_0x15ffdc,{targetCellInfo:_0x1c2b98}=_0x56b8bd,{matrixCache:_0x3822ad,rangesCache:_0x18c5f2}=_0x4c3b06({'filter':_0x3fe5c3(0x33a),'row':_0x3fe5c3(0x289),'column':_0x3fe5c3(0x3e0),'values':'Values'},_0x1c2b98),_0x3095d5=new _0x578498[(_0x3fe5c3(0x35a))]();return _0x3822ad[_0x3fe5c3(0x1d9)]((_0x5e780,_0x1a393b,_0x1bc4c7)=>{const _0x1210ba=_0x3fe5c3;_0x3095d5[_0x1210ba(0x3d3)](_0x5e780,_0x1a393b,_0x1bc4c7);}),{'matrix':_0x3095d5,'rangesCache':_0x18c5f2};},_0x84c5f2=_0x30b1e2=>{const _0x22d22f=_0x15ffdc;let _0x572eab;if(_0x30b1e2!=null&&_0x30b1e2['v']||(_0x30b1e2==null?void 0x0:_0x30b1e2['v'])===0x0){_0x572eab||(_0x572eab={});const _0x49ebb3=_0x4ba968(_0x30b1e2['v']);typeof _0x49ebb3=='number'?_0x572eab['t']=_0x578498['CellValueType']['NUMBER']:typeof _0x49ebb3=='string'&&(_0x572eab['t']=_0x578498[_0x22d22f(0x2a3)][_0x22d22f(0x2c2)]),_0x572eab['v']=_0x49ebb3;}return _0x572eab;},_0x592e16=(_0x555088,_0x454684,_0x518b97)=>{const _0x45f68d=_0x15ffdc;var _0xf2cc42,_0x40dcf3,_0x19e97c,_0x33edde,_0x2e697d,_0x28cd59,_0x884161,_0x4dbf5d,_0x2ed207,_0x53c76f,_0x3ede4f,_0x35abfc;const {cornerView:_0x2e986a,rowView:_0x176a7c,colView:_0x31b82b,dataView:_0x59baca,pageView:_0x29a23e,formatMap:_0x213b65}=_0x555088,{row:_0x1530b9,col:_0x43522c}=_0x454684,_0x5b6e25=new _0x578498[(_0x45f68d(0x35a))]();let _0x4cbc42=_0x1530b9,_0x5d3dfc=_0x43522c;Object[_0x45f68d(0x34f)](_0x29a23e[_0x45f68d(0x435)])[_0x45f68d(0x3fd)](_0x4a862d=>{const _0x10f151=_0x45f68d;Object[_0x10f151(0x34f)](_0x29a23e[_0x10f151(0x435)][Number(_0x4a862d)])[_0x10f151(0x3fd)](_0x5804e8=>{const _0x2b5a69=_0x10f151,_0x24da77={..._0x29a23e[_0x2b5a69(0x435)][Number(_0x4a862d)][Number(_0x5804e8)]};_0x5b6e25[_0x2b5a69(0x3d3)](Number(_0x4a862d)+_0x4cbc42,Number(_0x5804e8)+_0x5d3dfc,_0x84c5f2(_0x24da77));});});const _0x1a631b=Object['keys'](_0x29a23e['data'])[_0x45f68d(0x366)];_0x4cbc42+=_0x1a631b+(_0x1a631b?_0x3d21a4:0x0);const _0x4e4972=_0x2e986a['getRowCount'](),_0x429c43=_0x2e986a['getColCount']();for(let _0x10fc6b=0x0;_0x10fc6b<_0x4e4972;_0x10fc6b++)for(let _0x1dbde2=0x0;_0x1dbde2<_0x429c43;_0x1dbde2++){const _0x3ffeba={...(_0x40dcf3=(_0xf2cc42=_0x2e986a[_0x45f68d(0x435)])==null?void 0x0:_0xf2cc42[_0x10fc6b])==null?void 0x0:_0x40dcf3[_0x1dbde2]};_0x3ffeba&&((_0x19e97c=_0x176a7c['headerMap'][_0x1dbde2])!=null&&_0x19e97c['isValue'])&&_0x1dbde2===_0x429c43-0x1&&_0x10fc6b===_0x4e4972-0x1&&(_0x3ffeba['v']=''+_0x518b97['sheets-pivot.value']),_0x5b6e25['setValue'](_0x10fc6b+_0x4cbc42,_0x1dbde2+_0x5d3dfc,_0x84c5f2(_0x3ffeba));}_0x5d3dfc+=_0x429c43;const _0x46bd18=_0x31b82b[_0x45f68d(0x221)],_0x323630=_0x31b82b[_0x45f68d(0x193)]()>=0x0?_0x31b82b['getLastRow']()+0x1:0x0,_0x3766fd=_0x31b82b[_0x45f68d(0x356)]()>=0x0?_0x31b82b[_0x45f68d(0x356)]()+0x1:0x0;for(let _0xb9128=0x0;_0xb9128<_0x3766fd;_0xb9128++)for(let _0x5ee240=0x0;_0x5ee240<_0x323630;_0x5ee240++){const _0x2c1551={...(_0x2e697d=(_0x33edde=_0x31b82b[_0x45f68d(0x435)])==null?void 0x0:_0x33edde[_0xb9128])==null?void 0x0:_0x2e697d[_0x5ee240]},_0x529459=(_0x28cd59=_0x46bd18[_0xb9128])==null?void 0x0:_0x28cd59[_0x45f68d(0x271)],_0x39c0cc=_0x213b65[_0x529459];_0x2c1551&&(_0x2c1551['v']=_0x404244(_0x2c1551,_0xb9128===0x0&&((_0x884161=_0x31b82b[_0x45f68d(0x397)](_0x5ee240+0x1))==null?void 0x0:_0x884161[_0x45f68d(0x2c6)]),_0x39c0cc,_0x518b97)),_0x5b6e25['setValue'](_0xb9128+_0x4cbc42,_0x5ee240+_0x5d3dfc,_0x84c5f2(_0x2c1551));}_0x4cbc42+=_0x4e4972;const _0x201647=_0x176a7c[_0x45f68d(0x221)],_0x1d2fe4=_0x176a7c[_0x45f68d(0x193)]()>=0x0?_0x176a7c[_0x45f68d(0x193)]()+0x1:0x0,_0x5a44b4=_0x176a7c[_0x45f68d(0x356)]()>=0x0?_0x176a7c[_0x45f68d(0x356)]()+0x1:0x0;for(let _0x14ca45=0x0;_0x14ca45<_0x1d2fe4;_0x14ca45++)for(let _0x191f83=0x0;_0x191f83<_0x5a44b4;_0x191f83++){const _0xd201e1={...(_0x2ed207=(_0x4dbf5d=_0x176a7c[_0x45f68d(0x435)])==null?void 0x0:_0x4dbf5d[_0x14ca45])==null?void 0x0:_0x2ed207[_0x191f83]},_0x30027f=(_0x53c76f=_0x201647[_0x191f83])==null?void 0x0:_0x53c76f['tableFieldId'],_0x5447bd=_0x213b65[_0x30027f];_0xd201e1&&(_0xd201e1['v']=_0x404244(_0xd201e1,!0x1,_0x5447bd,_0x518b97)),_0x5b6e25[_0x45f68d(0x3d3)](_0x14ca45+_0x4cbc42,_0x191f83+_0x43522c,_0x84c5f2(_0xd201e1));}const _0x1b4263=_0x59baca['getRowCount'](),_0x449ef4=_0x59baca[_0x45f68d(0x410)]();for(let _0x14f394=0x0;_0x14f394<_0x1b4263;_0x14f394++)for(let _0x33bf4c=0x0;_0x33bf4c<_0x449ef4;_0x33bf4c++){const _0x24e3a7={...(_0x35abfc=(_0x3ede4f=_0x59baca[_0x45f68d(0x435)])==null?void 0x0:_0x3ede4f[_0x14f394])==null?void 0x0:_0x35abfc[_0x33bf4c]};_0x5b6e25[_0x45f68d(0x3d3)](_0x14f394+_0x4cbc42,_0x33bf4c+_0x5d3dfc,_0x84c5f2(_0x24e3a7));}return _0x5b6e25;},_0x3f118d=_0x23b9f0=>{const _0x515a10=_0x15ffdc,{view:_0x10357d,targetCellInfo:_0x411f92,isEmpty:_0x586430,textInfo:_0x5a85bb}=_0x23b9f0;if(_0x586430)return _0x128f04(_0x23b9f0);const {pageView:_0x177175,cornerView:_0x3fb1b4,rowView:_0x36e72b,colView:_0x272aee,dataView:_0x40adb0}=_0x10357d,_0x4ef97a=_0x1342b0(_0x411f92,_0x177175,!0x0),_0x38a033=_0x177175['lastRow']>=0x0?_0x177175['lastRow']+0x1:0x0,_0x485c42=_0x3fb1b4['getRowCount'](),_0x40015e=_0x3fb1b4['getColCount'](),_0x3d3d61=_0x4ef97a[_0x515a10(0x366)]>0x0?_0x3d21a4:0x0,_0xb131ae=_0x1342b0({'row':_0x411f92['row']+_0x38a033+_0x3d3d61,'col':_0x411f92['col']},_0x3fb1b4,!0x1,!0x1),_0x2e6f0c=_0x1342b0({'row':_0x411f92[_0x515a10(0x29a)]+_0x38a033+_0x3d3d61+_0x485c42,'col':_0x411f92['col']},_0x36e72b,!0x1,!0x0),_0x3d345b=_0x1342b0({'row':_0x411f92[_0x515a10(0x29a)]+_0x38a033+_0x3d3d61,'col':_0x411f92['col']+_0x40015e},_0x272aee,!0x1,!0x0),_0x42a3be=_0x1342b0({'row':_0x411f92[_0x515a10(0x29a)]+_0x38a033+_0x3d3d61+_0x485c42,'col':_0x411f92[_0x515a10(0x37c)]+_0x40015e},_0x40adb0,!0x1,!0x1),_0x464b02={'rowRanges':_0x2e6f0c,'colRanges':_0x3d345b,'cornerRanges':_0xb131ae,'dataRanges':_0x42a3be,'pageRanges':_0x4ef97a};return{'matrix':_0x592e16(_0x10357d,_0x411f92,_0x5a85bb),'rangesCache':_0x464b02};};var _0x5b2df8=Object['getOwnPropertyDescriptor'],_0x5ecb42=(_0x2d796f,_0xcb8a3b,_0x2e5233,_0x377b7e)=>{const _0x3a1ffe=_0x15ffdc;for(var _0x1efde0=_0x377b7e>0x1?void 0x0:_0x377b7e?_0x5b2df8(_0xcb8a3b,_0x2e5233):_0xcb8a3b,_0x1cc9f8=_0x2d796f[_0x3a1ffe(0x366)]-0x1,_0x185ab5;_0x1cc9f8>=0x0;_0x1cc9f8--)(_0x185ab5=_0x2d796f[_0x1cc9f8])&&(_0x1efde0=_0x185ab5(_0x1efde0)||_0x1efde0);return _0x1efde0;},_0x890464=(_0x2f76cb,_0x717ea0)=>(_0x221943,_0x1ff52e)=>_0x717ea0(_0x221943,_0x1ff52e,_0x2f76cb);_0xc8ae41[_0x15ffdc(0x421)]=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x56f285,_0x50f570,_0x3eb96a,_0x3f80b9,_0x8f5539){const _0x5b85e8=_0x15ffdc;super(),_0x2518e1(this,_0x5b85e8(0x36b),new Map()),_0x2518e1(this,'_pivotTableInstanceCache',new Map()),_0x2518e1(this,'_viewData',new Map()),_0x2518e1(this,'_textInfo'),_0x2518e1(this,'_collectionChange$',new _0x34a132['Subject']()),_0x2518e1(this,_0x5b85e8(0x297),this[_0x5b85e8(0x465)][_0x5b85e8(0x25f)]()),_0x2518e1(this,'_viewData$',new _0x34a132[(_0x5b85e8(0x422))]()),_0x2518e1(this,_0x5b85e8(0x1a5),this['_viewData$'][_0x5b85e8(0x25f)]()),_0x2518e1(this,_0x5b85e8(0x1e0),new _0x34a132[(_0x5b85e8(0x422))]()),_0x2518e1(this,'fieldsCollectionChange$',this[_0x5b85e8(0x1e0)]['asObservable']()),_0x2518e1(this,_0x5b85e8(0x248),new Map()),_0x2518e1(this,_0x5b85e8(0x389),[]),_0x2518e1(this,_0x5b85e8(0x3e2),new Map()),(this[_0x5b85e8(0x210)]=_0x56f285,this[_0x5b85e8(0x43a)]=_0x50f570,this[_0x5b85e8(0x1cc)]=_0x3eb96a,this[_0x5b85e8(0x1f3)]=_0x3f80b9,this[_0x5b85e8(0x299)]=_0x8f5539,this[_0x5b85e8(0x1b4)]());}['getTextInfo'](){const _0x28edba=_0x15ffdc;return this[_0x28edba(0x239)]?this[_0x28edba(0x239)]:_0x2f7e60;}[_0x15ffdc(0x2c0)](_0x1e3508){const _0x51169c=_0x15ffdc;this[_0x51169c(0x239)]=_0x1e3508;}[_0x15ffdc(0x21f)](_0x3f8cd2){const _0x403e7f=_0x15ffdc;var _0x532479;const {from:_0x2edc43,to:_0x555f24,unitId:_0x7c6316,fromRange:_0x1a3ca2,toRange:_0x3feba5}=_0x3f8cd2;if(_0x2edc43&&_0x555f24){const _0x51a195=this[_0x403e7f(0x3d8)](_0x7c6316),_0x5d3721=this[_0x403e7f(0x36b)][_0x403e7f(0x1b6)](_0x7c6316),_0x5f0a8a=(_0x532479=this['_univerInstanceService']['getUnit'](_0x7c6316))==null?void 0x0:_0x532479[_0x403e7f(0x375)](_0x555f24[_0x403e7f(0x3f7)]);if(!_0x5d3721||!_0x5f0a8a)return;const _0x5f42d0=_0x5f0a8a==null?void 0x0:_0x5f0a8a[_0x403e7f(0x2bb)]();for(const [_0x4ac942,_0xba3d7d]of _0x5d3721[_0x403e7f(0x404)]())for(const [_0x3973d3,_0x34e559]of _0xba3d7d['entries']()){const {sourceRangeInfo:_0x281fd6}=_0x34e559;if(_0x281fd6[_0x403e7f(0x194)]===_0x7c6316&&_0x281fd6[_0x403e7f(0x3f7)]===_0x2edc43[_0x403e7f(0x3f7)]&&_0x578498['Rectangle'][_0x403e7f(0x276)](_0x1a3ca2,_0x281fd6[_0x403e7f(0x3ff)])){const _0x5c145c={'row':_0x281fd6[_0x403e7f(0x3ff)]['startRow']-_0x1a3ca2['startRow'],'col':_0x281fd6[_0x403e7f(0x3ff)][_0x403e7f(0x228)]-_0x1a3ca2['startColumn']},_0x3912f1={'unitId':_0x7c6316,'subUnitId':_0x555f24['subUnitId'],'sheetName':_0x5f42d0,'range':{'startRow':_0x3feba5[_0x403e7f(0x458)]+_0x5c145c[_0x403e7f(0x29a)],'endRow':_0x3feba5['startRow']+_0x5c145c['row']+_0x281fd6[_0x403e7f(0x3ff)]['endRow']-_0x281fd6[_0x403e7f(0x3ff)][_0x403e7f(0x458)],'startColumn':_0x3feba5[_0x403e7f(0x228)]+_0x5c145c[_0x403e7f(0x37c)],'endColumn':_0x3feba5[_0x403e7f(0x228)]+_0x5c145c[_0x403e7f(0x37c)]+_0x281fd6[_0x403e7f(0x3ff)][_0x403e7f(0x333)]-_0x281fd6[_0x403e7f(0x3ff)][_0x403e7f(0x228)]}};_0x51a195[_0x403e7f(0x21f)](_0x3973d3,_0x3912f1);const _0xc5bac6={..._0x34e559,'sourceRangeInfo':_0x3912f1};this[_0x403e7f(0x349)](_0x7c6316,_0x555f24[_0x403e7f(0x3f7)],_0x3973d3,_0xc5bac6),this[_0x403e7f(0x411)]({'unitId':_0x7c6316,'token':_0x3973d3,'type':_0x5cd348[_0x403e7f(0x479)],'oldSourceRangeInfo':_0x281fd6,'dataRangeInfo':_0x3912f1,'targetCellInfo':_0x34e559[_0x403e7f(0x2a8)]}),this[_0x403e7f(0x387)]({'unitId':_0x7c6316,'subUnitId':_0x555f24[_0x403e7f(0x3f7)],'oldSubUnitId':_0x4ac942,'pivotTableId':_0x3973d3,'pivotTableConfig':_0xc5bac6,'collectionConfig':_0x51a195['toJSON']()});}}}}[_0x15ffdc(0x411)](_0x249c9c){const _0x5dbc95=_0x15ffdc;this[_0x5dbc95(0x465)][_0x5dbc95(0x316)](_0x249c9c);}[_0x15ffdc(0x3d8)](_0x3bdaf8){const _0x1e4777=_0x15ffdc;let _0x1c86a5=this[_0x1e4777(0x248)][_0x1e4777(0x1b6)](_0x3bdaf8);return _0x1c86a5||(_0x1c86a5=new _0x515872(this,this[_0x1e4777(0x43a)]),this[_0x1e4777(0x248)]['set'](_0x3bdaf8,_0x1c86a5)),_0x1c86a5;}[_0x15ffdc(0x39f)](_0x456b1d,_0x2aef6d){const _0x2d7df9=_0x15ffdc;return this[_0x2d7df9(0x3d8)](_0x456b1d)[_0x2d7df9(0x28b)][_0x2aef6d];}['getUpdateRangeDeleteIds'](_0x1c8a5e,_0x2e28eb,_0x4555bc){const _0x20875c=_0x15ffdc;return this[_0x20875c(0x3d8)](_0x1c8a5e)['getUpdateRangeDeleteIds'](_0x2e28eb,_0x4555bc);}[_0x15ffdc(0x37d)](_0x13dcbe,_0x3fd5fc){const _0x40802a=_0x15ffdc;let _0x3a609b=this[_0x40802a(0x36b)]['get'](_0x13dcbe);_0x3a609b||(_0x3a609b=new Map(),this['_model']['set'](_0x13dcbe,_0x3a609b));let _0xcd9a23=_0x3a609b[_0x40802a(0x1b6)](_0x3fd5fc);return _0xcd9a23||(_0xcd9a23=new Map(),_0x3a609b[_0x40802a(0x234)](_0x3fd5fc,_0xcd9a23)),_0xcd9a23;}[_0x15ffdc(0x349)](_0x1645aa,_0x2936e1,_0x5f37b3,_0x1f2fd9){const _0x38f473=_0x15ffdc;this[_0x38f473(0x37d)](_0x1645aa,_0x2936e1)[_0x38f473(0x234)](_0x5f37b3,_0x1f2fd9);}[_0x15ffdc(0x3e7)](_0xefaac4,_0x39d54d,_0x3e5f85){const _0x25b0e1=_0x15ffdc;var _0x7f7455,_0x24fc50,_0x142627,_0x4cb3c7;((_0x24fc50=(_0x7f7455=this[_0x25b0e1(0x36b)][_0x25b0e1(0x1b6)](_0xefaac4))==null?void 0x0:_0x7f7455[_0x25b0e1(0x1b6)](_0x39d54d))==null?void 0x0:_0x24fc50['get'](_0x3e5f85))&&((_0x4cb3c7=(_0x142627=this[_0x25b0e1(0x36b)][_0x25b0e1(0x1b6)](_0xefaac4))==null?void 0x0:_0x142627[_0x25b0e1(0x1b6)](_0x39d54d))==null||_0x4cb3c7[_0x25b0e1(0x2f5)](_0x3e5f85));}['_updatePivotTableInstanceCache'](_0x3da996,_0x3fce95){const _0x1f27c9=_0x15ffdc;this[_0x1f27c9(0x460)][_0x1f27c9(0x234)](_0x3da996,_0x3fce95);}[_0x15ffdc(0x266)](_0x215f9b){const _0x3a7057=_0x15ffdc;this[_0x3a7057(0x460)][_0x3a7057(0x2f5)](_0x215f9b);}[_0x15ffdc(0x2d3)](_0x29b739,_0x242f85){const _0x44a2d6=_0x15ffdc;let _0x1e230a=this[_0x44a2d6(0x23a)][_0x44a2d6(0x1b6)](_0x29b739);_0x1e230a||(_0x1e230a=new Map(),this['_viewData'][_0x44a2d6(0x234)](_0x29b739,_0x1e230a));let _0x65693e=_0x1e230a[_0x44a2d6(0x1b6)](_0x242f85);return _0x65693e||(_0x65693e=new Map(),_0x1e230a[_0x44a2d6(0x234)](_0x242f85,_0x65693e)),_0x65693e;}['updateConfig'](_0xa28c6d){const _0x46ed4d=_0x15ffdc,{unitId:_0x1f1d33,subUnitId:_0x9a53bd,pivotTableId:_0x5e7679,pivotTableConfig:_0x4a2de5,collectionConfig:_0x450aea}=_0xa28c6d,_0x57ad88={'unitId':_0x1f1d33,'subUnitId':_0x9a53bd,'oldSubUnitId':_0x9a53bd,'pivotTableId':_0x5e7679,'pivotTableConfig':_0x4a2de5,'collectionConfig':_0x450aea};this[_0x46ed4d(0x1f3)][_0x46ed4d(0x41f)](_0x1f7500['id'],_0x57ad88,{'onlyLocal':!0x0});}[_0x15ffdc(0x431)](_0x29fb52,_0x2b53d0,_0x33b1e6,_0xbff129,_0x372894,_0x3dc3e3,_0x523a36,_0x51d542=!0x1){const _0x501e57=_0x15ffdc;var _0x53bfcb;this[_0x501e57(0x1f3)]['executeCommand'](_0x2bf189['id'],{'single':{'unitId':_0x29fb52,'subUnitId':_0x2b53d0,'type':_0x33b1e6,'pivotTableId':_0xbff129,'view':_0x372894,'pivotConfig':_0x3dc3e3},'collectionConfig':{[_0x29fb52]:_0x523a36}},{'onlyLocal':!0x0});const _0xf2676f=!!((_0x53bfcb=this[_0x501e57(0x270)](_0xbff129))!=null&&_0x53bfcb[_0x501e57(0x317)]()),_0x1354e3=this[_0x501e57(0x1d5)](_0x29fb52,_0x2b53d0,_0xbff129);_0x1354e3&&this[_0x501e57(0x45d)]({'view':_0x372894,'pivotTableId':_0xbff129,'textInfo':this['getTextInfo'](),'isEmpty':_0xf2676f,'targetCellInfo':_0x1354e3[_0x501e57(0x2a8)]},_0x51d542);}['updateViewData'](_0x39c107,_0x1d5f7f){const _0xb52cf5=_0x15ffdc,{targetCellInfo:_0x5e4bb7,pivotTableId:_0xf4041f}=_0x39c107,{unitId:_0x26b283,subUnitId:_0x52e58e}=_0x5e4bb7,_0x27d74c=this['_ensureViewDataMap'](_0x26b283,_0x52e58e),_0x15a007=_0x27d74c[_0xb52cf5(0x1b6)](_0xf4041f);let _0x4fa936,_0x20a622;_0x15a007&&(_0x4fa936=_0x15a007[_0xb52cf5(0x425)],_0x20a622=_0x15a007[_0xb52cf5(0x44b)]);const {rangesCache:_0x47f78b,matrix:_0x1b9fee}=_0x3f118d(_0x39c107);_0x27d74c['set'](_0xf4041f,{'rangeCache':_0x47f78b,'matrix':_0x1b9fee,'oldMatrix':_0x20a622,'oldRangeCache':_0x4fa936}),_0x1d5f7f||this['_viewData$'][_0xb52cf5(0x316)]({'unitId':_0x26b283,'subUnitId':_0x52e58e,'pivotTableId':_0xf4041f});}[_0x15ffdc(0x350)](_0x2e071c,_0xc0047d,_0x184498,_0x377c12,_0x2f5fce){const _0x4445b6=_0x15ffdc;this[_0x4445b6(0x349)](_0x2e071c,_0xc0047d,_0x184498,_0x2f5fce),this[_0x4445b6(0x1ce)](_0x184498,_0x377c12);}['removePivotTable'](_0x281e75,_0x530f2f,_0x2c1e5c){const _0x26dd21=_0x15ffdc,_0x27ad32=this['getDataFieldManager'](_0x281e75);_0x27ad32['getNoUsedDataFieldIds'](_0x2c1e5c)[_0x26dd21(0x3fd)](_0x46a64c=>{const _0xd5bf7f=_0x26dd21;_0x27ad32[_0xd5bf7f(0x3fa)](_0x46a64c);}),this[_0x26dd21(0x33b)](_0x281e75,_0x2c1e5c),this[_0x26dd21(0x3e7)](_0x281e75,_0x530f2f,_0x2c1e5c),this[_0x26dd21(0x266)](_0x2c1e5c);}[_0x15ffdc(0x212)](_0x3eb733,_0x54e427,_0x2ef3ca,_0x1c3c58){const _0x3599bb=_0x15ffdc;this[_0x3599bb(0x349)](_0x3eb733,_0x54e427,_0x2ef3ca,_0x1c3c58);}[_0x15ffdc(0x1d5)](_0x140b7c,_0x154f76,_0x37edfb){const _0x56d39b=_0x15ffdc;var _0x525e62,_0x293a1a;const _0x293fea=(_0x293a1a=(_0x525e62=this['_model'][_0x56d39b(0x1b6)](_0x140b7c))==null?void 0x0:_0x525e62[_0x56d39b(0x1b6)](_0x154f76))==null?void 0x0:_0x293a1a[_0x56d39b(0x1b6)](_0x37edfb);if(_0x293fea)return _0x293fea;}['getPivotTableModelConfig'](_0xa5dbe4,_0x2e408b,_0x1ff016){const _0x34c700=_0x15ffdc;var _0x2d10eb,_0xb86d33;const _0x2479ab=(_0xb86d33=(_0x2d10eb=this[_0x34c700(0x36b)][_0x34c700(0x1b6)](_0xa5dbe4))==null?void 0x0:_0x2d10eb['get'](_0x2e408b))==null?void 0x0:_0xb86d33['get'](_0x1ff016);if(_0x2479ab)return _0x2479ab['fieldsConfig'];}[_0x15ffdc(0x270)](_0x256b48){const _0x5ad613=_0x15ffdc;return this[_0x5ad613(0x460)]['get'](_0x256b48);}[_0x15ffdc(0x310)](_0x1f0d89){const _0x5302ec=_0x15ffdc;this[_0x5302ec(0x36b)][_0x5302ec(0x2f5)](_0x1f0d89);const _0x583a34=this[_0x5302ec(0x248)][_0x5302ec(0x1b6)](_0x1f0d89);_0x583a34&&(_0x583a34[_0x5302ec(0x413)](),this[_0x5302ec(0x248)][_0x5302ec(0x2f5)](_0x1f0d89)),this[_0x5302ec(0x23a)][_0x5302ec(0x2f5)](_0x1f0d89),this[_0x5302ec(0x389)][_0x5302ec(0x3fd)](_0xbdcb0c=>{_0xbdcb0c['deleteUnitId'](_0x1f0d89);});}[_0x15ffdc(0x30a)](_0x4626f1,_0x59696e,_0x390d14,_0x32ee70){const _0x4147ab=_0x15ffdc;return this[_0x4147ab(0x3d8)](_0x390d14[_0x4147ab(0x194)])['addCollectionByJSON'](_0x4626f1,_0x59696e,_0x390d14,_0x32ee70);}[_0x15ffdc(0x471)](_0x2f5eac){const _0x278a5a=_0x15ffdc;return this[_0x278a5a(0x3d8)](_0x2f5eac[_0x278a5a(0x194)])['createCollectionWithDataRange'](_0x2f5eac);}[_0x15ffdc(0x434)](_0x43353a,_0x24f2cc,_0x48863f){const _0x1e92b9=_0x15ffdc;this[_0x1e92b9(0x3d8)](_0x48863f[_0x1e92b9(0x194)])[_0x1e92b9(0x434)](_0x43353a,_0x24f2cc,_0x48863f);}[_0x15ffdc(0x215)](_0x203ff6,_0x282da5){const _0x6cbeb5=_0x15ffdc;this[_0x6cbeb5(0x3d8)](_0x203ff6)['deleteDataField'](_0x282da5);}[_0x15ffdc(0x33b)](_0x2b551f,_0x446f61){const _0x387585=_0x15ffdc;this[_0x387585(0x3d8)](_0x2b551f)['removeCollectionImp'](_0x446f61);}[_0x15ffdc(0x3f6)](_0x545359,_0x263942){const _0x117fd0=_0x15ffdc;var _0x2b25db;return(_0x2b25db=this[_0x117fd0(0x36b)][_0x117fd0(0x1b6)](_0x545359))==null?void 0x0:_0x2b25db['get'](_0x263942);}['getTargetByPivotId'](_0x2d87d6){const _0x40af96=_0x15ffdc;for(const [_0x288441,_0x382fa3]of this[_0x40af96(0x36b)][_0x40af96(0x404)]())for(const [_0x4463dc,_0x1b0a23]of _0x382fa3[_0x40af96(0x404)]())if(_0x1b0a23[_0x40af96(0x392)](_0x2d87d6))return{'unitId':_0x288441,'subUnitId':_0x4463dc};return null;}[_0x15ffdc(0x406)](_0x518435,_0x369381,_0x2feec5,_0x1a679c){const _0x16c1e6=_0x15ffdc,_0x27faee=this[_0x16c1e6(0x2d3)](_0x518435,_0x369381);_0x1a679c?_0x27faee[_0x16c1e6(0x234)](_0x2feec5,_0x1a679c):_0x27faee['delete'](_0x2feec5),this['_viewData$'][_0x16c1e6(0x316)]({'unitId':_0x518435,'subUnitId':_0x369381,'pivotTableId':_0x2feec5});}['dispose'](){const _0x525bc4=_0x15ffdc;super[_0x525bc4(0x413)]();}['getViewData'](_0x54faf3,_0x4bd148,_0x25c1df){const _0x5db84c=_0x15ffdc;var _0x4c2b72,_0x4c2622;const _0x36a5af=(_0x4c2622=(_0x4c2b72=this[_0x5db84c(0x23a)][_0x5db84c(0x1b6)](_0x54faf3))==null?void 0x0:_0x4c2b72[_0x5db84c(0x1b6)](_0x4bd148))==null?void 0x0:_0x4c2622[_0x5db84c(0x1b6)](_0x25c1df);return _0x36a5af||null;}[_0x15ffdc(0x1f9)](_0x31f47d){const _0x1ad8e8=_0x15ffdc;this[_0x1ad8e8(0x419)](_0x31f47d);}[_0x15ffdc(0x419)](_0x5e3668){const _0x3c3a60=_0x15ffdc,{token:_0x48b699,unitId:_0x53086b,subUnitId:_0x49b543}=_0x5e3668,_0x3f8023=_0x53086b+'-'+_0x49b543+'-'+_0x48b699;this['_queryingMap'][_0x3c3a60(0x1b6)](_0x3f8023)&&clearTimeout(this[_0x3c3a60(0x3e2)][_0x3c3a60(0x1b6)](_0x3f8023));const _0x5a02b0=setTimeout(()=>{const _0x168f53=_0x3c3a60;this[_0x168f53(0x2a9)](_0x5e3668),this['_queryingMap'][_0x168f53(0x2f5)](_0x3f8023);},_0x3ce908);this[_0x3c3a60(0x3e2)]['set'](_0x3f8023,_0x5a02b0);}[_0x15ffdc(0x2a9)](_0x188ba8){const _0x59aa9c=_0x15ffdc,{unitId:_0x1935c1,subUnitId:_0x407681,token:_0x1f7afd,type:_0x56a526,pivotConfig:_0x230749}=_0x188ba8,_0xdfc877=this[_0x59aa9c(0x270)](_0x1f7afd),_0x56c778=_0xdfc877==null?void 0x0:_0xdfc877[_0x59aa9c(0x253)](),_0x3444b0=_0x230749!=null?_0x230749:this[_0x59aa9c(0x1d5)](_0x1935c1,_0x407681,_0x1f7afd);_0x3444b0&&(_0x3444b0['isEmpty']=!!(_0xdfc877!=null&&_0xdfc877[_0x59aa9c(0x317)]())),(_0x56c778||_0x56a526===_0x4f3f1d[_0x59aa9c(0x1a9)])&&this[_0x59aa9c(0x431)](_0x1935c1,_0x407681,_0x56a526,_0x1f7afd,_0x56c778,_0x3444b0,this[_0x59aa9c(0x3d8)](_0x1935c1)[_0x59aa9c(0x1ef)]());}[_0x15ffdc(0x1ef)](_0x54cebc){const _0x31a5c4=_0x15ffdc,_0x861f5d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x31a5c4(0x3d8)](_0x54cebc)&&(_0x861f5d[_0x31a5c4(0x269)][_0x54cebc]=this[_0x31a5c4(0x3d8)](_0x54cebc)[_0x31a5c4(0x1ef)]()),this[_0x31a5c4(0x36b)][_0x31a5c4(0x1b6)](_0x54cebc)){_0x861f5d[_0x31a5c4(0x42d)][_0x54cebc]={};const _0x1c44b8=this[_0x31a5c4(0x36b)][_0x31a5c4(0x1b6)](_0x54cebc);_0x1c44b8!=null&&_0x1c44b8[_0x31a5c4(0x296)]&&[..._0x1c44b8[_0x31a5c4(0x34f)]()][_0x31a5c4(0x3fd)](_0x10f6a4=>{const _0x256fc2=_0x31a5c4,_0xae1fdf=_0x1c44b8[_0x256fc2(0x1b6)](_0x10f6a4);_0xae1fdf!=null&&_0xae1fdf[_0x256fc2(0x296)]&&(_0x861f5d[_0x256fc2(0x42d)][_0x54cebc][_0x10f6a4]={},[..._0xae1fdf[_0x256fc2(0x34f)]()][_0x256fc2(0x3fd)](_0x51a1fb=>{const _0x1d89aa=_0x256fc2,_0x19e0be=_0xae1fdf[_0x1d89aa(0x1b6)](_0x51a1fb);_0x19e0be&&(_0x861f5d[_0x1d89aa(0x42d)][_0x54cebc][_0x10f6a4][_0x51a1fb]=_0x19e0be);}));});}return _0x861f5d;}['fromJSON'](_0x15f6e6){const _0x3c5949=_0x15ffdc;var _0x4a509e;const {dataFieldManagerConfig:_0x466936,pivotTableConfigs:_0x241bd0}=_0x15f6e6;_0x466936&&Object[_0x3c5949(0x34f)](_0x466936)['forEach'](_0x5b90d1=>{const _0x4429b5=_0x3c5949;this[_0x4429b5(0x3d8)](_0x5b90d1)['fromJSON'](_0x466936[_0x5b90d1]);});const _0x812f46=[];if(_0x241bd0){const _0x100d8c=(_0x4a509e=this[_0x3c5949(0x210)][_0x3c5949(0x1b6)](_0x578498[_0x3c5949(0x402)])[_0x3c5949(0x3f2)](_0x251e5d[_0x3c5949(0x368)]))!=null?_0x4a509e:{},{ls:_0xfcd071,pbk:_0x27aad5}=_0x100d8c,_0x3bfb67=_0x5376e1(_0x2340ff,_0xfcd071,_0x27aad5)[_0x3c5949(0x249)];Object[_0x3c5949(0x34f)](_0x241bd0)[_0x3c5949(0x3fd)](_0x26c764=>{const _0x11beff=_0x3c5949;let _0xb3a803=0x0;const _0x3d47a9=_0x241bd0[_0x26c764];Object[_0x11beff(0x34f)](_0x3d47a9)[_0x11beff(0x3fd)](_0x372717=>{const _0x5c6967=_0x11beff,_0x5f4b14=_0x3d47a9[_0x372717];Object[_0x5c6967(0x34f)](_0x5f4b14)[_0x5c6967(0x3fd)](_0x11b416=>{const _0x114c2b=_0x5c6967,_0x112318=_0x5f4b14[_0x11b416];if(_0x112318){if(_0xb3a803>=_0x3bfb67)return;_0xb3a803++;const _0x582b43=this['getDataFieldManager'](_0x26c764),_0x29aea0=_0x582b43[_0x114c2b(0x28b)][_0x11b416],_0x512e2a=_0x29aea0[_0x114c2b(0x2d8)]();let _0x3fea3a=0x0;const _0x15da19=[];for(const _0x2cb7a7 of _0x512e2a){const _0x1df529=_0x29aea0[_0x114c2b(0x45e)](_0x2cb7a7);if(_0x31fd0d['isBaseGroupField'](_0x1df529)){const _0x44322f=_0x1df529['getOriginFieldId'](),_0x4917ad=_0x29aea0[_0x114c2b(0x45e)](_0x44322f);_0x4917ad&&_0x15da19[_0x114c2b(0x23e)]([_0x1df529,_0x4917ad]);continue;}_0x582b43[_0x114c2b(0x489)](_0x2cb7a7,_0x112318[_0x114c2b(0x3b2)],_0x3fea3a),_0x3fea3a++;}_0x15da19[_0x114c2b(0x3fd)](([_0x5766b9,_0x336625])=>{const _0x9ccf73=_0x114c2b;_0x5766b9[_0x9ccf73(0x218)](_0x336625);});const _0x3fd28d=new _0x31fd0d[(_0x114c2b(0x284))](_0x29aea0);_0x3fd28d[_0x114c2b(0x223)](_0x112318['fieldsConfig']),this['addPivotTable'](_0x26c764,_0x372717,_0x11b416,_0x3fd28d,_0x112318);const _0x5be272=_0x3fd28d[_0x114c2b(0x253)]();_0x812f46[_0x114c2b(0x23e)]({'unitId':_0x26c764,'subUnitId':_0x372717,'pivotTableId':_0x11b416,'view':_0x5be272['toJSON'](),'pivotConfig':_0x112318,'type':_0x4f3f1d[_0x114c2b(0x40e)]});const _0x446bcb=!!_0x3fd28d[_0x114c2b(0x317)](),_0x114446={'view':_0x5be272,'pivotTableId':_0x11b416,'textInfo':this[_0x114c2b(0x477)](),'isEmpty':_0x446bcb,'targetCellInfo':_0x112318[_0x114c2b(0x2a8)]};this[_0x114c2b(0x45d)](_0x114446,!0x1);}});});});}_0x466936&&Object[_0x3c5949(0x34f)](_0x466936)[_0x3c5949(0x3fd)](_0x2d4134=>{const _0x2e2c71=_0x3c5949,_0x2447b1=this['getDataFieldManager'](_0x2d4134);this['_fieldsCollectionChange$']['next'](_0x2447b1[_0x2e2c71(0x28b)]);}),this[_0x3c5949(0x1f3)][_0x3c5949(0x41f)](_0x2bf189['id'],{'batch':_0x812f46,'collectionConfig':_0x466936},{'onlyLocal':!0x0});}[_0x15ffdc(0x1b4)](){const _0x3fbb55=_0x15ffdc;this[_0x3fbb55(0x2c3)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x11f93f=>JSON[_0x3fbb55(0x1a2)](this['toJSON'](_0x11f93f)),'parseJson':_0x4b0473=>{const _0x28e223=_0x3fbb55;if(!_0x4b0473)return{};try{return JSON[_0x28e223(0x3db)](_0x4b0473);}catch{return{};}},'businesses':[_0x578498[_0x3fbb55(0x1f6)][_0x3fbb55(0x185)]],'pluginName':_0x598476,'onLoad':(_0x480d88,_0x26886c)=>{const _0x5156b6=_0x3fbb55;this[_0x5156b6(0x223)](_0x26886c);},'onUnLoad':_0x3ce858=>{const _0x2d331c=_0x3fbb55;this[_0x2d331c(0x310)](_0x3ce858);}}));}},_0xc8ae41[_0x15ffdc(0x421)]=_0x5ecb42([_0x890464(0x0,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x3da)])),_0x890464(0x1,_0x578498[_0x15ffdc(0x214)]),_0x890464(0x2,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x3f0)])),_0x890464(0x3,_0x578498['ICommandService']),_0x890464(0x4,_0x578498['Inject'](_0x578498[_0x15ffdc(0x3ea)]))],_0xc8ae41[_0x15ffdc(0x421)]);const _0x541726={0x0:{0x0:{'v':_0x15ffdc(0x2f6),'s':_0x47359e}},0x2:{0x1:{'v':'','s':_0x47359e},0x2:{'v':'','s':_0x47359e},0x3:{'v':_0x15ffdc(0x400),'s':_0x47359e},0x4:{'v':'','s':_0x47359e},0x5:{'v':'','s':_0x47359e}},0x3:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0x4:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0x5:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0x6:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0x7:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0x8:{0x0:{'v':_0x15ffdc(0x29a),'s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'values','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0x9:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0xa:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0xb:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0xc:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}},0xd:{0x0:{'v':'','s':_0x47359e},0x1:{'v':'','s':_0x3fa76f},0x2:{'v':'','s':_0x3fa76f},0x3:{'v':'','s':_0x3fa76f},0x4:{'v':'','s':_0x3fa76f},0x5:{'v':'','s':_0x3fa76f}}},_0x2a79f0={'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':[]},_0x4c3b06=(_0x3c0345,_0x42a720)=>{const _0x3b0312=_0x15ffdc,_0x174f4a=new _0x578498[(_0x3b0312(0x35a))](),_0x45a5b2=new _0x578498['ObjectMatrix'](_0x541726),{row:_0xde131c,col:_0x29f95f}=_0x42a720;_0x45a5b2[_0x3b0312(0x1d9)]((_0x434e5d,_0x15d2d3,_0x375c59)=>{const _0x530a3f=_0x3b0312;let _0x162936='';_0x375c59['v']===_0x530a3f(0x2f6)?_0x162936=_0x3c0345['filter']:_0x375c59['v']===_0x530a3f(0x29a)?_0x162936=_0x3c0345['row']:_0x375c59['v']===_0x530a3f(0x400)?_0x162936=_0x3c0345[_0x530a3f(0x400)]:_0x375c59['v']==='values'&&(_0x162936=_0x3c0345['values']),_0x174f4a[_0x530a3f(0x3d3)](_0x434e5d+_0xde131c,_0x15d2d3+_0x29f95f,{..._0x375c59,'v':_0x162936});});const _0x428b54=_0x578498[_0x3b0312(0x448)]['deepClone'](_0x2a79f0);return Object['keys'](_0x2a79f0)[_0x3b0312(0x3fd)](_0x14ecfc=>{const _0x53147b=_0x3b0312;_0x428b54[_0x14ecfc]=_0x2a79f0[_0x14ecfc][_0x53147b(0x2e3)](_0x4d6f08=>({..._0x4d6f08,'startRow':_0x4d6f08[_0x53147b(0x458)]+_0xde131c,'endRow':_0x4d6f08[_0x53147b(0x219)]+_0xde131c,'startColumn':_0x4d6f08[_0x53147b(0x228)]+_0x29f95f,'endColumn':_0x4d6f08[_0x53147b(0x333)]+_0x29f95f}));}),{'matrixCache':_0x174f4a,'rangesCache':_0x428b54};};function _0x4f2dfa(_0x203557,_0x4383fe){const _0x5892c6=_0x15ffdc;let _0x35f6ca='';const _0xeec73=this[_0x5892c6(0x477)]();switch(_0x4383fe){case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x30e)]:_0x35f6ca=_0xeec73[_0x5892c6(0x1fe)]+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x249)]:_0x35f6ca=_0xeec73[_0x5892c6(0x1e3)]+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x32e)]:_0x35f6ca=_0xeec73[_0x5892c6(0x292)]+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x442)]:_0x35f6ca=_0xeec73[_0x5892c6(0x3a4)]+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x436)]:_0x35f6ca=_0xeec73['sheets-pivot.minName']+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x2dd)]:_0x35f6ca=_0xeec73[_0x5892c6(0x3d0)]+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x1c5)]:_0x35f6ca=_0xeec73[_0x5892c6(0x311)]+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)]['stdDevp']:_0x35f6ca=_0xeec73['sheets-pivot.stdDevpName']+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x1c9)]:_0x35f6ca=_0xeec73[_0x5892c6(0x487)]+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x35d)]:_0x35f6ca=_0xeec73['sheets-pivot.varName']+_0x203557;break;case _0x31fd0d[_0x5892c6(0x396)][_0x5892c6(0x3c3)]:_0x35f6ca=_0xeec73[_0x5892c6(0x2f3)]+_0x203557;break;default:_0x35f6ca=_0x203557;break;}return _0x35f6ca;}function _0x44b642(_0x5b80d1,_0x397a68,_0x3560d1,_0x1dc4ee,_0x15137e){const _0x3c1c64=_0x15ffdc;var _0x241d38,_0x5aa3fd,_0x10513a,_0x3dc6fa,_0x50ad17;const _0x1111a0=_0x578498[_0x3c1c64(0x415)](_0x5b80d1,_0x397a68),{rangesInfo:_0x5c3e0e,areaInfo:_0x30b041,headerMap:_0x41c983}=_0x15137e;if(!_0x5c3e0e||!_0x30b041||!_0x41c983)return;const _0x5bb1dc=Object[_0x3c1c64(0x34f)](_0x5c3e0e)[_0x3c1c64(0x3f3)](_0xd31314=>_0x5c3e0e[_0xd31314][_0x3c1c64(0x374)](_0x9b86a6=>_0x578498[_0x3c1c64(0x1e5)][_0x3c1c64(0x276)](_0x9b86a6,_0x1111a0))),_0x5a1797=_0x30b041;let _0x1fe045,_0x5a9b9b,_0x33406b;if(_0x5bb1dc===_0x3c1c64(0x233))_0x1fe045=(_0x241d38=_0x5a1797==null?void 0x0:_0x5a1797[_0x3c1c64(0x481)])==null?void 0x0:_0x241d38[_0x5b80d1],_0x5a9b9b=(_0x5aa3fd=_0x41c983==null?void 0x0:_0x41c983['rowHeaderMap'])==null?void 0x0:_0x5aa3fd[_0x397a68],_0x33406b=_0x5a9b9b==null?void 0x0:_0x5a9b9b[_0x3c1c64(0x271)];else{if(_0x5bb1dc===_0x3c1c64(0x24d))_0x1fe045=(_0x10513a=_0x5a1797==null?void 0x0:_0x5a1797[_0x3c1c64(0x2b1)])==null?void 0x0:_0x10513a[_0x397a68],_0x5a9b9b=(_0x3dc6fa=_0x41c983['colHeaderMap'])==null?void 0x0:_0x3dc6fa[_0x5b80d1+0x1+_0x397a68-_0x5c3e0e[_0x3c1c64(0x24d)][0x0][_0x3c1c64(0x228)]],_0x33406b=_0x5a9b9b==null?void 0x0:_0x5a9b9b['tableFieldId'];else{if(_0x5bb1dc===_0x3c1c64(0x205))_0x1fe045=(_0x50ad17=_0x5a1797==null?void 0x0:_0x5a1797['cornerInfo'])==null?void 0x0:_0x50ad17[_0x397a68],_0x33406b=_0x1fe045==null?void 0x0:_0x1fe045['tableFieldId'];else{if(_0x5bb1dc==='pageRanges'){const _0x5eb084=_0x3560d1==null?void 0x0:_0x3560d1['fi'];_0x5eb084!==void 0x0&&(_0x33406b=_0x1dc4ee[_0x3c1c64(0x1ea)](_0x5eb084));}}}}return{'filterId':_0x33406b,'info':_0x1fe045,'data':_0x3560d1,'headerInfo':_0x5a9b9b};}function _0x3d0731(_0x4b7aa9,_0x466cbf,_0x1cb188){const _0x5a51de=_0x15ffdc,_0x58354f=_0x4b7aa9[_0x5a51de(0x278)],_0x43219c=_0x58354f[_0x5a51de(0x2d8)](),_0x121188=new Set();_0x4b7aa9[_0x5a51de(0x273)](_0x5e4460=>{const _0xf44b51=_0x5a51de;_0x121188[_0xf44b51(0x34b)](_0x5e4460[_0xf44b51(0x21a)]);});const _0x484d86=_0x43219c['map'](_0x195640=>{const _0x3cad67=_0x5a51de,_0x71267c=_0x58354f[_0x3cad67(0x45e)](_0x195640);return{'checked':_0x121188[_0x3cad67(0x392)](_0x195640),'dataFieldId':_0x71267c['id'],'id':_0x71267c['id'],'name':_0x58354f[_0x3cad67(0x459)](_0x71267c['id']),'type':_0x71267c['getFieldDataType'](),'pivotTableId':_0x466cbf};}),_0x5f3f4b=[];_0x4b7aa9[_0x5a51de(0x449)](_0x31fd0d[_0x5a51de(0x28c)][_0x5a51de(0x289)],_0x4abee7=>{const _0x1d609f=_0x5a51de;_0x5f3f4b[_0x1d609f(0x23e)]({'dataFieldId':_0x4abee7[_0x1d609f(0x21a)],'tableFieldId':_0x4abee7[_0x1d609f(0x3ce)](),'displayName':_0x4abee7[_0x1d609f(0x459)]()});});const _0x3965c1=[];_0x4b7aa9[_0x5a51de(0x449)](_0x31fd0d[_0x5a51de(0x28c)][_0x5a51de(0x3e0)],_0xe62976=>{const _0x1d2a7c=_0x5a51de;_0x3965c1[_0x1d2a7c(0x23e)]({'dataFieldId':_0xe62976[_0x1d2a7c(0x21a)],'tableFieldId':_0xe62976[_0x1d2a7c(0x3ce)](),'displayName':_0xe62976[_0x1d2a7c(0x459)]()});});const _0x5c0071=[];if(_0x4b7aa9[_0x5a51de(0x449)](_0x31fd0d[_0x5a51de(0x28c)][_0x5a51de(0x2d2)],_0x325ca9=>{const _0x25f7d2=_0x5a51de;_0x5c0071[_0x25f7d2(0x23e)]({'dataFieldId':_0x325ca9[_0x25f7d2(0x21a)],'tableFieldId':_0x325ca9[_0x25f7d2(0x3ce)](),'displayName':_0x325ca9[_0x25f7d2(0x459)](),'format':_0x325ca9[_0x25f7d2(0x395)](),'subTotalType':_0x325ca9[_0x25f7d2(0x2dc)]()});}),_0x5c0071[_0x5a51de(0x366)]>0x1){const _0x453455=_0x4b7aa9[_0x5a51de(0x189)]();(_0x4b7aa9[_0x5a51de(0x44c)]()?_0x3965c1:_0x5f3f4b)[_0x5a51de(0x2c7)](_0x453455,0x0,{'dataFieldId':'','tableFieldId':_0x5a51de(0x244),'displayName':_0x5a51de(0x27c)});}const _0x1db434=[];_0x4b7aa9[_0x5a51de(0x449)](_0x31fd0d[_0x5a51de(0x28c)][_0x5a51de(0x33a)],_0x22f644=>{const _0x12323c=_0x5a51de;_0x1db434[_0x12323c(0x23e)]({'dataFieldId':_0x22f644['dataFieldId'],'tableFieldId':_0x22f644[_0x12323c(0x3ce)](),'displayName':_0x22f644['getDisplayName']()});});const _0x405ef6=_0x1cb188[_0x5a51de(0x3b2)];return{'sourceList':_0x484d86,'sourceRange':_0x405ef6,'rowFields':_0x5f3f4b,'columnFields':_0x3965c1,'valueFields':_0x5c0071,'filterFields':_0x1db434,'positionInfo':_0x1cb188[_0x5a51de(0x2a8)]};}function _0x3bc57d(_0x36f4d5,_0x36e2b3,_0xd0debc='',_0x32cd65={}){const _0x29abb1=_0x15ffdc,_0x341072=_0x36f4d5[_0x29abb1(0x1b6)](_0x578498[_0x29abb1(0x282)]);for(const _0x52cc35 in _0x36e2b3)if(Object[_0x29abb1(0x469)][_0x29abb1(0x423)]['call'](_0x36e2b3,_0x52cc35)){const _0x155052=_0xd0debc?_0xd0debc+'.'+_0x52cc35:_0x52cc35;typeof _0x36e2b3[_0x52cc35]=='object'&&_0x36e2b3[_0x52cc35]!==null&&!Array[_0x29abb1(0x1e2)](_0x36e2b3[_0x52cc35])?_0x3bc57d(_0x36f4d5,_0x36e2b3[_0x52cc35],_0x155052,_0x32cd65):_0x32cd65[_0x155052]=_0x341072['t'](_0x155052);}return _0x32cd65;}const _0x54f1ba=_0x23057b=>{const _0x35eaeb=_0x15ffdc;if(!_0x23057b)return[];const {rowRanges:_0x1e4e64,colRanges:_0x208ea2,cornerRanges:_0x87c329,dataRanges:_0x52e7a6,pageRanges:_0x40792b}=_0x23057b,_0x1c100b=[..._0x208ea2,..._0x1e4e64,..._0x52e7a6,..._0x87c329][_0x35eaeb(0x2f6)](_0x4924e5=>_0x4924e5[_0x35eaeb(0x458)]>=0x0&&_0x4924e5[_0x35eaeb(0x228)]>=0x0&&_0x4924e5[_0x35eaeb(0x219)]>=0x0&&_0x4924e5[_0x35eaeb(0x333)]>=0x0);let _0x49e33e=Number[_0x35eaeb(0x291)],_0x1756f3=Number['MIN_SAFE_INTEGER'],_0x349933=Number[_0x35eaeb(0x291)],_0x501621=Number['MIN_SAFE_INTEGER'];for(let _0x870064=0x0;_0x870064<_0x1c100b[_0x35eaeb(0x366)];_0x870064++)_0x49e33e=Math[_0x35eaeb(0x436)](_0x49e33e,_0x1c100b[_0x870064][_0x35eaeb(0x458)]),_0x1756f3=Math[_0x35eaeb(0x442)](_0x1756f3,_0x1c100b[_0x870064]['endRow']),_0x349933=Math['min'](_0x349933,_0x1c100b[_0x870064]['startColumn']),_0x501621=Math['max'](_0x501621,_0x1c100b[_0x870064][_0x35eaeb(0x333)]);return[..._0x40792b,{'startRow':_0x49e33e,'endRow':_0x1756f3,'startColumn':_0x349933,'endColumn':_0x501621}];};function _0x4a1c2c(_0x4df528,_0x1f7e7f){const _0x35b611=_0x15ffdc,_0x463251=_0x1f7e7f[_0x35b611(0x2a7)][_0x35b611(0x197)],{pivotTableId:_0x39ebdd,unitId:_0x2b988d,subUnitId:_0x17d1b3}=_0x1f7e7f;if(!_0x463251)return;const _0x582893=_0x4df528['get'](_0xc8ae41[_0x35b611(0x421)]),_0x37103b=_0x582893[_0x35b611(0x270)](_0x39ebdd),_0x545731=_0x582893[_0x35b611(0x1d5)](_0x2b988d,_0x17d1b3,_0x39ebdd);if(!_0x37103b||!_0x545731)return;const _0x3cc6aa=_0x37103b[_0x35b611(0x1d7)](_0x463251[_0x35b611(0x20a)]);if(!(_0x3cc6aa!=null&&_0x3cc6aa['length']))return;const _0x4ed8e5=_0x545731[_0x35b611(0x3b2)],{unitId:_0x418923,subUnitId:_0x5cda7b,range:_0x2065a6}=_0x4ed8e5;let _0x3d79fd=0x0;const _0x4988c8=_0x37103b[_0x35b611(0x278)][_0x35b611(0x2d8)]()[_0x35b611(0x343)]((_0x327f1c,_0x48c2b0)=>{const _0x54e933=_0x35b611;var _0x383d37;const _0x4597da=(_0x383d37=_0x37103b[_0x54e933(0x3dc)](_0x48c2b0))==null?void 0x0:_0x383d37['getformat']();return _0x4597da&&(_0x327f1c[String(_0x3d79fd)]=_0x4597da),_0x3d79fd++,_0x327f1c;},{});return{'indexes':_0x3cc6aa,'range':_0x2065a6,'sourceUnitId':_0x418923,'sourceSubUnitId':_0x5cda7b,'formatMap':_0x4988c8};}function _0x77e4f2(_0x2e8bcd,_0x4ae30d){const _0x512fbb=_0x15ffdc;if(!_0x2e8bcd||!_0x4ae30d)return!0x0;const _0x560cde=_0x251e5d[_0x512fbb(0x220)](_0x3a7d52,_0x1fd1df),_0x28794d=new Function(_0x512fbb(0x47c)+_0x560cde)()(_0x2e8bcd,_0x4ae30d)[_0x512fbb(0x2d4)],_0xedf16e=_0x251e5d[_0x512fbb(0x37e)](_0x28794d,'sf',_0x3a8dcc);return!((_0x28794d==null?void 0x0:_0x28794d['rt'])===_0x251e5d['ReleaseType'][_0x512fbb(0x3be)]&&!_0xedf16e);}function _0x5376e1(_0x474f62,_0xc4a1e3,_0x288878){const _0x14ceec=_0x15ffdc,_0x155bb6={'count':_0x474f62,'timeValid':!0x1};if(!_0xc4a1e3||!_0x288878)return _0x155bb6;const _0x503f2a=_0x251e5d[_0x14ceec(0x220)](_0x3a7d52,_0x1fd1df),_0x3f5c02=new Function('return\x20'+_0x503f2a)()(_0xc4a1e3,_0x288878);if(_0x3f5c02!=null&&_0x3f5c02[_0x14ceec(0x42e)]){const _0x1845f5=_0x3f5c02[_0x14ceec(0x2d4)],_0x5b855e=_0x251e5d[_0x14ceec(0x37e)](_0x1845f5,'sf',_0x3a8dcc);return{'count':_0x251e5d[_0x14ceec(0x426)](_0x1845f5,_0x5b855e,_0x14ceec(0x3e1),_0x474f62,_0x474f62,0x0),'timeValid':_0x5b855e};}return _0x155bb6;}function _0x3f2371(_0x39cda3,_0x1f3d36,_0x2b07b0,_0x2666ee){const _0x1d2b1d=_0x15ffdc,_0xc42928={'subUnitId':_0x2b07b0,'unitId':_0x1f3d36,'cellValue':_0x137997[_0x1d2b1d(0x473)](_0x2666ee)},_0x884cd1=_0x137997[_0x1d2b1d(0x1a6)](_0x39cda3,_0xc42928);let _0xe242d8=!0x1;return new _0x578498['ObjectMatrix'](_0x884cd1[_0x1d2b1d(0x432)])[_0x1d2b1d(0x1d9)]((_0x311f82,_0xc830b0,_0x37aee9)=>{if(!_0xe242d8&&_0x37aee9&&(_0x37aee9['custom']||_0x37aee9['f']||_0x37aee9['p']||_0x37aee9['s']||_0x37aee9['si']||_0x37aee9['t']||_0x37aee9['v']))return _0xe242d8=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x137997[_0x1d2b1d(0x2c9)]['id'],'params':_0x884cd1},'setRangeValueRedoMutation':{'id':_0x137997['SetRangeValuesMutation']['id'],'params':_0xc42928},'shouldClear':_0xe242d8};}function _0x450109(_0x35fd07){const {row:_0x41c61a,col:_0x415b7c}=_0x35fd07,_0x52a163={'startRow':_0x41c61a,'endRow':_0x41c61a,'startColumn':_0x415b7c,'endColumn':_0x415b7c},_0x185cc2={'startRow':_0x41c61a+0x2,'endRow':_0x41c61a+0xe,'startColumn':_0x415b7c,'endColumn':_0x415b7c+0x6};return[_0x52a163,_0x185cc2];}function _0x4a8e21(_0x51aec4,_0x3ca98e,_0x151499){const _0x2ce217=_0x15ffdc,{cornerView:_0xc8fee8,rowView:_0x1758ff,colView:_0x2bd865,pageView:_0x274d75}=_0x51aec4,{row:_0x30994c,col:_0x1217fe}=_0x3ca98e;if(_0x151499)return{'rowCount':_0x277ff8+_0x30994c,'colCount':_0x1d5c2b+_0x1217fe};const _0x17bee1=_0x274d75[_0x2ce217(0x341)]>-0x1?_0x274d75['lastRow']+0x1:0x0,_0x1cafd8=_0x274d75[_0x2ce217(0x1f4)]>-0x1?_0x274d75[_0x2ce217(0x1f4)]:0x0,_0x663960=_0x30994c+_0x17bee1+(_0x17bee1?0x1:0x0)+_0xc8fee8[_0x2ce217(0x462)]+_0x1758ff[_0x2ce217(0x462)],_0x51d247=_0x1217fe+_0x1cafd8,_0x3b3334=_0x1217fe+_0xc8fee8[_0x2ce217(0x2b8)]+_0x2bd865[_0x2ce217(0x2b8)],_0x7043a6=Math['max'](_0x51d247,_0x3b3334);return{'rowCount':_0x663960,'colCount':_0x7043a6};}function _0x157f5c(_0x18bd84,_0x3091b2,_0x4be150,_0x5506a3){const _0x32be33=_0x15ffdc,{row:_0x24da80,col:_0x37ec70,unitId:_0x708b1c,subUnitId:_0x142dad}=_0x4be150,_0x2c9439=_0x4a8e21(_0x3091b2,{'row':_0x24da80,'col':_0x37ec70},_0x5506a3),_0x275674=_0x18bd84[_0x32be33(0x1b6)](_0x578498['IUniverInstanceService']),_0x451eac=_0x137997[_0x32be33(0x407)](_0x275674,{'unitId':_0x708b1c,'subUnitId':_0x142dad}),_0x1ccefd=[],_0x83280f=[];if(!_0x451eac)return{'undos':_0x83280f,'redos':_0x1ccefd};const {worksheet:_0x59f33c}=_0x451eac,_0x4b23cf=_0x59f33c[_0x32be33(0x26c)](),_0x4c26c3=_0x59f33c[_0x32be33(0x441)]();return _0x4b23cf<_0x2c9439[_0x32be33(0x462)]&&(_0x1ccefd[_0x32be33(0x23e)]({'id':_0x137997[_0x32be33(0x3c8)]['id'],'params':{'unitId':_0x708b1c,'subUnitId':_0x142dad,'range':{'startRow':_0x4b23cf,'endRow':_0x2c9439[_0x32be33(0x462)]-0x1,'startColumn':0x0,'endColumn':_0x4c26c3-0x1}}}),_0x83280f['push']({'id':_0x137997[_0x32be33(0x445)]['id'],'params':{'unitId':_0x708b1c,'subUnitId':_0x142dad,'range':{'startRow':_0x4b23cf,'endRow':_0x2c9439[_0x32be33(0x462)]-0x1,'startColumn':0x0,'endColumn':_0x4c26c3-0x1}}})),_0x4c26c3<_0x2c9439[_0x32be33(0x2b8)]&&(_0x1ccefd['push']({'id':_0x137997['InsertColMutation']['id'],'params':{'unitId':_0x708b1c,'subUnitId':_0x142dad,'range':{'startRow':0x0,'endRow':_0x4b23cf-0x1,'startColumn':_0x4c26c3,'endColumn':_0x2c9439[_0x32be33(0x2b8)]-0x1}}}),_0x83280f[_0x32be33(0x23e)]({'id':_0x137997['RemoveColMutation']['id'],'params':{'unitId':_0x708b1c,'subUnitId':_0x142dad,'range':{'startRow':0x0,'endRow':_0x4b23cf-0x1,'startColumn':_0x4c26c3,'endColumn':_0x2c9439['colCount']-0x1}}})),{'undos':_0x83280f,'redos':_0x1ccefd};}function _0x328926(_0x34cdee){const _0x399a97=_0x15ffdc;let _0x1225af=0x0;for(let _0x14ad72=0x0;_0x14ad72<_0x34cdee[_0x399a97(0x366)];_0x14ad72++){const _0x894ae7=_0x34cdee[_0x399a97(0x1b0)](_0x14ad72);_0x894ae7>=0x4e00&&_0x894ae7<=0x9fff||_0x894ae7>=0x3000&&_0x894ae7<=0x303f||_0x894ae7>=0xff00&&_0x894ae7<=0xffef?_0x1225af+=0x2:_0x1225af+=0x1;}return _0x1225af;}function _0x1936ca(_0x4391b3,_0x67379b,_0x41de9f,_0x532c54){const _0x5e4d4d=_0x15ffdc;var _0x3824c7,_0x1db2b0,_0x29b146,_0xbf3292;const {rowCount:_0x3da2bb,colCount:_0x302603,headerMap:_0x5983a6}=_0x4391b3,_0x5751e5=0x64,_0x92d150=Math[_0x5e4d4d(0x436)](_0x3da2bb,_0x5751e5),_0x22bf54=Math[_0x5e4d4d(0x436)](_0x302603,_0x5751e5);let _0x1a449a='',_0x5cd15c=0x0;for(let _0x92a2b7=0x0;_0x92a2b7<_0x92d150;_0x92a2b7++)for(let _0x3459e9=0x0;_0x3459e9<_0x22bf54;_0x3459e9++){const _0x50a7fc={...(_0x1db2b0=(_0x3824c7=_0x4391b3['data'])==null?void 0x0:_0x3824c7[_0x92a2b7])==null?void 0x0:_0x1db2b0[_0x3459e9]},_0x2e3634=(_0x29b146=_0x5983a6[_0x92a2b7])==null?void 0x0:_0x29b146[_0x5e4d4d(0x271)],_0x864760=_0x532c54[_0x2e3634];let _0x176d3a=_0x4391b3[_0x5e4d4d(0x1f5)](_0x92a2b7,_0x3459e9);if(_0x50a7fc){const _0x4dbe7f=_0x41de9f?_0x3459e9===0x0&&((_0xbf3292=_0x4391b3[_0x5e4d4d(0x397)](_0x3459e9+0x1))==null?void 0x0:_0xbf3292['isValue']):!0x1;_0x176d3a=_0x404244(_0x50a7fc,_0x4dbe7f,_0x864760,_0x67379b);}if(_0x176d3a!==void 0x0){const _0x28380e=_0x328926(String(_0x176d3a));_0x5cd15c<_0x28380e&&(_0x1a449a=String(_0x176d3a),_0x5cd15c=_0x28380e);}}return _0x1a449a;}function _0x28e584(_0x3fe6be){const _0x9168cc=_0x15ffdc,{rowCount:_0x56b335,colCount:_0xc7bfd3}=_0x3fe6be;let _0x46a6e7='',_0x453d02=0x0;for(let _0x4a933d=_0x56b335-0x1;_0x4a933d>0x0&&_0x4a933d>_0x56b335-0x3;_0x4a933d--)for(let _0x8674d3=0x0;_0x8674d3<_0xc7bfd3;_0x8674d3++){const _0x455068=_0x3fe6be['getValue'](_0x4a933d,_0x8674d3);if(_0x455068!==void 0x0){const _0x4adbe2=String(_0x455068)[_0x9168cc(0x366)];_0x453d02<_0x4adbe2&&(_0x46a6e7=String(_0x455068),_0x453d02=_0x4adbe2);}}return _0x46a6e7;}function _0x49868f(_0x811a7b){const _0x4153f1=_0x15ffdc,{rowCount:_0x4f5319,colCount:_0xdd5496}=_0x811a7b;let _0x53b146='',_0x37f0b1=0x0;for(let _0x579831=0x0;_0x579831<_0x4f5319;_0x579831++)for(let _0x45c61d=0x0;_0x45c61d<_0xdd5496;_0x45c61d++){const _0x239017=_0x811a7b[_0x4153f1(0x1f5)](_0x579831,_0x45c61d);if(_0x239017!==void 0x0){const _0x58d8de=String(_0x239017)['length'];_0x37f0b1<_0x58d8de&&(_0x53b146=String(_0x239017),_0x37f0b1=_0x58d8de);}}return _0x53b146;}function _0x319365(_0x3b4a38,_0x1e9731){const _0x15d31d=_0x15ffdc,{rowFields:_0x483783,columnFields:_0x33cdc4,valueFields:_0x128abf,filterFields:_0xc469be,dimension:_0x20cc54,measure:_0x1e4404}=_0x1e9731;for(const _0x50133d of _0x483783){const _0x46d6f6=_0x20cc54[_0x50133d];_0x46d6f6&&_0x3b4a38[_0x15d31d(0x3dc)](_0x46d6f6[_0x15d31d(0x21a)])&&(_0x3b4a38['addFieldWithSourceId'](_0x46d6f6[_0x15d31d(0x21a)],_0x31fd0d[_0x15d31d(0x28c)]['Row'],void 0x0,_0x50133d),_0x46d6f6[_0x15d31d(0x202)]&&_0x3b4a38[_0x15d31d(0x241)](_0x46d6f6['id'],_0x46d6f6[_0x15d31d(0x202)]),_0x46d6f6[_0x15d31d(0x29b)]&&_0x3b4a38[_0x15d31d(0x1fc)](_0x46d6f6['id'],_0x46d6f6[_0x15d31d(0x29b)]),_0x46d6f6[_0x15d31d(0x327)]&&_0x3b4a38[_0x15d31d(0x37b)](_0x46d6f6['id'],_0x46d6f6[_0x15d31d(0x327)]));}for(const _0x479d9e of _0x33cdc4){const _0xdea252=_0x20cc54[_0x479d9e];_0xdea252&&_0x3b4a38[_0x15d31d(0x3dc)](_0xdea252[_0x15d31d(0x21a)])&&(_0x3b4a38[_0x15d31d(0x323)](_0xdea252[_0x15d31d(0x21a)],_0x31fd0d['PivotTableFiledAreaEnum'][_0x15d31d(0x3e0)],void 0x0,_0x479d9e),_0xdea252[_0x15d31d(0x29b)]&&_0x3b4a38[_0x15d31d(0x1fc)](_0xdea252['id'],_0xdea252[_0x15d31d(0x29b)]),_0xdea252[_0x15d31d(0x327)]&&_0x3b4a38[_0x15d31d(0x37b)](_0xdea252['id'],_0xdea252[_0x15d31d(0x327)]),_0xdea252[_0x15d31d(0x202)]&&_0x3b4a38['renameField'](_0xdea252['id'],_0xdea252['displayName']));}for(const _0x1d073b of _0xc469be){const _0x1fe0dd=_0x20cc54[_0x1d073b];_0x1fe0dd&&_0x3b4a38[_0x15d31d(0x3dc)](_0x1fe0dd[_0x15d31d(0x21a)])&&(_0x3b4a38[_0x15d31d(0x323)](_0x1fe0dd['dataFieldId'],_0x31fd0d[_0x15d31d(0x28c)][_0x15d31d(0x33a)],void 0x0,_0x1d073b),_0x1fe0dd[_0x15d31d(0x29b)]&&_0x3b4a38[_0x15d31d(0x1fc)](_0x1fe0dd['id'],_0x1fe0dd['sortInfo']),_0x1fe0dd[_0x15d31d(0x327)]&&_0x3b4a38['setLabelFilterInfo'](_0x1fe0dd['id'],_0x1fe0dd['filterInfo']),_0x1fe0dd['displayName']&&_0x3b4a38[_0x15d31d(0x241)](_0x1fe0dd['id'],_0x1fe0dd[_0x15d31d(0x202)]));}for(const _0x522468 of _0x128abf){const _0x2ceb00=_0x1e4404[_0x522468];_0x2ceb00&&_0x3b4a38[_0x15d31d(0x3dc)](_0x2ceb00[_0x15d31d(0x21a)])&&(_0x3b4a38['addFieldWithSourceId'](_0x2ceb00['dataFieldId'],_0x31fd0d[_0x15d31d(0x28c)]['Value'],void 0x0,_0x522468),_0x2ceb00['subtotal']!==void 0x0&&_0x3b4a38['setSubtotalType'](_0x522468,_0x2ceb00[_0x15d31d(0x1da)]),_0x2ceb00[_0x15d31d(0x313)]&&_0x3b4a38[_0x15d31d(0x36f)](_0x522468,_0x2ceb00['format']),_0x2ceb00[_0x15d31d(0x202)]&&_0x3b4a38[_0x15d31d(0x241)](_0x2ceb00['id'],_0x2ceb00[_0x15d31d(0x202)]));}const _0xdb84d6=_0x1e9731[_0x15d31d(0x359)];for(const {fieldId:_0x1833cb,filterInfo:_0x295929}of _0xdb84d6)_0x3b4a38[_0x15d31d(0x226)](_0x1833cb,_0x295929);}function _0x352b84(_0x53116a,_0x4bab37){const _0x205e71=_0x15ffdc,_0xcdc268=[];_0x4bab37===_0x31fd0d[_0x205e71(0x28c)]['Row']&&_0x53116a[_0x205e71(0x449)](_0x31fd0d[_0x205e71(0x28c)][_0x205e71(0x289)],_0x1ab8e1=>{const _0x6b9c6=_0x205e71;_0xcdc268['push'](_0x1ab8e1[_0x6b9c6(0x3ce)]());}),_0x4bab37===_0x31fd0d['PivotTableFiledAreaEnum'][_0x205e71(0x3e0)]&&_0x53116a[_0x205e71(0x449)](_0x31fd0d['PivotTableFiledAreaEnum']['Column'],_0x5d4a42=>{const _0x571bb5=_0x205e71;_0xcdc268['push'](_0x5d4a42[_0x571bb5(0x3ce)]());}),_0x4bab37===_0x31fd0d[_0x205e71(0x28c)][_0x205e71(0x33a)]&&_0x53116a[_0x205e71(0x449)](_0x31fd0d[_0x205e71(0x28c)][_0x205e71(0x33a)],_0x2813e2=>{const _0x3b33a3=_0x205e71;_0xcdc268[_0x3b33a3(0x23e)](_0x2813e2[_0x3b33a3(0x3ce)]());}),_0x4bab37===_0x31fd0d[_0x205e71(0x28c)]['Value']&&_0x53116a[_0x205e71(0x449)](_0x31fd0d[_0x205e71(0x28c)][_0x205e71(0x2d2)],_0x5aef23=>{_0xcdc268['push'](_0x5aef23['getId']());}),_0x4bab37===void 0x0&&_0x53116a[_0x205e71(0x273)](_0x28a3fc=>{const _0x42d477=_0x205e71;_0xcdc268[_0x42d477(0x23e)](_0x28a3fc[_0x42d477(0x3ce)]());});const _0x2295b=_0xcdc268[_0x205e71(0x366)];for(let _0x426f59=_0x2295b-0x1;_0x426f59>=0x0;_0x426f59--)_0x53116a[_0x205e71(0x20f)](_0xcdc268[_0x426f59]);const _0x4ee3d6=_0x53116a[_0x205e71(0x440)]();for(const _0x4937dc in _0x4ee3d6)_0x53116a[_0x205e71(0x31e)](_0x4937dc);}function _0x52ab52(_0x32c584,_0x5557c5){const _0x12b935=_0x15ffdc,_0x832da=new Date(_0x31fd0d[_0x12b935(0x398)](_0x5557c5)),_0xa85dc7=new Date(_0x31fd0d[_0x12b935(0x398)](_0x32c584)),_0x2e7bf9=_0x832da[_0x12b935(0x476)](),_0x14d4e8=_0xa85dc7[_0x12b935(0x476)](),_0x39da3a=_0x832da[_0x12b935(0x427)](),_0x62abc4=_0xa85dc7[_0x12b935(0x427)](),_0x33f641=_0x832da[_0x12b935(0x43b)](),_0x20e4e9=_0xa85dc7[_0x12b935(0x43b)](),_0x4d6aa7=_0x2e7bf9===_0x14d4e8,_0xa489f1=_0x4d6aa7&&_0x39da3a===_0x62abc4;return _0x4d6aa7&&_0xa489f1&&!(_0xa489f1&&_0x33f641===_0x20e4e9)?_0x31fd0d['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x4d6aa7&&!_0xa489f1?_0x31fd0d[_0x12b935(0x225)][_0x12b935(0x34a)]:_0x31fd0d['PivotDateGroupFieldDateTypeEnum'][_0x12b935(0x30c)];}function _0x102f46(_0x5046ae,_0x38f156){const _0xc61d5b=_0x15ffdc,_0xc324d2=_0x5046ae[_0xc61d5b(0x1b6)](_0xc8ae41[_0xc61d5b(0x421)])['getTextInfo']();let _0xc18026='';switch(_0x38f156){case _0x31fd0d[_0xc61d5b(0x225)][_0xc61d5b(0x33c)]:_0xc18026=_0xc324d2[_0xc61d5b(0x342)];break;case _0x31fd0d['PivotDateGroupFieldDateTypeEnum'][_0xc61d5b(0x34a)]:_0xc18026=_0xc324d2[_0xc61d5b(0x46e)];break;case _0x31fd0d[_0xc61d5b(0x225)][_0xc61d5b(0x30c)]:_0xc18026=_0xc324d2[_0xc61d5b(0x43d)];break;case _0x31fd0d[_0xc61d5b(0x225)][_0xc61d5b(0x2e1)]:_0xc18026=_0xc324d2['sheets-pivot.dateGroup.month'];break;case _0x31fd0d['PivotDateGroupFieldDateTypeEnum'][_0xc61d5b(0x20e)]:_0xc18026=_0xc324d2[_0xc61d5b(0x19c)];break;case _0x31fd0d['PivotDateGroupFieldDateTypeEnum'][_0xc61d5b(0x247)]:_0xc18026=_0xc324d2[_0xc61d5b(0x485)];break;case _0x31fd0d[_0xc61d5b(0x225)]['HourMinute']:_0xc18026=_0xc324d2[_0xc61d5b(0x31c)];break;case _0x31fd0d[_0xc61d5b(0x225)][_0xc61d5b(0x1ed)]:_0xc18026=_0xc324d2['sheets-pivot.dateGroup.hour'];break;case _0x31fd0d['PivotDateGroupFieldDateTypeEnum']['Minute']:_0xc18026=_0xc324d2[_0xc61d5b(0x237)];break;case _0x31fd0d[_0xc61d5b(0x225)][_0xc61d5b(0x357)]:_0xc18026=_0xc324d2['sheets-pivot.dateGroup.monthDate'];break;case _0x31fd0d['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:_0xc18026=_0xc324d2[_0xc61d5b(0x314)];break;default:_0xc18026='';break;}return _0xc18026;}const _0x11e75f='sheets-pivot.config',_0x31a738={};var _0x50b649=Object[_0x15ffdc(0x35e)],_0x96cab9=(_0x9d8eec,_0x4532a3,_0x880ac2,_0x151759)=>{for(var _0x500bfa=_0x151759>0x1?void 0x0:_0x151759?_0x50b649(_0x4532a3,_0x880ac2):_0x4532a3,_0x5d9a68=_0x9d8eec['length']-0x1,_0x2306d7;_0x5d9a68>=0x0;_0x5d9a68--)(_0x2306d7=_0x9d8eec[_0x5d9a68])&&(_0x500bfa=_0x2306d7(_0x500bfa)||_0x500bfa);return _0x500bfa;},_0x17dcbc=(_0x18ad8d,_0x810639)=>(_0x1859e1,_0x49a565)=>_0x810639(_0x1859e1,_0x49a565,_0x18ad8d);_0xc8ae41[_0x15ffdc(0x484)]=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x241a22,_0x2beef2,_0x2cd17e,_0x116ad2,_0x6e3045){const _0x5b0d5f=_0x15ffdc;super(),_0x2518e1(this,_0x5b0d5f(0x36b),new Map()),_0x2518e1(this,_0x5b0d5f(0x34d),new Map()),_0x2518e1(this,'_pivotTableRangeInfo',new Map()),_0x2518e1(this,_0x5b0d5f(0x188),new Map()),_0x2518e1(this,_0x5b0d5f(0x42c),new _0x34a132['Subject']()),_0x2518e1(this,'_pivotInitCompleted$',new _0x34a132[(_0x5b0d5f(0x422))]()),_0x2518e1(this,_0x5b0d5f(0x27f),this[_0x5b0d5f(0x275)][_0x5b0d5f(0x25f)]()),_0x2518e1(this,_0x5b0d5f(0x243),new _0x34a132[(_0x5b0d5f(0x422))]()),_0x2518e1(this,'pivotConfigChange$',this['_pivotConfigChange$'][_0x5b0d5f(0x25f)]()),_0x2518e1(this,'_textInfo',{}),_0x2518e1(this,_0x5b0d5f(0x3c4),this['_configVersion$'][_0x5b0d5f(0x25f)]()),(this[_0x5b0d5f(0x210)]=_0x241a22,this[_0x5b0d5f(0x1f3)]=_0x2beef2,this[_0x5b0d5f(0x43a)]=_0x2cd17e,this['_resourceManagerService']=_0x116ad2,this[_0x5b0d5f(0x1e6)]=_0x6e3045,this[_0x5b0d5f(0x351)](),this['_initUnitDisposed']());const _0x10ee52=this[_0x5b0d5f(0x1e6)]['getConfig'](_0x11e75f);(_0x10ee52==null?void 0x0:_0x10ee52[_0x5b0d5f(0x280)])===!0x0&&this[_0x5b0d5f(0x1b4)]();}['_initUnitDisposed'](){const _0x4989e8=_0x15ffdc;this[_0x4989e8(0x2c3)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x578498['UniverInstanceType']['UNIVER_SHEET'])[_0x4989e8(0x318)](_0x3bd08d=>{const _0x2150e5=_0x4989e8;this[_0x2150e5(0x310)](_0x3bd08d[_0x2150e5(0x376)]());}));}[_0x15ffdc(0x48c)](){const _0x295368=_0x15ffdc;this[_0x295368(0x275)]['next'](!0x0);}[_0x15ffdc(0x351)](){const _0x37ef5c=_0x15ffdc,_0x55542b=_0x3bc57d(this[_0x37ef5c(0x210)],_0x158289,'',{});this['_textInfo']=_0x55542b,this[_0x37ef5c(0x1f3)]['executeCommand'](_0x1fc3c8['id'],{'textInfo':_0x55542b},{'onlyLocal':!0x0});}[_0x15ffdc(0x477)](){const _0x2b7c44=_0x15ffdc;return this[_0x2b7c44(0x239)];}[_0x15ffdc(0x325)](_0x4480b5,_0x54685f,_0x206140,_0x333909,_0x26a3dd){const _0x537056=_0x15ffdc;this['updatePivotTableMatrixInfo'](_0x4480b5,_0x54685f,_0x206140,_0x333909),this[_0x537056(0x283)](_0x4480b5,_0x54685f,_0x206140,_0x26a3dd);}[_0x15ffdc(0x1d5)](_0x5ed180,_0x3d5427,_0x2443e5){const _0x45dee8=_0x15ffdc;var _0x255818;const _0x17c1b2=(_0x255818=this[_0x45dee8(0x36b)][_0x45dee8(0x1b6)](_0x5ed180))==null?void 0x0:_0x255818[_0x45dee8(0x1b6)](_0x3d5427);if(_0x17c1b2)return _0x17c1b2[_0x45dee8(0x1b6)](_0x2443e5);}[_0x15ffdc(0x302)](_0xa95e1b,_0x14693a){const _0x445d1b=_0x15ffdc,_0x14028f=this['_model'][_0x445d1b(0x1b6)](_0xa95e1b);if(_0x14028f){for(const [_0xf4f614,_0x232964]of _0x14028f[_0x445d1b(0x404)]())for(const [_0x27b62f,_0x40d407]of _0x232964[_0x445d1b(0x404)]())if(_0x27b62f===_0x14693a)return _0x40d407[_0x445d1b(0x2a8)];}}[_0x15ffdc(0x3b9)](_0xb2ce62,_0x412962,_0x5ccb3b){const _0x3f4119=_0x15ffdc,_0x345c46=this[_0x3f4119(0x1d5)](_0xb2ce62,_0x412962,_0x5ccb3b);return _0x345c46==null?void 0x0:_0x345c46['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x4eb126,_0x53e553){const _0x169c8e=_0x15ffdc;var _0x4c5b03;return(_0x4c5b03=this[_0x169c8e(0x36b)][_0x169c8e(0x1b6)](_0x4eb126))==null?void 0x0:_0x4c5b03['get'](_0x53e553);}['updateConfigCache'](_0x21c29f,_0xcb62ed,_0x341db7,_0x53037b){const _0x3e82ca=_0x15ffdc,_0x49e39b=this['_ensurePivotMap'](_0x21c29f,_0xcb62ed);_0x53037b?_0x49e39b[_0x3e82ca(0x234)](_0x341db7,_0x53037b):_0x49e39b[_0x3e82ca(0x2f5)](_0x341db7),this[_0x3e82ca(0x243)]['next']({'unitId':_0x21c29f,'subUnitId':_0xcb62ed,'pivotTableId':_0x341db7,'pivotTableConfig':_0x53037b});}['getCollection'](_0x671040,_0x12284f){var _0xde11df;return(_0xde11df=this['_collectionConfigModel']['get'](_0x671040))==null?void 0x0:_0xde11df['collections'][_0x12284f];}['updateCollectionConfig'](_0x6ebe9,_0x1ea902){const _0x413353=_0x15ffdc;this['_collectionConfigModel']['set'](_0x6ebe9,_0x1ea902),this[_0x413353(0x42c)]['next'](Math['random']());}[_0x15ffdc(0x37d)](_0x243410,_0x52ae63){const _0x482994=_0x15ffdc;let _0x268327=this[_0x482994(0x36b)][_0x482994(0x1b6)](_0x243410);_0x268327||(_0x268327=new Map(),this[_0x482994(0x36b)][_0x482994(0x234)](_0x243410,_0x268327));let _0x45f032=_0x268327['get'](_0x52ae63);return _0x45f032||(_0x45f032=new Map(),_0x268327[_0x482994(0x234)](_0x52ae63,_0x45f032)),_0x45f032;}[_0x15ffdc(0x1f1)](_0x3a86f6,_0xc960ca){const _0x3820f7=_0x15ffdc;let _0x5110a2=this['_pivotTableRangeInfo'][_0x3820f7(0x1b6)](_0x3a86f6);_0x5110a2||(_0x5110a2=new Map(),this['_pivotTableRangeInfo'][_0x3820f7(0x234)](_0x3a86f6,_0x5110a2));let _0x5e7e66=_0x5110a2[_0x3820f7(0x1b6)](_0xc960ca);return _0x5e7e66||(_0x5e7e66=new Map(),_0x5110a2['set'](_0xc960ca,_0x5e7e66)),_0x5e7e66;}['_ensurePivotTableMatrixInfo'](_0x1d99ea,_0x205316){const _0x1b9e22=_0x15ffdc;let _0x50df24=this['_pivotTableMatrixInfo']['get'](_0x1d99ea);_0x50df24||(_0x50df24=new Map(),this['_pivotTableMatrixInfo'][_0x1b9e22(0x234)](_0x1d99ea,_0x50df24));let _0x543bc4=_0x50df24['get'](_0x205316);return _0x543bc4||(_0x543bc4=new Map(),_0x50df24[_0x1b9e22(0x234)](_0x205316,_0x543bc4)),_0x543bc4;}[_0x15ffdc(0x283)](_0x239a86,_0x16d0dd,_0x5b7505,_0x595d35){const _0x4d7244=_0x15ffdc;var _0x3a274a;const _0x745daa=this[_0x4d7244(0x1f1)](_0x239a86,_0x16d0dd),_0x1d6cab=(_0x3a274a=_0x745daa['get'](_0x5b7505))==null?void 0x0:_0x3a274a[_0x4d7244(0x2e6)];_0x745daa[_0x4d7244(0x234)](_0x5b7505,{'oldRangeInfo':_0x1d6cab,'rangeInfo':_0x595d35});}[_0x15ffdc(0x48b)](_0x1809ac,_0x3da104,_0x52ea3d,_0x503f5b){const _0x3196bc=_0x15ffdc;var _0x58d918;const _0x343d38=this[_0x3196bc(0x2e4)](_0x1809ac,_0x3da104),_0x41ece4=(_0x58d918=_0x343d38['get'](_0x52ea3d))==null?void 0x0:_0x58d918[_0x3196bc(0x1b3)];_0x343d38[_0x3196bc(0x234)](_0x52ea3d,{'oldMatrix':_0x41ece4,'matrix':_0x503f5b});}['getPivotTableRangeInfo'](_0x54baf6,_0x366561,_0x280f7d){const _0x4d1d77=_0x15ffdc;var _0x2f85f4,_0x3aede3;return(_0x3aede3=(_0x2f85f4=this[_0x4d1d77(0x2ec)][_0x4d1d77(0x1b6)](_0x54baf6))==null?void 0x0:_0x2f85f4[_0x4d1d77(0x1b6)](_0x366561))==null?void 0x0:_0x3aede3[_0x4d1d77(0x1b6)](_0x280f7d);}[_0x15ffdc(0x478)](_0x5defe3,_0x11e001,_0xe94b17){const _0x52ebc7=_0x15ffdc;var _0x15a566,_0x3d69ac;return(_0x3d69ac=(_0x15a566=this[_0x52ebc7(0x188)]['get'](_0x5defe3))==null?void 0x0:_0x15a566[_0x52ebc7(0x1b6)](_0x11e001))==null?void 0x0:_0x3d69ac[_0x52ebc7(0x1b6)](_0xe94b17);}[_0x15ffdc(0x310)](_0x33d130){const _0x481ff1=_0x15ffdc;this['_model']['delete'](_0x33d130),this[_0x481ff1(0x34d)][_0x481ff1(0x2f5)](_0x33d130);}[_0x15ffdc(0x1fa)](_0x5def3b){const _0x59bfe7=_0x15ffdc,_0x3c36cf={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x59bfe7(0x34d)][_0x59bfe7(0x1b6)](_0x5def3b)&&(_0x3c36cf[_0x59bfe7(0x269)][_0x5def3b]=this[_0x59bfe7(0x34d)][_0x59bfe7(0x1b6)](_0x5def3b)),this[_0x59bfe7(0x36b)]['get'](_0x5def3b)){_0x3c36cf[_0x59bfe7(0x42d)][_0x5def3b]={};const _0x500fab=this[_0x59bfe7(0x36b)][_0x59bfe7(0x1b6)](_0x5def3b);_0x500fab!=null&&_0x500fab['size']&&[..._0x500fab[_0x59bfe7(0x34f)]()][_0x59bfe7(0x3fd)](_0x2c57b2=>{const _0x4eacc3=_0x59bfe7,_0x5bf34b=_0x500fab[_0x4eacc3(0x1b6)](_0x2c57b2);_0x5bf34b!=null&&_0x5bf34b[_0x4eacc3(0x296)]&&(_0x3c36cf[_0x4eacc3(0x42d)][_0x5def3b][_0x2c57b2]={},[..._0x5bf34b['keys']()][_0x4eacc3(0x3fd)](_0x548316=>{const _0x3ad36a=_0x4eacc3,_0x2d29ef=_0x5bf34b[_0x3ad36a(0x1b6)](_0x548316);_0x2d29ef&&(_0x3c36cf[_0x3ad36a(0x42d)][_0x5def3b][_0x2c57b2][_0x548316]=_0x2d29ef);}));});}return _0x3c36cf;}[_0x15ffdc(0x1b4)](){const _0x57d164=_0x15ffdc;this[_0x57d164(0x2c3)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x106380=>JSON[_0x57d164(0x1a2)](this['_toJSON'](_0x106380)),'parseJson':_0x283f03=>({}),'businesses':[_0x578498[_0x57d164(0x1f6)][_0x57d164(0x185)]],'pluginName':_0x598476,'onLoad':(_0x4d1efe,_0x2b6e53)=>{},'onUnLoad':_0x42e5ea=>{this['deleteUnitId'](_0x42e5ea);}}));}},_0xc8ae41[_0x15ffdc(0x484)]=_0x96cab9([_0x17dcbc(0x0,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x3da)])),_0x17dcbc(0x1,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x339)])),_0x17dcbc(0x2,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x214)])),_0x17dcbc(0x3,_0x578498[_0x15ffdc(0x2d1)](_0x578498['IResourceManagerService'])),_0x17dcbc(0x4,_0x578498['Inject'](_0x578498[_0x15ffdc(0x402)]))],_0xc8ae41[_0x15ffdc(0x484)]);var _0x1e221f=Object[_0x15ffdc(0x35e)],_0x667ec3=(_0x5287a1,_0x55acaa,_0x455db3,_0x57ec5a)=>{const _0x5e9fe5=_0x15ffdc;for(var _0x17232a=_0x57ec5a>0x1?void 0x0:_0x57ec5a?_0x1e221f(_0x55acaa,_0x455db3):_0x55acaa,_0x380b82=_0x5287a1[_0x5e9fe5(0x366)]-0x1,_0x39eaaa;_0x380b82>=0x0;_0x380b82--)(_0x39eaaa=_0x5287a1[_0x380b82])&&(_0x17232a=_0x39eaaa(_0x17232a)||_0x17232a);return _0x17232a;},_0x49e611=(_0x2ac699,_0x56cab4)=>(_0x1c4308,_0xe8d71)=>_0x56cab4(_0x1c4308,_0xe8d71,_0x2ac699);_0xc8ae41[_0x15ffdc(0x2ef)]=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x4cea00,_0x4cd36c,_0x46b130,_0x1ead25,_0x22f7f1){const _0x39baa8=_0x15ffdc;super(),_0x2518e1(this,'_pivotRenderInfoCache',new Map()),_0x2518e1(this,_0x39baa8(0x2e5),new Map()),_0x2518e1(this,_0x39baa8(0x3ad),new _0x34a132[(_0x39baa8(0x422))]()),_0x2518e1(this,_0x39baa8(0x2ac),this['_markDirty$'][_0x39baa8(0x25f)]()),_0x2518e1(this,_0x39baa8(0x2ff),new _0x34a132[(_0x39baa8(0x422))]()),_0x2518e1(this,'viewUpdate$',this[_0x39baa8(0x2ff)][_0x39baa8(0x25f)]()),_0x2518e1(this,'_textInfo'),(this[_0x39baa8(0x456)]=_0x4cea00,this['_injector']=_0x4cd36c,this[_0x39baa8(0x475)]=_0x46b130,this[_0x39baa8(0x43a)]=_0x1ead25,this['_exclusiveRangeService']=_0x22f7f1,this[_0x39baa8(0x351)](),this['_initUnitDisposed']());}[_0x15ffdc(0x2f2)](){const _0x409ec8=_0x15ffdc;this['disposeWithMe'](this[_0x409ec8(0x43a)][_0x409ec8(0x386)](_0x578498[_0x409ec8(0x1f6)][_0x409ec8(0x185)])[_0x409ec8(0x318)](_0x332cfd=>{const _0x495d14=_0x409ec8;this[_0x495d14(0x310)](_0x332cfd[_0x495d14(0x376)]());}));}['_initLocale'](){const _0x33768a=_0x15ffdc;this[_0x33768a(0x239)]=_0x3bc57d(this['_injector'],_0x158289,'',{});}['updateRenderCache'](_0x42f0f5){const _0x4abf09=_0x15ffdc,{view:_0x1c77e4,unitId:_0x3aca2c,subUnitId:_0x37c7bf,pivotTableId:_0x4ff205,type:_0x4bc806}=_0x42f0f5,_0x4b7030=this['_sheetsPivotTableConfigModel'][_0x4abf09(0x1d5)](_0x3aca2c,_0x37c7bf,_0x4ff205);if(!_0x1c77e4||!_0x4b7030||_0x4bc806===_0x4f3f1d[_0x4abf09(0x1a9)])return;const {pageView:_0x49a4d7,cornerView:_0xd60d65,rowView:_0x3bf8a9,colView:_0x2ff83c,dataView:_0x42b9c5}=_0x1c77e4,_0x1ab31c=_0x4b7030[_0x4abf09(0x2a8)],_0x1329f4=_0x4b7030[_0x4abf09(0x317)],_0x2b3a7b=this[_0x4abf09(0x38d)](_0x3aca2c,_0x37c7bf),_0x4611f7=this[_0x4abf09(0x1ff)](_0x3aca2c,_0x37c7bf,_0x4ff205);if(_0x1329f4)return this[_0x4abf09(0x331)](_0x42f0f5,_0x2b3a7b,_0x1ab31c,_0x4611f7);{const _0x15d2c1=_0x1342b0(_0x1ab31c,_0x49a4d7,!0x0),_0x3d6691=_0x49a4d7['lastRow']>=0x0?_0x49a4d7[_0x4abf09(0x341)]+0x1:0x0,_0x36a399=_0xd60d65[_0x4abf09(0x26c)](),_0x20953b=_0xd60d65['getColCount'](),_0x4c5f91=_0x15d2c1[_0x4abf09(0x366)]>0x0?_0x3d21a4:0x0,_0x1154ff=_0x1342b0({'row':_0x1ab31c['row']+_0x3d6691+_0x4c5f91,'col':_0x1ab31c[_0x4abf09(0x37c)]},_0xd60d65,!0x1,!0x1),_0x11c6a1=_0x1342b0({'row':_0x1ab31c['row']+_0x3d6691+_0x4c5f91+_0x36a399,'col':_0x1ab31c[_0x4abf09(0x37c)]},_0x3bf8a9,!0x1,!0x0),_0x2d28cb=_0x1342b0({'row':_0x1ab31c[_0x4abf09(0x29a)]+_0x3d6691+_0x4c5f91,'col':_0x1ab31c['col']+_0x20953b},_0x2ff83c,!0x1,!0x0),_0x399dac=_0x1342b0({'row':_0x1ab31c['row']+_0x3d6691+_0x4c5f91+_0x36a399,'col':_0x1ab31c['col']+_0x20953b},_0x42b9c5,!0x1,!0x1);_0x4611f7['rangesInfo']={'rowRanges':_0x11c6a1,'colRanges':_0x2d28cb,'cornerRanges':_0x1154ff,'dataRanges':_0x399dac,'pageRanges':_0x15d2c1};const _0x5aa2ea=_0x263020(this[_0x4abf09(0x210)],_0x1c77e4,_0x4b7030,this[_0x4abf09(0x239)]),{valueMatrix:_0x44b0f9,rowInfo:_0x2a2466,colInfo:_0x55bb66,cornerInfo:_0x3f080c,rowHeaderMap:_0x23dd2e,colHeaderMap:_0x576360}=_0x5aa2ea;return _0x4611f7['areaInfo']={'rowInfo':_0x2a2466,'colInfo':_0x55bb66,'cornerInfo':_0x3f080c},_0x4611f7[_0x4abf09(0x221)]={'rowHeaderMap':_0x23dd2e,'colHeaderMap':_0x576360},_0x44b0f9[_0x4abf09(0x3fd)]((_0x23f13d,_0x1164d9)=>{const _0x1f16fb=_0x4abf09;Object[_0x1f16fb(0x34f)](_0x1164d9)[_0x1f16fb(0x3fd)](_0xa091f5=>{const _0x27e3e9=_0x1f16fb,_0x19610a=+_0xa091f5,_0x42d93b=_0x44b0f9[_0x27e3e9(0x1f5)](_0x23f13d,_0x19610a);_0x2b3a7b[_0x27e3e9(0x3d3)](_0x23f13d,_0x19610a,_0x42d93b);});}),this[_0x4abf09(0x2ff)][_0x4abf09(0x316)]({'unitId':_0x3aca2c,'subUnitId':_0x37c7bf,'valueMatrix':_0x2b3a7b,'rangesCache':_0x4611f7['rangesInfo'],'pivotTableId':_0x4ff205,'type':_0x42f0f5[_0x4abf09(0x22f)]}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x3aca2c,_0x37c7bf,_0x4ff205,_0x2b3a7b,_0x4611f7[_0x4abf09(0x474)]),this[_0x4abf09(0x344)][_0x4abf09(0x416)](_0x3aca2c,_0x37c7bf,_0xb34a8a,this['_createExclusiveRange'](_0x4611f7[_0x4abf09(0x474)],_0x4ff205)),{'rangeCache':_0x4611f7[_0x4abf09(0x474)],'matrix':_0x2b3a7b};}}[_0x15ffdc(0x331)](_0x59e1e1,_0x33c65f,_0x495d84,_0x1afa14){const _0x456c16=_0x15ffdc,_0x58cbcf=this[_0x456c16(0x456)]['t'],{unitId:_0x289a21,subUnitId:_0x346a24,pivotTableId:_0x202d9d}=_0x59e1e1,_0xf5b8b8={'filter':_0x58cbcf(_0x456c16(0x28d)),'row':_0x58cbcf(_0x456c16(0x470)),'column':_0x58cbcf(_0x456c16(0x41c)),'values':_0x58cbcf(_0x456c16(0x338))},{matrixCache:_0x49ac7f,rangesCache:_0x26549f}=_0x4c3b06(_0xf5b8b8,_0x495d84);return _0x49ac7f[_0x456c16(0x1d9)]((_0x34b464,_0x5519ff,_0x2ddbca)=>{_0x33c65f['setValue'](_0x34b464,_0x5519ff,_0x2ddbca);}),_0x1afa14[_0x456c16(0x474)]=_0x26549f,this[_0x456c16(0x2ff)][_0x456c16(0x316)]({'unitId':_0x289a21,'subUnitId':_0x346a24,'valueMatrix':_0x33c65f,'rangesCache':_0x26549f,'pivotTableId':_0x202d9d,'type':_0x59e1e1[_0x456c16(0x22f)],'isEmpty':!0x0}),this[_0x456c16(0x475)][_0x456c16(0x325)](_0x289a21,_0x346a24,_0x202d9d,_0x33c65f,_0x26549f),this[_0x456c16(0x344)]['addExclusiveRange'](_0x289a21,_0x346a24,_0xb34a8a,this[_0x456c16(0x1f7)](_0x26549f,_0x202d9d)),{'rangeCache':_0x1afa14['rangesInfo'],'matrix':_0x33c65f};}[_0x15ffdc(0x1f7)](_0x5b6304,_0xff00fc){const _0x2670f9=_0x15ffdc,_0x33736e=[],_0x2d217d=_0x54f1ba(_0x5b6304);for(const _0x4fc0d2 of _0x2d217d)_0x33736e[_0x2670f9(0x23e)]({'groupId':_0xff00fc,'range':_0x4fc0d2});return _0x33736e;}[_0x15ffdc(0x301)](_0x4276c9){const _0x2f2b60=_0x15ffdc;var _0x26876b,_0x4d721d,_0x129ab7,_0x53b4e7;const {pivotTableId:_0x4c111c,unitId:_0x2560e1,subUnitId:_0x49519f}=_0x4276c9;if(!_0x4c111c||!_0x2560e1||!_0x49519f)return;const _0x3eb9db=this[_0x2f2b60(0x38d)](_0x2560e1,_0x49519f),_0x453740=(_0x4d721d=(_0x26876b=this[_0x2f2b60(0x1dd)][_0x2f2b60(0x1b6)](_0x2560e1))==null?void 0x0:_0x26876b[_0x2f2b60(0x1b6)](_0x49519f))==null?void 0x0:_0x4d721d[_0x2f2b60(0x1b6)](_0x4c111c);if(_0x453740!=null&&_0x453740['rangesInfo']){for(const _0x53a988 of Object['keys'](_0x453740[_0x2f2b60(0x474)]))_0x453740[_0x2f2b60(0x474)][_0x53a988][_0x2f2b60(0x3fd)](_0x2d9ee2=>{const _0x1e25c3=_0x2f2b60;for(let _0x2cd665=_0x2d9ee2[_0x1e25c3(0x458)];_0x2cd665<=_0x2d9ee2[_0x1e25c3(0x219)];_0x2cd665++)for(let _0xab1e0e=_0x2d9ee2[_0x1e25c3(0x228)];_0xab1e0e<=_0x2d9ee2[_0x1e25c3(0x333)];_0xab1e0e++)_0x3eb9db[_0x1e25c3(0x3ca)](_0x2cd665,_0xab1e0e);});}_0x453740&&((_0x53b4e7=(_0x129ab7=this['_pivotRenderInfoCache'][_0x2f2b60(0x1b6)](_0x2560e1))==null?void 0x0:_0x129ab7[_0x2f2b60(0x1b6)](_0x49519f))==null||_0x53b4e7['delete'](_0x4c111c)),this[_0x2f2b60(0x2ff)][_0x2f2b60(0x316)]({'unitId':_0x2560e1,'subUnitId':_0x49519f,'valueMatrix':_0x3eb9db,'pivotTableId':_0x4c111c,'rangesCache':void 0x0,'type':_0x4276c9[_0x2f2b60(0x22f)]}),this[_0x2f2b60(0x344)][_0x2f2b60(0x46b)](_0x2560e1,_0x49519f,_0xb34a8a,_0x4c111c);}['_ensurePivotItemRenderInfoCache'](_0x2d2565,_0x372442,_0x2d6fd0){const _0x20cb82=_0x15ffdc;var _0x4a0842,_0x26847f,_0x5d1983,_0x24545d,_0x17328f,_0x3ac9bc;return this[_0x20cb82(0x1dd)]['has'](_0x2d2565)||this[_0x20cb82(0x1dd)][_0x20cb82(0x234)](_0x2d2565,new Map()),(_0x4a0842=this[_0x20cb82(0x1dd)][_0x20cb82(0x1b6)](_0x2d2565))!=null&&_0x4a0842[_0x20cb82(0x392)](_0x372442)||(_0x26847f=this[_0x20cb82(0x1dd)][_0x20cb82(0x1b6)](_0x2d2565))==null||_0x26847f['set'](_0x372442,new Map()),(_0x24545d=(_0x5d1983=this[_0x20cb82(0x1dd)][_0x20cb82(0x1b6)](_0x2d2565))==null?void 0x0:_0x5d1983[_0x20cb82(0x1b6)](_0x372442))!=null&&_0x24545d['has'](_0x2d6fd0)||(_0x3ac9bc=(_0x17328f=this[_0x20cb82(0x1dd)][_0x20cb82(0x1b6)](_0x2d2565))==null?void 0x0:_0x17328f[_0x20cb82(0x1b6)](_0x372442))==null||_0x3ac9bc[_0x20cb82(0x234)](_0x2d6fd0,{}),this[_0x20cb82(0x1dd)]['get'](_0x2d2565)[_0x20cb82(0x1b6)](_0x372442)[_0x20cb82(0x1b6)](_0x2d6fd0);}[_0x15ffdc(0x38d)](_0x389db7,_0x12d6c8){const _0x9c0a9c=_0x15ffdc;var _0x3b19c1,_0x162ea9;return this[_0x9c0a9c(0x2e5)][_0x9c0a9c(0x392)](_0x389db7)||this[_0x9c0a9c(0x2e5)][_0x9c0a9c(0x234)](_0x389db7,new Map()),(_0x3b19c1=this[_0x9c0a9c(0x2e5)]['get'](_0x389db7))!=null&&_0x3b19c1[_0x9c0a9c(0x392)](_0x12d6c8)||(_0x162ea9=this[_0x9c0a9c(0x2e5)]['get'](_0x389db7))==null||_0x162ea9['set'](_0x12d6c8,new _0x578498[(_0x9c0a9c(0x35a))]()),this[_0x9c0a9c(0x2e5)][_0x9c0a9c(0x1b6)](_0x389db7)['get'](_0x12d6c8);}[_0x15ffdc(0x18b)](_0x45637e,_0x385f13,_0x2bcace,_0x42cee8){const _0x384a15=_0x15ffdc;var _0x28e264,_0x9d0350;const _0x2a2546=(_0x9d0350=(_0x28e264=this[_0x384a15(0x2e5)][_0x384a15(0x1b6)](_0x45637e))==null?void 0x0:_0x28e264[_0x384a15(0x1b6)](_0x385f13))==null?void 0x0:_0x9d0350[_0x384a15(0x1f5)](_0x2bcace,_0x42cee8);if(_0x2a2546!=null)return _0x2a2546;}[_0x15ffdc(0x455)](_0x181fbf,_0x1d8245,_0x3bd6ea,_0x1497f1){const _0x38a8b9=_0x15ffdc;var _0x38fa66;const _0x48c05a=_0x578498[_0x38a8b9(0x415)](_0x3bd6ea,_0x1497f1),_0x35a958=(_0x38fa66=this['_pivotRenderInfoCache']['get'](_0x181fbf))==null?void 0x0:_0x38fa66[_0x38a8b9(0x1b6)](_0x1d8245);return _0x35a958?Array[_0x38a8b9(0x2c8)](_0x35a958[_0x38a8b9(0x34f)]())[_0x38a8b9(0x3f3)](_0x3744cd=>{const _0x34f32a=_0x38a8b9,_0x390d7d=_0x35a958[_0x34f32a(0x1b6)](_0x3744cd),_0x3226af=_0x390d7d==null?void 0x0:_0x390d7d[_0x34f32a(0x474)];return _0x3226af?Object['keys'](_0x3226af)[_0x34f32a(0x374)](_0x19bf21=>_0x3226af[_0x19bf21][_0x34f32a(0x374)](_0x336b00=>_0x578498[_0x34f32a(0x1e5)]['contains'](_0x336b00,_0x48c05a))):!0x1;}):void 0x0;}[_0x15ffdc(0x47f)](_0x2c6e46,_0x5673a3,_0x3b2a4d){const _0x7bdfa8=_0x15ffdc;var _0xfe2304;const _0x3a80d2=(_0xfe2304=this[_0x7bdfa8(0x1dd)][_0x7bdfa8(0x1b6)](_0x2c6e46))==null?void 0x0:_0xfe2304[_0x7bdfa8(0x1b6)](_0x5673a3),_0x334751=[];return _0x3a80d2&&Array['from'](_0x3a80d2[_0x7bdfa8(0x34f)]())[_0x7bdfa8(0x3fd)](_0x3ecf74=>{const _0x12157e=_0x7bdfa8,_0x330ee2=_0x3a80d2[_0x12157e(0x1b6)](_0x3ecf74),_0x33d02c=_0x330ee2==null?void 0x0:_0x330ee2[_0x12157e(0x474)];if(_0x33d02c)for(const _0x6a4a1c of Object['values'](_0x33d02c)){let _0x58af62=!0x1;for(const _0x328c59 of _0x6a4a1c)if(_0x578498[_0x12157e(0x1e5)][_0x12157e(0x3bc)](_0x328c59,_0x3b2a4d)){_0x334751[_0x12157e(0x23e)](_0x3ecf74),_0x58af62=!0x0;break;}if(_0x58af62)break;}}),_0x334751;}['getSubUnitPivotMatrix'](_0x76288d,_0x43c97e){const _0x2e2e69=_0x15ffdc;var _0x3e2cd7,_0x26827d;return(_0x26827d=(_0x3e2cd7=this['_pivotRenderValueMatrixCache']['get'](_0x76288d))==null?void 0x0:_0x3e2cd7['get'](_0x43c97e))!=null?_0x26827d:new _0x578498[(_0x2e2e69(0x35a))]();}[_0x15ffdc(0x3a1)](_0x361817,_0x561ed0){const _0x45eb4e=_0x15ffdc;var _0xda195a;return(_0xda195a=this['_pivotRenderInfoCache'][_0x45eb4e(0x1b6)](_0x361817))==null?void 0x0:_0xda195a['get'](_0x561ed0);}[_0x15ffdc(0x29c)](_0xd5d0fe,_0x1b037a,_0x385c8e){const _0x11b076=_0x15ffdc;var _0x1745c6,_0x79d340;return(_0x79d340=(_0x1745c6=this['_pivotRenderInfoCache'][_0x11b076(0x1b6)](_0xd5d0fe))==null?void 0x0:_0x1745c6[_0x11b076(0x1b6)](_0x1b037a))==null?void 0x0:_0x79d340[_0x11b076(0x1b6)](_0x385c8e);}[_0x15ffdc(0x310)](_0x13751f){const _0x15b5c5=_0x15ffdc;this['_pivotRenderInfoCache']['delete'](_0x13751f),this[_0x15b5c5(0x2e5)]['delete'](_0x13751f);}[_0x15ffdc(0x39d)](_0x3217e1,_0x257b32){const _0x48a0c8=_0x15ffdc;this[_0x48a0c8(0x3ad)]['next']({'unitId':_0x3217e1,'subUnitId':_0x257b32});}},_0xc8ae41['SheetsPivotTableAdaptorModel']=_0x667ec3([_0x49e611(0x0,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x282)])),_0x49e611(0x1,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x3da)])),_0x49e611(0x2,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41[_0x15ffdc(0x484)])),_0x49e611(0x3,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x214)])),_0x49e611(0x4,_0x578498[_0x15ffdc(0x2d1)](_0x137997[_0x15ffdc(0x183)]))],_0xc8ae41[_0x15ffdc(0x2ef)]);var _0x400a74=Object[_0x15ffdc(0x35e)],_0x49a465=(_0x325679,_0x1b59ef,_0x35062f,_0x19baf4)=>{const _0x2b97b0=_0x15ffdc;for(var _0x306e77=_0x19baf4>0x1?void 0x0:_0x19baf4?_0x400a74(_0x1b59ef,_0x35062f):_0x1b59ef,_0x3aa261=_0x325679[_0x2b97b0(0x366)]-0x1,_0x5df8b6;_0x3aa261>=0x0;_0x3aa261--)(_0x5df8b6=_0x325679[_0x3aa261])&&(_0x306e77=_0x5df8b6(_0x306e77)||_0x306e77);return _0x306e77;},_0x1a4cc0=(_0x46b472,_0x4a9257)=>(_0xdaea55,_0x26c1bb)=>_0x4a9257(_0xdaea55,_0x26c1bb,_0x46b472);_0xc8ae41[_0x15ffdc(0x2bd)]=class extends _0x578498['Disposable']{constructor(_0x1e824f,_0x3da073){const _0x30a720=_0x15ffdc;super(),_0x2518e1(this,'asyncInterceptor',new _0x578498[(_0x30a720(0x3c5))]({'PIVOT_PERFORM_CHECK':_0xa3c025})),_0x2518e1(this,_0x30a720(0x263),new _0x578498[(_0x30a720(0x290))]({'PIVOT_MUTATION_GENERATE':_0x545318})),(this[_0x30a720(0x277)]=_0x1e824f,this[_0x30a720(0x1c1)]=_0x3da073,this[_0x30a720(0x3bf)]());}[_0x15ffdc(0x3bf)](){const _0x473de9=_0x15ffdc;this[_0x473de9(0x43f)]();}[_0x15ffdc(0x418)](_0x397ed7){const _0x599284=_0x15ffdc;return this[_0x599284(0x200)]['fetchThroughAsyncInterceptors'](_0xa3c025)(!0x1,_0x397ed7);}[_0x15ffdc(0x43f)](){const _0x31968b=_0x15ffdc;this[_0x31968b(0x2c3)](this[_0x31968b(0x277)][_0x31968b(0x2cf)](_0x137997[_0x31968b(0x3cc)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x578498[_0x31968b(0x3d4)][_0x31968b(0x2d2)]|_0x578498[_0x31968b(0x3d4)]['Style'],'handler':(_0x13ac53,_0x53388f,_0x37ce20)=>{const _0x3913e9=_0x31968b,{row:_0x45ba04,col:_0x2841c6,unitId:_0x4b206c,subUnitId:_0x3cb01a,workbook:_0x560db6}=_0x53388f,_0x2cb432=this['_sheetsPivotTableAdaptorModel'][_0x3913e9(0x18b)](_0x4b206c,_0x3cb01a,_0x45ba04,_0x2841c6);if(!_0x2cb432)return _0x37ce20(_0x13ac53);const _0x340c15={..._0x13ac53};(_0x2cb432['v']||_0x2cb432['v']===0x0)&&(_0x340c15['v']=_0x2cb432['v']),_0x2cb432['t']&&(_0x340c15['t']=_0x2cb432['t']);const _0x235cc0=(typeof(_0x13ac53==null?void 0x0:_0x13ac53['s'])==_0x3913e9(0x305)?_0x560db6[_0x3913e9(0x3bb)]()[_0x3913e9(0x1b6)](_0x13ac53==null?void 0x0:_0x13ac53['s']):_0x13ac53==null?void 0x0:_0x13ac53['s'])||{},_0x4f4987=_0x560db6[_0x3913e9(0x3bb)]()['get'](_0x2cb432['s']),_0x35789b={..._0x4f4987,..._0x235cc0};_0x4f4987!=null&&_0x4f4987['n']&&(_0x35789b['n']=_0x4f4987['n']);const _0x27324e=_0x560db6['getStyles']()['setValue'](_0x35789b);return _0x340c15['s']=_0x27324e,(_0x2cb432['pbt']===_0x31fd0d[_0x3913e9(0x45c)]['Collapse']||_0x2cb432[_0x3913e9(0x203)]===_0x31fd0d[_0x3913e9(0x45c)]['Expand'])&&(_0x340c15['fontRenderExtension']={},_0x340c15[_0x3913e9(0x2b9)][_0x3913e9(0x2c4)]=_0x1687fc),_0x37ce20(_0x340c15);}}));}},_0xc8ae41[_0x15ffdc(0x2bd)]=_0x49a465([_0x1a4cc0(0x0,_0x578498['Inject'](_0x137997[_0x15ffdc(0x1d8)])),_0x1a4cc0(0x1,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41[_0x15ffdc(0x2ef)]))],_0xc8ae41[_0x15ffdc(0x2bd)]);const _0x380633={'id':_0x15ffdc(0x3ba),'type':_0x578498['CommandType'][_0x15ffdc(0x216)],'handler':(_0x415c21,_0x57874e)=>{const _0xf1c0d4=_0x15ffdc;if(!_0x57874e)return!0x1;if(!!_0x415c21[_0xf1c0d4(0x1b6)](_0x578498[_0xf1c0d4(0x402)])[_0xf1c0d4(0x3f2)](_0x98d9f3))return!0x0;const {pivotTableId:_0x247870,fieldJSON:_0x34e1af,unitId:_0x152be1,subUnitId:_0x2ca20d}=_0x57874e;let _0x491709;const {dataFieldType:_0x577c42,id:_0x25d37c,name:_0xcee51b,hexCode:_0x24896b,originalFieldId:_0x21bd56}=_0x34e1af;if(_0x577c42===_0x31fd0d[_0xf1c0d4(0x44e)][_0xf1c0d4(0x2e7)]&&(_0x491709=new _0x31fd0d['DateGroupField'](_0x25d37c,_0xcee51b,_0x24896b,_0x21bd56)),!_0x491709)return!0x1;const _0x5e51c9=_0x415c21[_0xf1c0d4(0x1b6)](_0xc8ae41['SheetsPivotDataSourceModel']),_0x4f3987=_0x5e51c9[_0xf1c0d4(0x3d8)](_0x152be1),_0x40f967=_0x4f3987[_0xf1c0d4(0x39f)](_0x247870);_0x4f3987[_0xf1c0d4(0x303)](_0x491709),_0x40f967[_0xf1c0d4(0x488)](_0x491709[_0xf1c0d4(0x3ce)](),_0x491709[_0xf1c0d4(0x2bb)]());const _0x4044c0=_0x40f967[_0xf1c0d4(0x45e)](_0x491709[_0xf1c0d4(0x38b)]());_0x4044c0&&_0x491709['refreshGroupField'](_0x4044c0);const _0x55515a=_0x5e51c9[_0xf1c0d4(0x1d5)](_0x152be1,_0x2ca20d,_0x247870);return _0x5e51c9[_0xf1c0d4(0x1f9)]({'unitId':_0x152be1,'subUnitId':_0x2ca20d,'token':_0x247870,'type':_0x4f3f1d[_0xf1c0d4(0x1d4)],'pivotConfig':_0x55515a}),!0x0;}},_0x4d298d={'id':_0x15ffdc(0x31a),'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'handler':(_0x5e0e19,_0x47050a)=>{const _0xd83654=_0x15ffdc;if(!_0x47050a)return!0x1;if(!!_0x5e0e19[_0xd83654(0x1b6)](_0x578498['IConfigService'])['getConfig'](_0x98d9f3))return!0x0;const {pivotTableId:_0x169752,dataFieldId:_0x3adbf8,unitId:_0x18f290,subUnitId:_0x364e48}=_0x47050a,_0x21d487=_0x5e0e19[_0xd83654(0x1b6)](_0xc8ae41[_0xd83654(0x421)]),_0x3acc90=_0x21d487[_0xd83654(0x3d8)](_0x18f290);_0x3acc90[_0xd83654(0x39f)](_0x169752)[_0xd83654(0x3f8)](_0x3adbf8);let _0x5236fd=!0x0;for(const _0x545a4d in _0x3acc90[_0xd83654(0x28b)])if(_0x3acc90['collections'][_0x545a4d][_0xd83654(0x2d8)]()['includes'](_0x3adbf8)){_0x5236fd=!0x1;break;}_0x5236fd&&_0x3acc90['deleteDataField'](_0x3adbf8);const _0x43e6bb=_0x21d487[_0xd83654(0x1d5)](_0x18f290,_0x364e48,_0x169752);return _0x21d487[_0xd83654(0x1f9)]({'unitId':_0x18f290,'subUnitId':_0x364e48,'token':_0x169752,'type':_0x4f3f1d[_0xd83654(0x1d4)],'pivotConfig':_0x43e6bb}),!0x0;}};function _0x578e38(_0x48d652,_0x3bdb81){const _0x4d40d3=_0x15ffdc;switch(_0x3bdb81){case _0x31fd0d[_0x4d40d3(0x28c)][_0x4d40d3(0x2d2)]:return _0x48d652['valueFields'];case _0x31fd0d[_0x4d40d3(0x28c)][_0x4d40d3(0x33a)]:return _0x48d652[_0x4d40d3(0x26b)];case _0x31fd0d[_0x4d40d3(0x28c)][_0x4d40d3(0x289)]:return _0x48d652[_0x4d40d3(0x452)];case _0x31fd0d[_0x4d40d3(0x28c)][_0x4d40d3(0x3e0)]:return _0x48d652[_0x4d40d3(0x300)];default:return[];}}function _0x3ea48d(_0x12bb25,_0x59b7f8){const _0x1c0bd0=_0x15ffdc;return _0x12bb25[_0x1c0bd0(0x254)][_0x59b7f8]||_0x12bb25[_0x1c0bd0(0x46c)][_0x59b7f8];}function _0x2b4d24(_0x5025e4,_0x1902b0){const _0x12ef3d=_0x15ffdc,{area:_0x5f1fd2,fieldJson:_0x7b4e13,index:_0xebff28}=_0x1902b0;_0x5f1fd2===_0x31fd0d['PivotTableFiledAreaEnum'][_0x12ef3d(0x2d2)]?_0x5025e4[_0x12ef3d(0x254)][_0x7b4e13['id']]=_0x7b4e13:_0x5025e4[_0x12ef3d(0x46c)][_0x7b4e13['id']]=_0x7b4e13,_0x578e38(_0x5025e4,_0x5f1fd2)[_0x12ef3d(0x2c7)](_0xebff28,0x0,_0x7b4e13['id']);}function _0x117417(_0x315b5c,_0x34699b){const _0x1c32d2=_0x15ffdc,{area:_0x2523f2,fieldId:_0x30e65f,index:_0x9ae52f}=_0x34699b;_0x2523f2===_0x31fd0d[_0x1c32d2(0x28c)][_0x1c32d2(0x2d2)]?delete _0x315b5c[_0x1c32d2(0x254)][_0x30e65f]:delete _0x315b5c[_0x1c32d2(0x46c)][_0x30e65f],_0x578e38(_0x315b5c,_0x2523f2)['splice'](_0x9ae52f,0x1);}function _0xab1c49(_0x57dc9f,_0x54e921){const {fieldId:_0x2a59ea,name:_0x1fde8c}=_0x54e921,_0x35195d=_0x3ea48d(_0x57dc9f,_0x2a59ea);_0x35195d&&(_0x35195d['displayName']=_0x1fde8c);}function _0x38ae67(_0x2b8586,_0x516c22){const _0x597255=_0x15ffdc,{fieldId:_0xf648fa,collapse:_0x59b046,item:_0xf410c6}=_0x516c22;_0xf410c6!==void 0x0?(_0x2b8586[_0x597255(0x3ec)][_0xf648fa]=_0x2b8586[_0x597255(0x3ec)][_0xf648fa]||{},_0x2b8586[_0x597255(0x3ec)][_0xf648fa][_0xf410c6]=_0x59b046):_0x2b8586[_0x597255(0x3ec)][_0xf648fa]=_0x59b046;}function _0xa9470e(_0x1e3ba7,_0x2c9839){const _0x35d728=_0x15ffdc,{fieldId:_0x16b359,format:_0x1c16c4}=_0x2c9839,_0x94c9a2=_0x3ea48d(_0x1e3ba7,_0x16b359);_0x94c9a2&&(_0x94c9a2[_0x35d728(0x313)]=_0x1c16c4);}function _0x31c801(_0x560243,_0x10d8cc){const {fieldId:_0x2346b5,filterInfo:_0x5cad06}=_0x10d8cc,_0x19a740=_0x3ea48d(_0x560243,_0x2346b5);_0x19a740&&(_0x19a740['filterInfo']=_0x5cad06);}function _0x359d78(_0x5a178e,_0x57e391){const _0x22070c=_0x15ffdc,{fieldId:_0x2bcf9b,filterInfo:_0x4e6c57}=_0x57e391,_0x215633=_0x5a178e[_0x22070c(0x359)][_0x22070c(0x2f6)](_0x45ef43=>_0x45ef43[_0x22070c(0x184)]!==_0x2bcf9b);_0x4e6c57&&_0x215633[_0x22070c(0x23e)]({'fieldId':_0x2bcf9b,'filterInfo':_0x4e6c57}),_0x5a178e['valueFilter']=_0x215633;}function _0x1a17a2(_0x2a65cd,_0x448a84){const _0x1f3091=_0x15ffdc,{fieldId:_0x3c0ec4,subtotalType:_0x2f4f6b}=_0x448a84,_0x21425c=_0x3ea48d(_0x2a65cd,_0x3c0ec4);_0x21425c&&(_0x21425c[_0x1f3091(0x1da)]=_0x2f4f6b);}function _0x3c4051(_0x2738df,_0x4dbab2){const _0x7e618b=_0x15ffdc,{fieldId:_0x130368,oldArea:_0x577579,area:_0x1f5593,oldIndex:_0x2751fa,index:_0x526cef}=_0x4dbab2,_0x44f8d6=_0x577579!==_0x31fd0d[_0x7e618b(0x28c)]['Value']&&_0x1f5593===_0x31fd0d[_0x7e618b(0x28c)][_0x7e618b(0x2d2)],_0x258b9a=_0x577579===_0x31fd0d['PivotTableFiledAreaEnum']['Value']&&_0x1f5593!==_0x31fd0d['PivotTableFiledAreaEnum'][_0x7e618b(0x2d2)];if(_0x44f8d6||_0x258b9a){const _0x3ae84a=_0x3ea48d(_0x2738df,_0x130368);_0x3ae84a&&(_0x44f8d6?(delete _0x2738df[_0x7e618b(0x46c)][_0x130368],_0x2738df[_0x7e618b(0x254)][_0x130368]=_0x3ae84a):(delete _0x2738df[_0x7e618b(0x254)][_0x130368],_0x2738df[_0x7e618b(0x46c)][_0x130368]=_0x3ae84a));}const _0x5399af=_0x578e38(_0x2738df,_0x577579),_0x212ba3=_0x578e38(_0x2738df,_0x1f5593);_0x5399af[_0x7e618b(0x2c7)](_0x2751fa,0x1),_0x212ba3[_0x7e618b(0x2c7)](_0x526cef,0x0,_0x130368);}function _0x2e8e30(_0xf2ba19,_0x5d8627){const _0x1ee3db=_0x15ffdc,{valuePosition:_0x426b68,index:_0x1aa2d5}=_0x5d8627;_0xf2ba19[_0x1ee3db(0x461)]=_0x426b68,_0xf2ba19['valueIndex']=_0x1aa2d5;}function _0x58d1e1(_0x3869df,_0x1a7090){const _0x290a6e=_0x15ffdc,{tableFieldId:_0x3680c0,sourceName:_0x47024a,dataFieldId:_0x2dbcad}=_0x1a7090,_0x43b6d7=_0x3ea48d(_0x3869df,_0x3680c0);_0x43b6d7&&(_0x43b6d7[_0x290a6e(0x1dc)]=_0x47024a,_0x43b6d7['dataFieldId']=_0x2dbcad);}function _0xd55182(_0x4c5185,_0x3e8142){const _0x3b8059=_0x15ffdc,{fieldId:_0x28b12f,sortInfo:_0x531532}=_0x3e8142,_0x443f6c=_0x3ea48d(_0x4c5185,_0x28b12f);_0x443f6c&&(_0x443f6c[_0x3b8059(0x29b)]=_0x531532);}function _0x25ffa5(_0x38f873,_0x51b17b){const _0x118cbb=_0x15ffdc,{options:_0x409d4a}=_0x51b17b;_0x38f873[_0x118cbb(0x3e8)]={..._0x38f873[_0x118cbb(0x3e8)],..._0x409d4a};}const _0x3b1733={'type':_0x578498[_0x15ffdc(0x424)]['MUTATION'],'id':_0x15ffdc(0x362),'handler'(_0x58b865,_0x1eabbc){const _0x1c11d6=_0x15ffdc;if(!_0x1eabbc)return!0x1;if(!!_0x58b865[_0x1c11d6(0x1b6)](_0x578498[_0x1c11d6(0x402)])['getConfig'](_0x98d9f3))return!0x0;const _0x121d0b=_0x58b865[_0x1c11d6(0x1b6)](_0xc8ae41['SheetsPivotDataSourceModel']),{pivotTableId:_0x46a0a7,fieldJson:_0x1a5f00,area:_0x4a64c7,index:_0x4771ee,unitId:_0x2eb46d,subUnitId:_0x31d0a1}=_0x1eabbc,_0x17cc0f=_0x121d0b['getPivotTableInstance'](_0x46a0a7);if(!_0x17cc0f)return!0x1;let _0x3a38d5;_0x4a64c7===_0x31fd0d[_0x1c11d6(0x28c)][_0x1c11d6(0x2d2)]?_0x3a38d5=_0x31fd0d[_0x1c11d6(0x437)](_0x1a5f00):_0x3a38d5=_0x31fd0d[_0x1c11d6(0x41b)](_0x1a5f00),_0x17cc0f['addField'](_0x3a38d5,_0x4a64c7,_0x4771ee);const _0x30d8e5=_0x121d0b[_0x1c11d6(0x1b5)](_0x2eb46d,_0x31d0a1,_0x46a0a7);_0x2b4d24(_0x30d8e5,_0x1eabbc);const _0x50adbc=_0x121d0b[_0x1c11d6(0x1d5)](_0x2eb46d,_0x31d0a1,_0x46a0a7);return _0x121d0b['addDirtyPivotTable']({'unitId':_0x2eb46d,'subUnitId':_0x31d0a1,'token':_0x46a0a7,'type':_0x4f3f1d[_0x1c11d6(0x1d4)],'pivotConfig':_0x50adbc}),!0x0;}},_0x8dc52f={'type':_0x578498['CommandType'][_0x15ffdc(0x216)],'id':_0x15ffdc(0x358),'handler'(_0x66e9a8,_0x10575d){const _0x1a170f=_0x15ffdc;if(!_0x10575d)return!0x1;if(!!_0x66e9a8[_0x1a170f(0x1b6)](_0x578498[_0x1a170f(0x402)])['getConfig'](_0x98d9f3))return!0x0;const _0xd384a5=_0x66e9a8[_0x1a170f(0x1b6)](_0xc8ae41[_0x1a170f(0x421)]),{pivotTableId:_0x3a3e63,fieldId:_0x5d77ac,unitId:_0x31ba8d,subUnitId:_0x227829}=_0x10575d,_0x2e6551=_0xd384a5[_0x1a170f(0x270)](_0x3a3e63);if(!_0x2e6551)return!0x1;_0x2e6551[_0x1a170f(0x20f)](_0x5d77ac);const _0x1ae892=_0xd384a5[_0x1a170f(0x1b5)](_0x31ba8d,_0x227829,_0x3a3e63);_0x117417(_0x1ae892,_0x10575d);const _0x59af20=_0xd384a5[_0x1a170f(0x1d5)](_0x31ba8d,_0x227829,_0x3a3e63);return _0xd384a5[_0x1a170f(0x1f9)]({'unitId':_0x31ba8d,'subUnitId':_0x227829,'token':_0x3a3e63,'type':_0x4f3f1d[_0x1a170f(0x1d4)],'pivotConfig':_0x59af20}),!0x0;}},_0x2e4f67={'type':_0x578498[_0x15ffdc(0x424)]['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x35c071,_0x5583c7){const _0x279f08=_0x15ffdc;if(!_0x5583c7)return!0x1;if(!!_0x35c071['get'](_0x578498[_0x279f08(0x402)])[_0x279f08(0x3f2)](_0x98d9f3))return!0x0;const _0x38ebd8=_0x35c071[_0x279f08(0x1b6)](_0xc8ae41[_0x279f08(0x421)]),{unitId:_0x5e5b23,subUnitId:_0x5c74af,pivotTableId:_0x41bb7c,fieldId:_0x1413eb,name:_0x400661}=_0x5583c7,_0x279dce=_0x38ebd8['getPivotTableInstance'](_0x41bb7c);if(!_0x279dce)return!0x1;_0x279dce['renameField'](_0x1413eb,_0x400661);const _0x279b86=_0x38ebd8[_0x279f08(0x1b5)](_0x5e5b23,_0x5c74af,_0x41bb7c);return _0xab1c49(_0x279b86,_0x5583c7),_0x38ebd8[_0x279f08(0x1f9)]({'unitId':_0x5e5b23,'subUnitId':_0x5c74af,'token':_0x41bb7c,'type':_0x4f3f1d[_0x279f08(0x1d4)]}),!0x0;}},_0x4aaa96={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0xe53f89,_0x26cade){const _0x29f378=_0x15ffdc;if(!_0x26cade)return!0x1;if(!!_0xe53f89['get'](_0x578498['IConfigService'])['getConfig'](_0x98d9f3))return!0x0;const _0x42ca37=_0xe53f89['get'](_0xc8ae41[_0x29f378(0x421)]),{unitId:_0x5a78ef,subUnitId:_0x1c0065,pivotTableId:_0x3ea1d1,fieldId:_0x220df5,collapse:_0x153b4b,item:_0xd185a}=_0x26cade,_0x2d846b=_0x42ca37[_0x29f378(0x270)](_0x3ea1d1);if(!_0x2d846b)return!0x1;_0x2d846b[_0x29f378(0x2f0)](_0x220df5,_0x153b4b,_0xd185a);const _0x2ca549=_0x42ca37[_0x29f378(0x1b5)](_0x5a78ef,_0x1c0065,_0x3ea1d1);return _0x38ae67(_0x2ca549,_0x26cade),_0x42ca37['addDirtyPivotTable']({'unitId':_0x5a78ef,'subUnitId':_0x1c0065,'token':_0x3ea1d1,'type':_0x4f3f1d[_0x29f378(0x1d4)]}),!0x0;}},_0x2df58d={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.set-pivot-format','handler'(_0x4d3b9e,_0x4680b8){const _0x580f08=_0x15ffdc;if(!_0x4680b8)return!0x1;if(!!_0x4d3b9e['get'](_0x578498[_0x580f08(0x402)])[_0x580f08(0x3f2)](_0x98d9f3))return!0x0;const _0x50ebe1=_0x4d3b9e['get'](_0xc8ae41[_0x580f08(0x421)]),{unitId:_0x2a65b9,subUnitId:_0x4ca96d,pivotTableId:_0x23ae65,fieldId:_0x19fd30,format:_0xfdb7a9}=_0x4680b8,_0xc58683=_0x50ebe1[_0x580f08(0x270)](_0x23ae65);if(!_0xc58683)return!0x1;_0xc58683[_0x580f08(0x36f)](_0x19fd30,_0xfdb7a9);const _0x33d103=_0x50ebe1['getPivotTableModelConfig'](_0x2a65b9,_0x4ca96d,_0x23ae65);return _0xa9470e(_0x33d103,_0x4680b8),_0x50ebe1['addDirtyPivotTable']({'unitId':_0x2a65b9,'subUnitId':_0x4ca96d,'token':_0x23ae65,'type':_0x4f3f1d[_0x580f08(0x1d4)]}),!0x0;}},_0x5c6f04={'type':_0x578498[_0x15ffdc(0x424)]['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x239df1,_0x345596){const _0x39a799=_0x15ffdc;if(!_0x345596)return!0x1;if(!!_0x239df1[_0x39a799(0x1b6)](_0x578498[_0x39a799(0x402)])[_0x39a799(0x3f2)](_0x98d9f3))return!0x0;const _0x22634f=_0x239df1[_0x39a799(0x1b6)](_0xc8ae41['SheetsPivotDataSourceModel']),{unitId:_0x2efa68,subUnitId:_0x92498a,pivotTableId:_0x1e0867,fieldId:_0x534ea5,filterInfo:_0x4a0836}=_0x345596,_0x2eb193=_0x22634f[_0x39a799(0x270)](_0x1e0867);if(!_0x2eb193)return!0x1;_0x2eb193[_0x39a799(0x37b)](_0x534ea5,_0x4a0836);const _0x2b6db5=_0x22634f['getPivotTableModelConfig'](_0x2efa68,_0x92498a,_0x1e0867);return _0x31c801(_0x2b6db5,_0x345596),_0x22634f[_0x39a799(0x1f9)]({'unitId':_0x2efa68,'subUnitId':_0x92498a,'token':_0x1e0867,'type':_0x4f3f1d[_0x39a799(0x1d4)]}),!0x0;}},_0x5cd414={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.set-pivot-option','handler'(_0x52bf9a,_0x5aba7b){const _0x2b0cd6=_0x15ffdc;if(!_0x5aba7b)return!0x1;if(!!_0x52bf9a[_0x2b0cd6(0x1b6)](_0x578498[_0x2b0cd6(0x402)])[_0x2b0cd6(0x3f2)](_0x98d9f3))return!0x0;const _0x38d6d0=_0x52bf9a['get'](_0xc8ae41[_0x2b0cd6(0x421)]),{unitId:_0x298872,subUnitId:_0x499b46,pivotTableId:_0x57beaa,options:_0x48a28d}=_0x5aba7b,_0x14dc35=_0x38d6d0['getPivotTableInstance'](_0x57beaa);if(!_0x14dc35)return!0x1;_0x14dc35['setOptions'](_0x48a28d);const _0x34ff99=_0x38d6d0[_0x2b0cd6(0x1b5)](_0x298872,_0x499b46,_0x57beaa);return _0x25ffa5(_0x34ff99,_0x5aba7b),_0x38d6d0['addDirtyPivotTable']({'unitId':_0x298872,'subUnitId':_0x499b46,'token':_0x57beaa,'type':_0x4f3f1d[_0x2b0cd6(0x1d4)]}),!0x0;}},_0x20a8dc={'type':_0x578498[_0x15ffdc(0x424)]['MUTATION'],'id':_0x15ffdc(0x2ab),'handler'(_0xb604d2,_0xe61b85){const _0x5eb620=_0x15ffdc;if(!_0xe61b85)return!0x1;if(!!_0xb604d2[_0x5eb620(0x1b6)](_0x578498[_0x5eb620(0x402)])[_0x5eb620(0x3f2)](_0x98d9f3))return!0x0;const _0x3b56a8=_0xb604d2[_0x5eb620(0x1b6)](_0xc8ae41[_0x5eb620(0x421)]),{unitId:_0x3dcd07,subUnitId:_0x3774a1,pivotTableId:_0x2e8393,sortInfo:_0x38f050,fieldId:_0x54f19c}=_0xe61b85,_0x3acfd3=_0x3b56a8[_0x5eb620(0x270)](_0x2e8393);if(!_0x3acfd3)return!0x1;_0x3acfd3[_0x5eb620(0x1fc)](_0x54f19c,_0x38f050);const _0x5c8ff5=_0x3b56a8[_0x5eb620(0x1b5)](_0x3dcd07,_0x3774a1,_0x2e8393);return _0xd55182(_0x5c8ff5,_0xe61b85),_0x3b56a8['addDirtyPivotTable']({'unitId':_0x3dcd07,'subUnitId':_0x3774a1,'token':_0x2e8393,'type':_0x4f3f1d[_0x5eb620(0x1d4)]}),!0x0;}},_0x12ba8f={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':_0x15ffdc(0x3a9),'handler'(_0x4060ea,_0x52b1d6){const _0x48e025=_0x15ffdc;if(!_0x52b1d6)return!0x1;if(!!_0x4060ea['get'](_0x578498[_0x48e025(0x402)])[_0x48e025(0x3f2)](_0x98d9f3))return!0x0;const _0x12a408=_0x4060ea['get'](_0xc8ae41[_0x48e025(0x421)]),{unitId:_0x2d0f14,subUnitId:_0x557754,pivotTableId:_0x386ef4,fieldId:_0x2454f1,subtotalType:_0x48429e}=_0x52b1d6,_0xc83482=_0x12a408[_0x48e025(0x270)](_0x386ef4);if(!_0xc83482)return!0x1;_0xc83482[_0x48e025(0x29d)](_0x2454f1,_0x48429e);const _0x568888=_0x12a408[_0x48e025(0x1b5)](_0x2d0f14,_0x557754,_0x386ef4);return _0x1a17a2(_0x568888,_0x52b1d6),_0x12a408[_0x48e025(0x1f9)]({'unitId':_0x2d0f14,'subUnitId':_0x557754,'token':_0x386ef4,'type':_0x4f3f1d[_0x48e025(0x1d4)]}),!0x0;}},_0x4f85f0={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x1998b1,_0x3f46e8){const _0x498a72=_0x15ffdc;if(!_0x3f46e8)return!0x1;if(!!_0x1998b1['get'](_0x578498[_0x498a72(0x402)])[_0x498a72(0x3f2)](_0x98d9f3))return!0x0;const _0x466fb4=_0x1998b1[_0x498a72(0x1b6)](_0xc8ae41[_0x498a72(0x421)]),{unitId:_0x1b0074,subUnitId:_0x345e0f,pivotTableId:_0x41ac53,fieldId:_0x5b816b,filterInfo:_0x3acc3e}=_0x3f46e8,_0x2b5870=_0x466fb4[_0x498a72(0x270)](_0x41ac53);if(!_0x2b5870)return!0x1;_0x2b5870['setValueFilterInfo'](_0x5b816b,_0x3acc3e);const _0x2d176a=_0x466fb4[_0x498a72(0x1b5)](_0x1b0074,_0x345e0f,_0x41ac53);return _0x359d78(_0x2d176a,_0x3f46e8),_0x466fb4[_0x498a72(0x1f9)]({'unitId':_0x1b0074,'subUnitId':_0x345e0f,'token':_0x41ac53,'type':_0x4f3f1d[_0x498a72(0x1d4)]}),!0x0;}},_0x15948e={'type':_0x578498[_0x15ffdc(0x424)]['MUTATION'],'id':_0x15ffdc(0x22e),'handler'(_0x507f9f,_0x38099d){const _0x1abbd1=_0x15ffdc;if(!_0x38099d)return!0x1;if(!!_0x507f9f['get'](_0x578498[_0x1abbd1(0x402)])['getConfig'](_0x98d9f3))return!0x0;const _0x1c24a1=_0x507f9f[_0x1abbd1(0x1b6)](_0xc8ae41[_0x1abbd1(0x421)]),{unitId:_0x473630,subUnitId:_0x2eb385,pivotTableId:_0x36efd9,area:_0x4a645a,index:_0x47aa29,fieldId:_0x20e256}=_0x38099d,_0x32dcba=_0x1c24a1[_0x1abbd1(0x270)](_0x36efd9);if(!_0x32dcba)return!0x1;_0x32dcba[_0x1abbd1(0x256)](_0x20e256,_0x4a645a,_0x47aa29);const _0x1e9475=_0x1c24a1[_0x1abbd1(0x1b5)](_0x473630,_0x2eb385,_0x36efd9);return _0x3c4051(_0x1e9475,_0x38099d),_0x1c24a1[_0x1abbd1(0x1f9)]({'unitId':_0x473630,'subUnitId':_0x2eb385,'token':_0x36efd9,'type':_0x4f3f1d['Set']}),!0x0;}},_0x3c2d59={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':_0x15ffdc(0x32f),'handler'(_0x5ca9de,_0x38453e){const _0x28d605=_0x15ffdc;if(!_0x38453e)return!0x1;if(!!_0x5ca9de['get'](_0x578498[_0x28d605(0x402)])[_0x28d605(0x3f2)](_0x98d9f3))return!0x0;const _0x1aa6c6=_0x5ca9de['get'](_0xc8ae41[_0x28d605(0x421)]),{unitId:_0x479d04,subUnitId:_0x264555,pivotTableId:_0x343c8d,sourceName:_0x4b6233,dataFieldId:_0x2b80b6,tableFieldId:_0x110dba}=_0x38453e,_0x3d8309=_0x1aa6c6['getPivotTableInstance'](_0x343c8d);if(!_0x3d8309)return!0x1;_0x3d8309[_0x28d605(0x295)](_0x110dba,_0x4b6233,_0x2b80b6);const _0x2762f5=_0x1aa6c6[_0x28d605(0x1b5)](_0x479d04,_0x264555,_0x343c8d);return _0x58d1e1(_0x2762f5,_0x38453e),_0x1aa6c6[_0x28d605(0x1f9)]({'unitId':_0x479d04,'subUnitId':_0x264555,'token':_0x343c8d,'type':_0x4f3f1d[_0x28d605(0x1d4)]}),!0x0;}},_0x343cf2={'type':_0x578498['CommandType']['MUTATION'],'id':_0x15ffdc(0x18a),'handler'(_0x3a6d98,_0x561a86){const _0x64d1f8=_0x15ffdc;if(!_0x561a86)return!0x1;if(!!_0x3a6d98[_0x64d1f8(0x1b6)](_0x578498[_0x64d1f8(0x402)])['getConfig'](_0x98d9f3))return!0x0;const _0x40e736=_0x3a6d98[_0x64d1f8(0x1b6)](_0xc8ae41[_0x64d1f8(0x421)]),{unitId:_0x19f20a,subUnitId:_0x328dea,pivotTableId:_0x2bd364,valuePosition:_0xeb72fc,index:_0x5a542e}=_0x561a86,_0x3dd8eb=_0x40e736[_0x64d1f8(0x270)](_0x2bd364);if(!_0x3dd8eb)return!0x1;_0x3dd8eb[_0x64d1f8(0x3d9)](_0xeb72fc,_0x5a542e);const _0x5df21a=_0x40e736['getPivotTableModelConfig'](_0x19f20a,_0x328dea,_0x2bd364);return _0x2e8e30(_0x5df21a,_0x561a86),_0x40e736[_0x64d1f8(0x1f9)]({'unitId':_0x19f20a,'subUnitId':_0x328dea,'token':_0x2bd364,'type':_0x4f3f1d[_0x64d1f8(0x1d4)]}),!0x0;}};function _0x124b81(_0x1e8cd4,_0x4e1cdc,_0x3a3bb1){const _0x38c07d=_0x15ffdc,{pivotTableId:_0xfbb328,unitId:_0x4294de,subUnitId:_0x29e3a5}=_0x4e1cdc,_0x5f2112=[],_0xf7517c=[];for(const _0x487b26 of _0x3a3bb1)switch(_0x487b26[_0x38c07d(0x22f)]){case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x1b2)]:{const {fieldJson:_0x58e02e,area:_0x2195e8,index:_0x36302b}=_0x487b26,_0x15ac74={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldJson':_0x58e02e,'area':_0x2195e8,'index':_0x36302b},_0x3998b8={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x58e02e['id'],'area':_0x2195e8,'index':_0x36302b};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x3b1733['id'],'params':_0x15ac74}),_0xf7517c[_0x38c07d(0x30b)]({'id':_0x8dc52f['id'],'params':_0x3998b8});}break;case _0x31fd0d['PivotTableChangeTypeEnum']['SetSubtotalType']:{const {fieldId:_0x86ec3f,newSubtotalType:_0x363ded,oldSubtotalType:_0x4fc28b}=_0x487b26,_0x45fea1={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x86ec3f,'subtotalType':_0x363ded};_0x5f2112['push']({'id':_0x12ba8f['id'],'params':_0x45fea1});const _0x1dd516={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x86ec3f,'subtotalType':_0x4fc28b};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x12ba8f['id'],'params':_0x1dd516});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x388)]:{const {fieldId:_0x283ffd,fieldJson:_0x5f0ea2,area:_0xec500e,index:_0x1083c5}=_0x487b26,_0x5b588e={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x283ffd,'index':_0x1083c5,'area':_0xec500e};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x8dc52f['id'],'params':_0x5b588e});const _0x4139c9={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldJson':_0x5f0ea2,'area':_0xec500e,'index':_0x1083c5};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x3b1733['id'],'params':_0x4139c9});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x3ed)]:{const {fieldId:_0x1246d3,oldName:_0x3950a3,newName:_0x51cb8b}=_0x487b26,_0x360875={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x1246d3,'name':_0x51cb8b};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x2e4f67['id'],'params':_0x360875});const _0xddcac7={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x1246d3,'name':_0x3950a3};_0xf7517c['unshift']({'id':_0x2e4f67['id'],'params':_0xddcac7});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x2ca)]:{const {fieldId:_0x46cce4,oldFilterInfo:_0x4a5b36,newFilterInfo:_0x500e12}=_0x487b26,_0x4b292e={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x46cce4,'filterInfo':_0x500e12};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x5c6f04['id'],'params':_0x4b292e});const _0x1ace99={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x46cce4,'filterInfo':_0x4a5b36};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x5c6f04['id'],'params':_0x1ace99});}break;case _0x31fd0d[_0x38c07d(0x30d)]['SetSortInfo']:{const {fieldId:_0xd2d8a6,oldSortInfo:_0x514a8d,newSortInfo:_0x5f45e3}=_0x487b26,_0x237f5e={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0xd2d8a6,'sortInfo':_0x5f45e3};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x20a8dc['id'],'params':_0x237f5e});const _0x4f6013={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0xd2d8a6,'sortInfo':_0x514a8d};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x20a8dc['id'],'params':_0x4f6013});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x26f)]:{const {oldOptions:_0x51dc23,newOptions:_0xb5c0d2}=_0x487b26,_0x452c01={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'options':_0xb5c0d2};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x5cd414['id'],'params':_0x452c01});const _0x34fdaf={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'options':_0x51dc23};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x5cd414['id'],'params':_0x34fdaf});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x450)]:{const {oldArea:_0x1966f8,newArea:_0x9d25d4,oldIndex:_0x517b1c,newIndex:_0x2af595,fieldId:_0x4d4dac}=_0x487b26,_0x123abb={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x4d4dac,'area':_0x9d25d4,'index':_0x2af595,'oldArea':_0x1966f8,'oldIndex':_0x517b1c};_0x5f2112['push']({'id':_0x15948e['id'],'params':_0x123abb});const _0x10bd0c={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x4d4dac,'area':_0x1966f8,'index':_0x517b1c,'oldArea':_0x9d25d4,'oldIndex':_0x2af595};_0xf7517c['unshift']({'id':_0x15948e['id'],'params':_0x10bd0c});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x20b)]:{const {oldValuePosition:_0x5092f1,newValuePosition:_0x120702,oldIndex:_0x4925fa,newIndex:_0x156422}=_0x487b26,_0x3d4531={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'valuePosition':_0x120702,'index':_0x156422};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x343cf2['id'],'params':_0x3d4531});const _0x22332c={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'valuePosition':_0x5092f1,'index':_0x4925fa};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x343cf2['id'],'params':_0x22332c});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x48e)]:{const {fieldId:_0x4d8220,collapse:_0x22c827,item:_0x1bcc61}=_0x487b26,_0x3b8f0f={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x4d8220,'collapse':_0x22c827,'item':_0x1bcc61};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x4aaa96['id'],'params':_0x3b8f0f});const _0x4eb32a={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x4d8220,'collapse':!_0x22c827,'item':_0x1bcc61};_0xf7517c['unshift']({'id':_0x4aaa96['id'],'params':_0x4eb32a});}break;case _0x31fd0d['PivotTableChangeTypeEnum'][_0x38c07d(0x3d2)]:{const {newFormat:_0x16cc2f,oldFormat:_0x2f40ad,fieldId:_0x42d0ee}=_0x487b26,_0x3153ac={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x42d0ee,'format':_0x16cc2f};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x2df58d['id'],'params':_0x3153ac});const _0x95f407={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x42d0ee,'format':_0x2f40ad};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x2df58d['id'],'params':_0x95f407});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x420)]:{const {tableFieldId:_0x403934,oldSourceName:_0x424402,newSourceName:_0x3d2a0d,oldDataFieldId:_0x22dc1b,newDataFieldId:_0x3cfe33}=_0x487b26,_0x91ef3={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'tableFieldId':_0x403934,'sourceName':_0x3d2a0d,'dataFieldId':_0x3cfe33};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x3c2d59['id'],'params':_0x91ef3});const _0x5749b9={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'tableFieldId':_0x403934,'sourceName':_0x424402,'dataFieldId':_0x22dc1b};_0xf7517c['unshift']({'id':_0x3c2d59['id'],'params':_0x5749b9});}break;case _0x31fd0d[_0x38c07d(0x30d)][_0x38c07d(0x24f)]:{const {fieldId:_0x417b81,filterInfo:_0x1b4c77,oldFilterInfo:_0x52427a}=_0x487b26,_0x444263={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x417b81,'filterInfo':_0x1b4c77};_0x5f2112[_0x38c07d(0x23e)]({'id':_0x4f85f0['id'],'params':_0x444263});const _0x5bb916={'unitId':_0x4294de,'subUnitId':_0x29e3a5,'pivotTableId':_0xfbb328,'fieldId':_0x417b81,'filterInfo':_0x52427a};_0xf7517c[_0x38c07d(0x30b)]({'id':_0x4f85f0['id'],'params':_0x5bb916});}}return{'redos':_0x5f2112,'undos':_0xf7517c};}function _0x193a8d(_0x11e826,_0x5b2e78){const _0x7522e0=_0x15ffdc;var _0x39de31;const _0x5c4198=_0x11e826[_0x7522e0(0x1b6)](_0xc8ae41[_0x7522e0(0x2bd)]),{cellInfo:_0x448b63,view:_0x36665c,isEmpty:_0x24b985}=_0x5b2e78;return(_0x39de31=_0x5c4198[_0x7522e0(0x263)][_0x7522e0(0x47b)](_0x545318)(_0x520f4a,{'cellInfo':_0x448b63,'view':_0x36665c,'isEmpty':_0x24b985}))!=null?_0x39de31:_0x520f4a;}const _0x579dff={'type':_0x578498['CommandType'][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x3a5),async 'handler'(_0x1bac95,_0x57a137){const _0x589180=_0x15ffdc;if(!_0x57a137)return!0x1;const _0x460b35=_0x1bac95['get'](_0x578498['ICommandService']),_0x238b3d=_0x1bac95[_0x589180(0x1b6)](_0xc8ae41['SheetsPivotRPCService']),_0x3b7c72=_0x1bac95[_0x589180(0x1b6)](_0x578498[_0x589180(0x26a)]),{pivotTableId:_0x45ff14,dataFieldId:_0x1e46d1,fieldArea:_0x19b3f6,index:_0x5471ef,unitId:_0x1e4e10,subUnitId:_0x38c8d8}=_0x57a137,_0x31792a=(await _0x238b3d[_0x589180(0x2d0)]({'unitId':_0x1e4e10,'subUnitId':_0x38c8d8,'pivotTableId':_0x45ff14,'params':{'type':_0x28ab98['AddPivotField'],'addPivotField':{'dataFieldId':_0x1e46d1,'fieldArea':_0x19b3f6,'index':_0x5471ef}}}))[_0x589180(0x2d9)][_0x589180(0x394)];if(!_0x31792a)return!0x1;const {view:_0x3b6a87,changesets:_0x176078,isEmpty:_0x4cef66,pivotTableConfig:_0x2072f4,shouldBeAddedGroupJSON:_0x599536}=_0x31792a,_0x5540fd=_0x2072f4[_0x589180(0x2a8)],_0x55e0f2=new _0x31fd0d[(_0x589180(0x439))]();_0x55e0f2[_0x589180(0x31f)](_0x3b6a87);const _0x2f224b={'cellInfo':_0x5540fd,'view':_0x55e0f2,'isEmpty':_0x4cef66};if(!await _0x1bac95[_0x589180(0x1b6)](_0xc8ae41[_0x589180(0x2bd)])[_0x589180(0x200)][_0x589180(0x3b7)](_0xa3c025)(!0x0,_0x2f224b))return!0x1;const _0x158ecc=_0x157f5c(_0x1bac95,_0x55e0f2,_0x5540fd,_0x4cef66),_0x5f2b9d=_0x193a8d(_0x1bac95,_0x2f224b),{undos:_0x207b90,redos:_0x25af66}=_0x124b81(_0x460b35,{'pivotTableId':_0x45ff14,'unitId':_0x1e4e10,'subUnitId':_0x38c8d8},_0x176078);return _0x599536&&(_0x25af66['unshift']({'id':_0x380633['id'],'params':{'pivotTableId':_0x45ff14,'fieldJSON':_0x599536,'unitId':_0x1e4e10,'subUnitId':_0x38c8d8}}),_0x207b90[_0x589180(0x23e)]({'id':_0x4d298d['id'],'params':{'pivotTableId':_0x45ff14,'dataFieldId':_0x599536['id'],'unitId':_0x1e4e10,'subUnitId':_0x38c8d8}})),_0x578498[_0x589180(0x18d)]([..._0x158ecc[_0x589180(0x3f4)],..._0x5f2b9d[_0x589180(0x3f4)],..._0x25af66],_0x460b35),_0x3b7c72[_0x589180(0x382)]({'unitID':_0x1e4e10,'redoMutations':[..._0x158ecc['redos'],..._0x5f2b9d[_0x589180(0x3f4)],..._0x25af66],'undoMutations':[..._0x158ecc[_0x589180(0x286)],..._0x5f2b9d[_0x589180(0x286)],..._0x207b90]}),!0x0;}},_0x307141=()=>typeof process<'u'&&process[_0x15ffdc(0x23d)]!=null&&process[_0x15ffdc(0x23d)]['node']!=null,_0x10fb67={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.add-pivot-table','handler'(_0x4b520e,_0x5453ba){const _0x477f41=_0x15ffdc;var _0x2c02c2;if(!_0x5453ba)return!0x1;const _0x4857ce=_0x4b520e[_0x477f41(0x1b6)](_0x578498[_0x477f41(0x402)]);if(!!_0x4857ce['getConfig'](_0x98d9f3))return!0x0;const _0x19cb69=_0x4b520e[_0x477f41(0x1b6)](_0x578498[_0x477f41(0x214)]),_0x3368dc=_0x4b520e[_0x477f41(0x1b6)](_0xc8ae41[_0x477f41(0x421)]),{pivotTableId:_0x44402e,pivotTableConfig:_0x1e13cc,collectionConfig:_0x3f748a,unitId:_0x2450f5,subUnitId:_0x512eef}=_0x5453ba,{sourceRangeInfo:_0xb4bef9,fieldsConfig:_0x183648,targetCellInfo:_0x41241e}=_0x1e13cc,_0x53d5a5=_0x19cb69['getUnit'](_0x2450f5);if(!_0x53d5a5||!_0x53d5a5[_0x477f41(0x375)](_0x512eef))return!0x1;if(!_0x307141()){let _0x3fe516=0x0;_0x53d5a5[_0x477f41(0x242)]()[_0x477f41(0x3fd)](_0x8e1fa1=>{const _0x4a6fc0=_0x477f41;var _0x344c86,_0x5c613e;_0x3fe516+=(_0x5c613e=(_0x344c86=_0x3368dc['getSubUnitPivotConfigs'](_0x2450f5,_0x8e1fa1[_0x4a6fc0(0x1c8)]()))==null?void 0x0:_0x344c86['size'])!=null?_0x5c613e:0x0;});const _0x57514b=(_0x2c02c2=_0x4857ce[_0x477f41(0x3f2)](_0x251e5d[_0x477f41(0x368)]))!=null?_0x2c02c2:{},{ls:_0x17d014,pbk:_0x550d05}=_0x57514b;if(!_0x77e4f2(_0x17d014,_0x550d05))throw new _0x578498[(_0x477f41(0x19d))]('limit\x20pivot');const _0x4e4f73=_0x5376e1(_0x2340ff,_0x17d014,_0x550d05)['count'];if(_0x3fe516>=_0x4e4f73)throw new _0x578498[(_0x477f41(0x19d))]('limit\x20pivot');}if(!_0x3f748a||!_0x183648)return!0x1;const {collection:_0x3e3149,updateDataFieldList:_0x3c6f46}=_0x3368dc['addCollectionByJSON'](_0x44402e,_0x3f748a,_0xb4bef9,_0x41241e);_0x3368dc[_0x477f41(0x434)](_0x3e3149,_0x3c6f46,_0xb4bef9);const _0x2698db=new _0x31fd0d[(_0x477f41(0x284))](_0x3e3149,void 0x0,_0x44402e);_0x2698db[_0x477f41(0x223)](_0x183648);const _0x37bc42=JSON[_0x477f41(0x3db)](JSON['stringify'](_0x1e13cc));return _0x3368dc[_0x477f41(0x350)](_0x2450f5,_0x512eef,_0x44402e,_0x2698db,_0x37bc42),_0x3368dc[_0x477f41(0x1f9)]({'unitId':_0x2450f5,'subUnitId':_0x512eef,'token':_0x44402e,'type':_0x4f3f1d[_0x477f41(0x40e)],'pivotConfig':_0x37bc42}),!0x0;}},_0x183089={'type':_0x578498[_0x15ffdc(0x424)]['COMMAND'],'id':_0x15ffdc(0x31b),async 'handler'(_0x31a355,_0x3bc30c){const _0x27d6e8=_0x15ffdc;if(!_0x3bc30c)return!0x1;const {sourceDataInfo:_0x4d0b74,pivotTableConfig:_0x174630}=_0x3bc30c;if(!_0x4d0b74||!_0x174630)return!0x1;const {unitId:_0x244658,subUnitId:_0x49166a,range:_0x441648}=_0x4d0b74,_0x357e3a=_0x31a355[_0x27d6e8(0x1b6)](_0x578498['IUniverInstanceService']),_0x272f0a=_0x31a355['get'](_0xc8ae41[_0x27d6e8(0x3d7)]),_0x1b18ac=_0x31a355[_0x27d6e8(0x1b6)](_0x578498['LocaleService']),_0x584291=_0x31a355['get'](_0x578498[_0x27d6e8(0x339)]),_0x29ba33=_0x357e3a[_0x27d6e8(0x3ef)](_0x244658);if(!_0x29ba33)return!0x1;const _0x59f80d=_0x29ba33[_0x27d6e8(0x375)](_0x49166a);if(!_0x59f80d)return!0x1;const _0x1c2a5c=_0x31fd0d[_0x27d6e8(0x3a8)](0x8),_0x2941e1=_0x441648||{'startRow':0x0,'startColumn':0x0,'endRow':_0x59f80d[_0x27d6e8(0x26c)]()-0x1,'endColumn':_0x59f80d['getColumnCount']()-0x1};_0x2941e1['rangeType']=_0x578498['RANGE_TYPE'][_0x27d6e8(0x20c)];const _0x17c90b=(await _0x272f0a[_0x27d6e8(0x2d0)]({'unitId':_0x244658,'subUnitId':_0x49166a,'pivotTableId':_0x1c2a5c,'params':{'type':_0x28ab98[_0x27d6e8(0x3f5)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x244658,'sheetName':_0x59f80d[_0x27d6e8(0x2bb)](),'subUnitId':_0x49166a,'range':_0x2941e1},'pivotTableId':_0x1c2a5c,'pivotTableIndexConfig':_0x174630}}}))['result']['addPivotTableWithConfig'];if(!_0x17c90b)return!0x1;const {isEmpty:_0x3cf817,fieldsConfig:_0x5f40e1,collectionConfig:_0x568789,changesets:_0x1e3276}=_0x17c90b,_0x5bb953=_0x29ba33[_0x27d6e8(0x242)]()[_0x27d6e8(0x366)],_0x5f0c20=_0x578498[_0x27d6e8(0x1eb)]({'rowCount':_0x59f80d[_0x27d6e8(0x26c)]()-0x1,'columnCount':_0x59f80d[_0x27d6e8(0x441)]()-0x1});_0x5f0c20['id']=_0x578498['generateRandomId'](),_0x5f0c20['name']=_0x29ba33[_0x27d6e8(0x2a5)](''+_0x1b18ac['t'](_0x27d6e8(0x272)));const _0x252bb9={'index':_0x5bb953,'sheet':_0x5f0c20,'unitId':_0x244658},{redos:_0x5e4b32}=_0x124b81(_0x584291,{'pivotTableId':_0x1c2a5c,'unitId':_0x244658,'subUnitId':_0x5f0c20['id']},_0x1e3276),_0x42377d=[{'id':_0x137997[_0x27d6e8(0x309)]['id'],'params':_0x252bb9},{'id':_0x10fb67['id'],'params':{'unitId':_0x244658,'subUnitId':_0x5f0c20['id'],'pivotTableId':_0x1c2a5c,'pivotTableConfig':{'isEmpty':_0x3cf817,'fieldsConfig':_0x5f40e1,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x244658,'subUnitId':_0x5f0c20['id']},'sourceRangeInfo':{'subUnitId':_0x49166a,'unitId':_0x244658,'range':_0x2941e1,'sheetName':_0x59f80d[_0x27d6e8(0x2bb)]()}},'collectionConfig':_0x568789}},..._0x5e4b32];return _0x578498['sequenceExecute'](_0x42377d,_0x584291),!0x0;}},_0x2a6ed5={'type':_0x578498['CommandType'][_0x15ffdc(0x216)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x2dd36f,_0x4fc62a){const _0x3691b6=_0x15ffdc;if(!_0x4fc62a)return!0x1;if(!!_0x2dd36f[_0x3691b6(0x1b6)](_0x578498[_0x3691b6(0x402)])[_0x3691b6(0x3f2)](_0x98d9f3))return!0x0;const {pivotTableId:_0x446149,unitId:_0x31eb61,subUnitId:_0x2f8590}=_0x4fc62a,_0x585a74=_0x2dd36f['get'](_0xc8ae41[_0x3691b6(0x421)]);return _0x585a74[_0x3691b6(0x1d5)](_0x31eb61,_0x2f8590,_0x446149)?(_0x585a74[_0x3691b6(0x1f9)]({'unitId':_0x31eb61,'subUnitId':_0x2f8590,'token':_0x446149,'type':_0x4f3f1d['Delete']}),_0x585a74[_0x3691b6(0x21d)](_0x31eb61,_0x2f8590,_0x446149),!0x0):!0x1;}},_0x432d57={'type':_0x578498[_0x15ffdc(0x424)]['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x5bc733,_0x34cd59){const _0x1c812e=_0x15ffdc;var _0x44576a,_0x55cdec;const _0x1e01a7=_0x5bc733[_0x1c812e(0x1b6)](_0x578498[_0x1c812e(0x339)]),_0x4be969=_0x5bc733['get'](_0x578498[_0x1c812e(0x214)]),_0x31681a=_0x5bc733['get'](_0x578498[_0x1c812e(0x282)]),_0x268a96=_0x5bc733[_0x1c812e(0x1b6)](_0xc8ae41[_0x1c812e(0x3d7)]),_0x5b5aa4=_0x5bc733['get'](_0x578498[_0x1c812e(0x26a)]),_0x4f90d3=_0x5bc733[_0x1c812e(0x1b6)](_0xc8ae41['SheetsPivotTableConfigModel']),_0xb96ca1=_0x5bc733[_0x1c812e(0x1b6)](_0x578498[_0x1c812e(0x402)]);if(!_0x34cd59)return!0x1;const {pivotTableConfig:_0x1ce301,positionType:_0x345709}=_0x34cd59,{targetCellInfo:_0x28f651,sourceRangeInfo:_0x1913c9}=_0x1ce301,{unitId:_0x5c4002,subUnitId:_0x1f1880}=_0x28f651,_0x36c383=_0x4be969['getUnit'](_0x5c4002);if(!_0x36c383)return!0x1;let _0x7edddf=0x0;_0x36c383[_0x1c812e(0x242)]()[_0x1c812e(0x3fd)](_0x2ae411=>{const _0xf30dd9=_0x1c812e;var _0x3c3c59,_0x359377;_0x7edddf+=(_0x359377=(_0x3c3c59=_0x4f90d3[_0xf30dd9(0x3f6)](_0x5c4002,_0x2ae411['getSheetId']()))==null?void 0x0:_0x3c3c59[_0xf30dd9(0x296)])!=null?_0x359377:0x0;});const _0x3be95e=(_0x44576a=_0xb96ca1[_0x1c812e(0x3f2)](_0x251e5d[_0x1c812e(0x368)]))!=null?_0x44576a:{},{ls:_0x38ed00,pbk:_0x555e24}=_0x3be95e;if(!_0x77e4f2(_0x38ed00,_0x555e24))return!0x1;const _0x318ac1=_0x5376e1(_0x2340ff,_0x38ed00,_0x555e24)[_0x1c812e(0x249)];if(_0x7edddf>=_0x318ac1)return!0x1;const _0x49e9d5=_0x34cd59[_0x1c812e(0x378)]||_0x31fd0d[_0x1c812e(0x3a8)](0x8),_0x3af960=(await _0x268a96['getPivotDisplayConfig']({'unitId':_0x5c4002,'subUnitId':_0x1f1880,'pivotTableId':_0x49e9d5,'params':{'type':_0x28ab98[_0x1c812e(0x1cd)],'addPivotTable':{'sourceRangeInfo':_0x1913c9,'pivotTableId':_0x49e9d5}}}))['result']['addPivotTable'];if(!_0x3af960)return!0x1;const {view:_0x261939,isEmpty:_0x45920d,fieldsConfig:_0x3cf072,collectionConfig:_0x6cc02a}=_0x3af960,_0x56be07=[],_0x459530=[];if(_0x345709===_0x54f7d6['New']){const _0x2ccedb=_0x36c383[_0x1c812e(0x242)]()[_0x1c812e(0x366)],_0xf05c96=_0x578498[_0x1c812e(0x1eb)]({});_0xf05c96['id']=_0x1ce301['targetCellInfo']['subUnitId'],_0xf05c96[_0x1c812e(0x28f)]=(_0x55cdec=_0x1ce301[_0x1c812e(0x2a8)][_0x1c812e(0x48f)])!=null?_0x55cdec:_0x36c383[_0x1c812e(0x2a5)](''+_0x31681a['t']('sheets.tabs.sheet'));const _0x47141a={'index':_0x2ccedb,'sheet':_0xf05c96,'unitId':_0x5c4002},_0xd313bc=_0x137997[_0x1c812e(0x246)](_0x5bc733,_0x47141a);_0x56be07['push']({'id':_0x137997[_0x1c812e(0x29e)]['id'],'params':_0xd313bc}),_0x459530['push']({'id':_0x137997[_0x1c812e(0x1c0)]['id'],'params':_0x47141a});}else{if(!_0x36c383['getSheetBySheetId'](_0x1f1880))return!0x1;const _0x593194=_0x157f5c(_0x5bc733,new _0x31fd0d[(_0x1c812e(0x439))](),_0x28f651,!0x0);_0x459530[_0x1c812e(0x23e)](..._0x593194['redos']),_0x56be07[_0x1c812e(0x23e)](..._0x593194[_0x1c812e(0x286)]);const _0x45c211={'cellInfo':_0x28f651,'view':_0x261939,'isEmpty':_0x45920d};if(!await _0x5bc733[_0x1c812e(0x1b6)](_0xc8ae41[_0x1c812e(0x2bd)])[_0x1c812e(0x200)][_0x1c812e(0x3b7)](_0xa3c025)(!0x0,_0x45c211))return!0x1;const _0x568401=_0x193a8d(_0x5bc733,_0x45c211);_0x459530['push'](..._0x568401[_0x1c812e(0x3f4)]),_0x56be07[_0x1c812e(0x23e)](..._0x568401[_0x1c812e(0x286)]);}return _0x459530[_0x1c812e(0x23e)]({'id':_0x10fb67['id'],'params':{'unitId':_0x28f651[_0x1c812e(0x194)],'subUnitId':_0x28f651[_0x1c812e(0x3f7)],'pivotTableId':_0x49e9d5,'pivotTableConfig':{'targetCellInfo':_0x28f651,'sourceRangeInfo':_0x1913c9,'fieldsConfig':_0x3cf072},'collectionConfig':_0x6cc02a}}),_0x56be07[_0x1c812e(0x30b)]({'id':_0x2a6ed5['id'],'params':{'unitId':_0x5c4002,'subUnitId':_0x1f1880,'pivotTableId':_0x49e9d5}}),_0x578498[_0x1c812e(0x18d)](_0x459530,_0x1e01a7)&&_0x5b5aa4[_0x1c812e(0x382)]({'unitID':_0x5c4002,'undoMutations':_0x56be07,'redoMutations':_0x459530}),!0x0;}},_0x15da44={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x1a3),async 'handler'(_0x1b3e63,_0x339cc7){const _0x5c0503=_0x15ffdc;if(!_0x339cc7)return!0x1;const _0x4ad7d4=_0x1b3e63[_0x5c0503(0x1b6)](_0x578498['ICommandService']),_0xb812f7=_0x1b3e63['get'](_0xc8ae41[_0x5c0503(0x3d7)]),_0x5d768a=_0x1b3e63[_0x5c0503(0x1b6)](_0x578498['IUndoRedoService']),{pivotTableId:_0x31f924,fieldId:_0x154a62,area:_0x1f9ff6,index:_0x5486d1,unitId:_0x52666f,subUnitId:_0x431e81}=_0x339cc7,_0x42a4b4=(await _0xb812f7['getPivotDisplayConfig']({'unitId':_0x52666f,'subUnitId':_0x431e81,'pivotTableId':_0x31f924,'params':{'type':_0x28ab98[_0x5c0503(0x274)],'movePivotField':{'fieldId':_0x154a62,'area':_0x1f9ff6,'index':_0x5486d1}}}))['result']['movePivotField'];if(!_0x42a4b4)return!0x1;const {changesets:_0x207c6b,view:_0xd4e35b,isEmpty:_0x958798,pivotTableConfig:_0x656fa6}=_0x42a4b4,_0x158f7d=_0x656fa6['targetCellInfo'],_0x195714=new _0x31fd0d['PivotView']();_0x195714[_0x5c0503(0x31f)](_0xd4e35b);const _0x8342b7={'cellInfo':_0x158f7d,'view':_0x195714,'isEmpty':_0x958798};if(!await _0x1b3e63[_0x5c0503(0x1b6)](_0xc8ae41[_0x5c0503(0x2bd)])[_0x5c0503(0x200)][_0x5c0503(0x3b7)](_0xa3c025)(!0x0,_0x8342b7))return!0x1;const _0x245608=_0x157f5c(_0x1b3e63,_0x195714,_0x158f7d,_0x958798),_0x2a1e02=_0x193a8d(_0x1b3e63,_0x8342b7),{redos:_0x42eba3,undos:_0x528a3a}=_0x124b81(_0x4ad7d4,{'pivotTableId':_0x31f924,'unitId':_0x52666f,'subUnitId':_0x431e81},_0x207c6b);return _0x578498[_0x5c0503(0x18d)]([..._0x245608[_0x5c0503(0x3f4)],..._0x2a1e02[_0x5c0503(0x3f4)],..._0x42eba3],_0x4ad7d4),_0x5d768a['pushUndoRedo']({'unitID':_0x52666f,'redoMutations':[..._0x245608[_0x5c0503(0x3f4)],..._0x2a1e02[_0x5c0503(0x3f4)],..._0x42eba3],'undoMutations':[..._0x245608[_0x5c0503(0x286)],..._0x2a1e02[_0x5c0503(0x286)],..._0x528a3a]}),!0x0;}},_0xce5034={'type':_0x578498[_0x15ffdc(0x424)]['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x54cd64,_0x6e7727){const _0x20af44=_0x15ffdc;if(!_0x6e7727)return!0x1;if(!!_0x54cd64[_0x20af44(0x1b6)](_0x578498[_0x20af44(0x402)])[_0x20af44(0x3f2)](_0x98d9f3))return!0x0;const {pivotTableId:_0x53bb60,targetCellPosition:_0x44afb4,unitId:_0x7c3d0d,subUnitId:_0x221980}=_0x6e7727,_0x13a63a=_0x54cd64[_0x20af44(0x1b6)](_0xc8ae41[_0x20af44(0x421)]);if(!_0x13a63a[_0x20af44(0x270)](_0x6e7727[_0x20af44(0x378)]))return!0x1;const _0x5cf075=_0x13a63a['getTargetByPivotId'](_0x53bb60);if(!_0x5cf075)return!0x1;const _0x4daf70=_0x13a63a['getCollection'](_0x5cf075['unitId'],_0x6e7727[_0x20af44(0x378)]);if(!_0x4daf70)return!0x1;const _0x25a4f=_0x13a63a[_0x20af44(0x1d5)](_0x5cf075[_0x20af44(0x194)],_0x5cf075[_0x20af44(0x3f7)],_0x53bb60);if(!_0x25a4f)return!0x1;const _0x5d4d07=_0x578498['Tools']['deepClone'](_0x25a4f);_0x5d4d07[_0x20af44(0x2a8)]={'unitId':_0x7c3d0d,'subUnitId':_0x221980,'row':_0x44afb4[_0x20af44(0x29a)],'col':_0x44afb4[_0x20af44(0x37c)]};const _0x712c59=_0x4daf70[_0x20af44(0x1ef)]();if(_0x5cf075['subUnitId']===_0x221980&&_0x5cf075[_0x20af44(0x194)]===_0x7c3d0d)_0x13a63a[_0x20af44(0x212)](_0x7c3d0d,_0x221980,_0x53bb60,_0x5d4d07),_0x13a63a[_0x20af44(0x1f9)]({'unitId':_0x7c3d0d,'subUnitId':_0x221980,'token':_0x53bb60,'type':_0x4f3f1d['Set']});else{_0x13a63a[_0x20af44(0x1f9)]({'unitId':_0x5cf075['unitId'],'subUnitId':_0x5cf075[_0x20af44(0x3f7)],'token':_0x53bb60,'type':_0x4f3f1d[_0x20af44(0x1a9)]}),_0x13a63a[_0x20af44(0x21d)](_0x5cf075[_0x20af44(0x194)],_0x5cf075[_0x20af44(0x3f7)],_0x53bb60);const _0x15d8f2=_0x13a63a['addCollectionByJSON'](_0x53bb60,_0x712c59,_0x25a4f[_0x20af44(0x3b2)],_0x5d4d07['targetCellInfo']),_0x25b558=new _0x31fd0d[(_0x20af44(0x284))](_0x15d8f2['collection'],void 0x0,_0x53bb60);_0x25b558[_0x20af44(0x223)](_0x5d4d07[_0x20af44(0x227)]),_0x13a63a[_0x20af44(0x350)](_0x7c3d0d,_0x221980,_0x53bb60,_0x25b558,_0x5d4d07),_0x13a63a['addDirtyPivotTable']({'unitId':_0x7c3d0d,'subUnitId':_0x221980,'token':_0x53bb60,'type':_0x4f3f1d['Add'],'pivotConfig':_0x5d4d07});}return!0x0;}},_0x414097={'type':_0x578498['CommandType'][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x3b5),'handler':(_0x22347e,_0x388017)=>{const _0xbf8bd7=_0x15ffdc,_0x2b8954=_0x22347e[_0xbf8bd7(0x1b6)](_0x578498[_0xbf8bd7(0x339)]),_0x474526=_0x22347e[_0xbf8bd7(0x1b6)](_0x578498[_0xbf8bd7(0x26a)]),_0x22a062=_0x22347e['get'](_0xc8ae41[_0xbf8bd7(0x484)]),_0x220cdf=_0x22347e[_0xbf8bd7(0x1b6)](_0x578498[_0xbf8bd7(0x214)]);if(!_0x388017)return!0x1;const _0x5e503e=_0x137997[_0xbf8bd7(0x407)](_0x220cdf);if(!_0x5e503e)return!0x1;const {unitId:_0x2b5b8a,subUnitId:_0x14e197,workbook:_0x991b95}=_0x5e503e,_0x162cc8=_0x22a062['getPivotTableConfig'](_0x388017['originTargetInfo'][_0xbf8bd7(0x194)],_0x388017[_0xbf8bd7(0x308)]['subUnitId'],_0x388017[_0xbf8bd7(0x378)]);if(!_0x162cc8)return!0x1;const _0x1af6a2=_0x991b95['getSheetBySheetId'](_0x388017['targetCellInfo'][_0xbf8bd7(0x3f7)]);if(!_0x1af6a2)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x4550ea=_0x1af6a2[_0xbf8bd7(0x26c)](),_0x514303=_0x1af6a2[_0xbf8bd7(0x441)]();if(_0x388017[_0xbf8bd7(0x2a8)][_0xbf8bd7(0x29a)]>_0x4550ea||_0x388017[_0xbf8bd7(0x2a8)]['col']>_0x514303)throw new Error(_0xbf8bd7(0x1d3));const _0x374fc1=[{'id':_0xce5034['id'],'params':{'unitId':_0x2b5b8a,'subUnitId':_0x388017['targetCellInfo'][_0xbf8bd7(0x3f7)],'pivotTableId':_0x388017[_0xbf8bd7(0x378)],'targetCellPosition':{'row':_0x388017[_0xbf8bd7(0x2a8)][_0xbf8bd7(0x29a)],'col':_0x388017[_0xbf8bd7(0x2a8)][_0xbf8bd7(0x37c)]}}}],_0x471cfa=[{'id':_0xce5034['id'],'params':{'unitId':_0x2b5b8a,'subUnitId':_0x14e197,'pivotTableId':_0x388017[_0xbf8bd7(0x378)],'targetCellPosition':{'row':_0x162cc8['targetCellInfo'][_0xbf8bd7(0x29a)],'col':_0x162cc8[_0xbf8bd7(0x2a8)][_0xbf8bd7(0x37c)]}}}];return _0x578498[_0xbf8bd7(0x18d)](_0x374fc1,_0x2b8954)&&_0x474526['pushUndoRedo']({'unitID':_0x2b5b8a,'undoMutations':_0x471cfa,'redoMutations':_0x374fc1}),!0x0;}},_0x1122e8={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x312),async 'handler'(_0x3ed967,_0x2b0dea){const _0x571c86=_0x15ffdc;var _0x3ae194;if(!_0x2b0dea)return!0x1;const _0x38a4f0=_0x3ed967['get'](_0x578498['IUniverInstanceService']),_0x5b8db5=_0x137997[_0x571c86(0x407)](_0x38a4f0);if(!_0x5b8db5)return!0x1;const {unitId:_0x16b498,subUnitId:_0x3d61d3,workbook:_0x3e0903}=_0x5b8db5,{row:_0x12d01f,col:_0x77f8d1}=_0x2b0dea,_0xf0b397=_0x3ed967[_0x571c86(0x1b6)](_0xc8ae41['SheetsPivotTableAdaptorModel']),_0xac78f1=_0xf0b397[_0x571c86(0x455)](_0x16b498,_0x3d61d3,_0x12d01f,_0x77f8d1);if(!_0xac78f1)return!0x1;const _0x1b4d5e=(_0x3ae194=_0xf0b397['getPivotItemRenderInfoCache'](_0x16b498,_0x3d61d3,_0xac78f1))==null?void 0x0:_0x3ae194[_0x571c86(0x345)];if(!_0x1b4d5e)return!0x1;const _0x2d1b47=_0x3ed967[_0x571c86(0x1b6)](_0xc8ae41[_0x571c86(0x484)])['getPivotTableConfig'](_0x16b498,_0x3d61d3,_0xac78f1);if(!_0x2d1b47)return!0x1;const {rowInfo:_0x5bd91b,colInfo:_0x2fdf25}=_0x1b4d5e,_0x31c4dd=_0x5bd91b[_0x12d01f]['paths'],_0x3daa8b=_0x2fdf25[_0x77f8d1][_0x571c86(0x27b)],_0x2a6790=_0x5bd91b[_0x12d01f]['level'],_0x2042a4=_0x2fdf25[_0x77f8d1][_0x571c86(0x1af)],_0x1a2063=_0x31c4dd['concat'](_0x3daa8b),_0xdabfe8=_0x2d1b47[_0x571c86(0x227)]['rowFields'][_0x571c86(0x399)](0x0,_0x2a6790),_0xe22d03=_0x2d1b47[_0x571c86(0x227)]['columnFields'][_0x571c86(0x399)](0x0,_0x2042a4),_0x56e261=_0xdabfe8[_0x571c86(0x408)](_0xe22d03),_0x29c089=_0x1a2063[_0x571c86(0x2e3)]((_0x3c47ca,_0x5340d1)=>[_0x3c47ca,_0x56e261[_0x5340d1]]),_0x125843=(await _0x3ed967[_0x571c86(0x1b6)](_0xc8ae41[_0x571c86(0x3d7)])[_0x571c86(0x2d0)]({'unitId':_0x16b498,'subUnitId':_0x3d61d3,'pivotTableId':_0xac78f1,'params':{'type':_0x28ab98[_0x571c86(0x3eb)],'drillDown':{'tuple':_0x29c089}}}))[_0x571c86(0x2d9)][_0x571c86(0x197)];if(!_0x125843)return!0x1;const {indexes:_0x3c753d,range:_0x1ebffd,sourceUnitId:_0x3038c3,sourceSubUnitId:_0x148c31,formatMap:_0x41bfca}=_0x125843,{startRow:_0x545ea0,endRow:_0x4e4a7c,startColumn:_0x688f39,endColumn:_0x21752a}=_0x1ebffd,_0x330199=new _0x578498[(_0x571c86(0x35a))](),_0x3d0c30=_0x4e4a7c-_0x545ea0,_0x164411=_0x21752a-_0x688f39,_0xab5843={},_0x5e5860=_0x137997['getSheetCommandTarget'](_0x38a4f0,{'unitId':_0x3038c3,'subUnitId':_0x148c31});if(!_0x5e5860)return!0x1;const _0x55a3b1=_0x315c8b['colStyle'],_0x3d8779=_0x315c8b[_0x571c86(0x2a6)],_0x3d3fd0=_0x315c8b['subTotalStyle'],_0x1b20d5=_0x3e0903['getStyles']()[_0x571c86(0x3d3)](_0x55a3b1),_0xf25c89=_0x3e0903[_0x571c86(0x3bb)]()['setValue'](_0x3d8779),_0x560054=_0x3e0903[_0x571c86(0x3bb)]()[_0x571c86(0x3d3)](_0x3d3fd0),{worksheet:_0x3c770d}=_0x5e5860;let _0x1bb0c5=0x0;const _0x512e25=0x1;_0x3c753d[_0x571c86(0x3fd)](_0x355407=>{const _0x177c2b=_0x571c86;for(let _0x3fec7d=0x0;_0x3fec7d<=_0x21752a-_0x688f39;_0x3fec7d++)_0x330199[_0x177c2b(0x3d3)](_0x1bb0c5,_0x3fec7d,_0x3c770d[_0x177c2b(0x2fd)](_0x355407+_0x1ebffd[_0x177c2b(0x458)]+_0x512e25,_0x3fec7d));_0x1bb0c5++;});for(let _0x3e03e9=_0x688f39;_0x3e03e9<=_0x21752a;_0x3e03e9++){const _0x245a31=_0x3c770d[_0x571c86(0x2fd)](_0x545ea0,_0x3e03e9);_0xab5843[_0x545ea0]||(_0xab5843[_0x545ea0]={}),_0xab5843[_0x545ea0][_0x3e03e9]={..._0x245a31,'s':_0x1b20d5};}let _0x2b1fde=0x1;const _0x17f356={},_0x3dfbed={};_0x330199[_0x571c86(0x258)]((_0x39a118,_0x2edd44)=>{const _0x3c8dbd=_0x571c86;_0x2edd44[_0x3c8dbd(0x3fd)](_0x29475e=>{const _0x186c41=_0x3c8dbd,_0x17091c=_0x330199[_0x186c41(0x1f5)](_0x39a118,_0x29475e);if(_0xab5843[_0x2b1fde]||(_0xab5843[_0x2b1fde]={}),_0xab5843[_0x2b1fde][_0x29475e]={..._0x17091c,'s':_0x2b1fde%0x2===0x0?_0x560054:_0xf25c89},_0x41bfca[_0x29475e]&&_0x39a118>=0x0){const _0x2ec094=_0x2b1fde%0x2===0x0;let _0x4c4969=_0x2ec094?_0x3dfbed[_0x29475e]:_0x17f356[_0x29475e];_0x4c4969||(_0x4c4969=_0x3e0903[_0x186c41(0x3bb)]()['setValue']({..._0x2ec094?_0x3d3fd0:_0x3d8779,'n':{'pattern':_0x41bfca[_0x29475e]}}),_0x2ec094?_0x3dfbed[_0x29475e]=_0x4c4969:_0x17f356[_0x29475e]=_0x4c4969),_0xab5843[_0x2b1fde][_0x29475e]['s']=_0x4c4969;}}),_0x2b1fde++;});const _0x239faf=new _0x578498[(_0x571c86(0x35a))](_0xab5843),_0x599533={};_0x239faf[_0x571c86(0x1d9)]((_0x454c19,_0x35d88e,_0x365458)=>{_0x599533[_0x454c19]||(_0x599533[_0x454c19]={}),_0x599533[_0x454c19][_0x35d88e]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5b19b7=[],_0x501f4b=[],_0x49f1b2=_0x3e0903[_0x571c86(0x242)]()['length'],_0x1f34fb=_0x578498[_0x571c86(0x1eb)]({'rowCount':Math[_0x571c86(0x442)](_0x578498['DEFAULT_WORKSHEET_ROW_COUNT'],_0x3d0c30+0xa),'columnCount':Math['max'](_0x578498[_0x571c86(0x3a3)],_0x164411+0x5)}),_0x4f6f63=_0x3ed967[_0x571c86(0x1b6)](_0x578498['LocaleService']);_0x1f34fb['id']=_0x578498[_0x571c86(0x40d)](),_0x1f34fb[_0x571c86(0x28f)]=_0x3e0903[_0x571c86(0x2a5)](''+_0x4f6f63['t']('sheets.tabs.sheet'));const _0x13adcf={'index':_0x49f1b2,'sheet':_0x1f34fb,'unitId':_0x16b498},_0x59f446=_0x137997[_0x571c86(0x246)](_0x3ed967,_0x13adcf);_0x501f4b[_0x571c86(0x23e)]({'id':_0x137997[_0x571c86(0x1c0)]['id'],'params':_0x13adcf}),_0x5b19b7[_0x571c86(0x23e)]({'id':_0x137997['RemoveSheetMutation']['id'],'params':_0x59f446}),_0x501f4b['push']({'id':_0x137997[_0x571c86(0x2c9)]['id'],'params':{'unitId':_0x16b498,'subUnitId':_0x1f34fb['id'],'cellValue':_0xab5843}}),_0x5b19b7[_0x571c86(0x30b)]({'id':_0x137997[_0x571c86(0x2c9)]['id'],'params':{'unitId':_0x16b498,'subUnitId':_0x1f34fb['id'],'cellValue':_0x599533}});const _0xa3b280={'startRow':0x0,'startColumn':0x0,'endRow':_0x2b1fde-0x1,'endColumn':_0x21752a};_0x501f4b[_0x571c86(0x23e)]({'id':_0x78b71a[_0x571c86(0x391)]['id'],'params':{'unitId':_0x16b498,'subUnitId':_0x1f34fb['id'],'range':_0xa3b280}}),_0x5b19b7[_0x571c86(0x30b)]({'id':_0x78b71a[_0x571c86(0x33e)]['id'],'params':{'unitId':_0x16b498,'subUnitId':_0x1f34fb['id']}});const _0x1e1f5e=_0x3ed967[_0x571c86(0x1b6)](_0x578498[_0x571c86(0x339)]);return _0x578498[_0x571c86(0x18d)](_0x501f4b,_0x1e1f5e)&&_0x3ed967[_0x571c86(0x1b6)](_0x578498['IUndoRedoService'])[_0x571c86(0x382)]({'unitID':_0x16b498,'undoMutations':_0x5b19b7,'redoMutations':_0x501f4b}),!0x0;}},_0x11c7c6={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x22c)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x1d4e8c,_0x4ee1f1){const _0x588b8a=_0x15ffdc;if(!_0x4ee1f1)return!0x1;const _0x32e15b=_0x1d4e8c[_0x588b8a(0x1b6)](_0x578498[_0x588b8a(0x339)]),_0x5c3afc=_0x1d4e8c[_0x588b8a(0x1b6)](_0xc8ae41[_0x588b8a(0x3d7)]),_0x14f256=_0x1d4e8c['get'](_0x578498['IUndoRedoService']),{pivotTableId:_0x3bac97,fieldIds:_0x5cf581,unitId:_0x4f9d47,subUnitId:_0x3fc53e}=_0x4ee1f1,_0x2ba03f=(await _0x5c3afc['getPivotDisplayConfig']({'unitId':_0x4f9d47,'subUnitId':_0x3fc53e,'pivotTableId':_0x3bac97,'params':{'type':_0x28ab98[_0x588b8a(0x2fe)],'removePivotField':{'fieldIds':_0x5cf581}}}))[_0x588b8a(0x2d9)][_0x588b8a(0x37a)];if(!_0x2ba03f)return!0x1;const {view:_0x3aa20e,changesets:_0x117e29,isEmpty:_0x295855,pivotTableConfig:_0x46810b}=_0x2ba03f,_0x47db03=_0x46810b[_0x588b8a(0x2a8)],_0x16bd0c=new _0x31fd0d[(_0x588b8a(0x439))]();_0x16bd0c[_0x588b8a(0x31f)](_0x3aa20e);const _0x2644c3={'cellInfo':_0x47db03,'view':_0x16bd0c,'isEmpty':_0x295855};if(!await _0x1d4e8c[_0x588b8a(0x1b6)](_0xc8ae41[_0x588b8a(0x2bd)])[_0x588b8a(0x200)]['fetchThroughAsyncInterceptors'](_0xa3c025)(!0x0,_0x2644c3))return!0x1;const _0x219fd1=_0x157f5c(_0x1d4e8c,_0x16bd0c,_0x47db03,_0x295855),_0xe372d9=_0x193a8d(_0x1d4e8c,_0x2644c3),{redos:_0x25cde1,undos:_0x2e6595}=_0x124b81(_0x32e15b,{'pivotTableId':_0x3bac97,'unitId':_0x4f9d47,'subUnitId':_0x3fc53e},_0x117e29);return _0x578498[_0x588b8a(0x18d)]([..._0x219fd1[_0x588b8a(0x3f4)],..._0xe372d9[_0x588b8a(0x3f4)],..._0x25cde1],_0x32e15b),_0x14f256[_0x588b8a(0x382)]({'unitID':_0x4f9d47,'redoMutations':[..._0x219fd1[_0x588b8a(0x3f4)],..._0xe372d9[_0x588b8a(0x3f4)],..._0x25cde1],'undoMutations':[..._0x219fd1[_0x588b8a(0x286)],..._0xe372d9[_0x588b8a(0x286)],..._0x2e6595]}),!0x0;}},_0x210ac0={'type':_0x578498[_0x15ffdc(0x424)]['COMMAND'],'id':_0x15ffdc(0x3c6),async 'handler'(_0x219d44,_0x1f651c){const _0x79e8c6=_0x15ffdc;if(!_0x1f651c)return!0x1;const _0x35e7e4=_0x219d44['get'](_0x578498[_0x79e8c6(0x339)]),_0x839713=_0x219d44[_0x79e8c6(0x1b6)](_0x578498[_0x79e8c6(0x26a)]),_0x3a6ac9=_0x219d44[_0x79e8c6(0x1b6)](_0xc8ae41[_0x79e8c6(0x3d7)]),{resetArea:_0x37ec6a,pivotTableId:_0x2f6586,unitId:_0x1f07f3,subUnitId:_0x11e580}=_0x1f651c,_0x4109a2=(await _0x3a6ac9[_0x79e8c6(0x2d0)]({'unitId':_0x1f07f3,'subUnitId':_0x11e580,'pivotTableId':_0x2f6586,'params':{'type':_0x28ab98[_0x79e8c6(0x2fa)],'resetPivotTable':{'pivotTableId':_0x2f6586,'resetArea':_0x37ec6a}}}))['result'][_0x79e8c6(0x332)];if(!_0x4109a2)return!0x1;const {changesets:_0xe0382d}=_0x4109a2,{redos:_0x5b1f48,undos:_0x4accd5}=_0x124b81(_0x35e7e4,{'pivotTableId':_0x2f6586,'unitId':_0x1f07f3,'subUnitId':_0x11e580},_0xe0382d);return _0x578498[_0x79e8c6(0x18d)](_0x5b1f48,_0x35e7e4),_0x839713['pushUndoRedo']({'unitID':_0x1f07f3,'redoMutations':_0x5b1f48,'undoMutations':_0x4accd5}),!0x0;}},_0x20f7d2={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x22c)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x363957,_0x5769a0){const _0x160874=_0x15ffdc,_0x3b4bca=_0x363957[_0x160874(0x1b6)](_0x578498[_0x160874(0x339)]),_0x5d1f38=_0x363957[_0x160874(0x1b6)](_0xc8ae41[_0x160874(0x3d7)]),_0x5f0d4f=_0x363957[_0x160874(0x1b6)](_0xc8ae41[_0x160874(0x2ef)]),_0x1022d3=_0x363957[_0x160874(0x1b6)](_0x578498[_0x160874(0x214)]),_0x30f894=_0x363957[_0x160874(0x1b6)](_0x578498['LocaleService']),_0x395600=_0x363957[_0x160874(0x1b6)](_0x578498[_0x160874(0x26a)]);if(!_0x5769a0)return!0x1;const {unitId:_0x36b56e,subUnitId:_0x45a3b1,row:_0x1b1e92,col:_0x35b401,collapse:_0x5455e6}=_0x5769a0,_0x3e01bc=_0x1022d3[_0x160874(0x3ef)](_0x36b56e);if(!_0x3e01bc||!_0x3e01bc[_0x160874(0x375)](_0x45a3b1))return!0x1;const _0x4c67ce=_0x5f0d4f[_0x160874(0x455)](_0x36b56e,_0x45a3b1,_0x1b1e92,_0x35b401);if(!_0x4c67ce)return!0x1;const _0x31fdb3=_0x5f0d4f['getPivotItemRenderInfoCache'](_0x36b56e,_0x45a3b1,_0x4c67ce);if(!_0x31fdb3)return!0x1;const _0x3f6ef9=_0x578498['cellToRange'](_0x1b1e92,_0x35b401),{rangesInfo:_0x155e19,areaInfo:_0x2b4862,headerMap:_0x312f61}=_0x31fdb3;if(!_0x155e19||!_0x2b4862||!_0x312f61)return!0x1;const _0x44ea15=Object[_0x160874(0x34f)](_0x155e19)[_0x160874(0x3f3)](_0x1facf8=>_0x155e19[_0x1facf8][_0x160874(0x374)](_0xb4a76a=>_0x578498[_0x160874(0x1e5)][_0x160874(0x276)](_0xb4a76a,_0x3f6ef9)));let _0x150d67;_0x44ea15===_0x160874(0x233)?_0x150d67=_0x312f61['rowHeaderMap'][_0x35b401]:_0x44ea15===_0x160874(0x24d)&&(_0x150d67=_0x312f61[_0x160874(0x2bc)][_0x1b1e92]);const _0x2d30c8=_0x150d67==null?void 0x0:_0x150d67[_0x160874(0x271)],_0x3dca8a=_0x5f0d4f[_0x160874(0x18b)](_0x36b56e,_0x45a3b1,_0x1b1e92,_0x35b401);let _0x1f6594=_0x3dca8a==null?void 0x0:_0x3dca8a['v'];if(_0x1f6594===_0x30f894['t'](_0x160874(0x2e8))&&(_0x1f6594=_0x31fd0d[_0x160874(0x28a)]['BLANK_PLACEHOLDER']),_0x1f6594==null||!_0x4c67ce||!_0x2d30c8)return!0x1;const _0x54b319=await _0x5d1f38[_0x160874(0x2d0)]({'unitId':_0x36b56e,'subUnitId':_0x45a3b1,'pivotTableId':_0x4c67ce,'params':{'type':_0x28ab98[_0x160874(0x1ca)],'setPivotCollapse':{'tableFieldId':_0x2d30c8,'collapse':_0x5455e6,'item':_0x1f6594}}}),_0x4caade=_0x54b319==null?void 0x0:_0x54b319[_0x160874(0x2d9)]['setPivotCollapse'];if(!_0x4caade)return!0x1;const {view:_0x447235,pivotTableConfig:_0x200340,isEmpty:_0x1a0528,changesets:_0x10ef2d}=_0x4caade,_0x236fa0=new _0x31fd0d[(_0x160874(0x439))]();_0x236fa0[_0x160874(0x31f)](_0x447235);const _0x1dc35f=_0x200340[_0x160874(0x2a8)],_0x344d68={'cellInfo':_0x1dc35f,'view':_0x236fa0,'isEmpty':_0x1a0528};if(!await _0x363957['get'](_0xc8ae41['SheetsPivotTableService'])[_0x160874(0x200)][_0x160874(0x3b7)](_0xa3c025)(!0x0,_0x344d68))return!0x1;const _0x1333bb=_0x157f5c(_0x363957,_0x236fa0,_0x1dc35f,_0x1a0528),_0x1496c9=_0x193a8d(_0x363957,_0x344d68),{redos:_0x5922b3,undos:_0x46478e}=_0x124b81(_0x3b4bca,{'pivotTableId':_0x4c67ce,'unitId':_0x36b56e,'subUnitId':_0x45a3b1},_0x10ef2d);return _0x578498[_0x160874(0x18d)]([..._0x1333bb[_0x160874(0x3f4)],..._0x1496c9[_0x160874(0x3f4)],..._0x5922b3],_0x3b4bca),_0x395600['pushUndoRedo']({'unitID':_0x36b56e,'redoMutations':[..._0x1333bb[_0x160874(0x3f4)],..._0x1496c9['redos'],..._0x5922b3],'undoMutations':[..._0x1333bb[_0x160874(0x286)],..._0x1496c9[_0x160874(0x286)],..._0x46478e]}),!0x0;}},_0x13de31={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x2bf),async 'handler'(_0x1e298,_0x4ebd9e){const _0x4cbf27=_0x15ffdc;if(!_0x4ebd9e)return!0x1;const _0x9241cf=_0x1e298[_0x4cbf27(0x1b6)](_0x578498[_0x4cbf27(0x339)]),_0x3f37fd=_0x1e298[_0x4cbf27(0x1b6)](_0x578498['IUndoRedoService']),_0x34fd3e=_0x1e298[_0x4cbf27(0x1b6)](_0xc8ae41[_0x4cbf27(0x3d7)]),{pivotTableConfig:_0x531b5a,pivotTableId:_0x2463a8,unitId:_0x3722a3,subUnitId:_0x52fa07}=_0x4ebd9e,_0x4c06a5=(await _0x34fd3e[_0x4cbf27(0x2d0)]({'unitId':_0x3722a3,'subUnitId':_0x52fa07,'pivotTableId':_0x2463a8,'params':{'type':_0x28ab98[_0x4cbf27(0x1ee)],'setPivotTableConfig':{'pivotTableId':_0x2463a8,'pivotTableConfig':_0x531b5a}}}))['result'][_0x4cbf27(0x3f1)];if(!_0x4c06a5)return!0x1;const {changesets:_0x2df2b9}=_0x4c06a5,{redos:_0x156e99,undos:_0x1c80e9}=_0x124b81(_0x9241cf,{'pivotTableId':_0x2463a8,'unitId':_0x3722a3,'subUnitId':_0x52fa07},_0x2df2b9);return _0x578498['sequenceExecute'](_0x156e99,_0x9241cf),_0x3f37fd[_0x4cbf27(0x382)]({'unitID':_0x3722a3,'redoMutations':_0x156e99,'undoMutations':_0x1c80e9}),!0x0;}},_0x4d96e5={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x42b),async 'handler'(_0x1c29d5,_0x5a5737){const _0xeb7e6=_0x15ffdc;if(!_0x5a5737)return!0x1;const _0x193c09=_0x1c29d5['get'](_0x578498[_0xeb7e6(0x339)]),{pivotTableId:_0x2b3bb8,tableFieldId:_0x54eab9,items:_0xbe16f4,unitId:_0x399de1,subUnitId:_0x5133d9,isAll:_0x32a5a1}=_0x5a5737,_0x52943e=_0x1c29d5[_0xeb7e6(0x1b6)](_0xc8ae41[_0xeb7e6(0x3d7)]),_0x379916=_0x1c29d5[_0xeb7e6(0x1b6)](_0x578498[_0xeb7e6(0x26a)]),_0x4b2b3a=(await _0x52943e[_0xeb7e6(0x2d0)]({'unitId':_0x399de1,'subUnitId':_0x5133d9,'pivotTableId':_0x2b3bb8,'params':{'type':_0x28ab98['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x54eab9,'items':_0xbe16f4,'isAll':_0x32a5a1}}}))[_0xeb7e6(0x2d9)]['setPivotFilter'];if(!_0x4b2b3a)return!0x1;const {changesets:_0x44f1b2,pivotTableConfig:_0x4b9bbe,isEmpty:_0x545309,view:_0x228bf1}=_0x4b2b3a,_0x3afba5=_0x4b9bbe['targetCellInfo'],_0x89af4a=new _0x31fd0d[(_0xeb7e6(0x439))]();_0x89af4a[_0xeb7e6(0x31f)](_0x228bf1);const _0x320ea7={'cellInfo':_0x3afba5,'view':_0x89af4a,'isEmpty':_0x545309};if(!await _0x1c29d5[_0xeb7e6(0x1b6)](_0xc8ae41['SheetsPivotTableService'])[_0xeb7e6(0x200)]['fetchThroughAsyncInterceptors'](_0xa3c025)(!0x0,_0x320ea7))return!0x1;const _0x32a42c=_0x157f5c(_0x1c29d5,_0x89af4a,_0x3afba5,_0x545309),_0x4429c2=_0x193a8d(_0x1c29d5,_0x320ea7),{undos:_0x4121fb,redos:_0x1fb40a}=_0x124b81(_0x193c09,{'pivotTableId':_0x2b3bb8,'unitId':_0x399de1,'subUnitId':_0x5133d9},_0x44f1b2);return _0x578498['sequenceExecute']([..._0x32a42c[_0xeb7e6(0x3f4)],..._0x4429c2[_0xeb7e6(0x3f4)],..._0x1fb40a],_0x193c09),_0x379916[_0xeb7e6(0x382)]({'unitID':_0x399de1,'redoMutations':[..._0x32a42c[_0xeb7e6(0x3f4)],..._0x4429c2['redos'],..._0x1fb40a],'undoMutations':[..._0x32a42c['undos'],..._0x4429c2[_0xeb7e6(0x286)],..._0x4121fb]}),!0x0;}},_0xa68dee={'type':_0x578498[_0x15ffdc(0x424)]['COMMAND'],'id':_0x15ffdc(0x393),async 'handler'(_0x2ea74e,_0x258d9f){const _0xe88d28=_0x15ffdc;if(!_0x258d9f)return!0x1;const _0xa41b7e=_0x2ea74e[_0xe88d28(0x1b6)](_0x578498[_0xe88d28(0x339)]),_0x20e1e3=_0x2ea74e[_0xe88d28(0x1b6)](_0x578498[_0xe88d28(0x26a)]),_0x4cc757=_0x2ea74e[_0xe88d28(0x1b6)](_0xc8ae41[_0xe88d28(0x3d7)]),{info:_0x214772,tableFieldId:_0x1ec042,pivotTableId:_0x37724a,unitId:_0x329606,subUnitId:_0x21f7dd}=_0x258d9f,_0xd548e8=(await _0x4cc757[_0xe88d28(0x2d0)]({'unitId':_0x329606,'subUnitId':_0x21f7dd,'pivotTableId':_0x37724a,'params':{'type':_0x28ab98[_0xe88d28(0x1be)],'setPivotSort':{'tableFieldId':_0x1ec042,'info':_0x214772}}}))[_0xe88d28(0x2d9)][_0xe88d28(0x1e9)];if(!_0xd548e8)return!0x1;const {changesets:_0xa0fa49}=_0xd548e8,{redos:_0x16cd77,undos:_0x49755e}=_0x124b81(_0xa41b7e,{'pivotTableId':_0x37724a,'unitId':_0x329606,'subUnitId':_0x21f7dd},_0xa0fa49);return _0x578498[_0xe88d28(0x18d)](_0x16cd77,_0xa41b7e),_0x20e1e3[_0xe88d28(0x382)]({'unitID':_0x329606,'redoMutations':_0x16cd77,'undoMutations':_0x49755e}),!0x0;}},_0x34c1c4={'type':_0x578498['CommandType'][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x1d0),async 'handler'(_0x5a99d1,_0x41adfe){const _0x3e4599=_0x15ffdc;if(!_0x41adfe)return!0x1;const _0x2dd975=_0x5a99d1[_0x3e4599(0x1b6)](_0x578498['ICommandService']),{pivotTableId:_0x3252ff,fieldId:_0x3a0092,valueFilterInfo:_0x1186e8,unitId:_0x48a7f8,subUnitId:_0x524aa3}=_0x41adfe,_0x3ba5a1=_0x5a99d1['get'](_0xc8ae41[_0x3e4599(0x3d7)]),_0x2c3cfc=_0x5a99d1[_0x3e4599(0x1b6)](_0x578498[_0x3e4599(0x26a)]),_0x147743=(await _0x3ba5a1[_0x3e4599(0x2d0)]({'unitId':_0x48a7f8,'subUnitId':_0x524aa3,'pivotTableId':_0x3252ff,'params':{'type':_0x28ab98['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x3a0092,'filterInfo':_0x1186e8}}}))[_0x3e4599(0x2d9)][_0x3e4599(0x3c7)];if(!_0x147743)return!0x1;const {changesets:_0x129e9c,pivotTableConfig:_0x20c3ad,isEmpty:_0x54381f,view:_0x517e3d}=_0x147743,_0x585e50=_0x20c3ad['targetCellInfo'],_0x248210=new _0x31fd0d[(_0x3e4599(0x439))]();_0x248210[_0x3e4599(0x31f)](_0x517e3d);const _0x58038a={'cellInfo':_0x585e50,'view':_0x248210,'isEmpty':_0x54381f};if(!await _0x5a99d1[_0x3e4599(0x1b6)](_0xc8ae41[_0x3e4599(0x2bd)])[_0x3e4599(0x200)][_0x3e4599(0x3b7)](_0xa3c025)(!0x0,_0x58038a))return!0x1;const _0xfe0631=_0x157f5c(_0x5a99d1,_0x248210,_0x585e50,_0x54381f),_0x1666e8=_0x193a8d(_0x5a99d1,_0x58038a),{undos:_0x10b633,redos:_0x7fadb4}=_0x124b81(_0x2dd975,{'pivotTableId':_0x3252ff,'unitId':_0x48a7f8,'subUnitId':_0x524aa3},_0x129e9c);return _0x578498[_0x3e4599(0x18d)]([..._0xfe0631['redos'],..._0x1666e8[_0x3e4599(0x3f4)],..._0x7fadb4],_0x2dd975),_0x2c3cfc[_0x3e4599(0x382)]({'unitID':_0x48a7f8,'redoMutations':[..._0xfe0631[_0x3e4599(0x3f4)],..._0x1666e8[_0x3e4599(0x3f4)],..._0x7fadb4],'undoMutations':[..._0xfe0631[_0x3e4599(0x286)],..._0x1666e8[_0x3e4599(0x286)],..._0x10b633]}),!0x0;}},_0xf78a22={'id':_0x15ffdc(0x3f9),'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'handler':(_0x24b406,_0x1845af)=>{const _0x2c1c04=_0x15ffdc;if(!_0x1845af)return!0x1;if(!!_0x24b406[_0x2c1c04(0x1b6)](_0x578498['IConfigService'])['getConfig'](_0x98d9f3))return!0x0;const {unitId:_0x176938,subUnitId:_0x34f00a,pivotTableId:_0x1209ae,tableFieldId:_0x3abc61,dateType:_0x213bf8}=_0x1845af,_0x561598=_0x24b406[_0x2c1c04(0x1b6)](_0xc8ae41[_0x2c1c04(0x421)]),_0x197e60=_0x561598[_0x2c1c04(0x270)](_0x1209ae);if(!_0x197e60)return!0x1;const _0x504fce=_0x197e60['getDataFieldByTableId'](_0x3abc61);if(!_0x504fce)return!0x1;const _0xbcf896=_0x504fce[_0x2c1c04(0x38b)](),_0x13b8e8=_0x197e60[_0x2c1c04(0x3dc)](_0xbcf896),_0x12230a=(_0x13b8e8==null?void 0x0:_0x13b8e8['getName']())+'\x20'+_0x102f46(_0x24b406,_0x213bf8);_0x561598['getCollection'](_0x176938,_0x1209ae)[_0x2c1c04(0x281)](_0x504fce['id'],_0x12230a);const _0x1fb9bd=_0x197e60[_0x2c1c04(0x21b)](_0x3abc61);if(!_0x1fb9bd)return!0x1;_0x197e60[_0x2c1c04(0x241)](_0x1fb9bd['getId'](),_0x12230a),_0x504fce['setDateType'](_0x213bf8);const _0xff82be=_0x561598[_0x2c1c04(0x1d5)](_0x176938,_0x34f00a,_0x1209ae);return _0x561598[_0x2c1c04(0x1f9)]({'unitId':_0x176938,'subUnitId':_0x34f00a,'token':_0x1209ae,'type':_0x4f3f1d['Set'],'pivotConfig':_0xff82be}),!0x0;}},_0x24e57b={'id':_0x15ffdc(0x1ad),'type':_0x578498[_0x15ffdc(0x424)]['COMMAND'],'handler':(_0x2be41b,_0x1ae81b)=>{const _0x247015=_0x15ffdc;if(!_0x1ae81b)return!0x1;const _0x2676d7=_0x2be41b['get'](_0x578498[_0x247015(0x26a)]),{unitId:_0x1b1565,subUnitId:_0x38ab29,pivotTableId:_0x4d5392,tableFieldId:_0x1f107a}=_0x1ae81b,_0x4e7b4a=[],_0x17b00e=[],_0x36925f=_0x2be41b['get'](_0xc8ae41[_0x247015(0x484)]),_0x5139f7=_0x36925f[_0x247015(0x39f)](_0x1b1565,_0x4d5392),_0x24ec4b=_0x36925f[_0x247015(0x1d5)](_0x1b1565,_0x38ab29,_0x4d5392);if(!(_0x24ec4b!=null&&_0x24ec4b[_0x247015(0x227)][_0x247015(0x46c)]))return!0x1;const _0x2e7dbe=Object['values'](_0x24ec4b[_0x247015(0x227)]['dimension'])['find'](_0x3825b5=>_0x3825b5['id']===_0x1f107a);if(!_0x2e7dbe)return!0x1;const _0xc1621b=_0x2e7dbe[_0x247015(0x21a)];if(!(_0x5139f7!=null&&_0x5139f7['fields']))return!0x1;const _0x4841e3=Object[_0x247015(0x3cb)](_0x5139f7==null?void 0x0:_0x5139f7[_0x247015(0x23f)])[_0x247015(0x3f3)](_0x17e124=>_0x17e124['id']===_0xc1621b);if(!_0x4841e3)return!0x1;_0x31fd0d[_0x247015(0x262)](_0x4841e3)&&_0x4e7b4a[_0x247015(0x23e)]({'id':_0xf78a22['id'],'params':{..._0x1ae81b,'dateType':_0x4841e3[_0x247015(0x3fc)]}}),_0x17b00e[_0x247015(0x23e)]({'id':_0xf78a22['id'],'params':{..._0x1ae81b}});const _0x40e467=_0x2be41b[_0x247015(0x1b6)](_0x578498['ICommandService']);return _0x578498[_0x247015(0x18d)](_0x17b00e,_0x40e467)&&_0x2676d7[_0x247015(0x382)]({'unitID':_0x1b1565,'undoMutations':_0x4e7b4a,'redoMutations':_0x17b00e}),!0x0;}},_0x15e8d1={'type':_0x578498['CommandType'][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x36e),async 'handler'(_0x5395ab,_0x11888a){const _0x34eda9=_0x15ffdc;if(!_0x11888a)return!0x1;const _0x59409d=_0x5395ab[_0x34eda9(0x1b6)](_0x578498['ICommandService']),_0x13b2b4=_0x5395ab[_0x34eda9(0x1b6)](_0x578498[_0x34eda9(0x26a)]),_0x2a9aaa=_0x5395ab[_0x34eda9(0x1b6)](_0xc8ae41[_0x34eda9(0x3d7)]),{displayName:_0x3657b5,subtotalType:_0x330629,format:_0x136572,tableFieldId:_0x3d31ed,pivotTableId:_0x22cc98,unitId:_0x1d3f46,subUnitId:_0x56b8e5}=_0x11888a,_0x1c7ec7=(await _0x2a9aaa[_0x34eda9(0x2d0)]({'unitId':_0x1d3f46,'subUnitId':_0x56b8e5,'pivotTableId':_0x22cc98,'params':{'type':_0x28ab98['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x3d31ed,'displayName':_0x3657b5,'subtotalType':_0x330629,'format':_0x136572}}}))[_0x34eda9(0x2d9)]['setPivotSetting'];if(!_0x1c7ec7)return!0x1;const {changesets:_0x36b590,view:_0x1b7ac0,pivotTableConfig:_0xff57b2,isEmpty:_0x3a3099}=_0x1c7ec7,_0x43fba1=_0xff57b2[_0x34eda9(0x2a8)],_0x42af43=new _0x31fd0d[(_0x34eda9(0x439))]();_0x42af43['formJSON'](_0x1b7ac0);const _0x3d8feb={'cellInfo':_0x43fba1,'view':_0x42af43,'isEmpty':_0x3a3099};if(!await _0x5395ab[_0x34eda9(0x1b6)](_0xc8ae41[_0x34eda9(0x2bd)])[_0x34eda9(0x200)][_0x34eda9(0x3b7)](_0xa3c025)(!0x0,_0x3d8feb))return!0x1;const _0x19a756=_0x157f5c(_0x5395ab,_0x42af43,_0x43fba1,_0x3a3099),_0x1b58c3=_0x193a8d(_0x5395ab,_0x3d8feb),{undos:_0x22ae1e,redos:_0x26aa2c}=_0x124b81(_0x59409d,{'pivotTableId':_0x22cc98,'unitId':_0x1d3f46,'subUnitId':_0x56b8e5},_0x36b590);return _0x578498[_0x34eda9(0x18d)]([..._0x19a756[_0x34eda9(0x3f4)],..._0x1b58c3[_0x34eda9(0x3f4)],..._0x26aa2c],_0x59409d),_0x13b2b4['pushUndoRedo']({'unitID':_0x1d3f46,'redoMutations':[..._0x19a756[_0x34eda9(0x3f4)],..._0x1b58c3['redos'],..._0x26aa2c],'undoMutations':[..._0x19a756['undos'],..._0x1b58c3[_0x34eda9(0x286)],..._0x22ae1e]}),!0x0;}},_0x5eaa4f={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0xf276b7,_0x38eac2){const _0x47a6aa=_0x15ffdc;if(!_0x38eac2)return!0x1;if(!!_0xf276b7['get'](_0x578498[_0x47a6aa(0x402)])['getConfig'](_0x98d9f3))return!0x0;const _0x1dd65d=_0xf276b7[_0x47a6aa(0x1b6)](_0xc8ae41[_0x47a6aa(0x421)]),{pivotTableId:_0x32e91a,deleteIds:_0x2a6c9d,collectionJSON:_0x4b1798,dataRangeInfo:_0x225809,unitId:_0x4309ef,subUnitId:_0x32e7bd}=_0x38eac2,_0x3316fe=_0x1dd65d[_0x47a6aa(0x270)](_0x32e91a),_0x503450=_0x1dd65d[_0x47a6aa(0x1d5)](_0x4309ef,_0x32e7bd,_0x32e91a);if(!_0x3316fe||!_0x503450)return!0x1;const {collection:_0x41cbf1,updateDataFieldList:_0x1095d0}=_0x1dd65d[_0x47a6aa(0x30a)](_0x32e91a,_0x4b1798,_0x225809,_0x503450[_0x47a6aa(0x2a8)]);_0x1dd65d[_0x47a6aa(0x434)](_0x41cbf1,_0x1095d0,_0x225809),_0x3316fe[_0x47a6aa(0x3ab)](_0x41cbf1);for(const _0x23f1ca of _0x2a6c9d)_0x1dd65d[_0x47a6aa(0x215)](_0x225809[_0x47a6aa(0x194)],_0x23f1ca);const _0x2ee6d6=_0x1dd65d[_0x47a6aa(0x1d5)](_0x4309ef,_0x32e7bd,_0x32e91a);return _0x2ee6d6[_0x47a6aa(0x3b2)]=JSON[_0x47a6aa(0x3db)](JSON[_0x47a6aa(0x1a2)](_0x225809)),_0x1dd65d['addDirtyPivotTable']({'unitId':_0x4309ef,'subUnitId':_0x32e7bd,'token':_0x32e91a,'type':_0x4f3f1d[_0x47a6aa(0x1d4)]}),!0x0;}},_0x5ccfb0={'type':_0x578498['CommandType'][_0x15ffdc(0x22c)],'id':_0x15ffdc(0x380),async 'handler'(_0x237063,_0x342e2e){const _0x451d1b=_0x15ffdc,_0x417b85=_0x237063[_0x451d1b(0x1b6)](_0x578498[_0x451d1b(0x339)]),_0x29fa1a=_0x237063['get'](_0xc8ae41[_0x451d1b(0x3d7)]),_0x2cb736=_0x237063[_0x451d1b(0x1b6)](_0x578498[_0x451d1b(0x26a)]);if(!_0x342e2e)return!0x1;const {token:_0x2740fd,dataRangeInfo:_0x27603a,unitId:_0x52777a,subUnitId:_0xc1d7ef}=_0x342e2e,_0x3da3e4=[],_0x54a8f1=[],_0xe9ee5a=(await _0x29fa1a[_0x451d1b(0x2d0)]({'unitId':_0x52777a,'subUnitId':_0xc1d7ef,'pivotTableId':_0x2740fd,'params':{'type':_0x28ab98[_0x451d1b(0x369)],'updatePivotSource':{'dataRangeInfo':_0x27603a,'unitId':_0x52777a,'subUnitId':_0xc1d7ef}}}))['result'][_0x451d1b(0x40a)];if(!_0xe9ee5a)return!0x1;const {changesets:_0x2b1d43,deleteIds:_0x27a872,collectionConfig:_0x24da93,oldCollectionConfig:_0x99c78e,view:_0x36124d,isEmpty:_0x54155e,pivotTableConfig:_0x59873a}=_0xe9ee5a;_0x54a8f1[_0x451d1b(0x23e)]({'id':_0x5eaa4f['id'],'params':{'pivotTableId':_0x2740fd,'deleteIds':_0x27a872,'collectionJSON':_0x24da93,'dataRangeInfo':_0x27603a,'unitId':_0x52777a,'subUnitId':_0xc1d7ef}}),_0x3da3e4['unshift']({'id':_0x5eaa4f['id'],'params':{'pivotTableId':_0x2740fd,'deleteIds':[],'collectionJSON':_0x99c78e,'dataRangeInfo':_0x59873a[_0x451d1b(0x3b2)],'unitId':_0x52777a,'subUnitId':_0xc1d7ef}});const _0xd1864=_0x59873a[_0x451d1b(0x2a8)],_0x3339a3=new _0x31fd0d[(_0x451d1b(0x439))]();_0x3339a3[_0x451d1b(0x31f)](_0x36124d);const _0x1f8349={'cellInfo':_0xd1864,'view':_0x3339a3,'isEmpty':_0x54155e};if(!await _0x237063[_0x451d1b(0x1b6)](_0xc8ae41[_0x451d1b(0x2bd)])[_0x451d1b(0x200)][_0x451d1b(0x3b7)](_0xa3c025)(!0x0,_0x1f8349))return!0x1;const _0x3665d0=_0x157f5c(_0x237063,_0x3339a3,_0xd1864,_0x54155e),_0x595f8b=_0x193a8d(_0x237063,_0x1f8349),{undos:_0x55e92,redos:_0x1509f9}=_0x124b81(_0x417b85,{'pivotTableId':_0x2740fd,'unitId':_0x52777a,'subUnitId':_0xc1d7ef},_0x2b1d43);return _0x578498['sequenceExecute']([..._0x3665d0[_0x451d1b(0x3f4)],..._0x595f8b[_0x451d1b(0x3f4)],..._0x54a8f1,..._0x55e92],_0x417b85),_0x2cb736['pushUndoRedo']({'unitID':_0x52777a,'redoMutations':[..._0x3665d0['redos'],..._0x595f8b[_0x451d1b(0x3f4)],..._0x54a8f1,..._0x55e92],'undoMutations':[..._0x3665d0['undos'],..._0x595f8b['undos'],..._0x3da3e4,..._0x1509f9]}),!0x0;}},_0xdbf016={'type':_0x578498[_0x15ffdc(0x424)]['COMMAND'],'id':_0x15ffdc(0x18c),async 'handler'(_0x5401c0,_0x349e6c){const _0x4b0a71=_0x15ffdc;if(!_0x349e6c)return!0x1;const _0x18dd62=_0x5401c0['get'](_0x578498[_0x4b0a71(0x339)]),_0x4f75ed=_0x5401c0[_0x4b0a71(0x1b6)](_0xc8ae41[_0x4b0a71(0x3d7)]),_0x14fc5f=_0x5401c0['get'](_0x578498['IUniverInstanceService']),_0xddb297=_0x5401c0['get'](_0x578498[_0x4b0a71(0x26a)]),{pivotTableId:_0x58edf0,position:_0x14e2b1,index:_0xf0f935}=_0x349e6c,_0x1b1f6f=_0x137997[_0x4b0a71(0x407)](_0x14fc5f);if(!_0x1b1f6f)return!0x1;const {unitId:_0x5e0b2d,subUnitId:_0x484753}=_0x1b1f6f,_0x42fd9a=(await _0x4f75ed[_0x4b0a71(0x2d0)]({'unitId':_0x5e0b2d,'subUnitId':_0x484753,'pivotTableId':_0x58edf0,'params':{'type':_0x28ab98[_0x4b0a71(0x20b)],'updateValuePosition':{'position':_0x14e2b1,'index':_0xf0f935}}}))[_0x4b0a71(0x2d9)][_0x4b0a71(0x3d9)];if(!_0x42fd9a)return!0x1;const {changesets:_0x2e333c,view:_0x287bdb,isEmpty:_0x65a826,pivotTableConfig:_0x4ff874}=_0x42fd9a,_0x544aa7=_0x4ff874[_0x4b0a71(0x2a8)],_0x1854d4=new _0x31fd0d[(_0x4b0a71(0x439))]();_0x1854d4[_0x4b0a71(0x31f)](_0x287bdb);const _0x5d7482=_0x5401c0[_0x4b0a71(0x1b6)](_0xc8ae41[_0x4b0a71(0x2bd)]),_0x2ba0aa={'cellInfo':_0x544aa7,'view':_0x1854d4,'isEmpty':_0x65a826};if(!await _0x5d7482['asyncInterceptor'][_0x4b0a71(0x3b7)](_0xa3c025)(!0x0,_0x2ba0aa))return!0x1;const _0x2f7a75=_0x157f5c(_0x5401c0,_0x1854d4,_0x544aa7,_0x65a826),_0x5c1ea9=_0x193a8d(_0x5401c0,_0x2ba0aa),{undos:_0x255ff9,redos:_0x95ac37}=_0x124b81(_0x18dd62,{'pivotTableId':_0x58edf0,'unitId':_0x5e0b2d,'subUnitId':_0x484753},_0x2e333c);return _0x578498[_0x4b0a71(0x18d)]([..._0x2f7a75[_0x4b0a71(0x3f4)],..._0x5c1ea9[_0x4b0a71(0x3f4)],..._0x95ac37],_0x18dd62),_0xddb297[_0x4b0a71(0x382)]({'unitID':_0x5e0b2d,'redoMutations':[..._0x2f7a75[_0x4b0a71(0x3f4)],..._0x5c1ea9['redos'],..._0x95ac37],'undoMutations':[..._0x2f7a75[_0x4b0a71(0x286)],..._0x5c1ea9[_0x4b0a71(0x286)],..._0x255ff9]}),!0x0;}},_0x2d836f={'type':_0x578498[_0x15ffdc(0x424)][_0x15ffdc(0x216)],'id':_0x15ffdc(0x486),'handler'(){return!0x0;}};var _0x1f6c46=Object['getOwnPropertyDescriptor'],_0x118b2d=(_0x17633d,_0x5cb6ca,_0x21fd12,_0x25e09e)=>{for(var _0x51d5bb=_0x25e09e>0x1?void 0x0:_0x25e09e?_0x1f6c46(_0x5cb6ca,_0x21fd12):_0x5cb6ca,_0x2c09b1=_0x17633d['length']-0x1,_0xfe59d1;_0x2c09b1>=0x0;_0x2c09b1--)(_0xfe59d1=_0x17633d[_0x2c09b1])&&(_0x51d5bb=_0xfe59d1(_0x51d5bb)||_0x51d5bb);return _0x51d5bb;},_0x5a1319=(_0x1669e7,_0xb9e1ea)=>(_0x304ea3,_0x87a376)=>_0xb9e1ea(_0x304ea3,_0x87a376,_0x1669e7);const _0xb81ae5=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x9da194=(_0x1f6cb0,_0x4a93e0,_0x3301bd)=>{const _0x1c2724=_0x15ffdc,_0xebeeea=_0x1f6cb0[_0x1c2724(0x278)];_0x1f6cb0[_0x1c2724(0x217)](_0x5de13b=>{const _0x530dff=_0x1c2724,_0x4fe5f6=_0x5de13b[_0x530dff(0x3ce)](),_0x1532e7=_0x5de13b['getDataFieldId'](),_0x54598c=_0x5de13b['getSourceName'](),_0x48a38c=_0x5de13b[_0x530dff(0x459)]();_0x4a93e0[_0x1532e7]&&_0x4a93e0[_0x1532e7]===_0x48a38c&&_0x54598c===_0x48a38c&&(_0x1f6cb0['renameField'](_0x4fe5f6,_0xebeeea[_0x530dff(0x459)](_0x1532e7)),_0x5de13b['setSourceName'](_0xebeeea[_0x530dff(0x459)](_0x1532e7)));}),_0x1f6cb0['iterateFieldByArea'](_0x31fd0d['PivotTableFiledAreaEnum'][_0x1c2724(0x2d2)],_0xe94158=>{const _0x1011c7=_0x1c2724,_0x1cac86=_0xe94158['getId'](),_0xc433a2=_0xe94158['getDataFieldId'](),_0x2f5e9f=_0xe94158[_0x1011c7(0x3b4)](),_0x2d41ea=_0xe94158[_0x1011c7(0x459)](),_0x217de1=_0xe94158['getSubtotal'](),_0x4b325d=_0x3301bd(_0x2f5e9f,_0x217de1);_0x4a93e0[_0xc433a2]&&_0x4a93e0[_0xc433a2]===_0x2f5e9f&&_0x4b325d===_0x2d41ea&&(_0x1f6cb0['renameField'](_0x1cac86,_0x3301bd(_0xebeeea[_0x1011c7(0x459)](_0xc433a2),_0x217de1)),_0xe94158[_0x1011c7(0x1db)](_0xebeeea['getDisplayName'](_0xc433a2)));});},_0x256212=(_0x5f3f67,_0x1df2e6,_0x1c9dc1)=>{const _0x3989d2=_0x15ffdc;var _0x2bedd0,_0x2aefb9;const {arrayFormulaCellData:_0x4fe264,unitData:_0x241774}=_0x1df2e6,{unitId:_0x43d626,subUnitId:_0x4947db}=_0x1c9dc1,_0xc57121=_0x1c9dc1[_0x3989d2(0x3ff)],{startColumn:_0x35180e,endColumn:_0xeb12b6}=_0xc57121,_0x973b26=(_0x2bedd0=_0x4fe264==null?void 0x0:_0x4fe264[_0x43d626])==null?void 0x0:_0x2bedd0[_0x4947db],_0x23a981=(_0x2aefb9=_0x241774==null?void 0x0:_0x241774[_0x43d626])==null?void 0x0:_0x2aefb9[_0x4947db],_0x249208=new Set(),_0xb33b78=_0xeb12b6-_0x35180e+0x1,{dirtyRanges:_0x591adb}=_0x5f3f67;if(_0x591adb)for(const {range:_0x3f2298,sheetId:_0x24f1f4,unitId:_0xaaf88c}of _0x591adb){if(_0x24f1f4!==_0x4947db||_0x43d626!==_0xaaf88c)continue;const _0x48f6b3=_0x578498[_0x3989d2(0x1e5)]['getIntersects'](_0x3f2298,_0xc57121);if(_0x48f6b3){const {startColumn:_0x144a1c,endColumn:_0x39a6b2}=_0x48f6b3;for(let _0x39774d=_0x144a1c;_0x39774d<=_0x39a6b2;_0x39774d++)_0x249208[_0x3989d2(0x34b)](_0x39774d);}}if(_0x249208[_0x3989d2(0x296)]===_0xb33b78||_0x249208['size']===_0xb33b78)return Array['from'](_0x249208);if(_0x23a981){const _0xd4f5f0=_0x23a981[_0x3989d2(0x25e)](),_0x4786a2=Object[_0x3989d2(0x34f)](_0xd4f5f0);for(const _0x55e844 of _0x4786a2){const _0x4add8e=Number(_0x55e844),_0x79357f=_0xd4f5f0[_0x4add8e];if(_0x249208[_0x3989d2(0x296)]===_0xb33b78)break;for(const _0x184ebf in _0x79357f){const _0x5e7c27=Number(_0x184ebf);_0x5e7c27<_0x35180e||_0x5e7c27>_0xeb12b6||_0x249208[_0x3989d2(0x34b)](_0x5e7c27);}}}if(_0x973b26){const _0x3e8295=_0x973b26[_0x3989d2(0x25e)](),_0x31ad3e=Object['keys'](_0x3e8295);for(const _0x1446c0 of _0x31ad3e){const _0x1132c7=Number(_0x1446c0),_0x581eaf=_0x3e8295[_0x1132c7];if(_0x249208['size']===_0xb33b78)break;for(const _0x3e825f in _0x581eaf){const _0x20d044=Number(_0x3e825f);_0x20d044<_0x35180e||_0x20d044>_0xeb12b6||_0x249208[_0x3989d2(0x34b)](_0x20d044);}}}return Array[_0x3989d2(0x2c8)](_0x249208);},_0xc8b99e=_0x4c3208=>{const _0xc906b0=_0x15ffdc,_0x45ca29=new Set(),_0x595db8=[];for(const _0x5b2367 of _0x4c3208){const _0x24285c=_0x5b2367[_0xc906b0(0x458)]+','+_0x5b2367[_0xc906b0(0x219)]+','+_0x5b2367[_0xc906b0(0x228)]+','+_0x5b2367[_0xc906b0(0x333)];_0x45ca29[_0xc906b0(0x392)](_0x24285c)||(_0x45ca29[_0xc906b0(0x34b)](_0x24285c),_0x595db8[_0xc906b0(0x23e)](_0x5b2367));}return _0x595db8;};let _0x3b47b0=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x249a08,_0x13adec,_0x351efa,_0x527bac,_0x1ed93f){const _0x19c277=_0x15ffdc;super(),_0x2518e1(this,_0x19c277(0x307),new _0x34a132['BehaviorSubject'](!0x0)),_0x2518e1(this,_0x19c277(0x35f),_0x335750=>{const _0x510458=_0x19c277;this[_0x510458(0x307)][_0x510458(0x316)](!0x1);}),_0x2518e1(this,_0x19c277(0x1ae),_0x30c351=>{this['_globalSubject']['next'](!0x0);}),(this[_0x19c277(0x1bb)]=_0x249a08,this[_0x19c277(0x24e)]=_0x13adec,this['_commandService']=_0x351efa,this['_globalComputingSrv']=_0x527bac,this[_0x19c277(0x210)]=_0x1ed93f,this[_0x19c277(0x3bf)](),this[_0x19c277(0x1c2)]());}[_0x15ffdc(0x3bf)](){const _0x5a9757=_0x15ffdc;this['_subjectCollectionChange'](),this[_0x5a9757(0x2af)](),this[_0x5a9757(0x191)](),this[_0x5a9757(0x1e4)]();}[_0x15ffdc(0x35c)](){const _0x4ab5d1=_0x15ffdc;this['_globalComputingSrv']['pushComputingStatusSubject'](this['_globalSubject']),_0x31fd0d[_0x4ab5d1(0x284)][_0x4ab5d1(0x264)](_0x31fd0d['PivotCallbackEnum'][_0x4ab5d1(0x360)],this[_0x4ab5d1(0x35f)]),_0x31fd0d['PivotTable']['registerCallbackWithEvent'](_0x31fd0d[_0x4ab5d1(0x340)]['onQueryEnd'],this[_0x4ab5d1(0x1ae)]);}[_0x15ffdc(0x1c2)](){const _0x37ae38=_0x15ffdc;this['disposeWithMe'](this[_0x37ae38(0x1f3)][_0x37ae38(0x25a)](_0x211add=>{const _0x410185=_0x37ae38;_0x211add['id']===_0x137997['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x410185(0x21f)](_0x211add[_0x410185(0x2a7)]);})),this[_0x37ae38(0x2c3)](this[_0x37ae38(0x1f3)]['onCommandExecuted'](_0x44b848=>{const _0x473b5c=_0x37ae38;if(_0x44b848['id']!==_0x4cb55e['id'])return;const _0x51f3fc=_0x44b848[_0x473b5c(0x2a7)],{unitId:_0x130c03,subUnitId:_0x370d32,pivotTableId:_0x24de6c}=_0x51f3fc,_0x2dcb16=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x22f)],_0xecd598={};switch(_0x2dcb16){case _0x28ab98[_0x473b5c(0x33a)]:{const _0x462946=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x2f6)];if(!_0x462946)return;const {row:_0x203b6a,col:_0x2b177d,cellData:_0x3d572a,pivotItemRenderInfoCache:_0x1938b0,tableFieldId:_0x552b3f}=_0x462946,_0x326edf=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x51f3fc[_0x473b5c(0x378)]);if(!_0x326edf||!_0x1938b0)return;if(_0x552b3f){const _0x2c155a=_0x326edf[_0x473b5c(0x417)](_0x552b3f);if(!_0x2c155a)return;_0xecd598[_0x473b5c(0x2f6)]={..._0x326edf['getDataFieldItemInfo'](_0x2c155a),'tableFieldId':_0x552b3f,'pivotTableId':_0x51f3fc[_0x473b5c(0x378)],'filterInfo':_0x326edf[_0x473b5c(0x2ad)](_0x552b3f),'sortInfo':_0x326edf[_0x473b5c(0x24b)](_0x552b3f),'format':_0x326edf[_0x473b5c(0x201)](_0x552b3f)};}else{const _0x30cb87=_0x44b642(_0x203b6a,_0x2b177d,_0x3d572a,_0x326edf,_0x1938b0),_0x5c3ee5=_0x30cb87==null?void 0x0:_0x30cb87['filterId'];if(!_0x5c3ee5)return;const _0x5e0632=_0x326edf[_0x473b5c(0x417)](_0x5c3ee5);if(!_0x5e0632)return;_0xecd598[_0x473b5c(0x2f6)]={..._0x326edf[_0x473b5c(0x34c)](_0x5e0632),'tableFieldId':_0x5c3ee5,'pivotTableId':_0x51f3fc[_0x473b5c(0x378)],'filterInfo':_0x326edf[_0x473b5c(0x2ad)](_0x5c3ee5),'sortInfo':_0x326edf[_0x473b5c(0x24b)](_0x5c3ee5),'format':_0x326edf['getFieldFormat'](_0x5c3ee5)};}}break;case _0x28ab98['Panel']:{const _0x473495=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x44d)];if(!_0x473495)return;const {pivotTableId:_0x5c503b}=_0x473495,_0x6d6bc8=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x5c503b);if(!_0x6d6bc8)return;const _0x55fc82=this[_0x473b5c(0x1bb)]['getPivotTableConfig'](_0x130c03,_0x370d32,_0x5c503b),_0x11ea1f=_0x3d0731(_0x6d6bc8,_0x5c503b,_0x55fc82);_0xecd598['panel']=_0x11ea1f;}break;case _0x28ab98['AddPivotField']:{const _0x14cae8=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x24de6c),_0x1ae45f=this[_0x473b5c(0x1bb)][_0x473b5c(0x3d8)](_0x130c03),_0x183a2e=_0x1ae45f['getCollection'](_0x24de6c);let _0x15eef6=null;const _0x4494eb=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c),_0x1d2a31=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x394)];if(!_0x14cae8||!_0x4494eb||!_0x1d2a31)return!0x1;const {dataFieldId:_0x3bdcd0,fieldArea:_0x125949,index:_0x494a34}=_0x1d2a31;_0x14cae8[_0x473b5c(0x463)]();const _0x237167=_0x14cae8[_0x473b5c(0x323)](_0x3bdcd0,_0x125949,_0x494a34);if(_0x237167&&_0x125949===_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x2d2)]){const _0x5f32bb=_0x237167[_0x473b5c(0x3ce)](),_0x120509=_0x14cae8[_0x473b5c(0x417)](_0x5f32bb);if(_0x120509){const _0x1a8dc2=_0x120509==null?void 0x0:_0x120509[_0x473b5c(0x37f)]();_0x14cae8[_0x473b5c(0x29d)](_0x237167[_0x473b5c(0x3ce)](),_0x1a8dc2===_0x31fd0d[_0x473b5c(0x40f)]['number']?_0x31fd0d[_0x473b5c(0x396)][_0x473b5c(0x1c9)]:_0x31fd0d[_0x473b5c(0x396)][_0x473b5c(0x249)]);}const _0x34efa6=_0x14cae8[_0x473b5c(0x189)](),_0x2c9025=_0x14cae8[_0x473b5c(0x365)](),_0x19bb27=_0x14cae8[_0x473b5c(0x3d1)](_0x31fd0d[_0x473b5c(0x28c)]['Value']);if(_0x34efa6===-0x1&&_0x19bb27>0x1){const _0x3b6d81=_0x2c9025===_0x31fd0d[_0x473b5c(0x29f)][_0x473b5c(0x2a0)]?_0x31fd0d[_0x473b5c(0x29f)][_0x473b5c(0x3e0)]:_0x2c9025,_0x242693=_0x3b6d81===_0x31fd0d[_0x473b5c(0x29f)][_0x473b5c(0x289)]?_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x289)]:_0x31fd0d['PivotTableFiledAreaEnum'][_0x473b5c(0x3e0)];_0x14cae8[_0x473b5c(0x3d9)](_0x3b6d81,_0x14cae8[_0x473b5c(0x3d1)](_0x242693));}}else{if(_0x237167&&(_0x125949===_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x289)]||_0x125949===_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x3e0)])){const _0x2c555e=_0x237167[_0x473b5c(0x3ce)](),_0x217f17=_0x14cae8[_0x473b5c(0x417)](_0x2c555e);if(_0x217f17&&(_0x217f17==null?void 0x0:_0x217f17['getFieldDataType']())===_0x31fd0d[_0x473b5c(0x40f)][_0x473b5c(0x324)]){const _0x48977b=_0x217f17['getformat']();if(_0x48977b&&_0x14cae8[_0x473b5c(0x36f)](_0x237167['getId'](),_0x48977b),!_0x183a2e[_0x473b5c(0x2d8)]()[_0x473b5c(0x374)](_0x1bc252=>{const _0x328534=_0x473b5c,_0x16ecf4=_0x183a2e['getFieldById'](_0x1bc252);return _0x31fd0d[_0x328534(0x27e)](_0x16ecf4)?_0x16ecf4[_0x328534(0x1aa)]()[_0x328534(0x315)]===_0x3bdcd0:!0x1;})){const _0x59d087=_0x1ae45f[_0x473b5c(0x22a)](),_0x58f818=_0x52ab52(_0x217f17['maxDate'],_0x217f17[_0x473b5c(0x2d7)]),_0x59ebb9=_0x217f17[_0x473b5c(0x2bb)]()+_0x473b5c(0x21e)+_0x102f46(this[_0x473b5c(0x210)],_0x58f818),_0x1e9942=new _0x31fd0d[(_0x473b5c(0x2e9))](_0x59d087,_0x59ebb9,_0x31fd0d[_0x473b5c(0x3a8)](0x3),_0x217f17['getId'](),_0x58f818);_0x1ae45f[_0x473b5c(0x303)](_0x1e9942),_0x183a2e[_0x473b5c(0x488)](_0x59d087,_0x59ebb9),_0x14cae8['addFieldWithSourceId'](_0x59d087,_0x125949,(_0x494a34!=null?_0x494a34:0x0)+0x1),_0x15eef6=_0x1e9942;}}}}const _0x407884=_0x14cae8[_0x473b5c(0x317)](),_0x12b425=_0x14cae8[_0x473b5c(0x253)]()['toJSON']();let _0x4bb577;if(_0x15eef6){_0x4bb577=_0x15eef6['toJSON']();const _0x16c107=_0x15eef6[_0x473b5c(0x3ce)]();_0x183a2e[_0x473b5c(0x3f8)](_0x16c107);let _0x42e645=!0x0;for(const _0x3fa0ab in _0x1ae45f['collections'])if(_0x1ae45f[_0x473b5c(0x28b)][_0x3fa0ab][_0x473b5c(0x2d8)]()['includes'](_0x16c107)){_0x42e645=!0x1;break;}_0x42e645&&_0x1ae45f[_0x473b5c(0x3fa)](_0x16c107);}const _0x40626a=_0x14cae8[_0x473b5c(0x1bd)]();_0xecd598[_0x473b5c(0x394)]={'view':_0x12b425,'changesets':_0x40626a,'isEmpty':_0x407884,'pivotTableConfig':_0x4494eb,'shouldBeAddedGroupJSON':_0x4bb577};}break;case _0x28ab98[_0x473b5c(0x1cd)]:{const _0x1d3915=_0x51f3fc[_0x473b5c(0x2a7)]['addPivotTable'];if(!_0x1d3915)return;const _0x417fd5=_0x1d3915[_0x473b5c(0x3b2)],_0x43c465=_0x1d3915[_0x473b5c(0x378)],{collection:_0x29977b}=this[_0x473b5c(0x1bb)][_0x473b5c(0x471)]({'unitId':_0x417fd5[_0x473b5c(0x194)],'sheetName':_0x417fd5['sheetName'],'subUnitId':_0x417fd5[_0x473b5c(0x3f7)],'range':_0x417fd5['range']}),_0x264f4a=new _0x31fd0d[(_0x473b5c(0x284))](_0x29977b,void 0x0,_0x43c465),_0xe48871=_0x264f4a['query'](),_0x14fc8e=_0x264f4a[_0x473b5c(0x1ef)](),_0x389f99=_0x29977b[_0x473b5c(0x1ef)]();_0xecd598[_0x473b5c(0x350)]={'view':_0xe48871,'fieldsConfig':_0x14fc8e,'collectionConfig':_0x389f99,'isEmpty':_0x264f4a[_0x473b5c(0x317)]()};}break;case _0x28ab98['MovePivotField']:{const _0x49f437=_0x51f3fc[_0x473b5c(0x2a7)]['movePivotField'];if(!_0x49f437)return;const {fieldId:_0x439253,area:_0x135a9d,index:_0x43ad80}=_0x49f437,_0x111be5=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x111be5)return;const _0x77d3c5=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x24de6c);if(!_0x77d3c5)return;_0x77d3c5['startCollectChangeset']();const {area:_0x3dfa80,index:_0x5e313c}=_0x77d3c5[_0x473b5c(0x279)](_0x439253);if(_0x77d3c5[_0x473b5c(0x256)](_0x439253,_0x135a9d,_0x43ad80),_0x135a9d===_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x2d2)]&&_0x77d3c5[_0x473b5c(0x21b)](_0x439253)[_0x473b5c(0x2dc)]()===void 0x0){const _0x16c3ad=_0x77d3c5[_0x473b5c(0x21b)](_0x439253);if(_0x16c3ad&&_0x16c3ad[_0x473b5c(0x2dc)]()===void 0x0){const _0x23b9c1=_0x77d3c5[_0x473b5c(0x417)](_0x439253);if(_0x23b9c1){const _0x2331c0=_0x23b9c1==null?void 0x0:_0x23b9c1[_0x473b5c(0x37f)]();_0x77d3c5[_0x473b5c(0x29d)](_0x439253,_0x2331c0===_0x31fd0d[_0x473b5c(0x40f)]['number']?_0x31fd0d['PivotSubtotalTypeEnum'][_0x473b5c(0x1c9)]:_0x31fd0d[_0x473b5c(0x396)][_0x473b5c(0x249)]);}}}const _0x598e5a=_0x77d3c5[_0x473b5c(0x365)](),_0x41ee72=_0x77d3c5[_0x473b5c(0x189)](),_0x4144ab=_0x77d3c5[_0x473b5c(0x3d1)](_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x2d2)])>0x1;if(_0x4144ab&&_0x3dfa80===_0x135a9d&&(_0x135a9d===_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x289)]&&_0x598e5a===_0x31fd0d[_0x473b5c(0x29f)][_0x473b5c(0x289)]||_0x135a9d===_0x31fd0d[_0x473b5c(0x28c)]['Column']&&_0x598e5a===_0x31fd0d[_0x473b5c(0x29f)]['Column'])){let _0x3b2d76=_0x41ee72;_0x5e313c<=_0x41ee72&&_0x3b2d76--,_0x43ad80<=_0x41ee72&&_0x3b2d76++,_0x77d3c5['updateValuePosition'](_0x598e5a,_0x3b2d76);}else _0x4144ab&&(_0x3dfa80===_0x31fd0d['PivotTableFiledAreaEnum'][_0x473b5c(0x289)]&&_0x598e5a===_0x31fd0d[_0x473b5c(0x29f)]['Row']||_0x3dfa80===_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x3e0)]&&_0x598e5a===_0x31fd0d['PivotTableValuePositionEnum'][_0x473b5c(0x3e0)])&&_0x41ee72>=_0x5e313c&&_0x77d3c5[_0x473b5c(0x3d9)](_0x598e5a,_0x41ee72-0x1),_0x4144ab&&(_0x135a9d===_0x31fd0d['PivotTableFiledAreaEnum'][_0x473b5c(0x289)]&&_0x598e5a===_0x31fd0d[_0x473b5c(0x29f)][_0x473b5c(0x289)]||_0x135a9d===_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x3e0)]&&_0x598e5a===_0x31fd0d[_0x473b5c(0x29f)][_0x473b5c(0x3e0)])&&_0x41ee72>=_0x43ad80&&_0x77d3c5['updateValuePosition'](_0x598e5a,_0x41ee72+0x1);const _0x5b2c52=_0x77d3c5[_0x473b5c(0x253)](),_0x1b791d=_0x77d3c5[_0x473b5c(0x317)](),_0x27f7c3=_0x77d3c5[_0x473b5c(0x1bd)]();_0xecd598[_0x473b5c(0x2da)]={'view':_0x5b2c52['toJSON'](),'changesets':_0x27f7c3,'isEmpty':_0x1b791d,'pivotTableConfig':_0x111be5};}break;case _0x28ab98[_0x473b5c(0x2fe)]:{const _0x495523=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x37a)];if(!_0x495523)return;const _0x2febbb=_0x495523[_0x473b5c(0x2cd)],_0x6f87af=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x6f87af)return!0x1;const _0x49b425=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x24de6c);if(!_0x49b425)return!0x1;_0x49b425[_0x473b5c(0x463)]();for(const _0x880e6f of _0x2febbb){const {area:_0x41b38b}=_0x49b425[_0x473b5c(0x279)](_0x880e6f);_0x41b38b===_0x31fd0d['PivotTableFiledAreaEnum'][_0x473b5c(0x2d2)]&&_0x49b425[_0x473b5c(0x355)](_0x880e6f),(_0x41b38b===_0x31fd0d['PivotTableFiledAreaEnum'][_0x473b5c(0x289)]||_0x41b38b===_0x31fd0d[_0x473b5c(0x28c)]['Column'])&&_0x49b425[_0x473b5c(0x31e)](_0x880e6f),_0x49b425['removeField'](_0x880e6f);}const _0x53689c=_0x49b425['isEmpty'](),_0x153a30=_0x49b425[_0x473b5c(0x253)]()[_0x473b5c(0x1ef)](),_0x1efd56=_0x49b425[_0x473b5c(0x1bd)]();_0xecd598[_0x473b5c(0x37a)]={'changesets':_0x1efd56,'pivotTableConfig':_0x6f87af,'isEmpty':_0x53689c,'view':_0x153a30};}break;case _0x28ab98[_0x473b5c(0x3ac)]:{const _0x5aad80=_0x51f3fc['params'][_0x473b5c(0x384)];if(!_0x5aad80)return;const {tableFieldId:_0x4c1324,items:_0x554436,isAll:_0x147a41}=_0x5aad80,_0x537d47=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x24de6c),_0x50238d=this['_sheetsPivotDataSourceModel'][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x537d47||!_0x50238d)return;_0x537d47[_0x473b5c(0x463)](),_0x537d47['setLabelFilterInfo'](_0x4c1324,{'type':_0x31fd0d[_0x473b5c(0x428)][_0x473b5c(0x252)],'list':_0x554436,'isAll':_0x147a41});const _0x40bf2b=_0x537d47[_0x473b5c(0x317)](),_0x2ce607=_0x537d47[_0x473b5c(0x253)]()['toJSON'](),_0x18eebf=_0x537d47['endCollectChangeset']();_0xecd598[_0x473b5c(0x384)]={'view':_0x2ce607,'changesets':_0x18eebf,'isEmpty':_0x40bf2b,'pivotTableConfig':_0x50238d};}break;case _0x28ab98[_0x473b5c(0x1bf)]:{const _0x42b75c=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x3c7)];if(!_0x42b75c)return;const {tableFieldId:_0x4b1e96,filterInfo:_0x4cbb38}=_0x42b75c,_0x3ec7b8=this['_sheetsPivotDataSourceModel'][_0x473b5c(0x270)](_0x24de6c),_0x410fe0=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x3ec7b8||!_0x410fe0)return;_0x3ec7b8[_0x473b5c(0x463)](),_0x3ec7b8[_0x473b5c(0x226)](_0x4b1e96,_0x4cbb38);const _0xc882c=_0x3ec7b8['isEmpty'](),_0x38d28d=_0x3ec7b8[_0x473b5c(0x253)]()[_0x473b5c(0x1ef)](),_0x5315aa=_0x3ec7b8['endCollectChangeset']();_0xecd598[_0x473b5c(0x3c7)]={'view':_0x38d28d,'changesets':_0x5315aa,'isEmpty':_0xc882c,'pivotTableConfig':_0x410fe0};}break;case _0x28ab98[_0x473b5c(0x1be)]:{const _0x328fda=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x1e9)];if(!_0x328fda)return;const {tableFieldId:_0x55f645,info:_0x221a62}=_0x328fda,_0x1b1373=this['_sheetsPivotDataSourceModel'][_0x473b5c(0x270)](_0x24de6c),_0x18bdf3=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x1b1373||!_0x18bdf3)return;_0x1b1373[_0x473b5c(0x463)](),_0x1b1373['setSortInfo'](_0x55f645,_0x221a62);const _0x543b48=_0x1b1373[_0x473b5c(0x317)](),_0x1a2b4f=_0x1b1373[_0x473b5c(0x253)]()['toJSON'](),_0x117a0a=_0x1b1373['endCollectChangeset']();_0xecd598['setPivotSort']={'view':_0x1a2b4f,'changesets':_0x117a0a,'isEmpty':_0x543b48,'pivotTableConfig':_0x18bdf3};}break;case _0x28ab98[_0x473b5c(0x32a)]:{const _0x2d44ee=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x33f)];if(!_0x2d44ee)return;const {tableFieldId:_0x2a9e31,displayName:_0x379e9a,subtotalType:_0x4e471f,format:_0x253ec0}=_0x2d44ee,_0x7c573e=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x24de6c),_0x5788f9=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x7c573e||!_0x5788f9)return;_0x7c573e[_0x473b5c(0x463)](),_0x379e9a!==void 0x0&&_0x7c573e[_0x473b5c(0x241)](_0x2a9e31,_0x379e9a),_0x4e471f!==void 0x0&&_0x7c573e[_0x473b5c(0x29d)](_0x2a9e31,_0x4e471f),_0x253ec0!==void 0x0&&_0x7c573e[_0x473b5c(0x36f)](_0x2a9e31,_0x253ec0);const _0x52dae2=_0x7c573e[_0x473b5c(0x317)](),_0x568168=_0x7c573e[_0x473b5c(0x253)]()[_0x473b5c(0x1ef)](),_0x22176d=_0x7c573e['endCollectChangeset']();_0xecd598['setPivotSetting']={'changesets':_0x22176d,'pivotTableConfig':_0x5788f9,'isEmpty':_0x52dae2,'view':_0x568168};}break;case _0x28ab98[_0x473b5c(0x369)]:{const _0x464819=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x40a)];if(!_0x464819)return;const {dataRangeInfo:_0x1c7b1b,unitId:_0xee537b,subUnitId:_0x4de13d}=_0x464819,_0x44f91e=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0xee537b,_0x4de13d,_0x24de6c),_0x459994=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x24de6c);if(!this[_0x473b5c(0x1bb)]['getCollection'](_0xee537b,_0x24de6c)||!_0x459994||!_0x44f91e)return;const _0x362329=this['_sheetsPivotDataSourceModel'][_0x473b5c(0x454)](_0xee537b,_0x24de6c,_0x1c7b1b),_0x10d00d=this[_0x473b5c(0x1bb)][_0x473b5c(0x39f)](_0xee537b,_0x24de6c)[_0x473b5c(0x1ef)](),{collection:_0x5a916c}=this[_0x473b5c(0x1bb)][_0x473b5c(0x471)]({'unitId':_0x1c7b1b[_0x473b5c(0x194)],'sheetName':_0x1c7b1b['sheetName'],'subUnitId':_0x1c7b1b[_0x473b5c(0x3f7)],'range':_0x1c7b1b[_0x473b5c(0x3ff)]}),_0x22f035=_0x5a916c[_0x473b5c(0x1ef)]();_0x459994[_0x473b5c(0x463)]();const _0x355129=this[_0x473b5c(0x1bb)][_0x473b5c(0x3d8)](_0xee537b)[_0x473b5c(0x1f8)]()||_0x31fd0d[_0x473b5c(0x3b6)];_0x459994[_0x473b5c(0x273)](_0x10c9c4=>{const _0x40960d=_0x473b5c,_0x590fd1=_0x10c9c4['getDataFieldId']();if(!_0x5a916c[_0x40960d(0x1d6)](_0x590fd1)){const _0x56f08d=_0x5a916c[_0x40960d(0x319)](_0x10c9c4['getSourceName']());if(_0x56f08d){_0x459994[_0x40960d(0x295)](_0x10c9c4[_0x40960d(0x3ce)](),_0x56f08d[_0x40960d(0x2bb)](),_0x56f08d[_0x40960d(0x3ce)]());const {area:_0x576704}=_0x459994[_0x40960d(0x279)](_0x10c9c4[_0x40960d(0x3ce)]());let _0x359834=_0x10c9c4[_0x40960d(0x3b4)]();const _0x56c079=_0x10c9c4[_0x40960d(0x459)]();if(_0x576704===_0x31fd0d[_0x40960d(0x28c)][_0x40960d(0x2d2)]){const _0x102030=_0x10c9c4[_0x40960d(0x2dc)]();_0x359834=_0x355129(_0x56f08d[_0x40960d(0x2bb)](),_0x102030);}_0x56c079!==_0x359834&&_0x459994['renameField'](_0x10c9c4[_0x40960d(0x3ce)](),_0x359834);}else _0x459994['removeField'](_0x10c9c4[_0x40960d(0x3ce)]());}});const _0x42555c=_0x459994['isEmpty'](),_0x3695f4=_0x459994['query']()[_0x473b5c(0x1ef)](),_0x56bb58=_0x459994[_0x473b5c(0x1bd)]();_0xecd598[_0x473b5c(0x40a)]={'view':_0x3695f4,'changesets':_0x56bb58,'isEmpty':_0x42555c,'pivotTableConfig':_0x44f91e,'collectionConfig':_0x22f035,'oldCollectionConfig':_0x10d00d,'deleteIds':_0x362329};}break;case _0x28ab98['UpdateValuePosition']:{const _0x109530=_0x51f3fc['params'][_0x473b5c(0x3d9)];if(!_0x109530)return;const {position:_0xcca797,index:_0x355122}=_0x109530,_0x2fe078=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x2fe078)return!0x1;const _0x28fa20=this['_sheetsPivotDataSourceModel'][_0x473b5c(0x270)](_0x24de6c);if(!_0x28fa20)return!0x1;_0x28fa20[_0x473b5c(0x463)](),_0x28fa20['updateValuePosition'](_0xcca797,_0x355122);const _0x1bbcdd=_0x28fa20[_0x473b5c(0x317)](),_0x22ed31=_0x28fa20[_0x473b5c(0x253)]()[_0x473b5c(0x1ef)](),_0x21ecc9=_0x28fa20[_0x473b5c(0x1bd)]();_0xecd598['updateValuePosition']={'changesets':_0x21ecc9,'pivotTableConfig':_0x2fe078,'isEmpty':_0x1bbcdd,'view':_0x22ed31};}break;case _0x28ab98[_0x473b5c(0x1ca)]:{const _0x42392a=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x21c)];if(!_0x42392a)return;const {tableFieldId:_0x3160a4,collapse:_0x235832,item:_0x37e323}=_0x42392a,_0x2c39db=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x24de6c),_0x139691=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x2c39db||!_0x139691)return;_0x2c39db[_0x473b5c(0x463)](),_0x2c39db['setCollapse'](_0x3160a4,_0x235832,_0x37e323);const _0x59fa43=_0x2c39db[_0x473b5c(0x317)](),_0x4db647=_0x2c39db[_0x473b5c(0x253)]()[_0x473b5c(0x1ef)](),_0x307efb=_0x2c39db[_0x473b5c(0x1bd)]();_0xecd598[_0x473b5c(0x21c)]={'view':_0x4db647,'isEmpty':_0x59fa43,'pivotTableConfig':_0x139691,'changesets':_0x307efb};}break;case _0x28ab98[_0x473b5c(0x1ee)]:{const _0x2b3d43=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x3f1)];if(!_0x2b3d43)return;const {pivotTableConfig:_0x59b732}=_0x2b3d43,_0x40b1cd=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x24de6c),_0x429453=this['_sheetsPivotDataSourceModel'][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x40b1cd||!_0x429453)return;_0x40b1cd[_0x473b5c(0x463)](),_0x319365(_0x40b1cd,_0x59b732);const _0x3dd10a=_0x40b1cd[_0x473b5c(0x317)](),_0x2a8374=_0x40b1cd[_0x473b5c(0x253)]()[_0x473b5c(0x1ef)](),_0x2de1bf=_0x40b1cd[_0x473b5c(0x1bd)]();_0xecd598[_0x473b5c(0x3f1)]={'view':_0x2a8374,'isEmpty':_0x3dd10a,'pivotTableConfig':{..._0x429453,'fieldsConfig':_0x40b1cd[_0x473b5c(0x1ef)]()},'changesets':_0x2de1bf};}break;case _0x28ab98[_0x473b5c(0x2fa)]:{const _0x13d7f2=_0x51f3fc['params'][_0x473b5c(0x332)];if(!_0x13d7f2)return;const _0x4d33b7=this[_0x473b5c(0x1bb)][_0x473b5c(0x270)](_0x24de6c),_0x460f06=this[_0x473b5c(0x1bb)][_0x473b5c(0x1d5)](_0x130c03,_0x370d32,_0x24de6c);if(!_0x4d33b7||!_0x460f06)return;_0x4d33b7['startCollectChangeset'](),_0x352b84(_0x4d33b7,_0x13d7f2[_0x473b5c(0x2b5)]);const _0x3173ed=_0x4d33b7['query']()[_0x473b5c(0x1ef)](),_0x3d0841=_0x4d33b7['endCollectChangeset']();_0xecd598[_0x473b5c(0x332)]={'view':_0x3173ed,'isEmpty':!0x0,'pivotTableConfig':{..._0x460f06,'fieldsConfig':_0x4d33b7['toJSON']()},'changesets':_0x3d0841};}break;case _0x28ab98['AddPivotTableWithConfig']:{const _0x2bd231=_0x51f3fc[_0x473b5c(0x2a7)][_0x473b5c(0x204)];if(!_0x2bd231)return;const _0x35b3ab=_0x2bd231['sourceRangeInfo'],_0x1c0cf8=_0x2bd231[_0x473b5c(0x378)],{collection:_0x20b808}=this[_0x473b5c(0x1bb)][_0x473b5c(0x471)]({'unitId':_0x35b3ab[_0x473b5c(0x194)],'sheetName':_0x35b3ab['sheetName'],'subUnitId':_0x35b3ab['subUnitId'],'range':_0x35b3ab['range']}),_0x502b8b=new _0x31fd0d[(_0x473b5c(0x284))](_0x20b808,void 0x0,_0x1c0cf8),_0x554126=_0x20b808['getFieldIds'](),{rows:_0x3ac77e,columns:_0x18e2b6,filters:_0x200b32,values:_0x3a694c}=_0x2bd231[_0x473b5c(0x39a)];_0x502b8b[_0x473b5c(0x463)]();for(const {field:_0x40f5b9,selectedItems:_0x5d0f02}of _0x3ac77e||[]){const _0x30e3ad=_0x554126[_0x40f5b9];if(_0x30e3ad){const _0x3032c1=_0x502b8b[_0x473b5c(0x323)](_0x30e3ad,_0x31fd0d[_0x473b5c(0x28c)]['Row']);_0x5d0f02&&_0x3032c1&&_0x502b8b[_0x473b5c(0x37b)](_0x3032c1[_0x473b5c(0x3ce)](),{'type':_0x31fd0d[_0x473b5c(0x428)][_0x473b5c(0x252)],'list':_0x5d0f02,'isAll':!0x1});}}for(const {field:_0x19adce,selectedItems:_0x2a8d23}of _0x18e2b6||[]){const _0x537b38=_0x554126[_0x19adce];if(_0x537b38){const _0x19208c=_0x502b8b[_0x473b5c(0x323)](_0x537b38,_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x3e0)]);_0x2a8d23&&_0x19208c&&_0x502b8b[_0x473b5c(0x37b)](_0x19208c['getId'](),{'type':_0x31fd0d[_0x473b5c(0x428)][_0x473b5c(0x252)],'list':_0x2a8d23,'isAll':!0x1});}}for(const {field:_0x43d0a9,selectedItems:_0x123555}of _0x200b32||[]){const _0x202237=_0x554126[_0x43d0a9];if(_0x202237){const _0x590dc8=_0x502b8b[_0x473b5c(0x323)](_0x202237,_0x31fd0d[_0x473b5c(0x28c)][_0x473b5c(0x33a)]);_0x123555&&_0x590dc8&&_0x502b8b[_0x473b5c(0x37b)](_0x590dc8[_0x473b5c(0x3ce)](),{'type':_0x31fd0d['PivotFilterTypeEnum']['ManualFilter'],'list':_0x123555,'isAll':!0x1});}}for(const {field:_0x5cdeb5,subTotalType:_0x53a6a3,formatString:_0x4256cc}of _0x3a694c||[]){const _0x5bc013=_0x20b808[_0x473b5c(0x45e)](_0x554126[_0x5cdeb5]);if(!_0x5bc013)continue;const _0x139c97=_0x554126[_0x5cdeb5];if(_0x139c97){const _0xc325f4=_0x502b8b[_0x473b5c(0x323)](_0x139c97,_0x31fd0d['PivotTableFiledAreaEnum'][_0x473b5c(0x2d2)]);if(_0xc325f4){if(_0x53a6a3!==void 0x0){_0x502b8b[_0x473b5c(0x29d)](_0xc325f4[_0x473b5c(0x3ce)](),_0x53a6a3);const _0x5729a1=this['_sheetsPivotDataSourceModel'][_0x473b5c(0x3d8)](_0x35b3ab[_0x473b5c(0x194)])[_0x473b5c(0x1f8)]()||_0x31fd0d[_0x473b5c(0x3b6)],_0x2c0570=_0x20b808['getDisplayName'](_0x139c97),_0x1ba4bf=_0x5729a1(_0x2c0570,_0x53a6a3);_0x502b8b[_0x473b5c(0x241)](_0xc325f4[_0x473b5c(0x3ce)](),_0x1ba4bf);}else{if(_0x5bc013){const _0x4c903c=_0x5bc013==null?void 0x0:_0x5bc013[_0x473b5c(0x37f)]();_0x502b8b[_0x473b5c(0x29d)](_0xc325f4[_0x473b5c(0x3ce)](),_0x4c903c===_0x31fd0d[_0x473b5c(0x40f)][_0x473b5c(0x1ba)]?_0x31fd0d[_0x473b5c(0x396)]['sum']:_0x31fd0d[_0x473b5c(0x396)][_0x473b5c(0x249)]);}}_0x4256cc&&_0x502b8b['setFieldFormat'](_0xc325f4[_0x473b5c(0x3ce)](),_0x4256cc);}}}const _0x473979=_0x502b8b[_0x473b5c(0x253)](),_0x3db2fa=_0x502b8b[_0x473b5c(0x1ef)](),_0x39e43e=_0x502b8b[_0x473b5c(0x317)](),_0x5a6d30=_0x502b8b[_0x473b5c(0x1bd)](),_0xe3d8e8=_0x20b808[_0x473b5c(0x1ef)]();_0xecd598[_0x473b5c(0x204)]={'view':_0x473979,'fieldsConfig':_0x3db2fa,'collectionConfig':_0xe3d8e8,'isEmpty':_0x39e43e,'changesets':_0x5a6d30};}break;case _0x28ab98[_0x473b5c(0x3eb)]:{const _0x68ac41=_0x4a1c2c(this[_0x473b5c(0x210)],_0x51f3fc);if(!_0x68ac41)return;const {range:_0x51ec6e,sourceSubUnitId:_0x5ce161,sourceUnitId:_0x145e7b,formatMap:_0x2a9a44,indexes:_0x3a7eb0}=_0x68ac41;_0xecd598[_0x473b5c(0x197)]={'range':_0x51ec6e,'sourceSubUnitId':_0x5ce161,'sourceUnitId':_0x145e7b,'formatMap':_0x2a9a44,'indexes':_0x3a7eb0};}break;}this[_0x473b5c(0x1f3)]['executeCommand'](_0xaa0e3['id'],{'version':_0x51f3fc['version'],'result':_0xecd598},{'onlyLocal':!0x0});}));}[_0x15ffdc(0x191)](){const _0x25fae3=_0x15ffdc;this[_0x25fae3(0x2c3)](this[_0x25fae3(0x1f3)][_0x25fae3(0x25a)](_0x1f68f8=>{const _0x2563d7=_0x25fae3;if(_0x1f68f8['id']!==_0x1fc3c8['id'])return;const _0x8b855=_0x1f68f8['params'];return this[_0x2563d7(0x1bb)][_0x2563d7(0x2c0)](_0x8b855[_0x2563d7(0x207)]),!0x0;}));}['_subjectCollectionChange'](){const _0x4a8346=_0x15ffdc;this[_0x4a8346(0x1bb)][_0x4a8346(0x297)][_0x4a8346(0x318)](_0x58e3f0=>{const _0x5b7ff7=_0x4a8346;switch(_0x58e3f0['type']){case _0x5cd348[_0x5b7ff7(0x34b)]:_0x58e3f0[_0x5b7ff7(0x2b6)]&&_0x58e3f0[_0x5b7ff7(0x2a8)]&&this[_0x5b7ff7(0x330)](_0x58e3f0[_0x5b7ff7(0x1a8)],_0x58e3f0[_0x5b7ff7(0x2b6)],_0x58e3f0['targetCellInfo']);break;case _0x5cd348[_0x5b7ff7(0x2f5)]:{const {unitId:_0x219625,subUnitId:_0x249dc9,token:_0x2ed926}=_0x58e3f0;_0x219625&&_0x249dc9&&_0x2ed926&&this[_0x5b7ff7(0x213)](_0x219625,_0x249dc9,_0x2ed926);}break;case _0x5cd348[_0x5b7ff7(0x479)]:{const {token:_0x5683b2,oldSourceRangeInfo:_0x1b81f6,dataRangeInfo:_0x59ce66,targetCellInfo:_0x4dc1b4}=_0x58e3f0,{unitId:_0x302171,subUnitId:_0x2d4426}=_0x1b81f6||{};_0x302171&&_0x2d4426&&_0x5683b2&&this[_0x5b7ff7(0x213)](_0x302171,_0x2d4426,_0x5683b2),_0x59ce66&&_0x4dc1b4&&this['handleSourceRangeChange'](_0x5683b2,_0x59ce66,_0x4dc1b4);}break;}});}[_0x15ffdc(0x1e4)](){const _0x1810e7=_0x15ffdc;this['_sheetsPivotDataSourceModel']['fieldsCollectionChange$'][_0x1810e7(0x318)](_0xf48480=>{const _0x418bc4=_0x1810e7;Object['keys'](_0xf48480)[_0x418bc4(0x3fd)](_0x1467cc=>{const _0x4c0647=_0x418bc4,_0x56430c=this[_0x4c0647(0x1bb)]['getTargetByPivotId'](_0x1467cc);if(_0x56430c){const _0x206e02=this[_0x4c0647(0x1bb)]['getPivotTableConfig'](_0x56430c==null?void 0x0:_0x56430c['unitId'],_0x56430c==null?void 0x0:_0x56430c[_0x4c0647(0x3f7)],_0x1467cc);_0x206e02&&(this[_0x4c0647(0x330)](_0x1467cc,_0x206e02[_0x4c0647(0x3b2)],_0x206e02[_0x4c0647(0x2a8)]),this['triggerDirtyFeature']([{'unitId':_0x56430c[_0x4c0647(0x194)],'subUnitId':_0x56430c['subUnitId'],'token':_0x1467cc}]));}});});}[_0x15ffdc(0x2af)](){const _0x1eb44a=_0x15ffdc;this['_sheetsPivotDataSourceModel'][_0x1eb44a(0x1a5)][_0x1eb44a(0x318)](_0x4333b8=>{const _0x2ff4d6=_0x1eb44a,{unitId:_0x550027,subUnitId:_0x5a8727,pivotTableId:_0x55b16c}=_0x4333b8;_0x550027&&_0x5a8727&&_0x55b16c&&this[_0x2ff4d6(0x2fb)]([{'unitId':_0x550027,'subUnitId':_0x5a8727,'token':_0x55b16c}]);});}[_0x15ffdc(0x2fb)](_0x223ae9){const _0x19bd53=_0x15ffdc,_0x2dc2a6={};_0x223ae9[_0x19bd53(0x3fd)](_0xb783ce=>{var _0x50d6ba,_0x37fb04;const {unitId:_0x78b4c9,subUnitId:_0x1d9c60,token:_0xe776bc}=_0xb783ce;_0x2dc2a6[_0x78b4c9]=(_0x50d6ba=_0x2dc2a6[_0x78b4c9])!=null?_0x50d6ba:{},_0x2dc2a6[_0x78b4c9][_0x1d9c60]=(_0x37fb04=_0x2dc2a6[_0x78b4c9][_0x1d9c60])!=null?_0x37fb04:{},_0x2dc2a6[_0x78b4c9][_0x1d9c60][_0xe776bc]=!0x0;}),this['_commandService'][_0x19bd53(0x41f)](_0x2d836f['id'],_0x2dc2a6);}['removeSourceRangeChange'](_0x437737,_0x472d61,_0x11dae8){const _0x266047=_0x15ffdc;this['_featureCalculationManagerService'][_0x266047(0x2eb)](_0x437737,_0x472d61,[_0x11dae8]);}[_0x15ffdc(0x330)](_0x39b8c5,_0x2fd503,_0xf10a3f){const _0x1247ba=_0x15ffdc,{unitId:_0x81eb3c,subUnitId:_0x527429}=_0x2fd503;this[_0x1247ba(0x24e)]['has'](_0xf10a3f[_0x1247ba(0x194)],_0xf10a3f['subUnitId'],_0x39b8c5)&&this['removeSourceRangeChange'](_0x81eb3c,_0x527429,_0x39b8c5);const _0x2008f1={'sheetId':_0x527429,..._0x2fd503};this[_0x1247ba(0x24e)][_0x1247ba(0x298)](_0xf10a3f[_0x1247ba(0x194)],_0xf10a3f[_0x1247ba(0x3f7)],_0x39b8c5,{'unitId':_0xf10a3f[_0x1247ba(0x194)],'subUnitId':_0xf10a3f[_0x1247ba(0x3f7)],'dependencyRanges':[_0x2008f1],'getDirtyData':(_0x14a8f6,_0x418834)=>{const _0x50e241=_0x1247ba,_0x41613d=this[_0x50e241(0x1bb)],_0x2aa823=_0x41613d[_0x50e241(0x3b9)](_0x39b8c5);if(!_0x2aa823)return _0xb81ae5();const {unitId:_0x20b70f,subUnitId:_0x289e0f}=_0x2aa823,_0x3b3c7c=_0x256212(_0x14a8f6,_0x418834,_0x2fd503);if(_0x3b3c7c['length']>0x0){const _0xe167ed=_0x41613d['getCollection'](_0x81eb3c,_0x39b8c5),_0x1251c2=_0xe167ed[_0x50e241(0x2d8)](),_0x5a545d=this[_0x50e241(0x1a0)](_0x2fd503[_0x50e241(0x194)],_0x2fd503[_0x50e241(0x3f7)],_0x418834),_0xce25b3={},_0x4de0de=this['_sheetsPivotDataSourceModel'][_0x50e241(0x3d8)](_0x20b70f)[_0x50e241(0x1f8)]()||_0x31fd0d[_0x50e241(0x3b6)],_0x260373=[];for(const _0x5668ef of _0x3b3c7c){const _0x7f5842=_0x5668ef-(_0x2fd503[_0x50e241(0x3ff)][_0x50e241(0x228)]||0x0),_0x1c44cd=_0x1251c2[_0x7f5842];_0x260373[_0x50e241(0x23e)](_0x1c44cd),_0xce25b3[_0x1c44cd]=_0xe167ed[_0x50e241(0x45e)](_0x1c44cd)[_0x50e241(0x2bb)](),_0x41613d[_0x50e241(0x3d8)](_0x81eb3c)[_0x50e241(0x489)](_0x1c44cd,_0x2fd503,_0x7f5842,_0x5a545d);}_0xe167ed[_0x50e241(0x3b0)](_0x260373)[_0x50e241(0x3fd)](_0x13eb83=>{const _0x5b1581=_0x50e241,[_0x3da091,_0x56e3a1]=_0x13eb83,_0x16df3d=_0xe167ed[_0x5b1581(0x45e)](_0x3da091),_0x1d6855=_0xe167ed[_0x5b1581(0x45e)](_0x56e3a1);_0x16df3d&&_0x1d6855&&_0x16df3d[_0x5b1581(0x218)](_0x1d6855);}),_0xe167ed[_0x50e241(0x2df)]();const _0x2bc5d8=_0x41613d[_0x50e241(0x270)](_0x39b8c5);if(_0x2bc5d8){_0x9da194(_0x2bc5d8,_0xce25b3,_0x4de0de),_0x2bc5d8['setDirty'](!0x0);const _0x5b793b=_0x2bc5d8[_0x50e241(0x253)](),_0x218ec2=_0x41613d[_0x50e241(0x1d5)](_0x20b70f,_0x289e0f,_0x39b8c5),_0x762b2=_0x41613d[_0x50e241(0x3d8)](_0x81eb3c)['toJSON']();_0x41613d[_0x50e241(0x431)](_0x20b70f,_0x289e0f,_0x4f3f1d[_0x50e241(0x1d4)],_0x39b8c5,_0x5b793b,_0x218ec2,_0x762b2,!0x0);}}return this[_0x50e241(0x229)](_0x20b70f,_0x289e0f,_0x39b8c5);}});}[_0x15ffdc(0x1a0)](_0x1f6f2c,_0x29ac10,_0x5ad2e1){var _0xc440dd,_0x51c7d5;const {arrayFormulaCellData:_0x15baaa,unitData:_0x1fcdb5}=_0x5ad2e1,_0x34bbe5=(_0xc440dd=_0x15baaa==null?void 0x0:_0x15baaa[_0x1f6f2c])==null?void 0x0:_0xc440dd[_0x29ac10],_0x43c4fa=(_0x51c7d5=_0x1fcdb5==null?void 0x0:_0x1fcdb5[_0x1f6f2c])==null?void 0x0:_0x51c7d5[_0x29ac10];return{'arrayFormulaCellDataMatrix':_0x34bbe5,'unitDataMatrix':_0x43c4fa};}['getDirtyInfo'](_0x6b43f8,_0x46c148,_0x1c092c){const _0x41cc52=_0x15ffdc,_0x348fd7=this[_0x41cc52(0x1bb)][_0x41cc52(0x451)](_0x6b43f8,_0x46c148,_0x1c092c),_0x9e50e6=[],_0x533358=new _0x578498['ObjectMatrix']();if(_0x348fd7){const {rangeCache:_0x2b8be1,matrix:_0x4152b8,oldRangeCache:_0xd8cc4c,oldMatrix:_0x5a4ecd}=_0x348fd7,_0x2b714a=_0x54f1ba(_0xd8cc4c),_0xbfc196=_0x54f1ba(_0x2b8be1);_0x9e50e6[_0x41cc52(0x23e)](..._0xbfc196,..._0x2b714a),_0x5a4ecd&&_0xd8cc4c&&_0x2b714a[_0x41cc52(0x3fd)](_0x311161=>{const _0x5addfc=_0x41cc52;for(let _0x4fb1d2=_0x311161[_0x5addfc(0x458)];_0x4fb1d2<=_0x311161[_0x5addfc(0x219)];_0x4fb1d2++)for(let _0x862793=_0x311161[_0x5addfc(0x228)];_0x862793<=_0x311161[_0x5addfc(0x333)];_0x862793++)_0x533358[_0x5addfc(0x3ca)](_0x4fb1d2,_0x862793);}),_0x4152b8&&_0xbfc196&&_0xbfc196[_0x41cc52(0x3fd)](_0x4d8e11=>{const _0x292842=_0x41cc52;for(let _0x4ff52f=_0x4d8e11[_0x292842(0x458)];_0x4ff52f<=_0x4d8e11[_0x292842(0x219)];_0x4ff52f++)for(let _0x241af0=_0x4d8e11['startColumn'];_0x241af0<=_0x4d8e11[_0x292842(0x333)];_0x241af0++)_0x533358['setValue'](_0x4ff52f,_0x241af0,_0x4152b8[_0x292842(0x1f5)](_0x4ff52f,_0x241af0));});}const _0x5e354b={};return _0x5e354b[_0x6b43f8]={[_0x46c148]:_0xc8b99e(_0x9e50e6)},{'runtimeCellData':{[_0x6b43f8]:{[_0x46c148]:_0x533358}},'dirtyRanges':_0x5e354b};}['dispose'](){}};_0x3b47b0=_0x118b2d([_0x5a1319(0x0,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41[_0x15ffdc(0x421)])),_0x5a1319(0x1,_0x578498[_0x15ffdc(0x2d1)](_0x2cbd7b['IFeatureCalculationManagerService'])),_0x5a1319(0x2,_0x578498['Inject'](_0x578498[_0x15ffdc(0x339)])),_0x5a1319(0x3,_0x578498[_0x15ffdc(0x2d1)](_0x2cbd7b['GlobalComputingStatusService'])),_0x5a1319(0x4,_0x578498[_0x15ffdc(0x2d1)](_0x578498['Injector']))],_0x3b47b0);var _0x1dedbf=Object[_0x15ffdc(0x35e)],_0x58f953=(_0x54ceb5,_0x4a09ec,_0x559dc9,_0x83f363)=>{for(var _0x42df69=_0x83f363>0x1?void 0x0:_0x83f363?_0x1dedbf(_0x4a09ec,_0x559dc9):_0x4a09ec,_0x4db79c=_0x54ceb5['length']-0x1,_0x5b1f0b;_0x4db79c>=0x0;_0x4db79c--)(_0x5b1f0b=_0x54ceb5[_0x4db79c])&&(_0x42df69=_0x5b1f0b(_0x42df69)||_0x42df69);return _0x42df69;},_0x595469=(_0x229b0e,_0x3d5e8f)=>(_0x346dec,_0x101658)=>_0x3d5e8f(_0x346dec,_0x101658,_0x229b0e);let _0x52fcd5=class extends _0x578498['Disposable']{constructor(_0x2bbe8d,_0x113179,_0x33efa6,_0x1edd59){const _0x2b223c=_0x15ffdc;super(),_0x2518e1(this,_0x2b223c(0x379),new _0x578498[(_0x2b223c(0x192))]()),(this[_0x2b223c(0x43a)]=_0x2bbe8d,this[_0x2b223c(0x277)]=_0x113179,this[_0x2b223c(0x2db)]=_0x33efa6,this[_0x2b223c(0x475)]=_0x1edd59,this['_initClearSelectionCommandInterceptor']());}[_0x15ffdc(0x47a)](){const _0x40a324=_0x15ffdc;this['disposeWithMe'](this[_0x40a324(0x277)]['interceptCommand']({'getMutations':_0xf118ee=>{const _0x49ec6f=_0x40a324;if(_0xf118ee['id']===_0x137997[_0x49ec6f(0x288)]['id']||_0xf118ee['id']===_0x137997[_0x49ec6f(0x250)]['id']){const _0x325b6e=[],_0x550f57=[],_0x15e6e6=this[_0x49ec6f(0x2db)][_0x49ec6f(0x190)]()[_0x49ec6f(0x2e3)](_0x3928ae=>_0x3928ae[_0x49ec6f(0x3ff)]),_0x34bdf6=_0x137997[_0x49ec6f(0x407)](this[_0x49ec6f(0x43a)]);if(!_0x34bdf6)return{'redos':[],'undos':[]};const {unitId:_0x392623,subUnitId:_0x416ece}=_0x34bdf6,_0x3a54db={},_0x390211=this['_sheetsPivotTableConfigModel'][_0x49ec6f(0x3f6)](_0x392623,_0x416ece);if(_0x390211!=null&&_0x390211[_0x49ec6f(0x296)])for(const [_0xd74f1b,_0x372823]of _0x390211){const {unitId:_0x334148,subUnitId:_0x4ffc1c,row:_0x2165d1,col:_0xec7d98}=_0x372823['targetCellInfo'];_0x334148===_0x34bdf6['unitId']&&_0x4ffc1c===_0x34bdf6[_0x49ec6f(0x3f7)]&&(_0x3a54db[_0x2165d1+'-'+_0xec7d98]=_0xd74f1b);}return _0x15e6e6&&_0x34bdf6&&_0x15e6e6[_0x49ec6f(0x3fd)](_0x133f1b=>{const _0x51f8dd=_0x49ec6f;_0x578498[_0x51f8dd(0x3de)][_0x51f8dd(0x1e7)](_0x133f1b,(_0x3706ef,_0x259575)=>{const _0x1d9cf0=_0x51f8dd,_0x376b5a=_0x3706ef+'-'+_0x259575;if(_0x3a54db[_0x376b5a]){const _0x55c989=_0x3a54db[_0x376b5a];_0x325b6e[_0x1d9cf0(0x23e)]({'id':_0x2a6ed5['id'],'params':{'unitId':_0x392623,'subUnitId':_0x416ece,'pivotTableId':_0x55c989}});const _0x47c15f=this['_sheetsPivotTableConfigModel'][_0x1d9cf0(0x39f)](_0x392623,_0x55c989),_0x14d0fc=this[_0x1d9cf0(0x475)][_0x1d9cf0(0x1d5)](_0x392623,_0x416ece,_0x55c989);_0x550f57[_0x1d9cf0(0x23e)]({'id':_0x10fb67['id'],'params':{'unitId':_0x392623,'subUnitId':_0x416ece,'pivotTableId':_0x55c989,'pivotTableConfig':_0x14d0fc,'collectionConfig':_0x47c15f}});}});}),{'redos':_0x325b6e,'undos':_0x550f57};}return{'redos':[],'undos':[]};}}));}};_0x52fcd5=_0x58f953([_0x595469(0x0,_0x578498[_0x15ffdc(0x214)]),_0x595469(0x1,_0x578498[_0x15ffdc(0x2d1)](_0x137997[_0x15ffdc(0x1d8)])),_0x595469(0x2,_0x578498['Inject'](_0x137997[_0x15ffdc(0x3e5)])),_0x595469(0x3,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41[_0x15ffdc(0x484)]))],_0x52fcd5);var _0x510faa=Object[_0x15ffdc(0x35e)],_0x2d06fa=(_0x57aa26,_0x288d10,_0x4bbdb0,_0x57d503)=>{const _0x1fa213=_0x15ffdc;for(var _0x5087fb=_0x57d503>0x1?void 0x0:_0x57d503?_0x510faa(_0x288d10,_0x4bbdb0):_0x288d10,_0x327a7b=_0x57aa26[_0x1fa213(0x366)]-0x1,_0x1b770a;_0x327a7b>=0x0;_0x327a7b--)(_0x1b770a=_0x57aa26[_0x327a7b])&&(_0x5087fb=_0x1b770a(_0x5087fb)||_0x5087fb);return _0x5087fb;},_0x5514ec=(_0xeafc9,_0x4d7cac)=>(_0x39cea6,_0x4f9c33)=>_0x4d7cac(_0x39cea6,_0x4f9c33,_0xeafc9);let _0x53e511=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0xb63fbd,_0x217a80,_0x1035ea,_0x4c1e77,_0x19868b){const _0x1efac7=_0x15ffdc;super(),this['_sheetInterceptorService']=_0xb63fbd,this['_injector']=_0x217a80,this['_univerInstanceService']=_0x1035ea,this[_0x1efac7(0x475)]=_0x4c1e77,this[_0x1efac7(0x483)]=_0x19868b,this['_initCommandInterceptListener']();}[_0x15ffdc(0x30f)](_0x17d992,_0x434526,_0x41c294){const _0xb45918=_0x15ffdc,{pageView:_0x38dbd4,cornerView:_0x57b4f9,rowView:_0x104916,colView:_0x19819d,dataView:_0x202791}=_0x434526,_0x4a4b6f=_0x17d992;let _0x2c71d2;if(_0x41c294)_0x2c71d2=[..._0x450109(_0x4a4b6f)];else{const _0xa4ff25=_0x1342b0(_0x4a4b6f,_0x38dbd4,!0x0),_0x35adc1=_0x38dbd4['lastRow']>=0x0?_0x38dbd4[_0xb45918(0x341)]+0x1:0x0,_0xbe58ab=_0x57b4f9[_0xb45918(0x462)],_0x377cf7=_0x57b4f9[_0xb45918(0x2b8)],_0x5dfa4d=_0xa4ff25[_0xb45918(0x366)]>0x0?_0x3d21a4:0x0,_0x108122=_0x1342b0({'row':_0x4a4b6f[_0xb45918(0x29a)]+_0x35adc1+_0x5dfa4d,'col':_0x4a4b6f['col']},_0x57b4f9,!0x1,!0x1),_0x219a4d=_0x1342b0({'row':_0x4a4b6f['row']+_0x35adc1+_0x5dfa4d+_0xbe58ab,'col':_0x4a4b6f[_0xb45918(0x37c)]},_0x104916,!0x1,!0x0),_0x3fb3fa=_0x1342b0({'row':_0x4a4b6f[_0xb45918(0x29a)]+_0x35adc1+_0x5dfa4d,'col':_0x4a4b6f[_0xb45918(0x37c)]+_0x377cf7},_0x19819d,!0x1,!0x0),_0x22ac3e=_0x1342b0({'row':_0x4a4b6f['row']+_0x35adc1+_0x5dfa4d+_0xbe58ab,'col':_0x4a4b6f[_0xb45918(0x37c)]+_0x377cf7},_0x202791,!0x1,!0x0);_0x2c71d2=[..._0xa4ff25,..._0x108122,..._0x219a4d,..._0x3fb3fa,..._0x22ac3e];}return _0x2c71d2;}['_initCommandInterceptListener'](){const _0xb6f840=_0x15ffdc;this[_0xb6f840(0x2c3)](this[_0xb6f840(0x483)][_0xb6f840(0x263)][_0xb6f840(0x2cf)](this[_0xb6f840(0x483)][_0xb6f840(0x263)][_0xb6f840(0x39e)]()[_0xb6f840(0x231)],{'handler':(_0x26891d,_0xe5c432)=>{const _0x3a1ac1=_0xb6f840,{cellInfo:_0x4b0993,view:_0x4e741d,isEmpty:_0x5d51d7}=_0xe5c432,_0x446e0f=_0x4b0993,{unitId:_0x1b6afc,subUnitId:_0x23fcda}=_0x446e0f,_0xe073c0=this['_getPivotAppliedRanges'](_0x4b0993,_0x4e741d,_0x5d51d7),_0x13d904=this[_0x3a1ac1(0x277)]['generateMutationsByRanges']({'unitId':_0x1b6afc,'subUnitId':_0x23fcda,'ranges':_0xe073c0}),_0x546a99=_0x3f2371(this[_0x3a1ac1(0x210)],_0x1b6afc,_0x23fcda,_0xe073c0);_0x546a99['shouldClear']&&(_0x13d904[_0x3a1ac1(0x3f4)][_0x3a1ac1(0x23e)](_0x546a99[_0x3a1ac1(0x1a1)]),_0x13d904['undos'][_0x3a1ac1(0x23e)](_0x546a99[_0x3a1ac1(0x23b)]));const _0x46c10d=this[_0x3a1ac1(0x1e1)](_0x4e741d,_0x4b0993);return _0x13d904[_0x3a1ac1(0x3f4)][_0x3a1ac1(0x23e)](..._0x46c10d['redos']),_0x13d904[_0x3a1ac1(0x286)][_0x3a1ac1(0x23e)](..._0x46c10d[_0x3a1ac1(0x286)]),{'redos':_0x13d904[_0x3a1ac1(0x3f4)],'undos':_0x13d904[_0x3a1ac1(0x286)]};}}));}['getAutoFitColumnsMutations'](_0x414d0a,_0x506c74){const _0x4e4aaf=_0x15ffdc,{col:_0x4ea578,unitId:_0x2c6406,subUnitId:_0x16cd56}=_0x506c74,_0x3d4d7d=[],_0x4125bc=[],_0x17e187=_0x137997['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x2c6406,'subUnitId':_0x16cd56});if(!_0x506c74||!_0x414d0a||!_0x17e187)return{'undos':_0x4125bc,'redos':_0x3d4d7d};const _0x365661=this[_0x4e4aaf(0x475)]['getTextInfo'](),{colView:_0x3fbe5e,dataView:_0x29a461,cornerView:_0x2b9c9c,rowView:_0x269433,formatMap:_0x3ec7d7}=_0x414d0a,_0x46ed55=_0x1936ca(_0x3fbe5e,_0x365661,!0x0,_0x3ec7d7),_0x4c58aa=_0x1936ca(_0x269433,_0x365661,!0x1,_0x3ec7d7),_0x181cf2=_0x28e584(_0x29a461),_0x3e287b=_0x49868f(_0x2b9c9c),{worksheet:_0x1e3bd9}=_0x17e187;if(typeof window<'u'&&window[_0x4e4aaf(0x2ce)]){const _0x268de7=_0x5cf515['getFontStyleString']({..._0x315c8b[_0x4e4aaf(0x306)]}),_0x21661f=_0x5cf515[_0x4e4aaf(0x2be)]['getTextSize'](_0x46ed55,_0x268de7)[_0x4e4aaf(0x372)]+0x10,_0x5d28d1=_0x5cf515[_0x4e4aaf(0x2be)][_0x4e4aaf(0x32d)](_0x181cf2,_0x268de7)[_0x4e4aaf(0x372)],_0x4a7257=Math['floor'](Math[_0x4e4aaf(0x442)](_0x21661f,_0x5d28d1))+0x10,_0x73a77b=Math['floor'](_0x5cf515[_0x4e4aaf(0x2be)]['getTextSize'](_0x4c58aa,_0x268de7)[_0x4e4aaf(0x372)]),_0x1b8ce8=Math[_0x4e4aaf(0x347)](_0x5cf515['FontCache'][_0x4e4aaf(0x32d)](_0x3e287b,_0x268de7)[_0x4e4aaf(0x372)]),_0x411313=Math[_0x4e4aaf(0x442)](_0x73a77b,_0x1b8ce8,0x28)+0xc,_0x3c8ac3=_0x3fbe5e[_0x4e4aaf(0x2b8)]+_0x2b9c9c['colCount'],_0x36d80f={},_0x170d2f={};for(let _0x2d3fc6=_0x4ea578;_0x2d3fc6<_0x4ea578+_0x3c8ac3;_0x2d3fc6++){const _0x39719a=_0x1e3bd9[_0x4e4aaf(0x322)](_0x2d3fc6);_0x36d80f[_0x2d3fc6]=_0x39719a,_0x2d3fc6-_0x4ea578<_0x2b9c9c[_0x4e4aaf(0x2b8)]?_0x170d2f[_0x2d3fc6-_0x4ea578]=_0x411313:_0x170d2f[_0x2d3fc6-_0x4ea578]=_0x4a7257;}_0x3d4d7d['push']({'id':_0x137997[_0x4e4aaf(0x45b)]['id'],'params':{'subUnitId':_0x16cd56,'unitId':_0x2c6406,'ranges':[{'startColumn':_0x4ea578,'endColumn':_0x4ea578+_0x3c8ac3-0x1,'startRow':0x0,'endRow':_0x1e3bd9[_0x4e4aaf(0x26c)]()-0x1}],'colWidth':_0x170d2f}}),_0x4125bc[_0x4e4aaf(0x23e)]({'id':_0x137997[_0x4e4aaf(0x45b)]['id'],'params':{'subUnitId':_0x16cd56,'unitId':_0x2c6406,'ranges':[{'startColumn':_0x4ea578,'endColumn':_0x4ea578+_0x3c8ac3-0x1,'startRow':0x0,'endRow':_0x1e3bd9[_0x4e4aaf(0x26c)]()-0x1}],'colWidth':_0x36d80f}});}return{'undos':_0x4125bc,'redos':_0x3d4d7d};}};_0x53e511=_0x2d06fa([_0x5514ec(0x0,_0x578498[_0x15ffdc(0x2d1)](_0x137997[_0x15ffdc(0x1d8)])),_0x5514ec(0x1,_0x578498['Inject'](_0x578498[_0x15ffdc(0x3da)])),_0x5514ec(0x2,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x214)])),_0x5514ec(0x3,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41[_0x15ffdc(0x484)])),_0x5514ec(0x4,_0x578498['Inject'](_0xc8ae41[_0x15ffdc(0x2bd)]))],_0x53e511);var _0xdf7e5b=Object[_0x15ffdc(0x35e)],_0x144189=(_0x1b7fa6,_0x114b99,_0x18b1bf,_0xffb1fe)=>{const _0x42207c=_0x15ffdc;for(var _0x1b704b=_0xffb1fe>0x1?void 0x0:_0xffb1fe?_0xdf7e5b(_0x114b99,_0x18b1bf):_0x114b99,_0x362fe5=_0x1b7fa6[_0x42207c(0x366)]-0x1,_0x25a9f7;_0x362fe5>=0x0;_0x362fe5--)(_0x25a9f7=_0x1b7fa6[_0x362fe5])&&(_0x1b704b=_0x25a9f7(_0x1b704b)||_0x1b704b);return _0x1b704b;},_0x4e9032=(_0x558394,_0xac292b)=>(_0x1954dc,_0x210042)=>_0xac292b(_0x1954dc,_0x210042,_0x558394);let _0x40b26a=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x37df99,_0x3a3cd4,_0x10e1e0,_0x2d661e,_0x2b0e1b,_0x56ca6d,_0x3ffdbd){const _0x5b6e4d=_0x15ffdc;super(),_0x2518e1(this,'disposableCollection',new _0x578498[(_0x5b6e4d(0x192))]()),(this[_0x5b6e4d(0x210)]=_0x37df99,this[_0x5b6e4d(0x208)]=_0x3a3cd4,this[_0x5b6e4d(0x1f3)]=_0x10e1e0,this[_0x5b6e4d(0x43a)]=_0x2d661e,this['_sheetsPivotTableConfigModel']=_0x2b0e1b,this[_0x5b6e4d(0x1c1)]=_0x56ca6d,this[_0x5b6e4d(0x277)]=_0x3ffdbd,this[_0x5b6e4d(0x34e)]());}[_0x15ffdc(0x34e)](){const _0xa9b405=_0x15ffdc,_0x375b1a=(_0x2024fa,_0x1cbc00)=>{const _0x2feaf0=_0x5250,_0x4c188e=this['_univerInstanceService']['getCurrentUnitForType'](_0x578498[_0x2feaf0(0x1f6)][_0x2feaf0(0x185)]);if(!_0x4c188e||!(_0x4c188e==null?void 0x0:_0x4c188e['getSheetBySheetId'](_0x1cbc00)))return;this['disposableCollection'][_0x2feaf0(0x413)]();const _0x3171e1=_0x2660f6=>this[_0x2feaf0(0x447)](_0x2660f6,_0x2024fa,_0x1cbc00),_0xbeabd8=this[_0x2feaf0(0x475)][_0x2feaf0(0x3f6)](_0x2024fa,_0x1cbc00);if(!(_0xbeabd8!=null&&_0xbeabd8[_0x2feaf0(0x296)]))return;Array[_0x2feaf0(0x2c8)](_0xbeabd8[_0x2feaf0(0x3cb)]())[_0x2feaf0(0x2e3)](_0xca414=>{const _0x100acd=_0x2feaf0,{row:_0xa3a909,col:_0x28ed86}=_0xca414[_0x100acd(0x2a8)];return _0x578498[_0x100acd(0x415)](_0xa3a909,_0x28ed86);})[_0x2feaf0(0x3fd)](_0x31de4a=>{const _0x82405d=_0x2feaf0;this['disposableCollection']['add'](this['_refRangeService'][_0x82405d(0x46d)](_0x31de4a,_0x3171e1,_0x2024fa,_0x1cbc00));});},_0x200ef0=()=>{const _0x52dde2=_0x5250,_0x2fc1b2=this['_univerInstanceService'][_0x52dde2(0x321)](_0x578498['UniverInstanceType']['UNIVER_SHEET']);if(_0x2fc1b2){const _0x43562e=_0x2fc1b2[_0x52dde2(0x3ae)]();if(!_0x43562e)return;_0x375b1a(_0x2fc1b2['getUnitId'](),_0x43562e['getSheetId']());}};this[_0xa9b405(0x2c3)](this[_0xa9b405(0x1f3)][_0xa9b405(0x25a)](_0x4d0479=>{const _0x8389c2=_0xa9b405;if(_0x4d0479['id']===_0x137997[_0x8389c2(0x222)]['id']){const _0x28380f=_0x4d0479[_0x8389c2(0x2a7)],_0x15600a=_0x28380f[_0x8389c2(0x3f7)],_0x29e007=_0x28380f[_0x8389c2(0x194)];if(!_0x15600a||!_0x29e007)return;_0x375b1a(_0x29e007,_0x15600a);}})),this[_0xa9b405(0x2c3)](this[_0xa9b405(0x475)][_0xa9b405(0x27f)][_0xa9b405(0x318)](_0x425b5c=>{_0x425b5c&&_0x200ef0();})),this[_0xa9b405(0x2c3)](this[_0xa9b405(0x475)][_0xa9b405(0x265)]['subscribe'](_0x299350=>{const _0x567984=_0xa9b405,_0x3d52cd=_0x137997[_0x567984(0x407)](this[_0x567984(0x43a)]);if(!_0x3d52cd)return;const {unitId:_0x38408f,subUnitId:_0x34350a}=_0x3d52cd,{unitId:_0x3c3b2e,subUnitId:_0x46d830}=_0x299350;_0x38408f!==_0x3c3b2e||_0x34350a!==_0x46d830||_0x375b1a(_0x38408f,_0x34350a);})),_0x200ef0();}[_0x15ffdc(0x447)](_0x21f9ef,_0x3f244e,_0x5efadc){switch(_0x21f9ef['id']){case _0x137997['MoveRangeCommand']['id']:return this['getRefRangeMutationsByMoveRange'](_0x21f9ef['params'],_0x3f244e,_0x5efadc);}return{'redos':[],'undos':[]};}[_0x15ffdc(0x41d)](_0xb90d62,_0x4e9d90,_0x887a65){const _0x118a75=_0x15ffdc,{fromRange:_0x38f423,toRange:_0x30d2ca}=_0xb90d62,_0x3807ad=[],_0x2cd27b=[],_0x3fd385=_0x137997[_0x118a75(0x407)](this[_0x118a75(0x43a)]);if(!_0x3fd385)return{'undos':_0x2cd27b,'redos':_0x3807ad};if(_0x4e9d90!==_0x3fd385['unitId']||_0x887a65!==_0x3fd385[_0x118a75(0x3f7)])return{'undos':_0x2cd27b,'redos':_0x3807ad};const _0x54dd1a=this['_sheetsPivotTableConfigModel'][_0x118a75(0x3f6)](_0x4e9d90,_0x887a65);if(_0x54dd1a!=null&&_0x54dd1a[_0x118a75(0x296)])for(const [_0x3f6d26,_0x282a4a]of _0x54dd1a){const {unitId:_0x3c9bf3,subUnitId:_0x58e644,row:_0x470ff9,col:_0x4635a4}=_0x282a4a[_0x118a75(0x2a8)];if(_0x3c9bf3===_0x3fd385[_0x118a75(0x194)]&&_0x58e644===_0x3fd385[_0x118a75(0x3f7)]){const _0x220a12=_0x578498[_0x118a75(0x415)](_0x470ff9,_0x4635a4);if(_0x578498[_0x118a75(0x1e5)][_0x118a75(0x3bc)](_0x220a12,_0x38f423)){const _0x570833=_0x470ff9-_0x38f423[_0x118a75(0x458)],_0x2cfe5b=_0x4635a4-_0x38f423[_0x118a75(0x228)],_0x5c99a1={'row':_0x30d2ca['startRow']+_0x570833,'col':_0x30d2ca[_0x118a75(0x228)]+_0x2cfe5b};_0x3807ad[_0x118a75(0x23e)]({'id':_0xce5034['id'],'params':{'unitId':_0x3c9bf3,'subUnitId':_0x58e644,'pivotTableId':_0x3f6d26,'targetCellPosition':_0x5c99a1}}),_0x2cd27b[_0x118a75(0x23e)]({'id':_0xce5034['id'],'params':{'unitId':_0x3c9bf3,'subUnitId':_0x58e644,'pivotTableId':_0x3f6d26,'targetCellPosition':{'row':_0x470ff9,'col':_0x4635a4}}});const _0x530fb6=_0x5c99a1[_0x118a75(0x29a)]-_0x470ff9,_0x2f3c24=_0x5c99a1[_0x118a75(0x37c)]-_0x4635a4,_0x2ece9b=[],_0x46c95f=this[_0x118a75(0x1c1)][_0x118a75(0x29c)](_0x3c9bf3,_0x58e644,_0x3f6d26),_0x427f86=_0x46c95f==null?void 0x0:_0x46c95f[_0x118a75(0x474)];if(_0x427f86){Object[_0x118a75(0x34f)](_0x427f86)['forEach'](_0x24aed4=>{const _0x3c636c=_0x118a75;_0x427f86[_0x24aed4][_0x3c636c(0x3fd)](_0x36b474=>{const _0x3a613a=_0x3c636c,_0x164bf9={..._0x36b474};_0x164bf9[_0x3a613a(0x458)]=_0x36b474[_0x3a613a(0x458)]+_0x530fb6,_0x164bf9[_0x3a613a(0x219)]=_0x36b474['endRow']+_0x530fb6,_0x164bf9[_0x3a613a(0x228)]=_0x36b474[_0x3a613a(0x228)]+_0x2f3c24,_0x164bf9[_0x3a613a(0x333)]=_0x36b474[_0x3a613a(0x333)]+_0x2f3c24,_0x2ece9b[_0x3a613a(0x23e)](_0x164bf9);});});const _0x1fdbe4=this['_sheetInterceptorService'][_0x118a75(0x3fb)]({'unitId':_0x3c9bf3,'subUnitId':_0x58e644,'ranges':_0x2ece9b});_0x3807ad[_0x118a75(0x23e)](..._0x1fdbe4[_0x118a75(0x3f4)]),_0x2cd27b[_0x118a75(0x23e)](..._0x1fdbe4[_0x118a75(0x286)]);const _0x109639=_0x3f2371(this[_0x118a75(0x210)],_0x3c9bf3,_0x58e644,_0x2ece9b);_0x109639[_0x118a75(0x1de)]&&(_0x3807ad[_0x118a75(0x23e)](_0x109639[_0x118a75(0x1a1)]),_0x2cd27b['push'](_0x109639[_0x118a75(0x23b)]));}}}}return{'redos':_0x3807ad,'undos':_0x2cd27b};}};_0x40b26a=_0x144189([_0x4e9032(0x0,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x3da)])),_0x4e9032(0x1,_0x578498['Inject'](_0x137997['RefRangeService'])),_0x4e9032(0x2,_0x578498['ICommandService']),_0x4e9032(0x3,_0x578498[_0x15ffdc(0x214)]),_0x4e9032(0x4,_0x578498['Inject'](_0xc8ae41[_0x15ffdc(0x484)])),_0x4e9032(0x5,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41[_0x15ffdc(0x2ef)])),_0x4e9032(0x6,_0x578498[_0x15ffdc(0x2d1)](_0x137997[_0x15ffdc(0x1d8)]))],_0x40b26a);var _0x4415fe=Object['getOwnPropertyDescriptor'],_0xd2db37=(_0x58b73b,_0x168ddd,_0x444201,_0x33ecd0)=>{const _0x4a37a8=_0x15ffdc;for(var _0x180c2c=_0x33ecd0>0x1?void 0x0:_0x33ecd0?_0x4415fe(_0x168ddd,_0x444201):_0x168ddd,_0x4f7c4d=_0x58b73b[_0x4a37a8(0x366)]-0x1,_0x981d1e;_0x4f7c4d>=0x0;_0x4f7c4d--)(_0x981d1e=_0x58b73b[_0x4f7c4d])&&(_0x180c2c=_0x981d1e(_0x180c2c)||_0x180c2c);return _0x180c2c;},_0x377096=(_0x113b75,_0x372e88)=>(_0x531a8b,_0x583266)=>_0x372e88(_0x531a8b,_0x583266,_0x113b75);let _0x5510c5=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x2c3ee9,_0x4d2acf){const _0x51b045=_0x15ffdc;super(),this[_0x51b045(0x277)]=_0x2c3ee9,this[_0x51b045(0x475)]=_0x4d2acf,this[_0x51b045(0x27d)]();}[_0x15ffdc(0x27d)](){const _0x205736=_0x15ffdc;this[_0x205736(0x2c3)](this[_0x205736(0x277)][_0x205736(0x19a)]({'getMutations':_0x26a6b4=>{const _0x176f6f=_0x205736;if(_0x26a6b4['id']===_0x137997[_0x176f6f(0x36a)]['id']){const _0x41317c=[],_0x6599e=[],_0x1ab56d=_0x26a6b4[_0x176f6f(0x2a7)],{unitId:_0x2074ce,subUnitId:_0xf9d44a}=_0x1ab56d;if(!_0x2074ce||!_0xf9d44a)return{'undos':_0x6599e,'redos':_0x41317c};const _0x79db67=this[_0x176f6f(0x475)][_0x176f6f(0x3f6)](_0x2074ce,_0xf9d44a);if(_0x79db67!=null&&_0x79db67[_0x176f6f(0x296)])for(const [_0x2104ea,_0x5e415c]of _0x79db67){_0x41317c['push']({'id':_0x2a6ed5['id'],'params':{'unitId':_0x2074ce,'subUnitId':_0xf9d44a,'pivotTableId':_0x2104ea}});const _0x2024c9={...this[_0x176f6f(0x475)][_0x176f6f(0x39f)](_0x2074ce,_0x2104ea)};_0x6599e['push']({'id':_0x10fb67['id'],'params':{'unitId':_0x2074ce,'subUnitId':_0xf9d44a,'pivotTableId':_0x2104ea,'pivotTableConfig':_0x5e415c,'collectionConfig':_0x2024c9}});}return{'redos':_0x41317c,'undos':_0x6599e};}return{'redos':[],'undos':[]};}}));}};_0x5510c5=_0xd2db37([_0x377096(0x0,_0x578498[_0x15ffdc(0x2d1)](_0x137997[_0x15ffdc(0x1d8)])),_0x377096(0x1,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41['SheetsPivotTableConfigModel']))],_0x5510c5);var _0x240c70=Object[_0x15ffdc(0x35e)],_0xb5752=(_0x199917,_0xb8a528,_0x48d16d,_0x559707)=>{for(var _0x443501=_0x559707>0x1?void 0x0:_0x559707?_0x240c70(_0xb8a528,_0x48d16d):_0xb8a528,_0x4e749c=_0x199917['length']-0x1,_0x1a2501;_0x4e749c>=0x0;_0x4e749c--)(_0x1a2501=_0x199917[_0x4e749c])&&(_0x443501=_0x1a2501(_0x443501)||_0x443501);return _0x443501;},_0x2b16ef=(_0x4c27ed,_0x2b4bc9)=>(_0x463e2f,_0x17f1a9)=>_0x2b4bc9(_0x463e2f,_0x17f1a9,_0x4c27ed);let _0x524213=class extends _0x578498[_0x15ffdc(0x1f0)]{constructor(_0x23dd74,_0x2f1af6,_0x20288a,_0x2382ea,_0x144178,_0x647499){const _0x458d32=_0x15ffdc;super(),this['_commandService']=_0x23dd74,this[_0x458d32(0x1a7)]=_0x2f1af6,this[_0x458d32(0x1c1)]=_0x20288a,this[_0x458d32(0x475)]=_0x2382ea,this[_0x458d32(0x43a)]=_0x144178,this[_0x458d32(0x2b7)]=_0x647499,this[_0x458d32(0x3cd)](),this['registerDirtyService']();}[_0x15ffdc(0x3cd)](){const _0x38a6bf=_0x15ffdc;this[_0x38a6bf(0x2c3)](this[_0x38a6bf(0x1f3)][_0x38a6bf(0x25a)](_0x37530b=>{const _0x2fb3c6=_0x38a6bf;if(_0x37530b['id']!==_0xaa0e3['id'])return;const _0x443e21=_0x37530b['params'];this[_0x2fb3c6(0x1a7)][_0x2fb3c6(0x390)](_0x443e21);})),this[_0x38a6bf(0x2c3)](this[_0x38a6bf(0x1f3)][_0x38a6bf(0x25a)](_0x134e68=>{const _0x1b0561=_0x38a6bf;if(_0x134e68['id']===_0x1f7500['id']){const _0x19f987=_0x134e68['params'];if(_0x19f987){const {unitId:_0x250f20,subUnitId:_0x5919c1,oldSubUnitId:_0xf62f88,pivotTableId:_0x3dbb6d,pivotTableConfig:_0xe8d0a2,collectionConfig:_0x3e3c49}=_0x19f987;this[_0x1b0561(0x475)]['updateConfigCache'](_0x250f20,_0xf62f88,_0x19f987['pivotTableId'],null),this['_sheetsPivotTableConfigModel'][_0x1b0561(0x25b)](_0x250f20,_0x5919c1,_0x3dbb6d,_0xe8d0a2),this[_0x1b0561(0x475)]['updateCollectionConfig'](_0x250f20,_0x3e3c49);}}})),this['disposeWithMe'](this[_0x38a6bf(0x1f3)][_0x38a6bf(0x25a)](_0x551c29=>{const _0x5c3ff7=_0x38a6bf;if(_0x551c29['id']!==_0x2bf189['id'])return;const _0x5142dc=_0x137997['getSheetCommandTarget'](this[_0x5c3ff7(0x43a)]);if(!_0x5142dc)return;const {unitId:_0x466234,subUnitId:_0x25815f}=_0x5142dc,_0xcd986=_0x551c29[_0x5c3ff7(0x2a7)];if(_0xcd986['collectionConfig']&&Object[_0x5c3ff7(0x34f)](_0xcd986[_0x5c3ff7(0x1fd)])[_0x5c3ff7(0x3fd)](_0x5719fc=>{const _0x266ee1=_0x5c3ff7;var _0x29ada8;(_0x29ada8=_0xcd986[_0x266ee1(0x1fd)])!=null&&_0x29ada8[_0x5719fc]&&this[_0x266ee1(0x475)][_0x266ee1(0x38a)](_0x5719fc,_0xcd986[_0x266ee1(0x1fd)][_0x5719fc]);}),_0xcd986['single']){const _0x3a69a9=_0xcd986[_0x5c3ff7(0x3aa)],{unitId:_0x32bc19,subUnitId:_0x5eb8f5,view:_0x43cf73,pivotTableId:_0x280a0a,type:_0x46c4c5,pivotConfig:_0x548afd}=_0x3a69a9;if(_0x46c4c5===_0x4f3f1d[_0x5c3ff7(0x1a9)])this[_0x5c3ff7(0x1c1)][_0x5c3ff7(0x301)]({'unitId':_0x32bc19,'subUnitId':_0x5eb8f5,'pivotTableId':_0x280a0a,'type':_0x46c4c5}),this[_0x5c3ff7(0x475)][_0x5c3ff7(0x25b)](_0x32bc19,_0x5eb8f5,_0x280a0a,null);else{const _0x3af44b=new _0x31fd0d['PivotView']();_0x3af44b[_0x5c3ff7(0x31f)](_0x43cf73),this[_0x5c3ff7(0x475)][_0x5c3ff7(0x25b)](_0x32bc19,_0x5eb8f5,_0x280a0a,_0x548afd),this[_0x5c3ff7(0x1c1)][_0x5c3ff7(0x301)]({'unitId':_0x32bc19,'subUnitId':_0x5eb8f5,'pivotTableId':_0x280a0a,'type':_0x46c4c5,'view':_0x3af44b}),this[_0x5c3ff7(0x1c1)][_0x5c3ff7(0x361)]({'unitId':_0x32bc19,'subUnitId':_0x5eb8f5,'view':_0x3af44b,'pivotTableId':_0x280a0a,'type':_0x46c4c5});}}else _0xcd986[_0x5c3ff7(0x43c)]&&(_0xcd986[_0x5c3ff7(0x43c)]['forEach'](_0x28edb6=>{const _0x4e1b7=_0x5c3ff7,{unitId:_0x12fa58,subUnitId:_0x42a30f,view:_0x539f56,pivotTableId:_0x5f295c,type:_0x5c5a06,pivotConfig:_0x30a0e3}=_0x28edb6,_0xd80fa2=new _0x31fd0d['PivotView']();_0xd80fa2[_0x4e1b7(0x31f)](_0x539f56),this[_0x4e1b7(0x475)]['updateConfigCache'](_0x12fa58,_0x42a30f,_0x5f295c,_0x30a0e3),this[_0x4e1b7(0x1c1)][_0x4e1b7(0x361)]({'unitId':_0x12fa58,'subUnitId':_0x42a30f,'view':_0xd80fa2,'pivotTableId':_0x5f295c,'type':_0x5c5a06});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x5c3ff7(0x1c1)][_0x5c3ff7(0x39d)](_0x466234,_0x25815f);}));}[_0x15ffdc(0x267)](){const _0x70b556=_0x15ffdc;this['_activeDirtyManagerService'][_0x70b556(0x298)](_0x2d836f['id'],{'commandId':_0x2d836f['id'],'getDirtyData'(_0x2d3b4d){const _0x553976=_0x70b556;return{'dirtyUnitFeatureMap':_0x2d3b4d[_0x553976(0x2a7)]};}});}};_0x524213=_0xb5752([_0x2b16ef(0x0,_0x578498['Inject'](_0x578498[_0x15ffdc(0x339)])),_0x2b16ef(0x1,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41['SheetsPivotRPCService'])),_0x2b16ef(0x2,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41[_0x15ffdc(0x2ef)])),_0x2b16ef(0x3,_0x578498[_0x15ffdc(0x2d1)](_0xc8ae41['SheetsPivotTableConfigModel'])),_0x2b16ef(0x4,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x214)])),_0x2b16ef(0x5,_0x2cbd7b[_0x15ffdc(0x433)])],_0x524213);var _0x263c7c=Object[_0x15ffdc(0x230)],_0x4cc50b=Object[_0x15ffdc(0x35e)],_0x10c6fe=(_0x34a916,_0x236e6e,_0x2ee4c3)=>_0x236e6e in _0x34a916?_0x263c7c(_0x34a916,_0x236e6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ee4c3}):_0x34a916[_0x236e6e]=_0x2ee4c3,_0x59cd57=(_0x23c5f3,_0x97a5f9,_0x182fcd,_0x38f3fc)=>{const _0x4e8956=_0x15ffdc;for(var _0x41ee4c=_0x38f3fc>0x1?void 0x0:_0x38f3fc?_0x4cc50b(_0x97a5f9,_0x182fcd):_0x97a5f9,_0x19d7a9=_0x23c5f3[_0x4e8956(0x366)]-0x1,_0x1e5d0d;_0x19d7a9>=0x0;_0x19d7a9--)(_0x1e5d0d=_0x23c5f3[_0x19d7a9])&&(_0x41ee4c=_0x1e5d0d(_0x41ee4c)||_0x41ee4c);return _0x41ee4c;},_0x44e0c0=(_0x1ac865,_0x1dc8d2)=>(_0x5b7ef6,_0x22a799)=>_0x1dc8d2(_0x5b7ef6,_0x22a799,_0x1ac865),_0x27de3a=(_0x535f27,_0x24946d,_0x1cabad)=>_0x10c6fe(_0x535f27,typeof _0x24946d!=_0x15ffdc(0x235)?_0x24946d+'':_0x24946d,_0x1cabad);_0xc8ae41[_0x15ffdc(0x22d)]=class extends _0x578498[_0x15ffdc(0x1c4)]{constructor(_0x62163=_0x31a738,_0x403d12,_0x571564,_0x4699e9,_0x3f0c4f){const _0x397459=_0x15ffdc;super(),this['_config']=_0x62163,this['_injector']=_0x403d12,this[_0x397459(0x1f3)]=_0x571564,this[_0x397459(0x1e6)]=_0x4699e9,this['_dataSyncPrimaryController']=_0x3f0c4f;const {..._0x541040}=_0x578498[_0x397459(0x1cb)]({},_0x31a738,this[_0x397459(0x352)]);this[_0x397459(0x1e6)][_0x397459(0x224)](_0x11e75f,_0x541040),this[_0x397459(0x19b)](),this['_initConfig']();}[_0x15ffdc(0x381)](){const _0x13e962=_0x15ffdc;var _0x4e3b71;const _0x223b25=(_0x4e3b71=this[_0x13e962(0x352)])==null?void 0x0:_0x4e3b71[_0x13e962(0x280)];this[_0x13e962(0x1e6)][_0x13e962(0x224)](_0x98d9f3,_0x223b25===!0x0);}['onStarting'](){const _0x4367a3=_0x15ffdc;var _0x53fa6c;let _0x3fedba=[];const _0xa663f2=(_0x53fa6c=this[_0x4367a3(0x352)])==null?void 0x0:_0x53fa6c[_0x4367a3(0x280)];_0xa663f2===!0x0?_0x3fedba=[[_0xc8ae41[_0x4367a3(0x2bd)]],[_0xc8ae41['SheetsPivotRPCService']],[_0x524213],[_0xc8ae41[_0x4367a3(0x2ef)]],[_0xc8ae41[_0x4367a3(0x484)]],[_0x5510c5],[_0x52fcd5],[_0x40b26a],[_0x53e511]]:_0xa663f2===!0x1?_0x3fedba=[[_0xc8ae41[_0x4367a3(0x421)]],[_0x3b47b0]]:_0xa663f2===void 0x0&&(_0x3fedba=[[_0xc8ae41[_0x4367a3(0x421)]],[_0x3b47b0],[_0xc8ae41['SheetsPivotTableService']],[_0xc8ae41[_0x4367a3(0x3d7)]],[_0x524213],[_0xc8ae41[_0x4367a3(0x2ef)]],[_0xc8ae41[_0x4367a3(0x484)]],[_0x5510c5],[_0x52fcd5],[_0x40b26a],[_0x53e511]]),_0x3fedba[_0x4367a3(0x3fd)](_0x10b897=>this['_injector']['add'](_0x10b897)),[_0x3b47b0,_0x524213,_0xc8ae41[_0x4367a3(0x2bd)],_0x52fcd5,_0x5510c5,_0x40b26a,_0x53e511][_0x4367a3(0x3fd)](_0x2bd40b=>{const _0x3765d1=_0x4367a3;this[_0x3765d1(0x210)][_0x3765d1(0x392)](_0x2bd40b)&&this[_0x3765d1(0x210)][_0x3765d1(0x1b6)](_0x2bd40b);});}['_initRegisterCommand'](){const _0x3b188b=_0x15ffdc;[_0x183089,_0x432d57,_0x579dff,_0x15da44,_0x11c7c6,_0xdbf016,_0x24e57b,_0x20f7d2,_0xa68dee,_0x4d96e5,_0x15e8d1,_0x5ccfb0,_0x414097,_0x1122e8,_0x10fb67,_0xf78a22,_0x2a6ed5,_0x3b1733,_0x380633,_0x4d298d,_0x5c6f04,_0x8dc52f,_0x2e4f67,_0x4aaa96,_0x20a8dc,_0x5cd414,_0xce5034,_0x4cb55e,_0xaa0e3,_0x2bf189,_0x15948e,_0x343cf2,_0x12ba8f,_0x2df58d,_0x1fc3c8,_0x5eaa4f,_0x3c2d59,_0x2d836f,_0x1f7500,_0x34c1c4,_0x4f85f0,_0x13de31,_0x210ac0][_0x3b188b(0x3fd)](_0x4f7a5b=>{const _0x2cc779=_0x3b188b;var _0x334f48;(_0x334f48=this['_dataSyncPrimaryController'])==null||_0x334f48[_0x2cc779(0x354)](_0x4f7a5b),this[_0x2cc779(0x1f3)][_0x2cc779(0x25d)](_0x4f7a5b);});}},_0x27de3a(_0xc8ae41[_0x15ffdc(0x22d)],'pluginName',_0x598476),_0x27de3a(_0xc8ae41[_0x15ffdc(0x22d)],_0x15ffdc(0x22f),_0x578498['UniverInstanceType'][_0x15ffdc(0x185)]),_0xc8ae41[_0x15ffdc(0x22d)]=_0x59cd57([_0x578498['DependentOn'](_0x251e5d[_0x15ffdc(0x337)]),_0x44e0c0(0x1,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x3da)])),_0x44e0c0(0x2,_0x578498[_0x15ffdc(0x2d1)](_0x578498[_0x15ffdc(0x339)])),_0x44e0c0(0x3,_0x578498['IConfigService']),_0x44e0c0(0x4,_0x578498['Optional'](_0x511ab9[_0x15ffdc(0x40b)]))],_0xc8ae41[_0x15ffdc(0x22d)]),_0xc8ae41[_0x15ffdc(0x257)]=_0x579dff,_0xc8ae41[_0x15ffdc(0x335)]=_0x3b1733,_0xc8ae41[_0x15ffdc(0x287)]=_0x432d57,_0xc8ae41['AddPivotTableMutation']=_0x10fb67,_0xc8ae41[_0x15ffdc(0x2ea)]=_0x183089,_0xc8ae41[_0x15ffdc(0x26e)]=_0x3d21a4,_0xc8ae41[_0x15ffdc(0x3a0)]=_0x2340ff,_0xc8ae41[_0x15ffdc(0x3d6)]=_0x15da44,_0xc8ae41['MovePivotTableCommand']=_0x414097,_0xc8ae41[_0x15ffdc(0x2c1)]=_0x28ab98,_0xc8ae41[_0x15ffdc(0x1b8)]=_0x1122e8,_0xc8ae41['PivotTableOperationEnum']=_0x4f3f1d,_0xc8ae41['PivotTableViewDirtyMarkOperation']=_0x2d836f,_0xc8ae41[_0x15ffdc(0x3c0)]=_0x54f7d6,_0xc8ae41[_0x15ffdc(0x348)]=_0x11c7c6,_0xc8ae41[_0x15ffdc(0x240)]=_0x8dc52f,_0xc8ae41['RemovePivotTableMutation']=_0x2a6ed5,_0xc8ae41[_0x15ffdc(0x32c)]=_0x2e4f67,_0xc8ae41[_0x15ffdc(0x472)]=_0x210ac0,_0xc8ae41[_0x15ffdc(0x2b4)]=_0x11e75f,_0xc8ae41['SHEET_PIVOT_TABLE_PLUGIN']=_0x598476,_0xc8ae41[_0x15ffdc(0x3e6)]=_0x20f7d2,_0xc8ae41[_0x15ffdc(0x38e)]=_0x4aaa96,_0xc8ae41[_0x15ffdc(0x2d5)]=_0x2df58d,_0xc8ae41['SetPivotFieldsConfigCommand']=_0x13de31,_0xc8ae41[_0x15ffdc(0x466)]=_0x4d96e5,_0xc8ae41[_0x15ffdc(0x412)]=_0x5c6f04,_0xc8ae41['SetPivotOptionMutation']=_0x5cd414,_0xc8ae41[_0x15ffdc(0x238)]=_0xce5034,_0xc8ae41[_0x15ffdc(0x18e)]=_0xa68dee,_0xc8ae41[_0x15ffdc(0x353)]=_0x20a8dc,_0xc8ae41['SetPivotSubtotalTypeMutation']=_0x12ba8f,_0xc8ae41[_0x15ffdc(0x236)]=_0x34c1c4,_0xc8ae41['SetPivotValueFilterMutation']=_0x4f85f0,_0xc8ae41['UpdateDateGroupCommand']=_0x24e57b,_0xc8ae41[_0x15ffdc(0x414)]=_0x15948e,_0xc8ae41[_0x15ffdc(0x48a)]=_0x15e8d1,_0xc8ae41[_0x15ffdc(0x373)]=_0x3c2d59,_0xc8ae41[_0x15ffdc(0x19f)]=_0x5ccfb0,_0xc8ae41[_0x15ffdc(0x367)]=_0x5eaa4f,_0xc8ae41[_0x15ffdc(0x363)]=_0xdbf016,_0xc8ae41['UpdateValuePositionMutation']=_0x343cf2,_0xc8ae41[_0x15ffdc(0x259)]=_0x124b81,_0xc8ae41['canUsePivot']=_0x77e4f2,_0xc8ae41['defaultThemeStyle']=_0x315c8b,_0xc8ae41['generateSetRangeValueMutations']=_0x3f2371,_0xc8ae41['getAdjustRangesPosition']=_0x1342b0,_0xc8ae41['getEmptyPivotRanges']=_0x450109,_0xc8ae41[_0x15ffdc(0x438)]=_0x578e38,_0xc8ae41[_0x15ffdc(0x2b0)]=_0x157f5c,_0xc8ae41[_0x15ffdc(0x25c)]=_0x44b642,_0xc8ae41[_0x15ffdc(0x444)]=_0x5376e1,_0xc8ae41[_0x15ffdc(0x196)]=_0x3d0731,_0xc8ae41[_0x15ffdc(0x2ee)]=_0x404244,_0xc8ae41[_0x15ffdc(0x2fc)]=_0x54f1ba,Object[_0x15ffdc(0x230)](_0xc8ae41,Symbol[_0x15ffdc(0x2f9)],{'value':_0x15ffdc(0x2b2)});}));function _0x4417(){const _0x26f2ad=['parse','getDataFieldByDataFieldId','initDataRanges','Range','getCellMatrix','Column','ptn','_queryingMap','REF','bind','SheetsSelectionsService','SetPivotCollapseCommand','_deleteModelCache','options','GrandTotal','IResourceManagerService','DrillDown','collapseInfo','RenameField','1358LGYjZR','getUnit','LifecycleService','setPivotTableConfig','getConfig','find','redos','AddPivotTableWithConfig','getSubUnitPivotConfigs','subUnitId','deleteField','sheet.mutation.update-date-group','deleteDataField','generateMutationsByRanges','dateType','forEach','384hyTlbc','range','column','NotNumber','IConfigService','getSheetBySheetName','entries','#e6ebfa','sideEffectUpdateWorkerCache','getSheetCommandTarget','concat','error','updatePivotSource','DataSyncPrimaryController','isNaN','generateRandomId','Add','PivotDataFieldDataTypeEnum','getColCount','broadcastCollectionChange','SetPivotFilterMutation','dispose','UpdateFieldPositionMutation','cellToRange','addExclusiveRange','getDataFieldByTableId','getPivotPerformCheck','updateDirtyPivotTable','uniqueDataFieldName','createLabelField','sheets-pivot.emptyPivot.column','getRefRangeMutationsByMoveRange','@univerjs/rpc','executeCommand','UpdateSource','SheetsPivotDataSourceModel','Subject','hasOwnProperty','CommandType','rangeCache','getSheetFeatureLimit','getMonth','PivotFilterTypeEnum','UniverProSheetsPivot','#b2b2b2','sheet.command.set-pivot-filter','_configVersion$','pivotTableConfigs','valid','rangeKeyMap','PivotErrorTypeEnum','updateView','cellValue','IActiveDirtyManagerService','refreshData','data','min','createValueField','getFieldListByArea','PivotView','_univerInstanceService','getDate','batch','sheets-pivot.dateGroup.year','blank','_initViewModelBySheetInterceptor','getValueFilterInfos','getColumnCount','max','pivotPerformCheck','getPivotInfoByLicense','RemoveRowMutation','rangeType','_refRangeHandle','Tools','iterateFieldByArea','738420xguIXq','matrix','isColMultiMeasure','panel','PivotDataFieldTypeEnum','AddPivotField','UpdateFieldPosition','getViewData','rowFields','dataStream','getUpdateRangeDeleteIds','getPivotTableIdByCell','_localeService','setName','startRow','getDisplayName','workbook\x20is\x20not\x20found','SetWorksheetColWidthMutation','PivotCellStyleTypeEnum','updateViewData','getFieldById','getPivotDirtyViewInfo','_pivotTableInstanceCache','valuePosition','rowCount','startCollectChangeset','24UgHJiv','_collectionChange$','SetPivotFilterCommand','785475rPHeyB','Varp\x20of\x20','prototype','dataFields','clearExclusiveRangesByGroupId','dimension','registerRefRange','sheets-pivot.dateGroup.yearMonth','numberToABC','sheets-pivot.emptyPivot.row','createCollectionWithDataRange','ResetPivotFieldsConfigCommand','generateNullCell','rangesInfo','_sheetsPivotTableConfigModel','getFullYear','getTextInfo','getPivotTableMatrixInfo','update','_initClearSelectionCommandInterceptor','fetchThroughInterceptors','return\x20','sheets-pivot.cellDateGroupDisplay.quarter','adjustSheetCellData','getIntersectsPivotTable','UniverProEnginePivot','rowInfo','sheets-pivot.cellDateGroupDisplay.yearMonth','_sheetsPivotTableService','SheetsPivotTableConfigModel','sheets-pivot.dateGroup.date','sheet.operation.pivot-table-view-formula-mark-dirty','sheets-pivot.sumName','addField','refreshDataField','UpdatePivotFieldSettingCommand','updatePivotTableMatrixInfo','setPivotInitCompleted','existing','SetCollapse','sheetName','substring','IExclusiveRangeService','fieldId','UNIVER_SHEET','split','StdDevp\x20of\x20','_pivotTableMatrixInfo','getValueIndex','sheet.mutation.pivot-update-value-position','getPivotTableCellData','sheet.command.update-pivot-value-position','sequenceExecute','SetPivotSortCommand','rangeKey','getCurrentSelections','_initPivotTextInfo','DisposableCollection','getLastRow','unitId','grandTotal','getPivotTableInfo','drillDown','@univerjs/sheets','prefix','interceptCommand','_initRegisterCommand','sheets-pivot.dateGroup.quarter','CustomCommandExecutionError','@univerjs/sheets-filter','UpdatePivotTableSourceRangeCommand','getMatrixFromRunTimeData','setRangeValueRedoMutation','stringify','sheet.command.move-pivot-field','Count\x20of\x20','viewData$','SetRangeValuesUndoMutationFactory','_sheetsPivotRpcService','token','Delete','getFieldInfo','COLUMN','info','sheet.command.update-date-group','_globalComputedEndHelpFunc','level','charCodeAt','_getAutoName','AddField','oldMatrix','_initSnapshot','getPivotTableModelConfig','get','sheets-pivot.subTotal','PivotDrillDownCommand','NotName','number','_sheetsPivotDataSourceModel','isPrefixValue','endCollectChangeset','SetPivotSort','SetValuePivotFilter','InsertSheetMutation','_sheetsPivotTableAdaptorModel','_initPivotDataGetListener','Column\x20','Plugin','stdDev','UniverSheets','function','getSheetId','sum','SetPivotCollapse','merge','_lifecycleService','AddPivotTable','_updatePivotTableInstanceCache','_host','sheet.command.set-pivot-value-filter','getRangeData','320254FLdYgI','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','Set','getPivotTableConfig','hasField','getIndexesByPathStr','SheetInterceptorService','forValue','subtotal','setSourceName','sourceName','_pivotRenderInfoCache','shouldClear','getMatrixValue','_fieldsCollectionChange$','getAutoFitColumnsMutations','isArray','sheets-pivot.countName','_subjectFieldsCollectionChange','Rectangle','_configService','foreach','342740FbUStg','setPivotSort','getFilterFieldIdByIndex','mergeWorksheetSnapshotWithDefault','rgb(255,255,255)','Hour','SetPivotTableConfig','toJSON','Disposable','_ensurePivotTableRangeInfo','DataFieldManager','_commandService','lastCol','getValue','UniverInstanceType','_createExclusiveRange','getAutoDisplayNameFunction','addDirtyPivotTable','_toJSON','NAME','setSortInfo','collectionConfig','sheets-pivot.averageName','_ensurePivotItemRenderInfoCache','asyncInterceptor','getFieldFormat','displayName','pbt','addPivotTableWithConfig','cornerRanges','Subtotal','textInfo','_refRangeService','Max\x20of\x20','tuple','UpdateValuePosition','NORMAL','sheets-pivot.value','Quarter','removeField','_injector','rowStyle','setPivotTable','removeSourceRangeChange','IUniverInstanceService','removeDataField','MUTATION','iterateFieldDim','refreshGroupField','endRow','dataFieldId','getTableFieldById','setPivotCollapse','removePivotTable','\x20-\x20','handleMoveRange','unshiftString','headerMap','SetWorksheetActiveOperation','fromJSON','setConfig','PivotDateGroupFieldDateTypeEnum','setValueFilterInfo','fieldsConfig','startColumn','getDirtyInfo','createDataFieldId','setRangeKeyMap','COMMAND','UniverSheetsPivotTablePlugin','sheet.mutation.pivot-update-field-position','type','defineProperty','PIVOT_MUTATION_GENERATE','UniverEngineFormula','rowRanges','set','symbol','SetPivotValueFilterCommand','sheets-pivot.dateGroup.minute','SetPivotPositionMutation','_textInfo','_viewData','setRangeValueUndoMutation','exports','versions','push','fields','RemovePivotFieldMutation','renameField','getSheets','_pivotConfigChange$','PivotMultipleValueId','isDateValue','InsertSheetUndoMutationFactory','Date','_dataFieldManagerCollection','count','PivotViewCellValueTypeEnum','getSortInfo','sheets-pivot.other','colRanges','_featureCalculationManagerService','SetValueFilter','ClearSelectionAllCommand','SHEET_PIVOT_IN_MAIN_THREAD','ManualFilter','query','measure','301911KXvYyk','updateFieldPosition','AddPivotFieldCommand','forRow','applyChangeSet','onCommandExecuted','updateConfigCache','getPivotCellInfo','registerCommand','getMatrix','asObservable','setRange','getRangeKey','isDateGroupFieldJSON','interceptor','registerCallbackWithEvent','pivotConfigChange$','_deletePivotTableInstanceCache','registerDirtyService','Sum\x20of\x20','dataFieldManagerConfig','IUndoRedoService','filterFields','getRowCount','@univerjs/core','BLANK_ROW_COUNT','SetOptions','getPivotTableInstance','tableFieldId','sheets.tabs.sheet','iterateField','MovePivotField','_pivotInitCompleted$','contains','_sheetInterceptorService','dataFieldsCollection','getFieldPositionInfoById','other','paths','ΣValue','_initRemoveSheetCommandInterceptor','isDateGroupField','pivotInitCompleted$','notExecuteFormula','setDisplayName','LocaleService','updatePivotTableRangeInfo','PivotTable','SHEET_PIVOT_TABLE_PLUGIN','undos','AddPivotTableCommand','ClearSelectionContentCommand','Row','GlobalConfig','collections','PivotTableFiledAreaEnum','sheets-pivot.emptyPivot.filter','UniverSheetsFilter','name','InterceptorManager','MAX_SAFE_INTEGER','sheets-pivot.countNumsName','_generateUniqueVersion','reset','updateFieldSourceInfo','size','collectionChange$','register','_resourceManagerService','row','sortInfo','getPivotItemRenderInfoCache','setSubtotalType','RemoveSheetMutation','PivotTableValuePositionEnum','None','ErrorType','#FFFFFF','CellValueType','setDataRecordCount','generateNewSheetName','subTotalStyle','params','targetCellInfo','queryDirtyPivotTable','addCollection','sheet.mutation.set-pivot-sort-info','markDirty$','getFilterInfo','toString','_subjectViewChange','getInsertRowColMutations','colInfo','Module','replace','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','resetArea','dataRangeInfo','_activeDirtyManagerService','colCount','fontRenderExtension','rxjs','getName','colHeaderMap','SheetsPivotTableService','FontCache','sheet.command.set-pivot-fields-config','setTextInfo','PivotDisplayDataType','STRING','disposeWithMe','leftOffset','getNoUsedDataFieldIds','isValue','splice','from','SetRangeValuesMutation','SetFilterInfo','sheet.mutation.get-pivot-data-local','sheets-pivot.cellDateGroupDisplay.yearQuarter','fieldIds','document','intercept','getPivotDisplayConfig','Inject','Value','_ensureViewDataMap','message','SetPivotFieldFormatMutation','DataField','minDate','getFieldIds','result','movePivotField','_sheetsSelectionsService','getSubtotal','product','sheets-pivot.cellDateGroupDisplay.yearMonthDate','updateAllDisplayName','StdDev\x20of\x20','Month','FORCE_STRING','map','_ensurePivotTableMatrixInfo','_pivotRenderValueMatrixCache','oldRangeInfo','dateGroupField','sheets-pivot.blank','DateGroupField','AddPivotTableWithConfigCommand','remove','_pivotTableRangeInfo','UniverProLicense','transFromCellValue','SheetsPivotTableAdaptorModel','setCollapse','random','_initUnitDisposed','sheets-pivot.varpName','valueFields','delete','filter','Grand\x20Total','body','toStringTag','ResetPivotTable','triggerDirtyFeature','unionPivotViewRange','getCellRaw','RemovePivotField','_viewUpdate$','columnFields','clearRenderCache','getTargetByPivotTableId','addDataFieldWithoutUnitInfo','getDataFieldByRangeKey','string','colStyle','_globalSubject','originTargetInfo','InsertSheetCommand','addCollectionByJSON','unshift','Year','PivotTableChangeTypeEnum','average','_getPivotAppliedRanges','deleteUnitId','sheets-pivot.stdDevName','sheet.command.pivot-drill-down','format','sheets-pivot.dateGroup.yearQuarter','originalFieldId','next','isEmpty','subscribe','getDataFieldBySourceName','sheet.mutation.remove-group-collection','sheet.command.add-pivot-table-with-config','sheets-pivot.dateGroup.hourMinute','leafStyle','removeValueFilterInfo','formJSON','#1d32e9','getCurrentUnitForType','getColumnWidth','addFieldWithSourceId','date','updateViewInfo','object','filterInfo','UniverEngineRender','BadReference','SetPivotSetting','New','RenamePivotFieldMutation','getTextSize','countNums','sheet.mutation.pivot-update-field-source-info','handleSourceRangeChange','_updateRenderEmptyCache','resetPivotTable','endColumn','isText','AddPivotFieldMutation','YearQuarter','UniverLicensePlugin','sheets-pivot.emptyPivot.values','ICommandService','Filter','removeCollections','YearMonthDate','valueIndex','RemoveSheetsFilterMutation','setPivotSetting','PivotCallbackEnum','lastRow','sheets-pivot.dateGroup.yearMonthDate','reduce','_exclusiveRangeService','areaInfo','#eceeff','floor','RemovePivotFieldCommand','_updateModelCache','YearMonth','add','getDataFieldItemInfo','_collectionConfigModel','_onRefRangeChange','keys','addPivotTable','_initLocale','_config','SetPivotSortMutation','registerSyncingMutations','removeValueFilterInfoByValueFieldId','getLastCol','MonthDate','sheet.mutation.remove-pivot-field','valueFilter','ObjectMatrix','dataStyle','_initGlobalComputed','var','getOwnPropertyDescriptor','_globalComputedStartHelpFunc','onQueryStart','updateRenderCache','sheet.mutation.add-pivot-field','UpdatePivotValuePositionCommand','getRangeKeyList','getValuePosition','length','UpdatePivotTableSourceRangeMutation','LS_CONFIG_KEY','UpdatePivotSource','RemoveSheetCommand','_model','removeCollectionImp','sheets-pivot.cellDateGroupDisplay.month','sheet.command.set-pivot-field-setting','setFieldFormat','Div0','RANGE_TYPE','width','UpdatePivotFieldSourceInfoMutation','some','getSheetBySheetId','getUnitId','pageStyle','pivotTableId','disposableCollection','removePivotField','setLabelFilterInfo','col','_ensurePivotMap','isFeatureAuthorizedWithinTime','getFieldDataType','sheet.command.update-pivot-table-source-range','_initConfig','pushUndoRedo','Min\x20of\x20','setPivotFilter','sheets-pivot.cellDateGroupDisplay.year','getTypeOfUnitDisposed$','updateConfig','RemoveField','needSameDeleteModel','updateCollectionConfig','getOriginFieldId','@univerjs/engine-formula','_ensurePivotItemRenderValueMatrixCache','SetPivotCollapseMutation','sheet.mutation.send-init-pivot-text-local','handleAsyncResponse','SetSheetsFilterRangeMutation','has','sheet.command.set-pivot-sort','addPivotField','getFormat','PivotSubtotalTypeEnum','getHeaderMapItem','excelDateToUnixMilliseconds','slice','pivotTableIndexConfig','rgb(240,241,243)','Average\x20of\x20','markDirty','getInterceptPoints','getCollection','DEFAULT_PIVOT_NUMBER','getSubUnitPivotRenderCache','addRecord','DEFAULT_WORKSHEET_COLUMN_COUNT','sheets-pivot.maxName','sheet.command.add-pivot-field','@univerjs-pro/license','NUMBER','generateHexNumber','sheet.mutation.set-pivot-field-subtotal-type','single','updateDataFieldsCollection','SetPivotFilter','_markDirty$','getActiveSheet','#f4f4f5','getGroupFieldsInfoByIds','getRangeStartEndInfo','sourceRangeInfo','_requestResolvers','getSourceName','sheet.command.move-pivot-table','getAutoDisplayName','fetchThroughAsyncInterceptors','Panel','getTargetByPivotId','sheet.mutation.add-group-collection','getStyles','intersects','numfmt','NO_COMMERCIAL','_init','PositionType','getFormatInfo','isBottomTotal','varp','configVersion$','AsyncInterceptorManager','sheet.command.reset-pivot-fields-config','setValuePivotFilter','InsertRowMutation','3184596pYQAzb','realDeleteValue','values','INTERCEPTOR_POINT','_initDataSendListener','getId','Values','sheets-pivot.productName','getFieldCountByArea','SetFieldFormat','setValue','InterceptorEffectEnum','isErrorValue','MovePivotFieldCommand','SheetsPivotRPCService','getDataFieldManager','updateValuePosition','Injector'];_0x4417=function(){return _0x26f2ad;};return _0x4417();}
|
|
1
|
+
function _0x2900(){const _0x228d04=['sheets-pivot.config','subtotal','valueIndex','rangeType','RemovePivotTableMutation','UpdateValuePositionMutation','_toJSON','getRangeKey','_injector','sheet.command.update-date-group','rowRanges','getFormatInfo','_initPivotTextInfo','LS_CONFIG_KEY','_dataSyncPrimaryController','getTextSize','col','NORMAL','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','HourMinute','rxjs','_collectionChange$','getLastRow','getSheetCommandTarget','deleteDataField','SetRangeValuesMutation','level','getColCount','_exclusiveRangeService','GrandTotal','setFieldFormat','UpdateFieldPositionMutation','adjustSheetCellData','MovePivotFieldCommand','SetWorksheetActiveOperation','result','format','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','FieldsCollection','_initClearSelectionCommandInterceptor','Sum\x20of\x20','measure','generateHexNumber','Injector','addCollection','createLabelField','sheet.mutation.set-pivot-value-filter','FontCache','AsyncInterceptorManager','fieldIds','type','colInfo','sheets-pivot.dateGroup.month','cornerRanges','getAutoDisplayNameFunction','addExclusiveRange','NotNumber','setPivotInitCompleted','setConfig','4627720KvaTLs','SetPivotFilter','getFieldIds','document','SetPivotSubtotalTypeMutation','sheets-pivot.sumName','setTextInfo','getMatrix','unionPivotViewRange','unshift','InterceptorManager','error','#FFFFFF','_pivotTableRangeInfo','generateNewSheetName','numfmt','MovePivotTableCommand','toString','pivotTableConfigs','sheets-pivot.other','forRow','setDataRecordCount','average','getPivotTableInfo','setLabelFilterInfo','getDataFieldId','_pivotTableMatrixInfo','deepClone','getFullYear','_initDataSendListener','collections','registerRefRange','range','MovePivotField','removePivotField','SetValueFilter','sheets-pivot.countName','endCollectChangeset','BLANK_ROW_COUNT','UpdatePivotFieldSourceInfoMutation','_initCommandInterceptListener','filterId','varp','getPivotItemRenderInfoCache','PivotSubtotalTypeEnum','PivotView','SetSortInfo','RANGE_TYPE','register','getPivotTableIdByCell','sideEffectUpdateWorkerCache','UpdateValuePosition','SHEET_PIVOT_TABLE_PLUGIN','Value','PivotErrorTypeEnum','getDataFieldByTableId','intercept','sheets-pivot.dateGroup.monthDate','isText','addDataFieldWithoutUnitInfo','YearMonthDate','_viewUpdate$','return\x20','\x20-\x20','_dataFieldManagerCollection','updatePivotSource','getIntersects','value','single','version','isErrorValue','updateConfigCache','sheets-pivot.dateGroup.hourMinute','MUTATION','LifecycleService','getAdjustRangesPosition','removeSourceRangeChange','_pivotConfigChange$','ObjectMatrix','_deletePivotTableInstanceCache','defaultThemeStyle','Row','sheets-pivot.dateGroup.yearMonth','CustomCommandExecutionError','delete','viewData$','sheet.mutation.set-pivot-sort-info','isFeatureAuthorizedWithinTime','subTotalStyle','DependentOn','dataFields','sheets-pivot.averageName','setValueFilterInfo','sheet.mutation.add-pivot-table','_sheetsPivotDataSourceModel','ResetPivotFieldsConfigCommand','dataFieldManagerConfig','iterateFieldDim','max','Plugin','valueFilter','oldRangeInfo','pluginName','pivotConfigChange$','_deleteModelCache','sheets-pivot.cellDateGroupDisplay.yearQuarter','setPivotSort','filter','_queryingMap','sheets-pivot.cellDateGroupDisplay.date','addRecord','panel','subscribe','random','getCollection','interceptCommand','sheets-pivot.dateGroup.minute','isDateGroupField','_getPivotAppliedRanges','maxDate','fontRenderExtension','UniverEngineFormula','row','cellToRange','_pivotInitCompleted$','Subtotal','updateViewData','getFieldCountByArea','getIntersectsPivotTable','_updateModelCache','updateFieldSourceInfo','PivotDisplayDataType','getTypeOfUnitDisposed$','AddPivotTableWithConfig','forEach','None','updateCollectionConfig','Panel','sheets-pivot.cellDateGroupDisplay.yearMonthDate','sheet.command.add-pivot-field','SheetInterceptorService','_model','valuePosition','_sheetsPivotTableService','setPivotSetting','ptn','_getAutoName','getFilterInfo','info','sheet.command.set-pivot-fields-config','getSheetBySheetName','ICommandService','string','getUnit','startRow','SetPivotTableConfig','UniverRpc','registerCommand','NUM','removeValueFilterInfoByValueFieldId','_sheetsPivotTableConfigModel','prefix','areaInfo','_globalComputedStartHelpFunc','function','addCollectionByJSON','SetPivotFilterCommand','_initPivotDataGetListener','getSortInfo','sheets-pivot.emptyPivot.values','substring','Year','Product\x20of\x20','collectionConfig','_ensurePivotItemRenderInfoCache','markDirty','endRow','_ensurePivotTableRangeInfo','removeValueFilterInfo','toJSON','getSubtotal','custom','onCommandExecuted','colStyle','matrix','drillDown','FORCE_STRING','Average\x20of\x20','_onRefRangeChange','PivotCellStyleTypeEnum','removeCollections','@univerjs/engine-render','updateRenderCache','addFieldWithSourceId','renameField','_initGlobalComputed','sheets-pivot.dateGroup.yearMonthDate','Subject','sheets-pivot.emptyPivot.row','RemoveField','getRangeStartEndInfo','symbol','LocaleService','removeField','GlobalConfig','SetPivotCollapse','updateRangeKeyMap','addPivotTableWithConfig','getCurrentUnitForType','width','_configService','pivotMutationGenerate','5Zd6NVWd\x20A46zTkNVWd(wV64dy4,\x20kZjwV6G4T)\x20{\x20\x20\x20\x20NzT\x20{\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20wV64dy4cd5WU3zNEzz3T\x20=\x20wV64dy4.ykwVN(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20WzVMVdD4yy3M4\x20=\x209Cab.k3zy4(3NWj(wV64dy4cd5WU3zNEzz3T[g]));\x20\x20\x20\x20\x20\x20\x20\x20V5\x20(!WzVMVdD4yy3M4.ZA)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WzVMVdD4yy3M4.ZA\x20=\x20bZ0j4z(wV64dy4cd5WU3zNEzz3T[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20Vy7Wze4z\x20=\x20NTk4W5\x207Wze4zLwWj3wC6Wk4\x20!==\x20\x27ZdA45Vd4A\x27\x20&&\x20y4w5\x20VdyN3d64W5\x207Wze4zLwWj3wC6Wk4;\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20Vy1zWiy4z\x20=\x20NTk4W5\x20iVdAWi\x20!==\x20\x27ZdA45Vd4A\x27\x20&&\x20NTk4W5\x20iVdAWi.wW63NVWd\x20!==\x20\x27ZdA45Vd4A\x27;\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x206WdN4SN\x20=\x20Vy7Wze4z\x20?\x20y4w5\x20:\x20(Vy1zWiy4z\x20?\x20iVdAWi\x20:\x20MwWj3wofVy);\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x2004yy3M47WzA\x20=\x206WdN4SN.__13y4np__.k3zy4(wV64dy4cd5WU3zNEzz3T[g]);\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x2004yy3M4\x20=\x206WdN4SN.__I4S__.yNzVdMV5T(04yy3M47WzA);\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20yVMd3NZz47WzA\x20=\x206WdN4SN.__13y4np__.k3zy4(wV64dy4cd5WU3zNEzz3T[Q]);\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20yVMd3NZz4\x20=\x206WdN4SN.__I4S__.yNzVdMV5T(yVMd3NZz47WzA);\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20yVMdr3wVA\x20=\x206WdN4SN.__X4zV5T__(yVMd3NZz4,\x2004yy3M4,\x20kZjwV6G4T);\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20AW03Vd\x20=\x20WzVMVdD4yy3M4.A0;\x20\x20\x20\x20\x20\x20\x20\x205Zd6NVWd\x20VytW03VdD3N6fVdM(WU3NN4zd,\x20WIWyN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20k3NN4zd\x20=\x20WU3NN4zd.z4kw364(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20fWyN\x20=\x20WIWyN.z4kw364(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20k3NN4zdU3zNy\x20=\x20k3NN4zd.ykwVN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20fWyNU3zNy\x20=\x20fWyN.ykwVN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20V5\x20(!k3NN4zd.Vd6wZA4y(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z4NZzd\x20k3NN4zd\x20===\x20fWyN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20V5\x20(k3NN4zdU3zNy.w4dMNf\x20<\x20g\x20||\x20k3NN4zdU3zNy[P]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z4NZzd\x2053wy4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20k3NN4zdCZ55VS\x20=\x20k3NN4zdU3zNy.ywV64(J).sWVd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20fWyNCZ55VS\x20=\x20fWyNU3zNy.ywV64(-k3NN4zdU3zNy.w4dMNf\x20+\x20J).sWVd(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z4NZzd\x20k3NN4zdCZ55VS\x20===\x20fWyNCZ55VS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w4N\x20AW03Vdr3wVA\x20=\x2053wy4;\x20\x20\x20\x20\x20\x20\x20\x20V5\x20(Vy1zWiy4z)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AW03Vdr3wVA\x20=\x20(AW03Vd\x20&&\x20AW03Vd.w4dMNf)\x20?\x20AW03Vd.yW04((A0cN40)\x20=>\x20VytW03VdD3N6fVdM(A0cN40,\x20wW63NVWd.fWyNd304))\x20:\x20NzZ4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20V5\x20(wW63NVWd.fWyNd304\x20===\x20\x27wW63wfWyN\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AW03Vdr3wVA\x20=\x20NzZ4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x204wy4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AW03Vdr3wVA\x20=\x20NzZ4;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x206WdyN\x20X3wVA\x20=\x20yVMdr3wVA\x20&&\x20AW03Vdr3wVA;\x20\x20\x20\x20\x20\x20\x20\x20z4NZzd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X3wVA,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2004yy3M4:\x20WzVMVdD4yy3M4,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x2063N6f\x20(4zzWz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20z4NZzd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X3wVA:\x2053wy4,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2004yy3M4:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','UniverProLicense','endColumn','getFieldInfo','undos','PivotTable','isBottomTotal','#eceeff','countNums','@univerjs/rpc','grandTotal','tuple','rgb(240,241,243)','some','INTERCEPTOR_POINT','registerPluginResource','complete','createAsyncInterceptorKey','new','columnFields','sheet.command.move-pivot-table','dataFieldId','getOwnPropertyDescriptor','PivotDataFieldDataTypeEnum','_featureCalculationManagerService','sheet.mutation.update-date-group','MAX_SAFE_INTEGER','getMatrixFromRunTimeData','setRangeValueUndoMutation','getSubUnitPivotRenderCache','fieldsConfig','SetPivotFieldFormatMutation','pivotPerformCheck','_sheetInterceptorService','setDirty','_initUnitDisposed','getValue','sheet.mutation.send-pivot-view-local','MoveRangeMutation','Hour','PivotTableFiledAreaEnum','rowHeaderMap','pivotInitCompleted$','setDateType','setSortInfo','length','SheetsPivotTableService','updateDirtyPivotTable','add','displayName','sheet.mutation.pivot-update-value-position','Min\x20of\x20','createCollectionWithDataRange','UniverSheetsPivotTablePlugin','intersects','MIN_SAFE_INTEGER','updateValuePosition','resetPivotTable','_ensurePivotMap','createDataFieldId','AddPivotTable','getTargetByPivotTableId','handleAsyncResponse','DisposableCollection','reset','NUMBER','needSameDeleteModel','addDirtyPivotTable','getFilterFieldIdByIndex','sheet.command.update-pivot-table-source-range','transFromCellValue','clear','getColumnCount','sheets-pivot.cellDateGroupDisplay.hourMinute','getMonth','options','clearRenderCache','rowFields','getSourceName','getSubUnitPivotConfigs','_ensurePivotItemRenderValueMatrixCache','getIndexesByPathStr','clearExclusiveRangesByGroupId','InsertSheetCommand','getFieldPositionInfoById','StdDevp\x20of\x20','SheetsPivotTableAdaptorModel','Total','Date','realDeleteValue','dataFieldsCollection','PivotDataFieldTypeEnum','DEFAULT_WORKSHEET_COLUMN_COUNT','updatePivotTableMatrixInfo','setValuePivotFilter','batch','Minute','_initLocale','valueFields','setRangeKeyMap','concat','call','PivotFilterTypeEnum','Add','getFieldDataType','Quarter','sheet.mutation.send-pivot-config-local','dataStream','_fieldsCollectionChange$','existing','IFeatureCalculationManagerService','next','Month','RemovePivotFieldMutation','AddPivotField','redos','@univerjs-pro/engine-pivot','#f4f4f5','UpdatePivotFieldSettingCommand','iterateField','fetchThroughInterceptors','isBaseGroupField','getTargetByPivotId','getMatrixValue','GlobalComputingStatusService','getFieldListByArea','other','deleteUnitId','rangeCache','executeCommand','SheetsPivotRPCService','SHEET_PIVOT_IN_MAIN_THREAD','sheet.mutation.remove-group-collection','SetPivotValueFilterCommand','versions','blank','getPivotDirtyViewInfo','Div0','startCollectChangeset','_viewData','markDirty$','getDirtyInfo','ΣValue','RemoveSheetsFilterMutation','updateViewInfo','sheet.command.add-pivot-table-with-config','SetWorksheetColWidthMutation','_createExclusiveRange','ClearSelectionAllCommand','onQueryStart','getSheetFeatureLimit','isDateGroupFieldJSON','sheets-pivot.cellDateGroupDisplay.hour','SetPivotSetting','startColumn','setPivotTableConfig','setSubtotalType','_initViewModelBySheetInterceptor','IActiveDirtyManagerService','getDataFieldItemInfo','getPivotTableRangeInfo','PivotCallbackEnum','_subjectViewChange','SetFieldFormat','getSheetId','handleSourceRangeChange','rangeKey','184698iCrrYv','sheets-pivot.blank','setName','sourceRangeInfo','_updatePivotTableInstanceCache','_pivotRenderInfoCache','onQueryEnd','_collectionConfigModel','_localeService','SetPivotValueFilterMutation','NAME','IUniverInstanceService','unshiftString','addPivotTable','Delete','parseInt','RemoveSheetMutation','addPivotField','getHeaderMapItem','_ensurePivotTableMatrixInfo','DIV_BY_ZERO','notExecuteFormula','cornerInfo','_init','getTableFieldById','UpdateDateGroupCommand','entries','originTargetInfo','getActiveSheet','sheet.mutation.update-pivot-table-source-range','SetPivotSortMutation','SetFilterInfo','shouldClear','getSheets','@univerjs/sheets','dateGroupField','getPivotTableModelConfig','UpdatePivotSource','get','headerMap','push','sheet.command.remove-pivot-field','getValueIndex','setPivotCollapse','getPivotDisplayConfig','_sheetsPivotTableAdaptorModel','isPrefixValue','Var\x20of\x20','setPivotFilter','setRange','sheets-pivot.dateGroup.date','dataRangeInfo','fromJSON','getValuePosition','asyncInterceptor','rowStyle','pageStyle','Filter','rowCount','pbt','_refRangeHandle','_initRegisterCommand','2769765xdHodf','sequenceExecute','_refRangeService','AddPivotTableWithConfigCommand','sheets-pivot.emptyPivot.column','_config','YearMonth','setPivotTable','NotFunction','has','setOptions','getCellMatrix','StdDev\x20of\x20','product','PIVOT_MUTATION_GENERATE','CommandType','45jUESck','SetOptions','isValue','sheets-pivot.dateGroup.year','_updateRenderEmptyCache','find','applyChangeSet','rangeKeyMap','getUpdateRangeDeleteIds','addField','_pivotRenderValueMatrixCache','sheets-pivot.cellDateGroupDisplay.yearMonth','_configVersion$','getAutoDisplayName','triggerDirtyFeature','getValueFilterInfos','Values','SetSheetsFilterRangeMutation','generateMutationsByRanges','_host','InterceptorEffectEnum','sheets-pivot.value','sheet.mutation.set-pivot-option','configVersion$','reduce','subUnitId','UpdatePivotTableSourceRangeMutation','_markDirty$','replace','collapseInfo','count','Style','canUsePivot','sheet.mutation.pivot-update-field-source-info','sheet.command.add-pivot-table','setCollapse','sheets-pivot.maxName','update','MoveRangeCommand','_initRemoveSheetCommandInterceptor','getAutoFitColumnsMutations','_univerInstanceService','Disposable','defineProperty','getUnitId','UpdateFieldPosition','ResetPivotTable','_requestResolvers','@univerjs/sheets-filter','_subjectFieldsCollectionChange','PivotTableChangeTypeEnum','SheetsPivotDataSourceModel','_sheetsSelectionsService','sheet.mutation.set-pivot-collapse','unitId','token','getDate','_initConfig','excelDateToUnixMilliseconds','getFieldById','(Blank)','getLastCol','getFieldFormat','splice','DataSyncPrimaryController','sheets-pivot.stdDevName','sheets-pivot.cellDateGroupDisplay.quarter','contains','InsertSheetMutation','number','uniqueDataFieldName','getStyles','fetchThroughAsyncInterceptors','ErrorType','pushUndoRedo','formJSON','exports','Column','textInfo','sheets-pivot.subTotal','colCount','sheet.mutation.add-pivot-field','_globalSubject','createValueField','UpdatePivotValuePositionCommand','_globalComputingSrv','sum','rangesInfo','getCellRaw','getSheetBySheetId','sortInfo','DataFieldManager','sheet.mutation.rename-pivot-field','targetCellInfo','Collapse','data','disposableCollection','forValue','asObservable','oldMatrix','min','setSourceName','createInterceptorKey','YearQuarter','Max\x20of\x20','lastRow','BehaviorSubject','getTextInfo','getId','getDisplayName','from','SetPivotSortCommand','getOriginFieldId','lastCol','10042eRvjrS','#e6ebfa','pushComputingStatusSubject','SheetsPivotTableConfigModel','NO_COMMERCIAL','_initSnapshot','_subjectCollectionChange','hasField','113tsdXBS','Set','getNoUsedDataFieldIds','interceptor','@univerjs/engine-formula','PivotDateGroupFieldDateTypeEnum','Tools','UpdatePivotTableSourceRangeCommand','numberToABC','bind','UpdateSource','onStarting','getConfig','parse','pivotTableId','handleMoveRange','dateType','IExclusiveRangeService','getRangeKeyList','getDataFieldManager','STRING','minDate','params','SetPivotOptionMutation','setValue','fields','DateGroupField','170ehzkRL','getPivotTableCellData','column','getDataFieldByDataFieldId','isEmpty','isDateValue','colRanges','@univerjs-pro/license','_sheetsPivotRpcService','dimension','sheet.mutation.remove-pivot-table','RefRangeService','SetPivotFilterMutation','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','IConfigService','getPivotTableConfig','_generateUniqueVersion','ClearSelectionContentCommand','tableFieldId','COMMAND','UniverProEnginePivot','isDate','name','size','SetSubtotalType','getformat','updateView','SetValuePivotFilter','removePivotTable','getRefRangeMutationsByMoveRange','sheets-pivot.varName','getDataFieldBySourceName','MonthDate','SetCollapse','collectionChange$','UNIVER_SHEET','updatePivotTableRangeInfo','message','Count\x20of\x20','Expand','CellValueType','RemoveColMutation','New','SHEET_PIVOT_EXCLUSIVE_ID','Rectangle','getCurrentSelections','setRangeValueRedoMutation','3703524QRXNHN','_pivotTableInstanceCache','iterateFieldByArea','UniverEngineRender','removeDataField','getInsertRowColMutations','disposeWithMe','IUndoRedoService','RemoveSheetCommand','body','refreshData','Module','prototype','date','slice','getInterceptPoints','PivotTableOperationEnum','deleteField','stringify','object','updateFieldPosition','sheet.mutation.pivot-update-field-position','sheet.operation.pivot-table-view-formula-mark-dirty','getPivotTableInstance','_globalComputedEndHelpFunc','sheets-pivot.cellDateGroupDisplay.minute','RemovePivotField','PivotTableViewDirtyMarkOperation','originalFieldId','AddPivotTableCommand','filterInfo','getDataFieldByRangeKey','_resourceManagerService','_viewData$','RenamePivotFieldMutation','Inject','sourceName','charCodeAt','refreshDataField','_textInfo','sheet.command.set-pivot-value-filter','mergeWorksheetSnapshotWithDefault','removeCollectionImp','set','_ensureViewDataMap','workbook\x20is\x20not\x20found','setDisplayName','13276TNFjEI','isArray','sheetName','registerSyncingMutations','limit\x20pivot','UniverProSheetsPivot','_commandService','IResourceManagerService','merge','refreshGroupField','viewUpdate$','initDataRanges','fieldsCollectionChange$','map','sheets.tabs.sheet','InsertSheetUndoMutationFactory','getViewData','getName','sheet.command.set-pivot-sort','sheet.mutation.set-pivot-position','query','dispose','updateConfig','broadcastCollectionChange','sheet.command.update-pivot-value-position','values','DrillDown','keys','stdDevp','ManualFilter','UniverInstanceType','_activeDirtyManagerService','PivotTableValuePositionEnum','#1d32e9','generateSetRangeValueMutations','getRowCount','registerCallbackWithEvent','movePivotField','2290603EFFPQg','collection','getFontStyleString'];_0x2900=function(){return _0x228d04;};return _0x2900();}function _0x3b66(_0x25597f,_0x289c73){_0x25597f=_0x25597f-0x199;const _0x290092=_0x2900();let _0x3b665c=_0x290092[_0x25597f];return _0x3b665c;}(function(_0x565c01,_0x27a8f7){const _0x1c2091=_0x3b66,_0x1923a8=_0x565c01();while(!![]){try{const _0x40522a=-parseInt(_0x1c2091(0x389))/0x1*(-parseInt(_0x1c2091(0x381))/0x2)+-parseInt(_0x1c2091(0x30f))/0x3*(parseInt(_0x1c2091(0x402))/0x4)+parseInt(_0x1c2091(0x2ff))/0x5+-parseInt(_0x1c2091(0x3d3))/0x6+-parseInt(_0x1c2091(0x428))/0x7+parseInt(_0x1c2091(0x466))/0x8+-parseInt(_0x1c2091(0x2c1))/0x9*(parseInt(_0x1c2091(0x3a4))/0xa);if(_0x40522a===_0x27a8f7)break;else _0x1923a8['push'](_0x1923a8['shift']());}catch(_0xf19a06){_0x1923a8['push'](_0x1923a8['shift']());}}}(_0x2900,0x57129),function(_0x4415b4,_0x3252d2){const _0x22cb0d=_0x3b66;typeof exports==_0x22cb0d(0x3e6)&&typeof module<'u'?_0x3252d2(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x22cb0d(0x1ea)&&define['amd']?define([_0x22cb0d(0x35b),_0x22cb0d(0x28e),'@univerjs/core',_0x22cb0d(0x38d),_0x22cb0d(0x2e3),_0x22cb0d(0x43f),_0x22cb0d(0x3ab),_0x22cb0d(0x33f),_0x22cb0d(0x223),_0x22cb0d(0x205)],_0x3252d2):(_0x4415b4=typeof globalThis<'u'?globalThis:_0x4415b4||self,_0x3252d2(_0x4415b4[_0x22cb0d(0x407)]={},_0x4415b4[_0x22cb0d(0x3b8)],_0x4415b4['UniverCore'],_0x4415b4[_0x22cb0d(0x1bf)],_0x4415b4['UniverSheets'],_0x4415b4[_0x22cb0d(0x43f)],_0x4415b4[_0x22cb0d(0x21b)],_0x4415b4['UniverSheetsFilter'],_0x4415b4[_0x22cb0d(0x1e2)],_0x4415b4[_0x22cb0d(0x3d6)]));}(this,function(_0x1c5878,_0x29e939,_0x2420fe,_0x4e490c,_0x43dbd4,_0x5d8adc,_0x95dfda,_0x751a7c,_0x3900df,_0x227c96){'use strict';const _0x4a26b1=_0x3b66;var _0x342b62=Object[_0x4a26b1(0x33a)],_0x1c309e=(_0xd24523,_0x13bbe1,_0x2e1a80)=>_0x13bbe1 in _0xd24523?_0x342b62(_0xd24523,_0x13bbe1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e1a80}):_0xd24523[_0x13bbe1]=_0x2e1a80,_0x3b48fc=(_0x4443f8,_0x5de925,_0x51c72c)=>_0x1c309e(_0x4443f8,typeof _0x5de925!=_0x4a26b1(0x20f)?_0x5de925+'':_0x5de925,_0x51c72c);const _0x2d8434=Number[_0x4a26b1(0x2d0)](0x6940e8df),_0x45d067=0x10,_0x1eb34d=0x1,_0x367f46=_0x4a26b1(0x49a),_0x59c838=0x1,_0x22204a=_0x4a26b1(0x226),_0x7c511b='rgb(255,255,255)',_0x1ddd99='#b2b2b2',_0x47862d=_0x4a26b1(0x28f),_0x2e6520=_0x4a26b1(0x28f),_0x33a39f=_0x4a26b1(0x221),_0x55be43='#1d32e9',_0x1205a5=_0x4a26b1(0x472),_0x562809=_0x4a26b1(0x382),_0x19f844=_0x4a26b1(0x423),_0x483917=_0x4a26b1(0x472),_0x5d5ba2='#e6ebfb',_0x5981b0=0xe,_0x2710c4=0x6;var _0x43c723=(_0x4a7977=>(_0x4a7977['Existing']=_0x4a26b1(0x287),_0x4a7977[_0x4a26b1(0x3ce)]=_0x4a26b1(0x22c),_0x4a7977))(_0x43c723||{});const _0x2825cc={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x544147=0x1e,_0x3756e0={'b':{'s':0x1,'cl':{'rgb':_0x1ddd99}},'l':{'s':0x1,'cl':{'rgb':_0x1ddd99}},'r':{'s':0x1,'cl':{'rgb':_0x1ddd99}},'t':{'s':0x1,'cl':{'rgb':_0x1ddd99}}},_0x235e85={'bg':{'rgb':_0x22204a},'ht':0x2,'vt':0x2,'tb':0x1},_0x394fcd={'bg':{'rgb':_0x7c511b},'ht':0x2,'vt':0x2,'tb':0x1},_0x11c98b={'rowStyle':{'bg':{'rgb':_0x5d5ba2},'bd':_0x3756e0,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x19f844},'bd':null,'cl':{'rgb':_0x483917},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3756e0,'bg':{'rgb':_0x562809},'vt':0x2},'cornerStyle':{'bd':_0x3756e0,'bg':{'rgb':_0x33a39f},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3756e0,'bg':{'rgb':_0x47862d},'vt':0x2},'leafStyle':{'bd':_0x3756e0,'bg':{'rgb':_0x2e6520},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x55be43},'cl':{'rgb':_0x1205a5},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3756e0,'vt':0x2}};function _0x4b2108(_0x515090,_0x36ed47,_0x4f48d7){const _0x321761=_0x4a26b1,_0x5d7974=_0x515090[_0x321761(0x2e7)](_0x2420fe[_0x321761(0x210)]),_0x2f4f79=_0x4f48d7['split']('_');switch(_0x36ed47){case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x321761(0x1f1)]:return _0x5d7974['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x2f4f79);case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x321761(0x27a)]:return _0x5d7974['t'](_0x321761(0x3ec),..._0x2f4f79);case _0x29e939[_0x321761(0x38e)][_0x321761(0x241)]:return _0x5d7974['t'](_0x321761(0x2b2),..._0x2f4f79);case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x321761(0x43e)]:return _0x5d7974['t'](_0x321761(0x263),..._0x2f4f79);case _0x29e939[_0x321761(0x38e)][_0x321761(0x272)]:return _0x5d7974['t'](_0x321761(0x1b3),..._0x2f4f79);case _0x29e939[_0x321761(0x38e)][_0x321761(0x28a)]:return _0x5d7974['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x2f4f79);case _0x29e939[_0x321761(0x38e)][_0x321761(0x283)]:return _0x5d7974['t'](_0x321761(0x351),..._0x2f4f79);case _0x29e939[_0x321761(0x38e)][_0x321761(0x305)]:return _0x5d7974['t'](_0x321761(0x31a),..._0x2f4f79);case _0x29e939[_0x321761(0x38e)]['YearMonthDate']:return _0x5d7974['t'](_0x321761(0x1d0),..._0x2f4f79);case _0x29e939[_0x321761(0x38e)][_0x321761(0x376)]:return _0x5d7974['t'](_0x321761(0x1af),..._0x2f4f79);}return'';}const _0x358d08=(_0x79ae42,_0x78e863,_0x5bf1db,_0x5382f2)=>{const _0x21846f=_0x4a26b1;let _0x14d8b4;const _0x4f1137=_0x79ae42['get'](_0x2420fe['IUniverInstanceService'])[_0x21846f(0x216)](_0x2420fe[_0x21846f(0x420)][_0x21846f(0x3c7)]);if(!_0x4f1137)return null;const _0x2e9ef7=_0x4f1137[_0x21846f(0x356)]();let _0x2bd3e6;if(_0x5bf1db&&(_0x2bd3e6=_0x2e9ef7[_0x21846f(0x3a1)](_0x5bf1db)),_0x78e863!=null&&_0x78e863['v']||(_0x78e863==null?void 0x0:_0x78e863['v'])===0x0){_0x14d8b4||(_0x14d8b4={});const _0x56742b=_0x448755(_0x78e863['v']);typeof _0x56742b==_0x21846f(0x354)?_0x14d8b4['t']=_0x2420fe[_0x21846f(0x3cc)][_0x21846f(0x25b)]:typeof _0x56742b==_0x21846f(0x1de)&&(_0x14d8b4['t']=_0x2420fe['CellValueType'][_0x21846f(0x39d)]),_0x14d8b4['v']=_0x56742b;}if((_0x78e863!=null&&_0x78e863['i']||(_0x78e863==null?void 0x0:_0x78e863['i'])===0x0)&&(_0x14d8b4||(_0x14d8b4={}),_0x14d8b4['fi']=_0x78e863['i']),_0x78e863!=null&&_0x78e863['s']&&(_0x14d8b4||(_0x14d8b4={}),_0x14d8b4[_0x21846f(0x2fc)]=_0x78e863['s']),_0x5bf1db&&(_0x14d8b4||(_0x14d8b4={}),_0x14d8b4['s']=_0x2bd3e6),_0x5382f2&&_0x14d8b4!=null&&_0x14d8b4['v']&&_0x14d8b4[_0x21846f(0x2fc)]!==_0x29e939['PivotCellStyleTypeEnum']['GrandTotal']&&_0x14d8b4[_0x21846f(0x2fc)]!==_0x29e939[_0x21846f(0x203)][_0x21846f(0x1c3)]){const _0x4d29eb=String(_0x14d8b4['v']),{dateType:_0x18eb86}=_0x5382f2;_0x14d8b4['v']=_0x4b2108(_0x79ae42,_0x18eb86,_0x4d29eb),_0x14d8b4['t']=_0x2420fe[_0x21846f(0x3cc)]['STRING'];}return _0x14d8b4;},_0xa313e=(_0x16db38,_0x25c445,_0x56c777,_0x4a8815)=>{const _0x1141f4=_0x4a26b1;var _0xddaf27,_0x2aa8e0,_0x1eef95,_0xf029d1,_0x4d3bbd,_0x4e4b94,_0x23c66e,_0x2bae72,_0x1678bf,_0x1c7324,_0x3a278c,_0x1828b6,_0xde98f7,_0x31d02;const _0x3b3f85=_0x56c777[_0x1141f4(0x36c)],{cornerView:_0x13af76,rowView:_0x6bd18d,colView:_0x1b4f84,dataView:_0x536710,pageView:_0x53f148,formatMap:_0x1c0613,groupInfo:_0x599c32}=_0x25c445,{row:_0x2ae0c0,col:_0x3e5f14}=_0x3b3f85,_0x1b0111=new _0x2420fe[(_0x1141f4(0x4b4))](),_0x110220={},_0xdb65f0={},_0xfaadc8={},_0xa9bbcf={},_0x203fe7={};let _0x3f3f30=_0x2ae0c0,_0xb343d6=_0x3e5f14;Object[_0x1141f4(0x41d)](_0x53f148[_0x1141f4(0x36e)])[_0x1141f4(0x1cc)](_0x329cbb=>{const _0x2079bd=_0x1141f4;Object[_0x2079bd(0x41d)](_0x53f148['data'][Number(_0x329cbb)])['forEach'](_0x484edf=>{const _0x5591b3=_0x2079bd,_0x20371f={..._0x53f148[_0x5591b3(0x36e)][Number(_0x329cbb)][Number(_0x484edf)]};_0x1b0111['setValue'](Number(_0x329cbb)+_0x3f3f30,Number(_0x484edf)+_0xb343d6,_0x358d08(_0x16db38,_0x20371f,_0x11c98b[_0x5591b3(0x2f9)]));});});const _0x4196b0=Object[_0x1141f4(0x41d)](_0x53f148['data'])[_0x1141f4(0x247)];_0x3f3f30+=_0x4196b0+(_0x4196b0?_0x59c838:0x0);const _0xa23110=_0x13af76['getRowCount'](),_0x42e8e5=_0x13af76[_0x1141f4(0x446)]();for(let _0x574379=0x0;_0x574379<_0xa23110;_0x574379++)for(let _0x3837dd=0x0;_0x3837dd<_0x42e8e5;_0x3837dd++){const _0x1bb995={...(_0x2aa8e0=(_0xddaf27=_0x13af76['data'])==null?void 0x0:_0xddaf27[_0x574379])==null?void 0x0:_0x2aa8e0[_0x3837dd]};_0x1bb995&&((_0x1eef95=_0x6bd18d[_0x1141f4(0x2e8)][_0x3837dd])!=null&&_0x1eef95[_0x1141f4(0x311)])&&_0x3837dd===_0x42e8e5-0x1&&_0x574379===_0xa23110-0x1&&(_0x1bb995['v']=''+_0x4a8815[_0x1141f4(0x324)]),_0x1b0111['setValue'](_0x574379+_0x3f3f30,_0x3837dd+_0xb343d6,_0x358d08(_0x16db38,_0x1bb995,_0x11c98b['cornerStyle']));}for(let _0x4b6284=0x0;_0x4b6284<_0x13af76[_0x1141f4(0x1da)][_0x1141f4(0x247)];_0x4b6284++)_0x13af76[_0x1141f4(0x1da)][_0x4b6284]&&(_0xfaadc8[''+(_0x4b6284+_0xb343d6)]=_0x13af76[_0x1141f4(0x1da)][_0x4b6284]);_0xb343d6+=_0x42e8e5;const _0x181801=_0x1b4f84[_0x1141f4(0x2e8)],_0x381bd6=_0x1b4f84[_0x1141f4(0x441)]()>=0x0?_0x1b4f84[_0x1141f4(0x441)]()+0x1:0x0,_0x1a7445=_0x1b4f84[_0x1141f4(0x34c)]()>=0x0?_0x1b4f84[_0x1141f4(0x34c)]()+0x1:0x0;for(let _0xf21a27=0x0;_0xf21a27<_0x1a7445;_0xf21a27++){for(let _0x5d0789=0x0;_0x5d0789<_0x381bd6;_0x5d0789++){const _0x477697={...(_0x4d3bbd=(_0xf029d1=_0x1b4f84[_0x1141f4(0x36e)])==null?void 0x0:_0xf029d1[_0x5d0789])==null?void 0x0:_0x4d3bbd[_0xf21a27]},_0x3e2863=(_0x4e4b94=_0x181801[_0x5d0789])==null?void 0x0:_0x4e4b94[_0x1141f4(0x3b6)],_0x5c3486=_0x1c0613[_0x3e2863],_0xc79cf9=_0x599c32[_0x3e2863];_0x477697&&(_0x477697['v']=_0x2eb36a(_0x477697,_0x5d0789===0x0&&((_0x23c66e=_0x1b4f84[_0x1141f4(0x2d3)](_0xf21a27+0x1))==null?void 0x0:_0x23c66e[_0x1141f4(0x311)]),_0x5c3486,_0x4a8815));let _0x40749a;_0x5c3486?_0x40749a={..._0x11c98b['colStyle'],'n':{'pattern':_0x5c3486}}:_0x40749a={..._0x11c98b[_0x1141f4(0x1fd)]},_0x1b0111[_0x1141f4(0x3a1)](_0x5d0789+_0x3f3f30,_0xf21a27+_0xb343d6,_0x358d08(_0x16db38,_0x477697,_0x40749a,_0xc79cf9));}_0x1b4f84['info'][_0xf21a27]&&(_0xdb65f0[''+(_0xf21a27+_0xb343d6)]=_0x1b4f84[_0x1141f4(0x1da)][_0xf21a27]),_0x1b4f84[_0x1141f4(0x2e8)][_0xf21a27+0x1]&&(_0x203fe7[''+(_0xf21a27+_0x3f3f30+0x1)]=_0x1b4f84['headerMap'][_0xf21a27+0x1]);}_0x3f3f30+=_0xa23110;const _0x2b5959=_0x6bd18d[_0x1141f4(0x2e8)],_0x25bb2e=_0x6bd18d[_0x1141f4(0x441)]()>=0x0?_0x6bd18d[_0x1141f4(0x441)]()+0x1:0x0,_0x313224=_0x6bd18d[_0x1141f4(0x34c)]()>=0x0?_0x6bd18d[_0x1141f4(0x34c)]()+0x1:0x0;for(let _0x265e93=0x0;_0x265e93<_0x25bb2e;_0x265e93++){for(let _0x52c6ec=0x0;_0x52c6ec<_0x313224;_0x52c6ec++){const _0x48d070={...(_0x1678bf=(_0x2bae72=_0x6bd18d[_0x1141f4(0x36e)])==null?void 0x0:_0x2bae72[_0x265e93])==null?void 0x0:_0x1678bf[_0x52c6ec]},_0x1f998f=(_0x1c7324=_0x2b5959[_0x52c6ec])==null?void 0x0:_0x1c7324[_0x1141f4(0x3b6)],_0x390e6b=_0x1c0613[_0x1f998f],_0x4ae0af=_0x599c32[_0x1f998f];_0x48d070&&(_0x48d070['v']=_0x2eb36a(_0x48d070,!0x1,_0x390e6b,_0x4a8815));let _0x1e0c92;_0x6bd18d[_0x1141f4(0x1da)][_0x265e93][_0x1141f4(0x445)]===_0x6bd18d[_0x1141f4(0x446)]()?_0x1e0c92=_0x11c98b['leafStyle']:_0x6bd18d['info'][_0x265e93][_0x1141f4(0x220)]?_0x1e0c92=_0x6bd18d[_0x1141f4(0x1da)][_0x265e93][_0x1141f4(0x445)]===0x0?_0x11c98b[_0x1141f4(0x224)]:_0x11c98b[_0x1141f4(0x19e)]:_0x1e0c92=_0x11c98b[_0x1141f4(0x2f8)],_0x390e6b&&(_0x1e0c92={..._0x1e0c92,'n':{'pattern':_0x390e6b}}),_0x1b0111[_0x1141f4(0x3a1)](_0x265e93+_0x3f3f30,_0x52c6ec+_0x3e5f14,_0x358d08(_0x16db38,_0x48d070,_0x1e0c92,_0x4ae0af));}_0x6bd18d[_0x1141f4(0x1da)][_0x265e93]&&(_0x110220[''+(_0x265e93+_0x3f3f30)]=_0x6bd18d[_0x1141f4(0x1da)][_0x265e93]),_0x6bd18d[_0x1141f4(0x2e8)][_0x265e93]&&(_0xa9bbcf[''+(_0x265e93+_0x3e5f14)]=_0x6bd18d[_0x1141f4(0x2e8)][_0x265e93]);}const _0x5c40e7=_0x536710[_0x1141f4(0x425)](),_0x41d9c3=_0x536710[_0x1141f4(0x446)]();for(let _0x503d3a=0x0;_0x503d3a<_0x5c40e7;_0x503d3a++)for(let _0x53aa74=0x0;_0x53aa74<_0x41d9c3;_0x53aa74++){const _0x2f3180={...(_0x1828b6=(_0x3a278c=_0x536710[_0x1141f4(0x36e)])==null?void 0x0:_0x3a278c[_0x503d3a])==null?void 0x0:_0x1828b6[_0x53aa74]};let _0xcd3081;_0x6bd18d[_0x1141f4(0x1da)][_0x503d3a][_0x1141f4(0x220)]?_0xcd3081=_0x6bd18d[_0x1141f4(0x1da)][_0x503d3a][_0x1141f4(0x445)]===0x0?_0x11c98b[_0x1141f4(0x224)]:_0x11c98b[_0x1141f4(0x19e)]:_0xcd3081=_0x11c98b['dataStyle'];const _0x116d06=_0x6bd18d[_0x1141f4(0x1da)][_0x503d3a][_0x1141f4(0x42d)],_0x573ece=_0x1b4f84[_0x1141f4(0x1da)][_0x53aa74][_0x1141f4(0x42d)],_0x31a2c3=Math[_0x1141f4(0x1a8)](_0x116d06,_0x573ece),_0x5a202c=_0x56c777[_0x1141f4(0x238)]['valueFields'][_0x1141f4(0x27e)]();let _0x45d0e8='';_0x31a2c3<0x0?_0x45d0e8=(_0xde98f7=_0x5a202c[0x0])!=null?_0xde98f7:'':_0x45d0e8=(_0x31d02=_0x5a202c[_0x31a2c3])!=null?_0x31d02:'';const _0xcba76c=_0x1c0613[_0x45d0e8];_0xcba76c&&(_0xcd3081={..._0xcd3081,'n':{'pattern':_0xcba76c}}),_0x1b0111[_0x1141f4(0x3a1)](_0x503d3a+_0x3f3f30,_0x53aa74+_0xb343d6,_0x358d08(_0x16db38,_0x2f3180,_0xcd3081));}return{'valueMatrix':_0x1b0111,'rowInfo':_0x110220,'colInfo':_0xdb65f0,'cornerInfo':_0xfaadc8,'rowHeaderMap':_0xa9bbcf,'colHeaderMap':_0x203fe7};};function _0x2eb36a(_0x232d3c,_0x258388,_0x34fcdb,_0x5c1690){const _0x41415f=_0x4a26b1;let _0x175c48=_0x232d3c['v'];_0x258388&&(_0x175c48=''+_0x5c1690['sheets-pivot.value']);const _0x285677=_0x232d3c['t']&&(_0x232d3c['t']&_0x29e939['PivotViewCellValueTypeEnum'][_0x41415f(0x2a1)])>0x0;_0x285677&&(_0x175c48=''+_0x5c1690[_0x41415f(0x2c2)]);const _0x27181d=_0x232d3c['t']&&(_0x232d3c['t']&_0x29e939['PivotViewCellValueTypeEnum'][_0x41415f(0x298)])>0x0;if(_0x27181d&&(_0x175c48=''+_0x5c1690[_0x41415f(0x479)]),_0x232d3c['s']===_0x29e939[_0x41415f(0x203)][_0x41415f(0x1c3)]){let _0x267aaa=_0x175c48,_0x5551e4='';_0x29e939[_0x41415f(0x2ef)](_0x175c48)&&(_0x267aaa=_0x175c48[_0x41415f(0x1e7)],_0x5551e4=_0x175c48[_0x41415f(0x4a9)]);const _0x290799=_0x34fcdb&&!_0x285677&&!_0x27181d?_0x2420fe['numfmt'][_0x41415f(0x44f)](_0x34fcdb,Number(_0x267aaa)):_0x267aaa;_0x5551e4?_0x175c48=_0x290799+'\x20'+_0x5551e4:_0x175c48=_0x290799+'\x20'+_0x5c1690[_0x41415f(0x35e)];}else _0x232d3c['s']===_0x29e939[_0x41415f(0x203)][_0x41415f(0x448)]&&(_0x175c48=_0x175c48+'\x20'+_0x5c1690['sheets-pivot.grandTotal']);return _0x175c48;}function _0x448755(_0x1953a2){const _0x3a3ea2=_0x4a26b1;if(_0x29e939[_0x3a3ea2(0x4ac)](_0x1953a2)){const {errorType:_0x346f68}=_0x1953a2;switch(_0x346f68){case _0x29e939[_0x3a3ea2(0x49c)][_0x3a3ea2(0x2a3)]:return _0x4e490c[_0x3a3ea2(0x358)][_0x3a3ea2(0x2d5)];case _0x29e939[_0x3a3ea2(0x49c)][_0x3a3ea2(0x463)]:return _0x4e490c[_0x3a3ea2(0x358)][_0x3a3ea2(0x1e4)];case _0x29e939[_0x3a3ea2(0x49c)][_0x3a3ea2(0x307)]:return _0x4e490c['ErrorType'][_0x3a3ea2(0x2cb)];case _0x29e939[_0x3a3ea2(0x49c)]['NotName']:return _0x4e490c[_0x3a3ea2(0x358)][_0x3a3ea2(0x2cb)];case _0x29e939[_0x3a3ea2(0x49c)]['BadReference']:return _0x4e490c[_0x3a3ea2(0x358)]['REF'];}}return _0x1953a2;}function _0x44782c(_0x595323,_0x37a533,_0x58449c=!0x1,_0x4bfeda=!0x1){const _0x583a28=_0x4a26b1,{data:_0x8d878c}=_0x37a533,_0x1c7c96=_0x37a533['getRowCount'](),_0x53a448=_0x37a533[_0x583a28(0x446)]();if(_0x1c7c96<=0x0||_0x53a448<=0x0)return[];const _0x54bd4a=_0x37a533[_0x583a28(0x34c)](),_0xb34418=_0x37a533[_0x583a28(0x441)](),_0x5d0b19=_0x4bfeda?_0xb34418>=0x0?_0xb34418+0x1:0x0:_0x1c7c96,_0x26e3d7=_0x4bfeda?_0x54bd4a>=0x0?_0x54bd4a+0x1:0x0:_0x53a448,{row:_0x383207,col:_0x5c09ed}=_0x595323,_0x27debd=_0x383207,_0x5916f0=_0x5c09ed;if(_0x58449c){const _0x1ee2a1=[];for(const [_0x5484f2,_0x485095]of Object[_0x583a28(0x2db)](_0x8d878c))for(const [_0x251eb4,_0x2086f4]of Object['entries'](_0x485095))_0x1ee2a1[_0x583a28(0x2e9)](_0x2420fe[_0x583a28(0x1c1)](_0x27debd+Number(_0x5484f2),_0x5916f0+Number(_0x251eb4)));return _0x1ee2a1;}else{const _0x4a1a54=_0x4bfeda?_0x5d0b19>0x0?0x1:0x0:0x1,_0x2d0bd4=_0x4bfeda?_0x26e3d7>0x0?0x1:0x0:0x1,_0x133247=_0x383207+_0x5d0b19-_0x4a1a54,_0x4dcf72=_0x5c09ed+_0x26e3d7-_0x2d0bd4;return[{'startRow':_0x27debd,'startColumn':_0x5916f0,'endRow':_0x133247,'endColumn':_0x4dcf72}];}}const _0x2122db=_0x4a26b1(0x29d),_0x4b6e3a=_0x4a26b1(0x3cf);var _0x3960fe=(_0x4eeecb=>(_0x4eeecb[_0x4a26b1(0x2fa)]=_0x4a26b1(0x1b1),_0x4eeecb[_0x4a26b1(0x1cf)]=_0x4a26b1(0x1b5),_0x4eeecb['AddPivotField']=_0x4a26b1(0x2d2),_0x4eeecb[_0x4a26b1(0x1cb)]=_0x4a26b1(0x1cb),_0x4eeecb['AddPivotTable']='addPivotTable',_0x4eeecb['MovePivotField']=_0x4a26b1(0x427),_0x4eeecb[_0x4a26b1(0x3ed)]=_0x4a26b1(0x488),_0x4eeecb[_0x4a26b1(0x213)]=_0x4a26b1(0x2ec),_0x4eeecb[_0x4a26b1(0x467)]=_0x4a26b1(0x2f1),_0x4eeecb['SetPivotSort']=_0x4a26b1(0x1b0),_0x4eeecb[_0x4a26b1(0x2b3)]=_0x4a26b1(0x1d6),_0x4eeecb[_0x4a26b1(0x2e6)]=_0x4a26b1(0x4a7),_0x4eeecb[_0x4a26b1(0x499)]=_0x4a26b1(0x252),_0x4eeecb[_0x4a26b1(0x41c)]=_0x4a26b1(0x1ff),_0x4eeecb['SetValuePivotFilter']=_0x4a26b1(0x278),_0x4eeecb[_0x4a26b1(0x1e1)]=_0x4a26b1(0x2b5),_0x4eeecb[_0x4a26b1(0x33d)]=_0x4a26b1(0x253),_0x4eeecb))(_0x3960fe||{});const _0x3827dc={'sheets-pivot.blankValue':_0x4a26b1(0x34b),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x4a26b1(0x271),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x4a26b1(0x49b),'sheets-pivot.averageName':_0x4a26b1(0x201),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x4a26b1(0x3ca),'sheets-pivot.maxName':_0x4a26b1(0x377),'sheets-pivot.minName':_0x4a26b1(0x24d),'sheets-pivot.productName':_0x4a26b1(0x1f2),'sheets-pivot.stdDevName':_0x4a26b1(0x30b),'sheets-pivot.stdDevpName':_0x4a26b1(0x26f),'sheets-pivot.sumName':_0x4a26b1(0x453),'sheets-pivot.varName':_0x4a26b1(0x2f0),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x4a26b1(0x1c3),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x4a26b1(0x4a9),'sheets-pivot.blank':_0x4a26b1(0x2a1),'sheets-pivot.other':_0x4a26b1(0x298),'sheets-pivot.emptyPivot.filter':_0x4a26b1(0x2fa),'sheets-pivot.emptyPivot.row':_0x4a26b1(0x4b7),'sheets-pivot.emptyPivot.column':_0x4a26b1(0x35c),'sheets-pivot.emptyPivot.values':_0x4a26b1(0x31f)},_0x260677={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x395b91=_0x2420fe[_0x4a26b1(0x22b)](_0x4a26b1(0x23a)),_0x4b02ef=_0x2420fe[_0x4a26b1(0x375)](_0x4a26b1(0x219));var _0xfb6bb=(_0x5387bc=>(_0x5387bc[_0x4a26b1(0x24a)]='add',_0x5387bc[_0x4a26b1(0x19a)]=_0x4a26b1(0x19a),_0x5387bc['update']='update',_0x5387bc))(_0xfb6bb||{}),_0x2804e5=(_0x35d4e6=>(_0x35d4e6[_0x4a26b1(0x281)]=_0x4a26b1(0x24a),_0x35d4e6['Set']='set',_0x35d4e6[_0x4a26b1(0x2cf)]=_0x4a26b1(0x19a),_0x35d4e6))(_0x2804e5||{});const _0x150950={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x17b29b={'type':_0x2420fe[_0x4a26b1(0x30e)]['MUTATION'],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x9e7ba0={'type':_0x2420fe['CommandType'][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x23f),'handler':()=>!0x0},_0x32c379={'type':_0x2420fe['CommandType'][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x284),'handler':()=>!0x0},_0x30eef1={'type':_0x2420fe['CommandType']['MUTATION'],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x1da2de=Object[_0x4a26b1(0x230)],_0x48fd73=(_0x3e6238,_0x40ec31,_0x4680cc,_0x2a5a50)=>{for(var _0x47fbff=_0x2a5a50>0x1?void 0x0:_0x2a5a50?_0x1da2de(_0x40ec31,_0x4680cc):_0x40ec31,_0x42f134=_0x3e6238['length']-0x1,_0x1de84e;_0x42f134>=0x0;_0x42f134--)(_0x1de84e=_0x3e6238[_0x42f134])&&(_0x47fbff=_0x1de84e(_0x47fbff)||_0x47fbff);return _0x47fbff;},_0x274e0b=(_0x3dc8d5,_0x303bc6)=>(_0x1ea90f,_0x4d0855)=>_0x303bc6(_0x1ea90f,_0x4d0855,_0x3dc8d5);_0x1c5878[_0x4a26b1(0x29c)]=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0x5aba8d){const _0x1b9a02=_0x4a26b1;super(),_0x3b48fc(this,_0x1b9a02(0x33e),new Map()),this['_commandService']=_0x5aba8d;}['handleAsyncResponse'](_0x1e7b31){const _0x1518e6=_0x4a26b1,{version:_0x413af3}=_0x1e7b31,_0x154069=this[_0x1518e6(0x33e)][_0x1518e6(0x2e7)](_0x413af3);_0x154069&&(_0x154069(_0x1e7b31),this[_0x1518e6(0x33e)][_0x1518e6(0x19a)](_0x413af3));}[_0x4a26b1(0x2ed)](_0x19e201){return new Promise((_0x585bc6,_0x5d8342)=>{const _0x3f2474=_0x3b66,_0x3ee06f=this[_0x3f2474(0x3b4)]();this['_requestResolvers'][_0x3f2474(0x3fe)](_0x3ee06f,_0x585bc6),this['_commandService'][_0x3f2474(0x29b)](_0x150950['id'],{'version':_0x3ee06f,..._0x19e201},{'onlyLocal':!0x0});});}[_0x4a26b1(0x3b4)](){const _0x899a56=_0x4a26b1;return Math[_0x899a56(0x1b7)]()[_0x899a56(0x477)](0x24)[_0x899a56(0x1f0)](0x2,0x10);}},_0x1c5878[_0x4a26b1(0x29c)]=_0x48fd73([_0x274e0b(0x0,_0x2420fe['Inject'](_0x2420fe[_0x4a26b1(0x1dd)]))],_0x1c5878[_0x4a26b1(0x29c)]);const _0x145381={0x0:'m',0x1:'B',0x2:'E',0x3:'a',0x4:'e',0x5:'f',0x6:'c',0x7:'W',0x8:'C',0x9:'J','P':'0','J':'1','g':'2','Q':'3','p':'4','h':'5','n':'6','l':'7','v':'8','Y':'9','j':'b','A':'d','M':'g','f':'h','V':'i','s':'j','e':'k','w':'l','d':'n','W':'o','k':'p','u':'q','z':'r','y':'s','N':'t','Z':'u','X':'v','i':'w','S':'x','T':'y','O':'z','E':'A','t':'D','H':'F','L':'G','I':'H','c':'I','G':'K','q':'L','D':'M','b':'N','a':'O','U':'P','x':'Q','F':'R','C':'S','o':'T','B':'U','r':'V','K':'X','m':'Y','R':'Z'},_0x327c6e=_0x4a26b1(0x21a),_0xf3157f=_0x1ae569=>{const _0x951f92=_0x4a26b1;var _0x4e63b5;return((_0x4e63b5=_0x1ae569[_0x951f92(0x3dc)])==null?void 0x0:_0x4e63b5[_0x951f92(0x285)][_0x951f92(0x32b)](/\r\n$/,''))||'';};class _0x474568 extends _0x29e939[_0x4a26b1(0x36a)]{constructor(_0x3f038a,_0xbba9d4){const _0x1eeec3=_0x4a26b1;super(),_0x3b48fc(this,_0x1eeec3(0x316),{}),_0x3b48fc(this,_0x1eeec3(0x338)),_0x3b48fc(this,_0x1eeec3(0x322)),(this[_0x1eeec3(0x338)]=_0xbba9d4,this[_0x1eeec3(0x322)]=_0x3f038a);}[_0x4a26b1(0x40d)](){const _0x8fa5ab=_0x4a26b1;for(const _0x3f1edc in this[_0x8fa5ab(0x1a0)]){const _0x3855dc=this['dataFields'][_0x3f1edc],_0x5baf67=_0x3855dc[_0x8fa5ab(0x432)]();this['rangeKeyMap'][_0x5baf67]=_0x3855dc[_0x8fa5ab(0x37b)]();}}[_0x4a26b1(0x461)](){const _0x1cf2f6=_0x4a26b1,_0x5df470=this[_0x1cf2f6(0x322)];return _0x23a1fa[_0x1cf2f6(0x392)](_0x5df470);}[_0x4a26b1(0x443)](_0x58f4dc){const _0x3c8709=_0x4a26b1,_0x104296=this[_0x3c8709(0x1a0)][_0x58f4dc]['rangeKey'];delete this[_0x3c8709(0x1a0)][_0x58f4dc],delete this[_0x3c8709(0x316)][_0x104296];}[_0x4a26b1(0x4a1)](_0x87f88e){const _0x38c631=_0x4a26b1;this[_0x38c631(0x1a0)][_0x87f88e[_0x38c631(0x37b)]()]=_0x87f88e;}[_0x4a26b1(0x3fd)](_0x14cd74){const _0x308fa6=_0x4a26b1;var _0xd815a4,_0x1e2b97;const _0x296132=this[_0x308fa6(0x322)][_0x308fa6(0x294)](_0x14cd74);if(_0x296132){const {unitId:_0x2965f4,subUnitId:_0x20e083}=_0x296132,_0x1a899b=(_0xd815a4=this[_0x308fa6(0x322)][_0x308fa6(0x3b3)](_0x2965f4,_0x20e083,_0x14cd74))==null?void 0x0:_0xd815a4['sourceRangeInfo'];this[_0x308fa6(0x322)][_0x308fa6(0x419)]({'token':_0x14cd74,'type':_0xfb6bb[_0x308fa6(0x19a)],'dataRangeInfo':_0x1a899b});}(_0x1e2b97=this[_0x308fa6(0x1b8)](_0x14cd74))==null||_0x1e2b97[_0x308fa6(0x417)](),delete this[_0x308fa6(0x484)][_0x14cd74];}[_0x4a26b1(0x432)](_0x5d1cdd,_0x224856){const {sheetName:_0x1863d2,unitId:_0x534929,range:_0x42ff72}=_0x5d1cdd,{startRow:_0x54d236,endRow:_0x532d84}=_0x42ff72;return _0x4e490c['serializeRangeWithSpreadsheet'](_0x534929,_0x1863d2,{'startRow':_0x54d236,'endRow':_0x532d84,'startColumn':_0x224856,'endColumn':_0x224856});}[_0x4a26b1(0x3f2)](_0x4f4e46){const _0x4d5939=_0x4a26b1;return this['dataFields'][this[_0x4d5939(0x316)][_0x4f4e46]];}[_0x4a26b1(0x27d)](_0x4a436c,_0x4ddd24){const _0x4d7f17=_0x4a26b1;this[_0x4d7f17(0x316)][_0x4a436c]=_0x4ddd24;}[_0x4a26b1(0x214)](_0x515b04,_0x41abd5){const _0x5ca912=_0x4a26b1;this[_0x5ca912(0x316)][_0x41abd5]=this['rangeKeyMap'][_0x515b04],delete this[_0x5ca912(0x316)][_0x515b04];}[_0x4a26b1(0x1eb)](_0x3ef107,_0x3156b5,_0x10bb08,_0x36551e){const _0x4ad712=_0x4a26b1,_0x2c1a53=new _0x29e939[(_0x4ad712(0x451))](this);_0x2c1a53[_0x4ad712(0x2f5)](_0x3156b5);const _0x33b99e=[];let _0x43cb02=0x0;for(const _0x5cb2bb of _0x2c1a53[_0x4ad712(0x45c)]){const _0x57834f=this[_0x4ad712(0x432)](_0x10bb08,_0x43cb02),_0x35328d=this[_0x4ad712(0x1a0)][_0x5cb2bb];_0x35328d&&(_0x35328d[_0x4ad712(0x2c0)]=_0x57834f,this['setRangeKeyMap'](_0x57834f,_0x5cb2bb),_0x33b99e[_0x4ad712(0x2e9)]({'index':_0x43cb02,'dataField':_0x35328d})),_0x43cb02++;}return this['addCollection'](_0x3ef107,_0x2c1a53,_0x10bb08,_0x36551e),{'collection':_0x2c1a53,'updateDataFieldList':_0x33b99e};}[_0x4a26b1(0x20e)](_0x5125ff,_0x53da3d){const _0x4a2678=_0x4a26b1;return _0x5125ff[_0x4a2678(0x42e)]===_0x2420fe[_0x4a2678(0x495)]['COLUMN']?{'startRow':0x0,'startColumn':_0x5125ff[_0x4a2678(0x2b4)],'endRow':_0x53da3d[_0x4a2678(0x425)]()-0x1,'endColumn':_0x5125ff[_0x4a2678(0x21c)]}:{'startRow':_0x5125ff[_0x4a2678(0x1e0)],'startColumn':_0x5125ff[_0x4a2678(0x2b4)],'endRow':_0x5125ff['endRow'],'endColumn':_0x5125ff[_0x4a2678(0x21c)]};}[_0x4a26b1(0x24e)](_0x389138){const _0x3139bd=_0x4a26b1,{sheetName:_0x584e85,range:_0x4ed2ce}=_0x389138,_0x4f4787=this[_0x3139bd(0x338)]['getCurrentUnitForType'](_0x2420fe['UniverInstanceType'][_0x3139bd(0x3c7)]),_0x57c597=_0x4f4787[_0x3139bd(0x1dc)](_0x584e85),_0x5c7191=_0x57c597['getCellMatrix'](),{startColumn:_0xa54ee9,startRow:_0x517411,endColumn:_0x36dc0e}=this['getRangeStartEndInfo'](_0x4ed2ce,_0x57c597),_0x303592=_0x4f4787[_0x3139bd(0x356)](),_0x1f10d0=new _0x29e939[(_0x3139bd(0x451))](this);_0x1f10d0[_0x3139bd(0x2f2)](_0x389138);const _0x125d38=[],_0x377d1b={};for(let _0x8b6cb8=_0xa54ee9;_0x8b6cb8<=_0x36dc0e;_0x8b6cb8++){const _0x20a363=_0x5c7191[_0x3139bd(0x23e)](_0x517411,_0x8b6cb8),_0x2f1068=this[_0x3139bd(0x432)](_0x389138,_0x8b6cb8),_0x1e37c2=this['getDataFieldByRangeKey'](_0x2f1068);if(_0x1e37c2)_0x1f10d0['addField'](_0x1e37c2[_0x3139bd(0x37b)](),_0x1e37c2[_0x3139bd(0x413)]());else{const _0x12092a=this[_0x3139bd(0x255)]();let _0x4e8492=this[_0x3139bd(0x44b)](_0x20a363,_0x303592,_0x377d1b);_0x29e939[_0x3139bd(0x3a9)](_0x4e8492)&&(_0x4e8492=_0x2420fe[_0x3139bd(0x475)]['format'](_0x4e8492['f'],Number(_0x4e8492['v'])));const _0x307020=this[_0x3139bd(0x355)](_0x4e8492,_0x8b6cb8),_0x3c1da8=new _0x29e939['DataField'](_0x12092a,_0x307020,_0x29e939[_0x3139bd(0x455)](0x3));_0x3c1da8[_0x3139bd(0x2c0)]=_0x2f1068,this[_0x3139bd(0x1a0)][_0x12092a]=_0x3c1da8,_0x1f10d0[_0x3139bd(0x318)](_0x12092a,_0x307020),_0x125d38['push']({'index':_0x8b6cb8,'dataField':_0x3c1da8});}}return{'updateDataFieldList':_0x125d38,'collection':_0x1f10d0};}[_0x4a26b1(0x1d8)](_0x9ac168){const _0x190de8=_0x4a26b1;return this[_0x190de8(0x322)][_0x190de8(0x37a)]()['sheets-pivot.columnName']+'\x20'+_0x2420fe[_0x190de8(0x391)](_0x9ac168);}[_0x4a26b1(0x355)](_0xfa22c1,_0x59b362){const _0x532517=_0x4a26b1;return _0xfa22c1==null||_0xfa22c1===''?this[_0x532517(0x1d8)](_0x59b362):String(_0xfa22c1);}['getCollection'](_0xfab14d){const _0x5b5839=_0x4a26b1;return this[_0x5b5839(0x484)][_0xfab14d];}[_0x4a26b1(0x457)](_0x26c7d9,_0x28d975,_0xb740ba,_0x44cb87){const _0x48041f=_0x4a26b1;this[_0x48041f(0x484)][_0x26c7d9]=_0x28d975,_0x28d975[_0x48041f(0x2f2)](_0xb740ba),this[_0x48041f(0x322)][_0x48041f(0x419)]({'token':_0x26c7d9,'type':_0xfb6bb[_0x48041f(0x24a)],'dataRangeInfo':_0xb740ba,'targetCellInfo':_0x44cb87});}[_0x4a26b1(0x398)](_0x51ec34,_0x48b175){const _0x54a3d4=_0x4a26b1,_0x9cabe0=this[_0x54a3d4(0x1b8)](_0x51ec34),_0x1d21d1=_0x9cabe0[_0x54a3d4(0x468)]();let _0xc71bda=0x0;for(const _0x108686 of _0x1d21d1){const _0x541001=_0x9cabe0['getFieldById'](_0x108686),_0x3310b4=this[_0x54a3d4(0x432)](_0x48b175,_0xc71bda);this[_0x54a3d4(0x214)](_0x541001['rangeKey'],_0x3310b4),_0xc71bda++;}}[_0x4a26b1(0x2a2)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x153212,_0x22d61c){const _0x21bbfd=_0x4a26b1;if(this[_0x21bbfd(0x1b8)](_0x153212)){const _0x4beeaa=this[_0x21bbfd(0x39b)](_0x22d61c),_0x1eb002=[];for(const _0x36ab70 of _0x4beeaa)this[_0x21bbfd(0x316)][_0x36ab70]!==void 0x0&&_0x1eb002[_0x21bbfd(0x2e9)](this[_0x21bbfd(0x316)][_0x36ab70]);const _0x47e358=this[_0x21bbfd(0x38b)](_0x153212),_0x3e401f=[],_0x5b09ca=new Set(_0x1eb002);for(const _0x29123d of _0x47e358)_0x5b09ca[_0x21bbfd(0x308)](_0x29123d)||_0x3e401f[_0x21bbfd(0x2e9)](_0x29123d);return _0x3e401f;}}[_0x4a26b1(0x295)](_0x376188,_0x476747,_0x3319d3,_0x330613,_0x26e1cf){const _0x26c69a=_0x4a26b1;return _0x476747&&_0x476747[_0x26c69a(0x23e)](_0x330613,_0x26e1cf)?_0x476747[_0x26c69a(0x23e)](_0x330613,_0x26e1cf):_0x3319d3&&_0x3319d3[_0x26c69a(0x23e)](_0x330613,_0x26e1cf)?_0x3319d3[_0x26c69a(0x23e)](_0x330613,_0x26e1cf):_0x376188[_0x26c69a(0x23e)](_0x330613,_0x26e1cf);}['refreshDataField'](_0x333266,_0x10e9e5,_0x2726d3,_0x7e8422){const _0x5a88b3=_0x4a26b1,_0x5039f4=this['dataFields'][_0x333266];if(!_0x5039f4)return;const {subUnitId:_0x428a43,range:_0x190f88,unitId:_0x43c605}=_0x10e9e5,_0x1236c8=this['_univerInstanceService'][_0x5a88b3(0x1df)](_0x43c605);if(!_0x1236c8){console[_0x5a88b3(0x471)](_0x5a88b3(0x400));return;}const _0x3d0d3d=_0x1236c8[_0x5a88b3(0x368)](_0x428a43),_0x469417=_0x3d0d3d[_0x5a88b3(0x30a)](),{arrayFormulaCellDataMatrix:_0x34bea4,unitDataMatrix:_0x26d127}=_0x7e8422||{},{startRow:_0x72ab21,startColumn:_0xa9c937,endRow:_0x7acb81}=this[_0x5a88b3(0x20e)](_0x190f88,_0x3d0d3d);_0x5039f4[_0x5a88b3(0x25a)]();const _0x17606c=_0x1236c8['getStyles'](),_0x42ff44={},_0x4b9c93=this[_0x5a88b3(0x295)](_0x469417,_0x34bea4,_0x26d127,_0x72ab21,_0xa9c937+_0x2726d3);let _0x434bec=this['adjustSheetCellData'](_0x4b9c93,_0x17606c,_0x42ff44);_0x29e939[_0x5a88b3(0x3a9)](_0x434bec)&&(_0x434bec=_0x2420fe[_0x5a88b3(0x475)][_0x5a88b3(0x44f)](_0x434bec['f'],Number(_0x434bec['v'])));const _0x3686a6=this[_0x5a88b3(0x355)](_0x434bec,_0xa9c937+_0x2726d3);_0x5039f4[_0x5a88b3(0x2c3)](_0x3686a6);for(let _0x36a389=_0x72ab21+0x1;_0x36a389<=_0x7acb81;_0x36a389++){const _0x5c5aaa=this[_0x5a88b3(0x295)](_0x469417,_0x34bea4,_0x26d127,_0x36a389,_0xa9c937+_0x2726d3);_0x5039f4[_0x5a88b3(0x1b4)](this[_0x5a88b3(0x44b)](_0x5c5aaa,_0x17606c,_0x42ff44),_0x36a389-0x1-_0x72ab21);}}[_0x4a26b1(0x3dd)](_0xc9b29c,_0x4780e4,_0x208759){const _0x36ef45=_0x4a26b1,{subUnitId:_0x19f123,range:_0x24bf0d,unitId:_0x325ab9}=_0x208759,_0x19eda0=this[_0x36ef45(0x338)][_0x36ef45(0x1df)](_0x325ab9);if(!_0x19eda0){console[_0x36ef45(0x471)](_0x36ef45(0x400));return;}const _0xeccfec=_0x19eda0['getSheetBySheetId'](_0x19f123),_0x34fa1b=_0xeccfec['getCellMatrix'](),{startRow:_0x333a51,startColumn:_0x554f0d,endRow:_0x9ddd82}=this[_0x36ef45(0x20e)](_0x24bf0d,_0xeccfec),_0x11aeed=_0x19eda0[_0x36ef45(0x356)](),_0x3f7cf5={};for(const {dataField:_0x5077e0,index:_0xd5ced0}of _0x4780e4){_0x5077e0[_0x36ef45(0x25a)]();const _0x46a3d5=this[_0x36ef45(0x295)](_0x34fa1b,void 0x0,void 0x0,_0x333a51,_0x554f0d+_0xd5ced0);let _0x46323c=this[_0x36ef45(0x44b)](_0x46a3d5,_0x11aeed,_0x3f7cf5);_0x29e939[_0x36ef45(0x3a9)](_0x46323c)&&(_0x46323c=_0x2420fe[_0x36ef45(0x475)][_0x36ef45(0x44f)](_0x46323c['f'],Number(_0x46323c['v'])));const _0x98bd42=this[_0x36ef45(0x355)](_0x46323c,_0x554f0d+_0xd5ced0);_0x5077e0[_0x36ef45(0x2c3)](_0x98bd42);}_0xc9b29c['updateAllDisplayName']();for(let _0x124738=_0x333a51+0x1;_0x124738<=_0x9ddd82;_0x124738++)for(const {index:_0x5e3b95,dataField:_0x580138}of _0x4780e4){const _0x23dd4b=_0x34fa1b['getValue'](_0x124738,_0x554f0d+_0x5e3b95);_0x580138[_0x36ef45(0x1b4)](this[_0x36ef45(0x44b)](_0x23dd4b,_0x11aeed,_0x3f7cf5),_0x124738-0x1-_0x333a51);}_0xc9b29c[_0x36ef45(0x47b)](_0x9ddd82-_0x333a51);}[_0x4a26b1(0x39b)](_0x11ffd5){const _0x559521=_0x4a26b1,{range:_0x50e877}=_0x11ffd5,{startColumn:_0x5f21d7,endColumn:_0x19eb2d}=_0x50e877,_0x549a21=[];for(let _0x4e7c83=_0x5f21d7;_0x4e7c83<=_0x19eb2d;_0x4e7c83++)_0x549a21[_0x559521(0x2e9)](this['getRangeKey'](_0x11ffd5,_0x4e7c83));return _0x549a21;}[_0x4a26b1(0x44b)](_0x3f57b6,_0x203205,_0x58f871){const _0x4bbec7=_0x4a26b1;if(_0x3f57b6){const {s:_0xccf1fa,v:_0x55241f,t:_0x5388d3,p:_0x3bac2f}=_0x3f57b6;if(_0x3bac2f)return _0xf3157f(_0x3bac2f);const _0x3bc633=_0x203205[_0x4bbec7(0x2e7)](_0xccf1fa);if(_0x3bc633&&_0x5388d3===_0x2420fe[_0x4bbec7(0x3cc)][_0x4bbec7(0x25b)]&&_0x3bc633['n']){const {pattern:_0x143a26}=_0x3bc633['n'];_0x58f871[_0x143a26]||(_0x58f871[_0x143a26]=_0x2420fe[_0x4bbec7(0x475)][_0x4bbec7(0x436)](_0x143a26));const _0x5847f2=_0x58f871[_0x143a26],_0x5f20c3=_0x5847f2[_0x4bbec7(0x3b9)];if(_0x5847f2[_0x4bbec7(0x4a0)])return String(_0x55241f);if(_0x5f20c3)return{'v':_0x55241f,'f':_0x143a26};}if(_0x5388d3===_0x2420fe[_0x4bbec7(0x3cc)]['NUMBER'])return Number(_0x55241f);if(_0x5388d3===_0x2420fe[_0x4bbec7(0x3cc)][_0x4bbec7(0x39d)]||_0x5388d3===_0x2420fe[_0x4bbec7(0x3cc)][_0x4bbec7(0x200)])return String(_0x55241f);if(_0x5388d3===void 0x0){const _0x5ede0c=Number(_0x55241f);if(!Number['isNaN'](_0x5ede0c)&&String(_0x5ede0c)===_0x55241f)return _0x5ede0c;}return _0x55241f!=null?_0x55241f:null;}else return null;}['getRangeData'](_0x458095){const _0x2c8757=_0x4a26b1,{sheetName:_0x5e36b2,range:_0x3d9b41,unitId:_0x383d2f}=_0x458095,_0x4308e8=this[_0x2c8757(0x338)][_0x2c8757(0x1df)](_0x383d2f);if(!_0x4308e8)return console['error'](_0x2c8757(0x400)),{'header':[],'data':[]};const _0xfd00dc=_0x4308e8['getSheetBySheetName'](_0x5e36b2),_0x5a04b8=_0xfd00dc[_0x2c8757(0x30a)](),{startRow:_0x8b4709,startColumn:_0x168385,endRow:_0x3435a4,endColumn:_0x37163e}=this[_0x2c8757(0x20e)](_0x3d9b41,_0xfd00dc),_0x10a0fd=_0x4308e8[_0x2c8757(0x356)](),_0x5c3a42=[],_0x3fbb2f=[],_0x44e52e={};for(let _0x1dca5e=_0x8b4709;_0x1dca5e<=_0x3435a4;_0x1dca5e++){const _0x24002c=[];for(let _0x847924=_0x168385;_0x847924<=_0x37163e;_0x847924++){const _0xa5757d=_0x5a04b8[_0x2c8757(0x23e)](_0x1dca5e,_0x847924);_0x1dca5e===_0x8b4709?_0x5c3a42[_0x2c8757(0x2e9)](_0xa5757d==null?null:String(_0xa5757d['v'])):_0x24002c['push'](this[_0x2c8757(0x44b)](_0xa5757d,_0x10a0fd,_0x44e52e));}_0x3fbb2f[_0x2c8757(0x2e9)](_0x24002c);}return{'header':_0x5c3a42,'data':_0x3fbb2f};}[_0x4a26b1(0x1f9)](){const _0x38f716=_0x4a26b1;return super[_0x38f716(0x1f9)]();}['fromJSON'](_0x1f7e4a){const _0x269223=_0x4a26b1;super[_0x269223(0x2f5)](_0x1f7e4a),this[_0x269223(0x40d)]();}[_0x4a26b1(0x417)](){const _0x516a1c=_0x4a26b1;super[_0x516a1c(0x417)](),this[_0x516a1c(0x316)]={},this[_0x516a1c(0x322)]=null;}}const _0x781b0c=_0x44dc83=>{const _0x4a5d01=_0x4a26b1,{targetCellInfo:_0x45a371}=_0x44dc83,{matrixCache:_0x4365c1,rangesCache:_0x3c0094}=_0x11bd73({'filter':_0x4a5d01(0x2fa),'row':_0x4a5d01(0x4b7),'column':_0x4a5d01(0x35c),'values':'Values'},_0x45a371),_0x55897b=new _0x2420fe[(_0x4a5d01(0x4b4))]();return _0x4365c1[_0x4a5d01(0x370)]((_0x273992,_0x1f5cb0,_0x35f726)=>{const _0x56d422=_0x4a5d01;_0x55897b[_0x56d422(0x3a1)](_0x273992,_0x1f5cb0,_0x35f726);}),{'matrix':_0x55897b,'rangesCache':_0x3c0094};},_0x1e1874=_0x1ec730=>{const _0x265848=_0x4a26b1;let _0x3a44fa;if(_0x1ec730!=null&&_0x1ec730['v']||(_0x1ec730==null?void 0x0:_0x1ec730['v'])===0x0){_0x3a44fa||(_0x3a44fa={});const _0x4a8101=_0x448755(_0x1ec730['v']);typeof _0x4a8101==_0x265848(0x354)?_0x3a44fa['t']=_0x2420fe[_0x265848(0x3cc)][_0x265848(0x25b)]:typeof _0x4a8101==_0x265848(0x1de)&&(_0x3a44fa['t']=_0x2420fe['CellValueType'][_0x265848(0x39d)]),_0x3a44fa['v']=_0x4a8101;}return _0x3a44fa;},_0x556a29=(_0x161c0d,_0x42b89d,_0x572644)=>{const _0x775714=_0x4a26b1;var _0x3544ae,_0x1c5452,_0x55f90b,_0x515291,_0x44fd26,_0x58db1b,_0x335945,_0x2896a3,_0x321522,_0x62ba07,_0x51c67b,_0x22b499;const {cornerView:_0x3ff11e,rowView:_0x31bca9,colView:_0x12ebdf,dataView:_0x425f44,pageView:_0x266b61,formatMap:_0x41e896}=_0x161c0d,{row:_0x2a09de,col:_0x7a0637}=_0x42b89d,_0x36c503=new _0x2420fe[(_0x775714(0x4b4))]();let _0x3ae600=_0x2a09de,_0x1cd991=_0x7a0637;Object['keys'](_0x266b61[_0x775714(0x36e)])[_0x775714(0x1cc)](_0x5a4226=>{const _0x28d80b=_0x775714;Object['keys'](_0x266b61[_0x28d80b(0x36e)][Number(_0x5a4226)])['forEach'](_0x5c197b=>{const _0x542070=_0x28d80b,_0x19fb9e={..._0x266b61[_0x542070(0x36e)][Number(_0x5a4226)][Number(_0x5c197b)]};_0x36c503[_0x542070(0x3a1)](Number(_0x5a4226)+_0x3ae600,Number(_0x5c197b)+_0x1cd991,_0x1e1874(_0x19fb9e));});});const _0x57a367=Object['keys'](_0x266b61[_0x775714(0x36e)])[_0x775714(0x247)];_0x3ae600+=_0x57a367+(_0x57a367?_0x59c838:0x0);const _0x1a5eb5=_0x3ff11e[_0x775714(0x425)](),_0x3b4abd=_0x3ff11e[_0x775714(0x446)]();for(let _0x2e0cdc=0x0;_0x2e0cdc<_0x1a5eb5;_0x2e0cdc++)for(let _0x18842f=0x0;_0x18842f<_0x3b4abd;_0x18842f++){const _0x34ecc8={...(_0x1c5452=(_0x3544ae=_0x3ff11e[_0x775714(0x36e)])==null?void 0x0:_0x3544ae[_0x2e0cdc])==null?void 0x0:_0x1c5452[_0x18842f]};_0x34ecc8&&((_0x55f90b=_0x31bca9[_0x775714(0x2e8)][_0x18842f])!=null&&_0x55f90b[_0x775714(0x311)])&&_0x18842f===_0x3b4abd-0x1&&_0x2e0cdc===_0x1a5eb5-0x1&&(_0x34ecc8['v']=''+_0x572644['sheets-pivot.value']),_0x36c503['setValue'](_0x2e0cdc+_0x3ae600,_0x18842f+_0x1cd991,_0x1e1874(_0x34ecc8));}_0x1cd991+=_0x3b4abd;const _0x488b74=_0x12ebdf[_0x775714(0x2e8)],_0x1d74e3=_0x12ebdf[_0x775714(0x441)]()>=0x0?_0x12ebdf['getLastRow']()+0x1:0x0,_0x42c35d=_0x12ebdf[_0x775714(0x34c)]()>=0x0?_0x12ebdf[_0x775714(0x34c)]()+0x1:0x0;for(let _0x1f781e=0x0;_0x1f781e<_0x42c35d;_0x1f781e++)for(let _0x531386=0x0;_0x531386<_0x1d74e3;_0x531386++){const _0x43b70e={...(_0x44fd26=(_0x515291=_0x12ebdf['data'])==null?void 0x0:_0x515291[_0x1f781e])==null?void 0x0:_0x44fd26[_0x531386]},_0x4df4bc=(_0x58db1b=_0x488b74[_0x1f781e])==null?void 0x0:_0x58db1b['tableFieldId'],_0x122da8=_0x41e896[_0x4df4bc];_0x43b70e&&(_0x43b70e['v']=_0x2eb36a(_0x43b70e,_0x1f781e===0x0&&((_0x335945=_0x12ebdf[_0x775714(0x2d3)](_0x531386+0x1))==null?void 0x0:_0x335945['isValue']),_0x122da8,_0x572644)),_0x36c503[_0x775714(0x3a1)](_0x1f781e+_0x3ae600,_0x531386+_0x1cd991,_0x1e1874(_0x43b70e));}_0x3ae600+=_0x1a5eb5;const _0xc49a88=_0x31bca9['headerMap'],_0x1ab76e=_0x31bca9[_0x775714(0x441)]()>=0x0?_0x31bca9['getLastRow']()+0x1:0x0,_0x5ca73a=_0x31bca9[_0x775714(0x34c)]()>=0x0?_0x31bca9[_0x775714(0x34c)]()+0x1:0x0;for(let _0x4d40f0=0x0;_0x4d40f0<_0x1ab76e;_0x4d40f0++)for(let _0x3407f2=0x0;_0x3407f2<_0x5ca73a;_0x3407f2++){const _0x2acc97={...(_0x321522=(_0x2896a3=_0x31bca9[_0x775714(0x36e)])==null?void 0x0:_0x2896a3[_0x4d40f0])==null?void 0x0:_0x321522[_0x3407f2]},_0x3ac28f=(_0x62ba07=_0xc49a88[_0x3407f2])==null?void 0x0:_0x62ba07[_0x775714(0x3b6)],_0x4d3459=_0x41e896[_0x3ac28f];_0x2acc97&&(_0x2acc97['v']=_0x2eb36a(_0x2acc97,!0x1,_0x4d3459,_0x572644)),_0x36c503[_0x775714(0x3a1)](_0x4d40f0+_0x3ae600,_0x3407f2+_0x7a0637,_0x1e1874(_0x2acc97));}const _0x5d7044=_0x425f44[_0x775714(0x425)](),_0x5f0a76=_0x425f44['getColCount']();for(let _0x503bdb=0x0;_0x503bdb<_0x5d7044;_0x503bdb++)for(let _0x16b352=0x0;_0x16b352<_0x5f0a76;_0x16b352++){const _0x34cd8e={...(_0x22b499=(_0x51c67b=_0x425f44['data'])==null?void 0x0:_0x51c67b[_0x503bdb])==null?void 0x0:_0x22b499[_0x16b352]};_0x36c503['setValue'](_0x503bdb+_0x3ae600,_0x16b352+_0x1cd991,_0x1e1874(_0x34cd8e));}return _0x36c503;},_0x488a9c=_0x5d6201=>{const _0x2316be=_0x4a26b1,{view:_0x169a13,targetCellInfo:_0x16b966,isEmpty:_0x5be81d,textInfo:_0x1d42e6}=_0x5d6201;if(_0x5be81d)return _0x781b0c(_0x5d6201);const {pageView:_0x5cb8f1,cornerView:_0x412148,rowView:_0x14ed60,colView:_0x5e2ca6,dataView:_0x51d7f1}=_0x169a13,_0x421350=_0x44782c(_0x16b966,_0x5cb8f1,!0x0),_0x140436=_0x5cb8f1[_0x2316be(0x378)]>=0x0?_0x5cb8f1['lastRow']+0x1:0x0,_0xcc303f=_0x412148[_0x2316be(0x425)](),_0x5da236=_0x412148[_0x2316be(0x446)](),_0x4d1336=_0x421350[_0x2316be(0x247)]>0x0?_0x59c838:0x0,_0x5ef20f=_0x44782c({'row':_0x16b966['row']+_0x140436+_0x4d1336,'col':_0x16b966['col']},_0x412148,!0x1,!0x1),_0x589a98=_0x44782c({'row':_0x16b966['row']+_0x140436+_0x4d1336+_0xcc303f,'col':_0x16b966['col']},_0x14ed60,!0x1,!0x0),_0x42878e=_0x44782c({'row':_0x16b966[_0x2316be(0x1c0)]+_0x140436+_0x4d1336,'col':_0x16b966[_0x2316be(0x43b)]+_0x5da236},_0x5e2ca6,!0x1,!0x0),_0x4369a7=_0x44782c({'row':_0x16b966[_0x2316be(0x1c0)]+_0x140436+_0x4d1336+_0xcc303f,'col':_0x16b966[_0x2316be(0x43b)]+_0x5da236},_0x51d7f1,!0x1,!0x1),_0xbc929f={'rowRanges':_0x589a98,'colRanges':_0x42878e,'cornerRanges':_0x5ef20f,'dataRanges':_0x4369a7,'pageRanges':_0x421350};return{'matrix':_0x556a29(_0x169a13,_0x16b966,_0x1d42e6),'rangesCache':_0xbc929f};};var _0x41a4f1=Object[_0x4a26b1(0x230)],_0x4bcb2a=(_0x57422a,_0x4b7313,_0x2ad6c6,_0x2de711)=>{const _0x71a9cb=_0x4a26b1;for(var _0x22bc50=_0x2de711>0x1?void 0x0:_0x2de711?_0x41a4f1(_0x4b7313,_0x2ad6c6):_0x4b7313,_0x5f3a75=_0x57422a[_0x71a9cb(0x247)]-0x1,_0x122b5e;_0x5f3a75>=0x0;_0x5f3a75--)(_0x122b5e=_0x57422a[_0x5f3a75])&&(_0x22bc50=_0x122b5e(_0x22bc50)||_0x22bc50);return _0x22bc50;},_0x5278cf=(_0x3d026a,_0x37787f)=>(_0x4dc1d4,_0x2a1ee5)=>_0x37787f(_0x4dc1d4,_0x2a1ee5,_0x3d026a);_0x1c5878[_0x4a26b1(0x342)]=class extends _0x2420fe['Disposable']{constructor(_0x4ada16,_0x592008,_0x4ad196,_0x540fc8,_0x489e3c){const _0x4d2c21=_0x4a26b1;super(),_0x3b48fc(this,_0x4d2c21(0x1d3),new Map()),_0x3b48fc(this,'_pivotTableInstanceCache',new Map()),_0x3b48fc(this,_0x4d2c21(0x2a5),new Map()),_0x3b48fc(this,_0x4d2c21(0x3fa)),_0x3b48fc(this,_0x4d2c21(0x440),new _0x5d8adc[(_0x4d2c21(0x20b))]()),_0x3b48fc(this,'collectionChange$',this[_0x4d2c21(0x440)][_0x4d2c21(0x371)]()),_0x3b48fc(this,_0x4d2c21(0x3f4),new _0x5d8adc[(_0x4d2c21(0x20b))]()),_0x3b48fc(this,'viewData$',this[_0x4d2c21(0x3f4)][_0x4d2c21(0x371)]()),_0x3b48fc(this,'_fieldsCollectionChange$',new _0x5d8adc[(_0x4d2c21(0x20b))]()),_0x3b48fc(this,_0x4d2c21(0x40e),this[_0x4d2c21(0x286)][_0x4d2c21(0x371)]()),_0x3b48fc(this,_0x4d2c21(0x4a6),new Map()),_0x3b48fc(this,_0x4d2c21(0x25c),[]),_0x3b48fc(this,_0x4d2c21(0x1b2),new Map()),(this[_0x4d2c21(0x433)]=_0x4ada16,this[_0x4d2c21(0x338)]=_0x592008,this['_lifecycleService']=_0x4ad196,this[_0x4d2c21(0x408)]=_0x540fc8,this[_0x4d2c21(0x3f3)]=_0x489e3c,this[_0x4d2c21(0x386)]());}['getTextInfo'](){const _0x1e35d1=_0x4a26b1;return this[_0x1e35d1(0x3fa)]?this[_0x1e35d1(0x3fa)]:_0x3827dc;}[_0x4a26b1(0x46c)](_0x1aa328){const _0x60f46f=_0x4a26b1;this[_0x60f46f(0x3fa)]=_0x1aa328;}[_0x4a26b1(0x398)](_0x1f3ea3){const _0x339cb2=_0x4a26b1;var _0x31d2b0;const {from:_0x1256d4,to:_0x407509,unitId:_0x33fb47,fromRange:_0x3320d7,toRange:_0x38261d}=_0x1f3ea3;if(_0x1256d4&&_0x407509){const _0x3f4830=this['getDataFieldManager'](_0x33fb47),_0x2c306b=this[_0x339cb2(0x1d3)]['get'](_0x33fb47),_0x36b815=(_0x31d2b0=this['_univerInstanceService'][_0x339cb2(0x1df)](_0x33fb47))==null?void 0x0:_0x31d2b0[_0x339cb2(0x368)](_0x407509[_0x339cb2(0x328)]);if(!_0x2c306b||!_0x36b815)return;const _0x500511=_0x36b815==null?void 0x0:_0x36b815[_0x339cb2(0x413)]();for(const [_0x31b10f,_0x14faa0]of _0x2c306b[_0x339cb2(0x2db)]())for(const [_0x5d156a,_0x44d8f9]of _0x14faa0['entries']()){const {sourceRangeInfo:_0xedb591}=_0x44d8f9;if(_0xedb591[_0x339cb2(0x345)]===_0x33fb47&&_0xedb591[_0x339cb2(0x328)]===_0x1256d4[_0x339cb2(0x328)]&&_0x2420fe['Rectangle'][_0x339cb2(0x352)](_0x3320d7,_0xedb591[_0x339cb2(0x486)])){const _0x478b10={'row':_0xedb591[_0x339cb2(0x486)]['startRow']-_0x3320d7[_0x339cb2(0x1e0)],'col':_0xedb591[_0x339cb2(0x486)][_0x339cb2(0x2b4)]-_0x3320d7[_0x339cb2(0x2b4)]},_0x2ac077={'unitId':_0x33fb47,'subUnitId':_0x407509[_0x339cb2(0x328)],'sheetName':_0x500511,'range':{'startRow':_0x38261d[_0x339cb2(0x1e0)]+_0x478b10[_0x339cb2(0x1c0)],'endRow':_0x38261d['startRow']+_0x478b10[_0x339cb2(0x1c0)]+_0xedb591[_0x339cb2(0x486)]['endRow']-_0xedb591[_0x339cb2(0x486)][_0x339cb2(0x1e0)],'startColumn':_0x38261d[_0x339cb2(0x2b4)]+_0x478b10[_0x339cb2(0x43b)],'endColumn':_0x38261d['startColumn']+_0x478b10[_0x339cb2(0x43b)]+_0xedb591[_0x339cb2(0x486)][_0x339cb2(0x21c)]-_0xedb591[_0x339cb2(0x486)]['startColumn']}};_0x3f4830[_0x339cb2(0x398)](_0x5d156a,_0x2ac077);const _0x3bd6ba={..._0x44d8f9,'sourceRangeInfo':_0x2ac077};this[_0x339cb2(0x1c7)](_0x33fb47,_0x407509[_0x339cb2(0x328)],_0x5d156a,_0x3bd6ba),this[_0x339cb2(0x419)]({'unitId':_0x33fb47,'token':_0x5d156a,'type':_0xfb6bb[_0x339cb2(0x334)],'oldSourceRangeInfo':_0xedb591,'dataRangeInfo':_0x2ac077,'targetCellInfo':_0x44d8f9['targetCellInfo']}),this[_0x339cb2(0x418)]({'unitId':_0x33fb47,'subUnitId':_0x407509[_0x339cb2(0x328)],'oldSubUnitId':_0x31b10f,'pivotTableId':_0x5d156a,'pivotTableConfig':_0x3bd6ba,'collectionConfig':_0x3f4830[_0x339cb2(0x1f9)]()});}}}}[_0x4a26b1(0x419)](_0x5793ce){this['_collectionChange$']['next'](_0x5793ce);}[_0x4a26b1(0x39c)](_0x5b8747){const _0x23f32a=_0x4a26b1;let _0x1cd059=this[_0x23f32a(0x4a6)]['get'](_0x5b8747);return _0x1cd059||(_0x1cd059=new _0x474568(this,this[_0x23f32a(0x338)]),this[_0x23f32a(0x4a6)][_0x23f32a(0x3fe)](_0x5b8747,_0x1cd059)),_0x1cd059;}[_0x4a26b1(0x1b8)](_0x3f8b2e,_0x14cf2b){const _0x3c5054=_0x4a26b1;return this[_0x3c5054(0x39c)](_0x3f8b2e)[_0x3c5054(0x484)][_0x14cf2b];}[_0x4a26b1(0x317)](_0x1d6d43,_0x35c223,_0x177690){const _0x1a12a6=_0x4a26b1;return this[_0x1a12a6(0x39c)](_0x1d6d43)[_0x1a12a6(0x317)](_0x35c223,_0x177690);}[_0x4a26b1(0x254)](_0x20f6a8,_0x3fc5bb){const _0x30d165=_0x4a26b1;let _0x4fcfa0=this[_0x30d165(0x1d3)][_0x30d165(0x2e7)](_0x20f6a8);_0x4fcfa0||(_0x4fcfa0=new Map(),this[_0x30d165(0x1d3)][_0x30d165(0x3fe)](_0x20f6a8,_0x4fcfa0));let _0x3fecc6=_0x4fcfa0[_0x30d165(0x2e7)](_0x3fc5bb);return _0x3fecc6||(_0x3fecc6=new Map(),_0x4fcfa0[_0x30d165(0x3fe)](_0x3fc5bb,_0x3fecc6)),_0x3fecc6;}['_updateModelCache'](_0x457ba1,_0x4e22c5,_0x44ddcd,_0x8bfcf6){const _0xec87f=_0x4a26b1;this[_0xec87f(0x254)](_0x457ba1,_0x4e22c5)[_0xec87f(0x3fe)](_0x44ddcd,_0x8bfcf6);}['_deleteModelCache'](_0x41f214,_0x3f86bf,_0x2c1ce0){const _0x27da6f=_0x4a26b1;var _0x591da9,_0x20ebfa,_0x427374,_0x50bbc1;((_0x20ebfa=(_0x591da9=this['_model']['get'](_0x41f214))==null?void 0x0:_0x591da9[_0x27da6f(0x2e7)](_0x3f86bf))==null?void 0x0:_0x20ebfa[_0x27da6f(0x2e7)](_0x2c1ce0))&&((_0x50bbc1=(_0x427374=this[_0x27da6f(0x1d3)][_0x27da6f(0x2e7)](_0x41f214))==null?void 0x0:_0x427374['get'](_0x3f86bf))==null||_0x50bbc1[_0x27da6f(0x19a)](_0x2c1ce0));}['_updatePivotTableInstanceCache'](_0x5cfa86,_0x32cebb){const _0x199a9f=_0x4a26b1;this[_0x199a9f(0x3d4)][_0x199a9f(0x3fe)](_0x5cfa86,_0x32cebb);}[_0x4a26b1(0x4b5)](_0x137d85){const _0x5129cf=_0x4a26b1;this[_0x5129cf(0x3d4)][_0x5129cf(0x19a)](_0x137d85);}[_0x4a26b1(0x3ff)](_0x386c60,_0x35d369){const _0xb77962=_0x4a26b1;let _0x2ad733=this[_0xb77962(0x2a5)][_0xb77962(0x2e7)](_0x386c60);_0x2ad733||(_0x2ad733=new Map(),this[_0xb77962(0x2a5)][_0xb77962(0x3fe)](_0x386c60,_0x2ad733));let _0x561257=_0x2ad733[_0xb77962(0x2e7)](_0x35d369);return _0x561257||(_0x561257=new Map(),_0x2ad733[_0xb77962(0x3fe)](_0x35d369,_0x561257)),_0x561257;}[_0x4a26b1(0x418)](_0xdffc40){const _0xbf86af=_0x4a26b1,{unitId:_0x228a7a,subUnitId:_0xa118d3,pivotTableId:_0x51a1b8,pivotTableConfig:_0x3500da,collectionConfig:_0x4049a9}=_0xdffc40,_0x555b50={'unitId':_0x228a7a,'subUnitId':_0xa118d3,'oldSubUnitId':_0xa118d3,'pivotTableId':_0x51a1b8,'pivotTableConfig':_0x3500da,'collectionConfig':_0x4049a9};this['_commandService'][_0xbf86af(0x29b)](_0x32c379['id'],_0x555b50,{'onlyLocal':!0x0});}[_0x4a26b1(0x3be)](_0x4cc354,_0x196be8,_0x36c2e1,_0x514152,_0x2bc31b,_0x401479,_0xca3bd8,_0x4845a3=!0x1){const _0x446e0e=_0x4a26b1;var _0x530542;this[_0x446e0e(0x408)][_0x446e0e(0x29b)](_0x9e7ba0['id'],{'single':{'unitId':_0x4cc354,'subUnitId':_0x196be8,'type':_0x36c2e1,'pivotTableId':_0x514152,'view':_0x2bc31b,'pivotConfig':_0x401479},'collectionConfig':{[_0x4cc354]:_0xca3bd8}},{'onlyLocal':!0x0});const _0x319b99=!!((_0x530542=this[_0x446e0e(0x3ea)](_0x514152))!=null&&_0x530542['isEmpty']()),_0x4ddc15=this[_0x446e0e(0x3b3)](_0x4cc354,_0x196be8,_0x514152);_0x4ddc15&&this[_0x446e0e(0x1c4)]({'view':_0x2bc31b,'pivotTableId':_0x514152,'textInfo':this[_0x446e0e(0x37a)](),'isEmpty':_0x319b99,'targetCellInfo':_0x4ddc15['targetCellInfo']},_0x4845a3);}['updateViewData'](_0x124ed3,_0xee6449){const _0x2c1578=_0x4a26b1,{targetCellInfo:_0x191221,pivotTableId:_0x52e91c}=_0x124ed3,{unitId:_0x3dfe6b,subUnitId:_0x15f57f}=_0x191221,_0x46b318=this[_0x2c1578(0x3ff)](_0x3dfe6b,_0x15f57f),_0x3cd958=_0x46b318[_0x2c1578(0x2e7)](_0x52e91c);let _0x5dc246,_0x3911a6;_0x3cd958&&(_0x5dc246=_0x3cd958[_0x2c1578(0x29a)],_0x3911a6=_0x3cd958[_0x2c1578(0x1fe)]);const {rangesCache:_0x5ccee3,matrix:_0x1e703f}=_0x488a9c(_0x124ed3);_0x46b318[_0x2c1578(0x3fe)](_0x52e91c,{'rangeCache':_0x5ccee3,'matrix':_0x1e703f,'oldMatrix':_0x3911a6,'oldRangeCache':_0x5dc246}),_0xee6449||this[_0x2c1578(0x3f4)][_0x2c1578(0x289)]({'unitId':_0x3dfe6b,'subUnitId':_0x15f57f,'pivotTableId':_0x52e91c});}['addPivotTable'](_0x4da42b,_0x3a46f4,_0x31b263,_0x3b1eef,_0x393967){const _0x26d1ca=_0x4a26b1;this['_updateModelCache'](_0x4da42b,_0x3a46f4,_0x31b263,_0x393967),this[_0x26d1ca(0x2c5)](_0x31b263,_0x3b1eef);}['removePivotTable'](_0x42b57c,_0x2012ba,_0xc28b88){const _0x56d90f=_0x4a26b1,_0x5708fa=this[_0x56d90f(0x39c)](_0x42b57c);_0x5708fa['getNoUsedDataFieldIds'](_0xc28b88)[_0x56d90f(0x1cc)](_0xf60332=>{const _0x77d709=_0x56d90f;_0x5708fa[_0x77d709(0x443)](_0xf60332);}),this[_0x56d90f(0x204)](_0x42b57c,_0xc28b88),this[_0x56d90f(0x1ae)](_0x42b57c,_0x2012ba,_0xc28b88),this[_0x56d90f(0x4b5)](_0xc28b88);}[_0x4a26b1(0x306)](_0x30530f,_0x9bc874,_0x331249,_0x4ec20f){const _0x303cbd=_0x4a26b1;this[_0x303cbd(0x1c7)](_0x30530f,_0x9bc874,_0x331249,_0x4ec20f);}['getPivotTableConfig'](_0x48b779,_0x4f2bb8,_0x586e00){const _0x47ded4=_0x4a26b1;var _0x2bbecf,_0x41a0cb;const _0x5ac7b0=(_0x41a0cb=(_0x2bbecf=this[_0x47ded4(0x1d3)]['get'](_0x48b779))==null?void 0x0:_0x2bbecf[_0x47ded4(0x2e7)](_0x4f2bb8))==null?void 0x0:_0x41a0cb[_0x47ded4(0x2e7)](_0x586e00);if(_0x5ac7b0)return _0x5ac7b0;}[_0x4a26b1(0x2e5)](_0x4c96d1,_0x5ecb2e,_0x1dd2fc){const _0x348bbe=_0x4a26b1;var _0x235942,_0x4f38c1;const _0xc59680=(_0x4f38c1=(_0x235942=this[_0x348bbe(0x1d3)]['get'](_0x4c96d1))==null?void 0x0:_0x235942[_0x348bbe(0x2e7)](_0x5ecb2e))==null?void 0x0:_0x4f38c1[_0x348bbe(0x2e7)](_0x1dd2fc);if(_0xc59680)return _0xc59680[_0x348bbe(0x238)];}[_0x4a26b1(0x3ea)](_0x85c28){const _0xe3126a=_0x4a26b1;return this[_0xe3126a(0x3d4)]['get'](_0x85c28);}[_0x4a26b1(0x299)](_0x234185){const _0x2c7323=_0x4a26b1;this[_0x2c7323(0x1d3)][_0x2c7323(0x19a)](_0x234185);const _0x16c235=this['_dataFieldManagerCollection'][_0x2c7323(0x2e7)](_0x234185);_0x16c235&&(_0x16c235[_0x2c7323(0x417)](),this['_dataFieldManagerCollection']['delete'](_0x234185)),this[_0x2c7323(0x2a5)]['delete'](_0x234185),this['needSameDeleteModel'][_0x2c7323(0x1cc)](_0x205aed=>{_0x205aed['deleteUnitId'](_0x234185);});}[_0x4a26b1(0x1eb)](_0x64b7da,_0x48186f,_0x25f0d8,_0xeff16){const _0x386ee7=_0x4a26b1;return this[_0x386ee7(0x39c)](_0x25f0d8[_0x386ee7(0x345)])[_0x386ee7(0x1eb)](_0x64b7da,_0x48186f,_0x25f0d8,_0xeff16);}[_0x4a26b1(0x24e)](_0x3b1f1c){const _0x4aa489=_0x4a26b1;return this['getDataFieldManager'](_0x3b1f1c[_0x4aa489(0x345)])[_0x4aa489(0x24e)](_0x3b1f1c);}[_0x4a26b1(0x3dd)](_0x1120c3,_0x118354,_0x19f2fb){const _0x234b0c=_0x4a26b1;this[_0x234b0c(0x39c)](_0x19f2fb[_0x234b0c(0x345)])[_0x234b0c(0x3dd)](_0x1120c3,_0x118354,_0x19f2fb);}[_0x4a26b1(0x3d7)](_0x1e25e8,_0x2e18dd){const _0x174b65=_0x4a26b1;this['getDataFieldManager'](_0x1e25e8)[_0x174b65(0x443)](_0x2e18dd);}[_0x4a26b1(0x204)](_0x1e4891,_0x90f691){const _0x1c1f70=_0x4a26b1;this[_0x1c1f70(0x39c)](_0x1e4891)['removeCollectionImp'](_0x90f691);}[_0x4a26b1(0x269)](_0x20c39a,_0xccb7b6){const _0x42bdd6=_0x4a26b1;var _0x2c0dd6;return(_0x2c0dd6=this['_model'][_0x42bdd6(0x2e7)](_0x20c39a))==null?void 0x0:_0x2c0dd6[_0x42bdd6(0x2e7)](_0xccb7b6);}['getTargetByPivotId'](_0xaef9a2){const _0xf34e31=_0x4a26b1;for(const [_0x5bf64b,_0x256aff]of this['_model'][_0xf34e31(0x2db)]())for(const [_0x589ab5,_0x1c93b8]of _0x256aff[_0xf34e31(0x2db)]())if(_0x1c93b8[_0xf34e31(0x308)](_0xaef9a2))return{'unitId':_0x5bf64b,'subUnitId':_0x589ab5};return null;}[_0x4a26b1(0x498)](_0x24cb98,_0x2f33d2,_0x8eb6b2,_0x4f0ec7){const _0x435f62=_0x4a26b1,_0x4c7b7d=this[_0x435f62(0x3ff)](_0x24cb98,_0x2f33d2);_0x4f0ec7?_0x4c7b7d['set'](_0x8eb6b2,_0x4f0ec7):_0x4c7b7d[_0x435f62(0x19a)](_0x8eb6b2),this[_0x435f62(0x3f4)][_0x435f62(0x289)]({'unitId':_0x24cb98,'subUnitId':_0x2f33d2,'pivotTableId':_0x8eb6b2});}['dispose'](){const _0x1fc493=_0x4a26b1;super[_0x1fc493(0x417)](),this['_model']['clear'](),this[_0x1fc493(0x3d4)][_0x1fc493(0x261)](),this[_0x1fc493(0x2a5)]['clear'](),this[_0x1fc493(0x440)][_0x1fc493(0x22a)](),this[_0x1fc493(0x3f4)][_0x1fc493(0x22a)](),this[_0x1fc493(0x286)][_0x1fc493(0x22a)](),this[_0x1fc493(0x4a6)][_0x1fc493(0x1cc)](_0x777858=>_0x777858[_0x1fc493(0x417)]()),this[_0x1fc493(0x4a6)]['clear']();}[_0x4a26b1(0x412)](_0x517b09,_0x55ed60,_0x1ccf05){const _0x35affb=_0x4a26b1;var _0x59df2c,_0x11d780;const _0x5eda47=(_0x11d780=(_0x59df2c=this['_viewData']['get'](_0x517b09))==null?void 0x0:_0x59df2c[_0x35affb(0x2e7)](_0x55ed60))==null?void 0x0:_0x11d780[_0x35affb(0x2e7)](_0x1ccf05);return _0x5eda47||null;}[_0x4a26b1(0x25d)](_0x509dab){const _0x58e160=_0x4a26b1;this[_0x58e160(0x249)](_0x509dab);}[_0x4a26b1(0x249)](_0x1eb573){const _0x2207d2=_0x4a26b1,{token:_0x3e6028,unitId:_0x4312d5,subUnitId:_0x32f16f}=_0x1eb573,_0xb7ba45=_0x4312d5+'-'+_0x32f16f+'-'+_0x3e6028;this[_0x2207d2(0x1b2)][_0x2207d2(0x2e7)](_0xb7ba45)&&clearTimeout(this[_0x2207d2(0x1b2)]['get'](_0xb7ba45));const _0x362d20=setTimeout(()=>{const _0x5c8d7f=_0x2207d2;this['queryDirtyPivotTable'](_0x1eb573),this[_0x5c8d7f(0x1b2)][_0x5c8d7f(0x19a)](_0xb7ba45);},_0x544147);this[_0x2207d2(0x1b2)]['set'](_0xb7ba45,_0x362d20);}['queryDirtyPivotTable'](_0x281128){const _0x136771=_0x4a26b1,{unitId:_0x51644a,subUnitId:_0x3568cb,token:_0x403396,type:_0x5ca4bb,pivotConfig:_0x5de2be}=_0x281128,_0x51c01f=this[_0x136771(0x3ea)](_0x403396),_0x14bd85=_0x51c01f==null?void 0x0:_0x51c01f[_0x136771(0x416)](),_0x2675aa=_0x5de2be!=null?_0x5de2be:this[_0x136771(0x3b3)](_0x51644a,_0x3568cb,_0x403396);_0x2675aa&&(_0x2675aa['isEmpty']=!!(_0x51c01f!=null&&_0x51c01f['isEmpty']())),(_0x14bd85||_0x5ca4bb===_0x2804e5[_0x136771(0x2cf)])&&this['updateView'](_0x51644a,_0x3568cb,_0x5ca4bb,_0x403396,_0x14bd85,_0x2675aa,this['getDataFieldManager'](_0x51644a)[_0x136771(0x1f9)]());}[_0x4a26b1(0x1f9)](_0x2e9de1){const _0x37eec0=_0x4a26b1,_0x15af51={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x2e9de1)&&(_0x15af51[_0x37eec0(0x1a6)][_0x2e9de1]=this[_0x37eec0(0x39c)](_0x2e9de1)['toJSON']()),this[_0x37eec0(0x1d3)][_0x37eec0(0x2e7)](_0x2e9de1)){_0x15af51[_0x37eec0(0x478)][_0x2e9de1]={};const _0x5db939=this['_model'][_0x37eec0(0x2e7)](_0x2e9de1);_0x5db939!=null&&_0x5db939[_0x37eec0(0x3bb)]&&[..._0x5db939[_0x37eec0(0x41d)]()][_0x37eec0(0x1cc)](_0x9eb320=>{const _0x11f7c2=_0x37eec0,_0x3d9e2e=_0x5db939[_0x11f7c2(0x2e7)](_0x9eb320);_0x3d9e2e!=null&&_0x3d9e2e[_0x11f7c2(0x3bb)]&&(_0x15af51['pivotTableConfigs'][_0x2e9de1][_0x9eb320]={},[..._0x3d9e2e[_0x11f7c2(0x41d)]()][_0x11f7c2(0x1cc)](_0x375898=>{const _0x5f0611=_0x11f7c2,_0x144a99=_0x3d9e2e[_0x5f0611(0x2e7)](_0x375898);_0x144a99&&(_0x15af51['pivotTableConfigs'][_0x2e9de1][_0x9eb320][_0x375898]=_0x144a99);}));});}return _0x15af51;}[_0x4a26b1(0x2f5)](_0x193af8){const _0x8bd8b5=_0x4a26b1;var _0x456b83;const {dataFieldManagerConfig:_0x239d19,pivotTableConfigs:_0x1ff626}=_0x193af8;_0x239d19&&Object[_0x8bd8b5(0x41d)](_0x239d19)[_0x8bd8b5(0x1cc)](_0x3a5574=>{const _0x17a12e=_0x8bd8b5;this['getDataFieldManager'](_0x3a5574)[_0x17a12e(0x2f5)](_0x239d19[_0x3a5574]);});const _0x32280f=[];if(_0x1ff626){const _0x3e0ddf=(_0x456b83=this[_0x8bd8b5(0x433)][_0x8bd8b5(0x2e7)](_0x2420fe[_0x8bd8b5(0x3b2)])[_0x8bd8b5(0x395)](_0x95dfda[_0x8bd8b5(0x438)]))!=null?_0x456b83:{},{ls:_0x4feb6d,pbk:_0x594285}=_0x3e0ddf,_0x1f0469=_0x2a35ad(_0x1eb34d,_0x4feb6d,_0x594285)['count'];Object[_0x8bd8b5(0x41d)](_0x1ff626)[_0x8bd8b5(0x1cc)](_0x4b88ec=>{const _0x52db84=_0x8bd8b5;let _0x55b6b1=0x0;const _0x2d17de=_0x1ff626[_0x4b88ec];Object['keys'](_0x2d17de)[_0x52db84(0x1cc)](_0x1b1245=>{const _0x2a8a09=_0x52db84,_0x15ae88=_0x2d17de[_0x1b1245];Object[_0x2a8a09(0x41d)](_0x15ae88)[_0x2a8a09(0x1cc)](_0x3967b8=>{const _0x12dcad=_0x2a8a09,_0x380950=_0x15ae88[_0x3967b8];if(_0x380950){if(_0x55b6b1>=_0x1f0469)return;_0x55b6b1++;const _0x269540=this[_0x12dcad(0x39c)](_0x4b88ec),_0x57b3ef=_0x269540[_0x12dcad(0x484)][_0x3967b8],_0x114e72=_0x57b3ef[_0x12dcad(0x468)]();let _0x5a2f05=0x0;const _0x28f6c9=[];for(const _0x3fbff8 of _0x114e72){const _0x248e5b=_0x57b3ef['getFieldById'](_0x3fbff8);if(_0x29e939[_0x12dcad(0x293)](_0x248e5b)){const _0x3a311a=_0x248e5b[_0x12dcad(0x37f)](),_0x46c1b8=_0x57b3ef[_0x12dcad(0x34a)](_0x3a311a);_0x46c1b8&&_0x28f6c9[_0x12dcad(0x2e9)]([_0x248e5b,_0x46c1b8]);continue;}_0x269540[_0x12dcad(0x3f9)](_0x3fbff8,_0x380950[_0x12dcad(0x2c4)],_0x5a2f05),_0x5a2f05++;}_0x28f6c9[_0x12dcad(0x1cc)](([_0x5100fa,_0x109cf9])=>{const _0x776d30=_0x12dcad;_0x5100fa[_0x776d30(0x40b)](_0x109cf9);});const _0x200dd7=new _0x29e939['PivotTable'](_0x57b3ef);_0x200dd7[_0x12dcad(0x2f5)](_0x380950[_0x12dcad(0x238)]),this[_0x12dcad(0x2ce)](_0x4b88ec,_0x1b1245,_0x3967b8,_0x200dd7,_0x380950);const _0x2d22c1=_0x200dd7['query']();_0x32280f[_0x12dcad(0x2e9)]({'unitId':_0x4b88ec,'subUnitId':_0x1b1245,'pivotTableId':_0x3967b8,'view':_0x2d22c1['toJSON'](),'pivotConfig':_0x380950,'type':_0x2804e5[_0x12dcad(0x281)]});const _0x56f49b=!!_0x200dd7[_0x12dcad(0x3a8)](),_0x2b2ea3={'view':_0x2d22c1,'pivotTableId':_0x3967b8,'textInfo':this['getTextInfo'](),'isEmpty':_0x56f49b,'targetCellInfo':_0x380950[_0x12dcad(0x36c)]};this[_0x12dcad(0x1c4)](_0x2b2ea3,!0x1);}});});});}_0x239d19&&Object['keys'](_0x239d19)[_0x8bd8b5(0x1cc)](_0x1408b1=>{const _0x14c58b=_0x8bd8b5,_0x7816cc=this[_0x14c58b(0x39c)](_0x1408b1);this[_0x14c58b(0x286)][_0x14c58b(0x289)](_0x7816cc['collections']);}),this[_0x8bd8b5(0x408)][_0x8bd8b5(0x29b)](_0x9e7ba0['id'],{'batch':_0x32280f,'collectionConfig':_0x239d19},{'onlyLocal':!0x0});}[_0x4a26b1(0x386)](){const _0x4f2949=_0x4a26b1;this[_0x4f2949(0x3d9)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x5deeac=>JSON[_0x4f2949(0x3e5)](this['toJSON'](_0x5deeac)),'parseJson':_0x362c4b=>{if(!_0x362c4b)return{};try{return JSON['parse'](_0x362c4b);}catch{return{};}},'businesses':[_0x2420fe['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x367f46,'onLoad':(_0x3a6b96,_0x33f2bd)=>{const _0x436c73=_0x4f2949;this[_0x436c73(0x2f5)](_0x33f2bd);},'onUnLoad':_0x27cc1e=>{const _0x31c353=_0x4f2949;this[_0x31c353(0x299)](_0x27cc1e);}}));}},_0x1c5878[_0x4a26b1(0x342)]=_0x4bcb2a([_0x5278cf(0x0,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe['Injector'])),_0x5278cf(0x1,_0x2420fe[_0x4a26b1(0x2cc)]),_0x5278cf(0x2,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x4b0)])),_0x5278cf(0x3,_0x2420fe[_0x4a26b1(0x1dd)]),_0x5278cf(0x4,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe['IResourceManagerService']))],_0x1c5878['SheetsPivotDataSourceModel']);const _0x4d44e6={0x0:{0x0:{'v':_0x4a26b1(0x1b1),'s':_0x235e85}},0x2:{0x1:{'v':'','s':_0x235e85},0x2:{'v':'','s':_0x235e85},0x3:{'v':'column','s':_0x235e85},0x4:{'v':'','s':_0x235e85},0x5:{'v':'','s':_0x235e85}},0x3:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0x4:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0x5:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0x6:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0x7:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0x8:{0x0:{'v':_0x4a26b1(0x1c0),'s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':_0x4a26b1(0x41b),'s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0x9:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0xa:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0xb:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0xc:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}},0xd:{0x0:{'v':'','s':_0x235e85},0x1:{'v':'','s':_0x394fcd},0x2:{'v':'','s':_0x394fcd},0x3:{'v':'','s':_0x394fcd},0x4:{'v':'','s':_0x394fcd},0x5:{'v':'','s':_0x394fcd}}},_0x43304d={'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':[]},_0x11bd73=(_0xcb04da,_0x295ed7)=>{const _0x4c33cc=_0x4a26b1,_0x2aef50=new _0x2420fe[(_0x4c33cc(0x4b4))](),_0x501d50=new _0x2420fe[(_0x4c33cc(0x4b4))](_0x4d44e6),{row:_0x8b8a7c,col:_0x4dc423}=_0x295ed7;_0x501d50[_0x4c33cc(0x370)]((_0x2bf7c8,_0x12316c,_0x105b73)=>{const _0x2307d3=_0x4c33cc;let _0x2176a5='';_0x105b73['v']==='filter'?_0x2176a5=_0xcb04da[_0x2307d3(0x1b1)]:_0x105b73['v']===_0x2307d3(0x1c0)?_0x2176a5=_0xcb04da[_0x2307d3(0x1c0)]:_0x105b73['v']==='column'?_0x2176a5=_0xcb04da[_0x2307d3(0x3a6)]:_0x105b73['v']===_0x2307d3(0x41b)&&(_0x2176a5=_0xcb04da['values']),_0x2aef50[_0x2307d3(0x3a1)](_0x2bf7c8+_0x8b8a7c,_0x12316c+_0x4dc423,{..._0x105b73,'v':_0x2176a5});});const _0x3f2db8=_0x2420fe[_0x4c33cc(0x38f)][_0x4c33cc(0x481)](_0x43304d);return Object[_0x4c33cc(0x41d)](_0x43304d)[_0x4c33cc(0x1cc)](_0x1bcb40=>{const _0x882c9b=_0x4c33cc;_0x3f2db8[_0x1bcb40]=_0x43304d[_0x1bcb40]['map'](_0x129009=>({..._0x129009,'startRow':_0x129009[_0x882c9b(0x1e0)]+_0x8b8a7c,'endRow':_0x129009[_0x882c9b(0x1f6)]+_0x8b8a7c,'startColumn':_0x129009['startColumn']+_0x4dc423,'endColumn':_0x129009[_0x882c9b(0x21c)]+_0x4dc423}));}),{'matrixCache':_0x2aef50,'rangesCache':_0x3f2db8};};function _0x23a1fa(_0x37a7ac,_0x59daa6){const _0x4c97cf=_0x4a26b1;let _0x24537a='';const _0x153fe2=this[_0x4c97cf(0x37a)]();switch(_0x59daa6){case _0x29e939[_0x4c97cf(0x492)][_0x4c97cf(0x47c)]:_0x24537a=_0x153fe2[_0x4c97cf(0x1a1)]+_0x37a7ac;break;case _0x29e939['PivotSubtotalTypeEnum'][_0x4c97cf(0x32d)]:_0x24537a=_0x153fe2[_0x4c97cf(0x48a)]+_0x37a7ac;break;case _0x29e939[_0x4c97cf(0x492)][_0x4c97cf(0x222)]:_0x24537a=_0x153fe2['sheets-pivot.countNumsName']+_0x37a7ac;break;case _0x29e939[_0x4c97cf(0x492)][_0x4c97cf(0x1a8)]:_0x24537a=_0x153fe2[_0x4c97cf(0x333)]+_0x37a7ac;break;case _0x29e939['PivotSubtotalTypeEnum'][_0x4c97cf(0x373)]:_0x24537a=_0x153fe2['sheets-pivot.minName']+_0x37a7ac;break;case _0x29e939[_0x4c97cf(0x492)][_0x4c97cf(0x30c)]:_0x24537a=_0x153fe2['sheets-pivot.productName']+_0x37a7ac;break;case _0x29e939[_0x4c97cf(0x492)]['stdDev']:_0x24537a=_0x153fe2[_0x4c97cf(0x350)]+_0x37a7ac;break;case _0x29e939[_0x4c97cf(0x492)][_0x4c97cf(0x41e)]:_0x24537a=_0x153fe2['sheets-pivot.stdDevpName']+_0x37a7ac;break;case _0x29e939['PivotSubtotalTypeEnum'][_0x4c97cf(0x365)]:_0x24537a=_0x153fe2[_0x4c97cf(0x46b)]+_0x37a7ac;break;case _0x29e939['PivotSubtotalTypeEnum']['var']:_0x24537a=_0x153fe2[_0x4c97cf(0x3c2)]+_0x37a7ac;break;case _0x29e939[_0x4c97cf(0x492)][_0x4c97cf(0x490)]:_0x24537a=_0x153fe2['sheets-pivot.varpName']+_0x37a7ac;break;default:_0x24537a=_0x37a7ac;break;}return _0x24537a;}function _0x364f39(_0x1115e2,_0x4177a8,_0x336ae6,_0x2a4afa,_0x2a265f){const _0x34ee95=_0x4a26b1;var _0x58edb2,_0x2152b9,_0x52203e,_0x41fc0f,_0x491f04;const _0x5eb8e1=_0x2420fe[_0x34ee95(0x1c1)](_0x1115e2,_0x4177a8),{rangesInfo:_0x5ea0d5,areaInfo:_0x314357,headerMap:_0x3853ef}=_0x2a265f;if(!_0x5ea0d5||!_0x314357||!_0x3853ef)return;const _0x403234=Object[_0x34ee95(0x41d)](_0x5ea0d5)[_0x34ee95(0x314)](_0x23595b=>_0x5ea0d5[_0x23595b][_0x34ee95(0x227)](_0x936ccb=>_0x2420fe[_0x34ee95(0x3d0)][_0x34ee95(0x352)](_0x936ccb,_0x5eb8e1))),_0x240b58=_0x314357;let _0x4f70bc,_0x5aeb74,_0x2ad6e9;if(_0x403234===_0x34ee95(0x435))_0x4f70bc=(_0x58edb2=_0x240b58==null?void 0x0:_0x240b58['rowInfo'])==null?void 0x0:_0x58edb2[_0x1115e2],_0x5aeb74=(_0x2152b9=_0x3853ef==null?void 0x0:_0x3853ef[_0x34ee95(0x243)])==null?void 0x0:_0x2152b9[_0x4177a8],_0x2ad6e9=_0x5aeb74==null?void 0x0:_0x5aeb74['tableFieldId'];else{if(_0x403234==='colRanges')_0x4f70bc=(_0x52203e=_0x240b58==null?void 0x0:_0x240b58[_0x34ee95(0x45e)])==null?void 0x0:_0x52203e[_0x4177a8],_0x5aeb74=(_0x41fc0f=_0x3853ef['colHeaderMap'])==null?void 0x0:_0x41fc0f[_0x1115e2+0x1+_0x4177a8-_0x5ea0d5[_0x34ee95(0x3aa)][0x0][_0x34ee95(0x2b4)]],_0x2ad6e9=_0x5aeb74==null?void 0x0:_0x5aeb74[_0x34ee95(0x3b6)];else{if(_0x403234===_0x34ee95(0x460))_0x4f70bc=(_0x491f04=_0x240b58==null?void 0x0:_0x240b58[_0x34ee95(0x2d7)])==null?void 0x0:_0x491f04[_0x4177a8],_0x2ad6e9=_0x4f70bc==null?void 0x0:_0x4f70bc[_0x34ee95(0x3b6)];else{if(_0x403234==='pageRanges'){const _0x280396=_0x336ae6==null?void 0x0:_0x336ae6['fi'];_0x280396!==void 0x0&&(_0x2ad6e9=_0x2a4afa[_0x34ee95(0x25e)](_0x280396));}}}}return{'filterId':_0x2ad6e9,'info':_0x4f70bc,'data':_0x336ae6,'headerInfo':_0x5aeb74};}function _0x2d807b(_0x107a52,_0x4d6826,_0x45b73b){const _0x20fbc3=_0x4a26b1,_0x107557=_0x107a52[_0x20fbc3(0x274)],_0x51191f=_0x107557[_0x20fbc3(0x468)](),_0x4acc94=new Set();_0x107a52[_0x20fbc3(0x291)](_0x4e84f1=>{const _0x4feb1d=_0x20fbc3;_0x4acc94[_0x4feb1d(0x24a)](_0x4e84f1[_0x4feb1d(0x22f)]);});const _0x283744=_0x51191f[_0x20fbc3(0x40f)](_0x427c13=>{const _0x242305=_0x20fbc3,_0x436a11=_0x107557[_0x242305(0x34a)](_0x427c13);return{'checked':_0x4acc94[_0x242305(0x308)](_0x427c13),'dataFieldId':_0x436a11['id'],'id':_0x436a11['id'],'name':_0x107557[_0x242305(0x37c)](_0x436a11['id']),'type':_0x436a11[_0x242305(0x282)](),'pivotTableId':_0x4d6826};}),_0x413ba8=[];_0x107a52[_0x20fbc3(0x3d5)](_0x29e939[_0x20fbc3(0x242)][_0x20fbc3(0x4b7)],_0x4fadca=>{const _0x197eaf=_0x20fbc3;_0x413ba8[_0x197eaf(0x2e9)]({'dataFieldId':_0x4fadca[_0x197eaf(0x22f)],'tableFieldId':_0x4fadca[_0x197eaf(0x37b)](),'displayName':_0x4fadca[_0x197eaf(0x37c)]()});});const _0x35769f=[];_0x107a52[_0x20fbc3(0x3d5)](_0x29e939['PivotTableFiledAreaEnum'][_0x20fbc3(0x35c)],_0x2c5de8=>{const _0x2f9403=_0x20fbc3;_0x35769f['push']({'dataFieldId':_0x2c5de8[_0x2f9403(0x22f)],'tableFieldId':_0x2c5de8[_0x2f9403(0x37b)](),'displayName':_0x2c5de8[_0x2f9403(0x37c)]()});});const _0x514ec6=[];if(_0x107a52[_0x20fbc3(0x3d5)](_0x29e939[_0x20fbc3(0x242)][_0x20fbc3(0x49b)],_0xc89225=>{const _0x6e5e3d=_0x20fbc3;_0x514ec6[_0x6e5e3d(0x2e9)]({'dataFieldId':_0xc89225[_0x6e5e3d(0x22f)],'tableFieldId':_0xc89225[_0x6e5e3d(0x37b)](),'displayName':_0xc89225[_0x6e5e3d(0x37c)](),'format':_0xc89225['getFormat'](),'subTotalType':_0xc89225[_0x6e5e3d(0x1fa)]()});}),_0x514ec6[_0x20fbc3(0x247)]>0x1){const _0x51e228=_0x107a52['getValueIndex']();(_0x107a52['isColMultiMeasure']()?_0x35769f:_0x413ba8)['splice'](_0x51e228,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x20fbc3(0x2a8)});}const _0x28c94d=[];_0x107a52['iterateFieldByArea'](_0x29e939[_0x20fbc3(0x242)]['Filter'],_0x3183eb=>{const _0x40b930=_0x20fbc3;_0x28c94d['push']({'dataFieldId':_0x3183eb[_0x40b930(0x22f)],'tableFieldId':_0x3183eb[_0x40b930(0x37b)](),'displayName':_0x3183eb[_0x40b930(0x37c)]()});});const _0x37ddde=_0x45b73b[_0x20fbc3(0x2c4)];return{'sourceList':_0x283744,'sourceRange':_0x37ddde,'rowFields':_0x413ba8,'columnFields':_0x35769f,'valueFields':_0x514ec6,'filterFields':_0x28c94d,'positionInfo':_0x45b73b['targetCellInfo']};}function _0x3f58e7(_0x46626b,_0x2ce986,_0x32b635='',_0x3b5d36={}){const _0x59102d=_0x4a26b1,_0x57647c=_0x46626b[_0x59102d(0x2e7)](_0x2420fe[_0x59102d(0x210)]);for(const _0x18386c in _0x2ce986)if(Object[_0x59102d(0x3df)]['hasOwnProperty'][_0x59102d(0x27f)](_0x2ce986,_0x18386c)){const _0x405338=_0x32b635?_0x32b635+'.'+_0x18386c:_0x18386c;typeof _0x2ce986[_0x18386c]==_0x59102d(0x3e6)&&_0x2ce986[_0x18386c]!==null&&!Array[_0x59102d(0x403)](_0x2ce986[_0x18386c])?_0x3f58e7(_0x46626b,_0x2ce986[_0x18386c],_0x405338,_0x3b5d36):_0x3b5d36[_0x405338]=_0x57647c['t'](_0x405338);}return _0x3b5d36;}const _0x2fd6ff=_0xc3f58b=>{const _0xda63ac=_0x4a26b1;if(!_0xc3f58b)return[];const {rowRanges:_0x131cb2,colRanges:_0x41bdaf,cornerRanges:_0x1b2351,dataRanges:_0x28a769,pageRanges:_0x4c33b7}=_0xc3f58b,_0x5c4648=[..._0x41bdaf,..._0x131cb2,..._0x28a769,..._0x1b2351][_0xda63ac(0x1b1)](_0x165a98=>_0x165a98[_0xda63ac(0x1e0)]>=0x0&&_0x165a98[_0xda63ac(0x2b4)]>=0x0&&_0x165a98['endRow']>=0x0&&_0x165a98[_0xda63ac(0x21c)]>=0x0);let _0x394fd2=Number[_0xda63ac(0x234)],_0x1614c0=Number[_0xda63ac(0x251)],_0x4d6ed7=Number[_0xda63ac(0x234)],_0xab2769=Number[_0xda63ac(0x251)];for(let _0x17b42e=0x0;_0x17b42e<_0x5c4648[_0xda63ac(0x247)];_0x17b42e++)_0x394fd2=Math[_0xda63ac(0x373)](_0x394fd2,_0x5c4648[_0x17b42e][_0xda63ac(0x1e0)]),_0x1614c0=Math[_0xda63ac(0x1a8)](_0x1614c0,_0x5c4648[_0x17b42e][_0xda63ac(0x1f6)]),_0x4d6ed7=Math[_0xda63ac(0x373)](_0x4d6ed7,_0x5c4648[_0x17b42e][_0xda63ac(0x2b4)]),_0xab2769=Math[_0xda63ac(0x1a8)](_0xab2769,_0x5c4648[_0x17b42e][_0xda63ac(0x21c)]);return[..._0x4c33b7,{'startRow':_0x394fd2,'endRow':_0x1614c0,'startColumn':_0x4d6ed7,'endColumn':_0xab2769}];};function _0x556b11(_0x4018ff,_0x3ea289){const _0x5628a2=_0x4a26b1,_0x319ccd=_0x3ea289[_0x5628a2(0x39f)][_0x5628a2(0x1ff)],{pivotTableId:_0xc44407,unitId:_0x1ea712,subUnitId:_0x48e0d7}=_0x3ea289;if(!_0x319ccd)return;const _0x1a1c48=_0x4018ff[_0x5628a2(0x2e7)](_0x1c5878[_0x5628a2(0x342)]),_0x42f674=_0x1a1c48[_0x5628a2(0x3ea)](_0xc44407),_0xcac865=_0x1a1c48[_0x5628a2(0x3b3)](_0x1ea712,_0x48e0d7,_0xc44407);if(!_0x42f674||!_0xcac865)return;const _0x17ea68=_0x42f674[_0x5628a2(0x26b)](_0x319ccd[_0x5628a2(0x225)]);if(!(_0x17ea68!=null&&_0x17ea68[_0x5628a2(0x247)]))return;const _0x412554=_0xcac865[_0x5628a2(0x2c4)],{unitId:_0x2b8153,subUnitId:_0x4219ea,range:_0x542561}=_0x412554;let _0x16f8f6=0x0;const _0x6a45e1=_0x42f674['dataFieldsCollection'][_0x5628a2(0x468)]()[_0x5628a2(0x327)]((_0xda998c,_0x5c3ed8)=>{const _0x171db8=_0x5628a2;var _0x3973ec;const _0x57e74b=(_0x3973ec=_0x42f674['getDataFieldByDataFieldId'](_0x5c3ed8))==null?void 0x0:_0x3973ec[_0x171db8(0x3bd)]();return _0x57e74b&&(_0xda998c[String(_0x16f8f6)]=_0x57e74b),_0x16f8f6++,_0xda998c;},{});return{'indexes':_0x17ea68,'range':_0x542561,'sourceUnitId':_0x2b8153,'sourceSubUnitId':_0x4219ea,'formatMap':_0x6a45e1};}function _0x135dfd(_0x8fdd1,_0x2d7957){const _0x4b562d=_0x4a26b1;if(!_0x8fdd1||!_0x2d7957)return!0x0;const _0x48d6db=_0x95dfda[_0x4b562d(0x2cd)](_0x327c6e,_0x145381),_0x3ed63b=new Function(_0x4b562d(0x4a4)+_0x48d6db)()(_0x8fdd1,_0x2d7957)[_0x4b562d(0x3c9)],_0x201224=_0x95dfda['isFeatureAuthorizedWithinTime'](_0x3ed63b,'sf',_0x2d8434);return!((_0x3ed63b==null?void 0x0:_0x3ed63b['rt'])===_0x95dfda['ReleaseType'][_0x4b562d(0x385)]&&!_0x201224);}function _0x2a35ad(_0x4d64ca,_0x18d478,_0xdef2d7){const _0x116322=_0x4a26b1,_0x184d51={'count':_0x4d64ca,'timeValid':!0x1};if(!_0x18d478||!_0xdef2d7)return _0x184d51;const _0x3346bc=_0x95dfda[_0x116322(0x2cd)](_0x327c6e,_0x145381),_0x378346=new Function(_0x116322(0x4a4)+_0x3346bc)()(_0x18d478,_0xdef2d7);if(_0x378346!=null&&_0x378346['valid']){const _0x56a196=_0x378346['message'],_0x2beb6c=_0x95dfda[_0x116322(0x19d)](_0x56a196,'sf',_0x2d8434);return{'count':_0x95dfda[_0x116322(0x2b0)](_0x56a196,_0x2beb6c,_0x116322(0x1d7),_0x4d64ca,_0x4d64ca,0x0),'timeValid':_0x2beb6c};}return _0x184d51;}function _0x5753c9(_0x1a3ee3,_0x4999d3,_0x66c998,_0x5004cd){const _0xc27751=_0x4a26b1,_0x1eb298={'subUnitId':_0x66c998,'unitId':_0x4999d3,'cellValue':_0x43dbd4['generateNullCell'](_0x5004cd)},_0x51ccfa=_0x43dbd4['SetRangeValuesUndoMutationFactory'](_0x1a3ee3,_0x1eb298);let _0x293b7f=!0x1;return new _0x2420fe[(_0xc27751(0x4b4))](_0x51ccfa['cellValue'])[_0xc27751(0x370)]((_0x4430a7,_0x4bbf00,_0x4e6a46)=>{const _0x480a2f=_0xc27751;if(!_0x293b7f&&_0x4e6a46&&(_0x4e6a46[_0x480a2f(0x1fb)]||_0x4e6a46['f']||_0x4e6a46['p']||_0x4e6a46['s']||_0x4e6a46['si']||_0x4e6a46['t']||_0x4e6a46['v']))return _0x293b7f=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x43dbd4[_0xc27751(0x444)]['id'],'params':_0x51ccfa},'setRangeValueRedoMutation':{'id':_0x43dbd4['SetRangeValuesMutation']['id'],'params':_0x1eb298},'shouldClear':_0x293b7f};}function _0x57db72(_0x54f7b1){const {row:_0x2d340b,col:_0xb415f7}=_0x54f7b1,_0x4f4b68={'startRow':_0x2d340b,'endRow':_0x2d340b,'startColumn':_0xb415f7,'endColumn':_0xb415f7},_0x2478f7={'startRow':_0x2d340b+0x2,'endRow':_0x2d340b+0xe,'startColumn':_0xb415f7,'endColumn':_0xb415f7+0x6};return[_0x4f4b68,_0x2478f7];}function _0x38f16e(_0x351d02,_0x5261d3,_0x259285){const _0x1212d9=_0x4a26b1,{cornerView:_0x3a9c54,rowView:_0x238b9b,colView:_0x30347d,pageView:_0x505f7f}=_0x351d02,{row:_0x122563,col:_0x43f3bc}=_0x5261d3;if(_0x259285)return{'rowCount':_0x5981b0+_0x122563,'colCount':_0x2710c4+_0x43f3bc};const _0x2b89bc=_0x505f7f['lastRow']>-0x1?_0x505f7f[_0x1212d9(0x378)]+0x1:0x0,_0xb7f94d=_0x505f7f[_0x1212d9(0x380)]>-0x1?_0x505f7f['lastCol']:0x0,_0x531a2e=_0x122563+_0x2b89bc+(_0x2b89bc?0x1:0x0)+_0x3a9c54[_0x1212d9(0x2fb)]+_0x238b9b['rowCount'],_0x20ad40=_0x43f3bc+_0xb7f94d,_0x78ac80=_0x43f3bc+_0x3a9c54[_0x1212d9(0x35f)]+_0x30347d[_0x1212d9(0x35f)],_0x356736=Math[_0x1212d9(0x1a8)](_0x20ad40,_0x78ac80);return{'rowCount':_0x531a2e,'colCount':_0x356736};}function _0x713485(_0x219a6a,_0x28a8d5,_0x101271,_0xd9262d){const _0x207140=_0x4a26b1,{row:_0x4f0259,col:_0x132303,unitId:_0x2e8238,subUnitId:_0x1ccd24}=_0x101271,_0x1c9d7c=_0x38f16e(_0x28a8d5,{'row':_0x4f0259,'col':_0x132303},_0xd9262d),_0x53ae2a=_0x219a6a['get'](_0x2420fe[_0x207140(0x2cc)]),_0x1f0a64=_0x43dbd4['getSheetCommandTarget'](_0x53ae2a,{'unitId':_0x2e8238,'subUnitId':_0x1ccd24}),_0x29299f=[],_0x132335=[];if(!_0x1f0a64)return{'undos':_0x132335,'redos':_0x29299f};const {worksheet:_0x515d40}=_0x1f0a64,_0x394154=_0x515d40[_0x207140(0x425)](),_0x43420c=_0x515d40[_0x207140(0x262)]();return _0x394154<_0x1c9d7c[_0x207140(0x2fb)]&&(_0x29299f[_0x207140(0x2e9)]({'id':_0x43dbd4['InsertRowMutation']['id'],'params':{'unitId':_0x2e8238,'subUnitId':_0x1ccd24,'range':{'startRow':_0x394154,'endRow':_0x1c9d7c[_0x207140(0x2fb)]-0x1,'startColumn':0x0,'endColumn':_0x43420c-0x1}}}),_0x132335[_0x207140(0x2e9)]({'id':_0x43dbd4['RemoveRowMutation']['id'],'params':{'unitId':_0x2e8238,'subUnitId':_0x1ccd24,'range':{'startRow':_0x394154,'endRow':_0x1c9d7c[_0x207140(0x2fb)]-0x1,'startColumn':0x0,'endColumn':_0x43420c-0x1}}})),_0x43420c<_0x1c9d7c['colCount']&&(_0x29299f[_0x207140(0x2e9)]({'id':_0x43dbd4['InsertColMutation']['id'],'params':{'unitId':_0x2e8238,'subUnitId':_0x1ccd24,'range':{'startRow':0x0,'endRow':_0x394154-0x1,'startColumn':_0x43420c,'endColumn':_0x1c9d7c[_0x207140(0x35f)]-0x1}}}),_0x132335['push']({'id':_0x43dbd4[_0x207140(0x3cd)]['id'],'params':{'unitId':_0x2e8238,'subUnitId':_0x1ccd24,'range':{'startRow':0x0,'endRow':_0x394154-0x1,'startColumn':_0x43420c,'endColumn':_0x1c9d7c[_0x207140(0x35f)]-0x1}}})),{'undos':_0x132335,'redos':_0x29299f};}function _0x40a210(_0x403e60){const _0x2c8ab9=_0x4a26b1;let _0x5e375d=0x0;for(let _0x3bdef6=0x0;_0x3bdef6<_0x403e60[_0x2c8ab9(0x247)];_0x3bdef6++){const _0x5a4a29=_0x403e60[_0x2c8ab9(0x3f8)](_0x3bdef6);_0x5a4a29>=0x4e00&&_0x5a4a29<=0x9fff||_0x5a4a29>=0x3000&&_0x5a4a29<=0x303f||_0x5a4a29>=0xff00&&_0x5a4a29<=0xffef?_0x5e375d+=0x2:_0x5e375d+=0x1;}return _0x5e375d;}function _0x2349c9(_0x24d3a5,_0x5ee708,_0x2f4660,_0x27d37e){const _0x3003b5=_0x4a26b1;var _0x39032f,_0x27d394,_0x2a7f4d,_0x2601a7;const {rowCount:_0x1f89e0,colCount:_0x2c7ae2,headerMap:_0x5a6a1a}=_0x24d3a5,_0x9984a2=0x64,_0x32341f=Math[_0x3003b5(0x373)](_0x1f89e0,_0x9984a2),_0x4cbb9e=Math[_0x3003b5(0x373)](_0x2c7ae2,_0x9984a2);let _0x471f4c='',_0x4c533c=0x0;for(let _0x4d6dd2=0x0;_0x4d6dd2<_0x32341f;_0x4d6dd2++)for(let _0x54472f=0x0;_0x54472f<_0x4cbb9e;_0x54472f++){const _0x5416db={...(_0x27d394=(_0x39032f=_0x24d3a5['data'])==null?void 0x0:_0x39032f[_0x4d6dd2])==null?void 0x0:_0x27d394[_0x54472f]},_0x279427=(_0x2a7f4d=_0x5a6a1a[_0x4d6dd2])==null?void 0x0:_0x2a7f4d[_0x3003b5(0x3b6)],_0x128ef2=_0x27d37e[_0x279427];let _0xb8bbaa=_0x24d3a5[_0x3003b5(0x23e)](_0x4d6dd2,_0x54472f);if(_0x5416db){const _0x118890=_0x2f4660?_0x54472f===0x0&&((_0x2601a7=_0x24d3a5[_0x3003b5(0x2d3)](_0x54472f+0x1))==null?void 0x0:_0x2601a7['isValue']):!0x1;_0xb8bbaa=_0x2eb36a(_0x5416db,_0x118890,_0x128ef2,_0x5ee708);}if(_0xb8bbaa!==void 0x0){const _0x3ac8a3=_0x40a210(String(_0xb8bbaa));_0x4c533c<_0x3ac8a3&&(_0x471f4c=String(_0xb8bbaa),_0x4c533c=_0x3ac8a3);}}return _0x471f4c;}function _0x3b7f6e(_0x2b38e7){const _0x104476=_0x4a26b1,{rowCount:_0x14cc53,colCount:_0xa2ee84}=_0x2b38e7;let _0x44849e='',_0x3f2180=0x0;for(let _0x2f5f70=_0x14cc53-0x1;_0x2f5f70>0x0&&_0x2f5f70>_0x14cc53-0x3;_0x2f5f70--)for(let _0x1cf421=0x0;_0x1cf421<_0xa2ee84;_0x1cf421++){const _0xe11e32=_0x2b38e7[_0x104476(0x23e)](_0x2f5f70,_0x1cf421);if(_0xe11e32!==void 0x0){const _0xf4a98e=String(_0xe11e32)['length'];_0x3f2180<_0xf4a98e&&(_0x44849e=String(_0xe11e32),_0x3f2180=_0xf4a98e);}}return _0x44849e;}function _0x30a8ae(_0x3f4b7d){const _0x23f0cc=_0x4a26b1,{rowCount:_0x44495c,colCount:_0x5461b5}=_0x3f4b7d;let _0x54394e='',_0x6da468=0x0;for(let _0x57dd8a=0x0;_0x57dd8a<_0x44495c;_0x57dd8a++)for(let _0x5afa72=0x0;_0x5afa72<_0x5461b5;_0x5afa72++){const _0xaeb68d=_0x3f4b7d[_0x23f0cc(0x23e)](_0x57dd8a,_0x5afa72);if(_0xaeb68d!==void 0x0){const _0x53ad92=String(_0xaeb68d)['length'];_0x6da468<_0x53ad92&&(_0x54394e=String(_0xaeb68d),_0x6da468=_0x53ad92);}}return _0x54394e;}function _0x4a3864(_0xb7c776,_0x57fbd7){const _0x5e407c=_0x4a26b1,{rowFields:_0x5395ef,columnFields:_0x4a6a17,valueFields:_0x5016e5,filterFields:_0x4c3c88,dimension:_0x48ee53,measure:_0x31ef76}=_0x57fbd7;for(const _0x3db96b of _0x5395ef){const _0x113019=_0x48ee53[_0x3db96b];_0x113019&&_0xb7c776['getDataFieldByDataFieldId'](_0x113019['dataFieldId'])&&(_0xb7c776['addFieldWithSourceId'](_0x113019[_0x5e407c(0x22f)],_0x29e939[_0x5e407c(0x242)][_0x5e407c(0x4b7)],void 0x0,_0x3db96b),_0x113019[_0x5e407c(0x24b)]&&_0xb7c776[_0x5e407c(0x208)](_0x113019['id'],_0x113019['displayName']),_0x113019['sortInfo']&&_0xb7c776[_0x5e407c(0x246)](_0x113019['id'],_0x113019[_0x5e407c(0x369)]),_0x113019[_0x5e407c(0x3f1)]&&_0xb7c776[_0x5e407c(0x47e)](_0x113019['id'],_0x113019[_0x5e407c(0x3f1)]));}for(const _0x5c773b of _0x4a6a17){const _0x25f75e=_0x48ee53[_0x5c773b];_0x25f75e&&_0xb7c776[_0x5e407c(0x3a7)](_0x25f75e[_0x5e407c(0x22f)])&&(_0xb7c776['addFieldWithSourceId'](_0x25f75e['dataFieldId'],_0x29e939['PivotTableFiledAreaEnum'][_0x5e407c(0x35c)],void 0x0,_0x5c773b),_0x25f75e[_0x5e407c(0x369)]&&_0xb7c776[_0x5e407c(0x246)](_0x25f75e['id'],_0x25f75e['sortInfo']),_0x25f75e[_0x5e407c(0x3f1)]&&_0xb7c776[_0x5e407c(0x47e)](_0x25f75e['id'],_0x25f75e[_0x5e407c(0x3f1)]),_0x25f75e[_0x5e407c(0x24b)]&&_0xb7c776['renameField'](_0x25f75e['id'],_0x25f75e['displayName']));}for(const _0x3abfbc of _0x4c3c88){const _0x4a2002=_0x48ee53[_0x3abfbc];_0x4a2002&&_0xb7c776[_0x5e407c(0x3a7)](_0x4a2002['dataFieldId'])&&(_0xb7c776[_0x5e407c(0x207)](_0x4a2002[_0x5e407c(0x22f)],_0x29e939['PivotTableFiledAreaEnum'][_0x5e407c(0x2fa)],void 0x0,_0x3abfbc),_0x4a2002[_0x5e407c(0x369)]&&_0xb7c776[_0x5e407c(0x246)](_0x4a2002['id'],_0x4a2002[_0x5e407c(0x369)]),_0x4a2002['filterInfo']&&_0xb7c776['setLabelFilterInfo'](_0x4a2002['id'],_0x4a2002[_0x5e407c(0x3f1)]),_0x4a2002[_0x5e407c(0x24b)]&&_0xb7c776['renameField'](_0x4a2002['id'],_0x4a2002['displayName']));}for(const _0x476b24 of _0x5016e5){const _0x7f0dc3=_0x31ef76[_0x476b24];_0x7f0dc3&&_0xb7c776[_0x5e407c(0x3a7)](_0x7f0dc3['dataFieldId'])&&(_0xb7c776[_0x5e407c(0x207)](_0x7f0dc3[_0x5e407c(0x22f)],_0x29e939[_0x5e407c(0x242)]['Value'],void 0x0,_0x476b24),_0x7f0dc3[_0x5e407c(0x42c)]!==void 0x0&&_0xb7c776[_0x5e407c(0x2b6)](_0x476b24,_0x7f0dc3[_0x5e407c(0x42c)]),_0x7f0dc3[_0x5e407c(0x44f)]&&_0xb7c776[_0x5e407c(0x449)](_0x476b24,_0x7f0dc3[_0x5e407c(0x44f)]),_0x7f0dc3['displayName']&&_0xb7c776[_0x5e407c(0x208)](_0x7f0dc3['id'],_0x7f0dc3[_0x5e407c(0x24b)]));}const _0x33234c=_0x57fbd7[_0x5e407c(0x1aa)];for(const {fieldId:_0x38896f,filterInfo:_0x35479d}of _0x33234c)_0xb7c776[_0x5e407c(0x1a2)](_0x38896f,_0x35479d);}function _0x1fb200(_0x4c16b8,_0x4adc01){const _0x42cd23=_0x4a26b1,_0x2c74aa=[];_0x4adc01===_0x29e939['PivotTableFiledAreaEnum'][_0x42cd23(0x4b7)]&&_0x4c16b8['iterateFieldByArea'](_0x29e939['PivotTableFiledAreaEnum'][_0x42cd23(0x4b7)],_0x217669=>{const _0x4d4243=_0x42cd23;_0x2c74aa['push'](_0x217669[_0x4d4243(0x37b)]());}),_0x4adc01===_0x29e939[_0x42cd23(0x242)][_0x42cd23(0x35c)]&&_0x4c16b8[_0x42cd23(0x3d5)](_0x29e939['PivotTableFiledAreaEnum'][_0x42cd23(0x35c)],_0x1b1da8=>{const _0x2f7144=_0x42cd23;_0x2c74aa['push'](_0x1b1da8[_0x2f7144(0x37b)]());}),_0x4adc01===_0x29e939[_0x42cd23(0x242)][_0x42cd23(0x2fa)]&&_0x4c16b8[_0x42cd23(0x3d5)](_0x29e939['PivotTableFiledAreaEnum'][_0x42cd23(0x2fa)],_0x1ee4ff=>{const _0x469ec4=_0x42cd23;_0x2c74aa[_0x469ec4(0x2e9)](_0x1ee4ff[_0x469ec4(0x37b)]());}),_0x4adc01===_0x29e939['PivotTableFiledAreaEnum'][_0x42cd23(0x49b)]&&_0x4c16b8[_0x42cd23(0x3d5)](_0x29e939[_0x42cd23(0x242)][_0x42cd23(0x49b)],_0x410e2b=>{const _0x55bd56=_0x42cd23;_0x2c74aa[_0x55bd56(0x2e9)](_0x410e2b[_0x55bd56(0x37b)]());}),_0x4adc01===void 0x0&&_0x4c16b8[_0x42cd23(0x291)](_0x4e59e1=>{const _0x5e58c1=_0x42cd23;_0x2c74aa[_0x5e58c1(0x2e9)](_0x4e59e1['getId']());});const _0x4a7fa7=_0x2c74aa[_0x42cd23(0x247)];for(let _0x172ecb=_0x4a7fa7-0x1;_0x172ecb>=0x0;_0x172ecb--)_0x4c16b8['removeField'](_0x2c74aa[_0x172ecb]);const _0x4f9d64=_0x4c16b8[_0x42cd23(0x31e)]();for(const _0x2dfe66 in _0x4f9d64)_0x4c16b8[_0x42cd23(0x1f8)](_0x2dfe66);}function _0x1aa4bc(_0x281b8f,_0x52dc01){const _0x2a869a=_0x4a26b1,_0x4ce9c8=new Date(_0x29e939[_0x2a869a(0x349)](_0x52dc01)),_0x397b5a=new Date(_0x29e939['excelDateToUnixMilliseconds'](_0x281b8f)),_0x7ffc05=_0x4ce9c8['getFullYear'](),_0x47fb67=_0x397b5a[_0x2a869a(0x482)](),_0x4d3803=_0x4ce9c8['getMonth'](),_0x18728f=_0x397b5a[_0x2a869a(0x264)](),_0x370820=_0x4ce9c8[_0x2a869a(0x347)](),_0x3450b2=_0x397b5a['getDate'](),_0x5bccc7=_0x7ffc05===_0x47fb67,_0xab9667=_0x5bccc7&&_0x4d3803===_0x18728f;return _0x5bccc7&&_0xab9667&&!(_0xab9667&&_0x370820===_0x3450b2)?_0x29e939[_0x2a869a(0x38e)][_0x2a869a(0x4a2)]:_0x5bccc7&&!_0xab9667?_0x29e939[_0x2a869a(0x38e)]['YearMonth']:_0x29e939['PivotDateGroupFieldDateTypeEnum']['Year'];}function _0x338679(_0x18e529,_0x41ac1e){const _0x4dfdf7=_0x4a26b1,_0x4ef6ca=_0x18e529['get'](_0x1c5878[_0x4dfdf7(0x342)])['getTextInfo']();let _0x4ec963='';switch(_0x41ac1e){case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x4dfdf7(0x4a2)]:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x20a)];break;case _0x29e939[_0x4dfdf7(0x38e)][_0x4dfdf7(0x305)]:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x4b8)];break;case _0x29e939[_0x4dfdf7(0x38e)][_0x4dfdf7(0x1f1)]:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x312)];break;case _0x29e939[_0x4dfdf7(0x38e)]['Month']:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x45f)];break;case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x4dfdf7(0x283)]:_0x4ec963=_0x4ef6ca['sheets-pivot.dateGroup.quarter'];break;case _0x29e939[_0x4dfdf7(0x38e)][_0x4dfdf7(0x272)]:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x2f3)];break;case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x4dfdf7(0x43e)]:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x4ae)];break;case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x4dfdf7(0x241)]:_0x4ec963=_0x4ef6ca['sheets-pivot.dateGroup.hour'];break;case _0x29e939[_0x4dfdf7(0x38e)][_0x4dfdf7(0x27a)]:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x1ba)];break;case _0x29e939['PivotDateGroupFieldDateTypeEnum'][_0x4dfdf7(0x3c4)]:_0x4ec963=_0x4ef6ca[_0x4dfdf7(0x49f)];break;case _0x29e939[_0x4dfdf7(0x38e)][_0x4dfdf7(0x376)]:_0x4ec963=_0x4ef6ca['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x4ec963='';break;}return _0x4ec963;}const _0x52a8cb=_0x4a26b1(0x42b),_0x4833d2={};var _0x217c8a=Object[_0x4a26b1(0x230)],_0x10da49=(_0x2d03a1,_0x647c82,_0x4496af,_0x4cb216)=>{const _0x110c64=_0x4a26b1;for(var _0x388430=_0x4cb216>0x1?void 0x0:_0x4cb216?_0x217c8a(_0x647c82,_0x4496af):_0x647c82,_0x48c518=_0x2d03a1[_0x110c64(0x247)]-0x1,_0x1eb179;_0x48c518>=0x0;_0x48c518--)(_0x1eb179=_0x2d03a1[_0x48c518])&&(_0x388430=_0x1eb179(_0x388430)||_0x388430);return _0x388430;},_0x2f7acd=(_0x1d7fbe,_0x8bf840)=>(_0x55fd8d,_0xf849a4)=>_0x8bf840(_0x55fd8d,_0xf849a4,_0x1d7fbe);_0x1c5878[_0x4a26b1(0x384)]=class extends _0x2420fe['Disposable']{constructor(_0x2f2b0b,_0x2e3fc5,_0x222663,_0x2d20a8,_0x593a92){const _0x267294=_0x4a26b1;super(),_0x3b48fc(this,_0x267294(0x1d3),new Map()),_0x3b48fc(this,_0x267294(0x2c8),new Map()),_0x3b48fc(this,'_pivotTableRangeInfo',new Map()),_0x3b48fc(this,_0x267294(0x480),new Map()),_0x3b48fc(this,_0x267294(0x31b),new _0x5d8adc[(_0x267294(0x20b))]()),_0x3b48fc(this,'_pivotInitCompleted$',new _0x5d8adc[(_0x267294(0x20b))]()),_0x3b48fc(this,_0x267294(0x244),this[_0x267294(0x1c2)][_0x267294(0x371)]()),_0x3b48fc(this,_0x267294(0x4b3),new _0x5d8adc['Subject']()),_0x3b48fc(this,_0x267294(0x1ad),this[_0x267294(0x4b3)][_0x267294(0x371)]()),_0x3b48fc(this,_0x267294(0x3fa),{}),_0x3b48fc(this,_0x267294(0x326),this[_0x267294(0x31b)][_0x267294(0x371)]()),(this[_0x267294(0x433)]=_0x2f2b0b,this[_0x267294(0x408)]=_0x2e3fc5,this[_0x267294(0x338)]=_0x222663,this['_resourceManagerService']=_0x2d20a8,this[_0x267294(0x218)]=_0x593a92,this[_0x267294(0x27b)](),this[_0x267294(0x23d)]());const _0xb24c4e=this['_configService']['getConfig'](_0x52a8cb);(_0xb24c4e==null?void 0x0:_0xb24c4e[_0x267294(0x2d6)])===!0x0&&this[_0x267294(0x386)]();}[_0x4a26b1(0x23d)](){const _0x514a81=_0x4a26b1;this[_0x514a81(0x3d9)](this[_0x514a81(0x338)]['getTypeOfUnitDisposed$'](_0x2420fe[_0x514a81(0x420)]['UNIVER_SHEET'])['subscribe'](_0x14e548=>{const _0x109b5e=_0x514a81;this[_0x109b5e(0x299)](_0x14e548[_0x109b5e(0x33b)]());}));}[_0x4a26b1(0x464)](){const _0x2594c4=_0x4a26b1;this[_0x2594c4(0x1c2)]['next'](!0x0);}[_0x4a26b1(0x27b)](){const _0xdf7f6d=_0x4a26b1,_0x560557=_0x3f58e7(this[_0xdf7f6d(0x433)],_0x2825cc,'',{});this[_0xdf7f6d(0x3fa)]=_0x560557,this[_0xdf7f6d(0x408)]['executeCommand'](_0x30eef1['id'],{'textInfo':_0x560557},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x1cc7ee=_0x4a26b1;return this[_0x1cc7ee(0x3fa)];}[_0x4a26b1(0x2aa)](_0x55b4a1,_0x42fa66,_0x57c42c,_0x4f4a7f,_0x5210b8){const _0x37793f=_0x4a26b1;this[_0x37793f(0x277)](_0x55b4a1,_0x42fa66,_0x57c42c,_0x4f4a7f),this[_0x37793f(0x3c8)](_0x55b4a1,_0x42fa66,_0x57c42c,_0x5210b8);}[_0x4a26b1(0x3b3)](_0xbb60a2,_0x54e1dd,_0x1e1ab3){const _0xcd72f0=_0x4a26b1;var _0x2c01a7;const _0x38d5ef=(_0x2c01a7=this[_0xcd72f0(0x1d3)]['get'](_0xbb60a2))==null?void 0x0:_0x2c01a7[_0xcd72f0(0x2e7)](_0x54e1dd);if(_0x38d5ef)return _0x38d5ef[_0xcd72f0(0x2e7)](_0x1e1ab3);}[_0x4a26b1(0x257)](_0x40f91f,_0x396c11){const _0x9ba9da=_0x4a26b1,_0x346464=this[_0x9ba9da(0x1d3)][_0x9ba9da(0x2e7)](_0x40f91f);if(_0x346464){for(const [_0x40eb81,_0x5a2202]of _0x346464[_0x9ba9da(0x2db)]())for(const [_0x5a1739,_0x2ea976]of _0x5a2202[_0x9ba9da(0x2db)]())if(_0x5a1739===_0x396c11)return _0x2ea976[_0x9ba9da(0x36c)];}}[_0x4a26b1(0x294)](_0x39134d,_0x6a5ed6,_0x116a8b){const _0x27a232=_0x4a26b1,_0x23aeed=this[_0x27a232(0x3b3)](_0x39134d,_0x6a5ed6,_0x116a8b);return _0x23aeed==null?void 0x0:_0x23aeed[_0x27a232(0x36c)];}['getSubUnitPivotConfigs'](_0x2d8908,_0x49da91){const _0x2b02c9=_0x4a26b1;var _0x1bf5bb;return(_0x1bf5bb=this[_0x2b02c9(0x1d3)][_0x2b02c9(0x2e7)](_0x2d8908))==null?void 0x0:_0x1bf5bb['get'](_0x49da91);}['updateConfigCache'](_0x2b8c8d,_0x36ad82,_0x3f204e,_0x13ec10){const _0x315960=_0x4a26b1,_0x139ae0=this[_0x315960(0x254)](_0x2b8c8d,_0x36ad82);_0x13ec10?_0x139ae0[_0x315960(0x3fe)](_0x3f204e,_0x13ec10):_0x139ae0[_0x315960(0x19a)](_0x3f204e),this[_0x315960(0x4b3)][_0x315960(0x289)]({'unitId':_0x2b8c8d,'subUnitId':_0x36ad82,'pivotTableId':_0x3f204e,'pivotTableConfig':_0x13ec10});}[_0x4a26b1(0x1b8)](_0xab8090,_0x7829a1){const _0x26f8dd=_0x4a26b1;var _0x32c350;return(_0x32c350=this[_0x26f8dd(0x2c8)][_0x26f8dd(0x2e7)](_0xab8090))==null?void 0x0:_0x32c350[_0x26f8dd(0x484)][_0x7829a1];}[_0x4a26b1(0x1ce)](_0x56adc2,_0x43ebce){const _0x58aeb5=_0x4a26b1;this[_0x58aeb5(0x2c8)][_0x58aeb5(0x3fe)](_0x56adc2,_0x43ebce),this['_configVersion$'][_0x58aeb5(0x289)](Math['random']());}[_0x4a26b1(0x254)](_0x1db4e7,_0x33ae8c){const _0x10894f=_0x4a26b1;let _0x30faa5=this[_0x10894f(0x1d3)][_0x10894f(0x2e7)](_0x1db4e7);_0x30faa5||(_0x30faa5=new Map(),this[_0x10894f(0x1d3)][_0x10894f(0x3fe)](_0x1db4e7,_0x30faa5));let _0x1de6ca=_0x30faa5[_0x10894f(0x2e7)](_0x33ae8c);return _0x1de6ca||(_0x1de6ca=new Map(),_0x30faa5[_0x10894f(0x3fe)](_0x33ae8c,_0x1de6ca)),_0x1de6ca;}[_0x4a26b1(0x1f7)](_0x553fcd,_0x4e9dda){const _0x302023=_0x4a26b1;let _0x5302c4=this[_0x302023(0x473)][_0x302023(0x2e7)](_0x553fcd);_0x5302c4||(_0x5302c4=new Map(),this['_pivotTableRangeInfo'][_0x302023(0x3fe)](_0x553fcd,_0x5302c4));let _0x18481e=_0x5302c4[_0x302023(0x2e7)](_0x4e9dda);return _0x18481e||(_0x18481e=new Map(),_0x5302c4[_0x302023(0x3fe)](_0x4e9dda,_0x18481e)),_0x18481e;}[_0x4a26b1(0x2d4)](_0x470c76,_0x497570){const _0x50cf4c=_0x4a26b1;let _0x1a56d3=this[_0x50cf4c(0x480)][_0x50cf4c(0x2e7)](_0x470c76);_0x1a56d3||(_0x1a56d3=new Map(),this[_0x50cf4c(0x480)][_0x50cf4c(0x3fe)](_0x470c76,_0x1a56d3));let _0x74e6a8=_0x1a56d3[_0x50cf4c(0x2e7)](_0x497570);return _0x74e6a8||(_0x74e6a8=new Map(),_0x1a56d3[_0x50cf4c(0x3fe)](_0x497570,_0x74e6a8)),_0x74e6a8;}['updatePivotTableRangeInfo'](_0x196f3a,_0x33c45c,_0x33b879,_0x560985){const _0x3d326c=_0x4a26b1;var _0xe2f90;const _0x3146a4=this[_0x3d326c(0x1f7)](_0x196f3a,_0x33c45c),_0x2337b4=(_0xe2f90=_0x3146a4[_0x3d326c(0x2e7)](_0x33b879))==null?void 0x0:_0xe2f90[_0x3d326c(0x1ab)];_0x3146a4[_0x3d326c(0x3fe)](_0x33b879,{'oldRangeInfo':_0x2337b4,'rangeInfo':_0x560985});}[_0x4a26b1(0x277)](_0x58ebc5,_0xdb3750,_0x5ccb8f,_0x791d17){const _0x53f7df=_0x4a26b1;var _0xfb0559;const _0x5f0b8c=this[_0x53f7df(0x2d4)](_0x58ebc5,_0xdb3750),_0x369902=(_0xfb0559=_0x5f0b8c[_0x53f7df(0x2e7)](_0x5ccb8f))==null?void 0x0:_0xfb0559[_0x53f7df(0x372)];_0x5f0b8c[_0x53f7df(0x3fe)](_0x5ccb8f,{'oldMatrix':_0x369902,'matrix':_0x791d17});}[_0x4a26b1(0x2ba)](_0x3f4feb,_0x261627,_0x4b74ae){const _0x1c223f=_0x4a26b1;var _0xa08583,_0x3e9218;return(_0x3e9218=(_0xa08583=this[_0x1c223f(0x473)][_0x1c223f(0x2e7)](_0x3f4feb))==null?void 0x0:_0xa08583[_0x1c223f(0x2e7)](_0x261627))==null?void 0x0:_0x3e9218['get'](_0x4b74ae);}['getPivotTableMatrixInfo'](_0x48d20a,_0x49c918,_0x2d26e0){const _0x3f1b06=_0x4a26b1;var _0x427503,_0x5db655;return(_0x5db655=(_0x427503=this[_0x3f1b06(0x480)][_0x3f1b06(0x2e7)](_0x48d20a))==null?void 0x0:_0x427503[_0x3f1b06(0x2e7)](_0x49c918))==null?void 0x0:_0x5db655[_0x3f1b06(0x2e7)](_0x2d26e0);}[_0x4a26b1(0x299)](_0x10a812){const _0x344a4a=_0x4a26b1;this[_0x344a4a(0x1d3)][_0x344a4a(0x19a)](_0x10a812),this[_0x344a4a(0x2c8)]['delete'](_0x10a812);}[_0x4a26b1(0x431)](_0x31a12e){const _0x395ec4=_0x4a26b1,_0x53d532={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x395ec4(0x2c8)][_0x395ec4(0x2e7)](_0x31a12e)&&(_0x53d532[_0x395ec4(0x1a6)][_0x31a12e]=this[_0x395ec4(0x2c8)][_0x395ec4(0x2e7)](_0x31a12e)),this['_model']['get'](_0x31a12e)){_0x53d532[_0x395ec4(0x478)][_0x31a12e]={};const _0x4dc984=this[_0x395ec4(0x1d3)][_0x395ec4(0x2e7)](_0x31a12e);_0x4dc984!=null&&_0x4dc984[_0x395ec4(0x3bb)]&&[..._0x4dc984[_0x395ec4(0x41d)]()][_0x395ec4(0x1cc)](_0x3a3335=>{const _0x2fce3b=_0x395ec4,_0x3c40ea=_0x4dc984[_0x2fce3b(0x2e7)](_0x3a3335);_0x3c40ea!=null&&_0x3c40ea['size']&&(_0x53d532['pivotTableConfigs'][_0x31a12e][_0x3a3335]={},[..._0x3c40ea[_0x2fce3b(0x41d)]()][_0x2fce3b(0x1cc)](_0x4b7267=>{const _0xa852bc=_0x2fce3b,_0x7f0e65=_0x3c40ea['get'](_0x4b7267);_0x7f0e65&&(_0x53d532[_0xa852bc(0x478)][_0x31a12e][_0x3a3335][_0x4b7267]=_0x7f0e65);}));});}return _0x53d532;}[_0x4a26b1(0x386)](){const _0x15915c=_0x4a26b1;this[_0x15915c(0x3d9)](this[_0x15915c(0x3f3)][_0x15915c(0x229)]({'toJson':_0x36aa08=>JSON['stringify'](this[_0x15915c(0x431)](_0x36aa08)),'parseJson':_0x37ba0d=>({}),'businesses':[_0x2420fe['UniverInstanceType'][_0x15915c(0x3c7)]],'pluginName':_0x367f46,'onLoad':(_0x522375,_0x27c0c4)=>{},'onUnLoad':_0x39230e=>{const _0x245cdd=_0x15915c;this[_0x245cdd(0x299)](_0x39230e);}}));}},_0x1c5878['SheetsPivotTableConfigModel']=_0x10da49([_0x2f7acd(0x0,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x456)])),_0x2f7acd(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe['ICommandService'])),_0x2f7acd(0x2,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe['IUniverInstanceService'])),_0x2f7acd(0x3,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x409)])),_0x2f7acd(0x4,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x3b2)]))],_0x1c5878[_0x4a26b1(0x384)]);var _0x3e6b77=Object[_0x4a26b1(0x230)],_0x45cc0e=(_0x5d98bd,_0x55d089,_0x1b86d1,_0x11c10b)=>{for(var _0x15625d=_0x11c10b>0x1?void 0x0:_0x11c10b?_0x3e6b77(_0x55d089,_0x1b86d1):_0x55d089,_0x4ef744=_0x5d98bd['length']-0x1,_0x3d97c0;_0x4ef744>=0x0;_0x4ef744--)(_0x3d97c0=_0x5d98bd[_0x4ef744])&&(_0x15625d=_0x3d97c0(_0x15625d)||_0x15625d);return _0x15625d;},_0x1508bf=(_0x30924e,_0x117f75)=>(_0xd4ff13,_0x15868d)=>_0x117f75(_0xd4ff13,_0x15868d,_0x30924e);_0x1c5878['SheetsPivotTableAdaptorModel']=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0x8358ef,_0x36f6dc,_0x3e753b,_0x5be1bc,_0x44906b){const _0x1925b6=_0x4a26b1;super(),_0x3b48fc(this,_0x1925b6(0x2c6),new Map()),_0x3b48fc(this,_0x1925b6(0x319),new Map()),_0x3b48fc(this,_0x1925b6(0x32a),new _0x5d8adc['Subject']()),_0x3b48fc(this,_0x1925b6(0x2a6),this[_0x1925b6(0x32a)][_0x1925b6(0x371)]()),_0x3b48fc(this,'_viewUpdate$',new _0x5d8adc[(_0x1925b6(0x20b))]()),_0x3b48fc(this,_0x1925b6(0x40c),this[_0x1925b6(0x4a3)][_0x1925b6(0x371)]()),_0x3b48fc(this,_0x1925b6(0x3fa)),(this[_0x1925b6(0x2c9)]=_0x8358ef,this[_0x1925b6(0x433)]=_0x36f6dc,this['_sheetsPivotTableConfigModel']=_0x3e753b,this[_0x1925b6(0x338)]=_0x5be1bc,this[_0x1925b6(0x447)]=_0x44906b,this[_0x1925b6(0x27b)](),this[_0x1925b6(0x23d)]());}[_0x4a26b1(0x23d)](){const _0x16fe4e=_0x4a26b1;this[_0x16fe4e(0x3d9)](this[_0x16fe4e(0x338)][_0x16fe4e(0x1ca)](_0x2420fe[_0x16fe4e(0x420)][_0x16fe4e(0x3c7)])['subscribe'](_0x48f371=>{const _0x54d98c=_0x16fe4e;this['deleteUnitId'](_0x48f371[_0x54d98c(0x33b)]());}));}['_initLocale'](){const _0x2709cb=_0x4a26b1;this[_0x2709cb(0x3fa)]=_0x3f58e7(this['_injector'],_0x2825cc,'',{});}[_0x4a26b1(0x206)](_0x145969){const _0x58a450=_0x4a26b1,{view:_0x379195,unitId:_0x3b9859,subUnitId:_0x52245f,pivotTableId:_0x486f87,type:_0x422664}=_0x145969,_0x26475e=this[_0x58a450(0x1e6)][_0x58a450(0x3b3)](_0x3b9859,_0x52245f,_0x486f87);if(!_0x379195||!_0x26475e||_0x422664===_0x2804e5[_0x58a450(0x2cf)])return;const {pageView:_0x210eac,cornerView:_0x590f6c,rowView:_0x573980,colView:_0x3be9cf,dataView:_0x54055e}=_0x379195,_0x528f50=_0x26475e[_0x58a450(0x36c)],_0x334e17=_0x26475e['isEmpty'],_0x392d0f=this[_0x58a450(0x26a)](_0x3b9859,_0x52245f),_0x11944e=this['_ensurePivotItemRenderInfoCache'](_0x3b9859,_0x52245f,_0x486f87);if(_0x334e17)return this[_0x58a450(0x313)](_0x145969,_0x392d0f,_0x528f50,_0x11944e);{const _0x158733=_0x44782c(_0x528f50,_0x210eac,!0x0),_0x30331d=_0x210eac[_0x58a450(0x378)]>=0x0?_0x210eac[_0x58a450(0x378)]+0x1:0x0,_0x46a8ce=_0x590f6c[_0x58a450(0x425)](),_0x462cd6=_0x590f6c['getColCount'](),_0x51baff=_0x158733[_0x58a450(0x247)]>0x0?_0x59c838:0x0,_0x1502aa=_0x44782c({'row':_0x528f50[_0x58a450(0x1c0)]+_0x30331d+_0x51baff,'col':_0x528f50[_0x58a450(0x43b)]},_0x590f6c,!0x1,!0x1),_0xe6ff9e=_0x44782c({'row':_0x528f50[_0x58a450(0x1c0)]+_0x30331d+_0x51baff+_0x46a8ce,'col':_0x528f50[_0x58a450(0x43b)]},_0x573980,!0x1,!0x0),_0x44bf5e=_0x44782c({'row':_0x528f50[_0x58a450(0x1c0)]+_0x30331d+_0x51baff,'col':_0x528f50[_0x58a450(0x43b)]+_0x462cd6},_0x3be9cf,!0x1,!0x0),_0x946c89=_0x44782c({'row':_0x528f50[_0x58a450(0x1c0)]+_0x30331d+_0x51baff+_0x46a8ce,'col':_0x528f50[_0x58a450(0x43b)]+_0x462cd6},_0x54055e,!0x1,!0x1);_0x11944e['rangesInfo']={'rowRanges':_0xe6ff9e,'colRanges':_0x44bf5e,'cornerRanges':_0x1502aa,'dataRanges':_0x946c89,'pageRanges':_0x158733};const _0x2788fe=_0xa313e(this[_0x58a450(0x433)],_0x379195,_0x26475e,this[_0x58a450(0x3fa)]),{valueMatrix:_0x224b31,rowInfo:_0x5499b8,colInfo:_0x5ece4c,cornerInfo:_0x1c2ce4,rowHeaderMap:_0x4fe2eb,colHeaderMap:_0xf0279e}=_0x2788fe;return _0x11944e[_0x58a450(0x1e8)]={'rowInfo':_0x5499b8,'colInfo':_0x5ece4c,'cornerInfo':_0x1c2ce4},_0x11944e[_0x58a450(0x2e8)]={'rowHeaderMap':_0x4fe2eb,'colHeaderMap':_0xf0279e},_0x224b31['forEach']((_0x14a45e,_0x18809c)=>{const _0xfddf00=_0x58a450;Object[_0xfddf00(0x41d)](_0x18809c)[_0xfddf00(0x1cc)](_0xfa1990=>{const _0x28a57b=_0xfddf00,_0x911b34=+_0xfa1990,_0x2a49f4=_0x224b31[_0x28a57b(0x23e)](_0x14a45e,_0x911b34);_0x392d0f['setValue'](_0x14a45e,_0x911b34,_0x2a49f4);});}),this['_viewUpdate$'][_0x58a450(0x289)]({'unitId':_0x3b9859,'subUnitId':_0x52245f,'valueMatrix':_0x392d0f,'rangesCache':_0x11944e[_0x58a450(0x366)],'pivotTableId':_0x486f87,'type':_0x145969['type']}),this['_sheetsPivotTableConfigModel'][_0x58a450(0x2aa)](_0x3b9859,_0x52245f,_0x486f87,_0x392d0f,_0x11944e[_0x58a450(0x366)]),this[_0x58a450(0x447)][_0x58a450(0x462)](_0x3b9859,_0x52245f,_0x4b6e3a,this['_createExclusiveRange'](_0x11944e[_0x58a450(0x366)],_0x486f87)),{'rangeCache':_0x11944e[_0x58a450(0x366)],'matrix':_0x392d0f};}}[_0x4a26b1(0x313)](_0x557ce1,_0x5bdc6f,_0x5594b3,_0x385503){const _0x21d205=_0x4a26b1,_0x28cc84=this[_0x21d205(0x2c9)]['t'],{unitId:_0x2ccb1d,subUnitId:_0x1f2097,pivotTableId:_0x36a62a}=_0x557ce1,_0x40fc2b={'filter':_0x28cc84('sheets-pivot.emptyPivot.filter'),'row':_0x28cc84(_0x21d205(0x20c)),'column':_0x28cc84(_0x21d205(0x303)),'values':_0x28cc84(_0x21d205(0x1ef))},{matrixCache:_0x2f06e0,rangesCache:_0x42cb5d}=_0x11bd73(_0x40fc2b,_0x5594b3);return _0x2f06e0[_0x21d205(0x370)]((_0x2cc9c9,_0x221cd9,_0x314db6)=>{const _0x48d68d=_0x21d205;_0x5bdc6f[_0x48d68d(0x3a1)](_0x2cc9c9,_0x221cd9,_0x314db6);}),_0x385503[_0x21d205(0x366)]=_0x42cb5d,this[_0x21d205(0x4a3)][_0x21d205(0x289)]({'unitId':_0x2ccb1d,'subUnitId':_0x1f2097,'valueMatrix':_0x5bdc6f,'rangesCache':_0x42cb5d,'pivotTableId':_0x36a62a,'type':_0x557ce1[_0x21d205(0x45d)],'isEmpty':!0x0}),this[_0x21d205(0x1e6)]['updateViewInfo'](_0x2ccb1d,_0x1f2097,_0x36a62a,_0x5bdc6f,_0x42cb5d),this[_0x21d205(0x447)][_0x21d205(0x462)](_0x2ccb1d,_0x1f2097,_0x4b6e3a,this['_createExclusiveRange'](_0x42cb5d,_0x36a62a)),{'rangeCache':_0x385503[_0x21d205(0x366)],'matrix':_0x5bdc6f};}[_0x4a26b1(0x2ad)](_0x329181,_0x34b519){const _0x2f8170=_0x4a26b1,_0x5a7912=[],_0x1068f2=_0x2fd6ff(_0x329181);for(const _0x2cb2ee of _0x1068f2)_0x5a7912[_0x2f8170(0x2e9)]({'groupId':_0x34b519,'range':_0x2cb2ee});return _0x5a7912;}['clearRenderCache'](_0x25f337){const _0x1436cd=_0x4a26b1;var _0xfed377,_0x1af235,_0x2aa651,_0x4c8398;const {pivotTableId:_0xba0133,unitId:_0x18bb36,subUnitId:_0x15e93f}=_0x25f337;if(!_0xba0133||!_0x18bb36||!_0x15e93f)return;const _0x18d23f=this[_0x1436cd(0x26a)](_0x18bb36,_0x15e93f),_0x39a437=(_0x1af235=(_0xfed377=this[_0x1436cd(0x2c6)][_0x1436cd(0x2e7)](_0x18bb36))==null?void 0x0:_0xfed377[_0x1436cd(0x2e7)](_0x15e93f))==null?void 0x0:_0x1af235[_0x1436cd(0x2e7)](_0xba0133);if(_0x39a437!=null&&_0x39a437[_0x1436cd(0x366)]){for(const _0xc15e7 of Object[_0x1436cd(0x41d)](_0x39a437[_0x1436cd(0x366)]))_0x39a437[_0x1436cd(0x366)][_0xc15e7][_0x1436cd(0x1cc)](_0x50dc41=>{const _0x18d4c0=_0x1436cd;for(let _0x4038cf=_0x50dc41[_0x18d4c0(0x1e0)];_0x4038cf<=_0x50dc41[_0x18d4c0(0x1f6)];_0x4038cf++)for(let _0x2acf5b=_0x50dc41[_0x18d4c0(0x2b4)];_0x2acf5b<=_0x50dc41['endColumn'];_0x2acf5b++)_0x18d23f[_0x18d4c0(0x273)](_0x4038cf,_0x2acf5b);});}_0x39a437&&((_0x4c8398=(_0x2aa651=this[_0x1436cd(0x2c6)][_0x1436cd(0x2e7)](_0x18bb36))==null?void 0x0:_0x2aa651[_0x1436cd(0x2e7)](_0x15e93f))==null||_0x4c8398[_0x1436cd(0x19a)](_0xba0133)),this[_0x1436cd(0x4a3)][_0x1436cd(0x289)]({'unitId':_0x18bb36,'subUnitId':_0x15e93f,'valueMatrix':_0x18d23f,'pivotTableId':_0xba0133,'rangesCache':void 0x0,'type':_0x25f337['type']}),this['_exclusiveRangeService'][_0x1436cd(0x26c)](_0x18bb36,_0x15e93f,_0x4b6e3a,_0xba0133);}[_0x4a26b1(0x1f4)](_0x2b1a42,_0x34e879,_0x5d9129){const _0xd73b1=_0x4a26b1;var _0x2d706e,_0x1c4fa4,_0x39b09a,_0x2ab4e2,_0x2a379b,_0x35a0e5;return this[_0xd73b1(0x2c6)][_0xd73b1(0x308)](_0x2b1a42)||this[_0xd73b1(0x2c6)]['set'](_0x2b1a42,new Map()),(_0x2d706e=this[_0xd73b1(0x2c6)]['get'](_0x2b1a42))!=null&&_0x2d706e[_0xd73b1(0x308)](_0x34e879)||(_0x1c4fa4=this[_0xd73b1(0x2c6)]['get'](_0x2b1a42))==null||_0x1c4fa4[_0xd73b1(0x3fe)](_0x34e879,new Map()),(_0x2ab4e2=(_0x39b09a=this['_pivotRenderInfoCache']['get'](_0x2b1a42))==null?void 0x0:_0x39b09a[_0xd73b1(0x2e7)](_0x34e879))!=null&&_0x2ab4e2['has'](_0x5d9129)||(_0x35a0e5=(_0x2a379b=this[_0xd73b1(0x2c6)][_0xd73b1(0x2e7)](_0x2b1a42))==null?void 0x0:_0x2a379b['get'](_0x34e879))==null||_0x35a0e5[_0xd73b1(0x3fe)](_0x5d9129,{}),this[_0xd73b1(0x2c6)][_0xd73b1(0x2e7)](_0x2b1a42)[_0xd73b1(0x2e7)](_0x34e879)['get'](_0x5d9129);}[_0x4a26b1(0x26a)](_0x41f352,_0x142625){const _0x2b387a=_0x4a26b1;var _0x2473e5,_0x30bd04;return this['_pivotRenderValueMatrixCache'][_0x2b387a(0x308)](_0x41f352)||this['_pivotRenderValueMatrixCache']['set'](_0x41f352,new Map()),(_0x2473e5=this['_pivotRenderValueMatrixCache'][_0x2b387a(0x2e7)](_0x41f352))!=null&&_0x2473e5['has'](_0x142625)||(_0x30bd04=this[_0x2b387a(0x319)]['get'](_0x41f352))==null||_0x30bd04[_0x2b387a(0x3fe)](_0x142625,new _0x2420fe[(_0x2b387a(0x4b4))]()),this[_0x2b387a(0x319)]['get'](_0x41f352)[_0x2b387a(0x2e7)](_0x142625);}[_0x4a26b1(0x3a5)](_0x3e8ab7,_0x5732e8,_0x4b3f16,_0x54f7b5){const _0x3f9779=_0x4a26b1;var _0x2020ea,_0x36dff3;const _0x454737=(_0x36dff3=(_0x2020ea=this[_0x3f9779(0x319)]['get'](_0x3e8ab7))==null?void 0x0:_0x2020ea[_0x3f9779(0x2e7)](_0x5732e8))==null?void 0x0:_0x36dff3[_0x3f9779(0x23e)](_0x4b3f16,_0x54f7b5);if(_0x454737!=null)return _0x454737;}[_0x4a26b1(0x497)](_0x2b04dd,_0x588807,_0x25a42a,_0x342bd4){const _0x20b9cc=_0x4a26b1;var _0x5c4a99;const _0xbe923c=_0x2420fe[_0x20b9cc(0x1c1)](_0x25a42a,_0x342bd4),_0x4ac905=(_0x5c4a99=this[_0x20b9cc(0x2c6)][_0x20b9cc(0x2e7)](_0x2b04dd))==null?void 0x0:_0x5c4a99['get'](_0x588807);return _0x4ac905?Array['from'](_0x4ac905[_0x20b9cc(0x41d)]())['find'](_0x4dcf7f=>{const _0x2179c9=_0x20b9cc,_0x9a0618=_0x4ac905['get'](_0x4dcf7f),_0x4d6a47=_0x9a0618==null?void 0x0:_0x9a0618[_0x2179c9(0x366)];return _0x4d6a47?Object[_0x2179c9(0x41d)](_0x4d6a47)[_0x2179c9(0x227)](_0x15240b=>_0x4d6a47[_0x15240b][_0x2179c9(0x227)](_0x471419=>_0x2420fe['Rectangle'][_0x2179c9(0x352)](_0x471419,_0xbe923c))):!0x1;}):void 0x0;}[_0x4a26b1(0x1c6)](_0x91e38f,_0x87625b,_0x4b7d61){const _0x617580=_0x4a26b1;var _0x155327;const _0x19a50d=(_0x155327=this['_pivotRenderInfoCache']['get'](_0x91e38f))==null?void 0x0:_0x155327[_0x617580(0x2e7)](_0x87625b),_0x13a797=[];return _0x19a50d&&Array[_0x617580(0x37d)](_0x19a50d['keys']())[_0x617580(0x1cc)](_0x2f416d=>{const _0x135800=_0x617580,_0x5eeb65=_0x19a50d[_0x135800(0x2e7)](_0x2f416d),_0x10c945=_0x5eeb65==null?void 0x0:_0x5eeb65[_0x135800(0x366)];if(_0x10c945)for(const _0xd371b8 of Object[_0x135800(0x41b)](_0x10c945)){let _0x22a849=!0x1;for(const _0x315a8f of _0xd371b8)if(_0x2420fe[_0x135800(0x3d0)][_0x135800(0x250)](_0x315a8f,_0x4b7d61)){_0x13a797[_0x135800(0x2e9)](_0x2f416d),_0x22a849=!0x0;break;}if(_0x22a849)break;}}),_0x13a797;}['getSubUnitPivotMatrix'](_0x581931,_0x3ccf59){const _0x2130d8=_0x4a26b1;var _0x4a2d4e,_0x39ac02;return(_0x39ac02=(_0x4a2d4e=this[_0x2130d8(0x319)][_0x2130d8(0x2e7)](_0x581931))==null?void 0x0:_0x4a2d4e[_0x2130d8(0x2e7)](_0x3ccf59))!=null?_0x39ac02:new _0x2420fe[(_0x2130d8(0x4b4))]();}[_0x4a26b1(0x237)](_0x59183b,_0x364608){const _0x5b214b=_0x4a26b1;var _0x39fe7d;return(_0x39fe7d=this[_0x5b214b(0x2c6)][_0x5b214b(0x2e7)](_0x59183b))==null?void 0x0:_0x39fe7d[_0x5b214b(0x2e7)](_0x364608);}['getPivotItemRenderInfoCache'](_0x4d22a3,_0x23e5b4,_0x7553a7){const _0x28ec65=_0x4a26b1;var _0x4560fd,_0x48dd00;return(_0x48dd00=(_0x4560fd=this['_pivotRenderInfoCache'][_0x28ec65(0x2e7)](_0x4d22a3))==null?void 0x0:_0x4560fd[_0x28ec65(0x2e7)](_0x23e5b4))==null?void 0x0:_0x48dd00[_0x28ec65(0x2e7)](_0x7553a7);}[_0x4a26b1(0x299)](_0x47a955){const _0x4b4fad=_0x4a26b1;this['_pivotRenderInfoCache'][_0x4b4fad(0x19a)](_0x47a955),this[_0x4b4fad(0x319)][_0x4b4fad(0x19a)](_0x47a955);}[_0x4a26b1(0x1f5)](_0xb6a35c,_0x8e40bc){const _0x32b494=_0x4a26b1;this[_0x32b494(0x32a)][_0x32b494(0x289)]({'unitId':_0xb6a35c,'subUnitId':_0x8e40bc});}},_0x1c5878[_0x4a26b1(0x270)]=_0x45cc0e([_0x1508bf(0x0,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x210)])),_0x1508bf(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe['Injector'])),_0x1508bf(0x2,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878[_0x4a26b1(0x384)])),_0x1508bf(0x3,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe['IUniverInstanceService'])),_0x1508bf(0x4,_0x2420fe[_0x4a26b1(0x3f6)](_0x43dbd4[_0x4a26b1(0x39a)]))],_0x1c5878[_0x4a26b1(0x270)]);var _0x4e2656=Object[_0x4a26b1(0x230)],_0x1792b7=(_0x33653a,_0x33d1df,_0x430b66,_0x4632a6)=>{const _0x1b0582=_0x4a26b1;for(var _0x26d60a=_0x4632a6>0x1?void 0x0:_0x4632a6?_0x4e2656(_0x33d1df,_0x430b66):_0x33d1df,_0x2f3ddc=_0x33653a[_0x1b0582(0x247)]-0x1,_0x1b2032;_0x2f3ddc>=0x0;_0x2f3ddc--)(_0x1b2032=_0x33653a[_0x2f3ddc])&&(_0x26d60a=_0x1b2032(_0x26d60a)||_0x26d60a);return _0x26d60a;},_0x4cbc0d=(_0x152485,_0x53ebcb)=>(_0x142689,_0x3ecfd7)=>_0x53ebcb(_0x142689,_0x3ecfd7,_0x152485);_0x1c5878[_0x4a26b1(0x248)]=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0x418f54,_0x219bbe){const _0x3b0a3c=_0x4a26b1;super(),_0x3b48fc(this,_0x3b0a3c(0x2f7),new _0x2420fe[(_0x3b0a3c(0x45b))]({'PIVOT_PERFORM_CHECK':_0x395b91})),_0x3b48fc(this,_0x3b0a3c(0x38c),new _0x2420fe[(_0x3b0a3c(0x470))]({'PIVOT_MUTATION_GENERATE':_0x4b02ef})),(this[_0x3b0a3c(0x23b)]=_0x418f54,this['_sheetsPivotTableAdaptorModel']=_0x219bbe,this[_0x3b0a3c(0x2d8)]());}[_0x4a26b1(0x2d8)](){const _0x2a72dc=_0x4a26b1;this[_0x2a72dc(0x2b7)]();}['getPivotPerformCheck'](_0x6082d3){const _0x5d4605=_0x4a26b1;return this[_0x5d4605(0x2f7)]['fetchThroughAsyncInterceptors'](_0x395b91)(!0x1,_0x6082d3);}[_0x4a26b1(0x2b7)](){const _0x28fcc6=_0x4a26b1;this['disposeWithMe'](this['_sheetInterceptorService']['intercept'](_0x43dbd4[_0x28fcc6(0x228)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x2420fe[_0x28fcc6(0x323)][_0x28fcc6(0x49b)]|_0x2420fe[_0x28fcc6(0x323)][_0x28fcc6(0x32e)],'handler':(_0xbaaa69,_0x45490b,_0x254f91)=>{const _0x19749e=_0x28fcc6,{row:_0x297fb6,col:_0x3ae54b,unitId:_0x3abdc1,subUnitId:_0x1893da,workbook:_0x1ab11f}=_0x45490b,_0xfdbe0b=this[_0x19749e(0x2ee)][_0x19749e(0x3a5)](_0x3abdc1,_0x1893da,_0x297fb6,_0x3ae54b);if(!_0xfdbe0b)return _0x254f91(_0xbaaa69);const _0x5b6908={..._0xbaaa69};(_0xfdbe0b['v']||_0xfdbe0b['v']===0x0)&&(_0x5b6908['v']=_0xfdbe0b['v']),_0xfdbe0b['t']&&(_0x5b6908['t']=_0xfdbe0b['t']);const _0x50d8d8=(typeof(_0xbaaa69==null?void 0x0:_0xbaaa69['s'])==_0x19749e(0x1de)?_0x1ab11f[_0x19749e(0x356)]()['get'](_0xbaaa69==null?void 0x0:_0xbaaa69['s']):_0xbaaa69==null?void 0x0:_0xbaaa69['s'])||{},_0x42b8c0=_0x1ab11f[_0x19749e(0x356)]()[_0x19749e(0x2e7)](_0xfdbe0b['s']),_0x39ef97={..._0x42b8c0,..._0x50d8d8};_0x42b8c0!=null&&_0x42b8c0['n']&&(_0x39ef97['n']=_0x42b8c0['n']);const _0x484a2f=_0x1ab11f['getStyles']()['setValue'](_0x39ef97);return _0x5b6908['s']=_0x484a2f,(_0xfdbe0b['pbt']===_0x29e939[_0x19749e(0x203)][_0x19749e(0x36d)]||_0xfdbe0b[_0x19749e(0x2fc)]===_0x29e939[_0x19749e(0x203)][_0x19749e(0x3cb)])&&(_0x5b6908[_0x19749e(0x1be)]={},_0x5b6908['fontRenderExtension']['leftOffset']=_0x45d067),_0x254f91(_0x5b6908);}}));}},_0x1c5878['SheetsPivotTableService']=_0x1792b7([_0x4cbc0d(0x0,_0x2420fe[_0x4a26b1(0x3f6)](_0x43dbd4[_0x4a26b1(0x1d2)])),_0x4cbc0d(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878[_0x4a26b1(0x270)]))],_0x1c5878['SheetsPivotTableService']);const _0x3ab476={'id':'sheet.mutation.add-group-collection','type':_0x2420fe['CommandType']['MUTATION'],'handler':(_0x7e1e13,_0x162658)=>{const _0x5aa866=_0x4a26b1;if(!_0x162658)return!0x1;if(!!_0x7e1e13[_0x5aa866(0x2e7)](_0x2420fe[_0x5aa866(0x3b2)])[_0x5aa866(0x395)](_0x2122db))return!0x0;const {pivotTableId:_0x3b2f87,fieldJSON:_0x5b9245,unitId:_0x45dfba,subUnitId:_0x596c91}=_0x162658;let _0x1d15f3;const {dataFieldType:_0x3ab757,id:_0x314ea7,name:_0x517076,hexCode:_0x3cd2ec,originalFieldId:_0x4a110d}=_0x5b9245;if(_0x3ab757===_0x29e939[_0x5aa866(0x275)][_0x5aa866(0x2e4)]&&(_0x1d15f3=new _0x29e939[(_0x5aa866(0x3a3))](_0x314ea7,_0x517076,_0x3cd2ec,_0x4a110d)),!_0x1d15f3)return!0x1;const _0x19ed22=_0x7e1e13[_0x5aa866(0x2e7)](_0x1c5878['SheetsPivotDataSourceModel']),_0x2328b8=_0x19ed22[_0x5aa866(0x39c)](_0x45dfba),_0x2d3bb8=_0x2328b8[_0x5aa866(0x1b8)](_0x3b2f87);_0x2328b8['addDataFieldWithoutUnitInfo'](_0x1d15f3),_0x2d3bb8['addField'](_0x1d15f3[_0x5aa866(0x37b)](),_0x1d15f3[_0x5aa866(0x413)]());const _0x12c9cb=_0x2d3bb8[_0x5aa866(0x34a)](_0x1d15f3[_0x5aa866(0x37f)]());_0x12c9cb&&_0x1d15f3['refreshGroupField'](_0x12c9cb);const _0x3ba130=_0x19ed22[_0x5aa866(0x3b3)](_0x45dfba,_0x596c91,_0x3b2f87);return _0x19ed22[_0x5aa866(0x25d)]({'unitId':_0x45dfba,'subUnitId':_0x596c91,'token':_0x3b2f87,'type':_0x2804e5[_0x5aa866(0x38a)],'pivotConfig':_0x3ba130}),!0x0;}},_0x171600={'id':_0x4a26b1(0x29e),'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'handler':(_0x3113a9,_0x1282d2)=>{const _0x4ee171=_0x4a26b1;if(!_0x1282d2)return!0x1;if(!!_0x3113a9['get'](_0x2420fe[_0x4ee171(0x3b2)])['getConfig'](_0x2122db))return!0x0;const {pivotTableId:_0x6331b2,dataFieldId:_0x43ca6c,unitId:_0x31c14a,subUnitId:_0x227b09}=_0x1282d2,_0x44af30=_0x3113a9[_0x4ee171(0x2e7)](_0x1c5878[_0x4ee171(0x342)]),_0x35418c=_0x44af30[_0x4ee171(0x39c)](_0x31c14a);_0x35418c[_0x4ee171(0x1b8)](_0x6331b2)[_0x4ee171(0x3e4)](_0x43ca6c);let _0x3a46fa=!0x0;for(const _0x3f5982 in _0x35418c['collections'])if(_0x35418c[_0x4ee171(0x484)][_0x3f5982]['getFieldIds']()['includes'](_0x43ca6c)){_0x3a46fa=!0x1;break;}_0x3a46fa&&_0x35418c[_0x4ee171(0x443)](_0x43ca6c);const _0x39eda8=_0x44af30['getPivotTableConfig'](_0x31c14a,_0x227b09,_0x6331b2);return _0x44af30[_0x4ee171(0x25d)]({'unitId':_0x31c14a,'subUnitId':_0x227b09,'token':_0x6331b2,'type':_0x2804e5['Set'],'pivotConfig':_0x39eda8}),!0x0;}};function _0xf6a2d(_0x552e25,_0x2ad736){const _0x2e39d3=_0x4a26b1;switch(_0x2ad736){case _0x29e939[_0x2e39d3(0x242)][_0x2e39d3(0x49b)]:return _0x552e25[_0x2e39d3(0x27c)];case _0x29e939[_0x2e39d3(0x242)][_0x2e39d3(0x2fa)]:return _0x552e25['filterFields'];case _0x29e939['PivotTableFiledAreaEnum']['Row']:return _0x552e25[_0x2e39d3(0x267)];case _0x29e939[_0x2e39d3(0x242)][_0x2e39d3(0x35c)]:return _0x552e25[_0x2e39d3(0x22d)];default:return[];}}function _0xd59929(_0x29aa9b,_0x422234){return _0x29aa9b['measure'][_0x422234]||_0x29aa9b['dimension'][_0x422234];}function _0x1d7dd3(_0x41ef25,_0x182ca5){const _0x37ebb4=_0x4a26b1,{area:_0x39ae2f,fieldJson:_0x1c455c,index:_0x19b050}=_0x182ca5;_0x39ae2f===_0x29e939[_0x37ebb4(0x242)][_0x37ebb4(0x49b)]?_0x41ef25[_0x37ebb4(0x454)][_0x1c455c['id']]=_0x1c455c:_0x41ef25[_0x37ebb4(0x3ad)][_0x1c455c['id']]=_0x1c455c,_0xf6a2d(_0x41ef25,_0x39ae2f)['splice'](_0x19b050,0x0,_0x1c455c['id']);}function _0x179016(_0x5e8b65,_0x18941b){const _0x2b92c3=_0x4a26b1,{area:_0x3880b0,fieldId:_0x39f364,index:_0x200ee5}=_0x18941b;_0x3880b0===_0x29e939['PivotTableFiledAreaEnum'][_0x2b92c3(0x49b)]?delete _0x5e8b65[_0x2b92c3(0x454)][_0x39f364]:delete _0x5e8b65[_0x2b92c3(0x3ad)][_0x39f364],_0xf6a2d(_0x5e8b65,_0x3880b0)[_0x2b92c3(0x34e)](_0x200ee5,0x1);}function _0x22c5e9(_0x3ec09b,_0x3a50f9){const {fieldId:_0x4efd4e,name:_0x4b7ae6}=_0x3a50f9,_0x274745=_0xd59929(_0x3ec09b,_0x4efd4e);_0x274745&&(_0x274745['displayName']=_0x4b7ae6);}function _0xf61494(_0x15365c,_0xa541ef){const _0x5f211a=_0x4a26b1,{fieldId:_0x326ffc,collapse:_0x480441,item:_0x539471}=_0xa541ef;_0x539471!==void 0x0?(_0x15365c['collapseInfo'][_0x326ffc]=_0x15365c[_0x5f211a(0x32c)][_0x326ffc]||{},_0x15365c[_0x5f211a(0x32c)][_0x326ffc][_0x539471]=_0x480441):_0x15365c[_0x5f211a(0x32c)][_0x326ffc]=_0x480441;}function _0x46dc58(_0x431e05,_0xe175f9){const _0x2dc47f=_0x4a26b1,{fieldId:_0x451838,format:_0xb68035}=_0xe175f9,_0x1b3ecd=_0xd59929(_0x431e05,_0x451838);_0x1b3ecd&&(_0x1b3ecd[_0x2dc47f(0x44f)]=_0xb68035);}function _0x1272dc(_0xdd42e1,_0x979f7a){const _0x2cc52a=_0x4a26b1,{fieldId:_0x4011d4,filterInfo:_0x169cb7}=_0x979f7a,_0x387120=_0xd59929(_0xdd42e1,_0x4011d4);_0x387120&&(_0x387120[_0x2cc52a(0x3f1)]=_0x169cb7);}function _0x2b07dc(_0x486806,_0x3b5b06){const _0x32eab6=_0x4a26b1,{fieldId:_0x34365d,filterInfo:_0x33164a}=_0x3b5b06,_0x2d8e58=_0x486806['valueFilter']['filter'](_0x50e07a=>_0x50e07a['fieldId']!==_0x34365d);_0x33164a&&_0x2d8e58[_0x32eab6(0x2e9)]({'fieldId':_0x34365d,'filterInfo':_0x33164a}),_0x486806[_0x32eab6(0x1aa)]=_0x2d8e58;}function _0xf7cb2a(_0x274c04,_0x3543a7){const _0x430d5e=_0x4a26b1,{fieldId:_0xa676b9,subtotalType:_0x48d19f}=_0x3543a7,_0x35112c=_0xd59929(_0x274c04,_0xa676b9);_0x35112c&&(_0x35112c[_0x430d5e(0x42c)]=_0x48d19f);}function _0x238df9(_0x3b8a78,_0x2c80d1){const _0x4734d3=_0x4a26b1,{fieldId:_0x35758a,oldArea:_0x43c17a,area:_0x13481f,oldIndex:_0x388b3e,index:_0x2e1cc6}=_0x2c80d1,_0x319474=_0x43c17a!==_0x29e939[_0x4734d3(0x242)][_0x4734d3(0x49b)]&&_0x13481f===_0x29e939['PivotTableFiledAreaEnum'][_0x4734d3(0x49b)],_0x21ed60=_0x43c17a===_0x29e939[_0x4734d3(0x242)][_0x4734d3(0x49b)]&&_0x13481f!==_0x29e939[_0x4734d3(0x242)][_0x4734d3(0x49b)];if(_0x319474||_0x21ed60){const _0x357dc3=_0xd59929(_0x3b8a78,_0x35758a);_0x357dc3&&(_0x319474?(delete _0x3b8a78['dimension'][_0x35758a],_0x3b8a78[_0x4734d3(0x454)][_0x35758a]=_0x357dc3):(delete _0x3b8a78[_0x4734d3(0x454)][_0x35758a],_0x3b8a78[_0x4734d3(0x3ad)][_0x35758a]=_0x357dc3));}const _0x4d2b19=_0xf6a2d(_0x3b8a78,_0x43c17a),_0x35d151=_0xf6a2d(_0x3b8a78,_0x13481f);_0x4d2b19[_0x4734d3(0x34e)](_0x388b3e,0x1),_0x35d151[_0x4734d3(0x34e)](_0x2e1cc6,0x0,_0x35758a);}function _0x251828(_0x522fa2,_0x1d01a0){const _0x4e528e=_0x4a26b1,{valuePosition:_0x51c1f9,index:_0x1bb420}=_0x1d01a0;_0x522fa2[_0x4e528e(0x1d4)]=_0x51c1f9,_0x522fa2[_0x4e528e(0x42d)]=_0x1bb420;}function _0x3ac70f(_0x27f847,_0x569070){const _0x112f54=_0x4a26b1,{tableFieldId:_0x564c5d,sourceName:_0x4d3f49,dataFieldId:_0xca731c}=_0x569070,_0x17a64d=_0xd59929(_0x27f847,_0x564c5d);_0x17a64d&&(_0x17a64d[_0x112f54(0x3f7)]=_0x4d3f49,_0x17a64d[_0x112f54(0x22f)]=_0xca731c);}function _0x542584(_0x40f1bb,_0x5a77ad){const _0x5a1e29=_0x4a26b1,{fieldId:_0x2b6b44,sortInfo:_0x5f2cbc}=_0x5a77ad,_0x139494=_0xd59929(_0x40f1bb,_0x2b6b44);_0x139494&&(_0x139494[_0x5a1e29(0x369)]=_0x5f2cbc);}function _0x61893e(_0x136cdd,_0x766e3d){const _0x278967=_0x4a26b1,{options:_0x43c222}=_0x766e3d;_0x136cdd[_0x278967(0x265)]={..._0x136cdd[_0x278967(0x265)],..._0x43c222};}const _0x524024={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x360),'handler'(_0x509a08,_0x35a227){const _0x409976=_0x4a26b1;if(!_0x35a227)return!0x1;if(!!_0x509a08[_0x409976(0x2e7)](_0x2420fe[_0x409976(0x3b2)])[_0x409976(0x395)](_0x2122db))return!0x0;const _0x34c9a1=_0x509a08[_0x409976(0x2e7)](_0x1c5878[_0x409976(0x342)]),{pivotTableId:_0x198b40,fieldJson:_0x3c743a,area:_0x4cf3e1,index:_0x363db8,unitId:_0x405f0e,subUnitId:_0xc65941}=_0x35a227,_0x286212=_0x34c9a1[_0x409976(0x3ea)](_0x198b40);if(!_0x286212)return!0x1;let _0xaa9d1a;_0x4cf3e1===_0x29e939['PivotTableFiledAreaEnum'][_0x409976(0x49b)]?_0xaa9d1a=_0x29e939[_0x409976(0x362)](_0x3c743a):_0xaa9d1a=_0x29e939[_0x409976(0x458)](_0x3c743a),_0x286212[_0x409976(0x318)](_0xaa9d1a,_0x4cf3e1,_0x363db8);const _0x114421=_0x34c9a1[_0x409976(0x2e5)](_0x405f0e,_0xc65941,_0x198b40);_0x1d7dd3(_0x114421,_0x35a227);const _0x46ef89=_0x34c9a1[_0x409976(0x3b3)](_0x405f0e,_0xc65941,_0x198b40);return _0x34c9a1[_0x409976(0x25d)]({'unitId':_0x405f0e,'subUnitId':_0xc65941,'token':_0x198b40,'type':_0x2804e5[_0x409976(0x38a)],'pivotConfig':_0x46ef89}),!0x0;}},_0x475fb3={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x1f41b4,_0x201cf9){const _0x58404b=_0x4a26b1;if(!_0x201cf9)return!0x1;if(!!_0x1f41b4['get'](_0x2420fe[_0x58404b(0x3b2)])[_0x58404b(0x395)](_0x2122db))return!0x0;const _0x35833b=_0x1f41b4[_0x58404b(0x2e7)](_0x1c5878[_0x58404b(0x342)]),{pivotTableId:_0x277a06,fieldId:_0x52c374,unitId:_0x1a934c,subUnitId:_0xf66210}=_0x201cf9,_0x564dd8=_0x35833b[_0x58404b(0x3ea)](_0x277a06);if(!_0x564dd8)return!0x1;_0x564dd8[_0x58404b(0x211)](_0x52c374);const _0x4dcbc0=_0x35833b[_0x58404b(0x2e5)](_0x1a934c,_0xf66210,_0x277a06);_0x179016(_0x4dcbc0,_0x201cf9);const _0x185214=_0x35833b['getPivotTableConfig'](_0x1a934c,_0xf66210,_0x277a06);return _0x35833b['addDirtyPivotTable']({'unitId':_0x1a934c,'subUnitId':_0xf66210,'token':_0x277a06,'type':_0x2804e5[_0x58404b(0x38a)],'pivotConfig':_0x185214}),!0x0;}},_0x2c29ae={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x36b),'handler'(_0x33f7a4,_0x46e770){const _0x24ed95=_0x4a26b1;if(!_0x46e770)return!0x1;if(!!_0x33f7a4[_0x24ed95(0x2e7)](_0x2420fe[_0x24ed95(0x3b2)])['getConfig'](_0x2122db))return!0x0;const _0x538c06=_0x33f7a4[_0x24ed95(0x2e7)](_0x1c5878[_0x24ed95(0x342)]),{unitId:_0x4a6de3,subUnitId:_0x6a0407,pivotTableId:_0x497a68,fieldId:_0x565229,name:_0x1d3064}=_0x46e770,_0xdd32a1=_0x538c06[_0x24ed95(0x3ea)](_0x497a68);if(!_0xdd32a1)return!0x1;_0xdd32a1[_0x24ed95(0x208)](_0x565229,_0x1d3064);const _0x76b737=_0x538c06[_0x24ed95(0x2e5)](_0x4a6de3,_0x6a0407,_0x497a68);return _0x22c5e9(_0x76b737,_0x46e770),_0x538c06['addDirtyPivotTable']({'unitId':_0x4a6de3,'subUnitId':_0x6a0407,'token':_0x497a68,'type':_0x2804e5[_0x24ed95(0x38a)]}),!0x0;}},_0x300d03={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x344),'handler'(_0x5841f8,_0x2cb1c9){const _0x259ac2=_0x4a26b1;if(!_0x2cb1c9)return!0x1;if(!!_0x5841f8[_0x259ac2(0x2e7)](_0x2420fe['IConfigService'])[_0x259ac2(0x395)](_0x2122db))return!0x0;const _0x293651=_0x5841f8[_0x259ac2(0x2e7)](_0x1c5878[_0x259ac2(0x342)]),{unitId:_0x15d2a3,subUnitId:_0x5da128,pivotTableId:_0x5d4bda,fieldId:_0x4b1657,collapse:_0x5e0ad1,item:_0x563d2f}=_0x2cb1c9,_0x2854c2=_0x293651[_0x259ac2(0x3ea)](_0x5d4bda);if(!_0x2854c2)return!0x1;_0x2854c2[_0x259ac2(0x332)](_0x4b1657,_0x5e0ad1,_0x563d2f);const _0x44489f=_0x293651['getPivotTableModelConfig'](_0x15d2a3,_0x5da128,_0x5d4bda);return _0xf61494(_0x44489f,_0x2cb1c9),_0x293651[_0x259ac2(0x25d)]({'unitId':_0x15d2a3,'subUnitId':_0x5da128,'token':_0x5d4bda,'type':_0x2804e5[_0x259ac2(0x38a)]}),!0x0;}},_0x4688da={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':'sheet.mutation.set-pivot-format','handler'(_0x37d8d1,_0x230282){const _0x36affa=_0x4a26b1;if(!_0x230282)return!0x1;if(!!_0x37d8d1[_0x36affa(0x2e7)](_0x2420fe[_0x36affa(0x3b2)])['getConfig'](_0x2122db))return!0x0;const _0x3f6048=_0x37d8d1[_0x36affa(0x2e7)](_0x1c5878[_0x36affa(0x342)]),{unitId:_0x445cdb,subUnitId:_0x2c921d,pivotTableId:_0x274eb8,fieldId:_0x40a06f,format:_0xef41a1}=_0x230282,_0x2fa41b=_0x3f6048[_0x36affa(0x3ea)](_0x274eb8);if(!_0x2fa41b)return!0x1;_0x2fa41b[_0x36affa(0x449)](_0x40a06f,_0xef41a1);const _0x3a3f87=_0x3f6048[_0x36affa(0x2e5)](_0x445cdb,_0x2c921d,_0x274eb8);return _0x46dc58(_0x3a3f87,_0x230282),_0x3f6048['addDirtyPivotTable']({'unitId':_0x445cdb,'subUnitId':_0x2c921d,'token':_0x274eb8,'type':_0x2804e5['Set']}),!0x0;}},_0x289aa6={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x2a6a63,_0x39f06a){const _0x5a6d99=_0x4a26b1;if(!_0x39f06a)return!0x1;if(!!_0x2a6a63[_0x5a6d99(0x2e7)](_0x2420fe[_0x5a6d99(0x3b2)])[_0x5a6d99(0x395)](_0x2122db))return!0x0;const _0xf24d2=_0x2a6a63[_0x5a6d99(0x2e7)](_0x1c5878[_0x5a6d99(0x342)]),{unitId:_0x3c5569,subUnitId:_0x3cda73,pivotTableId:_0x55fef8,fieldId:_0x38cac8,filterInfo:_0xdfeea0}=_0x39f06a,_0x4bc371=_0xf24d2[_0x5a6d99(0x3ea)](_0x55fef8);if(!_0x4bc371)return!0x1;_0x4bc371[_0x5a6d99(0x47e)](_0x38cac8,_0xdfeea0);const _0x38fa25=_0xf24d2['getPivotTableModelConfig'](_0x3c5569,_0x3cda73,_0x55fef8);return _0x1272dc(_0x38fa25,_0x39f06a),_0xf24d2['addDirtyPivotTable']({'unitId':_0x3c5569,'subUnitId':_0x3cda73,'token':_0x55fef8,'type':_0x2804e5[_0x5a6d99(0x38a)]}),!0x0;}},_0x33b9af={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x325),'handler'(_0xa061f2,_0x4be214){const _0x7e5bea=_0x4a26b1;if(!_0x4be214)return!0x1;if(!!_0xa061f2[_0x7e5bea(0x2e7)](_0x2420fe[_0x7e5bea(0x3b2)])[_0x7e5bea(0x395)](_0x2122db))return!0x0;const _0x562981=_0xa061f2[_0x7e5bea(0x2e7)](_0x1c5878['SheetsPivotDataSourceModel']),{unitId:_0x18a5d6,subUnitId:_0x5f4542,pivotTableId:_0x5d127f,options:_0x201db3}=_0x4be214,_0x26ff62=_0x562981[_0x7e5bea(0x3ea)](_0x5d127f);if(!_0x26ff62)return!0x1;_0x26ff62[_0x7e5bea(0x309)](_0x201db3);const _0x5143d6=_0x562981['getPivotTableModelConfig'](_0x18a5d6,_0x5f4542,_0x5d127f);return _0x61893e(_0x5143d6,_0x4be214),_0x562981[_0x7e5bea(0x25d)]({'unitId':_0x18a5d6,'subUnitId':_0x5f4542,'token':_0x5d127f,'type':_0x2804e5[_0x7e5bea(0x38a)]}),!0x0;}},_0x37c906={'type':_0x2420fe['CommandType']['MUTATION'],'id':_0x4a26b1(0x19c),'handler'(_0x2ccb5a,_0x4f8460){const _0x10bcf4=_0x4a26b1;if(!_0x4f8460)return!0x1;if(!!_0x2ccb5a['get'](_0x2420fe[_0x10bcf4(0x3b2)])[_0x10bcf4(0x395)](_0x2122db))return!0x0;const _0xbf9a76=_0x2ccb5a[_0x10bcf4(0x2e7)](_0x1c5878[_0x10bcf4(0x342)]),{unitId:_0x371dff,subUnitId:_0x1e94ff,pivotTableId:_0x3992df,sortInfo:_0x2512ec,fieldId:_0x580dde}=_0x4f8460,_0x256955=_0xbf9a76[_0x10bcf4(0x3ea)](_0x3992df);if(!_0x256955)return!0x1;_0x256955['setSortInfo'](_0x580dde,_0x2512ec);const _0x584482=_0xbf9a76[_0x10bcf4(0x2e5)](_0x371dff,_0x1e94ff,_0x3992df);return _0x542584(_0x584482,_0x4f8460),_0xbf9a76['addDirtyPivotTable']({'unitId':_0x371dff,'subUnitId':_0x1e94ff,'token':_0x3992df,'type':_0x2804e5[_0x10bcf4(0x38a)]}),!0x0;}},_0x3f9b32={'type':_0x2420fe[_0x4a26b1(0x30e)]['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x59cc81,_0x47e2d9){const _0x1bf83b=_0x4a26b1;if(!_0x47e2d9)return!0x1;if(!!_0x59cc81[_0x1bf83b(0x2e7)](_0x2420fe[_0x1bf83b(0x3b2)])[_0x1bf83b(0x395)](_0x2122db))return!0x0;const _0x2f260d=_0x59cc81['get'](_0x1c5878[_0x1bf83b(0x342)]),{unitId:_0x4eea99,subUnitId:_0x599596,pivotTableId:_0x3f993a,fieldId:_0x54f426,subtotalType:_0x526fd5}=_0x47e2d9,_0x37526e=_0x2f260d[_0x1bf83b(0x3ea)](_0x3f993a);if(!_0x37526e)return!0x1;_0x37526e[_0x1bf83b(0x2b6)](_0x54f426,_0x526fd5);const _0xa5aff3=_0x2f260d[_0x1bf83b(0x2e5)](_0x4eea99,_0x599596,_0x3f993a);return _0xf7cb2a(_0xa5aff3,_0x47e2d9),_0x2f260d[_0x1bf83b(0x25d)]({'unitId':_0x4eea99,'subUnitId':_0x599596,'token':_0x3f993a,'type':_0x2804e5[_0x1bf83b(0x38a)]}),!0x0;}},_0xbe59e={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x459),'handler'(_0x2ab417,_0x1fb02f){const _0x21fced=_0x4a26b1;if(!_0x1fb02f)return!0x1;if(!!_0x2ab417[_0x21fced(0x2e7)](_0x2420fe[_0x21fced(0x3b2)])[_0x21fced(0x395)](_0x2122db))return!0x0;const _0x49a593=_0x2ab417['get'](_0x1c5878[_0x21fced(0x342)]),{unitId:_0x1f3b12,subUnitId:_0x3c251c,pivotTableId:_0x3edbfe,fieldId:_0x3f3c5a,filterInfo:_0x2e0c91}=_0x1fb02f,_0x513f23=_0x49a593[_0x21fced(0x3ea)](_0x3edbfe);if(!_0x513f23)return!0x1;_0x513f23[_0x21fced(0x1a2)](_0x3f3c5a,_0x2e0c91);const _0x59df93=_0x49a593[_0x21fced(0x2e5)](_0x1f3b12,_0x3c251c,_0x3edbfe);return _0x2b07dc(_0x59df93,_0x1fb02f),_0x49a593[_0x21fced(0x25d)]({'unitId':_0x1f3b12,'subUnitId':_0x3c251c,'token':_0x3edbfe,'type':_0x2804e5['Set']}),!0x0;}},_0x2d7c7e={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x3e8),'handler'(_0xe41bc1,_0x15b34a){const _0x984dfc=_0x4a26b1;if(!_0x15b34a)return!0x1;if(!!_0xe41bc1[_0x984dfc(0x2e7)](_0x2420fe[_0x984dfc(0x3b2)])[_0x984dfc(0x395)](_0x2122db))return!0x0;const _0x4b2143=_0xe41bc1[_0x984dfc(0x2e7)](_0x1c5878['SheetsPivotDataSourceModel']),{unitId:_0x503665,subUnitId:_0x1a3135,pivotTableId:_0x49dbf4,area:_0x4931d7,index:_0x196fee,fieldId:_0x42f5f4}=_0x15b34a,_0x2a3cbf=_0x4b2143['getPivotTableInstance'](_0x49dbf4);if(!_0x2a3cbf)return!0x1;_0x2a3cbf['updateFieldPosition'](_0x42f5f4,_0x4931d7,_0x196fee);const _0x3e656e=_0x4b2143['getPivotTableModelConfig'](_0x503665,_0x1a3135,_0x49dbf4);return _0x238df9(_0x3e656e,_0x15b34a),_0x4b2143[_0x984dfc(0x25d)]({'unitId':_0x503665,'subUnitId':_0x1a3135,'token':_0x49dbf4,'type':_0x2804e5[_0x984dfc(0x38a)]}),!0x0;}},_0x346e64={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x330),'handler'(_0x39eb84,_0x36312f){const _0x4cf720=_0x4a26b1;if(!_0x36312f)return!0x1;if(!!_0x39eb84['get'](_0x2420fe[_0x4cf720(0x3b2)])[_0x4cf720(0x395)](_0x2122db))return!0x0;const _0x586ba0=_0x39eb84[_0x4cf720(0x2e7)](_0x1c5878[_0x4cf720(0x342)]),{unitId:_0x2f2897,subUnitId:_0x41e0d6,pivotTableId:_0x5b698b,sourceName:_0x2150fc,dataFieldId:_0x3d9bab,tableFieldId:_0xcd9dc6}=_0x36312f,_0x2a01d0=_0x586ba0[_0x4cf720(0x3ea)](_0x5b698b);if(!_0x2a01d0)return!0x1;_0x2a01d0[_0x4cf720(0x1c8)](_0xcd9dc6,_0x2150fc,_0x3d9bab);const _0x5014d8=_0x586ba0[_0x4cf720(0x2e5)](_0x2f2897,_0x41e0d6,_0x5b698b);return _0x3ac70f(_0x5014d8,_0x36312f),_0x586ba0[_0x4cf720(0x25d)]({'unitId':_0x2f2897,'subUnitId':_0x41e0d6,'token':_0x5b698b,'type':_0x2804e5[_0x4cf720(0x38a)]}),!0x0;}},_0x516422={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x24c),'handler'(_0x59a098,_0x2384d6){const _0x4a05c5=_0x4a26b1;if(!_0x2384d6)return!0x1;if(!!_0x59a098[_0x4a05c5(0x2e7)](_0x2420fe[_0x4a05c5(0x3b2)])[_0x4a05c5(0x395)](_0x2122db))return!0x0;const _0x1431a0=_0x59a098[_0x4a05c5(0x2e7)](_0x1c5878[_0x4a05c5(0x342)]),{unitId:_0x55d6c8,subUnitId:_0x5ad675,pivotTableId:_0x3d2d9d,valuePosition:_0x133f69,index:_0x5671e0}=_0x2384d6,_0x7bd683=_0x1431a0[_0x4a05c5(0x3ea)](_0x3d2d9d);if(!_0x7bd683)return!0x1;_0x7bd683[_0x4a05c5(0x252)](_0x133f69,_0x5671e0);const _0x18732a=_0x1431a0[_0x4a05c5(0x2e5)](_0x55d6c8,_0x5ad675,_0x3d2d9d);return _0x251828(_0x18732a,_0x2384d6),_0x1431a0[_0x4a05c5(0x25d)]({'unitId':_0x55d6c8,'subUnitId':_0x5ad675,'token':_0x3d2d9d,'type':_0x2804e5['Set']}),!0x0;}};function _0xbc3577(_0x519c31,_0x23437e,_0x1d1a35){const _0x11795a=_0x4a26b1,{pivotTableId:_0x721471,unitId:_0x5232e9,subUnitId:_0x42d146}=_0x23437e,_0x2db471=[],_0x52e426=[];for(const _0x577322 of _0x1d1a35)switch(_0x577322[_0x11795a(0x45d)]){case _0x29e939[_0x11795a(0x341)]['AddField']:{const {fieldJson:_0x21269d,area:_0xfae0ef,index:_0x237ccf}=_0x577322,_0x58210e={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldJson':_0x21269d,'area':_0xfae0ef,'index':_0x237ccf},_0x443e52={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x21269d['id'],'area':_0xfae0ef,'index':_0x237ccf};_0x2db471[_0x11795a(0x2e9)]({'id':_0x524024['id'],'params':_0x58210e}),_0x52e426['unshift']({'id':_0x475fb3['id'],'params':_0x443e52});}break;case _0x29e939[_0x11795a(0x341)][_0x11795a(0x3bc)]:{const {fieldId:_0x5510f2,newSubtotalType:_0x5333be,oldSubtotalType:_0xe5ddf1}=_0x577322,_0x6757eb={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x5510f2,'subtotalType':_0x5333be};_0x2db471[_0x11795a(0x2e9)]({'id':_0x3f9b32['id'],'params':_0x6757eb});const _0x58b8f5={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x5510f2,'subtotalType':_0xe5ddf1};_0x52e426[_0x11795a(0x46f)]({'id':_0x3f9b32['id'],'params':_0x58b8f5});}break;case _0x29e939['PivotTableChangeTypeEnum'][_0x11795a(0x20d)]:{const {fieldId:_0x1dafb8,fieldJson:_0x19d0ff,area:_0x337807,index:_0x49f9e9}=_0x577322,_0x2e7b99={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x1dafb8,'index':_0x49f9e9,'area':_0x337807};_0x2db471[_0x11795a(0x2e9)]({'id':_0x475fb3['id'],'params':_0x2e7b99});const _0x4f9101={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldJson':_0x19d0ff,'area':_0x337807,'index':_0x49f9e9};_0x52e426[_0x11795a(0x46f)]({'id':_0x524024['id'],'params':_0x4f9101});}break;case _0x29e939[_0x11795a(0x341)]['RenameField']:{const {fieldId:_0x23302b,oldName:_0x22d97f,newName:_0x2bdbb7}=_0x577322,_0x5e597f={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x23302b,'name':_0x2bdbb7};_0x2db471[_0x11795a(0x2e9)]({'id':_0x2c29ae['id'],'params':_0x5e597f});const _0x7dbd2b={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x23302b,'name':_0x22d97f};_0x52e426['unshift']({'id':_0x2c29ae['id'],'params':_0x7dbd2b});}break;case _0x29e939['PivotTableChangeTypeEnum'][_0x11795a(0x2e0)]:{const {fieldId:_0x54a03,oldFilterInfo:_0x1f261a,newFilterInfo:_0x2ff0c2}=_0x577322,_0x30171f={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x54a03,'filterInfo':_0x2ff0c2};_0x2db471[_0x11795a(0x2e9)]({'id':_0x289aa6['id'],'params':_0x30171f});const _0x2ce475={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x54a03,'filterInfo':_0x1f261a};_0x52e426[_0x11795a(0x46f)]({'id':_0x289aa6['id'],'params':_0x2ce475});}break;case _0x29e939[_0x11795a(0x341)][_0x11795a(0x494)]:{const {fieldId:_0xc3a722,oldSortInfo:_0x2956d1,newSortInfo:_0x4ba59e}=_0x577322,_0x59485b={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0xc3a722,'sortInfo':_0x4ba59e};_0x2db471[_0x11795a(0x2e9)]({'id':_0x37c906['id'],'params':_0x59485b});const _0x3a3ec1={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0xc3a722,'sortInfo':_0x2956d1};_0x52e426[_0x11795a(0x46f)]({'id':_0x37c906['id'],'params':_0x3a3ec1});}break;case _0x29e939['PivotTableChangeTypeEnum'][_0x11795a(0x310)]:{const {oldOptions:_0x151b0f,newOptions:_0x218ee9}=_0x577322,_0x3c1fcc={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'options':_0x218ee9};_0x2db471[_0x11795a(0x2e9)]({'id':_0x33b9af['id'],'params':_0x3c1fcc});const _0x375808={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'options':_0x151b0f};_0x52e426[_0x11795a(0x46f)]({'id':_0x33b9af['id'],'params':_0x375808});}break;case _0x29e939[_0x11795a(0x341)][_0x11795a(0x33c)]:{const {oldArea:_0x598976,newArea:_0x3a5151,oldIndex:_0x286ebb,newIndex:_0x5d6d48,fieldId:_0x23adf7}=_0x577322,_0x4384d9={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x23adf7,'area':_0x3a5151,'index':_0x5d6d48,'oldArea':_0x598976,'oldIndex':_0x286ebb};_0x2db471[_0x11795a(0x2e9)]({'id':_0x2d7c7e['id'],'params':_0x4384d9});const _0x190dd0={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x23adf7,'area':_0x598976,'index':_0x286ebb,'oldArea':_0x3a5151,'oldIndex':_0x5d6d48};_0x52e426[_0x11795a(0x46f)]({'id':_0x2d7c7e['id'],'params':_0x190dd0});}break;case _0x29e939[_0x11795a(0x341)]['UpdateValuePosition']:{const {oldValuePosition:_0x2a1912,newValuePosition:_0x1201f4,oldIndex:_0x10047c,newIndex:_0x2674f1}=_0x577322,_0xe8b3e1={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'valuePosition':_0x1201f4,'index':_0x2674f1};_0x2db471[_0x11795a(0x2e9)]({'id':_0x516422['id'],'params':_0xe8b3e1});const _0xad563e={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'valuePosition':_0x2a1912,'index':_0x10047c};_0x52e426[_0x11795a(0x46f)]({'id':_0x516422['id'],'params':_0xad563e});}break;case _0x29e939[_0x11795a(0x341)][_0x11795a(0x3c5)]:{const {fieldId:_0x1126b2,collapse:_0x3d23d5,item:_0x3b2630}=_0x577322,_0x650a83={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x1126b2,'collapse':_0x3d23d5,'item':_0x3b2630};_0x2db471['push']({'id':_0x300d03['id'],'params':_0x650a83});const _0x3fcdf9={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x1126b2,'collapse':!_0x3d23d5,'item':_0x3b2630};_0x52e426[_0x11795a(0x46f)]({'id':_0x300d03['id'],'params':_0x3fcdf9});}break;case _0x29e939['PivotTableChangeTypeEnum'][_0x11795a(0x2bd)]:{const {newFormat:_0x2d014f,oldFormat:_0x387a10,fieldId:_0x56fcb5}=_0x577322,_0x31d485={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x56fcb5,'format':_0x2d014f};_0x2db471[_0x11795a(0x2e9)]({'id':_0x4688da['id'],'params':_0x31d485});const _0x16d29f={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x56fcb5,'format':_0x387a10};_0x52e426[_0x11795a(0x46f)]({'id':_0x4688da['id'],'params':_0x16d29f});}break;case _0x29e939[_0x11795a(0x341)][_0x11795a(0x393)]:{const {tableFieldId:_0x3937f,oldSourceName:_0x372eb2,newSourceName:_0x21376b,oldDataFieldId:_0x2f2961,newDataFieldId:_0x446da2}=_0x577322,_0x1b4c03={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'tableFieldId':_0x3937f,'sourceName':_0x21376b,'dataFieldId':_0x446da2};_0x2db471[_0x11795a(0x2e9)]({'id':_0x346e64['id'],'params':_0x1b4c03});const _0x5b117b={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'tableFieldId':_0x3937f,'sourceName':_0x372eb2,'dataFieldId':_0x2f2961};_0x52e426[_0x11795a(0x46f)]({'id':_0x346e64['id'],'params':_0x5b117b});}break;case _0x29e939['PivotTableChangeTypeEnum'][_0x11795a(0x489)]:{const {fieldId:_0x53d691,filterInfo:_0x256daa,oldFilterInfo:_0x126ace}=_0x577322,_0x41d885={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x53d691,'filterInfo':_0x256daa};_0x2db471[_0x11795a(0x2e9)]({'id':_0xbe59e['id'],'params':_0x41d885});const _0xafb308={'unitId':_0x5232e9,'subUnitId':_0x42d146,'pivotTableId':_0x721471,'fieldId':_0x53d691,'filterInfo':_0x126ace};_0x52e426[_0x11795a(0x46f)]({'id':_0xbe59e['id'],'params':_0xafb308});}}return{'redos':_0x2db471,'undos':_0x52e426};}function _0x43924b(_0x557b55,_0x48bb6d){const _0x76cef1=_0x4a26b1;var _0x5599b5;const _0x21ca6c=_0x557b55[_0x76cef1(0x2e7)](_0x1c5878[_0x76cef1(0x248)]),{cellInfo:_0x292eeb,view:_0x5390e0,isEmpty:_0x1c8285}=_0x48bb6d;return(_0x5599b5=_0x21ca6c[_0x76cef1(0x38c)][_0x76cef1(0x292)](_0x4b02ef)(_0x260677,{'cellInfo':_0x292eeb,'view':_0x5390e0,'isEmpty':_0x1c8285}))!=null?_0x5599b5:_0x260677;}const _0xbe1dcd={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x1d1),async 'handler'(_0x3c7395,_0x4756d9){const _0x430049=_0x4a26b1;if(!_0x4756d9)return!0x1;const _0x13fc32=_0x3c7395['get'](_0x2420fe[_0x430049(0x1dd)]),_0xb818fb=_0x3c7395['get'](_0x1c5878['SheetsPivotRPCService']),_0x4c0f17=_0x3c7395[_0x430049(0x2e7)](_0x2420fe[_0x430049(0x3da)]),{pivotTableId:_0x4ac921,dataFieldId:_0x51e785,fieldArea:_0x52e1f5,index:_0xbf3564,unitId:_0x4a9306,subUnitId:_0x1cf92c}=_0x4756d9,_0x185d8f=(await _0xb818fb[_0x430049(0x2ed)]({'unitId':_0x4a9306,'subUnitId':_0x1cf92c,'pivotTableId':_0x4ac921,'params':{'type':_0x3960fe['AddPivotField'],'addPivotField':{'dataFieldId':_0x51e785,'fieldArea':_0x52e1f5,'index':_0xbf3564}}}))['result'][_0x430049(0x2d2)];if(!_0x185d8f)return!0x1;const {view:_0x21edab,changesets:_0xe37045,isEmpty:_0x40c325,pivotTableConfig:_0x30da5e,shouldBeAddedGroupJSON:_0x4a5cfb}=_0x185d8f,_0x309c59=_0x30da5e[_0x430049(0x36c)],_0x2bdc04=new _0x29e939['PivotView']();_0x2bdc04[_0x430049(0x35a)](_0x21edab);const _0x1bb487={'cellInfo':_0x309c59,'view':_0x2bdc04,'isEmpty':_0x40c325};if(!await _0x3c7395[_0x430049(0x2e7)](_0x1c5878['SheetsPivotTableService'])[_0x430049(0x2f7)][_0x430049(0x357)](_0x395b91)(!0x0,_0x1bb487))return!0x1;const _0x3473ed=_0x713485(_0x3c7395,_0x2bdc04,_0x309c59,_0x40c325),_0x42af1c=_0x43924b(_0x3c7395,_0x1bb487),{undos:_0x2be6f7,redos:_0x3a90a5}=_0xbc3577(_0x13fc32,{'pivotTableId':_0x4ac921,'unitId':_0x4a9306,'subUnitId':_0x1cf92c},_0xe37045);return _0x4a5cfb&&(_0x3a90a5[_0x430049(0x46f)]({'id':_0x3ab476['id'],'params':{'pivotTableId':_0x4ac921,'fieldJSON':_0x4a5cfb,'unitId':_0x4a9306,'subUnitId':_0x1cf92c}}),_0x2be6f7[_0x430049(0x2e9)]({'id':_0x171600['id'],'params':{'pivotTableId':_0x4ac921,'dataFieldId':_0x4a5cfb['id'],'unitId':_0x4a9306,'subUnitId':_0x1cf92c}})),_0x2420fe[_0x430049(0x300)]([..._0x3473ed[_0x430049(0x28d)],..._0x42af1c[_0x430049(0x28d)],..._0x3a90a5],_0x13fc32),_0x4c0f17[_0x430049(0x359)]({'unitID':_0x4a9306,'redoMutations':[..._0x3473ed[_0x430049(0x28d)],..._0x42af1c[_0x430049(0x28d)],..._0x3a90a5],'undoMutations':[..._0x3473ed[_0x430049(0x21e)],..._0x42af1c[_0x430049(0x21e)],..._0x2be6f7]}),!0x0;}},_0x509920=()=>typeof process<'u'&&process[_0x4a26b1(0x2a0)]!=null&&process[_0x4a26b1(0x2a0)]['node']!=null,_0x1cff80={'type':_0x2420fe['CommandType'][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x1a3),'handler'(_0x4ddc35,_0x4174e7){const _0x5d4ce3=_0x4a26b1;var _0x28ddb9;if(!_0x4174e7)return!0x1;const _0x120b19=_0x4ddc35['get'](_0x2420fe[_0x5d4ce3(0x3b2)]);if(!!_0x120b19['getConfig'](_0x2122db))return!0x0;const _0x3befd2=_0x4ddc35[_0x5d4ce3(0x2e7)](_0x2420fe['IUniverInstanceService']),_0x227b99=_0x4ddc35[_0x5d4ce3(0x2e7)](_0x1c5878[_0x5d4ce3(0x342)]),{pivotTableId:_0x173aa5,pivotTableConfig:_0x5dc9d8,collectionConfig:_0x43a655,unitId:_0x5b6fea,subUnitId:_0x2cc96c}=_0x4174e7,{sourceRangeInfo:_0x2312a8,fieldsConfig:_0xd3c80,targetCellInfo:_0xbfd59a}=_0x5dc9d8,_0x4aaf1c=_0x3befd2[_0x5d4ce3(0x1df)](_0x5b6fea);if(!_0x4aaf1c||!_0x4aaf1c[_0x5d4ce3(0x368)](_0x2cc96c))return!0x1;if(!_0x509920()){let _0x57039a=0x0;_0x4aaf1c[_0x5d4ce3(0x2e2)]()[_0x5d4ce3(0x1cc)](_0xa7184e=>{const _0x1907b7=_0x5d4ce3;var _0x341ecc,_0x35b1a9;_0x57039a+=(_0x35b1a9=(_0x341ecc=_0x227b99[_0x1907b7(0x269)](_0x5b6fea,_0xa7184e[_0x1907b7(0x2be)]()))==null?void 0x0:_0x341ecc[_0x1907b7(0x3bb)])!=null?_0x35b1a9:0x0;});const _0x2c4748=(_0x28ddb9=_0x120b19[_0x5d4ce3(0x395)](_0x95dfda[_0x5d4ce3(0x438)]))!=null?_0x28ddb9:{},{ls:_0x1c1953,pbk:_0x551298}=_0x2c4748;if(!_0x135dfd(_0x1c1953,_0x551298))throw new _0x2420fe[(_0x5d4ce3(0x199))](_0x5d4ce3(0x406));const _0x5d625e=_0x2a35ad(_0x1eb34d,_0x1c1953,_0x551298)[_0x5d4ce3(0x32d)];if(_0x57039a>=_0x5d625e)throw new _0x2420fe[(_0x5d4ce3(0x199))](_0x5d4ce3(0x406));}if(!_0x43a655||!_0xd3c80)return!0x1;const {collection:_0x259503,updateDataFieldList:_0x305226}=_0x227b99['addCollectionByJSON'](_0x173aa5,_0x43a655,_0x2312a8,_0xbfd59a);_0x227b99[_0x5d4ce3(0x3dd)](_0x259503,_0x305226,_0x2312a8);const _0xcd99e7=new _0x29e939[(_0x5d4ce3(0x21f))](_0x259503,void 0x0,_0x173aa5);_0xcd99e7[_0x5d4ce3(0x2f5)](_0xd3c80);const _0x573035=JSON[_0x5d4ce3(0x396)](JSON[_0x5d4ce3(0x3e5)](_0x5dc9d8));return _0x227b99['addPivotTable'](_0x5b6fea,_0x2cc96c,_0x173aa5,_0xcd99e7,_0x573035),_0x227b99['addDirtyPivotTable']({'unitId':_0x5b6fea,'subUnitId':_0x2cc96c,'token':_0x173aa5,'type':_0x2804e5[_0x5d4ce3(0x281)],'pivotConfig':_0x573035}),!0x0;}},_0x2e731a={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x2ab),async 'handler'(_0x732389,_0x5a9bd7){const _0x3a94c2=_0x4a26b1;if(!_0x5a9bd7)return!0x1;const {sourceDataInfo:_0x384d3e,pivotTableConfig:_0x445276}=_0x5a9bd7;if(!_0x384d3e||!_0x445276)return!0x1;const {unitId:_0x19d87b,subUnitId:_0x4a115e,range:_0x26f843}=_0x384d3e,_0x12f3a7=_0x732389[_0x3a94c2(0x2e7)](_0x2420fe['IUniverInstanceService']),_0xdd8d75=_0x732389[_0x3a94c2(0x2e7)](_0x1c5878[_0x3a94c2(0x29c)]),_0x208491=_0x732389[_0x3a94c2(0x2e7)](_0x2420fe[_0x3a94c2(0x210)]),_0x4a1cb5=_0x732389['get'](_0x2420fe[_0x3a94c2(0x1dd)]),_0x3000ef=_0x12f3a7[_0x3a94c2(0x1df)](_0x19d87b);if(!_0x3000ef)return!0x1;const _0x43733a=_0x3000ef[_0x3a94c2(0x368)](_0x4a115e);if(!_0x43733a)return!0x1;const _0x13f964=_0x29e939[_0x3a94c2(0x455)](0x8),_0x5eba45=_0x26f843||{'startRow':0x0,'startColumn':0x0,'endRow':_0x43733a[_0x3a94c2(0x425)]()-0x1,'endColumn':_0x43733a[_0x3a94c2(0x262)]()-0x1};_0x5eba45[_0x3a94c2(0x42e)]=_0x2420fe[_0x3a94c2(0x495)][_0x3a94c2(0x43c)];const _0x32217e=(await _0xdd8d75[_0x3a94c2(0x2ed)]({'unitId':_0x19d87b,'subUnitId':_0x4a115e,'pivotTableId':_0x13f964,'params':{'type':_0x3960fe[_0x3a94c2(0x1cb)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x19d87b,'sheetName':_0x43733a[_0x3a94c2(0x413)](),'subUnitId':_0x4a115e,'range':_0x5eba45},'pivotTableId':_0x13f964,'pivotTableIndexConfig':_0x445276}}}))[_0x3a94c2(0x44e)]['addPivotTableWithConfig'];if(!_0x32217e)return!0x1;const {isEmpty:_0xb5281d,fieldsConfig:_0x3c0576,collectionConfig:_0x43766b,changesets:_0xe1466c}=_0x32217e,_0x4e84fd=_0x3000ef[_0x3a94c2(0x2e2)]()['length'],_0x3a78a0=_0x2420fe[_0x3a94c2(0x3fc)]({'rowCount':_0x43733a['getRowCount']()-0x1,'columnCount':_0x43733a[_0x3a94c2(0x262)]()-0x1});_0x3a78a0['id']=_0x2420fe['generateRandomId'](),_0x3a78a0[_0x3a94c2(0x3ba)]=_0x3000ef[_0x3a94c2(0x474)](''+_0x208491['t']('sheets.tabs.sheet'));const _0x3b3c90={'index':_0x4e84fd,'sheet':_0x3a78a0,'unitId':_0x19d87b},{redos:_0x21320f}=_0xbc3577(_0x4a1cb5,{'pivotTableId':_0x13f964,'unitId':_0x19d87b,'subUnitId':_0x3a78a0['id']},_0xe1466c),_0x33de08=[{'id':_0x43dbd4[_0x3a94c2(0x26d)]['id'],'params':_0x3b3c90},{'id':_0x1cff80['id'],'params':{'unitId':_0x19d87b,'subUnitId':_0x3a78a0['id'],'pivotTableId':_0x13f964,'pivotTableConfig':{'isEmpty':_0xb5281d,'fieldsConfig':_0x3c0576,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x19d87b,'subUnitId':_0x3a78a0['id']},'sourceRangeInfo':{'subUnitId':_0x4a115e,'unitId':_0x19d87b,'range':_0x5eba45,'sheetName':_0x43733a['getName']()}},'collectionConfig':_0x43766b}},..._0x21320f];return _0x2420fe[_0x3a94c2(0x300)](_0x33de08,_0x4a1cb5),!0x0;}},_0x41d5c2={'type':_0x2420fe['CommandType'][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x3ae),'handler'(_0x170b88,_0x3dec8f){const _0x359e40=_0x4a26b1;if(!_0x3dec8f)return!0x1;if(!!_0x170b88[_0x359e40(0x2e7)](_0x2420fe[_0x359e40(0x3b2)])['getConfig'](_0x2122db))return!0x0;const {pivotTableId:_0x3cf766,unitId:_0x57cfdd,subUnitId:_0x38e630}=_0x3dec8f,_0x388d71=_0x170b88['get'](_0x1c5878['SheetsPivotDataSourceModel']);return _0x388d71[_0x359e40(0x3b3)](_0x57cfdd,_0x38e630,_0x3cf766)?(_0x388d71[_0x359e40(0x25d)]({'unitId':_0x57cfdd,'subUnitId':_0x38e630,'token':_0x3cf766,'type':_0x2804e5['Delete']}),_0x388d71['removePivotTable'](_0x57cfdd,_0x38e630,_0x3cf766),!0x0):!0x1;}},_0x5f4e2e={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x331),async 'handler'(_0x5d1d75,_0x36a734){const _0x4e3c1a=_0x4a26b1;var _0x17d7fe,_0x32e049;const _0x5c176a=_0x5d1d75[_0x4e3c1a(0x2e7)](_0x2420fe[_0x4e3c1a(0x1dd)]),_0x2cee0d=_0x5d1d75[_0x4e3c1a(0x2e7)](_0x2420fe[_0x4e3c1a(0x2cc)]),_0xff0819=_0x5d1d75[_0x4e3c1a(0x2e7)](_0x2420fe[_0x4e3c1a(0x210)]),_0xa3e096=_0x5d1d75[_0x4e3c1a(0x2e7)](_0x1c5878[_0x4e3c1a(0x29c)]),_0xab2092=_0x5d1d75[_0x4e3c1a(0x2e7)](_0x2420fe[_0x4e3c1a(0x3da)]),_0x8e87d1=_0x5d1d75[_0x4e3c1a(0x2e7)](_0x1c5878['SheetsPivotTableConfigModel']),_0x2db33b=_0x5d1d75['get'](_0x2420fe[_0x4e3c1a(0x3b2)]);if(!_0x36a734)return!0x1;const {pivotTableConfig:_0xd79974,positionType:_0x166d71}=_0x36a734,{targetCellInfo:_0x36efac,sourceRangeInfo:_0xd586d0}=_0xd79974,{unitId:_0x4c2aed,subUnitId:_0x3330b7}=_0x36efac,_0x538d20=_0x2cee0d[_0x4e3c1a(0x1df)](_0x4c2aed);if(!_0x538d20)return!0x1;let _0x1074f3=0x0;_0x538d20['getSheets']()[_0x4e3c1a(0x1cc)](_0x3374ba=>{const _0x260b4a=_0x4e3c1a;var _0x4706cc,_0x28a59c;_0x1074f3+=(_0x28a59c=(_0x4706cc=_0x8e87d1[_0x260b4a(0x269)](_0x4c2aed,_0x3374ba[_0x260b4a(0x2be)]()))==null?void 0x0:_0x4706cc[_0x260b4a(0x3bb)])!=null?_0x28a59c:0x0;});const _0x307f9e=(_0x17d7fe=_0x2db33b[_0x4e3c1a(0x395)](_0x95dfda[_0x4e3c1a(0x438)]))!=null?_0x17d7fe:{},{ls:_0x9953da,pbk:_0x527ff3}=_0x307f9e;if(!_0x135dfd(_0x9953da,_0x527ff3))return!0x1;const _0x4e6b6b=_0x2a35ad(_0x1eb34d,_0x9953da,_0x527ff3)[_0x4e3c1a(0x32d)];if(_0x1074f3>=_0x4e6b6b)return!0x1;const _0x2a2017=_0x36a734[_0x4e3c1a(0x397)]||_0x29e939['generateHexNumber'](0x8),_0x231f34=(await _0xa3e096[_0x4e3c1a(0x2ed)]({'unitId':_0x4c2aed,'subUnitId':_0x3330b7,'pivotTableId':_0x2a2017,'params':{'type':_0x3960fe[_0x4e3c1a(0x256)],'addPivotTable':{'sourceRangeInfo':_0xd586d0,'pivotTableId':_0x2a2017}}}))[_0x4e3c1a(0x44e)][_0x4e3c1a(0x2ce)];if(!_0x231f34)return!0x1;const {view:_0x4c9482,isEmpty:_0x9936e,fieldsConfig:_0x338277,collectionConfig:_0x437d50}=_0x231f34,_0x164869=[],_0x3b0be4=[];if(_0x166d71===_0x43c723[_0x4e3c1a(0x3ce)]){const _0x518571=_0x538d20[_0x4e3c1a(0x2e2)]()[_0x4e3c1a(0x247)],_0x1ed533=_0x2420fe[_0x4e3c1a(0x3fc)]({});_0x1ed533['id']=_0xd79974[_0x4e3c1a(0x36c)][_0x4e3c1a(0x328)],_0x1ed533[_0x4e3c1a(0x3ba)]=(_0x32e049=_0xd79974[_0x4e3c1a(0x36c)][_0x4e3c1a(0x404)])!=null?_0x32e049:_0x538d20[_0x4e3c1a(0x474)](''+_0xff0819['t'](_0x4e3c1a(0x410)));const _0x443e2b={'index':_0x518571,'sheet':_0x1ed533,'unitId':_0x4c2aed},_0x4f3a21=_0x43dbd4[_0x4e3c1a(0x411)](_0x5d1d75,_0x443e2b);_0x164869[_0x4e3c1a(0x2e9)]({'id':_0x43dbd4[_0x4e3c1a(0x2d1)]['id'],'params':_0x4f3a21}),_0x3b0be4['push']({'id':_0x43dbd4[_0x4e3c1a(0x353)]['id'],'params':_0x443e2b});}else{if(!_0x538d20['getSheetBySheetId'](_0x3330b7))return!0x1;const _0x356a61=_0x713485(_0x5d1d75,new _0x29e939[(_0x4e3c1a(0x493))](),_0x36efac,!0x0);_0x3b0be4['push'](..._0x356a61[_0x4e3c1a(0x28d)]),_0x164869[_0x4e3c1a(0x2e9)](..._0x356a61['undos']);const _0x1e5d71={'cellInfo':_0x36efac,'view':_0x4c9482,'isEmpty':_0x9936e};if(!await _0x5d1d75[_0x4e3c1a(0x2e7)](_0x1c5878[_0x4e3c1a(0x248)])[_0x4e3c1a(0x2f7)]['fetchThroughAsyncInterceptors'](_0x395b91)(!0x0,_0x1e5d71))return!0x1;const _0x3b6d3b=_0x43924b(_0x5d1d75,_0x1e5d71);_0x3b0be4[_0x4e3c1a(0x2e9)](..._0x3b6d3b['redos']),_0x164869['push'](..._0x3b6d3b[_0x4e3c1a(0x21e)]);}return _0x3b0be4[_0x4e3c1a(0x2e9)]({'id':_0x1cff80['id'],'params':{'unitId':_0x36efac['unitId'],'subUnitId':_0x36efac['subUnitId'],'pivotTableId':_0x2a2017,'pivotTableConfig':{'targetCellInfo':_0x36efac,'sourceRangeInfo':_0xd586d0,'fieldsConfig':_0x338277},'collectionConfig':_0x437d50}}),_0x164869[_0x4e3c1a(0x46f)]({'id':_0x41d5c2['id'],'params':{'unitId':_0x4c2aed,'subUnitId':_0x3330b7,'pivotTableId':_0x2a2017}}),_0x2420fe[_0x4e3c1a(0x300)](_0x3b0be4,_0x5c176a)&&_0xab2092['pushUndoRedo']({'unitID':_0x4c2aed,'undoMutations':_0x164869,'redoMutations':_0x3b0be4}),!0x0;}},_0x144165={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x48a6b2,_0x359e97){const _0xd4f1ce=_0x4a26b1;if(!_0x359e97)return!0x1;const _0x15b678=_0x48a6b2[_0xd4f1ce(0x2e7)](_0x2420fe[_0xd4f1ce(0x1dd)]),_0x29fd31=_0x48a6b2[_0xd4f1ce(0x2e7)](_0x1c5878['SheetsPivotRPCService']),_0x3591a8=_0x48a6b2['get'](_0x2420fe[_0xd4f1ce(0x3da)]),{pivotTableId:_0x1b35b4,fieldId:_0x590569,area:_0xa13de8,index:_0x20c7f4,unitId:_0x1914b4,subUnitId:_0x5f2fab}=_0x359e97,_0x2e4dca=(await _0x29fd31['getPivotDisplayConfig']({'unitId':_0x1914b4,'subUnitId':_0x5f2fab,'pivotTableId':_0x1b35b4,'params':{'type':_0x3960fe[_0xd4f1ce(0x487)],'movePivotField':{'fieldId':_0x590569,'area':_0xa13de8,'index':_0x20c7f4}}}))[_0xd4f1ce(0x44e)][_0xd4f1ce(0x427)];if(!_0x2e4dca)return!0x1;const {changesets:_0x3d6720,view:_0x122272,isEmpty:_0x19246a,pivotTableConfig:_0x5d92af}=_0x2e4dca,_0x4a21ca=_0x5d92af[_0xd4f1ce(0x36c)],_0x1f0db7=new _0x29e939[(_0xd4f1ce(0x493))]();_0x1f0db7[_0xd4f1ce(0x35a)](_0x122272);const _0x119e1d={'cellInfo':_0x4a21ca,'view':_0x1f0db7,'isEmpty':_0x19246a};if(!await _0x48a6b2[_0xd4f1ce(0x2e7)](_0x1c5878[_0xd4f1ce(0x248)])['asyncInterceptor'][_0xd4f1ce(0x357)](_0x395b91)(!0x0,_0x119e1d))return!0x1;const _0x4badb1=_0x713485(_0x48a6b2,_0x1f0db7,_0x4a21ca,_0x19246a),_0x272841=_0x43924b(_0x48a6b2,_0x119e1d),{redos:_0xad6134,undos:_0x44212c}=_0xbc3577(_0x15b678,{'pivotTableId':_0x1b35b4,'unitId':_0x1914b4,'subUnitId':_0x5f2fab},_0x3d6720);return _0x2420fe['sequenceExecute']([..._0x4badb1[_0xd4f1ce(0x28d)],..._0x272841[_0xd4f1ce(0x28d)],..._0xad6134],_0x15b678),_0x3591a8['pushUndoRedo']({'unitID':_0x1914b4,'redoMutations':[..._0x4badb1[_0xd4f1ce(0x28d)],..._0x272841[_0xd4f1ce(0x28d)],..._0xad6134],'undoMutations':[..._0x4badb1[_0xd4f1ce(0x21e)],..._0x272841['undos'],..._0x44212c]}),!0x0;}},_0x42fbf4={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x415),'handler'(_0x4ae26a,_0x468fcd){const _0x598d33=_0x4a26b1;if(!_0x468fcd)return!0x1;if(!!_0x4ae26a[_0x598d33(0x2e7)](_0x2420fe[_0x598d33(0x3b2)])[_0x598d33(0x395)](_0x2122db))return!0x0;const {pivotTableId:_0x345fca,targetCellPosition:_0x1d9d58,unitId:_0x46d4db,subUnitId:_0x381dd7}=_0x468fcd,_0x9236c8=_0x4ae26a[_0x598d33(0x2e7)](_0x1c5878['SheetsPivotDataSourceModel']);if(!_0x9236c8[_0x598d33(0x3ea)](_0x468fcd['pivotTableId']))return!0x1;const _0x53ab8d=_0x9236c8[_0x598d33(0x294)](_0x345fca);if(!_0x53ab8d)return!0x1;const _0xaeb5af=_0x9236c8[_0x598d33(0x1b8)](_0x53ab8d[_0x598d33(0x345)],_0x468fcd['pivotTableId']);if(!_0xaeb5af)return!0x1;const _0x22bcdc=_0x9236c8[_0x598d33(0x3b3)](_0x53ab8d[_0x598d33(0x345)],_0x53ab8d[_0x598d33(0x328)],_0x345fca);if(!_0x22bcdc)return!0x1;const _0x17287f=_0x2420fe[_0x598d33(0x38f)][_0x598d33(0x481)](_0x22bcdc);_0x17287f[_0x598d33(0x36c)]={'unitId':_0x46d4db,'subUnitId':_0x381dd7,'row':_0x1d9d58[_0x598d33(0x1c0)],'col':_0x1d9d58[_0x598d33(0x43b)]};const _0x19942b=_0xaeb5af[_0x598d33(0x1f9)]();if(_0x53ab8d[_0x598d33(0x328)]===_0x381dd7&&_0x53ab8d[_0x598d33(0x345)]===_0x46d4db)_0x9236c8[_0x598d33(0x306)](_0x46d4db,_0x381dd7,_0x345fca,_0x17287f),_0x9236c8[_0x598d33(0x25d)]({'unitId':_0x46d4db,'subUnitId':_0x381dd7,'token':_0x345fca,'type':_0x2804e5[_0x598d33(0x38a)]});else{_0x9236c8[_0x598d33(0x25d)]({'unitId':_0x53ab8d[_0x598d33(0x345)],'subUnitId':_0x53ab8d[_0x598d33(0x328)],'token':_0x345fca,'type':_0x2804e5[_0x598d33(0x2cf)]}),_0x9236c8[_0x598d33(0x3c0)](_0x53ab8d['unitId'],_0x53ab8d[_0x598d33(0x328)],_0x345fca);const _0x45878b=_0x9236c8[_0x598d33(0x1eb)](_0x345fca,_0x19942b,_0x22bcdc['sourceRangeInfo'],_0x17287f[_0x598d33(0x36c)]),_0x2265b9=new _0x29e939[(_0x598d33(0x21f))](_0x45878b[_0x598d33(0x429)],void 0x0,_0x345fca);_0x2265b9['fromJSON'](_0x17287f[_0x598d33(0x238)]),_0x9236c8['addPivotTable'](_0x46d4db,_0x381dd7,_0x345fca,_0x2265b9,_0x17287f),_0x9236c8['addDirtyPivotTable']({'unitId':_0x46d4db,'subUnitId':_0x381dd7,'token':_0x345fca,'type':_0x2804e5[_0x598d33(0x281)],'pivotConfig':_0x17287f});}return!0x0;}},_0x2526ef={'type':_0x2420fe['CommandType'][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x22e),'handler':(_0x14e3ea,_0x59c236)=>{const _0x1241a3=_0x4a26b1,_0x313a40=_0x14e3ea['get'](_0x2420fe['ICommandService']),_0x4359dd=_0x14e3ea[_0x1241a3(0x2e7)](_0x2420fe[_0x1241a3(0x3da)]),_0x5130a5=_0x14e3ea[_0x1241a3(0x2e7)](_0x1c5878['SheetsPivotTableConfigModel']),_0x88f9ff=_0x14e3ea['get'](_0x2420fe[_0x1241a3(0x2cc)]);if(!_0x59c236)return!0x1;const _0x577253=_0x43dbd4[_0x1241a3(0x442)](_0x88f9ff);if(!_0x577253)return!0x1;const {unitId:_0x10e527,subUnitId:_0x5a7c1b,workbook:_0x36f97e}=_0x577253,_0x32e0ce=_0x5130a5['getPivotTableConfig'](_0x59c236[_0x1241a3(0x2dc)][_0x1241a3(0x345)],_0x59c236[_0x1241a3(0x2dc)]['subUnitId'],_0x59c236['pivotTableId']);if(!_0x32e0ce)return!0x1;const _0x44c9fb=_0x36f97e[_0x1241a3(0x368)](_0x59c236[_0x1241a3(0x36c)][_0x1241a3(0x328)]);if(!_0x44c9fb)throw new Error(_0x1241a3(0x3b1));const _0x171edc=_0x44c9fb[_0x1241a3(0x425)](),_0x163f38=_0x44c9fb['getColumnCount']();if(_0x59c236[_0x1241a3(0x36c)][_0x1241a3(0x1c0)]>_0x171edc||_0x59c236['targetCellInfo']['col']>_0x163f38)throw new Error(_0x1241a3(0x450));const _0x2af39f=[{'id':_0x42fbf4['id'],'params':{'unitId':_0x10e527,'subUnitId':_0x59c236[_0x1241a3(0x36c)][_0x1241a3(0x328)],'pivotTableId':_0x59c236['pivotTableId'],'targetCellPosition':{'row':_0x59c236[_0x1241a3(0x36c)][_0x1241a3(0x1c0)],'col':_0x59c236[_0x1241a3(0x36c)][_0x1241a3(0x43b)]}}}],_0x69ae19=[{'id':_0x42fbf4['id'],'params':{'unitId':_0x10e527,'subUnitId':_0x5a7c1b,'pivotTableId':_0x59c236[_0x1241a3(0x397)],'targetCellPosition':{'row':_0x32e0ce['targetCellInfo'][_0x1241a3(0x1c0)],'col':_0x32e0ce['targetCellInfo'][_0x1241a3(0x43b)]}}}];return _0x2420fe[_0x1241a3(0x300)](_0x2af39f,_0x313a40)&&_0x4359dd[_0x1241a3(0x359)]({'unitID':_0x10e527,'undoMutations':_0x69ae19,'redoMutations':_0x2af39f}),!0x0;}},_0x6b1312={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3b3454,_0x228276){const _0x38efe9=_0x4a26b1;var _0x26a1ac;if(!_0x228276)return!0x1;const _0x2026a0=_0x3b3454[_0x38efe9(0x2e7)](_0x2420fe['IUniverInstanceService']),_0x1ce4f2=_0x43dbd4[_0x38efe9(0x442)](_0x2026a0);if(!_0x1ce4f2)return!0x1;const {unitId:_0x164fa3,subUnitId:_0x22fada,workbook:_0x551718}=_0x1ce4f2,{row:_0x5ca51b,col:_0x3ad2bc}=_0x228276,_0x70b0bc=_0x3b3454[_0x38efe9(0x2e7)](_0x1c5878[_0x38efe9(0x270)]),_0x14f466=_0x70b0bc[_0x38efe9(0x497)](_0x164fa3,_0x22fada,_0x5ca51b,_0x3ad2bc);if(!_0x14f466)return!0x1;const _0x5320c6=(_0x26a1ac=_0x70b0bc['getPivotItemRenderInfoCache'](_0x164fa3,_0x22fada,_0x14f466))==null?void 0x0:_0x26a1ac[_0x38efe9(0x1e8)];if(!_0x5320c6)return!0x1;const _0x286dc0=_0x3b3454[_0x38efe9(0x2e7)](_0x1c5878[_0x38efe9(0x384)])['getPivotTableConfig'](_0x164fa3,_0x22fada,_0x14f466);if(!_0x286dc0)return!0x1;const {rowInfo:_0x33268a,colInfo:_0x7656f0}=_0x5320c6,_0x2f8e68=_0x33268a[_0x5ca51b]['paths'],_0x14ff35=_0x7656f0[_0x3ad2bc]['paths'],_0x5e08e1=_0x33268a[_0x5ca51b][_0x38efe9(0x445)],_0x17fce7=_0x7656f0[_0x3ad2bc][_0x38efe9(0x445)],_0x5112bc=_0x2f8e68['concat'](_0x14ff35),_0x423b76=_0x286dc0['fieldsConfig']['rowFields']['slice'](0x0,_0x5e08e1),_0x5adb87=_0x286dc0[_0x38efe9(0x238)]['columnFields'][_0x38efe9(0x3e1)](0x0,_0x17fce7),_0xfe7ebd=_0x423b76['concat'](_0x5adb87),_0x5be597=_0x5112bc[_0x38efe9(0x40f)]((_0x571c45,_0x2b9989)=>[_0x571c45,_0xfe7ebd[_0x2b9989]]),_0x490f4f=(await _0x3b3454['get'](_0x1c5878[_0x38efe9(0x29c)])[_0x38efe9(0x2ed)]({'unitId':_0x164fa3,'subUnitId':_0x22fada,'pivotTableId':_0x14f466,'params':{'type':_0x3960fe[_0x38efe9(0x41c)],'drillDown':{'tuple':_0x5be597}}}))['result'][_0x38efe9(0x1ff)];if(!_0x490f4f)return!0x1;const {indexes:_0x3f1833,range:_0x1b99e1,sourceUnitId:_0x2c03b0,sourceSubUnitId:_0x4a05f4,formatMap:_0x189a00}=_0x490f4f,{startRow:_0x2d1f06,endRow:_0x9c6f51,startColumn:_0x3c7603,endColumn:_0x2401e9}=_0x1b99e1,_0x3998d7=new _0x2420fe['ObjectMatrix'](),_0x158d5d=_0x9c6f51-_0x2d1f06,_0x5cdddd=_0x2401e9-_0x3c7603,_0x2951cb={},_0xc7b885=_0x43dbd4[_0x38efe9(0x442)](_0x2026a0,{'unitId':_0x2c03b0,'subUnitId':_0x4a05f4});if(!_0xc7b885)return!0x1;const _0x15505b=_0x11c98b[_0x38efe9(0x1fd)],_0x15a448=_0x11c98b[_0x38efe9(0x19e)],_0x1f5d03=_0x11c98b[_0x38efe9(0x19e)],_0x3dafad=_0x551718['getStyles']()[_0x38efe9(0x3a1)](_0x15505b),_0x3d152f=_0x551718['getStyles']()[_0x38efe9(0x3a1)](_0x15a448),_0x4e4837=_0x551718['getStyles']()[_0x38efe9(0x3a1)](_0x1f5d03),{worksheet:_0x1ae788}=_0xc7b885;let _0x57fc7f=0x0;const _0x380acc=0x1;_0x3f1833[_0x38efe9(0x1cc)](_0xd9a3b9=>{const _0x1d2c59=_0x38efe9;for(let _0x4271a4=0x0;_0x4271a4<=_0x2401e9-_0x3c7603;_0x4271a4++)_0x3998d7['setValue'](_0x57fc7f,_0x4271a4,_0x1ae788['getCellRaw'](_0xd9a3b9+_0x1b99e1[_0x1d2c59(0x1e0)]+_0x380acc,_0x4271a4));_0x57fc7f++;});for(let _0x28a173=_0x3c7603;_0x28a173<=_0x2401e9;_0x28a173++){const _0x18ed12=_0x1ae788[_0x38efe9(0x367)](_0x2d1f06,_0x28a173);_0x2951cb[_0x2d1f06]||(_0x2951cb[_0x2d1f06]={}),_0x2951cb[_0x2d1f06][_0x28a173]={..._0x18ed12,'s':_0x3dafad};}let _0x422874=0x1;const _0x5e37af={},_0x2803bc={};_0x3998d7[_0x38efe9(0x47a)]((_0x322ee0,_0x1556b6)=>{const _0x142fe2=_0x38efe9;_0x1556b6[_0x142fe2(0x1cc)](_0x587144=>{const _0x27a166=_0x142fe2,_0x38af49=_0x3998d7[_0x27a166(0x23e)](_0x322ee0,_0x587144);if(_0x2951cb[_0x422874]||(_0x2951cb[_0x422874]={}),_0x2951cb[_0x422874][_0x587144]={..._0x38af49,'s':_0x422874%0x2===0x0?_0x4e4837:_0x3d152f},_0x189a00[_0x587144]&&_0x322ee0>=0x0){const _0x1b7946=_0x422874%0x2===0x0;let _0x11eefb=_0x1b7946?_0x2803bc[_0x587144]:_0x5e37af[_0x587144];_0x11eefb||(_0x11eefb=_0x551718['getStyles']()[_0x27a166(0x3a1)]({..._0x1b7946?_0x1f5d03:_0x15a448,'n':{'pattern':_0x189a00[_0x587144]}}),_0x1b7946?_0x2803bc[_0x587144]=_0x11eefb:_0x5e37af[_0x587144]=_0x11eefb),_0x2951cb[_0x422874][_0x587144]['s']=_0x11eefb;}}),_0x422874++;});const _0x44fbd1=new _0x2420fe[(_0x38efe9(0x4b4))](_0x2951cb),_0x45ba4b={};_0x44fbd1[_0x38efe9(0x370)]((_0x4c3ba1,_0x40d820,_0x31cf5e)=>{_0x45ba4b[_0x4c3ba1]||(_0x45ba4b[_0x4c3ba1]={}),_0x45ba4b[_0x4c3ba1][_0x40d820]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x46dd31=[],_0x2981d0=[],_0x5bc2b6=_0x551718['getSheets']()['length'],_0x7fe51b=_0x2420fe[_0x38efe9(0x3fc)]({'rowCount':Math[_0x38efe9(0x1a8)](_0x2420fe['DEFAULT_WORKSHEET_ROW_COUNT'],_0x158d5d+0xa),'columnCount':Math[_0x38efe9(0x1a8)](_0x2420fe[_0x38efe9(0x276)],_0x5cdddd+0x5)}),_0xb1977f=_0x3b3454[_0x38efe9(0x2e7)](_0x2420fe[_0x38efe9(0x210)]);_0x7fe51b['id']=_0x2420fe['generateRandomId'](),_0x7fe51b[_0x38efe9(0x3ba)]=_0x551718[_0x38efe9(0x474)](''+_0xb1977f['t'](_0x38efe9(0x410)));const _0x344aa4={'index':_0x5bc2b6,'sheet':_0x7fe51b,'unitId':_0x164fa3},_0x2c38b4=_0x43dbd4[_0x38efe9(0x411)](_0x3b3454,_0x344aa4);_0x2981d0[_0x38efe9(0x2e9)]({'id':_0x43dbd4[_0x38efe9(0x353)]['id'],'params':_0x344aa4}),_0x46dd31[_0x38efe9(0x2e9)]({'id':_0x43dbd4[_0x38efe9(0x2d1)]['id'],'params':_0x2c38b4}),_0x2981d0[_0x38efe9(0x2e9)]({'id':_0x43dbd4[_0x38efe9(0x444)]['id'],'params':{'unitId':_0x164fa3,'subUnitId':_0x7fe51b['id'],'cellValue':_0x2951cb}}),_0x46dd31[_0x38efe9(0x46f)]({'id':_0x43dbd4[_0x38efe9(0x444)]['id'],'params':{'unitId':_0x164fa3,'subUnitId':_0x7fe51b['id'],'cellValue':_0x45ba4b}});const _0x328d80={'startRow':0x0,'startColumn':0x0,'endRow':_0x422874-0x1,'endColumn':_0x2401e9};_0x2981d0[_0x38efe9(0x2e9)]({'id':_0x751a7c[_0x38efe9(0x320)]['id'],'params':{'unitId':_0x164fa3,'subUnitId':_0x7fe51b['id'],'range':_0x328d80}}),_0x46dd31[_0x38efe9(0x46f)]({'id':_0x751a7c[_0x38efe9(0x2a9)]['id'],'params':{'unitId':_0x164fa3,'subUnitId':_0x7fe51b['id']}});const _0x23d544=_0x3b3454[_0x38efe9(0x2e7)](_0x2420fe[_0x38efe9(0x1dd)]);return _0x2420fe[_0x38efe9(0x300)](_0x2981d0,_0x23d544)&&_0x3b3454[_0x38efe9(0x2e7)](_0x2420fe['IUndoRedoService'])[_0x38efe9(0x359)]({'unitID':_0x164fa3,'undoMutations':_0x46dd31,'redoMutations':_0x2981d0}),!0x0;}},_0xd0f8f={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x2ea),async 'handler'(_0x47acf3,_0x244c89){const _0x5022b3=_0x4a26b1;if(!_0x244c89)return!0x1;const _0x5c3809=_0x47acf3[_0x5022b3(0x2e7)](_0x2420fe[_0x5022b3(0x1dd)]),_0x593f0e=_0x47acf3['get'](_0x1c5878['SheetsPivotRPCService']),_0x36d389=_0x47acf3[_0x5022b3(0x2e7)](_0x2420fe[_0x5022b3(0x3da)]),{pivotTableId:_0x3193af,fieldIds:_0x100ab4,unitId:_0x3ba728,subUnitId:_0x2e9345}=_0x244c89,_0x10ed45=(await _0x593f0e[_0x5022b3(0x2ed)]({'unitId':_0x3ba728,'subUnitId':_0x2e9345,'pivotTableId':_0x3193af,'params':{'type':_0x3960fe[_0x5022b3(0x3ed)],'removePivotField':{'fieldIds':_0x100ab4}}}))[_0x5022b3(0x44e)][_0x5022b3(0x488)];if(!_0x10ed45)return!0x1;const {view:_0x2df503,changesets:_0x5a98c4,isEmpty:_0x4183aa,pivotTableConfig:_0x43b965}=_0x10ed45,_0x2d2c31=_0x43b965[_0x5022b3(0x36c)],_0x1c1564=new _0x29e939[(_0x5022b3(0x493))]();_0x1c1564[_0x5022b3(0x35a)](_0x2df503);const _0x54f6ec={'cellInfo':_0x2d2c31,'view':_0x1c1564,'isEmpty':_0x4183aa};if(!await _0x47acf3[_0x5022b3(0x2e7)](_0x1c5878['SheetsPivotTableService'])['asyncInterceptor'][_0x5022b3(0x357)](_0x395b91)(!0x0,_0x54f6ec))return!0x1;const _0x3800ca=_0x713485(_0x47acf3,_0x1c1564,_0x2d2c31,_0x4183aa),_0xa5886=_0x43924b(_0x47acf3,_0x54f6ec),{redos:_0x255a58,undos:_0x58b496}=_0xbc3577(_0x5c3809,{'pivotTableId':_0x3193af,'unitId':_0x3ba728,'subUnitId':_0x2e9345},_0x5a98c4);return _0x2420fe[_0x5022b3(0x300)]([..._0x3800ca['redos'],..._0xa5886[_0x5022b3(0x28d)],..._0x255a58],_0x5c3809),_0x36d389[_0x5022b3(0x359)]({'unitID':_0x3ba728,'redoMutations':[..._0x3800ca[_0x5022b3(0x28d)],..._0xa5886[_0x5022b3(0x28d)],..._0x255a58],'undoMutations':[..._0x3800ca[_0x5022b3(0x21e)],..._0xa5886[_0x5022b3(0x21e)],..._0x58b496]}),!0x0;}},_0xbdf7eb={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x4e4d50,_0xf0a64){const _0x38e22f=_0x4a26b1;if(!_0xf0a64)return!0x1;const _0x1f16a4=_0x4e4d50[_0x38e22f(0x2e7)](_0x2420fe[_0x38e22f(0x1dd)]),_0x2d008f=_0x4e4d50[_0x38e22f(0x2e7)](_0x2420fe[_0x38e22f(0x3da)]),_0xf0df62=_0x4e4d50[_0x38e22f(0x2e7)](_0x1c5878[_0x38e22f(0x29c)]),{resetArea:_0x4ee1f4,pivotTableId:_0x13046f,unitId:_0x47e292,subUnitId:_0x5f1e70}=_0xf0a64,_0x5af249=(await _0xf0df62['getPivotDisplayConfig']({'unitId':_0x47e292,'subUnitId':_0x5f1e70,'pivotTableId':_0x13046f,'params':{'type':_0x3960fe[_0x38e22f(0x33d)],'resetPivotTable':{'pivotTableId':_0x13046f,'resetArea':_0x4ee1f4}}}))['result']['resetPivotTable'];if(!_0x5af249)return!0x1;const {changesets:_0x2a91f5}=_0x5af249,{redos:_0x2ff807,undos:_0x452922}=_0xbc3577(_0x1f16a4,{'pivotTableId':_0x13046f,'unitId':_0x47e292,'subUnitId':_0x5f1e70},_0x2a91f5);return _0x2420fe['sequenceExecute'](_0x2ff807,_0x1f16a4),_0x2d008f[_0x38e22f(0x359)]({'unitID':_0x47e292,'redoMutations':_0x2ff807,'undoMutations':_0x452922}),!0x0;}},_0x13d619={'type':_0x2420fe['CommandType'][_0x4a26b1(0x3b7)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x2187aa,_0x19e01e){const _0x404ac5=_0x4a26b1,_0x50e98e=_0x2187aa[_0x404ac5(0x2e7)](_0x2420fe[_0x404ac5(0x1dd)]),_0x543bb8=_0x2187aa['get'](_0x1c5878[_0x404ac5(0x29c)]),_0x3efc10=_0x2187aa['get'](_0x1c5878[_0x404ac5(0x270)]),_0x1cd5fb=_0x2187aa[_0x404ac5(0x2e7)](_0x2420fe[_0x404ac5(0x2cc)]),_0x52c9f4=_0x2187aa[_0x404ac5(0x2e7)](_0x2420fe['LocaleService']),_0x13f5a7=_0x2187aa[_0x404ac5(0x2e7)](_0x2420fe['IUndoRedoService']);if(!_0x19e01e)return!0x1;const {unitId:_0x1d9f3b,subUnitId:_0x25c927,row:_0x24ff86,col:_0x4018e7,collapse:_0x1e6bb5}=_0x19e01e,_0x544c89=_0x1cd5fb[_0x404ac5(0x1df)](_0x1d9f3b);if(!_0x544c89||!_0x544c89['getSheetBySheetId'](_0x25c927))return!0x1;const _0x1a9139=_0x3efc10[_0x404ac5(0x497)](_0x1d9f3b,_0x25c927,_0x24ff86,_0x4018e7);if(!_0x1a9139)return!0x1;const _0x52451b=_0x3efc10[_0x404ac5(0x491)](_0x1d9f3b,_0x25c927,_0x1a9139);if(!_0x52451b)return!0x1;const _0x533a8d=_0x2420fe['cellToRange'](_0x24ff86,_0x4018e7),{rangesInfo:_0x536728,areaInfo:_0x375999,headerMap:_0x201a6b}=_0x52451b;if(!_0x536728||!_0x375999||!_0x201a6b)return!0x1;const _0x5ec56c=Object['keys'](_0x536728)[_0x404ac5(0x314)](_0x1462af=>_0x536728[_0x1462af][_0x404ac5(0x227)](_0x4240d5=>_0x2420fe['Rectangle']['contains'](_0x4240d5,_0x533a8d)));let _0x48700a;_0x5ec56c===_0x404ac5(0x435)?_0x48700a=_0x201a6b['rowHeaderMap'][_0x4018e7]:_0x5ec56c===_0x404ac5(0x3aa)&&(_0x48700a=_0x201a6b['colHeaderMap'][_0x24ff86]);const _0x407c1a=_0x48700a==null?void 0x0:_0x48700a[_0x404ac5(0x3b6)],_0x3e3f7f=_0x3efc10[_0x404ac5(0x3a5)](_0x1d9f3b,_0x25c927,_0x24ff86,_0x4018e7);let _0x4ab900=_0x3e3f7f==null?void 0x0:_0x3e3f7f['v'];if(_0x4ab900===_0x52c9f4['t'](_0x404ac5(0x2c2))&&(_0x4ab900=_0x29e939[_0x404ac5(0x212)]['BLANK_PLACEHOLDER']),_0x4ab900==null||!_0x1a9139||!_0x407c1a)return!0x1;const _0x20317b=await _0x543bb8[_0x404ac5(0x2ed)]({'unitId':_0x1d9f3b,'subUnitId':_0x25c927,'pivotTableId':_0x1a9139,'params':{'type':_0x3960fe[_0x404ac5(0x213)],'setPivotCollapse':{'tableFieldId':_0x407c1a,'collapse':_0x1e6bb5,'item':_0x4ab900}}}),_0x363dd3=_0x20317b==null?void 0x0:_0x20317b[_0x404ac5(0x44e)]['setPivotCollapse'];if(!_0x363dd3)return!0x1;const {view:_0x132650,pivotTableConfig:_0x47c38f,isEmpty:_0x30f6f0,changesets:_0x29b92e}=_0x363dd3,_0x19feb5=new _0x29e939[(_0x404ac5(0x493))]();_0x19feb5['formJSON'](_0x132650);const _0x1dd957=_0x47c38f['targetCellInfo'],_0x2a6b27={'cellInfo':_0x1dd957,'view':_0x19feb5,'isEmpty':_0x30f6f0};if(!await _0x2187aa['get'](_0x1c5878[_0x404ac5(0x248)])[_0x404ac5(0x2f7)][_0x404ac5(0x357)](_0x395b91)(!0x0,_0x2a6b27))return!0x1;const _0x34a2b3=_0x713485(_0x2187aa,_0x19feb5,_0x1dd957,_0x30f6f0),_0x4084ac=_0x43924b(_0x2187aa,_0x2a6b27),{redos:_0x523e65,undos:_0x92f73d}=_0xbc3577(_0x50e98e,{'pivotTableId':_0x1a9139,'unitId':_0x1d9f3b,'subUnitId':_0x25c927},_0x29b92e);return _0x2420fe[_0x404ac5(0x300)]([..._0x34a2b3[_0x404ac5(0x28d)],..._0x4084ac['redos'],..._0x523e65],_0x50e98e),_0x13f5a7[_0x404ac5(0x359)]({'unitID':_0x1d9f3b,'redoMutations':[..._0x34a2b3['redos'],..._0x4084ac['redos'],..._0x523e65],'undoMutations':[..._0x34a2b3[_0x404ac5(0x21e)],..._0x4084ac[_0x404ac5(0x21e)],..._0x92f73d]}),!0x0;}},_0x307cb7={'type':_0x2420fe['CommandType']['COMMAND'],'id':_0x4a26b1(0x1db),async 'handler'(_0x31bf7c,_0x44b189){const _0x9ecb90=_0x4a26b1;if(!_0x44b189)return!0x1;const _0x331e5e=_0x31bf7c[_0x9ecb90(0x2e7)](_0x2420fe[_0x9ecb90(0x1dd)]),_0x56b7c2=_0x31bf7c[_0x9ecb90(0x2e7)](_0x2420fe[_0x9ecb90(0x3da)]),_0x4c26de=_0x31bf7c[_0x9ecb90(0x2e7)](_0x1c5878['SheetsPivotRPCService']),{pivotTableConfig:_0x16d1b6,pivotTableId:_0x36bc24,unitId:_0x33022a,subUnitId:_0x4c69b9}=_0x44b189,_0x5849a0=(await _0x4c26de[_0x9ecb90(0x2ed)]({'unitId':_0x33022a,'subUnitId':_0x4c69b9,'pivotTableId':_0x36bc24,'params':{'type':_0x3960fe[_0x9ecb90(0x1e1)],'setPivotTableConfig':{'pivotTableId':_0x36bc24,'pivotTableConfig':_0x16d1b6}}}))[_0x9ecb90(0x44e)]['setPivotTableConfig'];if(!_0x5849a0)return!0x1;const {changesets:_0x46542b}=_0x5849a0,{redos:_0x36d134,undos:_0x3ef036}=_0xbc3577(_0x331e5e,{'pivotTableId':_0x36bc24,'unitId':_0x33022a,'subUnitId':_0x4c69b9},_0x46542b);return _0x2420fe[_0x9ecb90(0x300)](_0x36d134,_0x331e5e),_0x56b7c2[_0x9ecb90(0x359)]({'unitID':_0x33022a,'redoMutations':_0x36d134,'undoMutations':_0x3ef036}),!0x0;}},_0x14173a={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x2fa281,_0x2d2df7){const _0x350b4c=_0x4a26b1;if(!_0x2d2df7)return!0x1;const _0x5e1871=_0x2fa281['get'](_0x2420fe[_0x350b4c(0x1dd)]),{pivotTableId:_0x4e2295,tableFieldId:_0x7829a7,items:_0x54caf4,unitId:_0x2fddfe,subUnitId:_0x284209,isAll:_0x56e587}=_0x2d2df7,_0x204492=_0x2fa281[_0x350b4c(0x2e7)](_0x1c5878['SheetsPivotRPCService']),_0x421826=_0x2fa281[_0x350b4c(0x2e7)](_0x2420fe[_0x350b4c(0x3da)]),_0x345f0d=(await _0x204492['getPivotDisplayConfig']({'unitId':_0x2fddfe,'subUnitId':_0x284209,'pivotTableId':_0x4e2295,'params':{'type':_0x3960fe[_0x350b4c(0x467)],'setPivotFilter':{'tableFieldId':_0x7829a7,'items':_0x54caf4,'isAll':_0x56e587}}}))[_0x350b4c(0x44e)]['setPivotFilter'];if(!_0x345f0d)return!0x1;const {changesets:_0x50326a,pivotTableConfig:_0x38adb2,isEmpty:_0x401eac,view:_0x3960e3}=_0x345f0d,_0x5dba84=_0x38adb2[_0x350b4c(0x36c)],_0x502aa7=new _0x29e939[(_0x350b4c(0x493))]();_0x502aa7['formJSON'](_0x3960e3);const _0x20ea19={'cellInfo':_0x5dba84,'view':_0x502aa7,'isEmpty':_0x401eac};if(!await _0x2fa281['get'](_0x1c5878[_0x350b4c(0x248)])[_0x350b4c(0x2f7)][_0x350b4c(0x357)](_0x395b91)(!0x0,_0x20ea19))return!0x1;const _0xa88192=_0x713485(_0x2fa281,_0x502aa7,_0x5dba84,_0x401eac),_0x2349b1=_0x43924b(_0x2fa281,_0x20ea19),{undos:_0x142f58,redos:_0x55e05f}=_0xbc3577(_0x5e1871,{'pivotTableId':_0x4e2295,'unitId':_0x2fddfe,'subUnitId':_0x284209},_0x50326a);return _0x2420fe[_0x350b4c(0x300)]([..._0xa88192[_0x350b4c(0x28d)],..._0x2349b1['redos'],..._0x55e05f],_0x5e1871),_0x421826['pushUndoRedo']({'unitID':_0x2fddfe,'redoMutations':[..._0xa88192[_0x350b4c(0x28d)],..._0x2349b1[_0x350b4c(0x28d)],..._0x55e05f],'undoMutations':[..._0xa88192[_0x350b4c(0x21e)],..._0x2349b1['undos'],..._0x142f58]}),!0x0;}},_0x3f26c1={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x414),async 'handler'(_0x46d7d0,_0x448a58){const _0x62cdab=_0x4a26b1;if(!_0x448a58)return!0x1;const _0x148349=_0x46d7d0[_0x62cdab(0x2e7)](_0x2420fe[_0x62cdab(0x1dd)]),_0x3a3cbe=_0x46d7d0[_0x62cdab(0x2e7)](_0x2420fe[_0x62cdab(0x3da)]),_0x201f67=_0x46d7d0[_0x62cdab(0x2e7)](_0x1c5878[_0x62cdab(0x29c)]),{info:_0x1284c7,tableFieldId:_0x272082,pivotTableId:_0xdaf9c5,unitId:_0x161734,subUnitId:_0x15f69a}=_0x448a58,_0x56f95b=(await _0x201f67[_0x62cdab(0x2ed)]({'unitId':_0x161734,'subUnitId':_0x15f69a,'pivotTableId':_0xdaf9c5,'params':{'type':_0x3960fe['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x272082,'info':_0x1284c7}}}))[_0x62cdab(0x44e)][_0x62cdab(0x1b0)];if(!_0x56f95b)return!0x1;const {changesets:_0x337f23}=_0x56f95b,{redos:_0x2a37f7,undos:_0x10109f}=_0xbc3577(_0x148349,{'pivotTableId':_0xdaf9c5,'unitId':_0x161734,'subUnitId':_0x15f69a},_0x337f23);return _0x2420fe[_0x62cdab(0x300)](_0x2a37f7,_0x148349),_0x3a3cbe[_0x62cdab(0x359)]({'unitID':_0x161734,'redoMutations':_0x2a37f7,'undoMutations':_0x10109f}),!0x0;}},_0x40261e={'type':_0x2420fe[_0x4a26b1(0x30e)]['COMMAND'],'id':_0x4a26b1(0x3fb),async 'handler'(_0xa10e10,_0xe22651){const _0x5b0291=_0x4a26b1;if(!_0xe22651)return!0x1;const _0x21b10b=_0xa10e10[_0x5b0291(0x2e7)](_0x2420fe[_0x5b0291(0x1dd)]),{pivotTableId:_0x2968c1,fieldId:_0x1d4770,valueFilterInfo:_0x51efbc,unitId:_0x4f0bef,subUnitId:_0x3e0c8c}=_0xe22651,_0x3839f2=_0xa10e10[_0x5b0291(0x2e7)](_0x1c5878[_0x5b0291(0x29c)]),_0x557fe7=_0xa10e10['get'](_0x2420fe[_0x5b0291(0x3da)]),_0x2e8855=(await _0x3839f2['getPivotDisplayConfig']({'unitId':_0x4f0bef,'subUnitId':_0x3e0c8c,'pivotTableId':_0x2968c1,'params':{'type':_0x3960fe['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x1d4770,'filterInfo':_0x51efbc}}}))[_0x5b0291(0x44e)][_0x5b0291(0x278)];if(!_0x2e8855)return!0x1;const {changesets:_0x390cee,pivotTableConfig:_0x513cf5,isEmpty:_0x214f92,view:_0x1a7bca}=_0x2e8855,_0x2db72e=_0x513cf5[_0x5b0291(0x36c)],_0x10af75=new _0x29e939[(_0x5b0291(0x493))]();_0x10af75[_0x5b0291(0x35a)](_0x1a7bca);const _0x470c4a={'cellInfo':_0x2db72e,'view':_0x10af75,'isEmpty':_0x214f92};if(!await _0xa10e10[_0x5b0291(0x2e7)](_0x1c5878['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x395b91)(!0x0,_0x470c4a))return!0x1;const _0x13dc6a=_0x713485(_0xa10e10,_0x10af75,_0x2db72e,_0x214f92),_0x5c4563=_0x43924b(_0xa10e10,_0x470c4a),{undos:_0x400b7b,redos:_0x4e1469}=_0xbc3577(_0x21b10b,{'pivotTableId':_0x2968c1,'unitId':_0x4f0bef,'subUnitId':_0x3e0c8c},_0x390cee);return _0x2420fe[_0x5b0291(0x300)]([..._0x13dc6a[_0x5b0291(0x28d)],..._0x5c4563['redos'],..._0x4e1469],_0x21b10b),_0x557fe7[_0x5b0291(0x359)]({'unitID':_0x4f0bef,'redoMutations':[..._0x13dc6a['redos'],..._0x5c4563[_0x5b0291(0x28d)],..._0x4e1469],'undoMutations':[..._0x13dc6a['undos'],..._0x5c4563[_0x5b0291(0x21e)],..._0x400b7b]}),!0x0;}},_0x126c3b={'id':_0x4a26b1(0x233),'type':_0x2420fe[_0x4a26b1(0x30e)]['MUTATION'],'handler':(_0x24a9b6,_0x3452a7)=>{const _0xc8a53c=_0x4a26b1;if(!_0x3452a7)return!0x1;if(!!_0x24a9b6[_0xc8a53c(0x2e7)](_0x2420fe['IConfigService'])[_0xc8a53c(0x395)](_0x2122db))return!0x0;const {unitId:_0x12ab0b,subUnitId:_0x70fdd2,pivotTableId:_0x1435a7,tableFieldId:_0x1008a2,dateType:_0x2262f4}=_0x3452a7,_0x4c34be=_0x24a9b6['get'](_0x1c5878['SheetsPivotDataSourceModel']),_0x208be8=_0x4c34be[_0xc8a53c(0x3ea)](_0x1435a7);if(!_0x208be8)return!0x1;const _0xb90a44=_0x208be8[_0xc8a53c(0x49d)](_0x1008a2);if(!_0xb90a44)return!0x1;const _0x52c2a7=_0xb90a44['getOriginFieldId'](),_0x4f0d69=_0x208be8[_0xc8a53c(0x3a7)](_0x52c2a7),_0x59e001=(_0x4f0d69==null?void 0x0:_0x4f0d69['getName']())+'\x20'+_0x338679(_0x24a9b6,_0x2262f4);_0x4c34be['getCollection'](_0x12ab0b,_0x1435a7)[_0xc8a53c(0x401)](_0xb90a44['id'],_0x59e001);const _0xb96bbe=_0x208be8[_0xc8a53c(0x2d9)](_0x1008a2);if(!_0xb96bbe)return!0x1;_0x208be8[_0xc8a53c(0x208)](_0xb96bbe[_0xc8a53c(0x37b)](),_0x59e001),_0xb90a44[_0xc8a53c(0x245)](_0x2262f4);const _0xd66155=_0x4c34be[_0xc8a53c(0x3b3)](_0x12ab0b,_0x70fdd2,_0x1435a7);return _0x4c34be[_0xc8a53c(0x25d)]({'unitId':_0x12ab0b,'subUnitId':_0x70fdd2,'token':_0x1435a7,'type':_0x2804e5[_0xc8a53c(0x38a)],'pivotConfig':_0xd66155}),!0x0;}},_0x170285={'id':_0x4a26b1(0x434),'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'handler':(_0xbf30e5,_0x262573)=>{const _0x44cf7d=_0x4a26b1;if(!_0x262573)return!0x1;const _0x39c903=_0xbf30e5[_0x44cf7d(0x2e7)](_0x2420fe[_0x44cf7d(0x3da)]),{unitId:_0x38a367,subUnitId:_0x40f798,pivotTableId:_0x95cb3e,tableFieldId:_0x243242}=_0x262573,_0x2fe99e=[],_0x534ee9=[],_0x49ef5b=_0xbf30e5['get'](_0x1c5878[_0x44cf7d(0x384)]),_0x28704c=_0x49ef5b[_0x44cf7d(0x1b8)](_0x38a367,_0x95cb3e),_0x42010e=_0x49ef5b[_0x44cf7d(0x3b3)](_0x38a367,_0x40f798,_0x95cb3e);if(!(_0x42010e!=null&&_0x42010e['fieldsConfig']['dimension']))return!0x1;const _0x3f7434=Object[_0x44cf7d(0x41b)](_0x42010e['fieldsConfig']['dimension'])[_0x44cf7d(0x314)](_0x5617c0=>_0x5617c0['id']===_0x243242);if(!_0x3f7434)return!0x1;const _0x1b0a65=_0x3f7434[_0x44cf7d(0x22f)];if(!(_0x28704c!=null&&_0x28704c[_0x44cf7d(0x3a2)]))return!0x1;const _0x4ba893=Object['values'](_0x28704c==null?void 0x0:_0x28704c['fields'])[_0x44cf7d(0x314)](_0x17b96c=>_0x17b96c['id']===_0x1b0a65);if(!_0x4ba893)return!0x1;_0x29e939[_0x44cf7d(0x2b1)](_0x4ba893)&&_0x2fe99e[_0x44cf7d(0x2e9)]({'id':_0x126c3b['id'],'params':{..._0x262573,'dateType':_0x4ba893[_0x44cf7d(0x399)]}}),_0x534ee9['push']({'id':_0x126c3b['id'],'params':{..._0x262573}});const _0x72421a=_0xbf30e5[_0x44cf7d(0x2e7)](_0x2420fe[_0x44cf7d(0x1dd)]);return _0x2420fe[_0x44cf7d(0x300)](_0x534ee9,_0x72421a)&&_0x39c903[_0x44cf7d(0x359)]({'unitID':_0x38a367,'undoMutations':_0x2fe99e,'redoMutations':_0x534ee9}),!0x0;}},_0x1ab8cd={'type':_0x2420fe['CommandType'][_0x4a26b1(0x3b7)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x468aa7,_0x2de226){const _0x9fdcb1=_0x4a26b1;if(!_0x2de226)return!0x1;const _0x2b4d3a=_0x468aa7['get'](_0x2420fe['ICommandService']),_0x35b313=_0x468aa7[_0x9fdcb1(0x2e7)](_0x2420fe[_0x9fdcb1(0x3da)]),_0x21a792=_0x468aa7[_0x9fdcb1(0x2e7)](_0x1c5878[_0x9fdcb1(0x29c)]),{displayName:_0x2acfeb,subtotalType:_0x26857b,format:_0x4ecca5,tableFieldId:_0x3916b1,pivotTableId:_0x355c80,unitId:_0x26fc4c,subUnitId:_0x181ef8}=_0x2de226,_0x7646ad=(await _0x21a792[_0x9fdcb1(0x2ed)]({'unitId':_0x26fc4c,'subUnitId':_0x181ef8,'pivotTableId':_0x355c80,'params':{'type':_0x3960fe[_0x9fdcb1(0x2b3)],'setPivotSetting':{'tableFieldId':_0x3916b1,'displayName':_0x2acfeb,'subtotalType':_0x26857b,'format':_0x4ecca5}}}))[_0x9fdcb1(0x44e)][_0x9fdcb1(0x1d6)];if(!_0x7646ad)return!0x1;const {changesets:_0x971c69,view:_0x14270f,pivotTableConfig:_0x492036,isEmpty:_0x566536}=_0x7646ad,_0x204f98=_0x492036[_0x9fdcb1(0x36c)],_0x43419c=new _0x29e939[(_0x9fdcb1(0x493))]();_0x43419c[_0x9fdcb1(0x35a)](_0x14270f);const _0x4bbd6d={'cellInfo':_0x204f98,'view':_0x43419c,'isEmpty':_0x566536};if(!await _0x468aa7[_0x9fdcb1(0x2e7)](_0x1c5878[_0x9fdcb1(0x248)])[_0x9fdcb1(0x2f7)]['fetchThroughAsyncInterceptors'](_0x395b91)(!0x0,_0x4bbd6d))return!0x1;const _0x1129f1=_0x713485(_0x468aa7,_0x43419c,_0x204f98,_0x566536),_0x4f7869=_0x43924b(_0x468aa7,_0x4bbd6d),{undos:_0x15a93,redos:_0x2f03d8}=_0xbc3577(_0x2b4d3a,{'pivotTableId':_0x355c80,'unitId':_0x26fc4c,'subUnitId':_0x181ef8},_0x971c69);return _0x2420fe[_0x9fdcb1(0x300)]([..._0x1129f1[_0x9fdcb1(0x28d)],..._0x4f7869['redos'],..._0x2f03d8],_0x2b4d3a),_0x35b313[_0x9fdcb1(0x359)]({'unitID':_0x26fc4c,'redoMutations':[..._0x1129f1[_0x9fdcb1(0x28d)],..._0x4f7869[_0x9fdcb1(0x28d)],..._0x2f03d8],'undoMutations':[..._0x1129f1[_0x9fdcb1(0x21e)],..._0x4f7869[_0x9fdcb1(0x21e)],..._0x15a93]}),!0x0;}},_0x585fbf={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x2de),'handler'(_0x3c2b6d,_0x15f8fc){const _0x1e17f6=_0x4a26b1;if(!_0x15f8fc)return!0x1;if(!!_0x3c2b6d[_0x1e17f6(0x2e7)](_0x2420fe['IConfigService'])[_0x1e17f6(0x395)](_0x2122db))return!0x0;const _0x5d88db=_0x3c2b6d[_0x1e17f6(0x2e7)](_0x1c5878[_0x1e17f6(0x342)]),{pivotTableId:_0x517bc3,deleteIds:_0x4c0c97,collectionJSON:_0x33578b,dataRangeInfo:_0x2e8e73,unitId:_0x257c5c,subUnitId:_0x32aa95}=_0x15f8fc,_0x53c2e3=_0x5d88db[_0x1e17f6(0x3ea)](_0x517bc3),_0x8030dc=_0x5d88db[_0x1e17f6(0x3b3)](_0x257c5c,_0x32aa95,_0x517bc3);if(!_0x53c2e3||!_0x8030dc)return!0x1;const {collection:_0x2b5cd2,updateDataFieldList:_0x231f9d}=_0x5d88db[_0x1e17f6(0x1eb)](_0x517bc3,_0x33578b,_0x2e8e73,_0x8030dc[_0x1e17f6(0x36c)]);_0x5d88db['refreshData'](_0x2b5cd2,_0x231f9d,_0x2e8e73),_0x53c2e3['updateDataFieldsCollection'](_0x2b5cd2);for(const _0xd7322e of _0x4c0c97)_0x5d88db['removeDataField'](_0x2e8e73[_0x1e17f6(0x345)],_0xd7322e);const _0x2dbf94=_0x5d88db[_0x1e17f6(0x3b3)](_0x257c5c,_0x32aa95,_0x517bc3);return _0x2dbf94[_0x1e17f6(0x2c4)]=JSON[_0x1e17f6(0x396)](JSON[_0x1e17f6(0x3e5)](_0x2e8e73)),_0x5d88db[_0x1e17f6(0x25d)]({'unitId':_0x257c5c,'subUnitId':_0x32aa95,'token':_0x517bc3,'type':_0x2804e5[_0x1e17f6(0x38a)]}),!0x0;}},_0x1e908d={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x25f),async 'handler'(_0x4abcc8,_0x58374e){const _0x35a153=_0x4a26b1,_0x403203=_0x4abcc8['get'](_0x2420fe[_0x35a153(0x1dd)]),_0x41da50=_0x4abcc8['get'](_0x1c5878[_0x35a153(0x29c)]),_0xe55fb0=_0x4abcc8['get'](_0x2420fe[_0x35a153(0x3da)]);if(!_0x58374e)return!0x1;const {token:_0x392618,dataRangeInfo:_0x5db4a0,unitId:_0x7af19,subUnitId:_0x52a19f}=_0x58374e,_0x1e10d0=[],_0xb7894f=[],_0x493bde=(await _0x41da50[_0x35a153(0x2ed)]({'unitId':_0x7af19,'subUnitId':_0x52a19f,'pivotTableId':_0x392618,'params':{'type':_0x3960fe[_0x35a153(0x2e6)],'updatePivotSource':{'dataRangeInfo':_0x5db4a0,'unitId':_0x7af19,'subUnitId':_0x52a19f}}}))[_0x35a153(0x44e)][_0x35a153(0x4a7)];if(!_0x493bde)return!0x1;const {changesets:_0x77e780,deleteIds:_0x3544a5,collectionConfig:_0x57364f,oldCollectionConfig:_0x593fa8,view:_0x52a932,isEmpty:_0x1287b6,pivotTableConfig:_0x3cd268}=_0x493bde;_0xb7894f[_0x35a153(0x2e9)]({'id':_0x585fbf['id'],'params':{'pivotTableId':_0x392618,'deleteIds':_0x3544a5,'collectionJSON':_0x57364f,'dataRangeInfo':_0x5db4a0,'unitId':_0x7af19,'subUnitId':_0x52a19f}}),_0x1e10d0[_0x35a153(0x46f)]({'id':_0x585fbf['id'],'params':{'pivotTableId':_0x392618,'deleteIds':[],'collectionJSON':_0x593fa8,'dataRangeInfo':_0x3cd268[_0x35a153(0x2c4)],'unitId':_0x7af19,'subUnitId':_0x52a19f}});const _0x2fc700=_0x3cd268[_0x35a153(0x36c)],_0x2e5ec7=new _0x29e939[(_0x35a153(0x493))]();_0x2e5ec7[_0x35a153(0x35a)](_0x52a932);const _0x5c2860={'cellInfo':_0x2fc700,'view':_0x2e5ec7,'isEmpty':_0x1287b6};if(!await _0x4abcc8[_0x35a153(0x2e7)](_0x1c5878[_0x35a153(0x248)])[_0x35a153(0x2f7)][_0x35a153(0x357)](_0x395b91)(!0x0,_0x5c2860))return!0x1;const _0x3f0ba6=_0x713485(_0x4abcc8,_0x2e5ec7,_0x2fc700,_0x1287b6),_0x54583b=_0x43924b(_0x4abcc8,_0x5c2860),{undos:_0x497ba1,redos:_0x1d0a29}=_0xbc3577(_0x403203,{'pivotTableId':_0x392618,'unitId':_0x7af19,'subUnitId':_0x52a19f},_0x77e780);return _0x2420fe['sequenceExecute']([..._0x3f0ba6[_0x35a153(0x28d)],..._0x54583b['redos'],..._0xb7894f,..._0x497ba1],_0x403203),_0xe55fb0[_0x35a153(0x359)]({'unitID':_0x7af19,'redoMutations':[..._0x3f0ba6[_0x35a153(0x28d)],..._0x54583b[_0x35a153(0x28d)],..._0xb7894f,..._0x497ba1],'undoMutations':[..._0x3f0ba6['undos'],..._0x54583b[_0x35a153(0x21e)],..._0x1e10d0,..._0x1d0a29]}),!0x0;}},_0x230aff={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x3b7)],'id':_0x4a26b1(0x41a),async 'handler'(_0x1c4888,_0x24e1da){const _0x536d62=_0x4a26b1;if(!_0x24e1da)return!0x1;const _0x4836ea=_0x1c4888[_0x536d62(0x2e7)](_0x2420fe[_0x536d62(0x1dd)]),_0x1029f0=_0x1c4888[_0x536d62(0x2e7)](_0x1c5878[_0x536d62(0x29c)]),_0x390620=_0x1c4888[_0x536d62(0x2e7)](_0x2420fe[_0x536d62(0x2cc)]),_0x675b5b=_0x1c4888[_0x536d62(0x2e7)](_0x2420fe[_0x536d62(0x3da)]),{pivotTableId:_0x47efac,position:_0x4dc21c,index:_0x69fce5}=_0x24e1da,_0x472fdf=_0x43dbd4[_0x536d62(0x442)](_0x390620);if(!_0x472fdf)return!0x1;const {unitId:_0x6cfb56,subUnitId:_0x461828}=_0x472fdf,_0x2b4ba9=(await _0x1029f0[_0x536d62(0x2ed)]({'unitId':_0x6cfb56,'subUnitId':_0x461828,'pivotTableId':_0x47efac,'params':{'type':_0x3960fe[_0x536d62(0x499)],'updateValuePosition':{'position':_0x4dc21c,'index':_0x69fce5}}}))[_0x536d62(0x44e)][_0x536d62(0x252)];if(!_0x2b4ba9)return!0x1;const {changesets:_0x17ffbc,view:_0x201197,isEmpty:_0x1af9e5,pivotTableConfig:_0x181e6f}=_0x2b4ba9,_0x15ffed=_0x181e6f[_0x536d62(0x36c)],_0x578d15=new _0x29e939['PivotView']();_0x578d15['formJSON'](_0x201197);const _0x59edef=_0x1c4888[_0x536d62(0x2e7)](_0x1c5878[_0x536d62(0x248)]),_0x46d2ca={'cellInfo':_0x15ffed,'view':_0x578d15,'isEmpty':_0x1af9e5};if(!await _0x59edef['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x395b91)(!0x0,_0x46d2ca))return!0x1;const _0x220c8c=_0x713485(_0x1c4888,_0x578d15,_0x15ffed,_0x1af9e5),_0x56caaa=_0x43924b(_0x1c4888,_0x46d2ca),{undos:_0x318923,redos:_0x48bb4a}=_0xbc3577(_0x4836ea,{'pivotTableId':_0x47efac,'unitId':_0x6cfb56,'subUnitId':_0x461828},_0x17ffbc);return _0x2420fe[_0x536d62(0x300)]([..._0x220c8c['redos'],..._0x56caaa['redos'],..._0x48bb4a],_0x4836ea),_0x675b5b[_0x536d62(0x359)]({'unitID':_0x6cfb56,'redoMutations':[..._0x220c8c[_0x536d62(0x28d)],..._0x56caaa[_0x536d62(0x28d)],..._0x48bb4a],'undoMutations':[..._0x220c8c[_0x536d62(0x21e)],..._0x56caaa['undos'],..._0x318923]}),!0x0;}},_0x326029={'type':_0x2420fe[_0x4a26b1(0x30e)][_0x4a26b1(0x4af)],'id':_0x4a26b1(0x3e9),'handler'(){return!0x0;}};var _0x49a8b4=Object[_0x4a26b1(0x230)],_0x5cb372=(_0x5b669c,_0x52e480,_0x52f590,_0x375318)=>{const _0x90a737=_0x4a26b1;for(var _0x2cf319=_0x375318>0x1?void 0x0:_0x375318?_0x49a8b4(_0x52e480,_0x52f590):_0x52e480,_0x3972c8=_0x5b669c[_0x90a737(0x247)]-0x1,_0x43a8e5;_0x3972c8>=0x0;_0x3972c8--)(_0x43a8e5=_0x5b669c[_0x3972c8])&&(_0x2cf319=_0x43a8e5(_0x2cf319)||_0x2cf319);return _0x2cf319;},_0x22c892=(_0x311e5a,_0x1799ee)=>(_0x4ac3e0,_0x69689e)=>_0x1799ee(_0x4ac3e0,_0x69689e,_0x311e5a);const _0x2cf669=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x2af556=(_0x48a762,_0x445e63,_0x566448)=>{const _0x9c0dac=_0x4a26b1,_0x34ae0c=_0x48a762[_0x9c0dac(0x274)];_0x48a762[_0x9c0dac(0x1a7)](_0x2772c6=>{const _0x2d9295=_0x9c0dac,_0x17fe82=_0x2772c6[_0x2d9295(0x37b)](),_0x47d301=_0x2772c6[_0x2d9295(0x47f)](),_0x3abff2=_0x2772c6[_0x2d9295(0x268)](),_0xfedb0e=_0x2772c6[_0x2d9295(0x37c)]();_0x445e63[_0x47d301]&&_0x445e63[_0x47d301]===_0xfedb0e&&_0x3abff2===_0xfedb0e&&(_0x48a762[_0x2d9295(0x208)](_0x17fe82,_0x34ae0c[_0x2d9295(0x37c)](_0x47d301)),_0x2772c6[_0x2d9295(0x374)](_0x34ae0c[_0x2d9295(0x37c)](_0x47d301)));}),_0x48a762[_0x9c0dac(0x3d5)](_0x29e939[_0x9c0dac(0x242)]['Value'],_0x20972e=>{const _0x3a0037=_0x9c0dac,_0x1768a1=_0x20972e['getId'](),_0x1414c8=_0x20972e[_0x3a0037(0x47f)](),_0xe5cc3=_0x20972e[_0x3a0037(0x268)](),_0xab73ba=_0x20972e['getDisplayName'](),_0x5d2b0f=_0x20972e[_0x3a0037(0x1fa)](),_0x61cda=_0x566448(_0xe5cc3,_0x5d2b0f);_0x445e63[_0x1414c8]&&_0x445e63[_0x1414c8]===_0xe5cc3&&_0x61cda===_0xab73ba&&(_0x48a762[_0x3a0037(0x208)](_0x1768a1,_0x566448(_0x34ae0c[_0x3a0037(0x37c)](_0x1414c8),_0x5d2b0f)),_0x20972e[_0x3a0037(0x374)](_0x34ae0c[_0x3a0037(0x37c)](_0x1414c8)));});},_0x55281b=(_0x45b241,_0x21b405,_0xe2106c)=>{const _0x1975b6=_0x4a26b1;var _0x2fa72c,_0x3ab431;const {arrayFormulaCellData:_0x3233a6,unitData:_0x45b905}=_0x21b405,{unitId:_0x861a53,subUnitId:_0x4ce678}=_0xe2106c,_0xb2aa12=_0xe2106c[_0x1975b6(0x486)],{startColumn:_0x2c4d03,endColumn:_0xb368e1}=_0xb2aa12,_0x5ab720=(_0x2fa72c=_0x3233a6==null?void 0x0:_0x3233a6[_0x861a53])==null?void 0x0:_0x2fa72c[_0x4ce678],_0x55a6b5=(_0x3ab431=_0x45b905==null?void 0x0:_0x45b905[_0x861a53])==null?void 0x0:_0x3ab431[_0x4ce678],_0x35dff8=new Set(),_0x535140=_0xb368e1-_0x2c4d03+0x1,{dirtyRanges:_0x5169b8}=_0x45b241;if(_0x5169b8)for(const {range:_0x25ac2e,sheetId:_0x3dc6eb,unitId:_0x43038a}of _0x5169b8){if(_0x3dc6eb!==_0x4ce678||_0x861a53!==_0x43038a)continue;const _0x40b837=_0x2420fe['Rectangle'][_0x1975b6(0x4a8)](_0x25ac2e,_0xb2aa12);if(_0x40b837){const {startColumn:_0xbf3da7,endColumn:_0x5a89c}=_0x40b837;for(let _0x224e63=_0xbf3da7;_0x224e63<=_0x5a89c;_0x224e63++)_0x35dff8[_0x1975b6(0x24a)](_0x224e63);}}if(_0x35dff8['size']===_0x535140||_0x35dff8[_0x1975b6(0x3bb)]===_0x535140)return Array['from'](_0x35dff8);if(_0x55a6b5){const _0x1fb103=_0x55a6b5[_0x1975b6(0x46d)](),_0x1ba317=Object[_0x1975b6(0x41d)](_0x1fb103);for(const _0x44ce8d of _0x1ba317){const _0x53c509=Number(_0x44ce8d),_0x3aa571=_0x1fb103[_0x53c509];if(_0x35dff8[_0x1975b6(0x3bb)]===_0x535140)break;for(const _0x1e83d1 in _0x3aa571){const _0x17fb0d=Number(_0x1e83d1);_0x17fb0d<_0x2c4d03||_0x17fb0d>_0xb368e1||_0x35dff8[_0x1975b6(0x24a)](_0x17fb0d);}}}if(_0x5ab720){const _0x4f1618=_0x5ab720['getMatrix'](),_0x18241c=Object['keys'](_0x4f1618);for(const _0x5a06eb of _0x18241c){const _0xa0a0ae=Number(_0x5a06eb),_0x124494=_0x4f1618[_0xa0a0ae];if(_0x35dff8['size']===_0x535140)break;for(const _0x50c428 in _0x124494){const _0xc24bfe=Number(_0x50c428);_0xc24bfe<_0x2c4d03||_0xc24bfe>_0xb368e1||_0x35dff8[_0x1975b6(0x24a)](_0xc24bfe);}}}return Array['from'](_0x35dff8);},_0x140499=_0x417896=>{const _0x1bc186=_0x4a26b1,_0x32453d=new Set(),_0x311cc8=[];for(const _0x46a2df of _0x417896){const _0xb9597a=_0x46a2df['startRow']+','+_0x46a2df[_0x1bc186(0x1f6)]+','+_0x46a2df[_0x1bc186(0x2b4)]+','+_0x46a2df[_0x1bc186(0x21c)];_0x32453d[_0x1bc186(0x308)](_0xb9597a)||(_0x32453d[_0x1bc186(0x24a)](_0xb9597a),_0x311cc8[_0x1bc186(0x2e9)](_0x46a2df));}return _0x311cc8;};let _0x314351=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0x349e51,_0x4969c9,_0x31e7e9,_0x4a7893,_0xa2f1ab){const _0x3fb5c4=_0x4a26b1;super(),_0x3b48fc(this,_0x3fb5c4(0x361),new _0x5d8adc[(_0x3fb5c4(0x379))](!0x0)),_0x3b48fc(this,_0x3fb5c4(0x1e9),_0x42086b=>{const _0x589e12=_0x3fb5c4;this[_0x589e12(0x361)]['next'](!0x1);}),_0x3b48fc(this,_0x3fb5c4(0x3eb),_0x173dde=>{const _0x487f9d=_0x3fb5c4;this['_globalSubject'][_0x487f9d(0x289)](!0x0);}),(this[_0x3fb5c4(0x1a4)]=_0x349e51,this[_0x3fb5c4(0x232)]=_0x4969c9,this[_0x3fb5c4(0x408)]=_0x31e7e9,this[_0x3fb5c4(0x364)]=_0x4a7893,this[_0x3fb5c4(0x433)]=_0xa2f1ab,this[_0x3fb5c4(0x2d8)](),this[_0x3fb5c4(0x1ed)]());}[_0x4a26b1(0x2d8)](){const _0x20d9ea=_0x4a26b1;this['_subjectCollectionChange'](),this[_0x20d9ea(0x2bc)](),this[_0x20d9ea(0x437)](),this['_subjectFieldsCollectionChange']();}[_0x4a26b1(0x209)](){const _0x7dae22=_0x4a26b1;this['_globalComputingSrv'][_0x7dae22(0x383)](this['_globalSubject']),_0x29e939['PivotTable'][_0x7dae22(0x426)](_0x29e939[_0x7dae22(0x2bb)][_0x7dae22(0x2af)],this[_0x7dae22(0x1e9)]),_0x29e939[_0x7dae22(0x21f)]['registerCallbackWithEvent'](_0x29e939['PivotCallbackEnum'][_0x7dae22(0x2c7)],this['_globalComputedEndHelpFunc']);}[_0x4a26b1(0x1ed)](){const _0x441e29=_0x4a26b1;this[_0x441e29(0x3d9)](this['_commandService']['onCommandExecuted'](_0x35fbd7=>{const _0x17b68f=_0x441e29;_0x35fbd7['id']===_0x43dbd4[_0x17b68f(0x240)]['id']&&this[_0x17b68f(0x1a4)][_0x17b68f(0x398)](_0x35fbd7['params']);})),this['disposeWithMe'](this[_0x441e29(0x408)][_0x441e29(0x1fc)](_0x27660a=>{const _0x210c51=_0x441e29;if(_0x27660a['id']!==_0x150950['id'])return;const _0x39bd98=_0x27660a[_0x210c51(0x39f)],{unitId:_0x39c9a5,subUnitId:_0x397b2b,pivotTableId:_0x5759a6}=_0x39bd98,_0x124b82=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x45d)],_0x196d12={};switch(_0x124b82){case _0x3960fe[_0x210c51(0x2fa)]:{const _0xde64e0=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x1b1)];if(!_0xde64e0)return;const {row:_0x302372,col:_0x30b959,cellData:_0x565c1b,pivotItemRenderInfoCache:_0x4c48e6,tableFieldId:_0x478ea8}=_0xde64e0,_0x2a1a07=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x39bd98[_0x210c51(0x397)]);if(!_0x2a1a07||!_0x4c48e6)return;if(_0x478ea8){const _0x3fa217=_0x2a1a07[_0x210c51(0x49d)](_0x478ea8);if(!_0x3fa217)return;_0x196d12[_0x210c51(0x1b1)]={..._0x2a1a07[_0x210c51(0x2b9)](_0x3fa217),'tableFieldId':_0x478ea8,'pivotTableId':_0x39bd98[_0x210c51(0x397)],'filterInfo':_0x2a1a07[_0x210c51(0x1d9)](_0x478ea8),'sortInfo':_0x2a1a07[_0x210c51(0x1ee)](_0x478ea8),'format':_0x2a1a07[_0x210c51(0x34d)](_0x478ea8)};}else{const _0x209035=_0x364f39(_0x302372,_0x30b959,_0x565c1b,_0x2a1a07,_0x4c48e6),_0x781d77=_0x209035==null?void 0x0:_0x209035[_0x210c51(0x48f)];if(!_0x781d77)return;const _0x2ac158=_0x2a1a07[_0x210c51(0x49d)](_0x781d77);if(!_0x2ac158)return;_0x196d12[_0x210c51(0x1b1)]={..._0x2a1a07['getDataFieldItemInfo'](_0x2ac158),'tableFieldId':_0x781d77,'pivotTableId':_0x39bd98[_0x210c51(0x397)],'filterInfo':_0x2a1a07['getFilterInfo'](_0x781d77),'sortInfo':_0x2a1a07[_0x210c51(0x1ee)](_0x781d77),'format':_0x2a1a07['getFieldFormat'](_0x781d77)};}}break;case _0x3960fe[_0x210c51(0x1cf)]:{const _0x1131dc=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x1b5)];if(!_0x1131dc)return;const {pivotTableId:_0x38d4cf}=_0x1131dc,_0x4087de=this[_0x210c51(0x1a4)]['getPivotTableInstance'](_0x38d4cf);if(!_0x4087de)return;const _0x3d0e20=this[_0x210c51(0x1a4)]['getPivotTableConfig'](_0x39c9a5,_0x397b2b,_0x38d4cf),_0x595ad1=_0x2d807b(_0x4087de,_0x38d4cf,_0x3d0e20);_0x196d12[_0x210c51(0x1b5)]=_0x595ad1;}break;case _0x3960fe[_0x210c51(0x28c)]:{const _0x460713=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x5759a6),_0x296b57=this[_0x210c51(0x1a4)][_0x210c51(0x39c)](_0x39c9a5),_0x58ed6a=_0x296b57[_0x210c51(0x1b8)](_0x5759a6);let _0x17d5dc=null;const _0x32af76=this['_sheetsPivotDataSourceModel'][_0x210c51(0x3b3)](_0x39c9a5,_0x397b2b,_0x5759a6),_0x576d12=_0x39bd98['params']['addPivotField'];if(!_0x460713||!_0x32af76||!_0x576d12)return!0x1;const {dataFieldId:_0x38a8c1,fieldArea:_0x5dc491,index:_0xa0bc69}=_0x576d12;_0x460713[_0x210c51(0x2a4)]();const _0x19585b=_0x460713['addFieldWithSourceId'](_0x38a8c1,_0x5dc491,_0xa0bc69);if(_0x19585b&&_0x5dc491===_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x49b)]){const _0x449ec0=_0x19585b[_0x210c51(0x37b)](),_0x4b010b=_0x460713['getDataFieldByTableId'](_0x449ec0);if(_0x4b010b){const _0x1d9c5c=_0x4b010b==null?void 0x0:_0x4b010b[_0x210c51(0x282)]();_0x460713['setSubtotalType'](_0x19585b[_0x210c51(0x37b)](),_0x1d9c5c===_0x29e939['PivotDataFieldDataTypeEnum']['number']?_0x29e939[_0x210c51(0x492)][_0x210c51(0x365)]:_0x29e939[_0x210c51(0x492)]['count']);}const _0x465d8c=_0x460713[_0x210c51(0x2eb)](),_0x4432c1=_0x460713['getValuePosition'](),_0x31df1=_0x460713['getFieldCountByArea'](_0x29e939[_0x210c51(0x242)][_0x210c51(0x49b)]);if(_0x465d8c===-0x1&&_0x31df1>0x1){const _0x36a906=_0x4432c1===_0x29e939[_0x210c51(0x422)][_0x210c51(0x1cd)]?_0x29e939[_0x210c51(0x422)][_0x210c51(0x35c)]:_0x4432c1,_0x406dcd=_0x36a906===_0x29e939[_0x210c51(0x422)][_0x210c51(0x4b7)]?_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x4b7)]:_0x29e939[_0x210c51(0x242)][_0x210c51(0x35c)];_0x460713[_0x210c51(0x252)](_0x36a906,_0x460713[_0x210c51(0x1c5)](_0x406dcd));}}else{if(_0x19585b&&(_0x5dc491===_0x29e939[_0x210c51(0x242)][_0x210c51(0x4b7)]||_0x5dc491===_0x29e939[_0x210c51(0x242)][_0x210c51(0x35c)])){const _0x4ed7cb=_0x19585b[_0x210c51(0x37b)](),_0x4d4061=_0x460713['getDataFieldByTableId'](_0x4ed7cb);if(_0x4d4061&&(_0x4d4061==null?void 0x0:_0x4d4061['getFieldDataType']())===_0x29e939['PivotDataFieldDataTypeEnum'][_0x210c51(0x3e0)]){const _0x19e6c5=_0x4d4061[_0x210c51(0x3bd)]();if(_0x19e6c5&&_0x460713[_0x210c51(0x449)](_0x19585b['getId'](),_0x19e6c5),!_0x58ed6a[_0x210c51(0x468)]()['some'](_0x282ad8=>{const _0x335f06=_0x210c51,_0x4868fd=_0x58ed6a[_0x335f06(0x34a)](_0x282ad8);return _0x29e939[_0x335f06(0x1bb)](_0x4868fd)?_0x4868fd[_0x335f06(0x21d)]()[_0x335f06(0x3ef)]===_0x38a8c1:!0x1;})){const _0x1cadbc=_0x296b57['createDataFieldId'](),_0x39b980=_0x1aa4bc(_0x4d4061[_0x210c51(0x1bd)],_0x4d4061[_0x210c51(0x39e)]),_0x5073e4=_0x4d4061['getName']()+_0x210c51(0x4a5)+_0x338679(this['_injector'],_0x39b980),_0x12ba8d=new _0x29e939[(_0x210c51(0x3a3))](_0x1cadbc,_0x5073e4,_0x29e939[_0x210c51(0x455)](0x3),_0x4d4061[_0x210c51(0x37b)](),_0x39b980);_0x296b57[_0x210c51(0x4a1)](_0x12ba8d),_0x58ed6a['addField'](_0x1cadbc,_0x5073e4),_0x460713[_0x210c51(0x207)](_0x1cadbc,_0x5dc491,(_0xa0bc69!=null?_0xa0bc69:0x0)+0x1),_0x17d5dc=_0x12ba8d;}}}}const _0x2b5a86=_0x460713[_0x210c51(0x3a8)](),_0x21105f=_0x460713[_0x210c51(0x416)]()[_0x210c51(0x1f9)]();let _0xcd839c;if(_0x17d5dc){_0xcd839c=_0x17d5dc['toJSON']();const _0x3ca511=_0x17d5dc[_0x210c51(0x37b)]();_0x58ed6a[_0x210c51(0x3e4)](_0x3ca511);let _0x25f2d9=!0x0;for(const _0xf107a4 in _0x296b57[_0x210c51(0x484)])if(_0x296b57[_0x210c51(0x484)][_0xf107a4][_0x210c51(0x468)]()['includes'](_0x3ca511)){_0x25f2d9=!0x1;break;}_0x25f2d9&&_0x296b57['deleteDataField'](_0x3ca511);}const _0x18e186=_0x460713[_0x210c51(0x48b)]();_0x196d12['addPivotField']={'view':_0x21105f,'changesets':_0x18e186,'isEmpty':_0x2b5a86,'pivotTableConfig':_0x32af76,'shouldBeAddedGroupJSON':_0xcd839c};}break;case _0x3960fe[_0x210c51(0x256)]:{const _0x4f25f6=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x2ce)];if(!_0x4f25f6)return;const _0x193052=_0x4f25f6[_0x210c51(0x2c4)],_0x5deaef=_0x4f25f6[_0x210c51(0x397)],{collection:_0x31159d}=this[_0x210c51(0x1a4)]['createCollectionWithDataRange']({'unitId':_0x193052[_0x210c51(0x345)],'sheetName':_0x193052[_0x210c51(0x404)],'subUnitId':_0x193052['subUnitId'],'range':_0x193052['range']}),_0x5b16af=new _0x29e939[(_0x210c51(0x21f))](_0x31159d,void 0x0,_0x5deaef),_0x4c3bd1=_0x5b16af[_0x210c51(0x416)](),_0x306e8d=_0x5b16af[_0x210c51(0x1f9)](),_0x1fca56=_0x31159d[_0x210c51(0x1f9)]();_0x196d12[_0x210c51(0x2ce)]={'view':_0x4c3bd1,'fieldsConfig':_0x306e8d,'collectionConfig':_0x1fca56,'isEmpty':_0x5b16af['isEmpty']()};}break;case _0x3960fe[_0x210c51(0x487)]:{const _0x2f82b2=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x427)];if(!_0x2f82b2)return;const {fieldId:_0x4261f0,area:_0x4d0935,index:_0x32eba0}=_0x2f82b2,_0x3b00aa=this['_sheetsPivotDataSourceModel'][_0x210c51(0x3b3)](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x3b00aa)return;const _0x1bc721=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x5759a6);if(!_0x1bc721)return;_0x1bc721[_0x210c51(0x2a4)]();const {area:_0xcd31c6,index:_0x2754d9}=_0x1bc721[_0x210c51(0x26e)](_0x4261f0);if(_0x1bc721[_0x210c51(0x3e7)](_0x4261f0,_0x4d0935,_0x32eba0),_0x4d0935===_0x29e939[_0x210c51(0x242)][_0x210c51(0x49b)]&&_0x1bc721[_0x210c51(0x2d9)](_0x4261f0)[_0x210c51(0x1fa)]()===void 0x0){const _0x3d336e=_0x1bc721[_0x210c51(0x2d9)](_0x4261f0);if(_0x3d336e&&_0x3d336e['getSubtotal']()===void 0x0){const _0x538fc9=_0x1bc721['getDataFieldByTableId'](_0x4261f0);if(_0x538fc9){const _0x2dfebd=_0x538fc9==null?void 0x0:_0x538fc9[_0x210c51(0x282)]();_0x1bc721[_0x210c51(0x2b6)](_0x4261f0,_0x2dfebd===_0x29e939[_0x210c51(0x231)]['number']?_0x29e939['PivotSubtotalTypeEnum']['sum']:_0x29e939[_0x210c51(0x492)][_0x210c51(0x32d)]);}}}const _0x3db270=_0x1bc721[_0x210c51(0x2f6)](),_0x552b42=_0x1bc721[_0x210c51(0x2eb)](),_0x5c59e6=_0x1bc721[_0x210c51(0x1c5)](_0x29e939[_0x210c51(0x242)][_0x210c51(0x49b)])>0x1;if(_0x5c59e6&&_0xcd31c6===_0x4d0935&&(_0x4d0935===_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x4b7)]&&_0x3db270===_0x29e939[_0x210c51(0x422)][_0x210c51(0x4b7)]||_0x4d0935===_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x35c)]&&_0x3db270===_0x29e939['PivotTableValuePositionEnum'][_0x210c51(0x35c)])){let _0x2abd45=_0x552b42;_0x2754d9<=_0x552b42&&_0x2abd45--,_0x32eba0<=_0x552b42&&_0x2abd45++,_0x1bc721[_0x210c51(0x252)](_0x3db270,_0x2abd45);}else _0x5c59e6&&(_0xcd31c6===_0x29e939[_0x210c51(0x242)][_0x210c51(0x4b7)]&&_0x3db270===_0x29e939['PivotTableValuePositionEnum'][_0x210c51(0x4b7)]||_0xcd31c6===_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x35c)]&&_0x3db270===_0x29e939['PivotTableValuePositionEnum'][_0x210c51(0x35c)])&&_0x552b42>=_0x2754d9&&_0x1bc721[_0x210c51(0x252)](_0x3db270,_0x552b42-0x1),_0x5c59e6&&(_0x4d0935===_0x29e939[_0x210c51(0x242)][_0x210c51(0x4b7)]&&_0x3db270===_0x29e939[_0x210c51(0x422)][_0x210c51(0x4b7)]||_0x4d0935===_0x29e939[_0x210c51(0x242)]['Column']&&_0x3db270===_0x29e939['PivotTableValuePositionEnum'][_0x210c51(0x35c)])&&_0x552b42>=_0x32eba0&&_0x1bc721['updateValuePosition'](_0x3db270,_0x552b42+0x1);const _0x1d317d=_0x1bc721[_0x210c51(0x416)](),_0x4f18e0=_0x1bc721[_0x210c51(0x3a8)](),_0x2d7173=_0x1bc721[_0x210c51(0x48b)]();_0x196d12[_0x210c51(0x427)]={'view':_0x1d317d[_0x210c51(0x1f9)](),'changesets':_0x2d7173,'isEmpty':_0x4f18e0,'pivotTableConfig':_0x3b00aa};}break;case _0x3960fe[_0x210c51(0x3ed)]:{const _0x154080=_0x39bd98['params']['removePivotField'];if(!_0x154080)return;const _0x288a50=_0x154080[_0x210c51(0x45c)],_0x166eaa=this[_0x210c51(0x1a4)]['getPivotTableConfig'](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x166eaa)return!0x1;const _0x57f461=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x5759a6);if(!_0x57f461)return!0x1;_0x57f461[_0x210c51(0x2a4)]();for(const _0x22d01a of _0x288a50){const {area:_0x331ae5}=_0x57f461['getFieldPositionInfoById'](_0x22d01a);_0x331ae5===_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x49b)]&&_0x57f461[_0x210c51(0x1e5)](_0x22d01a),(_0x331ae5===_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x4b7)]||_0x331ae5===_0x29e939['PivotTableFiledAreaEnum'][_0x210c51(0x35c)])&&_0x57f461[_0x210c51(0x1f8)](_0x22d01a),_0x57f461[_0x210c51(0x211)](_0x22d01a);}const _0x567d9b=_0x57f461[_0x210c51(0x3a8)](),_0x2fdb51=_0x57f461[_0x210c51(0x416)]()['toJSON'](),_0x4a86d3=_0x57f461[_0x210c51(0x48b)]();_0x196d12['removePivotField']={'changesets':_0x4a86d3,'pivotTableConfig':_0x166eaa,'isEmpty':_0x567d9b,'view':_0x2fdb51};}break;case _0x3960fe[_0x210c51(0x467)]:{const _0x9ef759=_0x39bd98['params'][_0x210c51(0x2f1)];if(!_0x9ef759)return;const {tableFieldId:_0x5b5481,items:_0x162f09,isAll:_0x2f6e68}=_0x9ef759,_0x50742a=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x5759a6),_0x187f10=this[_0x210c51(0x1a4)][_0x210c51(0x3b3)](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x50742a||!_0x187f10)return;_0x50742a['startCollectChangeset'](),_0x50742a[_0x210c51(0x47e)](_0x5b5481,{'type':_0x29e939[_0x210c51(0x280)][_0x210c51(0x41f)],'list':_0x162f09,'isAll':_0x2f6e68});const _0x5c5f7e=_0x50742a[_0x210c51(0x3a8)](),_0x979517=_0x50742a[_0x210c51(0x416)]()[_0x210c51(0x1f9)](),_0x12abe7=_0x50742a[_0x210c51(0x48b)]();_0x196d12[_0x210c51(0x2f1)]={'view':_0x979517,'changesets':_0x12abe7,'isEmpty':_0x5c5f7e,'pivotTableConfig':_0x187f10};}break;case _0x3960fe[_0x210c51(0x3bf)]:{const _0x5c880b=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x278)];if(!_0x5c880b)return;const {tableFieldId:_0x58b485,filterInfo:_0x2099ab}=_0x5c880b,_0x398766=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x5759a6),_0x510bf3=this[_0x210c51(0x1a4)]['getPivotTableConfig'](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x398766||!_0x510bf3)return;_0x398766[_0x210c51(0x2a4)](),_0x398766[_0x210c51(0x1a2)](_0x58b485,_0x2099ab);const _0x4c8db6=_0x398766[_0x210c51(0x3a8)](),_0x2b15af=_0x398766[_0x210c51(0x416)]()['toJSON'](),_0x34bfa1=_0x398766[_0x210c51(0x48b)]();_0x196d12[_0x210c51(0x278)]={'view':_0x2b15af,'changesets':_0x34bfa1,'isEmpty':_0x4c8db6,'pivotTableConfig':_0x510bf3};}break;case _0x3960fe['SetPivotSort']:{const _0x33cf3e=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x1b0)];if(!_0x33cf3e)return;const {tableFieldId:_0x3b7578,info:_0x540dca}=_0x33cf3e,_0x24bb00=this[_0x210c51(0x1a4)]['getPivotTableInstance'](_0x5759a6),_0x51e8ad=this['_sheetsPivotDataSourceModel'][_0x210c51(0x3b3)](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x24bb00||!_0x51e8ad)return;_0x24bb00[_0x210c51(0x2a4)](),_0x24bb00['setSortInfo'](_0x3b7578,_0x540dca);const _0xef4d1e=_0x24bb00[_0x210c51(0x3a8)](),_0x36f1cb=_0x24bb00['query']()[_0x210c51(0x1f9)](),_0x377f72=_0x24bb00['endCollectChangeset']();_0x196d12[_0x210c51(0x1b0)]={'view':_0x36f1cb,'changesets':_0x377f72,'isEmpty':_0xef4d1e,'pivotTableConfig':_0x51e8ad};}break;case _0x3960fe[_0x210c51(0x2b3)]:{const _0x370c22=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x1d6)];if(!_0x370c22)return;const {tableFieldId:_0x501a0a,displayName:_0x3e6834,subtotalType:_0x3066be,format:_0x1b6863}=_0x370c22,_0x368f14=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x5759a6),_0x3f4a97=this[_0x210c51(0x1a4)][_0x210c51(0x3b3)](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x368f14||!_0x3f4a97)return;_0x368f14[_0x210c51(0x2a4)](),_0x3e6834!==void 0x0&&_0x368f14[_0x210c51(0x208)](_0x501a0a,_0x3e6834),_0x3066be!==void 0x0&&_0x368f14[_0x210c51(0x2b6)](_0x501a0a,_0x3066be),_0x1b6863!==void 0x0&&_0x368f14[_0x210c51(0x449)](_0x501a0a,_0x1b6863);const _0x4cf43f=_0x368f14['isEmpty'](),_0x488271=_0x368f14[_0x210c51(0x416)]()['toJSON'](),_0x3c14e2=_0x368f14[_0x210c51(0x48b)]();_0x196d12[_0x210c51(0x1d6)]={'changesets':_0x3c14e2,'pivotTableConfig':_0x3f4a97,'isEmpty':_0x4cf43f,'view':_0x488271};}break;case _0x3960fe['UpdatePivotSource']:{const _0x3b3bb1=_0x39bd98[_0x210c51(0x39f)]['updatePivotSource'];if(!_0x3b3bb1)return;const {dataRangeInfo:_0x4bed44,unitId:_0x5eec18,subUnitId:_0x2ffdb2}=_0x3b3bb1,_0xb1d19b=this[_0x210c51(0x1a4)][_0x210c51(0x3b3)](_0x5eec18,_0x2ffdb2,_0x5759a6),_0x4ff792=this['_sheetsPivotDataSourceModel'][_0x210c51(0x3ea)](_0x5759a6);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x5eec18,_0x5759a6)||!_0x4ff792||!_0xb1d19b)return;const _0x41d989=this[_0x210c51(0x1a4)][_0x210c51(0x317)](_0x5eec18,_0x5759a6,_0x4bed44),_0x2e2ba3=this[_0x210c51(0x1a4)][_0x210c51(0x1b8)](_0x5eec18,_0x5759a6)[_0x210c51(0x1f9)](),{collection:_0x77bb81}=this['_sheetsPivotDataSourceModel'][_0x210c51(0x24e)]({'unitId':_0x4bed44[_0x210c51(0x345)],'sheetName':_0x4bed44['sheetName'],'subUnitId':_0x4bed44['subUnitId'],'range':_0x4bed44[_0x210c51(0x486)]}),_0x444ce2=_0x77bb81[_0x210c51(0x1f9)]();_0x4ff792[_0x210c51(0x2a4)]();const _0x5f2b60=this[_0x210c51(0x1a4)][_0x210c51(0x39c)](_0x5eec18)['getAutoDisplayNameFunction']()||_0x29e939['getAutoDisplayName'];_0x4ff792[_0x210c51(0x291)](_0x24ac9e=>{const _0x5addc2=_0x210c51,_0x39019e=_0x24ac9e[_0x5addc2(0x47f)]();if(!_0x77bb81[_0x5addc2(0x388)](_0x39019e)){const _0xd70821=_0x77bb81[_0x5addc2(0x3c3)](_0x24ac9e[_0x5addc2(0x268)]());if(_0xd70821){_0x4ff792['updateFieldSourceInfo'](_0x24ac9e[_0x5addc2(0x37b)](),_0xd70821[_0x5addc2(0x413)](),_0xd70821[_0x5addc2(0x37b)]());const {area:_0x2e3649}=_0x4ff792[_0x5addc2(0x26e)](_0x24ac9e[_0x5addc2(0x37b)]());let _0x482822=_0x24ac9e['getSourceName']();const _0x16b174=_0x24ac9e['getDisplayName']();if(_0x2e3649===_0x29e939[_0x5addc2(0x242)][_0x5addc2(0x49b)]){const _0x326e88=_0x24ac9e['getSubtotal']();_0x482822=_0x5f2b60(_0xd70821[_0x5addc2(0x413)](),_0x326e88);}_0x16b174!==_0x482822&&_0x4ff792[_0x5addc2(0x208)](_0x24ac9e[_0x5addc2(0x37b)](),_0x482822);}else _0x4ff792['removeField'](_0x24ac9e[_0x5addc2(0x37b)]());}});const _0x50e1b5=_0x4ff792[_0x210c51(0x3a8)](),_0x349614=_0x4ff792['query']()[_0x210c51(0x1f9)](),_0x99bec7=_0x4ff792[_0x210c51(0x48b)]();_0x196d12['updatePivotSource']={'view':_0x349614,'changesets':_0x99bec7,'isEmpty':_0x50e1b5,'pivotTableConfig':_0xb1d19b,'collectionConfig':_0x444ce2,'oldCollectionConfig':_0x2e2ba3,'deleteIds':_0x41d989};}break;case _0x3960fe[_0x210c51(0x499)]:{const _0x44363c=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x252)];if(!_0x44363c)return;const {position:_0x3a1cd6,index:_0x455fb4}=_0x44363c,_0x34a203=this[_0x210c51(0x1a4)][_0x210c51(0x3b3)](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x34a203)return!0x1;const _0x234370=this['_sheetsPivotDataSourceModel'][_0x210c51(0x3ea)](_0x5759a6);if(!_0x234370)return!0x1;_0x234370['startCollectChangeset'](),_0x234370[_0x210c51(0x252)](_0x3a1cd6,_0x455fb4);const _0xa76ec=_0x234370[_0x210c51(0x3a8)](),_0x4cafb0=_0x234370[_0x210c51(0x416)]()[_0x210c51(0x1f9)](),_0x430250=_0x234370[_0x210c51(0x48b)]();_0x196d12['updateValuePosition']={'changesets':_0x430250,'pivotTableConfig':_0x34a203,'isEmpty':_0xa76ec,'view':_0x4cafb0};}break;case _0x3960fe[_0x210c51(0x213)]:{const _0x2b956e=_0x39bd98['params'][_0x210c51(0x2ec)];if(!_0x2b956e)return;const {tableFieldId:_0x3d423a,collapse:_0x1042c5,item:_0x34e9f3}=_0x2b956e,_0x254996=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x5759a6),_0x3f6d1e=this[_0x210c51(0x1a4)][_0x210c51(0x3b3)](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x254996||!_0x3f6d1e)return;_0x254996['startCollectChangeset'](),_0x254996[_0x210c51(0x332)](_0x3d423a,_0x1042c5,_0x34e9f3);const _0x3c2cee=_0x254996[_0x210c51(0x3a8)](),_0x32057d=_0x254996['query']()[_0x210c51(0x1f9)](),_0xe25234=_0x254996[_0x210c51(0x48b)]();_0x196d12[_0x210c51(0x2ec)]={'view':_0x32057d,'isEmpty':_0x3c2cee,'pivotTableConfig':_0x3f6d1e,'changesets':_0xe25234};}break;case _0x3960fe[_0x210c51(0x1e1)]:{const _0x179ca5=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x2b5)];if(!_0x179ca5)return;const {pivotTableConfig:_0x388cd3}=_0x179ca5,_0x583643=this[_0x210c51(0x1a4)]['getPivotTableInstance'](_0x5759a6),_0x279c43=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x583643||!_0x279c43)return;_0x583643[_0x210c51(0x2a4)](),_0x4a3864(_0x583643,_0x388cd3);const _0x1e734e=_0x583643[_0x210c51(0x3a8)](),_0x19eb68=_0x583643[_0x210c51(0x416)]()['toJSON'](),_0x48bebb=_0x583643[_0x210c51(0x48b)]();_0x196d12[_0x210c51(0x2b5)]={'view':_0x19eb68,'isEmpty':_0x1e734e,'pivotTableConfig':{..._0x279c43,'fieldsConfig':_0x583643[_0x210c51(0x1f9)]()},'changesets':_0x48bebb};}break;case _0x3960fe[_0x210c51(0x33d)]:{const _0x309d80=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x253)];if(!_0x309d80)return;const _0x398a1d=this[_0x210c51(0x1a4)][_0x210c51(0x3ea)](_0x5759a6),_0x3f6548=this[_0x210c51(0x1a4)]['getPivotTableConfig'](_0x39c9a5,_0x397b2b,_0x5759a6);if(!_0x398a1d||!_0x3f6548)return;_0x398a1d[_0x210c51(0x2a4)](),_0x1fb200(_0x398a1d,_0x309d80['resetArea']);const _0x546c8a=_0x398a1d[_0x210c51(0x416)]()[_0x210c51(0x1f9)](),_0xf27541=_0x398a1d[_0x210c51(0x48b)]();_0x196d12['resetPivotTable']={'view':_0x546c8a,'isEmpty':!0x0,'pivotTableConfig':{..._0x3f6548,'fieldsConfig':_0x398a1d['toJSON']()},'changesets':_0xf27541};}break;case _0x3960fe['AddPivotTableWithConfig']:{const _0x229c56=_0x39bd98[_0x210c51(0x39f)][_0x210c51(0x215)];if(!_0x229c56)return;const _0x444d4a=_0x229c56[_0x210c51(0x2c4)],_0x497538=_0x229c56[_0x210c51(0x397)],{collection:_0x282e22}=this[_0x210c51(0x1a4)][_0x210c51(0x24e)]({'unitId':_0x444d4a[_0x210c51(0x345)],'sheetName':_0x444d4a[_0x210c51(0x404)],'subUnitId':_0x444d4a['subUnitId'],'range':_0x444d4a[_0x210c51(0x486)]}),_0x2959cb=new _0x29e939[(_0x210c51(0x21f))](_0x282e22,void 0x0,_0x497538),_0x57dd36=_0x282e22['getFieldIds'](),{rows:_0x17083b,columns:_0x1cfe43,filters:_0x26d346,values:_0x1f0ddc}=_0x229c56['pivotTableIndexConfig'];_0x2959cb[_0x210c51(0x2a4)]();for(const {field:_0x3011ef,selectedItems:_0x4de8e6}of _0x17083b||[]){const _0xc560d=_0x57dd36[_0x3011ef];if(_0xc560d){const _0x151892=_0x2959cb[_0x210c51(0x207)](_0xc560d,_0x29e939[_0x210c51(0x242)][_0x210c51(0x4b7)]);_0x4de8e6&&_0x151892&&_0x2959cb[_0x210c51(0x47e)](_0x151892[_0x210c51(0x37b)](),{'type':_0x29e939[_0x210c51(0x280)][_0x210c51(0x41f)],'list':_0x4de8e6,'isAll':!0x1});}}for(const {field:_0x2a1d89,selectedItems:_0x11abd5}of _0x1cfe43||[]){const _0xb9e6cf=_0x57dd36[_0x2a1d89];if(_0xb9e6cf){const _0x2bda93=_0x2959cb['addFieldWithSourceId'](_0xb9e6cf,_0x29e939[_0x210c51(0x242)][_0x210c51(0x35c)]);_0x11abd5&&_0x2bda93&&_0x2959cb['setLabelFilterInfo'](_0x2bda93['getId'](),{'type':_0x29e939[_0x210c51(0x280)][_0x210c51(0x41f)],'list':_0x11abd5,'isAll':!0x1});}}for(const {field:_0x3bc1cb,selectedItems:_0x33713f}of _0x26d346||[]){const _0x42fb87=_0x57dd36[_0x3bc1cb];if(_0x42fb87){const _0x4573ba=_0x2959cb[_0x210c51(0x207)](_0x42fb87,_0x29e939[_0x210c51(0x242)][_0x210c51(0x2fa)]);_0x33713f&&_0x4573ba&&_0x2959cb[_0x210c51(0x47e)](_0x4573ba['getId'](),{'type':_0x29e939[_0x210c51(0x280)][_0x210c51(0x41f)],'list':_0x33713f,'isAll':!0x1});}}for(const {field:_0xc1418f,subTotalType:_0x32a6a9,formatString:_0x38dc01}of _0x1f0ddc||[]){const _0xb4b8da=_0x282e22[_0x210c51(0x34a)](_0x57dd36[_0xc1418f]);if(!_0xb4b8da)continue;const _0x574e67=_0x57dd36[_0xc1418f];if(_0x574e67){const _0x9ad573=_0x2959cb[_0x210c51(0x207)](_0x574e67,_0x29e939[_0x210c51(0x242)]['Value']);if(_0x9ad573){if(_0x32a6a9!==void 0x0){_0x2959cb[_0x210c51(0x2b6)](_0x9ad573[_0x210c51(0x37b)](),_0x32a6a9);const _0x2fc425=this[_0x210c51(0x1a4)][_0x210c51(0x39c)](_0x444d4a[_0x210c51(0x345)])['getAutoDisplayNameFunction']()||_0x29e939[_0x210c51(0x31c)],_0x285e2a=_0x282e22['getDisplayName'](_0x574e67),_0x31c875=_0x2fc425(_0x285e2a,_0x32a6a9);_0x2959cb[_0x210c51(0x208)](_0x9ad573['getId'](),_0x31c875);}else{if(_0xb4b8da){const _0x5331f7=_0xb4b8da==null?void 0x0:_0xb4b8da['getFieldDataType']();_0x2959cb[_0x210c51(0x2b6)](_0x9ad573[_0x210c51(0x37b)](),_0x5331f7===_0x29e939[_0x210c51(0x231)][_0x210c51(0x354)]?_0x29e939[_0x210c51(0x492)][_0x210c51(0x365)]:_0x29e939[_0x210c51(0x492)][_0x210c51(0x32d)]);}}_0x38dc01&&_0x2959cb[_0x210c51(0x449)](_0x9ad573[_0x210c51(0x37b)](),_0x38dc01);}}}const _0x1f1a31=_0x2959cb[_0x210c51(0x416)](),_0x50fc1e=_0x2959cb['toJSON'](),_0x3d8059=_0x2959cb[_0x210c51(0x3a8)](),_0x52ea94=_0x2959cb[_0x210c51(0x48b)](),_0x3266af=_0x282e22[_0x210c51(0x1f9)]();_0x196d12[_0x210c51(0x215)]={'view':_0x1f1a31,'fieldsConfig':_0x50fc1e,'collectionConfig':_0x3266af,'isEmpty':_0x3d8059,'changesets':_0x52ea94};}break;case _0x3960fe['DrillDown']:{const _0xa48073=_0x556b11(this[_0x210c51(0x433)],_0x39bd98);if(!_0xa48073)return;const {range:_0xe2091f,sourceSubUnitId:_0x526a4f,sourceUnitId:_0x98c30e,formatMap:_0xca6452,indexes:_0x54508d}=_0xa48073;_0x196d12['drillDown']={'range':_0xe2091f,'sourceSubUnitId':_0x526a4f,'sourceUnitId':_0x98c30e,'formatMap':_0xca6452,'indexes':_0x54508d};}break;}this[_0x210c51(0x408)][_0x210c51(0x29b)](_0x17b29b['id'],{'version':_0x39bd98[_0x210c51(0x4ab)],'result':_0x196d12},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x642b11=_0x4a26b1;this[_0x642b11(0x3d9)](this[_0x642b11(0x408)][_0x642b11(0x1fc)](_0x2555c4=>{const _0x1388cd=_0x642b11;if(_0x2555c4['id']!==_0x30eef1['id'])return;const _0x9acae3=_0x2555c4[_0x1388cd(0x39f)];return this[_0x1388cd(0x1a4)][_0x1388cd(0x46c)](_0x9acae3[_0x1388cd(0x35d)]),!0x0;}));}[_0x4a26b1(0x387)](){const _0x282caa=_0x4a26b1;this[_0x282caa(0x1a4)][_0x282caa(0x3c6)][_0x282caa(0x1b6)](_0x1dadef=>{const _0x1fa8e2=_0x282caa;switch(_0x1dadef[_0x1fa8e2(0x45d)]){case _0xfb6bb[_0x1fa8e2(0x24a)]:_0x1dadef[_0x1fa8e2(0x2f4)]&&_0x1dadef[_0x1fa8e2(0x36c)]&&this[_0x1fa8e2(0x2bf)](_0x1dadef[_0x1fa8e2(0x346)],_0x1dadef[_0x1fa8e2(0x2f4)],_0x1dadef[_0x1fa8e2(0x36c)]);break;case _0xfb6bb[_0x1fa8e2(0x19a)]:{const {unitId:_0xb5024f,subUnitId:_0xc6b6a1,token:_0x22c444}=_0x1dadef;_0xb5024f&&_0xc6b6a1&&_0x22c444&&this[_0x1fa8e2(0x4b2)](_0xb5024f,_0xc6b6a1,_0x22c444);}break;case _0xfb6bb[_0x1fa8e2(0x334)]:{const {token:_0x21ce58,oldSourceRangeInfo:_0x4b6529,dataRangeInfo:_0x19aeff,targetCellInfo:_0x1345b6}=_0x1dadef,{unitId:_0x13dc66,subUnitId:_0x3966fc}=_0x4b6529||{};_0x13dc66&&_0x3966fc&&_0x21ce58&&this['removeSourceRangeChange'](_0x13dc66,_0x3966fc,_0x21ce58),_0x19aeff&&_0x1345b6&&this[_0x1fa8e2(0x2bf)](_0x21ce58,_0x19aeff,_0x1345b6);}break;}});}[_0x4a26b1(0x340)](){const _0x4c24c0=_0x4a26b1;this[_0x4c24c0(0x1a4)][_0x4c24c0(0x40e)]['subscribe'](_0x4ca257=>{const _0x5f3002=_0x4c24c0;Object[_0x5f3002(0x41d)](_0x4ca257)['forEach'](_0x21888a=>{const _0xbb973=_0x5f3002,_0x5adbe8=this[_0xbb973(0x1a4)][_0xbb973(0x294)](_0x21888a);if(_0x5adbe8){const _0x19b98e=this['_sheetsPivotDataSourceModel'][_0xbb973(0x3b3)](_0x5adbe8==null?void 0x0:_0x5adbe8[_0xbb973(0x345)],_0x5adbe8==null?void 0x0:_0x5adbe8['subUnitId'],_0x21888a);_0x19b98e&&(this[_0xbb973(0x2bf)](_0x21888a,_0x19b98e[_0xbb973(0x2c4)],_0x19b98e[_0xbb973(0x36c)]),this[_0xbb973(0x31d)]([{'unitId':_0x5adbe8[_0xbb973(0x345)],'subUnitId':_0x5adbe8[_0xbb973(0x328)],'token':_0x21888a}]));}});});}[_0x4a26b1(0x2bc)](){const _0x41547d=_0x4a26b1;this['_sheetsPivotDataSourceModel'][_0x41547d(0x19b)][_0x41547d(0x1b6)](_0x5c7c77=>{const {unitId:_0x30568,subUnitId:_0x7a62ab,pivotTableId:_0x50293c}=_0x5c7c77;_0x30568&&_0x7a62ab&&_0x50293c&&this['triggerDirtyFeature']([{'unitId':_0x30568,'subUnitId':_0x7a62ab,'token':_0x50293c}]);});}[_0x4a26b1(0x31d)](_0x5cd242){const _0x295edc=_0x4a26b1,_0x51a176={};_0x5cd242[_0x295edc(0x1cc)](_0x5c7d70=>{var _0x11414a,_0x473073;const {unitId:_0x22663a,subUnitId:_0x3cbcaa,token:_0xc30d69}=_0x5c7d70;_0x51a176[_0x22663a]=(_0x11414a=_0x51a176[_0x22663a])!=null?_0x11414a:{},_0x51a176[_0x22663a][_0x3cbcaa]=(_0x473073=_0x51a176[_0x22663a][_0x3cbcaa])!=null?_0x473073:{},_0x51a176[_0x22663a][_0x3cbcaa][_0xc30d69]=!0x0;}),this[_0x295edc(0x408)][_0x295edc(0x29b)](_0x326029['id'],_0x51a176);}[_0x4a26b1(0x4b2)](_0x258477,_0x37dbc4,_0x5f1b4e){const _0x5bc415=_0x4a26b1;this[_0x5bc415(0x232)]['remove'](_0x258477,_0x37dbc4,[_0x5f1b4e]);}[_0x4a26b1(0x2bf)](_0x20b974,_0x19816e,_0x325384){const _0xcb03fb=_0x4a26b1,{unitId:_0x56f0a8,subUnitId:_0x5f33b7}=_0x19816e;this[_0xcb03fb(0x232)][_0xcb03fb(0x308)](_0x325384['unitId'],_0x325384['subUnitId'],_0x20b974)&&this[_0xcb03fb(0x4b2)](_0x56f0a8,_0x5f33b7,_0x20b974);const _0x5576a4={'sheetId':_0x5f33b7,..._0x19816e};this[_0xcb03fb(0x232)][_0xcb03fb(0x496)](_0x325384[_0xcb03fb(0x345)],_0x325384['subUnitId'],_0x20b974,{'unitId':_0x325384[_0xcb03fb(0x345)],'subUnitId':_0x325384[_0xcb03fb(0x328)],'dependencyRanges':[_0x5576a4],'getDirtyData':(_0x2d3137,_0x18e376)=>{const _0x345ea5=_0xcb03fb,_0x377317=this[_0x345ea5(0x1a4)],_0xdb282d=_0x377317[_0x345ea5(0x294)](_0x20b974);if(!_0xdb282d)return _0x2cf669();const {unitId:_0x93ce51,subUnitId:_0x12adf3}=_0xdb282d,_0x2b4cdc=_0x55281b(_0x2d3137,_0x18e376,_0x19816e);if(_0x2b4cdc[_0x345ea5(0x247)]>0x0){const _0x5e9c54=_0x377317[_0x345ea5(0x1b8)](_0x56f0a8,_0x20b974),_0x53c3a0=_0x5e9c54[_0x345ea5(0x468)](),_0x2e8e3e=this[_0x345ea5(0x235)](_0x19816e[_0x345ea5(0x345)],_0x19816e['subUnitId'],_0x18e376),_0x55ddbf={},_0x1ddcee=this[_0x345ea5(0x1a4)][_0x345ea5(0x39c)](_0x93ce51)['getAutoDisplayNameFunction']()||_0x29e939[_0x345ea5(0x31c)],_0x28d846=[];for(const _0x3b46a7 of _0x2b4cdc){const _0x458568=_0x3b46a7-(_0x19816e[_0x345ea5(0x486)]['startColumn']||0x0),_0x487bb4=_0x53c3a0[_0x458568];_0x28d846[_0x345ea5(0x2e9)](_0x487bb4),_0x55ddbf[_0x487bb4]=_0x5e9c54[_0x345ea5(0x34a)](_0x487bb4)['getName'](),_0x377317[_0x345ea5(0x39c)](_0x56f0a8)[_0x345ea5(0x3f9)](_0x487bb4,_0x19816e,_0x458568,_0x2e8e3e);}_0x5e9c54['getGroupFieldsInfoByIds'](_0x28d846)[_0x345ea5(0x1cc)](_0x3b0f0a=>{const _0x2f34ef=_0x345ea5,[_0x49892d,_0x5e9632]=_0x3b0f0a,_0x2a5d2a=_0x5e9c54[_0x2f34ef(0x34a)](_0x49892d),_0x77a252=_0x5e9c54[_0x2f34ef(0x34a)](_0x5e9632);_0x2a5d2a&&_0x77a252&&_0x2a5d2a['refreshGroupField'](_0x77a252);}),_0x5e9c54['updateAllDisplayName']();const _0x5471b6=_0x377317['getPivotTableInstance'](_0x20b974);if(_0x5471b6){_0x2af556(_0x5471b6,_0x55ddbf,_0x1ddcee),_0x5471b6[_0x345ea5(0x23c)](!0x0);const _0x311eb9=_0x5471b6[_0x345ea5(0x416)](),_0x4c4d30=_0x377317[_0x345ea5(0x3b3)](_0x93ce51,_0x12adf3,_0x20b974),_0x46f2c2=_0x377317[_0x345ea5(0x39c)](_0x56f0a8)[_0x345ea5(0x1f9)]();_0x377317['updateView'](_0x93ce51,_0x12adf3,_0x2804e5['Set'],_0x20b974,_0x311eb9,_0x4c4d30,_0x46f2c2,!0x0);}}return this[_0x345ea5(0x2a7)](_0x93ce51,_0x12adf3,_0x20b974);}});}[_0x4a26b1(0x235)](_0xdf55d4,_0x3c9657,_0x1f5814){var _0x45ad73,_0x2584b1;const {arrayFormulaCellData:_0x35c997,unitData:_0x56bf03}=_0x1f5814,_0x4d7b28=(_0x45ad73=_0x35c997==null?void 0x0:_0x35c997[_0xdf55d4])==null?void 0x0:_0x45ad73[_0x3c9657],_0x4f141d=(_0x2584b1=_0x56bf03==null?void 0x0:_0x56bf03[_0xdf55d4])==null?void 0x0:_0x2584b1[_0x3c9657];return{'arrayFormulaCellDataMatrix':_0x4d7b28,'unitDataMatrix':_0x4f141d};}[_0x4a26b1(0x2a7)](_0x53552f,_0x3ae36e,_0x483cc4){const _0x41e2b3=_0x4a26b1,_0x2c26d5=this[_0x41e2b3(0x1a4)][_0x41e2b3(0x412)](_0x53552f,_0x3ae36e,_0x483cc4),_0x36b529=[],_0x3a2975=new _0x2420fe[(_0x41e2b3(0x4b4))]();if(_0x2c26d5){const {rangeCache:_0x305998,matrix:_0x138a05,oldRangeCache:_0x4d25b4,oldMatrix:_0x24bbfb}=_0x2c26d5,_0x46d4f5=_0x2fd6ff(_0x4d25b4),_0x49b7b3=_0x2fd6ff(_0x305998);_0x36b529[_0x41e2b3(0x2e9)](..._0x49b7b3,..._0x46d4f5),_0x24bbfb&&_0x4d25b4&&_0x46d4f5[_0x41e2b3(0x1cc)](_0x14c12f=>{const _0x3f0271=_0x41e2b3;for(let _0x3bc5da=_0x14c12f[_0x3f0271(0x1e0)];_0x3bc5da<=_0x14c12f[_0x3f0271(0x1f6)];_0x3bc5da++)for(let _0x17e039=_0x14c12f['startColumn'];_0x17e039<=_0x14c12f[_0x3f0271(0x21c)];_0x17e039++)_0x3a2975['realDeleteValue'](_0x3bc5da,_0x17e039);}),_0x138a05&&_0x49b7b3&&_0x49b7b3[_0x41e2b3(0x1cc)](_0x157a9f=>{const _0x26eb28=_0x41e2b3;for(let _0x44228c=_0x157a9f[_0x26eb28(0x1e0)];_0x44228c<=_0x157a9f['endRow'];_0x44228c++)for(let _0x28cd11=_0x157a9f[_0x26eb28(0x2b4)];_0x28cd11<=_0x157a9f[_0x26eb28(0x21c)];_0x28cd11++)_0x3a2975[_0x26eb28(0x3a1)](_0x44228c,_0x28cd11,_0x138a05['getValue'](_0x44228c,_0x28cd11));});}const _0x456d2f={};return _0x456d2f[_0x53552f]={[_0x3ae36e]:_0x140499(_0x36b529)},{'runtimeCellData':{[_0x53552f]:{[_0x3ae36e]:_0x3a2975}},'dirtyRanges':_0x456d2f};}[_0x4a26b1(0x417)](){}};_0x314351=_0x5cb372([_0x22c892(0x0,_0x2420fe['Inject'](_0x1c5878['SheetsPivotDataSourceModel'])),_0x22c892(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x4e490c[_0x4a26b1(0x288)])),_0x22c892(0x2,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x1dd)])),_0x22c892(0x3,_0x2420fe[_0x4a26b1(0x3f6)](_0x4e490c[_0x4a26b1(0x296)])),_0x22c892(0x4,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x456)]))],_0x314351);var _0x4ddf7a=Object['getOwnPropertyDescriptor'],_0x177eb6=(_0x4baf63,_0x1f8ccc,_0x459d3f,_0xecc050)=>{for(var _0x1ffd16=_0xecc050>0x1?void 0x0:_0xecc050?_0x4ddf7a(_0x1f8ccc,_0x459d3f):_0x1f8ccc,_0x28e082=_0x4baf63['length']-0x1,_0x58334b;_0x28e082>=0x0;_0x28e082--)(_0x58334b=_0x4baf63[_0x28e082])&&(_0x1ffd16=_0x58334b(_0x1ffd16)||_0x1ffd16);return _0x1ffd16;},_0x469817=(_0x2f8e3b,_0x308ca0)=>(_0x14124e,_0x3a5092)=>_0x308ca0(_0x14124e,_0x3a5092,_0x2f8e3b);let _0x49097f=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0xdb63c5,_0x45b334,_0xaf6ef0,_0xfba0f2){const _0x296451=_0x4a26b1;super(),_0x3b48fc(this,_0x296451(0x36f),new _0x2420fe[(_0x296451(0x259))]()),(this['_univerInstanceService']=_0xdb63c5,this[_0x296451(0x23b)]=_0x45b334,this[_0x296451(0x343)]=_0xaf6ef0,this[_0x296451(0x1e6)]=_0xfba0f2,this[_0x296451(0x452)]());}['_initClearSelectionCommandInterceptor'](){const _0x311024=_0x4a26b1;this[_0x311024(0x3d9)](this[_0x311024(0x23b)][_0x311024(0x1b9)]({'getMutations':_0x2ed1bd=>{const _0x128ccc=_0x311024;if(_0x2ed1bd['id']===_0x43dbd4[_0x128ccc(0x3b5)]['id']||_0x2ed1bd['id']===_0x43dbd4[_0x128ccc(0x2ae)]['id']){const _0x554876=[],_0x141761=[],_0x245966=this[_0x128ccc(0x343)][_0x128ccc(0x3d1)]()[_0x128ccc(0x40f)](_0x36e4e2=>_0x36e4e2[_0x128ccc(0x486)]),_0x33004b=_0x43dbd4[_0x128ccc(0x442)](this[_0x128ccc(0x338)]);if(!_0x33004b)return{'redos':[],'undos':[]};const {unitId:_0x2c6bfe,subUnitId:_0x1e03ce}=_0x33004b,_0x5cd800={},_0x4dc0cb=this[_0x128ccc(0x1e6)][_0x128ccc(0x269)](_0x2c6bfe,_0x1e03ce);if(_0x4dc0cb!=null&&_0x4dc0cb['size'])for(const [_0x2a7e71,_0x41cfbf]of _0x4dc0cb){const {unitId:_0x2aa959,subUnitId:_0x10fbd6,row:_0x5e145e,col:_0x5ce612}=_0x41cfbf[_0x128ccc(0x36c)];_0x2aa959===_0x33004b[_0x128ccc(0x345)]&&_0x10fbd6===_0x33004b[_0x128ccc(0x328)]&&(_0x5cd800[_0x5e145e+'-'+_0x5ce612]=_0x2a7e71);}return _0x245966&&_0x33004b&&_0x245966[_0x128ccc(0x1cc)](_0x488fde=>{_0x2420fe['Range']['foreach'](_0x488fde,(_0x6cc0f8,_0x554928)=>{const _0x3c6ffc=_0x3b66,_0xe8b17b=_0x6cc0f8+'-'+_0x554928;if(_0x5cd800[_0xe8b17b]){const _0x446c23=_0x5cd800[_0xe8b17b];_0x554876[_0x3c6ffc(0x2e9)]({'id':_0x41d5c2['id'],'params':{'unitId':_0x2c6bfe,'subUnitId':_0x1e03ce,'pivotTableId':_0x446c23}});const _0x20b32e=this[_0x3c6ffc(0x1e6)][_0x3c6ffc(0x1b8)](_0x2c6bfe,_0x446c23),_0x1b84f4=this[_0x3c6ffc(0x1e6)][_0x3c6ffc(0x3b3)](_0x2c6bfe,_0x1e03ce,_0x446c23);_0x141761[_0x3c6ffc(0x2e9)]({'id':_0x1cff80['id'],'params':{'unitId':_0x2c6bfe,'subUnitId':_0x1e03ce,'pivotTableId':_0x446c23,'pivotTableConfig':_0x1b84f4,'collectionConfig':_0x20b32e}});}});}),{'redos':_0x554876,'undos':_0x141761};}return{'redos':[],'undos':[]};}}));}};_0x49097f=_0x177eb6([_0x469817(0x0,_0x2420fe[_0x4a26b1(0x2cc)]),_0x469817(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x43dbd4[_0x4a26b1(0x1d2)])),_0x469817(0x2,_0x2420fe['Inject'](_0x43dbd4['SheetsSelectionsService'])),_0x469817(0x3,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878['SheetsPivotTableConfigModel']))],_0x49097f);var _0x3691b0=Object[_0x4a26b1(0x230)],_0x5d6e74=(_0x15e7fe,_0x1c8a30,_0x1d551b,_0x31fd82)=>{for(var _0x1af629=_0x31fd82>0x1?void 0x0:_0x31fd82?_0x3691b0(_0x1c8a30,_0x1d551b):_0x1c8a30,_0x4a2ebd=_0x15e7fe['length']-0x1,_0x200bae;_0x4a2ebd>=0x0;_0x4a2ebd--)(_0x200bae=_0x15e7fe[_0x4a2ebd])&&(_0x1af629=_0x200bae(_0x1af629)||_0x1af629);return _0x1af629;},_0x40a4d5=(_0xd96a6f,_0x42950a)=>(_0x47708f,_0x59d983)=>_0x42950a(_0x47708f,_0x59d983,_0xd96a6f);let _0x25f8f6=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0x508e5b,_0x1b11df,_0x3368dd,_0x414187,_0x1107af){const _0x50bd05=_0x4a26b1;super(),this['_sheetInterceptorService']=_0x508e5b,this[_0x50bd05(0x433)]=_0x1b11df,this[_0x50bd05(0x338)]=_0x3368dd,this[_0x50bd05(0x1e6)]=_0x414187,this['_sheetsPivotTableService']=_0x1107af,this[_0x50bd05(0x48e)]();}[_0x4a26b1(0x1bc)](_0x1c6f77,_0x148a85,_0x96131b){const _0x21e82b=_0x4a26b1,{pageView:_0x4b6b94,cornerView:_0x1c504c,rowView:_0x2d5cf2,colView:_0x548a3f,dataView:_0xe96d42}=_0x148a85,_0x2055fd=_0x1c6f77;let _0xb00e0e;if(_0x96131b)_0xb00e0e=[..._0x57db72(_0x2055fd)];else{const _0x7c2178=_0x44782c(_0x2055fd,_0x4b6b94,!0x0),_0xb41b26=_0x4b6b94[_0x21e82b(0x378)]>=0x0?_0x4b6b94['lastRow']+0x1:0x0,_0x39fd6e=_0x1c504c['rowCount'],_0x295f96=_0x1c504c['colCount'],_0x3f33f7=_0x7c2178[_0x21e82b(0x247)]>0x0?_0x59c838:0x0,_0x12c998=_0x44782c({'row':_0x2055fd[_0x21e82b(0x1c0)]+_0xb41b26+_0x3f33f7,'col':_0x2055fd[_0x21e82b(0x43b)]},_0x1c504c,!0x1,!0x1),_0x103f0e=_0x44782c({'row':_0x2055fd['row']+_0xb41b26+_0x3f33f7+_0x39fd6e,'col':_0x2055fd[_0x21e82b(0x43b)]},_0x2d5cf2,!0x1,!0x0),_0x5231e0=_0x44782c({'row':_0x2055fd[_0x21e82b(0x1c0)]+_0xb41b26+_0x3f33f7,'col':_0x2055fd[_0x21e82b(0x43b)]+_0x295f96},_0x548a3f,!0x1,!0x0),_0x308e7d=_0x44782c({'row':_0x2055fd[_0x21e82b(0x1c0)]+_0xb41b26+_0x3f33f7+_0x39fd6e,'col':_0x2055fd['col']+_0x295f96},_0xe96d42,!0x1,!0x0);_0xb00e0e=[..._0x7c2178,..._0x12c998,..._0x103f0e,..._0x5231e0,..._0x308e7d];}return _0xb00e0e;}[_0x4a26b1(0x48e)](){const _0x6ff050=_0x4a26b1;this[_0x6ff050(0x3d9)](this[_0x6ff050(0x1d5)][_0x6ff050(0x38c)][_0x6ff050(0x49e)](this['_sheetsPivotTableService'][_0x6ff050(0x38c)][_0x6ff050(0x3e2)]()[_0x6ff050(0x30d)],{'handler':(_0x2de4eb,_0x50ae49)=>{const _0x49aa4d=_0x6ff050,{cellInfo:_0x3a3d78,view:_0x508e5f,isEmpty:_0x4411df}=_0x50ae49,_0x3424a7=_0x3a3d78,{unitId:_0x124da1,subUnitId:_0x22263c}=_0x3424a7,_0x2a83ed=this['_getPivotAppliedRanges'](_0x3a3d78,_0x508e5f,_0x4411df),_0x54a228=this[_0x49aa4d(0x23b)][_0x49aa4d(0x321)]({'unitId':_0x124da1,'subUnitId':_0x22263c,'ranges':_0x2a83ed}),_0x1ba7bf=_0x5753c9(this[_0x49aa4d(0x433)],_0x124da1,_0x22263c,_0x2a83ed);_0x1ba7bf[_0x49aa4d(0x2e1)]&&(_0x54a228[_0x49aa4d(0x28d)][_0x49aa4d(0x2e9)](_0x1ba7bf[_0x49aa4d(0x3d2)]),_0x54a228[_0x49aa4d(0x21e)][_0x49aa4d(0x2e9)](_0x1ba7bf[_0x49aa4d(0x236)]));const _0x46af59=this[_0x49aa4d(0x337)](_0x508e5f,_0x3a3d78);return _0x54a228['redos'][_0x49aa4d(0x2e9)](..._0x46af59[_0x49aa4d(0x28d)]),_0x54a228[_0x49aa4d(0x21e)][_0x49aa4d(0x2e9)](..._0x46af59['undos']),{'redos':_0x54a228[_0x49aa4d(0x28d)],'undos':_0x54a228[_0x49aa4d(0x21e)]};}}));}[_0x4a26b1(0x337)](_0x57b012,_0x19ec9d){const _0x162118=_0x4a26b1,{col:_0x165a58,unitId:_0x49cb15,subUnitId:_0x4833c8}=_0x19ec9d,_0x37553c=[],_0xed585c=[],_0x1ff40a=_0x43dbd4[_0x162118(0x442)](this[_0x162118(0x338)],{'unitId':_0x49cb15,'subUnitId':_0x4833c8});if(!_0x19ec9d||!_0x57b012||!_0x1ff40a)return{'undos':_0xed585c,'redos':_0x37553c};const _0x3784f9=this[_0x162118(0x1e6)]['getTextInfo'](),{colView:_0x4cc752,dataView:_0xc5b3a8,cornerView:_0x30e047,rowView:_0x5765b7,formatMap:_0x16001c}=_0x57b012,_0x404fb4=_0x2349c9(_0x4cc752,_0x3784f9,!0x0,_0x16001c),_0x3a92c7=_0x2349c9(_0x5765b7,_0x3784f9,!0x1,_0x16001c),_0x325a37=_0x3b7f6e(_0xc5b3a8),_0x231506=_0x30a8ae(_0x30e047),{worksheet:_0x4998f4}=_0x1ff40a;if(typeof window<'u'&&window[_0x162118(0x469)]){const _0x407430=_0x227c96[_0x162118(0x42a)]({..._0x11c98b[_0x162118(0x1fd)]}),_0x167798=_0x227c96[_0x162118(0x45a)][_0x162118(0x43a)](_0x404fb4,_0x407430)[_0x162118(0x217)]+0x10,_0x589772=_0x227c96[_0x162118(0x45a)][_0x162118(0x43a)](_0x325a37,_0x407430)[_0x162118(0x217)],_0x5a2c8a=Math['floor'](Math['max'](_0x167798,_0x589772))+0x10,_0x21cd00=Math['floor'](_0x227c96[_0x162118(0x45a)][_0x162118(0x43a)](_0x3a92c7,_0x407430)['width']),_0xf5f88c=Math['floor'](_0x227c96[_0x162118(0x45a)][_0x162118(0x43a)](_0x231506,_0x407430)[_0x162118(0x217)]),_0x270440=Math['max'](_0x21cd00,_0xf5f88c,0x28)+0xc,_0xcb2344=_0x4cc752['colCount']+_0x30e047[_0x162118(0x35f)],_0x467146={},_0x4af712={};for(let _0x14caa4=_0x165a58;_0x14caa4<_0x165a58+_0xcb2344;_0x14caa4++){const _0x41009a=_0x4998f4['getColumnWidth'](_0x14caa4);_0x467146[_0x14caa4]=_0x41009a,_0x14caa4-_0x165a58<_0x30e047[_0x162118(0x35f)]?_0x4af712[_0x14caa4-_0x165a58]=_0x270440:_0x4af712[_0x14caa4-_0x165a58]=_0x5a2c8a;}_0x37553c[_0x162118(0x2e9)]({'id':_0x43dbd4[_0x162118(0x2ac)]['id'],'params':{'subUnitId':_0x4833c8,'unitId':_0x49cb15,'ranges':[{'startColumn':_0x165a58,'endColumn':_0x165a58+_0xcb2344-0x1,'startRow':0x0,'endRow':_0x4998f4[_0x162118(0x425)]()-0x1}],'colWidth':_0x4af712}}),_0xed585c[_0x162118(0x2e9)]({'id':_0x43dbd4[_0x162118(0x2ac)]['id'],'params':{'subUnitId':_0x4833c8,'unitId':_0x49cb15,'ranges':[{'startColumn':_0x165a58,'endColumn':_0x165a58+_0xcb2344-0x1,'startRow':0x0,'endRow':_0x4998f4[_0x162118(0x425)]()-0x1}],'colWidth':_0x467146}});}return{'undos':_0xed585c,'redos':_0x37553c};}};_0x25f8f6=_0x5d6e74([_0x40a4d5(0x0,_0x2420fe[_0x4a26b1(0x3f6)](_0x43dbd4[_0x4a26b1(0x1d2)])),_0x40a4d5(0x1,_0x2420fe['Inject'](_0x2420fe['Injector'])),_0x40a4d5(0x2,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x2cc)])),_0x40a4d5(0x3,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878[_0x4a26b1(0x384)])),_0x40a4d5(0x4,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878[_0x4a26b1(0x248)]))],_0x25f8f6);var _0x487d3e=Object['getOwnPropertyDescriptor'],_0x7545d9=(_0x2b53ce,_0x3dc53c,_0x4628c4,_0x4ff62f)=>{const _0x111801=_0x4a26b1;for(var _0x1f03a3=_0x4ff62f>0x1?void 0x0:_0x4ff62f?_0x487d3e(_0x3dc53c,_0x4628c4):_0x3dc53c,_0x1a3c1a=_0x2b53ce[_0x111801(0x247)]-0x1,_0x521ce0;_0x1a3c1a>=0x0;_0x1a3c1a--)(_0x521ce0=_0x2b53ce[_0x1a3c1a])&&(_0x1f03a3=_0x521ce0(_0x1f03a3)||_0x1f03a3);return _0x1f03a3;},_0x42925a=(_0x73604,_0x282337)=>(_0x560ded,_0x327cbb)=>_0x282337(_0x560ded,_0x327cbb,_0x73604);let _0x490156=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0x35246e,_0xc50a8d,_0x4e8dab,_0x49e101,_0xda7ae5,_0x3c8c7e,_0x5129bf){const _0x54ae5f=_0x4a26b1;super(),_0x3b48fc(this,_0x54ae5f(0x36f),new _0x2420fe['DisposableCollection']()),(this[_0x54ae5f(0x433)]=_0x35246e,this[_0x54ae5f(0x301)]=_0xc50a8d,this[_0x54ae5f(0x408)]=_0x4e8dab,this[_0x54ae5f(0x338)]=_0x49e101,this[_0x54ae5f(0x1e6)]=_0xda7ae5,this['_sheetsPivotTableAdaptorModel']=_0x3c8c7e,this['_sheetInterceptorService']=_0x5129bf,this[_0x54ae5f(0x202)]());}['_onRefRangeChange'](){const _0x29d49b=_0x4a26b1,_0x13a644=(_0x2b5e5d,_0x2ddac9)=>{const _0x256189=_0x3b66,_0x36e06a=this[_0x256189(0x338)]['getCurrentUnitForType'](_0x2420fe['UniverInstanceType']['UNIVER_SHEET']);if(!_0x36e06a||!(_0x36e06a==null?void 0x0:_0x36e06a[_0x256189(0x368)](_0x2ddac9)))return;this[_0x256189(0x36f)][_0x256189(0x417)]();const _0x26bff2=_0x1d8cfc=>this[_0x256189(0x2fd)](_0x1d8cfc,_0x2b5e5d,_0x2ddac9),_0x1b30f2=this[_0x256189(0x1e6)][_0x256189(0x269)](_0x2b5e5d,_0x2ddac9);if(!(_0x1b30f2!=null&&_0x1b30f2[_0x256189(0x3bb)]))return;Array[_0x256189(0x37d)](_0x1b30f2['values']())['map'](_0xbead30=>{const _0x76c640=_0x256189,{row:_0x477b65,col:_0x1460a9}=_0xbead30[_0x76c640(0x36c)];return _0x2420fe[_0x76c640(0x1c1)](_0x477b65,_0x1460a9);})[_0x256189(0x1cc)](_0x157ff3=>{const _0x561fc1=_0x256189;this[_0x561fc1(0x36f)][_0x561fc1(0x24a)](this['_refRangeService'][_0x561fc1(0x485)](_0x157ff3,_0x26bff2,_0x2b5e5d,_0x2ddac9));});},_0x55606c=()=>{const _0x5e075e=_0x3b66,_0x351200=this[_0x5e075e(0x338)][_0x5e075e(0x216)](_0x2420fe[_0x5e075e(0x420)]['UNIVER_SHEET']);if(_0x351200){const _0x401dfc=_0x351200[_0x5e075e(0x2dd)]();if(!_0x401dfc)return;_0x13a644(_0x351200[_0x5e075e(0x33b)](),_0x401dfc[_0x5e075e(0x2be)]());}};this[_0x29d49b(0x3d9)](this['_commandService'][_0x29d49b(0x1fc)](_0x4ee889=>{const _0x1521a4=_0x29d49b;if(_0x4ee889['id']===_0x43dbd4[_0x1521a4(0x44d)]['id']){const _0x1821a8=_0x4ee889[_0x1521a4(0x39f)],_0x4eb57c=_0x1821a8['subUnitId'],_0x247169=_0x1821a8['unitId'];if(!_0x4eb57c||!_0x247169)return;_0x13a644(_0x247169,_0x4eb57c);}})),this['disposeWithMe'](this[_0x29d49b(0x1e6)]['pivotInitCompleted$'][_0x29d49b(0x1b6)](_0x484461=>{_0x484461&&_0x55606c();})),this[_0x29d49b(0x3d9)](this[_0x29d49b(0x1e6)][_0x29d49b(0x1ad)]['subscribe'](_0x693b1e=>{const _0x3c6b34=_0x29d49b,_0xa3b4b1=_0x43dbd4[_0x3c6b34(0x442)](this['_univerInstanceService']);if(!_0xa3b4b1)return;const {unitId:_0xa225d1,subUnitId:_0x2868a6}=_0xa3b4b1,{unitId:_0x2fe7fb,subUnitId:_0x302712}=_0x693b1e;_0xa225d1!==_0x2fe7fb||_0x2868a6!==_0x302712||_0x13a644(_0xa225d1,_0x2868a6);})),_0x55606c();}[_0x4a26b1(0x2fd)](_0xa24388,_0x34d38b,_0x1aacb8){const _0x47a447=_0x4a26b1;switch(_0xa24388['id']){case _0x43dbd4[_0x47a447(0x335)]['id']:return this[_0x47a447(0x3c1)](_0xa24388['params'],_0x34d38b,_0x1aacb8);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x25170f,_0x18459a,_0x1e746c){const _0xf2886c=_0x4a26b1,{fromRange:_0x2d39d3,toRange:_0x2a2c23}=_0x25170f,_0x53a320=[],_0x2f3639=[],_0x40c55b=_0x43dbd4[_0xf2886c(0x442)](this[_0xf2886c(0x338)]);if(!_0x40c55b)return{'undos':_0x2f3639,'redos':_0x53a320};if(_0x18459a!==_0x40c55b[_0xf2886c(0x345)]||_0x1e746c!==_0x40c55b[_0xf2886c(0x328)])return{'undos':_0x2f3639,'redos':_0x53a320};const _0x2e8055=this[_0xf2886c(0x1e6)]['getSubUnitPivotConfigs'](_0x18459a,_0x1e746c);if(_0x2e8055!=null&&_0x2e8055[_0xf2886c(0x3bb)])for(const [_0x594ce6,_0x4418aa]of _0x2e8055){const {unitId:_0x1ba498,subUnitId:_0x1bcb23,row:_0x8c9a60,col:_0x1dc17b}=_0x4418aa['targetCellInfo'];if(_0x1ba498===_0x40c55b['unitId']&&_0x1bcb23===_0x40c55b['subUnitId']){const _0x2bf553=_0x2420fe['cellToRange'](_0x8c9a60,_0x1dc17b);if(_0x2420fe[_0xf2886c(0x3d0)]['intersects'](_0x2bf553,_0x2d39d3)){const _0x55dff1=_0x8c9a60-_0x2d39d3[_0xf2886c(0x1e0)],_0x5f3adc=_0x1dc17b-_0x2d39d3['startColumn'],_0x46b3a3={'row':_0x2a2c23['startRow']+_0x55dff1,'col':_0x2a2c23[_0xf2886c(0x2b4)]+_0x5f3adc};_0x53a320[_0xf2886c(0x2e9)]({'id':_0x42fbf4['id'],'params':{'unitId':_0x1ba498,'subUnitId':_0x1bcb23,'pivotTableId':_0x594ce6,'targetCellPosition':_0x46b3a3}}),_0x2f3639[_0xf2886c(0x2e9)]({'id':_0x42fbf4['id'],'params':{'unitId':_0x1ba498,'subUnitId':_0x1bcb23,'pivotTableId':_0x594ce6,'targetCellPosition':{'row':_0x8c9a60,'col':_0x1dc17b}}});const _0x4d79ce=_0x46b3a3[_0xf2886c(0x1c0)]-_0x8c9a60,_0x1d2f3a=_0x46b3a3[_0xf2886c(0x43b)]-_0x1dc17b,_0x4db1eb=[],_0x3dc54f=this[_0xf2886c(0x2ee)]['getPivotItemRenderInfoCache'](_0x1ba498,_0x1bcb23,_0x594ce6),_0x219120=_0x3dc54f==null?void 0x0:_0x3dc54f[_0xf2886c(0x366)];if(_0x219120){Object[_0xf2886c(0x41d)](_0x219120)[_0xf2886c(0x1cc)](_0x139868=>{const _0x1dceeb=_0xf2886c;_0x219120[_0x139868][_0x1dceeb(0x1cc)](_0x5842ac=>{const _0x158cfe=_0x1dceeb,_0x81487d={..._0x5842ac};_0x81487d[_0x158cfe(0x1e0)]=_0x5842ac['startRow']+_0x4d79ce,_0x81487d['endRow']=_0x5842ac['endRow']+_0x4d79ce,_0x81487d['startColumn']=_0x5842ac[_0x158cfe(0x2b4)]+_0x1d2f3a,_0x81487d[_0x158cfe(0x21c)]=_0x5842ac[_0x158cfe(0x21c)]+_0x1d2f3a,_0x4db1eb['push'](_0x81487d);});});const _0x38689f=this[_0xf2886c(0x23b)][_0xf2886c(0x321)]({'unitId':_0x1ba498,'subUnitId':_0x1bcb23,'ranges':_0x4db1eb});_0x53a320[_0xf2886c(0x2e9)](..._0x38689f[_0xf2886c(0x28d)]),_0x2f3639[_0xf2886c(0x2e9)](..._0x38689f['undos']);const _0x472325=_0x5753c9(this['_injector'],_0x1ba498,_0x1bcb23,_0x4db1eb);_0x472325[_0xf2886c(0x2e1)]&&(_0x53a320[_0xf2886c(0x2e9)](_0x472325[_0xf2886c(0x3d2)]),_0x2f3639['push'](_0x472325['setRangeValueUndoMutation']));}}}}return{'redos':_0x53a320,'undos':_0x2f3639};}};_0x490156=_0x7545d9([_0x42925a(0x0,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x456)])),_0x42925a(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x43dbd4[_0x4a26b1(0x3af)])),_0x42925a(0x2,_0x2420fe['ICommandService']),_0x42925a(0x3,_0x2420fe[_0x4a26b1(0x2cc)]),_0x42925a(0x4,_0x2420fe['Inject'](_0x1c5878[_0x4a26b1(0x384)])),_0x42925a(0x5,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878[_0x4a26b1(0x270)])),_0x42925a(0x6,_0x2420fe['Inject'](_0x43dbd4[_0x4a26b1(0x1d2)]))],_0x490156);var _0x40b8c2=Object['getOwnPropertyDescriptor'],_0x5b3c76=(_0x38fe3c,_0x34d1c1,_0x2d66b3,_0x5ff89d)=>{const _0x54e4ae=_0x4a26b1;for(var _0x21ae11=_0x5ff89d>0x1?void 0x0:_0x5ff89d?_0x40b8c2(_0x34d1c1,_0x2d66b3):_0x34d1c1,_0x4fbb52=_0x38fe3c[_0x54e4ae(0x247)]-0x1,_0xd3a6a9;_0x4fbb52>=0x0;_0x4fbb52--)(_0xd3a6a9=_0x38fe3c[_0x4fbb52])&&(_0x21ae11=_0xd3a6a9(_0x21ae11)||_0x21ae11);return _0x21ae11;},_0x3dea0c=(_0x41dbb5,_0x5c4e62)=>(_0xbe4548,_0xaff685)=>_0x5c4e62(_0xbe4548,_0xaff685,_0x41dbb5);let _0x38e8f6=class extends _0x2420fe['Disposable']{constructor(_0x2d2b95,_0x22cba1){const _0x2eb274=_0x4a26b1;super(),this[_0x2eb274(0x23b)]=_0x2d2b95,this[_0x2eb274(0x1e6)]=_0x22cba1,this[_0x2eb274(0x336)]();}['_initRemoveSheetCommandInterceptor'](){const _0x29624e=_0x4a26b1;this[_0x29624e(0x3d9)](this[_0x29624e(0x23b)][_0x29624e(0x1b9)]({'getMutations':_0x4b4ccb=>{const _0x5328d8=_0x29624e;if(_0x4b4ccb['id']===_0x43dbd4[_0x5328d8(0x3db)]['id']){const _0x1b362=[],_0x5e10b8=[],_0x1abe1c=_0x4b4ccb[_0x5328d8(0x39f)],{unitId:_0x215bd4,subUnitId:_0x2ca642}=_0x1abe1c;if(!_0x215bd4||!_0x2ca642)return{'undos':_0x5e10b8,'redos':_0x1b362};const _0x1b6d61=this[_0x5328d8(0x1e6)]['getSubUnitPivotConfigs'](_0x215bd4,_0x2ca642);if(_0x1b6d61!=null&&_0x1b6d61['size'])for(const [_0xce9f54,_0x3d6fe4]of _0x1b6d61){_0x1b362[_0x5328d8(0x2e9)]({'id':_0x41d5c2['id'],'params':{'unitId':_0x215bd4,'subUnitId':_0x2ca642,'pivotTableId':_0xce9f54}});const _0x110ee5={...this['_sheetsPivotTableConfigModel'][_0x5328d8(0x1b8)](_0x215bd4,_0xce9f54)};_0x5e10b8['push']({'id':_0x1cff80['id'],'params':{'unitId':_0x215bd4,'subUnitId':_0x2ca642,'pivotTableId':_0xce9f54,'pivotTableConfig':_0x3d6fe4,'collectionConfig':_0x110ee5}});}return{'redos':_0x1b362,'undos':_0x5e10b8};}return{'redos':[],'undos':[]};}}));}};_0x38e8f6=_0x5b3c76([_0x3dea0c(0x0,_0x2420fe[_0x4a26b1(0x3f6)](_0x43dbd4[_0x4a26b1(0x1d2)])),_0x3dea0c(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878[_0x4a26b1(0x384)]))],_0x38e8f6);var _0x51d1f5=Object[_0x4a26b1(0x230)],_0x15779c=(_0x446663,_0x3c52f1,_0x520549,_0x31926a)=>{const _0x31f255=_0x4a26b1;for(var _0x341a5b=_0x31926a>0x1?void 0x0:_0x31926a?_0x51d1f5(_0x3c52f1,_0x520549):_0x3c52f1,_0x1a8fca=_0x446663[_0x31f255(0x247)]-0x1,_0x279f7a;_0x1a8fca>=0x0;_0x1a8fca--)(_0x279f7a=_0x446663[_0x1a8fca])&&(_0x341a5b=_0x279f7a(_0x341a5b)||_0x341a5b);return _0x341a5b;},_0x306c5f=(_0x5e72d7,_0x54f1f5)=>(_0x34b2c5,_0x99902b)=>_0x54f1f5(_0x34b2c5,_0x99902b,_0x5e72d7);let _0x269891=class extends _0x2420fe[_0x4a26b1(0x339)]{constructor(_0x4bb32c,_0x45990b,_0x7c9ac1,_0x274ec2,_0x16d1cd,_0x108055){const _0x1529c8=_0x4a26b1;super(),this['_commandService']=_0x4bb32c,this[_0x1529c8(0x3ac)]=_0x45990b,this[_0x1529c8(0x2ee)]=_0x7c9ac1,this[_0x1529c8(0x1e6)]=_0x274ec2,this[_0x1529c8(0x338)]=_0x16d1cd,this['_activeDirtyManagerService']=_0x108055,this[_0x1529c8(0x483)](),this['registerDirtyService']();}['_initDataSendListener'](){const _0x46768e=_0x4a26b1;this[_0x46768e(0x3d9)](this[_0x46768e(0x408)][_0x46768e(0x1fc)](_0x532576=>{const _0x655acf=_0x46768e;if(_0x532576['id']!==_0x17b29b['id'])return;const _0x1959fe=_0x532576[_0x655acf(0x39f)];this[_0x655acf(0x3ac)][_0x655acf(0x258)](_0x1959fe);})),this[_0x46768e(0x3d9)](this[_0x46768e(0x408)][_0x46768e(0x1fc)](_0x544ec4=>{const _0xcb2488=_0x46768e;if(_0x544ec4['id']===_0x32c379['id']){const _0x33ed2c=_0x544ec4['params'];if(_0x33ed2c){const {unitId:_0x2353a2,subUnitId:_0x2e0e5f,oldSubUnitId:_0x42f58b,pivotTableId:_0x5e9675,pivotTableConfig:_0xdfeba8,collectionConfig:_0x17298f}=_0x33ed2c;this['_sheetsPivotTableConfigModel'][_0xcb2488(0x4ad)](_0x2353a2,_0x42f58b,_0x33ed2c['pivotTableId'],null),this[_0xcb2488(0x1e6)][_0xcb2488(0x4ad)](_0x2353a2,_0x2e0e5f,_0x5e9675,_0xdfeba8),this[_0xcb2488(0x1e6)][_0xcb2488(0x1ce)](_0x2353a2,_0x17298f);}}})),this[_0x46768e(0x3d9)](this[_0x46768e(0x408)]['onCommandExecuted'](_0x1a0d10=>{const _0x59dedd=_0x46768e;if(_0x1a0d10['id']!==_0x9e7ba0['id'])return;const _0x6ae30e=_0x43dbd4[_0x59dedd(0x442)](this[_0x59dedd(0x338)]);if(!_0x6ae30e)return;const {unitId:_0xaa6fd8,subUnitId:_0x4ef6f9}=_0x6ae30e,_0x181acc=_0x1a0d10[_0x59dedd(0x39f)];if(_0x181acc[_0x59dedd(0x1f3)]&&Object[_0x59dedd(0x41d)](_0x181acc[_0x59dedd(0x1f3)])[_0x59dedd(0x1cc)](_0x2591db=>{const _0x290060=_0x59dedd;var _0x25c839;(_0x25c839=_0x181acc[_0x290060(0x1f3)])!=null&&_0x25c839[_0x2591db]&&this[_0x290060(0x1e6)][_0x290060(0x1ce)](_0x2591db,_0x181acc['collectionConfig'][_0x2591db]);}),_0x181acc[_0x59dedd(0x4aa)]){const _0x3b0ccc=_0x181acc['single'],{unitId:_0x5918d6,subUnitId:_0x53fafb,view:_0x55539e,pivotTableId:_0x234805,type:_0x76e8c8,pivotConfig:_0x158873}=_0x3b0ccc;if(_0x76e8c8===_0x2804e5['Delete'])this[_0x59dedd(0x2ee)][_0x59dedd(0x266)]({'unitId':_0x5918d6,'subUnitId':_0x53fafb,'pivotTableId':_0x234805,'type':_0x76e8c8}),this[_0x59dedd(0x1e6)]['updateConfigCache'](_0x5918d6,_0x53fafb,_0x234805,null);else{const _0x152621=new _0x29e939['PivotView']();_0x152621[_0x59dedd(0x35a)](_0x55539e),this[_0x59dedd(0x1e6)]['updateConfigCache'](_0x5918d6,_0x53fafb,_0x234805,_0x158873),this[_0x59dedd(0x2ee)][_0x59dedd(0x266)]({'unitId':_0x5918d6,'subUnitId':_0x53fafb,'pivotTableId':_0x234805,'type':_0x76e8c8,'view':_0x152621}),this[_0x59dedd(0x2ee)]['updateRenderCache']({'unitId':_0x5918d6,'subUnitId':_0x53fafb,'view':_0x152621,'pivotTableId':_0x234805,'type':_0x76e8c8});}}else _0x181acc['batch']&&(_0x181acc[_0x59dedd(0x279)]['forEach'](_0x31397f=>{const _0x436e38=_0x59dedd,{unitId:_0x276c51,subUnitId:_0x511385,view:_0x3d317f,pivotTableId:_0x50a9d4,type:_0x35583f,pivotConfig:_0x44ebe6}=_0x31397f,_0x29691c=new _0x29e939[(_0x436e38(0x493))]();_0x29691c['formJSON'](_0x3d317f),this[_0x436e38(0x1e6)][_0x436e38(0x4ad)](_0x276c51,_0x511385,_0x50a9d4,_0x44ebe6),this[_0x436e38(0x2ee)][_0x436e38(0x206)]({'unitId':_0x276c51,'subUnitId':_0x511385,'view':_0x29691c,'pivotTableId':_0x50a9d4,'type':_0x35583f});}),this['_sheetsPivotTableConfigModel'][_0x59dedd(0x464)]());this[_0x59dedd(0x2ee)][_0x59dedd(0x1f5)](_0xaa6fd8,_0x4ef6f9);}));}['registerDirtyService'](){const _0x216f2d=_0x4a26b1;this[_0x216f2d(0x421)][_0x216f2d(0x496)](_0x326029['id'],{'commandId':_0x326029['id'],'getDirtyData'(_0x32080e){const _0x2726b4=_0x216f2d;return{'dirtyUnitFeatureMap':_0x32080e[_0x2726b4(0x39f)]};}});}};_0x269891=_0x15779c([_0x306c5f(0x0,_0x2420fe['Inject'](_0x2420fe['ICommandService'])),_0x306c5f(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878[_0x4a26b1(0x29c)])),_0x306c5f(0x2,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878['SheetsPivotTableAdaptorModel'])),_0x306c5f(0x3,_0x2420fe[_0x4a26b1(0x3f6)](_0x1c5878['SheetsPivotTableConfigModel'])),_0x306c5f(0x4,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe[_0x4a26b1(0x2cc)])),_0x306c5f(0x5,_0x4e490c[_0x4a26b1(0x2b8)])],_0x269891);var _0x3ae186=Object[_0x4a26b1(0x33a)],_0x1010d8=Object['getOwnPropertyDescriptor'],_0x4f55c8=(_0x45842b,_0x439d92,_0x43de24)=>_0x439d92 in _0x45842b?_0x3ae186(_0x45842b,_0x439d92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43de24}):_0x45842b[_0x439d92]=_0x43de24,_0x11daa5=(_0x4607b0,_0x1114f4,_0x33ad74,_0x2bec4f)=>{const _0x37b9e8=_0x4a26b1;for(var _0x1224bc=_0x2bec4f>0x1?void 0x0:_0x2bec4f?_0x1010d8(_0x1114f4,_0x33ad74):_0x1114f4,_0x54b426=_0x4607b0[_0x37b9e8(0x247)]-0x1,_0xb9638b;_0x54b426>=0x0;_0x54b426--)(_0xb9638b=_0x4607b0[_0x54b426])&&(_0x1224bc=_0xb9638b(_0x1224bc)||_0x1224bc);return _0x1224bc;},_0x3aedf4=(_0x317e40,_0x14341f)=>(_0x335482,_0xa67817)=>_0x14341f(_0x335482,_0xa67817,_0x317e40),_0x51bd3e=(_0xbf8e41,_0xf04cc3,_0x28696d)=>_0x4f55c8(_0xbf8e41,typeof _0xf04cc3!=_0x4a26b1(0x20f)?_0xf04cc3+'':_0xf04cc3,_0x28696d);_0x1c5878[_0x4a26b1(0x24f)]=class extends _0x2420fe[_0x4a26b1(0x1a9)]{constructor(_0x3f07f6=_0x4833d2,_0x3a4ae9,_0xf67736,_0x47d7f6,_0x2bdc2b){const _0x21f8f1=_0x4a26b1;super(),this[_0x21f8f1(0x304)]=_0x3f07f6,this[_0x21f8f1(0x433)]=_0x3a4ae9,this[_0x21f8f1(0x408)]=_0xf67736,this[_0x21f8f1(0x218)]=_0x47d7f6,this['_dataSyncPrimaryController']=_0x2bdc2b;const {..._0x2d39c8}=_0x2420fe[_0x21f8f1(0x40a)]({},_0x4833d2,this[_0x21f8f1(0x304)]);this[_0x21f8f1(0x218)][_0x21f8f1(0x465)](_0x52a8cb,_0x2d39c8),this[_0x21f8f1(0x2fe)](),this[_0x21f8f1(0x348)]();}['_initConfig'](){const _0x1e1e6d=_0x4a26b1;var _0x36330a;const _0x4885b2=(_0x36330a=this['_config'])==null?void 0x0:_0x36330a[_0x1e1e6d(0x2d6)];this[_0x1e1e6d(0x218)][_0x1e1e6d(0x465)](_0x2122db,_0x4885b2===!0x0);}[_0x4a26b1(0x394)](){const _0x25f24c=_0x4a26b1;var _0x78a98f;let _0x2f0f9e=[];const _0x152b70=(_0x78a98f=this[_0x25f24c(0x304)])==null?void 0x0:_0x78a98f[_0x25f24c(0x2d6)];_0x152b70===!0x0?_0x2f0f9e=[[_0x1c5878[_0x25f24c(0x248)]],[_0x1c5878[_0x25f24c(0x29c)]],[_0x269891],[_0x1c5878[_0x25f24c(0x270)]],[_0x1c5878[_0x25f24c(0x384)]],[_0x38e8f6],[_0x49097f],[_0x490156],[_0x25f8f6]]:_0x152b70===!0x1?_0x2f0f9e=[[_0x1c5878[_0x25f24c(0x342)]],[_0x314351]]:_0x152b70===void 0x0&&(_0x2f0f9e=[[_0x1c5878[_0x25f24c(0x342)]],[_0x314351],[_0x1c5878[_0x25f24c(0x248)]],[_0x1c5878[_0x25f24c(0x29c)]],[_0x269891],[_0x1c5878[_0x25f24c(0x270)]],[_0x1c5878['SheetsPivotTableConfigModel']],[_0x38e8f6],[_0x49097f],[_0x490156],[_0x25f8f6]]),_0x2f0f9e[_0x25f24c(0x1cc)](_0xdbd5d9=>this[_0x25f24c(0x433)][_0x25f24c(0x24a)](_0xdbd5d9)),[_0x314351,_0x269891,_0x1c5878['SheetsPivotTableService'],_0x49097f,_0x38e8f6,_0x490156,_0x25f8f6]['forEach'](_0x38d88d=>{const _0x12d9f9=_0x25f24c;this[_0x12d9f9(0x433)][_0x12d9f9(0x308)](_0x38d88d)&&this[_0x12d9f9(0x433)][_0x12d9f9(0x2e7)](_0x38d88d);});}[_0x4a26b1(0x2fe)](){const _0x300bfb=_0x4a26b1;[_0x2e731a,_0x5f4e2e,_0xbe1dcd,_0x144165,_0xd0f8f,_0x230aff,_0x170285,_0x13d619,_0x3f26c1,_0x14173a,_0x1ab8cd,_0x1e908d,_0x2526ef,_0x6b1312,_0x1cff80,_0x126c3b,_0x41d5c2,_0x524024,_0x3ab476,_0x171600,_0x289aa6,_0x475fb3,_0x2c29ae,_0x300d03,_0x37c906,_0x33b9af,_0x42fbf4,_0x150950,_0x17b29b,_0x9e7ba0,_0x2d7c7e,_0x516422,_0x3f9b32,_0x4688da,_0x30eef1,_0x585fbf,_0x346e64,_0x326029,_0x32c379,_0x40261e,_0xbe59e,_0x307cb7,_0xbdf7eb][_0x300bfb(0x1cc)](_0x46e881=>{const _0x384b86=_0x300bfb;var _0xef268c;(_0xef268c=this[_0x384b86(0x439)])==null||_0xef268c[_0x384b86(0x405)](_0x46e881),this['_commandService'][_0x384b86(0x1e3)](_0x46e881);});}},_0x51bd3e(_0x1c5878[_0x4a26b1(0x24f)],_0x4a26b1(0x1ac),_0x367f46),_0x51bd3e(_0x1c5878[_0x4a26b1(0x24f)],_0x4a26b1(0x45d),_0x2420fe[_0x4a26b1(0x420)][_0x4a26b1(0x3c7)]),_0x1c5878['UniverSheetsPivotTablePlugin']=_0x11daa5([_0x2420fe[_0x4a26b1(0x19f)](_0x95dfda['UniverLicensePlugin']),_0x3aedf4(0x1,_0x2420fe[_0x4a26b1(0x3f6)](_0x2420fe['Injector'])),_0x3aedf4(0x2,_0x2420fe['Inject'](_0x2420fe[_0x4a26b1(0x1dd)])),_0x3aedf4(0x3,_0x2420fe[_0x4a26b1(0x3b2)]),_0x3aedf4(0x4,_0x2420fe['Optional'](_0x3900df[_0x4a26b1(0x34f)]))],_0x1c5878[_0x4a26b1(0x24f)]),_0x1c5878['AddPivotFieldCommand']=_0xbe1dcd,_0x1c5878['AddPivotFieldMutation']=_0x524024,_0x1c5878[_0x4a26b1(0x3f0)]=_0x5f4e2e,_0x1c5878['AddPivotTableMutation']=_0x1cff80,_0x1c5878[_0x4a26b1(0x302)]=_0x2e731a,_0x1c5878[_0x4a26b1(0x48c)]=_0x59c838,_0x1c5878['DEFAULT_PIVOT_NUMBER']=_0x1eb34d,_0x1c5878[_0x4a26b1(0x44c)]=_0x144165,_0x1c5878[_0x4a26b1(0x476)]=_0x2526ef,_0x1c5878[_0x4a26b1(0x1c9)]=_0x3960fe,_0x1c5878['PivotDrillDownCommand']=_0x6b1312,_0x1c5878[_0x4a26b1(0x3e3)]=_0x2804e5,_0x1c5878[_0x4a26b1(0x3ee)]=_0x326029,_0x1c5878['PositionType']=_0x43c723,_0x1c5878['RemovePivotFieldCommand']=_0xd0f8f,_0x1c5878[_0x4a26b1(0x28b)]=_0x475fb3,_0x1c5878[_0x4a26b1(0x42f)]=_0x41d5c2,_0x1c5878[_0x4a26b1(0x3f5)]=_0x2c29ae,_0x1c5878[_0x4a26b1(0x1a5)]=_0xbdf7eb,_0x1c5878[_0x4a26b1(0x43d)]=_0x52a8cb,_0x1c5878[_0x4a26b1(0x49a)]=_0x367f46,_0x1c5878['SetPivotCollapseCommand']=_0x13d619,_0x1c5878['SetPivotCollapseMutation']=_0x300d03,_0x1c5878[_0x4a26b1(0x239)]=_0x4688da,_0x1c5878['SetPivotFieldsConfigCommand']=_0x307cb7,_0x1c5878[_0x4a26b1(0x1ec)]=_0x14173a,_0x1c5878[_0x4a26b1(0x3b0)]=_0x289aa6,_0x1c5878[_0x4a26b1(0x3a0)]=_0x33b9af,_0x1c5878['SetPivotPositionMutation']=_0x42fbf4,_0x1c5878[_0x4a26b1(0x37e)]=_0x3f26c1,_0x1c5878[_0x4a26b1(0x2df)]=_0x37c906,_0x1c5878[_0x4a26b1(0x46a)]=_0x3f9b32,_0x1c5878[_0x4a26b1(0x29f)]=_0x40261e,_0x1c5878[_0x4a26b1(0x2ca)]=_0xbe59e,_0x1c5878[_0x4a26b1(0x2da)]=_0x170285,_0x1c5878[_0x4a26b1(0x44a)]=_0x2d7c7e,_0x1c5878[_0x4a26b1(0x290)]=_0x1ab8cd,_0x1c5878[_0x4a26b1(0x48d)]=_0x346e64,_0x1c5878[_0x4a26b1(0x390)]=_0x1e908d,_0x1c5878[_0x4a26b1(0x329)]=_0x585fbf,_0x1c5878[_0x4a26b1(0x363)]=_0x230aff,_0x1c5878[_0x4a26b1(0x430)]=_0x516422,_0x1c5878[_0x4a26b1(0x315)]=_0xbc3577,_0x1c5878[_0x4a26b1(0x32f)]=_0x135dfd,_0x1c5878[_0x4a26b1(0x4b6)]=_0x11c98b,_0x1c5878[_0x4a26b1(0x424)]=_0x5753c9,_0x1c5878[_0x4a26b1(0x4b1)]=_0x44782c,_0x1c5878['getEmptyPivotRanges']=_0x57db72,_0x1c5878[_0x4a26b1(0x297)]=_0xf6a2d,_0x1c5878[_0x4a26b1(0x3d8)]=_0x713485,_0x1c5878['getPivotCellInfo']=_0x364f39,_0x1c5878['getPivotInfoByLicense']=_0x2a35ad,_0x1c5878[_0x4a26b1(0x47d)]=_0x2d807b,_0x1c5878[_0x4a26b1(0x260)]=_0x2eb36a,_0x1c5878[_0x4a26b1(0x46e)]=_0x2fd6ff,Object[_0x4a26b1(0x33a)](_0x1c5878,Symbol['toStringTag'],{'value':_0x4a26b1(0x3de)});}));
|