@univerjs-pro/docs-code 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x234a(_0x4cc28a,_0x23e4e7){_0x4cc28a=_0x4cc28a-0x117;var _0x3d94e3=_0x3d94();var _0x234a4a=_0x3d94e3[_0x4cc28a];return _0x234a4a;}function _0x3d94(){var _0x4cee46=['DataStreamTreeTokenType','FDocumentCode','CODE','iterator','SECTION_BREAK','join','text','prototype','filter','startIndex','_document','DocumentBlockRangeType','getCodes','getText','defineProperty','_createFDocumentCode','endIndex','DocsCodeInsertCommand','decorate','DocsCodeUnwrapCommand','extend','createInstance','BLOCK_START','amd','symbol','9iaUSIw','6gpooyN','findCodeByText','string','updateConfig','unwrap','getCodeAt','blockId','FDocument','from','_getDocumentData','30QpQaxB','some','dataStream','function','call','87222LGMFsX','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getId','toPrimitive','@univerjs/core','786504YlpTIK','blockRanges','7527WuMPSm','Injector','Module','@univerjs-pro/docs-code','blockType','object','33704mISPxW','673175OQYoxF','PARAGRAPH','generateRandomId','length','ICommandService','UniverProDocsCodeFacade','_blockId','_unitId','UniverProDocsCode','config','get','_getBlockRanges','148MloBCx','describe','insertCode','getOwnPropertyDescriptor','map','syncExecuteCommand','body','DocsCodeUpdateCommand','getCodeConfig','2493080bLEGLh','_getBlockRange','normalizeDocsCodeConfig','419223VJDkrt','_injector','276nthdsm','UniverDocsFacade','findCodes','getCode','getConfig','getRange','DocsCodeModel','toStringTag','find'];_0x3d94=function(){return _0x4cee46;};return _0x3d94();}(function(_0xb9a1f9,_0x1ed05e){var _0x4bd94f=_0x234a,_0x28d0c5=_0xb9a1f9();while(!![]){try{var _0x2f47e1=-parseInt(_0x4bd94f(0x160))/0x1*(-parseInt(_0x4bd94f(0x16f))/0x2)+parseInt(_0x4bd94f(0x11c))/0x3*(parseInt(_0x4bd94f(0x12f))/0x4)+-parseInt(_0x4bd94f(0x123))/0x5+parseInt(_0x4bd94f(0x16a))/0x6*(parseInt(_0x4bd94f(0x13b))/0x7)+-parseInt(_0x4bd94f(0x11a))/0x8*(parseInt(_0x4bd94f(0x15f))/0x9)+-parseInt(_0x4bd94f(0x138))/0xa+-parseInt(_0x4bd94f(0x122))/0xb*(-parseInt(_0x4bd94f(0x13d))/0xc);if(_0x2f47e1===_0x1ed05e)break;else _0x28d0c5['push'](_0x28d0c5['shift']());}catch(_0x42ee81){_0x28d0c5['push'](_0x28d0c5['shift']());}}}(_0x3d94,0x3b1f0),function(_0xe7bbff,_0x3057bd){var _0x32288c=_0x234a;typeof exports==_0x32288c(0x121)&&typeof module<'u'?_0x3057bd(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define=='function'&&define[_0x32288c(0x15d)]?define(['exports',_0x32288c(0x11f),_0x32288c(0x119),'@univerjs/docs/facade'],_0x3057bd):(_0xe7bbff=typeof globalThis<'u'?globalThis:_0xe7bbff||self,_0x3057bd(_0xe7bbff[_0x32288c(0x128)]={},_0xe7bbff[_0x32288c(0x12b)],_0xe7bbff['UniverCore'],_0xe7bbff[_0x32288c(0x13e)]));}(this,function(_0x4341bf,_0x1103b9,_0x3006de,_0x4eaf56){var _0x167f2b=_0x234a;Object[_0x167f2b(0x154)](_0x4341bf,Symbol[_0x167f2b(0x144)],{'value':_0x167f2b(0x11e)});function _0x291587(_0x41d64e){'@babel/helpers - typeof';var _0x37fe1b=_0x167f2b;return _0x291587=typeof Symbol==_0x37fe1b(0x16d)&&typeof Symbol[_0x37fe1b(0x149)]==_0x37fe1b(0x15e)?function(_0x1817ca){return typeof _0x1817ca;}:function(_0x5bc5cb){var _0x17218f=_0x37fe1b;return _0x5bc5cb&&typeof Symbol==_0x17218f(0x16d)&&_0x5bc5cb['constructor']===Symbol&&_0x5bc5cb!==Symbol[_0x17218f(0x14d)]?_0x17218f(0x15e):typeof _0x5bc5cb;},_0x291587(_0x41d64e);}function _0x4085ce(_0x4ecb3e,_0x2770d5){var _0x246969=_0x167f2b;if(_0x291587(_0x4ecb3e)!='object'||!_0x4ecb3e)return _0x4ecb3e;var _0x564371=_0x4ecb3e[Symbol[_0x246969(0x118)]];if(_0x564371!==void 0x0){var _0xf8c4f2=_0x564371[_0x246969(0x16e)](_0x4ecb3e,_0x2770d5||'default');if(_0x291587(_0xf8c4f2)!=_0x246969(0x121))return _0xf8c4f2;throw TypeError(_0x246969(0x170));}return(_0x2770d5===_0x246969(0x162)?String:Number)(_0x4ecb3e);}function _0x2d51bf(_0x552d51){var _0x1fd0a7=_0x167f2b,_0x4560b9=_0x4085ce(_0x552d51,_0x1fd0a7(0x162));return _0x291587(_0x4560b9)==_0x1fd0a7(0x15e)?_0x4560b9:_0x4560b9+'';}function _0x29da60(_0x1c4106,_0x8bc384,_0x1389cc){var _0x5f3305=_0x167f2b;return(_0x8bc384=_0x2d51bf(_0x8bc384))in _0x1c4106?Object[_0x5f3305(0x154)](_0x1c4106,_0x8bc384,{'value':_0x1389cc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1c4106[_0x8bc384]=_0x1389cc,_0x1c4106;}function _0xfa31aa(_0x1c8347,_0x147768){return function(_0x3dcb5a,_0x4a54e4){_0x147768(_0x3dcb5a,_0x4a54e4,_0x1c8347);};}function _0x510b72(_0xafb693,_0x597f35,_0x359d7f,_0x4f6caf){var _0x3cd56e=_0x167f2b,_0x5c4c5e=arguments[_0x3cd56e(0x126)],_0x26e42a=_0x5c4c5e<0x3?_0x597f35:_0x4f6caf===null?_0x4f6caf=Object[_0x3cd56e(0x132)](_0x597f35,_0x359d7f):_0x4f6caf,_0x2c31ef;if(typeof Reflect==_0x3cd56e(0x121)&&typeof Reflect[_0x3cd56e(0x158)]==_0x3cd56e(0x16d))_0x26e42a=Reflect[_0x3cd56e(0x158)](_0xafb693,_0x597f35,_0x359d7f,_0x4f6caf);else{for(var _0x3a2244=_0xafb693[_0x3cd56e(0x126)]-0x1;_0x3a2244>=0x0;_0x3a2244--)(_0x2c31ef=_0xafb693[_0x3a2244])&&(_0x26e42a=(_0x5c4c5e<0x3?_0x2c31ef(_0x26e42a):_0x5c4c5e>0x3?_0x2c31ef(_0x597f35,_0x359d7f,_0x26e42a):_0x2c31ef(_0x597f35,_0x359d7f))||_0x26e42a);}return _0x5c4c5e>0x3&&_0x26e42a&&Object['defineProperty'](_0x597f35,_0x359d7f,_0x26e42a),_0x26e42a;}let _0x11fde9=class{constructor(_0xfbc843,_0xe050d1,_0x25256b){var _0x406d33=_0x167f2b;this[_0x406d33(0x150)]=_0xfbc843,this[_0x406d33(0x129)]=_0xe050d1,this[_0x406d33(0x13c)]=_0x25256b,_0x29da60(this,'_unitId',void 0x0),this['_unitId']=this['_document'][_0x406d33(0x117)]();}[_0x167f2b(0x117)](){var _0x775ed5=_0x167f2b;return this[_0x775ed5(0x129)];}[_0x167f2b(0x142)](){var _0x1fc5f4=_0x167f2b;let _0x2dab8c=this['_getBlockRange']();return _0x2dab8c?{'blockId':_0x2dab8c[_0x1fc5f4(0x166)],'endIndex':_0x2dab8c['endIndex'],'startIndex':_0x2dab8c[_0x1fc5f4(0x14f)]}:null;}[_0x167f2b(0x153)](){var _0x2e6ee6=_0x167f2b,_0x57e8b0;let _0x1fb704=this['_getBlockRange'](),_0xf4b47f=(_0x57e8b0=this[_0x2e6ee6(0x169)]()[_0x2e6ee6(0x135)])==null?void 0x0:_0x57e8b0[_0x2e6ee6(0x16c)];return!_0x1fb704||!_0xf4b47f?'':_0x97dc74(_0xf4b47f['slice'](_0x1fb704['startIndex']+0x1,_0x1fb704[_0x2e6ee6(0x156)]));}[_0x167f2b(0x130)](){var _0xd1cb11=_0x167f2b;let _0x2e660e=this['getRange']();return _0x2e660e?{..._0x2e660e,'config':this[_0xd1cb11(0x141)](),'text':this[_0xd1cb11(0x153)](),'type':_0x3006de[_0xd1cb11(0x151)]['CODE']}:null;}[_0x167f2b(0x141)](){var _0x530d1c=_0x167f2b;let _0x4a3452=this[_0x530d1c(0x13c)][_0x530d1c(0x12d)](_0x1103b9[_0x530d1c(0x143)]);return(0x0,_0x1103b9[_0x530d1c(0x13a)])(_0x4a3452[_0x530d1c(0x137)](this[_0x530d1c(0x12a)],this['_blockId']));}[_0x167f2b(0x163)](_0x86f0ba){var _0x43a569=_0x167f2b;return this[_0x43a569(0x13c)][_0x43a569(0x12d)](_0x3006de[_0x43a569(0x127)])[_0x43a569(0x134)](_0x1103b9[_0x43a569(0x136)]['id'],{'blockId':this[_0x43a569(0x129)],'config':_0x86f0ba[_0x43a569(0x12c)],'unitId':this[_0x43a569(0x12a)]});}[_0x167f2b(0x164)](){var _0x2c3d60=_0x167f2b;return this['_injector'][_0x2c3d60(0x12d)](_0x3006de[_0x2c3d60(0x127)])['syncExecuteCommand'](_0x1103b9[_0x2c3d60(0x159)]['id'],{'blockId':this[_0x2c3d60(0x129)],'unitId':this[_0x2c3d60(0x12a)]});}['remove'](){var _0x4da7a7=_0x167f2b;return this[_0x4da7a7(0x13c)][_0x4da7a7(0x12d)](_0x3006de[_0x4da7a7(0x127)])[_0x4da7a7(0x134)](_0x1103b9['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x4da7a7(0x129)],'unitId':this['_unitId']});}[_0x167f2b(0x139)](){var _0x11d2d2=_0x167f2b,_0x5e9491;return((_0x5e9491=this[_0x11d2d2(0x169)]()['body'])==null||(_0x5e9491=_0x5e9491['blockRanges'])==null?void 0x0:_0x5e9491['find'](_0x32f651=>_0x32f651['blockId']===this[_0x11d2d2(0x129)]&&_0x32f651['blockType']===_0x3006de[_0x11d2d2(0x151)][_0x11d2d2(0x148)]))??null;}['_getDocumentData'](){var _0x4932f5=_0x167f2b;return this[_0x4932f5(0x150)]['save']();}};_0x11fde9=_0x510b72([_0xfa31aa(0x2,(0x0,_0x3006de['Inject'])(_0x3006de[_0x167f2b(0x11d)]))],_0x11fde9);function _0x97dc74(_0x2c0f28){var _0x20a9fe=_0x167f2b;return Array[_0x20a9fe(0x168)](_0x2c0f28)['map'](_0x54cc78=>_0x54cc78===_0x3006de[_0x20a9fe(0x146)][_0x20a9fe(0x124)]?'\x0a':_0x54cc78)[_0x20a9fe(0x14e)](_0x1d3ca5=>_0x1d3ca5!==_0x3006de['DataStreamTreeTokenType'][_0x20a9fe(0x15c)]&&_0x1d3ca5!==_0x3006de[_0x20a9fe(0x146)]['BLOCK_END']&&_0x1d3ca5!==_0x3006de[_0x20a9fe(0x146)][_0x20a9fe(0x14a)])[_0x20a9fe(0x14b)]('')['replace'](/\n$/,'');}var _0x2ded15=class extends _0x4eaf56[_0x167f2b(0x167)]{[_0x167f2b(0x152)](){var _0x24851f=_0x167f2b;return this['_getBlockRanges']()['filter'](_0x183773=>_0x183773[_0x24851f(0x120)]===_0x3006de[_0x24851f(0x151)][_0x24851f(0x148)])[_0x24851f(0x133)](_0x1127fe=>this['_createFDocumentCode'](_0x1127fe[_0x24851f(0x166)]));}[_0x167f2b(0x140)](_0x54a557){var _0x218723=_0x167f2b;return this[_0x218723(0x12e)]()[_0x218723(0x16b)](_0x329671=>_0x329671[_0x218723(0x166)]===_0x54a557&&_0x329671[_0x218723(0x120)]===_0x3006de[_0x218723(0x151)][_0x218723(0x148)])?this[_0x218723(0x155)](_0x54a557):null;}[_0x167f2b(0x165)](_0x3c1ae4){var _0x51f305=_0x167f2b;let _0x344b11=this[_0x51f305(0x12e)]()[_0x51f305(0x145)](_0x15070e=>_0x15070e[_0x51f305(0x120)]===_0x3006de[_0x51f305(0x151)][_0x51f305(0x148)]&&_0x15070e['startIndex']<=_0x3c1ae4&&_0x3c1ae4<=_0x15070e[_0x51f305(0x156)]);return _0x344b11?this['_createFDocumentCode'](_0x344b11[_0x51f305(0x166)]):null;}[_0x167f2b(0x161)](_0x4d5a47){var _0x1c63d0=_0x167f2b;return this[_0x1c63d0(0x13f)](_0x4d5a47)[0x0]??null;}[_0x167f2b(0x13f)](_0x1ce4e5){var _0x5004d8=_0x167f2b;let _0x2b928f=typeof _0x1ce4e5==_0x5004d8(0x162)?{'text':_0x1ce4e5}:_0x1ce4e5;return this[_0x5004d8(0x152)]()[_0x5004d8(0x14e)](_0x378537=>!(_0x2b928f[_0x5004d8(0x166)]&&_0x378537[_0x5004d8(0x117)]()!==_0x2b928f['blockId']||_0x2b928f['text']&&!_0x378537[_0x5004d8(0x153)]()['includes'](_0x2b928f[_0x5004d8(0x14c)])));}[_0x167f2b(0x131)](_0x512e8a={},_0x4462d9={}){var _0x36d0b3=_0x167f2b;let _0x24b4e4=this[_0x36d0b3(0x13c)][_0x36d0b3(0x12d)](_0x3006de[_0x36d0b3(0x127)]),_0x113fbf=(0x0,_0x4eaf56['isParagraphFacade'])(_0x512e8a)?{..._0x4462d9,..._0x512e8a[_0x36d0b3(0x142)]()}:_0x512e8a,_0x1ab150=_0x113fbf['blockId']??(0x0,_0x3006de[_0x36d0b3(0x125)])(0x6);return _0x24b4e4[_0x36d0b3(0x134)](_0x1103b9[_0x36d0b3(0x157)]['id'],{..._0x113fbf,'blockId':_0x1ab150,'unitId':this['getId']()})?this[_0x36d0b3(0x140)](_0x1ab150):null;}[_0x167f2b(0x12e)](){var _0x2f4a7f=_0x167f2b,_0x430c7e;return((_0x430c7e=this['save']()[_0x2f4a7f(0x135)])==null?void 0x0:_0x430c7e[_0x2f4a7f(0x11b)])??[];}[_0x167f2b(0x155)](_0x236cec){var _0x1e4d1e=_0x167f2b;return this[_0x1e4d1e(0x13c)][_0x1e4d1e(0x15b)](_0x11fde9,this,_0x236cec);}};_0x4eaf56[_0x167f2b(0x167)][_0x167f2b(0x15a)](_0x2ded15),Object[_0x167f2b(0x154)](_0x4341bf,_0x167f2b(0x147),{'enumerable':!0x0,'get':function(){return _0x11fde9;}});}));
1
+ function _0x17ac(){var _0x41faca=['blockId','Inject','11932YbexsE','_unitId','toStringTag','getText','50hHyaDD','getId','some','105576AfrtgJ','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','save','blockType','startIndex','_getBlockRanges','findCodes','getCodeAt','iterator','config','syncExecuteCommand','DocumentBlockRangeType','generateRandomId','@univerjs/core','DocsCodeInsertCommand','insertCode','UniverProDocsCode','symbol','984rAelnq','from','updateConfig','getCodes','DocsCodeRemoveCommand','DataStreamTreeTokenType','constructor','text','find','get','_getDocumentData','getOwnPropertyDescriptor','FDocument','FDocumentCode','7755qxGFWe','describe','function','prototype','_injector','endIndex','_blockId','@univerjs/docs/facade','380WzHvjs','object','86550jdxptK','amd','defineProperty','unwrap','_document','ICommandService','DocsCodeUpdateCommand','filter','CODE','dataStream','getRange','PARAGRAPH','decorate','isParagraphFacade','body','DocsCodeUnwrapCommand','UniverDocsFacade','join','372105BWhkQr','call','createInstance','findCodeByText','217JAJspW','blockRanges','BLOCK_START','_createFDocumentCode','82456ZDEern','toPrimitive','length','default','normalizeDocsCodeConfig','31806bjqQct','getConfig','includes','getCode','_getBlockRange','350GTFPfU'];_0x17ac=function(){return _0x41faca;};return _0x17ac();}function _0x3731(_0x1febf4,_0x2becea){_0x1febf4=_0x1febf4-0x16b;var _0x17acc0=_0x17ac();var _0x3731a7=_0x17acc0[_0x1febf4];return _0x3731a7;}(function(_0x16ed95,_0x35147e){var _0x5c1eb6=_0x3731,_0x134902=_0x16ed95();while(!![]){try{var _0x554683=-parseInt(_0x5c1eb6(0x18d))/0x1+-parseInt(_0x5c1eb6(0x179))/0x2*(parseInt(_0x5c1eb6(0x171))/0x3)+parseInt(_0x5c1eb6(0x1a2))/0x4*(parseInt(_0x5c1eb6(0x19f))/0x5)+-parseInt(_0x5c1eb6(0x17b))/0x6+-parseInt(_0x5c1eb6(0x191))/0x7*(-parseInt(_0x5c1eb6(0x1a9))/0x8)+parseInt(_0x5c1eb6(0x19a))/0x9*(-parseInt(_0x5c1eb6(0x1a6))/0xa)+-parseInt(_0x5c1eb6(0x195))/0xb*(-parseInt(_0x5c1eb6(0x1bb))/0xc);if(_0x554683===_0x35147e)break;else _0x134902['push'](_0x134902['shift']());}catch(_0x475ac6){_0x134902['push'](_0x134902['shift']());}}}(_0x17ac,0x52557),function(_0x454562,_0x51015d){var _0x25a8d1=_0x3731;typeof exports==_0x25a8d1(0x17a)&&typeof module<'u'?_0x51015d(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x25a8d1(0x173)&&define[_0x25a8d1(0x17c)]?define(['exports','@univerjs-pro/docs-code',_0x25a8d1(0x1b6),_0x25a8d1(0x178)],_0x51015d):(_0x454562=typeof globalThis<'u'?globalThis:_0x454562||self,_0x51015d(_0x454562['UniverProDocsCodeFacade']={},_0x454562[_0x25a8d1(0x1b9)],_0x454562['UniverCore'],_0x454562[_0x25a8d1(0x18b)]));}(this,function(_0x345f28,_0x4a528b,_0x2b34dc,_0x3d0855){var _0x5a9290=_0x3731;Object[_0x5a9290(0x17d)](_0x345f28,Symbol[_0x5a9290(0x1a4)],{'value':'Module'});function _0x220721(_0x5a14a8){'@babel/helpers - typeof';var _0x2eba9f=_0x5a9290;return _0x220721=typeof Symbol=='function'&&typeof Symbol[_0x2eba9f(0x1b1)]=='symbol'?function(_0x8b7cab){return typeof _0x8b7cab;}:function(_0x4f65f5){var _0x5d6273=_0x2eba9f;return _0x4f65f5&&typeof Symbol==_0x5d6273(0x173)&&_0x4f65f5[_0x5d6273(0x1c1)]===Symbol&&_0x4f65f5!==Symbol[_0x5d6273(0x174)]?_0x5d6273(0x1ba):typeof _0x4f65f5;},_0x220721(_0x5a14a8);}function _0x2b0297(_0x589631,_0x1bf0dd){var _0x512649=_0x5a9290;if(_0x220721(_0x589631)!=_0x512649(0x17a)||!_0x589631)return _0x589631;var _0x12cea5=_0x589631[Symbol[_0x512649(0x196)]];if(_0x12cea5!==void 0x0){var _0x1aa205=_0x12cea5[_0x512649(0x18e)](_0x589631,_0x1bf0dd||_0x512649(0x198));if(_0x220721(_0x1aa205)!=_0x512649(0x17a))return _0x1aa205;throw TypeError(_0x512649(0x1aa));}return(_0x1bf0dd==='string'?String:Number)(_0x589631);}function _0x1c86c8(_0x5d04c9){var _0x2ddc5f=_0x5a9290,_0x37da7c=_0x2b0297(_0x5d04c9,'string');return _0x220721(_0x37da7c)==_0x2ddc5f(0x1ba)?_0x37da7c:_0x37da7c+'';}function _0x3d72a2(_0x26b239,_0x537b9e,_0x3b1b00){var _0x9962a=_0x5a9290;return(_0x537b9e=_0x1c86c8(_0x537b9e))in _0x26b239?Object[_0x9962a(0x17d)](_0x26b239,_0x537b9e,{'value':_0x3b1b00,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26b239[_0x537b9e]=_0x3b1b00,_0x26b239;}function _0x472db2(_0x2a2d89,_0x33f7ae){return function(_0x585c18,_0x1ee2a0){_0x33f7ae(_0x585c18,_0x1ee2a0,_0x2a2d89);};}function _0x1c7b0d(_0x3d1dc7,_0x434790,_0x2b3d17,_0x2cdf91){var _0x380ae6=_0x5a9290,_0x59d989=arguments['length'],_0x4e506f=_0x59d989<0x3?_0x434790:_0x2cdf91===null?_0x2cdf91=Object[_0x380ae6(0x16e)](_0x434790,_0x2b3d17):_0x2cdf91,_0x6b348a;if(typeof Reflect==_0x380ae6(0x17a)&&typeof Reflect[_0x380ae6(0x187)]=='function')_0x4e506f=Reflect[_0x380ae6(0x187)](_0x3d1dc7,_0x434790,_0x2b3d17,_0x2cdf91);else{for(var _0x3f045c=_0x3d1dc7[_0x380ae6(0x197)]-0x1;_0x3f045c>=0x0;_0x3f045c--)(_0x6b348a=_0x3d1dc7[_0x3f045c])&&(_0x4e506f=(_0x59d989<0x3?_0x6b348a(_0x4e506f):_0x59d989>0x3?_0x6b348a(_0x434790,_0x2b3d17,_0x4e506f):_0x6b348a(_0x434790,_0x2b3d17))||_0x4e506f);}return _0x59d989>0x3&&_0x4e506f&&Object['defineProperty'](_0x434790,_0x2b3d17,_0x4e506f),_0x4e506f;}let _0x24d2fb=class{constructor(_0x349904,_0x4c6724,_0x370995){var _0x5daf30=_0x5a9290;this[_0x5daf30(0x17f)]=_0x349904,this['_blockId']=_0x4c6724,this['_injector']=_0x370995,_0x3d72a2(this,_0x5daf30(0x1a3),void 0x0),this[_0x5daf30(0x1a3)]=this['_document'][_0x5daf30(0x1a7)]();}[_0x5a9290(0x1a7)](){return this['_blockId'];}[_0x5a9290(0x185)](){var _0x4b7b98=_0x5a9290;let _0x3afc64=this[_0x4b7b98(0x19e)]();return _0x3afc64?{'blockId':_0x3afc64['blockId'],'endIndex':_0x3afc64[_0x4b7b98(0x176)],'startIndex':_0x3afc64[_0x4b7b98(0x1ad)]}:null;}['getText'](){var _0x6f529a=_0x5a9290,_0x54cdfa;let _0x5bc0e5=this[_0x6f529a(0x19e)](),_0x569708=(_0x54cdfa=this[_0x6f529a(0x16d)]()[_0x6f529a(0x189)])==null?void 0x0:_0x54cdfa[_0x6f529a(0x184)];return!_0x5bc0e5||!_0x569708?'':_0x4b1272(_0x569708['slice'](_0x5bc0e5['startIndex']+0x1,_0x5bc0e5['endIndex']));}[_0x5a9290(0x172)](){var _0x52f138=_0x5a9290;let _0x568ca1=this[_0x52f138(0x185)]();return _0x568ca1?{..._0x568ca1,'config':this[_0x52f138(0x19b)](),'text':this[_0x52f138(0x1a5)](),'type':_0x2b34dc[_0x52f138(0x1b4)][_0x52f138(0x183)]}:null;}[_0x5a9290(0x19b)](){var _0x5a92ab=_0x5a9290;let _0x1a7814=this[_0x5a92ab(0x175)][_0x5a92ab(0x16c)](_0x4a528b['DocsCodeModel']);return(0x0,_0x4a528b[_0x5a92ab(0x199)])(_0x1a7814['getCodeConfig'](this[_0x5a92ab(0x1a3)],this['_blockId']));}[_0x5a9290(0x1bd)](_0x44cf95){var _0x4be9da=_0x5a9290;return this[_0x4be9da(0x175)]['get'](_0x2b34dc[_0x4be9da(0x180)])[_0x4be9da(0x1b3)](_0x4a528b[_0x4be9da(0x181)]['id'],{'blockId':this[_0x4be9da(0x177)],'config':_0x44cf95[_0x4be9da(0x1b2)],'unitId':this['_unitId']});}[_0x5a9290(0x17e)](){var _0x538811=_0x5a9290;return this[_0x538811(0x175)]['get'](_0x2b34dc['ICommandService'])['syncExecuteCommand'](_0x4a528b[_0x538811(0x18a)]['id'],{'blockId':this[_0x538811(0x177)],'unitId':this[_0x538811(0x1a3)]});}['remove'](){var _0x542645=_0x5a9290;return this[_0x542645(0x175)][_0x542645(0x16c)](_0x2b34dc[_0x542645(0x180)])[_0x542645(0x1b3)](_0x4a528b[_0x542645(0x1bf)]['id'],{'blockId':this[_0x542645(0x177)],'unitId':this['_unitId']});}[_0x5a9290(0x19e)](){var _0x2ba5ff=_0x5a9290,_0x55e818;return((_0x55e818=this[_0x2ba5ff(0x16d)]()[_0x2ba5ff(0x189)])==null||(_0x55e818=_0x55e818[_0x2ba5ff(0x192)])==null?void 0x0:_0x55e818[_0x2ba5ff(0x16b)](_0x4cd7e3=>_0x4cd7e3[_0x2ba5ff(0x1a0)]===this[_0x2ba5ff(0x177)]&&_0x4cd7e3[_0x2ba5ff(0x1ac)]===_0x2b34dc[_0x2ba5ff(0x1b4)]['CODE']))??null;}[_0x5a9290(0x16d)](){var _0x52a181=_0x5a9290;return this[_0x52a181(0x17f)][_0x52a181(0x1ab)]();}};_0x24d2fb=_0x1c7b0d([_0x472db2(0x2,(0x0,_0x2b34dc[_0x5a9290(0x1a1)])(_0x2b34dc['Injector']))],_0x24d2fb);function _0x4b1272(_0x20a104){var _0x533047=_0x5a9290;return Array[_0x533047(0x1bc)](_0x20a104)['map'](_0xcb428f=>_0xcb428f===_0x2b34dc['DataStreamTreeTokenType'][_0x533047(0x186)]?'\x0a':_0xcb428f)[_0x533047(0x182)](_0x590cef=>_0x590cef!==_0x2b34dc[_0x533047(0x1c0)][_0x533047(0x193)]&&_0x590cef!==_0x2b34dc['DataStreamTreeTokenType']['BLOCK_END']&&_0x590cef!==_0x2b34dc[_0x533047(0x1c0)]['SECTION_BREAK'])[_0x533047(0x18c)]('')['replace'](/\n$/,'');}var _0x4e4f97=class extends _0x3d0855[_0x5a9290(0x16f)]{[_0x5a9290(0x1be)](){var _0x443060=_0x5a9290;return this[_0x443060(0x1ae)]()['filter'](_0x7809f6=>_0x7809f6[_0x443060(0x1ac)]===_0x2b34dc[_0x443060(0x1b4)][_0x443060(0x183)])['map'](_0x14faaa=>this[_0x443060(0x194)](_0x14faaa[_0x443060(0x1a0)]));}[_0x5a9290(0x19d)](_0x52bb3b){var _0x5257e4=_0x5a9290;return this[_0x5257e4(0x1ae)]()[_0x5257e4(0x1a8)](_0x4358fb=>_0x4358fb[_0x5257e4(0x1a0)]===_0x52bb3b&&_0x4358fb[_0x5257e4(0x1ac)]===_0x2b34dc[_0x5257e4(0x1b4)][_0x5257e4(0x183)])?this[_0x5257e4(0x194)](_0x52bb3b):null;}[_0x5a9290(0x1b0)](_0x542e9e){var _0x111441=_0x5a9290;let _0x316b3d=this[_0x111441(0x1ae)]()[_0x111441(0x16b)](_0x3b527c=>_0x3b527c[_0x111441(0x1ac)]===_0x2b34dc['DocumentBlockRangeType'][_0x111441(0x183)]&&_0x3b527c[_0x111441(0x1ad)]<=_0x542e9e&&_0x542e9e<=_0x3b527c['endIndex']);return _0x316b3d?this[_0x111441(0x194)](_0x316b3d[_0x111441(0x1a0)]):null;}[_0x5a9290(0x190)](_0x4b1f0){return this['findCodes'](_0x4b1f0)[0x0]??null;}[_0x5a9290(0x1af)](_0x36320b){var _0x409370=_0x5a9290;let _0x512b30=typeof _0x36320b=='string'?{'text':_0x36320b}:_0x36320b;return this[_0x409370(0x1be)]()[_0x409370(0x182)](_0x4d6610=>!(_0x512b30['blockId']&&_0x4d6610[_0x409370(0x1a7)]()!==_0x512b30[_0x409370(0x1a0)]||_0x512b30[_0x409370(0x1c2)]&&!_0x4d6610[_0x409370(0x1a5)]()[_0x409370(0x19c)](_0x512b30['text'])));}[_0x5a9290(0x1b8)](_0x571590={},_0x576ca7={}){var _0x35e6e4=_0x5a9290;let _0x3c9ef0=this[_0x35e6e4(0x175)][_0x35e6e4(0x16c)](_0x2b34dc['ICommandService']),_0x1141a7=(0x0,_0x3d0855[_0x35e6e4(0x188)])(_0x571590)?{..._0x576ca7,..._0x571590[_0x35e6e4(0x185)]()}:_0x571590,_0x1dc029=_0x1141a7[_0x35e6e4(0x1a0)]??(0x0,_0x2b34dc[_0x35e6e4(0x1b5)])(0x6);return _0x3c9ef0['syncExecuteCommand'](_0x4a528b[_0x35e6e4(0x1b7)]['id'],{..._0x1141a7,'blockId':_0x1dc029,'unitId':this['getId']()})?this[_0x35e6e4(0x19d)](_0x1dc029):null;}[_0x5a9290(0x1ae)](){var _0x465f4d=_0x5a9290,_0x1960a2;return((_0x1960a2=this[_0x465f4d(0x1ab)]()[_0x465f4d(0x189)])==null?void 0x0:_0x1960a2[_0x465f4d(0x192)])??[];}[_0x5a9290(0x194)](_0x2a9f3b){var _0x61727f=_0x5a9290;return this['_injector'][_0x61727f(0x18f)](_0x24d2fb,this,_0x2a9f3b);}};_0x3d0855[_0x5a9290(0x16f)]['extend'](_0x4e4f97),Object[_0x5a9290(0x17d)](_0x345f28,_0x5a9290(0x170),{'enumerable':!0x0,'get':function(){return _0x24d2fb;}});}));
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4537(_0x5d13e0,_0x25759e){_0x5d13e0=_0x5d13e0-0x1c3;const _0x5c3e67=_0x5c3e();let _0x4537f2=_0x5c3e67[_0x5d13e0];return _0x4537f2;}function _0x5c3e(){const _0x3f30fb=['UniverDocs','DataStreamTreeTokenType','getParagraphContentStartOffset','shiftExclusiveRangeOnDelete','1834554ilyaJo','_change$','direction','decorate','normalizeDocsCodeMetadataResource','BuildTextUtils','iterator','getParagraphsInRange','next','indentStart','isCodeBoundaryDelete','constructor','pluginName','registerPluginResource','docs-code.command.insert-below','5BHQPHl','symbol','paragraphStyle','createParagraphId','endTokenOffset','registerCommand','PARAGRAPH','DOCS_CODE_PLUGIN','metadata','isHeaderFooterSelection','columns','textStyle','3658444vPvYIF','sectionBreaks','docs-code.command.update','insert-new','insert','customDecorations','BLOCK_START','set','SECTION_BREAK','DocsCodeConsumeBoundaryDeleteCommand','UniverLicensePlugin','entries','endOffset','default','handler','merge','setCodeConfig','string','_initResource','BLOCK_END','removeUnit','TRUE','clear','customBlocks','sort','body','unitId','deserialize','asObservable','DocsCodeInsertBelowCommand','TABLE_CELL_END','CODE','1337681plKntl','textRuns','customRanges','8019888eWwKQE','previousDocumentData','@univerjs/docs','range','getInstance','fromEntries','map','replaceDocRanges','Document\x20body\x20is\x20required','type','amd','delete','filter','disposeWithMe','find','getCurrentUnitOfType','paragraphStartIndex','keepLines','CommandType','BooleanNumber','columnGroups','dataStream','commandService','get','18CstVOM','MUTATION','getBodySliceForTextXAction','startTokenOffset','monospace','function','cursorOffset','getBlockRangeInterval','UNIVER_DOC','IResourceManagerService','@univerjs-pro/license','JSONX','complete','insertionMode','RichTextEditingMutation','_docsCodeModel','@univerjs-pro/docs-code','stringify','blockId','change$','getUnit','blockType','isArray','min','paragraphs','UniverDocsCodePlugin','shiftExclusiveRangeOnInsert','tables','spaceAbove','blockRanges','slice','13755hKEHTo','DocsCodeModel','getSnapshot','toPrimitive','paragraphId','insertLength','498750isVFac','dispose','1.1.0','keys','reduce','DocsCodeCancelEmptyParagraphCommand','version','deleteLength','endIndex','TABLE_CELL_START','nextMetadata','_setResource','removeOp','@univerjs/core','DocsCodeRemoveCommand','Module','_injector','push','_commandService','length','some','RemoveDocsCodeConfigMutation','COMMAND','normalizeDocsCodeConfig','DocSelectionManagerService','call','nextDocumentData','DocsCodeUnwrapCommand','indexOf','serialize','spaceBelow','IConfigService','shiftInclusiveRangeOnInsert','UniverProLicense','defineProperty','widowControl','docs-code.command.exit','bullet','UniverCore','_configService','5958402QDwLPJ','IUniverInstanceService','setConfig','DOC_CODE_PLUGIN','codes','onStarting','endsWith','object','documentData','Subject','TextX','every','max','left','Injector','DocsCodeUpdateCommand','compose','removeCode','packageName','start','toStringTag','DocumentBlockRangeType','_resources','indentEnd','Plugin','getOwnPropertyDescriptor','startOffset','Inject','forEach','rxjs','right','config','javascript','containsInteriorInsertionOffset','_resourceManagerService','UniverInstanceType','ICommandService','retain','parse','_config','selectionManager','syncExecuteCommand','docs-code.command.remove','model','getUnitId','UniverDocsPlugin','docs-code.command.insert','containsStreamIndex','getParagraphContentStartOffsets','insertOp','getParagraphFollowingBlockOffset','DependentOn','startIndex','getBody','exports','SetDocsCodeConfigMutation','shiftInclusiveRangeOnDelete'];_0x5c3e=function(){return _0x3f30fb;};return _0x5c3e();}(function(_0x17bdc0,_0x78566d){const _0x5c72c3=_0x4537,_0x4cd405=_0x17bdc0();while(!![]){try{const _0x5b09ff=-parseInt(_0x5c72c3(0x1d8))/0x1+-parseInt(_0x5c72c3(0x218))/0x2+parseInt(_0x5c72c3(0x27d))/0x3+-parseInt(_0x5c72c3(0x298))/0x4*(-parseInt(_0x5c72c3(0x28c))/0x5)+-parseInt(_0x5c72c3(0x240))/0x6+-parseInt(_0x5c72c3(0x212))/0x7+parseInt(_0x5c72c3(0x1db))/0x8*(parseInt(_0x5c72c3(0x1f3))/0x9);if(_0x5b09ff===_0x78566d)break;else _0x4cd405['push'](_0x4cd405['shift']());}catch(_0x483274){_0x4cd405['push'](_0x4cd405['shift']());}}}(_0x5c3e,0xe7b15),function(_0x41f373,_0x2c4e81){const _0x74b962=_0x4537;typeof exports==_0x74b962(0x247)&&typeof module<'u'?_0x2c4e81(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x74b962(0x1f8)&&define[_0x74b962(0x1e5)]?define([_0x74b962(0x276),_0x74b962(0x225),_0x74b962(0x25d),_0x74b962(0x1dd),_0x74b962(0x1fd)],_0x2c4e81):(_0x41f373=typeof globalThis<'u'?globalThis:_0x41f373||self,_0x2c4e81(_0x41f373['UniverProDocsCode']={},_0x41f373[_0x74b962(0x23e)],_0x41f373[_0x74b962(0x25d)],_0x41f373[_0x74b962(0x279)],_0x41f373[_0x74b962(0x239)]));}(this,function(_0x20031a,_0x2a5329,_0x41899e,_0xd998f,_0x2a235e){const _0x5eba1f=_0x4537;Object['defineProperty'](_0x20031a,Symbol[_0x5eba1f(0x254)],{'value':_0x5eba1f(0x227)});let _0x198dee={'language':_0x5eba1f(0x260),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x4f674c(_0x57dc5b){return{..._0x198dee,..._0x57dc5b};}function _0x3bd20a(_0x519ae3){const _0x3ad0d3=_0x5eba1f;let _0x5c906c=(_0x519ae3==null?void 0x0:_0x519ae3[_0x3ad0d3(0x244)])??{};return{'codes':Object[_0x3ad0d3(0x1e0)](Object[_0x3ad0d3(0x1c3)](_0x5c906c)['map'](([_0x545bf1,_0x1c67fc])=>[_0x545bf1,_0x4f674c(_0x1c67fc)]))};}function _0x4f0ab1(_0x488195,_0x462ea4,_0x277f53){const _0x2dcf0c=_0x5eba1f;let _0x5014ce=_0x3bd20a(_0x488195);return _0x5014ce[_0x2dcf0c(0x244)][_0x462ea4]=_0x4f674c({..._0x5014ce[_0x2dcf0c(0x244)][_0x462ea4],..._0x277f53}),_0x5014ce;}function _0x36eeb2(_0x1d79de,_0x1dcfdd){let _0x46911d=_0x3bd20a(_0x1d79de);return delete _0x46911d['codes'][_0x1dcfdd],_0x46911d;}function _0x504125(_0x3b7d68){'@babel/helpers - typeof';const _0x170ef5=_0x5eba1f;return _0x504125=typeof Symbol==_0x170ef5(0x1f8)&&typeof Symbol[_0x170ef5(0x283)]==_0x170ef5(0x28d)?function(_0x5a97b4){return typeof _0x5a97b4;}:function(_0x3e6a67){const _0x537f53=_0x170ef5;return _0x3e6a67&&typeof Symbol=='function'&&_0x3e6a67[_0x537f53(0x288)]===Symbol&&_0x3e6a67!==Symbol['prototype']?_0x537f53(0x28d):typeof _0x3e6a67;},_0x504125(_0x3b7d68);}function _0x5da08f(_0x3cb904,_0x19e73b){const _0x460305=_0x5eba1f;if(_0x504125(_0x3cb904)!='object'||!_0x3cb904)return _0x3cb904;var _0x4173f7=_0x3cb904[Symbol[_0x460305(0x215)]];if(_0x4173f7!==void 0x0){var _0x3618af=_0x4173f7[_0x460305(0x231)](_0x3cb904,_0x19e73b||_0x460305(0x1c5));if(_0x504125(_0x3618af)!='object')return _0x3618af;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x19e73b===_0x460305(0x1c9)?String:Number)(_0x3cb904);}function _0x322098(_0x9407d3){const _0x4271fb=_0x5eba1f;var _0xda2859=_0x5da08f(_0x9407d3,_0x4271fb(0x1c9));return _0x504125(_0xda2859)==_0x4271fb(0x28d)?_0xda2859:_0xda2859+'';}function _0x18c008(_0x4db3e7,_0x3fe1cb,_0x22368a){const _0x30f953=_0x5eba1f;return(_0x3fe1cb=_0x322098(_0x3fe1cb))in _0x4db3e7?Object[_0x30f953(0x23a)](_0x4db3e7,_0x3fe1cb,{'value':_0x22368a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4db3e7[_0x3fe1cb]=_0x22368a,_0x4db3e7;}var _0x2b6374=class extends _0x2a5329['Disposable']{constructor(..._0x4e22ef){const _0x50653a=_0x5eba1f;super(..._0x4e22ef),_0x18c008(this,_0x50653a(0x256),new Map()),_0x18c008(this,_0x50653a(0x27e),new _0x41899e[(_0x50653a(0x249))]()),_0x18c008(this,_0x50653a(0x206),this[_0x50653a(0x27e)][_0x50653a(0x1d4)]());}['getCodeConfig'](_0x285b36,_0x4df6d1){const _0x37edf4=_0x5eba1f;return _0x3bd20a(this['_resources'][_0x37edf4(0x1f2)](_0x285b36))[_0x37edf4(0x244)][_0x4df6d1];}[_0x5eba1f(0x1c8)](_0x23838d,_0x46ae98,_0x3db67b){const _0x123334=_0x5eba1f;this[_0x123334(0x223)](_0x23838d,_0x46ae98,_0x4f0ab1(this[_0x123334(0x256)]['get'](_0x23838d),_0x46ae98,_0x3db67b));}[_0x5eba1f(0x251)](_0x18202e,_0xf4b127){const _0x2cec2a=_0x5eba1f;this['_setResource'](_0x18202e,_0xf4b127,_0x36eeb2(this[_0x2cec2a(0x256)][_0x2cec2a(0x1f2)](_0x18202e),_0xf4b127));}[_0x5eba1f(0x235)](_0x699946){const _0x307def=_0x5eba1f;return _0x3bd20a(this[_0x307def(0x256)][_0x307def(0x1f2)](_0x699946));}['deserialize'](_0x3f3fee,_0x2b8dbe){const _0x53c7a9=_0x5eba1f;this[_0x53c7a9(0x256)][_0x53c7a9(0x29f)](_0x3f3fee,_0x3bd20a(_0x2b8dbe)),this['_change$'][_0x53c7a9(0x285)]({'unitId':_0x3f3fee});}[_0x5eba1f(0x1cc)](_0x325327){const _0x356442=_0x5eba1f;this[_0x356442(0x256)][_0x356442(0x1e6)](_0x325327),this[_0x356442(0x27e)][_0x356442(0x285)]({'unitId':_0x325327});}[_0x5eba1f(0x219)](){const _0x258592=_0x5eba1f;super[_0x258592(0x219)](),this[_0x258592(0x256)][_0x258592(0x1ce)](),this[_0x258592(0x27e)][_0x258592(0x1ff)]();}[_0x5eba1f(0x223)](_0x840f0a,_0x4a2bcf,_0x413d6f){const _0xe429e=_0x5eba1f;this['_resources'][_0xe429e(0x29f)](_0x840f0a,_0x413d6f),this[_0xe429e(0x27e)][_0xe429e(0x285)]({'unitId':_0x840f0a,'blockId':_0x4a2bcf});}};let _0xfea112={'id':'docs-code.mutation.set-config','type':_0x2a5329['CommandType'][_0x5eba1f(0x1f4)],'handler':(_0x5990c2,_0x5133f5)=>!(_0x5133f5!=null&&_0x5133f5[_0x5eba1f(0x1d2)])||!_0x5133f5[_0x5eba1f(0x205)]?!0x1:(_0x5990c2[_0x5eba1f(0x1f2)](_0x2b6374)[_0x5eba1f(0x1c8)](_0x5133f5[_0x5eba1f(0x1d2)],_0x5133f5[_0x5eba1f(0x205)],_0x5133f5[_0x5eba1f(0x25f)]),!0x0)},_0x46da34={'id':'docs-code.mutation.remove-config','type':_0x2a5329['CommandType'][_0x5eba1f(0x1f4)],'handler':(_0x4ac368,_0x109409)=>!(_0x109409!=null&&_0x109409[_0x5eba1f(0x1d2)])||!_0x109409[_0x5eba1f(0x205)]?!0x1:(_0x4ac368[_0x5eba1f(0x1f2)](_0x2b6374)['removeCode'](_0x109409[_0x5eba1f(0x1d2)],_0x109409[_0x5eba1f(0x205)]),!0x0)},_0x128267=_0x5eba1f(0x1f7);var _0x2eaf3f=class extends Error{constructor(_0xe78468='Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries'){super(_0xe78468);}};function _0x405f43(_0x3d8834){const _0x4e2ce1=_0x5eba1f;var _0x45352b;let _0x42e067=_0x2dcdc4(_0x3d8834[_0x4e2ce1(0x248)]),_0x48dcc5=_0x321b75(_0x42e067),_0xeeefd4=_0x410a13(_0x3d8834['startOffset'],_0x3d8834[_0x4e2ce1(0x1c4)]),_0x3d9c8f=_0xeeefd4?(_0x45352b=_0x48dcc5[_0x4e2ce1(0x210)])==null?void 0x0:_0x45352b[_0x4e2ce1(0x1e9)](_0x50b346=>{const _0x538a4f=_0x4e2ce1;let _0x46ca62=(0x0,_0x2a5329[_0x538a4f(0x1fa)])(_0x50b346);return _0x46ca62[_0x538a4f(0x25a)]===_0xeeefd4[_0x538a4f(0x25a)]&&_0x46ca62[_0x538a4f(0x1c4)]===_0xeeefd4[_0x538a4f(0x1c4)];}):void 0x0,{startOffset:_0x1565f0,endOffset:_0x456472}=_0x3d9c8f?_0xeeefd4:_0x33873c(_0x48dcc5,_0x3d8834['startOffset'],_0x3d8834[_0x4e2ce1(0x1c4)],_0x3d8834['insertionMode']);if(!_0x3d9c8f&&_0x1091cc(_0x48dcc5,_0x1565f0,_0x456472))throw new _0x2eaf3f('Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block');let _0xb92747=_0x278bb1(_0x48dcc5,_0x1565f0,_0x456472),_0x17f672=(_0x3d9c8f==null?void 0x0:_0x3d9c8f[_0x4e2ce1(0x205)])??_0x3d8834['blockId'],_0x180c35=_0x4f0ab1(_0x3d8834['metadata'],_0x17f672,{..._0x198dee,..._0x3d8834[_0x4e2ce1(0x25f)]});if(_0x3d9c8f)return _0x3d9c8f['blockType']=_0x2a5329[_0x4e2ce1(0x255)][_0x4e2ce1(0x1d7)],_0x46ef3e(_0x48dcc5,_0x1565f0,_0x456472),_0x438f18(_0x48dcc5,_0x1565f0,_0x456472,_0xb92747),_0x11e109(_0x48dcc5,_0x3d9c8f),{'nextDocumentData':_0x42e067,'nextMetadata':_0x180c35,'cursorOffset':_0x1565f0+0x1};if(_0x1565f0===_0x456472){var _0x4c710d,_0x4c8e45;let _0x20b1b1=''+_0x2a5329['DataStreamTreeTokenType'][_0x4e2ce1(0x29e)]+_0x2a5329[_0x4e2ce1(0x27a)][_0x4e2ce1(0x292)]+_0x2a5329[_0x4e2ce1(0x27a)]['BLOCK_END'];_0x5f3461(_0x48dcc5,_0x1565f0,_0x20b1b1,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x2a5329[_0x4e2ce1(0x28f)])(new Set((_0x4c710d=_0x48dcc5[_0x4e2ce1(0x20b)])==null?void 0x0:_0x4c710d['map'](_0xc72b28=>_0xc72b28[_0x4e2ce1(0x216)]))),'paragraphStyle':_0x2c098a(!0x0,!0x0,_0xb92747)}],'blockRanges':[{'blockId':_0x17f672,'blockType':_0x2a5329[_0x4e2ce1(0x255)][_0x4e2ce1(0x1d7)],'startIndex':0x0,'endIndex':_0x20b1b1[_0x4e2ce1(0x22b)]-0x1}]});let _0x5d0e1b=(_0x4c8e45=_0x48dcc5[_0x4e2ce1(0x210)])==null?void 0x0:_0x4c8e45[_0x4e2ce1(0x1e9)](_0x3ba54d=>_0x3ba54d[_0x4e2ce1(0x205)]===_0x17f672);return _0x5d0e1b&&_0x11e109(_0x48dcc5,_0x5d0e1b),{'nextDocumentData':_0x42e067,'nextMetadata':_0x180c35,'cursorOffset':_0x1565f0+0x1};}_0x5f3461(_0x48dcc5,_0x456472,_0x2a5329[_0x4e2ce1(0x27a)][_0x4e2ce1(0x1cb)]),_0x5f3461(_0x48dcc5,_0x1565f0,_0x2a5329['DataStreamTreeTokenType'][_0x4e2ce1(0x29e)]),_0x438f18(_0x48dcc5,_0x1565f0,_0x456472+0x1,_0xb92747);let _0xfe03a9={'blockId':_0x17f672,'blockType':_0x2a5329[_0x4e2ce1(0x255)]['CODE'],'startIndex':_0x1565f0,'endIndex':_0x456472+0x1};return _0x48dcc5['blockRanges']=[..._0x48dcc5[_0x4e2ce1(0x210)]??[],_0xfe03a9]['sort']((_0x2199f2,_0x1f51be)=>_0x2199f2[_0x4e2ce1(0x274)]-_0x1f51be[_0x4e2ce1(0x274)]),_0x11e109(_0x48dcc5,_0xfe03a9),{'nextDocumentData':_0x42e067,'nextMetadata':_0x180c35,'cursorOffset':_0x1565f0+0x1};}function _0x46ef3e(_0x9d6668,_0x3a395c,_0x2f1e4c){const _0x51ba12=_0x5eba1f;(_0x9d6668['paragraphs']??[])[_0x51ba12(0x1e7)](_0x2a9cbb=>_0x2a9cbb[_0x51ba12(0x274)]>_0x3a395c&&_0x2a9cbb[_0x51ba12(0x274)]<_0x2f1e4c)[_0x51ba12(0x25c)](_0xd07f03=>{const _0x3b1251=_0x51ba12;let _0x44d35b={..._0xd07f03[_0x3b1251(0x28e)]??{}};delete _0x44d35b[_0x3b1251(0x20f)],delete _0x44d35b[_0x3b1251(0x236)],_0xd07f03[_0x3b1251(0x28e)]=_0x44d35b;});}function _0x410a13(_0x4b29da,_0x162778){const _0xd7b50c=_0x5eba1f;return _0x4b29da==null||_0x162778==null||_0x4b29da===_0x162778?null:{'startOffset':Math['min'](_0x4b29da,_0x162778),'endOffset':Math[_0xd7b50c(0x24c)](_0x4b29da,_0x162778)};}function _0x1091cc(_0x2bb655,_0x57bcbd,_0x1d91fd){return(_0x2bb655['blockRanges']??[])['some'](_0x468248=>{const _0x31dcaa=_0x4537;let _0xdc51aa=(0x0,_0x2a5329[_0x31dcaa(0x1fa)])(_0x468248);return _0x57bcbd===_0x1d91fd?(0x0,_0x2a5329[_0x31dcaa(0x261)])(_0xdc51aa,_0x57bcbd):(0x0,_0x2a5329['intersectsOperationalIntervals'])(_0xdc51aa,{'startOffset':_0x57bcbd,'endOffset':_0x1d91fd});});}function _0xfd46a5(_0x473978){const _0x4eb8fc=_0x5eba1f;return{'nextDocumentData':_0x2dcdc4(_0x473978[_0x4eb8fc(0x248)]),'nextMetadata':_0x4f0ab1(_0x473978[_0x4eb8fc(0x294)],_0x473978[_0x4eb8fc(0x205)],_0x473978[_0x4eb8fc(0x25f)]),'cursorOffset':0x0};}function _0x31f425(_0x6b05d4){const _0x10e720=_0x5eba1f;let _0x3a0d4b=_0x2dcdc4(_0x6b05d4['documentData']),_0x55a436=_0x321b75(_0x3a0d4b),_0x55fbc3=_0x5a4194(_0x55a436,_0x6b05d4[_0x10e720(0x205)]);if(!_0x55fbc3)return null;let _0x16a571=_0x3b6089(_0x55a436,_0x55fbc3);return{'nextDocumentData':_0x3a0d4b,'nextMetadata':_0x36eeb2(_0x6b05d4[_0x10e720(0x294)],_0x6b05d4[_0x10e720(0x205)]),'cursorOffset':_0x16a571};}function _0x1c7443(_0x1f1045){const _0x271191=_0x5eba1f;var _0x586f99;let _0x19fc04=_0x2dcdc4(_0x1f1045[_0x271191(0x248)]),_0xf1535b=_0x321b75(_0x19fc04),_0x599df9=_0x5a4194(_0xf1535b,_0x1f1045['blockId']);if(!_0x599df9)return null;let _0x267500=(0x0,_0x2a5329[_0x271191(0x1fa)])(_0x599df9);return _0x32bd45(_0xf1535b,_0x267500['startOffset'],_0x267500[_0x271191(0x1c4)]),_0xf1535b[_0x271191(0x210)]=(_0x586f99=_0xf1535b['blockRanges'])==null?void 0x0:_0x586f99[_0x271191(0x1e7)](_0x306577=>_0x306577[_0x271191(0x205)]!==_0x1f1045[_0x271191(0x205)]),{'nextDocumentData':_0x19fc04,'nextMetadata':_0x36eeb2(_0x1f1045[_0x271191(0x294)],_0x1f1045['blockId']),'cursorOffset':_0x599df9[_0x271191(0x274)]};}function _0x35527e(_0x216be6){const _0x4c47bb=_0x5eba1f;let _0x2f3e70=_0x2dcdc4(_0x216be6['documentData']),_0x2983ee=_0x321b75(_0x2f3e70),_0x2b0f2c=_0x23b687(_0x2983ee,_0x216be6[_0x4c47bb(0x1f9)]);return _0x2b0f2c&&_0x4a292f(_0x2f3e70,_0x2983ee,_0x2b0f2c,_0x216be6['cursorOffset'],_0x216be6[_0x4c47bb(0x1eb)])||null;}function _0x4a292f(_0x19d64a,_0x1e085d,_0x6fef6f,_0x102397,_0x53b6d8){const _0x19e8eb=_0x5eba1f;let _0x3e6fbb=_0x4499fb(_0x1e085d,_0x6fef6f,_0x102397,_0x53b6d8);if(!_0x3e6fbb)return null;let _0x439fe3=_0x3e6fbb[_0x19e8eb(0x290)]-0x1;return _0x32bd45(_0x1e085d,_0x3e6fbb['paragraph']['startIndex'],_0x3e6fbb['paragraph'][_0x19e8eb(0x274)]+0x1),{'nextDocumentData':_0x19d64a,'cursorOffset':_0x439fe3};}function _0x5a4194(_0x12b845,_0x75d7ef){const _0x1bae7b=_0x5eba1f;var _0x31f19e;return _0x12b845==null||(_0x31f19e=_0x12b845[_0x1bae7b(0x210)])==null?void 0x0:_0x31f19e[_0x1bae7b(0x1e9)](_0x32aeb3=>_0x32aeb3['blockType']===_0x2a5329[_0x1bae7b(0x255)][_0x1bae7b(0x1d7)]&&_0x32aeb3['blockId']===_0x75d7ef);}function _0x30c98d(_0x4c4b36){const _0x2dd63e=_0x5eba1f;let _0xb01dad=_0x4c4b36[_0x2dd63e(0x248)][_0x2dd63e(0x1d1)];if(!_0xb01dad)return!0x1;let _0x51148c=_0x4c4b36['direction']===_0x2dd63e(0x24d)?_0x4c4b36[_0x2dd63e(0x1f9)]-0x1:_0x4c4b36[_0x2dd63e(0x1f9)],_0x18124f=_0x4c4b36[_0x2dd63e(0x27f)]===_0x2dd63e(0x25e)?_0x4c4b36['cursorOffset']+0x1:_0x51148c;return(_0xb01dad[_0x2dd63e(0x210)]??[])[_0x2dd63e(0x22c)](_0x195589=>_0x195589[_0x2dd63e(0x208)]===_0x2a5329['DocumentBlockRangeType'][_0x2dd63e(0x1d7)]?_0x51148c===_0x195589[_0x2dd63e(0x274)]||_0x51148c===_0x195589[_0x2dd63e(0x220)]||_0x18124f===_0x195589[_0x2dd63e(0x274)]||_0x18124f===_0x195589[_0x2dd63e(0x220)]:!0x1);}function _0x23b687(_0x35e2c7,_0x345974){const _0x59fe92=_0x5eba1f;var _0x1f2f90;return(_0x1f2f90=_0x35e2c7[_0x59fe92(0x210)])==null?void 0x0:_0x1f2f90[_0x59fe92(0x1e9)](_0x462958=>{const _0x56b4c4=_0x59fe92;let _0x575a02=_0x3793df(_0x462958);return _0x462958['blockType']===_0x2a5329[_0x56b4c4(0x255)][_0x56b4c4(0x1d7)]&&_0x462958['startIndex']<=_0x345974&&_0x345974<=_0x575a02+0x2;});}function _0x2c098a(_0x1b4f38,_0x29c7c7,_0x398f55=!0x1){const _0x5ec986=_0x5eba1f;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x2a5329[_0x5ec986(0x1ee)][_0x5ec986(0x1cd)],'keepNext':_0x29c7c7?_0x2a5329[_0x5ec986(0x1ee)]['FALSE']:_0x2a5329[_0x5ec986(0x1ee)][_0x5ec986(0x1cd)],'widowControl':_0x2a5329['BooleanNumber'][_0x5ec986(0x1cd)],..._0x1b4f38&&_0x398f55?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x128267,'fs':0xc}};}function _0x438f18(_0x18ffc7,_0x3021da,_0x1b0f14,_0x500421=!0x1){const _0x19c61c=_0x5eba1f;let _0x29c3cf=(_0x18ffc7[_0x19c61c(0x20b)]??[])['filter'](_0x3ca1b6=>_0x3ca1b6[_0x19c61c(0x274)]>_0x3021da&&_0x3ca1b6[_0x19c61c(0x274)]<_0x1b0f14);_0x29c3cf['forEach']((_0x26ac59,_0x13c142)=>{const _0x4c91e2=_0x19c61c;_0x26ac59[_0x4c91e2(0x28e)]={..._0x26ac59[_0x4c91e2(0x28e)]??{},..._0x2c098a(_0x13c142===0x0,_0x13c142===_0x29c3cf['length']-0x1,_0x500421)};});}function _0x5bbddb(_0x27d05c){const _0x8d07ce=_0x5eba1f;var _0x56884e,_0x3433fd;let _0x5764a1={..._0x27d05c??{}};return delete _0x5764a1[_0x8d07ce(0x257)],delete _0x5764a1[_0x8d07ce(0x286)],delete _0x5764a1[_0x8d07ce(0x20f)],delete _0x5764a1[_0x8d07ce(0x236)],delete _0x5764a1[_0x8d07ce(0x1ec)],delete _0x5764a1['keepNext'],delete _0x5764a1[_0x8d07ce(0x23b)],((_0x56884e=_0x5764a1[_0x8d07ce(0x297)])==null?void 0x0:_0x56884e['ff'])===_0x128267&&((_0x3433fd=_0x5764a1[_0x8d07ce(0x297)])==null?void 0x0:_0x3433fd['fs'])===0xc&&delete _0x5764a1['textStyle'],_0x5764a1;}function _0x2603e0(_0x139b2a,_0x19fbc0){const _0x408467=_0x5eba1f;let _0x1c0462=_0x3793df(_0x19fbc0);return(_0x139b2a['paragraphs']??[])['filter'](_0x270136=>_0x270136[_0x408467(0x274)]>_0x19fbc0['startIndex']&&_0x270136['startIndex']<_0x1c0462);}function _0x3b6089(_0xcd20a3,_0xfeea79){const _0x10ec2f=_0x5eba1f;var _0x459089;let _0x3c5629=_0x3793df(_0xfeea79);return _0x2603e0(_0xcd20a3,_0xfeea79)['forEach'](_0x3222ee=>{const _0x46d73a=_0x4537;_0x3222ee[_0x46d73a(0x28e)]=_0x5bbddb(_0x3222ee[_0x46d73a(0x28e)]);}),_0x32bd45(_0xcd20a3,_0x3c5629,_0x3c5629+0x1),_0x32bd45(_0xcd20a3,_0xfeea79['startIndex'],_0xfeea79[_0x10ec2f(0x274)]+0x1),_0xcd20a3[_0x10ec2f(0x210)]=(_0x459089=_0xcd20a3[_0x10ec2f(0x210)])==null?void 0x0:_0x459089['filter'](_0x1a29e7=>_0x1a29e7['blockId']!==_0xfeea79[_0x10ec2f(0x205)]),_0xfeea79['startIndex'];}function _0x2dcdc4(_0x334f86){const _0x3b3620=_0x5eba1f;return{..._0x334f86,'body':_0x334f86[_0x3b3620(0x1d1)]?_0x1bec5a(_0x334f86[_0x3b3620(0x1d1)]):_0x334f86['body']};}function _0x1bec5a(_0x4450c8){const _0x2dcb19=_0x5eba1f;var _0x4c630d,_0x55bdf9,_0x4829c8,_0x36a5c6,_0x3236ff,_0x29b7db,_0x5a6836,_0x163db4,_0x2cfe09;return{..._0x4450c8,'paragraphs':(_0x4c630d=_0x4450c8['paragraphs'])==null?void 0x0:_0x4c630d[_0x2dcb19(0x1e1)](_0x8ba0c8=>({..._0x8ba0c8,'bullet':_0x3a4ab0(_0x8ba0c8[_0x2dcb19(0x23d)]),'paragraphStyle':_0x3a4ab0(_0x8ba0c8[_0x2dcb19(0x28e)])})),'sectionBreaks':(_0x55bdf9=_0x4450c8['sectionBreaks'])==null?void 0x0:_0x55bdf9[_0x2dcb19(0x1e1)](_0x83ad94=>({..._0x83ad94})),'textRuns':(_0x4829c8=_0x4450c8[_0x2dcb19(0x1d9)])==null?void 0x0:_0x4829c8[_0x2dcb19(0x1e1)](_0x357c01=>({..._0x357c01})),'tables':(_0x36a5c6=_0x4450c8['tables'])==null?void 0x0:_0x36a5c6[_0x2dcb19(0x1e1)](_0x2fc37b=>({..._0x2fc37b})),'columnGroups':(_0x3236ff=_0x4450c8['columnGroups'])==null?void 0x0:_0x3236ff[_0x2dcb19(0x1e1)](_0x5afb6f=>{const _0x156253=_0x2dcb19;var _0x33e1d5;return{..._0x5afb6f,'columns':(_0x33e1d5=_0x5afb6f[_0x156253(0x296)])==null?void 0x0:_0x33e1d5[_0x156253(0x1e1)](_0x1fd7a8=>_0x3a4ab0(_0x1fd7a8))};}),'blockRanges':(_0x29b7db=_0x4450c8[_0x2dcb19(0x210)])==null?void 0x0:_0x29b7db[_0x2dcb19(0x1e1)](_0x32e888=>({..._0x32e888})),'customRanges':(_0x5a6836=_0x4450c8['customRanges'])==null?void 0x0:_0x5a6836[_0x2dcb19(0x1e1)](_0x2eef0e=>({..._0x2eef0e})),'customDecorations':(_0x163db4=_0x4450c8[_0x2dcb19(0x29d)])==null?void 0x0:_0x163db4[_0x2dcb19(0x1e1)](_0x219959=>({..._0x219959})),'customBlocks':(_0x2cfe09=_0x4450c8['customBlocks'])==null?void 0x0:_0x2cfe09[_0x2dcb19(0x1e1)](_0x2475c7=>({..._0x2475c7}))};}function _0x3a4ab0(_0x415ba3){const _0x155cb8=_0x5eba1f;return Array[_0x155cb8(0x209)](_0x415ba3)?_0x415ba3[_0x155cb8(0x1e1)](_0x4f476d=>_0x3a4ab0(_0x4f476d)):!_0x415ba3||typeof _0x415ba3!=_0x155cb8(0x247)?_0x415ba3:Object[_0x155cb8(0x1e0)](Object[_0x155cb8(0x1c3)](_0x415ba3)[_0x155cb8(0x1e1)](([_0x1e4f03,_0x58c7a5])=>[_0x1e4f03,_0x3a4ab0(_0x58c7a5)]));}function _0x321b75(_0x4b4b65){const _0xa9ca45=_0x5eba1f;if(!_0x4b4b65['body'])throw Error(_0xa9ca45(0x1e3));return _0x4b4b65[_0xa9ca45(0x1d1)];}function _0x33873c(_0x12a94a,_0x1c34cf,_0x4a7e59,_0x5be4ff='convert-paragraph'){const _0xc0c77=_0x5eba1f;if(_0x1c34cf==null||_0x4a7e59==null){let _0x38accf=_0x2b5be4(_0x12a94a);return{'startOffset':_0x38accf,'endOffset':_0x38accf};}let _0x4d69ab=Math[_0xc0c77(0x20a)](_0x1c34cf,_0x4a7e59),_0x23e7c6=Math[_0xc0c77(0x24c)](_0x1c34cf,_0x4a7e59),_0x38b49f=_0x17ec23(_0x12a94a,_0x4d69ab,_0x23e7c6);return _0x4d69ab===_0x23e7c6?_0x5be4ff===_0xc0c77(0x29b)?{'startOffset':_0x4d69ab,'endOffset':_0x23e7c6}:_0x2dfc79(_0x12a94a,_0x4d69ab,_0x38b49f):_0x12bb9b(_0x12a94a,_0x4d69ab,_0x23e7c6,_0x38b49f);}function _0x2dfc79(_0x51e38a,_0x35c04c,_0xeac873){const _0x28bab5=_0x5eba1f;let _0x1c03e4=_0x267e61(_0x51e38a,_0x35c04c);if(_0x1c03e4){let _0x1f34fb=_0x2937e2(_0x51e38a,_0x1c03e4,_0xeac873);if(_0x1f34fb<_0x1c03e4[_0x28bab5(0x274)])return{'startOffset':_0x1f34fb,'endOffset':_0xeac873?Math[_0x28bab5(0x20a)](_0x1c03e4[_0x28bab5(0x274)]+0x1,_0xeac873[_0x28bab5(0x1c4)]):_0x1c03e4[_0x28bab5(0x274)]+0x1};}let _0x12d639=_0x35c04c===0x0&&_0x51e38a['dataStream'][0x0]===_0x2a5329[_0x28bab5(0x27a)][_0x28bab5(0x292)]?0x1:_0x35c04c;return{'startOffset':_0x12d639,'endOffset':_0x12d639};}function _0x2b5be4(_0x3fff02){const _0xaad3c7=_0x5eba1f;return _0x3fff02[_0xaad3c7(0x1f0)][_0xaad3c7(0x246)](_0x2a5329[_0xaad3c7(0x27a)][_0xaad3c7(0x2a0)])?Math['max'](0x0,_0x3fff02[_0xaad3c7(0x1f0)]['length']-0x1):_0x3fff02[_0xaad3c7(0x1f0)]['length'];}function _0x278bb1(_0x5c01a4,_0x2a9448,_0x3a25c1){const _0x18b266=_0x5eba1f;var _0x159694;let _0x2c316f=Math['min'](_0x2a9448,_0x3a25c1),_0x42fc28=Math[_0x18b266(0x24c)](_0x2a9448,_0x3a25c1);return!!((_0x159694=_0x5c01a4[_0x18b266(0x20e)])!=null&&_0x159694[_0x18b266(0x22c)](_0x5e1887=>_0x2c316f>_0x5e1887[_0x18b266(0x274)]&&_0x2c316f<_0x5e1887[_0x18b266(0x220)]||_0x42fc28>_0x5e1887[_0x18b266(0x274)]&&_0x42fc28<_0x5e1887[_0x18b266(0x220)]||_0x2c316f<=_0x5e1887[_0x18b266(0x274)]&&_0x42fc28>=_0x5e1887[_0x18b266(0x220)]));}function _0x12bb9b(_0x289f35,_0xaf5f3d,_0xe3f4fd,_0x1d1b15){const _0x5873bd=_0x5eba1f;let _0x4663fb=[..._0x289f35[_0x5873bd(0x20b)]??[]][_0x5873bd(0x1d0)]((_0x201065,_0x3b4c29)=>_0x201065[_0x5873bd(0x274)]-_0x3b4c29['startIndex']),_0x52f12f=(0x0,_0x2a5329[_0x5873bd(0x270)])(_0x289f35),_0x353e50=_0x4663fb['find'](_0x3c1fdd=>_0x2937e2(_0x289f35,_0x3c1fdd,_0x1d1b15,_0x52f12f)<=_0xaf5f3d&&_0xaf5f3d<=_0x3c1fdd[_0x5873bd(0x274)]),_0x34e2fe=_0x4663fb[_0x5873bd(0x1e9)](_0x76c0e0=>_0x76c0e0[_0x5873bd(0x274)]>=_0xe3f4fd-0x1)??_0x4663fb[_0x4663fb['length']-0x1];return{'startOffset':_0x353e50?_0x2937e2(_0x289f35,_0x353e50,_0x1d1b15,_0x52f12f):_0xaf5f3d,'endOffset':_0x34e2fe?_0x3ef984(_0x34e2fe,_0x1d1b15):_0xe3f4fd};}function _0x267e61(_0x123ab7,_0x1d6d33){const _0x54bad3=_0x5eba1f;let _0xbb458d=[..._0x123ab7[_0x54bad3(0x20b)]??[]][_0x54bad3(0x1d0)]((_0x45d540,_0x233dbb)=>_0x45d540[_0x54bad3(0x274)]-_0x233dbb[_0x54bad3(0x274)]),_0xa355e7=(0x0,_0x2a5329[_0x54bad3(0x270)])(_0x123ab7);return _0xbb458d[_0x54bad3(0x1e9)](_0x2b8d73=>(_0xa355e7[_0x54bad3(0x1f2)](_0x2b8d73['startIndex'])??0x0)<=_0x1d6d33&&_0x1d6d33<=_0x2b8d73[_0x54bad3(0x274)]);}function _0x2937e2(_0x2e3544,_0x2c4609,_0xcedab7,_0x36b87c){const _0x2a78e5=_0x5eba1f;let _0x57e85e=(_0x36b87c==null?void 0x0:_0x36b87c[_0x2a78e5(0x1f2)](_0x2c4609[_0x2a78e5(0x274)]))??(0x0,_0x2a5329[_0x2a78e5(0x27b)])(_0x2e3544,_0x2c4609);return _0xcedab7?Math['max'](_0x57e85e,_0xcedab7[_0x2a78e5(0x25a)]):_0x57e85e;}function _0x3ef984(_0x21c44c,_0x3ed3b0){const _0x4f04de=_0x5eba1f;let _0xf4bf23=_0x21c44c[_0x4f04de(0x274)]+0x1;return _0x3ed3b0?Math['min'](_0xf4bf23,_0x3ed3b0[_0x4f04de(0x1c4)]):_0xf4bf23;}function _0x17ec23(_0x478d20,_0x35edae,_0x452402){const _0x10c60c=_0x5eba1f;let _0x60d220=_0x192407(_0x478d20,_0x35edae),_0x32817b=_0x192407(_0x478d20,_0x35edae===_0x452402?_0x452402:Math['max'](_0x35edae,_0x452402-0x1));if(_0x60d220||_0x32817b){if(!_0x60d220||!_0x32817b||_0x60d220[_0x10c60c(0x1f6)]!==_0x32817b['startTokenOffset']||_0x60d220[_0x10c60c(0x290)]!==_0x32817b[_0x10c60c(0x290)])throw new _0x2eaf3f();return _0x60d220;}}function _0x192407(_0x3e64ce,_0x584460){const _0xa36ab7=_0x5eba1f;let _0x24b7e7=_0x3e64ce[_0xa36ab7(0x1f0)],_0x351fcd=-0x1;for(let _0x533dfb=Math[_0xa36ab7(0x20a)](_0x584460,_0x24b7e7[_0xa36ab7(0x22b)]-0x1);_0x533dfb>=0x0;_0x533dfb--){let _0x5e365f=_0x24b7e7[_0x533dfb];if(_0x5e365f===_0x2a5329[_0xa36ab7(0x27a)][_0xa36ab7(0x1d6)])return;if(_0x5e365f===_0x2a5329[_0xa36ab7(0x27a)][_0xa36ab7(0x221)]){_0x351fcd=_0x533dfb;break;}}if(_0x351fcd<0x0)return;let _0x370728=_0x24b7e7[_0xa36ab7(0x234)](_0x2a5329[_0xa36ab7(0x27a)][_0xa36ab7(0x1d6)],_0x351fcd+0x1);if(!(_0x370728<0x0||_0x584460<_0x351fcd+0x1||_0x584460>_0x370728-0x1))return{'startOffset':_0x351fcd+0x1,'endOffset':Math[_0xa36ab7(0x24c)](_0x351fcd+0x1,_0x370728-0x1),'startTokenOffset':_0x351fcd,'endTokenOffset':_0x370728};}function _0x3793df(_0x218372){const _0x6681dc=_0x5eba1f;return(0x0,_0x2a5329[_0x6681dc(0x1fa)])(_0x218372)[_0x6681dc(0x1c4)]-0x1;}function _0x4499fb(_0x4edaf8,_0x3edbff,_0xc8a780,_0x3e3475){const _0x5a24ea=_0x5eba1f;let _0x13b779=_0x3793df(_0x3edbff),_0x18e6ad=(_0x4edaf8[_0x5a24ea(0x20b)]??[])[_0x5a24ea(0x1e9)](_0x3d19cf=>_0x3d19cf['startIndex']===_0x13b779+0x1);if(!_0x18e6ad||_0x3e3475!=null&&_0x18e6ad[_0x5a24ea(0x274)]!==_0x3e3475||_0xc8a780!=null&&(_0xc8a780<_0x13b779||_0xc8a780>_0x18e6ad[_0x5a24ea(0x274)]+0x1)||_0x4edaf8['dataStream'][_0x18e6ad['startIndex']]!==_0x2a5329[_0x5a24ea(0x27a)][_0x5a24ea(0x292)])return null;let _0xb94db7=(0x0,_0x2a5329[_0x5a24ea(0x27b)])(_0x4edaf8,_0x18e6ad),_0x2d106=_0x4edaf8[_0x5a24ea(0x1f0)]['slice'](_0xb94db7,_0x18e6ad[_0x5a24ea(0x274)]);return Array['from'](_0x2d106)[_0x5a24ea(0x24b)](_0x3ff9ef=>_0x3ff9ef===_0x2a5329[_0x5a24ea(0x27a)][_0x5a24ea(0x1cb)])?{'paragraph':_0x18e6ad,'endTokenOffset':_0x13b779}:null;}function _0x11e109(_0x2bc271,_0x470f62){const _0x56cc3d=_0x5eba1f;var _0x4d2255;let _0x44a20b=_0x3793df(_0x470f62),_0x3c6bb9=_0x2bc271[_0x56cc3d(0x1f0)][_0x44a20b+0x1];(_0x3c6bb9===_0x2a5329[_0x56cc3d(0x27a)]['SECTION_BREAK']||_0x3c6bb9===void 0x0)&&_0x5f3461(_0x2bc271,_0x44a20b+0x1,_0x2a5329[_0x56cc3d(0x27a)][_0x56cc3d(0x292)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x2a5329['createParagraphId'])(new Set((_0x4d2255=_0x2bc271[_0x56cc3d(0x20b)])==null?void 0x0:_0x4d2255[_0x56cc3d(0x1e1)](_0x3d54b3=>_0x3d54b3[_0x56cc3d(0x216)])))}]});}function _0x5f3461(_0x539cd3,_0x2da483,_0x4d5fba,_0x2c3dcc={}){const _0x11cd76=_0x5eba1f;var _0x123792,_0x4c99b2;_0x4d5fba&&(_0x539cd3['dataStream']=''+_0x539cd3[_0x11cd76(0x1f0)][_0x11cd76(0x211)](0x0,_0x2da483)+_0x4d5fba+_0x539cd3['dataStream'][_0x11cd76(0x211)](_0x2da483),_0x4ab265(_0x539cd3,_0x2da483,_0x4d5fba[_0x11cd76(0x22b)]),(_0x123792=_0x2c3dcc[_0x11cd76(0x20b)])!=null&&_0x123792['length']&&(_0x539cd3[_0x11cd76(0x20b)]=[..._0x539cd3[_0x11cd76(0x20b)]??[],..._0x2c3dcc[_0x11cd76(0x20b)][_0x11cd76(0x1e1)](_0x372eb3=>({..._0x372eb3,'startIndex':_0x372eb3[_0x11cd76(0x274)]+_0x2da483}))][_0x11cd76(0x1d0)]((_0x2f688b,_0x2ac80f)=>_0x2f688b[_0x11cd76(0x274)]-_0x2ac80f[_0x11cd76(0x274)])),(_0x4c99b2=_0x2c3dcc[_0x11cd76(0x210)])!=null&&_0x4c99b2[_0x11cd76(0x22b)]&&(_0x539cd3[_0x11cd76(0x210)]=[..._0x539cd3[_0x11cd76(0x210)]??[],..._0x2c3dcc[_0x11cd76(0x210)][_0x11cd76(0x1e1)](_0x194a40=>({..._0x194a40,'startIndex':_0x194a40[_0x11cd76(0x274)]+_0x2da483,'endIndex':_0x194a40[_0x11cd76(0x220)]+_0x2da483}))]['sort']((_0x291d48,_0x18e1ce)=>_0x291d48[_0x11cd76(0x274)]-_0x18e1ce[_0x11cd76(0x274)])));}function _0x32bd45(_0x222173,_0x4d8c46,_0x339fc5){const _0x2ca1c0=_0x5eba1f;let _0x2eecba=_0x339fc5-_0x4d8c46;_0x222173[_0x2ca1c0(0x1f0)]=''+_0x222173[_0x2ca1c0(0x1f0)]['slice'](0x0,_0x4d8c46)+_0x222173[_0x2ca1c0(0x1f0)][_0x2ca1c0(0x211)](_0x339fc5),_0x40922f(_0x222173,_0x4d8c46,_0x2eecba);}function _0x4ab265(_0xfc6850,_0x348ba0,_0x21b074){const _0x4a3572=_0x5eba1f;_0xfc6850['paragraphs']=_0x16e408(_0xfc6850['paragraphs'],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x299)]=_0x16e408(_0xfc6850[_0x4a3572(0x299)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1cf)]=_0x16e408(_0xfc6850[_0x4a3572(0x1cf)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1d9)]=_0x278b68(_0xfc6850['textRuns'],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x20e)]=_0x14b2b5(_0xfc6850[_0x4a3572(0x20e)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1ef)]=_0x505dc3(_0xfc6850[_0x4a3572(0x1ef)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1da)]=_0x505dc3(_0xfc6850[_0x4a3572(0x1da)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x29d)]=_0x505dc3(_0xfc6850[_0x4a3572(0x29d)],_0x348ba0,_0x21b074),_0xfc6850['blockRanges']=_0x505dc3(_0xfc6850['blockRanges'],_0x348ba0,_0x21b074);}function _0x40922f(_0x17dc34,_0x129d55,_0x3635f1){const _0x3698d4=_0x5eba1f;var _0x402f12,_0x31edc5;_0x17dc34['paragraphs']=_0x1cb620(_0x17dc34[_0x3698d4(0x20b)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x299)]=_0x1cb620(_0x17dc34[_0x3698d4(0x299)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x1cf)]=_0x1cb620(_0x17dc34[_0x3698d4(0x1cf)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x1d9)]=(_0x402f12=_0x377cb6((_0x31edc5=_0x17dc34[_0x3698d4(0x1d9)])==null?void 0x0:_0x31edc5['map'](_0x4c0a29=>({..._0x4c0a29,'startIndex':_0x4c0a29['st'],'endIndex':_0x4c0a29['ed']})),_0x129d55,_0x3635f1))==null?void 0x0:_0x402f12[_0x3698d4(0x1e1)](_0x4be9a3=>{let {startIndex:_0x2945a1,endIndex:_0x886b01,..._0xa01ddd}=_0x4be9a3;return{..._0xa01ddd,'st':_0x2945a1,'ed':_0x886b01};}),_0x17dc34[_0x3698d4(0x20e)]=_0x377cb6(_0x17dc34['tables'],_0x129d55,_0x3635f1),_0x17dc34['columnGroups']=_0x47229d(_0x17dc34['columnGroups'],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x1da)]=_0x47229d(_0x17dc34[_0x3698d4(0x1da)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x29d)]=_0x47229d(_0x17dc34['customDecorations'],_0x129d55,_0x3635f1),_0x17dc34['blockRanges']=_0x47229d(_0x17dc34[_0x3698d4(0x210)],_0x129d55,_0x3635f1);}function _0x16e408(_0x52d2de,_0x111966,_0x4a4c55){const _0x2898a3=_0x5eba1f;return _0x52d2de==null?void 0x0:_0x52d2de[_0x2898a3(0x1e1)](_0x3a5ef5=>_0x3a5ef5['startIndex']>=_0x111966?{..._0x3a5ef5,'startIndex':_0x3a5ef5[_0x2898a3(0x274)]+_0x4a4c55}:_0x3a5ef5);}function _0x1cb620(_0xeafaac,_0x199790,_0x2cf9cc){const _0x165b58=_0x5eba1f;let _0x48e99f=_0x199790+_0x2cf9cc;return _0xeafaac==null?void 0x0:_0xeafaac[_0x165b58(0x1e1)](_0xc7edbb=>_0xc7edbb[_0x165b58(0x274)]>=_0x199790&&_0xc7edbb[_0x165b58(0x274)]<_0x48e99f?null:_0xc7edbb[_0x165b58(0x274)]>=_0x48e99f?{..._0xc7edbb,'startIndex':_0xc7edbb[_0x165b58(0x274)]-_0x2cf9cc}:_0xc7edbb)[_0x165b58(0x1e7)](_0x5848de=>_0x5848de!=null);}function _0x278b68(_0x450ede,_0x35b1b4,_0x25d207){const _0x359a13=_0x5eba1f;return _0x450ede==null?void 0x0:_0x450ede[_0x359a13(0x1e1)](_0x125dc8=>_0x125dc8['st']>=_0x35b1b4?{..._0x125dc8,'st':_0x125dc8['st']+_0x25d207,'ed':_0x125dc8['ed']+_0x25d207}:_0x125dc8['ed']>_0x35b1b4?{..._0x125dc8,'ed':_0x125dc8['ed']+_0x25d207}:_0x125dc8);}function _0x505dc3(_0x2cd76a,_0x248d36,_0xdd98f9){const _0x240a89=_0x5eba1f;return _0x2cd76a==null?void 0x0:_0x2cd76a[_0x240a89(0x1e1)](_0xe78652=>(0x0,_0x2a5329[_0x240a89(0x238)])(_0xe78652,_0x248d36,_0xdd98f9));}function _0x14b2b5(_0x4292b8,_0x5e427f,_0x23e432){const _0x4a7827=_0x5eba1f;return _0x4292b8==null?void 0x0:_0x4292b8[_0x4a7827(0x1e1)](_0x223ea3=>(0x0,_0x2a5329[_0x4a7827(0x20d)])(_0x223ea3,_0x5e427f,_0x23e432));}function _0x47229d(_0x43b68f,_0x595423,_0x27194c){const _0x5df005=_0x5eba1f;return _0x43b68f==null?void 0x0:_0x43b68f['map'](_0x557933=>(0x0,_0x2a5329[_0x5df005(0x278)])(_0x557933,_0x595423,_0x27194c))[_0x5df005(0x1e7)](_0x35808e=>_0x35808e!=null);}function _0x377cb6(_0x582216,_0x180543,_0x2f83c5){const _0x570485=_0x5eba1f;return _0x582216==null?void 0x0:_0x582216[_0x570485(0x1e1)](_0xfba115=>(0x0,_0x2a5329[_0x570485(0x27c)])(_0xfba115,_0x180543,_0x2f83c5))[_0x570485(0x1e7)](_0x7e80eb=>_0x7e80eb!=null);}let _0x4a06ef={'id':_0x5eba1f(0x28b),'type':_0x2a5329['CommandType'][_0x5eba1f(0x22e)],'handler':_0xa0f875=>{const _0x8f6d1=_0x5eba1f;var _0x33f8f5;if((0x0,_0xd998f[_0x8f6d1(0x295)])(_0x1fbbc0(_0xa0f875)))return!0x1;let _0x4dd31b=(0x0,_0xd998f['getContentInsertRange'])(_0xa0f875);if(_0x4dd31b)return _0xa0f875[_0x8f6d1(0x1f2)](_0x2a5329[_0x8f6d1(0x264)])[_0x8f6d1(0x269)](_0x4490c4['id'],{'startOffset':_0x4dd31b[_0x8f6d1(0x25a)],'endOffset':_0x4dd31b[_0x8f6d1(0x1c4)],'insertionMode':_0x8f6d1(0x29b),'unitId':_0x4dd31b[_0x8f6d1(0x1d2)]});let _0x4a8dd1=_0x42bb3b(_0xa0f875);if(!_0x4a8dd1)return!0x1;let _0x2bbc8a=(_0x33f8f5=_0xa0f875[_0x8f6d1(0x1f2)](_0x2a5329[_0x8f6d1(0x241)])[_0x8f6d1(0x1ea)](_0x2a5329['UniverInstanceType']['UNIVER_DOC']))==null?void 0x0:_0x33f8f5[_0x8f6d1(0x275)](),_0xcf2262=_0x2bbc8a?(0x0,_0x2a5329[_0x8f6d1(0x272)])(_0x2bbc8a,_0x4a8dd1):_0x4a8dd1[_0x8f6d1(0x274)]+0x1;return _0xa0f875[_0x8f6d1(0x1f2)](_0x2a5329[_0x8f6d1(0x264)])[_0x8f6d1(0x269)](_0x4490c4['id'],{'startOffset':_0xcf2262,'endOffset':_0xcf2262});}},_0x433134={'id':'docs-code.command.consume-boundary-delete','type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':()=>!0x0},_0x4490c4={'id':_0x5eba1f(0x26e),'type':_0x2a5329['CommandType'][_0x5eba1f(0x22e)],'handler':(_0x4a4a2f,_0x2f0ee2)=>{const _0xb64ba1=_0x5eba1f;let _0x194910=_0x256f15(_0x4a4a2f,_0x2f0ee2==null?void 0x0:_0x2f0ee2[_0xb64ba1(0x1d2)]);if(!_0x194910)return!0x1;let _0x198deb=_0x1fbbc0(_0x4a4a2f);if((0x0,_0xd998f['isHeaderFooterSelection'])(_0x198deb))return!0x1;let _0x61bdf0=_0x194910['model'][_0xb64ba1(0x235)](_0x194910[_0xb64ba1(0x1d2)]),_0x40c446=_0x6c6bd2(_0x2f0ee2,_0x198deb),_0x2f4057=_0x346731(_0x194910['previousDocumentData'],_0x40c446);if(_0x2f4057){if(_0x2f4057['blockType']!==_0x2a5329[_0xb64ba1(0x255)][_0xb64ba1(0x1d7)])return!0x1;let _0x308e51=_0x31f425({'blockId':_0x2f4057[_0xb64ba1(0x205)],'documentData':_0x194910[_0xb64ba1(0x1dc)],'metadata':_0x61bdf0});if(!_0x308e51)return!0x1;let _0x10649c=_0x45182a(_0x194910[_0xb64ba1(0x1f1)],_0x194910['selectionManager'],_0x194910[_0xb64ba1(0x1d2)],_0x194910[_0xb64ba1(0x1dc)],_0x308e51['nextDocumentData'],_0x4490c4['id'],_0x308e51['cursorOffset']);return _0x10649c&&_0x308e51[_0xb64ba1(0x222)]&&_0x194910[_0xb64ba1(0x26b)][_0xb64ba1(0x1d3)](_0x194910['unitId'],_0x308e51['nextMetadata']),_0x10649c;}let _0x334030=(_0x2f0ee2==null?void 0x0:_0x2f0ee2[_0xb64ba1(0x205)])??(0x0,_0x2a5329['generateRandomId'])(0x6),_0x423050;try{_0x423050=_0x405f43({'blockId':_0x334030,'config':_0x2f0ee2==null?void 0x0:_0x2f0ee2['config'],'documentData':_0x194910[_0xb64ba1(0x1dc)],'endOffset':_0x40c446==null?void 0x0:_0x40c446[_0xb64ba1(0x1c4)],'insertionMode':_0x2f0ee2==null?void 0x0:_0x2f0ee2[_0xb64ba1(0x200)],'metadata':_0x61bdf0,'startOffset':_0x40c446==null?void 0x0:_0x40c446[_0xb64ba1(0x25a)]});}catch(_0x4d6c2a){if(_0x4d6c2a instanceof _0x2eaf3f)return!0x1;throw _0x4d6c2a;}let _0x480c63=_0x45182a(_0x194910[_0xb64ba1(0x1f1)],_0x194910['selectionManager'],_0x194910['unitId'],_0x194910[_0xb64ba1(0x1dc)],_0x423050[_0xb64ba1(0x232)],_0x4490c4['id'],_0x423050[_0xb64ba1(0x1f9)]);return _0x480c63&&_0x423050[_0xb64ba1(0x222)]&&_0x194910[_0xb64ba1(0x26b)][_0xb64ba1(0x1d3)](_0x194910[_0xb64ba1(0x1d2)],_0x423050[_0xb64ba1(0x222)]),_0x480c63;}},_0x25d2bc={'id':_0x5eba1f(0x29a),'type':_0x2a5329['CommandType']['COMMAND'],'handler':(_0x37101b,_0xad11fe)=>{const _0x4f293e=_0x5eba1f;if(!_0xad11fe)return!0x1;let _0x41f5ef=_0x256f15(_0x37101b,_0xad11fe[_0x4f293e(0x1d2)]);if(!_0x41f5ef)return!0x1;let _0x2ac41c=_0xfd46a5({'blockId':_0xad11fe[_0x4f293e(0x205)],'config':_0xad11fe['config'],'documentData':_0x41f5ef[_0x4f293e(0x1dc)],'metadata':_0x41f5ef[_0x4f293e(0x26b)][_0x4f293e(0x235)](_0x41f5ef[_0x4f293e(0x1d2)])});return _0x2ac41c['nextMetadata']&&_0x41f5ef[_0x4f293e(0x26b)][_0x4f293e(0x1d3)](_0x41f5ef[_0x4f293e(0x1d2)],_0x2ac41c[_0x4f293e(0x222)]),!0x0;}},_0x589ed4={'id':_0x5eba1f(0x23c),'type':_0x2a5329[_0x5eba1f(0x1ed)]['COMMAND'],'handler':(_0x304d41,_0x88de98)=>_0x5c7341[_0x5eba1f(0x1c6)](_0x304d41,_0x88de98)},_0x5c7341={'id':'docs-code.command.unwrap','type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':(_0x49fb62,_0x4e29f5)=>{const _0x206926=_0x5eba1f;if(!_0x4e29f5)return!0x1;let _0x6c2898=_0x256f15(_0x49fb62,_0x4e29f5==null?void 0x0:_0x4e29f5[_0x206926(0x1d2)]);if(!_0x6c2898)return!0x1;let _0x2a25e8=_0x31f425({'blockId':_0x4e29f5[_0x206926(0x205)],'documentData':_0x6c2898[_0x206926(0x1dc)],'metadata':_0x6c2898[_0x206926(0x26b)][_0x206926(0x235)](_0x6c2898[_0x206926(0x1d2)])});if(!_0x2a25e8)return!0x1;let _0x3c8f10=_0x45182a(_0x6c2898[_0x206926(0x1f1)],_0x6c2898[_0x206926(0x268)],_0x6c2898['unitId'],_0x6c2898['previousDocumentData'],_0x2a25e8[_0x206926(0x232)],_0x5c7341['id'],_0x2a25e8[_0x206926(0x1f9)]);return _0x3c8f10&&_0x2a25e8[_0x206926(0x222)]&&_0x6c2898[_0x206926(0x26b)][_0x206926(0x1d3)](_0x6c2898['unitId'],_0x2a25e8[_0x206926(0x222)]),_0x3c8f10;}},_0xabeec1={'id':_0x5eba1f(0x26a),'type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':(_0x583e0c,_0x12ff85)=>{const _0xee2db5=_0x5eba1f;if(!_0x12ff85)return!0x1;let _0x2fe77c=_0x256f15(_0x583e0c,_0x12ff85==null?void 0x0:_0x12ff85[_0xee2db5(0x1d2)]);if(!_0x2fe77c)return!0x1;let _0x338422=_0x1c7443({'blockId':_0x12ff85[_0xee2db5(0x205)],'documentData':_0x2fe77c[_0xee2db5(0x1dc)],'metadata':_0x2fe77c['model'][_0xee2db5(0x235)](_0x2fe77c['unitId'])});if(!_0x338422)return!0x1;let _0x46a359=_0x45182a(_0x2fe77c[_0xee2db5(0x1f1)],_0x2fe77c[_0xee2db5(0x268)],_0x2fe77c[_0xee2db5(0x1d2)],_0x2fe77c[_0xee2db5(0x1dc)],_0x338422['nextDocumentData'],_0xabeec1['id'],_0x338422['cursorOffset']);return _0x46a359&&_0x338422['nextMetadata']&&_0x2fe77c['model'][_0xee2db5(0x1d3)](_0x2fe77c[_0xee2db5(0x1d2)],_0x338422[_0xee2db5(0x222)]),_0x46a359;}},_0xb5bab8={'id':'docs-code.command.cancel-empty-paragraph','type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':(_0x3eacbf,_0x47a9f2)=>{const _0x5731fe=_0x5eba1f;var _0x4e4297;let _0x391168=_0x256f15(_0x3eacbf,_0x47a9f2==null?void 0x0:_0x47a9f2['unitId']);if(!_0x391168)return!0x1;let _0xcd83af=(_0x47a9f2==null?void 0x0:_0x47a9f2['cursorOffset'])??((_0x4e4297=_0x1fbbc0(_0x3eacbf))==null?void 0x0:_0x4e4297[_0x5731fe(0x25a)]);if(_0xcd83af==null)return!0x1;let _0x57e765=_0x35527e({'cursorOffset':_0xcd83af,'documentData':_0x391168['previousDocumentData'],'paragraphStartIndex':_0x47a9f2==null?void 0x0:_0x47a9f2[_0x5731fe(0x1eb)]});return _0x57e765?_0x45182a(_0x391168[_0x5731fe(0x1f1)],_0x391168['selectionManager'],_0x391168[_0x5731fe(0x1d2)],_0x391168[_0x5731fe(0x1dc)],_0x57e765[_0x5731fe(0x232)],_0xb5bab8['id'],_0x57e765['cursorOffset']):!0x1;}};function _0x256f15(_0x4fa2c6,_0x389b11){const _0x402caf=_0x5eba1f;let _0x2105c6=_0x4fa2c6[_0x402caf(0x1f2)](_0x2a5329['IUniverInstanceService']),_0x379a2d=_0x389b11?_0x2105c6[_0x402caf(0x207)](_0x389b11,_0x2a5329[_0x402caf(0x263)][_0x402caf(0x1fb)]):_0x2105c6[_0x402caf(0x1ea)](_0x2a5329[_0x402caf(0x263)]['UNIVER_DOC']);return _0x379a2d?{'commandService':_0x4fa2c6['get'](_0x2a5329[_0x402caf(0x264)]),'model':_0x4fa2c6[_0x402caf(0x1f2)](_0x2b6374),'previousDocumentData':_0x379a2d[_0x402caf(0x214)](),'selectionManager':_0x4fa2c6[_0x402caf(0x1f2)](_0xd998f['DocSelectionManagerService']),'unitId':_0x379a2d[_0x402caf(0x26c)]()}:null;}function _0x1fbbc0(_0x92e7ba){const _0x2bf321=_0x5eba1f;var _0x3df33d;return(_0x3df33d=_0x92e7ba[_0x2bf321(0x1f2)](_0xd998f[_0x2bf321(0x230)])['getTextRanges']())==null?void 0x0:_0x3df33d[0x0];}function _0x6c6bd2(_0x4e14fb,_0x3d2176){const _0x20286f=_0x5eba1f;let _0x54bc37=(_0x4e14fb==null?void 0x0:_0x4e14fb[_0x20286f(0x25a)])??(_0x3d2176==null?void 0x0:_0x3d2176[_0x20286f(0x25a)]),_0x1f30db=(_0x4e14fb==null?void 0x0:_0x4e14fb['endOffset'])??(_0x3d2176==null?void 0x0:_0x3d2176[_0x20286f(0x1c4)]);if(_0x54bc37!=null&&_0x1f30db!=null)return{'endOffset':Math[_0x20286f(0x24c)](_0x54bc37,_0x1f30db),'startOffset':Math[_0x20286f(0x20a)](_0x54bc37,_0x1f30db)};}function _0x346731(_0x1b9125,_0x2d2f33){const _0x2ba0ff=_0x5eba1f;var _0x215902;if(!_0x2d2f33)return;let _0x189bdf=_0x595e79(_0x2d2f33);return(_0x215902=_0x1b9125['body'])==null||(_0x215902=_0x215902['blockRanges'])==null?void 0x0:_0x215902[_0x2ba0ff(0x1e9)](_0x325498=>{const _0x2e6301=_0x2ba0ff;let _0x2e4d5=(0x0,_0x2a5329[_0x2e6301(0x1fa)])(_0x325498);return _0x2d2f33[_0x2e6301(0x25a)]===_0x2d2f33['endOffset']?(0x0,_0x2a5329[_0x2e6301(0x261)])(_0x2e4d5,_0x189bdf):(0x0,_0x2a5329[_0x2e6301(0x26f)])(_0x2e4d5,_0x189bdf);});}function _0x595e79(_0x223c19){const _0x34328b=_0x5eba1f;return _0x223c19[_0x34328b(0x25a)]===_0x223c19['endOffset']?_0x223c19[_0x34328b(0x25a)]:_0x223c19[_0x34328b(0x25a)]+0x1;}function _0x42bb3b(_0x403361){const _0x5450ab=_0x5eba1f;let _0x4eb216=_0x1fbbc0(_0x403361);if(!_0x4eb216)return null;let _0x3c6f40=_0x403361[_0x5450ab(0x1f2)](_0x2a5329[_0x5450ab(0x241)])[_0x5450ab(0x1ea)](_0x2a5329['UniverInstanceType']['UNIVER_DOC']),_0x640c=_0x3c6f40==null?void 0x0:_0x3c6f40[_0x5450ab(0x275)]();return _0x640c?_0x2a5329[_0x5450ab(0x282)][_0x5450ab(0x1de)][_0x5450ab(0x284)](_0x4eb216,_0x640c['paragraphs']??[],_0x640c['dataStream']??'')[0x0]??null:null;}function _0x31a552(_0x347aad,_0x5b8488){const _0x2a1eb6=_0x5eba1f;let _0x392ec4=_0x347aad[_0x2a1eb6(0x1d1)],_0x4adaea=_0x5b8488[_0x2a1eb6(0x1d1)],_0x554088=(0x0,_0x2a5329['getSingleDataStreamChange'])(_0x392ec4,_0x4adaea);return[_0x554088&&_0x4adaea?_0x75971f(_0x4adaea,_0x554088):null,_0x554088?null:_0x167375(_0x392ec4,_0x4adaea)]['filter'](Boolean)['reduce']((_0x47b845,_0x2c4a31)=>_0x2a5329[_0x2a1eb6(0x1fe)]['compose'](_0x47b845,_0x2c4a31),null);}function _0x75971f(_0x375dea,_0x25be4b){const _0x466420=_0x5eba1f;let _0x1f5065=new _0x2a5329[(_0x466420(0x24a))]();return _0x1f5065[_0x466420(0x265)](_0x25be4b[_0x466420(0x253)]),_0x25be4b['insertLength']>0x0&&_0x1f5065[_0x466420(0x29c)](_0x25be4b[_0x466420(0x217)],(0x0,_0x2a5329[_0x466420(0x1f5)])(_0x375dea,_0x25be4b[_0x466420(0x253)],_0x25be4b[_0x466420(0x253)]+_0x25be4b[_0x466420(0x217)],!0x1)),_0x25be4b[_0x466420(0x21f)]>0x0&&_0x1f5065[_0x466420(0x1e6)](_0x25be4b[_0x466420(0x21f)]),_0x2a5329[_0x466420(0x1fe)][_0x466420(0x1df)]()['editOp'](_0x1f5065['serialize'](),['body']);}function _0x167375(_0x37862d,_0x8ab408){const _0x44c746=_0x5eba1f;let _0x4677b9=[],_0x36a8ff=_0x37862d?_0x3990f5(_0x37862d):void 0x0,_0x4a7dff=_0x8ab408?_0x3990f5(_0x8ab408):void 0x0;for(let _0x155d88 of _0x18f7dc)_0x3a517c(_0x2a5329['JSONX'][_0x44c746(0x1df)](),[_0x44c746(0x1d1),_0x155d88],_0x36a8ff==null?void 0x0:_0x36a8ff[_0x155d88],_0x4a7dff==null?void 0x0:_0x4a7dff[_0x155d88],_0x4677b9);return _0x4677b9[_0x44c746(0x21c)]((_0x51489f,_0x8aa602)=>_0x2a5329[_0x44c746(0x1fe)][_0x44c746(0x250)](_0x51489f,_0x8aa602),null);}let _0x18f7dc=[_0x5eba1f(0x20b),'sectionBreaks',_0x5eba1f(0x20e),_0x5eba1f(0x1ef),'blockRanges',_0x5eba1f(0x1cf),_0x5eba1f(0x1da),'customDecorations',_0x5eba1f(0x1d9)];function _0x3990f5(_0x33c1a4){return _0x33c1a4;}function _0x3a517c(_0x3f2ca8,_0x1e2c66,_0x262ab5,_0x308330,_0x75c502){const _0x107433=_0x5eba1f;_0x5b09a4(_0x262ab5,_0x308330)||(_0x262ab5==null?_0x75c502[_0x107433(0x229)](_0x3f2ca8[_0x107433(0x271)](_0x1e2c66,_0x308330)):_0x308330==null?_0x75c502[_0x107433(0x229)](_0x3f2ca8[_0x107433(0x224)](_0x1e2c66,_0x262ab5)):Array[_0x107433(0x209)](_0x262ab5)&&Array[_0x107433(0x209)](_0x308330)?_0x337a32(_0x3f2ca8,_0x1e2c66,_0x262ab5,_0x308330,_0x75c502):_0x2fcea9(_0x262ab5)&&_0x2fcea9(_0x308330)?new Set([...Object[_0x107433(0x21b)](_0x262ab5),...Object['keys'](_0x308330)])['forEach'](_0x55d822=>{_0x3a517c(_0x3f2ca8,[..._0x1e2c66,_0x55d822],_0x262ab5[_0x55d822],_0x308330[_0x55d822],_0x75c502);}):_0x75c502[_0x107433(0x229)](_0x3f2ca8['replaceOp'](_0x1e2c66,_0x262ab5,_0x308330)));}function _0x337a32(_0x2a5df4,_0x559b0e,_0x14364f,_0x35442d,_0x1584dd){const _0xfc70b1=_0x5eba1f;if(_0x14364f[_0xfc70b1(0x22b)]===_0x35442d[_0xfc70b1(0x22b)]){_0x14364f[_0xfc70b1(0x25c)]((_0x11c870,_0x131cd6)=>_0x3a517c(_0x2a5df4,[..._0x559b0e,_0x131cd6],_0x11c870,_0x35442d[_0x131cd6],_0x1584dd));return;}let _0x427b61=0x0;for(;_0x427b61<_0x14364f[_0xfc70b1(0x22b)]&&_0x427b61<_0x35442d[_0xfc70b1(0x22b)]&&_0x5b09a4(_0x14364f[_0x427b61],_0x35442d[_0x427b61]);)_0x427b61++;let _0x45e72c=_0x14364f[_0xfc70b1(0x22b)]-0x1,_0x13000d=_0x35442d[_0xfc70b1(0x22b)]-0x1;for(;_0x45e72c>=_0x427b61&&_0x13000d>=_0x427b61&&_0x5b09a4(_0x14364f[_0x45e72c],_0x35442d[_0x13000d]);)_0x45e72c--,_0x13000d--;for(let _0x277ec2=_0x45e72c;_0x277ec2>=_0x427b61;_0x277ec2--)_0x1584dd['push'](_0x2a5df4['removeOp']([..._0x559b0e,_0x277ec2],_0x14364f[_0x277ec2]));for(let _0xa27b66=_0x427b61;_0xa27b66<=_0x13000d;_0xa27b66++)_0x1584dd[_0xfc70b1(0x229)](_0x2a5df4['insertOp']([..._0x559b0e,_0xa27b66],_0x35442d[_0xa27b66]));}function _0x2fcea9(_0x41a6f1){const _0x4c61a7=_0x5eba1f;return typeof _0x41a6f1==_0x4c61a7(0x247)&&!!_0x41a6f1&&!Array[_0x4c61a7(0x209)](_0x41a6f1);}function _0x5b09a4(_0xcfd66b,_0x4e447f){const _0x582fad=_0x5eba1f;return JSON[_0x582fad(0x204)](_0xcfd66b)===JSON[_0x582fad(0x204)](_0x4e447f);}function _0x45182a(_0x137389,_0x4c805c,_0x4da838,_0x47d853,_0x1c942e,_0x1a179a,_0x279074){const _0x3dd51c=_0x5eba1f;let _0x49df92=_0x31a552(_0x47d853,_0x1c942e);return _0x49df92?!!_0x137389[_0x3dd51c(0x269)](_0xd998f[_0x3dd51c(0x201)]['id'],{'unitId':_0x4da838,'actions':_0x49df92,'textRanges':[{'startOffset':_0x279074,'endOffset':_0x279074,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x1a179a}):(_0x4c805c[_0x3dd51c(0x1e2)]([{'startOffset':_0x279074,'endOffset':_0x279074}],{'unitId':_0x4da838,'subUnitId':_0x4da838},!0x1),!0x0);}let _0x3d4c46=_0x5eba1f(0x243);var _0x46dcf4=_0x5eba1f(0x203),_0x12e3ce=_0x5eba1f(0x21a);let _0x166a79={};function _0x18b440(_0x5d8a80,_0x5db2de){return function(_0x5391eb,_0xb5b7f5){_0x5db2de(_0x5391eb,_0xb5b7f5,_0x5d8a80);};}function _0x573885(_0x4d1e57,_0x20db97,_0x160100,_0x2db468){const _0x524002=_0x5eba1f;var _0x17e286=arguments[_0x524002(0x22b)],_0x4cf663=_0x17e286<0x3?_0x20db97:_0x2db468===null?_0x2db468=Object[_0x524002(0x259)](_0x20db97,_0x160100):_0x2db468,_0x48d1a4;if(typeof Reflect==_0x524002(0x247)&&typeof Reflect[_0x524002(0x280)]==_0x524002(0x1f8))_0x4cf663=Reflect['decorate'](_0x4d1e57,_0x20db97,_0x160100,_0x2db468);else{for(var _0x2957bd=_0x4d1e57['length']-0x1;_0x2957bd>=0x0;_0x2957bd--)(_0x48d1a4=_0x4d1e57[_0x2957bd])&&(_0x4cf663=(_0x17e286<0x3?_0x48d1a4(_0x4cf663):_0x17e286>0x3?_0x48d1a4(_0x20db97,_0x160100,_0x4cf663):_0x48d1a4(_0x20db97,_0x160100))||_0x4cf663);}return _0x17e286>0x3&&_0x4cf663&&Object[_0x524002(0x23a)](_0x20db97,_0x160100,_0x4cf663),_0x4cf663;}let _0x4db51d=class extends _0x2a5329['Disposable']{constructor(_0x68503e,_0x2a512c){const _0xabd527=_0x5eba1f;super(),this['_resourceManagerService']=_0x68503e,this[_0xabd527(0x202)]=_0x2a512c,this[_0xabd527(0x1ca)]();}[_0x5eba1f(0x1ca)](){const _0xc0e741=_0x5eba1f;this[_0xc0e741(0x1e8)](this[_0xc0e741(0x262)][_0xc0e741(0x28a)]({'pluginName':_0x3d4c46,'businesses':[_0x2a5329[_0xc0e741(0x263)][_0xc0e741(0x1fb)]],'toJson':_0x20ecd0=>JSON[_0xc0e741(0x204)](this['_docsCodeModel'][_0xc0e741(0x235)](_0x20ecd0)),'parseJson':_0x26b294=>_0x3bd20a(JSON[_0xc0e741(0x266)](_0x26b294)),'onLoad':(_0x357423,_0x2a596f)=>this[_0xc0e741(0x202)][_0xc0e741(0x1d3)](_0x357423,_0x2a596f),'onUnLoad':_0x5f3c23=>this[_0xc0e741(0x202)]['removeUnit'](_0x5f3c23)}));}};_0x4db51d=_0x573885([_0x18b440(0x0,_0x2a5329[_0x5eba1f(0x1fc)]),_0x18b440(0x1,(0x0,_0x2a5329[_0x5eba1f(0x25b)])(_0x2b6374))],_0x4db51d);let _0x22959a=class extends _0x2a5329[_0x5eba1f(0x258)]{constructor(_0x452a45=_0x166a79,_0x869823,_0xc4e533,_0x21704e){const _0x45880c=_0x5eba1f;super(),this[_0x45880c(0x267)]=_0x452a45,this[_0x45880c(0x228)]=_0x869823,this['_commandService']=_0xc4e533,this[_0x45880c(0x23f)]=_0x21704e;let {..._0x5124f7}=(0x0,_0x2a5329[_0x45880c(0x1c7)])({},_0x166a79,this[_0x45880c(0x267)]);this[_0x45880c(0x23f)][_0x45880c(0x242)]('docs-code.config',_0x5124f7);}[_0x5eba1f(0x245)](){const _0x51bd1b=_0x5eba1f;this['_injector']['add']([_0x2b6374]),this['_injector']['add']([_0x4db51d]),this[_0x51bd1b(0x228)]['get'](_0x2b6374),this[_0x51bd1b(0x228)][_0x51bd1b(0x1f2)](_0x4db51d),[_0x4490c4,_0x4a06ef,_0x25d2bc,_0x5c7341,_0xabeec1,_0x589ed4,_0xb5bab8,_0x433134,_0xfea112,_0x46da34][_0x51bd1b(0x25c)](_0x5159e0=>this[_0x51bd1b(0x1e8)](this[_0x51bd1b(0x22a)][_0x51bd1b(0x291)](_0x5159e0)));}};_0x18c008(_0x22959a,_0x5eba1f(0x289),_0x3d4c46),_0x18c008(_0x22959a,_0x5eba1f(0x252),_0x46dcf4),_0x18c008(_0x22959a,_0x5eba1f(0x21e),_0x12e3ce),_0x18c008(_0x22959a,_0x5eba1f(0x1e4),_0x2a5329['UniverInstanceType'][_0x5eba1f(0x1fb)]),_0x22959a=_0x573885([(0x0,_0x2a5329[_0x5eba1f(0x273)])(_0x2a235e[_0x5eba1f(0x2a2)],_0xd998f[_0x5eba1f(0x26d)]),_0x18b440(0x1,(0x0,_0x2a5329['Inject'])(_0x2a5329[_0x5eba1f(0x24e)])),_0x18b440(0x2,_0x2a5329[_0x5eba1f(0x264)]),_0x18b440(0x3,_0x2a5329[_0x5eba1f(0x237)])],_0x22959a),_0x20031a[_0x5eba1f(0x293)]=_0x3d4c46,_0x20031a[_0x5eba1f(0x21d)]=_0xb5bab8,_0x20031a[_0x5eba1f(0x2a1)]=_0x433134,_0x20031a[_0x5eba1f(0x1d5)]=_0x4a06ef,_0x20031a['DocsCodeInsertCommand']=_0x4490c4,_0x20031a[_0x5eba1f(0x213)]=_0x2b6374,_0x20031a[_0x5eba1f(0x226)]=_0xabeec1,_0x20031a[_0x5eba1f(0x233)]=_0x5c7341,_0x20031a[_0x5eba1f(0x24f)]=_0x25d2bc,_0x20031a[_0x5eba1f(0x22d)]=_0x46da34,_0x20031a[_0x5eba1f(0x277)]=_0xfea112,Object[_0x5eba1f(0x23a)](_0x20031a,_0x5eba1f(0x20c),{'enumerable':!0x0,'get':function(){return _0x22959a;}}),_0x20031a['buildCancelEmptyCodeParagraphActions']=_0x35527e,_0x20031a[_0x5eba1f(0x287)]=_0x30c98d,_0x20031a[_0x5eba1f(0x22f)]=_0x4f674c,_0x20031a[_0x5eba1f(0x281)]=_0x3bd20a;}));
1
+ function _0x3b4d(_0x4be769,_0x5f0ebb){_0x4be769=_0x4be769-0x130;const _0x597a1b=_0x597a();let _0x3b4dc0=_0x597a1b[_0x4be769];return _0x3b4dc0;}(function(_0x61d1e9,_0x2617d0){const _0x233281=_0x3b4d,_0x2cf50c=_0x61d1e9();while(!![]){try{const _0x42ae8d=parseInt(_0x233281(0x14e))/0x1*(-parseInt(_0x233281(0x199))/0x2)+-parseInt(_0x233281(0x1df))/0x3*(-parseInt(_0x233281(0x20a))/0x4)+parseInt(_0x233281(0x1fb))/0x5+-parseInt(_0x233281(0x20b))/0x6+-parseInt(_0x233281(0x191))/0x7+parseInt(_0x233281(0x16c))/0x8*(-parseInt(_0x233281(0x158))/0x9)+parseInt(_0x233281(0x186))/0xa*(parseInt(_0x233281(0x16e))/0xb);if(_0x42ae8d===_0x2617d0)break;else _0x2cf50c['push'](_0x2cf50c['shift']());}catch(_0x2d7c9f){_0x2cf50c['push'](_0x2cf50c['shift']());}}}(_0x597a,0x454f0),function(_0x5c8026,_0x2a9e2b){const _0xb6f1d6=_0x3b4d;typeof exports==_0xb6f1d6(0x175)&&typeof module<'u'?_0x2a9e2b(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0xb6f1d6(0x1ea)&&define['amd']?define([_0xb6f1d6(0x1a2),_0xb6f1d6(0x18d),'rxjs','@univerjs/docs',_0xb6f1d6(0x188)],_0x2a9e2b):(_0x5c8026=typeof globalThis<'u'?globalThis:_0x5c8026||self,_0x2a9e2b(_0x5c8026[_0xb6f1d6(0x17b)]={},_0x5c8026[_0xb6f1d6(0x13c)],_0x5c8026[_0xb6f1d6(0x1fc)],_0x5c8026[_0xb6f1d6(0x1bd)],_0x5c8026[_0xb6f1d6(0x170)]));}(this,function(_0x43c8fa,_0x48da26,_0x5a4f80,_0x3aab82,_0x1717ee){const _0x587dd0=_0x3b4d;Object['defineProperty'](_0x43c8fa,Symbol[_0x587dd0(0x204)],{'value':_0x587dd0(0x194)});let _0x4ba25f={'language':_0x587dd0(0x14b),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x333d6b(_0x3e7957){return{..._0x4ba25f,..._0x3e7957};}function _0x380118(_0x22bb18){const _0x1f40c4=_0x587dd0;let _0x55f1bc=(_0x22bb18==null?void 0x0:_0x22bb18[_0x1f40c4(0x1ac)])??{};return{'codes':Object['fromEntries'](Object[_0x1f40c4(0x1aa)](_0x55f1bc)[_0x1f40c4(0x1c1)](([_0x52617a,_0x5951fb])=>[_0x52617a,_0x333d6b(_0x5951fb)]))};}function _0xb1a4d6(_0x41b349,_0x3d05da,_0x558e6f){const _0x3abde6=_0x587dd0;let _0x37b70b=_0x380118(_0x41b349);return _0x37b70b[_0x3abde6(0x1ac)][_0x3d05da]=_0x333d6b({..._0x37b70b[_0x3abde6(0x1ac)][_0x3d05da],..._0x558e6f}),_0x37b70b;}function _0xa4e059(_0x4ceec1,_0x1dcb5d){let _0x52b6a4=_0x380118(_0x4ceec1);return delete _0x52b6a4['codes'][_0x1dcb5d],_0x52b6a4;}function _0x5d4599(_0x29076b){'@babel/helpers - typeof';const _0x3ce7f7=_0x587dd0;return _0x5d4599=typeof Symbol==_0x3ce7f7(0x1ea)&&typeof Symbol[_0x3ce7f7(0x1fd)]==_0x3ce7f7(0x1f7)?function(_0x5860c0){return typeof _0x5860c0;}:function(_0x1ccf5d){const _0x598841=_0x3ce7f7;return _0x1ccf5d&&typeof Symbol==_0x598841(0x1ea)&&_0x1ccf5d[_0x598841(0x142)]===Symbol&&_0x1ccf5d!==Symbol[_0x598841(0x19c)]?_0x598841(0x1f7):typeof _0x1ccf5d;},_0x5d4599(_0x29076b);}function _0x9b79d9(_0x386e88,_0x2bf44b){const _0x533044=_0x587dd0;if(_0x5d4599(_0x386e88)!=_0x533044(0x175)||!_0x386e88)return _0x386e88;var _0x393dd0=_0x386e88[Symbol[_0x533044(0x208)]];if(_0x393dd0!==void 0x0){var _0x1d4b1d=_0x393dd0[_0x533044(0x185)](_0x386e88,_0x2bf44b||_0x533044(0x181));if(_0x5d4599(_0x1d4b1d)!=_0x533044(0x175))return _0x1d4b1d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2bf44b===_0x533044(0x15b)?String:Number)(_0x386e88);}function _0x449b0d(_0x4cc059){const _0x1e8ae6=_0x587dd0;var _0x3d979b=_0x9b79d9(_0x4cc059,_0x1e8ae6(0x15b));return _0x5d4599(_0x3d979b)==_0x1e8ae6(0x1f7)?_0x3d979b:_0x3d979b+'';}function _0x5c8f0e(_0x1a7335,_0xd65a3c,_0x3049ed){return(_0xd65a3c=_0x449b0d(_0xd65a3c))in _0x1a7335?Object['defineProperty'](_0x1a7335,_0xd65a3c,{'value':_0x3049ed,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a7335[_0xd65a3c]=_0x3049ed,_0x1a7335;}var _0x2c6968=class extends _0x48da26[_0x587dd0(0x132)]{constructor(..._0x3a0acc){const _0x25bd4e=_0x587dd0;super(..._0x3a0acc),_0x5c8f0e(this,_0x25bd4e(0x133),new Map()),_0x5c8f0e(this,_0x25bd4e(0x1b7),new _0x5a4f80['Subject']()),_0x5c8f0e(this,'change$',this[_0x25bd4e(0x1b7)][_0x25bd4e(0x1e2)]());}[_0x587dd0(0x1b1)](_0x3105a0,_0x4f6633){const _0x111624=_0x587dd0;return _0x380118(this[_0x111624(0x133)][_0x111624(0x1a9)](_0x3105a0))[_0x111624(0x1ac)][_0x4f6633];}['setCodeConfig'](_0x43fc36,_0x1567ad,_0x48cf54){const _0x394015=_0x587dd0;this[_0x394015(0x1c3)](_0x43fc36,_0x1567ad,_0xb1a4d6(this[_0x394015(0x133)][_0x394015(0x1a9)](_0x43fc36),_0x1567ad,_0x48cf54));}[_0x587dd0(0x205)](_0x461b47,_0x4c1adf){const _0x454c8e=_0x587dd0;this[_0x454c8e(0x1c3)](_0x461b47,_0x4c1adf,_0xa4e059(this['_resources']['get'](_0x461b47),_0x4c1adf));}[_0x587dd0(0x1ce)](_0x561349){const _0x20eeaf=_0x587dd0;return _0x380118(this[_0x20eeaf(0x133)][_0x20eeaf(0x1a9)](_0x561349));}[_0x587dd0(0x14d)](_0x8336cf,_0x5f1406){const _0x244e06=_0x587dd0;this[_0x244e06(0x133)][_0x244e06(0x197)](_0x8336cf,_0x380118(_0x5f1406)),this[_0x244e06(0x1b7)][_0x244e06(0x143)]({'unitId':_0x8336cf});}[_0x587dd0(0x19a)](_0x71bb3b){const _0x2838bd=_0x587dd0;this[_0x2838bd(0x133)]['delete'](_0x71bb3b),this[_0x2838bd(0x1b7)][_0x2838bd(0x143)]({'unitId':_0x71bb3b});}['dispose'](){const _0x4c54c9=_0x587dd0;super[_0x4c54c9(0x1c5)](),this['_resources'][_0x4c54c9(0x1cd)](),this['_change$'][_0x4c54c9(0x17e)]();}[_0x587dd0(0x1c3)](_0x133949,_0x354622,_0x43a2af){const _0x5600ef=_0x587dd0;this[_0x5600ef(0x133)][_0x5600ef(0x197)](_0x133949,_0x43a2af),this[_0x5600ef(0x1b7)][_0x5600ef(0x143)]({'unitId':_0x133949,'blockId':_0x354622});}};let _0x1d10e1={'id':_0x587dd0(0x18a),'type':_0x48da26[_0x587dd0(0x16d)][_0x587dd0(0x1de)],'handler':(_0xdec78c,_0x1f8abb)=>!(_0x1f8abb!=null&&_0x1f8abb[_0x587dd0(0x190)])||!_0x1f8abb[_0x587dd0(0x139)]?!0x1:(_0xdec78c[_0x587dd0(0x1a9)](_0x2c6968)[_0x587dd0(0x1af)](_0x1f8abb[_0x587dd0(0x190)],_0x1f8abb[_0x587dd0(0x139)],_0x1f8abb[_0x587dd0(0x1fe)]),!0x0)},_0x40cf30={'id':'docs-code.mutation.remove-config','type':_0x48da26[_0x587dd0(0x16d)][_0x587dd0(0x1de)],'handler':(_0x3b3097,_0x2b8f33)=>!(_0x2b8f33!=null&&_0x2b8f33[_0x587dd0(0x190)])||!_0x2b8f33['blockId']?!0x1:(_0x3b3097['get'](_0x2c6968)[_0x587dd0(0x205)](_0x2b8f33[_0x587dd0(0x190)],_0x2b8f33[_0x587dd0(0x139)]),!0x0)},_0x231780=_0x587dd0(0x17a);var _0x74ae43=class extends Error{constructor(_0x46d78c=_0x587dd0(0x201)){super(_0x46d78c);}};function _0x43fff9(_0x2ec21d){const _0x5afd5d=_0x587dd0;var _0x4165e7;let _0x13c9d6=_0x2f384b(_0x2ec21d[_0x5afd5d(0x161)]),_0x3ad3db=_0x15d43d(_0x13c9d6),_0xd9423=_0x586592(_0x2ec21d['startOffset'],_0x2ec21d[_0x5afd5d(0x1c9)]),_0x8e8864=_0xd9423?(_0x4165e7=_0x3ad3db['blockRanges'])==null?void 0x0:_0x4165e7['find'](_0x95f4fb=>{const _0x422617=_0x5afd5d;let _0x347f37=(0x0,_0x48da26[_0x422617(0x1ee)])(_0x95f4fb);return _0x347f37['startOffset']===_0xd9423[_0x422617(0x168)]&&_0x347f37['endOffset']===_0xd9423[_0x422617(0x1c9)];}):void 0x0,{startOffset:_0x509aad,endOffset:_0x5655bb}=_0x8e8864?_0xd9423:_0x23eea4(_0x3ad3db,_0x2ec21d[_0x5afd5d(0x168)],_0x2ec21d[_0x5afd5d(0x1c9)],_0x2ec21d[_0x5afd5d(0x166)]);if(!_0x8e8864&&_0x23b0c3(_0x3ad3db,_0x509aad,_0x5655bb))throw new _0x74ae43(_0x5afd5d(0x1be));let _0x5dd717=_0x253727(_0x3ad3db,_0x509aad,_0x5655bb),_0x59ef3e=(_0x8e8864==null?void 0x0:_0x8e8864[_0x5afd5d(0x139)])??_0x2ec21d['blockId'],_0x359b4e=_0xb1a4d6(_0x2ec21d[_0x5afd5d(0x15f)],_0x59ef3e,{..._0x4ba25f,..._0x2ec21d[_0x5afd5d(0x1fe)]});if(_0x8e8864)return _0x8e8864[_0x5afd5d(0x1e3)]=_0x48da26[_0x5afd5d(0x140)][_0x5afd5d(0x17d)],_0x27f546(_0x3ad3db,_0x509aad,_0x5655bb),_0x7c8319(_0x3ad3db,_0x509aad,_0x5655bb,_0x5dd717),_0x559f72(_0x3ad3db,_0x8e8864),{'nextDocumentData':_0x13c9d6,'nextMetadata':_0x359b4e,'cursorOffset':_0x509aad+0x1};if(_0x509aad===_0x5655bb){var _0xd8e9fa,_0x434aaf;let _0x4d7900=''+_0x48da26['DataStreamTreeTokenType']['BLOCK_START']+_0x48da26[_0x5afd5d(0x151)][_0x5afd5d(0x1b4)]+_0x48da26[_0x5afd5d(0x151)][_0x5afd5d(0x1bf)];_0x2c9563(_0x3ad3db,_0x509aad,_0x4d7900,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x48da26[_0x5afd5d(0x1b9)])(new Set((_0xd8e9fa=_0x3ad3db[_0x5afd5d(0x1dd)])==null?void 0x0:_0xd8e9fa['map'](_0x59a80e=>_0x59a80e['paragraphId']))),'paragraphStyle':_0x2a5be8(!0x0,!0x0,_0x5dd717)}],'blockRanges':[{'blockId':_0x59ef3e,'blockType':_0x48da26['DocumentBlockRangeType']['CODE'],'startIndex':0x0,'endIndex':_0x4d7900[_0x5afd5d(0x1ad)]-0x1}]});let _0x1cc16d=(_0x434aaf=_0x3ad3db[_0x5afd5d(0x183)])==null?void 0x0:_0x434aaf[_0x5afd5d(0x145)](_0x517474=>_0x517474[_0x5afd5d(0x139)]===_0x59ef3e);return _0x1cc16d&&_0x559f72(_0x3ad3db,_0x1cc16d),{'nextDocumentData':_0x13c9d6,'nextMetadata':_0x359b4e,'cursorOffset':_0x509aad+0x1};}_0x2c9563(_0x3ad3db,_0x5655bb,_0x48da26[_0x5afd5d(0x151)][_0x5afd5d(0x1bf)]),_0x2c9563(_0x3ad3db,_0x509aad,_0x48da26[_0x5afd5d(0x151)]['BLOCK_START']),_0x7c8319(_0x3ad3db,_0x509aad,_0x5655bb+0x1,_0x5dd717);let _0x34ce35={'blockId':_0x59ef3e,'blockType':_0x48da26['DocumentBlockRangeType']['CODE'],'startIndex':_0x509aad,'endIndex':_0x5655bb+0x1};return _0x3ad3db['blockRanges']=[..._0x3ad3db[_0x5afd5d(0x183)]??[],_0x34ce35][_0x5afd5d(0x1a5)]((_0x5e2ab7,_0x16c62d)=>_0x5e2ab7[_0x5afd5d(0x20c)]-_0x16c62d['startIndex']),_0x559f72(_0x3ad3db,_0x34ce35),{'nextDocumentData':_0x13c9d6,'nextMetadata':_0x359b4e,'cursorOffset':_0x509aad+0x1};}function _0x27f546(_0x2d3ce8,_0xae6e39,_0x4a7527){const _0x4c6a39=_0x587dd0;(_0x2d3ce8['paragraphs']??[])[_0x4c6a39(0x1a1)](_0x40f90c=>_0x40f90c[_0x4c6a39(0x20c)]>_0xae6e39&&_0x40f90c[_0x4c6a39(0x20c)]<_0x4a7527)[_0x4c6a39(0x1ff)](_0x50bd6d=>{const _0x5b59a8=_0x4c6a39;let _0x4f2665={..._0x50bd6d[_0x5b59a8(0x134)]??{}};delete _0x4f2665[_0x5b59a8(0x1a4)],delete _0x4f2665[_0x5b59a8(0x1b5)],_0x50bd6d[_0x5b59a8(0x134)]=_0x4f2665;});}function _0x586592(_0x70bb3e,_0x105e61){const _0x244af8=_0x587dd0;return _0x70bb3e==null||_0x105e61==null||_0x70bb3e===_0x105e61?null:{'startOffset':Math[_0x244af8(0x1d7)](_0x70bb3e,_0x105e61),'endOffset':Math[_0x244af8(0x1cb)](_0x70bb3e,_0x105e61)};}function _0x23b0c3(_0x258805,_0x22d6af,_0x505345){const _0xf10846=_0x587dd0;return(_0x258805[_0xf10846(0x183)]??[])[_0xf10846(0x15a)](_0x5d81d8=>{const _0x2d49bc=_0xf10846;let _0x34fd6d=(0x0,_0x48da26[_0x2d49bc(0x1ee)])(_0x5d81d8);return _0x22d6af===_0x505345?(0x0,_0x48da26[_0x2d49bc(0x154)])(_0x34fd6d,_0x22d6af):(0x0,_0x48da26['intersectsOperationalIntervals'])(_0x34fd6d,{'startOffset':_0x22d6af,'endOffset':_0x505345});});}function _0x545dd7(_0x370b16){const _0x18c196=_0x587dd0;return{'nextDocumentData':_0x2f384b(_0x370b16[_0x18c196(0x161)]),'nextMetadata':_0xb1a4d6(_0x370b16[_0x18c196(0x15f)],_0x370b16[_0x18c196(0x139)],_0x370b16[_0x18c196(0x1fe)]),'cursorOffset':0x0};}function _0x266920(_0x582ced){const _0x43d635=_0x587dd0;let _0x51ea5c=_0x2f384b(_0x582ced[_0x43d635(0x161)]),_0x4dac19=_0x15d43d(_0x51ea5c),_0x15a7ea=_0x1ce0e6(_0x4dac19,_0x582ced['blockId']);if(!_0x15a7ea)return null;let _0x18a3f5=_0xb76843(_0x4dac19,_0x15a7ea);return{'nextDocumentData':_0x51ea5c,'nextMetadata':_0xa4e059(_0x582ced[_0x43d635(0x15f)],_0x582ced[_0x43d635(0x139)]),'cursorOffset':_0x18a3f5};}function _0x5d43b3(_0x147e24){const _0x1efaba=_0x587dd0;var _0x441685;let _0x2b66b6=_0x2f384b(_0x147e24[_0x1efaba(0x161)]),_0x1a9f9e=_0x15d43d(_0x2b66b6),_0x129f18=_0x1ce0e6(_0x1a9f9e,_0x147e24[_0x1efaba(0x139)]);if(!_0x129f18)return null;let _0x546576=(0x0,_0x48da26[_0x1efaba(0x1ee)])(_0x129f18);return _0x5a3c11(_0x1a9f9e,_0x546576[_0x1efaba(0x168)],_0x546576[_0x1efaba(0x1c9)]),_0x1a9f9e[_0x1efaba(0x183)]=(_0x441685=_0x1a9f9e[_0x1efaba(0x183)])==null?void 0x0:_0x441685['filter'](_0x255ff5=>_0x255ff5[_0x1efaba(0x139)]!==_0x147e24[_0x1efaba(0x139)]),{'nextDocumentData':_0x2b66b6,'nextMetadata':_0xa4e059(_0x147e24['metadata'],_0x147e24[_0x1efaba(0x139)]),'cursorOffset':_0x129f18['startIndex']};}function _0x2effb4(_0x2ddcfa){const _0x832f98=_0x587dd0;let _0xc4a9e5=_0x2f384b(_0x2ddcfa['documentData']),_0x2c8cf8=_0x15d43d(_0xc4a9e5),_0x497c01=_0x110399(_0x2c8cf8,_0x2ddcfa['cursorOffset']);return _0x497c01&&_0x30a1f5(_0xc4a9e5,_0x2c8cf8,_0x497c01,_0x2ddcfa[_0x832f98(0x14c)],_0x2ddcfa[_0x832f98(0x1ba)])||null;}function _0x30a1f5(_0x5a0407,_0x5cb585,_0x20d6b0,_0x463fa2,_0x295a7e){const _0x179a0e=_0x587dd0;let _0x38f17a=_0x14326f(_0x5cb585,_0x20d6b0,_0x463fa2,_0x295a7e);if(!_0x38f17a)return null;let _0x1a9a1a=_0x38f17a[_0x179a0e(0x13d)]-0x1;return _0x5a3c11(_0x5cb585,_0x38f17a['paragraph'][_0x179a0e(0x20c)],_0x38f17a['paragraph'][_0x179a0e(0x20c)]+0x1),{'nextDocumentData':_0x5a0407,'cursorOffset':_0x1a9a1a};}function _0x1ce0e6(_0x14825a,_0x18c774){const _0x33f330=_0x587dd0;var _0x23bf23;return _0x14825a==null||(_0x23bf23=_0x14825a[_0x33f330(0x183)])==null?void 0x0:_0x23bf23[_0x33f330(0x145)](_0x4a5b68=>_0x4a5b68[_0x33f330(0x1e3)]===_0x48da26[_0x33f330(0x140)][_0x33f330(0x17d)]&&_0x4a5b68['blockId']===_0x18c774);}function _0x16746c(_0x2bb902){const _0x56d38c=_0x587dd0;let _0x134b5d=_0x2bb902[_0x56d38c(0x161)][_0x56d38c(0x1eb)];if(!_0x134b5d)return!0x1;let _0x3283ae=_0x2bb902['direction']===_0x56d38c(0x14a)?_0x2bb902['cursorOffset']-0x1:_0x2bb902['cursorOffset'],_0x2c19ed=_0x2bb902[_0x56d38c(0x1c0)]===_0x56d38c(0x1c6)?_0x2bb902[_0x56d38c(0x14c)]+0x1:_0x3283ae;return(_0x134b5d[_0x56d38c(0x183)]??[])['some'](_0x48d19e=>_0x48d19e[_0x56d38c(0x1e3)]===_0x48da26[_0x56d38c(0x140)][_0x56d38c(0x17d)]?_0x3283ae===_0x48d19e[_0x56d38c(0x20c)]||_0x3283ae===_0x48d19e['endIndex']||_0x2c19ed===_0x48d19e[_0x56d38c(0x20c)]||_0x2c19ed===_0x48d19e['endIndex']:!0x1);}function _0x110399(_0x10ab2,_0x5ba68b){const _0x1e07b5=_0x587dd0;var _0x5ebeab;return(_0x5ebeab=_0x10ab2[_0x1e07b5(0x183)])==null?void 0x0:_0x5ebeab['find'](_0x35064b=>{const _0x1358d5=_0x1e07b5;let _0x543714=_0x32be2d(_0x35064b);return _0x35064b['blockType']===_0x48da26[_0x1358d5(0x140)][_0x1358d5(0x17d)]&&_0x35064b[_0x1358d5(0x20c)]<=_0x5ba68b&&_0x5ba68b<=_0x543714+0x2;});}function _0x2a5be8(_0x47b5a8,_0x11fe8a,_0x44ae02=!0x1){const _0xdf4088=_0x587dd0;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x48da26['BooleanNumber'][_0xdf4088(0x1ec)],'keepNext':_0x11fe8a?_0x48da26['BooleanNumber']['FALSE']:_0x48da26['BooleanNumber'][_0xdf4088(0x1ec)],'widowControl':_0x48da26['BooleanNumber'][_0xdf4088(0x1ec)],..._0x47b5a8&&_0x44ae02?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x231780,'fs':0xc}};}function _0x7c8319(_0x33469d,_0x522284,_0x363a29,_0x4fe52a=!0x1){const _0x49aa10=_0x587dd0;let _0x3fbd4a=(_0x33469d[_0x49aa10(0x1dd)]??[])[_0x49aa10(0x1a1)](_0x46ef71=>_0x46ef71[_0x49aa10(0x20c)]>_0x522284&&_0x46ef71[_0x49aa10(0x20c)]<_0x363a29);_0x3fbd4a['forEach']((_0x62f75f,_0x57133b)=>{const _0x4a1279=_0x49aa10;_0x62f75f[_0x4a1279(0x134)]={..._0x62f75f['paragraphStyle']??{},..._0x2a5be8(_0x57133b===0x0,_0x57133b===_0x3fbd4a[_0x4a1279(0x1ad)]-0x1,_0x4fe52a)};});}function _0x2779c5(_0x3d017a){const _0x46c6ca=_0x587dd0;var _0x1e9c14,_0x43ff05;let _0x46c477={..._0x3d017a??{}};return delete _0x46c477[_0x46c6ca(0x1e7)],delete _0x46c477[_0x46c6ca(0x1d0)],delete _0x46c477[_0x46c6ca(0x1a4)],delete _0x46c477[_0x46c6ca(0x1b5)],delete _0x46c477[_0x46c6ca(0x1e0)],delete _0x46c477['keepNext'],delete _0x46c477[_0x46c6ca(0x1b2)],((_0x1e9c14=_0x46c477[_0x46c6ca(0x146)])==null?void 0x0:_0x1e9c14['ff'])===_0x231780&&((_0x43ff05=_0x46c477[_0x46c6ca(0x146)])==null?void 0x0:_0x43ff05['fs'])===0xc&&delete _0x46c477['textStyle'],_0x46c477;}function _0x4ac4a9(_0x357c27,_0x86519){const _0xd7d5c=_0x587dd0;let _0x5764f4=_0x32be2d(_0x86519);return(_0x357c27['paragraphs']??[])[_0xd7d5c(0x1a1)](_0x24deff=>_0x24deff[_0xd7d5c(0x20c)]>_0x86519['startIndex']&&_0x24deff[_0xd7d5c(0x20c)]<_0x5764f4);}function _0xb76843(_0x42ee2d,_0x368022){const _0x2c82df=_0x587dd0;var _0x58808b;let _0x1de28d=_0x32be2d(_0x368022);return _0x4ac4a9(_0x42ee2d,_0x368022)[_0x2c82df(0x1ff)](_0x34267c=>{const _0x3b10b3=_0x2c82df;_0x34267c['paragraphStyle']=_0x2779c5(_0x34267c[_0x3b10b3(0x134)]);}),_0x5a3c11(_0x42ee2d,_0x1de28d,_0x1de28d+0x1),_0x5a3c11(_0x42ee2d,_0x368022[_0x2c82df(0x20c)],_0x368022[_0x2c82df(0x20c)]+0x1),_0x42ee2d[_0x2c82df(0x183)]=(_0x58808b=_0x42ee2d[_0x2c82df(0x183)])==null?void 0x0:_0x58808b[_0x2c82df(0x1a1)](_0x1ea276=>_0x1ea276[_0x2c82df(0x139)]!==_0x368022[_0x2c82df(0x139)]),_0x368022[_0x2c82df(0x20c)];}function _0x2f384b(_0x5664ab){const _0x246284=_0x587dd0;return{..._0x5664ab,'body':_0x5664ab[_0x246284(0x1eb)]?_0x40af9b(_0x5664ab[_0x246284(0x1eb)]):_0x5664ab['body']};}function _0x40af9b(_0xd50695){const _0x4fca73=_0x587dd0;var _0x1fe403,_0x53e99a,_0x125f71,_0xd5f911,_0x465f98,_0xde44df,_0x25f420,_0x47bfd5,_0x4d2933;return{..._0xd50695,'paragraphs':(_0x1fe403=_0xd50695[_0x4fca73(0x1dd)])==null?void 0x0:_0x1fe403[_0x4fca73(0x1c1)](_0x31048b=>({..._0x31048b,'bullet':_0xa8815a(_0x31048b[_0x4fca73(0x148)]),'paragraphStyle':_0xa8815a(_0x31048b[_0x4fca73(0x134)])})),'sectionBreaks':(_0x53e99a=_0xd50695['sectionBreaks'])==null?void 0x0:_0x53e99a['map'](_0x52a820=>({..._0x52a820})),'textRuns':(_0x125f71=_0xd50695['textRuns'])==null?void 0x0:_0x125f71[_0x4fca73(0x1c1)](_0x1c214e=>({..._0x1c214e})),'tables':(_0xd5f911=_0xd50695[_0x4fca73(0x176)])==null?void 0x0:_0xd5f911[_0x4fca73(0x1c1)](_0x270e02=>({..._0x270e02})),'columnGroups':(_0x465f98=_0xd50695[_0x4fca73(0x137)])==null?void 0x0:_0x465f98[_0x4fca73(0x1c1)](_0x4ff6d3=>{const _0x5830a3=_0x4fca73;var _0x3dca99;return{..._0x4ff6d3,'columns':(_0x3dca99=_0x4ff6d3[_0x5830a3(0x1d5)])==null?void 0x0:_0x3dca99['map'](_0x22cf91=>_0xa8815a(_0x22cf91))};}),'blockRanges':(_0xde44df=_0xd50695[_0x4fca73(0x183)])==null?void 0x0:_0xde44df[_0x4fca73(0x1c1)](_0x3066b9=>({..._0x3066b9})),'customRanges':(_0x25f420=_0xd50695[_0x4fca73(0x178)])==null?void 0x0:_0x25f420[_0x4fca73(0x1c1)](_0x5052b7=>({..._0x5052b7})),'customDecorations':(_0x47bfd5=_0xd50695[_0x4fca73(0x1f3)])==null?void 0x0:_0x47bfd5['map'](_0x279be0=>({..._0x279be0})),'customBlocks':(_0x4d2933=_0xd50695[_0x4fca73(0x135)])==null?void 0x0:_0x4d2933[_0x4fca73(0x1c1)](_0x274cfe=>({..._0x274cfe}))};}function _0xa8815a(_0x4355e3){const _0x5df78e=_0x587dd0;return Array[_0x5df78e(0x136)](_0x4355e3)?_0x4355e3[_0x5df78e(0x1c1)](_0x1d1129=>_0xa8815a(_0x1d1129)):!_0x4355e3||typeof _0x4355e3!='object'?_0x4355e3:Object[_0x5df78e(0x1e4)](Object[_0x5df78e(0x1aa)](_0x4355e3)[_0x5df78e(0x1c1)](([_0xe3d4df,_0xed926c])=>[_0xe3d4df,_0xa8815a(_0xed926c)]));}function _0x15d43d(_0x1cb8a4){const _0x257a23=_0x587dd0;if(!_0x1cb8a4['body'])throw Error(_0x257a23(0x19b));return _0x1cb8a4[_0x257a23(0x1eb)];}function _0x23eea4(_0x15f8fc,_0x43fcf9,_0x383e95,_0x59f61d=_0x587dd0(0x15d)){const _0x66af02=_0x587dd0;if(_0x43fcf9==null||_0x383e95==null){let _0x45c839=_0x3f557b(_0x15f8fc);return{'startOffset':_0x45c839,'endOffset':_0x45c839};}let _0x3ea127=Math['min'](_0x43fcf9,_0x383e95),_0x21760c=Math['max'](_0x43fcf9,_0x383e95),_0x249ae6=_0x7c12aa(_0x15f8fc,_0x3ea127,_0x21760c);return _0x3ea127===_0x21760c?_0x59f61d===_0x66af02(0x16a)?{'startOffset':_0x3ea127,'endOffset':_0x21760c}:_0xa462bd(_0x15f8fc,_0x3ea127,_0x249ae6):_0x309689(_0x15f8fc,_0x3ea127,_0x21760c,_0x249ae6);}function _0xa462bd(_0x281ee2,_0x31a09d,_0x4811b4){const _0x53fe8b=_0x587dd0;let _0x1bd05c=_0x252c77(_0x281ee2,_0x31a09d);if(_0x1bd05c){let _0x85e5bc=_0x1c6631(_0x281ee2,_0x1bd05c,_0x4811b4);if(_0x85e5bc<_0x1bd05c['startIndex'])return{'startOffset':_0x85e5bc,'endOffset':_0x4811b4?Math['min'](_0x1bd05c[_0x53fe8b(0x20c)]+0x1,_0x4811b4[_0x53fe8b(0x1c9)]):_0x1bd05c[_0x53fe8b(0x20c)]+0x1};}let _0x2b9a41=_0x31a09d===0x0&&_0x281ee2[_0x53fe8b(0x182)][0x0]===_0x48da26[_0x53fe8b(0x151)][_0x53fe8b(0x1b4)]?0x1:_0x31a09d;return{'startOffset':_0x2b9a41,'endOffset':_0x2b9a41};}function _0x3f557b(_0x58819d){const _0x2f677b=_0x587dd0;return _0x58819d[_0x2f677b(0x182)]['endsWith'](_0x48da26['DataStreamTreeTokenType'][_0x2f677b(0x159)])?Math['max'](0x0,_0x58819d[_0x2f677b(0x182)]['length']-0x1):_0x58819d[_0x2f677b(0x182)]['length'];}function _0x253727(_0xb20c82,_0x4e123c,_0x359464){const _0x2f9846=_0x587dd0;var _0x2a68a2;let _0x471839=Math['min'](_0x4e123c,_0x359464),_0x541abe=Math[_0x2f9846(0x1cb)](_0x4e123c,_0x359464);return!!((_0x2a68a2=_0xb20c82[_0x2f9846(0x176)])!=null&&_0x2a68a2['some'](_0x3d5c81=>_0x471839>_0x3d5c81[_0x2f9846(0x20c)]&&_0x471839<_0x3d5c81['endIndex']||_0x541abe>_0x3d5c81[_0x2f9846(0x20c)]&&_0x541abe<_0x3d5c81[_0x2f9846(0x171)]||_0x471839<=_0x3d5c81['startIndex']&&_0x541abe>=_0x3d5c81[_0x2f9846(0x171)]));}function _0x309689(_0x52cac9,_0x4da43b,_0x532836,_0x23e497){const _0x24311f=_0x587dd0;let _0x2b257c=[..._0x52cac9['paragraphs']??[]][_0x24311f(0x1a5)]((_0x359cba,_0x88a5e6)=>_0x359cba[_0x24311f(0x20c)]-_0x88a5e6[_0x24311f(0x20c)]),_0x3edde5=(0x0,_0x48da26[_0x24311f(0x1a7)])(_0x52cac9),_0x294fde=_0x2b257c['find'](_0x5cf51c=>_0x1c6631(_0x52cac9,_0x5cf51c,_0x23e497,_0x3edde5)<=_0x4da43b&&_0x4da43b<=_0x5cf51c['startIndex']),_0x57b9a5=_0x2b257c[_0x24311f(0x145)](_0x10e001=>_0x10e001['startIndex']>=_0x532836-0x1)??_0x2b257c[_0x2b257c[_0x24311f(0x1ad)]-0x1];return{'startOffset':_0x294fde?_0x1c6631(_0x52cac9,_0x294fde,_0x23e497,_0x3edde5):_0x4da43b,'endOffset':_0x57b9a5?_0x31dad2(_0x57b9a5,_0x23e497):_0x532836};}function _0x252c77(_0x54fc8e,_0x22e86a){const _0xd8d06d=_0x587dd0;let _0x12b6f3=[..._0x54fc8e[_0xd8d06d(0x1dd)]??[]][_0xd8d06d(0x1a5)]((_0x11cb32,_0x12ce98)=>_0x11cb32[_0xd8d06d(0x20c)]-_0x12ce98['startIndex']),_0x35815a=(0x0,_0x48da26[_0xd8d06d(0x1a7)])(_0x54fc8e);return _0x12b6f3[_0xd8d06d(0x145)](_0x166b77=>(_0x35815a[_0xd8d06d(0x1a9)](_0x166b77[_0xd8d06d(0x20c)])??0x0)<=_0x22e86a&&_0x22e86a<=_0x166b77['startIndex']);}function _0x1c6631(_0x2809f2,_0x112ad2,_0x2310e6,_0x1d7cb7){const _0x23c54c=_0x587dd0;let _0x10fdfa=(_0x1d7cb7==null?void 0x0:_0x1d7cb7['get'](_0x112ad2[_0x23c54c(0x20c)]))??(0x0,_0x48da26['getParagraphContentStartOffset'])(_0x2809f2,_0x112ad2);return _0x2310e6?Math[_0x23c54c(0x1cb)](_0x10fdfa,_0x2310e6[_0x23c54c(0x168)]):_0x10fdfa;}function _0x31dad2(_0x1d1a67,_0xa0ee17){const _0x517af1=_0x587dd0;let _0x91658b=_0x1d1a67['startIndex']+0x1;return _0xa0ee17?Math[_0x517af1(0x1d7)](_0x91658b,_0xa0ee17[_0x517af1(0x1c9)]):_0x91658b;}function _0x7c12aa(_0x481cfa,_0x586b39,_0x2725bd){const _0x3fb720=_0x587dd0;let _0x523fa4=_0x4e81b3(_0x481cfa,_0x586b39),_0x5afdd9=_0x4e81b3(_0x481cfa,_0x586b39===_0x2725bd?_0x2725bd:Math[_0x3fb720(0x1cb)](_0x586b39,_0x2725bd-0x1));if(_0x523fa4||_0x5afdd9){if(!_0x523fa4||!_0x5afdd9||_0x523fa4[_0x3fb720(0x131)]!==_0x5afdd9[_0x3fb720(0x131)]||_0x523fa4[_0x3fb720(0x13d)]!==_0x5afdd9[_0x3fb720(0x13d)])throw new _0x74ae43();return _0x523fa4;}}function _0x4e81b3(_0x4a4058,_0x22bef1){const _0x4957bb=_0x587dd0;let _0xb915f0=_0x4a4058[_0x4957bb(0x182)],_0x47d673=-0x1;for(let _0x292fd3=Math['min'](_0x22bef1,_0xb915f0['length']-0x1);_0x292fd3>=0x0;_0x292fd3--){let _0xee39c8=_0xb915f0[_0x292fd3];if(_0xee39c8===_0x48da26[_0x4957bb(0x151)]['TABLE_CELL_END'])return;if(_0xee39c8===_0x48da26[_0x4957bb(0x151)][_0x4957bb(0x160)]){_0x47d673=_0x292fd3;break;}}if(_0x47d673<0x0)return;let _0x1fa5d4=_0xb915f0['indexOf'](_0x48da26[_0x4957bb(0x151)][_0x4957bb(0x187)],_0x47d673+0x1);if(!(_0x1fa5d4<0x0||_0x22bef1<_0x47d673+0x1||_0x22bef1>_0x1fa5d4-0x1))return{'startOffset':_0x47d673+0x1,'endOffset':Math['max'](_0x47d673+0x1,_0x1fa5d4-0x1),'startTokenOffset':_0x47d673,'endTokenOffset':_0x1fa5d4};}function _0x32be2d(_0x53fe70){const _0x3a38e7=_0x587dd0;return(0x0,_0x48da26['getBlockRangeInterval'])(_0x53fe70)[_0x3a38e7(0x1c9)]-0x1;}function _0x14326f(_0x6fc1d0,_0x16874a,_0x4f5cc5,_0x6f1ad1){const _0x43d2e5=_0x587dd0;let _0x5d4d51=_0x32be2d(_0x16874a),_0x350fa6=(_0x6fc1d0[_0x43d2e5(0x1dd)]??[])[_0x43d2e5(0x145)](_0x485d70=>_0x485d70[_0x43d2e5(0x20c)]===_0x5d4d51+0x1);if(!_0x350fa6||_0x6f1ad1!=null&&_0x350fa6['startIndex']!==_0x6f1ad1||_0x4f5cc5!=null&&(_0x4f5cc5<_0x5d4d51||_0x4f5cc5>_0x350fa6[_0x43d2e5(0x20c)]+0x1)||_0x6fc1d0[_0x43d2e5(0x182)][_0x350fa6[_0x43d2e5(0x20c)]]!==_0x48da26['DataStreamTreeTokenType']['PARAGRAPH'])return null;let _0x34bfb8=(0x0,_0x48da26[_0x43d2e5(0x1d4)])(_0x6fc1d0,_0x350fa6),_0x77516d=_0x6fc1d0[_0x43d2e5(0x182)]['slice'](_0x34bfb8,_0x350fa6[_0x43d2e5(0x20c)]);return Array[_0x43d2e5(0x1c4)](_0x77516d)['every'](_0x3cf988=>_0x3cf988===_0x48da26['DataStreamTreeTokenType'][_0x43d2e5(0x1bf)])?{'paragraph':_0x350fa6,'endTokenOffset':_0x5d4d51}:null;}function _0x559f72(_0xacab2c,_0x56bf1e){const _0x4aeb54=_0x587dd0;var _0x55eb30;let _0x11cd3b=_0x32be2d(_0x56bf1e),_0x2b0624=_0xacab2c['dataStream'][_0x11cd3b+0x1];(_0x2b0624===_0x48da26['DataStreamTreeTokenType'][_0x4aeb54(0x159)]||_0x2b0624===void 0x0)&&_0x2c9563(_0xacab2c,_0x11cd3b+0x1,_0x48da26[_0x4aeb54(0x151)][_0x4aeb54(0x1b4)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x48da26[_0x4aeb54(0x1b9)])(new Set((_0x55eb30=_0xacab2c[_0x4aeb54(0x1dd)])==null?void 0x0:_0x55eb30[_0x4aeb54(0x1c1)](_0xfc2b26=>_0xfc2b26['paragraphId'])))}]});}function _0x2c9563(_0x1a73e6,_0x4f6a16,_0xfe4f58,_0x5162fe={}){const _0x423aa4=_0x587dd0;var _0x1a183e,_0x4c7b9e;_0xfe4f58&&(_0x1a73e6[_0x423aa4(0x182)]=''+_0x1a73e6[_0x423aa4(0x182)][_0x423aa4(0x155)](0x0,_0x4f6a16)+_0xfe4f58+_0x1a73e6[_0x423aa4(0x182)]['slice'](_0x4f6a16),_0x1fb99f(_0x1a73e6,_0x4f6a16,_0xfe4f58[_0x423aa4(0x1ad)]),(_0x1a183e=_0x5162fe[_0x423aa4(0x1dd)])!=null&&_0x1a183e[_0x423aa4(0x1ad)]&&(_0x1a73e6[_0x423aa4(0x1dd)]=[..._0x1a73e6[_0x423aa4(0x1dd)]??[],..._0x5162fe[_0x423aa4(0x1dd)][_0x423aa4(0x1c1)](_0xef9b5b=>({..._0xef9b5b,'startIndex':_0xef9b5b[_0x423aa4(0x20c)]+_0x4f6a16}))][_0x423aa4(0x1a5)]((_0x84726f,_0x5295b3)=>_0x84726f['startIndex']-_0x5295b3[_0x423aa4(0x20c)])),(_0x4c7b9e=_0x5162fe[_0x423aa4(0x183)])!=null&&_0x4c7b9e['length']&&(_0x1a73e6[_0x423aa4(0x183)]=[..._0x1a73e6[_0x423aa4(0x183)]??[],..._0x5162fe[_0x423aa4(0x183)]['map'](_0x94ddc7=>({..._0x94ddc7,'startIndex':_0x94ddc7[_0x423aa4(0x20c)]+_0x4f6a16,'endIndex':_0x94ddc7[_0x423aa4(0x171)]+_0x4f6a16}))]['sort']((_0x1d64d6,_0x3a740e)=>_0x1d64d6[_0x423aa4(0x20c)]-_0x3a740e['startIndex'])));}function _0x5a3c11(_0x58c08e,_0x49b513,_0x4ae9b3){const _0x2d758c=_0x587dd0;let _0x42e8ca=_0x4ae9b3-_0x49b513;_0x58c08e[_0x2d758c(0x182)]=''+_0x58c08e[_0x2d758c(0x182)][_0x2d758c(0x155)](0x0,_0x49b513)+_0x58c08e[_0x2d758c(0x182)][_0x2d758c(0x155)](_0x4ae9b3),_0x53848c(_0x58c08e,_0x49b513,_0x42e8ca);}function _0x1fb99f(_0x2915b4,_0x45076f,_0x11df6a){const _0x5d348a=_0x587dd0;_0x2915b4[_0x5d348a(0x1dd)]=_0x38935a(_0x2915b4[_0x5d348a(0x1dd)],_0x45076f,_0x11df6a),_0x2915b4[_0x5d348a(0x18f)]=_0x38935a(_0x2915b4[_0x5d348a(0x18f)],_0x45076f,_0x11df6a),_0x2915b4[_0x5d348a(0x135)]=_0x38935a(_0x2915b4['customBlocks'],_0x45076f,_0x11df6a),_0x2915b4[_0x5d348a(0x1cf)]=_0x2588e1(_0x2915b4[_0x5d348a(0x1cf)],_0x45076f,_0x11df6a),_0x2915b4['tables']=_0xbe6524(_0x2915b4['tables'],_0x45076f,_0x11df6a),_0x2915b4['columnGroups']=_0x3bc939(_0x2915b4[_0x5d348a(0x137)],_0x45076f,_0x11df6a),_0x2915b4[_0x5d348a(0x178)]=_0x3bc939(_0x2915b4[_0x5d348a(0x178)],_0x45076f,_0x11df6a),_0x2915b4['customDecorations']=_0x3bc939(_0x2915b4[_0x5d348a(0x1f3)],_0x45076f,_0x11df6a),_0x2915b4[_0x5d348a(0x183)]=_0x3bc939(_0x2915b4[_0x5d348a(0x183)],_0x45076f,_0x11df6a);}function _0x53848c(_0x57b1c1,_0x48b6a8,_0x352dac){const _0x455abb=_0x587dd0;var _0x1f2912,_0x5e4e20;_0x57b1c1[_0x455abb(0x1dd)]=_0x466905(_0x57b1c1[_0x455abb(0x1dd)],_0x48b6a8,_0x352dac),_0x57b1c1[_0x455abb(0x18f)]=_0x466905(_0x57b1c1[_0x455abb(0x18f)],_0x48b6a8,_0x352dac),_0x57b1c1['customBlocks']=_0x466905(_0x57b1c1[_0x455abb(0x135)],_0x48b6a8,_0x352dac),_0x57b1c1['textRuns']=(_0x1f2912=_0x4d2203((_0x5e4e20=_0x57b1c1[_0x455abb(0x1cf)])==null?void 0x0:_0x5e4e20[_0x455abb(0x1c1)](_0x301c8e=>({..._0x301c8e,'startIndex':_0x301c8e['st'],'endIndex':_0x301c8e['ed']})),_0x48b6a8,_0x352dac))==null?void 0x0:_0x1f2912[_0x455abb(0x1c1)](_0x721d57=>{let {startIndex:_0x367c1a,endIndex:_0x1b3d9f,..._0xb7cb85}=_0x721d57;return{..._0xb7cb85,'st':_0x367c1a,'ed':_0x1b3d9f};}),_0x57b1c1[_0x455abb(0x176)]=_0x4d2203(_0x57b1c1[_0x455abb(0x176)],_0x48b6a8,_0x352dac),_0x57b1c1[_0x455abb(0x137)]=_0x1b9620(_0x57b1c1[_0x455abb(0x137)],_0x48b6a8,_0x352dac),_0x57b1c1[_0x455abb(0x178)]=_0x1b9620(_0x57b1c1[_0x455abb(0x178)],_0x48b6a8,_0x352dac),_0x57b1c1[_0x455abb(0x1f3)]=_0x1b9620(_0x57b1c1[_0x455abb(0x1f3)],_0x48b6a8,_0x352dac),_0x57b1c1[_0x455abb(0x183)]=_0x1b9620(_0x57b1c1['blockRanges'],_0x48b6a8,_0x352dac);}function _0x38935a(_0x1a38bc,_0x1668d8,_0xc1c3ae){const _0x52e2eb=_0x587dd0;return _0x1a38bc==null?void 0x0:_0x1a38bc['map'](_0x41df59=>_0x41df59['startIndex']>=_0x1668d8?{..._0x41df59,'startIndex':_0x41df59[_0x52e2eb(0x20c)]+_0xc1c3ae}:_0x41df59);}function _0x466905(_0x5be9f9,_0x59540e,_0x357e6a){const _0x4e93ca=_0x587dd0;let _0x123ca5=_0x59540e+_0x357e6a;return _0x5be9f9==null?void 0x0:_0x5be9f9[_0x4e93ca(0x1c1)](_0x4ee86b=>_0x4ee86b[_0x4e93ca(0x20c)]>=_0x59540e&&_0x4ee86b[_0x4e93ca(0x20c)]<_0x123ca5?null:_0x4ee86b[_0x4e93ca(0x20c)]>=_0x123ca5?{..._0x4ee86b,'startIndex':_0x4ee86b['startIndex']-_0x357e6a}:_0x4ee86b)[_0x4e93ca(0x1a1)](_0x26e5f4=>_0x26e5f4!=null);}function _0x2588e1(_0x568b2b,_0x2d1afd,_0x1c6ed0){return _0x568b2b==null?void 0x0:_0x568b2b['map'](_0x5de806=>_0x5de806['st']>=_0x2d1afd?{..._0x5de806,'st':_0x5de806['st']+_0x1c6ed0,'ed':_0x5de806['ed']+_0x1c6ed0}:_0x5de806['ed']>_0x2d1afd?{..._0x5de806,'ed':_0x5de806['ed']+_0x1c6ed0}:_0x5de806);}function _0x3bc939(_0x307025,_0x1a3ccb,_0x41eb6f){const _0x9893c4=_0x587dd0;return _0x307025==null?void 0x0:_0x307025[_0x9893c4(0x1c1)](_0x57dc78=>(0x0,_0x48da26['shiftInclusiveRangeOnInsert'])(_0x57dc78,_0x1a3ccb,_0x41eb6f));}function _0xbe6524(_0x9d2bca,_0x5e7ea0,_0x474646){const _0x5b3183=_0x587dd0;return _0x9d2bca==null?void 0x0:_0x9d2bca['map'](_0x4b5170=>(0x0,_0x48da26[_0x5b3183(0x1b6)])(_0x4b5170,_0x5e7ea0,_0x474646));}function _0x1b9620(_0x45109c,_0x4cb3fd,_0x116919){const _0x22765d=_0x587dd0;return _0x45109c==null?void 0x0:_0x45109c['map'](_0x2ba081=>(0x0,_0x48da26[_0x22765d(0x1c2)])(_0x2ba081,_0x4cb3fd,_0x116919))['filter'](_0xaccb87=>_0xaccb87!=null);}function _0x4d2203(_0x2d78ba,_0x583d0e,_0x35959d){const _0x16eead=_0x587dd0;return _0x2d78ba==null?void 0x0:_0x2d78ba[_0x16eead(0x1c1)](_0x21962c=>(0x0,_0x48da26[_0x16eead(0x180)])(_0x21962c,_0x583d0e,_0x35959d))[_0x16eead(0x1a1)](_0x5b9586=>_0x5b9586!=null);}let _0x4fa0ed={'id':_0x587dd0(0x1e9),'type':_0x48da26[_0x587dd0(0x16d)][_0x587dd0(0x1a6)],'handler':_0x4e24f9=>{const _0x5a29e0=_0x587dd0;var _0x44d12b;if((0x0,_0x3aab82['isHeaderFooterSelection'])(_0x2b5d90(_0x4e24f9)))return!0x1;let _0x124d45=(0x0,_0x3aab82[_0x5a29e0(0x209)])(_0x4e24f9);if(_0x124d45)return _0x4e24f9['get'](_0x48da26[_0x5a29e0(0x1c8)])['syncExecuteCommand'](_0x512ac1['id'],{'startOffset':_0x124d45[_0x5a29e0(0x168)],'endOffset':_0x124d45[_0x5a29e0(0x1c9)],'insertionMode':_0x5a29e0(0x16a),'unitId':_0x124d45[_0x5a29e0(0x190)]});let _0x5c4a06=_0x1ad6d9(_0x4e24f9);if(!_0x5c4a06)return!0x1;let _0x36acce=(_0x44d12b=_0x4e24f9[_0x5a29e0(0x1a9)](_0x48da26[_0x5a29e0(0x163)])[_0x5a29e0(0x15e)](_0x48da26[_0x5a29e0(0x1a8)]['UNIVER_DOC']))==null?void 0x0:_0x44d12b[_0x5a29e0(0x144)](),_0x8ca190=_0x36acce?(0x0,_0x48da26[_0x5a29e0(0x141)])(_0x36acce,_0x5c4a06):_0x5c4a06[_0x5a29e0(0x20c)]+0x1;return _0x4e24f9['get'](_0x48da26[_0x5a29e0(0x1c8)])[_0x5a29e0(0x18c)](_0x512ac1['id'],{'startOffset':_0x8ca190,'endOffset':_0x8ca190});}},_0x39809a={'id':_0x587dd0(0x165),'type':_0x48da26[_0x587dd0(0x16d)][_0x587dd0(0x1a6)],'handler':()=>!0x0},_0x512ac1={'id':_0x587dd0(0x164),'type':_0x48da26['CommandType'][_0x587dd0(0x1a6)],'handler':(_0xe58468,_0x4086bd)=>{const _0x1bd1ec=_0x587dd0;let _0x118c98=_0x532e33(_0xe58468,_0x4086bd==null?void 0x0:_0x4086bd['unitId']);if(!_0x118c98)return!0x1;let _0x3a27cc=_0x2b5d90(_0xe58468);if((0x0,_0x3aab82[_0x1bd1ec(0x177)])(_0x3a27cc))return!0x1;let _0xae930b=_0x118c98[_0x1bd1ec(0x1f8)][_0x1bd1ec(0x1ce)](_0x118c98[_0x1bd1ec(0x190)]),_0x22e315=_0x559d35(_0x4086bd,_0x3a27cc),_0x22e22c=_0x3a76b3(_0x118c98['previousDocumentData'],_0x22e315);if(_0x22e22c){if(_0x22e22c[_0x1bd1ec(0x1e3)]!==_0x48da26[_0x1bd1ec(0x140)]['CODE'])return!0x1;let _0x56f734=_0x266920({'blockId':_0x22e22c[_0x1bd1ec(0x139)],'documentData':_0x118c98[_0x1bd1ec(0x169)],'metadata':_0xae930b});if(!_0x56f734)return!0x1;let _0x524a63=_0x328d33(_0x118c98[_0x1bd1ec(0x1f4)],_0x118c98[_0x1bd1ec(0x1d2)],_0x118c98[_0x1bd1ec(0x190)],_0x118c98[_0x1bd1ec(0x169)],_0x56f734['nextDocumentData'],_0x512ac1['id'],_0x56f734[_0x1bd1ec(0x14c)]);return _0x524a63&&_0x56f734[_0x1bd1ec(0x189)]&&_0x118c98[_0x1bd1ec(0x1f8)]['deserialize'](_0x118c98[_0x1bd1ec(0x190)],_0x56f734[_0x1bd1ec(0x189)]),_0x524a63;}let _0x3a65d9=(_0x4086bd==null?void 0x0:_0x4086bd[_0x1bd1ec(0x139)])??(0x0,_0x48da26[_0x1bd1ec(0x172)])(0x6),_0x2f8f52;try{_0x2f8f52=_0x43fff9({'blockId':_0x3a65d9,'config':_0x4086bd==null?void 0x0:_0x4086bd[_0x1bd1ec(0x1fe)],'documentData':_0x118c98[_0x1bd1ec(0x169)],'endOffset':_0x22e315==null?void 0x0:_0x22e315['endOffset'],'insertionMode':_0x4086bd==null?void 0x0:_0x4086bd['insertionMode'],'metadata':_0xae930b,'startOffset':_0x22e315==null?void 0x0:_0x22e315[_0x1bd1ec(0x168)]});}catch(_0x5568a4){if(_0x5568a4 instanceof _0x74ae43)return!0x1;throw _0x5568a4;}let _0x3d663d=_0x328d33(_0x118c98['commandService'],_0x118c98['selectionManager'],_0x118c98[_0x1bd1ec(0x190)],_0x118c98[_0x1bd1ec(0x169)],_0x2f8f52[_0x1bd1ec(0x1db)],_0x512ac1['id'],_0x2f8f52[_0x1bd1ec(0x14c)]);return _0x3d663d&&_0x2f8f52[_0x1bd1ec(0x189)]&&_0x118c98[_0x1bd1ec(0x1f8)]['deserialize'](_0x118c98[_0x1bd1ec(0x190)],_0x2f8f52[_0x1bd1ec(0x189)]),_0x3d663d;}},_0x22e9de={'id':'docs-code.command.update','type':_0x48da26[_0x587dd0(0x16d)]['COMMAND'],'handler':(_0x44ce26,_0x11d5f1)=>{const _0x2902e4=_0x587dd0;if(!_0x11d5f1)return!0x1;let _0x4b0acc=_0x532e33(_0x44ce26,_0x11d5f1['unitId']);if(!_0x4b0acc)return!0x1;let _0x27fc05=_0x545dd7({'blockId':_0x11d5f1['blockId'],'config':_0x11d5f1[_0x2902e4(0x1fe)],'documentData':_0x4b0acc[_0x2902e4(0x169)],'metadata':_0x4b0acc[_0x2902e4(0x1f8)][_0x2902e4(0x1ce)](_0x4b0acc['unitId'])});return _0x27fc05[_0x2902e4(0x189)]&&_0x4b0acc[_0x2902e4(0x1f8)][_0x2902e4(0x14d)](_0x4b0acc['unitId'],_0x27fc05['nextMetadata']),!0x0;}},_0x165e34={'id':_0x587dd0(0x1e8),'type':_0x48da26[_0x587dd0(0x16d)]['COMMAND'],'handler':(_0x33966c,_0x308add)=>_0x212103[_0x587dd0(0x179)](_0x33966c,_0x308add)},_0x212103={'id':_0x587dd0(0x13e),'type':_0x48da26[_0x587dd0(0x16d)][_0x587dd0(0x1a6)],'handler':(_0x4c76be,_0x11172e)=>{const _0x1c0c4c=_0x587dd0;if(!_0x11172e)return!0x1;let _0x192a78=_0x532e33(_0x4c76be,_0x11172e==null?void 0x0:_0x11172e[_0x1c0c4c(0x190)]);if(!_0x192a78)return!0x1;let _0x48028b=_0x266920({'blockId':_0x11172e[_0x1c0c4c(0x139)],'documentData':_0x192a78[_0x1c0c4c(0x169)],'metadata':_0x192a78['model'][_0x1c0c4c(0x1ce)](_0x192a78[_0x1c0c4c(0x190)])});if(!_0x48028b)return!0x1;let _0x15d199=_0x328d33(_0x192a78[_0x1c0c4c(0x1f4)],_0x192a78[_0x1c0c4c(0x1d2)],_0x192a78['unitId'],_0x192a78[_0x1c0c4c(0x169)],_0x48028b['nextDocumentData'],_0x212103['id'],_0x48028b[_0x1c0c4c(0x14c)]);return _0x15d199&&_0x48028b['nextMetadata']&&_0x192a78[_0x1c0c4c(0x1f8)][_0x1c0c4c(0x14d)](_0x192a78[_0x1c0c4c(0x190)],_0x48028b[_0x1c0c4c(0x189)]),_0x15d199;}},_0x4b0e63={'id':_0x587dd0(0x1d3),'type':_0x48da26[_0x587dd0(0x16d)]['COMMAND'],'handler':(_0x28a5dd,_0x17fd86)=>{const _0x12ec1e=_0x587dd0;if(!_0x17fd86)return!0x1;let _0x32be69=_0x532e33(_0x28a5dd,_0x17fd86==null?void 0x0:_0x17fd86[_0x12ec1e(0x190)]);if(!_0x32be69)return!0x1;let _0x2d74b7=_0x5d43b3({'blockId':_0x17fd86[_0x12ec1e(0x139)],'documentData':_0x32be69[_0x12ec1e(0x169)],'metadata':_0x32be69[_0x12ec1e(0x1f8)][_0x12ec1e(0x1ce)](_0x32be69[_0x12ec1e(0x190)])});if(!_0x2d74b7)return!0x1;let _0x458fae=_0x328d33(_0x32be69[_0x12ec1e(0x1f4)],_0x32be69[_0x12ec1e(0x1d2)],_0x32be69[_0x12ec1e(0x190)],_0x32be69['previousDocumentData'],_0x2d74b7[_0x12ec1e(0x1db)],_0x4b0e63['id'],_0x2d74b7[_0x12ec1e(0x14c)]);return _0x458fae&&_0x2d74b7['nextMetadata']&&_0x32be69[_0x12ec1e(0x1f8)][_0x12ec1e(0x14d)](_0x32be69['unitId'],_0x2d74b7[_0x12ec1e(0x189)]),_0x458fae;}},_0x4594ea={'id':_0x587dd0(0x1bc),'type':_0x48da26[_0x587dd0(0x16d)]['COMMAND'],'handler':(_0x513bca,_0x421e12)=>{const _0x1041c8=_0x587dd0;var _0x140c3e;let _0x51df3e=_0x532e33(_0x513bca,_0x421e12==null?void 0x0:_0x421e12[_0x1041c8(0x190)]);if(!_0x51df3e)return!0x1;let _0x590b3e=(_0x421e12==null?void 0x0:_0x421e12[_0x1041c8(0x14c)])??((_0x140c3e=_0x2b5d90(_0x513bca))==null?void 0x0:_0x140c3e[_0x1041c8(0x168)]);if(_0x590b3e==null)return!0x1;let _0x451638=_0x2effb4({'cursorOffset':_0x590b3e,'documentData':_0x51df3e['previousDocumentData'],'paragraphStartIndex':_0x421e12==null?void 0x0:_0x421e12['paragraphStartIndex']});return _0x451638?_0x328d33(_0x51df3e[_0x1041c8(0x1f4)],_0x51df3e[_0x1041c8(0x1d2)],_0x51df3e[_0x1041c8(0x190)],_0x51df3e['previousDocumentData'],_0x451638[_0x1041c8(0x1db)],_0x4594ea['id'],_0x451638[_0x1041c8(0x14c)]):!0x1;}};function _0x532e33(_0x16e1d8,_0x3a7fe1){const _0x250737=_0x587dd0;let _0xa00691=_0x16e1d8[_0x250737(0x1a9)](_0x48da26['IUniverInstanceService']),_0x5d7d08=_0x3a7fe1?_0xa00691[_0x250737(0x1b3)](_0x3a7fe1,_0x48da26['UniverInstanceType'][_0x250737(0x149)]):_0xa00691[_0x250737(0x15e)](_0x48da26[_0x250737(0x1a8)]['UNIVER_DOC']);return _0x5d7d08?{'commandService':_0x16e1d8[_0x250737(0x1a9)](_0x48da26[_0x250737(0x1c8)]),'model':_0x16e1d8[_0x250737(0x1a9)](_0x2c6968),'previousDocumentData':_0x5d7d08[_0x250737(0x1e5)](),'selectionManager':_0x16e1d8['get'](_0x3aab82[_0x250737(0x1a0)]),'unitId':_0x5d7d08['getUnitId']()}:null;}function _0x2b5d90(_0x43672d){const _0x5d37a4=_0x587dd0;var _0xa6d260;return(_0xa6d260=_0x43672d[_0x5d37a4(0x1a9)](_0x3aab82[_0x5d37a4(0x1a0)])[_0x5d37a4(0x1f0)]())==null?void 0x0:_0xa6d260[0x0];}function _0x559d35(_0x577ab5,_0x478391){const _0x1c81ab=_0x587dd0;let _0xa9c89d=(_0x577ab5==null?void 0x0:_0x577ab5[_0x1c81ab(0x168)])??(_0x478391==null?void 0x0:_0x478391['startOffset']),_0x36e21f=(_0x577ab5==null?void 0x0:_0x577ab5[_0x1c81ab(0x1c9)])??(_0x478391==null?void 0x0:_0x478391[_0x1c81ab(0x1c9)]);if(_0xa9c89d!=null&&_0x36e21f!=null)return{'endOffset':Math[_0x1c81ab(0x1cb)](_0xa9c89d,_0x36e21f),'startOffset':Math[_0x1c81ab(0x1d7)](_0xa9c89d,_0x36e21f)};}function _0x3a76b3(_0x4d7b00,_0x497ac9){const _0x4dadcd=_0x587dd0;var _0x11003b;if(!_0x497ac9)return;let _0x33c333=_0x3113b1(_0x497ac9);return(_0x11003b=_0x4d7b00[_0x4dadcd(0x1eb)])==null||(_0x11003b=_0x11003b[_0x4dadcd(0x183)])==null?void 0x0:_0x11003b[_0x4dadcd(0x145)](_0x168343=>{const _0x1fc28c=_0x4dadcd;let _0x9b90de=(0x0,_0x48da26[_0x1fc28c(0x1ee)])(_0x168343);return _0x497ac9['startOffset']===_0x497ac9[_0x1fc28c(0x1c9)]?(0x0,_0x48da26[_0x1fc28c(0x154)])(_0x9b90de,_0x33c333):(0x0,_0x48da26['containsStreamIndex'])(_0x9b90de,_0x33c333);});}function _0x3113b1(_0x279236){const _0xc1c16f=_0x587dd0;return _0x279236['startOffset']===_0x279236[_0xc1c16f(0x1c9)]?_0x279236[_0xc1c16f(0x168)]:_0x279236[_0xc1c16f(0x168)]+0x1;}function _0x1ad6d9(_0x24d240){const _0x320c2c=_0x587dd0;let _0x517782=_0x2b5d90(_0x24d240);if(!_0x517782)return null;let _0x4d71c5=_0x24d240['get'](_0x48da26[_0x320c2c(0x163)])[_0x320c2c(0x15e)](_0x48da26[_0x320c2c(0x1a8)]['UNIVER_DOC']),_0x39eaf0=_0x4d71c5==null?void 0x0:_0x4d71c5[_0x320c2c(0x144)]();return _0x39eaf0?_0x48da26[_0x320c2c(0x16b)][_0x320c2c(0x192)][_0x320c2c(0x1ae)](_0x517782,_0x39eaf0['paragraphs']??[],_0x39eaf0['dataStream']??'')[0x0]??null:null;}function _0x3079e5(_0x41d33a,_0x41332c){const _0x26186e=_0x587dd0;let _0x1b7e76=_0x41d33a[_0x26186e(0x1eb)],_0x46f545=_0x41332c[_0x26186e(0x1eb)],_0x1a5dce=(0x0,_0x48da26['getSingleDataStreamChange'])(_0x1b7e76,_0x46f545);return[_0x1a5dce&&_0x46f545?_0x54ae7f(_0x46f545,_0x1a5dce):null,_0x1a5dce?null:_0x491fb3(_0x1b7e76,_0x46f545)][_0x26186e(0x1a1)](Boolean)[_0x26186e(0x19e)]((_0x2b9f27,_0x233171)=>_0x48da26[_0x26186e(0x1da)]['compose'](_0x2b9f27,_0x233171),null);}function _0x54ae7f(_0x5bfeb3,_0xccfd66){const _0x17390c=_0x587dd0;let _0x4bfe0e=new _0x48da26[(_0x17390c(0x195))]();return _0x4bfe0e[_0x17390c(0x152)](_0xccfd66['start']),_0xccfd66['insertLength']>0x0&&_0x4bfe0e[_0x17390c(0x1ed)](_0xccfd66[_0x17390c(0x184)],(0x0,_0x48da26['getBodySliceForTextXAction'])(_0x5bfeb3,_0xccfd66[_0x17390c(0x1f2)],_0xccfd66[_0x17390c(0x1f2)]+_0xccfd66[_0x17390c(0x184)],!0x1)),_0xccfd66[_0x17390c(0x1fa)]>0x0&&_0x4bfe0e[_0x17390c(0x198)](_0xccfd66['deleteLength']),_0x48da26[_0x17390c(0x1da)][_0x17390c(0x18b)]()[_0x17390c(0x153)](_0x4bfe0e[_0x17390c(0x1ce)](),[_0x17390c(0x1eb)]);}function _0x491fb3(_0x3da2f2,_0x1a88f3){const _0x503334=_0x587dd0;let _0x202db8=[],_0x2dd74f=_0x3da2f2?_0x23f631(_0x3da2f2):void 0x0,_0x29f3fa=_0x1a88f3?_0x23f631(_0x1a88f3):void 0x0;for(let _0xb1e242 of _0x1fd9e3)_0x524537(_0x48da26[_0x503334(0x1da)][_0x503334(0x18b)](),['body',_0xb1e242],_0x2dd74f==null?void 0x0:_0x2dd74f[_0xb1e242],_0x29f3fa==null?void 0x0:_0x29f3fa[_0xb1e242],_0x202db8);return _0x202db8[_0x503334(0x19e)]((_0x3d26a1,_0x502c63)=>_0x48da26[_0x503334(0x1da)][_0x503334(0x1e6)](_0x3d26a1,_0x502c63),null);}let _0x1fd9e3=[_0x587dd0(0x1dd),'sectionBreaks',_0x587dd0(0x176),'columnGroups',_0x587dd0(0x183),_0x587dd0(0x135),_0x587dd0(0x178),_0x587dd0(0x1f3),_0x587dd0(0x1cf)];function _0x23f631(_0x4a93bd){return _0x4a93bd;}function _0x524537(_0x58f1bc,_0xef551d,_0x36408a,_0x47338a,_0x320f8f){const _0x3092f7=_0x587dd0;_0x3cbacb(_0x36408a,_0x47338a)||(_0x36408a==null?_0x320f8f[_0x3092f7(0x13b)](_0x58f1bc[_0x3092f7(0x1ab)](_0xef551d,_0x47338a)):_0x47338a==null?_0x320f8f[_0x3092f7(0x13b)](_0x58f1bc[_0x3092f7(0x202)](_0xef551d,_0x36408a)):Array[_0x3092f7(0x136)](_0x36408a)&&Array[_0x3092f7(0x136)](_0x47338a)?_0x1c99b9(_0x58f1bc,_0xef551d,_0x36408a,_0x47338a,_0x320f8f):_0x1084de(_0x36408a)&&_0x1084de(_0x47338a)?new Set([...Object[_0x3092f7(0x17f)](_0x36408a),...Object[_0x3092f7(0x17f)](_0x47338a)])[_0x3092f7(0x1ff)](_0x57fef5=>{_0x524537(_0x58f1bc,[..._0xef551d,_0x57fef5],_0x36408a[_0x57fef5],_0x47338a[_0x57fef5],_0x320f8f);}):_0x320f8f[_0x3092f7(0x13b)](_0x58f1bc[_0x3092f7(0x1e1)](_0xef551d,_0x36408a,_0x47338a)));}function _0x1c99b9(_0x5e3ed3,_0x35ecc7,_0x36e6eb,_0x393457,_0x27e39f){const _0x70e012=_0x587dd0;if(_0x36e6eb['length']===_0x393457['length']){_0x36e6eb['forEach']((_0x984f12,_0x5dd5a8)=>_0x524537(_0x5e3ed3,[..._0x35ecc7,_0x5dd5a8],_0x984f12,_0x393457[_0x5dd5a8],_0x27e39f));return;}let _0x4a6df0=0x0;for(;_0x4a6df0<_0x36e6eb[_0x70e012(0x1ad)]&&_0x4a6df0<_0x393457[_0x70e012(0x1ad)]&&_0x3cbacb(_0x36e6eb[_0x4a6df0],_0x393457[_0x4a6df0]);)_0x4a6df0++;let _0x2fb444=_0x36e6eb['length']-0x1,_0xc1d8f8=_0x393457[_0x70e012(0x1ad)]-0x1;for(;_0x2fb444>=_0x4a6df0&&_0xc1d8f8>=_0x4a6df0&&_0x3cbacb(_0x36e6eb[_0x2fb444],_0x393457[_0xc1d8f8]);)_0x2fb444--,_0xc1d8f8--;for(let _0x1d6ed9=_0x2fb444;_0x1d6ed9>=_0x4a6df0;_0x1d6ed9--)_0x27e39f['push'](_0x5e3ed3[_0x70e012(0x202)]([..._0x35ecc7,_0x1d6ed9],_0x36e6eb[_0x1d6ed9]));for(let _0x57cc64=_0x4a6df0;_0x57cc64<=_0xc1d8f8;_0x57cc64++)_0x27e39f[_0x70e012(0x13b)](_0x5e3ed3['insertOp']([..._0x35ecc7,_0x57cc64],_0x393457[_0x57cc64]));}function _0x1084de(_0x25fbc2){const _0x12c1ad=_0x587dd0;return typeof _0x25fbc2==_0x12c1ad(0x175)&&!!_0x25fbc2&&!Array[_0x12c1ad(0x136)](_0x25fbc2);}function _0x3cbacb(_0x4507e3,_0x4e0539){const _0x5479d6=_0x587dd0;return JSON[_0x5479d6(0x13f)](_0x4507e3)===JSON['stringify'](_0x4e0539);}function _0x328d33(_0x105ea8,_0xed0659,_0x25cb93,_0x42a1b5,_0x57f421,_0x1b6e32,_0x533c4b){const _0x180b8e=_0x587dd0;let _0xeb25a5=_0x3079e5(_0x42a1b5,_0x57f421);return _0xeb25a5?!!_0x105ea8[_0x180b8e(0x18c)](_0x3aab82[_0x180b8e(0x13a)]['id'],{'unitId':_0x25cb93,'actions':_0xeb25a5,'textRanges':[{'startOffset':_0x533c4b,'endOffset':_0x533c4b,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x1b6e32}):(_0xed0659[_0x180b8e(0x1cc)]([{'startOffset':_0x533c4b,'endOffset':_0x533c4b}],{'unitId':_0x25cb93,'subUnitId':_0x25cb93},!0x1),!0x0);}let _0x52c32a='DOC_CODE_PLUGIN';var _0x476984='@univerjs-pro/docs-code',_0x7c1d1a='1.3.0';let _0x3f186c={};function _0x486d19(_0x15ef06,_0xa58efd){return function(_0x215063,_0x4715b1){_0xa58efd(_0x215063,_0x4715b1,_0x15ef06);};}function _0x250474(_0x3834ad,_0x4363dd,_0x535703,_0x3c386e){const _0xb639df=_0x587dd0;var _0x1796a7=arguments[_0xb639df(0x1ad)],_0x1e91a1=_0x1796a7<0x3?_0x4363dd:_0x3c386e===null?_0x3c386e=Object['getOwnPropertyDescriptor'](_0x4363dd,_0x535703):_0x3c386e,_0x2252a0;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0xb639df(0x1ea))_0x1e91a1=Reflect['decorate'](_0x3834ad,_0x4363dd,_0x535703,_0x3c386e);else{for(var _0x35a005=_0x3834ad[_0xb639df(0x1ad)]-0x1;_0x35a005>=0x0;_0x35a005--)(_0x2252a0=_0x3834ad[_0x35a005])&&(_0x1e91a1=(_0x1796a7<0x3?_0x2252a0(_0x1e91a1):_0x1796a7>0x3?_0x2252a0(_0x4363dd,_0x535703,_0x1e91a1):_0x2252a0(_0x4363dd,_0x535703))||_0x1e91a1);}return _0x1796a7>0x3&&_0x1e91a1&&Object['defineProperty'](_0x4363dd,_0x535703,_0x1e91a1),_0x1e91a1;}let _0x47c156=class extends _0x48da26[_0x587dd0(0x132)]{constructor(_0x462875,_0x28a4a0){const _0x17f3f2=_0x587dd0;super(),this[_0x17f3f2(0x19d)]=_0x462875,this['_docsCodeModel']=_0x28a4a0,this[_0x17f3f2(0x193)]();}[_0x587dd0(0x193)](){const _0x47d7a3=_0x587dd0;this[_0x47d7a3(0x1a3)](this[_0x47d7a3(0x19d)][_0x47d7a3(0x156)]({'pluginName':_0x52c32a,'businesses':[_0x48da26[_0x47d7a3(0x1a8)]['UNIVER_DOC']],'toJson':_0x2a6632=>JSON[_0x47d7a3(0x13f)](this[_0x47d7a3(0x1f5)][_0x47d7a3(0x1ce)](_0x2a6632)),'parseJson':_0x548f1b=>_0x380118(JSON[_0x47d7a3(0x1d6)](_0x548f1b)),'onLoad':(_0x26e3a6,_0x5334f9)=>this['_docsCodeModel'][_0x47d7a3(0x14d)](_0x26e3a6,_0x5334f9),'onUnLoad':_0x1e20ab=>this[_0x47d7a3(0x1f5)]['removeUnit'](_0x1e20ab)}));}};_0x47c156=_0x250474([_0x486d19(0x0,_0x48da26[_0x587dd0(0x150)]),_0x486d19(0x1,(0x0,_0x48da26[_0x587dd0(0x1d1)])(_0x2c6968))],_0x47c156);let _0xa2d45d=class extends _0x48da26[_0x587dd0(0x1ca)]{constructor(_0x5adde2=_0x3f186c,_0x18534f,_0x350e90,_0x409112){const _0x4e52f8=_0x587dd0;super(),this[_0x4e52f8(0x173)]=_0x5adde2,this[_0x4e52f8(0x130)]=_0x18534f,this[_0x4e52f8(0x17c)]=_0x350e90,this[_0x4e52f8(0x162)]=_0x409112;let {..._0x3bcb56}=(0x0,_0x48da26['merge'])({},_0x3f186c,this[_0x4e52f8(0x173)]);this[_0x4e52f8(0x162)][_0x4e52f8(0x14f)]('docs-code.config',_0x3bcb56);}[_0x587dd0(0x1b8)](){const _0x599690=_0x587dd0;this[_0x599690(0x130)][_0x599690(0x1d8)]([_0x2c6968]),this['_injector']['add']([_0x47c156]),this[_0x599690(0x130)]['get'](_0x2c6968),this[_0x599690(0x130)]['get'](_0x47c156),[_0x512ac1,_0x4fa0ed,_0x22e9de,_0x212103,_0x4b0e63,_0x165e34,_0x4594ea,_0x39809a,_0x1d10e1,_0x40cf30][_0x599690(0x1ff)](_0x2a768c=>this[_0x599690(0x1a3)](this[_0x599690(0x17c)][_0x599690(0x1d9)](_0x2a768c)));}};_0x5c8f0e(_0xa2d45d,_0x587dd0(0x1b0),_0x52c32a),_0x5c8f0e(_0xa2d45d,'packageName',_0x476984),_0x5c8f0e(_0xa2d45d,_0x587dd0(0x1f1),_0x7c1d1a),_0x5c8f0e(_0xa2d45d,_0x587dd0(0x196),_0x48da26['UniverInstanceType'][_0x587dd0(0x149)]),_0xa2d45d=_0x250474([(0x0,_0x48da26[_0x587dd0(0x200)])(_0x1717ee[_0x587dd0(0x1dc)],_0x3aab82['UniverDocsPlugin']),_0x486d19(0x1,(0x0,_0x48da26[_0x587dd0(0x1d1)])(_0x48da26[_0x587dd0(0x206)])),_0x486d19(0x2,_0x48da26[_0x587dd0(0x1c8)]),_0x486d19(0x3,_0x48da26[_0x587dd0(0x19f)])],_0xa2d45d),_0x43c8fa[_0x587dd0(0x16f)]=_0x52c32a,_0x43c8fa[_0x587dd0(0x1ef)]=_0x4594ea,_0x43c8fa[_0x587dd0(0x157)]=_0x39809a,_0x43c8fa[_0x587dd0(0x15c)]=_0x4fa0ed,_0x43c8fa[_0x587dd0(0x174)]=_0x512ac1,_0x43c8fa[_0x587dd0(0x1bb)]=_0x2c6968,_0x43c8fa[_0x587dd0(0x1c7)]=_0x4b0e63,_0x43c8fa[_0x587dd0(0x203)]=_0x212103,_0x43c8fa[_0x587dd0(0x147)]=_0x22e9de,_0x43c8fa['RemoveDocsCodeConfigMutation']=_0x40cf30,_0x43c8fa[_0x587dd0(0x207)]=_0x1d10e1,Object[_0x587dd0(0x167)](_0x43c8fa,_0x587dd0(0x18e),{'enumerable':!0x0,'get':function(){return _0xa2d45d;}}),_0x43c8fa['buildCancelEmptyCodeParagraphActions']=_0x2effb4,_0x43c8fa[_0x587dd0(0x1f9)]=_0x16746c,_0x43c8fa[_0x587dd0(0x1f6)]=_0x333d6b,_0x43c8fa[_0x587dd0(0x138)]=_0x380118;}));function _0x597a(){const _0x5f08ae=['paragraphStyle','customBlocks','isArray','columnGroups','normalizeDocsCodeMetadataResource','blockId','RichTextEditingMutation','push','UniverCore','endTokenOffset','docs-code.command.unwrap','stringify','DocumentBlockRangeType','getParagraphFollowingBlockOffset','constructor','next','getBody','find','textStyle','DocsCodeUpdateCommand','bullet','UNIVER_DOC','left','javascript','cursorOffset','deserialize','1NPGdbF','setConfig','IResourceManagerService','DataStreamTreeTokenType','retain','editOp','containsInteriorInsertionOffset','slice','registerPluginResource','DocsCodeConsumeBoundaryDeleteCommand','1552293jBUDAh','SECTION_BREAK','some','string','DocsCodeInsertBelowCommand','convert-paragraph','getCurrentUnitOfType','metadata','TABLE_CELL_START','documentData','_configService','IUniverInstanceService','docs-code.command.insert','docs-code.command.consume-boundary-delete','insertionMode','defineProperty','startOffset','previousDocumentData','insert-new','BuildTextUtils','8nOUOPG','CommandType','99EUCRDV','DOCS_CODE_PLUGIN','UniverProLicense','endIndex','generateRandomId','_config','DocsCodeInsertCommand','object','tables','isHeaderFooterSelection','customRanges','handler','monospace','UniverProDocsCode','_commandService','CODE','complete','keys','shiftExclusiveRangeOnDelete','default','dataStream','blockRanges','insertLength','call','1430240vzFUws','TABLE_CELL_END','@univerjs-pro/license','nextMetadata','docs-code.mutation.set-config','getInstance','syncExecuteCommand','@univerjs/core','UniverDocsCodePlugin','sectionBreaks','unitId','2838528pUYVcw','range','_initResource','Module','TextX','type','set','delete','1052418IWVJxH','removeUnit','Document\x20body\x20is\x20required','prototype','_resourceManagerService','reduce','IConfigService','DocSelectionManagerService','filter','exports','disposeWithMe','spaceAbove','sort','COMMAND','getParagraphContentStartOffsets','UniverInstanceType','get','entries','insertOp','codes','length','getParagraphsInRange','setCodeConfig','pluginName','getCodeConfig','widowControl','getUnit','PARAGRAPH','spaceBelow','shiftExclusiveRangeOnInsert','_change$','onStarting','createParagraphId','paragraphStartIndex','DocsCodeModel','docs-code.command.cancel-empty-paragraph','UniverDocs','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','BLOCK_END','direction','map','shiftInclusiveRangeOnDelete','_setResource','from','dispose','right','DocsCodeRemoveCommand','ICommandService','endOffset','Plugin','max','replaceDocRanges','clear','serialize','textRuns','indentStart','Inject','selectionManager','docs-code.command.remove','getParagraphContentStartOffset','columns','parse','min','add','registerCommand','JSONX','nextDocumentData','UniverLicensePlugin','paragraphs','MUTATION','165YWcPhO','keepLines','replaceOp','asObservable','blockType','fromEntries','getSnapshot','compose','indentEnd','docs-code.command.exit','docs-code.command.insert-below','function','body','TRUE','insert','getBlockRangeInterval','DocsCodeCancelEmptyParagraphCommand','getTextRanges','version','start','customDecorations','commandService','_docsCodeModel','normalizeDocsCodeConfig','symbol','model','isCodeBoundaryDelete','deleteLength','1185555nMFzfG','rxjs','iterator','config','forEach','DependentOn','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','removeOp','DocsCodeUnwrapCommand','toStringTag','removeCode','Injector','SetDocsCodeConfigMutation','toPrimitive','getContentInsertRange','11252bTZrIo','1745784dxvJeo','startIndex','_injector','startTokenOffset','Disposable','_resources'];_0x597a=function(){return _0x5f08ae;};return _0x597a();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-code",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "description": "Code block model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,12 +61,12 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/license": "1.1.0",
65
- "@univerjs/core": "1.1.0",
66
- "@univerjs/docs": "1.1.0"
64
+ "@univerjs-pro/license": "1.3.0",
65
+ "@univerjs/core": "1.3.0",
66
+ "@univerjs/docs": "1.3.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@univerjs-infra/shared": "1.1.0",
69
+ "@univerjs-infra/shared": "1.3.0",
70
70
  "rxjs": "7.8.2",
71
71
  "typescript": "^6.0.3",
72
72
  "vitest": "^5.0.4"