@univerjs-pro/docs-code 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x234a(_0x4cc28a,_0x23e4e7){_0x4cc28a=_0x4cc28a-0x117;var _0x3d94e3=_0x3d94();var _0x234a4a=_0x3d94e3[_0x4cc28a];return _0x234a4a;}function _0x3d94(){var _0x4cee46=['DataStreamTreeTokenType','FDocumentCode','CODE','iterator','SECTION_BREAK','join','text','prototype','filter','startIndex','_document','DocumentBlockRangeType','getCodes','getText','defineProperty','_createFDocumentCode','endIndex','DocsCodeInsertCommand','decorate','DocsCodeUnwrapCommand','extend','createInstance','BLOCK_START','amd','symbol','9iaUSIw','6gpooyN','findCodeByText','string','updateConfig','unwrap','getCodeAt','blockId','FDocument','from','_getDocumentData','30QpQaxB','some','dataStream','function','call','87222LGMFsX','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getId','toPrimitive','@univerjs/core','786504YlpTIK','blockRanges','7527WuMPSm','Injector','Module','@univerjs-pro/docs-code','blockType','object','33704mISPxW','673175OQYoxF','PARAGRAPH','generateRandomId','length','ICommandService','UniverProDocsCodeFacade','_blockId','_unitId','UniverProDocsCode','config','get','_getBlockRanges','148MloBCx','describe','insertCode','getOwnPropertyDescriptor','map','syncExecuteCommand','body','DocsCodeUpdateCommand','getCodeConfig','2493080bLEGLh','_getBlockRange','normalizeDocsCodeConfig','419223VJDkrt','_injector','276nthdsm','UniverDocsFacade','findCodes','getCode','getConfig','getRange','DocsCodeModel','toStringTag','find'];_0x3d94=function(){return _0x4cee46;};return _0x3d94();}(function(_0xb9a1f9,_0x1ed05e){var _0x4bd94f=_0x234a,_0x28d0c5=_0xb9a1f9();while(!![]){try{var _0x2f47e1=-parseInt(_0x4bd94f(0x160))/0x1*(-parseInt(_0x4bd94f(0x16f))/0x2)+parseInt(_0x4bd94f(0x11c))/0x3*(parseInt(_0x4bd94f(0x12f))/0x4)+-parseInt(_0x4bd94f(0x123))/0x5+parseInt(_0x4bd94f(0x16a))/0x6*(parseInt(_0x4bd94f(0x13b))/0x7)+-parseInt(_0x4bd94f(0x11a))/0x8*(parseInt(_0x4bd94f(0x15f))/0x9)+-parseInt(_0x4bd94f(0x138))/0xa+-parseInt(_0x4bd94f(0x122))/0xb*(-parseInt(_0x4bd94f(0x13d))/0xc);if(_0x2f47e1===_0x1ed05e)break;else _0x28d0c5['push'](_0x28d0c5['shift']());}catch(_0x42ee81){_0x28d0c5['push'](_0x28d0c5['shift']());}}}(_0x3d94,0x3b1f0),function(_0xe7bbff,_0x3057bd){var _0x32288c=_0x234a;typeof exports==_0x32288c(0x121)&&typeof module<'u'?_0x3057bd(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define=='function'&&define[_0x32288c(0x15d)]?define(['exports',_0x32288c(0x11f),_0x32288c(0x119),'@univerjs/docs/facade'],_0x3057bd):(_0xe7bbff=typeof globalThis<'u'?globalThis:_0xe7bbff||self,_0x3057bd(_0xe7bbff[_0x32288c(0x128)]={},_0xe7bbff[_0x32288c(0x12b)],_0xe7bbff['UniverCore'],_0xe7bbff[_0x32288c(0x13e)]));}(this,function(_0x4341bf,_0x1103b9,_0x3006de,_0x4eaf56){var _0x167f2b=_0x234a;Object[_0x167f2b(0x154)](_0x4341bf,Symbol[_0x167f2b(0x144)],{'value':_0x167f2b(0x11e)});function _0x291587(_0x41d64e){'@babel/helpers - typeof';var _0x37fe1b=_0x167f2b;return _0x291587=typeof Symbol==_0x37fe1b(0x16d)&&typeof Symbol[_0x37fe1b(0x149)]==_0x37fe1b(0x15e)?function(_0x1817ca){return typeof _0x1817ca;}:function(_0x5bc5cb){var _0x17218f=_0x37fe1b;return _0x5bc5cb&&typeof Symbol==_0x17218f(0x16d)&&_0x5bc5cb['constructor']===Symbol&&_0x5bc5cb!==Symbol[_0x17218f(0x14d)]?_0x17218f(0x15e):typeof _0x5bc5cb;},_0x291587(_0x41d64e);}function _0x4085ce(_0x4ecb3e,_0x2770d5){var _0x246969=_0x167f2b;if(_0x291587(_0x4ecb3e)!='object'||!_0x4ecb3e)return _0x4ecb3e;var _0x564371=_0x4ecb3e[Symbol[_0x246969(0x118)]];if(_0x564371!==void 0x0){var _0xf8c4f2=_0x564371[_0x246969(0x16e)](_0x4ecb3e,_0x2770d5||'default');if(_0x291587(_0xf8c4f2)!=_0x246969(0x121))return _0xf8c4f2;throw TypeError(_0x246969(0x170));}return(_0x2770d5===_0x246969(0x162)?String:Number)(_0x4ecb3e);}function _0x2d51bf(_0x552d51){var _0x1fd0a7=_0x167f2b,_0x4560b9=_0x4085ce(_0x552d51,_0x1fd0a7(0x162));return _0x291587(_0x4560b9)==_0x1fd0a7(0x15e)?_0x4560b9:_0x4560b9+'';}function _0x29da60(_0x1c4106,_0x8bc384,_0x1389cc){var _0x5f3305=_0x167f2b;return(_0x8bc384=_0x2d51bf(_0x8bc384))in _0x1c4106?Object[_0x5f3305(0x154)](_0x1c4106,_0x8bc384,{'value':_0x1389cc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1c4106[_0x8bc384]=_0x1389cc,_0x1c4106;}function _0xfa31aa(_0x1c8347,_0x147768){return function(_0x3dcb5a,_0x4a54e4){_0x147768(_0x3dcb5a,_0x4a54e4,_0x1c8347);};}function _0x510b72(_0xafb693,_0x597f35,_0x359d7f,_0x4f6caf){var _0x3cd56e=_0x167f2b,_0x5c4c5e=arguments[_0x3cd56e(0x126)],_0x26e42a=_0x5c4c5e<0x3?_0x597f35:_0x4f6caf===null?_0x4f6caf=Object[_0x3cd56e(0x132)](_0x597f35,_0x359d7f):_0x4f6caf,_0x2c31ef;if(typeof Reflect==_0x3cd56e(0x121)&&typeof Reflect[_0x3cd56e(0x158)]==_0x3cd56e(0x16d))_0x26e42a=Reflect[_0x3cd56e(0x158)](_0xafb693,_0x597f35,_0x359d7f,_0x4f6caf);else{for(var _0x3a2244=_0xafb693[_0x3cd56e(0x126)]-0x1;_0x3a2244>=0x0;_0x3a2244--)(_0x2c31ef=_0xafb693[_0x3a2244])&&(_0x26e42a=(_0x5c4c5e<0x3?_0x2c31ef(_0x26e42a):_0x5c4c5e>0x3?_0x2c31ef(_0x597f35,_0x359d7f,_0x26e42a):_0x2c31ef(_0x597f35,_0x359d7f))||_0x26e42a);}return _0x5c4c5e>0x3&&_0x26e42a&&Object['defineProperty'](_0x597f35,_0x359d7f,_0x26e42a),_0x26e42a;}let _0x11fde9=class{constructor(_0xfbc843,_0xe050d1,_0x25256b){var _0x406d33=_0x167f2b;this[_0x406d33(0x150)]=_0xfbc843,this[_0x406d33(0x129)]=_0xe050d1,this[_0x406d33(0x13c)]=_0x25256b,_0x29da60(this,'_unitId',void 0x0),this['_unitId']=this['_document'][_0x406d33(0x117)]();}[_0x167f2b(0x117)](){var _0x775ed5=_0x167f2b;return this[_0x775ed5(0x129)];}[_0x167f2b(0x142)](){var _0x1fc5f4=_0x167f2b;let _0x2dab8c=this['_getBlockRange']();return _0x2dab8c?{'blockId':_0x2dab8c[_0x1fc5f4(0x166)],'endIndex':_0x2dab8c['endIndex'],'startIndex':_0x2dab8c[_0x1fc5f4(0x14f)]}:null;}[_0x167f2b(0x153)](){var _0x2e6ee6=_0x167f2b,_0x57e8b0;let _0x1fb704=this['_getBlockRange'](),_0xf4b47f=(_0x57e8b0=this[_0x2e6ee6(0x169)]()[_0x2e6ee6(0x135)])==null?void 0x0:_0x57e8b0[_0x2e6ee6(0x16c)];return!_0x1fb704||!_0xf4b47f?'':_0x97dc74(_0xf4b47f['slice'](_0x1fb704['startIndex']+0x1,_0x1fb704[_0x2e6ee6(0x156)]));}[_0x167f2b(0x130)](){var _0xd1cb11=_0x167f2b;let _0x2e660e=this['getRange']();return _0x2e660e?{..._0x2e660e,'config':this[_0xd1cb11(0x141)](),'text':this[_0xd1cb11(0x153)](),'type':_0x3006de[_0xd1cb11(0x151)]['CODE']}:null;}[_0x167f2b(0x141)](){var _0x530d1c=_0x167f2b;let _0x4a3452=this[_0x530d1c(0x13c)][_0x530d1c(0x12d)](_0x1103b9[_0x530d1c(0x143)]);return(0x0,_0x1103b9[_0x530d1c(0x13a)])(_0x4a3452[_0x530d1c(0x137)](this[_0x530d1c(0x12a)],this['_blockId']));}[_0x167f2b(0x163)](_0x86f0ba){var _0x43a569=_0x167f2b;return this[_0x43a569(0x13c)][_0x43a569(0x12d)](_0x3006de[_0x43a569(0x127)])[_0x43a569(0x134)](_0x1103b9[_0x43a569(0x136)]['id'],{'blockId':this[_0x43a569(0x129)],'config':_0x86f0ba[_0x43a569(0x12c)],'unitId':this[_0x43a569(0x12a)]});}[_0x167f2b(0x164)](){var _0x2c3d60=_0x167f2b;return this['_injector'][_0x2c3d60(0x12d)](_0x3006de[_0x2c3d60(0x127)])['syncExecuteCommand'](_0x1103b9[_0x2c3d60(0x159)]['id'],{'blockId':this[_0x2c3d60(0x129)],'unitId':this[_0x2c3d60(0x12a)]});}['remove'](){var _0x4da7a7=_0x167f2b;return this[_0x4da7a7(0x13c)][_0x4da7a7(0x12d)](_0x3006de[_0x4da7a7(0x127)])[_0x4da7a7(0x134)](_0x1103b9['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x4da7a7(0x129)],'unitId':this['_unitId']});}[_0x167f2b(0x139)](){var _0x11d2d2=_0x167f2b,_0x5e9491;return((_0x5e9491=this[_0x11d2d2(0x169)]()['body'])==null||(_0x5e9491=_0x5e9491['blockRanges'])==null?void 0x0:_0x5e9491['find'](_0x32f651=>_0x32f651['blockId']===this[_0x11d2d2(0x129)]&&_0x32f651['blockType']===_0x3006de[_0x11d2d2(0x151)][_0x11d2d2(0x148)]))??null;}['_getDocumentData'](){var _0x4932f5=_0x167f2b;return this[_0x4932f5(0x150)]['save']();}};_0x11fde9=_0x510b72([_0xfa31aa(0x2,(0x0,_0x3006de['Inject'])(_0x3006de[_0x167f2b(0x11d)]))],_0x11fde9);function _0x97dc74(_0x2c0f28){var _0x20a9fe=_0x167f2b;return Array[_0x20a9fe(0x168)](_0x2c0f28)['map'](_0x54cc78=>_0x54cc78===_0x3006de[_0x20a9fe(0x146)][_0x20a9fe(0x124)]?'\x0a':_0x54cc78)[_0x20a9fe(0x14e)](_0x1d3ca5=>_0x1d3ca5!==_0x3006de['DataStreamTreeTokenType'][_0x20a9fe(0x15c)]&&_0x1d3ca5!==_0x3006de[_0x20a9fe(0x146)]['BLOCK_END']&&_0x1d3ca5!==_0x3006de[_0x20a9fe(0x146)][_0x20a9fe(0x14a)])[_0x20a9fe(0x14b)]('')['replace'](/\n$/,'');}var _0x2ded15=class extends _0x4eaf56[_0x167f2b(0x167)]{[_0x167f2b(0x152)](){var _0x24851f=_0x167f2b;return this['_getBlockRanges']()['filter'](_0x183773=>_0x183773[_0x24851f(0x120)]===_0x3006de[_0x24851f(0x151)][_0x24851f(0x148)])[_0x24851f(0x133)](_0x1127fe=>this['_createFDocumentCode'](_0x1127fe[_0x24851f(0x166)]));}[_0x167f2b(0x140)](_0x54a557){var _0x218723=_0x167f2b;return this[_0x218723(0x12e)]()[_0x218723(0x16b)](_0x329671=>_0x329671[_0x218723(0x166)]===_0x54a557&&_0x329671[_0x218723(0x120)]===_0x3006de[_0x218723(0x151)][_0x218723(0x148)])?this[_0x218723(0x155)](_0x54a557):null;}[_0x167f2b(0x165)](_0x3c1ae4){var _0x51f305=_0x167f2b;let _0x344b11=this[_0x51f305(0x12e)]()[_0x51f305(0x145)](_0x15070e=>_0x15070e[_0x51f305(0x120)]===_0x3006de[_0x51f305(0x151)][_0x51f305(0x148)]&&_0x15070e['startIndex']<=_0x3c1ae4&&_0x3c1ae4<=_0x15070e[_0x51f305(0x156)]);return _0x344b11?this['_createFDocumentCode'](_0x344b11[_0x51f305(0x166)]):null;}[_0x167f2b(0x161)](_0x4d5a47){var _0x1c63d0=_0x167f2b;return this[_0x1c63d0(0x13f)](_0x4d5a47)[0x0]??null;}[_0x167f2b(0x13f)](_0x1ce4e5){var _0x5004d8=_0x167f2b;let _0x2b928f=typeof _0x1ce4e5==_0x5004d8(0x162)?{'text':_0x1ce4e5}:_0x1ce4e5;return this[_0x5004d8(0x152)]()[_0x5004d8(0x14e)](_0x378537=>!(_0x2b928f[_0x5004d8(0x166)]&&_0x378537[_0x5004d8(0x117)]()!==_0x2b928f['blockId']||_0x2b928f['text']&&!_0x378537[_0x5004d8(0x153)]()['includes'](_0x2b928f[_0x5004d8(0x14c)])));}[_0x167f2b(0x131)](_0x512e8a={},_0x4462d9={}){var _0x36d0b3=_0x167f2b;let _0x24b4e4=this[_0x36d0b3(0x13c)][_0x36d0b3(0x12d)](_0x3006de[_0x36d0b3(0x127)]),_0x113fbf=(0x0,_0x4eaf56['isParagraphFacade'])(_0x512e8a)?{..._0x4462d9,..._0x512e8a[_0x36d0b3(0x142)]()}:_0x512e8a,_0x1ab150=_0x113fbf['blockId']??(0x0,_0x3006de[_0x36d0b3(0x125)])(0x6);return _0x24b4e4[_0x36d0b3(0x134)](_0x1103b9[_0x36d0b3(0x157)]['id'],{..._0x113fbf,'blockId':_0x1ab150,'unitId':this['getId']()})?this[_0x36d0b3(0x140)](_0x1ab150):null;}[_0x167f2b(0x12e)](){var _0x2f4a7f=_0x167f2b,_0x430c7e;return((_0x430c7e=this['save']()[_0x2f4a7f(0x135)])==null?void 0x0:_0x430c7e[_0x2f4a7f(0x11b)])??[];}[_0x167f2b(0x155)](_0x236cec){var _0x1e4d1e=_0x167f2b;return this[_0x1e4d1e(0x13c)][_0x1e4d1e(0x15b)](_0x11fde9,this,_0x236cec);}};_0x4eaf56[_0x167f2b(0x167)][_0x167f2b(0x15a)](_0x2ded15),Object[_0x167f2b(0x154)](_0x4341bf,_0x167f2b(0x147),{'enumerable':!0x0,'get':function(){return _0x11fde9;}});}));
|
|
1
|
+
function _0x4196(_0x1d32d9,_0x254af9){_0x1d32d9=_0x1d32d9-0xf7;var _0x8c96f7=_0x8c96();var _0x419619=_0x8c96f7[_0x1d32d9];return _0x419619;}(function(_0x5bade5,_0x2d1261){var _0x360c35=_0x4196,_0x22708d=_0x5bade5();while(!![]){try{var _0x1b19e0=parseInt(_0x360c35(0x14c))/0x1+parseInt(_0x360c35(0x104))/0x2+parseInt(_0x360c35(0x13a))/0x3*(-parseInt(_0x360c35(0xf8))/0x4)+parseInt(_0x360c35(0x103))/0x5+-parseInt(_0x360c35(0x11c))/0x6+-parseInt(_0x360c35(0x131))/0x7*(-parseInt(_0x360c35(0x11e))/0x8)+parseInt(_0x360c35(0x128))/0x9*(-parseInt(_0x360c35(0x12c))/0xa);if(_0x1b19e0===_0x2d1261)break;else _0x22708d['push'](_0x22708d['shift']());}catch(_0x3e12c8){_0x22708d['push'](_0x22708d['shift']());}}}(_0x8c96,0x93812),function(_0x385e2a,_0x3f1a1a){var _0x36edf2=_0x4196;typeof exports=='object'&&typeof module<'u'?_0x3f1a1a(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x36edf2(0x10a)&&define[_0x36edf2(0xff)]?define(['exports','@univerjs-pro/docs-code','@univerjs/core',_0x36edf2(0x110)],_0x3f1a1a):(_0x385e2a=typeof globalThis<'u'?globalThis:_0x385e2a||self,_0x3f1a1a(_0x385e2a[_0x36edf2(0x114)]={},_0x385e2a[_0x36edf2(0x109)],_0x385e2a[_0x36edf2(0x149)],_0x385e2a[_0x36edf2(0xfb)]));}(this,function(_0x36bbb2,_0x3e6acf,_0x270289,_0x139e45){var _0x448ab1=_0x4196;Object[_0x448ab1(0x11a)](_0x36bbb2,Symbol[_0x448ab1(0x147)],{'value':_0x448ab1(0x13d)});function _0x1714fe(_0x533331){'@babel/helpers - typeof';var _0x26bea0=_0x448ab1;return _0x1714fe=typeof Symbol==_0x26bea0(0x10a)&&typeof Symbol[_0x26bea0(0x146)]==_0x26bea0(0x106)?function(_0x2f8dd9){return typeof _0x2f8dd9;}:function(_0x5dd11c){var _0xca152e=_0x26bea0;return _0x5dd11c&&typeof Symbol=='function'&&_0x5dd11c[_0xca152e(0x101)]===Symbol&&_0x5dd11c!==Symbol[_0xca152e(0x10e)]?_0xca152e(0x106):typeof _0x5dd11c;},_0x1714fe(_0x533331);}function _0x95b71c(_0x54fe8f,_0xb6a39e){var _0x266608=_0x448ab1;if(_0x1714fe(_0x54fe8f)!=_0x266608(0x119)||!_0x54fe8f)return _0x54fe8f;var _0x4f542f=_0x54fe8f[Symbol[_0x266608(0x10d)]];if(_0x4f542f!==void 0x0){var _0x53946f=_0x4f542f[_0x266608(0x13c)](_0x54fe8f,_0xb6a39e||_0x266608(0x11f));if(_0x1714fe(_0x53946f)!='object')return _0x53946f;throw TypeError(_0x266608(0x140));}return(_0xb6a39e===_0x266608(0x144)?String:Number)(_0x54fe8f);}function _0x3a20b9(_0x23b10f){var _0xd5af0a=_0x95b71c(_0x23b10f,'string');return _0x1714fe(_0xd5af0a)=='symbol'?_0xd5af0a:_0xd5af0a+'';}function _0x594c3c(_0x328e8d,_0x305ca1,_0x16f66d){return(_0x305ca1=_0x3a20b9(_0x305ca1))in _0x328e8d?Object['defineProperty'](_0x328e8d,_0x305ca1,{'value':_0x16f66d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x328e8d[_0x305ca1]=_0x16f66d,_0x328e8d;}function _0x5dd0a7(_0x317a9e,_0x29971d){return function(_0x4dd103,_0x397c23){_0x29971d(_0x4dd103,_0x397c23,_0x317a9e);};}function _0x3c6e25(_0xe4b392,_0x3a4d6e,_0x3b84fd,_0x3ca0c1){var _0x45a92e=_0x448ab1,_0x16bf7c=arguments[_0x45a92e(0x100)],_0x1cb1ed=_0x16bf7c<0x3?_0x3a4d6e:_0x3ca0c1===null?_0x3ca0c1=Object['getOwnPropertyDescriptor'](_0x3a4d6e,_0x3b84fd):_0x3ca0c1,_0x381f34;if(typeof Reflect==_0x45a92e(0x119)&&typeof Reflect[_0x45a92e(0x108)]==_0x45a92e(0x10a))_0x1cb1ed=Reflect['decorate'](_0xe4b392,_0x3a4d6e,_0x3b84fd,_0x3ca0c1);else{for(var _0x287029=_0xe4b392[_0x45a92e(0x100)]-0x1;_0x287029>=0x0;_0x287029--)(_0x381f34=_0xe4b392[_0x287029])&&(_0x1cb1ed=(_0x16bf7c<0x3?_0x381f34(_0x1cb1ed):_0x16bf7c>0x3?_0x381f34(_0x3a4d6e,_0x3b84fd,_0x1cb1ed):_0x381f34(_0x3a4d6e,_0x3b84fd))||_0x1cb1ed);}return _0x16bf7c>0x3&&_0x1cb1ed&&Object[_0x45a92e(0x11a)](_0x3a4d6e,_0x3b84fd,_0x1cb1ed),_0x1cb1ed;}let _0x5d2b42=class{constructor(_0x47822b,_0x228b59,_0x251d8a){var _0x30f2e6=_0x448ab1;this[_0x30f2e6(0x118)]=_0x47822b,this['_blockId']=_0x228b59,this[_0x30f2e6(0x141)]=_0x251d8a,_0x594c3c(this,'_unitId',void 0x0),this['_unitId']=this[_0x30f2e6(0x118)][_0x30f2e6(0x107)]();}[_0x448ab1(0x107)](){var _0x42894c=_0x448ab1;return this[_0x42894c(0x133)];}[_0x448ab1(0x12f)](){var _0x2a6f68=_0x448ab1;let _0x15c09b=this['_getBlockRange']();return _0x15c09b?{'blockId':_0x15c09b[_0x2a6f68(0x12b)],'endIndex':_0x15c09b[_0x2a6f68(0x14e)],'startIndex':_0x15c09b['startIndex']}:null;}['getText'](){var _0x2c6c01=_0x448ab1,_0x4eca01;let _0x300982=this[_0x2c6c01(0x148)](),_0x593f20=(_0x4eca01=this[_0x2c6c01(0x145)]()[_0x2c6c01(0xfc)])==null?void 0x0:_0x4eca01[_0x2c6c01(0x11b)];return!_0x300982||!_0x593f20?'':_0x27c1e8(_0x593f20[_0x2c6c01(0xfa)](_0x300982['startIndex']+0x1,_0x300982[_0x2c6c01(0x14e)]));}[_0x448ab1(0x11d)](){var _0x4a8fd3=_0x448ab1;let _0x2a3ce3=this[_0x4a8fd3(0x12f)]();return _0x2a3ce3?{..._0x2a3ce3,'config':this[_0x4a8fd3(0x102)](),'text':this[_0x4a8fd3(0xf7)](),'type':_0x270289[_0x4a8fd3(0x112)][_0x4a8fd3(0x127)]}:null;}[_0x448ab1(0x102)](){var _0x4f7d2d=_0x448ab1;let _0x3a520d=this[_0x4f7d2d(0x141)][_0x4f7d2d(0x12a)](_0x3e6acf['DocsCodeModel']);return(0x0,_0x3e6acf[_0x4f7d2d(0x121)])(_0x3a520d['getCodeConfig'](this[_0x4f7d2d(0x14f)],this['_blockId']));}['updateConfig'](_0x2b1b36){var _0x4e0cf9=_0x448ab1;return this[_0x4e0cf9(0x141)][_0x4e0cf9(0x12a)](_0x270289['ICommandService'])[_0x4e0cf9(0x12d)](_0x3e6acf[_0x4e0cf9(0x111)]['id'],{'blockId':this[_0x4e0cf9(0x133)],'config':_0x2b1b36['config'],'unitId':this[_0x4e0cf9(0x14f)]});}[_0x448ab1(0x124)](){var _0x5bf50a=_0x448ab1;return this[_0x5bf50a(0x141)][_0x5bf50a(0x12a)](_0x270289['ICommandService'])[_0x5bf50a(0x12d)](_0x3e6acf[_0x5bf50a(0x130)]['id'],{'blockId':this[_0x5bf50a(0x133)],'unitId':this[_0x5bf50a(0x14f)]});}[_0x448ab1(0x10c)](){var _0x566206=_0x448ab1;return this[_0x566206(0x141)][_0x566206(0x12a)](_0x270289[_0x566206(0x138)])[_0x566206(0x12d)](_0x3e6acf[_0x566206(0x139)]['id'],{'blockId':this[_0x566206(0x133)],'unitId':this[_0x566206(0x14f)]});}['_getBlockRange'](){var _0x31a70f=_0x448ab1,_0x1ccd75;return((_0x1ccd75=this[_0x31a70f(0x145)]()[_0x31a70f(0xfc)])==null||(_0x1ccd75=_0x1ccd75['blockRanges'])==null?void 0x0:_0x1ccd75[_0x31a70f(0x143)](_0xde0333=>_0xde0333['blockId']===this['_blockId']&&_0xde0333[_0x31a70f(0x105)]===_0x270289[_0x31a70f(0x112)]['CODE']))??null;}[_0x448ab1(0x145)](){var _0x3e4ad2=_0x448ab1;return this['_document'][_0x3e4ad2(0x10f)]();}};_0x5d2b42=_0x3c6e25([_0x5dd0a7(0x2,(0x0,_0x270289[_0x448ab1(0xf9)])(_0x270289[_0x448ab1(0x13e)]))],_0x5d2b42);function _0x27c1e8(_0x38ea99){var _0xb2a89d=_0x448ab1;return Array[_0xb2a89d(0x135)](_0x38ea99)[_0xb2a89d(0x122)](_0x37eeca=>_0x37eeca===_0x270289['DataStreamTreeTokenType'][_0xb2a89d(0x115)]?'\x0a':_0x37eeca)[_0xb2a89d(0x134)](_0x2942ec=>_0x2942ec!==_0x270289[_0xb2a89d(0x117)]['BLOCK_START']&&_0x2942ec!==_0x270289[_0xb2a89d(0x117)][_0xb2a89d(0x129)]&&_0x2942ec!==_0x270289[_0xb2a89d(0x117)][_0xb2a89d(0x13b)])['join']('')[_0xb2a89d(0x113)](/\n$/,'');}var _0x3b434e=class extends _0x139e45[_0x448ab1(0x142)]{[_0x448ab1(0x10b)](){var _0x14e9b7=_0x448ab1;return this[_0x14e9b7(0x123)]()[_0x14e9b7(0x134)](_0x427ca8=>_0x427ca8['blockType']===_0x270289[_0x14e9b7(0x112)][_0x14e9b7(0x127)])[_0x14e9b7(0x122)](_0x4e5b4a=>this[_0x14e9b7(0x136)](_0x4e5b4a[_0x14e9b7(0x12b)]));}['getCode'](_0x48f1a3){var _0x5141e7=_0x448ab1;return this['_getBlockRanges']()[_0x5141e7(0x120)](_0x121a13=>_0x121a13[_0x5141e7(0x12b)]===_0x48f1a3&&_0x121a13['blockType']===_0x270289[_0x5141e7(0x112)][_0x5141e7(0x127)])?this[_0x5141e7(0x136)](_0x48f1a3):null;}['getCodeAt'](_0x3ca603){var _0x4df877=_0x448ab1;let _0x48c605=this[_0x4df877(0x123)]()[_0x4df877(0x143)](_0xeec2ed=>_0xeec2ed[_0x4df877(0x105)]===_0x270289['DocumentBlockRangeType'][_0x4df877(0x127)]&&_0xeec2ed[_0x4df877(0x14a)]<=_0x3ca603&&_0x3ca603<=_0xeec2ed[_0x4df877(0x14e)]);return _0x48c605?this[_0x4df877(0x136)](_0x48c605[_0x4df877(0x12b)]):null;}[_0x448ab1(0x126)](_0x52d36e){return this['findCodes'](_0x52d36e)[0x0]??null;}[_0x448ab1(0x132)](_0x46974b){var _0x5f03b1=_0x448ab1;let _0x920069=typeof _0x46974b==_0x5f03b1(0x144)?{'text':_0x46974b}:_0x46974b;return this['getCodes']()[_0x5f03b1(0x134)](_0x427359=>!(_0x920069['blockId']&&_0x427359[_0x5f03b1(0x107)]()!==_0x920069[_0x5f03b1(0x12b)]||_0x920069['text']&&!_0x427359[_0x5f03b1(0xf7)]()[_0x5f03b1(0x137)](_0x920069[_0x5f03b1(0x13f)])));}[_0x448ab1(0x116)](_0x493bf7={},_0x3bfb1c={}){var _0x141988=_0x448ab1;let _0x58473e=this['_injector'][_0x141988(0x12a)](_0x270289[_0x141988(0x138)]),_0x2da9f2=(0x0,_0x139e45[_0x141988(0x14b)])(_0x493bf7)?{..._0x3bfb1c,..._0x493bf7['getRange']()}:_0x493bf7,_0x3333f1=_0x2da9f2[_0x141988(0x12b)]??(0x0,_0x270289[_0x141988(0x12e)])(0x6);return _0x58473e[_0x141988(0x12d)](_0x3e6acf[_0x141988(0x14d)]['id'],{..._0x2da9f2,'blockId':_0x3333f1,'unitId':this['getId']()})?this[_0x141988(0xfe)](_0x3333f1):null;}[_0x448ab1(0x123)](){var _0x10452f=_0x448ab1,_0x2ccc62;return((_0x2ccc62=this[_0x10452f(0x10f)]()[_0x10452f(0xfc)])==null?void 0x0:_0x2ccc62['blockRanges'])??[];}[_0x448ab1(0x136)](_0x4d1d66){var _0x16750b=_0x448ab1;return this[_0x16750b(0x141)][_0x16750b(0xfd)](_0x5d2b42,this,_0x4d1d66);}};_0x139e45['FDocument'][_0x448ab1(0x125)](_0x3b434e),Object[_0x448ab1(0x11a)](_0x36bbb2,'FDocumentCode',{'enumerable':!0x0,'get':function(){return _0x5d2b42;}});}));function _0x8c96(){var _0x46a572=['_getDocumentData','iterator','toStringTag','_getBlockRange','UniverCore','startIndex','isParagraphFacade','115120qLIXQG','DocsCodeInsertCommand','endIndex','_unitId','getText','4quxfEr','Inject','slice','UniverDocsFacade','body','createInstance','getCode','amd','length','constructor','getConfig','4637720qWvToY','1614960EkIndC','blockType','symbol','getId','decorate','UniverProDocsCode','function','getCodes','remove','toPrimitive','prototype','save','@univerjs/docs/facade','DocsCodeUpdateCommand','DocumentBlockRangeType','replace','UniverProDocsCodeFacade','PARAGRAPH','insertCode','DataStreamTreeTokenType','_document','object','defineProperty','dataStream','5794932NMlZCH','describe','32BXVElf','default','some','normalizeDocsCodeConfig','map','_getBlockRanges','unwrap','extend','findCodeByText','CODE','261fxQucQ','BLOCK_END','get','blockId','198830KDxSJT','syncExecuteCommand','generateRandomId','getRange','DocsCodeUnwrapCommand','1060661UtGgNi','findCodes','_blockId','filter','from','_createFDocumentCode','includes','ICommandService','DocsCodeRemoveCommand','928887fgtHAc','SECTION_BREAK','call','Module','Injector','text','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_injector','FDocument','find','string'];_0x8c96=function(){return _0x46a572;};return _0x8c96();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4537(_0x5d13e0,_0x25759e){_0x5d13e0=_0x5d13e0-0x1c3;const _0x5c3e67=_0x5c3e();let _0x4537f2=_0x5c3e67[_0x5d13e0];return _0x4537f2;}function _0x5c3e(){const _0x3f30fb=['UniverDocs','DataStreamTreeTokenType','getParagraphContentStartOffset','shiftExclusiveRangeOnDelete','1834554ilyaJo','_change$','direction','decorate','normalizeDocsCodeMetadataResource','BuildTextUtils','iterator','getParagraphsInRange','next','indentStart','isCodeBoundaryDelete','constructor','pluginName','registerPluginResource','docs-code.command.insert-below','5BHQPHl','symbol','paragraphStyle','createParagraphId','endTokenOffset','registerCommand','PARAGRAPH','DOCS_CODE_PLUGIN','metadata','isHeaderFooterSelection','columns','textStyle','3658444vPvYIF','sectionBreaks','docs-code.command.update','insert-new','insert','customDecorations','BLOCK_START','set','SECTION_BREAK','DocsCodeConsumeBoundaryDeleteCommand','UniverLicensePlugin','entries','endOffset','default','handler','merge','setCodeConfig','string','_initResource','BLOCK_END','removeUnit','TRUE','clear','customBlocks','sort','body','unitId','deserialize','asObservable','DocsCodeInsertBelowCommand','TABLE_CELL_END','CODE','1337681plKntl','textRuns','customRanges','8019888eWwKQE','previousDocumentData','@univerjs/docs','range','getInstance','fromEntries','map','replaceDocRanges','Document\x20body\x20is\x20required','type','amd','delete','filter','disposeWithMe','find','getCurrentUnitOfType','paragraphStartIndex','keepLines','CommandType','BooleanNumber','columnGroups','dataStream','commandService','get','18CstVOM','MUTATION','getBodySliceForTextXAction','startTokenOffset','monospace','function','cursorOffset','getBlockRangeInterval','UNIVER_DOC','IResourceManagerService','@univerjs-pro/license','JSONX','complete','insertionMode','RichTextEditingMutation','_docsCodeModel','@univerjs-pro/docs-code','stringify','blockId','change$','getUnit','blockType','isArray','min','paragraphs','UniverDocsCodePlugin','shiftExclusiveRangeOnInsert','tables','spaceAbove','blockRanges','slice','13755hKEHTo','DocsCodeModel','getSnapshot','toPrimitive','paragraphId','insertLength','498750isVFac','dispose','1.1.0','keys','reduce','DocsCodeCancelEmptyParagraphCommand','version','deleteLength','endIndex','TABLE_CELL_START','nextMetadata','_setResource','removeOp','@univerjs/core','DocsCodeRemoveCommand','Module','_injector','push','_commandService','length','some','RemoveDocsCodeConfigMutation','COMMAND','normalizeDocsCodeConfig','DocSelectionManagerService','call','nextDocumentData','DocsCodeUnwrapCommand','indexOf','serialize','spaceBelow','IConfigService','shiftInclusiveRangeOnInsert','UniverProLicense','defineProperty','widowControl','docs-code.command.exit','bullet','UniverCore','_configService','5958402QDwLPJ','IUniverInstanceService','setConfig','DOC_CODE_PLUGIN','codes','onStarting','endsWith','object','documentData','Subject','TextX','every','max','left','Injector','DocsCodeUpdateCommand','compose','removeCode','packageName','start','toStringTag','DocumentBlockRangeType','_resources','indentEnd','Plugin','getOwnPropertyDescriptor','startOffset','Inject','forEach','rxjs','right','config','javascript','containsInteriorInsertionOffset','_resourceManagerService','UniverInstanceType','ICommandService','retain','parse','_config','selectionManager','syncExecuteCommand','docs-code.command.remove','model','getUnitId','UniverDocsPlugin','docs-code.command.insert','containsStreamIndex','getParagraphContentStartOffsets','insertOp','getParagraphFollowingBlockOffset','DependentOn','startIndex','getBody','exports','SetDocsCodeConfigMutation','shiftInclusiveRangeOnDelete'];_0x5c3e=function(){return _0x3f30fb;};return _0x5c3e();}(function(_0x17bdc0,_0x78566d){const _0x5c72c3=_0x4537,_0x4cd405=_0x17bdc0();while(!![]){try{const _0x5b09ff=-parseInt(_0x5c72c3(0x1d8))/0x1+-parseInt(_0x5c72c3(0x218))/0x2+parseInt(_0x5c72c3(0x27d))/0x3+-parseInt(_0x5c72c3(0x298))/0x4*(-parseInt(_0x5c72c3(0x28c))/0x5)+-parseInt(_0x5c72c3(0x240))/0x6+-parseInt(_0x5c72c3(0x212))/0x7+parseInt(_0x5c72c3(0x1db))/0x8*(parseInt(_0x5c72c3(0x1f3))/0x9);if(_0x5b09ff===_0x78566d)break;else _0x4cd405['push'](_0x4cd405['shift']());}catch(_0x483274){_0x4cd405['push'](_0x4cd405['shift']());}}}(_0x5c3e,0xe7b15),function(_0x41f373,_0x2c4e81){const _0x74b962=_0x4537;typeof exports==_0x74b962(0x247)&&typeof module<'u'?_0x2c4e81(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x74b962(0x1f8)&&define[_0x74b962(0x1e5)]?define([_0x74b962(0x276),_0x74b962(0x225),_0x74b962(0x25d),_0x74b962(0x1dd),_0x74b962(0x1fd)],_0x2c4e81):(_0x41f373=typeof globalThis<'u'?globalThis:_0x41f373||self,_0x2c4e81(_0x41f373['UniverProDocsCode']={},_0x41f373[_0x74b962(0x23e)],_0x41f373[_0x74b962(0x25d)],_0x41f373[_0x74b962(0x279)],_0x41f373[_0x74b962(0x239)]));}(this,function(_0x20031a,_0x2a5329,_0x41899e,_0xd998f,_0x2a235e){const _0x5eba1f=_0x4537;Object['defineProperty'](_0x20031a,Symbol[_0x5eba1f(0x254)],{'value':_0x5eba1f(0x227)});let _0x198dee={'language':_0x5eba1f(0x260),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x4f674c(_0x57dc5b){return{..._0x198dee,..._0x57dc5b};}function _0x3bd20a(_0x519ae3){const _0x3ad0d3=_0x5eba1f;let _0x5c906c=(_0x519ae3==null?void 0x0:_0x519ae3[_0x3ad0d3(0x244)])??{};return{'codes':Object[_0x3ad0d3(0x1e0)](Object[_0x3ad0d3(0x1c3)](_0x5c906c)['map'](([_0x545bf1,_0x1c67fc])=>[_0x545bf1,_0x4f674c(_0x1c67fc)]))};}function _0x4f0ab1(_0x488195,_0x462ea4,_0x277f53){const _0x2dcf0c=_0x5eba1f;let _0x5014ce=_0x3bd20a(_0x488195);return _0x5014ce[_0x2dcf0c(0x244)][_0x462ea4]=_0x4f674c({..._0x5014ce[_0x2dcf0c(0x244)][_0x462ea4],..._0x277f53}),_0x5014ce;}function _0x36eeb2(_0x1d79de,_0x1dcfdd){let _0x46911d=_0x3bd20a(_0x1d79de);return delete _0x46911d['codes'][_0x1dcfdd],_0x46911d;}function _0x504125(_0x3b7d68){'@babel/helpers - typeof';const _0x170ef5=_0x5eba1f;return _0x504125=typeof Symbol==_0x170ef5(0x1f8)&&typeof Symbol[_0x170ef5(0x283)]==_0x170ef5(0x28d)?function(_0x5a97b4){return typeof _0x5a97b4;}:function(_0x3e6a67){const _0x537f53=_0x170ef5;return _0x3e6a67&&typeof Symbol=='function'&&_0x3e6a67[_0x537f53(0x288)]===Symbol&&_0x3e6a67!==Symbol['prototype']?_0x537f53(0x28d):typeof _0x3e6a67;},_0x504125(_0x3b7d68);}function _0x5da08f(_0x3cb904,_0x19e73b){const _0x460305=_0x5eba1f;if(_0x504125(_0x3cb904)!='object'||!_0x3cb904)return _0x3cb904;var _0x4173f7=_0x3cb904[Symbol[_0x460305(0x215)]];if(_0x4173f7!==void 0x0){var _0x3618af=_0x4173f7[_0x460305(0x231)](_0x3cb904,_0x19e73b||_0x460305(0x1c5));if(_0x504125(_0x3618af)!='object')return _0x3618af;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x19e73b===_0x460305(0x1c9)?String:Number)(_0x3cb904);}function _0x322098(_0x9407d3){const _0x4271fb=_0x5eba1f;var _0xda2859=_0x5da08f(_0x9407d3,_0x4271fb(0x1c9));return _0x504125(_0xda2859)==_0x4271fb(0x28d)?_0xda2859:_0xda2859+'';}function _0x18c008(_0x4db3e7,_0x3fe1cb,_0x22368a){const _0x30f953=_0x5eba1f;return(_0x3fe1cb=_0x322098(_0x3fe1cb))in _0x4db3e7?Object[_0x30f953(0x23a)](_0x4db3e7,_0x3fe1cb,{'value':_0x22368a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4db3e7[_0x3fe1cb]=_0x22368a,_0x4db3e7;}var _0x2b6374=class extends _0x2a5329['Disposable']{constructor(..._0x4e22ef){const _0x50653a=_0x5eba1f;super(..._0x4e22ef),_0x18c008(this,_0x50653a(0x256),new Map()),_0x18c008(this,_0x50653a(0x27e),new _0x41899e[(_0x50653a(0x249))]()),_0x18c008(this,_0x50653a(0x206),this[_0x50653a(0x27e)][_0x50653a(0x1d4)]());}['getCodeConfig'](_0x285b36,_0x4df6d1){const _0x37edf4=_0x5eba1f;return _0x3bd20a(this['_resources'][_0x37edf4(0x1f2)](_0x285b36))[_0x37edf4(0x244)][_0x4df6d1];}[_0x5eba1f(0x1c8)](_0x23838d,_0x46ae98,_0x3db67b){const _0x123334=_0x5eba1f;this[_0x123334(0x223)](_0x23838d,_0x46ae98,_0x4f0ab1(this[_0x123334(0x256)]['get'](_0x23838d),_0x46ae98,_0x3db67b));}[_0x5eba1f(0x251)](_0x18202e,_0xf4b127){const _0x2cec2a=_0x5eba1f;this['_setResource'](_0x18202e,_0xf4b127,_0x36eeb2(this[_0x2cec2a(0x256)][_0x2cec2a(0x1f2)](_0x18202e),_0xf4b127));}[_0x5eba1f(0x235)](_0x699946){const _0x307def=_0x5eba1f;return _0x3bd20a(this[_0x307def(0x256)][_0x307def(0x1f2)](_0x699946));}['deserialize'](_0x3f3fee,_0x2b8dbe){const _0x53c7a9=_0x5eba1f;this[_0x53c7a9(0x256)][_0x53c7a9(0x29f)](_0x3f3fee,_0x3bd20a(_0x2b8dbe)),this['_change$'][_0x53c7a9(0x285)]({'unitId':_0x3f3fee});}[_0x5eba1f(0x1cc)](_0x325327){const _0x356442=_0x5eba1f;this[_0x356442(0x256)][_0x356442(0x1e6)](_0x325327),this[_0x356442(0x27e)][_0x356442(0x285)]({'unitId':_0x325327});}[_0x5eba1f(0x219)](){const _0x258592=_0x5eba1f;super[_0x258592(0x219)](),this[_0x258592(0x256)][_0x258592(0x1ce)](),this[_0x258592(0x27e)][_0x258592(0x1ff)]();}[_0x5eba1f(0x223)](_0x840f0a,_0x4a2bcf,_0x413d6f){const _0xe429e=_0x5eba1f;this['_resources'][_0xe429e(0x29f)](_0x840f0a,_0x413d6f),this[_0xe429e(0x27e)][_0xe429e(0x285)]({'unitId':_0x840f0a,'blockId':_0x4a2bcf});}};let _0xfea112={'id':'docs-code.mutation.set-config','type':_0x2a5329['CommandType'][_0x5eba1f(0x1f4)],'handler':(_0x5990c2,_0x5133f5)=>!(_0x5133f5!=null&&_0x5133f5[_0x5eba1f(0x1d2)])||!_0x5133f5[_0x5eba1f(0x205)]?!0x1:(_0x5990c2[_0x5eba1f(0x1f2)](_0x2b6374)[_0x5eba1f(0x1c8)](_0x5133f5[_0x5eba1f(0x1d2)],_0x5133f5[_0x5eba1f(0x205)],_0x5133f5[_0x5eba1f(0x25f)]),!0x0)},_0x46da34={'id':'docs-code.mutation.remove-config','type':_0x2a5329['CommandType'][_0x5eba1f(0x1f4)],'handler':(_0x4ac368,_0x109409)=>!(_0x109409!=null&&_0x109409[_0x5eba1f(0x1d2)])||!_0x109409[_0x5eba1f(0x205)]?!0x1:(_0x4ac368[_0x5eba1f(0x1f2)](_0x2b6374)['removeCode'](_0x109409[_0x5eba1f(0x1d2)],_0x109409[_0x5eba1f(0x205)]),!0x0)},_0x128267=_0x5eba1f(0x1f7);var _0x2eaf3f=class extends Error{constructor(_0xe78468='Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries'){super(_0xe78468);}};function _0x405f43(_0x3d8834){const _0x4e2ce1=_0x5eba1f;var _0x45352b;let _0x42e067=_0x2dcdc4(_0x3d8834[_0x4e2ce1(0x248)]),_0x48dcc5=_0x321b75(_0x42e067),_0xeeefd4=_0x410a13(_0x3d8834['startOffset'],_0x3d8834[_0x4e2ce1(0x1c4)]),_0x3d9c8f=_0xeeefd4?(_0x45352b=_0x48dcc5[_0x4e2ce1(0x210)])==null?void 0x0:_0x45352b[_0x4e2ce1(0x1e9)](_0x50b346=>{const _0x538a4f=_0x4e2ce1;let _0x46ca62=(0x0,_0x2a5329[_0x538a4f(0x1fa)])(_0x50b346);return _0x46ca62[_0x538a4f(0x25a)]===_0xeeefd4[_0x538a4f(0x25a)]&&_0x46ca62[_0x538a4f(0x1c4)]===_0xeeefd4[_0x538a4f(0x1c4)];}):void 0x0,{startOffset:_0x1565f0,endOffset:_0x456472}=_0x3d9c8f?_0xeeefd4:_0x33873c(_0x48dcc5,_0x3d8834['startOffset'],_0x3d8834[_0x4e2ce1(0x1c4)],_0x3d8834['insertionMode']);if(!_0x3d9c8f&&_0x1091cc(_0x48dcc5,_0x1565f0,_0x456472))throw new _0x2eaf3f('Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block');let _0xb92747=_0x278bb1(_0x48dcc5,_0x1565f0,_0x456472),_0x17f672=(_0x3d9c8f==null?void 0x0:_0x3d9c8f[_0x4e2ce1(0x205)])??_0x3d8834['blockId'],_0x180c35=_0x4f0ab1(_0x3d8834['metadata'],_0x17f672,{..._0x198dee,..._0x3d8834[_0x4e2ce1(0x25f)]});if(_0x3d9c8f)return _0x3d9c8f['blockType']=_0x2a5329[_0x4e2ce1(0x255)][_0x4e2ce1(0x1d7)],_0x46ef3e(_0x48dcc5,_0x1565f0,_0x456472),_0x438f18(_0x48dcc5,_0x1565f0,_0x456472,_0xb92747),_0x11e109(_0x48dcc5,_0x3d9c8f),{'nextDocumentData':_0x42e067,'nextMetadata':_0x180c35,'cursorOffset':_0x1565f0+0x1};if(_0x1565f0===_0x456472){var _0x4c710d,_0x4c8e45;let _0x20b1b1=''+_0x2a5329['DataStreamTreeTokenType'][_0x4e2ce1(0x29e)]+_0x2a5329[_0x4e2ce1(0x27a)][_0x4e2ce1(0x292)]+_0x2a5329[_0x4e2ce1(0x27a)]['BLOCK_END'];_0x5f3461(_0x48dcc5,_0x1565f0,_0x20b1b1,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x2a5329[_0x4e2ce1(0x28f)])(new Set((_0x4c710d=_0x48dcc5[_0x4e2ce1(0x20b)])==null?void 0x0:_0x4c710d['map'](_0xc72b28=>_0xc72b28[_0x4e2ce1(0x216)]))),'paragraphStyle':_0x2c098a(!0x0,!0x0,_0xb92747)}],'blockRanges':[{'blockId':_0x17f672,'blockType':_0x2a5329[_0x4e2ce1(0x255)][_0x4e2ce1(0x1d7)],'startIndex':0x0,'endIndex':_0x20b1b1[_0x4e2ce1(0x22b)]-0x1}]});let _0x5d0e1b=(_0x4c8e45=_0x48dcc5[_0x4e2ce1(0x210)])==null?void 0x0:_0x4c8e45[_0x4e2ce1(0x1e9)](_0x3ba54d=>_0x3ba54d[_0x4e2ce1(0x205)]===_0x17f672);return _0x5d0e1b&&_0x11e109(_0x48dcc5,_0x5d0e1b),{'nextDocumentData':_0x42e067,'nextMetadata':_0x180c35,'cursorOffset':_0x1565f0+0x1};}_0x5f3461(_0x48dcc5,_0x456472,_0x2a5329[_0x4e2ce1(0x27a)][_0x4e2ce1(0x1cb)]),_0x5f3461(_0x48dcc5,_0x1565f0,_0x2a5329['DataStreamTreeTokenType'][_0x4e2ce1(0x29e)]),_0x438f18(_0x48dcc5,_0x1565f0,_0x456472+0x1,_0xb92747);let _0xfe03a9={'blockId':_0x17f672,'blockType':_0x2a5329[_0x4e2ce1(0x255)]['CODE'],'startIndex':_0x1565f0,'endIndex':_0x456472+0x1};return _0x48dcc5['blockRanges']=[..._0x48dcc5[_0x4e2ce1(0x210)]??[],_0xfe03a9]['sort']((_0x2199f2,_0x1f51be)=>_0x2199f2[_0x4e2ce1(0x274)]-_0x1f51be[_0x4e2ce1(0x274)]),_0x11e109(_0x48dcc5,_0xfe03a9),{'nextDocumentData':_0x42e067,'nextMetadata':_0x180c35,'cursorOffset':_0x1565f0+0x1};}function _0x46ef3e(_0x9d6668,_0x3a395c,_0x2f1e4c){const _0x51ba12=_0x5eba1f;(_0x9d6668['paragraphs']??[])[_0x51ba12(0x1e7)](_0x2a9cbb=>_0x2a9cbb[_0x51ba12(0x274)]>_0x3a395c&&_0x2a9cbb[_0x51ba12(0x274)]<_0x2f1e4c)[_0x51ba12(0x25c)](_0xd07f03=>{const _0x3b1251=_0x51ba12;let _0x44d35b={..._0xd07f03[_0x3b1251(0x28e)]??{}};delete _0x44d35b[_0x3b1251(0x20f)],delete _0x44d35b[_0x3b1251(0x236)],_0xd07f03[_0x3b1251(0x28e)]=_0x44d35b;});}function _0x410a13(_0x4b29da,_0x162778){const _0xd7b50c=_0x5eba1f;return _0x4b29da==null||_0x162778==null||_0x4b29da===_0x162778?null:{'startOffset':Math['min'](_0x4b29da,_0x162778),'endOffset':Math[_0xd7b50c(0x24c)](_0x4b29da,_0x162778)};}function _0x1091cc(_0x2bb655,_0x57bcbd,_0x1d91fd){return(_0x2bb655['blockRanges']??[])['some'](_0x468248=>{const _0x31dcaa=_0x4537;let _0xdc51aa=(0x0,_0x2a5329[_0x31dcaa(0x1fa)])(_0x468248);return _0x57bcbd===_0x1d91fd?(0x0,_0x2a5329[_0x31dcaa(0x261)])(_0xdc51aa,_0x57bcbd):(0x0,_0x2a5329['intersectsOperationalIntervals'])(_0xdc51aa,{'startOffset':_0x57bcbd,'endOffset':_0x1d91fd});});}function _0xfd46a5(_0x473978){const _0x4eb8fc=_0x5eba1f;return{'nextDocumentData':_0x2dcdc4(_0x473978[_0x4eb8fc(0x248)]),'nextMetadata':_0x4f0ab1(_0x473978[_0x4eb8fc(0x294)],_0x473978[_0x4eb8fc(0x205)],_0x473978[_0x4eb8fc(0x25f)]),'cursorOffset':0x0};}function _0x31f425(_0x6b05d4){const _0x10e720=_0x5eba1f;let _0x3a0d4b=_0x2dcdc4(_0x6b05d4['documentData']),_0x55a436=_0x321b75(_0x3a0d4b),_0x55fbc3=_0x5a4194(_0x55a436,_0x6b05d4[_0x10e720(0x205)]);if(!_0x55fbc3)return null;let _0x16a571=_0x3b6089(_0x55a436,_0x55fbc3);return{'nextDocumentData':_0x3a0d4b,'nextMetadata':_0x36eeb2(_0x6b05d4[_0x10e720(0x294)],_0x6b05d4[_0x10e720(0x205)]),'cursorOffset':_0x16a571};}function _0x1c7443(_0x1f1045){const _0x271191=_0x5eba1f;var _0x586f99;let _0x19fc04=_0x2dcdc4(_0x1f1045[_0x271191(0x248)]),_0xf1535b=_0x321b75(_0x19fc04),_0x599df9=_0x5a4194(_0xf1535b,_0x1f1045['blockId']);if(!_0x599df9)return null;let _0x267500=(0x0,_0x2a5329[_0x271191(0x1fa)])(_0x599df9);return _0x32bd45(_0xf1535b,_0x267500['startOffset'],_0x267500[_0x271191(0x1c4)]),_0xf1535b[_0x271191(0x210)]=(_0x586f99=_0xf1535b['blockRanges'])==null?void 0x0:_0x586f99[_0x271191(0x1e7)](_0x306577=>_0x306577[_0x271191(0x205)]!==_0x1f1045[_0x271191(0x205)]),{'nextDocumentData':_0x19fc04,'nextMetadata':_0x36eeb2(_0x1f1045[_0x271191(0x294)],_0x1f1045['blockId']),'cursorOffset':_0x599df9[_0x271191(0x274)]};}function _0x35527e(_0x216be6){const _0x4c47bb=_0x5eba1f;let _0x2f3e70=_0x2dcdc4(_0x216be6['documentData']),_0x2983ee=_0x321b75(_0x2f3e70),_0x2b0f2c=_0x23b687(_0x2983ee,_0x216be6[_0x4c47bb(0x1f9)]);return _0x2b0f2c&&_0x4a292f(_0x2f3e70,_0x2983ee,_0x2b0f2c,_0x216be6['cursorOffset'],_0x216be6[_0x4c47bb(0x1eb)])||null;}function _0x4a292f(_0x19d64a,_0x1e085d,_0x6fef6f,_0x102397,_0x53b6d8){const _0x19e8eb=_0x5eba1f;let _0x3e6fbb=_0x4499fb(_0x1e085d,_0x6fef6f,_0x102397,_0x53b6d8);if(!_0x3e6fbb)return null;let _0x439fe3=_0x3e6fbb[_0x19e8eb(0x290)]-0x1;return _0x32bd45(_0x1e085d,_0x3e6fbb['paragraph']['startIndex'],_0x3e6fbb['paragraph'][_0x19e8eb(0x274)]+0x1),{'nextDocumentData':_0x19d64a,'cursorOffset':_0x439fe3};}function _0x5a4194(_0x12b845,_0x75d7ef){const _0x1bae7b=_0x5eba1f;var _0x31f19e;return _0x12b845==null||(_0x31f19e=_0x12b845[_0x1bae7b(0x210)])==null?void 0x0:_0x31f19e[_0x1bae7b(0x1e9)](_0x32aeb3=>_0x32aeb3['blockType']===_0x2a5329[_0x1bae7b(0x255)][_0x1bae7b(0x1d7)]&&_0x32aeb3['blockId']===_0x75d7ef);}function _0x30c98d(_0x4c4b36){const _0x2dd63e=_0x5eba1f;let _0xb01dad=_0x4c4b36[_0x2dd63e(0x248)][_0x2dd63e(0x1d1)];if(!_0xb01dad)return!0x1;let _0x51148c=_0x4c4b36['direction']===_0x2dd63e(0x24d)?_0x4c4b36[_0x2dd63e(0x1f9)]-0x1:_0x4c4b36[_0x2dd63e(0x1f9)],_0x18124f=_0x4c4b36[_0x2dd63e(0x27f)]===_0x2dd63e(0x25e)?_0x4c4b36['cursorOffset']+0x1:_0x51148c;return(_0xb01dad[_0x2dd63e(0x210)]??[])[_0x2dd63e(0x22c)](_0x195589=>_0x195589[_0x2dd63e(0x208)]===_0x2a5329['DocumentBlockRangeType'][_0x2dd63e(0x1d7)]?_0x51148c===_0x195589[_0x2dd63e(0x274)]||_0x51148c===_0x195589[_0x2dd63e(0x220)]||_0x18124f===_0x195589[_0x2dd63e(0x274)]||_0x18124f===_0x195589[_0x2dd63e(0x220)]:!0x1);}function _0x23b687(_0x35e2c7,_0x345974){const _0x59fe92=_0x5eba1f;var _0x1f2f90;return(_0x1f2f90=_0x35e2c7[_0x59fe92(0x210)])==null?void 0x0:_0x1f2f90[_0x59fe92(0x1e9)](_0x462958=>{const _0x56b4c4=_0x59fe92;let _0x575a02=_0x3793df(_0x462958);return _0x462958['blockType']===_0x2a5329[_0x56b4c4(0x255)][_0x56b4c4(0x1d7)]&&_0x462958['startIndex']<=_0x345974&&_0x345974<=_0x575a02+0x2;});}function _0x2c098a(_0x1b4f38,_0x29c7c7,_0x398f55=!0x1){const _0x5ec986=_0x5eba1f;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x2a5329[_0x5ec986(0x1ee)][_0x5ec986(0x1cd)],'keepNext':_0x29c7c7?_0x2a5329[_0x5ec986(0x1ee)]['FALSE']:_0x2a5329[_0x5ec986(0x1ee)][_0x5ec986(0x1cd)],'widowControl':_0x2a5329['BooleanNumber'][_0x5ec986(0x1cd)],..._0x1b4f38&&_0x398f55?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x128267,'fs':0xc}};}function _0x438f18(_0x18ffc7,_0x3021da,_0x1b0f14,_0x500421=!0x1){const _0x19c61c=_0x5eba1f;let _0x29c3cf=(_0x18ffc7[_0x19c61c(0x20b)]??[])['filter'](_0x3ca1b6=>_0x3ca1b6[_0x19c61c(0x274)]>_0x3021da&&_0x3ca1b6[_0x19c61c(0x274)]<_0x1b0f14);_0x29c3cf['forEach']((_0x26ac59,_0x13c142)=>{const _0x4c91e2=_0x19c61c;_0x26ac59[_0x4c91e2(0x28e)]={..._0x26ac59[_0x4c91e2(0x28e)]??{},..._0x2c098a(_0x13c142===0x0,_0x13c142===_0x29c3cf['length']-0x1,_0x500421)};});}function _0x5bbddb(_0x27d05c){const _0x8d07ce=_0x5eba1f;var _0x56884e,_0x3433fd;let _0x5764a1={..._0x27d05c??{}};return delete _0x5764a1[_0x8d07ce(0x257)],delete _0x5764a1[_0x8d07ce(0x286)],delete _0x5764a1[_0x8d07ce(0x20f)],delete _0x5764a1[_0x8d07ce(0x236)],delete _0x5764a1[_0x8d07ce(0x1ec)],delete _0x5764a1['keepNext'],delete _0x5764a1[_0x8d07ce(0x23b)],((_0x56884e=_0x5764a1[_0x8d07ce(0x297)])==null?void 0x0:_0x56884e['ff'])===_0x128267&&((_0x3433fd=_0x5764a1[_0x8d07ce(0x297)])==null?void 0x0:_0x3433fd['fs'])===0xc&&delete _0x5764a1['textStyle'],_0x5764a1;}function _0x2603e0(_0x139b2a,_0x19fbc0){const _0x408467=_0x5eba1f;let _0x1c0462=_0x3793df(_0x19fbc0);return(_0x139b2a['paragraphs']??[])['filter'](_0x270136=>_0x270136[_0x408467(0x274)]>_0x19fbc0['startIndex']&&_0x270136['startIndex']<_0x1c0462);}function _0x3b6089(_0xcd20a3,_0xfeea79){const _0x10ec2f=_0x5eba1f;var _0x459089;let _0x3c5629=_0x3793df(_0xfeea79);return _0x2603e0(_0xcd20a3,_0xfeea79)['forEach'](_0x3222ee=>{const _0x46d73a=_0x4537;_0x3222ee[_0x46d73a(0x28e)]=_0x5bbddb(_0x3222ee[_0x46d73a(0x28e)]);}),_0x32bd45(_0xcd20a3,_0x3c5629,_0x3c5629+0x1),_0x32bd45(_0xcd20a3,_0xfeea79['startIndex'],_0xfeea79[_0x10ec2f(0x274)]+0x1),_0xcd20a3[_0x10ec2f(0x210)]=(_0x459089=_0xcd20a3[_0x10ec2f(0x210)])==null?void 0x0:_0x459089['filter'](_0x1a29e7=>_0x1a29e7['blockId']!==_0xfeea79[_0x10ec2f(0x205)]),_0xfeea79['startIndex'];}function _0x2dcdc4(_0x334f86){const _0x3b3620=_0x5eba1f;return{..._0x334f86,'body':_0x334f86[_0x3b3620(0x1d1)]?_0x1bec5a(_0x334f86[_0x3b3620(0x1d1)]):_0x334f86['body']};}function _0x1bec5a(_0x4450c8){const _0x2dcb19=_0x5eba1f;var _0x4c630d,_0x55bdf9,_0x4829c8,_0x36a5c6,_0x3236ff,_0x29b7db,_0x5a6836,_0x163db4,_0x2cfe09;return{..._0x4450c8,'paragraphs':(_0x4c630d=_0x4450c8['paragraphs'])==null?void 0x0:_0x4c630d[_0x2dcb19(0x1e1)](_0x8ba0c8=>({..._0x8ba0c8,'bullet':_0x3a4ab0(_0x8ba0c8[_0x2dcb19(0x23d)]),'paragraphStyle':_0x3a4ab0(_0x8ba0c8[_0x2dcb19(0x28e)])})),'sectionBreaks':(_0x55bdf9=_0x4450c8['sectionBreaks'])==null?void 0x0:_0x55bdf9[_0x2dcb19(0x1e1)](_0x83ad94=>({..._0x83ad94})),'textRuns':(_0x4829c8=_0x4450c8[_0x2dcb19(0x1d9)])==null?void 0x0:_0x4829c8[_0x2dcb19(0x1e1)](_0x357c01=>({..._0x357c01})),'tables':(_0x36a5c6=_0x4450c8['tables'])==null?void 0x0:_0x36a5c6[_0x2dcb19(0x1e1)](_0x2fc37b=>({..._0x2fc37b})),'columnGroups':(_0x3236ff=_0x4450c8['columnGroups'])==null?void 0x0:_0x3236ff[_0x2dcb19(0x1e1)](_0x5afb6f=>{const _0x156253=_0x2dcb19;var _0x33e1d5;return{..._0x5afb6f,'columns':(_0x33e1d5=_0x5afb6f[_0x156253(0x296)])==null?void 0x0:_0x33e1d5[_0x156253(0x1e1)](_0x1fd7a8=>_0x3a4ab0(_0x1fd7a8))};}),'blockRanges':(_0x29b7db=_0x4450c8[_0x2dcb19(0x210)])==null?void 0x0:_0x29b7db[_0x2dcb19(0x1e1)](_0x32e888=>({..._0x32e888})),'customRanges':(_0x5a6836=_0x4450c8['customRanges'])==null?void 0x0:_0x5a6836[_0x2dcb19(0x1e1)](_0x2eef0e=>({..._0x2eef0e})),'customDecorations':(_0x163db4=_0x4450c8[_0x2dcb19(0x29d)])==null?void 0x0:_0x163db4[_0x2dcb19(0x1e1)](_0x219959=>({..._0x219959})),'customBlocks':(_0x2cfe09=_0x4450c8['customBlocks'])==null?void 0x0:_0x2cfe09[_0x2dcb19(0x1e1)](_0x2475c7=>({..._0x2475c7}))};}function _0x3a4ab0(_0x415ba3){const _0x155cb8=_0x5eba1f;return Array[_0x155cb8(0x209)](_0x415ba3)?_0x415ba3[_0x155cb8(0x1e1)](_0x4f476d=>_0x3a4ab0(_0x4f476d)):!_0x415ba3||typeof _0x415ba3!=_0x155cb8(0x247)?_0x415ba3:Object[_0x155cb8(0x1e0)](Object[_0x155cb8(0x1c3)](_0x415ba3)[_0x155cb8(0x1e1)](([_0x1e4f03,_0x58c7a5])=>[_0x1e4f03,_0x3a4ab0(_0x58c7a5)]));}function _0x321b75(_0x4b4b65){const _0xa9ca45=_0x5eba1f;if(!_0x4b4b65['body'])throw Error(_0xa9ca45(0x1e3));return _0x4b4b65[_0xa9ca45(0x1d1)];}function _0x33873c(_0x12a94a,_0x1c34cf,_0x4a7e59,_0x5be4ff='convert-paragraph'){const _0xc0c77=_0x5eba1f;if(_0x1c34cf==null||_0x4a7e59==null){let _0x38accf=_0x2b5be4(_0x12a94a);return{'startOffset':_0x38accf,'endOffset':_0x38accf};}let _0x4d69ab=Math[_0xc0c77(0x20a)](_0x1c34cf,_0x4a7e59),_0x23e7c6=Math[_0xc0c77(0x24c)](_0x1c34cf,_0x4a7e59),_0x38b49f=_0x17ec23(_0x12a94a,_0x4d69ab,_0x23e7c6);return _0x4d69ab===_0x23e7c6?_0x5be4ff===_0xc0c77(0x29b)?{'startOffset':_0x4d69ab,'endOffset':_0x23e7c6}:_0x2dfc79(_0x12a94a,_0x4d69ab,_0x38b49f):_0x12bb9b(_0x12a94a,_0x4d69ab,_0x23e7c6,_0x38b49f);}function _0x2dfc79(_0x51e38a,_0x35c04c,_0xeac873){const _0x28bab5=_0x5eba1f;let _0x1c03e4=_0x267e61(_0x51e38a,_0x35c04c);if(_0x1c03e4){let _0x1f34fb=_0x2937e2(_0x51e38a,_0x1c03e4,_0xeac873);if(_0x1f34fb<_0x1c03e4[_0x28bab5(0x274)])return{'startOffset':_0x1f34fb,'endOffset':_0xeac873?Math[_0x28bab5(0x20a)](_0x1c03e4[_0x28bab5(0x274)]+0x1,_0xeac873[_0x28bab5(0x1c4)]):_0x1c03e4[_0x28bab5(0x274)]+0x1};}let _0x12d639=_0x35c04c===0x0&&_0x51e38a['dataStream'][0x0]===_0x2a5329[_0x28bab5(0x27a)][_0x28bab5(0x292)]?0x1:_0x35c04c;return{'startOffset':_0x12d639,'endOffset':_0x12d639};}function _0x2b5be4(_0x3fff02){const _0xaad3c7=_0x5eba1f;return _0x3fff02[_0xaad3c7(0x1f0)][_0xaad3c7(0x246)](_0x2a5329[_0xaad3c7(0x27a)][_0xaad3c7(0x2a0)])?Math['max'](0x0,_0x3fff02[_0xaad3c7(0x1f0)]['length']-0x1):_0x3fff02[_0xaad3c7(0x1f0)]['length'];}function _0x278bb1(_0x5c01a4,_0x2a9448,_0x3a25c1){const _0x18b266=_0x5eba1f;var _0x159694;let _0x2c316f=Math['min'](_0x2a9448,_0x3a25c1),_0x42fc28=Math[_0x18b266(0x24c)](_0x2a9448,_0x3a25c1);return!!((_0x159694=_0x5c01a4[_0x18b266(0x20e)])!=null&&_0x159694[_0x18b266(0x22c)](_0x5e1887=>_0x2c316f>_0x5e1887[_0x18b266(0x274)]&&_0x2c316f<_0x5e1887[_0x18b266(0x220)]||_0x42fc28>_0x5e1887[_0x18b266(0x274)]&&_0x42fc28<_0x5e1887[_0x18b266(0x220)]||_0x2c316f<=_0x5e1887[_0x18b266(0x274)]&&_0x42fc28>=_0x5e1887[_0x18b266(0x220)]));}function _0x12bb9b(_0x289f35,_0xaf5f3d,_0xe3f4fd,_0x1d1b15){const _0x5873bd=_0x5eba1f;let _0x4663fb=[..._0x289f35[_0x5873bd(0x20b)]??[]][_0x5873bd(0x1d0)]((_0x201065,_0x3b4c29)=>_0x201065[_0x5873bd(0x274)]-_0x3b4c29['startIndex']),_0x52f12f=(0x0,_0x2a5329[_0x5873bd(0x270)])(_0x289f35),_0x353e50=_0x4663fb['find'](_0x3c1fdd=>_0x2937e2(_0x289f35,_0x3c1fdd,_0x1d1b15,_0x52f12f)<=_0xaf5f3d&&_0xaf5f3d<=_0x3c1fdd[_0x5873bd(0x274)]),_0x34e2fe=_0x4663fb[_0x5873bd(0x1e9)](_0x76c0e0=>_0x76c0e0[_0x5873bd(0x274)]>=_0xe3f4fd-0x1)??_0x4663fb[_0x4663fb['length']-0x1];return{'startOffset':_0x353e50?_0x2937e2(_0x289f35,_0x353e50,_0x1d1b15,_0x52f12f):_0xaf5f3d,'endOffset':_0x34e2fe?_0x3ef984(_0x34e2fe,_0x1d1b15):_0xe3f4fd};}function _0x267e61(_0x123ab7,_0x1d6d33){const _0x54bad3=_0x5eba1f;let _0xbb458d=[..._0x123ab7[_0x54bad3(0x20b)]??[]][_0x54bad3(0x1d0)]((_0x45d540,_0x233dbb)=>_0x45d540[_0x54bad3(0x274)]-_0x233dbb[_0x54bad3(0x274)]),_0xa355e7=(0x0,_0x2a5329[_0x54bad3(0x270)])(_0x123ab7);return _0xbb458d[_0x54bad3(0x1e9)](_0x2b8d73=>(_0xa355e7[_0x54bad3(0x1f2)](_0x2b8d73['startIndex'])??0x0)<=_0x1d6d33&&_0x1d6d33<=_0x2b8d73[_0x54bad3(0x274)]);}function _0x2937e2(_0x2e3544,_0x2c4609,_0xcedab7,_0x36b87c){const _0x2a78e5=_0x5eba1f;let _0x57e85e=(_0x36b87c==null?void 0x0:_0x36b87c[_0x2a78e5(0x1f2)](_0x2c4609[_0x2a78e5(0x274)]))??(0x0,_0x2a5329[_0x2a78e5(0x27b)])(_0x2e3544,_0x2c4609);return _0xcedab7?Math['max'](_0x57e85e,_0xcedab7[_0x2a78e5(0x25a)]):_0x57e85e;}function _0x3ef984(_0x21c44c,_0x3ed3b0){const _0x4f04de=_0x5eba1f;let _0xf4bf23=_0x21c44c[_0x4f04de(0x274)]+0x1;return _0x3ed3b0?Math['min'](_0xf4bf23,_0x3ed3b0[_0x4f04de(0x1c4)]):_0xf4bf23;}function _0x17ec23(_0x478d20,_0x35edae,_0x452402){const _0x10c60c=_0x5eba1f;let _0x60d220=_0x192407(_0x478d20,_0x35edae),_0x32817b=_0x192407(_0x478d20,_0x35edae===_0x452402?_0x452402:Math['max'](_0x35edae,_0x452402-0x1));if(_0x60d220||_0x32817b){if(!_0x60d220||!_0x32817b||_0x60d220[_0x10c60c(0x1f6)]!==_0x32817b['startTokenOffset']||_0x60d220[_0x10c60c(0x290)]!==_0x32817b[_0x10c60c(0x290)])throw new _0x2eaf3f();return _0x60d220;}}function _0x192407(_0x3e64ce,_0x584460){const _0xa36ab7=_0x5eba1f;let _0x24b7e7=_0x3e64ce[_0xa36ab7(0x1f0)],_0x351fcd=-0x1;for(let _0x533dfb=Math[_0xa36ab7(0x20a)](_0x584460,_0x24b7e7[_0xa36ab7(0x22b)]-0x1);_0x533dfb>=0x0;_0x533dfb--){let _0x5e365f=_0x24b7e7[_0x533dfb];if(_0x5e365f===_0x2a5329[_0xa36ab7(0x27a)][_0xa36ab7(0x1d6)])return;if(_0x5e365f===_0x2a5329[_0xa36ab7(0x27a)][_0xa36ab7(0x221)]){_0x351fcd=_0x533dfb;break;}}if(_0x351fcd<0x0)return;let _0x370728=_0x24b7e7[_0xa36ab7(0x234)](_0x2a5329[_0xa36ab7(0x27a)][_0xa36ab7(0x1d6)],_0x351fcd+0x1);if(!(_0x370728<0x0||_0x584460<_0x351fcd+0x1||_0x584460>_0x370728-0x1))return{'startOffset':_0x351fcd+0x1,'endOffset':Math[_0xa36ab7(0x24c)](_0x351fcd+0x1,_0x370728-0x1),'startTokenOffset':_0x351fcd,'endTokenOffset':_0x370728};}function _0x3793df(_0x218372){const _0x6681dc=_0x5eba1f;return(0x0,_0x2a5329[_0x6681dc(0x1fa)])(_0x218372)[_0x6681dc(0x1c4)]-0x1;}function _0x4499fb(_0x4edaf8,_0x3edbff,_0xc8a780,_0x3e3475){const _0x5a24ea=_0x5eba1f;let _0x13b779=_0x3793df(_0x3edbff),_0x18e6ad=(_0x4edaf8[_0x5a24ea(0x20b)]??[])[_0x5a24ea(0x1e9)](_0x3d19cf=>_0x3d19cf['startIndex']===_0x13b779+0x1);if(!_0x18e6ad||_0x3e3475!=null&&_0x18e6ad[_0x5a24ea(0x274)]!==_0x3e3475||_0xc8a780!=null&&(_0xc8a780<_0x13b779||_0xc8a780>_0x18e6ad[_0x5a24ea(0x274)]+0x1)||_0x4edaf8['dataStream'][_0x18e6ad['startIndex']]!==_0x2a5329[_0x5a24ea(0x27a)][_0x5a24ea(0x292)])return null;let _0xb94db7=(0x0,_0x2a5329[_0x5a24ea(0x27b)])(_0x4edaf8,_0x18e6ad),_0x2d106=_0x4edaf8[_0x5a24ea(0x1f0)]['slice'](_0xb94db7,_0x18e6ad[_0x5a24ea(0x274)]);return Array['from'](_0x2d106)[_0x5a24ea(0x24b)](_0x3ff9ef=>_0x3ff9ef===_0x2a5329[_0x5a24ea(0x27a)][_0x5a24ea(0x1cb)])?{'paragraph':_0x18e6ad,'endTokenOffset':_0x13b779}:null;}function _0x11e109(_0x2bc271,_0x470f62){const _0x56cc3d=_0x5eba1f;var _0x4d2255;let _0x44a20b=_0x3793df(_0x470f62),_0x3c6bb9=_0x2bc271[_0x56cc3d(0x1f0)][_0x44a20b+0x1];(_0x3c6bb9===_0x2a5329[_0x56cc3d(0x27a)]['SECTION_BREAK']||_0x3c6bb9===void 0x0)&&_0x5f3461(_0x2bc271,_0x44a20b+0x1,_0x2a5329[_0x56cc3d(0x27a)][_0x56cc3d(0x292)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x2a5329['createParagraphId'])(new Set((_0x4d2255=_0x2bc271[_0x56cc3d(0x20b)])==null?void 0x0:_0x4d2255[_0x56cc3d(0x1e1)](_0x3d54b3=>_0x3d54b3[_0x56cc3d(0x216)])))}]});}function _0x5f3461(_0x539cd3,_0x2da483,_0x4d5fba,_0x2c3dcc={}){const _0x11cd76=_0x5eba1f;var _0x123792,_0x4c99b2;_0x4d5fba&&(_0x539cd3['dataStream']=''+_0x539cd3[_0x11cd76(0x1f0)][_0x11cd76(0x211)](0x0,_0x2da483)+_0x4d5fba+_0x539cd3['dataStream'][_0x11cd76(0x211)](_0x2da483),_0x4ab265(_0x539cd3,_0x2da483,_0x4d5fba[_0x11cd76(0x22b)]),(_0x123792=_0x2c3dcc[_0x11cd76(0x20b)])!=null&&_0x123792['length']&&(_0x539cd3[_0x11cd76(0x20b)]=[..._0x539cd3[_0x11cd76(0x20b)]??[],..._0x2c3dcc[_0x11cd76(0x20b)][_0x11cd76(0x1e1)](_0x372eb3=>({..._0x372eb3,'startIndex':_0x372eb3[_0x11cd76(0x274)]+_0x2da483}))][_0x11cd76(0x1d0)]((_0x2f688b,_0x2ac80f)=>_0x2f688b[_0x11cd76(0x274)]-_0x2ac80f[_0x11cd76(0x274)])),(_0x4c99b2=_0x2c3dcc[_0x11cd76(0x210)])!=null&&_0x4c99b2[_0x11cd76(0x22b)]&&(_0x539cd3[_0x11cd76(0x210)]=[..._0x539cd3[_0x11cd76(0x210)]??[],..._0x2c3dcc[_0x11cd76(0x210)][_0x11cd76(0x1e1)](_0x194a40=>({..._0x194a40,'startIndex':_0x194a40[_0x11cd76(0x274)]+_0x2da483,'endIndex':_0x194a40[_0x11cd76(0x220)]+_0x2da483}))]['sort']((_0x291d48,_0x18e1ce)=>_0x291d48[_0x11cd76(0x274)]-_0x18e1ce[_0x11cd76(0x274)])));}function _0x32bd45(_0x222173,_0x4d8c46,_0x339fc5){const _0x2ca1c0=_0x5eba1f;let _0x2eecba=_0x339fc5-_0x4d8c46;_0x222173[_0x2ca1c0(0x1f0)]=''+_0x222173[_0x2ca1c0(0x1f0)]['slice'](0x0,_0x4d8c46)+_0x222173[_0x2ca1c0(0x1f0)][_0x2ca1c0(0x211)](_0x339fc5),_0x40922f(_0x222173,_0x4d8c46,_0x2eecba);}function _0x4ab265(_0xfc6850,_0x348ba0,_0x21b074){const _0x4a3572=_0x5eba1f;_0xfc6850['paragraphs']=_0x16e408(_0xfc6850['paragraphs'],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x299)]=_0x16e408(_0xfc6850[_0x4a3572(0x299)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1cf)]=_0x16e408(_0xfc6850[_0x4a3572(0x1cf)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1d9)]=_0x278b68(_0xfc6850['textRuns'],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x20e)]=_0x14b2b5(_0xfc6850[_0x4a3572(0x20e)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1ef)]=_0x505dc3(_0xfc6850[_0x4a3572(0x1ef)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x1da)]=_0x505dc3(_0xfc6850[_0x4a3572(0x1da)],_0x348ba0,_0x21b074),_0xfc6850[_0x4a3572(0x29d)]=_0x505dc3(_0xfc6850[_0x4a3572(0x29d)],_0x348ba0,_0x21b074),_0xfc6850['blockRanges']=_0x505dc3(_0xfc6850['blockRanges'],_0x348ba0,_0x21b074);}function _0x40922f(_0x17dc34,_0x129d55,_0x3635f1){const _0x3698d4=_0x5eba1f;var _0x402f12,_0x31edc5;_0x17dc34['paragraphs']=_0x1cb620(_0x17dc34[_0x3698d4(0x20b)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x299)]=_0x1cb620(_0x17dc34[_0x3698d4(0x299)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x1cf)]=_0x1cb620(_0x17dc34[_0x3698d4(0x1cf)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x1d9)]=(_0x402f12=_0x377cb6((_0x31edc5=_0x17dc34[_0x3698d4(0x1d9)])==null?void 0x0:_0x31edc5['map'](_0x4c0a29=>({..._0x4c0a29,'startIndex':_0x4c0a29['st'],'endIndex':_0x4c0a29['ed']})),_0x129d55,_0x3635f1))==null?void 0x0:_0x402f12[_0x3698d4(0x1e1)](_0x4be9a3=>{let {startIndex:_0x2945a1,endIndex:_0x886b01,..._0xa01ddd}=_0x4be9a3;return{..._0xa01ddd,'st':_0x2945a1,'ed':_0x886b01};}),_0x17dc34[_0x3698d4(0x20e)]=_0x377cb6(_0x17dc34['tables'],_0x129d55,_0x3635f1),_0x17dc34['columnGroups']=_0x47229d(_0x17dc34['columnGroups'],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x1da)]=_0x47229d(_0x17dc34[_0x3698d4(0x1da)],_0x129d55,_0x3635f1),_0x17dc34[_0x3698d4(0x29d)]=_0x47229d(_0x17dc34['customDecorations'],_0x129d55,_0x3635f1),_0x17dc34['blockRanges']=_0x47229d(_0x17dc34[_0x3698d4(0x210)],_0x129d55,_0x3635f1);}function _0x16e408(_0x52d2de,_0x111966,_0x4a4c55){const _0x2898a3=_0x5eba1f;return _0x52d2de==null?void 0x0:_0x52d2de[_0x2898a3(0x1e1)](_0x3a5ef5=>_0x3a5ef5['startIndex']>=_0x111966?{..._0x3a5ef5,'startIndex':_0x3a5ef5[_0x2898a3(0x274)]+_0x4a4c55}:_0x3a5ef5);}function _0x1cb620(_0xeafaac,_0x199790,_0x2cf9cc){const _0x165b58=_0x5eba1f;let _0x48e99f=_0x199790+_0x2cf9cc;return _0xeafaac==null?void 0x0:_0xeafaac[_0x165b58(0x1e1)](_0xc7edbb=>_0xc7edbb[_0x165b58(0x274)]>=_0x199790&&_0xc7edbb[_0x165b58(0x274)]<_0x48e99f?null:_0xc7edbb[_0x165b58(0x274)]>=_0x48e99f?{..._0xc7edbb,'startIndex':_0xc7edbb[_0x165b58(0x274)]-_0x2cf9cc}:_0xc7edbb)[_0x165b58(0x1e7)](_0x5848de=>_0x5848de!=null);}function _0x278b68(_0x450ede,_0x35b1b4,_0x25d207){const _0x359a13=_0x5eba1f;return _0x450ede==null?void 0x0:_0x450ede[_0x359a13(0x1e1)](_0x125dc8=>_0x125dc8['st']>=_0x35b1b4?{..._0x125dc8,'st':_0x125dc8['st']+_0x25d207,'ed':_0x125dc8['ed']+_0x25d207}:_0x125dc8['ed']>_0x35b1b4?{..._0x125dc8,'ed':_0x125dc8['ed']+_0x25d207}:_0x125dc8);}function _0x505dc3(_0x2cd76a,_0x248d36,_0xdd98f9){const _0x240a89=_0x5eba1f;return _0x2cd76a==null?void 0x0:_0x2cd76a[_0x240a89(0x1e1)](_0xe78652=>(0x0,_0x2a5329[_0x240a89(0x238)])(_0xe78652,_0x248d36,_0xdd98f9));}function _0x14b2b5(_0x4292b8,_0x5e427f,_0x23e432){const _0x4a7827=_0x5eba1f;return _0x4292b8==null?void 0x0:_0x4292b8[_0x4a7827(0x1e1)](_0x223ea3=>(0x0,_0x2a5329[_0x4a7827(0x20d)])(_0x223ea3,_0x5e427f,_0x23e432));}function _0x47229d(_0x43b68f,_0x595423,_0x27194c){const _0x5df005=_0x5eba1f;return _0x43b68f==null?void 0x0:_0x43b68f['map'](_0x557933=>(0x0,_0x2a5329[_0x5df005(0x278)])(_0x557933,_0x595423,_0x27194c))[_0x5df005(0x1e7)](_0x35808e=>_0x35808e!=null);}function _0x377cb6(_0x582216,_0x180543,_0x2f83c5){const _0x570485=_0x5eba1f;return _0x582216==null?void 0x0:_0x582216[_0x570485(0x1e1)](_0xfba115=>(0x0,_0x2a5329[_0x570485(0x27c)])(_0xfba115,_0x180543,_0x2f83c5))[_0x570485(0x1e7)](_0x7e80eb=>_0x7e80eb!=null);}let _0x4a06ef={'id':_0x5eba1f(0x28b),'type':_0x2a5329['CommandType'][_0x5eba1f(0x22e)],'handler':_0xa0f875=>{const _0x8f6d1=_0x5eba1f;var _0x33f8f5;if((0x0,_0xd998f[_0x8f6d1(0x295)])(_0x1fbbc0(_0xa0f875)))return!0x1;let _0x4dd31b=(0x0,_0xd998f['getContentInsertRange'])(_0xa0f875);if(_0x4dd31b)return _0xa0f875[_0x8f6d1(0x1f2)](_0x2a5329[_0x8f6d1(0x264)])[_0x8f6d1(0x269)](_0x4490c4['id'],{'startOffset':_0x4dd31b[_0x8f6d1(0x25a)],'endOffset':_0x4dd31b[_0x8f6d1(0x1c4)],'insertionMode':_0x8f6d1(0x29b),'unitId':_0x4dd31b[_0x8f6d1(0x1d2)]});let _0x4a8dd1=_0x42bb3b(_0xa0f875);if(!_0x4a8dd1)return!0x1;let _0x2bbc8a=(_0x33f8f5=_0xa0f875[_0x8f6d1(0x1f2)](_0x2a5329[_0x8f6d1(0x241)])[_0x8f6d1(0x1ea)](_0x2a5329['UniverInstanceType']['UNIVER_DOC']))==null?void 0x0:_0x33f8f5[_0x8f6d1(0x275)](),_0xcf2262=_0x2bbc8a?(0x0,_0x2a5329[_0x8f6d1(0x272)])(_0x2bbc8a,_0x4a8dd1):_0x4a8dd1[_0x8f6d1(0x274)]+0x1;return _0xa0f875[_0x8f6d1(0x1f2)](_0x2a5329[_0x8f6d1(0x264)])[_0x8f6d1(0x269)](_0x4490c4['id'],{'startOffset':_0xcf2262,'endOffset':_0xcf2262});}},_0x433134={'id':'docs-code.command.consume-boundary-delete','type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':()=>!0x0},_0x4490c4={'id':_0x5eba1f(0x26e),'type':_0x2a5329['CommandType'][_0x5eba1f(0x22e)],'handler':(_0x4a4a2f,_0x2f0ee2)=>{const _0xb64ba1=_0x5eba1f;let _0x194910=_0x256f15(_0x4a4a2f,_0x2f0ee2==null?void 0x0:_0x2f0ee2[_0xb64ba1(0x1d2)]);if(!_0x194910)return!0x1;let _0x198deb=_0x1fbbc0(_0x4a4a2f);if((0x0,_0xd998f['isHeaderFooterSelection'])(_0x198deb))return!0x1;let _0x61bdf0=_0x194910['model'][_0xb64ba1(0x235)](_0x194910[_0xb64ba1(0x1d2)]),_0x40c446=_0x6c6bd2(_0x2f0ee2,_0x198deb),_0x2f4057=_0x346731(_0x194910['previousDocumentData'],_0x40c446);if(_0x2f4057){if(_0x2f4057['blockType']!==_0x2a5329[_0xb64ba1(0x255)][_0xb64ba1(0x1d7)])return!0x1;let _0x308e51=_0x31f425({'blockId':_0x2f4057[_0xb64ba1(0x205)],'documentData':_0x194910[_0xb64ba1(0x1dc)],'metadata':_0x61bdf0});if(!_0x308e51)return!0x1;let _0x10649c=_0x45182a(_0x194910[_0xb64ba1(0x1f1)],_0x194910['selectionManager'],_0x194910[_0xb64ba1(0x1d2)],_0x194910[_0xb64ba1(0x1dc)],_0x308e51['nextDocumentData'],_0x4490c4['id'],_0x308e51['cursorOffset']);return _0x10649c&&_0x308e51[_0xb64ba1(0x222)]&&_0x194910[_0xb64ba1(0x26b)][_0xb64ba1(0x1d3)](_0x194910['unitId'],_0x308e51['nextMetadata']),_0x10649c;}let _0x334030=(_0x2f0ee2==null?void 0x0:_0x2f0ee2[_0xb64ba1(0x205)])??(0x0,_0x2a5329['generateRandomId'])(0x6),_0x423050;try{_0x423050=_0x405f43({'blockId':_0x334030,'config':_0x2f0ee2==null?void 0x0:_0x2f0ee2['config'],'documentData':_0x194910[_0xb64ba1(0x1dc)],'endOffset':_0x40c446==null?void 0x0:_0x40c446[_0xb64ba1(0x1c4)],'insertionMode':_0x2f0ee2==null?void 0x0:_0x2f0ee2[_0xb64ba1(0x200)],'metadata':_0x61bdf0,'startOffset':_0x40c446==null?void 0x0:_0x40c446[_0xb64ba1(0x25a)]});}catch(_0x4d6c2a){if(_0x4d6c2a instanceof _0x2eaf3f)return!0x1;throw _0x4d6c2a;}let _0x480c63=_0x45182a(_0x194910[_0xb64ba1(0x1f1)],_0x194910['selectionManager'],_0x194910['unitId'],_0x194910[_0xb64ba1(0x1dc)],_0x423050[_0xb64ba1(0x232)],_0x4490c4['id'],_0x423050[_0xb64ba1(0x1f9)]);return _0x480c63&&_0x423050[_0xb64ba1(0x222)]&&_0x194910[_0xb64ba1(0x26b)][_0xb64ba1(0x1d3)](_0x194910[_0xb64ba1(0x1d2)],_0x423050[_0xb64ba1(0x222)]),_0x480c63;}},_0x25d2bc={'id':_0x5eba1f(0x29a),'type':_0x2a5329['CommandType']['COMMAND'],'handler':(_0x37101b,_0xad11fe)=>{const _0x4f293e=_0x5eba1f;if(!_0xad11fe)return!0x1;let _0x41f5ef=_0x256f15(_0x37101b,_0xad11fe[_0x4f293e(0x1d2)]);if(!_0x41f5ef)return!0x1;let _0x2ac41c=_0xfd46a5({'blockId':_0xad11fe[_0x4f293e(0x205)],'config':_0xad11fe['config'],'documentData':_0x41f5ef[_0x4f293e(0x1dc)],'metadata':_0x41f5ef[_0x4f293e(0x26b)][_0x4f293e(0x235)](_0x41f5ef[_0x4f293e(0x1d2)])});return _0x2ac41c['nextMetadata']&&_0x41f5ef[_0x4f293e(0x26b)][_0x4f293e(0x1d3)](_0x41f5ef[_0x4f293e(0x1d2)],_0x2ac41c[_0x4f293e(0x222)]),!0x0;}},_0x589ed4={'id':_0x5eba1f(0x23c),'type':_0x2a5329[_0x5eba1f(0x1ed)]['COMMAND'],'handler':(_0x304d41,_0x88de98)=>_0x5c7341[_0x5eba1f(0x1c6)](_0x304d41,_0x88de98)},_0x5c7341={'id':'docs-code.command.unwrap','type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':(_0x49fb62,_0x4e29f5)=>{const _0x206926=_0x5eba1f;if(!_0x4e29f5)return!0x1;let _0x6c2898=_0x256f15(_0x49fb62,_0x4e29f5==null?void 0x0:_0x4e29f5[_0x206926(0x1d2)]);if(!_0x6c2898)return!0x1;let _0x2a25e8=_0x31f425({'blockId':_0x4e29f5[_0x206926(0x205)],'documentData':_0x6c2898[_0x206926(0x1dc)],'metadata':_0x6c2898[_0x206926(0x26b)][_0x206926(0x235)](_0x6c2898[_0x206926(0x1d2)])});if(!_0x2a25e8)return!0x1;let _0x3c8f10=_0x45182a(_0x6c2898[_0x206926(0x1f1)],_0x6c2898[_0x206926(0x268)],_0x6c2898['unitId'],_0x6c2898['previousDocumentData'],_0x2a25e8[_0x206926(0x232)],_0x5c7341['id'],_0x2a25e8[_0x206926(0x1f9)]);return _0x3c8f10&&_0x2a25e8[_0x206926(0x222)]&&_0x6c2898[_0x206926(0x26b)][_0x206926(0x1d3)](_0x6c2898['unitId'],_0x2a25e8[_0x206926(0x222)]),_0x3c8f10;}},_0xabeec1={'id':_0x5eba1f(0x26a),'type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':(_0x583e0c,_0x12ff85)=>{const _0xee2db5=_0x5eba1f;if(!_0x12ff85)return!0x1;let _0x2fe77c=_0x256f15(_0x583e0c,_0x12ff85==null?void 0x0:_0x12ff85[_0xee2db5(0x1d2)]);if(!_0x2fe77c)return!0x1;let _0x338422=_0x1c7443({'blockId':_0x12ff85[_0xee2db5(0x205)],'documentData':_0x2fe77c[_0xee2db5(0x1dc)],'metadata':_0x2fe77c['model'][_0xee2db5(0x235)](_0x2fe77c['unitId'])});if(!_0x338422)return!0x1;let _0x46a359=_0x45182a(_0x2fe77c[_0xee2db5(0x1f1)],_0x2fe77c[_0xee2db5(0x268)],_0x2fe77c[_0xee2db5(0x1d2)],_0x2fe77c[_0xee2db5(0x1dc)],_0x338422['nextDocumentData'],_0xabeec1['id'],_0x338422['cursorOffset']);return _0x46a359&&_0x338422['nextMetadata']&&_0x2fe77c['model'][_0xee2db5(0x1d3)](_0x2fe77c[_0xee2db5(0x1d2)],_0x338422[_0xee2db5(0x222)]),_0x46a359;}},_0xb5bab8={'id':'docs-code.command.cancel-empty-paragraph','type':_0x2a5329[_0x5eba1f(0x1ed)][_0x5eba1f(0x22e)],'handler':(_0x3eacbf,_0x47a9f2)=>{const _0x5731fe=_0x5eba1f;var _0x4e4297;let _0x391168=_0x256f15(_0x3eacbf,_0x47a9f2==null?void 0x0:_0x47a9f2['unitId']);if(!_0x391168)return!0x1;let _0xcd83af=(_0x47a9f2==null?void 0x0:_0x47a9f2['cursorOffset'])??((_0x4e4297=_0x1fbbc0(_0x3eacbf))==null?void 0x0:_0x4e4297[_0x5731fe(0x25a)]);if(_0xcd83af==null)return!0x1;let _0x57e765=_0x35527e({'cursorOffset':_0xcd83af,'documentData':_0x391168['previousDocumentData'],'paragraphStartIndex':_0x47a9f2==null?void 0x0:_0x47a9f2[_0x5731fe(0x1eb)]});return _0x57e765?_0x45182a(_0x391168[_0x5731fe(0x1f1)],_0x391168['selectionManager'],_0x391168[_0x5731fe(0x1d2)],_0x391168[_0x5731fe(0x1dc)],_0x57e765[_0x5731fe(0x232)],_0xb5bab8['id'],_0x57e765['cursorOffset']):!0x1;}};function _0x256f15(_0x4fa2c6,_0x389b11){const _0x402caf=_0x5eba1f;let _0x2105c6=_0x4fa2c6[_0x402caf(0x1f2)](_0x2a5329['IUniverInstanceService']),_0x379a2d=_0x389b11?_0x2105c6[_0x402caf(0x207)](_0x389b11,_0x2a5329[_0x402caf(0x263)][_0x402caf(0x1fb)]):_0x2105c6[_0x402caf(0x1ea)](_0x2a5329[_0x402caf(0x263)]['UNIVER_DOC']);return _0x379a2d?{'commandService':_0x4fa2c6['get'](_0x2a5329[_0x402caf(0x264)]),'model':_0x4fa2c6[_0x402caf(0x1f2)](_0x2b6374),'previousDocumentData':_0x379a2d[_0x402caf(0x214)](),'selectionManager':_0x4fa2c6[_0x402caf(0x1f2)](_0xd998f['DocSelectionManagerService']),'unitId':_0x379a2d[_0x402caf(0x26c)]()}:null;}function _0x1fbbc0(_0x92e7ba){const _0x2bf321=_0x5eba1f;var _0x3df33d;return(_0x3df33d=_0x92e7ba[_0x2bf321(0x1f2)](_0xd998f[_0x2bf321(0x230)])['getTextRanges']())==null?void 0x0:_0x3df33d[0x0];}function _0x6c6bd2(_0x4e14fb,_0x3d2176){const _0x20286f=_0x5eba1f;let _0x54bc37=(_0x4e14fb==null?void 0x0:_0x4e14fb[_0x20286f(0x25a)])??(_0x3d2176==null?void 0x0:_0x3d2176[_0x20286f(0x25a)]),_0x1f30db=(_0x4e14fb==null?void 0x0:_0x4e14fb['endOffset'])??(_0x3d2176==null?void 0x0:_0x3d2176[_0x20286f(0x1c4)]);if(_0x54bc37!=null&&_0x1f30db!=null)return{'endOffset':Math[_0x20286f(0x24c)](_0x54bc37,_0x1f30db),'startOffset':Math[_0x20286f(0x20a)](_0x54bc37,_0x1f30db)};}function _0x346731(_0x1b9125,_0x2d2f33){const _0x2ba0ff=_0x5eba1f;var _0x215902;if(!_0x2d2f33)return;let _0x189bdf=_0x595e79(_0x2d2f33);return(_0x215902=_0x1b9125['body'])==null||(_0x215902=_0x215902['blockRanges'])==null?void 0x0:_0x215902[_0x2ba0ff(0x1e9)](_0x325498=>{const _0x2e6301=_0x2ba0ff;let _0x2e4d5=(0x0,_0x2a5329[_0x2e6301(0x1fa)])(_0x325498);return _0x2d2f33[_0x2e6301(0x25a)]===_0x2d2f33['endOffset']?(0x0,_0x2a5329[_0x2e6301(0x261)])(_0x2e4d5,_0x189bdf):(0x0,_0x2a5329[_0x2e6301(0x26f)])(_0x2e4d5,_0x189bdf);});}function _0x595e79(_0x223c19){const _0x34328b=_0x5eba1f;return _0x223c19[_0x34328b(0x25a)]===_0x223c19['endOffset']?_0x223c19[_0x34328b(0x25a)]:_0x223c19[_0x34328b(0x25a)]+0x1;}function _0x42bb3b(_0x403361){const _0x5450ab=_0x5eba1f;let _0x4eb216=_0x1fbbc0(_0x403361);if(!_0x4eb216)return null;let _0x3c6f40=_0x403361[_0x5450ab(0x1f2)](_0x2a5329[_0x5450ab(0x241)])[_0x5450ab(0x1ea)](_0x2a5329['UniverInstanceType']['UNIVER_DOC']),_0x640c=_0x3c6f40==null?void 0x0:_0x3c6f40[_0x5450ab(0x275)]();return _0x640c?_0x2a5329[_0x5450ab(0x282)][_0x5450ab(0x1de)][_0x5450ab(0x284)](_0x4eb216,_0x640c['paragraphs']??[],_0x640c['dataStream']??'')[0x0]??null:null;}function _0x31a552(_0x347aad,_0x5b8488){const _0x2a1eb6=_0x5eba1f;let _0x392ec4=_0x347aad[_0x2a1eb6(0x1d1)],_0x4adaea=_0x5b8488[_0x2a1eb6(0x1d1)],_0x554088=(0x0,_0x2a5329['getSingleDataStreamChange'])(_0x392ec4,_0x4adaea);return[_0x554088&&_0x4adaea?_0x75971f(_0x4adaea,_0x554088):null,_0x554088?null:_0x167375(_0x392ec4,_0x4adaea)]['filter'](Boolean)['reduce']((_0x47b845,_0x2c4a31)=>_0x2a5329[_0x2a1eb6(0x1fe)]['compose'](_0x47b845,_0x2c4a31),null);}function _0x75971f(_0x375dea,_0x25be4b){const _0x466420=_0x5eba1f;let _0x1f5065=new _0x2a5329[(_0x466420(0x24a))]();return _0x1f5065[_0x466420(0x265)](_0x25be4b[_0x466420(0x253)]),_0x25be4b['insertLength']>0x0&&_0x1f5065[_0x466420(0x29c)](_0x25be4b[_0x466420(0x217)],(0x0,_0x2a5329[_0x466420(0x1f5)])(_0x375dea,_0x25be4b[_0x466420(0x253)],_0x25be4b[_0x466420(0x253)]+_0x25be4b[_0x466420(0x217)],!0x1)),_0x25be4b[_0x466420(0x21f)]>0x0&&_0x1f5065[_0x466420(0x1e6)](_0x25be4b[_0x466420(0x21f)]),_0x2a5329[_0x466420(0x1fe)][_0x466420(0x1df)]()['editOp'](_0x1f5065['serialize'](),['body']);}function _0x167375(_0x37862d,_0x8ab408){const _0x44c746=_0x5eba1f;let _0x4677b9=[],_0x36a8ff=_0x37862d?_0x3990f5(_0x37862d):void 0x0,_0x4a7dff=_0x8ab408?_0x3990f5(_0x8ab408):void 0x0;for(let _0x155d88 of _0x18f7dc)_0x3a517c(_0x2a5329['JSONX'][_0x44c746(0x1df)](),[_0x44c746(0x1d1),_0x155d88],_0x36a8ff==null?void 0x0:_0x36a8ff[_0x155d88],_0x4a7dff==null?void 0x0:_0x4a7dff[_0x155d88],_0x4677b9);return _0x4677b9[_0x44c746(0x21c)]((_0x51489f,_0x8aa602)=>_0x2a5329[_0x44c746(0x1fe)][_0x44c746(0x250)](_0x51489f,_0x8aa602),null);}let _0x18f7dc=[_0x5eba1f(0x20b),'sectionBreaks',_0x5eba1f(0x20e),_0x5eba1f(0x1ef),'blockRanges',_0x5eba1f(0x1cf),_0x5eba1f(0x1da),'customDecorations',_0x5eba1f(0x1d9)];function _0x3990f5(_0x33c1a4){return _0x33c1a4;}function _0x3a517c(_0x3f2ca8,_0x1e2c66,_0x262ab5,_0x308330,_0x75c502){const _0x107433=_0x5eba1f;_0x5b09a4(_0x262ab5,_0x308330)||(_0x262ab5==null?_0x75c502[_0x107433(0x229)](_0x3f2ca8[_0x107433(0x271)](_0x1e2c66,_0x308330)):_0x308330==null?_0x75c502[_0x107433(0x229)](_0x3f2ca8[_0x107433(0x224)](_0x1e2c66,_0x262ab5)):Array[_0x107433(0x209)](_0x262ab5)&&Array[_0x107433(0x209)](_0x308330)?_0x337a32(_0x3f2ca8,_0x1e2c66,_0x262ab5,_0x308330,_0x75c502):_0x2fcea9(_0x262ab5)&&_0x2fcea9(_0x308330)?new Set([...Object[_0x107433(0x21b)](_0x262ab5),...Object['keys'](_0x308330)])['forEach'](_0x55d822=>{_0x3a517c(_0x3f2ca8,[..._0x1e2c66,_0x55d822],_0x262ab5[_0x55d822],_0x308330[_0x55d822],_0x75c502);}):_0x75c502[_0x107433(0x229)](_0x3f2ca8['replaceOp'](_0x1e2c66,_0x262ab5,_0x308330)));}function _0x337a32(_0x2a5df4,_0x559b0e,_0x14364f,_0x35442d,_0x1584dd){const _0xfc70b1=_0x5eba1f;if(_0x14364f[_0xfc70b1(0x22b)]===_0x35442d[_0xfc70b1(0x22b)]){_0x14364f[_0xfc70b1(0x25c)]((_0x11c870,_0x131cd6)=>_0x3a517c(_0x2a5df4,[..._0x559b0e,_0x131cd6],_0x11c870,_0x35442d[_0x131cd6],_0x1584dd));return;}let _0x427b61=0x0;for(;_0x427b61<_0x14364f[_0xfc70b1(0x22b)]&&_0x427b61<_0x35442d[_0xfc70b1(0x22b)]&&_0x5b09a4(_0x14364f[_0x427b61],_0x35442d[_0x427b61]);)_0x427b61++;let _0x45e72c=_0x14364f[_0xfc70b1(0x22b)]-0x1,_0x13000d=_0x35442d[_0xfc70b1(0x22b)]-0x1;for(;_0x45e72c>=_0x427b61&&_0x13000d>=_0x427b61&&_0x5b09a4(_0x14364f[_0x45e72c],_0x35442d[_0x13000d]);)_0x45e72c--,_0x13000d--;for(let _0x277ec2=_0x45e72c;_0x277ec2>=_0x427b61;_0x277ec2--)_0x1584dd['push'](_0x2a5df4['removeOp']([..._0x559b0e,_0x277ec2],_0x14364f[_0x277ec2]));for(let _0xa27b66=_0x427b61;_0xa27b66<=_0x13000d;_0xa27b66++)_0x1584dd[_0xfc70b1(0x229)](_0x2a5df4['insertOp']([..._0x559b0e,_0xa27b66],_0x35442d[_0xa27b66]));}function _0x2fcea9(_0x41a6f1){const _0x4c61a7=_0x5eba1f;return typeof _0x41a6f1==_0x4c61a7(0x247)&&!!_0x41a6f1&&!Array[_0x4c61a7(0x209)](_0x41a6f1);}function _0x5b09a4(_0xcfd66b,_0x4e447f){const _0x582fad=_0x5eba1f;return JSON[_0x582fad(0x204)](_0xcfd66b)===JSON[_0x582fad(0x204)](_0x4e447f);}function _0x45182a(_0x137389,_0x4c805c,_0x4da838,_0x47d853,_0x1c942e,_0x1a179a,_0x279074){const _0x3dd51c=_0x5eba1f;let _0x49df92=_0x31a552(_0x47d853,_0x1c942e);return _0x49df92?!!_0x137389[_0x3dd51c(0x269)](_0xd998f[_0x3dd51c(0x201)]['id'],{'unitId':_0x4da838,'actions':_0x49df92,'textRanges':[{'startOffset':_0x279074,'endOffset':_0x279074,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x1a179a}):(_0x4c805c[_0x3dd51c(0x1e2)]([{'startOffset':_0x279074,'endOffset':_0x279074}],{'unitId':_0x4da838,'subUnitId':_0x4da838},!0x1),!0x0);}let _0x3d4c46=_0x5eba1f(0x243);var _0x46dcf4=_0x5eba1f(0x203),_0x12e3ce=_0x5eba1f(0x21a);let _0x166a79={};function _0x18b440(_0x5d8a80,_0x5db2de){return function(_0x5391eb,_0xb5b7f5){_0x5db2de(_0x5391eb,_0xb5b7f5,_0x5d8a80);};}function _0x573885(_0x4d1e57,_0x20db97,_0x160100,_0x2db468){const _0x524002=_0x5eba1f;var _0x17e286=arguments[_0x524002(0x22b)],_0x4cf663=_0x17e286<0x3?_0x20db97:_0x2db468===null?_0x2db468=Object[_0x524002(0x259)](_0x20db97,_0x160100):_0x2db468,_0x48d1a4;if(typeof Reflect==_0x524002(0x247)&&typeof Reflect[_0x524002(0x280)]==_0x524002(0x1f8))_0x4cf663=Reflect['decorate'](_0x4d1e57,_0x20db97,_0x160100,_0x2db468);else{for(var _0x2957bd=_0x4d1e57['length']-0x1;_0x2957bd>=0x0;_0x2957bd--)(_0x48d1a4=_0x4d1e57[_0x2957bd])&&(_0x4cf663=(_0x17e286<0x3?_0x48d1a4(_0x4cf663):_0x17e286>0x3?_0x48d1a4(_0x20db97,_0x160100,_0x4cf663):_0x48d1a4(_0x20db97,_0x160100))||_0x4cf663);}return _0x17e286>0x3&&_0x4cf663&&Object[_0x524002(0x23a)](_0x20db97,_0x160100,_0x4cf663),_0x4cf663;}let _0x4db51d=class extends _0x2a5329['Disposable']{constructor(_0x68503e,_0x2a512c){const _0xabd527=_0x5eba1f;super(),this['_resourceManagerService']=_0x68503e,this[_0xabd527(0x202)]=_0x2a512c,this[_0xabd527(0x1ca)]();}[_0x5eba1f(0x1ca)](){const _0xc0e741=_0x5eba1f;this[_0xc0e741(0x1e8)](this[_0xc0e741(0x262)][_0xc0e741(0x28a)]({'pluginName':_0x3d4c46,'businesses':[_0x2a5329[_0xc0e741(0x263)][_0xc0e741(0x1fb)]],'toJson':_0x20ecd0=>JSON[_0xc0e741(0x204)](this['_docsCodeModel'][_0xc0e741(0x235)](_0x20ecd0)),'parseJson':_0x26b294=>_0x3bd20a(JSON[_0xc0e741(0x266)](_0x26b294)),'onLoad':(_0x357423,_0x2a596f)=>this[_0xc0e741(0x202)][_0xc0e741(0x1d3)](_0x357423,_0x2a596f),'onUnLoad':_0x5f3c23=>this[_0xc0e741(0x202)]['removeUnit'](_0x5f3c23)}));}};_0x4db51d=_0x573885([_0x18b440(0x0,_0x2a5329[_0x5eba1f(0x1fc)]),_0x18b440(0x1,(0x0,_0x2a5329[_0x5eba1f(0x25b)])(_0x2b6374))],_0x4db51d);let _0x22959a=class extends _0x2a5329[_0x5eba1f(0x258)]{constructor(_0x452a45=_0x166a79,_0x869823,_0xc4e533,_0x21704e){const _0x45880c=_0x5eba1f;super(),this[_0x45880c(0x267)]=_0x452a45,this[_0x45880c(0x228)]=_0x869823,this['_commandService']=_0xc4e533,this[_0x45880c(0x23f)]=_0x21704e;let {..._0x5124f7}=(0x0,_0x2a5329[_0x45880c(0x1c7)])({},_0x166a79,this[_0x45880c(0x267)]);this[_0x45880c(0x23f)][_0x45880c(0x242)]('docs-code.config',_0x5124f7);}[_0x5eba1f(0x245)](){const _0x51bd1b=_0x5eba1f;this['_injector']['add']([_0x2b6374]),this['_injector']['add']([_0x4db51d]),this[_0x51bd1b(0x228)]['get'](_0x2b6374),this[_0x51bd1b(0x228)][_0x51bd1b(0x1f2)](_0x4db51d),[_0x4490c4,_0x4a06ef,_0x25d2bc,_0x5c7341,_0xabeec1,_0x589ed4,_0xb5bab8,_0x433134,_0xfea112,_0x46da34][_0x51bd1b(0x25c)](_0x5159e0=>this[_0x51bd1b(0x1e8)](this[_0x51bd1b(0x22a)][_0x51bd1b(0x291)](_0x5159e0)));}};_0x18c008(_0x22959a,_0x5eba1f(0x289),_0x3d4c46),_0x18c008(_0x22959a,_0x5eba1f(0x252),_0x46dcf4),_0x18c008(_0x22959a,_0x5eba1f(0x21e),_0x12e3ce),_0x18c008(_0x22959a,_0x5eba1f(0x1e4),_0x2a5329['UniverInstanceType'][_0x5eba1f(0x1fb)]),_0x22959a=_0x573885([(0x0,_0x2a5329[_0x5eba1f(0x273)])(_0x2a235e[_0x5eba1f(0x2a2)],_0xd998f[_0x5eba1f(0x26d)]),_0x18b440(0x1,(0x0,_0x2a5329['Inject'])(_0x2a5329[_0x5eba1f(0x24e)])),_0x18b440(0x2,_0x2a5329[_0x5eba1f(0x264)]),_0x18b440(0x3,_0x2a5329[_0x5eba1f(0x237)])],_0x22959a),_0x20031a[_0x5eba1f(0x293)]=_0x3d4c46,_0x20031a[_0x5eba1f(0x21d)]=_0xb5bab8,_0x20031a[_0x5eba1f(0x2a1)]=_0x433134,_0x20031a[_0x5eba1f(0x1d5)]=_0x4a06ef,_0x20031a['DocsCodeInsertCommand']=_0x4490c4,_0x20031a[_0x5eba1f(0x213)]=_0x2b6374,_0x20031a[_0x5eba1f(0x226)]=_0xabeec1,_0x20031a[_0x5eba1f(0x233)]=_0x5c7341,_0x20031a[_0x5eba1f(0x24f)]=_0x25d2bc,_0x20031a[_0x5eba1f(0x22d)]=_0x46da34,_0x20031a[_0x5eba1f(0x277)]=_0xfea112,Object[_0x5eba1f(0x23a)](_0x20031a,_0x5eba1f(0x20c),{'enumerable':!0x0,'get':function(){return _0x22959a;}}),_0x20031a['buildCancelEmptyCodeParagraphActions']=_0x35527e,_0x20031a[_0x5eba1f(0x287)]=_0x30c98d,_0x20031a[_0x5eba1f(0x22f)]=_0x4f674c,_0x20031a[_0x5eba1f(0x281)]=_0x3bd20a;}));
|
|
1
|
+
(function(_0x206131,_0x3b51bf){const _0x187af0=_0x580a,_0x57e7dc=_0x206131();while(!![]){try{const _0x2d4692=parseInt(_0x187af0(0x168))/0x1*(parseInt(_0x187af0(0x112))/0x2)+parseInt(_0x187af0(0x134))/0x3*(-parseInt(_0x187af0(0x129))/0x4)+-parseInt(_0x187af0(0x182))/0x5+parseInt(_0x187af0(0x118))/0x6+parseInt(_0x187af0(0x16a))/0x7+-parseInt(_0x187af0(0x10a))/0x8*(-parseInt(_0x187af0(0x105))/0x9)+-parseInt(_0x187af0(0xdb))/0xa;if(_0x2d4692===_0x3b51bf)break;else _0x57e7dc['push'](_0x57e7dc['shift']());}catch(_0x59aad8){_0x57e7dc['push'](_0x57e7dc['shift']());}}}(_0x8da3,0xedb9b),function(_0x323f41,_0x53b707){const _0x106d8a=_0x580a;typeof exports=='object'&&typeof module<'u'?_0x53b707(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x106d8a(0x18d)&&define[_0x106d8a(0xfd)]?define([_0x106d8a(0xf3),'@univerjs/core','rxjs','@univerjs/docs','@univerjs-pro/license'],_0x53b707):(_0x323f41=typeof globalThis<'u'?globalThis:_0x323f41||self,_0x53b707(_0x323f41['UniverProDocsCode']={},_0x323f41[_0x106d8a(0x170)],_0x323f41[_0x106d8a(0x188)],_0x323f41['UniverDocs'],_0x323f41[_0x106d8a(0x136)]));}(this,function(_0x3acef2,_0xd38cf3,_0x3e42bb,_0x4f58d8,_0x3332d7){const _0x2afdb6=_0x580a;Object[_0x2afdb6(0x121)](_0x3acef2,Symbol[_0x2afdb6(0x142)],{'value':_0x2afdb6(0xe6)});let _0x493fbc={'language':'javascript','showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x212ab5(_0x4285cd){return{..._0x493fbc,..._0x4285cd};}function _0x3133e5(_0x1b5598){const _0x542bf9=_0x2afdb6;let _0x352263=(_0x1b5598==null?void 0x0:_0x1b5598['codes'])??{};return{'codes':Object['fromEntries'](Object['entries'](_0x352263)[_0x542bf9(0x151)](([_0x40fc90,_0x4c9684])=>[_0x40fc90,_0x212ab5(_0x4c9684)]))};}function _0x366088(_0x1f3062,_0x105d0b,_0x534050){const _0x391fad=_0x2afdb6;let _0x22a6ee=_0x3133e5(_0x1f3062);return _0x22a6ee['codes'][_0x105d0b]=_0x212ab5({..._0x22a6ee[_0x391fad(0xd7)][_0x105d0b],..._0x534050}),_0x22a6ee;}function _0x24a4c4(_0x5a2bad,_0x3c97cf){const _0x39b11e=_0x2afdb6;let _0x3bd9c4=_0x3133e5(_0x5a2bad);return delete _0x3bd9c4[_0x39b11e(0xd7)][_0x3c97cf],_0x3bd9c4;}function _0x36567b(_0x25dbf0){'@babel/helpers - typeof';const _0x2ec989=_0x2afdb6;return _0x36567b=typeof Symbol==_0x2ec989(0x18d)&&typeof Symbol[_0x2ec989(0xd4)]==_0x2ec989(0x195)?function(_0x372ee1){return typeof _0x372ee1;}:function(_0x2b49ce){const _0x459f98=_0x2ec989;return _0x2b49ce&&typeof Symbol==_0x459f98(0x18d)&&_0x2b49ce[_0x459f98(0x169)]===Symbol&&_0x2b49ce!==Symbol['prototype']?_0x459f98(0x195):typeof _0x2b49ce;},_0x36567b(_0x25dbf0);}function _0x43465d(_0x5cb610,_0x5c82d6){const _0x2327ca=_0x2afdb6;if(_0x36567b(_0x5cb610)!='object'||!_0x5cb610)return _0x5cb610;var _0x330d23=_0x5cb610[Symbol[_0x2327ca(0x150)]];if(_0x330d23!==void 0x0){var _0x4dd7bd=_0x330d23[_0x2327ca(0x162)](_0x5cb610,_0x5c82d6||'default');if(_0x36567b(_0x4dd7bd)!=_0x2327ca(0x17f))return _0x4dd7bd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5c82d6===_0x2327ca(0x103)?String:Number)(_0x5cb610);}function _0x29ead6(_0x567f62){const _0x29a45d=_0x2afdb6;var _0x862a16=_0x43465d(_0x567f62,_0x29a45d(0x103));return _0x36567b(_0x862a16)==_0x29a45d(0x195)?_0x862a16:_0x862a16+'';}function _0x5a41eb(_0x15a0a,_0x54aa91,_0x51f4ac){const _0x44bbe2=_0x2afdb6;return(_0x54aa91=_0x29ead6(_0x54aa91))in _0x15a0a?Object[_0x44bbe2(0x121)](_0x15a0a,_0x54aa91,{'value':_0x51f4ac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x15a0a[_0x54aa91]=_0x51f4ac,_0x15a0a;}var _0x3f2913=class extends _0xd38cf3[_0x2afdb6(0xf1)]{constructor(..._0x3b5130){const _0x5b80cb=_0x2afdb6;super(..._0x3b5130),_0x5a41eb(this,_0x5b80cb(0xef),new Map()),_0x5a41eb(this,'_change$',new _0x3e42bb[(_0x5b80cb(0x131))]()),_0x5a41eb(this,_0x5b80cb(0x154),this[_0x5b80cb(0x180)][_0x5b80cb(0xcc)]());}[_0x2afdb6(0x190)](_0x5ee488,_0x40e5a0){const _0x549ec8=_0x2afdb6;return _0x3133e5(this[_0x549ec8(0xef)]['get'](_0x5ee488))[_0x549ec8(0xd7)][_0x40e5a0];}['setCodeConfig'](_0x137d83,_0x4536cf,_0x54eb2c){const _0x52a185=_0x2afdb6;this[_0x52a185(0x174)](_0x137d83,_0x4536cf,_0x366088(this[_0x52a185(0xef)][_0x52a185(0x175)](_0x137d83),_0x4536cf,_0x54eb2c));}[_0x2afdb6(0x12d)](_0x29b72e,_0x433b8e){const _0x398472=_0x2afdb6;this[_0x398472(0x174)](_0x29b72e,_0x433b8e,_0x24a4c4(this[_0x398472(0xef)][_0x398472(0x175)](_0x29b72e),_0x433b8e));}[_0x2afdb6(0x12c)](_0x33aa82){const _0x1e50d5=_0x2afdb6;return _0x3133e5(this[_0x1e50d5(0xef)]['get'](_0x33aa82));}[_0x2afdb6(0x165)](_0x3fc523,_0x131596){const _0x2359c1=_0x2afdb6;this[_0x2359c1(0xef)][_0x2359c1(0x15f)](_0x3fc523,_0x3133e5(_0x131596)),this[_0x2359c1(0x180)][_0x2359c1(0x16b)]({'unitId':_0x3fc523});}[_0x2afdb6(0x187)](_0x32745d){const _0x3d93a1=_0x2afdb6;this[_0x3d93a1(0xef)][_0x3d93a1(0xeb)](_0x32745d),this[_0x3d93a1(0x180)]['next']({'unitId':_0x32745d});}[_0x2afdb6(0x110)](){const _0x1d977e=_0x2afdb6;super[_0x1d977e(0x110)](),this[_0x1d977e(0xef)][_0x1d977e(0x17e)](),this[_0x1d977e(0x180)][_0x1d977e(0x13f)]();}[_0x2afdb6(0x174)](_0xecdeed,_0x194bd0,_0x8b5916){const _0x6ca9f5=_0x2afdb6;this[_0x6ca9f5(0xef)][_0x6ca9f5(0x15f)](_0xecdeed,_0x8b5916),this[_0x6ca9f5(0x180)][_0x6ca9f5(0x16b)]({'unitId':_0xecdeed,'blockId':_0x194bd0});}};let _0xce451a={'id':_0x2afdb6(0x179),'type':_0xd38cf3[_0x2afdb6(0x10c)]['MUTATION'],'handler':(_0x5e7e64,_0x2d61e5)=>!(_0x2d61e5!=null&&_0x2d61e5['unitId'])||!_0x2d61e5['blockId']?!0x1:(_0x5e7e64[_0x2afdb6(0x175)](_0x3f2913)[_0x2afdb6(0x196)](_0x2d61e5[_0x2afdb6(0x147)],_0x2d61e5[_0x2afdb6(0x106)],_0x2d61e5[_0x2afdb6(0x128)]),!0x0)},_0x5c0f3a={'id':_0x2afdb6(0x12b),'type':_0xd38cf3[_0x2afdb6(0x10c)]['MUTATION'],'handler':(_0x30cab8,_0x1bd3f6)=>!(_0x1bd3f6!=null&&_0x1bd3f6['unitId'])||!_0x1bd3f6[_0x2afdb6(0x106)]?!0x1:(_0x30cab8[_0x2afdb6(0x175)](_0x3f2913)['removeCode'](_0x1bd3f6[_0x2afdb6(0x147)],_0x1bd3f6[_0x2afdb6(0x106)]),!0x0)},_0x164bbe=_0x2afdb6(0xec);var _0x5fa9e8=class extends Error{constructor(_0x37e1a2=_0x2afdb6(0xd0)){super(_0x37e1a2);}};function _0x24f6fc(_0x78ac3f){const _0x1ade06=_0x2afdb6;var _0x2940db;let _0x1304e0=_0x433f92(_0x78ac3f[_0x1ade06(0xd8)]),_0xd1dc7b=_0x517ef8(_0x1304e0),_0xeb0dcd=_0x22b08d(_0x78ac3f[_0x1ade06(0x144)],_0x78ac3f[_0x1ade06(0xd2)]),_0x5ea88c=_0xeb0dcd?(_0x2940db=_0xd1dc7b[_0x1ade06(0x14d)])==null?void 0x0:_0x2940db[_0x1ade06(0x156)](_0xc5d577=>{const _0x8c3b0=_0x1ade06;let _0x32198a=(0x0,_0xd38cf3['getBlockRangeInterval'])(_0xc5d577);return _0x32198a[_0x8c3b0(0x144)]===_0xeb0dcd[_0x8c3b0(0x144)]&&_0x32198a[_0x8c3b0(0xd2)]===_0xeb0dcd[_0x8c3b0(0xd2)];}):void 0x0,{startOffset:_0x404de9,endOffset:_0x5378e5}=_0x5ea88c?_0xeb0dcd:_0x33e70f(_0xd1dc7b,_0x78ac3f['startOffset'],_0x78ac3f['endOffset'],_0x78ac3f[_0x1ade06(0x176)]);if(!_0x5ea88c&&_0x1dc7b3(_0xd1dc7b,_0x404de9,_0x5378e5))throw new _0x5fa9e8(_0x1ade06(0x15b));let _0x21ec1b=_0x345c62(_0xd1dc7b,_0x404de9,_0x5378e5),_0xe7e0e7=(_0x5ea88c==null?void 0x0:_0x5ea88c[_0x1ade06(0x106)])??_0x78ac3f[_0x1ade06(0x106)],_0x523b3b=_0x366088(_0x78ac3f[_0x1ade06(0x15d)],_0xe7e0e7,{..._0x493fbc,..._0x78ac3f[_0x1ade06(0x128)]});if(_0x5ea88c)return _0x5ea88c['blockType']=_0xd38cf3[_0x1ade06(0x10d)]['CODE'],_0x54b2dd(_0xd1dc7b,_0x404de9,_0x5378e5),_0x5d453c(_0xd1dc7b,_0x404de9,_0x5378e5,_0x21ec1b),_0xd0dac5(_0xd1dc7b,_0x5ea88c),{'nextDocumentData':_0x1304e0,'nextMetadata':_0x523b3b,'cursorOffset':_0x404de9+0x1};if(_0x404de9===_0x5378e5){var _0x130c87,_0x3ee200;let _0x52119e=''+_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0xe4)]+_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0x16d)]+_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0xd6)];_0x5addc3(_0xd1dc7b,_0x404de9,_0x52119e,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0xd38cf3[_0x1ade06(0x14e)])(new Set((_0x130c87=_0xd1dc7b[_0x1ade06(0x14c)])==null?void 0x0:_0x130c87[_0x1ade06(0x151)](_0x1efcc6=>_0x1efcc6[_0x1ade06(0x11c)]))),'paragraphStyle':_0x3548b4(!0x0,!0x0,_0x21ec1b)}],'blockRanges':[{'blockId':_0xe7e0e7,'blockType':_0xd38cf3[_0x1ade06(0x10d)]['CODE'],'startIndex':0x0,'endIndex':_0x52119e[_0x1ade06(0x19d)]-0x1}]});let _0x183b13=(_0x3ee200=_0xd1dc7b['blockRanges'])==null?void 0x0:_0x3ee200[_0x1ade06(0x156)](_0x454b3c=>_0x454b3c[_0x1ade06(0x106)]===_0xe7e0e7);return _0x183b13&&_0xd0dac5(_0xd1dc7b,_0x183b13),{'nextDocumentData':_0x1304e0,'nextMetadata':_0x523b3b,'cursorOffset':_0x404de9+0x1};}_0x5addc3(_0xd1dc7b,_0x5378e5,_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0xd6)]),_0x5addc3(_0xd1dc7b,_0x404de9,_0xd38cf3[_0x1ade06(0x148)]['BLOCK_START']),_0x5d453c(_0xd1dc7b,_0x404de9,_0x5378e5+0x1,_0x21ec1b);let _0x2bca6b={'blockId':_0xe7e0e7,'blockType':_0xd38cf3[_0x1ade06(0x10d)][_0x1ade06(0xcf)],'startIndex':_0x404de9,'endIndex':_0x5378e5+0x1};return _0xd1dc7b[_0x1ade06(0x14d)]=[..._0xd1dc7b[_0x1ade06(0x14d)]??[],_0x2bca6b][_0x1ade06(0xda)]((_0x44577a,_0x407f5f)=>_0x44577a[_0x1ade06(0xdc)]-_0x407f5f[_0x1ade06(0xdc)]),_0xd0dac5(_0xd1dc7b,_0x2bca6b),{'nextDocumentData':_0x1304e0,'nextMetadata':_0x523b3b,'cursorOffset':_0x404de9+0x1};}function _0x54b2dd(_0xf60ba6,_0x2cf445,_0x4d49f3){const _0x110a48=_0x2afdb6;(_0xf60ba6['paragraphs']??[])['filter'](_0x295e6e=>_0x295e6e[_0x110a48(0xdc)]>_0x2cf445&&_0x295e6e[_0x110a48(0xdc)]<_0x4d49f3)[_0x110a48(0x133)](_0x5dff5f=>{const _0x379677=_0x110a48;let _0x47bde4={..._0x5dff5f[_0x379677(0x130)]??{}};delete _0x47bde4[_0x379677(0x19b)],delete _0x47bde4[_0x379677(0xe5)],_0x5dff5f[_0x379677(0x130)]=_0x47bde4;});}function _0x22b08d(_0x48aada,_0xcc67fc){const _0x1ef73b=_0x2afdb6;return _0x48aada==null||_0xcc67fc==null||_0x48aada===_0xcc67fc?null:{'startOffset':Math['min'](_0x48aada,_0xcc67fc),'endOffset':Math[_0x1ef73b(0x149)](_0x48aada,_0xcc67fc)};}function _0x1dc7b3(_0xe69746,_0x5a6b51,_0x2e86e8){const _0x3b75f4=_0x2afdb6;return(_0xe69746[_0x3b75f4(0x14d)]??[])[_0x3b75f4(0x12f)](_0x3a10f6=>{const _0x556903=_0x3b75f4;let _0x4fe6f7=(0x0,_0xd38cf3['getBlockRangeInterval'])(_0x3a10f6);return _0x5a6b51===_0x2e86e8?(0x0,_0xd38cf3[_0x556903(0x186)])(_0x4fe6f7,_0x5a6b51):(0x0,_0xd38cf3['intersectsOperationalIntervals'])(_0x4fe6f7,{'startOffset':_0x5a6b51,'endOffset':_0x2e86e8});});}function _0x150871(_0x19d763){const _0x1ccd96=_0x2afdb6;return{'nextDocumentData':_0x433f92(_0x19d763[_0x1ccd96(0xd8)]),'nextMetadata':_0x366088(_0x19d763['metadata'],_0x19d763[_0x1ccd96(0x106)],_0x19d763[_0x1ccd96(0x128)]),'cursorOffset':0x0};}function _0x57d96c(_0x58f309){const _0x2187bc=_0x2afdb6;let _0x598381=_0x433f92(_0x58f309['documentData']),_0x4b40b8=_0x517ef8(_0x598381),_0x1dfae0=_0x3ccaa9(_0x4b40b8,_0x58f309[_0x2187bc(0x106)]);if(!_0x1dfae0)return null;let _0x470066=_0x2b84fe(_0x4b40b8,_0x1dfae0);return{'nextDocumentData':_0x598381,'nextMetadata':_0x24a4c4(_0x58f309['metadata'],_0x58f309[_0x2187bc(0x106)]),'cursorOffset':_0x470066};}function _0x14fe73(_0x13cb0b){const _0x5887c8=_0x2afdb6;var _0x5b8d9b;let _0x30f392=_0x433f92(_0x13cb0b[_0x5887c8(0xd8)]),_0x136a28=_0x517ef8(_0x30f392),_0x572e72=_0x3ccaa9(_0x136a28,_0x13cb0b['blockId']);if(!_0x572e72)return null;let _0x5a79ee=(0x0,_0xd38cf3[_0x5887c8(0x126)])(_0x572e72);return _0x4228ee(_0x136a28,_0x5a79ee[_0x5887c8(0x144)],_0x5a79ee[_0x5887c8(0xd2)]),_0x136a28[_0x5887c8(0x14d)]=(_0x5b8d9b=_0x136a28['blockRanges'])==null?void 0x0:_0x5b8d9b['filter'](_0x3354a6=>_0x3354a6[_0x5887c8(0x106)]!==_0x13cb0b[_0x5887c8(0x106)]),{'nextDocumentData':_0x30f392,'nextMetadata':_0x24a4c4(_0x13cb0b[_0x5887c8(0x15d)],_0x13cb0b['blockId']),'cursorOffset':_0x572e72[_0x5887c8(0xdc)]};}function _0x3a3c9d(_0x224efe){const _0xdc9875=_0x2afdb6;let _0x51831f=_0x433f92(_0x224efe[_0xdc9875(0xd8)]),_0x50d17d=_0x517ef8(_0x51831f),_0x2b6aad=_0x4e3840(_0x50d17d,_0x224efe[_0xdc9875(0x15a)]);return _0x2b6aad&&_0x5decc2(_0x51831f,_0x50d17d,_0x2b6aad,_0x224efe[_0xdc9875(0x15a)],_0x224efe[_0xdc9875(0x111)])||null;}function _0x5decc2(_0x2d0896,_0x1d1096,_0x14c74d,_0xae8860,_0x5bc8dd){const _0x5df40a=_0x2afdb6;let _0x53e13d=_0x23f2d0(_0x1d1096,_0x14c74d,_0xae8860,_0x5bc8dd);if(!_0x53e13d)return null;let _0x3afc70=_0x53e13d[_0x5df40a(0x183)]-0x1;return _0x4228ee(_0x1d1096,_0x53e13d[_0x5df40a(0x152)][_0x5df40a(0xdc)],_0x53e13d['paragraph'][_0x5df40a(0xdc)]+0x1),{'nextDocumentData':_0x2d0896,'cursorOffset':_0x3afc70};}function _0x3ccaa9(_0x4ce9bf,_0x39053e){const _0x52a97b=_0x2afdb6;var _0x5970a2;return _0x4ce9bf==null||(_0x5970a2=_0x4ce9bf[_0x52a97b(0x14d)])==null?void 0x0:_0x5970a2[_0x52a97b(0x156)](_0x25cfd7=>_0x25cfd7['blockType']===_0xd38cf3[_0x52a97b(0x10d)][_0x52a97b(0xcf)]&&_0x25cfd7[_0x52a97b(0x106)]===_0x39053e);}function _0x59b944(_0x511be2){const _0x243f3e=_0x2afdb6;let _0x4d5764=_0x511be2[_0x243f3e(0xd8)]['body'];if(!_0x4d5764)return!0x1;let _0xfa7c7f=_0x511be2['direction']==='left'?_0x511be2[_0x243f3e(0x15a)]-0x1:_0x511be2[_0x243f3e(0x15a)],_0x4297ba=_0x511be2[_0x243f3e(0x13b)]===_0x243f3e(0xdf)?_0x511be2['cursorOffset']+0x1:_0xfa7c7f;return(_0x4d5764[_0x243f3e(0x14d)]??[])[_0x243f3e(0x12f)](_0x4b2c9e=>_0x4b2c9e[_0x243f3e(0x19f)]===_0xd38cf3[_0x243f3e(0x10d)][_0x243f3e(0xcf)]?_0xfa7c7f===_0x4b2c9e[_0x243f3e(0xdc)]||_0xfa7c7f===_0x4b2c9e[_0x243f3e(0x198)]||_0x4297ba===_0x4b2c9e[_0x243f3e(0xdc)]||_0x4297ba===_0x4b2c9e[_0x243f3e(0x198)]:!0x1);}function _0x4e3840(_0x21df6f,_0x469fa9){const _0x59e860=_0x2afdb6;var _0x16a399;return(_0x16a399=_0x21df6f[_0x59e860(0x14d)])==null?void 0x0:_0x16a399[_0x59e860(0x156)](_0x3c6ade=>{const _0x398d63=_0x59e860;let _0x2cde5c=_0x31cf86(_0x3c6ade);return _0x3c6ade['blockType']===_0xd38cf3[_0x398d63(0x10d)][_0x398d63(0xcf)]&&_0x3c6ade[_0x398d63(0xdc)]<=_0x469fa9&&_0x469fa9<=_0x2cde5c+0x2;});}function _0x3548b4(_0xa310dd,_0x7db1bc,_0x24d3b2=!0x1){const _0x5f3d40=_0x2afdb6;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0xd38cf3[_0x5f3d40(0x123)]['TRUE'],'keepNext':_0x7db1bc?_0xd38cf3[_0x5f3d40(0x123)]['FALSE']:_0xd38cf3[_0x5f3d40(0x123)]['TRUE'],'widowControl':_0xd38cf3[_0x5f3d40(0x123)]['TRUE'],..._0xa310dd&&_0x24d3b2?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x164bbe,'fs':0xc}};}function _0x5d453c(_0x1f1196,_0x16e20e,_0x3b3c94,_0x1c5ded=!0x1){const _0x25aba9=_0x2afdb6;let _0x267b94=(_0x1f1196[_0x25aba9(0x14c)]??[])[_0x25aba9(0x13a)](_0x2c3631=>_0x2c3631[_0x25aba9(0xdc)]>_0x16e20e&&_0x2c3631['startIndex']<_0x3b3c94);_0x267b94['forEach']((_0x3239a3,_0x249a53)=>{const _0x1d2c00=_0x25aba9;_0x3239a3[_0x1d2c00(0x130)]={..._0x3239a3['paragraphStyle']??{},..._0x3548b4(_0x249a53===0x0,_0x249a53===_0x267b94[_0x1d2c00(0x19d)]-0x1,_0x1c5ded)};});}function _0x3cba34(_0x5d4d3f){const _0x591eed=_0x2afdb6;var _0x2b80bb,_0x318ee4;let _0x97fd56={..._0x5d4d3f??{}};return delete _0x97fd56[_0x591eed(0x192)],delete _0x97fd56[_0x591eed(0x113)],delete _0x97fd56[_0x591eed(0x19b)],delete _0x97fd56[_0x591eed(0xe5)],delete _0x97fd56[_0x591eed(0x171)],delete _0x97fd56['keepNext'],delete _0x97fd56[_0x591eed(0x140)],((_0x2b80bb=_0x97fd56[_0x591eed(0x15c)])==null?void 0x0:_0x2b80bb['ff'])===_0x164bbe&&((_0x318ee4=_0x97fd56[_0x591eed(0x15c)])==null?void 0x0:_0x318ee4['fs'])===0xc&&delete _0x97fd56[_0x591eed(0x15c)],_0x97fd56;}function _0x2dd2d4(_0xcf47fb,_0x10ba39){const _0x4b655e=_0x2afdb6;let _0x57ac4b=_0x31cf86(_0x10ba39);return(_0xcf47fb[_0x4b655e(0x14c)]??[])[_0x4b655e(0x13a)](_0x596a43=>_0x596a43[_0x4b655e(0xdc)]>_0x10ba39[_0x4b655e(0xdc)]&&_0x596a43[_0x4b655e(0xdc)]<_0x57ac4b);}function _0x2b84fe(_0x953ca5,_0x32436a){const _0x46a95c=_0x2afdb6;var _0x90e0f7;let _0x2dc13b=_0x31cf86(_0x32436a);return _0x2dd2d4(_0x953ca5,_0x32436a)[_0x46a95c(0x133)](_0x3c707f=>{const _0x39e7aa=_0x46a95c;_0x3c707f[_0x39e7aa(0x130)]=_0x3cba34(_0x3c707f[_0x39e7aa(0x130)]);}),_0x4228ee(_0x953ca5,_0x2dc13b,_0x2dc13b+0x1),_0x4228ee(_0x953ca5,_0x32436a[_0x46a95c(0xdc)],_0x32436a[_0x46a95c(0xdc)]+0x1),_0x953ca5['blockRanges']=(_0x90e0f7=_0x953ca5[_0x46a95c(0x14d)])==null?void 0x0:_0x90e0f7['filter'](_0x5262a7=>_0x5262a7['blockId']!==_0x32436a[_0x46a95c(0x106)]),_0x32436a['startIndex'];}function _0x433f92(_0x30695a){const _0x14c58a=_0x2afdb6;return{..._0x30695a,'body':_0x30695a['body']?_0x1372a9(_0x30695a[_0x14c58a(0x161)]):_0x30695a['body']};}function _0x1372a9(_0x224054){const _0x46055c=_0x2afdb6;var _0x361f3f,_0x361522,_0x5d68e2,_0x1e51e8,_0x1a7be8,_0x2e5326,_0x3b4835,_0xabb501,_0x35300f;return{..._0x224054,'paragraphs':(_0x361f3f=_0x224054[_0x46055c(0x14c)])==null?void 0x0:_0x361f3f[_0x46055c(0x151)](_0x3af83b=>({..._0x3af83b,'bullet':_0x551cbb(_0x3af83b[_0x46055c(0x115)]),'paragraphStyle':_0x551cbb(_0x3af83b['paragraphStyle'])})),'sectionBreaks':(_0x361522=_0x224054[_0x46055c(0xfa)])==null?void 0x0:_0x361522[_0x46055c(0x151)](_0x3d46b1=>({..._0x3d46b1})),'textRuns':(_0x5d68e2=_0x224054[_0x46055c(0x18f)])==null?void 0x0:_0x5d68e2['map'](_0x3391ec=>({..._0x3391ec})),'tables':(_0x1e51e8=_0x224054[_0x46055c(0x178)])==null?void 0x0:_0x1e51e8[_0x46055c(0x151)](_0x46c795=>({..._0x46c795})),'columnGroups':(_0x1a7be8=_0x224054[_0x46055c(0x137)])==null?void 0x0:_0x1a7be8['map'](_0x2d5996=>{const _0x31df82=_0x46055c;var _0x33ca9b;return{..._0x2d5996,'columns':(_0x33ca9b=_0x2d5996['columns'])==null?void 0x0:_0x33ca9b[_0x31df82(0x151)](_0x13f2e7=>_0x551cbb(_0x13f2e7))};}),'blockRanges':(_0x2e5326=_0x224054[_0x46055c(0x14d)])==null?void 0x0:_0x2e5326['map'](_0x5b8a31=>({..._0x5b8a31})),'customRanges':(_0x3b4835=_0x224054[_0x46055c(0x173)])==null?void 0x0:_0x3b4835[_0x46055c(0x151)](_0x2504e0=>({..._0x2504e0})),'customDecorations':(_0xabb501=_0x224054[_0x46055c(0x193)])==null?void 0x0:_0xabb501[_0x46055c(0x151)](_0x569725=>({..._0x569725})),'customBlocks':(_0x35300f=_0x224054[_0x46055c(0x17d)])==null?void 0x0:_0x35300f[_0x46055c(0x151)](_0x8b9126=>({..._0x8b9126}))};}function _0x551cbb(_0x200695){const _0x8115fb=_0x2afdb6;return Array[_0x8115fb(0x1a1)](_0x200695)?_0x200695[_0x8115fb(0x151)](_0x1f5e09=>_0x551cbb(_0x1f5e09)):!_0x200695||typeof _0x200695!=_0x8115fb(0x17f)?_0x200695:Object[_0x8115fb(0x145)](Object[_0x8115fb(0x122)](_0x200695)[_0x8115fb(0x151)](([_0x35abec,_0x4f07b3])=>[_0x35abec,_0x551cbb(_0x4f07b3)]));}function _0x517ef8(_0x2044d5){const _0x50e9b6=_0x2afdb6;if(!_0x2044d5[_0x50e9b6(0x161)])throw Error(_0x50e9b6(0x132));return _0x2044d5[_0x50e9b6(0x161)];}function _0x33e70f(_0x479743,_0x3ff724,_0x17e025,_0xb793af='convert-paragraph'){const _0x557f89=_0x2afdb6;if(_0x3ff724==null||_0x17e025==null){let _0x3c8979=_0x44be4a(_0x479743);return{'startOffset':_0x3c8979,'endOffset':_0x3c8979};}let _0x5afdaf=Math[_0x557f89(0xe9)](_0x3ff724,_0x17e025),_0x5721ea=Math[_0x557f89(0x149)](_0x3ff724,_0x17e025),_0x129d91=_0x4e53ad(_0x479743,_0x5afdaf,_0x5721ea);return _0x5afdaf===_0x5721ea?_0xb793af===_0x557f89(0x167)?{'startOffset':_0x5afdaf,'endOffset':_0x5721ea}:_0x4b2ba2(_0x479743,_0x5afdaf,_0x129d91):_0x5ba93c(_0x479743,_0x5afdaf,_0x5721ea,_0x129d91);}function _0x4b2ba2(_0x5c0ad9,_0x119d92,_0x43b28b){const _0x5741ef=_0x2afdb6;let _0x1998c9=_0x1c5733(_0x5c0ad9,_0x119d92);if(_0x1998c9){let _0x503354=_0x3803bb(_0x5c0ad9,_0x1998c9,_0x43b28b);if(_0x503354<_0x1998c9[_0x5741ef(0xdc)])return{'startOffset':_0x503354,'endOffset':_0x43b28b?Math[_0x5741ef(0xe9)](_0x1998c9['startIndex']+0x1,_0x43b28b[_0x5741ef(0xd2)]):_0x1998c9['startIndex']+0x1};}let _0x14b2f2=_0x119d92===0x0&&_0x5c0ad9[_0x5741ef(0x16c)][0x0]===_0xd38cf3[_0x5741ef(0x148)][_0x5741ef(0x16d)]?0x1:_0x119d92;return{'startOffset':_0x14b2f2,'endOffset':_0x14b2f2};}function _0x44be4a(_0xa0e720){const _0x585b1f=_0x2afdb6;return _0xa0e720[_0x585b1f(0x16c)][_0x585b1f(0x17c)](_0xd38cf3[_0x585b1f(0x148)][_0x585b1f(0x14f)])?Math['max'](0x0,_0xa0e720['dataStream'][_0x585b1f(0x19d)]-0x1):_0xa0e720[_0x585b1f(0x16c)][_0x585b1f(0x19d)];}function _0x345c62(_0x4f6d82,_0x29c65,_0x3d81df){const _0x1c777e=_0x2afdb6;var _0xe4e440;let _0x58ff27=Math[_0x1c777e(0xe9)](_0x29c65,_0x3d81df),_0x1867fe=Math[_0x1c777e(0x149)](_0x29c65,_0x3d81df);return!!((_0xe4e440=_0x4f6d82[_0x1c777e(0x178)])!=null&&_0xe4e440[_0x1c777e(0x12f)](_0x1f9bdc=>_0x58ff27>_0x1f9bdc[_0x1c777e(0xdc)]&&_0x58ff27<_0x1f9bdc[_0x1c777e(0x198)]||_0x1867fe>_0x1f9bdc[_0x1c777e(0xdc)]&&_0x1867fe<_0x1f9bdc[_0x1c777e(0x198)]||_0x58ff27<=_0x1f9bdc[_0x1c777e(0xdc)]&&_0x1867fe>=_0x1f9bdc[_0x1c777e(0x198)]));}function _0x5ba93c(_0xeadcb0,_0x53ff6c,_0x3f5b3c,_0x1a37cb){const _0x5c720e=_0x2afdb6;let _0x572702=[..._0xeadcb0['paragraphs']??[]]['sort']((_0x4c1210,_0x563fc0)=>_0x4c1210['startIndex']-_0x563fc0['startIndex']),_0x509e9b=(0x0,_0xd38cf3[_0x5c720e(0x11f)])(_0xeadcb0),_0x30516a=_0x572702['find'](_0x510be6=>_0x3803bb(_0xeadcb0,_0x510be6,_0x1a37cb,_0x509e9b)<=_0x53ff6c&&_0x53ff6c<=_0x510be6[_0x5c720e(0xdc)]),_0x51def7=_0x572702[_0x5c720e(0x156)](_0x33fdd4=>_0x33fdd4[_0x5c720e(0xdc)]>=_0x3f5b3c-0x1)??_0x572702[_0x572702[_0x5c720e(0x19d)]-0x1];return{'startOffset':_0x30516a?_0x3803bb(_0xeadcb0,_0x30516a,_0x1a37cb,_0x509e9b):_0x53ff6c,'endOffset':_0x51def7?_0x8336f0(_0x51def7,_0x1a37cb):_0x3f5b3c};}function _0x1c5733(_0x53cf3c,_0x139a30){const _0x514258=_0x2afdb6;let _0x123cbb=[..._0x53cf3c[_0x514258(0x14c)]??[]][_0x514258(0xda)]((_0x4c9f34,_0x51443b)=>_0x4c9f34[_0x514258(0xdc)]-_0x51443b[_0x514258(0xdc)]),_0x11161f=(0x0,_0xd38cf3[_0x514258(0x11f)])(_0x53cf3c);return _0x123cbb[_0x514258(0x156)](_0x3ae516=>(_0x11161f['get'](_0x3ae516['startIndex'])??0x0)<=_0x139a30&&_0x139a30<=_0x3ae516[_0x514258(0xdc)]);}function _0x3803bb(_0x53b3f1,_0x1f1670,_0x4f4dc8,_0x236b4f){const _0x68a326=_0x2afdb6;let _0x2d7c9a=(_0x236b4f==null?void 0x0:_0x236b4f[_0x68a326(0x175)](_0x1f1670['startIndex']))??(0x0,_0xd38cf3[_0x68a326(0x10f)])(_0x53b3f1,_0x1f1670);return _0x4f4dc8?Math[_0x68a326(0x149)](_0x2d7c9a,_0x4f4dc8[_0x68a326(0x144)]):_0x2d7c9a;}function _0x8336f0(_0x16780c,_0x20e4ef){const _0xe6e775=_0x2afdb6;let _0x4a7857=_0x16780c[_0xe6e775(0xdc)]+0x1;return _0x20e4ef?Math['min'](_0x4a7857,_0x20e4ef[_0xe6e775(0xd2)]):_0x4a7857;}function _0x4e53ad(_0x4ad901,_0x4c04f2,_0x1cd11b){const _0x230c78=_0x2afdb6;let _0x525bb7=_0x3c0931(_0x4ad901,_0x4c04f2),_0x597af5=_0x3c0931(_0x4ad901,_0x4c04f2===_0x1cd11b?_0x1cd11b:Math[_0x230c78(0x149)](_0x4c04f2,_0x1cd11b-0x1));if(_0x525bb7||_0x597af5){if(!_0x525bb7||!_0x597af5||_0x525bb7[_0x230c78(0xd9)]!==_0x597af5[_0x230c78(0xd9)]||_0x525bb7['endTokenOffset']!==_0x597af5['endTokenOffset'])throw new _0x5fa9e8();return _0x525bb7;}}function _0x3c0931(_0x370591,_0x5d7fcc){const _0x5710be=_0x2afdb6;let _0x397f27=_0x370591[_0x5710be(0x16c)],_0xde91da=-0x1;for(let _0x3689f1=Math['min'](_0x5d7fcc,_0x397f27[_0x5710be(0x19d)]-0x1);_0x3689f1>=0x0;_0x3689f1--){let _0x50207f=_0x397f27[_0x3689f1];if(_0x50207f===_0xd38cf3[_0x5710be(0x148)][_0x5710be(0x11e)])return;if(_0x50207f===_0xd38cf3['DataStreamTreeTokenType'][_0x5710be(0x119)]){_0xde91da=_0x3689f1;break;}}if(_0xde91da<0x0)return;let _0x3e1ff4=_0x397f27[_0x5710be(0xf7)](_0xd38cf3[_0x5710be(0x148)][_0x5710be(0x11e)],_0xde91da+0x1);if(!(_0x3e1ff4<0x0||_0x5d7fcc<_0xde91da+0x1||_0x5d7fcc>_0x3e1ff4-0x1))return{'startOffset':_0xde91da+0x1,'endOffset':Math[_0x5710be(0x149)](_0xde91da+0x1,_0x3e1ff4-0x1),'startTokenOffset':_0xde91da,'endTokenOffset':_0x3e1ff4};}function _0x31cf86(_0x187e00){const _0x377628=_0x2afdb6;return(0x0,_0xd38cf3[_0x377628(0x126)])(_0x187e00)[_0x377628(0xd2)]-0x1;}function _0x23f2d0(_0x5c6447,_0x368d2e,_0x912803,_0x34d7f9){const _0x3822fe=_0x2afdb6;let _0x57977a=_0x31cf86(_0x368d2e),_0x2e2b54=(_0x5c6447['paragraphs']??[])[_0x3822fe(0x156)](_0x3f7dd5=>_0x3f7dd5[_0x3822fe(0xdc)]===_0x57977a+0x1);if(!_0x2e2b54||_0x34d7f9!=null&&_0x2e2b54[_0x3822fe(0xdc)]!==_0x34d7f9||_0x912803!=null&&(_0x912803<_0x57977a||_0x912803>_0x2e2b54[_0x3822fe(0xdc)]+0x1)||_0x5c6447[_0x3822fe(0x16c)][_0x2e2b54[_0x3822fe(0xdc)]]!==_0xd38cf3[_0x3822fe(0x148)][_0x3822fe(0x16d)])return null;let _0x3d3ec3=(0x0,_0xd38cf3[_0x3822fe(0x10f)])(_0x5c6447,_0x2e2b54),_0x1a0771=_0x5c6447[_0x3822fe(0x16c)][_0x3822fe(0x159)](_0x3d3ec3,_0x2e2b54[_0x3822fe(0xdc)]);return Array['from'](_0x1a0771)[_0x3822fe(0x14b)](_0x19b972=>_0x19b972===_0xd38cf3[_0x3822fe(0x148)][_0x3822fe(0xd6)])?{'paragraph':_0x2e2b54,'endTokenOffset':_0x57977a}:null;}function _0xd0dac5(_0x2f8464,_0x2df025){const _0x444b96=_0x2afdb6;var _0xc11a91;let _0x346bdb=_0x31cf86(_0x2df025),_0x6737a8=_0x2f8464[_0x444b96(0x16c)][_0x346bdb+0x1];(_0x6737a8===_0xd38cf3['DataStreamTreeTokenType']['SECTION_BREAK']||_0x6737a8===void 0x0)&&_0x5addc3(_0x2f8464,_0x346bdb+0x1,_0xd38cf3['DataStreamTreeTokenType'][_0x444b96(0x16d)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0xd38cf3[_0x444b96(0x14e)])(new Set((_0xc11a91=_0x2f8464[_0x444b96(0x14c)])==null?void 0x0:_0xc11a91[_0x444b96(0x151)](_0x494bab=>_0x494bab[_0x444b96(0x11c)])))}]});}function _0x5addc3(_0x1ab02e,_0x40b009,_0x424e4c,_0x5d6e2d={}){const _0x62cd46=_0x2afdb6;var _0x55f488,_0x97007c;_0x424e4c&&(_0x1ab02e[_0x62cd46(0x16c)]=''+_0x1ab02e[_0x62cd46(0x16c)]['slice'](0x0,_0x40b009)+_0x424e4c+_0x1ab02e[_0x62cd46(0x16c)][_0x62cd46(0x159)](_0x40b009),_0xaa3790(_0x1ab02e,_0x40b009,_0x424e4c[_0x62cd46(0x19d)]),(_0x55f488=_0x5d6e2d[_0x62cd46(0x14c)])!=null&&_0x55f488[_0x62cd46(0x19d)]&&(_0x1ab02e['paragraphs']=[..._0x1ab02e[_0x62cd46(0x14c)]??[],..._0x5d6e2d[_0x62cd46(0x14c)]['map'](_0x34bdfa=>({..._0x34bdfa,'startIndex':_0x34bdfa[_0x62cd46(0xdc)]+_0x40b009}))]['sort']((_0x5a8ecc,_0x1d062b)=>_0x5a8ecc['startIndex']-_0x1d062b[_0x62cd46(0xdc)])),(_0x97007c=_0x5d6e2d[_0x62cd46(0x14d)])!=null&&_0x97007c[_0x62cd46(0x19d)]&&(_0x1ab02e[_0x62cd46(0x14d)]=[..._0x1ab02e[_0x62cd46(0x14d)]??[],..._0x5d6e2d['blockRanges'][_0x62cd46(0x151)](_0x66711a=>({..._0x66711a,'startIndex':_0x66711a[_0x62cd46(0xdc)]+_0x40b009,'endIndex':_0x66711a[_0x62cd46(0x198)]+_0x40b009}))][_0x62cd46(0xda)]((_0xe0349d,_0x4384b2)=>_0xe0349d[_0x62cd46(0xdc)]-_0x4384b2[_0x62cd46(0xdc)])));}function _0x4228ee(_0x12b7e8,_0x51d051,_0x303f0e){const _0x5a212c=_0x2afdb6;let _0x4dc1ac=_0x303f0e-_0x51d051;_0x12b7e8['dataStream']=''+_0x12b7e8['dataStream'][_0x5a212c(0x159)](0x0,_0x51d051)+_0x12b7e8[_0x5a212c(0x16c)][_0x5a212c(0x159)](_0x303f0e),_0x8e2877(_0x12b7e8,_0x51d051,_0x4dc1ac);}function _0xaa3790(_0x495528,_0x44af15,_0x2ed846){const _0x130aec=_0x2afdb6;_0x495528[_0x130aec(0x14c)]=_0x33d3ef(_0x495528[_0x130aec(0x14c)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0xfa)]=_0x33d3ef(_0x495528['sectionBreaks'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x17d)]=_0x33d3ef(_0x495528['customBlocks'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x18f)]=_0x56f793(_0x495528[_0x130aec(0x18f)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x178)]=_0xa84319(_0x495528['tables'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x137)]=_0x4225b1(_0x495528['columnGroups'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x173)]=_0x4225b1(_0x495528[_0x130aec(0x173)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x193)]=_0x4225b1(_0x495528[_0x130aec(0x193)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x14d)]=_0x4225b1(_0x495528[_0x130aec(0x14d)],_0x44af15,_0x2ed846);}function _0x8e2877(_0x2621b4,_0x9e3c45,_0x453a54){const _0x417c74=_0x2afdb6;var _0x3cb493,_0x40cca1;_0x2621b4['paragraphs']=_0x407e68(_0x2621b4['paragraphs'],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0xfa)]=_0x407e68(_0x2621b4[_0x417c74(0xfa)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x17d)]=_0x407e68(_0x2621b4[_0x417c74(0x17d)],_0x9e3c45,_0x453a54),_0x2621b4['textRuns']=(_0x3cb493=_0x3297f6((_0x40cca1=_0x2621b4[_0x417c74(0x18f)])==null?void 0x0:_0x40cca1[_0x417c74(0x151)](_0x587d1a=>({..._0x587d1a,'startIndex':_0x587d1a['st'],'endIndex':_0x587d1a['ed']})),_0x9e3c45,_0x453a54))==null?void 0x0:_0x3cb493[_0x417c74(0x151)](_0x3ce0f9=>{let {startIndex:_0x53a23c,endIndex:_0x47bca7,..._0x4240b5}=_0x3ce0f9;return{..._0x4240b5,'st':_0x53a23c,'ed':_0x47bca7};}),_0x2621b4[_0x417c74(0x178)]=_0x3297f6(_0x2621b4[_0x417c74(0x178)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x137)]=_0x3f6524(_0x2621b4[_0x417c74(0x137)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x173)]=_0x3f6524(_0x2621b4[_0x417c74(0x173)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x193)]=_0x3f6524(_0x2621b4[_0x417c74(0x193)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x14d)]=_0x3f6524(_0x2621b4[_0x417c74(0x14d)],_0x9e3c45,_0x453a54);}function _0x33d3ef(_0x2908c7,_0xe192e5,_0x5a160b){const _0x598888=_0x2afdb6;return _0x2908c7==null?void 0x0:_0x2908c7[_0x598888(0x151)](_0x111e53=>_0x111e53[_0x598888(0xdc)]>=_0xe192e5?{..._0x111e53,'startIndex':_0x111e53[_0x598888(0xdc)]+_0x5a160b}:_0x111e53);}function _0x407e68(_0x2968e3,_0x48f04c,_0x1a677c){const _0x520226=_0x2afdb6;let _0x5539e6=_0x48f04c+_0x1a677c;return _0x2968e3==null?void 0x0:_0x2968e3[_0x520226(0x151)](_0x5a5fbb=>_0x5a5fbb['startIndex']>=_0x48f04c&&_0x5a5fbb[_0x520226(0xdc)]<_0x5539e6?null:_0x5a5fbb[_0x520226(0xdc)]>=_0x5539e6?{..._0x5a5fbb,'startIndex':_0x5a5fbb['startIndex']-_0x1a677c}:_0x5a5fbb)[_0x520226(0x13a)](_0xc5d3a4=>_0xc5d3a4!=null);}function _0x56f793(_0x199868,_0x56a927,_0x324a2f){const _0x17f459=_0x2afdb6;return _0x199868==null?void 0x0:_0x199868[_0x17f459(0x151)](_0x218456=>_0x218456['st']>=_0x56a927?{..._0x218456,'st':_0x218456['st']+_0x324a2f,'ed':_0x218456['ed']+_0x324a2f}:_0x218456['ed']>_0x56a927?{..._0x218456,'ed':_0x218456['ed']+_0x324a2f}:_0x218456);}function _0x4225b1(_0x4111ac,_0x2b04f7,_0x3ab780){const _0x1070ff=_0x2afdb6;return _0x4111ac==null?void 0x0:_0x4111ac['map'](_0x2a5584=>(0x0,_0xd38cf3[_0x1070ff(0xf2)])(_0x2a5584,_0x2b04f7,_0x3ab780));}function _0xa84319(_0x4f18eb,_0x1fc781,_0x1839f8){const _0x1a8869=_0x2afdb6;return _0x4f18eb==null?void 0x0:_0x4f18eb[_0x1a8869(0x151)](_0x373a4c=>(0x0,_0xd38cf3[_0x1a8869(0xe8)])(_0x373a4c,_0x1fc781,_0x1839f8));}function _0x3f6524(_0x145a6e,_0x10bc61,_0x314e55){const _0x3feeb1=_0x2afdb6;return _0x145a6e==null?void 0x0:_0x145a6e[_0x3feeb1(0x151)](_0x9ca98e=>(0x0,_0xd38cf3[_0x3feeb1(0xfb)])(_0x9ca98e,_0x10bc61,_0x314e55))[_0x3feeb1(0x13a)](_0x1c2ec4=>_0x1c2ec4!=null);}function _0x3297f6(_0x53f9a6,_0x5a35e5,_0x5b2ffa){const _0x35aabe=_0x2afdb6;return _0x53f9a6==null?void 0x0:_0x53f9a6[_0x35aabe(0x151)](_0x190b2a=>(0x0,_0xd38cf3[_0x35aabe(0xcb)])(_0x190b2a,_0x5a35e5,_0x5b2ffa))[_0x35aabe(0x13a)](_0x30f3ea=>_0x30f3ea!=null);}let _0x2c620d={'id':_0x2afdb6(0x18e),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':_0xcfee5e=>{const _0x45fca0=_0x2afdb6;var _0x1a95dd;if((0x0,_0x4f58d8[_0x45fca0(0x135)])(_0x176948(_0xcfee5e)))return!0x1;let _0x5e92ee=(0x0,_0x4f58d8[_0x45fca0(0x10b)])(_0xcfee5e);if(_0x5e92ee)return _0xcfee5e[_0x45fca0(0x175)](_0xd38cf3[_0x45fca0(0x158)])[_0x45fca0(0xfc)](_0x1458f8['id'],{'startOffset':_0x5e92ee[_0x45fca0(0x144)],'endOffset':_0x5e92ee[_0x45fca0(0xd2)],'insertionMode':_0x45fca0(0x167),'unitId':_0x5e92ee['unitId']});let _0x3bb5ed=_0x4b13c2(_0xcfee5e);if(!_0x3bb5ed)return!0x1;let _0x48b665=(_0x1a95dd=_0xcfee5e[_0x45fca0(0x175)](_0xd38cf3[_0x45fca0(0x18c)])[_0x45fca0(0xe2)](_0xd38cf3[_0x45fca0(0x10e)]['UNIVER_DOC']))==null?void 0x0:_0x1a95dd['getBody'](),_0x45d120=_0x48b665?(0x0,_0xd38cf3[_0x45fca0(0x155)])(_0x48b665,_0x3bb5ed):_0x3bb5ed['startIndex']+0x1;return _0xcfee5e['get'](_0xd38cf3[_0x45fca0(0x158)])[_0x45fca0(0xfc)](_0x1458f8['id'],{'startOffset':_0x45d120,'endOffset':_0x45d120});}},_0x2921ca={'id':'docs-code.command.consume-boundary-delete','type':_0xd38cf3['CommandType'][_0x2afdb6(0xdd)],'handler':()=>!0x0},_0x1458f8={'id':_0x2afdb6(0x117),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x3faa36,_0x2e5a24)=>{const _0x56f1ca=_0x2afdb6;let _0x78994c=_0x2732d7(_0x3faa36,_0x2e5a24==null?void 0x0:_0x2e5a24[_0x56f1ca(0x147)]);if(!_0x78994c)return!0x1;let _0x1b89ee=_0x176948(_0x3faa36);if((0x0,_0x4f58d8[_0x56f1ca(0x135)])(_0x1b89ee))return!0x1;let _0x589801=_0x78994c[_0x56f1ca(0x184)][_0x56f1ca(0x12c)](_0x78994c[_0x56f1ca(0x147)]),_0x4ce023=_0x5e4c6f(_0x2e5a24,_0x1b89ee),_0x14ab54=_0x544c6e(_0x78994c[_0x56f1ca(0x13e)],_0x4ce023);if(_0x14ab54){if(_0x14ab54[_0x56f1ca(0x19f)]!==_0xd38cf3[_0x56f1ca(0x10d)][_0x56f1ca(0xcf)])return!0x1;let _0x126699=_0x57d96c({'blockId':_0x14ab54['blockId'],'documentData':_0x78994c[_0x56f1ca(0x13e)],'metadata':_0x589801});if(!_0x126699)return!0x1;let _0x9e6426=_0x2460c0(_0x78994c['commandService'],_0x78994c[_0x56f1ca(0x19a)],_0x78994c[_0x56f1ca(0x147)],_0x78994c[_0x56f1ca(0x13e)],_0x126699['nextDocumentData'],_0x1458f8['id'],_0x126699[_0x56f1ca(0x15a)]);return _0x9e6426&&_0x126699[_0x56f1ca(0xe7)]&&_0x78994c[_0x56f1ca(0x184)][_0x56f1ca(0x165)](_0x78994c[_0x56f1ca(0x147)],_0x126699[_0x56f1ca(0xe7)]),_0x9e6426;}let _0x3eeeef=(_0x2e5a24==null?void 0x0:_0x2e5a24[_0x56f1ca(0x106)])??(0x0,_0xd38cf3[_0x56f1ca(0xf6)])(0x6),_0x1ed53e;try{_0x1ed53e=_0x24f6fc({'blockId':_0x3eeeef,'config':_0x2e5a24==null?void 0x0:_0x2e5a24['config'],'documentData':_0x78994c[_0x56f1ca(0x13e)],'endOffset':_0x4ce023==null?void 0x0:_0x4ce023[_0x56f1ca(0xd2)],'insertionMode':_0x2e5a24==null?void 0x0:_0x2e5a24[_0x56f1ca(0x176)],'metadata':_0x589801,'startOffset':_0x4ce023==null?void 0x0:_0x4ce023[_0x56f1ca(0x144)]});}catch(_0x2df77d){if(_0x2df77d instanceof _0x5fa9e8)return!0x1;throw _0x2df77d;}let _0x5bf2cf=_0x2460c0(_0x78994c[_0x56f1ca(0x138)],_0x78994c[_0x56f1ca(0x19a)],_0x78994c[_0x56f1ca(0x147)],_0x78994c[_0x56f1ca(0x13e)],_0x1ed53e[_0x56f1ca(0x127)],_0x1458f8['id'],_0x1ed53e[_0x56f1ca(0x15a)]);return _0x5bf2cf&&_0x1ed53e['nextMetadata']&&_0x78994c['model'][_0x56f1ca(0x165)](_0x78994c[_0x56f1ca(0x147)],_0x1ed53e['nextMetadata']),_0x5bf2cf;}},_0x2976da={'id':'docs-code.command.update','type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0xfedff1,_0x383be8)=>{const _0x7c30d7=_0x2afdb6;if(!_0x383be8)return!0x1;let _0x36f17d=_0x2732d7(_0xfedff1,_0x383be8['unitId']);if(!_0x36f17d)return!0x1;let _0x351413=_0x150871({'blockId':_0x383be8['blockId'],'config':_0x383be8[_0x7c30d7(0x128)],'documentData':_0x36f17d[_0x7c30d7(0x13e)],'metadata':_0x36f17d[_0x7c30d7(0x184)]['serialize'](_0x36f17d[_0x7c30d7(0x147)])});return _0x351413['nextMetadata']&&_0x36f17d[_0x7c30d7(0x184)][_0x7c30d7(0x165)](_0x36f17d[_0x7c30d7(0x147)],_0x351413['nextMetadata']),!0x0;}},_0x50e788={'id':_0x2afdb6(0xd3),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x1e56ee,_0x3b4826)=>_0x50119f[_0x2afdb6(0x124)](_0x1e56ee,_0x3b4826)},_0x50119f={'id':_0x2afdb6(0x141),'type':_0xd38cf3['CommandType'][_0x2afdb6(0xdd)],'handler':(_0x123b84,_0x501747)=>{const _0xa43ee1=_0x2afdb6;if(!_0x501747)return!0x1;let _0x5a84f5=_0x2732d7(_0x123b84,_0x501747==null?void 0x0:_0x501747[_0xa43ee1(0x147)]);if(!_0x5a84f5)return!0x1;let _0x53652d=_0x57d96c({'blockId':_0x501747[_0xa43ee1(0x106)],'documentData':_0x5a84f5[_0xa43ee1(0x13e)],'metadata':_0x5a84f5['model'][_0xa43ee1(0x12c)](_0x5a84f5[_0xa43ee1(0x147)])});if(!_0x53652d)return!0x1;let _0x13a2db=_0x2460c0(_0x5a84f5[_0xa43ee1(0x138)],_0x5a84f5['selectionManager'],_0x5a84f5[_0xa43ee1(0x147)],_0x5a84f5[_0xa43ee1(0x13e)],_0x53652d[_0xa43ee1(0x127)],_0x50119f['id'],_0x53652d['cursorOffset']);return _0x13a2db&&_0x53652d[_0xa43ee1(0xe7)]&&_0x5a84f5[_0xa43ee1(0x184)][_0xa43ee1(0x165)](_0x5a84f5[_0xa43ee1(0x147)],_0x53652d[_0xa43ee1(0xe7)]),_0x13a2db;}},_0x21b222={'id':_0x2afdb6(0x104),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x5f327b,_0x592145)=>{const _0x1fe237=_0x2afdb6;if(!_0x592145)return!0x1;let _0x1272a3=_0x2732d7(_0x5f327b,_0x592145==null?void 0x0:_0x592145['unitId']);if(!_0x1272a3)return!0x1;let _0x19f4a1=_0x14fe73({'blockId':_0x592145[_0x1fe237(0x106)],'documentData':_0x1272a3[_0x1fe237(0x13e)],'metadata':_0x1272a3[_0x1fe237(0x184)]['serialize'](_0x1272a3['unitId'])});if(!_0x19f4a1)return!0x1;let _0x3c2940=_0x2460c0(_0x1272a3['commandService'],_0x1272a3['selectionManager'],_0x1272a3[_0x1fe237(0x147)],_0x1272a3[_0x1fe237(0x13e)],_0x19f4a1['nextDocumentData'],_0x21b222['id'],_0x19f4a1[_0x1fe237(0x15a)]);return _0x3c2940&&_0x19f4a1['nextMetadata']&&_0x1272a3[_0x1fe237(0x184)][_0x1fe237(0x165)](_0x1272a3[_0x1fe237(0x147)],_0x19f4a1[_0x1fe237(0xe7)]),_0x3c2940;}},_0x549e8c={'id':_0x2afdb6(0xce),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x161a74,_0x3216e3)=>{const _0x5c423f=_0x2afdb6;var _0x4f1559;let _0x3f2217=_0x2732d7(_0x161a74,_0x3216e3==null?void 0x0:_0x3216e3[_0x5c423f(0x147)]);if(!_0x3f2217)return!0x1;let _0x121641=(_0x3216e3==null?void 0x0:_0x3216e3[_0x5c423f(0x15a)])??((_0x4f1559=_0x176948(_0x161a74))==null?void 0x0:_0x4f1559[_0x5c423f(0x144)]);if(_0x121641==null)return!0x1;let _0x5b75a9=_0x3a3c9d({'cursorOffset':_0x121641,'documentData':_0x3f2217['previousDocumentData'],'paragraphStartIndex':_0x3216e3==null?void 0x0:_0x3216e3[_0x5c423f(0x111)]});return _0x5b75a9?_0x2460c0(_0x3f2217['commandService'],_0x3f2217[_0x5c423f(0x19a)],_0x3f2217[_0x5c423f(0x147)],_0x3f2217[_0x5c423f(0x13e)],_0x5b75a9[_0x5c423f(0x127)],_0x549e8c['id'],_0x5b75a9[_0x5c423f(0x15a)]):!0x1;}};function _0x2732d7(_0x4adddc,_0x240b2a){const _0x26d7d9=_0x2afdb6;let _0x4fb5ea=_0x4adddc[_0x26d7d9(0x175)](_0xd38cf3[_0x26d7d9(0x18c)]),_0x5509fb=_0x240b2a?_0x4fb5ea[_0x26d7d9(0x101)](_0x240b2a,_0xd38cf3[_0x26d7d9(0x10e)][_0x26d7d9(0x153)]):_0x4fb5ea[_0x26d7d9(0xe2)](_0xd38cf3[_0x26d7d9(0x10e)][_0x26d7d9(0x153)]);return _0x5509fb?{'commandService':_0x4adddc[_0x26d7d9(0x175)](_0xd38cf3['ICommandService']),'model':_0x4adddc[_0x26d7d9(0x175)](_0x3f2913),'previousDocumentData':_0x5509fb['getSnapshot'](),'selectionManager':_0x4adddc[_0x26d7d9(0x175)](_0x4f58d8[_0x26d7d9(0xff)]),'unitId':_0x5509fb['getUnitId']()}:null;}function _0x176948(_0x1647fb){const _0x5ead0c=_0x2afdb6;var _0x505e97;return(_0x505e97=_0x1647fb[_0x5ead0c(0x175)](_0x4f58d8[_0x5ead0c(0xff)])[_0x5ead0c(0x164)]())==null?void 0x0:_0x505e97[0x0];}function _0x5e4c6f(_0x1ea976,_0x505629){const _0x411725=_0x2afdb6;let _0x2fae55=(_0x1ea976==null?void 0x0:_0x1ea976[_0x411725(0x144)])??(_0x505629==null?void 0x0:_0x505629[_0x411725(0x144)]),_0x433e0b=(_0x1ea976==null?void 0x0:_0x1ea976[_0x411725(0xd2)])??(_0x505629==null?void 0x0:_0x505629[_0x411725(0xd2)]);if(_0x2fae55!=null&&_0x433e0b!=null)return{'endOffset':Math[_0x411725(0x149)](_0x2fae55,_0x433e0b),'startOffset':Math[_0x411725(0xe9)](_0x2fae55,_0x433e0b)};}function _0x544c6e(_0x249a5e,_0x1e913d){const _0x564f95=_0x2afdb6;var _0x4842fe;if(!_0x1e913d)return;let _0x38095c=_0x9aae81(_0x1e913d);return(_0x4842fe=_0x249a5e['body'])==null||(_0x4842fe=_0x4842fe[_0x564f95(0x14d)])==null?void 0x0:_0x4842fe[_0x564f95(0x156)](_0x4ffb05=>{const _0x20576a=_0x564f95;let _0x1c8022=(0x0,_0xd38cf3[_0x20576a(0x126)])(_0x4ffb05);return _0x1e913d[_0x20576a(0x144)]===_0x1e913d[_0x20576a(0xd2)]?(0x0,_0xd38cf3[_0x20576a(0x186)])(_0x1c8022,_0x38095c):(0x0,_0xd38cf3['containsStreamIndex'])(_0x1c8022,_0x38095c);});}function _0x9aae81(_0x357e61){const _0x54be05=_0x2afdb6;return _0x357e61[_0x54be05(0x144)]===_0x357e61['endOffset']?_0x357e61[_0x54be05(0x144)]:_0x357e61[_0x54be05(0x144)]+0x1;}function _0x4b13c2(_0x28930a){const _0x2b7a76=_0x2afdb6;let _0x1e9419=_0x176948(_0x28930a);if(!_0x1e9419)return null;let _0x362f6c=_0x28930a[_0x2b7a76(0x175)](_0xd38cf3[_0x2b7a76(0x18c)])['getCurrentUnitOfType'](_0xd38cf3[_0x2b7a76(0x10e)][_0x2b7a76(0x153)]),_0x2e5629=_0x362f6c==null?void 0x0:_0x362f6c[_0x2b7a76(0x199)]();return _0x2e5629?_0xd38cf3[_0x2b7a76(0x181)]['range'][_0x2b7a76(0xf9)](_0x1e9419,_0x2e5629['paragraphs']??[],_0x2e5629['dataStream']??'')[0x0]??null:null;}function _0x588906(_0x5ecdb2,_0x1e28cc){const _0x3cdf7c=_0x2afdb6;let _0x38da74=_0x5ecdb2[_0x3cdf7c(0x161)],_0x591c0d=_0x1e28cc[_0x3cdf7c(0x161)],_0x16c7d7=(0x0,_0xd38cf3['getSingleDataStreamChange'])(_0x38da74,_0x591c0d);return[_0x16c7d7&&_0x591c0d?_0x46eba4(_0x591c0d,_0x16c7d7):null,_0x16c7d7?null:_0x427683(_0x38da74,_0x591c0d)][_0x3cdf7c(0x13a)](Boolean)['reduce']((_0x1561dc,_0x547522)=>_0xd38cf3[_0x3cdf7c(0x197)][_0x3cdf7c(0x120)](_0x1561dc,_0x547522),null);}function _0x46eba4(_0x3e8747,_0x13719c){const _0x461430=_0x2afdb6;let _0x344cb0=new _0xd38cf3[(_0x461430(0x16f))]();return _0x344cb0['retain'](_0x13719c[_0x461430(0xf5)]),_0x13719c[_0x461430(0x13d)]>0x0&&_0x344cb0[_0x461430(0x143)](_0x13719c[_0x461430(0x13d)],(0x0,_0xd38cf3[_0x461430(0x102)])(_0x3e8747,_0x13719c[_0x461430(0xf5)],_0x13719c[_0x461430(0xf5)]+_0x13719c[_0x461430(0x13d)],!0x1)),_0x13719c[_0x461430(0x114)]>0x0&&_0x344cb0[_0x461430(0xeb)](_0x13719c['deleteLength']),_0xd38cf3[_0x461430(0x197)]['getInstance']()[_0x461430(0x19e)](_0x344cb0[_0x461430(0x12c)](),[_0x461430(0x161)]);}function _0x427683(_0x868e60,_0x1cc03a){const _0x1d605b=_0x2afdb6;let _0x245608=[],_0x19c745=_0x868e60?_0x74b26f(_0x868e60):void 0x0,_0x1ed9f2=_0x1cc03a?_0x74b26f(_0x1cc03a):void 0x0;for(let _0x41f83b of _0xeae027)_0x4be7cc(_0xd38cf3['JSONX'][_0x1d605b(0x19c)](),['body',_0x41f83b],_0x19c745==null?void 0x0:_0x19c745[_0x41f83b],_0x1ed9f2==null?void 0x0:_0x1ed9f2[_0x41f83b],_0x245608);return _0x245608[_0x1d605b(0x14a)]((_0x5d518b,_0x518e51)=>_0xd38cf3['JSONX'][_0x1d605b(0x120)](_0x5d518b,_0x518e51),null);}let _0xeae027=[_0x2afdb6(0x14c),'sectionBreaks','tables','columnGroups','blockRanges',_0x2afdb6(0x17d),_0x2afdb6(0x173),_0x2afdb6(0x193),_0x2afdb6(0x18f)];function _0x74b26f(_0x52f63d){return _0x52f63d;}function _0x4be7cc(_0x577752,_0x1287d6,_0xa20847,_0x218db7,_0xc00983){const _0x108fa5=_0x2afdb6;_0x320fe2(_0xa20847,_0x218db7)||(_0xa20847==null?_0xc00983[_0x108fa5(0x1a0)](_0x577752['insertOp'](_0x1287d6,_0x218db7)):_0x218db7==null?_0xc00983[_0x108fa5(0x1a0)](_0x577752['removeOp'](_0x1287d6,_0xa20847)):Array['isArray'](_0xa20847)&&Array[_0x108fa5(0x1a1)](_0x218db7)?_0x3674e8(_0x577752,_0x1287d6,_0xa20847,_0x218db7,_0xc00983):_0x527a6a(_0xa20847)&&_0x527a6a(_0x218db7)?new Set([...Object[_0x108fa5(0x157)](_0xa20847),...Object[_0x108fa5(0x157)](_0x218db7)])[_0x108fa5(0x133)](_0x48c810=>{_0x4be7cc(_0x577752,[..._0x1287d6,_0x48c810],_0xa20847[_0x48c810],_0x218db7[_0x48c810],_0xc00983);}):_0xc00983[_0x108fa5(0x1a0)](_0x577752[_0x108fa5(0x191)](_0x1287d6,_0xa20847,_0x218db7)));}function _0x3674e8(_0x2d87d0,_0x6796f,_0x1ef3c5,_0x4ffc1a,_0x281d7e){const _0x5bffe2=_0x2afdb6;if(_0x1ef3c5[_0x5bffe2(0x19d)]===_0x4ffc1a[_0x5bffe2(0x19d)]){_0x1ef3c5[_0x5bffe2(0x133)]((_0x2c18d7,_0x46594e)=>_0x4be7cc(_0x2d87d0,[..._0x6796f,_0x46594e],_0x2c18d7,_0x4ffc1a[_0x46594e],_0x281d7e));return;}let _0x2c2cfd=0x0;for(;_0x2c2cfd<_0x1ef3c5[_0x5bffe2(0x19d)]&&_0x2c2cfd<_0x4ffc1a[_0x5bffe2(0x19d)]&&_0x320fe2(_0x1ef3c5[_0x2c2cfd],_0x4ffc1a[_0x2c2cfd]);)_0x2c2cfd++;let _0x195410=_0x1ef3c5[_0x5bffe2(0x19d)]-0x1,_0x1565c0=_0x4ffc1a[_0x5bffe2(0x19d)]-0x1;for(;_0x195410>=_0x2c2cfd&&_0x1565c0>=_0x2c2cfd&&_0x320fe2(_0x1ef3c5[_0x195410],_0x4ffc1a[_0x1565c0]);)_0x195410--,_0x1565c0--;for(let _0x517972=_0x195410;_0x517972>=_0x2c2cfd;_0x517972--)_0x281d7e[_0x5bffe2(0x1a0)](_0x2d87d0['removeOp']([..._0x6796f,_0x517972],_0x1ef3c5[_0x517972]));for(let _0x5eecee=_0x2c2cfd;_0x5eecee<=_0x1565c0;_0x5eecee++)_0x281d7e[_0x5bffe2(0x1a0)](_0x2d87d0[_0x5bffe2(0xe0)]([..._0x6796f,_0x5eecee],_0x4ffc1a[_0x5eecee]));}function _0x527a6a(_0x5a9d5e){const _0x55f0f8=_0x2afdb6;return typeof _0x5a9d5e==_0x55f0f8(0x17f)&&!!_0x5a9d5e&&!Array[_0x55f0f8(0x1a1)](_0x5a9d5e);}function _0x320fe2(_0x81c120,_0x5e3919){const _0x11334e=_0x2afdb6;return JSON[_0x11334e(0xe3)](_0x81c120)===JSON[_0x11334e(0xe3)](_0x5e3919);}function _0x2460c0(_0x36d7fe,_0x273aa9,_0x25d47a,_0x3462eb,_0x4e26c3,_0x45653b,_0x37846d){const _0x5ae665=_0x2afdb6;let _0x280bd3=_0x588906(_0x3462eb,_0x4e26c3);return _0x280bd3?!!_0x36d7fe[_0x5ae665(0xfc)](_0x4f58d8['RichTextEditingMutation']['id'],{'unitId':_0x25d47a,'actions':_0x280bd3,'textRanges':[{'startOffset':_0x37846d,'endOffset':_0x37846d,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x45653b}):(_0x273aa9[_0x5ae665(0xee)]([{'startOffset':_0x37846d,'endOffset':_0x37846d}],{'unitId':_0x25d47a,'subUnitId':_0x25d47a},!0x1),!0x0);}let _0x2cb7a8='DOC_CODE_PLUGIN';var _0x37ac78='@univerjs-pro/docs-code',_0x5ccc86=_0x2afdb6(0x189);let _0x3fc187={};function _0x46dbd0(_0x2917d1,_0x5d1866){return function(_0x7c7241,_0x4694a1){_0x5d1866(_0x7c7241,_0x4694a1,_0x2917d1);};}function _0x1f11d0(_0x5e3ec8,_0x4ad607,_0x2c35f3,_0x113a20){const _0x24fb27=_0x2afdb6;var _0x1e23f8=arguments[_0x24fb27(0x19d)],_0x17c0ab=_0x1e23f8<0x3?_0x4ad607:_0x113a20===null?_0x113a20=Object[_0x24fb27(0x172)](_0x4ad607,_0x2c35f3):_0x113a20,_0x383cbb;if(typeof Reflect==_0x24fb27(0x17f)&&typeof Reflect[_0x24fb27(0x177)]==_0x24fb27(0x18d))_0x17c0ab=Reflect[_0x24fb27(0x177)](_0x5e3ec8,_0x4ad607,_0x2c35f3,_0x113a20);else{for(var _0x3b2532=_0x5e3ec8['length']-0x1;_0x3b2532>=0x0;_0x3b2532--)(_0x383cbb=_0x5e3ec8[_0x3b2532])&&(_0x17c0ab=(_0x1e23f8<0x3?_0x383cbb(_0x17c0ab):_0x1e23f8>0x3?_0x383cbb(_0x4ad607,_0x2c35f3,_0x17c0ab):_0x383cbb(_0x4ad607,_0x2c35f3))||_0x17c0ab);}return _0x1e23f8>0x3&&_0x17c0ab&&Object['defineProperty'](_0x4ad607,_0x2c35f3,_0x17c0ab),_0x17c0ab;}let _0x5211cd=class extends _0xd38cf3['Disposable']{constructor(_0x2cd5a5,_0x4da1c){const _0x26e1df=_0x2afdb6;super(),this[_0x26e1df(0xde)]=_0x2cd5a5,this[_0x26e1df(0x108)]=_0x4da1c,this[_0x26e1df(0x17b)]();}['_initResource'](){const _0x122377=_0x2afdb6;this[_0x122377(0xfe)](this[_0x122377(0xde)][_0x122377(0x109)]({'pluginName':_0x2cb7a8,'businesses':[_0xd38cf3[_0x122377(0x10e)][_0x122377(0x153)]],'toJson':_0x3bf952=>JSON[_0x122377(0xe3)](this[_0x122377(0x108)][_0x122377(0x12c)](_0x3bf952)),'parseJson':_0x1029e1=>_0x3133e5(JSON[_0x122377(0x15e)](_0x1029e1)),'onLoad':(_0x5bb0f1,_0x16b34a)=>this[_0x122377(0x108)][_0x122377(0x165)](_0x5bb0f1,_0x16b34a),'onUnLoad':_0x3b3d06=>this[_0x122377(0x108)][_0x122377(0x187)](_0x3b3d06)}));}};_0x5211cd=_0x1f11d0([_0x46dbd0(0x0,_0xd38cf3['IResourceManagerService']),_0x46dbd0(0x1,(0x0,_0xd38cf3[_0x2afdb6(0xd1)])(_0x3f2913))],_0x5211cd);let _0x32fe6b=class extends _0xd38cf3[_0x2afdb6(0xe1)]{constructor(_0x13fb0a=_0x3fc187,_0x49e317,_0x46e393,_0x41012b){const _0x1a697f=_0x2afdb6;super(),this['_config']=_0x13fb0a,this['_injector']=_0x49e317,this[_0x1a697f(0x18b)]=_0x46e393,this[_0x1a697f(0x11a)]=_0x41012b;let {..._0x498045}=(0x0,_0xd38cf3[_0x1a697f(0xf8)])({},_0x3fc187,this[_0x1a697f(0x116)]);this['_configService'][_0x1a697f(0x16e)](_0x1a697f(0xd5),_0x498045);}[_0x2afdb6(0x166)](){const _0x1fe97f=_0x2afdb6;this[_0x1fe97f(0x17a)][_0x1fe97f(0x194)]([_0x3f2913]),this[_0x1fe97f(0x17a)][_0x1fe97f(0x194)]([_0x5211cd]),this['_injector'][_0x1fe97f(0x175)](_0x3f2913),this[_0x1fe97f(0x17a)][_0x1fe97f(0x175)](_0x5211cd),[_0x1458f8,_0x2c620d,_0x2976da,_0x50119f,_0x21b222,_0x50e788,_0x549e8c,_0x2921ca,_0xce451a,_0x5c0f3a][_0x1fe97f(0x133)](_0x4603d7=>this[_0x1fe97f(0xfe)](this[_0x1fe97f(0x18b)][_0x1fe97f(0x11d)](_0x4603d7)));}};_0x5a41eb(_0x32fe6b,'pluginName',_0x2cb7a8),_0x5a41eb(_0x32fe6b,_0x2afdb6(0xea),_0x37ac78),_0x5a41eb(_0x32fe6b,_0x2afdb6(0x18a),_0x5ccc86),_0x5a41eb(_0x32fe6b,_0x2afdb6(0x12e),_0xd38cf3[_0x2afdb6(0x10e)][_0x2afdb6(0x153)]),_0x32fe6b=_0x1f11d0([(0x0,_0xd38cf3[_0x2afdb6(0xcd)])(_0x3332d7[_0x2afdb6(0x146)],_0x4f58d8[_0x2afdb6(0x100)]),_0x46dbd0(0x1,(0x0,_0xd38cf3[_0x2afdb6(0xd1)])(_0xd38cf3[_0x2afdb6(0x12a)])),_0x46dbd0(0x2,_0xd38cf3['ICommandService']),_0x46dbd0(0x3,_0xd38cf3[_0x2afdb6(0xed)])],_0x32fe6b),_0x3acef2['DOCS_CODE_PLUGIN']=_0x2cb7a8,_0x3acef2[_0x2afdb6(0x13c)]=_0x549e8c,_0x3acef2['DocsCodeConsumeBoundaryDeleteCommand']=_0x2921ca,_0x3acef2[_0x2afdb6(0x163)]=_0x2c620d,_0x3acef2[_0x2afdb6(0x1a2)]=_0x1458f8,_0x3acef2[_0x2afdb6(0xf0)]=_0x3f2913,_0x3acef2[_0x2afdb6(0x185)]=_0x21b222,_0x3acef2['DocsCodeUnwrapCommand']=_0x50119f,_0x3acef2[_0x2afdb6(0x139)]=_0x2976da,_0x3acef2['RemoveDocsCodeConfigMutation']=_0x5c0f3a,_0x3acef2[_0x2afdb6(0x11b)]=_0xce451a,Object['defineProperty'](_0x3acef2,_0x2afdb6(0x125),{'enumerable':!0x0,'get':function(){return _0x32fe6b;}}),_0x3acef2[_0x2afdb6(0x107)]=_0x3a3c9d,_0x3acef2[_0x2afdb6(0x160)]=_0x59b944,_0x3acef2['normalizeDocsCodeConfig']=_0x212ab5,_0x3acef2[_0x2afdb6(0xf4)]=_0x3133e5;}));function _0x580a(_0x13193b,_0x191c01){_0x13193b=_0x13193b-0xcb;const _0x8da3f5=_0x8da3();let _0x580a23=_0x8da3f5[_0x13193b];return _0x580a23;}function _0x8da3(){const _0x43e219=['25348EYiLyv','Injector','docs-code.mutation.remove-config','serialize','removeCode','type','some','paragraphStyle','Subject','Document\x20body\x20is\x20required','forEach','18WmAPuP','isHeaderFooterSelection','UniverProLicense','columnGroups','commandService','DocsCodeUpdateCommand','filter','direction','DocsCodeCancelEmptyParagraphCommand','insertLength','previousDocumentData','complete','widowControl','docs-code.command.unwrap','toStringTag','insert','startOffset','fromEntries','UniverLicensePlugin','unitId','DataStreamTreeTokenType','max','reduce','every','paragraphs','blockRanges','createParagraphId','SECTION_BREAK','toPrimitive','map','paragraph','UNIVER_DOC','change$','getParagraphFollowingBlockOffset','find','keys','ICommandService','slice','cursorOffset','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','textStyle','metadata','parse','set','isCodeBoundaryDelete','body','call','DocsCodeInsertBelowCommand','getTextRanges','deserialize','onStarting','insert-new','726749biKCgX','constructor','7266889XFqlEO','next','dataStream','PARAGRAPH','setConfig','TextX','UniverCore','keepLines','getOwnPropertyDescriptor','customRanges','_setResource','get','insertionMode','decorate','tables','docs-code.mutation.set-config','_injector','_initResource','endsWith','customBlocks','clear','object','_change$','BuildTextUtils','5127785VAatGI','endTokenOffset','model','DocsCodeRemoveCommand','containsInteriorInsertionOffset','removeUnit','rxjs','1.2.0','version','_commandService','IUniverInstanceService','function','docs-code.command.insert-below','textRuns','getCodeConfig','replaceOp','indentEnd','customDecorations','add','symbol','setCodeConfig','JSONX','endIndex','getBody','selectionManager','spaceAbove','getInstance','length','editOp','blockType','push','isArray','DocsCodeInsertCommand','shiftExclusiveRangeOnDelete','asObservable','DependentOn','docs-code.command.cancel-empty-paragraph','CODE','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','Inject','endOffset','docs-code.command.exit','iterator','docs-code.config','BLOCK_END','codes','documentData','startTokenOffset','sort','21398450HTqtvF','startIndex','COMMAND','_resourceManagerService','right','insertOp','Plugin','getCurrentUnitOfType','stringify','BLOCK_START','spaceBelow','Module','nextMetadata','shiftExclusiveRangeOnInsert','min','packageName','delete','monospace','IConfigService','replaceDocRanges','_resources','DocsCodeModel','Disposable','shiftInclusiveRangeOnInsert','exports','normalizeDocsCodeMetadataResource','start','generateRandomId','indexOf','merge','getParagraphsInRange','sectionBreaks','shiftInclusiveRangeOnDelete','syncExecuteCommand','amd','disposeWithMe','DocSelectionManagerService','UniverDocsPlugin','getUnit','getBodySliceForTextXAction','string','docs-code.command.remove','10426545tLoYrG','blockId','buildCancelEmptyCodeParagraphActions','_docsCodeModel','registerPluginResource','8cIvpCS','getContentInsertRange','CommandType','DocumentBlockRangeType','UniverInstanceType','getParagraphContentStartOffset','dispose','paragraphStartIndex','2QthSeP','indentStart','deleteLength','bullet','_config','docs-code.command.insert','7522596PauorT','TABLE_CELL_START','_configService','SetDocsCodeConfigMutation','paragraphId','registerCommand','TABLE_CELL_END','getParagraphContentStartOffsets','compose','defineProperty','entries','BooleanNumber','handler','UniverDocsCodePlugin','getBlockRangeInterval','nextDocumentData','config'];_0x8da3=function(){return _0x43e219;};return _0x8da3();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-code",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Code block model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.
|
|
65
|
-
"@univerjs/core": "1.
|
|
66
|
-
"@univerjs/docs": "1.
|
|
64
|
+
"@univerjs-pro/license": "1.2.0",
|
|
65
|
+
"@univerjs/core": "1.2.0",
|
|
66
|
+
"@univerjs/docs": "1.2.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs-infra/shared": "1.
|
|
69
|
+
"@univerjs-infra/shared": "1.2.0",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
72
|
"vitest": "^5.0.4"
|