@univerjs-pro/docs-formula 1.0.0-rc.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x34e78c,_0x1d4536){const _0x54efbd=_0x3362,_0x36189d=_0x34e78c();while(!![]){try{const _0x4ff110=parseInt(_0x54efbd(0x1f8))/0x1*(-parseInt(_0x54efbd(0x1cb))/0x2)+-parseInt(_0x54efbd(0x15d))/0x3*(-parseInt(_0x54efbd(0x188))/0x4)+-parseInt(_0x54efbd(0x23b))/0x5*(-parseInt(_0x54efbd(0x253))/0x6)+-parseInt(_0x54efbd(0x196))/0x7+parseInt(_0x54efbd(0x287))/0x8*(parseInt(_0x54efbd(0x212))/0x9)+-parseInt(_0x54efbd(0x279))/0xa*(-parseInt(_0x54efbd(0x14a))/0xb)+parseInt(_0x54efbd(0x203))/0xc;if(_0x4ff110===_0x1d4536)break;else _0x36189d['push'](_0x36189d['shift']());}catch(_0x5aa3cd){_0x36189d['push'](_0x36189d['shift']());}}}(_0x4a5f,0x8588b),function(_0x5e1abe,_0x5b3785){const _0x4165bd=_0x3362;typeof exports==_0x4165bd(0x18f)&&typeof module<'u'?_0x5b3785(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x4165bd(0x24a)]?define([_0x4165bd(0x28c),_0x4165bd(0x21c),_0x4165bd(0x1fa),_0x4165bd(0x232),_0x4165bd(0x19d),_0x4165bd(0x27d),'@univerjs-pro/license'],_0x5b3785):(_0x5e1abe=typeof globalThis<'u'?globalThis:_0x5e1abe||self,_0x5b3785(_0x5e1abe[_0x4165bd(0x199)]={},_0x5e1abe[_0x4165bd(0x260)],_0x5e1abe[_0x4165bd(0x27c)],_0x5e1abe['UniverDocs'],_0x5e1abe['UniverEngineFormula'],_0x5e1abe[_0x4165bd(0x27d)],_0x5e1abe['UniverProLicense']));}(this,function(_0x26b9a4,_0x145aa2,_0x4f7619,_0x598ef1,_0x4ccd29,_0x1092de,_0xe318f5){const _0x63b022=_0x3362;Object['defineProperty'](_0x26b9a4,Symbol['toStringTag'],{'value':_0x63b022(0x15c)});let _0x1165ca='DOC_FORMULA_PLUGIN',_0x5e46e0=_0x63b022(0x291);function _0xcaf32(){return{'schemaVersion':0x1,'formulas':{}};}function _0x56bef6(_0x49b5c9){const _0xd581d0=_0x63b022;return!_0x49b5c9||typeof _0x49b5c9!=_0xd581d0(0x18f)||!_0x203267(_0x49b5c9,[_0xd581d0(0x157),_0xd581d0(0x1e0)])||!(_0xd581d0(0x157)in _0x49b5c9)||_0x49b5c9['schemaVersion']!==0x1||!(_0xd581d0(0x1e0)in _0x49b5c9)||!_0x49b5c9[_0xd581d0(0x1e0)]||typeof _0x49b5c9['formulas']!=_0xd581d0(0x18f)||Array['isArray'](_0x49b5c9[_0xd581d0(0x1e0)])?!0x1:Object[_0xd581d0(0x167)](_0x49b5c9[_0xd581d0(0x1e0)])[_0xd581d0(0x214)](([_0x1fd811,_0x41bf5e])=>_0x1fd811[_0xd581d0(0x177)]>0x0&&_0x370aa7(_0x41bf5e));}function _0x370aa7(_0x3a23d7){const _0x3d3f30=_0x63b022;return!_0x3a23d7||typeof _0x3a23d7!=_0x3d3f30(0x18f)||!_0x203267(_0x3a23d7,[_0x3d3f30(0x23f),_0x3d3f30(0x19c),_0x3d3f30(0x1d8)])||!('formula'in _0x3a23d7)||typeof _0x3a23d7['formula']!=_0x3d3f30(0x259)||!_0x3a23d7[_0x3d3f30(0x23f)][_0x3d3f30(0x247)]()||_0x3d3f30(0x19c)in _0x3a23d7&&_0x3a23d7['numberFormat']!=null&&(typeof _0x3a23d7[_0x3d3f30(0x19c)]!=_0x3d3f30(0x18f)||!_0x203267(_0x3a23d7[_0x3d3f30(0x19c)],['pattern'])||!(_0x3d3f30(0x204)in _0x3a23d7[_0x3d3f30(0x19c)])||typeof _0x3a23d7[_0x3d3f30(0x19c)][_0x3d3f30(0x204)]!='string')?!0x1:!('lastValue'in _0x3a23d7)||_0x3a23d7[_0x3d3f30(0x1d8)]==null||_0xdbc34f(_0x3a23d7[_0x3d3f30(0x1d8)]);}function _0xdbc34f(_0x13cf2a){const _0x3a9eb9=_0x63b022;return!_0x13cf2a||typeof _0x13cf2a!='object'||!_0x203267(_0x13cf2a,['v','t',_0x3a9eb9(0x204)])||!('v'in _0x13cf2a)||_0x13cf2a['v']!==null&&typeof _0x13cf2a['v']!=_0x3a9eb9(0x259)&&typeof _0x13cf2a['v']!=_0x3a9eb9(0x19a)&&typeof _0x13cf2a['v']!=_0x3a9eb9(0x1f3)||'t'in _0x13cf2a&&_0x13cf2a['t']!=null&&!_0x236cce(_0x13cf2a['t'])?!0x1:!(_0x3a9eb9(0x204)in _0x13cf2a)||_0x13cf2a[_0x3a9eb9(0x204)]==null||typeof _0x13cf2a[_0x3a9eb9(0x204)]==_0x3a9eb9(0x259);}function _0x203267(_0x585879,_0x25b7a3){const _0x12650c=_0x63b022;let _0x883b3f=new Set(_0x25b7a3);return Object[_0x12650c(0x270)](_0x585879)[_0x12650c(0x214)](_0x1488e3=>_0x883b3f[_0x12650c(0x237)](_0x1488e3));}function _0x236cce(_0x2f15cc){const _0x5ea219=_0x63b022;return typeof _0x2f15cc==_0x5ea219(0x19a)&&Object[_0x5ea219(0x1ee)](_0x4f7619[_0x5ea219(0x1ea)])['includes'](_0x2f15cc);}let _0xb7b294=new Set([_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x257)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x271)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x231)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x17d)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x241)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x1af)],_0x4f7619['DataStreamTreeTokenType']['TABLE_END'],_0x4f7619['DataStreamTreeTokenType'][_0x63b022(0x250)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x1bd)],_0x4f7619[_0x63b022(0x21e)]['COLUMN_END'],_0x4f7619[_0x63b022(0x21e)]['COLUMN_GROUP_END'],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x159)],_0x4f7619[_0x63b022(0x21e)]['BLOCK_END'],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x22d)]]);var _0x3890ed=class extends Error{constructor(){const _0xa232a2=_0x63b022;super(_0xa232a2(0x1a7));}};function _0x2c0d1f(_0x92d194){const _0x7af93c=_0x63b022;var _0x2e9651,_0x162236;let _0x50b75e=_0x4f7619[_0x7af93c(0x26c)][_0x7af93c(0x26d)](_0x92d194['documentData']),_0x1e0ec2=_0x3be366(_0x50b75e),{startOffset:_0x4bb3ed,endOffset:_0x4ab3fb}=_0x40fa1d(_0x1e0ec2,_0x92d194[_0x7af93c(0x23d)],_0x92d194[_0x7af93c(0x1a5)]);_0x2f3df1(_0x1e0ec2,_0x4bb3ed,_0x4ab3fb);let _0x5d232b=((_0x2e9651=_0x1e0ec2[_0x7af93c(0x1fe)])==null?void 0x0:_0x2e9651[_0x7af93c(0x1ec)](_0x5359d2=>{const _0x16b865=_0x7af93c;if(!_0x359c18(_0x5359d2))return!0x1;let _0x12a43f=(0x0,_0x4f7619[_0x16b865(0x1d9)])(_0x5359d2);return _0x12a43f[_0x16b865(0x1a5)]>_0x4bb3ed&&_0x12a43f[_0x16b865(0x23d)]<_0x4ab3fb;})['map'](_0x3e901a=>_0x3e901a[_0x7af93c(0x1c0)]))??[];_0x6df54e(_0x1e0ec2,_0x4bb3ed,_0x4ab3fb,''),_0x1e0ec2[_0x7af93c(0x1fe)]=[...((_0x162236=_0x1e0ec2[_0x7af93c(0x1fe)])==null?void 0x0:_0x162236[_0x7af93c(0x1ec)](_0x2921a4=>!_0x5d232b[_0x7af93c(0x24f)](_0x2921a4[_0x7af93c(0x1c0)])&&_0x2921a4['rangeId']!==_0x92d194[_0x7af93c(0x1c0)]))??[],_0x139e7e(_0x92d194[_0x7af93c(0x1c0)],_0x4bb3ed)][_0x7af93c(0x255)]((_0x332ece,_0x1fd770)=>_0x332ece[_0x7af93c(0x19b)]-_0x1fd770[_0x7af93c(0x19b)]);let _0x409228=_0x216ffd(_0x92d194[_0x7af93c(0x186)]);return _0x5d232b['forEach'](_0x1350c1=>{delete _0x409228['formulas'][_0x1350c1];}),_0x409228['formulas'][_0x92d194[_0x7af93c(0x1c0)]]=_0x4f7619[_0x7af93c(0x26c)][_0x7af93c(0x26d)](_0x92d194[_0x7af93c(0x1e6)]),{'nextDocumentData':_0x50b75e,'nextResource':_0x409228,'cursorOffset':_0x4bb3ed+0x1};}function _0x10e54c(_0x4b083c){const _0x23b5fb=_0x63b022;var _0x47065d,_0x5ceac6;let _0x5b0c68=_0x4f7619['Tools'][_0x23b5fb(0x26d)](_0x4b083c[_0x23b5fb(0x22b)]),_0x541523=(_0x47065d=_0x3be366(_0x5b0c68)[_0x23b5fb(0x1fe)])==null?void 0x0:_0x47065d[_0x23b5fb(0x155)](_0x4ae920=>_0x4ae920[_0x23b5fb(0x1c0)]===_0x4b083c[_0x23b5fb(0x1c0)]&&_0x359c18(_0x4ae920));if(!_0x541523||!((_0x5ceac6=_0x4b083c[_0x23b5fb(0x186)])!=null&&_0x5ceac6[_0x23b5fb(0x1e0)][_0x4b083c['rangeId']]))return null;let _0x19f665=_0x216ffd(_0x4b083c[_0x23b5fb(0x186)]);return _0x19f665[_0x23b5fb(0x1e0)][_0x4b083c[_0x23b5fb(0x1c0)]]=_0x4f7619[_0x23b5fb(0x26c)]['deepClone'](_0x4b083c[_0x23b5fb(0x1e6)]),{'nextDocumentData':_0x5b0c68,'nextResource':_0x19f665,'cursorOffset':_0x541523[_0x23b5fb(0x202)]+0x1};}function _0x5209f3(_0x29d9a1){const _0x78c920=_0x63b022;let _0x7b7088=_0x4f7619[_0x78c920(0x26c)][_0x78c920(0x26d)](_0x29d9a1[_0x78c920(0x22b)]),_0x58dbc6=_0x5877f1(_0x7b7088,_0x29d9a1[_0x78c920(0x1c0)],_0x29d9a1[_0x78c920(0x282)]??'');if(_0x58dbc6==null)return null;let _0x4bc54f=_0x216ffd(_0x29d9a1[_0x78c920(0x186)]);return delete _0x4bc54f[_0x78c920(0x1e0)][_0x29d9a1[_0x78c920(0x1c0)]],{'nextDocumentData':_0x7b7088,'nextResource':_0x4bc54f,'cursorOffset':_0x58dbc6};}function _0x590aef(_0x5e7669,_0x33c4bf){const _0x3c50f2=_0x63b022;var _0x5ac2e4;let _0x9ce19c=_0x4f7619['Tools'][_0x3c50f2(0x26d)](_0x5e7669),_0x501cdf=_0x9ce19c['body'];if(!_0x501cdf)return _0x9ce19c;let _0x2f9b18=new Map(_0x33c4bf[_0x3c50f2(0x1c7)](_0x5bab0b=>[_0x5bab0b['rangeId'],_0x5bab0b[_0x3c50f2(0x282)]])),_0x395e3b=((_0x5ac2e4=_0x501cdf[_0x3c50f2(0x1fe)])==null?void 0x0:_0x5ac2e4[_0x3c50f2(0x1ec)](_0x582d56=>_0x359c18(_0x582d56)&&_0x2f9b18['has'](_0x582d56[_0x3c50f2(0x1c0)]))[_0x3c50f2(0x255)]((_0x467701,_0x1e8ac4)=>_0x1e8ac4[_0x3c50f2(0x19b)]-_0x467701['startIndex']))??[];for(let _0x591f30 of _0x395e3b)_0x5877f1(_0x9ce19c,_0x591f30[_0x3c50f2(0x1c0)],_0x2f9b18['get'](_0x591f30[_0x3c50f2(0x1c0)])??'');return _0x9ce19c;}function _0x359c18(_0x1c6051){const _0x46fa59=_0x63b022;var _0x53c485;return(_0x1c6051==null?void 0x0:_0x1c6051[_0x46fa59(0x169)])===_0x4f7619['CustomRangeType'][_0x46fa59(0x176)]&&_0x1c6051[_0x46fa59(0x278)]===!0x0&&((_0x53c485=_0x1c6051[_0x46fa59(0x28f)])==null?void 0x0:_0x53c485['kind'])===_0x46fa59(0x291);}function _0x3fe7af(_0x375560,_0x59d17c){const _0x199bba=_0x63b022;var _0x1f5ec2;return _0x375560==null||(_0x1f5ec2=_0x375560[_0x199bba(0x1fe)])==null?void 0x0:_0x1f5ec2[_0x199bba(0x155)](_0x4c13f7=>_0x4c13f7['rangeId']===_0x59d17c&&_0x359c18(_0x4c13f7));}function _0x2f3df1(_0x198b54,_0x544821,_0x3c9cfe){const _0x33a34a=_0x63b022;if(_0x544821===_0x3c9cfe){if(_0xb7b294[_0x33a34a(0x237)](_0x198b54[_0x33a34a(0x1df)][_0x544821]))throw new _0x3890ed();return;}for(let _0x53adee=_0x544821;_0x53adee<_0x3c9cfe;_0x53adee++)if(_0x198b54['dataStream'][_0x53adee]===_0x4f7619['DataStreamTreeTokenType'][_0x33a34a(0x194)]||_0xb7b294[_0x33a34a(0x237)](_0x198b54[_0x33a34a(0x1df)][_0x53adee]))throw new _0x3890ed();}function _0x139e7e(_0x825db0,_0x1bdd5f){const _0x1a7b8f=_0x63b022;return{'startIndex':_0x1bdd5f,'endIndex':_0x1bdd5f,'rangeId':_0x825db0,'rangeType':_0x4f7619[_0x1a7b8f(0x1c4)][_0x1a7b8f(0x176)],'wholeEntity':!0x0,'properties':{'kind':_0x5e46e0}};}function _0x216ffd(_0x4fa683){const _0x402500=_0x63b022;return _0x4fa683?_0x4f7619['Tools'][_0x402500(0x26d)](_0x4fa683):_0xcaf32();}function _0x40fa1d(_0x452b7e,_0x442497,_0xba15f2){const _0x10f4df=_0x63b022;let _0x5e5167=_0xa86875(_0x452b7e),_0xbf1dfa=_0x442497??_0x5e5167,_0x30676b=_0xba15f2??_0xbf1dfa;return{'startOffset':_0x41097c(Math[_0x10f4df(0x1de)](_0xbf1dfa,_0x30676b),_0x5e5167),'endOffset':_0x41097c(Math[_0x10f4df(0x1ff)](_0xbf1dfa,_0x30676b),_0x5e5167)};}function _0x41097c(_0x58b44e,_0x1fe447){const _0x46174a=_0x63b022;return Math[_0x46174a(0x1ff)](0x0,Math[_0x46174a(0x1de)](_0x58b44e,_0x1fe447));}function _0xa86875(_0x1e6020){const _0x3d3f3d=_0x63b022;return _0x1e6020[_0x3d3f3d(0x1df)]['endsWith'](''+_0x4f7619['DataStreamTreeTokenType'][_0x3d3f3d(0x194)]+_0x4f7619[_0x3d3f3d(0x21e)][_0x3d3f3d(0x257)])?Math['max'](0x0,_0x1e6020[_0x3d3f3d(0x1df)]['length']-0x2):_0x1e6020[_0x3d3f3d(0x1df)]['endsWith'](_0x4f7619[_0x3d3f3d(0x21e)][_0x3d3f3d(0x257)])?Math[_0x3d3f3d(0x1ff)](0x0,_0x1e6020[_0x3d3f3d(0x1df)][_0x3d3f3d(0x177)]-0x1):_0x1e6020['dataStream'][_0x3d3f3d(0x177)];}function _0x6df54e(_0x4d4b01,_0x50e2d2,_0x34c8f1,_0x1caeb7){_0x34c8f1>_0x50e2d2&&_0x168a5e(_0x4d4b01,_0x50e2d2,_0x34c8f1),_0x5a1408(_0x4d4b01,_0x50e2d2,_0x1caeb7);}function _0x5877f1(_0x530124,_0x5cc289,_0x273d16){const _0x36eeb7=_0x63b022;var _0x5cdca2,_0x454a39;let _0x5d7b3d=_0x3be366(_0x530124),_0x30a414=(_0x5cdca2=_0x5d7b3d[_0x36eeb7(0x1fe)])==null?void 0x0:_0x5cdca2[_0x36eeb7(0x155)](_0x5ad8aa=>_0x5ad8aa[_0x36eeb7(0x1c0)]===_0x5cc289&&_0x359c18(_0x5ad8aa));if(!_0x30a414)return null;let _0x30db2d=(0x0,_0x4f7619[_0x36eeb7(0x1d9)])(_0x30a414);return _0x6df54e(_0x5d7b3d,_0x30db2d[_0x36eeb7(0x23d)],_0x30db2d['endOffset'],_0x273d16),_0x5d7b3d[_0x36eeb7(0x1fe)]=(_0x454a39=_0x5d7b3d[_0x36eeb7(0x1fe)])==null?void 0x0:_0x454a39[_0x36eeb7(0x1ec)](_0x5a2d80=>_0x5a2d80[_0x36eeb7(0x1c0)]!==_0x5cc289),_0x30db2d['startOffset']+_0x273d16['length'];}function _0x5a1408(_0x4d0ffc,_0x5c3d7f,_0x12fc29){const _0x3518a2=_0x63b022;_0x12fc29&&(_0x4d0ffc[_0x3518a2(0x1df)]=''+_0x4d0ffc[_0x3518a2(0x1df)][_0x3518a2(0x1f0)](0x0,_0x5c3d7f)+_0x12fc29+_0x4d0ffc[_0x3518a2(0x1df)][_0x3518a2(0x1f0)](_0x5c3d7f),_0x5e7e78(_0x4d0ffc,_0x5c3d7f,_0x12fc29[_0x3518a2(0x177)]));}function _0x168a5e(_0x168610,_0x517b7a,_0x7bfe8c){const _0x43239b=_0x63b022;let _0x3d83a1=_0x7bfe8c-_0x517b7a;_0x168610['dataStream']=''+_0x168610['dataStream'][_0x43239b(0x1f0)](0x0,_0x517b7a)+_0x168610['dataStream'][_0x43239b(0x1f0)](_0x7bfe8c),_0x28fb35(_0x168610,_0x517b7a,_0x3d83a1);}function _0x5e7e78(_0x423761,_0x57d9aa,_0x3fdb8f){const _0x5c357b=_0x63b022;_0x423761[_0x5c357b(0x19e)]=_0xf56160(_0x423761[_0x5c357b(0x19e)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x18a)]=_0xf56160(_0x423761[_0x5c357b(0x18a)],_0x57d9aa,_0x3fdb8f),_0x423761['customBlocks']=_0xf56160(_0x423761[_0x5c357b(0x1ef)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x17e)]=_0x56b80b(_0x423761[_0x5c357b(0x17e)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x168)]=_0x39c228(_0x423761['tables'],_0x57d9aa,_0x3fdb8f),_0x423761['columnGroups']=_0xa3ffcd(_0x423761[_0x5c357b(0x1a3)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x1fe)]=_0xa3ffcd(_0x423761[_0x5c357b(0x1fe)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x227)]=_0xa3ffcd(_0x423761[_0x5c357b(0x227)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x183)]=_0xa3ffcd(_0x423761[_0x5c357b(0x183)],_0x57d9aa,_0x3fdb8f);}function _0x28fb35(_0x354e00,_0x11a6e2,_0x33b005){const _0x34af14=_0x63b022;var _0x38d0db,_0x597272;_0x354e00[_0x34af14(0x19e)]=_0x1b29df(_0x354e00[_0x34af14(0x19e)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x18a)]=_0x1b29df(_0x354e00[_0x34af14(0x18a)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x1ef)]=_0x1b29df(_0x354e00['customBlocks'],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x17e)]=(_0x38d0db=_0x3c9e04((_0x597272=_0x354e00[_0x34af14(0x17e)])==null?void 0x0:_0x597272[_0x34af14(0x1c7)](_0x41787d=>({..._0x41787d,'startIndex':_0x41787d['st'],'endIndex':_0x41787d['ed']})),_0x11a6e2,_0x33b005))==null?void 0x0:_0x38d0db[_0x34af14(0x1c7)](_0x148292=>{let {startIndex:_0x280779,endIndex:_0x1b10cf,..._0x1bf14f}=_0x148292;return{..._0x1bf14f,'st':_0x280779,'ed':_0x1b10cf};}),_0x354e00['tables']=_0x3c9e04(_0x354e00[_0x34af14(0x168)],_0x11a6e2,_0x33b005),_0x354e00['columnGroups']=_0x3c7d4d(_0x354e00[_0x34af14(0x1a3)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x1fe)]=_0x3c7d4d(_0x354e00[_0x34af14(0x1fe)],_0x11a6e2,_0x33b005),_0x354e00['customDecorations']=_0x3c7d4d(_0x354e00[_0x34af14(0x227)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x183)]=_0x3c7d4d(_0x354e00[_0x34af14(0x183)],_0x11a6e2,_0x33b005);}function _0xf56160(_0xbf282c,_0x18ee55,_0x3c3849){const _0x4da671=_0x63b022;return _0xbf282c==null?void 0x0:_0xbf282c[_0x4da671(0x1c7)](_0x3265e1=>_0x3265e1['startIndex']>=_0x18ee55?{..._0x3265e1,'startIndex':_0x3265e1[_0x4da671(0x19b)]+_0x3c3849}:_0x3265e1);}function _0x1b29df(_0x163faf,_0x4367dd,_0x4c5b03){const _0x1e0039=_0x63b022;let _0x397d9a=_0x4367dd+_0x4c5b03;return _0x163faf==null?void 0x0:_0x163faf[_0x1e0039(0x1c7)](_0x59991f=>_0x59991f['startIndex']>=_0x4367dd&&_0x59991f[_0x1e0039(0x19b)]<_0x397d9a?null:_0x59991f['startIndex']>=_0x397d9a?{..._0x59991f,'startIndex':_0x59991f[_0x1e0039(0x19b)]-_0x4c5b03}:_0x59991f)['filter'](_0xfdad56=>_0xfdad56!=null);}function _0x56b80b(_0x23d159,_0xd872d6,_0x5781dc){const _0x2a8fa0=_0x63b022;return _0x23d159==null?void 0x0:_0x23d159[_0x2a8fa0(0x1c7)](_0x2590f0=>_0x2590f0['st']>=_0xd872d6?{..._0x2590f0,'st':_0x2590f0['st']+_0x5781dc,'ed':_0x2590f0['ed']+_0x5781dc}:_0x2590f0['ed']>_0xd872d6?{..._0x2590f0,'ed':_0x2590f0['ed']+_0x5781dc}:_0x2590f0);}function _0xa3ffcd(_0x1b5681,_0x1d7f05,_0x2f80c){const _0x4eac3b=_0x63b022;return _0x1b5681==null?void 0x0:_0x1b5681[_0x4eac3b(0x1c7)](_0xb02753=>(0x0,_0x4f7619[_0x4eac3b(0x1c3)])(_0xb02753,_0x1d7f05,_0x2f80c));}function _0x39c228(_0x2103db,_0x476adc,_0x3acb19){const _0x432056=_0x63b022;return _0x2103db==null?void 0x0:_0x2103db[_0x432056(0x1c7)](_0x32a9af=>(0x0,_0x4f7619[_0x432056(0x223)])(_0x32a9af,_0x476adc,_0x3acb19));}function _0x3c7d4d(_0x1b2fd8,_0x47bf15,_0x566400){const _0x329fc8=_0x63b022;return _0x1b2fd8==null?void 0x0:_0x1b2fd8[_0x329fc8(0x1c7)](_0xae3799=>(0x0,_0x4f7619['shiftInclusiveRangeOnDelete'])(_0xae3799,_0x47bf15,_0x566400))[_0x329fc8(0x1ec)](_0x282d16=>_0x282d16!=null);}function _0x3c9e04(_0x247105,_0x1c57db,_0x5b8869){const _0x161189=_0x63b022;return _0x247105==null?void 0x0:_0x247105[_0x161189(0x1c7)](_0x2f4c91=>(0x0,_0x4f7619[_0x161189(0x244)])(_0x2f4c91,_0x1c57db,_0x5b8869))[_0x161189(0x1ec)](_0x1e9f71=>_0x1e9f71!=null);}function _0x3be366(_0x338a53){const _0x1725c1=_0x63b022;if(!_0x338a53[_0x1725c1(0x1fd)])throw Error(_0x1725c1(0x1b9));return _0x338a53[_0x1725c1(0x1fd)];}function _0x560506(_0x4d91c6){'@babel/helpers - typeof';const _0x4947e9=_0x63b022;return _0x560506=typeof Symbol==_0x4947e9(0x248)&&typeof Symbol[_0x4947e9(0x19f)]==_0x4947e9(0x1d7)?function(_0x5b8d9e){return typeof _0x5b8d9e;}:function(_0x4fdc42){const _0x21bedd=_0x4947e9;return _0x4fdc42&&typeof Symbol==_0x21bedd(0x248)&&_0x4fdc42[_0x21bedd(0x21b)]===Symbol&&_0x4fdc42!==Symbol[_0x21bedd(0x1c8)]?_0x21bedd(0x1d7):typeof _0x4fdc42;},_0x560506(_0x4d91c6);}function _0xacdc61(_0x5a0729,_0x2c836d){const _0x168d94=_0x63b022;if(_0x560506(_0x5a0729)!=_0x168d94(0x18f)||!_0x5a0729)return _0x5a0729;var _0x1660fc=_0x5a0729[Symbol['toPrimitive']];if(_0x1660fc!==void 0x0){var _0x10a500=_0x1660fc[_0x168d94(0x22f)](_0x5a0729,_0x2c836d||_0x168d94(0x1c1));if(_0x560506(_0x10a500)!='object')return _0x10a500;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2c836d===_0x168d94(0x259)?String:Number)(_0x5a0729);}function _0x19448e(_0x278950){const _0x2ba4e0=_0x63b022;var _0x50b288=_0xacdc61(_0x278950,_0x2ba4e0(0x259));return _0x560506(_0x50b288)==_0x2ba4e0(0x1d7)?_0x50b288:_0x50b288+'';}function _0x11e211(_0x377400,_0x2b0016,_0x1614d2){const _0x187d2d=_0x63b022;return(_0x2b0016=_0x19448e(_0x2b0016))in _0x377400?Object[_0x187d2d(0x230)](_0x377400,_0x2b0016,{'value':_0x1614d2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x377400[_0x2b0016]=_0x1614d2,_0x377400;}var _0x2bf8cc=class extends _0x4f7619['Disposable']{constructor(..._0x416938){const _0x551343=_0x63b022;super(..._0x416938),_0x11e211(this,_0x551343(0x201),new Map()),_0x11e211(this,_0x551343(0x1dc),new Map()),_0x11e211(this,'_loadErrors',new Map()),_0x11e211(this,_0x551343(0x276),new _0x1092de[(_0x551343(0x20f))]()),_0x11e211(this,_0x551343(0x164),this[_0x551343(0x276)]['asObservable']());}['getFormula'](_0x78fec2,_0x184cf1){const _0x32c547=_0x63b022;var _0x6790d3;let _0x2f9d37=(_0x6790d3=this[_0x32c547(0x201)][_0x32c547(0x185)](_0x78fec2))==null?void 0x0:_0x6790d3[_0x32c547(0x1e0)][_0x184cf1];return _0x2f9d37?_0x4f7619[_0x32c547(0x26c)]['deepClone'](_0x2f9d37):void 0x0;}[_0x63b022(0x219)](_0x366bef){const _0x24c4f7=_0x63b022;var _0x4b0e13;return _0x4f7619['Tools'][_0x24c4f7(0x26d)](((_0x4b0e13=this[_0x24c4f7(0x201)][_0x24c4f7(0x185)](_0x366bef))==null?void 0x0:_0x4b0e13[_0x24c4f7(0x1e0)])??{});}[_0x63b022(0x1f1)](_0x3d16c2){const _0x111417=_0x63b022;let _0x4af1df=this[_0x111417(0x201)][_0x111417(0x185)](_0x3d16c2);return _0x4af1df?_0x4f7619['Tools']['deepClone'](_0x4af1df):void 0x0;}[_0x63b022(0x1a4)](_0x36a6f4,_0x24c532,_0x50df7b){return this['setFormulas'](_0x36a6f4,{[_0x24c532]:_0x50df7b});}[_0x63b022(0x149)](_0x3030e1,_0x4b8c5a){const _0x396e3c=_0x63b022;return this[_0x396e3c(0x284)]['has'](_0x3030e1)||!_0x56bef6(_0x4b8c5a)?!0x1:(this['_resources'][_0x396e3c(0x21f)](_0x3030e1,_0x4f7619[_0x396e3c(0x26c)][_0x396e3c(0x26d)](_0x4b8c5a)),this['_change$'][_0x396e3c(0x16a)]({'unitId':_0x3030e1}),!0x0);}[_0x63b022(0x1be)](_0x440747,_0x2a3ab7){const _0x2e80ae=_0x63b022;if(this[_0x2e80ae(0x284)][_0x2e80ae(0x237)](_0x440747)||!Object[_0x2e80ae(0x270)](_0x2a3ab7)[_0x2e80ae(0x177)]||!_0x56bef6({'schemaVersion':0x1,'formulas':_0x2a3ab7}))return!0x1;let _0x591dd2=this[_0x2e80ae(0x201)][_0x2e80ae(0x185)](_0x440747)??_0xcaf32(),_0x386202=_0x4f7619[_0x2e80ae(0x26c)]['deepClone'](_0x591dd2);return Object['assign'](_0x386202[_0x2e80ae(0x1e0)],_0x4f7619[_0x2e80ae(0x26c)]['deepClone'](_0x2a3ab7)),this['_resources'][_0x2e80ae(0x21f)](_0x440747,_0x386202),this[_0x2e80ae(0x276)][_0x2e80ae(0x16a)]({'unitId':_0x440747,'rangeIds':Object[_0x2e80ae(0x270)](_0x2a3ab7)}),!0x0;}[_0x63b022(0x217)](_0x825e54,_0x58e07c){const _0x6d4010=_0x63b022;if(this[_0x6d4010(0x284)][_0x6d4010(0x237)](_0x825e54))return!0x1;let _0x266713=this[_0x6d4010(0x201)][_0x6d4010(0x185)](_0x825e54);if(!(_0x266713!=null&&_0x266713[_0x6d4010(0x1e0)][_0x58e07c]))return!0x1;let _0xd9c993=_0x4f7619[_0x6d4010(0x26c)]['deepClone'](_0x266713);return delete _0xd9c993[_0x6d4010(0x1e0)][_0x58e07c],this[_0x6d4010(0x201)][_0x6d4010(0x21f)](_0x825e54,_0xd9c993),this[_0x6d4010(0x276)]['next']({'unitId':_0x825e54,'rangeIds':[_0x58e07c]}),!0x0;}['load'](_0x4ded3c,_0x5a0dcb){const _0x14c3c7=_0x63b022;return _0x5a0dcb&&typeof _0x5a0dcb=='object'&&_0x14c3c7(0x157)in _0x5a0dcb&&_0x5a0dcb['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x4ded3c,_0x5a0dcb,'unsupported-version'),!0x1):_0x56bef6(_0x5a0dcb)?(this[_0x14c3c7(0x201)]['set'](_0x4ded3c,_0x4f7619[_0x14c3c7(0x26c)][_0x14c3c7(0x26d)](_0x5a0dcb)),this[_0x14c3c7(0x1dc)][_0x14c3c7(0x16b)](_0x4ded3c),this[_0x14c3c7(0x284)][_0x14c3c7(0x16b)](_0x4ded3c),this['_change$']['next']({'unitId':_0x4ded3c}),!0x0):(this[_0x14c3c7(0x215)](_0x4ded3c,_0x5a0dcb,'invalid-resource'),!0x1);}[_0x63b022(0x1d5)](_0xf86154){const _0x16aa9e=_0x63b022;let _0x249719=this[_0x16aa9e(0x201)][_0x16aa9e(0x185)](_0xf86154);return _0x249719?_0x4f7619[_0x16aa9e(0x26c)][_0x16aa9e(0x26d)](_0x249719):this['_rawResources'][_0x16aa9e(0x237)](_0xf86154)?_0x4f7619['Tools']['deepClone'](this['_rawResources'][_0x16aa9e(0x185)](_0xf86154)):_0xcaf32();}['getLoadError'](_0x26d105){const _0x34201a=_0x63b022;return this[_0x34201a(0x284)][_0x34201a(0x185)](_0x26d105);}[_0x63b022(0x226)](_0x473de9){const _0xf4b5e1=_0x63b022;this[_0xf4b5e1(0x201)][_0xf4b5e1(0x16b)](_0x473de9),this[_0xf4b5e1(0x1dc)][_0xf4b5e1(0x16b)](_0x473de9),this[_0xf4b5e1(0x284)][_0xf4b5e1(0x16b)](_0x473de9),this[_0xf4b5e1(0x276)]['next']({'unitId':_0x473de9});}[_0x63b022(0x191)](){const _0x1fe325=_0x63b022;this[_0x1fe325(0x201)][_0x1fe325(0x1f6)](),this[_0x1fe325(0x1dc)][_0x1fe325(0x1f6)](),this[_0x1fe325(0x284)][_0x1fe325(0x1f6)](),this[_0x1fe325(0x276)][_0x1fe325(0x245)](),super[_0x1fe325(0x191)]();}[_0x63b022(0x215)](_0x30e4f0,_0x5716dd,_0x3fd198){const _0x42f0b8=_0x63b022;this[_0x42f0b8(0x201)][_0x42f0b8(0x16b)](_0x30e4f0),this['_rawResources']['set'](_0x30e4f0,_0x4f7619['Tools'][_0x42f0b8(0x26d)](_0x5716dd)),this[_0x42f0b8(0x284)][_0x42f0b8(0x21f)](_0x30e4f0,_0x3fd198),this['_change$']['next']({'unitId':_0x30e4f0});}};let _0x14fe4d=function(_0x42a356){const _0x48adbb=_0x63b022;return _0x42a356[_0x48adbb(0x1cd)]=_0x48adbb(0x1a6),_0x42a356[_0x48adbb(0x238)]='pending',_0x42a356['SUCCESS']=_0x48adbb(0x1cf),_0x42a356[_0x48adbb(0x1da)]='error',_0x42a356;}({});function _0x74fe3c(_0x525876,_0xe1201d){return function(_0x122236,_0x1b99c1){_0xe1201d(_0x122236,_0x1b99c1,_0x525876);};}function _0x57146d(_0x5286f9,_0x5752ba,_0x2d58da,_0x4841d2){const _0x1f0d8e=_0x63b022;var _0x4e8a7d=arguments[_0x1f0d8e(0x177)],_0x5c022a=_0x4e8a7d<0x3?_0x5752ba:_0x4841d2===null?_0x4841d2=Object[_0x1f0d8e(0x1ab)](_0x5752ba,_0x2d58da):_0x4841d2,_0x2c031c;if(typeof Reflect==_0x1f0d8e(0x18f)&&typeof Reflect[_0x1f0d8e(0x210)]==_0x1f0d8e(0x248))_0x5c022a=Reflect[_0x1f0d8e(0x210)](_0x5286f9,_0x5752ba,_0x2d58da,_0x4841d2);else{for(var _0x10a1d5=_0x5286f9[_0x1f0d8e(0x177)]-0x1;_0x10a1d5>=0x0;_0x10a1d5--)(_0x2c031c=_0x5286f9[_0x10a1d5])&&(_0x5c022a=(_0x4e8a7d<0x3?_0x2c031c(_0x5c022a):_0x4e8a7d>0x3?_0x2c031c(_0x5752ba,_0x2d58da,_0x5c022a):_0x2c031c(_0x5752ba,_0x2d58da))||_0x5c022a);}return _0x4e8a7d>0x3&&_0x5c022a&&Object[_0x1f0d8e(0x230)](_0x5752ba,_0x2d58da,_0x5c022a),_0x5c022a;}let _0x15eebe=class extends _0x4f7619['Disposable']{constructor(_0x2052b7,_0x5c64d3,_0x58fc61){const _0x9b5625=_0x63b022;super(),this[_0x9b5625(0x165)]=_0x2052b7,this[_0x9b5625(0x20e)]=_0x5c64d3,this[_0x9b5625(0x1a0)]=_0x58fc61,_0x11e211(this,_0x9b5625(0x16c),new Map()),_0x11e211(this,'_formulaKeys',new Map()),_0x11e211(this,'_presentationChanged$',new _0x1092de['Subject']()),_0x11e211(this,_0x9b5625(0x274),this[_0x9b5625(0x17c)]['asObservable']()),this[_0x9b5625(0x1b3)](this[_0x9b5625(0x20e)][_0x9b5625(0x180)][_0x9b5625(0x239)](_0x1ccde5=>{const _0x32e1cd=_0x9b5625;for(let _0x47ec32 of Object[_0x32e1cd(0x1ee)](_0x1ccde5))for(let _0xd8d7d8 of Object[_0x32e1cd(0x1ee)](_0x47ec32))_0xd8d7d8[_0x32e1cd(0x1b1)](_0xc0e974=>this[_0x32e1cd(0x28d)](_0xc0e974));}));}['syncUnit'](_0x184ecb){const _0x563d84=_0x63b022;var _0x51360c;let _0xca052e=_0x184ecb['getUnitId'](),_0x50b596=((_0x51360c=_0x184ecb[_0x563d84(0x1f7)]()[_0x563d84(0x1fd)])==null||(_0x51360c=_0x51360c[_0x563d84(0x1fe)])==null?void 0x0:_0x51360c['filter'](_0x359c18))??[],_0xd2a086=this['_model'][_0x563d84(0x219)](_0xca052e),_0x372303=new Set();for(let _0x49c5fe of _0x50b596){let _0x3e50ce=_0xd2a086[_0x49c5fe[_0x563d84(0x1c0)]];_0x3e50ce&&(_0x372303[_0x563d84(0x25c)](_0x361e38(_0xca052e,_0x49c5fe[_0x563d84(0x1c0)])),this[_0x563d84(0x28e)]({'unitId':_0xca052e,'rangeId':_0x49c5fe[_0x563d84(0x1c0)]},_0x3e50ce));}for(let _0x3de707 of Array['from'](this[_0x563d84(0x16c)][_0x563d84(0x1ee)]()))_0x3de707[_0x563d84(0x22a)]===_0xca052e&&!_0x372303[_0x563d84(0x237)](_0x361e38(_0x3de707[_0x563d84(0x22a)],_0x3de707['rangeId']))&&this[_0x563d84(0x15e)](_0x3de707);}[_0x63b022(0x28e)](_0x17578e,_0x333676){const _0x1f70c4=_0x63b022;let _0x85edf7=_0x361e38(_0x17578e[_0x1f70c4(0x22a)],_0x17578e['rangeId']),_0x1d3adf=this[_0x1f70c4(0x16c)][_0x1f70c4(0x185)](_0x85edf7),_0x28a905=this[_0x1f70c4(0x1a0)][_0x1f70c4(0x1bb)](_0x17578e[_0x1f70c4(0x22a)]);if(_0x1d3adf&&_0x1d3adf['config']['formula']===_0x333676['formula']&&_0x1d3adf[_0x1f70c4(0x1a9)]===_0x28a905){_0x1d3adf[_0x1f70c4(0x1e6)]=_0x333676;let _0x150feb=_0x1d3adf[_0x1f70c4(0x1c5)]?this[_0x1f70c4(0x20e)][_0x1f70c4(0x18d)](_0x1d3adf[_0x1f70c4(0x22a)],_0x1d3adf[_0x1f70c4(0x22a)],_0x1d3adf[_0x1f70c4(0x1c5)])??void 0x0:void 0x0;_0x1d3adf['liveResult']=_0x150feb,this[_0x1f70c4(0x211)](_0x85edf7,_0x357d66(_0x333676,_0x150feb));return;}_0x1d3adf!=null&&_0x1d3adf['formulaId']&&this[_0x1f70c4(0x24b)](_0x1d3adf);let _0x121be7={..._0x17578e,'config':_0x333676,'referenceRevision':_0x28a905,'presentation':_0x357d66(_0x333676,void 0x0)};if(this[_0x1f70c4(0x16c)]['set'](_0x85edf7,_0x121be7),!_0x333676[_0x1f70c4(0x23f)][_0x1f70c4(0x247)]())return;let _0x533a5b=this[_0x1f70c4(0x20e)]['registerFormulaWithRange'](_0x17578e[_0x1f70c4(0x22a)],_0x17578e[_0x1f70c4(0x22a)],_0x333676['formula'],void 0x0,{'rangeId':_0x17578e['rangeId']},_0x4ccd29['OtherFormulaBizType']['DOC'],_0x17578e[_0x1f70c4(0x1c0)]);_0x121be7['formulaId']=_0x533a5b,this[_0x1f70c4(0x14b)][_0x1f70c4(0x21f)](_0x533a5b,_0x85edf7);}[_0x63b022(0x15e)](_0x532379){const _0x31407b=_0x63b022;let _0x2daa85=_0x361e38(_0x532379[_0x31407b(0x22a)],_0x532379[_0x31407b(0x1c0)]),_0x7dc10b=this[_0x31407b(0x16c)]['get'](_0x2daa85);_0x7dc10b&&(this['_deleteRegistration'](_0x7dc10b),this['_registrations'][_0x31407b(0x16b)](_0x2daa85));}[_0x63b022(0x17a)](_0x96a3ee){const _0x3c4cdc=_0x63b022;for(let _0x16d9b3 of Array['from'](this['_registrations'][_0x3c4cdc(0x1ee)]()))_0x16d9b3[_0x3c4cdc(0x22a)]===_0x96a3ee&&this['unregister'](_0x16d9b3);}[_0x63b022(0x1b0)](_0x289950){const _0x4442bd=_0x63b022;var _0x5e568f;return(_0x5e568f=this[_0x4442bd(0x16c)][_0x4442bd(0x185)](_0x361e38(_0x289950[_0x4442bd(0x22a)],_0x289950[_0x4442bd(0x1c0)])))==null?void 0x0:_0x5e568f[_0x4442bd(0x15a)];}[_0x63b022(0x275)](_0x4b5f17){const _0x463511=_0x63b022;let _0x41ceee=this[_0x463511(0x16c)][_0x463511(0x185)](_0x361e38(_0x4b5f17[_0x463511(0x22a)],_0x4b5f17[_0x463511(0x1c0)]));return _0x41ceee?_0x5851da(_0x41ceee):void 0x0;}[_0x63b022(0x234)](){const _0x40c22c=_0x63b022;return Array[_0x40c22c(0x24e)](this['_registrations'][_0x40c22c(0x1ee)](),_0x35cb26=>({'identity':{'unitId':_0x35cb26[_0x40c22c(0x22a)],'rangeId':_0x35cb26[_0x40c22c(0x1c0)]},'config':_0x35cb26['config'],'referenceRevision':_0x35cb26[_0x40c22c(0x1a9)],..._0x35cb26[_0x40c22c(0x25f)]?{'liveResult':_0x35cb26[_0x40c22c(0x25f)]}:null}));}[_0x63b022(0x191)](){const _0x14edce=_0x63b022;for(let _0x5c4e36 of this[_0x14edce(0x16c)][_0x14edce(0x1ee)]())this[_0x14edce(0x24b)](_0x5c4e36);this['_registrations'][_0x14edce(0x1f6)](),this[_0x14edce(0x14b)]['clear'](),this[_0x14edce(0x17c)][_0x14edce(0x245)](),super['dispose']();}[_0x63b022(0x28d)](_0x39284b){const _0x5acda7=_0x63b022;let _0x55024f=this[_0x5acda7(0x14b)][_0x5acda7(0x185)](_0x39284b[_0x5acda7(0x1c5)]),_0x5b01da=_0x55024f?this[_0x5acda7(0x16c)][_0x5acda7(0x185)](_0x55024f):void 0x0;!_0x55024f||!_0x5b01da||(_0x5b01da[_0x5acda7(0x25f)]=_0x39284b,this['_setPresentation'](_0x55024f,_0x357d66(_0x5b01da['config'],_0x39284b)));}['_setPresentation'](_0x3d5a6d,_0x2b41ad){const _0x159925=_0x63b022;var _0x2c3beb,_0xb3bce6;let _0x13fd1c=this[_0x159925(0x16c)][_0x159925(0x185)](_0x3d5a6d);if(!_0x13fd1c||_0x42a7c4(_0x13fd1c[_0x159925(0x15a)],_0x2b41ad))return;let _0x141e26=_0x13fd1c[_0x159925(0x15a)],_0x3ab55f=_0x5851da(_0x13fd1c);_0x13fd1c[_0x159925(0x15a)]=_0x2b41ad,this[_0x159925(0x17c)][_0x159925(0x16a)]({'unitId':_0x13fd1c[_0x159925(0x22a)],'rangeId':_0x13fd1c['rangeId'],'presentation':_0x2b41ad,'previousPresentation':_0x141e26,'result':_0x5851da(_0x13fd1c),'previousResult':{..._0x3ab55f,..._0x141e26,'value':(_0x2c3beb=_0x141e26['cell'])==null?void 0x0:_0x2c3beb['v'],'valueType':((_0xb3bce6=_0x141e26[_0x159925(0x195)])==null?void 0x0:_0xb3bce6['t'])??void 0x0}});}['_deleteRegistration'](_0x491272){const _0x27d70d=_0x63b022;_0x491272[_0x27d70d(0x1c5)]&&(this[_0x27d70d(0x20e)][_0x27d70d(0x228)](_0x491272[_0x27d70d(0x22a)],_0x491272[_0x27d70d(0x22a)],[_0x491272[_0x27d70d(0x1c5)]]),this[_0x27d70d(0x14b)][_0x27d70d(0x16b)](_0x491272[_0x27d70d(0x1c5)]));}};_0x15eebe=_0x57146d([_0x74fe3c(0x0,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x2bf8cc)),_0x74fe3c(0x1,(0x0,_0x4f7619['Inject'])(_0x4ccd29[_0x63b022(0x150)])),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x145aa2[_0x63b022(0x1e9)]))],_0x15eebe);function _0x361e38(_0x4c4da8,_0x354805){return _0x4c4da8+'\x00'+_0x354805;}function _0x357d66(_0xe76e1c,_0x101cfe){const _0x3aa275=_0x63b022;return(0x0,_0x145aa2['resolveFormulaResultPresentation'])({'numberFormat':_0xe76e1c[_0x3aa275(0x19c)],'lastValue':_0xe76e1c[_0x3aa275(0x1d8)],'result':_0x101cfe});}function _0x5851da(_0x3d03a2){const _0x146d3f=_0x63b022;var _0x38ac76,_0xb1197e,_0x369054;let _0x445b8c=_0x3d03a2[_0x146d3f(0x15a)],_0xcfbc85=_0x3d03a2['config'][_0x146d3f(0x23f)][_0x146d3f(0x247)]()?_0x445b8c[_0x146d3f(0x190)]||_0x445b8c[_0x146d3f(0x195)]==null?_0x146d3f(0x28a):((_0x38ac76=_0x3d03a2[_0x146d3f(0x25f)])==null?void 0x0:_0x38ac76[_0x146d3f(0x178)])===_0x4ccd29['FormulaResultStatus'][_0x146d3f(0x1da)]?_0x146d3f(0x1e1):_0x146d3f(0x1cf):_0x146d3f(0x1a6);return{..._0x445b8c,'status':_0xcfbc85,'value':(_0xb1197e=_0x445b8c[_0x146d3f(0x195)])==null?void 0x0:_0xb1197e['v'],'valueType':((_0x369054=_0x445b8c['cell'])==null?void 0x0:_0x369054['t'])??void 0x0};}function _0x42a7c4(_0x4e950e,_0x38ee22){const _0x121583=_0x63b022;var _0x42f657,_0x40c9a2,_0x22e678,_0x2059a8;return _0x4e950e['text']===_0x38ee22[_0x121583(0x282)]&&_0x4e950e['color']===_0x38ee22['color']&&_0x4e950e['pattern']===_0x38ee22['pattern']&&_0x4e950e[_0x121583(0x161)]===_0x38ee22[_0x121583(0x161)]&&_0x4e950e['stale']===_0x38ee22[_0x121583(0x190)]&&((_0x42f657=_0x4e950e[_0x121583(0x195)])==null?void 0x0:_0x42f657['t'])===((_0x40c9a2=_0x38ee22['cell'])==null?void 0x0:_0x40c9a2['t'])&&Object['is']((_0x22e678=_0x4e950e[_0x121583(0x195)])==null?void 0x0:_0x22e678['v'],(_0x2059a8=_0x38ee22[_0x121583(0x195)])==null?void 0x0:_0x2059a8['v']);}let _0x15f9ad={'id':_0x63b022(0x229),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x14f)],'handler':(_0x4f8a7e,_0x4adb6d)=>!(_0x4adb6d!=null&&_0x4adb6d[_0x63b022(0x22a)])||!_0x4adb6d[_0x63b022(0x1c0)]||!_0x4adb6d[_0x63b022(0x1e6)]?!0x1:_0x4f8a7e[_0x63b022(0x185)](_0x2bf8cc)['setFormula'](_0x4adb6d[_0x63b022(0x22a)],_0x4adb6d['rangeId'],_0x4adb6d[_0x63b022(0x1e6)])},_0x3a7b95={'id':_0x63b022(0x262),'type':_0x4f7619[_0x63b022(0x1ad)]['MUTATION'],'handler':(_0x309b6d,_0xa95eb)=>!(_0xa95eb!=null&&_0xa95eb[_0x63b022(0x22a)])||!_0xa95eb[_0x63b022(0x1c0)]?!0x1:_0x309b6d[_0x63b022(0x185)](_0x2bf8cc)[_0x63b022(0x217)](_0xa95eb[_0x63b022(0x22a)],_0xa95eb['rangeId'])},_0x507e5b={'id':'docs-formula.mutation.set-resource','type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x14f)],'handler':(_0x5ee399,_0x3bc101)=>!(_0x3bc101!=null&&_0x3bc101[_0x63b022(0x22a)])||!_0x3bc101[_0x63b022(0x186)]?!0x1:_0x5ee399['get'](_0x2bf8cc)['setResource'](_0x3bc101[_0x63b022(0x22a)],_0x3bc101[_0x63b022(0x186)])},_0x57290b={'id':_0x63b022(0x1b7),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x14f)],'handler':(_0x4f1cd2,_0x4f5a09)=>{const _0x269d42=_0x63b022;if(!(_0x4f5a09!=null&&_0x4f5a09[_0x269d42(0x22a)])||!_0x4f5a09[_0x269d42(0x1c6)]['length'])return!0x1;let _0x2dc49d=_0x4f1cd2[_0x269d42(0x185)](_0x2bf8cc),_0x300551=_0x4f1cd2[_0x269d42(0x185)](_0x145aa2[_0x269d42(0x1e9)]),_0x1d1a5b=_0x2dc49d[_0x269d42(0x1f1)](_0x4f5a09['unitId']);if(!_0x1d1a5b)return!0x1;let _0x18b05c=_0x4f7619[_0x269d42(0x26c)][_0x269d42(0x26d)](_0x1d1a5b),_0x2de6d2=!0x1;for(let _0x2a6519 of _0x4f5a09[_0x269d42(0x1c6)]){var _0x1ebac6,_0x5931f0,_0x59e35c,_0xa4cb2c;let _0x5bfd96=_0x18b05c[_0x269d42(0x1e0)][_0x2a6519['rangeId']];!_0x5bfd96||_0x5bfd96[_0x269d42(0x23f)]!==_0x2a6519[_0x269d42(0x1a1)]||((_0x1ebac6=_0x5bfd96[_0x269d42(0x19c)])==null?void 0x0:_0x1ebac6[_0x269d42(0x204)])!==_0x2a6519[_0x269d42(0x156)]||_0x300551[_0x269d42(0x1bb)](_0x4f5a09[_0x269d42(0x22a)])!==_0x2a6519[_0x269d42(0x17b)]||(((_0x5931f0=_0x5bfd96[_0x269d42(0x1d8)])==null?void 0x0:_0x5931f0['v'])!==_0x2a6519[_0x269d42(0x1d8)]['v']||((_0x59e35c=_0x5bfd96['lastValue'])==null?void 0x0:_0x59e35c['t'])!==_0x2a6519[_0x269d42(0x1d8)]['t']||((_0xa4cb2c=_0x5bfd96[_0x269d42(0x1d8)])==null?void 0x0:_0xa4cb2c[_0x269d42(0x204)])!==_0x2a6519[_0x269d42(0x1d8)]['pattern'])&&(_0x5bfd96[_0x269d42(0x1d8)]=_0x4f7619[_0x269d42(0x26c)]['deepClone'](_0x2a6519[_0x269d42(0x1d8)]),_0x2de6d2=!0x0);}return!_0x2de6d2||_0x2dc49d[_0x269d42(0x149)](_0x4f5a09['unitId'],_0x18b05c);}},_0x1fa41f={'id':_0x63b022(0x283),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x3adfb1,_0x16b9df)=>{const _0x2b74ca=_0x63b022;if(!(_0x16b9df!=null&&_0x16b9df[_0x2b74ca(0x23f)]['trim']()))return!0x1;let _0xbfa073=_0x28cabf(_0x3adfb1,_0x16b9df[_0x2b74ca(0x22a)],'');if(!_0xbfa073)return!0x1;let _0x8de0a3=_0x305d14(_0x16b9df['target'],_0xbfa073[_0x2b74ca(0x1fd)],_0x109ab8(_0x3adfb1,_0xbfa073[_0x2b74ca(0x22a)]));if(!_0x8de0a3)return!0x1;let _0xa7bc4d=_0x4d7fbf(_0x3adfb1,_0xbfa073[_0x2b74ca(0x22a)],_0x16b9df[_0x2b74ca(0x23f)],_0x16b9df[_0x2b74ca(0x1e2)]??[]);if(!_0xa7bc4d)return!0x1;let _0x4a10a2=_0x8da86b(_0xbfa073[_0x2b74ca(0x1fd)],_0xbfa073[_0x2b74ca(0x268)],_0xbfa073[_0x2b74ca(0x22a)]),_0x203a24=_0x1f873e({'documentData':_0xbfa073['documentData'],'resource':_0xbfa073[_0x2b74ca(0x186)],'rangeId':_0x4a10a2,'config':{'formula':_0x16b9df['formula'],..._0x16b9df[_0x2b74ca(0x19c)]?{'numberFormat':_0x16b9df['numberFormat']}:null},'startOffset':_0x8de0a3[_0x2b74ca(0x23d)],'endOffset':_0x8de0a3['endOffset']});if(!_0x203a24)return!0x1;let _0x320e1d=(0x0,_0x145aa2[_0x2b74ca(0x152)])(_0x3adfb1,_0xbfa073[_0x2b74ca(0x22a)],_0xa7bc4d);return!_0x320e1d||!_0x951212({'accessor':_0x3adfb1,'document':_0xbfa073['document'],'unitId':_0xbfa073[_0x2b74ca(0x22a)],'trigger':_0x1fa41f['id'],'rangeId':_0x4a10a2,'previousResource':_0xbfa073['resource'],'nextResource':_0x203a24[_0x2b74ca(0x290)],'previousDocumentData':_0xbfa073[_0x2b74ca(0x22b)],'nextDocumentData':_0x203a24[_0x2b74ca(0x264)],'cursorOffset':_0x203a24[_0x2b74ca(0x154)],'externalMutations':_0x320e1d})?!0x1:{'rangeId':_0x4a10a2,'startOffset':_0x203a24[_0x2b74ca(0x154)]-0x1,'endOffset':_0x203a24[_0x2b74ca(0x154)]};}},_0x556927={'id':_0x63b022(0x198),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0xbc826e,_0x343b11)=>{const _0x4ffdaf=_0x63b022;if(!(_0x343b11!=null&&_0x343b11[_0x4ffdaf(0x1c0)])||!_0x343b11[_0x4ffdaf(0x23f)]['trim']())return!0x1;let _0x4dae09=_0x28cabf(_0xbc826e,_0x343b11['unitId'],''),_0x4a16db=_0x4dae09==null?void 0x0:_0x4dae09[_0x4ffdaf(0x268)][_0x4ffdaf(0x236)](_0x4dae09[_0x4ffdaf(0x22a)],_0x343b11[_0x4ffdaf(0x1c0)]),_0x1b2b59=_0x4dae09?_0x3fe7af(_0x4dae09[_0x4ffdaf(0x22b)][_0x4ffdaf(0x1fd)],_0x343b11[_0x4ffdaf(0x1c0)]):void 0x0;if(!_0x4dae09||!_0x4a16db||!_0x1b2b59)return!0x1;let _0x19ceac=_0x4d7fbf(_0xbc826e,_0x4dae09[_0x4ffdaf(0x22a)],_0x343b11[_0x4ffdaf(0x23f)],_0x343b11[_0x4ffdaf(0x1e2)]??[]);if(!_0x19ceac)return!0x1;let _0x411085=(0x0,_0x145aa2[_0x4ffdaf(0x152)])(_0xbc826e,_0x4dae09[_0x4ffdaf(0x22a)],_0x19ceac);if(!_0x411085)return!0x1;let _0x23e1d2=_0x5458c3(_0x4dae09[_0x4ffdaf(0x186)]);return _0x23e1d2[_0x4ffdaf(0x1e0)][_0x343b11['rangeId']]={'formula':_0x343b11['formula'],..._0x343b11[_0x4ffdaf(0x19c)]?{'numberFormat':_0x343b11['numberFormat']}:_0x4a16db[_0x4ffdaf(0x19c)]?{'numberFormat':_0x4a16db['numberFormat']}:null},_0x951212({'accessor':_0xbc826e,'document':_0x4dae09['document'],'unitId':_0x4dae09[_0x4ffdaf(0x22a)],'trigger':_0x556927['id'],'rangeId':_0x343b11[_0x4ffdaf(0x1c0)],'previousResource':_0x4dae09['resource'],'nextResource':_0x23e1d2,'cursorOffset':_0x1b2b59['endIndex']+0x1,'externalMutations':_0x411085});}},_0x588adf={'id':_0x63b022(0x272),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x1da91a,_0x11f82d)=>{const _0x2f9f90=_0x63b022;if(!(_0x11f82d!=null&&_0x11f82d[_0x2f9f90(0x1c0)]))return!0x1;let _0xefcea3=_0x28cabf(_0x1da91a,_0x11f82d[_0x2f9f90(0x22a)],''),_0x1628c6=_0xefcea3==null?void 0x0:_0xefcea3[_0x2f9f90(0x268)][_0x2f9f90(0x236)](_0xefcea3[_0x2f9f90(0x22a)],_0x11f82d['rangeId']),_0x396e64=_0xefcea3?_0x3fe7af(_0xefcea3[_0x2f9f90(0x22b)][_0x2f9f90(0x1fd)],_0x11f82d[_0x2f9f90(0x1c0)]):void 0x0;if(!_0xefcea3||!_0x1628c6||!_0x396e64)return!0x1;let _0x2564eb=_0x5458c3(_0xefcea3['resource']);return _0x2564eb[_0x2f9f90(0x1e0)][_0x11f82d[_0x2f9f90(0x1c0)]]={..._0x1628c6,..._0x11f82d[_0x2f9f90(0x19c)]?{'numberFormat':_0x11f82d[_0x2f9f90(0x19c)]}:null},_0x11f82d[_0x2f9f90(0x19c)]||delete _0x2564eb[_0x2f9f90(0x1e0)][_0x11f82d[_0x2f9f90(0x1c0)]]['numberFormat'],_0x951212({'accessor':_0x1da91a,'document':_0xefcea3[_0x2f9f90(0x1e3)],'unitId':_0xefcea3[_0x2f9f90(0x22a)],'trigger':_0x588adf['id'],'rangeId':_0x11f82d[_0x2f9f90(0x1c0)],'previousResource':_0xefcea3[_0x2f9f90(0x186)],'nextResource':_0x2564eb,'cursorOffset':_0x396e64['endIndex']+0x1,'externalMutations':{}});}},_0xa85899={'id':_0x63b022(0x222),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x3b757d,_0x520dc4)=>_0x2b3d4f(_0x3b757d,_0x520dc4,'',_0xa85899['id'])},_0x4453ab={'id':_0x63b022(0x25a),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x20e2e5,_0x189fd2)=>_0x2b3d4f(_0x20e2e5,_0x189fd2,(_0x189fd2==null?void 0x0:_0x189fd2[_0x63b022(0x282)])??'',_0x4453ab['id'])},_0x16b5e8={'id':_0x63b022(0x28b),'type':_0x4f7619[_0x63b022(0x1ad)]['COMMAND'],'handler':(_0x4b2dc3,_0x1bf708)=>{const _0x50c316=_0x63b022;if(!(_0x1bf708!=null&&_0x1bf708['rangeId']))return!0x1;let _0x1c9cfd=_0x28cabf(_0x4b2dc3,_0x1bf708['unitId'],'');if(!_0x1c9cfd)return!0x1;let _0x240f1b=_0x4b2dc3[_0x50c316(0x185)](_0x15eebe)['getResult']({'unitId':_0x1c9cfd[_0x50c316(0x22a)],'rangeId':_0x1bf708[_0x50c316(0x1c0)]});return _0x240f1b?_0x2b3d4f(_0x4b2dc3,_0x1bf708,_0x240f1b['text'],_0x16b5e8['id']):!0x1;}};function _0x2b3d4f(_0xf73de0,_0x2de0dc,_0x32000d,_0xfae48e){const _0x432e46=_0x63b022;if(!(_0x2de0dc!=null&&_0x2de0dc[_0x432e46(0x1c0)]))return!0x1;let _0x3a53a1=_0x28cabf(_0xf73de0,_0x2de0dc[_0x432e46(0x22a)],'');if(!_0x3a53a1)return!0x1;let _0x2115fc=_0x5209f3({'documentData':_0x3a53a1[_0x432e46(0x22b)],'resource':_0x3a53a1['resource'],'rangeId':_0x2de0dc[_0x432e46(0x1c0)],'text':_0x32000d});return _0x2115fc?_0x951212({'accessor':_0xf73de0,'document':_0x3a53a1[_0x432e46(0x1e3)],'unitId':_0x3a53a1[_0x432e46(0x22a)],'trigger':_0xfae48e,'rangeId':_0x2de0dc[_0x432e46(0x1c0)],'previousResource':_0x3a53a1['resource'],'nextResource':_0x2115fc[_0x432e46(0x290)],'previousDocumentData':_0x3a53a1[_0x432e46(0x22b)],'nextDocumentData':_0x2115fc[_0x432e46(0x264)],'cursorOffset':_0x2115fc[_0x432e46(0x154)],'externalMutations':{}}):!0x1;}function _0x28cabf(_0xc647bd,_0x19c178,_0x7cfc69){const _0x1a3625=_0x63b022;if(_0x7cfc69)return null;let _0x5de7d9=_0xc647bd[_0x1a3625(0x185)](_0x4f7619['IUniverInstanceService']),_0x50ee2d=(_0x19c178?_0x5de7d9[_0x1a3625(0x1e8)](_0x19c178,_0x4f7619[_0x1a3625(0x280)][_0x1a3625(0x1e5)]):_0x5de7d9['getCurrentUnitOfType'](_0x4f7619[_0x1a3625(0x280)]['UNIVER_DOC']))??null;if(!_0x50ee2d)return null;let _0x3d54e6=_0x50ee2d[_0x1a3625(0x1f7)](),_0x8b0ee2=_0x3d54e6[_0x1a3625(0x1fd)];if(_0x3d54e6['disabled']||!_0x8b0ee2)return null;let _0xbab7f3=_0xc647bd['get'](_0x2bf8cc);return _0xbab7f3[_0x1a3625(0x218)](_0x50ee2d[_0x1a3625(0x26b)]())?null:{'document':_0x50ee2d,'body':_0x8b0ee2,'documentData':_0x3d54e6,'model':_0xbab7f3,'resource':_0xbab7f3[_0x1a3625(0x1f1)](_0x50ee2d[_0x1a3625(0x26b)]())??_0xcaf32(),'unitId':_0x50ee2d[_0x1a3625(0x26b)]()};}function _0x109ab8(_0x5c65a2,_0x4f4029){const _0x5bfdd5=_0x63b022;var _0x40e06d;return(_0x40e06d=_0x5c65a2[_0x5bfdd5(0x185)](_0x598ef1[_0x5bfdd5(0x205)])[_0x5bfdd5(0x209)]({'subUnitId':_0x4f4029,'unitId':_0x4f4029}))==null?void 0x0:_0x40e06d[0x0];}function _0x305d14(_0x3e7f20,_0x3f9bd5,_0x10195f){const _0x45abfc=_0x63b022;if((_0x3e7f20==null?void 0x0:_0x3e7f20[_0x45abfc(0x26f)])===_0x45abfc(0x26a)){var _0x50ee9d;let _0xac3b76=((_0x50ee9d=_0x3f9bd5[_0x45abfc(0x19e)])==null?void 0x0:_0x50ee9d[_0x45abfc(0x1ec)](_0x58ba2b=>_0x58ba2b[_0x45abfc(0x285)]===_0x3e7f20[_0x45abfc(0x285)]))??[];if(_0xac3b76[_0x45abfc(0x177)]!==0x1)return null;let _0x15ef31=_0xac3b76[0x0],_0x48faf0=(0x0,_0x4f7619[_0x45abfc(0x24d)])(_0x3f9bd5,_0x15ef31),_0x4b5daf=_0x15ef31[_0x45abfc(0x19b)]-_0x48faf0,_0x24d675=_0x3e7f20['position']===_0x45abfc(0x1ba)?_0x4b5daf:_0x3e7f20['position'];if(!Number['isInteger'](_0x24d675)||_0x24d675<0x0||_0x24d675>_0x4b5daf)return null;let _0x44cde0=_0x48faf0+_0x24d675;return{'startOffset':_0x44cde0,'endOffset':_0x44cde0};}if((_0x3e7f20==null?void 0x0:_0x3e7f20[_0x45abfc(0x26f)])===_0x45abfc(0x1d1))return!Number['isInteger'](_0x3e7f20[_0x45abfc(0x23d)])||!Number['isInteger'](_0x3e7f20[_0x45abfc(0x1a5)])?null:{'startOffset':Math[_0x45abfc(0x1de)](_0x3e7f20[_0x45abfc(0x23d)],_0x3e7f20[_0x45abfc(0x1a5)]),'endOffset':Math[_0x45abfc(0x1ff)](_0x3e7f20[_0x45abfc(0x23d)],_0x3e7f20[_0x45abfc(0x1a5)])};let _0x4feca1=(_0x3e7f20==null?void 0x0:_0x3e7f20[_0x45abfc(0x26f)])===_0x45abfc(0x18b)?_0x3e7f20[_0x45abfc(0x18b)]:_0x10195f;return!_0x4feca1||_0x4feca1[_0x45abfc(0x1dd)]?null:{'startOffset':Math[_0x45abfc(0x1de)](_0x4feca1[_0x45abfc(0x23d)],_0x4feca1[_0x45abfc(0x1a5)]),'endOffset':Math['max'](_0x4feca1[_0x45abfc(0x23d)],_0x4feca1[_0x45abfc(0x1a5)])};}function _0x4d7fbf(_0x1d850d,_0x48dcc9,_0x592239,_0x6ce9a0){const _0x4e77e7=_0x63b022;let _0x216d4e=_0x1d850d['get'](_0x4ccd29[_0x4e77e7(0x221)]),_0x868ac9=_0x592239['startsWith']('=')?_0x592239[_0x4e77e7(0x1f0)](0x1):_0x592239,_0x29e9d=_0x216d4e[_0x4e77e7(0x182)](_0x868ac9);if(!_0x29e9d)return null;let _0x5e74de=_0x1d850d[_0x4e77e7(0x185)](_0x145aa2['HostExternalReferenceModel']),_0x29b423=(0x0,_0x145aa2[_0x4e77e7(0x160)])({'qualifiers':(0x0,_0x145aa2[_0x4e77e7(0x242)])(_0x29e9d),'explicitReferences':_0x6ce9a0??[],'resolveBinding':_0x14b54c=>_0x5e74de['resolveBinding'](_0x48dcc9,_0x14b54c)});return _0x29b423['status']===_0x4e77e7(0x189)?_0x29b423[_0x4e77e7(0x15b)]:null;}function _0x8da86b(_0x1de03b,_0x4d4ee6,_0x56eb8a){const _0x1d8a19=_0x63b022;var _0xceaeb6;let _0x6a2640=(0x0,_0x4f7619['generateRandomId'])(0x6);for(;_0x1de03b!=null&&(_0xceaeb6=_0x1de03b[_0x1d8a19(0x1fe)])!=null&&_0xceaeb6[_0x1d8a19(0x261)](_0x3a35e7=>_0x3a35e7[_0x1d8a19(0x1c0)]===_0x6a2640)||_0x4d4ee6[_0x1d8a19(0x236)](_0x56eb8a,_0x6a2640);)_0x6a2640=(0x0,_0x4f7619['generateRandomId'])(0x6);return _0x6a2640;}function _0x1f873e(_0x2d9d6){try{return _0x2c0d1f(_0x2d9d6);}catch(_0x3c0e7b){if(_0x3c0e7b instanceof _0x3890ed)return null;throw _0x3c0e7b;}}function _0x5e3378(_0x24c846){const _0x50be4e=_0x63b022;let _0x241630=_0x24c846[_0x50be4e(0x192)]&&_0x24c846[_0x50be4e(0x264)]?_0x182de1(_0x24c846[_0x50be4e(0x1e3)],_0x24c846[_0x50be4e(0x22a)],_0x24c846['previousDocumentData'],_0x24c846[_0x50be4e(0x264)],_0x24c846[_0x50be4e(0x154)],_0x24c846['trigger']):null;return _0x24c846[_0x50be4e(0x192)]&&_0x24c846['nextDocumentData']&&!_0x241630?null:{'documentRedo':_0x241630,'resourceRedo':{'id':_0x507e5b['id'],'params':{'unitId':_0x24c846['unitId'],'resource':_0x24c846[_0x50be4e(0x290)]}},'resourceUndo':{'id':_0x507e5b['id'],'params':{'unitId':_0x24c846[_0x50be4e(0x22a)],'resource':_0x24c846[_0x50be4e(0x251)]}}};}function _0x469a49(_0x902381,_0xede2c3,_0x317230,_0x30fff0){const _0xdda9cc=_0x63b022;_0x30fff0[_0xdda9cc(0x171)]({'id':_0x902381[_0xdda9cc(0x174)]+':'+_0x902381[_0xdda9cc(0x1c0)],'unitID':_0x902381[_0xdda9cc(0x22a)],'redoMutations':[..._0x902381[_0xdda9cc(0x1b6)]['redoMutation']?[_0x902381[_0xdda9cc(0x1b6)][_0xdda9cc(0x16f)]]:[],..._0xede2c3[_0xdda9cc(0x17f)]?[_0xede2c3[_0xdda9cc(0x17f)]]:[],_0xede2c3[_0xdda9cc(0x1d6)]],'undoMutations':[_0xede2c3[_0xdda9cc(0x207)],..._0x317230?[_0x317230]:[],..._0x902381['externalMutations'][_0xdda9cc(0x233)]?[_0x902381[_0xdda9cc(0x1b6)][_0xdda9cc(0x233)]]:[]]});}function _0x951212(_0x449a28){const _0x19743a=_0x63b022;let _0xbab2ae=_0x449a28[_0x19743a(0x1bc)][_0x19743a(0x185)](_0x4f7619[_0x19743a(0x269)]),_0x3c8c54=_0x449a28[_0x19743a(0x1bc)][_0x19743a(0x185)](_0x4f7619[_0x19743a(0x1f9)]),_0x3ff748=_0x449a28[_0x19743a(0x1bc)][_0x19743a(0x185)](_0x598ef1['DocSelectionManagerService']),_0x2eef9b=_0x5e3378(_0x449a28);if(!_0x2eef9b)return!0x1;let _0x2e18f0=!0x1,_0x3e01ff=null,_0x24244d=!0x1;try{if(_0x449a28[_0x19743a(0x1b6)]['redoMutation']){if(!_0xbab2ae['syncExecuteCommand'](_0x449a28[_0x19743a(0x1b6)][_0x19743a(0x16f)]['id'],_0x449a28[_0x19743a(0x1b6)]['redoMutation'][_0x19743a(0x15f)]))return!0x1;_0x2e18f0=!0x0;}if(_0x2eef9b['documentRedo']){let _0x3f5ccb=_0xbab2ae[_0x19743a(0x267)](_0x2eef9b[_0x19743a(0x17f)]['id'],_0x2eef9b[_0x19743a(0x17f)][_0x19743a(0x15f)]);if(!_0x3f5ccb)return _0x8e038(_0xbab2ae,_0x449a28[_0x19743a(0x1b6)],_0x2e18f0),!0x1;_0x3e01ff={'id':_0x598ef1[_0x19743a(0x166)]['id'],'params':{..._0x3f5ccb,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0xbab2ae[_0x19743a(0x267)](_0x2eef9b['resourceRedo']['id'],_0x2eef9b[_0x19743a(0x1d6)][_0x19743a(0x15f)]))return _0x262264(_0xbab2ae,_0x3e01ff),_0x8e038(_0xbab2ae,_0x449a28[_0x19743a(0x1b6)],_0x2e18f0),!0x1;_0x24244d=!0x0,_0x469a49(_0x449a28,_0x2eef9b,_0x3e01ff,_0x3c8c54);}catch(_0x35257b){throw _0x24244d&&_0xbab2ae[_0x19743a(0x267)](_0x2eef9b[_0x19743a(0x207)]['id'],_0x2eef9b[_0x19743a(0x207)][_0x19743a(0x15f)]),_0x262264(_0xbab2ae,_0x3e01ff),_0x8e038(_0xbab2ae,_0x449a28[_0x19743a(0x1b6)],_0x2e18f0),_0x35257b;}return _0x3ff748[_0x19743a(0x25e)]([{'startOffset':_0x449a28['cursorOffset'],'endOffset':_0x449a28['cursorOffset'],'segmentId':''}],{'unitId':_0x449a28[_0x19743a(0x22a)],'subUnitId':_0x449a28[_0x19743a(0x22a)]},!0x1,{[_0x598ef1[_0x19743a(0x20b)]]:!0x0}),!0x0;}function _0x182de1(_0x3e7fc0,_0x496149,_0x31707d,_0x1fda19,_0x3223a8,_0x409a52){const _0x3e58fa=_0x63b022;let _0x47ab33=_0x223a95(_0x31707d,_0x1fda19,(0x0,_0x4f7619[_0x3e58fa(0x200)])(_0x3e7fc0,''));return _0x47ab33?{'id':_0x598ef1[_0x3e58fa(0x166)]['id'],'params':{'unitId':_0x496149,'actions':_0x47ab33,'segmentId':'','textRanges':[{'startOffset':_0x3223a8,'endOffset':_0x3223a8,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x409a52}}:null;}function _0x262264(_0x126a13,_0x1d561d){const _0x449318=_0x63b022;_0x1d561d&&_0x126a13[_0x449318(0x267)](_0x1d561d['id'],_0x1d561d[_0x449318(0x15f)]);}function _0x8e038(_0x138b50,_0x249a1e,_0x19a7c5){const _0x558b6a=_0x63b022;_0x19a7c5&&_0x249a1e[_0x558b6a(0x233)]&&_0x138b50['syncExecuteCommand'](_0x249a1e[_0x558b6a(0x233)]['id'],_0x249a1e[_0x558b6a(0x233)][_0x558b6a(0x15f)]);}function _0x223a95(_0x48773c,_0x5e01a3,_0x39d464){const _0x282064=_0x63b022;let _0x25d7e8=_0x48773c[_0x282064(0x1fd)],_0x594f16=_0x5e01a3[_0x282064(0x1fd)],_0x493c39=_0x1de800(_0x25d7e8==null?void 0x0:_0x25d7e8[_0x282064(0x1df)],_0x594f16==null?void 0x0:_0x594f16['dataStream']);if(!_0x493c39||!_0x594f16)return null;let _0x4ec33a=new _0x4f7619[(_0x282064(0x181))]();return _0x4ec33a['retain'](_0x493c39[_0x282064(0x1ae)]),_0x493c39[_0x282064(0x14c)]>0x0&&_0x4ec33a[_0x282064(0x16e)](_0x493c39[_0x282064(0x14c)],(0x0,_0x4f7619[_0x282064(0x1a8)])(_0x594f16,_0x493c39['start'],_0x493c39[_0x282064(0x1ae)]+_0x493c39[_0x282064(0x14c)],!0x1)),_0x493c39[_0x282064(0x197)]>0x0&&_0x4ec33a[_0x282064(0x16b)](_0x493c39['deleteLength']),_0x4f7619['JSONX'][_0x282064(0x25b)]()[_0x282064(0x1b5)](_0x4ec33a[_0x282064(0x1d5)](),_0x39d464);}function _0x1de800(_0x395775,_0x4b58f2){const _0x501585=_0x63b022;if(_0x395775==null||_0x4b58f2==null||_0x395775===_0x4b58f2)return null;let _0x52a942=0x0;for(;_0x52a942<_0x395775[_0x501585(0x177)]&&_0x52a942<_0x4b58f2[_0x501585(0x177)]&&_0x395775[_0x52a942]===_0x4b58f2[_0x52a942];)_0x52a942+=0x1;let _0x1b9b46=_0x395775[_0x501585(0x177)],_0x34facf=_0x4b58f2[_0x501585(0x177)];for(;_0x1b9b46>_0x52a942&&_0x34facf>_0x52a942&&_0x395775[_0x1b9b46-0x1]===_0x4b58f2[_0x34facf-0x1];)--_0x1b9b46,--_0x34facf;return{'start':_0x52a942,'deleteLength':_0x1b9b46-_0x52a942,'insertLength':_0x34facf-_0x52a942};}function _0x5458c3(_0x56ec2d){const _0x48eb9f=_0x63b022;return{'schemaVersion':0x1,'formulas':Object[_0x48eb9f(0x193)](Object[_0x48eb9f(0x167)](_0x56ec2d['formulas'])[_0x48eb9f(0x1c7)](([_0x257e86,_0x63fa81])=>[_0x257e86,{..._0x63fa81,..._0x63fa81[_0x48eb9f(0x19c)]?{'numberFormat':{..._0x63fa81[_0x48eb9f(0x19c)]}}:null,..._0x63fa81['lastValue']?{'lastValue':{..._0x63fa81[_0x48eb9f(0x1d8)]}}:null}]))};}let _0x10d4b2=class extends _0x4f7619[_0x63b022(0x213)]{constructor(_0x3e4902,_0x7146f,_0x574214,_0x2520c2){const _0x348729=_0x63b022;super(),this[_0x348729(0x179)]=_0x3e4902,this[_0x348729(0x281)]=_0x7146f,this[_0x348729(0x165)]=_0x574214,this[_0x348729(0x175)]=_0x2520c2,_0x11e211(this,_0x348729(0x18e),new Set()),_0x11e211(this,_0x348729(0x27f),!0x1),_0x11e211(this,'_isDisposed',!0x1),this[_0x348729(0x179)][_0x348729(0x220)](_0x4f7619[_0x348729(0x280)][_0x348729(0x1e5)])[_0x348729(0x1b1)](_0x437d52=>this['_service']['syncUnit'](_0x437d52)),this[_0x348729(0x1b3)](this[_0x348729(0x165)]['change$'][_0x348729(0x239)](({unitId:_0x522f9e})=>this[_0x348729(0x151)](_0x522f9e))),this[_0x348729(0x1b3)](this['_instanceService'][_0x348729(0x1fc)][_0x348729(0x239)](({unit:_0x38b757})=>{const _0x36bb2c=_0x348729;_0x38b757[_0x36bb2c(0x26f)]===_0x4f7619['UniverInstanceType'][_0x36bb2c(0x1e5)]&&this[_0x36bb2c(0x26e)](_0x38b757[_0x36bb2c(0x26b)]());})),this[_0x348729(0x1b3)](this[_0x348729(0x179)][_0x348729(0x25d)][_0x348729(0x239)](_0x3995fd=>{const _0x4aa948=_0x348729;this[_0x4aa948(0x175)]['unregisterUnit'](_0x3995fd[_0x4aa948(0x26b)]());})),this['disposeWithMe'](this['_commandService'][_0x348729(0x172)](_0x37ccbc=>{const _0x39a394=_0x348729;if(_0x37ccbc['id']===_0x598ef1[_0x39a394(0x166)]['id']&&_0x26bf0c(_0x37ccbc['params'])){let _0x5d823d=_0x37ccbc[_0x39a394(0x15f)];_0x5d823d['segmentId']||this[_0x39a394(0x151)](_0x5d823d[_0x39a394(0x22a)]);}}));}['dispose'](){const _0x40ebfb=_0x63b022;this[_0x40ebfb(0x1ac)]=!0x0,super[_0x40ebfb(0x191)]();}[_0x63b022(0x26e)](_0x174413){const _0x494924=_0x63b022;this[_0x494924(0x18e)][_0x494924(0x25c)](_0x174413),!this[_0x494924(0x27f)]&&(this[_0x494924(0x27f)]=!0x0,queueMicrotask(()=>{const _0xfae685=_0x494924;if(this['_syncScheduled']=!0x1,this['_isDisposed'])return;let _0x288931=Array[_0xfae685(0x24e)](this['_pendingUnitIds']);this[_0xfae685(0x18e)][_0xfae685(0x1f6)](),_0x288931[_0xfae685(0x1b1)](_0x2baedb=>this[_0xfae685(0x151)](_0x2baedb));}));}[_0x63b022(0x151)](_0x3aba4b){const _0x45bb85=_0x63b022;let _0x5e090f=this['_instanceService'][_0x45bb85(0x1e8)](_0x3aba4b,_0x4f7619[_0x45bb85(0x280)]['UNIVER_DOC']);_0x5e090f&&this['_service'][_0x45bb85(0x252)](_0x5e090f);}};_0x10d4b2=_0x57146d([_0x74fe3c(0x0,_0x4f7619[_0x63b022(0x1e7)]),_0x74fe3c(0x1,_0x4f7619[_0x63b022(0x269)]),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x2bf8cc)),_0x74fe3c(0x3,(0x0,_0x4f7619['Inject'])(_0x15eebe))],_0x10d4b2);function _0x26bf0c(_0x40d916){const _0x513f6a=_0x63b022;return typeof _0x40d916==_0x513f6a(0x18f)&&!!_0x40d916&&_0x513f6a(0x22a)in _0x40d916&&typeof _0x40d916[_0x513f6a(0x22a)]=='string'&&(!(_0x513f6a(0x1dd)in _0x40d916)||_0x40d916[_0x513f6a(0x1dd)]===void 0x0||typeof _0x40d916[_0x513f6a(0x1dd)]==_0x513f6a(0x259));}let _0x12b110=class extends _0x4f7619['Disposable']{constructor(_0x387757,_0x6d03d3){const _0x175712=_0x63b022;super(),this['_resourceManagerService']=_0x387757,this[_0x175712(0x246)]=_0x6d03d3,this[_0x175712(0x1b3)](this['_resourceManagerService'][_0x175712(0x258)]({'pluginName':_0x1165ca,'businesses':[_0x4f7619[_0x175712(0x280)]['UNIVER_DOC']],'toJson':_0xb6ea37=>JSON['stringify'](this[_0x175712(0x246)][_0x175712(0x1d5)](_0xb6ea37)),'parseJson':_0x4b95b2=>JSON[_0x175712(0x23e)](_0x4b95b2),'onLoad':(_0x5eb50d,_0xf5e244)=>{const _0x3da732=_0x175712;this[_0x3da732(0x246)]['load'](_0x5eb50d,_0xf5e244);},'onUnLoad':_0x2d0082=>this[_0x175712(0x246)][_0x175712(0x226)](_0x2d0082)}));}};_0x12b110=_0x57146d([_0x74fe3c(0x0,_0x4f7619[_0x63b022(0x27a)]),_0x74fe3c(0x1,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x2bf8cc))],_0x12b110);var _0x252ff3='@univerjs-pro/docs-formula',_0x3bc3d5=_0x63b022(0x21d);let _0x1fc314={},_0x589dd7=class extends _0x4f7619['Disposable']{constructor(_0x73ddfb,_0x184701,_0x4dbc25){const _0x5cea1f=_0x63b022;super(),this[_0x5cea1f(0x1db)]=_0x73ddfb,this[_0x5cea1f(0x277)]=_0x184701,this[_0x5cea1f(0x1b3)](_0x4dbc25[_0x5cea1f(0x28e)]({'resolve':(_0x27528b,_0x20a321)=>{const _0x40dccc=_0x5cea1f;var _0x2e2c5d;return((_0x2e2c5d=_0x20a321['customRanges'])==null?void 0x0:_0x2e2c5d[_0x40dccc(0x1ec)](_0x359c18)[_0x40dccc(0x1c7)](_0x569512=>({'startOffset':_0x569512[_0x40dccc(0x19b)],'endOffset':_0x569512[_0x40dccc(0x202)]+0x1,'text':this[_0x40dccc(0x24c)](_0x27528b,_0x569512[_0x40dccc(0x1c0)])})))??[];}})),this['disposeWithMe'](this['_formulaService']['presentationChanged$']['subscribe'](({unitId:_0x1f8502})=>{const _0x39be63=_0x5cea1f;_0x4dbc25[_0x39be63(0x265)](_0x1f8502);}));}[_0x63b022(0x24c)](_0x306e4e,_0x1f7961){const _0x175b89=_0x63b022;var _0x355364;return((_0x355364=this['_formulaService']['getResult']({'unitId':_0x306e4e,'rangeId':_0x1f7961}))==null?void 0x0:_0x355364[_0x175b89(0x282)])??'';}[_0x63b022(0x225)](_0x3f6f64,_0x2dc566,_0x4d35a1){const _0x10b23e=_0x63b022;var _0x2c5630;let _0x18ef19=this['_univerInstanceService'][_0x10b23e(0x1e8)](_0x3f6f64,_0x4f7619[_0x10b23e(0x280)][_0x10b23e(0x1e5)]),_0x274757=_0x18ef19==null?void 0x0:_0x18ef19[_0x10b23e(0x153)]();if(!_0x274757)return'';let _0x21733a=_0x274757[_0x10b23e(0x1df)][_0x10b23e(0x1f0)](_0x2dc566,_0x4d35a1),_0x1a3a5b=((_0x2c5630=_0x274757[_0x10b23e(0x1fe)])==null?void 0x0:_0x2c5630[_0x10b23e(0x1ec)](_0x3feabd=>_0x359c18(_0x3feabd)&&_0x3feabd[_0x10b23e(0x19b)]>=_0x2dc566&&_0x3feabd['endIndex']<_0x4d35a1)['sort']((_0xdc2244,_0x40fd7d)=>_0x40fd7d[_0x10b23e(0x19b)]-_0xdc2244['startIndex']))??[];for(let _0x2f1de0 of _0x1a3a5b){let _0x71808f=_0x2f1de0[_0x10b23e(0x19b)]-_0x2dc566,_0x2c8bee=_0x2f1de0[_0x10b23e(0x202)]-_0x2dc566+0x1;_0x21733a=''+_0x21733a[_0x10b23e(0x1f0)](0x0,_0x71808f)+this[_0x10b23e(0x24c)](_0x3f6f64,_0x2f1de0[_0x10b23e(0x1c0)])+_0x21733a['slice'](_0x2c8bee);}return _0x21733a;}['degradeDocumentData'](_0x133b39){return _0x4644b9(_0x133b39);}[_0x63b022(0x1b8)](_0x176d1f,_0x11ea55,_0x36fdb7={}){const _0x230828=_0x63b022;var _0x2b26f3;return _0x590aef({'id':_0x176d1f,'body':_0x11ea55,'documentStyle':{}},(((_0x2b26f3=_0x11ea55[_0x230828(0x1fe)])==null?void 0x0:_0x2b26f3[_0x230828(0x1ec)](_0x359c18))??[])[_0x230828(0x1c7)](_0x8f41e2=>({'rangeId':_0x8f41e2['rangeId'],'text':_0x36fdb7[_0x8f41e2[_0x230828(0x1c0)]]??this[_0x230828(0x24c)](_0x176d1f,_0x8f41e2[_0x230828(0x1c0)])})))[_0x230828(0x1fd)]??{'dataStream':''};}};_0x589dd7=_0x57146d([_0x74fe3c(0x0,_0x4f7619[_0x63b022(0x1e7)]),_0x74fe3c(0x1,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x15eebe)),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x598ef1[_0x63b022(0x1c2)]))],_0x589dd7);function _0x4644b9(_0x5f5dfc){const _0x46e826=_0x63b022;var _0x28b110,_0x498236;let _0x5badab=_0x169526(_0x5f5dfc),_0x495402=_0x590aef(_0x5f5dfc,(((_0x28b110=_0x5f5dfc[_0x46e826(0x1fd)])==null||(_0x28b110=_0x28b110[_0x46e826(0x1fe)])==null?void 0x0:_0x28b110['filter'](_0x359c18))??[])[_0x46e826(0x1c7)](_0x5dfa7d=>({'rangeId':_0x5dfa7d['rangeId'],'text':_0x59c673(_0x5badab==null?void 0x0:_0x5badab['formulas'][_0x5dfa7d[_0x46e826(0x1c0)]])})));return _0x495402['resources']=(_0x498236=_0x495402['resources'])==null?void 0x0:_0x498236['filter'](_0x36e6d7=>_0x36e6d7[_0x46e826(0x14e)]!==_0x1165ca),_0x495402;}function _0x169526(_0xa7b235){const _0xcf5b70=_0x63b022;var _0x460533;let _0x5a2e45=(_0x460533=_0xa7b235[_0xcf5b70(0x288)])==null||(_0x460533=_0x460533['find'](_0x528933=>_0x528933[_0xcf5b70(0x14e)]===_0xcf5b70(0x1f5)))==null?void 0x0:_0x460533[_0xcf5b70(0x162)];if(_0x5a2e45)try{let _0x4dcbb4=JSON[_0xcf5b70(0x23e)](_0x5a2e45);return _0x56bef6(_0x4dcbb4)?_0x4dcbb4:void 0x0;}catch{return;}}function _0x59c673(_0x123be6){const _0xd83eb6=_0x63b022;return _0x123be6?(0x0,_0x145aa2[_0xd83eb6(0x1c9)])({'lastValue':_0x123be6[_0xd83eb6(0x1d8)],'numberFormat':_0x123be6[_0xd83eb6(0x19c)]})[_0xd83eb6(0x282)]:'';}let _0x241297=class extends _0x4f7619[_0x63b022(0x213)]{constructor(_0x3d6488,_0x13fb23,_0x29ac20){const _0x291d37=_0x63b022;super(),this['_formulaService']=_0x3d6488,this[_0x291d37(0x1b2)]=_0x13fb23,this[_0x291d37(0x1b3)](_0x29ac20[_0x291d37(0x1aa)](this));}[_0x63b022(0x1f4)](_0x11a6cf){const _0x1a1140=_0x63b022;let _0x53517d=new Map();for(let _0x5ccaf9 of this[_0x1a1140(0x277)][_0x1a1140(0x234)]()){var _0x313913;if(!this[_0x1a1140(0x1b2)][_0x1a1140(0x1a2)](_0x5ccaf9[_0x1a1140(0x1e6)][_0x1a1140(0x23f)],_0x5ccaf9['liveResult'])['eligible'])continue;let _0x4172b0=(0x0,_0x145aa2['getScalarFormulaResultCell'])(_0x5ccaf9[_0x1a1140(0x25f)]),_0x1fdb69=_0x4172b0?(0x0,_0x145aa2[_0x1a1140(0x263)])(_0x4172b0):null;if(!_0x1fdb69||_0x1613ca(_0x5ccaf9[_0x1a1140(0x1e6)][_0x1a1140(0x1d8)],_0x1fdb69))continue;let _0x5e24e5=_0x53517d['get'](_0x5ccaf9[_0x1a1140(0x27e)][_0x1a1140(0x22a)])??[];_0x5e24e5['push']({'rangeId':_0x5ccaf9[_0x1a1140(0x27e)][_0x1a1140(0x1c0)],'expectedFormula':_0x5ccaf9['config']['formula'],'expectedNumberFormat':(_0x313913=_0x5ccaf9['config'][_0x1a1140(0x19c)])==null?void 0x0:_0x313913['pattern'],'expectedReferenceRevision':_0x5ccaf9[_0x1a1140(0x1a9)],'lastValue':_0x1fdb69}),_0x53517d[_0x1a1140(0x21f)](_0x5ccaf9['identity'][_0x1a1140(0x22a)],_0x5e24e5);}return Array[_0x1a1140(0x24e)](_0x53517d,([_0x87bdbf,_0x518fcf])=>({'id':_0x57290b['id'],'params':{'unitId':_0x87bdbf,'updates':_0x518fcf}}));}};_0x241297=_0x57146d([_0x74fe3c(0x0,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x15eebe)),_0x74fe3c(0x1,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x145aa2['FormulaCacheEligibilityService'])),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x145aa2[_0x63b022(0x1d3)]))],_0x241297);function _0x1613ca(_0x372efc,_0x55e5d1){const _0x130ddf=_0x63b022;return(_0x372efc==null?void 0x0:_0x372efc['v'])===_0x55e5d1['v']&&(_0x372efc==null?void 0x0:_0x372efc['t'])===_0x55e5d1['t']&&(_0x372efc==null?void 0x0:_0x372efc['pattern'])===_0x55e5d1[_0x130ddf(0x204)];}let _0x45209a=class extends _0x4f7619[_0x63b022(0x22c)]{constructor(_0x58a7e9=_0x1fc314,_0x553310,_0x30f610,_0x13bff6){const _0x23a7a9=_0x63b022;super(),this[_0x23a7a9(0x249)]=_0x58a7e9,this[_0x23a7a9(0x20a)]=_0x553310,this[_0x23a7a9(0x281)]=_0x30f610,this[_0x23a7a9(0x256)]=_0x13bff6;let {..._0x404cd7}=(0x0,_0x4f7619[_0x23a7a9(0x1d4)])({},_0x1fc314,this[_0x23a7a9(0x249)]);this[_0x23a7a9(0x256)][_0x23a7a9(0x20d)](_0x23a7a9(0x292),_0x404cd7);}['onStarting'](){const _0x3348f7=_0x63b022;this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x2bf8cc]),this['_injector'][_0x3348f7(0x25c)]([_0x15eebe]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x12b110]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x10d4b2]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x241297]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x589dd7]),(0x0,_0x4f7619[_0x3348f7(0x170)])(this['_injector'],[[_0x2bf8cc],[_0x12b110],[_0x10d4b2],[_0x241297],[_0x589dd7]]),[_0x15f9ad,_0x3a7b95,_0x507e5b,_0x57290b,_0x1fa41f,_0x556927,_0x588adf,_0xa85899,_0x4453ab,_0x16b5e8][_0x3348f7(0x1b1)](_0x5c3b8a=>this[_0x3348f7(0x1b3)](this[_0x3348f7(0x281)]['registerCommand'](_0x5c3b8a)));}};_0x11e211(_0x45209a,_0x63b022(0x1e4),_0x1165ca),_0x11e211(_0x45209a,_0x63b022(0x1bf),_0x252ff3),_0x11e211(_0x45209a,_0x63b022(0x1ca),_0x3bc3d5),_0x11e211(_0x45209a,_0x63b022(0x26f),_0x4f7619['UniverInstanceType'][_0x63b022(0x1e5)]),_0x45209a=_0x57146d([(0x0,_0x4f7619[_0x63b022(0x1b4)])(_0xe318f5[_0x63b022(0x273)],_0x145aa2[_0x63b022(0x187)],_0x598ef1[_0x63b022(0x1f2)]),_0x74fe3c(0x1,(0x0,_0x4f7619['Inject'])(_0x4f7619[_0x63b022(0x18c)])),_0x74fe3c(0x2,_0x4f7619[_0x63b022(0x269)]),_0x74fe3c(0x3,_0x4f7619[_0x63b022(0x240)])],_0x45209a),_0x26b9a4[_0x63b022(0x254)]=_0x16b5e8,_0x26b9a4[_0x63b022(0x224)]=_0x5e46e0,_0x26b9a4[_0x63b022(0x23a)]='',_0x26b9a4['DOC_FORMULA_PLUGIN']=_0x1165ca,_0x26b9a4[_0x63b022(0x1fb)]=0x1,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x163),{'enumerable':!0x0,'get':function(){return _0x589dd7;}}),Object[_0x63b022(0x230)](_0x26b9a4,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x10d4b2;}}),_0x26b9a4[_0x63b022(0x14d)]=_0x2bf8cc,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x286),{'enumerable':!0x0,'get':function(){return _0x12b110;}}),_0x26b9a4[_0x63b022(0x289)]=_0x14fe4d,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x1d0),{'enumerable':!0x0,'get':function(){return _0x15eebe;}}),_0x26b9a4[_0x63b022(0x158)]=_0x1fa41f,_0x26b9a4[_0x63b022(0x184)]=_0x3890ed,_0x26b9a4[_0x63b022(0x1cc)]=_0xa85899,_0x26b9a4[_0x63b022(0x1ce)]=_0x3a7b95,_0x26b9a4[_0x63b022(0x206)]=_0x4453ab,_0x26b9a4['SetDocFormulaLastValuesMutation']=_0x57290b,_0x26b9a4['SetDocFormulaMutation']=_0x15f9ad,_0x26b9a4[_0x63b022(0x216)]=_0x588adf,_0x26b9a4[_0x63b022(0x266)]=_0x507e5b,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x1ed),{'enumerable':!0x0,'get':function(){return _0x45209a;}}),_0x26b9a4[_0x63b022(0x21a)]=_0x556927,_0x26b9a4[_0x63b022(0x23c)]=_0x2f3df1,_0x26b9a4[_0x63b022(0x1eb)]=_0x2c0d1f,_0x26b9a4[_0x63b022(0x235)]=_0x5209f3,_0x26b9a4[_0x63b022(0x27b)]=_0x10e54c,_0x26b9a4[_0x63b022(0x243)]=_0xcaf32,_0x26b9a4[_0x63b022(0x20c)]=_0x4644b9,_0x26b9a4['findDocFormulaRange']=_0x3fe7af,_0x26b9a4['isDocFormulaConfig']=_0x370aa7,_0x26b9a4[_0x63b022(0x16d)]=_0x359c18,_0x26b9a4[_0x63b022(0x1d2)]=_0x56bef6,_0x26b9a4[_0x63b022(0x22e)]=_0xdbc34f;}));function _0x3362(_0x3a47d3,_0x3e37d9){_0x3a47d3=_0x3a47d3-0x149;const _0x4a5f4b=_0x4a5f();let _0x336299=_0x4a5f4b[_0x3a47d3];return _0x336299;}function _0x4a5f(){const _0x5db305=['wholeEntity','460kkQKsW','IResourceManagerService','buildUpdateDocFormulaActions','UniverCore','rxjs','identity','_syncScheduled','UniverInstanceType','_commandService','text','docs-formula.command.insert','_loadErrors','paragraphId','DocFormulaResourceController','472RJxThV','resources','DocFormulaResultStatus','pending','docs-formula.command.convert-to-text','exports','_updateFormulaResult','register','properties','nextResource','univer-docs-formula','docs-formula.config','setResource','192467jHbbFt','_formulaKeys','insertLength','DocFormulaModel','name','MUTATION','RegisterOtherFormulaService','_syncUnit','buildUpsertHostExternalReferenceMutations','getBody','cursorOffset','find','expectedNumberFormat','schemaVersion','InsertDocFormulaCommand','BLOCK_START','presentation','references','Module','123FkNKDu','unregister','params','resolveHostFormulaExternalReferences','source','data','DocFormulaDisplayTextService','change$','_model','RichTextEditingMutation','entries','tables','rangeType','next','delete','_registrations','isDocFormulaRange','insert','redoMutation','touchDependencies','pushUndoRedo','onCommandExecuted','Inject','trigger','_service','CUSTOM','length','status','_instanceService','unregisterUnit','expectedReferenceRevision','_presentationChanged$','TABLE_CELL_START','textRuns','documentRedo','formulaResult$','TextX','sequenceNodesBuilder','blockRanges','InvalidDocFormulaInsertRangeError','get','resource','UniverProFormulaEnginePlugin','9948HVYnYZ','resolved','sectionBreaks','selection','Injector','getFormulaValueSync','_pendingUnitIds','object','stale','dispose','previousDocumentData','fromEntries','PARAGRAPH','cell','7598255SCPqkZ','deleteLength','docs-formula.command.update','UniverProDocsFormula','number','startIndex','numberFormat','@univerjs/engine-formula','paragraphs','iterator','_hostExternalReferenceModel','expectedFormula','assess','columnGroups','setFormula','endOffset','empty','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','getBodySliceForTextXAction','referenceRevision','registerProvider','getOwnPropertyDescriptor','_isDisposed','CommandType','start','TABLE_ROW_END','getPresentation','forEach','_cacheEligibilityService','disposeWithMe','DependentOn','editOp','externalMutations','docs-formula.mutation.set-last-values','degradeBody','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','end','getRevision','accessor','COLUMN_START','setFormulas','packageName','rangeId','default','DocTextResolverService','shiftInclusiveRangeOnInsert','CustomRangeType','formulaId','updates','map','prototype','resolveFormulaResultPresentation','version','123358esfzqJ','RemoveDocFormulaCommand','EMPTY','RemoveDocFormulaMutation','success','DocFormulaService','range','isDocFormulaResource','FormulaLastValuePersistenceService','merge','serialize','resourceRedo','symbol','lastValue','getCustomRangeInterval','ERROR','_univerInstanceService','_rawResources','segmentId','min','dataStream','formulas','error','externalReferences','document','pluginName','UNIVER_DOC','config','IUniverInstanceService','getUnit','HostExternalReferenceModel','CellValueType','buildInsertDocFormulaActions','filter','UniverDocsFormulaPlugin','values','customBlocks','slice','getResource','UniverDocsPlugin','boolean','collectMutations','DOC_FORMULA_PLUGIN','clear','getSnapshot','4tCGpmD','IUndoRedoService','@univerjs/core','DOC_FORMULA_SCHEMA_VERSION','unitAdded$','body','customRanges','max','getRichTextEditPath','_resources','endIndex','866436ygBYwS','pattern','DocSelectionManagerService','ReplaceDocFormulaWithTextCommand','resourceUndo','COMMAND','getTextRanges','_injector','DOC_SELECTION_OPTION_PRESERVE_CARET','degradeDocFormulaDocumentData','setConfig','_registrationService','Subject','decorate','_setPresentation','123183fHTptD','Disposable','every','_preserveInvalid','SetDocFormulaNumberFormatCommand','removeFormula','getLoadError','getFormulas','UpdateDocFormulaCommand','constructor','@univerjs-pro/engine-formula','1.0.0-rc.0','DataStreamTreeTokenType','set','getAllUnitsForType','LexerTreeBuilder','docs-formula.command.remove','shiftExclusiveRangeOnInsert','DOC_FORMULA_CUSTOM_RANGE_KIND','resolveText','removeUnit','customDecorations','deleteFormula','docs-formula.mutation.set-formula','unitId','documentData','Plugin','CUSTOM_BLOCK','isFormulaLastValue','call','defineProperty','TABLE_ROW_START','@univerjs/docs','undoMutation','getRegisteredFormulas','buildRemoveDocFormulaActions','getFormula','has','PENDING','subscribe','DOC_FORMULA_OBJECT_REPLACEMENT','462855Kunuuk','assertSafeDocFormulaInsertRange','startOffset','parse','formula','IConfigService','TABLE_CELL_END','collectFormulaExternalReferenceQualifiers','createEmptyDocFormulaResource','shiftExclusiveRangeOnDelete','complete','_docFormulaModel','trim','function','_config','amd','_deleteRegistration','resolveFormula','getParagraphContentStartOffset','from','includes','COLUMN_GROUP_START','previousResource','syncUnit','6EXCnhk','ConvertDocFormulaToTextCommand','sort','_configService','SECTION_BREAK','registerPluginResource','string','docs-formula.command.replace-with-text','getInstance','add','unitDisposed$','replaceDocRanges','liveResult','UniverProEngineFormula','some','docs-formula.mutation.remove-formula','toFormulaLastValue','nextDocumentData','notifyTextChanged','SetDocFormulaResourceMutation','syncExecuteCommand','model','ICommandService','paragraph','getUnitId','Tools','deepClone','_queueSync','type','keys','TABLE_START','docs-formula.command.set-number-format','UniverLicensePlugin','presentationChanged$','getResult','_change$','_formulaService'];_0x4a5f=function(){return _0x5db305;};return _0x4a5f();}
|
|
1
|
+
function _0x2b8f(){const _0x392864=['TABLE_START','OtherFormulaBizType','decorate','getCurrentUnitOfType','registerCommand','defineProperty','DocFormulaResourceController','Plugin','_loadErrors','constructor','replaceDocRanges','toStringTag','syncUnit','COLUMN_GROUP_END','_model','deleteFormula','getFormula','pending','getBodySliceForTextXAction','find','getUnit','_pendingUnitIds','resolveFormulaResultPresentation','_updateFormulaResult','TABLE_ROW_END','resolveBinding','1.0.0','symbol','resources','length','accessor','error','stale','exports','isInteger','6vIxUso','getCustomRangeInterval','generateRandomId','univer-docs-formula','_deleteRegistration','insertLength','setFormulas','pattern','some','startIndex','prototype','_resourceManagerService','RegisterOtherFormulaService','dataStream','every','isFormulaLastValue','function','paragraphs','customRanges','cursorOffset','51546jkAyWT','resolveText','_isDisposed','MUTATION','BLOCK_END','start','call','has','registerProvider','DocFormulaModel','_univerInstanceService','UniverInstanceType','disposeWithMe','isDocFormulaResource','set','liveResult','load','color','onCommandExecuted','SetDocFormulaResourceMutation','pushUndoRedo','getPresentation','_instanceService','endsWith','push','@univerjs-pro/docs-formula','CUSTOM','ConvertDocFormulaToTextCommand','DOC_SELECTION_OPTION_PRESERVE_CARET','references','UniverDocsFormulaPlugin','_cacheEligibilityService','updates','source','rangeType','FormulaCacheEligibilityService','string','buildUpsertHostExternalReferenceMutations','get','segmentId','notifyTextChanged','expectedFormula','BLOCK_START','nextDocumentData','clear','@univerjs-pro/engine-formula','paragraphId','getTextRanges','undoMutation','unitAdded$','insert','subscribe','isDocFormulaConfig','sort','startsWith','unregisterUnit','config','399992YpIfDa','DocFormulaService','from','documentData','params','DocFormulaLifecycleController','CUSTOM_BLOCK','CustomRangeType','merge','resourceUndo','dispose','docs-formula.mutation.set-last-values','textRuns','_resources','unitId','serialize','SetDocFormulaNumberFormatCommand','UniverProDocsFormula','LexerTreeBuilder','EMPTY','complete','UniverDocs','88hRXOsW','getAllUnitsForType','selection','resource','_service','nextResource','408541mJQUxD','1171812BbSctk','Tools','next','_setPresentation','TABLE_END','cell','externalReferences','docs-formula.command.convert-to-text','COLUMN_START','fromEntries','rangeId','Inject','UNIVER_DOC','_injector','redoMutation','editOp','setResource','ICommandService','change$','_rawResources','paragraph','filter','shiftInclusiveRangeOnInsert','getLoadError','map','Disposable','retain','version','253284hbHvwT','3AakCiR','blockRanges','entries','model','customDecorations','max','object','registerFormulaWithRange','unregister','getBody','InvalidDocFormulaInsertRangeError','1207130UNxCay','endIndex','disabled','documentRedo','IResourceManagerService','rxjs','_config','getFormulaValueSync','getResult','resolveFormula','ERROR','setFormula','tables','unitDisposed$','_presentationChanged$','values','getRevision','getOwnPropertyDescriptor','includes','isDocFormulaRange','referenceRevision','SUCCESS','_commandService','FormulaResultStatus','docs-formula.config','data','asObservable','toPrimitive','degradeBody','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','TextX','docs-formula.mutation.set-resource','DOC_FORMULA_SCHEMA_VERSION','empty','invalid-resource','document','trigger','DOC','parse','COMMAND','eligible','removeFormula','DOC_FORMULA_CUSTOM_RANGE_KIND','expectedNumberFormat','TABLE_ROW_START','sequenceNodesBuilder','name','FormulaLastValuePersistenceService','customBlocks','UniverProFormulaEnginePlugin','number','endOffset','DocSelectionManagerService','deepClone','77769dZwDhS','getParagraphContentStartOffset','presentation','PARAGRAPH','UniverDocsPlugin','CommandType','formulaId','RichTextEditingMutation','delete','Module','body','RemoveDocFormulaCommand','buildRemoveDocFormulaActions','_hostExternalReferenceModel','UniverProLicense','_change$','previousDocumentData','getUnitId','boolean','_queueSync','isArray','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','add','schemaVersion','_formulaKeys','success','toFormulaLastValue','sectionBreaks','_formulaService','_syncScheduled','getRichTextEditPath','HostExternalReferenceModel','_configService','shiftExclusiveRangeOnDelete','columnGroups','_registrations','UniverEngineFormula','externalMutations','_preserveInvalid','degradeDocFormulaDocumentData','touchDependencies','slice','CellValueType','COLUMN_END','presentationChanged$','getFormulas','identity','5mDyAIZ','getResource','resolveHostFormulaExternalReferences','PENDING','docs-formula.command.remove','DependentOn','startOffset','DOC_FORMULA_PLUGIN','Subject','formulas','register','_syncUnit','TABLE_CELL_START','_docFormulaModel','text','lastValue','formula','status','syncExecuteCommand','_registrationService','UniverLicensePlugin','16hFnZLx','onStarting','DataStreamTreeTokenType','trim','buildInsertDocFormulaActions','DocTextResolverService','range','keys','@univerjs/core','registerPluginResource','resolved','getSnapshot','IUndoRedoService','previousResource','forEach','type','min','UniverProEngineFormula','getRegisteredFormulas','formulaResult$','SECTION_BREAK','numberFormat','createEmptyDocFormulaResource','assess','deleteLength'];_0x2b8f=function(){return _0x392864;};return _0x2b8f();}function _0x33bd(_0x155499,_0x527210){_0x155499=_0x155499-0x1c4;const _0x2b8faf=_0x2b8f();let _0x33bdd4=_0x2b8faf[_0x155499];return _0x33bdd4;}(function(_0x45aa47,_0x313d09){const _0x5a56aa=_0x33bd,_0xa0d1ca=_0x45aa47();while(!![]){try{const _0xfb41a5=parseInt(_0x5a56aa(0x280))/0x1+-parseInt(_0x5a56aa(0x2b9))/0x2*(-parseInt(_0x5a56aa(0x2f3))/0x3)+parseInt(_0x5a56aa(0x2d6))/0x4*(parseInt(_0x5a56aa(0x21b))/0x5)+parseInt(_0x5a56aa(0x26c))/0x6*(-parseInt(_0x5a56aa(0x2d5))/0x7)+-parseInt(_0x5a56aa(0x230))/0x8*(parseInt(_0x5a56aa(0x1ec))/0x9)+-parseInt(_0x5a56aa(0x2fe))/0xa+parseInt(_0x5a56aa(0x2cf))/0xb*(-parseInt(_0x5a56aa(0x2f2))/0xc);if(_0xfb41a5===_0x313d09)break;else _0xa0d1ca['push'](_0xa0d1ca['shift']());}catch(_0x503c3b){_0xa0d1ca['push'](_0xa0d1ca['shift']());}}}(_0x2b8f,0x2bc51),function(_0x49dc7a,_0x2d57aa){const _0x354e2a=_0x33bd;typeof exports=='object'&&typeof module<'u'?_0x2d57aa(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define['amd']?define([_0x354e2a(0x26a),_0x354e2a(0x2ad),_0x354e2a(0x238),'@univerjs/docs','@univerjs/engine-formula',_0x354e2a(0x303),'@univerjs-pro/license'],_0x2d57aa):(_0x49dc7a=typeof globalThis<'u'?globalThis:_0x49dc7a||self,_0x2d57aa(_0x49dc7a[_0x354e2a(0x2ca)]={},_0x49dc7a[_0x354e2a(0x241)],_0x49dc7a['UniverCore'],_0x49dc7a[_0x354e2a(0x2ce)],_0x49dc7a[_0x354e2a(0x210)],_0x49dc7a[_0x354e2a(0x303)],_0x49dc7a[_0x354e2a(0x1fa)]));}(this,function(_0x3afca9,_0x50090f,_0x1d869f,_0x2fc97e,_0x410f01,_0x59aa37,_0x16421b){const _0x827b65=_0x33bd;Object[_0x827b65(0x24e)](_0x3afca9,Symbol[_0x827b65(0x254)],{'value':_0x827b65(0x1f5)});let _0x9736a7=_0x827b65(0x222),_0x201e91=_0x827b65(0x26f);function _0x79ce8d(){return{'schemaVersion':0x1,'formulas':{}};}function _0x169706(_0x45d883){const _0x33d400=_0x827b65;return!_0x45d883||typeof _0x45d883!=_0x33d400(0x2f9)||!_0x210d0f(_0x45d883,[_0x33d400(0x203),_0x33d400(0x224)])||!(_0x33d400(0x203)in _0x45d883)||_0x45d883[_0x33d400(0x203)]!==0x1||!(_0x33d400(0x224)in _0x45d883)||!_0x45d883[_0x33d400(0x224)]||typeof _0x45d883[_0x33d400(0x224)]!=_0x33d400(0x2f9)||Array[_0x33d400(0x200)](_0x45d883[_0x33d400(0x224)])?!0x1:Object['entries'](_0x45d883[_0x33d400(0x224)])[_0x33d400(0x27a)](([_0x560fff,_0x2e231f])=>_0x560fff['length']>0x0&&_0xa57316(_0x2e231f));}function _0xa57316(_0xb30385){const _0x119e08=_0x827b65;return!_0xb30385||typeof _0xb30385!=_0x119e08(0x2f9)||!_0x210d0f(_0xb30385,[_0x119e08(0x22b),_0x119e08(0x245),_0x119e08(0x22a)])||!('formula'in _0xb30385)||typeof _0xb30385['formula']!='string'||!_0xb30385['formula'][_0x119e08(0x233)]()||_0x119e08(0x245)in _0xb30385&&_0xb30385['numberFormat']!=null&&(typeof _0xb30385[_0x119e08(0x245)]!=_0x119e08(0x2f9)||!_0x210d0f(_0xb30385[_0x119e08(0x245)],['pattern'])||!(_0x119e08(0x273)in _0xb30385['numberFormat'])||typeof _0xb30385['numberFormat'][_0x119e08(0x273)]!=_0x119e08(0x2a4))?!0x1:!(_0x119e08(0x22a)in _0xb30385)||_0xb30385[_0x119e08(0x22a)]==null||_0x234ce5(_0xb30385[_0x119e08(0x22a)]);}function _0x234ce5(_0x58979e){const _0x54c988=_0x827b65;return!_0x58979e||typeof _0x58979e!=_0x54c988(0x2f9)||!_0x210d0f(_0x58979e,['v','t',_0x54c988(0x273)])||!('v'in _0x58979e)||_0x58979e['v']!==null&&typeof _0x58979e['v']!=_0x54c988(0x2a4)&&typeof _0x58979e['v']!=_0x54c988(0x1e8)&&typeof _0x58979e['v']!=_0x54c988(0x1fe)||'t'in _0x58979e&&_0x58979e['t']!=null&&!_0x48a922(_0x58979e['t'])?!0x1:!(_0x54c988(0x273)in _0x58979e)||_0x58979e[_0x54c988(0x273)]==null||typeof _0x58979e[_0x54c988(0x273)]=='string';}function _0x210d0f(_0x5a057c,_0x518502){const _0x10fcba=_0x827b65;let _0x41804f=new Set(_0x518502);return Object[_0x10fcba(0x237)](_0x5a057c)['every'](_0x405e0a=>_0x41804f[_0x10fcba(0x287)](_0x405e0a));}function _0x48a922(_0x5a3775){const _0x15104e=_0x827b65;return typeof _0x5a3775==_0x15104e(0x1e8)&&Object['values'](_0x1d869f[_0x15104e(0x216)])['includes'](_0x5a3775);}let _0x1e51a9=new Set([_0x1d869f[_0x827b65(0x232)][_0x827b65(0x244)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x249)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x1e2)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x227)],_0x1d869f[_0x827b65(0x232)]['TABLE_CELL_END'],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x261)],_0x1d869f['DataStreamTreeTokenType'][_0x827b65(0x2da)],_0x1d869f[_0x827b65(0x232)]['COLUMN_GROUP_START'],_0x1d869f['DataStreamTreeTokenType'][_0x827b65(0x2de)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x217)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x256)],_0x1d869f['DataStreamTreeTokenType'][_0x827b65(0x2aa)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x284)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x2bf)]]);var _0xafe7e3=class extends Error{constructor(){super('Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries');}};function _0x4d21e2(_0x45d8ad){const _0xcc7d17=_0x827b65;var _0x17c2e8,_0x525bcb;let _0x246595=_0x1d869f[_0xcc7d17(0x2d7)][_0xcc7d17(0x1eb)](_0x45d8ad[_0xcc7d17(0x2bc)]),_0x5b49cf=_0x46719a(_0x246595),{startOffset:_0x4d41cd,endOffset:_0x59f6a4}=_0x111922(_0x5b49cf,_0x45d8ad[_0xcc7d17(0x221)],_0x45d8ad[_0xcc7d17(0x1e9)]);_0x582df1(_0x5b49cf,_0x4d41cd,_0x59f6a4);let _0x4c21fa=((_0x17c2e8=_0x5b49cf[_0xcc7d17(0x27e)])==null?void 0x0:_0x17c2e8[_0xcc7d17(0x2eb)](_0x2f9c17=>{const _0x308433=_0xcc7d17;if(!_0x2ff3e4(_0x2f9c17))return!0x1;let _0x40189b=(0x0,_0x1d869f[_0x308433(0x26d)])(_0x2f9c17);return _0x40189b['endOffset']>_0x4d41cd&&_0x40189b[_0x308433(0x221)]<_0x59f6a4;})[_0xcc7d17(0x2ee)](_0x3c4bf2=>_0x3c4bf2[_0xcc7d17(0x2e0)]))??[];_0xc1d509(_0x5b49cf,_0x4d41cd,_0x59f6a4,''),_0x5b49cf[_0xcc7d17(0x27e)]=[...((_0x525bcb=_0x5b49cf[_0xcc7d17(0x27e)])==null?void 0x0:_0x525bcb[_0xcc7d17(0x2eb)](_0x2b62cd=>!_0x4c21fa[_0xcc7d17(0x1c8)](_0x2b62cd['rangeId'])&&_0x2b62cd[_0xcc7d17(0x2e0)]!==_0x45d8ad[_0xcc7d17(0x2e0)]))??[],_0x5576ec(_0x45d8ad[_0xcc7d17(0x2e0)],_0x4d41cd)][_0xcc7d17(0x2b5)]((_0x32ef3a,_0x28c0c4)=>_0x32ef3a[_0xcc7d17(0x275)]-_0x28c0c4[_0xcc7d17(0x275)]);let _0x109c05=_0x27896e(_0x45d8ad['resource']);return _0x4c21fa['forEach'](_0x75cd94=>{const _0x4bdc7f=_0xcc7d17;delete _0x109c05[_0x4bdc7f(0x224)][_0x75cd94];}),_0x109c05[_0xcc7d17(0x224)][_0x45d8ad[_0xcc7d17(0x2e0)]]=_0x1d869f[_0xcc7d17(0x2d7)][_0xcc7d17(0x1eb)](_0x45d8ad[_0xcc7d17(0x2b8)]),{'nextDocumentData':_0x246595,'nextResource':_0x109c05,'cursorOffset':_0x4d41cd+0x1};}function _0x39d274(_0x1eecc2){const _0x192edd=_0x827b65;var _0x55f12c,_0x33f85f;let _0x5695bd=_0x1d869f[_0x192edd(0x2d7)][_0x192edd(0x1eb)](_0x1eecc2['documentData']),_0x5140aa=(_0x55f12c=_0x46719a(_0x5695bd)[_0x192edd(0x27e)])==null?void 0x0:_0x55f12c[_0x192edd(0x25c)](_0x433138=>_0x433138[_0x192edd(0x2e0)]===_0x1eecc2[_0x192edd(0x2e0)]&&_0x2ff3e4(_0x433138));if(!_0x5140aa||!((_0x33f85f=_0x1eecc2[_0x192edd(0x2d2)])!=null&&_0x33f85f['formulas'][_0x1eecc2[_0x192edd(0x2e0)]]))return null;let _0x5b9f09=_0x27896e(_0x1eecc2[_0x192edd(0x2d2)]);return _0x5b9f09[_0x192edd(0x224)][_0x1eecc2[_0x192edd(0x2e0)]]=_0x1d869f['Tools'][_0x192edd(0x1eb)](_0x1eecc2[_0x192edd(0x2b8)]),{'nextDocumentData':_0x5695bd,'nextResource':_0x5b9f09,'cursorOffset':_0x5140aa[_0x192edd(0x2ff)]+0x1};}function _0x4eace5(_0x36c9f0){const _0xb82ee2=_0x827b65;let _0x1d3dbf=_0x1d869f[_0xb82ee2(0x2d7)]['deepClone'](_0x36c9f0[_0xb82ee2(0x2bc)]),_0x3b75a0=_0xcf2312(_0x1d3dbf,_0x36c9f0[_0xb82ee2(0x2e0)],_0x36c9f0[_0xb82ee2(0x229)]??'');if(_0x3b75a0==null)return null;let _0x3516fe=_0x27896e(_0x36c9f0[_0xb82ee2(0x2d2)]);return delete _0x3516fe['formulas'][_0x36c9f0[_0xb82ee2(0x2e0)]],{'nextDocumentData':_0x1d3dbf,'nextResource':_0x3516fe,'cursorOffset':_0x3b75a0};}function _0x3c9939(_0x45b267,_0x137e59){const _0x9cdc40=_0x827b65;var _0x2fa77c;let _0x102219=_0x1d869f[_0x9cdc40(0x2d7)][_0x9cdc40(0x1eb)](_0x45b267),_0x1f3c66=_0x102219['body'];if(!_0x1f3c66)return _0x102219;let _0x555a34=new Map(_0x137e59[_0x9cdc40(0x2ee)](_0x24b50c=>[_0x24b50c['rangeId'],_0x24b50c[_0x9cdc40(0x229)]])),_0x28adc9=((_0x2fa77c=_0x1f3c66[_0x9cdc40(0x27e)])==null?void 0x0:_0x2fa77c[_0x9cdc40(0x2eb)](_0x9b62c6=>_0x2ff3e4(_0x9b62c6)&&_0x555a34[_0x9cdc40(0x287)](_0x9b62c6[_0x9cdc40(0x2e0)]))['sort']((_0x29baf5,_0x309eab)=>_0x309eab['startIndex']-_0x29baf5[_0x9cdc40(0x275)]))??[];for(let _0x47b83d of _0x28adc9)_0xcf2312(_0x102219,_0x47b83d[_0x9cdc40(0x2e0)],_0x555a34[_0x9cdc40(0x2a6)](_0x47b83d[_0x9cdc40(0x2e0)])??'');return _0x102219;}function _0x2ff3e4(_0x15106c){const _0x4c1460=_0x827b65;var _0x34f458;return(_0x15106c==null?void 0x0:_0x15106c[_0x4c1460(0x2a2)])===_0x1d869f[_0x4c1460(0x2c0)]['CUSTOM']&&_0x15106c['wholeEntity']===!0x0&&((_0x34f458=_0x15106c['properties'])==null?void 0x0:_0x34f458['kind'])===_0x4c1460(0x26f);}function _0x261b2d(_0x2a47ce,_0x1ad5cb){const _0xc47c64=_0x827b65;var _0x1eb2b4;return _0x2a47ce==null||(_0x1eb2b4=_0x2a47ce[_0xc47c64(0x27e)])==null?void 0x0:_0x1eb2b4[_0xc47c64(0x25c)](_0x5bc930=>_0x5bc930[_0xc47c64(0x2e0)]===_0x1ad5cb&&_0x2ff3e4(_0x5bc930));}function _0x582df1(_0x3e435d,_0x52064e,_0x655a9f){const _0x5963a3=_0x827b65;if(_0x52064e===_0x655a9f){if(_0x1e51a9[_0x5963a3(0x287)](_0x3e435d[_0x5963a3(0x279)][_0x52064e]))throw new _0xafe7e3();return;}for(let _0x2a9e82=_0x52064e;_0x2a9e82<_0x655a9f;_0x2a9e82++)if(_0x3e435d[_0x5963a3(0x279)][_0x2a9e82]===_0x1d869f['DataStreamTreeTokenType'][_0x5963a3(0x1ef)]||_0x1e51a9[_0x5963a3(0x287)](_0x3e435d['dataStream'][_0x2a9e82]))throw new _0xafe7e3();}function _0x5576ec(_0x20521e,_0x177996){const _0x3c0af8=_0x827b65;return{'startIndex':_0x177996,'endIndex':_0x177996,'rangeId':_0x20521e,'rangeType':_0x1d869f['CustomRangeType'][_0x3c0af8(0x29a)],'wholeEntity':!0x0,'properties':{'kind':_0x201e91}};}function _0x27896e(_0x2d3695){const _0x4de8c7=_0x827b65;return _0x2d3695?_0x1d869f[_0x4de8c7(0x2d7)][_0x4de8c7(0x1eb)](_0x2d3695):_0x79ce8d();}function _0x111922(_0x4db51b,_0x2e6388,_0x26f233){const _0x12ba40=_0x827b65;let _0x4bca7f=_0x39d86f(_0x4db51b),_0xbfd0f5=_0x2e6388??_0x4bca7f,_0x2c9b8d=_0x26f233??_0xbfd0f5;return{'startOffset':_0x9d2e85(Math['min'](_0xbfd0f5,_0x2c9b8d),_0x4bca7f),'endOffset':_0x9d2e85(Math[_0x12ba40(0x2f8)](_0xbfd0f5,_0x2c9b8d),_0x4bca7f)};}function _0x9d2e85(_0xb35e26,_0x19af7d){const _0x480712=_0x827b65;return Math['max'](0x0,Math[_0x480712(0x240)](_0xb35e26,_0x19af7d));}function _0x39d86f(_0x33969a){const _0x4c2aab=_0x827b65;return _0x33969a[_0x4c2aab(0x279)][_0x4c2aab(0x297)](''+_0x1d869f[_0x4c2aab(0x232)][_0x4c2aab(0x1ef)]+_0x1d869f[_0x4c2aab(0x232)][_0x4c2aab(0x244)])?Math[_0x4c2aab(0x2f8)](0x0,_0x33969a[_0x4c2aab(0x279)]['length']-0x2):_0x33969a[_0x4c2aab(0x279)]['endsWith'](_0x1d869f['DataStreamTreeTokenType'][_0x4c2aab(0x244)])?Math['max'](0x0,_0x33969a[_0x4c2aab(0x279)][_0x4c2aab(0x266)]-0x1):_0x33969a[_0x4c2aab(0x279)][_0x4c2aab(0x266)];}function _0xc1d509(_0x11512d,_0x1c11ea,_0x54db18,_0x4b36a2){_0x54db18>_0x1c11ea&&_0x4a62f1(_0x11512d,_0x1c11ea,_0x54db18),_0xd1cbf8(_0x11512d,_0x1c11ea,_0x4b36a2);}function _0xcf2312(_0x320f80,_0x5b44f2,_0x1ac6d0){const _0xcc8815=_0x827b65;var _0x4e795c,_0x261686;let _0x5ce966=_0x46719a(_0x320f80),_0x277ba1=(_0x4e795c=_0x5ce966['customRanges'])==null?void 0x0:_0x4e795c['find'](_0x266375=>_0x266375[_0xcc8815(0x2e0)]===_0x5b44f2&&_0x2ff3e4(_0x266375));if(!_0x277ba1)return null;let _0x9c7ea=(0x0,_0x1d869f[_0xcc8815(0x26d)])(_0x277ba1);return _0xc1d509(_0x5ce966,_0x9c7ea[_0xcc8815(0x221)],_0x9c7ea[_0xcc8815(0x1e9)],_0x1ac6d0),_0x5ce966[_0xcc8815(0x27e)]=(_0x261686=_0x5ce966[_0xcc8815(0x27e)])==null?void 0x0:_0x261686[_0xcc8815(0x2eb)](_0x5a9d9a=>_0x5a9d9a['rangeId']!==_0x5b44f2),_0x9c7ea[_0xcc8815(0x221)]+_0x1ac6d0[_0xcc8815(0x266)];}function _0xd1cbf8(_0x49836b,_0x178222,_0x20f91b){const _0x568e4c=_0x827b65;_0x20f91b&&(_0x49836b[_0x568e4c(0x279)]=''+_0x49836b[_0x568e4c(0x279)][_0x568e4c(0x215)](0x0,_0x178222)+_0x20f91b+_0x49836b[_0x568e4c(0x279)]['slice'](_0x178222),_0x534543(_0x49836b,_0x178222,_0x20f91b[_0x568e4c(0x266)]));}function _0x4a62f1(_0x452f1f,_0x1ccadd,_0x2c32d6){const _0x80e469=_0x827b65;let _0x19abfb=_0x2c32d6-_0x1ccadd;_0x452f1f[_0x80e469(0x279)]=''+_0x452f1f[_0x80e469(0x279)][_0x80e469(0x215)](0x0,_0x1ccadd)+_0x452f1f[_0x80e469(0x279)][_0x80e469(0x215)](_0x2c32d6),_0xa99ff8(_0x452f1f,_0x1ccadd,_0x19abfb);}function _0x534543(_0x3bb9cb,_0x1fc493,_0x23dd33){const _0x498ff9=_0x827b65;_0x3bb9cb[_0x498ff9(0x27d)]=_0xcfc225(_0x3bb9cb[_0x498ff9(0x27d)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x207)]=_0xcfc225(_0x3bb9cb[_0x498ff9(0x207)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x1e6)]=_0xcfc225(_0x3bb9cb[_0x498ff9(0x1e6)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x2c5)]=_0x496e90(_0x3bb9cb[_0x498ff9(0x2c5)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x30a)]=_0x245acf(_0x3bb9cb[_0x498ff9(0x30a)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x20e)]=_0x477ae0(_0x3bb9cb[_0x498ff9(0x20e)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x27e)]=_0x477ae0(_0x3bb9cb['customRanges'],_0x1fc493,_0x23dd33),_0x3bb9cb['customDecorations']=_0x477ae0(_0x3bb9cb[_0x498ff9(0x2f7)],_0x1fc493,_0x23dd33),_0x3bb9cb['blockRanges']=_0x477ae0(_0x3bb9cb[_0x498ff9(0x2f4)],_0x1fc493,_0x23dd33);}function _0xa99ff8(_0x379011,_0x572731,_0x115fdb){const _0x9f4654=_0x827b65;var _0x1bb2b1,_0x3ad5e2;_0x379011[_0x9f4654(0x27d)]=_0x418bd7(_0x379011[_0x9f4654(0x27d)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x207)]=_0x418bd7(_0x379011['sectionBreaks'],_0x572731,_0x115fdb),_0x379011['customBlocks']=_0x418bd7(_0x379011['customBlocks'],_0x572731,_0x115fdb),_0x379011['textRuns']=(_0x1bb2b1=_0x2571c1((_0x3ad5e2=_0x379011[_0x9f4654(0x2c5)])==null?void 0x0:_0x3ad5e2[_0x9f4654(0x2ee)](_0x2e00ae=>({..._0x2e00ae,'startIndex':_0x2e00ae['st'],'endIndex':_0x2e00ae['ed']})),_0x572731,_0x115fdb))==null?void 0x0:_0x1bb2b1['map'](_0x50e2e=>{let {startIndex:_0x4ce489,endIndex:_0x25f09d,..._0x591229}=_0x50e2e;return{..._0x591229,'st':_0x4ce489,'ed':_0x25f09d};}),_0x379011[_0x9f4654(0x30a)]=_0x2571c1(_0x379011[_0x9f4654(0x30a)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x20e)]=_0x368e57(_0x379011[_0x9f4654(0x20e)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x27e)]=_0x368e57(_0x379011[_0x9f4654(0x27e)],_0x572731,_0x115fdb),_0x379011['customDecorations']=_0x368e57(_0x379011[_0x9f4654(0x2f7)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x2f4)]=_0x368e57(_0x379011[_0x9f4654(0x2f4)],_0x572731,_0x115fdb);}function _0xcfc225(_0x12a88d,_0x246854,_0x2fb3ca){const _0x4b8e81=_0x827b65;return _0x12a88d==null?void 0x0:_0x12a88d[_0x4b8e81(0x2ee)](_0x1c569a=>_0x1c569a[_0x4b8e81(0x275)]>=_0x246854?{..._0x1c569a,'startIndex':_0x1c569a['startIndex']+_0x2fb3ca}:_0x1c569a);}function _0x418bd7(_0x4758fb,_0x1a0be9,_0xb1ca8b){const _0x5125bf=_0x827b65;let _0x211a01=_0x1a0be9+_0xb1ca8b;return _0x4758fb==null?void 0x0:_0x4758fb[_0x5125bf(0x2ee)](_0x17a1f8=>_0x17a1f8[_0x5125bf(0x275)]>=_0x1a0be9&&_0x17a1f8[_0x5125bf(0x275)]<_0x211a01?null:_0x17a1f8[_0x5125bf(0x275)]>=_0x211a01?{..._0x17a1f8,'startIndex':_0x17a1f8[_0x5125bf(0x275)]-_0xb1ca8b}:_0x17a1f8)[_0x5125bf(0x2eb)](_0x30adc4=>_0x30adc4!=null);}function _0x496e90(_0xbb9ad7,_0x396281,_0x3416ac){return _0xbb9ad7==null?void 0x0:_0xbb9ad7['map'](_0x19f616=>_0x19f616['st']>=_0x396281?{..._0x19f616,'st':_0x19f616['st']+_0x3416ac,'ed':_0x19f616['ed']+_0x3416ac}:_0x19f616['ed']>_0x396281?{..._0x19f616,'ed':_0x19f616['ed']+_0x3416ac}:_0x19f616);}function _0x477ae0(_0x2cee68,_0x31c185,_0x410438){const _0x90a7df=_0x827b65;return _0x2cee68==null?void 0x0:_0x2cee68[_0x90a7df(0x2ee)](_0x4ecc53=>(0x0,_0x1d869f[_0x90a7df(0x2ec)])(_0x4ecc53,_0x31c185,_0x410438));}function _0x245acf(_0x3be9cf,_0x1b14e6,_0x18f8fd){const _0xaa4908=_0x827b65;return _0x3be9cf==null?void 0x0:_0x3be9cf[_0xaa4908(0x2ee)](_0x16e3a2=>(0x0,_0x1d869f['shiftExclusiveRangeOnInsert'])(_0x16e3a2,_0x1b14e6,_0x18f8fd));}function _0x368e57(_0x348e91,_0x5db322,_0x24a8f8){const _0x1d5cc1=_0x827b65;return _0x348e91==null?void 0x0:_0x348e91[_0x1d5cc1(0x2ee)](_0x5f0eb7=>(0x0,_0x1d869f['shiftInclusiveRangeOnDelete'])(_0x5f0eb7,_0x5db322,_0x24a8f8))['filter'](_0x4924d2=>_0x4924d2!=null);}function _0x2571c1(_0x1a197e,_0x4c923d,_0x1a8b83){const _0x4a3a18=_0x827b65;return _0x1a197e==null?void 0x0:_0x1a197e[_0x4a3a18(0x2ee)](_0x21ed27=>(0x0,_0x1d869f[_0x4a3a18(0x20d)])(_0x21ed27,_0x4c923d,_0x1a8b83))[_0x4a3a18(0x2eb)](_0x54cf12=>_0x54cf12!=null);}function _0x46719a(_0x2403b7){const _0xf77704=_0x827b65;if(!_0x2403b7[_0xf77704(0x1f6)])throw Error(_0xf77704(0x1d3));return _0x2403b7[_0xf77704(0x1f6)];}function _0x1e601d(_0x9b9d07){'@babel/helpers - typeof';const _0x151060=_0x827b65;return _0x1e601d=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x151060(0x264)?function(_0x3f4ab6){return typeof _0x3f4ab6;}:function(_0x11f9e6){const _0x31bc4c=_0x151060;return _0x11f9e6&&typeof Symbol==_0x31bc4c(0x27c)&&_0x11f9e6[_0x31bc4c(0x252)]===Symbol&&_0x11f9e6!==Symbol[_0x31bc4c(0x276)]?_0x31bc4c(0x264):typeof _0x11f9e6;},_0x1e601d(_0x9b9d07);}function _0x22576(_0x415e73,_0x29691d){const _0x595bda=_0x827b65;if(_0x1e601d(_0x415e73)!=_0x595bda(0x2f9)||!_0x415e73)return _0x415e73;var _0xe3437a=_0x415e73[Symbol[_0x595bda(0x1d1)]];if(_0xe3437a!==void 0x0){var _0x3b9917=_0xe3437a[_0x595bda(0x286)](_0x415e73,_0x29691d||'default');if(_0x1e601d(_0x3b9917)!='object')return _0x3b9917;throw TypeError(_0x595bda(0x201));}return(_0x29691d===_0x595bda(0x2a4)?String:Number)(_0x415e73);}function _0xed0c53(_0x2e05a2){const _0x1410b9=_0x827b65;var _0x23933e=_0x22576(_0x2e05a2,'string');return _0x1e601d(_0x23933e)==_0x1410b9(0x264)?_0x23933e:_0x23933e+'';}function _0x3d78b2(_0x52e461,_0x437eaf,_0x505080){const _0x3999b9=_0x827b65;return(_0x437eaf=_0xed0c53(_0x437eaf))in _0x52e461?Object[_0x3999b9(0x24e)](_0x52e461,_0x437eaf,{'value':_0x505080,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x52e461[_0x437eaf]=_0x505080,_0x52e461;}var _0x3d0928=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(..._0x300709){const _0x49fdca=_0x827b65;super(..._0x300709),_0x3d78b2(this,_0x49fdca(0x2c6),new Map()),_0x3d78b2(this,'_rawResources',new Map()),_0x3d78b2(this,_0x49fdca(0x251),new Map()),_0x3d78b2(this,_0x49fdca(0x1fb),new _0x59aa37['Subject']()),_0x3d78b2(this,_0x49fdca(0x2e8),this[_0x49fdca(0x1fb)][_0x49fdca(0x1d0)]());}[_0x827b65(0x259)](_0x310b7d,_0x210377){const _0x5d5804=_0x827b65;var _0x24d197;let _0x4d3829=(_0x24d197=this[_0x5d5804(0x2c6)][_0x5d5804(0x2a6)](_0x310b7d))==null?void 0x0:_0x24d197[_0x5d5804(0x224)][_0x210377];return _0x4d3829?_0x1d869f['Tools'][_0x5d5804(0x1eb)](_0x4d3829):void 0x0;}[_0x827b65(0x219)](_0x156349){const _0x531561=_0x827b65;var _0x1a543d;return _0x1d869f[_0x531561(0x2d7)]['deepClone'](((_0x1a543d=this[_0x531561(0x2c6)]['get'](_0x156349))==null?void 0x0:_0x1a543d[_0x531561(0x224)])??{});}[_0x827b65(0x21c)](_0x971a49){const _0x16edbf=_0x827b65;let _0x9d8451=this[_0x16edbf(0x2c6)]['get'](_0x971a49);return _0x9d8451?_0x1d869f['Tools']['deepClone'](_0x9d8451):void 0x0;}[_0x827b65(0x309)](_0x284730,_0x532519,_0x3da324){const _0x47cddf=_0x827b65;return this[_0x47cddf(0x272)](_0x284730,{[_0x532519]:_0x3da324});}[_0x827b65(0x2e6)](_0x8a669c,_0x4e4b35){const _0x22196c=_0x827b65;return this[_0x22196c(0x251)]['has'](_0x8a669c)||!_0x169706(_0x4e4b35)?!0x1:(this['_resources'][_0x22196c(0x28e)](_0x8a669c,_0x1d869f['Tools'][_0x22196c(0x1eb)](_0x4e4b35)),this['_change$'][_0x22196c(0x2d8)]({'unitId':_0x8a669c}),!0x0);}[_0x827b65(0x272)](_0x7399af,_0x20e197){const _0x37baea=_0x827b65;if(this[_0x37baea(0x251)][_0x37baea(0x287)](_0x7399af)||!Object[_0x37baea(0x237)](_0x20e197)['length']||!_0x169706({'schemaVersion':0x1,'formulas':_0x20e197}))return!0x1;let _0xc33b46=this['_resources']['get'](_0x7399af)??_0x79ce8d(),_0x5da85f=_0x1d869f['Tools']['deepClone'](_0xc33b46);return Object['assign'](_0x5da85f['formulas'],_0x1d869f[_0x37baea(0x2d7)][_0x37baea(0x1eb)](_0x20e197)),this['_resources'][_0x37baea(0x28e)](_0x7399af,_0x5da85f),this[_0x37baea(0x1fb)][_0x37baea(0x2d8)]({'unitId':_0x7399af,'rangeIds':Object['keys'](_0x20e197)}),!0x0;}[_0x827b65(0x1df)](_0x1b510f,_0x10affd){const _0x173545=_0x827b65;if(this[_0x173545(0x251)]['has'](_0x1b510f))return!0x1;let _0x269571=this[_0x173545(0x2c6)][_0x173545(0x2a6)](_0x1b510f);if(!(_0x269571!=null&&_0x269571[_0x173545(0x224)][_0x10affd]))return!0x1;let _0x4080ae=_0x1d869f[_0x173545(0x2d7)][_0x173545(0x1eb)](_0x269571);return delete _0x4080ae[_0x173545(0x224)][_0x10affd],this['_resources']['set'](_0x1b510f,_0x4080ae),this[_0x173545(0x1fb)][_0x173545(0x2d8)]({'unitId':_0x1b510f,'rangeIds':[_0x10affd]}),!0x0;}[_0x827b65(0x290)](_0x249117,_0x34e128){const _0x1fbee5=_0x827b65;return _0x34e128&&typeof _0x34e128==_0x1fbee5(0x2f9)&&'schemaVersion'in _0x34e128&&_0x34e128[_0x1fbee5(0x203)]!==0x1?(this['_preserveInvalid'](_0x249117,_0x34e128,'unsupported-version'),!0x1):_0x169706(_0x34e128)?(this[_0x1fbee5(0x2c6)][_0x1fbee5(0x28e)](_0x249117,_0x1d869f[_0x1fbee5(0x2d7)]['deepClone'](_0x34e128)),this[_0x1fbee5(0x2e9)][_0x1fbee5(0x1f4)](_0x249117),this[_0x1fbee5(0x251)][_0x1fbee5(0x1f4)](_0x249117),this[_0x1fbee5(0x1fb)][_0x1fbee5(0x2d8)]({'unitId':_0x249117}),!0x0):(this[_0x1fbee5(0x212)](_0x249117,_0x34e128,_0x1fbee5(0x1d8)),!0x1);}[_0x827b65(0x2c8)](_0x545256){const _0xef0c07=_0x827b65;let _0x17104e=this['_resources'][_0xef0c07(0x2a6)](_0x545256);return _0x17104e?_0x1d869f[_0xef0c07(0x2d7)][_0xef0c07(0x1eb)](_0x17104e):this['_rawResources'][_0xef0c07(0x287)](_0x545256)?_0x1d869f['Tools']['deepClone'](this[_0xef0c07(0x2e9)][_0xef0c07(0x2a6)](_0x545256)):_0x79ce8d();}[_0x827b65(0x2ed)](_0x55a9b7){const _0x154acd=_0x827b65;return this[_0x154acd(0x251)][_0x154acd(0x2a6)](_0x55a9b7);}['removeUnit'](_0x2f1427){const _0x31e512=_0x827b65;this[_0x31e512(0x2c6)]['delete'](_0x2f1427),this['_rawResources'][_0x31e512(0x1f4)](_0x2f1427),this[_0x31e512(0x251)][_0x31e512(0x1f4)](_0x2f1427),this[_0x31e512(0x1fb)][_0x31e512(0x2d8)]({'unitId':_0x2f1427});}[_0x827b65(0x2c3)](){const _0x5c4430=_0x827b65;this[_0x5c4430(0x2c6)]['clear'](),this[_0x5c4430(0x2e9)]['clear'](),this[_0x5c4430(0x251)]['clear'](),this['_change$'][_0x5c4430(0x2cd)](),super[_0x5c4430(0x2c3)]();}[_0x827b65(0x212)](_0x408765,_0x4774f2,_0x1c6464){const _0x41f18f=_0x827b65;this[_0x41f18f(0x2c6)][_0x41f18f(0x1f4)](_0x408765),this[_0x41f18f(0x2e9)][_0x41f18f(0x28e)](_0x408765,_0x1d869f[_0x41f18f(0x2d7)][_0x41f18f(0x1eb)](_0x4774f2)),this['_loadErrors'][_0x41f18f(0x28e)](_0x408765,_0x1c6464),this[_0x41f18f(0x1fb)][_0x41f18f(0x2d8)]({'unitId':_0x408765});}};let _0x4ef19e=function(_0x28df4c){const _0x3c2db5=_0x827b65;return _0x28df4c[_0x3c2db5(0x2cc)]='empty',_0x28df4c[_0x3c2db5(0x21e)]=_0x3c2db5(0x25a),_0x28df4c[_0x3c2db5(0x1cb)]=_0x3c2db5(0x205),_0x28df4c['ERROR']='error',_0x28df4c;}({});function _0x43893f(_0x4da6a1,_0x156c0c){return function(_0x5af6a6,_0x41a76e){_0x156c0c(_0x5af6a6,_0x41a76e,_0x4da6a1);};}function _0x7efcf8(_0x40464b,_0x4b1ad5,_0x296570,_0x4853e9){const _0x40f8c9=_0x827b65;var _0x2d96d6=arguments[_0x40f8c9(0x266)],_0x24abf7=_0x2d96d6<0x3?_0x4b1ad5:_0x4853e9===null?_0x4853e9=Object[_0x40f8c9(0x1c7)](_0x4b1ad5,_0x296570):_0x4853e9,_0x5150a7;if(typeof Reflect==_0x40f8c9(0x2f9)&&typeof Reflect[_0x40f8c9(0x24b)]==_0x40f8c9(0x27c))_0x24abf7=Reflect[_0x40f8c9(0x24b)](_0x40464b,_0x4b1ad5,_0x296570,_0x4853e9);else{for(var _0x136557=_0x40464b['length']-0x1;_0x136557>=0x0;_0x136557--)(_0x5150a7=_0x40464b[_0x136557])&&(_0x24abf7=(_0x2d96d6<0x3?_0x5150a7(_0x24abf7):_0x2d96d6>0x3?_0x5150a7(_0x4b1ad5,_0x296570,_0x24abf7):_0x5150a7(_0x4b1ad5,_0x296570))||_0x24abf7);}return _0x2d96d6>0x3&&_0x24abf7&&Object[_0x40f8c9(0x24e)](_0x4b1ad5,_0x296570,_0x24abf7),_0x24abf7;}let _0x458a05=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(_0x1c4252,_0x3fcee7,_0x34539c){const _0x47144c=_0x827b65;super(),this[_0x47144c(0x257)]=_0x1c4252,this[_0x47144c(0x22e)]=_0x3fcee7,this[_0x47144c(0x1f9)]=_0x34539c,_0x3d78b2(this,_0x47144c(0x20f),new Map()),_0x3d78b2(this,_0x47144c(0x204),new Map()),_0x3d78b2(this,'_presentationChanged$',new _0x59aa37[(_0x47144c(0x223))]()),_0x3d78b2(this,'presentationChanged$',this['_presentationChanged$'][_0x47144c(0x1d0)]()),this[_0x47144c(0x28c)](this[_0x47144c(0x22e)][_0x47144c(0x243)][_0x47144c(0x2b3)](_0x32264d=>{const _0x4b8396=_0x47144c;for(let _0xa615e2 of Object[_0x4b8396(0x1c5)](_0x32264d))for(let _0x199bf9 of Object['values'](_0xa615e2))_0x199bf9[_0x4b8396(0x23e)](_0x27e9e2=>this[_0x4b8396(0x260)](_0x27e9e2));}));}[_0x827b65(0x255)](_0x1614e1){const _0x5a68c6=_0x827b65;var _0x22b5f1;let _0x46a8a5=_0x1614e1[_0x5a68c6(0x1fd)](),_0x1d77c4=((_0x22b5f1=_0x1614e1[_0x5a68c6(0x23b)]()[_0x5a68c6(0x1f6)])==null||(_0x22b5f1=_0x22b5f1[_0x5a68c6(0x27e)])==null?void 0x0:_0x22b5f1[_0x5a68c6(0x2eb)](_0x2ff3e4))??[],_0x333cb4=this[_0x5a68c6(0x257)][_0x5a68c6(0x219)](_0x46a8a5),_0x11d6b6=new Set();for(let _0x55527f of _0x1d77c4){let _0x3149da=_0x333cb4[_0x55527f[_0x5a68c6(0x2e0)]];_0x3149da&&(_0x11d6b6[_0x5a68c6(0x202)](_0x334c74(_0x46a8a5,_0x55527f[_0x5a68c6(0x2e0)])),this[_0x5a68c6(0x225)]({'unitId':_0x46a8a5,'rangeId':_0x55527f[_0x5a68c6(0x2e0)]},_0x3149da));}for(let _0x5379bf of Array['from'](this[_0x5a68c6(0x20f)]['values']()))_0x5379bf[_0x5a68c6(0x2c7)]===_0x46a8a5&&!_0x11d6b6[_0x5a68c6(0x287)](_0x334c74(_0x5379bf[_0x5a68c6(0x2c7)],_0x5379bf[_0x5a68c6(0x2e0)]))&&this[_0x5a68c6(0x2fb)](_0x5379bf);}[_0x827b65(0x225)](_0x1e8cc2,_0x5d5434){const _0x118a01=_0x827b65;let _0x26bf67=_0x334c74(_0x1e8cc2[_0x118a01(0x2c7)],_0x1e8cc2['rangeId']),_0x58879b=this[_0x118a01(0x20f)][_0x118a01(0x2a6)](_0x26bf67),_0x1707cb=this[_0x118a01(0x1f9)][_0x118a01(0x1c6)](_0x1e8cc2[_0x118a01(0x2c7)]);if(_0x58879b&&_0x58879b[_0x118a01(0x2b8)][_0x118a01(0x22b)]===_0x5d5434[_0x118a01(0x22b)]&&_0x58879b[_0x118a01(0x1ca)]===_0x1707cb){_0x58879b['config']=_0x5d5434;let _0x297e40=_0x58879b[_0x118a01(0x1f2)]?this['_registrationService'][_0x118a01(0x305)](_0x58879b['unitId'],_0x58879b[_0x118a01(0x2c7)],_0x58879b[_0x118a01(0x1f2)])??void 0x0:void 0x0;_0x58879b[_0x118a01(0x28f)]=_0x297e40,this[_0x118a01(0x2d9)](_0x26bf67,_0x4b7aff(_0x5d5434,_0x297e40));return;}_0x58879b!=null&&_0x58879b[_0x118a01(0x1f2)]&&this[_0x118a01(0x270)](_0x58879b);let _0xaee96b={..._0x1e8cc2,'config':_0x5d5434,'referenceRevision':_0x1707cb,'presentation':_0x4b7aff(_0x5d5434,void 0x0)};if(this[_0x118a01(0x20f)]['set'](_0x26bf67,_0xaee96b),!_0x5d5434[_0x118a01(0x22b)][_0x118a01(0x233)]())return;let _0x3f37a8=this['_registrationService'][_0x118a01(0x2fa)](_0x1e8cc2[_0x118a01(0x2c7)],_0x1e8cc2[_0x118a01(0x2c7)],_0x5d5434[_0x118a01(0x22b)],void 0x0,{'rangeId':_0x1e8cc2[_0x118a01(0x2e0)]},_0x410f01[_0x118a01(0x24a)][_0x118a01(0x1db)],_0x1e8cc2[_0x118a01(0x2e0)]);_0xaee96b[_0x118a01(0x1f2)]=_0x3f37a8,this[_0x118a01(0x204)][_0x118a01(0x28e)](_0x3f37a8,_0x26bf67);}[_0x827b65(0x2fb)](_0x20354e){const _0x54e68f=_0x827b65;let _0x3ff6d6=_0x334c74(_0x20354e['unitId'],_0x20354e['rangeId']),_0x1e3574=this[_0x54e68f(0x20f)]['get'](_0x3ff6d6);_0x1e3574&&(this[_0x54e68f(0x270)](_0x1e3574),this['_registrations'][_0x54e68f(0x1f4)](_0x3ff6d6));}['unregisterUnit'](_0x18c53f){const _0x4fe579=_0x827b65;for(let _0x5c72b1 of Array[_0x4fe579(0x2bb)](this[_0x4fe579(0x20f)][_0x4fe579(0x1c5)]()))_0x5c72b1[_0x4fe579(0x2c7)]===_0x18c53f&&this[_0x4fe579(0x2fb)](_0x5c72b1);}[_0x827b65(0x295)](_0x145039){const _0x7abd8c=_0x827b65;var _0x194cc0;return(_0x194cc0=this['_registrations']['get'](_0x334c74(_0x145039[_0x7abd8c(0x2c7)],_0x145039['rangeId'])))==null?void 0x0:_0x194cc0['presentation'];}[_0x827b65(0x306)](_0x59eb2e){const _0x31adfb=_0x827b65;let _0x47662f=this['_registrations'][_0x31adfb(0x2a6)](_0x334c74(_0x59eb2e[_0x31adfb(0x2c7)],_0x59eb2e['rangeId']));return _0x47662f?_0x1d41b3(_0x47662f):void 0x0;}[_0x827b65(0x242)](){const _0x47c42f=_0x827b65;return Array[_0x47c42f(0x2bb)](this[_0x47c42f(0x20f)][_0x47c42f(0x1c5)](),_0x407c69=>({'identity':{'unitId':_0x407c69[_0x47c42f(0x2c7)],'rangeId':_0x407c69['rangeId']},'config':_0x407c69[_0x47c42f(0x2b8)],'referenceRevision':_0x407c69[_0x47c42f(0x1ca)],..._0x407c69[_0x47c42f(0x28f)]?{'liveResult':_0x407c69[_0x47c42f(0x28f)]}:null}));}[_0x827b65(0x2c3)](){const _0x3d72ac=_0x827b65;for(let _0x41f394 of this[_0x3d72ac(0x20f)][_0x3d72ac(0x1c5)]())this[_0x3d72ac(0x270)](_0x41f394);this[_0x3d72ac(0x20f)][_0x3d72ac(0x2ac)](),this[_0x3d72ac(0x204)]['clear'](),this['_presentationChanged$'][_0x3d72ac(0x2cd)](),super[_0x3d72ac(0x2c3)]();}[_0x827b65(0x260)](_0x28faa3){const _0xc874a5=_0x827b65;let _0x53c4b2=this[_0xc874a5(0x204)][_0xc874a5(0x2a6)](_0x28faa3[_0xc874a5(0x1f2)]),_0x25d9fe=_0x53c4b2?this[_0xc874a5(0x20f)]['get'](_0x53c4b2):void 0x0;_0x53c4b2&&_0x25d9fe&&(_0x25d9fe['liveResult']=_0x28faa3,this[_0xc874a5(0x2d9)](_0x53c4b2,_0x4b7aff(_0x25d9fe[_0xc874a5(0x2b8)],_0x28faa3)));}[_0x827b65(0x2d9)](_0x3205ab,_0x3a7b4e){const _0x600b48=_0x827b65;var _0x484ed8,_0x352ead;let _0x4aedfd=this[_0x600b48(0x20f)][_0x600b48(0x2a6)](_0x3205ab);if(!_0x4aedfd||_0x586dac(_0x4aedfd[_0x600b48(0x1ee)],_0x3a7b4e))return;let _0x3ef4d9=_0x4aedfd[_0x600b48(0x1ee)],_0x53ac58=_0x1d41b3(_0x4aedfd);_0x4aedfd['presentation']=_0x3a7b4e,this[_0x600b48(0x1c4)]['next']({'unitId':_0x4aedfd[_0x600b48(0x2c7)],'rangeId':_0x4aedfd[_0x600b48(0x2e0)],'presentation':_0x3a7b4e,'previousPresentation':_0x3ef4d9,'result':_0x1d41b3(_0x4aedfd),'previousResult':{..._0x53ac58,..._0x3ef4d9,'value':(_0x484ed8=_0x3ef4d9[_0x600b48(0x2db)])==null?void 0x0:_0x484ed8['v'],'valueType':((_0x352ead=_0x3ef4d9[_0x600b48(0x2db)])==null?void 0x0:_0x352ead['t'])??void 0x0}});}[_0x827b65(0x270)](_0x4f6db5){const _0x318498=_0x827b65;_0x4f6db5[_0x318498(0x1f2)]&&(this[_0x318498(0x22e)][_0x318498(0x258)](_0x4f6db5[_0x318498(0x2c7)],_0x4f6db5[_0x318498(0x2c7)],[_0x4f6db5['formulaId']]),this[_0x318498(0x204)][_0x318498(0x1f4)](_0x4f6db5['formulaId']));}};_0x458a05=_0x7efcf8([_0x43893f(0x0,(0x0,_0x1d869f['Inject'])(_0x3d0928)),_0x43893f(0x1,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x410f01[_0x827b65(0x278)])),_0x43893f(0x2,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x50090f[_0x827b65(0x20b)]))],_0x458a05);function _0x334c74(_0xc77b2,_0xb44992){return _0xc77b2+'\x00'+_0xb44992;}function _0x4b7aff(_0x295e8f,_0x28ef1c){const _0x4cc2c7=_0x827b65;return(0x0,_0x50090f[_0x4cc2c7(0x25f)])({'numberFormat':_0x295e8f['numberFormat'],'lastValue':_0x295e8f[_0x4cc2c7(0x22a)],'result':_0x28ef1c});}function _0x1d41b3(_0x581fd2){const _0xfe9adc=_0x827b65;var _0x3d022c,_0x30c4a7,_0x26e899;let _0xc03062=_0x581fd2[_0xfe9adc(0x1ee)],_0xae194e=_0x581fd2['config'][_0xfe9adc(0x22b)][_0xfe9adc(0x233)]()?_0xc03062['stale']||_0xc03062[_0xfe9adc(0x2db)]==null?_0xfe9adc(0x25a):((_0x3d022c=_0x581fd2[_0xfe9adc(0x28f)])==null?void 0x0:_0x3d022c[_0xfe9adc(0x22c)])===_0x410f01[_0xfe9adc(0x1cd)][_0xfe9adc(0x308)]?_0xfe9adc(0x268):_0xfe9adc(0x205):_0xfe9adc(0x1d7);return{..._0xc03062,'status':_0xae194e,'value':(_0x30c4a7=_0xc03062[_0xfe9adc(0x2db)])==null?void 0x0:_0x30c4a7['v'],'valueType':((_0x26e899=_0xc03062[_0xfe9adc(0x2db)])==null?void 0x0:_0x26e899['t'])??void 0x0};}function _0x586dac(_0x3a16b6,_0x2e9efc){const _0x52621b=_0x827b65;var _0x3afa0f,_0x1021f9,_0x4a6dfa,_0x15492d;return _0x3a16b6[_0x52621b(0x229)]===_0x2e9efc[_0x52621b(0x229)]&&_0x3a16b6[_0x52621b(0x291)]===_0x2e9efc['color']&&_0x3a16b6[_0x52621b(0x273)]===_0x2e9efc[_0x52621b(0x273)]&&_0x3a16b6['source']===_0x2e9efc[_0x52621b(0x2a1)]&&_0x3a16b6[_0x52621b(0x269)]===_0x2e9efc[_0x52621b(0x269)]&&((_0x3afa0f=_0x3a16b6['cell'])==null?void 0x0:_0x3afa0f['t'])===((_0x1021f9=_0x2e9efc[_0x52621b(0x2db)])==null?void 0x0:_0x1021f9['t'])&&Object['is']((_0x4a6dfa=_0x3a16b6[_0x52621b(0x2db)])==null?void 0x0:_0x4a6dfa['v'],(_0x15492d=_0x2e9efc[_0x52621b(0x2db)])==null?void 0x0:_0x15492d['v']);}let _0x2c27f0={'id':'docs-formula.mutation.set-formula','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x27cb20,_0x43fbac)=>!(_0x43fbac!=null&&_0x43fbac[_0x827b65(0x2c7)])||!_0x43fbac[_0x827b65(0x2e0)]||!_0x43fbac['config']?!0x1:_0x27cb20['get'](_0x3d0928)[_0x827b65(0x309)](_0x43fbac[_0x827b65(0x2c7)],_0x43fbac['rangeId'],_0x43fbac[_0x827b65(0x2b8)])},_0x35c2b9={'id':'docs-formula.mutation.remove-formula','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x3cab01,_0x3a9e53)=>!(_0x3a9e53!=null&&_0x3a9e53['unitId'])||!_0x3a9e53['rangeId']?!0x1:_0x3cab01[_0x827b65(0x2a6)](_0x3d0928)[_0x827b65(0x1df)](_0x3a9e53[_0x827b65(0x2c7)],_0x3a9e53['rangeId'])},_0x1e92ee={'id':_0x827b65(0x1d5),'type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x50f9ec,_0x31f170)=>!(_0x31f170!=null&&_0x31f170[_0x827b65(0x2c7)])||!_0x31f170[_0x827b65(0x2d2)]?!0x1:_0x50f9ec[_0x827b65(0x2a6)](_0x3d0928)[_0x827b65(0x2e6)](_0x31f170['unitId'],_0x31f170[_0x827b65(0x2d2)])},_0x3c160a={'id':_0x827b65(0x2c4),'type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x526eaf,_0x2b4555)=>{const _0x13bf6e=_0x827b65;if(!(_0x2b4555!=null&&_0x2b4555[_0x13bf6e(0x2c7)])||!_0x2b4555[_0x13bf6e(0x2a0)][_0x13bf6e(0x266)])return!0x1;let _0xd4539b=_0x526eaf['get'](_0x3d0928),_0x4103c1=_0x526eaf['get'](_0x50090f['HostExternalReferenceModel']),_0x216970=_0xd4539b[_0x13bf6e(0x21c)](_0x2b4555['unitId']);if(!_0x216970)return!0x1;let _0x8203e=_0x1d869f[_0x13bf6e(0x2d7)][_0x13bf6e(0x1eb)](_0x216970),_0x5e11da=!0x1;for(let _0x20a79a of _0x2b4555['updates']){var _0x521a7b,_0x2bf7dd,_0x5b749b,_0xd0b54d;let _0x23e857=_0x8203e[_0x13bf6e(0x224)][_0x20a79a[_0x13bf6e(0x2e0)]];_0x23e857&&_0x23e857[_0x13bf6e(0x22b)]===_0x20a79a[_0x13bf6e(0x2a9)]&&((_0x521a7b=_0x23e857['numberFormat'])==null?void 0x0:_0x521a7b[_0x13bf6e(0x273)])===_0x20a79a[_0x13bf6e(0x1e1)]&&_0x4103c1[_0x13bf6e(0x1c6)](_0x2b4555[_0x13bf6e(0x2c7)])===_0x20a79a['expectedReferenceRevision']&&(((_0x2bf7dd=_0x23e857['lastValue'])==null?void 0x0:_0x2bf7dd['v'])!==_0x20a79a['lastValue']['v']||((_0x5b749b=_0x23e857['lastValue'])==null?void 0x0:_0x5b749b['t'])!==_0x20a79a[_0x13bf6e(0x22a)]['t']||((_0xd0b54d=_0x23e857['lastValue'])==null?void 0x0:_0xd0b54d['pattern'])!==_0x20a79a['lastValue']['pattern'])&&(_0x23e857[_0x13bf6e(0x22a)]=_0x1d869f[_0x13bf6e(0x2d7)][_0x13bf6e(0x1eb)](_0x20a79a[_0x13bf6e(0x22a)]),_0x5e11da=!0x0);}return!_0x5e11da||_0xd4539b[_0x13bf6e(0x2e6)](_0x2b4555[_0x13bf6e(0x2c7)],_0x8203e);}},_0xb81e24={'id':'docs-formula.command.insert','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x5c9fba,_0x2d98f4)=>{const _0x4b4796=_0x827b65;if(!(_0x2d98f4!=null&&_0x2d98f4[_0x4b4796(0x22b)][_0x4b4796(0x233)]()))return!0x1;let _0x5f40d8=_0x1ce930(_0x5c9fba,_0x2d98f4[_0x4b4796(0x2c7)],'');if(!_0x5f40d8)return!0x1;let _0x1d1544=_0x4dcfa1(_0x2d98f4['target'],_0x5f40d8['body'],_0x5adf50(_0x5c9fba,_0x5f40d8['unitId']));if(!_0x1d1544)return!0x1;let _0x412f4d=_0x1ace49(_0x5c9fba,_0x5f40d8[_0x4b4796(0x2c7)],_0x2d98f4[_0x4b4796(0x22b)],_0x2d98f4[_0x4b4796(0x2dc)]??[]);if(!_0x412f4d)return!0x1;let _0x34ec23=_0x293cd3(_0x5f40d8['body'],_0x5f40d8[_0x4b4796(0x2f6)],_0x5f40d8['unitId']),_0x399294=_0x5a9709({'documentData':_0x5f40d8[_0x4b4796(0x2bc)],'resource':_0x5f40d8['resource'],'rangeId':_0x34ec23,'config':{'formula':_0x2d98f4[_0x4b4796(0x22b)],..._0x2d98f4[_0x4b4796(0x245)]?{'numberFormat':_0x2d98f4['numberFormat']}:null},'startOffset':_0x1d1544[_0x4b4796(0x221)],'endOffset':_0x1d1544[_0x4b4796(0x1e9)]});if(!_0x399294)return!0x1;let _0x195276=(0x0,_0x50090f[_0x4b4796(0x2a5)])(_0x5c9fba,_0x5f40d8['unitId'],_0x412f4d);return!_0x195276||!_0x4fe10a({'accessor':_0x5c9fba,'document':_0x5f40d8['document'],'unitId':_0x5f40d8['unitId'],'trigger':_0xb81e24['id'],'rangeId':_0x34ec23,'previousResource':_0x5f40d8[_0x4b4796(0x2d2)],'nextResource':_0x399294[_0x4b4796(0x2d4)],'previousDocumentData':_0x5f40d8[_0x4b4796(0x2bc)],'nextDocumentData':_0x399294[_0x4b4796(0x2ab)],'cursorOffset':_0x399294['cursorOffset'],'externalMutations':_0x195276})?!0x1:{'rangeId':_0x34ec23,'startOffset':_0x399294[_0x4b4796(0x27f)]-0x1,'endOffset':_0x399294['cursorOffset']};}},_0x18cd15={'id':'docs-formula.command.update','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x5d5feb,_0x24b097)=>{const _0xbde758=_0x827b65;if(!(_0x24b097!=null&&_0x24b097[_0xbde758(0x2e0)])||!_0x24b097[_0xbde758(0x22b)][_0xbde758(0x233)]())return!0x1;let _0x2a8f78=_0x1ce930(_0x5d5feb,_0x24b097['unitId'],''),_0x41d2e5=_0x2a8f78==null?void 0x0:_0x2a8f78[_0xbde758(0x2f6)][_0xbde758(0x259)](_0x2a8f78[_0xbde758(0x2c7)],_0x24b097['rangeId']),_0x35b42a=_0x2a8f78?_0x261b2d(_0x2a8f78[_0xbde758(0x2bc)][_0xbde758(0x1f6)],_0x24b097[_0xbde758(0x2e0)]):void 0x0;if(!_0x2a8f78||!_0x41d2e5||!_0x35b42a)return!0x1;let _0x5c4504=_0x1ace49(_0x5d5feb,_0x2a8f78['unitId'],_0x24b097['formula'],_0x24b097[_0xbde758(0x2dc)]??[]);if(!_0x5c4504)return!0x1;let _0x70f065=(0x0,_0x50090f[_0xbde758(0x2a5)])(_0x5d5feb,_0x2a8f78[_0xbde758(0x2c7)],_0x5c4504);if(!_0x70f065)return!0x1;let _0x3afea8=_0x2ff30b(_0x2a8f78['resource']);return _0x3afea8[_0xbde758(0x224)][_0x24b097['rangeId']]={'formula':_0x24b097[_0xbde758(0x22b)],..._0x24b097['numberFormat']?{'numberFormat':_0x24b097[_0xbde758(0x245)]}:_0x41d2e5['numberFormat']?{'numberFormat':_0x41d2e5[_0xbde758(0x245)]}:null},_0x4fe10a({'accessor':_0x5d5feb,'document':_0x2a8f78[_0xbde758(0x1d9)],'unitId':_0x2a8f78['unitId'],'trigger':_0x18cd15['id'],'rangeId':_0x24b097[_0xbde758(0x2e0)],'previousResource':_0x2a8f78['resource'],'nextResource':_0x3afea8,'cursorOffset':_0x35b42a['endIndex']+0x1,'externalMutations':_0x70f065});}},_0x4049f1={'id':'docs-formula.command.set-number-format','type':_0x1d869f['CommandType']['COMMAND'],'handler':(_0x2f0d8f,_0xfe3d35)=>{const _0xee17b9=_0x827b65;if(!(_0xfe3d35!=null&&_0xfe3d35[_0xee17b9(0x2e0)]))return!0x1;let _0xb8dcc7=_0x1ce930(_0x2f0d8f,_0xfe3d35[_0xee17b9(0x2c7)],''),_0x3b33a4=_0xb8dcc7==null?void 0x0:_0xb8dcc7[_0xee17b9(0x2f6)][_0xee17b9(0x259)](_0xb8dcc7['unitId'],_0xfe3d35['rangeId']),_0x8e2391=_0xb8dcc7?_0x261b2d(_0xb8dcc7['documentData']['body'],_0xfe3d35['rangeId']):void 0x0;if(!_0xb8dcc7||!_0x3b33a4||!_0x8e2391)return!0x1;let _0x22d22d=_0x2ff30b(_0xb8dcc7[_0xee17b9(0x2d2)]);return _0x22d22d['formulas'][_0xfe3d35[_0xee17b9(0x2e0)]]={..._0x3b33a4,..._0xfe3d35[_0xee17b9(0x245)]?{'numberFormat':_0xfe3d35[_0xee17b9(0x245)]}:null},_0xfe3d35[_0xee17b9(0x245)]||delete _0x22d22d[_0xee17b9(0x224)][_0xfe3d35[_0xee17b9(0x2e0)]][_0xee17b9(0x245)],_0x4fe10a({'accessor':_0x2f0d8f,'document':_0xb8dcc7['document'],'unitId':_0xb8dcc7[_0xee17b9(0x2c7)],'trigger':_0x4049f1['id'],'rangeId':_0xfe3d35['rangeId'],'previousResource':_0xb8dcc7[_0xee17b9(0x2d2)],'nextResource':_0x22d22d,'cursorOffset':_0x8e2391[_0xee17b9(0x2ff)]+0x1,'externalMutations':{}});}},_0x172215={'id':_0x827b65(0x21f),'type':_0x1d869f[_0x827b65(0x1f1)]['COMMAND'],'handler':(_0x2f7580,_0x5aeb10)=>_0x476611(_0x2f7580,_0x5aeb10,'',_0x172215['id'])},_0x3f932c={'id':'docs-formula.command.replace-with-text','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x4f4db1,_0x304f2a)=>_0x476611(_0x4f4db1,_0x304f2a,(_0x304f2a==null?void 0x0:_0x304f2a[_0x827b65(0x229)])??'',_0x3f932c['id'])},_0x2309df={'id':_0x827b65(0x2dd),'type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x476315,_0x21da07)=>{const _0x1635cb=_0x827b65;if(!(_0x21da07!=null&&_0x21da07['rangeId']))return!0x1;let _0x277259=_0x1ce930(_0x476315,_0x21da07[_0x1635cb(0x2c7)],'');if(!_0x277259)return!0x1;let _0x1258e7=_0x476315[_0x1635cb(0x2a6)](_0x458a05)['getResult']({'unitId':_0x277259[_0x1635cb(0x2c7)],'rangeId':_0x21da07[_0x1635cb(0x2e0)]});return _0x1258e7?_0x476611(_0x476315,_0x21da07,_0x1258e7['text'],_0x2309df['id']):!0x1;}};function _0x476611(_0x3a0efc,_0x5e5217,_0x23adb4,_0x14bcaf){const _0x28dc1f=_0x827b65;if(!(_0x5e5217!=null&&_0x5e5217[_0x28dc1f(0x2e0)]))return!0x1;let _0x1cb696=_0x1ce930(_0x3a0efc,_0x5e5217[_0x28dc1f(0x2c7)],'');if(!_0x1cb696)return!0x1;let _0x43e2ec=_0x4eace5({'documentData':_0x1cb696[_0x28dc1f(0x2bc)],'resource':_0x1cb696[_0x28dc1f(0x2d2)],'rangeId':_0x5e5217[_0x28dc1f(0x2e0)],'text':_0x23adb4});return _0x43e2ec?_0x4fe10a({'accessor':_0x3a0efc,'document':_0x1cb696[_0x28dc1f(0x1d9)],'unitId':_0x1cb696['unitId'],'trigger':_0x14bcaf,'rangeId':_0x5e5217[_0x28dc1f(0x2e0)],'previousResource':_0x1cb696[_0x28dc1f(0x2d2)],'nextResource':_0x43e2ec[_0x28dc1f(0x2d4)],'previousDocumentData':_0x1cb696[_0x28dc1f(0x2bc)],'nextDocumentData':_0x43e2ec[_0x28dc1f(0x2ab)],'cursorOffset':_0x43e2ec[_0x28dc1f(0x27f)],'externalMutations':{}}):!0x1;}function _0x1ce930(_0x2ec80d,_0x25a696,_0x3e9e07){const _0x8861da=_0x827b65;if(_0x3e9e07)return null;let _0x37ed8a=_0x2ec80d[_0x8861da(0x2a6)](_0x1d869f['IUniverInstanceService']),_0x5d861e=(_0x25a696?_0x37ed8a[_0x8861da(0x25d)](_0x25a696,_0x1d869f[_0x8861da(0x28b)][_0x8861da(0x2e2)]):_0x37ed8a[_0x8861da(0x24c)](_0x1d869f[_0x8861da(0x28b)][_0x8861da(0x2e2)]))??null;if(!_0x5d861e)return null;let _0x1f8d89=_0x5d861e[_0x8861da(0x23b)](),_0x5b44f9=_0x1f8d89[_0x8861da(0x1f6)];if(_0x1f8d89[_0x8861da(0x300)]||!_0x5b44f9)return null;let _0x29749b=_0x2ec80d['get'](_0x3d0928);return _0x29749b[_0x8861da(0x2ed)](_0x5d861e['getUnitId']())?null:{'document':_0x5d861e,'body':_0x5b44f9,'documentData':_0x1f8d89,'model':_0x29749b,'resource':_0x29749b[_0x8861da(0x21c)](_0x5d861e[_0x8861da(0x1fd)]())??_0x79ce8d(),'unitId':_0x5d861e['getUnitId']()};}function _0x5adf50(_0x38ced0,_0x468c89){const _0x5754d4=_0x827b65;var _0x6b5fe1;return(_0x6b5fe1=_0x38ced0[_0x5754d4(0x2a6)](_0x2fc97e[_0x5754d4(0x1ea)])[_0x5754d4(0x2af)]({'subUnitId':_0x468c89,'unitId':_0x468c89}))==null?void 0x0:_0x6b5fe1[0x0];}function _0x4dcfa1(_0x2e55be,_0x523465,_0x287a6e){const _0x3758f3=_0x827b65;if((_0x2e55be==null?void 0x0:_0x2e55be['type'])===_0x3758f3(0x2ea)){var _0x34f837;let _0x44d6db=((_0x34f837=_0x523465[_0x3758f3(0x27d)])==null?void 0x0:_0x34f837['filter'](_0x8426c9=>_0x8426c9[_0x3758f3(0x2ae)]===_0x2e55be['paragraphId']))??[];if(_0x44d6db['length']!==0x1)return null;let _0xbdf5b9=_0x44d6db[0x0],_0x2dd5f8=(0x0,_0x1d869f[_0x3758f3(0x1ed)])(_0x523465,_0xbdf5b9),_0x38137b=_0xbdf5b9['startIndex']-_0x2dd5f8,_0x4041c5=_0x2e55be['position']==='end'?_0x38137b:_0x2e55be['position'];if(!Number[_0x3758f3(0x26b)](_0x4041c5)||_0x4041c5<0x0||_0x4041c5>_0x38137b)return null;let _0x225084=_0x2dd5f8+_0x4041c5;return{'startOffset':_0x225084,'endOffset':_0x225084};}if((_0x2e55be==null?void 0x0:_0x2e55be[_0x3758f3(0x23f)])===_0x3758f3(0x236))return!Number[_0x3758f3(0x26b)](_0x2e55be[_0x3758f3(0x221)])||!Number['isInteger'](_0x2e55be[_0x3758f3(0x1e9)])?null:{'startOffset':Math['min'](_0x2e55be[_0x3758f3(0x221)],_0x2e55be['endOffset']),'endOffset':Math[_0x3758f3(0x2f8)](_0x2e55be[_0x3758f3(0x221)],_0x2e55be[_0x3758f3(0x1e9)])};let _0x7df192=(_0x2e55be==null?void 0x0:_0x2e55be[_0x3758f3(0x23f)])===_0x3758f3(0x2d1)?_0x2e55be['selection']:_0x287a6e;return!_0x7df192||_0x7df192['segmentId']?null:{'startOffset':Math[_0x3758f3(0x240)](_0x7df192[_0x3758f3(0x221)],_0x7df192['endOffset']),'endOffset':Math[_0x3758f3(0x2f8)](_0x7df192[_0x3758f3(0x221)],_0x7df192['endOffset'])};}function _0x1ace49(_0x19c39f,_0x3e355f,_0x4a7c39,_0x4a7db7){const _0x55049e=_0x827b65;let _0x5f1066=_0x19c39f[_0x55049e(0x2a6)](_0x410f01[_0x55049e(0x2cb)]),_0x1fb85d=_0x4a7c39[_0x55049e(0x2b6)]('=')?_0x4a7c39[_0x55049e(0x215)](0x1):_0x4a7c39,_0x10eb0e=_0x5f1066[_0x55049e(0x1e3)](_0x1fb85d);if(!_0x10eb0e)return null;let _0x22c7d4=_0x19c39f[_0x55049e(0x2a6)](_0x50090f[_0x55049e(0x20b)]),_0x192a71=(0x0,_0x50090f[_0x55049e(0x21d)])({'qualifiers':(0x0,_0x50090f['collectFormulaExternalReferenceQualifiers'])(_0x10eb0e),'explicitReferences':_0x4a7db7??[],'resolveBinding':_0x46c318=>_0x22c7d4[_0x55049e(0x262)](_0x3e355f,_0x46c318)});return _0x192a71['status']===_0x55049e(0x23a)?_0x192a71[_0x55049e(0x29d)]:null;}function _0x293cd3(_0xce2576,_0x42be50,_0x450777){const _0x54e1b4=_0x827b65;var _0x4cfa51;let _0x2fc036=(0x0,_0x1d869f[_0x54e1b4(0x26e)])(0x6);for(;_0xce2576!=null&&(_0x4cfa51=_0xce2576[_0x54e1b4(0x27e)])!=null&&_0x4cfa51[_0x54e1b4(0x274)](_0x2ae384=>_0x2ae384[_0x54e1b4(0x2e0)]===_0x2fc036)||_0x42be50[_0x54e1b4(0x259)](_0x450777,_0x2fc036);)_0x2fc036=(0x0,_0x1d869f[_0x54e1b4(0x26e)])(0x6);return _0x2fc036;}function _0x5a9709(_0x45433c){try{return _0x4d21e2(_0x45433c);}catch(_0x3714ae){if(_0x3714ae instanceof _0xafe7e3)return null;throw _0x3714ae;}}function _0x1cd074(_0x353d67){const _0x5394e9=_0x827b65;let _0x466d0d=_0x353d67[_0x5394e9(0x1fc)]&&_0x353d67[_0x5394e9(0x2ab)]?_0x4e1c80(_0x353d67[_0x5394e9(0x1d9)],_0x353d67[_0x5394e9(0x2c7)],_0x353d67[_0x5394e9(0x1fc)],_0x353d67[_0x5394e9(0x2ab)],_0x353d67[_0x5394e9(0x27f)],_0x353d67[_0x5394e9(0x1da)]):null;return _0x353d67[_0x5394e9(0x1fc)]&&_0x353d67[_0x5394e9(0x2ab)]&&!_0x466d0d?null:{'documentRedo':_0x466d0d,'resourceRedo':{'id':_0x1e92ee['id'],'params':{'unitId':_0x353d67[_0x5394e9(0x2c7)],'resource':_0x353d67['nextResource']}},'resourceUndo':{'id':_0x1e92ee['id'],'params':{'unitId':_0x353d67[_0x5394e9(0x2c7)],'resource':_0x353d67[_0x5394e9(0x23d)]}}};}function _0x9253e0(_0x548b96,_0x5f4445,_0xa7997e,_0x3c475c){const _0x16d160=_0x827b65;_0x3c475c[_0x16d160(0x294)]({'id':_0x548b96[_0x16d160(0x1da)]+':'+_0x548b96['rangeId'],'unitID':_0x548b96[_0x16d160(0x2c7)],'redoMutations':[..._0x548b96[_0x16d160(0x211)][_0x16d160(0x2e4)]?[_0x548b96['externalMutations'][_0x16d160(0x2e4)]]:[],..._0x5f4445[_0x16d160(0x301)]?[_0x5f4445[_0x16d160(0x301)]]:[],_0x5f4445['resourceRedo']],'undoMutations':[_0x5f4445[_0x16d160(0x2c2)],..._0xa7997e?[_0xa7997e]:[],..._0x548b96['externalMutations'][_0x16d160(0x2b0)]?[_0x548b96['externalMutations'][_0x16d160(0x2b0)]]:[]]});}function _0x4fe10a(_0x367908){const _0x4e471e=_0x827b65;let _0x93d7b4=_0x367908['accessor'][_0x4e471e(0x2a6)](_0x1d869f[_0x4e471e(0x2e7)]),_0x6c2bf=_0x367908[_0x4e471e(0x267)][_0x4e471e(0x2a6)](_0x1d869f[_0x4e471e(0x23c)]),_0x108fb8=_0x367908[_0x4e471e(0x267)][_0x4e471e(0x2a6)](_0x2fc97e[_0x4e471e(0x1ea)]),_0x55023f=_0x1cd074(_0x367908);if(!_0x55023f)return!0x1;let _0x5ec29f=!0x1,_0x434937=null,_0xfe702c=!0x1;try{if(_0x367908[_0x4e471e(0x211)][_0x4e471e(0x2e4)]){if(!_0x93d7b4[_0x4e471e(0x22d)](_0x367908[_0x4e471e(0x211)][_0x4e471e(0x2e4)]['id'],_0x367908['externalMutations'][_0x4e471e(0x2e4)][_0x4e471e(0x2bd)]))return!0x1;_0x5ec29f=!0x0;}if(_0x55023f[_0x4e471e(0x301)]){let _0x4c87b0=_0x93d7b4[_0x4e471e(0x22d)](_0x55023f[_0x4e471e(0x301)]['id'],_0x55023f['documentRedo'][_0x4e471e(0x2bd)]);if(!_0x4c87b0)return _0x3c6a80(_0x93d7b4,_0x367908['externalMutations'],_0x5ec29f),!0x1;_0x434937={'id':_0x2fc97e[_0x4e471e(0x1f3)]['id'],'params':{..._0x4c87b0,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x93d7b4['syncExecuteCommand'](_0x55023f['resourceRedo']['id'],_0x55023f['resourceRedo'][_0x4e471e(0x2bd)]))return _0x4d55d1(_0x93d7b4,_0x434937),_0x3c6a80(_0x93d7b4,_0x367908['externalMutations'],_0x5ec29f),!0x1;_0xfe702c=!0x0,_0x9253e0(_0x367908,_0x55023f,_0x434937,_0x6c2bf);}catch(_0x2488ea){throw _0xfe702c&&_0x93d7b4[_0x4e471e(0x22d)](_0x55023f['resourceUndo']['id'],_0x55023f[_0x4e471e(0x2c2)][_0x4e471e(0x2bd)]),_0x4d55d1(_0x93d7b4,_0x434937),_0x3c6a80(_0x93d7b4,_0x367908[_0x4e471e(0x211)],_0x5ec29f),_0x2488ea;}return _0x108fb8[_0x4e471e(0x253)]([{'startOffset':_0x367908['cursorOffset'],'endOffset':_0x367908[_0x4e471e(0x27f)],'segmentId':''}],{'unitId':_0x367908['unitId'],'subUnitId':_0x367908['unitId']},!0x1,{[_0x2fc97e[_0x4e471e(0x29c)]]:!0x0}),!0x0;}function _0x4e1c80(_0x5c547f,_0x46985e,_0x329413,_0xcd990b,_0x4be2cd,_0x47859f){const _0x5c6fce=_0x827b65;let _0x883af=_0x53f518(_0x329413,_0xcd990b,(0x0,_0x1d869f[_0x5c6fce(0x20a)])(_0x5c547f,''));return _0x883af?{'id':_0x2fc97e['RichTextEditingMutation']['id'],'params':{'unitId':_0x46985e,'actions':_0x883af,'segmentId':'','textRanges':[{'startOffset':_0x4be2cd,'endOffset':_0x4be2cd,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x47859f}}:null;}function _0x4d55d1(_0x256c39,_0x4b31c2){const _0x21098d=_0x827b65;_0x4b31c2&&_0x256c39[_0x21098d(0x22d)](_0x4b31c2['id'],_0x4b31c2[_0x21098d(0x2bd)]);}function _0x3c6a80(_0x5bda07,_0x153cfc,_0x2e0cf4){const _0x59f0ab=_0x827b65;_0x2e0cf4&&_0x153cfc[_0x59f0ab(0x2b0)]&&_0x5bda07[_0x59f0ab(0x22d)](_0x153cfc[_0x59f0ab(0x2b0)]['id'],_0x153cfc[_0x59f0ab(0x2b0)][_0x59f0ab(0x2bd)]);}function _0x53f518(_0x19ebb2,_0x385698,_0x5eb1f6){const _0xd04434=_0x827b65;let _0x3a50ed=_0x19ebb2[_0xd04434(0x1f6)],_0x533c2d=_0x385698[_0xd04434(0x1f6)],_0x128948=_0x2bba63(_0x3a50ed==null?void 0x0:_0x3a50ed[_0xd04434(0x279)],_0x533c2d==null?void 0x0:_0x533c2d['dataStream']);if(!_0x128948||!_0x533c2d)return null;let _0x374c80=new _0x1d869f[(_0xd04434(0x1d4))]();return _0x374c80[_0xd04434(0x2f0)](_0x128948['start']),_0x128948[_0xd04434(0x271)]>0x0&&_0x374c80[_0xd04434(0x2b2)](_0x128948[_0xd04434(0x271)],(0x0,_0x1d869f[_0xd04434(0x25b)])(_0x533c2d,_0x128948[_0xd04434(0x285)],_0x128948[_0xd04434(0x285)]+_0x128948[_0xd04434(0x271)],!0x1)),_0x128948[_0xd04434(0x248)]>0x0&&_0x374c80['delete'](_0x128948[_0xd04434(0x248)]),_0x1d869f['JSONX']['getInstance']()[_0xd04434(0x2e5)](_0x374c80[_0xd04434(0x2c8)](),_0x5eb1f6);}function _0x2bba63(_0x46fc82,_0x375978){const _0x9aebb5=_0x827b65;if(_0x46fc82==null||_0x375978==null||_0x46fc82===_0x375978)return null;let _0x75e6a7=0x0;for(;_0x75e6a7<_0x46fc82[_0x9aebb5(0x266)]&&_0x75e6a7<_0x375978[_0x9aebb5(0x266)]&&_0x46fc82[_0x75e6a7]===_0x375978[_0x75e6a7];)_0x75e6a7+=0x1;let _0x51f6cb=_0x46fc82[_0x9aebb5(0x266)],_0x369a3b=_0x375978[_0x9aebb5(0x266)];for(;_0x51f6cb>_0x75e6a7&&_0x369a3b>_0x75e6a7&&_0x46fc82[_0x51f6cb-0x1]===_0x375978[_0x369a3b-0x1];)--_0x51f6cb,--_0x369a3b;return{'start':_0x75e6a7,'deleteLength':_0x51f6cb-_0x75e6a7,'insertLength':_0x369a3b-_0x75e6a7};}function _0x2ff30b(_0x222cd5){const _0x31e16b=_0x827b65;return{'schemaVersion':0x1,'formulas':Object[_0x31e16b(0x2df)](Object[_0x31e16b(0x2f5)](_0x222cd5[_0x31e16b(0x224)])[_0x31e16b(0x2ee)](([_0x441784,_0x2dfce4])=>[_0x441784,{..._0x2dfce4,..._0x2dfce4[_0x31e16b(0x245)]?{'numberFormat':{..._0x2dfce4['numberFormat']}}:null,..._0x2dfce4[_0x31e16b(0x22a)]?{'lastValue':{..._0x2dfce4['lastValue']}}:null}]))};}let _0x46421d=class extends _0x1d869f['Disposable']{constructor(_0x49b40f,_0x523e58,_0xd51b95,_0x1233e5){const _0x2fbe81=_0x827b65;super(),this['_instanceService']=_0x49b40f,this[_0x2fbe81(0x1cc)]=_0x523e58,this[_0x2fbe81(0x257)]=_0xd51b95,this[_0x2fbe81(0x2d3)]=_0x1233e5,_0x3d78b2(this,_0x2fbe81(0x25e),new Set()),_0x3d78b2(this,_0x2fbe81(0x209),!0x1),_0x3d78b2(this,'_isDisposed',!0x1),this[_0x2fbe81(0x296)][_0x2fbe81(0x2d0)](_0x1d869f[_0x2fbe81(0x28b)][_0x2fbe81(0x2e2)])[_0x2fbe81(0x23e)](_0x20f25c=>this[_0x2fbe81(0x2d3)]['syncUnit'](_0x20f25c)),this['disposeWithMe'](this['_model'][_0x2fbe81(0x2e8)]['subscribe'](({unitId:_0x3a76cb})=>this[_0x2fbe81(0x226)](_0x3a76cb))),this[_0x2fbe81(0x28c)](this[_0x2fbe81(0x296)][_0x2fbe81(0x2b1)]['subscribe'](({unit:_0x10e9c7})=>{const _0x26cc55=_0x2fbe81;_0x10e9c7[_0x26cc55(0x23f)]===_0x1d869f[_0x26cc55(0x28b)]['UNIVER_DOC']&&this['_queueSync'](_0x10e9c7['getUnitId']());})),this[_0x2fbe81(0x28c)](this[_0x2fbe81(0x296)][_0x2fbe81(0x30b)][_0x2fbe81(0x2b3)](_0x366d5f=>{const _0x5afc5c=_0x2fbe81;this[_0x5afc5c(0x2d3)][_0x5afc5c(0x2b7)](_0x366d5f[_0x5afc5c(0x1fd)]());})),this[_0x2fbe81(0x28c)](this[_0x2fbe81(0x1cc)][_0x2fbe81(0x292)](_0x22c2cc=>{const _0x4dfdc4=_0x2fbe81;if(_0x22c2cc['id']===_0x2fc97e['RichTextEditingMutation']['id']&&_0xae9c01(_0x22c2cc[_0x4dfdc4(0x2bd)])){let _0x47c4fb=_0x22c2cc[_0x4dfdc4(0x2bd)];_0x47c4fb[_0x4dfdc4(0x2a7)]||this[_0x4dfdc4(0x226)](_0x47c4fb[_0x4dfdc4(0x2c7)]);}}));}[_0x827b65(0x2c3)](){const _0x4f28b8=_0x827b65;this[_0x4f28b8(0x282)]=!0x0,super[_0x4f28b8(0x2c3)]();}[_0x827b65(0x1ff)](_0x1f5c4d){const _0x334571=_0x827b65;this[_0x334571(0x25e)]['add'](_0x1f5c4d),!this[_0x334571(0x209)]&&(this[_0x334571(0x209)]=!0x0,queueMicrotask(()=>{const _0x52fbe6=_0x334571;if(this['_syncScheduled']=!0x1,this['_isDisposed'])return;let _0x1d04a7=Array[_0x52fbe6(0x2bb)](this['_pendingUnitIds']);this[_0x52fbe6(0x25e)]['clear'](),_0x1d04a7[_0x52fbe6(0x23e)](_0x4bdec4=>this[_0x52fbe6(0x226)](_0x4bdec4));}));}[_0x827b65(0x226)](_0x1b4843){const _0x3606ef=_0x827b65;let _0x4e5113=this[_0x3606ef(0x296)][_0x3606ef(0x25d)](_0x1b4843,_0x1d869f[_0x3606ef(0x28b)][_0x3606ef(0x2e2)]);_0x4e5113&&this[_0x3606ef(0x2d3)]['syncUnit'](_0x4e5113);}};_0x46421d=_0x7efcf8([_0x43893f(0x0,_0x1d869f['IUniverInstanceService']),_0x43893f(0x1,_0x1d869f[_0x827b65(0x2e7)]),_0x43893f(0x2,(0x0,_0x1d869f['Inject'])(_0x3d0928)),_0x43893f(0x3,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x458a05))],_0x46421d);function _0xae9c01(_0x540f9a){const _0x402d45=_0x827b65;return typeof _0x540f9a=='object'&&!!_0x540f9a&&_0x402d45(0x2c7)in _0x540f9a&&typeof _0x540f9a[_0x402d45(0x2c7)]==_0x402d45(0x2a4)&&(!('segmentId'in _0x540f9a)||_0x540f9a[_0x402d45(0x2a7)]===void 0x0||typeof _0x540f9a[_0x402d45(0x2a7)]==_0x402d45(0x2a4));}let _0x5ef141=class extends _0x1d869f['Disposable']{constructor(_0x3e1ea7,_0xd569f5){const _0x4245af=_0x827b65;super(),this['_resourceManagerService']=_0x3e1ea7,this[_0x4245af(0x228)]=_0xd569f5,this[_0x4245af(0x28c)](this[_0x4245af(0x277)][_0x4245af(0x239)]({'pluginName':_0x9736a7,'businesses':[_0x1d869f['UniverInstanceType']['UNIVER_DOC']],'toJson':_0x2e6edb=>JSON['stringify'](this[_0x4245af(0x228)][_0x4245af(0x2c8)](_0x2e6edb)),'parseJson':_0x5b1356=>JSON[_0x4245af(0x1dc)](_0x5b1356),'onLoad':(_0x466bf2,_0x93eb7a)=>{const _0x3ec1d6=_0x4245af;this[_0x3ec1d6(0x228)][_0x3ec1d6(0x290)](_0x466bf2,_0x93eb7a);},'onUnLoad':_0x3c36a3=>this[_0x4245af(0x228)]['removeUnit'](_0x3c36a3)}));}};_0x5ef141=_0x7efcf8([_0x43893f(0x0,_0x1d869f[_0x827b65(0x302)]),_0x43893f(0x1,(0x0,_0x1d869f['Inject'])(_0x3d0928))],_0x5ef141);var _0x598f49=_0x827b65(0x299),_0xda297d=_0x827b65(0x263);let _0x566acc={},_0x4ee4d3=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(_0x4f0307,_0x118dc9,_0x20c3dd){const _0x32d5a3=_0x827b65;super(),this[_0x32d5a3(0x28a)]=_0x4f0307,this[_0x32d5a3(0x208)]=_0x118dc9,this['disposeWithMe'](_0x20c3dd[_0x32d5a3(0x225)]({'resolve':(_0x146f99,_0x308936)=>{const _0x2b0ac8=_0x32d5a3;var _0x58a02c;return((_0x58a02c=_0x308936[_0x2b0ac8(0x27e)])==null?void 0x0:_0x58a02c[_0x2b0ac8(0x2eb)](_0x2ff3e4)[_0x2b0ac8(0x2ee)](_0x14cd92=>({'startOffset':_0x14cd92['startIndex'],'endOffset':_0x14cd92['endIndex']+0x1,'text':this[_0x2b0ac8(0x307)](_0x146f99,_0x14cd92['rangeId'])})))??[];}})),this[_0x32d5a3(0x28c)](this['_formulaService'][_0x32d5a3(0x218)][_0x32d5a3(0x2b3)](({unitId:_0x1ca931})=>{const _0x15e614=_0x32d5a3;_0x20c3dd[_0x15e614(0x2a8)](_0x1ca931);}));}['resolveFormula'](_0x5bf6c1,_0x13f992){const _0x39fe24=_0x827b65;var _0x4b5584;return((_0x4b5584=this[_0x39fe24(0x208)][_0x39fe24(0x306)]({'unitId':_0x5bf6c1,'rangeId':_0x13f992}))==null?void 0x0:_0x4b5584['text'])??'';}[_0x827b65(0x281)](_0x2a5100,_0x3b30f7,_0xb16a72){const _0x3e8d90=_0x827b65;var _0x148dbf;let _0x1f8797=this[_0x3e8d90(0x28a)][_0x3e8d90(0x25d)](_0x2a5100,_0x1d869f[_0x3e8d90(0x28b)][_0x3e8d90(0x2e2)]),_0x432c3a=_0x1f8797==null?void 0x0:_0x1f8797[_0x3e8d90(0x2fc)]();if(!_0x432c3a)return'';let _0x44f3de=_0x432c3a[_0x3e8d90(0x279)][_0x3e8d90(0x215)](_0x3b30f7,_0xb16a72),_0x393c26=((_0x148dbf=_0x432c3a[_0x3e8d90(0x27e)])==null?void 0x0:_0x148dbf[_0x3e8d90(0x2eb)](_0x1d22ab=>_0x2ff3e4(_0x1d22ab)&&_0x1d22ab[_0x3e8d90(0x275)]>=_0x3b30f7&&_0x1d22ab[_0x3e8d90(0x2ff)]<_0xb16a72)[_0x3e8d90(0x2b5)]((_0x4011e3,_0x4261b0)=>_0x4261b0[_0x3e8d90(0x275)]-_0x4011e3[_0x3e8d90(0x275)]))??[];for(let _0x267d4b of _0x393c26){let _0x1715cf=_0x267d4b[_0x3e8d90(0x275)]-_0x3b30f7,_0x5ddbcc=_0x267d4b[_0x3e8d90(0x2ff)]-_0x3b30f7+0x1;_0x44f3de=''+_0x44f3de[_0x3e8d90(0x215)](0x0,_0x1715cf)+this[_0x3e8d90(0x307)](_0x2a5100,_0x267d4b['rangeId'])+_0x44f3de[_0x3e8d90(0x215)](_0x5ddbcc);}return _0x44f3de;}['degradeDocumentData'](_0x3d0e38){return _0x440ff3(_0x3d0e38);}[_0x827b65(0x1d2)](_0x1e3016,_0x5a3e6c,_0x489fa4={}){const _0xf18775=_0x827b65;var _0x3cb518;return _0x3c9939({'id':_0x1e3016,'body':_0x5a3e6c,'documentStyle':{}},(((_0x3cb518=_0x5a3e6c[_0xf18775(0x27e)])==null?void 0x0:_0x3cb518[_0xf18775(0x2eb)](_0x2ff3e4))??[])[_0xf18775(0x2ee)](_0x4ff764=>({'rangeId':_0x4ff764[_0xf18775(0x2e0)],'text':_0x489fa4[_0x4ff764[_0xf18775(0x2e0)]]??this['resolveFormula'](_0x1e3016,_0x4ff764['rangeId'])})))[_0xf18775(0x1f6)]??{'dataStream':''};}};_0x4ee4d3=_0x7efcf8([_0x43893f(0x0,_0x1d869f['IUniverInstanceService']),_0x43893f(0x1,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x458a05)),_0x43893f(0x2,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x2fc97e[_0x827b65(0x235)]))],_0x4ee4d3);function _0x440ff3(_0x28c5f8){const _0x2e9694=_0x827b65;var _0x55f682,_0xbd51fd;let _0x5d3c49=_0xd2ef73(_0x28c5f8),_0x45d22e=_0x3c9939(_0x28c5f8,(((_0x55f682=_0x28c5f8[_0x2e9694(0x1f6)])==null||(_0x55f682=_0x55f682[_0x2e9694(0x27e)])==null?void 0x0:_0x55f682['filter'](_0x2ff3e4))??[])['map'](_0x540396=>({'rangeId':_0x540396[_0x2e9694(0x2e0)],'text':_0x37961a(_0x5d3c49==null?void 0x0:_0x5d3c49[_0x2e9694(0x224)][_0x540396['rangeId']])})));return _0x45d22e['resources']=(_0xbd51fd=_0x45d22e[_0x2e9694(0x265)])==null?void 0x0:_0xbd51fd[_0x2e9694(0x2eb)](_0x11724d=>_0x11724d[_0x2e9694(0x1e4)]!==_0x9736a7),_0x45d22e;}function _0xd2ef73(_0x46f00d){const _0x424dd1=_0x827b65;var _0x4740f2;let _0x3f7157=(_0x4740f2=_0x46f00d['resources'])==null||(_0x4740f2=_0x4740f2[_0x424dd1(0x25c)](_0x3e9702=>_0x3e9702['name']==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x4740f2[_0x424dd1(0x1cf)];if(_0x3f7157)try{let _0x59b116=JSON[_0x424dd1(0x1dc)](_0x3f7157);return _0x169706(_0x59b116)?_0x59b116:void 0x0;}catch{return;}}function _0x37961a(_0x1dfa46){const _0xf73694=_0x827b65;return _0x1dfa46?(0x0,_0x50090f[_0xf73694(0x25f)])({'lastValue':_0x1dfa46[_0xf73694(0x22a)],'numberFormat':_0x1dfa46['numberFormat']})[_0xf73694(0x229)]:'';}let _0x5507aa=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(_0x42b795,_0x395d60,_0x2e9579){const _0x4c866f=_0x827b65;super(),this[_0x4c866f(0x208)]=_0x42b795,this['_cacheEligibilityService']=_0x395d60,this[_0x4c866f(0x28c)](_0x2e9579[_0x4c866f(0x288)](this));}['collectMutations'](_0x387b7d){const _0x11d586=_0x827b65;let _0x6355be=new Map();for(let _0x212cb8 of this['_formulaService'][_0x11d586(0x242)]()){var _0x475034;if(!this[_0x11d586(0x29f)][_0x11d586(0x247)](_0x212cb8[_0x11d586(0x2b8)][_0x11d586(0x22b)],_0x212cb8[_0x11d586(0x28f)])[_0x11d586(0x1de)])continue;let _0x5d1918=(0x0,_0x50090f['getScalarFormulaResultCell'])(_0x212cb8[_0x11d586(0x28f)]),_0x5bf265=_0x5d1918?(0x0,_0x50090f[_0x11d586(0x206)])(_0x5d1918):null;if(!_0x5bf265||_0x4d0b0a(_0x212cb8[_0x11d586(0x2b8)][_0x11d586(0x22a)],_0x5bf265))continue;let _0xbb2dbf=_0x6355be[_0x11d586(0x2a6)](_0x212cb8[_0x11d586(0x21a)]['unitId'])??[];_0xbb2dbf[_0x11d586(0x298)]({'rangeId':_0x212cb8['identity'][_0x11d586(0x2e0)],'expectedFormula':_0x212cb8[_0x11d586(0x2b8)]['formula'],'expectedNumberFormat':(_0x475034=_0x212cb8[_0x11d586(0x2b8)][_0x11d586(0x245)])==null?void 0x0:_0x475034['pattern'],'expectedReferenceRevision':_0x212cb8[_0x11d586(0x1ca)],'lastValue':_0x5bf265}),_0x6355be['set'](_0x212cb8['identity'][_0x11d586(0x2c7)],_0xbb2dbf);}return Array[_0x11d586(0x2bb)](_0x6355be,([_0x5638b5,_0x3d4ea3])=>({'id':_0x3c160a['id'],'params':{'unitId':_0x5638b5,'updates':_0x3d4ea3}}));}};_0x5507aa=_0x7efcf8([_0x43893f(0x0,(0x0,_0x1d869f['Inject'])(_0x458a05)),_0x43893f(0x1,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x50090f[_0x827b65(0x2a3)])),_0x43893f(0x2,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x50090f[_0x827b65(0x1e5)]))],_0x5507aa);function _0x4d0b0a(_0x3dfacb,_0x3c5e16){return(_0x3dfacb==null?void 0x0:_0x3dfacb['v'])===_0x3c5e16['v']&&(_0x3dfacb==null?void 0x0:_0x3dfacb['t'])===_0x3c5e16['t']&&(_0x3dfacb==null?void 0x0:_0x3dfacb['pattern'])===_0x3c5e16['pattern'];}let _0x1f0b60=class extends _0x1d869f[_0x827b65(0x250)]{constructor(_0x44e31a=_0x566acc,_0x501b9f,_0xb3a715,_0x18bcb6){const _0x1c341f=_0x827b65;super(),this[_0x1c341f(0x304)]=_0x44e31a,this[_0x1c341f(0x2e3)]=_0x501b9f,this[_0x1c341f(0x1cc)]=_0xb3a715,this['_configService']=_0x18bcb6;let {..._0x35048a}=(0x0,_0x1d869f[_0x1c341f(0x2c1)])({},_0x566acc,this[_0x1c341f(0x304)]);this[_0x1c341f(0x20c)]['setConfig'](_0x1c341f(0x1ce),_0x35048a);}[_0x827b65(0x231)](){const _0x5ce73d=_0x827b65;this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x3d0928]),this[_0x5ce73d(0x2e3)]['add']([_0x458a05]),this[_0x5ce73d(0x2e3)]['add']([_0x5ef141]),this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x46421d]),this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x5507aa]),this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x4ee4d3]),(0x0,_0x1d869f[_0x5ce73d(0x214)])(this[_0x5ce73d(0x2e3)],[[_0x3d0928],[_0x5ef141],[_0x46421d],[_0x5507aa],[_0x4ee4d3]]),[_0x2c27f0,_0x35c2b9,_0x1e92ee,_0x3c160a,_0xb81e24,_0x18cd15,_0x4049f1,_0x172215,_0x3f932c,_0x2309df][_0x5ce73d(0x23e)](_0x1342ae=>this[_0x5ce73d(0x28c)](this[_0x5ce73d(0x1cc)][_0x5ce73d(0x24d)](_0x1342ae)));}};_0x3d78b2(_0x1f0b60,'pluginName',_0x9736a7),_0x3d78b2(_0x1f0b60,'packageName',_0x598f49),_0x3d78b2(_0x1f0b60,_0x827b65(0x2f1),_0xda297d),_0x3d78b2(_0x1f0b60,'type',_0x1d869f[_0x827b65(0x28b)]['UNIVER_DOC']),_0x1f0b60=_0x7efcf8([(0x0,_0x1d869f[_0x827b65(0x220)])(_0x16421b[_0x827b65(0x22f)],_0x50090f[_0x827b65(0x1e7)],_0x2fc97e[_0x827b65(0x1f0)]),_0x43893f(0x1,(0x0,_0x1d869f['Inject'])(_0x1d869f['Injector'])),_0x43893f(0x2,_0x1d869f['ICommandService']),_0x43893f(0x3,_0x1d869f['IConfigService'])],_0x1f0b60),_0x3afca9[_0x827b65(0x29b)]=_0x2309df,_0x3afca9[_0x827b65(0x1e0)]=_0x201e91,_0x3afca9['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0x3afca9[_0x827b65(0x222)]=_0x9736a7,_0x3afca9[_0x827b65(0x1d6)]=0x1,Object['defineProperty'](_0x3afca9,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x4ee4d3;}}),Object['defineProperty'](_0x3afca9,_0x827b65(0x2be),{'enumerable':!0x0,'get':function(){return _0x46421d;}}),_0x3afca9[_0x827b65(0x289)]=_0x3d0928,Object['defineProperty'](_0x3afca9,_0x827b65(0x24f),{'enumerable':!0x0,'get':function(){return _0x5ef141;}}),_0x3afca9['DocFormulaResultStatus']=_0x4ef19e,Object[_0x827b65(0x24e)](_0x3afca9,_0x827b65(0x2ba),{'enumerable':!0x0,'get':function(){return _0x458a05;}}),_0x3afca9['InsertDocFormulaCommand']=_0xb81e24,_0x3afca9[_0x827b65(0x2fd)]=_0xafe7e3,_0x3afca9[_0x827b65(0x1f7)]=_0x172215,_0x3afca9['RemoveDocFormulaMutation']=_0x35c2b9,_0x3afca9['ReplaceDocFormulaWithTextCommand']=_0x3f932c,_0x3afca9['SetDocFormulaLastValuesMutation']=_0x3c160a,_0x3afca9['SetDocFormulaMutation']=_0x2c27f0,_0x3afca9[_0x827b65(0x2c9)]=_0x4049f1,_0x3afca9[_0x827b65(0x293)]=_0x1e92ee,Object['defineProperty'](_0x3afca9,_0x827b65(0x29e),{'enumerable':!0x0,'get':function(){return _0x1f0b60;}}),_0x3afca9['UpdateDocFormulaCommand']=_0x18cd15,_0x3afca9['assertSafeDocFormulaInsertRange']=_0x582df1,_0x3afca9[_0x827b65(0x234)]=_0x4d21e2,_0x3afca9[_0x827b65(0x1f8)]=_0x4eace5,_0x3afca9['buildUpdateDocFormulaActions']=_0x39d274,_0x3afca9[_0x827b65(0x246)]=_0x79ce8d,_0x3afca9[_0x827b65(0x213)]=_0x440ff3,_0x3afca9['findDocFormulaRange']=_0x261b2d,_0x3afca9[_0x827b65(0x2b4)]=_0xa57316,_0x3afca9[_0x827b65(0x1c9)]=_0x2ff3e4,_0x3afca9[_0x827b65(0x28d)]=_0x169706,_0x3afca9[_0x827b65(0x27b)]=_0x234ce5;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-formula",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Inline data formula model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,18 +61,18 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/engine-formula": "1.0.0
|
|
65
|
-
"@univerjs-pro/license": "1.0.0
|
|
66
|
-
"@univerjs/core": "1.0.0
|
|
67
|
-
"@univerjs/docs": "1.0.0
|
|
68
|
-
"@univerjs/engine-formula": "1.0.0
|
|
64
|
+
"@univerjs-pro/engine-formula": "1.0.0",
|
|
65
|
+
"@univerjs-pro/license": "1.0.0",
|
|
66
|
+
"@univerjs/core": "1.0.0",
|
|
67
|
+
"@univerjs/docs": "1.0.0",
|
|
68
|
+
"@univerjs/engine-formula": "1.0.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@univerjs-infra/shared": "1.0.0
|
|
72
|
-
"@univerjs/engine-render": "1.0.0
|
|
71
|
+
"@univerjs-infra/shared": "1.0.0",
|
|
72
|
+
"@univerjs/engine-render": "1.0.0",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
|
-
"vitest": "^
|
|
75
|
+
"vitest": "^5.0.0"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"test": "vitest run",
|