@univerjs-pro/docs-code 1.3.1 → 1.5.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/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x350739,_0x548912){var _0x253db6=_0x15b8,_0x3ab1a2=_0x350739();while(!![]){try{var _0x2b7656=-parseInt(_0x253db6(0x11e))/0x1*(parseInt(_0x253db6(0x13e))/0x2)+parseInt(_0x253db6(0x149))/0x3+parseInt(_0x253db6(0x164))/0x4+-parseInt(_0x253db6(0x135))/0x5+-parseInt(_0x253db6(0x14d))/0x6*(parseInt(_0x253db6(0x144))/0x7)+-parseInt(_0x253db6(0x155))/0x8+parseInt(_0x253db6(0x11c))/0x9*(parseInt(_0x253db6(0x158))/0xa);if(_0x2b7656===_0x548912)break;else _0x3ab1a2['push'](_0x3ab1a2['shift']());}catch(_0x44dfc1){_0x3ab1a2['push'](_0x3ab1a2['shift']());}}}(_0x1352,0x455e3),function(_0x30c1e5,_0x30bd5f){var _0x1cc198=_0x15b8;typeof exports==_0x1cc198(0x121)&&typeof module<'u'?_0x30bd5f(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x1cc198(0x131)&&define[_0x1cc198(0x136)]?define([_0x1cc198(0x118),_0x1cc198(0x11f),_0x1cc198(0x138),_0x1cc198(0x139)],_0x30bd5f):(_0x30c1e5=typeof globalThis<'u'?globalThis:_0x30c1e5||self,_0x30bd5f(_0x30c1e5['UniverProDocsCodeFacade']={},_0x30c1e5[_0x1cc198(0x124)],_0x30c1e5[_0x1cc198(0x11d)],_0x30c1e5[_0x1cc198(0x15e)]));}(this,function(_0x3035c6,_0x585c90,_0x1dad66,_0x198ccf){var _0x4cde46=_0x15b8;Object[_0x4cde46(0x141)](_0x3035c6,Symbol[_0x4cde46(0x117)],{'value':_0x4cde46(0x140)});function _0x423fe5(_0x2a94ac){'@babel/helpers - typeof';var _0x274108=_0x4cde46;return _0x423fe5=typeof Symbol=='function'&&typeof Symbol[_0x274108(0x14e)]==_0x274108(0x153)?function(_0x1203c7){return typeof _0x1203c7;}:function(_0x9f10c){var _0x8c51ae=_0x274108;return _0x9f10c&&typeof Symbol==_0x8c51ae(0x131)&&_0x9f10c[_0x8c51ae(0x126)]===Symbol&&_0x9f10c!==Symbol[_0x8c51ae(0x12c)]?_0x8c51ae(0x153):typeof _0x9f10c;},_0x423fe5(_0x2a94ac);}function _0x48ffaa(_0x315b25,_0x27e26f){var _0x288bf2=_0x4cde46;if(_0x423fe5(_0x315b25)!=_0x288bf2(0x121)||!_0x315b25)return _0x315b25;var _0x4a48d0=_0x315b25[Symbol[_0x288bf2(0x15d)]];if(_0x4a48d0!==void 0x0){var _0x24cd47=_0x4a48d0[_0x288bf2(0x156)](_0x315b25,_0x27e26f||_0x288bf2(0x15a));if(_0x423fe5(_0x24cd47)!=_0x288bf2(0x121))return _0x24cd47;throw TypeError(_0x288bf2(0x171));}return(_0x27e26f==='string'?String:Number)(_0x315b25);}function _0xf9e028(_0x346769){var _0x1dec10=_0x4cde46,_0x10cb50=_0x48ffaa(_0x346769,_0x1dec10(0x157));return _0x423fe5(_0x10cb50)=='symbol'?_0x10cb50:_0x10cb50+'';}function _0x18c7c3(_0x17ac97,_0x46b78c,_0x436be1){return(_0x46b78c=_0xf9e028(_0x46b78c))in _0x17ac97?Object['defineProperty'](_0x17ac97,_0x46b78c,{'value':_0x436be1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17ac97[_0x46b78c]=_0x436be1,_0x17ac97;}function _0x244dce(_0x325b1d,_0x5146fb){return function(_0x4c3d31,_0x9c16cc){_0x5146fb(_0x4c3d31,_0x9c16cc,_0x325b1d);};}function _0x2b8e6f(_0x5f5752,_0x38b9ea,_0x384323,_0x4f81d4){var _0x139d7f=_0x4cde46,_0x2f8f95=arguments[_0x139d7f(0x143)],_0x2966bc=_0x2f8f95<0x3?_0x38b9ea:_0x4f81d4===null?_0x4f81d4=Object[_0x139d7f(0x125)](_0x38b9ea,_0x384323):_0x4f81d4,_0xb1a71f;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x2966bc=Reflect[_0x139d7f(0x160)](_0x5f5752,_0x38b9ea,_0x384323,_0x4f81d4);else{for(var _0x18d3a0=_0x5f5752[_0x139d7f(0x143)]-0x1;_0x18d3a0>=0x0;_0x18d3a0--)(_0xb1a71f=_0x5f5752[_0x18d3a0])&&(_0x2966bc=(_0x2f8f95<0x3?_0xb1a71f(_0x2966bc):_0x2f8f95>0x3?_0xb1a71f(_0x38b9ea,_0x384323,_0x2966bc):_0xb1a71f(_0x38b9ea,_0x384323))||_0x2966bc);}return _0x2f8f95>0x3&&_0x2966bc&&Object[_0x139d7f(0x141)](_0x38b9ea,_0x384323,_0x2966bc),_0x2966bc;}let _0x25ddc7=class{constructor(_0xa3f898,_0x311bdf,_0x26043c){var _0x344f3f=_0x4cde46;this[_0x344f3f(0x15c)]=_0xa3f898,this[_0x344f3f(0x11a)]=_0x311bdf,this['_injector']=_0x26043c,_0x18c7c3(this,_0x344f3f(0x12e),void 0x0),this['_unitId']=this[_0x344f3f(0x15c)][_0x344f3f(0x129)]();}[_0x4cde46(0x129)](){var _0x6afefb=_0x4cde46;return this[_0x6afefb(0x11a)];}['getRange'](){var _0x4cf352=_0x4cde46;let _0x158c2d=this[_0x4cf352(0x154)]();return _0x158c2d?{'blockId':_0x158c2d[_0x4cf352(0x13a)],'endIndex':_0x158c2d[_0x4cf352(0x170)],'startIndex':_0x158c2d['startIndex']}:null;}[_0x4cde46(0x167)](){var _0xbff262=_0x4cde46,_0x2f57c6;let _0x38270f=this['_getBlockRange'](),_0x3e079a=(_0x2f57c6=this[_0xbff262(0x122)]()['body'])==null?void 0x0:_0x2f57c6[_0xbff262(0x15f)];return!_0x38270f||!_0x3e079a?'':_0x214a03(_0x3e079a[_0xbff262(0x12b)](_0x38270f[_0xbff262(0x169)]+0x1,_0x38270f[_0xbff262(0x170)]));}['describe'](){var _0x186839=_0x4cde46;let _0x161521=this[_0x186839(0x162)]();return _0x161521?{..._0x161521,'config':this[_0x186839(0x16b)](),'text':this[_0x186839(0x167)](),'type':_0x1dad66['DocumentBlockRangeType'][_0x186839(0x14c)]}:null;}['getConfig'](){var _0x574732=_0x4cde46;let _0x126f77=this['_injector'][_0x574732(0x16a)](_0x585c90[_0x574732(0x145)]);return(0x0,_0x585c90[_0x574732(0x128)])(_0x126f77[_0x574732(0x13c)](this[_0x574732(0x12e)],this['_blockId']));}[_0x4cde46(0x127)](_0x516b68){var _0x115a85=_0x4cde46;return this['_injector'][_0x115a85(0x16a)](_0x1dad66[_0x115a85(0x12f)])[_0x115a85(0x13d)](_0x585c90[_0x115a85(0x142)]['id'],{'blockId':this[_0x115a85(0x11a)],'config':_0x516b68[_0x115a85(0x123)],'unitId':this[_0x115a85(0x12e)]});}['unwrap'](){var _0x22b4c4=_0x4cde46;return this[_0x22b4c4(0x172)][_0x22b4c4(0x16a)](_0x1dad66[_0x22b4c4(0x12f)])[_0x22b4c4(0x13d)](_0x585c90['DocsCodeUnwrapCommand']['id'],{'blockId':this[_0x22b4c4(0x11a)],'unitId':this[_0x22b4c4(0x12e)]});}[_0x4cde46(0x16d)](){var _0x2be9ff=_0x4cde46;return this[_0x2be9ff(0x172)]['get'](_0x1dad66[_0x2be9ff(0x12f)])[_0x2be9ff(0x13d)](_0x585c90['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x2be9ff(0x11a)],'unitId':this['_unitId']});}[_0x4cde46(0x154)](){var _0x1f0f6c=_0x4cde46,_0xabc66c;return((_0xabc66c=this[_0x1f0f6c(0x122)]()[_0x1f0f6c(0x163)])==null||(_0xabc66c=_0xabc66c[_0x1f0f6c(0x13b)])==null?void 0x0:_0xabc66c[_0x1f0f6c(0x15b)](_0x4b0801=>_0x4b0801[_0x1f0f6c(0x13a)]===this[_0x1f0f6c(0x11a)]&&_0x4b0801[_0x1f0f6c(0x148)]===_0x1dad66[_0x1f0f6c(0x14b)][_0x1f0f6c(0x14c)]))??null;}[_0x4cde46(0x122)](){var _0xe16fbf=_0x4cde46;return this[_0xe16fbf(0x15c)][_0xe16fbf(0x152)]();}};_0x25ddc7=_0x2b8e6f([_0x244dce(0x2,(0x0,_0x1dad66[_0x4cde46(0x134)])(_0x1dad66[_0x4cde46(0x165)]))],_0x25ddc7);function _0x214a03(_0x3b4842){var _0x47b218=_0x4cde46;return Array[_0x47b218(0x146)](_0x3b4842)[_0x47b218(0x159)](_0x485878=>_0x485878===_0x1dad66[_0x47b218(0x173)][_0x47b218(0x166)]?'\x0a':_0x485878)['filter'](_0xb4091b=>_0xb4091b!==_0x1dad66[_0x47b218(0x173)][_0x47b218(0x130)]&&_0xb4091b!==_0x1dad66[_0x47b218(0x173)]['BLOCK_END']&&_0xb4091b!==_0x1dad66[_0x47b218(0x173)][_0x47b218(0x120)])[_0x47b218(0x16c)]('')[_0x47b218(0x14f)](/\n$/,'');}var _0x5bf339=class extends _0x198ccf[_0x4cde46(0x14a)]{[_0x4cde46(0x13f)](){var _0x4ba1fe=_0x4cde46;return this[_0x4ba1fe(0x151)]()[_0x4ba1fe(0x132)](_0x4e119e=>_0x4e119e['blockType']===_0x1dad66[_0x4ba1fe(0x14b)][_0x4ba1fe(0x14c)])[_0x4ba1fe(0x159)](_0x5ca10a=>this[_0x4ba1fe(0x161)](_0x5ca10a['blockId']));}[_0x4cde46(0x119)](_0x5c3198){var _0x22920c=_0x4cde46;return this[_0x22920c(0x151)]()[_0x22920c(0x133)](_0x132187=>_0x132187['blockId']===_0x5c3198&&_0x132187[_0x22920c(0x148)]===_0x1dad66[_0x22920c(0x14b)][_0x22920c(0x14c)])?this['_createFDocumentCode'](_0x5c3198):null;}[_0x4cde46(0x168)](_0x329847){var _0x3be1ed=_0x4cde46;let _0x458d10=this['_getBlockRanges']()['find'](_0xe7703b=>_0xe7703b[_0x3be1ed(0x148)]===_0x1dad66[_0x3be1ed(0x14b)][_0x3be1ed(0x14c)]&&_0xe7703b[_0x3be1ed(0x169)]<=_0x329847&&_0x329847<=_0xe7703b[_0x3be1ed(0x170)]);return _0x458d10?this[_0x3be1ed(0x161)](_0x458d10['blockId']):null;}[_0x4cde46(0x137)](_0x1a55e6){var _0x2cf910=_0x4cde46;return this[_0x2cf910(0x12a)](_0x1a55e6)[0x0]??null;}[_0x4cde46(0x12a)](_0x1f8cc5){var _0x2ce014=_0x4cde46;let _0x1e6641=typeof _0x1f8cc5==_0x2ce014(0x157)?{'text':_0x1f8cc5}:_0x1f8cc5;return this['getCodes']()[_0x2ce014(0x132)](_0x1c3a2e=>!(_0x1e6641[_0x2ce014(0x13a)]&&_0x1c3a2e['getId']()!==_0x1e6641[_0x2ce014(0x13a)]||_0x1e6641[_0x2ce014(0x16e)]&&!_0x1c3a2e[_0x2ce014(0x167)]()[_0x2ce014(0x12d)](_0x1e6641[_0x2ce014(0x16e)])));}[_0x4cde46(0x16f)](_0x537e71={},_0x2ba30a={}){var _0x4cf393=_0x4cde46;let _0x43722e=this['_injector'][_0x4cf393(0x16a)](_0x1dad66['ICommandService']),_0x5922d8=(0x0,_0x198ccf[_0x4cf393(0x150)])(_0x537e71)?{..._0x2ba30a,..._0x537e71[_0x4cf393(0x162)]()}:_0x537e71,_0x577311=_0x5922d8[_0x4cf393(0x13a)]??(0x0,_0x1dad66['generateRandomId'])(0x6);return _0x43722e[_0x4cf393(0x13d)](_0x585c90[_0x4cf393(0x11b)]['id'],{..._0x5922d8,'blockId':_0x577311,'unitId':this[_0x4cf393(0x129)]()})?this['getCode'](_0x577311):null;}[_0x4cde46(0x151)](){var _0x1d84f6=_0x4cde46,_0x2e252d;return((_0x2e252d=this[_0x1d84f6(0x152)]()['body'])==null?void 0x0:_0x2e252d[_0x1d84f6(0x13b)])??[];}['_createFDocumentCode'](_0x54c378){var _0x4e4c4f=_0x4cde46;return this[_0x4e4c4f(0x172)]['createInstance'](_0x25ddc7,this,_0x54c378);}};_0x198ccf[_0x4cde46(0x14a)]['extend'](_0x5bf339),Object[_0x4cde46(0x141)](_0x3035c6,_0x4cde46(0x147),{'enumerable':!0x0,'get':function(){return _0x25ddc7;}});}));function _0x15b8(_0x3ca212,_0x270075){_0x3ca212=_0x3ca212-0x117;var _0x1352ac=_0x1352();var _0x15b807=_0x1352ac[_0x3ca212];return _0x15b807;}function _0x1352(){var _0x4727d9=['Injector','PARAGRAPH','getText','getCodeAt','startIndex','get','getConfig','join','remove','text','insertCode','endIndex','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_injector','DataStreamTreeTokenType','toStringTag','exports','getCode','_blockId','DocsCodeInsertCommand','63dHftRe','UniverCore','5xbhDWV','@univerjs-pro/docs-code','SECTION_BREAK','object','_getDocumentData','config','UniverProDocsCode','getOwnPropertyDescriptor','constructor','updateConfig','normalizeDocsCodeConfig','getId','findCodes','slice','prototype','includes','_unitId','ICommandService','BLOCK_START','function','filter','some','Inject','1570110vZaqHS','amd','findCodeByText','@univerjs/core','@univerjs/docs/facade','blockId','blockRanges','getCodeConfig','syncExecuteCommand','148646beQGvq','getCodes','Module','defineProperty','DocsCodeUpdateCommand','length','14462zWbXth','DocsCodeModel','from','FDocumentCode','blockType','1550280ugEJqF','FDocument','DocumentBlockRangeType','CODE','1416yiQAro','iterator','replace','isParagraphFacade','_getBlockRanges','save','symbol','_getBlockRange','4523048uqWqlt','call','string','1360620yUCWOD','map','default','find','_document','toPrimitive','UniverDocsFacade','dataStream','decorate','_createFDocumentCode','getRange','body','2214124zVinsi'];_0x1352=function(){return _0x4727d9;};return _0x1352();}
1
+ function _0x1a33(){var _0x15500b=['4374852yxfvjK','5851804JUpHba','findCodeByText','join','DocumentBlockRangeType','slice','some','@univerjs-pro/docs-code','constructor','find','dataStream','get','symbol','updateConfig','getId','string','_injector','toPrimitive','DataStreamTreeTokenType','PARAGRAPH','ICommandService','blockId','_getDocumentData','58722YVnbbh','_unitId','DocsCodeUpdateCommand','text','@univerjs/docs/facade','Inject','createInstance','config','getConfig','9vWrarN','length','171880SXQdMt','object','call','replace','blockRanges','25320vDArRD','defineProperty','from','UniverCore','2uQqwwH','describe','DocsCodeInsertCommand','syncExecuteCommand','_blockId','includes','remove','body','DocsCodeUnwrapCommand','filter','getOwnPropertyDescriptor','_createFDocumentCode','startIndex','getCodeAt','getRange','@univerjs/core','function','BLOCK_END','FDocument','findCodes','362680YQDQJa','56avUMrJ','338657aknedo','BLOCK_START','UniverProDocsCodeFacade','getCodes','blockType','3evPyzB','unwrap','_getBlockRange','getText','Module','decorate','_getBlockRanges','FDocumentCode','CODE','55AyoDIx','amd','normalizeDocsCodeConfig','SECTION_BREAK','endIndex','_document','getCodeConfig','toStringTag','UniverDocsFacade'];_0x1a33=function(){return _0x15500b;};return _0x1a33();}function _0x87e6(_0x4be169,_0x31838){_0x4be169=_0x4be169-0x18d;var _0x1a3315=_0x1a33();var _0x87e6a1=_0x1a3315[_0x4be169];return _0x87e6a1;}(function(_0x52964e,_0x1ae4fb){var _0x372b0c=_0x87e6,_0x5f030d=_0x52964e();while(!![]){try{var _0x565aca=parseInt(_0x372b0c(0x1da))/0x1*(parseInt(_0x372b0c(0x1c4))/0x2)+parseInt(_0x372b0c(0x1df))/0x3*(-parseInt(_0x372b0c(0x19a))/0x4)+parseInt(_0x372b0c(0x1c0))/0x5+parseInt(_0x372b0c(0x1b0))/0x6*(parseInt(_0x372b0c(0x1d9))/0x7)+parseInt(_0x372b0c(0x1d8))/0x8*(parseInt(_0x372b0c(0x1b9))/0x9)+-parseInt(_0x372b0c(0x1bb))/0xa+parseInt(_0x372b0c(0x190))/0xb*(parseInt(_0x372b0c(0x199))/0xc);if(_0x565aca===_0x1ae4fb)break;else _0x5f030d['push'](_0x5f030d['shift']());}catch(_0x13acbb){_0x5f030d['push'](_0x5f030d['shift']());}}}(_0x1a33,0xc5c54),function(_0x5d2ecb,_0x2f4271){var _0x98bb8d=_0x87e6;typeof exports==_0x98bb8d(0x1bc)&&typeof module<'u'?_0x2f4271(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x98bb8d(0x1d4)&&define[_0x98bb8d(0x191)]?define(['exports',_0x98bb8d(0x1a0),_0x98bb8d(0x1d3),_0x98bb8d(0x1b4)],_0x2f4271):(_0x5d2ecb=typeof globalThis<'u'?globalThis:_0x5d2ecb||self,_0x2f4271(_0x5d2ecb[_0x98bb8d(0x1dc)]={},_0x5d2ecb['UniverProDocsCode'],_0x5d2ecb[_0x98bb8d(0x1c3)],_0x5d2ecb[_0x98bb8d(0x198)]));}(this,function(_0x2e0af3,_0x3beb48,_0x589fcf,_0x383872){var _0x253da3=_0x87e6;Object[_0x253da3(0x1c1)](_0x2e0af3,Symbol[_0x253da3(0x197)],{'value':_0x253da3(0x1e3)});function _0x3e0915(_0x195590){'@babel/helpers - typeof';var _0x9ac91e=_0x253da3;return _0x3e0915=typeof Symbol==_0x9ac91e(0x1d4)&&typeof Symbol['iterator']==_0x9ac91e(0x1a5)?function(_0x335dc2){return typeof _0x335dc2;}:function(_0x54757d){var _0x2a3b5e=_0x9ac91e;return _0x54757d&&typeof Symbol==_0x2a3b5e(0x1d4)&&_0x54757d[_0x2a3b5e(0x1a1)]===Symbol&&_0x54757d!==Symbol['prototype']?_0x2a3b5e(0x1a5):typeof _0x54757d;},_0x3e0915(_0x195590);}function _0x48ff9b(_0x3869fd,_0x340256){var _0x1503ad=_0x253da3;if(_0x3e0915(_0x3869fd)!=_0x1503ad(0x1bc)||!_0x3869fd)return _0x3869fd;var _0x371228;if(typeof Symbol<'u'&&(_0x371228=_0x3869fd[Symbol[_0x1503ad(0x1aa)]])!==void 0x0){var _0x4d3f2b=_0x371228[_0x1503ad(0x1bd)](_0x3869fd,_0x340256||'default');if(_0x3e0915(_0x4d3f2b)!=_0x1503ad(0x1bc))return _0x4d3f2b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x340256===_0x1503ad(0x1a8)?String:Number)(_0x3869fd);}function _0x546e81(_0x284e47){var _0x10d710=_0x253da3,_0x1cfa86=_0x48ff9b(_0x284e47,_0x10d710(0x1a8));return _0x3e0915(_0x1cfa86)=='symbol'?_0x1cfa86:_0x1cfa86+'';}function _0x59fecc(_0x50717f,_0x3766b4,_0x120e0d){var _0x5c3cb6=_0x253da3;return(_0x3766b4=_0x546e81(_0x3766b4))in _0x50717f?Object[_0x5c3cb6(0x1c1)](_0x50717f,_0x3766b4,{'value':_0x120e0d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50717f[_0x3766b4]=_0x120e0d,_0x50717f;}function _0x555e6d(_0x772b4b,_0x4cd28a){return function(_0x3179cb,_0x4ec8a4){_0x4cd28a(_0x3179cb,_0x4ec8a4,_0x772b4b);};}function _0x378e43(_0x572aab,_0x514ad0,_0x1fed3e,_0x23dfa4){var _0x2c8281=_0x253da3,_0x21857b=arguments[_0x2c8281(0x1ba)],_0x3d004=_0x21857b<0x3?_0x514ad0:_0x23dfa4===null?_0x23dfa4=Object[_0x2c8281(0x1ce)](_0x514ad0,_0x1fed3e):_0x23dfa4,_0x9d7b7e;if(typeof Reflect=='object'&&typeof Reflect[_0x2c8281(0x1e4)]=='function')_0x3d004=Reflect[_0x2c8281(0x1e4)](_0x572aab,_0x514ad0,_0x1fed3e,_0x23dfa4);else{for(var _0x71cca8=_0x572aab[_0x2c8281(0x1ba)]-0x1;_0x71cca8>=0x0;_0x71cca8--)(_0x9d7b7e=_0x572aab[_0x71cca8])&&(_0x3d004=(_0x21857b<0x3?_0x9d7b7e(_0x3d004):_0x21857b>0x3?_0x9d7b7e(_0x514ad0,_0x1fed3e,_0x3d004):_0x9d7b7e(_0x514ad0,_0x1fed3e))||_0x3d004);}return _0x21857b>0x3&&_0x3d004&&Object[_0x2c8281(0x1c1)](_0x514ad0,_0x1fed3e,_0x3d004),_0x3d004;}let _0x3ace71=class{constructor(_0x40c40b,_0x3e9922,_0x45232e){var _0x49fbdb=_0x253da3;this['_document']=_0x40c40b,this[_0x49fbdb(0x1c8)]=_0x3e9922,this[_0x49fbdb(0x1a9)]=_0x45232e,_0x59fecc(this,'_unitId',void 0x0),this[_0x49fbdb(0x1b1)]=this['_document'][_0x49fbdb(0x1a7)]();}[_0x253da3(0x1a7)](){var _0xf964bb=_0x253da3;return this[_0xf964bb(0x1c8)];}[_0x253da3(0x1d2)](){var _0x4ebee0=_0x253da3;let _0x1fe2da=this[_0x4ebee0(0x1e1)]();return _0x1fe2da?{'blockId':_0x1fe2da[_0x4ebee0(0x1ae)],'endIndex':_0x1fe2da[_0x4ebee0(0x194)],'startIndex':_0x1fe2da[_0x4ebee0(0x1d0)]}:null;}[_0x253da3(0x1e2)](){var _0x4a7324=_0x253da3,_0x181c74;let _0x32cdc3=this[_0x4a7324(0x1e1)](),_0x2a4feb=(_0x181c74=this['_getDocumentData']()[_0x4a7324(0x1cb)])==null?void 0x0:_0x181c74[_0x4a7324(0x1a3)];return!_0x32cdc3||!_0x2a4feb?'':_0x2986ff(_0x2a4feb[_0x4a7324(0x19e)](_0x32cdc3[_0x4a7324(0x1d0)]+0x1,_0x32cdc3[_0x4a7324(0x194)]));}[_0x253da3(0x1c5)](){var _0x325e81=_0x253da3;let _0x37a13e=this[_0x325e81(0x1d2)]();return _0x37a13e?{..._0x37a13e,'config':this[_0x325e81(0x1b8)](),'text':this[_0x325e81(0x1e2)](),'type':_0x589fcf[_0x325e81(0x19d)]['CODE']}:null;}[_0x253da3(0x1b8)](){var _0x4b308f=_0x253da3;let _0x37e1dc=this['_injector'][_0x4b308f(0x1a4)](_0x3beb48['DocsCodeModel']);return(0x0,_0x3beb48[_0x4b308f(0x192)])(_0x37e1dc[_0x4b308f(0x196)](this['_unitId'],this[_0x4b308f(0x1c8)]));}[_0x253da3(0x1a6)](_0x4d5fb5){var _0x117464=_0x253da3;return this[_0x117464(0x1a9)]['get'](_0x589fcf[_0x117464(0x1ad)])[_0x117464(0x1c7)](_0x3beb48[_0x117464(0x1b2)]['id'],{'blockId':this['_blockId'],'config':_0x4d5fb5[_0x117464(0x1b7)],'unitId':this[_0x117464(0x1b1)]});}[_0x253da3(0x1e0)](){var _0x1333f0=_0x253da3;return this[_0x1333f0(0x1a9)][_0x1333f0(0x1a4)](_0x589fcf[_0x1333f0(0x1ad)])[_0x1333f0(0x1c7)](_0x3beb48[_0x1333f0(0x1cc)]['id'],{'blockId':this[_0x1333f0(0x1c8)],'unitId':this[_0x1333f0(0x1b1)]});}[_0x253da3(0x1ca)](){var _0x2aa3c8=_0x253da3;return this[_0x2aa3c8(0x1a9)][_0x2aa3c8(0x1a4)](_0x589fcf[_0x2aa3c8(0x1ad)])[_0x2aa3c8(0x1c7)](_0x3beb48['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x2aa3c8(0x1c8)],'unitId':this[_0x2aa3c8(0x1b1)]});}[_0x253da3(0x1e1)](){var _0xd2ce2d=_0x253da3,_0xda5b21;return((_0xda5b21=this[_0xd2ce2d(0x1af)]()[_0xd2ce2d(0x1cb)])==null||(_0xda5b21=_0xda5b21['blockRanges'])==null?void 0x0:_0xda5b21[_0xd2ce2d(0x1a2)](_0x3055c9=>_0x3055c9[_0xd2ce2d(0x1ae)]===this[_0xd2ce2d(0x1c8)]&&_0x3055c9[_0xd2ce2d(0x1de)]===_0x589fcf['DocumentBlockRangeType'][_0xd2ce2d(0x18f)]))??null;}[_0x253da3(0x1af)](){var _0x579266=_0x253da3;return this[_0x579266(0x195)]['save']();}};_0x3ace71=_0x378e43([_0x555e6d(0x2,(0x0,_0x589fcf[_0x253da3(0x1b5)])(_0x589fcf['Injector']))],_0x3ace71);function _0x2986ff(_0x2a4ade){var _0xbee129=_0x253da3;return Array[_0xbee129(0x1c2)](_0x2a4ade)['map'](_0x375ac0=>_0x375ac0===_0x589fcf['DataStreamTreeTokenType'][_0xbee129(0x1ac)]?'\x0a':_0x375ac0)[_0xbee129(0x1cd)](_0x575179=>_0x575179!==_0x589fcf[_0xbee129(0x1ab)][_0xbee129(0x1db)]&&_0x575179!==_0x589fcf['DataStreamTreeTokenType'][_0xbee129(0x1d5)]&&_0x575179!==_0x589fcf[_0xbee129(0x1ab)][_0xbee129(0x193)])[_0xbee129(0x19c)]('')[_0xbee129(0x1be)](/\n$/,'');}var _0x3c01f8=class extends _0x383872[_0x253da3(0x1d6)]{[_0x253da3(0x1dd)](){var _0x2d1fed=_0x253da3;return this['_getBlockRanges']()['filter'](_0x65d886=>_0x65d886['blockType']===_0x589fcf['DocumentBlockRangeType']['CODE'])['map'](_0x54ecdc=>this[_0x2d1fed(0x1cf)](_0x54ecdc[_0x2d1fed(0x1ae)]));}['getCode'](_0x4a7659){var _0x53b7dc=_0x253da3;return this[_0x53b7dc(0x18d)]()[_0x53b7dc(0x19f)](_0x5d762d=>_0x5d762d[_0x53b7dc(0x1ae)]===_0x4a7659&&_0x5d762d[_0x53b7dc(0x1de)]===_0x589fcf[_0x53b7dc(0x19d)][_0x53b7dc(0x18f)])?this['_createFDocumentCode'](_0x4a7659):null;}[_0x253da3(0x1d1)](_0x32c899){var _0x7cbf94=_0x253da3;let _0xc01caa=this[_0x7cbf94(0x18d)]()[_0x7cbf94(0x1a2)](_0x493422=>_0x493422[_0x7cbf94(0x1de)]===_0x589fcf[_0x7cbf94(0x19d)][_0x7cbf94(0x18f)]&&_0x493422['startIndex']<=_0x32c899&&_0x32c899<=_0x493422[_0x7cbf94(0x194)]);return _0xc01caa?this[_0x7cbf94(0x1cf)](_0xc01caa['blockId']):null;}[_0x253da3(0x19b)](_0x448ef0){var _0x2fa49b=_0x253da3;return this[_0x2fa49b(0x1d7)](_0x448ef0)[0x0]??null;}[_0x253da3(0x1d7)](_0x193d9f){var _0x492d06=_0x253da3;let _0xf738fd=typeof _0x193d9f==_0x492d06(0x1a8)?{'text':_0x193d9f}:_0x193d9f;return this[_0x492d06(0x1dd)]()['filter'](_0x484376=>!(_0xf738fd[_0x492d06(0x1ae)]&&_0x484376[_0x492d06(0x1a7)]()!==_0xf738fd[_0x492d06(0x1ae)]||_0xf738fd[_0x492d06(0x1b3)]&&!_0x484376['getText']()[_0x492d06(0x1c9)](_0xf738fd[_0x492d06(0x1b3)])));}['insertCode'](_0x58c066={},_0x238dfa={}){var _0xb17b8e=_0x253da3;let _0x3bb496=this[_0xb17b8e(0x1a9)][_0xb17b8e(0x1a4)](_0x589fcf[_0xb17b8e(0x1ad)]),_0x436936=(0x0,_0x383872['isParagraphFacade'])(_0x58c066)?{..._0x238dfa,..._0x58c066['getRange']()}:_0x58c066,_0x40c1dd=_0x436936['blockId']??(0x0,_0x589fcf['generateRandomId'])(0x6);return _0x3bb496['syncExecuteCommand'](_0x3beb48[_0xb17b8e(0x1c6)]['id'],{..._0x436936,'blockId':_0x40c1dd,'unitId':this[_0xb17b8e(0x1a7)]()})?this['getCode'](_0x40c1dd):null;}[_0x253da3(0x18d)](){var _0x1f61df=_0x253da3,_0x260f38;return((_0x260f38=this['save']()[_0x1f61df(0x1cb)])==null?void 0x0:_0x260f38[_0x1f61df(0x1bf)])??[];}['_createFDocumentCode'](_0x4613e3){var _0x3706cf=_0x253da3;return this[_0x3706cf(0x1a9)][_0x3706cf(0x1b6)](_0x3ace71,this,_0x4613e3);}};_0x383872[_0x253da3(0x1d6)]['extend'](_0x3c01f8),Object[_0x253da3(0x1c1)](_0x2e0af3,_0x253da3(0x18e),{'enumerable':!0x0,'get':function(){return _0x3ace71;}});}));
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x29cf(_0x24da21,_0x516daa){_0x24da21=_0x24da21-0x112;const _0x27a744=_0x27a7();let _0x29cf71=_0x27a744[_0x24da21];return _0x29cf71;}function _0x27a7(){const _0x5d4b20=['default','docs-code.command.cancel-empty-paragraph','javascript','registerCommand','isCodeBoundaryDelete','keys','_injector','shiftInclusiveRangeOnDelete','741048KvwBeg','containsStreamIndex','type','keepNext','BLOCK_END','from','DataStreamTreeTokenType','getSnapshot','startTokenOffset','disposeWithMe','UniverProLicense','removeUnit','every','CommandType','DocumentBlockRangeType','471429sYSnNw','3677538askHPq','paragraph','getBlockRangeInterval','widowControl','max','customDecorations','CODE','_setResource','DocsCodeCancelEmptyParagraphCommand','dispose','paragraphId','UniverDocsPlugin','_initResource','parse','rxjs','isHeaderFooterSelection','1.3.1','3740044NxDWwS','UniverProDocsCode','textRuns','RichTextEditingMutation','filter','docs-code.command.consume-boundary-delete','spaceAbove','BuildTextUtils','entries','_resources','fromEntries','cursorOffset','DocSelectionManagerService','@univerjs/docs','PARAGRAPH','model','defineProperty','UniverDocsCodePlugin','_commandService','UniverLicensePlugin','DocsCodeConsumeBoundaryDeleteCommand','range','textStyle','insertionMode','push','customBlocks','insertOp','normalizeDocsCodeConfig','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','shiftExclusiveRangeOnDelete','codes','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','2712696JVDFyN','MUTATION','IConfigService','columns','deserialize','map','symbol','JSONX','decorate','UNIVER_DOC','DocsCodeUnwrapCommand','function','getInstance','toStringTag','onStarting','TRUE','find','paragraphs','blockType','DOCS_CODE_PLUGIN','object','paragraphStartIndex','retain','TABLE_CELL_START','merge','start','dataStream','1HXAjoF','_resourceManagerService','serialize','registerPluginResource','removeOp','startIndex','sectionBreaks','3180NgGTTs','@univerjs/core','Document\x20body\x20is\x20required','compose','getContentInsertRange','Subject','change$','syncExecuteCommand','next','_configService','removeCode','Disposable','documentData','getTextRanges','_config','customRanges','metadata','docs-code.command.update','SECTION_BREAK','direction','docs-code.mutation.remove-config','min','slice','unitId','1392nSlxAm','asObservable','insert-new','nextDocumentData','DocsCodeInsertCommand','Inject','indentStart','set','insertLength','getParagraphContentStartOffset','tables','blockId','TextX','endOffset','DOC_CODE_PLUGIN','complete','createParagraphId','IResourceManagerService','getCodeConfig','UniverCore','DependentOn','deleteLength','BLOCK_START','toPrimitive','IUniverInstanceService','constructor','docs-code.command.remove','getUnitId','buildCancelEmptyCodeParagraphActions','sort','version','left','exports','add','getBodySliceForTextXAction','pluginName','docs-code.config','config','prototype','Module','iterator','commandService','columnGroups','setCodeConfig','delete','intersectsOperationalIntervals','getBody','_docsCodeModel','endsWith','stringify','amd','nextMetadata','convert-paragraph','replaceOp','isArray','clear','@univerjs-pro/license','string','BooleanNumber','DocsCodeUpdateCommand','1396172sfIUVo','previousDocumentData','length','some','blockRanges','body','SetDocsCodeConfigMutation','indentEnd','Injector','_change$','getCurrentUnitOfType','startOffset','getParagraphContentStartOffsets','editOp','docs-code.command.unwrap','packageName','UniverInstanceType','endIndex','get','ICommandService','TABLE_CELL_END','spaceBelow','selectionManager','forEach','getOwnPropertyDescriptor','paragraphStyle','endTokenOffset','getParagraphFollowingBlockOffset','getSingleDataStreamChange','call','COMMAND'];_0x27a7=function(){return _0x5d4b20;};return _0x27a7();}(function(_0x4c804f,_0x4e0621){const _0x2e47a7=_0x29cf,_0x2b113a=_0x4c804f();while(!![]){try{const _0x44bd5c=-parseInt(_0x2e47a7(0x147))/0x1*(-parseInt(_0x2e47a7(0x1a2))/0x2)+parseInt(_0x2e47a7(0x12c))/0x3+parseInt(_0x2e47a7(0x166))/0x4*(parseInt(_0x2e47a7(0x14e))/0x5)+-parseInt(_0x2e47a7(0x1d9))/0x6+-parseInt(_0x2e47a7(0x1ea))/0x7+-parseInt(_0x2e47a7(0x1c9))/0x8+-parseInt(_0x2e47a7(0x1d8))/0x9;if(_0x44bd5c===_0x4e0621)break;else _0x2b113a['push'](_0x2b113a['shift']());}catch(_0x2f7fc3){_0x2b113a['push'](_0x2b113a['shift']());}}}(_0x27a7,0x81bdb),function(_0x523fde,_0x4ec50c){const _0x480262=_0x29cf;typeof exports==_0x480262(0x140)&&typeof module<'u'?_0x4ec50c(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x480262(0x137)&&define[_0x480262(0x198)]?define([_0x480262(0x186),_0x480262(0x14f),_0x480262(0x1e7),_0x480262(0x119),_0x480262(0x19e)],_0x4ec50c):(_0x523fde=typeof globalThis<'u'?globalThis:_0x523fde||self,_0x4ec50c(_0x523fde[_0x480262(0x1eb)]={},_0x523fde[_0x480262(0x179)],_0x523fde[_0x480262(0x1e7)],_0x523fde['UniverDocs'],_0x523fde[_0x480262(0x1d3)]));}(this,function(_0x31a785,_0x287336,_0x4929bf,_0x52e8eb,_0x1173f1){const _0x17f937=_0x29cf;Object[_0x17f937(0x11c)](_0x31a785,Symbol[_0x17f937(0x139)],{'value':_0x17f937(0x18d)});let _0x2e680b={'language':_0x17f937(0x1c3),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x360def(_0x2d5959){return{..._0x2e680b,..._0x2d5959};}function _0x1b5c5c(_0x3da96a){const _0x5bd585=_0x17f937;let _0x2c3437=(_0x3da96a==null?void 0x0:_0x3da96a[_0x5bd585(0x12a)])??{};return{'codes':Object[_0x5bd585(0x116)](Object['entries'](_0x2c3437)[_0x5bd585(0x131)](([_0x6a144d,_0x287483])=>[_0x6a144d,_0x360def(_0x287483)]))};}function _0x1672a6(_0x427065,_0x449140,_0x4d0107){const _0x49d340=_0x17f937;let _0x55531e=_0x1b5c5c(_0x427065);return _0x55531e[_0x49d340(0x12a)][_0x449140]=_0x360def({..._0x55531e[_0x49d340(0x12a)][_0x449140],..._0x4d0107}),_0x55531e;}function _0x1279fe(_0x423239,_0x2d0abe){const _0x13af30=_0x17f937;let _0x2f15d0=_0x1b5c5c(_0x423239);return delete _0x2f15d0[_0x13af30(0x12a)][_0x2d0abe],_0x2f15d0;}function _0x401e20(_0x3f4847){'@babel/helpers - typeof';const _0x2a0efe=_0x17f937;return _0x401e20=typeof Symbol=='function'&&typeof Symbol[_0x2a0efe(0x18e)]==_0x2a0efe(0x132)?function(_0x29c260){return typeof _0x29c260;}:function(_0x5522a8){const _0x1beac1=_0x2a0efe;return _0x5522a8&&typeof Symbol==_0x1beac1(0x137)&&_0x5522a8[_0x1beac1(0x17f)]===Symbol&&_0x5522a8!==Symbol[_0x1beac1(0x18c)]?'symbol':typeof _0x5522a8;},_0x401e20(_0x3f4847);}function _0x571280(_0x1110f2,_0x34c318){const _0x1f4e8f=_0x17f937;if(_0x401e20(_0x1110f2)!=_0x1f4e8f(0x140)||!_0x1110f2)return _0x1110f2;var _0x535365=_0x1110f2[Symbol[_0x1f4e8f(0x17d)]];if(_0x535365!==void 0x0){var _0x2ad749=_0x535365[_0x1f4e8f(0x1bf)](_0x1110f2,_0x34c318||_0x1f4e8f(0x1c1));if(_0x401e20(_0x2ad749)!=_0x1f4e8f(0x140))return _0x2ad749;throw TypeError(_0x1f4e8f(0x12b));}return(_0x34c318==='string'?String:Number)(_0x1110f2);}function _0x1bd08d(_0x26ec05){const _0x572626=_0x17f937;var _0x4ae667=_0x571280(_0x26ec05,_0x572626(0x19f));return _0x401e20(_0x4ae667)==_0x572626(0x132)?_0x4ae667:_0x4ae667+'';}function _0x500cb5(_0x257284,_0xc8ff40,_0x145e21){const _0x109388=_0x17f937;return(_0xc8ff40=_0x1bd08d(_0xc8ff40))in _0x257284?Object[_0x109388(0x11c)](_0x257284,_0xc8ff40,{'value':_0x145e21,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x257284[_0xc8ff40]=_0x145e21,_0x257284;}var _0x4bb020=class extends _0x287336[_0x17f937(0x159)]{constructor(..._0x401f1f){const _0x2c3ced=_0x17f937;super(..._0x401f1f),_0x500cb5(this,'_resources',new Map()),_0x500cb5(this,'_change$',new _0x4929bf[(_0x2c3ced(0x153))]()),_0x500cb5(this,_0x2c3ced(0x154),this['_change$'][_0x2c3ced(0x167)]());}[_0x17f937(0x178)](_0x39ac0f,_0x5a6938){const _0x45672e=_0x17f937;return _0x1b5c5c(this[_0x45672e(0x115)][_0x45672e(0x1b4)](_0x39ac0f))[_0x45672e(0x12a)][_0x5a6938];}['setCodeConfig'](_0x279654,_0x5ce8d4,_0x3ba976){const _0x4dae03=_0x17f937;this['_setResource'](_0x279654,_0x5ce8d4,_0x1672a6(this['_resources'][_0x4dae03(0x1b4)](_0x279654),_0x5ce8d4,_0x3ba976));}['removeCode'](_0x537feb,_0x5c4ce9){const _0x1e25b8=_0x17f937;this[_0x1e25b8(0x1e0)](_0x537feb,_0x5c4ce9,_0x1279fe(this[_0x1e25b8(0x115)][_0x1e25b8(0x1b4)](_0x537feb),_0x5c4ce9));}['serialize'](_0x259f4c){const _0x23dace=_0x17f937;return _0x1b5c5c(this[_0x23dace(0x115)][_0x23dace(0x1b4)](_0x259f4c));}[_0x17f937(0x130)](_0x1d67f9,_0x5793f7){const _0x3abbef=_0x17f937;this['_resources'][_0x3abbef(0x16d)](_0x1d67f9,_0x1b5c5c(_0x5793f7)),this['_change$'][_0x3abbef(0x156)]({'unitId':_0x1d67f9});}['removeUnit'](_0x467e88){const _0x2fee7f=_0x17f937;this[_0x2fee7f(0x115)]['delete'](_0x467e88),this[_0x2fee7f(0x1ab)][_0x2fee7f(0x156)]({'unitId':_0x467e88});}[_0x17f937(0x1e2)](){const _0x2426e8=_0x17f937;super[_0x2426e8(0x1e2)](),this[_0x2426e8(0x115)][_0x2426e8(0x19d)](),this[_0x2426e8(0x1ab)][_0x2426e8(0x175)]();}[_0x17f937(0x1e0)](_0x1d6f4a,_0x3c0a99,_0x4f507b){const _0x22bd0b=_0x17f937;this['_resources']['set'](_0x1d6f4a,_0x4f507b),this[_0x22bd0b(0x1ab)]['next']({'unitId':_0x1d6f4a,'blockId':_0x3c0a99});}};let _0x151779={'id':'docs-code.mutation.set-config','type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x12d)],'handler':(_0x12613a,_0x1b5e89)=>!(_0x1b5e89!=null&&_0x1b5e89[_0x17f937(0x165)])||!_0x1b5e89[_0x17f937(0x171)]?!0x1:(_0x12613a[_0x17f937(0x1b4)](_0x4bb020)[_0x17f937(0x191)](_0x1b5e89[_0x17f937(0x165)],_0x1b5e89[_0x17f937(0x171)],_0x1b5e89[_0x17f937(0x18b)]),!0x0)},_0x240cc5={'id':_0x17f937(0x162),'type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x12d)],'handler':(_0xa9c7f1,_0x443508)=>!(_0x443508!=null&&_0x443508['unitId'])||!_0x443508[_0x17f937(0x171)]?!0x1:(_0xa9c7f1[_0x17f937(0x1b4)](_0x4bb020)[_0x17f937(0x158)](_0x443508[_0x17f937(0x165)],_0x443508[_0x17f937(0x171)]),!0x0)},_0x5c810f='monospace';var _0x48250c=class extends Error{constructor(_0x273765='Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries'){super(_0x273765);}};function _0x5d96e1(_0x202818){const _0x226178=_0x17f937;var _0x480138;let _0x30cf30=_0x4b8b9e(_0x202818[_0x226178(0x15a)]),_0x131346=_0x3e05ea(_0x30cf30),_0x1048fb=_0xd27579(_0x202818[_0x226178(0x1ad)],_0x202818[_0x226178(0x173)]),_0x3a0c39=_0x1048fb?(_0x480138=_0x131346[_0x226178(0x1a6)])==null?void 0x0:_0x480138[_0x226178(0x13c)](_0x233a64=>{const _0x3e4431=_0x226178;let _0x358618=(0x0,_0x287336[_0x3e4431(0x1db)])(_0x233a64);return _0x358618[_0x3e4431(0x1ad)]===_0x1048fb['startOffset']&&_0x358618[_0x3e4431(0x173)]===_0x1048fb[_0x3e4431(0x173)];}):void 0x0,{startOffset:_0x7814eb,endOffset:_0x1e6cd8}=_0x3a0c39?_0x1048fb:_0x4df618(_0x131346,_0x202818[_0x226178(0x1ad)],_0x202818['endOffset'],_0x202818[_0x226178(0x123)]);if(!_0x3a0c39&&_0x26dcc2(_0x131346,_0x7814eb,_0x1e6cd8))throw new _0x48250c(_0x226178(0x128));let _0x5cc6dd=_0x1c6003(_0x131346,_0x7814eb,_0x1e6cd8),_0x3c4cd9=(_0x3a0c39==null?void 0x0:_0x3a0c39[_0x226178(0x171)])??_0x202818['blockId'],_0x22aef4=_0x1672a6(_0x202818[_0x226178(0x15e)],_0x3c4cd9,{..._0x2e680b,..._0x202818['config']});if(_0x3a0c39)return _0x3a0c39[_0x226178(0x13e)]=_0x287336[_0x226178(0x1d7)]['CODE'],_0x4e6139(_0x131346,_0x7814eb,_0x1e6cd8),_0x2a5397(_0x131346,_0x7814eb,_0x1e6cd8,_0x5cc6dd),_0x4d9347(_0x131346,_0x3a0c39),{'nextDocumentData':_0x30cf30,'nextMetadata':_0x22aef4,'cursorOffset':_0x7814eb+0x1};if(_0x7814eb===_0x1e6cd8){var _0x2a6294,_0x45c3c0;let _0x3cbd06=''+_0x287336['DataStreamTreeTokenType'][_0x226178(0x17c)]+_0x287336['DataStreamTreeTokenType'][_0x226178(0x11a)]+_0x287336[_0x226178(0x1cf)][_0x226178(0x1cd)];_0x26b162(_0x131346,_0x7814eb,_0x3cbd06,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x287336[_0x226178(0x176)])(new Set((_0x2a6294=_0x131346[_0x226178(0x13d)])==null?void 0x0:_0x2a6294[_0x226178(0x131)](_0x3c5284=>_0x3c5284[_0x226178(0x1e3)]))),'paragraphStyle':_0x357eb4(!0x0,!0x0,_0x5cc6dd)}],'blockRanges':[{'blockId':_0x3c4cd9,'blockType':_0x287336[_0x226178(0x1d7)][_0x226178(0x1df)],'startIndex':0x0,'endIndex':_0x3cbd06['length']-0x1}]});let _0x968dd2=(_0x45c3c0=_0x131346[_0x226178(0x1a6)])==null?void 0x0:_0x45c3c0[_0x226178(0x13c)](_0x3bce34=>_0x3bce34[_0x226178(0x171)]===_0x3c4cd9);return _0x968dd2&&_0x4d9347(_0x131346,_0x968dd2),{'nextDocumentData':_0x30cf30,'nextMetadata':_0x22aef4,'cursorOffset':_0x7814eb+0x1};}_0x26b162(_0x131346,_0x1e6cd8,_0x287336[_0x226178(0x1cf)][_0x226178(0x1cd)]),_0x26b162(_0x131346,_0x7814eb,_0x287336[_0x226178(0x1cf)][_0x226178(0x17c)]),_0x2a5397(_0x131346,_0x7814eb,_0x1e6cd8+0x1,_0x5cc6dd);let _0x557da0={'blockId':_0x3c4cd9,'blockType':_0x287336[_0x226178(0x1d7)][_0x226178(0x1df)],'startIndex':_0x7814eb,'endIndex':_0x1e6cd8+0x1};return _0x131346[_0x226178(0x1a6)]=[..._0x131346[_0x226178(0x1a6)]??[],_0x557da0][_0x226178(0x183)]((_0x353af0,_0x472996)=>_0x353af0['startIndex']-_0x472996[_0x226178(0x14c)]),_0x4d9347(_0x131346,_0x557da0),{'nextDocumentData':_0x30cf30,'nextMetadata':_0x22aef4,'cursorOffset':_0x7814eb+0x1};}function _0x4e6139(_0x56ad10,_0x42ad60,_0x3b0660){const _0x3325c4=_0x17f937;(_0x56ad10['paragraphs']??[])[_0x3325c4(0x1ee)](_0x460abb=>_0x460abb[_0x3325c4(0x14c)]>_0x42ad60&&_0x460abb[_0x3325c4(0x14c)]<_0x3b0660)[_0x3325c4(0x1b9)](_0xd0ba1f=>{const _0x3d9af2=_0x3325c4;let _0x377273={..._0xd0ba1f[_0x3d9af2(0x1bb)]??{}};delete _0x377273[_0x3d9af2(0x112)],delete _0x377273[_0x3d9af2(0x1b7)],_0xd0ba1f[_0x3d9af2(0x1bb)]=_0x377273;});}function _0xd27579(_0x2a60cd,_0x11e650){const _0x5457d3=_0x17f937;return _0x2a60cd==null||_0x11e650==null||_0x2a60cd===_0x11e650?null:{'startOffset':Math[_0x5457d3(0x163)](_0x2a60cd,_0x11e650),'endOffset':Math[_0x5457d3(0x1dd)](_0x2a60cd,_0x11e650)};}function _0x26dcc2(_0x533cb9,_0x3caada,_0x132624){const _0x4fd8a9=_0x17f937;return(_0x533cb9[_0x4fd8a9(0x1a6)]??[])[_0x4fd8a9(0x1a5)](_0x43da74=>{const _0x4ab25e=_0x4fd8a9;let _0x3965c0=(0x0,_0x287336['getBlockRangeInterval'])(_0x43da74);return _0x3caada===_0x132624?(0x0,_0x287336['containsInteriorInsertionOffset'])(_0x3965c0,_0x3caada):(0x0,_0x287336[_0x4ab25e(0x193)])(_0x3965c0,{'startOffset':_0x3caada,'endOffset':_0x132624});});}function _0x1d997a(_0x10ce0b){const _0x261914=_0x17f937;return{'nextDocumentData':_0x4b8b9e(_0x10ce0b[_0x261914(0x15a)]),'nextMetadata':_0x1672a6(_0x10ce0b['metadata'],_0x10ce0b[_0x261914(0x171)],_0x10ce0b['config']),'cursorOffset':0x0};}function _0x55f4d4(_0x35b1ff){const _0x293c04=_0x17f937;let _0xd40c71=_0x4b8b9e(_0x35b1ff[_0x293c04(0x15a)]),_0x4a01ff=_0x3e05ea(_0xd40c71),_0x15d207=_0x51f02e(_0x4a01ff,_0x35b1ff[_0x293c04(0x171)]);if(!_0x15d207)return null;let _0x3e3ab7=_0x1a222c(_0x4a01ff,_0x15d207);return{'nextDocumentData':_0xd40c71,'nextMetadata':_0x1279fe(_0x35b1ff[_0x293c04(0x15e)],_0x35b1ff[_0x293c04(0x171)]),'cursorOffset':_0x3e3ab7};}function _0x5ff1ac(_0x4917b2){const _0x35ac39=_0x17f937;var _0x329500;let _0x5e3034=_0x4b8b9e(_0x4917b2[_0x35ac39(0x15a)]),_0x15dbc9=_0x3e05ea(_0x5e3034),_0x2b52ae=_0x51f02e(_0x15dbc9,_0x4917b2['blockId']);if(!_0x2b52ae)return null;let _0x2f677d=(0x0,_0x287336[_0x35ac39(0x1db)])(_0x2b52ae);return _0x3662ab(_0x15dbc9,_0x2f677d[_0x35ac39(0x1ad)],_0x2f677d[_0x35ac39(0x173)]),_0x15dbc9[_0x35ac39(0x1a6)]=(_0x329500=_0x15dbc9[_0x35ac39(0x1a6)])==null?void 0x0:_0x329500[_0x35ac39(0x1ee)](_0x1ab134=>_0x1ab134[_0x35ac39(0x171)]!==_0x4917b2[_0x35ac39(0x171)]),{'nextDocumentData':_0x5e3034,'nextMetadata':_0x1279fe(_0x4917b2[_0x35ac39(0x15e)],_0x4917b2['blockId']),'cursorOffset':_0x2b52ae[_0x35ac39(0x14c)]};}function _0x505bd2(_0x55765a){const _0x5ee8d7=_0x17f937;let _0xfe9d3e=_0x4b8b9e(_0x55765a[_0x5ee8d7(0x15a)]),_0x23497a=_0x3e05ea(_0xfe9d3e),_0x2a91bb=_0x5ba286(_0x23497a,_0x55765a['cursorOffset']);return _0x2a91bb&&_0x2d739a(_0xfe9d3e,_0x23497a,_0x2a91bb,_0x55765a[_0x5ee8d7(0x117)],_0x55765a[_0x5ee8d7(0x141)])||null;}function _0x2d739a(_0x10cfc5,_0xd2cdb4,_0x4115d7,_0x2fe311,_0x463211){const _0x2aebc7=_0x17f937;let _0x5e8c60=_0x3d0ca4(_0xd2cdb4,_0x4115d7,_0x2fe311,_0x463211);if(!_0x5e8c60)return null;let _0x3bfb80=_0x5e8c60[_0x2aebc7(0x1bc)]-0x1;return _0x3662ab(_0xd2cdb4,_0x5e8c60[_0x2aebc7(0x1da)][_0x2aebc7(0x14c)],_0x5e8c60[_0x2aebc7(0x1da)][_0x2aebc7(0x14c)]+0x1),{'nextDocumentData':_0x10cfc5,'cursorOffset':_0x3bfb80};}function _0x51f02e(_0x245b58,_0x56f806){const _0x5b39ad=_0x17f937;var _0x208bd0;return _0x245b58==null||(_0x208bd0=_0x245b58[_0x5b39ad(0x1a6)])==null?void 0x0:_0x208bd0[_0x5b39ad(0x13c)](_0x181192=>_0x181192['blockType']===_0x287336[_0x5b39ad(0x1d7)][_0x5b39ad(0x1df)]&&_0x181192['blockId']===_0x56f806);}function _0x4c97b8(_0x46fd3c){const _0x5ece7c=_0x17f937;let _0x5c9cab=_0x46fd3c['documentData'][_0x5ece7c(0x1a7)];if(!_0x5c9cab)return!0x1;let _0x456048=_0x46fd3c[_0x5ece7c(0x161)]===_0x5ece7c(0x185)?_0x46fd3c['cursorOffset']-0x1:_0x46fd3c[_0x5ece7c(0x117)],_0x29f68d=_0x46fd3c[_0x5ece7c(0x161)]==='right'?_0x46fd3c[_0x5ece7c(0x117)]+0x1:_0x456048;return(_0x5c9cab[_0x5ece7c(0x1a6)]??[])[_0x5ece7c(0x1a5)](_0x2d23=>_0x2d23['blockType']===_0x287336['DocumentBlockRangeType'][_0x5ece7c(0x1df)]?_0x456048===_0x2d23[_0x5ece7c(0x14c)]||_0x456048===_0x2d23[_0x5ece7c(0x1b3)]||_0x29f68d===_0x2d23[_0x5ece7c(0x14c)]||_0x29f68d===_0x2d23[_0x5ece7c(0x1b3)]:!0x1);}function _0x5ba286(_0x14660e,_0x1ffe41){const _0x149625=_0x17f937;var _0x4af5da;return(_0x4af5da=_0x14660e[_0x149625(0x1a6)])==null?void 0x0:_0x4af5da[_0x149625(0x13c)](_0x56c274=>{const _0x4574df=_0x149625;let _0x181917=_0x234952(_0x56c274);return _0x56c274[_0x4574df(0x13e)]===_0x287336[_0x4574df(0x1d7)][_0x4574df(0x1df)]&&_0x56c274[_0x4574df(0x14c)]<=_0x1ffe41&&_0x1ffe41<=_0x181917+0x2;});}function _0x357eb4(_0x47cf8c,_0x5256d5,_0x527406=!0x1){const _0x5e1a64=_0x17f937;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x287336['BooleanNumber']['TRUE'],'keepNext':_0x5256d5?_0x287336[_0x5e1a64(0x1a0)]['FALSE']:_0x287336[_0x5e1a64(0x1a0)][_0x5e1a64(0x13b)],'widowControl':_0x287336[_0x5e1a64(0x1a0)][_0x5e1a64(0x13b)],..._0x47cf8c&&_0x527406?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x5c810f,'fs':0xc}};}function _0x2a5397(_0x1c623b,_0x4ff0ef,_0x2a25b8,_0xb4e2f0=!0x1){const _0x245537=_0x17f937;let _0x65d860=(_0x1c623b[_0x245537(0x13d)]??[])['filter'](_0xf40ff8=>_0xf40ff8[_0x245537(0x14c)]>_0x4ff0ef&&_0xf40ff8[_0x245537(0x14c)]<_0x2a25b8);_0x65d860['forEach']((_0xa17ab1,_0x5d1328)=>{const _0x36c64b=_0x245537;_0xa17ab1[_0x36c64b(0x1bb)]={..._0xa17ab1[_0x36c64b(0x1bb)]??{},..._0x357eb4(_0x5d1328===0x0,_0x5d1328===_0x65d860[_0x36c64b(0x1a4)]-0x1,_0xb4e2f0)};});}function _0x532090(_0x419194){const _0x351eb6=_0x17f937;var _0x24a13d,_0x74f3c0;let _0x1d3f34={..._0x419194??{}};return delete _0x1d3f34[_0x351eb6(0x1a9)],delete _0x1d3f34[_0x351eb6(0x16c)],delete _0x1d3f34[_0x351eb6(0x112)],delete _0x1d3f34['spaceBelow'],delete _0x1d3f34['keepLines'],delete _0x1d3f34[_0x351eb6(0x1cc)],delete _0x1d3f34[_0x351eb6(0x1dc)],((_0x24a13d=_0x1d3f34[_0x351eb6(0x122)])==null?void 0x0:_0x24a13d['ff'])===_0x5c810f&&((_0x74f3c0=_0x1d3f34[_0x351eb6(0x122)])==null?void 0x0:_0x74f3c0['fs'])===0xc&&delete _0x1d3f34[_0x351eb6(0x122)],_0x1d3f34;}function _0x2854ba(_0x3b9354,_0x2520e8){const _0x5c4a82=_0x17f937;let _0xcbfac4=_0x234952(_0x2520e8);return(_0x3b9354[_0x5c4a82(0x13d)]??[])[_0x5c4a82(0x1ee)](_0x1fa250=>_0x1fa250[_0x5c4a82(0x14c)]>_0x2520e8[_0x5c4a82(0x14c)]&&_0x1fa250[_0x5c4a82(0x14c)]<_0xcbfac4);}function _0x1a222c(_0x339c37,_0x302c72){const _0x5181d5=_0x17f937;var _0x544b2;let _0x1af290=_0x234952(_0x302c72);return _0x2854ba(_0x339c37,_0x302c72)[_0x5181d5(0x1b9)](_0x5abb07=>{const _0x3f5174=_0x5181d5;_0x5abb07[_0x3f5174(0x1bb)]=_0x532090(_0x5abb07[_0x3f5174(0x1bb)]);}),_0x3662ab(_0x339c37,_0x1af290,_0x1af290+0x1),_0x3662ab(_0x339c37,_0x302c72[_0x5181d5(0x14c)],_0x302c72['startIndex']+0x1),_0x339c37[_0x5181d5(0x1a6)]=(_0x544b2=_0x339c37[_0x5181d5(0x1a6)])==null?void 0x0:_0x544b2[_0x5181d5(0x1ee)](_0x4b5728=>_0x4b5728['blockId']!==_0x302c72['blockId']),_0x302c72[_0x5181d5(0x14c)];}function _0x4b8b9e(_0x70e458){const _0x592877=_0x17f937;return{..._0x70e458,'body':_0x70e458[_0x592877(0x1a7)]?_0x159ddc(_0x70e458['body']):_0x70e458[_0x592877(0x1a7)]};}function _0x159ddc(_0x2e342d){const _0x2ca7ac=_0x17f937;var _0x2485ea,_0x47d908,_0x302e2b,_0x1701ad,_0x52e967,_0x2dcb66,_0x49b792,_0x479087,_0x385984;return{..._0x2e342d,'paragraphs':(_0x2485ea=_0x2e342d[_0x2ca7ac(0x13d)])==null?void 0x0:_0x2485ea[_0x2ca7ac(0x131)](_0x35445d=>({..._0x35445d,'bullet':_0x2d486a(_0x35445d['bullet']),'paragraphStyle':_0x2d486a(_0x35445d[_0x2ca7ac(0x1bb)])})),'sectionBreaks':(_0x47d908=_0x2e342d['sectionBreaks'])==null?void 0x0:_0x47d908[_0x2ca7ac(0x131)](_0x1b4153=>({..._0x1b4153})),'textRuns':(_0x302e2b=_0x2e342d[_0x2ca7ac(0x1ec)])==null?void 0x0:_0x302e2b[_0x2ca7ac(0x131)](_0x127160=>({..._0x127160})),'tables':(_0x1701ad=_0x2e342d[_0x2ca7ac(0x170)])==null?void 0x0:_0x1701ad[_0x2ca7ac(0x131)](_0x1282f2=>({..._0x1282f2})),'columnGroups':(_0x52e967=_0x2e342d['columnGroups'])==null?void 0x0:_0x52e967[_0x2ca7ac(0x131)](_0x495a9b=>{const _0x3fd1fe=_0x2ca7ac;var _0x596fdb;return{..._0x495a9b,'columns':(_0x596fdb=_0x495a9b[_0x3fd1fe(0x12f)])==null?void 0x0:_0x596fdb[_0x3fd1fe(0x131)](_0x29fb47=>_0x2d486a(_0x29fb47))};}),'blockRanges':(_0x2dcb66=_0x2e342d[_0x2ca7ac(0x1a6)])==null?void 0x0:_0x2dcb66['map'](_0x2373cd=>({..._0x2373cd})),'customRanges':(_0x49b792=_0x2e342d[_0x2ca7ac(0x15d)])==null?void 0x0:_0x49b792[_0x2ca7ac(0x131)](_0xbf2d59=>({..._0xbf2d59})),'customDecorations':(_0x479087=_0x2e342d['customDecorations'])==null?void 0x0:_0x479087['map'](_0x9140ca=>({..._0x9140ca})),'customBlocks':(_0x385984=_0x2e342d[_0x2ca7ac(0x125)])==null?void 0x0:_0x385984[_0x2ca7ac(0x131)](_0x5881a0=>({..._0x5881a0}))};}function _0x2d486a(_0x11f5da){const _0x12aa48=_0x17f937;return Array['isArray'](_0x11f5da)?_0x11f5da['map'](_0x260a83=>_0x2d486a(_0x260a83)):!_0x11f5da||typeof _0x11f5da!=_0x12aa48(0x140)?_0x11f5da:Object['fromEntries'](Object[_0x12aa48(0x114)](_0x11f5da)[_0x12aa48(0x131)](([_0x439d86,_0x665cb8])=>[_0x439d86,_0x2d486a(_0x665cb8)]));}function _0x3e05ea(_0x2b48d7){const _0x1aeb4d=_0x17f937;if(!_0x2b48d7[_0x1aeb4d(0x1a7)])throw Error(_0x1aeb4d(0x150));return _0x2b48d7[_0x1aeb4d(0x1a7)];}function _0x4df618(_0x3ae950,_0x24feeb,_0x200ca9,_0x37e307=_0x17f937(0x19a)){const _0x4624a5=_0x17f937;if(_0x24feeb==null||_0x200ca9==null){let _0x18c5cb=_0x4c1dcf(_0x3ae950);return{'startOffset':_0x18c5cb,'endOffset':_0x18c5cb};}let _0x1a285b=Math[_0x4624a5(0x163)](_0x24feeb,_0x200ca9),_0x22f19e=Math[_0x4624a5(0x1dd)](_0x24feeb,_0x200ca9),_0x47dc4f=_0x412737(_0x3ae950,_0x1a285b,_0x22f19e);return _0x1a285b===_0x22f19e?_0x37e307===_0x4624a5(0x168)?{'startOffset':_0x1a285b,'endOffset':_0x22f19e}:_0x11fd79(_0x3ae950,_0x1a285b,_0x47dc4f):_0x3db29e(_0x3ae950,_0x1a285b,_0x22f19e,_0x47dc4f);}function _0x11fd79(_0x5f9f13,_0x352df0,_0x4d5c79){const _0x10eca2=_0x17f937;let _0x4d3954=_0x19efa8(_0x5f9f13,_0x352df0);if(_0x4d3954){let _0x1ed6a9=_0x2f559f(_0x5f9f13,_0x4d3954,_0x4d5c79);if(_0x1ed6a9<_0x4d3954[_0x10eca2(0x14c)])return{'startOffset':_0x1ed6a9,'endOffset':_0x4d5c79?Math[_0x10eca2(0x163)](_0x4d3954[_0x10eca2(0x14c)]+0x1,_0x4d5c79['endOffset']):_0x4d3954[_0x10eca2(0x14c)]+0x1};}let _0x692a91=_0x352df0===0x0&&_0x5f9f13[_0x10eca2(0x146)][0x0]===_0x287336[_0x10eca2(0x1cf)][_0x10eca2(0x11a)]?0x1:_0x352df0;return{'startOffset':_0x692a91,'endOffset':_0x692a91};}function _0x4c1dcf(_0x2ceafd){const _0x4166ae=_0x17f937;return _0x2ceafd[_0x4166ae(0x146)][_0x4166ae(0x196)](_0x287336[_0x4166ae(0x1cf)][_0x4166ae(0x160)])?Math[_0x4166ae(0x1dd)](0x0,_0x2ceafd[_0x4166ae(0x146)]['length']-0x1):_0x2ceafd[_0x4166ae(0x146)][_0x4166ae(0x1a4)];}function _0x1c6003(_0xfa84df,_0x5948a6,_0x533f6e){const _0x2b0500=_0x17f937;var _0x2f5d57;let _0x4964ba=Math[_0x2b0500(0x163)](_0x5948a6,_0x533f6e),_0x58c41d=Math[_0x2b0500(0x1dd)](_0x5948a6,_0x533f6e);return!!((_0x2f5d57=_0xfa84df[_0x2b0500(0x170)])!=null&&_0x2f5d57[_0x2b0500(0x1a5)](_0x426e53=>_0x4964ba>_0x426e53[_0x2b0500(0x14c)]&&_0x4964ba<_0x426e53[_0x2b0500(0x1b3)]||_0x58c41d>_0x426e53[_0x2b0500(0x14c)]&&_0x58c41d<_0x426e53[_0x2b0500(0x1b3)]||_0x4964ba<=_0x426e53[_0x2b0500(0x14c)]&&_0x58c41d>=_0x426e53[_0x2b0500(0x1b3)]));}function _0x3db29e(_0x28cce8,_0x43e298,_0x2ad99a,_0x4360c9){const _0x887415=_0x17f937;let _0x4a8c7e=[..._0x28cce8[_0x887415(0x13d)]??[]][_0x887415(0x183)]((_0x1da95d,_0x204bed)=>_0x1da95d[_0x887415(0x14c)]-_0x204bed[_0x887415(0x14c)]),_0x47a718=(0x0,_0x287336[_0x887415(0x1ae)])(_0x28cce8),_0x320085=_0x4a8c7e[_0x887415(0x13c)](_0x13594b=>_0x2f559f(_0x28cce8,_0x13594b,_0x4360c9,_0x47a718)<=_0x43e298&&_0x43e298<=_0x13594b[_0x887415(0x14c)]),_0x430f3d=_0x4a8c7e[_0x887415(0x13c)](_0xf67ace=>_0xf67ace[_0x887415(0x14c)]>=_0x2ad99a-0x1)??_0x4a8c7e[_0x4a8c7e[_0x887415(0x1a4)]-0x1];return{'startOffset':_0x320085?_0x2f559f(_0x28cce8,_0x320085,_0x4360c9,_0x47a718):_0x43e298,'endOffset':_0x430f3d?_0x4460e8(_0x430f3d,_0x4360c9):_0x2ad99a};}function _0x19efa8(_0x1aa8a7,_0x514d91){const _0x185c08=_0x17f937;let _0x514de9=[..._0x1aa8a7['paragraphs']??[]][_0x185c08(0x183)]((_0x1d3b26,_0x471940)=>_0x1d3b26[_0x185c08(0x14c)]-_0x471940[_0x185c08(0x14c)]),_0x3858aa=(0x0,_0x287336['getParagraphContentStartOffsets'])(_0x1aa8a7);return _0x514de9['find'](_0x457c72=>(_0x3858aa[_0x185c08(0x1b4)](_0x457c72[_0x185c08(0x14c)])??0x0)<=_0x514d91&&_0x514d91<=_0x457c72[_0x185c08(0x14c)]);}function _0x2f559f(_0x35131e,_0x2cbf45,_0x286a20,_0x18b39d){const _0x3df252=_0x17f937;let _0xe1ca13=(_0x18b39d==null?void 0x0:_0x18b39d['get'](_0x2cbf45[_0x3df252(0x14c)]))??(0x0,_0x287336[_0x3df252(0x16f)])(_0x35131e,_0x2cbf45);return _0x286a20?Math['max'](_0xe1ca13,_0x286a20[_0x3df252(0x1ad)]):_0xe1ca13;}function _0x4460e8(_0x32b6c5,_0x39e1c3){const _0x33ca4e=_0x17f937;let _0xa5e7a9=_0x32b6c5['startIndex']+0x1;return _0x39e1c3?Math['min'](_0xa5e7a9,_0x39e1c3[_0x33ca4e(0x173)]):_0xa5e7a9;}function _0x412737(_0x18b1fc,_0x1cd02a,_0x593472){const _0x2a3288=_0x17f937;let _0x869a09=_0x13c450(_0x18b1fc,_0x1cd02a),_0x15bfcb=_0x13c450(_0x18b1fc,_0x1cd02a===_0x593472?_0x593472:Math[_0x2a3288(0x1dd)](_0x1cd02a,_0x593472-0x1));if(_0x869a09||_0x15bfcb){if(!_0x869a09||!_0x15bfcb||_0x869a09['startTokenOffset']!==_0x15bfcb[_0x2a3288(0x1d1)]||_0x869a09[_0x2a3288(0x1bc)]!==_0x15bfcb[_0x2a3288(0x1bc)])throw new _0x48250c();return _0x869a09;}}function _0x13c450(_0x141df9,_0x16b373){const _0x33652c=_0x17f937;let _0x3f7c97=_0x141df9[_0x33652c(0x146)],_0x48e155=-0x1;for(let _0x283173=Math[_0x33652c(0x163)](_0x16b373,_0x3f7c97[_0x33652c(0x1a4)]-0x1);_0x283173>=0x0;_0x283173--){let _0x594011=_0x3f7c97[_0x283173];if(_0x594011===_0x287336[_0x33652c(0x1cf)]['TABLE_CELL_END'])return;if(_0x594011===_0x287336[_0x33652c(0x1cf)][_0x33652c(0x143)]){_0x48e155=_0x283173;break;}}if(_0x48e155<0x0)return;let _0x81caff=_0x3f7c97['indexOf'](_0x287336[_0x33652c(0x1cf)][_0x33652c(0x1b6)],_0x48e155+0x1);if(!(_0x81caff<0x0||_0x16b373<_0x48e155+0x1||_0x16b373>_0x81caff-0x1))return{'startOffset':_0x48e155+0x1,'endOffset':Math[_0x33652c(0x1dd)](_0x48e155+0x1,_0x81caff-0x1),'startTokenOffset':_0x48e155,'endTokenOffset':_0x81caff};}function _0x234952(_0x4ff01f){const _0x2a6001=_0x17f937;return(0x0,_0x287336[_0x2a6001(0x1db)])(_0x4ff01f)[_0x2a6001(0x173)]-0x1;}function _0x3d0ca4(_0x3afa11,_0x5ec8a0,_0x22660a,_0x12f80a){const _0x3cc182=_0x17f937;let _0x5c6be3=_0x234952(_0x5ec8a0),_0x468cb5=(_0x3afa11[_0x3cc182(0x13d)]??[])['find'](_0x27c51d=>_0x27c51d['startIndex']===_0x5c6be3+0x1);if(!_0x468cb5||_0x12f80a!=null&&_0x468cb5[_0x3cc182(0x14c)]!==_0x12f80a||_0x22660a!=null&&(_0x22660a<_0x5c6be3||_0x22660a>_0x468cb5['startIndex']+0x1)||_0x3afa11[_0x3cc182(0x146)][_0x468cb5[_0x3cc182(0x14c)]]!==_0x287336['DataStreamTreeTokenType'][_0x3cc182(0x11a)])return null;let _0x540657=(0x0,_0x287336[_0x3cc182(0x16f)])(_0x3afa11,_0x468cb5),_0x3cd10d=_0x3afa11['dataStream'][_0x3cc182(0x164)](_0x540657,_0x468cb5[_0x3cc182(0x14c)]);return Array[_0x3cc182(0x1ce)](_0x3cd10d)[_0x3cc182(0x1d5)](_0x5bad96=>_0x5bad96===_0x287336[_0x3cc182(0x1cf)][_0x3cc182(0x1cd)])?{'paragraph':_0x468cb5,'endTokenOffset':_0x5c6be3}:null;}function _0x4d9347(_0x2eaed3,_0x3c9299){const _0x4b7c0e=_0x17f937;var _0x474b1b;let _0x4c5ca5=_0x234952(_0x3c9299),_0x3028aa=_0x2eaed3['dataStream'][_0x4c5ca5+0x1];(_0x3028aa===_0x287336['DataStreamTreeTokenType'][_0x4b7c0e(0x160)]||_0x3028aa===void 0x0)&&_0x26b162(_0x2eaed3,_0x4c5ca5+0x1,_0x287336['DataStreamTreeTokenType'][_0x4b7c0e(0x11a)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x287336[_0x4b7c0e(0x176)])(new Set((_0x474b1b=_0x2eaed3[_0x4b7c0e(0x13d)])==null?void 0x0:_0x474b1b[_0x4b7c0e(0x131)](_0x48b9b8=>_0x48b9b8['paragraphId'])))}]});}function _0x26b162(_0x1bfddf,_0x4a7030,_0x4e6fd1,_0x27ee03={}){const _0x14976b=_0x17f937;var _0x4b8161,_0x3e37e8;_0x4e6fd1&&(_0x1bfddf[_0x14976b(0x146)]=''+_0x1bfddf[_0x14976b(0x146)][_0x14976b(0x164)](0x0,_0x4a7030)+_0x4e6fd1+_0x1bfddf[_0x14976b(0x146)]['slice'](_0x4a7030),_0x258180(_0x1bfddf,_0x4a7030,_0x4e6fd1[_0x14976b(0x1a4)]),(_0x4b8161=_0x27ee03[_0x14976b(0x13d)])!=null&&_0x4b8161['length']&&(_0x1bfddf[_0x14976b(0x13d)]=[..._0x1bfddf[_0x14976b(0x13d)]??[],..._0x27ee03[_0x14976b(0x13d)][_0x14976b(0x131)](_0x35ce58=>({..._0x35ce58,'startIndex':_0x35ce58[_0x14976b(0x14c)]+_0x4a7030}))]['sort']((_0x202625,_0x3cce79)=>_0x202625[_0x14976b(0x14c)]-_0x3cce79[_0x14976b(0x14c)])),(_0x3e37e8=_0x27ee03[_0x14976b(0x1a6)])!=null&&_0x3e37e8[_0x14976b(0x1a4)]&&(_0x1bfddf[_0x14976b(0x1a6)]=[..._0x1bfddf[_0x14976b(0x1a6)]??[],..._0x27ee03['blockRanges']['map'](_0x24d103=>({..._0x24d103,'startIndex':_0x24d103[_0x14976b(0x14c)]+_0x4a7030,'endIndex':_0x24d103['endIndex']+_0x4a7030}))]['sort']((_0x3da722,_0x152de2)=>_0x3da722['startIndex']-_0x152de2['startIndex'])));}function _0x3662ab(_0x567ae0,_0x5765b8,_0x24974e){const _0x350684=_0x17f937;let _0x5ed420=_0x24974e-_0x5765b8;_0x567ae0['dataStream']=''+_0x567ae0[_0x350684(0x146)][_0x350684(0x164)](0x0,_0x5765b8)+_0x567ae0[_0x350684(0x146)]['slice'](_0x24974e),_0x3c6be5(_0x567ae0,_0x5765b8,_0x5ed420);}function _0x258180(_0x5add6b,_0x2c9f09,_0x410cf9){const _0x31c0ba=_0x17f937;_0x5add6b[_0x31c0ba(0x13d)]=_0x18eac8(_0x5add6b[_0x31c0ba(0x13d)],_0x2c9f09,_0x410cf9),_0x5add6b['sectionBreaks']=_0x18eac8(_0x5add6b[_0x31c0ba(0x14d)],_0x2c9f09,_0x410cf9),_0x5add6b['customBlocks']=_0x18eac8(_0x5add6b['customBlocks'],_0x2c9f09,_0x410cf9),_0x5add6b['textRuns']=_0x3002c4(_0x5add6b[_0x31c0ba(0x1ec)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x170)]=_0x184e3e(_0x5add6b[_0x31c0ba(0x170)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x190)]=_0x32bc75(_0x5add6b[_0x31c0ba(0x190)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x15d)]=_0x32bc75(_0x5add6b['customRanges'],_0x2c9f09,_0x410cf9),_0x5add6b['customDecorations']=_0x32bc75(_0x5add6b[_0x31c0ba(0x1de)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x1a6)]=_0x32bc75(_0x5add6b['blockRanges'],_0x2c9f09,_0x410cf9);}function _0x3c6be5(_0x33800f,_0x52abf4,_0x3e65dc){const _0x3f9ca4=_0x17f937;var _0x448d7a,_0x1dd5e5;_0x33800f[_0x3f9ca4(0x13d)]=_0x934631(_0x33800f[_0x3f9ca4(0x13d)],_0x52abf4,_0x3e65dc),_0x33800f['sectionBreaks']=_0x934631(_0x33800f[_0x3f9ca4(0x14d)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x125)]=_0x934631(_0x33800f['customBlocks'],_0x52abf4,_0x3e65dc),_0x33800f['textRuns']=(_0x448d7a=_0x536bce((_0x1dd5e5=_0x33800f[_0x3f9ca4(0x1ec)])==null?void 0x0:_0x1dd5e5['map'](_0x479b76=>({..._0x479b76,'startIndex':_0x479b76['st'],'endIndex':_0x479b76['ed']})),_0x52abf4,_0x3e65dc))==null?void 0x0:_0x448d7a[_0x3f9ca4(0x131)](_0x3f02c8=>{let {startIndex:_0x54e155,endIndex:_0x39667f,..._0x29556e}=_0x3f02c8;return{..._0x29556e,'st':_0x54e155,'ed':_0x39667f};}),_0x33800f[_0x3f9ca4(0x170)]=_0x536bce(_0x33800f[_0x3f9ca4(0x170)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x190)]=_0x26c7a1(_0x33800f[_0x3f9ca4(0x190)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x15d)]=_0x26c7a1(_0x33800f['customRanges'],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x1de)]=_0x26c7a1(_0x33800f[_0x3f9ca4(0x1de)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x1a6)]=_0x26c7a1(_0x33800f['blockRanges'],_0x52abf4,_0x3e65dc);}function _0x18eac8(_0x366d90,_0x64cd4,_0x5ccec2){const _0x2e47af=_0x17f937;return _0x366d90==null?void 0x0:_0x366d90['map'](_0xb4b4e9=>_0xb4b4e9[_0x2e47af(0x14c)]>=_0x64cd4?{..._0xb4b4e9,'startIndex':_0xb4b4e9[_0x2e47af(0x14c)]+_0x5ccec2}:_0xb4b4e9);}function _0x934631(_0x3def47,_0x57f2ed,_0x893f8f){const _0x43cae3=_0x17f937;let _0x2cb3e2=_0x57f2ed+_0x893f8f;return _0x3def47==null?void 0x0:_0x3def47[_0x43cae3(0x131)](_0x2db5fa=>_0x2db5fa['startIndex']>=_0x57f2ed&&_0x2db5fa[_0x43cae3(0x14c)]<_0x2cb3e2?null:_0x2db5fa['startIndex']>=_0x2cb3e2?{..._0x2db5fa,'startIndex':_0x2db5fa['startIndex']-_0x893f8f}:_0x2db5fa)[_0x43cae3(0x1ee)](_0x2eb082=>_0x2eb082!=null);}function _0x3002c4(_0x4418e9,_0x4f88ee,_0x5a8372){const _0x1267a2=_0x17f937;return _0x4418e9==null?void 0x0:_0x4418e9[_0x1267a2(0x131)](_0x1dff4f=>_0x1dff4f['st']>=_0x4f88ee?{..._0x1dff4f,'st':_0x1dff4f['st']+_0x5a8372,'ed':_0x1dff4f['ed']+_0x5a8372}:_0x1dff4f['ed']>_0x4f88ee?{..._0x1dff4f,'ed':_0x1dff4f['ed']+_0x5a8372}:_0x1dff4f);}function _0x32bc75(_0x38c31c,_0x420a28,_0x1fe4ba){const _0x1bcd1f=_0x17f937;return _0x38c31c==null?void 0x0:_0x38c31c[_0x1bcd1f(0x131)](_0x18adca=>(0x0,_0x287336['shiftInclusiveRangeOnInsert'])(_0x18adca,_0x420a28,_0x1fe4ba));}function _0x184e3e(_0x32755b,_0x3df146,_0x10b933){const _0x5302f3=_0x17f937;return _0x32755b==null?void 0x0:_0x32755b[_0x5302f3(0x131)](_0x103585=>(0x0,_0x287336['shiftExclusiveRangeOnInsert'])(_0x103585,_0x3df146,_0x10b933));}function _0x26c7a1(_0x3ce583,_0x27ff4e,_0xe35e1c){const _0x3ae43d=_0x17f937;return _0x3ce583==null?void 0x0:_0x3ce583['map'](_0x4f85b2=>(0x0,_0x287336[_0x3ae43d(0x1c8)])(_0x4f85b2,_0x27ff4e,_0xe35e1c))[_0x3ae43d(0x1ee)](_0x49a646=>_0x49a646!=null);}function _0x536bce(_0x4ab9b8,_0x19de90,_0x3e79fe){const _0x357efa=_0x17f937;return _0x4ab9b8==null?void 0x0:_0x4ab9b8[_0x357efa(0x131)](_0x566278=>(0x0,_0x287336[_0x357efa(0x129)])(_0x566278,_0x19de90,_0x3e79fe))[_0x357efa(0x1ee)](_0xfc8079=>_0xfc8079!=null);}let _0x397e56={'id':'docs-code.command.insert-below','type':_0x287336['CommandType'][_0x17f937(0x1c0)],'handler':_0x9b8e8d=>{const _0x303549=_0x17f937;var _0x4208ae;if((0x0,_0x52e8eb[_0x303549(0x1e8)])(_0xf0399b(_0x9b8e8d)))return!0x1;let _0x2d2c32=(0x0,_0x52e8eb[_0x303549(0x152)])(_0x9b8e8d);if(_0x2d2c32)return _0x9b8e8d[_0x303549(0x1b4)](_0x287336['ICommandService'])[_0x303549(0x155)](_0x4958fe['id'],{'startOffset':_0x2d2c32[_0x303549(0x1ad)],'endOffset':_0x2d2c32[_0x303549(0x173)],'insertionMode':_0x303549(0x168),'unitId':_0x2d2c32[_0x303549(0x165)]});let _0x13239c=_0x4d79cd(_0x9b8e8d);if(!_0x13239c)return!0x1;let _0x312dc9=(_0x4208ae=_0x9b8e8d[_0x303549(0x1b4)](_0x287336['IUniverInstanceService'])[_0x303549(0x1ac)](_0x287336[_0x303549(0x1b2)][_0x303549(0x135)]))==null?void 0x0:_0x4208ae[_0x303549(0x194)](),_0xd1e41f=_0x312dc9?(0x0,_0x287336[_0x303549(0x1bd)])(_0x312dc9,_0x13239c):_0x13239c[_0x303549(0x14c)]+0x1;return _0x9b8e8d[_0x303549(0x1b4)](_0x287336[_0x303549(0x1b5)])[_0x303549(0x155)](_0x4958fe['id'],{'startOffset':_0xd1e41f,'endOffset':_0xd1e41f});}},_0x30e243={'id':_0x17f937(0x1ef),'type':_0x287336['CommandType'][_0x17f937(0x1c0)],'handler':()=>!0x0},_0x4958fe={'id':'docs-code.command.insert','type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x1c0)],'handler':(_0x32fe54,_0x2da430)=>{const _0x27dad3=_0x17f937;let _0x3db17e=_0x29661d(_0x32fe54,_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x165)]);if(!_0x3db17e)return!0x1;let _0x20fc19=_0xf0399b(_0x32fe54);if((0x0,_0x52e8eb[_0x27dad3(0x1e8)])(_0x20fc19))return!0x1;let _0x1ac2c7=_0x3db17e[_0x27dad3(0x11b)][_0x27dad3(0x149)](_0x3db17e[_0x27dad3(0x165)]),_0xf965db=_0x5d2744(_0x2da430,_0x20fc19),_0x441ca1=_0x19e9a7(_0x3db17e[_0x27dad3(0x1a3)],_0xf965db);if(_0x441ca1){if(_0x441ca1[_0x27dad3(0x13e)]!==_0x287336[_0x27dad3(0x1d7)][_0x27dad3(0x1df)])return!0x1;let _0xd36399=_0x55f4d4({'blockId':_0x441ca1[_0x27dad3(0x171)],'documentData':_0x3db17e[_0x27dad3(0x1a3)],'metadata':_0x1ac2c7});if(!_0xd36399)return!0x1;let _0x506c1d=_0x44c178(_0x3db17e[_0x27dad3(0x18f)],_0x3db17e['selectionManager'],_0x3db17e[_0x27dad3(0x165)],_0x3db17e[_0x27dad3(0x1a3)],_0xd36399[_0x27dad3(0x169)],_0x4958fe['id'],_0xd36399[_0x27dad3(0x117)]);return _0x506c1d&&_0xd36399['nextMetadata']&&_0x3db17e[_0x27dad3(0x11b)]['deserialize'](_0x3db17e[_0x27dad3(0x165)],_0xd36399['nextMetadata']),_0x506c1d;}let _0x4002e5=(_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x171)])??(0x0,_0x287336['generateRandomId'])(0x6),_0x44b682;try{_0x44b682=_0x5d96e1({'blockId':_0x4002e5,'config':_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x18b)],'documentData':_0x3db17e[_0x27dad3(0x1a3)],'endOffset':_0xf965db==null?void 0x0:_0xf965db[_0x27dad3(0x173)],'insertionMode':_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x123)],'metadata':_0x1ac2c7,'startOffset':_0xf965db==null?void 0x0:_0xf965db[_0x27dad3(0x1ad)]});}catch(_0x152c01){if(_0x152c01 instanceof _0x48250c)return!0x1;throw _0x152c01;}let _0x8e5fa=_0x44c178(_0x3db17e[_0x27dad3(0x18f)],_0x3db17e[_0x27dad3(0x1b8)],_0x3db17e[_0x27dad3(0x165)],_0x3db17e[_0x27dad3(0x1a3)],_0x44b682['nextDocumentData'],_0x4958fe['id'],_0x44b682[_0x27dad3(0x117)]);return _0x8e5fa&&_0x44b682[_0x27dad3(0x199)]&&_0x3db17e['model'][_0x27dad3(0x130)](_0x3db17e['unitId'],_0x44b682[_0x27dad3(0x199)]),_0x8e5fa;}},_0x1e59d6={'id':_0x17f937(0x15f),'type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x1c0)],'handler':(_0x567cf8,_0x2d6356)=>{const _0x1fcc47=_0x17f937;if(!_0x2d6356)return!0x1;let _0x495a89=_0x29661d(_0x567cf8,_0x2d6356['unitId']);if(!_0x495a89)return!0x1;let _0x197dc7=_0x1d997a({'blockId':_0x2d6356[_0x1fcc47(0x171)],'config':_0x2d6356[_0x1fcc47(0x18b)],'documentData':_0x495a89[_0x1fcc47(0x1a3)],'metadata':_0x495a89[_0x1fcc47(0x11b)][_0x1fcc47(0x149)](_0x495a89['unitId'])});return _0x197dc7[_0x1fcc47(0x199)]&&_0x495a89[_0x1fcc47(0x11b)]['deserialize'](_0x495a89[_0x1fcc47(0x165)],_0x197dc7[_0x1fcc47(0x199)]),!0x0;}},_0x1d61ad={'id':'docs-code.command.exit','type':_0x287336['CommandType'][_0x17f937(0x1c0)],'handler':(_0x9953d8,_0x2be7ee)=>_0x571e54['handler'](_0x9953d8,_0x2be7ee)},_0x571e54={'id':_0x17f937(0x1b0),'type':_0x287336[_0x17f937(0x1d6)]['COMMAND'],'handler':(_0x1a9380,_0x1eadce)=>{const _0x5434bf=_0x17f937;if(!_0x1eadce)return!0x1;let _0x175bc5=_0x29661d(_0x1a9380,_0x1eadce==null?void 0x0:_0x1eadce['unitId']);if(!_0x175bc5)return!0x1;let _0x59f8aa=_0x55f4d4({'blockId':_0x1eadce[_0x5434bf(0x171)],'documentData':_0x175bc5[_0x5434bf(0x1a3)],'metadata':_0x175bc5[_0x5434bf(0x11b)][_0x5434bf(0x149)](_0x175bc5[_0x5434bf(0x165)])});if(!_0x59f8aa)return!0x1;let _0x52d1f3=_0x44c178(_0x175bc5[_0x5434bf(0x18f)],_0x175bc5[_0x5434bf(0x1b8)],_0x175bc5[_0x5434bf(0x165)],_0x175bc5[_0x5434bf(0x1a3)],_0x59f8aa['nextDocumentData'],_0x571e54['id'],_0x59f8aa['cursorOffset']);return _0x52d1f3&&_0x59f8aa['nextMetadata']&&_0x175bc5[_0x5434bf(0x11b)][_0x5434bf(0x130)](_0x175bc5[_0x5434bf(0x165)],_0x59f8aa[_0x5434bf(0x199)]),_0x52d1f3;}},_0x26e9e0={'id':_0x17f937(0x180),'type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x1c0)],'handler':(_0x2eb5d6,_0x311fe1)=>{const _0x281b91=_0x17f937;if(!_0x311fe1)return!0x1;let _0x5349d2=_0x29661d(_0x2eb5d6,_0x311fe1==null?void 0x0:_0x311fe1[_0x281b91(0x165)]);if(!_0x5349d2)return!0x1;let _0x3c834d=_0x5ff1ac({'blockId':_0x311fe1[_0x281b91(0x171)],'documentData':_0x5349d2[_0x281b91(0x1a3)],'metadata':_0x5349d2[_0x281b91(0x11b)][_0x281b91(0x149)](_0x5349d2[_0x281b91(0x165)])});if(!_0x3c834d)return!0x1;let _0x169f85=_0x44c178(_0x5349d2['commandService'],_0x5349d2['selectionManager'],_0x5349d2[_0x281b91(0x165)],_0x5349d2[_0x281b91(0x1a3)],_0x3c834d[_0x281b91(0x169)],_0x26e9e0['id'],_0x3c834d[_0x281b91(0x117)]);return _0x169f85&&_0x3c834d[_0x281b91(0x199)]&&_0x5349d2[_0x281b91(0x11b)][_0x281b91(0x130)](_0x5349d2[_0x281b91(0x165)],_0x3c834d[_0x281b91(0x199)]),_0x169f85;}},_0x5e814c={'id':_0x17f937(0x1c2),'type':_0x287336[_0x17f937(0x1d6)]['COMMAND'],'handler':(_0x2d5bb5,_0x7776d5)=>{const _0x3b81ce=_0x17f937;var _0x2f314a;let _0x591d11=_0x29661d(_0x2d5bb5,_0x7776d5==null?void 0x0:_0x7776d5['unitId']);if(!_0x591d11)return!0x1;let _0x1589e6=(_0x7776d5==null?void 0x0:_0x7776d5[_0x3b81ce(0x117)])??((_0x2f314a=_0xf0399b(_0x2d5bb5))==null?void 0x0:_0x2f314a[_0x3b81ce(0x1ad)]);if(_0x1589e6==null)return!0x1;let _0x427378=_0x505bd2({'cursorOffset':_0x1589e6,'documentData':_0x591d11[_0x3b81ce(0x1a3)],'paragraphStartIndex':_0x7776d5==null?void 0x0:_0x7776d5[_0x3b81ce(0x141)]});return _0x427378?_0x44c178(_0x591d11[_0x3b81ce(0x18f)],_0x591d11['selectionManager'],_0x591d11['unitId'],_0x591d11['previousDocumentData'],_0x427378[_0x3b81ce(0x169)],_0x5e814c['id'],_0x427378[_0x3b81ce(0x117)]):!0x1;}};function _0x29661d(_0x103ec2,_0x2715b8){const _0x15a5fa=_0x17f937;let _0x530d53=_0x103ec2[_0x15a5fa(0x1b4)](_0x287336[_0x15a5fa(0x17e)]),_0x233b47=_0x2715b8?_0x530d53['getUnit'](_0x2715b8,_0x287336[_0x15a5fa(0x1b2)]['UNIVER_DOC']):_0x530d53[_0x15a5fa(0x1ac)](_0x287336['UniverInstanceType'][_0x15a5fa(0x135)]);return _0x233b47?{'commandService':_0x103ec2[_0x15a5fa(0x1b4)](_0x287336[_0x15a5fa(0x1b5)]),'model':_0x103ec2['get'](_0x4bb020),'previousDocumentData':_0x233b47[_0x15a5fa(0x1d0)](),'selectionManager':_0x103ec2[_0x15a5fa(0x1b4)](_0x52e8eb[_0x15a5fa(0x118)]),'unitId':_0x233b47[_0x15a5fa(0x181)]()}:null;}function _0xf0399b(_0x5dbd18){const _0xdb29a1=_0x17f937;var _0x1993e2;return(_0x1993e2=_0x5dbd18['get'](_0x52e8eb[_0xdb29a1(0x118)])[_0xdb29a1(0x15b)]())==null?void 0x0:_0x1993e2[0x0];}function _0x5d2744(_0x47ffbe,_0x196909){const _0x1642ba=_0x17f937;let _0x584ae6=(_0x47ffbe==null?void 0x0:_0x47ffbe[_0x1642ba(0x1ad)])??(_0x196909==null?void 0x0:_0x196909[_0x1642ba(0x1ad)]),_0x1c8450=(_0x47ffbe==null?void 0x0:_0x47ffbe[_0x1642ba(0x173)])??(_0x196909==null?void 0x0:_0x196909['endOffset']);if(_0x584ae6!=null&&_0x1c8450!=null)return{'endOffset':Math['max'](_0x584ae6,_0x1c8450),'startOffset':Math[_0x1642ba(0x163)](_0x584ae6,_0x1c8450)};}function _0x19e9a7(_0x38dd07,_0x351f2b){const _0x3ae652=_0x17f937;var _0x547a4a;if(!_0x351f2b)return;let _0x204e2f=_0x35a18b(_0x351f2b);return(_0x547a4a=_0x38dd07[_0x3ae652(0x1a7)])==null||(_0x547a4a=_0x547a4a['blockRanges'])==null?void 0x0:_0x547a4a[_0x3ae652(0x13c)](_0x5a6c74=>{const _0x4e21f5=_0x3ae652;let _0x1d4f12=(0x0,_0x287336[_0x4e21f5(0x1db)])(_0x5a6c74);return _0x351f2b[_0x4e21f5(0x1ad)]===_0x351f2b[_0x4e21f5(0x173)]?(0x0,_0x287336['containsInteriorInsertionOffset'])(_0x1d4f12,_0x204e2f):(0x0,_0x287336[_0x4e21f5(0x1ca)])(_0x1d4f12,_0x204e2f);});}function _0x35a18b(_0x205130){const _0x252e33=_0x17f937;return _0x205130['startOffset']===_0x205130[_0x252e33(0x173)]?_0x205130['startOffset']:_0x205130[_0x252e33(0x1ad)]+0x1;}function _0x4d79cd(_0x33bd1d){const _0x450dea=_0x17f937;let _0x221b80=_0xf0399b(_0x33bd1d);if(!_0x221b80)return null;let _0x4d6a5d=_0x33bd1d['get'](_0x287336['IUniverInstanceService'])[_0x450dea(0x1ac)](_0x287336[_0x450dea(0x1b2)][_0x450dea(0x135)]),_0x32faff=_0x4d6a5d==null?void 0x0:_0x4d6a5d[_0x450dea(0x194)]();return _0x32faff?_0x287336[_0x450dea(0x113)][_0x450dea(0x121)]['getParagraphsInRange'](_0x221b80,_0x32faff[_0x450dea(0x13d)]??[],_0x32faff['dataStream']??'')[0x0]??null:null;}function _0x3b31b8(_0x64acab,_0x1a9600){const _0x11c9a9=_0x17f937;let _0x40a4d9=_0x64acab[_0x11c9a9(0x1a7)],_0x1a93e9=_0x1a9600['body'],_0x11793d=(0x0,_0x287336[_0x11c9a9(0x1be)])(_0x40a4d9,_0x1a93e9);return[_0x11793d&&_0x1a93e9?_0x5509d2(_0x1a93e9,_0x11793d):null,_0x11793d?null:_0x398a6c(_0x40a4d9,_0x1a93e9)][_0x11c9a9(0x1ee)](Boolean)['reduce']((_0x20b717,_0x2086c5)=>_0x287336['JSONX'][_0x11c9a9(0x151)](_0x20b717,_0x2086c5),null);}function _0x5509d2(_0x40659d,_0x72bfcb){const _0xeaf65=_0x17f937;let _0x4dad87=new _0x287336[(_0xeaf65(0x172))]();return _0x4dad87[_0xeaf65(0x142)](_0x72bfcb['start']),_0x72bfcb[_0xeaf65(0x16e)]>0x0&&_0x4dad87['insert'](_0x72bfcb['insertLength'],(0x0,_0x287336[_0xeaf65(0x188)])(_0x40659d,_0x72bfcb[_0xeaf65(0x145)],_0x72bfcb['start']+_0x72bfcb[_0xeaf65(0x16e)],!0x1)),_0x72bfcb[_0xeaf65(0x17b)]>0x0&&_0x4dad87[_0xeaf65(0x192)](_0x72bfcb[_0xeaf65(0x17b)]),_0x287336[_0xeaf65(0x133)][_0xeaf65(0x138)]()[_0xeaf65(0x1af)](_0x4dad87[_0xeaf65(0x149)](),['body']);}function _0x398a6c(_0x24316e,_0x4ecdad){const _0x1f5258=_0x17f937;let _0x1570d4=[],_0x27e8d4=_0x24316e?_0x169f18(_0x24316e):void 0x0,_0x29a383=_0x4ecdad?_0x169f18(_0x4ecdad):void 0x0;for(let _0x3bfd9a of _0x49f0bf)_0x376a28(_0x287336[_0x1f5258(0x133)][_0x1f5258(0x138)](),[_0x1f5258(0x1a7),_0x3bfd9a],_0x27e8d4==null?void 0x0:_0x27e8d4[_0x3bfd9a],_0x29a383==null?void 0x0:_0x29a383[_0x3bfd9a],_0x1570d4);return _0x1570d4['reduce']((_0x362c3b,_0x2cd4ba)=>_0x287336[_0x1f5258(0x133)][_0x1f5258(0x151)](_0x362c3b,_0x2cd4ba),null);}let _0x49f0bf=[_0x17f937(0x13d),_0x17f937(0x14d),_0x17f937(0x170),_0x17f937(0x190),_0x17f937(0x1a6),'customBlocks',_0x17f937(0x15d),'customDecorations',_0x17f937(0x1ec)];function _0x169f18(_0x30e04b){return _0x30e04b;}function _0x376a28(_0x213875,_0x56a882,_0x3713c6,_0x56b3d9,_0x3e9113){const _0x3abc19=_0x17f937;_0x3d9a3f(_0x3713c6,_0x56b3d9)||(_0x3713c6==null?_0x3e9113[_0x3abc19(0x124)](_0x213875[_0x3abc19(0x126)](_0x56a882,_0x56b3d9)):_0x56b3d9==null?_0x3e9113[_0x3abc19(0x124)](_0x213875[_0x3abc19(0x14b)](_0x56a882,_0x3713c6)):Array[_0x3abc19(0x19c)](_0x3713c6)&&Array[_0x3abc19(0x19c)](_0x56b3d9)?_0x2d1630(_0x213875,_0x56a882,_0x3713c6,_0x56b3d9,_0x3e9113):_0x1827b3(_0x3713c6)&&_0x1827b3(_0x56b3d9)?new Set([...Object[_0x3abc19(0x1c6)](_0x3713c6),...Object[_0x3abc19(0x1c6)](_0x56b3d9)])[_0x3abc19(0x1b9)](_0x3877db=>{_0x376a28(_0x213875,[..._0x56a882,_0x3877db],_0x3713c6[_0x3877db],_0x56b3d9[_0x3877db],_0x3e9113);}):_0x3e9113[_0x3abc19(0x124)](_0x213875[_0x3abc19(0x19b)](_0x56a882,_0x3713c6,_0x56b3d9)));}function _0x2d1630(_0x5307b2,_0x65bb6e,_0x30a06b,_0x2752e0,_0x2315e5){const _0x2703e3=_0x17f937;if(_0x30a06b[_0x2703e3(0x1a4)]===_0x2752e0[_0x2703e3(0x1a4)]){_0x30a06b['forEach']((_0x49f1b4,_0x565737)=>_0x376a28(_0x5307b2,[..._0x65bb6e,_0x565737],_0x49f1b4,_0x2752e0[_0x565737],_0x2315e5));return;}let _0x392932=0x0;for(;_0x392932<_0x30a06b['length']&&_0x392932<_0x2752e0[_0x2703e3(0x1a4)]&&_0x3d9a3f(_0x30a06b[_0x392932],_0x2752e0[_0x392932]);)_0x392932++;let _0x3044e2=_0x30a06b['length']-0x1,_0x2729a2=_0x2752e0[_0x2703e3(0x1a4)]-0x1;for(;_0x3044e2>=_0x392932&&_0x2729a2>=_0x392932&&_0x3d9a3f(_0x30a06b[_0x3044e2],_0x2752e0[_0x2729a2]);)_0x3044e2--,_0x2729a2--;for(let _0x2b0242=_0x3044e2;_0x2b0242>=_0x392932;_0x2b0242--)_0x2315e5[_0x2703e3(0x124)](_0x5307b2['removeOp']([..._0x65bb6e,_0x2b0242],_0x30a06b[_0x2b0242]));for(let _0x190f27=_0x392932;_0x190f27<=_0x2729a2;_0x190f27++)_0x2315e5[_0x2703e3(0x124)](_0x5307b2['insertOp']([..._0x65bb6e,_0x190f27],_0x2752e0[_0x190f27]));}function _0x1827b3(_0x415580){const _0x180d89=_0x17f937;return typeof _0x415580==_0x180d89(0x140)&&!!_0x415580&&!Array[_0x180d89(0x19c)](_0x415580);}function _0x3d9a3f(_0x3f4313,_0x3aa8cc){const _0x2474a4=_0x17f937;return JSON[_0x2474a4(0x197)](_0x3f4313)===JSON[_0x2474a4(0x197)](_0x3aa8cc);}function _0x44c178(_0x442543,_0x5abd61,_0x537c4b,_0x21c6db,_0x46c4d5,_0x462799,_0x565fe9){const _0x53f953=_0x17f937;let _0x1e4da9=_0x3b31b8(_0x21c6db,_0x46c4d5);return _0x1e4da9?!!_0x442543['syncExecuteCommand'](_0x52e8eb[_0x53f953(0x1ed)]['id'],{'unitId':_0x537c4b,'actions':_0x1e4da9,'textRanges':[{'startOffset':_0x565fe9,'endOffset':_0x565fe9,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x462799}):(_0x5abd61['replaceDocRanges']([{'startOffset':_0x565fe9,'endOffset':_0x565fe9}],{'unitId':_0x537c4b,'subUnitId':_0x537c4b},!0x1),!0x0);}let _0x3c0648=_0x17f937(0x174);var _0x380237='@univerjs-pro/docs-code',_0x139a81=_0x17f937(0x1e9);let _0x49615c={};function _0x36d1a3(_0x48fa1c,_0x4d7c7c){return function(_0x396c2d,_0xd84e4b){_0x4d7c7c(_0x396c2d,_0xd84e4b,_0x48fa1c);};}function _0x201c3a(_0x46effc,_0x39f477,_0x3d2bc8,_0x2fe2ee){const _0x1c5992=_0x17f937;var _0x4eeb5a=arguments[_0x1c5992(0x1a4)],_0x4015af=_0x4eeb5a<0x3?_0x39f477:_0x2fe2ee===null?_0x2fe2ee=Object[_0x1c5992(0x1ba)](_0x39f477,_0x3d2bc8):_0x2fe2ee,_0x4c5173;if(typeof Reflect==_0x1c5992(0x140)&&typeof Reflect[_0x1c5992(0x134)]==_0x1c5992(0x137))_0x4015af=Reflect[_0x1c5992(0x134)](_0x46effc,_0x39f477,_0x3d2bc8,_0x2fe2ee);else{for(var _0x231c34=_0x46effc[_0x1c5992(0x1a4)]-0x1;_0x231c34>=0x0;_0x231c34--)(_0x4c5173=_0x46effc[_0x231c34])&&(_0x4015af=(_0x4eeb5a<0x3?_0x4c5173(_0x4015af):_0x4eeb5a>0x3?_0x4c5173(_0x39f477,_0x3d2bc8,_0x4015af):_0x4c5173(_0x39f477,_0x3d2bc8))||_0x4015af);}return _0x4eeb5a>0x3&&_0x4015af&&Object['defineProperty'](_0x39f477,_0x3d2bc8,_0x4015af),_0x4015af;}let _0x336dc7=class extends _0x287336[_0x17f937(0x159)]{constructor(_0x470e2f,_0x444f7e){const _0x1c6c00=_0x17f937;super(),this[_0x1c6c00(0x148)]=_0x470e2f,this[_0x1c6c00(0x195)]=_0x444f7e,this[_0x1c6c00(0x1e5)]();}['_initResource'](){const _0x25edb5=_0x17f937;this['disposeWithMe'](this[_0x25edb5(0x148)][_0x25edb5(0x14a)]({'pluginName':_0x3c0648,'businesses':[_0x287336[_0x25edb5(0x1b2)][_0x25edb5(0x135)]],'toJson':_0x3dc8b7=>JSON['stringify'](this['_docsCodeModel'][_0x25edb5(0x149)](_0x3dc8b7)),'parseJson':_0x122c4e=>_0x1b5c5c(JSON[_0x25edb5(0x1e6)](_0x122c4e)),'onLoad':(_0x5f5adf,_0x1c5fd3)=>this['_docsCodeModel'][_0x25edb5(0x130)](_0x5f5adf,_0x1c5fd3),'onUnLoad':_0x216ba8=>this[_0x25edb5(0x195)][_0x25edb5(0x1d4)](_0x216ba8)}));}};_0x336dc7=_0x201c3a([_0x36d1a3(0x0,_0x287336[_0x17f937(0x177)]),_0x36d1a3(0x1,(0x0,_0x287336[_0x17f937(0x16b)])(_0x4bb020))],_0x336dc7);let _0x2dcbea=class extends _0x287336['Plugin']{constructor(_0x1070d6=_0x49615c,_0x5b3910,_0x5619b2,_0x3c6ccb){const _0x394ce1=_0x17f937;super(),this[_0x394ce1(0x15c)]=_0x1070d6,this[_0x394ce1(0x1c7)]=_0x5b3910,this['_commandService']=_0x5619b2,this[_0x394ce1(0x157)]=_0x3c6ccb;let {..._0x2844d5}=(0x0,_0x287336[_0x394ce1(0x144)])({},_0x49615c,this[_0x394ce1(0x15c)]);this[_0x394ce1(0x157)]['setConfig'](_0x394ce1(0x18a),_0x2844d5);}[_0x17f937(0x13a)](){const _0x564a89=_0x17f937;this[_0x564a89(0x1c7)][_0x564a89(0x187)]([_0x4bb020]),this['_injector'][_0x564a89(0x187)]([_0x336dc7]),this[_0x564a89(0x1c7)][_0x564a89(0x1b4)](_0x4bb020),this[_0x564a89(0x1c7)][_0x564a89(0x1b4)](_0x336dc7),[_0x4958fe,_0x397e56,_0x1e59d6,_0x571e54,_0x26e9e0,_0x1d61ad,_0x5e814c,_0x30e243,_0x151779,_0x240cc5][_0x564a89(0x1b9)](_0x18f014=>this[_0x564a89(0x1d2)](this[_0x564a89(0x11e)][_0x564a89(0x1c4)](_0x18f014)));}};_0x500cb5(_0x2dcbea,_0x17f937(0x189),_0x3c0648),_0x500cb5(_0x2dcbea,_0x17f937(0x1b1),_0x380237),_0x500cb5(_0x2dcbea,_0x17f937(0x184),_0x139a81),_0x500cb5(_0x2dcbea,_0x17f937(0x1cb),_0x287336[_0x17f937(0x1b2)]['UNIVER_DOC']),_0x2dcbea=_0x201c3a([(0x0,_0x287336[_0x17f937(0x17a)])(_0x1173f1[_0x17f937(0x11f)],_0x52e8eb[_0x17f937(0x1e4)]),_0x36d1a3(0x1,(0x0,_0x287336[_0x17f937(0x16b)])(_0x287336[_0x17f937(0x1aa)])),_0x36d1a3(0x2,_0x287336[_0x17f937(0x1b5)]),_0x36d1a3(0x3,_0x287336[_0x17f937(0x12e)])],_0x2dcbea),_0x31a785[_0x17f937(0x13f)]=_0x3c0648,_0x31a785[_0x17f937(0x1e1)]=_0x5e814c,_0x31a785[_0x17f937(0x120)]=_0x30e243,_0x31a785['DocsCodeInsertBelowCommand']=_0x397e56,_0x31a785[_0x17f937(0x16a)]=_0x4958fe,_0x31a785['DocsCodeModel']=_0x4bb020,_0x31a785['DocsCodeRemoveCommand']=_0x26e9e0,_0x31a785[_0x17f937(0x136)]=_0x571e54,_0x31a785[_0x17f937(0x1a1)]=_0x1e59d6,_0x31a785['RemoveDocsCodeConfigMutation']=_0x240cc5,_0x31a785[_0x17f937(0x1a8)]=_0x151779,Object[_0x17f937(0x11c)](_0x31a785,_0x17f937(0x11d),{'enumerable':!0x0,'get':function(){return _0x2dcbea;}}),_0x31a785[_0x17f937(0x182)]=_0x505bd2,_0x31a785[_0x17f937(0x1c5)]=_0x4c97b8,_0x31a785[_0x17f937(0x127)]=_0x360def,_0x31a785['normalizeDocsCodeMetadataResource']=_0x1b5c5c;}));
1
+ function _0x1e29(_0x5aa66e,_0x3422d9){_0x5aa66e=_0x5aa66e-0x84;const _0xf6f76f=_0xf6f7();let _0x1e29bb=_0xf6f76f[_0x5aa66e];return _0x1e29bb;}(function(_0x235e2a,_0x1eaa45){const _0x32ac00=_0x1e29,_0x3c39a9=_0x235e2a();while(!![]){try{const _0x5c5e3f=parseInt(_0x32ac00(0xb2))/0x1*(-parseInt(_0x32ac00(0x153))/0x2)+parseInt(_0x32ac00(0x110))/0x3*(-parseInt(_0x32ac00(0xb4))/0x4)+parseInt(_0x32ac00(0xa5))/0x5+-parseInt(_0x32ac00(0x149))/0x6*(parseInt(_0x32ac00(0xd7))/0x7)+parseInt(_0x32ac00(0xe6))/0x8+-parseInt(_0x32ac00(0xd6))/0x9*(-parseInt(_0x32ac00(0xbc))/0xa)+parseInt(_0x32ac00(0x12a))/0xb;if(_0x5c5e3f===_0x1eaa45)break;else _0x3c39a9['push'](_0x3c39a9['shift']());}catch(_0x1e0181){_0x3c39a9['push'](_0x3c39a9['shift']());}}}(_0xf6f7,0x90560),function(_0x4a43f6,_0x3d1755){const _0x577aef=_0x1e29;typeof exports=='object'&&typeof module<'u'?_0x3d1755(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x577aef(0xdb)&&define[_0x577aef(0x12b)]?define([_0x577aef(0xf2),'@univerjs/core',_0x577aef(0x11e),_0x577aef(0x121),_0x577aef(0xe0)],_0x3d1755):(_0x4a43f6=typeof globalThis<'u'?globalThis:_0x4a43f6||self,_0x3d1755(_0x4a43f6[_0x577aef(0x14e)]={},_0x4a43f6[_0x577aef(0xb1)],_0x4a43f6['rxjs'],_0x4a43f6[_0x577aef(0x159)],_0x4a43f6[_0x577aef(0x145)]));}(this,function(_0x5e1d62,_0x577be9,_0x22f865,_0x31b33e,_0x352e5e){const _0x38b268=_0x1e29;Object[_0x38b268(0xec)](_0x5e1d62,Symbol[_0x38b268(0x11c)],{'value':'Module'});let _0xa220d9={'language':_0x38b268(0x15e),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x5da2fa(_0x228bbb){return{..._0xa220d9,..._0x228bbb};}function _0x590e98(_0x13fc82){const _0x4174d6=_0x38b268;let _0x375188=(_0x13fc82==null?void 0x0:_0x13fc82[_0x4174d6(0x88)])??{};return{'codes':Object[_0x4174d6(0x116)](Object['entries'](_0x375188)['map'](([_0xf20c4d,_0x3c535b])=>[_0xf20c4d,_0x5da2fa(_0x3c535b)]))};}function _0x22a6ea(_0x39eee6,_0x3e3b89,_0x2f42cc){const _0x1e423b=_0x38b268;let _0x53f7d7=_0x590e98(_0x39eee6);return _0x53f7d7[_0x1e423b(0x88)][_0x3e3b89]=_0x5da2fa({..._0x53f7d7[_0x1e423b(0x88)][_0x3e3b89],..._0x2f42cc}),_0x53f7d7;}function _0x3d2d8e(_0x4d907e,_0x4e6e0e){const _0x3dfeed=_0x38b268;let _0x35f694=_0x590e98(_0x4d907e);return delete _0x35f694[_0x3dfeed(0x88)][_0x4e6e0e],_0x35f694;}function _0x11a924(_0xdc5ff){'@babel/helpers - typeof';return _0x11a924=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x1027a1){return typeof _0x1027a1;}:function(_0x4d3cc5){const _0x4e9db6=_0x1e29;return _0x4d3cc5&&typeof Symbol==_0x4e9db6(0xdb)&&_0x4d3cc5[_0x4e9db6(0x147)]===Symbol&&_0x4d3cc5!==Symbol[_0x4e9db6(0xac)]?_0x4e9db6(0xb6):typeof _0x4d3cc5;},_0x11a924(_0xdc5ff);}function _0x567b57(_0x9c0772,_0x2a8927){const _0x438066=_0x38b268;if(_0x11a924(_0x9c0772)!='object'||!_0x9c0772)return _0x9c0772;var _0x4fb421;if(typeof Symbol<'u'&&(_0x4fb421=_0x9c0772[Symbol['toPrimitive']])!==void 0x0){var _0x42434e=_0x4fb421['call'](_0x9c0772,_0x2a8927||_0x438066(0x15f));if(_0x11a924(_0x42434e)!=_0x438066(0x117))return _0x42434e;throw TypeError(_0x438066(0x137));}return(_0x2a8927==='string'?String:Number)(_0x9c0772);}function _0x1a8a22(_0x4ef239){const _0x513222=_0x38b268;var _0x5720bd=_0x567b57(_0x4ef239,_0x513222(0x148));return _0x11a924(_0x5720bd)==_0x513222(0xb6)?_0x5720bd:_0x5720bd+'';}function _0x188821(_0x27fc05,_0x1d3a16,_0x2709e6){return(_0x1d3a16=_0x1a8a22(_0x1d3a16))in _0x27fc05?Object['defineProperty'](_0x27fc05,_0x1d3a16,{'value':_0x2709e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27fc05[_0x1d3a16]=_0x2709e6,_0x27fc05;}var _0x14cdd9=class extends _0x577be9[_0x38b268(0x10b)]{constructor(..._0xf6d847){const _0x130b98=_0x38b268;super(..._0xf6d847),_0x188821(this,'_resources',new Map()),_0x188821(this,_0x130b98(0xcf),new _0x22f865[(_0x130b98(0x8a))]()),_0x188821(this,_0x130b98(0xa4),this[_0x130b98(0xcf)][_0x130b98(0xc0)]());}[_0x38b268(0x143)](_0x1978a1,_0x11ed7a){const _0x11f0ff=_0x38b268;return _0x590e98(this[_0x11f0ff(0x144)][_0x11f0ff(0xd8)](_0x1978a1))[_0x11f0ff(0x88)][_0x11ed7a];}[_0x38b268(0xc5)](_0x3a5372,_0xaf9ff3,_0x3bd996){const _0x5a2c37=_0x38b268;this[_0x5a2c37(0xf3)](_0x3a5372,_0xaf9ff3,_0x22a6ea(this[_0x5a2c37(0x144)]['get'](_0x3a5372),_0xaf9ff3,_0x3bd996));}[_0x38b268(0x141)](_0x6208ee,_0x370ad7){const _0x1402f9=_0x38b268;this[_0x1402f9(0xf3)](_0x6208ee,_0x370ad7,_0x3d2d8e(this[_0x1402f9(0x144)]['get'](_0x6208ee),_0x370ad7));}[_0x38b268(0xc3)](_0x1eef8e){const _0x17680c=_0x38b268;return _0x590e98(this[_0x17680c(0x144)][_0x17680c(0xd8)](_0x1eef8e));}[_0x38b268(0xbb)](_0xd4bc7,_0x26f5d2){const _0x321d79=_0x38b268;this[_0x321d79(0x144)]['set'](_0xd4bc7,_0x590e98(_0x26f5d2)),this[_0x321d79(0xcf)][_0x321d79(0xad)]({'unitId':_0xd4bc7});}[_0x38b268(0xc4)](_0x46244c){const _0x262860=_0x38b268;this['_resources'][_0x262860(0x96)](_0x46244c),this['_change$'][_0x262860(0xad)]({'unitId':_0x46244c});}[_0x38b268(0x164)](){const _0x10c9c6=_0x38b268;super['dispose'](),this['_resources'][_0x10c9c6(0xe2)](),this[_0x10c9c6(0xcf)][_0x10c9c6(0xce)]();}[_0x38b268(0xf3)](_0x10c75a,_0x23a53c,_0x4326c6){const _0x4dcf69=_0x38b268;this[_0x4dcf69(0x144)][_0x4dcf69(0x154)](_0x10c75a,_0x4326c6),this[_0x4dcf69(0xcf)][_0x4dcf69(0xad)]({'unitId':_0x10c75a,'blockId':_0x23a53c});}};let _0x2063a6={'id':'docs-code.mutation.set-config','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x128)],'handler':(_0x5b22fb,_0x200d8a)=>!(_0x200d8a!=null&&_0x200d8a['unitId'])||!_0x200d8a[_0x38b268(0xe3)]?!0x1:(_0x5b22fb['get'](_0x14cdd9)[_0x38b268(0xc5)](_0x200d8a[_0x38b268(0xfc)],_0x200d8a[_0x38b268(0xe3)],_0x200d8a[_0x38b268(0x140)]),!0x0)},_0x3df94c={'id':_0x38b268(0x126),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x128)],'handler':(_0x56e119,_0x4f85fb)=>!(_0x4f85fb!=null&&_0x4f85fb['unitId'])||!_0x4f85fb[_0x38b268(0xe3)]?!0x1:(_0x56e119[_0x38b268(0xd8)](_0x14cdd9)[_0x38b268(0x141)](_0x4f85fb[_0x38b268(0xfc)],_0x4f85fb[_0x38b268(0xe3)]),!0x0)},_0x4d2949=_0x38b268(0x151);var _0x1de79e=class extends Error{constructor(_0x30d326=_0x38b268(0x157)){super(_0x30d326);}};function _0x3ca3f5(_0x1e3d89){const _0x48c866=_0x38b268;var _0x3a1ce1;let _0x2434b2=_0x1a5cb3(_0x1e3d89[_0x48c866(0x9d)]),_0x268aa5=_0x45225e(_0x2434b2),_0x2f35f1=_0x3c366d(_0x1e3d89['startOffset'],_0x1e3d89[_0x48c866(0xf4)]),_0x48d955=_0x2f35f1?(_0x3a1ce1=_0x268aa5[_0x48c866(0xb9)])==null?void 0x0:_0x3a1ce1[_0x48c866(0xdc)](_0x4721bd=>{const _0xe385ef=_0x48c866;let _0x33b736=(0x0,_0x577be9[_0xe385ef(0xef)])(_0x4721bd);return _0x33b736[_0xe385ef(0x156)]===_0x2f35f1[_0xe385ef(0x156)]&&_0x33b736[_0xe385ef(0xf4)]===_0x2f35f1[_0xe385ef(0xf4)];}):void 0x0,{startOffset:_0x203d75,endOffset:_0x2279c7}=_0x48d955?_0x2f35f1:_0x21cb83(_0x268aa5,_0x1e3d89[_0x48c866(0x156)],_0x1e3d89['endOffset'],_0x1e3d89[_0x48c866(0x9f)]);if(!_0x48d955&&_0x1d9f05(_0x268aa5,_0x203d75,_0x2279c7))throw new _0x1de79e(_0x48c866(0xb3));let _0x38a2e8=_0x525f52(_0x268aa5,_0x203d75,_0x2279c7),_0x31dad2=(_0x48d955==null?void 0x0:_0x48d955[_0x48c866(0xe3)])??_0x1e3d89[_0x48c866(0xe3)],_0x50112a=_0x22a6ea(_0x1e3d89[_0x48c866(0x86)],_0x31dad2,{..._0xa220d9,..._0x1e3d89[_0x48c866(0x140)]});if(_0x48d955)return _0x48d955[_0x48c866(0xe4)]=_0x577be9[_0x48c866(0x130)][_0x48c866(0xf1)],_0x567a5f(_0x268aa5,_0x203d75,_0x2279c7),_0x14e67f(_0x268aa5,_0x203d75,_0x2279c7,_0x38a2e8),_0x32bb95(_0x268aa5,_0x48d955),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};if(_0x203d75===_0x2279c7){var _0x5984bc,_0x5843ec;let _0xa29535=''+_0x577be9['DataStreamTreeTokenType'][_0x48c866(0x109)]+_0x577be9[_0x48c866(0xc2)]['PARAGRAPH']+_0x577be9['DataStreamTreeTokenType'][_0x48c866(0xed)];_0x226a1f(_0x268aa5,_0x203d75,_0xa29535,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x577be9['createParagraphId'])(new Set((_0x5984bc=_0x268aa5[_0x48c866(0xae)])==null?void 0x0:_0x5984bc[_0x48c866(0x14a)](_0x45bb92=>_0x45bb92[_0x48c866(0xbe)]))),'paragraphStyle':_0x5b7847(!0x0,!0x0,_0x38a2e8)}],'blockRanges':[{'blockId':_0x31dad2,'blockType':_0x577be9[_0x48c866(0x130)]['CODE'],'startIndex':0x0,'endIndex':_0xa29535[_0x48c866(0xc6)]-0x1}]});let _0x50c2fe=(_0x5843ec=_0x268aa5['blockRanges'])==null?void 0x0:_0x5843ec['find'](_0x4fac8a=>_0x4fac8a[_0x48c866(0xe3)]===_0x31dad2);return _0x50c2fe&&_0x32bb95(_0x268aa5,_0x50c2fe),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};}_0x226a1f(_0x268aa5,_0x2279c7,_0x577be9[_0x48c866(0xc2)]['BLOCK_END']),_0x226a1f(_0x268aa5,_0x203d75,_0x577be9[_0x48c866(0xc2)]['BLOCK_START']),_0x14e67f(_0x268aa5,_0x203d75,_0x2279c7+0x1,_0x38a2e8);let _0x35eeb4={'blockId':_0x31dad2,'blockType':_0x577be9['DocumentBlockRangeType']['CODE'],'startIndex':_0x203d75,'endIndex':_0x2279c7+0x1};return _0x268aa5[_0x48c866(0xb9)]=[..._0x268aa5[_0x48c866(0xb9)]??[],_0x35eeb4][_0x48c866(0x14b)]((_0x24f9a8,_0x3cbfd1)=>_0x24f9a8[_0x48c866(0xd0)]-_0x3cbfd1[_0x48c866(0xd0)]),_0x32bb95(_0x268aa5,_0x35eeb4),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};}function _0x567a5f(_0x2e2587,_0x1028a2,_0x3239d1){const _0x3ca424=_0x38b268;(_0x2e2587[_0x3ca424(0xae)]??[])[_0x3ca424(0xff)](_0x321e34=>_0x321e34['startIndex']>_0x1028a2&&_0x321e34[_0x3ca424(0xd0)]<_0x3239d1)[_0x3ca424(0x160)](_0x3e6b27=>{const _0x24319f=_0x3ca424;let _0xbf4d9f={..._0x3e6b27[_0x24319f(0x13b)]??{}};delete _0xbf4d9f[_0x24319f(0x8e)],delete _0xbf4d9f[_0x24319f(0x115)],_0x3e6b27[_0x24319f(0x13b)]=_0xbf4d9f;});}function _0x3c366d(_0x35e7bb,_0x556d1e){const _0x364bb2=_0x38b268;return _0x35e7bb==null||_0x556d1e==null||_0x35e7bb===_0x556d1e?null:{'startOffset':Math[_0x364bb2(0xcd)](_0x35e7bb,_0x556d1e),'endOffset':Math[_0x364bb2(0x10f)](_0x35e7bb,_0x556d1e)};}function _0x1d9f05(_0x18af1e,_0x4b0731,_0xb3575){const _0x53afcd=_0x38b268;return(_0x18af1e[_0x53afcd(0xb9)]??[])[_0x53afcd(0x8f)](_0x2b98f2=>{const _0x31989b=_0x53afcd;let _0x5a1725=(0x0,_0x577be9['getBlockRangeInterval'])(_0x2b98f2);return _0x4b0731===_0xb3575?(0x0,_0x577be9[_0x31989b(0xfd)])(_0x5a1725,_0x4b0731):(0x0,_0x577be9[_0x31989b(0xa7)])(_0x5a1725,{'startOffset':_0x4b0731,'endOffset':_0xb3575});});}function _0x5b4eae(_0x2420d2){const _0x4ac1cb=_0x38b268;return{'nextDocumentData':_0x1a5cb3(_0x2420d2['documentData']),'nextMetadata':_0x22a6ea(_0x2420d2[_0x4ac1cb(0x86)],_0x2420d2['blockId'],_0x2420d2[_0x4ac1cb(0x140)]),'cursorOffset':0x0};}function _0x10f0e4(_0x298418){const _0x339231=_0x38b268;let _0x65263d=_0x1a5cb3(_0x298418[_0x339231(0x9d)]),_0x5edc25=_0x45225e(_0x65263d),_0x58ca18=_0x7eee8a(_0x5edc25,_0x298418[_0x339231(0xe3)]);if(!_0x58ca18)return null;let _0x5917bf=_0x547491(_0x5edc25,_0x58ca18);return{'nextDocumentData':_0x65263d,'nextMetadata':_0x3d2d8e(_0x298418[_0x339231(0x86)],_0x298418[_0x339231(0xe3)]),'cursorOffset':_0x5917bf};}function _0x1ef531(_0x34656e){const _0x551d50=_0x38b268;var _0x2efd9d;let _0x2968a0=_0x1a5cb3(_0x34656e[_0x551d50(0x9d)]),_0x31f695=_0x45225e(_0x2968a0),_0x4dee00=_0x7eee8a(_0x31f695,_0x34656e[_0x551d50(0xe3)]);if(!_0x4dee00)return null;let _0x23c2da=(0x0,_0x577be9[_0x551d50(0xef)])(_0x4dee00);return _0x23c4b9(_0x31f695,_0x23c2da[_0x551d50(0x156)],_0x23c2da[_0x551d50(0xf4)]),_0x31f695[_0x551d50(0xb9)]=(_0x2efd9d=_0x31f695['blockRanges'])==null?void 0x0:_0x2efd9d[_0x551d50(0xff)](_0x344c7b=>_0x344c7b[_0x551d50(0xe3)]!==_0x34656e[_0x551d50(0xe3)]),{'nextDocumentData':_0x2968a0,'nextMetadata':_0x3d2d8e(_0x34656e[_0x551d50(0x86)],_0x34656e[_0x551d50(0xe3)]),'cursorOffset':_0x4dee00[_0x551d50(0xd0)]};}function _0x27c5ff(_0x1804ca){const _0x181edd=_0x38b268;let _0x1c4704=_0x1a5cb3(_0x1804ca['documentData']),_0x2c690f=_0x45225e(_0x1c4704),_0x5ad804=_0x658b95(_0x2c690f,_0x1804ca[_0x181edd(0xaa)]);return _0x5ad804&&_0x53b158(_0x1c4704,_0x2c690f,_0x5ad804,_0x1804ca[_0x181edd(0xaa)],_0x1804ca[_0x181edd(0x104)])||null;}function _0x53b158(_0x21c03a,_0x4e08b2,_0x515be7,_0x36e21a,_0x4ecfe6){const _0x4a2616=_0x38b268;let _0x1aa3f2=_0x217a3f(_0x4e08b2,_0x515be7,_0x36e21a,_0x4ecfe6);if(!_0x1aa3f2)return null;let _0xeaea0a=_0x1aa3f2['endTokenOffset']-0x1;return _0x23c4b9(_0x4e08b2,_0x1aa3f2[_0x4a2616(0xa1)][_0x4a2616(0xd0)],_0x1aa3f2[_0x4a2616(0xa1)][_0x4a2616(0xd0)]+0x1),{'nextDocumentData':_0x21c03a,'cursorOffset':_0xeaea0a};}function _0x7eee8a(_0x43c26f,_0x83869f){const _0x31bba8=_0x38b268;var _0x2684ea;return _0x43c26f==null||(_0x2684ea=_0x43c26f[_0x31bba8(0xb9)])==null?void 0x0:_0x2684ea[_0x31bba8(0xdc)](_0x573b20=>_0x573b20[_0x31bba8(0xe4)]===_0x577be9[_0x31bba8(0x130)]['CODE']&&_0x573b20[_0x31bba8(0xe3)]===_0x83869f);}function _0x553e08(_0x113e63){const _0x372d04=_0x38b268;let _0x62eca5=_0x113e63[_0x372d04(0x9d)][_0x372d04(0xc8)];if(!_0x62eca5)return!0x1;let _0x4091d7=_0x113e63['direction']===_0x372d04(0xa3)?_0x113e63[_0x372d04(0xaa)]-0x1:_0x113e63[_0x372d04(0xaa)],_0x474e25=_0x113e63[_0x372d04(0xda)]===_0x372d04(0x84)?_0x113e63[_0x372d04(0xaa)]+0x1:_0x4091d7;return(_0x62eca5[_0x372d04(0xb9)]??[])[_0x372d04(0x8f)](_0x2b4921=>_0x2b4921['blockType']===_0x577be9[_0x372d04(0x130)][_0x372d04(0xf1)]?_0x4091d7===_0x2b4921['startIndex']||_0x4091d7===_0x2b4921[_0x372d04(0xf7)]||_0x474e25===_0x2b4921['startIndex']||_0x474e25===_0x2b4921['endIndex']:!0x1);}function _0x658b95(_0x118404,_0x3c1e43){const _0x4f0dfe=_0x38b268;var _0x50dd29;return(_0x50dd29=_0x118404[_0x4f0dfe(0xb9)])==null?void 0x0:_0x50dd29[_0x4f0dfe(0xdc)](_0x5899a9=>{const _0x3ac19d=_0x4f0dfe;let _0xb200e3=_0x140133(_0x5899a9);return _0x5899a9[_0x3ac19d(0xe4)]===_0x577be9[_0x3ac19d(0x130)]['CODE']&&_0x5899a9[_0x3ac19d(0xd0)]<=_0x3c1e43&&_0x3c1e43<=_0xb200e3+0x2;});}function _0x5b7847(_0x3015dd,_0x471528,_0x1da51b=!0x1){const _0x31752b=_0x38b268;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x577be9[_0x31752b(0x90)]['TRUE'],'keepNext':_0x471528?_0x577be9['BooleanNumber'][_0x31752b(0x129)]:_0x577be9[_0x31752b(0x90)][_0x31752b(0xf8)],'widowControl':_0x577be9[_0x31752b(0x90)][_0x31752b(0xf8)],..._0x3015dd&&_0x1da51b?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x4d2949,'fs':0xc}};}function _0x14e67f(_0x127602,_0x44b468,_0x2ef5fc,_0x57427a=!0x1){const _0x32ff53=_0x38b268;let _0xb058ab=(_0x127602[_0x32ff53(0xae)]??[])['filter'](_0x45c55b=>_0x45c55b[_0x32ff53(0xd0)]>_0x44b468&&_0x45c55b[_0x32ff53(0xd0)]<_0x2ef5fc);_0xb058ab[_0x32ff53(0x160)]((_0x465c20,_0x11d2ce)=>{const _0x585909=_0x32ff53;_0x465c20['paragraphStyle']={..._0x465c20[_0x585909(0x13b)]??{},..._0x5b7847(_0x11d2ce===0x0,_0x11d2ce===_0xb058ab[_0x585909(0xc6)]-0x1,_0x57427a)};});}function _0x4a2e68(_0x23c5cd){const _0x33c8e1=_0x38b268;var _0x2620e2,_0xed9a91;let _0x321c9a={..._0x23c5cd??{}};return delete _0x321c9a[_0x33c8e1(0x15c)],delete _0x321c9a['indentStart'],delete _0x321c9a[_0x33c8e1(0x8e)],delete _0x321c9a['spaceBelow'],delete _0x321c9a[_0x33c8e1(0x15d)],delete _0x321c9a[_0x33c8e1(0x139)],delete _0x321c9a[_0x33c8e1(0x13e)],((_0x2620e2=_0x321c9a[_0x33c8e1(0xf0)])==null?void 0x0:_0x2620e2['ff'])===_0x4d2949&&((_0xed9a91=_0x321c9a[_0x33c8e1(0xf0)])==null?void 0x0:_0xed9a91['fs'])===0xc&&delete _0x321c9a[_0x33c8e1(0xf0)],_0x321c9a;}function _0x24a3fa(_0x2a4d8d,_0x308da7){const _0xfec9e8=_0x38b268;let _0x495ba8=_0x140133(_0x308da7);return(_0x2a4d8d['paragraphs']??[])[_0xfec9e8(0xff)](_0x36934e=>_0x36934e[_0xfec9e8(0xd0)]>_0x308da7['startIndex']&&_0x36934e[_0xfec9e8(0xd0)]<_0x495ba8);}function _0x547491(_0x2e10fc,_0x27cd53){const _0x4c3462=_0x38b268;var _0x3bfa61;let _0x4fa893=_0x140133(_0x27cd53);return _0x24a3fa(_0x2e10fc,_0x27cd53)[_0x4c3462(0x160)](_0x28272f=>{const _0x44a71a=_0x4c3462;_0x28272f[_0x44a71a(0x13b)]=_0x4a2e68(_0x28272f[_0x44a71a(0x13b)]);}),_0x23c4b9(_0x2e10fc,_0x4fa893,_0x4fa893+0x1),_0x23c4b9(_0x2e10fc,_0x27cd53[_0x4c3462(0xd0)],_0x27cd53[_0x4c3462(0xd0)]+0x1),_0x2e10fc[_0x4c3462(0xb9)]=(_0x3bfa61=_0x2e10fc[_0x4c3462(0xb9)])==null?void 0x0:_0x3bfa61[_0x4c3462(0xff)](_0x503247=>_0x503247[_0x4c3462(0xe3)]!==_0x27cd53[_0x4c3462(0xe3)]),_0x27cd53[_0x4c3462(0xd0)];}function _0x1a5cb3(_0x5d895f){const _0x4e9400=_0x38b268;return{..._0x5d895f,'body':_0x5d895f[_0x4e9400(0xc8)]?_0x165c59(_0x5d895f[_0x4e9400(0xc8)]):_0x5d895f['body']};}function _0x165c59(_0x52513f){const _0x518bc0=_0x38b268;var _0x293c25,_0x25fe85,_0x4bc6ed,_0xcc9292,_0x4d10d8,_0x1b8a8b,_0x256f2b,_0x516778,_0x29f49d;return{..._0x52513f,'paragraphs':(_0x293c25=_0x52513f['paragraphs'])==null?void 0x0:_0x293c25[_0x518bc0(0x14a)](_0x49bf52=>({..._0x49bf52,'bullet':_0x39be0a(_0x49bf52[_0x518bc0(0x13d)]),'paragraphStyle':_0x39be0a(_0x49bf52[_0x518bc0(0x13b)])})),'sectionBreaks':(_0x25fe85=_0x52513f[_0x518bc0(0xca)])==null?void 0x0:_0x25fe85[_0x518bc0(0x14a)](_0x5ac2e5=>({..._0x5ac2e5})),'textRuns':(_0x4bc6ed=_0x52513f[_0x518bc0(0x10e)])==null?void 0x0:_0x4bc6ed['map'](_0x562615=>({..._0x562615})),'tables':(_0xcc9292=_0x52513f[_0x518bc0(0x11d)])==null?void 0x0:_0xcc9292[_0x518bc0(0x14a)](_0x569d94=>({..._0x569d94})),'columnGroups':(_0x4d10d8=_0x52513f[_0x518bc0(0x102)])==null?void 0x0:_0x4d10d8[_0x518bc0(0x14a)](_0xc5fca5=>{const _0x39cc18=_0x518bc0;var _0x14a06b;return{..._0xc5fca5,'columns':(_0x14a06b=_0xc5fca5[_0x39cc18(0x10c)])==null?void 0x0:_0x14a06b[_0x39cc18(0x14a)](_0x545ce1=>_0x39be0a(_0x545ce1))};}),'blockRanges':(_0x1b8a8b=_0x52513f[_0x518bc0(0xb9)])==null?void 0x0:_0x1b8a8b[_0x518bc0(0x14a)](_0x2024ab=>({..._0x2024ab})),'customRanges':(_0x256f2b=_0x52513f[_0x518bc0(0xb0)])==null?void 0x0:_0x256f2b[_0x518bc0(0x14a)](_0x3cf363=>({..._0x3cf363})),'customDecorations':(_0x516778=_0x52513f['customDecorations'])==null?void 0x0:_0x516778[_0x518bc0(0x14a)](_0x2c6aca=>({..._0x2c6aca})),'customBlocks':(_0x29f49d=_0x52513f[_0x518bc0(0x120)])==null?void 0x0:_0x29f49d[_0x518bc0(0x14a)](_0x106160=>({..._0x106160}))};}function _0x39be0a(_0x4652bd){const _0x39fc7f=_0x38b268;return Array[_0x39fc7f(0x11b)](_0x4652bd)?_0x4652bd['map'](_0x18b797=>_0x39be0a(_0x18b797)):!_0x4652bd||typeof _0x4652bd!='object'?_0x4652bd:Object[_0x39fc7f(0x116)](Object[_0x39fc7f(0xc7)](_0x4652bd)[_0x39fc7f(0x14a)](([_0xf02c88,_0x302ded])=>[_0xf02c88,_0x39be0a(_0x302ded)]));}function _0x45225e(_0x9aa8ba){const _0x3e0c8b=_0x38b268;if(!_0x9aa8ba[_0x3e0c8b(0xc8)])throw Error(_0x3e0c8b(0xeb));return _0x9aa8ba[_0x3e0c8b(0xc8)];}function _0x21cb83(_0x492f37,_0x48a3b3,_0x267a48,_0x1b8126=_0x38b268(0x97)){const _0x190a6c=_0x38b268;if(_0x48a3b3==null||_0x267a48==null){let _0x224bb3=_0x40baba(_0x492f37);return{'startOffset':_0x224bb3,'endOffset':_0x224bb3};}let _0x384301=Math['min'](_0x48a3b3,_0x267a48),_0x2b2f05=Math[_0x190a6c(0x10f)](_0x48a3b3,_0x267a48),_0x9c6b9=_0x2bbc8e(_0x492f37,_0x384301,_0x2b2f05);return _0x384301===_0x2b2f05?_0x1b8126===_0x190a6c(0xd3)?{'startOffset':_0x384301,'endOffset':_0x2b2f05}:_0x4cc22c(_0x492f37,_0x384301,_0x9c6b9):_0xd9b062(_0x492f37,_0x384301,_0x2b2f05,_0x9c6b9);}function _0x4cc22c(_0x49a374,_0x41d2a6,_0x1b3719){const _0x4e2d68=_0x38b268;let _0x5dd3b8=_0x9763ba(_0x49a374,_0x41d2a6);if(_0x5dd3b8){let _0x41311f=_0x4fb809(_0x49a374,_0x5dd3b8,_0x1b3719);if(_0x41311f<_0x5dd3b8[_0x4e2d68(0xd0)])return{'startOffset':_0x41311f,'endOffset':_0x1b3719?Math[_0x4e2d68(0xcd)](_0x5dd3b8[_0x4e2d68(0xd0)]+0x1,_0x1b3719['endOffset']):_0x5dd3b8[_0x4e2d68(0xd0)]+0x1};}let _0x6b497c=_0x41d2a6===0x0&&_0x49a374[_0x4e2d68(0xd4)][0x0]===_0x577be9[_0x4e2d68(0xc2)][_0x4e2d68(0x118)]?0x1:_0x41d2a6;return{'startOffset':_0x6b497c,'endOffset':_0x6b497c};}function _0x40baba(_0x139b3e){const _0x30bcfd=_0x38b268;return _0x139b3e[_0x30bcfd(0xd4)][_0x30bcfd(0xdd)](_0x577be9[_0x30bcfd(0xc2)][_0x30bcfd(0x105)])?Math['max'](0x0,_0x139b3e[_0x30bcfd(0xd4)][_0x30bcfd(0xc6)]-0x1):_0x139b3e['dataStream'][_0x30bcfd(0xc6)];}function _0x525f52(_0x52bf9f,_0x23b41d,_0x15bbcc){const _0x329cae=_0x38b268;var _0x238cd0;let _0x50ed35=Math[_0x329cae(0xcd)](_0x23b41d,_0x15bbcc),_0x25192e=Math[_0x329cae(0x10f)](_0x23b41d,_0x15bbcc);return!!((_0x238cd0=_0x52bf9f[_0x329cae(0x11d)])!=null&&_0x238cd0[_0x329cae(0x8f)](_0x30b7fb=>_0x50ed35>_0x30b7fb['startIndex']&&_0x50ed35<_0x30b7fb[_0x329cae(0xf7)]||_0x25192e>_0x30b7fb[_0x329cae(0xd0)]&&_0x25192e<_0x30b7fb[_0x329cae(0xf7)]||_0x50ed35<=_0x30b7fb['startIndex']&&_0x25192e>=_0x30b7fb[_0x329cae(0xf7)]));}function _0xd9b062(_0x5c825d,_0x344d2c,_0x2f7df8,_0x47b673){const _0x4a51dd=_0x38b268;let _0x4afdab=[..._0x5c825d[_0x4a51dd(0xae)]??[]][_0x4a51dd(0x14b)]((_0x84135d,_0x1f128e)=>_0x84135d[_0x4a51dd(0xd0)]-_0x1f128e[_0x4a51dd(0xd0)]),_0x5107d8=(0x0,_0x577be9['getParagraphContentStartOffsets'])(_0x5c825d),_0x5cd363=_0x4afdab[_0x4a51dd(0xdc)](_0x15a0de=>_0x4fb809(_0x5c825d,_0x15a0de,_0x47b673,_0x5107d8)<=_0x344d2c&&_0x344d2c<=_0x15a0de[_0x4a51dd(0xd0)]),_0x3d07bc=_0x4afdab['find'](_0x4581da=>_0x4581da['startIndex']>=_0x2f7df8-0x1)??_0x4afdab[_0x4afdab[_0x4a51dd(0xc6)]-0x1];return{'startOffset':_0x5cd363?_0x4fb809(_0x5c825d,_0x5cd363,_0x47b673,_0x5107d8):_0x344d2c,'endOffset':_0x3d07bc?_0x589ee1(_0x3d07bc,_0x47b673):_0x2f7df8};}function _0x9763ba(_0xce8bce,_0x370a4f){const _0x757383=_0x38b268;let _0x2d2139=[..._0xce8bce[_0x757383(0xae)]??[]]['sort']((_0x5059b3,_0x2f43f7)=>_0x5059b3['startIndex']-_0x2f43f7[_0x757383(0xd0)]),_0x52178c=(0x0,_0x577be9[_0x757383(0x101)])(_0xce8bce);return _0x2d2139[_0x757383(0xdc)](_0x11e735=>(_0x52178c[_0x757383(0xd8)](_0x11e735[_0x757383(0xd0)])??0x0)<=_0x370a4f&&_0x370a4f<=_0x11e735[_0x757383(0xd0)]);}function _0x4fb809(_0x48dd4d,_0x1ac278,_0x226747,_0x11b138){const _0x520797=_0x38b268;let _0x377ea7=(_0x11b138==null?void 0x0:_0x11b138[_0x520797(0xd8)](_0x1ac278[_0x520797(0xd0)]))??(0x0,_0x577be9[_0x520797(0x14f)])(_0x48dd4d,_0x1ac278);return _0x226747?Math[_0x520797(0x10f)](_0x377ea7,_0x226747[_0x520797(0x156)]):_0x377ea7;}function _0x589ee1(_0x3df597,_0x31cc14){const _0x2561d6=_0x38b268;let _0x689ab0=_0x3df597[_0x2561d6(0xd0)]+0x1;return _0x31cc14?Math[_0x2561d6(0xcd)](_0x689ab0,_0x31cc14[_0x2561d6(0xf4)]):_0x689ab0;}function _0x2bbc8e(_0x77fb25,_0xd8f2b8,_0x2e28c6){const _0x382c47=_0x38b268;let _0x1ce3be=_0x1dfde2(_0x77fb25,_0xd8f2b8),_0x4f8449=_0x1dfde2(_0x77fb25,_0xd8f2b8===_0x2e28c6?_0x2e28c6:Math[_0x382c47(0x10f)](_0xd8f2b8,_0x2e28c6-0x1));if(_0x1ce3be||_0x4f8449){if(!_0x1ce3be||!_0x4f8449||_0x1ce3be['startTokenOffset']!==_0x4f8449[_0x382c47(0xc1)]||_0x1ce3be[_0x382c47(0xaf)]!==_0x4f8449['endTokenOffset'])throw new _0x1de79e();return _0x1ce3be;}}function _0x1dfde2(_0x5ad7f1,_0x3225d3){const _0x1916d7=_0x38b268;let _0x42fca3=_0x5ad7f1[_0x1916d7(0xd4)],_0x3ee4fc=-0x1;for(let _0x6fee78=Math[_0x1916d7(0xcd)](_0x3225d3,_0x42fca3[_0x1916d7(0xc6)]-0x1);_0x6fee78>=0x0;_0x6fee78--){let _0x2892cb=_0x42fca3[_0x6fee78];if(_0x2892cb===_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0x89)])return;if(_0x2892cb===_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0xd2)]){_0x3ee4fc=_0x6fee78;break;}}if(_0x3ee4fc<0x0)return;let _0x24cf17=_0x42fca3[_0x1916d7(0x9e)](_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0x89)],_0x3ee4fc+0x1);if(!(_0x24cf17<0x0||_0x3225d3<_0x3ee4fc+0x1||_0x3225d3>_0x24cf17-0x1))return{'startOffset':_0x3ee4fc+0x1,'endOffset':Math[_0x1916d7(0x10f)](_0x3ee4fc+0x1,_0x24cf17-0x1),'startTokenOffset':_0x3ee4fc,'endTokenOffset':_0x24cf17};}function _0x140133(_0xd98486){const _0x3f7f78=_0x38b268;return(0x0,_0x577be9[_0x3f7f78(0xef)])(_0xd98486)[_0x3f7f78(0xf4)]-0x1;}function _0x217a3f(_0x131030,_0xf5b5a9,_0x16aa9e,_0x1278ee){const _0x32f313=_0x38b268;let _0x5dd43d=_0x140133(_0xf5b5a9),_0x373cc7=(_0x131030[_0x32f313(0xae)]??[])['find'](_0x576cc7=>_0x576cc7['startIndex']===_0x5dd43d+0x1);if(!_0x373cc7||_0x1278ee!=null&&_0x373cc7[_0x32f313(0xd0)]!==_0x1278ee||_0x16aa9e!=null&&(_0x16aa9e<_0x5dd43d||_0x16aa9e>_0x373cc7[_0x32f313(0xd0)]+0x1)||_0x131030[_0x32f313(0xd4)][_0x373cc7[_0x32f313(0xd0)]]!==_0x577be9[_0x32f313(0xc2)][_0x32f313(0x118)])return null;let _0x211c3c=(0x0,_0x577be9['getParagraphContentStartOffset'])(_0x131030,_0x373cc7),_0x392b09=_0x131030[_0x32f313(0xd4)][_0x32f313(0x152)](_0x211c3c,_0x373cc7[_0x32f313(0xd0)]);return Array[_0x32f313(0xe5)](_0x392b09)[_0x32f313(0x114)](_0x460688=>_0x460688===_0x577be9[_0x32f313(0xc2)][_0x32f313(0xed)])?{'paragraph':_0x373cc7,'endTokenOffset':_0x5dd43d}:null;}function _0x32bb95(_0x47041f,_0x5dc682){const _0x451109=_0x38b268;var _0x1743ba;let _0x24013f=_0x140133(_0x5dc682),_0x511da8=_0x47041f[_0x451109(0xd4)][_0x24013f+0x1];(_0x511da8===_0x577be9[_0x451109(0xc2)][_0x451109(0x105)]||_0x511da8===void 0x0)&&_0x226a1f(_0x47041f,_0x24013f+0x1,_0x577be9[_0x451109(0xc2)][_0x451109(0x118)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x577be9[_0x451109(0x150)])(new Set((_0x1743ba=_0x47041f['paragraphs'])==null?void 0x0:_0x1743ba[_0x451109(0x14a)](_0x4eb86a=>_0x4eb86a[_0x451109(0xbe)])))}]});}function _0x226a1f(_0xf46a1f,_0x51520b,_0x190dbe,_0xf1a81e={}){const _0x3d48f7=_0x38b268;var _0x20a40b,_0x3ec59d;_0x190dbe&&(_0xf46a1f['dataStream']=''+_0xf46a1f[_0x3d48f7(0xd4)][_0x3d48f7(0x152)](0x0,_0x51520b)+_0x190dbe+_0xf46a1f[_0x3d48f7(0xd4)][_0x3d48f7(0x152)](_0x51520b),_0x2ec62a(_0xf46a1f,_0x51520b,_0x190dbe[_0x3d48f7(0xc6)]),(_0x20a40b=_0xf1a81e[_0x3d48f7(0xae)])!=null&&_0x20a40b['length']&&(_0xf46a1f[_0x3d48f7(0xae)]=[..._0xf46a1f['paragraphs']??[],..._0xf1a81e[_0x3d48f7(0xae)][_0x3d48f7(0x14a)](_0x68c50c=>({..._0x68c50c,'startIndex':_0x68c50c['startIndex']+_0x51520b}))][_0x3d48f7(0x14b)]((_0x4f6132,_0x371218)=>_0x4f6132[_0x3d48f7(0xd0)]-_0x371218[_0x3d48f7(0xd0)])),(_0x3ec59d=_0xf1a81e['blockRanges'])!=null&&_0x3ec59d[_0x3d48f7(0xc6)]&&(_0xf46a1f[_0x3d48f7(0xb9)]=[..._0xf46a1f['blockRanges']??[],..._0xf1a81e[_0x3d48f7(0xb9)][_0x3d48f7(0x14a)](_0x2d5249=>({..._0x2d5249,'startIndex':_0x2d5249[_0x3d48f7(0xd0)]+_0x51520b,'endIndex':_0x2d5249[_0x3d48f7(0xf7)]+_0x51520b}))][_0x3d48f7(0x14b)]((_0x2e079b,_0x710613)=>_0x2e079b[_0x3d48f7(0xd0)]-_0x710613[_0x3d48f7(0xd0)])));}function _0x23c4b9(_0x249ae2,_0x139e9f,_0x514b5f){const _0x37dce0=_0x38b268;let _0x2205a8=_0x514b5f-_0x139e9f;_0x249ae2[_0x37dce0(0xd4)]=''+_0x249ae2['dataStream'][_0x37dce0(0x152)](0x0,_0x139e9f)+_0x249ae2[_0x37dce0(0xd4)][_0x37dce0(0x152)](_0x514b5f),_0x161780(_0x249ae2,_0x139e9f,_0x2205a8);}function _0x2ec62a(_0x164ec8,_0x22b83b,_0x3a9020){const _0x4d392f=_0x38b268;_0x164ec8['paragraphs']=_0x4f588c(_0x164ec8[_0x4d392f(0xae)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xca)]=_0x4f588c(_0x164ec8[_0x4d392f(0xca)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x120)]=_0x4f588c(_0x164ec8[_0x4d392f(0x120)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x10e)]=_0x1002b6(_0x164ec8[_0x4d392f(0x10e)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x11d)]=_0x135ffd(_0x164ec8[_0x4d392f(0x11d)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x102)]=_0x6990d8(_0x164ec8[_0x4d392f(0x102)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xb0)]=_0x6990d8(_0x164ec8[_0x4d392f(0xb0)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xe7)]=_0x6990d8(_0x164ec8[_0x4d392f(0xe7)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xb9)]=_0x6990d8(_0x164ec8[_0x4d392f(0xb9)],_0x22b83b,_0x3a9020);}function _0x161780(_0x5de4a9,_0x563ef9,_0x361df1){const _0x48f40f=_0x38b268;var _0x29c42d,_0x360049;_0x5de4a9[_0x48f40f(0xae)]=_0x26a7b4(_0x5de4a9[_0x48f40f(0xae)],_0x563ef9,_0x361df1),_0x5de4a9['sectionBreaks']=_0x26a7b4(_0x5de4a9[_0x48f40f(0xca)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x120)]=_0x26a7b4(_0x5de4a9[_0x48f40f(0x120)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x10e)]=(_0x29c42d=_0xfc3df1((_0x360049=_0x5de4a9['textRuns'])==null?void 0x0:_0x360049[_0x48f40f(0x14a)](_0x16d046=>({..._0x16d046,'startIndex':_0x16d046['st'],'endIndex':_0x16d046['ed']})),_0x563ef9,_0x361df1))==null?void 0x0:_0x29c42d[_0x48f40f(0x14a)](_0x2475b8=>{let {startIndex:_0x223f70,endIndex:_0x262e4f,..._0x12ed5f}=_0x2475b8;return{..._0x12ed5f,'st':_0x223f70,'ed':_0x262e4f};}),_0x5de4a9[_0x48f40f(0x11d)]=_0xfc3df1(_0x5de4a9[_0x48f40f(0x11d)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x102)]=_0x389ed5(_0x5de4a9[_0x48f40f(0x102)],_0x563ef9,_0x361df1),_0x5de4a9['customRanges']=_0x389ed5(_0x5de4a9[_0x48f40f(0xb0)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0xe7)]=_0x389ed5(_0x5de4a9[_0x48f40f(0xe7)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0xb9)]=_0x389ed5(_0x5de4a9[_0x48f40f(0xb9)],_0x563ef9,_0x361df1);}function _0x4f588c(_0x440b15,_0x10e8d8,_0x3be03f){return _0x440b15==null?void 0x0:_0x440b15['map'](_0x1777ad=>_0x1777ad['startIndex']>=_0x10e8d8?{..._0x1777ad,'startIndex':_0x1777ad['startIndex']+_0x3be03f}:_0x1777ad);}function _0x26a7b4(_0x3b3823,_0x39de8b,_0x3024fd){const _0x589dbb=_0x38b268;let _0x97aebb=_0x39de8b+_0x3024fd;return _0x3b3823==null?void 0x0:_0x3b3823[_0x589dbb(0x14a)](_0x5caeba=>_0x5caeba[_0x589dbb(0xd0)]>=_0x39de8b&&_0x5caeba[_0x589dbb(0xd0)]<_0x97aebb?null:_0x5caeba[_0x589dbb(0xd0)]>=_0x97aebb?{..._0x5caeba,'startIndex':_0x5caeba[_0x589dbb(0xd0)]-_0x3024fd}:_0x5caeba)[_0x589dbb(0xff)](_0x47e6ac=>_0x47e6ac!=null);}function _0x1002b6(_0x57796c,_0x44fd54,_0xe7d1fb){const _0x4d7a14=_0x38b268;return _0x57796c==null?void 0x0:_0x57796c[_0x4d7a14(0x14a)](_0x1d465a=>_0x1d465a['st']>=_0x44fd54?{..._0x1d465a,'st':_0x1d465a['st']+_0xe7d1fb,'ed':_0x1d465a['ed']+_0xe7d1fb}:_0x1d465a['ed']>_0x44fd54?{..._0x1d465a,'ed':_0x1d465a['ed']+_0xe7d1fb}:_0x1d465a);}function _0x6990d8(_0x2adab9,_0x5f0ea7,_0x50f793){const _0x458c18=_0x38b268;return _0x2adab9==null?void 0x0:_0x2adab9[_0x458c18(0x14a)](_0x237d3f=>(0x0,_0x577be9[_0x458c18(0x142)])(_0x237d3f,_0x5f0ea7,_0x50f793));}function _0x135ffd(_0xf928b2,_0x34c2d1,_0x178197){const _0x264813=_0x38b268;return _0xf928b2==null?void 0x0:_0xf928b2[_0x264813(0x14a)](_0x2a45c0=>(0x0,_0x577be9['shiftExclusiveRangeOnInsert'])(_0x2a45c0,_0x34c2d1,_0x178197));}function _0x389ed5(_0x46187f,_0x5b9cf3,_0x1d9b89){const _0x252eb3=_0x38b268;return _0x46187f==null?void 0x0:_0x46187f[_0x252eb3(0x14a)](_0x39ff62=>(0x0,_0x577be9[_0x252eb3(0x119)])(_0x39ff62,_0x5b9cf3,_0x1d9b89))[_0x252eb3(0xff)](_0x471f88=>_0x471f88!=null);}function _0xfc3df1(_0x18f217,_0x4a0021,_0x5a677f){const _0x16cf58=_0x38b268;return _0x18f217==null?void 0x0:_0x18f217[_0x16cf58(0x14a)](_0x5138d3=>(0x0,_0x577be9[_0x16cf58(0x108)])(_0x5138d3,_0x4a0021,_0x5a677f))[_0x16cf58(0xff)](_0x1791bd=>_0x1791bd!=null);}let _0x461229={'id':'docs-code.command.insert-below','type':_0x577be9[_0x38b268(0xbf)]['COMMAND'],'handler':_0x5ea632=>{const _0x545f58=_0x38b268;var _0x2ac885;if((0x0,_0x31b33e[_0x545f58(0xe1)])(_0x313945(_0x5ea632)))return!0x1;let _0x6495e9=(0x0,_0x31b33e[_0x545f58(0x113)])(_0x5ea632);if(_0x6495e9)return _0x5ea632['get'](_0x577be9['ICommandService'])[_0x545f58(0x100)](_0x29870c['id'],{'startOffset':_0x6495e9[_0x545f58(0x156)],'endOffset':_0x6495e9[_0x545f58(0xf4)],'insertionMode':_0x545f58(0xd3),'unitId':_0x6495e9['unitId']});let _0x2d4e25=_0x35ff7c(_0x5ea632);if(!_0x2d4e25)return!0x1;let _0x1f8533=(_0x2ac885=_0x5ea632[_0x545f58(0xd8)](_0x577be9[_0x545f58(0xea)])[_0x545f58(0xa9)](_0x577be9[_0x545f58(0xf9)]['UNIVER_DOC']))==null?void 0x0:_0x2ac885[_0x545f58(0x131)](),_0x359fa7=_0x1f8533?(0x0,_0x577be9['getParagraphFollowingBlockOffset'])(_0x1f8533,_0x2d4e25):_0x2d4e25['startIndex']+0x1;return _0x5ea632[_0x545f58(0xd8)](_0x577be9[_0x545f58(0x162)])[_0x545f58(0x100)](_0x29870c['id'],{'startOffset':_0x359fa7,'endOffset':_0x359fa7});}},_0x45e1b4={'id':_0x38b268(0x98),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':()=>!0x0},_0x29870c={'id':_0x38b268(0x8c),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x1e3a0c,_0x18c527)=>{const _0xd67290=_0x38b268;let _0xcccf5e=_0x5da2e0(_0x1e3a0c,_0x18c527==null?void 0x0:_0x18c527['unitId']);if(!_0xcccf5e)return!0x1;let _0x42a73c=_0x313945(_0x1e3a0c);if((0x0,_0x31b33e[_0xd67290(0xe1)])(_0x42a73c))return!0x1;let _0x2276ec=_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xc3)](_0xcccf5e[_0xd67290(0xfc)]),_0x2cac9f=_0x50167e(_0x18c527,_0x42a73c),_0x9485cc=_0x1904ca(_0xcccf5e[_0xd67290(0x11f)],_0x2cac9f);if(_0x9485cc){if(_0x9485cc[_0xd67290(0xe4)]!==_0x577be9[_0xd67290(0x130)][_0xd67290(0xf1)])return!0x1;let _0x5bee55=_0x10f0e4({'blockId':_0x9485cc[_0xd67290(0xe3)],'documentData':_0xcccf5e[_0xd67290(0x11f)],'metadata':_0x2276ec});if(!_0x5bee55)return!0x1;let _0x5c6426=_0x390b92(_0xcccf5e[_0xd67290(0x127)],_0xcccf5e['selectionManager'],_0xcccf5e[_0xd67290(0xfc)],_0xcccf5e[_0xd67290(0x11f)],_0x5bee55[_0xd67290(0x12d)],_0x29870c['id'],_0x5bee55[_0xd67290(0xaa)]);return _0x5c6426&&_0x5bee55['nextMetadata']&&_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xbb)](_0xcccf5e[_0xd67290(0xfc)],_0x5bee55['nextMetadata']),_0x5c6426;}let _0x29615f=(_0x18c527==null?void 0x0:_0x18c527[_0xd67290(0xe3)])??(0x0,_0x577be9[_0xd67290(0xcc)])(0x6),_0x581c47;try{_0x581c47=_0x3ca3f5({'blockId':_0x29615f,'config':_0x18c527==null?void 0x0:_0x18c527[_0xd67290(0x140)],'documentData':_0xcccf5e[_0xd67290(0x11f)],'endOffset':_0x2cac9f==null?void 0x0:_0x2cac9f[_0xd67290(0xf4)],'insertionMode':_0x18c527==null?void 0x0:_0x18c527['insertionMode'],'metadata':_0x2276ec,'startOffset':_0x2cac9f==null?void 0x0:_0x2cac9f[_0xd67290(0x156)]});}catch(_0x3d16cf){if(_0x3d16cf instanceof _0x1de79e)return!0x1;throw _0x3d16cf;}let _0x2f8a4e=_0x390b92(_0xcccf5e[_0xd67290(0x127)],_0xcccf5e[_0xd67290(0x112)],_0xcccf5e[_0xd67290(0xfc)],_0xcccf5e[_0xd67290(0x11f)],_0x581c47['nextDocumentData'],_0x29870c['id'],_0x581c47[_0xd67290(0xaa)]);return _0x2f8a4e&&_0x581c47[_0xd67290(0x15a)]&&_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xbb)](_0xcccf5e['unitId'],_0x581c47[_0xd67290(0x15a)]),_0x2f8a4e;}},_0x4a6a1b={'id':'docs-code.command.update','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0xfe5757,_0x104846)=>{const _0x2121eb=_0x38b268;if(!_0x104846)return!0x1;let _0x3d339d=_0x5da2e0(_0xfe5757,_0x104846['unitId']);if(!_0x3d339d)return!0x1;let _0x529f6=_0x5b4eae({'blockId':_0x104846[_0x2121eb(0xe3)],'config':_0x104846[_0x2121eb(0x140)],'documentData':_0x3d339d[_0x2121eb(0x11f)],'metadata':_0x3d339d[_0x2121eb(0x10a)][_0x2121eb(0xc3)](_0x3d339d[_0x2121eb(0xfc)])});return _0x529f6[_0x2121eb(0x15a)]&&_0x3d339d[_0x2121eb(0x10a)][_0x2121eb(0xbb)](_0x3d339d['unitId'],_0x529f6['nextMetadata']),!0x0;}},_0xdc1da0={'id':_0x38b268(0x122),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x182022,_0x5a961c)=>_0x1b8f0b[_0x38b268(0x146)](_0x182022,_0x5a961c)},_0x1b8f0b={'id':_0x38b268(0xfa),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0xedf610,_0x2f9d46)=>{const _0x5f2473=_0x38b268;if(!_0x2f9d46)return!0x1;let _0x44f031=_0x5da2e0(_0xedf610,_0x2f9d46==null?void 0x0:_0x2f9d46[_0x5f2473(0xfc)]);if(!_0x44f031)return!0x1;let _0x5633c4=_0x10f0e4({'blockId':_0x2f9d46[_0x5f2473(0xe3)],'documentData':_0x44f031['previousDocumentData'],'metadata':_0x44f031[_0x5f2473(0x10a)][_0x5f2473(0xc3)](_0x44f031[_0x5f2473(0xfc)])});if(!_0x5633c4)return!0x1;let _0x5a9bde=_0x390b92(_0x44f031[_0x5f2473(0x127)],_0x44f031[_0x5f2473(0x112)],_0x44f031[_0x5f2473(0xfc)],_0x44f031['previousDocumentData'],_0x5633c4['nextDocumentData'],_0x1b8f0b['id'],_0x5633c4[_0x5f2473(0xaa)]);return _0x5a9bde&&_0x5633c4[_0x5f2473(0x15a)]&&_0x44f031[_0x5f2473(0x10a)][_0x5f2473(0xbb)](_0x44f031[_0x5f2473(0xfc)],_0x5633c4[_0x5f2473(0x15a)]),_0x5a9bde;}},_0x145bc9={'id':'docs-code.command.remove','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x591780,_0x50b36b)=>{const _0x1d9c0d=_0x38b268;if(!_0x50b36b)return!0x1;let _0x4b1737=_0x5da2e0(_0x591780,_0x50b36b==null?void 0x0:_0x50b36b[_0x1d9c0d(0xfc)]);if(!_0x4b1737)return!0x1;let _0xde10dd=_0x1ef531({'blockId':_0x50b36b[_0x1d9c0d(0xe3)],'documentData':_0x4b1737[_0x1d9c0d(0x11f)],'metadata':_0x4b1737['model'][_0x1d9c0d(0xc3)](_0x4b1737[_0x1d9c0d(0xfc)])});if(!_0xde10dd)return!0x1;let _0x2cacf2=_0x390b92(_0x4b1737['commandService'],_0x4b1737['selectionManager'],_0x4b1737[_0x1d9c0d(0xfc)],_0x4b1737[_0x1d9c0d(0x11f)],_0xde10dd[_0x1d9c0d(0x12d)],_0x145bc9['id'],_0xde10dd['cursorOffset']);return _0x2cacf2&&_0xde10dd[_0x1d9c0d(0x15a)]&&_0x4b1737['model'][_0x1d9c0d(0xbb)](_0x4b1737['unitId'],_0xde10dd[_0x1d9c0d(0x15a)]),_0x2cacf2;}},_0x3f1126={'id':_0x38b268(0x92),'type':_0x577be9['CommandType']['COMMAND'],'handler':(_0xdd8151,_0x535df9)=>{const _0x217b03=_0x38b268;var _0x76cb30;let _0x1e5861=_0x5da2e0(_0xdd8151,_0x535df9==null?void 0x0:_0x535df9[_0x217b03(0xfc)]);if(!_0x1e5861)return!0x1;let _0x19d87a=(_0x535df9==null?void 0x0:_0x535df9['cursorOffset'])??((_0x76cb30=_0x313945(_0xdd8151))==null?void 0x0:_0x76cb30[_0x217b03(0x156)]);if(_0x19d87a==null)return!0x1;let _0x489ae4=_0x27c5ff({'cursorOffset':_0x19d87a,'documentData':_0x1e5861['previousDocumentData'],'paragraphStartIndex':_0x535df9==null?void 0x0:_0x535df9[_0x217b03(0x104)]});return _0x489ae4?_0x390b92(_0x1e5861[_0x217b03(0x127)],_0x1e5861['selectionManager'],_0x1e5861[_0x217b03(0xfc)],_0x1e5861[_0x217b03(0x11f)],_0x489ae4[_0x217b03(0x12d)],_0x3f1126['id'],_0x489ae4[_0x217b03(0xaa)]):!0x1;}};function _0x5da2e0(_0x575519,_0x572a57){const _0x828a44=_0x38b268;let _0x3b07ef=_0x575519['get'](_0x577be9[_0x828a44(0xea)]),_0x162dd4=_0x572a57?_0x3b07ef[_0x828a44(0x91)](_0x572a57,_0x577be9[_0x828a44(0xf9)][_0x828a44(0xfb)]):_0x3b07ef[_0x828a44(0xa9)](_0x577be9[_0x828a44(0xf9)]['UNIVER_DOC']);return _0x162dd4?{'commandService':_0x575519[_0x828a44(0xd8)](_0x577be9[_0x828a44(0x162)]),'model':_0x575519[_0x828a44(0xd8)](_0x14cdd9),'previousDocumentData':_0x162dd4[_0x828a44(0xe9)](),'selectionManager':_0x575519[_0x828a44(0xd8)](_0x31b33e[_0x828a44(0x13a)]),'unitId':_0x162dd4['getUnitId']()}:null;}function _0x313945(_0x4c820d){const _0x2565f6=_0x38b268;var _0x5c7548;return(_0x5c7548=_0x4c820d[_0x2565f6(0xd8)](_0x31b33e[_0x2565f6(0x13a)])['getTextRanges']())==null?void 0x0:_0x5c7548[0x0];}function _0x50167e(_0x1caa38,_0xebd4fd){const _0x39616b=_0x38b268;let _0x3137ef=(_0x1caa38==null?void 0x0:_0x1caa38['startOffset'])??(_0xebd4fd==null?void 0x0:_0xebd4fd[_0x39616b(0x156)]),_0x38e6fb=(_0x1caa38==null?void 0x0:_0x1caa38[_0x39616b(0xf4)])??(_0xebd4fd==null?void 0x0:_0xebd4fd[_0x39616b(0xf4)]);if(_0x3137ef!=null&&_0x38e6fb!=null)return{'endOffset':Math[_0x39616b(0x10f)](_0x3137ef,_0x38e6fb),'startOffset':Math['min'](_0x3137ef,_0x38e6fb)};}function _0x1904ca(_0xb3bb7b,_0x38da29){const _0x244000=_0x38b268;var _0x2e1252;if(!_0x38da29)return;let _0x31f99a=_0x103048(_0x38da29);return(_0x2e1252=_0xb3bb7b[_0x244000(0xc8)])==null||(_0x2e1252=_0x2e1252[_0x244000(0xb9)])==null?void 0x0:_0x2e1252[_0x244000(0xdc)](_0x472c5d=>{const _0xb4fb1c=_0x244000;let _0x112268=(0x0,_0x577be9[_0xb4fb1c(0xef)])(_0x472c5d);return _0x38da29[_0xb4fb1c(0x156)]===_0x38da29[_0xb4fb1c(0xf4)]?(0x0,_0x577be9['containsInteriorInsertionOffset'])(_0x112268,_0x31f99a):(0x0,_0x577be9[_0xb4fb1c(0xb7)])(_0x112268,_0x31f99a);});}function _0x103048(_0x234c7d){const _0x1edaca=_0x38b268;return _0x234c7d[_0x1edaca(0x156)]===_0x234c7d[_0x1edaca(0xf4)]?_0x234c7d[_0x1edaca(0x156)]:_0x234c7d[_0x1edaca(0x156)]+0x1;}function _0x35ff7c(_0x1d6cde){const _0xbe0119=_0x38b268;let _0x37d546=_0x313945(_0x1d6cde);if(!_0x37d546)return null;let _0x413736=_0x1d6cde[_0xbe0119(0xd8)](_0x577be9[_0xbe0119(0xea)])['getCurrentUnitOfType'](_0x577be9[_0xbe0119(0xf9)][_0xbe0119(0xfb)]),_0xf26ca=_0x413736==null?void 0x0:_0x413736[_0xbe0119(0x131)]();return _0xf26ca?_0x577be9['BuildTextUtils']['range']['getParagraphsInRange'](_0x37d546,_0xf26ca[_0xbe0119(0xae)]??[],_0xf26ca[_0xbe0119(0xd4)]??'')[0x0]??null:null;}function _0x55c47b(_0x4b330f,_0x53dc85){const _0x143b97=_0x38b268;let _0x280d90=_0x4b330f[_0x143b97(0xc8)],_0x2ba396=_0x53dc85[_0x143b97(0xc8)],_0x2260ac=(0x0,_0x577be9[_0x143b97(0xd1)])(_0x280d90,_0x2ba396);return[_0x2260ac&&_0x2ba396?_0x274021(_0x2ba396,_0x2260ac):null,_0x2260ac?null:_0x247b83(_0x280d90,_0x2ba396)][_0x143b97(0xff)](Boolean)[_0x143b97(0x11a)]((_0x33efc3,_0x34f83d)=>_0x577be9['JSONX']['compose'](_0x33efc3,_0x34f83d),null);}function _0x274021(_0x57bab5,_0x1ded4f){const _0x270fb5=_0x38b268;let _0x66b628=new _0x577be9[(_0x270fb5(0x124))]();return _0x66b628[_0x270fb5(0x87)](_0x1ded4f[_0x270fb5(0xe8)]),_0x1ded4f[_0x270fb5(0x8b)]>0x0&&_0x66b628['insert'](_0x1ded4f['insertLength'],(0x0,_0x577be9[_0x270fb5(0xb8)])(_0x57bab5,_0x1ded4f[_0x270fb5(0xe8)],_0x1ded4f[_0x270fb5(0xe8)]+_0x1ded4f[_0x270fb5(0x8b)],!0x1)),_0x1ded4f[_0x270fb5(0xf5)]>0x0&&_0x66b628[_0x270fb5(0x96)](_0x1ded4f[_0x270fb5(0xf5)]),_0x577be9[_0x270fb5(0xa0)][_0x270fb5(0xb5)]()[_0x270fb5(0x158)](_0x66b628[_0x270fb5(0xc3)](),[_0x270fb5(0xc8)]);}function _0x247b83(_0x23898d,_0x189ee2){const _0x17f27a=_0x38b268;let _0x15680a=[],_0x58e43a=_0x23898d?_0x4ee96d(_0x23898d):void 0x0,_0x41cc34=_0x189ee2?_0x4ee96d(_0x189ee2):void 0x0;for(let _0x410639 of _0x2e1f7b)_0xcfcec4(_0x577be9[_0x17f27a(0xa0)][_0x17f27a(0xb5)](),[_0x17f27a(0xc8),_0x410639],_0x58e43a==null?void 0x0:_0x58e43a[_0x410639],_0x41cc34==null?void 0x0:_0x41cc34[_0x410639],_0x15680a);return _0x15680a[_0x17f27a(0x11a)]((_0x1e5439,_0x4fc6e6)=>_0x577be9['JSONX'][_0x17f27a(0x111)](_0x1e5439,_0x4fc6e6),null);}let _0x2e1f7b=['paragraphs',_0x38b268(0xca),'tables',_0x38b268(0x102),'blockRanges','customBlocks',_0x38b268(0xb0),_0x38b268(0xe7),_0x38b268(0x10e)];function _0x4ee96d(_0x2805c0){return _0x2805c0;}function _0xcfcec4(_0x19d09b,_0x44abcd,_0x10ac43,_0xf654a3,_0x5b2589){const _0x39dd67=_0x38b268;_0xa30283(_0x10ac43,_0xf654a3)||(_0x10ac43==null?_0x5b2589[_0x39dd67(0xa6)](_0x19d09b[_0x39dd67(0x85)](_0x44abcd,_0xf654a3)):_0xf654a3==null?_0x5b2589[_0x39dd67(0xa6)](_0x19d09b[_0x39dd67(0x9a)](_0x44abcd,_0x10ac43)):Array['isArray'](_0x10ac43)&&Array[_0x39dd67(0x11b)](_0xf654a3)?_0x376d72(_0x19d09b,_0x44abcd,_0x10ac43,_0xf654a3,_0x5b2589):_0x564fda(_0x10ac43)&&_0x564fda(_0xf654a3)?new Set([...Object[_0x39dd67(0x10d)](_0x10ac43),...Object[_0x39dd67(0x10d)](_0xf654a3)])[_0x39dd67(0x160)](_0x19337e=>{_0xcfcec4(_0x19d09b,[..._0x44abcd,_0x19337e],_0x10ac43[_0x19337e],_0xf654a3[_0x19337e],_0x5b2589);}):_0x5b2589[_0x39dd67(0xa6)](_0x19d09b['replaceOp'](_0x44abcd,_0x10ac43,_0xf654a3)));}function _0x376d72(_0x238bf6,_0x1d7a49,_0x6323f6,_0x3edcc5,_0x5865c4){const _0xccd715=_0x38b268;if(_0x6323f6[_0xccd715(0xc6)]===_0x3edcc5[_0xccd715(0xc6)]){_0x6323f6['forEach']((_0x1d593a,_0x307054)=>_0xcfcec4(_0x238bf6,[..._0x1d7a49,_0x307054],_0x1d593a,_0x3edcc5[_0x307054],_0x5865c4));return;}let _0x342197=0x0;for(;_0x342197<_0x6323f6['length']&&_0x342197<_0x3edcc5[_0xccd715(0xc6)]&&_0xa30283(_0x6323f6[_0x342197],_0x3edcc5[_0x342197]);)_0x342197++;let _0x2bb692=_0x6323f6[_0xccd715(0xc6)]-0x1,_0x3987e6=_0x3edcc5['length']-0x1;for(;_0x2bb692>=_0x342197&&_0x3987e6>=_0x342197&&_0xa30283(_0x6323f6[_0x2bb692],_0x3edcc5[_0x3987e6]);)_0x2bb692--,_0x3987e6--;for(let _0x2ba02b=_0x2bb692;_0x2ba02b>=_0x342197;_0x2ba02b--)_0x5865c4['push'](_0x238bf6[_0xccd715(0x9a)]([..._0x1d7a49,_0x2ba02b],_0x6323f6[_0x2ba02b]));for(let _0x47b32e=_0x342197;_0x47b32e<=_0x3987e6;_0x47b32e++)_0x5865c4['push'](_0x238bf6[_0xccd715(0x85)]([..._0x1d7a49,_0x47b32e],_0x3edcc5[_0x47b32e]));}function _0x564fda(_0x551a60){const _0x39f53c=_0x38b268;return typeof _0x551a60==_0x39f53c(0x117)&&!!_0x551a60&&!Array[_0x39f53c(0x11b)](_0x551a60);}function _0xa30283(_0x19d5a9,_0x1c6a43){const _0x31990a=_0x38b268;return JSON[_0x31990a(0x12e)](_0x19d5a9)===JSON[_0x31990a(0x12e)](_0x1c6a43);}function _0x390b92(_0x31a356,_0x30936b,_0x41981d,_0x1b4d31,_0x2a7924,_0x27496a,_0x5f22b2){const _0x4ac4ea=_0x38b268;let _0x52d711=_0x55c47b(_0x1b4d31,_0x2a7924);return _0x52d711?!!_0x31a356[_0x4ac4ea(0x100)](_0x31b33e[_0x4ac4ea(0x123)]['id'],{'unitId':_0x41981d,'actions':_0x52d711,'textRanges':[{'startOffset':_0x5f22b2,'endOffset':_0x5f22b2,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x27496a}):(_0x30936b[_0x4ac4ea(0xf6)]([{'startOffset':_0x5f22b2,'endOffset':_0x5f22b2}],{'unitId':_0x41981d,'subUnitId':_0x41981d},!0x1),!0x0);}let _0x58e0f9='DOC_CODE_PLUGIN';var _0x500b69=_0x38b268(0x13c),_0x506558=_0x38b268(0x12c);let _0x2e0eff={};function _0x1d0d2c(_0x3dd1ff,_0x2924cc){return function(_0x45b5a3,_0x8cb2){_0x2924cc(_0x45b5a3,_0x8cb2,_0x3dd1ff);};}function _0x111972(_0x468068,_0xdec483,_0x1a6eec,_0x10a9fc){const _0x5d6fa3=_0x38b268;var _0x34877d=arguments[_0x5d6fa3(0xc6)],_0x183257=_0x34877d<0x3?_0xdec483:_0x10a9fc===null?_0x10a9fc=Object['getOwnPropertyDescriptor'](_0xdec483,_0x1a6eec):_0x10a9fc,_0x5766e7;if(typeof Reflect==_0x5d6fa3(0x117)&&typeof Reflect[_0x5d6fa3(0xee)]==_0x5d6fa3(0xdb))_0x183257=Reflect[_0x5d6fa3(0xee)](_0x468068,_0xdec483,_0x1a6eec,_0x10a9fc);else{for(var _0x1ff2b9=_0x468068[_0x5d6fa3(0xc6)]-0x1;_0x1ff2b9>=0x0;_0x1ff2b9--)(_0x5766e7=_0x468068[_0x1ff2b9])&&(_0x183257=(_0x34877d<0x3?_0x5766e7(_0x183257):_0x34877d>0x3?_0x5766e7(_0xdec483,_0x1a6eec,_0x183257):_0x5766e7(_0xdec483,_0x1a6eec))||_0x183257);}return _0x34877d>0x3&&_0x183257&&Object[_0x5d6fa3(0xec)](_0xdec483,_0x1a6eec,_0x183257),_0x183257;}let _0x1e40af=class extends _0x577be9[_0x38b268(0x10b)]{constructor(_0x3dcd77,_0x6940f5){const _0x211679=_0x38b268;super(),this[_0x211679(0x12f)]=_0x3dcd77,this[_0x211679(0x125)]=_0x6940f5,this['_initResource']();}[_0x38b268(0x99)](){const _0x258e9f=_0x38b268;this[_0x258e9f(0x13f)](this[_0x258e9f(0x12f)][_0x258e9f(0x103)]({'pluginName':_0x58e0f9,'businesses':[_0x577be9['UniverInstanceType'][_0x258e9f(0xfb)]],'toJson':_0x4135c7=>JSON['stringify'](this[_0x258e9f(0x125)][_0x258e9f(0xc3)](_0x4135c7)),'parseJson':_0x4bcdf5=>_0x590e98(JSON[_0x258e9f(0x8d)](_0x4bcdf5)),'onLoad':(_0x1b4fe1,_0x2eea4c)=>this[_0x258e9f(0x125)]['deserialize'](_0x1b4fe1,_0x2eea4c),'onUnLoad':_0x22fa55=>this[_0x258e9f(0x125)][_0x258e9f(0xc4)](_0x22fa55)}));}};_0x1e40af=_0x111972([_0x1d0d2c(0x0,_0x577be9['IResourceManagerService']),_0x1d0d2c(0x1,(0x0,_0x577be9[_0x38b268(0xd9)])(_0x14cdd9))],_0x1e40af);let _0x5e5f1b=class extends _0x577be9[_0x38b268(0x138)]{constructor(_0x50a55b=_0x2e0eff,_0x1d85c6,_0x57de35,_0x3580d){const _0x405f96=_0x38b268;super(),this[_0x405f96(0xcb)]=_0x50a55b,this['_injector']=_0x1d85c6,this[_0x405f96(0x9c)]=_0x57de35,this[_0x405f96(0xd5)]=_0x3580d;let {..._0x27e37a}=(0x0,_0x577be9['merge'])({},_0x2e0eff,this[_0x405f96(0xcb)]);this[_0x405f96(0xd5)][_0x405f96(0x134)](_0x405f96(0xba),_0x27e37a);}[_0x38b268(0x163)](){const _0x2e47a6=_0x38b268;this[_0x2e47a6(0x161)][_0x2e47a6(0x93)]([_0x14cdd9]),this[_0x2e47a6(0x161)][_0x2e47a6(0x93)]([_0x1e40af]),this['_injector'][_0x2e47a6(0xd8)](_0x14cdd9),this['_injector'][_0x2e47a6(0xd8)](_0x1e40af),[_0x29870c,_0x461229,_0x4a6a1b,_0x1b8f0b,_0x145bc9,_0xdc1da0,_0x3f1126,_0x45e1b4,_0x2063a6,_0x3df94c][_0x2e47a6(0x160)](_0x11e653=>this[_0x2e47a6(0x13f)](this[_0x2e47a6(0x9c)][_0x2e47a6(0xfe)](_0x11e653)));}};_0x188821(_0x5e5f1b,_0x38b268(0x135),_0x58e0f9),_0x188821(_0x5e5f1b,'packageName',_0x500b69),_0x188821(_0x5e5f1b,'version',_0x506558),_0x188821(_0x5e5f1b,'type',_0x577be9[_0x38b268(0xf9)][_0x38b268(0xfb)]),_0x5e5f1b=_0x111972([(0x0,_0x577be9[_0x38b268(0xdf)])(_0x352e5e[_0x38b268(0x133)],_0x31b33e[_0x38b268(0x107)]),_0x1d0d2c(0x1,(0x0,_0x577be9['Inject'])(_0x577be9[_0x38b268(0xab)])),_0x1d0d2c(0x2,_0x577be9[_0x38b268(0x162)]),_0x1d0d2c(0x3,_0x577be9['IConfigService'])],_0x5e5f1b),_0x5e1d62[_0x38b268(0x14d)]=_0x58e0f9,_0x5e1d62[_0x38b268(0xc9)]=_0x3f1126,_0x5e1d62[_0x38b268(0xa2)]=_0x45e1b4,_0x5e1d62[_0x38b268(0x136)]=_0x461229,_0x5e1d62[_0x38b268(0xa8)]=_0x29870c,_0x5e1d62[_0x38b268(0x15b)]=_0x14cdd9,_0x5e1d62[_0x38b268(0xde)]=_0x145bc9,_0x5e1d62[_0x38b268(0x94)]=_0x1b8f0b,_0x5e1d62[_0x38b268(0x14c)]=_0x4a6a1b,_0x5e1d62[_0x38b268(0x132)]=_0x3df94c,_0x5e1d62['SetDocsCodeConfigMutation']=_0x2063a6,Object[_0x38b268(0xec)](_0x5e1d62,'UniverDocsCodePlugin',{'enumerable':!0x0,'get':function(){return _0x5e5f1b;}}),_0x5e1d62[_0x38b268(0x106)]=_0x27c5ff,_0x5e1d62[_0x38b268(0x155)]=_0x553e08,_0x5e1d62[_0x38b268(0xbd)]=_0x5da2fa,_0x5e1d62[_0x38b268(0x9b)]=_0x590e98;}));function _0xf6f7(){const _0x15a5f5=['min','complete','_change$','startIndex','getSingleDataStreamChange','TABLE_CELL_START','insert-new','dataStream','_configService','135JKeult','7MxvBpL','get','Inject','direction','function','find','endsWith','DocsCodeRemoveCommand','DependentOn','@univerjs-pro/license','isHeaderFooterSelection','clear','blockId','blockType','from','2568352kqodaB','customDecorations','start','getSnapshot','IUniverInstanceService','Document\x20body\x20is\x20required','defineProperty','BLOCK_END','decorate','getBlockRangeInterval','textStyle','CODE','exports','_setResource','endOffset','deleteLength','replaceDocRanges','endIndex','TRUE','UniverInstanceType','docs-code.command.unwrap','UNIVER_DOC','unitId','containsInteriorInsertionOffset','registerCommand','filter','syncExecuteCommand','getParagraphContentStartOffsets','columnGroups','registerPluginResource','paragraphStartIndex','SECTION_BREAK','buildCancelEmptyCodeParagraphActions','UniverDocsPlugin','shiftExclusiveRangeOnDelete','BLOCK_START','model','Disposable','columns','keys','textRuns','max','95685YldOml','compose','selectionManager','getContentInsertRange','every','spaceBelow','fromEntries','object','PARAGRAPH','shiftInclusiveRangeOnDelete','reduce','isArray','toStringTag','tables','rxjs','previousDocumentData','customBlocks','@univerjs/docs','docs-code.command.exit','RichTextEditingMutation','TextX','_docsCodeModel','docs-code.mutation.remove-config','commandService','MUTATION','FALSE','6086377WJIFbv','amd','1.5.0','nextDocumentData','stringify','_resourceManagerService','DocumentBlockRangeType','getBody','RemoveDocsCodeConfigMutation','UniverLicensePlugin','setConfig','pluginName','DocsCodeInsertBelowCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Plugin','keepNext','DocSelectionManagerService','paragraphStyle','@univerjs-pro/docs-code','bullet','widowControl','disposeWithMe','config','removeCode','shiftInclusiveRangeOnInsert','getCodeConfig','_resources','UniverProLicense','handler','constructor','string','3067938ayYpkQ','map','sort','DocsCodeUpdateCommand','DOCS_CODE_PLUGIN','UniverProDocsCode','getParagraphContentStartOffset','createParagraphId','monospace','slice','2TwbDOH','set','isCodeBoundaryDelete','startOffset','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','editOp','UniverDocs','nextMetadata','DocsCodeModel','indentEnd','keepLines','javascript','default','forEach','_injector','ICommandService','onStarting','dispose','right','insertOp','metadata','retain','codes','TABLE_CELL_END','Subject','insertLength','docs-code.command.insert','parse','spaceAbove','some','BooleanNumber','getUnit','docs-code.command.cancel-empty-paragraph','add','DocsCodeUnwrapCommand','COMMAND','delete','convert-paragraph','docs-code.command.consume-boundary-delete','_initResource','removeOp','normalizeDocsCodeMetadataResource','_commandService','documentData','indexOf','insertionMode','JSONX','paragraph','DocsCodeConsumeBoundaryDeleteCommand','left','change$','4927520FTImtd','push','intersectsOperationalIntervals','DocsCodeInsertCommand','getCurrentUnitOfType','cursorOffset','Injector','prototype','next','paragraphs','endTokenOffset','customRanges','UniverCore','1031622kzXchk','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','36OEgTgb','getInstance','symbol','containsStreamIndex','getBodySliceForTextXAction','blockRanges','docs-code.config','deserialize','374230uFzmOA','normalizeDocsCodeConfig','paragraphId','CommandType','asObservable','startTokenOffset','DataStreamTreeTokenType','serialize','removeUnit','setCodeConfig','length','entries','body','DocsCodeCancelEmptyParagraphCommand','sectionBreaks','_config','generateRandomId'];_0xf6f7=function(){return _0x15a5f5;};return _0xf6f7();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-code",
3
- "version": "1.3.1",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "description": "Code block model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,23 +61,23 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/license": "1.3.1",
65
- "@univerjs/core": "1.3.1",
66
- "@univerjs/docs": "1.3.1"
64
+ "@univerjs-pro/license": "1.5.0",
65
+ "@univerjs/core": "1.5.0",
66
+ "@univerjs/docs": "1.5.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@univerjs-infra/shared": "1.3.1",
69
+ "@univerjs-infra/shared": "1.5.0",
70
70
  "rxjs": "7.8.2",
71
- "typescript": "^6.0.3",
72
- "vitest": "^5.0.4"
71
+ "tsrs": "0.23.0-ts7.1.0-beta",
72
+ "vitest": "^5.1.0"
73
73
  },
74
74
  "scripts": {
75
75
  "test": "vitest run",
76
76
  "test:watch": "vitest",
77
77
  "coverage": "vitest run --coverage",
78
- "typecheck": "tsc --noEmit",
78
+ "typecheck": "tsrs --noEmit",
79
79
  "build:bundle": "univer-cli build",
80
- "build:types": "tsc -p tsconfig.node.json",
80
+ "build:types": "tsrs -p tsconfig.node.json",
81
81
  "build": "pnpm run build:bundle && pnpm run build:types"
82
82
  },
83
83
  "module": "./lib/es/index.js"