@univerjs-pro/docs-formula 1.1.0 → 1.3.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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x546c(_0x41ee64,_0x10925c){_0x41ee64=_0x41ee64-0x140;const _0x540dfe=_0x540d();let _0x546c12=_0x540dfe[_0x41ee64];return _0x546c12;}function _0x540d(){const _0x2e7565=['decorate','DataStreamTreeTokenType','externalReferences','docs-formula.mutation.remove-formula','_docFormulaModel','some','deepClone','_formulaKeys','parse','change$','lastValue','2411352oXdScU','invalid-resource','isInteger','success','entries','_commandService','_syncScheduled','_resourceManagerService','endIndex','values','CustomRangeType','TextX','text','docs-formula.config','trigger','CUSTOM','DOC_FORMULA_PLUGIN','DocFormulaDisplayTextService','sectionBreaks','complete','resolveFormula','trim','getRichTextEditPath','onCommandExecuted','columnGroups','1.1.0','register','unsupported-version','string','getSnapshot','generateRandomId','getBodySliceForTextXAction','symbol','_model','BLOCK_START','registerPluginResource','forEach','UniverDocs','segmentId','_registrationService','empty','deleteFormula','setFormulas','boolean','find','getResource','next','endOffset','Subject','DependentOn','previousResource','insertLength','start','accessor','pluginName','updates','_formulaService','collectMutations','_updateFormulaResult','from','sort','getCustomRangeInterval','dataStream','map','paragraphs','removeFormula','unregister','UniverInstanceType','formula','liveResult','17559NSlJbL','UniverProLicense','wholeEntity','DOC_FORMULA_CUSTOM_RANGE_KIND','_rawResources','HostExternalReferenceModel','resources','5GuCGMj','1811772yEINjW','_service','load','disabled','externalMutations','referenceRevision','Disposable','length','formulaId','default','SECTION_BREAK','nextDocumentData','delete','model','expectedReferenceRevision','rxjs','amd','toFormulaLastValue','IUniverInstanceService','documentData','findDocFormulaRange','degradeBody','_loadErrors','_syncUnit','_setPresentation','COMMAND','setFormula','clear','presentation','@univerjs-pro/engine-formula','merge','range','add','ConvertDocFormulaToTextCommand','FormulaCacheEligibilityService','_registrations','UNIVER_DOC','RemoveDocFormulaCommand','_cacheEligibilityService','_resources','FormulaResultStatus','getFormulaValueSync','paragraphId','@univerjs-pro/license','_config','rangeId','shiftInclusiveRangeOnInsert','getUnitId','4213215hgfrDf','packageName','serialize','replaceDocRanges','identity','UniverEngineFormula','getRevision','_queueSync','RegisterOtherFormulaService','keys','call','docs-formula.command.set-number-format','slice','color','getUnit','tables','selection','syncExecuteCommand','DOC','deleteLength','documentRedo','CUSTOM_BLOCK','UniverProFormulaEnginePlugin','fromEntries','@univerjs/core','_preserveInvalid','univer-docs-formula','getScalarFormulaResultCell','document','references','pattern','@univerjs/engine-formula','registerProvider','getPresentation','resourceRedo','assign','isFormulaLastValue','expectedFormula','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','IResourceManagerService','customRanges','previousDocumentData','751919KwVbxq','config','getOwnPropertyDescriptor','stringify','COLUMN_GROUP_END','version','ICommandService','asObservable','isDocFormulaConfig','exports','customDecorations','docs-formula.command.remove','DocSelectionManagerService','paragraph','subscribe','COLUMN_START','IUndoRedoService','@univerjs-pro/docs-formula','resource','DocFormulaResourceController','error','body','resolved','undoMutation','getAllUnitsForType','MUTATION','UniverProDocsFormula','isArray','set','notifyTextChanged','defineProperty','setConfig','_univerInstanceService','_presentationChanged$','RichTextEditingMutation','expectedNumberFormat','ERROR','degradeDocumentData','docs-formula.command.convert-to-text','number','data','setResource','type','COLUMN_END','max','registerCommand','cell','getFormula','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','EMPTY','unitAdded$','startsWith','@univerjs/docs','docs-formula.command.insert','min','touchDependencies','_hostExternalReferenceModel','startIndex','presentationChanged$','unitId','name','createEmptyDocFormulaResource','end','DocFormulaModel','retain','DocFormulaLifecycleController','_isDisposed','UniverCore','iterator','UniverProEngineFormula','CommandType','object','_change$','nextResource','unregisterUnit','function','blockRanges','LexerTreeBuilder','every','resolveHostFormulaExternalReferences','registerFormulaWithRange','redoMutation','getResult','resourceUndo','docs-formula.mutation.set-last-values','customBlocks','SUCCESS','UniverDocsFormulaPlugin','_instanceService','_configService','dispose','resolveBinding','buildUpdateDocFormulaActions','schemaVersion','154ZVIZHd','buildUpsertHostExternalReferenceMutations','OtherFormulaBizType','Injector','getLoadError','numberFormat','_deleteRegistration','SetDocFormulaResourceMutation','DOC_FORMULA_SCHEMA_VERSION','startOffset','Tools','pushUndoRedo','removeUnit','position','Inject','FormulaLastValuePersistenceService','_injector','has','Module','buildInsertDocFormulaActions','18AthHxo','resolveText','textRuns','115404meOkYK','getFormulas','RemoveDocFormulaMutation','degradeDocFormulaDocumentData','get','TABLE_START','cursorOffset','properties','source','PENDING','SetDocFormulaMutation','ReplaceDocFormulaWithTextCommand','pending','resolveFormulaResultPresentation','status','syncUnit','SetDocFormulaLastValuesMutation','_pendingUnitIds','params','COLUMN_GROUP_START','disposeWithMe','9863570rmoZWI','includes','stale','formulas','target','filter','constructor','UpdateDocFormulaCommand','docs-formula.command.update'];_0x540d=function(){return _0x2e7565;};return _0x540d();}(function(_0x4b80f8,_0x4a3fdf){const _0x94f0c0=_0x546c,_0x3e22c2=_0x4b80f8();while(!![]){try{const _0x836688=-parseInt(_0x94f0c0(0x1bb))/0x1+-parseInt(_0x94f0c0(0x1a4))/0x2*(-parseInt(_0x94f0c0(0x22a))/0x3)+-parseInt(_0x94f0c0(0x232))/0x4*(-parseInt(_0x94f0c0(0x231))/0x5)+-parseInt(_0x94f0c0(0x1b8))/0x6*(-parseInt(_0x94f0c0(0x146))/0x7)+-parseInt(_0x94f0c0(0x1e4))/0x8+parseInt(_0x94f0c0(0x262))/0x9+-parseInt(_0x94f0c0(0x1d0))/0xa;if(_0x836688===_0x4a3fdf)break;else _0x3e22c2['push'](_0x3e22c2['shift']());}catch(_0x1cc9f1){_0x3e22c2['push'](_0x3e22c2['shift']());}}}(_0x540d,0x4700e),function(_0xbab9f,_0x265de6){const _0x5eef5f=_0x546c;typeof exports=='object'&&typeof module<'u'?_0x265de6(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x5eef5f(0x191)&&define[_0x5eef5f(0x242)]?define([_0x5eef5f(0x14f),_0x5eef5f(0x24f),_0x5eef5f(0x27a),_0x5eef5f(0x17a),_0x5eef5f(0x281),_0x5eef5f(0x241),_0x5eef5f(0x25d)],_0x265de6):(_0xbab9f=typeof globalThis<'u'?globalThis:_0xbab9f||self,_0x265de6(_0xbab9f[_0x5eef5f(0x160)]={},_0xbab9f[_0x5eef5f(0x18b)],_0xbab9f[_0x5eef5f(0x189)],_0xbab9f[_0x5eef5f(0x209)],_0xbab9f[_0x5eef5f(0x267)],_0xbab9f[_0x5eef5f(0x241)],_0xbab9f[_0x5eef5f(0x22b)]));}(this,function(_0xb9a124,_0x4c3070,_0x589ba5,_0x3f1694,_0x5d5308,_0x299af7,_0x305e99){const _0x3a09b9=_0x546c;Object[_0x3a09b9(0x164)](_0xb9a124,Symbol['toStringTag'],{'value':_0x3a09b9(0x1b6)});let _0x33fb70='DOC_FORMULA_PLUGIN',_0x3914c0=_0x3a09b9(0x27c);function _0x4e6d45(){return{'schemaVersion':0x1,'formulas':{}};}function _0x4fcbf3(_0x419b2a){const _0x2ac264=_0x3a09b9;return!_0x419b2a||typeof _0x419b2a!=_0x2ac264(0x18d)||!_0x32e964(_0x419b2a,[_0x2ac264(0x1a3),'formulas'])||!('schemaVersion'in _0x419b2a)||_0x419b2a[_0x2ac264(0x1a3)]!==0x1||!(_0x2ac264(0x1d3)in _0x419b2a)||!_0x419b2a['formulas']||typeof _0x419b2a['formulas']!=_0x2ac264(0x18d)||Array[_0x2ac264(0x161)](_0x419b2a[_0x2ac264(0x1d3)])?!0x1:Object[_0x2ac264(0x1e8)](_0x419b2a[_0x2ac264(0x1d3)])[_0x2ac264(0x194)](([_0x39614d,_0x61da3a])=>_0x39614d[_0x2ac264(0x239)]>0x0&&_0x372fdd(_0x61da3a));}function _0x372fdd(_0x3af759){const _0x399efd=_0x3a09b9;return!_0x3af759||typeof _0x3af759!=_0x399efd(0x18d)||!_0x32e964(_0x3af759,['formula',_0x399efd(0x1a9),_0x399efd(0x1e3)])||!(_0x399efd(0x228)in _0x3af759)||typeof _0x3af759['formula']!=_0x399efd(0x200)||!_0x3af759[_0x399efd(0x228)][_0x399efd(0x1f9)]()||_0x399efd(0x1a9)in _0x3af759&&_0x3af759['numberFormat']!=null&&(typeof _0x3af759['numberFormat']!=_0x399efd(0x18d)||!_0x32e964(_0x3af759[_0x399efd(0x1a9)],[_0x399efd(0x280)])||!(_0x399efd(0x280)in _0x3af759['numberFormat'])||typeof _0x3af759['numberFormat']['pattern']!=_0x399efd(0x200))?!0x1:!(_0x399efd(0x1e3)in _0x3af759)||_0x3af759[_0x399efd(0x1e3)]==null||_0x282418(_0x3af759['lastValue']);}function _0x282418(_0x1ffa89){const _0x44aa96=_0x3a09b9;return!_0x1ffa89||typeof _0x1ffa89!=_0x44aa96(0x18d)||!_0x32e964(_0x1ffa89,['v','t',_0x44aa96(0x280)])||!('v'in _0x1ffa89)||_0x1ffa89['v']!==null&&typeof _0x1ffa89['v']!=_0x44aa96(0x200)&&typeof _0x1ffa89['v']!=_0x44aa96(0x16d)&&typeof _0x1ffa89['v']!=_0x44aa96(0x20f)||'t'in _0x1ffa89&&_0x1ffa89['t']!=null&&!_0x25741e(_0x1ffa89['t'])?!0x1:!(_0x44aa96(0x280)in _0x1ffa89)||_0x1ffa89[_0x44aa96(0x280)]==null||typeof _0x1ffa89[_0x44aa96(0x280)]=='string';}function _0x32e964(_0x2576a4,_0x374370){const _0x235260=_0x3a09b9;let _0x8e1a8f=new Set(_0x374370);return Object[_0x235260(0x26b)](_0x2576a4)['every'](_0xb49775=>_0x8e1a8f[_0x235260(0x1b5)](_0xb49775));}function _0x25741e(_0xb0bcbe){const _0x3d30cc=_0x3a09b9;return typeof _0xb0bcbe==_0x3d30cc(0x16d)&&Object[_0x3d30cc(0x1ed)](_0x589ba5['CellValueType'])[_0x3d30cc(0x1d1)](_0xb0bcbe);}let _0x57fb54=new Set([_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x23c)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x1c0)],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_ROW_START'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_CELL_START'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_CELL_END'],_0x589ba5['DataStreamTreeTokenType']['TABLE_ROW_END'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_END'],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x1ce)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x155)],_0x589ba5['DataStreamTreeTokenType'][_0x3a09b9(0x171)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x14a)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x206)],_0x589ba5[_0x3a09b9(0x1da)]['BLOCK_END'],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x277)]]);var _0x1c3d3b=class extends Error{constructor(){const _0x189f0c=_0x3a09b9;super(_0x189f0c(0x142));}};function _0x38fc78(_0x5b8cb7){const _0x355a97=_0x3a09b9;var _0x409a73,_0x28ceb4;let _0x5b30c9=_0x589ba5[_0x355a97(0x1ae)][_0x355a97(0x1df)](_0x5b8cb7[_0x355a97(0x245)]),_0x269c9d=_0xe8dc64(_0x5b30c9),{startOffset:_0x36e092,endOffset:_0x5921ad}=_0x94c03c(_0x269c9d,_0x5b8cb7['startOffset'],_0x5b8cb7['endOffset']);_0x5a8223(_0x269c9d,_0x36e092,_0x5921ad);let _0x1f0a55=((_0x409a73=_0x269c9d['customRanges'])==null?void 0x0:_0x409a73[_0x355a97(0x1d5)](_0x1ab68d=>{const _0x477d83=_0x355a97;if(!_0x4e62d2(_0x1ab68d))return!0x1;let _0x5d48f7=(0x0,_0x589ba5[_0x477d83(0x221)])(_0x1ab68d);return _0x5d48f7['endOffset']>_0x36e092&&_0x5d48f7['startOffset']<_0x5921ad;})[_0x355a97(0x223)](_0x5286b2=>_0x5286b2[_0x355a97(0x25f)]))??[];_0x9e1f8f(_0x269c9d,_0x36e092,_0x5921ad,''),_0x269c9d[_0x355a97(0x144)]=[...((_0x28ceb4=_0x269c9d[_0x355a97(0x144)])==null?void 0x0:_0x28ceb4[_0x355a97(0x1d5)](_0x56c13c=>!_0x1f0a55[_0x355a97(0x1d1)](_0x56c13c[_0x355a97(0x25f)])&&_0x56c13c[_0x355a97(0x25f)]!==_0x5b8cb7['rangeId']))??[],_0x5e2901(_0x5b8cb7[_0x355a97(0x25f)],_0x36e092)][_0x355a97(0x220)]((_0xf89696,_0x52d555)=>_0xf89696[_0x355a97(0x17f)]-_0x52d555['startIndex']);let _0x3a636f=_0x4c7e93(_0x5b8cb7[_0x355a97(0x158)]);return _0x1f0a55[_0x355a97(0x208)](_0x47f3e2=>{const _0x4b516=_0x355a97;delete _0x3a636f[_0x4b516(0x1d3)][_0x47f3e2];}),_0x3a636f[_0x355a97(0x1d3)][_0x5b8cb7[_0x355a97(0x25f)]]=_0x589ba5[_0x355a97(0x1ae)][_0x355a97(0x1df)](_0x5b8cb7[_0x355a97(0x147)]),{'nextDocumentData':_0x5b30c9,'nextResource':_0x3a636f,'cursorOffset':_0x36e092+0x1};}function _0x448c17(_0x148fc7){const _0x168771=_0x3a09b9;var _0x5d9717,_0x3ab9b5;let _0x4ea200=_0x589ba5['Tools'][_0x168771(0x1df)](_0x148fc7[_0x168771(0x245)]),_0x4503ab=(_0x5d9717=_0xe8dc64(_0x4ea200)[_0x168771(0x144)])==null?void 0x0:_0x5d9717[_0x168771(0x210)](_0x2eb70f=>_0x2eb70f[_0x168771(0x25f)]===_0x148fc7[_0x168771(0x25f)]&&_0x4e62d2(_0x2eb70f));if(!_0x4503ab||!((_0x3ab9b5=_0x148fc7[_0x168771(0x158)])!=null&&_0x3ab9b5[_0x168771(0x1d3)][_0x148fc7['rangeId']]))return null;let _0x519b4f=_0x4c7e93(_0x148fc7['resource']);return _0x519b4f[_0x168771(0x1d3)][_0x148fc7['rangeId']]=_0x589ba5[_0x168771(0x1ae)][_0x168771(0x1df)](_0x148fc7[_0x168771(0x147)]),{'nextDocumentData':_0x4ea200,'nextResource':_0x519b4f,'cursorOffset':_0x4503ab[_0x168771(0x1ec)]+0x1};}function _0x273d39(_0x3b792e){const _0x5c5705=_0x3a09b9;let _0x5b8e04=_0x589ba5[_0x5c5705(0x1ae)][_0x5c5705(0x1df)](_0x3b792e[_0x5c5705(0x245)]),_0x3c4bca=_0x414dca(_0x5b8e04,_0x3b792e[_0x5c5705(0x25f)],_0x3b792e[_0x5c5705(0x1f0)]??'');if(_0x3c4bca==null)return null;let _0x138822=_0x4c7e93(_0x3b792e['resource']);return delete _0x138822['formulas'][_0x3b792e[_0x5c5705(0x25f)]],{'nextDocumentData':_0x5b8e04,'nextResource':_0x138822,'cursorOffset':_0x3c4bca};}function _0x3a2210(_0x4573ea,_0x3d73b7){const _0xb08034=_0x3a09b9;var _0x3bd45c;let _0x497862=_0x589ba5[_0xb08034(0x1ae)][_0xb08034(0x1df)](_0x4573ea),_0x530c7c=_0x497862['body'];if(!_0x530c7c)return _0x497862;let _0x4a2ede=new Map(_0x3d73b7[_0xb08034(0x223)](_0x2b0be7=>[_0x2b0be7['rangeId'],_0x2b0be7[_0xb08034(0x1f0)]])),_0x16c3a7=((_0x3bd45c=_0x530c7c[_0xb08034(0x144)])==null?void 0x0:_0x3bd45c[_0xb08034(0x1d5)](_0x4241bd=>_0x4e62d2(_0x4241bd)&&_0x4a2ede[_0xb08034(0x1b5)](_0x4241bd['rangeId']))[_0xb08034(0x220)]((_0x394dea,_0x396fee)=>_0x396fee['startIndex']-_0x394dea[_0xb08034(0x17f)]))??[];for(let _0x265d98 of _0x16c3a7)_0x414dca(_0x497862,_0x265d98[_0xb08034(0x25f)],_0x4a2ede['get'](_0x265d98[_0xb08034(0x25f)])??'');return _0x497862;}function _0x4e62d2(_0x5eaeb5){const _0x1f7caa=_0x3a09b9;var _0x2c1182;return(_0x5eaeb5==null?void 0x0:_0x5eaeb5['rangeType'])===_0x589ba5['CustomRangeType'][_0x1f7caa(0x1f3)]&&_0x5eaeb5[_0x1f7caa(0x22c)]===!0x0&&((_0x2c1182=_0x5eaeb5[_0x1f7caa(0x1c2)])==null?void 0x0:_0x2c1182['kind'])===_0x1f7caa(0x27c);}function _0x432e46(_0x102a64,_0x54394c){const _0x2fc73c=_0x3a09b9;var _0x147c09;return _0x102a64==null||(_0x147c09=_0x102a64[_0x2fc73c(0x144)])==null?void 0x0:_0x147c09[_0x2fc73c(0x210)](_0x410fd5=>_0x410fd5['rangeId']===_0x54394c&&_0x4e62d2(_0x410fd5));}function _0x5a8223(_0x1670de,_0x14dcdb,_0x34b8d2){const _0x225640=_0x3a09b9;if(_0x14dcdb===_0x34b8d2){if(_0x57fb54[_0x225640(0x1b5)](_0x1670de[_0x225640(0x222)][_0x14dcdb]))throw new _0x1c3d3b();}else{for(let _0x580856=_0x14dcdb;_0x580856<_0x34b8d2;_0x580856++)if(_0x1670de[_0x225640(0x222)][_0x580856]===_0x589ba5[_0x225640(0x1da)]['PARAGRAPH']||_0x57fb54['has'](_0x1670de[_0x225640(0x222)][_0x580856]))throw new _0x1c3d3b();}}function _0x5e2901(_0x529067,_0x24ebeb){const _0x437241=_0x3a09b9;return{'startIndex':_0x24ebeb,'endIndex':_0x24ebeb,'rangeId':_0x529067,'rangeType':_0x589ba5[_0x437241(0x1ee)]['CUSTOM'],'wholeEntity':!0x0,'properties':{'kind':_0x3914c0}};}function _0x4c7e93(_0x1ef479){const _0x50c7cd=_0x3a09b9;return _0x1ef479?_0x589ba5[_0x50c7cd(0x1ae)][_0x50c7cd(0x1df)](_0x1ef479):_0x4e6d45();}function _0x94c03c(_0x4145df,_0x2b68c5,_0x46ad02){const _0x202176=_0x3a09b9;let _0x45c98e=_0xb7c92a(_0x4145df),_0xe28e79=_0x2b68c5??_0x45c98e,_0x2f5e27=_0x46ad02??_0xe28e79;return{'startOffset':_0x50c23e(Math[_0x202176(0x17c)](_0xe28e79,_0x2f5e27),_0x45c98e),'endOffset':_0x50c23e(Math[_0x202176(0x172)](_0xe28e79,_0x2f5e27),_0x45c98e)};}function _0x50c23e(_0x53883a,_0x59d41a){const _0x1182b7=_0x3a09b9;return Math[_0x1182b7(0x172)](0x0,Math['min'](_0x53883a,_0x59d41a));}function _0xb7c92a(_0x46b119){const _0xc4516b=_0x3a09b9;return _0x46b119[_0xc4516b(0x222)]['endsWith'](''+_0x589ba5[_0xc4516b(0x1da)]['PARAGRAPH']+_0x589ba5[_0xc4516b(0x1da)]['SECTION_BREAK'])?Math[_0xc4516b(0x172)](0x0,_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)]-0x2):_0x46b119[_0xc4516b(0x222)]['endsWith'](_0x589ba5[_0xc4516b(0x1da)]['SECTION_BREAK'])?Math['max'](0x0,_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)]-0x1):_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)];}function _0x9e1f8f(_0xe14d15,_0x53271b,_0x138bc4,_0x2ae031){_0x138bc4>_0x53271b&&_0x4b674d(_0xe14d15,_0x53271b,_0x138bc4),_0x2e3610(_0xe14d15,_0x53271b,_0x2ae031);}function _0x414dca(_0xd68f52,_0x570396,_0x51c0fb){const _0x54e3e1=_0x3a09b9;var _0x3d8855,_0x2443cc;let _0x3a0261=_0xe8dc64(_0xd68f52),_0x59ed7a=(_0x3d8855=_0x3a0261[_0x54e3e1(0x144)])==null?void 0x0:_0x3d8855[_0x54e3e1(0x210)](_0x52554c=>_0x52554c[_0x54e3e1(0x25f)]===_0x570396&&_0x4e62d2(_0x52554c));if(!_0x59ed7a)return null;let _0x5d4408=(0x0,_0x589ba5[_0x54e3e1(0x221)])(_0x59ed7a);return _0x9e1f8f(_0x3a0261,_0x5d4408[_0x54e3e1(0x1ad)],_0x5d4408[_0x54e3e1(0x213)],_0x51c0fb),_0x3a0261[_0x54e3e1(0x144)]=(_0x2443cc=_0x3a0261[_0x54e3e1(0x144)])==null?void 0x0:_0x2443cc[_0x54e3e1(0x1d5)](_0x5bd42a=>_0x5bd42a[_0x54e3e1(0x25f)]!==_0x570396),_0x5d4408[_0x54e3e1(0x1ad)]+_0x51c0fb['length'];}function _0x2e3610(_0x47a7ef,_0x1631c0,_0x1804c5){const _0x22ae9a=_0x3a09b9;_0x1804c5&&(_0x47a7ef['dataStream']=''+_0x47a7ef[_0x22ae9a(0x222)]['slice'](0x0,_0x1631c0)+_0x1804c5+_0x47a7ef[_0x22ae9a(0x222)][_0x22ae9a(0x26e)](_0x1631c0),_0xf3584c(_0x47a7ef,_0x1631c0,_0x1804c5[_0x22ae9a(0x239)]));}function _0x4b674d(_0x2c6ad0,_0x4d90df,_0x1dcf16){const _0xfef88b=_0x3a09b9;let _0x32d101=_0x1dcf16-_0x4d90df;_0x2c6ad0[_0xfef88b(0x222)]=''+_0x2c6ad0[_0xfef88b(0x222)][_0xfef88b(0x26e)](0x0,_0x4d90df)+_0x2c6ad0[_0xfef88b(0x222)][_0xfef88b(0x26e)](_0x1dcf16),_0x506a56(_0x2c6ad0,_0x4d90df,_0x32d101);}function _0xf3584c(_0x587dee,_0x46c946,_0x6276b2){const _0x25d9bd=_0x3a09b9;_0x587dee[_0x25d9bd(0x224)]=_0x198623(_0x587dee[_0x25d9bd(0x224)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1f6)]=_0x198623(_0x587dee[_0x25d9bd(0x1f6)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x19b)]=_0x198623(_0x587dee[_0x25d9bd(0x19b)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1ba)]=_0xe8e696(_0x587dee[_0x25d9bd(0x1ba)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x271)]=_0x568458(_0x587dee[_0x25d9bd(0x271)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1fc)]=_0x40261b(_0x587dee['columnGroups'],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x144)]=_0x40261b(_0x587dee[_0x25d9bd(0x144)],_0x46c946,_0x6276b2),_0x587dee['customDecorations']=_0x40261b(_0x587dee[_0x25d9bd(0x150)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x192)]=_0x40261b(_0x587dee[_0x25d9bd(0x192)],_0x46c946,_0x6276b2);}function _0x506a56(_0x43e3fb,_0x4f278e,_0x33ef0e){const _0x3e94ab=_0x3a09b9;var _0x1f73d6,_0x5b183a;_0x43e3fb[_0x3e94ab(0x224)]=_0x2792ac(_0x43e3fb[_0x3e94ab(0x224)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1f6)]=_0x2792ac(_0x43e3fb[_0x3e94ab(0x1f6)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x19b)]=_0x2792ac(_0x43e3fb['customBlocks'],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1ba)]=(_0x1f73d6=_0x3c6977((_0x5b183a=_0x43e3fb[_0x3e94ab(0x1ba)])==null?void 0x0:_0x5b183a[_0x3e94ab(0x223)](_0x3d9e11=>({..._0x3d9e11,'startIndex':_0x3d9e11['st'],'endIndex':_0x3d9e11['ed']})),_0x4f278e,_0x33ef0e))==null?void 0x0:_0x1f73d6[_0x3e94ab(0x223)](_0x196e7b=>{let {startIndex:_0x3d443a,endIndex:_0x1c2957,..._0x15ff36}=_0x196e7b;return{..._0x15ff36,'st':_0x3d443a,'ed':_0x1c2957};}),_0x43e3fb[_0x3e94ab(0x271)]=_0x3c6977(_0x43e3fb[_0x3e94ab(0x271)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1fc)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x1fc)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x144)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x144)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x150)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x150)],_0x4f278e,_0x33ef0e),_0x43e3fb['blockRanges']=_0xa5127c(_0x43e3fb[_0x3e94ab(0x192)],_0x4f278e,_0x33ef0e);}function _0x198623(_0x45a81a,_0x4e9a6e,_0x3b3f3c){const _0x5849ea=_0x3a09b9;return _0x45a81a==null?void 0x0:_0x45a81a['map'](_0x3b4d71=>_0x3b4d71[_0x5849ea(0x17f)]>=_0x4e9a6e?{..._0x3b4d71,'startIndex':_0x3b4d71[_0x5849ea(0x17f)]+_0x3b3f3c}:_0x3b4d71);}function _0x2792ac(_0x30daa9,_0x1f08d7,_0x320965){const _0x4776f6=_0x3a09b9;let _0x1483b4=_0x1f08d7+_0x320965;return _0x30daa9==null?void 0x0:_0x30daa9[_0x4776f6(0x223)](_0x174da8=>_0x174da8[_0x4776f6(0x17f)]>=_0x1f08d7&&_0x174da8['startIndex']<_0x1483b4?null:_0x174da8[_0x4776f6(0x17f)]>=_0x1483b4?{..._0x174da8,'startIndex':_0x174da8[_0x4776f6(0x17f)]-_0x320965}:_0x174da8)['filter'](_0x2065dd=>_0x2065dd!=null);}function _0xe8e696(_0xe343d5,_0x6957b5,_0x25c583){return _0xe343d5==null?void 0x0:_0xe343d5['map'](_0x2bb648=>_0x2bb648['st']>=_0x6957b5?{..._0x2bb648,'st':_0x2bb648['st']+_0x25c583,'ed':_0x2bb648['ed']+_0x25c583}:_0x2bb648['ed']>_0x6957b5?{..._0x2bb648,'ed':_0x2bb648['ed']+_0x25c583}:_0x2bb648);}function _0x40261b(_0x111f52,_0x255735,_0x148f2d){const _0x1f6d21=_0x3a09b9;return _0x111f52==null?void 0x0:_0x111f52['map'](_0x39a8f3=>(0x0,_0x589ba5[_0x1f6d21(0x260)])(_0x39a8f3,_0x255735,_0x148f2d));}function _0x568458(_0x201bcf,_0x5602e6,_0x50f37d){return _0x201bcf==null?void 0x0:_0x201bcf['map'](_0x485be6=>(0x0,_0x589ba5['shiftExclusiveRangeOnInsert'])(_0x485be6,_0x5602e6,_0x50f37d));}function _0xa5127c(_0x10d556,_0x3ce2ac,_0x5dad0a){const _0x4607a8=_0x3a09b9;return _0x10d556==null?void 0x0:_0x10d556[_0x4607a8(0x223)](_0x484b8c=>(0x0,_0x589ba5['shiftInclusiveRangeOnDelete'])(_0x484b8c,_0x3ce2ac,_0x5dad0a))[_0x4607a8(0x1d5)](_0x3cd37c=>_0x3cd37c!=null);}function _0x3c6977(_0x12102d,_0x47d496,_0x369523){const _0x5dd76b=_0x3a09b9;return _0x12102d==null?void 0x0:_0x12102d[_0x5dd76b(0x223)](_0x3de8cc=>(0x0,_0x589ba5['shiftExclusiveRangeOnDelete'])(_0x3de8cc,_0x47d496,_0x369523))[_0x5dd76b(0x1d5)](_0x25ac81=>_0x25ac81!=null);}function _0xe8dc64(_0x463e51){const _0x1d1423=_0x3a09b9;if(!_0x463e51[_0x1d1423(0x15b)])throw Error(_0x1d1423(0x176));return _0x463e51[_0x1d1423(0x15b)];}function _0x251e22(_0xbdeff9){'@babel/helpers - typeof';const _0x4856a4=_0x3a09b9;return _0x251e22=typeof Symbol==_0x4856a4(0x191)&&typeof Symbol[_0x4856a4(0x18a)]=='symbol'?function(_0x2f6292){return typeof _0x2f6292;}:function(_0x354922){const _0x49132d=_0x4856a4;return _0x354922&&typeof Symbol==_0x49132d(0x191)&&_0x354922[_0x49132d(0x1d6)]===Symbol&&_0x354922!==Symbol['prototype']?_0x49132d(0x204):typeof _0x354922;},_0x251e22(_0xbdeff9);}function _0x382ace(_0x42a6cc,_0xa47b){const _0x18e884=_0x3a09b9;if(_0x251e22(_0x42a6cc)!=_0x18e884(0x18d)||!_0x42a6cc)return _0x42a6cc;var _0x213884=_0x42a6cc[Symbol['toPrimitive']];if(_0x213884!==void 0x0){var _0x7bba9d=_0x213884[_0x18e884(0x26c)](_0x42a6cc,_0xa47b||_0x18e884(0x23b));if(_0x251e22(_0x7bba9d)!=_0x18e884(0x18d))return _0x7bba9d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xa47b===_0x18e884(0x200)?String:Number)(_0x42a6cc);}function _0x32051d(_0x1ca7ca){const _0x17f7af=_0x3a09b9;var _0x52a3c9=_0x382ace(_0x1ca7ca,_0x17f7af(0x200));return _0x251e22(_0x52a3c9)==_0x17f7af(0x204)?_0x52a3c9:_0x52a3c9+'';}function _0x3433aa(_0x2b59d7,_0x1257ee,_0x53ffaf){const _0x1034dd=_0x3a09b9;return(_0x1257ee=_0x32051d(_0x1257ee))in _0x2b59d7?Object[_0x1034dd(0x164)](_0x2b59d7,_0x1257ee,{'value':_0x53ffaf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2b59d7[_0x1257ee]=_0x53ffaf,_0x2b59d7;}var _0x5334e8=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(..._0x2e9604){const _0x216c68=_0x3a09b9;super(..._0x2e9604),_0x3433aa(this,_0x216c68(0x259),new Map()),_0x3433aa(this,_0x216c68(0x22e),new Map()),_0x3433aa(this,'_loadErrors',new Map()),_0x3433aa(this,_0x216c68(0x18e),new _0x299af7[(_0x216c68(0x214))]()),_0x3433aa(this,_0x216c68(0x1e2),this[_0x216c68(0x18e)]['asObservable']());}['getFormula'](_0x53802c,_0x13c82a){const _0x2d6ba4=_0x3a09b9;var _0x370415;let _0x19dd7b=(_0x370415=this['_resources'][_0x2d6ba4(0x1bf)](_0x53802c))==null?void 0x0:_0x370415['formulas'][_0x13c82a];return _0x19dd7b?_0x589ba5[_0x2d6ba4(0x1ae)][_0x2d6ba4(0x1df)](_0x19dd7b):void 0x0;}[_0x3a09b9(0x1bc)](_0x398474){const _0x29109b=_0x3a09b9;var _0x26cdfe;return _0x589ba5['Tools'][_0x29109b(0x1df)](((_0x26cdfe=this[_0x29109b(0x259)][_0x29109b(0x1bf)](_0x398474))==null?void 0x0:_0x26cdfe[_0x29109b(0x1d3)])??{});}[_0x3a09b9(0x211)](_0x37c1de){const _0x352ec3=_0x3a09b9;let _0x211631=this['_resources']['get'](_0x37c1de);return _0x211631?_0x589ba5[_0x352ec3(0x1ae)][_0x352ec3(0x1df)](_0x211631):void 0x0;}[_0x3a09b9(0x24c)](_0x40f63f,_0x4e8ae7,_0x564629){return this['setFormulas'](_0x40f63f,{[_0x4e8ae7]:_0x564629});}[_0x3a09b9(0x16f)](_0x1ea416,_0xa6d18e){const _0x35e9a7=_0x3a09b9;return this[_0x35e9a7(0x248)]['has'](_0x1ea416)||!_0x4fcbf3(_0xa6d18e)?!0x1:(this['_resources'][_0x35e9a7(0x162)](_0x1ea416,_0x589ba5[_0x35e9a7(0x1ae)][_0x35e9a7(0x1df)](_0xa6d18e)),this[_0x35e9a7(0x18e)]['next']({'unitId':_0x1ea416}),!0x0);}[_0x3a09b9(0x20e)](_0x41033e,_0x109d2f){const _0x3dd07b=_0x3a09b9;if(this[_0x3dd07b(0x248)]['has'](_0x41033e)||!Object[_0x3dd07b(0x26b)](_0x109d2f)['length']||!_0x4fcbf3({'schemaVersion':0x1,'formulas':_0x109d2f}))return!0x1;let _0x37053d=this[_0x3dd07b(0x259)][_0x3dd07b(0x1bf)](_0x41033e)??_0x4e6d45(),_0x2ac417=_0x589ba5['Tools'][_0x3dd07b(0x1df)](_0x37053d);return Object[_0x3dd07b(0x285)](_0x2ac417[_0x3dd07b(0x1d3)],_0x589ba5[_0x3dd07b(0x1ae)][_0x3dd07b(0x1df)](_0x109d2f)),this[_0x3dd07b(0x259)][_0x3dd07b(0x162)](_0x41033e,_0x2ac417),this['_change$']['next']({'unitId':_0x41033e,'rangeIds':Object[_0x3dd07b(0x26b)](_0x109d2f)}),!0x0;}[_0x3a09b9(0x225)](_0x5cde25,_0x19471f){const _0x4a91a6=_0x3a09b9;if(this['_loadErrors'][_0x4a91a6(0x1b5)](_0x5cde25))return!0x1;let _0xdaf555=this[_0x4a91a6(0x259)]['get'](_0x5cde25);if(!(_0xdaf555!=null&&_0xdaf555[_0x4a91a6(0x1d3)][_0x19471f]))return!0x1;let _0x1a2596=_0x589ba5['Tools'][_0x4a91a6(0x1df)](_0xdaf555);return delete _0x1a2596[_0x4a91a6(0x1d3)][_0x19471f],this['_resources'][_0x4a91a6(0x162)](_0x5cde25,_0x1a2596),this[_0x4a91a6(0x18e)][_0x4a91a6(0x212)]({'unitId':_0x5cde25,'rangeIds':[_0x19471f]}),!0x0;}[_0x3a09b9(0x234)](_0x189375,_0x4ecb78){const _0x34f269=_0x3a09b9;return _0x4ecb78&&typeof _0x4ecb78==_0x34f269(0x18d)&&_0x34f269(0x1a3)in _0x4ecb78&&_0x4ecb78[_0x34f269(0x1a3)]!==0x1?(this[_0x34f269(0x27b)](_0x189375,_0x4ecb78,_0x34f269(0x1ff)),!0x1):_0x4fcbf3(_0x4ecb78)?(this[_0x34f269(0x259)][_0x34f269(0x162)](_0x189375,_0x589ba5[_0x34f269(0x1ae)][_0x34f269(0x1df)](_0x4ecb78)),this[_0x34f269(0x22e)][_0x34f269(0x23e)](_0x189375),this['_loadErrors'][_0x34f269(0x23e)](_0x189375),this[_0x34f269(0x18e)][_0x34f269(0x212)]({'unitId':_0x189375}),!0x0):(this[_0x34f269(0x27b)](_0x189375,_0x4ecb78,_0x34f269(0x1e5)),!0x1);}['serialize'](_0x43427d){const _0x3e561b=_0x3a09b9;let _0x5ed6bd=this[_0x3e561b(0x259)]['get'](_0x43427d);return _0x5ed6bd?_0x589ba5['Tools'][_0x3e561b(0x1df)](_0x5ed6bd):this['_rawResources']['has'](_0x43427d)?_0x589ba5['Tools'][_0x3e561b(0x1df)](this[_0x3e561b(0x22e)][_0x3e561b(0x1bf)](_0x43427d)):_0x4e6d45();}[_0x3a09b9(0x1a8)](_0x9bb704){const _0x27a595=_0x3a09b9;return this['_loadErrors'][_0x27a595(0x1bf)](_0x9bb704);}['removeUnit'](_0x47d2de){const _0x2103a6=_0x3a09b9;this[_0x2103a6(0x259)][_0x2103a6(0x23e)](_0x47d2de),this[_0x2103a6(0x22e)][_0x2103a6(0x23e)](_0x47d2de),this[_0x2103a6(0x248)]['delete'](_0x47d2de),this[_0x2103a6(0x18e)][_0x2103a6(0x212)]({'unitId':_0x47d2de});}[_0x3a09b9(0x1a0)](){const _0x432f40=_0x3a09b9;this[_0x432f40(0x259)]['clear'](),this[_0x432f40(0x22e)]['clear'](),this['_loadErrors'][_0x432f40(0x24d)](),this[_0x432f40(0x18e)]['complete'](),super['dispose']();}[_0x3a09b9(0x27b)](_0x4e50d7,_0x36da0d,_0x592a9c){const _0x506d94=_0x3a09b9;this[_0x506d94(0x259)][_0x506d94(0x23e)](_0x4e50d7),this[_0x506d94(0x22e)]['set'](_0x4e50d7,_0x589ba5[_0x506d94(0x1ae)][_0x506d94(0x1df)](_0x36da0d)),this[_0x506d94(0x248)][_0x506d94(0x162)](_0x4e50d7,_0x592a9c),this[_0x506d94(0x18e)][_0x506d94(0x212)]({'unitId':_0x4e50d7});}};let _0x104b08=function(_0x70f549){const _0x541ce2=_0x3a09b9;return _0x70f549[_0x541ce2(0x177)]=_0x541ce2(0x20c),_0x70f549[_0x541ce2(0x1c4)]=_0x541ce2(0x1c7),_0x70f549[_0x541ce2(0x19c)]=_0x541ce2(0x1e7),_0x70f549[_0x541ce2(0x16a)]='error',_0x70f549;}({});function _0x3773bf(_0x1eac82,_0x42b68f){return function(_0x1b9eea,_0x2975e2){_0x42b68f(_0x1b9eea,_0x2975e2,_0x1eac82);};}function _0x2cfc4a(_0x198ece,_0x40d5f8,_0x5333ee,_0x1d1741){const _0x35ccc3=_0x3a09b9;var _0x2167a4=arguments[_0x35ccc3(0x239)],_0x30ef4b=_0x2167a4<0x3?_0x40d5f8:_0x1d1741===null?_0x1d1741=Object[_0x35ccc3(0x148)](_0x40d5f8,_0x5333ee):_0x1d1741,_0x3e0422;if(typeof Reflect==_0x35ccc3(0x18d)&&typeof Reflect['decorate']==_0x35ccc3(0x191))_0x30ef4b=Reflect[_0x35ccc3(0x1d9)](_0x198ece,_0x40d5f8,_0x5333ee,_0x1d1741);else{for(var _0x217670=_0x198ece['length']-0x1;_0x217670>=0x0;_0x217670--)(_0x3e0422=_0x198ece[_0x217670])&&(_0x30ef4b=(_0x2167a4<0x3?_0x3e0422(_0x30ef4b):_0x2167a4>0x3?_0x3e0422(_0x40d5f8,_0x5333ee,_0x30ef4b):_0x3e0422(_0x40d5f8,_0x5333ee))||_0x30ef4b);}return _0x2167a4>0x3&&_0x30ef4b&&Object[_0x35ccc3(0x164)](_0x40d5f8,_0x5333ee,_0x30ef4b),_0x30ef4b;}let _0x1afbc3=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0xc79f0a,_0x1cf1c7,_0x5a4ae4){const _0x6b62b0=_0x3a09b9;super(),this[_0x6b62b0(0x205)]=_0xc79f0a,this[_0x6b62b0(0x20b)]=_0x1cf1c7,this[_0x6b62b0(0x17e)]=_0x5a4ae4,_0x3433aa(this,_0x6b62b0(0x255),new Map()),_0x3433aa(this,_0x6b62b0(0x1e0),new Map()),_0x3433aa(this,'_presentationChanged$',new _0x299af7[(_0x6b62b0(0x214))]()),_0x3433aa(this,_0x6b62b0(0x180),this['_presentationChanged$'][_0x6b62b0(0x14d)]()),this[_0x6b62b0(0x1cf)](this[_0x6b62b0(0x20b)]['formulaResult$']['subscribe'](_0x2ae510=>{const _0x1f57ea=_0x6b62b0;for(let _0x5e12af of Object['values'](_0x2ae510))for(let _0x402059 of Object[_0x1f57ea(0x1ed)](_0x5e12af))_0x402059[_0x1f57ea(0x208)](_0x367c22=>this['_updateFormulaResult'](_0x367c22));}));}[_0x3a09b9(0x1ca)](_0x53bef2){const _0x2eed7f=_0x3a09b9;var _0x3ca8c9;let _0x1a5135=_0x53bef2[_0x2eed7f(0x261)](),_0x2ec7e7=((_0x3ca8c9=_0x53bef2['getSnapshot']()[_0x2eed7f(0x15b)])==null||(_0x3ca8c9=_0x3ca8c9[_0x2eed7f(0x144)])==null?void 0x0:_0x3ca8c9[_0x2eed7f(0x1d5)](_0x4e62d2))??[],_0x1f3362=this[_0x2eed7f(0x205)][_0x2eed7f(0x1bc)](_0x1a5135),_0x50bd94=new Set();for(let _0x522a78 of _0x2ec7e7){let _0x3b9dae=_0x1f3362[_0x522a78[_0x2eed7f(0x25f)]];_0x3b9dae&&(_0x50bd94[_0x2eed7f(0x252)](_0x41cfd3(_0x1a5135,_0x522a78[_0x2eed7f(0x25f)])),this['register']({'unitId':_0x1a5135,'rangeId':_0x522a78['rangeId']},_0x3b9dae));}for(let _0x3080f2 of Array[_0x2eed7f(0x21f)](this[_0x2eed7f(0x255)][_0x2eed7f(0x1ed)]()))_0x3080f2[_0x2eed7f(0x181)]===_0x1a5135&&!_0x50bd94[_0x2eed7f(0x1b5)](_0x41cfd3(_0x3080f2[_0x2eed7f(0x181)],_0x3080f2[_0x2eed7f(0x25f)]))&&this[_0x2eed7f(0x226)](_0x3080f2);}[_0x3a09b9(0x1fe)](_0x51497c,_0x3aca84){const _0x144142=_0x3a09b9;let _0x19a18d=_0x41cfd3(_0x51497c[_0x144142(0x181)],_0x51497c[_0x144142(0x25f)]),_0x2fcbaf=this['_registrations'][_0x144142(0x1bf)](_0x19a18d),_0x1511f8=this['_hostExternalReferenceModel']['getRevision'](_0x51497c[_0x144142(0x181)]);if(_0x2fcbaf&&_0x2fcbaf[_0x144142(0x147)][_0x144142(0x228)]===_0x3aca84[_0x144142(0x228)]&&_0x2fcbaf[_0x144142(0x237)]===_0x1511f8){_0x2fcbaf['config']=_0x3aca84;let _0x421a3d=_0x2fcbaf[_0x144142(0x23a)]?this[_0x144142(0x20b)][_0x144142(0x25b)](_0x2fcbaf[_0x144142(0x181)],_0x2fcbaf[_0x144142(0x181)],_0x2fcbaf['formulaId'])??void 0x0:void 0x0;_0x2fcbaf[_0x144142(0x229)]=_0x421a3d,this[_0x144142(0x24a)](_0x19a18d,_0x5917ab(_0x3aca84,_0x421a3d));return;}_0x2fcbaf!=null&&_0x2fcbaf[_0x144142(0x23a)]&&this[_0x144142(0x1aa)](_0x2fcbaf);let _0x4c8465={..._0x51497c,'config':_0x3aca84,'referenceRevision':_0x1511f8,'presentation':_0x5917ab(_0x3aca84,void 0x0)};if(this['_registrations'][_0x144142(0x162)](_0x19a18d,_0x4c8465),!_0x3aca84['formula'][_0x144142(0x1f9)]())return;let _0x4e4aac=this[_0x144142(0x20b)][_0x144142(0x196)](_0x51497c['unitId'],_0x51497c[_0x144142(0x181)],_0x3aca84['formula'],void 0x0,{'rangeId':_0x51497c[_0x144142(0x25f)]},_0x5d5308[_0x144142(0x1a6)][_0x144142(0x274)],_0x51497c['rangeId']);_0x4c8465[_0x144142(0x23a)]=_0x4e4aac,this['_formulaKeys'][_0x144142(0x162)](_0x4e4aac,_0x19a18d);}[_0x3a09b9(0x226)](_0x3d4503){const _0x4b1336=_0x3a09b9;let _0x21926e=_0x41cfd3(_0x3d4503[_0x4b1336(0x181)],_0x3d4503['rangeId']),_0x270603=this[_0x4b1336(0x255)][_0x4b1336(0x1bf)](_0x21926e);_0x270603&&(this['_deleteRegistration'](_0x270603),this['_registrations']['delete'](_0x21926e));}['unregisterUnit'](_0x4e46d6){const _0x578115=_0x3a09b9;for(let _0x3b7a89 of Array[_0x578115(0x21f)](this[_0x578115(0x255)]['values']()))_0x3b7a89[_0x578115(0x181)]===_0x4e46d6&&this[_0x578115(0x226)](_0x3b7a89);}[_0x3a09b9(0x283)](_0x4bd5e9){const _0x128263=_0x3a09b9;var _0x3a1189;return(_0x3a1189=this[_0x128263(0x255)][_0x128263(0x1bf)](_0x41cfd3(_0x4bd5e9['unitId'],_0x4bd5e9['rangeId'])))==null?void 0x0:_0x3a1189[_0x128263(0x24e)];}[_0x3a09b9(0x198)](_0x2e2103){const _0x393fa8=_0x3a09b9;let _0x3b57b3=this[_0x393fa8(0x255)][_0x393fa8(0x1bf)](_0x41cfd3(_0x2e2103[_0x393fa8(0x181)],_0x2e2103[_0x393fa8(0x25f)]));return _0x3b57b3?_0x24847a(_0x3b57b3):void 0x0;}['getRegisteredFormulas'](){const _0x493158=_0x3a09b9;return Array[_0x493158(0x21f)](this[_0x493158(0x255)][_0x493158(0x1ed)](),_0x2f9e25=>({'identity':{'unitId':_0x2f9e25['unitId'],'rangeId':_0x2f9e25[_0x493158(0x25f)]},'config':_0x2f9e25['config'],'referenceRevision':_0x2f9e25[_0x493158(0x237)],..._0x2f9e25[_0x493158(0x229)]?{'liveResult':_0x2f9e25[_0x493158(0x229)]}:null}));}[_0x3a09b9(0x1a0)](){const _0x26c7e3=_0x3a09b9;for(let _0x5c5da7 of this[_0x26c7e3(0x255)][_0x26c7e3(0x1ed)]())this[_0x26c7e3(0x1aa)](_0x5c5da7);this[_0x26c7e3(0x255)][_0x26c7e3(0x24d)](),this[_0x26c7e3(0x1e0)][_0x26c7e3(0x24d)](),this[_0x26c7e3(0x167)][_0x26c7e3(0x1f7)](),super[_0x26c7e3(0x1a0)]();}[_0x3a09b9(0x21e)](_0x581ce1){const _0x8abce1=_0x3a09b9;let _0x137e35=this['_formulaKeys'][_0x8abce1(0x1bf)](_0x581ce1[_0x8abce1(0x23a)]),_0x46379c=_0x137e35?this[_0x8abce1(0x255)]['get'](_0x137e35):void 0x0;_0x137e35&&_0x46379c&&(_0x46379c[_0x8abce1(0x229)]=_0x581ce1,this['_setPresentation'](_0x137e35,_0x5917ab(_0x46379c[_0x8abce1(0x147)],_0x581ce1)));}[_0x3a09b9(0x24a)](_0x722aca,_0xe42360){const _0x4e186e=_0x3a09b9;var _0x18550e,_0x45120f;let _0x59a6dd=this['_registrations'][_0x4e186e(0x1bf)](_0x722aca);if(!_0x59a6dd||_0x1ebbf4(_0x59a6dd['presentation'],_0xe42360))return;let _0x4b96ce=_0x59a6dd[_0x4e186e(0x24e)],_0x122a75=_0x24847a(_0x59a6dd);_0x59a6dd[_0x4e186e(0x24e)]=_0xe42360,this[_0x4e186e(0x167)][_0x4e186e(0x212)]({'unitId':_0x59a6dd[_0x4e186e(0x181)],'rangeId':_0x59a6dd[_0x4e186e(0x25f)],'presentation':_0xe42360,'previousPresentation':_0x4b96ce,'result':_0x24847a(_0x59a6dd),'previousResult':{..._0x122a75,..._0x4b96ce,'value':(_0x18550e=_0x4b96ce[_0x4e186e(0x174)])==null?void 0x0:_0x18550e['v'],'valueType':((_0x45120f=_0x4b96ce[_0x4e186e(0x174)])==null?void 0x0:_0x45120f['t'])??void 0x0}});}[_0x3a09b9(0x1aa)](_0x38d658){const _0x2c2448=_0x3a09b9;_0x38d658[_0x2c2448(0x23a)]&&(this[_0x2c2448(0x20b)][_0x2c2448(0x20d)](_0x38d658[_0x2c2448(0x181)],_0x38d658[_0x2c2448(0x181)],[_0x38d658[_0x2c2448(0x23a)]]),this[_0x2c2448(0x1e0)][_0x2c2448(0x23e)](_0x38d658['formulaId']));}};_0x1afbc3=_0x2cfc4a([_0x3773bf(0x0,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8)),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5d5308[_0x3a09b9(0x26a)])),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x22f)]))],_0x1afbc3);function _0x41cfd3(_0x573569,_0x42d38f){return _0x573569+'\x00'+_0x42d38f;}function _0x5917ab(_0x3f9b8f,_0x4ee2d9){const _0x1d5801=_0x3a09b9;return(0x0,_0x4c3070[_0x1d5801(0x1c8)])({'numberFormat':_0x3f9b8f[_0x1d5801(0x1a9)],'lastValue':_0x3f9b8f[_0x1d5801(0x1e3)],'result':_0x4ee2d9});}function _0x24847a(_0x590d5b){const _0x137fc1=_0x3a09b9;var _0x4b343b,_0x54f8f9,_0x346022;let _0x1938a0=_0x590d5b[_0x137fc1(0x24e)],_0x1b636e=_0x590d5b['config'][_0x137fc1(0x228)][_0x137fc1(0x1f9)]()?_0x1938a0[_0x137fc1(0x1d2)]||_0x1938a0[_0x137fc1(0x174)]==null?'pending':((_0x4b343b=_0x590d5b[_0x137fc1(0x229)])==null?void 0x0:_0x4b343b[_0x137fc1(0x1c9)])===_0x5d5308[_0x137fc1(0x25a)][_0x137fc1(0x16a)]?_0x137fc1(0x15a):_0x137fc1(0x1e7):_0x137fc1(0x20c);return{..._0x1938a0,'status':_0x1b636e,'value':(_0x54f8f9=_0x1938a0[_0x137fc1(0x174)])==null?void 0x0:_0x54f8f9['v'],'valueType':((_0x346022=_0x1938a0['cell'])==null?void 0x0:_0x346022['t'])??void 0x0};}function _0x1ebbf4(_0x216924,_0x23eee1){const _0x51bfe7=_0x3a09b9;var _0x5dea96,_0x3edd32,_0x197c04,_0x504597;return _0x216924[_0x51bfe7(0x1f0)]===_0x23eee1['text']&&_0x216924[_0x51bfe7(0x26f)]===_0x23eee1['color']&&_0x216924[_0x51bfe7(0x280)]===_0x23eee1[_0x51bfe7(0x280)]&&_0x216924[_0x51bfe7(0x1c3)]===_0x23eee1[_0x51bfe7(0x1c3)]&&_0x216924[_0x51bfe7(0x1d2)]===_0x23eee1[_0x51bfe7(0x1d2)]&&((_0x5dea96=_0x216924[_0x51bfe7(0x174)])==null?void 0x0:_0x5dea96['t'])===((_0x3edd32=_0x23eee1['cell'])==null?void 0x0:_0x3edd32['t'])&&Object['is']((_0x197c04=_0x216924[_0x51bfe7(0x174)])==null?void 0x0:_0x197c04['v'],(_0x504597=_0x23eee1[_0x51bfe7(0x174)])==null?void 0x0:_0x504597['v']);}let _0x5181a6={'id':'docs-formula.mutation.set-formula','type':_0x589ba5['CommandType'][_0x3a09b9(0x15f)],'handler':(_0x33966e,_0x5e045f)=>!(_0x5e045f!=null&&_0x5e045f[_0x3a09b9(0x181)])||!_0x5e045f['rangeId']||!_0x5e045f[_0x3a09b9(0x147)]?!0x1:_0x33966e['get'](_0x5334e8)[_0x3a09b9(0x24c)](_0x5e045f[_0x3a09b9(0x181)],_0x5e045f[_0x3a09b9(0x25f)],_0x5e045f[_0x3a09b9(0x147)])},_0x1a9e4c={'id':_0x3a09b9(0x1dc),'type':_0x589ba5['CommandType'][_0x3a09b9(0x15f)],'handler':(_0x59007a,_0x4a4393)=>!(_0x4a4393!=null&&_0x4a4393[_0x3a09b9(0x181)])||!_0x4a4393[_0x3a09b9(0x25f)]?!0x1:_0x59007a[_0x3a09b9(0x1bf)](_0x5334e8)[_0x3a09b9(0x225)](_0x4a4393[_0x3a09b9(0x181)],_0x4a4393['rangeId'])},_0x397705={'id':'docs-formula.mutation.set-resource','type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x15f)],'handler':(_0x254622,_0x2ca995)=>!(_0x2ca995!=null&&_0x2ca995[_0x3a09b9(0x181)])||!_0x2ca995[_0x3a09b9(0x158)]?!0x1:_0x254622[_0x3a09b9(0x1bf)](_0x5334e8)[_0x3a09b9(0x16f)](_0x2ca995[_0x3a09b9(0x181)],_0x2ca995[_0x3a09b9(0x158)])},_0x62acd3={'id':_0x3a09b9(0x19a),'type':_0x589ba5[_0x3a09b9(0x18c)]['MUTATION'],'handler':(_0x85804e,_0x4b7f20)=>{const _0x4dae5c=_0x3a09b9;if(!(_0x4b7f20!=null&&_0x4b7f20[_0x4dae5c(0x181)])||!_0x4b7f20[_0x4dae5c(0x21b)][_0x4dae5c(0x239)])return!0x1;let _0x5b0347=_0x85804e[_0x4dae5c(0x1bf)](_0x5334e8),_0x333340=_0x85804e['get'](_0x4c3070['HostExternalReferenceModel']),_0x26e491=_0x5b0347['getResource'](_0x4b7f20['unitId']);if(!_0x26e491)return!0x1;let _0x13ae0c=_0x589ba5[_0x4dae5c(0x1ae)][_0x4dae5c(0x1df)](_0x26e491),_0xf9ae29=!0x1;for(let _0x1475dd of _0x4b7f20[_0x4dae5c(0x21b)]){var _0x441aa8,_0x2b4b8d,_0x31e622,_0x2fbac8;let _0x26d87f=_0x13ae0c[_0x4dae5c(0x1d3)][_0x1475dd[_0x4dae5c(0x25f)]];_0x26d87f&&_0x26d87f[_0x4dae5c(0x228)]===_0x1475dd[_0x4dae5c(0x141)]&&((_0x441aa8=_0x26d87f['numberFormat'])==null?void 0x0:_0x441aa8[_0x4dae5c(0x280)])===_0x1475dd[_0x4dae5c(0x169)]&&_0x333340[_0x4dae5c(0x268)](_0x4b7f20[_0x4dae5c(0x181)])===_0x1475dd[_0x4dae5c(0x240)]&&(((_0x2b4b8d=_0x26d87f['lastValue'])==null?void 0x0:_0x2b4b8d['v'])!==_0x1475dd[_0x4dae5c(0x1e3)]['v']||((_0x31e622=_0x26d87f[_0x4dae5c(0x1e3)])==null?void 0x0:_0x31e622['t'])!==_0x1475dd[_0x4dae5c(0x1e3)]['t']||((_0x2fbac8=_0x26d87f['lastValue'])==null?void 0x0:_0x2fbac8[_0x4dae5c(0x280)])!==_0x1475dd[_0x4dae5c(0x1e3)][_0x4dae5c(0x280)])&&(_0x26d87f[_0x4dae5c(0x1e3)]=_0x589ba5[_0x4dae5c(0x1ae)]['deepClone'](_0x1475dd[_0x4dae5c(0x1e3)]),_0xf9ae29=!0x0);}return!_0xf9ae29||_0x5b0347[_0x4dae5c(0x16f)](_0x4b7f20['unitId'],_0x13ae0c);}},_0x39716e={'id':_0x3a09b9(0x17b),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x698e64,_0x4f630f)=>{const _0x5b4427=_0x3a09b9;if(!(_0x4f630f!=null&&_0x4f630f[_0x5b4427(0x228)][_0x5b4427(0x1f9)]()))return!0x1;let _0x613221=_0x5c48c6(_0x698e64,_0x4f630f[_0x5b4427(0x181)],'');if(!_0x613221)return!0x1;let _0x5ac425=_0x46e792(_0x4f630f[_0x5b4427(0x1d4)],_0x613221[_0x5b4427(0x15b)],_0x14a296(_0x698e64,_0x613221[_0x5b4427(0x181)]));if(!_0x5ac425)return!0x1;let _0x20b11d=_0x3b95ad(_0x698e64,_0x613221[_0x5b4427(0x181)],_0x4f630f['formula'],_0x4f630f[_0x5b4427(0x1db)]??[]);if(!_0x20b11d)return!0x1;let _0x120dc3=_0x3d0383(_0x613221[_0x5b4427(0x15b)],_0x613221[_0x5b4427(0x23f)],_0x613221[_0x5b4427(0x181)]),_0x54626f=_0x3bdc74({'documentData':_0x613221[_0x5b4427(0x245)],'resource':_0x613221[_0x5b4427(0x158)],'rangeId':_0x120dc3,'config':{'formula':_0x4f630f[_0x5b4427(0x228)],..._0x4f630f[_0x5b4427(0x1a9)]?{'numberFormat':_0x4f630f[_0x5b4427(0x1a9)]}:null},'startOffset':_0x5ac425['startOffset'],'endOffset':_0x5ac425[_0x5b4427(0x213)]});if(!_0x54626f)return!0x1;let _0x4b7ffa=(0x0,_0x4c3070[_0x5b4427(0x1a5)])(_0x698e64,_0x613221[_0x5b4427(0x181)],_0x20b11d);return!_0x4b7ffa||!_0x2c2b75({'accessor':_0x698e64,'document':_0x613221[_0x5b4427(0x27e)],'unitId':_0x613221[_0x5b4427(0x181)],'trigger':_0x39716e['id'],'rangeId':_0x120dc3,'previousResource':_0x613221[_0x5b4427(0x158)],'nextResource':_0x54626f[_0x5b4427(0x18f)],'previousDocumentData':_0x613221[_0x5b4427(0x245)],'nextDocumentData':_0x54626f[_0x5b4427(0x23d)],'cursorOffset':_0x54626f['cursorOffset'],'externalMutations':_0x4b7ffa})?!0x1:{'rangeId':_0x120dc3,'startOffset':_0x54626f[_0x5b4427(0x1c1)]-0x1,'endOffset':_0x54626f[_0x5b4427(0x1c1)]};}},_0x5bb815={'id':_0x3a09b9(0x1d8),'type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x24b)],'handler':(_0x487a08,_0x353957)=>{const _0x1fe311=_0x3a09b9;if(!(_0x353957!=null&&_0x353957['rangeId'])||!_0x353957['formula'][_0x1fe311(0x1f9)]())return!0x1;let _0x486c9e=_0x5c48c6(_0x487a08,_0x353957[_0x1fe311(0x181)],''),_0x229606=_0x486c9e==null?void 0x0:_0x486c9e['model']['getFormula'](_0x486c9e[_0x1fe311(0x181)],_0x353957['rangeId']),_0x3c1836=_0x486c9e?_0x432e46(_0x486c9e['documentData']['body'],_0x353957[_0x1fe311(0x25f)]):void 0x0;if(!_0x486c9e||!_0x229606||!_0x3c1836)return!0x1;let _0x3b9172=_0x3b95ad(_0x487a08,_0x486c9e[_0x1fe311(0x181)],_0x353957[_0x1fe311(0x228)],_0x353957['externalReferences']??[]);if(!_0x3b9172)return!0x1;let _0x10aad7=(0x0,_0x4c3070[_0x1fe311(0x1a5)])(_0x487a08,_0x486c9e[_0x1fe311(0x181)],_0x3b9172);if(!_0x10aad7)return!0x1;let _0x597927=_0x57c0d2(_0x486c9e[_0x1fe311(0x158)]);return _0x597927[_0x1fe311(0x1d3)][_0x353957['rangeId']]={'formula':_0x353957[_0x1fe311(0x228)],..._0x353957[_0x1fe311(0x1a9)]?{'numberFormat':_0x353957['numberFormat']}:_0x229606[_0x1fe311(0x1a9)]?{'numberFormat':_0x229606[_0x1fe311(0x1a9)]}:null},_0x2c2b75({'accessor':_0x487a08,'document':_0x486c9e['document'],'unitId':_0x486c9e['unitId'],'trigger':_0x5bb815['id'],'rangeId':_0x353957[_0x1fe311(0x25f)],'previousResource':_0x486c9e[_0x1fe311(0x158)],'nextResource':_0x597927,'cursorOffset':_0x3c1836[_0x1fe311(0x1ec)]+0x1,'externalMutations':_0x10aad7});}},_0x1dfbc7={'id':_0x3a09b9(0x26d),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x5a66fa,_0x546fd6)=>{const _0x23364d=_0x3a09b9;if(!(_0x546fd6!=null&&_0x546fd6[_0x23364d(0x25f)]))return!0x1;let _0x1645dd=_0x5c48c6(_0x5a66fa,_0x546fd6[_0x23364d(0x181)],''),_0x4372c4=_0x1645dd==null?void 0x0:_0x1645dd['model']['getFormula'](_0x1645dd[_0x23364d(0x181)],_0x546fd6['rangeId']),_0xa4209a=_0x1645dd?_0x432e46(_0x1645dd[_0x23364d(0x245)]['body'],_0x546fd6[_0x23364d(0x25f)]):void 0x0;if(!_0x1645dd||!_0x4372c4||!_0xa4209a)return!0x1;let _0x31fbda=_0x57c0d2(_0x1645dd[_0x23364d(0x158)]);return _0x31fbda['formulas'][_0x546fd6[_0x23364d(0x25f)]]={..._0x4372c4,..._0x546fd6[_0x23364d(0x1a9)]?{'numberFormat':_0x546fd6[_0x23364d(0x1a9)]}:null},_0x546fd6['numberFormat']||delete _0x31fbda['formulas'][_0x546fd6[_0x23364d(0x25f)]][_0x23364d(0x1a9)],_0x2c2b75({'accessor':_0x5a66fa,'document':_0x1645dd[_0x23364d(0x27e)],'unitId':_0x1645dd[_0x23364d(0x181)],'trigger':_0x1dfbc7['id'],'rangeId':_0x546fd6['rangeId'],'previousResource':_0x1645dd[_0x23364d(0x158)],'nextResource':_0x31fbda,'cursorOffset':_0xa4209a[_0x23364d(0x1ec)]+0x1,'externalMutations':{}});}},_0x30135d={'id':_0x3a09b9(0x151),'type':_0x589ba5[_0x3a09b9(0x18c)]['COMMAND'],'handler':(_0xa0f4c4,_0x512e52)=>_0x2d3d22(_0xa0f4c4,_0x512e52,'',_0x30135d['id'])},_0xa71694={'id':'docs-formula.command.replace-with-text','type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x24b)],'handler':(_0x15a703,_0xf4b359)=>_0x2d3d22(_0x15a703,_0xf4b359,(_0xf4b359==null?void 0x0:_0xf4b359[_0x3a09b9(0x1f0)])??'',_0xa71694['id'])},_0x4b7e47={'id':_0x3a09b9(0x16c),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x23c3e2,_0x24fb58)=>{const _0x40fa46=_0x3a09b9;if(!(_0x24fb58!=null&&_0x24fb58[_0x40fa46(0x25f)]))return!0x1;let _0xd6b9f2=_0x5c48c6(_0x23c3e2,_0x24fb58[_0x40fa46(0x181)],'');if(!_0xd6b9f2)return!0x1;let _0x4c9d16=_0x23c3e2[_0x40fa46(0x1bf)](_0x1afbc3)[_0x40fa46(0x198)]({'unitId':_0xd6b9f2[_0x40fa46(0x181)],'rangeId':_0x24fb58[_0x40fa46(0x25f)]});return _0x4c9d16?_0x2d3d22(_0x23c3e2,_0x24fb58,_0x4c9d16[_0x40fa46(0x1f0)],_0x4b7e47['id']):!0x1;}};function _0x2d3d22(_0x2068b8,_0x1c4557,_0x2ef173,_0x194c85){const _0x5e32c9=_0x3a09b9;if(!(_0x1c4557!=null&&_0x1c4557[_0x5e32c9(0x25f)]))return!0x1;let _0x4e1867=_0x5c48c6(_0x2068b8,_0x1c4557[_0x5e32c9(0x181)],'');if(!_0x4e1867)return!0x1;let _0x411d54=_0x273d39({'documentData':_0x4e1867[_0x5e32c9(0x245)],'resource':_0x4e1867[_0x5e32c9(0x158)],'rangeId':_0x1c4557[_0x5e32c9(0x25f)],'text':_0x2ef173});return _0x411d54?_0x2c2b75({'accessor':_0x2068b8,'document':_0x4e1867[_0x5e32c9(0x27e)],'unitId':_0x4e1867[_0x5e32c9(0x181)],'trigger':_0x194c85,'rangeId':_0x1c4557[_0x5e32c9(0x25f)],'previousResource':_0x4e1867['resource'],'nextResource':_0x411d54[_0x5e32c9(0x18f)],'previousDocumentData':_0x4e1867['documentData'],'nextDocumentData':_0x411d54[_0x5e32c9(0x23d)],'cursorOffset':_0x411d54['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x5c48c6(_0x116350,_0x459fad,_0x4af357){const _0x54d5d9=_0x3a09b9;if(_0x4af357)return null;let _0x402843=_0x116350[_0x54d5d9(0x1bf)](_0x589ba5[_0x54d5d9(0x244)]),_0x1fbf8d=(_0x459fad?_0x402843[_0x54d5d9(0x270)](_0x459fad,_0x589ba5[_0x54d5d9(0x227)][_0x54d5d9(0x256)]):_0x402843['getCurrentUnitOfType'](_0x589ba5[_0x54d5d9(0x227)][_0x54d5d9(0x256)]))??null;if(!_0x1fbf8d)return null;let _0x3302fe=_0x1fbf8d[_0x54d5d9(0x201)](),_0x31d962=_0x3302fe[_0x54d5d9(0x15b)];if(_0x3302fe[_0x54d5d9(0x235)]||!_0x31d962)return null;let _0x21644f=_0x116350[_0x54d5d9(0x1bf)](_0x5334e8);return _0x21644f[_0x54d5d9(0x1a8)](_0x1fbf8d['getUnitId']())?null:{'document':_0x1fbf8d,'body':_0x31d962,'documentData':_0x3302fe,'model':_0x21644f,'resource':_0x21644f[_0x54d5d9(0x211)](_0x1fbf8d[_0x54d5d9(0x261)]())??_0x4e6d45(),'unitId':_0x1fbf8d[_0x54d5d9(0x261)]()};}function _0x14a296(_0x2dda03,_0x4e76f8){const _0x5d66da=_0x3a09b9;var _0xf4d2e3;return(_0xf4d2e3=_0x2dda03[_0x5d66da(0x1bf)](_0x3f1694[_0x5d66da(0x152)])['getTextRanges']({'subUnitId':_0x4e76f8,'unitId':_0x4e76f8}))==null?void 0x0:_0xf4d2e3[0x0];}function _0x46e792(_0x158b43,_0x377563,_0x3f570e){const _0x265922=_0x3a09b9;if((_0x158b43==null?void 0x0:_0x158b43[_0x265922(0x170)])===_0x265922(0x153)){var _0x4a8f2d;let _0x7986af=((_0x4a8f2d=_0x377563['paragraphs'])==null?void 0x0:_0x4a8f2d[_0x265922(0x1d5)](_0x1951d8=>_0x1951d8[_0x265922(0x25c)]===_0x158b43[_0x265922(0x25c)]))??[];if(_0x7986af['length']!==0x1)return null;let _0x2520cf=_0x7986af[0x0],_0x330f24=(0x0,_0x589ba5['getParagraphContentStartOffset'])(_0x377563,_0x2520cf),_0x341cf8=_0x2520cf[_0x265922(0x17f)]-_0x330f24,_0x173b3d=_0x158b43[_0x265922(0x1b1)]===_0x265922(0x184)?_0x341cf8:_0x158b43[_0x265922(0x1b1)];if(!Number['isInteger'](_0x173b3d)||_0x173b3d<0x0||_0x173b3d>_0x341cf8)return null;let _0xe15a06=_0x330f24+_0x173b3d;return{'startOffset':_0xe15a06,'endOffset':_0xe15a06};}if((_0x158b43==null?void 0x0:_0x158b43['type'])===_0x265922(0x251))return!Number[_0x265922(0x1e6)](_0x158b43['startOffset'])||!Number[_0x265922(0x1e6)](_0x158b43[_0x265922(0x213)])?null:{'startOffset':Math[_0x265922(0x17c)](_0x158b43[_0x265922(0x1ad)],_0x158b43[_0x265922(0x213)]),'endOffset':Math['max'](_0x158b43['startOffset'],_0x158b43['endOffset'])};let _0x38b4e8=(_0x158b43==null?void 0x0:_0x158b43[_0x265922(0x170)])===_0x265922(0x272)?_0x158b43[_0x265922(0x272)]:_0x3f570e;return!_0x38b4e8||_0x38b4e8[_0x265922(0x20a)]?null:{'startOffset':Math[_0x265922(0x17c)](_0x38b4e8['startOffset'],_0x38b4e8[_0x265922(0x213)]),'endOffset':Math[_0x265922(0x172)](_0x38b4e8[_0x265922(0x1ad)],_0x38b4e8[_0x265922(0x213)])};}function _0x3b95ad(_0x1ae34a,_0x19b621,_0x18624b,_0x57c6de){const _0x269981=_0x3a09b9;let _0x1e31dd=_0x1ae34a['get'](_0x5d5308[_0x269981(0x193)]),_0x9d05f0=_0x18624b[_0x269981(0x179)]('=')?_0x18624b['slice'](0x1):_0x18624b,_0x5b4f11=_0x1e31dd['sequenceNodesBuilder'](_0x9d05f0);if(!_0x5b4f11)return null;let _0x5d0ff5=_0x1ae34a['get'](_0x4c3070[_0x269981(0x22f)]),_0x286f1a=(0x0,_0x4c3070[_0x269981(0x195)])({'qualifiers':(0x0,_0x4c3070['collectFormulaExternalReferenceQualifiers'])(_0x5b4f11),'explicitReferences':_0x57c6de??[],'resolveBinding':_0x49dc5e=>_0x5d0ff5[_0x269981(0x1a1)](_0x19b621,_0x49dc5e)});return _0x286f1a[_0x269981(0x1c9)]===_0x269981(0x15c)?_0x286f1a[_0x269981(0x27f)]:null;}function _0x3d0383(_0xd55b3,_0x27c0df,_0x5bbee7){const _0x335a66=_0x3a09b9;var _0x2a21e8;let _0x3f6b2c=(0x0,_0x589ba5[_0x335a66(0x202)])(0x6);for(;_0xd55b3!=null&&(_0x2a21e8=_0xd55b3['customRanges'])!=null&&_0x2a21e8[_0x335a66(0x1de)](_0xefdce6=>_0xefdce6['rangeId']===_0x3f6b2c)||_0x27c0df[_0x335a66(0x175)](_0x5bbee7,_0x3f6b2c);)_0x3f6b2c=(0x0,_0x589ba5[_0x335a66(0x202)])(0x6);return _0x3f6b2c;}function _0x3bdc74(_0x1ee735){try{return _0x38fc78(_0x1ee735);}catch(_0x522690){if(_0x522690 instanceof _0x1c3d3b)return null;throw _0x522690;}}function _0x534e35(_0x57d4a4){const _0x503302=_0x3a09b9;let _0x46d9d1=_0x57d4a4[_0x503302(0x145)]&&_0x57d4a4[_0x503302(0x23d)]?_0x25a84f(_0x57d4a4[_0x503302(0x27e)],_0x57d4a4[_0x503302(0x181)],_0x57d4a4[_0x503302(0x145)],_0x57d4a4['nextDocumentData'],_0x57d4a4['cursorOffset'],_0x57d4a4[_0x503302(0x1f2)]):null;return _0x57d4a4[_0x503302(0x145)]&&_0x57d4a4[_0x503302(0x23d)]&&!_0x46d9d1?null:{'documentRedo':_0x46d9d1,'resourceRedo':{'id':_0x397705['id'],'params':{'unitId':_0x57d4a4[_0x503302(0x181)],'resource':_0x57d4a4[_0x503302(0x18f)]}},'resourceUndo':{'id':_0x397705['id'],'params':{'unitId':_0x57d4a4[_0x503302(0x181)],'resource':_0x57d4a4[_0x503302(0x216)]}}};}function _0x4787ac(_0x20eea4,_0x3f54d3,_0x547a0e,_0x15608c){const _0x1473c1=_0x3a09b9;_0x15608c[_0x1473c1(0x1af)]({'id':_0x20eea4[_0x1473c1(0x1f2)]+':'+_0x20eea4['rangeId'],'unitID':_0x20eea4[_0x1473c1(0x181)],'redoMutations':[..._0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x197)]?[_0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x197)]]:[],..._0x3f54d3[_0x1473c1(0x276)]?[_0x3f54d3[_0x1473c1(0x276)]]:[],_0x3f54d3[_0x1473c1(0x284)]],'undoMutations':[_0x3f54d3[_0x1473c1(0x199)],..._0x547a0e?[_0x547a0e]:[],..._0x20eea4['externalMutations'][_0x1473c1(0x15d)]?[_0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x15d)]]:[]]});}function _0x2c2b75(_0x4ca740){const _0x369c54=_0x3a09b9;let _0xdb0574=_0x4ca740[_0x369c54(0x219)][_0x369c54(0x1bf)](_0x589ba5[_0x369c54(0x14c)]),_0xe5e25a=_0x4ca740[_0x369c54(0x219)]['get'](_0x589ba5[_0x369c54(0x156)]),_0x50851e=_0x4ca740['accessor'][_0x369c54(0x1bf)](_0x3f1694['DocSelectionManagerService']),_0x391f02=_0x534e35(_0x4ca740);if(!_0x391f02)return!0x1;let _0x247e94=!0x1,_0xcf2c1b=null,_0x2e3af6=!0x1;try{if(_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)]){if(!_0xdb0574['syncExecuteCommand'](_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)]['id'],_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)][_0x369c54(0x1cd)]))return!0x1;_0x247e94=!0x0;}if(_0x391f02[_0x369c54(0x276)]){let _0x5bd6ab=_0xdb0574['syncExecuteCommand'](_0x391f02[_0x369c54(0x276)]['id'],_0x391f02[_0x369c54(0x276)][_0x369c54(0x1cd)]);if(!_0x5bd6ab)return _0x4e1050(_0xdb0574,_0x4ca740[_0x369c54(0x236)],_0x247e94),!0x1;_0xcf2c1b={'id':_0x3f1694['RichTextEditingMutation']['id'],'params':{..._0x5bd6ab,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0xdb0574[_0x369c54(0x273)](_0x391f02[_0x369c54(0x284)]['id'],_0x391f02[_0x369c54(0x284)][_0x369c54(0x1cd)]))return _0x425013(_0xdb0574,_0xcf2c1b),_0x4e1050(_0xdb0574,_0x4ca740[_0x369c54(0x236)],_0x247e94),!0x1;_0x2e3af6=!0x0,_0x4787ac(_0x4ca740,_0x391f02,_0xcf2c1b,_0xe5e25a);}catch(_0x2f9f1d){throw _0x2e3af6&&_0xdb0574[_0x369c54(0x273)](_0x391f02[_0x369c54(0x199)]['id'],_0x391f02[_0x369c54(0x199)]['params']),_0x425013(_0xdb0574,_0xcf2c1b),_0x4e1050(_0xdb0574,_0x4ca740['externalMutations'],_0x247e94),_0x2f9f1d;}return _0x50851e[_0x369c54(0x265)]([{'startOffset':_0x4ca740['cursorOffset'],'endOffset':_0x4ca740['cursorOffset'],'segmentId':''}],{'unitId':_0x4ca740['unitId'],'subUnitId':_0x4ca740[_0x369c54(0x181)]},!0x1,{[_0x3f1694['DOC_SELECTION_OPTION_PRESERVE_CARET']]:!0x0}),!0x0;}function _0x25a84f(_0x21882f,_0x587287,_0xa73beb,_0x29c472,_0xf0422,_0x4ebba4){const _0x3938cb=_0x3a09b9;let _0x2e0e00=_0x3d1943(_0xa73beb,_0x29c472,(0x0,_0x589ba5[_0x3938cb(0x1fa)])(_0x21882f,''));return _0x2e0e00?{'id':_0x3f1694['RichTextEditingMutation']['id'],'params':{'unitId':_0x587287,'actions':_0x2e0e00,'segmentId':'','textRanges':[{'startOffset':_0xf0422,'endOffset':_0xf0422,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x4ebba4}}:null;}function _0x425013(_0xf9c897,_0x1cca83){const _0x5d7f0d=_0x3a09b9;_0x1cca83&&_0xf9c897[_0x5d7f0d(0x273)](_0x1cca83['id'],_0x1cca83[_0x5d7f0d(0x1cd)]);}function _0x4e1050(_0x1b1e77,_0xe33962,_0x50dbf7){const _0xbed5db=_0x3a09b9;_0x50dbf7&&_0xe33962[_0xbed5db(0x15d)]&&_0x1b1e77[_0xbed5db(0x273)](_0xe33962[_0xbed5db(0x15d)]['id'],_0xe33962[_0xbed5db(0x15d)][_0xbed5db(0x1cd)]);}function _0x3d1943(_0x595b21,_0xdecdac,_0x41ea82){const _0x130372=_0x3a09b9;let _0x28351d=_0x595b21[_0x130372(0x15b)],_0x58b5bd=_0xdecdac['body'],_0x3d6cc3=_0x4eb72c(_0x28351d==null?void 0x0:_0x28351d[_0x130372(0x222)],_0x58b5bd==null?void 0x0:_0x58b5bd[_0x130372(0x222)]);if(!_0x3d6cc3||!_0x58b5bd)return null;let _0x1f7a30=new _0x589ba5[(_0x130372(0x1ef))]();return _0x1f7a30[_0x130372(0x186)](_0x3d6cc3['start']),_0x3d6cc3['insertLength']>0x0&&_0x1f7a30['insert'](_0x3d6cc3[_0x130372(0x217)],(0x0,_0x589ba5[_0x130372(0x203)])(_0x58b5bd,_0x3d6cc3[_0x130372(0x218)],_0x3d6cc3[_0x130372(0x218)]+_0x3d6cc3[_0x130372(0x217)],!0x1)),_0x3d6cc3['deleteLength']>0x0&&_0x1f7a30['delete'](_0x3d6cc3[_0x130372(0x275)]),_0x589ba5['JSONX']['getInstance']()['editOp'](_0x1f7a30[_0x130372(0x264)](),_0x41ea82);}function _0x4eb72c(_0x16fd77,_0x3d196c){const _0x30107a=_0x3a09b9;if(_0x16fd77==null||_0x3d196c==null||_0x16fd77===_0x3d196c)return null;let _0x2e1722=0x0;for(;_0x2e1722<_0x16fd77[_0x30107a(0x239)]&&_0x2e1722<_0x3d196c['length']&&_0x16fd77[_0x2e1722]===_0x3d196c[_0x2e1722];)_0x2e1722+=0x1;let _0x246205=_0x16fd77['length'],_0x7ba31d=_0x3d196c[_0x30107a(0x239)];for(;_0x246205>_0x2e1722&&_0x7ba31d>_0x2e1722&&_0x16fd77[_0x246205-0x1]===_0x3d196c[_0x7ba31d-0x1];)--_0x246205,--_0x7ba31d;return{'start':_0x2e1722,'deleteLength':_0x246205-_0x2e1722,'insertLength':_0x7ba31d-_0x2e1722};}function _0x57c0d2(_0x5b9e15){const _0x79a825=_0x3a09b9;return{'schemaVersion':0x1,'formulas':Object[_0x79a825(0x279)](Object[_0x79a825(0x1e8)](_0x5b9e15[_0x79a825(0x1d3)])[_0x79a825(0x223)](([_0x2e5862,_0x3b18ac])=>[_0x2e5862,{..._0x3b18ac,..._0x3b18ac['numberFormat']?{'numberFormat':{..._0x3b18ac['numberFormat']}}:null,..._0x3b18ac[_0x79a825(0x1e3)]?{'lastValue':{..._0x3b18ac['lastValue']}}:null}]))};}let _0x584854=class extends _0x589ba5['Disposable']{constructor(_0x408ab0,_0x23cbd3,_0x5a11bb,_0x2e7497){const _0x2ab6dc=_0x3a09b9;super(),this[_0x2ab6dc(0x19e)]=_0x408ab0,this[_0x2ab6dc(0x1e9)]=_0x23cbd3,this['_model']=_0x5a11bb,this[_0x2ab6dc(0x233)]=_0x2e7497,_0x3433aa(this,_0x2ab6dc(0x1cc),new Set()),_0x3433aa(this,_0x2ab6dc(0x1ea),!0x1),_0x3433aa(this,_0x2ab6dc(0x188),!0x1),this['_instanceService'][_0x2ab6dc(0x15e)](_0x589ba5['UniverInstanceType'][_0x2ab6dc(0x256)])[_0x2ab6dc(0x208)](_0x4168af=>this[_0x2ab6dc(0x233)][_0x2ab6dc(0x1ca)](_0x4168af)),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x205)][_0x2ab6dc(0x1e2)][_0x2ab6dc(0x154)](({unitId:_0x233ad8})=>this[_0x2ab6dc(0x249)](_0x233ad8))),this['disposeWithMe'](this['_instanceService'][_0x2ab6dc(0x178)][_0x2ab6dc(0x154)](({unit:_0xdcb026})=>{const _0x3881f0=_0x2ab6dc;_0xdcb026['type']===_0x589ba5[_0x3881f0(0x227)][_0x3881f0(0x256)]&&this[_0x3881f0(0x269)](_0xdcb026[_0x3881f0(0x261)]());})),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x19e)]['unitDisposed$'][_0x2ab6dc(0x154)](_0x14be84=>{const _0x145c26=_0x2ab6dc;this[_0x145c26(0x233)][_0x145c26(0x190)](_0x14be84['getUnitId']());})),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x1e9)][_0x2ab6dc(0x1fb)](_0x34046b=>{const _0x5ea4ed=_0x2ab6dc;if(_0x34046b['id']===_0x3f1694[_0x5ea4ed(0x168)]['id']&&_0x4d19ad(_0x34046b[_0x5ea4ed(0x1cd)])){let _0x5a72b9=_0x34046b['params'];_0x5a72b9[_0x5ea4ed(0x20a)]||this[_0x5ea4ed(0x249)](_0x5a72b9[_0x5ea4ed(0x181)]);}}));}[_0x3a09b9(0x1a0)](){const _0x276725=_0x3a09b9;this['_isDisposed']=!0x0,super[_0x276725(0x1a0)]();}[_0x3a09b9(0x269)](_0x379ed7){const _0x347c77=_0x3a09b9;this['_pendingUnitIds'][_0x347c77(0x252)](_0x379ed7),!this[_0x347c77(0x1ea)]&&(this[_0x347c77(0x1ea)]=!0x0,queueMicrotask(()=>{const _0x51f549=_0x347c77;if(this[_0x51f549(0x1ea)]=!0x1,this[_0x51f549(0x188)])return;let _0x14dcee=Array[_0x51f549(0x21f)](this[_0x51f549(0x1cc)]);this['_pendingUnitIds'][_0x51f549(0x24d)](),_0x14dcee['forEach'](_0x56a694=>this['_syncUnit'](_0x56a694));}));}[_0x3a09b9(0x249)](_0x34846a){const _0x1dc160=_0x3a09b9;let _0xdc4c6a=this[_0x1dc160(0x19e)]['getUnit'](_0x34846a,_0x589ba5[_0x1dc160(0x227)]['UNIVER_DOC']);_0xdc4c6a&&this[_0x1dc160(0x233)][_0x1dc160(0x1ca)](_0xdc4c6a);}};_0x584854=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x244)]),_0x3773bf(0x1,_0x589ba5[_0x3a09b9(0x14c)]),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8)),_0x3773bf(0x3,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3))],_0x584854);function _0x4d19ad(_0x2bf73c){const _0x5066d9=_0x3a09b9;return typeof _0x2bf73c==_0x5066d9(0x18d)&&!!_0x2bf73c&&_0x5066d9(0x181)in _0x2bf73c&&typeof _0x2bf73c['unitId']==_0x5066d9(0x200)&&(!(_0x5066d9(0x20a)in _0x2bf73c)||_0x2bf73c[_0x5066d9(0x20a)]===void 0x0||typeof _0x2bf73c[_0x5066d9(0x20a)]=='string');}let _0x8887c7=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0x2d6fc0,_0x587a5c){const _0x5f1abe=_0x3a09b9;super(),this['_resourceManagerService']=_0x2d6fc0,this['_docFormulaModel']=_0x587a5c,this[_0x5f1abe(0x1cf)](this[_0x5f1abe(0x1eb)][_0x5f1abe(0x207)]({'pluginName':_0x33fb70,'businesses':[_0x589ba5[_0x5f1abe(0x227)][_0x5f1abe(0x256)]],'toJson':_0x3a6518=>JSON[_0x5f1abe(0x149)](this[_0x5f1abe(0x1dd)]['serialize'](_0x3a6518)),'parseJson':_0x3ff4e3=>JSON[_0x5f1abe(0x1e1)](_0x3ff4e3),'onLoad':(_0x488658,_0x2b7744)=>{const _0x5d03c1=_0x5f1abe;this[_0x5d03c1(0x1dd)][_0x5d03c1(0x234)](_0x488658,_0x2b7744);},'onUnLoad':_0x27c3c1=>this['_docFormulaModel'][_0x5f1abe(0x1b0)](_0x27c3c1)}));}};_0x8887c7=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x143)]),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8))],_0x8887c7);var _0x365b2c=_0x3a09b9(0x157),_0x576b40=_0x3a09b9(0x1fd);let _0x2a2f6b={},_0x53bb4e=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0x5e74b6,_0x32fa49,_0x17cdb6){const _0x592a50=_0x3a09b9;super(),this[_0x592a50(0x166)]=_0x5e74b6,this[_0x592a50(0x21c)]=_0x32fa49,this['disposeWithMe'](_0x17cdb6[_0x592a50(0x1fe)]({'resolve':(_0x469290,_0x22be32)=>{const _0x6103b8=_0x592a50;var _0x1aba35;return((_0x1aba35=_0x22be32[_0x6103b8(0x144)])==null?void 0x0:_0x1aba35[_0x6103b8(0x1d5)](_0x4e62d2)[_0x6103b8(0x223)](_0x1b5f9c=>({'startOffset':_0x1b5f9c['startIndex'],'endOffset':_0x1b5f9c['endIndex']+0x1,'text':this['resolveFormula'](_0x469290,_0x1b5f9c[_0x6103b8(0x25f)])})))??[];}})),this[_0x592a50(0x1cf)](this[_0x592a50(0x21c)][_0x592a50(0x180)]['subscribe'](({unitId:_0x56b2cf})=>{const _0x4fb30c=_0x592a50;_0x17cdb6[_0x4fb30c(0x163)](_0x56b2cf);}));}[_0x3a09b9(0x1f8)](_0x19bbdf,_0x1e1697){const _0x1f975b=_0x3a09b9;var _0x2e8cf7;return((_0x2e8cf7=this[_0x1f975b(0x21c)]['getResult']({'unitId':_0x19bbdf,'rangeId':_0x1e1697}))==null?void 0x0:_0x2e8cf7[_0x1f975b(0x1f0)])??'';}[_0x3a09b9(0x1b9)](_0x408471,_0x514e7c,_0x4bf606){const _0x2b4415=_0x3a09b9;var _0x446ccf;let _0x42e0d5=this['_univerInstanceService']['getUnit'](_0x408471,_0x589ba5[_0x2b4415(0x227)][_0x2b4415(0x256)]),_0x366bc0=_0x42e0d5==null?void 0x0:_0x42e0d5['getBody']();if(!_0x366bc0)return'';let _0x1314fc=_0x366bc0[_0x2b4415(0x222)][_0x2b4415(0x26e)](_0x514e7c,_0x4bf606),_0x21725f=((_0x446ccf=_0x366bc0[_0x2b4415(0x144)])==null?void 0x0:_0x446ccf[_0x2b4415(0x1d5)](_0x241702=>_0x4e62d2(_0x241702)&&_0x241702[_0x2b4415(0x17f)]>=_0x514e7c&&_0x241702[_0x2b4415(0x1ec)]<_0x4bf606)[_0x2b4415(0x220)]((_0x2565ef,_0x58abbd)=>_0x58abbd[_0x2b4415(0x17f)]-_0x2565ef['startIndex']))??[];for(let _0x517e88 of _0x21725f){let _0x2f7d28=_0x517e88[_0x2b4415(0x17f)]-_0x514e7c,_0x28cc0a=_0x517e88[_0x2b4415(0x1ec)]-_0x514e7c+0x1;_0x1314fc=''+_0x1314fc[_0x2b4415(0x26e)](0x0,_0x2f7d28)+this[_0x2b4415(0x1f8)](_0x408471,_0x517e88[_0x2b4415(0x25f)])+_0x1314fc[_0x2b4415(0x26e)](_0x28cc0a);}return _0x1314fc;}[_0x3a09b9(0x16b)](_0x4a5554){return _0x4a0960(_0x4a5554);}[_0x3a09b9(0x247)](_0x5186ed,_0x2db02c,_0x2a4d1a={}){const _0x1e500a=_0x3a09b9;var _0x4bf3bd;return _0x3a2210({'id':_0x5186ed,'body':_0x2db02c,'documentStyle':{}},(((_0x4bf3bd=_0x2db02c[_0x1e500a(0x144)])==null?void 0x0:_0x4bf3bd[_0x1e500a(0x1d5)](_0x4e62d2))??[])[_0x1e500a(0x223)](_0x485f6e=>({'rangeId':_0x485f6e[_0x1e500a(0x25f)],'text':_0x2a4d1a[_0x485f6e[_0x1e500a(0x25f)]]??this['resolveFormula'](_0x5186ed,_0x485f6e[_0x1e500a(0x25f)])})))[_0x1e500a(0x15b)]??{'dataStream':''};}};_0x53bb4e=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x244)]),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3)),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x3f1694['DocTextResolverService']))],_0x53bb4e);function _0x4a0960(_0x39b388){const _0x21c6cd=_0x3a09b9;var _0x52879b,_0x1320c0;let _0x599471=_0x51eed9(_0x39b388),_0x595d0a=_0x3a2210(_0x39b388,(((_0x52879b=_0x39b388[_0x21c6cd(0x15b)])==null||(_0x52879b=_0x52879b[_0x21c6cd(0x144)])==null?void 0x0:_0x52879b[_0x21c6cd(0x1d5)](_0x4e62d2))??[])['map'](_0x51b111=>({'rangeId':_0x51b111[_0x21c6cd(0x25f)],'text':_0x370536(_0x599471==null?void 0x0:_0x599471['formulas'][_0x51b111[_0x21c6cd(0x25f)]])})));return _0x595d0a[_0x21c6cd(0x230)]=(_0x1320c0=_0x595d0a[_0x21c6cd(0x230)])==null?void 0x0:_0x1320c0['filter'](_0x4c8291=>_0x4c8291[_0x21c6cd(0x182)]!==_0x33fb70),_0x595d0a;}function _0x51eed9(_0x98d290){const _0x2db5d2=_0x3a09b9;var _0x2c3202;let _0x1931b7=(_0x2c3202=_0x98d290['resources'])==null||(_0x2c3202=_0x2c3202['find'](_0x2b13e3=>_0x2b13e3['name']==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x2c3202[_0x2db5d2(0x16e)];if(_0x1931b7)try{let _0x5e1516=JSON[_0x2db5d2(0x1e1)](_0x1931b7);return _0x4fcbf3(_0x5e1516)?_0x5e1516:void 0x0;}catch{return;}}function _0x370536(_0x4a9b87){const _0x56bf92=_0x3a09b9;return _0x4a9b87?(0x0,_0x4c3070[_0x56bf92(0x1c8)])({'lastValue':_0x4a9b87[_0x56bf92(0x1e3)],'numberFormat':_0x4a9b87[_0x56bf92(0x1a9)]})['text']:'';}let _0x40f1cf=class extends _0x589ba5['Disposable']{constructor(_0x45b4f6,_0x59a916,_0x27ca7f){const _0x50e565=_0x3a09b9;super(),this[_0x50e565(0x21c)]=_0x45b4f6,this[_0x50e565(0x258)]=_0x59a916,this['disposeWithMe'](_0x27ca7f[_0x50e565(0x282)](this));}[_0x3a09b9(0x21d)](_0x518f78){const _0x5a2865=_0x3a09b9;let _0x258179=new Map();for(let _0x4d8cac of this[_0x5a2865(0x21c)]['getRegisteredFormulas']()){var _0x10860b;if(!this[_0x5a2865(0x258)]['assess'](_0x4d8cac[_0x5a2865(0x147)][_0x5a2865(0x228)],_0x4d8cac[_0x5a2865(0x229)])['eligible'])continue;let _0x1222ef=(0x0,_0x4c3070[_0x5a2865(0x27d)])(_0x4d8cac['liveResult']),_0x2a5b91=_0x1222ef?(0x0,_0x4c3070[_0x5a2865(0x243)])(_0x1222ef):null;if(!_0x2a5b91||_0x4dbc07(_0x4d8cac['config'][_0x5a2865(0x1e3)],_0x2a5b91))continue;let _0x4720a9=_0x258179[_0x5a2865(0x1bf)](_0x4d8cac['identity'][_0x5a2865(0x181)])??[];_0x4720a9['push']({'rangeId':_0x4d8cac[_0x5a2865(0x266)][_0x5a2865(0x25f)],'expectedFormula':_0x4d8cac[_0x5a2865(0x147)]['formula'],'expectedNumberFormat':(_0x10860b=_0x4d8cac[_0x5a2865(0x147)]['numberFormat'])==null?void 0x0:_0x10860b[_0x5a2865(0x280)],'expectedReferenceRevision':_0x4d8cac['referenceRevision'],'lastValue':_0x2a5b91}),_0x258179[_0x5a2865(0x162)](_0x4d8cac[_0x5a2865(0x266)][_0x5a2865(0x181)],_0x4720a9);}return Array[_0x5a2865(0x21f)](_0x258179,([_0x25d3cb,_0x385c2f])=>({'id':_0x62acd3['id'],'params':{'unitId':_0x25d3cb,'updates':_0x385c2f}}));}};_0x40f1cf=_0x2cfc4a([_0x3773bf(0x0,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3)),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x254)])),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x1b3)]))],_0x40f1cf);function _0x4dbc07(_0x384ce9,_0x5325a9){const _0x5a93b8=_0x3a09b9;return(_0x384ce9==null?void 0x0:_0x384ce9['v'])===_0x5325a9['v']&&(_0x384ce9==null?void 0x0:_0x384ce9['t'])===_0x5325a9['t']&&(_0x384ce9==null?void 0x0:_0x384ce9[_0x5a93b8(0x280)])===_0x5325a9['pattern'];}let _0x45ebc5=class extends _0x589ba5['Plugin']{constructor(_0x1b65cf=_0x2a2f6b,_0x24fd98,_0x1703b0,_0x5bf23a){const _0x1b5842=_0x3a09b9;super(),this[_0x1b5842(0x25e)]=_0x1b65cf,this[_0x1b5842(0x1b4)]=_0x24fd98,this[_0x1b5842(0x1e9)]=_0x1703b0,this[_0x1b5842(0x19f)]=_0x5bf23a;let {..._0x1a54f8}=(0x0,_0x589ba5[_0x1b5842(0x250)])({},_0x2a2f6b,this[_0x1b5842(0x25e)]);this[_0x1b5842(0x19f)][_0x1b5842(0x165)](_0x1b5842(0x1f1),_0x1a54f8);}['onStarting'](){const _0x3187ca=_0x3a09b9;this['_injector'][_0x3187ca(0x252)]([_0x5334e8]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x1afbc3]),this[_0x3187ca(0x1b4)]['add']([_0x8887c7]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x584854]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x40f1cf]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x53bb4e]),(0x0,_0x589ba5[_0x3187ca(0x17d)])(this['_injector'],[[_0x5334e8],[_0x8887c7],[_0x584854],[_0x40f1cf],[_0x53bb4e]]),[_0x5181a6,_0x1a9e4c,_0x397705,_0x62acd3,_0x39716e,_0x5bb815,_0x1dfbc7,_0x30135d,_0xa71694,_0x4b7e47][_0x3187ca(0x208)](_0x156566=>this[_0x3187ca(0x1cf)](this[_0x3187ca(0x1e9)][_0x3187ca(0x173)](_0x156566)));}};_0x3433aa(_0x45ebc5,_0x3a09b9(0x21a),_0x33fb70),_0x3433aa(_0x45ebc5,_0x3a09b9(0x263),_0x365b2c),_0x3433aa(_0x45ebc5,_0x3a09b9(0x14b),_0x576b40),_0x3433aa(_0x45ebc5,_0x3a09b9(0x170),_0x589ba5[_0x3a09b9(0x227)][_0x3a09b9(0x256)]),_0x45ebc5=_0x2cfc4a([(0x0,_0x589ba5[_0x3a09b9(0x215)])(_0x305e99['UniverLicensePlugin'],_0x4c3070[_0x3a09b9(0x278)],_0x3f1694['UniverDocsPlugin']),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x589ba5[_0x3a09b9(0x1a7)])),_0x3773bf(0x2,_0x589ba5[_0x3a09b9(0x14c)]),_0x3773bf(0x3,_0x589ba5['IConfigService'])],_0x45ebc5),_0xb9a124[_0x3a09b9(0x253)]=_0x4b7e47,_0xb9a124[_0x3a09b9(0x22d)]=_0x3914c0,_0xb9a124['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0xb9a124[_0x3a09b9(0x1f4)]=_0x33fb70,_0xb9a124[_0x3a09b9(0x1ac)]=0x1,Object['defineProperty'](_0xb9a124,_0x3a09b9(0x1f5),{'enumerable':!0x0,'get':function(){return _0x53bb4e;}}),Object['defineProperty'](_0xb9a124,_0x3a09b9(0x187),{'enumerable':!0x0,'get':function(){return _0x584854;}}),_0xb9a124[_0x3a09b9(0x185)]=_0x5334e8,Object[_0x3a09b9(0x164)](_0xb9a124,_0x3a09b9(0x159),{'enumerable':!0x0,'get':function(){return _0x8887c7;}}),_0xb9a124['DocFormulaResultStatus']=_0x104b08,Object[_0x3a09b9(0x164)](_0xb9a124,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x1afbc3;}}),_0xb9a124['InsertDocFormulaCommand']=_0x39716e,_0xb9a124['InvalidDocFormulaInsertRangeError']=_0x1c3d3b,_0xb9a124[_0x3a09b9(0x257)]=_0x30135d,_0xb9a124[_0x3a09b9(0x1bd)]=_0x1a9e4c,_0xb9a124[_0x3a09b9(0x1c6)]=_0xa71694,_0xb9a124[_0x3a09b9(0x1cb)]=_0x62acd3,_0xb9a124[_0x3a09b9(0x1c5)]=_0x5181a6,_0xb9a124['SetDocFormulaNumberFormatCommand']=_0x1dfbc7,_0xb9a124[_0x3a09b9(0x1ab)]=_0x397705,Object[_0x3a09b9(0x164)](_0xb9a124,_0x3a09b9(0x19d),{'enumerable':!0x0,'get':function(){return _0x45ebc5;}}),_0xb9a124[_0x3a09b9(0x1d7)]=_0x5bb815,_0xb9a124['assertSafeDocFormulaInsertRange']=_0x5a8223,_0xb9a124[_0x3a09b9(0x1b7)]=_0x38fc78,_0xb9a124['buildRemoveDocFormulaActions']=_0x273d39,_0xb9a124[_0x3a09b9(0x1a2)]=_0x448c17,_0xb9a124[_0x3a09b9(0x183)]=_0x4e6d45,_0xb9a124[_0x3a09b9(0x1be)]=_0x4a0960,_0xb9a124[_0x3a09b9(0x246)]=_0x432e46,_0xb9a124[_0x3a09b9(0x14e)]=_0x372fdd,_0xb9a124['isDocFormulaRange']=_0x4e62d2,_0xb9a124['isDocFormulaResource']=_0x4fcbf3,_0xb9a124[_0x3a09b9(0x140)]=_0x282418;}));
1
+ function _0xb83c(){const _0x3d3b20=['data','previousDocumentData','SetDocFormulaResourceMutation','registerFormulaWithRange','_cacheEligibilityService','COLUMN_GROUP_END','_queueSync','next','docs-formula.command.remove','blockRanges','params','DataStreamTreeTokenType','MUTATION','updates','status','syncUnit','UniverLicensePlugin','getTextRanges','editOp','resourceUndo','includes','_updateFormulaResult','_commandService','COLUMN_END','string','setFormula','isDocFormulaConfig','getInstance','constructor','type','PARAGRAPH','getUnitId','CustomRangeType','numberFormat','trim','getResource','OtherFormulaBizType','forEach','DocFormulaService','docs-formula.command.insert','body','docs-formula.command.convert-to-text','target','nextDocumentData','externalMutations','getFormulas','UniverInstanceType','COLUMN_GROUP_START','trigger','4WSHfBo','success','slice','_isDisposed','unsupported-version','customRanges','boolean','unitDisposed$','buildUpdateDocFormulaActions','RemoveDocFormulaMutation','shiftExclusiveRangeOnInsert','docs-formula.mutation.set-last-values','onCommandExecuted','register','cell','segmentId','UniverProLicense','1747555lnWluH','properties','degradeDocumentData','function','getFormulaValueSync','pluginName','redoMutation','min','getFormula','resources','_resourceManagerService','resolveBinding','DOC_FORMULA_OBJECT_REPLACEMENT','docs-formula.command.set-number-format','Disposable','tables','FormulaResultStatus','_syncUnit','getOwnPropertyDescriptor','registerProvider','disposeWithMe','SetDocFormulaLastValuesMutation','DOC_FORMULA_PLUGIN','unregisterUnit','1.3.0','_syncScheduled','error','range','LexerTreeBuilder','EMPTY','@univerjs/docs','SetDocFormulaNumberFormatCommand','push','formulas','TABLE_END','4907231DhklOP','@univerjs/core','DocTextResolverService','_hostExternalReferenceModel','18987100MTOthF','referenceRevision','resolveHostFormulaExternalReferences','merge','deepClone','eligible','stringify','selection','clear','empty','FormulaCacheEligibilityService','docs-formula.command.update','8udEEGy','5481900FHhIKY','UniverCore','every','schemaVersion','HostExternalReferenceModel','nextResource','UpdateDocFormulaCommand','DocFormulaResultStatus','get','IUndoRedoService','load','fromEntries','getCurrentUnitOfType','resolved','4Jnttub','assess','getResult','exports','map','_instanceService','TABLE_CELL_END','Inject','name','157629qJFfUD','degradeBody','entries','documentRedo','expectedFormula','CommandType','rangeId','identity','replaceDocRanges','removeFormula','_rawResources','insertLength','COMMAND','docs-formula.mutation.remove-formula','keys','retain','stale','_configService','pending','end','registerCommand','rangeType','RegisterOtherFormulaService','shiftExclusiveRangeOnDelete','deleteFormula','getRichTextEditPath','startOffset','UniverDocsFormulaPlugin','columnGroups','notifyTextChanged','paragraph','2670777KvUtom','_univerInstanceService','_loadErrors','version','color','paragraphs','cursorOffset','presentationChanged$','_presentationChanged$','liveResult','_service','setResource','onStarting','univer-docs-formula','filter','decorate','getScalarFormulaResultCell','expectedReferenceRevision','TABLE_ROW_START','_setPresentation','generateRandomId','customDecorations','change$','docs-formula.config','start','Injector','insert','find','COLUMN_START','_pendingUnitIds','customBlocks','SUCCESS','number','symbol','config','_config','_deleteRegistration','isDocFormulaResource','UniverProFormulaEnginePlugin','TABLE_START','Subject','_change$','values','presentation','prototype','call','has','endOffset','rxjs','textRuns','unitId','_docFormulaModel','shiftInclusiveRangeOnDelete','pattern','7484049BWamGa','endIndex','set','kind','model','getPresentation','IUniverInstanceService','references','TABLE_ROW_END','TABLE_CELL_START','from','serialize','toPrimitive','getCustomRangeInterval','pushUndoRedo','shiftInclusiveRangeOnInsert','sequenceNodesBuilder','getBody','dataStream','sort','Plugin','unitAdded$','Tools','ERROR','isDocFormulaRange','SetDocFormulaMutation','startIndex','isArray','resolveFormula','externalReferences','RemoveDocFormulaCommand','_formulaService','DOC','DOC_SELECTION_OPTION_PRESERVE_CARET','sectionBreaks','_registrationService','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','max','registerPluginResource','@univerjs/engine-formula','buildInsertDocFormulaActions','getLoadError','getRegisteredFormulas','RichTextEditingMutation','InsertDocFormulaCommand','text','subscribe','SECTION_BREAK','buildUpsertHostExternalReferenceMutations','resource','complete','undoMutation','ReplaceDocFormulaWithTextCommand','DependentOn','documentData','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','collectFormulaExternalReferenceQualifiers','UniverDocs','source','DocFormulaDisplayTextService','formulaId','BLOCK_END','findDocFormulaRange','parse','_preserveInvalid','defineProperty','@univerjs-pro/docs-formula','resourceRedo','add','startsWith','_injector','UNIVER_DOC','document','6MZruPk','position','DOC_FORMULA_CUSTOM_RANGE_KIND','formula','BLOCK_START','getUnit','length','_model','paragraphId','setFormulas','_registrations','lastValue','TextX','IConfigService','amd','UniverDocsPlugin','isInteger','object','_formulaKeys','dispose','toFormulaLastValue','syncExecuteCommand','getRevision','accessor','_resources','DocFormulaModel','setConfig','isFormulaLastValue','removeUnit','assertSafeDocFormulaInsertRange','expectedNumberFormat','deleteLength','packageName','delete','ICommandService'];_0xb83c=function(){return _0x3d3b20;};return _0xb83c();}function _0xa7a7(_0xc7d5fb,_0x59c44b){_0xc7d5fb=_0xc7d5fb-0x163;const _0xb83c9b=_0xb83c();let _0xa7a774=_0xb83c9b[_0xc7d5fb];return _0xa7a774;}(function(_0x2160c9,_0x3f03b1){const _0x28eb62=_0xa7a7,_0x3ee2b1=_0x2160c9();while(!![]){try{const _0x43fd34=-parseInt(_0x28eb62(0x264))/0x1*(parseInt(_0x28eb62(0x208))/0x2)+parseInt(_0x28eb62(0x283))/0x3+parseInt(_0x28eb62(0x25b))/0x4*(parseInt(_0x28eb62(0x219))/0x5)+parseInt(_0x28eb62(0x1b4))/0x6*(-parseInt(_0x28eb62(0x23c))/0x7)+parseInt(_0x28eb62(0x24c))/0x8*(-parseInt(_0x28eb62(0x16b))/0x9)+-parseInt(_0x28eb62(0x24d))/0xa+parseInt(_0x28eb62(0x240))/0xb;if(_0x43fd34===_0x3f03b1)break;else _0x3ee2b1['push'](_0x3ee2b1['shift']());}catch(_0xaf994b){_0x3ee2b1['push'](_0x3ee2b1['shift']());}}}(_0xb83c,0x8b1e4),function(_0x11e38b,_0x400934){const _0x21cf98=_0xa7a7;typeof exports==_0x21cf98(0x1c5)&&typeof module<'u'?_0x400934(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x21cf98(0x21c)&&define[_0x21cf98(0x1c2)]?define([_0x21cf98(0x25e),'@univerjs-pro/engine-formula',_0x21cf98(0x23d),_0x21cf98(0x237),_0x21cf98(0x192),_0x21cf98(0x165),'@univerjs-pro/license'],_0x400934):(_0x11e38b=typeof globalThis<'u'?globalThis:_0x11e38b||self,_0x400934(_0x11e38b['UniverProDocsFormula']={},_0x11e38b['UniverProEngineFormula'],_0x11e38b[_0x21cf98(0x24e)],_0x11e38b[_0x21cf98(0x1a4)],_0x11e38b['UniverEngineFormula'],_0x11e38b['rxjs'],_0x11e38b[_0x21cf98(0x218)]));}(this,function(_0x502800,_0x138dd0,_0x42b9d4,_0x554914,_0xf5658,_0x58159d,_0x43fe23){const _0x264e36=_0xa7a7;Object['defineProperty'](_0x502800,Symbol['toStringTag'],{'value':'Module'});let _0x3d28a0=_0x264e36(0x22f),_0x48c9c7=_0x264e36(0x290);function _0x5c7567(){return{'schemaVersion':0x1,'formulas':{}};}function _0x4d9d4b(_0x4dd13f){const _0x3d9de6=_0x264e36;return!_0x4dd13f||typeof _0x4dd13f!=_0x3d9de6(0x1c5)||!_0x134452(_0x4dd13f,['schemaVersion',_0x3d9de6(0x23a)])||!(_0x3d9de6(0x250)in _0x4dd13f)||_0x4dd13f[_0x3d9de6(0x250)]!==0x1||!('formulas'in _0x4dd13f)||!_0x4dd13f[_0x3d9de6(0x23a)]||typeof _0x4dd13f[_0x3d9de6(0x23a)]!='object'||Array[_0x3d9de6(0x186)](_0x4dd13f[_0x3d9de6(0x23a)])?!0x1:Object[_0x3d9de6(0x266)](_0x4dd13f[_0x3d9de6(0x23a)])[_0x3d9de6(0x24f)](([_0x5714d2,_0x39a8b8])=>_0x5714d2['length']>0x0&&_0x3a626b(_0x39a8b8));}function _0x3a626b(_0x11879c){const _0x4ec8e9=_0x264e36;return!_0x11879c||typeof _0x11879c!=_0x4ec8e9(0x1c5)||!_0x134452(_0x11879c,[_0x4ec8e9(0x1b7),_0x4ec8e9(0x1f8),'lastValue'])||!(_0x4ec8e9(0x1b7)in _0x11879c)||typeof _0x11879c['formula']!=_0x4ec8e9(0x1ef)||!_0x11879c[_0x4ec8e9(0x1b7)][_0x4ec8e9(0x1f9)]()||'numberFormat'in _0x11879c&&_0x11879c[_0x4ec8e9(0x1f8)]!=null&&(typeof _0x11879c['numberFormat']!=_0x4ec8e9(0x1c5)||!_0x134452(_0x11879c[_0x4ec8e9(0x1f8)],['pattern'])||!('pattern'in _0x11879c['numberFormat'])||typeof _0x11879c[_0x4ec8e9(0x1f8)][_0x4ec8e9(0x16a)]!=_0x4ec8e9(0x1ef))?!0x1:!(_0x4ec8e9(0x1bf)in _0x11879c)||_0x11879c[_0x4ec8e9(0x1bf)]==null||_0x12f29b(_0x11879c['lastValue']);}function _0x12f29b(_0x36abea){const _0x267504=_0x264e36;return!_0x36abea||typeof _0x36abea!=_0x267504(0x1c5)||!_0x134452(_0x36abea,['v','t','pattern'])||!('v'in _0x36abea)||_0x36abea['v']!==null&&typeof _0x36abea['v']!='string'&&typeof _0x36abea['v']!=_0x267504(0x2a3)&&typeof _0x36abea['v']!=_0x267504(0x20e)||'t'in _0x36abea&&_0x36abea['t']!=null&&!_0x51ad1e(_0x36abea['t'])?!0x1:!(_0x267504(0x16a)in _0x36abea)||_0x36abea[_0x267504(0x16a)]==null||typeof _0x36abea[_0x267504(0x16a)]=='string';}function _0x134452(_0x4deaeb,_0x16b64d){const _0x4e37d5=_0x264e36;let _0x164c64=new Set(_0x16b64d);return Object[_0x4e37d5(0x272)](_0x4deaeb)['every'](_0x34ddb0=>_0x164c64[_0x4e37d5(0x163)](_0x34ddb0));}function _0x51ad1e(_0x4008be){const _0x5b58da=_0x264e36;return typeof _0x4008be==_0x5b58da(0x2a3)&&Object[_0x5b58da(0x2ad)](_0x42b9d4['CellValueType'])[_0x5b58da(0x1eb)](_0x4008be);}let _0x4c2344=new Set([_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x19a)],_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x2aa)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x295)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x174)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x261)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x173)],_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x23b)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x206)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x29f)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x1ee)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x1dc)],_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x1b8)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x1a8)],_0x42b9d4['DataStreamTreeTokenType']['CUSTOM_BLOCK']]);var _0x2d09c5=class extends Error{constructor(){const _0x132f5a=_0x264e36;super(_0x132f5a(0x18f));}};function _0x59ec7a(_0x30d308){const _0x45ee9c=_0x264e36;var _0x149017,_0xf00b8f;let _0x274e91=_0x42b9d4['Tools'][_0x45ee9c(0x244)](_0x30d308['documentData']),_0x3cca0e=_0x36ce15(_0x274e91),{startOffset:_0x11df9f,endOffset:_0xa383c}=_0x1dfba6(_0x3cca0e,_0x30d308['startOffset'],_0x30d308[_0x45ee9c(0x164)]);_0x350f35(_0x3cca0e,_0x11df9f,_0xa383c);let _0x2b9a5f=((_0x149017=_0x3cca0e[_0x45ee9c(0x20d)])==null?void 0x0:_0x149017['filter'](_0x242b21=>{const _0x5bf3fb=_0x45ee9c;if(!_0x5b5048(_0x242b21))return!0x1;let _0x58bc27=(0x0,_0x42b9d4[_0x5bf3fb(0x178)])(_0x242b21);return _0x58bc27[_0x5bf3fb(0x164)]>_0x11df9f&&_0x58bc27[_0x5bf3fb(0x27e)]<_0xa383c;})['map'](_0x53c25f=>_0x53c25f[_0x45ee9c(0x26a)]))??[];_0x53f91f(_0x3cca0e,_0x11df9f,_0xa383c,''),_0x3cca0e[_0x45ee9c(0x20d)]=[...((_0xf00b8f=_0x3cca0e[_0x45ee9c(0x20d)])==null?void 0x0:_0xf00b8f['filter'](_0x2a7d10=>!_0x2b9a5f['includes'](_0x2a7d10['rangeId'])&&_0x2a7d10[_0x45ee9c(0x26a)]!==_0x30d308[_0x45ee9c(0x26a)]))??[],_0x342733(_0x30d308['rangeId'],_0x11df9f)][_0x45ee9c(0x17e)]((_0x175264,_0x1c85d3)=>_0x175264[_0x45ee9c(0x185)]-_0x1c85d3[_0x45ee9c(0x185)]);let _0x469bb9=_0xebc05c(_0x30d308[_0x45ee9c(0x19c)]);return _0x2b9a5f['forEach'](_0x245136=>{const _0x49e950=_0x45ee9c;delete _0x469bb9[_0x49e950(0x23a)][_0x245136];}),_0x469bb9[_0x45ee9c(0x23a)][_0x30d308[_0x45ee9c(0x26a)]]=_0x42b9d4[_0x45ee9c(0x181)]['deepClone'](_0x30d308['config']),{'nextDocumentData':_0x274e91,'nextResource':_0x469bb9,'cursorOffset':_0x11df9f+0x1};}function _0x266b43(_0x2f5ae1){const _0x6125a1=_0x264e36;var _0x1e5188,_0x3b6065;let _0x5008ae=_0x42b9d4[_0x6125a1(0x181)]['deepClone'](_0x2f5ae1[_0x6125a1(0x1a1)]),_0x123b9e=(_0x1e5188=_0x36ce15(_0x5008ae)[_0x6125a1(0x20d)])==null?void 0x0:_0x1e5188[_0x6125a1(0x29e)](_0x5271a0=>_0x5271a0['rangeId']===_0x2f5ae1[_0x6125a1(0x26a)]&&_0x5b5048(_0x5271a0));if(!_0x123b9e||!((_0x3b6065=_0x2f5ae1['resource'])!=null&&_0x3b6065['formulas'][_0x2f5ae1[_0x6125a1(0x26a)]]))return null;let _0x2db3ae=_0xebc05c(_0x2f5ae1['resource']);return _0x2db3ae[_0x6125a1(0x23a)][_0x2f5ae1[_0x6125a1(0x26a)]]=_0x42b9d4['Tools'][_0x6125a1(0x244)](_0x2f5ae1[_0x6125a1(0x2a5)]),{'nextDocumentData':_0x5008ae,'nextResource':_0x2db3ae,'cursorOffset':_0x123b9e[_0x6125a1(0x16c)]+0x1};}function _0x3e159c(_0x1760bc){const _0x3baa9c=_0x264e36;let _0x4c0638=_0x42b9d4[_0x3baa9c(0x181)][_0x3baa9c(0x244)](_0x1760bc['documentData']),_0xe6d6c9=_0xd57e4d(_0x4c0638,_0x1760bc['rangeId'],_0x1760bc[_0x3baa9c(0x198)]??'');if(_0xe6d6c9==null)return null;let _0x11f412=_0xebc05c(_0x1760bc[_0x3baa9c(0x19c)]);return delete _0x11f412[_0x3baa9c(0x23a)][_0x1760bc['rangeId']],{'nextDocumentData':_0x4c0638,'nextResource':_0x11f412,'cursorOffset':_0xe6d6c9};}function _0x5088dd(_0x4e7bad,_0x10bb8d){const _0x29cd=_0x264e36;var _0x3a6bd6;let _0x3b40ed=_0x42b9d4['Tools'][_0x29cd(0x244)](_0x4e7bad),_0x349368=_0x3b40ed['body'];if(!_0x349368)return _0x3b40ed;let _0x534836=new Map(_0x10bb8d[_0x29cd(0x25f)](_0xcafd03=>[_0xcafd03['rangeId'],_0xcafd03[_0x29cd(0x198)]])),_0x49fe09=((_0x3a6bd6=_0x349368[_0x29cd(0x20d)])==null?void 0x0:_0x3a6bd6[_0x29cd(0x291)](_0x54be6f=>_0x5b5048(_0x54be6f)&&_0x534836['has'](_0x54be6f[_0x29cd(0x26a)]))[_0x29cd(0x17e)]((_0x29ca44,_0x381e2e)=>_0x381e2e[_0x29cd(0x185)]-_0x29ca44[_0x29cd(0x185)]))??[];for(let _0x22fb2b of _0x49fe09)_0xd57e4d(_0x3b40ed,_0x22fb2b[_0x29cd(0x26a)],_0x534836[_0x29cd(0x255)](_0x22fb2b[_0x29cd(0x26a)])??'');return _0x3b40ed;}function _0x5b5048(_0x1e4edd){const _0x2db75f=_0x264e36;var _0x3b65cb;return(_0x1e4edd==null?void 0x0:_0x1e4edd[_0x2db75f(0x279)])===_0x42b9d4[_0x2db75f(0x1f7)]['CUSTOM']&&_0x1e4edd['wholeEntity']===!0x0&&((_0x3b65cb=_0x1e4edd[_0x2db75f(0x21a)])==null?void 0x0:_0x3b65cb[_0x2db75f(0x16e)])===_0x2db75f(0x290);}function _0xe4a3ff(_0x3c7505,_0xac680b){const _0x1d37d0=_0x264e36;var _0x3f3ee0;return _0x3c7505==null||(_0x3f3ee0=_0x3c7505['customRanges'])==null?void 0x0:_0x3f3ee0[_0x1d37d0(0x29e)](_0x45e923=>_0x45e923[_0x1d37d0(0x26a)]===_0xac680b&&_0x5b5048(_0x45e923));}function _0x350f35(_0x20b2e3,_0x22de97,_0x58d981){const _0x31a74b=_0x264e36;if(_0x22de97===_0x58d981){if(_0x4c2344[_0x31a74b(0x163)](_0x20b2e3['dataStream'][_0x22de97]))throw new _0x2d09c5();}else{for(let _0x40de21=_0x22de97;_0x40de21<_0x58d981;_0x40de21++)if(_0x20b2e3['dataStream'][_0x40de21]===_0x42b9d4[_0x31a74b(0x1e2)][_0x31a74b(0x1f5)]||_0x4c2344[_0x31a74b(0x163)](_0x20b2e3[_0x31a74b(0x17d)][_0x40de21]))throw new _0x2d09c5();}}function _0x342733(_0x238f25,_0x1d3a92){const _0x2acfef=_0x264e36;return{'startIndex':_0x1d3a92,'endIndex':_0x1d3a92,'rangeId':_0x238f25,'rangeType':_0x42b9d4[_0x2acfef(0x1f7)]['CUSTOM'],'wholeEntity':!0x0,'properties':{'kind':_0x48c9c7}};}function _0xebc05c(_0x2f14ff){const _0x333051=_0x264e36;return _0x2f14ff?_0x42b9d4[_0x333051(0x181)][_0x333051(0x244)](_0x2f14ff):_0x5c7567();}function _0x1dfba6(_0x47dbea,_0x3b3fac,_0x4743c9){const _0x147c25=_0x264e36;let _0x117dd0=_0x245434(_0x47dbea),_0x133f7e=_0x3b3fac??_0x117dd0,_0x13f614=_0x4743c9??_0x133f7e;return{'startOffset':_0x11780e(Math[_0x147c25(0x220)](_0x133f7e,_0x13f614),_0x117dd0),'endOffset':_0x11780e(Math['max'](_0x133f7e,_0x13f614),_0x117dd0)};}function _0x11780e(_0x25ee53,_0x1a6681){const _0xdcd0c8=_0x264e36;return Math[_0xdcd0c8(0x190)](0x0,Math['min'](_0x25ee53,_0x1a6681));}function _0x245434(_0x3dd22f){const _0x3ab037=_0x264e36;return _0x3dd22f[_0x3ab037(0x17d)]['endsWith'](''+_0x42b9d4[_0x3ab037(0x1e2)][_0x3ab037(0x1f5)]+_0x42b9d4['DataStreamTreeTokenType'][_0x3ab037(0x19a)])?Math['max'](0x0,_0x3dd22f[_0x3ab037(0x17d)][_0x3ab037(0x1ba)]-0x2):_0x3dd22f[_0x3ab037(0x17d)]['endsWith'](_0x42b9d4['DataStreamTreeTokenType']['SECTION_BREAK'])?Math[_0x3ab037(0x190)](0x0,_0x3dd22f[_0x3ab037(0x17d)][_0x3ab037(0x1ba)]-0x1):_0x3dd22f[_0x3ab037(0x17d)]['length'];}function _0x53f91f(_0x577963,_0x13a3e3,_0x310282,_0x9c9f1e){_0x310282>_0x13a3e3&&_0x1c2b38(_0x577963,_0x13a3e3,_0x310282),_0xdaca2b(_0x577963,_0x13a3e3,_0x9c9f1e);}function _0xd57e4d(_0x4f4516,_0x2baa0a,_0x25ec14){const _0x1248c4=_0x264e36;var _0x2abd78,_0x5b6a6f;let _0x4fbf42=_0x36ce15(_0x4f4516),_0x37e093=(_0x2abd78=_0x4fbf42[_0x1248c4(0x20d)])==null?void 0x0:_0x2abd78['find'](_0x5bad49=>_0x5bad49[_0x1248c4(0x26a)]===_0x2baa0a&&_0x5b5048(_0x5bad49));if(!_0x37e093)return null;let _0x29e765=(0x0,_0x42b9d4[_0x1248c4(0x178)])(_0x37e093);return _0x53f91f(_0x4fbf42,_0x29e765[_0x1248c4(0x27e)],_0x29e765[_0x1248c4(0x164)],_0x25ec14),_0x4fbf42[_0x1248c4(0x20d)]=(_0x5b6a6f=_0x4fbf42[_0x1248c4(0x20d)])==null?void 0x0:_0x5b6a6f[_0x1248c4(0x291)](_0x2057f9=>_0x2057f9['rangeId']!==_0x2baa0a),_0x29e765[_0x1248c4(0x27e)]+_0x25ec14[_0x1248c4(0x1ba)];}function _0xdaca2b(_0x525941,_0x171034,_0xe9dc52){const _0x78c146=_0x264e36;_0xe9dc52&&(_0x525941[_0x78c146(0x17d)]=''+_0x525941[_0x78c146(0x17d)][_0x78c146(0x20a)](0x0,_0x171034)+_0xe9dc52+_0x525941[_0x78c146(0x17d)][_0x78c146(0x20a)](_0x171034),_0x1dceaf(_0x525941,_0x171034,_0xe9dc52['length']));}function _0x1c2b38(_0x4de99f,_0x1882d7,_0x5e25f0){const _0x6eba11=_0x264e36;let _0x57383b=_0x5e25f0-_0x1882d7;_0x4de99f[_0x6eba11(0x17d)]=''+_0x4de99f['dataStream'][_0x6eba11(0x20a)](0x0,_0x1882d7)+_0x4de99f[_0x6eba11(0x17d)]['slice'](_0x5e25f0),_0x4e1288(_0x4de99f,_0x1882d7,_0x57383b);}function _0x1dceaf(_0xcc96e3,_0x488132,_0x278a97){const _0x23df17=_0x264e36;_0xcc96e3['paragraphs']=_0x3e9aec(_0xcc96e3[_0x23df17(0x288)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x18d)]=_0x3e9aec(_0xcc96e3[_0x23df17(0x18d)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x2a1)]=_0x3e9aec(_0xcc96e3['customBlocks'],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x166)]=_0x545910(_0xcc96e3[_0x23df17(0x166)],_0x488132,_0x278a97),_0xcc96e3['tables']=_0x21c4cd(_0xcc96e3[_0x23df17(0x228)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x280)]=_0x5216b3(_0xcc96e3[_0x23df17(0x280)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x20d)]=_0x5216b3(_0xcc96e3[_0x23df17(0x20d)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x298)]=_0x5216b3(_0xcc96e3[_0x23df17(0x298)],_0x488132,_0x278a97),_0xcc96e3['blockRanges']=_0x5216b3(_0xcc96e3[_0x23df17(0x1e0)],_0x488132,_0x278a97);}function _0x4e1288(_0x274d1e,_0xd5c0bc,_0x4c2271){const _0xea2d3c=_0x264e36;var _0xb231a1,_0x2be857;_0x274d1e[_0xea2d3c(0x288)]=_0x55aa02(_0x274d1e[_0xea2d3c(0x288)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x18d)]=_0x55aa02(_0x274d1e[_0xea2d3c(0x18d)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x2a1)]=_0x55aa02(_0x274d1e[_0xea2d3c(0x2a1)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x166)]=(_0xb231a1=_0x42a975((_0x2be857=_0x274d1e[_0xea2d3c(0x166)])==null?void 0x0:_0x2be857[_0xea2d3c(0x25f)](_0x3139de=>({..._0x3139de,'startIndex':_0x3139de['st'],'endIndex':_0x3139de['ed']})),_0xd5c0bc,_0x4c2271))==null?void 0x0:_0xb231a1[_0xea2d3c(0x25f)](_0x311b50=>{let {startIndex:_0x14f699,endIndex:_0x568f6a,..._0x193ff1}=_0x311b50;return{..._0x193ff1,'st':_0x14f699,'ed':_0x568f6a};}),_0x274d1e[_0xea2d3c(0x228)]=_0x42a975(_0x274d1e[_0xea2d3c(0x228)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x280)]=_0xb397df(_0x274d1e[_0xea2d3c(0x280)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x20d)]=_0xb397df(_0x274d1e['customRanges'],_0xd5c0bc,_0x4c2271),_0x274d1e['customDecorations']=_0xb397df(_0x274d1e[_0xea2d3c(0x298)],_0xd5c0bc,_0x4c2271),_0x274d1e['blockRanges']=_0xb397df(_0x274d1e['blockRanges'],_0xd5c0bc,_0x4c2271);}function _0x3e9aec(_0x2dd38b,_0x226d15,_0x2df4c4){const _0x434383=_0x264e36;return _0x2dd38b==null?void 0x0:_0x2dd38b[_0x434383(0x25f)](_0x5b17df=>_0x5b17df[_0x434383(0x185)]>=_0x226d15?{..._0x5b17df,'startIndex':_0x5b17df['startIndex']+_0x2df4c4}:_0x5b17df);}function _0x55aa02(_0xe10e86,_0x1433b1,_0x26e401){const _0x1e76e9=_0x264e36;let _0x205536=_0x1433b1+_0x26e401;return _0xe10e86==null?void 0x0:_0xe10e86[_0x1e76e9(0x25f)](_0x4b0ed8=>_0x4b0ed8[_0x1e76e9(0x185)]>=_0x1433b1&&_0x4b0ed8[_0x1e76e9(0x185)]<_0x205536?null:_0x4b0ed8[_0x1e76e9(0x185)]>=_0x205536?{..._0x4b0ed8,'startIndex':_0x4b0ed8['startIndex']-_0x26e401}:_0x4b0ed8)[_0x1e76e9(0x291)](_0x3753aa=>_0x3753aa!=null);}function _0x545910(_0x4d9cf5,_0x2dc2ce,_0x5a5017){const _0x28c666=_0x264e36;return _0x4d9cf5==null?void 0x0:_0x4d9cf5[_0x28c666(0x25f)](_0x503cb7=>_0x503cb7['st']>=_0x2dc2ce?{..._0x503cb7,'st':_0x503cb7['st']+_0x5a5017,'ed':_0x503cb7['ed']+_0x5a5017}:_0x503cb7['ed']>_0x2dc2ce?{..._0x503cb7,'ed':_0x503cb7['ed']+_0x5a5017}:_0x503cb7);}function _0x5216b3(_0x5f1e49,_0x2f2e12,_0xb106ff){const _0x349e9e=_0x264e36;return _0x5f1e49==null?void 0x0:_0x5f1e49[_0x349e9e(0x25f)](_0x5111b4=>(0x0,_0x42b9d4[_0x349e9e(0x17a)])(_0x5111b4,_0x2f2e12,_0xb106ff));}function _0x21c4cd(_0x396340,_0x46d265,_0x4da9a7){const _0x5450ff=_0x264e36;return _0x396340==null?void 0x0:_0x396340['map'](_0x29513a=>(0x0,_0x42b9d4[_0x5450ff(0x212)])(_0x29513a,_0x46d265,_0x4da9a7));}function _0xb397df(_0x486b42,_0x3297a2,_0x24b950){const _0x4ccfa4=_0x264e36;return _0x486b42==null?void 0x0:_0x486b42['map'](_0x17b59c=>(0x0,_0x42b9d4[_0x4ccfa4(0x169)])(_0x17b59c,_0x3297a2,_0x24b950))[_0x4ccfa4(0x291)](_0x34878b=>_0x34878b!=null);}function _0x42a975(_0x56b78c,_0x47d923,_0x21092c){const _0x3241f4=_0x264e36;return _0x56b78c==null?void 0x0:_0x56b78c[_0x3241f4(0x25f)](_0x444337=>(0x0,_0x42b9d4[_0x3241f4(0x27b)])(_0x444337,_0x47d923,_0x21092c))['filter'](_0x721109=>_0x721109!=null);}function _0x36ce15(_0x310fa6){const _0x34ddab=_0x264e36;if(!_0x310fa6[_0x34ddab(0x1ff)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x310fa6[_0x34ddab(0x1ff)];}function _0x284c45(_0x20fa55){'@babel/helpers - typeof';const _0x21bee6=_0x264e36;return _0x284c45=typeof Symbol==_0x21bee6(0x21c)&&typeof Symbol['iterator']==_0x21bee6(0x2a4)?function(_0x1370c6){return typeof _0x1370c6;}:function(_0x481efe){const _0x4bddaf=_0x21bee6;return _0x481efe&&typeof Symbol=='function'&&_0x481efe[_0x4bddaf(0x1f3)]===Symbol&&_0x481efe!==Symbol[_0x4bddaf(0x2af)]?'symbol':typeof _0x481efe;},_0x284c45(_0x20fa55);}function _0x4c4f06(_0x21da3a,_0x2e36d3){const _0x1f06a6=_0x264e36;if(_0x284c45(_0x21da3a)!=_0x1f06a6(0x1c5)||!_0x21da3a)return _0x21da3a;var _0x348b79=_0x21da3a[Symbol[_0x1f06a6(0x177)]];if(_0x348b79!==void 0x0){var _0xbca7f5=_0x348b79[_0x1f06a6(0x2b0)](_0x21da3a,_0x2e36d3||'default');if(_0x284c45(_0xbca7f5)!=_0x1f06a6(0x1c5))return _0xbca7f5;throw TypeError(_0x1f06a6(0x1a2));}return(_0x2e36d3==='string'?String:Number)(_0x21da3a);}function _0x305794(_0xc58b22){const _0x4a0eb5=_0x264e36;var _0x286b6d=_0x4c4f06(_0xc58b22,_0x4a0eb5(0x1ef));return _0x284c45(_0x286b6d)==_0x4a0eb5(0x2a4)?_0x286b6d:_0x286b6d+'';}function _0x4b071f(_0x27b6d8,_0x238fe3,_0x4c66ac){const _0x4367f8=_0x264e36;return(_0x238fe3=_0x305794(_0x238fe3))in _0x27b6d8?Object[_0x4367f8(0x1ac)](_0x27b6d8,_0x238fe3,{'value':_0x4c66ac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27b6d8[_0x238fe3]=_0x4c66ac,_0x27b6d8;}var _0x136dfa=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(..._0x3006fb){const _0x2b991f=_0x264e36;super(..._0x3006fb),_0x4b071f(this,_0x2b991f(0x1cc),new Map()),_0x4b071f(this,'_rawResources',new Map()),_0x4b071f(this,'_loadErrors',new Map()),_0x4b071f(this,_0x2b991f(0x2ac),new _0x58159d[(_0x2b991f(0x2ab))]()),_0x4b071f(this,_0x2b991f(0x299),this[_0x2b991f(0x2ac)]['asObservable']());}[_0x264e36(0x221)](_0x4d0ac0,_0x1e2dc3){const _0x172f83=_0x264e36;var _0x2a2176;let _0x1b5c6d=(_0x2a2176=this[_0x172f83(0x1cc)][_0x172f83(0x255)](_0x4d0ac0))==null?void 0x0:_0x2a2176['formulas'][_0x1e2dc3];return _0x1b5c6d?_0x42b9d4[_0x172f83(0x181)][_0x172f83(0x244)](_0x1b5c6d):void 0x0;}[_0x264e36(0x204)](_0x534f9a){const _0x47e4c1=_0x264e36;var _0x59a62c;return _0x42b9d4['Tools'][_0x47e4c1(0x244)](((_0x59a62c=this[_0x47e4c1(0x1cc)]['get'](_0x534f9a))==null?void 0x0:_0x59a62c[_0x47e4c1(0x23a)])??{});}[_0x264e36(0x1fa)](_0x5a2513){const _0x52749b=_0x264e36;let _0x3d50f9=this[_0x52749b(0x1cc)]['get'](_0x5a2513);return _0x3d50f9?_0x42b9d4[_0x52749b(0x181)][_0x52749b(0x244)](_0x3d50f9):void 0x0;}[_0x264e36(0x1f0)](_0x52e84c,_0x375464,_0x400781){const _0x5912de=_0x264e36;return this[_0x5912de(0x1bd)](_0x52e84c,{[_0x375464]:_0x400781});}[_0x264e36(0x28e)](_0x2f0315,_0x129c6c){const _0x3510bd=_0x264e36;return this[_0x3510bd(0x285)][_0x3510bd(0x163)](_0x2f0315)||!_0x4d9d4b(_0x129c6c)?!0x1:(this[_0x3510bd(0x1cc)][_0x3510bd(0x16d)](_0x2f0315,_0x42b9d4[_0x3510bd(0x181)]['deepClone'](_0x129c6c)),this[_0x3510bd(0x2ac)][_0x3510bd(0x1de)]({'unitId':_0x2f0315}),!0x0);}[_0x264e36(0x1bd)](_0x257868,_0x1ddf80){const _0x250a07=_0x264e36;if(this['_loadErrors'][_0x250a07(0x163)](_0x257868)||!Object[_0x250a07(0x272)](_0x1ddf80)[_0x250a07(0x1ba)]||!_0x4d9d4b({'schemaVersion':0x1,'formulas':_0x1ddf80}))return!0x1;let _0x15c280=this[_0x250a07(0x1cc)]['get'](_0x257868)??_0x5c7567(),_0x58e28a=_0x42b9d4['Tools'][_0x250a07(0x244)](_0x15c280);return Object['assign'](_0x58e28a[_0x250a07(0x23a)],_0x42b9d4[_0x250a07(0x181)]['deepClone'](_0x1ddf80)),this['_resources'][_0x250a07(0x16d)](_0x257868,_0x58e28a),this['_change$'][_0x250a07(0x1de)]({'unitId':_0x257868,'rangeIds':Object[_0x250a07(0x272)](_0x1ddf80)}),!0x0;}['removeFormula'](_0x5129a4,_0x2fed17){const _0x2f4188=_0x264e36;if(this[_0x2f4188(0x285)][_0x2f4188(0x163)](_0x5129a4))return!0x1;let _0x188adf=this[_0x2f4188(0x1cc)]['get'](_0x5129a4);if(!(_0x188adf!=null&&_0x188adf[_0x2f4188(0x23a)][_0x2fed17]))return!0x1;let _0x9587c4=_0x42b9d4[_0x2f4188(0x181)]['deepClone'](_0x188adf);return delete _0x9587c4[_0x2f4188(0x23a)][_0x2fed17],this[_0x2f4188(0x1cc)][_0x2f4188(0x16d)](_0x5129a4,_0x9587c4),this[_0x2f4188(0x2ac)]['next']({'unitId':_0x5129a4,'rangeIds':[_0x2fed17]}),!0x0;}['load'](_0x11035e,_0x2c1f57){const _0x55c31b=_0x264e36;return _0x2c1f57&&typeof _0x2c1f57==_0x55c31b(0x1c5)&&_0x55c31b(0x250)in _0x2c1f57&&_0x2c1f57['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x11035e,_0x2c1f57,_0x55c31b(0x20c)),!0x1):_0x4d9d4b(_0x2c1f57)?(this[_0x55c31b(0x1cc)][_0x55c31b(0x16d)](_0x11035e,_0x42b9d4[_0x55c31b(0x181)]['deepClone'](_0x2c1f57)),this[_0x55c31b(0x26e)][_0x55c31b(0x1d5)](_0x11035e),this[_0x55c31b(0x285)][_0x55c31b(0x1d5)](_0x11035e),this['_change$'][_0x55c31b(0x1de)]({'unitId':_0x11035e}),!0x0):(this[_0x55c31b(0x1ab)](_0x11035e,_0x2c1f57,'invalid-resource'),!0x1);}['serialize'](_0x5ede79){const _0x5e8bf8=_0x264e36;let _0x4c7a5a=this['_resources'][_0x5e8bf8(0x255)](_0x5ede79);return _0x4c7a5a?_0x42b9d4[_0x5e8bf8(0x181)][_0x5e8bf8(0x244)](_0x4c7a5a):this['_rawResources'][_0x5e8bf8(0x163)](_0x5ede79)?_0x42b9d4['Tools'][_0x5e8bf8(0x244)](this[_0x5e8bf8(0x26e)][_0x5e8bf8(0x255)](_0x5ede79)):_0x5c7567();}[_0x264e36(0x194)](_0x34c174){return this['_loadErrors']['get'](_0x34c174);}['removeUnit'](_0x40433c){const _0xf0a461=_0x264e36;this[_0xf0a461(0x1cc)][_0xf0a461(0x1d5)](_0x40433c),this['_rawResources'][_0xf0a461(0x1d5)](_0x40433c),this[_0xf0a461(0x285)][_0xf0a461(0x1d5)](_0x40433c),this[_0xf0a461(0x2ac)]['next']({'unitId':_0x40433c});}['dispose'](){const _0x2df966=_0x264e36;this['_resources'][_0x2df966(0x248)](),this[_0x2df966(0x26e)][_0x2df966(0x248)](),this[_0x2df966(0x285)][_0x2df966(0x248)](),this[_0x2df966(0x2ac)][_0x2df966(0x19d)](),super['dispose']();}[_0x264e36(0x1ab)](_0x310e31,_0x5b58dc,_0x14b48e){const _0x2763aa=_0x264e36;this[_0x2763aa(0x1cc)][_0x2763aa(0x1d5)](_0x310e31),this['_rawResources'][_0x2763aa(0x16d)](_0x310e31,_0x42b9d4[_0x2763aa(0x181)]['deepClone'](_0x5b58dc)),this[_0x2763aa(0x285)][_0x2763aa(0x16d)](_0x310e31,_0x14b48e),this['_change$'][_0x2763aa(0x1de)]({'unitId':_0x310e31});}};let _0x17a4fa=function(_0x17c50b){const _0x37a70f=_0x264e36;return _0x17c50b[_0x37a70f(0x236)]=_0x37a70f(0x249),_0x17c50b['PENDING']=_0x37a70f(0x276),_0x17c50b[_0x37a70f(0x2a2)]=_0x37a70f(0x209),_0x17c50b[_0x37a70f(0x182)]='error',_0x17c50b;}({});function _0x5eb961(_0xfdb8dd,_0x2e7d13){return function(_0x5b2aef,_0xe5823d){_0x2e7d13(_0x5b2aef,_0xe5823d,_0xfdb8dd);};}function _0x41e1df(_0x480f67,_0x1ac099,_0x2c33dd,_0x480c2e){const _0x12d4dc=_0x264e36;var _0x221c9e=arguments[_0x12d4dc(0x1ba)],_0x1a5fda=_0x221c9e<0x3?_0x1ac099:_0x480c2e===null?_0x480c2e=Object[_0x12d4dc(0x22b)](_0x1ac099,_0x2c33dd):_0x480c2e,_0x1f72bc;if(typeof Reflect==_0x12d4dc(0x1c5)&&typeof Reflect['decorate']==_0x12d4dc(0x21c))_0x1a5fda=Reflect[_0x12d4dc(0x292)](_0x480f67,_0x1ac099,_0x2c33dd,_0x480c2e);else{for(var _0x40ba07=_0x480f67[_0x12d4dc(0x1ba)]-0x1;_0x40ba07>=0x0;_0x40ba07--)(_0x1f72bc=_0x480f67[_0x40ba07])&&(_0x1a5fda=(_0x221c9e<0x3?_0x1f72bc(_0x1a5fda):_0x221c9e>0x3?_0x1f72bc(_0x1ac099,_0x2c33dd,_0x1a5fda):_0x1f72bc(_0x1ac099,_0x2c33dd))||_0x1a5fda);}return _0x221c9e>0x3&&_0x1a5fda&&Object[_0x12d4dc(0x1ac)](_0x1ac099,_0x2c33dd,_0x1a5fda),_0x1a5fda;}let _0x567cc8=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x3f9330,_0xfbab3d,_0x126b97){const _0x294a3d=_0x264e36;super(),this[_0x294a3d(0x1bb)]=_0x3f9330,this[_0x294a3d(0x18e)]=_0xfbab3d,this['_hostExternalReferenceModel']=_0x126b97,_0x4b071f(this,_0x294a3d(0x1be),new Map()),_0x4b071f(this,_0x294a3d(0x1c6),new Map()),_0x4b071f(this,'_presentationChanged$',new _0x58159d['Subject']()),_0x4b071f(this,_0x294a3d(0x28a),this[_0x294a3d(0x28b)]['asObservable']()),this[_0x294a3d(0x22d)](this[_0x294a3d(0x18e)]['formulaResult$'][_0x294a3d(0x199)](_0x2cea6a=>{const _0x595005=_0x294a3d;for(let _0x989cb2 of Object['values'](_0x2cea6a))for(let _0x24e66b of Object[_0x595005(0x2ad)](_0x989cb2))_0x24e66b['forEach'](_0xdb0694=>this[_0x595005(0x1ec)](_0xdb0694));}));}['syncUnit'](_0x46f7e2){const _0x40b755=_0x264e36;var _0xce4064;let _0xf7ab64=_0x46f7e2[_0x40b755(0x1f6)](),_0x45f40c=((_0xce4064=_0x46f7e2['getSnapshot']()['body'])==null||(_0xce4064=_0xce4064[_0x40b755(0x20d)])==null?void 0x0:_0xce4064[_0x40b755(0x291)](_0x5b5048))??[],_0x4e32ea=this['_model']['getFormulas'](_0xf7ab64),_0x4657c2=new Set();for(let _0x1d072a of _0x45f40c){let _0x292ecb=_0x4e32ea[_0x1d072a[_0x40b755(0x26a)]];_0x292ecb&&(_0x4657c2[_0x40b755(0x1af)](_0x1b519a(_0xf7ab64,_0x1d072a[_0x40b755(0x26a)])),this['register']({'unitId':_0xf7ab64,'rangeId':_0x1d072a[_0x40b755(0x26a)]},_0x292ecb));}for(let _0x23031b of Array[_0x40b755(0x175)](this['_registrations'][_0x40b755(0x2ad)]()))_0x23031b[_0x40b755(0x167)]===_0xf7ab64&&!_0x4657c2[_0x40b755(0x163)](_0x1b519a(_0x23031b[_0x40b755(0x167)],_0x23031b[_0x40b755(0x26a)]))&&this['unregister'](_0x23031b);}[_0x264e36(0x215)](_0x38922b,_0x15428a){const _0x29547e=_0x264e36;let _0x209066=_0x1b519a(_0x38922b[_0x29547e(0x167)],_0x38922b[_0x29547e(0x26a)]),_0x7e5fdf=this['_registrations'][_0x29547e(0x255)](_0x209066),_0x53c958=this[_0x29547e(0x23f)]['getRevision'](_0x38922b[_0x29547e(0x167)]);if(_0x7e5fdf&&_0x7e5fdf['config']['formula']===_0x15428a[_0x29547e(0x1b7)]&&_0x7e5fdf[_0x29547e(0x241)]===_0x53c958){_0x7e5fdf['config']=_0x15428a;let _0x16060d=_0x7e5fdf[_0x29547e(0x1a7)]?this[_0x29547e(0x18e)][_0x29547e(0x21d)](_0x7e5fdf[_0x29547e(0x167)],_0x7e5fdf[_0x29547e(0x167)],_0x7e5fdf[_0x29547e(0x1a7)])??void 0x0:void 0x0;_0x7e5fdf[_0x29547e(0x28c)]=_0x16060d,this[_0x29547e(0x296)](_0x209066,_0x24def7(_0x15428a,_0x16060d));return;}_0x7e5fdf!=null&&_0x7e5fdf[_0x29547e(0x1a7)]&&this[_0x29547e(0x2a7)](_0x7e5fdf);let _0x1cf98d={..._0x38922b,'config':_0x15428a,'referenceRevision':_0x53c958,'presentation':_0x24def7(_0x15428a,void 0x0)};if(this[_0x29547e(0x1be)][_0x29547e(0x16d)](_0x209066,_0x1cf98d),!_0x15428a[_0x29547e(0x1b7)][_0x29547e(0x1f9)]())return;let _0x138eae=this[_0x29547e(0x18e)][_0x29547e(0x1da)](_0x38922b[_0x29547e(0x167)],_0x38922b['unitId'],_0x15428a[_0x29547e(0x1b7)],void 0x0,{'rangeId':_0x38922b[_0x29547e(0x26a)]},_0xf5658[_0x29547e(0x1fb)][_0x29547e(0x18b)],_0x38922b[_0x29547e(0x26a)]);_0x1cf98d[_0x29547e(0x1a7)]=_0x138eae,this[_0x29547e(0x1c6)][_0x29547e(0x16d)](_0x138eae,_0x209066);}['unregister'](_0x37e1ca){const _0x33efe5=_0x264e36;let _0x1b1724=_0x1b519a(_0x37e1ca[_0x33efe5(0x167)],_0x37e1ca[_0x33efe5(0x26a)]),_0x3df89f=this[_0x33efe5(0x1be)][_0x33efe5(0x255)](_0x1b1724);_0x3df89f&&(this[_0x33efe5(0x2a7)](_0x3df89f),this[_0x33efe5(0x1be)][_0x33efe5(0x1d5)](_0x1b1724));}[_0x264e36(0x230)](_0x34fcc2){const _0x42f60b=_0x264e36;for(let _0x248da6 of Array['from'](this[_0x42f60b(0x1be)][_0x42f60b(0x2ad)]()))_0x248da6[_0x42f60b(0x167)]===_0x34fcc2&&this['unregister'](_0x248da6);}[_0x264e36(0x170)](_0x2950b6){const _0x126660=_0x264e36;var _0x1666c2;return(_0x1666c2=this[_0x126660(0x1be)][_0x126660(0x255)](_0x1b519a(_0x2950b6[_0x126660(0x167)],_0x2950b6[_0x126660(0x26a)])))==null?void 0x0:_0x1666c2[_0x126660(0x2ae)];}[_0x264e36(0x25d)](_0x3d9e2d){const _0x399e05=_0x264e36;let _0x33ddbe=this[_0x399e05(0x1be)][_0x399e05(0x255)](_0x1b519a(_0x3d9e2d[_0x399e05(0x167)],_0x3d9e2d[_0x399e05(0x26a)]));return _0x33ddbe?_0x358e13(_0x33ddbe):void 0x0;}[_0x264e36(0x195)](){const _0x470c8a=_0x264e36;return Array[_0x470c8a(0x175)](this[_0x470c8a(0x1be)][_0x470c8a(0x2ad)](),_0x3e77c5=>({'identity':{'unitId':_0x3e77c5[_0x470c8a(0x167)],'rangeId':_0x3e77c5[_0x470c8a(0x26a)]},'config':_0x3e77c5['config'],'referenceRevision':_0x3e77c5[_0x470c8a(0x241)],..._0x3e77c5[_0x470c8a(0x28c)]?{'liveResult':_0x3e77c5[_0x470c8a(0x28c)]}:null}));}[_0x264e36(0x1c7)](){const _0x79e3e8=_0x264e36;for(let _0x3e2d76 of this[_0x79e3e8(0x1be)][_0x79e3e8(0x2ad)]())this[_0x79e3e8(0x2a7)](_0x3e2d76);this[_0x79e3e8(0x1be)][_0x79e3e8(0x248)](),this[_0x79e3e8(0x1c6)]['clear'](),this[_0x79e3e8(0x28b)][_0x79e3e8(0x19d)](),super[_0x79e3e8(0x1c7)]();}[_0x264e36(0x1ec)](_0x2fcfce){const _0x1e44c3=_0x264e36;let _0x155b60=this[_0x1e44c3(0x1c6)][_0x1e44c3(0x255)](_0x2fcfce[_0x1e44c3(0x1a7)]),_0x2bdfc6=_0x155b60?this['_registrations'][_0x1e44c3(0x255)](_0x155b60):void 0x0;_0x155b60&&_0x2bdfc6&&(_0x2bdfc6[_0x1e44c3(0x28c)]=_0x2fcfce,this[_0x1e44c3(0x296)](_0x155b60,_0x24def7(_0x2bdfc6[_0x1e44c3(0x2a5)],_0x2fcfce)));}[_0x264e36(0x296)](_0x551bea,_0xb7e8e0){const _0x11bde2=_0x264e36;var _0x1d7534,_0x7ef66f;let _0x3cfe19=this['_registrations'][_0x11bde2(0x255)](_0x551bea);if(!_0x3cfe19||_0xec306a(_0x3cfe19[_0x11bde2(0x2ae)],_0xb7e8e0))return;let _0x37ea81=_0x3cfe19[_0x11bde2(0x2ae)],_0x58d106=_0x358e13(_0x3cfe19);_0x3cfe19['presentation']=_0xb7e8e0,this[_0x11bde2(0x28b)][_0x11bde2(0x1de)]({'unitId':_0x3cfe19['unitId'],'rangeId':_0x3cfe19[_0x11bde2(0x26a)],'presentation':_0xb7e8e0,'previousPresentation':_0x37ea81,'result':_0x358e13(_0x3cfe19),'previousResult':{..._0x58d106,..._0x37ea81,'value':(_0x1d7534=_0x37ea81[_0x11bde2(0x216)])==null?void 0x0:_0x1d7534['v'],'valueType':((_0x7ef66f=_0x37ea81[_0x11bde2(0x216)])==null?void 0x0:_0x7ef66f['t'])??void 0x0}});}[_0x264e36(0x2a7)](_0x1bc23c){const _0x410fe8=_0x264e36;_0x1bc23c[_0x410fe8(0x1a7)]&&(this[_0x410fe8(0x18e)][_0x410fe8(0x27c)](_0x1bc23c[_0x410fe8(0x167)],_0x1bc23c[_0x410fe8(0x167)],[_0x1bc23c['formulaId']]),this[_0x410fe8(0x1c6)][_0x410fe8(0x1d5)](_0x1bc23c[_0x410fe8(0x1a7)]));}};_0x567cc8=_0x41e1df([_0x5eb961(0x0,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x136dfa)),_0x5eb961(0x1,(0x0,_0x42b9d4['Inject'])(_0xf5658[_0x264e36(0x27a)])),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x138dd0[_0x264e36(0x251)]))],_0x567cc8);function _0x1b519a(_0x2bafda,_0xe1e043){return _0x2bafda+'\x00'+_0xe1e043;}function _0x24def7(_0x3f98bd,_0x2f5cc1){const _0x1b0704=_0x264e36;return(0x0,_0x138dd0['resolveFormulaResultPresentation'])({'numberFormat':_0x3f98bd[_0x1b0704(0x1f8)],'lastValue':_0x3f98bd[_0x1b0704(0x1bf)],'result':_0x2f5cc1});}function _0x358e13(_0x2890c7){const _0x3a9174=_0x264e36;var _0x524349,_0x3d1e84,_0xcf4db5;let _0x10c71f=_0x2890c7[_0x3a9174(0x2ae)],_0x42e9f2=_0x2890c7[_0x3a9174(0x2a5)]['formula'][_0x3a9174(0x1f9)]()?_0x10c71f[_0x3a9174(0x274)]||_0x10c71f[_0x3a9174(0x216)]==null?_0x3a9174(0x276):((_0x524349=_0x2890c7[_0x3a9174(0x28c)])==null?void 0x0:_0x524349[_0x3a9174(0x1e5)])===_0xf5658[_0x3a9174(0x229)][_0x3a9174(0x182)]?_0x3a9174(0x233):_0x3a9174(0x209):_0x3a9174(0x249);return{..._0x10c71f,'status':_0x42e9f2,'value':(_0x3d1e84=_0x10c71f['cell'])==null?void 0x0:_0x3d1e84['v'],'valueType':((_0xcf4db5=_0x10c71f[_0x3a9174(0x216)])==null?void 0x0:_0xcf4db5['t'])??void 0x0};}function _0xec306a(_0x164e46,_0x18c7e4){const _0x13760f=_0x264e36;var _0x5c6eec,_0x20a784,_0x5d4b53,_0x188a22;return _0x164e46[_0x13760f(0x198)]===_0x18c7e4[_0x13760f(0x198)]&&_0x164e46[_0x13760f(0x287)]===_0x18c7e4[_0x13760f(0x287)]&&_0x164e46[_0x13760f(0x16a)]===_0x18c7e4[_0x13760f(0x16a)]&&_0x164e46['source']===_0x18c7e4[_0x13760f(0x1a5)]&&_0x164e46[_0x13760f(0x274)]===_0x18c7e4[_0x13760f(0x274)]&&((_0x5c6eec=_0x164e46['cell'])==null?void 0x0:_0x5c6eec['t'])===((_0x20a784=_0x18c7e4[_0x13760f(0x216)])==null?void 0x0:_0x20a784['t'])&&Object['is']((_0x5d4b53=_0x164e46[_0x13760f(0x216)])==null?void 0x0:_0x5d4b53['v'],(_0x188a22=_0x18c7e4[_0x13760f(0x216)])==null?void 0x0:_0x188a22['v']);}let _0x5e5b67={'id':'docs-formula.mutation.set-formula','type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x1e3)],'handler':(_0x4045f5,_0x467e48)=>!(_0x467e48!=null&&_0x467e48['unitId'])||!_0x467e48[_0x264e36(0x26a)]||!_0x467e48[_0x264e36(0x2a5)]?!0x1:_0x4045f5['get'](_0x136dfa)[_0x264e36(0x1f0)](_0x467e48[_0x264e36(0x167)],_0x467e48[_0x264e36(0x26a)],_0x467e48[_0x264e36(0x2a5)])},_0x2be4a6={'id':_0x264e36(0x271),'type':_0x42b9d4[_0x264e36(0x269)]['MUTATION'],'handler':(_0x2ddcb1,_0x2170e1)=>!(_0x2170e1!=null&&_0x2170e1['unitId'])||!_0x2170e1[_0x264e36(0x26a)]?!0x1:_0x2ddcb1[_0x264e36(0x255)](_0x136dfa)[_0x264e36(0x26d)](_0x2170e1['unitId'],_0x2170e1[_0x264e36(0x26a)])},_0x5679e0={'id':'docs-formula.mutation.set-resource','type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x1e3)],'handler':(_0x3df503,_0x3606fe)=>!(_0x3606fe!=null&&_0x3606fe[_0x264e36(0x167)])||!_0x3606fe[_0x264e36(0x19c)]?!0x1:_0x3df503[_0x264e36(0x255)](_0x136dfa)[_0x264e36(0x28e)](_0x3606fe[_0x264e36(0x167)],_0x3606fe[_0x264e36(0x19c)])},_0x567c0f={'id':_0x264e36(0x213),'type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x1e3)],'handler':(_0x44c2fd,_0x1eb407)=>{const _0x2d11a3=_0x264e36;if(!(_0x1eb407!=null&&_0x1eb407[_0x2d11a3(0x167)])||!_0x1eb407[_0x2d11a3(0x1e4)]['length'])return!0x1;let _0x6e9599=_0x44c2fd['get'](_0x136dfa),_0x206253=_0x44c2fd[_0x2d11a3(0x255)](_0x138dd0[_0x2d11a3(0x251)]),_0x50cf4d=_0x6e9599[_0x2d11a3(0x1fa)](_0x1eb407['unitId']);if(!_0x50cf4d)return!0x1;let _0x4a813c=_0x42b9d4[_0x2d11a3(0x181)]['deepClone'](_0x50cf4d),_0x5e24f5=!0x1;for(let _0x16f549 of _0x1eb407[_0x2d11a3(0x1e4)]){var _0x50db15,_0x5548f2,_0x3b05db,_0x3c80c6;let _0x256e8c=_0x4a813c[_0x2d11a3(0x23a)][_0x16f549['rangeId']];_0x256e8c&&_0x256e8c[_0x2d11a3(0x1b7)]===_0x16f549[_0x2d11a3(0x268)]&&((_0x50db15=_0x256e8c['numberFormat'])==null?void 0x0:_0x50db15[_0x2d11a3(0x16a)])===_0x16f549[_0x2d11a3(0x1d2)]&&_0x206253[_0x2d11a3(0x1ca)](_0x1eb407[_0x2d11a3(0x167)])===_0x16f549[_0x2d11a3(0x294)]&&(((_0x5548f2=_0x256e8c[_0x2d11a3(0x1bf)])==null?void 0x0:_0x5548f2['v'])!==_0x16f549[_0x2d11a3(0x1bf)]['v']||((_0x3b05db=_0x256e8c['lastValue'])==null?void 0x0:_0x3b05db['t'])!==_0x16f549['lastValue']['t']||((_0x3c80c6=_0x256e8c[_0x2d11a3(0x1bf)])==null?void 0x0:_0x3c80c6['pattern'])!==_0x16f549['lastValue'][_0x2d11a3(0x16a)])&&(_0x256e8c[_0x2d11a3(0x1bf)]=_0x42b9d4[_0x2d11a3(0x181)][_0x2d11a3(0x244)](_0x16f549[_0x2d11a3(0x1bf)]),_0x5e24f5=!0x0);}return!_0x5e24f5||_0x6e9599[_0x2d11a3(0x28e)](_0x1eb407[_0x2d11a3(0x167)],_0x4a813c);}},_0x2b011d={'id':_0x264e36(0x1fe),'type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x270)],'handler':(_0x5cf474,_0xf43145)=>{const _0x23067b=_0x264e36;if(!(_0xf43145!=null&&_0xf43145[_0x23067b(0x1b7)][_0x23067b(0x1f9)]()))return!0x1;let _0x3f8f0a=_0x12ccf3(_0x5cf474,_0xf43145['unitId'],'');if(!_0x3f8f0a)return!0x1;let _0xff3c8d=_0xf4e5e3(_0xf43145[_0x23067b(0x201)],_0x3f8f0a[_0x23067b(0x1ff)],_0x213401(_0x5cf474,_0x3f8f0a['unitId']));if(!_0xff3c8d)return!0x1;let _0x542c15=_0x99c336(_0x5cf474,_0x3f8f0a['unitId'],_0xf43145[_0x23067b(0x1b7)],_0xf43145[_0x23067b(0x188)]??[]);if(!_0x542c15)return!0x1;let _0x2fe28e=_0x960360(_0x3f8f0a['body'],_0x3f8f0a[_0x23067b(0x16f)],_0x3f8f0a['unitId']),_0x500e93=_0xc6a83d({'documentData':_0x3f8f0a[_0x23067b(0x1a1)],'resource':_0x3f8f0a['resource'],'rangeId':_0x2fe28e,'config':{'formula':_0xf43145[_0x23067b(0x1b7)],..._0xf43145['numberFormat']?{'numberFormat':_0xf43145[_0x23067b(0x1f8)]}:null},'startOffset':_0xff3c8d[_0x23067b(0x27e)],'endOffset':_0xff3c8d[_0x23067b(0x164)]});if(!_0x500e93)return!0x1;let _0x49df81=(0x0,_0x138dd0[_0x23067b(0x19b)])(_0x5cf474,_0x3f8f0a['unitId'],_0x542c15);return!_0x49df81||!_0x450e35({'accessor':_0x5cf474,'document':_0x3f8f0a[_0x23067b(0x1b3)],'unitId':_0x3f8f0a[_0x23067b(0x167)],'trigger':_0x2b011d['id'],'rangeId':_0x2fe28e,'previousResource':_0x3f8f0a[_0x23067b(0x19c)],'nextResource':_0x500e93[_0x23067b(0x252)],'previousDocumentData':_0x3f8f0a[_0x23067b(0x1a1)],'nextDocumentData':_0x500e93[_0x23067b(0x202)],'cursorOffset':_0x500e93[_0x23067b(0x289)],'externalMutations':_0x49df81})?!0x1:{'rangeId':_0x2fe28e,'startOffset':_0x500e93[_0x23067b(0x289)]-0x1,'endOffset':_0x500e93[_0x23067b(0x289)]};}},_0x45e8cd={'id':_0x264e36(0x24b),'type':_0x42b9d4['CommandType'][_0x264e36(0x270)],'handler':(_0x543a46,_0x1a5973)=>{const _0x49f1cb=_0x264e36;if(!(_0x1a5973!=null&&_0x1a5973['rangeId'])||!_0x1a5973[_0x49f1cb(0x1b7)]['trim']())return!0x1;let _0x3060eb=_0x12ccf3(_0x543a46,_0x1a5973[_0x49f1cb(0x167)],''),_0x3dc5c5=_0x3060eb==null?void 0x0:_0x3060eb['model']['getFormula'](_0x3060eb[_0x49f1cb(0x167)],_0x1a5973['rangeId']),_0x5e926e=_0x3060eb?_0xe4a3ff(_0x3060eb[_0x49f1cb(0x1a1)][_0x49f1cb(0x1ff)],_0x1a5973[_0x49f1cb(0x26a)]):void 0x0;if(!_0x3060eb||!_0x3dc5c5||!_0x5e926e)return!0x1;let _0x5cbdd8=_0x99c336(_0x543a46,_0x3060eb['unitId'],_0x1a5973[_0x49f1cb(0x1b7)],_0x1a5973[_0x49f1cb(0x188)]??[]);if(!_0x5cbdd8)return!0x1;let _0x135f50=(0x0,_0x138dd0[_0x49f1cb(0x19b)])(_0x543a46,_0x3060eb['unitId'],_0x5cbdd8);if(!_0x135f50)return!0x1;let _0xc228de=_0x5e35b0(_0x3060eb[_0x49f1cb(0x19c)]);return _0xc228de[_0x49f1cb(0x23a)][_0x1a5973['rangeId']]={'formula':_0x1a5973['formula'],..._0x1a5973[_0x49f1cb(0x1f8)]?{'numberFormat':_0x1a5973[_0x49f1cb(0x1f8)]}:_0x3dc5c5[_0x49f1cb(0x1f8)]?{'numberFormat':_0x3dc5c5[_0x49f1cb(0x1f8)]}:null},_0x450e35({'accessor':_0x543a46,'document':_0x3060eb['document'],'unitId':_0x3060eb[_0x49f1cb(0x167)],'trigger':_0x45e8cd['id'],'rangeId':_0x1a5973[_0x49f1cb(0x26a)],'previousResource':_0x3060eb[_0x49f1cb(0x19c)],'nextResource':_0xc228de,'cursorOffset':_0x5e926e[_0x49f1cb(0x16c)]+0x1,'externalMutations':_0x135f50});}},_0x3be6e3={'id':_0x264e36(0x226),'type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x270)],'handler':(_0x20b156,_0xe6591f)=>{const _0x239854=_0x264e36;if(!(_0xe6591f!=null&&_0xe6591f[_0x239854(0x26a)]))return!0x1;let _0x2b4bbb=_0x12ccf3(_0x20b156,_0xe6591f['unitId'],''),_0x16badc=_0x2b4bbb==null?void 0x0:_0x2b4bbb[_0x239854(0x16f)][_0x239854(0x221)](_0x2b4bbb[_0x239854(0x167)],_0xe6591f[_0x239854(0x26a)]),_0x22acb8=_0x2b4bbb?_0xe4a3ff(_0x2b4bbb[_0x239854(0x1a1)][_0x239854(0x1ff)],_0xe6591f[_0x239854(0x26a)]):void 0x0;if(!_0x2b4bbb||!_0x16badc||!_0x22acb8)return!0x1;let _0x2b29b5=_0x5e35b0(_0x2b4bbb[_0x239854(0x19c)]);return _0x2b29b5[_0x239854(0x23a)][_0xe6591f[_0x239854(0x26a)]]={..._0x16badc,..._0xe6591f[_0x239854(0x1f8)]?{'numberFormat':_0xe6591f['numberFormat']}:null},_0xe6591f['numberFormat']||delete _0x2b29b5['formulas'][_0xe6591f['rangeId']]['numberFormat'],_0x450e35({'accessor':_0x20b156,'document':_0x2b4bbb['document'],'unitId':_0x2b4bbb[_0x239854(0x167)],'trigger':_0x3be6e3['id'],'rangeId':_0xe6591f['rangeId'],'previousResource':_0x2b4bbb[_0x239854(0x19c)],'nextResource':_0x2b29b5,'cursorOffset':_0x22acb8['endIndex']+0x1,'externalMutations':{}});}},_0x5e7d40={'id':_0x264e36(0x1df),'type':_0x42b9d4['CommandType'][_0x264e36(0x270)],'handler':(_0x142db7,_0x463a3e)=>_0x30e85a(_0x142db7,_0x463a3e,'',_0x5e7d40['id'])},_0x3eab2d={'id':'docs-formula.command.replace-with-text','type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x270)],'handler':(_0x4311bf,_0x2dddac)=>_0x30e85a(_0x4311bf,_0x2dddac,(_0x2dddac==null?void 0x0:_0x2dddac[_0x264e36(0x198)])??'',_0x3eab2d['id'])},_0xbd03ae={'id':_0x264e36(0x200),'type':_0x42b9d4['CommandType']['COMMAND'],'handler':(_0x1c0833,_0x174159)=>{const _0x3088a0=_0x264e36;if(!(_0x174159!=null&&_0x174159['rangeId']))return!0x1;let _0x28074b=_0x12ccf3(_0x1c0833,_0x174159['unitId'],'');if(!_0x28074b)return!0x1;let _0x4ce9d0=_0x1c0833[_0x3088a0(0x255)](_0x567cc8)[_0x3088a0(0x25d)]({'unitId':_0x28074b[_0x3088a0(0x167)],'rangeId':_0x174159[_0x3088a0(0x26a)]});return _0x4ce9d0?_0x30e85a(_0x1c0833,_0x174159,_0x4ce9d0[_0x3088a0(0x198)],_0xbd03ae['id']):!0x1;}};function _0x30e85a(_0x16d3a3,_0x2af40b,_0x3ddf0c,_0x3707dc){const _0x4e6445=_0x264e36;if(!(_0x2af40b!=null&&_0x2af40b[_0x4e6445(0x26a)]))return!0x1;let _0x5ecd40=_0x12ccf3(_0x16d3a3,_0x2af40b[_0x4e6445(0x167)],'');if(!_0x5ecd40)return!0x1;let _0x130458=_0x3e159c({'documentData':_0x5ecd40[_0x4e6445(0x1a1)],'resource':_0x5ecd40[_0x4e6445(0x19c)],'rangeId':_0x2af40b[_0x4e6445(0x26a)],'text':_0x3ddf0c});return _0x130458?_0x450e35({'accessor':_0x16d3a3,'document':_0x5ecd40[_0x4e6445(0x1b3)],'unitId':_0x5ecd40[_0x4e6445(0x167)],'trigger':_0x3707dc,'rangeId':_0x2af40b[_0x4e6445(0x26a)],'previousResource':_0x5ecd40[_0x4e6445(0x19c)],'nextResource':_0x130458[_0x4e6445(0x252)],'previousDocumentData':_0x5ecd40[_0x4e6445(0x1a1)],'nextDocumentData':_0x130458[_0x4e6445(0x202)],'cursorOffset':_0x130458[_0x4e6445(0x289)],'externalMutations':{}}):!0x1;}function _0x12ccf3(_0x39a70c,_0x3a5f6f,_0x27a09c){const _0x4835d2=_0x264e36;if(_0x27a09c)return null;let _0x1be8a2=_0x39a70c[_0x4835d2(0x255)](_0x42b9d4[_0x4835d2(0x171)]),_0xd0c102=(_0x3a5f6f?_0x1be8a2[_0x4835d2(0x1b9)](_0x3a5f6f,_0x42b9d4['UniverInstanceType']['UNIVER_DOC']):_0x1be8a2[_0x4835d2(0x259)](_0x42b9d4['UniverInstanceType']['UNIVER_DOC']))??null;if(!_0xd0c102)return null;let _0x3ad364=_0xd0c102['getSnapshot'](),_0xcabb28=_0x3ad364['body'];if(_0x3ad364['disabled']||!_0xcabb28)return null;let _0xe8f9fb=_0x39a70c[_0x4835d2(0x255)](_0x136dfa);return _0xe8f9fb[_0x4835d2(0x194)](_0xd0c102[_0x4835d2(0x1f6)]())?null:{'document':_0xd0c102,'body':_0xcabb28,'documentData':_0x3ad364,'model':_0xe8f9fb,'resource':_0xe8f9fb[_0x4835d2(0x1fa)](_0xd0c102[_0x4835d2(0x1f6)]())??_0x5c7567(),'unitId':_0xd0c102[_0x4835d2(0x1f6)]()};}function _0x213401(_0x43bfc1,_0x556eac){const _0x395c3d=_0x264e36;var _0x124e63;return(_0x124e63=_0x43bfc1[_0x395c3d(0x255)](_0x554914['DocSelectionManagerService'])[_0x395c3d(0x1e8)]({'subUnitId':_0x556eac,'unitId':_0x556eac}))==null?void 0x0:_0x124e63[0x0];}function _0xf4e5e3(_0x39a7d4,_0x2941d6,_0x1960fd){const _0x4a1f28=_0x264e36;if((_0x39a7d4==null?void 0x0:_0x39a7d4[_0x4a1f28(0x1f4)])===_0x4a1f28(0x282)){var _0x50b5ce;let _0x523ea9=((_0x50b5ce=_0x2941d6['paragraphs'])==null?void 0x0:_0x50b5ce[_0x4a1f28(0x291)](_0x3b12ec=>_0x3b12ec[_0x4a1f28(0x1bc)]===_0x39a7d4[_0x4a1f28(0x1bc)]))??[];if(_0x523ea9[_0x4a1f28(0x1ba)]!==0x1)return null;let _0x3a7ba6=_0x523ea9[0x0],_0x18fd34=(0x0,_0x42b9d4['getParagraphContentStartOffset'])(_0x2941d6,_0x3a7ba6),_0x5ce757=_0x3a7ba6[_0x4a1f28(0x185)]-_0x18fd34,_0x1115ff=_0x39a7d4[_0x4a1f28(0x1b5)]===_0x4a1f28(0x277)?_0x5ce757:_0x39a7d4[_0x4a1f28(0x1b5)];if(!Number['isInteger'](_0x1115ff)||_0x1115ff<0x0||_0x1115ff>_0x5ce757)return null;let _0x47fccf=_0x18fd34+_0x1115ff;return{'startOffset':_0x47fccf,'endOffset':_0x47fccf};}if((_0x39a7d4==null?void 0x0:_0x39a7d4[_0x4a1f28(0x1f4)])===_0x4a1f28(0x234))return!Number[_0x4a1f28(0x1c4)](_0x39a7d4['startOffset'])||!Number['isInteger'](_0x39a7d4[_0x4a1f28(0x164)])?null:{'startOffset':Math[_0x4a1f28(0x220)](_0x39a7d4[_0x4a1f28(0x27e)],_0x39a7d4[_0x4a1f28(0x164)]),'endOffset':Math['max'](_0x39a7d4[_0x4a1f28(0x27e)],_0x39a7d4[_0x4a1f28(0x164)])};let _0x55b6e5=(_0x39a7d4==null?void 0x0:_0x39a7d4[_0x4a1f28(0x1f4)])===_0x4a1f28(0x247)?_0x39a7d4['selection']:_0x1960fd;return!_0x55b6e5||_0x55b6e5[_0x4a1f28(0x217)]?null:{'startOffset':Math[_0x4a1f28(0x220)](_0x55b6e5['startOffset'],_0x55b6e5['endOffset']),'endOffset':Math[_0x4a1f28(0x190)](_0x55b6e5[_0x4a1f28(0x27e)],_0x55b6e5[_0x4a1f28(0x164)])};}function _0x99c336(_0x295e0b,_0xab0c60,_0x45b9c0,_0x11e816){const _0x4ff79b=_0x264e36;let _0x41385e=_0x295e0b['get'](_0xf5658[_0x4ff79b(0x235)]),_0x158a9c=_0x45b9c0[_0x4ff79b(0x1b0)]('=')?_0x45b9c0[_0x4ff79b(0x20a)](0x1):_0x45b9c0,_0x1ebcd3=_0x41385e[_0x4ff79b(0x17b)](_0x158a9c);if(!_0x1ebcd3)return null;let _0x3bcc37=_0x295e0b[_0x4ff79b(0x255)](_0x138dd0[_0x4ff79b(0x251)]),_0x4cc8e1=(0x0,_0x138dd0[_0x4ff79b(0x242)])({'qualifiers':(0x0,_0x138dd0[_0x4ff79b(0x1a3)])(_0x1ebcd3),'explicitReferences':_0x11e816??[],'resolveBinding':_0x34a815=>_0x3bcc37[_0x4ff79b(0x224)](_0xab0c60,_0x34a815)});return _0x4cc8e1[_0x4ff79b(0x1e5)]===_0x4ff79b(0x25a)?_0x4cc8e1[_0x4ff79b(0x172)]:null;}function _0x960360(_0x5dbbba,_0x2cea21,_0x3aa57e){const _0x13bc14=_0x264e36;var _0x22b884;let _0x257926=(0x0,_0x42b9d4[_0x13bc14(0x297)])(0x6);for(;_0x5dbbba!=null&&(_0x22b884=_0x5dbbba[_0x13bc14(0x20d)])!=null&&_0x22b884['some'](_0x3e62d0=>_0x3e62d0[_0x13bc14(0x26a)]===_0x257926)||_0x2cea21['getFormula'](_0x3aa57e,_0x257926);)_0x257926=(0x0,_0x42b9d4[_0x13bc14(0x297)])(0x6);return _0x257926;}function _0xc6a83d(_0x34c64e){try{return _0x59ec7a(_0x34c64e);}catch(_0x490a10){if(_0x490a10 instanceof _0x2d09c5)return null;throw _0x490a10;}}function _0x5ba6f3(_0x138954){const _0x889fad=_0x264e36;let _0x6be9ea=_0x138954[_0x889fad(0x1d8)]&&_0x138954[_0x889fad(0x202)]?_0x137527(_0x138954[_0x889fad(0x1b3)],_0x138954[_0x889fad(0x167)],_0x138954[_0x889fad(0x1d8)],_0x138954[_0x889fad(0x202)],_0x138954[_0x889fad(0x289)],_0x138954[_0x889fad(0x207)]):null;return _0x138954['previousDocumentData']&&_0x138954[_0x889fad(0x202)]&&!_0x6be9ea?null:{'documentRedo':_0x6be9ea,'resourceRedo':{'id':_0x5679e0['id'],'params':{'unitId':_0x138954[_0x889fad(0x167)],'resource':_0x138954[_0x889fad(0x252)]}},'resourceUndo':{'id':_0x5679e0['id'],'params':{'unitId':_0x138954['unitId'],'resource':_0x138954['previousResource']}}};}function _0x4620ce(_0x419200,_0x264d48,_0x281c28,_0x5956f5){const _0x1b8678=_0x264e36;_0x5956f5[_0x1b8678(0x179)]({'id':_0x419200['trigger']+':'+_0x419200[_0x1b8678(0x26a)],'unitID':_0x419200[_0x1b8678(0x167)],'redoMutations':[..._0x419200['externalMutations'][_0x1b8678(0x21f)]?[_0x419200['externalMutations']['redoMutation']]:[],..._0x264d48[_0x1b8678(0x267)]?[_0x264d48[_0x1b8678(0x267)]]:[],_0x264d48[_0x1b8678(0x1ae)]],'undoMutations':[_0x264d48[_0x1b8678(0x1ea)],..._0x281c28?[_0x281c28]:[],..._0x419200[_0x1b8678(0x203)][_0x1b8678(0x19e)]?[_0x419200[_0x1b8678(0x203)]['undoMutation']]:[]]});}function _0x450e35(_0x5cd0cc){const _0x3bd2a8=_0x264e36;let _0x2f682f=_0x5cd0cc['accessor']['get'](_0x42b9d4[_0x3bd2a8(0x1d6)]),_0x3290c2=_0x5cd0cc['accessor'][_0x3bd2a8(0x255)](_0x42b9d4[_0x3bd2a8(0x256)]),_0x450af4=_0x5cd0cc[_0x3bd2a8(0x1cb)][_0x3bd2a8(0x255)](_0x554914['DocSelectionManagerService']),_0x31c56e=_0x5ba6f3(_0x5cd0cc);if(!_0x31c56e)return!0x1;let _0x42286d=!0x1,_0x5a6d66=null,_0x8f45d9=!0x1;try{if(_0x5cd0cc['externalMutations'][_0x3bd2a8(0x21f)]){if(!_0x2f682f[_0x3bd2a8(0x1c9)](_0x5cd0cc[_0x3bd2a8(0x203)][_0x3bd2a8(0x21f)]['id'],_0x5cd0cc[_0x3bd2a8(0x203)][_0x3bd2a8(0x21f)][_0x3bd2a8(0x1e1)]))return!0x1;_0x42286d=!0x0;}if(_0x31c56e[_0x3bd2a8(0x267)]){let _0x20bb30=_0x2f682f[_0x3bd2a8(0x1c9)](_0x31c56e[_0x3bd2a8(0x267)]['id'],_0x31c56e[_0x3bd2a8(0x267)][_0x3bd2a8(0x1e1)]);if(!_0x20bb30)return _0x158e9d(_0x2f682f,_0x5cd0cc[_0x3bd2a8(0x203)],_0x42286d),!0x1;_0x5a6d66={'id':_0x554914['RichTextEditingMutation']['id'],'params':{..._0x20bb30,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x2f682f[_0x3bd2a8(0x1c9)](_0x31c56e[_0x3bd2a8(0x1ae)]['id'],_0x31c56e['resourceRedo'][_0x3bd2a8(0x1e1)]))return _0x2ef745(_0x2f682f,_0x5a6d66),_0x158e9d(_0x2f682f,_0x5cd0cc[_0x3bd2a8(0x203)],_0x42286d),!0x1;_0x8f45d9=!0x0,_0x4620ce(_0x5cd0cc,_0x31c56e,_0x5a6d66,_0x3290c2);}catch(_0x31eff8){throw _0x8f45d9&&_0x2f682f[_0x3bd2a8(0x1c9)](_0x31c56e['resourceUndo']['id'],_0x31c56e[_0x3bd2a8(0x1ea)][_0x3bd2a8(0x1e1)]),_0x2ef745(_0x2f682f,_0x5a6d66),_0x158e9d(_0x2f682f,_0x5cd0cc[_0x3bd2a8(0x203)],_0x42286d),_0x31eff8;}return _0x450af4[_0x3bd2a8(0x26c)]([{'startOffset':_0x5cd0cc['cursorOffset'],'endOffset':_0x5cd0cc[_0x3bd2a8(0x289)],'segmentId':''}],{'unitId':_0x5cd0cc[_0x3bd2a8(0x167)],'subUnitId':_0x5cd0cc[_0x3bd2a8(0x167)]},!0x1,{[_0x554914[_0x3bd2a8(0x18c)]]:!0x0}),!0x0;}function _0x137527(_0x30bce7,_0x3cf75e,_0x466242,_0x11a1c4,_0x870b3d,_0x526b5e){const _0x161f9a=_0x264e36;let _0x2198d4=_0x11ea03(_0x466242,_0x11a1c4,(0x0,_0x42b9d4[_0x161f9a(0x27d)])(_0x30bce7,''));return _0x2198d4?{'id':_0x554914[_0x161f9a(0x196)]['id'],'params':{'unitId':_0x3cf75e,'actions':_0x2198d4,'segmentId':'','textRanges':[{'startOffset':_0x870b3d,'endOffset':_0x870b3d,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x526b5e}}:null;}function _0x2ef745(_0x501858,_0x34bb37){const _0x160397=_0x264e36;_0x34bb37&&_0x501858[_0x160397(0x1c9)](_0x34bb37['id'],_0x34bb37[_0x160397(0x1e1)]);}function _0x158e9d(_0x4d0bde,_0x292dcd,_0x219170){const _0x5ebe10=_0x264e36;_0x219170&&_0x292dcd[_0x5ebe10(0x19e)]&&_0x4d0bde[_0x5ebe10(0x1c9)](_0x292dcd[_0x5ebe10(0x19e)]['id'],_0x292dcd[_0x5ebe10(0x19e)][_0x5ebe10(0x1e1)]);}function _0x11ea03(_0x1ee3ab,_0x3c88f9,_0xb585eb){const _0x502a5d=_0x264e36;let _0x23c6c7=_0x1ee3ab[_0x502a5d(0x1ff)],_0x243479=_0x3c88f9[_0x502a5d(0x1ff)],_0x51bb64=_0x2474ce(_0x23c6c7==null?void 0x0:_0x23c6c7[_0x502a5d(0x17d)],_0x243479==null?void 0x0:_0x243479[_0x502a5d(0x17d)]);if(!_0x51bb64||!_0x243479)return null;let _0x421a5b=new _0x42b9d4[(_0x502a5d(0x1c0))]();return _0x421a5b[_0x502a5d(0x273)](_0x51bb64[_0x502a5d(0x29b)]),_0x51bb64[_0x502a5d(0x26f)]>0x0&&_0x421a5b[_0x502a5d(0x29d)](_0x51bb64[_0x502a5d(0x26f)],(0x0,_0x42b9d4['getBodySliceForTextXAction'])(_0x243479,_0x51bb64['start'],_0x51bb64[_0x502a5d(0x29b)]+_0x51bb64['insertLength'],!0x1)),_0x51bb64[_0x502a5d(0x1d3)]>0x0&&_0x421a5b[_0x502a5d(0x1d5)](_0x51bb64[_0x502a5d(0x1d3)]),_0x42b9d4['JSONX'][_0x502a5d(0x1f2)]()[_0x502a5d(0x1e9)](_0x421a5b['serialize'](),_0xb585eb);}function _0x2474ce(_0x264e43,_0x14e747){const _0x24315b=_0x264e36;if(_0x264e43==null||_0x14e747==null||_0x264e43===_0x14e747)return null;let _0x548a93=0x0;for(;_0x548a93<_0x264e43[_0x24315b(0x1ba)]&&_0x548a93<_0x14e747[_0x24315b(0x1ba)]&&_0x264e43[_0x548a93]===_0x14e747[_0x548a93];)_0x548a93+=0x1;let _0x3b4791=_0x264e43[_0x24315b(0x1ba)],_0x5732d3=_0x14e747[_0x24315b(0x1ba)];for(;_0x3b4791>_0x548a93&&_0x5732d3>_0x548a93&&_0x264e43[_0x3b4791-0x1]===_0x14e747[_0x5732d3-0x1];)--_0x3b4791,--_0x5732d3;return{'start':_0x548a93,'deleteLength':_0x3b4791-_0x548a93,'insertLength':_0x5732d3-_0x548a93};}function _0x5e35b0(_0x144367){const _0x10bb17=_0x264e36;return{'schemaVersion':0x1,'formulas':Object[_0x10bb17(0x258)](Object[_0x10bb17(0x266)](_0x144367[_0x10bb17(0x23a)])[_0x10bb17(0x25f)](([_0x361f49,_0x231f5f])=>[_0x361f49,{..._0x231f5f,..._0x231f5f[_0x10bb17(0x1f8)]?{'numberFormat':{..._0x231f5f[_0x10bb17(0x1f8)]}}:null,..._0x231f5f[_0x10bb17(0x1bf)]?{'lastValue':{..._0x231f5f[_0x10bb17(0x1bf)]}}:null}]))};}let _0x98202=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x579b63,_0x192c54,_0xf96bee,_0x2e3320){const _0x477380=_0x264e36;super(),this[_0x477380(0x260)]=_0x579b63,this[_0x477380(0x1ed)]=_0x192c54,this[_0x477380(0x1bb)]=_0xf96bee,this[_0x477380(0x28d)]=_0x2e3320,_0x4b071f(this,_0x477380(0x2a0),new Set()),_0x4b071f(this,'_syncScheduled',!0x1),_0x4b071f(this,_0x477380(0x20b),!0x1),this['_instanceService']['getAllUnitsForType'](_0x42b9d4[_0x477380(0x205)][_0x477380(0x1b2)])['forEach'](_0x2e6599=>this[_0x477380(0x28d)][_0x477380(0x1e6)](_0x2e6599)),this[_0x477380(0x22d)](this[_0x477380(0x1bb)][_0x477380(0x299)][_0x477380(0x199)](({unitId:_0xc365d5})=>this['_syncUnit'](_0xc365d5))),this[_0x477380(0x22d)](this[_0x477380(0x260)][_0x477380(0x180)][_0x477380(0x199)](({unit:_0x4fe2e1})=>{const _0x3a305f=_0x477380;_0x4fe2e1[_0x3a305f(0x1f4)]===_0x42b9d4[_0x3a305f(0x205)][_0x3a305f(0x1b2)]&&this['_queueSync'](_0x4fe2e1[_0x3a305f(0x1f6)]());})),this[_0x477380(0x22d)](this[_0x477380(0x260)][_0x477380(0x20f)]['subscribe'](_0x44e98b=>{const _0x273351=_0x477380;this[_0x273351(0x28d)]['unregisterUnit'](_0x44e98b[_0x273351(0x1f6)]());})),this[_0x477380(0x22d)](this['_commandService'][_0x477380(0x214)](_0x13b6fe=>{const _0x39da51=_0x477380;if(_0x13b6fe['id']===_0x554914[_0x39da51(0x196)]['id']&&_0x386ba9(_0x13b6fe[_0x39da51(0x1e1)])){let _0x272ade=_0x13b6fe[_0x39da51(0x1e1)];_0x272ade[_0x39da51(0x217)]||this[_0x39da51(0x22a)](_0x272ade['unitId']);}}));}[_0x264e36(0x1c7)](){this['_isDisposed']=!0x0,super['dispose']();}[_0x264e36(0x1dd)](_0x306df4){const _0x1ac90f=_0x264e36;this[_0x1ac90f(0x2a0)][_0x1ac90f(0x1af)](_0x306df4),!this[_0x1ac90f(0x232)]&&(this[_0x1ac90f(0x232)]=!0x0,queueMicrotask(()=>{const _0x2e0585=_0x1ac90f;if(this['_syncScheduled']=!0x1,this[_0x2e0585(0x20b)])return;let _0x5bbc8b=Array[_0x2e0585(0x175)](this[_0x2e0585(0x2a0)]);this[_0x2e0585(0x2a0)]['clear'](),_0x5bbc8b[_0x2e0585(0x1fc)](_0x31870c=>this[_0x2e0585(0x22a)](_0x31870c));}));}[_0x264e36(0x22a)](_0x2abc19){const _0x56de88=_0x264e36;let _0x1a41cf=this['_instanceService'][_0x56de88(0x1b9)](_0x2abc19,_0x42b9d4[_0x56de88(0x205)][_0x56de88(0x1b2)]);_0x1a41cf&&this[_0x56de88(0x28d)]['syncUnit'](_0x1a41cf);}};_0x98202=_0x41e1df([_0x5eb961(0x0,_0x42b9d4[_0x264e36(0x171)]),_0x5eb961(0x1,_0x42b9d4[_0x264e36(0x1d6)]),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x136dfa)),_0x5eb961(0x3,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x567cc8))],_0x98202);function _0x386ba9(_0x19f8ce){const _0x252157=_0x264e36;return typeof _0x19f8ce=='object'&&!!_0x19f8ce&&_0x252157(0x167)in _0x19f8ce&&typeof _0x19f8ce[_0x252157(0x167)]==_0x252157(0x1ef)&&(!('segmentId'in _0x19f8ce)||_0x19f8ce[_0x252157(0x217)]===void 0x0||typeof _0x19f8ce[_0x252157(0x217)]==_0x252157(0x1ef));}let _0x496a6f=class extends _0x42b9d4['Disposable']{constructor(_0x22450f,_0x2ef911){const _0x20dfef=_0x264e36;super(),this[_0x20dfef(0x223)]=_0x22450f,this[_0x20dfef(0x168)]=_0x2ef911,this[_0x20dfef(0x22d)](this[_0x20dfef(0x223)][_0x20dfef(0x191)]({'pluginName':_0x3d28a0,'businesses':[_0x42b9d4['UniverInstanceType'][_0x20dfef(0x1b2)]],'toJson':_0x214f07=>JSON[_0x20dfef(0x246)](this[_0x20dfef(0x168)][_0x20dfef(0x176)](_0x214f07)),'parseJson':_0x5029a7=>JSON[_0x20dfef(0x1aa)](_0x5029a7),'onLoad':(_0x5fdc45,_0x4e8f19)=>{const _0x4d8305=_0x20dfef;this[_0x4d8305(0x168)][_0x4d8305(0x257)](_0x5fdc45,_0x4e8f19);},'onUnLoad':_0x2d39e9=>this[_0x20dfef(0x168)][_0x20dfef(0x1d0)](_0x2d39e9)}));}};_0x496a6f=_0x41e1df([_0x5eb961(0x0,_0x42b9d4['IResourceManagerService']),_0x5eb961(0x1,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x136dfa))],_0x496a6f);var _0x5bb004=_0x264e36(0x1ad),_0x197afa=_0x264e36(0x231);let _0x3042d2={},_0x3c2e9d=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x2f91b1,_0x3eff12,_0x43c443){const _0x2b5f51=_0x264e36;super(),this['_univerInstanceService']=_0x2f91b1,this[_0x2b5f51(0x18a)]=_0x3eff12,this[_0x2b5f51(0x22d)](_0x43c443['register']({'resolve':(_0x9f54dc,_0x220137)=>{const _0x218159=_0x2b5f51;var _0x1377ec;return((_0x1377ec=_0x220137[_0x218159(0x20d)])==null?void 0x0:_0x1377ec[_0x218159(0x291)](_0x5b5048)[_0x218159(0x25f)](_0x987787=>({'startOffset':_0x987787[_0x218159(0x185)],'endOffset':_0x987787[_0x218159(0x16c)]+0x1,'text':this[_0x218159(0x187)](_0x9f54dc,_0x987787['rangeId'])})))??[];}})),this['disposeWithMe'](this[_0x2b5f51(0x18a)]['presentationChanged$']['subscribe'](({unitId:_0x215064})=>{const _0x28ce8b=_0x2b5f51;_0x43c443[_0x28ce8b(0x281)](_0x215064);}));}[_0x264e36(0x187)](_0x19c377,_0x504d42){const _0xdb3e83=_0x264e36;var _0x92ab38;return((_0x92ab38=this['_formulaService'][_0xdb3e83(0x25d)]({'unitId':_0x19c377,'rangeId':_0x504d42}))==null?void 0x0:_0x92ab38[_0xdb3e83(0x198)])??'';}['resolveText'](_0x4ef104,_0x1d0667,_0x2f0a93){const _0x3d7599=_0x264e36;var _0x391bd0;let _0x30636a=this[_0x3d7599(0x284)][_0x3d7599(0x1b9)](_0x4ef104,_0x42b9d4[_0x3d7599(0x205)][_0x3d7599(0x1b2)]),_0x1ce34b=_0x30636a==null?void 0x0:_0x30636a[_0x3d7599(0x17c)]();if(!_0x1ce34b)return'';let _0x44ed5d=_0x1ce34b[_0x3d7599(0x17d)][_0x3d7599(0x20a)](_0x1d0667,_0x2f0a93),_0x1c3d9f=((_0x391bd0=_0x1ce34b[_0x3d7599(0x20d)])==null?void 0x0:_0x391bd0[_0x3d7599(0x291)](_0x2e1556=>_0x5b5048(_0x2e1556)&&_0x2e1556[_0x3d7599(0x185)]>=_0x1d0667&&_0x2e1556[_0x3d7599(0x16c)]<_0x2f0a93)['sort']((_0x3dbd05,_0x54ab63)=>_0x54ab63[_0x3d7599(0x185)]-_0x3dbd05['startIndex']))??[];for(let _0x497421 of _0x1c3d9f){let _0x536635=_0x497421[_0x3d7599(0x185)]-_0x1d0667,_0x23672d=_0x497421['endIndex']-_0x1d0667+0x1;_0x44ed5d=''+_0x44ed5d[_0x3d7599(0x20a)](0x0,_0x536635)+this[_0x3d7599(0x187)](_0x4ef104,_0x497421[_0x3d7599(0x26a)])+_0x44ed5d[_0x3d7599(0x20a)](_0x23672d);}return _0x44ed5d;}[_0x264e36(0x21b)](_0x58c5c4){return _0x272101(_0x58c5c4);}[_0x264e36(0x265)](_0x5dcd24,_0x3274d8,_0x39220a={}){const _0x366c21=_0x264e36;var _0x1e6983;return _0x5088dd({'id':_0x5dcd24,'body':_0x3274d8,'documentStyle':{}},(((_0x1e6983=_0x3274d8['customRanges'])==null?void 0x0:_0x1e6983[_0x366c21(0x291)](_0x5b5048))??[])[_0x366c21(0x25f)](_0x52f0d0=>({'rangeId':_0x52f0d0[_0x366c21(0x26a)],'text':_0x39220a[_0x52f0d0['rangeId']]??this['resolveFormula'](_0x5dcd24,_0x52f0d0[_0x366c21(0x26a)])})))[_0x366c21(0x1ff)]??{'dataStream':''};}};_0x3c2e9d=_0x41e1df([_0x5eb961(0x0,_0x42b9d4[_0x264e36(0x171)]),_0x5eb961(0x1,(0x0,_0x42b9d4['Inject'])(_0x567cc8)),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x554914[_0x264e36(0x23e)]))],_0x3c2e9d);function _0x272101(_0x502835){const _0x597101=_0x264e36;var _0x3fc68c,_0x4477f0;let _0x543f2a=_0x1d33cc(_0x502835),_0x3c71da=_0x5088dd(_0x502835,(((_0x3fc68c=_0x502835[_0x597101(0x1ff)])==null||(_0x3fc68c=_0x3fc68c['customRanges'])==null?void 0x0:_0x3fc68c[_0x597101(0x291)](_0x5b5048))??[])[_0x597101(0x25f)](_0x4e6e35=>({'rangeId':_0x4e6e35['rangeId'],'text':_0x572543(_0x543f2a==null?void 0x0:_0x543f2a[_0x597101(0x23a)][_0x4e6e35['rangeId']])})));return _0x3c71da[_0x597101(0x222)]=(_0x4477f0=_0x3c71da[_0x597101(0x222)])==null?void 0x0:_0x4477f0['filter'](_0x30fe55=>_0x30fe55['name']!==_0x3d28a0),_0x3c71da;}function _0x1d33cc(_0x1daf9e){const _0x160475=_0x264e36;var _0x53a767;let _0x1b2620=(_0x53a767=_0x1daf9e[_0x160475(0x222)])==null||(_0x53a767=_0x53a767[_0x160475(0x29e)](_0x58c6c3=>_0x58c6c3[_0x160475(0x263)]===_0x160475(0x22f)))==null?void 0x0:_0x53a767[_0x160475(0x1d7)];if(_0x1b2620)try{let _0x56a6de=JSON[_0x160475(0x1aa)](_0x1b2620);return _0x4d9d4b(_0x56a6de)?_0x56a6de:void 0x0;}catch{return;}}function _0x572543(_0x2bbd67){const _0x1c841f=_0x264e36;return _0x2bbd67?(0x0,_0x138dd0['resolveFormulaResultPresentation'])({'lastValue':_0x2bbd67[_0x1c841f(0x1bf)],'numberFormat':_0x2bbd67[_0x1c841f(0x1f8)]})[_0x1c841f(0x198)]:'';}let _0x29f095=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x3e0206,_0x53ceae,_0x37ceea){const _0x23ffdd=_0x264e36;super(),this['_formulaService']=_0x3e0206,this[_0x23ffdd(0x1db)]=_0x53ceae,this['disposeWithMe'](_0x37ceea[_0x23ffdd(0x22c)](this));}['collectMutations'](_0x539878){const _0x483557=_0x264e36;let _0x760c53=new Map();for(let _0x4f4d09 of this[_0x483557(0x18a)][_0x483557(0x195)]()){var _0x384029;if(!this[_0x483557(0x1db)][_0x483557(0x25c)](_0x4f4d09[_0x483557(0x2a5)][_0x483557(0x1b7)],_0x4f4d09[_0x483557(0x28c)])[_0x483557(0x245)])continue;let _0x2061d1=(0x0,_0x138dd0[_0x483557(0x293)])(_0x4f4d09[_0x483557(0x28c)]),_0x5779e4=_0x2061d1?(0x0,_0x138dd0[_0x483557(0x1c8)])(_0x2061d1):null;if(!_0x5779e4||_0x586f46(_0x4f4d09[_0x483557(0x2a5)][_0x483557(0x1bf)],_0x5779e4))continue;let _0x4a335a=_0x760c53[_0x483557(0x255)](_0x4f4d09[_0x483557(0x26b)]['unitId'])??[];_0x4a335a[_0x483557(0x239)]({'rangeId':_0x4f4d09[_0x483557(0x26b)][_0x483557(0x26a)],'expectedFormula':_0x4f4d09['config'][_0x483557(0x1b7)],'expectedNumberFormat':(_0x384029=_0x4f4d09['config']['numberFormat'])==null?void 0x0:_0x384029[_0x483557(0x16a)],'expectedReferenceRevision':_0x4f4d09[_0x483557(0x241)],'lastValue':_0x5779e4}),_0x760c53['set'](_0x4f4d09[_0x483557(0x26b)][_0x483557(0x167)],_0x4a335a);}return Array['from'](_0x760c53,([_0x2444dc,_0x20103e])=>({'id':_0x567c0f['id'],'params':{'unitId':_0x2444dc,'updates':_0x20103e}}));}};_0x29f095=_0x41e1df([_0x5eb961(0x0,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x567cc8)),_0x5eb961(0x1,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x138dd0[_0x264e36(0x24a)])),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x138dd0['FormulaLastValuePersistenceService']))],_0x29f095);function _0x586f46(_0x31b4ef,_0x52a41e){const _0x249318=_0x264e36;return(_0x31b4ef==null?void 0x0:_0x31b4ef['v'])===_0x52a41e['v']&&(_0x31b4ef==null?void 0x0:_0x31b4ef['t'])===_0x52a41e['t']&&(_0x31b4ef==null?void 0x0:_0x31b4ef[_0x249318(0x16a)])===_0x52a41e[_0x249318(0x16a)];}let _0x15d8e7=class extends _0x42b9d4[_0x264e36(0x17f)]{constructor(_0x52daac=_0x3042d2,_0x659d75,_0x47e5fb,_0x2254b9){const _0x8afcaf=_0x264e36;super(),this['_config']=_0x52daac,this[_0x8afcaf(0x1b1)]=_0x659d75,this[_0x8afcaf(0x1ed)]=_0x47e5fb,this[_0x8afcaf(0x275)]=_0x2254b9;let {..._0x2c0149}=(0x0,_0x42b9d4[_0x8afcaf(0x243)])({},_0x3042d2,this[_0x8afcaf(0x2a6)]);this[_0x8afcaf(0x275)][_0x8afcaf(0x1ce)](_0x8afcaf(0x29a),_0x2c0149);}[_0x264e36(0x28f)](){const _0xdbc508=_0x264e36;this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x136dfa]),this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x567cc8]),this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x496a6f]),this['_injector'][_0xdbc508(0x1af)]([_0x98202]),this['_injector']['add']([_0x29f095]),this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x3c2e9d]),(0x0,_0x42b9d4['touchDependencies'])(this[_0xdbc508(0x1b1)],[[_0x136dfa],[_0x496a6f],[_0x98202],[_0x29f095],[_0x3c2e9d]]),[_0x5e5b67,_0x2be4a6,_0x5679e0,_0x567c0f,_0x2b011d,_0x45e8cd,_0x3be6e3,_0x5e7d40,_0x3eab2d,_0xbd03ae][_0xdbc508(0x1fc)](_0x1695d4=>this['disposeWithMe'](this[_0xdbc508(0x1ed)][_0xdbc508(0x278)](_0x1695d4)));}};_0x4b071f(_0x15d8e7,_0x264e36(0x21e),_0x3d28a0),_0x4b071f(_0x15d8e7,_0x264e36(0x1d4),_0x5bb004),_0x4b071f(_0x15d8e7,_0x264e36(0x286),_0x197afa),_0x4b071f(_0x15d8e7,_0x264e36(0x1f4),_0x42b9d4[_0x264e36(0x205)][_0x264e36(0x1b2)]),_0x15d8e7=_0x41e1df([(0x0,_0x42b9d4[_0x264e36(0x1a0)])(_0x43fe23[_0x264e36(0x1e7)],_0x138dd0[_0x264e36(0x2a9)],_0x554914[_0x264e36(0x1c3)]),_0x5eb961(0x1,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x42b9d4[_0x264e36(0x29c)])),_0x5eb961(0x2,_0x42b9d4[_0x264e36(0x1d6)]),_0x5eb961(0x3,_0x42b9d4[_0x264e36(0x1c1)])],_0x15d8e7),_0x502800['ConvertDocFormulaToTextCommand']=_0xbd03ae,_0x502800[_0x264e36(0x1b6)]=_0x48c9c7,_0x502800[_0x264e36(0x225)]='',_0x502800[_0x264e36(0x22f)]=_0x3d28a0,_0x502800['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x264e36(0x1ac)](_0x502800,_0x264e36(0x1a6),{'enumerable':!0x0,'get':function(){return _0x3c2e9d;}}),Object[_0x264e36(0x1ac)](_0x502800,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x98202;}}),_0x502800[_0x264e36(0x1cd)]=_0x136dfa,Object[_0x264e36(0x1ac)](_0x502800,'DocFormulaResourceController',{'enumerable':!0x0,'get':function(){return _0x496a6f;}}),_0x502800[_0x264e36(0x254)]=_0x17a4fa,Object[_0x264e36(0x1ac)](_0x502800,_0x264e36(0x1fd),{'enumerable':!0x0,'get':function(){return _0x567cc8;}}),_0x502800[_0x264e36(0x197)]=_0x2b011d,_0x502800['InvalidDocFormulaInsertRangeError']=_0x2d09c5,_0x502800[_0x264e36(0x189)]=_0x5e7d40,_0x502800[_0x264e36(0x211)]=_0x2be4a6,_0x502800[_0x264e36(0x19f)]=_0x3eab2d,_0x502800[_0x264e36(0x22e)]=_0x567c0f,_0x502800[_0x264e36(0x184)]=_0x5e5b67,_0x502800[_0x264e36(0x238)]=_0x3be6e3,_0x502800[_0x264e36(0x1d9)]=_0x5679e0,Object[_0x264e36(0x1ac)](_0x502800,_0x264e36(0x27f),{'enumerable':!0x0,'get':function(){return _0x15d8e7;}}),_0x502800[_0x264e36(0x253)]=_0x45e8cd,_0x502800[_0x264e36(0x1d1)]=_0x350f35,_0x502800[_0x264e36(0x193)]=_0x59ec7a,_0x502800['buildRemoveDocFormulaActions']=_0x3e159c,_0x502800[_0x264e36(0x210)]=_0x266b43,_0x502800['createEmptyDocFormulaResource']=_0x5c7567,_0x502800['degradeDocFormulaDocumentData']=_0x272101,_0x502800[_0x264e36(0x1a9)]=_0xe4a3ff,_0x502800[_0x264e36(0x1f1)]=_0x3a626b,_0x502800[_0x264e36(0x183)]=_0x5b5048,_0x502800[_0x264e36(0x2a8)]=_0x4d9d4b,_0x502800[_0x264e36(0x1cf)]=_0x12f29b;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.1.0",
3
+ "version": "1.3.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,15 +61,15 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/engine-formula": "1.1.0",
65
- "@univerjs-pro/license": "1.1.0",
66
- "@univerjs/core": "1.1.0",
67
- "@univerjs/docs": "1.1.0",
68
- "@univerjs/engine-formula": "1.1.0"
64
+ "@univerjs-pro/engine-formula": "1.3.0",
65
+ "@univerjs-pro/license": "1.3.0",
66
+ "@univerjs/core": "1.3.0",
67
+ "@univerjs/docs": "1.3.0",
68
+ "@univerjs/engine-formula": "1.3.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.1.0",
72
- "@univerjs/engine-render": "1.1.0",
71
+ "@univerjs-infra/shared": "1.3.0",
72
+ "@univerjs/engine-render": "1.3.0",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^5.0.4"