@univerjs-pro/docs-code 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x90b1ed=_0x34cc;(function(_0x198309,_0xb2f495){const _0x335818=_0x34cc,_0x27eefe=_0x198309();while(!![]){try{const _0x1bc96e=parseInt(_0x335818(0xa4))/0x1*(-parseInt(_0x335818(0x82))/0x2)+-parseInt(_0x335818(0xb6))/0x3+-parseInt(_0x335818(0xb4))/0x4*(-parseInt(_0x335818(0xc2))/0x5)+parseInt(_0x335818(0x7c))/0x6*(parseInt(_0x335818(0x91))/0x7)+-parseInt(_0x335818(0xc4))/0x8*(-parseInt(_0x335818(0x7a))/0x9)+parseInt(_0x335818(0xf1))/0xa+-parseInt(_0x335818(0xf2))/0xb*(-parseInt(_0x335818(0xa1))/0xc);if(_0x1bc96e===_0xb2f495)break;else _0x27eefe['push'](_0x27eefe['shift']());}catch(_0x597831){_0x27eefe['push'](_0x27eefe['shift']());}}}(_0x4a0e,0x9085b));import{BuildTextUtils as _0x51dd86,CommandType as _0x123b49,DataStreamTreeTokenType as _0x803f1c,DependentOn as _0x5955c6,Disposable as _0x58c269,ICommandService as _0x170d8a,IConfigService as _0x28e32f,IResourceManagerService as _0x5bcb88,IUniverInstanceService as _0x2bbfcb,Inject as _0x1f43cb,Injector as _0x5121c,JSONX as _0x104200,Plugin as _0x3c090e,Tools as _0x2fe1ea,UniverInstanceType as _0x333d99,generateRandomId as _0x3a4ef4,merge as _0x4a14fb}from'@univerjs/core';import{DocSelectionManagerService as _0xd6548f,RichTextEditingMutation as _0x2ef7f4,UniverDocsPlugin as _0x5e48ad}from'@univerjs/docs';import{DocContentInsertService as _0xaf51af}from'@univerjs/docs-ui';import{Subject as _0x1f73cb}from'rxjs';import{UniverLicensePlugin as _0x111d9d}from'@univerjs-pro/license';function _0x4a0e(){const _0x12a79d=['dispose','packageName','find','registerPluginResource','1843681phDxgz','_setResource','getParagraphsInRange','docs-code.command.exit','function','max','sort','getOwnPropertyDescriptor','_injector','documentData','set','length','right','deepClone','Document\x20body\x20is\x20required','disposeWithMe','12NznGSa','_commandService','forEach','1CiKTGP','cursorOffset','indentEnd','map','paragraph','docs-code.command.update','nextMetadata','javascript','spaceAbove','decorate','blockId','consumeInsertRange','0.25.0','code','customBlocks','BLOCK_END','237868dolhID','getBody','1121148FSQEvE','onStarting','object','UNIVER_DOC','change$','startIndex','getCurrentUnitOfType','docs-code.command.consume-boundary-delete','version','pluginName','blockType','_configService','75wxfkeR','paragraphStyle','152jRzghH','_initResource','docs-code.config','stringify','join','deserialize','_resources','slice','customDecorations','textStyle','customRanges','BLOCK_START','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','endOffset','unitId','every','model','getSnapshot','setCodeConfig','paragraphStartIndex','PARAGRAPH','string','type','next','body','parse','replaceOp','some','paragraphs','sectionBreaks','from','nextDocumentData','_resourceManagerService','SECTION_BREAK','compose','codes','getCodeConfig','call','add','indentStart','getUniverDocInstance','asObservable','blockRanges','_change$','commandService','3601060xyTSNQ','2215169WKDFUj','defineProperty','get','syncExecuteCommand','setConfig','monospace','docs-code.command.cancel-empty-paragraph','config','endTokenOffset','endIndex','startOffset','81045yjlOhk','_docsCodeModel','6RuUNEC','symbol','_config','removeUnit','textRuns','COMMAND','1844578smFXcD','spaceBelow','filter','dataStream','min','metadata','prototype','serialize','previousDocumentData','tables','removeCode'];_0x4a0e=function(){return _0x12a79d;};return _0x4a0e();}const S='DOC_CODE_PLUGIN',C=_0x90b1ed(0xb1),w={'language':_0x90b1ed(0xab),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function T(_0x2bbcce){return{...w,..._0x2bbcce};}function E(_0x2daa30){const _0x169acb=_0x90b1ed;var _0x1dc7cf;let _0x2d323e=(_0x1dc7cf=_0x2daa30==null?void 0x0:_0x2daa30[_0x169acb(0xe7)])==null?{}:_0x1dc7cf;return{'codes':Object['fromEntries'](Object['entries'](_0x2d323e)[_0x169acb(0xa7)](([_0x3ecc73,_0x4be8f8])=>[_0x3ecc73,T(_0x4be8f8)]))};}function D(_0x4d4757,_0x135638,_0x858367){const _0x21f90c=_0x90b1ed;let _0x5b4c0b=E(_0x4d4757);return _0x5b4c0b['codes'][_0x135638]=T({..._0x5b4c0b[_0x21f90c(0xe7)][_0x135638],..._0x858367}),_0x5b4c0b;}function te(_0x102d5a,_0x27b80c){let _0xecf63=E(_0x102d5a);return delete _0xecf63['codes'][_0x27b80c],_0xecf63;}const ne=_0x90b1ed(0xf7);function re(_0x1cdc26){const _0x3a2977=_0x90b1ed;var _0x5a0878,_0x357e56,_0x2374f2;let _0x3807a4=A(_0x1cdc26['documentData']),_0x2b0476=j(_0x3807a4),_0x331446=ae(_0x1cdc26[_0x3a2977(0x79)],_0x1cdc26[_0x3a2977(0xd1)]),_0x13e473=_0x331446?(_0x5a0878=_0x2b0476[_0x3a2977(0xee)])==null?void 0x0:_0x5a0878['find'](_0x126cd1=>_0x126cd1[_0x3a2977(0xbb)]===_0x331446[_0x3a2977(0x79)]&&_0x126cd1[_0x3a2977(0x78)]+0x1===_0x331446['endOffset']):void 0x0,{startOffset:_0x309ed4,endOffset:_0x45db4d}=_0x13e473?_0x331446:ge(_0x2b0476,_0x1cdc26[_0x3a2977(0x79)],_0x1cdc26[_0x3a2977(0xd1)]),_0x2c0e77=ve(_0x2b0476,_0x309ed4,_0x45db4d),_0x41d8de=(_0x357e56=_0x13e473==null?void 0x0:_0x13e473[_0x3a2977(0xae)])==null?_0x1cdc26['blockId']:_0x357e56,_0x4eeb8=D(_0x1cdc26[_0x3a2977(0x87)],_0x41d8de,{...w,..._0x1cdc26[_0x3a2977(0x76)]});if(_0x13e473)return _0x13e473['blockType']=C,ie(_0x2b0476,_0x309ed4,_0x45db4d),fe(_0x2b0476,_0x309ed4,_0x45db4d,_0x2c0e77),{'nextDocumentData':_0x3807a4,'nextMetadata':_0x4eeb8,'cursorOffset':_0x309ed4+0x1};if(_0x309ed4===_0x45db4d){let _0x6c2c11=''+_0x803f1c[_0x3a2977(0xcf)]+_0x803f1c[_0x3a2977(0xd8)]+_0x803f1c[_0x3a2977(0xb3)];return F(_0x2b0476,_0x309ed4,_0x6c2c11,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':k(!0x0,!0x0,_0x2c0e77)}],'blockRanges':[{'blockId':_0x41d8de,'blockType':C,'startIndex':0x0,'endIndex':_0x6c2c11[_0x3a2977(0x9c)]-0x1}]}),{'nextDocumentData':_0x3807a4,'nextMetadata':_0x4eeb8,'cursorOffset':_0x309ed4+0x1};}return F(_0x2b0476,_0x45db4d,_0x803f1c[_0x3a2977(0xb3)]),F(_0x2b0476,_0x309ed4,_0x803f1c['BLOCK_START']),fe(_0x2b0476,_0x309ed4,_0x45db4d+0x1,_0x2c0e77),_0x2b0476[_0x3a2977(0xee)]=[...(_0x2374f2=_0x2b0476[_0x3a2977(0xee)])==null?[]:_0x2374f2,{'blockId':_0x41d8de,'blockType':C,'startIndex':_0x309ed4,'endIndex':_0x45db4d+0x1}]['sort']((_0x3d253d,_0x5f3da3)=>_0x3d253d[_0x3a2977(0xbb)]-_0x5f3da3[_0x3a2977(0xbb)]),{'nextDocumentData':_0x3807a4,'nextMetadata':_0x4eeb8,'cursorOffset':_0x309ed4+0x1};}function ie(_0x555c29,_0x44a37f,_0x2860ea){const _0x4b1347=_0x90b1ed;var _0xedc91d;((_0xedc91d=_0x555c29[_0x4b1347(0xe0)])==null?[]:_0xedc91d)[_0x4b1347(0x84)](_0x364b33=>_0x364b33[_0x4b1347(0xbb)]>_0x44a37f&&_0x364b33[_0x4b1347(0xbb)]<_0x2860ea)[_0x4b1347(0xa3)](_0x5cecb4=>{const _0x4a9d46=_0x4b1347;var _0x45b881;let _0x5a7498={...(_0x45b881=_0x5cecb4['paragraphStyle'])==null?{}:_0x45b881};delete _0x5a7498[_0x4a9d46(0xac)],delete _0x5a7498[_0x4a9d46(0x83)],_0x5cecb4[_0x4a9d46(0xc3)]=_0x5a7498;});}function ae(_0x248605,_0x3cfcd1){const _0x28297d=_0x90b1ed;return _0x248605==null||_0x3cfcd1==null||_0x248605===_0x3cfcd1?null:{'startOffset':Math['min'](_0x248605,_0x3cfcd1),'endOffset':Math[_0x28297d(0x96)](_0x248605,_0x3cfcd1)};}function O(_0x5574c1){const _0x29d83c=_0x90b1ed;return{'nextDocumentData':A(_0x5574c1[_0x29d83c(0x9a)]),'nextMetadata':D(_0x5574c1['metadata'],_0x5574c1[_0x29d83c(0xae)],_0x5574c1[_0x29d83c(0x76)]),'cursorOffset':0x0};}function oe(_0x398cbe){const _0x351df6=_0x90b1ed;var _0x27916a,_0x1fa555;let _0x2819b1=A(_0x398cbe['documentData']),_0x59c82d=j(_0x2819b1),_0x3d2711=de(_0x59c82d,_0x398cbe[_0x351df6(0xa5)]);if(!_0x3d2711)return null;let _0x20f40c=me(_0x59c82d,_0x3d2711),_0x491255=_0x20f40c[_0x20f40c[_0x351df6(0x9c)]-0x1];if(!_0x491255||!he(_0x59c82d,_0x3d2711,_0x491255)||_0x398cbe[_0x351df6(0xa5)]<_0x491255[_0x351df6(0xbb)])return null;let _0x47b389=N(_0x59c82d,_0x3d2711,_0x491255);if(_0x47b389>=_0x3d2711['endIndex'])return null;_0x59c82d[_0x351df6(0x85)]=[_0x59c82d['dataStream']['slice'](0x0,_0x47b389),_0x803f1c['BLOCK_END'],_0x59c82d['dataStream'][_0x351df6(0xcb)](_0x47b389,_0x3d2711[_0x351df6(0x78)]),_0x59c82d['dataStream'][_0x351df6(0xcb)](_0x3d2711[_0x351df6(0x78)]+0x1)][_0x351df6(0xc8)](''),B(_0x59c82d[_0x351df6(0xe0)],_0x47b389,_0x3d2711[_0x351df6(0x78)],0x1),B(_0x59c82d[_0x351df6(0xe1)],_0x47b389,_0x3d2711[_0x351df6(0x78)],0x1),B(_0x59c82d[_0x351df6(0xb2)],_0x47b389,_0x3d2711[_0x351df6(0x78)],0x1),Te(_0x59c82d['textRuns'],_0x47b389,_0x3d2711['endIndex'],0x1),V(_0x59c82d[_0x351df6(0x8b)],_0x47b389,_0x3d2711['endIndex'],0x1),V(_0x59c82d[_0x351df6(0xce)],_0x47b389,_0x3d2711[_0x351df6(0x78)],0x1),V(_0x59c82d[_0x351df6(0xcc)],_0x47b389,_0x3d2711[_0x351df6(0x78)],0x1),(_0x27916a=_0x59c82d[_0x351df6(0xee)])==null||_0x27916a[_0x351df6(0xa3)](_0x39d35b=>{const _0x249d05=_0x351df6;_0x39d35b===_0x3d2711||_0x39d35b['blockId']===_0x3d2711[_0x249d05(0xae)]?_0x39d35b[_0x249d05(0x78)]=_0x47b389:_0x39d35b[_0x249d05(0xbb)]>=_0x47b389&&_0x39d35b[_0x249d05(0xbb)]<_0x3d2711[_0x249d05(0x78)]&&(_0x39d35b[_0x249d05(0xbb)]+=0x1,_0x39d35b[_0x249d05(0x78)]+=0x1);});let _0x3daca0=me(_0x59c82d,{..._0x3d2711,'endIndex':_0x47b389});_0x3daca0['forEach']((_0x241ff1,_0x5e05f4)=>{const _0x4d51b3=_0x351df6;var _0x3ca0d6;_0x241ff1[_0x4d51b3(0xc3)]={...(_0x3ca0d6=_0x241ff1[_0x4d51b3(0xc3)])==null?{}:_0x3ca0d6,...k(_0x5e05f4===0x0,_0x5e05f4===_0x3daca0[_0x4d51b3(0x9c)]-0x1)};});let _0xd93a9e=(_0x1fa555=_0x59c82d[_0x351df6(0xe0)])==null?void 0x0:_0x1fa555[_0x351df6(0x8f)](_0x471087=>_0x471087[_0x351df6(0xbb)]===_0x47b389+0x1);return _0xd93a9e&&(_0xd93a9e[_0x351df6(0xc3)]=pe(_0xd93a9e[_0x351df6(0xc3)])),{'nextDocumentData':_0x2819b1,'cursorOffset':_0x47b389+0x1};}function se(_0x56e485){const _0x44ce01=_0x90b1ed;let _0x33b8f7=A(_0x56e485[_0x44ce01(0x9a)]),_0x2500a7=j(_0x33b8f7),_0x39c77d=de(_0x2500a7,_0x56e485['cursorOffset']);return _0x39c77d&&ce(_0x33b8f7,_0x2500a7,_0x39c77d,_0x56e485[_0x44ce01(0xa5)],_0x56e485['paragraphStartIndex'])||null;}function ce(_0x356e1a,_0x4a59fc,_0x12c6ce,_0x3931fd,_0x310c2f){const _0x14ebb0=_0x90b1ed;let _0x1dfe69=be(_0x4a59fc,_0x12c6ce,_0x3931fd,_0x310c2f);if(!_0x1dfe69)return null;let _0x57d8a7=_0x1dfe69[_0x14ebb0(0x77)]-0x1;return xe(_0x4a59fc,_0x1dfe69['paragraph'][_0x14ebb0(0xbb)],_0x1dfe69[_0x14ebb0(0xa8)][_0x14ebb0(0xbb)]+0x1),{'nextDocumentData':_0x356e1a,'cursorOffset':_0x57d8a7};}function le(_0x38adfc,_0x3d43d6){const _0x594ea6=_0x90b1ed;var _0x4c7069;return _0x38adfc==null||(_0x4c7069=_0x38adfc[_0x594ea6(0xee)])==null?void 0x0:_0x4c7069['find'](_0x1a8dd3=>_0x1a8dd3[_0x594ea6(0xc0)]===_0x594ea6(0xb1)&&_0x1a8dd3[_0x594ea6(0xbb)]<=_0x3d43d6&&_0x3d43d6<=_0x1a8dd3[_0x594ea6(0x78)]);}function ue(_0x323253){const _0x30969c=_0x90b1ed;var _0x4424e0;let _0x1f7f3=_0x323253['documentData'][_0x30969c(0xdc)];if(!_0x1f7f3)return!0x1;let _0x575235=_0x323253['direction']==='left'?_0x323253['cursorOffset']-0x1:_0x323253[_0x30969c(0xa5)],_0x473e1a=_0x323253['direction']===_0x30969c(0x9d)?_0x323253[_0x30969c(0xa5)]+0x1:_0x575235;return((_0x4424e0=_0x1f7f3[_0x30969c(0xee)])==null?[]:_0x4424e0)[_0x30969c(0xdf)](_0x2b42f3=>_0x2b42f3[_0x30969c(0xc0)]===_0x30969c(0xb1)?_0x575235===_0x2b42f3['startIndex']||_0x575235===_0x2b42f3[_0x30969c(0x78)]||_0x473e1a===_0x2b42f3[_0x30969c(0xbb)]||_0x473e1a===_0x2b42f3[_0x30969c(0x78)]:!0x1);}function de(_0x48b38b,_0x813b06){const _0x475248=_0x90b1ed;var _0x163cb8;return(_0x163cb8=_0x48b38b[_0x475248(0xee)])==null?void 0x0:_0x163cb8[_0x475248(0x8f)](_0x1aa7b1=>{const _0x789e7f=_0x475248;let _0x1aba1b=P(_0x48b38b,_0x1aa7b1);return _0x1aa7b1['blockType']===_0x789e7f(0xb1)&&_0x1aa7b1['startIndex']<=_0x813b06&&_0x813b06<=_0x1aba1b+0x2;});}function k(_0x4b49f2,_0x2c2e64,_0x4c8672=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x4b49f2&&_0x4c8672?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':ne,'fs':0xc}};}function fe(_0x36ad79,_0x2a8036,_0x4212cf,_0x467be2=!0x1){const _0x57d279=_0x90b1ed;var _0x14b618;let _0x3b87a0=((_0x14b618=_0x36ad79[_0x57d279(0xe0)])==null?[]:_0x14b618)[_0x57d279(0x84)](_0x537127=>_0x537127['startIndex']>_0x2a8036&&_0x537127[_0x57d279(0xbb)]<_0x4212cf);_0x3b87a0[_0x57d279(0xa3)]((_0x2e494c,_0x52c09d)=>{const _0x24e0ad=_0x57d279;var _0x5ac0ce;_0x2e494c['paragraphStyle']={...(_0x5ac0ce=_0x2e494c[_0x24e0ad(0xc3)])==null?{}:_0x5ac0ce,...k(_0x52c09d===0x0,_0x52c09d===_0x3b87a0[_0x24e0ad(0x9c)]-0x1,_0x467be2)};});}function pe(_0xa565de){const _0x42b261=_0x90b1ed;var _0xc2c383,_0x33ddf2;let _0x236066={..._0xa565de==null?{}:_0xa565de};return delete _0x236066[_0x42b261(0xa6)],delete _0x236066[_0x42b261(0xeb)],delete _0x236066[_0x42b261(0xac)],delete _0x236066[_0x42b261(0x83)],((_0xc2c383=_0x236066[_0x42b261(0xcd)])==null?void 0x0:_0xc2c383['ff'])===ne&&((_0x33ddf2=_0x236066[_0x42b261(0xcd)])==null?void 0x0:_0x33ddf2['fs'])===0xc&&delete _0x236066[_0x42b261(0xcd)],_0x236066;}function me(_0x505a69,_0x2eac84){const _0x2b4483=_0x90b1ed;var _0x12d19d;let _0x5f41c7=P(_0x505a69,_0x2eac84);return((_0x12d19d=_0x505a69['paragraphs'])==null?[]:_0x12d19d)[_0x2b4483(0x84)](_0xa8f510=>_0xa8f510['startIndex']>_0x2eac84['startIndex']&&_0xa8f510[_0x2b4483(0xbb)]<_0x5f41c7);}function he(_0x41b373,_0x38b037,_0x5b06e9){const _0x34b5a7=_0x90b1ed;let _0x3937ce=N(_0x41b373,_0x38b037,_0x5b06e9),_0x3b42d3=_0x41b373[_0x34b5a7(0x85)][_0x34b5a7(0xcb)](_0x3937ce,_0x5b06e9[_0x34b5a7(0xbb)]);return Array[_0x34b5a7(0xe2)](_0x3b42d3)['every'](_0x5ab010=>_0x5ab010===_0x803f1c['BLOCK_START']||_0x5ab010===_0x803f1c[_0x34b5a7(0xb3)]);}function A(_0x38e1ec){const _0x4ff6f9=_0x90b1ed;return _0x2fe1ea[_0x4ff6f9(0x9e)](_0x38e1ec);}function j(_0x2215f9){const _0x43a9f0=_0x90b1ed;if(!_0x2215f9[_0x43a9f0(0xdc)])throw Error(_0x43a9f0(0x9f));return _0x2215f9[_0x43a9f0(0xdc)];}function ge(_0xbaafec,_0xd68723,_0x568516){const _0x5f11e9=_0x90b1ed;if(_0xd68723==null||_0x568516==null){let _0x353037=_e(_0xbaafec);return{'startOffset':_0x353037,'endOffset':_0x353037};}let _0x13bb5b=Math[_0x5f11e9(0x86)](_0xd68723,_0x568516),_0x1a9d87=Math[_0x5f11e9(0x96)](_0xd68723,_0x568516);return _0x13bb5b===_0x1a9d87?{'startOffset':_0x13bb5b,'endOffset':_0x13bb5b}:ye(_0xbaafec,_0x13bb5b,_0x1a9d87);}function _e(_0x2e255b){const _0x215692=_0x90b1ed;return _0x2e255b['dataStream']['endsWith'](_0x803f1c[_0x215692(0xe5)])?Math[_0x215692(0x96)](0x0,_0x2e255b[_0x215692(0x85)][_0x215692(0x9c)]-0x1):_0x2e255b[_0x215692(0x85)]['length'];}function ve(_0x52278a,_0x31b780,_0x5cb472){const _0x1d8f24=_0x90b1ed;var _0x1607eb;let _0x117584=Math[_0x1d8f24(0x86)](_0x31b780,_0x5cb472),_0x1e38cd=Math[_0x1d8f24(0x96)](_0x31b780,_0x5cb472);return!!((_0x1607eb=_0x52278a[_0x1d8f24(0x8b)])!=null&&_0x1607eb['some'](_0x4b824d=>_0x117584>_0x4b824d[_0x1d8f24(0xbb)]&&_0x117584<_0x4b824d[_0x1d8f24(0x78)]||_0x1e38cd>_0x4b824d['startIndex']&&_0x1e38cd<_0x4b824d['endIndex']||_0x117584<=_0x4b824d[_0x1d8f24(0xbb)]&&_0x1e38cd>=_0x4b824d[_0x1d8f24(0x78)]));}function ye(_0x58376c,_0x48e439,_0x5b5ab9){const _0x56c5dd=_0x90b1ed;var _0x11b57c,_0x36a876;let _0x3c8461=[...(_0x11b57c=_0x58376c[_0x56c5dd(0xe0)])==null?[]:_0x11b57c]['sort']((_0x33cd25,_0x539b3c)=>_0x33cd25['startIndex']-_0x539b3c[_0x56c5dd(0xbb)]),_0x5af445=_0x3c8461[_0x56c5dd(0x8f)]((_0x32087b,_0x3223f5)=>(_0x3223f5===0x0?0x0:_0x3c8461[_0x3223f5-0x1][_0x56c5dd(0xbb)]+0x1)<=_0x48e439&&_0x48e439<=_0x32087b[_0x56c5dd(0xbb)]),_0x121695=(_0x36a876=_0x3c8461['find'](_0x155bb2=>_0x155bb2['startIndex']>=_0x5b5ab9-0x1))==null?_0x3c8461[_0x3c8461[_0x56c5dd(0x9c)]-0x1]:_0x36a876;return{'startOffset':_0x5af445?M(_0x3c8461,_0x5af445):_0x48e439,'endOffset':_0x121695?_0x121695[_0x56c5dd(0xbb)]+0x1:_0x5b5ab9};}function M(_0x1f2509,_0x3b267d){const _0x4f6cfb=_0x90b1ed;let _0x48901f=_0x1f2509['indexOf'](_0x3b267d);return _0x48901f>0x0?_0x1f2509[_0x48901f-0x1][_0x4f6cfb(0xbb)]+0x1:0x0;}function N(_0x2332d5,_0x1637ee,_0xf876c5){const _0x8e9199=_0x90b1ed;var _0xfb1a33;return Math[_0x8e9199(0x96)](M((_0xfb1a33=_0x2332d5[_0x8e9199(0xe0)])==null?[]:_0xfb1a33,_0xf876c5),_0x1637ee[_0x8e9199(0xbb)]+0x1);}function P(_0x262c7b,_0x249fa2){const _0x4b8d36=_0x90b1ed;return _0x262c7b['dataStream'][_0x249fa2[_0x4b8d36(0x78)]]===_0x803f1c[_0x4b8d36(0xb3)]?_0x249fa2[_0x4b8d36(0x78)]:_0x262c7b[_0x4b8d36(0x85)][_0x249fa2[_0x4b8d36(0x78)]+0x1]===_0x803f1c[_0x4b8d36(0xb3)]?_0x249fa2[_0x4b8d36(0x78)]+0x1:_0x249fa2[_0x4b8d36(0x78)];}function be(_0x585a7f,_0x26b05e,_0x3a80ee,_0x5ef1ff){const _0x1e2216=_0x90b1ed;var _0x447587,_0x1a18b9;let _0x4b7d82=P(_0x585a7f,_0x26b05e),_0x455939=((_0x447587=_0x585a7f[_0x1e2216(0xe0)])==null?[]:_0x447587)[_0x1e2216(0x8f)](_0x580665=>_0x580665['startIndex']===_0x4b7d82+0x1);if(!_0x455939||_0x5ef1ff!=null&&_0x455939[_0x1e2216(0xbb)]!==_0x5ef1ff||_0x3a80ee<_0x4b7d82||_0x3a80ee>_0x455939[_0x1e2216(0xbb)]+0x1||_0x585a7f['dataStream'][_0x455939['startIndex']]!==_0x803f1c['PARAGRAPH'])return null;let _0x2a98bf=M((_0x1a18b9=_0x585a7f[_0x1e2216(0xe0)])==null?[]:_0x1a18b9,_0x455939),_0x5395cd=_0x585a7f[_0x1e2216(0x85)][_0x1e2216(0xcb)](_0x2a98bf,_0x455939[_0x1e2216(0xbb)]);return Array['from'](_0x5395cd)[_0x1e2216(0xd3)](_0x331a57=>_0x331a57===_0x803f1c['BLOCK_END'])?{'paragraph':_0x455939,'endTokenOffset':_0x4b7d82}:null;}function F(_0x34aa91,_0x2aeb25,_0x2065e1,_0xa373c3={}){const _0x56cd43=_0x90b1ed;var _0x42f966,_0xcaaedc;if(_0x2065e1){if(_0x34aa91[_0x56cd43(0x85)]=''+_0x34aa91[_0x56cd43(0x85)][_0x56cd43(0xcb)](0x0,_0x2aeb25)+_0x2065e1+_0x34aa91[_0x56cd43(0x85)][_0x56cd43(0xcb)](_0x2aeb25),Se(_0x34aa91,_0x2aeb25,_0x2065e1[_0x56cd43(0x9c)]),(_0x42f966=_0xa373c3['paragraphs'])!=null&&_0x42f966['length']){var _0x4d1542;_0x34aa91[_0x56cd43(0xe0)]=[...(_0x4d1542=_0x34aa91['paragraphs'])==null?[]:_0x4d1542,..._0xa373c3[_0x56cd43(0xe0)][_0x56cd43(0xa7)](_0x39c84f=>({..._0x39c84f,'startIndex':_0x39c84f[_0x56cd43(0xbb)]+_0x2aeb25}))]['sort']((_0xbac976,_0x389c21)=>_0xbac976[_0x56cd43(0xbb)]-_0x389c21[_0x56cd43(0xbb)]);}if((_0xcaaedc=_0xa373c3[_0x56cd43(0xee)])!=null&&_0xcaaedc[_0x56cd43(0x9c)]){var _0x40a146;_0x34aa91[_0x56cd43(0xee)]=[...(_0x40a146=_0x34aa91['blockRanges'])==null?[]:_0x40a146,..._0xa373c3['blockRanges'][_0x56cd43(0xa7)](_0x4b99a1=>({..._0x4b99a1,'startIndex':_0x4b99a1[_0x56cd43(0xbb)]+_0x2aeb25,'endIndex':_0x4b99a1[_0x56cd43(0x78)]+_0x2aeb25}))][_0x56cd43(0x97)]((_0x996444,_0x28c629)=>_0x996444[_0x56cd43(0xbb)]-_0x28c629['startIndex']);}}}function xe(_0x3add5f,_0x5d38d6,_0x112552){const _0x825238=_0x90b1ed;let _0x1a39ef=_0x112552-_0x5d38d6;_0x3add5f[_0x825238(0x85)]=''+_0x3add5f[_0x825238(0x85)][_0x825238(0xcb)](0x0,_0x5d38d6)+_0x3add5f[_0x825238(0x85)][_0x825238(0xcb)](_0x112552),Ce(_0x3add5f,_0x5d38d6,_0x1a39ef);}function Se(_0x4e990c,_0x11bb3c,_0x13e1c3){const _0xb6d7ba=_0x90b1ed;_0x4e990c[_0xb6d7ba(0xe0)]=I(_0x4e990c[_0xb6d7ba(0xe0)],_0x11bb3c,_0x13e1c3),_0x4e990c[_0xb6d7ba(0xe1)]=I(_0x4e990c[_0xb6d7ba(0xe1)],_0x11bb3c,_0x13e1c3),_0x4e990c[_0xb6d7ba(0xb2)]=I(_0x4e990c['customBlocks'],_0x11bb3c,_0x13e1c3),_0x4e990c[_0xb6d7ba(0x80)]=we(_0x4e990c['textRuns'],_0x11bb3c,_0x13e1c3),_0x4e990c[_0xb6d7ba(0x8b)]=R(_0x4e990c['tables'],_0x11bb3c,_0x13e1c3),_0x4e990c[_0xb6d7ba(0xce)]=R(_0x4e990c[_0xb6d7ba(0xce)],_0x11bb3c,_0x13e1c3),_0x4e990c[_0xb6d7ba(0xcc)]=R(_0x4e990c[_0xb6d7ba(0xcc)],_0x11bb3c,_0x13e1c3),_0x4e990c[_0xb6d7ba(0xee)]=R(_0x4e990c['blockRanges'],_0x11bb3c,_0x13e1c3);}function Ce(_0x91e6b5,_0x3a4500,_0x3be86c){const _0x4f1fec=_0x90b1ed;var _0x1fb56e,_0x18551d;_0x91e6b5['paragraphs']=L(_0x91e6b5[_0x4f1fec(0xe0)],_0x3a4500,_0x3be86c),_0x91e6b5[_0x4f1fec(0xe1)]=L(_0x91e6b5[_0x4f1fec(0xe1)],_0x3a4500,_0x3be86c),_0x91e6b5[_0x4f1fec(0xb2)]=L(_0x91e6b5[_0x4f1fec(0xb2)],_0x3a4500,_0x3be86c),_0x91e6b5[_0x4f1fec(0x80)]=(_0x1fb56e=z((_0x18551d=_0x91e6b5[_0x4f1fec(0x80)])==null?void 0x0:_0x18551d['map'](_0x42bd4e=>({..._0x42bd4e,'startIndex':_0x42bd4e['st'],'endIndex':_0x42bd4e['ed']})),_0x3a4500,_0x3be86c))==null?void 0x0:_0x1fb56e[_0x4f1fec(0xa7)](_0x1ab5b4=>{let {startIndex:_0x1babc9,endIndex:_0x267df8,..._0x474662}=_0x1ab5b4;return{..._0x474662,'st':_0x1babc9,'ed':_0x267df8};}),_0x91e6b5[_0x4f1fec(0x8b)]=z(_0x91e6b5[_0x4f1fec(0x8b)],_0x3a4500,_0x3be86c),_0x91e6b5['customRanges']=z(_0x91e6b5['customRanges'],_0x3a4500,_0x3be86c),_0x91e6b5[_0x4f1fec(0xcc)]=z(_0x91e6b5[_0x4f1fec(0xcc)],_0x3a4500,_0x3be86c),_0x91e6b5[_0x4f1fec(0xee)]=z(_0x91e6b5[_0x4f1fec(0xee)],_0x3a4500,_0x3be86c);}function I(_0x19bb9f,_0x448546,_0x22d083){const _0x218961=_0x90b1ed;return _0x19bb9f==null?void 0x0:_0x19bb9f[_0x218961(0xa7)](_0x1b4290=>_0x1b4290['startIndex']>=_0x448546?{..._0x1b4290,'startIndex':_0x1b4290[_0x218961(0xbb)]+_0x22d083}:_0x1b4290);}function L(_0x190366,_0x1a1505,_0x108fe5){const _0x58f4e8=_0x90b1ed;let _0x143efc=_0x1a1505+_0x108fe5;return _0x190366==null?void 0x0:_0x190366[_0x58f4e8(0xa7)](_0x2bc329=>_0x2bc329[_0x58f4e8(0xbb)]>=_0x1a1505&&_0x2bc329[_0x58f4e8(0xbb)]<_0x143efc?null:_0x2bc329['startIndex']>=_0x143efc?{..._0x2bc329,'startIndex':_0x2bc329['startIndex']-_0x108fe5}:_0x2bc329)[_0x58f4e8(0x84)](_0x141ac8=>_0x141ac8!=null);}function we(_0x36d861,_0x1cf88e,_0x20cd33){const _0x58e5e7=_0x90b1ed;return _0x36d861==null?void 0x0:_0x36d861[_0x58e5e7(0xa7)](_0x1dc49e=>_0x1dc49e['st']>=_0x1cf88e?{..._0x1dc49e,'st':_0x1dc49e['st']+_0x20cd33,'ed':_0x1dc49e['ed']+_0x20cd33}:_0x1dc49e['ed']>_0x1cf88e?{..._0x1dc49e,'ed':_0x1dc49e['ed']+_0x20cd33}:_0x1dc49e);}function R(_0x33e44b,_0x428c7b,_0x59f0d0){const _0x3aaf15=_0x90b1ed;return _0x33e44b==null?void 0x0:_0x33e44b[_0x3aaf15(0xa7)](_0x1732fb=>_0x1732fb['startIndex']>=_0x428c7b?{..._0x1732fb,'startIndex':_0x1732fb[_0x3aaf15(0xbb)]+_0x59f0d0,'endIndex':_0x1732fb[_0x3aaf15(0x78)]+_0x59f0d0}:_0x1732fb[_0x3aaf15(0x78)]>=_0x428c7b?{..._0x1732fb,'endIndex':_0x1732fb['endIndex']+_0x59f0d0}:_0x1732fb);}function z(_0x315c34,_0x2be22a,_0x4c4798){const _0x4298bb=_0x90b1ed;let _0x516b92=_0x2be22a+_0x4c4798;return _0x315c34==null?void 0x0:_0x315c34[_0x4298bb(0xa7)](_0x4d563a=>_0x4d563a[_0x4298bb(0xbb)]>=_0x2be22a&&_0x4d563a[_0x4298bb(0x78)]<_0x516b92?null:_0x4d563a[_0x4298bb(0xbb)]>=_0x516b92?{..._0x4d563a,'startIndex':_0x4d563a[_0x4298bb(0xbb)]-_0x4c4798,'endIndex':_0x4d563a[_0x4298bb(0x78)]-_0x4c4798}:_0x4d563a[_0x4298bb(0x78)]>=_0x2be22a?{..._0x4d563a,'startIndex':_0x4d563a[_0x4298bb(0xbb)]<_0x2be22a?_0x4d563a['startIndex']:_0x2be22a,'endIndex':Math['max'](_0x2be22a,_0x4d563a[_0x4298bb(0x78)]-_0x4c4798)}:_0x4d563a)[_0x4298bb(0x84)](_0x4b9986=>_0x4b9986!=null);}function B(_0x50aef1,_0x465f64,_0x429c33,_0x101da2){const _0x4ba317=_0x90b1ed;_0x50aef1==null||_0x50aef1[_0x4ba317(0xa3)](_0x22d9c1=>{const _0xdfe8=_0x4ba317;_0x22d9c1[_0xdfe8(0xbb)]>=_0x465f64&&_0x22d9c1[_0xdfe8(0xbb)]<_0x429c33&&(_0x22d9c1['startIndex']+=_0x101da2);});}function Te(_0x57bfb3,_0x4cf9f,_0x3c9f9e,_0x427d8c){const _0xbd390c=_0x90b1ed;_0x57bfb3==null||_0x57bfb3[_0xbd390c(0xa3)](_0x4b5dca=>{_0x4b5dca['st']>=_0x4cf9f&&_0x4b5dca['st']<_0x3c9f9e?(_0x4b5dca['st']+=_0x427d8c,_0x4b5dca['ed']+=_0x427d8c):_0x4b5dca['ed']>_0x4cf9f&&_0x4b5dca['ed']<_0x3c9f9e&&(_0x4b5dca['ed']+=_0x427d8c);});}function V(_0x18f6bb,_0xff5d9c,_0x2a8482,_0x4c7e7e){const _0x142e18=_0x90b1ed;_0x18f6bb==null||_0x18f6bb[_0x142e18(0xa3)](_0x25bef4=>{const _0x532773=_0x142e18;_0x25bef4[_0x532773(0xbb)]>=_0xff5d9c&&_0x25bef4['startIndex']<_0x2a8482?(_0x25bef4[_0x532773(0xbb)]+=_0x4c7e7e,_0x25bef4[_0x532773(0x78)]+=_0x4c7e7e):_0x25bef4[_0x532773(0x78)]>_0xff5d9c&&_0x25bef4[_0x532773(0x78)]<_0x2a8482&&(_0x25bef4[_0x532773(0x78)]+=_0x4c7e7e);});}function H(_0x302838){'@babel/helpers - typeof';const _0x37dcbe=_0x90b1ed;return H=typeof Symbol==_0x37dcbe(0x95)&&typeof Symbol['iterator']==_0x37dcbe(0x7d)?function(_0xbdc232){return typeof _0xbdc232;}:function(_0x3d641b){const _0x451961=_0x37dcbe;return _0x3d641b&&typeof Symbol==_0x451961(0x95)&&_0x3d641b['constructor']===Symbol&&_0x3d641b!==Symbol[_0x451961(0x88)]?'symbol':typeof _0x3d641b;},H(_0x302838);}function Ee(_0x192548,_0xaab2b2){const _0x35fd6f=_0x90b1ed;if(H(_0x192548)!=_0x35fd6f(0xb8)||!_0x192548)return _0x192548;var _0x11bac5=_0x192548[Symbol['toPrimitive']];if(_0x11bac5!==void 0x0){var _0x3013c2=_0x11bac5[_0x35fd6f(0xe9)](_0x192548,_0xaab2b2||'default');if(H(_0x3013c2)!=_0x35fd6f(0xb8))return _0x3013c2;throw TypeError(_0x35fd6f(0xd0));}return(_0xaab2b2===_0x35fd6f(0xd9)?String:Number)(_0x192548);}function De(_0x3ca631){const _0x2df239=_0x90b1ed;var _0x3dde7e=Ee(_0x3ca631,'string');return H(_0x3dde7e)==_0x2df239(0x7d)?_0x3dde7e:_0x3dde7e+'';}function U(_0x2e6d97,_0x30be5d,_0x5cec6b){const _0xaa99c1=_0x90b1ed;return(_0x30be5d=De(_0x30be5d))in _0x2e6d97?Object[_0xaa99c1(0xf3)](_0x2e6d97,_0x30be5d,{'value':_0x5cec6b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2e6d97[_0x30be5d]=_0x5cec6b,_0x2e6d97;}var W=class extends _0x58c269{constructor(..._0x4205aa){const _0x4651b6=_0x90b1ed;super(..._0x4205aa),U(this,_0x4651b6(0xca),new Map()),U(this,_0x4651b6(0xef),new _0x1f73cb()),U(this,_0x4651b6(0xba),this['_change$'][_0x4651b6(0xed)]());}[_0x90b1ed(0xe8)](_0x112960,_0x16fabc){const _0x44746d=_0x90b1ed;return E(this[_0x44746d(0xca)][_0x44746d(0xf4)](_0x112960))[_0x44746d(0xe7)][_0x16fabc];}[_0x90b1ed(0xd6)](_0x1e1604,_0x598fb3,_0x6a5b50){const _0x3aa9f6=_0x90b1ed;this['_setResource'](_0x1e1604,_0x598fb3,D(this[_0x3aa9f6(0xca)]['get'](_0x1e1604),_0x598fb3,_0x6a5b50));}[_0x90b1ed(0x8c)](_0x4200e5,_0xc1c07e){const _0x41abda=_0x90b1ed;this[_0x41abda(0x92)](_0x4200e5,_0xc1c07e,te(this[_0x41abda(0xca)]['get'](_0x4200e5),_0xc1c07e));}['serialize'](_0x2b6f7f){const _0x4dccc9=_0x90b1ed;return E(this[_0x4dccc9(0xca)]['get'](_0x2b6f7f));}[_0x90b1ed(0xc9)](_0x5d71f7,_0x12e961){const _0x15391b=_0x90b1ed;this[_0x15391b(0xca)][_0x15391b(0x9b)](_0x5d71f7,E(_0x12e961)),this['_change$'][_0x15391b(0xdb)]({'unitId':_0x5d71f7});}[_0x90b1ed(0x7f)](_0x7d2cf7){const _0x56adfd=_0x90b1ed;this[_0x56adfd(0xca)]['delete'](_0x7d2cf7),this[_0x56adfd(0xef)][_0x56adfd(0xdb)]({'unitId':_0x7d2cf7});}['dispose'](){const _0x3ba5a4=_0x90b1ed;super[_0x3ba5a4(0x8d)](),this[_0x3ba5a4(0xca)]['clear'](),this['_change$']['complete']();}[_0x90b1ed(0x92)](_0x1a2a77,_0x1d8fca,_0x4bc07a){const _0x24fb80=_0x90b1ed;this[_0x24fb80(0xca)][_0x24fb80(0x9b)](_0x1a2a77,_0x4bc07a),this[_0x24fb80(0xef)][_0x24fb80(0xdb)]({'unitId':_0x1a2a77,'blockId':_0x1d8fca});}};const Oe={'id':'docs-code.command.insert-below','type':_0x123b49['COMMAND'],'handler':_0x180095=>{const _0xf948ac=_0x90b1ed;let _0x5e6be7=Me(_0x180095);if(_0x5e6be7)return _0x180095[_0xf948ac(0xf4)](_0x170d8a)[_0xf948ac(0xf5)](G['id'],{'startOffset':_0x5e6be7[_0xf948ac(0x79)],'endOffset':_0x5e6be7[_0xf948ac(0xd1)],'unitId':_0x5e6be7['unitId']});let _0x675b18=Ne(_0x180095);if(!_0x675b18)return!0x1;let _0x22cade=_0x675b18[_0xf948ac(0xbb)]+0x1;return _0x180095[_0xf948ac(0xf4)](_0x170d8a)[_0xf948ac(0xf5)](G['id'],{'startOffset':_0x22cade,'endOffset':_0x22cade});}},ke={'id':_0x90b1ed(0xbd),'type':_0x123b49[_0x90b1ed(0x81)],'handler':()=>!0x0},G={'id':'docs-code.command.insert','type':_0x123b49['COMMAND'],'handler':(_0x173ef0,_0x488acc)=>{const _0x30dd4f=_0x90b1ed;var _0x462f86,_0x3aad8a,_0x59c79a;let _0x205ede=q(_0x173ef0,_0x488acc==null?void 0x0:_0x488acc[_0x30dd4f(0xd2)]);if(!_0x205ede)return!0x1;let _0x253baa=J(_0x173ef0),_0x461d77=re({'blockId':(_0x462f86=_0x488acc==null?void 0x0:_0x488acc['blockId'])==null?_0x3a4ef4(0x6):_0x462f86,'config':_0x488acc==null?void 0x0:_0x488acc['config'],'documentData':_0x205ede[_0x30dd4f(0x8a)],'endOffset':(_0x3aad8a=_0x488acc==null?void 0x0:_0x488acc[_0x30dd4f(0xd1)])==null?_0x253baa==null?void 0x0:_0x253baa['endOffset']:_0x3aad8a,'metadata':_0x205ede['model'][_0x30dd4f(0x89)](_0x205ede['unitId']),'startOffset':(_0x59c79a=_0x488acc==null?void 0x0:_0x488acc[_0x30dd4f(0x79)])==null?_0x253baa==null?void 0x0:_0x253baa['startOffset']:_0x59c79a}),_0x41939f=X(_0x205ede[_0x30dd4f(0xf0)],_0x205ede['unitId'],_0x205ede['previousDocumentData'],_0x461d77[_0x30dd4f(0xe3)],_0x461d77[_0x30dd4f(0xa5)]);return _0x41939f&&_0x461d77[_0x30dd4f(0xaa)]&&_0x205ede[_0x30dd4f(0xd4)][_0x30dd4f(0xc9)](_0x205ede['unitId'],_0x461d77[_0x30dd4f(0xaa)]),_0x41939f;}},Ae={'id':_0x90b1ed(0xa9),'type':_0x123b49[_0x90b1ed(0x81)],'handler':(_0x8ea343,_0x374bef)=>{const _0x112213=_0x90b1ed;if(!_0x374bef)return!0x1;let _0x149893=q(_0x8ea343,_0x374bef[_0x112213(0xd2)]);if(!_0x149893)return!0x1;let _0x3e5eab=O({'blockId':_0x374bef[_0x112213(0xae)],'config':_0x374bef['config'],'documentData':_0x149893[_0x112213(0x8a)],'metadata':_0x149893[_0x112213(0xd4)]['serialize'](_0x149893[_0x112213(0xd2)])});return _0x3e5eab[_0x112213(0xaa)]&&_0x149893[_0x112213(0xd4)][_0x112213(0xc9)](_0x149893[_0x112213(0xd2)],_0x3e5eab[_0x112213(0xaa)]),!0x0;}},K={'id':_0x90b1ed(0x94),'type':_0x123b49[_0x90b1ed(0x81)],'handler':(_0x5e1e16,_0x2352e4)=>{const _0x475967=_0x90b1ed;var _0x2a56ff,_0x5ea6cb;let _0x591866=q(_0x5e1e16,_0x2352e4==null?void 0x0:_0x2352e4[_0x475967(0xd2)]);if(!_0x591866)return!0x1;let _0x537847=(_0x2a56ff=_0x2352e4==null?void 0x0:_0x2352e4['cursorOffset'])==null?(_0x5ea6cb=J(_0x5e1e16))==null?void 0x0:_0x5ea6cb[_0x475967(0x79)]:_0x2a56ff;if(_0x537847==null)return!0x1;let _0x3fd2a6=oe({'cursorOffset':_0x537847,'documentData':_0x591866[_0x475967(0x8a)]});return _0x3fd2a6?X(_0x591866[_0x475967(0xf0)],_0x591866['unitId'],_0x591866[_0x475967(0x8a)],_0x3fd2a6['nextDocumentData'],_0x3fd2a6[_0x475967(0xa5)]):!0x1;}},je={'id':_0x90b1ed(0xf8),'type':_0x123b49[_0x90b1ed(0x81)],'handler':(_0x4c232c,_0x3485e7)=>{const _0x55ec3a=_0x90b1ed;var _0x17b352,_0x5ece58;let _0x49d701=q(_0x4c232c,_0x3485e7==null?void 0x0:_0x3485e7[_0x55ec3a(0xd2)]);if(!_0x49d701)return!0x1;let _0x414869=(_0x17b352=_0x3485e7==null?void 0x0:_0x3485e7[_0x55ec3a(0xa5)])==null?(_0x5ece58=J(_0x4c232c))==null?void 0x0:_0x5ece58[_0x55ec3a(0x79)]:_0x17b352;if(_0x414869==null)return!0x1;let _0x20db5e=se({'cursorOffset':_0x414869,'documentData':_0x49d701['previousDocumentData'],'paragraphStartIndex':_0x3485e7==null?void 0x0:_0x3485e7[_0x55ec3a(0xd7)]});return _0x20db5e?X(_0x49d701['commandService'],_0x49d701[_0x55ec3a(0xd2)],_0x49d701[_0x55ec3a(0x8a)],_0x20db5e['nextDocumentData'],_0x20db5e[_0x55ec3a(0xa5)]):!0x1;}};function q(_0x2c43b1,_0x3b6d54){const _0x1648c6=_0x90b1ed;let _0x3aac76=_0x2c43b1[_0x1648c6(0xf4)](_0x2bbfcb),_0x16c22b=_0x3b6d54?_0x3aac76[_0x1648c6(0xec)](_0x3b6d54):_0x3aac76['getCurrentUnitOfType'](_0x333d99[_0x1648c6(0xb9)]);return _0x16c22b?{'commandService':_0x2c43b1[_0x1648c6(0xf4)](_0x170d8a),'model':_0x2c43b1[_0x1648c6(0xf4)](W),'previousDocumentData':_0x16c22b[_0x1648c6(0xd5)](),'unitId':_0x16c22b['getUnitId']()}:null;}function J(_0x55c760){const _0x2a3cd1=_0x90b1ed;var _0x3c4d0d;return(_0x3c4d0d=_0x55c760[_0x2a3cd1(0xf4)](_0xd6548f)['getTextRanges']())==null?void 0x0:_0x3c4d0d[0x0];}function Me(_0x5281e2){const _0x4ee214=_0x90b1ed;var _0x44eb11;let _0xc735e4=(_0x44eb11=_0x5281e2[_0x4ee214(0xf4)](_0x2bbfcb)[_0x4ee214(0xbc)](_0x333d99['UNIVER_DOC']))==null?void 0x0:_0x44eb11['getUnitId']();try{return _0x5281e2[_0x4ee214(0xf4)](_0xaf51af)[_0x4ee214(0xaf)](_0xc735e4);}catch{return null;}}function Ne(_0x545037){const _0x15928b=_0x90b1ed;var _0x35607c,_0xebd823,_0x31b1ea;let _0x2eda2b=J(_0x545037);if(!_0x2eda2b)return null;let _0x2e3d34=_0x545037[_0x15928b(0xf4)](_0x2bbfcb)['getCurrentUnitOfType'](_0x333d99['UNIVER_DOC']),_0x29244e=_0x2e3d34==null?void 0x0:_0x2e3d34[_0x15928b(0xb5)]();return _0x29244e?(_0x35607c=_0x51dd86['range'][_0x15928b(0x93)](_0x2eda2b,(_0xebd823=_0x29244e['paragraphs'])==null?[]:_0xebd823,(_0x31b1ea=_0x29244e['dataStream'])==null?'':_0x31b1ea)[0x0])==null?null:_0x35607c:null;}function Pe(_0x33941b,_0x16ca57){const _0x573e2b=_0x90b1ed;var _0x20defe,_0x437c12,_0x248225,_0x5a12f8,_0x34d205,_0x5de325,_0xf40731,_0x3c4d0e,_0x32d155,_0x18bdcb,_0x325579,_0x45cb21,_0x4c41ac,_0xc8df4f,_0xdef250,_0x291908,_0x1e914d,_0x3a2e54;let _0x523645=_0x104200['getInstance']();return[Y(_0x523645,[_0x573e2b(0xdc),_0x573e2b(0x85)],(_0x20defe=_0x33941b[_0x573e2b(0xdc)])==null?void 0x0:_0x20defe[_0x573e2b(0x85)],(_0x437c12=_0x16ca57[_0x573e2b(0xdc)])==null?void 0x0:_0x437c12['dataStream']),Y(_0x523645,[_0x573e2b(0xdc),_0x573e2b(0xe0)],(_0x248225=_0x33941b[_0x573e2b(0xdc)])==null?void 0x0:_0x248225[_0x573e2b(0xe0)],(_0x5a12f8=_0x16ca57[_0x573e2b(0xdc)])==null?void 0x0:_0x5a12f8[_0x573e2b(0xe0)]),Y(_0x523645,[_0x573e2b(0xdc),_0x573e2b(0xe1)],(_0x34d205=_0x33941b[_0x573e2b(0xdc)])==null?void 0x0:_0x34d205['sectionBreaks'],(_0x5de325=_0x16ca57[_0x573e2b(0xdc)])==null?void 0x0:_0x5de325[_0x573e2b(0xe1)]),Y(_0x523645,['body',_0x573e2b(0x80)],(_0xf40731=_0x33941b[_0x573e2b(0xdc)])==null?void 0x0:_0xf40731[_0x573e2b(0x80)],(_0x3c4d0e=_0x16ca57[_0x573e2b(0xdc)])==null?void 0x0:_0x3c4d0e['textRuns']),Y(_0x523645,[_0x573e2b(0xdc),'customBlocks'],(_0x32d155=_0x33941b[_0x573e2b(0xdc)])==null?void 0x0:_0x32d155[_0x573e2b(0xb2)],(_0x18bdcb=_0x16ca57['body'])==null?void 0x0:_0x18bdcb[_0x573e2b(0xb2)]),Y(_0x523645,['body',_0x573e2b(0xce)],(_0x325579=_0x33941b['body'])==null?void 0x0:_0x325579[_0x573e2b(0xce)],(_0x45cb21=_0x16ca57[_0x573e2b(0xdc)])==null?void 0x0:_0x45cb21[_0x573e2b(0xce)]),Y(_0x523645,['body',_0x573e2b(0xcc)],(_0x4c41ac=_0x33941b[_0x573e2b(0xdc)])==null?void 0x0:_0x4c41ac[_0x573e2b(0xcc)],(_0xc8df4f=_0x16ca57[_0x573e2b(0xdc)])==null?void 0x0:_0xc8df4f['customDecorations']),Y(_0x523645,[_0x573e2b(0xdc),'tables'],(_0xdef250=_0x33941b['body'])==null?void 0x0:_0xdef250[_0x573e2b(0x8b)],(_0x291908=_0x16ca57['body'])==null?void 0x0:_0x291908[_0x573e2b(0x8b)]),Y(_0x523645,[_0x573e2b(0xdc),_0x573e2b(0xee)],(_0x1e914d=_0x33941b[_0x573e2b(0xdc)])==null?void 0x0:_0x1e914d['blockRanges'],(_0x3a2e54=_0x16ca57[_0x573e2b(0xdc)])==null?void 0x0:_0x3a2e54[_0x573e2b(0xee)])][_0x573e2b(0x84)](Boolean)['reduce']((_0x50b0c7,_0x5e92ad)=>_0x104200[_0x573e2b(0xe6)](_0x50b0c7,_0x5e92ad),null);}function Y(_0x15ea1f,_0x2c8670,_0x1098b1,_0x54d820){const _0x1330dc=_0x90b1ed;return _0x2fe1ea['diffValue'](_0x1098b1,_0x54d820)?null:_0x15ea1f[_0x1330dc(0xde)](_0x2c8670,_0x1098b1,_0x54d820);}function X(_0x3ef515,_0x568fa0,_0x14ea64,_0x271602,_0x1f9a7d){const _0x12c7cb=_0x90b1ed;let _0x2c90bf=Pe(_0x14ea64,_0x271602);return _0x2c90bf?!!_0x3ef515[_0x12c7cb(0xf5)](_0x2ef7f4['id'],{'unitId':_0x568fa0,'actions':_0x2c90bf,'textRanges':[{'startOffset':_0x1f9a7d,'endOffset':_0x1f9a7d,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}function _0x34cc(_0x5cc710,_0x3b84d2){_0x5cc710=_0x5cc710-0x76;const _0x4a0e08=_0x4a0e();let _0x34ccc5=_0x4a0e08[_0x5cc710];return _0x34ccc5;}var Fe='@univerjs-pro/docs-code',Ie=_0x90b1ed(0xb0);const Le={};function Z(_0x123199,_0x2e51a8){return function(_0x4ad631,_0x20854d){_0x2e51a8(_0x4ad631,_0x20854d,_0x123199);};}function Re(_0x2b6b47,_0x397759,_0x3ca90a,_0x402ea2){const _0x3e8fe6=_0x90b1ed;var _0x397c1e=arguments['length'],_0x3ddb73=_0x397c1e<0x3?_0x397759:_0x402ea2===null?_0x402ea2=Object[_0x3e8fe6(0x98)](_0x397759,_0x3ca90a):_0x402ea2,_0xe3f69d;if(typeof Reflect==_0x3e8fe6(0xb8)&&typeof Reflect[_0x3e8fe6(0xad)]==_0x3e8fe6(0x95))_0x3ddb73=Reflect['decorate'](_0x2b6b47,_0x397759,_0x3ca90a,_0x402ea2);else{for(var _0x576d74=_0x2b6b47['length']-0x1;_0x576d74>=0x0;_0x576d74--)(_0xe3f69d=_0x2b6b47[_0x576d74])&&(_0x3ddb73=(_0x397c1e<0x3?_0xe3f69d(_0x3ddb73):_0x397c1e>0x3?_0xe3f69d(_0x397759,_0x3ca90a,_0x3ddb73):_0xe3f69d(_0x397759,_0x3ca90a))||_0x3ddb73);}return _0x397c1e>0x3&&_0x3ddb73&&Object[_0x3e8fe6(0xf3)](_0x397759,_0x3ca90a,_0x3ddb73),_0x3ddb73;}let Q=class extends _0x58c269{constructor(_0x24cb6e,_0x10159c){const _0x6eb239=_0x90b1ed;super(),this[_0x6eb239(0xe4)]=_0x24cb6e,this[_0x6eb239(0x7b)]=_0x10159c,this['_initResource']();}[_0x90b1ed(0xc5)](){const _0x3c5f9b=_0x90b1ed;this[_0x3c5f9b(0xa0)](this[_0x3c5f9b(0xe4)][_0x3c5f9b(0x90)]({'pluginName':S,'businesses':[_0x333d99['UNIVER_DOC']],'toJson':_0xc1bee2=>JSON[_0x3c5f9b(0xc7)](this[_0x3c5f9b(0x7b)][_0x3c5f9b(0x89)](_0xc1bee2)),'parseJson':_0x3dd93c=>E(JSON[_0x3c5f9b(0xdd)](_0x3dd93c)),'onLoad':(_0x4a5d3e,_0x2cb583)=>this['_docsCodeModel']['deserialize'](_0x4a5d3e,_0x2cb583),'onUnLoad':_0x5f2188=>this[_0x3c5f9b(0x7b)][_0x3c5f9b(0x7f)](_0x5f2188)}));}};Q=Re([Z(0x0,_0x5bcb88),Z(0x1,_0x1f43cb(W))],Q);let $=class extends _0x3c090e{constructor(_0x4b66fa=Le,_0x431bea,_0x929542,_0x364725){const _0x59a12a=_0x90b1ed;super(),this[_0x59a12a(0x7e)]=_0x4b66fa,this['_injector']=_0x431bea,this[_0x59a12a(0xa2)]=_0x929542,this[_0x59a12a(0xc1)]=_0x364725;let {..._0x1162cc}=_0x4a14fb({},Le,this[_0x59a12a(0x7e)]);this['_configService'][_0x59a12a(0xf6)](_0x59a12a(0xc6),_0x1162cc);}[_0x90b1ed(0xb7)](){const _0x3d59b2=_0x90b1ed;this['_injector'][_0x3d59b2(0xea)]([W]),this[_0x3d59b2(0x99)]['add']([Q]),this['_injector'][_0x3d59b2(0xf4)](W),this[_0x3d59b2(0x99)][_0x3d59b2(0xf4)](Q),[G,Oe,Ae,K,je,ke][_0x3d59b2(0xa3)](_0x323553=>this['disposeWithMe'](this[_0x3d59b2(0xa2)]['registerCommand'](_0x323553)));}};U($,_0x90b1ed(0xbf),S),U($,_0x90b1ed(0x8e),Fe),U($,_0x90b1ed(0xbe),Ie),U($,_0x90b1ed(0xda),_0x333d99[_0x90b1ed(0xb9)]),$=Re([_0x5955c6(_0x111d9d,_0x5e48ad),Z(0x1,_0x1f43cb(_0x5121c)),Z(0x2,_0x170d8a),Z(0x3,_0x28e32f)],$);export{w as DEFAULT_CODE_CONFIG,C as DOCS_CODE_BLOCK_TYPE,S as DOCS_CODE_PLUGIN,je as DocsCodeCancelEmptyParagraphCommand,ke as DocsCodeConsumeBoundaryDeleteCommand,K as DocsCodeExitCommand,Oe as DocsCodeInsertBelowCommand,G as DocsCodeInsertCommand,W as DocsCodeModel,Ae as DocsCodeUpdateCommand,$ as UniverDocsCodePlugin,se as buildCancelEmptyCodeParagraphActions,oe as buildExitCodeActions,re as buildInsertCodeActions,O as buildUpdateCodeActions,le as findCodeRangeAtOffset,ue as isCodeBoundaryDelete,T as normalizeDocsCodeConfig};
1
+ const _0x241f87=_0x29cf;(function(_0x18baa3,_0x55c35f){const _0x515468=_0x29cf,_0x21289d=_0x18baa3();while(!![]){try{const _0x3caab2=-parseInt(_0x515468(0x179))/0x1+-parseInt(_0x515468(0x17b))/0x2*(parseInt(_0x515468(0x132))/0x3)+-parseInt(_0x515468(0x162))/0x4+parseInt(_0x515468(0x158))/0x5+-parseInt(_0x515468(0x124))/0x6*(parseInt(_0x515468(0x17f))/0x7)+-parseInt(_0x515468(0x108))/0x8+parseInt(_0x515468(0x16d))/0x9*(parseInt(_0x515468(0x163))/0xa);if(_0x3caab2===_0x55c35f)break;else _0x21289d['push'](_0x21289d['shift']());}catch(_0x221454){_0x21289d['push'](_0x21289d['shift']());}}}(_0x4d6f,0x826f9));import{BuildTextUtils as _0x2498f1,CommandType as _0xf7d768,DataStreamTreeTokenType as _0x315efc,DependentOn as _0x419fa,Disposable as _0xbc666b,ICommandService as _0x18fc6a,IConfigService as _0x596c0d,IResourceManagerService as _0x5984a4,IUniverInstanceService as _0x34f6cb,Inject as _0x44b855,Injector as _0xbfc494,JSONX as _0x2a087c,Plugin as _0x114981,Tools as _0x13dd56,UniverInstanceType as _0x10c6fb,generateRandomId as _0x4c62b6,merge as _0x516f4d}from'@univerjs/core';import{DocSelectionManagerService as _0x7c5adf,RichTextEditingMutation as _0x26d8b3,UniverDocsPlugin as _0x23a9de}from'@univerjs/docs';import{DocContentInsertService as _0x1528b5}from'@univerjs/docs-ui';import{Subject as _0x2c84e7}from'rxjs';import{UniverLicensePlugin as _0x4ccab1}from'@univerjs-pro/license';const S='DOC_CODE_PLUGIN',C='code',w={'language':_0x241f87(0x134),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function T(_0x5d116c){return{...w,..._0x5d116c};}function E(_0x4b7259){const _0x5b4895=_0x241f87;var _0x1148fb;let _0xe7b1c6=(_0x1148fb=_0x4b7259==null?void 0x0:_0x4b7259[_0x5b4895(0x14a)])==null?{}:_0x1148fb;return{'codes':Object[_0x5b4895(0x17d)](Object[_0x5b4895(0x12a)](_0xe7b1c6)[_0x5b4895(0x13d)](([_0x245a1f,_0x2d25b6])=>[_0x245a1f,T(_0x2d25b6)]))};}function D(_0x590f5c,_0x4af11e,_0x3d1e81){const _0x444219=_0x241f87;let _0xc4c0cf=E(_0x590f5c);return _0xc4c0cf[_0x444219(0x14a)][_0x4af11e]=T({..._0xc4c0cf[_0x444219(0x14a)][_0x4af11e],..._0x3d1e81}),_0xc4c0cf;}function te(_0xe58c86,_0xd36340){const _0x230283=_0x241f87;let _0x234959=E(_0xe58c86);return delete _0x234959[_0x230283(0x14a)][_0xd36340],_0x234959;}const ne=_0x241f87(0x184);function re(_0x288b3b){const _0x57892e=_0x241f87;var _0x3b053b,_0x32a3e,_0x3d1c75;let _0x29a168=A(_0x288b3b[_0x57892e(0x18b)]),_0x5baa45=j(_0x29a168),_0x77d76c=ae(_0x288b3b['startOffset'],_0x288b3b['endOffset']),_0x194c04=_0x77d76c?(_0x3b053b=_0x5baa45[_0x57892e(0x122)])==null?void 0x0:_0x3b053b['find'](_0x1f7eb5=>_0x1f7eb5[_0x57892e(0x187)]===_0x77d76c[_0x57892e(0x136)]&&_0x1f7eb5[_0x57892e(0x189)]+0x1===_0x77d76c[_0x57892e(0x131)]):void 0x0,{startOffset:_0x1387bb,endOffset:_0x43c269}=_0x194c04?_0x77d76c:ge(_0x5baa45,_0x288b3b[_0x57892e(0x136)],_0x288b3b[_0x57892e(0x131)]),_0x38619e=ve(_0x5baa45,_0x1387bb,_0x43c269),_0x43702=(_0x32a3e=_0x194c04==null?void 0x0:_0x194c04[_0x57892e(0x14c)])==null?_0x288b3b['blockId']:_0x32a3e,_0x6fddce=D(_0x288b3b[_0x57892e(0x13e)],_0x43702,{...w,..._0x288b3b[_0x57892e(0x15a)]});if(_0x194c04)return _0x194c04[_0x57892e(0x175)]=C,ie(_0x5baa45,_0x1387bb,_0x43c269),fe(_0x5baa45,_0x1387bb,_0x43c269,_0x38619e),{'nextDocumentData':_0x29a168,'nextMetadata':_0x6fddce,'cursorOffset':_0x1387bb+0x1};if(_0x1387bb===_0x43c269){let _0x58bd08=''+_0x315efc[_0x57892e(0x111)]+_0x315efc['PARAGRAPH']+_0x315efc[_0x57892e(0x17e)];return F(_0x5baa45,_0x1387bb,_0x58bd08,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':k(!0x0,!0x0,_0x38619e)}],'blockRanges':[{'blockId':_0x43702,'blockType':C,'startIndex':0x0,'endIndex':_0x58bd08[_0x57892e(0x14f)]-0x1}]}),{'nextDocumentData':_0x29a168,'nextMetadata':_0x6fddce,'cursorOffset':_0x1387bb+0x1};}return F(_0x5baa45,_0x43c269,_0x315efc[_0x57892e(0x17e)]),F(_0x5baa45,_0x1387bb,_0x315efc[_0x57892e(0x111)]),fe(_0x5baa45,_0x1387bb,_0x43c269+0x1,_0x38619e),_0x5baa45[_0x57892e(0x122)]=[...(_0x3d1c75=_0x5baa45[_0x57892e(0x122)])==null?[]:_0x3d1c75,{'blockId':_0x43702,'blockType':C,'startIndex':_0x1387bb,'endIndex':_0x43c269+0x1}]['sort']((_0x457402,_0x1a4dd8)=>_0x457402[_0x57892e(0x187)]-_0x1a4dd8['startIndex']),{'nextDocumentData':_0x29a168,'nextMetadata':_0x6fddce,'cursorOffset':_0x1387bb+0x1};}function ie(_0x18ea96,_0x28c629,_0x2c47b2){const _0x37fdd3=_0x241f87;var _0x3a00b0;((_0x3a00b0=_0x18ea96[_0x37fdd3(0x123)])==null?[]:_0x3a00b0)[_0x37fdd3(0x13b)](_0x2d3b7d=>_0x2d3b7d[_0x37fdd3(0x187)]>_0x28c629&&_0x2d3b7d[_0x37fdd3(0x187)]<_0x2c47b2)['forEach'](_0x55a630=>{const _0x21d7da=_0x37fdd3;var _0x2f9718;let _0x4f831c={...(_0x2f9718=_0x55a630[_0x21d7da(0x16f)])==null?{}:_0x2f9718};delete _0x4f831c[_0x21d7da(0x188)],delete _0x4f831c[_0x21d7da(0x137)],_0x55a630[_0x21d7da(0x16f)]=_0x4f831c;});}function _0x29cf(_0x3b6b20,_0x4775b1){_0x3b6b20=_0x3b6b20-0x106;const _0x4d6fd0=_0x4d6f();let _0x29cf9d=_0x4d6fd0[_0x3b6b20];return _0x29cf9d;}function ae(_0x2c6d15,_0x593f02){const _0x3b4bd9=_0x241f87;return _0x2c6d15==null||_0x593f02==null||_0x2c6d15===_0x593f02?null:{'startOffset':Math[_0x3b4bd9(0x12d)](_0x2c6d15,_0x593f02),'endOffset':Math[_0x3b4bd9(0x113)](_0x2c6d15,_0x593f02)};}function O(_0x257326){const _0x2bbc0a=_0x241f87;return{'nextDocumentData':A(_0x257326['documentData']),'nextMetadata':D(_0x257326[_0x2bbc0a(0x13e)],_0x257326[_0x2bbc0a(0x14c)],_0x257326['config']),'cursorOffset':0x0};}function oe(_0x4596f2){const _0x336b97=_0x241f87;var _0x25f75d,_0xa5f548;let _0x301d8f=A(_0x4596f2[_0x336b97(0x18b)]),_0x1ee218=j(_0x301d8f),_0x11188b=de(_0x1ee218,_0x4596f2[_0x336b97(0x150)]);if(!_0x11188b)return null;let _0x3f376c=me(_0x1ee218,_0x11188b),_0x4a5aef=_0x3f376c[_0x3f376c[_0x336b97(0x14f)]-0x1];if(!_0x4a5aef||!he(_0x1ee218,_0x11188b,_0x4a5aef)||_0x4596f2[_0x336b97(0x150)]<_0x4a5aef[_0x336b97(0x187)])return null;let _0x200633=N(_0x1ee218,_0x11188b,_0x4a5aef);if(_0x200633>=_0x11188b[_0x336b97(0x189)])return null;_0x1ee218[_0x336b97(0x12b)]=[_0x1ee218[_0x336b97(0x12b)][_0x336b97(0x135)](0x0,_0x200633),_0x315efc['BLOCK_END'],_0x1ee218['dataStream'][_0x336b97(0x135)](_0x200633,_0x11188b['endIndex']),_0x1ee218['dataStream']['slice'](_0x11188b['endIndex']+0x1)][_0x336b97(0x11b)](''),B(_0x1ee218[_0x336b97(0x123)],_0x200633,_0x11188b[_0x336b97(0x189)],0x1),B(_0x1ee218[_0x336b97(0x13f)],_0x200633,_0x11188b[_0x336b97(0x189)],0x1),B(_0x1ee218[_0x336b97(0x133)],_0x200633,_0x11188b['endIndex'],0x1),Te(_0x1ee218[_0x336b97(0x110)],_0x200633,_0x11188b[_0x336b97(0x189)],0x1),V(_0x1ee218[_0x336b97(0x139)],_0x200633,_0x11188b[_0x336b97(0x189)],0x1),V(_0x1ee218['customRanges'],_0x200633,_0x11188b[_0x336b97(0x189)],0x1),V(_0x1ee218[_0x336b97(0x146)],_0x200633,_0x11188b[_0x336b97(0x189)],0x1),(_0x25f75d=_0x1ee218['blockRanges'])==null||_0x25f75d[_0x336b97(0x167)](_0xa80d91=>{const _0x161f05=_0x336b97;_0xa80d91===_0x11188b||_0xa80d91[_0x161f05(0x14c)]===_0x11188b['blockId']?_0xa80d91[_0x161f05(0x189)]=_0x200633:_0xa80d91[_0x161f05(0x187)]>=_0x200633&&_0xa80d91['startIndex']<_0x11188b[_0x161f05(0x189)]&&(_0xa80d91[_0x161f05(0x187)]+=0x1,_0xa80d91[_0x161f05(0x189)]+=0x1);});let _0x1f1502=me(_0x1ee218,{..._0x11188b,'endIndex':_0x200633});_0x1f1502['forEach']((_0x1bebed,_0x34477b)=>{const _0x4de273=_0x336b97;var _0x421ef0;_0x1bebed['paragraphStyle']={...(_0x421ef0=_0x1bebed[_0x4de273(0x16f)])==null?{}:_0x421ef0,...k(_0x34477b===0x0,_0x34477b===_0x1f1502['length']-0x1)};});let _0x69f4ac=(_0xa5f548=_0x1ee218[_0x336b97(0x123)])==null?void 0x0:_0xa5f548['find'](_0x1daf4c=>_0x1daf4c['startIndex']===_0x200633+0x1);return _0x69f4ac&&(_0x69f4ac[_0x336b97(0x16f)]=pe(_0x69f4ac['paragraphStyle'])),{'nextDocumentData':_0x301d8f,'cursorOffset':_0x200633+0x1};}function se(_0x428621){const _0x151b1a=_0x241f87;let _0x557979=A(_0x428621[_0x151b1a(0x18b)]),_0x458dc1=j(_0x557979),_0x483045=de(_0x458dc1,_0x428621[_0x151b1a(0x150)]);return _0x483045&&ce(_0x557979,_0x458dc1,_0x483045,_0x428621[_0x151b1a(0x150)],_0x428621['paragraphStartIndex'])||null;}function ce(_0x388a55,_0x440e75,_0x3e7c42,_0x3461ce,_0x2482f4){const _0xe1c2e8=_0x241f87;let _0x4a6c24=be(_0x440e75,_0x3e7c42,_0x3461ce,_0x2482f4);if(!_0x4a6c24)return null;let _0x1853c0=_0x4a6c24[_0xe1c2e8(0x178)]-0x1;return xe(_0x440e75,_0x4a6c24[_0xe1c2e8(0x11c)][_0xe1c2e8(0x187)],_0x4a6c24['paragraph'][_0xe1c2e8(0x187)]+0x1),{'nextDocumentData':_0x388a55,'cursorOffset':_0x1853c0};}function le(_0x38020a,_0x3444f1){const _0x4ec846=_0x241f87;var _0xf3530;return _0x38020a==null||(_0xf3530=_0x38020a['blockRanges'])==null?void 0x0:_0xf3530[_0x4ec846(0x119)](_0x2267af=>_0x2267af[_0x4ec846(0x175)]===_0x4ec846(0x141)&&_0x2267af[_0x4ec846(0x187)]<=_0x3444f1&&_0x3444f1<=_0x2267af[_0x4ec846(0x189)]);}function ue(_0x225bc1){const _0x466c1b=_0x241f87;var _0x2a4c1a;let _0xf9ebce=_0x225bc1['documentData']['body'];if(!_0xf9ebce)return!0x1;let _0x636d4f=_0x225bc1['direction']==='left'?_0x225bc1[_0x466c1b(0x150)]-0x1:_0x225bc1[_0x466c1b(0x150)],_0x4c37c0=_0x225bc1[_0x466c1b(0x13a)]==='right'?_0x225bc1['cursorOffset']+0x1:_0x636d4f;return((_0x2a4c1a=_0xf9ebce[_0x466c1b(0x122)])==null?[]:_0x2a4c1a)[_0x466c1b(0x16a)](_0x9f9db=>_0x9f9db[_0x466c1b(0x175)]===_0x466c1b(0x141)?_0x636d4f===_0x9f9db[_0x466c1b(0x187)]||_0x636d4f===_0x9f9db[_0x466c1b(0x189)]||_0x4c37c0===_0x9f9db[_0x466c1b(0x187)]||_0x4c37c0===_0x9f9db['endIndex']:!0x1);}function de(_0x2060b3,_0x565982){const _0x530ce9=_0x241f87;var _0x1926c4;return(_0x1926c4=_0x2060b3[_0x530ce9(0x122)])==null?void 0x0:_0x1926c4[_0x530ce9(0x119)](_0x4cbd53=>{const _0x1818c1=_0x530ce9;let _0x119325=P(_0x2060b3,_0x4cbd53);return _0x4cbd53['blockType']===_0x1818c1(0x141)&&_0x4cbd53[_0x1818c1(0x187)]<=_0x565982&&_0x565982<=_0x119325+0x2;});}function k(_0x37958d,_0x4e708e,_0x5aa9e3=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x37958d&&_0x5aa9e3?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':ne,'fs':0xc}};}function fe(_0x37d869,_0x1692cb,_0x463046,_0x15c12b=!0x1){const _0x472c0c=_0x241f87;var _0x501c15;let _0x7a98c0=((_0x501c15=_0x37d869[_0x472c0c(0x123)])==null?[]:_0x501c15)[_0x472c0c(0x13b)](_0x593b1d=>_0x593b1d[_0x472c0c(0x187)]>_0x1692cb&&_0x593b1d[_0x472c0c(0x187)]<_0x463046);_0x7a98c0[_0x472c0c(0x167)]((_0x20412b,_0x2f22a0)=>{const _0x5da845=_0x472c0c;var _0x39750b;_0x20412b[_0x5da845(0x16f)]={...(_0x39750b=_0x20412b['paragraphStyle'])==null?{}:_0x39750b,...k(_0x2f22a0===0x0,_0x2f22a0===_0x7a98c0[_0x5da845(0x14f)]-0x1,_0x15c12b)};});}function pe(_0xbb6af6){const _0x215644=_0x241f87;var _0x3ead72,_0x112880;let _0x11c462={..._0xbb6af6==null?{}:_0xbb6af6};return delete _0x11c462[_0x215644(0x12c)],delete _0x11c462['indentStart'],delete _0x11c462[_0x215644(0x188)],delete _0x11c462['spaceBelow'],((_0x3ead72=_0x11c462[_0x215644(0x11d)])==null?void 0x0:_0x3ead72['ff'])===ne&&((_0x112880=_0x11c462[_0x215644(0x11d)])==null?void 0x0:_0x112880['fs'])===0xc&&delete _0x11c462['textStyle'],_0x11c462;}function me(_0x4890ae,_0x4ac798){const _0x4e0b20=_0x241f87;var _0x36efbd;let _0x406227=P(_0x4890ae,_0x4ac798);return((_0x36efbd=_0x4890ae[_0x4e0b20(0x123)])==null?[]:_0x36efbd)[_0x4e0b20(0x13b)](_0x1539bd=>_0x1539bd[_0x4e0b20(0x187)]>_0x4ac798[_0x4e0b20(0x187)]&&_0x1539bd[_0x4e0b20(0x187)]<_0x406227);}function he(_0x4a0298,_0x5345f1,_0x3ff7fe){const _0x1301d1=_0x241f87;let _0x18fd5f=N(_0x4a0298,_0x5345f1,_0x3ff7fe),_0x8e5dce=_0x4a0298[_0x1301d1(0x12b)][_0x1301d1(0x135)](_0x18fd5f,_0x3ff7fe[_0x1301d1(0x187)]);return Array[_0x1301d1(0x10b)](_0x8e5dce)[_0x1301d1(0x106)](_0x1f28bb=>_0x1f28bb===_0x315efc[_0x1301d1(0x111)]||_0x1f28bb===_0x315efc[_0x1301d1(0x17e)]);}function A(_0xd26f75){const _0x21f438=_0x241f87;return _0x13dd56[_0x21f438(0x176)](_0xd26f75);}function j(_0x3f52e9){const _0xa8ffb0=_0x241f87;if(!_0x3f52e9[_0xa8ffb0(0x170)])throw Error(_0xa8ffb0(0x10e));return _0x3f52e9[_0xa8ffb0(0x170)];}function ge(_0x5f88b9,_0x22dca7,_0x587920){const _0x206eed=_0x241f87;if(_0x22dca7==null||_0x587920==null){let _0x47afa2=_e(_0x5f88b9);return{'startOffset':_0x47afa2,'endOffset':_0x47afa2};}let _0x908976=Math[_0x206eed(0x12d)](_0x22dca7,_0x587920),_0x1f0527=Math[_0x206eed(0x113)](_0x22dca7,_0x587920);return _0x908976===_0x1f0527?{'startOffset':_0x908976,'endOffset':_0x908976}:ye(_0x5f88b9,_0x908976,_0x1f0527);}function _e(_0x119da6){const _0x101abb=_0x241f87;return _0x119da6['dataStream'][_0x101abb(0x159)](_0x315efc[_0x101abb(0x14d)])?Math['max'](0x0,_0x119da6[_0x101abb(0x12b)][_0x101abb(0x14f)]-0x1):_0x119da6['dataStream']['length'];}function ve(_0x42c820,_0x9ce8d9,_0x461bce){const _0x169810=_0x241f87;var _0x190bb7;let _0x4ab61b=Math['min'](_0x9ce8d9,_0x461bce),_0x5177a4=Math['max'](_0x9ce8d9,_0x461bce);return!!((_0x190bb7=_0x42c820[_0x169810(0x139)])!=null&&_0x190bb7[_0x169810(0x16a)](_0x30fa85=>_0x4ab61b>_0x30fa85[_0x169810(0x187)]&&_0x4ab61b<_0x30fa85[_0x169810(0x189)]||_0x5177a4>_0x30fa85['startIndex']&&_0x5177a4<_0x30fa85[_0x169810(0x189)]||_0x4ab61b<=_0x30fa85[_0x169810(0x187)]&&_0x5177a4>=_0x30fa85[_0x169810(0x189)]));}function ye(_0x206494,_0x370176,_0x102b57){const _0x396b91=_0x241f87;var _0x259b95,_0xb5ba3e;let _0x25676d=[...(_0x259b95=_0x206494[_0x396b91(0x123)])==null?[]:_0x259b95][_0x396b91(0x154)]((_0x573d85,_0x1336c4)=>_0x573d85[_0x396b91(0x187)]-_0x1336c4[_0x396b91(0x187)]),_0x1a8bee=_0x25676d[_0x396b91(0x119)]((_0x1a14ed,_0x1f2c35)=>(_0x1f2c35===0x0?0x0:_0x25676d[_0x1f2c35-0x1][_0x396b91(0x187)]+0x1)<=_0x370176&&_0x370176<=_0x1a14ed['startIndex']),_0x2b148b=(_0xb5ba3e=_0x25676d[_0x396b91(0x119)](_0x11f625=>_0x11f625['startIndex']>=_0x102b57-0x1))==null?_0x25676d[_0x25676d['length']-0x1]:_0xb5ba3e;return{'startOffset':_0x1a8bee?M(_0x25676d,_0x1a8bee):_0x370176,'endOffset':_0x2b148b?_0x2b148b['startIndex']+0x1:_0x102b57};}function M(_0x24b5ce,_0x5ce6cf){const _0x105a34=_0x241f87;let _0x3c531b=_0x24b5ce[_0x105a34(0x117)](_0x5ce6cf);return _0x3c531b>0x0?_0x24b5ce[_0x3c531b-0x1][_0x105a34(0x187)]+0x1:0x0;}function N(_0xfaa875,_0x331a9a,_0x1ad470){const _0x4a70b7=_0x241f87;var _0x426dad;return Math[_0x4a70b7(0x113)](M((_0x426dad=_0xfaa875['paragraphs'])==null?[]:_0x426dad,_0x1ad470),_0x331a9a[_0x4a70b7(0x187)]+0x1);}function P(_0x3e7eae,_0x1e581f){const _0x54ed3e=_0x241f87;return _0x3e7eae[_0x54ed3e(0x12b)][_0x1e581f[_0x54ed3e(0x189)]]===_0x315efc[_0x54ed3e(0x17e)]?_0x1e581f[_0x54ed3e(0x189)]:_0x3e7eae[_0x54ed3e(0x12b)][_0x1e581f[_0x54ed3e(0x189)]+0x1]===_0x315efc['BLOCK_END']?_0x1e581f[_0x54ed3e(0x189)]+0x1:_0x1e581f[_0x54ed3e(0x189)];}function be(_0x37ba8a,_0x4bc7b4,_0x2bb834,_0x44b9fa){const _0x4016cc=_0x241f87;var _0x162fa8,_0x4884b7;let _0x26ce20=P(_0x37ba8a,_0x4bc7b4),_0x3c9567=((_0x162fa8=_0x37ba8a[_0x4016cc(0x123)])==null?[]:_0x162fa8)['find'](_0x5748fc=>_0x5748fc['startIndex']===_0x26ce20+0x1);if(!_0x3c9567||_0x44b9fa!=null&&_0x3c9567[_0x4016cc(0x187)]!==_0x44b9fa||_0x2bb834<_0x26ce20||_0x2bb834>_0x3c9567[_0x4016cc(0x187)]+0x1||_0x37ba8a[_0x4016cc(0x12b)][_0x3c9567[_0x4016cc(0x187)]]!==_0x315efc[_0x4016cc(0x138)])return null;let _0x2902fb=M((_0x4884b7=_0x37ba8a[_0x4016cc(0x123)])==null?[]:_0x4884b7,_0x3c9567),_0x427e52=_0x37ba8a[_0x4016cc(0x12b)][_0x4016cc(0x135)](_0x2902fb,_0x3c9567['startIndex']);return Array[_0x4016cc(0x10b)](_0x427e52)[_0x4016cc(0x106)](_0x17f308=>_0x17f308===_0x315efc['BLOCK_END'])?{'paragraph':_0x3c9567,'endTokenOffset':_0x26ce20}:null;}function F(_0x32f537,_0xcf4c49,_0x2ec36e,_0x3859fa={}){const _0x3f6b1f=_0x241f87;var _0xb1057f,_0x41454b;if(_0x2ec36e){if(_0x32f537[_0x3f6b1f(0x12b)]=''+_0x32f537[_0x3f6b1f(0x12b)]['slice'](0x0,_0xcf4c49)+_0x2ec36e+_0x32f537[_0x3f6b1f(0x12b)][_0x3f6b1f(0x135)](_0xcf4c49),Se(_0x32f537,_0xcf4c49,_0x2ec36e['length']),(_0xb1057f=_0x3859fa[_0x3f6b1f(0x123)])!=null&&_0xb1057f[_0x3f6b1f(0x14f)]){var _0x5c35a1;_0x32f537[_0x3f6b1f(0x123)]=[...(_0x5c35a1=_0x32f537['paragraphs'])==null?[]:_0x5c35a1,..._0x3859fa[_0x3f6b1f(0x123)][_0x3f6b1f(0x13d)](_0x513e50=>({..._0x513e50,'startIndex':_0x513e50[_0x3f6b1f(0x187)]+_0xcf4c49}))]['sort']((_0x5ecf92,_0x40a814)=>_0x5ecf92[_0x3f6b1f(0x187)]-_0x40a814[_0x3f6b1f(0x187)]);}if((_0x41454b=_0x3859fa[_0x3f6b1f(0x122)])!=null&&_0x41454b[_0x3f6b1f(0x14f)]){var _0x3bf3e8;_0x32f537['blockRanges']=[...(_0x3bf3e8=_0x32f537[_0x3f6b1f(0x122)])==null?[]:_0x3bf3e8,..._0x3859fa['blockRanges'][_0x3f6b1f(0x13d)](_0x3f6255=>({..._0x3f6255,'startIndex':_0x3f6255['startIndex']+_0xcf4c49,'endIndex':_0x3f6255['endIndex']+_0xcf4c49}))]['sort']((_0x132f7d,_0x216e09)=>_0x132f7d[_0x3f6b1f(0x187)]-_0x216e09[_0x3f6b1f(0x187)]);}}}function xe(_0x49653c,_0x1a521d,_0x1bb774){const _0x17de77=_0x241f87;let _0xa0e9be=_0x1bb774-_0x1a521d;_0x49653c[_0x17de77(0x12b)]=''+_0x49653c[_0x17de77(0x12b)]['slice'](0x0,_0x1a521d)+_0x49653c[_0x17de77(0x12b)][_0x17de77(0x135)](_0x1bb774),Ce(_0x49653c,_0x1a521d,_0xa0e9be);}function Se(_0x20492a,_0x51ff38,_0x4727a8){const _0x520574=_0x241f87;_0x20492a[_0x520574(0x123)]=I(_0x20492a[_0x520574(0x123)],_0x51ff38,_0x4727a8),_0x20492a[_0x520574(0x13f)]=I(_0x20492a[_0x520574(0x13f)],_0x51ff38,_0x4727a8),_0x20492a[_0x520574(0x133)]=I(_0x20492a[_0x520574(0x133)],_0x51ff38,_0x4727a8),_0x20492a[_0x520574(0x110)]=we(_0x20492a[_0x520574(0x110)],_0x51ff38,_0x4727a8),_0x20492a['tables']=R(_0x20492a[_0x520574(0x139)],_0x51ff38,_0x4727a8),_0x20492a['customRanges']=R(_0x20492a[_0x520574(0x130)],_0x51ff38,_0x4727a8),_0x20492a[_0x520574(0x146)]=R(_0x20492a[_0x520574(0x146)],_0x51ff38,_0x4727a8),_0x20492a[_0x520574(0x122)]=R(_0x20492a[_0x520574(0x122)],_0x51ff38,_0x4727a8);}function Ce(_0x53f655,_0xb5c05c,_0x1fdb4f){const _0x3813da=_0x241f87;var _0x6d5cb4,_0x39abf8;_0x53f655['paragraphs']=L(_0x53f655[_0x3813da(0x123)],_0xb5c05c,_0x1fdb4f),_0x53f655[_0x3813da(0x13f)]=L(_0x53f655[_0x3813da(0x13f)],_0xb5c05c,_0x1fdb4f),_0x53f655['customBlocks']=L(_0x53f655['customBlocks'],_0xb5c05c,_0x1fdb4f),_0x53f655['textRuns']=(_0x6d5cb4=z((_0x39abf8=_0x53f655[_0x3813da(0x110)])==null?void 0x0:_0x39abf8[_0x3813da(0x13d)](_0x402aea=>({..._0x402aea,'startIndex':_0x402aea['st'],'endIndex':_0x402aea['ed']})),_0xb5c05c,_0x1fdb4f))==null?void 0x0:_0x6d5cb4[_0x3813da(0x13d)](_0x4df46c=>{let {startIndex:_0x40b1cc,endIndex:_0x408b3c,..._0x288d91}=_0x4df46c;return{..._0x288d91,'st':_0x40b1cc,'ed':_0x408b3c};}),_0x53f655['tables']=z(_0x53f655['tables'],_0xb5c05c,_0x1fdb4f),_0x53f655[_0x3813da(0x130)]=z(_0x53f655[_0x3813da(0x130)],_0xb5c05c,_0x1fdb4f),_0x53f655[_0x3813da(0x146)]=z(_0x53f655[_0x3813da(0x146)],_0xb5c05c,_0x1fdb4f),_0x53f655[_0x3813da(0x122)]=z(_0x53f655['blockRanges'],_0xb5c05c,_0x1fdb4f);}function I(_0x2a6b80,_0x47a61b,_0x23949f){const _0x89c517=_0x241f87;return _0x2a6b80==null?void 0x0:_0x2a6b80[_0x89c517(0x13d)](_0x4d0bb=>_0x4d0bb[_0x89c517(0x187)]>=_0x47a61b?{..._0x4d0bb,'startIndex':_0x4d0bb['startIndex']+_0x23949f}:_0x4d0bb);}function L(_0x275d6c,_0x1d2314,_0x3d5951){const _0x3d0008=_0x241f87;let _0x3f4e7d=_0x1d2314+_0x3d5951;return _0x275d6c==null?void 0x0:_0x275d6c[_0x3d0008(0x13d)](_0x43d6d7=>_0x43d6d7['startIndex']>=_0x1d2314&&_0x43d6d7[_0x3d0008(0x187)]<_0x3f4e7d?null:_0x43d6d7[_0x3d0008(0x187)]>=_0x3f4e7d?{..._0x43d6d7,'startIndex':_0x43d6d7[_0x3d0008(0x187)]-_0x3d5951}:_0x43d6d7)[_0x3d0008(0x13b)](_0x2f5fd6=>_0x2f5fd6!=null);}function we(_0x5aa3b6,_0x1d5236,_0x55db2e){const _0x1b8f8c=_0x241f87;return _0x5aa3b6==null?void 0x0:_0x5aa3b6[_0x1b8f8c(0x13d)](_0x1874c0=>_0x1874c0['st']>=_0x1d5236?{..._0x1874c0,'st':_0x1874c0['st']+_0x55db2e,'ed':_0x1874c0['ed']+_0x55db2e}:_0x1874c0['ed']>_0x1d5236?{..._0x1874c0,'ed':_0x1874c0['ed']+_0x55db2e}:_0x1874c0);}function R(_0x1b78ca,_0x4ba889,_0x1c643f){const _0x14c3ff=_0x241f87;return _0x1b78ca==null?void 0x0:_0x1b78ca[_0x14c3ff(0x13d)](_0x8ae2e5=>_0x8ae2e5[_0x14c3ff(0x187)]>=_0x4ba889?{..._0x8ae2e5,'startIndex':_0x8ae2e5[_0x14c3ff(0x187)]+_0x1c643f,'endIndex':_0x8ae2e5[_0x14c3ff(0x189)]+_0x1c643f}:_0x8ae2e5[_0x14c3ff(0x189)]>=_0x4ba889?{..._0x8ae2e5,'endIndex':_0x8ae2e5[_0x14c3ff(0x189)]+_0x1c643f}:_0x8ae2e5);}function z(_0x51ac1d,_0x420445,_0x5a0447){const _0x4c680d=_0x241f87;let _0x4eac23=_0x420445+_0x5a0447;return _0x51ac1d==null?void 0x0:_0x51ac1d['map'](_0x5d7c80=>_0x5d7c80[_0x4c680d(0x187)]>=_0x420445&&_0x5d7c80['endIndex']<_0x4eac23?null:_0x5d7c80[_0x4c680d(0x187)]>=_0x4eac23?{..._0x5d7c80,'startIndex':_0x5d7c80[_0x4c680d(0x187)]-_0x5a0447,'endIndex':_0x5d7c80['endIndex']-_0x5a0447}:_0x5d7c80[_0x4c680d(0x189)]>=_0x420445?{..._0x5d7c80,'startIndex':_0x5d7c80[_0x4c680d(0x187)]<_0x420445?_0x5d7c80[_0x4c680d(0x187)]:_0x420445,'endIndex':Math['max'](_0x420445,_0x5d7c80[_0x4c680d(0x189)]-_0x5a0447)}:_0x5d7c80)['filter'](_0x4d326a=>_0x4d326a!=null);}function B(_0x138369,_0x35a3c3,_0x33eff7,_0x260325){const _0x510bd1=_0x241f87;_0x138369==null||_0x138369[_0x510bd1(0x167)](_0x3420ec=>{const _0x3f8924=_0x510bd1;_0x3420ec['startIndex']>=_0x35a3c3&&_0x3420ec[_0x3f8924(0x187)]<_0x33eff7&&(_0x3420ec[_0x3f8924(0x187)]+=_0x260325);});}function Te(_0x1af2aa,_0x1e75fa,_0x435c47,_0x51622e){const _0x50bab6=_0x241f87;_0x1af2aa==null||_0x1af2aa[_0x50bab6(0x167)](_0x3b0748=>{_0x3b0748['st']>=_0x1e75fa&&_0x3b0748['st']<_0x435c47?(_0x3b0748['st']+=_0x51622e,_0x3b0748['ed']+=_0x51622e):_0x3b0748['ed']>_0x1e75fa&&_0x3b0748['ed']<_0x435c47&&(_0x3b0748['ed']+=_0x51622e);});}function V(_0x53bc94,_0x51e751,_0x2a4431,_0x6d74b8){const _0x4757dd=_0x241f87;_0x53bc94==null||_0x53bc94[_0x4757dd(0x167)](_0x12c081=>{const _0xe73656=_0x4757dd;_0x12c081[_0xe73656(0x187)]>=_0x51e751&&_0x12c081[_0xe73656(0x187)]<_0x2a4431?(_0x12c081[_0xe73656(0x187)]+=_0x6d74b8,_0x12c081[_0xe73656(0x189)]+=_0x6d74b8):_0x12c081[_0xe73656(0x189)]>_0x51e751&&_0x12c081['endIndex']<_0x2a4431&&(_0x12c081[_0xe73656(0x189)]+=_0x6d74b8);});}function H(_0x5048b0){'@babel/helpers - typeof';const _0x30974f=_0x241f87;return H=typeof Symbol==_0x30974f(0x15c)&&typeof Symbol[_0x30974f(0x156)]==_0x30974f(0x174)?function(_0x1c6173){return typeof _0x1c6173;}:function(_0xd4fa21){const _0x3239b5=_0x30974f;return _0xd4fa21&&typeof Symbol=='function'&&_0xd4fa21[_0x3239b5(0x15b)]===Symbol&&_0xd4fa21!==Symbol[_0x3239b5(0x10a)]?_0x3239b5(0x174):typeof _0xd4fa21;},H(_0x5048b0);}function Ee(_0x394825,_0xdc7d90){const _0x213313=_0x241f87;if(H(_0x394825)!=_0x213313(0x12f)||!_0x394825)return _0x394825;var _0x320887=_0x394825[Symbol[_0x213313(0x166)]];if(_0x320887!==void 0x0){var _0x16ca57=_0x320887[_0x213313(0x118)](_0x394825,_0xdc7d90||_0x213313(0x14b));if(H(_0x16ca57)!=_0x213313(0x12f))return _0x16ca57;throw TypeError(_0x213313(0x109));}return(_0xdc7d90===_0x213313(0x165)?String:Number)(_0x394825);}function De(_0x49b267){const _0x5213e5=_0x241f87;var _0x3bc5a3=Ee(_0x49b267,_0x5213e5(0x165));return H(_0x3bc5a3)=='symbol'?_0x3bc5a3:_0x3bc5a3+'';}function U(_0x4b1c00,_0x4dca14,_0x3d279a){return(_0x4dca14=De(_0x4dca14))in _0x4b1c00?Object['defineProperty'](_0x4b1c00,_0x4dca14,{'value':_0x3d279a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4b1c00[_0x4dca14]=_0x3d279a,_0x4b1c00;}var W=class extends _0xbc666b{constructor(..._0x1c26c2){const _0x2ec173=_0x241f87;super(..._0x1c26c2),U(this,_0x2ec173(0x186),new Map()),U(this,'_change$',new _0x2c84e7()),U(this,_0x2ec173(0x128),this[_0x2ec173(0x114)][_0x2ec173(0x181)]());}[_0x241f87(0x172)](_0x5c2d59,_0x5698f9){const _0x5c3da1=_0x241f87;return E(this['_resources'][_0x5c3da1(0x14e)](_0x5c2d59))[_0x5c3da1(0x14a)][_0x5698f9];}[_0x241f87(0x169)](_0x5b7a6c,_0x561b33,_0x16c0b7){const _0x3dadbe=_0x241f87;this['_setResource'](_0x5b7a6c,_0x561b33,D(this[_0x3dadbe(0x186)][_0x3dadbe(0x14e)](_0x5b7a6c),_0x561b33,_0x16c0b7));}[_0x241f87(0x121)](_0x385f9b,_0x170f27){const _0x1c9534=_0x241f87;this[_0x1c9534(0x116)](_0x385f9b,_0x170f27,te(this[_0x1c9534(0x186)][_0x1c9534(0x14e)](_0x385f9b),_0x170f27));}[_0x241f87(0x16c)](_0x2a18a9){const _0x5a7370=_0x241f87;return E(this[_0x5a7370(0x186)]['get'](_0x2a18a9));}[_0x241f87(0x182)](_0xe52063,_0x5061ea){const _0x3bcaa0=_0x241f87;this['_resources'][_0x3bcaa0(0x152)](_0xe52063,E(_0x5061ea)),this['_change$'][_0x3bcaa0(0x180)]({'unitId':_0xe52063});}[_0x241f87(0x15e)](_0x11cbe3){const _0x3e8345=_0x241f87;this[_0x3e8345(0x186)]['delete'](_0x11cbe3),this[_0x3e8345(0x114)][_0x3e8345(0x180)]({'unitId':_0x11cbe3});}[_0x241f87(0x153)](){const _0x3f941d=_0x241f87;super[_0x3f941d(0x153)](),this['_resources']['clear'](),this['_change$']['complete']();}['_setResource'](_0x39404f,_0x32beae,_0x4e29bc){const _0xf0408b=_0x241f87;this[_0xf0408b(0x186)]['set'](_0x39404f,_0x4e29bc),this[_0xf0408b(0x114)]['next']({'unitId':_0x39404f,'blockId':_0x32beae});}};const Oe={'id':'docs-code.command.insert-below','type':_0xf7d768[_0x241f87(0x160)],'handler':_0x113306=>{const _0x50c0ce=_0x241f87;let _0x276ed6=Me(_0x113306);if(_0x276ed6)return _0x113306['get'](_0x18fc6a)['syncExecuteCommand'](G['id'],{'startOffset':_0x276ed6[_0x50c0ce(0x136)],'endOffset':_0x276ed6['endOffset'],'unitId':_0x276ed6[_0x50c0ce(0x18a)]});let _0x4158e5=Ne(_0x113306);if(!_0x4158e5)return!0x1;let _0xdb08e2=_0x4158e5[_0x50c0ce(0x187)]+0x1;return _0x113306[_0x50c0ce(0x14e)](_0x18fc6a)[_0x50c0ce(0x140)](G['id'],{'startOffset':_0xdb08e2,'endOffset':_0xdb08e2});}},ke={'id':_0x241f87(0x185),'type':_0xf7d768[_0x241f87(0x160)],'handler':()=>!0x0},G={'id':_0x241f87(0x148),'type':_0xf7d768[_0x241f87(0x160)],'handler':(_0x10038c,_0x38623c)=>{const _0x235268=_0x241f87;var _0x4115a2,_0x8d48cc,_0x1d21d6;let _0x2c0439=q(_0x10038c,_0x38623c==null?void 0x0:_0x38623c['unitId']);if(!_0x2c0439)return!0x1;let _0x249c54=J(_0x10038c),_0x53e4d9=re({'blockId':(_0x4115a2=_0x38623c==null?void 0x0:_0x38623c[_0x235268(0x14c)])==null?_0x4c62b6(0x6):_0x4115a2,'config':_0x38623c==null?void 0x0:_0x38623c[_0x235268(0x15a)],'documentData':_0x2c0439[_0x235268(0x17a)],'endOffset':(_0x8d48cc=_0x38623c==null?void 0x0:_0x38623c[_0x235268(0x131)])==null?_0x249c54==null?void 0x0:_0x249c54[_0x235268(0x131)]:_0x8d48cc,'metadata':_0x2c0439[_0x235268(0x157)][_0x235268(0x16c)](_0x2c0439[_0x235268(0x18a)]),'startOffset':(_0x1d21d6=_0x38623c==null?void 0x0:_0x38623c[_0x235268(0x136)])==null?_0x249c54==null?void 0x0:_0x249c54[_0x235268(0x136)]:_0x1d21d6}),_0x79fa77=X(_0x2c0439[_0x235268(0x11f)],_0x2c0439[_0x235268(0x18a)],_0x2c0439[_0x235268(0x17a)],_0x53e4d9[_0x235268(0x13c)],_0x53e4d9[_0x235268(0x150)]);return _0x79fa77&&_0x53e4d9[_0x235268(0x155)]&&_0x2c0439['model'][_0x235268(0x182)](_0x2c0439[_0x235268(0x18a)],_0x53e4d9['nextMetadata']),_0x79fa77;}},Ae={'id':_0x241f87(0x120),'type':_0xf7d768[_0x241f87(0x160)],'handler':(_0x1148c1,_0x42151c)=>{const _0x14e549=_0x241f87;if(!_0x42151c)return!0x1;let _0x20e250=q(_0x1148c1,_0x42151c[_0x14e549(0x18a)]);if(!_0x20e250)return!0x1;let _0x5c9444=O({'blockId':_0x42151c['blockId'],'config':_0x42151c[_0x14e549(0x15a)],'documentData':_0x20e250['previousDocumentData'],'metadata':_0x20e250['model']['serialize'](_0x20e250[_0x14e549(0x18a)])});return _0x5c9444[_0x14e549(0x155)]&&_0x20e250['model'][_0x14e549(0x182)](_0x20e250[_0x14e549(0x18a)],_0x5c9444[_0x14e549(0x155)]),!0x0;}},K={'id':_0x241f87(0x115),'type':_0xf7d768[_0x241f87(0x160)],'handler':(_0x56951f,_0x5b736f)=>{const _0xd97516=_0x241f87;var _0x36ac66,_0x546b52;let _0x2d1148=q(_0x56951f,_0x5b736f==null?void 0x0:_0x5b736f['unitId']);if(!_0x2d1148)return!0x1;let _0x3a1ef3=(_0x36ac66=_0x5b736f==null?void 0x0:_0x5b736f[_0xd97516(0x150)])==null?(_0x546b52=J(_0x56951f))==null?void 0x0:_0x546b52[_0xd97516(0x136)]:_0x36ac66;if(_0x3a1ef3==null)return!0x1;let _0x1ca68c=oe({'cursorOffset':_0x3a1ef3,'documentData':_0x2d1148[_0xd97516(0x17a)]});return _0x1ca68c?X(_0x2d1148[_0xd97516(0x11f)],_0x2d1148[_0xd97516(0x18a)],_0x2d1148[_0xd97516(0x17a)],_0x1ca68c['nextDocumentData'],_0x1ca68c['cursorOffset']):!0x1;}},je={'id':'docs-code.command.cancel-empty-paragraph','type':_0xf7d768['COMMAND'],'handler':(_0x5223a2,_0x4d2d52)=>{const _0x429ef1=_0x241f87;var _0x781f60,_0x190fe0;let _0x3e326d=q(_0x5223a2,_0x4d2d52==null?void 0x0:_0x4d2d52[_0x429ef1(0x18a)]);if(!_0x3e326d)return!0x1;let _0x52ce49=(_0x781f60=_0x4d2d52==null?void 0x0:_0x4d2d52[_0x429ef1(0x150)])==null?(_0x190fe0=J(_0x5223a2))==null?void 0x0:_0x190fe0[_0x429ef1(0x136)]:_0x781f60;if(_0x52ce49==null)return!0x1;let _0xf83121=se({'cursorOffset':_0x52ce49,'documentData':_0x3e326d[_0x429ef1(0x17a)],'paragraphStartIndex':_0x4d2d52==null?void 0x0:_0x4d2d52[_0x429ef1(0x145)]});return _0xf83121?X(_0x3e326d['commandService'],_0x3e326d[_0x429ef1(0x18a)],_0x3e326d['previousDocumentData'],_0xf83121['nextDocumentData'],_0xf83121['cursorOffset']):!0x1;}};function q(_0x2b47b7,_0x1fbe93){const _0x106551=_0x241f87;let _0x563da7=_0x2b47b7[_0x106551(0x14e)](_0x34f6cb),_0x37efd8=_0x1fbe93?_0x563da7[_0x106551(0x177)](_0x1fbe93):_0x563da7[_0x106551(0x11a)](_0x10c6fb[_0x106551(0x12e)]);return _0x37efd8?{'commandService':_0x2b47b7[_0x106551(0x14e)](_0x18fc6a),'model':_0x2b47b7['get'](W),'previousDocumentData':_0x37efd8[_0x106551(0x149)](),'unitId':_0x37efd8[_0x106551(0x147)]()}:null;}function J(_0x486d67){const _0x3fbef0=_0x241f87;var _0x5995df;return(_0x5995df=_0x486d67[_0x3fbef0(0x14e)](_0x7c5adf)[_0x3fbef0(0x161)]())==null?void 0x0:_0x5995df[0x0];}function _0x4d6f(){const _0x30697e=['replaceOp','fromEntries','BLOCK_END','806071NteNVN','next','asObservable','deserialize','reduce','monospace','docs-code.command.consume-boundary-delete','_resources','startIndex','spaceAbove','endIndex','unitId','documentData','every','parse','2930168FurIlb','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','prototype','from','_initResource','decorate','Document\x20body\x20is\x20required','registerCommand','textRuns','BLOCK_START','_config','max','_change$','docs-code.command.exit','_setResource','indexOf','call','find','getCurrentUnitOfType','join','paragraph','textStyle','consumeInsertRange','commandService','docs-code.command.update','removeCode','blockRanges','paragraphs','18EfqnTW','compose','stringify','diffValue','change$','version','entries','dataStream','indentEnd','min','UNIVER_DOC','object','customRanges','endOffset','45126RwYwrI','customBlocks','javascript','slice','startOffset','spaceBelow','PARAGRAPH','tables','direction','filter','nextDocumentData','map','metadata','sectionBreaks','syncExecuteCommand','code','_commandService','_docsCodeModel','packageName','paragraphStartIndex','customDecorations','getUnitId','docs-code.command.insert','getSnapshot','codes','default','blockId','SECTION_BREAK','get','length','cursorOffset','defineProperty','set','dispose','sort','nextMetadata','iterator','model','35270wSNLtd','endsWith','config','constructor','function','onStarting','removeUnit','_configService','COMMAND','getTextRanges','73756Yuxloz','19249760NITeLz','_resourceManagerService','string','toPrimitive','forEach','disposeWithMe','setCodeConfig','some','_injector','serialize','9sAxSwS','add','paragraphStyle','body','getInstance','getCodeConfig','getParagraphsInRange','symbol','blockType','deepClone','getUniverDocInstance','endTokenOffset','96000JSxVXd','previousDocumentData','76ikFQVc'];_0x4d6f=function(){return _0x30697e;};return _0x4d6f();}function Me(_0x5ed89d){const _0x4c89e2=_0x241f87;var _0x34b9e5;let _0x5b055f=(_0x34b9e5=_0x5ed89d[_0x4c89e2(0x14e)](_0x34f6cb)[_0x4c89e2(0x11a)](_0x10c6fb['UNIVER_DOC']))==null?void 0x0:_0x34b9e5['getUnitId']();try{return _0x5ed89d[_0x4c89e2(0x14e)](_0x1528b5)[_0x4c89e2(0x11e)](_0x5b055f);}catch{return null;}}function Ne(_0x20c878){const _0x579614=_0x241f87;var _0x80671e,_0xcf9e82,_0x2a7d06;let _0x3536df=J(_0x20c878);if(!_0x3536df)return null;let _0x5a0519=_0x20c878['get'](_0x34f6cb)[_0x579614(0x11a)](_0x10c6fb[_0x579614(0x12e)]),_0x363a08=_0x5a0519==null?void 0x0:_0x5a0519['getBody']();return _0x363a08?(_0x80671e=_0x2498f1['range'][_0x579614(0x173)](_0x3536df,(_0xcf9e82=_0x363a08[_0x579614(0x123)])==null?[]:_0xcf9e82,(_0x2a7d06=_0x363a08[_0x579614(0x12b)])==null?'':_0x2a7d06)[0x0])==null?null:_0x80671e:null;}function Pe(_0x1f6e29,_0x14895a){const _0x398951=_0x241f87;var _0x2bd6ee,_0x2042a0,_0x587cb3,_0x55fa86,_0x444311,_0x5dec40,_0x1d3feb,_0x52f77a,_0x404cd5,_0x3e508c,_0x367433,_0x548a14,_0x1029f0,_0x18565d,_0xe14c32,_0xdcda85,_0x17aa87,_0x4e4ae2;let _0xeb853e=_0x2a087c[_0x398951(0x171)]();return[Y(_0xeb853e,[_0x398951(0x170),'dataStream'],(_0x2bd6ee=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x2bd6ee[_0x398951(0x12b)],(_0x2042a0=_0x14895a[_0x398951(0x170)])==null?void 0x0:_0x2042a0[_0x398951(0x12b)]),Y(_0xeb853e,['body',_0x398951(0x123)],(_0x587cb3=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x587cb3[_0x398951(0x123)],(_0x55fa86=_0x14895a['body'])==null?void 0x0:_0x55fa86[_0x398951(0x123)]),Y(_0xeb853e,['body','sectionBreaks'],(_0x444311=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x444311[_0x398951(0x13f)],(_0x5dec40=_0x14895a[_0x398951(0x170)])==null?void 0x0:_0x5dec40['sectionBreaks']),Y(_0xeb853e,[_0x398951(0x170),_0x398951(0x110)],(_0x1d3feb=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x1d3feb[_0x398951(0x110)],(_0x52f77a=_0x14895a[_0x398951(0x170)])==null?void 0x0:_0x52f77a[_0x398951(0x110)]),Y(_0xeb853e,[_0x398951(0x170),_0x398951(0x133)],(_0x404cd5=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x404cd5[_0x398951(0x133)],(_0x3e508c=_0x14895a['body'])==null?void 0x0:_0x3e508c['customBlocks']),Y(_0xeb853e,['body','customRanges'],(_0x367433=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x367433[_0x398951(0x130)],(_0x548a14=_0x14895a[_0x398951(0x170)])==null?void 0x0:_0x548a14['customRanges']),Y(_0xeb853e,['body','customDecorations'],(_0x1029f0=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x1029f0[_0x398951(0x146)],(_0x18565d=_0x14895a['body'])==null?void 0x0:_0x18565d[_0x398951(0x146)]),Y(_0xeb853e,[_0x398951(0x170),'tables'],(_0xe14c32=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0xe14c32[_0x398951(0x139)],(_0xdcda85=_0x14895a['body'])==null?void 0x0:_0xdcda85[_0x398951(0x139)]),Y(_0xeb853e,[_0x398951(0x170),'blockRanges'],(_0x17aa87=_0x1f6e29[_0x398951(0x170)])==null?void 0x0:_0x17aa87[_0x398951(0x122)],(_0x4e4ae2=_0x14895a['body'])==null?void 0x0:_0x4e4ae2['blockRanges'])]['filter'](Boolean)[_0x398951(0x183)]((_0x31e663,_0x419ab1)=>_0x2a087c[_0x398951(0x125)](_0x31e663,_0x419ab1),null);}function Y(_0x5f299a,_0xa0bb0e,_0x324a77,_0x4e6fb8){const _0x23b4d9=_0x241f87;return _0x13dd56[_0x23b4d9(0x127)](_0x324a77,_0x4e6fb8)?null:_0x5f299a[_0x23b4d9(0x17c)](_0xa0bb0e,_0x324a77,_0x4e6fb8);}function X(_0xe48783,_0x29d45d,_0x3c5a08,_0x17ef38,_0x3318d8){let _0x520cab=Pe(_0x3c5a08,_0x17ef38);return _0x520cab?!!_0xe48783['syncExecuteCommand'](_0x26d8b3['id'],{'unitId':_0x29d45d,'actions':_0x520cab,'textRanges':[{'startOffset':_0x3318d8,'endOffset':_0x3318d8,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var Fe='@univerjs-pro/docs-code',Ie='0.25.1';const Le={};function Z(_0x5bcc78,_0x160383){return function(_0x21b875,_0x59a683){_0x160383(_0x21b875,_0x59a683,_0x5bcc78);};}function Re(_0x11068f,_0x525450,_0x4e72a9,_0x133cd6){const _0x24ff0e=_0x241f87;var _0x4f00e0=arguments[_0x24ff0e(0x14f)],_0x59d809=_0x4f00e0<0x3?_0x525450:_0x133cd6===null?_0x133cd6=Object['getOwnPropertyDescriptor'](_0x525450,_0x4e72a9):_0x133cd6,_0x42e882;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x24ff0e(0x15c))_0x59d809=Reflect[_0x24ff0e(0x10d)](_0x11068f,_0x525450,_0x4e72a9,_0x133cd6);else{for(var _0x41bbc3=_0x11068f[_0x24ff0e(0x14f)]-0x1;_0x41bbc3>=0x0;_0x41bbc3--)(_0x42e882=_0x11068f[_0x41bbc3])&&(_0x59d809=(_0x4f00e0<0x3?_0x42e882(_0x59d809):_0x4f00e0>0x3?_0x42e882(_0x525450,_0x4e72a9,_0x59d809):_0x42e882(_0x525450,_0x4e72a9))||_0x59d809);}return _0x4f00e0>0x3&&_0x59d809&&Object[_0x24ff0e(0x151)](_0x525450,_0x4e72a9,_0x59d809),_0x59d809;}let Q=class extends _0xbc666b{constructor(_0x290c75,_0x5356db){const _0x59e5a1=_0x241f87;super(),this[_0x59e5a1(0x164)]=_0x290c75,this[_0x59e5a1(0x143)]=_0x5356db,this[_0x59e5a1(0x10c)]();}[_0x241f87(0x10c)](){const _0x24a3d1=_0x241f87;this[_0x24a3d1(0x168)](this[_0x24a3d1(0x164)]['registerPluginResource']({'pluginName':S,'businesses':[_0x10c6fb[_0x24a3d1(0x12e)]],'toJson':_0x1ab12c=>JSON[_0x24a3d1(0x126)](this[_0x24a3d1(0x143)][_0x24a3d1(0x16c)](_0x1ab12c)),'parseJson':_0x2cc20f=>E(JSON[_0x24a3d1(0x107)](_0x2cc20f)),'onLoad':(_0x2222b6,_0x4ef074)=>this['_docsCodeModel'][_0x24a3d1(0x182)](_0x2222b6,_0x4ef074),'onUnLoad':_0x5c18af=>this['_docsCodeModel'][_0x24a3d1(0x15e)](_0x5c18af)}));}};Q=Re([Z(0x0,_0x5984a4),Z(0x1,_0x44b855(W))],Q);let $=class extends _0x114981{constructor(_0x2d06ef=Le,_0x2d08f2,_0x5d54fd,_0x100f22){const _0x3ad667=_0x241f87;super(),this['_config']=_0x2d06ef,this[_0x3ad667(0x16b)]=_0x2d08f2,this[_0x3ad667(0x142)]=_0x5d54fd,this[_0x3ad667(0x15f)]=_0x100f22;let {..._0x11d2f6}=_0x516f4d({},Le,this[_0x3ad667(0x112)]);this['_configService']['setConfig']('docs-code.config',_0x11d2f6);}[_0x241f87(0x15d)](){const _0x153e46=_0x241f87;this[_0x153e46(0x16b)][_0x153e46(0x16e)]([W]),this[_0x153e46(0x16b)][_0x153e46(0x16e)]([Q]),this[_0x153e46(0x16b)][_0x153e46(0x14e)](W),this['_injector'][_0x153e46(0x14e)](Q),[G,Oe,Ae,K,je,ke]['forEach'](_0x136db7=>this['disposeWithMe'](this[_0x153e46(0x142)][_0x153e46(0x10f)](_0x136db7)));}};U($,'pluginName',S),U($,_0x241f87(0x144),Fe),U($,_0x241f87(0x129),Ie),U($,'type',_0x10c6fb[_0x241f87(0x12e)]),$=Re([_0x419fa(_0x4ccab1,_0x23a9de),Z(0x1,_0x44b855(_0xbfc494)),Z(0x2,_0x18fc6a),Z(0x3,_0x596c0d)],$);export{w as DEFAULT_CODE_CONFIG,C as DOCS_CODE_BLOCK_TYPE,S as DOCS_CODE_PLUGIN,je as DocsCodeCancelEmptyParagraphCommand,ke as DocsCodeConsumeBoundaryDeleteCommand,K as DocsCodeExitCommand,Oe as DocsCodeInsertBelowCommand,G as DocsCodeInsertCommand,W as DocsCodeModel,Ae as DocsCodeUpdateCommand,$ as UniverDocsCodePlugin,se as buildCancelEmptyCodeParagraphActions,oe as buildExitCodeActions,re as buildInsertCodeActions,O as buildUpdateCodeActions,le as findCodeRangeAtOffset,ue as isCodeBoundaryDelete,T as normalizeDocsCodeConfig};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0xad23(_0x14c4b7,_0x11df10){_0x14c4b7=_0x14c4b7-0x170;const _0x21440b=_0x2144();let _0xad233c=_0x21440b[_0x14c4b7];return _0xad233c;}function _0x2144(){const _0x4fe7f7=['now','change$','assign','slice','config','model','blockType','filter','_injector','defineProperty','13512kCYrOK','min','DocSelectionManagerService','UNIVER_DOC','812975AQIduy','documentData','_change$','@univerjs/docs-ui/facade','previousDocumentData','clear','docs-code.command.insert','blockId','startIndex','getSnapshot','removeUnit','body','find','constructor','codes','default','next','syncExecuteCommand','DataStreamTreeTokenType','3299TnjhoU','JSONX','text','startOffset','Document\x20body\x20is\x20required','nextMetadata','replace','endOffset','dataStream','serialize','endIndex','join','docs-code.command.cancel-empty-paragraph','customRanges','626688ZsBXuz','1096qOecaH','paragraphStyle','symbol','asObservable','entries','CommandType','paragraphs','Tools','customDecorations','removeCode','indexOf','unitId','_getBlockRange','UniverInstanceType','getText','getConfig','paragraph','getUniverDocInstance','delete','getUnitId','prototype','object','javascript','COMMAND','cancelEmptyParagraph','paragraphStartIndex','_commandService','blockRanges','some','findCodes','getId','Module','1540693RyKKoX','metadata','textRuns','reduce','Disposable','@univerjs/docs','forEach','setCodeConfig','spaceBelow','endsWith','toStringTag','FDocsCode','_runtime','from','docs-code.command.exit','customBlocks','fromEntries','BLOCK_START','includes','get','deepClone','deserialize','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getInstance','dispose','IUniverInstanceService','map','compose','UniverDocsUiFacade','getCodeConfig','call','monospace','UniverProDocsCodeFacade','15786DVQuvo','@univerjs/core','_resources','SECTION_BREAK','getTextRanges','cursorOffset','complete','length','docs-code-','getDocumentData','function','sectionBreaks','string','PARAGRAPH','sort','_setResource','diffValue','indentEnd','iterator','max','textStyle','getRange','nextDocumentData','indentStart','tables','endTokenOffset','174lgLoQQ','code','exports','set','494424ltyWKk','UniverCore','docs-code.command.update','getCurrentUnitOfType','commandService','every','BLOCK_END'];_0x2144=function(){return _0x4fe7f7;};return _0x2144();}(function(_0x2443fd,_0x87aa66){const _0x39c51c=_0xad23,_0x190d61=_0x2443fd();while(!![]){try{const _0x25fbb7=-parseInt(_0x39c51c(0x1af))/0x1*(-parseInt(_0x39c51c(0x183))/0x2)+-parseInt(_0x39c51c(0x187))/0x3+-parseInt(_0x39c51c(0x1bd))/0x4+parseInt(_0x39c51c(0x19c))/0x5+-parseInt(_0x39c51c(0x198))/0x6+-parseInt(_0x39c51c(0x1de))/0x7+-parseInt(_0x39c51c(0x1be))/0x8*(-parseInt(_0x39c51c(0x1ff))/0x9);if(_0x25fbb7===_0x87aa66)break;else _0x190d61['push'](_0x190d61['shift']());}catch(_0x59ce1c){_0x190d61['push'](_0x190d61['shift']());}}}(_0x2144,0x23a9b),function(_0x357c67,_0x2fca22){const _0x6a3a5a=_0xad23;typeof exports==_0x6a3a5a(0x1d3)&&typeof module<'u'?_0x2fca22(exports,require('@univerjs/core'),require('@univerjs/docs-ui/facade'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('rxjs')):typeof define==_0x6a3a5a(0x173)&&define['amd']?define([_0x6a3a5a(0x185),_0x6a3a5a(0x200),_0x6a3a5a(0x19f),_0x6a3a5a(0x1e3),'@univerjs/docs-ui','rxjs'],_0x2fca22):(_0x357c67=typeof globalThis<'u'?globalThis:_0x357c67||self,_0x2fca22(_0x357c67[_0x6a3a5a(0x1fe)]={},_0x357c67[_0x6a3a5a(0x188)],_0x357c67[_0x6a3a5a(0x1fa)],_0x357c67['UniverDocs'],_0x357c67['UniverDocsUi'],_0x357c67['rxjs']));}(this,function(_0x4cb503,_0x229b41,_0x113c1e,_0x3d857b,_0x277545,_0x23dd6b){const _0x4ac75e=_0xad23;Object[_0x4ac75e(0x197)](_0x4cb503,Symbol[_0x4ac75e(0x1e8)],{'value':_0x4ac75e(0x1dd)});let _0x37da11=_0x4ac75e(0x184),_0x45f79b={'language':_0x4ac75e(0x1d4),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x3f2846(_0x36a79d){return{..._0x45f79b,..._0x36a79d};}function _0x569042(_0x5ae737){const _0x313c09=_0x4ac75e;var _0x4f7322;let _0x376939=(_0x4f7322=_0x5ae737==null?void 0x0:_0x5ae737['codes'])==null?{}:_0x4f7322;return{'codes':Object[_0x313c09(0x1ee)](Object[_0x313c09(0x1c2)](_0x376939)[_0x313c09(0x1f8)](([_0x487191,_0x5b79e8])=>[_0x487191,_0x3f2846(_0x5b79e8)]))};}function _0x21aa49(_0x6af681,_0x4b99aa,_0x45afad){const _0x367fb0=_0x4ac75e;let _0x39bf74=_0x569042(_0x6af681);return _0x39bf74[_0x367fb0(0x1aa)][_0x4b99aa]=_0x3f2846({..._0x39bf74[_0x367fb0(0x1aa)][_0x4b99aa],..._0x45afad}),_0x39bf74;}function _0x234d5a(_0x3e6c10,_0xd72720){const _0x67b44e=_0x4ac75e;let _0x1374db=_0x569042(_0x3e6c10);return delete _0x1374db[_0x67b44e(0x1aa)][_0xd72720],_0x1374db;}let _0x2ebda4=_0x4ac75e(0x1fd);function _0x1c0349(_0x4d311d){const _0x203d9c=_0x4ac75e;var _0xefeb80,_0x14fd48,_0x56ebaf;let _0x4fc43e=_0x32d6af(_0x4d311d[_0x203d9c(0x19d)]),_0x3573bb=_0x21e714(_0x4fc43e),_0x7d39d8=_0x4a1df9(_0x4d311d[_0x203d9c(0x1b2)],_0x4d311d[_0x203d9c(0x1b6)]),_0x1eefd8=_0x7d39d8?(_0xefeb80=_0x3573bb['blockRanges'])==null?void 0x0:_0xefeb80[_0x203d9c(0x1a8)](_0x3c2a44=>_0x3c2a44[_0x203d9c(0x1a4)]===_0x7d39d8['startOffset']&&_0x3c2a44['endIndex']+0x1===_0x7d39d8[_0x203d9c(0x1b6)]):void 0x0,{startOffset:_0xa4b3a9,endOffset:_0x48eba0}=_0x1eefd8?_0x7d39d8:_0x5350d8(_0x3573bb,_0x4d311d[_0x203d9c(0x1b2)],_0x4d311d[_0x203d9c(0x1b6)]),_0x1216c0=_0x402b19(_0x3573bb,_0xa4b3a9,_0x48eba0),_0x3c814e=(_0x14fd48=_0x1eefd8==null?void 0x0:_0x1eefd8['blockId'])==null?_0x4d311d[_0x203d9c(0x1a3)]:_0x14fd48,_0xb97095=_0x21aa49(_0x4d311d['metadata'],_0x3c814e,{..._0x45f79b,..._0x4d311d[_0x203d9c(0x192)]});if(_0x1eefd8)return _0x1eefd8['blockType']=_0x37da11,_0x11fa6e(_0x3573bb,_0xa4b3a9,_0x48eba0),_0xf15720(_0x3573bb,_0xa4b3a9,_0x48eba0,_0x1216c0),{'nextDocumentData':_0x4fc43e,'nextMetadata':_0xb97095,'cursorOffset':_0xa4b3a9+0x1};if(_0xa4b3a9===_0x48eba0){let _0x10e51d=''+_0x229b41[_0x203d9c(0x1ae)][_0x203d9c(0x1ef)]+_0x229b41[_0x203d9c(0x1ae)][_0x203d9c(0x176)]+_0x229b41['DataStreamTreeTokenType'][_0x203d9c(0x18d)];return _0x36909a(_0x3573bb,_0xa4b3a9,_0x10e51d,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':_0x32d354(!0x0,!0x0,_0x1216c0)}],'blockRanges':[{'blockId':_0x3c814e,'blockType':_0x37da11,'startIndex':0x0,'endIndex':_0x10e51d[_0x203d9c(0x170)]-0x1}]}),{'nextDocumentData':_0x4fc43e,'nextMetadata':_0xb97095,'cursorOffset':_0xa4b3a9+0x1};}return _0x36909a(_0x3573bb,_0x48eba0,_0x229b41['DataStreamTreeTokenType']['BLOCK_END']),_0x36909a(_0x3573bb,_0xa4b3a9,_0x229b41[_0x203d9c(0x1ae)][_0x203d9c(0x1ef)]),_0xf15720(_0x3573bb,_0xa4b3a9,_0x48eba0+0x1,_0x1216c0),_0x3573bb['blockRanges']=[...(_0x56ebaf=_0x3573bb[_0x203d9c(0x1d9)])==null?[]:_0x56ebaf,{'blockId':_0x3c814e,'blockType':_0x37da11,'startIndex':_0xa4b3a9,'endIndex':_0x48eba0+0x1}][_0x203d9c(0x177)]((_0x1e2d5c,_0x2f9158)=>_0x1e2d5c[_0x203d9c(0x1a4)]-_0x2f9158['startIndex']),{'nextDocumentData':_0x4fc43e,'nextMetadata':_0xb97095,'cursorOffset':_0xa4b3a9+0x1};}function _0x11fa6e(_0x18d983,_0x584514,_0x1fd042){const _0x12f53b=_0x4ac75e;var _0x5d0f27;((_0x5d0f27=_0x18d983[_0x12f53b(0x1c4)])==null?[]:_0x5d0f27)['filter'](_0x3b8871=>_0x3b8871['startIndex']>_0x584514&&_0x3b8871[_0x12f53b(0x1a4)]<_0x1fd042)[_0x12f53b(0x1e4)](_0x21b382=>{const _0x288637=_0x12f53b;var _0x4314ea;let _0x218fc7={...(_0x4314ea=_0x21b382['paragraphStyle'])==null?{}:_0x4314ea};delete _0x218fc7['spaceAbove'],delete _0x218fc7[_0x288637(0x1e6)],_0x21b382[_0x288637(0x1bf)]=_0x218fc7;});}function _0x4a1df9(_0x4456dc,_0x2ab6e7){const _0x57cf18=_0x4ac75e;return _0x4456dc==null||_0x2ab6e7==null||_0x4456dc===_0x2ab6e7?null:{'startOffset':Math[_0x57cf18(0x199)](_0x4456dc,_0x2ab6e7),'endOffset':Math[_0x57cf18(0x17c)](_0x4456dc,_0x2ab6e7)};}function _0x25976f(_0x2f2926){const _0x46eee4=_0x4ac75e;return{'nextDocumentData':_0x32d6af(_0x2f2926[_0x46eee4(0x19d)]),'nextMetadata':_0x21aa49(_0x2f2926[_0x46eee4(0x1df)],_0x2f2926[_0x46eee4(0x1a3)],_0x2f2926[_0x46eee4(0x192)]),'cursorOffset':0x0};}function _0x4786dd(_0x13191b){const _0x1d769f=_0x4ac75e;var _0x21b18a,_0x48f549;let _0x35a621=_0x32d6af(_0x13191b[_0x1d769f(0x19d)]),_0x5b7457=_0x21e714(_0x35a621),_0x3ccaf6=_0x313740(_0x5b7457,_0x13191b[_0x1d769f(0x204)]);if(!_0x3ccaf6)return null;let _0x5de9a4=_0x151da5(_0x5b7457,_0x3ccaf6),_0x59f9b4=_0x5de9a4[_0x5de9a4[_0x1d769f(0x170)]-0x1];if(!_0x59f9b4||!_0x5ae7dc(_0x5b7457,_0x3ccaf6,_0x59f9b4)||_0x13191b[_0x1d769f(0x204)]<_0x59f9b4[_0x1d769f(0x1a4)])return null;let _0x2e99a6=_0x433f1a(_0x5b7457,_0x3ccaf6,_0x59f9b4);if(_0x2e99a6>=_0x3ccaf6['endIndex'])return null;_0x5b7457['dataStream']=[_0x5b7457[_0x1d769f(0x1b7)][_0x1d769f(0x191)](0x0,_0x2e99a6),_0x229b41[_0x1d769f(0x1ae)][_0x1d769f(0x18d)],_0x5b7457[_0x1d769f(0x1b7)]['slice'](_0x2e99a6,_0x3ccaf6[_0x1d769f(0x1b9)]),_0x5b7457['dataStream'][_0x1d769f(0x191)](_0x3ccaf6[_0x1d769f(0x1b9)]+0x1)][_0x1d769f(0x1ba)](''),_0x43b70a(_0x5b7457[_0x1d769f(0x1c4)],_0x2e99a6,_0x3ccaf6[_0x1d769f(0x1b9)],0x1),_0x43b70a(_0x5b7457[_0x1d769f(0x174)],_0x2e99a6,_0x3ccaf6[_0x1d769f(0x1b9)],0x1),_0x43b70a(_0x5b7457[_0x1d769f(0x1ed)],_0x2e99a6,_0x3ccaf6['endIndex'],0x1),_0xc53b1f(_0x5b7457[_0x1d769f(0x1e0)],_0x2e99a6,_0x3ccaf6['endIndex'],0x1),_0x3f3dbb(_0x5b7457[_0x1d769f(0x181)],_0x2e99a6,_0x3ccaf6[_0x1d769f(0x1b9)],0x1),_0x3f3dbb(_0x5b7457['customRanges'],_0x2e99a6,_0x3ccaf6[_0x1d769f(0x1b9)],0x1),_0x3f3dbb(_0x5b7457[_0x1d769f(0x1c6)],_0x2e99a6,_0x3ccaf6['endIndex'],0x1),(_0x21b18a=_0x5b7457[_0x1d769f(0x1d9)])==null||_0x21b18a['forEach'](_0x10af7f=>{const _0x35d6d9=_0x1d769f;_0x10af7f===_0x3ccaf6||_0x10af7f[_0x35d6d9(0x1a3)]===_0x3ccaf6[_0x35d6d9(0x1a3)]?_0x10af7f['endIndex']=_0x2e99a6:_0x10af7f[_0x35d6d9(0x1a4)]>=_0x2e99a6&&_0x10af7f[_0x35d6d9(0x1a4)]<_0x3ccaf6[_0x35d6d9(0x1b9)]&&(_0x10af7f[_0x35d6d9(0x1a4)]+=0x1,_0x10af7f[_0x35d6d9(0x1b9)]+=0x1);});let _0x353bb1=_0x151da5(_0x5b7457,{..._0x3ccaf6,'endIndex':_0x2e99a6});_0x353bb1[_0x1d769f(0x1e4)]((_0x11718a,_0x45bd1d)=>{const _0x286ce3=_0x1d769f;var _0x54f6a9;_0x11718a[_0x286ce3(0x1bf)]={...(_0x54f6a9=_0x11718a[_0x286ce3(0x1bf)])==null?{}:_0x54f6a9,..._0x32d354(_0x45bd1d===0x0,_0x45bd1d===_0x353bb1[_0x286ce3(0x170)]-0x1)};});let _0x1bde13=(_0x48f549=_0x5b7457[_0x1d769f(0x1c4)])==null?void 0x0:_0x48f549[_0x1d769f(0x1a8)](_0x48717e=>_0x48717e[_0x1d769f(0x1a4)]===_0x2e99a6+0x1);return _0x1bde13&&(_0x1bde13[_0x1d769f(0x1bf)]=_0x2b6309(_0x1bde13[_0x1d769f(0x1bf)])),{'nextDocumentData':_0x35a621,'cursorOffset':_0x2e99a6+0x1};}function _0x391419(_0x526165){const _0x1ed4f3=_0x4ac75e;let _0x479af2=_0x32d6af(_0x526165[_0x1ed4f3(0x19d)]),_0x318a13=_0x21e714(_0x479af2),_0x308864=_0x313740(_0x318a13,_0x526165['cursorOffset']);return _0x308864&&_0x5ce38e(_0x479af2,_0x318a13,_0x308864,_0x526165[_0x1ed4f3(0x204)],_0x526165[_0x1ed4f3(0x1d7)])||null;}function _0x5ce38e(_0x5283c7,_0x215baf,_0x441fd4,_0x3d6f23,_0x1fb78d){const _0x4e58a6=_0x4ac75e;let _0x35e95c=_0x16e9fd(_0x215baf,_0x441fd4,_0x3d6f23,_0x1fb78d);if(!_0x35e95c)return null;let _0x39d232=_0x35e95c[_0x4e58a6(0x182)]-0x1;return _0x267cd2(_0x215baf,_0x35e95c[_0x4e58a6(0x1ce)][_0x4e58a6(0x1a4)],_0x35e95c[_0x4e58a6(0x1ce)][_0x4e58a6(0x1a4)]+0x1),{'nextDocumentData':_0x5283c7,'cursorOffset':_0x39d232};}function _0x313740(_0x177a6d,_0x3ccbad){const _0x1c23af=_0x4ac75e;var _0x5c8c46;return(_0x5c8c46=_0x177a6d['blockRanges'])==null?void 0x0:_0x5c8c46[_0x1c23af(0x1a8)](_0x4b1296=>{const _0x218104=_0x1c23af;let _0xbdbf6e=_0x3b13e3(_0x177a6d,_0x4b1296);return _0x4b1296[_0x218104(0x194)]===_0x218104(0x184)&&_0x4b1296[_0x218104(0x1a4)]<=_0x3ccbad&&_0x3ccbad<=_0xbdbf6e+0x2;});}function _0x32d354(_0x3f9acf,_0x43e4ae,_0x25139f=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x3f9acf&&_0x25139f?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x2ebda4,'fs':0xc}};}function _0xf15720(_0x598794,_0x2ceb72,_0xdc04d6,_0x4d7d70=!0x1){const _0x5ba0ab=_0x4ac75e;var _0x5faffd;let _0x1c53dc=((_0x5faffd=_0x598794[_0x5ba0ab(0x1c4)])==null?[]:_0x5faffd)[_0x5ba0ab(0x195)](_0x2f2d9f=>_0x2f2d9f[_0x5ba0ab(0x1a4)]>_0x2ceb72&&_0x2f2d9f['startIndex']<_0xdc04d6);_0x1c53dc[_0x5ba0ab(0x1e4)]((_0xea426b,_0x15c12a)=>{const _0x491e59=_0x5ba0ab;var _0x3950f1;_0xea426b[_0x491e59(0x1bf)]={...(_0x3950f1=_0xea426b['paragraphStyle'])==null?{}:_0x3950f1,..._0x32d354(_0x15c12a===0x0,_0x15c12a===_0x1c53dc[_0x491e59(0x170)]-0x1,_0x4d7d70)};});}function _0x2b6309(_0x4ac42d){const _0x11551d=_0x4ac75e;var _0x5ee8b2,_0x1536c9;let _0x393b3d={..._0x4ac42d==null?{}:_0x4ac42d};return delete _0x393b3d[_0x11551d(0x17a)],delete _0x393b3d[_0x11551d(0x180)],delete _0x393b3d['spaceAbove'],delete _0x393b3d[_0x11551d(0x1e6)],((_0x5ee8b2=_0x393b3d['textStyle'])==null?void 0x0:_0x5ee8b2['ff'])===_0x2ebda4&&((_0x1536c9=_0x393b3d[_0x11551d(0x17d)])==null?void 0x0:_0x1536c9['fs'])===0xc&&delete _0x393b3d[_0x11551d(0x17d)],_0x393b3d;}function _0x151da5(_0x4f4b53,_0x1ca947){const _0x175519=_0x4ac75e;var _0x3ec602;let _0x859300=_0x3b13e3(_0x4f4b53,_0x1ca947);return((_0x3ec602=_0x4f4b53[_0x175519(0x1c4)])==null?[]:_0x3ec602)[_0x175519(0x195)](_0x3d6b19=>_0x3d6b19[_0x175519(0x1a4)]>_0x1ca947[_0x175519(0x1a4)]&&_0x3d6b19[_0x175519(0x1a4)]<_0x859300);}function _0x5ae7dc(_0x2e6428,_0xb6a36c,_0x4a9734){const _0x4f96d5=_0x4ac75e;let _0x401a5b=_0x433f1a(_0x2e6428,_0xb6a36c,_0x4a9734),_0x1dd2f7=_0x2e6428[_0x4f96d5(0x1b7)]['slice'](_0x401a5b,_0x4a9734['startIndex']);return Array[_0x4f96d5(0x1eb)](_0x1dd2f7)[_0x4f96d5(0x18c)](_0x19511e=>_0x19511e===_0x229b41[_0x4f96d5(0x1ae)][_0x4f96d5(0x1ef)]||_0x19511e===_0x229b41[_0x4f96d5(0x1ae)][_0x4f96d5(0x18d)]);}function _0x32d6af(_0x42aa9b){const _0xc8948=_0x4ac75e;return _0x229b41[_0xc8948(0x1c5)][_0xc8948(0x1f2)](_0x42aa9b);}function _0x21e714(_0x3860a0){const _0x50beda=_0x4ac75e;if(!_0x3860a0[_0x50beda(0x1a7)])throw Error(_0x50beda(0x1b3));return _0x3860a0['body'];}function _0x5350d8(_0x546d9c,_0xc2a49f,_0xcce242){const _0x35ba20=_0x4ac75e;if(_0xc2a49f==null||_0xcce242==null){let _0xe31d52=_0x2cf9d8(_0x546d9c);return{'startOffset':_0xe31d52,'endOffset':_0xe31d52};}let _0x29b8e0=Math[_0x35ba20(0x199)](_0xc2a49f,_0xcce242),_0x5c3f22=Math[_0x35ba20(0x17c)](_0xc2a49f,_0xcce242);return _0x29b8e0===_0x5c3f22?{'startOffset':_0x29b8e0,'endOffset':_0x29b8e0}:_0xf3a6c1(_0x546d9c,_0x29b8e0,_0x5c3f22);}function _0x2cf9d8(_0x1d6c13){const _0x446abf=_0x4ac75e;return _0x1d6c13['dataStream'][_0x446abf(0x1e7)](_0x229b41['DataStreamTreeTokenType'][_0x446abf(0x202)])?Math[_0x446abf(0x17c)](0x0,_0x1d6c13[_0x446abf(0x1b7)][_0x446abf(0x170)]-0x1):_0x1d6c13['dataStream'][_0x446abf(0x170)];}function _0x402b19(_0x592647,_0x49185e,_0xeab301){const _0x369a57=_0x4ac75e;var _0x8eea97;let _0x57b26b=Math['min'](_0x49185e,_0xeab301),_0xcdcdfd=Math['max'](_0x49185e,_0xeab301);return!!((_0x8eea97=_0x592647['tables'])!=null&&_0x8eea97[_0x369a57(0x1da)](_0x46991b=>_0x57b26b>_0x46991b['startIndex']&&_0x57b26b<_0x46991b[_0x369a57(0x1b9)]||_0xcdcdfd>_0x46991b['startIndex']&&_0xcdcdfd<_0x46991b[_0x369a57(0x1b9)]||_0x57b26b<=_0x46991b[_0x369a57(0x1a4)]&&_0xcdcdfd>=_0x46991b[_0x369a57(0x1b9)]));}function _0xf3a6c1(_0x1251ea,_0x3067f3,_0x3398d6){const _0x4b568e=_0x4ac75e;var _0xaf737f,_0x52917b;let _0x21917d=[...(_0xaf737f=_0x1251ea['paragraphs'])==null?[]:_0xaf737f][_0x4b568e(0x177)]((_0xaca98b,_0xc1cbcf)=>_0xaca98b[_0x4b568e(0x1a4)]-_0xc1cbcf[_0x4b568e(0x1a4)]),_0x1afaad=_0x21917d[_0x4b568e(0x1a8)]((_0x5d450e,_0x36b24a)=>(_0x36b24a===0x0?0x0:_0x21917d[_0x36b24a-0x1]['startIndex']+0x1)<=_0x3067f3&&_0x3067f3<=_0x5d450e[_0x4b568e(0x1a4)]),_0x2ee3f6=(_0x52917b=_0x21917d[_0x4b568e(0x1a8)](_0x360f84=>_0x360f84[_0x4b568e(0x1a4)]>=_0x3398d6-0x1))==null?_0x21917d[_0x21917d[_0x4b568e(0x170)]-0x1]:_0x52917b;return{'startOffset':_0x1afaad?_0x38a3bd(_0x21917d,_0x1afaad):_0x3067f3,'endOffset':_0x2ee3f6?_0x2ee3f6[_0x4b568e(0x1a4)]+0x1:_0x3398d6};}function _0x38a3bd(_0x1d0a31,_0x27bc97){const _0x55a2d8=_0x4ac75e;let _0x4e33ea=_0x1d0a31[_0x55a2d8(0x1c8)](_0x27bc97);return _0x4e33ea>0x0?_0x1d0a31[_0x4e33ea-0x1]['startIndex']+0x1:0x0;}function _0x433f1a(_0x51d106,_0x52a1b2,_0x13c79a){const _0x5c4975=_0x4ac75e;var _0x50c530;return Math[_0x5c4975(0x17c)](_0x38a3bd((_0x50c530=_0x51d106[_0x5c4975(0x1c4)])==null?[]:_0x50c530,_0x13c79a),_0x52a1b2[_0x5c4975(0x1a4)]+0x1);}function _0x3b13e3(_0x31b140,_0x59d923){const _0x37719d=_0x4ac75e;return _0x31b140[_0x37719d(0x1b7)][_0x59d923[_0x37719d(0x1b9)]]===_0x229b41['DataStreamTreeTokenType'][_0x37719d(0x18d)]?_0x59d923[_0x37719d(0x1b9)]:_0x31b140['dataStream'][_0x59d923[_0x37719d(0x1b9)]+0x1]===_0x229b41['DataStreamTreeTokenType'][_0x37719d(0x18d)]?_0x59d923['endIndex']+0x1:_0x59d923[_0x37719d(0x1b9)];}function _0x16e9fd(_0x32ee23,_0x3b1880,_0x7ec856,_0x195e6a){const _0x251218=_0x4ac75e;var _0x3ca425,_0x39a932;let _0x3ecb0d=_0x3b13e3(_0x32ee23,_0x3b1880),_0x8e4dd1=((_0x3ca425=_0x32ee23[_0x251218(0x1c4)])==null?[]:_0x3ca425)[_0x251218(0x1a8)](_0x507fe7=>_0x507fe7[_0x251218(0x1a4)]===_0x3ecb0d+0x1);if(!_0x8e4dd1||_0x195e6a!=null&&_0x8e4dd1['startIndex']!==_0x195e6a||_0x7ec856<_0x3ecb0d||_0x7ec856>_0x8e4dd1[_0x251218(0x1a4)]+0x1||_0x32ee23[_0x251218(0x1b7)][_0x8e4dd1[_0x251218(0x1a4)]]!==_0x229b41[_0x251218(0x1ae)][_0x251218(0x176)])return null;let _0x1f9681=_0x38a3bd((_0x39a932=_0x32ee23[_0x251218(0x1c4)])==null?[]:_0x39a932,_0x8e4dd1),_0x4d57fb=_0x32ee23['dataStream'][_0x251218(0x191)](_0x1f9681,_0x8e4dd1['startIndex']);return Array[_0x251218(0x1eb)](_0x4d57fb)['every'](_0x47a29f=>_0x47a29f===_0x229b41[_0x251218(0x1ae)][_0x251218(0x18d)])?{'paragraph':_0x8e4dd1,'endTokenOffset':_0x3ecb0d}:null;}function _0x36909a(_0x12e8e3,_0x25bbc2,_0x1d0496,_0x111ce8={}){const _0x7dedcf=_0x4ac75e;var _0x4ad016,_0x233bef;if(_0x1d0496){if(_0x12e8e3[_0x7dedcf(0x1b7)]=''+_0x12e8e3[_0x7dedcf(0x1b7)][_0x7dedcf(0x191)](0x0,_0x25bbc2)+_0x1d0496+_0x12e8e3[_0x7dedcf(0x1b7)][_0x7dedcf(0x191)](_0x25bbc2),_0x9b732b(_0x12e8e3,_0x25bbc2,_0x1d0496['length']),(_0x4ad016=_0x111ce8['paragraphs'])!=null&&_0x4ad016['length']){var _0x246bfb;_0x12e8e3['paragraphs']=[...(_0x246bfb=_0x12e8e3[_0x7dedcf(0x1c4)])==null?[]:_0x246bfb,..._0x111ce8[_0x7dedcf(0x1c4)][_0x7dedcf(0x1f8)](_0x1ac588=>({..._0x1ac588,'startIndex':_0x1ac588[_0x7dedcf(0x1a4)]+_0x25bbc2}))][_0x7dedcf(0x177)]((_0x147cca,_0x249542)=>_0x147cca[_0x7dedcf(0x1a4)]-_0x249542[_0x7dedcf(0x1a4)]);}if((_0x233bef=_0x111ce8[_0x7dedcf(0x1d9)])!=null&&_0x233bef[_0x7dedcf(0x170)]){var _0xffb337;_0x12e8e3[_0x7dedcf(0x1d9)]=[...(_0xffb337=_0x12e8e3[_0x7dedcf(0x1d9)])==null?[]:_0xffb337,..._0x111ce8[_0x7dedcf(0x1d9)][_0x7dedcf(0x1f8)](_0x36aa05=>({..._0x36aa05,'startIndex':_0x36aa05[_0x7dedcf(0x1a4)]+_0x25bbc2,'endIndex':_0x36aa05['endIndex']+_0x25bbc2}))][_0x7dedcf(0x177)]((_0xa2e4e9,_0x2775c5)=>_0xa2e4e9[_0x7dedcf(0x1a4)]-_0x2775c5[_0x7dedcf(0x1a4)]);}}}function _0x267cd2(_0x3d8812,_0x361ccb,_0xacac2f){const _0x113af3=_0x4ac75e;let _0x48fcaf=_0xacac2f-_0x361ccb;_0x3d8812[_0x113af3(0x1b7)]=''+_0x3d8812['dataStream'][_0x113af3(0x191)](0x0,_0x361ccb)+_0x3d8812[_0x113af3(0x1b7)][_0x113af3(0x191)](_0xacac2f),_0x4c950c(_0x3d8812,_0x361ccb,_0x48fcaf);}function _0x9b732b(_0x4a3aa2,_0x373e03,_0x445f2a){const _0x2bbc0a=_0x4ac75e;_0x4a3aa2[_0x2bbc0a(0x1c4)]=_0x515364(_0x4a3aa2[_0x2bbc0a(0x1c4)],_0x373e03,_0x445f2a),_0x4a3aa2['sectionBreaks']=_0x515364(_0x4a3aa2[_0x2bbc0a(0x174)],_0x373e03,_0x445f2a),_0x4a3aa2[_0x2bbc0a(0x1ed)]=_0x515364(_0x4a3aa2[_0x2bbc0a(0x1ed)],_0x373e03,_0x445f2a),_0x4a3aa2[_0x2bbc0a(0x1e0)]=_0x2ed432(_0x4a3aa2['textRuns'],_0x373e03,_0x445f2a),_0x4a3aa2[_0x2bbc0a(0x181)]=_0x1f0eb3(_0x4a3aa2[_0x2bbc0a(0x181)],_0x373e03,_0x445f2a),_0x4a3aa2[_0x2bbc0a(0x1bc)]=_0x1f0eb3(_0x4a3aa2[_0x2bbc0a(0x1bc)],_0x373e03,_0x445f2a),_0x4a3aa2['customDecorations']=_0x1f0eb3(_0x4a3aa2[_0x2bbc0a(0x1c6)],_0x373e03,_0x445f2a),_0x4a3aa2[_0x2bbc0a(0x1d9)]=_0x1f0eb3(_0x4a3aa2['blockRanges'],_0x373e03,_0x445f2a);}function _0x4c950c(_0x56e8ee,_0xce02eb,_0x533715){const _0x452360=_0x4ac75e;var _0x51dd37,_0x7cf3c0;_0x56e8ee[_0x452360(0x1c4)]=_0x25ba73(_0x56e8ee[_0x452360(0x1c4)],_0xce02eb,_0x533715),_0x56e8ee[_0x452360(0x174)]=_0x25ba73(_0x56e8ee[_0x452360(0x174)],_0xce02eb,_0x533715),_0x56e8ee[_0x452360(0x1ed)]=_0x25ba73(_0x56e8ee[_0x452360(0x1ed)],_0xce02eb,_0x533715),_0x56e8ee['textRuns']=(_0x51dd37=_0xe17e8f((_0x7cf3c0=_0x56e8ee[_0x452360(0x1e0)])==null?void 0x0:_0x7cf3c0[_0x452360(0x1f8)](_0x545e32=>({..._0x545e32,'startIndex':_0x545e32['st'],'endIndex':_0x545e32['ed']})),_0xce02eb,_0x533715))==null?void 0x0:_0x51dd37[_0x452360(0x1f8)](_0x4c1699=>{let {startIndex:_0x153c92,endIndex:_0x3249f4,..._0x415439}=_0x4c1699;return{..._0x415439,'st':_0x153c92,'ed':_0x3249f4};}),_0x56e8ee['tables']=_0xe17e8f(_0x56e8ee[_0x452360(0x181)],_0xce02eb,_0x533715),_0x56e8ee[_0x452360(0x1bc)]=_0xe17e8f(_0x56e8ee[_0x452360(0x1bc)],_0xce02eb,_0x533715),_0x56e8ee[_0x452360(0x1c6)]=_0xe17e8f(_0x56e8ee[_0x452360(0x1c6)],_0xce02eb,_0x533715),_0x56e8ee[_0x452360(0x1d9)]=_0xe17e8f(_0x56e8ee[_0x452360(0x1d9)],_0xce02eb,_0x533715);}function _0x515364(_0x4bb334,_0x434a28,_0x590163){const _0x2555f0=_0x4ac75e;return _0x4bb334==null?void 0x0:_0x4bb334[_0x2555f0(0x1f8)](_0x40edb9=>_0x40edb9[_0x2555f0(0x1a4)]>=_0x434a28?{..._0x40edb9,'startIndex':_0x40edb9[_0x2555f0(0x1a4)]+_0x590163}:_0x40edb9);}function _0x25ba73(_0x22f8ba,_0x17c3c7,_0x4847a9){const _0x29612d=_0x4ac75e;let _0x48a480=_0x17c3c7+_0x4847a9;return _0x22f8ba==null?void 0x0:_0x22f8ba['map'](_0x411523=>_0x411523[_0x29612d(0x1a4)]>=_0x17c3c7&&_0x411523[_0x29612d(0x1a4)]<_0x48a480?null:_0x411523[_0x29612d(0x1a4)]>=_0x48a480?{..._0x411523,'startIndex':_0x411523[_0x29612d(0x1a4)]-_0x4847a9}:_0x411523)[_0x29612d(0x195)](_0x29ab0f=>_0x29ab0f!=null);}function _0x2ed432(_0xf653bc,_0x45822b,_0x594611){const _0x2ec310=_0x4ac75e;return _0xf653bc==null?void 0x0:_0xf653bc[_0x2ec310(0x1f8)](_0x4a214e=>_0x4a214e['st']>=_0x45822b?{..._0x4a214e,'st':_0x4a214e['st']+_0x594611,'ed':_0x4a214e['ed']+_0x594611}:_0x4a214e['ed']>_0x45822b?{..._0x4a214e,'ed':_0x4a214e['ed']+_0x594611}:_0x4a214e);}function _0x1f0eb3(_0x171848,_0x2a3e0f,_0x104383){const _0x142ae0=_0x4ac75e;return _0x171848==null?void 0x0:_0x171848[_0x142ae0(0x1f8)](_0x42bb1b=>_0x42bb1b[_0x142ae0(0x1a4)]>=_0x2a3e0f?{..._0x42bb1b,'startIndex':_0x42bb1b[_0x142ae0(0x1a4)]+_0x104383,'endIndex':_0x42bb1b[_0x142ae0(0x1b9)]+_0x104383}:_0x42bb1b['endIndex']>=_0x2a3e0f?{..._0x42bb1b,'endIndex':_0x42bb1b[_0x142ae0(0x1b9)]+_0x104383}:_0x42bb1b);}function _0xe17e8f(_0x2c920d,_0x391675,_0x3c6f38){const _0x36cb47=_0x4ac75e;let _0x287196=_0x391675+_0x3c6f38;return _0x2c920d==null?void 0x0:_0x2c920d[_0x36cb47(0x1f8)](_0x311a65=>_0x311a65[_0x36cb47(0x1a4)]>=_0x391675&&_0x311a65[_0x36cb47(0x1b9)]<_0x287196?null:_0x311a65['startIndex']>=_0x287196?{..._0x311a65,'startIndex':_0x311a65[_0x36cb47(0x1a4)]-_0x3c6f38,'endIndex':_0x311a65[_0x36cb47(0x1b9)]-_0x3c6f38}:_0x311a65['endIndex']>=_0x391675?{..._0x311a65,'startIndex':_0x311a65[_0x36cb47(0x1a4)]<_0x391675?_0x311a65[_0x36cb47(0x1a4)]:_0x391675,'endIndex':Math[_0x36cb47(0x17c)](_0x391675,_0x311a65[_0x36cb47(0x1b9)]-_0x3c6f38)}:_0x311a65)['filter'](_0x48c83e=>_0x48c83e!=null);}function _0x43b70a(_0x9e9c30,_0x164f99,_0x56eb15,_0x204074){const _0x2fff9e=_0x4ac75e;_0x9e9c30==null||_0x9e9c30[_0x2fff9e(0x1e4)](_0x1594dd=>{const _0x50c1b0=_0x2fff9e;_0x1594dd[_0x50c1b0(0x1a4)]>=_0x164f99&&_0x1594dd[_0x50c1b0(0x1a4)]<_0x56eb15&&(_0x1594dd[_0x50c1b0(0x1a4)]+=_0x204074);});}function _0xc53b1f(_0xfc6330,_0x5cf584,_0x222ed4,_0x5a34df){const _0x566f4e=_0x4ac75e;_0xfc6330==null||_0xfc6330[_0x566f4e(0x1e4)](_0x6a143a=>{_0x6a143a['st']>=_0x5cf584&&_0x6a143a['st']<_0x222ed4?(_0x6a143a['st']+=_0x5a34df,_0x6a143a['ed']+=_0x5a34df):_0x6a143a['ed']>_0x5cf584&&_0x6a143a['ed']<_0x222ed4&&(_0x6a143a['ed']+=_0x5a34df);});}function _0x3f3dbb(_0x1a1eb8,_0x13d402,_0x505fce,_0x27622f){_0x1a1eb8==null||_0x1a1eb8['forEach'](_0x11df8c=>{const _0x99032b=_0xad23;_0x11df8c['startIndex']>=_0x13d402&&_0x11df8c['startIndex']<_0x505fce?(_0x11df8c[_0x99032b(0x1a4)]+=_0x27622f,_0x11df8c['endIndex']+=_0x27622f):_0x11df8c[_0x99032b(0x1b9)]>_0x13d402&&_0x11df8c[_0x99032b(0x1b9)]<_0x505fce&&(_0x11df8c['endIndex']+=_0x27622f);});}function _0x5d1e05(_0x1fd898){'@babel/helpers - typeof';const _0x17a8a4=_0x4ac75e;return _0x5d1e05=typeof Symbol=='function'&&typeof Symbol[_0x17a8a4(0x17b)]=='symbol'?function(_0xd4172b){return typeof _0xd4172b;}:function(_0x354daf){const _0x51e0fc=_0x17a8a4;return _0x354daf&&typeof Symbol==_0x51e0fc(0x173)&&_0x354daf[_0x51e0fc(0x1a9)]===Symbol&&_0x354daf!==Symbol[_0x51e0fc(0x1d2)]?_0x51e0fc(0x1c0):typeof _0x354daf;},_0x5d1e05(_0x1fd898);}function _0x8c27b6(_0x562d6d,_0x65aa17){const _0x59bdf3=_0x4ac75e;if(_0x5d1e05(_0x562d6d)!=_0x59bdf3(0x1d3)||!_0x562d6d)return _0x562d6d;var _0x12fa75=_0x562d6d[Symbol['toPrimitive']];if(_0x12fa75!==void 0x0){var _0x4b1594=_0x12fa75[_0x59bdf3(0x1fc)](_0x562d6d,_0x65aa17||_0x59bdf3(0x1ab));if(_0x5d1e05(_0x4b1594)!=_0x59bdf3(0x1d3))return _0x4b1594;throw TypeError(_0x59bdf3(0x1f4));}return(_0x65aa17===_0x59bdf3(0x175)?String:Number)(_0x562d6d);}function _0x529a91(_0x3dd820){const _0xd907ec=_0x4ac75e;var _0xff010b=_0x8c27b6(_0x3dd820,_0xd907ec(0x175));return _0x5d1e05(_0xff010b)=='symbol'?_0xff010b:_0xff010b+'';}function _0x432e7a(_0x2f3138,_0x3dd2ed,_0x5d5fe9){const _0x108159=_0x4ac75e;return(_0x3dd2ed=_0x529a91(_0x3dd2ed))in _0x2f3138?Object[_0x108159(0x197)](_0x2f3138,_0x3dd2ed,{'value':_0x5d5fe9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2f3138[_0x3dd2ed]=_0x5d5fe9,_0x2f3138;}var _0x172e49=class extends _0x229b41[_0x4ac75e(0x1e2)]{constructor(..._0x219337){const _0x316e10=_0x4ac75e;super(..._0x219337),_0x432e7a(this,_0x316e10(0x201),new Map()),_0x432e7a(this,_0x316e10(0x19e),new _0x23dd6b['Subject']()),_0x432e7a(this,_0x316e10(0x18f),this[_0x316e10(0x19e)][_0x316e10(0x1c1)]());}['getCodeConfig'](_0x4baccf,_0x2aa468){const _0x507c80=_0x4ac75e;return _0x569042(this[_0x507c80(0x201)][_0x507c80(0x1f1)](_0x4baccf))[_0x507c80(0x1aa)][_0x2aa468];}[_0x4ac75e(0x1e5)](_0xc9171,_0x4d2220,_0x198310){const _0x21a4e4=_0x4ac75e;this['_setResource'](_0xc9171,_0x4d2220,_0x21aa49(this['_resources'][_0x21a4e4(0x1f1)](_0xc9171),_0x4d2220,_0x198310));}[_0x4ac75e(0x1c7)](_0x543e1f,_0x52962a){const _0x197674=_0x4ac75e;this[_0x197674(0x178)](_0x543e1f,_0x52962a,_0x234d5a(this[_0x197674(0x201)][_0x197674(0x1f1)](_0x543e1f),_0x52962a));}[_0x4ac75e(0x1b8)](_0x4646e2){const _0x399b9b=_0x4ac75e;return _0x569042(this[_0x399b9b(0x201)][_0x399b9b(0x1f1)](_0x4646e2));}[_0x4ac75e(0x1f3)](_0x2711f3,_0x52a8e0){const _0x69dcb=_0x4ac75e;this['_resources'][_0x69dcb(0x186)](_0x2711f3,_0x569042(_0x52a8e0)),this[_0x69dcb(0x19e)][_0x69dcb(0x1ac)]({'unitId':_0x2711f3});}[_0x4ac75e(0x1a6)](_0x22192d){const _0xccafd4=_0x4ac75e;this[_0xccafd4(0x201)][_0xccafd4(0x1d0)](_0x22192d),this[_0xccafd4(0x19e)][_0xccafd4(0x1ac)]({'unitId':_0x22192d});}[_0x4ac75e(0x1f6)](){const _0x4bc35f=_0x4ac75e;super[_0x4bc35f(0x1f6)](),this[_0x4bc35f(0x201)][_0x4bc35f(0x1a1)](),this[_0x4bc35f(0x19e)][_0x4bc35f(0x205)]();}[_0x4ac75e(0x178)](_0x3ac45f,_0xf6c384,_0x14ab62){const _0x381272=_0x4ac75e;this['_resources'][_0x381272(0x186)](_0x3ac45f,_0x14ab62),this[_0x381272(0x19e)][_0x381272(0x1ac)]({'unitId':_0x3ac45f,'blockId':_0xf6c384});}};_0x229b41['CommandType'][_0x4ac75e(0x1d5)],_0x229b41[_0x4ac75e(0x1c3)]['COMMAND'];let _0x40ed1d={'id':_0x4ac75e(0x1a2),'type':_0x229b41['CommandType'][_0x4ac75e(0x1d5)],'handler':(_0x1470ac,_0x3f9105)=>{const _0x4ee3c0=_0x4ac75e;var _0x3d38f4,_0x526051,_0x8a45a6;let _0xb71f6b=_0x5cac09(_0x1470ac,_0x3f9105==null?void 0x0:_0x3f9105[_0x4ee3c0(0x1c9)]);if(!_0xb71f6b)return!0x1;let _0xbef2c4=_0x53dd6c(_0x1470ac),_0x108a90=_0x1c0349({'blockId':(_0x3d38f4=_0x3f9105==null?void 0x0:_0x3f9105[_0x4ee3c0(0x1a3)])==null?(0x0,_0x229b41['generateRandomId'])(0x6):_0x3d38f4,'config':_0x3f9105==null?void 0x0:_0x3f9105[_0x4ee3c0(0x192)],'documentData':_0xb71f6b[_0x4ee3c0(0x1a0)],'endOffset':(_0x526051=_0x3f9105==null?void 0x0:_0x3f9105['endOffset'])==null?_0xbef2c4==null?void 0x0:_0xbef2c4[_0x4ee3c0(0x1b6)]:_0x526051,'metadata':_0xb71f6b[_0x4ee3c0(0x193)][_0x4ee3c0(0x1b8)](_0xb71f6b[_0x4ee3c0(0x1c9)]),'startOffset':(_0x8a45a6=_0x3f9105==null?void 0x0:_0x3f9105[_0x4ee3c0(0x1b2)])==null?_0xbef2c4==null?void 0x0:_0xbef2c4[_0x4ee3c0(0x1b2)]:_0x8a45a6}),_0x19b6c8=_0x3f3c3a(_0xb71f6b[_0x4ee3c0(0x18b)],_0xb71f6b['unitId'],_0xb71f6b['previousDocumentData'],_0x108a90[_0x4ee3c0(0x17f)],_0x108a90['cursorOffset']);return _0x19b6c8&&_0x108a90['nextMetadata']&&_0xb71f6b[_0x4ee3c0(0x193)][_0x4ee3c0(0x1f3)](_0xb71f6b['unitId'],_0x108a90[_0x4ee3c0(0x1b4)]),_0x19b6c8;}},_0x2c5cdf={'id':_0x4ac75e(0x189),'type':_0x229b41['CommandType']['COMMAND'],'handler':(_0x14253b,_0x3f4db7)=>{const _0x316ef7=_0x4ac75e;if(!_0x3f4db7)return!0x1;let _0x425d21=_0x5cac09(_0x14253b,_0x3f4db7[_0x316ef7(0x1c9)]);if(!_0x425d21)return!0x1;let _0x327e9d=_0x25976f({'blockId':_0x3f4db7[_0x316ef7(0x1a3)],'config':_0x3f4db7[_0x316ef7(0x192)],'documentData':_0x425d21[_0x316ef7(0x1a0)],'metadata':_0x425d21[_0x316ef7(0x193)][_0x316ef7(0x1b8)](_0x425d21[_0x316ef7(0x1c9)])});return _0x327e9d[_0x316ef7(0x1b4)]&&_0x425d21[_0x316ef7(0x193)][_0x316ef7(0x1f3)](_0x425d21[_0x316ef7(0x1c9)],_0x327e9d[_0x316ef7(0x1b4)]),!0x0;}},_0x399796={'id':_0x4ac75e(0x1ec),'type':_0x229b41[_0x4ac75e(0x1c3)][_0x4ac75e(0x1d5)],'handler':(_0x4365a8,_0x2ef514)=>{const _0x30ef09=_0x4ac75e;var _0x54e8e2,_0x87be32;let _0x484eae=_0x5cac09(_0x4365a8,_0x2ef514==null?void 0x0:_0x2ef514[_0x30ef09(0x1c9)]);if(!_0x484eae)return!0x1;let _0x268121=(_0x54e8e2=_0x2ef514==null?void 0x0:_0x2ef514[_0x30ef09(0x204)])==null?(_0x87be32=_0x53dd6c(_0x4365a8))==null?void 0x0:_0x87be32[_0x30ef09(0x1b2)]:_0x54e8e2;if(_0x268121==null)return!0x1;let _0x5cd148=_0x4786dd({'cursorOffset':_0x268121,'documentData':_0x484eae[_0x30ef09(0x1a0)]});return _0x5cd148?_0x3f3c3a(_0x484eae[_0x30ef09(0x18b)],_0x484eae[_0x30ef09(0x1c9)],_0x484eae['previousDocumentData'],_0x5cd148['nextDocumentData'],_0x5cd148[_0x30ef09(0x204)]):!0x1;}},_0x2a58e8={'id':_0x4ac75e(0x1bb),'type':_0x229b41[_0x4ac75e(0x1c3)][_0x4ac75e(0x1d5)],'handler':(_0x14e811,_0x52d63c)=>{const _0x59d36c=_0x4ac75e;var _0x58b9bb,_0x48471c;let _0x289b0f=_0x5cac09(_0x14e811,_0x52d63c==null?void 0x0:_0x52d63c[_0x59d36c(0x1c9)]);if(!_0x289b0f)return!0x1;let _0x376824=(_0x58b9bb=_0x52d63c==null?void 0x0:_0x52d63c[_0x59d36c(0x204)])==null?(_0x48471c=_0x53dd6c(_0x14e811))==null?void 0x0:_0x48471c[_0x59d36c(0x1b2)]:_0x58b9bb;if(_0x376824==null)return!0x1;let _0x5d1121=_0x391419({'cursorOffset':_0x376824,'documentData':_0x289b0f['previousDocumentData'],'paragraphStartIndex':_0x52d63c==null?void 0x0:_0x52d63c[_0x59d36c(0x1d7)]});return _0x5d1121?_0x3f3c3a(_0x289b0f[_0x59d36c(0x18b)],_0x289b0f['unitId'],_0x289b0f['previousDocumentData'],_0x5d1121[_0x59d36c(0x17f)],_0x5d1121[_0x59d36c(0x204)]):!0x1;}};function _0x5cac09(_0x52119,_0x54a928){const _0x426999=_0x4ac75e;let _0x27d723=_0x52119[_0x426999(0x1f1)](_0x229b41[_0x426999(0x1f7)]),_0x28172d=_0x54a928?_0x27d723[_0x426999(0x1cf)](_0x54a928):_0x27d723[_0x426999(0x18a)](_0x229b41[_0x426999(0x1cb)][_0x426999(0x19b)]);return _0x28172d?{'commandService':_0x52119['get'](_0x229b41['ICommandService']),'model':_0x52119[_0x426999(0x1f1)](_0x172e49),'previousDocumentData':_0x28172d[_0x426999(0x1a5)](),'unitId':_0x28172d[_0x426999(0x1d1)]()}:null;}function _0x53dd6c(_0x14111e){const _0x396c35=_0x4ac75e;var _0x2c8dec;return(_0x2c8dec=_0x14111e['get'](_0x3d857b[_0x396c35(0x19a)])[_0x396c35(0x203)]())==null?void 0x0:_0x2c8dec[0x0];}function _0x20f394(_0x103f34,_0x5e8513){const _0x302d5a=_0x4ac75e;var _0x24dc01,_0x3a78db,_0x1ed701,_0x1ddad7,_0x3f7b78,_0x456ada,_0x1b3ae3,_0x26cceb,_0x3a83e9,_0x2c4bd2,_0x2ed525,_0x19b492,_0x1f1646,_0x460f6b,_0x33966e,_0x14bdbe,_0x4fba7c,_0x2da1c9;let _0x49e076=_0x229b41[_0x302d5a(0x1b0)][_0x302d5a(0x1f5)]();return[_0x25464b(_0x49e076,[_0x302d5a(0x1a7),'dataStream'],(_0x24dc01=_0x103f34[_0x302d5a(0x1a7)])==null?void 0x0:_0x24dc01[_0x302d5a(0x1b7)],(_0x3a78db=_0x5e8513[_0x302d5a(0x1a7)])==null?void 0x0:_0x3a78db[_0x302d5a(0x1b7)]),_0x25464b(_0x49e076,[_0x302d5a(0x1a7),_0x302d5a(0x1c4)],(_0x1ed701=_0x103f34['body'])==null?void 0x0:_0x1ed701['paragraphs'],(_0x1ddad7=_0x5e8513[_0x302d5a(0x1a7)])==null?void 0x0:_0x1ddad7['paragraphs']),_0x25464b(_0x49e076,['body','sectionBreaks'],(_0x3f7b78=_0x103f34[_0x302d5a(0x1a7)])==null?void 0x0:_0x3f7b78['sectionBreaks'],(_0x456ada=_0x5e8513['body'])==null?void 0x0:_0x456ada['sectionBreaks']),_0x25464b(_0x49e076,[_0x302d5a(0x1a7),_0x302d5a(0x1e0)],(_0x1b3ae3=_0x103f34['body'])==null?void 0x0:_0x1b3ae3[_0x302d5a(0x1e0)],(_0x26cceb=_0x5e8513['body'])==null?void 0x0:_0x26cceb[_0x302d5a(0x1e0)]),_0x25464b(_0x49e076,[_0x302d5a(0x1a7),_0x302d5a(0x1ed)],(_0x3a83e9=_0x103f34[_0x302d5a(0x1a7)])==null?void 0x0:_0x3a83e9[_0x302d5a(0x1ed)],(_0x2c4bd2=_0x5e8513[_0x302d5a(0x1a7)])==null?void 0x0:_0x2c4bd2[_0x302d5a(0x1ed)]),_0x25464b(_0x49e076,[_0x302d5a(0x1a7),_0x302d5a(0x1bc)],(_0x2ed525=_0x103f34[_0x302d5a(0x1a7)])==null?void 0x0:_0x2ed525['customRanges'],(_0x19b492=_0x5e8513['body'])==null?void 0x0:_0x19b492[_0x302d5a(0x1bc)]),_0x25464b(_0x49e076,[_0x302d5a(0x1a7),'customDecorations'],(_0x1f1646=_0x103f34[_0x302d5a(0x1a7)])==null?void 0x0:_0x1f1646['customDecorations'],(_0x460f6b=_0x5e8513[_0x302d5a(0x1a7)])==null?void 0x0:_0x460f6b[_0x302d5a(0x1c6)]),_0x25464b(_0x49e076,[_0x302d5a(0x1a7),_0x302d5a(0x181)],(_0x33966e=_0x103f34[_0x302d5a(0x1a7)])==null?void 0x0:_0x33966e[_0x302d5a(0x181)],(_0x14bdbe=_0x5e8513[_0x302d5a(0x1a7)])==null?void 0x0:_0x14bdbe[_0x302d5a(0x181)]),_0x25464b(_0x49e076,[_0x302d5a(0x1a7),_0x302d5a(0x1d9)],(_0x4fba7c=_0x103f34[_0x302d5a(0x1a7)])==null?void 0x0:_0x4fba7c['blockRanges'],(_0x2da1c9=_0x5e8513[_0x302d5a(0x1a7)])==null?void 0x0:_0x2da1c9[_0x302d5a(0x1d9)])][_0x302d5a(0x195)](Boolean)[_0x302d5a(0x1e1)]((_0x1e4cad,_0x3bb5dd)=>_0x229b41[_0x302d5a(0x1b0)][_0x302d5a(0x1f9)](_0x1e4cad,_0x3bb5dd),null);}function _0x25464b(_0xdcd062,_0x452ae4,_0x3891ab,_0x49e94b){const _0x5646d1=_0x4ac75e;return _0x229b41[_0x5646d1(0x1c5)][_0x5646d1(0x179)](_0x3891ab,_0x49e94b)?null:_0xdcd062['replaceOp'](_0x452ae4,_0x3891ab,_0x49e94b);}function _0x3f3c3a(_0x5223a4,_0x3d2fca,_0xd96cf9,_0x5e7cea,_0x13e1a4){let _0x4bc556=_0x20f394(_0xd96cf9,_0x5e7cea);return _0x4bc556?!!_0x5223a4['syncExecuteCommand'](_0x3d857b['RichTextEditingMutation']['id'],{'unitId':_0x3d2fca,'actions':_0x4bc556,'textRanges':[{'startOffset':_0x13e1a4,'endOffset':_0x13e1a4,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var _0x1d6122=class{constructor(_0x55a443){const _0x296b14=_0x4ac75e;this[_0x296b14(0x1ea)]=_0x55a443;}[_0x4ac75e(0x1dc)](){const _0x59d12f=_0x4ac75e;return this[_0x59d12f(0x1ea)][_0x59d12f(0x1a3)];}[_0x4ac75e(0x17e)](){const _0x14d8c8=_0x4ac75e;let _0x31130d=this[_0x14d8c8(0x1ca)]();return _0x31130d?{'blockId':_0x31130d[_0x14d8c8(0x1a3)],'endIndex':_0x31130d['endIndex'],'startIndex':_0x31130d['startIndex']}:null;}[_0x4ac75e(0x1cc)](){const _0x2c7879=_0x4ac75e;var _0x4444d6;let _0x47c600=this[_0x2c7879(0x1ca)](),_0x5216ae=(_0x4444d6=this['_runtime'][_0x2c7879(0x172)]()[_0x2c7879(0x1a7)])==null?void 0x0:_0x4444d6[_0x2c7879(0x1b7)];return!_0x47c600||!_0x5216ae?'':_0x7a317(_0x5216ae[_0x2c7879(0x191)](_0x47c600[_0x2c7879(0x1a4)]+0x1,_0x47c600[_0x2c7879(0x1b9)]));}['describe'](){const _0x4b4a93=_0x4ac75e;let _0xdd0555=this[_0x4b4a93(0x17e)]();return _0xdd0555?{..._0xdd0555,'config':this['getConfig'](),'text':this[_0x4b4a93(0x1cc)](),'type':_0x4b4a93(0x184)}:null;}[_0x4ac75e(0x1cd)](){const _0x3f1941=_0x4ac75e;var _0x573c30;return _0x3f2846((_0x573c30=this[_0x3f1941(0x1ea)][_0x3f1941(0x193)])==null?void 0x0:_0x573c30[_0x3f1941(0x1fb)](this[_0x3f1941(0x1ea)]['unitId'],this[_0x3f1941(0x1ea)][_0x3f1941(0x1a3)]));}['updateConfig'](_0x107148){const _0x276046=_0x4ac75e;var _0x29dbd5;return!!((_0x29dbd5=this[_0x276046(0x1ea)][_0x276046(0x18b)])!=null&&_0x29dbd5['syncExecuteCommand'](_0x2c5cdf['id'],{'blockId':this[_0x276046(0x1ea)]['blockId'],'config':_0x107148[_0x276046(0x192)],'unitId':this[_0x276046(0x1ea)][_0x276046(0x1c9)]}));}['exit'](_0x5e4c04){const _0x10bc74=_0x4ac75e;var _0x28f8de;return!!((_0x28f8de=this[_0x10bc74(0x1ea)]['commandService'])!=null&&_0x28f8de[_0x10bc74(0x1ad)](_0x399796['id'],{'cursorOffset':_0x5e4c04,'unitId':this[_0x10bc74(0x1ea)][_0x10bc74(0x1c9)]}));}[_0x4ac75e(0x1d6)](_0x5842ce={}){const _0xa55bf3=_0x4ac75e;var _0x452871;return!!((_0x452871=this[_0xa55bf3(0x1ea)][_0xa55bf3(0x18b)])!=null&&_0x452871[_0xa55bf3(0x1ad)](_0x2a58e8['id'],{..._0x5842ce,'unitId':this[_0xa55bf3(0x1ea)][_0xa55bf3(0x1c9)]}));}[_0x4ac75e(0x1ca)](){const _0x2a9a5b=_0x4ac75e;var _0x3016ea;return(_0x3016ea=this['_runtime'][_0x2a9a5b(0x172)]()[_0x2a9a5b(0x1a7)])==null||(_0x3016ea=_0x3016ea['blockRanges'])==null?void 0x0:_0x3016ea[_0x2a9a5b(0x1a8)](_0x270eff=>_0x270eff[_0x2a9a5b(0x1a3)]===this[_0x2a9a5b(0x1ea)][_0x2a9a5b(0x1a3)]&&_0x270eff['blockType']===_0x2a9a5b(0x184));}};function _0x7a317(_0xda9ae6){const _0x45419b=_0x4ac75e;return Array[_0x45419b(0x1eb)](_0xda9ae6)[_0x45419b(0x1f8)](_0x29b389=>_0x29b389===_0x229b41[_0x45419b(0x1ae)][_0x45419b(0x176)]?'\x0a':_0x29b389)[_0x45419b(0x195)](_0x55241a=>_0x55241a!==_0x229b41['DataStreamTreeTokenType'][_0x45419b(0x1ef)]&&_0x55241a!==_0x229b41[_0x45419b(0x1ae)][_0x45419b(0x18d)]&&_0x55241a!==_0x229b41[_0x45419b(0x1ae)][_0x45419b(0x202)])[_0x45419b(0x1ba)]('')[_0x45419b(0x1b5)](/\n$/,'');}Object[_0x4ac75e(0x190)](_0x113c1e['FDocument']['prototype'],{'getCodes'(){const _0x344f4f=_0x4ac75e;var _0x5c0ea8,_0x3b1e10;return(_0x5c0ea8=(_0x3b1e10=this[_0x344f4f(0x1a5)]()['body'])==null||(_0x3b1e10=_0x3b1e10[_0x344f4f(0x1d9)])==null?void 0x0:_0x3b1e10[_0x344f4f(0x195)](_0x553e32=>_0x553e32[_0x344f4f(0x194)]===_0x344f4f(0x184))[_0x344f4f(0x1f8)](_0x1e0328=>_0x538018(this,_0x1e0328[_0x344f4f(0x1a3)])))==null?[]:_0x5c0ea8;},'getCode'(_0x61338d){const _0x5c5cf2=_0x4ac75e;var _0x41fc9f;return!((_0x41fc9f=this[_0x5c5cf2(0x1a5)]()[_0x5c5cf2(0x1a7)])==null||(_0x41fc9f=_0x41fc9f[_0x5c5cf2(0x1d9)])==null)&&_0x41fc9f[_0x5c5cf2(0x1da)](_0x18221b=>_0x18221b['blockId']===_0x61338d&&_0x18221b[_0x5c5cf2(0x194)]===_0x5c5cf2(0x184))?_0x538018(this,_0x61338d):null;},'getCodeAt'(_0x148490){const _0x9e1dd6=_0x4ac75e;var _0x435f63;let _0x346283=(_0x435f63=this[_0x9e1dd6(0x1a5)]()[_0x9e1dd6(0x1a7)])==null||(_0x435f63=_0x435f63['blockRanges'])==null||(_0x435f63=_0x435f63[_0x9e1dd6(0x1a8)](_0x2282ed=>_0x2282ed[_0x9e1dd6(0x194)]===_0x9e1dd6(0x184)&&_0x2282ed[_0x9e1dd6(0x1a4)]<=_0x148490&&_0x148490<=_0x2282ed['endIndex']))==null?void 0x0:_0x435f63[_0x9e1dd6(0x1a3)];return _0x346283?_0x538018(this,_0x346283):null;},'findCodeByText'(_0x2226d8){const _0x2e65c7=_0x4ac75e;var _0x3fcfba;return(_0x3fcfba=this[_0x2e65c7(0x1db)](_0x2226d8)[0x0])==null?null:_0x3fcfba;},'findCodes'(_0x377415){const _0x3b870b=_0x4ac75e;let _0x584b76=typeof _0x377415==_0x3b870b(0x175)?{'text':_0x377415}:_0x377415;return this['getCodes']()[_0x3b870b(0x195)](_0x951068=>!(_0x584b76['blockId']&&_0x951068[_0x3b870b(0x1dc)]()!==_0x584b76['blockId']||_0x584b76['text']&&!_0x951068['getText']()[_0x3b870b(0x1f0)](_0x584b76[_0x3b870b(0x1b1)])));},'insertCode'(_0x17849f={}){const _0x58ab66=_0x4ac75e;var _0x5468d5,_0x366cd6;let _0x58226f=(_0x5468d5=_0x17849f[_0x58ab66(0x1a3)])==null?_0x58ab66(0x171)+Date[_0x58ab66(0x18e)]():_0x5468d5;return(_0x366cd6=_0x1621c6(this))!=null&&_0x366cd6[_0x58ab66(0x1ad)](_0x40ed1d['id'],{..._0x17849f,'blockId':_0x58226f,'unitId':this['getId']()})?_0x538018(this,_0x58226f):null;},'exitCode'(_0x4f1813){const _0x3db022=_0x4ac75e;var _0x2f65ed;return!!((_0x2f65ed=_0x1621c6(this))!=null&&_0x2f65ed['syncExecuteCommand'](_0x399796['id'],{'cursorOffset':_0x4f1813,'unitId':this[_0x3db022(0x1dc)]()}));},'cancelEmptyCodeParagraph'(_0x1d67cf={}){const _0x3853c8=_0x4ac75e;var _0x5284d0;return!!((_0x5284d0=_0x1621c6(this))!=null&&_0x5284d0[_0x3853c8(0x1ad)](_0x2a58e8['id'],{..._0x1d67cf,'unitId':this[_0x3853c8(0x1dc)]()}));}});function _0x538018(_0x319b51,_0x2af091){const _0x20f9ab=_0x4ac75e;let _0xe7d9fb=_0x4e93cb(_0x319b51);return new _0x1d6122({'blockId':_0x2af091,'commandService':_0x1621c6(_0x319b51),'getDocumentData':()=>_0x319b51[_0x20f9ab(0x1a5)](),'model':_0xe7d9fb==null?void 0x0:_0xe7d9fb[_0x20f9ab(0x1f1)](_0x172e49),'unitId':_0x319b51[_0x20f9ab(0x1dc)]()});}function _0x1621c6(_0x30b20e){const _0x460980=_0x4ac75e;var _0x3de47b,_0x49cb06;return(_0x3de47b=_0x30b20e[_0x460980(0x1d8)])==null?(_0x49cb06=_0x4e93cb(_0x30b20e))==null?void 0x0:_0x49cb06[_0x460980(0x1f1)](_0x229b41['ICommandService']):_0x3de47b;}function _0x4e93cb(_0x169932){const _0x514ece=_0x4ac75e;return _0x169932[_0x514ece(0x196)];}_0x4cb503[_0x4ac75e(0x1e9)]=_0x1d6122;}));
1
+ function _0x5d8d(){const _0x42e8ab=['get','length','text','body','object','forEach','call','getInstance','getRange','from','compose','previousDocumentData','toPrimitive','syncExecuteCommand','spaceAbove','reduce','change$','nextDocumentData','dataStream','model','nextMetadata','paragraph','next','startIndex','615CfMHDz','cursorOffset','serialize','getText','getTextRanges','filter','deserialize','spaceBelow','generateRandomId','textStyle','2654316TmZdFj','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverDocs','DocSelectionManagerService','getCodes','Subject','join','code','clear','docs-code-','_getBlockRange','paragraphs','map','JSONX','replaceOp','indexOf','every','BLOCK_START','prototype','UniverInstanceType','getUniverDocInstance','unitId','34950dbLMWV','1379174cNDnxz','replace','docs-code.command.insert','docs-code.command.cancel-empty-paragraph','@univerjs/docs-ui/facade','Tools','FDocument','commandService','paragraphStartIndex','BLOCK_END','getDocumentData','some','docs-code.command.exit','customDecorations','rxjs','dispose','Module','getConfig','indentEnd','fromEntries','amd','now','updateConfig','endTokenOffset','sort','16mbnQpB','string','endIndex','symbol','getCodeConfig','diffValue','UniverDocsUiFacade','_change$','defineProperty','min','assign','_resources','delete','@univerjs/core','endOffset','_commandService','find','Document\x20body\x20is\x20required','COMMAND','documentData','blockRanges','slice','metadata','deepClone','includes','toStringTag','getSnapshot','describe','cancelEmptyParagraph','paragraphStyle','function','max','default','210303jLzdna','blockId','tables','codes','customBlocks','asObservable','27024Tgjqea','removeUnit','_setResource','@univerjs/docs-ui','1763832aVTfWU','indentStart','javascript','_runtime','SECTION_BREAK','startOffset','set','DataStreamTreeTokenType','FDocsCode','UniverCore','@univerjs/docs','9289150zEosDs','blockType','CommandType','findCodes','18OKmasd','customRanges','textRuns','sectionBreaks','getUnitId','config','ICommandService','getId'];_0x5d8d=function(){return _0x42e8ab;};return _0x5d8d();}function _0xe374(_0x45391c,_0x52d691){_0x45391c=_0x45391c-0x8f;const _0x5d8db9=_0x5d8d();let _0xe374b2=_0x5d8db9[_0x45391c];return _0xe374b2;}(function(_0x38ba8f,_0x2ac555){const _0x3891cc=_0xe374,_0x350c40=_0x38ba8f();while(!![]){try{const _0x343935=-parseInt(_0x3891cc(0x11a))/0x1+parseInt(_0x3891cc(0x11b))/0x2+-parseInt(_0x3891cc(0x104))/0x3+parseInt(_0x3891cc(0xc7))/0x4*(-parseInt(_0x3891cc(0xfa))/0x5)+-parseInt(_0x3891cc(0xda))/0x6*(-parseInt(_0x3891cc(0xcb))/0x7)+parseInt(_0x3891cc(0xa0))/0x8*(-parseInt(_0x3891cc(0xc1))/0x9)+parseInt(_0x3891cc(0xd6))/0xa;if(_0x343935===_0x2ac555)break;else _0x350c40['push'](_0x350c40['shift']());}catch(_0x46e6fc){_0x350c40['push'](_0x350c40['shift']());}}}(_0x5d8d,0x8cdda),function(_0x37b6b0,_0x2d5a77){const _0x205215=_0xe374;typeof exports=='object'&&typeof module<'u'?_0x2d5a77(exports,require('@univerjs/core'),require('@univerjs/docs-ui/facade'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('rxjs')):typeof define==_0x205215(0xbe)&&define[_0x205215(0x9b)]?define(['exports',_0x205215(0xad),_0x205215(0x11f),_0x205215(0xd5),_0x205215(0xca),_0x205215(0x95)],_0x2d5a77):(_0x37b6b0=typeof globalThis<'u'?globalThis:_0x37b6b0||self,_0x2d5a77(_0x37b6b0['UniverProDocsCodeFacade']={},_0x37b6b0[_0x205215(0xd4)],_0x37b6b0[_0x205215(0xa6)],_0x37b6b0[_0x205215(0x106)],_0x37b6b0['UniverDocsUi'],_0x37b6b0[_0x205215(0x95)]));}(this,function(_0x44d374,_0x431ac1,_0x219e08,_0x378e18,_0x1be97d,_0x3ca085){const _0x7b5c2c=_0xe374;Object[_0x7b5c2c(0xa8)](_0x44d374,Symbol[_0x7b5c2c(0xb9)],{'value':_0x7b5c2c(0x97)});let _0x282176=_0x7b5c2c(0x10b),_0x624673={'language':_0x7b5c2c(0xcd),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0xe71c91(_0x39e02d){return{..._0x624673,..._0x39e02d};}function _0x5da300(_0x3e565d){const _0x5b2755=_0x7b5c2c;var _0x56e14b;let _0x30e3b0=(_0x56e14b=_0x3e565d==null?void 0x0:_0x3e565d[_0x5b2755(0xc4)])==null?{}:_0x56e14b;return{'codes':Object[_0x5b2755(0x9a)](Object['entries'](_0x30e3b0)[_0x5b2755(0x110)](([_0x388f7b,_0x2f3bb1])=>[_0x388f7b,_0xe71c91(_0x2f3bb1)]))};}function _0x33f24f(_0x3b7edc,_0x2e5fd0,_0x30cdd1){const _0xa06711=_0x7b5c2c;let _0x59bcc3=_0x5da300(_0x3b7edc);return _0x59bcc3['codes'][_0x2e5fd0]=_0xe71c91({..._0x59bcc3[_0xa06711(0xc4)][_0x2e5fd0],..._0x30cdd1}),_0x59bcc3;}function _0x1e0bce(_0x529a84,_0x386ede){const _0x38f131=_0x7b5c2c;let _0x373b04=_0x5da300(_0x529a84);return delete _0x373b04[_0x38f131(0xc4)][_0x386ede],_0x373b04;}let _0x1f74c6='monospace';function _0x4c6273(_0x3fc3e6){const _0x49eac6=_0x7b5c2c;var _0x51229b,_0x561589,_0x58a822;let _0x32bca9=_0x569b5a(_0x3fc3e6['documentData']),_0x5c26a5=_0x27dccd(_0x32bca9),_0x4cfcae=_0x4864e7(_0x3fc3e6[_0x49eac6(0xd0)],_0x3fc3e6[_0x49eac6(0xae)]),_0x43c16b=_0x4cfcae?(_0x51229b=_0x5c26a5[_0x49eac6(0xb4)])==null?void 0x0:_0x51229b[_0x49eac6(0xb0)](_0x3657af=>_0x3657af[_0x49eac6(0xf9)]===_0x4cfcae[_0x49eac6(0xd0)]&&_0x3657af[_0x49eac6(0xa2)]+0x1===_0x4cfcae[_0x49eac6(0xae)]):void 0x0,{startOffset:_0x5026c1,endOffset:_0x51b3e7}=_0x43c16b?_0x4cfcae:_0x5c4291(_0x5c26a5,_0x3fc3e6[_0x49eac6(0xd0)],_0x3fc3e6[_0x49eac6(0xae)]),_0x1b777e=_0x291260(_0x5c26a5,_0x5026c1,_0x51b3e7),_0x2f109f=(_0x561589=_0x43c16b==null?void 0x0:_0x43c16b[_0x49eac6(0xc2)])==null?_0x3fc3e6[_0x49eac6(0xc2)]:_0x561589,_0x41efbb=_0x33f24f(_0x3fc3e6[_0x49eac6(0xb6)],_0x2f109f,{..._0x624673,..._0x3fc3e6[_0x49eac6(0xdf)]});if(_0x43c16b)return _0x43c16b[_0x49eac6(0xd7)]=_0x282176,_0x5bc73d(_0x5c26a5,_0x5026c1,_0x51b3e7),_0x1bda46(_0x5c26a5,_0x5026c1,_0x51b3e7,_0x1b777e),{'nextDocumentData':_0x32bca9,'nextMetadata':_0x41efbb,'cursorOffset':_0x5026c1+0x1};if(_0x5026c1===_0x51b3e7){let _0x2dda68=''+_0x431ac1[_0x49eac6(0xd2)][_0x49eac6(0x115)]+_0x431ac1[_0x49eac6(0xd2)]['PARAGRAPH']+_0x431ac1['DataStreamTreeTokenType'][_0x49eac6(0x90)];return _0x30977d(_0x5c26a5,_0x5026c1,_0x2dda68,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':_0x28bfe0(!0x0,!0x0,_0x1b777e)}],'blockRanges':[{'blockId':_0x2f109f,'blockType':_0x282176,'startIndex':0x0,'endIndex':_0x2dda68[_0x49eac6(0xe3)]-0x1}]}),{'nextDocumentData':_0x32bca9,'nextMetadata':_0x41efbb,'cursorOffset':_0x5026c1+0x1};}return _0x30977d(_0x5c26a5,_0x51b3e7,_0x431ac1[_0x49eac6(0xd2)]['BLOCK_END']),_0x30977d(_0x5c26a5,_0x5026c1,_0x431ac1['DataStreamTreeTokenType'][_0x49eac6(0x115)]),_0x1bda46(_0x5c26a5,_0x5026c1,_0x51b3e7+0x1,_0x1b777e),_0x5c26a5[_0x49eac6(0xb4)]=[...(_0x58a822=_0x5c26a5[_0x49eac6(0xb4)])==null?[]:_0x58a822,{'blockId':_0x2f109f,'blockType':_0x282176,'startIndex':_0x5026c1,'endIndex':_0x51b3e7+0x1}][_0x49eac6(0x9f)]((_0x23723d,_0x164e4a)=>_0x23723d[_0x49eac6(0xf9)]-_0x164e4a[_0x49eac6(0xf9)]),{'nextDocumentData':_0x32bca9,'nextMetadata':_0x41efbb,'cursorOffset':_0x5026c1+0x1};}function _0x5bc73d(_0x442078,_0x2558da,_0x4c5d22){const _0x11797f=_0x7b5c2c;var _0x2f486a;((_0x2f486a=_0x442078['paragraphs'])==null?[]:_0x2f486a)['filter'](_0x3670d8=>_0x3670d8['startIndex']>_0x2558da&&_0x3670d8[_0x11797f(0xf9)]<_0x4c5d22)[_0x11797f(0xe7)](_0x167b71=>{const _0xa8bda=_0x11797f;var _0xe0db93;let _0x42cbe3={...(_0xe0db93=_0x167b71[_0xa8bda(0xbd)])==null?{}:_0xe0db93};delete _0x42cbe3[_0xa8bda(0xf0)],delete _0x42cbe3[_0xa8bda(0x101)],_0x167b71['paragraphStyle']=_0x42cbe3;});}function _0x4864e7(_0x2841e5,_0x590032){const _0x4a3ddf=_0x7b5c2c;return _0x2841e5==null||_0x590032==null||_0x2841e5===_0x590032?null:{'startOffset':Math[_0x4a3ddf(0xa9)](_0x2841e5,_0x590032),'endOffset':Math[_0x4a3ddf(0xbf)](_0x2841e5,_0x590032)};}function _0x490615(_0x4de06e){const _0xbbc9cc=_0x7b5c2c;return{'nextDocumentData':_0x569b5a(_0x4de06e[_0xbbc9cc(0xb3)]),'nextMetadata':_0x33f24f(_0x4de06e[_0xbbc9cc(0xb6)],_0x4de06e[_0xbbc9cc(0xc2)],_0x4de06e[_0xbbc9cc(0xdf)]),'cursorOffset':0x0};}function _0x2387ec(_0x129c99){const _0x4beca6=_0x7b5c2c;var _0xf984eb,_0x5c3d4d;let _0x427d34=_0x569b5a(_0x129c99[_0x4beca6(0xb3)]),_0x1d5c77=_0x27dccd(_0x427d34),_0x43e73b=_0x580889(_0x1d5c77,_0x129c99[_0x4beca6(0xfb)]);if(!_0x43e73b)return null;let _0x5a046f=_0x89ea5a(_0x1d5c77,_0x43e73b),_0xdfe34d=_0x5a046f[_0x5a046f[_0x4beca6(0xe3)]-0x1];if(!_0xdfe34d||!_0x4e6ab6(_0x1d5c77,_0x43e73b,_0xdfe34d)||_0x129c99[_0x4beca6(0xfb)]<_0xdfe34d[_0x4beca6(0xf9)])return null;let _0x26cce8=_0x2a7bc4(_0x1d5c77,_0x43e73b,_0xdfe34d);if(_0x26cce8>=_0x43e73b[_0x4beca6(0xa2)])return null;_0x1d5c77[_0x4beca6(0xf4)]=[_0x1d5c77[_0x4beca6(0xf4)][_0x4beca6(0xb5)](0x0,_0x26cce8),_0x431ac1[_0x4beca6(0xd2)][_0x4beca6(0x90)],_0x1d5c77[_0x4beca6(0xf4)]['slice'](_0x26cce8,_0x43e73b['endIndex']),_0x1d5c77['dataStream']['slice'](_0x43e73b[_0x4beca6(0xa2)]+0x1)][_0x4beca6(0x10a)](''),_0x2c61e7(_0x1d5c77[_0x4beca6(0x10f)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x2c61e7(_0x1d5c77['sectionBreaks'],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x2c61e7(_0x1d5c77[_0x4beca6(0xc5)],_0x26cce8,_0x43e73b['endIndex'],0x1),_0x1add7e(_0x1d5c77[_0x4beca6(0xdc)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x47c34d(_0x1d5c77[_0x4beca6(0xc3)],_0x26cce8,_0x43e73b['endIndex'],0x1),_0x47c34d(_0x1d5c77[_0x4beca6(0xdb)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x47c34d(_0x1d5c77[_0x4beca6(0x94)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),(_0xf984eb=_0x1d5c77[_0x4beca6(0xb4)])==null||_0xf984eb[_0x4beca6(0xe7)](_0xefcc9c=>{const _0x518b82=_0x4beca6;_0xefcc9c===_0x43e73b||_0xefcc9c[_0x518b82(0xc2)]===_0x43e73b[_0x518b82(0xc2)]?_0xefcc9c[_0x518b82(0xa2)]=_0x26cce8:_0xefcc9c[_0x518b82(0xf9)]>=_0x26cce8&&_0xefcc9c[_0x518b82(0xf9)]<_0x43e73b[_0x518b82(0xa2)]&&(_0xefcc9c[_0x518b82(0xf9)]+=0x1,_0xefcc9c[_0x518b82(0xa2)]+=0x1);});let _0x32a514=_0x89ea5a(_0x1d5c77,{..._0x43e73b,'endIndex':_0x26cce8});_0x32a514[_0x4beca6(0xe7)]((_0x367b46,_0x2a4fd8)=>{const _0x1a2a59=_0x4beca6;var _0x33ce3b;_0x367b46[_0x1a2a59(0xbd)]={...(_0x33ce3b=_0x367b46[_0x1a2a59(0xbd)])==null?{}:_0x33ce3b,..._0x28bfe0(_0x2a4fd8===0x0,_0x2a4fd8===_0x32a514['length']-0x1)};});let _0x1f38da=(_0x5c3d4d=_0x1d5c77['paragraphs'])==null?void 0x0:_0x5c3d4d[_0x4beca6(0xb0)](_0x1478ca=>_0x1478ca[_0x4beca6(0xf9)]===_0x26cce8+0x1);return _0x1f38da&&(_0x1f38da[_0x4beca6(0xbd)]=_0x5b7ecf(_0x1f38da[_0x4beca6(0xbd)])),{'nextDocumentData':_0x427d34,'cursorOffset':_0x26cce8+0x1};}function _0x3c5a6c(_0x10ed62){const _0x42069c=_0x7b5c2c;let _0x29ed06=_0x569b5a(_0x10ed62['documentData']),_0x5f4c8c=_0x27dccd(_0x29ed06),_0x4d78d3=_0x580889(_0x5f4c8c,_0x10ed62['cursorOffset']);return _0x4d78d3&&_0x158475(_0x29ed06,_0x5f4c8c,_0x4d78d3,_0x10ed62[_0x42069c(0xfb)],_0x10ed62[_0x42069c(0x8f)])||null;}function _0x158475(_0x5a98ea,_0x455563,_0x4e1bbc,_0x8e1363,_0x4b98d5){const _0x1822b3=_0x7b5c2c;let _0x180caf=_0x4c59fa(_0x455563,_0x4e1bbc,_0x8e1363,_0x4b98d5);if(!_0x180caf)return null;let _0x53559a=_0x180caf[_0x1822b3(0x9e)]-0x1;return _0x37dcaf(_0x455563,_0x180caf[_0x1822b3(0xf7)][_0x1822b3(0xf9)],_0x180caf[_0x1822b3(0xf7)]['startIndex']+0x1),{'nextDocumentData':_0x5a98ea,'cursorOffset':_0x53559a};}function _0x580889(_0x43641f,_0x221378){const _0x3fc500=_0x7b5c2c;var _0x216650;return(_0x216650=_0x43641f[_0x3fc500(0xb4)])==null?void 0x0:_0x216650[_0x3fc500(0xb0)](_0x265868=>{const _0x260e20=_0x3fc500;let _0x18992d=_0x2f6ccd(_0x43641f,_0x265868);return _0x265868[_0x260e20(0xd7)]===_0x260e20(0x10b)&&_0x265868['startIndex']<=_0x221378&&_0x221378<=_0x18992d+0x2;});}function _0x28bfe0(_0x4e1cf3,_0x3eec0f,_0x4ac6bc=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x4e1cf3&&_0x4ac6bc?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x1f74c6,'fs':0xc}};}function _0x1bda46(_0x337f6c,_0x5dd254,_0x1993a7,_0x592aee=!0x1){const _0x48a810=_0x7b5c2c;var _0x39d9d5;let _0x260ea3=((_0x39d9d5=_0x337f6c[_0x48a810(0x10f)])==null?[]:_0x39d9d5)['filter'](_0x4e409a=>_0x4e409a['startIndex']>_0x5dd254&&_0x4e409a[_0x48a810(0xf9)]<_0x1993a7);_0x260ea3[_0x48a810(0xe7)]((_0x19eca7,_0x1f78ed)=>{const _0x55d002=_0x48a810;var _0x26f38e;_0x19eca7['paragraphStyle']={...(_0x26f38e=_0x19eca7[_0x55d002(0xbd)])==null?{}:_0x26f38e,..._0x28bfe0(_0x1f78ed===0x0,_0x1f78ed===_0x260ea3[_0x55d002(0xe3)]-0x1,_0x592aee)};});}function _0x5b7ecf(_0x106c6f){const _0x4fc95a=_0x7b5c2c;var _0x23ffdf,_0x50e852;let _0x1b6d3d={..._0x106c6f==null?{}:_0x106c6f};return delete _0x1b6d3d[_0x4fc95a(0x99)],delete _0x1b6d3d[_0x4fc95a(0xcc)],delete _0x1b6d3d[_0x4fc95a(0xf0)],delete _0x1b6d3d[_0x4fc95a(0x101)],((_0x23ffdf=_0x1b6d3d['textStyle'])==null?void 0x0:_0x23ffdf['ff'])===_0x1f74c6&&((_0x50e852=_0x1b6d3d[_0x4fc95a(0x103)])==null?void 0x0:_0x50e852['fs'])===0xc&&delete _0x1b6d3d[_0x4fc95a(0x103)],_0x1b6d3d;}function _0x89ea5a(_0x1dd078,_0x5029b6){const _0x54c455=_0x7b5c2c;var _0x3ab0c8;let _0x19c6af=_0x2f6ccd(_0x1dd078,_0x5029b6);return((_0x3ab0c8=_0x1dd078[_0x54c455(0x10f)])==null?[]:_0x3ab0c8)['filter'](_0x1ee4e4=>_0x1ee4e4['startIndex']>_0x5029b6['startIndex']&&_0x1ee4e4['startIndex']<_0x19c6af);}function _0x4e6ab6(_0x2d6aef,_0x5947b5,_0x3c1ad5){const _0x170299=_0x7b5c2c;let _0x1ceb12=_0x2a7bc4(_0x2d6aef,_0x5947b5,_0x3c1ad5),_0x29a7bf=_0x2d6aef[_0x170299(0xf4)][_0x170299(0xb5)](_0x1ceb12,_0x3c1ad5[_0x170299(0xf9)]);return Array[_0x170299(0xeb)](_0x29a7bf)[_0x170299(0x114)](_0x211798=>_0x211798===_0x431ac1[_0x170299(0xd2)]['BLOCK_START']||_0x211798===_0x431ac1[_0x170299(0xd2)][_0x170299(0x90)]);}function _0x569b5a(_0x311990){const _0x57a49f=_0x7b5c2c;return _0x431ac1['Tools'][_0x57a49f(0xb7)](_0x311990);}function _0x27dccd(_0x572553){const _0x35482e=_0x7b5c2c;if(!_0x572553[_0x35482e(0xe5)])throw Error(_0x35482e(0xb1));return _0x572553[_0x35482e(0xe5)];}function _0x5c4291(_0x465d8c,_0x2ef549,_0x4925b2){const _0x5b300e=_0x7b5c2c;if(_0x2ef549==null||_0x4925b2==null){let _0x1da9e4=_0x4ff4b6(_0x465d8c);return{'startOffset':_0x1da9e4,'endOffset':_0x1da9e4};}let _0x1e6d2a=Math[_0x5b300e(0xa9)](_0x2ef549,_0x4925b2),_0x2296d2=Math[_0x5b300e(0xbf)](_0x2ef549,_0x4925b2);return _0x1e6d2a===_0x2296d2?{'startOffset':_0x1e6d2a,'endOffset':_0x1e6d2a}:_0x41a556(_0x465d8c,_0x1e6d2a,_0x2296d2);}function _0x4ff4b6(_0x5cbfca){const _0x900a32=_0x7b5c2c;return _0x5cbfca[_0x900a32(0xf4)]['endsWith'](_0x431ac1[_0x900a32(0xd2)][_0x900a32(0xcf)])?Math[_0x900a32(0xbf)](0x0,_0x5cbfca[_0x900a32(0xf4)]['length']-0x1):_0x5cbfca[_0x900a32(0xf4)][_0x900a32(0xe3)];}function _0x291260(_0x205ee9,_0x5a8e92,_0x2268c2){const _0x5ce981=_0x7b5c2c;var _0xee6cf1;let _0x225983=Math[_0x5ce981(0xa9)](_0x5a8e92,_0x2268c2),_0x3988d9=Math['max'](_0x5a8e92,_0x2268c2);return!!((_0xee6cf1=_0x205ee9[_0x5ce981(0xc3)])!=null&&_0xee6cf1[_0x5ce981(0x92)](_0x5384ac=>_0x225983>_0x5384ac[_0x5ce981(0xf9)]&&_0x225983<_0x5384ac[_0x5ce981(0xa2)]||_0x3988d9>_0x5384ac[_0x5ce981(0xf9)]&&_0x3988d9<_0x5384ac[_0x5ce981(0xa2)]||_0x225983<=_0x5384ac[_0x5ce981(0xf9)]&&_0x3988d9>=_0x5384ac[_0x5ce981(0xa2)]));}function _0x41a556(_0x2b2a06,_0x1d1cce,_0x2b4f47){const _0x3a9d66=_0x7b5c2c;var _0x1a1cae,_0x18cbbb;let _0x50ab1c=[...(_0x1a1cae=_0x2b2a06[_0x3a9d66(0x10f)])==null?[]:_0x1a1cae][_0x3a9d66(0x9f)]((_0x573113,_0x168bd3)=>_0x573113['startIndex']-_0x168bd3[_0x3a9d66(0xf9)]),_0x416cb9=_0x50ab1c['find']((_0x13fe76,_0x268231)=>(_0x268231===0x0?0x0:_0x50ab1c[_0x268231-0x1][_0x3a9d66(0xf9)]+0x1)<=_0x1d1cce&&_0x1d1cce<=_0x13fe76[_0x3a9d66(0xf9)]),_0x443a9d=(_0x18cbbb=_0x50ab1c[_0x3a9d66(0xb0)](_0x1ed73e=>_0x1ed73e['startIndex']>=_0x2b4f47-0x1))==null?_0x50ab1c[_0x50ab1c[_0x3a9d66(0xe3)]-0x1]:_0x18cbbb;return{'startOffset':_0x416cb9?_0x3ff899(_0x50ab1c,_0x416cb9):_0x1d1cce,'endOffset':_0x443a9d?_0x443a9d['startIndex']+0x1:_0x2b4f47};}function _0x3ff899(_0x3db912,_0x14f361){const _0x3a10be=_0x7b5c2c;let _0x29358f=_0x3db912[_0x3a10be(0x113)](_0x14f361);return _0x29358f>0x0?_0x3db912[_0x29358f-0x1][_0x3a10be(0xf9)]+0x1:0x0;}function _0x2a7bc4(_0x3d18b5,_0x4d7e52,_0x3eae08){const _0x22590a=_0x7b5c2c;var _0x42ecfb;return Math[_0x22590a(0xbf)](_0x3ff899((_0x42ecfb=_0x3d18b5[_0x22590a(0x10f)])==null?[]:_0x42ecfb,_0x3eae08),_0x4d7e52[_0x22590a(0xf9)]+0x1);}function _0x2f6ccd(_0x2c5c2f,_0x4aa135){const _0x596c05=_0x7b5c2c;return _0x2c5c2f['dataStream'][_0x4aa135[_0x596c05(0xa2)]]===_0x431ac1['DataStreamTreeTokenType'][_0x596c05(0x90)]?_0x4aa135[_0x596c05(0xa2)]:_0x2c5c2f[_0x596c05(0xf4)][_0x4aa135[_0x596c05(0xa2)]+0x1]===_0x431ac1[_0x596c05(0xd2)][_0x596c05(0x90)]?_0x4aa135[_0x596c05(0xa2)]+0x1:_0x4aa135[_0x596c05(0xa2)];}function _0x4c59fa(_0x330582,_0x3955ec,_0x3bb328,_0x5c75ab){const _0x329e57=_0x7b5c2c;var _0x3661b6,_0x3d0c79;let _0x5d6880=_0x2f6ccd(_0x330582,_0x3955ec),_0x81a67b=((_0x3661b6=_0x330582[_0x329e57(0x10f)])==null?[]:_0x3661b6)[_0x329e57(0xb0)](_0x24da3a=>_0x24da3a['startIndex']===_0x5d6880+0x1);if(!_0x81a67b||_0x5c75ab!=null&&_0x81a67b['startIndex']!==_0x5c75ab||_0x3bb328<_0x5d6880||_0x3bb328>_0x81a67b['startIndex']+0x1||_0x330582[_0x329e57(0xf4)][_0x81a67b[_0x329e57(0xf9)]]!==_0x431ac1[_0x329e57(0xd2)]['PARAGRAPH'])return null;let _0x47e0df=_0x3ff899((_0x3d0c79=_0x330582[_0x329e57(0x10f)])==null?[]:_0x3d0c79,_0x81a67b),_0x3833cc=_0x330582[_0x329e57(0xf4)][_0x329e57(0xb5)](_0x47e0df,_0x81a67b[_0x329e57(0xf9)]);return Array['from'](_0x3833cc)[_0x329e57(0x114)](_0x4d0be9=>_0x4d0be9===_0x431ac1[_0x329e57(0xd2)][_0x329e57(0x90)])?{'paragraph':_0x81a67b,'endTokenOffset':_0x5d6880}:null;}function _0x30977d(_0x5b88b0,_0x2e5cfe,_0x42f996,_0x500d94={}){const _0x49dbd3=_0x7b5c2c;var _0x43cd2a,_0x10bbd8;if(_0x42f996){if(_0x5b88b0['dataStream']=''+_0x5b88b0[_0x49dbd3(0xf4)]['slice'](0x0,_0x2e5cfe)+_0x42f996+_0x5b88b0[_0x49dbd3(0xf4)][_0x49dbd3(0xb5)](_0x2e5cfe),_0x1a68f1(_0x5b88b0,_0x2e5cfe,_0x42f996[_0x49dbd3(0xe3)]),(_0x43cd2a=_0x500d94[_0x49dbd3(0x10f)])!=null&&_0x43cd2a[_0x49dbd3(0xe3)]){var _0x13be4b;_0x5b88b0['paragraphs']=[...(_0x13be4b=_0x5b88b0[_0x49dbd3(0x10f)])==null?[]:_0x13be4b,..._0x500d94['paragraphs'][_0x49dbd3(0x110)](_0x55f317=>({..._0x55f317,'startIndex':_0x55f317['startIndex']+_0x2e5cfe}))][_0x49dbd3(0x9f)]((_0x33bdbb,_0x55db3f)=>_0x33bdbb[_0x49dbd3(0xf9)]-_0x55db3f[_0x49dbd3(0xf9)]);}if((_0x10bbd8=_0x500d94[_0x49dbd3(0xb4)])!=null&&_0x10bbd8['length']){var _0x148c2b;_0x5b88b0[_0x49dbd3(0xb4)]=[...(_0x148c2b=_0x5b88b0[_0x49dbd3(0xb4)])==null?[]:_0x148c2b,..._0x500d94[_0x49dbd3(0xb4)][_0x49dbd3(0x110)](_0x1f1292=>({..._0x1f1292,'startIndex':_0x1f1292[_0x49dbd3(0xf9)]+_0x2e5cfe,'endIndex':_0x1f1292[_0x49dbd3(0xa2)]+_0x2e5cfe}))][_0x49dbd3(0x9f)]((_0x3f277f,_0x54e0c6)=>_0x3f277f[_0x49dbd3(0xf9)]-_0x54e0c6[_0x49dbd3(0xf9)]);}}}function _0x37dcaf(_0x2ed34c,_0x3ed65f,_0x312810){const _0x2a07c9=_0x7b5c2c;let _0x4e1fe4=_0x312810-_0x3ed65f;_0x2ed34c[_0x2a07c9(0xf4)]=''+_0x2ed34c[_0x2a07c9(0xf4)]['slice'](0x0,_0x3ed65f)+_0x2ed34c['dataStream'][_0x2a07c9(0xb5)](_0x312810),_0x36b131(_0x2ed34c,_0x3ed65f,_0x4e1fe4);}function _0x1a68f1(_0x1a4151,_0x6313eb,_0x49894a){const _0x2d38b9=_0x7b5c2c;_0x1a4151['paragraphs']=_0x511fd2(_0x1a4151[_0x2d38b9(0x10f)],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xdd)]=_0x511fd2(_0x1a4151['sectionBreaks'],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xc5)]=_0x511fd2(_0x1a4151[_0x2d38b9(0xc5)],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xdc)]=_0x4589c0(_0x1a4151[_0x2d38b9(0xdc)],_0x6313eb,_0x49894a),_0x1a4151['tables']=_0x537bc6(_0x1a4151['tables'],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xdb)]=_0x537bc6(_0x1a4151[_0x2d38b9(0xdb)],_0x6313eb,_0x49894a),_0x1a4151['customDecorations']=_0x537bc6(_0x1a4151[_0x2d38b9(0x94)],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xb4)]=_0x537bc6(_0x1a4151[_0x2d38b9(0xb4)],_0x6313eb,_0x49894a);}function _0x36b131(_0x29a1df,_0x2d5888,_0x1bde94){const _0x58ed8c=_0x7b5c2c;var _0x28ce09,_0x2ab039;_0x29a1df['paragraphs']=_0x5ba6d6(_0x29a1df['paragraphs'],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xdd)]=_0x5ba6d6(_0x29a1df[_0x58ed8c(0xdd)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xc5)]=_0x5ba6d6(_0x29a1df[_0x58ed8c(0xc5)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xdc)]=(_0x28ce09=_0xda3dfe((_0x2ab039=_0x29a1df[_0x58ed8c(0xdc)])==null?void 0x0:_0x2ab039[_0x58ed8c(0x110)](_0x158ac8=>({..._0x158ac8,'startIndex':_0x158ac8['st'],'endIndex':_0x158ac8['ed']})),_0x2d5888,_0x1bde94))==null?void 0x0:_0x28ce09[_0x58ed8c(0x110)](_0x5c43e2=>{let {startIndex:_0x3e22ea,endIndex:_0x22eb64,..._0x2dd328}=_0x5c43e2;return{..._0x2dd328,'st':_0x3e22ea,'ed':_0x22eb64};}),_0x29a1df[_0x58ed8c(0xc3)]=_0xda3dfe(_0x29a1df[_0x58ed8c(0xc3)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xdb)]=_0xda3dfe(_0x29a1df['customRanges'],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0x94)]=_0xda3dfe(_0x29a1df[_0x58ed8c(0x94)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xb4)]=_0xda3dfe(_0x29a1df[_0x58ed8c(0xb4)],_0x2d5888,_0x1bde94);}function _0x511fd2(_0x5084f1,_0x26582e,_0x26f9d4){const _0x202ef9=_0x7b5c2c;return _0x5084f1==null?void 0x0:_0x5084f1['map'](_0x237f6f=>_0x237f6f[_0x202ef9(0xf9)]>=_0x26582e?{..._0x237f6f,'startIndex':_0x237f6f['startIndex']+_0x26f9d4}:_0x237f6f);}function _0x5ba6d6(_0x220f48,_0x2834d7,_0x1fd1af){const _0x2a1d00=_0x7b5c2c;let _0x66f269=_0x2834d7+_0x1fd1af;return _0x220f48==null?void 0x0:_0x220f48['map'](_0x1bc725=>_0x1bc725[_0x2a1d00(0xf9)]>=_0x2834d7&&_0x1bc725['startIndex']<_0x66f269?null:_0x1bc725[_0x2a1d00(0xf9)]>=_0x66f269?{..._0x1bc725,'startIndex':_0x1bc725[_0x2a1d00(0xf9)]-_0x1fd1af}:_0x1bc725)[_0x2a1d00(0xff)](_0x21ebee=>_0x21ebee!=null);}function _0x4589c0(_0x56d583,_0x5610c6,_0x5b294c){const _0x4ed553=_0x7b5c2c;return _0x56d583==null?void 0x0:_0x56d583[_0x4ed553(0x110)](_0x541f8e=>_0x541f8e['st']>=_0x5610c6?{..._0x541f8e,'st':_0x541f8e['st']+_0x5b294c,'ed':_0x541f8e['ed']+_0x5b294c}:_0x541f8e['ed']>_0x5610c6?{..._0x541f8e,'ed':_0x541f8e['ed']+_0x5b294c}:_0x541f8e);}function _0x537bc6(_0x4225c1,_0x2960c9,_0x520c2c){const _0x15ed83=_0x7b5c2c;return _0x4225c1==null?void 0x0:_0x4225c1[_0x15ed83(0x110)](_0x15b798=>_0x15b798[_0x15ed83(0xf9)]>=_0x2960c9?{..._0x15b798,'startIndex':_0x15b798[_0x15ed83(0xf9)]+_0x520c2c,'endIndex':_0x15b798[_0x15ed83(0xa2)]+_0x520c2c}:_0x15b798['endIndex']>=_0x2960c9?{..._0x15b798,'endIndex':_0x15b798[_0x15ed83(0xa2)]+_0x520c2c}:_0x15b798);}function _0xda3dfe(_0x2013db,_0x99246a,_0x1f3eb0){const _0x4f3225=_0x7b5c2c;let _0x4e5b0d=_0x99246a+_0x1f3eb0;return _0x2013db==null?void 0x0:_0x2013db[_0x4f3225(0x110)](_0x266793=>_0x266793[_0x4f3225(0xf9)]>=_0x99246a&&_0x266793[_0x4f3225(0xa2)]<_0x4e5b0d?null:_0x266793[_0x4f3225(0xf9)]>=_0x4e5b0d?{..._0x266793,'startIndex':_0x266793['startIndex']-_0x1f3eb0,'endIndex':_0x266793[_0x4f3225(0xa2)]-_0x1f3eb0}:_0x266793[_0x4f3225(0xa2)]>=_0x99246a?{..._0x266793,'startIndex':_0x266793[_0x4f3225(0xf9)]<_0x99246a?_0x266793[_0x4f3225(0xf9)]:_0x99246a,'endIndex':Math[_0x4f3225(0xbf)](_0x99246a,_0x266793[_0x4f3225(0xa2)]-_0x1f3eb0)}:_0x266793)[_0x4f3225(0xff)](_0x52cc18=>_0x52cc18!=null);}function _0x2c61e7(_0x49778d,_0x2bab89,_0x45c950,_0x4c69da){const _0xa85879=_0x7b5c2c;_0x49778d==null||_0x49778d[_0xa85879(0xe7)](_0x57371b=>{const _0x94d6b6=_0xa85879;_0x57371b[_0x94d6b6(0xf9)]>=_0x2bab89&&_0x57371b[_0x94d6b6(0xf9)]<_0x45c950&&(_0x57371b[_0x94d6b6(0xf9)]+=_0x4c69da);});}function _0x1add7e(_0x2d3dc2,_0x3b76da,_0x39ed0e,_0x285587){const _0x314c92=_0x7b5c2c;_0x2d3dc2==null||_0x2d3dc2[_0x314c92(0xe7)](_0x3571f4=>{_0x3571f4['st']>=_0x3b76da&&_0x3571f4['st']<_0x39ed0e?(_0x3571f4['st']+=_0x285587,_0x3571f4['ed']+=_0x285587):_0x3571f4['ed']>_0x3b76da&&_0x3571f4['ed']<_0x39ed0e&&(_0x3571f4['ed']+=_0x285587);});}function _0x47c34d(_0x5513aa,_0x2db617,_0x20515e,_0x20e7a5){_0x5513aa==null||_0x5513aa['forEach'](_0x40bd21=>{const _0x26b935=_0xe374;_0x40bd21['startIndex']>=_0x2db617&&_0x40bd21[_0x26b935(0xf9)]<_0x20515e?(_0x40bd21[_0x26b935(0xf9)]+=_0x20e7a5,_0x40bd21[_0x26b935(0xa2)]+=_0x20e7a5):_0x40bd21[_0x26b935(0xa2)]>_0x2db617&&_0x40bd21['endIndex']<_0x20515e&&(_0x40bd21['endIndex']+=_0x20e7a5);});}function _0x352909(_0x433e10){'@babel/helpers - typeof';return _0x352909=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x21f110){return typeof _0x21f110;}:function(_0x503586){const _0xe45652=_0xe374;return _0x503586&&typeof Symbol==_0xe45652(0xbe)&&_0x503586['constructor']===Symbol&&_0x503586!==Symbol[_0xe45652(0x116)]?_0xe45652(0xa3):typeof _0x503586;},_0x352909(_0x433e10);}function _0x2b6f63(_0x4b5bce,_0x3822e3){const _0x44b7f0=_0x7b5c2c;if(_0x352909(_0x4b5bce)!=_0x44b7f0(0xe6)||!_0x4b5bce)return _0x4b5bce;var _0x4ecab7=_0x4b5bce[Symbol[_0x44b7f0(0xee)]];if(_0x4ecab7!==void 0x0){var _0x3d9444=_0x4ecab7[_0x44b7f0(0xe8)](_0x4b5bce,_0x3822e3||_0x44b7f0(0xc0));if(_0x352909(_0x3d9444)!='object')return _0x3d9444;throw TypeError(_0x44b7f0(0x105));}return(_0x3822e3===_0x44b7f0(0xa1)?String:Number)(_0x4b5bce);}function _0x1a386f(_0x2769ad){const _0x115c80=_0x7b5c2c;var _0x145591=_0x2b6f63(_0x2769ad,_0x115c80(0xa1));return _0x352909(_0x145591)==_0x115c80(0xa3)?_0x145591:_0x145591+'';}function _0x57ce78(_0x776edd,_0x3968e4,_0x20044c){const _0x3852be=_0x7b5c2c;return(_0x3968e4=_0x1a386f(_0x3968e4))in _0x776edd?Object[_0x3852be(0xa8)](_0x776edd,_0x3968e4,{'value':_0x20044c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x776edd[_0x3968e4]=_0x20044c,_0x776edd;}var _0x37eff3=class extends _0x431ac1['Disposable']{constructor(..._0x111eea){const _0x56e907=_0x7b5c2c;super(..._0x111eea),_0x57ce78(this,_0x56e907(0xab),new Map()),_0x57ce78(this,_0x56e907(0xa7),new _0x3ca085[(_0x56e907(0x109))]()),_0x57ce78(this,_0x56e907(0xf2),this['_change$'][_0x56e907(0xc6)]());}[_0x7b5c2c(0xa4)](_0x7f1268,_0x5d6272){const _0x5f4ba7=_0x7b5c2c;return _0x5da300(this[_0x5f4ba7(0xab)][_0x5f4ba7(0xe2)](_0x7f1268))[_0x5f4ba7(0xc4)][_0x5d6272];}['setCodeConfig'](_0x441ea1,_0x14555f,_0x49d209){const _0x40864c=_0x7b5c2c;this[_0x40864c(0xc9)](_0x441ea1,_0x14555f,_0x33f24f(this[_0x40864c(0xab)][_0x40864c(0xe2)](_0x441ea1),_0x14555f,_0x49d209));}['removeCode'](_0x1eef0d,_0x425d96){const _0xa55ff0=_0x7b5c2c;this[_0xa55ff0(0xc9)](_0x1eef0d,_0x425d96,_0x1e0bce(this[_0xa55ff0(0xab)]['get'](_0x1eef0d),_0x425d96));}[_0x7b5c2c(0xfc)](_0x29fa8a){const _0x537759=_0x7b5c2c;return _0x5da300(this['_resources'][_0x537759(0xe2)](_0x29fa8a));}[_0x7b5c2c(0x100)](_0x5a3994,_0x5cccb1){const _0x44d99e=_0x7b5c2c;this[_0x44d99e(0xab)][_0x44d99e(0xd1)](_0x5a3994,_0x5da300(_0x5cccb1)),this[_0x44d99e(0xa7)][_0x44d99e(0xf8)]({'unitId':_0x5a3994});}[_0x7b5c2c(0xc8)](_0xdf6ce9){const _0x141599=_0x7b5c2c;this[_0x141599(0xab)][_0x141599(0xac)](_0xdf6ce9),this['_change$'][_0x141599(0xf8)]({'unitId':_0xdf6ce9});}[_0x7b5c2c(0x96)](){const _0xf98a28=_0x7b5c2c;super[_0xf98a28(0x96)](),this['_resources'][_0xf98a28(0x10c)](),this[_0xf98a28(0xa7)]['complete']();}[_0x7b5c2c(0xc9)](_0x3d2305,_0x3642db,_0x125894){const _0x221baa=_0x7b5c2c;this[_0x221baa(0xab)][_0x221baa(0xd1)](_0x3d2305,_0x125894),this[_0x221baa(0xa7)][_0x221baa(0xf8)]({'unitId':_0x3d2305,'blockId':_0x3642db});}};_0x431ac1[_0x7b5c2c(0xd8)][_0x7b5c2c(0xb2)],_0x431ac1[_0x7b5c2c(0xd8)]['COMMAND'];let _0xa75296={'id':_0x7b5c2c(0x11d),'type':_0x431ac1['CommandType'][_0x7b5c2c(0xb2)],'handler':(_0x8af041,_0x25c212)=>{const _0x15c0a0=_0x7b5c2c;var _0x39da3b,_0x57b301,_0x5e8b75;let _0x273724=_0x1493ec(_0x8af041,_0x25c212==null?void 0x0:_0x25c212[_0x15c0a0(0x119)]);if(!_0x273724)return!0x1;let _0x483c38=_0x1d8dc1(_0x8af041),_0x20483e=_0x4c6273({'blockId':(_0x39da3b=_0x25c212==null?void 0x0:_0x25c212[_0x15c0a0(0xc2)])==null?(0x0,_0x431ac1[_0x15c0a0(0x102)])(0x6):_0x39da3b,'config':_0x25c212==null?void 0x0:_0x25c212['config'],'documentData':_0x273724[_0x15c0a0(0xed)],'endOffset':(_0x57b301=_0x25c212==null?void 0x0:_0x25c212['endOffset'])==null?_0x483c38==null?void 0x0:_0x483c38[_0x15c0a0(0xae)]:_0x57b301,'metadata':_0x273724[_0x15c0a0(0xf5)][_0x15c0a0(0xfc)](_0x273724[_0x15c0a0(0x119)]),'startOffset':(_0x5e8b75=_0x25c212==null?void 0x0:_0x25c212['startOffset'])==null?_0x483c38==null?void 0x0:_0x483c38[_0x15c0a0(0xd0)]:_0x5e8b75}),_0x3b4615=_0x14e91d(_0x273724['commandService'],_0x273724[_0x15c0a0(0x119)],_0x273724[_0x15c0a0(0xed)],_0x20483e[_0x15c0a0(0xf3)],_0x20483e[_0x15c0a0(0xfb)]);return _0x3b4615&&_0x20483e[_0x15c0a0(0xf6)]&&_0x273724['model']['deserialize'](_0x273724[_0x15c0a0(0x119)],_0x20483e[_0x15c0a0(0xf6)]),_0x3b4615;}},_0x572273={'id':'docs-code.command.update','type':_0x431ac1[_0x7b5c2c(0xd8)][_0x7b5c2c(0xb2)],'handler':(_0xea335a,_0x2c65e9)=>{const _0x21e1bd=_0x7b5c2c;if(!_0x2c65e9)return!0x1;let _0x35bdbd=_0x1493ec(_0xea335a,_0x2c65e9['unitId']);if(!_0x35bdbd)return!0x1;let _0x8e0bd2=_0x490615({'blockId':_0x2c65e9[_0x21e1bd(0xc2)],'config':_0x2c65e9['config'],'documentData':_0x35bdbd[_0x21e1bd(0xed)],'metadata':_0x35bdbd[_0x21e1bd(0xf5)][_0x21e1bd(0xfc)](_0x35bdbd['unitId'])});return _0x8e0bd2[_0x21e1bd(0xf6)]&&_0x35bdbd[_0x21e1bd(0xf5)][_0x21e1bd(0x100)](_0x35bdbd[_0x21e1bd(0x119)],_0x8e0bd2['nextMetadata']),!0x0;}},_0x429f0a={'id':_0x7b5c2c(0x93),'type':_0x431ac1[_0x7b5c2c(0xd8)][_0x7b5c2c(0xb2)],'handler':(_0x24f010,_0x3049d6)=>{const _0x491e14=_0x7b5c2c;var _0xe5838,_0x447f35;let _0x5a7eab=_0x1493ec(_0x24f010,_0x3049d6==null?void 0x0:_0x3049d6['unitId']);if(!_0x5a7eab)return!0x1;let _0x3bc765=(_0xe5838=_0x3049d6==null?void 0x0:_0x3049d6[_0x491e14(0xfb)])==null?(_0x447f35=_0x1d8dc1(_0x24f010))==null?void 0x0:_0x447f35[_0x491e14(0xd0)]:_0xe5838;if(_0x3bc765==null)return!0x1;let _0x4329fb=_0x2387ec({'cursorOffset':_0x3bc765,'documentData':_0x5a7eab[_0x491e14(0xed)]});return _0x4329fb?_0x14e91d(_0x5a7eab['commandService'],_0x5a7eab[_0x491e14(0x119)],_0x5a7eab[_0x491e14(0xed)],_0x4329fb[_0x491e14(0xf3)],_0x4329fb[_0x491e14(0xfb)]):!0x1;}},_0x18928f={'id':_0x7b5c2c(0x11e),'type':_0x431ac1['CommandType'][_0x7b5c2c(0xb2)],'handler':(_0x3e1399,_0x1f29e3)=>{const _0x4af502=_0x7b5c2c;var _0x115726,_0x4ce43d;let _0x431581=_0x1493ec(_0x3e1399,_0x1f29e3==null?void 0x0:_0x1f29e3[_0x4af502(0x119)]);if(!_0x431581)return!0x1;let _0x21dcf1=(_0x115726=_0x1f29e3==null?void 0x0:_0x1f29e3[_0x4af502(0xfb)])==null?(_0x4ce43d=_0x1d8dc1(_0x3e1399))==null?void 0x0:_0x4ce43d[_0x4af502(0xd0)]:_0x115726;if(_0x21dcf1==null)return!0x1;let _0x4a0f80=_0x3c5a6c({'cursorOffset':_0x21dcf1,'documentData':_0x431581[_0x4af502(0xed)],'paragraphStartIndex':_0x1f29e3==null?void 0x0:_0x1f29e3[_0x4af502(0x8f)]});return _0x4a0f80?_0x14e91d(_0x431581['commandService'],_0x431581[_0x4af502(0x119)],_0x431581['previousDocumentData'],_0x4a0f80[_0x4af502(0xf3)],_0x4a0f80['cursorOffset']):!0x1;}};function _0x1493ec(_0x4a57f5,_0x4e644d){const _0x23b13a=_0x7b5c2c;let _0x3a39fc=_0x4a57f5[_0x23b13a(0xe2)](_0x431ac1['IUniverInstanceService']),_0x36e4b6=_0x4e644d?_0x3a39fc[_0x23b13a(0x118)](_0x4e644d):_0x3a39fc['getCurrentUnitOfType'](_0x431ac1[_0x23b13a(0x117)]['UNIVER_DOC']);return _0x36e4b6?{'commandService':_0x4a57f5[_0x23b13a(0xe2)](_0x431ac1[_0x23b13a(0xe0)]),'model':_0x4a57f5[_0x23b13a(0xe2)](_0x37eff3),'previousDocumentData':_0x36e4b6[_0x23b13a(0xba)](),'unitId':_0x36e4b6[_0x23b13a(0xde)]()}:null;}function _0x1d8dc1(_0xf34ffa){const _0x403dd2=_0x7b5c2c;var _0x33bef4;return(_0x33bef4=_0xf34ffa[_0x403dd2(0xe2)](_0x378e18[_0x403dd2(0x107)])[_0x403dd2(0xfe)]())==null?void 0x0:_0x33bef4[0x0];}function _0x283303(_0x59a33e,_0x3690dd){const _0x5f27c9=_0x7b5c2c;var _0x1c7610,_0xc19c8f,_0x170dc2,_0x2a1055,_0x1da183,_0x3cf7dd,_0x4d9879,_0x55d4a6,_0x496938,_0x34de3b,_0x457708,_0x4e7cb0,_0x4ddf47,_0x1dbfaf,_0x10fbe7,_0x4967a3,_0x7639bc,_0x892296;let _0x5b365d=_0x431ac1[_0x5f27c9(0x111)][_0x5f27c9(0xe9)]();return[_0x27f077(_0x5b365d,['body','dataStream'],(_0x1c7610=_0x59a33e['body'])==null?void 0x0:_0x1c7610[_0x5f27c9(0xf4)],(_0xc19c8f=_0x3690dd['body'])==null?void 0x0:_0xc19c8f['dataStream']),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),'paragraphs'],(_0x170dc2=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x170dc2['paragraphs'],(_0x2a1055=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x2a1055['paragraphs']),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),_0x5f27c9(0xdd)],(_0x1da183=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x1da183[_0x5f27c9(0xdd)],(_0x3cf7dd=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x3cf7dd[_0x5f27c9(0xdd)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),_0x5f27c9(0xdc)],(_0x4d9879=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x4d9879[_0x5f27c9(0xdc)],(_0x55d4a6=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x55d4a6[_0x5f27c9(0xdc)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),_0x5f27c9(0xc5)],(_0x496938=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x496938[_0x5f27c9(0xc5)],(_0x34de3b=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x34de3b[_0x5f27c9(0xc5)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),'customRanges'],(_0x457708=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x457708[_0x5f27c9(0xdb)],(_0x4e7cb0=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x4e7cb0[_0x5f27c9(0xdb)]),_0x27f077(_0x5b365d,['body',_0x5f27c9(0x94)],(_0x4ddf47=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x4ddf47['customDecorations'],(_0x1dbfaf=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x1dbfaf[_0x5f27c9(0x94)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),'tables'],(_0x10fbe7=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x10fbe7[_0x5f27c9(0xc3)],(_0x4967a3=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x4967a3[_0x5f27c9(0xc3)]),_0x27f077(_0x5b365d,['body',_0x5f27c9(0xb4)],(_0x7639bc=_0x59a33e['body'])==null?void 0x0:_0x7639bc['blockRanges'],(_0x892296=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x892296[_0x5f27c9(0xb4)])][_0x5f27c9(0xff)](Boolean)[_0x5f27c9(0xf1)]((_0x2ff8b7,_0x41e785)=>_0x431ac1[_0x5f27c9(0x111)][_0x5f27c9(0xec)](_0x2ff8b7,_0x41e785),null);}function _0x27f077(_0x8991c,_0x34c4b3,_0x2b0ae7,_0xd9f6f){const _0x3944af=_0x7b5c2c;return _0x431ac1[_0x3944af(0x120)][_0x3944af(0xa5)](_0x2b0ae7,_0xd9f6f)?null:_0x8991c[_0x3944af(0x112)](_0x34c4b3,_0x2b0ae7,_0xd9f6f);}function _0x14e91d(_0x2a4f19,_0x494272,_0x4fc767,_0x2a863b,_0x555eec){const _0x4c4630=_0x7b5c2c;let _0x18f767=_0x283303(_0x4fc767,_0x2a863b);return _0x18f767?!!_0x2a4f19[_0x4c4630(0xef)](_0x378e18['RichTextEditingMutation']['id'],{'unitId':_0x494272,'actions':_0x18f767,'textRanges':[{'startOffset':_0x555eec,'endOffset':_0x555eec,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var _0x26408=class{constructor(_0x53fc14){const _0x35408b=_0x7b5c2c;this[_0x35408b(0xce)]=_0x53fc14;}[_0x7b5c2c(0xe1)](){const _0x34d6d3=_0x7b5c2c;return this[_0x34d6d3(0xce)][_0x34d6d3(0xc2)];}[_0x7b5c2c(0xea)](){const _0x591abc=_0x7b5c2c;let _0x58d1fa=this[_0x591abc(0x10e)]();return _0x58d1fa?{'blockId':_0x58d1fa[_0x591abc(0xc2)],'endIndex':_0x58d1fa[_0x591abc(0xa2)],'startIndex':_0x58d1fa[_0x591abc(0xf9)]}:null;}['getText'](){const _0x2ddf3a=_0x7b5c2c;var _0xff4b8e;let _0x22bd03=this['_getBlockRange'](),_0x35b83d=(_0xff4b8e=this[_0x2ddf3a(0xce)]['getDocumentData']()[_0x2ddf3a(0xe5)])==null?void 0x0:_0xff4b8e[_0x2ddf3a(0xf4)];return!_0x22bd03||!_0x35b83d?'':_0x1ab760(_0x35b83d[_0x2ddf3a(0xb5)](_0x22bd03[_0x2ddf3a(0xf9)]+0x1,_0x22bd03[_0x2ddf3a(0xa2)]));}[_0x7b5c2c(0xbb)](){const _0x3a792e=_0x7b5c2c;let _0x39a9b0=this['getRange']();return _0x39a9b0?{..._0x39a9b0,'config':this[_0x3a792e(0x98)](),'text':this[_0x3a792e(0xfd)](),'type':_0x3a792e(0x10b)}:null;}['getConfig'](){const _0x58e705=_0x7b5c2c;var _0x36250d;return _0xe71c91((_0x36250d=this[_0x58e705(0xce)]['model'])==null?void 0x0:_0x36250d['getCodeConfig'](this[_0x58e705(0xce)][_0x58e705(0x119)],this[_0x58e705(0xce)][_0x58e705(0xc2)]));}[_0x7b5c2c(0x9d)](_0x4f3b8f){const _0x2aa809=_0x7b5c2c;var _0x1c8fa7;return!!((_0x1c8fa7=this[_0x2aa809(0xce)][_0x2aa809(0x122)])!=null&&_0x1c8fa7[_0x2aa809(0xef)](_0x572273['id'],{'blockId':this[_0x2aa809(0xce)]['blockId'],'config':_0x4f3b8f[_0x2aa809(0xdf)],'unitId':this[_0x2aa809(0xce)][_0x2aa809(0x119)]}));}['exit'](_0x2547fc){const _0x214cfd=_0x7b5c2c;var _0x3ee1bc;return!!((_0x3ee1bc=this[_0x214cfd(0xce)][_0x214cfd(0x122)])!=null&&_0x3ee1bc[_0x214cfd(0xef)](_0x429f0a['id'],{'cursorOffset':_0x2547fc,'unitId':this[_0x214cfd(0xce)][_0x214cfd(0x119)]}));}[_0x7b5c2c(0xbc)](_0x53c7c8={}){const _0x37b1a0=_0x7b5c2c;var _0x2ab6a3;return!!((_0x2ab6a3=this[_0x37b1a0(0xce)][_0x37b1a0(0x122)])!=null&&_0x2ab6a3[_0x37b1a0(0xef)](_0x18928f['id'],{..._0x53c7c8,'unitId':this[_0x37b1a0(0xce)][_0x37b1a0(0x119)]}));}[_0x7b5c2c(0x10e)](){const _0x18063f=_0x7b5c2c;var _0x406fe9;return(_0x406fe9=this['_runtime'][_0x18063f(0x91)]()[_0x18063f(0xe5)])==null||(_0x406fe9=_0x406fe9['blockRanges'])==null?void 0x0:_0x406fe9[_0x18063f(0xb0)](_0x2dd78c=>_0x2dd78c['blockId']===this['_runtime'][_0x18063f(0xc2)]&&_0x2dd78c[_0x18063f(0xd7)]==='code');}};function _0x1ab760(_0x5e3e74){const _0x560603=_0x7b5c2c;return Array[_0x560603(0xeb)](_0x5e3e74)[_0x560603(0x110)](_0x26ef0b=>_0x26ef0b===_0x431ac1[_0x560603(0xd2)]['PARAGRAPH']?'\x0a':_0x26ef0b)['filter'](_0x45f5a8=>_0x45f5a8!==_0x431ac1[_0x560603(0xd2)]['BLOCK_START']&&_0x45f5a8!==_0x431ac1[_0x560603(0xd2)][_0x560603(0x90)]&&_0x45f5a8!==_0x431ac1[_0x560603(0xd2)]['SECTION_BREAK'])[_0x560603(0x10a)]('')[_0x560603(0x11c)](/\n$/,'');}Object[_0x7b5c2c(0xaa)](_0x219e08[_0x7b5c2c(0x121)][_0x7b5c2c(0x116)],{'getCodes'(){const _0x2d8909=_0x7b5c2c;var _0x5e57da,_0x5ac982;return(_0x5e57da=(_0x5ac982=this[_0x2d8909(0xba)]()[_0x2d8909(0xe5)])==null||(_0x5ac982=_0x5ac982[_0x2d8909(0xb4)])==null?void 0x0:_0x5ac982[_0x2d8909(0xff)](_0x23ee2b=>_0x23ee2b['blockType']===_0x2d8909(0x10b))[_0x2d8909(0x110)](_0x3b6449=>_0x49d969(this,_0x3b6449[_0x2d8909(0xc2)])))==null?[]:_0x5e57da;},'getCode'(_0x36d019){const _0x3b4e5d=_0x7b5c2c;var _0x222059;return!((_0x222059=this['getSnapshot']()[_0x3b4e5d(0xe5)])==null||(_0x222059=_0x222059[_0x3b4e5d(0xb4)])==null)&&_0x222059[_0x3b4e5d(0x92)](_0x50cbeb=>_0x50cbeb[_0x3b4e5d(0xc2)]===_0x36d019&&_0x50cbeb[_0x3b4e5d(0xd7)]===_0x3b4e5d(0x10b))?_0x49d969(this,_0x36d019):null;},'getCodeAt'(_0x30411e){const _0x17af56=_0x7b5c2c;var _0x10d0fc;let _0x4f4d89=(_0x10d0fc=this[_0x17af56(0xba)]()[_0x17af56(0xe5)])==null||(_0x10d0fc=_0x10d0fc[_0x17af56(0xb4)])==null||(_0x10d0fc=_0x10d0fc[_0x17af56(0xb0)](_0x5aeda3=>_0x5aeda3[_0x17af56(0xd7)]===_0x17af56(0x10b)&&_0x5aeda3[_0x17af56(0xf9)]<=_0x30411e&&_0x30411e<=_0x5aeda3[_0x17af56(0xa2)]))==null?void 0x0:_0x10d0fc[_0x17af56(0xc2)];return _0x4f4d89?_0x49d969(this,_0x4f4d89):null;},'findCodeByText'(_0x1d9d94){const _0x146994=_0x7b5c2c;var _0x37a8b0;return(_0x37a8b0=this[_0x146994(0xd9)](_0x1d9d94)[0x0])==null?null:_0x37a8b0;},'findCodes'(_0x4440ed){const _0x3a4a68=_0x7b5c2c;let _0x30f94a=typeof _0x4440ed==_0x3a4a68(0xa1)?{'text':_0x4440ed}:_0x4440ed;return this[_0x3a4a68(0x108)]()[_0x3a4a68(0xff)](_0x4d48f0=>!(_0x30f94a[_0x3a4a68(0xc2)]&&_0x4d48f0['getId']()!==_0x30f94a[_0x3a4a68(0xc2)]||_0x30f94a[_0x3a4a68(0xe4)]&&!_0x4d48f0[_0x3a4a68(0xfd)]()[_0x3a4a68(0xb8)](_0x30f94a['text'])));},'insertCode'(_0x4ec40d={}){const _0x5580f1=_0x7b5c2c;var _0x18784a,_0x3d6758;let _0x2fad86=(_0x18784a=_0x4ec40d[_0x5580f1(0xc2)])==null?_0x5580f1(0x10d)+Date[_0x5580f1(0x9c)]():_0x18784a;return(_0x3d6758=_0x5818b7(this))!=null&&_0x3d6758[_0x5580f1(0xef)](_0xa75296['id'],{..._0x4ec40d,'blockId':_0x2fad86,'unitId':this['getId']()})?_0x49d969(this,_0x2fad86):null;},'exitCode'(_0x2fcae7){const _0x2d18e8=_0x7b5c2c;var _0x578dd0;return!!((_0x578dd0=_0x5818b7(this))!=null&&_0x578dd0[_0x2d18e8(0xef)](_0x429f0a['id'],{'cursorOffset':_0x2fcae7,'unitId':this[_0x2d18e8(0xe1)]()}));},'cancelEmptyCodeParagraph'(_0x46cb4a={}){const _0x198336=_0x7b5c2c;var _0x42b7c9;return!!((_0x42b7c9=_0x5818b7(this))!=null&&_0x42b7c9['syncExecuteCommand'](_0x18928f['id'],{..._0x46cb4a,'unitId':this[_0x198336(0xe1)]()}));}});function _0x49d969(_0x51f4a3,_0x3c07aa){const _0x3a24ad=_0x7b5c2c;let _0x3ed24b=_0x46f1ee(_0x51f4a3);return new _0x26408({'blockId':_0x3c07aa,'commandService':_0x5818b7(_0x51f4a3),'getDocumentData':()=>_0x51f4a3[_0x3a24ad(0xba)](),'model':_0x3ed24b==null?void 0x0:_0x3ed24b[_0x3a24ad(0xe2)](_0x37eff3),'unitId':_0x51f4a3[_0x3a24ad(0xe1)]()});}function _0x5818b7(_0x246b0d){const _0x194ff2=_0x7b5c2c;var _0x51437e,_0x4d2476;return(_0x51437e=_0x246b0d[_0x194ff2(0xaf)])==null?(_0x4d2476=_0x46f1ee(_0x246b0d))==null?void 0x0:_0x4d2476['get'](_0x431ac1['ICommandService']):_0x51437e;}function _0x46f1ee(_0x5cd5dc){return _0x5cd5dc['_injector'];}_0x44d374[_0x7b5c2c(0xd3)]=_0x26408;}));