@univerjs-pro/docs-formula 1.0.0-alpha.8 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5022(_0x2d294a,_0x58ee53){_0x2d294a=_0x2d294a-0x10e;const _0x471241=_0x4712();let _0x502286=_0x471241[_0x2d294a];return _0x502286;}(function(_0x1d4eac,_0x39d7d5){const _0xbc2fa=_0x5022,_0x5a80cd=_0x1d4eac();while(!![]){try{const _0x1825b=parseInt(_0xbc2fa(0x1e5))/0x1*(-parseInt(_0xbc2fa(0x185))/0x2)+-parseInt(_0xbc2fa(0x118))/0x3+-parseInt(_0xbc2fa(0x20c))/0x4*(-parseInt(_0xbc2fa(0x212))/0x5)+parseInt(_0xbc2fa(0x1c3))/0x6*(parseInt(_0xbc2fa(0x1c1))/0x7)+-parseInt(_0xbc2fa(0x234))/0x8*(parseInt(_0xbc2fa(0x1dc))/0x9)+parseInt(_0xbc2fa(0x137))/0xa*(-parseInt(_0xbc2fa(0x23d))/0xb)+-parseInt(_0xbc2fa(0x19a))/0xc*(-parseInt(_0xbc2fa(0x1d5))/0xd);if(_0x1825b===_0x39d7d5)break;else _0x5a80cd['push'](_0x5a80cd['shift']());}catch(_0x7f4827){_0x5a80cd['push'](_0x5a80cd['shift']());}}}(_0x4712,0x3702e),function(_0x1d058d,_0x475936){const _0x5a2029=_0x5022;typeof exports==_0x5a2029(0x183)&&typeof module<'u'?_0x475936(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x5a2029(0x1ac)&&define[_0x5a2029(0x22f)]?define([_0x5a2029(0x1cd),'@univerjs-pro/engine-formula',_0x5a2029(0x226),_0x5a2029(0x120),'@univerjs/engine-formula','rxjs',_0x5a2029(0x249)],_0x475936):(_0x1d058d=typeof globalThis<'u'?globalThis:_0x1d058d||self,_0x475936(_0x1d058d[_0x5a2029(0x124)]={},_0x1d058d[_0x5a2029(0x19d)],_0x1d058d[_0x5a2029(0x180)],_0x1d058d[_0x5a2029(0x164)],_0x1d058d['UniverEngineFormula'],_0x1d058d[_0x5a2029(0x21e)],_0x1d058d[_0x5a2029(0x24b)]));}(this,function(_0x33c4a4,_0x3c5cf2,_0x5ccade,_0x552610,_0x16df82,_0x183d08,_0x34ed53){const _0x68fc2d=_0x5022;Object[_0x68fc2d(0x115)](_0x33c4a4,Symbol[_0x68fc2d(0x1b0)],{'value':_0x68fc2d(0x19f)});let _0x52ee54=_0x68fc2d(0x1cc),_0x5a43ba=_0x68fc2d(0x24f);function _0x249ba4(){return{'schemaVersion':0x1,'formulas':{}};}function _0x4b9e30(_0x4a2f25){const _0x4e3a2c=_0x68fc2d;return!_0x4a2f25||typeof _0x4a2f25!=_0x4e3a2c(0x183)||!_0x10abae(_0x4a2f25,[_0x4e3a2c(0x150),'formulas'])||!(_0x4e3a2c(0x150)in _0x4a2f25)||_0x4a2f25[_0x4e3a2c(0x150)]!==0x1||!('formulas'in _0x4a2f25)||!_0x4a2f25[_0x4e3a2c(0x25e)]||typeof _0x4a2f25['formulas']!=_0x4e3a2c(0x183)||Array[_0x4e3a2c(0x22a)](_0x4a2f25[_0x4e3a2c(0x25e)])?!0x1:Object[_0x4e3a2c(0x14f)](_0x4a2f25[_0x4e3a2c(0x25e)])['every'](([_0x577ebe,_0x5ac112])=>_0x577ebe['length']>0x0&&_0x2fd311(_0x5ac112));}function _0x2fd311(_0x185ab0){const _0x1e6ccd=_0x68fc2d;return!_0x185ab0||typeof _0x185ab0!=_0x1e6ccd(0x183)||!_0x10abae(_0x185ab0,['formula',_0x1e6ccd(0x176),_0x1e6ccd(0x117)])||!(_0x1e6ccd(0x1fe)in _0x185ab0)||typeof _0x185ab0[_0x1e6ccd(0x1fe)]!='string'||!_0x185ab0[_0x1e6ccd(0x1fe)][_0x1e6ccd(0x1de)]()||'numberFormat'in _0x185ab0&&_0x185ab0[_0x1e6ccd(0x176)]!=null&&(typeof _0x185ab0[_0x1e6ccd(0x176)]!=_0x1e6ccd(0x183)||!_0x10abae(_0x185ab0['numberFormat'],['pattern'])||!(_0x1e6ccd(0x23a)in _0x185ab0['numberFormat'])||typeof _0x185ab0['numberFormat'][_0x1e6ccd(0x23a)]!=_0x1e6ccd(0x1fd))?!0x1:!('lastValue'in _0x185ab0)||_0x185ab0[_0x1e6ccd(0x117)]==null||_0xa6d1e4(_0x185ab0['lastValue']);}function _0xa6d1e4(_0x473f20){const _0x3a0222=_0x68fc2d;return!_0x473f20||typeof _0x473f20!=_0x3a0222(0x183)||!_0x10abae(_0x473f20,['v','t','pattern'])||!('v'in _0x473f20)||_0x473f20['v']!==null&&typeof _0x473f20['v']!=_0x3a0222(0x1fd)&&typeof _0x473f20['v']!=_0x3a0222(0x1cb)&&typeof _0x473f20['v']!=_0x3a0222(0x211)||'t'in _0x473f20&&_0x473f20['t']!=null&&!_0x4a6d77(_0x473f20['t'])?!0x1:!(_0x3a0222(0x23a)in _0x473f20)||_0x473f20[_0x3a0222(0x23a)]==null||typeof _0x473f20[_0x3a0222(0x23a)]==_0x3a0222(0x1fd);}function _0x10abae(_0x4bf197,_0x40f124){const _0x175bd1=_0x68fc2d;let _0x6551ef=new Set(_0x40f124);return Object[_0x175bd1(0x143)](_0x4bf197)[_0x175bd1(0x11f)](_0xbdf4d2=>_0x6551ef[_0x175bd1(0x21c)](_0xbdf4d2));}function _0x4a6d77(_0xd5d728){const _0x5b8b57=_0x68fc2d;return typeof _0xd5d728==_0x5b8b57(0x1cb)&&Object[_0x5b8b57(0x18f)](_0x5ccade['CellValueType'])[_0x5b8b57(0x1e8)](_0xd5d728);}let _0x2e84d0=new Set([_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x215)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x129)],_0x5ccade['DataStreamTreeTokenType']['TABLE_ROW_START'],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x168)],_0x5ccade['DataStreamTreeTokenType'][_0x68fc2d(0x186)],_0x5ccade[_0x68fc2d(0x15a)]['TABLE_ROW_END'],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x193)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x1b4)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x21f)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x255)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x187)],_0x5ccade['DataStreamTreeTokenType'][_0x68fc2d(0x259)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x1b7)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x171)]]);var _0x33e424=class extends Error{constructor(){const _0x37f08e=_0x68fc2d;super(_0x37f08e(0x173));}};function _0x55347d(_0x4ec1e9){const _0x53c117=_0x68fc2d;var _0x2df270,_0x51ecf9,_0x28865a,_0x514735;let _0xa1e173=_0x5ccade['Tools'][_0x53c117(0x20b)](_0x4ec1e9[_0x53c117(0x13a)]),_0x3b5410=_0x4a587e(_0xa1e173),{startOffset:_0x5bdf3a,endOffset:_0xbd78e6}=_0x301d0c(_0x3b5410,_0x4ec1e9[_0x53c117(0x21b)],_0x4ec1e9[_0x53c117(0x1ef)]);_0x1fdb77(_0x3b5410,_0x5bdf3a,_0xbd78e6);let _0x3ca675=(_0x2df270=(_0x51ecf9=_0x3b5410[_0x53c117(0x15d)])==null?void 0x0:_0x51ecf9[_0x53c117(0x261)](_0x610114=>{const _0x1a59e4=_0x53c117;if(!_0x219bde(_0x610114))return!0x1;let _0x2c6796=(0x0,_0x5ccade[_0x1a59e4(0x11a)])(_0x610114);return _0x2c6796[_0x1a59e4(0x1ef)]>_0x5bdf3a&&_0x2c6796[_0x1a59e4(0x21b)]<_0xbd78e6;})['map'](_0x4f1133=>_0x4f1133[_0x53c117(0x1e2)]))==null?[]:_0x2df270;_0x4ceaec(_0x3b5410,_0x5bdf3a,_0xbd78e6,''),_0x3b5410[_0x53c117(0x15d)]=[...(_0x28865a=(_0x514735=_0x3b5410[_0x53c117(0x15d)])==null?void 0x0:_0x514735['filter'](_0x592ebd=>!_0x3ca675[_0x53c117(0x1e8)](_0x592ebd[_0x53c117(0x1e2)])&&_0x592ebd[_0x53c117(0x1e2)]!==_0x4ec1e9[_0x53c117(0x1e2)]))==null?[]:_0x28865a,_0x5d1d51(_0x4ec1e9[_0x53c117(0x1e2)],_0x5bdf3a)][_0x53c117(0x229)]((_0x275930,_0x17f09e)=>_0x275930[_0x53c117(0x13d)]-_0x17f09e['startIndex']);let _0x21edb7=_0x5a1a1a(_0x4ec1e9['resource']);return _0x3ca675[_0x53c117(0x182)](_0x400b60=>{const _0x6c3806=_0x53c117;delete _0x21edb7[_0x6c3806(0x25e)][_0x400b60];}),_0x21edb7[_0x53c117(0x25e)][_0x4ec1e9[_0x53c117(0x1e2)]]=_0x5ccade[_0x53c117(0x110)]['deepClone'](_0x4ec1e9[_0x53c117(0x152)]),{'nextDocumentData':_0xa1e173,'nextResource':_0x21edb7,'cursorOffset':_0x5bdf3a+0x1};}function _0x116721(_0x47794a){const _0x330580=_0x68fc2d;var _0x3652ad,_0x5af6b3;let _0x268ad0=_0x5ccade[_0x330580(0x110)]['deepClone'](_0x47794a['documentData']),_0x2c1dc0=(_0x3652ad=_0x4a587e(_0x268ad0)[_0x330580(0x15d)])==null?void 0x0:_0x3652ad[_0x330580(0x24e)](_0x189144=>_0x189144['rangeId']===_0x47794a['rangeId']&&_0x219bde(_0x189144));if(!_0x2c1dc0||!((_0x5af6b3=_0x47794a[_0x330580(0x192)])!=null&&_0x5af6b3[_0x330580(0x25e)][_0x47794a[_0x330580(0x1e2)]]))return null;let _0x4281e0=_0x5a1a1a(_0x47794a[_0x330580(0x192)]);return _0x4281e0[_0x330580(0x25e)][_0x47794a[_0x330580(0x1e2)]]=_0x5ccade[_0x330580(0x110)][_0x330580(0x20b)](_0x47794a[_0x330580(0x152)]),{'nextDocumentData':_0x268ad0,'nextResource':_0x4281e0,'cursorOffset':_0x2c1dc0[_0x330580(0x174)]+0x1};}function _0x5114cd(_0x1c884b){const _0x152ad8=_0x68fc2d;var _0x14f341;let _0x1fc536=_0x5ccade[_0x152ad8(0x110)][_0x152ad8(0x20b)](_0x1c884b[_0x152ad8(0x13a)]),_0x298798=_0x1d3d17(_0x1fc536,_0x1c884b['rangeId'],(_0x14f341=_0x1c884b['text'])==null?'':_0x14f341);if(_0x298798==null)return null;let _0x2944b9=_0x5a1a1a(_0x1c884b[_0x152ad8(0x192)]);return delete _0x2944b9['formulas'][_0x1c884b[_0x152ad8(0x1e2)]],{'nextDocumentData':_0x1fc536,'nextResource':_0x2944b9,'cursorOffset':_0x298798};}function _0x1841ad(_0x42627a,_0x18b5df){const _0x15e656=_0x68fc2d;var _0x14bcaa,_0x28af70;let _0x16c836=_0x5ccade[_0x15e656(0x110)][_0x15e656(0x20b)](_0x42627a),_0x3837e3=_0x16c836['body'];if(!_0x3837e3)return _0x16c836;let _0x1b8ec0=new Map(_0x18b5df['map'](_0x111ba3=>[_0x111ba3[_0x15e656(0x1e2)],_0x111ba3[_0x15e656(0x200)]])),_0x116853=(_0x14bcaa=(_0x28af70=_0x3837e3[_0x15e656(0x15d)])==null?void 0x0:_0x28af70[_0x15e656(0x261)](_0x51f89c=>_0x219bde(_0x51f89c)&&_0x1b8ec0[_0x15e656(0x21c)](_0x51f89c['rangeId']))[_0x15e656(0x229)]((_0x4d42b4,_0xa6d061)=>_0xa6d061[_0x15e656(0x13d)]-_0x4d42b4[_0x15e656(0x13d)]))==null?[]:_0x14bcaa;for(let _0x386b89 of _0x116853){var _0x4ac3f7;_0x1d3d17(_0x16c836,_0x386b89[_0x15e656(0x1e2)],(_0x4ac3f7=_0x1b8ec0[_0x15e656(0x175)](_0x386b89[_0x15e656(0x1e2)]))==null?'':_0x4ac3f7);}return _0x16c836;}function _0x219bde(_0x72d3d){const _0x488d75=_0x68fc2d;var _0x4d4e3c;return(_0x72d3d==null?void 0x0:_0x72d3d['rangeType'])===_0x5ccade['CustomRangeType'][_0x488d75(0x113)]&&_0x72d3d['wholeEntity']===!0x0&&((_0x4d4e3c=_0x72d3d[_0x488d75(0x246)])==null?void 0x0:_0x4d4e3c[_0x488d75(0x184)])==='univer-docs-formula';}function _0x2a8744(_0x5a8a6f,_0x564095){const _0x1378e1=_0x68fc2d;var _0x3e130e;return _0x5a8a6f==null||(_0x3e130e=_0x5a8a6f[_0x1378e1(0x15d)])==null?void 0x0:_0x3e130e[_0x1378e1(0x24e)](_0x106229=>_0x106229[_0x1378e1(0x1e2)]===_0x564095&&_0x219bde(_0x106229));}function _0x1fdb77(_0x498be3,_0x4350a2,_0x16e042){const _0x30d19e=_0x68fc2d;if(_0x4350a2===_0x16e042){if(_0x2e84d0[_0x30d19e(0x21c)](_0x498be3['dataStream'][_0x4350a2]))throw new _0x33e424();return;}for(let _0x200adb=_0x4350a2;_0x200adb<_0x16e042;_0x200adb++)if(_0x498be3[_0x30d19e(0x1ce)][_0x200adb]===_0x5ccade[_0x30d19e(0x15a)]['PARAGRAPH']||_0x2e84d0[_0x30d19e(0x21c)](_0x498be3['dataStream'][_0x200adb]))throw new _0x33e424();}function _0x5d1d51(_0x342995,_0x25905a){const _0x410c7d=_0x68fc2d;return{'startIndex':_0x25905a,'endIndex':_0x25905a,'rangeId':_0x342995,'rangeType':_0x5ccade[_0x410c7d(0x128)][_0x410c7d(0x113)],'wholeEntity':!0x0,'properties':{'kind':_0x5a43ba}};}function _0x5a1a1a(_0x2c19c4){const _0x585bfc=_0x68fc2d;return _0x2c19c4?_0x5ccade['Tools'][_0x585bfc(0x20b)](_0x2c19c4):_0x249ba4();}function _0x301d0c(_0x396b63,_0x29ce88,_0x167a2a){const _0x66194=_0x68fc2d;let _0x3fbe71=_0x2c71d0(_0x396b63),_0xde7219=_0x29ce88==null?_0x3fbe71:_0x29ce88,_0x1dac99=_0x167a2a==null?_0xde7219:_0x167a2a;return{'startOffset':_0x1f4d6e(Math[_0x66194(0x1f2)](_0xde7219,_0x1dac99),_0x3fbe71),'endOffset':_0x1f4d6e(Math[_0x66194(0x17f)](_0xde7219,_0x1dac99),_0x3fbe71)};}function _0x1f4d6e(_0x12e9fc,_0x2dc981){const _0x425204=_0x68fc2d;return Math[_0x425204(0x17f)](0x0,Math[_0x425204(0x1f2)](_0x12e9fc,_0x2dc981));}function _0x2c71d0(_0x3ed0e6){const _0x1d2658=_0x68fc2d;return _0x3ed0e6[_0x1d2658(0x1ce)][_0x1d2658(0x1e9)](''+_0x5ccade['DataStreamTreeTokenType']['PARAGRAPH']+_0x5ccade['DataStreamTreeTokenType'][_0x1d2658(0x215)])?Math[_0x1d2658(0x17f)](0x0,_0x3ed0e6[_0x1d2658(0x1ce)]['length']-0x2):_0x3ed0e6[_0x1d2658(0x1ce)][_0x1d2658(0x1e9)](_0x5ccade[_0x1d2658(0x15a)][_0x1d2658(0x215)])?Math[_0x1d2658(0x17f)](0x0,_0x3ed0e6[_0x1d2658(0x1ce)]['length']-0x1):_0x3ed0e6[_0x1d2658(0x1ce)][_0x1d2658(0x1c4)];}function _0x4ceaec(_0x3efc6e,_0x1e2b89,_0x547676,_0x23e8c1){_0x547676>_0x1e2b89&&_0xa071dd(_0x3efc6e,_0x1e2b89,_0x547676),_0x2c9c1f(_0x3efc6e,_0x1e2b89,_0x23e8c1);}function _0x1d3d17(_0x29344d,_0xa22788,_0x13901f){const _0x98e553=_0x68fc2d;var _0x360903,_0xca461a;let _0x11f16c=_0x4a587e(_0x29344d),_0xa98274=(_0x360903=_0x11f16c[_0x98e553(0x15d)])==null?void 0x0:_0x360903[_0x98e553(0x24e)](_0x3874ed=>_0x3874ed[_0x98e553(0x1e2)]===_0xa22788&&_0x219bde(_0x3874ed));if(!_0xa98274)return null;let _0x33179c=(0x0,_0x5ccade[_0x98e553(0x11a)])(_0xa98274);return _0x4ceaec(_0x11f16c,_0x33179c[_0x98e553(0x21b)],_0x33179c[_0x98e553(0x1ef)],_0x13901f),_0x11f16c[_0x98e553(0x15d)]=(_0xca461a=_0x11f16c['customRanges'])==null?void 0x0:_0xca461a[_0x98e553(0x261)](_0x5206f4=>_0x5206f4[_0x98e553(0x1e2)]!==_0xa22788),_0x33179c['startOffset']+_0x13901f[_0x98e553(0x1c4)];}function _0x2c9c1f(_0xfa3a74,_0x1f422d,_0x414b18){const _0x5da795=_0x68fc2d;_0x414b18&&(_0xfa3a74[_0x5da795(0x1ce)]=''+_0xfa3a74['dataStream']['slice'](0x0,_0x1f422d)+_0x414b18+_0xfa3a74[_0x5da795(0x1ce)][_0x5da795(0x1b2)](_0x1f422d),_0x6b896f(_0xfa3a74,_0x1f422d,_0x414b18[_0x5da795(0x1c4)]));}function _0xa071dd(_0x42b8b2,_0x4fe597,_0x35cca6){const _0x202460=_0x68fc2d;let _0x2b979e=_0x35cca6-_0x4fe597;_0x42b8b2['dataStream']=''+_0x42b8b2[_0x202460(0x1ce)][_0x202460(0x1b2)](0x0,_0x4fe597)+_0x42b8b2['dataStream']['slice'](_0x35cca6),_0x1b632e(_0x42b8b2,_0x4fe597,_0x2b979e);}function _0x6b896f(_0x5dbd34,_0x2f6d4f,_0xf100d3){const _0x3e624e=_0x68fc2d;_0x5dbd34[_0x3e624e(0x14e)]=_0x196795(_0x5dbd34[_0x3e624e(0x14e)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x1c6)]=_0x196795(_0x5dbd34[_0x3e624e(0x1c6)],_0x2f6d4f,_0xf100d3),_0x5dbd34['customBlocks']=_0x196795(_0x5dbd34[_0x3e624e(0x1e7)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x254)]=_0x19227d(_0x5dbd34[_0x3e624e(0x254)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x17b)]=_0x16eb6d(_0x5dbd34['tables'],_0x2f6d4f,_0xf100d3),_0x5dbd34['columnGroups']=_0x13a7cb(_0x5dbd34[_0x3e624e(0x22e)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x15d)]=_0x13a7cb(_0x5dbd34['customRanges'],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x1fa)]=_0x13a7cb(_0x5dbd34[_0x3e624e(0x1fa)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x237)]=_0x13a7cb(_0x5dbd34['blockRanges'],_0x2f6d4f,_0xf100d3);}function _0x1b632e(_0x692e90,_0x5bc770,_0x20467d){const _0x3d7e19=_0x68fc2d;var _0x800ed,_0x155711;_0x692e90['paragraphs']=_0x52095c(_0x692e90[_0x3d7e19(0x14e)],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x1c6)]=_0x52095c(_0x692e90['sectionBreaks'],_0x5bc770,_0x20467d),_0x692e90['customBlocks']=_0x52095c(_0x692e90[_0x3d7e19(0x1e7)],_0x5bc770,_0x20467d),_0x692e90['textRuns']=(_0x800ed=_0x2d782d((_0x155711=_0x692e90[_0x3d7e19(0x254)])==null?void 0x0:_0x155711['map'](_0x3e070d=>({..._0x3e070d,'startIndex':_0x3e070d['st'],'endIndex':_0x3e070d['ed']})),_0x5bc770,_0x20467d))==null?void 0x0:_0x800ed[_0x3d7e19(0x125)](_0x8465e2=>{let {startIndex:_0x246b5c,endIndex:_0x4746b7,..._0x283308}=_0x8465e2;return{..._0x283308,'st':_0x246b5c,'ed':_0x4746b7};}),_0x692e90[_0x3d7e19(0x17b)]=_0x2d782d(_0x692e90['tables'],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x22e)]=_0x25aad1(_0x692e90[_0x3d7e19(0x22e)],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x15d)]=_0x25aad1(_0x692e90['customRanges'],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x1fa)]=_0x25aad1(_0x692e90['customDecorations'],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x237)]=_0x25aad1(_0x692e90[_0x3d7e19(0x237)],_0x5bc770,_0x20467d);}function _0x196795(_0x80cc2d,_0x1fe632,_0x377c56){const _0x267e9c=_0x68fc2d;return _0x80cc2d==null?void 0x0:_0x80cc2d['map'](_0x378431=>_0x378431[_0x267e9c(0x13d)]>=_0x1fe632?{..._0x378431,'startIndex':_0x378431[_0x267e9c(0x13d)]+_0x377c56}:_0x378431);}function _0x52095c(_0x3b6fe3,_0x362458,_0x1a3847){const _0x568bad=_0x68fc2d;let _0x3b4561=_0x362458+_0x1a3847;return _0x3b6fe3==null?void 0x0:_0x3b6fe3[_0x568bad(0x125)](_0x3186b4=>_0x3186b4[_0x568bad(0x13d)]>=_0x362458&&_0x3186b4[_0x568bad(0x13d)]<_0x3b4561?null:_0x3186b4[_0x568bad(0x13d)]>=_0x3b4561?{..._0x3186b4,'startIndex':_0x3186b4[_0x568bad(0x13d)]-_0x1a3847}:_0x3186b4)[_0x568bad(0x261)](_0x9d4823=>_0x9d4823!=null);}function _0x19227d(_0x5f8fbe,_0x130690,_0x3bb48d){const _0x1381a8=_0x68fc2d;return _0x5f8fbe==null?void 0x0:_0x5f8fbe[_0x1381a8(0x125)](_0x591828=>_0x591828['st']>=_0x130690?{..._0x591828,'st':_0x591828['st']+_0x3bb48d,'ed':_0x591828['ed']+_0x3bb48d}:_0x591828['ed']>_0x130690?{..._0x591828,'ed':_0x591828['ed']+_0x3bb48d}:_0x591828);}function _0x13a7cb(_0x20b436,_0x4d2711,_0x3005f3){const _0x37ecff=_0x68fc2d;return _0x20b436==null?void 0x0:_0x20b436[_0x37ecff(0x125)](_0x55448a=>(0x0,_0x5ccade[_0x37ecff(0x12d)])(_0x55448a,_0x4d2711,_0x3005f3));}function _0x16eb6d(_0x4d33c2,_0x194ae3,_0x4ce9a5){const _0x1ad2e4=_0x68fc2d;return _0x4d33c2==null?void 0x0:_0x4d33c2[_0x1ad2e4(0x125)](_0x334937=>(0x0,_0x5ccade[_0x1ad2e4(0x1d3)])(_0x334937,_0x194ae3,_0x4ce9a5));}function _0x25aad1(_0x467dd8,_0x244f7b,_0x483c8e){const _0x3a805f=_0x68fc2d;return _0x467dd8==null?void 0x0:_0x467dd8[_0x3a805f(0x125)](_0x1d4821=>(0x0,_0x5ccade['shiftInclusiveRangeOnDelete'])(_0x1d4821,_0x244f7b,_0x483c8e))['filter'](_0x3bb18b=>_0x3bb18b!=null);}function _0x2d782d(_0x5e4e8b,_0x28d574,_0x7d3d5f){const _0x256cad=_0x68fc2d;return _0x5e4e8b==null?void 0x0:_0x5e4e8b[_0x256cad(0x125)](_0x519ad3=>(0x0,_0x5ccade[_0x256cad(0x1a7)])(_0x519ad3,_0x28d574,_0x7d3d5f))[_0x256cad(0x261)](_0x2fd78e=>_0x2fd78e!=null);}function _0x4a587e(_0xcdd59f){const _0x317152=_0x68fc2d;if(!_0xcdd59f[_0x317152(0x15e)])throw Error(_0x317152(0x198));return _0xcdd59f[_0x317152(0x15e)];}function _0x49975c(_0x52ac69){'@babel/helpers - typeof';const _0x10a62b=_0x68fc2d;return _0x49975c=typeof Symbol==_0x10a62b(0x1ac)&&typeof Symbol[_0x10a62b(0x195)]==_0x10a62b(0x1f1)?function(_0x55c756){return typeof _0x55c756;}:function(_0x1bd0a4){const _0x5183ae=_0x10a62b;return _0x1bd0a4&&typeof Symbol==_0x5183ae(0x1ac)&&_0x1bd0a4[_0x5183ae(0x127)]===Symbol&&_0x1bd0a4!==Symbol[_0x5183ae(0x161)]?_0x5183ae(0x1f1):typeof _0x1bd0a4;},_0x49975c(_0x52ac69);}function _0x1a7cc5(_0x48e872,_0x264ec8){const _0x1ff005=_0x68fc2d;if(_0x49975c(_0x48e872)!=_0x1ff005(0x183)||!_0x48e872)return _0x48e872;var _0x163a2e=_0x48e872[Symbol['toPrimitive']];if(_0x163a2e!==void 0x0){var _0x3a4653=_0x163a2e[_0x1ff005(0x1db)](_0x48e872,_0x264ec8||_0x1ff005(0x239));if(_0x49975c(_0x3a4653)!=_0x1ff005(0x183))return _0x3a4653;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x264ec8===_0x1ff005(0x1fd)?String:Number)(_0x48e872);}function _0x550790(_0x3e8290){const _0x2cd0aa=_0x68fc2d;var _0x225bbd=_0x1a7cc5(_0x3e8290,_0x2cd0aa(0x1fd));return _0x49975c(_0x225bbd)==_0x2cd0aa(0x1f1)?_0x225bbd:_0x225bbd+'';}function _0x2bdaa0(_0x493ebc,_0x435d84,_0x555553){return(_0x435d84=_0x550790(_0x435d84))in _0x493ebc?Object['defineProperty'](_0x493ebc,_0x435d84,{'value':_0x555553,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x493ebc[_0x435d84]=_0x555553,_0x493ebc;}var _0x2efa09=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(..._0x3cec60){const _0x4e97fb=_0x68fc2d;super(..._0x3cec60),_0x2bdaa0(this,_0x4e97fb(0x155),new Map()),_0x2bdaa0(this,'_rawResources',new Map()),_0x2bdaa0(this,_0x4e97fb(0x1ba),new Map()),_0x2bdaa0(this,_0x4e97fb(0x1f4),new _0x183d08['Subject']()),_0x2bdaa0(this,_0x4e97fb(0x1d6),this['_change$'][_0x4e97fb(0x25c)]());}['getFormula'](_0x8ca2d2,_0x214e6b){const _0xc4d10b=_0x68fc2d;var _0x542c10;let _0x3e13a0=(_0x542c10=this[_0xc4d10b(0x155)][_0xc4d10b(0x175)](_0x8ca2d2))==null?void 0x0:_0x542c10[_0xc4d10b(0x25e)][_0x214e6b];return _0x3e13a0?_0x5ccade[_0xc4d10b(0x110)][_0xc4d10b(0x20b)](_0x3e13a0):void 0x0;}[_0x68fc2d(0x179)](_0x58b354){const _0x55a37e=_0x68fc2d;var _0x364eae,_0x2b45b3;return _0x5ccade['Tools'][_0x55a37e(0x20b)]((_0x364eae=(_0x2b45b3=this[_0x55a37e(0x155)][_0x55a37e(0x175)](_0x58b354))==null?void 0x0:_0x2b45b3['formulas'])==null?{}:_0x364eae);}['getResource'](_0x99c816){const _0x521dcb=_0x68fc2d;let _0x931446=this[_0x521dcb(0x155)]['get'](_0x99c816);return _0x931446?_0x5ccade[_0x521dcb(0x110)][_0x521dcb(0x20b)](_0x931446):void 0x0;}['setFormula'](_0x5ae7dc,_0x480842,_0x5467a2){return this['setFormulas'](_0x5ae7dc,{[_0x480842]:_0x5467a2});}['setResource'](_0x3d72df,_0x483015){const _0x483593=_0x68fc2d;return this[_0x483593(0x1ba)][_0x483593(0x21c)](_0x3d72df)||!_0x4b9e30(_0x483015)?!0x1:(this[_0x483593(0x155)][_0x483593(0x210)](_0x3d72df,_0x5ccade[_0x483593(0x110)][_0x483593(0x20b)](_0x483015)),this[_0x483593(0x1f4)][_0x483593(0x256)]({'unitId':_0x3d72df}),!0x0);}[_0x68fc2d(0x1e1)](_0x28aab6,_0x188e15){const _0x2e4ce1=_0x68fc2d;var _0x75f763;if(this[_0x2e4ce1(0x1ba)]['has'](_0x28aab6)||!Object[_0x2e4ce1(0x143)](_0x188e15)['length']||!_0x4b9e30({'schemaVersion':0x1,'formulas':_0x188e15}))return!0x1;let _0x3aae23=(_0x75f763=this[_0x2e4ce1(0x155)][_0x2e4ce1(0x175)](_0x28aab6))==null?_0x249ba4():_0x75f763,_0x310719=_0x5ccade[_0x2e4ce1(0x110)][_0x2e4ce1(0x20b)](_0x3aae23);return Object[_0x2e4ce1(0x15b)](_0x310719[_0x2e4ce1(0x25e)],_0x5ccade[_0x2e4ce1(0x110)][_0x2e4ce1(0x20b)](_0x188e15)),this[_0x2e4ce1(0x155)][_0x2e4ce1(0x210)](_0x28aab6,_0x310719),this[_0x2e4ce1(0x1f4)][_0x2e4ce1(0x256)]({'unitId':_0x28aab6,'rangeIds':Object['keys'](_0x188e15)}),!0x0;}[_0x68fc2d(0x253)](_0x57fe33,_0x297ee8){const _0x402fa5=_0x68fc2d;if(this[_0x402fa5(0x1ba)]['has'](_0x57fe33))return!0x1;let _0x408e7a=this[_0x402fa5(0x155)][_0x402fa5(0x175)](_0x57fe33);if(!(_0x408e7a!=null&&_0x408e7a[_0x402fa5(0x25e)][_0x297ee8]))return!0x1;let _0x224cf4=_0x5ccade[_0x402fa5(0x110)][_0x402fa5(0x20b)](_0x408e7a);return delete _0x224cf4[_0x402fa5(0x25e)][_0x297ee8],this['_resources']['set'](_0x57fe33,_0x224cf4),this[_0x402fa5(0x1f4)][_0x402fa5(0x256)]({'unitId':_0x57fe33,'rangeIds':[_0x297ee8]}),!0x0;}[_0x68fc2d(0x244)](_0x9bc0ee,_0x31928b){const _0x239c23=_0x68fc2d;return _0x31928b&&typeof _0x31928b=='object'&&_0x239c23(0x150)in _0x31928b&&_0x31928b['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x9bc0ee,_0x31928b,_0x239c23(0x205)),!0x1):_0x4b9e30(_0x31928b)?(this[_0x239c23(0x155)][_0x239c23(0x210)](_0x9bc0ee,_0x5ccade[_0x239c23(0x110)][_0x239c23(0x20b)](_0x31928b)),this[_0x239c23(0x23f)]['delete'](_0x9bc0ee),this[_0x239c23(0x1ba)]['delete'](_0x9bc0ee),this[_0x239c23(0x1f4)]['next']({'unitId':_0x9bc0ee}),!0x0):(this['_preserveInvalid'](_0x9bc0ee,_0x31928b,_0x239c23(0x24d)),!0x1);}[_0x68fc2d(0x156)](_0x4304b0){const _0x4ad6aa=_0x68fc2d;let _0x59be74=this[_0x4ad6aa(0x155)]['get'](_0x4304b0);return _0x59be74?_0x5ccade[_0x4ad6aa(0x110)][_0x4ad6aa(0x20b)](_0x59be74):this[_0x4ad6aa(0x23f)]['has'](_0x4304b0)?_0x5ccade[_0x4ad6aa(0x110)][_0x4ad6aa(0x20b)](this[_0x4ad6aa(0x23f)][_0x4ad6aa(0x175)](_0x4304b0)):_0x249ba4();}[_0x68fc2d(0x219)](_0xa981b8){const _0x1b3f4d=_0x68fc2d;return this[_0x1b3f4d(0x1ba)][_0x1b3f4d(0x175)](_0xa981b8);}['removeUnit'](_0x21870d){const _0x4fe569=_0x68fc2d;this[_0x4fe569(0x155)][_0x4fe569(0x1d2)](_0x21870d),this[_0x4fe569(0x23f)][_0x4fe569(0x1d2)](_0x21870d),this['_loadErrors'][_0x4fe569(0x1d2)](_0x21870d),this[_0x4fe569(0x1f4)][_0x4fe569(0x256)]({'unitId':_0x21870d});}[_0x68fc2d(0x260)](){const _0x1fb982=_0x68fc2d;this[_0x1fb982(0x155)][_0x1fb982(0x147)](),this[_0x1fb982(0x23f)]['clear'](),this['_loadErrors'][_0x1fb982(0x147)](),this['_change$'][_0x1fb982(0x12a)](),super[_0x1fb982(0x260)]();}[_0x68fc2d(0x1b1)](_0x4d0e8f,_0x4bc7ea,_0x30566d){const _0x50130f=_0x68fc2d;this['_resources'][_0x50130f(0x1d2)](_0x4d0e8f),this[_0x50130f(0x23f)]['set'](_0x4d0e8f,_0x5ccade[_0x50130f(0x110)][_0x50130f(0x20b)](_0x4bc7ea)),this['_loadErrors'][_0x50130f(0x210)](_0x4d0e8f,_0x30566d),this[_0x50130f(0x1f4)][_0x50130f(0x256)]({'unitId':_0x4d0e8f});}};let _0x36e998=function(_0x57275f){const _0x4064ff=_0x68fc2d;return _0x57275f['EMPTY']=_0x4064ff(0x162),_0x57275f['PENDING']=_0x4064ff(0x157),_0x57275f[_0x4064ff(0x213)]=_0x4064ff(0x25d),_0x57275f[_0x4064ff(0x1f7)]=_0x4064ff(0x11d),_0x57275f;}({});function _0x112b31(_0x582aab,_0x2a1318){return function(_0x15f24d,_0x481963){_0x2a1318(_0x15f24d,_0x481963,_0x582aab);};}function _0x3ac92a(_0x2d6456,_0x2b6099,_0x3b541f,_0x15e4d9){const _0x39959b=_0x68fc2d;var _0x5a1dc4=arguments[_0x39959b(0x1c4)],_0x1116f6=_0x5a1dc4<0x3?_0x2b6099:_0x15e4d9===null?_0x15e4d9=Object[_0x39959b(0x189)](_0x2b6099,_0x3b541f):_0x15e4d9,_0x517267;if(typeof Reflect==_0x39959b(0x183)&&typeof Reflect['decorate']==_0x39959b(0x1ac))_0x1116f6=Reflect[_0x39959b(0x12e)](_0x2d6456,_0x2b6099,_0x3b541f,_0x15e4d9);else{for(var _0x18404d=_0x2d6456[_0x39959b(0x1c4)]-0x1;_0x18404d>=0x0;_0x18404d--)(_0x517267=_0x2d6456[_0x18404d])&&(_0x1116f6=(_0x5a1dc4<0x3?_0x517267(_0x1116f6):_0x5a1dc4>0x3?_0x517267(_0x2b6099,_0x3b541f,_0x1116f6):_0x517267(_0x2b6099,_0x3b541f))||_0x1116f6);}return _0x5a1dc4>0x3&&_0x1116f6&&Object['defineProperty'](_0x2b6099,_0x3b541f,_0x1116f6),_0x1116f6;}let _0x469dc0=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(_0x5af6ed,_0x5de1d9,_0xc774b1){const _0x5148be=_0x68fc2d;super(),this['_model']=_0x5af6ed,this[_0x5148be(0x1aa)]=_0x5de1d9,this[_0x5148be(0x20f)]=_0xc774b1,_0x2bdaa0(this,'_registrations',new Map()),_0x2bdaa0(this,_0x5148be(0x1e4),new Map()),_0x2bdaa0(this,_0x5148be(0x258),new _0x183d08[(_0x5148be(0x112))]()),_0x2bdaa0(this,_0x5148be(0x1be),this[_0x5148be(0x258)][_0x5148be(0x25c)]()),this[_0x5148be(0x159)](this[_0x5148be(0x1aa)][_0x5148be(0x204)][_0x5148be(0x1f3)](_0x3aa161=>{const _0x3a5f30=_0x5148be;for(let _0x2eb878 of Object['values'](_0x3aa161))for(let _0x47c0f3 of Object[_0x3a5f30(0x18f)](_0x2eb878))_0x47c0f3[_0x3a5f30(0x182)](_0x45ce4c=>this[_0x3a5f30(0x1c0)](_0x45ce4c));}));}[_0x68fc2d(0x22b)](_0x244019){const _0x2118b3=_0x68fc2d;var _0x73116b,_0x503637;let _0x2bcfe1=_0x244019['getUnitId'](),_0x201797=(_0x73116b=(_0x503637=_0x244019[_0x2118b3(0x202)]()[_0x2118b3(0x15e)])==null||(_0x503637=_0x503637[_0x2118b3(0x15d)])==null?void 0x0:_0x503637[_0x2118b3(0x261)](_0x219bde))==null?[]:_0x73116b,_0x4d9d80=this[_0x2118b3(0x11e)]['getFormulas'](_0x2bcfe1),_0x219c70=new Set();for(let _0x2c93de of _0x201797){let _0x48ec6c=_0x4d9d80[_0x2c93de[_0x2118b3(0x1e2)]];_0x48ec6c&&(_0x219c70[_0x2118b3(0x221)](_0x99aea4(_0x2bcfe1,_0x2c93de[_0x2118b3(0x1e2)])),this['register']({'unitId':_0x2bcfe1,'rangeId':_0x2c93de['rangeId']},_0x48ec6c));}for(let _0x1014f2 of Array[_0x2118b3(0x145)](this[_0x2118b3(0x18e)][_0x2118b3(0x18f)]()))_0x1014f2[_0x2118b3(0x1c9)]===_0x2bcfe1&&!_0x219c70[_0x2118b3(0x21c)](_0x99aea4(_0x1014f2[_0x2118b3(0x1c9)],_0x1014f2[_0x2118b3(0x1e2)]))&&this[_0x2118b3(0x10f)](_0x1014f2);}[_0x68fc2d(0x23b)](_0x1ad3ba,_0x309942){const _0x3c3614=_0x68fc2d;let _0x29df41=_0x99aea4(_0x1ad3ba['unitId'],_0x1ad3ba[_0x3c3614(0x1e2)]),_0x4a3423=this[_0x3c3614(0x18e)]['get'](_0x29df41),_0xb1301c=this['_hostExternalReferenceModel'][_0x3c3614(0x134)](_0x1ad3ba[_0x3c3614(0x1c9)]);if(_0x4a3423&&_0x4a3423[_0x3c3614(0x152)][_0x3c3614(0x1fe)]===_0x309942[_0x3c3614(0x1fe)]&&_0x4a3423['referenceRevision']===_0xb1301c){var _0x53562c;_0x4a3423[_0x3c3614(0x152)]=_0x309942;let _0x2186b5=_0x4a3423[_0x3c3614(0x199)]?(_0x53562c=this[_0x3c3614(0x1aa)][_0x3c3614(0x12f)](_0x4a3423[_0x3c3614(0x1c9)],_0x4a3423[_0x3c3614(0x1c9)],_0x4a3423['formulaId']))==null?void 0x0:_0x53562c:void 0x0;_0x4a3423[_0x3c3614(0x1c5)]=_0x2186b5,this[_0x3c3614(0x1e6)](_0x29df41,_0x164016(_0x309942,_0x2186b5));return;}_0x4a3423!=null&&_0x4a3423[_0x3c3614(0x199)]&&this['_deleteRegistration'](_0x4a3423);let _0x588347={..._0x1ad3ba,'config':_0x309942,'referenceRevision':_0xb1301c,'presentation':_0x164016(_0x309942,void 0x0)};if(this['_registrations'][_0x3c3614(0x210)](_0x29df41,_0x588347),!_0x309942[_0x3c3614(0x1fe)][_0x3c3614(0x1de)]())return;let _0x5b4aa7=this[_0x3c3614(0x1aa)][_0x3c3614(0x1d9)](_0x1ad3ba[_0x3c3614(0x1c9)],_0x1ad3ba[_0x3c3614(0x1c9)],_0x309942[_0x3c3614(0x1fe)],void 0x0,{'rangeId':_0x1ad3ba['rangeId']},_0x16df82[_0x3c3614(0x170)]['DOC'],_0x1ad3ba[_0x3c3614(0x1e2)]);_0x588347[_0x3c3614(0x199)]=_0x5b4aa7,this[_0x3c3614(0x1e4)][_0x3c3614(0x210)](_0x5b4aa7,_0x29df41);}[_0x68fc2d(0x10f)](_0x2500da){const _0x58749d=_0x68fc2d;let _0x53a8f1=_0x99aea4(_0x2500da[_0x58749d(0x1c9)],_0x2500da[_0x58749d(0x1e2)]),_0x442d79=this[_0x58749d(0x18e)][_0x58749d(0x175)](_0x53a8f1);_0x442d79&&(this[_0x58749d(0x22c)](_0x442d79),this[_0x58749d(0x18e)][_0x58749d(0x1d2)](_0x53a8f1));}[_0x68fc2d(0x1d8)](_0x48fbb4){const _0x10e73a=_0x68fc2d;for(let _0x2e8828 of Array[_0x10e73a(0x145)](this[_0x10e73a(0x18e)][_0x10e73a(0x18f)]()))_0x2e8828[_0x10e73a(0x1c9)]===_0x48fbb4&&this[_0x10e73a(0x10f)](_0x2e8828);}[_0x68fc2d(0x167)](_0x19b038){const _0x2d93c9=_0x68fc2d;var _0x5f2784;return(_0x5f2784=this[_0x2d93c9(0x18e)][_0x2d93c9(0x175)](_0x99aea4(_0x19b038[_0x2d93c9(0x1c9)],_0x19b038[_0x2d93c9(0x1e2)])))==null?void 0x0:_0x5f2784['presentation'];}[_0x68fc2d(0x1ae)](_0x179179){const _0x1866a3=_0x68fc2d;let _0x3df45e=this[_0x1866a3(0x18e)][_0x1866a3(0x175)](_0x99aea4(_0x179179['unitId'],_0x179179[_0x1866a3(0x1e2)]));return _0x3df45e?_0x1e73f3(_0x3df45e):void 0x0;}[_0x68fc2d(0x14b)](){const _0x2da356=_0x68fc2d;return Array[_0x2da356(0x145)](this[_0x2da356(0x18e)][_0x2da356(0x18f)](),_0x5400bd=>({'identity':{'unitId':_0x5400bd[_0x2da356(0x1c9)],'rangeId':_0x5400bd[_0x2da356(0x1e2)]},'config':_0x5400bd[_0x2da356(0x152)],'referenceRevision':_0x5400bd[_0x2da356(0x16c)],..._0x5400bd['liveResult']?{'liveResult':_0x5400bd[_0x2da356(0x1c5)]}:null}));}[_0x68fc2d(0x260)](){const _0x493464=_0x68fc2d;for(let _0x178c4f of this[_0x493464(0x18e)][_0x493464(0x18f)]())this[_0x493464(0x22c)](_0x178c4f);this[_0x493464(0x18e)][_0x493464(0x147)](),this[_0x493464(0x1e4)][_0x493464(0x147)](),this[_0x493464(0x258)][_0x493464(0x12a)](),super[_0x493464(0x260)]();}[_0x68fc2d(0x1c0)](_0x319fd3){const _0x31749c=_0x68fc2d;let _0x283da9=this[_0x31749c(0x1e4)]['get'](_0x319fd3[_0x31749c(0x199)]),_0x559778=_0x283da9?this['_registrations'][_0x31749c(0x175)](_0x283da9):void 0x0;!_0x283da9||!_0x559778||(_0x559778[_0x31749c(0x1c5)]=_0x319fd3,this[_0x31749c(0x1e6)](_0x283da9,_0x164016(_0x559778[_0x31749c(0x152)],_0x319fd3)));}[_0x68fc2d(0x1e6)](_0x574a14,_0x5d836e){const _0x1e900c=_0x68fc2d;var _0x5f4e3a,_0x1a45b3,_0x2a51b1;let _0x3d47fe=this['_registrations'][_0x1e900c(0x175)](_0x574a14);if(!_0x3d47fe||_0x1d478(_0x3d47fe[_0x1e900c(0x141)],_0x5d836e))return;let _0x1ce829=_0x3d47fe[_0x1e900c(0x141)],_0x52ebb3=_0x1e73f3(_0x3d47fe);_0x3d47fe[_0x1e900c(0x141)]=_0x5d836e,this['_presentationChanged$'][_0x1e900c(0x256)]({'unitId':_0x3d47fe['unitId'],'rangeId':_0x3d47fe[_0x1e900c(0x1e2)],'presentation':_0x5d836e,'previousPresentation':_0x1ce829,'result':_0x1e73f3(_0x3d47fe),'previousResult':{..._0x52ebb3,..._0x1ce829,'value':(_0x5f4e3a=_0x1ce829[_0x1e900c(0x1bf)])==null?void 0x0:_0x5f4e3a['v'],'valueType':(_0x1a45b3=(_0x2a51b1=_0x1ce829['cell'])==null?void 0x0:_0x2a51b1['t'])==null?void 0x0:_0x1a45b3}});}[_0x68fc2d(0x22c)](_0x2efbd1){const _0x2c5507=_0x68fc2d;_0x2efbd1[_0x2c5507(0x199)]&&(this[_0x2c5507(0x1aa)][_0x2c5507(0x228)](_0x2efbd1[_0x2c5507(0x1c9)],_0x2efbd1[_0x2c5507(0x1c9)],[_0x2efbd1[_0x2c5507(0x199)]]),this[_0x2c5507(0x1e4)][_0x2c5507(0x1d2)](_0x2efbd1['formulaId']));}};_0x469dc0=_0x3ac92a([_0x112b31(0x0,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x2efa09)),_0x112b31(0x1,(0x0,_0x5ccade['Inject'])(_0x16df82[_0x68fc2d(0x1ec)])),_0x112b31(0x2,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x3c5cf2['HostExternalReferenceModel']))],_0x469dc0);function _0x99aea4(_0x576d27,_0x36d178){return _0x576d27+'\x00'+_0x36d178;}function _0x164016(_0x408dbb,_0x18e5d0){const _0xd2267e=_0x68fc2d;return(0x0,_0x3c5cf2[_0xd2267e(0x16e)])({'numberFormat':_0x408dbb[_0xd2267e(0x176)],'lastValue':_0x408dbb[_0xd2267e(0x117)],'result':_0x18e5d0});}function _0x1e73f3(_0x48ffb3){const _0x5db74d=_0x68fc2d;var _0x4d601f,_0x5b569d,_0x2b01c7,_0x17d842;let _0x2286ef=_0x48ffb3['presentation'],_0xb8501f=_0x48ffb3[_0x5db74d(0x152)]['formula'][_0x5db74d(0x1de)]()?_0x2286ef[_0x5db74d(0x116)]||_0x2286ef['cell']==null?'pending':((_0x4d601f=_0x48ffb3[_0x5db74d(0x1c5)])==null?void 0x0:_0x4d601f[_0x5db74d(0x20d)])===_0x16df82[_0x5db74d(0x1fc)]['ERROR']?'error':_0x5db74d(0x25d):'empty';return{..._0x2286ef,'status':_0xb8501f,'value':(_0x5b569d=_0x2286ef[_0x5db74d(0x1bf)])==null?void 0x0:_0x5b569d['v'],'valueType':(_0x2b01c7=(_0x17d842=_0x2286ef[_0x5db74d(0x1bf)])==null?void 0x0:_0x17d842['t'])==null?void 0x0:_0x2b01c7};}function _0x1d478(_0x33dc73,_0x1b6a3a){const _0x3ab443=_0x68fc2d;var _0x4815b7,_0x3f075c,_0x108865,_0x203448;return _0x33dc73[_0x3ab443(0x200)]===_0x1b6a3a[_0x3ab443(0x200)]&&_0x33dc73['color']===_0x1b6a3a[_0x3ab443(0x121)]&&_0x33dc73[_0x3ab443(0x23a)]===_0x1b6a3a['pattern']&&_0x33dc73[_0x3ab443(0x1a2)]===_0x1b6a3a['source']&&_0x33dc73['stale']===_0x1b6a3a['stale']&&((_0x4815b7=_0x33dc73[_0x3ab443(0x1bf)])==null?void 0x0:_0x4815b7['t'])===((_0x3f075c=_0x1b6a3a[_0x3ab443(0x1bf)])==null?void 0x0:_0x3f075c['t'])&&Object['is']((_0x108865=_0x33dc73['cell'])==null?void 0x0:_0x108865['v'],(_0x203448=_0x1b6a3a[_0x3ab443(0x1bf)])==null?void 0x0:_0x203448['v']);}let _0x6b1270={'id':'docs-formula.mutation.set-formula','type':_0x5ccade['CommandType'][_0x68fc2d(0x119)],'handler':(_0x1c4036,_0x18fc47)=>!(_0x18fc47!=null&&_0x18fc47['unitId'])||!_0x18fc47[_0x68fc2d(0x1e2)]||!_0x18fc47[_0x68fc2d(0x152)]?!0x1:_0x1c4036['get'](_0x2efa09)['setFormula'](_0x18fc47[_0x68fc2d(0x1c9)],_0x18fc47['rangeId'],_0x18fc47[_0x68fc2d(0x152)])},_0x51ef55={'id':_0x68fc2d(0x14a),'type':_0x5ccade[_0x68fc2d(0x1cf)]['MUTATION'],'handler':(_0x248eba,_0x59c7de)=>!(_0x59c7de!=null&&_0x59c7de[_0x68fc2d(0x1c9)])||!_0x59c7de[_0x68fc2d(0x1e2)]?!0x1:_0x248eba[_0x68fc2d(0x175)](_0x2efa09)['removeFormula'](_0x59c7de[_0x68fc2d(0x1c9)],_0x59c7de[_0x68fc2d(0x1e2)])},_0x5c9db3={'id':_0x68fc2d(0x135),'type':_0x5ccade[_0x68fc2d(0x1cf)][_0x68fc2d(0x119)],'handler':(_0x5a349a,_0x5c2ac2)=>!(_0x5c2ac2!=null&&_0x5c2ac2[_0x68fc2d(0x1c9)])||!_0x5c2ac2[_0x68fc2d(0x192)]?!0x1:_0x5a349a['get'](_0x2efa09)['setResource'](_0x5c2ac2[_0x68fc2d(0x1c9)],_0x5c2ac2[_0x68fc2d(0x192)])},_0x102d83={'id':_0x68fc2d(0x1a3),'type':_0x5ccade[_0x68fc2d(0x1cf)]['MUTATION'],'handler':(_0x2a565e,_0x47c728)=>{const _0x5444ea=_0x68fc2d;if(!(_0x47c728!=null&&_0x47c728[_0x5444ea(0x1c9)])||!_0x47c728[_0x5444ea(0x1d7)][_0x5444ea(0x1c4)])return!0x1;let _0x4cec73=_0x2a565e[_0x5444ea(0x175)](_0x2efa09),_0x1fae65=_0x2a565e['get'](_0x3c5cf2[_0x5444ea(0x250)]),_0x1d63af=_0x4cec73[_0x5444ea(0x1e3)](_0x47c728[_0x5444ea(0x1c9)]);if(!_0x1d63af)return!0x1;let _0x27e194=_0x5ccade[_0x5444ea(0x110)][_0x5444ea(0x20b)](_0x1d63af),_0x2374d2=!0x1;for(let _0x2c549c of _0x47c728[_0x5444ea(0x1d7)]){var _0x120095,_0x14fbf0,_0x5e3faf,_0x4adde2;let _0x592a41=_0x27e194[_0x5444ea(0x25e)][_0x2c549c['rangeId']];!_0x592a41||_0x592a41[_0x5444ea(0x1fe)]!==_0x2c549c[_0x5444ea(0x217)]||((_0x120095=_0x592a41[_0x5444ea(0x176)])==null?void 0x0:_0x120095['pattern'])!==_0x2c549c['expectedNumberFormat']||_0x1fae65[_0x5444ea(0x134)](_0x47c728[_0x5444ea(0x1c9)])!==_0x2c549c[_0x5444ea(0x1a8)]||(((_0x14fbf0=_0x592a41[_0x5444ea(0x117)])==null?void 0x0:_0x14fbf0['v'])!==_0x2c549c[_0x5444ea(0x117)]['v']||((_0x5e3faf=_0x592a41[_0x5444ea(0x117)])==null?void 0x0:_0x5e3faf['t'])!==_0x2c549c[_0x5444ea(0x117)]['t']||((_0x4adde2=_0x592a41[_0x5444ea(0x117)])==null?void 0x0:_0x4adde2[_0x5444ea(0x23a)])!==_0x2c549c[_0x5444ea(0x117)][_0x5444ea(0x23a)])&&(_0x592a41['lastValue']=_0x5ccade['Tools'][_0x5444ea(0x20b)](_0x2c549c['lastValue']),_0x2374d2=!0x0);}return!_0x2374d2||_0x4cec73[_0x5444ea(0x25b)](_0x47c728[_0x5444ea(0x1c9)],_0x27e194);}},_0x2cba8c={'id':_0x68fc2d(0x190),'type':_0x5ccade['CommandType']['COMMAND'],'handler':(_0x9b7c9e,_0x553fe3)=>{const _0x578db2=_0x68fc2d;var _0x4124ec;if(!(_0x553fe3!=null&&_0x553fe3[_0x578db2(0x1fe)][_0x578db2(0x1de)]()))return!0x1;let _0x37c62b=_0x4f3472(_0x9b7c9e,_0x553fe3[_0x578db2(0x1c9)],'');if(!_0x37c62b)return!0x1;let _0x12b2c4=_0x529943(_0x553fe3[_0x578db2(0x23c)],_0x37c62b['body'],_0x250808(_0x9b7c9e,_0x37c62b[_0x578db2(0x1c9)]));if(!_0x12b2c4)return!0x1;let _0x537ad8=_0x5ee8c8(_0x9b7c9e,_0x37c62b[_0x578db2(0x1c9)],_0x553fe3[_0x578db2(0x1fe)],(_0x4124ec=_0x553fe3[_0x578db2(0x238)])==null?[]:_0x4124ec);if(!_0x537ad8)return!0x1;let _0x26c160=_0x2f2998(_0x37c62b['body'],_0x37c62b[_0x578db2(0x11b)],_0x37c62b[_0x578db2(0x1c9)]),_0x4cc104=_0x3cedf5({'documentData':_0x37c62b[_0x578db2(0x13a)],'resource':_0x37c62b[_0x578db2(0x192)],'rangeId':_0x26c160,'config':{'formula':_0x553fe3[_0x578db2(0x1fe)],..._0x553fe3[_0x578db2(0x176)]?{'numberFormat':_0x553fe3[_0x578db2(0x176)]}:null},'startOffset':_0x12b2c4[_0x578db2(0x21b)],'endOffset':_0x12b2c4['endOffset']});if(!_0x4cc104)return!0x1;let _0x124ce8=(0x0,_0x3c5cf2[_0x578db2(0x17d)])(_0x9b7c9e,_0x37c62b[_0x578db2(0x1c9)],_0x537ad8);return!_0x124ce8||!_0x5a8b3d({'accessor':_0x9b7c9e,'document':_0x37c62b[_0x578db2(0x19c)],'unitId':_0x37c62b[_0x578db2(0x1c9)],'trigger':_0x2cba8c['id'],'rangeId':_0x26c160,'previousResource':_0x37c62b[_0x578db2(0x192)],'nextResource':_0x4cc104[_0x578db2(0x245)],'previousDocumentData':_0x37c62b['documentData'],'nextDocumentData':_0x4cc104[_0x578db2(0x1ee)],'cursorOffset':_0x4cc104[_0x578db2(0x1a6)],'externalMutations':_0x124ce8})?!0x1:{'rangeId':_0x26c160,'startOffset':_0x4cc104['cursorOffset']-0x1,'endOffset':_0x4cc104['cursorOffset']};}},_0x590227={'id':_0x68fc2d(0x225),'type':_0x5ccade[_0x68fc2d(0x1cf)]['COMMAND'],'handler':(_0x3a16d5,_0x59c1b9)=>{const _0x51cf74=_0x68fc2d;var _0x303b5a;if(!(_0x59c1b9!=null&&_0x59c1b9[_0x51cf74(0x1e2)])||!_0x59c1b9[_0x51cf74(0x1fe)][_0x51cf74(0x1de)]())return!0x1;let _0x5c00d3=_0x4f3472(_0x3a16d5,_0x59c1b9[_0x51cf74(0x1c9)],''),_0x367490=_0x5c00d3==null?void 0x0:_0x5c00d3[_0x51cf74(0x11b)][_0x51cf74(0x1a9)](_0x5c00d3[_0x51cf74(0x1c9)],_0x59c1b9[_0x51cf74(0x1e2)]),_0x236838=_0x5c00d3?_0x2a8744(_0x5c00d3['documentData'][_0x51cf74(0x15e)],_0x59c1b9[_0x51cf74(0x1e2)]):void 0x0;if(!_0x5c00d3||!_0x367490||!_0x236838)return!0x1;let _0x81831f=_0x5ee8c8(_0x3a16d5,_0x5c00d3[_0x51cf74(0x1c9)],_0x59c1b9[_0x51cf74(0x1fe)],(_0x303b5a=_0x59c1b9[_0x51cf74(0x238)])==null?[]:_0x303b5a);if(!_0x81831f)return!0x1;let _0x4fd69e=(0x0,_0x3c5cf2[_0x51cf74(0x17d)])(_0x3a16d5,_0x5c00d3['unitId'],_0x81831f);if(!_0x4fd69e)return!0x1;let _0x55bc37=_0x147ce7(_0x5c00d3[_0x51cf74(0x192)]);return _0x55bc37[_0x51cf74(0x25e)][_0x59c1b9[_0x51cf74(0x1e2)]]={'formula':_0x59c1b9['formula'],..._0x59c1b9[_0x51cf74(0x176)]?{'numberFormat':_0x59c1b9[_0x51cf74(0x176)]}:_0x367490[_0x51cf74(0x176)]?{'numberFormat':_0x367490['numberFormat']}:null},_0x5a8b3d({'accessor':_0x3a16d5,'document':_0x5c00d3['document'],'unitId':_0x5c00d3[_0x51cf74(0x1c9)],'trigger':_0x590227['id'],'rangeId':_0x59c1b9['rangeId'],'previousResource':_0x5c00d3[_0x51cf74(0x192)],'nextResource':_0x55bc37,'cursorOffset':_0x236838['endIndex']+0x1,'externalMutations':_0x4fd69e});}},_0x1d8eaf={'id':_0x68fc2d(0x196),'type':_0x5ccade[_0x68fc2d(0x1cf)][_0x68fc2d(0x136)],'handler':(_0x88191e,_0x2b7376)=>{const _0x5b8a5b=_0x68fc2d;if(!(_0x2b7376!=null&&_0x2b7376[_0x5b8a5b(0x1e2)]))return!0x1;let _0x5dcf86=_0x4f3472(_0x88191e,_0x2b7376[_0x5b8a5b(0x1c9)],''),_0x22c9c0=_0x5dcf86==null?void 0x0:_0x5dcf86['model'][_0x5b8a5b(0x1a9)](_0x5dcf86['unitId'],_0x2b7376[_0x5b8a5b(0x1e2)]),_0x58973d=_0x5dcf86?_0x2a8744(_0x5dcf86[_0x5b8a5b(0x13a)][_0x5b8a5b(0x15e)],_0x2b7376[_0x5b8a5b(0x1e2)]):void 0x0;if(!_0x5dcf86||!_0x22c9c0||!_0x58973d)return!0x1;let _0x564224=_0x147ce7(_0x5dcf86[_0x5b8a5b(0x192)]);return _0x564224[_0x5b8a5b(0x25e)][_0x2b7376[_0x5b8a5b(0x1e2)]]={..._0x22c9c0,..._0x2b7376['numberFormat']?{'numberFormat':_0x2b7376[_0x5b8a5b(0x176)]}:null},_0x2b7376[_0x5b8a5b(0x176)]||delete _0x564224['formulas'][_0x2b7376[_0x5b8a5b(0x1e2)]][_0x5b8a5b(0x176)],_0x5a8b3d({'accessor':_0x88191e,'document':_0x5dcf86[_0x5b8a5b(0x19c)],'unitId':_0x5dcf86[_0x5b8a5b(0x1c9)],'trigger':_0x1d8eaf['id'],'rangeId':_0x2b7376[_0x5b8a5b(0x1e2)],'previousResource':_0x5dcf86[_0x5b8a5b(0x192)],'nextResource':_0x564224,'cursorOffset':_0x58973d[_0x5b8a5b(0x174)]+0x1,'externalMutations':{}});}},_0x69b1e4={'id':_0x68fc2d(0x1fb),'type':_0x5ccade['CommandType'][_0x68fc2d(0x136)],'handler':(_0x42ab62,_0x5ecc53)=>_0x546deb(_0x42ab62,_0x5ecc53,'',_0x69b1e4['id'])},_0x540511={'id':'docs-formula.command.replace-with-text','type':_0x5ccade['CommandType']['COMMAND'],'handler':(_0x51463b,_0x28631b)=>{const _0x19fa4e=_0x68fc2d;var _0x1f9676;return _0x546deb(_0x51463b,_0x28631b,(_0x1f9676=_0x28631b==null?void 0x0:_0x28631b[_0x19fa4e(0x200)])==null?'':_0x1f9676,_0x540511['id']);}},_0x109393={'id':_0x68fc2d(0x114),'type':_0x5ccade[_0x68fc2d(0x1cf)]['COMMAND'],'handler':(_0x59649b,_0x5913bd)=>{const _0xb81a2a=_0x68fc2d;if(!(_0x5913bd!=null&&_0x5913bd[_0xb81a2a(0x1e2)]))return!0x1;let _0x3dea0f=_0x4f3472(_0x59649b,_0x5913bd[_0xb81a2a(0x1c9)],'');if(!_0x3dea0f)return!0x1;let _0x5016d8=_0x59649b['get'](_0x469dc0)[_0xb81a2a(0x1ae)]({'unitId':_0x3dea0f[_0xb81a2a(0x1c9)],'rangeId':_0x5913bd[_0xb81a2a(0x1e2)]});return _0x5016d8?_0x546deb(_0x59649b,_0x5913bd,_0x5016d8[_0xb81a2a(0x200)],_0x109393['id']):!0x1;}};function _0x546deb(_0x3cbe67,_0x4bea83,_0x45d0d0,_0x2e83b2){const _0x24a4e=_0x68fc2d;if(!(_0x4bea83!=null&&_0x4bea83[_0x24a4e(0x1e2)]))return!0x1;let _0x4a4fe5=_0x4f3472(_0x3cbe67,_0x4bea83['unitId'],'');if(!_0x4a4fe5)return!0x1;let _0x1dac04=_0x5114cd({'documentData':_0x4a4fe5[_0x24a4e(0x13a)],'resource':_0x4a4fe5[_0x24a4e(0x192)],'rangeId':_0x4bea83[_0x24a4e(0x1e2)],'text':_0x45d0d0});return _0x1dac04?_0x5a8b3d({'accessor':_0x3cbe67,'document':_0x4a4fe5[_0x24a4e(0x19c)],'unitId':_0x4a4fe5['unitId'],'trigger':_0x2e83b2,'rangeId':_0x4bea83[_0x24a4e(0x1e2)],'previousResource':_0x4a4fe5['resource'],'nextResource':_0x1dac04['nextResource'],'previousDocumentData':_0x4a4fe5[_0x24a4e(0x13a)],'nextDocumentData':_0x1dac04[_0x24a4e(0x1ee)],'cursorOffset':_0x1dac04[_0x24a4e(0x1a6)],'externalMutations':{}}):!0x1;}function _0x4f3472(_0x2e18b1,_0x46e39e,_0x612c60){const _0x73140e=_0x68fc2d;var _0x2dfcf7,_0x1b694c;if(_0x612c60)return null;let _0x200f4c=_0x2e18b1[_0x73140e(0x175)](_0x5ccade[_0x73140e(0x16f)]),_0x1eab3c=(_0x2dfcf7=_0x46e39e?_0x200f4c[_0x73140e(0x154)](_0x46e39e,_0x5ccade[_0x73140e(0x18b)][_0x73140e(0x140)]):_0x200f4c['getCurrentUnitOfType'](_0x5ccade['UniverInstanceType'][_0x73140e(0x140)]))==null?null:_0x2dfcf7;if(!_0x1eab3c)return null;let _0x1f560e=_0x1eab3c[_0x73140e(0x202)](),_0x7f982e=_0x1f560e[_0x73140e(0x15e)];if(_0x1f560e[_0x73140e(0x1bd)]||!_0x7f982e)return null;let _0x1556e8=_0x2e18b1[_0x73140e(0x175)](_0x2efa09);return _0x1556e8[_0x73140e(0x219)](_0x1eab3c[_0x73140e(0x232)]())?null:{'document':_0x1eab3c,'body':_0x7f982e,'documentData':_0x1f560e,'model':_0x1556e8,'resource':(_0x1b694c=_0x1556e8[_0x73140e(0x1e3)](_0x1eab3c[_0x73140e(0x232)]()))==null?_0x249ba4():_0x1b694c,'unitId':_0x1eab3c[_0x73140e(0x232)]()};}function _0x250808(_0xa35e09,_0x275290){const _0x7fa32e=_0x68fc2d;var _0x448f1e;return(_0x448f1e=_0xa35e09[_0x7fa32e(0x175)](_0x552610['DocSelectionManagerService'])[_0x7fa32e(0x12c)]({'subUnitId':_0x275290,'unitId':_0x275290}))==null?void 0x0:_0x448f1e[0x0];}function _0x529943(_0x4b6ce4,_0x3d190b,_0x1fa41e){const _0x269182=_0x68fc2d;if((_0x4b6ce4==null?void 0x0:_0x4b6ce4[_0x269182(0x158)])===_0x269182(0x222)){var _0x5245e0,_0x15ac87;let _0x4184c4=(_0x5245e0=(_0x15ac87=_0x3d190b[_0x269182(0x14e)])==null?void 0x0:_0x15ac87[_0x269182(0x261)](_0x59026b=>_0x59026b[_0x269182(0x1c8)]===_0x4b6ce4['paragraphId']))==null?[]:_0x5245e0;if(_0x4184c4[_0x269182(0x1c4)]!==0x1)return null;let _0x45a33e=_0x4184c4[0x0],_0x2a0dac=(0x0,_0x5ccade[_0x269182(0x20a)])(_0x3d190b,_0x45a33e),_0x34920f=_0x45a33e['startIndex']-_0x2a0dac,_0x5e252e=_0x4b6ce4[_0x269182(0x12b)]==='end'?_0x34920f:_0x4b6ce4[_0x269182(0x12b)];if(!Number[_0x269182(0x1b5)](_0x5e252e)||_0x5e252e<0x0||_0x5e252e>_0x34920f)return null;let _0x4e16dc=_0x2a0dac+_0x5e252e;return{'startOffset':_0x4e16dc,'endOffset':_0x4e16dc};}if((_0x4b6ce4==null?void 0x0:_0x4b6ce4[_0x269182(0x158)])===_0x269182(0x13b))return!Number[_0x269182(0x1b5)](_0x4b6ce4[_0x269182(0x21b)])||!Number[_0x269182(0x1b5)](_0x4b6ce4[_0x269182(0x1ef)])?null:{'startOffset':Math[_0x269182(0x1f2)](_0x4b6ce4['startOffset'],_0x4b6ce4[_0x269182(0x1ef)]),'endOffset':Math[_0x269182(0x17f)](_0x4b6ce4['startOffset'],_0x4b6ce4[_0x269182(0x1ef)])};let _0x219eaa=(_0x4b6ce4==null?void 0x0:_0x4b6ce4['type'])===_0x269182(0x1b3)?_0x4b6ce4[_0x269182(0x1b3)]:_0x1fa41e;return!_0x219eaa||_0x219eaa[_0x269182(0x111)]?null:{'startOffset':Math[_0x269182(0x1f2)](_0x219eaa[_0x269182(0x21b)],_0x219eaa[_0x269182(0x1ef)]),'endOffset':Math[_0x269182(0x17f)](_0x219eaa['startOffset'],_0x219eaa[_0x269182(0x1ef)])};}function _0x5ee8c8(_0x32fb26,_0x51d921,_0x2df7dd,_0x4700d7){const _0x24eeb7=_0x68fc2d;let _0x4ffe27=_0x32fb26[_0x24eeb7(0x175)](_0x16df82['LexerTreeBuilder']),_0x1c1d95=_0x2df7dd['startsWith']('=')?_0x2df7dd['slice'](0x1):_0x2df7dd,_0x5572ad=_0x4ffe27[_0x24eeb7(0x10e)](_0x1c1d95);if(!_0x5572ad)return null;let _0x191e39=_0x32fb26[_0x24eeb7(0x175)](_0x3c5cf2[_0x24eeb7(0x250)]),_0xaad68b=(0x0,_0x3c5cf2[_0x24eeb7(0x169)])({'qualifiers':(0x0,_0x3c5cf2[_0x24eeb7(0x209)])(_0x5572ad),'explicitReferences':_0x4700d7==null?[]:_0x4700d7,'resolveBinding':_0x1fd15d=>_0x191e39[_0x24eeb7(0x262)](_0x51d921,_0x1fd15d)});return _0xaad68b[_0x24eeb7(0x20d)]==='resolved'?_0xaad68b[_0x24eeb7(0x1c7)]:null;}function _0x2f2998(_0x5af94b,_0x26937c,_0x1acc8a){const _0x50163b=_0x68fc2d;var _0x2a87e0;let _0x3de1b0=(0x0,_0x5ccade[_0x50163b(0x16a)])(0x6);for(;_0x5af94b!=null&&(_0x2a87e0=_0x5af94b[_0x50163b(0x15d)])!=null&&_0x2a87e0[_0x50163b(0x220)](_0x5bcd7b=>_0x5bcd7b[_0x50163b(0x1e2)]===_0x3de1b0)||_0x26937c[_0x50163b(0x1a9)](_0x1acc8a,_0x3de1b0);)_0x3de1b0=(0x0,_0x5ccade[_0x50163b(0x16a)])(0x6);return _0x3de1b0;}function _0x3cedf5(_0x2c73e4){try{return _0x55347d(_0x2c73e4);}catch(_0x2e9c2e){if(_0x2e9c2e instanceof _0x33e424)return null;throw _0x2e9c2e;}}function _0x2bfcdc(_0x186367){const _0x30a042=_0x68fc2d;let _0x311b3f=_0x186367[_0x30a042(0x214)]&&_0x186367[_0x30a042(0x1ee)]?_0x244f80(_0x186367[_0x30a042(0x19c)],_0x186367[_0x30a042(0x1c9)],_0x186367['previousDocumentData'],_0x186367[_0x30a042(0x1ee)],_0x186367['cursorOffset'],_0x186367[_0x30a042(0x151)]):null;return _0x186367[_0x30a042(0x214)]&&_0x186367[_0x30a042(0x1ee)]&&!_0x311b3f?null:{'documentRedo':_0x311b3f,'resourceRedo':{'id':_0x5c9db3['id'],'params':{'unitId':_0x186367['unitId'],'resource':_0x186367[_0x30a042(0x245)]}},'resourceUndo':{'id':_0x5c9db3['id'],'params':{'unitId':_0x186367[_0x30a042(0x1c9)],'resource':_0x186367[_0x30a042(0x13c)]}}};}function _0x535e52(_0x9e4c60,_0x4a0753,_0xcbf5fc,_0x2d44){const _0x52b7d6=_0x68fc2d;_0x2d44[_0x52b7d6(0x241)]({'id':_0x9e4c60['trigger']+':'+_0x9e4c60[_0x52b7d6(0x1e2)],'unitID':_0x9e4c60[_0x52b7d6(0x1c9)],'redoMutations':[..._0x9e4c60[_0x52b7d6(0x243)][_0x52b7d6(0x130)]?[_0x9e4c60['externalMutations']['redoMutation']]:[],..._0x4a0753[_0x52b7d6(0x1b8)]?[_0x4a0753[_0x52b7d6(0x1b8)]]:[],_0x4a0753[_0x52b7d6(0x14c)]],'undoMutations':[_0x4a0753[_0x52b7d6(0x1bc)],..._0xcbf5fc?[_0xcbf5fc]:[],..._0x9e4c60[_0x52b7d6(0x243)][_0x52b7d6(0x17e)]?[_0x9e4c60[_0x52b7d6(0x243)]['undoMutation']]:[]]});}function _0x5a8b3d(_0x26ff7b){const _0x28422c=_0x68fc2d;let _0x3a3dcb=_0x26ff7b['accessor'][_0x28422c(0x175)](_0x5ccade[_0x28422c(0x14d)]),_0x1c7e95=_0x26ff7b[_0x28422c(0x1d0)][_0x28422c(0x175)](_0x5ccade['IUndoRedoService']),_0x23ead6=_0x26ff7b['accessor']['get'](_0x552610[_0x28422c(0x16d)]),_0x1f9721=_0x2bfcdc(_0x26ff7b);if(!_0x1f9721)return!0x1;let _0x1fcd19=!0x1,_0x3ccf48=null,_0xb4570c=!0x1;try{if(_0x26ff7b[_0x28422c(0x243)][_0x28422c(0x130)]){if(!_0x3a3dcb['syncExecuteCommand'](_0x26ff7b[_0x28422c(0x243)]['redoMutation']['id'],_0x26ff7b[_0x28422c(0x243)][_0x28422c(0x130)][_0x28422c(0x1ff)]))return!0x1;_0x1fcd19=!0x0;}if(_0x1f9721[_0x28422c(0x1b8)]){let _0x1e5ab8=_0x3a3dcb['syncExecuteCommand'](_0x1f9721[_0x28422c(0x1b8)]['id'],_0x1f9721[_0x28422c(0x1b8)]['params']);if(!_0x1e5ab8)return _0xca9587(_0x3a3dcb,_0x26ff7b[_0x28422c(0x243)],_0x1fcd19),!0x1;_0x3ccf48={'id':_0x552610[_0x28422c(0x264)]['id'],'params':{..._0x1e5ab8,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x3a3dcb[_0x28422c(0x18d)](_0x1f9721[_0x28422c(0x14c)]['id'],_0x1f9721['resourceRedo'][_0x28422c(0x1ff)]))return _0x2e267f(_0x3a3dcb,_0x3ccf48),_0xca9587(_0x3a3dcb,_0x26ff7b['externalMutations'],_0x1fcd19),!0x1;_0xb4570c=!0x0,_0x535e52(_0x26ff7b,_0x1f9721,_0x3ccf48,_0x1c7e95);}catch(_0x9f2405){throw _0xb4570c&&_0x3a3dcb[_0x28422c(0x18d)](_0x1f9721[_0x28422c(0x1bc)]['id'],_0x1f9721[_0x28422c(0x1bc)][_0x28422c(0x1ff)]),_0x2e267f(_0x3a3dcb,_0x3ccf48),_0xca9587(_0x3a3dcb,_0x26ff7b[_0x28422c(0x243)],_0x1fcd19),_0x9f2405;}return _0x23ead6[_0x28422c(0x24a)]([{'startOffset':_0x26ff7b[_0x28422c(0x1a6)],'endOffset':_0x26ff7b[_0x28422c(0x1a6)],'segmentId':''}],{'unitId':_0x26ff7b['unitId'],'subUnitId':_0x26ff7b[_0x28422c(0x1c9)]},!0x1,{[_0x552610[_0x28422c(0x227)]]:!0x0}),!0x0;}function _0x244f80(_0x7cff5c,_0xb5cd29,_0x5e13ce,_0x41f725,_0x18b662,_0x40b8ec){const _0x44b0a4=_0x68fc2d;let _0x3191ba=_0x5c35a8(_0x5e13ce,_0x41f725,(0x0,_0x5ccade['getRichTextEditPath'])(_0x7cff5c,''));return _0x3191ba?{'id':_0x552610[_0x44b0a4(0x264)]['id'],'params':{'unitId':_0xb5cd29,'actions':_0x3191ba,'segmentId':'','textRanges':[{'startOffset':_0x18b662,'endOffset':_0x18b662,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x40b8ec}}:null;}function _0x2e267f(_0x369bd6,_0x20bff7){_0x20bff7&&_0x369bd6['syncExecuteCommand'](_0x20bff7['id'],_0x20bff7['params']);}function _0xca9587(_0x3709c2,_0x2aa76e,_0x308ac3){const _0x590b4a=_0x68fc2d;_0x308ac3&&_0x2aa76e[_0x590b4a(0x17e)]&&_0x3709c2['syncExecuteCommand'](_0x2aa76e[_0x590b4a(0x17e)]['id'],_0x2aa76e[_0x590b4a(0x17e)]['params']);}function _0x5c35a8(_0x2cb319,_0x44d167,_0x1a176e){const _0x4df718=_0x68fc2d;let _0x4a42ae=_0x2cb319[_0x4df718(0x15e)],_0x326922=_0x44d167[_0x4df718(0x15e)],_0x53316c=_0x2866ca(_0x4a42ae==null?void 0x0:_0x4a42ae[_0x4df718(0x1ce)],_0x326922==null?void 0x0:_0x326922['dataStream']);if(!_0x53316c||!_0x326922)return null;let _0x191bd7=new _0x5ccade[(_0x4df718(0x1eb))]();return _0x191bd7[_0x4df718(0x206)](_0x53316c['start']),_0x53316c[_0x4df718(0x18c)]>0x0&&_0x191bd7[_0x4df718(0x16b)](_0x53316c[_0x4df718(0x18c)],(0x0,_0x5ccade['getBodySliceForTextXAction'])(_0x326922,_0x53316c[_0x4df718(0x25f)],_0x53316c[_0x4df718(0x25f)]+_0x53316c[_0x4df718(0x18c)],!0x1)),_0x53316c[_0x4df718(0x11c)]>0x0&&_0x191bd7[_0x4df718(0x1d2)](_0x53316c['deleteLength']),_0x5ccade[_0x4df718(0x1d4)][_0x4df718(0x21d)]()[_0x4df718(0x1a5)](_0x191bd7['serialize'](),_0x1a176e);}function _0x2866ca(_0x951f2b,_0x33d796){const _0x13da81=_0x68fc2d;if(_0x951f2b==null||_0x33d796==null||_0x951f2b===_0x33d796)return null;let _0x3894ea=0x0;for(;_0x3894ea<_0x951f2b[_0x13da81(0x1c4)]&&_0x3894ea<_0x33d796['length']&&_0x951f2b[_0x3894ea]===_0x33d796[_0x3894ea];)_0x3894ea+=0x1;let _0x45dbf4=_0x951f2b[_0x13da81(0x1c4)],_0x4d419d=_0x33d796[_0x13da81(0x1c4)];for(;_0x45dbf4>_0x3894ea&&_0x4d419d>_0x3894ea&&_0x951f2b[_0x45dbf4-0x1]===_0x33d796[_0x4d419d-0x1];)--_0x45dbf4,--_0x4d419d;return{'start':_0x3894ea,'deleteLength':_0x45dbf4-_0x3894ea,'insertLength':_0x4d419d-_0x3894ea};}function _0x147ce7(_0x2ff7c7){const _0x446f73=_0x68fc2d;return{'schemaVersion':0x1,'formulas':Object[_0x446f73(0x122)](Object[_0x446f73(0x14f)](_0x2ff7c7['formulas'])[_0x446f73(0x125)](([_0x1421e3,_0x5badac])=>[_0x1421e3,{..._0x5badac,..._0x5badac[_0x446f73(0x176)]?{'numberFormat':{..._0x5badac[_0x446f73(0x176)]}}:null,..._0x5badac[_0x446f73(0x117)]?{'lastValue':{..._0x5badac[_0x446f73(0x117)]}}:null}]))};}let _0x3f3cff=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(_0x551385,_0x4ca921,_0x50ccc7,_0x4559b8){const _0x12be5e=_0x68fc2d;super(),this[_0x12be5e(0x201)]=_0x551385,this[_0x12be5e(0x160)]=_0x4ca921,this[_0x12be5e(0x11e)]=_0x50ccc7,this[_0x12be5e(0x163)]=_0x4559b8,_0x2bdaa0(this,_0x12be5e(0x19e),new Set()),_0x2bdaa0(this,_0x12be5e(0x1dd),!0x1),_0x2bdaa0(this,'_isDisposed',!0x1),this['_instanceService'][_0x12be5e(0x1f6)](_0x5ccade[_0x12be5e(0x18b)][_0x12be5e(0x140)])[_0x12be5e(0x182)](_0x9044f1=>this[_0x12be5e(0x163)][_0x12be5e(0x22b)](_0x9044f1)),this[_0x12be5e(0x159)](this['_model']['change$'][_0x12be5e(0x1f3)](({unitId:_0xc2b08c})=>this[_0x12be5e(0x1bb)](_0xc2b08c))),this[_0x12be5e(0x159)](this['_instanceService'][_0x12be5e(0x153)]['subscribe'](({unit:_0x53dce0})=>{const _0x160e47=_0x12be5e;_0x53dce0[_0x160e47(0x158)]===_0x5ccade[_0x160e47(0x18b)][_0x160e47(0x140)]&&this['_queueSync'](_0x53dce0[_0x160e47(0x232)]());})),this[_0x12be5e(0x159)](this[_0x12be5e(0x201)][_0x12be5e(0x1b6)]['subscribe'](_0x33ce3f=>{const _0x5f4b8e=_0x12be5e;this[_0x5f4b8e(0x163)]['unregisterUnit'](_0x33ce3f['getUnitId']());})),this[_0x12be5e(0x159)](this['_commandService'][_0x12be5e(0x191)](_0x319121=>{const _0x383aab=_0x12be5e;if(_0x319121['id']===_0x552610[_0x383aab(0x264)]['id']&&_0x2e9e0a(_0x319121[_0x383aab(0x1ff)])){let _0x3c2dd2=_0x319121[_0x383aab(0x1ff)];_0x3c2dd2[_0x383aab(0x111)]||this['_syncUnit'](_0x3c2dd2['unitId']);}}));}['dispose'](){const _0x5b31ec=_0x68fc2d;this[_0x5b31ec(0x1f8)]=!0x0,super['dispose']();}[_0x68fc2d(0x1e0)](_0x4d3dc5){const _0x224d4a=_0x68fc2d;this[_0x224d4a(0x19e)]['add'](_0x4d3dc5),!this['_syncScheduled']&&(this[_0x224d4a(0x1dd)]=!0x0,queueMicrotask(()=>{const _0x33eaca=_0x224d4a;if(this[_0x33eaca(0x1dd)]=!0x1,this['_isDisposed'])return;let _0x1399ce=Array[_0x33eaca(0x145)](this[_0x33eaca(0x19e)]);this[_0x33eaca(0x19e)][_0x33eaca(0x147)](),_0x1399ce[_0x33eaca(0x182)](_0x2e02e4=>this[_0x33eaca(0x1bb)](_0x2e02e4));}));}[_0x68fc2d(0x1bb)](_0x10e8b4){const _0x362be4=_0x68fc2d;let _0x21d12a=this[_0x362be4(0x201)][_0x362be4(0x154)](_0x10e8b4,_0x5ccade['UniverInstanceType'][_0x362be4(0x140)]);_0x21d12a&&this[_0x362be4(0x163)]['syncUnit'](_0x21d12a);}};_0x3f3cff=_0x3ac92a([_0x112b31(0x0,_0x5ccade[_0x68fc2d(0x16f)]),_0x112b31(0x1,_0x5ccade[_0x68fc2d(0x14d)]),_0x112b31(0x2,(0x0,_0x5ccade['Inject'])(_0x2efa09)),_0x112b31(0x3,(0x0,_0x5ccade['Inject'])(_0x469dc0))],_0x3f3cff);function _0x2e9e0a(_0x4aa062){const _0x4fa6c8=_0x68fc2d;return typeof _0x4aa062==_0x4fa6c8(0x183)&&!!_0x4aa062&&_0x4fa6c8(0x1c9)in _0x4aa062&&typeof _0x4aa062['unitId']=='string'&&(!(_0x4fa6c8(0x111)in _0x4aa062)||_0x4aa062[_0x4fa6c8(0x111)]===void 0x0||typeof _0x4aa062[_0x4fa6c8(0x111)]==_0x4fa6c8(0x1fd));}let _0x318565=class extends _0x5ccade['Disposable']{constructor(_0x21cba4,_0x28e0aa){const _0x4f0e67=_0x68fc2d;super(),this[_0x4f0e67(0x218)]=_0x21cba4,this['_docFormulaModel']=_0x28e0aa,this[_0x4f0e67(0x159)](this[_0x4f0e67(0x218)][_0x4f0e67(0x1ed)]({'pluginName':_0x52ee54,'businesses':[_0x5ccade[_0x4f0e67(0x18b)]['UNIVER_DOC']],'toJson':_0x5e635a=>JSON[_0x4f0e67(0x257)](this[_0x4f0e67(0x149)][_0x4f0e67(0x156)](_0x5e635a)),'parseJson':_0x4d8e03=>JSON[_0x4f0e67(0x165)](_0x4d8e03),'onLoad':(_0x791d4e,_0x56e6b9)=>{const _0x270dc8=_0x4f0e67;this[_0x270dc8(0x149)][_0x270dc8(0x244)](_0x791d4e,_0x56e6b9);},'onUnLoad':_0x382583=>this['_docFormulaModel'][_0x4f0e67(0x216)](_0x382583)}));}};_0x318565=_0x3ac92a([_0x112b31(0x0,_0x5ccade[_0x68fc2d(0x240)]),_0x112b31(0x1,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x2efa09))],_0x318565);var _0x413d92=_0x68fc2d(0x15c),_0x1ad243=_0x68fc2d(0x1a4);let _0x58ab0a={},_0x23102c=class extends _0x5ccade['Disposable']{constructor(_0x401cd8,_0x192113,_0x5c224a){const _0x320573=_0x68fc2d;super(),this[_0x320573(0x126)]=_0x401cd8,this[_0x320573(0x1ca)]=_0x192113,this['disposeWithMe'](_0x5c224a['register']({'resolve':(_0x12a8ae,_0x5e4197)=>{const _0x4d78dc=_0x320573;var _0x198f9c,_0x5aa9fe;return(_0x198f9c=(_0x5aa9fe=_0x5e4197[_0x4d78dc(0x15d)])==null?void 0x0:_0x5aa9fe[_0x4d78dc(0x261)](_0x219bde)[_0x4d78dc(0x125)](_0x351aac=>({'startOffset':_0x351aac[_0x4d78dc(0x13d)],'endOffset':_0x351aac['endIndex']+0x1,'text':this[_0x4d78dc(0x178)](_0x12a8ae,_0x351aac[_0x4d78dc(0x1e2)])})))==null?[]:_0x198f9c;}})),this['disposeWithMe'](this[_0x320573(0x1ca)]['presentationChanged$']['subscribe'](({unitId:_0x28cbdd})=>{const _0x71a639=_0x320573;_0x5c224a[_0x71a639(0x1c2)](_0x28cbdd);}));}[_0x68fc2d(0x178)](_0x1391b2,_0x3a4185){const _0x2b55e2=_0x68fc2d;var _0x16e008,_0x230392;return(_0x16e008=(_0x230392=this[_0x2b55e2(0x1ca)][_0x2b55e2(0x1ae)]({'unitId':_0x1391b2,'rangeId':_0x3a4185}))==null?void 0x0:_0x230392[_0x2b55e2(0x200)])==null?'':_0x16e008;}[_0x68fc2d(0x13f)](_0x53cf81,_0x5c8d46,_0x4f3999){const _0x51d419=_0x68fc2d;var _0x183a4c,_0x3e9695;let _0x23a56e=this[_0x51d419(0x126)][_0x51d419(0x154)](_0x53cf81,_0x5ccade['UniverInstanceType'][_0x51d419(0x140)]),_0x2b43ee=_0x23a56e==null?void 0x0:_0x23a56e[_0x51d419(0x172)]();if(!_0x2b43ee)return'';let _0x5c487f=_0x2b43ee['dataStream'][_0x51d419(0x1b2)](_0x5c8d46,_0x4f3999),_0x2c2771=(_0x183a4c=(_0x3e9695=_0x2b43ee[_0x51d419(0x15d)])==null?void 0x0:_0x3e9695[_0x51d419(0x261)](_0x2ae929=>_0x219bde(_0x2ae929)&&_0x2ae929[_0x51d419(0x13d)]>=_0x5c8d46&&_0x2ae929['endIndex']<_0x4f3999)['sort']((_0x278876,_0x569b44)=>_0x569b44['startIndex']-_0x278876[_0x51d419(0x13d)]))==null?[]:_0x183a4c;for(let _0x2e6648 of _0x2c2771){let _0x2b31d6=_0x2e6648[_0x51d419(0x13d)]-_0x5c8d46,_0x3486b0=_0x2e6648[_0x51d419(0x174)]-_0x5c8d46+0x1;_0x5c487f=''+_0x5c487f[_0x51d419(0x1b2)](0x0,_0x2b31d6)+this[_0x51d419(0x178)](_0x53cf81,_0x2e6648['rangeId'])+_0x5c487f[_0x51d419(0x1b2)](_0x3486b0);}return _0x5c487f;}[_0x68fc2d(0x242)](_0x38f0dd){return _0x28d5c9(_0x38f0dd);}['degradeBody'](_0x55257c,_0x2d699a,_0x5eaad8={}){const _0xd54d03=_0x68fc2d;var _0x5828e8,_0x27708a,_0x2c482d;return(_0x2c482d=_0x1841ad({'id':_0x55257c,'body':_0x2d699a,'documentStyle':{}},((_0x5828e8=(_0x27708a=_0x2d699a['customRanges'])==null?void 0x0:_0x27708a[_0xd54d03(0x261)](_0x219bde))==null?[]:_0x5828e8)[_0xd54d03(0x125)](_0x126b9c=>{const _0x3b548f=_0xd54d03;var _0x4d449a;return{'rangeId':_0x126b9c[_0x3b548f(0x1e2)],'text':(_0x4d449a=_0x5eaad8[_0x126b9c[_0x3b548f(0x1e2)]])==null?this['resolveFormula'](_0x55257c,_0x126b9c[_0x3b548f(0x1e2)]):_0x4d449a};}))[_0xd54d03(0x15e)])==null?{'dataStream':''}:_0x2c482d;}};_0x23102c=_0x3ac92a([_0x112b31(0x0,_0x5ccade[_0x68fc2d(0x16f)]),_0x112b31(0x1,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x469dc0)),_0x112b31(0x2,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x552610[_0x68fc2d(0x1d1)]))],_0x23102c);function _0x28d5c9(_0x24d804){const _0x11c87b=_0x68fc2d;var _0x2f6b4c,_0x107dda,_0x16fe1e;let _0x2364b5=_0x297d92(_0x24d804),_0x4ea787=_0x1841ad(_0x24d804,((_0x2f6b4c=(_0x107dda=_0x24d804[_0x11c87b(0x15e)])==null||(_0x107dda=_0x107dda['customRanges'])==null?void 0x0:_0x107dda[_0x11c87b(0x261)](_0x219bde))==null?[]:_0x2f6b4c)['map'](_0x53d238=>({'rangeId':_0x53d238[_0x11c87b(0x1e2)],'text':_0x4f4a7a(_0x2364b5==null?void 0x0:_0x2364b5['formulas'][_0x53d238[_0x11c87b(0x1e2)]])})));return _0x4ea787[_0x11c87b(0x146)]=(_0x16fe1e=_0x4ea787['resources'])==null?void 0x0:_0x16fe1e[_0x11c87b(0x261)](_0x299f92=>_0x299f92['name']!==_0x52ee54),_0x4ea787;}function _0x297d92(_0x120ea3){const _0x280bcf=_0x68fc2d;var _0x53aa34;let _0x5f57ec=(_0x53aa34=_0x120ea3[_0x280bcf(0x146)])==null||(_0x53aa34=_0x53aa34['find'](_0x2f8124=>_0x2f8124[_0x280bcf(0x203)]===_0x280bcf(0x1cc)))==null?void 0x0:_0x53aa34[_0x280bcf(0x233)];if(_0x5f57ec)try{let _0x3af7bc=JSON[_0x280bcf(0x165)](_0x5f57ec);return _0x4b9e30(_0x3af7bc)?_0x3af7bc:void 0x0;}catch{return;}}function _0x4f4a7a(_0x134721){const _0x167b5d=_0x68fc2d;return _0x134721?(0x0,_0x3c5cf2[_0x167b5d(0x16e)])({'lastValue':_0x134721[_0x167b5d(0x117)],'numberFormat':_0x134721[_0x167b5d(0x176)]})['text']:'';}let _0x41c9c8=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(_0x504e3d,_0x3082fa,_0x552e9b){const _0x151d3c=_0x68fc2d;super(),this[_0x151d3c(0x1ca)]=_0x504e3d,this[_0x151d3c(0x142)]=_0x3082fa,this[_0x151d3c(0x159)](_0x552e9b[_0x151d3c(0x223)](this));}[_0x68fc2d(0x132)](_0xf5e866){const _0x310fac=_0x68fc2d;let _0x2a77e9=new Map();for(let _0x37226d of this[_0x310fac(0x1ca)][_0x310fac(0x14b)]()){var _0x42f503,_0x50af72;if(!this[_0x310fac(0x142)][_0x310fac(0x131)](_0x37226d['config'][_0x310fac(0x1fe)],_0x37226d[_0x310fac(0x1c5)])[_0x310fac(0x21a)])continue;let _0x56fb44=(0x0,_0x3c5cf2['getScalarFormulaResultCell'])(_0x37226d[_0x310fac(0x1c5)]),_0x386f16=_0x56fb44?(0x0,_0x3c5cf2[_0x310fac(0x1ea)])(_0x56fb44):null;if(!_0x386f16||_0x494304(_0x37226d['config']['lastValue'],_0x386f16))continue;let _0x2cf0a3=(_0x42f503=_0x2a77e9['get'](_0x37226d[_0x310fac(0x1a0)]['unitId']))==null?[]:_0x42f503;_0x2cf0a3['push']({'rangeId':_0x37226d[_0x310fac(0x1a0)]['rangeId'],'expectedFormula':_0x37226d['config'][_0x310fac(0x1fe)],'expectedNumberFormat':(_0x50af72=_0x37226d[_0x310fac(0x152)]['numberFormat'])==null?void 0x0:_0x50af72[_0x310fac(0x23a)],'expectedReferenceRevision':_0x37226d['referenceRevision'],'lastValue':_0x386f16}),_0x2a77e9[_0x310fac(0x210)](_0x37226d['identity']['unitId'],_0x2cf0a3);}return Array['from'](_0x2a77e9,([_0x3a673d,_0x216d1d])=>({'id':_0x102d83['id'],'params':{'unitId':_0x3a673d,'updates':_0x216d1d}}));}};_0x41c9c8=_0x3ac92a([_0x112b31(0x0,(0x0,_0x5ccade['Inject'])(_0x469dc0)),_0x112b31(0x1,(0x0,_0x5ccade['Inject'])(_0x3c5cf2[_0x68fc2d(0x20e)])),_0x112b31(0x2,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x3c5cf2[_0x68fc2d(0x248)]))],_0x41c9c8);function _0x494304(_0x40c7a9,_0x52f8be){const _0x193c1b=_0x68fc2d;return(_0x40c7a9==null?void 0x0:_0x40c7a9['v'])===_0x52f8be['v']&&(_0x40c7a9==null?void 0x0:_0x40c7a9['t'])===_0x52f8be['t']&&(_0x40c7a9==null?void 0x0:_0x40c7a9[_0x193c1b(0x23a)])===_0x52f8be['pattern'];}let _0x5c07b3=class extends _0x5ccade[_0x68fc2d(0x17c)]{constructor(_0x1f9b28=_0x58ab0a,_0x3e4554,_0x4e67a4,_0x340e54){const _0x30b38a=_0x68fc2d;super(),this[_0x30b38a(0x251)]=_0x1f9b28,this['_injector']=_0x3e4554,this[_0x30b38a(0x160)]=_0x4e67a4,this[_0x30b38a(0x1f9)]=_0x340e54;let {..._0x2cc8b}=(0x0,_0x5ccade['merge'])({},_0x58ab0a,this['_config']);this[_0x30b38a(0x1f9)][_0x30b38a(0x1af)](_0x30b38a(0x13e),_0x2cc8b);}[_0x68fc2d(0x177)](){const _0x43541e=_0x68fc2d;this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x2efa09]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x469dc0]),this['_injector'][_0x43541e(0x221)]([_0x318565]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x3f3cff]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x41c9c8]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x23102c]),(0x0,_0x5ccade[_0x43541e(0x138)])(this['_injector'],[[_0x2efa09],[_0x318565],[_0x3f3cff],[_0x41c9c8],[_0x23102c]]),[_0x6b1270,_0x51ef55,_0x5c9db3,_0x102d83,_0x2cba8c,_0x590227,_0x1d8eaf,_0x69b1e4,_0x540511,_0x109393][_0x43541e(0x182)](_0x46601a=>this[_0x43541e(0x159)](this[_0x43541e(0x160)][_0x43541e(0x230)](_0x46601a)));}};_0x2bdaa0(_0x5c07b3,_0x68fc2d(0x224),_0x52ee54),_0x2bdaa0(_0x5c07b3,'packageName',_0x413d92),_0x2bdaa0(_0x5c07b3,_0x68fc2d(0x194),_0x1ad243),_0x2bdaa0(_0x5c07b3,_0x68fc2d(0x158),_0x5ccade[_0x68fc2d(0x18b)][_0x68fc2d(0x140)]),_0x5c07b3=_0x3ac92a([(0x0,_0x5ccade[_0x68fc2d(0x236)])(_0x34ed53[_0x68fc2d(0x1a1)],_0x3c5cf2['UniverProFormulaEnginePlugin'],_0x552610[_0x68fc2d(0x148)]),_0x112b31(0x1,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x5ccade[_0x68fc2d(0x1b9)])),_0x112b31(0x2,_0x5ccade['ICommandService']),_0x112b31(0x3,_0x5ccade[_0x68fc2d(0x17a)])],_0x5c07b3),_0x33c4a4[_0x68fc2d(0x263)]=_0x109393,_0x33c4a4[_0x68fc2d(0x123)]=_0x5a43ba,_0x33c4a4[_0x68fc2d(0x1f5)]='',_0x33c4a4[_0x68fc2d(0x1cc)]=_0x52ee54,_0x33c4a4[_0x68fc2d(0x1ab)]=0x1,Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x18a),{'enumerable':!0x0,'get':function(){return _0x23102c;}}),Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x1ad),{'enumerable':!0x0,'get':function(){return _0x3f3cff;}}),_0x33c4a4[_0x68fc2d(0x252)]=_0x2efa09,Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x1df),{'enumerable':!0x0,'get':function(){return _0x318565;}}),_0x33c4a4[_0x68fc2d(0x25a)]=_0x36e998,Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x231),{'enumerable':!0x0,'get':function(){return _0x469dc0;}}),_0x33c4a4[_0x68fc2d(0x188)]=_0x2cba8c,_0x33c4a4['InvalidDocFormulaInsertRangeError']=_0x33e424,_0x33c4a4[_0x68fc2d(0x133)]=_0x69b1e4,_0x33c4a4[_0x68fc2d(0x23e)]=_0x51ef55,_0x33c4a4['ReplaceDocFormulaWithTextCommand']=_0x540511,_0x33c4a4['SetDocFormulaLastValuesMutation']=_0x102d83,_0x33c4a4[_0x68fc2d(0x144)]=_0x6b1270,_0x33c4a4[_0x68fc2d(0x22d)]=_0x1d8eaf,_0x33c4a4[_0x68fc2d(0x139)]=_0x5c9db3,Object[_0x68fc2d(0x115)](_0x33c4a4,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x5c07b3;}}),_0x33c4a4[_0x68fc2d(0x1f0)]=_0x590227,_0x33c4a4['assertSafeDocFormulaInsertRange']=_0x1fdb77,_0x33c4a4['buildInsertDocFormulaActions']=_0x55347d,_0x33c4a4[_0x68fc2d(0x208)]=_0x5114cd,_0x33c4a4['buildUpdateDocFormulaActions']=_0x116721,_0x33c4a4[_0x68fc2d(0x1da)]=_0x249ba4,_0x33c4a4[_0x68fc2d(0x235)]=_0x28d5c9,_0x33c4a4[_0x68fc2d(0x19b)]=_0x2a8744,_0x33c4a4[_0x68fc2d(0x247)]=_0x2fd311,_0x33c4a4[_0x68fc2d(0x15f)]=_0x219bde,_0x33c4a4[_0x68fc2d(0x166)]=_0x4b9e30,_0x33c4a4[_0x68fc2d(0x207)]=_0xa6d1e4;}));function _0x4712(){const _0x4405ef=['config','unitAdded$','getUnit','_resources','serialize','pending','type','disposeWithMe','DataStreamTreeTokenType','assign','@univerjs-pro/docs-formula','customRanges','body','isDocFormulaRange','_commandService','prototype','empty','_service','UniverDocs','parse','isDocFormulaResource','getPresentation','TABLE_CELL_START','resolveHostFormulaExternalReferences','generateRandomId','insert','referenceRevision','DocSelectionManagerService','resolveFormulaResultPresentation','IUniverInstanceService','OtherFormulaBizType','CUSTOM_BLOCK','getBody','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','endIndex','get','numberFormat','onStarting','resolveFormula','getFormulas','IConfigService','tables','Plugin','buildUpsertHostExternalReferenceMutations','undoMutation','max','UniverCore','Inject','forEach','object','kind','44558bsjPJh','TABLE_CELL_END','COLUMN_GROUP_END','InsertDocFormulaCommand','getOwnPropertyDescriptor','DocFormulaDisplayTextService','UniverInstanceType','insertLength','syncExecuteCommand','_registrations','values','docs-formula.command.insert','onCommandExecuted','resource','TABLE_END','version','iterator','docs-formula.command.set-number-format','_injector','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','formulaId','72MPwRUa','findDocFormulaRange','document','UniverProEngineFormula','_pendingUnitIds','Module','identity','UniverLicensePlugin','source','docs-formula.mutation.set-last-values','1.0.0-alpha.8','editOp','cursorOffset','shiftExclusiveRangeOnDelete','expectedReferenceRevision','getFormula','_registrationService','DOC_FORMULA_SCHEMA_VERSION','function','DocFormulaLifecycleController','getResult','setConfig','toStringTag','_preserveInvalid','slice','selection','COLUMN_GROUP_START','isInteger','unitDisposed$','BLOCK_END','documentRedo','Injector','_loadErrors','_syncUnit','resourceUndo','disabled','presentationChanged$','cell','_updateFormulaResult','21CUDvWW','notifyTextChanged','117942wNGDUA','length','liveResult','sectionBreaks','references','paragraphId','unitId','_formulaService','number','DOC_FORMULA_PLUGIN','exports','dataStream','CommandType','accessor','DocTextResolverService','delete','shiftExclusiveRangeOnInsert','JSONX','2253433EjQdBL','change$','updates','unregisterUnit','registerFormulaWithRange','createEmptyDocFormulaResource','call','9azIOZX','_syncScheduled','trim','DocFormulaResourceController','_queueSync','setFormulas','rangeId','getResource','_formulaKeys','11tYWvQn','_setPresentation','customBlocks','includes','endsWith','toFormulaLastValue','TextX','RegisterOtherFormulaService','registerPluginResource','nextDocumentData','endOffset','UpdateDocFormulaCommand','symbol','min','subscribe','_change$','DOC_FORMULA_OBJECT_REPLACEMENT','getAllUnitsForType','ERROR','_isDisposed','_configService','customDecorations','docs-formula.command.remove','FormulaResultStatus','string','formula','params','text','_instanceService','getSnapshot','name','formulaResult$','unsupported-version','retain','isFormulaLastValue','buildRemoveDocFormulaActions','collectFormulaExternalReferenceQualifiers','getParagraphContentStartOffset','deepClone','4FItHxg','status','FormulaCacheEligibilityService','_hostExternalReferenceModel','set','boolean','841465JpzHbc','SUCCESS','previousDocumentData','SECTION_BREAK','removeUnit','expectedFormula','_resourceManagerService','getLoadError','eligible','startOffset','has','getInstance','rxjs','COLUMN_START','some','add','paragraph','registerProvider','pluginName','docs-formula.command.update','@univerjs/core','DOC_SELECTION_OPTION_PRESERVE_CARET','deleteFormula','sort','isArray','syncUnit','_deleteRegistration','SetDocFormulaNumberFormatCommand','columnGroups','amd','registerCommand','DocFormulaService','getUnitId','data','2898712bEZMUl','degradeDocFormulaDocumentData','DependentOn','blockRanges','externalReferences','default','pattern','register','target','55286XdCTaw','RemoveDocFormulaMutation','_rawResources','IResourceManagerService','pushUndoRedo','degradeDocumentData','externalMutations','load','nextResource','properties','isDocFormulaConfig','FormulaLastValuePersistenceService','@univerjs-pro/license','replaceDocRanges','UniverProLicense','Disposable','invalid-resource','find','univer-docs-formula','HostExternalReferenceModel','_config','DocFormulaModel','removeFormula','textRuns','COLUMN_END','next','stringify','_presentationChanged$','BLOCK_START','DocFormulaResultStatus','setResource','asObservable','success','formulas','start','dispose','filter','resolveBinding','ConvertDocFormulaToTextCommand','RichTextEditingMutation','sequenceNodesBuilder','unregister','Tools','segmentId','Subject','CUSTOM','docs-formula.command.convert-to-text','defineProperty','stale','lastValue','399048FfutZa','MUTATION','getCustomRangeInterval','model','deleteLength','error','_model','every','@univerjs/docs','color','fromEntries','DOC_FORMULA_CUSTOM_RANGE_KIND','UniverProDocsFormula','map','_univerInstanceService','constructor','CustomRangeType','TABLE_START','complete','position','getTextRanges','shiftInclusiveRangeOnInsert','decorate','getFormulaValueSync','redoMutation','assess','collectMutations','RemoveDocFormulaCommand','getRevision','docs-formula.mutation.set-resource','COMMAND','600ymjZfC','touchDependencies','SetDocFormulaResourceMutation','documentData','range','previousResource','startIndex','docs-formula.config','resolveText','UNIVER_DOC','presentation','_cacheEligibilityService','keys','SetDocFormulaMutation','from','resources','clear','UniverDocsPlugin','_docFormulaModel','docs-formula.mutation.remove-formula','getRegisteredFormulas','resourceRedo','ICommandService','paragraphs','entries','schemaVersion','trigger'];_0x4712=function(){return _0x4405ef;};return _0x4712();}
|
|
1
|
+
(function(_0x30b7da,_0x2f3875){const _0x288d5a=_0x3f10,_0x5091e2=_0x30b7da();while(!![]){try{const _0x416d24=parseInt(_0x288d5a(0x214))/0x1+parseInt(_0x288d5a(0x1f7))/0x2+-parseInt(_0x288d5a(0x20a))/0x3+parseInt(_0x288d5a(0x1c7))/0x4+parseInt(_0x288d5a(0x2ba))/0x5*(-parseInt(_0x288d5a(0x1fc))/0x6)+-parseInt(_0x288d5a(0x29c))/0x7*(-parseInt(_0x288d5a(0x27f))/0x8)+-parseInt(_0x288d5a(0x190))/0x9;if(_0x416d24===_0x2f3875)break;else _0x5091e2['push'](_0x5091e2['shift']());}catch(_0x552eb7){_0x5091e2['push'](_0x5091e2['shift']());}}}(_0x56e5,0x3c033),function(_0x129f0e,_0x5bf9e7){const _0x5a2ffa=_0x3f10;typeof exports==_0x5a2ffa(0x227)&&typeof module<'u'?_0x5bf9e7(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[_0x5a2ffa(0x1bf)]?define([_0x5a2ffa(0x1ce),_0x5a2ffa(0x2ac),_0x5a2ffa(0x24d),_0x5a2ffa(0x284),_0x5a2ffa(0x19f),_0x5a2ffa(0x26c),_0x5a2ffa(0x1c9)],_0x5bf9e7):(_0x129f0e=typeof globalThis<'u'?globalThis:_0x129f0e||self,_0x5bf9e7(_0x129f0e['UniverProDocsFormula']={},_0x129f0e[_0x5a2ffa(0x253)],_0x129f0e[_0x5a2ffa(0x1f6)],_0x129f0e[_0x5a2ffa(0x2ae)],_0x129f0e[_0x5a2ffa(0x299)],_0x129f0e[_0x5a2ffa(0x26c)],_0x129f0e[_0x5a2ffa(0x243)]));}(this,function(_0x21093e,_0x480561,_0x32657f,_0xcd982f,_0x265414,_0x4187de,_0x58da12){const _0x52bb1c=_0x3f10;Object['defineProperty'](_0x21093e,Symbol[_0x52bb1c(0x2c3)],{'value':_0x52bb1c(0x28b)});let _0x46790f=_0x52bb1c(0x1eb),_0x55ae50=_0x52bb1c(0x249);function _0x40a441(){return{'schemaVersion':0x1,'formulas':{}};}function _0x365aed(_0x2fc9de){const _0x8397ad=_0x52bb1c;return!_0x2fc9de||typeof _0x2fc9de!='object'||!_0x363199(_0x2fc9de,[_0x8397ad(0x2ab),_0x8397ad(0x23c)])||!(_0x8397ad(0x2ab)in _0x2fc9de)||_0x2fc9de['schemaVersion']!==0x1||!(_0x8397ad(0x23c)in _0x2fc9de)||!_0x2fc9de[_0x8397ad(0x23c)]||typeof _0x2fc9de['formulas']!=_0x8397ad(0x227)||Array[_0x8397ad(0x198)](_0x2fc9de[_0x8397ad(0x23c)])?!0x1:Object[_0x8397ad(0x1a1)](_0x2fc9de[_0x8397ad(0x23c)])[_0x8397ad(0x27d)](([_0x3f121c,_0x1807ef])=>_0x3f121c[_0x8397ad(0x189)]>0x0&&_0x451e15(_0x1807ef));}function _0x451e15(_0x3f7f1e){const _0x5ddc9a=_0x52bb1c;return!_0x3f7f1e||typeof _0x3f7f1e!='object'||!_0x363199(_0x3f7f1e,['formula',_0x5ddc9a(0x212),_0x5ddc9a(0x1ee)])||!(_0x5ddc9a(0x28d)in _0x3f7f1e)||typeof _0x3f7f1e['formula']!='string'||!_0x3f7f1e['formula'][_0x5ddc9a(0x1ab)]()||_0x5ddc9a(0x212)in _0x3f7f1e&&_0x3f7f1e[_0x5ddc9a(0x212)]!=null&&(typeof _0x3f7f1e[_0x5ddc9a(0x212)]!='object'||!_0x363199(_0x3f7f1e['numberFormat'],[_0x5ddc9a(0x28f)])||!(_0x5ddc9a(0x28f)in _0x3f7f1e[_0x5ddc9a(0x212)])||typeof _0x3f7f1e[_0x5ddc9a(0x212)][_0x5ddc9a(0x28f)]!='string')?!0x1:!(_0x5ddc9a(0x1ee)in _0x3f7f1e)||_0x3f7f1e[_0x5ddc9a(0x1ee)]==null||_0x46e15a(_0x3f7f1e[_0x5ddc9a(0x1ee)]);}function _0x46e15a(_0x107c18){const _0x4fc62e=_0x52bb1c;return!_0x107c18||typeof _0x107c18!='object'||!_0x363199(_0x107c18,['v','t',_0x4fc62e(0x28f)])||!('v'in _0x107c18)||_0x107c18['v']!==null&&typeof _0x107c18['v']!='string'&&typeof _0x107c18['v']!=_0x4fc62e(0x242)&&typeof _0x107c18['v']!=_0x4fc62e(0x245)||'t'in _0x107c18&&_0x107c18['t']!=null&&!_0x305e1f(_0x107c18['t'])?!0x1:!(_0x4fc62e(0x28f)in _0x107c18)||_0x107c18['pattern']==null||typeof _0x107c18['pattern']=='string';}function _0x363199(_0x4b1ab9,_0x4a832f){const _0x4b20e2=_0x52bb1c;let _0x14822a=new Set(_0x4a832f);return Object[_0x4b20e2(0x29b)](_0x4b1ab9)[_0x4b20e2(0x27d)](_0x50228b=>_0x14822a[_0x4b20e2(0x2bb)](_0x50228b));}function _0x305e1f(_0x944611){const _0x7b179=_0x52bb1c;return typeof _0x944611==_0x7b179(0x242)&&Object[_0x7b179(0x255)](_0x32657f[_0x7b179(0x19d)])[_0x7b179(0x206)](_0x944611);}let _0x36c88e=new Set([_0x32657f[_0x52bb1c(0x187)]['SECTION_BREAK'],_0x32657f[_0x52bb1c(0x187)]['TABLE_START'],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x28a)],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x2a9)],_0x32657f['DataStreamTreeTokenType'][_0x52bb1c(0x208)],_0x32657f['DataStreamTreeTokenType'][_0x52bb1c(0x241)],_0x32657f['DataStreamTreeTokenType'][_0x52bb1c(0x1e5)],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x2a6)],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x28c)],_0x32657f[_0x52bb1c(0x187)]['COLUMN_END'],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x257)],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x27a)],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x1a7)],_0x32657f[_0x52bb1c(0x187)][_0x52bb1c(0x188)]]);var _0x5034f5=class extends Error{constructor(){const _0x2258a8=_0x52bb1c;super(_0x2258a8(0x256));}};function _0x512cee(_0x7fdd68){const _0x4b95f5=_0x52bb1c;var _0x45e35b,_0x367e00;let _0x2a74bc=_0x32657f[_0x4b95f5(0x1ff)][_0x4b95f5(0x1c8)](_0x7fdd68[_0x4b95f5(0x1c1)]),_0x32755d=_0x3e37b8(_0x2a74bc),{startOffset:_0x38e972,endOffset:_0x2a67b9}=_0x212ec0(_0x32755d,_0x7fdd68[_0x4b95f5(0x19e)],_0x7fdd68[_0x4b95f5(0x258)]);_0x36e707(_0x32755d,_0x38e972,_0x2a67b9);let _0x438ce3=((_0x45e35b=_0x32755d[_0x4b95f5(0x1f1)])==null?void 0x0:_0x45e35b[_0x4b95f5(0x1ec)](_0x1efe97=>{const _0x314c2=_0x4b95f5;if(!_0x4ba9ca(_0x1efe97))return!0x1;let _0x1934fe=(0x0,_0x32657f[_0x314c2(0x25a)])(_0x1efe97);return _0x1934fe[_0x314c2(0x258)]>_0x38e972&&_0x1934fe[_0x314c2(0x19e)]<_0x2a67b9;})[_0x4b95f5(0x264)](_0x1dd1c7=>_0x1dd1c7[_0x4b95f5(0x261)]))??[];_0x1d40d3(_0x32755d,_0x38e972,_0x2a67b9,''),_0x32755d[_0x4b95f5(0x1f1)]=[...((_0x367e00=_0x32755d[_0x4b95f5(0x1f1)])==null?void 0x0:_0x367e00[_0x4b95f5(0x1ec)](_0x4cb9a6=>!_0x438ce3[_0x4b95f5(0x206)](_0x4cb9a6[_0x4b95f5(0x261)])&&_0x4cb9a6['rangeId']!==_0x7fdd68[_0x4b95f5(0x261)]))??[],_0x3578c0(_0x7fdd68[_0x4b95f5(0x261)],_0x38e972)][_0x4b95f5(0x275)]((_0x4ff75e,_0x48ad43)=>_0x4ff75e[_0x4b95f5(0x27e)]-_0x48ad43['startIndex']);let _0x255ff2=_0x4c4db5(_0x7fdd68[_0x4b95f5(0x286)]);return _0x438ce3[_0x4b95f5(0x23d)](_0x1a5ea8=>{const _0x9b67a5=_0x4b95f5;delete _0x255ff2[_0x9b67a5(0x23c)][_0x1a5ea8];}),_0x255ff2['formulas'][_0x7fdd68[_0x4b95f5(0x261)]]=_0x32657f[_0x4b95f5(0x1ff)]['deepClone'](_0x7fdd68[_0x4b95f5(0x2b4)]),{'nextDocumentData':_0x2a74bc,'nextResource':_0x255ff2,'cursorOffset':_0x38e972+0x1};}function _0x35033b(_0x2b222a){const _0x52a944=_0x52bb1c;var _0x3f93f4,_0xda9d5b;let _0x27e85f=_0x32657f[_0x52a944(0x1ff)][_0x52a944(0x1c8)](_0x2b222a[_0x52a944(0x1c1)]),_0x524d71=(_0x3f93f4=_0x3e37b8(_0x27e85f)[_0x52a944(0x1f1)])==null?void 0x0:_0x3f93f4[_0x52a944(0x182)](_0x2b33f3=>_0x2b33f3[_0x52a944(0x261)]===_0x2b222a[_0x52a944(0x261)]&&_0x4ba9ca(_0x2b33f3));if(!_0x524d71||!((_0xda9d5b=_0x2b222a['resource'])!=null&&_0xda9d5b['formulas'][_0x2b222a[_0x52a944(0x261)]]))return null;let _0x47b25f=_0x4c4db5(_0x2b222a[_0x52a944(0x286)]);return _0x47b25f['formulas'][_0x2b222a[_0x52a944(0x261)]]=_0x32657f['Tools'][_0x52a944(0x1c8)](_0x2b222a[_0x52a944(0x2b4)]),{'nextDocumentData':_0x27e85f,'nextResource':_0x47b25f,'cursorOffset':_0x524d71['endIndex']+0x1};}function _0x36e57e(_0x5ae0f8){const _0x5a51e0=_0x52bb1c;let _0x218439=_0x32657f['Tools'][_0x5a51e0(0x1c8)](_0x5ae0f8[_0x5a51e0(0x1c1)]),_0x3b96bf=_0x3d61e0(_0x218439,_0x5ae0f8[_0x5a51e0(0x261)],_0x5ae0f8[_0x5a51e0(0x179)]??'');if(_0x3b96bf==null)return null;let _0x10e0a0=_0x4c4db5(_0x5ae0f8[_0x5a51e0(0x286)]);return delete _0x10e0a0['formulas'][_0x5ae0f8[_0x5a51e0(0x261)]],{'nextDocumentData':_0x218439,'nextResource':_0x10e0a0,'cursorOffset':_0x3b96bf};}function _0x4c0c7d(_0x4476cc,_0x8eb592){const _0x372277=_0x52bb1c;var _0x2c8ef4;let _0x24e262=_0x32657f[_0x372277(0x1ff)][_0x372277(0x1c8)](_0x4476cc),_0x236b4d=_0x24e262[_0x372277(0x21e)];if(!_0x236b4d)return _0x24e262;let _0x48ca50=new Map(_0x8eb592[_0x372277(0x264)](_0x5e3782=>[_0x5e3782[_0x372277(0x261)],_0x5e3782['text']])),_0x826f9c=((_0x2c8ef4=_0x236b4d[_0x372277(0x1f1)])==null?void 0x0:_0x2c8ef4[_0x372277(0x1ec)](_0x45413e=>_0x4ba9ca(_0x45413e)&&_0x48ca50[_0x372277(0x2bb)](_0x45413e[_0x372277(0x261)]))[_0x372277(0x275)]((_0x492a4a,_0x5ea414)=>_0x5ea414['startIndex']-_0x492a4a[_0x372277(0x27e)]))??[];for(let _0x2750d3 of _0x826f9c)_0x3d61e0(_0x24e262,_0x2750d3[_0x372277(0x261)],_0x48ca50[_0x372277(0x2aa)](_0x2750d3[_0x372277(0x261)])??'');return _0x24e262;}function _0x4ba9ca(_0x2cc31d){const _0x59b19a=_0x52bb1c;var _0x484676;return(_0x2cc31d==null?void 0x0:_0x2cc31d['rangeType'])===_0x32657f['CustomRangeType']['CUSTOM']&&_0x2cc31d['wholeEntity']===!0x0&&((_0x484676=_0x2cc31d[_0x59b19a(0x2a3)])==null?void 0x0:_0x484676[_0x59b19a(0x298)])===_0x59b19a(0x249);}function _0x271abe(_0xa621a3,_0x2ec631){const _0x52bd06=_0x52bb1c;var _0x64581f;return _0xa621a3==null||(_0x64581f=_0xa621a3[_0x52bd06(0x1f1)])==null?void 0x0:_0x64581f[_0x52bd06(0x182)](_0x3620e6=>_0x3620e6[_0x52bd06(0x261)]===_0x2ec631&&_0x4ba9ca(_0x3620e6));}function _0x36e707(_0x2b7db4,_0x562b6a,_0x1be395){const _0x502aee=_0x52bb1c;if(_0x562b6a===_0x1be395){if(_0x36c88e[_0x502aee(0x2bb)](_0x2b7db4[_0x502aee(0x265)][_0x562b6a]))throw new _0x5034f5();return;}for(let _0x49a4fa=_0x562b6a;_0x49a4fa<_0x1be395;_0x49a4fa++)if(_0x2b7db4['dataStream'][_0x49a4fa]===_0x32657f[_0x502aee(0x187)]['PARAGRAPH']||_0x36c88e[_0x502aee(0x2bb)](_0x2b7db4[_0x502aee(0x265)][_0x49a4fa]))throw new _0x5034f5();}function _0x3578c0(_0x9badae,_0x1959fe){const _0x43a4c5=_0x52bb1c;return{'startIndex':_0x1959fe,'endIndex':_0x1959fe,'rangeId':_0x9badae,'rangeType':_0x32657f[_0x43a4c5(0x184)][_0x43a4c5(0x22d)],'wholeEntity':!0x0,'properties':{'kind':_0x55ae50}};}function _0x4c4db5(_0x55cd9e){const _0xcf1ce8=_0x52bb1c;return _0x55cd9e?_0x32657f[_0xcf1ce8(0x1ff)][_0xcf1ce8(0x1c8)](_0x55cd9e):_0x40a441();}function _0x212ec0(_0x5a16da,_0x946c69,_0x5aa11d){let _0x2e56ba=_0x510490(_0x5a16da),_0x4f5c10=_0x946c69??_0x2e56ba,_0x48dfa1=_0x5aa11d??_0x4f5c10;return{'startOffset':_0x2da6b4(Math['min'](_0x4f5c10,_0x48dfa1),_0x2e56ba),'endOffset':_0x2da6b4(Math['max'](_0x4f5c10,_0x48dfa1),_0x2e56ba)};}function _0x2da6b4(_0x2a2d94,_0x28402a){const _0x3cb1d8=_0x52bb1c;return Math[_0x3cb1d8(0x251)](0x0,Math['min'](_0x2a2d94,_0x28402a));}function _0x510490(_0x186060){const _0x33c2e2=_0x52bb1c;return _0x186060['dataStream'][_0x33c2e2(0x21b)](''+_0x32657f[_0x33c2e2(0x187)][_0x33c2e2(0x2b3)]+_0x32657f[_0x33c2e2(0x187)]['SECTION_BREAK'])?Math['max'](0x0,_0x186060['dataStream']['length']-0x2):_0x186060['dataStream'][_0x33c2e2(0x21b)](_0x32657f['DataStreamTreeTokenType']['SECTION_BREAK'])?Math[_0x33c2e2(0x251)](0x0,_0x186060[_0x33c2e2(0x265)][_0x33c2e2(0x189)]-0x1):_0x186060[_0x33c2e2(0x265)]['length'];}function _0x1d40d3(_0x1c89d5,_0x313eff,_0x556af0,_0x4c2ee1){_0x556af0>_0x313eff&&_0xa6ee46(_0x1c89d5,_0x313eff,_0x556af0),_0x1b88a2(_0x1c89d5,_0x313eff,_0x4c2ee1);}function _0x3d61e0(_0xc08f47,_0x213bbc,_0x30215c){const _0x131d63=_0x52bb1c;var _0x39a57d,_0x4dcda2;let _0x5c7dc5=_0x3e37b8(_0xc08f47),_0xee9d62=(_0x39a57d=_0x5c7dc5['customRanges'])==null?void 0x0:_0x39a57d[_0x131d63(0x182)](_0x3c6892=>_0x3c6892[_0x131d63(0x261)]===_0x213bbc&&_0x4ba9ca(_0x3c6892));if(!_0xee9d62)return null;let _0x3debaa=(0x0,_0x32657f[_0x131d63(0x25a)])(_0xee9d62);return _0x1d40d3(_0x5c7dc5,_0x3debaa[_0x131d63(0x19e)],_0x3debaa[_0x131d63(0x258)],_0x30215c),_0x5c7dc5[_0x131d63(0x1f1)]=(_0x4dcda2=_0x5c7dc5[_0x131d63(0x1f1)])==null?void 0x0:_0x4dcda2[_0x131d63(0x1ec)](_0x1fb3a0=>_0x1fb3a0[_0x131d63(0x261)]!==_0x213bbc),_0x3debaa['startOffset']+_0x30215c['length'];}function _0x1b88a2(_0x15d4d1,_0x3d9a27,_0x218d98){const _0x65e9df=_0x52bb1c;_0x218d98&&(_0x15d4d1[_0x65e9df(0x265)]=''+_0x15d4d1[_0x65e9df(0x265)]['slice'](0x0,_0x3d9a27)+_0x218d98+_0x15d4d1[_0x65e9df(0x265)][_0x65e9df(0x2a7)](_0x3d9a27),_0x3bed6e(_0x15d4d1,_0x3d9a27,_0x218d98[_0x65e9df(0x189)]));}function _0xa6ee46(_0x30573e,_0x4dae4d,_0x4c0b22){const _0x5204ee=_0x52bb1c;let _0x54693b=_0x4c0b22-_0x4dae4d;_0x30573e['dataStream']=''+_0x30573e[_0x5204ee(0x265)][_0x5204ee(0x2a7)](0x0,_0x4dae4d)+_0x30573e[_0x5204ee(0x265)][_0x5204ee(0x2a7)](_0x4c0b22),_0x3255c2(_0x30573e,_0x4dae4d,_0x54693b);}function _0x3bed6e(_0x4250e1,_0xd1f986,_0x47599f){const _0xe00f78=_0x52bb1c;_0x4250e1[_0xe00f78(0x220)]=_0x1d4634(_0x4250e1[_0xe00f78(0x220)],_0xd1f986,_0x47599f),_0x4250e1[_0xe00f78(0x1cc)]=_0x1d4634(_0x4250e1['sectionBreaks'],_0xd1f986,_0x47599f),_0x4250e1[_0xe00f78(0x22f)]=_0x1d4634(_0x4250e1[_0xe00f78(0x22f)],_0xd1f986,_0x47599f),_0x4250e1[_0xe00f78(0x191)]=_0x3e981e(_0x4250e1[_0xe00f78(0x191)],_0xd1f986,_0x47599f),_0x4250e1[_0xe00f78(0x273)]=_0x41d0d9(_0x4250e1[_0xe00f78(0x273)],_0xd1f986,_0x47599f),_0x4250e1[_0xe00f78(0x25f)]=_0x5f48de(_0x4250e1['columnGroups'],_0xd1f986,_0x47599f),_0x4250e1[_0xe00f78(0x1f1)]=_0x5f48de(_0x4250e1[_0xe00f78(0x1f1)],_0xd1f986,_0x47599f),_0x4250e1['customDecorations']=_0x5f48de(_0x4250e1[_0xe00f78(0x1a9)],_0xd1f986,_0x47599f),_0x4250e1['blockRanges']=_0x5f48de(_0x4250e1[_0xe00f78(0x1de)],_0xd1f986,_0x47599f);}function _0x3255c2(_0x3f3b57,_0x2ea6c3,_0x43f492){const _0x2ad340=_0x52bb1c;var _0x44ac9e,_0x2749a6;_0x3f3b57[_0x2ad340(0x220)]=_0x182413(_0x3f3b57[_0x2ad340(0x220)],_0x2ea6c3,_0x43f492),_0x3f3b57[_0x2ad340(0x1cc)]=_0x182413(_0x3f3b57[_0x2ad340(0x1cc)],_0x2ea6c3,_0x43f492),_0x3f3b57[_0x2ad340(0x22f)]=_0x182413(_0x3f3b57[_0x2ad340(0x22f)],_0x2ea6c3,_0x43f492),_0x3f3b57['textRuns']=(_0x44ac9e=_0x43d5dc((_0x2749a6=_0x3f3b57[_0x2ad340(0x191)])==null?void 0x0:_0x2749a6[_0x2ad340(0x264)](_0x373c8c=>({..._0x373c8c,'startIndex':_0x373c8c['st'],'endIndex':_0x373c8c['ed']})),_0x2ea6c3,_0x43f492))==null?void 0x0:_0x44ac9e[_0x2ad340(0x264)](_0x403d9f=>{let {startIndex:_0x1d4d63,endIndex:_0x907160,..._0x5e396c}=_0x403d9f;return{..._0x5e396c,'st':_0x1d4d63,'ed':_0x907160};}),_0x3f3b57['tables']=_0x43d5dc(_0x3f3b57['tables'],_0x2ea6c3,_0x43f492),_0x3f3b57[_0x2ad340(0x25f)]=_0x3a3940(_0x3f3b57['columnGroups'],_0x2ea6c3,_0x43f492),_0x3f3b57[_0x2ad340(0x1f1)]=_0x3a3940(_0x3f3b57[_0x2ad340(0x1f1)],_0x2ea6c3,_0x43f492),_0x3f3b57[_0x2ad340(0x1a9)]=_0x3a3940(_0x3f3b57['customDecorations'],_0x2ea6c3,_0x43f492),_0x3f3b57[_0x2ad340(0x1de)]=_0x3a3940(_0x3f3b57['blockRanges'],_0x2ea6c3,_0x43f492);}function _0x1d4634(_0x31841e,_0x4c9716,_0x15aa51){const _0x369a78=_0x52bb1c;return _0x31841e==null?void 0x0:_0x31841e[_0x369a78(0x264)](_0x5abe19=>_0x5abe19[_0x369a78(0x27e)]>=_0x4c9716?{..._0x5abe19,'startIndex':_0x5abe19[_0x369a78(0x27e)]+_0x15aa51}:_0x5abe19);}function _0x182413(_0x3154c6,_0x930892,_0x164007){const _0x287741=_0x52bb1c;let _0x5189a5=_0x930892+_0x164007;return _0x3154c6==null?void 0x0:_0x3154c6[_0x287741(0x264)](_0x5ff979=>_0x5ff979['startIndex']>=_0x930892&&_0x5ff979[_0x287741(0x27e)]<_0x5189a5?null:_0x5ff979[_0x287741(0x27e)]>=_0x5189a5?{..._0x5ff979,'startIndex':_0x5ff979['startIndex']-_0x164007}:_0x5ff979)[_0x287741(0x1ec)](_0x400530=>_0x400530!=null);}function _0x3e981e(_0x271484,_0x249b1d,_0xe185c9){const _0x2365a9=_0x52bb1c;return _0x271484==null?void 0x0:_0x271484[_0x2365a9(0x264)](_0x4c95c1=>_0x4c95c1['st']>=_0x249b1d?{..._0x4c95c1,'st':_0x4c95c1['st']+_0xe185c9,'ed':_0x4c95c1['ed']+_0xe185c9}:_0x4c95c1['ed']>_0x249b1d?{..._0x4c95c1,'ed':_0x4c95c1['ed']+_0xe185c9}:_0x4c95c1);}function _0x5f48de(_0x5158fc,_0x5371c1,_0x16994d){const _0x556f41=_0x52bb1c;return _0x5158fc==null?void 0x0:_0x5158fc[_0x556f41(0x264)](_0x266f15=>(0x0,_0x32657f[_0x556f41(0x21d)])(_0x266f15,_0x5371c1,_0x16994d));}function _0x41d0d9(_0x42b86c,_0x2f47a4,_0x4d5e65){const _0x56d398=_0x52bb1c;return _0x42b86c==null?void 0x0:_0x42b86c[_0x56d398(0x264)](_0x2315db=>(0x0,_0x32657f[_0x56d398(0x1ba)])(_0x2315db,_0x2f47a4,_0x4d5e65));}function _0x3a3940(_0x2b1586,_0x259453,_0xdf027a){const _0x358c3a=_0x52bb1c;return _0x2b1586==null?void 0x0:_0x2b1586[_0x358c3a(0x264)](_0x1262fd=>(0x0,_0x32657f[_0x358c3a(0x235)])(_0x1262fd,_0x259453,_0xdf027a))['filter'](_0x4cc0b2=>_0x4cc0b2!=null);}function _0x43d5dc(_0x4d00f9,_0x2fc418,_0xc12799){const _0x51e5f7=_0x52bb1c;return _0x4d00f9==null?void 0x0:_0x4d00f9[_0x51e5f7(0x264)](_0x3c0014=>(0x0,_0x32657f[_0x51e5f7(0x29e)])(_0x3c0014,_0x2fc418,_0xc12799))[_0x51e5f7(0x1ec)](_0x151733=>_0x151733!=null);}function _0x3e37b8(_0x47bd9d){const _0x4c60da=_0x52bb1c;if(!_0x47bd9d[_0x4c60da(0x21e)])throw Error(_0x4c60da(0x1ad));return _0x47bd9d[_0x4c60da(0x21e)];}function _0x118ee0(_0x26e41c){'@babel/helpers - typeof';const _0x4ac2ab=_0x52bb1c;return _0x118ee0=typeof Symbol==_0x4ac2ab(0x2b1)&&typeof Symbol[_0x4ac2ab(0x1fa)]==_0x4ac2ab(0x199)?function(_0x4b4f3c){return typeof _0x4b4f3c;}:function(_0xe30580){const _0xc2749c=_0x4ac2ab;return _0xe30580&&typeof Symbol==_0xc2749c(0x2b1)&&_0xe30580[_0xc2749c(0x26e)]===Symbol&&_0xe30580!==Symbol[_0xc2749c(0x2bc)]?_0xc2749c(0x199):typeof _0xe30580;},_0x118ee0(_0x26e41c);}function _0x591753(_0x2f5418,_0x598646){const _0x43c25b=_0x52bb1c;if(_0x118ee0(_0x2f5418)!='object'||!_0x2f5418)return _0x2f5418;var _0x50219a=_0x2f5418[Symbol[_0x43c25b(0x203)]];if(_0x50219a!==void 0x0){var _0x4f5772=_0x50219a[_0x43c25b(0x216)](_0x2f5418,_0x598646||'default');if(_0x118ee0(_0x4f5772)!=_0x43c25b(0x227))return _0x4f5772;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x598646===_0x43c25b(0x236)?String:Number)(_0x2f5418);}function _0x595226(_0x482427){const _0x45c6b7=_0x52bb1c;var _0x344946=_0x591753(_0x482427,_0x45c6b7(0x236));return _0x118ee0(_0x344946)==_0x45c6b7(0x199)?_0x344946:_0x344946+'';}function _0x1bc6a5(_0x166c73,_0x362257,_0x938fa1){const _0x1c811d=_0x52bb1c;return(_0x362257=_0x595226(_0x362257))in _0x166c73?Object[_0x1c811d(0x226)](_0x166c73,_0x362257,{'value':_0x938fa1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x166c73[_0x362257]=_0x938fa1,_0x166c73;}var _0x3284cf=class extends _0x32657f[_0x52bb1c(0x279)]{constructor(..._0x5bfb54){const _0x27dba6=_0x52bb1c;super(..._0x5bfb54),_0x1bc6a5(this,'_resources',new Map()),_0x1bc6a5(this,_0x27dba6(0x1fb),new Map()),_0x1bc6a5(this,_0x27dba6(0x222),new Map()),_0x1bc6a5(this,_0x27dba6(0x21c),new _0x4187de['Subject']()),_0x1bc6a5(this,_0x27dba6(0x1fd),this[_0x27dba6(0x21c)][_0x27dba6(0x1a4)]());}['getFormula'](_0x2db38f,_0x543709){const _0x1d5bb4=_0x52bb1c;var _0x1c80ad;let _0x161b8f=(_0x1c80ad=this[_0x1d5bb4(0x1ed)][_0x1d5bb4(0x2aa)](_0x2db38f))==null?void 0x0:_0x1c80ad[_0x1d5bb4(0x23c)][_0x543709];return _0x161b8f?_0x32657f[_0x1d5bb4(0x1ff)][_0x1d5bb4(0x1c8)](_0x161b8f):void 0x0;}[_0x52bb1c(0x1c4)](_0x3ab3cd){const _0x5a1981=_0x52bb1c;var _0x4caedc;return _0x32657f['Tools'][_0x5a1981(0x1c8)](((_0x4caedc=this[_0x5a1981(0x1ed)][_0x5a1981(0x2aa)](_0x3ab3cd))==null?void 0x0:_0x4caedc[_0x5a1981(0x23c)])??{});}[_0x52bb1c(0x2c9)](_0x4b68a2){const _0x5c1981=_0x52bb1c;let _0x443b5c=this[_0x5c1981(0x1ed)][_0x5c1981(0x2aa)](_0x4b68a2);return _0x443b5c?_0x32657f[_0x5c1981(0x1ff)][_0x5c1981(0x1c8)](_0x443b5c):void 0x0;}[_0x52bb1c(0x218)](_0x2f5738,_0xf54403,_0x44000d){const _0x2f814d=_0x52bb1c;return this[_0x2f814d(0x1e4)](_0x2f5738,{[_0xf54403]:_0x44000d});}['setResource'](_0x4ba7cc,_0x8626f6){const _0x56bcef=_0x52bb1c;return this[_0x56bcef(0x222)]['has'](_0x4ba7cc)||!_0x365aed(_0x8626f6)?!0x1:(this[_0x56bcef(0x1ed)]['set'](_0x4ba7cc,_0x32657f[_0x56bcef(0x1ff)]['deepClone'](_0x8626f6)),this[_0x56bcef(0x21c)][_0x56bcef(0x2c5)]({'unitId':_0x4ba7cc}),!0x0);}[_0x52bb1c(0x1e4)](_0x4afa36,_0x467be1){const _0x3916f2=_0x52bb1c;if(this[_0x3916f2(0x222)][_0x3916f2(0x2bb)](_0x4afa36)||!Object[_0x3916f2(0x29b)](_0x467be1)[_0x3916f2(0x189)]||!_0x365aed({'schemaVersion':0x1,'formulas':_0x467be1}))return!0x1;let _0x20f23f=this[_0x3916f2(0x1ed)][_0x3916f2(0x2aa)](_0x4afa36)??_0x40a441(),_0x52d1c9=_0x32657f[_0x3916f2(0x1ff)][_0x3916f2(0x1c8)](_0x20f23f);return Object[_0x3916f2(0x247)](_0x52d1c9[_0x3916f2(0x23c)],_0x32657f[_0x3916f2(0x1ff)][_0x3916f2(0x1c8)](_0x467be1)),this[_0x3916f2(0x1ed)][_0x3916f2(0x1d1)](_0x4afa36,_0x52d1c9),this[_0x3916f2(0x21c)][_0x3916f2(0x2c5)]({'unitId':_0x4afa36,'rangeIds':Object[_0x3916f2(0x29b)](_0x467be1)}),!0x0;}[_0x52bb1c(0x26f)](_0xc07a9c,_0x91ca87){const _0x15b2ee=_0x52bb1c;if(this[_0x15b2ee(0x222)]['has'](_0xc07a9c))return!0x1;let _0x118041=this[_0x15b2ee(0x1ed)][_0x15b2ee(0x2aa)](_0xc07a9c);if(!(_0x118041!=null&&_0x118041[_0x15b2ee(0x23c)][_0x91ca87]))return!0x1;let _0x11e5e0=_0x32657f['Tools']['deepClone'](_0x118041);return delete _0x11e5e0[_0x15b2ee(0x23c)][_0x91ca87],this[_0x15b2ee(0x1ed)][_0x15b2ee(0x1d1)](_0xc07a9c,_0x11e5e0),this['_change$']['next']({'unitId':_0xc07a9c,'rangeIds':[_0x91ca87]}),!0x0;}[_0x52bb1c(0x210)](_0x5e6498,_0x44ba27){const _0x29158f=_0x52bb1c;return _0x44ba27&&typeof _0x44ba27=='object'&&_0x29158f(0x2ab)in _0x44ba27&&_0x44ba27['schemaVersion']!==0x1?(this[_0x29158f(0x2a2)](_0x5e6498,_0x44ba27,_0x29158f(0x211)),!0x1):_0x365aed(_0x44ba27)?(this[_0x29158f(0x1ed)][_0x29158f(0x1d1)](_0x5e6498,_0x32657f[_0x29158f(0x1ff)][_0x29158f(0x1c8)](_0x44ba27)),this[_0x29158f(0x1fb)]['delete'](_0x5e6498),this[_0x29158f(0x222)][_0x29158f(0x2c4)](_0x5e6498),this[_0x29158f(0x21c)]['next']({'unitId':_0x5e6498}),!0x0):(this[_0x29158f(0x2a2)](_0x5e6498,_0x44ba27,'invalid-resource'),!0x1);}[_0x52bb1c(0x1d6)](_0x430cfa){const _0x260d9c=_0x52bb1c;let _0xe3e353=this['_resources'][_0x260d9c(0x2aa)](_0x430cfa);return _0xe3e353?_0x32657f[_0x260d9c(0x1ff)]['deepClone'](_0xe3e353):this['_rawResources']['has'](_0x430cfa)?_0x32657f[_0x260d9c(0x1ff)][_0x260d9c(0x1c8)](this['_rawResources'][_0x260d9c(0x2aa)](_0x430cfa)):_0x40a441();}[_0x52bb1c(0x2cb)](_0x175b86){return this['_loadErrors']['get'](_0x175b86);}['removeUnit'](_0x4bf917){const _0x5e590d=_0x52bb1c;this[_0x5e590d(0x1ed)][_0x5e590d(0x2c4)](_0x4bf917),this[_0x5e590d(0x1fb)]['delete'](_0x4bf917),this[_0x5e590d(0x222)][_0x5e590d(0x2c4)](_0x4bf917),this['_change$'][_0x5e590d(0x2c5)]({'unitId':_0x4bf917});}['dispose'](){const _0x318daa=_0x52bb1c;this[_0x318daa(0x1ed)]['clear'](),this[_0x318daa(0x1fb)][_0x318daa(0x1ca)](),this[_0x318daa(0x222)]['clear'](),this['_change$'][_0x318daa(0x20b)](),super[_0x318daa(0x263)]();}['_preserveInvalid'](_0x1eca37,_0x2a31b7,_0x5876eb){const _0x5c1151=_0x52bb1c;this['_resources'][_0x5c1151(0x2c4)](_0x1eca37),this[_0x5c1151(0x1fb)][_0x5c1151(0x1d1)](_0x1eca37,_0x32657f[_0x5c1151(0x1ff)][_0x5c1151(0x1c8)](_0x2a31b7)),this[_0x5c1151(0x222)][_0x5c1151(0x1d1)](_0x1eca37,_0x5876eb),this[_0x5c1151(0x21c)][_0x5c1151(0x2c5)]({'unitId':_0x1eca37});}};let _0x32ef10=function(_0x5540bb){const _0x5682b5=_0x52bb1c;return _0x5540bb[_0x5682b5(0x1e8)]=_0x5682b5(0x19a),_0x5540bb['PENDING']=_0x5682b5(0x238),_0x5540bb[_0x5682b5(0x25b)]=_0x5682b5(0x1cf),_0x5540bb[_0x5682b5(0x2be)]=_0x5682b5(0x209),_0x5540bb;}({});function _0x3ed90f(_0x3213a5,_0x2205a2){return function(_0x19e947,_0x5c74e4){_0x2205a2(_0x19e947,_0x5c74e4,_0x3213a5);};}function _0x4e9cbe(_0x514a0a,_0x382a16,_0x6be01a,_0x1e35ee){const _0x3dad5e=_0x52bb1c;var _0x439c53=arguments[_0x3dad5e(0x189)],_0x38e89f=_0x439c53<0x3?_0x382a16:_0x1e35ee===null?_0x1e35ee=Object[_0x3dad5e(0x23f)](_0x382a16,_0x6be01a):_0x1e35ee,_0x274faf;if(typeof Reflect=='object'&&typeof Reflect[_0x3dad5e(0x237)]=='function')_0x38e89f=Reflect['decorate'](_0x514a0a,_0x382a16,_0x6be01a,_0x1e35ee);else{for(var _0x1428f3=_0x514a0a[_0x3dad5e(0x189)]-0x1;_0x1428f3>=0x0;_0x1428f3--)(_0x274faf=_0x514a0a[_0x1428f3])&&(_0x38e89f=(_0x439c53<0x3?_0x274faf(_0x38e89f):_0x439c53>0x3?_0x274faf(_0x382a16,_0x6be01a,_0x38e89f):_0x274faf(_0x382a16,_0x6be01a))||_0x38e89f);}return _0x439c53>0x3&&_0x38e89f&&Object[_0x3dad5e(0x226)](_0x382a16,_0x6be01a,_0x38e89f),_0x38e89f;}let _0x1a1090=class extends _0x32657f[_0x52bb1c(0x279)]{constructor(_0x29d2d7,_0x3244f6,_0xd84a0b){const _0x1d1fc6=_0x52bb1c;super(),this['_model']=_0x29d2d7,this[_0x1d1fc6(0x1ea)]=_0x3244f6,this['_hostExternalReferenceModel']=_0xd84a0b,_0x1bc6a5(this,_0x1d1fc6(0x260),new Map()),_0x1bc6a5(this,_0x1d1fc6(0x2ca),new Map()),_0x1bc6a5(this,_0x1d1fc6(0x20e),new _0x4187de[(_0x1d1fc6(0x276))]()),_0x1bc6a5(this,_0x1d1fc6(0x2a8),this[_0x1d1fc6(0x20e)][_0x1d1fc6(0x1a4)]()),this['disposeWithMe'](this['_registrationService'][_0x1d1fc6(0x20d)][_0x1d1fc6(0x17b)](_0x30aa69=>{const _0x51397f=_0x1d1fc6;for(let _0x2a129b of Object[_0x51397f(0x255)](_0x30aa69))for(let _0x3c44b5 of Object[_0x51397f(0x255)](_0x2a129b))_0x3c44b5[_0x51397f(0x23d)](_0x97fb2d=>this[_0x51397f(0x18c)](_0x97fb2d));}));}[_0x52bb1c(0x295)](_0x143cc5){const _0x4dd92a=_0x52bb1c;var _0x5b4448;let _0x50ad5a=_0x143cc5['getUnitId'](),_0x2e33fa=((_0x5b4448=_0x143cc5[_0x4dd92a(0x223)]()[_0x4dd92a(0x21e)])==null||(_0x5b4448=_0x5b4448[_0x4dd92a(0x1f1)])==null?void 0x0:_0x5b4448[_0x4dd92a(0x1ec)](_0x4ba9ca))??[],_0x34f690=this[_0x4dd92a(0x180)][_0x4dd92a(0x1c4)](_0x50ad5a),_0x2cc64f=new Set();for(let _0x4ab7a0 of _0x2e33fa){let _0x29d28d=_0x34f690[_0x4ab7a0[_0x4dd92a(0x261)]];_0x29d28d&&(_0x2cc64f[_0x4dd92a(0x293)](_0x33179c(_0x50ad5a,_0x4ab7a0[_0x4dd92a(0x261)])),this[_0x4dd92a(0x1b3)]({'unitId':_0x50ad5a,'rangeId':_0x4ab7a0[_0x4dd92a(0x261)]},_0x29d28d));}for(let _0x333aab of Array[_0x4dd92a(0x29d)](this[_0x4dd92a(0x260)][_0x4dd92a(0x255)]()))_0x333aab[_0x4dd92a(0x1bd)]===_0x50ad5a&&!_0x2cc64f[_0x4dd92a(0x2bb)](_0x33179c(_0x333aab[_0x4dd92a(0x1bd)],_0x333aab[_0x4dd92a(0x261)]))&&this[_0x4dd92a(0x2b7)](_0x333aab);}['register'](_0x4b1f61,_0x219641){const _0x1a3c58=_0x52bb1c;let _0x6dd1e4=_0x33179c(_0x4b1f61[_0x1a3c58(0x1bd)],_0x4b1f61[_0x1a3c58(0x261)]),_0xe297c5=this[_0x1a3c58(0x260)]['get'](_0x6dd1e4),_0x3dcea3=this[_0x1a3c58(0x17e)][_0x1a3c58(0x1f0)](_0x4b1f61[_0x1a3c58(0x1bd)]);if(_0xe297c5&&_0xe297c5[_0x1a3c58(0x2b4)]['formula']===_0x219641[_0x1a3c58(0x28d)]&&_0xe297c5[_0x1a3c58(0x2b2)]===_0x3dcea3){_0xe297c5[_0x1a3c58(0x2b4)]=_0x219641;let _0x8dd739=_0xe297c5[_0x1a3c58(0x2cc)]?this[_0x1a3c58(0x1ea)][_0x1a3c58(0x296)](_0xe297c5[_0x1a3c58(0x1bd)],_0xe297c5[_0x1a3c58(0x1bd)],_0xe297c5[_0x1a3c58(0x2cc)])??void 0x0:void 0x0;_0xe297c5[_0x1a3c58(0x1df)]=_0x8dd739,this['_setPresentation'](_0x6dd1e4,_0x1b6fcd(_0x219641,_0x8dd739));return;}_0xe297c5!=null&&_0xe297c5[_0x1a3c58(0x2cc)]&&this[_0x1a3c58(0x1d7)](_0xe297c5);let _0x346ccb={..._0x4b1f61,'config':_0x219641,'referenceRevision':_0x3dcea3,'presentation':_0x1b6fcd(_0x219641,void 0x0)};if(this[_0x1a3c58(0x260)][_0x1a3c58(0x1d1)](_0x6dd1e4,_0x346ccb),!_0x219641[_0x1a3c58(0x28d)][_0x1a3c58(0x1ab)]())return;let _0x17dd36=this[_0x1a3c58(0x1ea)][_0x1a3c58(0x1b5)](_0x4b1f61[_0x1a3c58(0x1bd)],_0x4b1f61[_0x1a3c58(0x1bd)],_0x219641['formula'],void 0x0,{'rangeId':_0x4b1f61[_0x1a3c58(0x261)]},_0x265414['OtherFormulaBizType'][_0x1a3c58(0x18d)],_0x4b1f61[_0x1a3c58(0x261)]);_0x346ccb[_0x1a3c58(0x2cc)]=_0x17dd36,this[_0x1a3c58(0x2ca)][_0x1a3c58(0x1d1)](_0x17dd36,_0x6dd1e4);}[_0x52bb1c(0x2b7)](_0x50a05b){const _0x4d690a=_0x52bb1c;let _0xe5a094=_0x33179c(_0x50a05b[_0x4d690a(0x1bd)],_0x50a05b[_0x4d690a(0x261)]),_0x32443b=this[_0x4d690a(0x260)][_0x4d690a(0x2aa)](_0xe5a094);_0x32443b&&(this[_0x4d690a(0x1d7)](_0x32443b),this[_0x4d690a(0x260)]['delete'](_0xe5a094));}['unregisterUnit'](_0x552455){const _0x35b1b3=_0x52bb1c;for(let _0x4e1d2c of Array[_0x35b1b3(0x29d)](this[_0x35b1b3(0x260)][_0x35b1b3(0x255)]()))_0x4e1d2c[_0x35b1b3(0x1bd)]===_0x552455&&this[_0x35b1b3(0x2b7)](_0x4e1d2c);}[_0x52bb1c(0x1f3)](_0x1fa6a2){const _0x5b8652=_0x52bb1c;var _0x2f6ae8;return(_0x2f6ae8=this['_registrations'][_0x5b8652(0x2aa)](_0x33179c(_0x1fa6a2[_0x5b8652(0x1bd)],_0x1fa6a2[_0x5b8652(0x261)])))==null?void 0x0:_0x2f6ae8[_0x5b8652(0x1e9)];}[_0x52bb1c(0x285)](_0x417a44){const _0x2d6e71=_0x52bb1c;let _0x83a1c7=this[_0x2d6e71(0x260)]['get'](_0x33179c(_0x417a44[_0x2d6e71(0x1bd)],_0x417a44[_0x2d6e71(0x261)]));return _0x83a1c7?_0xe3e29f(_0x83a1c7):void 0x0;}[_0x52bb1c(0x2c6)](){const _0x536517=_0x52bb1c;return Array[_0x536517(0x29d)](this['_registrations'][_0x536517(0x255)](),_0x4d0ba2=>({'identity':{'unitId':_0x4d0ba2[_0x536517(0x1bd)],'rangeId':_0x4d0ba2[_0x536517(0x261)]},'config':_0x4d0ba2[_0x536517(0x2b4)],'referenceRevision':_0x4d0ba2['referenceRevision'],..._0x4d0ba2[_0x536517(0x1df)]?{'liveResult':_0x4d0ba2[_0x536517(0x1df)]}:null}));}[_0x52bb1c(0x263)](){const _0x4600c4=_0x52bb1c;for(let _0x14663c of this[_0x4600c4(0x260)]['values']())this['_deleteRegistration'](_0x14663c);this[_0x4600c4(0x260)][_0x4600c4(0x1ca)](),this['_formulaKeys'][_0x4600c4(0x1ca)](),this[_0x4600c4(0x20e)]['complete'](),super[_0x4600c4(0x263)]();}[_0x52bb1c(0x18c)](_0x2ad814){const _0x157093=_0x52bb1c;let _0x4acc77=this[_0x157093(0x2ca)]['get'](_0x2ad814[_0x157093(0x2cc)]),_0xc60fc7=_0x4acc77?this[_0x157093(0x260)][_0x157093(0x2aa)](_0x4acc77):void 0x0;!_0x4acc77||!_0xc60fc7||(_0xc60fc7[_0x157093(0x1df)]=_0x2ad814,this[_0x157093(0x297)](_0x4acc77,_0x1b6fcd(_0xc60fc7[_0x157093(0x2b4)],_0x2ad814)));}['_setPresentation'](_0x2b0098,_0x26a334){const _0x6b114e=_0x52bb1c;var _0x176501,_0x39eeab;let _0x479976=this[_0x6b114e(0x260)][_0x6b114e(0x2aa)](_0x2b0098);if(!_0x479976||_0x5322d2(_0x479976[_0x6b114e(0x1e9)],_0x26a334))return;let _0x246041=_0x479976[_0x6b114e(0x1e9)],_0x1069be=_0xe3e29f(_0x479976);_0x479976[_0x6b114e(0x1e9)]=_0x26a334,this[_0x6b114e(0x20e)][_0x6b114e(0x2c5)]({'unitId':_0x479976[_0x6b114e(0x1bd)],'rangeId':_0x479976[_0x6b114e(0x261)],'presentation':_0x26a334,'previousPresentation':_0x246041,'result':_0xe3e29f(_0x479976),'previousResult':{..._0x1069be,..._0x246041,'value':(_0x176501=_0x246041[_0x6b114e(0x1b1)])==null?void 0x0:_0x176501['v'],'valueType':((_0x39eeab=_0x246041['cell'])==null?void 0x0:_0x39eeab['t'])??void 0x0}});}[_0x52bb1c(0x1d7)](_0x4111a6){const _0x21c0bf=_0x52bb1c;_0x4111a6[_0x21c0bf(0x2cc)]&&(this['_registrationService'][_0x21c0bf(0x294)](_0x4111a6[_0x21c0bf(0x1bd)],_0x4111a6[_0x21c0bf(0x1bd)],[_0x4111a6[_0x21c0bf(0x2cc)]]),this['_formulaKeys'][_0x21c0bf(0x2c4)](_0x4111a6['formulaId']));}};_0x1a1090=_0x4e9cbe([_0x3ed90f(0x0,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0x3284cf)),_0x3ed90f(0x1,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0x265414[_0x52bb1c(0x1e2)])),_0x3ed90f(0x2,(0x0,_0x32657f['Inject'])(_0x480561['HostExternalReferenceModel']))],_0x1a1090);function _0x33179c(_0x185135,_0x9ae76e){return _0x185135+'\x00'+_0x9ae76e;}function _0x1b6fcd(_0x145fe5,_0x4fb032){const _0x34d72f=_0x52bb1c;return(0x0,_0x480561[_0x34d72f(0x224)])({'numberFormat':_0x145fe5[_0x34d72f(0x212)],'lastValue':_0x145fe5[_0x34d72f(0x1ee)],'result':_0x4fb032});}function _0xe3e29f(_0x38e168){const _0x16dbb0=_0x52bb1c;var _0x19796d,_0x2e90dd,_0xab9150;let _0x34f08a=_0x38e168['presentation'],_0x1e741b=_0x38e168[_0x16dbb0(0x2b4)][_0x16dbb0(0x28d)][_0x16dbb0(0x1ab)]()?_0x34f08a[_0x16dbb0(0x1c2)]||_0x34f08a[_0x16dbb0(0x1b1)]==null?_0x16dbb0(0x238):((_0x19796d=_0x38e168[_0x16dbb0(0x1df)])==null?void 0x0:_0x19796d[_0x16dbb0(0x290)])===_0x265414[_0x16dbb0(0x1cd)][_0x16dbb0(0x2be)]?_0x16dbb0(0x209):_0x16dbb0(0x1cf):_0x16dbb0(0x19a);return{..._0x34f08a,'status':_0x1e741b,'value':(_0x2e90dd=_0x34f08a[_0x16dbb0(0x1b1)])==null?void 0x0:_0x2e90dd['v'],'valueType':((_0xab9150=_0x34f08a['cell'])==null?void 0x0:_0xab9150['t'])??void 0x0};}function _0x5322d2(_0x25fbcb,_0x56416f){const _0x201fb5=_0x52bb1c;var _0x98fbb,_0x2f1b46,_0xbacb79,_0x5bff14;return _0x25fbcb[_0x201fb5(0x179)]===_0x56416f[_0x201fb5(0x179)]&&_0x25fbcb[_0x201fb5(0x2a0)]===_0x56416f[_0x201fb5(0x2a0)]&&_0x25fbcb[_0x201fb5(0x28f)]===_0x56416f[_0x201fb5(0x28f)]&&_0x25fbcb['source']===_0x56416f['source']&&_0x25fbcb[_0x201fb5(0x1c2)]===_0x56416f[_0x201fb5(0x1c2)]&&((_0x98fbb=_0x25fbcb[_0x201fb5(0x1b1)])==null?void 0x0:_0x98fbb['t'])===((_0x2f1b46=_0x56416f[_0x201fb5(0x1b1)])==null?void 0x0:_0x2f1b46['t'])&&Object['is']((_0xbacb79=_0x25fbcb[_0x201fb5(0x1b1)])==null?void 0x0:_0xbacb79['v'],(_0x5bff14=_0x56416f[_0x201fb5(0x1b1)])==null?void 0x0:_0x5bff14['v']);}let _0x113c36={'id':'docs-formula.mutation.set-formula','type':_0x32657f['CommandType']['MUTATION'],'handler':(_0x3ce19b,_0x3892e4)=>!(_0x3892e4!=null&&_0x3892e4['unitId'])||!_0x3892e4[_0x52bb1c(0x261)]||!_0x3892e4[_0x52bb1c(0x2b4)]?!0x1:_0x3ce19b[_0x52bb1c(0x2aa)](_0x3284cf)['setFormula'](_0x3892e4[_0x52bb1c(0x1bd)],_0x3892e4[_0x52bb1c(0x261)],_0x3892e4[_0x52bb1c(0x2b4)])},_0x52f817={'id':_0x52bb1c(0x254),'type':_0x32657f[_0x52bb1c(0x283)][_0x52bb1c(0x1ef)],'handler':(_0x57659d,_0x24d495)=>!(_0x24d495!=null&&_0x24d495['unitId'])||!_0x24d495[_0x52bb1c(0x261)]?!0x1:_0x57659d[_0x52bb1c(0x2aa)](_0x3284cf)[_0x52bb1c(0x26f)](_0x24d495[_0x52bb1c(0x1bd)],_0x24d495[_0x52bb1c(0x261)])},_0x5dbd60={'id':'docs-formula.mutation.set-resource','type':_0x32657f['CommandType'][_0x52bb1c(0x1ef)],'handler':(_0x1dfe56,_0x4334c8)=>!(_0x4334c8!=null&&_0x4334c8[_0x52bb1c(0x1bd)])||!_0x4334c8['resource']?!0x1:_0x1dfe56[_0x52bb1c(0x2aa)](_0x3284cf)[_0x52bb1c(0x2b8)](_0x4334c8[_0x52bb1c(0x1bd)],_0x4334c8[_0x52bb1c(0x286)])},_0x11c380={'id':_0x52bb1c(0x1a5),'type':_0x32657f[_0x52bb1c(0x283)][_0x52bb1c(0x1ef)],'handler':(_0xf069af,_0xaee81c)=>{const _0x22c571=_0x52bb1c;if(!(_0xaee81c!=null&&_0xaee81c[_0x22c571(0x1bd)])||!_0xaee81c['updates'][_0x22c571(0x189)])return!0x1;let _0x34a3ae=_0xf069af[_0x22c571(0x2aa)](_0x3284cf),_0x27d419=_0xf069af[_0x22c571(0x2aa)](_0x480561['HostExternalReferenceModel']),_0x36dd3e=_0x34a3ae[_0x22c571(0x2c9)](_0xaee81c['unitId']);if(!_0x36dd3e)return!0x1;let _0x1cf719=_0x32657f['Tools'][_0x22c571(0x1c8)](_0x36dd3e),_0x393b70=!0x1;for(let _0xc006d6 of _0xaee81c['updates']){var _0x28511a,_0x22499c,_0x5d1eac,_0x471c42;let _0x483cc7=_0x1cf719[_0x22c571(0x23c)][_0xc006d6['rangeId']];!_0x483cc7||_0x483cc7[_0x22c571(0x28d)]!==_0xc006d6[_0x22c571(0x244)]||((_0x28511a=_0x483cc7['numberFormat'])==null?void 0x0:_0x28511a[_0x22c571(0x28f)])!==_0xc006d6[_0x22c571(0x280)]||_0x27d419[_0x22c571(0x1f0)](_0xaee81c[_0x22c571(0x1bd)])!==_0xc006d6['expectedReferenceRevision']||(((_0x22499c=_0x483cc7['lastValue'])==null?void 0x0:_0x22499c['v'])!==_0xc006d6['lastValue']['v']||((_0x5d1eac=_0x483cc7['lastValue'])==null?void 0x0:_0x5d1eac['t'])!==_0xc006d6[_0x22c571(0x1ee)]['t']||((_0x471c42=_0x483cc7[_0x22c571(0x1ee)])==null?void 0x0:_0x471c42[_0x22c571(0x28f)])!==_0xc006d6[_0x22c571(0x1ee)][_0x22c571(0x28f)])&&(_0x483cc7[_0x22c571(0x1ee)]=_0x32657f[_0x22c571(0x1ff)][_0x22c571(0x1c8)](_0xc006d6[_0x22c571(0x1ee)]),_0x393b70=!0x0);}return!_0x393b70||_0x34a3ae[_0x22c571(0x2b8)](_0xaee81c['unitId'],_0x1cf719);}},_0x55c3eb={'id':_0x52bb1c(0x22e),'type':_0x32657f['CommandType'][_0x52bb1c(0x1ac)],'handler':(_0x109227,_0x354d2a)=>{const _0x5538c8=_0x52bb1c;if(!(_0x354d2a!=null&&_0x354d2a['formula'][_0x5538c8(0x1ab)]()))return!0x1;let _0x4bbd12=_0x361087(_0x109227,_0x354d2a['unitId'],'');if(!_0x4bbd12)return!0x1;let _0x2fe994=_0xecc6f7(_0x354d2a[_0x5538c8(0x29a)],_0x4bbd12[_0x5538c8(0x21e)],_0x5304d7(_0x109227,_0x4bbd12['unitId']));if(!_0x2fe994)return!0x1;let _0x380f03=_0x3cf939(_0x109227,_0x4bbd12[_0x5538c8(0x1bd)],_0x354d2a['formula'],_0x354d2a[_0x5538c8(0x1ae)]??[]);if(!_0x380f03)return!0x1;let _0x3092d9=_0x31afd2(_0x4bbd12[_0x5538c8(0x21e)],_0x4bbd12[_0x5538c8(0x21a)],_0x4bbd12['unitId']),_0x2a710f=_0x177ef8({'documentData':_0x4bbd12[_0x5538c8(0x1c1)],'resource':_0x4bbd12['resource'],'rangeId':_0x3092d9,'config':{'formula':_0x354d2a[_0x5538c8(0x28d)],..._0x354d2a['numberFormat']?{'numberFormat':_0x354d2a[_0x5538c8(0x212)]}:null},'startOffset':_0x2fe994[_0x5538c8(0x19e)],'endOffset':_0x2fe994[_0x5538c8(0x258)]});if(!_0x2a710f)return!0x1;let _0x8d82b9=(0x0,_0x480561[_0x5538c8(0x1e0)])(_0x109227,_0x4bbd12['unitId'],_0x380f03);return!_0x8d82b9||!_0x657b27({'accessor':_0x109227,'document':_0x4bbd12[_0x5538c8(0x267)],'unitId':_0x4bbd12[_0x5538c8(0x1bd)],'trigger':_0x55c3eb['id'],'rangeId':_0x3092d9,'previousResource':_0x4bbd12[_0x5538c8(0x286)],'nextResource':_0x2a710f[_0x5538c8(0x1bc)],'previousDocumentData':_0x4bbd12[_0x5538c8(0x1c1)],'nextDocumentData':_0x2a710f[_0x5538c8(0x282)],'cursorOffset':_0x2a710f[_0x5538c8(0x178)],'externalMutations':_0x8d82b9})?!0x1:{'rangeId':_0x3092d9,'startOffset':_0x2a710f[_0x5538c8(0x178)]-0x1,'endOffset':_0x2a710f[_0x5538c8(0x178)]};}},_0x585a65={'id':_0x52bb1c(0x18a),'type':_0x32657f['CommandType']['COMMAND'],'handler':(_0x31b31e,_0x58d867)=>{const _0x32e370=_0x52bb1c;if(!(_0x58d867!=null&&_0x58d867[_0x32e370(0x261)])||!_0x58d867['formula'][_0x32e370(0x1ab)]())return!0x1;let _0x403d56=_0x361087(_0x31b31e,_0x58d867[_0x32e370(0x1bd)],''),_0x365f80=_0x403d56==null?void 0x0:_0x403d56['model'][_0x32e370(0x205)](_0x403d56['unitId'],_0x58d867[_0x32e370(0x261)]),_0x5a0a2d=_0x403d56?_0x271abe(_0x403d56[_0x32e370(0x1c1)][_0x32e370(0x21e)],_0x58d867[_0x32e370(0x261)]):void 0x0;if(!_0x403d56||!_0x365f80||!_0x5a0a2d)return!0x1;let _0x5e34d1=_0x3cf939(_0x31b31e,_0x403d56[_0x32e370(0x1bd)],_0x58d867['formula'],_0x58d867[_0x32e370(0x1ae)]??[]);if(!_0x5e34d1)return!0x1;let _0x1a675c=(0x0,_0x480561[_0x32e370(0x1e0)])(_0x31b31e,_0x403d56['unitId'],_0x5e34d1);if(!_0x1a675c)return!0x1;let _0x58724f=_0x49419e(_0x403d56['resource']);return _0x58724f['formulas'][_0x58d867[_0x32e370(0x261)]]={'formula':_0x58d867[_0x32e370(0x28d)],..._0x58d867[_0x32e370(0x212)]?{'numberFormat':_0x58d867[_0x32e370(0x212)]}:_0x365f80['numberFormat']?{'numberFormat':_0x365f80[_0x32e370(0x212)]}:null},_0x657b27({'accessor':_0x31b31e,'document':_0x403d56[_0x32e370(0x267)],'unitId':_0x403d56[_0x32e370(0x1bd)],'trigger':_0x585a65['id'],'rangeId':_0x58d867[_0x32e370(0x261)],'previousResource':_0x403d56['resource'],'nextResource':_0x58724f,'cursorOffset':_0x5a0a2d[_0x32e370(0x1d8)]+0x1,'externalMutations':_0x1a675c});}},_0x35d343={'id':_0x52bb1c(0x27c),'type':_0x32657f['CommandType'][_0x52bb1c(0x1ac)],'handler':(_0x23cfb6,_0x1011c0)=>{const _0x345a20=_0x52bb1c;if(!(_0x1011c0!=null&&_0x1011c0[_0x345a20(0x261)]))return!0x1;let _0xf62083=_0x361087(_0x23cfb6,_0x1011c0[_0x345a20(0x1bd)],''),_0x11cef7=_0xf62083==null?void 0x0:_0xf62083[_0x345a20(0x21a)][_0x345a20(0x205)](_0xf62083[_0x345a20(0x1bd)],_0x1011c0[_0x345a20(0x261)]),_0x574643=_0xf62083?_0x271abe(_0xf62083[_0x345a20(0x1c1)]['body'],_0x1011c0[_0x345a20(0x261)]):void 0x0;if(!_0xf62083||!_0x11cef7||!_0x574643)return!0x1;let _0x5f14ba=_0x49419e(_0xf62083[_0x345a20(0x286)]);return _0x5f14ba[_0x345a20(0x23c)][_0x1011c0[_0x345a20(0x261)]]={..._0x11cef7,..._0x1011c0['numberFormat']?{'numberFormat':_0x1011c0[_0x345a20(0x212)]}:null},_0x1011c0[_0x345a20(0x212)]||delete _0x5f14ba['formulas'][_0x1011c0[_0x345a20(0x261)]][_0x345a20(0x212)],_0x657b27({'accessor':_0x23cfb6,'document':_0xf62083['document'],'unitId':_0xf62083[_0x345a20(0x1bd)],'trigger':_0x35d343['id'],'rangeId':_0x1011c0[_0x345a20(0x261)],'previousResource':_0xf62083[_0x345a20(0x286)],'nextResource':_0x5f14ba,'cursorOffset':_0x574643[_0x345a20(0x1d8)]+0x1,'externalMutations':{}});}},_0x1c4695={'id':_0x52bb1c(0x17c),'type':_0x32657f[_0x52bb1c(0x283)][_0x52bb1c(0x1ac)],'handler':(_0xa9d6d2,_0xd59037)=>_0x15212b(_0xa9d6d2,_0xd59037,'',_0x1c4695['id'])},_0x34d0f5={'id':_0x52bb1c(0x193),'type':_0x32657f[_0x52bb1c(0x283)][_0x52bb1c(0x1ac)],'handler':(_0x5f30d2,_0x548964)=>_0x15212b(_0x5f30d2,_0x548964,(_0x548964==null?void 0x0:_0x548964['text'])??'',_0x34d0f5['id'])},_0x5830f4={'id':_0x52bb1c(0x1b6),'type':_0x32657f[_0x52bb1c(0x283)][_0x52bb1c(0x1ac)],'handler':(_0x39b516,_0x18139c)=>{const _0x271a13=_0x52bb1c;if(!(_0x18139c!=null&&_0x18139c[_0x271a13(0x261)]))return!0x1;let _0x15c84f=_0x361087(_0x39b516,_0x18139c['unitId'],'');if(!_0x15c84f)return!0x1;let _0x3a250d=_0x39b516[_0x271a13(0x2aa)](_0x1a1090)[_0x271a13(0x285)]({'unitId':_0x15c84f[_0x271a13(0x1bd)],'rangeId':_0x18139c[_0x271a13(0x261)]});return _0x3a250d?_0x15212b(_0x39b516,_0x18139c,_0x3a250d['text'],_0x5830f4['id']):!0x1;}};function _0x15212b(_0x56fa07,_0xd2d923,_0x28531a,_0x22bd35){const _0x3e787e=_0x52bb1c;if(!(_0xd2d923!=null&&_0xd2d923[_0x3e787e(0x261)]))return!0x1;let _0x2e4bb8=_0x361087(_0x56fa07,_0xd2d923[_0x3e787e(0x1bd)],'');if(!_0x2e4bb8)return!0x1;let _0x365337=_0x36e57e({'documentData':_0x2e4bb8[_0x3e787e(0x1c1)],'resource':_0x2e4bb8[_0x3e787e(0x286)],'rangeId':_0xd2d923[_0x3e787e(0x261)],'text':_0x28531a});return _0x365337?_0x657b27({'accessor':_0x56fa07,'document':_0x2e4bb8[_0x3e787e(0x267)],'unitId':_0x2e4bb8[_0x3e787e(0x1bd)],'trigger':_0x22bd35,'rangeId':_0xd2d923[_0x3e787e(0x261)],'previousResource':_0x2e4bb8[_0x3e787e(0x286)],'nextResource':_0x365337[_0x3e787e(0x1bc)],'previousDocumentData':_0x2e4bb8[_0x3e787e(0x1c1)],'nextDocumentData':_0x365337['nextDocumentData'],'cursorOffset':_0x365337[_0x3e787e(0x178)],'externalMutations':{}}):!0x1;}function _0x361087(_0x424a91,_0x5760fa,_0x52fd8a){const _0xf64798=_0x52bb1c;if(_0x52fd8a)return null;let _0x548128=_0x424a91[_0xf64798(0x2aa)](_0x32657f[_0xf64798(0x1dc)]),_0x504e16=(_0x5760fa?_0x548128[_0xf64798(0x234)](_0x5760fa,_0x32657f[_0xf64798(0x225)][_0xf64798(0x2c1)]):_0x548128['getCurrentUnitOfType'](_0x32657f[_0xf64798(0x225)][_0xf64798(0x2c1)]))??null;if(!_0x504e16)return null;let _0x3696f0=_0x504e16[_0xf64798(0x223)](),_0x1059b5=_0x3696f0['body'];if(_0x3696f0[_0xf64798(0x2c2)]||!_0x1059b5)return null;let _0x194229=_0x424a91['get'](_0x3284cf);return _0x194229[_0xf64798(0x2cb)](_0x504e16['getUnitId']())?null:{'document':_0x504e16,'body':_0x1059b5,'documentData':_0x3696f0,'model':_0x194229,'resource':_0x194229['getResource'](_0x504e16[_0xf64798(0x204)]())??_0x40a441(),'unitId':_0x504e16[_0xf64798(0x204)]()};}function _0x5304d7(_0x1dcb1f,_0x34fc0a){const _0x44df42=_0x52bb1c;var _0x41b4fb;return(_0x41b4fb=_0x1dcb1f[_0x44df42(0x2aa)](_0xcd982f['DocSelectionManagerService'])[_0x44df42(0x28e)]({'subUnitId':_0x34fc0a,'unitId':_0x34fc0a}))==null?void 0x0:_0x41b4fb[0x0];}function _0xecc6f7(_0x3d3db2,_0x575527,_0x5b46d7){const _0x4bd642=_0x52bb1c;if((_0x3d3db2==null?void 0x0:_0x3d3db2[_0x4bd642(0x183)])===_0x4bd642(0x2a4)){var _0x53469c;let _0x13ec87=((_0x53469c=_0x575527['paragraphs'])==null?void 0x0:_0x53469c[_0x4bd642(0x1ec)](_0x4806be=>_0x4806be['paragraphId']===_0x3d3db2[_0x4bd642(0x20c)]))??[];if(_0x13ec87[_0x4bd642(0x189)]!==0x1)return null;let _0x351195=_0x13ec87[0x0],_0xb1fb33=(0x0,_0x32657f[_0x4bd642(0x289)])(_0x575527,_0x351195),_0x421271=_0x351195[_0x4bd642(0x27e)]-_0xb1fb33,_0x4d4fea=_0x3d3db2['position']===_0x4bd642(0x2af)?_0x421271:_0x3d3db2[_0x4bd642(0x1b4)];if(!Number['isInteger'](_0x4d4fea)||_0x4d4fea<0x0||_0x4d4fea>_0x421271)return null;let _0x1f8e07=_0xb1fb33+_0x4d4fea;return{'startOffset':_0x1f8e07,'endOffset':_0x1f8e07};}if((_0x3d3db2==null?void 0x0:_0x3d3db2[_0x4bd642(0x183)])===_0x4bd642(0x2c7))return!Number['isInteger'](_0x3d3db2[_0x4bd642(0x19e)])||!Number[_0x4bd642(0x259)](_0x3d3db2[_0x4bd642(0x258)])?null:{'startOffset':Math[_0x4bd642(0x2a1)](_0x3d3db2[_0x4bd642(0x19e)],_0x3d3db2[_0x4bd642(0x258)]),'endOffset':Math[_0x4bd642(0x251)](_0x3d3db2[_0x4bd642(0x19e)],_0x3d3db2[_0x4bd642(0x258)])};let _0x39295b=(_0x3d3db2==null?void 0x0:_0x3d3db2[_0x4bd642(0x183)])===_0x4bd642(0x24e)?_0x3d3db2[_0x4bd642(0x24e)]:_0x5b46d7;return!_0x39295b||_0x39295b[_0x4bd642(0x221)]?null:{'startOffset':Math[_0x4bd642(0x2a1)](_0x39295b[_0x4bd642(0x19e)],_0x39295b[_0x4bd642(0x258)]),'endOffset':Math[_0x4bd642(0x251)](_0x39295b[_0x4bd642(0x19e)],_0x39295b[_0x4bd642(0x258)])};}function _0x3cf939(_0x1b3276,_0x398849,_0x1de7eb,_0x34c8e3){const _0x5d417b=_0x52bb1c;let _0x120fe4=_0x1b3276[_0x5d417b(0x2aa)](_0x265414[_0x5d417b(0x239)]),_0x4b3d1a=_0x1de7eb[_0x5d417b(0x228)]('=')?_0x1de7eb['slice'](0x1):_0x1de7eb,_0xbc6fdd=_0x120fe4[_0x5d417b(0x1e7)](_0x4b3d1a);if(!_0xbc6fdd)return null;let _0x2e65f4=_0x1b3276[_0x5d417b(0x2aa)](_0x480561[_0x5d417b(0x1c6)]),_0x3b0770=(0x0,_0x480561[_0x5d417b(0x1a2)])({'qualifiers':(0x0,_0x480561['collectFormulaExternalReferenceQualifiers'])(_0xbc6fdd),'explicitReferences':_0x34c8e3??[],'resolveBinding':_0x149702=>_0x2e65f4[_0x5d417b(0x1a8)](_0x398849,_0x149702)});return _0x3b0770['status']===_0x5d417b(0x1c0)?_0x3b0770['references']:null;}function _0x31afd2(_0x38e6f4,_0x5a8f4e,_0x2726f0){const _0x7f333a=_0x52bb1c;var _0x1e9673;let _0x3cd890=(0x0,_0x32657f[_0x7f333a(0x270)])(0x6);for(;_0x38e6f4!=null&&(_0x1e9673=_0x38e6f4[_0x7f333a(0x1f1)])!=null&&_0x1e9673[_0x7f333a(0x1e1)](_0x260f89=>_0x260f89[_0x7f333a(0x261)]===_0x3cd890)||_0x5a8f4e[_0x7f333a(0x205)](_0x2726f0,_0x3cd890);)_0x3cd890=(0x0,_0x32657f[_0x7f333a(0x270)])(0x6);return _0x3cd890;}function _0x177ef8(_0x22c770){try{return _0x512cee(_0x22c770);}catch(_0x33da30){if(_0x33da30 instanceof _0x5034f5)return null;throw _0x33da30;}}function _0x1a3597(_0x20ee9c){const _0x3e5de2=_0x52bb1c;let _0x12264d=_0x20ee9c[_0x3e5de2(0x26a)]&&_0x20ee9c['nextDocumentData']?_0x2837f8(_0x20ee9c[_0x3e5de2(0x267)],_0x20ee9c['unitId'],_0x20ee9c['previousDocumentData'],_0x20ee9c[_0x3e5de2(0x282)],_0x20ee9c['cursorOffset'],_0x20ee9c[_0x3e5de2(0x281)]):null;return _0x20ee9c[_0x3e5de2(0x26a)]&&_0x20ee9c[_0x3e5de2(0x282)]&&!_0x12264d?null:{'documentRedo':_0x12264d,'resourceRedo':{'id':_0x5dbd60['id'],'params':{'unitId':_0x20ee9c[_0x3e5de2(0x1bd)],'resource':_0x20ee9c[_0x3e5de2(0x1bc)]}},'resourceUndo':{'id':_0x5dbd60['id'],'params':{'unitId':_0x20ee9c[_0x3e5de2(0x1bd)],'resource':_0x20ee9c['previousResource']}}};}function _0x3104a7(_0x7e79a0,_0x1499a8,_0x227698,_0x61a530){const _0x28b0dd=_0x52bb1c;_0x61a530[_0x28b0dd(0x2c8)]({'id':_0x7e79a0[_0x28b0dd(0x281)]+':'+_0x7e79a0[_0x28b0dd(0x261)],'unitID':_0x7e79a0[_0x28b0dd(0x1bd)],'redoMutations':[..._0x7e79a0['externalMutations'][_0x28b0dd(0x1dd)]?[_0x7e79a0[_0x28b0dd(0x248)]['redoMutation']]:[],..._0x1499a8[_0x28b0dd(0x271)]?[_0x1499a8['documentRedo']]:[],_0x1499a8[_0x28b0dd(0x217)]],'undoMutations':[_0x1499a8[_0x28b0dd(0x23a)],..._0x227698?[_0x227698]:[],..._0x7e79a0['externalMutations'][_0x28b0dd(0x1a0)]?[_0x7e79a0[_0x28b0dd(0x248)]['undoMutation']]:[]]});}function _0x657b27(_0x204001){const _0x2e66bb=_0x52bb1c;let _0x2d6e49=_0x204001[_0x2e66bb(0x1be)]['get'](_0x32657f[_0x2e66bb(0x25c)]),_0x5d8f12=_0x204001[_0x2e66bb(0x1be)][_0x2e66bb(0x2aa)](_0x32657f[_0x2e66bb(0x18b)]),_0x20eaa1=_0x204001[_0x2e66bb(0x1be)][_0x2e66bb(0x2aa)](_0xcd982f[_0x2e66bb(0x181)]),_0x1be452=_0x1a3597(_0x204001);if(!_0x1be452)return!0x1;let _0x450e0d=!0x1,_0x10716b=null,_0x553657=!0x1;try{if(_0x204001[_0x2e66bb(0x248)][_0x2e66bb(0x1dd)]){if(!_0x2d6e49['syncExecuteCommand'](_0x204001[_0x2e66bb(0x248)][_0x2e66bb(0x1dd)]['id'],_0x204001[_0x2e66bb(0x248)]['redoMutation'][_0x2e66bb(0x266)]))return!0x1;_0x450e0d=!0x0;}if(_0x1be452[_0x2e66bb(0x271)]){let _0x540ce6=_0x2d6e49['syncExecuteCommand'](_0x1be452[_0x2e66bb(0x271)]['id'],_0x1be452[_0x2e66bb(0x271)][_0x2e66bb(0x266)]);if(!_0x540ce6)return _0x4bd1e4(_0x2d6e49,_0x204001[_0x2e66bb(0x248)],_0x450e0d),!0x1;_0x10716b={'id':_0xcd982f[_0x2e66bb(0x25d)]['id'],'params':{..._0x540ce6,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x2d6e49[_0x2e66bb(0x274)](_0x1be452[_0x2e66bb(0x217)]['id'],_0x1be452[_0x2e66bb(0x217)][_0x2e66bb(0x266)]))return _0x3a4194(_0x2d6e49,_0x10716b),_0x4bd1e4(_0x2d6e49,_0x204001['externalMutations'],_0x450e0d),!0x1;_0x553657=!0x0,_0x3104a7(_0x204001,_0x1be452,_0x10716b,_0x5d8f12);}catch(_0x52f530){throw _0x553657&&_0x2d6e49[_0x2e66bb(0x274)](_0x1be452[_0x2e66bb(0x23a)]['id'],_0x1be452[_0x2e66bb(0x23a)][_0x2e66bb(0x266)]),_0x3a4194(_0x2d6e49,_0x10716b),_0x4bd1e4(_0x2d6e49,_0x204001[_0x2e66bb(0x248)],_0x450e0d),_0x52f530;}return _0x20eaa1[_0x2e66bb(0x17d)]([{'startOffset':_0x204001['cursorOffset'],'endOffset':_0x204001[_0x2e66bb(0x178)],'segmentId':''}],{'unitId':_0x204001['unitId'],'subUnitId':_0x204001[_0x2e66bb(0x1bd)]},!0x1,{[_0xcd982f['DOC_SELECTION_OPTION_PRESERVE_CARET']]:!0x0}),!0x0;}function _0x2837f8(_0x58f654,_0xaad684,_0x2d9970,_0x170a60,_0xd65a7e,_0x5190eb){const _0x873772=_0x52bb1c;let _0x4cd118=_0x4334c0(_0x2d9970,_0x170a60,(0x0,_0x32657f[_0x873772(0x22a)])(_0x58f654,''));return _0x4cd118?{'id':_0xcd982f[_0x873772(0x25d)]['id'],'params':{'unitId':_0xaad684,'actions':_0x4cd118,'segmentId':'','textRanges':[{'startOffset':_0xd65a7e,'endOffset':_0xd65a7e,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x5190eb}}:null;}function _0x3a4194(_0x3b7fed,_0x440536){const _0xfd921c=_0x52bb1c;_0x440536&&_0x3b7fed[_0xfd921c(0x274)](_0x440536['id'],_0x440536[_0xfd921c(0x266)]);}function _0x4bd1e4(_0x229f0a,_0x2a1809,_0x24552f){const _0x12227b=_0x52bb1c;_0x24552f&&_0x2a1809[_0x12227b(0x1a0)]&&_0x229f0a['syncExecuteCommand'](_0x2a1809[_0x12227b(0x1a0)]['id'],_0x2a1809['undoMutation']['params']);}function _0x4334c0(_0xe4cf17,_0xcc9ea3,_0x58b908){const _0x35d4fc=_0x52bb1c;let _0x19655a=_0xe4cf17[_0x35d4fc(0x21e)],_0x4364cd=_0xcc9ea3[_0x35d4fc(0x21e)],_0x5a9160=_0x29cd3e(_0x19655a==null?void 0x0:_0x19655a[_0x35d4fc(0x265)],_0x4364cd==null?void 0x0:_0x4364cd[_0x35d4fc(0x265)]);if(!_0x5a9160||!_0x4364cd)return null;let _0x56833a=new _0x32657f[(_0x35d4fc(0x1da))]();return _0x56833a[_0x35d4fc(0x2b5)](_0x5a9160['start']),_0x5a9160['insertLength']>0x0&&_0x56833a[_0x35d4fc(0x1cb)](_0x5a9160[_0x35d4fc(0x1f4)],(0x0,_0x32657f[_0x35d4fc(0x2c0)])(_0x4364cd,_0x5a9160['start'],_0x5a9160[_0x35d4fc(0x23e)]+_0x5a9160[_0x35d4fc(0x1f4)],!0x1)),_0x5a9160['deleteLength']>0x0&&_0x56833a[_0x35d4fc(0x2c4)](_0x5a9160[_0x35d4fc(0x278)]),_0x32657f[_0x35d4fc(0x268)][_0x35d4fc(0x1b2)]()[_0x35d4fc(0x17a)](_0x56833a[_0x35d4fc(0x1d6)](),_0x58b908);}function _0x29cd3e(_0x15edaf,_0x2ea018){const _0x5acc0c=_0x52bb1c;if(_0x15edaf==null||_0x2ea018==null||_0x15edaf===_0x2ea018)return null;let _0xafe0f5=0x0;for(;_0xafe0f5<_0x15edaf[_0x5acc0c(0x189)]&&_0xafe0f5<_0x2ea018[_0x5acc0c(0x189)]&&_0x15edaf[_0xafe0f5]===_0x2ea018[_0xafe0f5];)_0xafe0f5+=0x1;let _0x46f04c=_0x15edaf['length'],_0x3fb468=_0x2ea018[_0x5acc0c(0x189)];for(;_0x46f04c>_0xafe0f5&&_0x3fb468>_0xafe0f5&&_0x15edaf[_0x46f04c-0x1]===_0x2ea018[_0x3fb468-0x1];)--_0x46f04c,--_0x3fb468;return{'start':_0xafe0f5,'deleteLength':_0x46f04c-_0xafe0f5,'insertLength':_0x3fb468-_0xafe0f5};}function _0x49419e(_0x527a40){const _0x41ec44=_0x52bb1c;return{'schemaVersion':0x1,'formulas':Object[_0x41ec44(0x250)](Object[_0x41ec44(0x1a1)](_0x527a40['formulas'])[_0x41ec44(0x264)](([_0x21334f,_0x5a80d6])=>[_0x21334f,{..._0x5a80d6,..._0x5a80d6[_0x41ec44(0x212)]?{'numberFormat':{..._0x5a80d6[_0x41ec44(0x212)]}}:null,..._0x5a80d6[_0x41ec44(0x1ee)]?{'lastValue':{..._0x5a80d6[_0x41ec44(0x1ee)]}}:null}]))};}let _0x421dfb=class extends _0x32657f['Disposable']{constructor(_0x2d8bbd,_0x1e676f,_0x3ce339,_0x322060){const _0x72f1b=_0x52bb1c;super(),this[_0x72f1b(0x1e3)]=_0x2d8bbd,this['_commandService']=_0x1e676f,this[_0x72f1b(0x180)]=_0x3ce339,this[_0x72f1b(0x269)]=_0x322060,_0x1bc6a5(this,_0x72f1b(0x1c5),new Set()),_0x1bc6a5(this,_0x72f1b(0x201),!0x1),_0x1bc6a5(this,_0x72f1b(0x272),!0x1),this[_0x72f1b(0x1e3)][_0x72f1b(0x1f9)](_0x32657f[_0x72f1b(0x225)]['UNIVER_DOC'])[_0x72f1b(0x23d)](_0x2b06ab=>this[_0x72f1b(0x269)][_0x72f1b(0x295)](_0x2b06ab)),this[_0x72f1b(0x22b)](this[_0x72f1b(0x180)][_0x72f1b(0x1fd)][_0x72f1b(0x17b)](({unitId:_0x1d97fb})=>this['_syncUnit'](_0x1d97fb))),this[_0x72f1b(0x22b)](this[_0x72f1b(0x1e3)][_0x72f1b(0x1b9)][_0x72f1b(0x17b)](({unit:_0x2a908b})=>{const _0x3c3d8d=_0x72f1b;_0x2a908b[_0x3c3d8d(0x183)]===_0x32657f[_0x3c3d8d(0x225)][_0x3c3d8d(0x2c1)]&&this[_0x3c3d8d(0x2bf)](_0x2a908b[_0x3c3d8d(0x204)]());})),this[_0x72f1b(0x22b)](this[_0x72f1b(0x1e3)][_0x72f1b(0x1c3)][_0x72f1b(0x17b)](_0x85e8c5=>{const _0x4efd7b=_0x72f1b;this[_0x4efd7b(0x269)][_0x4efd7b(0x233)](_0x85e8c5[_0x4efd7b(0x204)]());})),this['disposeWithMe'](this[_0x72f1b(0x1d0)][_0x72f1b(0x1d5)](_0x4c788c=>{const _0x1979d4=_0x72f1b;if(_0x4c788c['id']===_0xcd982f[_0x1979d4(0x25d)]['id']&&_0x4ed812(_0x4c788c[_0x1979d4(0x266)])){let _0x45124d=_0x4c788c[_0x1979d4(0x266)];_0x45124d[_0x1979d4(0x221)]||this[_0x1979d4(0x186)](_0x45124d[_0x1979d4(0x1bd)]);}}));}[_0x52bb1c(0x263)](){const _0x174d70=_0x52bb1c;this[_0x174d70(0x272)]=!0x0,super[_0x174d70(0x263)]();}['_queueSync'](_0x50a187){const _0xf1c5b7=_0x52bb1c;this['_pendingUnitIds'][_0xf1c5b7(0x293)](_0x50a187),!this[_0xf1c5b7(0x201)]&&(this['_syncScheduled']=!0x0,queueMicrotask(()=>{const _0x4c929d=_0xf1c5b7;if(this[_0x4c929d(0x201)]=!0x1,this[_0x4c929d(0x272)])return;let _0x2ae25d=Array[_0x4c929d(0x29d)](this[_0x4c929d(0x1c5)]);this[_0x4c929d(0x1c5)][_0x4c929d(0x1ca)](),_0x2ae25d[_0x4c929d(0x23d)](_0x47d534=>this[_0x4c929d(0x186)](_0x47d534));}));}[_0x52bb1c(0x186)](_0x370641){const _0x1bc59b=_0x52bb1c;let _0xde8db0=this['_instanceService'][_0x1bc59b(0x234)](_0x370641,_0x32657f[_0x1bc59b(0x225)][_0x1bc59b(0x2c1)]);_0xde8db0&&this[_0x1bc59b(0x269)][_0x1bc59b(0x295)](_0xde8db0);}};_0x421dfb=_0x4e9cbe([_0x3ed90f(0x0,_0x32657f[_0x52bb1c(0x1dc)]),_0x3ed90f(0x1,_0x32657f['ICommandService']),_0x3ed90f(0x2,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0x3284cf)),_0x3ed90f(0x3,(0x0,_0x32657f['Inject'])(_0x1a1090))],_0x421dfb);function _0x4ed812(_0x323a48){const _0x1fea75=_0x52bb1c;return typeof _0x323a48==_0x1fea75(0x227)&&!!_0x323a48&&'unitId'in _0x323a48&&typeof _0x323a48[_0x1fea75(0x1bd)]==_0x1fea75(0x236)&&(!('segmentId'in _0x323a48)||_0x323a48[_0x1fea75(0x221)]===void 0x0||typeof _0x323a48[_0x1fea75(0x221)]==_0x1fea75(0x236));}let _0x1d12b6=class extends _0x32657f[_0x52bb1c(0x279)]{constructor(_0x47275e,_0x2912e8){const _0x5f4e22=_0x52bb1c;super(),this[_0x5f4e22(0x207)]=_0x47275e,this[_0x5f4e22(0x194)]=_0x2912e8,this[_0x5f4e22(0x22b)](this[_0x5f4e22(0x207)]['registerPluginResource']({'pluginName':_0x46790f,'businesses':[_0x32657f['UniverInstanceType'][_0x5f4e22(0x2c1)]],'toJson':_0x25b3b3=>JSON[_0x5f4e22(0x24b)](this[_0x5f4e22(0x194)][_0x5f4e22(0x1d6)](_0x25b3b3)),'parseJson':_0x1c1dff=>JSON[_0x5f4e22(0x1bb)](_0x1c1dff),'onLoad':(_0x44444e,_0x3fbd8d)=>{const _0x1c2025=_0x5f4e22;this[_0x1c2025(0x194)][_0x1c2025(0x210)](_0x44444e,_0x3fbd8d);},'onUnLoad':_0x47da1e=>this[_0x5f4e22(0x194)][_0x5f4e22(0x2ad)](_0x47da1e)}));}};_0x1d12b6=_0x4e9cbe([_0x3ed90f(0x0,_0x32657f[_0x52bb1c(0x195)]),_0x3ed90f(0x1,(0x0,_0x32657f['Inject'])(_0x3284cf))],_0x1d12b6);var _0xc242cf=_0x52bb1c(0x197),_0xe5ddd=_0x52bb1c(0x1f5);let _0x5425fd={},_0xebb1de=class extends _0x32657f['Disposable']{constructor(_0x3cff70,_0xa60cf7,_0x2f8454){const _0x54346a=_0x52bb1c;super(),this[_0x54346a(0x2b6)]=_0x3cff70,this[_0x54346a(0x1b0)]=_0xa60cf7,this[_0x54346a(0x22b)](_0x2f8454['register']({'resolve':(_0x7bd653,_0x48f623)=>{const _0x4e01ca=_0x54346a;var _0x3dfab4;return((_0x3dfab4=_0x48f623[_0x4e01ca(0x1f1)])==null?void 0x0:_0x3dfab4['filter'](_0x4ba9ca)['map'](_0x5c0cb2=>({'startOffset':_0x5c0cb2[_0x4e01ca(0x27e)],'endOffset':_0x5c0cb2[_0x4e01ca(0x1d8)]+0x1,'text':this[_0x4e01ca(0x29f)](_0x7bd653,_0x5c0cb2[_0x4e01ca(0x261)])})))??[];}})),this['disposeWithMe'](this[_0x54346a(0x1b0)]['presentationChanged$']['subscribe'](({unitId:_0x29c4eb})=>{const _0x26e4b2=_0x54346a;_0x2f8454[_0x26e4b2(0x1d9)](_0x29c4eb);}));}[_0x52bb1c(0x29f)](_0x3f5408,_0x5731a2){const _0x50d7b0=_0x52bb1c;var _0x2f4a37;return((_0x2f4a37=this['_formulaService'][_0x50d7b0(0x285)]({'unitId':_0x3f5408,'rangeId':_0x5731a2}))==null?void 0x0:_0x2f4a37['text'])??'';}[_0x52bb1c(0x24a)](_0x110ad4,_0x5c3d53,_0x1ee892){const _0x2c12d6=_0x52bb1c;var _0x514490;let _0x1c14a6=this[_0x2c12d6(0x2b6)]['getUnit'](_0x110ad4,_0x32657f[_0x2c12d6(0x225)]['UNIVER_DOC']),_0x3a747c=_0x1c14a6==null?void 0x0:_0x1c14a6['getBody']();if(!_0x3a747c)return'';let _0x44cd80=_0x3a747c[_0x2c12d6(0x265)][_0x2c12d6(0x2a7)](_0x5c3d53,_0x1ee892),_0x5bda2f=((_0x514490=_0x3a747c[_0x2c12d6(0x1f1)])==null?void 0x0:_0x514490[_0x2c12d6(0x1ec)](_0x203199=>_0x4ba9ca(_0x203199)&&_0x203199[_0x2c12d6(0x27e)]>=_0x5c3d53&&_0x203199[_0x2c12d6(0x1d8)]<_0x1ee892)[_0x2c12d6(0x275)]((_0x1f6c2c,_0x34b939)=>_0x34b939['startIndex']-_0x1f6c2c[_0x2c12d6(0x27e)]))??[];for(let _0x1522e4 of _0x5bda2f){let _0x3e0c44=_0x1522e4['startIndex']-_0x5c3d53,_0x13828b=_0x1522e4[_0x2c12d6(0x1d8)]-_0x5c3d53+0x1;_0x44cd80=''+_0x44cd80[_0x2c12d6(0x2a7)](0x0,_0x3e0c44)+this['resolveFormula'](_0x110ad4,_0x1522e4[_0x2c12d6(0x261)])+_0x44cd80[_0x2c12d6(0x2a7)](_0x13828b);}return _0x44cd80;}[_0x52bb1c(0x196)](_0x3a71b2){return _0x1f1976(_0x3a71b2);}[_0x52bb1c(0x252)](_0x5e74fe,_0x232409,_0x3e8fd4={}){const _0x16f3dc=_0x52bb1c;var _0x4fedb6;return _0x4c0c7d({'id':_0x5e74fe,'body':_0x232409,'documentStyle':{}},(((_0x4fedb6=_0x232409['customRanges'])==null?void 0x0:_0x4fedb6[_0x16f3dc(0x1ec)](_0x4ba9ca))??[])[_0x16f3dc(0x264)](_0xc3a0c3=>({'rangeId':_0xc3a0c3['rangeId'],'text':_0x3e8fd4[_0xc3a0c3[_0x16f3dc(0x261)]]??this[_0x16f3dc(0x29f)](_0x5e74fe,_0xc3a0c3['rangeId'])})))[_0x16f3dc(0x21e)]??{'dataStream':''};}};_0xebb1de=_0x4e9cbe([_0x3ed90f(0x0,_0x32657f[_0x52bb1c(0x1dc)]),_0x3ed90f(0x1,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0x1a1090)),_0x3ed90f(0x2,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0xcd982f[_0x52bb1c(0x18e)]))],_0xebb1de);function _0x1f1976(_0x20b42d){const _0x4e27d8=_0x52bb1c;var _0x1a7bbc,_0x4d0c92;let _0x306f7b=_0x357a48(_0x20b42d),_0x4c99d3=_0x4c0c7d(_0x20b42d,(((_0x1a7bbc=_0x20b42d['body'])==null||(_0x1a7bbc=_0x1a7bbc[_0x4e27d8(0x1f1)])==null?void 0x0:_0x1a7bbc[_0x4e27d8(0x1ec)](_0x4ba9ca))??[])[_0x4e27d8(0x264)](_0x324f2a=>({'rangeId':_0x324f2a[_0x4e27d8(0x261)],'text':_0x10ef2c(_0x306f7b==null?void 0x0:_0x306f7b[_0x4e27d8(0x23c)][_0x324f2a[_0x4e27d8(0x261)]])})));return _0x4c99d3[_0x4e27d8(0x25e)]=(_0x4d0c92=_0x4c99d3[_0x4e27d8(0x25e)])==null?void 0x0:_0x4d0c92[_0x4e27d8(0x1ec)](_0x4a7847=>_0x4a7847[_0x4e27d8(0x1a3)]!==_0x46790f),_0x4c99d3;}function _0x357a48(_0x54533c){const _0x2ffec5=_0x52bb1c;var _0x241a26;let _0x5a6fbb=(_0x241a26=_0x54533c[_0x2ffec5(0x25e)])==null||(_0x241a26=_0x241a26[_0x2ffec5(0x182)](_0x179757=>_0x179757[_0x2ffec5(0x1a3)]===_0x2ffec5(0x1eb)))==null?void 0x0:_0x241a26[_0x2ffec5(0x213)];if(_0x5a6fbb)try{let _0x1c115b=JSON['parse'](_0x5a6fbb);return _0x365aed(_0x1c115b)?_0x1c115b:void 0x0;}catch{return;}}function _0x10ef2c(_0x2e0093){const _0x18ad6f=_0x52bb1c;return _0x2e0093?(0x0,_0x480561[_0x18ad6f(0x224)])({'lastValue':_0x2e0093[_0x18ad6f(0x1ee)],'numberFormat':_0x2e0093[_0x18ad6f(0x212)]})[_0x18ad6f(0x179)]:'';}let _0x1e1efe=class extends _0x32657f[_0x52bb1c(0x279)]{constructor(_0x175914,_0x1ad3fe,_0x463607){const _0x4b1560=_0x52bb1c;super(),this[_0x4b1560(0x1b0)]=_0x175914,this[_0x4b1560(0x26d)]=_0x1ad3fe,this[_0x4b1560(0x22b)](_0x463607[_0x4b1560(0x229)](this));}[_0x52bb1c(0x200)](_0x21fff7){const _0x1cb727=_0x52bb1c;let _0x256d1c=new Map();for(let _0x19dead of this[_0x1cb727(0x1b0)]['getRegisteredFormulas']()){var _0x136277;if(!this[_0x1cb727(0x26d)][_0x1cb727(0x288)](_0x19dead[_0x1cb727(0x2b4)][_0x1cb727(0x28d)],_0x19dead[_0x1cb727(0x1df)])[_0x1cb727(0x21f)])continue;let _0x55795c=(0x0,_0x480561[_0x1cb727(0x230)])(_0x19dead[_0x1cb727(0x1df)]),_0x364ca4=_0x55795c?(0x0,_0x480561[_0x1cb727(0x231)])(_0x55795c):null;if(!_0x364ca4||_0x43a6e2(_0x19dead[_0x1cb727(0x2b4)][_0x1cb727(0x1ee)],_0x364ca4))continue;let _0x8653a4=_0x256d1c[_0x1cb727(0x2aa)](_0x19dead['identity']['unitId'])??[];_0x8653a4[_0x1cb727(0x185)]({'rangeId':_0x19dead[_0x1cb727(0x19b)]['rangeId'],'expectedFormula':_0x19dead[_0x1cb727(0x2b4)][_0x1cb727(0x28d)],'expectedNumberFormat':(_0x136277=_0x19dead[_0x1cb727(0x2b4)]['numberFormat'])==null?void 0x0:_0x136277[_0x1cb727(0x28f)],'expectedReferenceRevision':_0x19dead['referenceRevision'],'lastValue':_0x364ca4}),_0x256d1c[_0x1cb727(0x1d1)](_0x19dead[_0x1cb727(0x19b)]['unitId'],_0x8653a4);}return Array[_0x1cb727(0x29d)](_0x256d1c,([_0x542b26,_0x3e59ef])=>({'id':_0x11c380['id'],'params':{'unitId':_0x542b26,'updates':_0x3e59ef}}));}};_0x1e1efe=_0x4e9cbe([_0x3ed90f(0x0,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0x1a1090)),_0x3ed90f(0x1,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0x480561[_0x52bb1c(0x262)])),_0x3ed90f(0x2,(0x0,_0x32657f['Inject'])(_0x480561[_0x52bb1c(0x1fe)]))],_0x1e1efe);function _0x43a6e2(_0x35af0b,_0x2788bf){const _0x55187a=_0x52bb1c;return(_0x35af0b==null?void 0x0:_0x35af0b['v'])===_0x2788bf['v']&&(_0x35af0b==null?void 0x0:_0x35af0b['t'])===_0x2788bf['t']&&(_0x35af0b==null?void 0x0:_0x35af0b[_0x55187a(0x28f)])===_0x2788bf[_0x55187a(0x28f)];}let _0x471cb0=class extends _0x32657f['Plugin']{constructor(_0x5a8ed9=_0x5425fd,_0x7856f6,_0x9f1a4e,_0x5363ad){const _0x49838f=_0x52bb1c;super(),this[_0x49838f(0x22c)]=_0x5a8ed9,this['_injector']=_0x7856f6,this[_0x49838f(0x1d0)]=_0x9f1a4e,this[_0x49838f(0x1b8)]=_0x5363ad;let {..._0x34b40c}=(0x0,_0x32657f[_0x49838f(0x19c)])({},_0x5425fd,this[_0x49838f(0x22c)]);this[_0x49838f(0x1b8)][_0x49838f(0x2b0)](_0x49838f(0x1d3),_0x34b40c);}['onStarting'](){const _0x2e9ef0=_0x52bb1c;this[_0x2e9ef0(0x2a5)]['add']([_0x3284cf]),this['_injector']['add']([_0x1a1090]),this[_0x2e9ef0(0x2a5)]['add']([_0x1d12b6]),this[_0x2e9ef0(0x2a5)][_0x2e9ef0(0x293)]([_0x421dfb]),this[_0x2e9ef0(0x2a5)][_0x2e9ef0(0x293)]([_0x1e1efe]),this['_injector'][_0x2e9ef0(0x293)]([_0xebb1de]),(0x0,_0x32657f[_0x2e9ef0(0x219)])(this[_0x2e9ef0(0x2a5)],[[_0x3284cf],[_0x1d12b6],[_0x421dfb],[_0x1e1efe],[_0xebb1de]]),[_0x113c36,_0x52f817,_0x5dbd60,_0x11c380,_0x55c3eb,_0x585a65,_0x35d343,_0x1c4695,_0x34d0f5,_0x5830f4][_0x2e9ef0(0x23d)](_0x4b8d60=>this['disposeWithMe'](this[_0x2e9ef0(0x1d0)][_0x2e9ef0(0x20f)](_0x4b8d60)));}};_0x1bc6a5(_0x471cb0,'pluginName',_0x46790f),_0x1bc6a5(_0x471cb0,'packageName',_0xc242cf),_0x1bc6a5(_0x471cb0,'version',_0xe5ddd),_0x1bc6a5(_0x471cb0,'type',_0x32657f['UniverInstanceType'][_0x52bb1c(0x2c1)]),_0x471cb0=_0x4e9cbe([(0x0,_0x32657f['DependentOn'])(_0x58da12[_0x52bb1c(0x1a6)],_0x480561[_0x52bb1c(0x1b7)],_0xcd982f['UniverDocsPlugin']),_0x3ed90f(0x1,(0x0,_0x32657f[_0x52bb1c(0x215)])(_0x32657f[_0x52bb1c(0x18f)])),_0x3ed90f(0x2,_0x32657f[_0x52bb1c(0x25c)]),_0x3ed90f(0x3,_0x32657f[_0x52bb1c(0x192)])],_0x471cb0),_0x21093e[_0x52bb1c(0x2bd)]=_0x5830f4,_0x21093e[_0x52bb1c(0x1d2)]=_0x55ae50,_0x21093e[_0x52bb1c(0x27b)]='',_0x21093e[_0x52bb1c(0x1eb)]=_0x46790f,_0x21093e[_0x52bb1c(0x17f)]=0x1,Object[_0x52bb1c(0x226)](_0x21093e,_0x52bb1c(0x2b9),{'enumerable':!0x0,'get':function(){return _0xebb1de;}}),Object[_0x52bb1c(0x226)](_0x21093e,_0x52bb1c(0x1e6),{'enumerable':!0x0,'get':function(){return _0x421dfb;}}),_0x21093e[_0x52bb1c(0x292)]=_0x3284cf,Object[_0x52bb1c(0x226)](_0x21093e,'DocFormulaResourceController',{'enumerable':!0x0,'get':function(){return _0x1d12b6;}}),_0x21093e[_0x52bb1c(0x202)]=_0x32ef10,Object[_0x52bb1c(0x226)](_0x21093e,_0x52bb1c(0x240),{'enumerable':!0x0,'get':function(){return _0x1a1090;}}),_0x21093e['InsertDocFormulaCommand']=_0x55c3eb,_0x21093e[_0x52bb1c(0x24f)]=_0x5034f5,_0x21093e['RemoveDocFormulaCommand']=_0x1c4695,_0x21093e['RemoveDocFormulaMutation']=_0x52f817,_0x21093e[_0x52bb1c(0x291)]=_0x34d0f5,_0x21093e['SetDocFormulaLastValuesMutation']=_0x11c380,_0x21093e[_0x52bb1c(0x1d4)]=_0x113c36,_0x21093e[_0x52bb1c(0x1f2)]=_0x35d343,_0x21093e[_0x52bb1c(0x246)]=_0x5dbd60,Object['defineProperty'](_0x21093e,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x471cb0;}}),_0x21093e[_0x52bb1c(0x26b)]=_0x585a65,_0x21093e['assertSafeDocFormulaInsertRange']=_0x36e707,_0x21093e[_0x52bb1c(0x1f8)]=_0x512cee,_0x21093e[_0x52bb1c(0x232)]=_0x36e57e,_0x21093e['buildUpdateDocFormulaActions']=_0x35033b,_0x21093e[_0x52bb1c(0x24c)]=_0x40a441,_0x21093e[_0x52bb1c(0x277)]=_0x1f1976,_0x21093e[_0x52bb1c(0x1aa)]=_0x271abe,_0x21093e[_0x52bb1c(0x287)]=_0x451e15,_0x21093e[_0x52bb1c(0x1af)]=_0x4ba9ca,_0x21093e[_0x52bb1c(0x1db)]=_0x365aed,_0x21093e[_0x52bb1c(0x23b)]=_0x46e15a;}));function _0x3f10(_0x1dfe8f,_0x29323c){_0x1dfe8f=_0x1dfe8f-0x178;const _0x56e590=_0x56e5();let _0x3f1087=_0x56e590[_0x1dfe8f];return _0x3f1087;}function _0x56e5(){const _0x215e2c=['replaceDocRanges','_hostExternalReferenceModel','DOC_FORMULA_SCHEMA_VERSION','_model','DocSelectionManagerService','find','type','CustomRangeType','push','_syncUnit','DataStreamTreeTokenType','CUSTOM_BLOCK','length','docs-formula.command.update','IUndoRedoService','_updateFormulaResult','DOC','DocTextResolverService','Injector','2553318qgvKbV','textRuns','IConfigService','docs-formula.command.replace-with-text','_docFormulaModel','IResourceManagerService','degradeDocumentData','@univerjs-pro/docs-formula','isArray','symbol','empty','identity','merge','CellValueType','startOffset','@univerjs/engine-formula','undoMutation','entries','resolveHostFormulaExternalReferences','name','asObservable','docs-formula.mutation.set-last-values','UniverLicensePlugin','BLOCK_END','resolveBinding','customDecorations','findDocFormulaRange','trim','COMMAND','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','externalReferences','isDocFormulaRange','_formulaService','cell','getInstance','register','position','registerFormulaWithRange','docs-formula.command.convert-to-text','UniverProFormulaEnginePlugin','_configService','unitAdded$','shiftExclusiveRangeOnInsert','parse','nextResource','unitId','accessor','amd','resolved','documentData','stale','unitDisposed$','getFormulas','_pendingUnitIds','HostExternalReferenceModel','1224248rECgot','deepClone','@univerjs-pro/license','clear','insert','sectionBreaks','FormulaResultStatus','exports','success','_commandService','set','DOC_FORMULA_CUSTOM_RANGE_KIND','docs-formula.config','SetDocFormulaMutation','onCommandExecuted','serialize','_deleteRegistration','endIndex','notifyTextChanged','TextX','isDocFormulaResource','IUniverInstanceService','redoMutation','blockRanges','liveResult','buildUpsertHostExternalReferenceMutations','some','RegisterOtherFormulaService','_instanceService','setFormulas','TABLE_END','DocFormulaLifecycleController','sequenceNodesBuilder','EMPTY','presentation','_registrationService','DOC_FORMULA_PLUGIN','filter','_resources','lastValue','MUTATION','getRevision','customRanges','SetDocFormulaNumberFormatCommand','getPresentation','insertLength','1.0.0-beta.0','UniverCore','826678MofdXD','buildInsertDocFormulaActions','getAllUnitsForType','iterator','_rawResources','814116XZYVnF','change$','FormulaLastValuePersistenceService','Tools','collectMutations','_syncScheduled','DocFormulaResultStatus','toPrimitive','getUnitId','getFormula','includes','_resourceManagerService','TABLE_CELL_END','error','1442397qfBZxv','complete','paragraphId','formulaResult$','_presentationChanged$','registerCommand','load','unsupported-version','numberFormat','data','135387aUASfo','Inject','call','resourceRedo','setFormula','touchDependencies','model','endsWith','_change$','shiftInclusiveRangeOnInsert','body','eligible','paragraphs','segmentId','_loadErrors','getSnapshot','resolveFormulaResultPresentation','UniverInstanceType','defineProperty','object','startsWith','registerProvider','getRichTextEditPath','disposeWithMe','_config','CUSTOM','docs-formula.command.insert','customBlocks','getScalarFormulaResultCell','toFormulaLastValue','buildRemoveDocFormulaActions','unregisterUnit','getUnit','shiftInclusiveRangeOnDelete','string','decorate','pending','LexerTreeBuilder','resourceUndo','isFormulaLastValue','formulas','forEach','start','getOwnPropertyDescriptor','DocFormulaService','TABLE_ROW_END','number','UniverProLicense','expectedFormula','boolean','SetDocFormulaResourceMutation','assign','externalMutations','univer-docs-formula','resolveText','stringify','createEmptyDocFormulaResource','@univerjs/core','selection','InvalidDocFormulaInsertRangeError','fromEntries','max','degradeBody','UniverProEngineFormula','docs-formula.mutation.remove-formula','values','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','COLUMN_GROUP_END','endOffset','isInteger','getCustomRangeInterval','SUCCESS','ICommandService','RichTextEditingMutation','resources','columnGroups','_registrations','rangeId','FormulaCacheEligibilityService','dispose','map','dataStream','params','document','JSONX','_service','previousDocumentData','UpdateDocFormulaCommand','rxjs','_cacheEligibilityService','constructor','removeFormula','generateRandomId','documentRedo','_isDisposed','tables','syncExecuteCommand','sort','Subject','degradeDocFormulaDocumentData','deleteLength','Disposable','BLOCK_START','DOC_FORMULA_OBJECT_REPLACEMENT','docs-formula.command.set-number-format','every','startIndex','408BiujGn','expectedNumberFormat','trigger','nextDocumentData','CommandType','@univerjs/docs','getResult','resource','isDocFormulaConfig','assess','getParagraphContentStartOffset','TABLE_ROW_START','Module','COLUMN_START','formula','getTextRanges','pattern','status','ReplaceDocFormulaWithTextCommand','DocFormulaModel','add','deleteFormula','syncUnit','getFormulaValueSync','_setPresentation','kind','UniverEngineFormula','target','keys','39970EJHOkg','from','shiftExclusiveRangeOnDelete','resolveFormula','color','min','_preserveInvalid','properties','paragraph','_injector','COLUMN_GROUP_START','slice','presentationChanged$','TABLE_CELL_START','get','schemaVersion','@univerjs-pro/engine-formula','removeUnit','UniverDocs','end','setConfig','function','referenceRevision','PARAGRAPH','config','retain','_univerInstanceService','unregister','setResource','DocFormulaDisplayTextService','5jXfJIa','has','prototype','ConvertDocFormulaToTextCommand','ERROR','_queueSync','getBodySliceForTextXAction','UNIVER_DOC','disabled','toStringTag','delete','next','getRegisteredFormulas','range','pushUndoRedo','getResource','_formulaKeys','getLoadError','formulaId','cursorOffset','text','editOp','subscribe','docs-formula.command.remove'];_0x56e5=function(){return _0x215e2c;};return _0x56e5();}
|
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-beta.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
|
|
66
|
-
"@univerjs/
|
|
67
|
-
"@univerjs/
|
|
68
|
-
"@univerjs/
|
|
64
|
+
"@univerjs-pro/engine-formula": "1.0.0-beta.0",
|
|
65
|
+
"@univerjs/core": "1.0.0-beta.0",
|
|
66
|
+
"@univerjs-pro/license": "1.0.0-beta.0",
|
|
67
|
+
"@univerjs/docs": "1.0.0-beta.0",
|
|
68
|
+
"@univerjs/engine-formula": "1.0.0-beta.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"rxjs": "7.8.2",
|
|
72
72
|
"typescript": "^6.0.3",
|
|
73
73
|
"vitest": "^4.1.10",
|
|
74
|
-
"@univerjs-
|
|
75
|
-
"@univerjs/
|
|
74
|
+
"@univerjs/engine-render": "1.0.0-beta.0",
|
|
75
|
+
"@univerjs-infra/shared": "1.0.0-beta.0"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"test": "vitest run",
|