@univerjs-pro/docs-formula 1.1.0 → 1.2.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 _0x2cc1(){const _0x6e6f50=['TABLE_CELL_END','_univerInstanceService','RichTextEditingMutation','231051OUTrsW','startsWith','version','resolveText','endOffset','UniverDocsPlugin','length','FormulaLastValuePersistenceService','DocFormulaModel','range','docs-formula.command.update','resolved','map','start','registerFormulaWithRange','cell','expectedReferenceRevision','disposeWithMe','iterator','Inject','replaceDocRanges','document','HostExternalReferenceModel','source','kind','_queueSync','customBlocks','object','univer-docs-formula','liveResult','_syncUnit','pending','docs-formula.mutation.set-resource','_configService','_setPresentation','has','34pJuqJp','formulaId','packageName','schemaVersion','values','IUniverInstanceService','retain','getBody','COLUMN_END','endIndex','_config','getFormulaValueSync','unitAdded$','config','_resourceManagerService','register','clear','@univerjs-pro/license','onStarting','customRanges','775qQCKUq','_syncScheduled','parse','updates','deleteFormula','TABLE_END','properties','selection','lastValue','getFormulas','push','documentRedo','end','isDocFormulaResource','findDocFormulaRange','resourceUndo','sequenceNodesBuilder','delete','getParagraphContentStartOffset','columnGroups','getPresentation','textRuns','error','filter','UniverCore','resources','CustomRangeType','UniverDocsFormulaPlugin','docs-formula.mutation.set-formula','serialize','JSONX','ERROR','DocFormulaResultStatus','UNIVER_DOC','stale','documentData','_formulaKeys','SetDocFormulaNumberFormatCommand','_model','RemoveDocFormulaMutation','tables','externalMutations','SetDocFormulaLastValuesMutation','_docFormulaModel','docs-formula.command.remove','sectionBreaks','DOC_FORMULA_SCHEMA_VERSION','cursorOffset','_pendingUnitIds','references','disabled','max','registerPluginResource','EMPTY','shiftInclusiveRangeOnInsert','slice','_deleteRegistration','_updateFormulaResult','symbol','ICommandService','Disposable','_registrations','endsWith','COMMAND','deleteLength','toFormulaLastValue','pluginName','default','decorate','every','collectFormulaExternalReferenceQualifiers','DocSelectionManagerService','COLUMN_GROUP_START','buildInsertDocFormulaActions','sort','assign','resource','segmentId','get','getUnit','_preserveInvalid','syncUnit','asObservable','Injector','next','from','getBodySliceForTextXAction','formulaResult$','docs-formula.command.insert','UniverEngineFormula','invalid-resource','previousResource','forEach','set','collectMutations','_registrationService','docs-formula.mutation.remove-formula','stringify','TABLE_START','success','getLoadError','DocTextResolverService','function','_presentationChanged$','DataStreamTreeTokenType','getResource','RemoveDocFormulaCommand','26900FmsgVs','_resources','assertSafeDocFormulaInsertRange','UniverProDocsFormula','generateRandomId','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','33dOHfhY','removeFormula','resourceRedo','presentationChanged$','setConfig','paragraph','startOffset','getInstance','resolveFormula','DOC_FORMULA_CUSTOM_RANGE_KIND','complete','DocFormulaLifecycleController','DOC_FORMULA_PLUGIN','FormulaResultStatus','externalReferences','subscribe','amd','_rawResources','IConfigService','body','getRevision','TABLE_CELL_START','referenceRevision','7796608QVLzXZ','MUTATION','degradeDocumentData','data','undoMutation','docs-formula.command.set-number-format','FormulaCacheEligibilityService','boolean','status','formula','docs-formula.command.convert-to-text','COLUMN_GROUP_END','pattern','shiftExclusiveRangeOnDelete','shiftInclusiveRangeOnDelete','resolveFormulaResultPresentation','IResourceManagerService','removeUnit','insert','color','dataStream','wholeEntity','getScalarFormulaResultCell','CellValueType','getSnapshot','startIndex','UniverProEngineFormula','InvalidDocFormulaInsertRangeError','load','eligible','getRegisteredFormulas','constructor','change$','find','SUCCESS','getAllUnitsForType','CUSTOM_BLOCK','BLOCK_START','getFormula','BLOCK_END','unregister','expectedFormula','1.2.0','217110ejLpIm','DOC_SELECTION_OPTION_PRESERVE_CARET','UniverLicensePlugin','CommandType','registerCommand','133hgWjCW','isDocFormulaConfig','COLUMN_START','907903HOCsCg','Plugin','redoMutation','accessor','resolveBinding','identity','some','nextDocumentData','fromEntries','syncExecuteCommand','defineProperty','buildUpsertHostExternalReferenceMutations','createEmptyDocFormulaResource','SetDocFormulaMutation','params','touchDependencies','trim','getCustomRangeInterval','getRichTextEditPath','prototype','_change$','getResult','name','UpdateDocFormulaCommand','insertLength','rxjs','dispose','rangeType','TextX','exports','model','buildUpdateDocFormulaActions','DOC_FORMULA_OBJECT_REPLACEMENT','setFormula','getUnitId','_instanceService','_isDisposed','expectedNumberFormat','_commandService','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','UniverDocs','docs-formula.config','Tools','_injector','_service','7013976edsbqr','buildRemoveDocFormulaActions','add','paragraphs','unregisterUnit','DOC','_loadErrors','Subject','includes','text','unitId','isArray','empty','customDecorations','previousDocumentData','degradeDocFormulaDocumentData','number','rangeId','TABLE_ROW_END','toPrimitive','deepClone','formulas','position','registerProvider','numberFormat','_cacheEligibilityService','onCommandExecuted','ReplaceDocFormulaWithTextCommand','15452230SipowB','@univerjs/docs','@univerjs/engine-formula','setFormulas','string','_formulaService','9Lpcdem','OtherFormulaBizType','ConvertDocFormulaToTextCommand','PARAGRAPH','blockRanges','DependentOn','@univerjs-pro/engine-formula','UniverInstanceType','getTextRanges','SECTION_BREAK','presentation','LexerTreeBuilder','nextResource','setResource','type','CUSTOM'];_0x2cc1=function(){return _0x6e6f50;};return _0x2cc1();}function _0x2b4f(_0xd67568,_0x5af7dd){_0xd67568=_0xd67568-0x12b;const _0x2cc183=_0x2cc1();let _0x2b4fff=_0x2cc183[_0xd67568];return _0x2b4fff;}(function(_0x2a4fb3,_0xe309f3){const _0x1cd901=_0x2b4f,_0x5da5ea=_0x2a4fb3();while(!![]){try{const _0x259e52=-parseInt(_0x1cd901(0x220))/0x1+-parseInt(_0x1cd901(0x151))/0x2*(-parseInt(_0x1cd901(0x12d))/0x3)+parseInt(_0x1cd901(0x1d0))/0x4*(parseInt(_0x1cd901(0x165))/0x5)+-parseInt(_0x1cd901(0x218))/0x6*(-parseInt(_0x1cd901(0x21d))/0x7)+-parseInt(_0x1cd901(0x1ed))/0x8+parseInt(_0x1cd901(0x26f))/0x9*(parseInt(_0x1cd901(0x269))/0xa)+parseInt(_0x1cd901(0x1d6))/0xb*(-parseInt(_0x1cd901(0x24d))/0xc);if(_0x259e52===_0xe309f3)break;else _0x5da5ea['push'](_0x5da5ea['shift']());}catch(_0xe693e2){_0x5da5ea['push'](_0x5da5ea['shift']());}}}(_0x2cc1,0xe78cd),function(_0x25a8b2,_0x345e20){const _0x7214ad=_0x2b4f;typeof exports==_0x7214ad(0x148)&&typeof module<'u'?_0x345e20(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x7214ad(0x1cb)&&define[_0x7214ad(0x1e6)]?define([_0x7214ad(0x23d),_0x7214ad(0x275),'@univerjs/core',_0x7214ad(0x26a),_0x7214ad(0x26b),_0x7214ad(0x239),_0x7214ad(0x162)],_0x345e20):(_0x25a8b2=typeof globalThis<'u'?globalThis:_0x25a8b2||self,_0x345e20(_0x25a8b2[_0x7214ad(0x1d3)]={},_0x25a8b2[_0x7214ad(0x207)],_0x25a8b2[_0x7214ad(0x17d)],_0x25a8b2[_0x7214ad(0x248)],_0x25a8b2[_0x7214ad(0x1be)],_0x25a8b2[_0x7214ad(0x239)],_0x25a8b2['UniverProLicense']));}(this,function(_0x5c28cd,_0x219b45,_0xa600dd,_0x165f65,_0x5430b4,_0x4127ab,_0x5f572e){const _0x4955bb=_0x2b4f;Object[_0x4955bb(0x22a)](_0x5c28cd,Symbol['toStringTag'],{'value':'Module'});let _0x37b0b3=_0x4955bb(0x1e2),_0x2846a2=_0x4955bb(0x149);function _0x3eac7f(){return{'schemaVersion':0x1,'formulas':{}};}function _0x5010f7(_0x28b240){const _0x530199=_0x4955bb;return!_0x28b240||typeof _0x28b240!=_0x530199(0x148)||!_0x36bc01(_0x28b240,[_0x530199(0x154),_0x530199(0x262)])||!('schemaVersion'in _0x28b240)||_0x28b240['schemaVersion']!==0x1||!('formulas'in _0x28b240)||!_0x28b240[_0x530199(0x262)]||typeof _0x28b240[_0x530199(0x262)]!='object'||Array[_0x530199(0x258)](_0x28b240['formulas'])?!0x1:Object['entries'](_0x28b240['formulas'])[_0x530199(0x1aa)](([_0x397a57,_0xe57473])=>_0x397a57[_0x530199(0x133)]>0x0&&_0x3cd1eb(_0xe57473));}function _0x3cd1eb(_0x33302d){const _0xa8e96b=_0x4955bb;return!_0x33302d||typeof _0x33302d!=_0xa8e96b(0x148)||!_0x36bc01(_0x33302d,[_0xa8e96b(0x1f6),_0xa8e96b(0x265),_0xa8e96b(0x16d)])||!(_0xa8e96b(0x1f6)in _0x33302d)||typeof _0x33302d[_0xa8e96b(0x1f6)]!=_0xa8e96b(0x26d)||!_0x33302d[_0xa8e96b(0x1f6)][_0xa8e96b(0x230)]()||_0xa8e96b(0x265)in _0x33302d&&_0x33302d[_0xa8e96b(0x265)]!=null&&(typeof _0x33302d[_0xa8e96b(0x265)]!=_0xa8e96b(0x148)||!_0x36bc01(_0x33302d[_0xa8e96b(0x265)],['pattern'])||!(_0xa8e96b(0x1f9)in _0x33302d[_0xa8e96b(0x265)])||typeof _0x33302d[_0xa8e96b(0x265)][_0xa8e96b(0x1f9)]!=_0xa8e96b(0x26d))?!0x1:!(_0xa8e96b(0x16d)in _0x33302d)||_0x33302d['lastValue']==null||_0xce23f5(_0x33302d[_0xa8e96b(0x16d)]);}function _0xce23f5(_0x506b80){const _0x4732b7=_0x4955bb;return!_0x506b80||typeof _0x506b80!=_0x4732b7(0x148)||!_0x36bc01(_0x506b80,['v','t',_0x4732b7(0x1f9)])||!('v'in _0x506b80)||_0x506b80['v']!==null&&typeof _0x506b80['v']!=_0x4732b7(0x26d)&&typeof _0x506b80['v']!=_0x4732b7(0x25d)&&typeof _0x506b80['v']!=_0x4732b7(0x1f4)||'t'in _0x506b80&&_0x506b80['t']!=null&&!_0x5aca3d(_0x506b80['t'])?!0x1:!(_0x4732b7(0x1f9)in _0x506b80)||_0x506b80[_0x4732b7(0x1f9)]==null||typeof _0x506b80[_0x4732b7(0x1f9)]==_0x4732b7(0x26d);}function _0x36bc01(_0xfa993f,_0x3f5ccf){const _0x49e0a4=_0x4955bb;let _0xfe4601=new Set(_0x3f5ccf);return Object['keys'](_0xfa993f)[_0x49e0a4(0x1aa)](_0x188540=>_0xfe4601[_0x49e0a4(0x150)](_0x188540));}function _0x5aca3d(_0x380186){const _0x1112f1=_0x4955bb;return typeof _0x380186==_0x1112f1(0x25d)&&Object['values'](_0xa600dd[_0x1112f1(0x204)])[_0x1112f1(0x255)](_0x380186);}let _0x2e917f=new Set([_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x278)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1c7)],_0xa600dd['DataStreamTreeTokenType']['TABLE_ROW_START'],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1eb)],_0xa600dd['DataStreamTreeTokenType'][_0x4955bb(0x27f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x25f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x16a)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1ad)],_0xa600dd['DataStreamTreeTokenType'][_0x4955bb(0x21f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x159)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1f8)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x212)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x214)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x211)]]);var _0x341a6d=class extends Error{constructor(){const _0x1e4dd9=_0x4955bb;super(_0x1e4dd9(0x247));}};function _0x59d760(_0x16f5ea){const _0x41a6b7=_0x4955bb;var _0x249e83,_0x35f132;let _0x5ced58=_0xa600dd[_0x41a6b7(0x24a)][_0x41a6b7(0x261)](_0x16f5ea['documentData']),_0x453b4a=_0x134976(_0x5ced58),{startOffset:_0x16638b,endOffset:_0x1589de}=_0xca18fe(_0x453b4a,_0x16f5ea['startOffset'],_0x16f5ea[_0x41a6b7(0x131)]);_0x1461cd(_0x453b4a,_0x16638b,_0x1589de);let _0x36eced=((_0x249e83=_0x453b4a[_0x41a6b7(0x164)])==null?void 0x0:_0x249e83[_0x41a6b7(0x17c)](_0x57bf74=>{const _0x12eaa9=_0x41a6b7;if(!_0xac054f(_0x57bf74))return!0x1;let _0x48c0d0=(0x0,_0xa600dd[_0x12eaa9(0x231)])(_0x57bf74);return _0x48c0d0[_0x12eaa9(0x131)]>_0x16638b&&_0x48c0d0[_0x12eaa9(0x1dc)]<_0x1589de;})[_0x41a6b7(0x139)](_0x11e0fb=>_0x11e0fb['rangeId']))??[];_0xa92fb5(_0x453b4a,_0x16638b,_0x1589de,''),_0x453b4a['customRanges']=[...((_0x35f132=_0x453b4a[_0x41a6b7(0x164)])==null?void 0x0:_0x35f132['filter'](_0x1edc94=>!_0x36eced[_0x41a6b7(0x255)](_0x1edc94[_0x41a6b7(0x25e)])&&_0x1edc94[_0x41a6b7(0x25e)]!==_0x16f5ea[_0x41a6b7(0x25e)]))??[],_0x1752d8(_0x16f5ea['rangeId'],_0x16638b)][_0x41a6b7(0x1af)]((_0x82d84d,_0xbd603b)=>_0x82d84d[_0x41a6b7(0x206)]-_0xbd603b[_0x41a6b7(0x206)]);let _0x311d3d=_0x58d91a(_0x16f5ea[_0x41a6b7(0x1b1)]);return _0x36eced[_0x41a6b7(0x1c1)](_0x4e36a4=>{const _0x2d9bdc=_0x41a6b7;delete _0x311d3d[_0x2d9bdc(0x262)][_0x4e36a4];}),_0x311d3d[_0x41a6b7(0x262)][_0x16f5ea[_0x41a6b7(0x25e)]]=_0xa600dd[_0x41a6b7(0x24a)][_0x41a6b7(0x261)](_0x16f5ea['config']),{'nextDocumentData':_0x5ced58,'nextResource':_0x311d3d,'cursorOffset':_0x16638b+0x1};}function _0x382cd5(_0x46f885){const _0x2c26af=_0x4955bb;var _0x40a4b7,_0x5d75f7;let _0x890b94=_0xa600dd[_0x2c26af(0x24a)][_0x2c26af(0x261)](_0x46f885['documentData']),_0xa6fb3f=(_0x40a4b7=_0x134976(_0x890b94)[_0x2c26af(0x164)])==null?void 0x0:_0x40a4b7[_0x2c26af(0x20e)](_0x3e0779=>_0x3e0779[_0x2c26af(0x25e)]===_0x46f885[_0x2c26af(0x25e)]&&_0xac054f(_0x3e0779));if(!_0xa6fb3f||!((_0x5d75f7=_0x46f885['resource'])!=null&&_0x5d75f7[_0x2c26af(0x262)][_0x46f885[_0x2c26af(0x25e)]]))return null;let _0x106ead=_0x58d91a(_0x46f885[_0x2c26af(0x1b1)]);return _0x106ead['formulas'][_0x46f885[_0x2c26af(0x25e)]]=_0xa600dd[_0x2c26af(0x24a)][_0x2c26af(0x261)](_0x46f885[_0x2c26af(0x15e)]),{'nextDocumentData':_0x890b94,'nextResource':_0x106ead,'cursorOffset':_0xa6fb3f[_0x2c26af(0x15a)]+0x1};}function _0x17de84(_0x19eb9a){const _0x53ba84=_0x4955bb;let _0x44b2e7=_0xa600dd[_0x53ba84(0x24a)][_0x53ba84(0x261)](_0x19eb9a[_0x53ba84(0x188)]),_0x3ed2e1=_0x4c7663(_0x44b2e7,_0x19eb9a[_0x53ba84(0x25e)],_0x19eb9a['text']??'');if(_0x3ed2e1==null)return null;let _0x552b43=_0x58d91a(_0x19eb9a[_0x53ba84(0x1b1)]);return delete _0x552b43['formulas'][_0x19eb9a['rangeId']],{'nextDocumentData':_0x44b2e7,'nextResource':_0x552b43,'cursorOffset':_0x3ed2e1};}function _0x3220ee(_0x443356,_0x2c9c12){const _0x3aafca=_0x4955bb;var _0x5e0567;let _0x150fd7=_0xa600dd[_0x3aafca(0x24a)][_0x3aafca(0x261)](_0x443356),_0x1df3db=_0x150fd7['body'];if(!_0x1df3db)return _0x150fd7;let _0x1c9fee=new Map(_0x2c9c12[_0x3aafca(0x139)](_0x4af97f=>[_0x4af97f[_0x3aafca(0x25e)],_0x4af97f[_0x3aafca(0x256)]])),_0x10a61d=((_0x5e0567=_0x1df3db[_0x3aafca(0x164)])==null?void 0x0:_0x5e0567[_0x3aafca(0x17c)](_0x21f34b=>_0xac054f(_0x21f34b)&&_0x1c9fee[_0x3aafca(0x150)](_0x21f34b['rangeId']))[_0x3aafca(0x1af)]((_0x2cb4a0,_0x2fd0ec)=>_0x2fd0ec['startIndex']-_0x2cb4a0[_0x3aafca(0x206)]))??[];for(let _0x85ba04 of _0x10a61d)_0x4c7663(_0x150fd7,_0x85ba04[_0x3aafca(0x25e)],_0x1c9fee['get'](_0x85ba04[_0x3aafca(0x25e)])??'');return _0x150fd7;}function _0xac054f(_0x2e6d9f){const _0x1e6414=_0x4955bb;var _0x328d16;return(_0x2e6d9f==null?void 0x0:_0x2e6d9f[_0x1e6414(0x23b)])===_0xa600dd['CustomRangeType'][_0x1e6414(0x27e)]&&_0x2e6d9f[_0x1e6414(0x202)]===!0x0&&((_0x328d16=_0x2e6d9f[_0x1e6414(0x16b)])==null?void 0x0:_0x328d16[_0x1e6414(0x145)])===_0x1e6414(0x149);}function _0x274b50(_0x4109ae,_0x2b3427){const _0x5c1f8d=_0x4955bb;var _0x5a682c;return _0x4109ae==null||(_0x5a682c=_0x4109ae['customRanges'])==null?void 0x0:_0x5a682c[_0x5c1f8d(0x20e)](_0x5026c3=>_0x5026c3['rangeId']===_0x2b3427&&_0xac054f(_0x5026c3));}function _0x1461cd(_0xfe03f6,_0x599fe2,_0x1c9f70){const _0x3fee2b=_0x4955bb;if(_0x599fe2===_0x1c9f70){if(_0x2e917f[_0x3fee2b(0x150)](_0xfe03f6[_0x3fee2b(0x201)][_0x599fe2]))throw new _0x341a6d();}else{for(let _0x4afd88=_0x599fe2;_0x4afd88<_0x1c9f70;_0x4afd88++)if(_0xfe03f6[_0x3fee2b(0x201)][_0x4afd88]===_0xa600dd[_0x3fee2b(0x1cd)][_0x3fee2b(0x272)]||_0x2e917f[_0x3fee2b(0x150)](_0xfe03f6['dataStream'][_0x4afd88]))throw new _0x341a6d();}}function _0x1752d8(_0x103352,_0x1f4307){const _0x8daebc=_0x4955bb;return{'startIndex':_0x1f4307,'endIndex':_0x1f4307,'rangeId':_0x103352,'rangeType':_0xa600dd[_0x8daebc(0x17f)][_0x8daebc(0x27e)],'wholeEntity':!0x0,'properties':{'kind':_0x2846a2}};}function _0x58d91a(_0x3bea11){const _0xfce4fc=_0x4955bb;return _0x3bea11?_0xa600dd[_0xfce4fc(0x24a)][_0xfce4fc(0x261)](_0x3bea11):_0x3eac7f();}function _0xca18fe(_0x240125,_0x2bdd4a,_0x39b6cc){const _0x3436b7=_0x4955bb;let _0x2dac23=_0x4d3ace(_0x240125),_0x13a30f=_0x2bdd4a??_0x2dac23,_0x2eb8cd=_0x39b6cc??_0x13a30f;return{'startOffset':_0x553cbb(Math['min'](_0x13a30f,_0x2eb8cd),_0x2dac23),'endOffset':_0x553cbb(Math[_0x3436b7(0x198)](_0x13a30f,_0x2eb8cd),_0x2dac23)};}function _0x553cbb(_0x5be1d6,_0x2ccf2a){return Math['max'](0x0,Math['min'](_0x5be1d6,_0x2ccf2a));}function _0x4d3ace(_0x57bf75){const _0x3ec672=_0x4955bb;return _0x57bf75[_0x3ec672(0x201)]['endsWith'](''+_0xa600dd[_0x3ec672(0x1cd)][_0x3ec672(0x272)]+_0xa600dd['DataStreamTreeTokenType'][_0x3ec672(0x278)])?Math[_0x3ec672(0x198)](0x0,_0x57bf75[_0x3ec672(0x201)][_0x3ec672(0x133)]-0x2):_0x57bf75[_0x3ec672(0x201)][_0x3ec672(0x1a3)](_0xa600dd[_0x3ec672(0x1cd)][_0x3ec672(0x278)])?Math['max'](0x0,_0x57bf75['dataStream']['length']-0x1):_0x57bf75['dataStream'][_0x3ec672(0x133)];}function _0xa92fb5(_0x118fd5,_0x10fae4,_0x373d4c,_0x276a70){_0x373d4c>_0x10fae4&&_0x1ed35f(_0x118fd5,_0x10fae4,_0x373d4c),_0x32d34f(_0x118fd5,_0x10fae4,_0x276a70);}function _0x4c7663(_0x182092,_0x55864f,_0x527869){const _0x400bf9=_0x4955bb;var _0x65e97a,_0x2f05e7;let _0x486a84=_0x134976(_0x182092),_0x5e0113=(_0x65e97a=_0x486a84['customRanges'])==null?void 0x0:_0x65e97a[_0x400bf9(0x20e)](_0x389cbc=>_0x389cbc['rangeId']===_0x55864f&&_0xac054f(_0x389cbc));if(!_0x5e0113)return null;let _0x4f6661=(0x0,_0xa600dd[_0x400bf9(0x231)])(_0x5e0113);return _0xa92fb5(_0x486a84,_0x4f6661[_0x400bf9(0x1dc)],_0x4f6661['endOffset'],_0x527869),_0x486a84[_0x400bf9(0x164)]=(_0x2f05e7=_0x486a84[_0x400bf9(0x164)])==null?void 0x0:_0x2f05e7['filter'](_0x49ab7a=>_0x49ab7a[_0x400bf9(0x25e)]!==_0x55864f),_0x4f6661[_0x400bf9(0x1dc)]+_0x527869[_0x400bf9(0x133)];}function _0x32d34f(_0x53392d,_0x15d38b,_0x16574f){const _0x3eec94=_0x4955bb;_0x16574f&&(_0x53392d[_0x3eec94(0x201)]=''+_0x53392d[_0x3eec94(0x201)][_0x3eec94(0x19c)](0x0,_0x15d38b)+_0x16574f+_0x53392d[_0x3eec94(0x201)]['slice'](_0x15d38b),_0xc28b98(_0x53392d,_0x15d38b,_0x16574f[_0x3eec94(0x133)]));}function _0x1ed35f(_0x1b4d99,_0x4b1116,_0x3e86a9){const _0x5a6c6e=_0x4955bb;let _0x32f4ce=_0x3e86a9-_0x4b1116;_0x1b4d99[_0x5a6c6e(0x201)]=''+_0x1b4d99[_0x5a6c6e(0x201)][_0x5a6c6e(0x19c)](0x0,_0x4b1116)+_0x1b4d99[_0x5a6c6e(0x201)][_0x5a6c6e(0x19c)](_0x3e86a9),_0x272608(_0x1b4d99,_0x4b1116,_0x32f4ce);}function _0xc28b98(_0x59f817,_0x3b3338,_0x1e8f72){const _0x4eb279=_0x4955bb;_0x59f817[_0x4eb279(0x250)]=_0xc4b940(_0x59f817[_0x4eb279(0x250)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x192)]=_0xc4b940(_0x59f817[_0x4eb279(0x192)],_0x3b3338,_0x1e8f72),_0x59f817['customBlocks']=_0xc4b940(_0x59f817[_0x4eb279(0x147)],_0x3b3338,_0x1e8f72),_0x59f817['textRuns']=_0x2478c8(_0x59f817[_0x4eb279(0x17a)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x18d)]=_0x31982a(_0x59f817['tables'],_0x3b3338,_0x1e8f72),_0x59f817['columnGroups']=_0x4c8946(_0x59f817['columnGroups'],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x164)]=_0x4c8946(_0x59f817[_0x4eb279(0x164)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x25a)]=_0x4c8946(_0x59f817[_0x4eb279(0x25a)],_0x3b3338,_0x1e8f72),_0x59f817['blockRanges']=_0x4c8946(_0x59f817[_0x4eb279(0x273)],_0x3b3338,_0x1e8f72);}function _0x272608(_0x5f2345,_0x54b556,_0x486db7){const _0x28aefe=_0x4955bb;var _0x54f0d8,_0x21d86f;_0x5f2345['paragraphs']=_0x46267f(_0x5f2345[_0x28aefe(0x250)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x192)]=_0x46267f(_0x5f2345[_0x28aefe(0x192)],_0x54b556,_0x486db7),_0x5f2345['customBlocks']=_0x46267f(_0x5f2345[_0x28aefe(0x147)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x17a)]=(_0x54f0d8=_0x51c81b((_0x21d86f=_0x5f2345['textRuns'])==null?void 0x0:_0x21d86f['map'](_0x58b91b=>({..._0x58b91b,'startIndex':_0x58b91b['st'],'endIndex':_0x58b91b['ed']})),_0x54b556,_0x486db7))==null?void 0x0:_0x54f0d8[_0x28aefe(0x139)](_0x1a8c7f=>{let {startIndex:_0xb08dfe,endIndex:_0x3556fa,..._0x4ad3da}=_0x1a8c7f;return{..._0x4ad3da,'st':_0xb08dfe,'ed':_0x3556fa};}),_0x5f2345[_0x28aefe(0x18d)]=_0x51c81b(_0x5f2345['tables'],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x178)]=_0x3e120f(_0x5f2345[_0x28aefe(0x178)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x164)]=_0x3e120f(_0x5f2345['customRanges'],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x25a)]=_0x3e120f(_0x5f2345[_0x28aefe(0x25a)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x273)]=_0x3e120f(_0x5f2345[_0x28aefe(0x273)],_0x54b556,_0x486db7);}function _0xc4b940(_0x3f63b2,_0x2c652e,_0x937085){const _0x2300ee=_0x4955bb;return _0x3f63b2==null?void 0x0:_0x3f63b2[_0x2300ee(0x139)](_0x1db6ca=>_0x1db6ca['startIndex']>=_0x2c652e?{..._0x1db6ca,'startIndex':_0x1db6ca[_0x2300ee(0x206)]+_0x937085}:_0x1db6ca);}function _0x46267f(_0x288694,_0x198ced,_0x3da02c){const _0xb22630=_0x4955bb;let _0xae0f=_0x198ced+_0x3da02c;return _0x288694==null?void 0x0:_0x288694[_0xb22630(0x139)](_0x5760cd=>_0x5760cd[_0xb22630(0x206)]>=_0x198ced&&_0x5760cd['startIndex']<_0xae0f?null:_0x5760cd[_0xb22630(0x206)]>=_0xae0f?{..._0x5760cd,'startIndex':_0x5760cd[_0xb22630(0x206)]-_0x3da02c}:_0x5760cd)['filter'](_0x3de2b2=>_0x3de2b2!=null);}function _0x2478c8(_0x16de63,_0x415fba,_0x275def){const _0x41f9f8=_0x4955bb;return _0x16de63==null?void 0x0:_0x16de63[_0x41f9f8(0x139)](_0x5577b5=>_0x5577b5['st']>=_0x415fba?{..._0x5577b5,'st':_0x5577b5['st']+_0x275def,'ed':_0x5577b5['ed']+_0x275def}:_0x5577b5['ed']>_0x415fba?{..._0x5577b5,'ed':_0x5577b5['ed']+_0x275def}:_0x5577b5);}function _0x4c8946(_0x384a7e,_0x161e0e,_0x3d575f){const _0x525580=_0x4955bb;return _0x384a7e==null?void 0x0:_0x384a7e[_0x525580(0x139)](_0x15f92d=>(0x0,_0xa600dd[_0x525580(0x19b)])(_0x15f92d,_0x161e0e,_0x3d575f));}function _0x31982a(_0xea9a10,_0x263d09,_0x19eaa8){const _0x490ab=_0x4955bb;return _0xea9a10==null?void 0x0:_0xea9a10[_0x490ab(0x139)](_0x209d2e=>(0x0,_0xa600dd['shiftExclusiveRangeOnInsert'])(_0x209d2e,_0x263d09,_0x19eaa8));}function _0x3e120f(_0x11139a,_0x4b3789,_0x536b5c){const _0x26ec9c=_0x4955bb;return _0x11139a==null?void 0x0:_0x11139a[_0x26ec9c(0x139)](_0x4d76ab=>(0x0,_0xa600dd[_0x26ec9c(0x1fb)])(_0x4d76ab,_0x4b3789,_0x536b5c))[_0x26ec9c(0x17c)](_0x4d7f82=>_0x4d7f82!=null);}function _0x51c81b(_0x1a2075,_0x37ae21,_0x48a555){const _0x2c2083=_0x4955bb;return _0x1a2075==null?void 0x0:_0x1a2075[_0x2c2083(0x139)](_0xd6b841=>(0x0,_0xa600dd[_0x2c2083(0x1fa)])(_0xd6b841,_0x37ae21,_0x48a555))[_0x2c2083(0x17c)](_0x4248a6=>_0x4248a6!=null);}function _0x134976(_0x5c9176){const _0x373a66=_0x4955bb;if(!_0x5c9176[_0x373a66(0x1e9)])throw Error(_0x373a66(0x1d5));return _0x5c9176['body'];}function _0x5b9600(_0x4d090d){'@babel/helpers - typeof';const _0x383682=_0x4955bb;return _0x5b9600=typeof Symbol=='function'&&typeof Symbol[_0x383682(0x13f)]=='symbol'?function(_0x42d22e){return typeof _0x42d22e;}:function(_0x3eeac0){const _0x3eaaf6=_0x383682;return _0x3eeac0&&typeof Symbol=='function'&&_0x3eeac0[_0x3eaaf6(0x20c)]===Symbol&&_0x3eeac0!==Symbol[_0x3eaaf6(0x233)]?_0x3eaaf6(0x19f):typeof _0x3eeac0;},_0x5b9600(_0x4d090d);}function _0x55e20e(_0x215d03,_0x55c3f2){const _0x929dc6=_0x4955bb;if(_0x5b9600(_0x215d03)!=_0x929dc6(0x148)||!_0x215d03)return _0x215d03;var _0x4eab18=_0x215d03[Symbol[_0x929dc6(0x260)]];if(_0x4eab18!==void 0x0){var _0x4884df=_0x4eab18['call'](_0x215d03,_0x55c3f2||_0x929dc6(0x1a8));if(_0x5b9600(_0x4884df)!=_0x929dc6(0x148))return _0x4884df;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x55c3f2===_0x929dc6(0x26d)?String:Number)(_0x215d03);}function _0x3ec881(_0x3be2bd){var _0x4822a5=_0x55e20e(_0x3be2bd,'string');return _0x5b9600(_0x4822a5)=='symbol'?_0x4822a5:_0x4822a5+'';}function _0x2567b3(_0x5e4de5,_0x31938e,_0x563d16){const _0x63ad7=_0x4955bb;return(_0x31938e=_0x3ec881(_0x31938e))in _0x5e4de5?Object[_0x63ad7(0x22a)](_0x5e4de5,_0x31938e,{'value':_0x563d16,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5e4de5[_0x31938e]=_0x563d16,_0x5e4de5;}var _0x5e0b6b=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(..._0x5e4528){const _0x2ed1f0=_0x4955bb;super(..._0x5e4528),_0x2567b3(this,_0x2ed1f0(0x1d1),new Map()),_0x2567b3(this,_0x2ed1f0(0x1e7),new Map()),_0x2567b3(this,_0x2ed1f0(0x253),new Map()),_0x2567b3(this,_0x2ed1f0(0x234),new _0x4127ab[(_0x2ed1f0(0x254))]()),_0x2567b3(this,_0x2ed1f0(0x20d),this[_0x2ed1f0(0x234)][_0x2ed1f0(0x1b7)]());}['getFormula'](_0x4e1a41,_0x471782){const _0x502f71=_0x4955bb;var _0x927426;let _0x57b1d7=(_0x927426=this['_resources'][_0x502f71(0x1b3)](_0x4e1a41))==null?void 0x0:_0x927426[_0x502f71(0x262)][_0x471782];return _0x57b1d7?_0xa600dd['Tools']['deepClone'](_0x57b1d7):void 0x0;}[_0x4955bb(0x16e)](_0x4e266a){const _0x1386eb=_0x4955bb;var _0x263532;return _0xa600dd[_0x1386eb(0x24a)][_0x1386eb(0x261)](((_0x263532=this['_resources'][_0x1386eb(0x1b3)](_0x4e266a))==null?void 0x0:_0x263532[_0x1386eb(0x262)])??{});}[_0x4955bb(0x1ce)](_0x499d3d){const _0x478e08=_0x4955bb;let _0x14d70d=this['_resources'][_0x478e08(0x1b3)](_0x499d3d);return _0x14d70d?_0xa600dd[_0x478e08(0x24a)]['deepClone'](_0x14d70d):void 0x0;}['setFormula'](_0x1a31a3,_0x5c7150,_0x2ff601){const _0x3183c3=_0x4955bb;return this[_0x3183c3(0x26c)](_0x1a31a3,{[_0x5c7150]:_0x2ff601});}['setResource'](_0x2c899c,_0x4bc741){const _0x487203=_0x4955bb;return this['_loadErrors'][_0x487203(0x150)](_0x2c899c)||!_0x5010f7(_0x4bc741)?!0x1:(this[_0x487203(0x1d1)]['set'](_0x2c899c,_0xa600dd[_0x487203(0x24a)][_0x487203(0x261)](_0x4bc741)),this['_change$'][_0x487203(0x1b9)]({'unitId':_0x2c899c}),!0x0);}[_0x4955bb(0x26c)](_0xfc7ed0,_0x34ca45){const _0x287680=_0x4955bb;if(this[_0x287680(0x253)][_0x287680(0x150)](_0xfc7ed0)||!Object['keys'](_0x34ca45)[_0x287680(0x133)]||!_0x5010f7({'schemaVersion':0x1,'formulas':_0x34ca45}))return!0x1;let _0x1e1ff4=this['_resources'][_0x287680(0x1b3)](_0xfc7ed0)??_0x3eac7f(),_0x4f4a89=_0xa600dd['Tools']['deepClone'](_0x1e1ff4);return Object[_0x287680(0x1b0)](_0x4f4a89['formulas'],_0xa600dd['Tools']['deepClone'](_0x34ca45)),this[_0x287680(0x1d1)]['set'](_0xfc7ed0,_0x4f4a89),this[_0x287680(0x234)]['next']({'unitId':_0xfc7ed0,'rangeIds':Object['keys'](_0x34ca45)}),!0x0;}[_0x4955bb(0x1d7)](_0x28f20a,_0x4d8cd0){const _0x2c0cd3=_0x4955bb;if(this[_0x2c0cd3(0x253)][_0x2c0cd3(0x150)](_0x28f20a))return!0x1;let _0x223711=this[_0x2c0cd3(0x1d1)][_0x2c0cd3(0x1b3)](_0x28f20a);if(!(_0x223711!=null&&_0x223711[_0x2c0cd3(0x262)][_0x4d8cd0]))return!0x1;let _0x2702b2=_0xa600dd[_0x2c0cd3(0x24a)][_0x2c0cd3(0x261)](_0x223711);return delete _0x2702b2[_0x2c0cd3(0x262)][_0x4d8cd0],this[_0x2c0cd3(0x1d1)][_0x2c0cd3(0x1c2)](_0x28f20a,_0x2702b2),this[_0x2c0cd3(0x234)][_0x2c0cd3(0x1b9)]({'unitId':_0x28f20a,'rangeIds':[_0x4d8cd0]}),!0x0;}[_0x4955bb(0x209)](_0x904fe5,_0x1a7b0e){const _0x274105=_0x4955bb;return _0x1a7b0e&&typeof _0x1a7b0e==_0x274105(0x148)&&_0x274105(0x154)in _0x1a7b0e&&_0x1a7b0e[_0x274105(0x154)]!==0x1?(this[_0x274105(0x1b5)](_0x904fe5,_0x1a7b0e,'unsupported-version'),!0x1):_0x5010f7(_0x1a7b0e)?(this[_0x274105(0x1d1)]['set'](_0x904fe5,_0xa600dd['Tools']['deepClone'](_0x1a7b0e)),this['_rawResources'][_0x274105(0x176)](_0x904fe5),this[_0x274105(0x253)][_0x274105(0x176)](_0x904fe5),this[_0x274105(0x234)][_0x274105(0x1b9)]({'unitId':_0x904fe5}),!0x0):(this[_0x274105(0x1b5)](_0x904fe5,_0x1a7b0e,_0x274105(0x1bf)),!0x1);}[_0x4955bb(0x182)](_0x35f271){const _0x3f1a45=_0x4955bb;let _0x5f54ea=this[_0x3f1a45(0x1d1)][_0x3f1a45(0x1b3)](_0x35f271);return _0x5f54ea?_0xa600dd['Tools'][_0x3f1a45(0x261)](_0x5f54ea):this['_rawResources'][_0x3f1a45(0x150)](_0x35f271)?_0xa600dd[_0x3f1a45(0x24a)][_0x3f1a45(0x261)](this[_0x3f1a45(0x1e7)][_0x3f1a45(0x1b3)](_0x35f271)):_0x3eac7f();}[_0x4955bb(0x1c9)](_0x3bed18){const _0x1e0c0c=_0x4955bb;return this[_0x1e0c0c(0x253)][_0x1e0c0c(0x1b3)](_0x3bed18);}[_0x4955bb(0x1fe)](_0x2351fe){const _0x95686=_0x4955bb;this[_0x95686(0x1d1)][_0x95686(0x176)](_0x2351fe),this[_0x95686(0x1e7)][_0x95686(0x176)](_0x2351fe),this['_loadErrors'][_0x95686(0x176)](_0x2351fe),this[_0x95686(0x234)]['next']({'unitId':_0x2351fe});}[_0x4955bb(0x23a)](){const _0x444dcc=_0x4955bb;this[_0x444dcc(0x1d1)][_0x444dcc(0x161)](),this['_rawResources'][_0x444dcc(0x161)](),this[_0x444dcc(0x253)]['clear'](),this['_change$'][_0x444dcc(0x1e0)](),super[_0x444dcc(0x23a)]();}['_preserveInvalid'](_0x1c1bc9,_0x666209,_0x4fdd18){const _0x348406=_0x4955bb;this['_resources']['delete'](_0x1c1bc9),this[_0x348406(0x1e7)]['set'](_0x1c1bc9,_0xa600dd[_0x348406(0x24a)][_0x348406(0x261)](_0x666209)),this['_loadErrors'][_0x348406(0x1c2)](_0x1c1bc9,_0x4fdd18),this['_change$'][_0x348406(0x1b9)]({'unitId':_0x1c1bc9});}};let _0xb37966=function(_0x469120){const _0x5711f4=_0x4955bb;return _0x469120[_0x5711f4(0x19a)]=_0x5711f4(0x259),_0x469120['PENDING']=_0x5711f4(0x14c),_0x469120[_0x5711f4(0x20f)]=_0x5711f4(0x1c8),_0x469120[_0x5711f4(0x184)]='error',_0x469120;}({});function _0x43cc7d(_0x2628f4,_0x232a8e){return function(_0x5f1df5,_0x5ee284){_0x232a8e(_0x5f1df5,_0x5ee284,_0x2628f4);};}function _0x349b98(_0x27255b,_0x4fa7b2,_0x4a29f9,_0x4301fe){const _0x1d9426=_0x4955bb;var _0x212fbc=arguments[_0x1d9426(0x133)],_0xffe682=_0x212fbc<0x3?_0x4fa7b2:_0x4301fe===null?_0x4301fe=Object['getOwnPropertyDescriptor'](_0x4fa7b2,_0x4a29f9):_0x4301fe,_0x1abfe8;if(typeof Reflect=='object'&&typeof Reflect[_0x1d9426(0x1a9)]=='function')_0xffe682=Reflect[_0x1d9426(0x1a9)](_0x27255b,_0x4fa7b2,_0x4a29f9,_0x4301fe);else{for(var _0x306723=_0x27255b[_0x1d9426(0x133)]-0x1;_0x306723>=0x0;_0x306723--)(_0x1abfe8=_0x27255b[_0x306723])&&(_0xffe682=(_0x212fbc<0x3?_0x1abfe8(_0xffe682):_0x212fbc>0x3?_0x1abfe8(_0x4fa7b2,_0x4a29f9,_0xffe682):_0x1abfe8(_0x4fa7b2,_0x4a29f9))||_0xffe682);}return _0x212fbc>0x3&&_0xffe682&&Object[_0x1d9426(0x22a)](_0x4fa7b2,_0x4a29f9,_0xffe682),_0xffe682;}let _0x4738b9=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0x1adae7,_0x149727,_0x57acae){const _0x54cbff=_0x4955bb;super(),this[_0x54cbff(0x18b)]=_0x1adae7,this[_0x54cbff(0x1c4)]=_0x149727,this['_hostExternalReferenceModel']=_0x57acae,_0x2567b3(this,_0x54cbff(0x1a2),new Map()),_0x2567b3(this,_0x54cbff(0x189),new Map()),_0x2567b3(this,'_presentationChanged$',new _0x4127ab[(_0x54cbff(0x254))]()),_0x2567b3(this,_0x54cbff(0x1d9),this[_0x54cbff(0x1cc)]['asObservable']()),this[_0x54cbff(0x13e)](this[_0x54cbff(0x1c4)][_0x54cbff(0x1bc)][_0x54cbff(0x1e5)](_0x446679=>{const _0x267741=_0x54cbff;for(let _0x15de43 of Object[_0x267741(0x155)](_0x446679))for(let _0x3cbc5f of Object[_0x267741(0x155)](_0x15de43))_0x3cbc5f[_0x267741(0x1c1)](_0x2c2f59=>this['_updateFormulaResult'](_0x2c2f59));}));}[_0x4955bb(0x1b6)](_0x50ae5d){const _0xe6687a=_0x4955bb;var _0x480650;let _0x22ffe7=_0x50ae5d[_0xe6687a(0x242)](),_0x229fb8=((_0x480650=_0x50ae5d['getSnapshot']()[_0xe6687a(0x1e9)])==null||(_0x480650=_0x480650[_0xe6687a(0x164)])==null?void 0x0:_0x480650[_0xe6687a(0x17c)](_0xac054f))??[],_0x333723=this['_model']['getFormulas'](_0x22ffe7),_0x23f952=new Set();for(let _0x5e47b6 of _0x229fb8){let _0x1d9f45=_0x333723[_0x5e47b6['rangeId']];_0x1d9f45&&(_0x23f952[_0xe6687a(0x24f)](_0x41ac89(_0x22ffe7,_0x5e47b6[_0xe6687a(0x25e)])),this[_0xe6687a(0x160)]({'unitId':_0x22ffe7,'rangeId':_0x5e47b6['rangeId']},_0x1d9f45));}for(let _0x7377a3 of Array[_0xe6687a(0x1ba)](this[_0xe6687a(0x1a2)][_0xe6687a(0x155)]()))_0x7377a3['unitId']===_0x22ffe7&&!_0x23f952['has'](_0x41ac89(_0x7377a3[_0xe6687a(0x257)],_0x7377a3[_0xe6687a(0x25e)]))&&this[_0xe6687a(0x215)](_0x7377a3);}[_0x4955bb(0x160)](_0x24a02c,_0x54fb8a){const _0x30ee29=_0x4955bb;let _0x10a34f=_0x41ac89(_0x24a02c[_0x30ee29(0x257)],_0x24a02c[_0x30ee29(0x25e)]),_0x4f43b3=this['_registrations'][_0x30ee29(0x1b3)](_0x10a34f),_0xd56e01=this['_hostExternalReferenceModel'][_0x30ee29(0x1ea)](_0x24a02c['unitId']);if(_0x4f43b3&&_0x4f43b3[_0x30ee29(0x15e)][_0x30ee29(0x1f6)]===_0x54fb8a[_0x30ee29(0x1f6)]&&_0x4f43b3['referenceRevision']===_0xd56e01){_0x4f43b3[_0x30ee29(0x15e)]=_0x54fb8a;let _0x298d3d=_0x4f43b3[_0x30ee29(0x152)]?this[_0x30ee29(0x1c4)][_0x30ee29(0x15c)](_0x4f43b3['unitId'],_0x4f43b3['unitId'],_0x4f43b3[_0x30ee29(0x152)])??void 0x0:void 0x0;_0x4f43b3[_0x30ee29(0x14a)]=_0x298d3d,this[_0x30ee29(0x14f)](_0x10a34f,_0x1fcc08(_0x54fb8a,_0x298d3d));return;}_0x4f43b3!=null&&_0x4f43b3['formulaId']&&this[_0x30ee29(0x19d)](_0x4f43b3);let _0xbab168={..._0x24a02c,'config':_0x54fb8a,'referenceRevision':_0xd56e01,'presentation':_0x1fcc08(_0x54fb8a,void 0x0)};if(this['_registrations'][_0x30ee29(0x1c2)](_0x10a34f,_0xbab168),!_0x54fb8a[_0x30ee29(0x1f6)]['trim']())return;let _0x96cf7b=this[_0x30ee29(0x1c4)][_0x30ee29(0x13b)](_0x24a02c['unitId'],_0x24a02c[_0x30ee29(0x257)],_0x54fb8a['formula'],void 0x0,{'rangeId':_0x24a02c['rangeId']},_0x5430b4[_0x30ee29(0x270)][_0x30ee29(0x252)],_0x24a02c[_0x30ee29(0x25e)]);_0xbab168[_0x30ee29(0x152)]=_0x96cf7b,this['_formulaKeys'][_0x30ee29(0x1c2)](_0x96cf7b,_0x10a34f);}['unregister'](_0x3bf8d9){const _0x3e0a7b=_0x4955bb;let _0x4fc0af=_0x41ac89(_0x3bf8d9['unitId'],_0x3bf8d9[_0x3e0a7b(0x25e)]),_0x4ca271=this[_0x3e0a7b(0x1a2)][_0x3e0a7b(0x1b3)](_0x4fc0af);_0x4ca271&&(this[_0x3e0a7b(0x19d)](_0x4ca271),this[_0x3e0a7b(0x1a2)][_0x3e0a7b(0x176)](_0x4fc0af));}[_0x4955bb(0x251)](_0x16b010){const _0x11b8ab=_0x4955bb;for(let _0x245d5b of Array['from'](this['_registrations']['values']()))_0x245d5b[_0x11b8ab(0x257)]===_0x16b010&&this[_0x11b8ab(0x215)](_0x245d5b);}[_0x4955bb(0x179)](_0xec776f){const _0xe19292=_0x4955bb;var _0xe4b013;return(_0xe4b013=this[_0xe19292(0x1a2)][_0xe19292(0x1b3)](_0x41ac89(_0xec776f['unitId'],_0xec776f[_0xe19292(0x25e)])))==null?void 0x0:_0xe4b013['presentation'];}['getResult'](_0x35cd11){const _0x432e19=_0x4955bb;let _0xf71329=this[_0x432e19(0x1a2)][_0x432e19(0x1b3)](_0x41ac89(_0x35cd11[_0x432e19(0x257)],_0x35cd11[_0x432e19(0x25e)]));return _0xf71329?_0x3840ab(_0xf71329):void 0x0;}[_0x4955bb(0x20b)](){const _0x3aa601=_0x4955bb;return Array['from'](this[_0x3aa601(0x1a2)][_0x3aa601(0x155)](),_0x59ab8a=>({'identity':{'unitId':_0x59ab8a[_0x3aa601(0x257)],'rangeId':_0x59ab8a[_0x3aa601(0x25e)]},'config':_0x59ab8a[_0x3aa601(0x15e)],'referenceRevision':_0x59ab8a[_0x3aa601(0x1ec)],..._0x59ab8a[_0x3aa601(0x14a)]?{'liveResult':_0x59ab8a['liveResult']}:null}));}[_0x4955bb(0x23a)](){const _0x317ac5=_0x4955bb;for(let _0x2cc99a of this['_registrations'][_0x317ac5(0x155)]())this[_0x317ac5(0x19d)](_0x2cc99a);this['_registrations'][_0x317ac5(0x161)](),this[_0x317ac5(0x189)][_0x317ac5(0x161)](),this[_0x317ac5(0x1cc)][_0x317ac5(0x1e0)](),super['dispose']();}[_0x4955bb(0x19e)](_0x22d164){const _0x10adc0=_0x4955bb;let _0x9277a=this['_formulaKeys'][_0x10adc0(0x1b3)](_0x22d164['formulaId']),_0x3105b7=_0x9277a?this[_0x10adc0(0x1a2)][_0x10adc0(0x1b3)](_0x9277a):void 0x0;_0x9277a&&_0x3105b7&&(_0x3105b7[_0x10adc0(0x14a)]=_0x22d164,this[_0x10adc0(0x14f)](_0x9277a,_0x1fcc08(_0x3105b7['config'],_0x22d164)));}[_0x4955bb(0x14f)](_0x51dfa9,_0xdd1cff){const _0xa5c3c9=_0x4955bb;var _0x4b618e,_0x6c21ae;let _0x24d7ac=this['_registrations'][_0xa5c3c9(0x1b3)](_0x51dfa9);if(!_0x24d7ac||_0x412413(_0x24d7ac['presentation'],_0xdd1cff))return;let _0x5c5fd1=_0x24d7ac[_0xa5c3c9(0x279)],_0x3047a5=_0x3840ab(_0x24d7ac);_0x24d7ac[_0xa5c3c9(0x279)]=_0xdd1cff,this[_0xa5c3c9(0x1cc)][_0xa5c3c9(0x1b9)]({'unitId':_0x24d7ac[_0xa5c3c9(0x257)],'rangeId':_0x24d7ac[_0xa5c3c9(0x25e)],'presentation':_0xdd1cff,'previousPresentation':_0x5c5fd1,'result':_0x3840ab(_0x24d7ac),'previousResult':{..._0x3047a5,..._0x5c5fd1,'value':(_0x4b618e=_0x5c5fd1['cell'])==null?void 0x0:_0x4b618e['v'],'valueType':((_0x6c21ae=_0x5c5fd1['cell'])==null?void 0x0:_0x6c21ae['t'])??void 0x0}});}[_0x4955bb(0x19d)](_0x4e8f36){const _0x14420a=_0x4955bb;_0x4e8f36[_0x14420a(0x152)]&&(this['_registrationService'][_0x14420a(0x169)](_0x4e8f36['unitId'],_0x4e8f36[_0x14420a(0x257)],[_0x4e8f36[_0x14420a(0x152)]]),this[_0x14420a(0x189)][_0x14420a(0x176)](_0x4e8f36['formulaId']));}};_0x4738b9=_0x349b98([_0x43cc7d(0x0,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x5e0b6b)),_0x43cc7d(0x1,(0x0,_0xa600dd['Inject'])(_0x5430b4['RegisterOtherFormulaService'])),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x219b45['HostExternalReferenceModel']))],_0x4738b9);function _0x41ac89(_0x40a49a,_0x4342cf){return _0x40a49a+'\x00'+_0x4342cf;}function _0x1fcc08(_0x482de4,_0x2a3656){return(0x0,_0x219b45['resolveFormulaResultPresentation'])({'numberFormat':_0x482de4['numberFormat'],'lastValue':_0x482de4['lastValue'],'result':_0x2a3656});}function _0x3840ab(_0x3e87f9){const _0x1ae4cb=_0x4955bb;var _0x561b76,_0x56e53b,_0x358a67;let _0x17d110=_0x3e87f9[_0x1ae4cb(0x279)],_0x1354f3=_0x3e87f9[_0x1ae4cb(0x15e)]['formula'][_0x1ae4cb(0x230)]()?_0x17d110['stale']||_0x17d110[_0x1ae4cb(0x13c)]==null?_0x1ae4cb(0x14c):((_0x561b76=_0x3e87f9['liveResult'])==null?void 0x0:_0x561b76[_0x1ae4cb(0x1f5)])===_0x5430b4[_0x1ae4cb(0x1e3)][_0x1ae4cb(0x184)]?_0x1ae4cb(0x17b):_0x1ae4cb(0x1c8):'empty';return{..._0x17d110,'status':_0x1354f3,'value':(_0x56e53b=_0x17d110[_0x1ae4cb(0x13c)])==null?void 0x0:_0x56e53b['v'],'valueType':((_0x358a67=_0x17d110[_0x1ae4cb(0x13c)])==null?void 0x0:_0x358a67['t'])??void 0x0};}function _0x412413(_0x128933,_0xbc6ef5){const _0x2942c4=_0x4955bb;var _0x21e6b7,_0x3e95b2,_0x2627b4,_0x527524;return _0x128933['text']===_0xbc6ef5[_0x2942c4(0x256)]&&_0x128933[_0x2942c4(0x200)]===_0xbc6ef5[_0x2942c4(0x200)]&&_0x128933[_0x2942c4(0x1f9)]===_0xbc6ef5[_0x2942c4(0x1f9)]&&_0x128933[_0x2942c4(0x144)]===_0xbc6ef5[_0x2942c4(0x144)]&&_0x128933[_0x2942c4(0x187)]===_0xbc6ef5[_0x2942c4(0x187)]&&((_0x21e6b7=_0x128933[_0x2942c4(0x13c)])==null?void 0x0:_0x21e6b7['t'])===((_0x3e95b2=_0xbc6ef5[_0x2942c4(0x13c)])==null?void 0x0:_0x3e95b2['t'])&&Object['is']((_0x2627b4=_0x128933[_0x2942c4(0x13c)])==null?void 0x0:_0x2627b4['v'],(_0x527524=_0xbc6ef5[_0x2942c4(0x13c)])==null?void 0x0:_0x527524['v']);}let _0x2aab19={'id':_0x4955bb(0x181),'type':_0xa600dd[_0x4955bb(0x21b)]['MUTATION'],'handler':(_0x563715,_0x4bd2d3)=>!(_0x4bd2d3!=null&&_0x4bd2d3[_0x4955bb(0x257)])||!_0x4bd2d3[_0x4955bb(0x25e)]||!_0x4bd2d3[_0x4955bb(0x15e)]?!0x1:_0x563715[_0x4955bb(0x1b3)](_0x5e0b6b)[_0x4955bb(0x241)](_0x4bd2d3[_0x4955bb(0x257)],_0x4bd2d3[_0x4955bb(0x25e)],_0x4bd2d3[_0x4955bb(0x15e)])},_0x152f9d={'id':_0x4955bb(0x1c5),'type':_0xa600dd[_0x4955bb(0x21b)]['MUTATION'],'handler':(_0xcff1dc,_0x430b66)=>!(_0x430b66!=null&&_0x430b66['unitId'])||!_0x430b66[_0x4955bb(0x25e)]?!0x1:_0xcff1dc['get'](_0x5e0b6b)[_0x4955bb(0x1d7)](_0x430b66[_0x4955bb(0x257)],_0x430b66['rangeId'])},_0x386db0={'id':_0x4955bb(0x14d),'type':_0xa600dd['CommandType'][_0x4955bb(0x1ee)],'handler':(_0x172b4f,_0xc635a7)=>!(_0xc635a7!=null&&_0xc635a7[_0x4955bb(0x257)])||!_0xc635a7[_0x4955bb(0x1b1)]?!0x1:_0x172b4f[_0x4955bb(0x1b3)](_0x5e0b6b)['setResource'](_0xc635a7['unitId'],_0xc635a7[_0x4955bb(0x1b1)])},_0xd3745f={'id':'docs-formula.mutation.set-last-values','type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1ee)],'handler':(_0x401eed,_0x20c109)=>{const _0x1add98=_0x4955bb;if(!(_0x20c109!=null&&_0x20c109[_0x1add98(0x257)])||!_0x20c109[_0x1add98(0x168)]['length'])return!0x1;let _0x1150ba=_0x401eed[_0x1add98(0x1b3)](_0x5e0b6b),_0x2298bb=_0x401eed[_0x1add98(0x1b3)](_0x219b45['HostExternalReferenceModel']),_0x57f2d6=_0x1150ba['getResource'](_0x20c109['unitId']);if(!_0x57f2d6)return!0x1;let _0xc5a1a1=_0xa600dd['Tools']['deepClone'](_0x57f2d6),_0x2e448c=!0x1;for(let _0x16b44c of _0x20c109[_0x1add98(0x168)]){var _0x9b5a3e,_0x145c6e,_0x366edb,_0x295c25;let _0x593226=_0xc5a1a1[_0x1add98(0x262)][_0x16b44c['rangeId']];_0x593226&&_0x593226[_0x1add98(0x1f6)]===_0x16b44c[_0x1add98(0x216)]&&((_0x9b5a3e=_0x593226[_0x1add98(0x265)])==null?void 0x0:_0x9b5a3e[_0x1add98(0x1f9)])===_0x16b44c[_0x1add98(0x245)]&&_0x2298bb[_0x1add98(0x1ea)](_0x20c109['unitId'])===_0x16b44c[_0x1add98(0x13d)]&&(((_0x145c6e=_0x593226['lastValue'])==null?void 0x0:_0x145c6e['v'])!==_0x16b44c['lastValue']['v']||((_0x366edb=_0x593226[_0x1add98(0x16d)])==null?void 0x0:_0x366edb['t'])!==_0x16b44c[_0x1add98(0x16d)]['t']||((_0x295c25=_0x593226[_0x1add98(0x16d)])==null?void 0x0:_0x295c25[_0x1add98(0x1f9)])!==_0x16b44c[_0x1add98(0x16d)]['pattern'])&&(_0x593226[_0x1add98(0x16d)]=_0xa600dd[_0x1add98(0x24a)][_0x1add98(0x261)](_0x16b44c[_0x1add98(0x16d)]),_0x2e448c=!0x0);}return!_0x2e448c||_0x1150ba[_0x1add98(0x27c)](_0x20c109[_0x1add98(0x257)],_0xc5a1a1);}},_0x2ec352={'id':_0x4955bb(0x1bd),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x28605b,_0x50acaf)=>{const _0x4afea3=_0x4955bb;if(!(_0x50acaf!=null&&_0x50acaf[_0x4afea3(0x1f6)][_0x4afea3(0x230)]()))return!0x1;let _0x3813ff=_0x3fdd9b(_0x28605b,_0x50acaf[_0x4afea3(0x257)],'');if(!_0x3813ff)return!0x1;let _0x4ad77e=_0xb70f7e(_0x50acaf['target'],_0x3813ff['body'],_0x54e05c(_0x28605b,_0x3813ff[_0x4afea3(0x257)]));if(!_0x4ad77e)return!0x1;let _0x1d7287=_0x581a17(_0x28605b,_0x3813ff['unitId'],_0x50acaf[_0x4afea3(0x1f6)],_0x50acaf['externalReferences']??[]);if(!_0x1d7287)return!0x1;let _0x33c6a9=_0x101714(_0x3813ff[_0x4afea3(0x1e9)],_0x3813ff[_0x4afea3(0x23e)],_0x3813ff[_0x4afea3(0x257)]),_0x1684ef=_0x31fb2b({'documentData':_0x3813ff[_0x4afea3(0x188)],'resource':_0x3813ff[_0x4afea3(0x1b1)],'rangeId':_0x33c6a9,'config':{'formula':_0x50acaf[_0x4afea3(0x1f6)],..._0x50acaf[_0x4afea3(0x265)]?{'numberFormat':_0x50acaf[_0x4afea3(0x265)]}:null},'startOffset':_0x4ad77e['startOffset'],'endOffset':_0x4ad77e[_0x4afea3(0x131)]});if(!_0x1684ef)return!0x1;let _0x3051d4=(0x0,_0x219b45[_0x4afea3(0x22b)])(_0x28605b,_0x3813ff[_0x4afea3(0x257)],_0x1d7287);return!_0x3051d4||!_0x3ab3e2({'accessor':_0x28605b,'document':_0x3813ff['document'],'unitId':_0x3813ff[_0x4afea3(0x257)],'trigger':_0x2ec352['id'],'rangeId':_0x33c6a9,'previousResource':_0x3813ff[_0x4afea3(0x1b1)],'nextResource':_0x1684ef['nextResource'],'previousDocumentData':_0x3813ff['documentData'],'nextDocumentData':_0x1684ef[_0x4afea3(0x227)],'cursorOffset':_0x1684ef[_0x4afea3(0x194)],'externalMutations':_0x3051d4})?!0x1:{'rangeId':_0x33c6a9,'startOffset':_0x1684ef[_0x4afea3(0x194)]-0x1,'endOffset':_0x1684ef[_0x4afea3(0x194)]};}},_0x578b02={'id':_0x4955bb(0x137),'type':_0xa600dd['CommandType'][_0x4955bb(0x1a4)],'handler':(_0x598fb9,_0x3393e4)=>{const _0x16afa0=_0x4955bb;if(!(_0x3393e4!=null&&_0x3393e4[_0x16afa0(0x25e)])||!_0x3393e4[_0x16afa0(0x1f6)][_0x16afa0(0x230)]())return!0x1;let _0x287644=_0x3fdd9b(_0x598fb9,_0x3393e4['unitId'],''),_0x4eee81=_0x287644==null?void 0x0:_0x287644[_0x16afa0(0x23e)][_0x16afa0(0x213)](_0x287644['unitId'],_0x3393e4['rangeId']),_0x318877=_0x287644?_0x274b50(_0x287644[_0x16afa0(0x188)]['body'],_0x3393e4[_0x16afa0(0x25e)]):void 0x0;if(!_0x287644||!_0x4eee81||!_0x318877)return!0x1;let _0x40e635=_0x581a17(_0x598fb9,_0x287644['unitId'],_0x3393e4[_0x16afa0(0x1f6)],_0x3393e4[_0x16afa0(0x1e4)]??[]);if(!_0x40e635)return!0x1;let _0x89b212=(0x0,_0x219b45[_0x16afa0(0x22b)])(_0x598fb9,_0x287644[_0x16afa0(0x257)],_0x40e635);if(!_0x89b212)return!0x1;let _0x304839=_0x451b02(_0x287644[_0x16afa0(0x1b1)]);return _0x304839[_0x16afa0(0x262)][_0x3393e4[_0x16afa0(0x25e)]]={'formula':_0x3393e4[_0x16afa0(0x1f6)],..._0x3393e4[_0x16afa0(0x265)]?{'numberFormat':_0x3393e4[_0x16afa0(0x265)]}:_0x4eee81[_0x16afa0(0x265)]?{'numberFormat':_0x4eee81[_0x16afa0(0x265)]}:null},_0x3ab3e2({'accessor':_0x598fb9,'document':_0x287644[_0x16afa0(0x142)],'unitId':_0x287644[_0x16afa0(0x257)],'trigger':_0x578b02['id'],'rangeId':_0x3393e4[_0x16afa0(0x25e)],'previousResource':_0x287644['resource'],'nextResource':_0x304839,'cursorOffset':_0x318877[_0x16afa0(0x15a)]+0x1,'externalMutations':_0x89b212});}},_0x1ae193={'id':_0x4955bb(0x1f2),'type':_0xa600dd['CommandType'][_0x4955bb(0x1a4)],'handler':(_0x422460,_0x3d4de7)=>{const _0x2d748c=_0x4955bb;if(!(_0x3d4de7!=null&&_0x3d4de7[_0x2d748c(0x25e)]))return!0x1;let _0x3c797e=_0x3fdd9b(_0x422460,_0x3d4de7[_0x2d748c(0x257)],''),_0x41d8cb=_0x3c797e==null?void 0x0:_0x3c797e[_0x2d748c(0x23e)]['getFormula'](_0x3c797e[_0x2d748c(0x257)],_0x3d4de7['rangeId']),_0x37acc2=_0x3c797e?_0x274b50(_0x3c797e[_0x2d748c(0x188)]['body'],_0x3d4de7['rangeId']):void 0x0;if(!_0x3c797e||!_0x41d8cb||!_0x37acc2)return!0x1;let _0x499477=_0x451b02(_0x3c797e[_0x2d748c(0x1b1)]);return _0x499477[_0x2d748c(0x262)][_0x3d4de7[_0x2d748c(0x25e)]]={..._0x41d8cb,..._0x3d4de7[_0x2d748c(0x265)]?{'numberFormat':_0x3d4de7[_0x2d748c(0x265)]}:null},_0x3d4de7[_0x2d748c(0x265)]||delete _0x499477[_0x2d748c(0x262)][_0x3d4de7['rangeId']]['numberFormat'],_0x3ab3e2({'accessor':_0x422460,'document':_0x3c797e[_0x2d748c(0x142)],'unitId':_0x3c797e[_0x2d748c(0x257)],'trigger':_0x1ae193['id'],'rangeId':_0x3d4de7[_0x2d748c(0x25e)],'previousResource':_0x3c797e[_0x2d748c(0x1b1)],'nextResource':_0x499477,'cursorOffset':_0x37acc2[_0x2d748c(0x15a)]+0x1,'externalMutations':{}});}},_0x391537={'id':_0x4955bb(0x191),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x5026bf,_0x273aad)=>_0x1a1183(_0x5026bf,_0x273aad,'',_0x391537['id'])},_0x45e88e={'id':'docs-formula.command.replace-with-text','type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x426fc2,_0x40a0cf)=>_0x1a1183(_0x426fc2,_0x40a0cf,(_0x40a0cf==null?void 0x0:_0x40a0cf['text'])??'',_0x45e88e['id'])},_0x4dd97d={'id':_0x4955bb(0x1f7),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x15e17b,_0x14f8bf)=>{const _0x5773cc=_0x4955bb;if(!(_0x14f8bf!=null&&_0x14f8bf[_0x5773cc(0x25e)]))return!0x1;let _0x1d0f02=_0x3fdd9b(_0x15e17b,_0x14f8bf[_0x5773cc(0x257)],'');if(!_0x1d0f02)return!0x1;let _0x437d57=_0x15e17b['get'](_0x4738b9)[_0x5773cc(0x235)]({'unitId':_0x1d0f02['unitId'],'rangeId':_0x14f8bf[_0x5773cc(0x25e)]});return _0x437d57?_0x1a1183(_0x15e17b,_0x14f8bf,_0x437d57[_0x5773cc(0x256)],_0x4dd97d['id']):!0x1;}};function _0x1a1183(_0x5a4bff,_0xd7b843,_0x53b5e6,_0x430f10){const _0x3816d9=_0x4955bb;if(!(_0xd7b843!=null&&_0xd7b843['rangeId']))return!0x1;let _0x21b3e0=_0x3fdd9b(_0x5a4bff,_0xd7b843[_0x3816d9(0x257)],'');if(!_0x21b3e0)return!0x1;let _0x2f15a5=_0x17de84({'documentData':_0x21b3e0[_0x3816d9(0x188)],'resource':_0x21b3e0[_0x3816d9(0x1b1)],'rangeId':_0xd7b843[_0x3816d9(0x25e)],'text':_0x53b5e6});return _0x2f15a5?_0x3ab3e2({'accessor':_0x5a4bff,'document':_0x21b3e0[_0x3816d9(0x142)],'unitId':_0x21b3e0[_0x3816d9(0x257)],'trigger':_0x430f10,'rangeId':_0xd7b843[_0x3816d9(0x25e)],'previousResource':_0x21b3e0[_0x3816d9(0x1b1)],'nextResource':_0x2f15a5[_0x3816d9(0x27b)],'previousDocumentData':_0x21b3e0[_0x3816d9(0x188)],'nextDocumentData':_0x2f15a5[_0x3816d9(0x227)],'cursorOffset':_0x2f15a5[_0x3816d9(0x194)],'externalMutations':{}}):!0x1;}function _0x3fdd9b(_0x315e5d,_0x3fef3a,_0x1e6e82){const _0x21adc1=_0x4955bb;if(_0x1e6e82)return null;let _0x21f609=_0x315e5d[_0x21adc1(0x1b3)](_0xa600dd[_0x21adc1(0x156)]),_0x5036de=(_0x3fef3a?_0x21f609[_0x21adc1(0x1b4)](_0x3fef3a,_0xa600dd[_0x21adc1(0x276)][_0x21adc1(0x186)]):_0x21f609['getCurrentUnitOfType'](_0xa600dd[_0x21adc1(0x276)][_0x21adc1(0x186)]))??null;if(!_0x5036de)return null;let _0x2973cf=_0x5036de[_0x21adc1(0x205)](),_0x33bdee=_0x2973cf[_0x21adc1(0x1e9)];if(_0x2973cf[_0x21adc1(0x197)]||!_0x33bdee)return null;let _0x3081eb=_0x315e5d['get'](_0x5e0b6b);return _0x3081eb['getLoadError'](_0x5036de['getUnitId']())?null:{'document':_0x5036de,'body':_0x33bdee,'documentData':_0x2973cf,'model':_0x3081eb,'resource':_0x3081eb[_0x21adc1(0x1ce)](_0x5036de[_0x21adc1(0x242)]())??_0x3eac7f(),'unitId':_0x5036de[_0x21adc1(0x242)]()};}function _0x54e05c(_0x53a8f3,_0x2a27e9){const _0x3aaff7=_0x4955bb;var _0x38dba4;return(_0x38dba4=_0x53a8f3[_0x3aaff7(0x1b3)](_0x165f65[_0x3aaff7(0x1ac)])[_0x3aaff7(0x277)]({'subUnitId':_0x2a27e9,'unitId':_0x2a27e9}))==null?void 0x0:_0x38dba4[0x0];}function _0xb70f7e(_0x3385ec,_0x395a61,_0x44d111){const _0x107883=_0x4955bb;if((_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x1db)){var _0x2f03fc;let _0x438c04=((_0x2f03fc=_0x395a61[_0x107883(0x250)])==null?void 0x0:_0x2f03fc[_0x107883(0x17c)](_0x568faf=>_0x568faf['paragraphId']===_0x3385ec['paragraphId']))??[];if(_0x438c04[_0x107883(0x133)]!==0x1)return null;let _0x5c29c8=_0x438c04[0x0],_0x45e790=(0x0,_0xa600dd[_0x107883(0x177)])(_0x395a61,_0x5c29c8),_0x4836f6=_0x5c29c8[_0x107883(0x206)]-_0x45e790,_0xda30ac=_0x3385ec[_0x107883(0x263)]===_0x107883(0x171)?_0x4836f6:_0x3385ec[_0x107883(0x263)];if(!Number['isInteger'](_0xda30ac)||_0xda30ac<0x0||_0xda30ac>_0x4836f6)return null;let _0x3b088c=_0x45e790+_0xda30ac;return{'startOffset':_0x3b088c,'endOffset':_0x3b088c};}if((_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x136))return!Number['isInteger'](_0x3385ec['startOffset'])||!Number['isInteger'](_0x3385ec[_0x107883(0x131)])?null:{'startOffset':Math['min'](_0x3385ec[_0x107883(0x1dc)],_0x3385ec[_0x107883(0x131)]),'endOffset':Math['max'](_0x3385ec['startOffset'],_0x3385ec[_0x107883(0x131)])};let _0x524d93=(_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x16c)?_0x3385ec[_0x107883(0x16c)]:_0x44d111;return!_0x524d93||_0x524d93['segmentId']?null:{'startOffset':Math['min'](_0x524d93[_0x107883(0x1dc)],_0x524d93[_0x107883(0x131)]),'endOffset':Math[_0x107883(0x198)](_0x524d93['startOffset'],_0x524d93[_0x107883(0x131)])};}function _0x581a17(_0x3c9336,_0x16d9f1,_0x3f5ddd,_0x222db6){const _0x50b6e7=_0x4955bb;let _0x56df7b=_0x3c9336['get'](_0x5430b4[_0x50b6e7(0x27a)]),_0x3c374d=_0x3f5ddd[_0x50b6e7(0x12e)]('=')?_0x3f5ddd['slice'](0x1):_0x3f5ddd,_0x5d7b60=_0x56df7b[_0x50b6e7(0x175)](_0x3c374d);if(!_0x5d7b60)return null;let _0x2108da=_0x3c9336[_0x50b6e7(0x1b3)](_0x219b45[_0x50b6e7(0x143)]),_0x149412=(0x0,_0x219b45['resolveHostFormulaExternalReferences'])({'qualifiers':(0x0,_0x219b45[_0x50b6e7(0x1ab)])(_0x5d7b60),'explicitReferences':_0x222db6??[],'resolveBinding':_0x321995=>_0x2108da[_0x50b6e7(0x224)](_0x16d9f1,_0x321995)});return _0x149412[_0x50b6e7(0x1f5)]===_0x50b6e7(0x138)?_0x149412[_0x50b6e7(0x196)]:null;}function _0x101714(_0x17b255,_0x983ff4,_0x326702){const _0x500dc5=_0x4955bb;var _0x478955;let _0x4b8d58=(0x0,_0xa600dd[_0x500dc5(0x1d4)])(0x6);for(;_0x17b255!=null&&(_0x478955=_0x17b255['customRanges'])!=null&&_0x478955[_0x500dc5(0x226)](_0x64252a=>_0x64252a['rangeId']===_0x4b8d58)||_0x983ff4[_0x500dc5(0x213)](_0x326702,_0x4b8d58);)_0x4b8d58=(0x0,_0xa600dd[_0x500dc5(0x1d4)])(0x6);return _0x4b8d58;}function _0x31fb2b(_0x480764){try{return _0x59d760(_0x480764);}catch(_0x2b8457){if(_0x2b8457 instanceof _0x341a6d)return null;throw _0x2b8457;}}function _0x3f3e0f(_0x166843){const _0x295563=_0x4955bb;let _0x429ea6=_0x166843['previousDocumentData']&&_0x166843['nextDocumentData']?_0x471a0d(_0x166843[_0x295563(0x142)],_0x166843[_0x295563(0x257)],_0x166843['previousDocumentData'],_0x166843[_0x295563(0x227)],_0x166843[_0x295563(0x194)],_0x166843['trigger']):null;return _0x166843[_0x295563(0x25b)]&&_0x166843[_0x295563(0x227)]&&!_0x429ea6?null:{'documentRedo':_0x429ea6,'resourceRedo':{'id':_0x386db0['id'],'params':{'unitId':_0x166843[_0x295563(0x257)],'resource':_0x166843[_0x295563(0x27b)]}},'resourceUndo':{'id':_0x386db0['id'],'params':{'unitId':_0x166843[_0x295563(0x257)],'resource':_0x166843[_0x295563(0x1c0)]}}};}function _0xa96b2b(_0x2783a7,_0x43a41f,_0x52702b,_0x31c002){const _0x3aeba6=_0x4955bb;_0x31c002['pushUndoRedo']({'id':_0x2783a7['trigger']+':'+_0x2783a7['rangeId'],'unitID':_0x2783a7[_0x3aeba6(0x257)],'redoMutations':[..._0x2783a7[_0x3aeba6(0x18e)]['redoMutation']?[_0x2783a7[_0x3aeba6(0x18e)][_0x3aeba6(0x222)]]:[],..._0x43a41f['documentRedo']?[_0x43a41f[_0x3aeba6(0x170)]]:[],_0x43a41f[_0x3aeba6(0x1d8)]],'undoMutations':[_0x43a41f[_0x3aeba6(0x174)],..._0x52702b?[_0x52702b]:[],..._0x2783a7[_0x3aeba6(0x18e)]['undoMutation']?[_0x2783a7['externalMutations']['undoMutation']]:[]]});}function _0x3ab3e2(_0xeb625e){const _0x84ed72=_0x4955bb;let _0x4dd03d=_0xeb625e[_0x84ed72(0x223)]['get'](_0xa600dd[_0x84ed72(0x1a0)]),_0x9f1c1c=_0xeb625e['accessor'][_0x84ed72(0x1b3)](_0xa600dd['IUndoRedoService']),_0x6abcd8=_0xeb625e[_0x84ed72(0x223)][_0x84ed72(0x1b3)](_0x165f65['DocSelectionManagerService']),_0x440438=_0x3f3e0f(_0xeb625e);if(!_0x440438)return!0x1;let _0x2620b3=!0x1,_0x1ebfe5=null,_0x414891=!0x1;try{if(_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)]){if(!_0x4dd03d[_0x84ed72(0x229)](_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)]['id'],_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)][_0x84ed72(0x22e)]))return!0x1;_0x2620b3=!0x0;}if(_0x440438['documentRedo']){let _0x556600=_0x4dd03d['syncExecuteCommand'](_0x440438[_0x84ed72(0x170)]['id'],_0x440438[_0x84ed72(0x170)][_0x84ed72(0x22e)]);if(!_0x556600)return _0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),!0x1;_0x1ebfe5={'id':_0x165f65[_0x84ed72(0x12c)]['id'],'params':{..._0x556600,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x4dd03d[_0x84ed72(0x229)](_0x440438[_0x84ed72(0x1d8)]['id'],_0x440438[_0x84ed72(0x1d8)][_0x84ed72(0x22e)]))return _0x43be04(_0x4dd03d,_0x1ebfe5),_0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),!0x1;_0x414891=!0x0,_0xa96b2b(_0xeb625e,_0x440438,_0x1ebfe5,_0x9f1c1c);}catch(_0x12684b){throw _0x414891&&_0x4dd03d[_0x84ed72(0x229)](_0x440438[_0x84ed72(0x174)]['id'],_0x440438['resourceUndo'][_0x84ed72(0x22e)]),_0x43be04(_0x4dd03d,_0x1ebfe5),_0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),_0x12684b;}return _0x6abcd8[_0x84ed72(0x141)]([{'startOffset':_0xeb625e['cursorOffset'],'endOffset':_0xeb625e[_0x84ed72(0x194)],'segmentId':''}],{'unitId':_0xeb625e['unitId'],'subUnitId':_0xeb625e[_0x84ed72(0x257)]},!0x1,{[_0x165f65[_0x84ed72(0x219)]]:!0x0}),!0x0;}function _0x471a0d(_0x2f7859,_0x34ddd8,_0x46c228,_0x3b9096,_0x29b3b7,_0x3691d7){const _0x373095=_0x4955bb;let _0xc080ca=_0x4c4516(_0x46c228,_0x3b9096,(0x0,_0xa600dd[_0x373095(0x232)])(_0x2f7859,''));return _0xc080ca?{'id':_0x165f65['RichTextEditingMutation']['id'],'params':{'unitId':_0x34ddd8,'actions':_0xc080ca,'segmentId':'','textRanges':[{'startOffset':_0x29b3b7,'endOffset':_0x29b3b7,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x3691d7}}:null;}function _0x43be04(_0x27d0ca,_0x2b84c7){const _0x404d8e=_0x4955bb;_0x2b84c7&&_0x27d0ca[_0x404d8e(0x229)](_0x2b84c7['id'],_0x2b84c7[_0x404d8e(0x22e)]);}function _0x4ba4a5(_0x5e29fb,_0x3a29d7,_0x299fc0){const _0xc92843=_0x4955bb;_0x299fc0&&_0x3a29d7[_0xc92843(0x1f1)]&&_0x5e29fb[_0xc92843(0x229)](_0x3a29d7['undoMutation']['id'],_0x3a29d7[_0xc92843(0x1f1)][_0xc92843(0x22e)]);}function _0x4c4516(_0x4684a3,_0x2ccb1c,_0x4eb067){const _0xc19fa7=_0x4955bb;let _0x24fa6d=_0x4684a3[_0xc19fa7(0x1e9)],_0x2bac2d=_0x2ccb1c[_0xc19fa7(0x1e9)],_0x2aaa97=_0x44698c(_0x24fa6d==null?void 0x0:_0x24fa6d['dataStream'],_0x2bac2d==null?void 0x0:_0x2bac2d['dataStream']);if(!_0x2aaa97||!_0x2bac2d)return null;let _0x13ea50=new _0xa600dd[(_0xc19fa7(0x23c))]();return _0x13ea50[_0xc19fa7(0x157)](_0x2aaa97['start']),_0x2aaa97[_0xc19fa7(0x238)]>0x0&&_0x13ea50[_0xc19fa7(0x1ff)](_0x2aaa97[_0xc19fa7(0x238)],(0x0,_0xa600dd[_0xc19fa7(0x1bb)])(_0x2bac2d,_0x2aaa97[_0xc19fa7(0x13a)],_0x2aaa97[_0xc19fa7(0x13a)]+_0x2aaa97['insertLength'],!0x1)),_0x2aaa97['deleteLength']>0x0&&_0x13ea50[_0xc19fa7(0x176)](_0x2aaa97[_0xc19fa7(0x1a5)]),_0xa600dd[_0xc19fa7(0x183)][_0xc19fa7(0x1dd)]()['editOp'](_0x13ea50[_0xc19fa7(0x182)](),_0x4eb067);}function _0x44698c(_0x5a26b1,_0x430af0){const _0x482437=_0x4955bb;if(_0x5a26b1==null||_0x430af0==null||_0x5a26b1===_0x430af0)return null;let _0x4ab1a0=0x0;for(;_0x4ab1a0<_0x5a26b1[_0x482437(0x133)]&&_0x4ab1a0<_0x430af0['length']&&_0x5a26b1[_0x4ab1a0]===_0x430af0[_0x4ab1a0];)_0x4ab1a0+=0x1;let _0x10f08e=_0x5a26b1[_0x482437(0x133)],_0x2437d1=_0x430af0[_0x482437(0x133)];for(;_0x10f08e>_0x4ab1a0&&_0x2437d1>_0x4ab1a0&&_0x5a26b1[_0x10f08e-0x1]===_0x430af0[_0x2437d1-0x1];)--_0x10f08e,--_0x2437d1;return{'start':_0x4ab1a0,'deleteLength':_0x10f08e-_0x4ab1a0,'insertLength':_0x2437d1-_0x4ab1a0};}function _0x451b02(_0x3f7b1e){const _0x5c4577=_0x4955bb;return{'schemaVersion':0x1,'formulas':Object[_0x5c4577(0x228)](Object['entries'](_0x3f7b1e[_0x5c4577(0x262)])[_0x5c4577(0x139)](([_0x50c6af,_0x2eacec])=>[_0x50c6af,{..._0x2eacec,..._0x2eacec[_0x5c4577(0x265)]?{'numberFormat':{..._0x2eacec[_0x5c4577(0x265)]}}:null,..._0x2eacec[_0x5c4577(0x16d)]?{'lastValue':{..._0x2eacec['lastValue']}}:null}]))};}let _0x55cec0=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0x2ccad2,_0x151aff,_0x434c31,_0x47b8ec){const _0x58d9c1=_0x4955bb;super(),this['_instanceService']=_0x2ccad2,this['_commandService']=_0x151aff,this[_0x58d9c1(0x18b)]=_0x434c31,this[_0x58d9c1(0x24c)]=_0x47b8ec,_0x2567b3(this,_0x58d9c1(0x195),new Set()),_0x2567b3(this,_0x58d9c1(0x166),!0x1),_0x2567b3(this,_0x58d9c1(0x244),!0x1),this['_instanceService'][_0x58d9c1(0x210)](_0xa600dd[_0x58d9c1(0x276)][_0x58d9c1(0x186)])[_0x58d9c1(0x1c1)](_0x3348cf=>this[_0x58d9c1(0x24c)][_0x58d9c1(0x1b6)](_0x3348cf)),this['disposeWithMe'](this[_0x58d9c1(0x18b)][_0x58d9c1(0x20d)][_0x58d9c1(0x1e5)](({unitId:_0x922bcb})=>this[_0x58d9c1(0x14b)](_0x922bcb))),this['disposeWithMe'](this['_instanceService'][_0x58d9c1(0x15d)][_0x58d9c1(0x1e5)](({unit:_0x3ef350})=>{const _0x24fb8f=_0x58d9c1;_0x3ef350['type']===_0xa600dd['UniverInstanceType']['UNIVER_DOC']&&this[_0x24fb8f(0x146)](_0x3ef350[_0x24fb8f(0x242)]());})),this[_0x58d9c1(0x13e)](this['_instanceService']['unitDisposed$'][_0x58d9c1(0x1e5)](_0x2a0a3b=>{const _0x1305bf=_0x58d9c1;this[_0x1305bf(0x24c)][_0x1305bf(0x251)](_0x2a0a3b['getUnitId']());})),this[_0x58d9c1(0x13e)](this[_0x58d9c1(0x246)][_0x58d9c1(0x267)](_0x18318b=>{const _0x1b941d=_0x58d9c1;if(_0x18318b['id']===_0x165f65[_0x1b941d(0x12c)]['id']&&_0x137068(_0x18318b[_0x1b941d(0x22e)])){let _0x2fa126=_0x18318b[_0x1b941d(0x22e)];_0x2fa126[_0x1b941d(0x1b2)]||this[_0x1b941d(0x14b)](_0x2fa126[_0x1b941d(0x257)]);}}));}[_0x4955bb(0x23a)](){const _0x4aab53=_0x4955bb;this['_isDisposed']=!0x0,super[_0x4aab53(0x23a)]();}[_0x4955bb(0x146)](_0x118721){const _0x572fcc=_0x4955bb;this[_0x572fcc(0x195)][_0x572fcc(0x24f)](_0x118721),!this[_0x572fcc(0x166)]&&(this['_syncScheduled']=!0x0,queueMicrotask(()=>{const _0x3c60a7=_0x572fcc;if(this['_syncScheduled']=!0x1,this[_0x3c60a7(0x244)])return;let _0x1be45a=Array[_0x3c60a7(0x1ba)](this[_0x3c60a7(0x195)]);this[_0x3c60a7(0x195)][_0x3c60a7(0x161)](),_0x1be45a[_0x3c60a7(0x1c1)](_0x53c2ee=>this['_syncUnit'](_0x53c2ee));}));}[_0x4955bb(0x14b)](_0x42ed45){const _0x1381bc=_0x4955bb;let _0x15f4bd=this[_0x1381bc(0x243)]['getUnit'](_0x42ed45,_0xa600dd[_0x1381bc(0x276)][_0x1381bc(0x186)]);_0x15f4bd&&this['_service'][_0x1381bc(0x1b6)](_0x15f4bd);}};_0x55cec0=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x156)]),_0x43cc7d(0x1,_0xa600dd[_0x4955bb(0x1a0)]),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x5e0b6b)),_0x43cc7d(0x3,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9))],_0x55cec0);function _0x137068(_0x39c493){const _0x4c5144=_0x4955bb;return typeof _0x39c493==_0x4c5144(0x148)&&!!_0x39c493&&'unitId'in _0x39c493&&typeof _0x39c493[_0x4c5144(0x257)]=='string'&&(!(_0x4c5144(0x1b2)in _0x39c493)||_0x39c493['segmentId']===void 0x0||typeof _0x39c493['segmentId']=='string');}let _0xb875c5=class extends _0xa600dd['Disposable']{constructor(_0x5051f4,_0x3fd442){const _0xf75d36=_0x4955bb;super(),this[_0xf75d36(0x15f)]=_0x5051f4,this[_0xf75d36(0x190)]=_0x3fd442,this[_0xf75d36(0x13e)](this[_0xf75d36(0x15f)][_0xf75d36(0x199)]({'pluginName':_0x37b0b3,'businesses':[_0xa600dd[_0xf75d36(0x276)]['UNIVER_DOC']],'toJson':_0x42050b=>JSON[_0xf75d36(0x1c6)](this[_0xf75d36(0x190)][_0xf75d36(0x182)](_0x42050b)),'parseJson':_0x4879c2=>JSON['parse'](_0x4879c2),'onLoad':(_0x205ab5,_0x27deac)=>{const _0x1d67b0=_0xf75d36;this[_0x1d67b0(0x190)][_0x1d67b0(0x209)](_0x205ab5,_0x27deac);},'onUnLoad':_0x42dd1a=>this[_0xf75d36(0x190)][_0xf75d36(0x1fe)](_0x42dd1a)}));}};_0xb875c5=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x1fd)]),_0x43cc7d(0x1,(0x0,_0xa600dd['Inject'])(_0x5e0b6b))],_0xb875c5);var _0x44e9d7='@univerjs-pro/docs-formula',_0x4ff9a6=_0x4955bb(0x217);let _0x4da552={},_0x5e7a86=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0xa8fd43,_0x30fe50,_0x16cf06){const _0x2951ee=_0x4955bb;super(),this[_0x2951ee(0x12b)]=_0xa8fd43,this[_0x2951ee(0x26e)]=_0x30fe50,this[_0x2951ee(0x13e)](_0x16cf06['register']({'resolve':(_0xb2ba0e,_0x5499b2)=>{const _0x2017a3=_0x2951ee;var _0x190540;return((_0x190540=_0x5499b2[_0x2017a3(0x164)])==null?void 0x0:_0x190540[_0x2017a3(0x17c)](_0xac054f)[_0x2017a3(0x139)](_0x13d789=>({'startOffset':_0x13d789[_0x2017a3(0x206)],'endOffset':_0x13d789[_0x2017a3(0x15a)]+0x1,'text':this[_0x2017a3(0x1de)](_0xb2ba0e,_0x13d789[_0x2017a3(0x25e)])})))??[];}})),this[_0x2951ee(0x13e)](this[_0x2951ee(0x26e)]['presentationChanged$']['subscribe'](({unitId:_0xf4a26a})=>{_0x16cf06['notifyTextChanged'](_0xf4a26a);}));}[_0x4955bb(0x1de)](_0x5f38fb,_0x216402){const _0x5633e3=_0x4955bb;var _0x302abe;return((_0x302abe=this[_0x5633e3(0x26e)][_0x5633e3(0x235)]({'unitId':_0x5f38fb,'rangeId':_0x216402}))==null?void 0x0:_0x302abe['text'])??'';}[_0x4955bb(0x130)](_0x311b8f,_0x5d312e,_0x21810c){const _0x20ec44=_0x4955bb;var _0x229dc9;let _0x235525=this[_0x20ec44(0x12b)][_0x20ec44(0x1b4)](_0x311b8f,_0xa600dd[_0x20ec44(0x276)]['UNIVER_DOC']),_0x1ed788=_0x235525==null?void 0x0:_0x235525[_0x20ec44(0x158)]();if(!_0x1ed788)return'';let _0x235a86=_0x1ed788['dataStream'][_0x20ec44(0x19c)](_0x5d312e,_0x21810c),_0x682329=((_0x229dc9=_0x1ed788['customRanges'])==null?void 0x0:_0x229dc9[_0x20ec44(0x17c)](_0x2317cb=>_0xac054f(_0x2317cb)&&_0x2317cb['startIndex']>=_0x5d312e&&_0x2317cb[_0x20ec44(0x15a)]<_0x21810c)[_0x20ec44(0x1af)]((_0x58f59e,_0x1ef8d8)=>_0x1ef8d8[_0x20ec44(0x206)]-_0x58f59e[_0x20ec44(0x206)]))??[];for(let _0x3773f9 of _0x682329){let _0x3b8b43=_0x3773f9[_0x20ec44(0x206)]-_0x5d312e,_0x28d1da=_0x3773f9[_0x20ec44(0x15a)]-_0x5d312e+0x1;_0x235a86=''+_0x235a86['slice'](0x0,_0x3b8b43)+this[_0x20ec44(0x1de)](_0x311b8f,_0x3773f9['rangeId'])+_0x235a86['slice'](_0x28d1da);}return _0x235a86;}[_0x4955bb(0x1ef)](_0x1c7c81){return _0x59a4e8(_0x1c7c81);}['degradeBody'](_0x585a36,_0x523287,_0x354070={}){const _0x2eced2=_0x4955bb;var _0x5eadcf;return _0x3220ee({'id':_0x585a36,'body':_0x523287,'documentStyle':{}},(((_0x5eadcf=_0x523287['customRanges'])==null?void 0x0:_0x5eadcf[_0x2eced2(0x17c)](_0xac054f))??[])[_0x2eced2(0x139)](_0x5091c1=>({'rangeId':_0x5091c1[_0x2eced2(0x25e)],'text':_0x354070[_0x5091c1[_0x2eced2(0x25e)]]??this[_0x2eced2(0x1de)](_0x585a36,_0x5091c1[_0x2eced2(0x25e)])})))[_0x2eced2(0x1e9)]??{'dataStream':''};}};_0x5e7a86=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x156)]),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9)),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x165f65[_0x4955bb(0x1ca)]))],_0x5e7a86);function _0x59a4e8(_0x1278b0){const _0x12c4fa=_0x4955bb;var _0x41f863,_0x1a8c1d;let _0x2736eb=_0x3aff5b(_0x1278b0),_0x4b00e7=_0x3220ee(_0x1278b0,(((_0x41f863=_0x1278b0['body'])==null||(_0x41f863=_0x41f863['customRanges'])==null?void 0x0:_0x41f863[_0x12c4fa(0x17c)](_0xac054f))??[])['map'](_0x1aed7c=>({'rangeId':_0x1aed7c[_0x12c4fa(0x25e)],'text':_0x1cbdb2(_0x2736eb==null?void 0x0:_0x2736eb[_0x12c4fa(0x262)][_0x1aed7c[_0x12c4fa(0x25e)]])})));return _0x4b00e7[_0x12c4fa(0x17e)]=(_0x1a8c1d=_0x4b00e7[_0x12c4fa(0x17e)])==null?void 0x0:_0x1a8c1d[_0x12c4fa(0x17c)](_0xfd520=>_0xfd520[_0x12c4fa(0x236)]!==_0x37b0b3),_0x4b00e7;}function _0x3aff5b(_0x3969ef){const _0x55d235=_0x4955bb;var _0x177da9;let _0x2d88fb=(_0x177da9=_0x3969ef[_0x55d235(0x17e)])==null||(_0x177da9=_0x177da9['find'](_0x410ca0=>_0x410ca0[_0x55d235(0x236)]===_0x55d235(0x1e2)))==null?void 0x0:_0x177da9[_0x55d235(0x1f0)];if(_0x2d88fb)try{let _0x505606=JSON[_0x55d235(0x167)](_0x2d88fb);return _0x5010f7(_0x505606)?_0x505606:void 0x0;}catch{return;}}function _0x1cbdb2(_0x53dbcf){const _0x30c88a=_0x4955bb;return _0x53dbcf?(0x0,_0x219b45[_0x30c88a(0x1fc)])({'lastValue':_0x53dbcf['lastValue'],'numberFormat':_0x53dbcf[_0x30c88a(0x265)]})[_0x30c88a(0x256)]:'';}let _0x57628b=class extends _0xa600dd['Disposable']{constructor(_0x11c670,_0x5ad665,_0x5afcc0){const _0x3e403a=_0x4955bb;super(),this[_0x3e403a(0x26e)]=_0x11c670,this[_0x3e403a(0x266)]=_0x5ad665,this[_0x3e403a(0x13e)](_0x5afcc0[_0x3e403a(0x264)](this));}[_0x4955bb(0x1c3)](_0x1b1562){const _0x2de7e2=_0x4955bb;let _0x4cd4d6=new Map();for(let _0x21f104 of this[_0x2de7e2(0x26e)][_0x2de7e2(0x20b)]()){var _0x4f057e;if(!this[_0x2de7e2(0x266)]['assess'](_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x1f6)],_0x21f104[_0x2de7e2(0x14a)])[_0x2de7e2(0x20a)])continue;let _0x5196e8=(0x0,_0x219b45[_0x2de7e2(0x203)])(_0x21f104[_0x2de7e2(0x14a)]),_0x4373a2=_0x5196e8?(0x0,_0x219b45[_0x2de7e2(0x1a6)])(_0x5196e8):null;if(!_0x4373a2||_0x7aa200(_0x21f104['config'][_0x2de7e2(0x16d)],_0x4373a2))continue;let _0x3a5c73=_0x4cd4d6[_0x2de7e2(0x1b3)](_0x21f104[_0x2de7e2(0x225)][_0x2de7e2(0x257)])??[];_0x3a5c73[_0x2de7e2(0x16f)]({'rangeId':_0x21f104[_0x2de7e2(0x225)]['rangeId'],'expectedFormula':_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x1f6)],'expectedNumberFormat':(_0x4f057e=_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x265)])==null?void 0x0:_0x4f057e[_0x2de7e2(0x1f9)],'expectedReferenceRevision':_0x21f104['referenceRevision'],'lastValue':_0x4373a2}),_0x4cd4d6[_0x2de7e2(0x1c2)](_0x21f104[_0x2de7e2(0x225)]['unitId'],_0x3a5c73);}return Array[_0x2de7e2(0x1ba)](_0x4cd4d6,([_0xbb1690,_0x15f56b])=>({'id':_0xd3745f['id'],'params':{'unitId':_0xbb1690,'updates':_0x15f56b}}));}};_0x57628b=_0x349b98([_0x43cc7d(0x0,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9)),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x219b45[_0x4955bb(0x1f3)])),_0x43cc7d(0x2,(0x0,_0xa600dd['Inject'])(_0x219b45[_0x4955bb(0x134)]))],_0x57628b);function _0x7aa200(_0xd1947a,_0x354cbb){const _0x1e1c62=_0x4955bb;return(_0xd1947a==null?void 0x0:_0xd1947a['v'])===_0x354cbb['v']&&(_0xd1947a==null?void 0x0:_0xd1947a['t'])===_0x354cbb['t']&&(_0xd1947a==null?void 0x0:_0xd1947a[_0x1e1c62(0x1f9)])===_0x354cbb[_0x1e1c62(0x1f9)];}let _0x52f923=class extends _0xa600dd[_0x4955bb(0x221)]{constructor(_0x113045=_0x4da552,_0x2dc434,_0x550a0f,_0x9e3475){const _0x4563e9=_0x4955bb;super(),this[_0x4563e9(0x15b)]=_0x113045,this[_0x4563e9(0x24b)]=_0x2dc434,this[_0x4563e9(0x246)]=_0x550a0f,this[_0x4563e9(0x14e)]=_0x9e3475;let {..._0x466444}=(0x0,_0xa600dd['merge'])({},_0x4da552,this['_config']);this['_configService'][_0x4563e9(0x1da)](_0x4563e9(0x249),_0x466444);}[_0x4955bb(0x163)](){const _0x405433=_0x4955bb;this[_0x405433(0x24b)][_0x405433(0x24f)]([_0x5e0b6b]),this[_0x405433(0x24b)][_0x405433(0x24f)]([_0x4738b9]),this[_0x405433(0x24b)][_0x405433(0x24f)]([_0xb875c5]),this[_0x405433(0x24b)]['add']([_0x55cec0]),this['_injector']['add']([_0x57628b]),this['_injector'][_0x405433(0x24f)]([_0x5e7a86]),(0x0,_0xa600dd[_0x405433(0x22f)])(this['_injector'],[[_0x5e0b6b],[_0xb875c5],[_0x55cec0],[_0x57628b],[_0x5e7a86]]),[_0x2aab19,_0x152f9d,_0x386db0,_0xd3745f,_0x2ec352,_0x578b02,_0x1ae193,_0x391537,_0x45e88e,_0x4dd97d][_0x405433(0x1c1)](_0x3bb144=>this[_0x405433(0x13e)](this[_0x405433(0x246)][_0x405433(0x21c)](_0x3bb144)));}};_0x2567b3(_0x52f923,_0x4955bb(0x1a7),_0x37b0b3),_0x2567b3(_0x52f923,_0x4955bb(0x153),_0x44e9d7),_0x2567b3(_0x52f923,_0x4955bb(0x12f),_0x4ff9a6),_0x2567b3(_0x52f923,_0x4955bb(0x27d),_0xa600dd['UniverInstanceType']['UNIVER_DOC']),_0x52f923=_0x349b98([(0x0,_0xa600dd[_0x4955bb(0x274)])(_0x5f572e[_0x4955bb(0x21a)],_0x219b45['UniverProFormulaEnginePlugin'],_0x165f65[_0x4955bb(0x132)]),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0xa600dd[_0x4955bb(0x1b8)])),_0x43cc7d(0x2,_0xa600dd[_0x4955bb(0x1a0)]),_0x43cc7d(0x3,_0xa600dd[_0x4955bb(0x1e8)])],_0x52f923),_0x5c28cd[_0x4955bb(0x271)]=_0x4dd97d,_0x5c28cd[_0x4955bb(0x1df)]=_0x2846a2,_0x5c28cd[_0x4955bb(0x240)]='',_0x5c28cd[_0x4955bb(0x1e2)]=_0x37b0b3,_0x5c28cd[_0x4955bb(0x193)]=0x1,Object[_0x4955bb(0x22a)](_0x5c28cd,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x5e7a86;}}),Object[_0x4955bb(0x22a)](_0x5c28cd,_0x4955bb(0x1e1),{'enumerable':!0x0,'get':function(){return _0x55cec0;}}),_0x5c28cd[_0x4955bb(0x135)]=_0x5e0b6b,Object[_0x4955bb(0x22a)](_0x5c28cd,'DocFormulaResourceController',{'enumerable':!0x0,'get':function(){return _0xb875c5;}}),_0x5c28cd[_0x4955bb(0x185)]=_0xb37966,Object['defineProperty'](_0x5c28cd,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x4738b9;}}),_0x5c28cd['InsertDocFormulaCommand']=_0x2ec352,_0x5c28cd[_0x4955bb(0x208)]=_0x341a6d,_0x5c28cd[_0x4955bb(0x1cf)]=_0x391537,_0x5c28cd[_0x4955bb(0x18c)]=_0x152f9d,_0x5c28cd[_0x4955bb(0x268)]=_0x45e88e,_0x5c28cd[_0x4955bb(0x18f)]=_0xd3745f,_0x5c28cd[_0x4955bb(0x22d)]=_0x2aab19,_0x5c28cd[_0x4955bb(0x18a)]=_0x1ae193,_0x5c28cd['SetDocFormulaResourceMutation']=_0x386db0,Object[_0x4955bb(0x22a)](_0x5c28cd,_0x4955bb(0x180),{'enumerable':!0x0,'get':function(){return _0x52f923;}}),_0x5c28cd[_0x4955bb(0x237)]=_0x578b02,_0x5c28cd[_0x4955bb(0x1d2)]=_0x1461cd,_0x5c28cd[_0x4955bb(0x1ae)]=_0x59d760,_0x5c28cd[_0x4955bb(0x24e)]=_0x17de84,_0x5c28cd[_0x4955bb(0x23f)]=_0x382cd5,_0x5c28cd[_0x4955bb(0x22c)]=_0x3eac7f,_0x5c28cd[_0x4955bb(0x25c)]=_0x59a4e8,_0x5c28cd[_0x4955bb(0x173)]=_0x274b50,_0x5c28cd[_0x4955bb(0x21e)]=_0x3cd1eb,_0x5c28cd['isDocFormulaRange']=_0xac054f,_0x5c28cd[_0x4955bb(0x172)]=_0x5010f7,_0x5c28cd['isFormulaLastValue']=_0xce23f5;}));
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.2.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.2.0",
65
+ "@univerjs-pro/license": "1.2.0",
66
+ "@univerjs/core": "1.2.0",
67
+ "@univerjs/docs": "1.2.0",
68
+ "@univerjs/engine-formula": "1.2.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.2.0",
72
+ "@univerjs/engine-render": "1.2.0",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^5.0.4"