@univerjs-pro/docs-code 0.25.0 → 0.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5742(_0x3db88a,_0x4e4c03){_0x3db88a=_0x3db88a-0x17a;const _0x148856=_0x1488();let _0x5742b2=_0x148856[_0x3db88a];return _0x5742b2;}function _0x1488(){const _0x2d8087=['paragraphStartIndex','direction','version','18rvMKgU','add','compose','metadata','syncExecuteCommand','getParagraphsInRange','2508009qXaAvj','previousDocumentData','DocContentInsertService','every','startIndex','_setResource','@univerjs-pro/license','buildUpdateCodeActions','parse','removeUnit','RichTextEditingMutation','rxjs','max','customBlocks','_change$','serialize','ICommandService','textRuns','map','prototype','defineProperty','getSnapshot','Injector','BuildTextUtils','clear','next','packageName','DocsCodeUpdateCommand','getCurrentUnitOfType','UniverDocsUi','setCodeConfig','getTextRanges','min','892146eMlpKw','Disposable','nextMetadata','Document\x20body\x20is\x20required','DocsCodeModel','_config','startOffset','docs-code.command.update','275856wPYGap','_configService','filter','textStyle','set','forEach','dispose','toPrimitive','commandService','diffValue','join','DOCS_CODE_PLUGIN','amd','symbol','slice','buildInsertCodeActions','asObservable','customRanges','from','9055860kNclsI','replaceOp','object','UniverProLicense','cursorOffset','unitId','default','reduce','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','IResourceManagerService','merge','sectionBreaks','3204OEldMZ','length','DocsCodeCancelEmptyParagraphCommand','Inject','string','tables','customDecorations','COMMAND','DOCS_CODE_BLOCK_TYPE','paragraphStyle','decorate','BLOCK_END','_injector','indentEnd','setConfig','8GLhwBb','toStringTag','onStarting','1695OxZeQX','spaceBelow','findCodeRangeAtOffset','nextDocumentData','_commandService','deserialize','find','paragraphs','disposeWithMe','code','UniverDocsCodePlugin','blockType','DocsCodeInsertCommand','DocsCodeConsumeBoundaryDeleteCommand','docs-code.command.exit','some','normalizeDocsCodeConfig','change$','documentData','UniverCore','JSONX','blockId','_initResource','7316edQcZE','_resources','@univerjs/docs-ui','javascript','getOwnPropertyDescriptor','UniverInstanceType','PARAGRAPH','BLOCK_START','codes','Tools','DocsCodeInsertBelowCommand','DocSelectionManagerService','config','model','getUniverDocInstance','@univerjs/core','function','buildExitCodeActions','blockRanges','dataStream','CommandType','DataStreamTreeTokenType','@univerjs/docs','DocsCodeExitCommand','monospace','UNIVER_DOC','stringify','registerPluginResource','IUniverInstanceService','pluginName','UniverDocs','endTokenOffset','indentStart','SECTION_BREAK','get','constructor','body','sort','fromEntries','range','endOffset','DOC_CODE_PLUGIN','689826rlpVkc','removeCode','endIndex','getUnitId','call','type','getBody','_docsCodeModel'];_0x1488=function(){return _0x2d8087;};return _0x1488();}(function(_0x539232,_0x5ae536){const _0x46a504=_0x5742,_0x5945b2=_0x539232();while(!![]){try{const _0x4e90a3=-parseInt(_0x46a504(0x219))/0x1+parseInt(_0x46a504(0x1a3))/0x2*(-parseInt(_0x46a504(0x194))/0x3)+parseInt(_0x46a504(0x1bd))/0x4*(parseInt(_0x46a504(0x1a6))/0x5)+parseInt(_0x46a504(0x1e7))/0x6+-parseInt(_0x46a504(0x1f8))/0x7+parseInt(_0x46a504(0x221))/0x8*(parseInt(_0x46a504(0x1f2))/0x9)+parseInt(_0x46a504(0x188))/0xa;if(_0x4e90a3===_0x5ae536)break;else _0x5945b2['push'](_0x5945b2['shift']());}catch(_0xce0d83){_0x5945b2['push'](_0x5945b2['shift']());}}}(_0x1488,0x6f0bf),function(_0x396db8,_0x167d46){const _0x1c1633=_0x5742;typeof exports==_0x1c1633(0x18a)&&typeof module<'u'?_0x167d46(exports,require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x1c1633(0x1cd)&&define[_0x1c1633(0x181)]?define(['exports',_0x1c1633(0x1cc),_0x1c1633(0x1d3),_0x1c1633(0x1bf),'rxjs',_0x1c1633(0x1fe)],_0x167d46):(_0x396db8=typeof globalThis<'u'?globalThis:_0x396db8||self,_0x167d46(_0x396db8['UniverProDocsCode']={},_0x396db8[_0x1c1633(0x1b9)],_0x396db8[_0x1c1633(0x1db)],_0x396db8[_0x1c1633(0x215)],_0x396db8[_0x1c1633(0x203)],_0x396db8[_0x1c1633(0x18b)]));}(this,function(_0x663cc5,_0x502968,_0x11e891,_0x3a86b1,_0x25e7ea,_0x1fa1bc){const _0xc7b424=_0x5742;Object[_0xc7b424(0x20c)](_0x663cc5,Symbol[_0xc7b424(0x1a4)],{'value':'Module'});let _0x21baa0=_0xc7b424(0x1e6),_0xa94bdd=_0xc7b424(0x1af),_0x4ed02f={'language':_0xc7b424(0x1c0),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x31d2c8(_0x21591b){return{..._0x4ed02f,..._0x21591b};}function _0x2d555f(_0x27ad56){const _0x2a56ab=_0xc7b424;var _0x541ab9;let _0x7610e9=(_0x541ab9=_0x27ad56==null?void 0x0:_0x27ad56[_0x2a56ab(0x1c5)])==null?{}:_0x541ab9;return{'codes':Object[_0x2a56ab(0x1e3)](Object['entries'](_0x7610e9)[_0x2a56ab(0x20a)](([_0x5d9882,_0x47dece])=>[_0x5d9882,_0x31d2c8(_0x47dece)]))};}function _0x505018(_0x19b90a,_0x1cba94,_0x47073d){const _0x42e709=_0xc7b424;let _0x5a40f4=_0x2d555f(_0x19b90a);return _0x5a40f4[_0x42e709(0x1c5)][_0x1cba94]=_0x31d2c8({..._0x5a40f4[_0x42e709(0x1c5)][_0x1cba94],..._0x47073d}),_0x5a40f4;}function _0x5be42c(_0x1d4105,_0x2845e8){const _0x5b1506=_0xc7b424;let _0x4777b8=_0x2d555f(_0x1d4105);return delete _0x4777b8[_0x5b1506(0x1c5)][_0x2845e8],_0x4777b8;}let _0x5dbc36=_0xc7b424(0x1d5);function _0x27dfb9(_0x1566ed){const _0x41c1e3=_0xc7b424;var _0x37a8b5,_0x5e4a1e,_0xf9c31b;let _0x18b33f=_0x4e652f(_0x1566ed[_0x41c1e3(0x1b8)]),_0x4650f2=_0x3b6e7b(_0x18b33f),_0x147736=_0x1e6da8(_0x1566ed[_0x41c1e3(0x21f)],_0x1566ed[_0x41c1e3(0x1e5)]),_0x3998b5=_0x147736?(_0x37a8b5=_0x4650f2[_0x41c1e3(0x1cf)])==null?void 0x0:_0x37a8b5[_0x41c1e3(0x1ac)](_0x124fbc=>_0x124fbc[_0x41c1e3(0x1fc)]===_0x147736[_0x41c1e3(0x21f)]&&_0x124fbc[_0x41c1e3(0x1e9)]+0x1===_0x147736[_0x41c1e3(0x1e5)]):void 0x0,{startOffset:_0x4006b1,endOffset:_0x2ae684}=_0x3998b5?_0x147736:_0x45e0cd(_0x4650f2,_0x1566ed[_0x41c1e3(0x21f)],_0x1566ed[_0x41c1e3(0x1e5)]),_0x58b792=_0x577710(_0x4650f2,_0x4006b1,_0x2ae684),_0x21cd0b=(_0x5e4a1e=_0x3998b5==null?void 0x0:_0x3998b5[_0x41c1e3(0x1bb)])==null?_0x1566ed['blockId']:_0x5e4a1e,_0x4d29ed=_0x505018(_0x1566ed[_0x41c1e3(0x1f5)],_0x21cd0b,{..._0x4ed02f,..._0x1566ed['config']});if(_0x3998b5)return _0x3998b5[_0x41c1e3(0x1b1)]=_0xa94bdd,_0x4f5d2a(_0x4650f2,_0x4006b1,_0x2ae684),_0x59d7b2(_0x4650f2,_0x4006b1,_0x2ae684,_0x58b792),{'nextDocumentData':_0x18b33f,'nextMetadata':_0x4d29ed,'cursorOffset':_0x4006b1+0x1};if(_0x4006b1===_0x2ae684){let _0x48baa2=''+_0x502968['DataStreamTreeTokenType']['BLOCK_START']+_0x502968['DataStreamTreeTokenType']['PARAGRAPH']+_0x502968[_0x41c1e3(0x1d2)][_0x41c1e3(0x19f)];return _0x3c9546(_0x4650f2,_0x4006b1,_0x48baa2,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':_0x109b34(!0x0,!0x0,_0x58b792)}],'blockRanges':[{'blockId':_0x21cd0b,'blockType':_0xa94bdd,'startIndex':0x0,'endIndex':_0x48baa2['length']-0x1}]}),{'nextDocumentData':_0x18b33f,'nextMetadata':_0x4d29ed,'cursorOffset':_0x4006b1+0x1};}return _0x3c9546(_0x4650f2,_0x2ae684,_0x502968[_0x41c1e3(0x1d2)]['BLOCK_END']),_0x3c9546(_0x4650f2,_0x4006b1,_0x502968['DataStreamTreeTokenType'][_0x41c1e3(0x1c4)]),_0x59d7b2(_0x4650f2,_0x4006b1,_0x2ae684+0x1,_0x58b792),_0x4650f2[_0x41c1e3(0x1cf)]=[...(_0xf9c31b=_0x4650f2[_0x41c1e3(0x1cf)])==null?[]:_0xf9c31b,{'blockId':_0x21cd0b,'blockType':_0xa94bdd,'startIndex':_0x4006b1,'endIndex':_0x2ae684+0x1}][_0x41c1e3(0x1e2)]((_0x4190be,_0x1995c4)=>_0x4190be['startIndex']-_0x1995c4[_0x41c1e3(0x1fc)]),{'nextDocumentData':_0x18b33f,'nextMetadata':_0x4d29ed,'cursorOffset':_0x4006b1+0x1};}function _0x4f5d2a(_0x15c25a,_0xf0fe74,_0x2c726b){const _0xf8718f=_0xc7b424;var _0x57adf5;((_0x57adf5=_0x15c25a[_0xf8718f(0x1ad)])==null?[]:_0x57adf5)[_0xf8718f(0x223)](_0x21cbbd=>_0x21cbbd[_0xf8718f(0x1fc)]>_0xf0fe74&&_0x21cbbd['startIndex']<_0x2c726b)['forEach'](_0x4ec35e=>{const _0x5da5f2=_0xf8718f;var _0x1b0ada;let _0x1310bc={...(_0x1b0ada=_0x4ec35e[_0x5da5f2(0x19d)])==null?{}:_0x1b0ada};delete _0x1310bc['spaceAbove'],delete _0x1310bc[_0x5da5f2(0x1a7)],_0x4ec35e[_0x5da5f2(0x19d)]=_0x1310bc;});}function _0x1e6da8(_0x262e16,_0x3ba6e1){const _0x4273ec=_0xc7b424;return _0x262e16==null||_0x3ba6e1==null||_0x262e16===_0x3ba6e1?null:{'startOffset':Math[_0x4273ec(0x218)](_0x262e16,_0x3ba6e1),'endOffset':Math[_0x4273ec(0x204)](_0x262e16,_0x3ba6e1)};}function _0x4eb4f6(_0x414360){const _0x82fc49=_0xc7b424;return{'nextDocumentData':_0x4e652f(_0x414360[_0x82fc49(0x1b8)]),'nextMetadata':_0x505018(_0x414360['metadata'],_0x414360['blockId'],_0x414360[_0x82fc49(0x1c9)]),'cursorOffset':0x0};}function _0x1a9e29(_0x3ccb5e){const _0x41e8ef=_0xc7b424;var _0x2a3189,_0x5e7cd4;let _0x4f3060=_0x4e652f(_0x3ccb5e[_0x41e8ef(0x1b8)]),_0x1754cd=_0x3b6e7b(_0x4f3060),_0x109ea0=_0x35d4b8(_0x1754cd,_0x3ccb5e[_0x41e8ef(0x18c)]);if(!_0x109ea0)return null;let _0x2be6ae=_0x549af4(_0x1754cd,_0x109ea0),_0x552d1b=_0x2be6ae[_0x2be6ae[_0x41e8ef(0x195)]-0x1];if(!_0x552d1b||!_0x40c947(_0x1754cd,_0x109ea0,_0x552d1b)||_0x3ccb5e[_0x41e8ef(0x18c)]<_0x552d1b[_0x41e8ef(0x1fc)])return null;let _0x453819=_0x1117e9(_0x1754cd,_0x109ea0,_0x552d1b);if(_0x453819>=_0x109ea0['endIndex'])return null;_0x1754cd[_0x41e8ef(0x1d0)]=[_0x1754cd['dataStream'][_0x41e8ef(0x183)](0x0,_0x453819),_0x502968[_0x41e8ef(0x1d2)][_0x41e8ef(0x19f)],_0x1754cd[_0x41e8ef(0x1d0)][_0x41e8ef(0x183)](_0x453819,_0x109ea0[_0x41e8ef(0x1e9)]),_0x1754cd[_0x41e8ef(0x1d0)][_0x41e8ef(0x183)](_0x109ea0[_0x41e8ef(0x1e9)]+0x1)][_0x41e8ef(0x17f)](''),_0x1c323b(_0x1754cd[_0x41e8ef(0x1ad)],_0x453819,_0x109ea0[_0x41e8ef(0x1e9)],0x1),_0x1c323b(_0x1754cd[_0x41e8ef(0x193)],_0x453819,_0x109ea0[_0x41e8ef(0x1e9)],0x1),_0x1c323b(_0x1754cd[_0x41e8ef(0x205)],_0x453819,_0x109ea0['endIndex'],0x1),_0x976ff1(_0x1754cd[_0x41e8ef(0x209)],_0x453819,_0x109ea0['endIndex'],0x1),_0x2a04c9(_0x1754cd[_0x41e8ef(0x199)],_0x453819,_0x109ea0[_0x41e8ef(0x1e9)],0x1),_0x2a04c9(_0x1754cd['customRanges'],_0x453819,_0x109ea0[_0x41e8ef(0x1e9)],0x1),_0x2a04c9(_0x1754cd['customDecorations'],_0x453819,_0x109ea0['endIndex'],0x1),(_0x2a3189=_0x1754cd['blockRanges'])==null||_0x2a3189[_0x41e8ef(0x17a)](_0x4acefd=>{const _0x33c3d9=_0x41e8ef;_0x4acefd===_0x109ea0||_0x4acefd['blockId']===_0x109ea0[_0x33c3d9(0x1bb)]?_0x4acefd[_0x33c3d9(0x1e9)]=_0x453819:_0x4acefd[_0x33c3d9(0x1fc)]>=_0x453819&&_0x4acefd[_0x33c3d9(0x1fc)]<_0x109ea0[_0x33c3d9(0x1e9)]&&(_0x4acefd[_0x33c3d9(0x1fc)]+=0x1,_0x4acefd[_0x33c3d9(0x1e9)]+=0x1);});let _0x1f4341=_0x549af4(_0x1754cd,{..._0x109ea0,'endIndex':_0x453819});_0x1f4341[_0x41e8ef(0x17a)]((_0x5a9168,_0x41e2d8)=>{const _0x3a395b=_0x41e8ef;var _0x22f909;_0x5a9168[_0x3a395b(0x19d)]={...(_0x22f909=_0x5a9168[_0x3a395b(0x19d)])==null?{}:_0x22f909,..._0x109b34(_0x41e2d8===0x0,_0x41e2d8===_0x1f4341[_0x3a395b(0x195)]-0x1)};});let _0x5f265c=(_0x5e7cd4=_0x1754cd['paragraphs'])==null?void 0x0:_0x5e7cd4[_0x41e8ef(0x1ac)](_0x2204c3=>_0x2204c3[_0x41e8ef(0x1fc)]===_0x453819+0x1);return _0x5f265c&&(_0x5f265c[_0x41e8ef(0x19d)]=_0x2ba6c4(_0x5f265c[_0x41e8ef(0x19d)])),{'nextDocumentData':_0x4f3060,'cursorOffset':_0x453819+0x1};}function _0x1a8c8c(_0x5842c1){const _0x3428ca=_0xc7b424;let _0x27dd5b=_0x4e652f(_0x5842c1[_0x3428ca(0x1b8)]),_0x2d6444=_0x3b6e7b(_0x27dd5b),_0xbb8d95=_0x35d4b8(_0x2d6444,_0x5842c1[_0x3428ca(0x18c)]);return _0xbb8d95&&_0x5c6339(_0x27dd5b,_0x2d6444,_0xbb8d95,_0x5842c1[_0x3428ca(0x18c)],_0x5842c1[_0x3428ca(0x1ef)])||null;}function _0x5c6339(_0x1687d0,_0x4fcb1b,_0x189334,_0x4741d0,_0x2a667a){const _0x4fd249=_0xc7b424;let _0x4d8fd7=_0x2c1705(_0x4fcb1b,_0x189334,_0x4741d0,_0x2a667a);if(!_0x4d8fd7)return null;let _0x218f18=_0x4d8fd7[_0x4fd249(0x1dc)]-0x1;return _0x431fad(_0x4fcb1b,_0x4d8fd7['paragraph'][_0x4fd249(0x1fc)],_0x4d8fd7['paragraph']['startIndex']+0x1),{'nextDocumentData':_0x1687d0,'cursorOffset':_0x218f18};}function _0x4025d9(_0x694bf8,_0x163fbd){const _0xc9cc3d=_0xc7b424;var _0x3c6e92;return _0x694bf8==null||(_0x3c6e92=_0x694bf8[_0xc9cc3d(0x1cf)])==null?void 0x0:_0x3c6e92['find'](_0x1e0b5b=>_0x1e0b5b[_0xc9cc3d(0x1b1)]==='code'&&_0x1e0b5b[_0xc9cc3d(0x1fc)]<=_0x163fbd&&_0x163fbd<=_0x1e0b5b[_0xc9cc3d(0x1e9)]);}function _0x271dd6(_0x516e2e){const _0x24d234=_0xc7b424;var _0x45e08e;let _0x55e46a=_0x516e2e['documentData'][_0x24d234(0x1e1)];if(!_0x55e46a)return!0x1;let _0x28e418=_0x516e2e[_0x24d234(0x1f0)]==='left'?_0x516e2e[_0x24d234(0x18c)]-0x1:_0x516e2e[_0x24d234(0x18c)],_0x23f2f5=_0x516e2e['direction']==='right'?_0x516e2e[_0x24d234(0x18c)]+0x1:_0x28e418;return((_0x45e08e=_0x55e46a[_0x24d234(0x1cf)])==null?[]:_0x45e08e)['some'](_0xe4b78a=>_0xe4b78a[_0x24d234(0x1b1)]==='code'?_0x28e418===_0xe4b78a[_0x24d234(0x1fc)]||_0x28e418===_0xe4b78a['endIndex']||_0x23f2f5===_0xe4b78a[_0x24d234(0x1fc)]||_0x23f2f5===_0xe4b78a[_0x24d234(0x1e9)]:!0x1);}function _0x35d4b8(_0x226fe9,_0x3d618b){const _0x22feac=_0xc7b424;var _0x41ea13;return(_0x41ea13=_0x226fe9[_0x22feac(0x1cf)])==null?void 0x0:_0x41ea13[_0x22feac(0x1ac)](_0x31ad61=>{const _0x56b1b1=_0x22feac;let _0x131371=_0x10f4c1(_0x226fe9,_0x31ad61);return _0x31ad61[_0x56b1b1(0x1b1)]===_0x56b1b1(0x1af)&&_0x31ad61[_0x56b1b1(0x1fc)]<=_0x3d618b&&_0x3d618b<=_0x131371+0x2;});}function _0x109b34(_0x214bcf,_0x357278,_0x1cb9d6=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x214bcf&&_0x1cb9d6?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x5dbc36,'fs':0xc}};}function _0x59d7b2(_0x48bb79,_0x38aab4,_0x2a1bcf,_0x2896fd=!0x1){const _0x3ff5da=_0xc7b424;var _0x86d335;let _0x54bdc1=((_0x86d335=_0x48bb79['paragraphs'])==null?[]:_0x86d335)['filter'](_0x4f81af=>_0x4f81af['startIndex']>_0x38aab4&&_0x4f81af[_0x3ff5da(0x1fc)]<_0x2a1bcf);_0x54bdc1[_0x3ff5da(0x17a)]((_0x4fce3f,_0x38d690)=>{const _0x270fe=_0x3ff5da;var _0x2fe784;_0x4fce3f[_0x270fe(0x19d)]={...(_0x2fe784=_0x4fce3f[_0x270fe(0x19d)])==null?{}:_0x2fe784,..._0x109b34(_0x38d690===0x0,_0x38d690===_0x54bdc1[_0x270fe(0x195)]-0x1,_0x2896fd)};});}function _0x2ba6c4(_0x43dc14){const _0x1a5b19=_0xc7b424;var _0x40743c,_0x2291d8;let _0x3a934b={..._0x43dc14==null?{}:_0x43dc14};return delete _0x3a934b[_0x1a5b19(0x1a1)],delete _0x3a934b[_0x1a5b19(0x1dd)],delete _0x3a934b['spaceAbove'],delete _0x3a934b[_0x1a5b19(0x1a7)],((_0x40743c=_0x3a934b[_0x1a5b19(0x224)])==null?void 0x0:_0x40743c['ff'])===_0x5dbc36&&((_0x2291d8=_0x3a934b[_0x1a5b19(0x224)])==null?void 0x0:_0x2291d8['fs'])===0xc&&delete _0x3a934b[_0x1a5b19(0x224)],_0x3a934b;}function _0x549af4(_0x5018fd,_0x1e2ba2){const _0x59c753=_0xc7b424;var _0x2c602b;let _0x45c98e=_0x10f4c1(_0x5018fd,_0x1e2ba2);return((_0x2c602b=_0x5018fd[_0x59c753(0x1ad)])==null?[]:_0x2c602b)['filter'](_0x15679f=>_0x15679f[_0x59c753(0x1fc)]>_0x1e2ba2['startIndex']&&_0x15679f[_0x59c753(0x1fc)]<_0x45c98e);}function _0x40c947(_0x64ea1f,_0x437573,_0x101cdc){const _0x777edb=_0xc7b424;let _0x7ff329=_0x1117e9(_0x64ea1f,_0x437573,_0x101cdc),_0x30e563=_0x64ea1f[_0x777edb(0x1d0)][_0x777edb(0x183)](_0x7ff329,_0x101cdc['startIndex']);return Array['from'](_0x30e563)['every'](_0x47b996=>_0x47b996===_0x502968['DataStreamTreeTokenType'][_0x777edb(0x1c4)]||_0x47b996===_0x502968[_0x777edb(0x1d2)][_0x777edb(0x19f)]);}function _0x4e652f(_0x20d5d3){const _0x3873dd=_0xc7b424;return _0x502968[_0x3873dd(0x1c6)]['deepClone'](_0x20d5d3);}function _0x3b6e7b(_0x11e562){const _0x4d59c8=_0xc7b424;if(!_0x11e562[_0x4d59c8(0x1e1)])throw Error(_0x4d59c8(0x21c));return _0x11e562[_0x4d59c8(0x1e1)];}function _0x45e0cd(_0x59df99,_0xd56aca,_0x1f7e9c){const _0x3e2797=_0xc7b424;if(_0xd56aca==null||_0x1f7e9c==null){let _0x52013f=_0x2cde6f(_0x59df99);return{'startOffset':_0x52013f,'endOffset':_0x52013f};}let _0x1fcd3d=Math[_0x3e2797(0x218)](_0xd56aca,_0x1f7e9c),_0x51506a=Math[_0x3e2797(0x204)](_0xd56aca,_0x1f7e9c);return _0x1fcd3d===_0x51506a?{'startOffset':_0x1fcd3d,'endOffset':_0x1fcd3d}:_0x5cde0f(_0x59df99,_0x1fcd3d,_0x51506a);}function _0x2cde6f(_0x1b6a02){const _0x357ba1=_0xc7b424;return _0x1b6a02[_0x357ba1(0x1d0)]['endsWith'](_0x502968[_0x357ba1(0x1d2)][_0x357ba1(0x1de)])?Math[_0x357ba1(0x204)](0x0,_0x1b6a02[_0x357ba1(0x1d0)][_0x357ba1(0x195)]-0x1):_0x1b6a02['dataStream']['length'];}function _0x577710(_0x4f26af,_0xfc9a77,_0x12ba54){const _0x4ab114=_0xc7b424;var _0xc88dcb;let _0x5eaffa=Math[_0x4ab114(0x218)](_0xfc9a77,_0x12ba54),_0x11ba64=Math[_0x4ab114(0x204)](_0xfc9a77,_0x12ba54);return!!((_0xc88dcb=_0x4f26af[_0x4ab114(0x199)])!=null&&_0xc88dcb[_0x4ab114(0x1b5)](_0x584a28=>_0x5eaffa>_0x584a28[_0x4ab114(0x1fc)]&&_0x5eaffa<_0x584a28[_0x4ab114(0x1e9)]||_0x11ba64>_0x584a28[_0x4ab114(0x1fc)]&&_0x11ba64<_0x584a28[_0x4ab114(0x1e9)]||_0x5eaffa<=_0x584a28['startIndex']&&_0x11ba64>=_0x584a28[_0x4ab114(0x1e9)]));}function _0x5cde0f(_0x3465c5,_0x25cc96,_0x340b1d){const _0x140700=_0xc7b424;var _0xa3124b,_0x2f577e;let _0x2c0d2b=[...(_0xa3124b=_0x3465c5[_0x140700(0x1ad)])==null?[]:_0xa3124b][_0x140700(0x1e2)]((_0x115490,_0x172dc1)=>_0x115490['startIndex']-_0x172dc1['startIndex']),_0x5bf214=_0x2c0d2b[_0x140700(0x1ac)]((_0xcf98d2,_0x6e330d)=>(_0x6e330d===0x0?0x0:_0x2c0d2b[_0x6e330d-0x1]['startIndex']+0x1)<=_0x25cc96&&_0x25cc96<=_0xcf98d2[_0x140700(0x1fc)]),_0x719510=(_0x2f577e=_0x2c0d2b['find'](_0x431e4b=>_0x431e4b[_0x140700(0x1fc)]>=_0x340b1d-0x1))==null?_0x2c0d2b[_0x2c0d2b[_0x140700(0x195)]-0x1]:_0x2f577e;return{'startOffset':_0x5bf214?_0x4d1d4a(_0x2c0d2b,_0x5bf214):_0x25cc96,'endOffset':_0x719510?_0x719510[_0x140700(0x1fc)]+0x1:_0x340b1d};}function _0x4d1d4a(_0x38b88a,_0x192c4a){const _0x13bcee=_0xc7b424;let _0x36c33d=_0x38b88a['indexOf'](_0x192c4a);return _0x36c33d>0x0?_0x38b88a[_0x36c33d-0x1][_0x13bcee(0x1fc)]+0x1:0x0;}function _0x1117e9(_0x203250,_0x561388,_0x26efa0){const _0x14aa56=_0xc7b424;var _0x376b51;return Math['max'](_0x4d1d4a((_0x376b51=_0x203250[_0x14aa56(0x1ad)])==null?[]:_0x376b51,_0x26efa0),_0x561388[_0x14aa56(0x1fc)]+0x1);}function _0x10f4c1(_0x32acea,_0x330b49){const _0x4bba53=_0xc7b424;return _0x32acea[_0x4bba53(0x1d0)][_0x330b49[_0x4bba53(0x1e9)]]===_0x502968[_0x4bba53(0x1d2)][_0x4bba53(0x19f)]?_0x330b49['endIndex']:_0x32acea[_0x4bba53(0x1d0)][_0x330b49[_0x4bba53(0x1e9)]+0x1]===_0x502968['DataStreamTreeTokenType'][_0x4bba53(0x19f)]?_0x330b49[_0x4bba53(0x1e9)]+0x1:_0x330b49[_0x4bba53(0x1e9)];}function _0x2c1705(_0xc8d345,_0x2a249c,_0x13c069,_0x130728){const _0x4e856f=_0xc7b424;var _0x7605e7,_0x1f0102;let _0x97b909=_0x10f4c1(_0xc8d345,_0x2a249c),_0x89cbcd=((_0x7605e7=_0xc8d345[_0x4e856f(0x1ad)])==null?[]:_0x7605e7)[_0x4e856f(0x1ac)](_0x10c5d7=>_0x10c5d7[_0x4e856f(0x1fc)]===_0x97b909+0x1);if(!_0x89cbcd||_0x130728!=null&&_0x89cbcd['startIndex']!==_0x130728||_0x13c069<_0x97b909||_0x13c069>_0x89cbcd[_0x4e856f(0x1fc)]+0x1||_0xc8d345[_0x4e856f(0x1d0)][_0x89cbcd['startIndex']]!==_0x502968['DataStreamTreeTokenType'][_0x4e856f(0x1c3)])return null;let _0x217395=_0x4d1d4a((_0x1f0102=_0xc8d345[_0x4e856f(0x1ad)])==null?[]:_0x1f0102,_0x89cbcd),_0x3a2ede=_0xc8d345['dataStream'][_0x4e856f(0x183)](_0x217395,_0x89cbcd[_0x4e856f(0x1fc)]);return Array[_0x4e856f(0x187)](_0x3a2ede)[_0x4e856f(0x1fb)](_0x54b936=>_0x54b936===_0x502968[_0x4e856f(0x1d2)][_0x4e856f(0x19f)])?{'paragraph':_0x89cbcd,'endTokenOffset':_0x97b909}:null;}function _0x3c9546(_0x34cc78,_0x4750a7,_0x24003d,_0x3b0fd8={}){const _0x2cffc9=_0xc7b424;var _0x24c1d5,_0x394e1a;if(_0x24003d){if(_0x34cc78[_0x2cffc9(0x1d0)]=''+_0x34cc78[_0x2cffc9(0x1d0)][_0x2cffc9(0x183)](0x0,_0x4750a7)+_0x24003d+_0x34cc78['dataStream'][_0x2cffc9(0x183)](_0x4750a7),_0x4a81aa(_0x34cc78,_0x4750a7,_0x24003d['length']),(_0x24c1d5=_0x3b0fd8[_0x2cffc9(0x1ad)])!=null&&_0x24c1d5[_0x2cffc9(0x195)]){var _0x322d77;_0x34cc78['paragraphs']=[...(_0x322d77=_0x34cc78[_0x2cffc9(0x1ad)])==null?[]:_0x322d77,..._0x3b0fd8[_0x2cffc9(0x1ad)][_0x2cffc9(0x20a)](_0x31016b=>({..._0x31016b,'startIndex':_0x31016b[_0x2cffc9(0x1fc)]+_0x4750a7}))][_0x2cffc9(0x1e2)]((_0x575e2b,_0x1a1f01)=>_0x575e2b[_0x2cffc9(0x1fc)]-_0x1a1f01[_0x2cffc9(0x1fc)]);}if((_0x394e1a=_0x3b0fd8[_0x2cffc9(0x1cf)])!=null&&_0x394e1a[_0x2cffc9(0x195)]){var _0x538b1d;_0x34cc78[_0x2cffc9(0x1cf)]=[...(_0x538b1d=_0x34cc78[_0x2cffc9(0x1cf)])==null?[]:_0x538b1d,..._0x3b0fd8[_0x2cffc9(0x1cf)]['map'](_0x4ebf82=>({..._0x4ebf82,'startIndex':_0x4ebf82[_0x2cffc9(0x1fc)]+_0x4750a7,'endIndex':_0x4ebf82[_0x2cffc9(0x1e9)]+_0x4750a7}))][_0x2cffc9(0x1e2)]((_0x5f61ce,_0x1d2780)=>_0x5f61ce[_0x2cffc9(0x1fc)]-_0x1d2780[_0x2cffc9(0x1fc)]);}}}function _0x431fad(_0x28cfcb,_0x209416,_0x5b6180){const _0x3fa14b=_0xc7b424;let _0x342d5e=_0x5b6180-_0x209416;_0x28cfcb[_0x3fa14b(0x1d0)]=''+_0x28cfcb[_0x3fa14b(0x1d0)][_0x3fa14b(0x183)](0x0,_0x209416)+_0x28cfcb[_0x3fa14b(0x1d0)][_0x3fa14b(0x183)](_0x5b6180),_0x14975f(_0x28cfcb,_0x209416,_0x342d5e);}function _0x4a81aa(_0x3b92a4,_0x15c03f,_0x5648f8){const _0x3c2ba8=_0xc7b424;_0x3b92a4[_0x3c2ba8(0x1ad)]=_0x707c41(_0x3b92a4['paragraphs'],_0x15c03f,_0x5648f8),_0x3b92a4[_0x3c2ba8(0x193)]=_0x707c41(_0x3b92a4[_0x3c2ba8(0x193)],_0x15c03f,_0x5648f8),_0x3b92a4[_0x3c2ba8(0x205)]=_0x707c41(_0x3b92a4[_0x3c2ba8(0x205)],_0x15c03f,_0x5648f8),_0x3b92a4['textRuns']=_0x1363dc(_0x3b92a4[_0x3c2ba8(0x209)],_0x15c03f,_0x5648f8),_0x3b92a4[_0x3c2ba8(0x199)]=_0x5ea015(_0x3b92a4[_0x3c2ba8(0x199)],_0x15c03f,_0x5648f8),_0x3b92a4[_0x3c2ba8(0x186)]=_0x5ea015(_0x3b92a4[_0x3c2ba8(0x186)],_0x15c03f,_0x5648f8),_0x3b92a4[_0x3c2ba8(0x19a)]=_0x5ea015(_0x3b92a4[_0x3c2ba8(0x19a)],_0x15c03f,_0x5648f8),_0x3b92a4[_0x3c2ba8(0x1cf)]=_0x5ea015(_0x3b92a4[_0x3c2ba8(0x1cf)],_0x15c03f,_0x5648f8);}function _0x14975f(_0x34e0e4,_0x427917,_0x51432d){const _0x41a15f=_0xc7b424;var _0x17eedc,_0x1e0eb6;_0x34e0e4['paragraphs']=_0x1162a0(_0x34e0e4['paragraphs'],_0x427917,_0x51432d),_0x34e0e4['sectionBreaks']=_0x1162a0(_0x34e0e4[_0x41a15f(0x193)],_0x427917,_0x51432d),_0x34e0e4['customBlocks']=_0x1162a0(_0x34e0e4['customBlocks'],_0x427917,_0x51432d),_0x34e0e4[_0x41a15f(0x209)]=(_0x17eedc=_0x2fb338((_0x1e0eb6=_0x34e0e4[_0x41a15f(0x209)])==null?void 0x0:_0x1e0eb6[_0x41a15f(0x20a)](_0x1f43fd=>({..._0x1f43fd,'startIndex':_0x1f43fd['st'],'endIndex':_0x1f43fd['ed']})),_0x427917,_0x51432d))==null?void 0x0:_0x17eedc[_0x41a15f(0x20a)](_0x1b239e=>{let {startIndex:_0x4ffc3e,endIndex:_0x2b7f40,..._0x5f00f1}=_0x1b239e;return{..._0x5f00f1,'st':_0x4ffc3e,'ed':_0x2b7f40};}),_0x34e0e4['tables']=_0x2fb338(_0x34e0e4[_0x41a15f(0x199)],_0x427917,_0x51432d),_0x34e0e4[_0x41a15f(0x186)]=_0x2fb338(_0x34e0e4[_0x41a15f(0x186)],_0x427917,_0x51432d),_0x34e0e4[_0x41a15f(0x19a)]=_0x2fb338(_0x34e0e4[_0x41a15f(0x19a)],_0x427917,_0x51432d),_0x34e0e4[_0x41a15f(0x1cf)]=_0x2fb338(_0x34e0e4[_0x41a15f(0x1cf)],_0x427917,_0x51432d);}function _0x707c41(_0x14e381,_0x810628,_0x29b749){const _0x4ad310=_0xc7b424;return _0x14e381==null?void 0x0:_0x14e381[_0x4ad310(0x20a)](_0x400a8c=>_0x400a8c[_0x4ad310(0x1fc)]>=_0x810628?{..._0x400a8c,'startIndex':_0x400a8c[_0x4ad310(0x1fc)]+_0x29b749}:_0x400a8c);}function _0x1162a0(_0x14ec26,_0x4e33b3,_0x496542){const _0x324b02=_0xc7b424;let _0x3438a0=_0x4e33b3+_0x496542;return _0x14ec26==null?void 0x0:_0x14ec26[_0x324b02(0x20a)](_0x139eb9=>_0x139eb9[_0x324b02(0x1fc)]>=_0x4e33b3&&_0x139eb9[_0x324b02(0x1fc)]<_0x3438a0?null:_0x139eb9[_0x324b02(0x1fc)]>=_0x3438a0?{..._0x139eb9,'startIndex':_0x139eb9[_0x324b02(0x1fc)]-_0x496542}:_0x139eb9)[_0x324b02(0x223)](_0x2e9c84=>_0x2e9c84!=null);}function _0x1363dc(_0x14b1c3,_0x12237f,_0x153439){const _0x13f415=_0xc7b424;return _0x14b1c3==null?void 0x0:_0x14b1c3[_0x13f415(0x20a)](_0x16a4b0=>_0x16a4b0['st']>=_0x12237f?{..._0x16a4b0,'st':_0x16a4b0['st']+_0x153439,'ed':_0x16a4b0['ed']+_0x153439}:_0x16a4b0['ed']>_0x12237f?{..._0x16a4b0,'ed':_0x16a4b0['ed']+_0x153439}:_0x16a4b0);}function _0x5ea015(_0x2c61dc,_0x264b66,_0x3b4c01){const _0x3088d4=_0xc7b424;return _0x2c61dc==null?void 0x0:_0x2c61dc['map'](_0xd03e2b=>_0xd03e2b[_0x3088d4(0x1fc)]>=_0x264b66?{..._0xd03e2b,'startIndex':_0xd03e2b['startIndex']+_0x3b4c01,'endIndex':_0xd03e2b[_0x3088d4(0x1e9)]+_0x3b4c01}:_0xd03e2b[_0x3088d4(0x1e9)]>=_0x264b66?{..._0xd03e2b,'endIndex':_0xd03e2b[_0x3088d4(0x1e9)]+_0x3b4c01}:_0xd03e2b);}function _0x2fb338(_0x321c68,_0x5bc401,_0x328b70){const _0x2df2c5=_0xc7b424;let _0x337d7a=_0x5bc401+_0x328b70;return _0x321c68==null?void 0x0:_0x321c68[_0x2df2c5(0x20a)](_0x1e4f45=>_0x1e4f45['startIndex']>=_0x5bc401&&_0x1e4f45[_0x2df2c5(0x1e9)]<_0x337d7a?null:_0x1e4f45[_0x2df2c5(0x1fc)]>=_0x337d7a?{..._0x1e4f45,'startIndex':_0x1e4f45[_0x2df2c5(0x1fc)]-_0x328b70,'endIndex':_0x1e4f45[_0x2df2c5(0x1e9)]-_0x328b70}:_0x1e4f45[_0x2df2c5(0x1e9)]>=_0x5bc401?{..._0x1e4f45,'startIndex':_0x1e4f45[_0x2df2c5(0x1fc)]<_0x5bc401?_0x1e4f45[_0x2df2c5(0x1fc)]:_0x5bc401,'endIndex':Math[_0x2df2c5(0x204)](_0x5bc401,_0x1e4f45[_0x2df2c5(0x1e9)]-_0x328b70)}:_0x1e4f45)[_0x2df2c5(0x223)](_0x5a58a5=>_0x5a58a5!=null);}function _0x1c323b(_0x10cfda,_0x41b01d,_0x5cf778,_0x19d558){const _0x54f2f3=_0xc7b424;_0x10cfda==null||_0x10cfda[_0x54f2f3(0x17a)](_0x32a534=>{const _0x270109=_0x54f2f3;_0x32a534[_0x270109(0x1fc)]>=_0x41b01d&&_0x32a534[_0x270109(0x1fc)]<_0x5cf778&&(_0x32a534[_0x270109(0x1fc)]+=_0x19d558);});}function _0x976ff1(_0x352ee3,_0x21d56e,_0x376d6e,_0x4684a9){const _0x561c35=_0xc7b424;_0x352ee3==null||_0x352ee3[_0x561c35(0x17a)](_0x30bce8=>{_0x30bce8['st']>=_0x21d56e&&_0x30bce8['st']<_0x376d6e?(_0x30bce8['st']+=_0x4684a9,_0x30bce8['ed']+=_0x4684a9):_0x30bce8['ed']>_0x21d56e&&_0x30bce8['ed']<_0x376d6e&&(_0x30bce8['ed']+=_0x4684a9);});}function _0x2a04c9(_0x102ad5,_0x1e0476,_0x5e704b,_0x2bca6a){const _0x31589b=_0xc7b424;_0x102ad5==null||_0x102ad5[_0x31589b(0x17a)](_0x565f72=>{const _0x47a918=_0x31589b;_0x565f72[_0x47a918(0x1fc)]>=_0x1e0476&&_0x565f72[_0x47a918(0x1fc)]<_0x5e704b?(_0x565f72[_0x47a918(0x1fc)]+=_0x2bca6a,_0x565f72[_0x47a918(0x1e9)]+=_0x2bca6a):_0x565f72[_0x47a918(0x1e9)]>_0x1e0476&&_0x565f72['endIndex']<_0x5e704b&&(_0x565f72[_0x47a918(0x1e9)]+=_0x2bca6a);});}function _0x258b1e(_0x3df974){'@babel/helpers - typeof';const _0x40fca2=_0xc7b424;return _0x258b1e=typeof Symbol==_0x40fca2(0x1cd)&&typeof Symbol['iterator']==_0x40fca2(0x182)?function(_0x1f5845){return typeof _0x1f5845;}:function(_0x38f92f){const _0x17f5e9=_0x40fca2;return _0x38f92f&&typeof Symbol==_0x17f5e9(0x1cd)&&_0x38f92f[_0x17f5e9(0x1e0)]===Symbol&&_0x38f92f!==Symbol[_0x17f5e9(0x20b)]?_0x17f5e9(0x182):typeof _0x38f92f;},_0x258b1e(_0x3df974);}function _0x11a50a(_0x3589c1,_0x100906){const _0x4f7fda=_0xc7b424;if(_0x258b1e(_0x3589c1)!=_0x4f7fda(0x18a)||!_0x3589c1)return _0x3589c1;var _0x157bd2=_0x3589c1[Symbol[_0x4f7fda(0x17c)]];if(_0x157bd2!==void 0x0){var _0x31a284=_0x157bd2[_0x4f7fda(0x1eb)](_0x3589c1,_0x100906||_0x4f7fda(0x18e));if(_0x258b1e(_0x31a284)!='object')return _0x31a284;throw TypeError(_0x4f7fda(0x190));}return(_0x100906===_0x4f7fda(0x198)?String:Number)(_0x3589c1);}function _0xb334e6(_0x1c6ceb){const _0x2353cf=_0xc7b424;var _0xbc1373=_0x11a50a(_0x1c6ceb,'string');return _0x258b1e(_0xbc1373)==_0x2353cf(0x182)?_0xbc1373:_0xbc1373+'';}function _0x2ec956(_0x14a6ec,_0xc217ce,_0x3d7c67){const _0x3f51e9=_0xc7b424;return(_0xc217ce=_0xb334e6(_0xc217ce))in _0x14a6ec?Object[_0x3f51e9(0x20c)](_0x14a6ec,_0xc217ce,{'value':_0x3d7c67,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x14a6ec[_0xc217ce]=_0x3d7c67,_0x14a6ec;}var _0x4ec410=class extends _0x502968['Disposable']{constructor(..._0x2e0119){const _0x2c4abe=_0xc7b424;super(..._0x2e0119),_0x2ec956(this,_0x2c4abe(0x1be),new Map()),_0x2ec956(this,_0x2c4abe(0x206),new _0x25e7ea['Subject']()),_0x2ec956(this,_0x2c4abe(0x1b7),this[_0x2c4abe(0x206)][_0x2c4abe(0x185)]());}['getCodeConfig'](_0x3dd167,_0x2ba6cc){const _0x53648d=_0xc7b424;return _0x2d555f(this[_0x53648d(0x1be)]['get'](_0x3dd167))[_0x53648d(0x1c5)][_0x2ba6cc];}[_0xc7b424(0x216)](_0x5242aa,_0x1f0bcc,_0x52b778){const _0x3f05b9=_0xc7b424;this[_0x3f05b9(0x1fd)](_0x5242aa,_0x1f0bcc,_0x505018(this[_0x3f05b9(0x1be)][_0x3f05b9(0x1df)](_0x5242aa),_0x1f0bcc,_0x52b778));}[_0xc7b424(0x1e8)](_0x23469b,_0x1d0546){const _0x45cbd5=_0xc7b424;this[_0x45cbd5(0x1fd)](_0x23469b,_0x1d0546,_0x5be42c(this[_0x45cbd5(0x1be)][_0x45cbd5(0x1df)](_0x23469b),_0x1d0546));}[_0xc7b424(0x207)](_0x3eb69c){const _0x5a000e=_0xc7b424;return _0x2d555f(this[_0x5a000e(0x1be)][_0x5a000e(0x1df)](_0x3eb69c));}['deserialize'](_0x46181e,_0x3f268a){const _0x1291ce=_0xc7b424;this['_resources'][_0x1291ce(0x225)](_0x46181e,_0x2d555f(_0x3f268a)),this[_0x1291ce(0x206)][_0x1291ce(0x211)]({'unitId':_0x46181e});}[_0xc7b424(0x201)](_0x549e69){const _0x466c4c=_0xc7b424;this[_0x466c4c(0x1be)]['delete'](_0x549e69),this[_0x466c4c(0x206)][_0x466c4c(0x211)]({'unitId':_0x549e69});}['dispose'](){const _0x5198be=_0xc7b424;super[_0x5198be(0x17b)](),this[_0x5198be(0x1be)][_0x5198be(0x210)](),this[_0x5198be(0x206)]['complete']();}[_0xc7b424(0x1fd)](_0x50758a,_0x5f1f96,_0x1e957e){const _0x150fb3=_0xc7b424;this[_0x150fb3(0x1be)][_0x150fb3(0x225)](_0x50758a,_0x1e957e),this[_0x150fb3(0x206)][_0x150fb3(0x211)]({'unitId':_0x50758a,'blockId':_0x5f1f96});}};let _0x589e5d={'id':'docs-code.command.insert-below','type':_0x502968[_0xc7b424(0x1d1)]['COMMAND'],'handler':_0x226990=>{const _0x67b17b=_0xc7b424;let _0x1a2835=_0x5da0c8(_0x226990);if(_0x1a2835)return _0x226990[_0x67b17b(0x1df)](_0x502968[_0x67b17b(0x208)])[_0x67b17b(0x1f6)](_0x35b7a5['id'],{'startOffset':_0x1a2835[_0x67b17b(0x21f)],'endOffset':_0x1a2835[_0x67b17b(0x1e5)],'unitId':_0x1a2835['unitId']});let _0x509adf=_0x134e51(_0x226990);if(!_0x509adf)return!0x1;let _0x300d39=_0x509adf[_0x67b17b(0x1fc)]+0x1;return _0x226990[_0x67b17b(0x1df)](_0x502968['ICommandService'])[_0x67b17b(0x1f6)](_0x35b7a5['id'],{'startOffset':_0x300d39,'endOffset':_0x300d39});}},_0x12c9d0={'id':'docs-code.command.consume-boundary-delete','type':_0x502968[_0xc7b424(0x1d1)][_0xc7b424(0x19b)],'handler':()=>!0x0},_0x35b7a5={'id':'docs-code.command.insert','type':_0x502968[_0xc7b424(0x1d1)][_0xc7b424(0x19b)],'handler':(_0x281332,_0x5bd630)=>{const _0x1f6b58=_0xc7b424;var _0x42985f,_0x55eb4a,_0x24d712;let _0x44a053=_0x5c3c81(_0x281332,_0x5bd630==null?void 0x0:_0x5bd630[_0x1f6b58(0x18d)]);if(!_0x44a053)return!0x1;let _0x32cae2=_0x4c1284(_0x281332),_0x24e57e=_0x27dfb9({'blockId':(_0x42985f=_0x5bd630==null?void 0x0:_0x5bd630[_0x1f6b58(0x1bb)])==null?(0x0,_0x502968['generateRandomId'])(0x6):_0x42985f,'config':_0x5bd630==null?void 0x0:_0x5bd630[_0x1f6b58(0x1c9)],'documentData':_0x44a053['previousDocumentData'],'endOffset':(_0x55eb4a=_0x5bd630==null?void 0x0:_0x5bd630['endOffset'])==null?_0x32cae2==null?void 0x0:_0x32cae2[_0x1f6b58(0x1e5)]:_0x55eb4a,'metadata':_0x44a053[_0x1f6b58(0x1ca)]['serialize'](_0x44a053[_0x1f6b58(0x18d)]),'startOffset':(_0x24d712=_0x5bd630==null?void 0x0:_0x5bd630[_0x1f6b58(0x21f)])==null?_0x32cae2==null?void 0x0:_0x32cae2[_0x1f6b58(0x21f)]:_0x24d712}),_0x475f47=_0x2d5036(_0x44a053['commandService'],_0x44a053['unitId'],_0x44a053[_0x1f6b58(0x1f9)],_0x24e57e[_0x1f6b58(0x1a9)],_0x24e57e['cursorOffset']);return _0x475f47&&_0x24e57e[_0x1f6b58(0x21b)]&&_0x44a053[_0x1f6b58(0x1ca)][_0x1f6b58(0x1ab)](_0x44a053[_0x1f6b58(0x18d)],_0x24e57e[_0x1f6b58(0x21b)]),_0x475f47;}},_0x18b1f8={'id':_0xc7b424(0x220),'type':_0x502968[_0xc7b424(0x1d1)][_0xc7b424(0x19b)],'handler':(_0x195175,_0x255965)=>{const _0x427de8=_0xc7b424;if(!_0x255965)return!0x1;let _0x4566e3=_0x5c3c81(_0x195175,_0x255965[_0x427de8(0x18d)]);if(!_0x4566e3)return!0x1;let _0x10ce9a=_0x4eb4f6({'blockId':_0x255965['blockId'],'config':_0x255965[_0x427de8(0x1c9)],'documentData':_0x4566e3[_0x427de8(0x1f9)],'metadata':_0x4566e3[_0x427de8(0x1ca)][_0x427de8(0x207)](_0x4566e3[_0x427de8(0x18d)])});return _0x10ce9a[_0x427de8(0x21b)]&&_0x4566e3[_0x427de8(0x1ca)][_0x427de8(0x1ab)](_0x4566e3[_0x427de8(0x18d)],_0x10ce9a['nextMetadata']),!0x0;}},_0x25c3d6={'id':_0xc7b424(0x1b4),'type':_0x502968[_0xc7b424(0x1d1)][_0xc7b424(0x19b)],'handler':(_0x409e28,_0x5caddd)=>{const _0x236eb0=_0xc7b424;var _0x1288f5,_0x281af9;let _0x3166a3=_0x5c3c81(_0x409e28,_0x5caddd==null?void 0x0:_0x5caddd[_0x236eb0(0x18d)]);if(!_0x3166a3)return!0x1;let _0x51b684=(_0x1288f5=_0x5caddd==null?void 0x0:_0x5caddd[_0x236eb0(0x18c)])==null?(_0x281af9=_0x4c1284(_0x409e28))==null?void 0x0:_0x281af9[_0x236eb0(0x21f)]:_0x1288f5;if(_0x51b684==null)return!0x1;let _0x4a07b2=_0x1a9e29({'cursorOffset':_0x51b684,'documentData':_0x3166a3[_0x236eb0(0x1f9)]});return _0x4a07b2?_0x2d5036(_0x3166a3[_0x236eb0(0x17d)],_0x3166a3['unitId'],_0x3166a3['previousDocumentData'],_0x4a07b2[_0x236eb0(0x1a9)],_0x4a07b2['cursorOffset']):!0x1;}},_0x3e6d34={'id':'docs-code.command.cancel-empty-paragraph','type':_0x502968[_0xc7b424(0x1d1)][_0xc7b424(0x19b)],'handler':(_0x3f1d7b,_0x504304)=>{const _0x3b1b07=_0xc7b424;var _0x243699,_0x5c950d;let _0x50f1dd=_0x5c3c81(_0x3f1d7b,_0x504304==null?void 0x0:_0x504304[_0x3b1b07(0x18d)]);if(!_0x50f1dd)return!0x1;let _0x1c381e=(_0x243699=_0x504304==null?void 0x0:_0x504304[_0x3b1b07(0x18c)])==null?(_0x5c950d=_0x4c1284(_0x3f1d7b))==null?void 0x0:_0x5c950d[_0x3b1b07(0x21f)]:_0x243699;if(_0x1c381e==null)return!0x1;let _0x56b36c=_0x1a8c8c({'cursorOffset':_0x1c381e,'documentData':_0x50f1dd[_0x3b1b07(0x1f9)],'paragraphStartIndex':_0x504304==null?void 0x0:_0x504304[_0x3b1b07(0x1ef)]});return _0x56b36c?_0x2d5036(_0x50f1dd[_0x3b1b07(0x17d)],_0x50f1dd[_0x3b1b07(0x18d)],_0x50f1dd[_0x3b1b07(0x1f9)],_0x56b36c['nextDocumentData'],_0x56b36c[_0x3b1b07(0x18c)]):!0x1;}};function _0x5c3c81(_0x4d7d4a,_0x56292a){const _0x4a7c9e=_0xc7b424;let _0x192d66=_0x4d7d4a[_0x4a7c9e(0x1df)](_0x502968[_0x4a7c9e(0x1d9)]),_0x4fcb80=_0x56292a?_0x192d66[_0x4a7c9e(0x1cb)](_0x56292a):_0x192d66[_0x4a7c9e(0x214)](_0x502968['UniverInstanceType'][_0x4a7c9e(0x1d6)]);return _0x4fcb80?{'commandService':_0x4d7d4a['get'](_0x502968[_0x4a7c9e(0x208)]),'model':_0x4d7d4a[_0x4a7c9e(0x1df)](_0x4ec410),'previousDocumentData':_0x4fcb80[_0x4a7c9e(0x20d)](),'unitId':_0x4fcb80[_0x4a7c9e(0x1ea)]()}:null;}function _0x4c1284(_0x496c97){const _0x2150c3=_0xc7b424;var _0x496f38;return(_0x496f38=_0x496c97['get'](_0x11e891[_0x2150c3(0x1c8)])[_0x2150c3(0x217)]())==null?void 0x0:_0x496f38[0x0];}function _0x5da0c8(_0x184598){const _0x1b175d=_0xc7b424;var _0x5df568;let _0x317c3f=(_0x5df568=_0x184598[_0x1b175d(0x1df)](_0x502968['IUniverInstanceService'])['getCurrentUnitOfType'](_0x502968[_0x1b175d(0x1c2)][_0x1b175d(0x1d6)]))==null?void 0x0:_0x5df568[_0x1b175d(0x1ea)]();try{return _0x184598[_0x1b175d(0x1df)](_0x3a86b1[_0x1b175d(0x1fa)])['consumeInsertRange'](_0x317c3f);}catch{return null;}}function _0x134e51(_0x1a05ef){const _0x2c1015=_0xc7b424;var _0x27da72,_0x396d3e,_0x204965;let _0x188538=_0x4c1284(_0x1a05ef);if(!_0x188538)return null;let _0x429830=_0x1a05ef[_0x2c1015(0x1df)](_0x502968[_0x2c1015(0x1d9)])['getCurrentUnitOfType'](_0x502968[_0x2c1015(0x1c2)][_0x2c1015(0x1d6)]),_0x57fc0e=_0x429830==null?void 0x0:_0x429830[_0x2c1015(0x1ed)]();return _0x57fc0e?(_0x27da72=_0x502968[_0x2c1015(0x20f)][_0x2c1015(0x1e4)][_0x2c1015(0x1f7)](_0x188538,(_0x396d3e=_0x57fc0e[_0x2c1015(0x1ad)])==null?[]:_0x396d3e,(_0x204965=_0x57fc0e[_0x2c1015(0x1d0)])==null?'':_0x204965)[0x0])==null?null:_0x27da72:null;}function _0x3c9545(_0xfedccb,_0x110812){const _0x288801=_0xc7b424;var _0x44d415,_0x3c35ca,_0x1b0a9c,_0x483df2,_0x1495d1,_0xcd4862,_0x249bbd,_0x1a7f0d,_0x41b7c8,_0x3198bf,_0x541e31,_0x43594f,_0x8c4e1e,_0x1c95ac,_0x3ca20b,_0xadc6e9,_0x5c97a3,_0x227244;let _0x4993da=_0x502968['JSONX']['getInstance']();return[_0x331d7(_0x4993da,[_0x288801(0x1e1),'dataStream'],(_0x44d415=_0xfedccb[_0x288801(0x1e1)])==null?void 0x0:_0x44d415[_0x288801(0x1d0)],(_0x3c35ca=_0x110812[_0x288801(0x1e1)])==null?void 0x0:_0x3c35ca[_0x288801(0x1d0)]),_0x331d7(_0x4993da,[_0x288801(0x1e1),_0x288801(0x1ad)],(_0x1b0a9c=_0xfedccb['body'])==null?void 0x0:_0x1b0a9c['paragraphs'],(_0x483df2=_0x110812[_0x288801(0x1e1)])==null?void 0x0:_0x483df2[_0x288801(0x1ad)]),_0x331d7(_0x4993da,['body','sectionBreaks'],(_0x1495d1=_0xfedccb[_0x288801(0x1e1)])==null?void 0x0:_0x1495d1[_0x288801(0x193)],(_0xcd4862=_0x110812['body'])==null?void 0x0:_0xcd4862[_0x288801(0x193)]),_0x331d7(_0x4993da,[_0x288801(0x1e1),_0x288801(0x209)],(_0x249bbd=_0xfedccb[_0x288801(0x1e1)])==null?void 0x0:_0x249bbd[_0x288801(0x209)],(_0x1a7f0d=_0x110812[_0x288801(0x1e1)])==null?void 0x0:_0x1a7f0d[_0x288801(0x209)]),_0x331d7(_0x4993da,[_0x288801(0x1e1),'customBlocks'],(_0x41b7c8=_0xfedccb[_0x288801(0x1e1)])==null?void 0x0:_0x41b7c8[_0x288801(0x205)],(_0x3198bf=_0x110812[_0x288801(0x1e1)])==null?void 0x0:_0x3198bf['customBlocks']),_0x331d7(_0x4993da,[_0x288801(0x1e1),'customRanges'],(_0x541e31=_0xfedccb[_0x288801(0x1e1)])==null?void 0x0:_0x541e31[_0x288801(0x186)],(_0x43594f=_0x110812[_0x288801(0x1e1)])==null?void 0x0:_0x43594f[_0x288801(0x186)]),_0x331d7(_0x4993da,['body',_0x288801(0x19a)],(_0x8c4e1e=_0xfedccb[_0x288801(0x1e1)])==null?void 0x0:_0x8c4e1e['customDecorations'],(_0x1c95ac=_0x110812[_0x288801(0x1e1)])==null?void 0x0:_0x1c95ac[_0x288801(0x19a)]),_0x331d7(_0x4993da,[_0x288801(0x1e1),_0x288801(0x199)],(_0x3ca20b=_0xfedccb[_0x288801(0x1e1)])==null?void 0x0:_0x3ca20b[_0x288801(0x199)],(_0xadc6e9=_0x110812['body'])==null?void 0x0:_0xadc6e9[_0x288801(0x199)]),_0x331d7(_0x4993da,['body',_0x288801(0x1cf)],(_0x5c97a3=_0xfedccb['body'])==null?void 0x0:_0x5c97a3[_0x288801(0x1cf)],(_0x227244=_0x110812[_0x288801(0x1e1)])==null?void 0x0:_0x227244[_0x288801(0x1cf)])][_0x288801(0x223)](Boolean)[_0x288801(0x18f)]((_0x514ac4,_0x365f33)=>_0x502968[_0x288801(0x1ba)][_0x288801(0x1f4)](_0x514ac4,_0x365f33),null);}function _0x331d7(_0x468bd4,_0x1116a3,_0x58c4b6,_0x261d89){const _0x2b898e=_0xc7b424;return _0x502968['Tools'][_0x2b898e(0x17e)](_0x58c4b6,_0x261d89)?null:_0x468bd4[_0x2b898e(0x189)](_0x1116a3,_0x58c4b6,_0x261d89);}function _0x2d5036(_0x4b5b50,_0x2f95e5,_0x31450a,_0x464853,_0x105bde){const _0x128bf1=_0xc7b424;let _0x2f8c74=_0x3c9545(_0x31450a,_0x464853);return _0x2f8c74?!!_0x4b5b50['syncExecuteCommand'](_0x11e891[_0x128bf1(0x202)]['id'],{'unitId':_0x2f95e5,'actions':_0x2f8c74,'textRanges':[{'startOffset':_0x105bde,'endOffset':_0x105bde,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var _0x15db7a='@univerjs-pro/docs-code',_0x457eb0='0.25.0';let _0x2d0fe8={};function _0x412bca(_0x67cb5f,_0x4b20a2){return function(_0x1c30e1,_0x2be7db){_0x4b20a2(_0x1c30e1,_0x2be7db,_0x67cb5f);};}function _0x1c3db1(_0x107894,_0x5790c0,_0x4fb98e,_0x428024){const _0x575b2d=_0xc7b424;var _0x743bbd=arguments[_0x575b2d(0x195)],_0x3986c1=_0x743bbd<0x3?_0x5790c0:_0x428024===null?_0x428024=Object[_0x575b2d(0x1c1)](_0x5790c0,_0x4fb98e):_0x428024,_0x2aef4e;if(typeof Reflect==_0x575b2d(0x18a)&&typeof Reflect[_0x575b2d(0x19e)]==_0x575b2d(0x1cd))_0x3986c1=Reflect['decorate'](_0x107894,_0x5790c0,_0x4fb98e,_0x428024);else{for(var _0x5b2f48=_0x107894[_0x575b2d(0x195)]-0x1;_0x5b2f48>=0x0;_0x5b2f48--)(_0x2aef4e=_0x107894[_0x5b2f48])&&(_0x3986c1=(_0x743bbd<0x3?_0x2aef4e(_0x3986c1):_0x743bbd>0x3?_0x2aef4e(_0x5790c0,_0x4fb98e,_0x3986c1):_0x2aef4e(_0x5790c0,_0x4fb98e))||_0x3986c1);}return _0x743bbd>0x3&&_0x3986c1&&Object[_0x575b2d(0x20c)](_0x5790c0,_0x4fb98e,_0x3986c1),_0x3986c1;}let _0x3a03b3=class extends _0x502968[_0xc7b424(0x21a)]{constructor(_0x72c695,_0x2b6bd3){const _0x3700f7=_0xc7b424;super(),this['_resourceManagerService']=_0x72c695,this['_docsCodeModel']=_0x2b6bd3,this[_0x3700f7(0x1bc)]();}[_0xc7b424(0x1bc)](){const _0x31a953=_0xc7b424;this[_0x31a953(0x1ae)](this['_resourceManagerService'][_0x31a953(0x1d8)]({'pluginName':_0x21baa0,'businesses':[_0x502968[_0x31a953(0x1c2)][_0x31a953(0x1d6)]],'toJson':_0x507c9a=>JSON[_0x31a953(0x1d7)](this[_0x31a953(0x1ee)]['serialize'](_0x507c9a)),'parseJson':_0x36633e=>_0x2d555f(JSON[_0x31a953(0x200)](_0x36633e)),'onLoad':(_0x2afb9b,_0x171267)=>this[_0x31a953(0x1ee)]['deserialize'](_0x2afb9b,_0x171267),'onUnLoad':_0x5e580f=>this[_0x31a953(0x1ee)][_0x31a953(0x201)](_0x5e580f)}));}};_0x3a03b3=_0x1c3db1([_0x412bca(0x0,_0x502968[_0xc7b424(0x191)]),_0x412bca(0x1,(0x0,_0x502968[_0xc7b424(0x197)])(_0x4ec410))],_0x3a03b3);let _0x453a62=class extends _0x502968['Plugin']{constructor(_0x39c0bc=_0x2d0fe8,_0xeb4bb6,_0x48dce1,_0xa13968){const _0xa895aa=_0xc7b424;super(),this[_0xa895aa(0x21e)]=_0x39c0bc,this[_0xa895aa(0x1a0)]=_0xeb4bb6,this[_0xa895aa(0x1aa)]=_0x48dce1,this[_0xa895aa(0x222)]=_0xa13968;let {..._0x4eaf03}=(0x0,_0x502968[_0xa895aa(0x192)])({},_0x2d0fe8,this[_0xa895aa(0x21e)]);this[_0xa895aa(0x222)][_0xa895aa(0x1a2)]('docs-code.config',_0x4eaf03);}[_0xc7b424(0x1a5)](){const _0x1061a1=_0xc7b424;this[_0x1061a1(0x1a0)][_0x1061a1(0x1f3)]([_0x4ec410]),this[_0x1061a1(0x1a0)][_0x1061a1(0x1f3)]([_0x3a03b3]),this[_0x1061a1(0x1a0)][_0x1061a1(0x1df)](_0x4ec410),this[_0x1061a1(0x1a0)][_0x1061a1(0x1df)](_0x3a03b3),[_0x35b7a5,_0x589e5d,_0x18b1f8,_0x25c3d6,_0x3e6d34,_0x12c9d0]['forEach'](_0x2675f4=>this['disposeWithMe'](this['_commandService']['registerCommand'](_0x2675f4)));}};_0x2ec956(_0x453a62,_0xc7b424(0x1da),_0x21baa0),_0x2ec956(_0x453a62,_0xc7b424(0x212),_0x15db7a),_0x2ec956(_0x453a62,_0xc7b424(0x1f1),_0x457eb0),_0x2ec956(_0x453a62,_0xc7b424(0x1ec),_0x502968[_0xc7b424(0x1c2)]['UNIVER_DOC']),_0x453a62=_0x1c3db1([(0x0,_0x502968['DependentOn'])(_0x1fa1bc['UniverLicensePlugin'],_0x11e891['UniverDocsPlugin']),_0x412bca(0x1,(0x0,_0x502968[_0xc7b424(0x197)])(_0x502968[_0xc7b424(0x20e)])),_0x412bca(0x2,_0x502968[_0xc7b424(0x208)]),_0x412bca(0x3,_0x502968['IConfigService'])],_0x453a62),_0x663cc5['DEFAULT_CODE_CONFIG']=_0x4ed02f,_0x663cc5[_0xc7b424(0x19c)]=_0xa94bdd,_0x663cc5[_0xc7b424(0x180)]=_0x21baa0,_0x663cc5[_0xc7b424(0x196)]=_0x3e6d34,_0x663cc5[_0xc7b424(0x1b3)]=_0x12c9d0,_0x663cc5[_0xc7b424(0x1d4)]=_0x25c3d6,_0x663cc5[_0xc7b424(0x1c7)]=_0x589e5d,_0x663cc5[_0xc7b424(0x1b2)]=_0x35b7a5,_0x663cc5[_0xc7b424(0x21d)]=_0x4ec410,_0x663cc5[_0xc7b424(0x213)]=_0x18b1f8,Object[_0xc7b424(0x20c)](_0x663cc5,_0xc7b424(0x1b0),{'enumerable':!0x0,'get':function(){return _0x453a62;}}),_0x663cc5['buildCancelEmptyCodeParagraphActions']=_0x1a8c8c,_0x663cc5[_0xc7b424(0x1ce)]=_0x1a9e29,_0x663cc5[_0xc7b424(0x184)]=_0x27dfb9,_0x663cc5[_0xc7b424(0x1ff)]=_0x4eb4f6,_0x663cc5[_0xc7b424(0x1a8)]=_0x4025d9,_0x663cc5['isCodeBoundaryDelete']=_0x271dd6,_0x663cc5[_0xc7b424(0x1b6)]=_0x31d2c8;}));
|
|
1
|
+
function _0x1f0a(_0x330750,_0x55d101){_0x330750=_0x330750-0xe7;const _0x1d9db1=_0x1d9d();let _0x1f0ad8=_0x1d9db1[_0x330750];return _0x1f0ad8;}function _0x1d9d(){const _0x1064ba=['_change$','onStarting','Injector','startOffset','_config','commandService','dispose','docs-code.config','previousDocumentData','left','222736lYqzyY','length','UniverProLicense','4wuuBMl','range','decorate','get','entries','find','next','_docsCodeModel','endsWith','paragraphs','endTokenOffset','packageName','constructor','sectionBreaks','string','getUnitId','4182673UTBBLs','UniverDocsUi','SECTION_BREAK','_initResource','@univerjs/docs','startIndex','DataStreamTreeTokenType','10655592dqROds','RichTextEditingMutation','amd','BLOCK_END','javascript','DocsCodeExitCommand','DocsCodeCancelEmptyParagraphCommand','getInstance','customDecorations','registerPluginResource','Tools','Document\x20body\x20is\x20required','BuildTextUtils','dataStream','docs-code.command.insert','_configService','UniverProDocsCode','filter','object','docs-code.command.insert-below','forEach','max','paragraph','_injector','spaceBelow','@univerjs/core','CommandType','version','endIndex','PARAGRAPH','customBlocks','default','stringify','defineProperty','removeCode','IResourceManagerService','paragraphStartIndex','unitId','merge','306808ihhWMt','getCurrentUnitOfType','reduce','every','_setResource','add','getParagraphsInRange','rxjs','join','IUniverInstanceService','nextDocumentData','syncExecuteCommand','3IQfWlf','DocsCodeUpdateCommand','19014zSvDLX','body','registerCommand','map','COMMAND','indentStart','change$','customRanges','diffValue','Subject','fromEntries','model','getUniverDocInstance','getTextRanges','normalizeDocsCodeConfig','DocContentInsertService','min','_resourceManagerService','deserialize','JSONX','buildInsertCodeActions','docs-code.command.update','symbol','DependentOn','endOffset','cursorOffset','UniverDocsPlugin','UNIVER_DOC','metadata','documentData','indentEnd','1506204pPPvst','DOCS_CODE_BLOCK_TYPE','sort','UniverDocs','UniverDocsCodePlugin','docs-code.command.consume-boundary-delete','compose','UniverInstanceType','toPrimitive','_resources','textStyle','setCodeConfig','buildCancelEmptyCodeParagraphActions','paragraphStyle','call','UniverCore','@univerjs-pro/license','right','tables','415JSqvtO','function','code','getOwnPropertyDescriptor','indexOf','direction','config','docs-code.command.exit','BLOCK_START','pluginName','deepClone','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','from','DocsCodeInsertBelowCommand','@univerjs-pro/docs-code','complete','codes','prototype','ICommandService','Plugin','_commandService','type','slice','blockType','blockId','DocsCodeInsertCommand','Inject','0.25.2','blockRanges','10VxJDtR','setConfig','getBody','Disposable','nextMetadata','textRuns','disposeWithMe','spaceAbove','some','14nUgyOP','serialize','monospace','removeUnit','78362XdVTRe','exports','parse','replaceOp','DocsCodeConsumeBoundaryDeleteCommand','set'];_0x1d9d=function(){return _0x1064ba;};return _0x1d9d();}(function(_0x4dcf61,_0x474daa){const _0x4afcfd=_0x1f0a,_0x47f393=_0x4dcf61();while(!![]){try{const _0x52bf12=parseInt(_0x4afcfd(0x150))/0x1*(-parseInt(_0x4afcfd(0x163))/0x2)+-parseInt(_0x4afcfd(0xf2))/0x3*(parseInt(_0x4afcfd(0x1a1))/0x4)+-parseInt(_0x4afcfd(0x126))/0x5*(parseInt(_0x4afcfd(0xf4))/0x6)+parseInt(_0x4afcfd(0x14c))/0x7*(parseInt(_0x4afcfd(0x160))/0x8)+parseInt(_0x4afcfd(0x113))/0x9+parseInt(_0x4afcfd(0x143))/0xa*(-parseInt(_0x4afcfd(0x173))/0xb)+parseInt(_0x4afcfd(0x17a))/0xc;if(_0x52bf12===_0x474daa)break;else _0x47f393['push'](_0x47f393['shift']());}catch(_0x448c65){_0x47f393['push'](_0x47f393['shift']());}}}(_0x1d9d,0x39346),function(_0x34e27f,_0x416b15){const _0x29874c=_0x1f0a;typeof exports=='object'&&typeof module<'u'?_0x416b15(exports,require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x29874c(0x17c)]?define([_0x29874c(0x151),_0x29874c(0x193),_0x29874c(0x177),'@univerjs/docs-ui',_0x29874c(0xed),_0x29874c(0x123)],_0x416b15):(_0x34e27f=typeof globalThis<'u'?globalThis:_0x34e27f||self,_0x416b15(_0x34e27f[_0x29874c(0x18a)]={},_0x34e27f[_0x29874c(0x122)],_0x34e27f[_0x29874c(0x116)],_0x34e27f[_0x29874c(0x174)],_0x34e27f[_0x29874c(0xed)],_0x34e27f[_0x29874c(0x162)]));}(this,function(_0x56eaec,_0x4dd43d,_0x69c527,_0x1b5a72,_0x135813,_0x25de4d){const _0x1e488b=_0x1f0a;Object['defineProperty'](_0x56eaec,Symbol['toStringTag'],{'value':'Module'});let _0x198161='DOC_CODE_PLUGIN',_0x4784aa=_0x1e488b(0x128),_0x5884f7={'language':_0x1e488b(0x17e),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x10fe38(_0x413771){return{..._0x5884f7,..._0x413771};}function _0x469a55(_0x26514e){const _0x2b8537=_0x1e488b;var _0x8ac186;let _0x17f5f7=(_0x8ac186=_0x26514e==null?void 0x0:_0x26514e[_0x2b8537(0x136)])==null?{}:_0x8ac186;return{'codes':Object[_0x2b8537(0xfe)](Object[_0x2b8537(0x167)](_0x17f5f7)[_0x2b8537(0xf7)](([_0x454fe9,_0x20ef1c])=>[_0x454fe9,_0x10fe38(_0x20ef1c)]))};}function _0x3b023b(_0x11ee12,_0x46fdfe,_0x44dfaf){const _0x112304=_0x1e488b;let _0x4930dd=_0x469a55(_0x11ee12);return _0x4930dd[_0x112304(0x136)][_0x46fdfe]=_0x10fe38({..._0x4930dd[_0x112304(0x136)][_0x46fdfe],..._0x44dfaf}),_0x4930dd;}function _0x3515a7(_0x3e4874,_0x35e177){let _0x415e42=_0x469a55(_0x3e4874);return delete _0x415e42['codes'][_0x35e177],_0x415e42;}let _0x55c85e=_0x1e488b(0x14e);function _0x3a347b(_0x4650eb){const _0x406fb7=_0x1e488b;var _0x1c2d74,_0x4df47b,_0x462dde;let _0x5ca4f1=_0x478790(_0x4650eb[_0x406fb7(0x111)]),_0x25de27=_0x16af19(_0x5ca4f1),_0xc56885=_0x1bec01(_0x4650eb[_0x406fb7(0x159)],_0x4650eb[_0x406fb7(0x10c)]),_0x56e05a=_0xc56885?(_0x1c2d74=_0x25de27[_0x406fb7(0x142)])==null?void 0x0:_0x1c2d74[_0x406fb7(0x168)](_0x424e6d=>_0x424e6d['startIndex']===_0xc56885[_0x406fb7(0x159)]&&_0x424e6d['endIndex']+0x1===_0xc56885[_0x406fb7(0x10c)]):void 0x0,{startOffset:_0x24ce90,endOffset:_0x1f974e}=_0x56e05a?_0xc56885:_0x5b625f(_0x25de27,_0x4650eb[_0x406fb7(0x159)],_0x4650eb[_0x406fb7(0x10c)]),_0x183d1e=_0x42f605(_0x25de27,_0x24ce90,_0x1f974e),_0x286cad=(_0x4df47b=_0x56e05a==null?void 0x0:_0x56e05a['blockId'])==null?_0x4650eb[_0x406fb7(0x13e)]:_0x4df47b,_0x246269=_0x3b023b(_0x4650eb[_0x406fb7(0x110)],_0x286cad,{..._0x5884f7,..._0x4650eb[_0x406fb7(0x12c)]});if(_0x56e05a)return _0x56e05a[_0x406fb7(0x13d)]=_0x4784aa,_0x448f22(_0x25de27,_0x24ce90,_0x1f974e),_0x2d4f45(_0x25de27,_0x24ce90,_0x1f974e,_0x183d1e),{'nextDocumentData':_0x5ca4f1,'nextMetadata':_0x246269,'cursorOffset':_0x24ce90+0x1};if(_0x24ce90===_0x1f974e){let _0x3fae45=''+_0x4dd43d[_0x406fb7(0x179)]['BLOCK_START']+_0x4dd43d['DataStreamTreeTokenType'][_0x406fb7(0x197)]+_0x4dd43d[_0x406fb7(0x179)][_0x406fb7(0x17d)];return _0x261bcd(_0x25de27,_0x24ce90,_0x3fae45,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':_0x2cc849(!0x0,!0x0,_0x183d1e)}],'blockRanges':[{'blockId':_0x286cad,'blockType':_0x4784aa,'startIndex':0x0,'endIndex':_0x3fae45[_0x406fb7(0x161)]-0x1}]}),{'nextDocumentData':_0x5ca4f1,'nextMetadata':_0x246269,'cursorOffset':_0x24ce90+0x1};}return _0x261bcd(_0x25de27,_0x1f974e,_0x4dd43d[_0x406fb7(0x179)][_0x406fb7(0x17d)]),_0x261bcd(_0x25de27,_0x24ce90,_0x4dd43d[_0x406fb7(0x179)][_0x406fb7(0x12e)]),_0x2d4f45(_0x25de27,_0x24ce90,_0x1f974e+0x1,_0x183d1e),_0x25de27['blockRanges']=[...(_0x462dde=_0x25de27[_0x406fb7(0x142)])==null?[]:_0x462dde,{'blockId':_0x286cad,'blockType':_0x4784aa,'startIndex':_0x24ce90,'endIndex':_0x1f974e+0x1}][_0x406fb7(0x115)]((_0x4d1750,_0x34e6bd)=>_0x4d1750[_0x406fb7(0x178)]-_0x34e6bd['startIndex']),{'nextDocumentData':_0x5ca4f1,'nextMetadata':_0x246269,'cursorOffset':_0x24ce90+0x1};}function _0x448f22(_0x1b863c,_0x551e93,_0xc9dc3b){const _0x49aac0=_0x1e488b;var _0x5a4ba1;((_0x5a4ba1=_0x1b863c[_0x49aac0(0x16c)])==null?[]:_0x5a4ba1)[_0x49aac0(0x18b)](_0x42de37=>_0x42de37[_0x49aac0(0x178)]>_0x551e93&&_0x42de37[_0x49aac0(0x178)]<_0xc9dc3b)[_0x49aac0(0x18e)](_0x5e5dd4=>{const _0x38d215=_0x49aac0;var _0xb76b17;let _0x5edf96={...(_0xb76b17=_0x5e5dd4[_0x38d215(0x120)])==null?{}:_0xb76b17};delete _0x5edf96[_0x38d215(0x14a)],delete _0x5edf96['spaceBelow'],_0x5e5dd4[_0x38d215(0x120)]=_0x5edf96;});}function _0x1bec01(_0x290548,_0x4b8ae1){const _0x2e3a0f=_0x1e488b;return _0x290548==null||_0x4b8ae1==null||_0x290548===_0x4b8ae1?null:{'startOffset':Math[_0x2e3a0f(0x104)](_0x290548,_0x4b8ae1),'endOffset':Math[_0x2e3a0f(0x18f)](_0x290548,_0x4b8ae1)};}function _0x44e843(_0x29e294){const _0x433f9e=_0x1e488b;return{'nextDocumentData':_0x478790(_0x29e294['documentData']),'nextMetadata':_0x3b023b(_0x29e294[_0x433f9e(0x110)],_0x29e294['blockId'],_0x29e294['config']),'cursorOffset':0x0};}function _0x348164(_0x4af7ef){const _0x25243b=_0x1e488b;var _0x120c33,_0x1d84c2;let _0x5130c1=_0x478790(_0x4af7ef[_0x25243b(0x111)]),_0x54a6bf=_0x16af19(_0x5130c1),_0x3d8d3b=_0x4ea6cb(_0x54a6bf,_0x4af7ef[_0x25243b(0x10d)]);if(!_0x3d8d3b)return null;let _0x6fa49a=_0x2cfc5a(_0x54a6bf,_0x3d8d3b),_0x4480b0=_0x6fa49a[_0x6fa49a[_0x25243b(0x161)]-0x1];if(!_0x4480b0||!_0x251757(_0x54a6bf,_0x3d8d3b,_0x4480b0)||_0x4af7ef['cursorOffset']<_0x4480b0[_0x25243b(0x178)])return null;let _0x253b4f=_0x48767e(_0x54a6bf,_0x3d8d3b,_0x4480b0);if(_0x253b4f>=_0x3d8d3b[_0x25243b(0x196)])return null;_0x54a6bf['dataStream']=[_0x54a6bf['dataStream']['slice'](0x0,_0x253b4f),_0x4dd43d[_0x25243b(0x179)][_0x25243b(0x17d)],_0x54a6bf[_0x25243b(0x187)][_0x25243b(0x13c)](_0x253b4f,_0x3d8d3b[_0x25243b(0x196)]),_0x54a6bf[_0x25243b(0x187)][_0x25243b(0x13c)](_0x3d8d3b['endIndex']+0x1)][_0x25243b(0xee)](''),_0xd1a375(_0x54a6bf[_0x25243b(0x16c)],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),_0xd1a375(_0x54a6bf['sectionBreaks'],_0x253b4f,_0x3d8d3b['endIndex'],0x1),_0xd1a375(_0x54a6bf[_0x25243b(0x198)],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),_0x46c24f(_0x54a6bf[_0x25243b(0x148)],_0x253b4f,_0x3d8d3b['endIndex'],0x1),_0x7567ff(_0x54a6bf['tables'],_0x253b4f,_0x3d8d3b['endIndex'],0x1),_0x7567ff(_0x54a6bf['customRanges'],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),_0x7567ff(_0x54a6bf[_0x25243b(0x182)],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),(_0x120c33=_0x54a6bf[_0x25243b(0x142)])==null||_0x120c33[_0x25243b(0x18e)](_0x292168=>{const _0x1bfb62=_0x25243b;_0x292168===_0x3d8d3b||_0x292168['blockId']===_0x3d8d3b[_0x1bfb62(0x13e)]?_0x292168[_0x1bfb62(0x196)]=_0x253b4f:_0x292168[_0x1bfb62(0x178)]>=_0x253b4f&&_0x292168['startIndex']<_0x3d8d3b[_0x1bfb62(0x196)]&&(_0x292168[_0x1bfb62(0x178)]+=0x1,_0x292168[_0x1bfb62(0x196)]+=0x1);});let _0x290c06=_0x2cfc5a(_0x54a6bf,{..._0x3d8d3b,'endIndex':_0x253b4f});_0x290c06[_0x25243b(0x18e)]((_0x16b62e,_0x279b38)=>{const _0x2d2233=_0x25243b;var _0x3fc0e9;_0x16b62e[_0x2d2233(0x120)]={...(_0x3fc0e9=_0x16b62e[_0x2d2233(0x120)])==null?{}:_0x3fc0e9,..._0x2cc849(_0x279b38===0x0,_0x279b38===_0x290c06['length']-0x1)};});let _0x268271=(_0x1d84c2=_0x54a6bf[_0x25243b(0x16c)])==null?void 0x0:_0x1d84c2[_0x25243b(0x168)](_0x3a5724=>_0x3a5724[_0x25243b(0x178)]===_0x253b4f+0x1);return _0x268271&&(_0x268271['paragraphStyle']=_0x162668(_0x268271[_0x25243b(0x120)])),{'nextDocumentData':_0x5130c1,'cursorOffset':_0x253b4f+0x1};}function _0x49a1b3(_0x21b357){const _0x505f28=_0x1e488b;let _0x3d2a87=_0x478790(_0x21b357['documentData']),_0x583760=_0x16af19(_0x3d2a87),_0x20c948=_0x4ea6cb(_0x583760,_0x21b357[_0x505f28(0x10d)]);return _0x20c948&&_0x568744(_0x3d2a87,_0x583760,_0x20c948,_0x21b357[_0x505f28(0x10d)],_0x21b357[_0x505f28(0x19e)])||null;}function _0x568744(_0x19db0c,_0x2fa187,_0x5d88ac,_0xec140d,_0x6fb00b){const _0x45e445=_0x1e488b;let _0x424119=_0x543be0(_0x2fa187,_0x5d88ac,_0xec140d,_0x6fb00b);if(!_0x424119)return null;let _0x432a15=_0x424119[_0x45e445(0x16d)]-0x1;return _0x3bdb15(_0x2fa187,_0x424119[_0x45e445(0x190)][_0x45e445(0x178)],_0x424119[_0x45e445(0x190)][_0x45e445(0x178)]+0x1),{'nextDocumentData':_0x19db0c,'cursorOffset':_0x432a15};}function _0x1ef2e9(_0x467629,_0x500a37){const _0x351b9f=_0x1e488b;var _0x2db496;return _0x467629==null||(_0x2db496=_0x467629[_0x351b9f(0x142)])==null?void 0x0:_0x2db496['find'](_0x287dfb=>_0x287dfb[_0x351b9f(0x13d)]==='code'&&_0x287dfb['startIndex']<=_0x500a37&&_0x500a37<=_0x287dfb[_0x351b9f(0x196)]);}function _0x522134(_0x466e85){const _0x5b6bd4=_0x1e488b;var _0x250efc;let _0x30de07=_0x466e85[_0x5b6bd4(0x111)][_0x5b6bd4(0xf5)];if(!_0x30de07)return!0x1;let _0x5916f1=_0x466e85[_0x5b6bd4(0x12b)]===_0x5b6bd4(0x15f)?_0x466e85[_0x5b6bd4(0x10d)]-0x1:_0x466e85[_0x5b6bd4(0x10d)],_0xe359b3=_0x466e85[_0x5b6bd4(0x12b)]===_0x5b6bd4(0x124)?_0x466e85[_0x5b6bd4(0x10d)]+0x1:_0x5916f1;return((_0x250efc=_0x30de07[_0x5b6bd4(0x142)])==null?[]:_0x250efc)[_0x5b6bd4(0x14b)](_0x1c82d9=>_0x1c82d9[_0x5b6bd4(0x13d)]===_0x5b6bd4(0x128)?_0x5916f1===_0x1c82d9[_0x5b6bd4(0x178)]||_0x5916f1===_0x1c82d9[_0x5b6bd4(0x196)]||_0xe359b3===_0x1c82d9[_0x5b6bd4(0x178)]||_0xe359b3===_0x1c82d9[_0x5b6bd4(0x196)]:!0x1);}function _0x4ea6cb(_0x2d6c1e,_0x5c74f6){const _0x3fef47=_0x1e488b;var _0x2065d3;return(_0x2065d3=_0x2d6c1e[_0x3fef47(0x142)])==null?void 0x0:_0x2065d3[_0x3fef47(0x168)](_0x16eb1d=>{const _0x25d5c9=_0x3fef47;let _0x4d0bef=_0x464ce5(_0x2d6c1e,_0x16eb1d);return _0x16eb1d[_0x25d5c9(0x13d)]===_0x25d5c9(0x128)&&_0x16eb1d[_0x25d5c9(0x178)]<=_0x5c74f6&&_0x5c74f6<=_0x4d0bef+0x2;});}function _0x2cc849(_0x198452,_0x3c54a2,_0x2b585a=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x198452&&_0x2b585a?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x55c85e,'fs':0xc}};}function _0x2d4f45(_0x3969da,_0x5de069,_0x37ef8f,_0x2cadc2=!0x1){const _0xe04c0=_0x1e488b;var _0x29c197;let _0x5e1e72=((_0x29c197=_0x3969da[_0xe04c0(0x16c)])==null?[]:_0x29c197)['filter'](_0x94d338=>_0x94d338[_0xe04c0(0x178)]>_0x5de069&&_0x94d338['startIndex']<_0x37ef8f);_0x5e1e72[_0xe04c0(0x18e)]((_0x5d8735,_0x407205)=>{const _0x205e35=_0xe04c0;var _0x9ebc2b;_0x5d8735[_0x205e35(0x120)]={...(_0x9ebc2b=_0x5d8735[_0x205e35(0x120)])==null?{}:_0x9ebc2b,..._0x2cc849(_0x407205===0x0,_0x407205===_0x5e1e72[_0x205e35(0x161)]-0x1,_0x2cadc2)};});}function _0x162668(_0x218b77){const _0x169247=_0x1e488b;var _0x416f27,_0x185a58;let _0x5c6f9d={..._0x218b77==null?{}:_0x218b77};return delete _0x5c6f9d[_0x169247(0x112)],delete _0x5c6f9d[_0x169247(0xf9)],delete _0x5c6f9d[_0x169247(0x14a)],delete _0x5c6f9d[_0x169247(0x192)],((_0x416f27=_0x5c6f9d[_0x169247(0x11d)])==null?void 0x0:_0x416f27['ff'])===_0x55c85e&&((_0x185a58=_0x5c6f9d[_0x169247(0x11d)])==null?void 0x0:_0x185a58['fs'])===0xc&&delete _0x5c6f9d[_0x169247(0x11d)],_0x5c6f9d;}function _0x2cfc5a(_0x21d440,_0x3cc8c4){const _0x1cc7b4=_0x1e488b;var _0xca9166;let _0x161b5b=_0x464ce5(_0x21d440,_0x3cc8c4);return((_0xca9166=_0x21d440[_0x1cc7b4(0x16c)])==null?[]:_0xca9166)[_0x1cc7b4(0x18b)](_0xa5d934=>_0xa5d934[_0x1cc7b4(0x178)]>_0x3cc8c4['startIndex']&&_0xa5d934['startIndex']<_0x161b5b);}function _0x251757(_0x2687d0,_0x421414,_0x15b089){const _0x551ee6=_0x1e488b;let _0x54ecad=_0x48767e(_0x2687d0,_0x421414,_0x15b089),_0x4d81f3=_0x2687d0['dataStream'][_0x551ee6(0x13c)](_0x54ecad,_0x15b089['startIndex']);return Array[_0x551ee6(0x132)](_0x4d81f3)[_0x551ee6(0xe9)](_0x534c64=>_0x534c64===_0x4dd43d[_0x551ee6(0x179)][_0x551ee6(0x12e)]||_0x534c64===_0x4dd43d['DataStreamTreeTokenType'][_0x551ee6(0x17d)]);}function _0x478790(_0xb20f24){const _0x587c6d=_0x1e488b;return _0x4dd43d[_0x587c6d(0x184)][_0x587c6d(0x130)](_0xb20f24);}function _0x16af19(_0x53d4f0){const _0x51100e=_0x1e488b;if(!_0x53d4f0[_0x51100e(0xf5)])throw Error(_0x51100e(0x185));return _0x53d4f0[_0x51100e(0xf5)];}function _0x5b625f(_0x942d5,_0x554947,_0x4533a6){if(_0x554947==null||_0x4533a6==null){let _0x1fe308=_0x7518bc(_0x942d5);return{'startOffset':_0x1fe308,'endOffset':_0x1fe308};}let _0x583603=Math['min'](_0x554947,_0x4533a6),_0x4e21c5=Math['max'](_0x554947,_0x4533a6);return _0x583603===_0x4e21c5?{'startOffset':_0x583603,'endOffset':_0x583603}:_0x3cf9a7(_0x942d5,_0x583603,_0x4e21c5);}function _0x7518bc(_0x51f798){const _0x27c67d=_0x1e488b;return _0x51f798[_0x27c67d(0x187)][_0x27c67d(0x16b)](_0x4dd43d[_0x27c67d(0x179)][_0x27c67d(0x175)])?Math[_0x27c67d(0x18f)](0x0,_0x51f798[_0x27c67d(0x187)][_0x27c67d(0x161)]-0x1):_0x51f798['dataStream']['length'];}function _0x42f605(_0x41c964,_0x360584,_0x166039){const _0x435c80=_0x1e488b;var _0x3d9aca;let _0x561cfc=Math['min'](_0x360584,_0x166039),_0x4832d2=Math[_0x435c80(0x18f)](_0x360584,_0x166039);return!!((_0x3d9aca=_0x41c964[_0x435c80(0x125)])!=null&&_0x3d9aca['some'](_0xcb93a3=>_0x561cfc>_0xcb93a3[_0x435c80(0x178)]&&_0x561cfc<_0xcb93a3['endIndex']||_0x4832d2>_0xcb93a3[_0x435c80(0x178)]&&_0x4832d2<_0xcb93a3[_0x435c80(0x196)]||_0x561cfc<=_0xcb93a3[_0x435c80(0x178)]&&_0x4832d2>=_0xcb93a3[_0x435c80(0x196)]));}function _0x3cf9a7(_0x3c1921,_0x18dec7,_0x5b6adf){const _0x333000=_0x1e488b;var _0x2c76de,_0x30f1c6;let _0x577d0c=[...(_0x2c76de=_0x3c1921[_0x333000(0x16c)])==null?[]:_0x2c76de][_0x333000(0x115)]((_0x195d5a,_0x21fbda)=>_0x195d5a[_0x333000(0x178)]-_0x21fbda[_0x333000(0x178)]),_0x5bd7dc=_0x577d0c[_0x333000(0x168)]((_0x4e0225,_0x2cd277)=>(_0x2cd277===0x0?0x0:_0x577d0c[_0x2cd277-0x1][_0x333000(0x178)]+0x1)<=_0x18dec7&&_0x18dec7<=_0x4e0225['startIndex']),_0x33d4aa=(_0x30f1c6=_0x577d0c['find'](_0x3888aa=>_0x3888aa[_0x333000(0x178)]>=_0x5b6adf-0x1))==null?_0x577d0c[_0x577d0c[_0x333000(0x161)]-0x1]:_0x30f1c6;return{'startOffset':_0x5bd7dc?_0x16780d(_0x577d0c,_0x5bd7dc):_0x18dec7,'endOffset':_0x33d4aa?_0x33d4aa[_0x333000(0x178)]+0x1:_0x5b6adf};}function _0x16780d(_0xeddc6f,_0x5a8285){const _0x4dcc46=_0x1e488b;let _0x1a079d=_0xeddc6f[_0x4dcc46(0x12a)](_0x5a8285);return _0x1a079d>0x0?_0xeddc6f[_0x1a079d-0x1][_0x4dcc46(0x178)]+0x1:0x0;}function _0x48767e(_0x662595,_0x19d2d7,_0x1e81ff){const _0x408a97=_0x1e488b;var _0x350598;return Math[_0x408a97(0x18f)](_0x16780d((_0x350598=_0x662595[_0x408a97(0x16c)])==null?[]:_0x350598,_0x1e81ff),_0x19d2d7[_0x408a97(0x178)]+0x1);}function _0x464ce5(_0x5826b4,_0xf55040){const _0x3802b0=_0x1e488b;return _0x5826b4[_0x3802b0(0x187)][_0xf55040[_0x3802b0(0x196)]]===_0x4dd43d[_0x3802b0(0x179)][_0x3802b0(0x17d)]?_0xf55040[_0x3802b0(0x196)]:_0x5826b4['dataStream'][_0xf55040[_0x3802b0(0x196)]+0x1]===_0x4dd43d[_0x3802b0(0x179)][_0x3802b0(0x17d)]?_0xf55040[_0x3802b0(0x196)]+0x1:_0xf55040['endIndex'];}function _0x543be0(_0x4885cf,_0x18dd39,_0x4662ce,_0x175fff){const _0xcb1b86=_0x1e488b;var _0x25323a,_0x571ee3;let _0x59c77a=_0x464ce5(_0x4885cf,_0x18dd39),_0xa83afa=((_0x25323a=_0x4885cf[_0xcb1b86(0x16c)])==null?[]:_0x25323a)[_0xcb1b86(0x168)](_0x1fa07f=>_0x1fa07f[_0xcb1b86(0x178)]===_0x59c77a+0x1);if(!_0xa83afa||_0x175fff!=null&&_0xa83afa['startIndex']!==_0x175fff||_0x4662ce<_0x59c77a||_0x4662ce>_0xa83afa['startIndex']+0x1||_0x4885cf[_0xcb1b86(0x187)][_0xa83afa[_0xcb1b86(0x178)]]!==_0x4dd43d[_0xcb1b86(0x179)][_0xcb1b86(0x197)])return null;let _0x21bb69=_0x16780d((_0x571ee3=_0x4885cf['paragraphs'])==null?[]:_0x571ee3,_0xa83afa),_0x43911c=_0x4885cf[_0xcb1b86(0x187)]['slice'](_0x21bb69,_0xa83afa['startIndex']);return Array[_0xcb1b86(0x132)](_0x43911c)[_0xcb1b86(0xe9)](_0x324f7e=>_0x324f7e===_0x4dd43d[_0xcb1b86(0x179)][_0xcb1b86(0x17d)])?{'paragraph':_0xa83afa,'endTokenOffset':_0x59c77a}:null;}function _0x261bcd(_0x338fde,_0x3eca9b,_0x22e230,_0x102324={}){const _0x32ea52=_0x1e488b;var _0x113052,_0x3f22e2;if(_0x22e230){if(_0x338fde[_0x32ea52(0x187)]=''+_0x338fde['dataStream'][_0x32ea52(0x13c)](0x0,_0x3eca9b)+_0x22e230+_0x338fde[_0x32ea52(0x187)][_0x32ea52(0x13c)](_0x3eca9b),_0x2d038a(_0x338fde,_0x3eca9b,_0x22e230[_0x32ea52(0x161)]),(_0x113052=_0x102324[_0x32ea52(0x16c)])!=null&&_0x113052[_0x32ea52(0x161)]){var _0x24cc84;_0x338fde[_0x32ea52(0x16c)]=[...(_0x24cc84=_0x338fde['paragraphs'])==null?[]:_0x24cc84,..._0x102324[_0x32ea52(0x16c)][_0x32ea52(0xf7)](_0x52a6a2=>({..._0x52a6a2,'startIndex':_0x52a6a2[_0x32ea52(0x178)]+_0x3eca9b}))][_0x32ea52(0x115)]((_0x114c68,_0x13dbbb)=>_0x114c68[_0x32ea52(0x178)]-_0x13dbbb[_0x32ea52(0x178)]);}if((_0x3f22e2=_0x102324[_0x32ea52(0x142)])!=null&&_0x3f22e2['length']){var _0x482680;_0x338fde[_0x32ea52(0x142)]=[...(_0x482680=_0x338fde['blockRanges'])==null?[]:_0x482680,..._0x102324['blockRanges'][_0x32ea52(0xf7)](_0x42ed83=>({..._0x42ed83,'startIndex':_0x42ed83[_0x32ea52(0x178)]+_0x3eca9b,'endIndex':_0x42ed83[_0x32ea52(0x196)]+_0x3eca9b}))]['sort']((_0x5cd38e,_0x2d0337)=>_0x5cd38e['startIndex']-_0x2d0337[_0x32ea52(0x178)]);}}}function _0x3bdb15(_0x4a0366,_0x56ccce,_0x59657b){const _0xb5bcaa=_0x1e488b;let _0x1bf929=_0x59657b-_0x56ccce;_0x4a0366[_0xb5bcaa(0x187)]=''+_0x4a0366[_0xb5bcaa(0x187)][_0xb5bcaa(0x13c)](0x0,_0x56ccce)+_0x4a0366[_0xb5bcaa(0x187)][_0xb5bcaa(0x13c)](_0x59657b),_0x28127c(_0x4a0366,_0x56ccce,_0x1bf929);}function _0x2d038a(_0x2ebc72,_0x32ef25,_0x44f9a8){const _0x514ebf=_0x1e488b;_0x2ebc72[_0x514ebf(0x16c)]=_0x22aed0(_0x2ebc72[_0x514ebf(0x16c)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x170)]=_0x22aed0(_0x2ebc72[_0x514ebf(0x170)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x198)]=_0x22aed0(_0x2ebc72[_0x514ebf(0x198)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x148)]=_0x4ccc00(_0x2ebc72[_0x514ebf(0x148)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x125)]=_0x246bf6(_0x2ebc72[_0x514ebf(0x125)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0xfb)]=_0x246bf6(_0x2ebc72['customRanges'],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x182)]=_0x246bf6(_0x2ebc72[_0x514ebf(0x182)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x142)]=_0x246bf6(_0x2ebc72[_0x514ebf(0x142)],_0x32ef25,_0x44f9a8);}function _0x28127c(_0x45f82f,_0x1f1c64,_0x571f6d){const _0x583d34=_0x1e488b;var _0x3796d3,_0x683137;_0x45f82f[_0x583d34(0x16c)]=_0x3ccc0e(_0x45f82f[_0x583d34(0x16c)],_0x1f1c64,_0x571f6d),_0x45f82f['sectionBreaks']=_0x3ccc0e(_0x45f82f['sectionBreaks'],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x198)]=_0x3ccc0e(_0x45f82f[_0x583d34(0x198)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x148)]=(_0x3796d3=_0x397bb5((_0x683137=_0x45f82f[_0x583d34(0x148)])==null?void 0x0:_0x683137['map'](_0x9fd2ee=>({..._0x9fd2ee,'startIndex':_0x9fd2ee['st'],'endIndex':_0x9fd2ee['ed']})),_0x1f1c64,_0x571f6d))==null?void 0x0:_0x3796d3[_0x583d34(0xf7)](_0x4bf64a=>{let {startIndex:_0x1efe1f,endIndex:_0x1ec9a5,..._0x1ff2ed}=_0x4bf64a;return{..._0x1ff2ed,'st':_0x1efe1f,'ed':_0x1ec9a5};}),_0x45f82f[_0x583d34(0x125)]=_0x397bb5(_0x45f82f[_0x583d34(0x125)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0xfb)]=_0x397bb5(_0x45f82f[_0x583d34(0xfb)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x182)]=_0x397bb5(_0x45f82f[_0x583d34(0x182)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x142)]=_0x397bb5(_0x45f82f[_0x583d34(0x142)],_0x1f1c64,_0x571f6d);}function _0x22aed0(_0x2f7a2e,_0x1e1ac8,_0x3f23f9){const _0x4c9a35=_0x1e488b;return _0x2f7a2e==null?void 0x0:_0x2f7a2e[_0x4c9a35(0xf7)](_0x386a5c=>_0x386a5c[_0x4c9a35(0x178)]>=_0x1e1ac8?{..._0x386a5c,'startIndex':_0x386a5c[_0x4c9a35(0x178)]+_0x3f23f9}:_0x386a5c);}function _0x3ccc0e(_0x191d92,_0x2d414a,_0x3da170){const _0x4db2b2=_0x1e488b;let _0x1a1dde=_0x2d414a+_0x3da170;return _0x191d92==null?void 0x0:_0x191d92['map'](_0x2d1b65=>_0x2d1b65['startIndex']>=_0x2d414a&&_0x2d1b65[_0x4db2b2(0x178)]<_0x1a1dde?null:_0x2d1b65[_0x4db2b2(0x178)]>=_0x1a1dde?{..._0x2d1b65,'startIndex':_0x2d1b65[_0x4db2b2(0x178)]-_0x3da170}:_0x2d1b65)[_0x4db2b2(0x18b)](_0x1b22d0=>_0x1b22d0!=null);}function _0x4ccc00(_0x4e58ce,_0x190650,_0xd3b376){const _0x503c66=_0x1e488b;return _0x4e58ce==null?void 0x0:_0x4e58ce[_0x503c66(0xf7)](_0x21354b=>_0x21354b['st']>=_0x190650?{..._0x21354b,'st':_0x21354b['st']+_0xd3b376,'ed':_0x21354b['ed']+_0xd3b376}:_0x21354b['ed']>_0x190650?{..._0x21354b,'ed':_0x21354b['ed']+_0xd3b376}:_0x21354b);}function _0x246bf6(_0x373178,_0x5ac3f8,_0x958852){const _0xccd026=_0x1e488b;return _0x373178==null?void 0x0:_0x373178[_0xccd026(0xf7)](_0x5192dc=>_0x5192dc[_0xccd026(0x178)]>=_0x5ac3f8?{..._0x5192dc,'startIndex':_0x5192dc['startIndex']+_0x958852,'endIndex':_0x5192dc[_0xccd026(0x196)]+_0x958852}:_0x5192dc[_0xccd026(0x196)]>=_0x5ac3f8?{..._0x5192dc,'endIndex':_0x5192dc[_0xccd026(0x196)]+_0x958852}:_0x5192dc);}function _0x397bb5(_0x418600,_0xb333ad,_0x5e9567){const _0x1300a5=_0x1e488b;let _0x57d982=_0xb333ad+_0x5e9567;return _0x418600==null?void 0x0:_0x418600[_0x1300a5(0xf7)](_0x38d9bf=>_0x38d9bf[_0x1300a5(0x178)]>=_0xb333ad&&_0x38d9bf[_0x1300a5(0x196)]<_0x57d982?null:_0x38d9bf[_0x1300a5(0x178)]>=_0x57d982?{..._0x38d9bf,'startIndex':_0x38d9bf[_0x1300a5(0x178)]-_0x5e9567,'endIndex':_0x38d9bf[_0x1300a5(0x196)]-_0x5e9567}:_0x38d9bf[_0x1300a5(0x196)]>=_0xb333ad?{..._0x38d9bf,'startIndex':_0x38d9bf['startIndex']<_0xb333ad?_0x38d9bf[_0x1300a5(0x178)]:_0xb333ad,'endIndex':Math[_0x1300a5(0x18f)](_0xb333ad,_0x38d9bf[_0x1300a5(0x196)]-_0x5e9567)}:_0x38d9bf)[_0x1300a5(0x18b)](_0x43bc5a=>_0x43bc5a!=null);}function _0xd1a375(_0x4fd928,_0x330a2c,_0x11df05,_0x5d0585){const _0x290d93=_0x1e488b;_0x4fd928==null||_0x4fd928[_0x290d93(0x18e)](_0x428613=>{const _0x1e5e8c=_0x290d93;_0x428613['startIndex']>=_0x330a2c&&_0x428613[_0x1e5e8c(0x178)]<_0x11df05&&(_0x428613[_0x1e5e8c(0x178)]+=_0x5d0585);});}function _0x46c24f(_0x2a20fd,_0x11aae0,_0x2e71de,_0x2f8c83){const _0x21055d=_0x1e488b;_0x2a20fd==null||_0x2a20fd[_0x21055d(0x18e)](_0x54902c=>{_0x54902c['st']>=_0x11aae0&&_0x54902c['st']<_0x2e71de?(_0x54902c['st']+=_0x2f8c83,_0x54902c['ed']+=_0x2f8c83):_0x54902c['ed']>_0x11aae0&&_0x54902c['ed']<_0x2e71de&&(_0x54902c['ed']+=_0x2f8c83);});}function _0x7567ff(_0x21d535,_0x36a7e5,_0x41f05c,_0x295fa9){const _0x3adb94=_0x1e488b;_0x21d535==null||_0x21d535[_0x3adb94(0x18e)](_0x5ee2f5=>{const _0x14fdb2=_0x3adb94;_0x5ee2f5[_0x14fdb2(0x178)]>=_0x36a7e5&&_0x5ee2f5[_0x14fdb2(0x178)]<_0x41f05c?(_0x5ee2f5[_0x14fdb2(0x178)]+=_0x295fa9,_0x5ee2f5['endIndex']+=_0x295fa9):_0x5ee2f5[_0x14fdb2(0x196)]>_0x36a7e5&&_0x5ee2f5['endIndex']<_0x41f05c&&(_0x5ee2f5['endIndex']+=_0x295fa9);});}function _0x55b1bf(_0x27881a){'@babel/helpers - typeof';const _0x21a80d=_0x1e488b;return _0x55b1bf=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x21a80d(0x10a)?function(_0x1ada72){return typeof _0x1ada72;}:function(_0xf7592b){const _0x30baa8=_0x21a80d;return _0xf7592b&&typeof Symbol==_0x30baa8(0x127)&&_0xf7592b[_0x30baa8(0x16f)]===Symbol&&_0xf7592b!==Symbol[_0x30baa8(0x137)]?_0x30baa8(0x10a):typeof _0xf7592b;},_0x55b1bf(_0x27881a);}function _0x192a09(_0x4c899b,_0x1123a0){const _0x21927c=_0x1e488b;if(_0x55b1bf(_0x4c899b)!=_0x21927c(0x18c)||!_0x4c899b)return _0x4c899b;var _0x38edf7=_0x4c899b[Symbol[_0x21927c(0x11b)]];if(_0x38edf7!==void 0x0){var _0x2169e6=_0x38edf7[_0x21927c(0x121)](_0x4c899b,_0x1123a0||_0x21927c(0x199));if(_0x55b1bf(_0x2169e6)!=_0x21927c(0x18c))return _0x2169e6;throw TypeError(_0x21927c(0x131));}return(_0x1123a0===_0x21927c(0x171)?String:Number)(_0x4c899b);}function _0x7fbf1e(_0x4f4b6b){const _0x322e2a=_0x1e488b;var _0x16f621=_0x192a09(_0x4f4b6b,_0x322e2a(0x171));return _0x55b1bf(_0x16f621)==_0x322e2a(0x10a)?_0x16f621:_0x16f621+'';}function _0x4f4935(_0x3f8011,_0x2bf623,_0x571d52){return(_0x2bf623=_0x7fbf1e(_0x2bf623))in _0x3f8011?Object['defineProperty'](_0x3f8011,_0x2bf623,{'value':_0x571d52,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f8011[_0x2bf623]=_0x571d52,_0x3f8011;}var _0xdc5ef7=class extends _0x4dd43d[_0x1e488b(0x146)]{constructor(..._0x375830){const _0x143922=_0x1e488b;super(..._0x375830),_0x4f4935(this,_0x143922(0x11c),new Map()),_0x4f4935(this,_0x143922(0x156),new _0x135813[(_0x143922(0xfd))]()),_0x4f4935(this,_0x143922(0xfa),this['_change$']['asObservable']());}['getCodeConfig'](_0x34250b,_0x42f66b){const _0x12d5d9=_0x1e488b;return _0x469a55(this['_resources'][_0x12d5d9(0x166)](_0x34250b))['codes'][_0x42f66b];}[_0x1e488b(0x11e)](_0x40fc81,_0x4f592c,_0x43f497){const _0xeaee75=_0x1e488b;this[_0xeaee75(0xea)](_0x40fc81,_0x4f592c,_0x3b023b(this[_0xeaee75(0x11c)]['get'](_0x40fc81),_0x4f592c,_0x43f497));}[_0x1e488b(0x19c)](_0x13b7be,_0x12d8b0){const _0x13e36c=_0x1e488b;this[_0x13e36c(0xea)](_0x13b7be,_0x12d8b0,_0x3515a7(this[_0x13e36c(0x11c)][_0x13e36c(0x166)](_0x13b7be),_0x12d8b0));}[_0x1e488b(0x14d)](_0x2e0bd4){const _0x1b898b=_0x1e488b;return _0x469a55(this[_0x1b898b(0x11c)][_0x1b898b(0x166)](_0x2e0bd4));}['deserialize'](_0x47530b,_0x257b91){const _0x389e75=_0x1e488b;this['_resources'][_0x389e75(0x155)](_0x47530b,_0x469a55(_0x257b91)),this['_change$']['next']({'unitId':_0x47530b});}['removeUnit'](_0x437029){const _0x16e27b=_0x1e488b;this['_resources']['delete'](_0x437029),this[_0x16e27b(0x156)][_0x16e27b(0x169)]({'unitId':_0x437029});}[_0x1e488b(0x15c)](){const _0x961540=_0x1e488b;super['dispose'](),this[_0x961540(0x11c)]['clear'](),this[_0x961540(0x156)][_0x961540(0x135)]();}['_setResource'](_0x102b91,_0x125555,_0x443d73){const _0x1aff34=_0x1e488b;this[_0x1aff34(0x11c)][_0x1aff34(0x155)](_0x102b91,_0x443d73),this[_0x1aff34(0x156)]['next']({'unitId':_0x102b91,'blockId':_0x125555});}};let _0x5854aa={'id':_0x1e488b(0x18d),'type':_0x4dd43d['CommandType'][_0x1e488b(0xf8)],'handler':_0x1f0546=>{const _0x576562=_0x1e488b;let _0x34d470=_0x2a6662(_0x1f0546);if(_0x34d470)return _0x1f0546[_0x576562(0x166)](_0x4dd43d[_0x576562(0x138)])[_0x576562(0xf1)](_0x12e87e['id'],{'startOffset':_0x34d470['startOffset'],'endOffset':_0x34d470[_0x576562(0x10c)],'unitId':_0x34d470[_0x576562(0x19f)]});let _0x446df5=_0x4b31dd(_0x1f0546);if(!_0x446df5)return!0x1;let _0x483129=_0x446df5[_0x576562(0x178)]+0x1;return _0x1f0546[_0x576562(0x166)](_0x4dd43d[_0x576562(0x138)])[_0x576562(0xf1)](_0x12e87e['id'],{'startOffset':_0x483129,'endOffset':_0x483129});}},_0x26c7c={'id':_0x1e488b(0x118),'type':_0x4dd43d[_0x1e488b(0x194)]['COMMAND'],'handler':()=>!0x0},_0x12e87e={'id':_0x1e488b(0x188),'type':_0x4dd43d[_0x1e488b(0x194)][_0x1e488b(0xf8)],'handler':(_0x198292,_0x538e3c)=>{const _0x17d10a=_0x1e488b;var _0x365105,_0x29b921,_0xdc6791;let _0xa9659a=_0x54d7b6(_0x198292,_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x19f)]);if(!_0xa9659a)return!0x1;let _0x427445=_0x2afdac(_0x198292),_0x1365be=_0x3a347b({'blockId':(_0x365105=_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x13e)])==null?(0x0,_0x4dd43d['generateRandomId'])(0x6):_0x365105,'config':_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x12c)],'documentData':_0xa9659a[_0x17d10a(0x15e)],'endOffset':(_0x29b921=_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x10c)])==null?_0x427445==null?void 0x0:_0x427445['endOffset']:_0x29b921,'metadata':_0xa9659a[_0x17d10a(0xff)]['serialize'](_0xa9659a[_0x17d10a(0x19f)]),'startOffset':(_0xdc6791=_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x159)])==null?_0x427445==null?void 0x0:_0x427445['startOffset']:_0xdc6791}),_0x39797d=_0xf61891(_0xa9659a[_0x17d10a(0x15b)],_0xa9659a['unitId'],_0xa9659a[_0x17d10a(0x15e)],_0x1365be['nextDocumentData'],_0x1365be[_0x17d10a(0x10d)]);return _0x39797d&&_0x1365be['nextMetadata']&&_0xa9659a[_0x17d10a(0xff)]['deserialize'](_0xa9659a['unitId'],_0x1365be[_0x17d10a(0x147)]),_0x39797d;}},_0x1cb351={'id':_0x1e488b(0x109),'type':_0x4dd43d['CommandType'][_0x1e488b(0xf8)],'handler':(_0x4b4d87,_0x5b0ddb)=>{const _0x15b409=_0x1e488b;if(!_0x5b0ddb)return!0x1;let _0x4ea7a1=_0x54d7b6(_0x4b4d87,_0x5b0ddb[_0x15b409(0x19f)]);if(!_0x4ea7a1)return!0x1;let _0x56d1c8=_0x44e843({'blockId':_0x5b0ddb[_0x15b409(0x13e)],'config':_0x5b0ddb['config'],'documentData':_0x4ea7a1['previousDocumentData'],'metadata':_0x4ea7a1[_0x15b409(0xff)][_0x15b409(0x14d)](_0x4ea7a1[_0x15b409(0x19f)])});return _0x56d1c8[_0x15b409(0x147)]&&_0x4ea7a1[_0x15b409(0xff)][_0x15b409(0x106)](_0x4ea7a1['unitId'],_0x56d1c8[_0x15b409(0x147)]),!0x0;}},_0x2995a7={'id':_0x1e488b(0x12d),'type':_0x4dd43d[_0x1e488b(0x194)][_0x1e488b(0xf8)],'handler':(_0x2ad388,_0x394f9a)=>{const _0x135f16=_0x1e488b;var _0x25b612,_0x84d012;let _0x3932f2=_0x54d7b6(_0x2ad388,_0x394f9a==null?void 0x0:_0x394f9a[_0x135f16(0x19f)]);if(!_0x3932f2)return!0x1;let _0x40461b=(_0x25b612=_0x394f9a==null?void 0x0:_0x394f9a['cursorOffset'])==null?(_0x84d012=_0x2afdac(_0x2ad388))==null?void 0x0:_0x84d012['startOffset']:_0x25b612;if(_0x40461b==null)return!0x1;let _0x405542=_0x348164({'cursorOffset':_0x40461b,'documentData':_0x3932f2[_0x135f16(0x15e)]});return _0x405542?_0xf61891(_0x3932f2[_0x135f16(0x15b)],_0x3932f2['unitId'],_0x3932f2[_0x135f16(0x15e)],_0x405542[_0x135f16(0xf0)],_0x405542['cursorOffset']):!0x1;}},_0x3bc18b={'id':'docs-code.command.cancel-empty-paragraph','type':_0x4dd43d[_0x1e488b(0x194)][_0x1e488b(0xf8)],'handler':(_0x39053a,_0x20f949)=>{const _0x28c2d0=_0x1e488b;var _0x207a56,_0x127842;let _0x4667b6=_0x54d7b6(_0x39053a,_0x20f949==null?void 0x0:_0x20f949[_0x28c2d0(0x19f)]);if(!_0x4667b6)return!0x1;let _0x221bed=(_0x207a56=_0x20f949==null?void 0x0:_0x20f949[_0x28c2d0(0x10d)])==null?(_0x127842=_0x2afdac(_0x39053a))==null?void 0x0:_0x127842[_0x28c2d0(0x159)]:_0x207a56;if(_0x221bed==null)return!0x1;let _0x3c89ec=_0x49a1b3({'cursorOffset':_0x221bed,'documentData':_0x4667b6['previousDocumentData'],'paragraphStartIndex':_0x20f949==null?void 0x0:_0x20f949[_0x28c2d0(0x19e)]});return _0x3c89ec?_0xf61891(_0x4667b6[_0x28c2d0(0x15b)],_0x4667b6[_0x28c2d0(0x19f)],_0x4667b6[_0x28c2d0(0x15e)],_0x3c89ec['nextDocumentData'],_0x3c89ec[_0x28c2d0(0x10d)]):!0x1;}};function _0x54d7b6(_0x41415f,_0x2f0ee1){const _0x52dc88=_0x1e488b;let _0xd6b37b=_0x41415f[_0x52dc88(0x166)](_0x4dd43d[_0x52dc88(0xef)]),_0x7c7abd=_0x2f0ee1?_0xd6b37b[_0x52dc88(0x100)](_0x2f0ee1):_0xd6b37b[_0x52dc88(0xe7)](_0x4dd43d['UniverInstanceType'][_0x52dc88(0x10f)]);return _0x7c7abd?{'commandService':_0x41415f[_0x52dc88(0x166)](_0x4dd43d[_0x52dc88(0x138)]),'model':_0x41415f[_0x52dc88(0x166)](_0xdc5ef7),'previousDocumentData':_0x7c7abd['getSnapshot'](),'unitId':_0x7c7abd[_0x52dc88(0x172)]()}:null;}function _0x2afdac(_0x58e0d7){const _0x275c8e=_0x1e488b;var _0x247c57;return(_0x247c57=_0x58e0d7['get'](_0x69c527['DocSelectionManagerService'])[_0x275c8e(0x101)]())==null?void 0x0:_0x247c57[0x0];}function _0x2a6662(_0xfc2dd3){const _0x52693b=_0x1e488b;var _0x242998;let _0x38ac08=(_0x242998=_0xfc2dd3[_0x52693b(0x166)](_0x4dd43d[_0x52693b(0xef)])[_0x52693b(0xe7)](_0x4dd43d[_0x52693b(0x11a)][_0x52693b(0x10f)]))==null?void 0x0:_0x242998[_0x52693b(0x172)]();try{return _0xfc2dd3[_0x52693b(0x166)](_0x1b5a72[_0x52693b(0x103)])['consumeInsertRange'](_0x38ac08);}catch{return null;}}function _0x4b31dd(_0x2593ca){const _0x49fb11=_0x1e488b;var _0x34d13e,_0x54f086,_0xedaf56;let _0x1b7228=_0x2afdac(_0x2593ca);if(!_0x1b7228)return null;let _0x23fea7=_0x2593ca[_0x49fb11(0x166)](_0x4dd43d[_0x49fb11(0xef)])[_0x49fb11(0xe7)](_0x4dd43d[_0x49fb11(0x11a)][_0x49fb11(0x10f)]),_0x366e0e=_0x23fea7==null?void 0x0:_0x23fea7[_0x49fb11(0x145)]();return _0x366e0e?(_0x34d13e=_0x4dd43d[_0x49fb11(0x186)][_0x49fb11(0x164)][_0x49fb11(0xec)](_0x1b7228,(_0x54f086=_0x366e0e[_0x49fb11(0x16c)])==null?[]:_0x54f086,(_0xedaf56=_0x366e0e[_0x49fb11(0x187)])==null?'':_0xedaf56)[0x0])==null?null:_0x34d13e:null;}function _0x44bbf2(_0x656fdb,_0xf29191){const _0x4d617c=_0x1e488b;var _0x1fa60f,_0x59e6c7,_0x146e9e,_0xd338c5,_0x57a357,_0x59c2e9,_0x5ee49c,_0x3217bd,_0x4a275f,_0x101427,_0x19e460,_0x11d45a,_0x2c8a49,_0x3e93ae,_0x1c208b,_0x4f6ae5,_0x2650c3,_0xf68c17;let _0x161b69=_0x4dd43d[_0x4d617c(0x107)][_0x4d617c(0x181)]();return[_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x187)],(_0x1fa60f=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x1fa60f[_0x4d617c(0x187)],(_0x59e6c7=_0xf29191['body'])==null?void 0x0:_0x59e6c7[_0x4d617c(0x187)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),'paragraphs'],(_0x146e9e=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x146e9e['paragraphs'],(_0xd338c5=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0xd338c5[_0x4d617c(0x16c)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x170)],(_0x57a357=_0x656fdb['body'])==null?void 0x0:_0x57a357[_0x4d617c(0x170)],(_0x59c2e9=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x59c2e9[_0x4d617c(0x170)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x148)],(_0x5ee49c=_0x656fdb['body'])==null?void 0x0:_0x5ee49c['textRuns'],(_0x3217bd=_0xf29191['body'])==null?void 0x0:_0x3217bd[_0x4d617c(0x148)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x198)],(_0x4a275f=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x4a275f['customBlocks'],(_0x101427=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x101427['customBlocks']),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0xfb)],(_0x19e460=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x19e460[_0x4d617c(0xfb)],(_0x11d45a=_0xf29191['body'])==null?void 0x0:_0x11d45a[_0x4d617c(0xfb)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x182)],(_0x2c8a49=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x2c8a49['customDecorations'],(_0x3e93ae=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x3e93ae[_0x4d617c(0x182)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),'tables'],(_0x1c208b=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x1c208b[_0x4d617c(0x125)],(_0x4f6ae5=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x4f6ae5[_0x4d617c(0x125)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),'blockRanges'],(_0x2650c3=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x2650c3['blockRanges'],(_0xf68c17=_0xf29191['body'])==null?void 0x0:_0xf68c17[_0x4d617c(0x142)])]['filter'](Boolean)[_0x4d617c(0xe8)]((_0xc73d75,_0x3a6dd3)=>_0x4dd43d[_0x4d617c(0x107)][_0x4d617c(0x119)](_0xc73d75,_0x3a6dd3),null);}function _0x4f2a8a(_0x7de7e4,_0xe79cd1,_0xb88fa6,_0x3dc92f){const _0x50a9a9=_0x1e488b;return _0x4dd43d[_0x50a9a9(0x184)][_0x50a9a9(0xfc)](_0xb88fa6,_0x3dc92f)?null:_0x7de7e4[_0x50a9a9(0x153)](_0xe79cd1,_0xb88fa6,_0x3dc92f);}function _0xf61891(_0x17cde7,_0x114a26,_0x1371f6,_0x307805,_0x3de717){const _0xf07a66=_0x1e488b;let _0x284171=_0x44bbf2(_0x1371f6,_0x307805);return _0x284171?!!_0x17cde7[_0xf07a66(0xf1)](_0x69c527[_0xf07a66(0x17b)]['id'],{'unitId':_0x114a26,'actions':_0x284171,'textRanges':[{'startOffset':_0x3de717,'endOffset':_0x3de717,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var _0x34ad4e=_0x1e488b(0x134),_0xc416b7=_0x1e488b(0x141);let _0x935baf={};function _0x5ae7dd(_0x169ee4,_0x59f32d){return function(_0x498a6d,_0xaad024){_0x59f32d(_0x498a6d,_0xaad024,_0x169ee4);};}function _0x15b4b0(_0x749c9,_0x2a68f7,_0x391ef5,_0x429d17){const _0x1a7603=_0x1e488b;var _0x3efd72=arguments[_0x1a7603(0x161)],_0x5af59d=_0x3efd72<0x3?_0x2a68f7:_0x429d17===null?_0x429d17=Object[_0x1a7603(0x129)](_0x2a68f7,_0x391ef5):_0x429d17,_0x47d24a;if(typeof Reflect=='object'&&typeof Reflect[_0x1a7603(0x165)]==_0x1a7603(0x127))_0x5af59d=Reflect['decorate'](_0x749c9,_0x2a68f7,_0x391ef5,_0x429d17);else{for(var _0x3947a5=_0x749c9['length']-0x1;_0x3947a5>=0x0;_0x3947a5--)(_0x47d24a=_0x749c9[_0x3947a5])&&(_0x5af59d=(_0x3efd72<0x3?_0x47d24a(_0x5af59d):_0x3efd72>0x3?_0x47d24a(_0x2a68f7,_0x391ef5,_0x5af59d):_0x47d24a(_0x2a68f7,_0x391ef5))||_0x5af59d);}return _0x3efd72>0x3&&_0x5af59d&&Object[_0x1a7603(0x19b)](_0x2a68f7,_0x391ef5,_0x5af59d),_0x5af59d;}let _0x28bae4=class extends _0x4dd43d[_0x1e488b(0x146)]{constructor(_0x131812,_0xa04954){const _0x53736f=_0x1e488b;super(),this[_0x53736f(0x105)]=_0x131812,this[_0x53736f(0x16a)]=_0xa04954,this[_0x53736f(0x176)]();}[_0x1e488b(0x176)](){const _0x383dd9=_0x1e488b;this[_0x383dd9(0x149)](this[_0x383dd9(0x105)][_0x383dd9(0x183)]({'pluginName':_0x198161,'businesses':[_0x4dd43d[_0x383dd9(0x11a)][_0x383dd9(0x10f)]],'toJson':_0x2e386f=>JSON[_0x383dd9(0x19a)](this[_0x383dd9(0x16a)][_0x383dd9(0x14d)](_0x2e386f)),'parseJson':_0x1b838e=>_0x469a55(JSON[_0x383dd9(0x152)](_0x1b838e)),'onLoad':(_0x9cbbf6,_0x51132a)=>this[_0x383dd9(0x16a)][_0x383dd9(0x106)](_0x9cbbf6,_0x51132a),'onUnLoad':_0x115ac0=>this['_docsCodeModel'][_0x383dd9(0x14f)](_0x115ac0)}));}};_0x28bae4=_0x15b4b0([_0x5ae7dd(0x0,_0x4dd43d[_0x1e488b(0x19d)]),_0x5ae7dd(0x1,(0x0,_0x4dd43d['Inject'])(_0xdc5ef7))],_0x28bae4);let _0x1d976b=class extends _0x4dd43d[_0x1e488b(0x139)]{constructor(_0x2fdb03=_0x935baf,_0x40e102,_0xe34105,_0x4270da){const _0x1841f8=_0x1e488b;super(),this[_0x1841f8(0x15a)]=_0x2fdb03,this[_0x1841f8(0x191)]=_0x40e102,this[_0x1841f8(0x13a)]=_0xe34105,this[_0x1841f8(0x189)]=_0x4270da;let {..._0x25dd91}=(0x0,_0x4dd43d[_0x1841f8(0x1a0)])({},_0x935baf,this[_0x1841f8(0x15a)]);this[_0x1841f8(0x189)][_0x1841f8(0x144)](_0x1841f8(0x15d),_0x25dd91);}[_0x1e488b(0x157)](){const _0x3f6478=_0x1e488b;this[_0x3f6478(0x191)][_0x3f6478(0xeb)]([_0xdc5ef7]),this['_injector'][_0x3f6478(0xeb)]([_0x28bae4]),this['_injector'][_0x3f6478(0x166)](_0xdc5ef7),this[_0x3f6478(0x191)]['get'](_0x28bae4),[_0x12e87e,_0x5854aa,_0x1cb351,_0x2995a7,_0x3bc18b,_0x26c7c][_0x3f6478(0x18e)](_0x5a31f9=>this[_0x3f6478(0x149)](this[_0x3f6478(0x13a)][_0x3f6478(0xf6)](_0x5a31f9)));}};_0x4f4935(_0x1d976b,_0x1e488b(0x12f),_0x198161),_0x4f4935(_0x1d976b,_0x1e488b(0x16e),_0x34ad4e),_0x4f4935(_0x1d976b,_0x1e488b(0x195),_0xc416b7),_0x4f4935(_0x1d976b,_0x1e488b(0x13b),_0x4dd43d['UniverInstanceType'][_0x1e488b(0x10f)]),_0x1d976b=_0x15b4b0([(0x0,_0x4dd43d[_0x1e488b(0x10b)])(_0x25de4d['UniverLicensePlugin'],_0x69c527[_0x1e488b(0x10e)]),_0x5ae7dd(0x1,(0x0,_0x4dd43d[_0x1e488b(0x140)])(_0x4dd43d[_0x1e488b(0x158)])),_0x5ae7dd(0x2,_0x4dd43d[_0x1e488b(0x138)]),_0x5ae7dd(0x3,_0x4dd43d['IConfigService'])],_0x1d976b),_0x56eaec['DEFAULT_CODE_CONFIG']=_0x5884f7,_0x56eaec[_0x1e488b(0x114)]=_0x4784aa,_0x56eaec['DOCS_CODE_PLUGIN']=_0x198161,_0x56eaec[_0x1e488b(0x180)]=_0x3bc18b,_0x56eaec[_0x1e488b(0x154)]=_0x26c7c,_0x56eaec[_0x1e488b(0x17f)]=_0x2995a7,_0x56eaec[_0x1e488b(0x133)]=_0x5854aa,_0x56eaec[_0x1e488b(0x13f)]=_0x12e87e,_0x56eaec['DocsCodeModel']=_0xdc5ef7,_0x56eaec[_0x1e488b(0xf3)]=_0x1cb351,Object[_0x1e488b(0x19b)](_0x56eaec,_0x1e488b(0x117),{'enumerable':!0x0,'get':function(){return _0x1d976b;}}),_0x56eaec[_0x1e488b(0x11f)]=_0x49a1b3,_0x56eaec['buildExitCodeActions']=_0x348164,_0x56eaec[_0x1e488b(0x108)]=_0x3a347b,_0x56eaec['buildUpdateCodeActions']=_0x44e843,_0x56eaec['findCodeRangeAtOffset']=_0x1ef2e9,_0x56eaec['isCodeBoundaryDelete']=_0x522134,_0x56eaec[_0x1e488b(0x102)]=_0x10fe38;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-code",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Code block model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,16 +61,16 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "0.25.
|
|
65
|
-
"@univerjs/core": "0.25.
|
|
66
|
-
"@univerjs/docs": "0.25.
|
|
67
|
-
"@univerjs/docs
|
|
64
|
+
"@univerjs-pro/license": "0.25.2",
|
|
65
|
+
"@univerjs/core": "0.25.2",
|
|
66
|
+
"@univerjs/docs-ui": "0.25.2",
|
|
67
|
+
"@univerjs/docs": "0.25.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
72
|
"vitest": "^4.1.6",
|
|
73
|
-
"@univerjs-infra/shared": "0.25.
|
|
73
|
+
"@univerjs-infra/shared": "0.25.2"
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|
|
76
76
|
"test": "vitest run",
|