@univerjs-pro/docs-code 1.0.0-rc.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4fad(){var _0x403a03=['function','includes','FDocumentCode','decorate','exports','UniverProDocsCodeFacade','DocsCodeUnwrapCommand','remove','extend','getConfig','_getBlockRange','isParagraphFacade','text','getCodeConfig','body','UniverDocsFacade','352297DKgydh','normalizeDocsCodeConfig','FDocument','BLOCK_END','createInstance','569524UQBTpr','describe','filter','object','Injector','1581670KJhcTA','updateConfig','default','_unitId','getRange','1555582pClnIz','dataStream','amd','iterator','syncExecuteCommand','_getBlockRanges','join','36yFxasC','6156626zFrMAt','replace','24ZmfJkG','793072pByVyD','blockType','get','endIndex','1276381keBfbW','blockRanges','map','prototype','_getDocumentData','20ltZlFI','getCodes','getText','getCodeAt','findCodes','SECTION_BREAK','CODE','DocsCodeRemoveCommand','blockId','@univerjs/docs/facade','call','Module','toStringTag','ICommandService','DocumentBlockRangeType','DataStreamTreeTokenType','_createFDocumentCode','slice','_injector','startIndex','toPrimitive','BLOCK_START','getOwnPropertyDescriptor','find','_blockId','length','getId','getCode','3kUBYYH','UniverProDocsCode','defineProperty','from','findCodeByText','string','DocsCodeInsertCommand','Inject','symbol','_document','constructor'];_0x4fad=function(){return _0x403a03;};return _0x4fad();}function _0x1f15(_0x10e2db,_0xed5247){_0x10e2db=_0x10e2db-0xfa;var _0x4fad14=_0x4fad();var _0x1f1565=_0x4fad14[_0x10e2db];return _0x1f1565;}(function(_0x93cd85,_0x87c763){var _0x4db6f1=_0x1f15,_0x493e20=_0x93cd85();while(!![]){try{var _0xbb4d60=parseInt(_0x4db6f1(0x110))/0x1+-parseInt(_0x4db6f1(0x101))/0x2*(parseInt(_0x4db6f1(0x131))/0x3)+parseInt(_0x4db6f1(0x151))/0x4+parseInt(_0x4db6f1(0xfc))/0x5*(parseInt(_0x4db6f1(0x10b))/0x6)+-parseInt(_0x4db6f1(0x109))/0x7+parseInt(_0x4db6f1(0x10c))/0x8*(-parseInt(_0x4db6f1(0x108))/0x9)+-parseInt(_0x4db6f1(0x115))/0xa*(-parseInt(_0x4db6f1(0x14c))/0xb);if(_0xbb4d60===_0x87c763)break;else _0x493e20['push'](_0x493e20['shift']());}catch(_0x36a3da){_0x493e20['push'](_0x493e20['shift']());}}}(_0x4fad,0xa9823),function(_0x4bdbcd,_0x1f51b6){var _0x258d3b=_0x1f15;typeof exports==_0x258d3b(0xfa)&&typeof module<'u'?_0x1f51b6(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x258d3b(0x13c)&&define[_0x258d3b(0x103)]?define([_0x258d3b(0x140),'@univerjs-pro/docs-code','@univerjs/core',_0x258d3b(0x11e)],_0x1f51b6):(_0x4bdbcd=typeof globalThis<'u'?globalThis:_0x4bdbcd||self,_0x1f51b6(_0x4bdbcd[_0x258d3b(0x141)]={},_0x4bdbcd[_0x258d3b(0x132)],_0x4bdbcd['UniverCore'],_0x4bdbcd[_0x258d3b(0x14b)]));}(this,function(_0x52a21e,_0x43a590,_0x40bdce,_0x22c277){var _0x364c32=_0x1f15;Object[_0x364c32(0x133)](_0x52a21e,Symbol[_0x364c32(0x121)],{'value':_0x364c32(0x120)});function _0x57a7d4(_0x2c08c8){'@babel/helpers - typeof';var _0x308a40=_0x364c32;return _0x57a7d4=typeof Symbol=='function'&&typeof Symbol[_0x308a40(0x104)]==_0x308a40(0x139)?function(_0x5c929a){return typeof _0x5c929a;}:function(_0x5ef2dd){var _0x2e1986=_0x308a40;return _0x5ef2dd&&typeof Symbol==_0x2e1986(0x13c)&&_0x5ef2dd[_0x2e1986(0x13b)]===Symbol&&_0x5ef2dd!==Symbol[_0x2e1986(0x113)]?_0x2e1986(0x139):typeof _0x5ef2dd;},_0x57a7d4(_0x2c08c8);}function _0x5466ec(_0x2f8414,_0x3ded4f){var _0x5ad767=_0x364c32;if(_0x57a7d4(_0x2f8414)!=_0x5ad767(0xfa)||!_0x2f8414)return _0x2f8414;var _0x145b24=_0x2f8414[Symbol[_0x5ad767(0x129)]];if(_0x145b24!==void 0x0){var _0x357d3a=_0x145b24[_0x5ad767(0x11f)](_0x2f8414,_0x3ded4f||_0x5ad767(0xfe));if(_0x57a7d4(_0x357d3a)!='object')return _0x357d3a;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3ded4f===_0x5ad767(0x136)?String:Number)(_0x2f8414);}function _0xf1741b(_0x3a958b){var _0x25b131=_0x364c32,_0x22d0c6=_0x5466ec(_0x3a958b,_0x25b131(0x136));return _0x57a7d4(_0x22d0c6)==_0x25b131(0x139)?_0x22d0c6:_0x22d0c6+'';}function _0x5b35eb(_0x58b7da,_0x3dbcb1,_0x4a1835){var _0x51ec70=_0x364c32;return(_0x3dbcb1=_0xf1741b(_0x3dbcb1))in _0x58b7da?Object[_0x51ec70(0x133)](_0x58b7da,_0x3dbcb1,{'value':_0x4a1835,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x58b7da[_0x3dbcb1]=_0x4a1835,_0x58b7da;}function _0x4f08ef(_0xd49a3a,_0x51e462){return function(_0x1263ba,_0x4f0ebf){_0x51e462(_0x1263ba,_0x4f0ebf,_0xd49a3a);};}function _0x332221(_0x584ee3,_0x1359a2,_0xfdd33e,_0x1f285b){var _0x1d65c8=_0x364c32,_0xe128c2=arguments[_0x1d65c8(0x12e)],_0x56c95d=_0xe128c2<0x3?_0x1359a2:_0x1f285b===null?_0x1f285b=Object[_0x1d65c8(0x12b)](_0x1359a2,_0xfdd33e):_0x1f285b,_0x1a2ef0;if(typeof Reflect==_0x1d65c8(0xfa)&&typeof Reflect[_0x1d65c8(0x13f)]=='function')_0x56c95d=Reflect[_0x1d65c8(0x13f)](_0x584ee3,_0x1359a2,_0xfdd33e,_0x1f285b);else{for(var _0x5cdffc=_0x584ee3['length']-0x1;_0x5cdffc>=0x0;_0x5cdffc--)(_0x1a2ef0=_0x584ee3[_0x5cdffc])&&(_0x56c95d=(_0xe128c2<0x3?_0x1a2ef0(_0x56c95d):_0xe128c2>0x3?_0x1a2ef0(_0x1359a2,_0xfdd33e,_0x56c95d):_0x1a2ef0(_0x1359a2,_0xfdd33e))||_0x56c95d);}return _0xe128c2>0x3&&_0x56c95d&&Object[_0x1d65c8(0x133)](_0x1359a2,_0xfdd33e,_0x56c95d),_0x56c95d;}let _0x53745f=class{constructor(_0x15de6f,_0x1486c0,_0x6cff3d){var _0x1808f1=_0x364c32;this[_0x1808f1(0x13a)]=_0x15de6f,this['_blockId']=_0x1486c0,this['_injector']=_0x6cff3d,_0x5b35eb(this,_0x1808f1(0xff),void 0x0),this[_0x1808f1(0xff)]=this[_0x1808f1(0x13a)][_0x1808f1(0x12f)]();}['getId'](){var _0x18f18a=_0x364c32;return this[_0x18f18a(0x12d)];}[_0x364c32(0x100)](){var _0x37a0a4=_0x364c32;let _0x42a9c2=this['_getBlockRange']();return _0x42a9c2?{'blockId':_0x42a9c2[_0x37a0a4(0x11d)],'endIndex':_0x42a9c2[_0x37a0a4(0x10f)],'startIndex':_0x42a9c2['startIndex']}:null;}[_0x364c32(0x117)](){var _0x3ad241=_0x364c32,_0x4e8c85;let _0x320a3e=this[_0x3ad241(0x146)](),_0x5f1e3f=(_0x4e8c85=this[_0x3ad241(0x114)]()[_0x3ad241(0x14a)])==null?void 0x0:_0x4e8c85[_0x3ad241(0x102)];return!_0x320a3e||!_0x5f1e3f?'':_0x9315c1(_0x5f1e3f[_0x3ad241(0x126)](_0x320a3e[_0x3ad241(0x128)]+0x1,_0x320a3e[_0x3ad241(0x10f)]));}[_0x364c32(0x152)](){var _0x2c46a0=_0x364c32;let _0x40b7fd=this[_0x2c46a0(0x100)]();return _0x40b7fd?{..._0x40b7fd,'config':this[_0x2c46a0(0x145)](),'text':this[_0x2c46a0(0x117)](),'type':_0x40bdce[_0x2c46a0(0x123)][_0x2c46a0(0x11b)]}:null;}[_0x364c32(0x145)](){var _0x3e282c=_0x364c32;return(0x0,_0x43a590[_0x3e282c(0x14d)])(this['_injector'][_0x3e282c(0x10e)](_0x43a590['DocsCodeModel'])[_0x3e282c(0x149)](this['_unitId'],this[_0x3e282c(0x12d)]));}[_0x364c32(0xfd)](_0x1e615e){var _0x2490a7=_0x364c32;return this[_0x2490a7(0x127)][_0x2490a7(0x10e)](_0x40bdce[_0x2490a7(0x122)])[_0x2490a7(0x105)](_0x43a590['DocsCodeUpdateCommand']['id'],{'blockId':this['_blockId'],'config':_0x1e615e['config'],'unitId':this[_0x2490a7(0xff)]});}['unwrap'](){var _0x1ec600=_0x364c32;return this[_0x1ec600(0x127)][_0x1ec600(0x10e)](_0x40bdce[_0x1ec600(0x122)])[_0x1ec600(0x105)](_0x43a590[_0x1ec600(0x142)]['id'],{'blockId':this[_0x1ec600(0x12d)],'unitId':this[_0x1ec600(0xff)]});}[_0x364c32(0x143)](){var _0x513272=_0x364c32;return this[_0x513272(0x127)][_0x513272(0x10e)](_0x40bdce[_0x513272(0x122)])[_0x513272(0x105)](_0x43a590[_0x513272(0x11c)]['id'],{'blockId':this[_0x513272(0x12d)],'unitId':this[_0x513272(0xff)]});}[_0x364c32(0x146)](){var _0x16f403=_0x364c32,_0x547db9;return((_0x547db9=this['_getDocumentData']()[_0x16f403(0x14a)])==null||(_0x547db9=_0x547db9['blockRanges'])==null?void 0x0:_0x547db9[_0x16f403(0x12c)](_0xf43992=>_0xf43992[_0x16f403(0x11d)]===this['_blockId']&&_0xf43992[_0x16f403(0x10d)]===_0x40bdce[_0x16f403(0x123)][_0x16f403(0x11b)]))??null;}[_0x364c32(0x114)](){return this['_document']['save']();}};_0x53745f=_0x332221([_0x4f08ef(0x2,(0x0,_0x40bdce[_0x364c32(0x138)])(_0x40bdce[_0x364c32(0xfb)]))],_0x53745f);function _0x9315c1(_0x2df77d){var _0x3209e6=_0x364c32;return Array[_0x3209e6(0x134)](_0x2df77d)[_0x3209e6(0x112)](_0x5afb8d=>_0x5afb8d===_0x40bdce[_0x3209e6(0x124)]['PARAGRAPH']?'\x0a':_0x5afb8d)[_0x3209e6(0x153)](_0x4fe931=>_0x4fe931!==_0x40bdce[_0x3209e6(0x124)][_0x3209e6(0x12a)]&&_0x4fe931!==_0x40bdce['DataStreamTreeTokenType'][_0x3209e6(0x14f)]&&_0x4fe931!==_0x40bdce[_0x3209e6(0x124)][_0x3209e6(0x11a)])[_0x3209e6(0x107)]('')[_0x3209e6(0x10a)](/\n$/,'');}var _0x3d8929=class extends _0x22c277['FDocument']{[_0x364c32(0x116)](){var _0x55daa2=_0x364c32;return this[_0x55daa2(0x106)]()[_0x55daa2(0x153)](_0x4c83c3=>_0x4c83c3[_0x55daa2(0x10d)]===_0x40bdce['DocumentBlockRangeType'][_0x55daa2(0x11b)])[_0x55daa2(0x112)](_0x263885=>this[_0x55daa2(0x125)](_0x263885[_0x55daa2(0x11d)]));}[_0x364c32(0x130)](_0x4d7d9a){var _0x219001=_0x364c32;return this[_0x219001(0x106)]()['some'](_0x331d15=>_0x331d15[_0x219001(0x11d)]===_0x4d7d9a&&_0x331d15['blockType']===_0x40bdce[_0x219001(0x123)]['CODE'])?this[_0x219001(0x125)](_0x4d7d9a):null;}[_0x364c32(0x118)](_0x119f23){var _0x2e046a=_0x364c32;let _0x25017e=this[_0x2e046a(0x106)]()['find'](_0x22ffa8=>_0x22ffa8['blockType']===_0x40bdce['DocumentBlockRangeType']['CODE']&&_0x22ffa8[_0x2e046a(0x128)]<=_0x119f23&&_0x119f23<=_0x22ffa8['endIndex']);return _0x25017e?this[_0x2e046a(0x125)](_0x25017e[_0x2e046a(0x11d)]):null;}[_0x364c32(0x135)](_0x5882f5){var _0x39d9e2=_0x364c32;return this[_0x39d9e2(0x119)](_0x5882f5)[0x0]??null;}['findCodes'](_0x123855){var _0x5bb414=_0x364c32;let _0x465a2b=typeof _0x123855==_0x5bb414(0x136)?{'text':_0x123855}:_0x123855;return this[_0x5bb414(0x116)]()['filter'](_0x4cae23=>!(_0x465a2b[_0x5bb414(0x11d)]&&_0x4cae23[_0x5bb414(0x12f)]()!==_0x465a2b[_0x5bb414(0x11d)]||_0x465a2b[_0x5bb414(0x148)]&&!_0x4cae23[_0x5bb414(0x117)]()[_0x5bb414(0x13d)](_0x465a2b['text'])));}['insertCode'](_0x5ea23a={},_0x612024={}){var _0x17e28e=_0x364c32;let _0x5d90d6=this[_0x17e28e(0x127)]['get'](_0x40bdce['ICommandService']),_0x3e8e11=(0x0,_0x22c277[_0x17e28e(0x147)])(_0x5ea23a)?{..._0x612024,..._0x5ea23a['getRange']()}:_0x5ea23a,_0x3813ef=_0x3e8e11['blockId']??(0x0,_0x40bdce['generateRandomId'])(0x6);return _0x5d90d6[_0x17e28e(0x105)](_0x43a590[_0x17e28e(0x137)]['id'],{..._0x3e8e11,'blockId':_0x3813ef,'unitId':this[_0x17e28e(0x12f)]()})?this['getCode'](_0x3813ef):null;}[_0x364c32(0x106)](){var _0x38f9a4=_0x364c32,_0x4e55d7;return((_0x4e55d7=this['save']()[_0x38f9a4(0x14a)])==null?void 0x0:_0x4e55d7[_0x38f9a4(0x111)])??[];}[_0x364c32(0x125)](_0x26be4b){var _0x51722b=_0x364c32;return this[_0x51722b(0x127)][_0x51722b(0x150)](_0x53745f,this,_0x26be4b);}};_0x22c277[_0x364c32(0x14e)][_0x364c32(0x144)](_0x3d8929),Object[_0x364c32(0x133)](_0x52a21e,_0x364c32(0x13e),{'enumerable':!0x0,'get':function(){return _0x53745f;}});}));
|
|
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;}});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4982(_0x38351b,_0xb0b7dc){_0x38351b=_0x38351b-0xf2;const _0x4e1d02=_0x4e1d();let _0x498297=_0x4e1d02[_0x38351b];return _0x498297;}(function(_0x30e2c5,_0x4190d6){const _0x166c4e=_0x4982,_0x2e5d56=_0x30e2c5();while(!![]){try{const _0x3540be=parseInt(_0x166c4e(0x109))/0x1*(-parseInt(_0x166c4e(0x1af))/0x2)+parseInt(_0x166c4e(0x139))/0x3*(parseInt(_0x166c4e(0x160))/0x4)+-parseInt(_0x166c4e(0x108))/0x5*(parseInt(_0x166c4e(0x136))/0x6)+-parseInt(_0x166c4e(0x1a1))/0x7+parseInt(_0x166c4e(0x1bd))/0x8+parseInt(_0x166c4e(0x191))/0x9*(-parseInt(_0x166c4e(0x158))/0xa)+parseInt(_0x166c4e(0x171))/0xb;if(_0x3540be===_0x4190d6)break;else _0x2e5d56['push'](_0x2e5d56['shift']());}catch(_0x29e4c6){_0x2e5d56['push'](_0x2e5d56['shift']());}}}(_0x4e1d,0xec54f),function(_0x204f63,_0xd7aa5e){const _0x29ff26=_0x4982;typeof exports==_0x29ff26(0x152)&&typeof module<'u'?_0xd7aa5e(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x29ff26(0x190)&&define[_0x29ff26(0x13f)]?define(['exports',_0x29ff26(0x11d),_0x29ff26(0x140),_0x29ff26(0x174),_0x29ff26(0x17c)],_0xd7aa5e):(_0x204f63=typeof globalThis<'u'?globalThis:_0x204f63||self,_0xd7aa5e(_0x204f63['UniverProDocsCode']={},_0x204f63[_0x29ff26(0x102)],_0x204f63[_0x29ff26(0x140)],_0x204f63[_0x29ff26(0x16f)],_0x204f63[_0x29ff26(0xf9)]));}(this,function(_0x341dde,_0x1bf992,_0x156cde,_0x2df6c3,_0x45d432){const _0xbfb6c9=_0x4982;Object[_0xbfb6c9(0x181)](_0x341dde,Symbol[_0xbfb6c9(0x13a)],{'value':_0xbfb6c9(0x183)});let _0x215893={'language':_0xbfb6c9(0x1d0),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x464399(_0x19dcf8){return{..._0x215893,..._0x19dcf8};}function _0x788e87(_0x995b4){const _0x7fc45a=_0xbfb6c9;let _0x3ba6e4=(_0x995b4==null?void 0x0:_0x995b4['codes'])??{};return{'codes':Object[_0x7fc45a(0x112)](Object[_0x7fc45a(0x1b1)](_0x3ba6e4)[_0x7fc45a(0x117)](([_0x5c65db,_0x10424e])=>[_0x5c65db,_0x464399(_0x10424e)]))};}function _0x230436(_0x161dc7,_0x2767f4,_0x449620){const _0x4908d5=_0xbfb6c9;let _0x5f1cd5=_0x788e87(_0x161dc7);return _0x5f1cd5[_0x4908d5(0x1c5)][_0x2767f4]=_0x464399({..._0x5f1cd5['codes'][_0x2767f4],..._0x449620}),_0x5f1cd5;}function _0x56e202(_0x40194f,_0x30dfed){const _0x48e236=_0xbfb6c9;let _0x10ffc4=_0x788e87(_0x40194f);return delete _0x10ffc4[_0x48e236(0x1c5)][_0x30dfed],_0x10ffc4;}function _0x48a6b2(_0x1453b6){'@babel/helpers - typeof';const _0x4b830e=_0xbfb6c9;return _0x48a6b2=typeof Symbol==_0x4b830e(0x190)&&typeof Symbol['iterator']==_0x4b830e(0x1a0)?function(_0x1c7036){return typeof _0x1c7036;}:function(_0x2e814b){const _0x113d38=_0x4b830e;return _0x2e814b&&typeof Symbol==_0x113d38(0x190)&&_0x2e814b['constructor']===Symbol&&_0x2e814b!==Symbol[_0x113d38(0x159)]?'symbol':typeof _0x2e814b;},_0x48a6b2(_0x1453b6);}function _0x4fc4ff(_0x2afe6d,_0x40f7b9){const _0x205620=_0xbfb6c9;if(_0x48a6b2(_0x2afe6d)!='object'||!_0x2afe6d)return _0x2afe6d;var _0x61879e=_0x2afe6d[Symbol['toPrimitive']];if(_0x61879e!==void 0x0){var _0x3b8508=_0x61879e[_0x205620(0x18a)](_0x2afe6d,_0x40f7b9||_0x205620(0x199));if(_0x48a6b2(_0x3b8508)!=_0x205620(0x152))return _0x3b8508;throw TypeError(_0x205620(0x10e));}return(_0x40f7b9===_0x205620(0x150)?String:Number)(_0x2afe6d);}function _0x1f164a(_0x3c58e5){const _0x68c427=_0xbfb6c9;var _0xe832a2=_0x4fc4ff(_0x3c58e5,'string');return _0x48a6b2(_0xe832a2)==_0x68c427(0x1a0)?_0xe832a2:_0xe832a2+'';}function _0x6f5f47(_0x16dd7b,_0x6c4958,_0x1504a7){return(_0x6c4958=_0x1f164a(_0x6c4958))in _0x16dd7b?Object['defineProperty'](_0x16dd7b,_0x6c4958,{'value':_0x1504a7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x16dd7b[_0x6c4958]=_0x1504a7,_0x16dd7b;}var _0x54c683=class extends _0x1bf992[_0xbfb6c9(0x154)]{constructor(..._0x187f8c){const _0x33e558=_0xbfb6c9;super(..._0x187f8c),_0x6f5f47(this,_0x33e558(0x187),new Map()),_0x6f5f47(this,_0x33e558(0x114),new _0x156cde[(_0x33e558(0x138))]()),_0x6f5f47(this,'change$',this[_0x33e558(0x114)][_0x33e558(0x116)]());}[_0xbfb6c9(0x1c9)](_0x5a8555,_0x2f6be5){const _0xe9ee46=_0xbfb6c9;return _0x788e87(this[_0xe9ee46(0x187)][_0xe9ee46(0x15c)](_0x5a8555))[_0xe9ee46(0x1c5)][_0x2f6be5];}['setCodeConfig'](_0x2c9337,_0x13d351,_0x4f014d){const _0x5ad776=_0xbfb6c9;this[_0x5ad776(0x157)](_0x2c9337,_0x13d351,_0x230436(this[_0x5ad776(0x187)][_0x5ad776(0x15c)](_0x2c9337),_0x13d351,_0x4f014d));}[_0xbfb6c9(0x11f)](_0x3f50d3,_0x3432f2){const _0x5b397c=_0xbfb6c9;this[_0x5b397c(0x157)](_0x3f50d3,_0x3432f2,_0x56e202(this['_resources'][_0x5b397c(0x15c)](_0x3f50d3),_0x3432f2));}[_0xbfb6c9(0xfe)](_0x328573){const _0x3b627a=_0xbfb6c9;return _0x788e87(this['_resources'][_0x3b627a(0x15c)](_0x328573));}[_0xbfb6c9(0x122)](_0x1ca91d,_0x47e09d){const _0x27befb=_0xbfb6c9;this['_resources'][_0x27befb(0x133)](_0x1ca91d,_0x788e87(_0x47e09d)),this[_0x27befb(0x114)][_0x27befb(0x12d)]({'unitId':_0x1ca91d});}['removeUnit'](_0x2d8435){const _0x57f36c=_0xbfb6c9;this[_0x57f36c(0x187)][_0x57f36c(0x1a7)](_0x2d8435),this[_0x57f36c(0x114)][_0x57f36c(0x12d)]({'unitId':_0x2d8435});}[_0xbfb6c9(0x148)](){const _0x43541c=_0xbfb6c9;super[_0x43541c(0x148)](),this[_0x43541c(0x187)][_0x43541c(0x104)](),this[_0x43541c(0x114)]['complete']();}[_0xbfb6c9(0x157)](_0x43be49,_0x5b5110,_0x150384){const _0x16229c=_0xbfb6c9;this[_0x16229c(0x187)][_0x16229c(0x133)](_0x43be49,_0x150384),this[_0x16229c(0x114)]['next']({'unitId':_0x43be49,'blockId':_0x5b5110});}};let _0x44f6d3={'id':_0xbfb6c9(0x18d),'type':_0x1bf992[_0xbfb6c9(0x1a2)][_0xbfb6c9(0x1a3)],'handler':(_0x502405,_0xce263c)=>!(_0xce263c!=null&&_0xce263c['unitId'])||!_0xce263c[_0xbfb6c9(0x196)]?!0x1:(_0x502405['get'](_0x54c683)['setCodeConfig'](_0xce263c[_0xbfb6c9(0x1a8)],_0xce263c['blockId'],_0xce263c[_0xbfb6c9(0x197)]),!0x0)},_0x2ade09={'id':_0xbfb6c9(0x143),'type':_0x1bf992['CommandType'][_0xbfb6c9(0x1a3)],'handler':(_0x569d17,_0x2ec150)=>!(_0x2ec150!=null&&_0x2ec150[_0xbfb6c9(0x1a8)])||!_0x2ec150[_0xbfb6c9(0x196)]?!0x1:(_0x569d17[_0xbfb6c9(0x15c)](_0x54c683)[_0xbfb6c9(0x11f)](_0x2ec150[_0xbfb6c9(0x1a8)],_0x2ec150[_0xbfb6c9(0x196)]),!0x0)},_0x1ca802=_0xbfb6c9(0x120);var _0x53dcec=class extends Error{constructor(_0x3d42ea=_0xbfb6c9(0xf8)){super(_0x3d42ea);}};function _0x2c700a(_0xbe64e4){const _0x2b1d8a=_0xbfb6c9;var _0x508519;let _0x3b59db=_0x5d8cc0(_0xbe64e4[_0x2b1d8a(0x100)]),_0xe86814=_0x834112(_0x3b59db),_0x1f1b52=_0x19f2c6(_0xbe64e4['startOffset'],_0xbe64e4[_0x2b1d8a(0x128)]),_0x5c80e2=_0x1f1b52?(_0x508519=_0xe86814[_0x2b1d8a(0x198)])==null?void 0x0:_0x508519[_0x2b1d8a(0x13b)](_0x1ac350=>{const _0x3b7f57=_0x2b1d8a;let _0x59b943=(0x0,_0x1bf992[_0x3b7f57(0x185)])(_0x1ac350);return _0x59b943['startOffset']===_0x1f1b52['startOffset']&&_0x59b943[_0x3b7f57(0x128)]===_0x1f1b52[_0x3b7f57(0x128)];}):void 0x0,{startOffset:_0x6ddb6b,endOffset:_0x3e7226}=_0x5c80e2?_0x1f1b52:_0x14420d(_0xe86814,_0xbe64e4['startOffset'],_0xbe64e4['endOffset'],_0xbe64e4['insertionMode']);if(!_0x5c80e2&&_0x266f16(_0xe86814,_0x6ddb6b,_0x3e7226))throw new _0x53dcec(_0x2b1d8a(0x162));let _0x3092bc=_0x19ce96(_0xe86814,_0x6ddb6b,_0x3e7226),_0x338dec=(_0x5c80e2==null?void 0x0:_0x5c80e2[_0x2b1d8a(0x196)])??_0xbe64e4[_0x2b1d8a(0x196)],_0x4c40e6=_0x230436(_0xbe64e4[_0x2b1d8a(0x18e)],_0x338dec,{..._0x215893,..._0xbe64e4['config']});if(_0x5c80e2)return _0x5c80e2[_0x2b1d8a(0x144)]=_0x1bf992[_0x2b1d8a(0xfc)][_0x2b1d8a(0x1b2)],_0x235946(_0xe86814,_0x6ddb6b,_0x3e7226),_0x59b6a4(_0xe86814,_0x6ddb6b,_0x3e7226,_0x3092bc),_0x51adf7(_0xe86814,_0x5c80e2),{'nextDocumentData':_0x3b59db,'nextMetadata':_0x4c40e6,'cursorOffset':_0x6ddb6b+0x1};if(_0x6ddb6b===_0x3e7226){var _0x541366,_0x49e795;let _0x49a151=''+_0x1bf992[_0x2b1d8a(0xf5)][_0x2b1d8a(0x17e)]+_0x1bf992[_0x2b1d8a(0xf5)][_0x2b1d8a(0x1cb)]+_0x1bf992['DataStreamTreeTokenType'][_0x2b1d8a(0x12e)];_0x6fb4b1(_0xe86814,_0x6ddb6b,_0x49a151,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x1bf992[_0x2b1d8a(0xff)])(new Set((_0x541366=_0xe86814['paragraphs'])==null?void 0x0:_0x541366[_0x2b1d8a(0x117)](_0x3a5575=>_0x3a5575[_0x2b1d8a(0x1ae)]))),'paragraphStyle':_0x1fceca(!0x0,!0x0,_0x3092bc)}],'blockRanges':[{'blockId':_0x338dec,'blockType':_0x1bf992['DocumentBlockRangeType'][_0x2b1d8a(0x1b2)],'startIndex':0x0,'endIndex':_0x49a151[_0x2b1d8a(0x119)]-0x1}]});let _0x3dd128=(_0x49e795=_0xe86814[_0x2b1d8a(0x198)])==null?void 0x0:_0x49e795['find'](_0x451cc0=>_0x451cc0[_0x2b1d8a(0x196)]===_0x338dec);return _0x3dd128&&_0x51adf7(_0xe86814,_0x3dd128),{'nextDocumentData':_0x3b59db,'nextMetadata':_0x4c40e6,'cursorOffset':_0x6ddb6b+0x1};}_0x6fb4b1(_0xe86814,_0x3e7226,_0x1bf992['DataStreamTreeTokenType'][_0x2b1d8a(0x12e)]),_0x6fb4b1(_0xe86814,_0x6ddb6b,_0x1bf992[_0x2b1d8a(0xf5)][_0x2b1d8a(0x17e)]),_0x59b6a4(_0xe86814,_0x6ddb6b,_0x3e7226+0x1,_0x3092bc);let _0x5608e7={'blockId':_0x338dec,'blockType':_0x1bf992[_0x2b1d8a(0xfc)][_0x2b1d8a(0x1b2)],'startIndex':_0x6ddb6b,'endIndex':_0x3e7226+0x1};return _0xe86814['blockRanges']=[..._0xe86814['blockRanges']??[],_0x5608e7][_0x2b1d8a(0x103)]((_0x2b730f,_0x38f849)=>_0x2b730f[_0x2b1d8a(0x161)]-_0x38f849[_0x2b1d8a(0x161)]),_0x51adf7(_0xe86814,_0x5608e7),{'nextDocumentData':_0x3b59db,'nextMetadata':_0x4c40e6,'cursorOffset':_0x6ddb6b+0x1};}function _0x235946(_0x2fb3a1,_0x4a101f,_0x3a91de){const _0x1aa658=_0xbfb6c9;(_0x2fb3a1[_0x1aa658(0x130)]??[])[_0x1aa658(0x13d)](_0x2fb001=>_0x2fb001['startIndex']>_0x4a101f&&_0x2fb001['startIndex']<_0x3a91de)[_0x1aa658(0xfb)](_0x5ba1bd=>{const _0x39a97f=_0x1aa658;let _0x5ea250={..._0x5ba1bd[_0x39a97f(0x1ba)]??{}};delete _0x5ea250['spaceAbove'],delete _0x5ea250['spaceBelow'],_0x5ba1bd[_0x39a97f(0x1ba)]=_0x5ea250;});}function _0x19f2c6(_0x2c6d2a,_0x25cc23){const _0x5c3e72=_0xbfb6c9;return _0x2c6d2a==null||_0x25cc23==null||_0x2c6d2a===_0x25cc23?null:{'startOffset':Math[_0x5c3e72(0x1cd)](_0x2c6d2a,_0x25cc23),'endOffset':Math[_0x5c3e72(0x184)](_0x2c6d2a,_0x25cc23)};}function _0x266f16(_0x3d5c54,_0xb77310,_0x444ac2){const _0x3dc296=_0xbfb6c9;return(_0x3d5c54[_0x3dc296(0x198)]??[])['some'](_0x11e0e1=>{const _0x4a9190=_0x3dc296;let _0x35c4aa=(0x0,_0x1bf992[_0x4a9190(0x185)])(_0x11e0e1);return _0xb77310===_0x444ac2?(0x0,_0x1bf992[_0x4a9190(0x11b)])(_0x35c4aa,_0xb77310):(0x0,_0x1bf992['intersectsOperationalIntervals'])(_0x35c4aa,{'startOffset':_0xb77310,'endOffset':_0x444ac2});});}function _0x4c3091(_0x566646){const _0x51c4cf=_0xbfb6c9;return{'nextDocumentData':_0x5d8cc0(_0x566646[_0x51c4cf(0x100)]),'nextMetadata':_0x230436(_0x566646[_0x51c4cf(0x18e)],_0x566646[_0x51c4cf(0x196)],_0x566646[_0x51c4cf(0x197)]),'cursorOffset':0x0};}function _0x532d70(_0x5ecc1a){const _0x4d4e7a=_0xbfb6c9;let _0x1f2931=_0x5d8cc0(_0x5ecc1a[_0x4d4e7a(0x100)]),_0x42970b=_0x834112(_0x1f2931),_0x1a8dcd=_0x1e4bc8(_0x42970b,_0x5ecc1a[_0x4d4e7a(0x196)]);if(!_0x1a8dcd)return null;let _0x2d085d=_0x1e1009(_0x42970b,_0x1a8dcd);return{'nextDocumentData':_0x1f2931,'nextMetadata':_0x56e202(_0x5ecc1a[_0x4d4e7a(0x18e)],_0x5ecc1a['blockId']),'cursorOffset':_0x2d085d};}function _0x57210f(_0x599006){const _0x5db079=_0xbfb6c9;var _0x48c3a9;let _0xaba13a=_0x5d8cc0(_0x599006[_0x5db079(0x100)]),_0x16272c=_0x834112(_0xaba13a),_0x49e200=_0x1e4bc8(_0x16272c,_0x599006[_0x5db079(0x196)]);if(!_0x49e200)return null;let _0x1e8084=(0x0,_0x1bf992[_0x5db079(0x185)])(_0x49e200);return _0x2633f9(_0x16272c,_0x1e8084['startOffset'],_0x1e8084[_0x5db079(0x128)]),_0x16272c['blockRanges']=(_0x48c3a9=_0x16272c[_0x5db079(0x198)])==null?void 0x0:_0x48c3a9[_0x5db079(0x13d)](_0x15de2c=>_0x15de2c[_0x5db079(0x196)]!==_0x599006[_0x5db079(0x196)]),{'nextDocumentData':_0xaba13a,'nextMetadata':_0x56e202(_0x599006[_0x5db079(0x18e)],_0x599006['blockId']),'cursorOffset':_0x49e200['startIndex']};}function _0xb1bfa(_0x3561a2){const _0x6428a6=_0xbfb6c9;let _0x2eaf82=_0x5d8cc0(_0x3561a2[_0x6428a6(0x100)]),_0x92f58d=_0x834112(_0x2eaf82),_0x384f34=_0x39b7ba(_0x92f58d,_0x3561a2[_0x6428a6(0x151)]);return _0x384f34&&_0x32371e(_0x2eaf82,_0x92f58d,_0x384f34,_0x3561a2[_0x6428a6(0x151)],_0x3561a2['paragraphStartIndex'])||null;}function _0x32371e(_0x5b06ed,_0x4a8537,_0x9b507b,_0x36daa6,_0x495cb9){const _0x5c1252=_0xbfb6c9;let _0x48596e=_0x49c6cc(_0x4a8537,_0x9b507b,_0x36daa6,_0x495cb9);if(!_0x48596e)return null;let _0x21320a=_0x48596e[_0x5c1252(0x105)]-0x1;return _0x2633f9(_0x4a8537,_0x48596e[_0x5c1252(0x1c3)][_0x5c1252(0x161)],_0x48596e[_0x5c1252(0x1c3)][_0x5c1252(0x161)]+0x1),{'nextDocumentData':_0x5b06ed,'cursorOffset':_0x21320a};}function _0x1e4bc8(_0x4dec22,_0xbfaf7b){const _0x51c836=_0xbfb6c9;var _0x1c2ba6;return _0x4dec22==null||(_0x1c2ba6=_0x4dec22[_0x51c836(0x198)])==null?void 0x0:_0x1c2ba6[_0x51c836(0x13b)](_0x3d6c22=>_0x3d6c22[_0x51c836(0x144)]===_0x1bf992['DocumentBlockRangeType'][_0x51c836(0x1b2)]&&_0x3d6c22[_0x51c836(0x196)]===_0xbfaf7b);}function _0x198b4c(_0x9d3600){const _0x3d2d60=_0xbfb6c9;let _0x196455=_0x9d3600[_0x3d2d60(0x100)]['body'];if(!_0x196455)return!0x1;let _0x5b7cbb=_0x9d3600[_0x3d2d60(0x1a5)]===_0x3d2d60(0x101)?_0x9d3600[_0x3d2d60(0x151)]-0x1:_0x9d3600[_0x3d2d60(0x151)],_0x158fcf=_0x9d3600[_0x3d2d60(0x1a5)]===_0x3d2d60(0x192)?_0x9d3600[_0x3d2d60(0x151)]+0x1:_0x5b7cbb;return(_0x196455[_0x3d2d60(0x198)]??[])[_0x3d2d60(0x129)](_0x16e3cf=>_0x16e3cf[_0x3d2d60(0x144)]===_0x1bf992[_0x3d2d60(0xfc)][_0x3d2d60(0x1b2)]?_0x5b7cbb===_0x16e3cf[_0x3d2d60(0x161)]||_0x5b7cbb===_0x16e3cf['endIndex']||_0x158fcf===_0x16e3cf['startIndex']||_0x158fcf===_0x16e3cf[_0x3d2d60(0x14b)]:!0x1);}function _0x39b7ba(_0x311a01,_0x51be55){var _0x90e8de;return(_0x90e8de=_0x311a01['blockRanges'])==null?void 0x0:_0x90e8de['find'](_0x1bbf87=>{const _0xdd8dd7=_0x4982;let _0x47954d=_0x3c5970(_0x1bbf87);return _0x1bbf87[_0xdd8dd7(0x144)]===_0x1bf992[_0xdd8dd7(0xfc)][_0xdd8dd7(0x1b2)]&&_0x1bbf87[_0xdd8dd7(0x161)]<=_0x51be55&&_0x51be55<=_0x47954d+0x2;});}function _0x1fceca(_0x5011c1,_0x2f96d9,_0x40fe8b=!0x1){const _0x59c221=_0xbfb6c9;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x1bf992[_0x59c221(0x145)]['TRUE'],'keepNext':_0x2f96d9?_0x1bf992[_0x59c221(0x145)][_0x59c221(0x17d)]:_0x1bf992['BooleanNumber'][_0x59c221(0x16e)],'widowControl':_0x1bf992['BooleanNumber']['TRUE'],..._0x5011c1&&_0x40fe8b?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x1ca802,'fs':0xc}};}function _0x59b6a4(_0x217e9d,_0x211f93,_0x197535,_0x1c6818=!0x1){const _0x515261=_0xbfb6c9;let _0x23fa7a=(_0x217e9d[_0x515261(0x130)]??[])[_0x515261(0x13d)](_0x56ac58=>_0x56ac58[_0x515261(0x161)]>_0x211f93&&_0x56ac58['startIndex']<_0x197535);_0x23fa7a[_0x515261(0xfb)]((_0x5d0713,_0x3588f6)=>{const _0x4ed575=_0x515261;_0x5d0713[_0x4ed575(0x1ba)]={..._0x5d0713[_0x4ed575(0x1ba)]??{},..._0x1fceca(_0x3588f6===0x0,_0x3588f6===_0x23fa7a[_0x4ed575(0x119)]-0x1,_0x1c6818)};});}function _0x373d1f(_0x51e505){const _0x18bdad=_0xbfb6c9;var _0x22b055,_0x373355;let _0x431c1c={..._0x51e505??{}};return delete _0x431c1c['indentEnd'],delete _0x431c1c[_0x18bdad(0x115)],delete _0x431c1c['spaceAbove'],delete _0x431c1c[_0x18bdad(0x12c)],delete _0x431c1c[_0x18bdad(0x1a6)],delete _0x431c1c['keepNext'],delete _0x431c1c[_0x18bdad(0x1b0)],((_0x22b055=_0x431c1c[_0x18bdad(0x153)])==null?void 0x0:_0x22b055['ff'])===_0x1ca802&&((_0x373355=_0x431c1c['textStyle'])==null?void 0x0:_0x373355['fs'])===0xc&&delete _0x431c1c[_0x18bdad(0x153)],_0x431c1c;}function _0x54234c(_0xec9ce3,_0x29527a){const _0x382a69=_0xbfb6c9;let _0x2aeae7=_0x3c5970(_0x29527a);return(_0xec9ce3[_0x382a69(0x130)]??[])[_0x382a69(0x13d)](_0x4ace1d=>_0x4ace1d[_0x382a69(0x161)]>_0x29527a[_0x382a69(0x161)]&&_0x4ace1d[_0x382a69(0x161)]<_0x2aeae7);}function _0x1e1009(_0x1294ab,_0x301ec9){const _0x534826=_0xbfb6c9;var _0x112be9;let _0x4a0428=_0x3c5970(_0x301ec9);return _0x54234c(_0x1294ab,_0x301ec9)[_0x534826(0xfb)](_0xbe6695=>{const _0x52a4ee=_0x534826;_0xbe6695[_0x52a4ee(0x1ba)]=_0x373d1f(_0xbe6695[_0x52a4ee(0x1ba)]);}),_0x2633f9(_0x1294ab,_0x4a0428,_0x4a0428+0x1),_0x2633f9(_0x1294ab,_0x301ec9[_0x534826(0x161)],_0x301ec9[_0x534826(0x161)]+0x1),_0x1294ab[_0x534826(0x198)]=(_0x112be9=_0x1294ab[_0x534826(0x198)])==null?void 0x0:_0x112be9['filter'](_0x21a997=>_0x21a997[_0x534826(0x196)]!==_0x301ec9[_0x534826(0x196)]),_0x301ec9[_0x534826(0x161)];}function _0x5d8cc0(_0x5a1657){const _0xad6d9f=_0xbfb6c9;return{..._0x5a1657,'body':_0x5a1657[_0xad6d9f(0x1c8)]?_0x2d940e(_0x5a1657[_0xad6d9f(0x1c8)]):_0x5a1657['body']};}function _0x2d940e(_0x4eef6d){const _0x5354c8=_0xbfb6c9;var _0x110ccf,_0xa3b1ad,_0x39cbe1,_0x281543,_0x313805,_0x5661db,_0x5ce6f1,_0x33feb9,_0x413ee3;return{..._0x4eef6d,'paragraphs':(_0x110ccf=_0x4eef6d[_0x5354c8(0x130)])==null?void 0x0:_0x110ccf[_0x5354c8(0x117)](_0x3951ac=>({..._0x3951ac,'bullet':_0xa72fc7(_0x3951ac[_0x5354c8(0x111)]),'paragraphStyle':_0xa72fc7(_0x3951ac['paragraphStyle'])})),'sectionBreaks':(_0xa3b1ad=_0x4eef6d['sectionBreaks'])==null?void 0x0:_0xa3b1ad[_0x5354c8(0x117)](_0x172115=>({..._0x172115})),'textRuns':(_0x39cbe1=_0x4eef6d[_0x5354c8(0x19b)])==null?void 0x0:_0x39cbe1[_0x5354c8(0x117)](_0x517bfa=>({..._0x517bfa})),'tables':(_0x281543=_0x4eef6d[_0x5354c8(0x175)])==null?void 0x0:_0x281543[_0x5354c8(0x117)](_0x32f0b3=>({..._0x32f0b3})),'columnGroups':(_0x313805=_0x4eef6d[_0x5354c8(0x15f)])==null?void 0x0:_0x313805[_0x5354c8(0x117)](_0xb5022c=>{const _0x42d4ab=_0x5354c8;var _0x2c64b3;return{..._0xb5022c,'columns':(_0x2c64b3=_0xb5022c[_0x42d4ab(0x177)])==null?void 0x0:_0x2c64b3[_0x42d4ab(0x117)](_0x55fb43=>_0xa72fc7(_0x55fb43))};}),'blockRanges':(_0x5661db=_0x4eef6d[_0x5354c8(0x198)])==null?void 0x0:_0x5661db[_0x5354c8(0x117)](_0x540bec=>({..._0x540bec})),'customRanges':(_0x5ce6f1=_0x4eef6d[_0x5354c8(0x141)])==null?void 0x0:_0x5ce6f1[_0x5354c8(0x117)](_0x460d1f=>({..._0x460d1f})),'customDecorations':(_0x33feb9=_0x4eef6d[_0x5354c8(0x132)])==null?void 0x0:_0x33feb9[_0x5354c8(0x117)](_0x469e81=>({..._0x469e81})),'customBlocks':(_0x413ee3=_0x4eef6d['customBlocks'])==null?void 0x0:_0x413ee3[_0x5354c8(0x117)](_0x4f49e4=>({..._0x4f49e4}))};}function _0xa72fc7(_0x161d43){const _0x4a7482=_0xbfb6c9;return Array[_0x4a7482(0x149)](_0x161d43)?_0x161d43['map'](_0x3cdfce=>_0xa72fc7(_0x3cdfce)):!_0x161d43||typeof _0x161d43!=_0x4a7482(0x152)?_0x161d43:Object[_0x4a7482(0x112)](Object[_0x4a7482(0x1b1)](_0x161d43)[_0x4a7482(0x117)](([_0x158356,_0x23751f])=>[_0x158356,_0xa72fc7(_0x23751f)]));}function _0x834112(_0x34a3b7){const _0x4019f1=_0xbfb6c9;if(!_0x34a3b7[_0x4019f1(0x1c8)])throw Error(_0x4019f1(0x121));return _0x34a3b7['body'];}function _0x14420d(_0x2d481b,_0x3ba399,_0x14edf1,_0x5e1bc9=_0xbfb6c9(0x17b)){const _0x49415b=_0xbfb6c9;if(_0x3ba399==null||_0x14edf1==null){let _0x465d00=_0x4ee159(_0x2d481b);return{'startOffset':_0x465d00,'endOffset':_0x465d00};}let _0x1a77b9=Math[_0x49415b(0x1cd)](_0x3ba399,_0x14edf1),_0x1f35a1=Math[_0x49415b(0x184)](_0x3ba399,_0x14edf1),_0x31fcb8=_0x578553(_0x2d481b,_0x1a77b9,_0x1f35a1);return _0x1a77b9===_0x1f35a1?_0x5e1bc9==='insert-new'?{'startOffset':_0x1a77b9,'endOffset':_0x1f35a1}:_0x1c0d9e(_0x2d481b,_0x1a77b9,_0x31fcb8):_0x4e1852(_0x2d481b,_0x1a77b9,_0x1f35a1,_0x31fcb8);}function _0x1c0d9e(_0x1f4283,_0x30f58c,_0x3e9a65){const _0x390a4f=_0xbfb6c9;let _0x244249=_0x316bdd(_0x1f4283,_0x30f58c);if(_0x244249){let _0x1ba752=_0x2224a1(_0x1f4283,_0x244249,_0x3e9a65);if(_0x1ba752<_0x244249[_0x390a4f(0x161)])return{'startOffset':_0x1ba752,'endOffset':_0x3e9a65?Math[_0x390a4f(0x1cd)](_0x244249[_0x390a4f(0x161)]+0x1,_0x3e9a65[_0x390a4f(0x128)]):_0x244249['startIndex']+0x1};}let _0x2858c8=_0x30f58c===0x0&&_0x1f4283['dataStream'][0x0]===_0x1bf992[_0x390a4f(0xf5)][_0x390a4f(0x1cb)]?0x1:_0x30f58c;return{'startOffset':_0x2858c8,'endOffset':_0x2858c8};}function _0x4ee159(_0x13dec4){const _0x4d72c8=_0xbfb6c9;return _0x13dec4[_0x4d72c8(0x189)][_0x4d72c8(0x156)](_0x1bf992[_0x4d72c8(0xf5)][_0x4d72c8(0x10c)])?Math[_0x4d72c8(0x184)](0x0,_0x13dec4[_0x4d72c8(0x189)][_0x4d72c8(0x119)]-0x1):_0x13dec4[_0x4d72c8(0x189)]['length'];}function _0x19ce96(_0x28db70,_0x4e59d8,_0x25d0d4){const _0x281355=_0xbfb6c9;var _0xc145cf;let _0x264ba1=Math['min'](_0x4e59d8,_0x25d0d4),_0xe7752=Math[_0x281355(0x184)](_0x4e59d8,_0x25d0d4);return!!((_0xc145cf=_0x28db70[_0x281355(0x175)])!=null&&_0xc145cf[_0x281355(0x129)](_0x4eca67=>_0x264ba1>_0x4eca67['startIndex']&&_0x264ba1<_0x4eca67[_0x281355(0x14b)]||_0xe7752>_0x4eca67[_0x281355(0x161)]&&_0xe7752<_0x4eca67[_0x281355(0x14b)]||_0x264ba1<=_0x4eca67['startIndex']&&_0xe7752>=_0x4eca67['endIndex']));}function _0x4e1852(_0xbd691f,_0x30bfe1,_0x580d1a,_0x2458ea){const _0x43ae27=_0xbfb6c9;let _0x272dfc=[..._0xbd691f[_0x43ae27(0x130)]??[]][_0x43ae27(0x103)]((_0x25f5cc,_0x25e828)=>_0x25f5cc[_0x43ae27(0x161)]-_0x25e828['startIndex']),_0x40dd84=(0x0,_0x1bf992[_0x43ae27(0x146)])(_0xbd691f),_0x2cde57=_0x272dfc[_0x43ae27(0x13b)](_0x423e77=>_0x2224a1(_0xbd691f,_0x423e77,_0x2458ea,_0x40dd84)<=_0x30bfe1&&_0x30bfe1<=_0x423e77[_0x43ae27(0x161)]),_0x334f88=_0x272dfc[_0x43ae27(0x13b)](_0x2ca62c=>_0x2ca62c[_0x43ae27(0x161)]>=_0x580d1a-0x1)??_0x272dfc[_0x272dfc[_0x43ae27(0x119)]-0x1];return{'startOffset':_0x2cde57?_0x2224a1(_0xbd691f,_0x2cde57,_0x2458ea,_0x40dd84):_0x30bfe1,'endOffset':_0x334f88?_0x9bf5da(_0x334f88,_0x2458ea):_0x580d1a};}function _0x316bdd(_0x185bfd,_0x4aecde){const _0x492bd4=_0xbfb6c9;let _0x884c70=[..._0x185bfd['paragraphs']??[]][_0x492bd4(0x103)]((_0x215b90,_0x5273a6)=>_0x215b90[_0x492bd4(0x161)]-_0x5273a6[_0x492bd4(0x161)]),_0x1fde30=(0x0,_0x1bf992[_0x492bd4(0x146)])(_0x185bfd);return _0x884c70['find'](_0x560952=>(_0x1fde30['get'](_0x560952[_0x492bd4(0x161)])??0x0)<=_0x4aecde&&_0x4aecde<=_0x560952['startIndex']);}function _0x2224a1(_0x2eb0e0,_0x58215c,_0x2815cd,_0x5ae5e0){const _0x577b94=_0xbfb6c9;let _0x4faa3e=(_0x5ae5e0==null?void 0x0:_0x5ae5e0[_0x577b94(0x15c)](_0x58215c[_0x577b94(0x161)]))??(0x0,_0x1bf992[_0x577b94(0x10b)])(_0x2eb0e0,_0x58215c);return _0x2815cd?Math[_0x577b94(0x184)](_0x4faa3e,_0x2815cd[_0x577b94(0xfa)]):_0x4faa3e;}function _0x9bf5da(_0x15581b,_0x20e263){const _0x16cdee=_0xbfb6c9;let _0x8cfd0b=_0x15581b[_0x16cdee(0x161)]+0x1;return _0x20e263?Math[_0x16cdee(0x1cd)](_0x8cfd0b,_0x20e263[_0x16cdee(0x128)]):_0x8cfd0b;}function _0x578553(_0x508311,_0x5b4abd,_0x33ffdc){const _0x566f0a=_0xbfb6c9;let _0x133028=_0x3789d5(_0x508311,_0x5b4abd),_0x1d47ba=_0x3789d5(_0x508311,_0x5b4abd===_0x33ffdc?_0x33ffdc:Math[_0x566f0a(0x184)](_0x5b4abd,_0x33ffdc-0x1));if(!(!_0x133028&&!_0x1d47ba)){if(!_0x133028||!_0x1d47ba||_0x133028[_0x566f0a(0x16a)]!==_0x1d47ba[_0x566f0a(0x16a)]||_0x133028[_0x566f0a(0x105)]!==_0x1d47ba[_0x566f0a(0x105)])throw new _0x53dcec();return _0x133028;}}function _0x3789d5(_0x2e4ee5,_0x10b30a){const _0x104bcb=_0xbfb6c9;let _0x2a13af=_0x2e4ee5[_0x104bcb(0x189)],_0xdf43da=-0x1;for(let _0x56c24c=Math[_0x104bcb(0x1cd)](_0x10b30a,_0x2a13af['length']-0x1);_0x56c24c>=0x0;_0x56c24c--){let _0x40306c=_0x2a13af[_0x56c24c];if(_0x40306c===_0x1bf992['DataStreamTreeTokenType'][_0x104bcb(0x12b)])return;if(_0x40306c===_0x1bf992[_0x104bcb(0xf5)][_0x104bcb(0x155)]){_0xdf43da=_0x56c24c;break;}}if(_0xdf43da<0x0)return;let _0x4ec845=_0x2a13af[_0x104bcb(0x195)](_0x1bf992['DataStreamTreeTokenType'][_0x104bcb(0x12b)],_0xdf43da+0x1);if(!(_0x4ec845<0x0||_0x10b30a<_0xdf43da+0x1||_0x10b30a>_0x4ec845-0x1))return{'startOffset':_0xdf43da+0x1,'endOffset':Math['max'](_0xdf43da+0x1,_0x4ec845-0x1),'startTokenOffset':_0xdf43da,'endTokenOffset':_0x4ec845};}function _0x3c5970(_0x23f9a7){const _0xb131c0=_0xbfb6c9;return(0x0,_0x1bf992[_0xb131c0(0x185)])(_0x23f9a7)[_0xb131c0(0x128)]-0x1;}function _0x49c6cc(_0x14c5cd,_0x194f4f,_0x25124f,_0x4a3fe3){const _0x2684f3=_0xbfb6c9;let _0x2168e9=_0x3c5970(_0x194f4f),_0x6d6c43=(_0x14c5cd[_0x2684f3(0x130)]??[])['find'](_0x5847e2=>_0x5847e2[_0x2684f3(0x161)]===_0x2168e9+0x1);if(!_0x6d6c43||_0x4a3fe3!=null&&_0x6d6c43[_0x2684f3(0x161)]!==_0x4a3fe3||_0x25124f!=null&&(_0x25124f<_0x2168e9||_0x25124f>_0x6d6c43['startIndex']+0x1)||_0x14c5cd[_0x2684f3(0x189)][_0x6d6c43['startIndex']]!==_0x1bf992['DataStreamTreeTokenType'][_0x2684f3(0x1cb)])return null;let _0x418218=(0x0,_0x1bf992[_0x2684f3(0x10b)])(_0x14c5cd,_0x6d6c43),_0x2193f9=_0x14c5cd['dataStream'][_0x2684f3(0x16d)](_0x418218,_0x6d6c43[_0x2684f3(0x161)]);return Array[_0x2684f3(0x1aa)](_0x2193f9)[_0x2684f3(0x15d)](_0x5e090f=>_0x5e090f===_0x1bf992[_0x2684f3(0xf5)]['BLOCK_END'])?{'paragraph':_0x6d6c43,'endTokenOffset':_0x2168e9}:null;}function _0x51adf7(_0x2802c2,_0x349f7b){const _0x24a44e=_0xbfb6c9;var _0x46a8a3;let _0x2ece49=_0x3c5970(_0x349f7b),_0xac322=_0x2802c2[_0x24a44e(0x189)][_0x2ece49+0x1];(_0xac322===_0x1bf992[_0x24a44e(0xf5)][_0x24a44e(0x10c)]||_0xac322===void 0x0)&&_0x6fb4b1(_0x2802c2,_0x2ece49+0x1,_0x1bf992[_0x24a44e(0xf5)][_0x24a44e(0x1cb)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x1bf992[_0x24a44e(0xff)])(new Set((_0x46a8a3=_0x2802c2[_0x24a44e(0x130)])==null?void 0x0:_0x46a8a3['map'](_0x36022c=>_0x36022c[_0x24a44e(0x1ae)])))}]});}function _0x6fb4b1(_0x8f0487,_0x57b27b,_0x13099c,_0x4f0e8f={}){const _0x3e9945=_0xbfb6c9;var _0x4aa0c3,_0x1574b5;_0x13099c&&(_0x8f0487[_0x3e9945(0x189)]=''+_0x8f0487[_0x3e9945(0x189)]['slice'](0x0,_0x57b27b)+_0x13099c+_0x8f0487[_0x3e9945(0x189)][_0x3e9945(0x16d)](_0x57b27b),_0x18dbbf(_0x8f0487,_0x57b27b,_0x13099c[_0x3e9945(0x119)]),(_0x4aa0c3=_0x4f0e8f['paragraphs'])!=null&&_0x4aa0c3[_0x3e9945(0x119)]&&(_0x8f0487[_0x3e9945(0x130)]=[..._0x8f0487[_0x3e9945(0x130)]??[],..._0x4f0e8f[_0x3e9945(0x130)][_0x3e9945(0x117)](_0x1a7182=>({..._0x1a7182,'startIndex':_0x1a7182[_0x3e9945(0x161)]+_0x57b27b}))]['sort']((_0x475384,_0x44ea7b)=>_0x475384[_0x3e9945(0x161)]-_0x44ea7b['startIndex'])),(_0x1574b5=_0x4f0e8f[_0x3e9945(0x198)])!=null&&_0x1574b5[_0x3e9945(0x119)]&&(_0x8f0487[_0x3e9945(0x198)]=[..._0x8f0487[_0x3e9945(0x198)]??[],..._0x4f0e8f[_0x3e9945(0x198)][_0x3e9945(0x117)](_0x3ccae1=>({..._0x3ccae1,'startIndex':_0x3ccae1[_0x3e9945(0x161)]+_0x57b27b,'endIndex':_0x3ccae1[_0x3e9945(0x14b)]+_0x57b27b}))][_0x3e9945(0x103)]((_0x3596b6,_0x1660f3)=>_0x3596b6['startIndex']-_0x1660f3[_0x3e9945(0x161)])));}function _0x2633f9(_0x108954,_0xaab89b,_0x136ee0){const _0x2287f3=_0xbfb6c9;let _0x4ebcef=_0x136ee0-_0xaab89b;_0x108954[_0x2287f3(0x189)]=''+_0x108954[_0x2287f3(0x189)]['slice'](0x0,_0xaab89b)+_0x108954[_0x2287f3(0x189)][_0x2287f3(0x16d)](_0x136ee0),_0x245fb0(_0x108954,_0xaab89b,_0x4ebcef);}function _0x18dbbf(_0x59b5b7,_0x4b31b4,_0x4d9090){const _0x80fa1e=_0xbfb6c9;_0x59b5b7[_0x80fa1e(0x130)]=_0x3b0f5d(_0x59b5b7[_0x80fa1e(0x130)],_0x4b31b4,_0x4d9090),_0x59b5b7[_0x80fa1e(0x15e)]=_0x3b0f5d(_0x59b5b7['sectionBreaks'],_0x4b31b4,_0x4d9090),_0x59b5b7['customBlocks']=_0x3b0f5d(_0x59b5b7['customBlocks'],_0x4b31b4,_0x4d9090),_0x59b5b7['textRuns']=_0x8cdd3c(_0x59b5b7['textRuns'],_0x4b31b4,_0x4d9090),_0x59b5b7['tables']=_0x2b7774(_0x59b5b7['tables'],_0x4b31b4,_0x4d9090),_0x59b5b7[_0x80fa1e(0x15f)]=_0x57a5df(_0x59b5b7[_0x80fa1e(0x15f)],_0x4b31b4,_0x4d9090),_0x59b5b7[_0x80fa1e(0x141)]=_0x57a5df(_0x59b5b7[_0x80fa1e(0x141)],_0x4b31b4,_0x4d9090),_0x59b5b7[_0x80fa1e(0x132)]=_0x57a5df(_0x59b5b7[_0x80fa1e(0x132)],_0x4b31b4,_0x4d9090),_0x59b5b7[_0x80fa1e(0x198)]=_0x57a5df(_0x59b5b7[_0x80fa1e(0x198)],_0x4b31b4,_0x4d9090);}function _0x245fb0(_0x5efac7,_0x183178,_0x4b3ad0){const _0x343813=_0xbfb6c9;var _0x292875,_0x36527e;_0x5efac7['paragraphs']=_0x3e5bd5(_0x5efac7[_0x343813(0x130)],_0x183178,_0x4b3ad0),_0x5efac7['sectionBreaks']=_0x3e5bd5(_0x5efac7['sectionBreaks'],_0x183178,_0x4b3ad0),_0x5efac7[_0x343813(0x169)]=_0x3e5bd5(_0x5efac7[_0x343813(0x169)],_0x183178,_0x4b3ad0),_0x5efac7['textRuns']=(_0x292875=_0x237bc1((_0x36527e=_0x5efac7[_0x343813(0x19b)])==null?void 0x0:_0x36527e[_0x343813(0x117)](_0x39c669=>({..._0x39c669,'startIndex':_0x39c669['st'],'endIndex':_0x39c669['ed']})),_0x183178,_0x4b3ad0))==null?void 0x0:_0x292875[_0x343813(0x117)](_0x590938=>{let {startIndex:_0x5b3ef4,endIndex:_0x1eb509,..._0x1799e7}=_0x590938;return{..._0x1799e7,'st':_0x5b3ef4,'ed':_0x1eb509};}),_0x5efac7[_0x343813(0x175)]=_0x237bc1(_0x5efac7['tables'],_0x183178,_0x4b3ad0),_0x5efac7['columnGroups']=_0x42f28d(_0x5efac7['columnGroups'],_0x183178,_0x4b3ad0),_0x5efac7[_0x343813(0x141)]=_0x42f28d(_0x5efac7[_0x343813(0x141)],_0x183178,_0x4b3ad0),_0x5efac7[_0x343813(0x132)]=_0x42f28d(_0x5efac7[_0x343813(0x132)],_0x183178,_0x4b3ad0),_0x5efac7[_0x343813(0x198)]=_0x42f28d(_0x5efac7[_0x343813(0x198)],_0x183178,_0x4b3ad0);}function _0x3b0f5d(_0x36782c,_0x40d038,_0x30b70e){const _0x5f4ba2=_0xbfb6c9;return _0x36782c==null?void 0x0:_0x36782c[_0x5f4ba2(0x117)](_0x26a48e=>_0x26a48e['startIndex']>=_0x40d038?{..._0x26a48e,'startIndex':_0x26a48e['startIndex']+_0x30b70e}:_0x26a48e);}function _0x3e5bd5(_0x32472b,_0x26fb15,_0x6b7348){const _0x394c72=_0xbfb6c9;let _0x11d387=_0x26fb15+_0x6b7348;return _0x32472b==null?void 0x0:_0x32472b[_0x394c72(0x117)](_0x50bfe5=>_0x50bfe5[_0x394c72(0x161)]>=_0x26fb15&&_0x50bfe5[_0x394c72(0x161)]<_0x11d387?null:_0x50bfe5['startIndex']>=_0x11d387?{..._0x50bfe5,'startIndex':_0x50bfe5[_0x394c72(0x161)]-_0x6b7348}:_0x50bfe5)['filter'](_0x27dc67=>_0x27dc67!=null);}function _0x8cdd3c(_0x556ecf,_0x2dea6c,_0x27164e){const _0x5cf470=_0xbfb6c9;return _0x556ecf==null?void 0x0:_0x556ecf[_0x5cf470(0x117)](_0x48b415=>_0x48b415['st']>=_0x2dea6c?{..._0x48b415,'st':_0x48b415['st']+_0x27164e,'ed':_0x48b415['ed']+_0x27164e}:_0x48b415['ed']>_0x2dea6c?{..._0x48b415,'ed':_0x48b415['ed']+_0x27164e}:_0x48b415);}function _0x57a5df(_0x1f7276,_0x1d1464,_0x3f3a6e){const _0x3fd5d6=_0xbfb6c9;return _0x1f7276==null?void 0x0:_0x1f7276[_0x3fd5d6(0x117)](_0x529410=>(0x0,_0x1bf992['shiftInclusiveRangeOnInsert'])(_0x529410,_0x1d1464,_0x3f3a6e));}function _0x2b7774(_0x218de3,_0x3aa429,_0x4adfe0){const _0x34d5da=_0xbfb6c9;return _0x218de3==null?void 0x0:_0x218de3['map'](_0x1599f5=>(0x0,_0x1bf992[_0x34d5da(0x10a)])(_0x1599f5,_0x3aa429,_0x4adfe0));}function _0x42f28d(_0x38e579,_0x2a50d9,_0xe2e249){const _0x5c56df=_0xbfb6c9;return _0x38e579==null?void 0x0:_0x38e579[_0x5c56df(0x117)](_0x49d70d=>(0x0,_0x1bf992[_0x5c56df(0x1cc)])(_0x49d70d,_0x2a50d9,_0xe2e249))[_0x5c56df(0x13d)](_0x10d11d=>_0x10d11d!=null);}function _0x237bc1(_0x2d69d7,_0x1e83d1,_0x3d9341){return _0x2d69d7==null?void 0x0:_0x2d69d7['map'](_0x2eda29=>(0x0,_0x1bf992['shiftExclusiveRangeOnDelete'])(_0x2eda29,_0x1e83d1,_0x3d9341))['filter'](_0x3f2c99=>_0x3f2c99!=null);}let _0x4605b8={'id':'docs-code.command.insert-below','type':_0x1bf992[_0xbfb6c9(0x1a2)][_0xbfb6c9(0x15b)],'handler':_0x52439b=>{const _0x5390f9=_0xbfb6c9;var _0x22a1f3;if((0x0,_0x2df6c3['isHeaderFooterSelection'])(_0x2936ce(_0x52439b)))return!0x1;let _0x440ddb=(0x0,_0x2df6c3[_0x5390f9(0x1b6)])(_0x52439b);if(_0x440ddb)return _0x52439b[_0x5390f9(0x15c)](_0x1bf992['ICommandService'])[_0x5390f9(0x125)](_0xc84098['id'],{'startOffset':_0x440ddb[_0x5390f9(0xfa)],'endOffset':_0x440ddb[_0x5390f9(0x128)],'insertionMode':_0x5390f9(0x110),'unitId':_0x440ddb[_0x5390f9(0x1a8)]});let _0x3c2033=_0x1234da(_0x52439b);if(!_0x3c2033)return!0x1;let _0x592921=(_0x22a1f3=_0x52439b[_0x5390f9(0x15c)](_0x1bf992[_0x5390f9(0x12f)])[_0x5390f9(0x1c4)](_0x1bf992[_0x5390f9(0x19c)]['UNIVER_DOC']))==null?void 0x0:_0x22a1f3[_0x5390f9(0x18c)](),_0x189800=_0x592921?(0x0,_0x1bf992[_0x5390f9(0xf4)])(_0x592921,_0x3c2033):_0x3c2033['startIndex']+0x1;return _0x52439b[_0x5390f9(0x15c)](_0x1bf992[_0x5390f9(0x14a)])[_0x5390f9(0x125)](_0xc84098['id'],{'startOffset':_0x189800,'endOffset':_0x189800});}},_0x42495f={'id':_0xbfb6c9(0x1d1),'type':_0x1bf992[_0xbfb6c9(0x1a2)][_0xbfb6c9(0x15b)],'handler':()=>!0x0},_0xc84098={'id':_0xbfb6c9(0x10d),'type':_0x1bf992[_0xbfb6c9(0x1a2)][_0xbfb6c9(0x15b)],'handler':(_0x1f5e49,_0x1aa500)=>{const _0xc52b54=_0xbfb6c9;let _0x2b84a2=_0x3ec898(_0x1f5e49,_0x1aa500==null?void 0x0:_0x1aa500[_0xc52b54(0x1a8)]);if(!_0x2b84a2)return!0x1;let _0x478750=_0x2936ce(_0x1f5e49);if((0x0,_0x2df6c3[_0xc52b54(0x186)])(_0x478750))return!0x1;let _0x4d6aeb=_0x2b84a2['model'][_0xc52b54(0xfe)](_0x2b84a2[_0xc52b54(0x1a8)]),_0x22cdb8=_0x1ab8ce(_0x1aa500,_0x478750),_0x26e0fd=_0x43d8ba(_0x2b84a2['previousDocumentData'],_0x22cdb8);if(_0x26e0fd){if(_0x26e0fd['blockType']!==_0x1bf992[_0xc52b54(0xfc)][_0xc52b54(0x1b2)])return!0x1;let _0x7cb4c=_0x532d70({'blockId':_0x26e0fd[_0xc52b54(0x196)],'documentData':_0x2b84a2['previousDocumentData'],'metadata':_0x4d6aeb});if(!_0x7cb4c)return!0x1;let _0x5bf1fa=_0x12fa99(_0x2b84a2['commandService'],_0x2b84a2[_0xc52b54(0x16c)],_0x2b84a2[_0xc52b54(0x1a8)],_0x2b84a2[_0xc52b54(0x107)],_0x7cb4c[_0xc52b54(0x14f)],_0xc84098['id'],_0x7cb4c['cursorOffset']);return _0x5bf1fa&&_0x7cb4c['nextMetadata']&&_0x2b84a2[_0xc52b54(0x17f)]['deserialize'](_0x2b84a2['unitId'],_0x7cb4c[_0xc52b54(0x17a)]),_0x5bf1fa;}let _0x19966a=(_0x1aa500==null?void 0x0:_0x1aa500['blockId'])??(0x0,_0x1bf992[_0xc52b54(0x1ab)])(0x6),_0xa1445b;try{_0xa1445b=_0x2c700a({'blockId':_0x19966a,'config':_0x1aa500==null?void 0x0:_0x1aa500[_0xc52b54(0x197)],'documentData':_0x2b84a2['previousDocumentData'],'endOffset':_0x22cdb8==null?void 0x0:_0x22cdb8['endOffset'],'insertionMode':_0x1aa500==null?void 0x0:_0x1aa500[_0xc52b54(0x18b)],'metadata':_0x4d6aeb,'startOffset':_0x22cdb8==null?void 0x0:_0x22cdb8['startOffset']});}catch(_0x355e18){if(_0x355e18 instanceof _0x53dcec)return!0x1;throw _0x355e18;}let _0x21d919=_0x12fa99(_0x2b84a2[_0xc52b54(0x178)],_0x2b84a2['selectionManager'],_0x2b84a2[_0xc52b54(0x1a8)],_0x2b84a2['previousDocumentData'],_0xa1445b[_0xc52b54(0x14f)],_0xc84098['id'],_0xa1445b[_0xc52b54(0x151)]);return _0x21d919&&_0xa1445b['nextMetadata']&&_0x2b84a2[_0xc52b54(0x17f)][_0xc52b54(0x122)](_0x2b84a2['unitId'],_0xa1445b[_0xc52b54(0x17a)]),_0x21d919;}},_0x51316a={'id':_0xbfb6c9(0x15a),'type':_0x1bf992[_0xbfb6c9(0x1a2)][_0xbfb6c9(0x15b)],'handler':(_0x32556b,_0x33fb0a)=>{const _0x3fabe0=_0xbfb6c9;if(!_0x33fb0a)return!0x1;let _0x1fde9b=_0x3ec898(_0x32556b,_0x33fb0a[_0x3fabe0(0x1a8)]);if(!_0x1fde9b)return!0x1;let _0xa586e7=_0x4c3091({'blockId':_0x33fb0a[_0x3fabe0(0x196)],'config':_0x33fb0a['config'],'documentData':_0x1fde9b[_0x3fabe0(0x107)],'metadata':_0x1fde9b[_0x3fabe0(0x17f)]['serialize'](_0x1fde9b[_0x3fabe0(0x1a8)])});return _0xa586e7['nextMetadata']&&_0x1fde9b[_0x3fabe0(0x17f)][_0x3fabe0(0x122)](_0x1fde9b[_0x3fabe0(0x1a8)],_0xa586e7[_0x3fabe0(0x17a)]),!0x0;}},_0x5a3d0f={'id':_0xbfb6c9(0x1be),'type':_0x1bf992['CommandType']['COMMAND'],'handler':(_0x5c000b,_0x5520c7)=>_0x11e00e[_0xbfb6c9(0x1a4)](_0x5c000b,_0x5520c7)},_0x11e00e={'id':'docs-code.command.unwrap','type':_0x1bf992['CommandType']['COMMAND'],'handler':(_0x5c3abf,_0x32df51)=>{const _0x38b780=_0xbfb6c9;if(!_0x32df51)return!0x1;let _0x424926=_0x3ec898(_0x5c3abf,_0x32df51==null?void 0x0:_0x32df51[_0x38b780(0x1a8)]);if(!_0x424926)return!0x1;let _0x4aa789=_0x532d70({'blockId':_0x32df51[_0x38b780(0x196)],'documentData':_0x424926[_0x38b780(0x107)],'metadata':_0x424926[_0x38b780(0x17f)]['serialize'](_0x424926[_0x38b780(0x1a8)])});if(!_0x4aa789)return!0x1;let _0x25e999=_0x12fa99(_0x424926[_0x38b780(0x178)],_0x424926[_0x38b780(0x16c)],_0x424926[_0x38b780(0x1a8)],_0x424926[_0x38b780(0x107)],_0x4aa789['nextDocumentData'],_0x11e00e['id'],_0x4aa789['cursorOffset']);return _0x25e999&&_0x4aa789['nextMetadata']&&_0x424926[_0x38b780(0x17f)][_0x38b780(0x122)](_0x424926[_0x38b780(0x1a8)],_0x4aa789[_0x38b780(0x17a)]),_0x25e999;}},_0x1f9bf9={'id':'docs-code.command.remove','type':_0x1bf992[_0xbfb6c9(0x1a2)][_0xbfb6c9(0x15b)],'handler':(_0x3e5c87,_0x319482)=>{const _0x572b6d=_0xbfb6c9;if(!_0x319482)return!0x1;let _0xff6bed=_0x3ec898(_0x3e5c87,_0x319482==null?void 0x0:_0x319482['unitId']);if(!_0xff6bed)return!0x1;let _0x38e792=_0x57210f({'blockId':_0x319482[_0x572b6d(0x196)],'documentData':_0xff6bed[_0x572b6d(0x107)],'metadata':_0xff6bed[_0x572b6d(0x17f)]['serialize'](_0xff6bed[_0x572b6d(0x1a8)])});if(!_0x38e792)return!0x1;let _0x134117=_0x12fa99(_0xff6bed[_0x572b6d(0x178)],_0xff6bed['selectionManager'],_0xff6bed[_0x572b6d(0x1a8)],_0xff6bed[_0x572b6d(0x107)],_0x38e792[_0x572b6d(0x14f)],_0x1f9bf9['id'],_0x38e792['cursorOffset']);return _0x134117&&_0x38e792[_0x572b6d(0x17a)]&&_0xff6bed[_0x572b6d(0x17f)][_0x572b6d(0x122)](_0xff6bed[_0x572b6d(0x1a8)],_0x38e792['nextMetadata']),_0x134117;}},_0x2a80de={'id':_0xbfb6c9(0x137),'type':_0x1bf992[_0xbfb6c9(0x1a2)][_0xbfb6c9(0x15b)],'handler':(_0x4378a4,_0x516742)=>{const _0x3839e9=_0xbfb6c9;var _0x1886a6;let _0x4939f8=_0x3ec898(_0x4378a4,_0x516742==null?void 0x0:_0x516742[_0x3839e9(0x1a8)]);if(!_0x4939f8)return!0x1;let _0x424a16=(_0x516742==null?void 0x0:_0x516742[_0x3839e9(0x151)])??((_0x1886a6=_0x2936ce(_0x4378a4))==null?void 0x0:_0x1886a6[_0x3839e9(0xfa)]);if(_0x424a16==null)return!0x1;let _0x516983=_0xb1bfa({'cursorOffset':_0x424a16,'documentData':_0x4939f8['previousDocumentData'],'paragraphStartIndex':_0x516742==null?void 0x0:_0x516742['paragraphStartIndex']});return _0x516983?_0x12fa99(_0x4939f8[_0x3839e9(0x178)],_0x4939f8[_0x3839e9(0x16c)],_0x4939f8['unitId'],_0x4939f8['previousDocumentData'],_0x516983[_0x3839e9(0x14f)],_0x2a80de['id'],_0x516983[_0x3839e9(0x151)]):!0x1;}};function _0x3ec898(_0x5cc1b4,_0x3be010){const _0x122aba=_0xbfb6c9;let _0x461e2e=_0x5cc1b4[_0x122aba(0x15c)](_0x1bf992[_0x122aba(0x12f)]),_0x4f4d88=_0x3be010?_0x461e2e[_0x122aba(0x193)](_0x3be010,_0x1bf992[_0x122aba(0x19c)]['UNIVER_DOC']):_0x461e2e['getCurrentUnitOfType'](_0x1bf992[_0x122aba(0x19c)][_0x122aba(0x127)]);return _0x4f4d88?{'commandService':_0x5cc1b4['get'](_0x1bf992[_0x122aba(0x14a)]),'model':_0x5cc1b4['get'](_0x54c683),'previousDocumentData':_0x4f4d88[_0x122aba(0x19e)](),'selectionManager':_0x5cc1b4[_0x122aba(0x15c)](_0x2df6c3[_0x122aba(0x10f)]),'unitId':_0x4f4d88[_0x122aba(0x179)]()}:null;}function _0x2936ce(_0x50bd6f){const _0x4c397b=_0xbfb6c9;var _0x230d1d;return(_0x230d1d=_0x50bd6f[_0x4c397b(0x15c)](_0x2df6c3[_0x4c397b(0x10f)])['getTextRanges']())==null?void 0x0:_0x230d1d[0x0];}function _0x1ab8ce(_0x2b511f,_0x256e44){const _0x57f9a5=_0xbfb6c9;let _0x5c2ebb=(_0x2b511f==null?void 0x0:_0x2b511f['startOffset'])??(_0x256e44==null?void 0x0:_0x256e44[_0x57f9a5(0xfa)]),_0x415192=(_0x2b511f==null?void 0x0:_0x2b511f['endOffset'])??(_0x256e44==null?void 0x0:_0x256e44[_0x57f9a5(0x128)]);if(_0x5c2ebb!=null&&_0x415192!=null)return{'endOffset':Math['max'](_0x5c2ebb,_0x415192),'startOffset':Math[_0x57f9a5(0x1cd)](_0x5c2ebb,_0x415192)};}function _0x43d8ba(_0x55ab68,_0x5ec766){const _0x210d3f=_0xbfb6c9;var _0x373cda;if(!_0x5ec766)return;let _0x5b23b6=_0x35ff93(_0x5ec766);return(_0x373cda=_0x55ab68[_0x210d3f(0x1c8)])==null||(_0x373cda=_0x373cda[_0x210d3f(0x198)])==null?void 0x0:_0x373cda[_0x210d3f(0x13b)](_0x8e4dcf=>{const _0x5d9f2f=_0x210d3f;let _0x2bc65f=(0x0,_0x1bf992[_0x5d9f2f(0x185)])(_0x8e4dcf);return _0x5ec766[_0x5d9f2f(0xfa)]===_0x5ec766[_0x5d9f2f(0x128)]?(0x0,_0x1bf992[_0x5d9f2f(0x11b)])(_0x2bc65f,_0x5b23b6):(0x0,_0x1bf992[_0x5d9f2f(0x1c7)])(_0x2bc65f,_0x5b23b6);});}function _0x35ff93(_0x5cf37d){const _0x270168=_0xbfb6c9;return _0x5cf37d[_0x270168(0xfa)]===_0x5cf37d[_0x270168(0x128)]?_0x5cf37d[_0x270168(0xfa)]:_0x5cf37d[_0x270168(0xfa)]+0x1;}function _0x1234da(_0x4236a1){const _0x39f312=_0xbfb6c9;let _0x262e77=_0x2936ce(_0x4236a1);if(!_0x262e77)return null;let _0x20bc11=_0x4236a1['get'](_0x1bf992[_0x39f312(0x12f)])['getCurrentUnitOfType'](_0x1bf992[_0x39f312(0x19c)][_0x39f312(0x127)]),_0x246215=_0x20bc11==null?void 0x0:_0x20bc11[_0x39f312(0x18c)]();return _0x246215?_0x1bf992[_0x39f312(0x182)]['range'][_0x39f312(0x1c6)](_0x262e77,_0x246215[_0x39f312(0x130)]??[],_0x246215[_0x39f312(0x189)]??'')[0x0]??null:null;}function _0x1a5d8d(_0x1be830,_0x5d97e6){const _0x454086=_0xbfb6c9;let _0x4d838e=_0x1be830['body'],_0x54d58f=_0x5d97e6[_0x454086(0x1c8)],_0x9d8b9c=(0x0,_0x1bf992[_0x454086(0x188)])(_0x4d838e,_0x54d58f);return[_0x9d8b9c&&_0x54d58f?_0x3c5489(_0x54d58f,_0x9d8b9c):null,_0x9d8b9c?null:_0x5bce2f(_0x4d838e,_0x54d58f)][_0x454086(0x13d)](Boolean)[_0x454086(0x164)]((_0x25dd5f,_0x6aaaef)=>_0x1bf992[_0x454086(0x135)][_0x454086(0x1ce)](_0x25dd5f,_0x6aaaef),null);}function _0x3c5489(_0x140a6f,_0x59642){const _0x1ac2f4=_0xbfb6c9;let _0x373261=new _0x1bf992[(_0x1ac2f4(0x1ad))]();return _0x373261[_0x1ac2f4(0x1b3)](_0x59642[_0x1ac2f4(0x1c0)]),_0x59642[_0x1ac2f4(0x1bb)]>0x0&&_0x373261[_0x1ac2f4(0x163)](_0x59642[_0x1ac2f4(0x1bb)],(0x0,_0x1bf992['getBodySliceForTextXAction'])(_0x140a6f,_0x59642[_0x1ac2f4(0x1c0)],_0x59642[_0x1ac2f4(0x1c0)]+_0x59642['insertLength'],!0x1)),_0x59642[_0x1ac2f4(0x14e)]>0x0&&_0x373261[_0x1ac2f4(0x1a7)](_0x59642[_0x1ac2f4(0x14e)]),_0x1bf992['JSONX'][_0x1ac2f4(0x11e)]()[_0x1ac2f4(0x147)](_0x373261[_0x1ac2f4(0xfe)](),[_0x1ac2f4(0x1c8)]);}function _0x5bce2f(_0x4db011,_0xe8f364){const _0x55dcf0=_0xbfb6c9;let _0x173dae=[],_0x4233da=_0x4db011?_0x177b8c(_0x4db011):void 0x0,_0x4d9efb=_0xe8f364?_0x177b8c(_0xe8f364):void 0x0;for(let _0x4a933d of _0x47fd8b)_0x780f97(_0x1bf992[_0x55dcf0(0x135)][_0x55dcf0(0x11e)](),[_0x55dcf0(0x1c8),_0x4a933d],_0x4233da==null?void 0x0:_0x4233da[_0x4a933d],_0x4d9efb==null?void 0x0:_0x4d9efb[_0x4a933d],_0x173dae);return _0x173dae['reduce']((_0x3d9e3c,_0x56ba20)=>_0x1bf992[_0x55dcf0(0x135)][_0x55dcf0(0x1ce)](_0x3d9e3c,_0x56ba20),null);}let _0x47fd8b=[_0xbfb6c9(0x130),'sectionBreaks',_0xbfb6c9(0x175),_0xbfb6c9(0x15f),_0xbfb6c9(0x198),_0xbfb6c9(0x169),_0xbfb6c9(0x141),'customDecorations','textRuns'];function _0x177b8c(_0x34c0aa){return _0x34c0aa;}function _0x780f97(_0xd5a949,_0xa59383,_0x180c6a,_0x13f8ba,_0x1793c6){const _0x5d43d0=_0xbfb6c9;if(!_0xd8fdf1(_0x180c6a,_0x13f8ba)){if(_0x180c6a==null){_0x1793c6[_0x5d43d0(0x11a)](_0xd5a949['insertOp'](_0xa59383,_0x13f8ba));return;}if(_0x13f8ba==null){_0x1793c6[_0x5d43d0(0x11a)](_0xd5a949[_0x5d43d0(0x13e)](_0xa59383,_0x180c6a));return;}if(Array['isArray'](_0x180c6a)&&Array[_0x5d43d0(0x149)](_0x13f8ba)){_0x2b59fb(_0xd5a949,_0xa59383,_0x180c6a,_0x13f8ba,_0x1793c6);return;}if(_0x163dfe(_0x180c6a)&&_0x163dfe(_0x13f8ba)){new Set([...Object[_0x5d43d0(0x173)](_0x180c6a),...Object[_0x5d43d0(0x173)](_0x13f8ba)])[_0x5d43d0(0xfb)](_0x1e7282=>{_0x780f97(_0xd5a949,[..._0xa59383,_0x1e7282],_0x180c6a[_0x1e7282],_0x13f8ba[_0x1e7282],_0x1793c6);});return;}_0x1793c6[_0x5d43d0(0x11a)](_0xd5a949[_0x5d43d0(0x194)](_0xa59383,_0x180c6a,_0x13f8ba));}}function _0x2b59fb(_0x5e3853,_0x2234a3,_0x2ebfdd,_0x501b74,_0x98bfa1){const _0x38b9e5=_0xbfb6c9;if(_0x2ebfdd[_0x38b9e5(0x119)]===_0x501b74[_0x38b9e5(0x119)]){_0x2ebfdd[_0x38b9e5(0xfb)]((_0x3892dc,_0x3046be)=>_0x780f97(_0x5e3853,[..._0x2234a3,_0x3046be],_0x3892dc,_0x501b74[_0x3046be],_0x98bfa1));return;}let _0x53ce4b=0x0;for(;_0x53ce4b<_0x2ebfdd['length']&&_0x53ce4b<_0x501b74[_0x38b9e5(0x119)]&&_0xd8fdf1(_0x2ebfdd[_0x53ce4b],_0x501b74[_0x53ce4b]);)_0x53ce4b++;let _0x235b4b=_0x2ebfdd['length']-0x1,_0x40ee3b=_0x501b74[_0x38b9e5(0x119)]-0x1;for(;_0x235b4b>=_0x53ce4b&&_0x40ee3b>=_0x53ce4b&&_0xd8fdf1(_0x2ebfdd[_0x235b4b],_0x501b74[_0x40ee3b]);)_0x235b4b--,_0x40ee3b--;for(let _0x7b45b6=_0x235b4b;_0x7b45b6>=_0x53ce4b;_0x7b45b6--)_0x98bfa1[_0x38b9e5(0x11a)](_0x5e3853[_0x38b9e5(0x13e)]([..._0x2234a3,_0x7b45b6],_0x2ebfdd[_0x7b45b6]));for(let _0x454df5=_0x53ce4b;_0x454df5<=_0x40ee3b;_0x454df5++)_0x98bfa1[_0x38b9e5(0x11a)](_0x5e3853[_0x38b9e5(0xfd)]([..._0x2234a3,_0x454df5],_0x501b74[_0x454df5]));}function _0x163dfe(_0x1e189c){const _0x2ad9ea=_0xbfb6c9;return typeof _0x1e189c==_0x2ad9ea(0x152)&&!!_0x1e189c&&!Array[_0x2ad9ea(0x149)](_0x1e189c);}function _0xd8fdf1(_0x25f23c,_0x18318b){const _0x288762=_0xbfb6c9;return JSON[_0x288762(0x13c)](_0x25f23c)===JSON[_0x288762(0x13c)](_0x18318b);}function _0x12fa99(_0x43b405,_0xfd644a,_0xe71597,_0x27dfa6,_0x1d2883,_0x24298b,_0x42f410){const _0x409d98=_0xbfb6c9;let _0x11fb52=_0x1a5d8d(_0x27dfa6,_0x1d2883);return _0x11fb52?!!_0x43b405[_0x409d98(0x125)](_0x2df6c3[_0x409d98(0x14c)]['id'],{'unitId':_0xe71597,'actions':_0x11fb52,'textRanges':[{'startOffset':_0x42f410,'endOffset':_0x42f410,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x24298b}):(_0xfd644a[_0x409d98(0x11c)]([{'startOffset':_0x42f410,'endOffset':_0x42f410}],{'unitId':_0xe71597,'subUnitId':_0xe71597},!0x1),!0x0);}let _0x210c92=_0xbfb6c9(0x1a9);var _0x142797=_0xbfb6c9(0x1ca),_0x2fcf1c='1.0.0-rc.0';let _0x22d033={};function _0x20e616(_0x18f974,_0x1fe17f){return function(_0xd35e9d,_0xb99dd8){_0x1fe17f(_0xd35e9d,_0xb99dd8,_0x18f974);};}function _0x100c76(_0x56b871,_0x120b14,_0x42c74c,_0xdffac6){const _0x5b8034=_0xbfb6c9;var _0x47011a=arguments['length'],_0x33a2ad=_0x47011a<0x3?_0x120b14:_0xdffac6===null?_0xdffac6=Object['getOwnPropertyDescriptor'](_0x120b14,_0x42c74c):_0xdffac6,_0x3b12cd;if(typeof Reflect=='object'&&typeof Reflect[_0x5b8034(0x1b9)]==_0x5b8034(0x190))_0x33a2ad=Reflect[_0x5b8034(0x1b9)](_0x56b871,_0x120b14,_0x42c74c,_0xdffac6);else{for(var _0x6cc9bc=_0x56b871[_0x5b8034(0x119)]-0x1;_0x6cc9bc>=0x0;_0x6cc9bc--)(_0x3b12cd=_0x56b871[_0x6cc9bc])&&(_0x33a2ad=(_0x47011a<0x3?_0x3b12cd(_0x33a2ad):_0x47011a>0x3?_0x3b12cd(_0x120b14,_0x42c74c,_0x33a2ad):_0x3b12cd(_0x120b14,_0x42c74c))||_0x33a2ad);}return _0x47011a>0x3&&_0x33a2ad&&Object[_0x5b8034(0x181)](_0x120b14,_0x42c74c,_0x33a2ad),_0x33a2ad;}let _0x3025b1=class extends _0x1bf992[_0xbfb6c9(0x154)]{constructor(_0x46ec4e,_0x1735c1){const _0x36a393=_0xbfb6c9;super(),this[_0x36a393(0x1ac)]=_0x46ec4e,this[_0x36a393(0x1c2)]=_0x1735c1,this[_0x36a393(0x1b8)]();}[_0xbfb6c9(0x1b8)](){const _0x407111=_0xbfb6c9;this[_0x407111(0x19f)](this[_0x407111(0x1ac)][_0x407111(0x1bf)]({'pluginName':_0x210c92,'businesses':[_0x1bf992[_0x407111(0x19c)]['UNIVER_DOC']],'toJson':_0x3d9083=>JSON[_0x407111(0x13c)](this[_0x407111(0x1c2)][_0x407111(0xfe)](_0x3d9083)),'parseJson':_0x2d4f05=>_0x788e87(JSON[_0x407111(0x167)](_0x2d4f05)),'onLoad':(_0x281d4b,_0x55af05)=>this[_0x407111(0x1c2)][_0x407111(0x122)](_0x281d4b,_0x55af05),'onUnLoad':_0x5a805d=>this[_0x407111(0x1c2)][_0x407111(0x113)](_0x5a805d)}));}};_0x3025b1=_0x100c76([_0x20e616(0x0,_0x1bf992[_0xbfb6c9(0x12a)]),_0x20e616(0x1,(0x0,_0x1bf992['Inject'])(_0x54c683))],_0x3025b1);let _0x28acd0=class extends _0x1bf992[_0xbfb6c9(0x1c1)]{constructor(_0x1a0c21=_0x22d033,_0x842552,_0x199ab1,_0x194b1a){const _0xbd3a8=_0xbfb6c9;super(),this[_0xbd3a8(0x1bc)]=_0x1a0c21,this[_0xbd3a8(0x1b5)]=_0x842552,this['_commandService']=_0x199ab1,this['_configService']=_0x194b1a;let {..._0x4feaef}=(0x0,_0x1bf992['merge'])({},_0x22d033,this[_0xbd3a8(0x1bc)]);this[_0xbd3a8(0x1cf)][_0xbd3a8(0x19a)](_0xbd3a8(0x142),_0x4feaef);}[_0xbfb6c9(0x168)](){const _0x1344f8=_0xbfb6c9;this['_injector']['add']([_0x54c683]),this[_0x1344f8(0x1b5)][_0x1344f8(0x176)]([_0x3025b1]),this[_0x1344f8(0x1b5)]['get'](_0x54c683),this[_0x1344f8(0x1b5)][_0x1344f8(0x15c)](_0x3025b1),[_0xc84098,_0x4605b8,_0x51316a,_0x11e00e,_0x1f9bf9,_0x5a3d0f,_0x2a80de,_0x42495f,_0x44f6d3,_0x2ade09][_0x1344f8(0xfb)](_0xc8e486=>this[_0x1344f8(0x19f)](this[_0x1344f8(0x126)][_0x1344f8(0x170)](_0xc8e486)));}};_0x6f5f47(_0x28acd0,_0xbfb6c9(0x180),_0x210c92),_0x6f5f47(_0x28acd0,_0xbfb6c9(0xf7),_0x142797),_0x6f5f47(_0x28acd0,_0xbfb6c9(0xf6),_0x2fcf1c),_0x6f5f47(_0x28acd0,_0xbfb6c9(0xf3),_0x1bf992[_0xbfb6c9(0x19c)][_0xbfb6c9(0x127)]),_0x28acd0=_0x100c76([(0x0,_0x1bf992[_0xbfb6c9(0x166)])(_0x45d432['UniverLicensePlugin'],_0x2df6c3[_0xbfb6c9(0x106)]),_0x20e616(0x1,(0x0,_0x1bf992[_0xbfb6c9(0x172)])(_0x1bf992[_0xbfb6c9(0x131)])),_0x20e616(0x2,_0x1bf992[_0xbfb6c9(0x14a)]),_0x20e616(0x3,_0x1bf992['IConfigService'])],_0x28acd0),_0x341dde['DOCS_CODE_PLUGIN']=_0x210c92,_0x341dde[_0xbfb6c9(0x124)]=_0x2a80de,_0x341dde[_0xbfb6c9(0x18f)]=_0x42495f,_0x341dde[_0xbfb6c9(0x1b4)]=_0x4605b8,_0x341dde[_0xbfb6c9(0x14d)]=_0xc84098,_0x341dde[_0xbfb6c9(0x118)]=_0x54c683,_0x341dde[_0xbfb6c9(0x123)]=_0x1f9bf9,_0x341dde[_0xbfb6c9(0x1b7)]=_0x11e00e,_0x341dde[_0xbfb6c9(0x19d)]=_0x51316a,_0x341dde['RemoveDocsCodeConfigMutation']=_0x2ade09,_0x341dde['SetDocsCodeConfigMutation']=_0x44f6d3,Object['defineProperty'](_0x341dde,_0xbfb6c9(0x165),{'enumerable':!0x0,'get':function(){return _0x28acd0;}}),_0x341dde[_0xbfb6c9(0xf2)]=_0xb1bfa,_0x341dde[_0xbfb6c9(0x16b)]=_0x198b4c,_0x341dde[_0xbfb6c9(0x134)]=_0x464399,_0x341dde['normalizeDocsCodeMetadataResource']=_0x788e87;}));function _0x4e1d(){const _0x4ca522=['endTokenOffset','UniverDocsPlugin','previousDocumentData','35dMdEsR','1DkqhnT','shiftExclusiveRangeOnInsert','getParagraphContentStartOffset','SECTION_BREAK','docs-code.command.insert','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DocSelectionManagerService','insert-new','bullet','fromEntries','removeUnit','_change$','indentStart','asObservable','map','DocsCodeModel','length','push','containsInteriorInsertionOffset','replaceDocRanges','@univerjs/core','getInstance','removeCode','monospace','Document\x20body\x20is\x20required','deserialize','DocsCodeRemoveCommand','DocsCodeCancelEmptyParagraphCommand','syncExecuteCommand','_commandService','UNIVER_DOC','endOffset','some','IResourceManagerService','TABLE_CELL_END','spaceBelow','next','BLOCK_END','IUniverInstanceService','paragraphs','Injector','customDecorations','set','normalizeDocsCodeConfig','JSONX','1415148bWRCqV','docs-code.command.cancel-empty-paragraph','Subject','9bszHWW','toStringTag','find','stringify','filter','removeOp','amd','rxjs','customRanges','docs-code.config','docs-code.mutation.remove-config','blockType','BooleanNumber','getParagraphContentStartOffsets','editOp','dispose','isArray','ICommandService','endIndex','RichTextEditingMutation','DocsCodeInsertCommand','deleteLength','nextDocumentData','string','cursorOffset','object','textStyle','Disposable','TABLE_CELL_START','endsWith','_setResource','10HfGzGn','prototype','docs-code.command.update','COMMAND','get','every','sectionBreaks','columnGroups','1672956rjQdsV','startIndex','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','insert','reduce','UniverDocsCodePlugin','DependentOn','parse','onStarting','customBlocks','startTokenOffset','isCodeBoundaryDelete','selectionManager','slice','TRUE','UniverDocs','registerCommand','64891486BcXFqh','Inject','keys','@univerjs/docs','tables','add','columns','commandService','getUnitId','nextMetadata','convert-paragraph','@univerjs-pro/license','FALSE','BLOCK_START','model','pluginName','defineProperty','BuildTextUtils','Module','max','getBlockRangeInterval','isHeaderFooterSelection','_resources','getSingleDataStreamChange','dataStream','call','insertionMode','getBody','docs-code.mutation.set-config','metadata','DocsCodeConsumeBoundaryDeleteCommand','function','16053489BAJveY','right','getUnit','replaceOp','indexOf','blockId','config','blockRanges','default','setConfig','textRuns','UniverInstanceType','DocsCodeUpdateCommand','getSnapshot','disposeWithMe','symbol','8118264MbZkOM','CommandType','MUTATION','handler','direction','keepLines','delete','unitId','DOC_CODE_PLUGIN','from','generateRandomId','_resourceManagerService','TextX','paragraphId','3656092ALnSBZ','widowControl','entries','CODE','retain','DocsCodeInsertBelowCommand','_injector','getContentInsertRange','DocsCodeUnwrapCommand','_initResource','decorate','paragraphStyle','insertLength','_config','1892776VjwVxu','docs-code.command.exit','registerPluginResource','start','Plugin','_docsCodeModel','paragraph','getCurrentUnitOfType','codes','getParagraphsInRange','containsStreamIndex','body','getCodeConfig','@univerjs-pro/docs-code','PARAGRAPH','shiftInclusiveRangeOnDelete','min','compose','_configService','javascript','docs-code.command.consume-boundary-delete','buildCancelEmptyCodeParagraphActions','type','getParagraphFollowingBlockOffset','DataStreamTreeTokenType','version','packageName','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','UniverProLicense','startOffset','forEach','DocumentBlockRangeType','insertOp','serialize','createParagraphId','documentData','left','UniverCore','sort','clear'];_0x4e1d=function(){return _0x4ca522;};return _0x4e1d();}
|
|
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();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Code block model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.0.
|
|
65
|
-
"@univerjs/core": "1.0.
|
|
66
|
-
"@univerjs/docs": "1.0.
|
|
64
|
+
"@univerjs-pro/license": "1.0.1",
|
|
65
|
+
"@univerjs/core": "1.0.1",
|
|
66
|
+
"@univerjs/docs": "1.0.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs-infra/shared": "1.0.
|
|
69
|
+
"@univerjs-infra/shared": "1.0.1",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
|
-
"vitest": "^
|
|
72
|
+
"vitest": "^5.0.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"test": "vitest run",
|