@univerjs-pro/docs-code 1.0.1 → 1.0.2

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 _0x5ec0(){var _0x2143df=['toPrimitive','7086373jUDJHp','text','generateRandomId','CODE','_createFDocumentCode','_injector','updateConfig','856590KAfsNR','symbol','length','_unitId','411374fpjCny','includes','FDocumentCode','_getDocumentData','@univerjs-pro/docs-code','isParagraphFacade','_getBlockRange','DocsCodeUnwrapCommand','10578hssFdE','getCodeAt','some','_blockId','DocsCodeRemoveCommand','_document','body','findCodeByText','call','default','getText','blockId','15hEgAaQ','save','syncExecuteCommand','join','getCodes','DocsCodeUpdateCommand','toStringTag','UniverProDocsCodeFacade','BLOCK_START','constructor','blockType','ICommandService','config','filter','@univerjs/docs/facade','startIndex','get','find','blockRanges','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','FDocument','findCodes','getId','from','extend','endIndex','prototype','PARAGRAPH','insertCode','Module','DataStreamTreeTokenType','DocumentBlockRangeType','3020zlNgkg','1646920Unsepl','function','replace','getRange','map','string','exports','iterator','605692vdHUSv','defineProperty','UniverProDocsCode','remove','18WSjPir','describe','object','dataStream','decorate','getConfig','4208944NRIyBm','_getBlockRanges'];_0x5ec0=function(){return _0x2143df;};return _0x5ec0();}function _0x568d(_0x1c5a8b,_0x100008){_0x1c5a8b=_0x1c5a8b-0xf9;var _0x5ec076=_0x5ec0();var _0x568d8e=_0x5ec076[_0x1c5a8b];return _0x568d8e;}(function(_0x4b09ba,_0x2ef3d7){var _0x85c047=_0x568d,_0x32c5ba=_0x4b09ba();while(!![]){try{var _0x14508c=parseInt(_0x85c047(0x11e))/0x1+parseInt(_0x85c047(0x136))/0x2*(-parseInt(_0x85c047(0x14a))/0x3)+parseInt(_0x85c047(0x128))/0x4+-parseInt(_0x85c047(0x115))/0x5*(-parseInt(_0x85c047(0x13e))/0x6)+-parseInt(_0x85c047(0x12b))/0x7+parseInt(_0x85c047(0x116))/0x8+-parseInt(_0x85c047(0x122))/0x9*(parseInt(_0x85c047(0x132))/0xa);if(_0x14508c===_0x2ef3d7)break;else _0x32c5ba['push'](_0x32c5ba['shift']());}catch(_0x5a1b18){_0x32c5ba['push'](_0x32c5ba['shift']());}}}(_0x5ec0,0xaef09),function(_0x5616ce,_0x146255){var _0x20bd69=_0x568d;typeof exports==_0x20bd69(0x124)&&typeof module<'u'?_0x146255(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define=='function'&&define['amd']?define([_0x20bd69(0x11c),_0x20bd69(0x13a),'@univerjs/core',_0x20bd69(0x103)],_0x146255):(_0x5616ce=typeof globalThis<'u'?globalThis:_0x5616ce||self,_0x146255(_0x5616ce[_0x20bd69(0xfc)]={},_0x5616ce[_0x20bd69(0x120)],_0x5616ce['UniverCore'],_0x5616ce['UniverDocsFacade']));}(this,function(_0x12bf0d,_0x177a31,_0x3d12df,_0x49fd77){var _0x4eece8=_0x568d;Object[_0x4eece8(0x11f)](_0x12bf0d,Symbol[_0x4eece8(0xfb)],{'value':_0x4eece8(0x112)});function _0x3a1aa6(_0x116132){'@babel/helpers - typeof';var _0x4c961b=_0x4eece8;return _0x3a1aa6=typeof Symbol=='function'&&typeof Symbol[_0x4c961b(0x11d)]=='symbol'?function(_0x4c3754){return typeof _0x4c3754;}:function(_0x1fe8cc){var _0x34e10b=_0x4c961b;return _0x1fe8cc&&typeof Symbol==_0x34e10b(0x117)&&_0x1fe8cc[_0x34e10b(0xfe)]===Symbol&&_0x1fe8cc!==Symbol[_0x34e10b(0x10f)]?_0x34e10b(0x133):typeof _0x1fe8cc;},_0x3a1aa6(_0x116132);}function _0x314ba9(_0x5ca3b2,_0x32b261){var _0x2ad591=_0x4eece8;if(_0x3a1aa6(_0x5ca3b2)!=_0x2ad591(0x124)||!_0x5ca3b2)return _0x5ca3b2;var _0xf8858f=_0x5ca3b2[Symbol[_0x2ad591(0x12a)]];if(_0xf8858f!==void 0x0){var _0x13bbfd=_0xf8858f[_0x2ad591(0x146)](_0x5ca3b2,_0x32b261||_0x2ad591(0x147));if(_0x3a1aa6(_0x13bbfd)!=_0x2ad591(0x124))return _0x13bbfd;throw TypeError(_0x2ad591(0x108));}return(_0x32b261===_0x2ad591(0x11b)?String:Number)(_0x5ca3b2);}function _0x4e90ea(_0x4a3f18){var _0x3704cc=_0x4eece8,_0x1ec40e=_0x314ba9(_0x4a3f18,_0x3704cc(0x11b));return _0x3a1aa6(_0x1ec40e)=='symbol'?_0x1ec40e:_0x1ec40e+'';}function _0x32cded(_0x36b1b4,_0xe89ea6,_0x52d425){var _0x5ae36a=_0x4eece8;return(_0xe89ea6=_0x4e90ea(_0xe89ea6))in _0x36b1b4?Object[_0x5ae36a(0x11f)](_0x36b1b4,_0xe89ea6,{'value':_0x52d425,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x36b1b4[_0xe89ea6]=_0x52d425,_0x36b1b4;}function _0xb7bd93(_0x5dd691,_0x32fb90){return function(_0x173280,_0x5ccd37){_0x32fb90(_0x173280,_0x5ccd37,_0x5dd691);};}function _0x23b70d(_0x203d4d,_0x104620,_0x2e21bc,_0x2a67eb){var _0x253c4=_0x4eece8,_0x357b7e=arguments[_0x253c4(0x134)],_0x8dddf0=_0x357b7e<0x3?_0x104620:_0x2a67eb===null?_0x2a67eb=Object['getOwnPropertyDescriptor'](_0x104620,_0x2e21bc):_0x2a67eb,_0x4bcdd6;if(typeof Reflect==_0x253c4(0x124)&&typeof Reflect[_0x253c4(0x126)]==_0x253c4(0x117))_0x8dddf0=Reflect[_0x253c4(0x126)](_0x203d4d,_0x104620,_0x2e21bc,_0x2a67eb);else{for(var _0x25e517=_0x203d4d[_0x253c4(0x134)]-0x1;_0x25e517>=0x0;_0x25e517--)(_0x4bcdd6=_0x203d4d[_0x25e517])&&(_0x8dddf0=(_0x357b7e<0x3?_0x4bcdd6(_0x8dddf0):_0x357b7e>0x3?_0x4bcdd6(_0x104620,_0x2e21bc,_0x8dddf0):_0x4bcdd6(_0x104620,_0x2e21bc))||_0x8dddf0);}return _0x357b7e>0x3&&_0x8dddf0&&Object[_0x253c4(0x11f)](_0x104620,_0x2e21bc,_0x8dddf0),_0x8dddf0;}let _0xe19759=class{constructor(_0x1e7632,_0xc3c89f,_0x52dc93){var _0x18b562=_0x4eece8;this[_0x18b562(0x143)]=_0x1e7632,this[_0x18b562(0x141)]=_0xc3c89f,this[_0x18b562(0x130)]=_0x52dc93,_0x32cded(this,_0x18b562(0x135),void 0x0),this[_0x18b562(0x135)]=this[_0x18b562(0x143)]['getId']();}[_0x4eece8(0x10b)](){var _0x2bb3c9=_0x4eece8;return this[_0x2bb3c9(0x141)];}[_0x4eece8(0x119)](){var _0x44d5a9=_0x4eece8;let _0x356592=this[_0x44d5a9(0x13c)]();return _0x356592?{'blockId':_0x356592[_0x44d5a9(0x149)],'endIndex':_0x356592['endIndex'],'startIndex':_0x356592['startIndex']}:null;}[_0x4eece8(0x148)](){var _0x38e605=_0x4eece8,_0x540786;let _0x38abb8=this[_0x38e605(0x13c)](),_0xa1e9dd=(_0x540786=this[_0x38e605(0x139)]()[_0x38e605(0x144)])==null?void 0x0:_0x540786[_0x38e605(0x125)];return!_0x38abb8||!_0xa1e9dd?'':_0xe2cf3c(_0xa1e9dd['slice'](_0x38abb8[_0x38e605(0x104)]+0x1,_0x38abb8[_0x38e605(0x10e)]));}[_0x4eece8(0x123)](){var _0x130970=_0x4eece8;let _0x2f2b0b=this[_0x130970(0x119)]();return _0x2f2b0b?{..._0x2f2b0b,'config':this[_0x130970(0x127)](),'text':this[_0x130970(0x148)](),'type':_0x3d12df[_0x130970(0x114)][_0x130970(0x12e)]}:null;}[_0x4eece8(0x127)](){var _0xc10fb5=_0x4eece8;let _0x553628=this[_0xc10fb5(0x130)]['get'](_0x177a31['DocsCodeModel']);return(0x0,_0x177a31['normalizeDocsCodeConfig'])(_0x553628['getCodeConfig'](this[_0xc10fb5(0x135)],this[_0xc10fb5(0x141)]));}[_0x4eece8(0x131)](_0x222f04){var _0x220dd=_0x4eece8;return this[_0x220dd(0x130)][_0x220dd(0x105)](_0x3d12df[_0x220dd(0x100)])['syncExecuteCommand'](_0x177a31[_0x220dd(0xfa)]['id'],{'blockId':this[_0x220dd(0x141)],'config':_0x222f04[_0x220dd(0x101)],'unitId':this[_0x220dd(0x135)]});}['unwrap'](){var _0x13a379=_0x4eece8;return this[_0x13a379(0x130)][_0x13a379(0x105)](_0x3d12df[_0x13a379(0x100)])[_0x13a379(0x14c)](_0x177a31[_0x13a379(0x13d)]['id'],{'blockId':this['_blockId'],'unitId':this[_0x13a379(0x135)]});}[_0x4eece8(0x121)](){var _0x512025=_0x4eece8;return this['_injector'][_0x512025(0x105)](_0x3d12df[_0x512025(0x100)])[_0x512025(0x14c)](_0x177a31[_0x512025(0x142)]['id'],{'blockId':this[_0x512025(0x141)],'unitId':this[_0x512025(0x135)]});}[_0x4eece8(0x13c)](){var _0x160d9f=_0x4eece8,_0x4f5f46;return((_0x4f5f46=this[_0x160d9f(0x139)]()[_0x160d9f(0x144)])==null||(_0x4f5f46=_0x4f5f46[_0x160d9f(0x107)])==null?void 0x0:_0x4f5f46[_0x160d9f(0x106)](_0x2c09c5=>_0x2c09c5[_0x160d9f(0x149)]===this['_blockId']&&_0x2c09c5[_0x160d9f(0xff)]===_0x3d12df['DocumentBlockRangeType'][_0x160d9f(0x12e)]))??null;}['_getDocumentData'](){var _0x15b655=_0x4eece8;return this[_0x15b655(0x143)][_0x15b655(0x14b)]();}};_0xe19759=_0x23b70d([_0xb7bd93(0x2,(0x0,_0x3d12df['Inject'])(_0x3d12df['Injector']))],_0xe19759);function _0xe2cf3c(_0x169c42){var _0x436b9d=_0x4eece8;return Array[_0x436b9d(0x10c)](_0x169c42)['map'](_0x378506=>_0x378506===_0x3d12df[_0x436b9d(0x113)][_0x436b9d(0x110)]?'\x0a':_0x378506)[_0x436b9d(0x102)](_0x3f6e2b=>_0x3f6e2b!==_0x3d12df['DataStreamTreeTokenType'][_0x436b9d(0xfd)]&&_0x3f6e2b!==_0x3d12df[_0x436b9d(0x113)]['BLOCK_END']&&_0x3f6e2b!==_0x3d12df[_0x436b9d(0x113)]['SECTION_BREAK'])[_0x436b9d(0x14d)]('')[_0x436b9d(0x118)](/\n$/,'');}var _0x77c770=class extends _0x49fd77[_0x4eece8(0x109)]{[_0x4eece8(0xf9)](){var _0x428619=_0x4eece8;return this['_getBlockRanges']()[_0x428619(0x102)](_0x36bdfb=>_0x36bdfb[_0x428619(0xff)]===_0x3d12df[_0x428619(0x114)][_0x428619(0x12e)])[_0x428619(0x11a)](_0x124182=>this[_0x428619(0x12f)](_0x124182['blockId']));}['getCode'](_0x5cb720){var _0x85da7a=_0x4eece8;return this[_0x85da7a(0x129)]()[_0x85da7a(0x140)](_0x1d6119=>_0x1d6119[_0x85da7a(0x149)]===_0x5cb720&&_0x1d6119[_0x85da7a(0xff)]===_0x3d12df[_0x85da7a(0x114)][_0x85da7a(0x12e)])?this['_createFDocumentCode'](_0x5cb720):null;}[_0x4eece8(0x13f)](_0x4725c6){var _0x593ec2=_0x4eece8;let _0x1c342f=this[_0x593ec2(0x129)]()[_0x593ec2(0x106)](_0x2d9d08=>_0x2d9d08[_0x593ec2(0xff)]===_0x3d12df[_0x593ec2(0x114)][_0x593ec2(0x12e)]&&_0x2d9d08[_0x593ec2(0x104)]<=_0x4725c6&&_0x4725c6<=_0x2d9d08[_0x593ec2(0x10e)]);return _0x1c342f?this[_0x593ec2(0x12f)](_0x1c342f[_0x593ec2(0x149)]):null;}[_0x4eece8(0x145)](_0x48d44e){var _0x91d2f9=_0x4eece8;return this[_0x91d2f9(0x10a)](_0x48d44e)[0x0]??null;}[_0x4eece8(0x10a)](_0x2ff311){var _0x17690f=_0x4eece8;let _0x301b90=typeof _0x2ff311==_0x17690f(0x11b)?{'text':_0x2ff311}:_0x2ff311;return this[_0x17690f(0xf9)]()[_0x17690f(0x102)](_0x78cf26=>!(_0x301b90['blockId']&&_0x78cf26[_0x17690f(0x10b)]()!==_0x301b90[_0x17690f(0x149)]||_0x301b90[_0x17690f(0x12c)]&&!_0x78cf26[_0x17690f(0x148)]()[_0x17690f(0x137)](_0x301b90[_0x17690f(0x12c)])));}[_0x4eece8(0x111)](_0x262920={},_0x32891a={}){var _0x4606e1=_0x4eece8;let _0x45d8e5=this[_0x4606e1(0x130)][_0x4606e1(0x105)](_0x3d12df['ICommandService']),_0x511233=(0x0,_0x49fd77[_0x4606e1(0x13b)])(_0x262920)?{..._0x32891a,..._0x262920[_0x4606e1(0x119)]()}:_0x262920,_0x542342=_0x511233[_0x4606e1(0x149)]??(0x0,_0x3d12df[_0x4606e1(0x12d)])(0x6);return _0x45d8e5['syncExecuteCommand'](_0x177a31['DocsCodeInsertCommand']['id'],{..._0x511233,'blockId':_0x542342,'unitId':this[_0x4606e1(0x10b)]()})?this['getCode'](_0x542342):null;}['_getBlockRanges'](){var _0x467941=_0x4eece8,_0x58dca6;return((_0x58dca6=this[_0x467941(0x14b)]()[_0x467941(0x144)])==null?void 0x0:_0x58dca6[_0x467941(0x107)])??[];}[_0x4eece8(0x12f)](_0x24e837){var _0x47e6ab=_0x4eece8;return this[_0x47e6ab(0x130)]['createInstance'](_0xe19759,this,_0x24e837);}};_0x49fd77[_0x4eece8(0x109)][_0x4eece8(0x10d)](_0x77c770),Object[_0x4eece8(0x11f)](_0x12bf0d,_0x4eece8(0x138),{'enumerable':!0x0,'get':function(){return _0xe19759;}});}));
1
+ function _0x419a(_0x29af4f,_0x5f1c66){_0x29af4f=_0x29af4f-0x115;var _0x1a0357=_0x1a03();var _0x419a61=_0x1a0357[_0x29af4f];return _0x419a61;}(function(_0x1fd0b9,_0x5132ca){var _0x36fff3=_0x419a,_0x275414=_0x1fd0b9();while(!![]){try{var _0x5c13a6=parseInt(_0x36fff3(0x11b))/0x1+parseInt(_0x36fff3(0x14e))/0x2*(-parseInt(_0x36fff3(0x129))/0x3)+parseInt(_0x36fff3(0x115))/0x4*(parseInt(_0x36fff3(0x119))/0x5)+-parseInt(_0x36fff3(0x121))/0x6*(parseInt(_0x36fff3(0x11d))/0x7)+-parseInt(_0x36fff3(0x14f))/0x8+parseInt(_0x36fff3(0x15f))/0x9+parseInt(_0x36fff3(0x126))/0xa;if(_0x5c13a6===_0x5132ca)break;else _0x275414['push'](_0x275414['shift']());}catch(_0x4e7254){_0x275414['push'](_0x275414['shift']());}}}(_0x1a03,0xd7d98),function(_0x2ea1ef,_0x433ef7){var _0x115371=_0x419a;typeof exports==_0x115371(0x167)&&typeof module<'u'?_0x433ef7(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x115371(0x144)&&define[_0x115371(0x13e)]?define([_0x115371(0x11a),_0x115371(0x154),'@univerjs/core','@univerjs/docs/facade'],_0x433ef7):(_0x2ea1ef=typeof globalThis<'u'?globalThis:_0x2ea1ef||self,_0x433ef7(_0x2ea1ef[_0x115371(0x15a)]={},_0x2ea1ef['UniverProDocsCode'],_0x2ea1ef[_0x115371(0x137)],_0x2ea1ef['UniverDocsFacade']));}(this,function(_0x283528,_0x8ccb24,_0x18f01a,_0x2f557a){var _0x266d0a=_0x419a;Object[_0x266d0a(0x15c)](_0x283528,Symbol['toStringTag'],{'value':_0x266d0a(0x139)});function _0x2db9ba(_0xf832a0){'@babel/helpers - typeof';var _0x8a7eb=_0x266d0a;return _0x2db9ba=typeof Symbol==_0x8a7eb(0x144)&&typeof Symbol[_0x8a7eb(0x12f)]==_0x8a7eb(0x13c)?function(_0x453215){return typeof _0x453215;}:function(_0x543515){var _0x18cca7=_0x8a7eb;return _0x543515&&typeof Symbol==_0x18cca7(0x144)&&_0x543515[_0x18cca7(0x135)]===Symbol&&_0x543515!==Symbol[_0x18cca7(0x13f)]?_0x18cca7(0x13c):typeof _0x543515;},_0x2db9ba(_0xf832a0);}function _0x5ee1cb(_0x5a6671,_0x39f13c){var _0x590373=_0x266d0a;if(_0x2db9ba(_0x5a6671)!=_0x590373(0x167)||!_0x5a6671)return _0x5a6671;var _0x3bb1a3=_0x5a6671[Symbol[_0x590373(0x13d)]];if(_0x3bb1a3!==void 0x0){var _0x8f2168=_0x3bb1a3[_0x590373(0x13b)](_0x5a6671,_0x39f13c||_0x590373(0x168));if(_0x2db9ba(_0x8f2168)!=_0x590373(0x167))return _0x8f2168;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x39f13c==='string'?String:Number)(_0x5a6671);}function _0x3bbcaa(_0x5c4d46){var _0x2442de=_0x266d0a,_0x31c150=_0x5ee1cb(_0x5c4d46,_0x2442de(0x149));return _0x2db9ba(_0x31c150)==_0x2442de(0x13c)?_0x31c150:_0x31c150+'';}function _0x3f683b(_0x1aa708,_0x18a199,_0x343997){return(_0x18a199=_0x3bbcaa(_0x18a199))in _0x1aa708?Object['defineProperty'](_0x1aa708,_0x18a199,{'value':_0x343997,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1aa708[_0x18a199]=_0x343997,_0x1aa708;}function _0x701b3b(_0x800e9a,_0x4c596a){return function(_0x4ed05a,_0x23776c){_0x4c596a(_0x4ed05a,_0x23776c,_0x800e9a);};}function _0x192831(_0x3bdafe,_0x576e5e,_0x48bd93,_0x4e9a0d){var _0x243e08=_0x266d0a,_0x4e555b=arguments['length'],_0x268243=_0x4e555b<0x3?_0x576e5e:_0x4e9a0d===null?_0x4e9a0d=Object[_0x243e08(0x14a)](_0x576e5e,_0x48bd93):_0x4e9a0d,_0x224537;if(typeof Reflect=='object'&&typeof Reflect[_0x243e08(0x141)]==_0x243e08(0x144))_0x268243=Reflect[_0x243e08(0x141)](_0x3bdafe,_0x576e5e,_0x48bd93,_0x4e9a0d);else{for(var _0x564439=_0x3bdafe[_0x243e08(0x160)]-0x1;_0x564439>=0x0;_0x564439--)(_0x224537=_0x3bdafe[_0x564439])&&(_0x268243=(_0x4e555b<0x3?_0x224537(_0x268243):_0x4e555b>0x3?_0x224537(_0x576e5e,_0x48bd93,_0x268243):_0x224537(_0x576e5e,_0x48bd93))||_0x268243);}return _0x4e555b>0x3&&_0x268243&&Object[_0x243e08(0x15c)](_0x576e5e,_0x48bd93,_0x268243),_0x268243;}let _0x3f4385=class{constructor(_0x5d7d4c,_0x43cbf3,_0x5334e0){var _0x1e0780=_0x266d0a;this['_document']=_0x5d7d4c,this[_0x1e0780(0x165)]=_0x43cbf3,this['_injector']=_0x5334e0,_0x3f683b(this,'_unitId',void 0x0),this[_0x1e0780(0x159)]=this[_0x1e0780(0x162)][_0x1e0780(0x124)]();}[_0x266d0a(0x124)](){var _0x5b6411=_0x266d0a;return this[_0x5b6411(0x165)];}['getRange'](){var _0x504aee=_0x266d0a;let _0x321546=this[_0x504aee(0x140)]();return _0x321546?{'blockId':_0x321546['blockId'],'endIndex':_0x321546[_0x504aee(0x127)],'startIndex':_0x321546['startIndex']}:null;}[_0x266d0a(0x128)](){var _0x3556cf=_0x266d0a,_0x45128a;let _0xee0559=this[_0x3556cf(0x140)](),_0x7e1d50=(_0x45128a=this[_0x3556cf(0x142)]()['body'])==null?void 0x0:_0x45128a[_0x3556cf(0x125)];return!_0xee0559||!_0x7e1d50?'':_0x3717e2(_0x7e1d50[_0x3556cf(0x117)](_0xee0559[_0x3556cf(0x131)]+0x1,_0xee0559[_0x3556cf(0x127)]));}[_0x266d0a(0x156)](){var _0x5e5627=_0x266d0a;let _0x2a53b4=this['getRange']();return _0x2a53b4?{..._0x2a53b4,'config':this[_0x5e5627(0x146)](),'text':this[_0x5e5627(0x128)](),'type':_0x18f01a[_0x5e5627(0x12a)][_0x5e5627(0x136)]}:null;}[_0x266d0a(0x146)](){var _0x4b2198=_0x266d0a;let _0x33fb8e=this['_injector'][_0x4b2198(0x130)](_0x8ccb24[_0x4b2198(0x123)]);return(0x0,_0x8ccb24[_0x4b2198(0x120)])(_0x33fb8e['getCodeConfig'](this['_unitId'],this['_blockId']));}[_0x266d0a(0x158)](_0x4b4e55){var _0x2bc06b=_0x266d0a;return this['_injector']['get'](_0x18f01a[_0x2bc06b(0x150)])['syncExecuteCommand'](_0x8ccb24[_0x2bc06b(0x163)]['id'],{'blockId':this[_0x2bc06b(0x165)],'config':_0x4b4e55[_0x2bc06b(0x15d)],'unitId':this['_unitId']});}[_0x266d0a(0x164)](){var _0x216d67=_0x266d0a;return this['_injector'][_0x216d67(0x130)](_0x18f01a[_0x216d67(0x150)])[_0x216d67(0x11e)](_0x8ccb24['DocsCodeUnwrapCommand']['id'],{'blockId':this[_0x216d67(0x165)],'unitId':this[_0x216d67(0x159)]});}['remove'](){var _0x1c0a52=_0x266d0a;return this[_0x1c0a52(0x145)]['get'](_0x18f01a[_0x1c0a52(0x150)])[_0x1c0a52(0x11e)](_0x8ccb24['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x1c0a52(0x165)],'unitId':this['_unitId']});}[_0x266d0a(0x140)](){var _0x511d6e=_0x266d0a,_0x3c1184;return((_0x3c1184=this[_0x511d6e(0x142)]()[_0x511d6e(0x143)])==null||(_0x3c1184=_0x3c1184[_0x511d6e(0x12c)])==null?void 0x0:_0x3c1184[_0x511d6e(0x13a)](_0xa1f5d2=>_0xa1f5d2[_0x511d6e(0x134)]===this[_0x511d6e(0x165)]&&_0xa1f5d2[_0x511d6e(0x169)]===_0x18f01a[_0x511d6e(0x12a)][_0x511d6e(0x136)]))??null;}['_getDocumentData'](){var _0x512c39=_0x266d0a;return this[_0x512c39(0x162)]['save']();}};_0x3f4385=_0x192831([_0x701b3b(0x2,(0x0,_0x18f01a[_0x266d0a(0x14c)])(_0x18f01a[_0x266d0a(0x15b)]))],_0x3f4385);function _0x3717e2(_0x2999e8){var _0x21de29=_0x266d0a;return Array['from'](_0x2999e8)[_0x21de29(0x138)](_0x540781=>_0x540781===_0x18f01a[_0x21de29(0x152)]['PARAGRAPH']?'\x0a':_0x540781)[_0x21de29(0x147)](_0x39467a=>_0x39467a!==_0x18f01a[_0x21de29(0x152)][_0x21de29(0x133)]&&_0x39467a!==_0x18f01a[_0x21de29(0x152)][_0x21de29(0x12d)]&&_0x39467a!==_0x18f01a[_0x21de29(0x152)]['SECTION_BREAK'])['join']('')[_0x21de29(0x14b)](/\n$/,'');}var _0x1ccba2=class extends _0x2f557a[_0x266d0a(0x118)]{[_0x266d0a(0x157)](){var _0x36cc0d=_0x266d0a;return this[_0x36cc0d(0x166)]()['filter'](_0x4ebca4=>_0x4ebca4[_0x36cc0d(0x169)]===_0x18f01a['DocumentBlockRangeType']['CODE'])[_0x36cc0d(0x138)](_0x13a417=>this['_createFDocumentCode'](_0x13a417[_0x36cc0d(0x134)]));}[_0x266d0a(0x148)](_0x536382){var _0x5e0074=_0x266d0a;return this[_0x5e0074(0x166)]()[_0x5e0074(0x12e)](_0x16d855=>_0x16d855['blockId']===_0x536382&&_0x16d855['blockType']===_0x18f01a[_0x5e0074(0x12a)][_0x5e0074(0x136)])?this['_createFDocumentCode'](_0x536382):null;}['getCodeAt'](_0x2e9b2b){var _0x16a27d=_0x266d0a;let _0x564a79=this[_0x16a27d(0x166)]()[_0x16a27d(0x13a)](_0x8f1957=>_0x8f1957[_0x16a27d(0x169)]===_0x18f01a['DocumentBlockRangeType'][_0x16a27d(0x136)]&&_0x8f1957[_0x16a27d(0x131)]<=_0x2e9b2b&&_0x2e9b2b<=_0x8f1957[_0x16a27d(0x127)]);return _0x564a79?this[_0x16a27d(0x132)](_0x564a79[_0x16a27d(0x134)]):null;}[_0x266d0a(0x11f)](_0x4bc1b2){return this['findCodes'](_0x4bc1b2)[0x0]??null;}[_0x266d0a(0x151)](_0x5ef5fe){var _0x30f580=_0x266d0a;let _0x4066e6=typeof _0x5ef5fe==_0x30f580(0x149)?{'text':_0x5ef5fe}:_0x5ef5fe;return this[_0x30f580(0x157)]()[_0x30f580(0x147)](_0x5a35e5=>!(_0x4066e6[_0x30f580(0x134)]&&_0x5a35e5['getId']()!==_0x4066e6[_0x30f580(0x134)]||_0x4066e6['text']&&!_0x5a35e5['getText']()['includes'](_0x4066e6[_0x30f580(0x155)])));}[_0x266d0a(0x153)](_0x4837ea={},_0x43b4fe={}){var _0x5c46ac=_0x266d0a;let _0x5b212c=this['_injector'][_0x5c46ac(0x130)](_0x18f01a[_0x5c46ac(0x150)]),_0x30f2b4=(0x0,_0x2f557a['isParagraphFacade'])(_0x4837ea)?{..._0x43b4fe,..._0x4837ea[_0x5c46ac(0x12b)]()}:_0x4837ea,_0x51c294=_0x30f2b4[_0x5c46ac(0x134)]??(0x0,_0x18f01a[_0x5c46ac(0x11c)])(0x6);return _0x5b212c[_0x5c46ac(0x11e)](_0x8ccb24[_0x5c46ac(0x15e)]['id'],{..._0x30f2b4,'blockId':_0x51c294,'unitId':this[_0x5c46ac(0x124)]()})?this['getCode'](_0x51c294):null;}[_0x266d0a(0x166)](){var _0x44ec78=_0x266d0a,_0x5e98bd;return((_0x5e98bd=this[_0x44ec78(0x14d)]()['body'])==null?void 0x0:_0x5e98bd[_0x44ec78(0x12c)])??[];}[_0x266d0a(0x132)](_0x53298f){var _0x12a307=_0x266d0a;return this['_injector'][_0x12a307(0x116)](_0x3f4385,this,_0x53298f);}};_0x2f557a[_0x266d0a(0x118)][_0x266d0a(0x122)](_0x1ccba2),Object[_0x266d0a(0x15c)](_0x283528,_0x266d0a(0x161),{'enumerable':!0x0,'get':function(){return _0x3f4385;}});}));function _0x1a03(){var _0x19c2ab=['startIndex','_createFDocumentCode','BLOCK_START','blockId','constructor','CODE','UniverCore','map','Module','find','call','symbol','toPrimitive','amd','prototype','_getBlockRange','decorate','_getDocumentData','body','function','_injector','getConfig','filter','getCode','string','getOwnPropertyDescriptor','replace','Inject','save','2kJbkoB','890968cUgdTg','ICommandService','findCodes','DataStreamTreeTokenType','insertCode','@univerjs-pro/docs-code','text','describe','getCodes','updateConfig','_unitId','UniverProDocsCodeFacade','Injector','defineProperty','config','DocsCodeInsertCommand','5816223mAUOVi','length','FDocumentCode','_document','DocsCodeUpdateCommand','unwrap','_blockId','_getBlockRanges','object','default','blockType','7019744UZlmMP','createInstance','slice','FDocument','5nDSjHu','exports','84587eQqkDb','generateRandomId','1485953wSCxES','syncExecuteCommand','findCodeByText','normalizeDocsCodeConfig','42lWVwMe','extend','DocsCodeModel','getId','dataStream','3564410wUmyAJ','endIndex','getText','1082301hPYXWN','DocumentBlockRangeType','getRange','blockRanges','BLOCK_END','some','iterator','get'];_0x1a03=function(){return _0x19c2ab;};return _0x1a03();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3ff6(_0x2e9b54,_0x2a2e5e){_0x2e9b54=_0x2e9b54-0x1ba;const _0x28af11=_0x28af();let _0x3ff623=_0x28af11[_0x2e9b54];return _0x3ff623;}(function(_0xdadb56,_0x50ae22){const _0x1b7453=_0x3ff6,_0x1934f1=_0xdadb56();while(!![]){try{const _0x5419d1=parseInt(_0x1b7453(0x295))/0x1*(parseInt(_0x1b7453(0x1d1))/0x2)+-parseInt(_0x1b7453(0x208))/0x3*(parseInt(_0x1b7453(0x20b))/0x4)+-parseInt(_0x1b7453(0x290))/0x5*(parseInt(_0x1b7453(0x248))/0x6)+parseInt(_0x1b7453(0x276))/0x7*(parseInt(_0x1b7453(0x1e6))/0x8)+-parseInt(_0x1b7453(0x202))/0x9+parseInt(_0x1b7453(0x219))/0xa+-parseInt(_0x1b7453(0x224))/0xb;if(_0x5419d1===_0x50ae22)break;else _0x1934f1['push'](_0x1934f1['shift']());}catch(_0x1046df){_0x1934f1['push'](_0x1934f1['shift']());}}}(_0x28af,0xba0b3),function(_0x1950af,_0x16c357){const _0x3220f0=_0x3ff6;typeof exports==_0x3220f0(0x246)&&typeof module<'u'?_0x16c357(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x3220f0(0x1be)&&define[_0x3220f0(0x1de)]?define([_0x3220f0(0x1bd),_0x3220f0(0x223),'rxjs','@univerjs/docs',_0x3220f0(0x242)],_0x16c357):(_0x1950af=typeof globalThis<'u'?globalThis:_0x1950af||self,_0x16c357(_0x1950af['UniverProDocsCode']={},_0x1950af['UniverCore'],_0x1950af['rxjs'],_0x1950af[_0x3220f0(0x273)],_0x1950af[_0x3220f0(0x252)]));}(this,function(_0x9f50bb,_0x5e56ba,_0x5638ce,_0x1e06fa,_0x5d5981){const _0x16a119=_0x3ff6;Object['defineProperty'](_0x9f50bb,Symbol[_0x16a119(0x1f0)],{'value':_0x16a119(0x1ef)});let _0x33b8f5={'language':_0x16a119(0x24e),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x4d8eb6(_0x3398cf){return{..._0x33b8f5,..._0x3398cf};}function _0x54903e(_0x486bff){const _0x4c3e91=_0x16a119;let _0x386e9e=(_0x486bff==null?void 0x0:_0x486bff[_0x4c3e91(0x213)])??{};return{'codes':Object[_0x4c3e91(0x22b)](Object['entries'](_0x386e9e)[_0x4c3e91(0x1c2)](([_0x371aff,_0x10913b])=>[_0x371aff,_0x4d8eb6(_0x10913b)]))};}function _0xf26960(_0x5952f2,_0x44978,_0x1c324c){const _0x49c3fa=_0x16a119;let _0x19590b=_0x54903e(_0x5952f2);return _0x19590b[_0x49c3fa(0x213)][_0x44978]=_0x4d8eb6({..._0x19590b[_0x49c3fa(0x213)][_0x44978],..._0x1c324c}),_0x19590b;}function _0x9ccb71(_0x22896e,_0x5ac54d){const _0x4da5bd=_0x16a119;let _0x1d02b7=_0x54903e(_0x22896e);return delete _0x1d02b7[_0x4da5bd(0x213)][_0x5ac54d],_0x1d02b7;}function _0x1bcdc3(_0x42300c){'@babel/helpers - typeof';const _0x3523a9=_0x16a119;return _0x1bcdc3=typeof Symbol==_0x3523a9(0x1be)&&typeof Symbol[_0x3523a9(0x1ea)]==_0x3523a9(0x28c)?function(_0x716f38){return typeof _0x716f38;}:function(_0x2a126a){const _0x5d0333=_0x3523a9;return _0x2a126a&&typeof Symbol==_0x5d0333(0x1be)&&_0x2a126a[_0x5d0333(0x221)]===Symbol&&_0x2a126a!==Symbol[_0x5d0333(0x22f)]?_0x5d0333(0x28c):typeof _0x2a126a;},_0x1bcdc3(_0x42300c);}function _0x23a323(_0x27d917,_0x169709){const _0x32c7e5=_0x16a119;if(_0x1bcdc3(_0x27d917)!=_0x32c7e5(0x246)||!_0x27d917)return _0x27d917;var _0x4c62be=_0x27d917[Symbol[_0x32c7e5(0x28e)]];if(_0x4c62be!==void 0x0){var _0x285676=_0x4c62be['call'](_0x27d917,_0x169709||_0x32c7e5(0x1bc));if(_0x1bcdc3(_0x285676)!='object')return _0x285676;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x169709===_0x32c7e5(0x1f6)?String:Number)(_0x27d917);}function _0x10844c(_0x5b8620){const _0x21d160=_0x16a119;var _0x16b62e=_0x23a323(_0x5b8620,_0x21d160(0x1f6));return _0x1bcdc3(_0x16b62e)=='symbol'?_0x16b62e:_0x16b62e+'';}function _0x264d0e(_0x56ba7d,_0xbda2f4,_0x4bb5e9){const _0x244616=_0x16a119;return(_0xbda2f4=_0x10844c(_0xbda2f4))in _0x56ba7d?Object[_0x244616(0x20a)](_0x56ba7d,_0xbda2f4,{'value':_0x4bb5e9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x56ba7d[_0xbda2f4]=_0x4bb5e9,_0x56ba7d;}var _0x2320bb=class extends _0x5e56ba[_0x16a119(0x1f3)]{constructor(..._0x2229c6){const _0x448842=_0x16a119;super(..._0x2229c6),_0x264d0e(this,'_resources',new Map()),_0x264d0e(this,_0x448842(0x1ec),new _0x5638ce[(_0x448842(0x1c9))]()),_0x264d0e(this,_0x448842(0x1e0),this[_0x448842(0x1ec)][_0x448842(0x244)]());}[_0x16a119(0x261)](_0x236f30,_0x5207fa){const _0x19bb25=_0x16a119;return _0x54903e(this[_0x19bb25(0x25d)][_0x19bb25(0x228)](_0x236f30))[_0x19bb25(0x213)][_0x5207fa];}[_0x16a119(0x229)](_0x133b6b,_0x56f2e5,_0x50a777){const _0x2f28ae=_0x16a119;this[_0x2f28ae(0x279)](_0x133b6b,_0x56f2e5,_0xf26960(this['_resources']['get'](_0x133b6b),_0x56f2e5,_0x50a777));}[_0x16a119(0x1e3)](_0x550620,_0x4a591c){const _0x5bf751=_0x16a119;this[_0x5bf751(0x279)](_0x550620,_0x4a591c,_0x9ccb71(this['_resources'][_0x5bf751(0x228)](_0x550620),_0x4a591c));}[_0x16a119(0x258)](_0x1b0060){const _0x19d3bf=_0x16a119;return _0x54903e(this[_0x19d3bf(0x25d)]['get'](_0x1b0060));}[_0x16a119(0x233)](_0x3027aa,_0x17b057){const _0x2231c8=_0x16a119;this[_0x2231c8(0x25d)][_0x2231c8(0x278)](_0x3027aa,_0x54903e(_0x17b057)),this['_change$'][_0x2231c8(0x259)]({'unitId':_0x3027aa});}[_0x16a119(0x211)](_0x1aee17){const _0x1538f7=_0x16a119;this[_0x1538f7(0x25d)]['delete'](_0x1aee17),this[_0x1538f7(0x1ec)]['next']({'unitId':_0x1aee17});}[_0x16a119(0x23e)](){const _0x1776ca=_0x16a119;super[_0x1776ca(0x23e)](),this['_resources'][_0x1776ca(0x226)](),this[_0x1776ca(0x1ec)][_0x1776ca(0x1eb)]();}['_setResource'](_0x46074c,_0xf35fff,_0xd94221){const _0x4d583c=_0x16a119;this[_0x4d583c(0x25d)][_0x4d583c(0x278)](_0x46074c,_0xd94221),this[_0x4d583c(0x1ec)][_0x4d583c(0x259)]({'unitId':_0x46074c,'blockId':_0xf35fff});}};let _0x4ed727={'id':_0x16a119(0x1c3),'type':_0x5e56ba['CommandType'][_0x16a119(0x263)],'handler':(_0x5f2d1b,_0x148e9a)=>!(_0x148e9a!=null&&_0x148e9a['unitId'])||!_0x148e9a[_0x16a119(0x1ba)]?!0x1:(_0x5f2d1b[_0x16a119(0x228)](_0x2320bb)['setCodeConfig'](_0x148e9a[_0x16a119(0x210)],_0x148e9a[_0x16a119(0x1ba)],_0x148e9a[_0x16a119(0x26a)]),!0x0)},_0x1a2b6d={'id':_0x16a119(0x23f),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x263)],'handler':(_0x502760,_0x1e30cf)=>!(_0x1e30cf!=null&&_0x1e30cf[_0x16a119(0x210)])||!_0x1e30cf[_0x16a119(0x1ba)]?!0x1:(_0x502760[_0x16a119(0x228)](_0x2320bb)[_0x16a119(0x1e3)](_0x1e30cf[_0x16a119(0x210)],_0x1e30cf[_0x16a119(0x1ba)]),!0x0)},_0x2fe876=_0x16a119(0x27d);var _0xdcdbe=class extends Error{constructor(_0xb75d98='Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries'){super(_0xb75d98);}};function _0x45a87e(_0x447bd7){const _0x172123=_0x16a119;var _0x1b5974;let _0x516367=_0x20a186(_0x447bd7[_0x172123(0x25e)]),_0x49f475=_0x2fc1ca(_0x516367),_0x20d62b=_0x2ac203(_0x447bd7[_0x172123(0x27f)],_0x447bd7['endOffset']),_0x1720b7=_0x20d62b?(_0x1b5974=_0x49f475[_0x172123(0x1d7)])==null?void 0x0:_0x1b5974[_0x172123(0x25f)](_0x18915e=>{const _0x36e409=_0x172123;let _0x3c86e4=(0x0,_0x5e56ba[_0x36e409(0x241)])(_0x18915e);return _0x3c86e4['startOffset']===_0x20d62b[_0x36e409(0x27f)]&&_0x3c86e4['endOffset']===_0x20d62b['endOffset'];}):void 0x0,{startOffset:_0x785226,endOffset:_0x3935d7}=_0x1720b7?_0x20d62b:_0x309e90(_0x49f475,_0x447bd7[_0x172123(0x27f)],_0x447bd7[_0x172123(0x1e7)],_0x447bd7[_0x172123(0x1d9)]);if(!_0x1720b7&&_0x51da94(_0x49f475,_0x785226,_0x3935d7))throw new _0xdcdbe(_0x172123(0x294));let _0x44b03c=_0x197d1c(_0x49f475,_0x785226,_0x3935d7),_0x2b1cfe=(_0x1720b7==null?void 0x0:_0x1720b7[_0x172123(0x1ba)])??_0x447bd7[_0x172123(0x1ba)],_0x39b41f=_0xf26960(_0x447bd7[_0x172123(0x1fc)],_0x2b1cfe,{..._0x33b8f5,..._0x447bd7[_0x172123(0x26a)]});if(_0x1720b7)return _0x1720b7[_0x172123(0x1c6)]=_0x5e56ba[_0x172123(0x254)][_0x172123(0x23d)],_0x548905(_0x49f475,_0x785226,_0x3935d7),_0x56a229(_0x49f475,_0x785226,_0x3935d7,_0x44b03c),_0x36eae6(_0x49f475,_0x1720b7),{'nextDocumentData':_0x516367,'nextMetadata':_0x39b41f,'cursorOffset':_0x785226+0x1};if(_0x785226===_0x3935d7){var _0x3e2e21,_0x54ee5d;let _0x32733d=''+_0x5e56ba[_0x172123(0x1d8)][_0x172123(0x1f7)]+_0x5e56ba[_0x172123(0x1d8)]['PARAGRAPH']+_0x5e56ba[_0x172123(0x1d8)]['BLOCK_END'];_0x40445c(_0x49f475,_0x785226,_0x32733d,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x5e56ba[_0x172123(0x1f4)])(new Set((_0x3e2e21=_0x49f475['paragraphs'])==null?void 0x0:_0x3e2e21[_0x172123(0x1c2)](_0x237dd7=>_0x237dd7[_0x172123(0x1e4)]))),'paragraphStyle':_0x510541(!0x0,!0x0,_0x44b03c)}],'blockRanges':[{'blockId':_0x2b1cfe,'blockType':_0x5e56ba['DocumentBlockRangeType'][_0x172123(0x23d)],'startIndex':0x0,'endIndex':_0x32733d[_0x172123(0x291)]-0x1}]});let _0x2e211e=(_0x54ee5d=_0x49f475[_0x172123(0x1d7)])==null?void 0x0:_0x54ee5d[_0x172123(0x25f)](_0xe46f3c=>_0xe46f3c[_0x172123(0x1ba)]===_0x2b1cfe);return _0x2e211e&&_0x36eae6(_0x49f475,_0x2e211e),{'nextDocumentData':_0x516367,'nextMetadata':_0x39b41f,'cursorOffset':_0x785226+0x1};}_0x40445c(_0x49f475,_0x3935d7,_0x5e56ba['DataStreamTreeTokenType']['BLOCK_END']),_0x40445c(_0x49f475,_0x785226,_0x5e56ba['DataStreamTreeTokenType'][_0x172123(0x1f7)]),_0x56a229(_0x49f475,_0x785226,_0x3935d7+0x1,_0x44b03c);let _0x10b500={'blockId':_0x2b1cfe,'blockType':_0x5e56ba['DocumentBlockRangeType'][_0x172123(0x23d)],'startIndex':_0x785226,'endIndex':_0x3935d7+0x1};return _0x49f475[_0x172123(0x1d7)]=[..._0x49f475['blockRanges']??[],_0x10b500][_0x172123(0x243)]((_0xdbe717,_0x37c73c)=>_0xdbe717[_0x172123(0x1e8)]-_0x37c73c[_0x172123(0x1e8)]),_0x36eae6(_0x49f475,_0x10b500),{'nextDocumentData':_0x516367,'nextMetadata':_0x39b41f,'cursorOffset':_0x785226+0x1};}function _0x548905(_0x20ff7b,_0x1ac827,_0x41783e){const _0x422379=_0x16a119;(_0x20ff7b[_0x422379(0x251)]??[])[_0x422379(0x22a)](_0x342efa=>_0x342efa[_0x422379(0x1e8)]>_0x1ac827&&_0x342efa['startIndex']<_0x41783e)[_0x422379(0x239)](_0x5ed842=>{const _0x5cf4a5=_0x422379;let _0x4cd6cd={..._0x5ed842['paragraphStyle']??{}};delete _0x4cd6cd[_0x5cf4a5(0x1c7)],delete _0x4cd6cd[_0x5cf4a5(0x28d)],_0x5ed842[_0x5cf4a5(0x1d2)]=_0x4cd6cd;});}function _0x2ac203(_0x3e043f,_0x2e4e58){const _0x375e30=_0x16a119;return _0x3e043f==null||_0x2e4e58==null||_0x3e043f===_0x2e4e58?null:{'startOffset':Math[_0x375e30(0x1bf)](_0x3e043f,_0x2e4e58),'endOffset':Math[_0x375e30(0x1ca)](_0x3e043f,_0x2e4e58)};}function _0x51da94(_0x9c2d7,_0x3d3de2,_0x41e166){const _0x296e89=_0x16a119;return(_0x9c2d7[_0x296e89(0x1d7)]??[])[_0x296e89(0x214)](_0x53e8bd=>{const _0x390367=_0x296e89;let _0x2e3208=(0x0,_0x5e56ba[_0x390367(0x241)])(_0x53e8bd);return _0x3d3de2===_0x41e166?(0x0,_0x5e56ba[_0x390367(0x27a)])(_0x2e3208,_0x3d3de2):(0x0,_0x5e56ba[_0x390367(0x27c)])(_0x2e3208,{'startOffset':_0x3d3de2,'endOffset':_0x41e166});});}function _0x465346(_0x3f3e3a){const _0x515d0d=_0x16a119;return{'nextDocumentData':_0x20a186(_0x3f3e3a[_0x515d0d(0x25e)]),'nextMetadata':_0xf26960(_0x3f3e3a['metadata'],_0x3f3e3a['blockId'],_0x3f3e3a[_0x515d0d(0x26a)]),'cursorOffset':0x0};}function _0x3a1a24(_0xb9182f){const _0xf33371=_0x16a119;let _0x8c96c9=_0x20a186(_0xb9182f[_0xf33371(0x25e)]),_0x4e3566=_0x2fc1ca(_0x8c96c9),_0x3ecce3=_0x30e1b6(_0x4e3566,_0xb9182f[_0xf33371(0x1ba)]);if(!_0x3ecce3)return null;let _0x17d30f=_0x22643c(_0x4e3566,_0x3ecce3);return{'nextDocumentData':_0x8c96c9,'nextMetadata':_0x9ccb71(_0xb9182f['metadata'],_0xb9182f[_0xf33371(0x1ba)]),'cursorOffset':_0x17d30f};}function _0x53e699(_0xb75168){const _0x707702=_0x16a119;var _0x3a5bf9;let _0x45025d=_0x20a186(_0xb75168[_0x707702(0x25e)]),_0x38f43c=_0x2fc1ca(_0x45025d),_0xc4ba56=_0x30e1b6(_0x38f43c,_0xb75168[_0x707702(0x1ba)]);if(!_0xc4ba56)return null;let _0x3808d3=(0x0,_0x5e56ba[_0x707702(0x241)])(_0xc4ba56);return _0x3b2e68(_0x38f43c,_0x3808d3[_0x707702(0x27f)],_0x3808d3[_0x707702(0x1e7)]),_0x38f43c[_0x707702(0x1d7)]=(_0x3a5bf9=_0x38f43c[_0x707702(0x1d7)])==null?void 0x0:_0x3a5bf9[_0x707702(0x22a)](_0x5cdc56=>_0x5cdc56[_0x707702(0x1ba)]!==_0xb75168[_0x707702(0x1ba)]),{'nextDocumentData':_0x45025d,'nextMetadata':_0x9ccb71(_0xb75168['metadata'],_0xb75168[_0x707702(0x1ba)]),'cursorOffset':_0xc4ba56[_0x707702(0x1e8)]};}function _0x5c5d27(_0x44ec6f){const _0x35b35a=_0x16a119;let _0x574337=_0x20a186(_0x44ec6f[_0x35b35a(0x25e)]),_0x391f31=_0x2fc1ca(_0x574337),_0x5a919a=_0xd51bc6(_0x391f31,_0x44ec6f[_0x35b35a(0x1fb)]);return _0x5a919a&&_0x4e4bf2(_0x574337,_0x391f31,_0x5a919a,_0x44ec6f[_0x35b35a(0x1fb)],_0x44ec6f[_0x35b35a(0x1bb)])||null;}function _0x4e4bf2(_0x5afa57,_0x2f3783,_0x5ebfc0,_0x5278e5,_0x34afd9){const _0xed4497=_0x16a119;let _0x5c2e25=_0x8abbae(_0x2f3783,_0x5ebfc0,_0x5278e5,_0x34afd9);if(!_0x5c2e25)return null;let _0x20c121=_0x5c2e25[_0xed4497(0x296)]-0x1;return _0x3b2e68(_0x2f3783,_0x5c2e25[_0xed4497(0x283)]['startIndex'],_0x5c2e25['paragraph']['startIndex']+0x1),{'nextDocumentData':_0x5afa57,'cursorOffset':_0x20c121};}function _0x30e1b6(_0x43ce8e,_0x5aa519){const _0x1d67f7=_0x16a119;var _0x1e6756;return _0x43ce8e==null||(_0x1e6756=_0x43ce8e[_0x1d67f7(0x1d7)])==null?void 0x0:_0x1e6756[_0x1d67f7(0x25f)](_0x328e7c=>_0x328e7c[_0x1d67f7(0x1c6)]===_0x5e56ba['DocumentBlockRangeType'][_0x1d67f7(0x23d)]&&_0x328e7c[_0x1d67f7(0x1ba)]===_0x5aa519);}function _0x5e421e(_0x26f4ac){const _0x3cb132=_0x16a119;let _0x21266f=_0x26f4ac[_0x3cb132(0x25e)][_0x3cb132(0x1d5)];if(!_0x21266f)return!0x1;let _0x4bf6ac=_0x26f4ac[_0x3cb132(0x25c)]===_0x3cb132(0x250)?_0x26f4ac[_0x3cb132(0x1fb)]-0x1:_0x26f4ac['cursorOffset'],_0x2063fe=_0x26f4ac['direction']===_0x3cb132(0x1d6)?_0x26f4ac['cursorOffset']+0x1:_0x4bf6ac;return(_0x21266f[_0x3cb132(0x1d7)]??[])['some'](_0x523ae1=>_0x523ae1['blockType']===_0x5e56ba['DocumentBlockRangeType'][_0x3cb132(0x23d)]?_0x4bf6ac===_0x523ae1['startIndex']||_0x4bf6ac===_0x523ae1['endIndex']||_0x2063fe===_0x523ae1[_0x3cb132(0x1e8)]||_0x2063fe===_0x523ae1['endIndex']:!0x1);}function _0xd51bc6(_0x2a2ec9,_0x4ab7ee){const _0x71faaf=_0x16a119;var _0x5819b6;return(_0x5819b6=_0x2a2ec9[_0x71faaf(0x1d7)])==null?void 0x0:_0x5819b6[_0x71faaf(0x25f)](_0x96e70=>{const _0x509d16=_0x71faaf;let _0x341e60=_0x569395(_0x96e70);return _0x96e70[_0x509d16(0x1c6)]===_0x5e56ba['DocumentBlockRangeType'][_0x509d16(0x23d)]&&_0x96e70[_0x509d16(0x1e8)]<=_0x4ab7ee&&_0x4ab7ee<=_0x341e60+0x2;});}function _0x510541(_0x489640,_0x2f1f78,_0x2ddb75=!0x1){const _0xa76489=_0x16a119;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x5e56ba[_0xa76489(0x1f9)][_0xa76489(0x215)],'keepNext':_0x2f1f78?_0x5e56ba[_0xa76489(0x1f9)][_0xa76489(0x1df)]:_0x5e56ba['BooleanNumber'][_0xa76489(0x215)],'widowControl':_0x5e56ba['BooleanNumber'][_0xa76489(0x215)],..._0x489640&&_0x2ddb75?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x2fe876,'fs':0xc}};}function _0x56a229(_0x5bb802,_0x1fd4f7,_0xbd651b,_0x56a8a2=!0x1){const _0x233b16=_0x16a119;let _0x3d57bf=(_0x5bb802[_0x233b16(0x251)]??[])[_0x233b16(0x22a)](_0x52a1b0=>_0x52a1b0[_0x233b16(0x1e8)]>_0x1fd4f7&&_0x52a1b0[_0x233b16(0x1e8)]<_0xbd651b);_0x3d57bf[_0x233b16(0x239)]((_0x1e2d29,_0x287caa)=>{const _0x4501fb=_0x233b16;_0x1e2d29[_0x4501fb(0x1d2)]={..._0x1e2d29['paragraphStyle']??{},..._0x510541(_0x287caa===0x0,_0x287caa===_0x3d57bf[_0x4501fb(0x291)]-0x1,_0x56a8a2)};});}function _0x559eb4(_0x4004b6){const _0x386650=_0x16a119;var _0x342b8a,_0x507c00;let _0x41ada7={..._0x4004b6??{}};return delete _0x41ada7[_0x386650(0x26c)],delete _0x41ada7[_0x386650(0x1dc)],delete _0x41ada7[_0x386650(0x1c7)],delete _0x41ada7['spaceBelow'],delete _0x41ada7[_0x386650(0x207)],delete _0x41ada7[_0x386650(0x22c)],delete _0x41ada7[_0x386650(0x282)],((_0x342b8a=_0x41ada7[_0x386650(0x203)])==null?void 0x0:_0x342b8a['ff'])===_0x2fe876&&((_0x507c00=_0x41ada7[_0x386650(0x203)])==null?void 0x0:_0x507c00['fs'])===0xc&&delete _0x41ada7[_0x386650(0x203)],_0x41ada7;}function _0x1b1fc2(_0x4e6a9d,_0x36515f){const _0x3e9d8c=_0x16a119;let _0x2ee107=_0x569395(_0x36515f);return(_0x4e6a9d['paragraphs']??[])[_0x3e9d8c(0x22a)](_0x2e5ad7=>_0x2e5ad7['startIndex']>_0x36515f['startIndex']&&_0x2e5ad7[_0x3e9d8c(0x1e8)]<_0x2ee107);}function _0x22643c(_0x468f7e,_0x3aeeca){const _0x2d1828=_0x16a119;var _0x3738d;let _0x395a8f=_0x569395(_0x3aeeca);return _0x1b1fc2(_0x468f7e,_0x3aeeca)[_0x2d1828(0x239)](_0x3e1e18=>{const _0x17804b=_0x2d1828;_0x3e1e18['paragraphStyle']=_0x559eb4(_0x3e1e18[_0x17804b(0x1d2)]);}),_0x3b2e68(_0x468f7e,_0x395a8f,_0x395a8f+0x1),_0x3b2e68(_0x468f7e,_0x3aeeca['startIndex'],_0x3aeeca[_0x2d1828(0x1e8)]+0x1),_0x468f7e['blockRanges']=(_0x3738d=_0x468f7e[_0x2d1828(0x1d7)])==null?void 0x0:_0x3738d['filter'](_0x336e40=>_0x336e40[_0x2d1828(0x1ba)]!==_0x3aeeca[_0x2d1828(0x1ba)]),_0x3aeeca['startIndex'];}function _0x20a186(_0xb8edcf){const _0x5a68eb=_0x16a119;return{..._0xb8edcf,'body':_0xb8edcf['body']?_0x1c44cc(_0xb8edcf[_0x5a68eb(0x1d5)]):_0xb8edcf[_0x5a68eb(0x1d5)]};}function _0x1c44cc(_0x4bfc61){const _0x128eb3=_0x16a119;var _0x57fff0,_0x2241a7,_0x14d3cd,_0x45c5b4,_0x2aa3cf,_0x111d07,_0x48cb50,_0x3e0d29,_0x4f1f8d;return{..._0x4bfc61,'paragraphs':(_0x57fff0=_0x4bfc61['paragraphs'])==null?void 0x0:_0x57fff0[_0x128eb3(0x1c2)](_0x4055b1=>({..._0x4055b1,'bullet':_0x20844a(_0x4055b1[_0x128eb3(0x1c5)]),'paragraphStyle':_0x20844a(_0x4055b1[_0x128eb3(0x1d2)])})),'sectionBreaks':(_0x2241a7=_0x4bfc61[_0x128eb3(0x1cc)])==null?void 0x0:_0x2241a7[_0x128eb3(0x1c2)](_0x3b3dd7=>({..._0x3b3dd7})),'textRuns':(_0x14d3cd=_0x4bfc61[_0x128eb3(0x1e1)])==null?void 0x0:_0x14d3cd[_0x128eb3(0x1c2)](_0xd69600=>({..._0xd69600})),'tables':(_0x45c5b4=_0x4bfc61[_0x128eb3(0x1e5)])==null?void 0x0:_0x45c5b4['map'](_0x4755cb=>({..._0x4755cb})),'columnGroups':(_0x2aa3cf=_0x4bfc61[_0x128eb3(0x21d)])==null?void 0x0:_0x2aa3cf['map'](_0xb88f63=>{const _0x1e6715=_0x128eb3;var _0x3e2eb8;return{..._0xb88f63,'columns':(_0x3e2eb8=_0xb88f63[_0x1e6715(0x209)])==null?void 0x0:_0x3e2eb8[_0x1e6715(0x1c2)](_0x54b773=>_0x20844a(_0x54b773))};}),'blockRanges':(_0x111d07=_0x4bfc61['blockRanges'])==null?void 0x0:_0x111d07[_0x128eb3(0x1c2)](_0x573204=>({..._0x573204})),'customRanges':(_0x48cb50=_0x4bfc61[_0x128eb3(0x200)])==null?void 0x0:_0x48cb50[_0x128eb3(0x1c2)](_0x418201=>({..._0x418201})),'customDecorations':(_0x3e0d29=_0x4bfc61[_0x128eb3(0x284)])==null?void 0x0:_0x3e0d29[_0x128eb3(0x1c2)](_0x3b12fc=>({..._0x3b12fc})),'customBlocks':(_0x4f1f8d=_0x4bfc61[_0x128eb3(0x287)])==null?void 0x0:_0x4f1f8d[_0x128eb3(0x1c2)](_0x4a760c=>({..._0x4a760c}))};}function _0x20844a(_0x4c29cd){const _0x3f8485=_0x16a119;return Array[_0x3f8485(0x212)](_0x4c29cd)?_0x4c29cd[_0x3f8485(0x1c2)](_0x487068=>_0x20844a(_0x487068)):!_0x4c29cd||typeof _0x4c29cd!='object'?_0x4c29cd:Object[_0x3f8485(0x22b)](Object[_0x3f8485(0x220)](_0x4c29cd)[_0x3f8485(0x1c2)](([_0x3af2dd,_0x422279])=>[_0x3af2dd,_0x20844a(_0x422279)]));}function _0x2fc1ca(_0x4334cb){const _0x36b1b3=_0x16a119;if(!_0x4334cb[_0x36b1b3(0x1d5)])throw Error(_0x36b1b3(0x1e2));return _0x4334cb[_0x36b1b3(0x1d5)];}function _0x309e90(_0x1917c5,_0x52a04a,_0x2cc801,_0x52721c='convert-paragraph'){const _0x3c678b=_0x16a119;if(_0x52a04a==null||_0x2cc801==null){let _0x1d322b=_0xb5c722(_0x1917c5);return{'startOffset':_0x1d322b,'endOffset':_0x1d322b};}let _0x27f28f=Math[_0x3c678b(0x1bf)](_0x52a04a,_0x2cc801),_0x526b04=Math[_0x3c678b(0x1ca)](_0x52a04a,_0x2cc801),_0x44ac9c=_0x12ff76(_0x1917c5,_0x27f28f,_0x526b04);return _0x27f28f===_0x526b04?_0x52721c==='insert-new'?{'startOffset':_0x27f28f,'endOffset':_0x526b04}:_0x4ebdb3(_0x1917c5,_0x27f28f,_0x44ac9c):_0x347261(_0x1917c5,_0x27f28f,_0x526b04,_0x44ac9c);}function _0x4ebdb3(_0x3b3dd6,_0x23f7fe,_0x3787c9){const _0x37980f=_0x16a119;let _0x234e9f=_0x2a818b(_0x3b3dd6,_0x23f7fe);if(_0x234e9f){let _0x4c8007=_0x974059(_0x3b3dd6,_0x234e9f,_0x3787c9);if(_0x4c8007<_0x234e9f['startIndex'])return{'startOffset':_0x4c8007,'endOffset':_0x3787c9?Math[_0x37980f(0x1bf)](_0x234e9f['startIndex']+0x1,_0x3787c9[_0x37980f(0x1e7)]):_0x234e9f[_0x37980f(0x1e8)]+0x1};}let _0x59cc07=_0x23f7fe===0x0&&_0x3b3dd6['dataStream'][0x0]===_0x5e56ba[_0x37980f(0x1d8)][_0x37980f(0x21b)]?0x1:_0x23f7fe;return{'startOffset':_0x59cc07,'endOffset':_0x59cc07};}function _0xb5c722(_0x517541){const _0x3ec01c=_0x16a119;return _0x517541[_0x3ec01c(0x24c)][_0x3ec01c(0x289)](_0x5e56ba[_0x3ec01c(0x1d8)][_0x3ec01c(0x249)])?Math[_0x3ec01c(0x1ca)](0x0,_0x517541[_0x3ec01c(0x24c)][_0x3ec01c(0x291)]-0x1):_0x517541[_0x3ec01c(0x24c)][_0x3ec01c(0x291)];}function _0x197d1c(_0x5e8a4d,_0x35d384,_0xe17363){const _0x37b837=_0x16a119;var _0x2786d2;let _0x13fef6=Math[_0x37b837(0x1bf)](_0x35d384,_0xe17363),_0x442a79=Math[_0x37b837(0x1ca)](_0x35d384,_0xe17363);return!!((_0x2786d2=_0x5e8a4d[_0x37b837(0x1e5)])!=null&&_0x2786d2[_0x37b837(0x214)](_0x51c498=>_0x13fef6>_0x51c498['startIndex']&&_0x13fef6<_0x51c498[_0x37b837(0x1f5)]||_0x442a79>_0x51c498[_0x37b837(0x1e8)]&&_0x442a79<_0x51c498['endIndex']||_0x13fef6<=_0x51c498[_0x37b837(0x1e8)]&&_0x442a79>=_0x51c498[_0x37b837(0x1f5)]));}function _0x347261(_0x2607b1,_0x147a6f,_0x3cc6e0,_0x96792){const _0x3598ac=_0x16a119;let _0xe6e8cd=[..._0x2607b1['paragraphs']??[]][_0x3598ac(0x243)]((_0x5850c9,_0x33852d)=>_0x5850c9[_0x3598ac(0x1e8)]-_0x33852d[_0x3598ac(0x1e8)]),_0x3716ac=(0x0,_0x5e56ba[_0x3598ac(0x20c)])(_0x2607b1),_0x4d4ad8=_0xe6e8cd[_0x3598ac(0x25f)](_0x4ba8dd=>_0x974059(_0x2607b1,_0x4ba8dd,_0x96792,_0x3716ac)<=_0x147a6f&&_0x147a6f<=_0x4ba8dd[_0x3598ac(0x1e8)]),_0x227cd2=_0xe6e8cd[_0x3598ac(0x25f)](_0x53c7aa=>_0x53c7aa[_0x3598ac(0x1e8)]>=_0x3cc6e0-0x1)??_0xe6e8cd[_0xe6e8cd[_0x3598ac(0x291)]-0x1];return{'startOffset':_0x4d4ad8?_0x974059(_0x2607b1,_0x4d4ad8,_0x96792,_0x3716ac):_0x147a6f,'endOffset':_0x227cd2?_0x6d0a70(_0x227cd2,_0x96792):_0x3cc6e0};}function _0x2a818b(_0x4659d2,_0x10d3cd){const _0x55d819=_0x16a119;let _0x4f0eaf=[..._0x4659d2[_0x55d819(0x251)]??[]][_0x55d819(0x243)]((_0x33efcb,_0x2462c3)=>_0x33efcb[_0x55d819(0x1e8)]-_0x2462c3['startIndex']),_0x454744=(0x0,_0x5e56ba['getParagraphContentStartOffsets'])(_0x4659d2);return _0x4f0eaf[_0x55d819(0x25f)](_0x690398=>(_0x454744['get'](_0x690398[_0x55d819(0x1e8)])??0x0)<=_0x10d3cd&&_0x10d3cd<=_0x690398[_0x55d819(0x1e8)]);}function _0x974059(_0x1c0d86,_0x25bb96,_0x488b7b,_0x367361){const _0x2fb11c=_0x16a119;let _0xefc642=(_0x367361==null?void 0x0:_0x367361[_0x2fb11c(0x228)](_0x25bb96[_0x2fb11c(0x1e8)]))??(0x0,_0x5e56ba[_0x2fb11c(0x1d0)])(_0x1c0d86,_0x25bb96);return _0x488b7b?Math[_0x2fb11c(0x1ca)](_0xefc642,_0x488b7b['startOffset']):_0xefc642;}function _0x6d0a70(_0x384ca2,_0x18d0fc){const _0x534cef=_0x16a119;let _0x5af1a0=_0x384ca2[_0x534cef(0x1e8)]+0x1;return _0x18d0fc?Math[_0x534cef(0x1bf)](_0x5af1a0,_0x18d0fc[_0x534cef(0x1e7)]):_0x5af1a0;}function _0x12ff76(_0x549b17,_0x10cea6,_0x507833){const _0xd7868c=_0x16a119;let _0x131884=_0x3010a6(_0x549b17,_0x10cea6),_0x2965f5=_0x3010a6(_0x549b17,_0x10cea6===_0x507833?_0x507833:Math[_0xd7868c(0x1ca)](_0x10cea6,_0x507833-0x1));if(_0x131884||_0x2965f5){if(!_0x131884||!_0x2965f5||_0x131884[_0xd7868c(0x21e)]!==_0x2965f5['startTokenOffset']||_0x131884[_0xd7868c(0x296)]!==_0x2965f5[_0xd7868c(0x296)])throw new _0xdcdbe();return _0x131884;}}function _0x3010a6(_0x4d630d,_0x270c7b){const _0x5cf6cd=_0x16a119;let _0x4b209e=_0x4d630d['dataStream'],_0x34b7ce=-0x1;for(let _0x6db7ab=Math[_0x5cf6cd(0x1bf)](_0x270c7b,_0x4b209e[_0x5cf6cd(0x291)]-0x1);_0x6db7ab>=0x0;_0x6db7ab--){let _0x1097dc=_0x4b209e[_0x6db7ab];if(_0x1097dc===_0x5e56ba[_0x5cf6cd(0x1d8)][_0x5cf6cd(0x227)])return;if(_0x1097dc===_0x5e56ba[_0x5cf6cd(0x1d8)][_0x5cf6cd(0x22d)]){_0x34b7ce=_0x6db7ab;break;}}if(_0x34b7ce<0x0)return;let _0x28dfb4=_0x4b209e[_0x5cf6cd(0x206)](_0x5e56ba[_0x5cf6cd(0x1d8)][_0x5cf6cd(0x227)],_0x34b7ce+0x1);if(!(_0x28dfb4<0x0||_0x270c7b<_0x34b7ce+0x1||_0x270c7b>_0x28dfb4-0x1))return{'startOffset':_0x34b7ce+0x1,'endOffset':Math[_0x5cf6cd(0x1ca)](_0x34b7ce+0x1,_0x28dfb4-0x1),'startTokenOffset':_0x34b7ce,'endTokenOffset':_0x28dfb4};}function _0x569395(_0x527cf2){const _0x3314ab=_0x16a119;return(0x0,_0x5e56ba[_0x3314ab(0x241)])(_0x527cf2)[_0x3314ab(0x1e7)]-0x1;}function _0x8abbae(_0x244407,_0x3aa40d,_0x169e13,_0x1a0b80){const _0x7a70c5=_0x16a119;let _0x853aea=_0x569395(_0x3aa40d),_0x1cc26e=(_0x244407[_0x7a70c5(0x251)]??[])[_0x7a70c5(0x25f)](_0x31f582=>_0x31f582[_0x7a70c5(0x1e8)]===_0x853aea+0x1);if(!_0x1cc26e||_0x1a0b80!=null&&_0x1cc26e[_0x7a70c5(0x1e8)]!==_0x1a0b80||_0x169e13!=null&&(_0x169e13<_0x853aea||_0x169e13>_0x1cc26e['startIndex']+0x1)||_0x244407[_0x7a70c5(0x24c)][_0x1cc26e[_0x7a70c5(0x1e8)]]!==_0x5e56ba['DataStreamTreeTokenType'][_0x7a70c5(0x21b)])return null;let _0x511fa1=(0x0,_0x5e56ba[_0x7a70c5(0x1d0)])(_0x244407,_0x1cc26e),_0x30b1c3=_0x244407[_0x7a70c5(0x24c)][_0x7a70c5(0x240)](_0x511fa1,_0x1cc26e[_0x7a70c5(0x1e8)]);return Array['from'](_0x30b1c3)[_0x7a70c5(0x292)](_0x4ca12b=>_0x4ca12b===_0x5e56ba[_0x7a70c5(0x1d8)][_0x7a70c5(0x27e)])?{'paragraph':_0x1cc26e,'endTokenOffset':_0x853aea}:null;}function _0x36eae6(_0x171b95,_0x13e5ed){const _0x56d9b5=_0x16a119;var _0x13c58d;let _0x48485a=_0x569395(_0x13e5ed),_0xa0fd99=_0x171b95[_0x56d9b5(0x24c)][_0x48485a+0x1];(_0xa0fd99===_0x5e56ba['DataStreamTreeTokenType']['SECTION_BREAK']||_0xa0fd99===void 0x0)&&_0x40445c(_0x171b95,_0x48485a+0x1,_0x5e56ba[_0x56d9b5(0x1d8)][_0x56d9b5(0x21b)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x5e56ba['createParagraphId'])(new Set((_0x13c58d=_0x171b95[_0x56d9b5(0x251)])==null?void 0x0:_0x13c58d[_0x56d9b5(0x1c2)](_0x3c4a9d=>_0x3c4a9d[_0x56d9b5(0x1e4)])))}]});}function _0x40445c(_0x4812b8,_0x13311a,_0x48588a,_0xc0c737={}){const _0x14be33=_0x16a119;var _0x108e8b,_0x5b2f2b;_0x48588a&&(_0x4812b8[_0x14be33(0x24c)]=''+_0x4812b8['dataStream'][_0x14be33(0x240)](0x0,_0x13311a)+_0x48588a+_0x4812b8[_0x14be33(0x24c)][_0x14be33(0x240)](_0x13311a),_0xec87c5(_0x4812b8,_0x13311a,_0x48588a[_0x14be33(0x291)]),(_0x108e8b=_0xc0c737['paragraphs'])!=null&&_0x108e8b['length']&&(_0x4812b8[_0x14be33(0x251)]=[..._0x4812b8['paragraphs']??[],..._0xc0c737['paragraphs'][_0x14be33(0x1c2)](_0x190fd8=>({..._0x190fd8,'startIndex':_0x190fd8[_0x14be33(0x1e8)]+_0x13311a}))][_0x14be33(0x243)]((_0x193028,_0x5f9f97)=>_0x193028['startIndex']-_0x5f9f97[_0x14be33(0x1e8)])),(_0x5b2f2b=_0xc0c737['blockRanges'])!=null&&_0x5b2f2b[_0x14be33(0x291)]&&(_0x4812b8[_0x14be33(0x1d7)]=[..._0x4812b8['blockRanges']??[],..._0xc0c737[_0x14be33(0x1d7)][_0x14be33(0x1c2)](_0x1f11a7=>({..._0x1f11a7,'startIndex':_0x1f11a7[_0x14be33(0x1e8)]+_0x13311a,'endIndex':_0x1f11a7[_0x14be33(0x1f5)]+_0x13311a}))]['sort']((_0x529e5f,_0x596288)=>_0x529e5f[_0x14be33(0x1e8)]-_0x596288[_0x14be33(0x1e8)])));}function _0x3b2e68(_0x2570f5,_0x19094a,_0x5aa982){const _0x55cb23=_0x16a119;let _0x270c91=_0x5aa982-_0x19094a;_0x2570f5[_0x55cb23(0x24c)]=''+_0x2570f5[_0x55cb23(0x24c)][_0x55cb23(0x240)](0x0,_0x19094a)+_0x2570f5[_0x55cb23(0x24c)]['slice'](_0x5aa982),_0x10c8d0(_0x2570f5,_0x19094a,_0x270c91);}function _0xec87c5(_0xd6eb68,_0xe5945c,_0x138b09){const _0x14de50=_0x16a119;_0xd6eb68[_0x14de50(0x251)]=_0x699969(_0xd6eb68[_0x14de50(0x251)],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x1cc)]=_0x699969(_0xd6eb68[_0x14de50(0x1cc)],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x287)]=_0x699969(_0xd6eb68[_0x14de50(0x287)],_0xe5945c,_0x138b09),_0xd6eb68['textRuns']=_0x2b5865(_0xd6eb68['textRuns'],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x1e5)]=_0x49f75f(_0xd6eb68[_0x14de50(0x1e5)],_0xe5945c,_0x138b09),_0xd6eb68['columnGroups']=_0x44e25a(_0xd6eb68[_0x14de50(0x21d)],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x200)]=_0x44e25a(_0xd6eb68[_0x14de50(0x200)],_0xe5945c,_0x138b09),_0xd6eb68['customDecorations']=_0x44e25a(_0xd6eb68[_0x14de50(0x284)],_0xe5945c,_0x138b09),_0xd6eb68['blockRanges']=_0x44e25a(_0xd6eb68[_0x14de50(0x1d7)],_0xe5945c,_0x138b09);}function _0x10c8d0(_0x213c2,_0x12a70c,_0x565639){const _0x74c55=_0x16a119;var _0x2ddfa2,_0x4a5970;_0x213c2[_0x74c55(0x251)]=_0x402e98(_0x213c2[_0x74c55(0x251)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x1cc)]=_0x402e98(_0x213c2['sectionBreaks'],_0x12a70c,_0x565639),_0x213c2['customBlocks']=_0x402e98(_0x213c2[_0x74c55(0x287)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x1e1)]=(_0x2ddfa2=_0x120e36((_0x4a5970=_0x213c2['textRuns'])==null?void 0x0:_0x4a5970['map'](_0x3cc9c6=>({..._0x3cc9c6,'startIndex':_0x3cc9c6['st'],'endIndex':_0x3cc9c6['ed']})),_0x12a70c,_0x565639))==null?void 0x0:_0x2ddfa2[_0x74c55(0x1c2)](_0x1547e0=>{let {startIndex:_0x546ccb,endIndex:_0x2b7f4e,..._0x5c7116}=_0x1547e0;return{..._0x5c7116,'st':_0x546ccb,'ed':_0x2b7f4e};}),_0x213c2[_0x74c55(0x1e5)]=_0x120e36(_0x213c2[_0x74c55(0x1e5)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x21d)]=_0x1fd228(_0x213c2[_0x74c55(0x21d)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x200)]=_0x1fd228(_0x213c2[_0x74c55(0x200)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x284)]=_0x1fd228(_0x213c2[_0x74c55(0x284)],_0x12a70c,_0x565639),_0x213c2['blockRanges']=_0x1fd228(_0x213c2[_0x74c55(0x1d7)],_0x12a70c,_0x565639);}function _0x699969(_0x4d3fa7,_0x2d6fef,_0x2f6f5c){const _0x28814a=_0x16a119;return _0x4d3fa7==null?void 0x0:_0x4d3fa7[_0x28814a(0x1c2)](_0x3a1b1b=>_0x3a1b1b[_0x28814a(0x1e8)]>=_0x2d6fef?{..._0x3a1b1b,'startIndex':_0x3a1b1b[_0x28814a(0x1e8)]+_0x2f6f5c}:_0x3a1b1b);}function _0x402e98(_0x2d7bf7,_0x21a940,_0x354023){const _0x42f495=_0x16a119;let _0x20b602=_0x21a940+_0x354023;return _0x2d7bf7==null?void 0x0:_0x2d7bf7[_0x42f495(0x1c2)](_0x19f14a=>_0x19f14a['startIndex']>=_0x21a940&&_0x19f14a[_0x42f495(0x1e8)]<_0x20b602?null:_0x19f14a[_0x42f495(0x1e8)]>=_0x20b602?{..._0x19f14a,'startIndex':_0x19f14a[_0x42f495(0x1e8)]-_0x354023}:_0x19f14a)[_0x42f495(0x22a)](_0x4f2f66=>_0x4f2f66!=null);}function _0x2b5865(_0x5606ac,_0x5d941b,_0x5cc92b){const _0x5f2272=_0x16a119;return _0x5606ac==null?void 0x0:_0x5606ac[_0x5f2272(0x1c2)](_0x572827=>_0x572827['st']>=_0x5d941b?{..._0x572827,'st':_0x572827['st']+_0x5cc92b,'ed':_0x572827['ed']+_0x5cc92b}:_0x572827['ed']>_0x5d941b?{..._0x572827,'ed':_0x572827['ed']+_0x5cc92b}:_0x572827);}function _0x44e25a(_0x3090b6,_0x2d4e63,_0x21a4e1){const _0x3f6661=_0x16a119;return _0x3090b6==null?void 0x0:_0x3090b6[_0x3f6661(0x1c2)](_0x32296d=>(0x0,_0x5e56ba['shiftInclusiveRangeOnInsert'])(_0x32296d,_0x2d4e63,_0x21a4e1));}function _0x49f75f(_0x36cefa,_0x4475c7,_0x16e017){const _0xfc740c=_0x16a119;return _0x36cefa==null?void 0x0:_0x36cefa[_0xfc740c(0x1c2)](_0x11a2bf=>(0x0,_0x5e56ba[_0xfc740c(0x222)])(_0x11a2bf,_0x4475c7,_0x16e017));}function _0x1fd228(_0x41fe98,_0x3e135e,_0x5ef9a6){const _0x55f842=_0x16a119;return _0x41fe98==null?void 0x0:_0x41fe98[_0x55f842(0x1c2)](_0x4a9d28=>(0x0,_0x5e56ba[_0x55f842(0x20d)])(_0x4a9d28,_0x3e135e,_0x5ef9a6))['filter'](_0x30286a=>_0x30286a!=null);}function _0x120e36(_0x4eac75,_0x28cdad,_0x53248d){const _0x17e55d=_0x16a119;return _0x4eac75==null?void 0x0:_0x4eac75[_0x17e55d(0x1c2)](_0x3c9311=>(0x0,_0x5e56ba[_0x17e55d(0x1c8)])(_0x3c9311,_0x28cdad,_0x53248d))[_0x17e55d(0x22a)](_0x51b54a=>_0x51b54a!=null);}let _0x316a05={'id':_0x16a119(0x28a),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x275)],'handler':_0x1c23bd=>{const _0x1039aa=_0x16a119;var _0x14dcc3;if((0x0,_0x1e06fa[_0x1039aa(0x236)])(_0x1cb509(_0x1c23bd)))return!0x1;let _0x3b4b42=(0x0,_0x1e06fa[_0x1039aa(0x269)])(_0x1c23bd);if(_0x3b4b42)return _0x1c23bd['get'](_0x5e56ba[_0x1039aa(0x201)])['syncExecuteCommand'](_0x418564['id'],{'startOffset':_0x3b4b42[_0x1039aa(0x27f)],'endOffset':_0x3b4b42[_0x1039aa(0x1e7)],'insertionMode':_0x1039aa(0x238),'unitId':_0x3b4b42['unitId']});let _0x531444=_0x46d006(_0x1c23bd);if(!_0x531444)return!0x1;let _0x3e22bb=(_0x14dcc3=_0x1c23bd[_0x1039aa(0x228)](_0x5e56ba[_0x1039aa(0x20f)])[_0x1039aa(0x1ff)](_0x5e56ba[_0x1039aa(0x245)][_0x1039aa(0x1fd)]))==null?void 0x0:_0x14dcc3[_0x1039aa(0x1c1)](),_0x18e506=_0x3e22bb?(0x0,_0x5e56ba[_0x1039aa(0x21f)])(_0x3e22bb,_0x531444):_0x531444[_0x1039aa(0x1e8)]+0x1;return _0x1c23bd[_0x1039aa(0x228)](_0x5e56ba['ICommandService'])[_0x1039aa(0x1da)](_0x418564['id'],{'startOffset':_0x18e506,'endOffset':_0x18e506});}},_0x1a68ee={'id':_0x16a119(0x1ce),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':()=>!0x0},_0x418564={'id':_0x16a119(0x28b),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x275)],'handler':(_0x26ed63,_0x1cc7af)=>{const _0x37d91b=_0x16a119;let _0x3d249a=_0x586438(_0x26ed63,_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x210)]);if(!_0x3d249a)return!0x1;let _0x486631=_0x1cb509(_0x26ed63);if((0x0,_0x1e06fa[_0x37d91b(0x236)])(_0x486631))return!0x1;let _0x431745=_0x3d249a[_0x37d91b(0x225)][_0x37d91b(0x258)](_0x3d249a[_0x37d91b(0x210)]),_0x753322=_0x458ec7(_0x1cc7af,_0x486631),_0x161422=_0x2c6fd2(_0x3d249a['previousDocumentData'],_0x753322);if(_0x161422){if(_0x161422[_0x37d91b(0x1c6)]!==_0x5e56ba[_0x37d91b(0x254)][_0x37d91b(0x23d)])return!0x1;let _0x8910ae=_0x3a1a24({'blockId':_0x161422['blockId'],'documentData':_0x3d249a[_0x37d91b(0x237)],'metadata':_0x431745});if(!_0x8910ae)return!0x1;let _0x264281=_0xd14432(_0x3d249a[_0x37d91b(0x247)],_0x3d249a['selectionManager'],_0x3d249a['unitId'],_0x3d249a[_0x37d91b(0x237)],_0x8910ae[_0x37d91b(0x205)],_0x418564['id'],_0x8910ae[_0x37d91b(0x1fb)]);return _0x264281&&_0x8910ae[_0x37d91b(0x232)]&&_0x3d249a[_0x37d91b(0x225)][_0x37d91b(0x233)](_0x3d249a[_0x37d91b(0x210)],_0x8910ae[_0x37d91b(0x232)]),_0x264281;}let _0x95dc28=(_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x1ba)])??(0x0,_0x5e56ba['generateRandomId'])(0x6),_0x5e3e86;try{_0x5e3e86=_0x45a87e({'blockId':_0x95dc28,'config':_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x26a)],'documentData':_0x3d249a[_0x37d91b(0x237)],'endOffset':_0x753322==null?void 0x0:_0x753322[_0x37d91b(0x1e7)],'insertionMode':_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x1d9)],'metadata':_0x431745,'startOffset':_0x753322==null?void 0x0:_0x753322[_0x37d91b(0x27f)]});}catch(_0x5b7b98){if(_0x5b7b98 instanceof _0xdcdbe)return!0x1;throw _0x5b7b98;}let _0x344429=_0xd14432(_0x3d249a[_0x37d91b(0x247)],_0x3d249a[_0x37d91b(0x21a)],_0x3d249a[_0x37d91b(0x210)],_0x3d249a[_0x37d91b(0x237)],_0x5e3e86[_0x37d91b(0x205)],_0x418564['id'],_0x5e3e86[_0x37d91b(0x1fb)]);return _0x344429&&_0x5e3e86['nextMetadata']&&_0x3d249a[_0x37d91b(0x225)][_0x37d91b(0x233)](_0x3d249a[_0x37d91b(0x210)],_0x5e3e86[_0x37d91b(0x232)]),_0x344429;}},_0x1ba5e6={'id':_0x16a119(0x281),'type':_0x5e56ba['CommandType'][_0x16a119(0x275)],'handler':(_0x3c4559,_0x398f8c)=>{const _0x408d64=_0x16a119;if(!_0x398f8c)return!0x1;let _0x5a7d34=_0x586438(_0x3c4559,_0x398f8c[_0x408d64(0x210)]);if(!_0x5a7d34)return!0x1;let _0x2d9add=_0x465346({'blockId':_0x398f8c[_0x408d64(0x1ba)],'config':_0x398f8c[_0x408d64(0x26a)],'documentData':_0x5a7d34['previousDocumentData'],'metadata':_0x5a7d34['model'][_0x408d64(0x258)](_0x5a7d34['unitId'])});return _0x2d9add[_0x408d64(0x232)]&&_0x5a7d34['model']['deserialize'](_0x5a7d34['unitId'],_0x2d9add[_0x408d64(0x232)]),!0x0;}},_0x52d7e1={'id':_0x16a119(0x285),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':(_0x5f2b22,_0x4e9ae0)=>_0x1a6a26[_0x16a119(0x270)](_0x5f2b22,_0x4e9ae0)},_0x1a6a26={'id':_0x16a119(0x274),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x275)],'handler':(_0x17255d,_0xa1484e)=>{const _0x1c0b63=_0x16a119;if(!_0xa1484e)return!0x1;let _0x20c57d=_0x586438(_0x17255d,_0xa1484e==null?void 0x0:_0xa1484e[_0x1c0b63(0x210)]);if(!_0x20c57d)return!0x1;let _0x180a7c=_0x3a1a24({'blockId':_0xa1484e[_0x1c0b63(0x1ba)],'documentData':_0x20c57d[_0x1c0b63(0x237)],'metadata':_0x20c57d[_0x1c0b63(0x225)][_0x1c0b63(0x258)](_0x20c57d[_0x1c0b63(0x210)])});if(!_0x180a7c)return!0x1;let _0x37aa5c=_0xd14432(_0x20c57d['commandService'],_0x20c57d[_0x1c0b63(0x21a)],_0x20c57d[_0x1c0b63(0x210)],_0x20c57d[_0x1c0b63(0x237)],_0x180a7c[_0x1c0b63(0x205)],_0x1a6a26['id'],_0x180a7c[_0x1c0b63(0x1fb)]);return _0x37aa5c&&_0x180a7c['nextMetadata']&&_0x20c57d[_0x1c0b63(0x225)]['deserialize'](_0x20c57d['unitId'],_0x180a7c[_0x1c0b63(0x232)]),_0x37aa5c;}},_0x17da02={'id':_0x16a119(0x21c),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':(_0x5bc2e9,_0x51e327)=>{const _0x539c41=_0x16a119;if(!_0x51e327)return!0x1;let _0x1e9c52=_0x586438(_0x5bc2e9,_0x51e327==null?void 0x0:_0x51e327[_0x539c41(0x210)]);if(!_0x1e9c52)return!0x1;let _0x5597cd=_0x53e699({'blockId':_0x51e327[_0x539c41(0x1ba)],'documentData':_0x1e9c52[_0x539c41(0x237)],'metadata':_0x1e9c52[_0x539c41(0x225)][_0x539c41(0x258)](_0x1e9c52[_0x539c41(0x210)])});if(!_0x5597cd)return!0x1;let _0x36a649=_0xd14432(_0x1e9c52[_0x539c41(0x247)],_0x1e9c52[_0x539c41(0x21a)],_0x1e9c52['unitId'],_0x1e9c52[_0x539c41(0x237)],_0x5597cd[_0x539c41(0x205)],_0x17da02['id'],_0x5597cd[_0x539c41(0x1fb)]);return _0x36a649&&_0x5597cd['nextMetadata']&&_0x1e9c52[_0x539c41(0x225)][_0x539c41(0x233)](_0x1e9c52[_0x539c41(0x210)],_0x5597cd[_0x539c41(0x232)]),_0x36a649;}},_0x828dfb={'id':_0x16a119(0x1f1),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':(_0x16ae1c,_0x3a8e21)=>{const _0x2db293=_0x16a119;var _0x1260a7;let _0x179264=_0x586438(_0x16ae1c,_0x3a8e21==null?void 0x0:_0x3a8e21[_0x2db293(0x210)]);if(!_0x179264)return!0x1;let _0x8ba3d2=(_0x3a8e21==null?void 0x0:_0x3a8e21['cursorOffset'])??((_0x1260a7=_0x1cb509(_0x16ae1c))==null?void 0x0:_0x1260a7[_0x2db293(0x27f)]);if(_0x8ba3d2==null)return!0x1;let _0x5aec66=_0x5c5d27({'cursorOffset':_0x8ba3d2,'documentData':_0x179264[_0x2db293(0x237)],'paragraphStartIndex':_0x3a8e21==null?void 0x0:_0x3a8e21[_0x2db293(0x1bb)]});return _0x5aec66?_0xd14432(_0x179264[_0x2db293(0x247)],_0x179264[_0x2db293(0x21a)],_0x179264['unitId'],_0x179264[_0x2db293(0x237)],_0x5aec66[_0x2db293(0x205)],_0x828dfb['id'],_0x5aec66[_0x2db293(0x1fb)]):!0x1;}};function _0x586438(_0x8b6d8e,_0x2844b1){const _0x17f195=_0x16a119;let _0x24c60a=_0x8b6d8e[_0x17f195(0x228)](_0x5e56ba['IUniverInstanceService']),_0x196983=_0x2844b1?_0x24c60a['getUnit'](_0x2844b1,_0x5e56ba[_0x17f195(0x245)][_0x17f195(0x1fd)]):_0x24c60a[_0x17f195(0x1ff)](_0x5e56ba[_0x17f195(0x245)][_0x17f195(0x1fd)]);return _0x196983?{'commandService':_0x8b6d8e['get'](_0x5e56ba[_0x17f195(0x201)]),'model':_0x8b6d8e['get'](_0x2320bb),'previousDocumentData':_0x196983[_0x17f195(0x235)](),'selectionManager':_0x8b6d8e[_0x17f195(0x228)](_0x1e06fa[_0x17f195(0x24a)]),'unitId':_0x196983[_0x17f195(0x1cd)]()}:null;}function _0x1cb509(_0x39f00f){const _0x3120b7=_0x16a119;var _0x36b1c6;return(_0x36b1c6=_0x39f00f['get'](_0x1e06fa[_0x3120b7(0x24a)])['getTextRanges']())==null?void 0x0:_0x36b1c6[0x0];}function _0x458ec7(_0x2ebf67,_0x373645){const _0x4b46d8=_0x16a119;let _0x11a706=(_0x2ebf67==null?void 0x0:_0x2ebf67[_0x4b46d8(0x27f)])??(_0x373645==null?void 0x0:_0x373645[_0x4b46d8(0x27f)]),_0x50d00e=(_0x2ebf67==null?void 0x0:_0x2ebf67['endOffset'])??(_0x373645==null?void 0x0:_0x373645[_0x4b46d8(0x1e7)]);if(_0x11a706!=null&&_0x50d00e!=null)return{'endOffset':Math['max'](_0x11a706,_0x50d00e),'startOffset':Math[_0x4b46d8(0x1bf)](_0x11a706,_0x50d00e)};}function _0x2c6fd2(_0x185050,_0x21a899){const _0x336490=_0x16a119;var _0x21a979;if(!_0x21a899)return;let _0x30021f=_0x59e18f(_0x21a899);return(_0x21a979=_0x185050[_0x336490(0x1d5)])==null||(_0x21a979=_0x21a979[_0x336490(0x1d7)])==null?void 0x0:_0x21a979[_0x336490(0x25f)](_0x3bd887=>{const _0x3f604c=_0x336490;let _0x464cc5=(0x0,_0x5e56ba[_0x3f604c(0x241)])(_0x3bd887);return _0x21a899[_0x3f604c(0x27f)]===_0x21a899[_0x3f604c(0x1e7)]?(0x0,_0x5e56ba[_0x3f604c(0x27a)])(_0x464cc5,_0x30021f):(0x0,_0x5e56ba[_0x3f604c(0x262)])(_0x464cc5,_0x30021f);});}function _0x59e18f(_0xc76336){const _0x3c317e=_0x16a119;return _0xc76336[_0x3c317e(0x27f)]===_0xc76336[_0x3c317e(0x1e7)]?_0xc76336['startOffset']:_0xc76336[_0x3c317e(0x27f)]+0x1;}function _0x46d006(_0x16d609){const _0x47fa78=_0x16a119;let _0x1e4f37=_0x1cb509(_0x16d609);if(!_0x1e4f37)return null;let _0x1fe71a=_0x16d609[_0x47fa78(0x228)](_0x5e56ba[_0x47fa78(0x20f)])[_0x47fa78(0x1ff)](_0x5e56ba[_0x47fa78(0x245)]['UNIVER_DOC']),_0x41722f=_0x1fe71a==null?void 0x0:_0x1fe71a['getBody']();return _0x41722f?_0x5e56ba[_0x47fa78(0x1c4)]['range']['getParagraphsInRange'](_0x1e4f37,_0x41722f[_0x47fa78(0x251)]??[],_0x41722f[_0x47fa78(0x24c)]??'')[0x0]??null:null;}function _0x115b0b(_0x4117af,_0x3e3a18){const _0x1394bc=_0x16a119;let _0x2ecbb6=_0x4117af[_0x1394bc(0x1d5)],_0xe57d2d=_0x3e3a18[_0x1394bc(0x1d5)],_0x3c7288=(0x0,_0x5e56ba[_0x1394bc(0x20e)])(_0x2ecbb6,_0xe57d2d);return[_0x3c7288&&_0xe57d2d?_0x4a8259(_0xe57d2d,_0x3c7288):null,_0x3c7288?null:_0x28d513(_0x2ecbb6,_0xe57d2d)][_0x1394bc(0x22a)](Boolean)[_0x1394bc(0x253)]((_0x5a0e53,_0x29299e)=>_0x5e56ba[_0x1394bc(0x1db)]['compose'](_0x5a0e53,_0x29299e),null);}function _0x4a8259(_0x428401,_0x377665){const _0x406f5d=_0x16a119;let _0x59ff13=new _0x5e56ba[(_0x406f5d(0x1c0))]();return _0x59ff13[_0x406f5d(0x23b)](_0x377665[_0x406f5d(0x266)]),_0x377665['insertLength']>0x0&&_0x59ff13['insert'](_0x377665['insertLength'],(0x0,_0x5e56ba[_0x406f5d(0x1ee)])(_0x428401,_0x377665[_0x406f5d(0x266)],_0x377665[_0x406f5d(0x266)]+_0x377665['insertLength'],!0x1)),_0x377665['deleteLength']>0x0&&_0x59ff13['delete'](_0x377665['deleteLength']),_0x5e56ba[_0x406f5d(0x1db)][_0x406f5d(0x25b)]()['editOp'](_0x59ff13[_0x406f5d(0x258)](),[_0x406f5d(0x1d5)]);}function _0x28d513(_0x477243,_0x24b968){const _0x225cdf=_0x16a119;let _0x414e68=[],_0x1f6d63=_0x477243?_0x33194e(_0x477243):void 0x0,_0x951d4c=_0x24b968?_0x33194e(_0x24b968):void 0x0;for(let _0x3118a7 of _0x57d1a1)_0x405e4e(_0x5e56ba['JSONX'][_0x225cdf(0x25b)](),[_0x225cdf(0x1d5),_0x3118a7],_0x1f6d63==null?void 0x0:_0x1f6d63[_0x3118a7],_0x951d4c==null?void 0x0:_0x951d4c[_0x3118a7],_0x414e68);return _0x414e68[_0x225cdf(0x253)]((_0x818fe5,_0x8e6e7)=>_0x5e56ba[_0x225cdf(0x1db)][_0x225cdf(0x1fe)](_0x818fe5,_0x8e6e7),null);}let _0x57d1a1=[_0x16a119(0x251),_0x16a119(0x1cc),'tables','columnGroups',_0x16a119(0x1d7),'customBlocks',_0x16a119(0x200),'customDecorations',_0x16a119(0x1e1)];function _0x33194e(_0x300322){return _0x300322;}function _0x405e4e(_0x4f404f,_0x19d2c7,_0x8b6070,_0x2eb3cc,_0x556cf7){const _0x3473da=_0x16a119;if(!_0xbab297(_0x8b6070,_0x2eb3cc)){if(_0x8b6070==null){_0x556cf7['push'](_0x4f404f[_0x3473da(0x1cf)](_0x19d2c7,_0x2eb3cc));return;}if(_0x2eb3cc==null){_0x556cf7[_0x3473da(0x255)](_0x4f404f['removeOp'](_0x19d2c7,_0x8b6070));return;}if(Array[_0x3473da(0x212)](_0x8b6070)&&Array[_0x3473da(0x212)](_0x2eb3cc)){_0x41665c(_0x4f404f,_0x19d2c7,_0x8b6070,_0x2eb3cc,_0x556cf7);return;}if(_0x2bdb2e(_0x8b6070)&&_0x2bdb2e(_0x2eb3cc)){new Set([...Object[_0x3473da(0x26b)](_0x8b6070),...Object[_0x3473da(0x26b)](_0x2eb3cc)])[_0x3473da(0x239)](_0x14755f=>{_0x405e4e(_0x4f404f,[..._0x19d2c7,_0x14755f],_0x8b6070[_0x14755f],_0x2eb3cc[_0x14755f],_0x556cf7);});return;}_0x556cf7['push'](_0x4f404f[_0x3473da(0x268)](_0x19d2c7,_0x8b6070,_0x2eb3cc));}}function _0x41665c(_0x518ea9,_0x363750,_0x235937,_0x1e1712,_0x1b0981){const _0x218604=_0x16a119;if(_0x235937[_0x218604(0x291)]===_0x1e1712[_0x218604(0x291)]){_0x235937[_0x218604(0x239)]((_0x8d856e,_0x42a59e)=>_0x405e4e(_0x518ea9,[..._0x363750,_0x42a59e],_0x8d856e,_0x1e1712[_0x42a59e],_0x1b0981));return;}let _0x24301c=0x0;for(;_0x24301c<_0x235937['length']&&_0x24301c<_0x1e1712[_0x218604(0x291)]&&_0xbab297(_0x235937[_0x24301c],_0x1e1712[_0x24301c]);)_0x24301c++;let _0x50b5aa=_0x235937[_0x218604(0x291)]-0x1,_0x4a5026=_0x1e1712[_0x218604(0x291)]-0x1;for(;_0x50b5aa>=_0x24301c&&_0x4a5026>=_0x24301c&&_0xbab297(_0x235937[_0x50b5aa],_0x1e1712[_0x4a5026]);)_0x50b5aa--,_0x4a5026--;for(let _0x507871=_0x50b5aa;_0x507871>=_0x24301c;_0x507871--)_0x1b0981[_0x218604(0x255)](_0x518ea9[_0x218604(0x1f2)]([..._0x363750,_0x507871],_0x235937[_0x507871]));for(let _0x141140=_0x24301c;_0x141140<=_0x4a5026;_0x141140++)_0x1b0981['push'](_0x518ea9[_0x218604(0x1cf)]([..._0x363750,_0x141140],_0x1e1712[_0x141140]));}function _0x2bdb2e(_0x2468ab){const _0x594163=_0x16a119;return typeof _0x2468ab==_0x594163(0x246)&&!!_0x2468ab&&!Array[_0x594163(0x212)](_0x2468ab);}function _0xbab297(_0x4eb596,_0x4c66ca){return JSON['stringify'](_0x4eb596)===JSON['stringify'](_0x4c66ca);}function _0xd14432(_0x20f13a,_0x14fc34,_0x2c16a8,_0x11ff1d,_0xec5eee,_0xe1916a,_0x4d7fbf){const _0x472873=_0x16a119;let _0x3e60e1=_0x115b0b(_0x11ff1d,_0xec5eee);return _0x3e60e1?!!_0x20f13a[_0x472873(0x1da)](_0x1e06fa[_0x472873(0x271)]['id'],{'unitId':_0x2c16a8,'actions':_0x3e60e1,'textRanges':[{'startOffset':_0x4d7fbf,'endOffset':_0x4d7fbf,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0xe1916a}):(_0x14fc34[_0x472873(0x216)]([{'startOffset':_0x4d7fbf,'endOffset':_0x4d7fbf}],{'unitId':_0x2c16a8,'subUnitId':_0x2c16a8},!0x1),!0x0);}let _0x4da496=_0x16a119(0x1ed);var _0x125d1b=_0x16a119(0x1d4),_0x1d76d0=_0x16a119(0x27b);let _0x51aa4c={};function _0x6abc19(_0x4e9bf6,_0x3bfb27){return function(_0x1e3b63,_0x42795f){_0x3bfb27(_0x1e3b63,_0x42795f,_0x4e9bf6);};}function _0x253236(_0x53fa8f,_0x452e02,_0x5dc9b3,_0x1b6553){const _0x251c0b=_0x16a119;var _0x5c0d20=arguments[_0x251c0b(0x291)],_0x3476a8=_0x5c0d20<0x3?_0x452e02:_0x1b6553===null?_0x1b6553=Object[_0x251c0b(0x217)](_0x452e02,_0x5dc9b3):_0x1b6553,_0x34eea3;if(typeof Reflect==_0x251c0b(0x246)&&typeof Reflect['decorate']=='function')_0x3476a8=Reflect[_0x251c0b(0x1d3)](_0x53fa8f,_0x452e02,_0x5dc9b3,_0x1b6553);else{for(var _0x2305ef=_0x53fa8f[_0x251c0b(0x291)]-0x1;_0x2305ef>=0x0;_0x2305ef--)(_0x34eea3=_0x53fa8f[_0x2305ef])&&(_0x3476a8=(_0x5c0d20<0x3?_0x34eea3(_0x3476a8):_0x5c0d20>0x3?_0x34eea3(_0x452e02,_0x5dc9b3,_0x3476a8):_0x34eea3(_0x452e02,_0x5dc9b3))||_0x3476a8);}return _0x5c0d20>0x3&&_0x3476a8&&Object[_0x251c0b(0x20a)](_0x452e02,_0x5dc9b3,_0x3476a8),_0x3476a8;}let _0x35b243=class extends _0x5e56ba[_0x16a119(0x1f3)]{constructor(_0x47e617,_0x5b7e04){const _0x5f5387=_0x16a119;super(),this['_resourceManagerService']=_0x47e617,this['_docsCodeModel']=_0x5b7e04,this[_0x5f5387(0x1cb)]();}[_0x16a119(0x1cb)](){const _0x233ee8=_0x16a119;this['disposeWithMe'](this[_0x233ee8(0x280)]['registerPluginResource']({'pluginName':_0x4da496,'businesses':[_0x5e56ba['UniverInstanceType'][_0x233ee8(0x1fd)]],'toJson':_0x3f0e72=>JSON[_0x233ee8(0x24f)](this[_0x233ee8(0x25a)][_0x233ee8(0x258)](_0x3f0e72)),'parseJson':_0x187ebe=>_0x54903e(JSON[_0x233ee8(0x26e)](_0x187ebe)),'onLoad':(_0x398dc6,_0x45a354)=>this['_docsCodeModel'][_0x233ee8(0x233)](_0x398dc6,_0x45a354),'onUnLoad':_0x3bd3b6=>this[_0x233ee8(0x25a)][_0x233ee8(0x211)](_0x3bd3b6)}));}};_0x35b243=_0x253236([_0x6abc19(0x0,_0x5e56ba[_0x16a119(0x24d)]),_0x6abc19(0x1,(0x0,_0x5e56ba[_0x16a119(0x286)])(_0x2320bb))],_0x35b243);let _0x1fa21f=class extends _0x5e56ba['Plugin']{constructor(_0x5740f3=_0x51aa4c,_0x1d656d,_0x8edff0,_0x3ce8a2){const _0xf7f80=_0x16a119;super(),this[_0xf7f80(0x293)]=_0x5740f3,this[_0xf7f80(0x230)]=_0x1d656d,this[_0xf7f80(0x204)]=_0x8edff0,this['_configService']=_0x3ce8a2;let {..._0x209452}=(0x0,_0x5e56ba[_0xf7f80(0x1fa)])({},_0x51aa4c,this[_0xf7f80(0x293)]);this[_0xf7f80(0x24b)][_0xf7f80(0x256)](_0xf7f80(0x288),_0x209452);}[_0x16a119(0x260)](){const _0x176bf0=_0x16a119;this['_injector'][_0x176bf0(0x28f)]([_0x2320bb]),this[_0x176bf0(0x230)][_0x176bf0(0x28f)]([_0x35b243]),this[_0x176bf0(0x230)]['get'](_0x2320bb),this[_0x176bf0(0x230)]['get'](_0x35b243),[_0x418564,_0x316a05,_0x1ba5e6,_0x1a6a26,_0x17da02,_0x52d7e1,_0x828dfb,_0x1a68ee,_0x4ed727,_0x1a2b6d]['forEach'](_0x13e9c0=>this[_0x176bf0(0x277)](this[_0x176bf0(0x204)][_0x176bf0(0x265)](_0x13e9c0)));}};_0x264d0e(_0x1fa21f,'pluginName',_0x4da496),_0x264d0e(_0x1fa21f,_0x16a119(0x264),_0x125d1b),_0x264d0e(_0x1fa21f,'version',_0x1d76d0),_0x264d0e(_0x1fa21f,'type',_0x5e56ba[_0x16a119(0x245)]['UNIVER_DOC']),_0x1fa21f=_0x253236([(0x0,_0x5e56ba[_0x16a119(0x22e)])(_0x5d5981[_0x16a119(0x1e9)],_0x1e06fa['UniverDocsPlugin']),_0x6abc19(0x1,(0x0,_0x5e56ba['Inject'])(_0x5e56ba[_0x16a119(0x234)])),_0x6abc19(0x2,_0x5e56ba[_0x16a119(0x201)]),_0x6abc19(0x3,_0x5e56ba[_0x16a119(0x23a)])],_0x1fa21f),_0x9f50bb[_0x16a119(0x1f8)]=_0x4da496,_0x9f50bb['DocsCodeCancelEmptyParagraphCommand']=_0x828dfb,_0x9f50bb[_0x16a119(0x257)]=_0x1a68ee,_0x9f50bb[_0x16a119(0x26f)]=_0x316a05,_0x9f50bb['DocsCodeInsertCommand']=_0x418564,_0x9f50bb[_0x16a119(0x218)]=_0x2320bb,_0x9f50bb['DocsCodeRemoveCommand']=_0x17da02,_0x9f50bb['DocsCodeUnwrapCommand']=_0x1a6a26,_0x9f50bb[_0x16a119(0x1dd)]=_0x1ba5e6,_0x9f50bb[_0x16a119(0x23c)]=_0x1a2b6d,_0x9f50bb['SetDocsCodeConfigMutation']=_0x4ed727,Object['defineProperty'](_0x9f50bb,_0x16a119(0x267),{'enumerable':!0x0,'get':function(){return _0x1fa21f;}}),_0x9f50bb[_0x16a119(0x26d)]=_0x5c5d27,_0x9f50bb[_0x16a119(0x231)]=_0x5e421e,_0x9f50bb['normalizeDocsCodeConfig']=_0x4d8eb6,_0x9f50bb[_0x16a119(0x297)]=_0x54903e;}));function _0x28af(){const _0x45edaa=['replaceDocRanges','getOwnPropertyDescriptor','DocsCodeModel','8307990LCxQSY','selectionManager','PARAGRAPH','docs-code.command.remove','columnGroups','startTokenOffset','getParagraphFollowingBlockOffset','entries','constructor','shiftExclusiveRangeOnInsert','@univerjs/core','3049629bQCzdI','model','clear','TABLE_CELL_END','get','setCodeConfig','filter','fromEntries','keepNext','TABLE_CELL_START','DependentOn','prototype','_injector','isCodeBoundaryDelete','nextMetadata','deserialize','Injector','getSnapshot','isHeaderFooterSelection','previousDocumentData','insert-new','forEach','IConfigService','retain','RemoveDocsCodeConfigMutation','CODE','dispose','docs-code.mutation.remove-config','slice','getBlockRangeInterval','@univerjs-pro/license','sort','asObservable','UniverInstanceType','object','commandService','134124SnNjbw','SECTION_BREAK','DocSelectionManagerService','_configService','dataStream','IResourceManagerService','javascript','stringify','left','paragraphs','UniverProLicense','reduce','DocumentBlockRangeType','push','setConfig','DocsCodeConsumeBoundaryDeleteCommand','serialize','next','_docsCodeModel','getInstance','direction','_resources','documentData','find','onStarting','getCodeConfig','containsStreamIndex','MUTATION','packageName','registerCommand','start','UniverDocsCodePlugin','replaceOp','getContentInsertRange','config','keys','indentEnd','buildCancelEmptyCodeParagraphActions','parse','DocsCodeInsertBelowCommand','handler','RichTextEditingMutation','CommandType','UniverDocs','docs-code.command.unwrap','COMMAND','2317lkuFbf','disposeWithMe','set','_setResource','containsInteriorInsertionOffset','1.0.1','intersectsOperationalIntervals','monospace','BLOCK_END','startOffset','_resourceManagerService','docs-code.command.update','widowControl','paragraph','customDecorations','docs-code.command.exit','Inject','customBlocks','docs-code.config','endsWith','docs-code.command.insert-below','docs-code.command.insert','symbol','spaceBelow','toPrimitive','add','65KnivNC','length','every','_config','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','1vyBocC','endTokenOffset','normalizeDocsCodeMetadataResource','blockId','paragraphStartIndex','default','exports','function','min','TextX','getBody','map','docs-code.mutation.set-config','BuildTextUtils','bullet','blockType','spaceAbove','shiftExclusiveRangeOnDelete','Subject','max','_initResource','sectionBreaks','getUnitId','docs-code.command.consume-boundary-delete','insertOp','getParagraphContentStartOffset','2344748sOUDgA','paragraphStyle','decorate','@univerjs-pro/docs-code','body','right','blockRanges','DataStreamTreeTokenType','insertionMode','syncExecuteCommand','JSONX','indentStart','DocsCodeUpdateCommand','amd','FALSE','change$','textRuns','Document\x20body\x20is\x20required','removeCode','paragraphId','tables','13984hgoBjw','endOffset','startIndex','UniverLicensePlugin','iterator','complete','_change$','DOC_CODE_PLUGIN','getBodySliceForTextXAction','Module','toStringTag','docs-code.command.cancel-empty-paragraph','removeOp','Disposable','createParagraphId','endIndex','string','BLOCK_START','DOCS_CODE_PLUGIN','BooleanNumber','merge','cursorOffset','metadata','UNIVER_DOC','compose','getCurrentUnitOfType','customRanges','ICommandService','5700798yZlvRe','textStyle','_commandService','nextDocumentData','indexOf','keepLines','3WDRSGX','columns','defineProperty','2473852TqbDRh','getParagraphContentStartOffsets','shiftInclusiveRangeOnDelete','getSingleDataStreamChange','IUniverInstanceService','unitId','removeUnit','isArray','codes','some','TRUE'];_0x28af=function(){return _0x45edaa;};return _0x28af();}
1
+ function _0x5220(_0x1bf233,_0x5e9330){_0x1bf233=_0x1bf233-0x105;const _0x2cf91e=_0x2cf9();let _0x52206c=_0x2cf91e[_0x1bf233];return _0x52206c;}function _0x2cf9(){const _0x4a8a6b=['monospace','JSONX','BuildTextUtils','change$','getUnitId','filter','get','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','endIndex','4gpuHJG','customBlocks','amd','getTextRanges','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','TABLE_CELL_END','removeOp','getCurrentUnitOfType','length','MUTATION','Document\x20body\x20is\x20required','DataStreamTreeTokenType','dataStream','docs-code.mutation.set-config','IUniverInstanceService','buildCancelEmptyCodeParagraphActions','DocsCodeUnwrapCommand','textRuns','selectionManager','Subject','@univerjs/docs','_setResource','TextX','syncExecuteCommand','version','_config','indentStart','18888eVtliK','function','paragraph','columnGroups','getOwnPropertyDescriptor','config','model','ICommandService','_resourceManagerService','@univerjs/core','DocumentBlockRangeType','push','iterator','startOffset','RemoveDocsCodeConfigMutation','sectionBreaks','shiftExclusiveRangeOnInsert','textStyle','min','paragraphStyle','max','Disposable','decorate','docs-code.command.exit','paragraphStartIndex','tables','documentData','symbol','keepNext','docs-code.config','BLOCK_END','bullet','getSnapshot','editOp','@univerjs-pro/license','compose','exports','_resources','parse','Injector','blockRanges','rxjs','paragraphId','setConfig','shiftInclusiveRangeOnDelete','stringify','sort','1938286pGUxAY','commandService','docs-code.mutation.remove-config','left','getParagraphsInRange','BooleanNumber','start','containsInteriorInsertionOffset','unitId','next','CommandType','createParagraphId','getCodeConfig','spaceAbove','blockId','getSingleDataStreamChange','paragraphs','map','convert-paragraph','DocsCodeUpdateCommand','some','replaceOp','docs-code.command.insert-below','UniverCore','cursorOffset','DocsCodeInsertCommand','UniverInstanceType','_change$','normalizeDocsCodeConfig','serialize','containsStreamIndex','body','indentEnd','_configService','PARAGRAPH','setCodeConfig','type','object','insertionMode','BLOCK_START','widowControl','set','DOCS_CODE_PLUGIN','SetDocsCodeConfigMutation','handler','from','reduce','removeUnit','UNIVER_DOC','pluginName','Plugin','DocsCodeModel','8MChAYg','_commandService','docs-code.command.insert','endTokenOffset','DocsCodeConsumeBoundaryDeleteCommand','_injector','add','_initResource','getInstance','1629678jRbbho','endOffset','153155nrfEOm','DocSelectionManagerService','dispose','keys','constructor','getContentInsertRange','customDecorations','startTokenOffset','Inject','onStarting','registerCommand','retain','4080096bphwkU','delete','keepLines','startIndex','Module','blockType','entries','fromEntries','UniverLicensePlugin','getParagraphContentStartOffset','11174895FhbJoF','columns','codes','_docsCodeModel','previousDocumentData','1.0.2','shiftExclusiveRangeOnDelete','shiftInclusiveRangeOnInsert','spaceBelow','slice','TRUE','TABLE_CELL_START','getBody','right','isArray','complete','intersectsOperationalIntervals','insert','find','SECTION_BREAK','range','packageName','clear','deserialize','CODE','disposeWithMe','getBlockRangeInterval','endsWith','@univerjs-pro/docs-code','COMMAND','getUnit','DocsCodeRemoveCommand','insertLength','customRanges','nextDocumentData','IResourceManagerService','UniverDocsPlugin','DocsCodeCancelEmptyParagraphCommand','asObservable','getParagraphContentStartOffsets','string','defineProperty','metadata','nextMetadata','deleteLength','docs-code.command.remove','removeCode','98899niFbye','forEach'];_0x2cf9=function(){return _0x4a8a6b;};return _0x2cf9();}(function(_0x351f1c,_0x114895){const _0x1f6806=_0x5220,_0x462e8d=_0x351f1c();while(!![]){try{const _0x3067f0=parseInt(_0x1f6806(0x1a9))/0x1*(-parseInt(_0x1f6806(0x159))/0x2)+parseInt(_0x1f6806(0x162))/0x3+parseInt(_0x1f6806(0x1b4))/0x4*(-parseInt(_0x1f6806(0x164))/0x5)+-parseInt(_0x1f6806(0x170))/0x6+-parseInt(_0x1f6806(0x125))/0x7+parseInt(_0x1f6806(0x1cf))/0x8+parseInt(_0x1f6806(0x17a))/0x9;if(_0x3067f0===_0x114895)break;else _0x462e8d['push'](_0x462e8d['shift']());}catch(_0x26223b){_0x462e8d['push'](_0x462e8d['shift']());}}}(_0x2cf9,0x62a85),function(_0x12df3c,_0x39cf48){const _0x598df1=_0x5220;typeof exports==_0x598df1(0x14a)&&typeof module<'u'?_0x39cf48(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x598df1(0x1d0)&&define[_0x598df1(0x1b6)]?define([_0x598df1(0x11a),_0x598df1(0x1d8),_0x598df1(0x11f),_0x598df1(0x1c8),_0x598df1(0x118)],_0x39cf48):(_0x12df3c=typeof globalThis<'u'?globalThis:_0x12df3c||self,_0x39cf48(_0x12df3c['UniverProDocsCode']={},_0x12df3c[_0x598df1(0x13c)],_0x12df3c[_0x598df1(0x11f)],_0x12df3c['UniverDocs'],_0x12df3c['UniverProLicense']));}(this,function(_0x2ac6e0,_0x16fbe0,_0x2d171b,_0x95c02f,_0x325972){const _0x4ef7d9=_0x5220;Object['defineProperty'](_0x2ac6e0,Symbol['toStringTag'],{'value':_0x4ef7d9(0x174)});let _0x1d1135={'language':'javascript','showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x230562(_0x149247){return{..._0x1d1135,..._0x149247};}function _0x1b1769(_0x2f28b4){const _0xcb9420=_0x4ef7d9;let _0x3fe446=(_0x2f28b4==null?void 0x0:_0x2f28b4['codes'])??{};return{'codes':Object[_0xcb9420(0x177)](Object[_0xcb9420(0x176)](_0x3fe446)[_0xcb9420(0x136)](([_0x37a631,_0x3ee6eb])=>[_0x37a631,_0x230562(_0x3ee6eb)]))};}function _0x1145de(_0x5c7f6a,_0x1890b4,_0x1e0fc8){const _0x2ee6a6=_0x4ef7d9;let _0x29646c=_0x1b1769(_0x5c7f6a);return _0x29646c[_0x2ee6a6(0x17c)][_0x1890b4]=_0x230562({..._0x29646c[_0x2ee6a6(0x17c)][_0x1890b4],..._0x1e0fc8}),_0x29646c;}function _0x2d5921(_0x36d090,_0x48bcf2){const _0x4d0e05=_0x4ef7d9;let _0x55b9fd=_0x1b1769(_0x36d090);return delete _0x55b9fd[_0x4d0e05(0x17c)][_0x48bcf2],_0x55b9fd;}function _0xeb69cc(_0x5d109c){'@babel/helpers - typeof';const _0x160284=_0x4ef7d9;return _0xeb69cc=typeof Symbol==_0x160284(0x1d0)&&typeof Symbol[_0x160284(0x1db)]==_0x160284(0x111)?function(_0xcbc1fd){return typeof _0xcbc1fd;}:function(_0x8756e1){const _0x9a5fd4=_0x160284;return _0x8756e1&&typeof Symbol==_0x9a5fd4(0x1d0)&&_0x8756e1[_0x9a5fd4(0x168)]===Symbol&&_0x8756e1!==Symbol['prototype']?_0x9a5fd4(0x111):typeof _0x8756e1;},_0xeb69cc(_0x5d109c);}function _0x38b0c0(_0x1095f9,_0xaba426){const _0x1ff880=_0x4ef7d9;if(_0xeb69cc(_0x1095f9)!='object'||!_0x1095f9)return _0x1095f9;var _0x211972=_0x1095f9[Symbol['toPrimitive']];if(_0x211972!==void 0x0){var _0x4d4609=_0x211972['call'](_0x1095f9,_0xaba426||'default');if(_0xeb69cc(_0x4d4609)!=_0x1ff880(0x14a))return _0x4d4609;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xaba426===_0x1ff880(0x1a2)?String:Number)(_0x1095f9);}function _0x25f7f1(_0x50644a){const _0x59dc36=_0x4ef7d9;var _0x11d0b4=_0x38b0c0(_0x50644a,'string');return _0xeb69cc(_0x11d0b4)==_0x59dc36(0x111)?_0x11d0b4:_0x11d0b4+'';}function _0x5a0992(_0x25a301,_0x5cfe1d,_0x1d7977){const _0x49d77f=_0x4ef7d9;return(_0x5cfe1d=_0x25f7f1(_0x5cfe1d))in _0x25a301?Object[_0x49d77f(0x1a3)](_0x25a301,_0x5cfe1d,{'value':_0x1d7977,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x25a301[_0x5cfe1d]=_0x1d7977,_0x25a301;}var _0x14c27e=class extends _0x16fbe0[_0x4ef7d9(0x10b)]{constructor(..._0x20823d){const _0x2d6866=_0x4ef7d9;super(..._0x20823d),_0x5a0992(this,'_resources',new Map()),_0x5a0992(this,'_change$',new _0x2d171b[(_0x2d6866(0x1c7))]()),_0x5a0992(this,_0x2d6866(0x1ae),this['_change$'][_0x2d6866(0x1a0)]());}[_0x4ef7d9(0x131)](_0x5a7b66,_0x4af65e){const _0x2777cd=_0x4ef7d9;return _0x1b1769(this[_0x2777cd(0x11b)][_0x2777cd(0x1b1)](_0x5a7b66))[_0x2777cd(0x17c)][_0x4af65e];}[_0x4ef7d9(0x148)](_0x341a9d,_0x4209d5,_0x5c4a05){const _0x199212=_0x4ef7d9;this[_0x199212(0x1c9)](_0x341a9d,_0x4209d5,_0x1145de(this[_0x199212(0x11b)][_0x199212(0x1b1)](_0x341a9d),_0x4209d5,_0x5c4a05));}[_0x4ef7d9(0x1a8)](_0x248b50,_0x3d6648){const _0x612c62=_0x4ef7d9;this[_0x612c62(0x1c9)](_0x248b50,_0x3d6648,_0x2d5921(this['_resources'][_0x612c62(0x1b1)](_0x248b50),_0x3d6648));}[_0x4ef7d9(0x142)](_0x1a0d18){const _0x15a760=_0x4ef7d9;return _0x1b1769(this[_0x15a760(0x11b)][_0x15a760(0x1b1)](_0x1a0d18));}[_0x4ef7d9(0x191)](_0x2c9483,_0x42be8d){const _0x231d44=_0x4ef7d9;this[_0x231d44(0x11b)][_0x231d44(0x14e)](_0x2c9483,_0x1b1769(_0x42be8d)),this[_0x231d44(0x140)][_0x231d44(0x12e)]({'unitId':_0x2c9483});}[_0x4ef7d9(0x154)](_0x583248){const _0x4614a2=_0x4ef7d9;this[_0x4614a2(0x11b)][_0x4614a2(0x171)](_0x583248),this['_change$'][_0x4614a2(0x12e)]({'unitId':_0x583248});}[_0x4ef7d9(0x166)](){const _0x3786b2=_0x4ef7d9;super[_0x3786b2(0x166)](),this['_resources'][_0x3786b2(0x190)](),this[_0x3786b2(0x140)][_0x3786b2(0x189)]();}[_0x4ef7d9(0x1c9)](_0x2dc03a,_0x30931b,_0x5381a4){const _0x449444=_0x4ef7d9;this['_resources'][_0x449444(0x14e)](_0x2dc03a,_0x5381a4),this['_change$'][_0x449444(0x12e)]({'unitId':_0x2dc03a,'blockId':_0x30931b});}};let _0x2bc0c9={'id':_0x4ef7d9(0x1c1),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x1bd)],'handler':(_0x3e3ac2,_0x1c173b)=>!(_0x1c173b!=null&&_0x1c173b[_0x4ef7d9(0x12d)])||!_0x1c173b['blockId']?!0x1:(_0x3e3ac2[_0x4ef7d9(0x1b1)](_0x14c27e)[_0x4ef7d9(0x148)](_0x1c173b[_0x4ef7d9(0x12d)],_0x1c173b['blockId'],_0x1c173b[_0x4ef7d9(0x1d4)]),!0x0)},_0x12b758={'id':_0x4ef7d9(0x127),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x1bd)],'handler':(_0x149f68,_0x4d5257)=>!(_0x4d5257!=null&&_0x4d5257['unitId'])||!_0x4d5257[_0x4ef7d9(0x133)]?!0x1:(_0x149f68[_0x4ef7d9(0x1b1)](_0x14c27e)[_0x4ef7d9(0x1a8)](_0x4d5257[_0x4ef7d9(0x12d)],_0x4d5257[_0x4ef7d9(0x133)]),!0x0)},_0x5bdd69=_0x4ef7d9(0x1ab);var _0x58a179=class extends Error{constructor(_0x3bee4d=_0x4ef7d9(0x1b2)){super(_0x3bee4d);}};function _0x5dbf76(_0x5b06d7){const _0x53b1e2=_0x4ef7d9;var _0x1dd2d8;let _0x58d815=_0x5000f0(_0x5b06d7[_0x53b1e2(0x110)]),_0xbf76db=_0x5966ef(_0x58d815),_0xe0c286=_0x17ad50(_0x5b06d7[_0x53b1e2(0x1dc)],_0x5b06d7['endOffset']),_0x3be740=_0xe0c286?(_0x1dd2d8=_0xbf76db['blockRanges'])==null?void 0x0:_0x1dd2d8[_0x53b1e2(0x18c)](_0x371b5c=>{const _0x105a01=_0x53b1e2;let _0x2ab324=(0x0,_0x16fbe0[_0x105a01(0x194)])(_0x371b5c);return _0x2ab324['startOffset']===_0xe0c286[_0x105a01(0x1dc)]&&_0x2ab324['endOffset']===_0xe0c286[_0x105a01(0x163)];}):void 0x0,{startOffset:_0x36df1a,endOffset:_0x57a3d3}=_0x3be740?_0xe0c286:_0x28ba5d(_0xbf76db,_0x5b06d7[_0x53b1e2(0x1dc)],_0x5b06d7[_0x53b1e2(0x163)],_0x5b06d7[_0x53b1e2(0x14b)]);if(!_0x3be740&&_0x22b676(_0xbf76db,_0x36df1a,_0x57a3d3))throw new _0x58a179(_0x53b1e2(0x1b8));let _0x4c409e=_0xa60ef0(_0xbf76db,_0x36df1a,_0x57a3d3),_0x2c0ec8=(_0x3be740==null?void 0x0:_0x3be740[_0x53b1e2(0x133)])??_0x5b06d7[_0x53b1e2(0x133)],_0x48a32f=_0x1145de(_0x5b06d7[_0x53b1e2(0x1a4)],_0x2c0ec8,{..._0x1d1135,..._0x5b06d7[_0x53b1e2(0x1d4)]});if(_0x3be740)return _0x3be740['blockType']=_0x16fbe0[_0x53b1e2(0x1d9)][_0x53b1e2(0x192)],_0x39ccef(_0xbf76db,_0x36df1a,_0x57a3d3),_0x2c13b0(_0xbf76db,_0x36df1a,_0x57a3d3,_0x4c409e),_0x46f1cd(_0xbf76db,_0x3be740),{'nextDocumentData':_0x58d815,'nextMetadata':_0x48a32f,'cursorOffset':_0x36df1a+0x1};if(_0x36df1a===_0x57a3d3){var _0x1fe69f,_0x48874c;let _0x2c5000=''+_0x16fbe0[_0x53b1e2(0x1bf)][_0x53b1e2(0x14c)]+_0x16fbe0['DataStreamTreeTokenType'][_0x53b1e2(0x147)]+_0x16fbe0[_0x53b1e2(0x1bf)]['BLOCK_END'];_0x564ef8(_0xbf76db,_0x36df1a,_0x2c5000,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x16fbe0[_0x53b1e2(0x130)])(new Set((_0x1fe69f=_0xbf76db[_0x53b1e2(0x135)])==null?void 0x0:_0x1fe69f[_0x53b1e2(0x136)](_0x306141=>_0x306141[_0x53b1e2(0x120)]))),'paragraphStyle':_0x247fe8(!0x0,!0x0,_0x4c409e)}],'blockRanges':[{'blockId':_0x2c0ec8,'blockType':_0x16fbe0['DocumentBlockRangeType']['CODE'],'startIndex':0x0,'endIndex':_0x2c5000[_0x53b1e2(0x1bc)]-0x1}]});let _0x2d6f4f=(_0x48874c=_0xbf76db['blockRanges'])==null?void 0x0:_0x48874c[_0x53b1e2(0x18c)](_0x3fa993=>_0x3fa993[_0x53b1e2(0x133)]===_0x2c0ec8);return _0x2d6f4f&&_0x46f1cd(_0xbf76db,_0x2d6f4f),{'nextDocumentData':_0x58d815,'nextMetadata':_0x48a32f,'cursorOffset':_0x36df1a+0x1};}_0x564ef8(_0xbf76db,_0x57a3d3,_0x16fbe0[_0x53b1e2(0x1bf)][_0x53b1e2(0x114)]),_0x564ef8(_0xbf76db,_0x36df1a,_0x16fbe0[_0x53b1e2(0x1bf)][_0x53b1e2(0x14c)]),_0x2c13b0(_0xbf76db,_0x36df1a,_0x57a3d3+0x1,_0x4c409e);let _0x47d077={'blockId':_0x2c0ec8,'blockType':_0x16fbe0[_0x53b1e2(0x1d9)]['CODE'],'startIndex':_0x36df1a,'endIndex':_0x57a3d3+0x1};return _0xbf76db[_0x53b1e2(0x11e)]=[..._0xbf76db[_0x53b1e2(0x11e)]??[],_0x47d077][_0x53b1e2(0x124)]((_0x1287c1,_0x1ac7be)=>_0x1287c1[_0x53b1e2(0x173)]-_0x1ac7be['startIndex']),_0x46f1cd(_0xbf76db,_0x47d077),{'nextDocumentData':_0x58d815,'nextMetadata':_0x48a32f,'cursorOffset':_0x36df1a+0x1};}function _0x39ccef(_0x1847a7,_0x3d438d,_0x1f120f){const _0x1beaef=_0x4ef7d9;(_0x1847a7[_0x1beaef(0x135)]??[])[_0x1beaef(0x1b0)](_0x3dcb9a=>_0x3dcb9a[_0x1beaef(0x173)]>_0x3d438d&&_0x3dcb9a['startIndex']<_0x1f120f)[_0x1beaef(0x1aa)](_0x375974=>{const _0x2f9357=_0x1beaef;let _0x13831d={..._0x375974[_0x2f9357(0x109)]??{}};delete _0x13831d[_0x2f9357(0x132)],delete _0x13831d['spaceBelow'],_0x375974[_0x2f9357(0x109)]=_0x13831d;});}function _0x17ad50(_0x2ce649,_0xe5555d){const _0x2929e9=_0x4ef7d9;return _0x2ce649==null||_0xe5555d==null||_0x2ce649===_0xe5555d?null:{'startOffset':Math[_0x2929e9(0x108)](_0x2ce649,_0xe5555d),'endOffset':Math[_0x2929e9(0x10a)](_0x2ce649,_0xe5555d)};}function _0x22b676(_0x16975d,_0x39887f,_0x56631a){const _0x81925=_0x4ef7d9;return(_0x16975d['blockRanges']??[])[_0x81925(0x139)](_0x207e75=>{const _0x1433fb=_0x81925;let _0xc71f5e=(0x0,_0x16fbe0['getBlockRangeInterval'])(_0x207e75);return _0x39887f===_0x56631a?(0x0,_0x16fbe0[_0x1433fb(0x12c)])(_0xc71f5e,_0x39887f):(0x0,_0x16fbe0[_0x1433fb(0x18a)])(_0xc71f5e,{'startOffset':_0x39887f,'endOffset':_0x56631a});});}function _0x6829c0(_0x2123fb){const _0x1d9528=_0x4ef7d9;return{'nextDocumentData':_0x5000f0(_0x2123fb[_0x1d9528(0x110)]),'nextMetadata':_0x1145de(_0x2123fb['metadata'],_0x2123fb[_0x1d9528(0x133)],_0x2123fb[_0x1d9528(0x1d4)]),'cursorOffset':0x0};}function _0x34a7f7(_0x1bcfa3){const _0x4265ed=_0x4ef7d9;let _0x117f68=_0x5000f0(_0x1bcfa3[_0x4265ed(0x110)]),_0x5c1d9e=_0x5966ef(_0x117f68),_0x98023=_0x36d42a(_0x5c1d9e,_0x1bcfa3[_0x4265ed(0x133)]);if(!_0x98023)return null;let _0x401733=_0x5dc0c9(_0x5c1d9e,_0x98023);return{'nextDocumentData':_0x117f68,'nextMetadata':_0x2d5921(_0x1bcfa3[_0x4265ed(0x1a4)],_0x1bcfa3[_0x4265ed(0x133)]),'cursorOffset':_0x401733};}function _0x880375(_0x1bc394){const _0x4911d9=_0x4ef7d9;var _0x22d5a8;let _0x5cdb46=_0x5000f0(_0x1bc394['documentData']),_0x24786d=_0x5966ef(_0x5cdb46),_0x22b990=_0x36d42a(_0x24786d,_0x1bc394[_0x4911d9(0x133)]);if(!_0x22b990)return null;let _0x5155b1=(0x0,_0x16fbe0[_0x4911d9(0x194)])(_0x22b990);return _0x1083af(_0x24786d,_0x5155b1[_0x4911d9(0x1dc)],_0x5155b1[_0x4911d9(0x163)]),_0x24786d[_0x4911d9(0x11e)]=(_0x22d5a8=_0x24786d['blockRanges'])==null?void 0x0:_0x22d5a8[_0x4911d9(0x1b0)](_0x18345e=>_0x18345e[_0x4911d9(0x133)]!==_0x1bc394[_0x4911d9(0x133)]),{'nextDocumentData':_0x5cdb46,'nextMetadata':_0x2d5921(_0x1bc394[_0x4911d9(0x1a4)],_0x1bc394['blockId']),'cursorOffset':_0x22b990['startIndex']};}function _0x110b53(_0x4da39b){const _0x2002f5=_0x4ef7d9;let _0x554575=_0x5000f0(_0x4da39b[_0x2002f5(0x110)]),_0x566cd8=_0x5966ef(_0x554575),_0x295735=_0x380185(_0x566cd8,_0x4da39b[_0x2002f5(0x13d)]);return _0x295735&&_0x32f102(_0x554575,_0x566cd8,_0x295735,_0x4da39b['cursorOffset'],_0x4da39b[_0x2002f5(0x10e)])||null;}function _0x32f102(_0x2bce68,_0x3054cb,_0x26d84b,_0x2e580,_0x3b5cbe){const _0xb29e31=_0x4ef7d9;let _0x435e6c=_0x2dc747(_0x3054cb,_0x26d84b,_0x2e580,_0x3b5cbe);if(!_0x435e6c)return null;let _0x4abe83=_0x435e6c[_0xb29e31(0x15c)]-0x1;return _0x1083af(_0x3054cb,_0x435e6c[_0xb29e31(0x1d1)][_0xb29e31(0x173)],_0x435e6c['paragraph']['startIndex']+0x1),{'nextDocumentData':_0x2bce68,'cursorOffset':_0x4abe83};}function _0x36d42a(_0x1920b5,_0x596368){const _0x525ae1=_0x4ef7d9;var _0x18cf26;return _0x1920b5==null||(_0x18cf26=_0x1920b5[_0x525ae1(0x11e)])==null?void 0x0:_0x18cf26[_0x525ae1(0x18c)](_0xf53063=>_0xf53063[_0x525ae1(0x175)]===_0x16fbe0[_0x525ae1(0x1d9)]['CODE']&&_0xf53063[_0x525ae1(0x133)]===_0x596368);}function _0x401b72(_0x28f873){const _0x5b7000=_0x4ef7d9;let _0x48ee0a=_0x28f873[_0x5b7000(0x110)]['body'];if(!_0x48ee0a)return!0x1;let _0x588ea4=_0x28f873['direction']===_0x5b7000(0x128)?_0x28f873[_0x5b7000(0x13d)]-0x1:_0x28f873[_0x5b7000(0x13d)],_0x189cdd=_0x28f873['direction']===_0x5b7000(0x187)?_0x28f873[_0x5b7000(0x13d)]+0x1:_0x588ea4;return(_0x48ee0a[_0x5b7000(0x11e)]??[])[_0x5b7000(0x139)](_0xeea815=>_0xeea815[_0x5b7000(0x175)]===_0x16fbe0[_0x5b7000(0x1d9)][_0x5b7000(0x192)]?_0x588ea4===_0xeea815[_0x5b7000(0x173)]||_0x588ea4===_0xeea815[_0x5b7000(0x1b3)]||_0x189cdd===_0xeea815['startIndex']||_0x189cdd===_0xeea815[_0x5b7000(0x1b3)]:!0x1);}function _0x380185(_0x37221f,_0x53ecee){const _0x4beeb4=_0x4ef7d9;var _0x37510f;return(_0x37510f=_0x37221f[_0x4beeb4(0x11e)])==null?void 0x0:_0x37510f[_0x4beeb4(0x18c)](_0x1d48ee=>{const _0x55773f=_0x4beeb4;let _0x354c7f=_0x245833(_0x1d48ee);return _0x1d48ee[_0x55773f(0x175)]===_0x16fbe0['DocumentBlockRangeType']['CODE']&&_0x1d48ee[_0x55773f(0x173)]<=_0x53ecee&&_0x53ecee<=_0x354c7f+0x2;});}function _0x247fe8(_0x49c17e,_0xbe7dc4,_0x4ea039=!0x1){const _0x1de046=_0x4ef7d9;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x16fbe0[_0x1de046(0x12a)]['TRUE'],'keepNext':_0xbe7dc4?_0x16fbe0[_0x1de046(0x12a)]['FALSE']:_0x16fbe0[_0x1de046(0x12a)][_0x1de046(0x184)],'widowControl':_0x16fbe0[_0x1de046(0x12a)][_0x1de046(0x184)],..._0x49c17e&&_0x4ea039?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x5bdd69,'fs':0xc}};}function _0x2c13b0(_0x1b4ef8,_0x37d3a6,_0x5b1128,_0x24082c=!0x1){const _0x20a34b=_0x4ef7d9;let _0x2ebeaa=(_0x1b4ef8['paragraphs']??[])['filter'](_0x177972=>_0x177972[_0x20a34b(0x173)]>_0x37d3a6&&_0x177972[_0x20a34b(0x173)]<_0x5b1128);_0x2ebeaa[_0x20a34b(0x1aa)]((_0x4a55cc,_0x5f2c90)=>{const _0x1dcfe4=_0x20a34b;_0x4a55cc['paragraphStyle']={..._0x4a55cc[_0x1dcfe4(0x109)]??{},..._0x247fe8(_0x5f2c90===0x0,_0x5f2c90===_0x2ebeaa[_0x1dcfe4(0x1bc)]-0x1,_0x24082c)};});}function _0x47b89b(_0x3b39f2){const _0x491a45=_0x4ef7d9;var _0x253f4e,_0x32b1d8;let _0x4314fd={..._0x3b39f2??{}};return delete _0x4314fd[_0x491a45(0x145)],delete _0x4314fd[_0x491a45(0x1ce)],delete _0x4314fd['spaceAbove'],delete _0x4314fd[_0x491a45(0x182)],delete _0x4314fd[_0x491a45(0x172)],delete _0x4314fd[_0x491a45(0x112)],delete _0x4314fd[_0x491a45(0x14d)],((_0x253f4e=_0x4314fd['textStyle'])==null?void 0x0:_0x253f4e['ff'])===_0x5bdd69&&((_0x32b1d8=_0x4314fd[_0x491a45(0x107)])==null?void 0x0:_0x32b1d8['fs'])===0xc&&delete _0x4314fd[_0x491a45(0x107)],_0x4314fd;}function _0x43cba1(_0x47cdba,_0xcb3467){const _0x38e813=_0x4ef7d9;let _0x32c936=_0x245833(_0xcb3467);return(_0x47cdba[_0x38e813(0x135)]??[])[_0x38e813(0x1b0)](_0x26e679=>_0x26e679[_0x38e813(0x173)]>_0xcb3467[_0x38e813(0x173)]&&_0x26e679[_0x38e813(0x173)]<_0x32c936);}function _0x5dc0c9(_0x502daf,_0x3a6350){const _0x55c977=_0x4ef7d9;var _0x32b81d;let _0x520aee=_0x245833(_0x3a6350);return _0x43cba1(_0x502daf,_0x3a6350)[_0x55c977(0x1aa)](_0x4ac37d=>{const _0x178388=_0x55c977;_0x4ac37d['paragraphStyle']=_0x47b89b(_0x4ac37d[_0x178388(0x109)]);}),_0x1083af(_0x502daf,_0x520aee,_0x520aee+0x1),_0x1083af(_0x502daf,_0x3a6350[_0x55c977(0x173)],_0x3a6350[_0x55c977(0x173)]+0x1),_0x502daf['blockRanges']=(_0x32b81d=_0x502daf[_0x55c977(0x11e)])==null?void 0x0:_0x32b81d['filter'](_0x26cec8=>_0x26cec8[_0x55c977(0x133)]!==_0x3a6350[_0x55c977(0x133)]),_0x3a6350['startIndex'];}function _0x5000f0(_0x39ef40){const _0x1b005d=_0x4ef7d9;return{..._0x39ef40,'body':_0x39ef40['body']?_0x4ff171(_0x39ef40['body']):_0x39ef40[_0x1b005d(0x144)]};}function _0x4ff171(_0x224f8b){const _0x53e301=_0x4ef7d9;var _0x352ee5,_0x1a9a70,_0x1e7988,_0xd9bec8,_0x5c1711,_0x461f6d,_0x2a9c48,_0x4af382,_0x470a64;return{..._0x224f8b,'paragraphs':(_0x352ee5=_0x224f8b[_0x53e301(0x135)])==null?void 0x0:_0x352ee5[_0x53e301(0x136)](_0x10c5b9=>({..._0x10c5b9,'bullet':_0x24cf9f(_0x10c5b9[_0x53e301(0x115)]),'paragraphStyle':_0x24cf9f(_0x10c5b9[_0x53e301(0x109)])})),'sectionBreaks':(_0x1a9a70=_0x224f8b[_0x53e301(0x105)])==null?void 0x0:_0x1a9a70[_0x53e301(0x136)](_0x3dbdda=>({..._0x3dbdda})),'textRuns':(_0x1e7988=_0x224f8b['textRuns'])==null?void 0x0:_0x1e7988[_0x53e301(0x136)](_0x5a5ba0=>({..._0x5a5ba0})),'tables':(_0xd9bec8=_0x224f8b[_0x53e301(0x10f)])==null?void 0x0:_0xd9bec8[_0x53e301(0x136)](_0x581518=>({..._0x581518})),'columnGroups':(_0x5c1711=_0x224f8b[_0x53e301(0x1d2)])==null?void 0x0:_0x5c1711['map'](_0x30164b=>{const _0x29e10f=_0x53e301;var _0x4568b7;return{..._0x30164b,'columns':(_0x4568b7=_0x30164b[_0x29e10f(0x17b)])==null?void 0x0:_0x4568b7['map'](_0x1cf5a9=>_0x24cf9f(_0x1cf5a9))};}),'blockRanges':(_0x461f6d=_0x224f8b[_0x53e301(0x11e)])==null?void 0x0:_0x461f6d[_0x53e301(0x136)](_0x4754c5=>({..._0x4754c5})),'customRanges':(_0x2a9c48=_0x224f8b['customRanges'])==null?void 0x0:_0x2a9c48[_0x53e301(0x136)](_0x1a420e=>({..._0x1a420e})),'customDecorations':(_0x4af382=_0x224f8b[_0x53e301(0x16a)])==null?void 0x0:_0x4af382['map'](_0x471c06=>({..._0x471c06})),'customBlocks':(_0x470a64=_0x224f8b[_0x53e301(0x1b5)])==null?void 0x0:_0x470a64['map'](_0x5a6fe4=>({..._0x5a6fe4}))};}function _0x24cf9f(_0x30013a){const _0x43bdff=_0x4ef7d9;return Array[_0x43bdff(0x188)](_0x30013a)?_0x30013a[_0x43bdff(0x136)](_0x5ae255=>_0x24cf9f(_0x5ae255)):!_0x30013a||typeof _0x30013a!=_0x43bdff(0x14a)?_0x30013a:Object[_0x43bdff(0x177)](Object['entries'](_0x30013a)[_0x43bdff(0x136)](([_0xf56b8b,_0x487b27])=>[_0xf56b8b,_0x24cf9f(_0x487b27)]));}function _0x5966ef(_0x30ecc2){const _0x430dc2=_0x4ef7d9;if(!_0x30ecc2[_0x430dc2(0x144)])throw Error(_0x430dc2(0x1be));return _0x30ecc2[_0x430dc2(0x144)];}function _0x28ba5d(_0x18f595,_0x5d5d5e,_0x47d395,_0x4c1518=_0x4ef7d9(0x137)){const _0x452f3f=_0x4ef7d9;if(_0x5d5d5e==null||_0x47d395==null){let _0x21102f=_0xf744cf(_0x18f595);return{'startOffset':_0x21102f,'endOffset':_0x21102f};}let _0x5e7814=Math['min'](_0x5d5d5e,_0x47d395),_0x2392ca=Math[_0x452f3f(0x10a)](_0x5d5d5e,_0x47d395),_0x4faaf3=_0x94d82b(_0x18f595,_0x5e7814,_0x2392ca);return _0x5e7814===_0x2392ca?_0x4c1518==='insert-new'?{'startOffset':_0x5e7814,'endOffset':_0x2392ca}:_0x373a73(_0x18f595,_0x5e7814,_0x4faaf3):_0x231b6e(_0x18f595,_0x5e7814,_0x2392ca,_0x4faaf3);}function _0x373a73(_0x591e15,_0x1a1eaf,_0x2fc3cd){const _0x12d852=_0x4ef7d9;let _0x595f4a=_0xd617f(_0x591e15,_0x1a1eaf);if(_0x595f4a){let _0x3e67ac=_0x3c7464(_0x591e15,_0x595f4a,_0x2fc3cd);if(_0x3e67ac<_0x595f4a[_0x12d852(0x173)])return{'startOffset':_0x3e67ac,'endOffset':_0x2fc3cd?Math[_0x12d852(0x108)](_0x595f4a[_0x12d852(0x173)]+0x1,_0x2fc3cd[_0x12d852(0x163)]):_0x595f4a[_0x12d852(0x173)]+0x1};}let _0x1c1f11=_0x1a1eaf===0x0&&_0x591e15[_0x12d852(0x1c0)][0x0]===_0x16fbe0[_0x12d852(0x1bf)][_0x12d852(0x147)]?0x1:_0x1a1eaf;return{'startOffset':_0x1c1f11,'endOffset':_0x1c1f11};}function _0xf744cf(_0x259a25){const _0x5d1fb0=_0x4ef7d9;return _0x259a25[_0x5d1fb0(0x1c0)][_0x5d1fb0(0x195)](_0x16fbe0[_0x5d1fb0(0x1bf)][_0x5d1fb0(0x18d)])?Math[_0x5d1fb0(0x10a)](0x0,_0x259a25[_0x5d1fb0(0x1c0)][_0x5d1fb0(0x1bc)]-0x1):_0x259a25[_0x5d1fb0(0x1c0)][_0x5d1fb0(0x1bc)];}function _0xa60ef0(_0x1e9b9d,_0x3b6c9a,_0x443126){const _0x33b90e=_0x4ef7d9;var _0x466337;let _0x503736=Math['min'](_0x3b6c9a,_0x443126),_0x28bd15=Math['max'](_0x3b6c9a,_0x443126);return!!((_0x466337=_0x1e9b9d['tables'])!=null&&_0x466337[_0x33b90e(0x139)](_0x2cc048=>_0x503736>_0x2cc048[_0x33b90e(0x173)]&&_0x503736<_0x2cc048[_0x33b90e(0x1b3)]||_0x28bd15>_0x2cc048['startIndex']&&_0x28bd15<_0x2cc048[_0x33b90e(0x1b3)]||_0x503736<=_0x2cc048[_0x33b90e(0x173)]&&_0x28bd15>=_0x2cc048[_0x33b90e(0x1b3)]));}function _0x231b6e(_0x1abc7f,_0x35a8c8,_0xa8aecd,_0x32909b){const _0x3e858d=_0x4ef7d9;let _0x1bc705=[..._0x1abc7f[_0x3e858d(0x135)]??[]][_0x3e858d(0x124)]((_0x1f1f04,_0x37a7e8)=>_0x1f1f04[_0x3e858d(0x173)]-_0x37a7e8[_0x3e858d(0x173)]),_0x56109c=(0x0,_0x16fbe0['getParagraphContentStartOffsets'])(_0x1abc7f),_0x2a4c2e=_0x1bc705[_0x3e858d(0x18c)](_0x37fc79=>_0x3c7464(_0x1abc7f,_0x37fc79,_0x32909b,_0x56109c)<=_0x35a8c8&&_0x35a8c8<=_0x37fc79[_0x3e858d(0x173)]),_0x3156a9=_0x1bc705[_0x3e858d(0x18c)](_0x2b8a24=>_0x2b8a24[_0x3e858d(0x173)]>=_0xa8aecd-0x1)??_0x1bc705[_0x1bc705[_0x3e858d(0x1bc)]-0x1];return{'startOffset':_0x2a4c2e?_0x3c7464(_0x1abc7f,_0x2a4c2e,_0x32909b,_0x56109c):_0x35a8c8,'endOffset':_0x3156a9?_0x4e2b36(_0x3156a9,_0x32909b):_0xa8aecd};}function _0xd617f(_0x3c2340,_0x41ff81){const _0x19bf7c=_0x4ef7d9;let _0xb1e790=[..._0x3c2340[_0x19bf7c(0x135)]??[]][_0x19bf7c(0x124)]((_0x14821a,_0x1d5ecf)=>_0x14821a[_0x19bf7c(0x173)]-_0x1d5ecf[_0x19bf7c(0x173)]),_0x37fd31=(0x0,_0x16fbe0[_0x19bf7c(0x1a1)])(_0x3c2340);return _0xb1e790[_0x19bf7c(0x18c)](_0x473b50=>(_0x37fd31[_0x19bf7c(0x1b1)](_0x473b50[_0x19bf7c(0x173)])??0x0)<=_0x41ff81&&_0x41ff81<=_0x473b50['startIndex']);}function _0x3c7464(_0xa9c817,_0x270895,_0x3e11ca,_0x4f9a9a){const _0x34a530=_0x4ef7d9;let _0x4dae26=(_0x4f9a9a==null?void 0x0:_0x4f9a9a[_0x34a530(0x1b1)](_0x270895['startIndex']))??(0x0,_0x16fbe0[_0x34a530(0x179)])(_0xa9c817,_0x270895);return _0x3e11ca?Math['max'](_0x4dae26,_0x3e11ca[_0x34a530(0x1dc)]):_0x4dae26;}function _0x4e2b36(_0x23ce5f,_0x318224){const _0x15d611=_0x4ef7d9;let _0x5caee6=_0x23ce5f[_0x15d611(0x173)]+0x1;return _0x318224?Math[_0x15d611(0x108)](_0x5caee6,_0x318224[_0x15d611(0x163)]):_0x5caee6;}function _0x94d82b(_0xd51f04,_0x1834c6,_0x3fd9bb){const _0x18117d=_0x4ef7d9;let _0x4a2d5a=_0x285e1c(_0xd51f04,_0x1834c6),_0x238975=_0x285e1c(_0xd51f04,_0x1834c6===_0x3fd9bb?_0x3fd9bb:Math[_0x18117d(0x10a)](_0x1834c6,_0x3fd9bb-0x1));if(_0x4a2d5a||_0x238975){if(!_0x4a2d5a||!_0x238975||_0x4a2d5a[_0x18117d(0x16b)]!==_0x238975[_0x18117d(0x16b)]||_0x4a2d5a[_0x18117d(0x15c)]!==_0x238975[_0x18117d(0x15c)])throw new _0x58a179();return _0x4a2d5a;}}function _0x285e1c(_0x8a5b9c,_0x46c83c){const _0x4e16d2=_0x4ef7d9;let _0x13599b=_0x8a5b9c[_0x4e16d2(0x1c0)],_0xc13fcb=-0x1;for(let _0x3a6899=Math[_0x4e16d2(0x108)](_0x46c83c,_0x13599b['length']-0x1);_0x3a6899>=0x0;_0x3a6899--){let _0x3af69c=_0x13599b[_0x3a6899];if(_0x3af69c===_0x16fbe0[_0x4e16d2(0x1bf)][_0x4e16d2(0x1b9)])return;if(_0x3af69c===_0x16fbe0[_0x4e16d2(0x1bf)][_0x4e16d2(0x185)]){_0xc13fcb=_0x3a6899;break;}}if(_0xc13fcb<0x0)return;let _0x5260a9=_0x13599b['indexOf'](_0x16fbe0[_0x4e16d2(0x1bf)]['TABLE_CELL_END'],_0xc13fcb+0x1);if(!(_0x5260a9<0x0||_0x46c83c<_0xc13fcb+0x1||_0x46c83c>_0x5260a9-0x1))return{'startOffset':_0xc13fcb+0x1,'endOffset':Math[_0x4e16d2(0x10a)](_0xc13fcb+0x1,_0x5260a9-0x1),'startTokenOffset':_0xc13fcb,'endTokenOffset':_0x5260a9};}function _0x245833(_0x4e6634){const _0x18d7d2=_0x4ef7d9;return(0x0,_0x16fbe0[_0x18d7d2(0x194)])(_0x4e6634)[_0x18d7d2(0x163)]-0x1;}function _0x2dc747(_0x476e7b,_0x19b2bc,_0x55137b,_0x15e19d){const _0x3980e5=_0x4ef7d9;let _0x4754e6=_0x245833(_0x19b2bc),_0x202e1b=(_0x476e7b['paragraphs']??[])['find'](_0x557f5f=>_0x557f5f[_0x3980e5(0x173)]===_0x4754e6+0x1);if(!_0x202e1b||_0x15e19d!=null&&_0x202e1b[_0x3980e5(0x173)]!==_0x15e19d||_0x55137b!=null&&(_0x55137b<_0x4754e6||_0x55137b>_0x202e1b[_0x3980e5(0x173)]+0x1)||_0x476e7b['dataStream'][_0x202e1b[_0x3980e5(0x173)]]!==_0x16fbe0[_0x3980e5(0x1bf)][_0x3980e5(0x147)])return null;let _0x1e2ce3=(0x0,_0x16fbe0[_0x3980e5(0x179)])(_0x476e7b,_0x202e1b),_0x50f6d7=_0x476e7b['dataStream'][_0x3980e5(0x183)](_0x1e2ce3,_0x202e1b[_0x3980e5(0x173)]);return Array[_0x3980e5(0x152)](_0x50f6d7)['every'](_0x3d8240=>_0x3d8240===_0x16fbe0[_0x3980e5(0x1bf)][_0x3980e5(0x114)])?{'paragraph':_0x202e1b,'endTokenOffset':_0x4754e6}:null;}function _0x46f1cd(_0x51763c,_0x562d11){const _0x2b5da4=_0x4ef7d9;var _0x87c8b3;let _0x500e66=_0x245833(_0x562d11),_0x10cc5a=_0x51763c[_0x2b5da4(0x1c0)][_0x500e66+0x1];(_0x10cc5a===_0x16fbe0[_0x2b5da4(0x1bf)][_0x2b5da4(0x18d)]||_0x10cc5a===void 0x0)&&_0x564ef8(_0x51763c,_0x500e66+0x1,_0x16fbe0[_0x2b5da4(0x1bf)]['PARAGRAPH'],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x16fbe0[_0x2b5da4(0x130)])(new Set((_0x87c8b3=_0x51763c['paragraphs'])==null?void 0x0:_0x87c8b3['map'](_0x385872=>_0x385872[_0x2b5da4(0x120)])))}]});}function _0x564ef8(_0x1c2271,_0x500b24,_0x23be3b,_0x462110={}){const _0x2ae59d=_0x4ef7d9;var _0x2bd0ce,_0x30b764;_0x23be3b&&(_0x1c2271[_0x2ae59d(0x1c0)]=''+_0x1c2271[_0x2ae59d(0x1c0)][_0x2ae59d(0x183)](0x0,_0x500b24)+_0x23be3b+_0x1c2271[_0x2ae59d(0x1c0)][_0x2ae59d(0x183)](_0x500b24),_0xc7a4d9(_0x1c2271,_0x500b24,_0x23be3b[_0x2ae59d(0x1bc)]),(_0x2bd0ce=_0x462110[_0x2ae59d(0x135)])!=null&&_0x2bd0ce[_0x2ae59d(0x1bc)]&&(_0x1c2271['paragraphs']=[..._0x1c2271['paragraphs']??[],..._0x462110[_0x2ae59d(0x135)][_0x2ae59d(0x136)](_0x51b8ad=>({..._0x51b8ad,'startIndex':_0x51b8ad['startIndex']+_0x500b24}))][_0x2ae59d(0x124)]((_0x4ccd8b,_0x3fea22)=>_0x4ccd8b[_0x2ae59d(0x173)]-_0x3fea22['startIndex'])),(_0x30b764=_0x462110['blockRanges'])!=null&&_0x30b764[_0x2ae59d(0x1bc)]&&(_0x1c2271['blockRanges']=[..._0x1c2271['blockRanges']??[],..._0x462110[_0x2ae59d(0x11e)][_0x2ae59d(0x136)](_0x1b9967=>({..._0x1b9967,'startIndex':_0x1b9967[_0x2ae59d(0x173)]+_0x500b24,'endIndex':_0x1b9967[_0x2ae59d(0x1b3)]+_0x500b24}))][_0x2ae59d(0x124)]((_0x2ae251,_0x3cf811)=>_0x2ae251[_0x2ae59d(0x173)]-_0x3cf811[_0x2ae59d(0x173)])));}function _0x1083af(_0x182fd4,_0x5f29ca,_0x5e2314){const _0x56ad35=_0x4ef7d9;let _0x56c8bc=_0x5e2314-_0x5f29ca;_0x182fd4[_0x56ad35(0x1c0)]=''+_0x182fd4[_0x56ad35(0x1c0)][_0x56ad35(0x183)](0x0,_0x5f29ca)+_0x182fd4[_0x56ad35(0x1c0)][_0x56ad35(0x183)](_0x5e2314),_0xb53ba1(_0x182fd4,_0x5f29ca,_0x56c8bc);}function _0xc7a4d9(_0x3f1b86,_0x7fd89b,_0x1fd88a){const _0x42ddbd=_0x4ef7d9;_0x3f1b86[_0x42ddbd(0x135)]=_0xf385be(_0x3f1b86[_0x42ddbd(0x135)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x105)]=_0xf385be(_0x3f1b86[_0x42ddbd(0x105)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x1b5)]=_0xf385be(_0x3f1b86['customBlocks'],_0x7fd89b,_0x1fd88a),_0x3f1b86['textRuns']=_0x2ef468(_0x3f1b86[_0x42ddbd(0x1c5)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x10f)]=_0xd3b22f(_0x3f1b86[_0x42ddbd(0x10f)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x1d2)]=_0x409a60(_0x3f1b86['columnGroups'],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x19b)]=_0x409a60(_0x3f1b86[_0x42ddbd(0x19b)],_0x7fd89b,_0x1fd88a),_0x3f1b86['customDecorations']=_0x409a60(_0x3f1b86[_0x42ddbd(0x16a)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x11e)]=_0x409a60(_0x3f1b86[_0x42ddbd(0x11e)],_0x7fd89b,_0x1fd88a);}function _0xb53ba1(_0x233921,_0x4960d7,_0x4f784f){const _0x27611a=_0x4ef7d9;var _0x49a397,_0x1d97e6;_0x233921[_0x27611a(0x135)]=_0x17bb5b(_0x233921['paragraphs'],_0x4960d7,_0x4f784f),_0x233921['sectionBreaks']=_0x17bb5b(_0x233921[_0x27611a(0x105)],_0x4960d7,_0x4f784f),_0x233921['customBlocks']=_0x17bb5b(_0x233921[_0x27611a(0x1b5)],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x1c5)]=(_0x49a397=_0x47e853((_0x1d97e6=_0x233921[_0x27611a(0x1c5)])==null?void 0x0:_0x1d97e6[_0x27611a(0x136)](_0x1c017f=>({..._0x1c017f,'startIndex':_0x1c017f['st'],'endIndex':_0x1c017f['ed']})),_0x4960d7,_0x4f784f))==null?void 0x0:_0x49a397[_0x27611a(0x136)](_0x3a8513=>{let {startIndex:_0xcc8e84,endIndex:_0x2aed07,..._0x346fe1}=_0x3a8513;return{..._0x346fe1,'st':_0xcc8e84,'ed':_0x2aed07};}),_0x233921[_0x27611a(0x10f)]=_0x47e853(_0x233921['tables'],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x1d2)]=_0x4d6fda(_0x233921[_0x27611a(0x1d2)],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x19b)]=_0x4d6fda(_0x233921['customRanges'],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x16a)]=_0x4d6fda(_0x233921[_0x27611a(0x16a)],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x11e)]=_0x4d6fda(_0x233921[_0x27611a(0x11e)],_0x4960d7,_0x4f784f);}function _0xf385be(_0x2f7677,_0x2a8780,_0x133c4a){const _0x8d728=_0x4ef7d9;return _0x2f7677==null?void 0x0:_0x2f7677[_0x8d728(0x136)](_0x50f7fc=>_0x50f7fc['startIndex']>=_0x2a8780?{..._0x50f7fc,'startIndex':_0x50f7fc['startIndex']+_0x133c4a}:_0x50f7fc);}function _0x17bb5b(_0x1919b2,_0x2fa72e,_0x2b764c){const _0x49368d=_0x4ef7d9;let _0x2339a8=_0x2fa72e+_0x2b764c;return _0x1919b2==null?void 0x0:_0x1919b2['map'](_0x451e94=>_0x451e94[_0x49368d(0x173)]>=_0x2fa72e&&_0x451e94['startIndex']<_0x2339a8?null:_0x451e94[_0x49368d(0x173)]>=_0x2339a8?{..._0x451e94,'startIndex':_0x451e94[_0x49368d(0x173)]-_0x2b764c}:_0x451e94)['filter'](_0xd199b8=>_0xd199b8!=null);}function _0x2ef468(_0x39fcfd,_0x22a14f,_0x26173b){const _0x56b70c=_0x4ef7d9;return _0x39fcfd==null?void 0x0:_0x39fcfd[_0x56b70c(0x136)](_0x21b167=>_0x21b167['st']>=_0x22a14f?{..._0x21b167,'st':_0x21b167['st']+_0x26173b,'ed':_0x21b167['ed']+_0x26173b}:_0x21b167['ed']>_0x22a14f?{..._0x21b167,'ed':_0x21b167['ed']+_0x26173b}:_0x21b167);}function _0x409a60(_0x3ae033,_0x15652a,_0x3ec3db){const _0x4fb3d3=_0x4ef7d9;return _0x3ae033==null?void 0x0:_0x3ae033[_0x4fb3d3(0x136)](_0x1f5953=>(0x0,_0x16fbe0[_0x4fb3d3(0x181)])(_0x1f5953,_0x15652a,_0x3ec3db));}function _0xd3b22f(_0x35ac2c,_0x1efac8,_0x6e0a45){const _0x2109cf=_0x4ef7d9;return _0x35ac2c==null?void 0x0:_0x35ac2c[_0x2109cf(0x136)](_0x555218=>(0x0,_0x16fbe0[_0x2109cf(0x106)])(_0x555218,_0x1efac8,_0x6e0a45));}function _0x4d6fda(_0x379822,_0x12160c,_0x169c60){const _0x416546=_0x4ef7d9;return _0x379822==null?void 0x0:_0x379822[_0x416546(0x136)](_0x67910b=>(0x0,_0x16fbe0[_0x416546(0x122)])(_0x67910b,_0x12160c,_0x169c60))[_0x416546(0x1b0)](_0x3ebe27=>_0x3ebe27!=null);}function _0x47e853(_0x43ab10,_0x5ca87d,_0x2e0b2e){const _0x149eab=_0x4ef7d9;return _0x43ab10==null?void 0x0:_0x43ab10[_0x149eab(0x136)](_0x5c6d6f=>(0x0,_0x16fbe0[_0x149eab(0x180)])(_0x5c6d6f,_0x5ca87d,_0x2e0b2e))[_0x149eab(0x1b0)](_0x2fbfd3=>_0x2fbfd3!=null);}let _0x33c268={'id':_0x4ef7d9(0x13b),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':_0x5d41e4=>{const _0x570202=_0x4ef7d9;var _0x267a04;if((0x0,_0x95c02f['isHeaderFooterSelection'])(_0x5ea128(_0x5d41e4)))return!0x1;let _0x1c73dc=(0x0,_0x95c02f[_0x570202(0x169)])(_0x5d41e4);if(_0x1c73dc)return _0x5d41e4[_0x570202(0x1b1)](_0x16fbe0[_0x570202(0x1d6)])[_0x570202(0x1cb)](_0x5728c8['id'],{'startOffset':_0x1c73dc['startOffset'],'endOffset':_0x1c73dc['endOffset'],'insertionMode':'insert-new','unitId':_0x1c73dc[_0x570202(0x12d)]});let _0x1402f6=_0x2a6f93(_0x5d41e4);if(!_0x1402f6)return!0x1;let _0x131a04=(_0x267a04=_0x5d41e4[_0x570202(0x1b1)](_0x16fbe0['IUniverInstanceService'])[_0x570202(0x1bb)](_0x16fbe0['UniverInstanceType']['UNIVER_DOC']))==null?void 0x0:_0x267a04[_0x570202(0x186)](),_0x1808f9=_0x131a04?(0x0,_0x16fbe0['getParagraphFollowingBlockOffset'])(_0x131a04,_0x1402f6):_0x1402f6[_0x570202(0x173)]+0x1;return _0x5d41e4[_0x570202(0x1b1)](_0x16fbe0[_0x570202(0x1d6)])[_0x570202(0x1cb)](_0x5728c8['id'],{'startOffset':_0x1808f9,'endOffset':_0x1808f9});}},_0x166a89={'id':'docs-code.command.consume-boundary-delete','type':_0x16fbe0['CommandType']['COMMAND'],'handler':()=>!0x0},_0x5728c8={'id':_0x4ef7d9(0x15b),'type':_0x16fbe0[_0x4ef7d9(0x12f)]['COMMAND'],'handler':(_0x3b8dd5,_0x3b73ac)=>{const _0x305927=_0x4ef7d9;let _0x270965=_0x2c04e9(_0x3b8dd5,_0x3b73ac==null?void 0x0:_0x3b73ac['unitId']);if(!_0x270965)return!0x1;let _0x236007=_0x5ea128(_0x3b8dd5);if((0x0,_0x95c02f['isHeaderFooterSelection'])(_0x236007))return!0x1;let _0x322cc0=_0x270965['model'][_0x305927(0x142)](_0x270965[_0x305927(0x12d)]),_0x8a7520=_0x68c13f(_0x3b73ac,_0x236007),_0x4db004=_0x585e05(_0x270965[_0x305927(0x17e)],_0x8a7520);if(_0x4db004){if(_0x4db004[_0x305927(0x175)]!==_0x16fbe0[_0x305927(0x1d9)]['CODE'])return!0x1;let _0x570cc7=_0x34a7f7({'blockId':_0x4db004[_0x305927(0x133)],'documentData':_0x270965[_0x305927(0x17e)],'metadata':_0x322cc0});if(!_0x570cc7)return!0x1;let _0x2f16a4=_0x32dd29(_0x270965['commandService'],_0x270965['selectionManager'],_0x270965[_0x305927(0x12d)],_0x270965[_0x305927(0x17e)],_0x570cc7[_0x305927(0x19c)],_0x5728c8['id'],_0x570cc7[_0x305927(0x13d)]);return _0x2f16a4&&_0x570cc7[_0x305927(0x1a5)]&&_0x270965[_0x305927(0x1d5)][_0x305927(0x191)](_0x270965[_0x305927(0x12d)],_0x570cc7[_0x305927(0x1a5)]),_0x2f16a4;}let _0x5a549f=(_0x3b73ac==null?void 0x0:_0x3b73ac[_0x305927(0x133)])??(0x0,_0x16fbe0['generateRandomId'])(0x6),_0x16f39f;try{_0x16f39f=_0x5dbf76({'blockId':_0x5a549f,'config':_0x3b73ac==null?void 0x0:_0x3b73ac[_0x305927(0x1d4)],'documentData':_0x270965[_0x305927(0x17e)],'endOffset':_0x8a7520==null?void 0x0:_0x8a7520[_0x305927(0x163)],'insertionMode':_0x3b73ac==null?void 0x0:_0x3b73ac[_0x305927(0x14b)],'metadata':_0x322cc0,'startOffset':_0x8a7520==null?void 0x0:_0x8a7520[_0x305927(0x1dc)]});}catch(_0x58005e){if(_0x58005e instanceof _0x58a179)return!0x1;throw _0x58005e;}let _0x3be11a=_0x32dd29(_0x270965[_0x305927(0x126)],_0x270965[_0x305927(0x1c6)],_0x270965[_0x305927(0x12d)],_0x270965['previousDocumentData'],_0x16f39f[_0x305927(0x19c)],_0x5728c8['id'],_0x16f39f[_0x305927(0x13d)]);return _0x3be11a&&_0x16f39f[_0x305927(0x1a5)]&&_0x270965[_0x305927(0x1d5)]['deserialize'](_0x270965[_0x305927(0x12d)],_0x16f39f[_0x305927(0x1a5)]),_0x3be11a;}},_0x22fab1={'id':'docs-code.command.update','type':_0x16fbe0['CommandType'][_0x4ef7d9(0x197)],'handler':(_0x251fb8,_0x3dac1c)=>{const _0x19776b=_0x4ef7d9;if(!_0x3dac1c)return!0x1;let _0x2efc4a=_0x2c04e9(_0x251fb8,_0x3dac1c[_0x19776b(0x12d)]);if(!_0x2efc4a)return!0x1;let _0x4c88d4=_0x6829c0({'blockId':_0x3dac1c[_0x19776b(0x133)],'config':_0x3dac1c['config'],'documentData':_0x2efc4a[_0x19776b(0x17e)],'metadata':_0x2efc4a['model']['serialize'](_0x2efc4a[_0x19776b(0x12d)])});return _0x4c88d4[_0x19776b(0x1a5)]&&_0x2efc4a[_0x19776b(0x1d5)][_0x19776b(0x191)](_0x2efc4a[_0x19776b(0x12d)],_0x4c88d4[_0x19776b(0x1a5)]),!0x0;}},_0x24dd0d={'id':_0x4ef7d9(0x10d),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':(_0xc5abd5,_0x4eb3e9)=>_0x5cbdcf[_0x4ef7d9(0x151)](_0xc5abd5,_0x4eb3e9)},_0x5cbdcf={'id':'docs-code.command.unwrap','type':_0x16fbe0[_0x4ef7d9(0x12f)]['COMMAND'],'handler':(_0xd28a17,_0x5f0beb)=>{const _0x78bf10=_0x4ef7d9;if(!_0x5f0beb)return!0x1;let _0x3572b7=_0x2c04e9(_0xd28a17,_0x5f0beb==null?void 0x0:_0x5f0beb[_0x78bf10(0x12d)]);if(!_0x3572b7)return!0x1;let _0x581c3b=_0x34a7f7({'blockId':_0x5f0beb[_0x78bf10(0x133)],'documentData':_0x3572b7[_0x78bf10(0x17e)],'metadata':_0x3572b7[_0x78bf10(0x1d5)][_0x78bf10(0x142)](_0x3572b7[_0x78bf10(0x12d)])});if(!_0x581c3b)return!0x1;let _0x375910=_0x32dd29(_0x3572b7['commandService'],_0x3572b7[_0x78bf10(0x1c6)],_0x3572b7[_0x78bf10(0x12d)],_0x3572b7[_0x78bf10(0x17e)],_0x581c3b[_0x78bf10(0x19c)],_0x5cbdcf['id'],_0x581c3b[_0x78bf10(0x13d)]);return _0x375910&&_0x581c3b[_0x78bf10(0x1a5)]&&_0x3572b7[_0x78bf10(0x1d5)][_0x78bf10(0x191)](_0x3572b7['unitId'],_0x581c3b['nextMetadata']),_0x375910;}},_0x33bc70={'id':_0x4ef7d9(0x1a7),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':(_0x23dc64,_0x1e8063)=>{const _0x47f94d=_0x4ef7d9;if(!_0x1e8063)return!0x1;let _0x1f3052=_0x2c04e9(_0x23dc64,_0x1e8063==null?void 0x0:_0x1e8063['unitId']);if(!_0x1f3052)return!0x1;let _0x5782e8=_0x880375({'blockId':_0x1e8063[_0x47f94d(0x133)],'documentData':_0x1f3052['previousDocumentData'],'metadata':_0x1f3052[_0x47f94d(0x1d5)][_0x47f94d(0x142)](_0x1f3052[_0x47f94d(0x12d)])});if(!_0x5782e8)return!0x1;let _0x350d34=_0x32dd29(_0x1f3052[_0x47f94d(0x126)],_0x1f3052[_0x47f94d(0x1c6)],_0x1f3052[_0x47f94d(0x12d)],_0x1f3052[_0x47f94d(0x17e)],_0x5782e8['nextDocumentData'],_0x33bc70['id'],_0x5782e8[_0x47f94d(0x13d)]);return _0x350d34&&_0x5782e8['nextMetadata']&&_0x1f3052[_0x47f94d(0x1d5)][_0x47f94d(0x191)](_0x1f3052[_0x47f94d(0x12d)],_0x5782e8['nextMetadata']),_0x350d34;}},_0x5eb246={'id':'docs-code.command.cancel-empty-paragraph','type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':(_0x1c2214,_0xe5823e)=>{const _0x4b4ef5=_0x4ef7d9;var _0x29bbb5;let _0x4569f0=_0x2c04e9(_0x1c2214,_0xe5823e==null?void 0x0:_0xe5823e[_0x4b4ef5(0x12d)]);if(!_0x4569f0)return!0x1;let _0x138916=(_0xe5823e==null?void 0x0:_0xe5823e[_0x4b4ef5(0x13d)])??((_0x29bbb5=_0x5ea128(_0x1c2214))==null?void 0x0:_0x29bbb5[_0x4b4ef5(0x1dc)]);if(_0x138916==null)return!0x1;let _0x100e81=_0x110b53({'cursorOffset':_0x138916,'documentData':_0x4569f0[_0x4b4ef5(0x17e)],'paragraphStartIndex':_0xe5823e==null?void 0x0:_0xe5823e[_0x4b4ef5(0x10e)]});return _0x100e81?_0x32dd29(_0x4569f0[_0x4b4ef5(0x126)],_0x4569f0[_0x4b4ef5(0x1c6)],_0x4569f0['unitId'],_0x4569f0[_0x4b4ef5(0x17e)],_0x100e81[_0x4b4ef5(0x19c)],_0x5eb246['id'],_0x100e81['cursorOffset']):!0x1;}};function _0x2c04e9(_0x976a12,_0x5020c2){const _0x3f2fe4=_0x4ef7d9;let _0x3eb677=_0x976a12[_0x3f2fe4(0x1b1)](_0x16fbe0[_0x3f2fe4(0x1c2)]),_0x275009=_0x5020c2?_0x3eb677[_0x3f2fe4(0x198)](_0x5020c2,_0x16fbe0[_0x3f2fe4(0x13f)]['UNIVER_DOC']):_0x3eb677[_0x3f2fe4(0x1bb)](_0x16fbe0['UniverInstanceType'][_0x3f2fe4(0x155)]);return _0x275009?{'commandService':_0x976a12[_0x3f2fe4(0x1b1)](_0x16fbe0[_0x3f2fe4(0x1d6)]),'model':_0x976a12[_0x3f2fe4(0x1b1)](_0x14c27e),'previousDocumentData':_0x275009[_0x3f2fe4(0x116)](),'selectionManager':_0x976a12[_0x3f2fe4(0x1b1)](_0x95c02f['DocSelectionManagerService']),'unitId':_0x275009[_0x3f2fe4(0x1af)]()}:null;}function _0x5ea128(_0xed3fd8){const _0x3f6703=_0x4ef7d9;var _0x23bc1e;return(_0x23bc1e=_0xed3fd8[_0x3f6703(0x1b1)](_0x95c02f[_0x3f6703(0x165)])[_0x3f6703(0x1b7)]())==null?void 0x0:_0x23bc1e[0x0];}function _0x68c13f(_0xa8d009,_0x25b4da){const _0x1f3e4c=_0x4ef7d9;let _0x525934=(_0xa8d009==null?void 0x0:_0xa8d009['startOffset'])??(_0x25b4da==null?void 0x0:_0x25b4da[_0x1f3e4c(0x1dc)]),_0x1530ec=(_0xa8d009==null?void 0x0:_0xa8d009[_0x1f3e4c(0x163)])??(_0x25b4da==null?void 0x0:_0x25b4da[_0x1f3e4c(0x163)]);if(_0x525934!=null&&_0x1530ec!=null)return{'endOffset':Math[_0x1f3e4c(0x10a)](_0x525934,_0x1530ec),'startOffset':Math[_0x1f3e4c(0x108)](_0x525934,_0x1530ec)};}function _0x585e05(_0x3e5396,_0x16eaa9){const _0xe53235=_0x4ef7d9;var _0x3c6474;if(!_0x16eaa9)return;let _0x52f850=_0x411014(_0x16eaa9);return(_0x3c6474=_0x3e5396[_0xe53235(0x144)])==null||(_0x3c6474=_0x3c6474[_0xe53235(0x11e)])==null?void 0x0:_0x3c6474[_0xe53235(0x18c)](_0x2ec3bd=>{const _0x2b3e23=_0xe53235;let _0x106c19=(0x0,_0x16fbe0['getBlockRangeInterval'])(_0x2ec3bd);return _0x16eaa9[_0x2b3e23(0x1dc)]===_0x16eaa9[_0x2b3e23(0x163)]?(0x0,_0x16fbe0['containsInteriorInsertionOffset'])(_0x106c19,_0x52f850):(0x0,_0x16fbe0[_0x2b3e23(0x143)])(_0x106c19,_0x52f850);});}function _0x411014(_0x4f86b4){const _0x483f1e=_0x4ef7d9;return _0x4f86b4[_0x483f1e(0x1dc)]===_0x4f86b4[_0x483f1e(0x163)]?_0x4f86b4[_0x483f1e(0x1dc)]:_0x4f86b4[_0x483f1e(0x1dc)]+0x1;}function _0x2a6f93(_0x4a9fbc){const _0x3cef1e=_0x4ef7d9;let _0x1377e7=_0x5ea128(_0x4a9fbc);if(!_0x1377e7)return null;let _0x505a32=_0x4a9fbc[_0x3cef1e(0x1b1)](_0x16fbe0[_0x3cef1e(0x1c2)])[_0x3cef1e(0x1bb)](_0x16fbe0[_0x3cef1e(0x13f)]['UNIVER_DOC']),_0x435f4c=_0x505a32==null?void 0x0:_0x505a32[_0x3cef1e(0x186)]();return _0x435f4c?_0x16fbe0[_0x3cef1e(0x1ad)][_0x3cef1e(0x18e)][_0x3cef1e(0x129)](_0x1377e7,_0x435f4c[_0x3cef1e(0x135)]??[],_0x435f4c[_0x3cef1e(0x1c0)]??'')[0x0]??null:null;}function _0x2d7463(_0x2ee15f,_0x15402c){const _0x37b272=_0x4ef7d9;let _0x27a00c=_0x2ee15f[_0x37b272(0x144)],_0x417e80=_0x15402c['body'],_0x458ed5=(0x0,_0x16fbe0[_0x37b272(0x134)])(_0x27a00c,_0x417e80);return[_0x458ed5&&_0x417e80?_0xf93984(_0x417e80,_0x458ed5):null,_0x458ed5?null:_0x4adb6c(_0x27a00c,_0x417e80)][_0x37b272(0x1b0)](Boolean)['reduce']((_0x41c5bb,_0x7f063b)=>_0x16fbe0[_0x37b272(0x1ac)][_0x37b272(0x119)](_0x41c5bb,_0x7f063b),null);}function _0xf93984(_0x583ccf,_0x137e8b){const _0x15eff1=_0x4ef7d9;let _0x4627df=new _0x16fbe0[(_0x15eff1(0x1ca))]();return _0x4627df[_0x15eff1(0x16f)](_0x137e8b[_0x15eff1(0x12b)]),_0x137e8b[_0x15eff1(0x19a)]>0x0&&_0x4627df[_0x15eff1(0x18b)](_0x137e8b[_0x15eff1(0x19a)],(0x0,_0x16fbe0['getBodySliceForTextXAction'])(_0x583ccf,_0x137e8b[_0x15eff1(0x12b)],_0x137e8b[_0x15eff1(0x12b)]+_0x137e8b[_0x15eff1(0x19a)],!0x1)),_0x137e8b[_0x15eff1(0x1a6)]>0x0&&_0x4627df[_0x15eff1(0x171)](_0x137e8b[_0x15eff1(0x1a6)]),_0x16fbe0['JSONX'][_0x15eff1(0x161)]()[_0x15eff1(0x117)](_0x4627df[_0x15eff1(0x142)](),['body']);}function _0x4adb6c(_0x4483a3,_0x27c98e){const _0x1409fd=_0x4ef7d9;let _0x54803b=[],_0x5a76fa=_0x4483a3?_0x1d9254(_0x4483a3):void 0x0,_0x42116e=_0x27c98e?_0x1d9254(_0x27c98e):void 0x0;for(let _0x311228 of _0x227445)_0x224f11(_0x16fbe0[_0x1409fd(0x1ac)][_0x1409fd(0x161)](),[_0x1409fd(0x144),_0x311228],_0x5a76fa==null?void 0x0:_0x5a76fa[_0x311228],_0x42116e==null?void 0x0:_0x42116e[_0x311228],_0x54803b);return _0x54803b[_0x1409fd(0x153)]((_0xc8aade,_0x18af09)=>_0x16fbe0[_0x1409fd(0x1ac)][_0x1409fd(0x119)](_0xc8aade,_0x18af09),null);}let _0x227445=[_0x4ef7d9(0x135),_0x4ef7d9(0x105),_0x4ef7d9(0x10f),_0x4ef7d9(0x1d2),'blockRanges',_0x4ef7d9(0x1b5),_0x4ef7d9(0x19b),_0x4ef7d9(0x16a),'textRuns'];function _0x1d9254(_0x4eabf4){return _0x4eabf4;}function _0x224f11(_0x3d81ba,_0xe86c11,_0x4be3b5,_0x5ebfb1,_0x19a270){const _0x4f461a=_0x4ef7d9;if(!_0x5258bf(_0x4be3b5,_0x5ebfb1)){if(_0x4be3b5==null){_0x19a270[_0x4f461a(0x1da)](_0x3d81ba['insertOp'](_0xe86c11,_0x5ebfb1));return;}if(_0x5ebfb1==null){_0x19a270[_0x4f461a(0x1da)](_0x3d81ba[_0x4f461a(0x1ba)](_0xe86c11,_0x4be3b5));return;}if(Array['isArray'](_0x4be3b5)&&Array['isArray'](_0x5ebfb1)){_0x3a71ff(_0x3d81ba,_0xe86c11,_0x4be3b5,_0x5ebfb1,_0x19a270);return;}if(_0x3982b6(_0x4be3b5)&&_0x3982b6(_0x5ebfb1)){new Set([...Object['keys'](_0x4be3b5),...Object[_0x4f461a(0x167)](_0x5ebfb1)])[_0x4f461a(0x1aa)](_0xa2541d=>{_0x224f11(_0x3d81ba,[..._0xe86c11,_0xa2541d],_0x4be3b5[_0xa2541d],_0x5ebfb1[_0xa2541d],_0x19a270);});return;}_0x19a270[_0x4f461a(0x1da)](_0x3d81ba[_0x4f461a(0x13a)](_0xe86c11,_0x4be3b5,_0x5ebfb1));}}function _0x3a71ff(_0x290f31,_0x27758c,_0x3e0902,_0x3a48df,_0x581230){const _0x270cf4=_0x4ef7d9;if(_0x3e0902[_0x270cf4(0x1bc)]===_0x3a48df['length']){_0x3e0902[_0x270cf4(0x1aa)]((_0x16a7da,_0x2b5276)=>_0x224f11(_0x290f31,[..._0x27758c,_0x2b5276],_0x16a7da,_0x3a48df[_0x2b5276],_0x581230));return;}let _0x280a32=0x0;for(;_0x280a32<_0x3e0902[_0x270cf4(0x1bc)]&&_0x280a32<_0x3a48df[_0x270cf4(0x1bc)]&&_0x5258bf(_0x3e0902[_0x280a32],_0x3a48df[_0x280a32]);)_0x280a32++;let _0x16475f=_0x3e0902[_0x270cf4(0x1bc)]-0x1,_0x1bd54e=_0x3a48df['length']-0x1;for(;_0x16475f>=_0x280a32&&_0x1bd54e>=_0x280a32&&_0x5258bf(_0x3e0902[_0x16475f],_0x3a48df[_0x1bd54e]);)_0x16475f--,_0x1bd54e--;for(let _0xd8792e=_0x16475f;_0xd8792e>=_0x280a32;_0xd8792e--)_0x581230[_0x270cf4(0x1da)](_0x290f31[_0x270cf4(0x1ba)]([..._0x27758c,_0xd8792e],_0x3e0902[_0xd8792e]));for(let _0x210255=_0x280a32;_0x210255<=_0x1bd54e;_0x210255++)_0x581230[_0x270cf4(0x1da)](_0x290f31['insertOp']([..._0x27758c,_0x210255],_0x3a48df[_0x210255]));}function _0x3982b6(_0xb29b49){const _0x3b58b7=_0x4ef7d9;return typeof _0xb29b49==_0x3b58b7(0x14a)&&!!_0xb29b49&&!Array[_0x3b58b7(0x188)](_0xb29b49);}function _0x5258bf(_0x2125f5,_0x229b12){const _0x4c02fc=_0x4ef7d9;return JSON[_0x4c02fc(0x123)](_0x2125f5)===JSON[_0x4c02fc(0x123)](_0x229b12);}function _0x32dd29(_0x191d22,_0x4fa9f4,_0x158d18,_0x725086,_0x576e6b,_0x4ffc81,_0x3835e3){const _0x4742f7=_0x4ef7d9;let _0x2fa1ba=_0x2d7463(_0x725086,_0x576e6b);return _0x2fa1ba?!!_0x191d22[_0x4742f7(0x1cb)](_0x95c02f['RichTextEditingMutation']['id'],{'unitId':_0x158d18,'actions':_0x2fa1ba,'textRanges':[{'startOffset':_0x3835e3,'endOffset':_0x3835e3,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x4ffc81}):(_0x4fa9f4['replaceDocRanges']([{'startOffset':_0x3835e3,'endOffset':_0x3835e3}],{'unitId':_0x158d18,'subUnitId':_0x158d18},!0x1),!0x0);}let _0x8cc1f2='DOC_CODE_PLUGIN';var _0x4becf7=_0x4ef7d9(0x196),_0x5b535b=_0x4ef7d9(0x17f);let _0x372beb={};function _0x2270af(_0x5ecde0,_0x5a03b3){return function(_0x1d55e0,_0x1a9721){_0x5a03b3(_0x1d55e0,_0x1a9721,_0x5ecde0);};}function _0x14bd8b(_0x19bd8b,_0x19a1ec,_0x28ce99,_0x503977){const _0xecc298=_0x4ef7d9;var _0x115166=arguments[_0xecc298(0x1bc)],_0x442b5b=_0x115166<0x3?_0x19a1ec:_0x503977===null?_0x503977=Object[_0xecc298(0x1d3)](_0x19a1ec,_0x28ce99):_0x503977,_0x2ad9a8;if(typeof Reflect==_0xecc298(0x14a)&&typeof Reflect[_0xecc298(0x10c)]==_0xecc298(0x1d0))_0x442b5b=Reflect[_0xecc298(0x10c)](_0x19bd8b,_0x19a1ec,_0x28ce99,_0x503977);else{for(var _0x4f8431=_0x19bd8b['length']-0x1;_0x4f8431>=0x0;_0x4f8431--)(_0x2ad9a8=_0x19bd8b[_0x4f8431])&&(_0x442b5b=(_0x115166<0x3?_0x2ad9a8(_0x442b5b):_0x115166>0x3?_0x2ad9a8(_0x19a1ec,_0x28ce99,_0x442b5b):_0x2ad9a8(_0x19a1ec,_0x28ce99))||_0x442b5b);}return _0x115166>0x3&&_0x442b5b&&Object['defineProperty'](_0x19a1ec,_0x28ce99,_0x442b5b),_0x442b5b;}let _0x2030f7=class extends _0x16fbe0['Disposable']{constructor(_0x3e336f,_0x35e23c){const _0x27b308=_0x4ef7d9;super(),this['_resourceManagerService']=_0x3e336f,this[_0x27b308(0x17d)]=_0x35e23c,this[_0x27b308(0x160)]();}[_0x4ef7d9(0x160)](){const _0x13d23e=_0x4ef7d9;this[_0x13d23e(0x193)](this[_0x13d23e(0x1d7)]['registerPluginResource']({'pluginName':_0x8cc1f2,'businesses':[_0x16fbe0[_0x13d23e(0x13f)][_0x13d23e(0x155)]],'toJson':_0x3d60eb=>JSON[_0x13d23e(0x123)](this['_docsCodeModel']['serialize'](_0x3d60eb)),'parseJson':_0x52d58e=>_0x1b1769(JSON[_0x13d23e(0x11c)](_0x52d58e)),'onLoad':(_0x8ad630,_0x242802)=>this[_0x13d23e(0x17d)][_0x13d23e(0x191)](_0x8ad630,_0x242802),'onUnLoad':_0x1c7e8d=>this['_docsCodeModel'][_0x13d23e(0x154)](_0x1c7e8d)}));}};_0x2030f7=_0x14bd8b([_0x2270af(0x0,_0x16fbe0[_0x4ef7d9(0x19d)]),_0x2270af(0x1,(0x0,_0x16fbe0[_0x4ef7d9(0x16c)])(_0x14c27e))],_0x2030f7);let _0x34c1c6=class extends _0x16fbe0[_0x4ef7d9(0x157)]{constructor(_0x411e5e=_0x372beb,_0x18ef46,_0x1b90ae,_0x31abee){const _0x24bb99=_0x4ef7d9;super(),this['_config']=_0x411e5e,this[_0x24bb99(0x15e)]=_0x18ef46,this[_0x24bb99(0x15a)]=_0x1b90ae,this['_configService']=_0x31abee;let {..._0x181914}=(0x0,_0x16fbe0['merge'])({},_0x372beb,this[_0x24bb99(0x1cd)]);this[_0x24bb99(0x146)][_0x24bb99(0x121)](_0x24bb99(0x113),_0x181914);}[_0x4ef7d9(0x16d)](){const _0x495145=_0x4ef7d9;this['_injector'][_0x495145(0x15f)]([_0x14c27e]),this[_0x495145(0x15e)]['add']([_0x2030f7]),this[_0x495145(0x15e)][_0x495145(0x1b1)](_0x14c27e),this[_0x495145(0x15e)][_0x495145(0x1b1)](_0x2030f7),[_0x5728c8,_0x33c268,_0x22fab1,_0x5cbdcf,_0x33bc70,_0x24dd0d,_0x5eb246,_0x166a89,_0x2bc0c9,_0x12b758][_0x495145(0x1aa)](_0x5643f3=>this[_0x495145(0x193)](this[_0x495145(0x15a)][_0x495145(0x16e)](_0x5643f3)));}};_0x5a0992(_0x34c1c6,_0x4ef7d9(0x156),_0x8cc1f2),_0x5a0992(_0x34c1c6,_0x4ef7d9(0x18f),_0x4becf7),_0x5a0992(_0x34c1c6,_0x4ef7d9(0x1cc),_0x5b535b),_0x5a0992(_0x34c1c6,_0x4ef7d9(0x149),_0x16fbe0[_0x4ef7d9(0x13f)][_0x4ef7d9(0x155)]),_0x34c1c6=_0x14bd8b([(0x0,_0x16fbe0['DependentOn'])(_0x325972[_0x4ef7d9(0x178)],_0x95c02f[_0x4ef7d9(0x19e)]),_0x2270af(0x1,(0x0,_0x16fbe0[_0x4ef7d9(0x16c)])(_0x16fbe0[_0x4ef7d9(0x11d)])),_0x2270af(0x2,_0x16fbe0[_0x4ef7d9(0x1d6)]),_0x2270af(0x3,_0x16fbe0['IConfigService'])],_0x34c1c6),_0x2ac6e0[_0x4ef7d9(0x14f)]=_0x8cc1f2,_0x2ac6e0[_0x4ef7d9(0x19f)]=_0x5eb246,_0x2ac6e0[_0x4ef7d9(0x15d)]=_0x166a89,_0x2ac6e0['DocsCodeInsertBelowCommand']=_0x33c268,_0x2ac6e0[_0x4ef7d9(0x13e)]=_0x5728c8,_0x2ac6e0[_0x4ef7d9(0x158)]=_0x14c27e,_0x2ac6e0[_0x4ef7d9(0x199)]=_0x33bc70,_0x2ac6e0[_0x4ef7d9(0x1c4)]=_0x5cbdcf,_0x2ac6e0[_0x4ef7d9(0x138)]=_0x22fab1,_0x2ac6e0[_0x4ef7d9(0x1dd)]=_0x12b758,_0x2ac6e0[_0x4ef7d9(0x150)]=_0x2bc0c9,Object[_0x4ef7d9(0x1a3)](_0x2ac6e0,'UniverDocsCodePlugin',{'enumerable':!0x0,'get':function(){return _0x34c1c6;}}),_0x2ac6e0[_0x4ef7d9(0x1c3)]=_0x110b53,_0x2ac6e0['isCodeBoundaryDelete']=_0x401b72,_0x2ac6e0[_0x4ef7d9(0x141)]=_0x230562,_0x2ac6e0['normalizeDocsCodeMetadataResource']=_0x1b1769;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-code",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "description": "Code block model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,12 +61,12 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/license": "1.0.1",
65
- "@univerjs/core": "1.0.1",
66
- "@univerjs/docs": "1.0.1"
64
+ "@univerjs-pro/license": "1.0.2",
65
+ "@univerjs/core": "1.0.2",
66
+ "@univerjs/docs": "1.0.2"
67
67
  },
68
68
  "devDependencies": {
69
- "@univerjs-infra/shared": "1.0.1",
69
+ "@univerjs-infra/shared": "1.0.2",
70
70
  "rxjs": "7.8.2",
71
71
  "typescript": "^6.0.3",
72
72
  "vitest": "^5.0.0"