@univerjs-pro/docs-code 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xb672(){var _0x15dd23=['getCodeConfig','95624SdyyuH','_getDocumentData','2374674UbuTxi','getText','find','getCodeAt','DocumentBlockRangeType','includes','prototype','372524eBVIwv','get','function','startIndex','DocsCodeRemoveCommand','189250bkhXrp','default','DataStreamTreeTokenType','BLOCK_END','322fKtnvc','config','defineProperty','syncExecuteCommand','join','2NFwkwQ','iterator','text','DocsCodeUpdateCommand','constructor','@univerjs-pro/docs-code','@univerjs/core','UniverProDocsCode','FDocument','extend','decorate','19063924dzTreb','CODE','_document','filter','endIndex','3001600dRIXGi','Inject','some','_createFDocumentCode','map','findCodes','10UtmDNo','getRange','153lcUMaF','_blockId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','updateConfig','DocsCodeInsertCommand','getCodes','describe','getOwnPropertyDescriptor','amd','string','toStringTag','exports','generateRandomId','save','isParagraphFacade','_getBlockRange','DocsCodeModel','toPrimitive','length','getConfig','blockRanges','body','replace','FDocumentCode','getId','_unitId','blockType','ICommandService','normalizeDocsCodeConfig','Injector','UniverProDocsCodeFacade','328242xrevjH','_injector','blockId','DocsCodeUnwrapCommand','symbol','_getBlockRanges','from','object','dataStream'];_0xb672=function(){return _0x15dd23;};return _0xb672();}function _0xa2ca(_0x2bffd4,_0x19e0f0){_0x2bffd4=_0x2bffd4-0xf9;var _0xb67257=_0xb672();var _0xa2ca2c=_0xb67257[_0x2bffd4];return _0xa2ca2c;}(function(_0x37a7d0,_0x5171d5){var _0x176ffc=_0xa2ca,_0x3546ea=_0x37a7d0();while(!![]){try{var _0x35f9df=-parseInt(_0x176ffc(0x129))/0x1*(parseInt(_0x176ffc(0x137))/0x2)+parseInt(_0x176ffc(0x122))/0x3+-parseInt(_0x176ffc(0x147))/0x4+parseInt(_0x176ffc(0x14d))/0x5*(-parseInt(_0x176ffc(0x116))/0x6)+parseInt(_0x176ffc(0x132))/0x7*(-parseInt(_0x176ffc(0x120))/0x8)+-parseInt(_0x176ffc(0x14f))/0x9*(parseInt(_0x176ffc(0x12e))/0xa)+parseInt(_0x176ffc(0x142))/0xb;if(_0x35f9df===_0x5171d5)break;else _0x3546ea['push'](_0x3546ea['shift']());}catch(_0x4a5e58){_0x3546ea['push'](_0x3546ea['shift']());}}}(_0xb672,0x66b85),function(_0x2ff52c,_0x15dc61){var _0x3f752a=_0xa2ca;typeof exports==_0x3f752a(0x11d)&&typeof module<'u'?_0x15dc61(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x3f752a(0x12b)&&define[_0x3f752a(0xff)]?define([_0x3f752a(0x102),_0x3f752a(0x13c),_0x3f752a(0x13d),'@univerjs/docs/facade'],_0x15dc61):(_0x2ff52c=typeof globalThis<'u'?globalThis:_0x2ff52c||self,_0x15dc61(_0x2ff52c[_0x3f752a(0x115)]={},_0x2ff52c[_0x3f752a(0x13e)],_0x2ff52c['UniverCore'],_0x2ff52c['UniverDocsFacade']));}(this,function(_0x20210e,_0x1a71b0,_0x2d622c,_0x5d44f5){var _0x742d04=_0xa2ca;Object[_0x742d04(0x134)](_0x20210e,Symbol[_0x742d04(0x101)],{'value':'Module'});function _0x336399(_0x5ee801){'@babel/helpers - typeof';var _0x56742c=_0x742d04;return _0x336399=typeof Symbol==_0x56742c(0x12b)&&typeof Symbol[_0x56742c(0x138)]=='symbol'?function(_0x470540){return typeof _0x470540;}:function(_0x30ac7c){var _0x389791=_0x56742c;return _0x30ac7c&&typeof Symbol==_0x389791(0x12b)&&_0x30ac7c[_0x389791(0x13b)]===Symbol&&_0x30ac7c!==Symbol[_0x389791(0x128)]?_0x389791(0x11a):typeof _0x30ac7c;},_0x336399(_0x5ee801);}function _0xc04aea(_0x250b4a,_0x534875){var _0xa4a3e8=_0x742d04;if(_0x336399(_0x250b4a)!=_0xa4a3e8(0x11d)||!_0x250b4a)return _0x250b4a;var _0x307609=_0x250b4a[Symbol[_0xa4a3e8(0x108)]];if(_0x307609!==void 0x0){var _0x4e0d2f=_0x307609['call'](_0x250b4a,_0x534875||_0xa4a3e8(0x12f));if(_0x336399(_0x4e0d2f)!=_0xa4a3e8(0x11d))return _0x4e0d2f;throw TypeError(_0xa4a3e8(0xf9));}return(_0x534875===_0xa4a3e8(0x100)?String:Number)(_0x250b4a);}function _0x4b0644(_0x3f15a){var _0x5c9e3c=_0x742d04,_0x57c4e7=_0xc04aea(_0x3f15a,_0x5c9e3c(0x100));return _0x336399(_0x57c4e7)=='symbol'?_0x57c4e7:_0x57c4e7+'';}function _0x1c471d(_0xa54dfd,_0x180370,_0x238755){return(_0x180370=_0x4b0644(_0x180370))in _0xa54dfd?Object['defineProperty'](_0xa54dfd,_0x180370,{'value':_0x238755,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xa54dfd[_0x180370]=_0x238755,_0xa54dfd;}function _0x1cb9bc(_0x5432ca,_0x295be5){return function(_0x1bae63,_0x58ec19){_0x295be5(_0x1bae63,_0x58ec19,_0x5432ca);};}function _0x30d7dc(_0x11d2d8,_0x500a0f,_0x10ff99,_0x5a835b){var _0x1131cc=_0x742d04,_0x57be54=arguments[_0x1131cc(0x109)],_0x195ae7=_0x57be54<0x3?_0x500a0f:_0x5a835b===null?_0x5a835b=Object[_0x1131cc(0xfe)](_0x500a0f,_0x10ff99):_0x5a835b,_0x3ae68e;if(typeof Reflect==_0x1131cc(0x11d)&&typeof Reflect['decorate']==_0x1131cc(0x12b))_0x195ae7=Reflect[_0x1131cc(0x141)](_0x11d2d8,_0x500a0f,_0x10ff99,_0x5a835b);else{for(var _0x54f6ae=_0x11d2d8[_0x1131cc(0x109)]-0x1;_0x54f6ae>=0x0;_0x54f6ae--)(_0x3ae68e=_0x11d2d8[_0x54f6ae])&&(_0x195ae7=(_0x57be54<0x3?_0x3ae68e(_0x195ae7):_0x57be54>0x3?_0x3ae68e(_0x500a0f,_0x10ff99,_0x195ae7):_0x3ae68e(_0x500a0f,_0x10ff99))||_0x195ae7);}return _0x57be54>0x3&&_0x195ae7&&Object[_0x1131cc(0x134)](_0x500a0f,_0x10ff99,_0x195ae7),_0x195ae7;}let _0x4fca81=class{constructor(_0x39bba1,_0x5e9d4b,_0xb09b97){var _0xb96c89=_0x742d04;this[_0xb96c89(0x144)]=_0x39bba1,this[_0xb96c89(0x150)]=_0x5e9d4b,this[_0xb96c89(0x117)]=_0xb09b97,_0x1c471d(this,_0xb96c89(0x110),void 0x0),this['_unitId']=this[_0xb96c89(0x144)]['getId']();}[_0x742d04(0x10f)](){var _0x11cfb7=_0x742d04;return this[_0x11cfb7(0x150)];}[_0x742d04(0x14e)](){var _0x4e001d=_0x742d04;let _0x3f3289=this[_0x4e001d(0x106)]();return _0x3f3289?{'blockId':_0x3f3289[_0x4e001d(0x118)],'endIndex':_0x3f3289[_0x4e001d(0x146)],'startIndex':_0x3f3289['startIndex']}:null;}[_0x742d04(0x123)](){var _0x225ec4=_0x742d04,_0x2fb19e;let _0x5bffc7=this[_0x225ec4(0x106)](),_0x495c45=(_0x2fb19e=this[_0x225ec4(0x121)]()[_0x225ec4(0x10c)])==null?void 0x0:_0x2fb19e[_0x225ec4(0x11e)];return!_0x5bffc7||!_0x495c45?'':_0x4fb15b(_0x495c45['slice'](_0x5bffc7[_0x225ec4(0x12c)]+0x1,_0x5bffc7[_0x225ec4(0x146)]));}[_0x742d04(0xfd)](){var _0x27b137=_0x742d04;let _0x585e6a=this[_0x27b137(0x14e)]();return _0x585e6a?{..._0x585e6a,'config':this[_0x27b137(0x10a)](),'text':this['getText'](),'type':_0x2d622c[_0x27b137(0x126)][_0x27b137(0x143)]}:null;}[_0x742d04(0x10a)](){var _0x14a534=_0x742d04;let _0x40580b=this[_0x14a534(0x117)][_0x14a534(0x12a)](_0x1a71b0[_0x14a534(0x107)]);return(0x0,_0x1a71b0[_0x14a534(0x113)])(_0x40580b[_0x14a534(0x11f)](this['_unitId'],this[_0x14a534(0x150)]));}[_0x742d04(0xfa)](_0x52e626){var _0xb7437b=_0x742d04;return this[_0xb7437b(0x117)][_0xb7437b(0x12a)](_0x2d622c[_0xb7437b(0x112)])[_0xb7437b(0x135)](_0x1a71b0[_0xb7437b(0x13a)]['id'],{'blockId':this[_0xb7437b(0x150)],'config':_0x52e626[_0xb7437b(0x133)],'unitId':this[_0xb7437b(0x110)]});}['unwrap'](){var _0x53314d=_0x742d04;return this[_0x53314d(0x117)][_0x53314d(0x12a)](_0x2d622c[_0x53314d(0x112)])[_0x53314d(0x135)](_0x1a71b0[_0x53314d(0x119)]['id'],{'blockId':this[_0x53314d(0x150)],'unitId':this[_0x53314d(0x110)]});}['remove'](){var _0x283955=_0x742d04;return this['_injector'][_0x283955(0x12a)](_0x2d622c[_0x283955(0x112)])[_0x283955(0x135)](_0x1a71b0[_0x283955(0x12d)]['id'],{'blockId':this[_0x283955(0x150)],'unitId':this[_0x283955(0x110)]});}[_0x742d04(0x106)](){var _0x2d61b0=_0x742d04,_0x6f784c;return((_0x6f784c=this[_0x2d61b0(0x121)]()[_0x2d61b0(0x10c)])==null||(_0x6f784c=_0x6f784c[_0x2d61b0(0x10b)])==null?void 0x0:_0x6f784c['find'](_0x573593=>_0x573593[_0x2d61b0(0x118)]===this['_blockId']&&_0x573593[_0x2d61b0(0x111)]===_0x2d622c[_0x2d61b0(0x126)]['CODE']))??null;}[_0x742d04(0x121)](){var _0x55a126=_0x742d04;return this[_0x55a126(0x144)][_0x55a126(0x104)]();}};_0x4fca81=_0x30d7dc([_0x1cb9bc(0x2,(0x0,_0x2d622c[_0x742d04(0x148)])(_0x2d622c[_0x742d04(0x114)]))],_0x4fca81);function _0x4fb15b(_0x511e18){var _0x27b294=_0x742d04;return Array[_0x27b294(0x11c)](_0x511e18)[_0x27b294(0x14b)](_0x10a67e=>_0x10a67e===_0x2d622c['DataStreamTreeTokenType']['PARAGRAPH']?'\x0a':_0x10a67e)['filter'](_0x435ce5=>_0x435ce5!==_0x2d622c[_0x27b294(0x130)]['BLOCK_START']&&_0x435ce5!==_0x2d622c['DataStreamTreeTokenType'][_0x27b294(0x131)]&&_0x435ce5!==_0x2d622c[_0x27b294(0x130)]['SECTION_BREAK'])[_0x27b294(0x136)]('')[_0x27b294(0x10d)](/\n$/,'');}var _0x520230=class extends _0x5d44f5['FDocument']{[_0x742d04(0xfc)](){var _0x1fa664=_0x742d04;return this[_0x1fa664(0x11b)]()[_0x1fa664(0x145)](_0x4f37f1=>_0x4f37f1['blockType']===_0x2d622c[_0x1fa664(0x126)][_0x1fa664(0x143)])[_0x1fa664(0x14b)](_0x16a838=>this[_0x1fa664(0x14a)](_0x16a838[_0x1fa664(0x118)]));}['getCode'](_0x17d3ee){var _0x516275=_0x742d04;return this[_0x516275(0x11b)]()[_0x516275(0x149)](_0x287ade=>_0x287ade[_0x516275(0x118)]===_0x17d3ee&&_0x287ade[_0x516275(0x111)]===_0x2d622c[_0x516275(0x126)][_0x516275(0x143)])?this[_0x516275(0x14a)](_0x17d3ee):null;}[_0x742d04(0x125)](_0x4ecee6){var _0x5a3b74=_0x742d04;let _0xe6ba32=this[_0x5a3b74(0x11b)]()[_0x5a3b74(0x124)](_0x5d165a=>_0x5d165a[_0x5a3b74(0x111)]===_0x2d622c[_0x5a3b74(0x126)]['CODE']&&_0x5d165a[_0x5a3b74(0x12c)]<=_0x4ecee6&&_0x4ecee6<=_0x5d165a['endIndex']);return _0xe6ba32?this[_0x5a3b74(0x14a)](_0xe6ba32[_0x5a3b74(0x118)]):null;}['findCodeByText'](_0x2a53ae){var _0x543ff7=_0x742d04;return this[_0x543ff7(0x14c)](_0x2a53ae)[0x0]??null;}[_0x742d04(0x14c)](_0x410a90){var _0x4f2bf7=_0x742d04;let _0x5a8129=typeof _0x410a90==_0x4f2bf7(0x100)?{'text':_0x410a90}:_0x410a90;return this[_0x4f2bf7(0xfc)]()[_0x4f2bf7(0x145)](_0x4b4bc2=>!(_0x5a8129[_0x4f2bf7(0x118)]&&_0x4b4bc2[_0x4f2bf7(0x10f)]()!==_0x5a8129[_0x4f2bf7(0x118)]||_0x5a8129[_0x4f2bf7(0x139)]&&!_0x4b4bc2['getText']()[_0x4f2bf7(0x127)](_0x5a8129[_0x4f2bf7(0x139)])));}['insertCode'](_0x56de53={},_0x25519d={}){var _0x168ec6=_0x742d04;let _0x4bb666=this[_0x168ec6(0x117)][_0x168ec6(0x12a)](_0x2d622c['ICommandService']),_0x3f5450=(0x0,_0x5d44f5[_0x168ec6(0x105)])(_0x56de53)?{..._0x25519d,..._0x56de53['getRange']()}:_0x56de53,_0x41fe87=_0x3f5450[_0x168ec6(0x118)]??(0x0,_0x2d622c[_0x168ec6(0x103)])(0x6);return _0x4bb666['syncExecuteCommand'](_0x1a71b0[_0x168ec6(0xfb)]['id'],{..._0x3f5450,'blockId':_0x41fe87,'unitId':this[_0x168ec6(0x10f)]()})?this['getCode'](_0x41fe87):null;}['_getBlockRanges'](){var _0x2057a5=_0x742d04,_0x322fd8;return((_0x322fd8=this[_0x2057a5(0x104)]()[_0x2057a5(0x10c)])==null?void 0x0:_0x322fd8[_0x2057a5(0x10b)])??[];}[_0x742d04(0x14a)](_0x52aea8){var _0x50d0ba=_0x742d04;return this[_0x50d0ba(0x117)]['createInstance'](_0x4fca81,this,_0x52aea8);}};_0x5d44f5[_0x742d04(0x13f)][_0x742d04(0x140)](_0x520230),Object[_0x742d04(0x134)](_0x20210e,_0x742d04(0x10e),{'enumerable':!0x0,'get':function(){return _0x4fca81;}});}));
|
|
1
|
+
function _0x1a33(){var _0x15500b=['4374852yxfvjK','5851804JUpHba','findCodeByText','join','DocumentBlockRangeType','slice','some','@univerjs-pro/docs-code','constructor','find','dataStream','get','symbol','updateConfig','getId','string','_injector','toPrimitive','DataStreamTreeTokenType','PARAGRAPH','ICommandService','blockId','_getDocumentData','58722YVnbbh','_unitId','DocsCodeUpdateCommand','text','@univerjs/docs/facade','Inject','createInstance','config','getConfig','9vWrarN','length','171880SXQdMt','object','call','replace','blockRanges','25320vDArRD','defineProperty','from','UniverCore','2uQqwwH','describe','DocsCodeInsertCommand','syncExecuteCommand','_blockId','includes','remove','body','DocsCodeUnwrapCommand','filter','getOwnPropertyDescriptor','_createFDocumentCode','startIndex','getCodeAt','getRange','@univerjs/core','function','BLOCK_END','FDocument','findCodes','362680YQDQJa','56avUMrJ','338657aknedo','BLOCK_START','UniverProDocsCodeFacade','getCodes','blockType','3evPyzB','unwrap','_getBlockRange','getText','Module','decorate','_getBlockRanges','FDocumentCode','CODE','55AyoDIx','amd','normalizeDocsCodeConfig','SECTION_BREAK','endIndex','_document','getCodeConfig','toStringTag','UniverDocsFacade'];_0x1a33=function(){return _0x15500b;};return _0x1a33();}function _0x87e6(_0x4be169,_0x31838){_0x4be169=_0x4be169-0x18d;var _0x1a3315=_0x1a33();var _0x87e6a1=_0x1a3315[_0x4be169];return _0x87e6a1;}(function(_0x52964e,_0x1ae4fb){var _0x372b0c=_0x87e6,_0x5f030d=_0x52964e();while(!![]){try{var _0x565aca=parseInt(_0x372b0c(0x1da))/0x1*(parseInt(_0x372b0c(0x1c4))/0x2)+parseInt(_0x372b0c(0x1df))/0x3*(-parseInt(_0x372b0c(0x19a))/0x4)+parseInt(_0x372b0c(0x1c0))/0x5+parseInt(_0x372b0c(0x1b0))/0x6*(parseInt(_0x372b0c(0x1d9))/0x7)+parseInt(_0x372b0c(0x1d8))/0x8*(parseInt(_0x372b0c(0x1b9))/0x9)+-parseInt(_0x372b0c(0x1bb))/0xa+parseInt(_0x372b0c(0x190))/0xb*(parseInt(_0x372b0c(0x199))/0xc);if(_0x565aca===_0x1ae4fb)break;else _0x5f030d['push'](_0x5f030d['shift']());}catch(_0x13acbb){_0x5f030d['push'](_0x5f030d['shift']());}}}(_0x1a33,0xc5c54),function(_0x5d2ecb,_0x2f4271){var _0x98bb8d=_0x87e6;typeof exports==_0x98bb8d(0x1bc)&&typeof module<'u'?_0x2f4271(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x98bb8d(0x1d4)&&define[_0x98bb8d(0x191)]?define(['exports',_0x98bb8d(0x1a0),_0x98bb8d(0x1d3),_0x98bb8d(0x1b4)],_0x2f4271):(_0x5d2ecb=typeof globalThis<'u'?globalThis:_0x5d2ecb||self,_0x2f4271(_0x5d2ecb[_0x98bb8d(0x1dc)]={},_0x5d2ecb['UniverProDocsCode'],_0x5d2ecb[_0x98bb8d(0x1c3)],_0x5d2ecb[_0x98bb8d(0x198)]));}(this,function(_0x2e0af3,_0x3beb48,_0x589fcf,_0x383872){var _0x253da3=_0x87e6;Object[_0x253da3(0x1c1)](_0x2e0af3,Symbol[_0x253da3(0x197)],{'value':_0x253da3(0x1e3)});function _0x3e0915(_0x195590){'@babel/helpers - typeof';var _0x9ac91e=_0x253da3;return _0x3e0915=typeof Symbol==_0x9ac91e(0x1d4)&&typeof Symbol['iterator']==_0x9ac91e(0x1a5)?function(_0x335dc2){return typeof _0x335dc2;}:function(_0x54757d){var _0x2a3b5e=_0x9ac91e;return _0x54757d&&typeof Symbol==_0x2a3b5e(0x1d4)&&_0x54757d[_0x2a3b5e(0x1a1)]===Symbol&&_0x54757d!==Symbol['prototype']?_0x2a3b5e(0x1a5):typeof _0x54757d;},_0x3e0915(_0x195590);}function _0x48ff9b(_0x3869fd,_0x340256){var _0x1503ad=_0x253da3;if(_0x3e0915(_0x3869fd)!=_0x1503ad(0x1bc)||!_0x3869fd)return _0x3869fd;var _0x371228;if(typeof Symbol<'u'&&(_0x371228=_0x3869fd[Symbol[_0x1503ad(0x1aa)]])!==void 0x0){var _0x4d3f2b=_0x371228[_0x1503ad(0x1bd)](_0x3869fd,_0x340256||'default');if(_0x3e0915(_0x4d3f2b)!=_0x1503ad(0x1bc))return _0x4d3f2b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x340256===_0x1503ad(0x1a8)?String:Number)(_0x3869fd);}function _0x546e81(_0x284e47){var _0x10d710=_0x253da3,_0x1cfa86=_0x48ff9b(_0x284e47,_0x10d710(0x1a8));return _0x3e0915(_0x1cfa86)=='symbol'?_0x1cfa86:_0x1cfa86+'';}function _0x59fecc(_0x50717f,_0x3766b4,_0x120e0d){var _0x5c3cb6=_0x253da3;return(_0x3766b4=_0x546e81(_0x3766b4))in _0x50717f?Object[_0x5c3cb6(0x1c1)](_0x50717f,_0x3766b4,{'value':_0x120e0d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50717f[_0x3766b4]=_0x120e0d,_0x50717f;}function _0x555e6d(_0x772b4b,_0x4cd28a){return function(_0x3179cb,_0x4ec8a4){_0x4cd28a(_0x3179cb,_0x4ec8a4,_0x772b4b);};}function _0x378e43(_0x572aab,_0x514ad0,_0x1fed3e,_0x23dfa4){var _0x2c8281=_0x253da3,_0x21857b=arguments[_0x2c8281(0x1ba)],_0x3d004=_0x21857b<0x3?_0x514ad0:_0x23dfa4===null?_0x23dfa4=Object[_0x2c8281(0x1ce)](_0x514ad0,_0x1fed3e):_0x23dfa4,_0x9d7b7e;if(typeof Reflect=='object'&&typeof Reflect[_0x2c8281(0x1e4)]=='function')_0x3d004=Reflect[_0x2c8281(0x1e4)](_0x572aab,_0x514ad0,_0x1fed3e,_0x23dfa4);else{for(var _0x71cca8=_0x572aab[_0x2c8281(0x1ba)]-0x1;_0x71cca8>=0x0;_0x71cca8--)(_0x9d7b7e=_0x572aab[_0x71cca8])&&(_0x3d004=(_0x21857b<0x3?_0x9d7b7e(_0x3d004):_0x21857b>0x3?_0x9d7b7e(_0x514ad0,_0x1fed3e,_0x3d004):_0x9d7b7e(_0x514ad0,_0x1fed3e))||_0x3d004);}return _0x21857b>0x3&&_0x3d004&&Object[_0x2c8281(0x1c1)](_0x514ad0,_0x1fed3e,_0x3d004),_0x3d004;}let _0x3ace71=class{constructor(_0x40c40b,_0x3e9922,_0x45232e){var _0x49fbdb=_0x253da3;this['_document']=_0x40c40b,this[_0x49fbdb(0x1c8)]=_0x3e9922,this[_0x49fbdb(0x1a9)]=_0x45232e,_0x59fecc(this,'_unitId',void 0x0),this[_0x49fbdb(0x1b1)]=this['_document'][_0x49fbdb(0x1a7)]();}[_0x253da3(0x1a7)](){var _0xf964bb=_0x253da3;return this[_0xf964bb(0x1c8)];}[_0x253da3(0x1d2)](){var _0x4ebee0=_0x253da3;let _0x1fe2da=this[_0x4ebee0(0x1e1)]();return _0x1fe2da?{'blockId':_0x1fe2da[_0x4ebee0(0x1ae)],'endIndex':_0x1fe2da[_0x4ebee0(0x194)],'startIndex':_0x1fe2da[_0x4ebee0(0x1d0)]}:null;}[_0x253da3(0x1e2)](){var _0x4a7324=_0x253da3,_0x181c74;let _0x32cdc3=this[_0x4a7324(0x1e1)](),_0x2a4feb=(_0x181c74=this['_getDocumentData']()[_0x4a7324(0x1cb)])==null?void 0x0:_0x181c74[_0x4a7324(0x1a3)];return!_0x32cdc3||!_0x2a4feb?'':_0x2986ff(_0x2a4feb[_0x4a7324(0x19e)](_0x32cdc3[_0x4a7324(0x1d0)]+0x1,_0x32cdc3[_0x4a7324(0x194)]));}[_0x253da3(0x1c5)](){var _0x325e81=_0x253da3;let _0x37a13e=this[_0x325e81(0x1d2)]();return _0x37a13e?{..._0x37a13e,'config':this[_0x325e81(0x1b8)](),'text':this[_0x325e81(0x1e2)](),'type':_0x589fcf[_0x325e81(0x19d)]['CODE']}:null;}[_0x253da3(0x1b8)](){var _0x4b308f=_0x253da3;let _0x37e1dc=this['_injector'][_0x4b308f(0x1a4)](_0x3beb48['DocsCodeModel']);return(0x0,_0x3beb48[_0x4b308f(0x192)])(_0x37e1dc[_0x4b308f(0x196)](this['_unitId'],this[_0x4b308f(0x1c8)]));}[_0x253da3(0x1a6)](_0x4d5fb5){var _0x117464=_0x253da3;return this[_0x117464(0x1a9)]['get'](_0x589fcf[_0x117464(0x1ad)])[_0x117464(0x1c7)](_0x3beb48[_0x117464(0x1b2)]['id'],{'blockId':this['_blockId'],'config':_0x4d5fb5[_0x117464(0x1b7)],'unitId':this[_0x117464(0x1b1)]});}[_0x253da3(0x1e0)](){var _0x1333f0=_0x253da3;return this[_0x1333f0(0x1a9)][_0x1333f0(0x1a4)](_0x589fcf[_0x1333f0(0x1ad)])[_0x1333f0(0x1c7)](_0x3beb48[_0x1333f0(0x1cc)]['id'],{'blockId':this[_0x1333f0(0x1c8)],'unitId':this[_0x1333f0(0x1b1)]});}[_0x253da3(0x1ca)](){var _0x2aa3c8=_0x253da3;return this[_0x2aa3c8(0x1a9)][_0x2aa3c8(0x1a4)](_0x589fcf[_0x2aa3c8(0x1ad)])[_0x2aa3c8(0x1c7)](_0x3beb48['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x2aa3c8(0x1c8)],'unitId':this[_0x2aa3c8(0x1b1)]});}[_0x253da3(0x1e1)](){var _0xd2ce2d=_0x253da3,_0xda5b21;return((_0xda5b21=this[_0xd2ce2d(0x1af)]()[_0xd2ce2d(0x1cb)])==null||(_0xda5b21=_0xda5b21['blockRanges'])==null?void 0x0:_0xda5b21[_0xd2ce2d(0x1a2)](_0x3055c9=>_0x3055c9[_0xd2ce2d(0x1ae)]===this[_0xd2ce2d(0x1c8)]&&_0x3055c9[_0xd2ce2d(0x1de)]===_0x589fcf['DocumentBlockRangeType'][_0xd2ce2d(0x18f)]))??null;}[_0x253da3(0x1af)](){var _0x579266=_0x253da3;return this[_0x579266(0x195)]['save']();}};_0x3ace71=_0x378e43([_0x555e6d(0x2,(0x0,_0x589fcf[_0x253da3(0x1b5)])(_0x589fcf['Injector']))],_0x3ace71);function _0x2986ff(_0x2a4ade){var _0xbee129=_0x253da3;return Array[_0xbee129(0x1c2)](_0x2a4ade)['map'](_0x375ac0=>_0x375ac0===_0x589fcf['DataStreamTreeTokenType'][_0xbee129(0x1ac)]?'\x0a':_0x375ac0)[_0xbee129(0x1cd)](_0x575179=>_0x575179!==_0x589fcf[_0xbee129(0x1ab)][_0xbee129(0x1db)]&&_0x575179!==_0x589fcf['DataStreamTreeTokenType'][_0xbee129(0x1d5)]&&_0x575179!==_0x589fcf[_0xbee129(0x1ab)][_0xbee129(0x193)])[_0xbee129(0x19c)]('')[_0xbee129(0x1be)](/\n$/,'');}var _0x3c01f8=class extends _0x383872[_0x253da3(0x1d6)]{[_0x253da3(0x1dd)](){var _0x2d1fed=_0x253da3;return this['_getBlockRanges']()['filter'](_0x65d886=>_0x65d886['blockType']===_0x589fcf['DocumentBlockRangeType']['CODE'])['map'](_0x54ecdc=>this[_0x2d1fed(0x1cf)](_0x54ecdc[_0x2d1fed(0x1ae)]));}['getCode'](_0x4a7659){var _0x53b7dc=_0x253da3;return this[_0x53b7dc(0x18d)]()[_0x53b7dc(0x19f)](_0x5d762d=>_0x5d762d[_0x53b7dc(0x1ae)]===_0x4a7659&&_0x5d762d[_0x53b7dc(0x1de)]===_0x589fcf[_0x53b7dc(0x19d)][_0x53b7dc(0x18f)])?this['_createFDocumentCode'](_0x4a7659):null;}[_0x253da3(0x1d1)](_0x32c899){var _0x7cbf94=_0x253da3;let _0xc01caa=this[_0x7cbf94(0x18d)]()[_0x7cbf94(0x1a2)](_0x493422=>_0x493422[_0x7cbf94(0x1de)]===_0x589fcf[_0x7cbf94(0x19d)][_0x7cbf94(0x18f)]&&_0x493422['startIndex']<=_0x32c899&&_0x32c899<=_0x493422[_0x7cbf94(0x194)]);return _0xc01caa?this[_0x7cbf94(0x1cf)](_0xc01caa['blockId']):null;}[_0x253da3(0x19b)](_0x448ef0){var _0x2fa49b=_0x253da3;return this[_0x2fa49b(0x1d7)](_0x448ef0)[0x0]??null;}[_0x253da3(0x1d7)](_0x193d9f){var _0x492d06=_0x253da3;let _0xf738fd=typeof _0x193d9f==_0x492d06(0x1a8)?{'text':_0x193d9f}:_0x193d9f;return this[_0x492d06(0x1dd)]()['filter'](_0x484376=>!(_0xf738fd[_0x492d06(0x1ae)]&&_0x484376[_0x492d06(0x1a7)]()!==_0xf738fd[_0x492d06(0x1ae)]||_0xf738fd[_0x492d06(0x1b3)]&&!_0x484376['getText']()[_0x492d06(0x1c9)](_0xf738fd[_0x492d06(0x1b3)])));}['insertCode'](_0x58c066={},_0x238dfa={}){var _0xb17b8e=_0x253da3;let _0x3bb496=this[_0xb17b8e(0x1a9)][_0xb17b8e(0x1a4)](_0x589fcf[_0xb17b8e(0x1ad)]),_0x436936=(0x0,_0x383872['isParagraphFacade'])(_0x58c066)?{..._0x238dfa,..._0x58c066['getRange']()}:_0x58c066,_0x40c1dd=_0x436936['blockId']??(0x0,_0x589fcf['generateRandomId'])(0x6);return _0x3bb496['syncExecuteCommand'](_0x3beb48[_0xb17b8e(0x1c6)]['id'],{..._0x436936,'blockId':_0x40c1dd,'unitId':this[_0xb17b8e(0x1a7)]()})?this['getCode'](_0x40c1dd):null;}[_0x253da3(0x18d)](){var _0x1f61df=_0x253da3,_0x260f38;return((_0x260f38=this['save']()[_0x1f61df(0x1cb)])==null?void 0x0:_0x260f38[_0x1f61df(0x1bf)])??[];}['_createFDocumentCode'](_0x4613e3){var _0x3706cf=_0x253da3;return this[_0x3706cf(0x1a9)][_0x3706cf(0x1b6)](_0x3ace71,this,_0x4613e3);}};_0x383872[_0x253da3(0x1d6)]['extend'](_0x3c01f8),Object[_0x253da3(0x1c1)](_0x2e0af3,_0x253da3(0x18e),{'enumerable':!0x0,'get':function(){return _0x3ace71;}});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xc100(){const _0x31d7e6=['min','docs-code.command.consume-boundary-delete','normalizeDocsCodeMetadataResource','body','metadata','BLOCK_END','map','paragraphId','TABLE_CELL_START','insertOp','shiftExclusiveRangeOnDelete','push','amd','DocsCodeInsertCommand','UNIVER_DOC','DocsCodeRemoveCommand','deleteLength','documentData','buildCancelEmptyCodeParagraphActions','getInstance','stringify','keys','removeUnit','isCodeBoundaryDelete','constructor','delete','DocsCodeUpdateCommand','ICommandService','convert-paragraph','SECTION_BREAK','getCurrentUnitOfType','config','getParagraphContentStartOffset','from','UniverProLicense','DocumentBlockRangeType','retain','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','deserialize','setConfig','forEach','paragraphStyle','keepNext','docs-code.command.insert-below','@univerjs/core','rxjs','paragraphs','_injector','widowControl','DOCS_CODE_PLUGIN','decorate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','slice','paragraph','docs-code.mutation.set-config','get','Disposable','nextDocumentData','removeCode','containsStreamIndex','length','1920849GoDmsR','_resources','getBodySliceForTextXAction','getUnit','monospace','16667tzwUVD','IResourceManagerService','getSingleDataStreamChange','blockRanges','Document\x20body\x20is\x20required','intersectsOperationalIntervals','docs-code.command.cancel-empty-paragraph','IConfigService','merge','replaceOp','start','iterator','commandService','BLOCK_START','symbol','serialize','CODE','columns','function','exports','right','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','COMMAND','Injector','set','_config','some','368bfrGHp','MUTATION','cursorOffset','toStringTag','docs-code.command.exit','isArray','getBody','registerCommand','previousDocumentData','DOC_CODE_PLUGIN','startIndex','DocsCodeUnwrapCommand','SetDocsCodeConfigMutation','shiftExclusiveRangeOnInsert','TABLE_CELL_END','removeOp','insertLength','customDecorations','DataStreamTreeTokenType','RichTextEditingMutation','_configService','customBlocks','complete','UniverDocsPlugin','_change$','columnGroups','blockId','1.4.0','getOwnPropertyDescriptor','model','148596EQLbUj','_initResource','@univerjs-pro/license','string','selectionManager','direction','DependentOn','insert-new','endIndex','2785528yZAIlh','registerPluginResource','DocSelectionManagerService','textStyle','endOffset','getParagraphContentStartOffsets','tables','Inject','dispose','sort','entries','PARAGRAPH','Module','IUniverInstanceService','paragraphStartIndex','clear','UniverInstanceType','CommandType','TextX','insertionMode','TRUE','containsInteriorInsertionOffset','fromEntries','FALSE','getParagraphsInRange','unitId','spaceBelow','textRuns','call','compose','disposeWithMe','handler','endTokenOffset','prototype','add','onStarting','_setResource','pluginName','reduce','createParagraphId','BooleanNumber','normalizeDocsCodeConfig','defineProperty','object','_commandService','_docsCodeModel','1861080HJdfSq','dataStream','max','sectionBreaks','UniverDocs','RemoveDocsCodeConfigMutation','shiftInclusiveRangeOnInsert','setCodeConfig','UniverDocsCodePlugin','docs-code.command.insert','type','parse','JSONX','UniverProDocsCode','UniverCore','indentStart','5037846OREjWZ','blockType','next','bullet','codes','startOffset','change$','find','keepLines','getBlockRangeInterval','customRanges','insert','getContentInsertRange','docs-code.mutation.remove-config','263597THSLAl','syncExecuteCommand','nextMetadata','getSnapshot','filter','docs-code.config','every','isHeaderFooterSelection','spaceAbove'];_0xc100=function(){return _0x31d7e6;};return _0xc100();}function _0x4bc6(_0x2a55be,_0x164f98){_0x2a55be=_0x2a55be-0x1b8;const _0xc100f4=_0xc100();let _0x4bc608=_0xc100f4[_0x2a55be];return _0x4bc608;}(function(_0x3b9c5d,_0x6d16cc){const _0x3aa030=_0x4bc6,_0x5a36cc=_0x3b9c5d();while(!![]){try{const _0x1f0f87=-parseInt(_0x3aa030(0x253))/0x1+parseInt(_0x3aa030(0x1fe))/0x2+-parseInt(_0x3aa030(0x1c0))/0x3+parseInt(_0x3aa030(0x207))/0x4+-parseInt(_0x3aa030(0x235))/0x5+parseInt(_0x3aa030(0x245))/0x6+-parseInt(_0x3aa030(0x1c5))/0x7*(-parseInt(_0x3aa030(0x1e0))/0x8);if(_0x1f0f87===_0x6d16cc)break;else _0x5a36cc['push'](_0x5a36cc['shift']());}catch(_0x5e7404){_0x5a36cc['push'](_0x5a36cc['shift']());}}}(_0xc100,0x6c567),function(_0x579be8,_0x12279e){const _0x495db8=_0x4bc6;typeof exports=='object'&&typeof module<'u'?_0x12279e(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x495db8(0x1d7)&&define[_0x495db8(0x268)]?define([_0x495db8(0x1d8),_0x495db8(0x288),_0x495db8(0x289),'@univerjs/docs',_0x495db8(0x200)],_0x12279e):(_0x579be8=typeof globalThis<'u'?globalThis:_0x579be8||self,_0x12279e(_0x579be8[_0x495db8(0x242)]={},_0x579be8[_0x495db8(0x243)],_0x579be8['rxjs'],_0x579be8[_0x495db8(0x239)],_0x579be8[_0x495db8(0x27e)]));}(this,function(_0x1a9308,_0x51f40a,_0xc1000b,_0x37dc7c,_0x2b5531){const _0x26f014=_0x4bc6;Object[_0x26f014(0x231)](_0x1a9308,Symbol[_0x26f014(0x1e3)],{'value':_0x26f014(0x213)});let _0x31e047={'language':'javascript','showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x294785(_0x439773){return{..._0x31e047,..._0x439773};}function _0x2f600a(_0x4e4a87){const _0x216913=_0x26f014;let _0x584544=(_0x4e4a87==null?void 0x0:_0x4e4a87[_0x216913(0x249)])??{};return{'codes':Object[_0x216913(0x21d)](Object[_0x216913(0x211)](_0x584544)['map'](([_0x493cc1,_0x3f2785])=>[_0x493cc1,_0x294785(_0x3f2785)]))};}function _0x599d43(_0x4418b5,_0x5cb3d9,_0x3bbf66){const _0x286672=_0x26f014;let _0x4c0d5e=_0x2f600a(_0x4418b5);return _0x4c0d5e[_0x286672(0x249)][_0x5cb3d9]=_0x294785({..._0x4c0d5e[_0x286672(0x249)][_0x5cb3d9],..._0x3bbf66}),_0x4c0d5e;}function _0x44dc72(_0x3f3a63,_0xd501aa){let _0x1dca88=_0x2f600a(_0x3f3a63);return delete _0x1dca88['codes'][_0xd501aa],_0x1dca88;}function _0x1c4c1f(_0x211fdc){'@babel/helpers - typeof';const _0x1ada5e=_0x26f014;return _0x1c4c1f=typeof Symbol==_0x1ada5e(0x1d7)&&typeof Symbol[_0x1ada5e(0x1d0)]==_0x1ada5e(0x1d3)?function(_0x4c6404){return typeof _0x4c6404;}:function(_0x49f029){const _0x5967a3=_0x1ada5e;return _0x49f029&&typeof Symbol==_0x5967a3(0x1d7)&&_0x49f029[_0x5967a3(0x274)]===Symbol&&_0x49f029!==Symbol[_0x5967a3(0x228)]?_0x5967a3(0x1d3):typeof _0x49f029;},_0x1c4c1f(_0x211fdc);}function _0x51afac(_0x279b84,_0x2ea373){const _0xac909=_0x26f014;if(_0x1c4c1f(_0x279b84)!=_0xac909(0x232)||!_0x279b84)return _0x279b84;var _0x1a6002=_0x279b84[Symbol['toPrimitive']];if(_0x1a6002!==void 0x0){var _0x1947a4=_0x1a6002[_0xac909(0x223)](_0x279b84,_0x2ea373||'default');if(_0x1c4c1f(_0x1947a4)!=_0xac909(0x232))return _0x1947a4;throw TypeError(_0xac909(0x28f));}return(_0x2ea373===_0xac909(0x201)?String:Number)(_0x279b84);}function _0x47e9d3(_0x392bca){const _0x3cbe43=_0x26f014;var _0x410abf=_0x51afac(_0x392bca,_0x3cbe43(0x201));return _0x1c4c1f(_0x410abf)==_0x3cbe43(0x1d3)?_0x410abf:_0x410abf+'';}function _0x1a8d22(_0x840302,_0x4d63e6,_0x4af37b){const _0x15e020=_0x26f014;return(_0x4d63e6=_0x47e9d3(_0x4d63e6))in _0x840302?Object[_0x15e020(0x231)](_0x840302,_0x4d63e6,{'value':_0x4af37b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x840302[_0x4d63e6]=_0x4af37b,_0x840302;}var _0xe684cf=class extends _0x51f40a['Disposable']{constructor(..._0x219579){const _0x4c2504=_0x26f014;super(..._0x219579),_0x1a8d22(this,'_resources',new Map()),_0x1a8d22(this,_0x4c2504(0x1f8),new _0xc1000b['Subject']()),_0x1a8d22(this,_0x4c2504(0x24b),this[_0x4c2504(0x1f8)]['asObservable']());}['getCodeConfig'](_0x4bfff1,_0x13b066){const _0x5beabe=_0x26f014;return _0x2f600a(this[_0x5beabe(0x1c1)]['get'](_0x4bfff1))[_0x5beabe(0x249)][_0x13b066];}[_0x26f014(0x23c)](_0x2f5cec,_0xd302f4,_0x199fab){const _0x1fa4e6=_0x26f014;this[_0x1fa4e6(0x22b)](_0x2f5cec,_0xd302f4,_0x599d43(this[_0x1fa4e6(0x1c1)][_0x1fa4e6(0x1ba)](_0x2f5cec),_0xd302f4,_0x199fab));}[_0x26f014(0x1bd)](_0x372a36,_0x2843ef){const _0x2410b6=_0x26f014;this[_0x2410b6(0x22b)](_0x372a36,_0x2843ef,_0x44dc72(this[_0x2410b6(0x1c1)][_0x2410b6(0x1ba)](_0x372a36),_0x2843ef));}[_0x26f014(0x1d4)](_0x4f68af){const _0xa92cc1=_0x26f014;return _0x2f600a(this['_resources'][_0xa92cc1(0x1ba)](_0x4f68af));}[_0x26f014(0x282)](_0x1d68f9,_0x257f6c){const _0x586e84=_0x26f014;this[_0x586e84(0x1c1)][_0x586e84(0x1dd)](_0x1d68f9,_0x2f600a(_0x257f6c)),this['_change$'][_0x586e84(0x247)]({'unitId':_0x1d68f9});}[_0x26f014(0x272)](_0x200f1c){const _0xc1ec1a=_0x26f014;this[_0xc1ec1a(0x1c1)][_0xc1ec1a(0x275)](_0x200f1c),this[_0xc1ec1a(0x1f8)]['next']({'unitId':_0x200f1c});}[_0x26f014(0x20f)](){const _0x5a16f1=_0x26f014;super[_0x5a16f1(0x20f)](),this[_0x5a16f1(0x1c1)][_0x5a16f1(0x216)](),this[_0x5a16f1(0x1f8)][_0x5a16f1(0x1f6)]();}['_setResource'](_0x11887d,_0x28649e,_0x56ed94){const _0x5203cc=_0x26f014;this[_0x5203cc(0x1c1)][_0x5203cc(0x1dd)](_0x11887d,_0x56ed94),this[_0x5203cc(0x1f8)][_0x5203cc(0x247)]({'unitId':_0x11887d,'blockId':_0x28649e});}};let _0x108323={'id':_0x26f014(0x1b9),'type':_0x51f40a['CommandType'][_0x26f014(0x1e1)],'handler':(_0x454a75,_0x4ac591)=>!(_0x4ac591!=null&&_0x4ac591['unitId'])||!_0x4ac591[_0x26f014(0x1fa)]?!0x1:(_0x454a75[_0x26f014(0x1ba)](_0xe684cf)[_0x26f014(0x23c)](_0x4ac591['unitId'],_0x4ac591[_0x26f014(0x1fa)],_0x4ac591[_0x26f014(0x27b)]),!0x0)},_0x382644={'id':_0x26f014(0x252),'type':_0x51f40a['CommandType']['MUTATION'],'handler':(_0x181882,_0xb1e10a)=>!(_0xb1e10a!=null&&_0xb1e10a[_0x26f014(0x220)])||!_0xb1e10a[_0x26f014(0x1fa)]?!0x1:(_0x181882['get'](_0xe684cf)[_0x26f014(0x1bd)](_0xb1e10a[_0x26f014(0x220)],_0xb1e10a[_0x26f014(0x1fa)]),!0x0)},_0xebf947=_0x26f014(0x1c4);var _0x104baa=class extends Error{constructor(_0x149b97=_0x26f014(0x281)){super(_0x149b97);}};function _0x3acd3a(_0x292fc1){const _0x4addc4=_0x26f014;var _0x3730d6;let _0x1b53f2=_0x308afd(_0x292fc1[_0x4addc4(0x26d)]),_0x59552c=_0x4e934a(_0x1b53f2),_0x425473=_0x23036c(_0x292fc1[_0x4addc4(0x24a)],_0x292fc1['endOffset']),_0x52846a=_0x425473?(_0x3730d6=_0x59552c[_0x4addc4(0x1c8)])==null?void 0x0:_0x3730d6[_0x4addc4(0x24c)](_0x53ca42=>{const _0x130e9f=_0x4addc4;let _0xe3c971=(0x0,_0x51f40a[_0x130e9f(0x24e)])(_0x53ca42);return _0xe3c971[_0x130e9f(0x24a)]===_0x425473[_0x130e9f(0x24a)]&&_0xe3c971[_0x130e9f(0x20b)]===_0x425473[_0x130e9f(0x20b)];}):void 0x0,{startOffset:_0x5b7bf0,endOffset:_0x18a2b2}=_0x52846a?_0x425473:_0x24fa7b(_0x59552c,_0x292fc1[_0x4addc4(0x24a)],_0x292fc1[_0x4addc4(0x20b)],_0x292fc1['insertionMode']);if(!_0x52846a&&_0x479a2a(_0x59552c,_0x5b7bf0,_0x18a2b2))throw new _0x104baa(_0x4addc4(0x1da));let _0x5c2401=_0x2e3295(_0x59552c,_0x5b7bf0,_0x18a2b2),_0x3f4916=(_0x52846a==null?void 0x0:_0x52846a[_0x4addc4(0x1fa)])??_0x292fc1['blockId'],_0x45028d=_0x599d43(_0x292fc1[_0x4addc4(0x260)],_0x3f4916,{..._0x31e047,..._0x292fc1['config']});if(_0x52846a)return _0x52846a[_0x4addc4(0x246)]=_0x51f40a['DocumentBlockRangeType'][_0x4addc4(0x1d5)],_0x27a1d8(_0x59552c,_0x5b7bf0,_0x18a2b2),_0x230c15(_0x59552c,_0x5b7bf0,_0x18a2b2,_0x5c2401),_0x50882c(_0x59552c,_0x52846a),{'nextDocumentData':_0x1b53f2,'nextMetadata':_0x45028d,'cursorOffset':_0x5b7bf0+0x1};if(_0x5b7bf0===_0x18a2b2){var _0x25c0b8,_0x89fbce;let _0x4dfba8=''+_0x51f40a['DataStreamTreeTokenType'][_0x4addc4(0x1d2)]+_0x51f40a[_0x4addc4(0x1f2)][_0x4addc4(0x212)]+_0x51f40a[_0x4addc4(0x1f2)]['BLOCK_END'];_0x3a092a(_0x59552c,_0x5b7bf0,_0x4dfba8,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x51f40a[_0x4addc4(0x22e)])(new Set((_0x25c0b8=_0x59552c[_0x4addc4(0x28a)])==null?void 0x0:_0x25c0b8['map'](_0x3548cd=>_0x3548cd[_0x4addc4(0x263)]))),'paragraphStyle':_0xbd2ddb(!0x0,!0x0,_0x5c2401)}],'blockRanges':[{'blockId':_0x3f4916,'blockType':_0x51f40a['DocumentBlockRangeType'][_0x4addc4(0x1d5)],'startIndex':0x0,'endIndex':_0x4dfba8[_0x4addc4(0x1bf)]-0x1}]});let _0x449197=(_0x89fbce=_0x59552c[_0x4addc4(0x1c8)])==null?void 0x0:_0x89fbce['find'](_0x18d5ec=>_0x18d5ec[_0x4addc4(0x1fa)]===_0x3f4916);return _0x449197&&_0x50882c(_0x59552c,_0x449197),{'nextDocumentData':_0x1b53f2,'nextMetadata':_0x45028d,'cursorOffset':_0x5b7bf0+0x1};}_0x3a092a(_0x59552c,_0x18a2b2,_0x51f40a['DataStreamTreeTokenType'][_0x4addc4(0x261)]),_0x3a092a(_0x59552c,_0x5b7bf0,_0x51f40a[_0x4addc4(0x1f2)][_0x4addc4(0x1d2)]),_0x230c15(_0x59552c,_0x5b7bf0,_0x18a2b2+0x1,_0x5c2401);let _0x4db999={'blockId':_0x3f4916,'blockType':_0x51f40a[_0x4addc4(0x27f)][_0x4addc4(0x1d5)],'startIndex':_0x5b7bf0,'endIndex':_0x18a2b2+0x1};return _0x59552c[_0x4addc4(0x1c8)]=[..._0x59552c[_0x4addc4(0x1c8)]??[],_0x4db999][_0x4addc4(0x210)]((_0x1078a2,_0x313f07)=>_0x1078a2['startIndex']-_0x313f07[_0x4addc4(0x1ea)]),_0x50882c(_0x59552c,_0x4db999),{'nextDocumentData':_0x1b53f2,'nextMetadata':_0x45028d,'cursorOffset':_0x5b7bf0+0x1};}function _0x27a1d8(_0x2e5165,_0xedb624,_0x19b7f9){const _0x57e202=_0x26f014;(_0x2e5165[_0x57e202(0x28a)]??[])['filter'](_0x82cdd6=>_0x82cdd6[_0x57e202(0x1ea)]>_0xedb624&&_0x82cdd6[_0x57e202(0x1ea)]<_0x19b7f9)['forEach'](_0x352816=>{const _0x33b889=_0x57e202;let _0xa6d92d={..._0x352816[_0x33b889(0x285)]??{}};delete _0xa6d92d[_0x33b889(0x25b)],delete _0xa6d92d['spaceBelow'],_0x352816[_0x33b889(0x285)]=_0xa6d92d;});}function _0x23036c(_0x50eaf7,_0x420db1){const _0x207203=_0x26f014;return _0x50eaf7==null||_0x420db1==null||_0x50eaf7===_0x420db1?null:{'startOffset':Math['min'](_0x50eaf7,_0x420db1),'endOffset':Math[_0x207203(0x237)](_0x50eaf7,_0x420db1)};}function _0x479a2a(_0x4d39fe,_0x303206,_0x2c8017){const _0x510485=_0x26f014;return(_0x4d39fe['blockRanges']??[])[_0x510485(0x1df)](_0x4a81ff=>{const _0x35ee80=_0x510485;let _0x34a172=(0x0,_0x51f40a[_0x35ee80(0x24e)])(_0x4a81ff);return _0x303206===_0x2c8017?(0x0,_0x51f40a['containsInteriorInsertionOffset'])(_0x34a172,_0x303206):(0x0,_0x51f40a[_0x35ee80(0x1ca)])(_0x34a172,{'startOffset':_0x303206,'endOffset':_0x2c8017});});}function _0x51b70f(_0x749457){const _0x5cf563=_0x26f014;return{'nextDocumentData':_0x308afd(_0x749457[_0x5cf563(0x26d)]),'nextMetadata':_0x599d43(_0x749457[_0x5cf563(0x260)],_0x749457[_0x5cf563(0x1fa)],_0x749457[_0x5cf563(0x27b)]),'cursorOffset':0x0};}function _0x1a7ef6(_0x55ed73){const _0x5e4f41=_0x26f014;let _0x3c887c=_0x308afd(_0x55ed73['documentData']),_0x5c9cc7=_0x4e934a(_0x3c887c),_0x3df7c8=_0x33e69f(_0x5c9cc7,_0x55ed73['blockId']);if(!_0x3df7c8)return null;let _0x3c4152=_0xe63c66(_0x5c9cc7,_0x3df7c8);return{'nextDocumentData':_0x3c887c,'nextMetadata':_0x44dc72(_0x55ed73[_0x5e4f41(0x260)],_0x55ed73['blockId']),'cursorOffset':_0x3c4152};}function _0x292131(_0x3394f3){const _0x524246=_0x26f014;var _0x333496;let _0x408fa3=_0x308afd(_0x3394f3[_0x524246(0x26d)]),_0xe2d080=_0x4e934a(_0x408fa3),_0x1c96f1=_0x33e69f(_0xe2d080,_0x3394f3[_0x524246(0x1fa)]);if(!_0x1c96f1)return null;let _0x54a4ca=(0x0,_0x51f40a[_0x524246(0x24e)])(_0x1c96f1);return _0x9b3356(_0xe2d080,_0x54a4ca[_0x524246(0x24a)],_0x54a4ca[_0x524246(0x20b)]),_0xe2d080[_0x524246(0x1c8)]=(_0x333496=_0xe2d080[_0x524246(0x1c8)])==null?void 0x0:_0x333496[_0x524246(0x257)](_0x40ba71=>_0x40ba71['blockId']!==_0x3394f3[_0x524246(0x1fa)]),{'nextDocumentData':_0x408fa3,'nextMetadata':_0x44dc72(_0x3394f3[_0x524246(0x260)],_0x3394f3[_0x524246(0x1fa)]),'cursorOffset':_0x1c96f1[_0x524246(0x1ea)]};}function _0x24113b(_0x4c8df4){const _0x2ec04d=_0x26f014;let _0x2e3859=_0x308afd(_0x4c8df4[_0x2ec04d(0x26d)]),_0x131a3d=_0x4e934a(_0x2e3859),_0x4f1020=_0x529dda(_0x131a3d,_0x4c8df4['cursorOffset']);return _0x4f1020&&_0x50f60f(_0x2e3859,_0x131a3d,_0x4f1020,_0x4c8df4['cursorOffset'],_0x4c8df4[_0x2ec04d(0x215)])||null;}function _0x50f60f(_0xca4652,_0x371da8,_0x3a7965,_0x43dd6d,_0x29a1d4){const _0x1aa939=_0x26f014;let _0x503d74=_0x21e424(_0x371da8,_0x3a7965,_0x43dd6d,_0x29a1d4);if(!_0x503d74)return null;let _0x572e4b=_0x503d74[_0x1aa939(0x227)]-0x1;return _0x9b3356(_0x371da8,_0x503d74[_0x1aa939(0x1b8)][_0x1aa939(0x1ea)],_0x503d74['paragraph']['startIndex']+0x1),{'nextDocumentData':_0xca4652,'cursorOffset':_0x572e4b};}function _0x33e69f(_0x99a314,_0x1ce440){const _0x491d9f=_0x26f014;var _0x1a6172;return _0x99a314==null||(_0x1a6172=_0x99a314['blockRanges'])==null?void 0x0:_0x1a6172['find'](_0x32c9f8=>_0x32c9f8[_0x491d9f(0x246)]===_0x51f40a[_0x491d9f(0x27f)][_0x491d9f(0x1d5)]&&_0x32c9f8['blockId']===_0x1ce440);}function _0x455cae(_0x3a93f3){const _0x134807=_0x26f014;let _0x1d85c2=_0x3a93f3[_0x134807(0x26d)][_0x134807(0x25f)];if(!_0x1d85c2)return!0x1;let _0x262575=_0x3a93f3[_0x134807(0x203)]==='left'?_0x3a93f3[_0x134807(0x1e2)]-0x1:_0x3a93f3['cursorOffset'],_0x5e1e3b=_0x3a93f3[_0x134807(0x203)]===_0x134807(0x1d9)?_0x3a93f3[_0x134807(0x1e2)]+0x1:_0x262575;return(_0x1d85c2[_0x134807(0x1c8)]??[])[_0x134807(0x1df)](_0xb6e5b1=>_0xb6e5b1[_0x134807(0x246)]===_0x51f40a[_0x134807(0x27f)][_0x134807(0x1d5)]?_0x262575===_0xb6e5b1['startIndex']||_0x262575===_0xb6e5b1[_0x134807(0x206)]||_0x5e1e3b===_0xb6e5b1['startIndex']||_0x5e1e3b===_0xb6e5b1[_0x134807(0x206)]:!0x1);}function _0x529dda(_0x231be9,_0x31e131){const _0x4afd72=_0x26f014;var _0x255c9b;return(_0x255c9b=_0x231be9[_0x4afd72(0x1c8)])==null?void 0x0:_0x255c9b[_0x4afd72(0x24c)](_0x58f6b6=>{const _0x19f77f=_0x4afd72;let _0x57a544=_0x62611a(_0x58f6b6);return _0x58f6b6[_0x19f77f(0x246)]===_0x51f40a['DocumentBlockRangeType'][_0x19f77f(0x1d5)]&&_0x58f6b6['startIndex']<=_0x31e131&&_0x31e131<=_0x57a544+0x2;});}function _0xbd2ddb(_0xacf7d0,_0x226266,_0x209c07=!0x1){const _0x2f63cb=_0x26f014;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x51f40a[_0x2f63cb(0x22f)][_0x2f63cb(0x21b)],'keepNext':_0x226266?_0x51f40a['BooleanNumber'][_0x2f63cb(0x21e)]:_0x51f40a[_0x2f63cb(0x22f)]['TRUE'],'widowControl':_0x51f40a[_0x2f63cb(0x22f)][_0x2f63cb(0x21b)],..._0xacf7d0&&_0x209c07?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0xebf947,'fs':0xc}};}function _0x230c15(_0x1bccfb,_0x2d8472,_0x49aa7b,_0x598f26=!0x1){const _0x2a47c9=_0x26f014;let _0x2d69e3=(_0x1bccfb[_0x2a47c9(0x28a)]??[])['filter'](_0x3126ec=>_0x3126ec[_0x2a47c9(0x1ea)]>_0x2d8472&&_0x3126ec['startIndex']<_0x49aa7b);_0x2d69e3[_0x2a47c9(0x284)]((_0x207c8b,_0x3bd899)=>{const _0xcf3b20=_0x2a47c9;_0x207c8b[_0xcf3b20(0x285)]={..._0x207c8b['paragraphStyle']??{},..._0xbd2ddb(_0x3bd899===0x0,_0x3bd899===_0x2d69e3[_0xcf3b20(0x1bf)]-0x1,_0x598f26)};});}function _0x1ee282(_0xafe030){const _0x59b8bf=_0x26f014;var _0x4340f3,_0x34366f;let _0x496fe5={..._0xafe030??{}};return delete _0x496fe5['indentEnd'],delete _0x496fe5[_0x59b8bf(0x244)],delete _0x496fe5['spaceAbove'],delete _0x496fe5[_0x59b8bf(0x221)],delete _0x496fe5[_0x59b8bf(0x24d)],delete _0x496fe5[_0x59b8bf(0x286)],delete _0x496fe5[_0x59b8bf(0x28c)],((_0x4340f3=_0x496fe5['textStyle'])==null?void 0x0:_0x4340f3['ff'])===_0xebf947&&((_0x34366f=_0x496fe5[_0x59b8bf(0x20a)])==null?void 0x0:_0x34366f['fs'])===0xc&&delete _0x496fe5['textStyle'],_0x496fe5;}function _0x5d5b3e(_0x200fc1,_0x124061){const _0x23c578=_0x26f014;let _0x125396=_0x62611a(_0x124061);return(_0x200fc1[_0x23c578(0x28a)]??[])[_0x23c578(0x257)](_0x1e8c15=>_0x1e8c15[_0x23c578(0x1ea)]>_0x124061[_0x23c578(0x1ea)]&&_0x1e8c15['startIndex']<_0x125396);}function _0xe63c66(_0x45c166,_0x4b1003){const _0x3c7750=_0x26f014;var _0x10881b;let _0x40ed92=_0x62611a(_0x4b1003);return _0x5d5b3e(_0x45c166,_0x4b1003)[_0x3c7750(0x284)](_0x335716=>{const _0x2c4743=_0x3c7750;_0x335716['paragraphStyle']=_0x1ee282(_0x335716[_0x2c4743(0x285)]);}),_0x9b3356(_0x45c166,_0x40ed92,_0x40ed92+0x1),_0x9b3356(_0x45c166,_0x4b1003[_0x3c7750(0x1ea)],_0x4b1003['startIndex']+0x1),_0x45c166[_0x3c7750(0x1c8)]=(_0x10881b=_0x45c166[_0x3c7750(0x1c8)])==null?void 0x0:_0x10881b['filter'](_0x23b157=>_0x23b157[_0x3c7750(0x1fa)]!==_0x4b1003[_0x3c7750(0x1fa)]),_0x4b1003[_0x3c7750(0x1ea)];}function _0x308afd(_0x42f69c){const _0x156522=_0x26f014;return{..._0x42f69c,'body':_0x42f69c[_0x156522(0x25f)]?_0x3d2807(_0x42f69c[_0x156522(0x25f)]):_0x42f69c['body']};}function _0x3d2807(_0x30995e){const _0x44f391=_0x26f014;var _0x380d75,_0x5d763f,_0x5ef704,_0x1ecfab,_0x4a6e1f,_0x149006,_0x2a93e0,_0x4a327a,_0x166112;return{..._0x30995e,'paragraphs':(_0x380d75=_0x30995e[_0x44f391(0x28a)])==null?void 0x0:_0x380d75[_0x44f391(0x262)](_0x4e9bc4=>({..._0x4e9bc4,'bullet':_0x24fb86(_0x4e9bc4[_0x44f391(0x248)]),'paragraphStyle':_0x24fb86(_0x4e9bc4[_0x44f391(0x285)])})),'sectionBreaks':(_0x5d763f=_0x30995e[_0x44f391(0x238)])==null?void 0x0:_0x5d763f['map'](_0x567427=>({..._0x567427})),'textRuns':(_0x5ef704=_0x30995e[_0x44f391(0x222)])==null?void 0x0:_0x5ef704[_0x44f391(0x262)](_0x5e3463=>({..._0x5e3463})),'tables':(_0x1ecfab=_0x30995e['tables'])==null?void 0x0:_0x1ecfab[_0x44f391(0x262)](_0x1e8aaa=>({..._0x1e8aaa})),'columnGroups':(_0x4a6e1f=_0x30995e[_0x44f391(0x1f9)])==null?void 0x0:_0x4a6e1f['map'](_0x3d8a92=>{const _0x26f0f7=_0x44f391;var _0x4ec4f8;return{..._0x3d8a92,'columns':(_0x4ec4f8=_0x3d8a92[_0x26f0f7(0x1d6)])==null?void 0x0:_0x4ec4f8[_0x26f0f7(0x262)](_0x3d04bb=>_0x24fb86(_0x3d04bb))};}),'blockRanges':(_0x149006=_0x30995e[_0x44f391(0x1c8)])==null?void 0x0:_0x149006[_0x44f391(0x262)](_0x2e150b=>({..._0x2e150b})),'customRanges':(_0x2a93e0=_0x30995e[_0x44f391(0x24f)])==null?void 0x0:_0x2a93e0[_0x44f391(0x262)](_0x4ceaee=>({..._0x4ceaee})),'customDecorations':(_0x4a327a=_0x30995e['customDecorations'])==null?void 0x0:_0x4a327a[_0x44f391(0x262)](_0x48d21d=>({..._0x48d21d})),'customBlocks':(_0x166112=_0x30995e[_0x44f391(0x1f5)])==null?void 0x0:_0x166112[_0x44f391(0x262)](_0x240147=>({..._0x240147}))};}function _0x24fb86(_0x317978){const _0x1cea1d=_0x26f014;return Array[_0x1cea1d(0x1e5)](_0x317978)?_0x317978[_0x1cea1d(0x262)](_0x19e821=>_0x24fb86(_0x19e821)):!_0x317978||typeof _0x317978!='object'?_0x317978:Object[_0x1cea1d(0x21d)](Object[_0x1cea1d(0x211)](_0x317978)[_0x1cea1d(0x262)](([_0x10cea7,_0x148879])=>[_0x10cea7,_0x24fb86(_0x148879)]));}function _0x4e934a(_0x4e4233){const _0x1c2bc6=_0x26f014;if(!_0x4e4233[_0x1c2bc6(0x25f)])throw Error(_0x1c2bc6(0x1c9));return _0x4e4233[_0x1c2bc6(0x25f)];}function _0x24fa7b(_0x59f594,_0x19ad83,_0x436e33,_0xbb7eaf=_0x26f014(0x278)){const _0x10fd61=_0x26f014;if(_0x19ad83==null||_0x436e33==null){let _0x631df8=_0x1ac887(_0x59f594);return{'startOffset':_0x631df8,'endOffset':_0x631df8};}let _0x147d9a=Math[_0x10fd61(0x25c)](_0x19ad83,_0x436e33),_0x2e3eaf=Math[_0x10fd61(0x237)](_0x19ad83,_0x436e33),_0x59a91b=_0x3264c7(_0x59f594,_0x147d9a,_0x2e3eaf);return _0x147d9a===_0x2e3eaf?_0xbb7eaf===_0x10fd61(0x205)?{'startOffset':_0x147d9a,'endOffset':_0x2e3eaf}:_0x260c18(_0x59f594,_0x147d9a,_0x59a91b):_0x1a38ea(_0x59f594,_0x147d9a,_0x2e3eaf,_0x59a91b);}function _0x260c18(_0x536120,_0x446bc2,_0x1f197a){const _0x53a0a4=_0x26f014;let _0x418d13=_0x549acc(_0x536120,_0x446bc2);if(_0x418d13){let _0x296559=_0x3c569d(_0x536120,_0x418d13,_0x1f197a);if(_0x296559<_0x418d13[_0x53a0a4(0x1ea)])return{'startOffset':_0x296559,'endOffset':_0x1f197a?Math[_0x53a0a4(0x25c)](_0x418d13[_0x53a0a4(0x1ea)]+0x1,_0x1f197a[_0x53a0a4(0x20b)]):_0x418d13[_0x53a0a4(0x1ea)]+0x1};}let _0x2c2973=_0x446bc2===0x0&&_0x536120[_0x53a0a4(0x236)][0x0]===_0x51f40a[_0x53a0a4(0x1f2)]['PARAGRAPH']?0x1:_0x446bc2;return{'startOffset':_0x2c2973,'endOffset':_0x2c2973};}function _0x1ac887(_0x2cb25c){const _0x1359ca=_0x26f014;return _0x2cb25c[_0x1359ca(0x236)]['endsWith'](_0x51f40a['DataStreamTreeTokenType'][_0x1359ca(0x279)])?Math[_0x1359ca(0x237)](0x0,_0x2cb25c[_0x1359ca(0x236)]['length']-0x1):_0x2cb25c[_0x1359ca(0x236)][_0x1359ca(0x1bf)];}function _0x2e3295(_0x446b79,_0x1b1655,_0x302394){const _0x144d6d=_0x26f014;var _0x567597;let _0x233eda=Math['min'](_0x1b1655,_0x302394),_0xf8128a=Math[_0x144d6d(0x237)](_0x1b1655,_0x302394);return!!((_0x567597=_0x446b79[_0x144d6d(0x20d)])!=null&&_0x567597[_0x144d6d(0x1df)](_0x18c93d=>_0x233eda>_0x18c93d[_0x144d6d(0x1ea)]&&_0x233eda<_0x18c93d[_0x144d6d(0x206)]||_0xf8128a>_0x18c93d[_0x144d6d(0x1ea)]&&_0xf8128a<_0x18c93d[_0x144d6d(0x206)]||_0x233eda<=_0x18c93d['startIndex']&&_0xf8128a>=_0x18c93d['endIndex']));}function _0x1a38ea(_0x266758,_0x480f06,_0x3efe6d,_0x425eeb){const _0x2dd132=_0x26f014;let _0x57bdc0=[..._0x266758['paragraphs']??[]][_0x2dd132(0x210)]((_0x418400,_0x737471)=>_0x418400[_0x2dd132(0x1ea)]-_0x737471[_0x2dd132(0x1ea)]),_0x539c2d=(0x0,_0x51f40a['getParagraphContentStartOffsets'])(_0x266758),_0x37992c=_0x57bdc0[_0x2dd132(0x24c)](_0x4ea0e8=>_0x3c569d(_0x266758,_0x4ea0e8,_0x425eeb,_0x539c2d)<=_0x480f06&&_0x480f06<=_0x4ea0e8[_0x2dd132(0x1ea)]),_0xdb3064=_0x57bdc0[_0x2dd132(0x24c)](_0x439dad=>_0x439dad[_0x2dd132(0x1ea)]>=_0x3efe6d-0x1)??_0x57bdc0[_0x57bdc0['length']-0x1];return{'startOffset':_0x37992c?_0x3c569d(_0x266758,_0x37992c,_0x425eeb,_0x539c2d):_0x480f06,'endOffset':_0xdb3064?_0x134971(_0xdb3064,_0x425eeb):_0x3efe6d};}function _0x549acc(_0x138df4,_0x38f752){const _0x43cfd0=_0x26f014;let _0x16d8da=[..._0x138df4[_0x43cfd0(0x28a)]??[]]['sort']((_0x316cc4,_0x31b353)=>_0x316cc4[_0x43cfd0(0x1ea)]-_0x31b353[_0x43cfd0(0x1ea)]),_0x686a83=(0x0,_0x51f40a[_0x43cfd0(0x20c)])(_0x138df4);return _0x16d8da[_0x43cfd0(0x24c)](_0x4d8a7a=>(_0x686a83[_0x43cfd0(0x1ba)](_0x4d8a7a['startIndex'])??0x0)<=_0x38f752&&_0x38f752<=_0x4d8a7a[_0x43cfd0(0x1ea)]);}function _0x3c569d(_0x13c822,_0xcc1144,_0x42a165,_0x1b1031){const _0x4635c4=_0x26f014;let _0x5855bd=(_0x1b1031==null?void 0x0:_0x1b1031[_0x4635c4(0x1ba)](_0xcc1144[_0x4635c4(0x1ea)]))??(0x0,_0x51f40a['getParagraphContentStartOffset'])(_0x13c822,_0xcc1144);return _0x42a165?Math[_0x4635c4(0x237)](_0x5855bd,_0x42a165[_0x4635c4(0x24a)]):_0x5855bd;}function _0x134971(_0x1b2315,_0x1ddc50){const _0x4f131d=_0x26f014;let _0x224f0a=_0x1b2315[_0x4f131d(0x1ea)]+0x1;return _0x1ddc50?Math[_0x4f131d(0x25c)](_0x224f0a,_0x1ddc50['endOffset']):_0x224f0a;}function _0x3264c7(_0xe35707,_0x44ef20,_0x300e65){const _0x251edd=_0x26f014;let _0x2dc354=_0x5ad341(_0xe35707,_0x44ef20),_0x21b51a=_0x5ad341(_0xe35707,_0x44ef20===_0x300e65?_0x300e65:Math['max'](_0x44ef20,_0x300e65-0x1));if(_0x2dc354||_0x21b51a){if(!_0x2dc354||!_0x21b51a||_0x2dc354['startTokenOffset']!==_0x21b51a['startTokenOffset']||_0x2dc354[_0x251edd(0x227)]!==_0x21b51a['endTokenOffset'])throw new _0x104baa();return _0x2dc354;}}function _0x5ad341(_0x707591,_0x253b6a){const _0x4f8f89=_0x26f014;let _0x204280=_0x707591['dataStream'],_0x34ee9e=-0x1;for(let _0x1cadec=Math[_0x4f8f89(0x25c)](_0x253b6a,_0x204280['length']-0x1);_0x1cadec>=0x0;_0x1cadec--){let _0x5db307=_0x204280[_0x1cadec];if(_0x5db307===_0x51f40a[_0x4f8f89(0x1f2)][_0x4f8f89(0x1ee)])return;if(_0x5db307===_0x51f40a['DataStreamTreeTokenType'][_0x4f8f89(0x264)]){_0x34ee9e=_0x1cadec;break;}}if(_0x34ee9e<0x0)return;let _0x29a046=_0x204280['indexOf'](_0x51f40a[_0x4f8f89(0x1f2)][_0x4f8f89(0x1ee)],_0x34ee9e+0x1);if(!(_0x29a046<0x0||_0x253b6a<_0x34ee9e+0x1||_0x253b6a>_0x29a046-0x1))return{'startOffset':_0x34ee9e+0x1,'endOffset':Math[_0x4f8f89(0x237)](_0x34ee9e+0x1,_0x29a046-0x1),'startTokenOffset':_0x34ee9e,'endTokenOffset':_0x29a046};}function _0x62611a(_0x40b766){const _0x13bafc=_0x26f014;return(0x0,_0x51f40a[_0x13bafc(0x24e)])(_0x40b766)[_0x13bafc(0x20b)]-0x1;}function _0x21e424(_0x318018,_0x16ad60,_0x127894,_0x71676f){const _0x18fe40=_0x26f014;let _0x43ef0b=_0x62611a(_0x16ad60),_0x8e07e3=(_0x318018[_0x18fe40(0x28a)]??[])[_0x18fe40(0x24c)](_0x4552f2=>_0x4552f2[_0x18fe40(0x1ea)]===_0x43ef0b+0x1);if(!_0x8e07e3||_0x71676f!=null&&_0x8e07e3[_0x18fe40(0x1ea)]!==_0x71676f||_0x127894!=null&&(_0x127894<_0x43ef0b||_0x127894>_0x8e07e3[_0x18fe40(0x1ea)]+0x1)||_0x318018['dataStream'][_0x8e07e3[_0x18fe40(0x1ea)]]!==_0x51f40a[_0x18fe40(0x1f2)][_0x18fe40(0x212)])return null;let _0x550105=(0x0,_0x51f40a[_0x18fe40(0x27c)])(_0x318018,_0x8e07e3),_0x1af4f5=_0x318018[_0x18fe40(0x236)][_0x18fe40(0x290)](_0x550105,_0x8e07e3[_0x18fe40(0x1ea)]);return Array[_0x18fe40(0x27d)](_0x1af4f5)[_0x18fe40(0x259)](_0x3500df=>_0x3500df===_0x51f40a[_0x18fe40(0x1f2)]['BLOCK_END'])?{'paragraph':_0x8e07e3,'endTokenOffset':_0x43ef0b}:null;}function _0x50882c(_0x211186,_0x140ddb){const _0x4db7f1=_0x26f014;var _0x138ac2;let _0x5efa98=_0x62611a(_0x140ddb),_0x22dba1=_0x211186[_0x4db7f1(0x236)][_0x5efa98+0x1];(_0x22dba1===_0x51f40a['DataStreamTreeTokenType'][_0x4db7f1(0x279)]||_0x22dba1===void 0x0)&&_0x3a092a(_0x211186,_0x5efa98+0x1,_0x51f40a[_0x4db7f1(0x1f2)]['PARAGRAPH'],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x51f40a[_0x4db7f1(0x22e)])(new Set((_0x138ac2=_0x211186[_0x4db7f1(0x28a)])==null?void 0x0:_0x138ac2[_0x4db7f1(0x262)](_0x994ddd=>_0x994ddd['paragraphId'])))}]});}function _0x3a092a(_0x3eed85,_0x305bbe,_0x2c5b85,_0x584040={}){const _0x5eb8d8=_0x26f014;var _0x4ad37f,_0x1b93ac;_0x2c5b85&&(_0x3eed85[_0x5eb8d8(0x236)]=''+_0x3eed85['dataStream'][_0x5eb8d8(0x290)](0x0,_0x305bbe)+_0x2c5b85+_0x3eed85[_0x5eb8d8(0x236)][_0x5eb8d8(0x290)](_0x305bbe),_0x46082c(_0x3eed85,_0x305bbe,_0x2c5b85[_0x5eb8d8(0x1bf)]),(_0x4ad37f=_0x584040[_0x5eb8d8(0x28a)])!=null&&_0x4ad37f[_0x5eb8d8(0x1bf)]&&(_0x3eed85[_0x5eb8d8(0x28a)]=[..._0x3eed85[_0x5eb8d8(0x28a)]??[],..._0x584040[_0x5eb8d8(0x28a)]['map'](_0x80706f=>({..._0x80706f,'startIndex':_0x80706f['startIndex']+_0x305bbe}))][_0x5eb8d8(0x210)]((_0x58a09a,_0x470bb1)=>_0x58a09a[_0x5eb8d8(0x1ea)]-_0x470bb1[_0x5eb8d8(0x1ea)])),(_0x1b93ac=_0x584040['blockRanges'])!=null&&_0x1b93ac[_0x5eb8d8(0x1bf)]&&(_0x3eed85['blockRanges']=[..._0x3eed85[_0x5eb8d8(0x1c8)]??[],..._0x584040[_0x5eb8d8(0x1c8)][_0x5eb8d8(0x262)](_0x1a3bae=>({..._0x1a3bae,'startIndex':_0x1a3bae['startIndex']+_0x305bbe,'endIndex':_0x1a3bae['endIndex']+_0x305bbe}))][_0x5eb8d8(0x210)]((_0x131edc,_0x9b8136)=>_0x131edc[_0x5eb8d8(0x1ea)]-_0x9b8136[_0x5eb8d8(0x1ea)])));}function _0x9b3356(_0x5ed855,_0xb06073,_0x23cdad){const _0x4878a4=_0x26f014;let _0x415695=_0x23cdad-_0xb06073;_0x5ed855[_0x4878a4(0x236)]=''+_0x5ed855['dataStream'][_0x4878a4(0x290)](0x0,_0xb06073)+_0x5ed855[_0x4878a4(0x236)][_0x4878a4(0x290)](_0x23cdad),_0x46a019(_0x5ed855,_0xb06073,_0x415695);}function _0x46082c(_0x4ae7e5,_0x1cea37,_0x1c14ff){const _0x5eeaa3=_0x26f014;_0x4ae7e5[_0x5eeaa3(0x28a)]=_0x30bfa4(_0x4ae7e5['paragraphs'],_0x1cea37,_0x1c14ff),_0x4ae7e5[_0x5eeaa3(0x238)]=_0x30bfa4(_0x4ae7e5['sectionBreaks'],_0x1cea37,_0x1c14ff),_0x4ae7e5[_0x5eeaa3(0x1f5)]=_0x30bfa4(_0x4ae7e5['customBlocks'],_0x1cea37,_0x1c14ff),_0x4ae7e5[_0x5eeaa3(0x222)]=_0xa8586a(_0x4ae7e5[_0x5eeaa3(0x222)],_0x1cea37,_0x1c14ff),_0x4ae7e5[_0x5eeaa3(0x20d)]=_0x515724(_0x4ae7e5['tables'],_0x1cea37,_0x1c14ff),_0x4ae7e5[_0x5eeaa3(0x1f9)]=_0x1e0ca5(_0x4ae7e5['columnGroups'],_0x1cea37,_0x1c14ff),_0x4ae7e5[_0x5eeaa3(0x24f)]=_0x1e0ca5(_0x4ae7e5['customRanges'],_0x1cea37,_0x1c14ff),_0x4ae7e5['customDecorations']=_0x1e0ca5(_0x4ae7e5['customDecorations'],_0x1cea37,_0x1c14ff),_0x4ae7e5[_0x5eeaa3(0x1c8)]=_0x1e0ca5(_0x4ae7e5[_0x5eeaa3(0x1c8)],_0x1cea37,_0x1c14ff);}function _0x46a019(_0x4ca344,_0x53817e,_0x502771){const _0x43e3b3=_0x26f014;var _0x2657ea,_0x13f0e0;_0x4ca344['paragraphs']=_0x1527c1(_0x4ca344[_0x43e3b3(0x28a)],_0x53817e,_0x502771),_0x4ca344[_0x43e3b3(0x238)]=_0x1527c1(_0x4ca344[_0x43e3b3(0x238)],_0x53817e,_0x502771),_0x4ca344[_0x43e3b3(0x1f5)]=_0x1527c1(_0x4ca344[_0x43e3b3(0x1f5)],_0x53817e,_0x502771),_0x4ca344['textRuns']=(_0x2657ea=_0x2e4b4e((_0x13f0e0=_0x4ca344[_0x43e3b3(0x222)])==null?void 0x0:_0x13f0e0['map'](_0x42d486=>({..._0x42d486,'startIndex':_0x42d486['st'],'endIndex':_0x42d486['ed']})),_0x53817e,_0x502771))==null?void 0x0:_0x2657ea[_0x43e3b3(0x262)](_0x3ddaca=>{let {startIndex:_0x36f051,endIndex:_0x5c5e50,..._0x4f5162}=_0x3ddaca;return{..._0x4f5162,'st':_0x36f051,'ed':_0x5c5e50};}),_0x4ca344['tables']=_0x2e4b4e(_0x4ca344[_0x43e3b3(0x20d)],_0x53817e,_0x502771),_0x4ca344[_0x43e3b3(0x1f9)]=_0x50ad7f(_0x4ca344[_0x43e3b3(0x1f9)],_0x53817e,_0x502771),_0x4ca344[_0x43e3b3(0x24f)]=_0x50ad7f(_0x4ca344[_0x43e3b3(0x24f)],_0x53817e,_0x502771),_0x4ca344[_0x43e3b3(0x1f1)]=_0x50ad7f(_0x4ca344[_0x43e3b3(0x1f1)],_0x53817e,_0x502771),_0x4ca344[_0x43e3b3(0x1c8)]=_0x50ad7f(_0x4ca344[_0x43e3b3(0x1c8)],_0x53817e,_0x502771);}function _0x30bfa4(_0x10c217,_0x2eb814,_0x4c3d90){const _0x576ba9=_0x26f014;return _0x10c217==null?void 0x0:_0x10c217[_0x576ba9(0x262)](_0x462e53=>_0x462e53[_0x576ba9(0x1ea)]>=_0x2eb814?{..._0x462e53,'startIndex':_0x462e53[_0x576ba9(0x1ea)]+_0x4c3d90}:_0x462e53);}function _0x1527c1(_0x50437e,_0x8dd24e,_0x4b08ae){const _0x718978=_0x26f014;let _0x863dfb=_0x8dd24e+_0x4b08ae;return _0x50437e==null?void 0x0:_0x50437e[_0x718978(0x262)](_0x25235e=>_0x25235e[_0x718978(0x1ea)]>=_0x8dd24e&&_0x25235e['startIndex']<_0x863dfb?null:_0x25235e[_0x718978(0x1ea)]>=_0x863dfb?{..._0x25235e,'startIndex':_0x25235e[_0x718978(0x1ea)]-_0x4b08ae}:_0x25235e)['filter'](_0x37af7f=>_0x37af7f!=null);}function _0xa8586a(_0x45b979,_0x598d70,_0x1b7f68){const _0x5f17d2=_0x26f014;return _0x45b979==null?void 0x0:_0x45b979[_0x5f17d2(0x262)](_0x3642bc=>_0x3642bc['st']>=_0x598d70?{..._0x3642bc,'st':_0x3642bc['st']+_0x1b7f68,'ed':_0x3642bc['ed']+_0x1b7f68}:_0x3642bc['ed']>_0x598d70?{..._0x3642bc,'ed':_0x3642bc['ed']+_0x1b7f68}:_0x3642bc);}function _0x1e0ca5(_0x24fae,_0x36e0f0,_0x2e34e1){const _0x541ad9=_0x26f014;return _0x24fae==null?void 0x0:_0x24fae[_0x541ad9(0x262)](_0x551b8e=>(0x0,_0x51f40a[_0x541ad9(0x23b)])(_0x551b8e,_0x36e0f0,_0x2e34e1));}function _0x515724(_0x196dd9,_0x11e6d0,_0x5da8b9){const _0x10cfb8=_0x26f014;return _0x196dd9==null?void 0x0:_0x196dd9[_0x10cfb8(0x262)](_0x180df5=>(0x0,_0x51f40a[_0x10cfb8(0x1ed)])(_0x180df5,_0x11e6d0,_0x5da8b9));}function _0x50ad7f(_0x93bfaa,_0x49691b,_0x5dfc97){const _0xd03a69=_0x26f014;return _0x93bfaa==null?void 0x0:_0x93bfaa[_0xd03a69(0x262)](_0x941798=>(0x0,_0x51f40a['shiftInclusiveRangeOnDelete'])(_0x941798,_0x49691b,_0x5dfc97))[_0xd03a69(0x257)](_0x3e339b=>_0x3e339b!=null);}function _0x2e4b4e(_0x202e62,_0x36dfcd,_0x216735){const _0xc7b052=_0x26f014;return _0x202e62==null?void 0x0:_0x202e62[_0xc7b052(0x262)](_0x53d5f8=>(0x0,_0x51f40a[_0xc7b052(0x266)])(_0x53d5f8,_0x36dfcd,_0x216735))['filter'](_0x919ee0=>_0x919ee0!=null);}let _0x2321d9={'id':_0x26f014(0x287),'type':_0x51f40a[_0x26f014(0x218)]['COMMAND'],'handler':_0x52a20b=>{const _0x622bb9=_0x26f014;var _0x58d3e7;if((0x0,_0x37dc7c[_0x622bb9(0x25a)])(_0xdd3945(_0x52a20b)))return!0x1;let _0x469060=(0x0,_0x37dc7c[_0x622bb9(0x251)])(_0x52a20b);if(_0x469060)return _0x52a20b[_0x622bb9(0x1ba)](_0x51f40a['ICommandService'])[_0x622bb9(0x254)](_0x200d21['id'],{'startOffset':_0x469060[_0x622bb9(0x24a)],'endOffset':_0x469060[_0x622bb9(0x20b)],'insertionMode':'insert-new','unitId':_0x469060[_0x622bb9(0x220)]});let _0x180985=_0x198170(_0x52a20b);if(!_0x180985)return!0x1;let _0x3fbb79=(_0x58d3e7=_0x52a20b[_0x622bb9(0x1ba)](_0x51f40a[_0x622bb9(0x214)])[_0x622bb9(0x27a)](_0x51f40a['UniverInstanceType'][_0x622bb9(0x26a)]))==null?void 0x0:_0x58d3e7['getBody'](),_0x5f39ba=_0x3fbb79?(0x0,_0x51f40a['getParagraphFollowingBlockOffset'])(_0x3fbb79,_0x180985):_0x180985[_0x622bb9(0x1ea)]+0x1;return _0x52a20b[_0x622bb9(0x1ba)](_0x51f40a['ICommandService'])[_0x622bb9(0x254)](_0x200d21['id'],{'startOffset':_0x5f39ba,'endOffset':_0x5f39ba});}},_0x48085e={'id':_0x26f014(0x25d),'type':_0x51f40a['CommandType'][_0x26f014(0x1db)],'handler':()=>!0x0},_0x200d21={'id':_0x26f014(0x23e),'type':_0x51f40a[_0x26f014(0x218)][_0x26f014(0x1db)],'handler':(_0x300b89,_0x54b306)=>{const _0x40b1e1=_0x26f014;let _0x358176=_0x186362(_0x300b89,_0x54b306==null?void 0x0:_0x54b306['unitId']);if(!_0x358176)return!0x1;let _0x458518=_0xdd3945(_0x300b89);if((0x0,_0x37dc7c[_0x40b1e1(0x25a)])(_0x458518))return!0x1;let _0x5cf4b0=_0x358176[_0x40b1e1(0x1fd)][_0x40b1e1(0x1d4)](_0x358176[_0x40b1e1(0x220)]),_0x29aeb5=_0x3e0f1d(_0x54b306,_0x458518),_0x3dc572=_0x27dc10(_0x358176[_0x40b1e1(0x1e8)],_0x29aeb5);if(_0x3dc572){if(_0x3dc572[_0x40b1e1(0x246)]!==_0x51f40a[_0x40b1e1(0x27f)][_0x40b1e1(0x1d5)])return!0x1;let _0x137f67=_0x1a7ef6({'blockId':_0x3dc572[_0x40b1e1(0x1fa)],'documentData':_0x358176[_0x40b1e1(0x1e8)],'metadata':_0x5cf4b0});if(!_0x137f67)return!0x1;let _0xb04719=_0x56109d(_0x358176[_0x40b1e1(0x1d1)],_0x358176[_0x40b1e1(0x202)],_0x358176[_0x40b1e1(0x220)],_0x358176['previousDocumentData'],_0x137f67[_0x40b1e1(0x1bc)],_0x200d21['id'],_0x137f67[_0x40b1e1(0x1e2)]);return _0xb04719&&_0x137f67['nextMetadata']&&_0x358176[_0x40b1e1(0x1fd)][_0x40b1e1(0x282)](_0x358176[_0x40b1e1(0x220)],_0x137f67[_0x40b1e1(0x255)]),_0xb04719;}let _0x51e54d=(_0x54b306==null?void 0x0:_0x54b306['blockId'])??(0x0,_0x51f40a['generateRandomId'])(0x6),_0x323574;try{_0x323574=_0x3acd3a({'blockId':_0x51e54d,'config':_0x54b306==null?void 0x0:_0x54b306[_0x40b1e1(0x27b)],'documentData':_0x358176[_0x40b1e1(0x1e8)],'endOffset':_0x29aeb5==null?void 0x0:_0x29aeb5[_0x40b1e1(0x20b)],'insertionMode':_0x54b306==null?void 0x0:_0x54b306[_0x40b1e1(0x21a)],'metadata':_0x5cf4b0,'startOffset':_0x29aeb5==null?void 0x0:_0x29aeb5[_0x40b1e1(0x24a)]});}catch(_0x463e23){if(_0x463e23 instanceof _0x104baa)return!0x1;throw _0x463e23;}let _0x5a8880=_0x56109d(_0x358176[_0x40b1e1(0x1d1)],_0x358176[_0x40b1e1(0x202)],_0x358176[_0x40b1e1(0x220)],_0x358176[_0x40b1e1(0x1e8)],_0x323574['nextDocumentData'],_0x200d21['id'],_0x323574[_0x40b1e1(0x1e2)]);return _0x5a8880&&_0x323574[_0x40b1e1(0x255)]&&_0x358176[_0x40b1e1(0x1fd)][_0x40b1e1(0x282)](_0x358176[_0x40b1e1(0x220)],_0x323574[_0x40b1e1(0x255)]),_0x5a8880;}},_0x5a2ca6={'id':'docs-code.command.update','type':_0x51f40a[_0x26f014(0x218)][_0x26f014(0x1db)],'handler':(_0x21c5ed,_0x34345c)=>{const _0x37d6f4=_0x26f014;if(!_0x34345c)return!0x1;let _0x537c07=_0x186362(_0x21c5ed,_0x34345c[_0x37d6f4(0x220)]);if(!_0x537c07)return!0x1;let _0xcbcb9c=_0x51b70f({'blockId':_0x34345c['blockId'],'config':_0x34345c[_0x37d6f4(0x27b)],'documentData':_0x537c07[_0x37d6f4(0x1e8)],'metadata':_0x537c07[_0x37d6f4(0x1fd)][_0x37d6f4(0x1d4)](_0x537c07['unitId'])});return _0xcbcb9c[_0x37d6f4(0x255)]&&_0x537c07[_0x37d6f4(0x1fd)][_0x37d6f4(0x282)](_0x537c07['unitId'],_0xcbcb9c[_0x37d6f4(0x255)]),!0x0;}},_0xb006ff={'id':_0x26f014(0x1e4),'type':_0x51f40a[_0x26f014(0x218)][_0x26f014(0x1db)],'handler':(_0x331c82,_0x1ea57a)=>_0x4bb1f1[_0x26f014(0x226)](_0x331c82,_0x1ea57a)},_0x4bb1f1={'id':'docs-code.command.unwrap','type':_0x51f40a[_0x26f014(0x218)][_0x26f014(0x1db)],'handler':(_0x4d1d58,_0x510ec4)=>{const _0x49ba3a=_0x26f014;if(!_0x510ec4)return!0x1;let _0x936736=_0x186362(_0x4d1d58,_0x510ec4==null?void 0x0:_0x510ec4[_0x49ba3a(0x220)]);if(!_0x936736)return!0x1;let _0x2d0724=_0x1a7ef6({'blockId':_0x510ec4[_0x49ba3a(0x1fa)],'documentData':_0x936736[_0x49ba3a(0x1e8)],'metadata':_0x936736[_0x49ba3a(0x1fd)]['serialize'](_0x936736['unitId'])});if(!_0x2d0724)return!0x1;let _0x259ad4=_0x56109d(_0x936736[_0x49ba3a(0x1d1)],_0x936736[_0x49ba3a(0x202)],_0x936736['unitId'],_0x936736[_0x49ba3a(0x1e8)],_0x2d0724[_0x49ba3a(0x1bc)],_0x4bb1f1['id'],_0x2d0724[_0x49ba3a(0x1e2)]);return _0x259ad4&&_0x2d0724['nextMetadata']&&_0x936736[_0x49ba3a(0x1fd)][_0x49ba3a(0x282)](_0x936736['unitId'],_0x2d0724[_0x49ba3a(0x255)]),_0x259ad4;}},_0x433d43={'id':'docs-code.command.remove','type':_0x51f40a[_0x26f014(0x218)][_0x26f014(0x1db)],'handler':(_0x372618,_0x4f094b)=>{const _0x2393ca=_0x26f014;if(!_0x4f094b)return!0x1;let _0x21f0f9=_0x186362(_0x372618,_0x4f094b==null?void 0x0:_0x4f094b[_0x2393ca(0x220)]);if(!_0x21f0f9)return!0x1;let _0x4a8417=_0x292131({'blockId':_0x4f094b[_0x2393ca(0x1fa)],'documentData':_0x21f0f9['previousDocumentData'],'metadata':_0x21f0f9[_0x2393ca(0x1fd)][_0x2393ca(0x1d4)](_0x21f0f9[_0x2393ca(0x220)])});if(!_0x4a8417)return!0x1;let _0xba606d=_0x56109d(_0x21f0f9[_0x2393ca(0x1d1)],_0x21f0f9[_0x2393ca(0x202)],_0x21f0f9['unitId'],_0x21f0f9['previousDocumentData'],_0x4a8417[_0x2393ca(0x1bc)],_0x433d43['id'],_0x4a8417[_0x2393ca(0x1e2)]);return _0xba606d&&_0x4a8417[_0x2393ca(0x255)]&&_0x21f0f9[_0x2393ca(0x1fd)]['deserialize'](_0x21f0f9[_0x2393ca(0x220)],_0x4a8417[_0x2393ca(0x255)]),_0xba606d;}},_0x11dd0e={'id':_0x26f014(0x1cb),'type':_0x51f40a[_0x26f014(0x218)]['COMMAND'],'handler':(_0x13ce21,_0x425ace)=>{const _0x4ff8a4=_0x26f014;var _0x135a06;let _0x273fde=_0x186362(_0x13ce21,_0x425ace==null?void 0x0:_0x425ace[_0x4ff8a4(0x220)]);if(!_0x273fde)return!0x1;let _0x189ff7=(_0x425ace==null?void 0x0:_0x425ace[_0x4ff8a4(0x1e2)])??((_0x135a06=_0xdd3945(_0x13ce21))==null?void 0x0:_0x135a06[_0x4ff8a4(0x24a)]);if(_0x189ff7==null)return!0x1;let _0x27d647=_0x24113b({'cursorOffset':_0x189ff7,'documentData':_0x273fde[_0x4ff8a4(0x1e8)],'paragraphStartIndex':_0x425ace==null?void 0x0:_0x425ace['paragraphStartIndex']});return _0x27d647?_0x56109d(_0x273fde[_0x4ff8a4(0x1d1)],_0x273fde[_0x4ff8a4(0x202)],_0x273fde[_0x4ff8a4(0x220)],_0x273fde['previousDocumentData'],_0x27d647[_0x4ff8a4(0x1bc)],_0x11dd0e['id'],_0x27d647[_0x4ff8a4(0x1e2)]):!0x1;}};function _0x186362(_0x34864b,_0x8998e8){const _0x5e1826=_0x26f014;let _0x4d25f9=_0x34864b[_0x5e1826(0x1ba)](_0x51f40a[_0x5e1826(0x214)]),_0x4a85a7=_0x8998e8?_0x4d25f9[_0x5e1826(0x1c3)](_0x8998e8,_0x51f40a[_0x5e1826(0x217)][_0x5e1826(0x26a)]):_0x4d25f9[_0x5e1826(0x27a)](_0x51f40a['UniverInstanceType'][_0x5e1826(0x26a)]);return _0x4a85a7?{'commandService':_0x34864b[_0x5e1826(0x1ba)](_0x51f40a['ICommandService']),'model':_0x34864b[_0x5e1826(0x1ba)](_0xe684cf),'previousDocumentData':_0x4a85a7[_0x5e1826(0x256)](),'selectionManager':_0x34864b[_0x5e1826(0x1ba)](_0x37dc7c[_0x5e1826(0x209)]),'unitId':_0x4a85a7['getUnitId']()}:null;}function _0xdd3945(_0x1cee54){const _0x2568fc=_0x26f014;var _0x40524e;return(_0x40524e=_0x1cee54[_0x2568fc(0x1ba)](_0x37dc7c[_0x2568fc(0x209)])['getTextRanges']())==null?void 0x0:_0x40524e[0x0];}function _0x3e0f1d(_0x4f7e20,_0x4d8593){const _0x4d4cdc=_0x26f014;let _0x4e28e4=(_0x4f7e20==null?void 0x0:_0x4f7e20[_0x4d4cdc(0x24a)])??(_0x4d8593==null?void 0x0:_0x4d8593['startOffset']),_0x31b5bf=(_0x4f7e20==null?void 0x0:_0x4f7e20['endOffset'])??(_0x4d8593==null?void 0x0:_0x4d8593['endOffset']);if(_0x4e28e4!=null&&_0x31b5bf!=null)return{'endOffset':Math[_0x4d4cdc(0x237)](_0x4e28e4,_0x31b5bf),'startOffset':Math[_0x4d4cdc(0x25c)](_0x4e28e4,_0x31b5bf)};}function _0x27dc10(_0x248718,_0x1bdac2){const _0x1042bc=_0x26f014;var _0x4e7239;if(!_0x1bdac2)return;let _0x361e9e=_0x42294b(_0x1bdac2);return(_0x4e7239=_0x248718['body'])==null||(_0x4e7239=_0x4e7239[_0x1042bc(0x1c8)])==null?void 0x0:_0x4e7239[_0x1042bc(0x24c)](_0x1444a4=>{const _0x2ebe94=_0x1042bc;let _0x3882b5=(0x0,_0x51f40a[_0x2ebe94(0x24e)])(_0x1444a4);return _0x1bdac2[_0x2ebe94(0x24a)]===_0x1bdac2[_0x2ebe94(0x20b)]?(0x0,_0x51f40a[_0x2ebe94(0x21c)])(_0x3882b5,_0x361e9e):(0x0,_0x51f40a[_0x2ebe94(0x1be)])(_0x3882b5,_0x361e9e);});}function _0x42294b(_0x306377){const _0x1e6068=_0x26f014;return _0x306377[_0x1e6068(0x24a)]===_0x306377[_0x1e6068(0x20b)]?_0x306377[_0x1e6068(0x24a)]:_0x306377[_0x1e6068(0x24a)]+0x1;}function _0x198170(_0x35355b){const _0x294451=_0x26f014;let _0x386c5b=_0xdd3945(_0x35355b);if(!_0x386c5b)return null;let _0x2f30af=_0x35355b[_0x294451(0x1ba)](_0x51f40a['IUniverInstanceService'])[_0x294451(0x27a)](_0x51f40a[_0x294451(0x217)][_0x294451(0x26a)]),_0x115753=_0x2f30af==null?void 0x0:_0x2f30af[_0x294451(0x1e6)]();return _0x115753?_0x51f40a['BuildTextUtils']['range'][_0x294451(0x21f)](_0x386c5b,_0x115753['paragraphs']??[],_0x115753[_0x294451(0x236)]??'')[0x0]??null:null;}function _0x341c2c(_0x28f0ae,_0x25474d){const _0x258832=_0x26f014;let _0x3fe7b0=_0x28f0ae['body'],_0x232347=_0x25474d[_0x258832(0x25f)],_0x415574=(0x0,_0x51f40a[_0x258832(0x1c7)])(_0x3fe7b0,_0x232347);return[_0x415574&&_0x232347?_0xfd9e85(_0x232347,_0x415574):null,_0x415574?null:_0x99e2e2(_0x3fe7b0,_0x232347)]['filter'](Boolean)[_0x258832(0x22d)]((_0x75706c,_0x2cec89)=>_0x51f40a[_0x258832(0x241)][_0x258832(0x224)](_0x75706c,_0x2cec89),null);}function _0xfd9e85(_0x357f76,_0x1eaa1e){const _0x29fc4c=_0x26f014;let _0x38e5b6=new _0x51f40a[(_0x29fc4c(0x219))]();return _0x38e5b6[_0x29fc4c(0x280)](_0x1eaa1e[_0x29fc4c(0x1cf)]),_0x1eaa1e[_0x29fc4c(0x1f0)]>0x0&&_0x38e5b6[_0x29fc4c(0x250)](_0x1eaa1e['insertLength'],(0x0,_0x51f40a[_0x29fc4c(0x1c2)])(_0x357f76,_0x1eaa1e['start'],_0x1eaa1e[_0x29fc4c(0x1cf)]+_0x1eaa1e[_0x29fc4c(0x1f0)],!0x1)),_0x1eaa1e['deleteLength']>0x0&&_0x38e5b6[_0x29fc4c(0x275)](_0x1eaa1e[_0x29fc4c(0x26c)]),_0x51f40a['JSONX']['getInstance']()['editOp'](_0x38e5b6['serialize'](),[_0x29fc4c(0x25f)]);}function _0x99e2e2(_0x1b288e,_0x41dec4){const _0x2dda85=_0x26f014;let _0x573c5b=[],_0x2fe6fa=_0x1b288e?_0x42cfa4(_0x1b288e):void 0x0,_0x51e5e0=_0x41dec4?_0x42cfa4(_0x41dec4):void 0x0;for(let _0x2490f7 of _0x79b846)_0x1c3faf(_0x51f40a[_0x2dda85(0x241)][_0x2dda85(0x26f)](),[_0x2dda85(0x25f),_0x2490f7],_0x2fe6fa==null?void 0x0:_0x2fe6fa[_0x2490f7],_0x51e5e0==null?void 0x0:_0x51e5e0[_0x2490f7],_0x573c5b);return _0x573c5b['reduce']((_0x30009e,_0x207778)=>_0x51f40a[_0x2dda85(0x241)][_0x2dda85(0x224)](_0x30009e,_0x207778),null);}let _0x79b846=[_0x26f014(0x28a),'sectionBreaks','tables',_0x26f014(0x1f9),_0x26f014(0x1c8),'customBlocks',_0x26f014(0x24f),_0x26f014(0x1f1),_0x26f014(0x222)];function _0x42cfa4(_0x57b775){return _0x57b775;}function _0x1c3faf(_0x5d1671,_0x1a58a8,_0x3ad35b,_0x574d7e,_0x59e42e){const _0x4b1ea1=_0x26f014;_0x1493d2(_0x3ad35b,_0x574d7e)||(_0x3ad35b==null?_0x59e42e['push'](_0x5d1671[_0x4b1ea1(0x265)](_0x1a58a8,_0x574d7e)):_0x574d7e==null?_0x59e42e[_0x4b1ea1(0x267)](_0x5d1671[_0x4b1ea1(0x1ef)](_0x1a58a8,_0x3ad35b)):Array[_0x4b1ea1(0x1e5)](_0x3ad35b)&&Array[_0x4b1ea1(0x1e5)](_0x574d7e)?_0x455e98(_0x5d1671,_0x1a58a8,_0x3ad35b,_0x574d7e,_0x59e42e):_0x16dad2(_0x3ad35b)&&_0x16dad2(_0x574d7e)?new Set([...Object['keys'](_0x3ad35b),...Object[_0x4b1ea1(0x271)](_0x574d7e)])['forEach'](_0x22c6c8=>{_0x1c3faf(_0x5d1671,[..._0x1a58a8,_0x22c6c8],_0x3ad35b[_0x22c6c8],_0x574d7e[_0x22c6c8],_0x59e42e);}):_0x59e42e[_0x4b1ea1(0x267)](_0x5d1671[_0x4b1ea1(0x1ce)](_0x1a58a8,_0x3ad35b,_0x574d7e)));}function _0x455e98(_0x5e7aba,_0x46b14b,_0x18f726,_0x2f2388,_0x32d9b7){const _0x7d9e8d=_0x26f014;if(_0x18f726[_0x7d9e8d(0x1bf)]===_0x2f2388[_0x7d9e8d(0x1bf)]){_0x18f726[_0x7d9e8d(0x284)]((_0x3a967a,_0x1af712)=>_0x1c3faf(_0x5e7aba,[..._0x46b14b,_0x1af712],_0x3a967a,_0x2f2388[_0x1af712],_0x32d9b7));return;}let _0x43475d=0x0;for(;_0x43475d<_0x18f726[_0x7d9e8d(0x1bf)]&&_0x43475d<_0x2f2388[_0x7d9e8d(0x1bf)]&&_0x1493d2(_0x18f726[_0x43475d],_0x2f2388[_0x43475d]);)_0x43475d++;let _0x2a2d28=_0x18f726[_0x7d9e8d(0x1bf)]-0x1,_0x59aae4=_0x2f2388[_0x7d9e8d(0x1bf)]-0x1;for(;_0x2a2d28>=_0x43475d&&_0x59aae4>=_0x43475d&&_0x1493d2(_0x18f726[_0x2a2d28],_0x2f2388[_0x59aae4]);)_0x2a2d28--,_0x59aae4--;for(let _0x38ca93=_0x2a2d28;_0x38ca93>=_0x43475d;_0x38ca93--)_0x32d9b7['push'](_0x5e7aba[_0x7d9e8d(0x1ef)]([..._0x46b14b,_0x38ca93],_0x18f726[_0x38ca93]));for(let _0xd9edcf=_0x43475d;_0xd9edcf<=_0x59aae4;_0xd9edcf++)_0x32d9b7[_0x7d9e8d(0x267)](_0x5e7aba[_0x7d9e8d(0x265)]([..._0x46b14b,_0xd9edcf],_0x2f2388[_0xd9edcf]));}function _0x16dad2(_0x2b67aa){const _0x3c517c=_0x26f014;return typeof _0x2b67aa==_0x3c517c(0x232)&&!!_0x2b67aa&&!Array[_0x3c517c(0x1e5)](_0x2b67aa);}function _0x1493d2(_0x5c6a76,_0x291f7b){const _0x344c1a=_0x26f014;return JSON['stringify'](_0x5c6a76)===JSON[_0x344c1a(0x270)](_0x291f7b);}function _0x56109d(_0x525789,_0x2c82c0,_0x221f88,_0x225d68,_0x1e5cef,_0x30c4f5,_0x1796e2){const _0x4e25fc=_0x26f014;let _0x404471=_0x341c2c(_0x225d68,_0x1e5cef);return _0x404471?!!_0x525789[_0x4e25fc(0x254)](_0x37dc7c[_0x4e25fc(0x1f3)]['id'],{'unitId':_0x221f88,'actions':_0x404471,'textRanges':[{'startOffset':_0x1796e2,'endOffset':_0x1796e2,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x30c4f5}):(_0x2c82c0['replaceDocRanges']([{'startOffset':_0x1796e2,'endOffset':_0x1796e2}],{'unitId':_0x221f88,'subUnitId':_0x221f88},!0x1),!0x0);}let _0x3287ad=_0x26f014(0x1e9);var _0x517401='@univerjs-pro/docs-code',_0x8c3c6=_0x26f014(0x1fb);let _0x518f96={};function _0x338acc(_0x3950ab,_0x458702){return function(_0x26aa91,_0x3ba7cd){_0x458702(_0x26aa91,_0x3ba7cd,_0x3950ab);};}function _0x1c05d1(_0x30d47b,_0x12165e,_0xbdb779,_0x23f309){const _0x28d40e=_0x26f014;var _0x4e49b3=arguments[_0x28d40e(0x1bf)],_0x467331=_0x4e49b3<0x3?_0x12165e:_0x23f309===null?_0x23f309=Object[_0x28d40e(0x1fc)](_0x12165e,_0xbdb779):_0x23f309,_0x10e3ac;if(typeof Reflect==_0x28d40e(0x232)&&typeof Reflect[_0x28d40e(0x28e)]==_0x28d40e(0x1d7))_0x467331=Reflect['decorate'](_0x30d47b,_0x12165e,_0xbdb779,_0x23f309);else{for(var _0x4c28da=_0x30d47b['length']-0x1;_0x4c28da>=0x0;_0x4c28da--)(_0x10e3ac=_0x30d47b[_0x4c28da])&&(_0x467331=(_0x4e49b3<0x3?_0x10e3ac(_0x467331):_0x4e49b3>0x3?_0x10e3ac(_0x12165e,_0xbdb779,_0x467331):_0x10e3ac(_0x12165e,_0xbdb779))||_0x467331);}return _0x4e49b3>0x3&&_0x467331&&Object['defineProperty'](_0x12165e,_0xbdb779,_0x467331),_0x467331;}let _0x6a0073=class extends _0x51f40a[_0x26f014(0x1bb)]{constructor(_0x455a56,_0x217d33){const _0x4361c6=_0x26f014;super(),this['_resourceManagerService']=_0x455a56,this[_0x4361c6(0x234)]=_0x217d33,this[_0x4361c6(0x1ff)]();}[_0x26f014(0x1ff)](){const _0x553cf6=_0x26f014;this[_0x553cf6(0x225)](this['_resourceManagerService'][_0x553cf6(0x208)]({'pluginName':_0x3287ad,'businesses':[_0x51f40a['UniverInstanceType'][_0x553cf6(0x26a)]],'toJson':_0xeea321=>JSON[_0x553cf6(0x270)](this[_0x553cf6(0x234)][_0x553cf6(0x1d4)](_0xeea321)),'parseJson':_0x4a5bd4=>_0x2f600a(JSON[_0x553cf6(0x240)](_0x4a5bd4)),'onLoad':(_0x1a2f8c,_0x3f7e72)=>this['_docsCodeModel'][_0x553cf6(0x282)](_0x1a2f8c,_0x3f7e72),'onUnLoad':_0x2f6b10=>this[_0x553cf6(0x234)][_0x553cf6(0x272)](_0x2f6b10)}));}};_0x6a0073=_0x1c05d1([_0x338acc(0x0,_0x51f40a[_0x26f014(0x1c6)]),_0x338acc(0x1,(0x0,_0x51f40a['Inject'])(_0xe684cf))],_0x6a0073);let _0x5b5803=class extends _0x51f40a['Plugin']{constructor(_0x3308e1=_0x518f96,_0x1beec0,_0x2632ac,_0x33a086){const _0x1efef6=_0x26f014;super(),this[_0x1efef6(0x1de)]=_0x3308e1,this[_0x1efef6(0x28b)]=_0x1beec0,this[_0x1efef6(0x233)]=_0x2632ac,this[_0x1efef6(0x1f4)]=_0x33a086;let {..._0x415053}=(0x0,_0x51f40a[_0x1efef6(0x1cd)])({},_0x518f96,this['_config']);this[_0x1efef6(0x1f4)][_0x1efef6(0x283)](_0x1efef6(0x258),_0x415053);}[_0x26f014(0x22a)](){const _0x3b608d=_0x26f014;this[_0x3b608d(0x28b)][_0x3b608d(0x229)]([_0xe684cf]),this[_0x3b608d(0x28b)][_0x3b608d(0x229)]([_0x6a0073]),this[_0x3b608d(0x28b)]['get'](_0xe684cf),this[_0x3b608d(0x28b)][_0x3b608d(0x1ba)](_0x6a0073),[_0x200d21,_0x2321d9,_0x5a2ca6,_0x4bb1f1,_0x433d43,_0xb006ff,_0x11dd0e,_0x48085e,_0x108323,_0x382644][_0x3b608d(0x284)](_0x33865c=>this[_0x3b608d(0x225)](this[_0x3b608d(0x233)][_0x3b608d(0x1e7)](_0x33865c)));}};_0x1a8d22(_0x5b5803,_0x26f014(0x22c),_0x3287ad),_0x1a8d22(_0x5b5803,'packageName',_0x517401),_0x1a8d22(_0x5b5803,'version',_0x8c3c6),_0x1a8d22(_0x5b5803,_0x26f014(0x23f),_0x51f40a[_0x26f014(0x217)][_0x26f014(0x26a)]),_0x5b5803=_0x1c05d1([(0x0,_0x51f40a[_0x26f014(0x204)])(_0x2b5531['UniverLicensePlugin'],_0x37dc7c[_0x26f014(0x1f7)]),_0x338acc(0x1,(0x0,_0x51f40a[_0x26f014(0x20e)])(_0x51f40a[_0x26f014(0x1dc)])),_0x338acc(0x2,_0x51f40a[_0x26f014(0x277)]),_0x338acc(0x3,_0x51f40a[_0x26f014(0x1cc)])],_0x5b5803),_0x1a9308[_0x26f014(0x28d)]=_0x3287ad,_0x1a9308['DocsCodeCancelEmptyParagraphCommand']=_0x11dd0e,_0x1a9308['DocsCodeConsumeBoundaryDeleteCommand']=_0x48085e,_0x1a9308['DocsCodeInsertBelowCommand']=_0x2321d9,_0x1a9308[_0x26f014(0x269)]=_0x200d21,_0x1a9308['DocsCodeModel']=_0xe684cf,_0x1a9308[_0x26f014(0x26b)]=_0x433d43,_0x1a9308[_0x26f014(0x1eb)]=_0x4bb1f1,_0x1a9308[_0x26f014(0x276)]=_0x5a2ca6,_0x1a9308[_0x26f014(0x23a)]=_0x382644,_0x1a9308[_0x26f014(0x1ec)]=_0x108323,Object['defineProperty'](_0x1a9308,_0x26f014(0x23d),{'enumerable':!0x0,'get':function(){return _0x5b5803;}}),_0x1a9308[_0x26f014(0x26e)]=_0x24113b,_0x1a9308[_0x26f014(0x273)]=_0x455cae,_0x1a9308[_0x26f014(0x230)]=_0x294785,_0x1a9308[_0x26f014(0x25e)]=_0x2f600a;}));
|
|
1
|
+
function _0x1e29(_0x5aa66e,_0x3422d9){_0x5aa66e=_0x5aa66e-0x84;const _0xf6f76f=_0xf6f7();let _0x1e29bb=_0xf6f76f[_0x5aa66e];return _0x1e29bb;}(function(_0x235e2a,_0x1eaa45){const _0x32ac00=_0x1e29,_0x3c39a9=_0x235e2a();while(!![]){try{const _0x5c5e3f=parseInt(_0x32ac00(0xb2))/0x1*(-parseInt(_0x32ac00(0x153))/0x2)+parseInt(_0x32ac00(0x110))/0x3*(-parseInt(_0x32ac00(0xb4))/0x4)+parseInt(_0x32ac00(0xa5))/0x5+-parseInt(_0x32ac00(0x149))/0x6*(parseInt(_0x32ac00(0xd7))/0x7)+parseInt(_0x32ac00(0xe6))/0x8+-parseInt(_0x32ac00(0xd6))/0x9*(-parseInt(_0x32ac00(0xbc))/0xa)+parseInt(_0x32ac00(0x12a))/0xb;if(_0x5c5e3f===_0x1eaa45)break;else _0x3c39a9['push'](_0x3c39a9['shift']());}catch(_0x1e0181){_0x3c39a9['push'](_0x3c39a9['shift']());}}}(_0xf6f7,0x90560),function(_0x4a43f6,_0x3d1755){const _0x577aef=_0x1e29;typeof exports=='object'&&typeof module<'u'?_0x3d1755(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x577aef(0xdb)&&define[_0x577aef(0x12b)]?define([_0x577aef(0xf2),'@univerjs/core',_0x577aef(0x11e),_0x577aef(0x121),_0x577aef(0xe0)],_0x3d1755):(_0x4a43f6=typeof globalThis<'u'?globalThis:_0x4a43f6||self,_0x3d1755(_0x4a43f6[_0x577aef(0x14e)]={},_0x4a43f6[_0x577aef(0xb1)],_0x4a43f6['rxjs'],_0x4a43f6[_0x577aef(0x159)],_0x4a43f6[_0x577aef(0x145)]));}(this,function(_0x5e1d62,_0x577be9,_0x22f865,_0x31b33e,_0x352e5e){const _0x38b268=_0x1e29;Object[_0x38b268(0xec)](_0x5e1d62,Symbol[_0x38b268(0x11c)],{'value':'Module'});let _0xa220d9={'language':_0x38b268(0x15e),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x5da2fa(_0x228bbb){return{..._0xa220d9,..._0x228bbb};}function _0x590e98(_0x13fc82){const _0x4174d6=_0x38b268;let _0x375188=(_0x13fc82==null?void 0x0:_0x13fc82[_0x4174d6(0x88)])??{};return{'codes':Object[_0x4174d6(0x116)](Object['entries'](_0x375188)['map'](([_0xf20c4d,_0x3c535b])=>[_0xf20c4d,_0x5da2fa(_0x3c535b)]))};}function _0x22a6ea(_0x39eee6,_0x3e3b89,_0x2f42cc){const _0x1e423b=_0x38b268;let _0x53f7d7=_0x590e98(_0x39eee6);return _0x53f7d7[_0x1e423b(0x88)][_0x3e3b89]=_0x5da2fa({..._0x53f7d7[_0x1e423b(0x88)][_0x3e3b89],..._0x2f42cc}),_0x53f7d7;}function _0x3d2d8e(_0x4d907e,_0x4e6e0e){const _0x3dfeed=_0x38b268;let _0x35f694=_0x590e98(_0x4d907e);return delete _0x35f694[_0x3dfeed(0x88)][_0x4e6e0e],_0x35f694;}function _0x11a924(_0xdc5ff){'@babel/helpers - typeof';return _0x11a924=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x1027a1){return typeof _0x1027a1;}:function(_0x4d3cc5){const _0x4e9db6=_0x1e29;return _0x4d3cc5&&typeof Symbol==_0x4e9db6(0xdb)&&_0x4d3cc5[_0x4e9db6(0x147)]===Symbol&&_0x4d3cc5!==Symbol[_0x4e9db6(0xac)]?_0x4e9db6(0xb6):typeof _0x4d3cc5;},_0x11a924(_0xdc5ff);}function _0x567b57(_0x9c0772,_0x2a8927){const _0x438066=_0x38b268;if(_0x11a924(_0x9c0772)!='object'||!_0x9c0772)return _0x9c0772;var _0x4fb421;if(typeof Symbol<'u'&&(_0x4fb421=_0x9c0772[Symbol['toPrimitive']])!==void 0x0){var _0x42434e=_0x4fb421['call'](_0x9c0772,_0x2a8927||_0x438066(0x15f));if(_0x11a924(_0x42434e)!=_0x438066(0x117))return _0x42434e;throw TypeError(_0x438066(0x137));}return(_0x2a8927==='string'?String:Number)(_0x9c0772);}function _0x1a8a22(_0x4ef239){const _0x513222=_0x38b268;var _0x5720bd=_0x567b57(_0x4ef239,_0x513222(0x148));return _0x11a924(_0x5720bd)==_0x513222(0xb6)?_0x5720bd:_0x5720bd+'';}function _0x188821(_0x27fc05,_0x1d3a16,_0x2709e6){return(_0x1d3a16=_0x1a8a22(_0x1d3a16))in _0x27fc05?Object['defineProperty'](_0x27fc05,_0x1d3a16,{'value':_0x2709e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27fc05[_0x1d3a16]=_0x2709e6,_0x27fc05;}var _0x14cdd9=class extends _0x577be9[_0x38b268(0x10b)]{constructor(..._0xf6d847){const _0x130b98=_0x38b268;super(..._0xf6d847),_0x188821(this,'_resources',new Map()),_0x188821(this,_0x130b98(0xcf),new _0x22f865[(_0x130b98(0x8a))]()),_0x188821(this,_0x130b98(0xa4),this[_0x130b98(0xcf)][_0x130b98(0xc0)]());}[_0x38b268(0x143)](_0x1978a1,_0x11ed7a){const _0x11f0ff=_0x38b268;return _0x590e98(this[_0x11f0ff(0x144)][_0x11f0ff(0xd8)](_0x1978a1))[_0x11f0ff(0x88)][_0x11ed7a];}[_0x38b268(0xc5)](_0x3a5372,_0xaf9ff3,_0x3bd996){const _0x5a2c37=_0x38b268;this[_0x5a2c37(0xf3)](_0x3a5372,_0xaf9ff3,_0x22a6ea(this[_0x5a2c37(0x144)]['get'](_0x3a5372),_0xaf9ff3,_0x3bd996));}[_0x38b268(0x141)](_0x6208ee,_0x370ad7){const _0x1402f9=_0x38b268;this[_0x1402f9(0xf3)](_0x6208ee,_0x370ad7,_0x3d2d8e(this[_0x1402f9(0x144)]['get'](_0x6208ee),_0x370ad7));}[_0x38b268(0xc3)](_0x1eef8e){const _0x17680c=_0x38b268;return _0x590e98(this[_0x17680c(0x144)][_0x17680c(0xd8)](_0x1eef8e));}[_0x38b268(0xbb)](_0xd4bc7,_0x26f5d2){const _0x321d79=_0x38b268;this[_0x321d79(0x144)]['set'](_0xd4bc7,_0x590e98(_0x26f5d2)),this[_0x321d79(0xcf)][_0x321d79(0xad)]({'unitId':_0xd4bc7});}[_0x38b268(0xc4)](_0x46244c){const _0x262860=_0x38b268;this['_resources'][_0x262860(0x96)](_0x46244c),this['_change$'][_0x262860(0xad)]({'unitId':_0x46244c});}[_0x38b268(0x164)](){const _0x10c9c6=_0x38b268;super['dispose'](),this['_resources'][_0x10c9c6(0xe2)](),this[_0x10c9c6(0xcf)][_0x10c9c6(0xce)]();}[_0x38b268(0xf3)](_0x10c75a,_0x23a53c,_0x4326c6){const _0x4dcf69=_0x38b268;this[_0x4dcf69(0x144)][_0x4dcf69(0x154)](_0x10c75a,_0x4326c6),this[_0x4dcf69(0xcf)][_0x4dcf69(0xad)]({'unitId':_0x10c75a,'blockId':_0x23a53c});}};let _0x2063a6={'id':'docs-code.mutation.set-config','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x128)],'handler':(_0x5b22fb,_0x200d8a)=>!(_0x200d8a!=null&&_0x200d8a['unitId'])||!_0x200d8a[_0x38b268(0xe3)]?!0x1:(_0x5b22fb['get'](_0x14cdd9)[_0x38b268(0xc5)](_0x200d8a[_0x38b268(0xfc)],_0x200d8a[_0x38b268(0xe3)],_0x200d8a[_0x38b268(0x140)]),!0x0)},_0x3df94c={'id':_0x38b268(0x126),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x128)],'handler':(_0x56e119,_0x4f85fb)=>!(_0x4f85fb!=null&&_0x4f85fb['unitId'])||!_0x4f85fb[_0x38b268(0xe3)]?!0x1:(_0x56e119[_0x38b268(0xd8)](_0x14cdd9)[_0x38b268(0x141)](_0x4f85fb[_0x38b268(0xfc)],_0x4f85fb[_0x38b268(0xe3)]),!0x0)},_0x4d2949=_0x38b268(0x151);var _0x1de79e=class extends Error{constructor(_0x30d326=_0x38b268(0x157)){super(_0x30d326);}};function _0x3ca3f5(_0x1e3d89){const _0x48c866=_0x38b268;var _0x3a1ce1;let _0x2434b2=_0x1a5cb3(_0x1e3d89[_0x48c866(0x9d)]),_0x268aa5=_0x45225e(_0x2434b2),_0x2f35f1=_0x3c366d(_0x1e3d89['startOffset'],_0x1e3d89[_0x48c866(0xf4)]),_0x48d955=_0x2f35f1?(_0x3a1ce1=_0x268aa5[_0x48c866(0xb9)])==null?void 0x0:_0x3a1ce1[_0x48c866(0xdc)](_0x4721bd=>{const _0xe385ef=_0x48c866;let _0x33b736=(0x0,_0x577be9[_0xe385ef(0xef)])(_0x4721bd);return _0x33b736[_0xe385ef(0x156)]===_0x2f35f1[_0xe385ef(0x156)]&&_0x33b736[_0xe385ef(0xf4)]===_0x2f35f1[_0xe385ef(0xf4)];}):void 0x0,{startOffset:_0x203d75,endOffset:_0x2279c7}=_0x48d955?_0x2f35f1:_0x21cb83(_0x268aa5,_0x1e3d89[_0x48c866(0x156)],_0x1e3d89['endOffset'],_0x1e3d89[_0x48c866(0x9f)]);if(!_0x48d955&&_0x1d9f05(_0x268aa5,_0x203d75,_0x2279c7))throw new _0x1de79e(_0x48c866(0xb3));let _0x38a2e8=_0x525f52(_0x268aa5,_0x203d75,_0x2279c7),_0x31dad2=(_0x48d955==null?void 0x0:_0x48d955[_0x48c866(0xe3)])??_0x1e3d89[_0x48c866(0xe3)],_0x50112a=_0x22a6ea(_0x1e3d89[_0x48c866(0x86)],_0x31dad2,{..._0xa220d9,..._0x1e3d89[_0x48c866(0x140)]});if(_0x48d955)return _0x48d955[_0x48c866(0xe4)]=_0x577be9[_0x48c866(0x130)][_0x48c866(0xf1)],_0x567a5f(_0x268aa5,_0x203d75,_0x2279c7),_0x14e67f(_0x268aa5,_0x203d75,_0x2279c7,_0x38a2e8),_0x32bb95(_0x268aa5,_0x48d955),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};if(_0x203d75===_0x2279c7){var _0x5984bc,_0x5843ec;let _0xa29535=''+_0x577be9['DataStreamTreeTokenType'][_0x48c866(0x109)]+_0x577be9[_0x48c866(0xc2)]['PARAGRAPH']+_0x577be9['DataStreamTreeTokenType'][_0x48c866(0xed)];_0x226a1f(_0x268aa5,_0x203d75,_0xa29535,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x577be9['createParagraphId'])(new Set((_0x5984bc=_0x268aa5[_0x48c866(0xae)])==null?void 0x0:_0x5984bc[_0x48c866(0x14a)](_0x45bb92=>_0x45bb92[_0x48c866(0xbe)]))),'paragraphStyle':_0x5b7847(!0x0,!0x0,_0x38a2e8)}],'blockRanges':[{'blockId':_0x31dad2,'blockType':_0x577be9[_0x48c866(0x130)]['CODE'],'startIndex':0x0,'endIndex':_0xa29535[_0x48c866(0xc6)]-0x1}]});let _0x50c2fe=(_0x5843ec=_0x268aa5['blockRanges'])==null?void 0x0:_0x5843ec['find'](_0x4fac8a=>_0x4fac8a[_0x48c866(0xe3)]===_0x31dad2);return _0x50c2fe&&_0x32bb95(_0x268aa5,_0x50c2fe),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};}_0x226a1f(_0x268aa5,_0x2279c7,_0x577be9[_0x48c866(0xc2)]['BLOCK_END']),_0x226a1f(_0x268aa5,_0x203d75,_0x577be9[_0x48c866(0xc2)]['BLOCK_START']),_0x14e67f(_0x268aa5,_0x203d75,_0x2279c7+0x1,_0x38a2e8);let _0x35eeb4={'blockId':_0x31dad2,'blockType':_0x577be9['DocumentBlockRangeType']['CODE'],'startIndex':_0x203d75,'endIndex':_0x2279c7+0x1};return _0x268aa5[_0x48c866(0xb9)]=[..._0x268aa5[_0x48c866(0xb9)]??[],_0x35eeb4][_0x48c866(0x14b)]((_0x24f9a8,_0x3cbfd1)=>_0x24f9a8[_0x48c866(0xd0)]-_0x3cbfd1[_0x48c866(0xd0)]),_0x32bb95(_0x268aa5,_0x35eeb4),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};}function _0x567a5f(_0x2e2587,_0x1028a2,_0x3239d1){const _0x3ca424=_0x38b268;(_0x2e2587[_0x3ca424(0xae)]??[])[_0x3ca424(0xff)](_0x321e34=>_0x321e34['startIndex']>_0x1028a2&&_0x321e34[_0x3ca424(0xd0)]<_0x3239d1)[_0x3ca424(0x160)](_0x3e6b27=>{const _0x24319f=_0x3ca424;let _0xbf4d9f={..._0x3e6b27[_0x24319f(0x13b)]??{}};delete _0xbf4d9f[_0x24319f(0x8e)],delete _0xbf4d9f[_0x24319f(0x115)],_0x3e6b27[_0x24319f(0x13b)]=_0xbf4d9f;});}function _0x3c366d(_0x35e7bb,_0x556d1e){const _0x364bb2=_0x38b268;return _0x35e7bb==null||_0x556d1e==null||_0x35e7bb===_0x556d1e?null:{'startOffset':Math[_0x364bb2(0xcd)](_0x35e7bb,_0x556d1e),'endOffset':Math[_0x364bb2(0x10f)](_0x35e7bb,_0x556d1e)};}function _0x1d9f05(_0x18af1e,_0x4b0731,_0xb3575){const _0x53afcd=_0x38b268;return(_0x18af1e[_0x53afcd(0xb9)]??[])[_0x53afcd(0x8f)](_0x2b98f2=>{const _0x31989b=_0x53afcd;let _0x5a1725=(0x0,_0x577be9['getBlockRangeInterval'])(_0x2b98f2);return _0x4b0731===_0xb3575?(0x0,_0x577be9[_0x31989b(0xfd)])(_0x5a1725,_0x4b0731):(0x0,_0x577be9[_0x31989b(0xa7)])(_0x5a1725,{'startOffset':_0x4b0731,'endOffset':_0xb3575});});}function _0x5b4eae(_0x2420d2){const _0x4ac1cb=_0x38b268;return{'nextDocumentData':_0x1a5cb3(_0x2420d2['documentData']),'nextMetadata':_0x22a6ea(_0x2420d2[_0x4ac1cb(0x86)],_0x2420d2['blockId'],_0x2420d2[_0x4ac1cb(0x140)]),'cursorOffset':0x0};}function _0x10f0e4(_0x298418){const _0x339231=_0x38b268;let _0x65263d=_0x1a5cb3(_0x298418[_0x339231(0x9d)]),_0x5edc25=_0x45225e(_0x65263d),_0x58ca18=_0x7eee8a(_0x5edc25,_0x298418[_0x339231(0xe3)]);if(!_0x58ca18)return null;let _0x5917bf=_0x547491(_0x5edc25,_0x58ca18);return{'nextDocumentData':_0x65263d,'nextMetadata':_0x3d2d8e(_0x298418[_0x339231(0x86)],_0x298418[_0x339231(0xe3)]),'cursorOffset':_0x5917bf};}function _0x1ef531(_0x34656e){const _0x551d50=_0x38b268;var _0x2efd9d;let _0x2968a0=_0x1a5cb3(_0x34656e[_0x551d50(0x9d)]),_0x31f695=_0x45225e(_0x2968a0),_0x4dee00=_0x7eee8a(_0x31f695,_0x34656e[_0x551d50(0xe3)]);if(!_0x4dee00)return null;let _0x23c2da=(0x0,_0x577be9[_0x551d50(0xef)])(_0x4dee00);return _0x23c4b9(_0x31f695,_0x23c2da[_0x551d50(0x156)],_0x23c2da[_0x551d50(0xf4)]),_0x31f695[_0x551d50(0xb9)]=(_0x2efd9d=_0x31f695['blockRanges'])==null?void 0x0:_0x2efd9d[_0x551d50(0xff)](_0x344c7b=>_0x344c7b[_0x551d50(0xe3)]!==_0x34656e[_0x551d50(0xe3)]),{'nextDocumentData':_0x2968a0,'nextMetadata':_0x3d2d8e(_0x34656e[_0x551d50(0x86)],_0x34656e[_0x551d50(0xe3)]),'cursorOffset':_0x4dee00[_0x551d50(0xd0)]};}function _0x27c5ff(_0x1804ca){const _0x181edd=_0x38b268;let _0x1c4704=_0x1a5cb3(_0x1804ca['documentData']),_0x2c690f=_0x45225e(_0x1c4704),_0x5ad804=_0x658b95(_0x2c690f,_0x1804ca[_0x181edd(0xaa)]);return _0x5ad804&&_0x53b158(_0x1c4704,_0x2c690f,_0x5ad804,_0x1804ca[_0x181edd(0xaa)],_0x1804ca[_0x181edd(0x104)])||null;}function _0x53b158(_0x21c03a,_0x4e08b2,_0x515be7,_0x36e21a,_0x4ecfe6){const _0x4a2616=_0x38b268;let _0x1aa3f2=_0x217a3f(_0x4e08b2,_0x515be7,_0x36e21a,_0x4ecfe6);if(!_0x1aa3f2)return null;let _0xeaea0a=_0x1aa3f2['endTokenOffset']-0x1;return _0x23c4b9(_0x4e08b2,_0x1aa3f2[_0x4a2616(0xa1)][_0x4a2616(0xd0)],_0x1aa3f2[_0x4a2616(0xa1)][_0x4a2616(0xd0)]+0x1),{'nextDocumentData':_0x21c03a,'cursorOffset':_0xeaea0a};}function _0x7eee8a(_0x43c26f,_0x83869f){const _0x31bba8=_0x38b268;var _0x2684ea;return _0x43c26f==null||(_0x2684ea=_0x43c26f[_0x31bba8(0xb9)])==null?void 0x0:_0x2684ea[_0x31bba8(0xdc)](_0x573b20=>_0x573b20[_0x31bba8(0xe4)]===_0x577be9[_0x31bba8(0x130)]['CODE']&&_0x573b20[_0x31bba8(0xe3)]===_0x83869f);}function _0x553e08(_0x113e63){const _0x372d04=_0x38b268;let _0x62eca5=_0x113e63[_0x372d04(0x9d)][_0x372d04(0xc8)];if(!_0x62eca5)return!0x1;let _0x4091d7=_0x113e63['direction']===_0x372d04(0xa3)?_0x113e63[_0x372d04(0xaa)]-0x1:_0x113e63[_0x372d04(0xaa)],_0x474e25=_0x113e63[_0x372d04(0xda)]===_0x372d04(0x84)?_0x113e63[_0x372d04(0xaa)]+0x1:_0x4091d7;return(_0x62eca5[_0x372d04(0xb9)]??[])[_0x372d04(0x8f)](_0x2b4921=>_0x2b4921['blockType']===_0x577be9[_0x372d04(0x130)][_0x372d04(0xf1)]?_0x4091d7===_0x2b4921['startIndex']||_0x4091d7===_0x2b4921[_0x372d04(0xf7)]||_0x474e25===_0x2b4921['startIndex']||_0x474e25===_0x2b4921['endIndex']:!0x1);}function _0x658b95(_0x118404,_0x3c1e43){const _0x4f0dfe=_0x38b268;var _0x50dd29;return(_0x50dd29=_0x118404[_0x4f0dfe(0xb9)])==null?void 0x0:_0x50dd29[_0x4f0dfe(0xdc)](_0x5899a9=>{const _0x3ac19d=_0x4f0dfe;let _0xb200e3=_0x140133(_0x5899a9);return _0x5899a9[_0x3ac19d(0xe4)]===_0x577be9[_0x3ac19d(0x130)]['CODE']&&_0x5899a9[_0x3ac19d(0xd0)]<=_0x3c1e43&&_0x3c1e43<=_0xb200e3+0x2;});}function _0x5b7847(_0x3015dd,_0x471528,_0x1da51b=!0x1){const _0x31752b=_0x38b268;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x577be9[_0x31752b(0x90)]['TRUE'],'keepNext':_0x471528?_0x577be9['BooleanNumber'][_0x31752b(0x129)]:_0x577be9[_0x31752b(0x90)][_0x31752b(0xf8)],'widowControl':_0x577be9[_0x31752b(0x90)][_0x31752b(0xf8)],..._0x3015dd&&_0x1da51b?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x4d2949,'fs':0xc}};}function _0x14e67f(_0x127602,_0x44b468,_0x2ef5fc,_0x57427a=!0x1){const _0x32ff53=_0x38b268;let _0xb058ab=(_0x127602[_0x32ff53(0xae)]??[])['filter'](_0x45c55b=>_0x45c55b[_0x32ff53(0xd0)]>_0x44b468&&_0x45c55b[_0x32ff53(0xd0)]<_0x2ef5fc);_0xb058ab[_0x32ff53(0x160)]((_0x465c20,_0x11d2ce)=>{const _0x585909=_0x32ff53;_0x465c20['paragraphStyle']={..._0x465c20[_0x585909(0x13b)]??{},..._0x5b7847(_0x11d2ce===0x0,_0x11d2ce===_0xb058ab[_0x585909(0xc6)]-0x1,_0x57427a)};});}function _0x4a2e68(_0x23c5cd){const _0x33c8e1=_0x38b268;var _0x2620e2,_0xed9a91;let _0x321c9a={..._0x23c5cd??{}};return delete _0x321c9a[_0x33c8e1(0x15c)],delete _0x321c9a['indentStart'],delete _0x321c9a[_0x33c8e1(0x8e)],delete _0x321c9a['spaceBelow'],delete _0x321c9a[_0x33c8e1(0x15d)],delete _0x321c9a[_0x33c8e1(0x139)],delete _0x321c9a[_0x33c8e1(0x13e)],((_0x2620e2=_0x321c9a[_0x33c8e1(0xf0)])==null?void 0x0:_0x2620e2['ff'])===_0x4d2949&&((_0xed9a91=_0x321c9a[_0x33c8e1(0xf0)])==null?void 0x0:_0xed9a91['fs'])===0xc&&delete _0x321c9a[_0x33c8e1(0xf0)],_0x321c9a;}function _0x24a3fa(_0x2a4d8d,_0x308da7){const _0xfec9e8=_0x38b268;let _0x495ba8=_0x140133(_0x308da7);return(_0x2a4d8d['paragraphs']??[])[_0xfec9e8(0xff)](_0x36934e=>_0x36934e[_0xfec9e8(0xd0)]>_0x308da7['startIndex']&&_0x36934e[_0xfec9e8(0xd0)]<_0x495ba8);}function _0x547491(_0x2e10fc,_0x27cd53){const _0x4c3462=_0x38b268;var _0x3bfa61;let _0x4fa893=_0x140133(_0x27cd53);return _0x24a3fa(_0x2e10fc,_0x27cd53)[_0x4c3462(0x160)](_0x28272f=>{const _0x44a71a=_0x4c3462;_0x28272f[_0x44a71a(0x13b)]=_0x4a2e68(_0x28272f[_0x44a71a(0x13b)]);}),_0x23c4b9(_0x2e10fc,_0x4fa893,_0x4fa893+0x1),_0x23c4b9(_0x2e10fc,_0x27cd53[_0x4c3462(0xd0)],_0x27cd53[_0x4c3462(0xd0)]+0x1),_0x2e10fc[_0x4c3462(0xb9)]=(_0x3bfa61=_0x2e10fc[_0x4c3462(0xb9)])==null?void 0x0:_0x3bfa61[_0x4c3462(0xff)](_0x503247=>_0x503247[_0x4c3462(0xe3)]!==_0x27cd53[_0x4c3462(0xe3)]),_0x27cd53[_0x4c3462(0xd0)];}function _0x1a5cb3(_0x5d895f){const _0x4e9400=_0x38b268;return{..._0x5d895f,'body':_0x5d895f[_0x4e9400(0xc8)]?_0x165c59(_0x5d895f[_0x4e9400(0xc8)]):_0x5d895f['body']};}function _0x165c59(_0x52513f){const _0x518bc0=_0x38b268;var _0x293c25,_0x25fe85,_0x4bc6ed,_0xcc9292,_0x4d10d8,_0x1b8a8b,_0x256f2b,_0x516778,_0x29f49d;return{..._0x52513f,'paragraphs':(_0x293c25=_0x52513f['paragraphs'])==null?void 0x0:_0x293c25[_0x518bc0(0x14a)](_0x49bf52=>({..._0x49bf52,'bullet':_0x39be0a(_0x49bf52[_0x518bc0(0x13d)]),'paragraphStyle':_0x39be0a(_0x49bf52[_0x518bc0(0x13b)])})),'sectionBreaks':(_0x25fe85=_0x52513f[_0x518bc0(0xca)])==null?void 0x0:_0x25fe85[_0x518bc0(0x14a)](_0x5ac2e5=>({..._0x5ac2e5})),'textRuns':(_0x4bc6ed=_0x52513f[_0x518bc0(0x10e)])==null?void 0x0:_0x4bc6ed['map'](_0x562615=>({..._0x562615})),'tables':(_0xcc9292=_0x52513f[_0x518bc0(0x11d)])==null?void 0x0:_0xcc9292[_0x518bc0(0x14a)](_0x569d94=>({..._0x569d94})),'columnGroups':(_0x4d10d8=_0x52513f[_0x518bc0(0x102)])==null?void 0x0:_0x4d10d8[_0x518bc0(0x14a)](_0xc5fca5=>{const _0x39cc18=_0x518bc0;var _0x14a06b;return{..._0xc5fca5,'columns':(_0x14a06b=_0xc5fca5[_0x39cc18(0x10c)])==null?void 0x0:_0x14a06b[_0x39cc18(0x14a)](_0x545ce1=>_0x39be0a(_0x545ce1))};}),'blockRanges':(_0x1b8a8b=_0x52513f[_0x518bc0(0xb9)])==null?void 0x0:_0x1b8a8b[_0x518bc0(0x14a)](_0x2024ab=>({..._0x2024ab})),'customRanges':(_0x256f2b=_0x52513f[_0x518bc0(0xb0)])==null?void 0x0:_0x256f2b[_0x518bc0(0x14a)](_0x3cf363=>({..._0x3cf363})),'customDecorations':(_0x516778=_0x52513f['customDecorations'])==null?void 0x0:_0x516778[_0x518bc0(0x14a)](_0x2c6aca=>({..._0x2c6aca})),'customBlocks':(_0x29f49d=_0x52513f[_0x518bc0(0x120)])==null?void 0x0:_0x29f49d[_0x518bc0(0x14a)](_0x106160=>({..._0x106160}))};}function _0x39be0a(_0x4652bd){const _0x39fc7f=_0x38b268;return Array[_0x39fc7f(0x11b)](_0x4652bd)?_0x4652bd['map'](_0x18b797=>_0x39be0a(_0x18b797)):!_0x4652bd||typeof _0x4652bd!='object'?_0x4652bd:Object[_0x39fc7f(0x116)](Object[_0x39fc7f(0xc7)](_0x4652bd)[_0x39fc7f(0x14a)](([_0xf02c88,_0x302ded])=>[_0xf02c88,_0x39be0a(_0x302ded)]));}function _0x45225e(_0x9aa8ba){const _0x3e0c8b=_0x38b268;if(!_0x9aa8ba[_0x3e0c8b(0xc8)])throw Error(_0x3e0c8b(0xeb));return _0x9aa8ba[_0x3e0c8b(0xc8)];}function _0x21cb83(_0x492f37,_0x48a3b3,_0x267a48,_0x1b8126=_0x38b268(0x97)){const _0x190a6c=_0x38b268;if(_0x48a3b3==null||_0x267a48==null){let _0x224bb3=_0x40baba(_0x492f37);return{'startOffset':_0x224bb3,'endOffset':_0x224bb3};}let _0x384301=Math['min'](_0x48a3b3,_0x267a48),_0x2b2f05=Math[_0x190a6c(0x10f)](_0x48a3b3,_0x267a48),_0x9c6b9=_0x2bbc8e(_0x492f37,_0x384301,_0x2b2f05);return _0x384301===_0x2b2f05?_0x1b8126===_0x190a6c(0xd3)?{'startOffset':_0x384301,'endOffset':_0x2b2f05}:_0x4cc22c(_0x492f37,_0x384301,_0x9c6b9):_0xd9b062(_0x492f37,_0x384301,_0x2b2f05,_0x9c6b9);}function _0x4cc22c(_0x49a374,_0x41d2a6,_0x1b3719){const _0x4e2d68=_0x38b268;let _0x5dd3b8=_0x9763ba(_0x49a374,_0x41d2a6);if(_0x5dd3b8){let _0x41311f=_0x4fb809(_0x49a374,_0x5dd3b8,_0x1b3719);if(_0x41311f<_0x5dd3b8[_0x4e2d68(0xd0)])return{'startOffset':_0x41311f,'endOffset':_0x1b3719?Math[_0x4e2d68(0xcd)](_0x5dd3b8[_0x4e2d68(0xd0)]+0x1,_0x1b3719['endOffset']):_0x5dd3b8[_0x4e2d68(0xd0)]+0x1};}let _0x6b497c=_0x41d2a6===0x0&&_0x49a374[_0x4e2d68(0xd4)][0x0]===_0x577be9[_0x4e2d68(0xc2)][_0x4e2d68(0x118)]?0x1:_0x41d2a6;return{'startOffset':_0x6b497c,'endOffset':_0x6b497c};}function _0x40baba(_0x139b3e){const _0x30bcfd=_0x38b268;return _0x139b3e[_0x30bcfd(0xd4)][_0x30bcfd(0xdd)](_0x577be9[_0x30bcfd(0xc2)][_0x30bcfd(0x105)])?Math['max'](0x0,_0x139b3e[_0x30bcfd(0xd4)][_0x30bcfd(0xc6)]-0x1):_0x139b3e['dataStream'][_0x30bcfd(0xc6)];}function _0x525f52(_0x52bf9f,_0x23b41d,_0x15bbcc){const _0x329cae=_0x38b268;var _0x238cd0;let _0x50ed35=Math[_0x329cae(0xcd)](_0x23b41d,_0x15bbcc),_0x25192e=Math[_0x329cae(0x10f)](_0x23b41d,_0x15bbcc);return!!((_0x238cd0=_0x52bf9f[_0x329cae(0x11d)])!=null&&_0x238cd0[_0x329cae(0x8f)](_0x30b7fb=>_0x50ed35>_0x30b7fb['startIndex']&&_0x50ed35<_0x30b7fb[_0x329cae(0xf7)]||_0x25192e>_0x30b7fb[_0x329cae(0xd0)]&&_0x25192e<_0x30b7fb[_0x329cae(0xf7)]||_0x50ed35<=_0x30b7fb['startIndex']&&_0x25192e>=_0x30b7fb[_0x329cae(0xf7)]));}function _0xd9b062(_0x5c825d,_0x344d2c,_0x2f7df8,_0x47b673){const _0x4a51dd=_0x38b268;let _0x4afdab=[..._0x5c825d[_0x4a51dd(0xae)]??[]][_0x4a51dd(0x14b)]((_0x84135d,_0x1f128e)=>_0x84135d[_0x4a51dd(0xd0)]-_0x1f128e[_0x4a51dd(0xd0)]),_0x5107d8=(0x0,_0x577be9['getParagraphContentStartOffsets'])(_0x5c825d),_0x5cd363=_0x4afdab[_0x4a51dd(0xdc)](_0x15a0de=>_0x4fb809(_0x5c825d,_0x15a0de,_0x47b673,_0x5107d8)<=_0x344d2c&&_0x344d2c<=_0x15a0de[_0x4a51dd(0xd0)]),_0x3d07bc=_0x4afdab['find'](_0x4581da=>_0x4581da['startIndex']>=_0x2f7df8-0x1)??_0x4afdab[_0x4afdab[_0x4a51dd(0xc6)]-0x1];return{'startOffset':_0x5cd363?_0x4fb809(_0x5c825d,_0x5cd363,_0x47b673,_0x5107d8):_0x344d2c,'endOffset':_0x3d07bc?_0x589ee1(_0x3d07bc,_0x47b673):_0x2f7df8};}function _0x9763ba(_0xce8bce,_0x370a4f){const _0x757383=_0x38b268;let _0x2d2139=[..._0xce8bce[_0x757383(0xae)]??[]]['sort']((_0x5059b3,_0x2f43f7)=>_0x5059b3['startIndex']-_0x2f43f7[_0x757383(0xd0)]),_0x52178c=(0x0,_0x577be9[_0x757383(0x101)])(_0xce8bce);return _0x2d2139[_0x757383(0xdc)](_0x11e735=>(_0x52178c[_0x757383(0xd8)](_0x11e735[_0x757383(0xd0)])??0x0)<=_0x370a4f&&_0x370a4f<=_0x11e735[_0x757383(0xd0)]);}function _0x4fb809(_0x48dd4d,_0x1ac278,_0x226747,_0x11b138){const _0x520797=_0x38b268;let _0x377ea7=(_0x11b138==null?void 0x0:_0x11b138[_0x520797(0xd8)](_0x1ac278[_0x520797(0xd0)]))??(0x0,_0x577be9[_0x520797(0x14f)])(_0x48dd4d,_0x1ac278);return _0x226747?Math[_0x520797(0x10f)](_0x377ea7,_0x226747[_0x520797(0x156)]):_0x377ea7;}function _0x589ee1(_0x3df597,_0x31cc14){const _0x2561d6=_0x38b268;let _0x689ab0=_0x3df597[_0x2561d6(0xd0)]+0x1;return _0x31cc14?Math[_0x2561d6(0xcd)](_0x689ab0,_0x31cc14[_0x2561d6(0xf4)]):_0x689ab0;}function _0x2bbc8e(_0x77fb25,_0xd8f2b8,_0x2e28c6){const _0x382c47=_0x38b268;let _0x1ce3be=_0x1dfde2(_0x77fb25,_0xd8f2b8),_0x4f8449=_0x1dfde2(_0x77fb25,_0xd8f2b8===_0x2e28c6?_0x2e28c6:Math[_0x382c47(0x10f)](_0xd8f2b8,_0x2e28c6-0x1));if(_0x1ce3be||_0x4f8449){if(!_0x1ce3be||!_0x4f8449||_0x1ce3be['startTokenOffset']!==_0x4f8449[_0x382c47(0xc1)]||_0x1ce3be[_0x382c47(0xaf)]!==_0x4f8449['endTokenOffset'])throw new _0x1de79e();return _0x1ce3be;}}function _0x1dfde2(_0x5ad7f1,_0x3225d3){const _0x1916d7=_0x38b268;let _0x42fca3=_0x5ad7f1[_0x1916d7(0xd4)],_0x3ee4fc=-0x1;for(let _0x6fee78=Math[_0x1916d7(0xcd)](_0x3225d3,_0x42fca3[_0x1916d7(0xc6)]-0x1);_0x6fee78>=0x0;_0x6fee78--){let _0x2892cb=_0x42fca3[_0x6fee78];if(_0x2892cb===_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0x89)])return;if(_0x2892cb===_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0xd2)]){_0x3ee4fc=_0x6fee78;break;}}if(_0x3ee4fc<0x0)return;let _0x24cf17=_0x42fca3[_0x1916d7(0x9e)](_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0x89)],_0x3ee4fc+0x1);if(!(_0x24cf17<0x0||_0x3225d3<_0x3ee4fc+0x1||_0x3225d3>_0x24cf17-0x1))return{'startOffset':_0x3ee4fc+0x1,'endOffset':Math[_0x1916d7(0x10f)](_0x3ee4fc+0x1,_0x24cf17-0x1),'startTokenOffset':_0x3ee4fc,'endTokenOffset':_0x24cf17};}function _0x140133(_0xd98486){const _0x3f7f78=_0x38b268;return(0x0,_0x577be9[_0x3f7f78(0xef)])(_0xd98486)[_0x3f7f78(0xf4)]-0x1;}function _0x217a3f(_0x131030,_0xf5b5a9,_0x16aa9e,_0x1278ee){const _0x32f313=_0x38b268;let _0x5dd43d=_0x140133(_0xf5b5a9),_0x373cc7=(_0x131030[_0x32f313(0xae)]??[])['find'](_0x576cc7=>_0x576cc7['startIndex']===_0x5dd43d+0x1);if(!_0x373cc7||_0x1278ee!=null&&_0x373cc7[_0x32f313(0xd0)]!==_0x1278ee||_0x16aa9e!=null&&(_0x16aa9e<_0x5dd43d||_0x16aa9e>_0x373cc7[_0x32f313(0xd0)]+0x1)||_0x131030[_0x32f313(0xd4)][_0x373cc7[_0x32f313(0xd0)]]!==_0x577be9[_0x32f313(0xc2)][_0x32f313(0x118)])return null;let _0x211c3c=(0x0,_0x577be9['getParagraphContentStartOffset'])(_0x131030,_0x373cc7),_0x392b09=_0x131030[_0x32f313(0xd4)][_0x32f313(0x152)](_0x211c3c,_0x373cc7[_0x32f313(0xd0)]);return Array[_0x32f313(0xe5)](_0x392b09)[_0x32f313(0x114)](_0x460688=>_0x460688===_0x577be9[_0x32f313(0xc2)][_0x32f313(0xed)])?{'paragraph':_0x373cc7,'endTokenOffset':_0x5dd43d}:null;}function _0x32bb95(_0x47041f,_0x5dc682){const _0x451109=_0x38b268;var _0x1743ba;let _0x24013f=_0x140133(_0x5dc682),_0x511da8=_0x47041f[_0x451109(0xd4)][_0x24013f+0x1];(_0x511da8===_0x577be9[_0x451109(0xc2)][_0x451109(0x105)]||_0x511da8===void 0x0)&&_0x226a1f(_0x47041f,_0x24013f+0x1,_0x577be9[_0x451109(0xc2)][_0x451109(0x118)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x577be9[_0x451109(0x150)])(new Set((_0x1743ba=_0x47041f['paragraphs'])==null?void 0x0:_0x1743ba[_0x451109(0x14a)](_0x4eb86a=>_0x4eb86a[_0x451109(0xbe)])))}]});}function _0x226a1f(_0xf46a1f,_0x51520b,_0x190dbe,_0xf1a81e={}){const _0x3d48f7=_0x38b268;var _0x20a40b,_0x3ec59d;_0x190dbe&&(_0xf46a1f['dataStream']=''+_0xf46a1f[_0x3d48f7(0xd4)][_0x3d48f7(0x152)](0x0,_0x51520b)+_0x190dbe+_0xf46a1f[_0x3d48f7(0xd4)][_0x3d48f7(0x152)](_0x51520b),_0x2ec62a(_0xf46a1f,_0x51520b,_0x190dbe[_0x3d48f7(0xc6)]),(_0x20a40b=_0xf1a81e[_0x3d48f7(0xae)])!=null&&_0x20a40b['length']&&(_0xf46a1f[_0x3d48f7(0xae)]=[..._0xf46a1f['paragraphs']??[],..._0xf1a81e[_0x3d48f7(0xae)][_0x3d48f7(0x14a)](_0x68c50c=>({..._0x68c50c,'startIndex':_0x68c50c['startIndex']+_0x51520b}))][_0x3d48f7(0x14b)]((_0x4f6132,_0x371218)=>_0x4f6132[_0x3d48f7(0xd0)]-_0x371218[_0x3d48f7(0xd0)])),(_0x3ec59d=_0xf1a81e['blockRanges'])!=null&&_0x3ec59d[_0x3d48f7(0xc6)]&&(_0xf46a1f[_0x3d48f7(0xb9)]=[..._0xf46a1f['blockRanges']??[],..._0xf1a81e[_0x3d48f7(0xb9)][_0x3d48f7(0x14a)](_0x2d5249=>({..._0x2d5249,'startIndex':_0x2d5249[_0x3d48f7(0xd0)]+_0x51520b,'endIndex':_0x2d5249[_0x3d48f7(0xf7)]+_0x51520b}))][_0x3d48f7(0x14b)]((_0x2e079b,_0x710613)=>_0x2e079b[_0x3d48f7(0xd0)]-_0x710613[_0x3d48f7(0xd0)])));}function _0x23c4b9(_0x249ae2,_0x139e9f,_0x514b5f){const _0x37dce0=_0x38b268;let _0x2205a8=_0x514b5f-_0x139e9f;_0x249ae2[_0x37dce0(0xd4)]=''+_0x249ae2['dataStream'][_0x37dce0(0x152)](0x0,_0x139e9f)+_0x249ae2[_0x37dce0(0xd4)][_0x37dce0(0x152)](_0x514b5f),_0x161780(_0x249ae2,_0x139e9f,_0x2205a8);}function _0x2ec62a(_0x164ec8,_0x22b83b,_0x3a9020){const _0x4d392f=_0x38b268;_0x164ec8['paragraphs']=_0x4f588c(_0x164ec8[_0x4d392f(0xae)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xca)]=_0x4f588c(_0x164ec8[_0x4d392f(0xca)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x120)]=_0x4f588c(_0x164ec8[_0x4d392f(0x120)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x10e)]=_0x1002b6(_0x164ec8[_0x4d392f(0x10e)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x11d)]=_0x135ffd(_0x164ec8[_0x4d392f(0x11d)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x102)]=_0x6990d8(_0x164ec8[_0x4d392f(0x102)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xb0)]=_0x6990d8(_0x164ec8[_0x4d392f(0xb0)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xe7)]=_0x6990d8(_0x164ec8[_0x4d392f(0xe7)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xb9)]=_0x6990d8(_0x164ec8[_0x4d392f(0xb9)],_0x22b83b,_0x3a9020);}function _0x161780(_0x5de4a9,_0x563ef9,_0x361df1){const _0x48f40f=_0x38b268;var _0x29c42d,_0x360049;_0x5de4a9[_0x48f40f(0xae)]=_0x26a7b4(_0x5de4a9[_0x48f40f(0xae)],_0x563ef9,_0x361df1),_0x5de4a9['sectionBreaks']=_0x26a7b4(_0x5de4a9[_0x48f40f(0xca)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x120)]=_0x26a7b4(_0x5de4a9[_0x48f40f(0x120)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x10e)]=(_0x29c42d=_0xfc3df1((_0x360049=_0x5de4a9['textRuns'])==null?void 0x0:_0x360049[_0x48f40f(0x14a)](_0x16d046=>({..._0x16d046,'startIndex':_0x16d046['st'],'endIndex':_0x16d046['ed']})),_0x563ef9,_0x361df1))==null?void 0x0:_0x29c42d[_0x48f40f(0x14a)](_0x2475b8=>{let {startIndex:_0x223f70,endIndex:_0x262e4f,..._0x12ed5f}=_0x2475b8;return{..._0x12ed5f,'st':_0x223f70,'ed':_0x262e4f};}),_0x5de4a9[_0x48f40f(0x11d)]=_0xfc3df1(_0x5de4a9[_0x48f40f(0x11d)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x102)]=_0x389ed5(_0x5de4a9[_0x48f40f(0x102)],_0x563ef9,_0x361df1),_0x5de4a9['customRanges']=_0x389ed5(_0x5de4a9[_0x48f40f(0xb0)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0xe7)]=_0x389ed5(_0x5de4a9[_0x48f40f(0xe7)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0xb9)]=_0x389ed5(_0x5de4a9[_0x48f40f(0xb9)],_0x563ef9,_0x361df1);}function _0x4f588c(_0x440b15,_0x10e8d8,_0x3be03f){return _0x440b15==null?void 0x0:_0x440b15['map'](_0x1777ad=>_0x1777ad['startIndex']>=_0x10e8d8?{..._0x1777ad,'startIndex':_0x1777ad['startIndex']+_0x3be03f}:_0x1777ad);}function _0x26a7b4(_0x3b3823,_0x39de8b,_0x3024fd){const _0x589dbb=_0x38b268;let _0x97aebb=_0x39de8b+_0x3024fd;return _0x3b3823==null?void 0x0:_0x3b3823[_0x589dbb(0x14a)](_0x5caeba=>_0x5caeba[_0x589dbb(0xd0)]>=_0x39de8b&&_0x5caeba[_0x589dbb(0xd0)]<_0x97aebb?null:_0x5caeba[_0x589dbb(0xd0)]>=_0x97aebb?{..._0x5caeba,'startIndex':_0x5caeba[_0x589dbb(0xd0)]-_0x3024fd}:_0x5caeba)[_0x589dbb(0xff)](_0x47e6ac=>_0x47e6ac!=null);}function _0x1002b6(_0x57796c,_0x44fd54,_0xe7d1fb){const _0x4d7a14=_0x38b268;return _0x57796c==null?void 0x0:_0x57796c[_0x4d7a14(0x14a)](_0x1d465a=>_0x1d465a['st']>=_0x44fd54?{..._0x1d465a,'st':_0x1d465a['st']+_0xe7d1fb,'ed':_0x1d465a['ed']+_0xe7d1fb}:_0x1d465a['ed']>_0x44fd54?{..._0x1d465a,'ed':_0x1d465a['ed']+_0xe7d1fb}:_0x1d465a);}function _0x6990d8(_0x2adab9,_0x5f0ea7,_0x50f793){const _0x458c18=_0x38b268;return _0x2adab9==null?void 0x0:_0x2adab9[_0x458c18(0x14a)](_0x237d3f=>(0x0,_0x577be9[_0x458c18(0x142)])(_0x237d3f,_0x5f0ea7,_0x50f793));}function _0x135ffd(_0xf928b2,_0x34c2d1,_0x178197){const _0x264813=_0x38b268;return _0xf928b2==null?void 0x0:_0xf928b2[_0x264813(0x14a)](_0x2a45c0=>(0x0,_0x577be9['shiftExclusiveRangeOnInsert'])(_0x2a45c0,_0x34c2d1,_0x178197));}function _0x389ed5(_0x46187f,_0x5b9cf3,_0x1d9b89){const _0x252eb3=_0x38b268;return _0x46187f==null?void 0x0:_0x46187f[_0x252eb3(0x14a)](_0x39ff62=>(0x0,_0x577be9[_0x252eb3(0x119)])(_0x39ff62,_0x5b9cf3,_0x1d9b89))[_0x252eb3(0xff)](_0x471f88=>_0x471f88!=null);}function _0xfc3df1(_0x18f217,_0x4a0021,_0x5a677f){const _0x16cf58=_0x38b268;return _0x18f217==null?void 0x0:_0x18f217[_0x16cf58(0x14a)](_0x5138d3=>(0x0,_0x577be9[_0x16cf58(0x108)])(_0x5138d3,_0x4a0021,_0x5a677f))[_0x16cf58(0xff)](_0x1791bd=>_0x1791bd!=null);}let _0x461229={'id':'docs-code.command.insert-below','type':_0x577be9[_0x38b268(0xbf)]['COMMAND'],'handler':_0x5ea632=>{const _0x545f58=_0x38b268;var _0x2ac885;if((0x0,_0x31b33e[_0x545f58(0xe1)])(_0x313945(_0x5ea632)))return!0x1;let _0x6495e9=(0x0,_0x31b33e[_0x545f58(0x113)])(_0x5ea632);if(_0x6495e9)return _0x5ea632['get'](_0x577be9['ICommandService'])[_0x545f58(0x100)](_0x29870c['id'],{'startOffset':_0x6495e9[_0x545f58(0x156)],'endOffset':_0x6495e9[_0x545f58(0xf4)],'insertionMode':_0x545f58(0xd3),'unitId':_0x6495e9['unitId']});let _0x2d4e25=_0x35ff7c(_0x5ea632);if(!_0x2d4e25)return!0x1;let _0x1f8533=(_0x2ac885=_0x5ea632[_0x545f58(0xd8)](_0x577be9[_0x545f58(0xea)])[_0x545f58(0xa9)](_0x577be9[_0x545f58(0xf9)]['UNIVER_DOC']))==null?void 0x0:_0x2ac885[_0x545f58(0x131)](),_0x359fa7=_0x1f8533?(0x0,_0x577be9['getParagraphFollowingBlockOffset'])(_0x1f8533,_0x2d4e25):_0x2d4e25['startIndex']+0x1;return _0x5ea632[_0x545f58(0xd8)](_0x577be9[_0x545f58(0x162)])[_0x545f58(0x100)](_0x29870c['id'],{'startOffset':_0x359fa7,'endOffset':_0x359fa7});}},_0x45e1b4={'id':_0x38b268(0x98),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':()=>!0x0},_0x29870c={'id':_0x38b268(0x8c),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x1e3a0c,_0x18c527)=>{const _0xd67290=_0x38b268;let _0xcccf5e=_0x5da2e0(_0x1e3a0c,_0x18c527==null?void 0x0:_0x18c527['unitId']);if(!_0xcccf5e)return!0x1;let _0x42a73c=_0x313945(_0x1e3a0c);if((0x0,_0x31b33e[_0xd67290(0xe1)])(_0x42a73c))return!0x1;let _0x2276ec=_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xc3)](_0xcccf5e[_0xd67290(0xfc)]),_0x2cac9f=_0x50167e(_0x18c527,_0x42a73c),_0x9485cc=_0x1904ca(_0xcccf5e[_0xd67290(0x11f)],_0x2cac9f);if(_0x9485cc){if(_0x9485cc[_0xd67290(0xe4)]!==_0x577be9[_0xd67290(0x130)][_0xd67290(0xf1)])return!0x1;let _0x5bee55=_0x10f0e4({'blockId':_0x9485cc[_0xd67290(0xe3)],'documentData':_0xcccf5e[_0xd67290(0x11f)],'metadata':_0x2276ec});if(!_0x5bee55)return!0x1;let _0x5c6426=_0x390b92(_0xcccf5e[_0xd67290(0x127)],_0xcccf5e['selectionManager'],_0xcccf5e[_0xd67290(0xfc)],_0xcccf5e[_0xd67290(0x11f)],_0x5bee55[_0xd67290(0x12d)],_0x29870c['id'],_0x5bee55[_0xd67290(0xaa)]);return _0x5c6426&&_0x5bee55['nextMetadata']&&_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xbb)](_0xcccf5e[_0xd67290(0xfc)],_0x5bee55['nextMetadata']),_0x5c6426;}let _0x29615f=(_0x18c527==null?void 0x0:_0x18c527[_0xd67290(0xe3)])??(0x0,_0x577be9[_0xd67290(0xcc)])(0x6),_0x581c47;try{_0x581c47=_0x3ca3f5({'blockId':_0x29615f,'config':_0x18c527==null?void 0x0:_0x18c527[_0xd67290(0x140)],'documentData':_0xcccf5e[_0xd67290(0x11f)],'endOffset':_0x2cac9f==null?void 0x0:_0x2cac9f[_0xd67290(0xf4)],'insertionMode':_0x18c527==null?void 0x0:_0x18c527['insertionMode'],'metadata':_0x2276ec,'startOffset':_0x2cac9f==null?void 0x0:_0x2cac9f[_0xd67290(0x156)]});}catch(_0x3d16cf){if(_0x3d16cf instanceof _0x1de79e)return!0x1;throw _0x3d16cf;}let _0x2f8a4e=_0x390b92(_0xcccf5e[_0xd67290(0x127)],_0xcccf5e[_0xd67290(0x112)],_0xcccf5e[_0xd67290(0xfc)],_0xcccf5e[_0xd67290(0x11f)],_0x581c47['nextDocumentData'],_0x29870c['id'],_0x581c47[_0xd67290(0xaa)]);return _0x2f8a4e&&_0x581c47[_0xd67290(0x15a)]&&_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xbb)](_0xcccf5e['unitId'],_0x581c47[_0xd67290(0x15a)]),_0x2f8a4e;}},_0x4a6a1b={'id':'docs-code.command.update','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0xfe5757,_0x104846)=>{const _0x2121eb=_0x38b268;if(!_0x104846)return!0x1;let _0x3d339d=_0x5da2e0(_0xfe5757,_0x104846['unitId']);if(!_0x3d339d)return!0x1;let _0x529f6=_0x5b4eae({'blockId':_0x104846[_0x2121eb(0xe3)],'config':_0x104846[_0x2121eb(0x140)],'documentData':_0x3d339d[_0x2121eb(0x11f)],'metadata':_0x3d339d[_0x2121eb(0x10a)][_0x2121eb(0xc3)](_0x3d339d[_0x2121eb(0xfc)])});return _0x529f6[_0x2121eb(0x15a)]&&_0x3d339d[_0x2121eb(0x10a)][_0x2121eb(0xbb)](_0x3d339d['unitId'],_0x529f6['nextMetadata']),!0x0;}},_0xdc1da0={'id':_0x38b268(0x122),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x182022,_0x5a961c)=>_0x1b8f0b[_0x38b268(0x146)](_0x182022,_0x5a961c)},_0x1b8f0b={'id':_0x38b268(0xfa),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0xedf610,_0x2f9d46)=>{const _0x5f2473=_0x38b268;if(!_0x2f9d46)return!0x1;let _0x44f031=_0x5da2e0(_0xedf610,_0x2f9d46==null?void 0x0:_0x2f9d46[_0x5f2473(0xfc)]);if(!_0x44f031)return!0x1;let _0x5633c4=_0x10f0e4({'blockId':_0x2f9d46[_0x5f2473(0xe3)],'documentData':_0x44f031['previousDocumentData'],'metadata':_0x44f031[_0x5f2473(0x10a)][_0x5f2473(0xc3)](_0x44f031[_0x5f2473(0xfc)])});if(!_0x5633c4)return!0x1;let _0x5a9bde=_0x390b92(_0x44f031[_0x5f2473(0x127)],_0x44f031[_0x5f2473(0x112)],_0x44f031[_0x5f2473(0xfc)],_0x44f031['previousDocumentData'],_0x5633c4['nextDocumentData'],_0x1b8f0b['id'],_0x5633c4[_0x5f2473(0xaa)]);return _0x5a9bde&&_0x5633c4[_0x5f2473(0x15a)]&&_0x44f031[_0x5f2473(0x10a)][_0x5f2473(0xbb)](_0x44f031[_0x5f2473(0xfc)],_0x5633c4[_0x5f2473(0x15a)]),_0x5a9bde;}},_0x145bc9={'id':'docs-code.command.remove','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x591780,_0x50b36b)=>{const _0x1d9c0d=_0x38b268;if(!_0x50b36b)return!0x1;let _0x4b1737=_0x5da2e0(_0x591780,_0x50b36b==null?void 0x0:_0x50b36b[_0x1d9c0d(0xfc)]);if(!_0x4b1737)return!0x1;let _0xde10dd=_0x1ef531({'blockId':_0x50b36b[_0x1d9c0d(0xe3)],'documentData':_0x4b1737[_0x1d9c0d(0x11f)],'metadata':_0x4b1737['model'][_0x1d9c0d(0xc3)](_0x4b1737[_0x1d9c0d(0xfc)])});if(!_0xde10dd)return!0x1;let _0x2cacf2=_0x390b92(_0x4b1737['commandService'],_0x4b1737['selectionManager'],_0x4b1737[_0x1d9c0d(0xfc)],_0x4b1737[_0x1d9c0d(0x11f)],_0xde10dd[_0x1d9c0d(0x12d)],_0x145bc9['id'],_0xde10dd['cursorOffset']);return _0x2cacf2&&_0xde10dd[_0x1d9c0d(0x15a)]&&_0x4b1737['model'][_0x1d9c0d(0xbb)](_0x4b1737['unitId'],_0xde10dd[_0x1d9c0d(0x15a)]),_0x2cacf2;}},_0x3f1126={'id':_0x38b268(0x92),'type':_0x577be9['CommandType']['COMMAND'],'handler':(_0xdd8151,_0x535df9)=>{const _0x217b03=_0x38b268;var _0x76cb30;let _0x1e5861=_0x5da2e0(_0xdd8151,_0x535df9==null?void 0x0:_0x535df9[_0x217b03(0xfc)]);if(!_0x1e5861)return!0x1;let _0x19d87a=(_0x535df9==null?void 0x0:_0x535df9['cursorOffset'])??((_0x76cb30=_0x313945(_0xdd8151))==null?void 0x0:_0x76cb30[_0x217b03(0x156)]);if(_0x19d87a==null)return!0x1;let _0x489ae4=_0x27c5ff({'cursorOffset':_0x19d87a,'documentData':_0x1e5861['previousDocumentData'],'paragraphStartIndex':_0x535df9==null?void 0x0:_0x535df9[_0x217b03(0x104)]});return _0x489ae4?_0x390b92(_0x1e5861[_0x217b03(0x127)],_0x1e5861['selectionManager'],_0x1e5861[_0x217b03(0xfc)],_0x1e5861[_0x217b03(0x11f)],_0x489ae4[_0x217b03(0x12d)],_0x3f1126['id'],_0x489ae4[_0x217b03(0xaa)]):!0x1;}};function _0x5da2e0(_0x575519,_0x572a57){const _0x828a44=_0x38b268;let _0x3b07ef=_0x575519['get'](_0x577be9[_0x828a44(0xea)]),_0x162dd4=_0x572a57?_0x3b07ef[_0x828a44(0x91)](_0x572a57,_0x577be9[_0x828a44(0xf9)][_0x828a44(0xfb)]):_0x3b07ef[_0x828a44(0xa9)](_0x577be9[_0x828a44(0xf9)]['UNIVER_DOC']);return _0x162dd4?{'commandService':_0x575519[_0x828a44(0xd8)](_0x577be9[_0x828a44(0x162)]),'model':_0x575519[_0x828a44(0xd8)](_0x14cdd9),'previousDocumentData':_0x162dd4[_0x828a44(0xe9)](),'selectionManager':_0x575519[_0x828a44(0xd8)](_0x31b33e[_0x828a44(0x13a)]),'unitId':_0x162dd4['getUnitId']()}:null;}function _0x313945(_0x4c820d){const _0x2565f6=_0x38b268;var _0x5c7548;return(_0x5c7548=_0x4c820d[_0x2565f6(0xd8)](_0x31b33e[_0x2565f6(0x13a)])['getTextRanges']())==null?void 0x0:_0x5c7548[0x0];}function _0x50167e(_0x1caa38,_0xebd4fd){const _0x39616b=_0x38b268;let _0x3137ef=(_0x1caa38==null?void 0x0:_0x1caa38['startOffset'])??(_0xebd4fd==null?void 0x0:_0xebd4fd[_0x39616b(0x156)]),_0x38e6fb=(_0x1caa38==null?void 0x0:_0x1caa38[_0x39616b(0xf4)])??(_0xebd4fd==null?void 0x0:_0xebd4fd[_0x39616b(0xf4)]);if(_0x3137ef!=null&&_0x38e6fb!=null)return{'endOffset':Math[_0x39616b(0x10f)](_0x3137ef,_0x38e6fb),'startOffset':Math['min'](_0x3137ef,_0x38e6fb)};}function _0x1904ca(_0xb3bb7b,_0x38da29){const _0x244000=_0x38b268;var _0x2e1252;if(!_0x38da29)return;let _0x31f99a=_0x103048(_0x38da29);return(_0x2e1252=_0xb3bb7b[_0x244000(0xc8)])==null||(_0x2e1252=_0x2e1252[_0x244000(0xb9)])==null?void 0x0:_0x2e1252[_0x244000(0xdc)](_0x472c5d=>{const _0xb4fb1c=_0x244000;let _0x112268=(0x0,_0x577be9[_0xb4fb1c(0xef)])(_0x472c5d);return _0x38da29[_0xb4fb1c(0x156)]===_0x38da29[_0xb4fb1c(0xf4)]?(0x0,_0x577be9['containsInteriorInsertionOffset'])(_0x112268,_0x31f99a):(0x0,_0x577be9[_0xb4fb1c(0xb7)])(_0x112268,_0x31f99a);});}function _0x103048(_0x234c7d){const _0x1edaca=_0x38b268;return _0x234c7d[_0x1edaca(0x156)]===_0x234c7d[_0x1edaca(0xf4)]?_0x234c7d[_0x1edaca(0x156)]:_0x234c7d[_0x1edaca(0x156)]+0x1;}function _0x35ff7c(_0x1d6cde){const _0xbe0119=_0x38b268;let _0x37d546=_0x313945(_0x1d6cde);if(!_0x37d546)return null;let _0x413736=_0x1d6cde[_0xbe0119(0xd8)](_0x577be9[_0xbe0119(0xea)])['getCurrentUnitOfType'](_0x577be9[_0xbe0119(0xf9)][_0xbe0119(0xfb)]),_0xf26ca=_0x413736==null?void 0x0:_0x413736[_0xbe0119(0x131)]();return _0xf26ca?_0x577be9['BuildTextUtils']['range']['getParagraphsInRange'](_0x37d546,_0xf26ca[_0xbe0119(0xae)]??[],_0xf26ca[_0xbe0119(0xd4)]??'')[0x0]??null:null;}function _0x55c47b(_0x4b330f,_0x53dc85){const _0x143b97=_0x38b268;let _0x280d90=_0x4b330f[_0x143b97(0xc8)],_0x2ba396=_0x53dc85[_0x143b97(0xc8)],_0x2260ac=(0x0,_0x577be9[_0x143b97(0xd1)])(_0x280d90,_0x2ba396);return[_0x2260ac&&_0x2ba396?_0x274021(_0x2ba396,_0x2260ac):null,_0x2260ac?null:_0x247b83(_0x280d90,_0x2ba396)][_0x143b97(0xff)](Boolean)[_0x143b97(0x11a)]((_0x33efc3,_0x34f83d)=>_0x577be9['JSONX']['compose'](_0x33efc3,_0x34f83d),null);}function _0x274021(_0x57bab5,_0x1ded4f){const _0x270fb5=_0x38b268;let _0x66b628=new _0x577be9[(_0x270fb5(0x124))]();return _0x66b628[_0x270fb5(0x87)](_0x1ded4f[_0x270fb5(0xe8)]),_0x1ded4f[_0x270fb5(0x8b)]>0x0&&_0x66b628['insert'](_0x1ded4f['insertLength'],(0x0,_0x577be9[_0x270fb5(0xb8)])(_0x57bab5,_0x1ded4f[_0x270fb5(0xe8)],_0x1ded4f[_0x270fb5(0xe8)]+_0x1ded4f[_0x270fb5(0x8b)],!0x1)),_0x1ded4f[_0x270fb5(0xf5)]>0x0&&_0x66b628[_0x270fb5(0x96)](_0x1ded4f[_0x270fb5(0xf5)]),_0x577be9[_0x270fb5(0xa0)][_0x270fb5(0xb5)]()[_0x270fb5(0x158)](_0x66b628[_0x270fb5(0xc3)](),[_0x270fb5(0xc8)]);}function _0x247b83(_0x23898d,_0x189ee2){const _0x17f27a=_0x38b268;let _0x15680a=[],_0x58e43a=_0x23898d?_0x4ee96d(_0x23898d):void 0x0,_0x41cc34=_0x189ee2?_0x4ee96d(_0x189ee2):void 0x0;for(let _0x410639 of _0x2e1f7b)_0xcfcec4(_0x577be9[_0x17f27a(0xa0)][_0x17f27a(0xb5)](),[_0x17f27a(0xc8),_0x410639],_0x58e43a==null?void 0x0:_0x58e43a[_0x410639],_0x41cc34==null?void 0x0:_0x41cc34[_0x410639],_0x15680a);return _0x15680a[_0x17f27a(0x11a)]((_0x1e5439,_0x4fc6e6)=>_0x577be9['JSONX'][_0x17f27a(0x111)](_0x1e5439,_0x4fc6e6),null);}let _0x2e1f7b=['paragraphs',_0x38b268(0xca),'tables',_0x38b268(0x102),'blockRanges','customBlocks',_0x38b268(0xb0),_0x38b268(0xe7),_0x38b268(0x10e)];function _0x4ee96d(_0x2805c0){return _0x2805c0;}function _0xcfcec4(_0x19d09b,_0x44abcd,_0x10ac43,_0xf654a3,_0x5b2589){const _0x39dd67=_0x38b268;_0xa30283(_0x10ac43,_0xf654a3)||(_0x10ac43==null?_0x5b2589[_0x39dd67(0xa6)](_0x19d09b[_0x39dd67(0x85)](_0x44abcd,_0xf654a3)):_0xf654a3==null?_0x5b2589[_0x39dd67(0xa6)](_0x19d09b[_0x39dd67(0x9a)](_0x44abcd,_0x10ac43)):Array['isArray'](_0x10ac43)&&Array[_0x39dd67(0x11b)](_0xf654a3)?_0x376d72(_0x19d09b,_0x44abcd,_0x10ac43,_0xf654a3,_0x5b2589):_0x564fda(_0x10ac43)&&_0x564fda(_0xf654a3)?new Set([...Object[_0x39dd67(0x10d)](_0x10ac43),...Object[_0x39dd67(0x10d)](_0xf654a3)])[_0x39dd67(0x160)](_0x19337e=>{_0xcfcec4(_0x19d09b,[..._0x44abcd,_0x19337e],_0x10ac43[_0x19337e],_0xf654a3[_0x19337e],_0x5b2589);}):_0x5b2589[_0x39dd67(0xa6)](_0x19d09b['replaceOp'](_0x44abcd,_0x10ac43,_0xf654a3)));}function _0x376d72(_0x238bf6,_0x1d7a49,_0x6323f6,_0x3edcc5,_0x5865c4){const _0xccd715=_0x38b268;if(_0x6323f6[_0xccd715(0xc6)]===_0x3edcc5[_0xccd715(0xc6)]){_0x6323f6['forEach']((_0x1d593a,_0x307054)=>_0xcfcec4(_0x238bf6,[..._0x1d7a49,_0x307054],_0x1d593a,_0x3edcc5[_0x307054],_0x5865c4));return;}let _0x342197=0x0;for(;_0x342197<_0x6323f6['length']&&_0x342197<_0x3edcc5[_0xccd715(0xc6)]&&_0xa30283(_0x6323f6[_0x342197],_0x3edcc5[_0x342197]);)_0x342197++;let _0x2bb692=_0x6323f6[_0xccd715(0xc6)]-0x1,_0x3987e6=_0x3edcc5['length']-0x1;for(;_0x2bb692>=_0x342197&&_0x3987e6>=_0x342197&&_0xa30283(_0x6323f6[_0x2bb692],_0x3edcc5[_0x3987e6]);)_0x2bb692--,_0x3987e6--;for(let _0x2ba02b=_0x2bb692;_0x2ba02b>=_0x342197;_0x2ba02b--)_0x5865c4['push'](_0x238bf6[_0xccd715(0x9a)]([..._0x1d7a49,_0x2ba02b],_0x6323f6[_0x2ba02b]));for(let _0x47b32e=_0x342197;_0x47b32e<=_0x3987e6;_0x47b32e++)_0x5865c4['push'](_0x238bf6[_0xccd715(0x85)]([..._0x1d7a49,_0x47b32e],_0x3edcc5[_0x47b32e]));}function _0x564fda(_0x551a60){const _0x39f53c=_0x38b268;return typeof _0x551a60==_0x39f53c(0x117)&&!!_0x551a60&&!Array[_0x39f53c(0x11b)](_0x551a60);}function _0xa30283(_0x19d5a9,_0x1c6a43){const _0x31990a=_0x38b268;return JSON[_0x31990a(0x12e)](_0x19d5a9)===JSON[_0x31990a(0x12e)](_0x1c6a43);}function _0x390b92(_0x31a356,_0x30936b,_0x41981d,_0x1b4d31,_0x2a7924,_0x27496a,_0x5f22b2){const _0x4ac4ea=_0x38b268;let _0x52d711=_0x55c47b(_0x1b4d31,_0x2a7924);return _0x52d711?!!_0x31a356[_0x4ac4ea(0x100)](_0x31b33e[_0x4ac4ea(0x123)]['id'],{'unitId':_0x41981d,'actions':_0x52d711,'textRanges':[{'startOffset':_0x5f22b2,'endOffset':_0x5f22b2,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x27496a}):(_0x30936b[_0x4ac4ea(0xf6)]([{'startOffset':_0x5f22b2,'endOffset':_0x5f22b2}],{'unitId':_0x41981d,'subUnitId':_0x41981d},!0x1),!0x0);}let _0x58e0f9='DOC_CODE_PLUGIN';var _0x500b69=_0x38b268(0x13c),_0x506558=_0x38b268(0x12c);let _0x2e0eff={};function _0x1d0d2c(_0x3dd1ff,_0x2924cc){return function(_0x45b5a3,_0x8cb2){_0x2924cc(_0x45b5a3,_0x8cb2,_0x3dd1ff);};}function _0x111972(_0x468068,_0xdec483,_0x1a6eec,_0x10a9fc){const _0x5d6fa3=_0x38b268;var _0x34877d=arguments[_0x5d6fa3(0xc6)],_0x183257=_0x34877d<0x3?_0xdec483:_0x10a9fc===null?_0x10a9fc=Object['getOwnPropertyDescriptor'](_0xdec483,_0x1a6eec):_0x10a9fc,_0x5766e7;if(typeof Reflect==_0x5d6fa3(0x117)&&typeof Reflect[_0x5d6fa3(0xee)]==_0x5d6fa3(0xdb))_0x183257=Reflect[_0x5d6fa3(0xee)](_0x468068,_0xdec483,_0x1a6eec,_0x10a9fc);else{for(var _0x1ff2b9=_0x468068[_0x5d6fa3(0xc6)]-0x1;_0x1ff2b9>=0x0;_0x1ff2b9--)(_0x5766e7=_0x468068[_0x1ff2b9])&&(_0x183257=(_0x34877d<0x3?_0x5766e7(_0x183257):_0x34877d>0x3?_0x5766e7(_0xdec483,_0x1a6eec,_0x183257):_0x5766e7(_0xdec483,_0x1a6eec))||_0x183257);}return _0x34877d>0x3&&_0x183257&&Object[_0x5d6fa3(0xec)](_0xdec483,_0x1a6eec,_0x183257),_0x183257;}let _0x1e40af=class extends _0x577be9[_0x38b268(0x10b)]{constructor(_0x3dcd77,_0x6940f5){const _0x211679=_0x38b268;super(),this[_0x211679(0x12f)]=_0x3dcd77,this[_0x211679(0x125)]=_0x6940f5,this['_initResource']();}[_0x38b268(0x99)](){const _0x258e9f=_0x38b268;this[_0x258e9f(0x13f)](this[_0x258e9f(0x12f)][_0x258e9f(0x103)]({'pluginName':_0x58e0f9,'businesses':[_0x577be9['UniverInstanceType'][_0x258e9f(0xfb)]],'toJson':_0x4135c7=>JSON['stringify'](this[_0x258e9f(0x125)][_0x258e9f(0xc3)](_0x4135c7)),'parseJson':_0x4bcdf5=>_0x590e98(JSON[_0x258e9f(0x8d)](_0x4bcdf5)),'onLoad':(_0x1b4fe1,_0x2eea4c)=>this[_0x258e9f(0x125)]['deserialize'](_0x1b4fe1,_0x2eea4c),'onUnLoad':_0x22fa55=>this[_0x258e9f(0x125)][_0x258e9f(0xc4)](_0x22fa55)}));}};_0x1e40af=_0x111972([_0x1d0d2c(0x0,_0x577be9['IResourceManagerService']),_0x1d0d2c(0x1,(0x0,_0x577be9[_0x38b268(0xd9)])(_0x14cdd9))],_0x1e40af);let _0x5e5f1b=class extends _0x577be9[_0x38b268(0x138)]{constructor(_0x50a55b=_0x2e0eff,_0x1d85c6,_0x57de35,_0x3580d){const _0x405f96=_0x38b268;super(),this[_0x405f96(0xcb)]=_0x50a55b,this['_injector']=_0x1d85c6,this[_0x405f96(0x9c)]=_0x57de35,this[_0x405f96(0xd5)]=_0x3580d;let {..._0x27e37a}=(0x0,_0x577be9['merge'])({},_0x2e0eff,this[_0x405f96(0xcb)]);this[_0x405f96(0xd5)][_0x405f96(0x134)](_0x405f96(0xba),_0x27e37a);}[_0x38b268(0x163)](){const _0x2e47a6=_0x38b268;this[_0x2e47a6(0x161)][_0x2e47a6(0x93)]([_0x14cdd9]),this[_0x2e47a6(0x161)][_0x2e47a6(0x93)]([_0x1e40af]),this['_injector'][_0x2e47a6(0xd8)](_0x14cdd9),this['_injector'][_0x2e47a6(0xd8)](_0x1e40af),[_0x29870c,_0x461229,_0x4a6a1b,_0x1b8f0b,_0x145bc9,_0xdc1da0,_0x3f1126,_0x45e1b4,_0x2063a6,_0x3df94c][_0x2e47a6(0x160)](_0x11e653=>this[_0x2e47a6(0x13f)](this[_0x2e47a6(0x9c)][_0x2e47a6(0xfe)](_0x11e653)));}};_0x188821(_0x5e5f1b,_0x38b268(0x135),_0x58e0f9),_0x188821(_0x5e5f1b,'packageName',_0x500b69),_0x188821(_0x5e5f1b,'version',_0x506558),_0x188821(_0x5e5f1b,'type',_0x577be9[_0x38b268(0xf9)][_0x38b268(0xfb)]),_0x5e5f1b=_0x111972([(0x0,_0x577be9[_0x38b268(0xdf)])(_0x352e5e[_0x38b268(0x133)],_0x31b33e[_0x38b268(0x107)]),_0x1d0d2c(0x1,(0x0,_0x577be9['Inject'])(_0x577be9[_0x38b268(0xab)])),_0x1d0d2c(0x2,_0x577be9[_0x38b268(0x162)]),_0x1d0d2c(0x3,_0x577be9['IConfigService'])],_0x5e5f1b),_0x5e1d62[_0x38b268(0x14d)]=_0x58e0f9,_0x5e1d62[_0x38b268(0xc9)]=_0x3f1126,_0x5e1d62[_0x38b268(0xa2)]=_0x45e1b4,_0x5e1d62[_0x38b268(0x136)]=_0x461229,_0x5e1d62[_0x38b268(0xa8)]=_0x29870c,_0x5e1d62[_0x38b268(0x15b)]=_0x14cdd9,_0x5e1d62[_0x38b268(0xde)]=_0x145bc9,_0x5e1d62[_0x38b268(0x94)]=_0x1b8f0b,_0x5e1d62[_0x38b268(0x14c)]=_0x4a6a1b,_0x5e1d62[_0x38b268(0x132)]=_0x3df94c,_0x5e1d62['SetDocsCodeConfigMutation']=_0x2063a6,Object[_0x38b268(0xec)](_0x5e1d62,'UniverDocsCodePlugin',{'enumerable':!0x0,'get':function(){return _0x5e5f1b;}}),_0x5e1d62[_0x38b268(0x106)]=_0x27c5ff,_0x5e1d62[_0x38b268(0x155)]=_0x553e08,_0x5e1d62[_0x38b268(0xbd)]=_0x5da2fa,_0x5e1d62[_0x38b268(0x9b)]=_0x590e98;}));function _0xf6f7(){const _0x15a5f5=['min','complete','_change$','startIndex','getSingleDataStreamChange','TABLE_CELL_START','insert-new','dataStream','_configService','135JKeult','7MxvBpL','get','Inject','direction','function','find','endsWith','DocsCodeRemoveCommand','DependentOn','@univerjs-pro/license','isHeaderFooterSelection','clear','blockId','blockType','from','2568352kqodaB','customDecorations','start','getSnapshot','IUniverInstanceService','Document\x20body\x20is\x20required','defineProperty','BLOCK_END','decorate','getBlockRangeInterval','textStyle','CODE','exports','_setResource','endOffset','deleteLength','replaceDocRanges','endIndex','TRUE','UniverInstanceType','docs-code.command.unwrap','UNIVER_DOC','unitId','containsInteriorInsertionOffset','registerCommand','filter','syncExecuteCommand','getParagraphContentStartOffsets','columnGroups','registerPluginResource','paragraphStartIndex','SECTION_BREAK','buildCancelEmptyCodeParagraphActions','UniverDocsPlugin','shiftExclusiveRangeOnDelete','BLOCK_START','model','Disposable','columns','keys','textRuns','max','95685YldOml','compose','selectionManager','getContentInsertRange','every','spaceBelow','fromEntries','object','PARAGRAPH','shiftInclusiveRangeOnDelete','reduce','isArray','toStringTag','tables','rxjs','previousDocumentData','customBlocks','@univerjs/docs','docs-code.command.exit','RichTextEditingMutation','TextX','_docsCodeModel','docs-code.mutation.remove-config','commandService','MUTATION','FALSE','6086377WJIFbv','amd','1.5.0','nextDocumentData','stringify','_resourceManagerService','DocumentBlockRangeType','getBody','RemoveDocsCodeConfigMutation','UniverLicensePlugin','setConfig','pluginName','DocsCodeInsertBelowCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Plugin','keepNext','DocSelectionManagerService','paragraphStyle','@univerjs-pro/docs-code','bullet','widowControl','disposeWithMe','config','removeCode','shiftInclusiveRangeOnInsert','getCodeConfig','_resources','UniverProLicense','handler','constructor','string','3067938ayYpkQ','map','sort','DocsCodeUpdateCommand','DOCS_CODE_PLUGIN','UniverProDocsCode','getParagraphContentStartOffset','createParagraphId','monospace','slice','2TwbDOH','set','isCodeBoundaryDelete','startOffset','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','editOp','UniverDocs','nextMetadata','DocsCodeModel','indentEnd','keepLines','javascript','default','forEach','_injector','ICommandService','onStarting','dispose','right','insertOp','metadata','retain','codes','TABLE_CELL_END','Subject','insertLength','docs-code.command.insert','parse','spaceAbove','some','BooleanNumber','getUnit','docs-code.command.cancel-empty-paragraph','add','DocsCodeUnwrapCommand','COMMAND','delete','convert-paragraph','docs-code.command.consume-boundary-delete','_initResource','removeOp','normalizeDocsCodeMetadataResource','_commandService','documentData','indexOf','insertionMode','JSONX','paragraph','DocsCodeConsumeBoundaryDeleteCommand','left','change$','4927520FTImtd','push','intersectsOperationalIntervals','DocsCodeInsertCommand','getCurrentUnitOfType','cursorOffset','Injector','prototype','next','paragraphs','endTokenOffset','customRanges','UniverCore','1031622kzXchk','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','36OEgTgb','getInstance','symbol','containsStreamIndex','getBodySliceForTextXAction','blockRanges','docs-code.config','deserialize','374230uFzmOA','normalizeDocsCodeConfig','paragraphId','CommandType','asObservable','startTokenOffset','DataStreamTreeTokenType','serialize','removeUnit','setCodeConfig','length','entries','body','DocsCodeCancelEmptyParagraphCommand','sectionBreaks','_config','generateRandomId'];_0xf6f7=function(){return _0x15a5f5;};return _0xf6f7();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-code",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Code block model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.
|
|
65
|
-
"@univerjs/core": "1.
|
|
66
|
-
"@univerjs/docs": "1.
|
|
64
|
+
"@univerjs-pro/license": "1.5.0",
|
|
65
|
+
"@univerjs/core": "1.5.0",
|
|
66
|
+
"@univerjs/docs": "1.5.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs-infra/shared": "1.
|
|
69
|
+
"@univerjs-infra/shared": "1.5.0",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
|
-
"tsrs": "0.
|
|
72
|
-
"vitest": "^5.0
|
|
71
|
+
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
72
|
+
"vitest": "^5.1.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"test": "vitest run",
|