@univerjs/preset-docs-collaboration 0.20.1 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x50be(_0x17c9b4,_0x10d094){_0x17c9b4=_0x17c9b4-0x182;const _0x4e0e3a=_0x4e0e();let _0x50be3f=_0x4e0e3a[_0x17c9b4];return _0x50be3f;}(function(_0xb06a95,_0x1a1a1a){const _0x3c8876=_0x50be,_0x4fd1c3=_0xb06a95();while(!![]){try{const _0x430759=parseInt(_0x3c8876(0x44c))/0x1+parseInt(_0x3c8876(0x1e3))/0x2*(parseInt(_0x3c8876(0x3fc))/0x3)+parseInt(_0x3c8876(0x3e2))/0x4*(-parseInt(_0x3c8876(0x26f))/0x5)+parseInt(_0x3c8876(0x249))/0x6*(-parseInt(_0x3c8876(0x351))/0x7)+-parseInt(_0x3c8876(0x4f3))/0x8*(-parseInt(_0x3c8876(0x4d9))/0x9)+-parseInt(_0x3c8876(0x314))/0xa+parseInt(_0x3c8876(0x4a1))/0xb;if(_0x430759===_0x1a1a1a)break;else _0x4fd1c3['push'](_0x4fd1c3['shift']());}catch(_0x561db1){_0x4fd1c3['push'](_0x4fd1c3['shift']());}}}(_0x4e0e,0x2c6bf),function(_0x4ab413,_0x492c8e){const _0xe0a257=_0x50be;typeof exports==_0xe0a257(0x240)&&typeof module<'u'?_0x492c8e(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define==_0xe0a257(0x329)&&define[_0xe0a257(0x4cf)]?define([_0xe0a257(0x50d),_0xe0a257(0x36b),_0xe0a257(0x296),_0xe0a257(0x32a),'@univerjs/sheets',_0xe0a257(0x265),_0xe0a257(0x501),'rxjs/operators',_0xe0a257(0x404),_0xe0a257(0x23a),_0xe0a257(0x194)],_0x492c8e):(_0x4ab413=typeof globalThis<'u'?globalThis:_0x4ab413||self,_0x492c8e(_0x4ab413[_0xe0a257(0x4f2)]={},_0x4ab413['UniverProCollaboration'],_0x4ab413[_0xe0a257(0x1c6)],_0x4ab413[_0xe0a257(0x320)],_0x4ab413[_0xe0a257(0x31c)],_0x4ab413[_0xe0a257(0x265)],_0x4ab413['UniverTelemetry'],_0x4ab413[_0xe0a257(0x265)][_0xe0a257(0x4af)],_0x4ab413[_0xe0a257(0x4c7)],_0x4ab413[_0xe0a257(0x2c2)],_0x4ab413[_0xe0a257(0x2dc)]));}(this,function(_0x584a9c,_0x4a1cad,_0x4fa1c7,_0x5ed934,_0x376d47,_0x431df8,_0x169a2d,_0x3bb026,_0x4ba8c3,_0x5626bb,_0x332921){const _0x2f9c02=_0x50be;Object[_0x2f9c02(0x2be)](_0x584a9c,Symbol[_0x2f9c02(0x2f1)],{'value':'Module'});var _0x17ee5a=Object[_0x2f9c02(0x34e)],_0x432488=Object[_0x2f9c02(0x2be)],_0x19a276=Object[_0x2f9c02(0x1b2)],_0x368a5e=Object[_0x2f9c02(0x4c1)],_0x2242f7=Object['getPrototypeOf'],_0x1c7131=Object[_0x2f9c02(0x4d0)][_0x2f9c02(0x1fb)],_0x3712b0=(_0xfad4f2,_0x5a5c6f)=>()=>(_0x5a5c6f||_0xfad4f2((_0x5a5c6f={'exports':{}})[_0x2f9c02(0x50d)],_0x5a5c6f),_0x5a5c6f[_0x2f9c02(0x50d)]),_0xeee039=(_0x1d61cb,_0x9f0a68,_0x5413d3,_0x52d77d)=>{const _0x11c533=_0x2f9c02;if(_0x9f0a68&&typeof _0x9f0a68==_0x11c533(0x240)||typeof _0x9f0a68==_0x11c533(0x329)){for(var _0x1e8000=_0x368a5e(_0x9f0a68),_0x5d835f=0x0,_0x2897c4=_0x1e8000[_0x11c533(0x4ca)],_0x3afebe;_0x5d835f<_0x2897c4;_0x5d835f++)_0x3afebe=_0x1e8000[_0x5d835f],!_0x1c7131['call'](_0x1d61cb,_0x3afebe)&&_0x3afebe!==_0x5413d3&&_0x432488(_0x1d61cb,_0x3afebe,{'get':(_0x5f21f7=>_0x9f0a68[_0x5f21f7])[_0x11c533(0x3bd)](null,_0x3afebe),'enumerable':!(_0x52d77d=_0x19a276(_0x9f0a68,_0x3afebe))||_0x52d77d[_0x11c533(0x20a)]});}return _0x1d61cb;},_0x124565=(_0x50e044,_0x201104,_0x5c9455)=>(_0x5c9455=_0x50e044==null?{}:_0x17ee5a(_0x2242f7(_0x50e044)),_0xeee039(_0x201104||!_0x50e044||!_0x50e044[_0x2f9c02(0x48a)]?_0x432488(_0x5c9455,_0x2f9c02(0x491),{'value':_0x50e044,'enumerable':!0x0}):_0x5c9455,_0x50e044));let _0x4b06c5=_0x2f9c02(0x2de),_0x2877b3=0x4e20,_0x59f5dd=function(_0x46dde1){const _0xc64f38=_0x2f9c02;return _0x46dde1[_0x46dde1[_0xc64f38(0x2c8)]=0x0]=_0xc64f38(0x2c8),_0x46dde1[_0x46dde1['OK']=0x1]='OK',_0x46dde1[_0x46dde1[_0xc64f38(0x492)]=0x2]=_0xc64f38(0x492),_0x46dde1[_0x46dde1[_0xc64f38(0x331)]=0x3]=_0xc64f38(0x331),_0x46dde1[_0x46dde1[_0xc64f38(0x4d4)]=0x4]=_0xc64f38(0x4d4),_0x46dde1[_0x46dde1[_0xc64f38(0x3be)]=0x5]=_0xc64f38(0x3be),_0x46dde1[_0x46dde1[_0xc64f38(0x413)]=0x6]=_0xc64f38(0x413),_0x46dde1[_0x46dde1[_0xc64f38(0x42e)]=0x7]=_0xc64f38(0x42e),_0x46dde1[_0x46dde1[_0xc64f38(0x371)]=0x8]='TOO_MANY_REQUESTS',_0x46dde1[_0x46dde1[_0xc64f38(0x23d)]=0x9]=_0xc64f38(0x23d),_0x46dde1[_0x46dde1['LOGIN_FAILED']=0xa]=_0xc64f38(0x277),_0x46dde1[_0x46dde1[_0xc64f38(0x452)]=0xb]=_0xc64f38(0x452),_0x46dde1[_0x46dde1[_0xc64f38(0x311)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x46dde1[_0x46dde1[_0xc64f38(0x1d3)]=0xd]=_0xc64f38(0x1d3),_0x46dde1[_0x46dde1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xc64f38(0x195),_0x46dde1[_0x46dde1[_0xc64f38(0x3f3)]=0xf]=_0xc64f38(0x3f3),_0x46dde1[_0x46dde1[_0xc64f38(0x42f)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x46dde1[_0x46dde1[_0xc64f38(0x235)]=0x64]=_0xc64f38(0x235),_0x46dde1[_0x46dde1[_0xc64f38(0x3c8)]=0x65]='ERROR_AGAIN',_0x46dde1[_0x46dde1['USER_NOT_FOUND']=0xc9]=_0xc64f38(0x44d),_0x46dde1[_0x46dde1[_0xc64f38(0x39c)]=0xca]=_0xc64f38(0x39c),_0x46dde1[_0x46dde1[_0xc64f38(0x385)]=0x1389]=_0xc64f38(0x385),_0x46dde1[_0x46dde1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x46dde1[_0x46dde1[_0xc64f38(0x434)]=0x1772]=_0xc64f38(0x434),_0x46dde1[_0x46dde1[_0xc64f38(0x2ac)]=0x1773]=_0xc64f38(0x2ac),_0x46dde1[_0x46dde1[_0xc64f38(0x4d5)]=0x1b59]=_0xc64f38(0x4d5),_0x46dde1[_0x46dde1[_0xc64f38(0x37b)]=0x1b5a]=_0xc64f38(0x37b),_0x46dde1[_0x46dde1[_0xc64f38(0x190)]=0x1b5b]=_0xc64f38(0x190),_0x46dde1[_0x46dde1[_0xc64f38(0x245)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46dde1[_0x46dde1['APPLY_DUPLICATED']=0x1b5d]=_0xc64f38(0x2ff),_0x46dde1[_0x46dde1['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x46dde1[_0x46dde1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xc64f38(0x4e3),_0x46dde1[_0x46dde1[_0xc64f38(0x198)]=0x232a]=_0xc64f38(0x198),_0x46dde1[_0x46dde1[_0xc64f38(0x25d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x46dde1[_0x46dde1[_0xc64f38(0x402)]=0x232c]=_0xc64f38(0x402),_0x46dde1[_0x46dde1[_0xc64f38(0x2b8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x46dde1[_0x46dde1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xc64f38(0x4f8),_0x46dde1[_0x46dde1[_0xc64f38(0x224)]=0x2712]=_0xc64f38(0x224),_0x46dde1[_0x46dde1[_0xc64f38(0x238)]=0x2713]=_0xc64f38(0x238),_0x46dde1[_0x46dde1[_0xc64f38(0x30a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x46dde1[_0x46dde1[_0xc64f38(0x498)]=0x271a]=_0xc64f38(0x498),_0x46dde1[_0x46dde1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xc64f38(0x4c4),_0x46dde1[_0x46dde1['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xc64f38(0x2e1),_0x46dde1[_0x46dde1[_0xc64f38(0x2fa)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x46dde1[_0x46dde1[_0xc64f38(0x363)]=0x271e]=_0xc64f38(0x363),_0x46dde1[_0x46dde1[_0xc64f38(0x4a2)]=0x271f]=_0xc64f38(0x4a2),_0x46dde1[_0x46dde1[_0xc64f38(0x422)]=0x2720]=_0xc64f38(0x422),_0x46dde1[_0x46dde1[_0xc64f38(0x228)]=0x2af9]=_0xc64f38(0x228),_0x46dde1[_0x46dde1[_0xc64f38(0x49b)]=0x2ee1]=_0xc64f38(0x49b),_0x46dde1[_0x46dde1[_0xc64f38(0x287)]=0x2ee2]=_0xc64f38(0x287),_0x46dde1[_0x46dde1[_0xc64f38(0x1dd)]=0x2ee3]=_0xc64f38(0x1dd),_0x46dde1[_0x46dde1[_0xc64f38(0x3ea)]=0x2ee4]=_0xc64f38(0x3ea),_0x46dde1[_0x46dde1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xc64f38(0x532),_0x46dde1[_0x46dde1[_0xc64f38(0x1a2)]=0x32c9]=_0xc64f38(0x1a2),_0x46dde1[_0x46dde1[_0xc64f38(0x48c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x46dde1[_0x46dde1[_0xc64f38(0x2a6)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x46dde1[_0x46dde1[_0xc64f38(0x4bc)]=0x36b1]=_0xc64f38(0x4bc),_0x46dde1[_0x46dde1['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xc64f38(0x276),_0x46dde1[_0x46dde1[_0xc64f38(0x40b)]=0x36b3]=_0xc64f38(0x40b),_0x46dde1[_0x46dde1[_0xc64f38(0x18f)]=0x36b4]=_0xc64f38(0x18f),_0x46dde1[_0x46dde1[_0xc64f38(0x392)]=0x36b5]=_0xc64f38(0x392),_0x46dde1[_0x46dde1[_0xc64f38(0x3cd)]=0x36b6]=_0xc64f38(0x3cd),_0x46dde1[_0x46dde1[_0xc64f38(0x34f)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x46dde1[_0x46dde1[_0xc64f38(0x47b)]=0x36b8]=_0xc64f38(0x47b),_0x46dde1[_0x46dde1[_0xc64f38(0x4f7)]=0x3715]=_0xc64f38(0x4f7),_0x46dde1[_0x46dde1[_0xc64f38(0x214)]=0x3716]=_0xc64f38(0x214),_0x46dde1[_0x46dde1[_0xc64f38(0x4db)]=0x3717]=_0xc64f38(0x4db),_0x46dde1[_0x46dde1[_0xc64f38(0x44b)]=0x37dd]=_0xc64f38(0x44b),_0x46dde1[_0x46dde1[_0xc64f38(0x4f9)]=0x3a99]=_0xc64f38(0x4f9),_0x46dde1[_0x46dde1[_0xc64f38(0x261)]=0x3a9a]=_0xc64f38(0x261),_0x46dde1[_0x46dde1[_0xc64f38(0x399)]=0x3a9b]=_0xc64f38(0x399),_0x46dde1[_0x46dde1[_0xc64f38(0x244)]=0x3a9c]=_0xc64f38(0x244),_0x46dde1[_0x46dde1[_0xc64f38(0x233)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x46dde1[_0x46dde1[_0xc64f38(0x24a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x46dde1[_0x46dde1[_0xc64f38(0x3ef)]=0x3a9f]=_0xc64f38(0x3ef),_0x46dde1[_0x46dde1[_0xc64f38(0x312)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x46dde1[_0x46dde1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x46dde1;}({}),_0x139b11=function(_0x30126a){const _0x5cee85=_0x2f9c02;return _0x30126a[_0x30126a[_0x5cee85(0x3b7)]=0x0]=_0x5cee85(0x3b7),_0x30126a[_0x30126a['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x30126a[_0x30126a[_0x5cee85(0x528)]=0x2]='UNIVER_SHEET',_0x30126a[_0x30126a[_0x5cee85(0x30e)]=0x3]=_0x5cee85(0x30e),_0x30126a[_0x30126a[_0x5cee85(0x22b)]=0x4]=_0x5cee85(0x22b),_0x30126a[_0x30126a[_0x5cee85(0x3b4)]=-0x1]=_0x5cee85(0x3b4),_0x30126a;}({}),_0x35b3d8=function(_0x361f6f){const _0x224f13=_0x2f9c02;return _0x361f6f[_0x361f6f[_0x224f13(0x199)]=0x0]=_0x224f13(0x199),_0x361f6f[_0x361f6f[_0x224f13(0x489)]=0x1]=_0x224f13(0x489),_0x361f6f[_0x361f6f[_0x224f13(0x4ec)]=0x2]=_0x224f13(0x4ec),_0x361f6f[_0x361f6f['LEAVE']=0x3]=_0x224f13(0x221),_0x361f6f[_0x361f6f['INGEST']=0x4]=_0x224f13(0x316),_0x361f6f[_0x361f6f[_0x224f13(0x4d1)]=0x5]=_0x224f13(0x4d1),_0x361f6f[_0x361f6f['RECV']=0x6]='RECV',_0x361f6f[_0x361f6f[_0x224f13(0x3b4)]=-0x1]='UNRECOGNIZED',_0x361f6f;}({}),_0x2a47fe=function(_0x33332f){const _0x41822f=_0x2f9c02;return _0x33332f[_0x33332f[_0x41822f(0x45c)]=0x0]=_0x41822f(0x45c),_0x33332f[_0x33332f['OK']=0x1]='OK',_0x33332f[_0x33332f[_0x41822f(0x50f)]=0x2]=_0x41822f(0x50f),_0x33332f[_0x33332f['JOIN_ROOM_FULL']=0x3e9]=_0x41822f(0x33b),_0x33332f[_0x33332f[_0x41822f(0x45a)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x33332f[_0x33332f[_0x41822f(0x34a)]=0x3eb]=_0x41822f(0x34a),_0x33332f[_0x33332f[_0x41822f(0x41c)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x33332f[_0x33332f[_0x41822f(0x3b4)]=-0x1]=_0x41822f(0x3b4),_0x33332f;}({}),_0x472134=function(_0x7ff2e0){const _0x556b14=_0x2f9c02;return _0x7ff2e0[_0x7ff2e0['Undefined']=0x0]='Undefined',_0x7ff2e0[_0x7ff2e0[_0x556b14(0x3c1)]=0x1]=_0x556b14(0x3c1),_0x7ff2e0[_0x7ff2e0[_0x556b14(0x1ff)]=0x2]=_0x556b14(0x1ff),_0x7ff2e0[_0x7ff2e0['UnitEmbedded']=0x3]=_0x556b14(0x35b),_0x7ff2e0[_0x7ff2e0['UnitSnapshot']=0x4]='UnitSnapshot',_0x7ff2e0[_0x7ff2e0['UserProfileImg']=0x5]=_0x556b14(0x3e3),_0x7ff2e0[_0x7ff2e0['ClipsheetFragments']=0x6]=_0x556b14(0x357),_0x7ff2e0[_0x7ff2e0[_0x556b14(0x4f1)]=0x7]=_0x556b14(0x4f1),_0x7ff2e0[_0x7ff2e0['UNRECOGNIZED']=-0x1]=_0x556b14(0x3b4),_0x7ff2e0;}({});function _0x3e97de(_0x56d714){const _0x2bb868=_0x2f9c02;return JSON[_0x2bb868(0x38a)](_0x56d714)[_0x2bb868(0x4ca)];}function _0x27cf47(_0x5cbeff){'@babel/helpers - typeof';const _0x3704ad=_0x2f9c02;return _0x27cf47=typeof Symbol==_0x3704ad(0x329)&&typeof Symbol[_0x3704ad(0x227)]=='symbol'?function(_0x5dc005){return typeof _0x5dc005;}:function(_0x54cd9b){const _0x153de3=_0x3704ad;return _0x54cd9b&&typeof Symbol=='function'&&_0x54cd9b['constructor']===Symbol&&_0x54cd9b!==Symbol[_0x153de3(0x4d0)]?'symbol':typeof _0x54cd9b;},_0x27cf47(_0x5cbeff);}function _0x116391(_0x5495c2,_0x2f96c1){const _0x28e095=_0x2f9c02;if(_0x27cf47(_0x5495c2)!=_0x28e095(0x240)||!_0x5495c2)return _0x5495c2;var _0x5ada2e=_0x5495c2[Symbol[_0x28e095(0x2a0)]];if(_0x5ada2e!==void 0x0){var _0x36c85c=_0x5ada2e[_0x28e095(0x18a)](_0x5495c2,_0x2f96c1||_0x28e095(0x491));if(_0x27cf47(_0x36c85c)!=_0x28e095(0x240))return _0x36c85c;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2f96c1===_0x28e095(0x3c0)?String:Number)(_0x5495c2);}function _0xe160c6(_0x58ec47){const _0x9122cf=_0x2f9c02;var _0x55e14a=_0x116391(_0x58ec47,_0x9122cf(0x3c0));return _0x27cf47(_0x55e14a)==_0x9122cf(0x4c5)?_0x55e14a:_0x55e14a+'';}function _0x17e69d(_0x34f5e4,_0x4b51cc,_0x3c88b2){const _0x4ad25e=_0x2f9c02;return(_0x4b51cc=_0xe160c6(_0x4b51cc))in _0x34f5e4?Object[_0x4ad25e(0x2be)](_0x34f5e4,_0x4b51cc,{'value':_0x3c88b2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x34f5e4[_0x4b51cc]=_0x3c88b2,_0x34f5e4;}let _0x1ef886=function(_0x498390){const _0x15c0a9=_0x2f9c02;return _0x498390[_0x15c0a9(0x202)]=_0x15c0a9(0x202),_0x498390[_0x15c0a9(0x331)]=_0x15c0a9(0x331),_0x498390['CONFLICT']=_0x15c0a9(0x4da),_0x498390[_0x15c0a9(0x52e)]='CLOSE_ROOM',_0x498390['JOIN_ROOM_FAILED']=_0x15c0a9(0x186),_0x498390[_0x15c0a9(0x2d4)]=_0x15c0a9(0x2d4),_0x498390[_0x15c0a9(0x4c9)]=_0x15c0a9(0x4c9),_0x498390['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x498390;}({});var _0x1619bd=class{constructor(){const _0x1623d9=_0x2f9c02;_0x17e69d(this,'_event$',new _0x431df8[(_0x1623d9(0x43c))]()),_0x17e69d(this,_0x1623d9(0x466),this[_0x1623d9(0x41d)][_0x1623d9(0x3a3)]());}[_0x2f9c02(0x2e5)](_0x2fb7c6){this['_event$']['next'](_0x2fb7c6);}},_0x4b7f70=class{constructor(){const _0x17e807=_0x2f9c02;_0x17e69d(this,_0x17e807(0x383),new _0x431df8[(_0x17e807(0x43c))]()),_0x17e69d(this,_0x17e807(0x339),this['_commentUpdate$'][_0x17e807(0x3a3)]());}['onCommentUpdate'](_0x4ee506){const _0x35a9e1=_0x2f9c02;this[_0x35a9e1(0x383)][_0x35a9e1(0x4d6)](_0x4ee506);}};function _0x4bc410(_0xc9e99,_0x4ba9a7){return function(_0x52e7d9,_0x2c7506){_0x4ba9a7(_0x52e7d9,_0x2c7506,_0xc9e99);};}function _0x230514(_0x20e5dc,_0x4d3e91,_0x31e4bf,_0x1583a9){const _0x49a880=_0x2f9c02;var _0x2358c8=arguments['length'],_0x1c0b62=_0x2358c8<0x3?_0x4d3e91:_0x1583a9===null?_0x1583a9=Object[_0x49a880(0x1b2)](_0x4d3e91,_0x31e4bf):_0x1583a9,_0x33b8f1;if(typeof Reflect=='object'&&typeof Reflect[_0x49a880(0x242)]==_0x49a880(0x329))_0x1c0b62=Reflect[_0x49a880(0x242)](_0x20e5dc,_0x4d3e91,_0x31e4bf,_0x1583a9);else{for(var _0x3c3ce3=_0x20e5dc[_0x49a880(0x4ca)]-0x1;_0x3c3ce3>=0x0;_0x3c3ce3--)(_0x33b8f1=_0x20e5dc[_0x3c3ce3])&&(_0x1c0b62=(_0x2358c8<0x3?_0x33b8f1(_0x1c0b62):_0x2358c8>0x3?_0x33b8f1(_0x4d3e91,_0x31e4bf,_0x1c0b62):_0x33b8f1(_0x4d3e91,_0x31e4bf))||_0x1c0b62);}return _0x2358c8>0x3&&_0x1c0b62&&Object['defineProperty'](_0x4d3e91,_0x31e4bf,_0x1c0b62),_0x1c0b62;}let _0xd0b104=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x3595d6,_0x5947fa){const _0x21675d=_0x2f9c02;super(),this[_0x21675d(0x450)]=_0x3595d6,this[_0x21675d(0x2ba)]=_0x5947fa,_0x17e69d(this,_0x21675d(0x3f7),new Map()),_0x17e69d(this,_0x21675d(0x216),new _0x431df8['Subject']()),this['disposeWithMe']((0x0,_0x431df8[_0x21675d(0x1fd)])(this[_0x21675d(0x450)][_0x21675d(0x288)](_0x4fa1c7[_0x21675d(0x319)][_0x21675d(0x528)])[_0x21675d(0x2a4)]((0x0,_0x3bb026[_0x21675d(0x1e4)])(_0x1565e5=>_0x1565e5['getUnitId']())),this['_univerInstanceService'][_0x21675d(0x288)](_0x4fa1c7[_0x21675d(0x319)][_0x21675d(0x1c3)])[_0x21675d(0x2a4)]((0x0,_0x3bb026[_0x21675d(0x1e4)])(_0x73e886=>_0x73e886['getUnitId']())),this[_0x21675d(0x450)]['getTypeOfUnitDisposed$'](_0x4fa1c7['UniverInstanceType']['UNIVER_SLIDE'])[_0x21675d(0x2a4)]((0x0,_0x3bb026[_0x21675d(0x1e4)])(_0x98371e=>_0x98371e[_0x21675d(0x34d)]())))[_0x21675d(0x47f)](_0x214a40=>this[_0x21675d(0x523)](_0x214a40)));}['waitForRoom$'](_0x1dd4f5){const _0x3c46d2=_0x2f9c02;return this[_0x3c46d2(0x3f7)][_0x3c46d2(0x3d0)](_0x1dd4f5)?(0x0,_0x431df8['of'])(this[_0x3c46d2(0x3f7)][_0x3c46d2(0x1df)](_0x1dd4f5)):this[_0x3c46d2(0x216)][_0x3c46d2(0x2a4)]((0x0,_0x3bb026[_0x3c46d2(0x1e4)])(_0x3a333c=>{const _0x115d70=_0x3c46d2;if(_0x3a333c===_0x1dd4f5)return this[_0x115d70(0x3f7)]['get'](_0x3a333c);}));}[_0x2f9c02(0x1d5)](_0xff71ea){const _0x344d28=_0x2f9c02;this[_0x344d28(0x2ba)]['setCurrentUser'](_0xff71ea);}[_0x2f9c02(0x4b3)](){const _0x22da9b=_0x2f9c02;return this[_0x22da9b(0x2ba)][_0x22da9b(0x4b3)]();}[_0x2f9c02(0x20e)](_0x18e806,_0x305d11){const _0x12edda=_0x2f9c02;let _0x2a4070=this[_0x12edda(0x3f7)][_0x12edda(0x1df)](_0x18e806);_0x2a4070||(_0x2a4070=new _0x3739da(),this[_0x12edda(0x3f7)][_0x12edda(0x2c0)](_0x18e806,_0x2a4070),this[_0x12edda(0x216)]['next'](_0x18e806)),_0x2a4070['updateMember'](_0x305d11);}[_0x2f9c02(0x3d1)](_0x4c67cf,_0x4f970e){const _0x11c708=_0x2f9c02;let _0x392cff=this['_roomMembers'][_0x11c708(0x1df)](_0x4c67cf);_0x392cff&&_0x392cff[_0x11c708(0x3d1)](_0x4f970e);}[_0x2f9c02(0x1e1)](_0x20b9bf){const _0x264658=_0x2f9c02;return this[_0x264658(0x3f7)][_0x264658(0x1df)](_0x20b9bf);}[_0x2f9c02(0x47a)](_0x189530,_0xe81071){const _0x9ae67c=_0x2f9c02;let _0x30ef0c=this[_0x9ae67c(0x3f7)][_0x9ae67c(0x1df)](_0x189530);if(_0x30ef0c)return _0x30ef0c[_0x9ae67c(0x47a)](_0xe81071);}[_0x2f9c02(0x523)](_0x34d480){const _0x2e6d2c=_0x2f9c02;let _0x5db25d=this[_0x2e6d2c(0x3f7)][_0x2e6d2c(0x1df)](_0x34d480);_0x5db25d&&(_0x5db25d[_0x2e6d2c(0x4a5)](),this[_0x2e6d2c(0x3f7)]['delete'](_0x34d480));}['dispose'](){const _0x115472=_0x2f9c02;this[_0x115472(0x3f7)][_0x115472(0x401)](_0x58ecf0=>_0x58ecf0[_0x115472(0x4a5)]()),this[_0x115472(0x3f7)]['clear'](),this[_0x115472(0x216)]['complete']();}};_0xd0b104=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x1,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x47e)]))],_0xd0b104);var _0x3739da=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(..._0x10a084){const _0x288051=_0x2f9c02;super(..._0x10a084),_0x17e69d(this,'_members',new Map()),_0x17e69d(this,_0x288051(0x4ab),new _0x431df8[(_0x288051(0x346))](this['_members'])),_0x17e69d(this,_0x288051(0x393),this[_0x288051(0x4ab)][_0x288051(0x3a3)]());}[_0x2f9c02(0x4a5)](){const _0x5ad497=_0x2f9c02;this[_0x5ad497(0x32b)][_0x5ad497(0x2a2)]();}[_0x2f9c02(0x20e)](_0x578339){const _0x224012=_0x2f9c02;this[_0x224012(0x32b)]['set'](_0x578339[_0x224012(0x33c)],_0x578339),this['_emitMembers']();}[_0x2f9c02(0x3d1)](_0xdc5f56){const _0x403a3b=_0x2f9c02;this[_0x403a3b(0x32b)][_0x403a3b(0x2dd)](_0xdc5f56);}['getMember'](_0x1ad9aa){const _0x44284d=_0x2f9c02;return this[_0x44284d(0x32b)][_0x44284d(0x1df)](_0x1ad9aa);}[_0x2f9c02(0x21b)](){const _0x5c7cbb=_0x2f9c02;return Array[_0x5c7cbb(0x28e)](this['_members'][_0x5c7cbb(0x32e)]());}[_0x2f9c02(0x334)](){const _0x169872=_0x2f9c02;this['_members$'][_0x169872(0x4d6)](this[_0x169872(0x32b)]);}};let _0x1b3cf0=function(_0xb90ae2){const _0x4a13ce=_0x2f9c02;return _0xb90ae2[_0xb90ae2[_0x4a13ce(0x343)]=0x0]=_0x4a13ce(0x343),_0xb90ae2[_0xb90ae2[_0x4a13ce(0x236)]=0x1]=_0x4a13ce(0x236),_0xb90ae2[_0xb90ae2[_0x4a13ce(0x1d0)]=0x2]=_0x4a13ce(0x1d0),_0xb90ae2[_0xb90ae2[_0x4a13ce(0x1c7)]=0x3]='ONLINE',_0xb90ae2;}({}),_0x5f07ca={[_0x2a47fe['FAIL']]:_0x2f9c02(0x2ed),[_0x2a47fe[_0x2f9c02(0x33b)]]:_0x2f9c02(0x26d),[_0x2a47fe[_0x2f9c02(0x45a)]]:_0x2f9c02(0x458),[_0x2a47fe[_0x2f9c02(0x34a)]]:_0x2f9c02(0x445),[_0x2a47fe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'},_0x49ff16=class extends _0x4fa1c7[_0x2f9c02(0x1bb)]{get[_0x2f9c02(0x4be)](){const _0x52ba67=_0x2f9c02;return this[_0x52ba67(0x1d7)]['getValue']();}constructor(_0x432878,_0xdc4051,_0x5a91c0,_0x20b74c,_0x342838,_0x3e7cf9,_0x225f48,_0x29562a){const _0x4bda69=_0x2f9c02;super(),this[_0x4bda69(0x210)]=_0x432878,this[_0x4bda69(0x22c)]=_0x5a91c0,this[_0x4bda69(0x280)]=_0x20b74c,this[_0x4bda69(0x4c8)]=_0x342838,this[_0x4bda69(0x4f4)]=_0x3e7cf9,this[_0x4bda69(0x298)]=_0x225f48,this[_0x4bda69(0x487)]=_0x29562a,_0x17e69d(this,_0x4bda69(0x1d7),new _0x431df8[(_0x4bda69(0x346))](_0x1b3cf0[_0x4bda69(0x343)])),_0x17e69d(this,_0x4bda69(0x424),this[_0x4bda69(0x1d7)][_0x4bda69(0x3a3)]()),_0x17e69d(this,'_event$',new _0x431df8[(_0x4bda69(0x43c))]()),_0x17e69d(this,_0x4bda69(0x466),this[_0x4bda69(0x41d)][_0x4bda69(0x3a3)]()),_0x17e69d(this,_0x4bda69(0x271),void 0x0),_0x17e69d(this,_0x4bda69(0x377),void 0x0),_0x17e69d(this,_0x4bda69(0x192),void 0x0),_0x17e69d(this,_0x4bda69(0x2f7),!0x1),_0x17e69d(this,_0x4bda69(0x3cc),null),this['_shouldReportTelemetry']=!!this[_0x4bda69(0x487)],_0xdc4051[_0x4bda69(0x2a4)]((0x0,_0x431df8[_0x4bda69(0x182)])(this[_0x4bda69(0x26e)]))[_0x4bda69(0x47f)](_0x4af80a=>{const _0x52d27d=_0x4bda69;if(_0x4af80a!==void 0x0){if(this[_0x52d27d(0x271)]=_0x4af80a,_0x4af80a)this[_0x52d27d(0x317)](_0x4af80a),this[_0x52d27d(0x377)]=_0x4af80a[_0x52d27d(0x32f)][_0x52d27d(0x47f)](_0x459bb4=>{const _0xefa845=_0x52d27d;_0x459bb4[_0xefa845(0x20d)]===this[_0xefa845(0x210)]&&this[_0xefa845(0x50e)](_0x459bb4);});else{var _0x41c0e5;this[_0x52d27d(0x49d)](),this[_0x52d27d(0x1d7)][_0x52d27d(0x4d6)](_0x1b3cf0['OFFLINE']),(_0x41c0e5=this[_0x52d27d(0x377)])==null||_0x41c0e5[_0x52d27d(0x48e)](),this[_0x52d27d(0x377)]=null;}}});}[_0x2f9c02(0x1cf)](){const _0x231600=_0x2f9c02;var _0x5e0510,_0x46028e;return(_0x5e0510=(_0x46028e=this[_0x231600(0x271)])==null?void 0x0:_0x46028e['memberID'])==null?null:_0x5e0510;}['dispose'](){const _0x16de3d=_0x2f9c02;super[_0x16de3d(0x4a5)](),this['close'](),this[_0x16de3d(0x26e)]['next'](),this[_0x16de3d(0x26e)]['complete']();}[_0x2f9c02(0x33d)](){const _0x3d9da5=_0x2f9c02;var _0x23548f,_0xd31fea;this[_0x3d9da5(0x49d)](),(_0x23548f=this[_0x3d9da5(0x271)])==null||_0x23548f['send']({'cmd':_0x35b3d8[_0x3d9da5(0x221)],'data':{'roomID':this[_0x3d9da5(0x210)]}}),(_0xd31fea=this['_socket'])==null||_0xd31fea[_0x3d9da5(0x33d)](),this['_event$'][_0x3d9da5(0x2a3)](),this[_0x3d9da5(0x1d7)][_0x3d9da5(0x2a3)]();}['_onCombEvent'](_0x40ee94){const _0x467ac8=_0x2f9c02;_0x40ee94[_0x467ac8(0x1da)]===_0x35b3d8[_0x467ac8(0x4ec)]?this['_onJoinRoomEvent'](_0x40ee94):_0x40ee94[_0x467ac8(0x1da)]===_0x35b3d8[_0x467ac8(0x437)]&&this['_onRecvEvent'](_0x40ee94);}[_0x2f9c02(0x317)](_0x1a6fec){const _0x26a5be=_0x2f9c02;this['_sessionStatus$'][_0x26a5be(0x4d6)](_0x1b3cf0['JOINING']),_0x1a6fec[_0x26a5be(0x419)]({'cmd':_0x35b3d8['JOIN'],'routeKey':this[_0x26a5be(0x210)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2f9c02(0x381)](_0x42e186){const _0x5a4234=_0x2f9c02;var _0x193944;if(_0x42e186['code']in _0x5f07ca){this[_0x5a4234(0x298)][_0x5a4234(0x2e5)]({'id':_0x1ef886[_0x5a4234(0x186)],'data':_0x5f07ca[_0x42e186[_0x5a4234(0x1f7)]]}),this['_sessionStatus$']['next'](_0x1b3cf0[_0x5a4234(0x1d0)]);return;}this[_0x5a4234(0x1d7)][_0x5a4234(0x4d6)](_0x1b3cf0['ONLINE']);let _0x5f26d0=(_0x193944=_0x42e186[_0x5a4234(0x275)][_0x5a4234(0x20c)][this[_0x5a4234(0x210)]])==null?void 0x0:_0x193944['members'];_0x5f26d0&&_0x5f26d0['forEach'](_0x3a9fcc=>this[_0x5a4234(0x4c8)][_0x5a4234(0x20e)](this[_0x5a4234(0x210)],_0x3a9fcc));}[_0x2f9c02(0x1a7)](_0x34b2c1){const _0x4bd7df=_0x2f9c02;try{let _0x4e924f=_0x34b2c1['data'];switch(_0x4e924f[_0x4bd7df(0x509)]){case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x511)]:this[_0x4bd7df(0x22f)](_0x4e924f),this[_0x4bd7df(0x41d)]['next'](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)]['USERS_LEAVE']:this[_0x4bd7df(0x254)](_0x4e924f),this[_0x4bd7df(0x41d)][_0x4bd7df(0x4d6)](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x2e3)]:case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x514)]:this[_0x4bd7df(0x2f2)](),this[_0x4bd7df(0x27a)](),this['_event$']['next'](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)][_0x4bd7df(0x3eb)]:this[_0x4bd7df(0x22c)][_0x4bd7df(0x2c3)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4e924f)),this[_0x4bd7df(0x41d)][_0x4bd7df(0x4d6)](_0x4e924f);break;case _0x4a1cad[_0x4bd7df(0x31f)]['COMMENT_UPDATE']:this[_0x4bd7df(0x4f4)][_0x4bd7df(0x3a9)](_0x4e924f['data']),this[_0x4bd7df(0x41d)][_0x4bd7df(0x4d6)](_0x4e924f);break;default:this['_event$']['next'](_0x4e924f);}}catch(_0x43b394){this[_0x4bd7df(0x22c)]['error'](_0x43b394,_0x34b2c1);}}[_0x2f9c02(0x22f)](_0x30bb05){const _0x4e446c=_0x2f9c02;this[_0x4e446c(0x4c8)][_0x4e446c(0x20e)](this[_0x4e446c(0x210)],_0x30bb05[_0x4e446c(0x275)]);}[_0x2f9c02(0x254)](_0x44d33e){const _0x5ea8a2=_0x2f9c02;this[_0x5ea8a2(0x4c8)][_0x5ea8a2(0x3d1)](this[_0x5ea8a2(0x210)],_0x44d33e[_0x5ea8a2(0x275)][_0x5ea8a2(0x33c)]);}async[_0x2f9c02(0x419)](_0x2c58cd,_0x28e8d3){const _0x52a17f=_0x2f9c02;if(this[_0x52a17f(0x4be)]!==_0x1b3cf0[_0x52a17f(0x1c7)]||!this[_0x52a17f(0x271)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2c58cd['eventID']===_0x4a1cad['CollaborationEvent'][_0x52a17f(0x3a5)]&&(this[_0x52a17f(0x2e9)](),this[_0x52a17f(0x463)](_0x2c58cd)),this[_0x52a17f(0x271)][_0x52a17f(0x419)]({'cmd':_0x35b3d8[_0x52a17f(0x316)],'routeKey':_0x28e8d3,'routeType':'','data':_0x2c58cd});}catch(_0x45b11b){this['_logService'][_0x52a17f(0x2c3)](_0x45b11b);}}[_0x2f9c02(0x2e9)](){const _0xa83f1f=_0x2f9c02;var _0xb2881f;this[_0xa83f1f(0x192)]=setTimeout(()=>{const _0x54fe0a=_0xa83f1f;this['_collaborationTimeoutTimer']=null,this[_0x54fe0a(0x298)][_0x54fe0a(0x2e5)]({'id':_0x1ef886['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb2881f=this[_0xa83f1f(0x280)][_0xa83f1f(0x21e)](_0xa83f1f(0x23e)))==null?_0x2877b3:_0xb2881f);}['_clearCollaborationTimeoutTimer'](){const _0x38d91e=_0x2f9c02;this[_0x38d91e(0x192)]&&(clearTimeout(this[_0x38d91e(0x192)]),this[_0x38d91e(0x192)]=null);}[_0x2f9c02(0x463)](_0x34d84b){const _0x5aeae4=_0x2f9c02;if(!this['_shouldReportTelemetry'])return;let {data:_0x1505d2}=_0x34d84b,{unitID:_0x33de47,changeset:_0x4f2ba3}=_0x1505d2,{mutations:_0x591095,type:_0x107bb2}=_0x4f2ba3;this[_0x5aeae4(0x3cc)]={'unitId':_0x33de47,'type':_0x107bb2,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3e97de(_0x591095)};}[_0x2f9c02(0x2f2)](){const _0x25df04=_0x2f9c02;if(this[_0x25df04(0x2f7)]){if(!this[_0x25df04(0x3cc)]){this[_0x25df04(0x22c)][_0x25df04(0x2c3)]('[CollaborationSession]',_0x25df04(0x3f1));return;}this[_0x25df04(0x3cc)][_0x25df04(0x2d5)]=performance[_0x25df04(0x43f)](),this[_0x25df04(0x3cc)][_0x25df04(0x1c2)]=this[_0x25df04(0x3cc)]['stopTime']-this['_telemetryInfo'][_0x25df04(0x1f1)],this[_0x25df04(0x487)][_0x25df04(0x435)]('collaboration_new_changeset',this[_0x25df04(0x3cc)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};_0x49ff16=_0x230514([_0x4bc410(0x2,_0x4fa1c7['ILogService']),_0x4bc410(0x3,_0x4fa1c7['IConfigService']),_0x4bc410(0x4,(0x0,_0x4fa1c7['Inject'])(_0xd0b104)),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4b7f70)),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x169a2d[_0x2f9c02(0x440)]))],_0x49ff16);let _0x259e4f=(0x0,_0x4fa1c7[_0x2f9c02(0x41b)])(_0x2f9c02(0x3dd));function _0x1eedb3(_0x36d2b6){return'unit-cache-'+_0x36d2b6;}function _0x4d1d57(_0x429bd5){const _0x1b1146=_0x2f9c02;let {unitID:_0x1b5506,mutations:_0x5050a5}=_0x429bd5;return{'unitId':_0x1b5506,'subUnitId':_0x5050a5[_0x1b1146(0x4ca)]>0x0?_0x5050a5[0x0][_0x1b1146(0x433)][_0x1b1146(0x459)]:null};}let _0x1de656=class{constructor(_0x31bc24,_0x559d59,_0x463615){const _0x3b7e0e=_0x2f9c02;this['_injector']=_0x31bc24,this[_0x3b7e0e(0x1d2)]=_0x559d59,this[_0x3b7e0e(0x420)]=_0x463615;}['transformSelections'](_0x3fd204){const _0x124166=_0x2f9c02;var _0x3f4c40,_0x2aaecc;let _0xa300ba=this[_0x124166(0x427)]['get'](_0x376d47[_0x124166(0x2e6)]),{unitId:_0x305a3a,subUnitId:_0x8d8283}=_0x4d1d57(_0x3fd204),_0x457b92=_0xa300ba==null?void 0x0:_0xa300ba[_0x124166(0x185)](_0x305a3a)[_0x124166(0x426)](),_0x28657e=(_0x3f4c40=this[_0x124166(0x420)][_0x124166(0x4cc)](_0x305a3a))==null||(_0x3f4c40=_0x3f4c40[_0x124166(0x4fd)]())==null?void 0x0:_0x3f4c40[_0x124166(0x4e8)]();if(_0x457b92[_0x124166(0x4ca)]===0x0||!_0x305a3a||!_0x8d8283)return;let _0x4e0d1f=[{'id':_0x376d47['SetSelectionsOperation']['id'],'params':{'unitId':_0x305a3a,'subUnitId':_0x28657e,'selections':_0x4fa1c7[_0x124166(0x29b)][_0x124166(0x376)](_0x457b92)}}],_0x39311f=this['_transformService'][_0x124166(0x3f8)](_0x3fd204,_0x4e0d1f);if(!(0x0,_0x4a1cad[_0x124166(0x502)])(_0x39311f))throw _0x39311f[_0x124166(0x2c3)];let _0x57b679=(_0x2aaecc=_0x39311f[_0x124166(0x2e0)][0x0])==null||(_0x2aaecc=_0x2aaecc[_0x124166(0x433)])==null?void 0x0:_0x2aaecc[_0x124166(0x205)];if(Array[_0x124166(0x3de)](_0x57b679)&&_0x57b679[_0x124166(0x4ca)]){if(_0x57b679[_0x124166(0x4ca)]===_0x4e0d1f[0x0][_0x124166(0x433)]['selections']['length']&&_0x57b679[_0x124166(0x3f2)]((_0x4aba2b,_0x94defb)=>_0x4fa1c7[_0x124166(0x19c)][_0x124166(0x353)](_0x4aba2b[_0x124166(0x496)],_0x4e0d1f[0x0][_0x124166(0x433)]['selections'][_0x94defb]['range'])))return;this[_0x124166(0x427)]['get'](_0x4fa1c7[_0x124166(0x398)])[_0x124166(0x2fc)](_0x376d47[_0x124166(0x531)]['id'],{'unitId':_0x305a3a,'subUnitId':_0x28657e,'selections':_0x57b679});}}};_0x1de656=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x1fc)])],_0x1de656);let _0x12f31b=(0x0,_0x4fa1c7[_0x2f9c02(0x41b)])('univer-pro.collaboration-client.single-active-unit-service'),_0x97ee5b=function(_0x2cd2e6){const _0xaa78d9=_0x2f9c02;return _0x2cd2e6[_0x2cd2e6[_0xaa78d9(0x4fe)]=0x0]=_0xaa78d9(0x4fe),_0x2cd2e6[_0x2cd2e6[_0xaa78d9(0x1a0)]=0x1]=_0xaa78d9(0x1a0),_0x2cd2e6;}({}),_0x1f2256=_0x2f9c02(0x37f);Symbol(_0x1f2256);let _0x112cff={};function _0x3cd204(_0x9fac83){const _0x2d0db1=_0x2f9c02;var _0x4d63dd;return!!((_0x4d63dd=_0x9fac83['params'])!=null&&_0x4d63dd[_0x2d0db1(0x43a)]);}let _0x41b686=new Set([_0x376d47[_0x2f9c02(0x297)]['id']]);function _0x5f007c(_0x1d54b9,_0xcddf79,_0x2f15da,_0x7b8593,_0x19be45){const _0x8e444b=_0x2f9c02;var _0x1273eb,_0x3a873f,_0x101a62,_0x180ba7;let _0x175bcb=[];for(let _0x4a3eb5 of _0x1d54b9){if(_0x41b686[_0x8e444b(0x3d0)](_0x4a3eb5['id'])){if(_0x175bcb[_0x8e444b(0x4ca)]>0x0)break;_0x175bcb[_0x8e444b(0x3a1)](_0x4a3eb5);break;}if(_0x3cd204(_0x4a3eb5)){if(_0x175bcb[_0x8e444b(0x4ca)]>0x0)break;_0x175bcb[_0x8e444b(0x3a1)](_0x4a3eb5);break;}_0x175bcb['push'](_0x4a3eb5);}let _0x246799=(_0x1273eb=(_0x3a873f=_0x19be45['getCurrentUser']())==null?void 0x0:_0x3a873f[_0x8e444b(0x3ba)])==null?_0x8e444b(0x2db):_0x1273eb,_0x3324eb=(_0x101a62=(_0x180ba7=_0x19be45[_0x8e444b(0x4b3)]())==null?void 0x0:_0x180ba7[_0x8e444b(0x33c)])==null?_0x8e444b(0x2db):_0x101a62;return{'changeset':{'unitID':_0xcddf79,'type':(0x0,_0x4a1cad[_0x8e444b(0x1ab)])(_0x2f15da[_0x8e444b(0x2ab)](_0xcddf79)),'baseRev':_0x7b8593[_0x8e444b(0x3a6)](_0xcddf79),'revision':0x0,'userID':_0x246799,'memberID':_0x3324eb,'mutations':_0x175bcb},'pendingMutations':_0x1d54b9[_0x8e444b(0x29d)](_0x175bcb[_0x8e444b(0x4ca)])};}function _0x380723(_0x50e5cb,_0x12bc52,_0x2f0e8a,_0x20e62a,_0x1a9d20){const _0x4d1514=_0x2f9c02;var _0x3a41bd,_0x3d2392,_0x21db5c,_0x50654b;let _0x1599dd=[_0x50e5cb['reduce']((_0x4a3476,_0x4c8530)=>{const _0x55cd4b=_0x50be;var _0x3f54c1;let {id:_0x3655ca}=_0x4a3476,{id:_0x5b3010,type:_0x353158}=_0x4c8530,_0x3189d2=(_0x3f54c1=_0x4a3476[_0x55cd4b(0x433)])==null?{'actions':null}:_0x3f54c1,_0x38293d=_0x4c8530[_0x55cd4b(0x433)];if(_0x3655ca&&_0x3655ca!==_0x5b3010)throw Error(_0x55cd4b(0x2ef)+_0x3655ca+'\x20-\x20'+_0x5b3010+'.');return{..._0x4a3476,'id':_0x5b3010,'type':_0x353158,'params':{'unitId':_0x38293d[_0x55cd4b(0x2a9)],'textRanges':_0x38293d[_0x55cd4b(0x19b)],'actions':_0x4fa1c7[_0x55cd4b(0x209)][_0x55cd4b(0x2fe)](_0x3189d2['actions'],_0x38293d[_0x55cd4b(0x3ad)])}};},{})],_0x584d53=(_0x3a41bd=(_0x3d2392=_0x1a9d20[_0x4d1514(0x4b3)]())==null?void 0x0:_0x3d2392['userID'])==null?_0x4d1514(0x2db):_0x3a41bd,_0x21b467=(_0x21db5c=(_0x50654b=_0x1a9d20[_0x4d1514(0x4b3)]())==null?void 0x0:_0x50654b['memberID'])==null?'unknown':_0x21db5c;return{'changeset':{'unitID':_0x12bc52,'type':(0x0,_0x4a1cad[_0x4d1514(0x1ab)])(_0x2f0e8a['getUnitType'](_0x12bc52)),'baseRev':_0x20e62a[_0x4d1514(0x3a6)](_0x12bc52),'revision':0x0,'userID':_0x584d53,'memberID':_0x21b467,'mutations':_0x1599dd},'pendingMutations':[]};}function _0x5a47c6(_0x45661d,_0x153d4a){const _0x203b38=_0x2f9c02;let _0x48d9f0=new _0x431df8['ReplaySubject'](0x1);return setTimeout(()=>_0x48d9f0[_0x203b38(0x4d6)](_0x153d4a),_0x45661d),_0x48d9f0[_0x203b38(0x3a3)]()[_0x203b38(0x2a4)]((0x0,_0x431df8[_0x203b38(0x3c2)])(0x1));}var _0x28159e,_0x5af425,_0x4d39aa;let _0x4fcdb8=function(_0x1ae689){const _0x5dfb4f=_0x2f9c02;return _0x1ae689['NOT_COLLAB']='not_collab',_0x1ae689[_0x5dfb4f(0x24b)]=_0x5dfb4f(0x3e7),_0x1ae689[_0x5dfb4f(0x1be)]=_0x5dfb4f(0x3da),_0x1ae689[_0x5dfb4f(0x479)]='awaiting',_0x1ae689[_0x5dfb4f(0x25c)]=_0x5dfb4f(0x32d),_0x1ae689[_0x5dfb4f(0x30c)]='fetch_missing',_0x1ae689[_0x5dfb4f(0x4da)]=_0x5dfb4f(0x418),_0x1ae689['OFFLINE']=_0x5dfb4f(0x211),_0x1ae689;}({}),_0x31c09c=0x4e20,_0x32eb76=0x2bf20;var _0x5b7b9a=class{constructor(_0x54f3d8,_0x5cd670,_0xafa7fb,_0x4fb7e9,_0x174cdb,_0x3d2247,_0x5a3d32,_0xbf119c,_0x24be20){const _0x1ed22f=_0x2f9c02;this['unitID']=_0x54f3d8,this['type']=_0x5cd670,this[_0x1ed22f(0x1ae)]=_0x174cdb,this['_commandService']=_0x3d2247,this[_0x1ed22f(0x40d)]=_0x5a3d32,this['_revisionService']=_0xbf119c,this[_0x1ed22f(0x521)]=_0x24be20,_0x17e69d(this,_0x1ed22f(0x18b),null),_0x17e69d(this,_0x1ed22f(0x4b9),[]),this['_awaitingChangeset']=_0xafa7fb,this[_0x1ed22f(0x4b9)]=_0x4fb7e9;}['_checkMissing'](_0x805a57){const _0x5a3833=_0x2f9c02;let _0xa52b94=this[_0x5a3833(0x46d)]['getCurrentRevOfUnit'](this[_0x5a3833(0x264)]);return _0x805a57['revision']>_0xa52b94+0x1?(this[_0x5a3833(0x1ae)][_0x5a3833(0x484)]({'from':_0xa52b94,'to':_0x805a57[_0x5a3833(0x520)]-0x1}),!0x0):!0x1;}[_0x2f9c02(0x30d)](_0x45978b){const _0x191ff3=_0x2f9c02;this['_undoRedoService'][_0x191ff3(0x475)](this[_0x191ff3(0x264)],_0x45978b);}[_0x2f9c02(0x39d)](_0x5b7242){const _0x4bdde4=_0x2f9c02;var _0x1f905c,_0xc8b563;(_0x1f905c=(_0xc8b563=this['_handler'])[_0x4bdde4(0x295)])==null||_0x1f905c[_0x4bdde4(0x18a)](_0xc8b563,_0x5b7242);}[_0x2f9c02(0x291)](_0x1f0095){const _0x547f22=_0x2f9c02;var _0x476751,_0x673e70;return(_0x476751=(_0x673e70=this[_0x547f22(0x1ae)])[_0x547f22(0x4dd)])==null?void 0x0:_0x476751['call'](_0x673e70,_0x1f0095);}[_0x2f9c02(0x2ec)](_0x30f1df){const _0x29c3ef=_0x2f9c02;var _0xf3ed6,_0x7d97b7;return(_0xf3ed6=(_0x7d97b7=this[_0x29c3ef(0x1ae)])['onTransformState'])==null?void 0x0:_0xf3ed6[_0x29c3ef(0x18a)](_0x7d97b7,_0x30f1df);}[_0x2f9c02(0x3d3)](_0x385411){const _0x3fc921=_0x2f9c02;var _0x4e3026,_0x400d77,_0x19d2a0;return(_0x4e3026=(_0x400d77=(_0x19d2a0=this[_0x3fc921(0x1ae)])[_0x3fc921(0x39e)])==null?void 0x0:_0x400d77['call'](_0x19d2a0,_0x385411))==null?_0x385411:_0x4e3026;}[_0x2f9c02(0x19e)](_0x4a5957){const _0x1cb41f=_0x2f9c02;var _0x513b85,_0x328f0e,_0x69c5;return(_0x513b85=(_0x328f0e=(_0x69c5=this[_0x1cb41f(0x1ae)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x328f0e[_0x1cb41f(0x18a)](_0x69c5,_0x4a5957))==null?_0x4a5957:_0x513b85;}[_0x2f9c02(0x29f)](_0x5cb93c){const _0x4ea0fc=_0x2f9c02;if(this[_0x4ea0fc(0x29a)]===_0x139b11['UNIVER_DOC']){let {unitID:_0x559952,mutations:_0x496150,memberID:_0x2b7389}=_0x5cb93c,_0x5ad52e=_0x496150[_0x4ea0fc(0x4ca)]>0x0?_0x496150[0x0][_0x4ea0fc(0x433)]['textRanges']:[];if(Array['isArray'](_0x5ad52e)&&_0x5ad52e['length']>0x0){var _0x3583bc,_0x1e64f5;(_0x3583bc=(_0x1e64f5=this[_0x4ea0fc(0x1ae)])[_0x4ea0fc(0x42a)])==null||_0x3583bc[_0x4ea0fc(0x18a)](_0x1e64f5,{'unitID':_0x559952,'memberID':_0x2b7389,'textRanges':_0x5ad52e});}}}['_updateLocalCache'](){const _0x34c4f8=_0x2f9c02;var _0x213d3b;(_0x213d3b=this['_localCacheService'])==null||_0x213d3b[_0x34c4f8(0x21f)](this[_0x34c4f8(0x264)],this['type'],this['_awaitingChangeset'],this[_0x34c4f8(0x4b9)]);}[_0x2f9c02(0x35d)](){const _0x1dd096=_0x2f9c02;return this['_revisionService'][_0x1dd096(0x3a6)](this[_0x1dd096(0x264)]);}[_0x2f9c02(0x33a)](){const _0x412f93=_0x2f9c02;this['_revisionService']['incrementRevOfUnit'](this[_0x412f93(0x264)]);}[_0x2f9c02(0x3b6)](_0x36afac){const _0x591528=_0x2f9c02;let _0x2c1699=this[_0x591528(0x3d3)](_0x36afac);_0x2c1699=this[_0x591528(0x19e)](_0x2c1699);let _0x122d35=(0x0,_0x4fa1c7[_0x591528(0x234)])(_0x2c1699[_0x591528(0x494)],this[_0x591528(0x1bc)],{'fromCollab':!0x0});if(!_0x122d35[_0x591528(0x3d4)]){var _0x49af26;throw _0x122d35[_0x591528(0x2c3)]instanceof Error?_0x122d35[_0x591528(0x2c3)]:Error((_0x49af26=_0x122d35[_0x591528(0x2c3)])==null?_0x591528(0x1e6):_0x49af26);}this[_0x591528(0x291)](_0x2c1699),this[_0x591528(0x2ec)](_0x2c1699),this[_0x591528(0x30d)](_0x36afac),this[_0x591528(0x39d)](_0x2c1699),this[_0x591528(0x29f)](_0x2c1699),this['_incrementRevisionNumber']();}};let _0x2ce86e=class extends _0x5b7b9a{constructor(_0x24086d,_0x2214af,_0x480c8b,_0x25d7cf,_0x1f5868,_0x2fe422,_0x3169e9,_0x22ac78,_0x272369,_0x1791b8){const _0x767d79=_0x2f9c02;super(_0x24086d,_0x2214af,null,[],_0x480c8b,_0x3169e9,_0x2fe422,_0x25d7cf,_0x1791b8),this[_0x767d79(0x427)]=_0x1f5868,this[_0x767d79(0x22c)]=_0x22ac78,this['_transformService']=_0x272369,this['localCacheService']=_0x1791b8,_0x17e69d(this,'status',_0x4fcdb8[_0x767d79(0x24b)]);}[_0x2f9c02(0x326)](_0x2c4c22){const _0x4ace7c=_0x2f9c02;let _0xfa56dd=this[_0x4ace7c(0x427)]['createInstance'](_0x5ce61d,this[_0x4ace7c(0x264)],this[_0x4ace7c(0x29a)],[_0x2c4c22],this['_handler']);return _0xfa56dd[_0x4ace7c(0x388)](),_0xfa56dd[_0x4ace7c(0x530)](),_0xfa56dd;}[_0x2f9c02(0x4e0)](_0x1bc82c){const _0xe89e54=_0x2f9c02;if(this[_0xe89e54(0x24c)](_0x1bc82c))return this['_injector'][_0xe89e54(0x1ad)](_0x27e4ef,this['unitID'],this[_0xe89e54(0x29a)],null,[],null,[_0x1bc82c],this[_0xe89e54(0x1ae)]);try{let _0xbf5415=this['_transformService'][_0xe89e54(0x3f8)](_0x1bc82c,[_0x4a1cad[_0xe89e54(0x358)]]);if((0x0,_0x4a1cad[_0xe89e54(0x502)])(_0xbf5415)){let {c1Prime:_0x1a33e3}=_0xbf5415;return this[_0xe89e54(0x3b6)](_0x1a33e3),this;}throw _0xbf5415[_0xe89e54(0x2c3)];}catch(_0x5df73d){return this['_logService'][_0xe89e54(0x2c3)](_0x5df73d),this[_0xe89e54(0x493)](!0x1);}}['_onConflict'](_0x1ca200){const _0x2818cc=_0x2f9c02;return this[_0x2818cc(0x427)][_0x2818cc(0x1ad)](_0x224de7,this[_0x2818cc(0x264)],this['type'],null,[],this['_handler'],_0x1ca200);}[_0x2f9c02(0x1e2)](){const _0x2f81e5=_0x2f9c02;throw Error(_0x2f81e5(0x2e2));}[_0x2f9c02(0x1a6)](){const _0x477448=_0x2f9c02;throw Error(_0x477448(0x292));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x3c6bf7=_0x2f9c02;return this[_0x3c6bf7(0x427)][_0x3c6bf7(0x1ad)](_0x31f6a0,this[_0x3c6bf7(0x264)],this[_0x3c6bf7(0x29a)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x2f9c02(0x237)](){const _0x262131=_0x2f9c02;throw Error(_0x262131(0x1f6));}[_0x2f9c02(0x25b)](){const _0x387eee=_0x2f9c02;let _0x5d4641=this[_0x387eee(0x46d)][_0x387eee(0x3a6)](this[_0x387eee(0x264)]);return this[_0x387eee(0x1ae)][_0x387eee(0x484)]({'from':_0x5d4641,'to':0x0}),this['_injector'][_0x387eee(0x1ad)](_0x27e4ef,this[_0x387eee(0x264)],this[_0x387eee(0x29a)],null,[],null,[],this['_handler']);}};_0x2ce86e=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7['Inject'])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x5,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0x6,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x8,_0x4a1cad['ITransformService']),_0x4bc410(0x9,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x2ce86e);let _0x5ce61d=_0x28159e=class extends _0x5b7b9a{constructor(_0x23cac4,_0xffd6d5,_0x30ba37,_0x1bab23,_0x41c6c3,_0x239651,_0x2ab392,_0x33a0e0,_0x5d521f,_0x449c3d,_0x4d3e34,_0x249eca,_0x4ac005,_0x57e82e){const _0x4875da=_0x2f9c02;super(_0x23cac4,_0xffd6d5,null,_0x30ba37,_0x1bab23,_0x5d521f,_0x4ac005,_0x239651,_0x57e82e),this['_injector']=_0x41c6c3,this[_0x4875da(0x4c8)]=_0x2ab392,this[_0x4875da(0x22c)]=_0x33a0e0,this[_0x4875da(0x280)]=_0x449c3d,this['_transformService']=_0x4d3e34,this[_0x4875da(0x450)]=_0x249eca,_0x17e69d(this,_0x4875da(0x454),_0x4fcdb8[_0x4875da(0x1be)]),_0x17e69d(this,'_scheduleCompleteTimestamp',null),_0x17e69d(this,_0x4875da(0x4b5),null);}[_0x2f9c02(0x326)](_0x343355){const _0x379646=_0x2f9c02;return this['_pendingMutations'][_0x379646(0x3a1)](_0x343355),this[_0x379646(0x530)](),this;}[_0x2f9c02(0x4e0)](_0x5371bb){const _0x4e2ec7=_0x2f9c02;if(this[_0x4e2ec7(0x24c)](_0x5371bb))return this[_0x4e2ec7(0x2ea)](),this[_0x4e2ec7(0x427)][_0x4e2ec7(0x1ad)](_0x27e4ef,this[_0x4e2ec7(0x264)],this[_0x4e2ec7(0x29a)],null,this[_0x4e2ec7(0x4b9)],null,[_0x5371bb],this['_handler']);try{let _0x2b9122=this[_0x4e2ec7(0x1d2)][_0x4e2ec7(0x3f8)](_0x5371bb,this[_0x4e2ec7(0x4b9)]);if((0x0,_0x4a1cad[_0x4e2ec7(0x502)])(_0x2b9122)){let {c1Prime:_0xfbf040,m2Prime:_0x11fe69}=_0x2b9122;this[_0x4e2ec7(0x3b6)](_0xfbf040);let _0x38ec70=this['_injector']['createInstance'](_0x28159e,this['unitID'],this[_0x4e2ec7(0x29a)],_0x11fe69,this[_0x4e2ec7(0x1ae)]);this['_clearScheduledTask']();let _0xd641f6=new Date()['getTime'](),_0x62edb1=this['_scheduleCompleteTimestamp']?Math[_0x4e2ec7(0x4ce)](this[_0x4e2ec7(0x219)]-_0xd641f6,0x0):this[_0x4e2ec7(0x49a)]();return _0x38ec70['_schedule'](_0x62edb1),_0x38ec70;}throw _0x2b9122[_0x4e2ec7(0x2c3)];}catch(_0x5ebb57){return this[_0x4e2ec7(0x22c)][_0x4e2ec7(0x2c3)](_0x5ebb57),this[_0x4e2ec7(0x493)](!0x1);}}[_0x2f9c02(0x1e2)](){const _0x41fb7b=_0x2f9c02;throw Error(_0x41fb7b(0x313));}[_0x2f9c02(0x1a6)](){const _0x26248b=_0x2f9c02;throw Error(_0x26248b(0x471));}[_0x2f9c02(0x306)](){return this;}['toggleOffline'](){const _0x483768=_0x2f9c02;return this[_0x483768(0x2ea)](),this[_0x483768(0x427)]['createInstance'](_0x31f6a0,this['unitID'],this[_0x483768(0x29a)],null,this[_0x483768(0x4b9)],this['_handler']);}[_0x2f9c02(0x3c7)](){return this;}[_0x2f9c02(0x388)](_0x29c586){const _0x673543=_0x2f9c02;let _0x5e51ad=_0x29c586==null?this[_0x673543(0x49a)]():_0x29c586;this[_0x673543(0x219)]=new Date()['getTime']()+_0x5e51ad,this[_0x673543(0x4b5)]=setTimeout(()=>{const _0x4e5bc5=_0x673543;this[_0x4e5bc5(0x2ea)]();let _0x198821=null;switch(this[_0x4e5bc5(0x29a)]){case _0x139b11[_0x4e5bc5(0x528)]:_0x198821=_0x5f007c(this[_0x4e5bc5(0x4b9)],this[_0x4e5bc5(0x264)],this[_0x4e5bc5(0x450)],this[_0x4e5bc5(0x46d)],this[_0x4e5bc5(0x4c8)]);break;case _0x139b11[_0x4e5bc5(0x1c3)]:_0x198821=this[_0x4e5bc5(0x4b9)][_0x4e5bc5(0x3f2)](_0x4eba0c=>_0x4eba0c['id']===_0x5ed934[_0x4e5bc5(0x1ac)]['id'])?_0x380723(this[_0x4e5bc5(0x4b9)],this[_0x4e5bc5(0x264)],this[_0x4e5bc5(0x450)],this[_0x4e5bc5(0x46d)],this['_memberService']):_0x5f007c(this[_0x4e5bc5(0x4b9)],this[_0x4e5bc5(0x264)],this['_univerInstanceService'],this[_0x4e5bc5(0x46d)],this[_0x4e5bc5(0x4c8)]);break;default:throw Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}let {changeset:_0x42e2a2,pendingMutations:_0x2cf2bf}=_0x198821;this[_0x4e5bc5(0x1ae)]['onSendChangeset'](_0x42e2a2);let _0x3bfa4f=_0x2cf2bf[_0x4e5bc5(0x4ca)]?this[_0x4e5bc5(0x427)]['createInstance'](_0x378326,this[_0x4e5bc5(0x264)],this['type'],_0x42e2a2,_0x2cf2bf,this[_0x4e5bc5(0x1ae)],void 0x0):this[_0x4e5bc5(0x427)][_0x4e5bc5(0x1ad)](_0x2d15ae,this['unitID'],this[_0x4e5bc5(0x29a)],_0x42e2a2,this[_0x4e5bc5(0x1ae)]);_0x3bfa4f[_0x4e5bc5(0x530)](),this[_0x4e5bc5(0x1ae)][_0x4e5bc5(0x3fe)](this,_0x3bfa4f);},_0x5e51ad);}['_getSendChangesetTimeout'](){const _0x261bae=_0x2f9c02;var _0x1f23c7;let _0x2153bc=this[_0x261bae(0x280)][_0x261bae(0x21e)](_0x1f2256);return(_0x1f23c7=_0x2153bc==null?void 0x0:_0x2153bc['sendChangesetTimeout'])==null?0x7d0:_0x1f23c7;}[_0x2f9c02(0x237)](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2f9c02(0x2ea)](){const _0x14754d=_0x2f9c02;this[_0x14754d(0x4b5)]!=null&&(clearTimeout(this[_0x14754d(0x4b5)]),this['_sendingTimer']=null);}['_onConflict'](_0x5621c5){const _0x1e47ab=_0x2f9c02;return this[_0x1e47ab(0x2ea)](),this[_0x1e47ab(0x427)][_0x1e47ab(0x1ad)](_0x224de7,this[_0x1e47ab(0x264)],this[_0x1e47ab(0x29a)],null,this['_pendingMutations'],this['_handler'],_0x5621c5);}};_0x5ce61d=_0x28159e=_0x230514([_0x4bc410(0x4,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0xd0b104)),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x8,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0xa,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0xc,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x5ce61d);let _0x2d15ae=_0x5af425=class extends _0x5b7b9a{constructor(_0xa04eb9,_0x510d0d,_0x57551c,_0xe55643,_0x57b621,_0x269c3f,_0x52fe5a,_0x1a76c1,_0x16f9cf,_0x3a1a01,_0x2baa16){const _0x30f297=_0x2f9c02;super(_0xa04eb9,_0x510d0d,_0x57551c,[],_0xe55643,_0x52fe5a,_0x3a1a01,_0x269c3f,_0x2baa16),this[_0x30f297(0x427)]=_0x57b621,this[_0x30f297(0x22c)]=_0x1a76c1,this['_transformService']=_0x16f9cf,_0x17e69d(this,_0x30f297(0x454),_0x4fcdb8[_0x30f297(0x479)]),_0x17e69d(this,_0x30f297(0x4c6),0x0),_0x17e69d(this,_0x30f297(0x2b5),0x0),_0x17e69d(this,_0x30f297(0x3c6),void 0x0),_0x17e69d(this,_0x30f297(0x414),void 0x0);}[_0x2f9c02(0x326)](_0xa3f201){const _0x1c313b=_0x2f9c02;this[_0x1c313b(0x2ea)]();let _0x297b4a=this[_0x1c313b(0x427)][_0x1c313b(0x1ad)](_0x378326,this[_0x1c313b(0x264)],this['type'],this[_0x1c313b(0x18b)],[_0xa3f201],this[_0x1c313b(0x1ae)],this[_0x1c313b(0x3c6)]);return _0x297b4a['_updateLocalCache'](),_0x297b4a;}[_0x2f9c02(0x4e0)](_0x2126c9){const _0x4ea1d9=_0x2f9c02;if(this[_0x4ea1d9(0x24c)](_0x2126c9))return this[_0x4ea1d9(0x2ea)](),this[_0x4ea1d9(0x427)][_0x4ea1d9(0x1ad)](_0x27e4ef,this[_0x4ea1d9(0x264)],this['type'],this[_0x4ea1d9(0x18b)],[],null,[_0x2126c9],this[_0x4ea1d9(0x1ae)]);try{let _0x248f31=this[_0x4ea1d9(0x1d2)][_0x4ea1d9(0x2d9)]([_0x2126c9],[this['_awaitingChangeset']],!0x1);if((0x0,_0x4a1cad[_0x4ea1d9(0x25a)])(_0x248f31)){let {c1Prime:_0x4c89a3,c2Prime:_0x5c0a21}=_0x248f31;this[_0x4ea1d9(0x3b6)](_0x4c89a3[0x0]),_0x5c0a21[0x0]['baseRev']=this[_0x4ea1d9(0x35d)](),this['_clearScheduledTask']();let _0xef01b=this[_0x4ea1d9(0x427)]['createInstance'](_0x5af425,this['unitID'],this['type'],_0x5c0a21[0x0],this[_0x4ea1d9(0x1ae)]);return _0xef01b[_0x4ea1d9(0x530)](),_0xef01b;}return this[_0x4ea1d9(0x493)](!0x1);}catch(_0x18f58e){return this[_0x4ea1d9(0x22c)][_0x4ea1d9(0x2c3)](_0x18f58e),this[_0x4ea1d9(0x493)](!0x1);}}[_0x2f9c02(0x1e2)](_0x32a13f){const _0x2abae0=_0x2f9c02;this['_clearScheduledTask']();let _0x5d2749=this[_0x2abae0(0x46d)][_0x2abae0(0x3a6)](this['unitID']);if(_0x32a13f['revision']<_0x5d2749-0x1)return this;if(this[_0x2abae0(0x24c)](_0x32a13f))return this[_0x2abae0(0x427)][_0x2abae0(0x1ad)](_0x27e4ef,this[_0x2abae0(0x264)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x2abae0(0x1ae)]);this[_0x2abae0(0x33a)]();let _0x13a9a2=this['_injector'][_0x2abae0(0x1ad)](_0x2ce86e,this['unitID'],this[_0x2abae0(0x29a)],this[_0x2abae0(0x1ae)]);return _0x13a9a2['_updateLocalCache'](),_0x13a9a2;}[_0x2f9c02(0x1a6)](_0x20c966){const _0x1dc01b=_0x2f9c02;return this[_0x1dc01b(0x493)](!!(_0x20c966!=null&&_0x20c966['isPermissionRej']));}[_0x2f9c02(0x306)](_0x2302fd){const _0x19d4e0=_0x2f9c02;return this['_maxTotalRetryTimeout']>_0x32eb76?this[_0x19d4e0(0x365)]():(this[_0x19d4e0(0x3c6)]=_0x5a47c6(this['_resendTimeout'],{'timeout':this[_0x19d4e0(0x4c6)],'reqId':_0x2302fd[_0x19d4e0(0x1fa)]}),this[_0x19d4e0(0x414)]=this[_0x19d4e0(0x3c6)][_0x19d4e0(0x47f)](({reqId:_0x15a5c8,timeout:_0x43a235})=>{const _0x1cbc34=_0x19d4e0;this[_0x1cbc34(0x2f3)](_0x15a5c8,_0x43a235);}),this);}[_0x2f9c02(0x365)](){const _0xa1953b=_0x2f9c02;return this[_0xa1953b(0x2ea)](),this[_0xa1953b(0x427)][_0xa1953b(0x1ad)](_0x31f6a0,this[_0xa1953b(0x264)],this[_0xa1953b(0x29a)],this[_0xa1953b(0x18b)],[],this[_0xa1953b(0x1ae)]);}[_0x2f9c02(0x3c7)](){return this;}[_0x2f9c02(0x237)](){const _0x2ad6d1=_0x2f9c02;this[_0x2ad6d1(0x1ae)]['onSendChangeset'](this[_0x2ad6d1(0x18b)]);}[_0x2f9c02(0x493)](_0x2b8c93){const _0x2e7181=_0x2f9c02;return this['_clearScheduledTask'](),this[_0x2e7181(0x427)][_0x2e7181(0x1ad)](_0x224de7,this[_0x2e7181(0x264)],this[_0x2e7181(0x29a)],this[_0x2e7181(0x18b)],[],this[_0x2e7181(0x1ae)],_0x2b8c93);}[_0x2f9c02(0x2f3)](_0x46f167,_0x587c69){const _0x300da6=_0x2f9c02;var _0x4c1b86;_0x46f167===((_0x4c1b86=this[_0x300da6(0x18b)])==null?void 0x0:_0x4c1b86['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x587c69===0x0?0x3e8:Math[_0x300da6(0x217)](_0x587c69*0x2,_0x31c09c),this[_0x300da6(0x2b5)]+=this[_0x300da6(0x4c6)]);}[_0x2f9c02(0x2ea)](){const _0x29dadf=_0x2f9c02;var _0x42d0c2;(_0x42d0c2=this[_0x29dadf(0x414)])==null||_0x42d0c2[_0x29dadf(0x48e)](),this[_0x29dadf(0x4c6)]=0x0,this[_0x29dadf(0x2b5)]=0x0;}};_0x2d15ae=_0x5af425=_0x230514([_0x4bc410(0x4,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x6,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x7,_0x4fa1c7['ILogService']),_0x4bc410(0x8,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xa,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x2d15ae);let _0x378326=_0x4d39aa=class extends _0x5b7b9a{constructor(_0x3ed5eb,_0x6b5c4f,_0x4ceb43,_0x49668f,_0x5d6259,_0x100a36,_0x45bfa9,_0x21355,_0x3f260e,_0x48133d,_0x448216,_0x181d36,_0xa3efe3){const _0x434ffa=_0x2f9c02;super(_0x3ed5eb,_0x6b5c4f,_0x4ceb43,_0x49668f,_0x5d6259,_0x3f260e,_0x181d36,_0x21355,_0xa3efe3),this[_0x434ffa(0x427)]=_0x45bfa9,this['_logService']=_0x48133d,this['_transformService']=_0x448216,this[_0x434ffa(0x4cd)]=_0xa3efe3,_0x17e69d(this,_0x434ffa(0x454),_0x4fcdb8['AWAITING_WITH_PENDING']),_0x17e69d(this,_0x434ffa(0x4c6),0x0),_0x17e69d(this,_0x434ffa(0x2b5),0x0),_0x17e69d(this,_0x434ffa(0x3c6),void 0x0),_0x17e69d(this,'_sender',void 0x0),_0x100a36&&(this['_resendTimer']=_0x100a36,this[_0x434ffa(0x414)]=this[_0x434ffa(0x3c6)][_0x434ffa(0x47f)](({reqId:_0x17f272,timeout:_0xcaeade})=>{this['_resendWithTimeout'](_0x17f272,_0xcaeade);}));}[_0x2f9c02(0x326)](_0x1970ad){const _0x4961f5=_0x2f9c02;return this[_0x4961f5(0x4b9)][_0x4961f5(0x3a1)](_0x1970ad),this;}[_0x2f9c02(0x4e0)](_0x310041){const _0x2145f7=_0x2f9c02;if(this[_0x2145f7(0x24c)](_0x310041))return this[_0x2145f7(0x2ea)](),this[_0x2145f7(0x427)][_0x2145f7(0x1ad)](_0x27e4ef,this[_0x2145f7(0x264)],this[_0x2145f7(0x29a)],this[_0x2145f7(0x18b)],this['_pendingMutations'],null,[_0x310041],this[_0x2145f7(0x1ae)]);try{let _0x6f8346=this[_0x2145f7(0x1d2)][_0x2145f7(0x2d9)]([_0x310041],[this[_0x2145f7(0x18b)]],!0x1);if((0x0,_0x4a1cad['isTransformChangesetsSuccess'])(_0x6f8346)){let {c1Prime:_0x26c531,c2Prime:_0xb4e475}=_0x6f8346,_0x25398d=this[_0x2145f7(0x1d2)][_0x2145f7(0x3f8)](_0x26c531[0x0],this['_pendingMutations']);if((0x0,_0x4a1cad[_0x2145f7(0x502)])(_0x25398d)){let {c1Prime:_0x38441b,m2Prime:_0x3406ec}=_0x25398d;return this[_0x2145f7(0x3b6)](_0x38441b),_0xb4e475[0x0][_0x2145f7(0x18e)]=this[_0x2145f7(0x35d)](),this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x4d39aa,this[_0x2145f7(0x264)],this[_0x2145f7(0x29a)],_0xb4e475[0x0],_0x3406ec,this[_0x2145f7(0x1ae)],void 0x0);}throw _0x25398d[_0x2145f7(0x2c3)];}throw _0x6f8346[_0x2145f7(0x2c3)];}catch(_0x5b6a47){return this['_logService'][_0x2145f7(0x2c3)](_0x5b6a47),this[_0x2145f7(0x493)](!0x1);}}[_0x2f9c02(0x1e2)](_0x26adfc){const _0x88a9e1=_0x2f9c02;if(this[_0x88a9e1(0x2ea)](),this[_0x88a9e1(0x24c)](_0x26adfc))return this['_injector'][_0x88a9e1(0x1ad)](_0x27e4ef,this[_0x88a9e1(0x264)],this[_0x88a9e1(0x29a)],null,this[_0x88a9e1(0x4b9)],this[_0x88a9e1(0x18b)],[],this['_handler']);this[_0x88a9e1(0x33a)]();let _0x410de8=this[_0x88a9e1(0x427)][_0x88a9e1(0x1ad)](_0x5ce61d,this[_0x88a9e1(0x264)],this[_0x88a9e1(0x29a)],this[_0x88a9e1(0x4b9)],this[_0x88a9e1(0x1ae)]);return _0x410de8[_0x88a9e1(0x388)](),_0x410de8[_0x88a9e1(0x530)](),_0x410de8;}[_0x2f9c02(0x1a6)](_0x3886ea){const _0x2413dc=_0x2f9c02;return this['_onConflict'](!!(_0x3886ea!=null&&_0x3886ea[_0x2413dc(0x405)]));}[_0x2f9c02(0x306)](_0x4c43f9){const _0x1228a6=_0x2f9c02;return this[_0x1228a6(0x2b5)]>_0x32eb76?this['toggleOffline']():(this[_0x1228a6(0x3c6)]=_0x5a47c6(this[_0x1228a6(0x4c6)],{'timeout':this[_0x1228a6(0x4c6)],'reqId':_0x4c43f9[_0x1228a6(0x1fa)]}),this[_0x1228a6(0x414)]=this[_0x1228a6(0x3c6)]['subscribe'](({reqId:_0xc5b62c,timeout:_0x25a413})=>{const _0x2c854d=_0x1228a6;this[_0x2c854d(0x2f3)](_0xc5b62c,_0x25a413);}),this);}[_0x2f9c02(0x365)](){const _0x3cb590=_0x2f9c02;return this[_0x3cb590(0x2ea)](),this[_0x3cb590(0x427)]['createInstance'](_0x31f6a0,this[_0x3cb590(0x264)],this[_0x3cb590(0x29a)],this[_0x3cb590(0x18b)],this['_pendingMutations'],this[_0x3cb590(0x1ae)]);}[_0x2f9c02(0x3c7)](){return this;}['resend'](){const _0x472eb2=_0x2f9c02;this[_0x472eb2(0x1ae)][_0x472eb2(0x1a9)](this[_0x472eb2(0x18b)]);}['_onConflict'](_0x1e1eec){const _0x1fe2c4=_0x2f9c02;return this[_0x1fe2c4(0x2ea)](),this[_0x1fe2c4(0x427)][_0x1fe2c4(0x1ad)](_0x224de7,this[_0x1fe2c4(0x264)],this[_0x1fe2c4(0x29a)],null,this[_0x1fe2c4(0x4b9)],this[_0x1fe2c4(0x1ae)],_0x1e1eec);}[_0x2f9c02(0x2f3)](_0x149f95,_0x2a341a){const _0x5ae0a3=_0x2f9c02;var _0x47c2a0;_0x149f95===((_0x47c2a0=this[_0x5ae0a3(0x18b)])==null?void 0x0:_0x47c2a0[_0x5ae0a3(0x1fa)])&&(this[_0x5ae0a3(0x237)](),this['_resendTimeout']=_0x2a341a===0x0?0x3e8:Math[_0x5ae0a3(0x217)](_0x2a341a*0x2,_0x31c09c),this[_0x5ae0a3(0x2b5)]+=this[_0x5ae0a3(0x4c6)]);}['_clearScheduledTask'](){const _0x27d193=_0x2f9c02;var _0x5efc12;(_0x5efc12=this[_0x27d193(0x414)])==null||_0x5efc12[_0x27d193(0x48e)](),this[_0x27d193(0x4c6)]=0x0,this[_0x27d193(0x2b5)]=0x0;}};_0x378326=_0x4d39aa=_0x230514([_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x8,_0x4fa1c7['ICommandService']),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0xa,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xc,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x378326);let _0x224de7=class extends _0x5b7b9a{constructor(_0x5e2590,_0x12f562,_0x2cfbcd,_0x196607,_0x5ef4ce,_0x23fd58=!0x1,_0x321131,_0x4f68bd,_0x54400f,_0x433b8a,_0x4b9715,_0x532aaa,_0x4d7ddc){const _0x272345=_0x2f9c02;super(_0x5e2590,_0x12f562,_0x2cfbcd,_0x196607,_0x5ef4ce,_0x4f68bd,_0x54400f,_0x433b8a,_0x4d7ddc),this[_0x272345(0x39b)]=_0x23fd58,this[_0x272345(0x425)]=_0x321131,this[_0x272345(0x44a)]=_0x4b9715,this[_0x272345(0x298)]=_0x532aaa,this['localCacheService']=_0x4d7ddc,_0x17e69d(this,_0x272345(0x454),_0x4fcdb8[_0x272345(0x4da)]),this[_0x272345(0x4ef)](),this['_clearLocalCache'](),this[_0x272345(0x3a2)]();}[_0x2f9c02(0x326)](){return this;}[_0x2f9c02(0x4e0)](){return this;}[_0x2f9c02(0x1e2)](){return this;}['onRemoteRej'](){return this;}[_0x2f9c02(0x306)](){return this;}[_0x2f9c02(0x365)](){return this;}[_0x2f9c02(0x3c7)](){return this;}['resend'](){const _0x2b094c=_0x2f9c02;throw Error(_0x2b094c(0x1f2));}[_0x2f9c02(0x327)](){const _0x2186a7=_0x2f9c02;var _0x1897fe;(_0x1897fe=this['_localCacheService'])==null||_0x1897fe[_0x2186a7(0x21f)](this[_0x2186a7(0x264)],this[_0x2186a7(0x29a)],null,[]);}[_0x2f9c02(0x4ef)](){const _0x2dd93a=_0x2f9c02;this[_0x2dd93a(0x39b)]?this[_0x2dd93a(0x298)][_0x2dd93a(0x2e5)]({'id':_0x1ef886[_0x2dd93a(0x331)]}):this[_0x2dd93a(0x298)]['emitEvent']({'id':_0x1ef886['CONFLICT']});}['_disableEditing'](){const _0x291ac9=_0x2f9c02;this[_0x291ac9(0x425)][_0x291ac9(0x284)](new _0x376d47['WorkbookEditablePermission'](this[_0x291ac9(0x264)])['id'],!0x1);}};_0x224de7=_0x230514([_0x4bc410(0x6,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7['IPermissionService'])),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x8,_0x4fa1c7['IUndoRedoService']),_0x4bc410(0x9,(0x0,_0x4fa1c7['Inject'])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0xa,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0xb,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0xc,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x224de7);let _0x31f6a0=class extends _0x5b7b9a{constructor(_0xb6c54d,_0x5d967c,_0xb26025,_0x2332c3,_0x1f0cfa,_0xe94fb0,_0x3b4c38,_0x5a682b,_0x5b350f,_0x34be44){const _0x1fb9d7=_0x2f9c02;super(_0xb6c54d,_0x5d967c,_0xb26025,_0x2332c3,_0x1f0cfa,_0x5a682b,_0x5b350f,_0x3b4c38,_0x34be44),this[_0x1fb9d7(0x427)]=_0xe94fb0,_0x17e69d(this,_0x1fb9d7(0x454),_0x4fcdb8['OFFLINE']);}[_0x2f9c02(0x326)](_0x13199b){const _0x20cc4e=_0x2f9c02;return this[_0x20cc4e(0x4b9)][_0x20cc4e(0x3a1)](_0x13199b),this[_0x20cc4e(0x530)](),this;}[_0x2f9c02(0x4e0)](_0x4132a6){throw Error('[OfflineState]:\x20received\x20changeset.');}[_0x2f9c02(0x1e2)](){const _0x3e9f69=_0x2f9c02;throw Error(_0x3e9f69(0x29e));}[_0x2f9c02(0x1a6)](){const _0x2f3b0b=_0x2f9c02;throw Error(_0x2f3b0b(0x4e1));}[_0x2f9c02(0x306)](){return this;}['toggleOffline'](){return this;}[_0x2f9c02(0x3c7)](){const _0x16617c=_0x2f9c02;let {_injector:_0x785d22,_pendingMutations:_0x36e080,_awaitingChangeset:_0x9a73c4,unitID:_0x42fc29,_handler:_0xe05abb,type:_0x3c9c0c}=this,_0x28d295=_0x1e0eb8(_0x785d22,_0x42fc29,_0x3c9c0c,_0x9a73c4,_0x36e080,_0xe05abb);return _0x28d295 instanceof _0x5ce61d?_0x28d295[_0x16617c(0x388)]():(_0x28d295 instanceof _0x378326||_0x28d295 instanceof _0x2d15ae)&&_0x28d295[_0x16617c(0x237)](),_0x28d295;}[_0x2f9c02(0x237)](){throw Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x31f6a0=_0x230514([_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x7,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x8,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0x9,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x31f6a0);let _0x27e4ef=class extends _0x5b7b9a{constructor(_0x5bc7af,_0x3b8c10,_0x324172,_0x3aa3b2,_0x363389,_0x283a65,_0x31d861,_0xfb72fe,_0x2d7860,_0x4eedfd,_0x98fb10,_0x4f2623,_0x20ed09,_0x1200d8){const _0xb5f6bc=_0x2f9c02;super(_0x5bc7af,_0x3b8c10,_0x324172,_0x3aa3b2,_0x31d861,_0x98fb10,_0x4f2623,_0x2d7860,_0x1200d8),this['_acknowledgedAwaitingChangeset']=_0x363389,this['_queuedRemoteChangesets']=_0x283a65,this[_0xb5f6bc(0x427)]=_0xfb72fe,this['_logService']=_0x4eedfd,this[_0xb5f6bc(0x1d2)]=_0x20ed09,this['localCacheService']=_0x1200d8,_0x17e69d(this,_0xb5f6bc(0x454),_0x4fcdb8[_0xb5f6bc(0x30c)]);}[_0x2f9c02(0x28b)](_0x89b0cf){const _0x26e81c=_0x2f9c02;try{let _0x47ea63=[..._0x89b0cf,...this[_0x26e81c(0x453)]],_0x2aafb5=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x432c3a=>!!_0x432c3a),_0x18c526,_0x1682ab;if(_0x2aafb5['length']){let _0x3ae4be=this[_0x26e81c(0x1d2)][_0x26e81c(0x2d9)](_0x47ea63,_0x2aafb5,!0x1);if(!(0x0,_0x4a1cad['isTransformChangesetsSuccess'])(_0x3ae4be))throw _0x3ae4be[_0x26e81c(0x2c3)];_0x18c526=_0x3ae4be[_0x26e81c(0x439)],_0x1682ab=_0x3ae4be['c2Prime'];}else _0x18c526=_0x47ea63,_0x1682ab=[];let _0x1fa877=this[_0x26e81c(0x4b9)];_0x18c526['forEach'](_0xb88d93=>{const _0x5a695e=_0x26e81c;let _0x46b613;if(_0x1fa877[_0x5a695e(0x4ca)]){let _0x210c21=this['_transformService'][_0x5a695e(0x3f8)](_0xb88d93,_0x1fa877);if(!(0x0,_0x4a1cad['isTransformMutationsWithChangesetSuccess'])(_0x210c21))throw _0x210c21['error'];_0x46b613=_0x210c21[_0x5a695e(0x439)],_0x1fa877=_0x210c21[_0x5a695e(0x2e0)];}else _0x46b613=_0xb88d93;this['_executeRemoteChangeset'](_0x46b613);}),this[_0x26e81c(0x3d9)]&&this[_0x26e81c(0x33a)](),this[_0x26e81c(0x18b)]&&_0x1682ab[_0x26e81c(0x4ca)]&&(_0x1682ab[0x0][_0x26e81c(0x18e)]=this[_0x26e81c(0x35d)]());let _0x68154c;if(this[_0x26e81c(0x18b)]&&_0x1fa877['length']!==0x0)_0x68154c=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x378326,this[_0x26e81c(0x264)],this[_0x26e81c(0x29a)],_0x1682ab[0x0],_0x1fa877,this[_0x26e81c(0x1ae)],void 0x0);else{if(this[_0x26e81c(0x18b)]&&_0x1fa877[_0x26e81c(0x4ca)]===0x0)_0x1682ab[0x0]['baseRev']=this[_0x26e81c(0x35d)](),_0x68154c=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x2d15ae,this['unitID'],this['type'],_0x1682ab[0x0],this['_handler']);else{if(_0x1fa877[_0x26e81c(0x4ca)]!==0x0){let _0x1534f2=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x5ce61d,this[_0x26e81c(0x264)],this['type'],_0x1fa877,this[_0x26e81c(0x1ae)]);_0x1534f2[_0x26e81c(0x388)](),_0x68154c=_0x1534f2;}else _0x68154c=this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x2ce86e,this['unitID'],this[_0x26e81c(0x29a)],this[_0x26e81c(0x1ae)]);}}return _0x68154c[_0x26e81c(0x530)](),_0x68154c;}catch(_0x27cec0){return this[_0x26e81c(0x22c)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x27cec0),this[_0x26e81c(0x427)][_0x26e81c(0x1ad)](_0x224de7,this[_0x26e81c(0x264)],this[_0x26e81c(0x29a)],this[_0x26e81c(0x18b)],this[_0x26e81c(0x4b9)],this[_0x26e81c(0x1ae)],!0x1);}}[_0x2f9c02(0x237)](){const _0x585fe2=_0x2f9c02;throw Error(_0x585fe2(0x20b));}[_0x2f9c02(0x326)](_0x55125f){const _0x465bcb=_0x2f9c02;return this[_0x465bcb(0x4b9)][_0x465bcb(0x3a1)](_0x55125f),this;}[_0x2f9c02(0x4e0)](_0x548b86){const _0x322d5e=_0x2f9c02;return this[_0x322d5e(0x453)][_0x322d5e(0x3a1)](_0x548b86),this;}[_0x2f9c02(0x1e2)](_0x3fc141){const _0x2306ba=_0x2f9c02;if(this[_0x2306ba(0x18b)])return this[_0x2306ba(0x3d9)]=this[_0x2306ba(0x18b)],this[_0x2306ba(0x18b)]=null,this;throw Error(_0x2306ba(0x3dc));}[_0x2f9c02(0x1a6)](_0x417ac5){const _0x11b969=_0x2f9c02;return this[_0x11b969(0x493)](!!(_0x417ac5!=null&&_0x417ac5[_0x11b969(0x405)]));}[_0x2f9c02(0x306)](){return this;}[_0x2f9c02(0x365)](){const _0x501291=_0x2f9c02;return this['_injector']['createInstance'](_0x31f6a0,this[_0x501291(0x264)],this[_0x501291(0x29a)],this[_0x501291(0x18b)],this[_0x501291(0x4b9)],this['_handler']);}['toggleOnline'](){return this;}[_0x2f9c02(0x493)](_0x345e9b){const _0x29b60f=_0x2f9c02;return this['_injector'][_0x29b60f(0x1ad)](_0x224de7,this['unitID'],this[_0x29b60f(0x29a)],this[_0x29b60f(0x18b)],this[_0x29b60f(0x4b9)],this['_handler'],_0x345e9b);}};_0x27e4ef=_0x230514([_0x4bc410(0x7,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x8,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x9,_0x4fa1c7['ILogService']),_0x4bc410(0xa,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x3d5)]),_0x4bc410(0xc,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x27e4ef);function _0x1e0eb8(_0x41c5ac,_0x49a8ec,_0x15c890,_0x536ed0,_0x40dc28,_0x362527){const _0x42165b=_0x2f9c02;return _0x536ed0&&_0x40dc28[_0x42165b(0x4ca)]?_0x41c5ac[_0x42165b(0x1ad)](_0x378326,_0x49a8ec,_0x15c890,_0x536ed0,_0x40dc28,_0x362527,void 0x0):_0x536ed0?_0x41c5ac[_0x42165b(0x1ad)](_0x2d15ae,_0x49a8ec,_0x15c890,_0x536ed0,_0x362527):_0x40dc28['length']?_0x41c5ac['createInstance'](_0x5ce61d,_0x49a8ec,_0x15c890,_0x40dc28,_0x362527):_0x41c5ac['createInstance'](_0x2ce86e,_0x49a8ec,_0x15c890,_0x362527);}let _0x531b37=class extends _0x4fa1c7['RxDisposable']{get[_0x2f9c02(0x1de)](){const _0x26fbc7=_0x2f9c02;return this[_0x26fbc7(0x428)];}constructor(_0x451d64,_0x26be45,_0x2d8fec,_0x2ffb3b,_0x34555c,_0x42a512,_0x5dc489,_0x3c6473,_0x2776a7,_0x1f8ea2,_0x2304f7,_0x2778f5,_0x30f28e,_0x3a0381){const _0x4a4643=_0x2f9c02;super(),this[_0x4a4643(0x264)]=_0x451d64,this[_0x4a4643(0x45f)]=_0x26be45,this[_0x4a4643(0x308)]=_0x2d8fec,this[_0x4a4643(0x427)]=_0x2ffb3b,this['_compressMutationService']=_0x34555c,this['_localeService']=_0x42a512,this[_0x4a4643(0x46d)]=_0x5dc489,this[_0x4a4643(0x43d)]=_0x3c6473,this[_0x4a4643(0x450)]=_0x2776a7,this[_0x4a4643(0x22c)]=_0x1f8ea2,this[_0x4a4643(0x1bc)]=_0x2304f7,this[_0x4a4643(0x425)]=_0x2778f5,this[_0x4a4643(0x321)]=_0x30f28e,this[_0x4a4643(0x521)]=_0x3a0381,_0x17e69d(this,_0x4a4643(0x46a),new _0x431df8['BehaviorSubject'](null)),_0x17e69d(this,_0x4a4643(0x4ae),this[_0x4a4643(0x46a)][_0x4a4643(0x3a3)]()),_0x17e69d(this,_0x4a4643(0x428),void 0x0),_0x17e69d(this,_0x4a4643(0x36c),!0x1),_0x17e69d(this,'_changesetSessionId',''),_0x17e69d(this,'_changesetReqId',0x0),_0x17e69d(this,_0x4a4643(0x51e),this['state$'][_0x4a4643(0x2a4)]((0x0,_0x431df8[_0x4a4643(0x1e4)])(_0x9ec51=>_0x9ec51?_0x9ec51[_0x4a4643(0x454)]:_0x4fcdb8[_0x4a4643(0x1d0)]),(0x0,_0x431df8['shareReplay'])(0x1))),_0x17e69d(this,'_transitionLocked',!0x1),_0x17e69d(this,_0x4a4643(0x225),[]);}async[_0x2f9c02(0x51f)](){const _0x343f57=_0x2f9c02;if(this['state'])throw Error(_0x343f57(0x464));await this['_init']();}['pauseCollaboration'](){const _0xdbf162=_0x2f9c02;return this[_0xdbf162(0x36c)]=!0x0,(0x0,_0x4fa1c7['toDisposable'])(()=>{const _0x32f506=_0xdbf162;this['_collaborationPaused']=!0x1,this[_0x32f506(0x191)]();});}[_0x2f9c02(0x4b7)](_0x4ac703){const _0x2237fc=_0x2f9c02;this[_0x2237fc(0x534)](_0x4ac703);}[_0x2f9c02(0x257)](_0xf2b3e8){const _0x2f4bfb=_0x2f9c02;this[_0x2f4bfb(0x428)]=_0xf2b3e8,this['_state$'][_0x2f4bfb(0x4d6)](_0xf2b3e8);}async[_0x2f9c02(0x33f)](){const _0x35e08f=_0x2f9c02;if(this['_updateState'](await this[_0x35e08f(0x1ca)]()),this['_singleActiveUnitService']){var _0x53006a;(_0x53006a=this[_0x35e08f(0x321)])==null||_0x53006a[_0x35e08f(0x3bf)](this['unitID']),this[_0x35e08f(0x345)](this['_singleActiveUnitService'][_0x35e08f(0x285)](this[_0x35e08f(0x264)])[_0x35e08f(0x47f)](_0x5c04af=>{const _0x2ef2cf=_0x35e08f;this[_0x2ef2cf(0x22c)][_0x2ef2cf(0x2cf)](_0x2ef2cf(0x382),_0x2ef2cf(0x212),_0x5c04af),_0x5c04af===_0x97ee5b[_0x2ef2cf(0x1a0)]?(this[_0x2ef2cf(0x43d)][_0x2ef2cf(0x2e5)]({'id':_0x1ef886[_0x2ef2cf(0x202)]}),this['_permissionService']['updatePermissionPoint'](new _0x376d47['WorkbookEditablePermission'](this[_0x2ef2cf(0x264)])['id'],!0x1),this[_0x2ef2cf(0x425)][_0x2ef2cf(0x395)](!0x1)):(this[_0x2ef2cf(0x425)]['updatePermissionPoint'](new _0x376d47[(_0x2ef2cf(0x2cd))](this['unitID'])['id'],!0x0),this[_0x2ef2cf(0x425)][_0x2ef2cf(0x395)](!0x0));}));}let _0x3ae380=!0x1;return this[_0x35e08f(0x345)](this['session']['sessionStatus$'][_0x35e08f(0x47f)](_0x5ac690=>{const _0x283d11=_0x35e08f;_0x5ac690===_0x1b3cf0[_0x283d11(0x1c7)]?this[_0x283d11(0x4fa)](_0x3ae380):_0x5ac690===_0x1b3cf0[_0x283d11(0x1d0)]&&(_0x3ae380=!0x0,this[_0x283d11(0x2b6)]());})),this['disposeWithMe'](this[_0x35e08f(0x45f)][_0x35e08f(0x466)][_0x35e08f(0x47f)](_0x3a1fe5=>{const _0x343cea=_0x35e08f;try{switch(_0x3a1fe5[_0x343cea(0x509)]){case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x2cc)]:this[_0x343cea(0x474)]((0x0,_0x4a1cad[_0x343cea(0x2d6)])(_0x3a1fe5[_0x343cea(0x275)]));break;case _0x4a1cad['CollaborationEvent'][_0x343cea(0x2e3)]:this[_0x343cea(0x263)](_0x3a1fe5[_0x343cea(0x275)]);break;case _0x4a1cad['CollaborationEvent'][_0x343cea(0x45b)]:this['_onRemoteRejected']();break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x514)]:this['_onRemoteRetry'](_0x3a1fe5[_0x343cea(0x275)]);break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x3ca)]:this[_0x343cea(0x51d)](_0x3a1fe5[_0x343cea(0x275)][_0x343cea(0x1c8)]['map'](_0x58e800=>(0x0,_0x4a1cad['parseProtocolChangeset'])(_0x58e800)));break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x380)]:this[_0x343cea(0x4a0)]({'isPermissionRej':!0x0});break;case _0x4a1cad[_0x343cea(0x31f)][_0x343cea(0x3a8)]:break;}}catch(_0x30952a){throw console[_0x343cea(0x2c3)](_0x343cea(0x486),_0x30952a),_0x30952a;}})),this[_0x35e08f(0x428)];}[_0x2f9c02(0x35e)](){const _0x5afcb=_0x2f9c02;this[_0x5afcb(0x368)]=!0x1;}[_0x2f9c02(0x515)](){const _0x32a48a=_0x2f9c02;if(this[_0x32a48a(0x368)])throw Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x32a48a(0x368)]=!0x0;}['_onLocalMutation'](_0x2ee539){const _0xc210ce=_0x2f9c02;this[_0xc210ce(0x515)](),this[_0xc210ce(0x257)](this[_0xc210ce(0x428)]['appendMutation'](_0x2ee539)),this[_0xc210ce(0x35e)]();}[_0x2f9c02(0x474)](_0x2daa9a){const _0x47dae5=_0x2f9c02;if(!(_0x2daa9a[_0x47dae5(0x520)]<=this['_revisionService'][_0x47dae5(0x3a6)](this[_0x47dae5(0x264)]))){if(this[_0x47dae5(0x36c)]){this[_0x47dae5(0x225)][_0x47dae5(0x3a1)](_0x2daa9a);return;}this['_applyRemoteChangeset'](_0x2daa9a);}}[_0x2f9c02(0x191)](){const _0x1b7736=_0x2f9c02;this[_0x1b7736(0x225)]['forEach'](_0x43ba26=>this[_0x1b7736(0x3f0)](_0x43ba26)),this[_0x1b7736(0x225)]=[];}[_0x2f9c02(0x3f0)](_0x2c762b){const _0x178d3b=_0x2f9c02;let _0xdd279=this[_0x178d3b(0x226)][_0x178d3b(0x524)][_0x178d3b(0x3a4)](this[_0x178d3b(0x226)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2c762b['mutations'],null)||_0x2c762b['mutations'],_0x59deaa={..._0x2c762b,'mutations':_0xdd279};this['_lockTransition'](),this['_updateState'](this['_state'][_0x178d3b(0x4e0)](_0x59deaa)),this['_unlockTransition']();}[_0x2f9c02(0x263)](_0x39f6e8){const _0x16e2bb=_0x2f9c02;this['_lockTransition'](),this[_0x16e2bb(0x257)](this[_0x16e2bb(0x428)][_0x16e2bb(0x1e2)](_0x39f6e8)),this[_0x16e2bb(0x35e)]();}['_onRemoteRejected'](_0x259306){const _0x15216f=_0x2f9c02;this[_0x15216f(0x515)](),this[_0x15216f(0x257)](this[_0x15216f(0x428)][_0x15216f(0x1a6)](_0x259306)),this['_unlockTransition']();}[_0x2f9c02(0x27f)](_0x3ffade){const _0x50ac07=_0x2f9c02;this['_lockTransition'](),this[_0x50ac07(0x257)](this[_0x50ac07(0x428)][_0x50ac07(0x306)](_0x3ffade)),this[_0x50ac07(0x35e)]();}[_0x2f9c02(0x51d)](_0x5887ef){const _0x871af3=_0x2f9c02;if(!(this['_state']instanceof _0x27e4ef))throw TypeError(_0x871af3(0x28a));let _0x367570=_0x5887ef['map'](_0x41abbb=>{const _0x1b3cf6=_0x871af3;let _0x4e1d93=this[_0x1b3cf6(0x226)]['interceptor'][_0x1b3cf6(0x3a4)](this[_0x1b3cf6(0x226)][_0x1b3cf6(0x524)][_0x1b3cf6(0x36e)]()[_0x1b3cf6(0x40c)])(_0x41abbb[_0x1b3cf6(0x494)],null)||_0x41abbb['mutations'];return{..._0x41abbb,'mutations':_0x4e1d93};});this[_0x871af3(0x515)](),this[_0x871af3(0x257)](this[_0x871af3(0x428)]['onMissedChangesetFetched'](_0x367570)),this[_0x871af3(0x35e)]();}[_0x2f9c02(0x2b6)](){const _0x2ce58f=_0x2f9c02;this[_0x2ce58f(0x515)](),this[_0x2ce58f(0x257)](this['_state'][_0x2ce58f(0x365)]()),this[_0x2ce58f(0x35e)]();}[_0x2f9c02(0x4fa)](_0x492ab0=!0x1){const _0x20445e=_0x2f9c02;this['_lockTransition'](),this[_0x20445e(0x257)](this['_state'][_0x20445e(0x3c7)]()),this[_0x20445e(0x35e)]();let _0x571638=this[_0x20445e(0x428)];_0x492ab0&&_0x571638 instanceof _0x2ce86e&&(this[_0x20445e(0x515)](),this[_0x20445e(0x257)](_0x571638[_0x20445e(0x25b)]()),this[_0x20445e(0x35e)]());}async[_0x2f9c02(0x1ca)](){return new Promise(_0x357449=>{const _0x17c3c8=_0x50be;this[_0x17c3c8(0x45f)][_0x17c3c8(0x424)]['pipe']((0x0,_0x431df8[_0x17c3c8(0x3c2)])(0x1))[_0x17c3c8(0x47f)](async _0x39e99c=>{const _0xbbc05=_0x17c3c8;_0x357449(await this['_createInitialStateImpl'](_0x39e99c===_0x1b3cf0[_0xbbc05(0x1c7)]));});});}['_createHandler'](){const _0x570556=_0x2f9c02;let _0x663e45=this[_0x570556(0x264)];return{'onStateChange':(_0x37beb7,_0x13f9ab)=>{const _0x4183d0=_0x570556;if(_0x37beb7!==this[_0x4183d0(0x428)])throw Error(_0x4183d0(0x1d4)+_0x37beb7['status']+_0x4183d0(0x360)+_0x13f9ab[_0x4183d0(0x454)]+'\x0aCurrent:\x20'+this[_0x4183d0(0x428)]['status']);this[_0x4183d0(0x257)](_0x13f9ab);},'onSendChangeset':_0x22540d=>{const _0x1c8151=_0x570556;_0x22540d[_0x1c8151(0x22a)]||(_0x22540d[_0x1c8151(0x22a)]=this[_0x1c8151(0x1af)],_0x22540d[_0x1c8151(0x1fa)]=++this[_0x1c8151(0x274)]);let _0x16463e={'eventID':_0x4a1cad[_0x1c8151(0x31f)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x22540d[_0x1c8151(0x264)],'unitType':this[_0x1c8151(0x308)],'changeset':_0x22540d,'memberID':this[_0x1c8151(0x45f)][_0x1c8151(0x1cf)]()}};this['session'][_0x1c8151(0x419)](_0x16463e,this[_0x1c8151(0x264)]);},'onMissingChangesets':({from:_0x335e6a,to:_0x55d666})=>{const _0x1a1f42=_0x570556;this[_0x1a1f42(0x22c)][_0x1a1f42(0x2cf)](_0x1a1f42(0x382),_0x1a1f42(0x2c1)+_0x335e6a+_0x1a1f42(0x3df)+_0x55d666);let _0xc42cb0={'eventID':_0x4a1cad['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x663e45,'unitType':this[_0x1a1f42(0x308)],'from':_0x335e6a,'to':_0x55d666}};this[_0x1a1f42(0x45f)]['send'](_0xc42cb0,this[_0x1a1f42(0x264)]);}};}async['_createInitialStateImpl'](_0x1a874a){const _0x12e5ae=_0x2f9c02;var _0x102c95,_0x58fca3,_0x1677bc;let _0xda1a1b=await((_0x102c95=this[_0x12e5ae(0x521)])==null?void 0x0:_0x102c95[_0x12e5ae(0x4c3)](this[_0x12e5ae(0x264)])),_0xa4e426=(_0x58fca3=_0xda1a1b==null?void 0x0:_0xda1a1b['mutations'])==null?[]:_0x58fca3,_0x484ffc=(_0x1677bc=_0xda1a1b==null?void 0x0:_0xda1a1b['awaitingChangeset'])==null?null:_0x1677bc,_0x597ed4=!!(_0x484ffc!=null&&_0x484ffc[_0x12e5ae(0x22a)])&&!!(_0x484ffc!=null&&_0x484ffc[_0x12e5ae(0x1fa)]);this[_0x12e5ae(0x1af)]=_0x597ed4?_0x484ffc['sid']:(0x0,_0x4a1cad['uuidv4'])(),this[_0x12e5ae(0x274)]=_0x597ed4?_0x484ffc['reqId']:0x0;let _0x4ec151=this['unitID'];try{this['_replayCachedMutations'](_0x484ffc,_0xa4e426);}catch(_0x38ecdf){this[_0x12e5ae(0x22c)][_0x12e5ae(0x2c3)](_0x38ecdf);}let _0x105f1d=this[_0x12e5ae(0x4df)]();if(_0x1a874a){let _0x9afa12=_0x1e0eb8(this[_0x12e5ae(0x427)],_0x4ec151,this[_0x12e5ae(0x308)],_0x484ffc,_0xa4e426,_0x105f1d);return _0x9afa12 instanceof _0x5ce61d?_0x9afa12['_schedule']():(_0x9afa12 instanceof _0x378326||_0x9afa12 instanceof _0x2d15ae)&&_0x9afa12[_0x12e5ae(0x237)](),_0x9afa12;}return this[_0x12e5ae(0x427)][_0x12e5ae(0x1ad)](_0x31f6a0,_0x4ec151,this['_type'],_0x484ffc,_0xa4e426,_0x105f1d);}['_replayCachedMutations'](_0x33744a,_0x3d989f){const _0x2a2d5f=_0x2f9c02;var _0x46c0ff,_0x42f4ee;let _0x36e917=this[_0x2a2d5f(0x226)]['interceptor'][_0x2a2d5f(0x3a4)](this['_compressMutationService'][_0x2a2d5f(0x524)]['getInterceptPoints']()[_0x2a2d5f(0x40c)]);(_0x46c0ff=_0x36e917((_0x33744a==null?void 0x0:_0x33744a[_0x2a2d5f(0x494)])||[],null))==null||_0x46c0ff['forEach'](_0x28b2c4=>this['_commandService']['executeCommand'](_0x28b2c4['id'],_0x28b2c4[_0x2a2d5f(0x433)])),(_0x42f4ee=_0x36e917(_0x3d989f||[],null))==null||_0x42f4ee[_0x2a2d5f(0x401)](_0x111a4f=>this[_0x2a2d5f(0x1bc)][_0x2a2d5f(0x2fc)](_0x111a4f['id'],_0x111a4f['params']));}};_0x531b37=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad['CompressMutationService'])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0x8,_0x4fa1c7['IUniverInstanceService']),_0x4bc410(0x9,_0x4fa1c7['ILogService']),_0x4bc410(0xa,_0x4fa1c7['ICommandService']),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0xc,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x12f31b)),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x259e4f))],_0x531b37);let _0x4ce514=class extends _0x531b37{constructor(_0x337163,_0x2a440a,_0x3594e2,_0x17176c,_0x18fa5e,_0x12e609,_0x2f9725,_0xfab856,_0x49a892,_0x42de48,_0x54745d,_0x574d01,_0x4dcb5a,_0x3c3a3d){const _0x26ca63=_0x2f9c02;super(_0x337163,_0x3594e2,_0x2a440a,_0x17176c,_0x18fa5e,_0x12e609,_0x2f9725,_0xfab856,_0x49a892,_0x42de48,_0x54745d,_0x574d01,_0x4dcb5a,_0x3c3a3d),this[_0x26ca63(0x264)]=_0x337163,this[_0x26ca63(0x29a)]=_0x2a440a,_0x17e69d(this,'_handlerCallback',null);}[_0x2f9c02(0x184)](_0x2bcb46){const _0x22b0bb=_0x2f9c02;this[_0x22b0bb(0x23f)]=_0x2bcb46;}[_0x2f9c02(0x4a5)](){const _0x3ee378=_0x2f9c02;this[_0x3ee378(0x23f)]=null,super[_0x3ee378(0x4a5)]();}[_0x2f9c02(0x4df)](){const _0x4d9fb0=_0x2f9c02;let _0x496441=super[_0x4d9fb0(0x4df)]();return _0x496441['onTransformIME']=_0x1599be=>{const _0x181ed5=_0x4d9fb0;var _0x41da14,_0x4fdc26;return(_0x41da14=this[_0x181ed5(0x23f)])==null||(_0x4fdc26=_0x41da14['onTransformIME'])==null?void 0x0:_0x4fdc26[_0x181ed5(0x18a)](_0x41da14,_0x1599be);},_0x496441['onTransformState']=_0x18a7ba=>{const _0x3119dc=_0x4d9fb0;var _0x4b9cda,_0xf74e40;return(_0x4b9cda=this['_handlerCallback'])==null||(_0xf74e40=_0x4b9cda[_0x3119dc(0x1e8)])==null?void 0x0:_0xf74e40[_0x3119dc(0x18a)](_0x4b9cda,_0x18a7ba);},_0x496441[_0x4d9fb0(0x295)]=_0x7caa9b=>{const _0x2a2b26=_0x4d9fb0;var _0x58f890,_0x17e5e8;return(_0x58f890=this[_0x2a2b26(0x23f)])==null||(_0x17e5e8=_0x58f890[_0x2a2b26(0x295)])==null?void 0x0:_0x17e5e8[_0x2a2b26(0x18a)](_0x58f890,_0x7caa9b);},_0x496441[_0x4d9fb0(0x42a)]=_0x444ff4=>{const _0x585b9e=_0x4d9fb0;var _0x24476b,_0x346691;return(_0x24476b=this[_0x585b9e(0x23f)])==null||(_0x346691=_0x24476b['onSyncEditingCollabCursor'])==null?void 0x0:_0x346691['call'](_0x24476b,_0x444ff4);},_0x496441['onTransformRemoteChangesetByIMECache']=_0x321e86=>{const _0x2567ef=_0x4d9fb0;var _0x4ca05a,_0x228b7f,_0x2d7aa3;if(!((_0x4ca05a=this[_0x2567ef(0x23f)])!=null&&_0x4ca05a[_0x2567ef(0x39e)]))throw Error(_0x2567ef(0x3f5));return(_0x228b7f=this[_0x2567ef(0x23f)])==null||(_0x2d7aa3=_0x228b7f[_0x2567ef(0x39e)])==null?void 0x0:_0x2d7aa3[_0x2567ef(0x18a)](_0x228b7f,_0x321e86);},_0x496441[_0x4d9fb0(0x193)]=_0x2b7cd3=>{const _0x3aa369=_0x4d9fb0;var _0x51c3d9,_0x771e48,_0x250309;if(!((_0x51c3d9=this['_handlerCallback'])!=null&&_0x51c3d9[_0x3aa369(0x193)]))throw Error(_0x3aa369(0x462));return(_0x771e48=this['_handlerCallback'])==null||(_0x250309=_0x771e48['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x250309[_0x3aa369(0x18a)](_0x771e48,_0x2b7cd3);},_0x496441;}async['_init'](){const _0x1c53f1=_0x2f9c02;let _0x4b3cf8=await super['_init']();return this[_0x1c53f1(0x345)](this[_0x1c53f1(0x1bc)][_0x1c53f1(0x37e)]((_0x2e52bf,_0x325757)=>{const _0x59bbec=_0x1c53f1;if(_0x2e52bf[_0x59bbec(0x29a)]!==_0x4fa1c7[_0x59bbec(0x478)][_0x59bbec(0x527)]||_0x325757!=null&&_0x325757[_0x59bbec(0x42c)]||_0x325757!=null&&_0x325757[_0x59bbec(0x2ee)]||_0x2e52bf['id']===_0x5ed934[_0x59bbec(0x1ac)]['id'])return;let _0x3cfdd9=_0x2e52bf[_0x59bbec(0x433)];if((_0x3cfdd9==null?void 0x0:_0x3cfdd9[_0x59bbec(0x2a9)])!==this['unitID'])return;let _0x1516e9=_0x2e52bf,_0x45b7f0=this[_0x59bbec(0x226)][_0x59bbec(0x524)][_0x59bbec(0x3a4)](this[_0x59bbec(0x226)]['interceptor'][_0x59bbec(0x36e)]()['COMPRESS_MUTATION_SEND'])([_0x1516e9],this['_univerInstanceService'])||[_0x1516e9];this['_onLocalMutation'](_0x45b7f0[0x0]);})),_0x4b3cf8;}};_0x4ce514=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x416)])),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x3ae)])),_0x4bc410(0x7,(0x0,_0x4fa1c7['Inject'])(_0x1619bd)),_0x4bc410(0x8,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x9,_0x4fa1c7['ILogService']),_0x4bc410(0xa,_0x4fa1c7['ICommandService']),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0xc,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x12f31b)),_0x4bc410(0xd,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x4ce514);let _0x355a72=class extends _0x531b37{constructor(_0xe3732,_0x58ef79,_0x2b5a94,_0x4c9326,_0x28fe11,_0x585e7f,_0x1ff235,_0x4dea6b,_0x2fe6f3,_0x151583,_0x9c95d2,_0x282253,_0x5e3d1c,_0x13c6f0,_0xa6bd21){const _0x491149=_0x2f9c02;super(_0xe3732,_0x2b5a94,_0x58ef79,_0x4c9326,_0x28fe11,_0x585e7f,_0x1ff235,_0x2fe6f3,_0x151583,_0x9c95d2,_0x282253,_0x5e3d1c,_0x13c6f0,_0xa6bd21),this[_0x491149(0x264)]=_0xe3732,this[_0x491149(0x29a)]=_0x58ef79,this[_0x491149(0x207)]=_0x4dea6b;}['_createHandler'](){const _0x16e8dc=_0x2f9c02;let _0x3639fd=super['_createHandler']();return _0x3639fd[_0x16e8dc(0x295)]=_0x1bfd74=>this['_sheetTransformSelectionsService'][_0x16e8dc(0x1a1)](_0x1bfd74),_0x3639fd;}async[_0x2f9c02(0x33f)](){const _0x430042=_0x2f9c02;let _0x2479f7=await super['_init']();return this[_0x430042(0x345)](this[_0x430042(0x1bc)][_0x430042(0x37e)]((_0x2324a1,_0x3d80a5)=>{const _0xea85f8=_0x430042;if(_0x2324a1[_0xea85f8(0x29a)]!==_0x4fa1c7[_0xea85f8(0x478)][_0xea85f8(0x527)]||_0x3d80a5!=null&&_0x3d80a5[_0xea85f8(0x42c)]||_0x3d80a5!=null&&_0x3d80a5['onlyLocal'])return;let _0x4d12e0=_0x2324a1['params'];if((_0x4d12e0==null?void 0x0:_0x4d12e0[_0xea85f8(0x2a9)])!==this[_0xea85f8(0x264)])return;let _0x46072c=_0x2324a1,_0x11d9ae=this['_compressMutationService'][_0xea85f8(0x524)][_0xea85f8(0x3a4)](this[_0xea85f8(0x226)][_0xea85f8(0x524)][_0xea85f8(0x36e)]()[_0xea85f8(0x2bf)])([_0x46072c],this[_0xea85f8(0x450)])||[_0x46072c];this[_0xea85f8(0x534)](_0x11d9ae[0x0]);})),_0x2479f7;}};_0x355a72=_0x230514([_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x416)])),_0x4bc410(0x5,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x436)])),_0x4bc410(0x6,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad['RevisionService'])),_0x4bc410(0x7,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1de656)),_0x4bc410(0x8,(0x0,_0x4fa1c7['Inject'])(_0x1619bd)),_0x4bc410(0x9,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0xa,_0x4fa1c7['ILogService']),_0x4bc410(0xb,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0xc,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0xd,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x12f31b)),_0x4bc410(0xe,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x355a72);let _0x25bbcd=(0x0,_0x4fa1c7['createIdentifier'])('univer-pro.collaboration-client.network-condition.service');function _0x48e6d7(_0x5c5f30){const _0x35cedb=_0x2f9c02;let _0x21c411=_0x5c5f30[_0x35cedb(0x275)],_0x57dc82=JSON[_0x35cedb(0x1cb)](_0x21c411);switch(_0x57dc82['cmd']){case _0x35b3d8['HEARTBEAT']:case _0x35b3d8[_0x35cedb(0x489)]:{let _0x1aa577=_0x57dc82['infoRsp'];return{..._0x57dc82,'data':_0x1aa577,'cmd':_0x57dc82['cmd']};}case _0x35b3d8['JOIN']:{let _0x2a9653=_0x57dc82['joinRsp'];return{..._0x57dc82,'data':_0x2a9653,'cmd':_0x57dc82[_0x35cedb(0x1da)]};}case _0x35b3d8[_0x35cedb(0x437)]:{let _0x28f788=_0x57dc82['collaMsg'];switch(_0x28f788['eventID']){case _0x4a1cad['CollaborationEvent'][_0x35cedb(0x380)]:var _0x2b7fbc;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x2b7fbc=_0x28f788[_0x35cedb(0x1bd)])==null?void 0x0:_0x2b7fbc['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x2e3)]:var _0x300de9;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x300de9=_0x28f788[_0x35cedb(0x444)])==null?void 0x0:_0x300de9['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x2cc)]:var _0x3d99f7;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x3d99f7=_0x28f788[_0x35cedb(0x500)])==null?void 0x0:_0x3d99f7['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x45b)]:var _0x3c35c8;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x3c35c8=_0x28f788[_0x35cedb(0x344)])==null?void 0x0:_0x3c35c8['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x514)]:var _0x2e171b;return{..._0x57dc82,'data':{..._0x28f788,'data':(_0x2e171b=_0x28f788[_0x35cedb(0x49e)])==null?void 0x0:_0x2e171b['cs']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x472)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x2a1)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad['CollaborationEvent'][_0x35cedb(0x511)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x3cb)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x42b)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['leaveEvent']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x47d)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['liveShareNewHost']},'cmd':_0x57dc82['cmd']};case _0x4a1cad[_0x35cedb(0x31f)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x4ff)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['liveShareOperation']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x232)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x30b)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)]['MSG_FOR_ERROR']:return{..._0x57dc82,'data':_0x28f788,'cmd':_0x57dc82['cmd']};case _0x4a1cad[_0x35cedb(0x31f)]['COMMENT_UPDATE']:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['commentUpdateEvent']},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)]['UPDATE_PERMISSION_OBJ']:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x266)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};case _0x4a1cad[_0x35cedb(0x31f)][_0x35cedb(0x35f)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788['shouldCloseConn']},'cmd':_0x57dc82['cmd']};case _0x4a1cad['CollaborationEvent'][_0x35cedb(0x3a8)]:return{..._0x57dc82,'data':{..._0x28f788,'data':_0x28f788[_0x35cedb(0x4d3)]},'cmd':_0x57dc82[_0x35cedb(0x1da)]};default:return _0x57dc82;}}default:return _0x57dc82;}}function _0x247af3(_0x8edb6f){const _0x525260=_0x2f9c02;switch(_0x8edb6f[_0x525260(0x1da)]){case _0x35b3d8['HEARTBEAT']:case _0x35b3d8[_0x525260(0x489)]:return JSON[_0x525260(0x38a)]({'cmd':_0x8edb6f['cmd'],'routeKey':_0x8edb6f['routeKey']});case _0x35b3d8['INGEST']:{let _0x4fbcad;switch(_0x8edb6f[_0x525260(0x275)][_0x525260(0x509)]){case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x472)]:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x472)],'updateCursorEvent':_0x8edb6f[_0x525260(0x275)]['data']};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x42b)]:_0x4fbcad={'eventID':_0x4a1cad['CollaborationEvent'][_0x525260(0x42b)],'leaveEvent':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x511)]:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x511)],'joinEvent':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x47d)]:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x47d)],'liveShareNewHost':_0x8edb6f['data'][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)]['LIVESHARE_OPERATION']:_0x4fbcad={'eventID':_0x4a1cad['CollaborationEvent'][_0x525260(0x4ff)],'liveShareOperation':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)][_0x525260(0x232)]:_0x4fbcad={'eventID':_0x4a1cad['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x8edb6f[_0x525260(0x275)][_0x525260(0x275)]};break;case _0x4a1cad['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)][_0x525260(0x412)],'liveShareRequestHost':_0x8edb6f['data'][_0x525260(0x275)]};break;case _0x4a1cad[_0x525260(0x31f)]['LIVESHARE_FETCH_OPERATIONS']:_0x4fbcad={'eventID':_0x4a1cad[_0x525260(0x31f)]['LIVESHARE_FETCH_OPERATIONS']};break;default:_0x4fbcad={'eventID':_0x8edb6f['data'][_0x525260(0x509)]};}return JSON[_0x525260(0x38a)]({'cmd':_0x8edb6f[_0x525260(0x1da)],'routeKey':_0x8edb6f[_0x525260(0x20d)],'collaMsg':_0x4fbcad});}case _0x35b3d8['JOIN']:return JSON[_0x525260(0x38a)]({'cmd':_0x8edb6f[_0x525260(0x1da)],'routeKey':_0x8edb6f[_0x525260(0x20d)],'joinReq':_0x8edb6f[_0x525260(0x275)]});case _0x35b3d8[_0x525260(0x221)]:return JSON['stringify']({'cmd':_0x8edb6f[_0x525260(0x1da)],'routeKey':_0x8edb6f[_0x525260(0x20d)],'leaveReq':_0x8edb6f['data']});default:throw Error(_0x525260(0x3cf));}}let _0x268137=(0x0,_0x4fa1c7[_0x2f9c02(0x41b)])(_0x2f9c02(0x267));function _0x3f82f9(_0x1acfc4,_0x3f7b01,_0x5f28ee){const _0x79a229=_0x2f9c02;return _0x1acfc4+'/'+_0x3f7b01+'/unit/'+_0x5f28ee+_0x79a229(0x1dc);}let _0x3a12ab=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x571b9c,_0x4cd75c,_0x18c289,_0x586ee3,_0x5986b8){const _0x403e31=_0x2f9c02;super(),this[_0x403e31(0x427)]=_0x571b9c,this[_0x403e31(0x48d)]=_0x4cd75c,this[_0x403e31(0x280)]=_0x18c289,this[_0x403e31(0x22c)]=_0x586ee3,this[_0x403e31(0x366)]=_0x5986b8;}[_0x2f9c02(0x2d1)](_0x318701){const _0x1a0bee=_0x2f9c02;let _0x8ce13e=this['_injector'][_0x1a0bee(0x1df)](_0x4ba8c3[_0x1a0bee(0x4e2)]);if(!_0x8ce13e)throw Error(_0x1a0bee(0x220));let _0xed0814=_0x8ce13e[_0x1a0bee(0x307)](_0x318701);if(!_0xed0814)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x2191a8=new _0x4fa1c7[(_0x1a0bee(0x1b0))](),_0x28616e=new _0x431df8[(_0x1a0bee(0x43c))]();_0x2191a8[_0x1a0bee(0x2ca)](_0xed0814[_0x1a0bee(0x223)]['subscribe'](_0x34f192=>_0x28616e[_0x1a0bee(0x4d6)](_0x34f192))),_0x2191a8[_0x1a0bee(0x2ca)]((0x0,_0x4fa1c7[_0x1a0bee(0x2eb)])(()=>_0x28616e[_0x1a0bee(0x2a3)]()));let _0x5bda81=new _0x431df8[(_0x1a0bee(0x43c))]();_0x2191a8['add'](_0xed0814['error$'][_0x1a0bee(0x47f)](_0x25eb4a=>_0x5bda81[_0x1a0bee(0x4d6)](_0x25eb4a))),_0x2191a8[_0x1a0bee(0x2ca)]((0x0,_0x4fa1c7[_0x1a0bee(0x2eb)])(()=>_0x5bda81[_0x1a0bee(0x2a3)]()));let _0x3adeb1=new _0x431df8[(_0x1a0bee(0x43c))]();_0x2191a8[_0x1a0bee(0x2ca)](_0xed0814[_0x1a0bee(0x32f)][_0x1a0bee(0x47f)](_0x1f0a81=>{let _0x441bd9=_0x48e6d7(_0x1f0a81);_0x3adeb1['next'](_0x441bd9);})),_0x2191a8[_0x1a0bee(0x2ca)]((0x0,_0x4fa1c7['toDisposable'])(()=>_0x3adeb1['complete']()));let _0xc7206e,_0x2dbfef=()=>{const _0x42b5f6=_0x1a0bee;_0x5bda81[_0x42b5f6(0x4d6)](new Event('connection\x20error')),_0x28616e[_0x42b5f6(0x4d6)](new Event(_0x42b5f6(0x250))),_0xc7206e[_0x42b5f6(0x33d)]();};return _0xc7206e={'memberID':'','close$':_0x28616e['asObservable'](),'error$':_0x5bda81[_0x1a0bee(0x3a3)](),'open$':_0xed0814[_0x1a0bee(0x4ee)],'message$':_0x3adeb1[_0x1a0bee(0x3a3)](),'send':_0x12b898=>{const _0x3ad342=_0x1a0bee;if(_0x12b898[_0x3ad342(0x1da)]===_0x35b3d8[_0x3ad342(0x316)]){if(_0x12b898[_0x3ad342(0x275)][_0x3ad342(0x509)]===_0x4a1cad[_0x3ad342(0x31f)][_0x3ad342(0x3a5)]){this['_submitChangeset'](_0xc7206e,_0x12b898[_0x3ad342(0x275)])[_0x3ad342(0x1f8)](_0x4e7470=>{const _0x5b644f=_0x3ad342;this[_0x5b644f(0x22c)][_0x5b644f(0x2c3)](_0x4e7470),_0x2dbfef();});return;}if(_0x12b898['data'][_0x3ad342(0x509)]===_0x4a1cad[_0x3ad342(0x31f)]['FETCH_MISSING']){let _0xb53ff4=_0x12b898[_0x3ad342(0x275)];this['_fetchMissChangesets'](_0xb53ff4)[_0x3ad342(0x2af)](_0x18e046=>{const _0x553426=_0x3ad342;_0x3adeb1['next']({'cmd':_0x35b3d8[_0x553426(0x437)],'code':_0x2a47fe['OK'],'routeKey':_0xb53ff4['data'][_0x553426(0x264)],'routeType':'','data':{'eventID':_0x4a1cad['CollaborationEvent'][_0x553426(0x3ca)],'data':{'changesets':_0x18e046}}});})['catch'](_0xca09d7=>{const _0x37a833=_0x3ad342;this['_logService'][_0x37a833(0x2c3)](_0xca09d7),_0x2dbfef();});return;}}_0xed0814['send'](_0x247af3(_0x12b898));},'close':()=>{const _0x11794c=_0x1a0bee;_0xed0814[_0x11794c(0x33d)](),_0x2191a8[_0x11794c(0x4a5)]();}},_0xc7206e;}async['_submitChangeset'](_0x5ed026,_0x3f73e3){const _0xb8db64=_0x2f9c02;var _0x1713f5;let {unitType:_0x24ee06,unitID:_0x8718fd,changeset:_0x4594cc}=_0x3f73e3[_0xb8db64(0x275)],_0x391022={'unitID':_0x8718fd,'memberID':_0x5ed026['memberID'],'type':_0x24ee06,'changeset':(0x0,_0x4a1cad['parseChangesetToProtocol'])(_0x4594cc)},_0x33747f=this[_0xb8db64(0x280)][_0xb8db64(0x21e)](_0x1f2256),_0x4563c9=_0x3f82f9((_0x1713f5=_0x33747f==null?void 0x0:_0x33747f[_0xb8db64(0x187)])==null?'/universer-api/comb':_0x1713f5,_0x24ee06,_0x8718fd);try{await this['_httpService'][_0xb8db64(0x340)](_0x4563c9,{'body':_0x391022});}catch(_0xf47064){throw this['_logService'][_0xb8db64(0x2c3)]('[CollaborationSession]',_0xb8db64(0x482)),_0xf47064;}}async[_0x2f9c02(0x2bb)](_0x1cd14a){const _0x3e19ec=_0x2f9c02;let {unitID:_0x88f1b4,from:_0x558167,to:_0x57d05a,unitType:_0x18043e}=_0x1cd14a[_0x3e19ec(0x275)];return(await this[_0x3e19ec(0x366)][_0x3e19ec(0x354)]({'metadata':void 0x0},{'unitID':_0x88f1b4,'type':_0x18043e,'from':_0x558167,'to':_0x57d05a}))[_0x3e19ec(0x1c8)][_0x3e19ec(0x1e4)](_0x1b94e5=>((_0x1b94e5[_0x3e19ec(0x494)]===null||_0x1b94e5['mutations']===void 0x0)&&(_0x1b94e5[_0x3e19ec(0x494)]=[]),_0x1b94e5));}};_0x3a12ab=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3[_0x2f9c02(0x2c9)])),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x3,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x4,_0x4a1cad[_0x2f9c02(0x3fa)])],_0x3a12ab);let _0x163223=class extends _0x4fa1c7[_0x2f9c02(0x406)]{get[_0x2f9c02(0x271)](){const _0x35b7b0=_0x2f9c02;return this[_0x35b7b0(0x350)][_0x35b7b0(0x2ce)]();}constructor(_0x3d4229,_0xdcbe95,_0x58ac83,_0x2fda81,_0x418741,_0x410a93){const _0x28579f=_0x2f9c02;super(),this[_0x28579f(0x427)]=_0x3d4229,this[_0x28579f(0x22c)]=_0xdcbe95,this[_0x28579f(0x280)]=_0x58ac83,this[_0x28579f(0x38c)]=_0x2fda81,this[_0x28579f(0x298)]=_0x418741,this['_networkConditionService']=_0x410a93,_0x17e69d(this,_0x28579f(0x350),new _0x431df8[(_0x28579f(0x346))](void 0x0)),_0x17e69d(this,_0x28579f(0x525),this['_socket$'][_0x28579f(0x3a3)]()),_0x17e69d(this,_0x28579f(0x4d2),null),_0x17e69d(this,_0x28579f(0x2b9),new Map()),_0x17e69d(this,_0x28579f(0x394),new _0x431df8[(_0x28579f(0x346))](_0x1b3cf0[_0x28579f(0x343)])),_0x17e69d(this,_0x28579f(0x51e),this[_0x28579f(0x394)][_0x28579f(0x3a3)]()),_0x17e69d(this,_0x28579f(0x229),!0x1),_0x17e69d(this,_0x28579f(0x3b3),void 0x0),_0x17e69d(this,_0x28579f(0x3f6),0x0),_0x17e69d(this,_0x28579f(0x324),void 0x0),_0x17e69d(this,_0x28579f(0x24e),void 0x0),this[_0x28579f(0x41f)]();}[_0x2f9c02(0x41f)](){const _0x23eaad=_0x2f9c02;this['_networkConditionService']&&this['disposeWithMe'](this[_0x23eaad(0x513)][_0x23eaad(0x328)][_0x23eaad(0x47f)](_0x262fe4=>{const _0x28203f=_0x23eaad;_0x262fe4&&!this[_0x28203f(0x271)]&&this[_0x28203f(0x1b7)](),_0x262fe4||this[_0x28203f(0x3d7)]();}));}[_0x2f9c02(0x4a5)](){const _0x55ef0c=_0x2f9c02;super['dispose'](),this[_0x55ef0c(0x19a)](),this['_clearTimeoutTimer'](),this[_0x55ef0c(0x3d2)](),this['_sessions'][_0x55ef0c(0x401)](_0x468f7a=>_0x468f7a[_0x55ef0c(0x4a5)]()),this['_sessions'][_0x55ef0c(0x2a2)](),this['_status$'][_0x55ef0c(0x2a3)]();}async['requireSession'](_0x540bb5){const _0x1b0cc2=_0x2f9c02;if(this[_0x1b0cc2(0x2b9)][_0x1b0cc2(0x3d0)](_0x540bb5))return this['_sessions'][_0x1b0cc2(0x1df)](_0x540bb5);this[_0x1b0cc2(0x38d)]();let _0x356b39=this[_0x1b0cc2(0x427)][_0x1b0cc2(0x1ad)](_0x49ff16,_0x540bb5,this['_socket$'][_0x1b0cc2(0x3a3)]());return this['_sessions'][_0x1b0cc2(0x2c0)](_0x540bb5,_0x356b39),_0x356b39;}['closeSession'](_0x368cd4){const _0x52be11=_0x2f9c02;let _0x1e7c11=this['_sessions']['get'](_0x368cd4);if(_0x1e7c11&&(this[_0x52be11(0x2b9)][_0x52be11(0x2dd)](_0x368cd4),_0x1e7c11[_0x52be11(0x33d)]()),!this['_sessions'][_0x52be11(0x373)]){var _0x410577;(_0x410577=this[_0x52be11(0x271)])==null||_0x410577[_0x52be11(0x33d)]();}}[_0x2f9c02(0x1b7)](){const _0x40756c=_0x2f9c02;this[_0x40756c(0x3f6)]=0x0,this[_0x40756c(0x19a)](),this['_tryReconnect']();}[_0x2f9c02(0x19a)](){const _0x4c8233=_0x2f9c02;this[_0x4c8233(0x3b3)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4c8233(0x3b3)]=null);}async[_0x2f9c02(0x2d2)](){const _0x24e4ab=_0x2f9c02;var _0x4b6033;let _0x486eee=this[_0x24e4ab(0x280)]['getConfig'](_0x1f2256),_0x48963d=(_0x4b6033=_0x486eee==null?void 0x0:_0x486eee[_0x24e4ab(0x52b)])==null?_0x4b06c5:_0x4b6033,_0x7876ff=await this[_0x24e4ab(0x38c)][_0x24e4ab(0x307)](_0x48963d);return this[_0x24e4ab(0x4d2)]=_0x7876ff,_0x7876ff;}async[_0x2f9c02(0x38d)](){const _0x185af2=_0x2f9c02;try{var _0x406dab,_0x511715;let _0x18695f=(_0x406dab=(_0x511715=this[_0x185af2(0x271)])==null?this[_0x185af2(0x4d2)]:_0x511715)==null?await this['_createSocket']():_0x406dab;if(_0x18695f){let _0x1ddf91=_0x18695f[_0x185af2(0x419)];_0x18695f['send']=_0x5200c0=>(_0x5200c0['cmd']!==_0x35b3d8['LEAVE']&&this['_rescheduleHeartbeat'](),_0x1ddf91['apply'](_0x18695f,[_0x5200c0])),_0x18695f['message$'][_0x185af2(0x47f)](_0x75e67a=>this[_0x185af2(0x467)](_0x18695f,_0x75e67a)),_0x18695f[_0x185af2(0x289)][_0x185af2(0x2a4)]((0x0,_0x3bb026[_0x185af2(0x3c2)])(0x1))[_0x185af2(0x47f)](_0x490f47=>this[_0x185af2(0x22c)][_0x185af2(0x2c3)](_0x185af2(0x400),_0x490f47)),_0x18695f[_0x185af2(0x4ee)]['pipe']((0x0,_0x3bb026[_0x185af2(0x3c2)])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x18695f);}),_0x18695f[_0x185af2(0x223)]['pipe']((0x0,_0x3bb026[_0x185af2(0x3c2)])(0x1))[_0x185af2(0x47f)](_0x115f07=>{const _0x35aadb=_0x185af2;this[_0x35aadb(0x22c)][_0x35aadb(0x2cf)](_0x35aadb(0x293),_0x35aadb(0x259),_0x115f07),this[_0x35aadb(0x2b7)]();});}}catch(_0x23ff7f){this[_0x185af2(0x22c)][_0x185af2(0x2c3)](_0x23ff7f),this[_0x185af2(0x2b7)]();}}[_0x2f9c02(0x34b)](_0xdba4c4){const _0x2c3502=_0x2f9c02;this[_0x2c3502(0x22c)][_0x2c3502(0x2cf)](_0x2c3502(0x293),_0x2c3502(0x3d8)),_0xdba4c4[_0x2c3502(0x419)]({'cmd':_0x35b3d8[_0x2c3502(0x489)]}),this[_0x2c3502(0x46f)]();}['_onOffline'](){const _0x170c5f=_0x2f9c02;this[_0x170c5f(0x229)]=!0x1,this[_0x170c5f(0x4d2)]=null,this['_status$']['next'](_0x1b3cf0['OFFLINE']),this[_0x170c5f(0x350)][_0x170c5f(0x4d6)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x2f9c02(0x2b7)](){const _0x345668=_0x2f9c02;var _0xafc1d8;this[_0x345668(0x3d7)](),this[_0x345668(0x3f6)]<((_0xafc1d8=this['_configService'][_0x345668(0x21e)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0xafc1d8)?(this[_0x345668(0x298)]['emitEvent']({'id':_0x1ef886[_0x345668(0x2d4)]}),this[_0x345668(0x362)]()):this[_0x345668(0x298)][_0x345668(0x2e5)]({'id':_0x1ef886['SOCKET_FAILED']});}[_0x2f9c02(0x362)](){const _0x48966a=_0x2f9c02;var _0x24c6a5;let _0x3e46c2=this['_retryCount'],_0x56dfba=this[_0x48966a(0x280)][_0x48966a(0x21e)](_0x1f2256),_0x44d954=_0x3e46c2===0x0?0x0:((_0x24c6a5=_0x56dfba==null?void 0x0:_0x56dfba[_0x48966a(0x448)])==null?0x4e20:_0x24c6a5)*0x2**_0x3e46c2;this[_0x48966a(0x3b3)]=setTimeout(()=>{const _0x2c267d=_0x48966a;clearTimeout(this[_0x2c267d(0x3b3)]),this['_retryConnectingTimer']=null,this[_0x2c267d(0x38d)]();},_0x44d954),this[_0x48966a(0x3f6)]+=0x1;}[_0x2f9c02(0x467)](_0x4bdf71,_0x37c259){const _0x1d757a=_0x2f9c02;let {cmd:_0x3adc28}=_0x37c259;_0x3adc28===_0x35b3d8[_0x1d757a(0x489)]&&!this['_socketReady']&&(_0x4bdf71[_0x1d757a(0x33c)]=_0x37c259[_0x1d757a(0x275)][_0x1d757a(0x33c)],this[_0x1d757a(0x350)][_0x1d757a(0x4d6)](_0x4bdf71),this[_0x1d757a(0x394)][_0x1d757a(0x4d6)](_0x1b3cf0[_0x1d757a(0x1c7)]),this[_0x1d757a(0x229)]=!0x0,this['_candidateSocket']=null),_0x3adc28===_0x35b3d8['HEARTBEAT']&&this[_0x1d757a(0x349)](),this[_0x1d757a(0x46f)]();}[_0x2f9c02(0x46f)](){const _0x4f6106=_0x2f9c02;var _0x3780d6;this[_0x4f6106(0x3d2)](),this[_0x4f6106(0x324)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3780d6=this[_0x4f6106(0x280)]['getConfig'](_0x4f6106(0x526)))==null?0x7530:_0x3780d6);}[_0x2f9c02(0x46c)](){const _0x208064=_0x2f9c02;this['_socket']['send']({'cmd':_0x35b3d8[_0x208064(0x4d1)]}),this['_waitForHeartbeatResponse']();}[_0x2f9c02(0x533)](){const _0x468d54=_0x2f9c02;var _0x2ccbeb;this['_timeoutTimer']=setTimeout(()=>this[_0x468d54(0x2b7)](),(_0x2ccbeb=this[_0x468d54(0x280)][_0x468d54(0x21e)](_0x468d54(0x23e)))==null?_0x2877b3:_0x2ccbeb);}[_0x2f9c02(0x3d2)](){const _0x18c64e=_0x2f9c02;this[_0x18c64e(0x324)]!=null&&(clearTimeout(this[_0x18c64e(0x324)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x48fc21=_0x2f9c02;this[_0x48fc21(0x24e)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x48fc21(0x24e)]=null);}};_0x163223=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7['Inject'])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x3,_0x268137),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd)),_0x4bc410(0x5,(0x0,_0x4fa1c7[_0x2f9c02(0x476)])(_0x25bbcd))],_0x163223);let _0x7bd804=class extends _0x4fa1c7['RxDisposable']{constructor(_0x1f7f90,_0x5b4608,_0x5773b4,_0x15035b){const _0x4aeb4b=_0x2f9c02;var _0x558aa7;super(),this[_0x4aeb4b(0x427)]=_0x1f7f90,this[_0x4aeb4b(0x30f)]=_0x5b4608,this['_configService']=_0x5773b4,this[_0x4aeb4b(0x450)]=_0x15035b,_0x17e69d(this,'_entities',new Map()),_0x17e69d(this,_0x4aeb4b(0x456),new _0x431df8[(_0x4aeb4b(0x43c))]()),_0x17e69d(this,_0x4aeb4b(0x247),this['_entityInit$'][_0x4aeb4b(0x3a3)]()),((_0x558aa7=this[_0x4aeb4b(0x280)]['getConfig'](_0x4aeb4b(0x37f)))==null?void 0x0:_0x558aa7[_0x4aeb4b(0x506)])!==!0x1&&this[_0x4aeb4b(0x33f)]();}[_0x2f9c02(0x4a5)](){const _0x1dd7a4=_0x2f9c02;super[_0x1dd7a4(0x4a5)](),this[_0x1dd7a4(0x2fd)][_0x1dd7a4(0x401)](_0x48a1fc=>_0x48a1fc[_0x1dd7a4(0x4a5)]()),this[_0x1dd7a4(0x2fd)][_0x1dd7a4(0x2a2)]();}[_0x2f9c02(0x188)](_0x55ec83){const _0x48ffdc=_0x2f9c02;var _0x58cd9c;return(_0x58cd9c=this['_entities'][_0x48ffdc(0x1df)](_0x55ec83))==null?null:_0x58cd9c;}['getCollabEntity$'](_0x40a589){const _0x467ac2=_0x2f9c02;let _0x804e86=this[_0x467ac2(0x188)](_0x40a589);return _0x804e86?(0x0,_0x431df8['of'])(_0x804e86):this[_0x467ac2(0x456)][_0x467ac2(0x2a4)]((0x0,_0x3bb026[_0x467ac2(0x423)])(_0x2afffe=>_0x2afffe[_0x467ac2(0x264)]===_0x40a589));}[_0x2f9c02(0x4b4)](_0x1050e8){const _0x4f4bf2=_0x2f9c02;return(0x0,_0x431df8[_0x4f4bf2(0x2ae)])(this[_0x4f4bf2(0x38b)](_0x1050e8)[_0x4f4bf2(0x2a4)]((0x0,_0x3bb026[_0x4f4bf2(0x1e4)])(()=>void 0x0)));}[_0x2f9c02(0x33f)](){const _0x34a0b1=_0x2f9c02;this[_0x34a0b1(0x450)]['getTypeOfUnitAdded$'](_0x4fa1c7[_0x34a0b1(0x319)][_0x34a0b1(0x528)])[_0x34a0b1(0x2a4)]((0x0,_0x431df8[_0x34a0b1(0x182)])(this[_0x34a0b1(0x26e)]),(0x0,_0x3bb026[_0x34a0b1(0x18d)])(0x10))[_0x34a0b1(0x47f)](async _0x5403bf=>{const _0x2ddaae=_0x34a0b1;let _0x4ae5ec=_0x5403bf['getUnitId'](),_0x3f4399=await this[_0x2ddaae(0x3fb)](_0x4ae5ec,_0x139b11['UNIVER_SHEET']);this[_0x2ddaae(0x2fd)]['set'](_0x4ae5ec,_0x3f4399);}),this['_univerInstanceService'][_0x34a0b1(0x415)](_0x4fa1c7['UniverInstanceType'][_0x34a0b1(0x1c3)])[_0x34a0b1(0x2a4)]((0x0,_0x431df8[_0x34a0b1(0x182)])(this[_0x34a0b1(0x26e)]),(0x0,_0x3bb026[_0x34a0b1(0x18d)])(0x10))[_0x34a0b1(0x2a4)]((0x0,_0x3bb026[_0x34a0b1(0x423)])(_0x50e837=>!_0x50e837[_0x34a0b1(0x34d)]()['startsWith']('__')))[_0x34a0b1(0x47f)](async _0x21ac75=>{const _0x2773a8=_0x34a0b1;let _0x2baabe=_0x21ac75[_0x2773a8(0x34d)](),_0x2f9bec=await this[_0x2773a8(0x3fb)](_0x2baabe,_0x139b11['UNIVER_DOC']);this['_entities'][_0x2773a8(0x2c0)](_0x2baabe,_0x2f9bec);}),(0x0,_0x431df8[_0x34a0b1(0x1fd)])(this[_0x34a0b1(0x450)][_0x34a0b1(0x288)](_0x4fa1c7[_0x34a0b1(0x319)][_0x34a0b1(0x528)]),this[_0x34a0b1(0x450)][_0x34a0b1(0x288)](_0x4fa1c7[_0x34a0b1(0x319)]['UNIVER_DOC']))[_0x34a0b1(0x2a4)]((0x0,_0x431df8[_0x34a0b1(0x182)])(this[_0x34a0b1(0x26e)]))[_0x34a0b1(0x47f)](_0x3e2607=>{const _0x2bce17=_0x34a0b1;let _0x5a50c0=_0x3e2607['getUnitId'](),_0x183758=this[_0x2bce17(0x2fd)][_0x2bce17(0x1df)](_0x5a50c0);_0x183758&&(_0x183758[_0x2bce17(0x4a5)](),this[_0x2bce17(0x2fd)]['delete'](_0x5a50c0));});}async[_0x2f9c02(0x3fb)](_0x128642,_0x5e9fef){const _0x4b3b00=_0x2f9c02;let _0xed35b7=await this['_collabSessionService'][_0x4b3b00(0x241)](_0x128642),_0xddef08=this[_0x4b3b00(0x427)][_0x4b3b00(0x1ad)](this['_getCtorByUniverType'](_0x5e9fef),_0x128642,_0x5e9fef,_0xed35b7);return await _0xddef08[_0x4b3b00(0x51f)](),this[_0x4b3b00(0x456)][_0x4b3b00(0x4d6)](_0xddef08),_0xddef08;}[_0x2f9c02(0x255)](_0x5bc560){const _0x153ade=_0x2f9c02;switch(_0x5bc560){case _0x139b11['UNIVER_DOC']:return _0x4ce514;case _0x139b11[_0x153ade(0x528)]:return _0x355a72;default:throw Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5bc560);}}};_0x7bd804=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x163223)),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x3,_0x4fa1c7[_0x2f9c02(0x1fc)])],_0x7bd804);var _0x189a86=_0x2f9c02(0x273),_0x5f3351=_0x2f9c02(0x4c0);let _0x546b3d=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x242ef2,_0xcc54e3){const _0x168166=_0x2f9c02;super(),this[_0x168166(0x450)]=_0x242ef2,this[_0x168166(0x280)]=_0xcc54e3,this[_0x168166(0x33f)]();}[_0x2f9c02(0x33f)](){const _0x49bd55=_0x2f9c02;this[_0x49bd55(0x345)](this['_univerInstanceService']['focused$'][_0x49bd55(0x47f)](()=>{const _0x2b5b73=_0x49bd55;var _0x4ec929;let _0x2d1627=this[_0x2b5b73(0x450)][_0x2b5b73(0x2f5)](),_0x564a46=(_0x4ec929=this[_0x2b5b73(0x280)]['getConfig']('DEFAULT_FILE_NAME'))==null?_0x2b5b73(0x4ac):_0x4ec929;_0x2d1627 instanceof _0x4fa1c7[_0x2b5b73(0x408)]&&(_0x564a46=_0x2d1627[_0x2b5b73(0x519)]),document[_0x2b5b73(0x336)]=_0x564a46;}));}};_0x546b3d=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2bc)])],_0x546b3d);let _0x11cb43=class{constructor(_0x5d2f8e,_0x111515,_0x534ecc){const _0x5a4f0b=_0x2f9c02;this[_0x5a4f0b(0x280)]=_0x5d2f8e,this[_0x5a4f0b(0x48d)]=_0x111515,this['localeService']=_0x534ecc,this['init']();}[_0x2f9c02(0x51f)](){const _0x573c50=_0x2f9c02;this['_httpService'][_0x573c50(0x21c)]({'priority':0x1,'interceptor':(_0x2bb0fb,_0x200407)=>_0x200407(_0x2bb0fb)[_0x573c50(0x2a4)]((0x0,_0x431df8[_0x573c50(0x403)])(async _0x13ec6c=>{const _0x584dfb=_0x573c50;let _0x87aa5d=_0x13ec6c;if(_0x87aa5d['status']===0x191){if(typeof window>'u')throw Error(_0x584dfb(0x37a));if(window[_0x584dfb(0x51a)](this[_0x584dfb(0x281)]['t'](_0x584dfb(0x1b4)))){let _0x42fd72=window[_0x584dfb(0x206)](window[_0x584dfb(0x27b)][_0x584dfb(0x2d0)]);window[_0x584dfb(0x27b)][_0x584dfb(0x2d0)]=this[_0x584dfb(0x1ce)]()+_0x584dfb(0x356)+_0x42fd72;}}return _0x87aa5d;}))});}[_0x2f9c02(0x1ce)](){const _0x4756e9=_0x2f9c02;var _0x71e2f9;let _0xb9fd4d=this[_0x4756e9(0x280)][_0x4756e9(0x21e)](_0x1f2256);return(_0x71e2f9=_0xb9fd4d==null?void 0x0:_0xb9fd4d[_0x4756e9(0x3b9)])==null?_0x4756e9(0x44e):_0x71e2f9;}};_0x11cb43=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3['HTTPService'])),_0x4bc410(0x2,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x436)]))],_0x11cb43);let _0x54b97d=class extends _0x4fa1c7[_0x2f9c02(0x406)]{constructor(_0x1c7f3a,_0x30dc81){const _0x425c6b=_0x2f9c02;super(),this['_HTTPService']=_0x1c7f3a,this[_0x425c6b(0x280)]=_0x30dc81,_0x17e69d(this,_0x425c6b(0x1aa),!0x1),this[_0x425c6b(0x3ec)]();}[_0x2f9c02(0x3ec)](){const _0x419f78=_0x2f9c02;let _0x1161e6=this;this[_0x419f78(0x345)](this['_HTTPService'][_0x419f78(0x21c)]({'priority':0x3e7,'interceptor':(0x0,_0x4ba8c3[_0x419f78(0x485)])({'isMatch'(_0x36772b){const _0x1ef8c8=_0x419f78;var _0x2783fc;if(_0x36772b[_0x1ef8c8(0x1d9)]===_0x1ef8c8(0x396)&&(_0x2783fc=_0x36772b[_0x1ef8c8(0x4e6)])!=null&&_0x2783fc[_0x1ef8c8(0x46e)]){let {objectID:_0x3eebe2,objectType:_0x3c368f}=_0x36772b[_0x1ef8c8(0x4e6)][_0x1ef8c8(0x46e)]||{};if(!_0x3eebe2||_0x3c368f===void 0x0)return!0x1;let _0x38ebd7=_0x1161e6[_0x1ef8c8(0x1b8)]()+'/'+_0x3c368f+'/object/'+_0x3eebe2+_0x1ef8c8(0x2df);if(_0x36772b[_0x1ef8c8(0x260)]===_0x38ebd7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x48ddeb){const _0x2323d8=_0x419f78;var _0x2099fd;return(_0x2099fd=_0x48ddeb['requestParams'])==null?void 0x0:_0x2099fd[_0x2323d8(0x46e)];},'mergeParamsToRequest'(_0x296561,_0xc8c9dd){const _0x140a9b=_0x419f78;let _0x1676c4=_0x1161e6['_getAPIPrefixPath']()+_0x140a9b(0x338),_0x57f4a5=_0x296561[_0x140a9b(0x4bb)]((_0x3533b7,_0x42cbbb)=>{const _0x563467=_0x140a9b;let {unitID:_0x38a3c3,objectID:_0x5a4c62,objectType:_0x4ae244,actions:_0x49d1de}=_0x42cbbb;return _0x3533b7[_0x38a3c3]||(_0x3533b7[_0x38a3c3]={}),_0x3533b7[_0x38a3c3][_0x5a4c62]||(_0x3533b7[_0x38a3c3][_0x5a4c62]={'objectID':_0x5a4c62,'objectType':_0x4ae244,'actions':[]}),_0x3533b7[_0x38a3c3][_0x5a4c62][_0x563467(0x3ad)][_0x563467(0x3a1)](..._0x49d1de),_0x3533b7;},{}),_0x464b98=[];for(let _0x1df324 in _0x57f4a5)for(let _0x3f9422 in _0x57f4a5[_0x1df324]){let {actions:_0x1c94fd,objectType:_0x4798e1}=_0x57f4a5[_0x1df324][_0x3f9422],_0x3f37d6=[...new Set(_0x1c94fd)];_0x464b98[_0x140a9b(0x3a1)]({'unitID':_0x1df324,'objectID':_0x3f9422,'objectType':_0x4798e1,'actions':_0x3f37d6});}return new _0x4ba8c3['HTTPRequest'](_0x140a9b(0x396),_0x1676c4,{'headers':_0xc8c9dd[_0x140a9b(0x283)],'withCredentials':_0xc8c9dd[_0x140a9b(0x483)],'responseType':_0xc8c9dd['responseType'],'body':{'requests':_0x464b98}});}},{'distributeResult'(_0x30e2dd,_0x2b364){const _0x292608=_0x419f78;let {objectActions:_0x14fa59}=_0x30e2dd;return _0x2b364[_0x292608(0x1e4)](_0xad4bc0=>{const _0x492e98=_0x292608;let {unitID:_0x3f372c,objectID:_0xefb728,actions:_0x4dff03}=_0xad4bc0,_0x12b695=_0x14fa59[_0x492e98(0x364)](_0x5cc560=>_0x5cc560[_0x492e98(0x264)]===_0x3f372c&&_0x5cc560[_0x492e98(0x465)]===_0xefb728);return{'config':_0xad4bc0,'result':{'actions':_0x4dff03[_0x492e98(0x1e4)](_0x5ed3d6=>_0x12b695==null?void 0x0:_0x12b695[_0x492e98(0x3ad)][_0x492e98(0x364)](_0x514678=>_0x514678[_0x492e98(0x23c)]===_0x5ed3d6))[_0x492e98(0x423)](_0xd3e879=>!!_0xd3e879),'error':_0x30e2dd[_0x492e98(0x2c3)]}};});}})}));}[_0x2f9c02(0x1b8)](){const _0x5c77ca=_0x2f9c02;var _0x16b400;let _0x223ce4=this[_0x5c77ca(0x280)][_0x5c77ca(0x21e)](_0x1f2256);return(_0x16b400=_0x223ce4==null?void 0x0:_0x223ce4['authzUrl'])==null?_0x5c77ca(0x347):_0x16b400;}async[_0x2f9c02(0x34e)](_0x32f17e){const _0xdd465=_0x2f9c02;let _0x4306ba=this[_0xdd465(0x1b8)]()+'/'+_0x32f17e[_0xdd465(0x1a4)]+'/object';return(await this[_0xdd465(0x35a)][_0xdd465(0x340)](_0x4306ba,{'body':_0x32f17e}))[_0xdd465(0x46e)][_0xdd465(0x465)]||'';}async[_0x2f9c02(0x3b0)](_0x51bbfa){const _0x28301f=_0x2f9c02;let _0x2ac4bb=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x28301f(0x35a)]['post'](_0x2ac4bb,{'body':_0x51bbfa}))['body']['objects'];}async[_0x2f9c02(0x4f0)](_0x2b6b9e){const _0x1abc78=_0x2f9c02;var _0x187487;let _0x2c1f78=this[_0x1abc78(0x1b8)]()+'/'+_0x2b6b9e[_0x1abc78(0x1a4)]+_0x1abc78(0x215)+_0x2b6b9e['objectID'],_0xe1aad2=await this[_0x1abc78(0x35a)][_0x1abc78(0x4e4)](_0x2c1f78,{'body':_0x2b6b9e});if((_0xe1aad2==null||(_0x187487=_0xe1aad2['body'])==null||(_0x187487=_0x187487[_0x1abc78(0x2c3)])==null?void 0x0:_0x187487[_0x1abc78(0x1f7)])!==0x1)throw Error(_0x1abc78(0x43b));}async[_0x2f9c02(0x2c6)](_0x5deabe){const _0x3a8f1a=_0x2f9c02;let _0x3f8bab=this[_0x3a8f1a(0x1b8)]()+'/'+_0x5deabe['objectType']+'/object/'+_0x5deabe['objectID']+_0x3a8f1a(0x2df);return(await this[_0x3a8f1a(0x35a)][_0x3a8f1a(0x340)](_0x3f8bab,{'body':_0x5deabe}))[_0x3a8f1a(0x46e)][_0x3a8f1a(0x3ad)];}async['batchAllowed'](_0x4538c1){const _0x4f88c6=_0x2f9c02;let _0x49f370=this['_getAPIPrefixPath']()+_0x4f88c6(0x338);return(await this[_0x4f88c6(0x35a)][_0x4f88c6(0x340)](_0x49f370,{'body':{'requests':_0x4538c1}}))[_0x4f88c6(0x46e)][_0x4f88c6(0x1e9)];}async[_0x2f9c02(0x48f)](_0x3d9edb){const _0x25eebc=_0x2f9c02;let _0x22df56=this[_0x25eebc(0x1b8)]()+'/'+_0x3d9edb[_0x25eebc(0x1a4)]+'/role',_0xe8676c=await this[_0x25eebc(0x35a)]['post'](_0x22df56,{'body':_0x3d9edb});return{'roles':_0xe8676c[_0x25eebc(0x46e)][_0x25eebc(0x24d)],'actions':_0xe8676c[_0x25eebc(0x46e)]['actions']};}async['deleteCollaborator'](_0x1a3d5c){const _0x4f5f1f=_0x2f9c02;let _0x309f7c=this['_getAPIPrefixPath']()+_0x4f5f1f(0x208);await this[_0x4f5f1f(0x35a)][_0x4f5f1f(0x2dd)](_0x309f7c,{'params':{'collaboratorID':_0x1a3d5c[_0x4f5f1f(0x473)],'objectID':_0x1a3d5c['objectID'],'unitID':_0x1a3d5c[_0x4f5f1f(0x264)]}});}async[_0x2f9c02(0x44f)](_0x5773b3){const _0x2dea8e=_0x2f9c02;let _0x125664=this[_0x2dea8e(0x1b8)]()+_0x2dea8e(0x208);await this[_0x2dea8e(0x35a)][_0x2dea8e(0x222)](_0x125664,{'body':_0x5773b3});}async['createCollaborator'](_0x5d422d){const _0x5908cf=_0x2f9c02;let _0x53e8ed=this[_0x5908cf(0x1b8)]()+'/collaborator';await this[_0x5908cf(0x35a)][_0x5908cf(0x340)](_0x53e8ed,{'body':_0x5d422d});}async[_0x2f9c02(0x302)](_0x45beba){const _0xafa887=_0x2f9c02;var _0x5d64d6;let _0x202eb7=this[_0xafa887(0x1b8)]()+_0xafa887(0x208),_0x3d4266=await this[_0xafa887(0x35a)]['get'](_0x202eb7,{'params':{'objectID':_0x45beba['objectID'],'unitID':_0x45beba[_0xafa887(0x264)]}});return this[_0xafa887(0x3aa)]((_0x5d64d6=_0x3d4266[_0xafa887(0x46e)][_0xafa887(0x352)])==null?!0x1:_0x5d64d6),_0x3d4266[_0xafa887(0x46e)][_0xafa887(0x239)];}async[_0x2f9c02(0x39a)](_0x3fe8c2){const _0x43792e=_0x2f9c02;let _0xb6a067=this[_0x43792e(0x1b8)]()+_0x43792e(0x208);await this[_0x43792e(0x35a)][_0x43792e(0x4e4)](_0xb6a067,{'body':_0x3fe8c2});}['setCfgEnableObjInherit'](_0x2ec6b1){this['_cfgEnableObjInherit']=_0x2ec6b1;}[_0x2f9c02(0x4a9)](){const _0x1bca03=_0x2f9c02;return this[_0x1bca03(0x1aa)];}};_0x54b97d=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7['Inject'])(_0x4ba8c3[_0x2f9c02(0x2c9)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7['IConfigService']))],_0x54b97d);var _0x2a3f05=_0x3712b0(()=>{}),_0x13f9ca=_0x3712b0((_0x1fb7ab,_0x5aae82)=>{(function(_0x1281e9,_0x468591){const _0x2bb218=_0x50be;typeof _0x1fb7ab=='object'?_0x5aae82[_0x2bb218(0x50d)]=_0x1fb7ab=_0x468591():typeof define==_0x2bb218(0x329)&&define['amd']?define([],_0x468591):_0x1281e9['CryptoJS']=_0x468591();}(_0x1fb7ab,function(){var _0x15340b=_0x15340b||function(_0x3d8d67,_0x22cf92){const _0x3250be=_0x50be;var _0x2cfaca;if(typeof window<'u'&&window[_0x3250be(0x230)]&&(_0x2cfaca=window['crypto']),typeof self<'u'&&self[_0x3250be(0x230)]&&(_0x2cfaca=self[_0x3250be(0x230)]),typeof globalThis<'u'&&globalThis[_0x3250be(0x230)]&&(_0x2cfaca=globalThis[_0x3250be(0x230)]),!_0x2cfaca&&typeof window<'u'&&window[_0x3250be(0x330)]&&(_0x2cfaca=window['msCrypto']),!_0x2cfaca&&typeof global<'u'&&global[_0x3250be(0x230)]&&(_0x2cfaca=global[_0x3250be(0x230)]),!_0x2cfaca&&typeof require==_0x3250be(0x329))try{_0x2cfaca=_0x2a3f05();}catch{}var _0x2f535a=function(){const _0x148e4e=_0x3250be;if(_0x2cfaca){if(typeof _0x2cfaca[_0x148e4e(0x42d)]==_0x148e4e(0x329))try{return _0x2cfaca[_0x148e4e(0x42d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2cfaca['randomBytes']==_0x148e4e(0x329))try{return _0x2cfaca[_0x148e4e(0x2f9)](0x4)[_0x148e4e(0x3e0)]();}catch{}}throw Error(_0x148e4e(0x310));},_0x127121=Object[_0x3250be(0x34e)]||(function(){function _0x18f307(){}return function(_0x2163d3){var _0xe3fd6;return _0x18f307['prototype']=_0x2163d3,_0xe3fd6=new _0x18f307(),_0x18f307['prototype']=null,_0xe3fd6;};}()),_0x12992c={},_0x4dd546=_0x12992c['lib']={},_0x5b7b6b=_0x4dd546[_0x3250be(0x1bf)]=(function(){return{'extend':function(_0x1e91f7){const _0xe2c1f8=_0x50be;var _0x375fcf=_0x127121(this);return _0x1e91f7&&_0x375fcf[_0xe2c1f8(0x21a)](_0x1e91f7),(!_0x375fcf[_0xe2c1f8(0x1fb)](_0xe2c1f8(0x51f))||this[_0xe2c1f8(0x51f)]===_0x375fcf['init'])&&(_0x375fcf[_0xe2c1f8(0x51f)]=function(){const _0x2ec68b=_0xe2c1f8;_0x375fcf[_0x2ec68b(0x430)][_0x2ec68b(0x51f)]['apply'](this,arguments);}),_0x375fcf['init']['prototype']=_0x375fcf,_0x375fcf['$super']=this,_0x375fcf;},'create':function(){const _0x1026a0=_0x50be;var _0x242d4e=this[_0x1026a0(0x2f4)]();return _0x242d4e['init']['apply'](_0x242d4e,arguments),_0x242d4e;},'init':function(){},'mixIn':function(_0x36335d){const _0x1365af=_0x50be;for(var _0x497bba in _0x36335d)_0x36335d[_0x1365af(0x1fb)](_0x497bba)&&(this[_0x497bba]=_0x36335d[_0x497bba]);_0x36335d[_0x1365af(0x1fb)](_0x1365af(0x304))&&(this[_0x1365af(0x304)]=_0x36335d[_0x1365af(0x304)]);},'clone':function(){const _0x21d44a=_0x50be;return this[_0x21d44a(0x51f)]['prototype']['extend'](this);}};}()),_0x4cbfae=_0x4dd546[_0x3250be(0x183)]=_0x5b7b6b[_0x3250be(0x2f4)]({'init':function(_0x14bf3f,_0x4b8857){const _0x111e86=_0x3250be;_0x14bf3f=this[_0x111e86(0x457)]=_0x14bf3f||[],_0x4b8857==_0x22cf92?this[_0x111e86(0x27d)]=_0x14bf3f[_0x111e86(0x4ca)]*0x4:this[_0x111e86(0x27d)]=_0x4b8857;},'toString':function(_0x2150e2){const _0x242952=_0x3250be;return(_0x2150e2||_0x588fe0)[_0x242952(0x38a)](this);},'concat':function(_0x1ee1de){const _0x3150eb=_0x3250be;var _0x4609fa=this[_0x3150eb(0x457)],_0x4bc07b=_0x1ee1de[_0x3150eb(0x457)],_0x4a823f=this['sigBytes'],_0x59831c=_0x1ee1de[_0x3150eb(0x27d)];if(this[_0x3150eb(0x1c9)](),_0x4a823f%0x4)for(var _0x2cebeb=0x0;_0x2cebeb<_0x59831c;_0x2cebeb++){var _0xf2e753=_0x4bc07b[_0x2cebeb>>>0x2]>>>0x18-_0x2cebeb%0x4*0x8&0xff;_0x4609fa[_0x4a823f+_0x2cebeb>>>0x2]|=_0xf2e753<<0x18-(_0x4a823f+_0x2cebeb)%0x4*0x8;}else{for(var _0x34717f=0x0;_0x34717f<_0x59831c;_0x34717f+=0x4)_0x4609fa[_0x4a823f+_0x34717f>>>0x2]=_0x4bc07b[_0x34717f>>>0x2];}return this[_0x3150eb(0x27d)]+=_0x59831c,this;},'clamp':function(){const _0x72120e=_0x3250be;var _0x4f4c26=this['words'],_0x2fe5be=this[_0x72120e(0x27d)];_0x4f4c26[_0x2fe5be>>>0x2]&=0xffffffff<<0x20-_0x2fe5be%0x4*0x8,_0x4f4c26[_0x72120e(0x4ca)]=_0x3d8d67[_0x72120e(0x2e7)](_0x2fe5be/0x4);},'clone':function(){const _0x3b6f6f=_0x3250be;var _0x455e14=_0x5b7b6b[_0x3b6f6f(0x201)]['call'](this);return _0x455e14[_0x3b6f6f(0x457)]=this[_0x3b6f6f(0x457)][_0x3b6f6f(0x29d)](0x0),_0x455e14;},'random':function(_0x2380f3){const _0x2ee700=_0x3250be;for(var _0x459cc2=[],_0x2eac17=0x0;_0x2eac17<_0x2380f3;_0x2eac17+=0x4)_0x459cc2['push'](_0x2f535a());return new _0x4cbfae[(_0x2ee700(0x51f))](_0x459cc2,_0x2380f3);}}),_0xc66603=_0x12992c[_0x3250be(0x24f)]={},_0x588fe0=_0xc66603[_0x3250be(0x4ed)]={'stringify':function(_0x12d5af){const _0x58b08a=_0x3250be;for(var _0x2b126b=_0x12d5af['words'],_0x2e3fd3=_0x12d5af[_0x58b08a(0x27d)],_0x564aaf=[],_0x2f48c4=0x0;_0x2f48c4<_0x2e3fd3;_0x2f48c4++){var _0x4bfb06=_0x2b126b[_0x2f48c4>>>0x2]>>>0x18-_0x2f48c4%0x4*0x8&0xff;_0x564aaf[_0x58b08a(0x3a1)]((_0x4bfb06>>>0x4)[_0x58b08a(0x304)](0x10)),_0x564aaf[_0x58b08a(0x3a1)]((_0x4bfb06&0xf)[_0x58b08a(0x304)](0x10));}return _0x564aaf[_0x58b08a(0x4a4)]('');},'parse':function(_0x44af69){const _0x5a9ecf=_0x3250be;for(var _0x55245d=_0x44af69['length'],_0x342ef6=[],_0x6bd99c=0x0;_0x6bd99c<_0x55245d;_0x6bd99c+=0x2)_0x342ef6[_0x6bd99c>>>0x3]|=parseInt(_0x44af69[_0x5a9ecf(0x282)](_0x6bd99c,0x2),0x10)<<0x18-_0x6bd99c%0x8*0x4;return new _0x4cbfae[(_0x5a9ecf(0x51f))](_0x342ef6,_0x55245d/0x2);}},_0x137e49=_0xc66603[_0x3250be(0x268)]={'stringify':function(_0x23d543){const _0x3f0cc4=_0x3250be;for(var _0x1d943b=_0x23d543[_0x3f0cc4(0x457)],_0x408923=_0x23d543[_0x3f0cc4(0x27d)],_0x40ee0b=[],_0x3cef73=0x0;_0x3cef73<_0x408923;_0x3cef73++){var _0x4d0c62=_0x1d943b[_0x3cef73>>>0x2]>>>0x18-_0x3cef73%0x4*0x8&0xff;_0x40ee0b[_0x3f0cc4(0x3a1)](String[_0x3f0cc4(0x40e)](_0x4d0c62));}return _0x40ee0b['join']('');},'parse':function(_0x4d96bc){const _0x2782ca=_0x3250be;for(var _0x258f1f=_0x4d96bc[_0x2782ca(0x4ca)],_0x173dca=[],_0x37ea2b=0x0;_0x37ea2b<_0x258f1f;_0x37ea2b++)_0x173dca[_0x37ea2b>>>0x2]|=(_0x4d96bc[_0x2782ca(0x315)](_0x37ea2b)&0xff)<<0x18-_0x37ea2b%0x4*0x8;return new _0x4cbfae[(_0x2782ca(0x51f))](_0x173dca,_0x258f1f);}},_0x5bd116=_0xc66603[_0x3250be(0x1c4)]={'stringify':function(_0x47015a){const _0x440798=_0x3250be;try{return decodeURIComponent(escape(_0x137e49[_0x440798(0x38a)](_0x47015a)));}catch{throw Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x16c27c){return _0x137e49['parse'](unescape(encodeURIComponent(_0x16c27c)));}},_0x250153=_0x4dd546[_0x3250be(0x27c)]=_0x5b7b6b[_0x3250be(0x2f4)]({'reset':function(){const _0xc02c3a=_0x3250be;this[_0xc02c3a(0x3e1)]=new _0x4cbfae['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1a3fee){const _0x3da68b=_0x3250be;typeof _0x1a3fee=='string'&&(_0x1a3fee=_0x5bd116[_0x3da68b(0x1cb)](_0x1a3fee)),this[_0x3da68b(0x3e1)]['concat'](_0x1a3fee),this['_nDataBytes']+=_0x1a3fee[_0x3da68b(0x27d)];},'_process':function(_0x4572ee){const _0x5927e2=_0x3250be;var _0x526b63,_0x211d00=this['_data'],_0x5cc951=_0x211d00['words'],_0x31c85b=_0x211d00[_0x5927e2(0x27d)],_0xc2497b=this[_0x5927e2(0x25f)],_0xf8f543=_0x31c85b/(_0xc2497b*0x4);_0xf8f543=_0x4572ee?_0x3d8d67[_0x5927e2(0x2e7)](_0xf8f543):_0x3d8d67[_0x5927e2(0x4ce)]((_0xf8f543|0x0)-this['_minBufferSize'],0x0);var _0x5dba0a=_0xf8f543*_0xc2497b,_0xd075fc=_0x3d8d67[_0x5927e2(0x217)](_0x5dba0a*0x4,_0x31c85b);if(_0x5dba0a){for(var _0x3e85b3=0x0;_0x3e85b3<_0x5dba0a;_0x3e85b3+=_0xc2497b)this[_0x5927e2(0x504)](_0x5cc951,_0x3e85b3);_0x526b63=_0x5cc951[_0x5927e2(0x2a7)](0x0,_0x5dba0a),_0x211d00[_0x5927e2(0x27d)]-=_0xd075fc;}return new _0x4cbfae[(_0x5927e2(0x51f))](_0x526b63,_0xd075fc);},'clone':function(){const _0x50fe43=_0x3250be;var _0x588d68=_0x5b7b6b[_0x50fe43(0x201)][_0x50fe43(0x18a)](this);return _0x588d68[_0x50fe43(0x3e1)]=this['_data']['clone'](),_0x588d68;},'_minBufferSize':0x0});_0x4dd546['Hasher']=_0x250153[_0x3250be(0x2f4)]({'cfg':_0x5b7b6b[_0x3250be(0x2f4)](),'init':function(_0x16d8cd){const _0x3a119d=_0x3250be;this['cfg']=this[_0x3a119d(0x36d)][_0x3a119d(0x2f4)](_0x16d8cd),this[_0x3a119d(0x3c9)]();},'reset':function(){const _0x24db5a=_0x3250be;_0x250153[_0x24db5a(0x3c9)][_0x24db5a(0x18a)](this),this[_0x24db5a(0x410)]();},'update':function(_0x4c30fe){const _0x365998=_0x3250be;return this[_0x365998(0x1ee)](_0x4c30fe),this[_0x365998(0x441)](),this;},'finalize':function(_0x403173){return _0x403173&&this['_append'](_0x403173),this['_doFinalize']();},'blockSize':0x200/0x20,'_createHelper':function(_0x414fe6){return function(_0x37c49d,_0xbcc79d){const _0x155ceb=_0x50be;return new _0x414fe6['init'](_0xbcc79d)[_0x155ceb(0x1a8)](_0x37c49d);};},'_createHmacHelper':function(_0x449573){return function(_0x2f1cd4,_0x21fccc){const _0x4f0dbc=_0x50be;return new _0x314e5a[(_0x4f0dbc(0x36f))][(_0x4f0dbc(0x51f))](_0x449573,_0x21fccc)['finalize'](_0x2f1cd4);};}});var _0x314e5a=_0x12992c[_0x3250be(0x1f9)]={};return _0x12992c;}(Math);return _0x15340b;}));}),_0x28191d=_0x3712b0((_0x39e253,_0x2c0cc8)=>{(function(_0x522dcd,_0x2fce5b){const _0x32882b=_0x50be;typeof _0x39e253==_0x32882b(0x240)?_0x2c0cc8[_0x32882b(0x50d)]=_0x39e253=_0x2fce5b(_0x13f9ca()):typeof define==_0x32882b(0x329)&&define['amd']?define([_0x32882b(0x256)],_0x2fce5b):_0x2fce5b(_0x522dcd['CryptoJS']);}(_0x39e253,function(_0x38a5e5){const _0x2be5b5=_0x50be;return(function(){const _0x42e1ed=_0x50be;var _0x4a2bdd=_0x38a5e5,_0x1b224a=_0x4a2bdd[_0x42e1ed(0x290)][_0x42e1ed(0x183)],_0x25860a=_0x4a2bdd[_0x42e1ed(0x24f)];_0x25860a[_0x42e1ed(0x4b6)]={'stringify':function(_0x2b661c){const _0x16d8ae=_0x42e1ed;var _0x494209=_0x2b661c[_0x16d8ae(0x457)],_0x245ec7=_0x2b661c[_0x16d8ae(0x27d)],_0xa603c8=this[_0x16d8ae(0x4e9)];_0x2b661c[_0x16d8ae(0x1c9)]();for(var _0x2d7619=[],_0x1437c8=0x0;_0x1437c8<_0x245ec7;_0x1437c8+=0x3)for(var _0x3ca4ae=_0x494209[_0x1437c8>>>0x2]>>>0x18-_0x1437c8%0x4*0x8&0xff,_0x8f8c8=_0x494209[_0x1437c8+0x1>>>0x2]>>>0x18-(_0x1437c8+0x1)%0x4*0x8&0xff,_0x29c96a=_0x494209[_0x1437c8+0x2>>>0x2]>>>0x18-(_0x1437c8+0x2)%0x4*0x8&0xff,_0x15783f=_0x3ca4ae<<0x10|_0x8f8c8<<0x8|_0x29c96a,_0x27120=0x0;_0x27120<0x4&&_0x1437c8+_0x27120*0.75<_0x245ec7;_0x27120++)_0x2d7619['push'](_0xa603c8[_0x16d8ae(0x40a)](_0x15783f>>>0x6*(0x3-_0x27120)&0x3f));var _0x506915=_0xa603c8[_0x16d8ae(0x40a)](0x40);if(_0x506915){for(;_0x2d7619[_0x16d8ae(0x4ca)]%0x4;)_0x2d7619['push'](_0x506915);}return _0x2d7619['join']('');},'parse':function(_0x2bb98b){const _0x4bb5f1=_0x42e1ed;var _0x2b7949=_0x2bb98b[_0x4bb5f1(0x4ca)],_0xd5a570=this[_0x4bb5f1(0x4e9)],_0x8c9140=this[_0x4bb5f1(0x231)];if(!_0x8c9140){_0x8c9140=this[_0x4bb5f1(0x231)]=[];for(var _0x205521=0x0;_0x205521<_0xd5a570[_0x4bb5f1(0x4ca)];_0x205521++)_0x8c9140[_0xd5a570['charCodeAt'](_0x205521)]=_0x205521;}var _0x2e8fc6=_0xd5a570[_0x4bb5f1(0x40a)](0x40);if(_0x2e8fc6){var _0xc3d184=_0x2bb98b[_0x4bb5f1(0x1d8)](_0x2e8fc6);_0xc3d184!==-0x1&&(_0x2b7949=_0xc3d184);}return _0x1e3fba(_0x2bb98b,_0x2b7949,_0x8c9140);},'_map':_0x42e1ed(0x33e)};function _0x1e3fba(_0x5e56ae,_0x505b33,_0x3fdd7d){const _0x5a2596=_0x42e1ed;for(var _0x5ede17=[],_0x4bff14=0x0,_0x4d1167=0x0;_0x4d1167<_0x505b33;_0x4d1167++)if(_0x4d1167%0x4){var _0x434a0b=_0x3fdd7d[_0x5e56ae[_0x5a2596(0x315)](_0x4d1167-0x1)]<<_0x4d1167%0x4*0x2|_0x3fdd7d[_0x5e56ae[_0x5a2596(0x315)](_0x4d1167)]>>>0x6-_0x4d1167%0x4*0x2;_0x5ede17[_0x4bff14>>>0x2]|=_0x434a0b<<0x18-_0x4bff14%0x4*0x8,_0x4bff14++;}return _0x1b224a['create'](_0x5ede17,_0x4bff14);}}()),_0x38a5e5[_0x2be5b5(0x24f)][_0x2be5b5(0x4b6)];}));}),_0x3bcf96=_0x3712b0((_0x2e9e36,_0x4f21a4)=>{(function(_0x37dfec,_0x3eb204){const _0x2bb9e8=_0x50be;typeof _0x2e9e36=='object'?_0x4f21a4[_0x2bb9e8(0x50d)]=_0x2e9e36=_0x3eb204(_0x13f9ca()):typeof define==_0x2bb9e8(0x329)&&define['amd']?define([_0x2bb9e8(0x256)],_0x3eb204):_0x3eb204(_0x37dfec[_0x2bb9e8(0x46b)]);}(_0x2e9e36,function(_0x3f7da9){const _0x3849ca=_0x50be;return function(_0x1e4579){const _0x1ddda9=_0x50be;var _0x501d16=_0x3f7da9,_0x241798=_0x501d16['lib'],_0x448fc2=_0x241798['WordArray'],_0x2da7ed=_0x241798[_0x1ddda9(0x378)],_0x14bf6d=_0x501d16[_0x1ddda9(0x1f9)],_0x4d5955=[];(function(){const _0x3c1d08=_0x1ddda9;for(var _0x372352=0x0;_0x372352<0x40;_0x372352++)_0x4d5955[_0x372352]=_0x1e4579['abs'](_0x1e4579[_0x3c1d08(0x480)](_0x372352+0x1))*0x100000000|0x0;}());var _0x1d712f=_0x14bf6d[_0x1ddda9(0x407)]=_0x2da7ed[_0x1ddda9(0x2f4)]({'_doReset':function(){const _0x3f0770=_0x1ddda9;this[_0x3f0770(0x1eb)]=new _0x448fc2[(_0x3f0770(0x51f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5e5c47,_0x5c5493){const _0x36d86f=_0x1ddda9;for(var _0x35c2e3=0x0;_0x35c2e3<0x10;_0x35c2e3++){var _0x5ed22d=_0x5c5493+_0x35c2e3,_0x2735fd=_0x5e5c47[_0x5ed22d];_0x5e5c47[_0x5ed22d]=(_0x2735fd<<0x8|_0x2735fd>>>0x18)&0xff00ff|(_0x2735fd<<0x18|_0x2735fd>>>0x8)&0xff00ff00;}var _0x5be8b9=this[_0x36d86f(0x1eb)][_0x36d86f(0x457)],_0x1055d0=_0x5e5c47[_0x5c5493+0x0],_0x315780=_0x5e5c47[_0x5c5493+0x1],_0x9c4d84=_0x5e5c47[_0x5c5493+0x2],_0x2c0ef7=_0x5e5c47[_0x5c5493+0x3],_0x229df2=_0x5e5c47[_0x5c5493+0x4],_0x2a5f4b=_0x5e5c47[_0x5c5493+0x5],_0x38a31f=_0x5e5c47[_0x5c5493+0x6],_0x242c1c=_0x5e5c47[_0x5c5493+0x7],_0x4cd3b3=_0x5e5c47[_0x5c5493+0x8],_0x4b0e99=_0x5e5c47[_0x5c5493+0x9],_0x15674d=_0x5e5c47[_0x5c5493+0xa],_0x47d514=_0x5e5c47[_0x5c5493+0xb],_0x5b5ec9=_0x5e5c47[_0x5c5493+0xc],_0x501682=_0x5e5c47[_0x5c5493+0xd],_0x5aa43e=_0x5e5c47[_0x5c5493+0xe],_0x3332ad=_0x5e5c47[_0x5c5493+0xf],_0x2d3871=_0x5be8b9[0x0],_0x51fda2=_0x5be8b9[0x1],_0x37a359=_0x5be8b9[0x2],_0x4bddf9=_0x5be8b9[0x3];_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x1055d0,0x7,_0x4d5955[0x0]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x315780,0xc,_0x4d5955[0x1]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x9c4d84,0x11,_0x4d5955[0x2]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x2c0ef7,0x16,_0x4d5955[0x3]),_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x229df2,0x7,_0x4d5955[0x4]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x2a5f4b,0xc,_0x4d5955[0x5]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x38a31f,0x11,_0x4d5955[0x6]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x242c1c,0x16,_0x4d5955[0x7]),_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4cd3b3,0x7,_0x4d5955[0x8]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x4b0e99,0xc,_0x4d5955[0x9]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x15674d,0x11,_0x4d5955[0xa]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x47d514,0x16,_0x4d5955[0xb]),_0x2d3871=_0x2a43de(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x5b5ec9,0x7,_0x4d5955[0xc]),_0x4bddf9=_0x2a43de(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x501682,0xc,_0x4d5955[0xd]),_0x37a359=_0x2a43de(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x5aa43e,0x11,_0x4d5955[0xe]),_0x51fda2=_0x2a43de(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x3332ad,0x16,_0x4d5955[0xf]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x315780,0x5,_0x4d5955[0x10]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x38a31f,0x9,_0x4d5955[0x11]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x47d514,0xe,_0x4d5955[0x12]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x1055d0,0x14,_0x4d5955[0x13]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x2a5f4b,0x5,_0x4d5955[0x14]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x15674d,0x9,_0x4d5955[0x15]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x3332ad,0xe,_0x4d5955[0x16]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x229df2,0x14,_0x4d5955[0x17]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4b0e99,0x5,_0x4d5955[0x18]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x5aa43e,0x9,_0x4d5955[0x19]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x2c0ef7,0xe,_0x4d5955[0x1a]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x4cd3b3,0x14,_0x4d5955[0x1b]),_0x2d3871=_0x2999b7(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x501682,0x5,_0x4d5955[0x1c]),_0x4bddf9=_0x2999b7(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x9c4d84,0x9,_0x4d5955[0x1d]),_0x37a359=_0x2999b7(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x242c1c,0xe,_0x4d5955[0x1e]),_0x51fda2=_0x2999b7(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x5b5ec9,0x14,_0x4d5955[0x1f]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x2a5f4b,0x4,_0x4d5955[0x20]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x4cd3b3,0xb,_0x4d5955[0x21]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x47d514,0x10,_0x4d5955[0x22]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x5aa43e,0x17,_0x4d5955[0x23]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x315780,0x4,_0x4d5955[0x24]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x229df2,0xb,_0x4d5955[0x25]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x242c1c,0x10,_0x4d5955[0x26]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x15674d,0x17,_0x4d5955[0x27]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x501682,0x4,_0x4d5955[0x28]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x1055d0,0xb,_0x4d5955[0x29]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x2c0ef7,0x10,_0x4d5955[0x2a]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x38a31f,0x17,_0x4d5955[0x2b]),_0x2d3871=_0x1b0e37(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4b0e99,0x4,_0x4d5955[0x2c]),_0x4bddf9=_0x1b0e37(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x5b5ec9,0xb,_0x4d5955[0x2d]),_0x37a359=_0x1b0e37(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x3332ad,0x10,_0x4d5955[0x2e]),_0x51fda2=_0x1b0e37(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x9c4d84,0x17,_0x4d5955[0x2f]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x1055d0,0x6,_0x4d5955[0x30]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x242c1c,0xa,_0x4d5955[0x31]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x5aa43e,0xf,_0x4d5955[0x32]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x2a5f4b,0x15,_0x4d5955[0x33]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x5b5ec9,0x6,_0x4d5955[0x34]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x2c0ef7,0xa,_0x4d5955[0x35]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x15674d,0xf,_0x4d5955[0x36]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x315780,0x15,_0x4d5955[0x37]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x4cd3b3,0x6,_0x4d5955[0x38]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x3332ad,0xa,_0x4d5955[0x39]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x38a31f,0xf,_0x4d5955[0x3a]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x501682,0x15,_0x4d5955[0x3b]),_0x2d3871=_0x377cae(_0x2d3871,_0x51fda2,_0x37a359,_0x4bddf9,_0x229df2,0x6,_0x4d5955[0x3c]),_0x4bddf9=_0x377cae(_0x4bddf9,_0x2d3871,_0x51fda2,_0x37a359,_0x47d514,0xa,_0x4d5955[0x3d]),_0x37a359=_0x377cae(_0x37a359,_0x4bddf9,_0x2d3871,_0x51fda2,_0x9c4d84,0xf,_0x4d5955[0x3e]),_0x51fda2=_0x377cae(_0x51fda2,_0x37a359,_0x4bddf9,_0x2d3871,_0x4b0e99,0x15,_0x4d5955[0x3f]),_0x5be8b9[0x0]=_0x5be8b9[0x0]+_0x2d3871|0x0,_0x5be8b9[0x1]=_0x5be8b9[0x1]+_0x51fda2|0x0,_0x5be8b9[0x2]=_0x5be8b9[0x2]+_0x37a359|0x0,_0x5be8b9[0x3]=_0x5be8b9[0x3]+_0x4bddf9|0x0;},'_doFinalize':function(){const _0x544154=_0x1ddda9;var _0x1ea1ce=this[_0x544154(0x3e1)],_0x5dec12=_0x1ea1ce[_0x544154(0x457)],_0x4335f3=this[_0x544154(0x443)]*0x8,_0x17ee47=_0x1ea1ce[_0x544154(0x27d)]*0x8;_0x5dec12[_0x17ee47>>>0x5]|=0x80<<0x18-_0x17ee47%0x20;var _0x38defd=_0x1e4579[_0x544154(0x2cb)](_0x4335f3/0x100000000),_0x3ec75e=_0x4335f3;_0x5dec12[(_0x17ee47+0x40>>>0x9<<0x4)+0xf]=(_0x38defd<<0x8|_0x38defd>>>0x18)&0xff00ff|(_0x38defd<<0x18|_0x38defd>>>0x8)&0xff00ff00,_0x5dec12[(_0x17ee47+0x40>>>0x9<<0x4)+0xe]=(_0x3ec75e<<0x8|_0x3ec75e>>>0x18)&0xff00ff|(_0x3ec75e<<0x18|_0x3ec75e>>>0x8)&0xff00ff00,_0x1ea1ce[_0x544154(0x27d)]=(_0x5dec12[_0x544154(0x4ca)]+0x1)*0x4,this[_0x544154(0x441)]();for(var _0x343092=this[_0x544154(0x1eb)],_0x1cd755=_0x343092[_0x544154(0x457)],_0x591c6e=0x0;_0x591c6e<0x4;_0x591c6e++){var _0x84e487=_0x1cd755[_0x591c6e];_0x1cd755[_0x591c6e]=(_0x84e487<<0x8|_0x84e487>>>0x18)&0xff00ff|(_0x84e487<<0x18|_0x84e487>>>0x8)&0xff00ff00;}return _0x343092;},'clone':function(){const _0x2103df=_0x1ddda9;var _0x57fde2=_0x2da7ed[_0x2103df(0x201)][_0x2103df(0x18a)](this);return _0x57fde2[_0x2103df(0x1eb)]=this[_0x2103df(0x1eb)][_0x2103df(0x201)](),_0x57fde2;}});function _0x2a43de(_0xc0fd78,_0x226aea,_0x5b0845,_0x1d5468,_0x4d9e81,_0x46027f,_0x34e237){var _0x3dcb35=_0xc0fd78+(_0x226aea&_0x5b0845|~_0x226aea&_0x1d5468)+_0x4d9e81+_0x34e237;return(_0x3dcb35<<_0x46027f|_0x3dcb35>>>0x20-_0x46027f)+_0x226aea;}function _0x2999b7(_0x474717,_0x55d929,_0x3f7c4b,_0x2c6888,_0x398b0f,_0x59172c,_0x21203a){var _0x192084=_0x474717+(_0x55d929&_0x2c6888|_0x3f7c4b&~_0x2c6888)+_0x398b0f+_0x21203a;return(_0x192084<<_0x59172c|_0x192084>>>0x20-_0x59172c)+_0x55d929;}function _0x1b0e37(_0x13bd07,_0x406cee,_0x2333e2,_0x388794,_0x1d86fc,_0x1ed8c8,_0x1b474e){var _0x364a6b=_0x13bd07+(_0x406cee^_0x2333e2^_0x388794)+_0x1d86fc+_0x1b474e;return(_0x364a6b<<_0x1ed8c8|_0x364a6b>>>0x20-_0x1ed8c8)+_0x406cee;}function _0x377cae(_0x43fa78,_0x2dbc57,_0x4a77f9,_0x4b5504,_0x24f3e5,_0x444efe,_0xd52d14){var _0x1337f5=_0x43fa78+(_0x4a77f9^(_0x2dbc57|~_0x4b5504))+_0x24f3e5+_0xd52d14;return(_0x1337f5<<_0x444efe|_0x1337f5>>>0x20-_0x444efe)+_0x2dbc57;}_0x501d16[_0x1ddda9(0x407)]=_0x2da7ed[_0x1ddda9(0x251)](_0x1d712f),_0x501d16['HmacMD5']=_0x2da7ed['_createHmacHelper'](_0x1d712f);}(Math),_0x3f7da9[_0x3849ca(0x407)];}));}),_0x1b6f34=_0x3712b0((_0x450847,_0x466890)=>{(function(_0x5b4e53,_0x36277f){const _0x2a2660=_0x50be;typeof _0x450847=='object'?_0x466890[_0x2a2660(0x50d)]=_0x450847=_0x36277f(_0x13f9ca()):typeof define==_0x2a2660(0x329)&&define[_0x2a2660(0x4cf)]?define(['./core'],_0x36277f):_0x36277f(_0x5b4e53['CryptoJS']);}(_0x450847,function(_0xe4e848){const _0x1ab137=_0x50be;return(function(){const _0x1837dc=_0x50be;var _0x13cdb9=_0xe4e848,_0x1aa479=_0x13cdb9[_0x1837dc(0x290)],_0x2c647f=_0x1aa479['WordArray'],_0x1b2895=_0x1aa479[_0x1837dc(0x378)],_0x1a4d7b=_0x13cdb9[_0x1837dc(0x1f9)],_0x3c5f69=[],_0x3901d0=_0x1a4d7b[_0x1837dc(0x3ed)]=_0x1b2895[_0x1837dc(0x2f4)]({'_doReset':function(){this['_hash']=new _0x2c647f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x134d6e,_0x2a7dc3){const _0x1eee4f=_0x1837dc;for(var _0x2b64c1=this[_0x1eee4f(0x1eb)][_0x1eee4f(0x457)],_0x22975b=_0x2b64c1[0x0],_0x15134b=_0x2b64c1[0x1],_0x2f9176=_0x2b64c1[0x2],_0x4cdd3d=_0x2b64c1[0x3],_0x539e87=_0x2b64c1[0x4],_0x46bdfa=0x0;_0x46bdfa<0x50;_0x46bdfa++){if(_0x46bdfa<0x10)_0x3c5f69[_0x46bdfa]=_0x134d6e[_0x2a7dc3+_0x46bdfa]|0x0;else{var _0x35eb22=_0x3c5f69[_0x46bdfa-0x3]^_0x3c5f69[_0x46bdfa-0x8]^_0x3c5f69[_0x46bdfa-0xe]^_0x3c5f69[_0x46bdfa-0x10];_0x3c5f69[_0x46bdfa]=_0x35eb22<<0x1|_0x35eb22>>>0x1f;}var _0x27f38e=(_0x22975b<<0x5|_0x22975b>>>0x1b)+_0x539e87+_0x3c5f69[_0x46bdfa];_0x46bdfa<0x14?_0x27f38e+=(_0x15134b&_0x2f9176|~_0x15134b&_0x4cdd3d)+0x5a827999:_0x46bdfa<0x28?_0x27f38e+=(_0x15134b^_0x2f9176^_0x4cdd3d)+0x6ed9eba1:_0x46bdfa<0x3c?_0x27f38e+=(_0x15134b&_0x2f9176|_0x15134b&_0x4cdd3d|_0x2f9176&_0x4cdd3d)-0x70e44324:_0x27f38e+=(_0x15134b^_0x2f9176^_0x4cdd3d)-0x359d3e2a,_0x539e87=_0x4cdd3d,_0x4cdd3d=_0x2f9176,_0x2f9176=_0x15134b<<0x1e|_0x15134b>>>0x2,_0x15134b=_0x22975b,_0x22975b=_0x27f38e;}_0x2b64c1[0x0]=_0x2b64c1[0x0]+_0x22975b|0x0,_0x2b64c1[0x1]=_0x2b64c1[0x1]+_0x15134b|0x0,_0x2b64c1[0x2]=_0x2b64c1[0x2]+_0x2f9176|0x0,_0x2b64c1[0x3]=_0x2b64c1[0x3]+_0x4cdd3d|0x0,_0x2b64c1[0x4]=_0x2b64c1[0x4]+_0x539e87|0x0;},'_doFinalize':function(){const _0x2bd092=_0x1837dc;var _0x5a6deb=this['_data'],_0x350ee7=_0x5a6deb[_0x2bd092(0x457)],_0x199d17=this[_0x2bd092(0x443)]*0x8,_0x4b90f2=_0x5a6deb['sigBytes']*0x8;return _0x350ee7[_0x4b90f2>>>0x5]|=0x80<<0x18-_0x4b90f2%0x20,_0x350ee7[(_0x4b90f2+0x40>>>0x9<<0x4)+0xe]=Math[_0x2bd092(0x2cb)](_0x199d17/0x100000000),_0x350ee7[(_0x4b90f2+0x40>>>0x9<<0x4)+0xf]=_0x199d17,_0x5a6deb['sigBytes']=_0x350ee7[_0x2bd092(0x4ca)]*0x4,this[_0x2bd092(0x441)](),this[_0x2bd092(0x1eb)];},'clone':function(){const _0x443267=_0x1837dc;var _0x53aa10=_0x1b2895['clone'][_0x443267(0x18a)](this);return _0x53aa10[_0x443267(0x1eb)]=this[_0x443267(0x1eb)]['clone'](),_0x53aa10;}});_0x13cdb9[_0x1837dc(0x3ed)]=_0x1b2895['_createHelper'](_0x3901d0),_0x13cdb9[_0x1837dc(0x1db)]=_0x1b2895[_0x1837dc(0x4ea)](_0x3901d0);}()),_0xe4e848[_0x1ab137(0x3ed)];}));}),_0x3327db=_0x3712b0((_0x985f87,_0x5079ca)=>{(function(_0x5d9fe4,_0x4490d0){const _0x42bd7a=_0x50be;typeof _0x985f87==_0x42bd7a(0x240)?_0x5079ca[_0x42bd7a(0x50d)]=_0x985f87=_0x4490d0(_0x13f9ca()):typeof define==_0x42bd7a(0x329)&&define['amd']?define([_0x42bd7a(0x256)],_0x4490d0):_0x4490d0(_0x5d9fe4[_0x42bd7a(0x46b)]);}(_0x985f87,function(_0x3618d6){(function(){const _0x4c3fb8=_0x50be;var _0x3c2044=_0x3618d6,_0x2b67fa=_0x3c2044['lib'][_0x4c3fb8(0x1bf)],_0xfecc9e=_0x3c2044[_0x4c3fb8(0x24f)][_0x4c3fb8(0x1c4)],_0x3a2f3d=_0x3c2044['algo'];_0x3a2f3d['HMAC']=_0x2b67fa[_0x4c3fb8(0x2f4)]({'init':function(_0x2bd78c,_0x303d57){const _0x4b63d7=_0x4c3fb8;_0x2bd78c=this[_0x4b63d7(0x468)]=new _0x2bd78c[(_0x4b63d7(0x51f))](),typeof _0x303d57=='string'&&(_0x303d57=_0xfecc9e[_0x4b63d7(0x1cb)](_0x303d57));var _0xd5ba0=_0x2bd78c[_0x4b63d7(0x25f)],_0x50d42f=_0xd5ba0*0x4;_0x303d57[_0x4b63d7(0x27d)]>_0x50d42f&&(_0x303d57=_0x2bd78c[_0x4b63d7(0x1a8)](_0x303d57)),_0x303d57['clamp']();for(var _0x5ecd76=this[_0x4b63d7(0x3ab)]=_0x303d57[_0x4b63d7(0x201)](),_0x1769fc=this[_0x4b63d7(0x490)]=_0x303d57[_0x4b63d7(0x201)](),_0x2692f4=_0x5ecd76[_0x4b63d7(0x457)],_0x152703=_0x1769fc[_0x4b63d7(0x457)],_0x445cfe=0x0;_0x445cfe<_0xd5ba0;_0x445cfe++)_0x2692f4[_0x445cfe]^=0x5c5c5c5c,_0x152703[_0x445cfe]^=0x36363636;_0x5ecd76['sigBytes']=_0x1769fc['sigBytes']=_0x50d42f,this[_0x4b63d7(0x3c9)]();},'reset':function(){const _0x4c7af2=_0x4c3fb8;var _0x32825c=this[_0x4c7af2(0x468)];_0x32825c[_0x4c7af2(0x3c9)](),_0x32825c[_0x4c7af2(0x4f0)](this['_iKey']);},'update':function(_0x2b7f12){const _0x46cba1=_0x4c3fb8;return this[_0x46cba1(0x468)][_0x46cba1(0x4f0)](_0x2b7f12),this;},'finalize':function(_0x2bd98a){const _0x25fa62=_0x4c3fb8;var _0x234a11=this[_0x25fa62(0x468)],_0x2e3dae=_0x234a11[_0x25fa62(0x1a8)](_0x2bd98a);return _0x234a11[_0x25fa62(0x3c9)](),_0x234a11[_0x25fa62(0x1a8)](this['_oKey']['clone']()[_0x25fa62(0x3e5)](_0x2e3dae));}});}());}));}),_0xd45db5=_0x3712b0((_0x4e9eda,_0x5305ac)=>{(function(_0x58b361,_0x4d96db,_0x5e45e5){const _0x3acd88=_0x50be;typeof _0x4e9eda=='object'?_0x5305ac[_0x3acd88(0x50d)]=_0x4e9eda=_0x4d96db(_0x13f9ca(),_0x1b6f34(),_0x3327db()):typeof define=='function'&&define['amd']?define([_0x3acd88(0x256),'./sha1','./hmac'],_0x4d96db):_0x4d96db(_0x58b361[_0x3acd88(0x46b)]);}(_0x4e9eda,function(_0x43b926){const _0x3903b4=_0x50be;return(function(){const _0x52b1b4=_0x50be;var _0x511f9d=_0x43b926,_0x2f56bf=_0x511f9d[_0x52b1b4(0x290)],_0x4f7086=_0x2f56bf[_0x52b1b4(0x1bf)],_0x31e430=_0x2f56bf[_0x52b1b4(0x183)],_0x146643=_0x511f9d[_0x52b1b4(0x1f9)],_0x448a11=_0x146643[_0x52b1b4(0x407)],_0x53dd19=_0x146643[_0x52b1b4(0x537)]=_0x4f7086[_0x52b1b4(0x2f4)]({'cfg':_0x4f7086[_0x52b1b4(0x2f4)]({'keySize':0x80/0x20,'hasher':_0x448a11,'iterations':0x1}),'init':function(_0xbd2274){const _0x2dd108=_0x52b1b4;this[_0x2dd108(0x36d)]=this[_0x2dd108(0x36d)]['extend'](_0xbd2274);},'compute':function(_0x4b5862,_0x1a4040){const _0x417ff3=_0x52b1b4;for(var _0x17d00d,_0x303f6c=this[_0x417ff3(0x36d)],_0x450830=_0x303f6c[_0x417ff3(0x28c)][_0x417ff3(0x34e)](),_0x5cba21=_0x31e430[_0x417ff3(0x34e)](),_0x4a720a=_0x5cba21['words'],_0xa68ef7=_0x303f6c['keySize'],_0x4e270b=_0x303f6c['iterations'];_0x4a720a[_0x417ff3(0x4ca)]<_0xa68ef7;){_0x17d00d&&_0x450830[_0x417ff3(0x4f0)](_0x17d00d),_0x17d00d=_0x450830['update'](_0x4b5862)[_0x417ff3(0x1a8)](_0x1a4040),_0x450830[_0x417ff3(0x3c9)]();for(var _0x2a7e31=0x1;_0x2a7e31<_0x4e270b;_0x2a7e31++)_0x17d00d=_0x450830[_0x417ff3(0x1a8)](_0x17d00d),_0x450830[_0x417ff3(0x3c9)]();_0x5cba21[_0x417ff3(0x3e5)](_0x17d00d);}return _0x5cba21[_0x417ff3(0x27d)]=_0xa68ef7*0x4,_0x5cba21;}});_0x511f9d[_0x52b1b4(0x537)]=function(_0xf1d914,_0x224cbf,_0x2bd5bd){const _0x892265=_0x52b1b4;return _0x53dd19[_0x892265(0x34e)](_0x2bd5bd)[_0x892265(0x270)](_0xf1d914,_0x224cbf);};}()),_0x43b926[_0x3903b4(0x537)];}));}),_0xdf37b6=_0x3712b0((_0x2aaa5a,_0x4170d7)=>{(function(_0x5b738f,_0x578e54,_0x2dbb33){const _0x3cede0=_0x50be;typeof _0x2aaa5a==_0x3cede0(0x240)?_0x4170d7[_0x3cede0(0x50d)]=_0x2aaa5a=_0x578e54(_0x13f9ca(),_0xd45db5()):typeof define==_0x3cede0(0x329)&&define[_0x3cede0(0x4cf)]?define([_0x3cede0(0x256),_0x3cede0(0x4b1)],_0x578e54):_0x578e54(_0x5b738f[_0x3cede0(0x46b)]);}(_0x2aaa5a,function(_0x45e8d2){const _0x149f10=_0x50be;_0x45e8d2[_0x149f10(0x290)][_0x149f10(0x2a5)]||function(_0x411669){const _0x418aca=_0x149f10;var _0x3b6b29=_0x45e8d2,_0x28e12a=_0x3b6b29[_0x418aca(0x290)],_0x30ef6b=_0x28e12a['Base'],_0x42e8cd=_0x28e12a[_0x418aca(0x183)],_0xc4b0f3=_0x28e12a[_0x418aca(0x27c)],_0x3ec6e9=_0x3b6b29[_0x418aca(0x24f)];_0x3ec6e9[_0x418aca(0x1c4)];var _0x44243e=_0x3ec6e9[_0x418aca(0x4b6)],_0x20e7d4=_0x3b6b29[_0x418aca(0x1f9)]['EvpKDF'],_0x10886f=_0x28e12a[_0x418aca(0x2a5)]=_0xc4b0f3[_0x418aca(0x2f4)]({'cfg':_0x30ef6b[_0x418aca(0x2f4)](),'createEncryptor':function(_0x5aa575,_0x52f16f){const _0x18a12a=_0x418aca;return this[_0x18a12a(0x34e)](this[_0x18a12a(0x2f0)],_0x5aa575,_0x52f16f);},'createDecryptor':function(_0x1438ea,_0x2fd922){const _0x431d7a=_0x418aca;return this[_0x431d7a(0x34e)](this[_0x431d7a(0x41a)],_0x1438ea,_0x2fd922);},'init':function(_0x1e8df5,_0x1dca74,_0x1412e3){const _0x4513d1=_0x418aca;this[_0x4513d1(0x36d)]=this[_0x4513d1(0x36d)][_0x4513d1(0x2f4)](_0x1412e3),this['_xformMode']=_0x1e8df5,this[_0x4513d1(0x272)]=_0x1dca74,this[_0x4513d1(0x3c9)]();},'reset':function(){const _0x58c4e7=_0x418aca;_0xc4b0f3[_0x58c4e7(0x3c9)][_0x58c4e7(0x18a)](this),this[_0x58c4e7(0x410)]();},'process':function(_0x349f39){const _0x2c4083=_0x418aca;return this[_0x2c4083(0x1ee)](_0x349f39),this[_0x2c4083(0x441)]();},'finalize':function(_0x50b82a){const _0x106cd4=_0x418aca;return _0x50b82a&&this[_0x106cd4(0x1ee)](_0x50b82a),this[_0x106cd4(0x4bf)]();},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5490ff(_0x17d423){return typeof _0x17d423=='string'?_0x5f38bb:_0x226b70;}return function(_0x2ee6e1){return{'encrypt':function(_0x314fb9,_0x24e0a3,_0x4c3b57){return _0x5490ff(_0x24e0a3)['encrypt'](_0x2ee6e1,_0x314fb9,_0x24e0a3,_0x4c3b57);},'decrypt':function(_0x188db6,_0x3b353b,_0xee0c35){const _0x35645e=_0x50be;return _0x5490ff(_0x3b353b)[_0x35645e(0x505)](_0x2ee6e1,_0x188db6,_0x3b353b,_0xee0c35);}};};}())});_0x28e12a[_0x418aca(0x535)]=_0x10886f[_0x418aca(0x2f4)]({'_doFinalize':function(){return this['_process'](!0x0);},'blockSize':0x1});var _0x403615=_0x3b6b29[_0x418aca(0x4a3)]={},_0x1243cb=_0x28e12a['BlockCipherMode']=_0x30ef6b[_0x418aca(0x2f4)]({'createEncryptor':function(_0x487a4f,_0x4b3e5){const _0x401cf6=_0x418aca;return this['Encryptor'][_0x401cf6(0x34e)](_0x487a4f,_0x4b3e5);},'createDecryptor':function(_0x36803f,_0x1510e){const _0x2e96fa=_0x418aca;return this[_0x2e96fa(0x4a7)][_0x2e96fa(0x34e)](_0x36803f,_0x1510e);},'init':function(_0x41a0a0,_0x4ecbad){const _0xea8841=_0x418aca;this['_cipher']=_0x41a0a0,this[_0xea8841(0x442)]=_0x4ecbad;}}),_0xa98e7e=_0x403615[_0x418aca(0x348)]=(function(){const _0x2a158c=_0x418aca;var _0x3ebd70=_0x1243cb[_0x2a158c(0x2f4)]();_0x3ebd70[_0x2a158c(0x372)]=_0x3ebd70[_0x2a158c(0x2f4)]({'processBlock':function(_0x6e14e2,_0x547ee3){const _0x21ed43=_0x2a158c;var _0x17b6da=this[_0x21ed43(0x387)],_0xf95b5=_0x17b6da[_0x21ed43(0x25f)];_0x1d68b2[_0x21ed43(0x18a)](this,_0x6e14e2,_0x547ee3,_0xf95b5),_0x17b6da['encryptBlock'](_0x6e14e2,_0x547ee3),this[_0x21ed43(0x333)]=_0x6e14e2[_0x21ed43(0x29d)](_0x547ee3,_0x547ee3+_0xf95b5);}}),_0x3ebd70[_0x2a158c(0x4a7)]=_0x3ebd70['extend']({'processBlock':function(_0x570532,_0x1db977){const _0x5655e2=_0x2a158c;var _0x363768=this['_cipher'],_0x25a640=_0x363768[_0x5655e2(0x25f)],_0xdb263e=_0x570532[_0x5655e2(0x29d)](_0x1db977,_0x1db977+_0x25a640);_0x363768['decryptBlock'](_0x570532,_0x1db977),_0x1d68b2[_0x5655e2(0x18a)](this,_0x570532,_0x1db977,_0x25a640),this['_prevBlock']=_0xdb263e;}});function _0x1d68b2(_0x545302,_0x44b83d,_0x23222f){const _0x59b838=_0x2a158c;var _0xffc218,_0x2a8e47=this[_0x59b838(0x442)];_0x2a8e47?(_0xffc218=_0x2a8e47,this[_0x59b838(0x442)]=_0x411669):_0xffc218=this[_0x59b838(0x333)];for(var _0x2bc0fd=0x0;_0x2bc0fd<_0x23222f;_0x2bc0fd++)_0x545302[_0x44b83d+_0x2bc0fd]^=_0xffc218[_0x2bc0fd];}return _0x3ebd70;}()),_0x241b4e=_0x3b6b29[_0x418aca(0x2b2)]={},_0x648b3b=_0x241b4e[_0x418aca(0x4e7)]={'pad':function(_0x5c6d72,_0x16d195){const _0x3e0182=_0x418aca;for(var _0x496859=_0x16d195*0x4,_0x27539a=_0x496859-_0x5c6d72['sigBytes']%_0x496859,_0x16c58b=_0x27539a<<0x18|_0x27539a<<0x10|_0x27539a<<0x8|_0x27539a,_0x435516=[],_0xec9bfe=0x0;_0xec9bfe<_0x27539a;_0xec9bfe+=0x4)_0x435516[_0x3e0182(0x3a1)](_0x16c58b);var _0x3954e2=_0x42e8cd[_0x3e0182(0x34e)](_0x435516,_0x27539a);_0x5c6d72[_0x3e0182(0x3e5)](_0x3954e2);},'unpad':function(_0x5cb43a){const _0x3b95af=_0x418aca;var _0x2dee10=_0x5cb43a[_0x3b95af(0x457)][_0x5cb43a[_0x3b95af(0x27d)]-0x1>>>0x2]&0xff;_0x5cb43a['sigBytes']-=_0x2dee10;}};_0x28e12a['BlockCipher']=_0x10886f[_0x418aca(0x2f4)]({'cfg':_0x10886f[_0x418aca(0x36d)][_0x418aca(0x2f4)]({'mode':_0xa98e7e,'padding':_0x648b3b}),'reset':function(){const _0x1a62b6=_0x418aca;var _0x1335c0;_0x10886f[_0x1a62b6(0x3c9)][_0x1a62b6(0x18a)](this);var _0x448ea8=this[_0x1a62b6(0x36d)],_0x4eae15=_0x448ea8['iv'],_0x12ed9b=_0x448ea8[_0x1a62b6(0x4a3)];this['_xformMode']==this[_0x1a62b6(0x2f0)]?_0x1335c0=_0x12ed9b[_0x1a62b6(0x2bd)]:(_0x1335c0=_0x12ed9b[_0x1a62b6(0x3db)],this[_0x1a62b6(0x379)]=0x1),this[_0x1a62b6(0x1cd)]&&this['_mode']['__creator']==_0x1335c0?this['_mode']['init'](this,_0x4eae15&&_0x4eae15['words']):(this[_0x1a62b6(0x1cd)]=_0x1335c0[_0x1a62b6(0x18a)](_0x12ed9b,this,_0x4eae15&&_0x4eae15[_0x1a62b6(0x457)]),this[_0x1a62b6(0x1cd)][_0x1a62b6(0x510)]=_0x1335c0);},'_doProcessBlock':function(_0x1affde,_0x14069f){const _0x220bb3=_0x418aca;this['_mode'][_0x220bb3(0x455)](_0x1affde,_0x14069f);},'_doFinalize':function(){const _0x225dba=_0x418aca;var _0x360667,_0x358b18=this['cfg'][_0x225dba(0x52a)];return this[_0x225dba(0x429)]==this[_0x225dba(0x2f0)]?(_0x358b18['pad'](this[_0x225dba(0x3e1)],this['blockSize']),_0x360667=this[_0x225dba(0x441)](!0x0)):(_0x360667=this[_0x225dba(0x441)](!0x0),_0x358b18[_0x225dba(0x50a)](_0x360667)),_0x360667;},'blockSize':0x80/0x20});var _0x6d6b9c=_0x28e12a['CipherParams']=_0x30ef6b[_0x418aca(0x2f4)]({'init':function(_0x427ea0){const _0x2b2383=_0x418aca;this[_0x2b2383(0x21a)](_0x427ea0);},'toString':function(_0x4e1eb6){const _0x4b9453=_0x418aca;return(_0x4e1eb6||this[_0x4b9453(0x52c)])[_0x4b9453(0x38a)](this);}}),_0x11450f=_0x3b6b29[_0x418aca(0x3e4)]={},_0x3fef68=_0x11450f[_0x418aca(0x2d3)]={'stringify':function(_0xad6180){const _0x4967dd=_0x418aca;var _0x209ed4,_0x2127dd=_0xad6180['ciphertext'],_0x396ebc=_0xad6180[_0x4967dd(0x4f5)];return _0x209ed4=_0x396ebc?_0x42e8cd[_0x4967dd(0x34e)]([0x53616c74,0x65645f5f])['concat'](_0x396ebc)[_0x4967dd(0x3e5)](_0x2127dd):_0x2127dd,_0x209ed4[_0x4967dd(0x304)](_0x44243e);},'parse':function(_0xc1c936){const _0x5803a8=_0x418aca;var _0x16500e,_0x284d40=_0x44243e['parse'](_0xc1c936),_0x49452e=_0x284d40[_0x5803a8(0x457)];return _0x49452e[0x0]==0x53616c74&&_0x49452e[0x1]==0x65645f5f&&(_0x16500e=_0x42e8cd['create'](_0x49452e[_0x5803a8(0x29d)](0x2,0x4)),_0x49452e['splice'](0x0,0x4),_0x284d40[_0x5803a8(0x27d)]-=0x10),_0x6d6b9c[_0x5803a8(0x34e)]({'ciphertext':_0x284d40,'salt':_0x16500e});}},_0x226b70=_0x28e12a[_0x418aca(0x367)]=_0x30ef6b[_0x418aca(0x2f4)]({'cfg':_0x30ef6b[_0x418aca(0x2f4)]({'format':_0x3fef68}),'encrypt':function(_0x2807f0,_0x48826e,_0x2d9701,_0x3192c0){const _0x569814=_0x418aca;_0x3192c0=this[_0x569814(0x36d)]['extend'](_0x3192c0);var _0x25f4c0=_0x2807f0['createEncryptor'](_0x2d9701,_0x3192c0),_0x1ee2ca=_0x25f4c0['finalize'](_0x48826e),_0x4b1cba=_0x25f4c0['cfg'];return _0x6d6b9c[_0x569814(0x34e)]({'ciphertext':_0x1ee2ca,'key':_0x2d9701,'iv':_0x4b1cba['iv'],'algorithm':_0x2807f0,'mode':_0x4b1cba[_0x569814(0x4a3)],'padding':_0x4b1cba[_0x569814(0x52a)],'blockSize':_0x2807f0[_0x569814(0x25f)],'formatter':_0x3192c0[_0x569814(0x3e4)]});},'decrypt':function(_0x5144bb,_0x471a0b,_0x31c3f5,_0x26db8b){const _0x29499b=_0x418aca;return _0x26db8b=this[_0x29499b(0x36d)]['extend'](_0x26db8b),_0x471a0b=this[_0x29499b(0x252)](_0x471a0b,_0x26db8b[_0x29499b(0x3e4)]),_0x5144bb['createDecryptor'](_0x31c3f5,_0x26db8b)['finalize'](_0x471a0b['ciphertext']);},'_parse':function(_0xe9b535,_0x4f8e36){const _0x2d06a9=_0x418aca;return typeof _0xe9b535=='string'?_0x4f8e36[_0x2d06a9(0x1cb)](_0xe9b535,this):_0xe9b535;}}),_0xa2ecae=_0x3b6b29['kdf']={},_0x236dda=_0xa2ecae['OpenSSL']={'execute':function(_0x2436da,_0x58a055,_0x129c27,_0x10b27,_0x2ae3bc){const _0x4c09f9=_0x418aca;if(_0x10b27||(_0x10b27=_0x42e8cd[_0x4c09f9(0x19d)](0x40/0x8)),_0x2ae3bc)var _0x282efa=_0x20e7d4['create']({'keySize':_0x58a055+_0x129c27,'hasher':_0x2ae3bc})[_0x4c09f9(0x270)](_0x2436da,_0x10b27);else var _0x282efa=_0x20e7d4[_0x4c09f9(0x34e)]({'keySize':_0x58a055+_0x129c27})[_0x4c09f9(0x270)](_0x2436da,_0x10b27);var _0x382c7d=_0x42e8cd[_0x4c09f9(0x34e)](_0x282efa[_0x4c09f9(0x457)][_0x4c09f9(0x29d)](_0x58a055),_0x129c27*0x4);return _0x282efa[_0x4c09f9(0x27d)]=_0x58a055*0x4,_0x6d6b9c[_0x4c09f9(0x34e)]({'key':_0x282efa,'iv':_0x382c7d,'salt':_0x10b27});}},_0x5f38bb=_0x28e12a[_0x418aca(0x3a7)]=_0x226b70[_0x418aca(0x2f4)]({'cfg':_0x226b70[_0x418aca(0x36d)][_0x418aca(0x2f4)]({'kdf':_0x236dda}),'encrypt':function(_0x5bf071,_0xf2f543,_0x52a270,_0x6a3a2e){const _0x1d14d9=_0x418aca;_0x6a3a2e=this[_0x1d14d9(0x36d)]['extend'](_0x6a3a2e);var _0x395b86=_0x6a3a2e['kdf'][_0x1d14d9(0x432)](_0x52a270,_0x5bf071[_0x1d14d9(0x213)],_0x5bf071['ivSize'],_0x6a3a2e[_0x1d14d9(0x4f5)],_0x6a3a2e[_0x1d14d9(0x28c)]);_0x6a3a2e['iv']=_0x395b86['iv'];var _0x23ec0e=_0x226b70[_0x1d14d9(0x390)][_0x1d14d9(0x18a)](this,_0x5bf071,_0xf2f543,_0x395b86[_0x1d14d9(0x1b5)],_0x6a3a2e);return _0x23ec0e[_0x1d14d9(0x21a)](_0x395b86),_0x23ec0e;},'decrypt':function(_0xcf6da7,_0xa5db86,_0x1ceb71,_0x52defa){const _0x193517=_0x418aca;_0x52defa=this[_0x193517(0x36d)]['extend'](_0x52defa),_0xa5db86=this['_parse'](_0xa5db86,_0x52defa[_0x193517(0x3e4)]);var _0x5cbe92=_0x52defa['kdf'][_0x193517(0x432)](_0x1ceb71,_0xcf6da7[_0x193517(0x213)],_0xcf6da7[_0x193517(0x384)],_0xa5db86[_0x193517(0x4f5)],_0x52defa[_0x193517(0x28c)]);return _0x52defa['iv']=_0x5cbe92['iv'],_0x226b70[_0x193517(0x505)][_0x193517(0x18a)](this,_0xcf6da7,_0xa5db86,_0x5cbe92['key'],_0x52defa);}});}();}));}),_0x563068=_0x3712b0((_0x47683a,_0xa3cf1)=>{(function(_0x43ac0b,_0x5e8519,_0x1b5895){const _0x27584a=_0x50be;typeof _0x47683a=='object'?_0xa3cf1[_0x27584a(0x50d)]=_0x47683a=_0x5e8519(_0x13f9ca(),_0x28191d(),_0x3bcf96(),_0xd45db5(),_0xdf37b6()):typeof define==_0x27584a(0x329)&&define[_0x27584a(0x4cf)]?define([_0x27584a(0x256),_0x27584a(0x369),_0x27584a(0x516),_0x27584a(0x4b1),'./cipher-core'],_0x5e8519):_0x5e8519(_0x43ac0b['CryptoJS']);}(_0x47683a,function(_0x1d74e3){const _0x600777=_0x50be;return(function(){const _0x6755be=_0x50be;var _0x533b7c=_0x1d74e3,_0x2637dd=_0x533b7c[_0x6755be(0x290)][_0x6755be(0x341)],_0x4ceb76=_0x533b7c[_0x6755be(0x1f9)],_0x258db5=[],_0x11890b=[],_0x196f98=[],_0x2e1c88=[],_0x4e5e8f=[],_0x4217bf=[],_0x5d2860=[],_0x35c18f=[],_0x30dc9b=[],_0x1bb4be=[];(function(){for(var _0x3e23b6=[],_0xb8f693=0x0;_0xb8f693<0x100;_0xb8f693++)_0xb8f693<0x80?_0x3e23b6[_0xb8f693]=_0xb8f693<<0x1:_0x3e23b6[_0xb8f693]=_0xb8f693<<0x1^0x11b;for(var _0x27c220=0x0,_0x3325f9=0x0,_0xb8f693=0x0;_0xb8f693<0x100;_0xb8f693++){var _0x1ee16c=_0x3325f9^_0x3325f9<<0x1^_0x3325f9<<0x2^_0x3325f9<<0x3^_0x3325f9<<0x4;_0x1ee16c=_0x1ee16c>>>0x8^_0x1ee16c&0xff^0x63,_0x258db5[_0x27c220]=_0x1ee16c,_0x11890b[_0x1ee16c]=_0x27c220;var _0x33b224=_0x3e23b6[_0x27c220],_0x1cf564=_0x3e23b6[_0x33b224],_0x13ba83=_0x3e23b6[_0x1cf564],_0x3de021=_0x3e23b6[_0x1ee16c]*0x101^_0x1ee16c*0x1010100;_0x196f98[_0x27c220]=_0x3de021<<0x18|_0x3de021>>>0x8,_0x2e1c88[_0x27c220]=_0x3de021<<0x10|_0x3de021>>>0x10,_0x4e5e8f[_0x27c220]=_0x3de021<<0x8|_0x3de021>>>0x18,_0x4217bf[_0x27c220]=_0x3de021;var _0x3de021=_0x13ba83*0x1010101^_0x1cf564*0x10001^_0x33b224*0x101^_0x27c220*0x1010100;_0x5d2860[_0x1ee16c]=_0x3de021<<0x18|_0x3de021>>>0x8,_0x35c18f[_0x1ee16c]=_0x3de021<<0x10|_0x3de021>>>0x10,_0x30dc9b[_0x1ee16c]=_0x3de021<<0x8|_0x3de021>>>0x18,_0x1bb4be[_0x1ee16c]=_0x3de021,_0x27c220?(_0x27c220=_0x33b224^_0x3e23b6[_0x3e23b6[_0x3e23b6[_0x13ba83^_0x33b224]]],_0x3325f9^=_0x3e23b6[_0x3e23b6[_0x3325f9]]):_0x27c220=_0x3325f9=0x1;}}());var _0x2214df=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x35184e=_0x4ceb76[_0x6755be(0x3f4)]=_0x2637dd[_0x6755be(0x2f4)]({'_doReset':function(){const _0x20964d=_0x6755be;var _0x2732cc;if(!(this[_0x20964d(0x375)]&&this[_0x20964d(0x3b1)]===this[_0x20964d(0x272)])){for(var _0x20141f=this['_keyPriorReset']=this[_0x20964d(0x272)],_0x5265b6=_0x20141f['words'],_0x376aa6=_0x20141f[_0x20964d(0x27d)]/0x4,_0xfa783e=((this[_0x20964d(0x375)]=_0x376aa6+0x6)+0x1)*0x4,_0x4f2193=this[_0x20964d(0x1f5)]=[],_0x3e79e1=0x0;_0x3e79e1<_0xfa783e;_0x3e79e1++)_0x3e79e1<_0x376aa6?_0x4f2193[_0x3e79e1]=_0x5265b6[_0x3e79e1]:(_0x2732cc=_0x4f2193[_0x3e79e1-0x1],_0x3e79e1%_0x376aa6?_0x376aa6>0x6&&_0x3e79e1%_0x376aa6==0x4&&(_0x2732cc=_0x258db5[_0x2732cc>>>0x18]<<0x18|_0x258db5[_0x2732cc>>>0x10&0xff]<<0x10|_0x258db5[_0x2732cc>>>0x8&0xff]<<0x8|_0x258db5[_0x2732cc&0xff]):(_0x2732cc=_0x2732cc<<0x8|_0x2732cc>>>0x18,_0x2732cc=_0x258db5[_0x2732cc>>>0x18]<<0x18|_0x258db5[_0x2732cc>>>0x10&0xff]<<0x10|_0x258db5[_0x2732cc>>>0x8&0xff]<<0x8|_0x258db5[_0x2732cc&0xff],_0x2732cc^=_0x2214df[_0x3e79e1/_0x376aa6|0x0]<<0x18),_0x4f2193[_0x3e79e1]=_0x4f2193[_0x3e79e1-_0x376aa6]^_0x2732cc);for(var _0x39c317=this['_invKeySchedule']=[],_0x4c6e86=0x0;_0x4c6e86<_0xfa783e;_0x4c6e86++){var _0x3e79e1=_0xfa783e-_0x4c6e86;if(_0x4c6e86%0x4)var _0x2732cc=_0x4f2193[_0x3e79e1];else var _0x2732cc=_0x4f2193[_0x3e79e1-0x4];_0x4c6e86<0x4||_0x3e79e1<=0x4?_0x39c317[_0x4c6e86]=_0x2732cc:_0x39c317[_0x4c6e86]=_0x5d2860[_0x258db5[_0x2732cc>>>0x18]]^_0x35c18f[_0x258db5[_0x2732cc>>>0x10&0xff]]^_0x30dc9b[_0x258db5[_0x2732cc>>>0x8&0xff]]^_0x1bb4be[_0x258db5[_0x2732cc&0xff]];}}},'encryptBlock':function(_0x1a0e3e,_0x332a07){const _0x323c3f=_0x6755be;this[_0x323c3f(0x323)](_0x1a0e3e,_0x332a07,this[_0x323c3f(0x1f5)],_0x196f98,_0x2e1c88,_0x4e5e8f,_0x4217bf,_0x258db5);},'decryptBlock':function(_0x42e4d1,_0x4d084f){const _0x53d76a=_0x6755be;var _0x2de5d5=_0x42e4d1[_0x4d084f+0x1];_0x42e4d1[_0x4d084f+0x1]=_0x42e4d1[_0x4d084f+0x3],_0x42e4d1[_0x4d084f+0x3]=_0x2de5d5,this[_0x53d76a(0x323)](_0x42e4d1,_0x4d084f,this['_invKeySchedule'],_0x5d2860,_0x35c18f,_0x30dc9b,_0x1bb4be,_0x11890b);var _0x2de5d5=_0x42e4d1[_0x4d084f+0x1];_0x42e4d1[_0x4d084f+0x1]=_0x42e4d1[_0x4d084f+0x3],_0x42e4d1[_0x4d084f+0x3]=_0x2de5d5;},'_doCryptBlock':function(_0x48569d,_0x22aff8,_0x52cff2,_0x53856e,_0x28a052,_0x2d2b23,_0x39c393,_0x241f47){for(var _0x1df611=this['_nRounds'],_0x5dd589=_0x48569d[_0x22aff8]^_0x52cff2[0x0],_0x5a59d4=_0x48569d[_0x22aff8+0x1]^_0x52cff2[0x1],_0xa48ebc=_0x48569d[_0x22aff8+0x2]^_0x52cff2[0x2],_0x2304f9=_0x48569d[_0x22aff8+0x3]^_0x52cff2[0x3],_0x270f5b=0x4,_0x11aab0=0x1;_0x11aab0<_0x1df611;_0x11aab0++){var _0x3c59a2=_0x53856e[_0x5dd589>>>0x18]^_0x28a052[_0x5a59d4>>>0x10&0xff]^_0x2d2b23[_0xa48ebc>>>0x8&0xff]^_0x39c393[_0x2304f9&0xff]^_0x52cff2[_0x270f5b++],_0x51afc9=_0x53856e[_0x5a59d4>>>0x18]^_0x28a052[_0xa48ebc>>>0x10&0xff]^_0x2d2b23[_0x2304f9>>>0x8&0xff]^_0x39c393[_0x5dd589&0xff]^_0x52cff2[_0x270f5b++],_0x5a8bcf=_0x53856e[_0xa48ebc>>>0x18]^_0x28a052[_0x2304f9>>>0x10&0xff]^_0x2d2b23[_0x5dd589>>>0x8&0xff]^_0x39c393[_0x5a59d4&0xff]^_0x52cff2[_0x270f5b++],_0x4e4f9a=_0x53856e[_0x2304f9>>>0x18]^_0x28a052[_0x5dd589>>>0x10&0xff]^_0x2d2b23[_0x5a59d4>>>0x8&0xff]^_0x39c393[_0xa48ebc&0xff]^_0x52cff2[_0x270f5b++];_0x5dd589=_0x3c59a2,_0x5a59d4=_0x51afc9,_0xa48ebc=_0x5a8bcf,_0x2304f9=_0x4e4f9a;}var _0x3c59a2=(_0x241f47[_0x5dd589>>>0x18]<<0x18|_0x241f47[_0x5a59d4>>>0x10&0xff]<<0x10|_0x241f47[_0xa48ebc>>>0x8&0xff]<<0x8|_0x241f47[_0x2304f9&0xff])^_0x52cff2[_0x270f5b++],_0x51afc9=(_0x241f47[_0x5a59d4>>>0x18]<<0x18|_0x241f47[_0xa48ebc>>>0x10&0xff]<<0x10|_0x241f47[_0x2304f9>>>0x8&0xff]<<0x8|_0x241f47[_0x5dd589&0xff])^_0x52cff2[_0x270f5b++],_0x5a8bcf=(_0x241f47[_0xa48ebc>>>0x18]<<0x18|_0x241f47[_0x2304f9>>>0x10&0xff]<<0x10|_0x241f47[_0x5dd589>>>0x8&0xff]<<0x8|_0x241f47[_0x5a59d4&0xff])^_0x52cff2[_0x270f5b++],_0x4e4f9a=(_0x241f47[_0x2304f9>>>0x18]<<0x18|_0x241f47[_0x5dd589>>>0x10&0xff]<<0x10|_0x241f47[_0x5a59d4>>>0x8&0xff]<<0x8|_0x241f47[_0xa48ebc&0xff])^_0x52cff2[_0x270f5b++];_0x48569d[_0x22aff8]=_0x3c59a2,_0x48569d[_0x22aff8+0x1]=_0x51afc9,_0x48569d[_0x22aff8+0x2]=_0x5a8bcf,_0x48569d[_0x22aff8+0x3]=_0x4e4f9a;},'keySize':0x100/0x20});_0x533b7c[_0x6755be(0x3f4)]=_0x2637dd[_0x6755be(0x251)](_0x35184e);}()),_0x1d74e3[_0x600777(0x3f4)];}));}),_0x228ede=_0x3712b0((_0x33f7e4,_0x104ce4)=>{(function(_0x2d97d2,_0x4b5dda){const _0x69b4ab=_0x50be;typeof _0x33f7e4==_0x69b4ab(0x240)?_0x104ce4[_0x69b4ab(0x50d)]=_0x33f7e4=_0x4b5dda(_0x13f9ca()):typeof define=='function'&&define[_0x69b4ab(0x4cf)]?define([_0x69b4ab(0x256)],_0x4b5dda):_0x4b5dda(_0x2d97d2[_0x69b4ab(0x46b)]);}(_0x33f7e4,function(_0x4e03a0){const _0x502a4c=_0x50be;return _0x4e03a0['enc'][_0x502a4c(0x1c4)];}));}),_0x33278f=_0x3712b0((_0x4f2d81,_0x5e09be)=>{(function(_0x590ea6,_0x208488){const _0x1539e7=_0x50be;typeof _0x4f2d81==_0x1539e7(0x240)?_0x5e09be['exports']=_0x4f2d81=_0x208488(_0x13f9ca()):typeof define==_0x1539e7(0x329)&&define[_0x1539e7(0x4cf)]?define([_0x1539e7(0x256)],_0x208488):_0x208488(_0x590ea6[_0x1539e7(0x46b)]);}(_0x4f2d81,function(_0x70e641){const _0x4d077f=_0x50be;return(function(){const _0x1cf641=_0x50be;if(typeof ArrayBuffer==_0x1cf641(0x329)){var _0x218aa9=_0x70e641[_0x1cf641(0x290)][_0x1cf641(0x183)],_0x4baf98=_0x218aa9[_0x1cf641(0x51f)],_0x48f07f=_0x218aa9[_0x1cf641(0x51f)]=function(_0x20f3a0){const _0x6ef3de=_0x1cf641;if(_0x20f3a0 instanceof ArrayBuffer&&(_0x20f3a0=new Uint8Array(_0x20f3a0)),(_0x20f3a0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x20f3a0 instanceof Uint8ClampedArray||_0x20f3a0 instanceof Int16Array||_0x20f3a0 instanceof Uint16Array||_0x20f3a0 instanceof Int32Array||_0x20f3a0 instanceof Uint32Array||_0x20f3a0 instanceof Float32Array||_0x20f3a0 instanceof Float64Array)&&(_0x20f3a0=new Uint8Array(_0x20f3a0[_0x6ef3de(0x278)],_0x20f3a0[_0x6ef3de(0x38f)],_0x20f3a0[_0x6ef3de(0x4de)])),_0x20f3a0 instanceof Uint8Array){for(var _0x1f8057=_0x20f3a0[_0x6ef3de(0x4de)],_0x23b0c3=[],_0x193799=0x0;_0x193799<_0x1f8057;_0x193799++)_0x23b0c3[_0x193799>>>0x2]|=_0x20f3a0[_0x193799]<<0x18-_0x193799%0x4*0x8;_0x4baf98[_0x6ef3de(0x18a)](this,_0x23b0c3,_0x1f8057);}else _0x4baf98[_0x6ef3de(0x438)](this,arguments);};_0x48f07f[_0x1cf641(0x4d0)]=_0x218aa9;}}()),_0x70e641[_0x4d077f(0x290)][_0x4d077f(0x183)];}));}),_0x2d5fc6=_0x3712b0((_0x53ddfe,_0x29f9d5)=>{(function(_0x587fee,_0x4b490a,_0xd87c0){const _0x367bfa=_0x50be;typeof _0x53ddfe==_0x367bfa(0x240)?_0x29f9d5[_0x367bfa(0x50d)]=_0x53ddfe=_0x4b490a(_0x13f9ca(),_0xdf37b6()):typeof define=='function'&&define['amd']?define([_0x367bfa(0x256),_0x367bfa(0x262)],_0x4b490a):_0x4b490a(_0x587fee['CryptoJS']);}(_0x53ddfe,function(_0x18cc23){const _0x44618b=_0x50be;return _0x18cc23[_0x44618b(0x2b2)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x18cc23[_0x44618b(0x2b2)][_0x44618b(0x49f)];}));}),_0x15e936=_0x124565(_0x563068()),_0x49c8fe=_0x124565(_0x28191d()),_0x416a24=_0x124565(_0x228ede()),_0x4d0b22=_0x124565(_0x33278f()),_0x14f44b=_0x124565(_0x2d5fc6());function _0x4c3c1b(_0x4d1cb6,_0x3b9752){const _0x144e13=_0x2f9c02;let _0xf8cc43=_0x3b9752-_0x4d1cb6[_0x144e13(0x4ca)]%_0x3b9752;return _0x4d1cb6+String[_0x144e13(0x40e)](_0xf8cc43)[_0x144e13(0x477)](_0xf8cc43);}function _0x1df261(_0x4577f5,_0x3cf03b){const _0x3c0db5=_0x2f9c02;let _0x373876=_0x4d0b22[_0x3c0db5(0x491)][_0x3c0db5(0x19d)](0x10),_0x173845=_0x4c3c1b(_0x4577f5,0x10),_0x5732a0=_0x15e936[_0x3c0db5(0x491)][_0x3c0db5(0x390)](_0x416a24[_0x3c0db5(0x491)][_0x3c0db5(0x1cb)](_0x173845),_0x49c8fe['default'][_0x3c0db5(0x1cb)](_0x3cf03b),{'iv':_0x373876,'padding':_0x14f44b[_0x3c0db5(0x491)]});return _0x373876['concat'](_0x5732a0['ciphertext'])['toString'](_0x49c8fe[_0x3c0db5(0x491)]);}function _0x44e8ec(){const _0xf4fb2d=_0x2f9c02;let _0x3887c8=(0x0,_0x5626bb[_0xf4fb2d(0x4d7)])()[_0xf4fb2d(0x538)];if(typeof window<'u'&&window['location']!==void 0x0&&_0x3887c8){let _0x2bad2d={'time':Math[_0xf4fb2d(0x2cb)](Date[_0xf4fb2d(0x43f)]()/0x3e8),'domain':location['hostname']};return _0x1df261(JSON['stringify'](_0x2bad2d),_0x3887c8);}}let _0x3ac2a7=class{constructor(_0x269458){const _0x18d6b4=_0x2f9c02;this[_0x18d6b4(0x48d)]=_0x269458,this[_0x18d6b4(0x40f)]();}['_initRequestHeader'](){const _0xff29d0=_0x2f9c02;this['_httpService'][_0xff29d0(0x21c)]({'interceptor':(_0xbcc082,_0x293762)=>{const _0xbf5817=_0xff29d0;let _0x25b9f7=_0xbcc082[_0xbf5817(0x283)],_0x52a74a=_0x44e8ec();return _0x52a74a&&_0x25b9f7[_0xbf5817(0x2c0)](_0xbf5817(0x2c7),_0x52a74a),_0x293762(_0xbcc082);}});}};_0x3ac2a7=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3[_0x2f9c02(0x2c9)]))],_0x3ac2a7);let _0x47428b=class extends _0x4fa1c7[_0x2f9c02(0x1bb)]{constructor(_0x21460d,_0x30e952,_0x441fa6){const _0x187f25=_0x2f9c02;super(),this['_logService']=_0x21460d,this[_0x187f25(0x48b)]=_0x30e952,this[_0x187f25(0x521)]=_0x441fa6,_0x17e69d(this,'_unitInfo$',new _0x431df8[(_0x187f25(0x346))](null)),_0x17e69d(this,_0x187f25(0x446),this[_0x187f25(0x1b6)][_0x187f25(0x3a3)]());}async['loadUnitOfRevision'](_0xa31ac0,_0xd6c8c1,_0x28dde0){const _0xf4a142=_0x2f9c02;this['_unitInfo$']['next']({'unitId':_0xa31ac0,'type':_0xd6c8c1});let _0x3b529a=null;switch(_0xd6c8c1){case _0x139b11[_0xf4a142(0x528)]:_0x3b529a=await this[_0xf4a142(0x48b)][_0xf4a142(0x460)](_0xa31ac0,_0x28dde0);break;case _0x139b11[_0xf4a142(0x1c3)]:_0x3b529a=await this[_0xf4a142(0x48b)]['loadDoc'](_0xa31ac0,_0x28dde0);break;default:this[_0xf4a142(0x22c)]['error']('[DataLoaderService]',_0xf4a142(0x31a));break;}return _0x3b529a;}async['loadUnit'](_0x432f38,_0x1c2475,_0xc7b90d){const _0x47c197=_0x2f9c02;var _0x26fbad;this[_0x47c197(0x1b6)][_0x47c197(0x4d6)]({'unitId':_0x432f38,'type':_0x1c2475,'subUnitId':_0xc7b90d});let _0x122cd9=0x0,_0x31fc21=await((_0x26fbad=this[_0x47c197(0x521)])==null?void 0x0:_0x26fbad['loadOfflineData'](_0x432f38));return _0x31fc21&&(_0x31fc21[_0x47c197(0x27e)]||_0x31fc21[_0x47c197(0x494)]['length']!==0x0)&&(_0x122cd9=_0x31fc21['rev']),_0x122cd9===0x0&&this[_0x47c197(0x22c)]['debug']('[DataLoaderService]',_0x47c197(0x447)),this[_0x47c197(0x325)](_0x432f38,_0x1c2475,_0x122cd9);}};_0x47428b=_0x230514([_0x4bc410(0x0,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4a1cad[_0x2f9c02(0x200)])),_0x4bc410(0x2,(0x0,_0x4fa1c7['Optional'])(_0x259e4f))],_0x47428b);let _0x2369dd=[_0x2f9c02(0x41e),_0x2f9c02(0x3fd),_0x2f9c02(0x1d1),_0x2f9c02(0x3a0),_0x2f9c02(0x370)],_0x4d8c5e=class{constructor(_0x54d6a0,_0x503970,_0x56e61c){const _0x178565=_0x2f9c02;this['_httpService']=_0x54d6a0,this[_0x178565(0x280)]=_0x503970,this[_0x178565(0x450)]=_0x56e61c,_0x17e69d(this,'_waitCount',0x0),_0x17e69d(this,_0x178565(0x269),new _0x431df8[(_0x178565(0x43c))]()),_0x17e69d(this,_0x178565(0x253),this[_0x178565(0x269)]),_0x17e69d(this,'_imageSourceCache',new Map());}[_0x2f9c02(0x1a3)](_0x4bce61){const _0x499cd5=_0x2f9c02;this['_waitCount']=_0x4bce61,this['_change$'][_0x499cd5(0x4d6)](_0x4bce61);}[_0x2f9c02(0x38e)](_0x24b4cf,_0x4ff55e){const _0x17aff4=_0x2f9c02;if(_0x4ff55e===_0x332921[_0x17aff4(0x3ee)][_0x17aff4(0x507)]){let _0x27a78f=new Image();return _0x27a78f[_0x17aff4(0x503)]=_0x24b4cf,_0x27a78f;}return this['_imageSourceCache'][_0x17aff4(0x1df)](_0x24b4cf);}[_0x2f9c02(0x258)](_0x5ed35d,_0xa75b13,_0x449b8c){const _0x3c9ac0=_0x2f9c02;_0xa75b13===_0x332921['ImageSourceType'][_0x3c9ac0(0x507)]||_0x449b8c==null||this[_0x3c9ac0(0x409)][_0x3c9ac0(0x2c0)](_0x5ed35d,_0x449b8c);}async[_0x2f9c02(0x1f4)](_0x323837){const _0x4e5e46=_0x2f9c02;try{let _0x100feb=this['_replaceFileID'](this[_0x4e5e46(0x45e)](),''+_0x323837),_0x4934cc=(await this[_0x4e5e46(0x48d)][_0x4e5e46(0x1df)](_0x100feb))[_0x4e5e46(0x46e)];if(_0x4934cc[_0x4e5e46(0x2c3)]&&_0x4934cc[_0x4e5e46(0x2c3)][_0x4e5e46(0x1f7)]===_0x59f5dd['OK']){let _0x744b39=(0x0,_0x4fa1c7[_0x4e5e46(0x4eb)])(_0x4934cc[_0x4e5e46(0x260)],this[_0x4e5e46(0x518)]());return Promise[_0x4e5e46(0x19f)](_0x744b39);}return Promise[_0x4e5e46(0x1ea)](_0x4934cc[_0x4e5e46(0x2c3)]);}catch(_0x25bdda){return Promise[_0x4e5e46(0x1ea)](_0x25bdda);}}async[_0x2f9c02(0x488)](_0x491a25){const _0x346865=_0x2f9c02;let _0x1b58bc='';if(!_0x2369dd[_0x346865(0x389)](_0x491a25[_0x346865(0x29a)]))return this[_0x346865(0x1e5)](),Promise['reject'](Error(_0x332921[_0x346865(0x397)][_0x346865(0x421)]));if(_0x491a25[_0x346865(0x373)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x346865(0x1ea)](Error(_0x332921[_0x346865(0x397)][_0x346865(0x50c)]));try{let _0x52ac3d=new FormData();_0x52ac3d[_0x346865(0x517)](_0x346865(0x2d7),_0x491a25);let _0x3a5843=this[_0x346865(0x450)][_0x346865(0x2f5)](),_0x5f2b35=_0x3a5843==null?void 0x0:_0x3a5843[_0x346865(0x34d)]();if(!_0x5f2b35)throw Error('unitId\x20is\x20not\x20found');let _0x567429=this[_0x346865(0x2f6)]()+_0x346865(0x286)+_0x491a25[_0x346865(0x373)][_0x346865(0x304)]()+'&source='+_0x472134['UnitEmbedded']+_0x346865(0x3af)+encodeURIComponent(_0x5f2b35),_0x200520={'body':_0x52ac3d},_0x2d4bff=(await this[_0x346865(0x48d)]['post'](_0x567429,_0x200520))[_0x346865(0x46e)];if(typeof _0x2d4bff[_0x346865(0x529)]!=_0x346865(0x3c0))return this['_decreaseWaiting'](),Promise[_0x346865(0x1ea)](Error(_0x332921['ImageUploadStatusType'][_0x346865(0x361)]));_0x1b58bc=_0x2d4bff[_0x346865(0x529)];}catch{return this[_0x346865(0x1e5)](),Promise[_0x346865(0x1ea)](Error(_0x332921['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x486d4c,_0x21d9f1)=>{const _0x3492be=_0x346865;let _0x44d812=new FileReader();_0x44d812[_0x3492be(0x417)](_0x491a25),_0x44d812[_0x3492be(0x2b0)]=_0x564b28=>{const _0x2d7be7=_0x3492be;var _0x594a08;let _0x3f6199=(_0x594a08=_0x564b28[_0x2d7be7(0x4ba)])==null?void 0x0:_0x594a08[_0x2d7be7(0x3d4)];if(_0x3f6199==null){this['_decreaseWaiting'](),_0x21d9f1(Error(_0x332921[_0x2d7be7(0x397)][_0x2d7be7(0x361)]));return;}_0x486d4c({'imageId':(0x0,_0x4fa1c7[_0x2d7be7(0x20f)])(0x6),'imageSourceType':_0x332921[_0x2d7be7(0x3ee)]['UUID'],'source':_0x1b58bc,'base64Cache':_0x3f6199,'status':_0x332921[_0x2d7be7(0x397)][_0x2d7be7(0x32c)]}),this['_decreaseWaiting']();};});}[_0x2f9c02(0x2f6)](){const _0xa0087b=_0x2f9c02;var _0x5e805c;let _0xac889d=this['_configService']['getConfig'](_0x1f2256);return(_0x5e805c=_0xac889d==null?void 0x0:_0xac889d[_0xa0087b(0x1b9)])==null?_0xa0087b(0x2da):_0x5e805c;}[_0x2f9c02(0x45e)](){const _0x970d12=_0x2f9c02;var _0x201042;let _0x59f292=this[_0x970d12(0x280)][_0x970d12(0x21e)](_0x1f2256);return(_0x201042=_0x59f292==null?void 0x0:_0x59f292[_0x970d12(0x318)])==null?_0x970d12(0x2b4):_0x201042;}[_0x2f9c02(0x518)](){const _0x14a6b4=_0x2f9c02;var _0x5e661e;let _0x322d15=this[_0x14a6b4(0x280)][_0x14a6b4(0x21e)](_0x1f2256);return(_0x5e661e=_0x322d15==null?void 0x0:_0x322d15[_0x14a6b4(0x2fb)])==null?location[_0x14a6b4(0x47c)]:_0x5e661e;}[_0x2f9c02(0x495)](_0x38c609,_0x1b81ca){const _0x203393=_0x2f9c02;return _0x38c609[_0x203393(0x37c)]('{fileID}',_0x1b81ca);}['_decreaseWaiting'](){const _0x51d804=_0x2f9c02;--this[_0x51d804(0x461)],this[_0x51d804(0x269)]['next'](this[_0x51d804(0x461)]);}};_0x4d8c5e=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7['Inject'])(_0x4ba8c3[_0x2f9c02(0x2c9)])),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2bc)]),_0x4bc410(0x2,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x1fc)]))],_0x4d8c5e);let _0x5c4c46=class{constructor(_0x87deb5,_0x32cb5f){const _0x263f72=_0x2f9c02;this[_0x263f72(0x280)]=_0x87deb5,this['_HTTPService']=_0x32cb5f;}[_0x2f9c02(0x1b8)](){const _0x3ea764=_0x2f9c02;var _0x243189;let _0x2298db=this['_configService'][_0x3ea764(0x21e)](_0x1f2256);return(_0x243189=_0x2298db==null?void 0x0:_0x2298db[_0x3ea764(0x4b2)])==null?_0x3ea764(0x347):_0x243189;}async[_0x2f9c02(0x3b0)](_0x50e7a7){const _0x1790c4=_0x2f9c02;let _0x1b8c69=this['_getAPIPrefixPath']()+_0x1790c4(0x208);return{'list':[{'title':_0x1790c4(0x4dc),'mentions':(await this[_0x1790c4(0x35a)][_0x1790c4(0x1df)](_0x1b8c69,{'params':{'objectID':_0x50e7a7[_0x1790c4(0x2a9)],'unitID':_0x50e7a7['unitId']}}))[_0x1790c4(0x46e)][_0x1790c4(0x239)][_0x1790c4(0x1e4)](_0x1fc058=>({'objectId':_0x1fc058['id'],'name':_0x1fc058['subject'][_0x1790c4(0x519)],'metadata':{'icon':_0x1fc058['subject'][_0x1790c4(0x374)]},'label':_0x1fc058[_0x1790c4(0x522)][_0x1790c4(0x519)],'objectType':_0x4fa1c7[_0x1790c4(0x1c5)][_0x1790c4(0x3e8)]})),'metadata':{},'type':_0x4fa1c7[_0x1790c4(0x1c5)][_0x1790c4(0x3e8)]}]};}};_0x5c4c46=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x2bc)])),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3['HTTPService']))],_0x5c4c46);let _0x52f7f3=class extends _0x4fa1c7[_0x2f9c02(0x1bb)]{constructor(_0x2ac149,_0x177c93,_0x3e1f03,_0x232a5d,_0x9042e1){const _0x40c146=_0x2f9c02;super(),this[_0x40c146(0x427)]=_0x2ac149,this[_0x40c146(0x450)]=_0x177c93,this['_permissionService']=_0x3e1f03,this[_0x40c146(0x2c5)]=_0x232a5d,this[_0x40c146(0x298)]=_0x9042e1,this[_0x40c146(0x3f9)](),this[_0x40c146(0x31d)]();}[_0x2f9c02(0x31d)](){const _0x594a50=_0x2f9c02;let _0x3fea74=async _0x345fae=>{const _0x4886f0=_0x50be;(await this[_0x4886f0(0x2c5)][_0x4886f0(0x241)](_0x345fae))[_0x4886f0(0x466)][_0x4886f0(0x2a4)]((0x0,_0x3bb026[_0x4886f0(0x423)])(_0x5e1010=>_0x5e1010[_0x4886f0(0x509)]===_0x4a1cad['CollaborationEvent'][_0x4886f0(0x35f)]),(0x0,_0x3bb026[_0x4886f0(0x182)])(this[_0x4886f0(0x26e)]))[_0x4886f0(0x47f)](_0x20f4b5=>{const _0x15ed31=_0x4886f0;let {reason:_0x4a9b80}=_0x20f4b5[_0x15ed31(0x275)];this[_0x15ed31(0x298)][_0x15ed31(0x2e5)]({'id':_0x1ef886[_0x15ed31(0x52e)],'data':_0x4a9b80}),this[_0x15ed31(0x425)][_0x15ed31(0x284)](new _0x376d47[(_0x15ed31(0x2cd))](_0x345fae)['id'],!0x1),this[_0x15ed31(0x2c5)][_0x15ed31(0x4cb)](_0x345fae);});};(0x0,_0x431df8[_0x594a50(0x1fd)])(this[_0x594a50(0x450)]['getTypeOfUnitAdded$'](_0x4fa1c7['UniverInstanceType'][_0x594a50(0x528)]),this[_0x594a50(0x450)][_0x594a50(0x415)](_0x4fa1c7['UniverInstanceType'][_0x594a50(0x1c3)]))[_0x594a50(0x2a4)]((0x0,_0x3bb026[_0x594a50(0x1e4)])(_0x4285d2=>_0x4285d2[_0x594a50(0x34d)]()),(0x0,_0x3bb026[_0x594a50(0x423)])(_0x5787fe=>!(0x0,_0x4fa1c7[_0x594a50(0x470)])(_0x5787fe)),(0x0,_0x3bb026['takeUntil'])(this[_0x594a50(0x26e)]))[_0x594a50(0x47f)](_0x459973=>{_0x3fea74(_0x459973);});}[_0x2f9c02(0x3f9)](){const _0x1a9dde=_0x2f9c02;let _0x94068e=async _0x325480=>{const _0x533cbe=_0x50be;let _0x2e36d2=await this[_0x533cbe(0x2c5)][_0x533cbe(0x241)](_0x325480),_0x9f44d0=this[_0x533cbe(0x427)][_0x533cbe(0x1df)](_0x376d47[_0x533cbe(0x39f)]);_0x2e36d2[_0x533cbe(0x466)][_0x533cbe(0x2a4)]((0x0,_0x3bb026['filter'])(_0x2609f3=>_0x2609f3[_0x533cbe(0x509)]===_0x4a1cad[_0x533cbe(0x31f)][_0x533cbe(0x4d8)]),(0x0,_0x3bb026[_0x533cbe(0x182)])(this[_0x533cbe(0x26e)]))['subscribe'](_0x3879bc=>{const _0x47300c=_0x533cbe;let {objectId:_0x2cd359}=_0x3879bc[_0x47300c(0x275)];_0x2cd359===_0x325480?_0x9f44d0[_0x47300c(0x3c4)](_0x325480):_0x9f44d0[_0x47300c(0x49c)](_0x325480,_0x2cd359);});};(0x0,_0x431df8['merge'])(this['_univerInstanceService'][_0x1a9dde(0x415)](_0x4fa1c7['UniverInstanceType'][_0x1a9dde(0x528)]))[_0x1a9dde(0x2a4)]((0x0,_0x3bb026[_0x1a9dde(0x1e4)])(_0x2f08a1=>_0x2f08a1['getUnitId']()),(0x0,_0x3bb026[_0x1a9dde(0x423)])(_0x4e33b9=>!(0x0,_0x4fa1c7[_0x1a9dde(0x470)])(_0x4e33b9)),(0x0,_0x3bb026[_0x1a9dde(0x182)])(this[_0x1a9dde(0x26e)]))['subscribe'](_0x3d1940=>{_0x94068e(_0x3d1940);});}};_0x52f7f3=_0x230514([_0x4bc410(0x0,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7[_0x2f9c02(0x204)])),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x1fc)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x218)]),_0x4bc410(0x3,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x163223)),_0x4bc410(0x4,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x1619bd))],_0x52f7f3);let _0x34497c=class{constructor(_0x4e9573,_0x96428a){const _0x22a360=_0x2f9c02;this[_0x22a360(0x280)]=_0x4e9573,this[_0x22a360(0x48d)]=_0x96428a;}async['getUnitOnRev'](_0x1b2843,_0x2c112c){const _0x2e0b4f=_0x2f9c02;var _0x5dc993;let {unitID:_0x2a5b28,type:_0x760b33,revision:_0x5c663d=0x0}=_0x2c112c,_0x464819=this[_0x2e0b4f(0x1c0)]()+'/'+_0x760b33+_0x2e0b4f(0x26b)+_0x2a5b28+_0x2e0b4f(0x4fc)+_0x5c663d,_0x15f1fb=(await this[_0x2e0b4f(0x48d)]['get'](_0x464819))[_0x2e0b4f(0x46e)],_0x180898=(_0x5dc993=_0x15f1fb[_0x2e0b4f(0x508)])==null?void 0x0:_0x5dc993[_0x2e0b4f(0x355)];if(_0x180898){let _0xb99310=_0x180898==null?void 0x0:_0x180898['originalMeta'];_0x180898[_0x2e0b4f(0x451)]=_0x4a1cad[_0x2e0b4f(0x4fb)]['encode']((0x0,_0x4a1cad['b64DecodeUnicode'])(_0xb99310)),Object[_0x2e0b4f(0x248)](_0x180898[_0x2e0b4f(0x4b8)])[_0x2e0b4f(0x401)](([,_0xcad9c9])=>{const _0x185ec3=_0x2e0b4f;let _0x2b4a4b=_0xcad9c9[_0x185ec3(0x451)];_0xcad9c9[_0x185ec3(0x451)]=_0x4a1cad[_0x185ec3(0x4fb)][_0x185ec3(0x3b2)]((0x0,_0x4a1cad[_0x185ec3(0x26c)])(_0x2b4a4b));});}return _0x15f1fb;}async[_0x2f9c02(0x43e)](_0x29a10b,_0x5d29e0){const _0xe2f908=_0x2f9c02;let {unitID:_0x565507,type:_0x164867,blockID:_0x5e2dd1}=_0x5d29e0,_0x25b1e1=this['_getAPIPrefix']()+'/'+_0x164867+_0xe2f908(0x26b)+_0x565507+'/block/'+_0x5e2dd1;return(await this[_0xe2f908(0x48d)][_0xe2f908(0x1df)](_0x25b1e1))[_0xe2f908(0x46e)];}async[_0x2f9c02(0x22e)](_0x3b69a0,_0xd353e4){const _0x5cec58=_0x2f9c02;let {unitID:_0x12ec34,type:_0x293543,blockID:_0x2a3952}=_0xd353e4,_0x24ea16=this[_0x5cec58(0x2aa)]()+_0x5cec58(0x3e9)+_0x293543+'/unit/'+_0x12ec34+_0x5cec58(0x3e9)+_0x2a3952;return(await this[_0x5cec58(0x48d)][_0x5cec58(0x1df)](_0x24ea16))[_0x5cec58(0x46e)];}async[_0x2f9c02(0x354)](_0x264759,_0x6f0ddc){const _0x380629=_0x2f9c02;let {unitID:_0x589541,type:_0x1967b6,from:_0x2782a2,to:_0x33c546}=_0x6f0ddc,_0x5ca0d2=this[_0x380629(0x2aa)]()+'/'+_0x1967b6+_0x380629(0x26b)+_0x589541+_0x380629(0x3ff)+_0x2782a2+'&to='+_0x33c546;return(await this[_0x380629(0x48d)][_0x380629(0x1df)](_0x5ca0d2))[_0x380629(0x46e)];}[_0x2f9c02(0x1c0)](){const _0x58fdbd=_0x2f9c02;var _0x7db815;return(_0x7db815=this[_0x58fdbd(0x280)][_0x58fdbd(0x21e)](_0x58fdbd(0x536)))==null?this['_getAPIPrefix']():_0x7db815;}['_getAPIPrefix'](){const _0x58afe3=_0x2f9c02;var _0x241a05;let _0x5350d2=this[_0x58afe3(0x280)]['getConfig'](_0x1f2256);return(_0x241a05=_0x5350d2==null?void 0x0:_0x5350d2['snapshotServerUrl'])==null?_0x58afe3(0x21d):_0x241a05;}async[_0x2f9c02(0x4a6)](_0x2958de,_0x3923bd){const _0x2bd277=_0x2f9c02;let _0x45106e='/universer-api/snapshot/'+_0x3923bd[_0x2bd277(0x29a)]+_0x2bd277(0x26b)+_0x3923bd[_0x2bd277(0x264)]+_0x2bd277(0x512);return(await this[_0x2bd277(0x48d)][_0x2bd277(0x1df)](_0x45106e,{'params':{'resourceId':JSON[_0x2bd277(0x38a)](_0x3923bd[_0x2bd277(0x3d6)])}}))[_0x2bd277(0x46e)];}[_0x2f9c02(0x1c1)](){const _0x1f08b2=_0x2f9c02;throw Error(_0x1f08b2(0x469));}[_0x2f9c02(0x31e)](){const _0x203df1=_0x2f9c02;throw Error(_0x203df1(0x469));}[_0x2f9c02(0x481)](){const _0x28664c=_0x2f9c02;throw Error(_0x28664c(0x469));}[_0x2f9c02(0x4aa)](){const _0x1f38b3=_0x2f9c02;throw Error(_0x1f38b3(0x469));}[_0x2f9c02(0x431)](){const _0x3d12dd=_0x2f9c02;throw Error(_0x3d12dd(0x469));}[_0x2f9c02(0x299)](){const _0x2c58f0=_0x2f9c02;throw Error(_0x2c58f0(0x469));}};_0x34497c=_0x230514([_0x4bc410(0x0,_0x4fa1c7['IConfigService']),_0x4bc410(0x1,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4ba8c3[_0x2f9c02(0x2c9)]))],_0x34497c);let _0x38e162=class extends _0x4fa1c7[_0x2f9c02(0x4b0)]{constructor(_0x2c5e18,_0x37ddb0,_0x1acea3,_0x1015ba,_0x22f7ea){const _0x1de1cb=_0x2f9c02;super(_0x2c5e18,_0x37ddb0,_0x1acea3),this[_0x1de1cb(0x1d2)]=_0x1015ba,this[_0x1de1cb(0x22c)]=_0x22f7ea;}['transformUndoRedo'](_0x3ef885,_0x3379d8){const _0x29ff76=_0x2f9c02;let _0x1af9f2=this[_0x29ff76(0x31b)](_0x3ef885);if(_0x1af9f2)try{let _0xeef492=this[_0x29ff76(0x335)](_0x1af9f2,_0x3379d8);this[_0x29ff76(0x196)](_0x3ef885,_0xeef492);}catch(_0x5478a1){this[_0x29ff76(0x22c)][_0x29ff76(0x2c3)](_0x29ff76(0x1ec),_0x5478a1),this[_0x29ff76(0x386)](_0x3ef885);}let _0x2304b3=this[_0x29ff76(0x2d8)](_0x3ef885);if(_0x2304b3)try{let _0x5d4ee3=this[_0x29ff76(0x335)](_0x2304b3,_0x3379d8);this['_substituteRedoStack'](_0x3ef885,_0x5d4ee3);}catch(_0x1c4216){this[_0x29ff76(0x22c)][_0x29ff76(0x2c3)](_0x1c4216),this[_0x29ff76(0x23b)](_0x3ef885);}}['_clearUndo'](_0x5ac61c){const _0x44c305=_0x2f9c02;let _0x753470=this[_0x44c305(0x31b)](_0x5ac61c);_0x753470&&(_0x753470['length']=0x0,this[_0x44c305(0x22d)]());}[_0x2f9c02(0x23b)](_0x5e3a5c){const _0x5ce078=_0x2f9c02;let _0x48ed50=this[_0x5ce078(0x2d8)](_0x5e3a5c);_0x48ed50&&(_0x48ed50['length']=0x0,this[_0x5ce078(0x22d)]());}[_0x2f9c02(0x196)](_0x224bd1,_0x47b148){const _0x576c5d=_0x2f9c02;this[_0x576c5d(0x1f0)]['set'](_0x224bd1,_0x47b148),this[_0x576c5d(0x22d)]();}[_0x2f9c02(0x203)](_0x336b2f,_0x2674ae){const _0x1d406f=_0x2f9c02;this[_0x1d406f(0x499)][_0x1d406f(0x2c0)](_0x336b2f,_0x2674ae),this['_updateStatus']();}['_transformStack'](_0x505a0b,_0x33faa2){const _0x3b8067=_0x2f9c02;let _0x176590=[],_0x15a624=_0x33faa2,_0x1d368c=_0x33faa2;for(let _0x5d2e97=_0x505a0b[_0x3b8067(0x4ca)]-0x1;_0x5d2e97>=0x0;_0x5d2e97--){let {unitID:_0x4b54f9,undoMutations:_0x3af54b,redoMutations:_0xf2f08a}=_0x505a0b[_0x5d2e97],_0x5355d1=this[_0x3b8067(0x1d2)]['transformMutationsWithChangeset'](_0x15a624,_0x3af54b),_0x23d206=this[_0x3b8067(0x1d2)][_0x3b8067(0x3f8)](_0x1d368c,_0xf2f08a);if((0x0,_0x4a1cad[_0x3b8067(0x51b)])(_0x5355d1)||(0x0,_0x4a1cad[_0x3b8067(0x51b)])(_0x23d206)){this[_0x3b8067(0x22c)]['error'](_0x3b8067(0x1ec),_0x3b8067(0x3ac),_0x5355d1,_0x23d206);break;}_0x15a624=_0x5355d1[_0x3b8067(0x439)],_0x1d368c=_0x23d206[_0x3b8067(0x439)],_0x176590[_0x3b8067(0x3a1)]({'unitID':_0x4b54f9,'undoMutations':_0x5355d1[_0x3b8067(0x2e0)],'redoMutations':_0x23d206[_0x3b8067(0x2e0)]});}return _0x176590['reverse']();}};_0x38e162=_0x230514([_0x4bc410(0x0,_0x4fa1c7['IUniverInstanceService']),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x398)]),_0x4bc410(0x2,_0x4fa1c7[_0x2f9c02(0x279)]),_0x4bc410(0x3,_0x4a1cad[_0x2f9c02(0x1e0)]),_0x4bc410(0x4,_0x4fa1c7['ILogService'])],_0x38e162);let _0x1c1bca=class extends _0x4fa1c7[_0x2f9c02(0x301)]{constructor(_0x10c129={},_0x2b80cd,_0x8cad28,_0x1b7d16){const _0x91b5fd=_0x2f9c02;super(),this['_config']=_0x10c129,this['_logService']=_0x2b80cd,this[_0x91b5fd(0x427)]=_0x8cad28,this[_0x91b5fd(0x280)]=_0x1b7d16;let {..._0x1d1336}=(0x0,_0x4fa1c7[_0x91b5fd(0x1fd)])({},_0x112cff,_0x10c129);if(!_0x1d1336['socketService'])throw Error(_0x91b5fd(0x2e4));this[_0x91b5fd(0x4c2)]=_0x1d1336,this[_0x91b5fd(0x280)][_0x91b5fd(0x3c3)](_0x1f2256,_0x1d1336);}[_0x2f9c02(0x34c)](){const _0x190a06=_0x2f9c02;this['_registerDependencies'](),this[_0x190a06(0x1ed)]();}['_registerDependencies'](){const _0x440f93=_0x2f9c02;var _0x41dd97,_0x1b326d;this[_0x440f93(0x427)]['has'](_0x4fa1c7[_0x440f93(0x3d5)])&&this['_logService'][_0x440f93(0x2c3)](_0x440f93(0x28f),_0x440f93(0x50b));let _0x181f58=(0x0,_0x4fa1c7[_0x440f93(0x1a5)])([[_0x4fa1c7[_0x440f93(0x3d5)],{'useClass':_0x38e162}],[_0x163223],[_0xd0b104],[_0x1de656],[_0x11cb43],[_0x3ac2a7],[_0x4b7f70],[_0x52f7f3],[_0x1619bd],[_0x47428b],[_0x268137,{'useClass':this[_0x440f93(0x4c2)][_0x440f93(0x3bb)]}],[_0x4a1cad[_0x440f93(0x3fa)],{'useClass':_0x34497c}],[_0x4fa1c7[_0x440f93(0x2f8)],{'useClass':_0x54b97d}],[_0x332921[_0x440f93(0x342)],{'useClass':_0x4d8c5e}],[_0x4fa1c7['IMentionIOService'],{'useClass':_0x5c4c46}],[_0x7bd804],[_0x546b3d]],(_0x41dd97=this[_0x440f93(0x4c2)])==null?void 0x0:_0x41dd97[_0x440f93(0x449)]);if(!((_0x1b326d=this[_0x440f93(0x4c2)])!=null&&_0x1b326d[_0x440f93(0x1fe)])){let _0x100df9=_0x181f58[_0x440f93(0x4f6)](([_0x19e025])=>_0x19e025===_0x12f31b);_0x100df9!==-0x1&&_0x181f58[_0x440f93(0x2a7)](_0x100df9,0x1);}(0x0,_0x4fa1c7[_0x440f93(0x52f)])(this[_0x440f93(0x427)],_0x181f58);}[_0x2f9c02(0x1ed)](){const _0x4b3afb=_0x2f9c02;var _0xd1a05,_0x285e49;if(this[_0x4b3afb(0x427)][_0x4b3afb(0x1df)](_0x4ba8c3[_0x4b3afb(0x2c9)])[_0x4b3afb(0x21c)]({'priority':0x14,'interceptor':(0x0,_0x4ba8c3[_0x4b3afb(0x1f3)])({'maxParallel':0x6})}),!((_0xd1a05=this[_0x4b3afb(0x4c2)])!=null&&_0xd1a05[_0x4b3afb(0x332)])){var _0x53843c;(_0x53843c=this[_0x4b3afb(0x427)][_0x4b3afb(0x1df)](_0x259e4f,_0x4fa1c7[_0x4b3afb(0x337)][_0x4b3afb(0x2e8)]))==null||_0x53843c['disableLocalCache']();}(_0x285e49=this[_0x4b3afb(0x4c2)])!=null&&_0x285e49[_0x4b3afb(0x243)]&&(0x0,_0x4fa1c7[_0x4b3afb(0x1cc)])(this[_0x4b3afb(0x427)],[[_0x11cb43]]),(0x0,_0x4fa1c7[_0x4b3afb(0x1cc)])(this[_0x4b3afb(0x427)],[[_0x3ac2a7],[_0x7bd804],[_0x52f7f3]]);}};_0x17e69d(_0x1c1bca,_0x2f9c02(0x36a),_0x2f9c02(0x37d)),_0x17e69d(_0x1c1bca,'packageName',_0x189a86),_0x17e69d(_0x1c1bca,'version',_0x5f3351),_0x1c1bca=_0x230514([(0x0,_0x4fa1c7[_0x2f9c02(0x4bd)])(_0x5626bb[_0x2f9c02(0x25e)],_0x4a1cad[_0x2f9c02(0x18c)],_0x4ba8c3[_0x2f9c02(0x246)]),_0x4bc410(0x1,_0x4fa1c7[_0x2f9c02(0x2b3)]),_0x4bc410(0x2,(0x0,_0x4fa1c7[_0x2f9c02(0x3b8)])(_0x4fa1c7['Injector'])),_0x4bc410(0x3,_0x4fa1c7['IConfigService'])],_0x1c1bca),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x1b3),{'enumerable':!0x0,'get':function(){return _0x54b97d;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x1ba),{'enumerable':!0x0,'get':function(){return _0x2d15ae;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x4ad),{'enumerable':!0x0,'get':function(){return _0x378326;}}),_0x584a9c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x1f2256,Object[_0x2f9c02(0x2be)](_0x584a9c,'CollaborationController',{'enumerable':!0x0,'get':function(){return _0x7bd804;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x197),{'enumerable':!0x0,'get':function(){return _0x531b37;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x1e7),{'enumerable':!0x0,'get':function(){return _0x4d8c5e;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x3bc),{'enumerable':!0x0,'get':function(){return _0x49ff16;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x322),{'enumerable':!0x0,'get':function(){return _0x163223;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x411),{'enumerable':!0x0,'get':function(){return _0x3a12ab;}}),_0x584a9c['CollaborationStatus']=_0x4fcdb8,_0x584a9c[_0x2f9c02(0x3c5)]=_0x1ef886,_0x584a9c[_0x2f9c02(0x300)]=_0x1619bd,Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x359),{'enumerable':!0x0,'get':function(){return _0x38e162;}}),_0x584a9c['CommentService']=_0x4b7f70,Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x2a8),{'enumerable':!0x0,'get':function(){return _0x224de7;}}),_0x584a9c[_0x2f9c02(0x1b1)]=_0x4b06c5,_0x584a9c[_0x2f9c02(0x29c)]=_0x2f9c02(0x1ef),_0x584a9c['DEFAULT_WS_SESSION_TICKET_URL']=_0x2f9c02(0x4e5),Object[_0x2f9c02(0x2be)](_0x584a9c,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x47428b;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,'DocCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x4ce514;}}),Object['defineProperty'](_0x584a9c,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x27e4ef;}}),_0x584a9c[_0x2f9c02(0x391)]=_0x2f9c02(0x526),_0x584a9c['HEARTBEAT_TIMEOUT_KEY']=_0x2f9c02(0x23e),_0x584a9c[_0x2f9c02(0x52d)]=_0x268137,_0x584a9c[_0x2f9c02(0x2b1)]=_0x259e4f,_0x584a9c['INetworkConditionService']=_0x25bbcd,_0x584a9c['ISingleActiveUnitService']=_0x12f31b,_0x584a9c['LOCAL_CACHE_INTERVAL']=0x3e8,_0x584a9c[_0x2f9c02(0x28d)]=_0x2f9c02(0x3b5),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x26a),{'enumerable':!0x0,'get':function(){return _0xd0b104;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x294),{'enumerable':!0x0,'get':function(){return _0x5c4c46;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x497),{'enumerable':!0x0,'get':function(){return _0x31f6a0;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,'PendingState',{'enumerable':!0x0,'get':function(){return _0x5ce61d;}}),_0x584a9c[_0x2f9c02(0x303)]=_0x2f9c02(0x1d6),_0x584a9c[_0x2f9c02(0x309)]=_0x2f9c02(0x45d),_0x584a9c[_0x2f9c02(0x4a8)]=_0x1b3cf0,Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x51c),{'enumerable':!0x0,'get':function(){return _0x355a72;}}),Object['defineProperty'](_0x584a9c,_0x2f9c02(0x189),{'enumerable':!0x0,'get':function(){return _0x1de656;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x35c),{'enumerable':!0x0,'get':function(){return _0x34497c;}}),Object[_0x2f9c02(0x2be)](_0x584a9c,_0x2f9c02(0x2c4),{'enumerable':!0x0,'get':function(){return _0x2ce86e;}}),_0x584a9c[_0x2f9c02(0x3ce)]=_0x97ee5b,Object['defineProperty'](_0x584a9c,'UniverCollaborationClientPlugin',{'enumerable':!0x0,'get':function(){return _0x1c1bca;}}),_0x584a9c[_0x2f9c02(0x305)]=_0x48e6d7,_0x584a9c[_0x2f9c02(0x3e6)]=_0x1eedb3,_0x584a9c[_0x2f9c02(0x2ad)]=_0x247af3;}));function _0x4e0e(){const _0x38a756=['[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','APPLY_NON_SEQUENTIAL_REVISION','replace','UNIVER_COLLABORATION_CLIENT_PLUGIN','onMutationExecutedForCollab','collaboration-client.config','PERMISSION_REJ','_onJoinRoomEvent','[CollaborationEntity]','_commentUpdate$','ivSize','CHANGESET_REVISION_CONFILICT','_clearUndo','_cipher','_schedule','includes','stringify','getCollabEntity$','_socketService','_tryEnsureSocket','getImageSourceCache','byteOffset','encrypt','HEARTBEAT_INTERVAL_KEY','ENTITLE_INVALID_COUPON_CODE','members$','_status$','setShowComponents','POST','ImageUploadStatusType','ICommandService','REDEMPTION_CODE_FULLY_REDEEMED','putCollaborators','_isPermissionRej','USER_IS_ANONYMOUS','_transformSelections','onTransformRemoteChangesetByIMECache','SheetPermissionInitController','image/gif','push','_disableEditing','asObservable','fetchThroughInterceptors','SUBMIT_CHANGESET','getCurrentRevOfUnit','PasswordBasedCipher','UNISCRIPT_RUN','onCommentUpdate','setCfgEnableObjInherit','_oKey','transformStack\x20failed!','actions','RevisionService','&assign=','list','_keyPriorReset','encode','_retryConnectingTimer','UNRECOGNIZED','LOCAL_CACHE_INTERVAL','_executeRemoteChangeset','UNIVER_UNKNOWN','Inject','loginUrlKey','userID','socketService','CollaborationSession','bind','UNAUTHENTICATED','editingUnit','string','HttpImport','take','setConfig','initWorkbookPermissionChange','CollaborationUIEventId','_resendTimer','toggleOnline','ERROR_AGAIN','reset','PSEUDO_FETCH_MISSING_RESULT','joinEvent','_telemetryInfo','ENTITLE_COUPON_EXPIRED','UnitStatus','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','has','removeMember','_clearHeartbeatTimer','_transformRemoteChangesetByIMECache','result','IUndoRedoService','resourceIDs','_onOffline','socket\x20open.','_acknowledgedAwaitingChangeset','pending','createDecryptor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collaboration-client.local-cache-service','isArray','\x20to\x20','readInt32LE','_data','4uzvyfe','UserProfileImg','format','concat','getLocalCacheKey','synced','PERSON','/block/','USER_NOT_INVITED_CODE','MSG_FOR_ERROR','_initMergeInterceptor','SHA1','ImageSourceType','REDEMPTION_CODE_HAS_BEEN_CREATED','_applyRemoteChangeset','telemetry\x20info\x20is\x20not\x20initialized','every','AUTHORIZE_CODE_ILLEGAL','AES','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_retryCount','_roomMembers','transformMutationsWithChangeset','_initUnitPermissionChange','ISnapshotServerService','_startCollaboration','74835wjMhfG','image/jpeg','onStateChange','/fetchmissing?from=','[CollaborationSessionService]:\x20socket\x20error','forEach','LICENSE_EXPORT_SIZE_EXCEEDED','concatMap','@univerjs/network','isPermissionRej','Disposable','MD5','Workbook','_imageSourceCache','charAt','ENTITLE_DUP_SUBSCRIPTION','COMPRESS_MUTATION_APPLY','_undoRedoService','fromCharCode','_initRequestHeader','_doReset','CollaborationSocketService','LIVESHARE_REQUEST_HOST','ALREADY_EXISTS','_sender','getTypeOfUnitAdded$','CompressMutationService','readAsDataURL','conflict','send','_DEC_XFORM_MODE','createIdentifier','GLOBAL_ROOMS_CNT_EXCEEDS','_event$','image/png','_listenToNetworkCondition','_instanceService','ERROR_IMAGE_TYPE','YUUMI_CONNECTOR_URL_NOT_FOUND','filter','sessionStatus$','_permissionService','getCurrentSelections','_injector','_state','_xformMode','onSyncEditingCollabCursor','USERS_LEAVE','fromCollab','getRandomValues','INVALID_ARGUMENT','LOGIN_TOKEN_PROCESSING_FAILED','$super','copyFileMeta','execute','params','SNAPSHOT_HAS_BEEN_REMOVED','capture','LocaleService','RECV','apply','c1Prime','__splitChunk__','Failed\x20to\x20update\x20permission\x20point','Subject','_eventService','getSheetBlock','now','ITelemetryService','_process','_iv','_nDataBytes','csAckEvent','session.room-permission-denied','unitInfo$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','retryConnectingInterval','override','_localeService','ENTITLE_NEED_BILLING_ADDRESS','229851SSHGPE','USER_NOT_FOUND','/universer-api/oidc/authpage','updateCollaborator','_univerInstanceService','originalMeta','MOBILE_VERIFY_CODE_MISMATCH','_queuedRemoteChangesets','status','processBlock','_entityInit$','words','session.room-not-exists','subUnitId','JOIN_ROOM_NOT_EXISTS','CHANGESET_REJ','UNKNOWN_CODE','RETRY_CONNECTING_MAX_COUNT','_getSignURL','session','loadSheet','_waitCount','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_startTelemetryCollaborationNewChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','objectID','event$','_onMessage','_hasher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_state$','CryptoJS','_sendHeartbeat','_revisionService','body','_rescheduleHeartbeat','isInternalEditorID','[PendingState]:\x20received\x20rejection.','UPDATE_CURSOR','collaboratorID','_onRemoteChangeset','transformUndoRedo','Optional','repeat','CommandType','AWAITING','getMember','ENTITLE_USE_COUPON_NOT_1ST_TRADE','origin','LIVESHARE_NEW_HOST','UserManagerService','subscribe','sin','saveSheetBlock','submit\x20changeset\x20error!','withCredentials','onMissingChangesets','MergeInterceptorFactory','Error\x20on\x20receiving\x20event','_telemetryService','saveImage','HELLO','__esModule','_snapshotService','MOBILE_HAS_BEEN_BOUND','_httpService','unsubscribe','listRoles','_iKey','default','INTERNAL_ERROR','_onConflict','mutations','_replaceFileID','range','OfflineState','YUUMI_NO_CUBOID_FOR_QUESTION','_redoStacks','_getSendChangesetTimeout','INVITE_CODE_HAS_BEEN_UES','refreshPermission','_throwTelemetryCollaborationNewChangeset','csShouldRetryEvent','NoPadding','_onRemoteRejected','1338590bOelOk','YUUMI_AI_RUN_FAILED','mode','join','dispose','getResourcesRequest','Decryptor','SessionStatus','getCfgEnableObjInherit','saveChangeset','_members$','Univer','AwaitingWithPendingState','state$','operators','LocalUndoRedoService','./evpkdf','authzUrl','getCurrentUser','readyForCollab','_sendingTimer','Base64','onLocalMutation','sheets','_pendingMutations','target','reduce','ENTITLE_CAN_NOT_BUY_LOWER_OTP','DependentOn','sessionStatus','_doFinalize','0.20.1','getOwnPropertyNames','_config','loadOfflineData','YUUMI_ASYNCIO_CANCELLED','symbol','_resendTimeout','UniverNetwork','_memberService','SOCKET_FAILED','length','closeSession','getUnit','localCacheService','max','amd','prototype','HEARTBEAT','_candidateSocket','uniscriptRunEvent','NOT_FOUND','APPLY_REJECT','next','getGlobalObject','UPDATE_PERMISSION_OBJ','3059739EWSPOf','CONFLICT','ENTITLE_INSUFFICIENT_QUOTA','People','onTransformIME','byteLength','_createHandler','onRemoteChangeset','[OfflineState]:\x20received\x20rejection.','ISocketService','LICENSE_MAX_UNITS_EXCEEDED','put','/universer-api/user/session-ticket','requestParams','Pkcs7','getSheetId','_map','_createHmacHelper','resolveWithBasePath','JOIN','Hex','open$','_showConflictNotification','update','LLMInputData','UniverProCollaborationClient','8qJKqBL','_commentService','salt','findIndex','ENTITLE_CHAT_LIMIT_EXCEED','YUUMI_UNABLE_LOAD_URL','REDEMPTION_INVALID_CODE','_toggleOnline','textEncoder','/rev/','getActiveSheet','NO_OTHER_CLIENTS_EDITING','LIVESHARE_OPERATION','newCsEvent','@univerjs/telemetry','isTransformMutationsWithChangesetSuccess','src','_doProcessBlock','decrypt','enableCollaboration','BASE64','snapshot','eventID','unpad','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ERROR_EXCEED_SIZE','exports','_onCombEvent','FAIL','__creator','USERS_ENTER','/resources','_networkConditionService','CHANGESET_SHOULD_RETRY','_lockTransition','./md5','append','_getDownloadEndpointURL','name','confirm','isTransformMutationsWithChangesetFailure','SheetCollaborationEntity','_onFetchMissResult','status$','init','revision','_localCacheService','subject','_removeRoom','interceptor','socket$','HEARTBEAT_INTERVAL','MUTATION','UNIVER_SHEET','FileId','padding','collabWebSocketUrl','formatter','ICollaborationSocketService','CLOSE_ROOM','registerDependencies','_updateLocalCache','SetSelectionsOperation','INVITE_CODE_ALREADY_BOUND','_waitForHeartbeatResponse','_onLocalMutation','StreamCipher','SNAPSHOT_URL_KEY','EvpKDF','__Key__','takeUntil','WordArray','addHandlerCallback','getWorkbookSelections','JOIN_ROOM_FAILED','collabSubmitChangesetUrl','getCollabEntity','SheetTransformSelectionsService','call','_awaitingChangeset','UniverCollaborationPlugin','delay','baseRev','PAYMENT_CHANNEL_NOT_SUPPORT','APPLY_REVISION_CONFILICT','_exhaustRemoteChangesetQueue','_collaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','@univerjs/drawing','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_substituteUndoStack','CollaborationEntity','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNKNOWN_CMD','_clearRetryConnectingTimer','textRanges','Rectangle','random','_transformRemoteChangesetByStateCache','resolve','OTHER_CLIENTS_EDITING','transformSelections','WECHAT_HAS_BEEN_BOUND','setWaitCount','objectType','mergeOverrideWithDependencies','onRemoteRej','_onRecvEvent','finalize','onSendChangeset','_cfgEnableObjInherit','mapDocumentTypeToUniverType','RichTextEditingMutation','createInstance','_handler','_changesetSessionId','DisposableCollection','DEFAULT_COLLAB_WEB_SOCKET_URL','getOwnPropertyDescriptor','AuthzIoHttpService','auth.needGotoLoginAlert','key','_unitInfo$','reconnect','_getAPIPrefixPath','uploadFileServerUrl','AwaitingState','RxDisposable','_commandService','permissionRejEvent','PENDING','Base','getSnapshotAPIPath','saveSnapshot','duration','UNIVER_DOC','Utf8','MentionType','UniverCore','ONLINE','changesets','clamp','_createInitialState','parse','touchDependencies','_mode','_getLoginPath','getMemberID','OFFLINE','image/jpg','_transformService','EMAIL_VERIFY_CODE_MISMATCH','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setCurrentUser','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_sessionStatus$','indexOf','method','cmd','HmacSHA1','/new_changes','INVITE_CODE_REQUIRED','state','get','ITransformService','getRoom','onRemoteAck','14iZRCAO','map','_decreaseWaiting','[CollaborationState]:\x20apply\x20error!','CollaborationImageIoService','onTransformState','objectActions','reject','_hash','[CollaborationUndoRedoService]','_initDependencies','_append','/universer-api/uniscript','_undoStacks','startTime','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ThresholdInterceptorFactory','getImage','_keySchedule','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','code','catch','algo','reqId','hasOwnProperty','IUniverInstanceService','merge','enableSingleActiveInstanceLock','HttpExport','SnapshotService','clone','OTHER_CLIENT_EDITING','_substituteRedoStack','Injector','selections','encodeURIComponent','_sheetTransformSelectionsService','/collaborator','JSONX','enumerable','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','routeKey','updateMember','generateRandomId','_unitID','offline','editing\x20status\x20changed\x20to','keySize','ENTITLE_REPORT_LIMIT_EXCEED','/object/','_roomCreated$','min','IPermissionService','_scheduleCompleteTimestamp','mixIn','getAllMembers','registerHTTPInterceptor','/universer-api/snapshot','getConfig','updateOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LEAVE','patch','close$','YUUMI_URL_COL_OUT_OF_RANGE','_remoteChangesetQueue','_compressMutationService','iterator','PY_RUNTIME_SCRIPT_ERROR','_socketReady','sid','UNIVER_PROJECT','_logService','_updateStatus','getDeserializedSheetBlock','_onUserJoin','crypto','_reverseMap','LIVESHARE_TERMINATE','REDEMPTION_USER_NOT_ELIGIBLE','sequenceExecute','CURRENT_STATUS_CANNOT_OPERATE','JOINING','resend','YUUMI_RATE_OVER_LIMIT','collaborators','@univerjs-pro/license','_clearRedo','action','COMPLETION_FINISHED','HEARTBEAT_TIMEOUT','_handlerCallback','object','requireSession','decorate','enableAuthServer','REDEMPTION_CODE_NOT_STARTED','APPLY_PERMISSION_DENIED','UniverNetworkPlugin','entityInit$','entries','1869618XREgEz','REDEMPTION_USER_REDEEM_TIMES_EXCEED','SYNCED','_checkMissing','roles','_timeoutTimer','enc','connection\x20error','_createHelper','_parse','change$','_onUserLeave','_getCtorByUniverType','./core','_updateState','addImageSourceCache','socket\x20close','isTransformChangesetsSuccess','fetchMiss','AWAITING_WITH_PENDING','LICENSE_IMPORT_SIZE_EXCEEDED','UniverLicensePlugin','blockSize','url','REDEMPTION_CODE_INACTIVE','./cipher-core','_onRemoteACK','unitID','rxjs','updatePermissionObjEvent','univer-pro.collaboration-client-socket-service','Latin1','_change$','MemberService','/unit/','b64DecodeUnicode','session.room-full','dispose$','761485ccfMpw','compute','_socket','_key','@univerjs-pro/collaboration-client','_changesetReqId','data','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','LOGIN_FAILED','buffer','IContextService','_clearCollaborationTimeoutTimer','location','BufferedBlockAlgorithm','sigBytes','awaitingChangeset','_onRemoteRetry','_configService','localeService','substr','headers','updatePermissionPoint','getUnitStatus$','?size=','INVALID_INVITE_CODE','getTypeOfUnitDisposed$','error$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onMissedChangesetFetched','hasher','LOCAL_CACHE_INTERVAL_KEY','from','[UniverCollaborationClientPlugin]','lib','_transformIMECache','[SyncedState]:\x20received\x20rejection.','[CollaborationSessionService]','MentionIoHttpService','onTransformSelections','@univerjs/core','InsertSheetMutation','_collaborationUIEventService','getLatestCsReqIdBySid','type','Tools','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','slice','[OfflineState]:\x20received\x20acknowledgement.','_syncEditingCollabCursor','toPrimitive','updateCursorEvent','clear','complete','pipe','Cipher','EMAIL_HAS_BEEN_BOUND','splice','ConflictState','unitId','_getAPIPrefix','getUnitType','ENSURE_SNAPSHOT_EXECUTION','serializeCombRequest','firstValueFrom','then','onload','ILocalCacheService','pad','ILogService','/universer-api/file/{fileID}/sign-url','_maxTotalRetryTimeout','_toggleOffline','_onConnectionFailed','LICENSE_DISTRO_REJECTED','_sessions','_userManagerService','_fetchMissChangesets','IConfigService','createEncryptor','defineProperty','COMPRESS_MUTATION_SEND','set','fetching\x20missing\x20changesets\x20from\x20','UniverProLicense','error','SyncedState','_collaborationSessionService','allowed','x-univer-host','UNDEFINED','HTTPService','add','floor','NEW_CHANGESETS','WorkbookEditablePermission','getValue','debug','href','_doCreateSocket','_createSocket','OpenSSL','SOCKET_FAILED_RETRY','stopTime','parseProtocolChangeset','file','_getRedoStack','transformChangesets','/universer-api/stream/file/upload','unknown','UniverDrawing','delete','ws://127.0.0.1:8000/universer-api/comb/connect','/allowed','m2Prime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[SyncedState]:\x20received\x20acknowledgement.','CHANGESET_ACK','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','emitEvent','SheetsSelectionsService','ceil','OPTIONAL','_scheduleCollaborationTimeoutTimer','_clearScheduledTask','toDisposable','_transformStateCache','session.join-failed','onlyLocal','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_ENC_XFORM_MODE','toStringTag','_stopTelemetryCollaborationNewChangeset','_resendWithTimeout','extend','getFocusedUnit','_getUploadFileURL','_shouldReportTelemetry','IAuthzIoService','randomBytes','YUUMI_ALL_TABLES_IS_INVALID','downloadEndpointUrl','executeCommand','_entities','compose','APPLY_DUPLICATED','CollaborationUIEventService','Plugin','listCollaborators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','toString','deserializeToCombResponse','onRemoteRetry','createSocket','_type','RETRY_CONNECTING_MAX_COUNT_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','liveShareNewHost','FETCH_MISS','_transformUndoredo','UNIVER_SLIDE','_collabSessionService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DATA_SOURCE_TOO_LARGE','[PendingState]:\x20received\x20acknowledgement.','2202760WnLDvC','charCodeAt','INGEST','_joinRoom','signUrlServerUrl','UniverInstanceType','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getUndoStack','UniverSheets','_initCloseConn','updateSnapshot','CollaborationEvent','UniverDocs','_singleActiveUnitService','CollaborationSessionService','_doCryptBlock','_sendHeartbeatTimer','loadUnitOfRevision','appendMutation','_clearLocalCache','online$','function','@univerjs/docs','_members','SUCCUSS','awaiting_with_pending','values','message$','msCrypto','PERMISSION_DENIED','enableOfflineEditing','_prevBlock','_emitMembers','_transformStack','title','Quantity','/-/object/-/batch_allowed','commentUpdate$','_incrementRevisionNumber','JOIN_ROOM_FULL','memberID','close','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_init','post','BlockCipher','IImageIoService','IDLE','csRejEvent','disposeWithMe','BehaviorSubject','/universer-api/authz','CBC','_clearTimeoutTimer','JOIN_ROOM_PERMISSION_DENIED','_onConnectionOpen','onStarting','getUnitId','create','ENTITLE_COUPON_USED_UP','_socket$','7LRDYAT','cfgEnableObjInherit','equals','fetchMissingChangesets','workbook','?url=','ClipsheetFragments','EmptyMutationInfo','CollaborativeUndoRedoService','_HTTPService','UnitEmbedded','SnapshotServerOverHTTPService','_getCurrentRevision','_unlockTransition','SHOULD_CLOSE_CONN','\x0aAfter:\x20','ERROR_IMAGE','_tryReconnect','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','find','toggleOffline','_snapshotServerService','SerializableCipher','_transitionLocked','./enc-base64','pluginName','@univerjs-pro/collaboration','_collaborationPaused','cfg','getInterceptPoints','HMAC','image/bmp','TOO_MANY_REQUESTS','Encryptor','size','avatar','_nRounds','deepClone','_socketMessageSubscription','Hasher','_minBufferSize'];_0x4e0e=function(){return _0x38a756;};return _0x4e0e();}
2
+ function _0x1dac(_0x4b6186,_0x48ead9){_0x4b6186=_0x4b6186-0x115;const _0x189ae1=_0x189a();let _0x1dac13=_0x189ae1[_0x4b6186];return _0x1dac13;}function _0x189a(){const _0x4609cf=['_getUndoStack','session','assign','rxjs',',\x20got\x20','FileId','function','{fileID}','_lockTransition','_executeRemoteChangeset','changesets','add','LIVESHARE_FETCH_OPERATIONS','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','_configService','copyFileMeta','getOwnPropertyDescriptor','UUID','@univerjs/protocol','closeSession','_memberService','enableOfflineEditing','dispose$','telemetry\x20info\x20is\x20not\x20initialized','onRemoteRetry','_permissionService','responseType','target','_rescheduleHeartbeat','disablePadding','commentUpdate$','hostname','ERROR_IMAGE_TYPE','textEncoder','mapDocumentTypeToUniverInstanceType','MUTATION','IUndoRedoService','_acknowledgedAwaitingChangeset','session.room-cnt-exceeds','duration','43599WbitLl','6cOlBuz','CollaborationUIEventId','SetSelectionsOperation','getFocusedUnit','_initRequestHeader','_onUserLeave','toHex','_sessionStatus$','_getDownloadEndpointURL','@univerjs/docs','onSyncEditingCollabCursor','initWorkbookPermissionChange','interceptor','selections','__Key__','ONLINE','_handler','univer-pro.collaboration-client-socket-service','loadUnitOfRevision','_onRemoteRejected','requestParams','permissionRejEvent','IImageIoService','IConfigService','collaborators','UniverInstanceType','@univerjs-pro/license','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_singleActiveUnitService','routeKey','getSheetId','getLatestCsReqIdBySid','fetchMiss','collaMsg','_retryConnectingTimer','toggleOffline','_onRemoteChangeset','onload','AWAITING','[CollaborationSession]','_transformStateCache','charCodeAt','snapshot','CollaborationSession','rev','FAIL','toggleOnline','RevisionService','onCommentUpdate','_changesetReqId','SheetsSelectionsService','CollaborationEntity','transformSelections','byteLength','getWorkbookSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationPaused','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','disableLocalCache','?url=','withCredentials','_onRemoteRetry','transformStack\x20failed!','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT_KEY','ISingleActiveUnitService','fetch_missing','SnapshotService','_unitInfo$','file','13864jWkhbk','[CollaborationState]:\x20apply\x20error!','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitId','_waitCount','CollaborationEvent','_compressMutationService','m2Prime','_createHandler','exports','2649339uAKEcD','_onConflict','type=','body','deserializeToCombResponse','_status$','code','_logService','Inject','_getUploadFileURL','@univerjs-pro/collaboration','ILocalCacheService','href','confirm','ThresholdInterceptorFactory','LIVESHARE_NEW_HOST','/block/','baseRev','onRemoteChangeset','getRoom','stopTime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_getSendChangesetTimeout',',\x20got:\x20','updatePermissionObjEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Tools','subUnitId','OTHER_CLIENTS_EDITING','state','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','objectType','_onCombEvent','crypto','/unit/','updateMember','_localeService','emitEvent','updatePermissionPoint','operators','mergeOverrideWithDependencies','SUBMIT_CHANGESET_TIMEOUT','cipher\x20output\x20not\x20supported','_clearScheduledTask','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','resourceIDs','fetching\x20missing\x20changesets\x20from\x20','_getSignURL','\x20in\x20_schedule.','INGEST','saveSheetBlock','pipe','output','getAllMembers','resend','_eventService','isTransformMutationsWithChangesetFailure','CollaborationUIEventService','_univerInstanceService','/universer-api/stream/file/upload','onTransformSelections','onMutationExecutedForCollab','requireSession','getActiveSheet','CmdRspCode','_incrementRevisionNumber','cmd','reduce','_updateLocalCache','_applyRemoteChangeset','unitID','_clearRetryConnectingTimer','_members$','error$','_getCurrentRevision','HELLO','session.room-full','UserManagerService','/universer-api/uniscript','CollaborativeUndoRedoService','now','parseProtocolChangeset','NO_OTHER_CLIENTS_EDITING','AwaitingState','@univerjs/core','@univerjs/network','_telemetryInfo','FETCH_MISSING','socket$','getUnitOnRev','_onOffline','clear','_submitChangeset','complete','124SHfdCw','addImageSourceCache','getCurrentSelections','setCfgEnableObjInherit','shareReplay','_scheduleCompleteTimestamp','CombCmd','CHANGESET_ACK','COMPRESS_MUTATION_APPLY','data','localeService','Rectangle','[OfflineState]:\x20received\x20rejection.','appendMutation','_clearHeartbeatTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','liveShareNewHost','_telemetryService','action','socketService','roomInfos','UniverTelemetry','encrypt','error','takeUntil','?size=','capture','_onRemoteACK','fetchMissingChangesets','getSnapshotAPIPath','_onConnectionOpen','isTransformMutationsWithChangesetSuccess','infoRsp','UniverProCollaboration','_members','_toggleOnline','MergeInterceptorFactory','[DataLoaderService]','includes','fromCharCode','UniverCollaborationClientPlugin','Disposable','SessionStatus','registerHTTPInterceptor','size','_unlockTransition','setShowComponents','_commentUpdate$','transformMutationsWithChangeset','_onLocalMutation','USERS_ENTER','SOCKET_FAILED_RETRY','status','sequenceExecute','/-/object/list','constructor','catch','downloadEndpointUrl','uploadFileServerUrl','_httpService','_socketReady','/-/object/-/batch_allowed','close','[PendingState]:\x20received\x20acknowledgement.','userID','reverse','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','3592410xbstWX','get','[CollaborationEntity]','compose','PendingState','_doCreateSocket','_collaborationSessionService','type','RETRY_CONNECTING_MAX_COUNT','event$','loadOfflineData','@univerjs/sheets','_createSocket','createIdentifier','state$','actions','_disableEditing','_startTelemetryCollaborationNewChangeset','_emitMembers','delete','method','version','HTTPService','retryConnectingInterval','disposeWithMe','focused$','leaveEvent','_initDependencies','_initUnitPermissionChange','UNIVER_SHEET','_updateState','/universer-api/authz','loadSheet','DEFAULT_WS_SESSION_TICKET_URL','_transformRemoteChangesetByIMECache','getUnitType','varSizeNonce','allowed','RxDisposable','_onFetchMissResult','onlyLocal','ICollaborationSocketService','_decreaseWaiting','/rev/','SOCKET_FAILED','_tryEnsureSocket','_sendHeartbeat','&assign=','LIVESHARE_TERMINATE','univer-pro.collaboration-client.single-active-unit-service','ImageUploadStatusType','avatar','UniverNetworkPlugin','_onMessage','_sendingTimer','/universer-api/snapshot/','packageName','SheetPermissionInitController','getMember','_updateStatus','every','SheetTransformSelectionsService','/role','sid','not_collab','auth.needGotoLoginAlert','UnitStatus','IMentionIOService','_sender','_shouldReportTelemetry','onRemoteRej','deleteCollaborator','revision','_resendTimer','_localCacheService','ITelemetryService','onRemoteAck','UniverProLicense','fromCollab','authzUrl','addHandlerCallback','executeCommand','UniverDocs','_sendHeartbeatTimer','IAuthzIoService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNIVER_DOC','_handlerCallback','JOIN_ROOM_NOT_EXISTS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','enableAuthServer','SUBMIT_CHANGESET','rxjs/operators','_onUserJoin','failed\x20to\x20apply\x20missed\x20changesets!','parseChangesetToProtocol','_getLoginPath','resolveWithBasePath','RichTextEditingMutation','_roomCreated$','Plugin','sessionStatus','FETCH_MISS','PERMISSION_REJ','People','onMissedChangesetFetched','IUniverInstanceService','memberID','_awaitingChangeset','refreshPermission','_type','result','/collaborator','fromHex','positive\x20integer\x20expected,\x20got\x20','sessionStatus$','nonce','getMemberID','objectID','decrypt','min','_joinRoom','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','CollaborationController','sendChangesetTimeout','isPermissionRej','transformUndoRedo','readyForCollab','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[SyncedState]:\x20received\x20acknowledgement.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AWAITING_WITH_PENDING','_transformIMECache','createSocket','_substituteRedoStack','BASE64','reject','_config','_userManagerService','_getAPIPrefix','_changesetSessionId','awaiting','UniverSheets','_waitForHeartbeatResponse','OfflineState','SHOULD_CLOSE_CONN','members','@univerjs-pro/collaboration-client','_tryReconnect','init','isInternalEditorID','OFFLINE','getSheetBlock','_throwTelemetryCollaborationNewChangeset','subscribe','firstValueFrom','_networkConditionService','ImageSourceType','conflict','message$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','eventID','MentionIoHttpService','LocalUndoRedoService','_resendWithTimeout','HEARTBEAT_TIMEOUT_KEY','\x20of\x20length\x20','symbol','_redoStacks','session.room-permission-denied','UniverCollaborationPlugin','306OGWJDY','invalid\x20output,\x20must\x20be\x20aligned','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','slice','roles','JOIN_ROOM_FULL','saveSnapshot','length=','/allowed','list','Univer','session.room-not-exists','getCollabEntity','string','PERMISSION_DENIED','/object/','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','_initCloseConn','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/fetchmissing?from=','LEAVE','socket\x20close','UniverDrawing','_listenToNetworkCondition','UnitEmbedded','_isPermissionRej','_revisionService','LocaleService','UPDATE_PERMISSION_OBJ','_removeRoom','_checkMissing','LIVESHARE_OPERATION','SNAPSHOT_URL_KEY','getImage','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_state','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformStack','findIndex','fetchThroughInterceptors','next','_getRedoStack','name','_state$','_getCtorByUniverInstanceType','UNISCRIPT_RUN','CommandType','commentUpdateEvent','sheets','_injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','image/jpg','_replaceFileID','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','DataLoaderService','_pendingMutations','updateCursorEvent','DEFAULT_COLLAB_WEB_SOCKET_URL','_transformUndoredo','find','ICommandService','_HTTPService','parse','signUrlServerUrl','_exhaustRemoteChangesetQueue','UNIVER_COLLABORATION_CLIENT_PLUGIN','textRanges','EmptyMutationInfo','_onJoinRoomEvent','x-univer-host','updateOfflineData','_transformSelections','_change$','onTransformRemoteChangesetByStateCache','_entityInit$','collaboration-client.config','583732YRDhRK','headers','USERS_LEAVE','UPDATE_CURSOR','ISocketService','CHANGESET_REJ','prototype','FetchingMissState','CompressMutationService','collaboration-client.local-cache-service','stringify','image/gif','[OfflineState]:\x20received\x20changeset.','[CollaborationSessionService]','isArray','values','SUCCUSS','[FetchMissState]','image/jpeg','buffer','getUnitStatus$','getDeserializedSheetBlock','HTTPRequest','dispose','getCurrentUser','uniscriptRunEvent','_schedule','_fetchMissChangesets','put','debug','RECV','_stopTelemetryCollaborationNewChangeset','_clearRedo','_cfgEnableObjInherit','_createInitialStateImpl','push','offline','string\x20expected','getConfig','save\x20fail\x20reason\x20is\x20','_entities','asObservable','Quantity','from','SyncedState','params','_transformRemoteChangesetByStateCache','forEach','_sheetTransformSelectionsService','Uint8Array','length','removeMember','UniverCore','toStringTag','_collaborationUIEventService','_snapshotServerService','_retryCount','IContextService','[SyncedState]:\x20received\x20rejection.','session.join-failed','setWaitCount','update','ILogService','_getAPIPrefixPath','take','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionFailed','LOCAL_CACHE_INTERVAL_KEY','setConfig','_scheduleCollaborationTimeoutTimer','aes/pkcs7:\x20wrong\x20padding','INetworkConditionService','Optional','localCacheService','JOIN','generateRandomId','0.21.0','_clearCollaborationTimeoutTimer','getTypeOfUnitDisposed$','iterator','startTime','ITransformService','getTypeOfUnitAdded$','delay','socket\x20open.','has','_queuedRemoteChangesets','_clearTimeoutTimer','CHANGESET_SHOULD_RETRY','toDisposable','CollaborationSocketService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','call','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reconnect','object','COMPRESS_MUTATION_SEND','isTransformChangesetsSuccess','defineProperty','UniverProCollaborationClient','getTime','_imageSourceCache','_maxTotalRetryTimeout','_createInitialState','joinRsp','HEARTBEAT','online$','_undoStacks','c1Prime','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','Injector','entries','workbook','4870124RPJyQV','CollaborationImageIoService','getValue','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','unknown','indexOf','replace','CommentService','encode','NEW_CHANGESETS','PENDING','send','map','[UniverCollaborationClientPlugin]','5566030LooeqF','saveImage','InsertSheetMutation','_instanceService','updateSnapshot','BehaviorSubject','editing\x20status\x20changed\x20to','getUnitId','JOIN_ROOM_FAILED','synced','set','DependentOn','default','Subject','_substituteUndoStack','BYTES_PER_ELEMENT','_clearLocalCache','collaboration_new_changeset','getCurrentRevOfUnit','createInstance','_remoteChangesetQueue','_sessions','ErrorCode','AuthzIoHttpService','_transformService','apply','collaboratorID','patch','open$','MentionType','_commandService','pluginName','IDLE','CONFLICT','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','byteOffset','joinEvent','HEARTBEAT_INTERVAL_KEY','_syncEditingCollabCursor','_clearUndo','_undoRedoService','&to=','fill','__splitChunk__','setCurrentUser','awaiting_with_pending','CollaborationSessionService','awaitingChangeset','connection\x20error','_resendTimeout','loadUnit','unsubscribe','getCollabEntity$','ISnapshotServerService','OTHER_CLIENT_EDITING','decorate','_candidateSocket','change$','WorkbookEditablePermission','/universer-api/file/{fileID}/sign-url','IPermissionService','objects','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onLocalMutation','encodeURIComponent','/resources','override','_roomMembers','max','LIVESHARE_REQUEST_HOST','_registerDependencies','AAD','onMissingChangesets','_transitionLocked','onTransformIME','_collabSessionService','loadDoc','append','LOCAL_CACHE_INTERVAL','POST','@univerjs/drawing','CLOSE_ROOM','merge','_showConflictNotification','_socket$','/universer-api/comb','HEARTBEAT_TIMEOUT','DocCollaborationEntity','[CollaborationUndoRedoService]','PERSON','_timeoutTimer','_init','post','putCollaborators','getResourcesRequest','_collaborationTimeoutTimer','/universer-api/user/session-ticket','expected\x20Uint8Array','subarray','incrementRevOfUnit','getLocalCacheKey','JSONX','HEARTBEAT_INTERVAL','range','\x20-\x20','reqId','registerDependencies','touchDependencies','Module','_event$','filter','location','b64DecodeUnicode','2yCEAas','Failed\x20to\x20update\x20permission\x20point','_socketMessageSubscription','transformChangesets','_startCollaboration','JOINING','deepClone','SYNCED','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','entityInit$','originalMeta','COMMENT_UPDATE','serializeCombRequest','PSEUDO_FETCH_MISSING_RESULT','mutations','isView','crypto.getRandomValues\x20must\x20be\x20defined','onTransformState','pauseCollaboration','_initMergeInterceptor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_unitID','ERROR_IMAGE','_toggleOffline','getInterceptPoints','subject','_commentService','JOIN_ROOM_PERMISSION_DENIED','readAsDataURL'];_0x189a=function(){return _0x4609cf;};return _0x189a();}(function(_0x527bb9,_0x1c1226){const _0x42e71c=_0x1dac,_0x3a3542=_0x527bb9();while(!![]){try{const _0x5b3f0d=-parseInt(_0x42e71c(0x385))/0x1*(parseInt(_0x42e71c(0x294))/0x2)+parseInt(_0x42e71c(0x3ca))/0x3*(-parseInt(_0x42e71c(0x15a))/0x4)+parseInt(_0x42e71c(0x314))/0x5+-parseInt(_0x42e71c(0x3cb))/0x6*(-parseInt(_0x42e71c(0x306))/0x7)+parseInt(_0x42e71c(0x412))/0x8*(-parseInt(_0x42e71c(0x248))/0x9)+-parseInt(_0x42e71c(0x19d))/0xa+parseInt(_0x42e71c(0x41c))/0xb;if(_0x5b3f0d===_0x1c1226)break;else _0x3a3542['push'](_0x3a3542['shift']());}catch(_0x35c938){_0x3a3542['push'](_0x3a3542['shift']());}}}(_0x189a,0x91d79),function(_0x56b474,_0x1e6fb7){const _0xfe972f=_0x1dac;typeof exports==_0xfe972f(0x2f4)&&typeof module<'u'?_0x1e6fb7(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/protocol`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define['amd']?define([_0xfe972f(0x41b),_0xfe972f(0x426),_0xfe972f(0x150),_0xfe972f(0x3d4),_0xfe972f(0x1a8),_0xfe972f(0x3a5),_0xfe972f(0x3b4),'@univerjs/telemetry',_0xfe972f(0x1f9),_0xfe972f(0x151),_0xfe972f(0x3e5),_0xfe972f(0x364)],_0x1e6fb7):(_0x56b474=typeof globalThis<'u'?globalThis:_0x56b474||self,_0x1e6fb7(_0x56b474[_0xfe972f(0x2f8)]={},_0x56b474[_0xfe972f(0x17b)],_0x56b474[_0xfe972f(0x2c8)],_0x56b474[_0xfe972f(0x1ef)],_0x56b474[_0xfe972f(0x22b)],_0x56b474['rxjs'],_0x56b474['UniverProtocol'],_0x56b474[_0xfe972f(0x16f)],_0x56b474[_0xfe972f(0x3a5)][_0xfe972f(0x123)],_0x56b474['UniverNetwork'],_0x56b474[_0xfe972f(0x1ea)],_0x56b474[_0xfe972f(0x25e)]));}(this,function(_0x5382ad,_0xba6f9e,_0x21f9b6,_0x1444ec,_0x17b170,_0x4ea2bc,_0x4d42e2,_0x486886,_0x40ad09,_0xf4c2fc,_0xaf7c7d,_0x432f50){const _0x582532=_0x1dac;Object[_0x582532(0x2f7)](_0x5382ad,Symbol[_0x582532(0x2c9)],{'value':_0x582532(0x380)});let _0x107e87='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3ad1c7=0x4e20;function _0x3e065c(_0x1259e2){const _0x3e7037=_0x582532;return JSON[_0x3e7037(0x29e)](_0x1259e2)['length'];}function _0x5e134c(_0x2bf92d){'@babel/helpers - typeof';const _0x57fe0f=_0x582532;return _0x5e134c=typeof Symbol==_0x57fe0f(0x3a8)&&typeof Symbol[_0x57fe0f(0x2e3)]==_0x57fe0f(0x244)?function(_0x1e0d8d){return typeof _0x1e0d8d;}:function(_0x358cc3){const _0x346fb3=_0x57fe0f;return _0x358cc3&&typeof Symbol==_0x346fb3(0x3a8)&&_0x358cc3[_0x346fb3(0x191)]===Symbol&&_0x358cc3!==Symbol[_0x346fb3(0x29a)]?_0x346fb3(0x244):typeof _0x358cc3;},_0x5e134c(_0x2bf92d);}function _0x4d0d22(_0x10c70c,_0x2e4ffa){const _0x339d64=_0x582532;if(_0x5e134c(_0x10c70c)!='object'||!_0x10c70c)return _0x10c70c;var _0x556b61=_0x10c70c[Symbol['toPrimitive']];if(_0x556b61!==void 0x0){var _0x18dfc6=_0x556b61['call'](_0x10c70c,_0x2e4ffa||_0x339d64(0x320));if(_0x5e134c(_0x18dfc6)!=_0x339d64(0x2f4))return _0x18dfc6;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2e4ffa===_0x339d64(0x255)?String:Number)(_0x10c70c);}function _0x3c3c9e(_0x3cf070){const _0x4677b9=_0x582532;var _0xc72b35=_0x4d0d22(_0x3cf070,_0x4677b9(0x255));return _0x5e134c(_0xc72b35)==_0x4677b9(0x244)?_0xc72b35:_0xc72b35+'';}function _0x158768(_0x4a029e,_0x3527eb,_0x25a2c7){const _0x40f22e=_0x582532;return(_0x3527eb=_0x3c3c9e(_0x3527eb))in _0x4a029e?Object[_0x40f22e(0x2f7)](_0x4a029e,_0x3527eb,{'value':_0x25a2c7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4a029e[_0x3527eb]=_0x25a2c7,_0x4a029e;}let _0x214ddb=function(_0x31ac37){const _0x103e7f=_0x582532;return _0x31ac37[_0x103e7f(0x34a)]=_0x103e7f(0x34a),_0x31ac37[_0x103e7f(0x256)]=_0x103e7f(0x256),_0x31ac37[_0x103e7f(0x335)]=_0x103e7f(0x335),_0x31ac37[_0x103e7f(0x365)]=_0x103e7f(0x365),_0x31ac37[_0x103e7f(0x31c)]=_0x103e7f(0x31c),_0x31ac37[_0x103e7f(0x18d)]=_0x103e7f(0x18d),_0x31ac37[_0x103e7f(0x1c9)]=_0x103e7f(0x1c9),_0x31ac37[_0x103e7f(0x125)]=_0x103e7f(0x125),_0x31ac37;}({});var _0x49c645=class{constructor(){const _0x21dad4=_0x582532;_0x158768(this,_0x21dad4(0x381),new _0x4ea2bc['Subject']()),_0x158768(this,_0x21dad4(0x1a6),this[_0x21dad4(0x381)][_0x21dad4(0x2bd)]());}[_0x582532(0x121)](_0x11e2a8){const _0x3eb624=_0x582532;this[_0x3eb624(0x381)][_0x3eb624(0x270)](_0x11e2a8);}},_0x386670=class{constructor(){const _0x3fbfa9=_0x582532;_0x158768(this,_0x3fbfa9(0x189),new _0x4ea2bc[(_0x3fbfa9(0x321))]()),_0x158768(this,_0x3fbfa9(0x3c0),this[_0x3fbfa9(0x189)][_0x3fbfa9(0x2bd)]());}[_0x582532(0x3fb)](_0x459b49){const _0x42143b=_0x582532;this[_0x42143b(0x189)][_0x42143b(0x270)](_0x459b49);}};function _0x385b9b(_0x38a5e9,_0x55f3d3){return function(_0x477bf4,_0x276e0f){_0x55f3d3(_0x477bf4,_0x276e0f,_0x38a5e9);};}function _0x9fca30(_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa){const _0x4dd2b0=_0x582532;var _0x3a4f3b=arguments[_0x4dd2b0(0x2c6)],_0x4c5591=_0x3a4f3b<0x3?_0x5b4d2b:_0x7630aa===null?_0x7630aa=Object[_0x4dd2b0(0x3b2)](_0x5b4d2b,_0x43dd84):_0x7630aa,_0x595942;if(typeof Reflect==_0x4dd2b0(0x2f4)&&typeof Reflect[_0x4dd2b0(0x34b)]==_0x4dd2b0(0x3a8))_0x4c5591=Reflect[_0x4dd2b0(0x34b)](_0x5afadf,_0x5b4d2b,_0x43dd84,_0x7630aa);else{for(var _0x477ebd=_0x5afadf[_0x4dd2b0(0x2c6)]-0x1;_0x477ebd>=0x0;_0x477ebd--)(_0x595942=_0x5afadf[_0x477ebd])&&(_0x4c5591=(_0x3a4f3b<0x3?_0x595942(_0x4c5591):_0x3a4f3b>0x3?_0x595942(_0x5b4d2b,_0x43dd84,_0x4c5591):_0x595942(_0x5b4d2b,_0x43dd84))||_0x4c5591);}return _0x3a4f3b>0x3&&_0x4c5591&&Object[_0x4dd2b0(0x2f7)](_0x5b4d2b,_0x43dd84,_0x4c5591),_0x4c5591;}let _0x42c541=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2b9b4e,_0x1316d9){const _0x434808=_0x582532;super(),this[_0x434808(0x136)]=_0x2b9b4e,this[_0x434808(0x227)]=_0x1316d9,_0x158768(this,_0x434808(0x357),new Map()),_0x158768(this,'_roomCreated$',new _0x4ea2bc[(_0x434808(0x321))]()),this['disposeWithMe']((0x0,_0x4ea2bc['merge'])(this[_0x434808(0x136)][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1ba)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0x35df16=>_0x35df16['getUnitId']())),this['_univerInstanceService'][_0x434808(0x2e2)](_0x21f9b6[_0x434808(0x3e4)][_0x434808(0x1f3)])['pipe']((0x0,_0x40ad09[_0x434808(0x312)])(_0xc81281=>_0xc81281[_0x434808(0x31b)]())))[_0x434808(0x237)](_0x826778=>this['_removeRoom'](_0x826778)));}['waitForRoom$'](_0x203c95){const _0x7a806e=_0x582532;return this[_0x7a806e(0x357)][_0x7a806e(0x2e9)](_0x203c95)?(0x0,_0x4ea2bc['of'])(this['_roomMembers'][_0x7a806e(0x19e)](_0x203c95)):this[_0x7a806e(0x200)][_0x7a806e(0x12f)]((0x0,_0x40ad09[_0x7a806e(0x312)])(_0x5742d1=>{const _0x2a19bb=_0x7a806e;if(_0x5742d1===_0x203c95)return this[_0x2a19bb(0x357)][_0x2a19bb(0x19e)](_0x5742d1);}));}['setCurrentUser'](_0x483747){const _0x2fbd68=_0x582532;this[_0x2fbd68(0x227)][_0x2fbd68(0x340)](_0x483747);}['getCurrentUser'](){const _0x263a1d=_0x582532;return this['_userManagerService'][_0x263a1d(0x2ac)]();}['updateMember'](_0x15f87d,_0x57e250){const _0xdc37e2=_0x582532;let _0x106ced=this[_0xdc37e2(0x357)][_0xdc37e2(0x19e)](_0x15f87d);_0x106ced||(_0x106ced=new _0x32b32e(),this[_0xdc37e2(0x357)]['set'](_0x15f87d,_0x106ced),this[_0xdc37e2(0x200)][_0xdc37e2(0x270)](_0x15f87d)),_0x106ced['updateMember'](_0x57e250);}['removeMember'](_0x490d69,_0x115f08){const _0x41d01e=_0x582532;let _0x2e86ed=this['_roomMembers'][_0x41d01e(0x19e)](_0x490d69);_0x2e86ed&&_0x2e86ed['removeMember'](_0x115f08);}[_0x582532(0x42f)](_0x12ac1a){const _0xeb9ab6=_0x582532;return this['_roomMembers'][_0xeb9ab6(0x19e)](_0x12ac1a);}['getMember'](_0x4ba3b6,_0x59dda1){const _0x3ba842=_0x582532;let _0x29f4b6=this[_0x3ba842(0x357)][_0x3ba842(0x19e)](_0x4ba3b6);if(_0x29f4b6)return _0x29f4b6[_0x3ba842(0x1d7)](_0x59dda1);}[_0x582532(0x265)](_0x4288be){const _0x9b9e2f=_0x582532;let _0x1cfb04=this[_0x9b9e2f(0x357)][_0x9b9e2f(0x19e)](_0x4288be);_0x1cfb04&&(_0x1cfb04['dispose'](),this[_0x9b9e2f(0x357)]['delete'](_0x4288be));}[_0x582532(0x2ab)](){const _0x1fa350=_0x582532;this[_0x1fa350(0x357)][_0x1fa350(0x2c3)](_0x61aacd=>_0x61aacd[_0x1fa350(0x2ab)]()),this[_0x1fa350(0x357)][_0x1fa350(0x157)](),this[_0x1fa350(0x200)][_0x1fa350(0x159)]();}};_0x42c541=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x149)]))],_0x42c541);var _0x32b32e=class extends _0x21f9b6[_0x582532(0x183)]{constructor(..._0x861d6b){const _0x255839=_0x582532;super(..._0x861d6b),_0x158768(this,_0x255839(0x17c),new Map()),_0x158768(this,_0x255839(0x144),new _0x4ea2bc['BehaviorSubject'](this['_members'])),_0x158768(this,'members$',this['_members$'][_0x255839(0x2bd)]());}[_0x582532(0x2ab)](){const _0x155539=_0x582532;this[_0x155539(0x17c)]['clear']();}[_0x582532(0x11f)](_0x2033b1){const _0x46b543=_0x582532;this['_members']['set'](_0x2033b1[_0x46b543(0x208)],_0x2033b1),this[_0x46b543(0x1af)]();}[_0x582532(0x2c7)](_0x3ecaa3){const _0x5855f2=_0x582532;this[_0x5855f2(0x17c)]['delete'](_0x3ecaa3);}[_0x582532(0x1d7)](_0xf2956a){const _0x30e761=_0x582532;return this[_0x30e761(0x17c)][_0x30e761(0x19e)](_0xf2956a);}[_0x582532(0x131)](){const _0x4743f2=_0x582532;return Array['from'](this[_0x4743f2(0x17c)][_0x4743f2(0x2a3)]());}[_0x582532(0x1af)](){const _0x49d2bb=_0x582532;this[_0x49d2bb(0x144)][_0x49d2bb(0x270)](this[_0x49d2bb(0x17c)]);}};let _0x42d806=function(_0x6bb479){const _0x3023bf=_0x582532;return _0x6bb479[_0x6bb479['IDLE']=0x0]='IDLE',_0x6bb479[_0x6bb479[_0x3023bf(0x38a)]=0x1]=_0x3023bf(0x38a),_0x6bb479[_0x6bb479['OFFLINE']=0x2]='OFFLINE',_0x6bb479[_0x6bb479[_0x3023bf(0x3da)]=0x3]=_0x3023bf(0x3da),_0x6bb479;}({}),_0x156385={[_0x4d42e2['CmdRspCode'][_0x582532(0x3f8)]]:_0x582532(0x2cf),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x24d)]]:_0x582532(0x148),[_0x4d42e2['CmdRspCode'][_0x582532(0x1f5)]]:_0x582532(0x253),[_0x4d42e2[_0x582532(0x13c)][_0x582532(0x3a0)]]:_0x582532(0x246),[_0x4d42e2['CmdRspCode']['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x582532(0x3c8)},_0x172cb0=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x202)](){const _0x54155f=_0x582532;return this[_0x54155f(0x3d2)][_0x54155f(0x308)]();}constructor(_0x822249,_0x1d1e00,_0xb69246,_0x35f5fb,_0x41c167,_0x20f30e,_0xed35b4,_0x500542){const _0x1e195d=_0x582532;super(),this['_unitID']=_0x822249,this['_logService']=_0xb69246,this['_configService']=_0x35f5fb,this[_0x1e195d(0x3b6)]=_0x41c167,this[_0x1e195d(0x39f)]=_0x20f30e,this[_0x1e195d(0x2ca)]=_0xed35b4,this[_0x1e195d(0x16b)]=_0x500542,_0x158768(this,'_sessionStatus$',new _0x4ea2bc[(_0x1e195d(0x319))](_0x42d806[_0x1e195d(0x334)])),_0x158768(this,'sessionStatus$',this[_0x1e195d(0x3d2)][_0x1e195d(0x2bd)]()),_0x158768(this,'_event$',new _0x4ea2bc[(_0x1e195d(0x321))]()),_0x158768(this,_0x1e195d(0x1a6),this[_0x1e195d(0x381)][_0x1e195d(0x2bd)]()),_0x158768(this,_0x1e195d(0x2f0),void 0x0),_0x158768(this,_0x1e195d(0x387),void 0x0),_0x158768(this,_0x1e195d(0x373),void 0x0),_0x158768(this,_0x1e195d(0x1e2),!0x1),_0x158768(this,_0x1e195d(0x152),null),this[_0x1e195d(0x1e2)]=!!this[_0x1e195d(0x16b)],_0x1d1e00[_0x1e195d(0x12f)]((0x0,_0x4ea2bc[_0x1e195d(0x172)])(this['dispose$']))['subscribe'](_0x23c469=>{const _0x315cf3=_0x1e195d;if(_0x23c469!==void 0x0){if(this[_0x315cf3(0x2f0)]=_0x23c469,_0x23c469)this[_0x315cf3(0x216)](_0x23c469),this[_0x315cf3(0x387)]=_0x23c469[_0x315cf3(0x23c)][_0x315cf3(0x237)](_0x289d35=>{const _0x1dcc53=_0x315cf3;_0x289d35[_0x1dcc53(0x3e8)]===this[_0x1dcc53(0x39a)]&&this[_0x1dcc53(0x11c)](_0x289d35);});else{var _0x1b989d;this['_throwTelemetryCollaborationNewChangeset'](),this[_0x315cf3(0x3d2)][_0x315cf3(0x270)](_0x42d806[_0x315cf3(0x234)]),(_0x1b989d=this['_socketMessageSubscription'])==null||_0x1b989d[_0x315cf3(0x347)](),this[_0x315cf3(0x387)]=null;}}});}[_0x582532(0x212)](){const _0x58f033=_0x582532;var _0x372a0f,_0x34adbe;return(_0x372a0f=(_0x34adbe=this[_0x58f033(0x2f0)])==null?void 0x0:_0x34adbe[_0x58f033(0x208)])==null?null:_0x372a0f;}['dispose'](){const _0x46007b=_0x582532;super['dispose'](),this[_0x46007b(0x198)](),this[_0x46007b(0x3b8)][_0x46007b(0x270)](),this[_0x46007b(0x3b8)][_0x46007b(0x159)]();}[_0x582532(0x198)](){const _0x367d03=_0x582532;var _0x4ee0bc,_0x24a215;this[_0x367d03(0x236)](),(_0x4ee0bc=this[_0x367d03(0x2f0)])==null||_0x4ee0bc[_0x367d03(0x311)]({'cmd':_0x4d42e2[_0x367d03(0x160)][_0x367d03(0x25c)],'data':{'roomID':this[_0x367d03(0x39a)]}}),(_0x24a215=this[_0x367d03(0x2f0)])==null||_0x24a215['close'](),this[_0x367d03(0x381)]['complete'](),this[_0x367d03(0x3d2)][_0x367d03(0x159)]();}[_0x582532(0x11c)](_0x41cf3f){const _0x5da78c=_0x582532;_0x41cf3f[_0x5da78c(0x13e)]===_0x4d42e2[_0x5da78c(0x160)][_0x5da78c(0x2de)]?this[_0x5da78c(0x28c)](_0x41cf3f):_0x41cf3f['cmd']===_0x4d42e2[_0x5da78c(0x160)]['RECV']&&this['_onRecvEvent'](_0x41cf3f);}['_joinRoom'](_0x1b4e25){const _0x31abd7=_0x582532;this[_0x31abd7(0x3d2)][_0x31abd7(0x270)](_0x42d806[_0x31abd7(0x38a)]),_0x1b4e25['send']({'cmd':_0x4d42e2[_0x31abd7(0x160)]['JOIN'],'routeKey':this[_0x31abd7(0x39a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x31abd7(0x39a)]}]}});}[_0x582532(0x28c)](_0x341e5b){const _0xdf6a5f=_0x582532;var _0x306846;if(_0x341e5b[_0xdf6a5f(0x422)]in _0x156385){this['_collaborationUIEventService']['emitEvent']({'id':_0x214ddb[_0xdf6a5f(0x31c)],'data':_0x156385[_0x341e5b[_0xdf6a5f(0x422)]]}),this['_sessionStatus$'][_0xdf6a5f(0x270)](_0x42d806[_0xdf6a5f(0x234)]);return;}this[_0xdf6a5f(0x3d2)][_0xdf6a5f(0x270)](_0x42d806['ONLINE']);let _0x598f45=(_0x306846=_0x341e5b[_0xdf6a5f(0x163)][_0xdf6a5f(0x16e)][this[_0xdf6a5f(0x39a)]])==null?void 0x0:_0x306846[_0xdf6a5f(0x22f)];_0x598f45&&_0x598f45[_0xdf6a5f(0x2c3)](_0x48283e=>this[_0xdf6a5f(0x3b6)][_0xdf6a5f(0x11f)](this[_0xdf6a5f(0x39a)],_0x48283e));}['_onRecvEvent'](_0x39da68){const _0x2319e0=_0x582532;try{let _0x3ed497=_0x39da68[_0x2319e0(0x163)];switch(_0x3ed497[_0x2319e0(0x23e)]){case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x18c)]:this[_0x2319e0(0x1fa)](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['USERS_LEAVE']:this['_onUserLeave'](_0x3ed497),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x161)]:case _0xba6f9e[_0x2319e0(0x417)][_0x2319e0(0x2ec)]:this[_0x2319e0(0x2b3)](),this[_0x2319e0(0x2e1)](),this['_event$']['next'](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['MSG_FOR_ERROR']:this[_0x2319e0(0x423)][_0x2319e0(0x171)](_0x2319e0(0x2bb)+JSON['stringify'](_0x3ed497)),this[_0x2319e0(0x381)][_0x2319e0(0x270)](_0x3ed497);break;case _0xba6f9e[_0x2319e0(0x417)]['COMMENT_UPDATE']:this[_0x2319e0(0x39f)][_0x2319e0(0x3fb)](_0x3ed497[_0x2319e0(0x163)]),this[_0x2319e0(0x381)]['next'](_0x3ed497);break;default:this['_event$'][_0x2319e0(0x270)](_0x3ed497);}}catch(_0x172f8e){this[_0x2319e0(0x423)]['error'](_0x172f8e,_0x39da68);}}[_0x582532(0x1fa)](_0x665639){const _0x10af40=_0x582532;this[_0x10af40(0x3b6)]['updateMember'](this['_unitID'],_0x665639['data']);}[_0x582532(0x3d0)](_0xb51a20){const _0x156df5=_0x582532;this[_0x156df5(0x3b6)][_0x156df5(0x2c7)](this[_0x156df5(0x39a)],_0xb51a20['data']['memberID']);}async[_0x582532(0x311)](_0x19e807,_0x25cc40){const _0x5a9049=_0x582532;if(this['sessionStatus']!==_0x42d806['ONLINE']||!this['_socket'])throw Error(_0x5a9049(0x26c));try{_0x19e807[_0x5a9049(0x23e)]===_0xba6f9e[_0x5a9049(0x417)][_0x5a9049(0x1f8)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5a9049(0x1ae)](_0x19e807)),this['_socket'][_0x5a9049(0x311)]({'cmd':_0x4d42e2[_0x5a9049(0x160)]['INGEST'],'routeKey':_0x25cc40,'routeType':'','data':_0x19e807});}catch(_0x5619d0){this[_0x5a9049(0x423)][_0x5a9049(0x171)](_0x5619d0);}}[_0x582532(0x2d9)](){const _0x1332a5=_0x582532;var _0x33009f;this[_0x1332a5(0x373)]=setTimeout(()=>{const _0x33510d=_0x1332a5;this['_collaborationTimeoutTimer']=null,this[_0x33510d(0x2ca)][_0x33510d(0x121)]({'id':_0x214ddb[_0x33510d(0x125)]});},(_0x33009f=this[_0x1332a5(0x3b0)][_0x1332a5(0x2ba)](_0x1332a5(0x36a)))==null?_0x3ad1c7:_0x33009f);}[_0x582532(0x2e1)](){const _0x579ab0=_0x582532;this[_0x579ab0(0x373)]&&(clearTimeout(this[_0x579ab0(0x373)]),this[_0x579ab0(0x373)]=null);}[_0x582532(0x1ae)](_0x296140){const _0x24af7f=_0x582532;if(!this[_0x24af7f(0x1e2)])return;let {data:_0x3be28d}=_0x296140,{unitID:_0x248049,changeset:_0x1c523b}=_0x3be28d,{mutations:_0x245e30,type:_0xa89f2e}=_0x1c523b;this[_0x24af7f(0x152)]={'unitId':_0x248049,'type':_0xa89f2e,'startTime':performance[_0x24af7f(0x14c)](),'stopTime':0x0,'duration':0x0,'size':_0x3e065c(_0x245e30)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x3f0354=_0x582532;if(this[_0x3f0354(0x1e2)]){if(!this[_0x3f0354(0x152)]){this[_0x3f0354(0x423)][_0x3f0354(0x171)](_0x3f0354(0x3f2),_0x3f0354(0x3b9));return;}this['_telemetryInfo'][_0x3f0354(0x430)]=performance['now'](),this[_0x3f0354(0x152)][_0x3f0354(0x3c9)]=this[_0x3f0354(0x152)][_0x3f0354(0x430)]-this['_telemetryInfo'][_0x3f0354(0x2e4)],this[_0x3f0354(0x16b)][_0x3f0354(0x174)](_0x3f0354(0x325),this[_0x3f0354(0x152)]),this['_telemetryInfo']=null;}}[_0x582532(0x236)](){this['_telemetryInfo']=null;}};_0x172cb0=_0x9fca30([_0x385b9b(0x2,_0x21f9b6['ILogService']),_0x385b9b(0x3,_0x21f9b6['IConfigService']),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x386670)),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x486886[_0x582532(0x1e8)]))],_0x172cb0);let _0x2705d1=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x29d));function _0x183d07(_0x452ca2){return'unit-cache-'+_0x452ca2;}function _0x5873bb(_0x2024f3){const _0x212b08=_0x582532;let {unitID:_0xaae179,mutations:_0x552b55}=_0x2024f3;return{'unitId':_0xaae179,'subUnitId':_0x552b55['length']>0x0?_0x552b55[0x0][_0x212b08(0x2c1)][_0x212b08(0x117)]:null};}let _0x43e293=class{constructor(_0x29ac54,_0x432363,_0x39fcb5){const _0x5bdb45=_0x582532;this[_0x5bdb45(0x279)]=_0x29ac54,this['_transformService']=_0x432363,this['_instanceService']=_0x39fcb5;}[_0x582532(0x3ff)](_0x538f53){const _0x3243a7=_0x582532;var _0x464b8d,_0x1f7a42;let _0x213269=this['_injector'][_0x3243a7(0x19e)](_0x17b170[_0x3243a7(0x3fd)]),{unitId:_0x3f9749,subUnitId:_0x31c1bb}=_0x5873bb(_0x538f53),_0x5038be=_0x213269==null?void 0x0:_0x213269[_0x3243a7(0x401)](_0x3f9749)[_0x3243a7(0x15c)](),_0x566a50=(_0x464b8d=this[_0x3243a7(0x317)]['getUnit'](_0x3f9749))==null||(_0x464b8d=_0x464b8d[_0x3243a7(0x13b)]())==null?void 0x0:_0x464b8d[_0x3243a7(0x3e9)]();if(_0x5038be[_0x3243a7(0x2c6)]===0x0||!_0x3f9749||!_0x31c1bb)return;let _0x2ae9b8=[{'id':_0x17b170[_0x3243a7(0x3cd)]['id'],'params':{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x21f9b6[_0x3243a7(0x116)][_0x3243a7(0x38b)](_0x5038be)}}],_0x2a0eda=this[_0x3243a7(0x32c)]['transformMutationsWithChangeset'](_0x538f53,_0x2ae9b8);if(!(0x0,_0xba6f9e[_0x3243a7(0x179)])(_0x2a0eda))throw _0x2a0eda[_0x3243a7(0x171)];let _0x1e6dc4=(_0x1f7a42=_0x2a0eda[_0x3243a7(0x419)][0x0])==null||(_0x1f7a42=_0x1f7a42['params'])==null?void 0x0:_0x1f7a42[_0x3243a7(0x3d8)];if(Array['isArray'](_0x1e6dc4)&&_0x1e6dc4[_0x3243a7(0x2c6)]){if(_0x1e6dc4[_0x3243a7(0x2c6)]===_0x2ae9b8[0x0]['params'][_0x3243a7(0x3d8)][_0x3243a7(0x2c6)]&&_0x1e6dc4[_0x3243a7(0x1d9)]((_0x2edcc7,_0x52e500)=>_0x21f9b6[_0x3243a7(0x165)]['equals'](_0x2edcc7[_0x3243a7(0x37b)],_0x2ae9b8[0x0][_0x3243a7(0x2c1)][_0x3243a7(0x3d8)][_0x52e500]['range'])))return;this[_0x3243a7(0x279)][_0x3243a7(0x19e)](_0x21f9b6[_0x3243a7(0x284)])[_0x3243a7(0x1ee)](_0x17b170['SetSelectionsOperation']['id'],{'unitId':_0x3f9749,'subUnitId':_0x566a50,'selections':_0x1e6dc4});}}};_0x43e293=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['Injector'])),_0x385b9b(0x1,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x207)])],_0x43e293);let _0x4ada3c=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x1ce)),_0x5e2f10=function(_0x3cac88){const _0x197712=_0x582532;return _0x3cac88[_0x3cac88[_0x197712(0x14e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3cac88[_0x3cac88[_0x197712(0x118)]=0x1]=_0x197712(0x118),_0x3cac88;}({}),_0x3b7e3d=_0x582532(0x293);Symbol(_0x3b7e3d);let _0x1a0a3c={};function _0x2582a0(_0x180e05){const _0x195008=_0x582532;var _0x4eb331;return!!((_0x4eb331=_0x180e05[_0x195008(0x2c1)])!=null&&_0x4eb331[_0x195008(0x33f)]);}let _0x1d0ff0=new Set([_0x17b170[_0x582532(0x316)]['id']]);function _0xb02396(_0x3f9fb7,_0x29be90,_0x56b7cb,_0x748d13,_0x4955fe){const _0x506b88=_0x582532;var _0x518218,_0x56190f,_0x1c0195,_0x2a5c29;let _0x28531a=[];for(let _0x576848 of _0x3f9fb7){if(_0x1d0ff0['has'](_0x576848['id'])){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}if(_0x2582a0(_0x576848)){if(_0x28531a[_0x506b88(0x2c6)]>0x0)break;_0x28531a[_0x506b88(0x2b7)](_0x576848);break;}_0x28531a[_0x506b88(0x2b7)](_0x576848);}let _0x29f864=(_0x518218=(_0x56190f=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x56190f[_0x506b88(0x19a)])==null?_0x506b88(0x30a):_0x518218,_0x1dabaa=(_0x1c0195=(_0x2a5c29=_0x4955fe[_0x506b88(0x2ac)]())==null?void 0x0:_0x2a5c29[_0x506b88(0x208)])==null?'unknown':_0x1c0195;return{'changeset':{'unitID':_0x29be90,'type':(0x0,_0xba6f9e[_0x506b88(0x3c4)])(_0x56b7cb[_0x506b88(0x1c0)](_0x29be90)),'baseRev':_0x748d13['getCurrentRevOfUnit'](_0x29be90),'revision':0x0,'userID':_0x29f864,'memberID':_0x1dabaa,'mutations':_0x28531a},'pendingMutations':_0x3f9fb7[_0x506b88(0x24b)](_0x28531a[_0x506b88(0x2c6)])};}function _0x3b1a7d(_0x37f861,_0x2f28dc,_0x306487,_0x52c958,_0x3d2e92){const _0x480349=_0x582532;var _0x421a51,_0x1e1570,_0x1a8f06,_0x570c70;let _0x25a752=[_0x37f861[_0x480349(0x13f)]((_0x2c1c91,_0x499cce)=>{const _0x5c51d9=_0x480349;var _0x2251c2;let {id:_0x52b1c7}=_0x2c1c91,{id:_0x2f375c,type:_0x4fc9ab}=_0x499cce,_0x59c746=(_0x2251c2=_0x2c1c91[_0x5c51d9(0x2c1)])==null?{'actions':null}:_0x2251c2,_0x3dacc3=_0x499cce[_0x5c51d9(0x2c1)];if(_0x52b1c7&&_0x52b1c7!==_0x2f375c)throw Error(_0x5c51d9(0x128)+_0x52b1c7+_0x5c51d9(0x37c)+_0x2f375c+'.');return{..._0x2c1c91,'id':_0x2f375c,'type':_0x4fc9ab,'params':{'unitId':_0x3dacc3[_0x5c51d9(0x415)],'textRanges':_0x3dacc3[_0x5c51d9(0x28a)],'actions':_0x21f9b6[_0x5c51d9(0x379)][_0x5c51d9(0x1a0)](_0x59c746[_0x5c51d9(0x1ac)],_0x3dacc3[_0x5c51d9(0x1ac)])}};},{})],_0x1e423a=(_0x421a51=(_0x1e1570=_0x3d2e92[_0x480349(0x2ac)]())==null?void 0x0:_0x1e1570[_0x480349(0x19a)])==null?_0x480349(0x30a):_0x421a51,_0x5dc596=(_0x1a8f06=(_0x570c70=_0x3d2e92['getCurrentUser']())==null?void 0x0:_0x570c70['memberID'])==null?_0x480349(0x30a):_0x1a8f06;return{'changeset':{'unitID':_0x2f28dc,'type':(0x0,_0xba6f9e[_0x480349(0x3c4)])(_0x306487[_0x480349(0x1c0)](_0x2f28dc)),'baseRev':_0x52c958[_0x480349(0x326)](_0x2f28dc),'revision':0x0,'userID':_0x1e423a,'memberID':_0x5dc596,'mutations':_0x25a752},'pendingMutations':[]};}function _0x28d3ce(_0xca5a55,_0x47a5a1){const _0x54aa4e=_0x582532;let _0x4d1bb5=new _0x4ea2bc['ReplaySubject'](0x1);return setTimeout(()=>_0x4d1bb5[_0x54aa4e(0x270)](_0x47a5a1),_0xca5a55),_0x4d1bb5[_0x54aa4e(0x2bd)]()[_0x54aa4e(0x12f)]((0x0,_0x4ea2bc[_0x54aa4e(0x2d4)])(0x1));}var _0x5bce94,_0x5ccf93,_0x3cf1d4;let _0x259f7c=function(_0x1a1a73){const _0x37adff=_0x582532;return _0x1a1a73['NOT_COLLAB']=_0x37adff(0x1dd),_0x1a1a73[_0x37adff(0x38c)]=_0x37adff(0x31d),_0x1a1a73['PENDING']='pending',_0x1a1a73[_0x37adff(0x3f1)]=_0x37adff(0x22a),_0x1a1a73[_0x37adff(0x220)]=_0x37adff(0x341),_0x1a1a73[_0x37adff(0x203)]=_0x37adff(0x40e),_0x1a1a73[_0x37adff(0x335)]=_0x37adff(0x23b),_0x1a1a73[_0x37adff(0x234)]=_0x37adff(0x2b8),_0x1a1a73;}({}),_0x48a954=0x4e20,_0x35b288=0x2bf20;var _0x30bec6=class{constructor(_0xff5de9,_0x4d65fd,_0x379d75,_0x262837,_0x187099,_0x3543cc,_0x2acef3,_0x47aa4e,_0xca2853){const _0x1dbe70=_0x582532;this[_0x1dbe70(0x142)]=_0xff5de9,this[_0x1dbe70(0x1a4)]=_0x4d65fd,this['_handler']=_0x187099,this[_0x1dbe70(0x332)]=_0x3543cc,this[_0x1dbe70(0x33c)]=_0x2acef3,this[_0x1dbe70(0x262)]=_0x47aa4e,this[_0x1dbe70(0x1e7)]=_0xca2853,_0x158768(this,_0x1dbe70(0x209),null),_0x158768(this,'_pendingMutations',[]),this['_awaitingChangeset']=_0x379d75,this[_0x1dbe70(0x27f)]=_0x262837;}[_0x582532(0x266)](_0x20b949){const _0x4fdb1a=_0x582532;let _0x3ab845=this[_0x4fdb1a(0x262)][_0x4fdb1a(0x326)](this[_0x4fdb1a(0x142)]);return _0x20b949['revision']>_0x3ab845+0x1?(this[_0x4fdb1a(0x3db)][_0x4fdb1a(0x35c)]({'from':_0x3ab845,'to':_0x20b949[_0x4fdb1a(0x1e5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x56ab9d){const _0x495402=_0x582532;this[_0x495402(0x33c)][_0x495402(0x21b)](this['unitID'],_0x56ab9d);}['_transformSelections'](_0x159487){const _0x42b4f0=_0x582532;var _0x5c1ea2,_0x487f3e;(_0x5c1ea2=(_0x487f3e=this[_0x42b4f0(0x3db)])[_0x42b4f0(0x138)])==null||_0x5c1ea2[_0x42b4f0(0x2f1)](_0x487f3e,_0x159487);}[_0x582532(0x221)](_0x5754ac){const _0x2c7b91=_0x582532;var _0x34d495,_0x3c3a78;return(_0x34d495=(_0x3c3a78=this[_0x2c7b91(0x3db)])['onTransformIME'])==null?void 0x0:_0x34d495[_0x2c7b91(0x2f1)](_0x3c3a78,_0x5754ac);}['_transformStateCache'](_0x5acbba){const _0x4597f4=_0x582532;var _0x1ed09f,_0x31a209;return(_0x1ed09f=(_0x31a209=this[_0x4597f4(0x3db)])[_0x4597f4(0x396)])==null?void 0x0:_0x1ed09f['call'](_0x31a209,_0x5acbba);}[_0x582532(0x1bf)](_0x1cf0fc){const _0x54c835=_0x582532;var _0xb00d35,_0x86c319,_0x7b78f1;return(_0xb00d35=(_0x86c319=(_0x7b78f1=this[_0x54c835(0x3db)])[_0x54c835(0x40b)])==null?void 0x0:_0x86c319[_0x54c835(0x2f1)](_0x7b78f1,_0x1cf0fc))==null?_0x1cf0fc:_0xb00d35;}['_transformRemoteChangesetByStateCache'](_0x1b6eb9){const _0x4f6f8d=_0x582532;var _0x33ab14,_0x2e6867,_0x35fb02;return(_0x33ab14=(_0x2e6867=(_0x35fb02=this[_0x4f6f8d(0x3db)])[_0x4f6f8d(0x291)])==null?void 0x0:_0x2e6867['call'](_0x35fb02,_0x1b6eb9))==null?_0x1b6eb9:_0x33ab14;}[_0x582532(0x33a)](_0x36cfd8){const _0x1d3ff0=_0x582532;if(this[_0x1d3ff0(0x1a4)]===_0x21f9b6[_0x1d3ff0(0x3e4)]['UNIVER_DOC']){let {unitID:_0xdbb2dc,mutations:_0x5f40a4,memberID:_0x29ae8c}=_0x36cfd8,_0x160d6a=_0x5f40a4['length']>0x0?_0x5f40a4[0x0][_0x1d3ff0(0x2c1)][_0x1d3ff0(0x28a)]:[];if(Array[_0x1d3ff0(0x2a2)](_0x160d6a)&&_0x160d6a[_0x1d3ff0(0x2c6)]>0x0){var _0x1437cf,_0x227188;(_0x1437cf=(_0x227188=this[_0x1d3ff0(0x3db)])[_0x1d3ff0(0x3d5)])==null||_0x1437cf['call'](_0x227188,{'unitID':_0xdbb2dc,'memberID':_0x29ae8c,'textRanges':_0x160d6a});}}}[_0x582532(0x140)](){const _0x11cc84=_0x582532;var _0x51dd2a;(_0x51dd2a=this[_0x11cc84(0x1e7)])==null||_0x51dd2a[_0x11cc84(0x28e)](this[_0x11cc84(0x142)],this[_0x11cc84(0x1a4)],this[_0x11cc84(0x209)],this[_0x11cc84(0x27f)]);}[_0x582532(0x146)](){const _0x524235=_0x582532;return this[_0x524235(0x262)][_0x524235(0x326)](this[_0x524235(0x142)]);}[_0x582532(0x13d)](){const _0xd3ea05=_0x582532;this[_0xd3ea05(0x262)][_0xd3ea05(0x377)](this['unitID']);}[_0x582532(0x3ab)](_0x408f50){const _0x2e0c5e=_0x582532;let _0x106a51=this[_0x2e0c5e(0x1bf)](_0x408f50);_0x106a51=this[_0x2e0c5e(0x2c2)](_0x106a51);let _0x1f3b0c=(0x0,_0x21f9b6[_0x2e0c5e(0x18f)])(_0x106a51['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f3b0c[_0x2e0c5e(0x20c)]){var _0x107267;throw _0x1f3b0c[_0x2e0c5e(0x171)]instanceof Error?_0x1f3b0c['error']:Error((_0x107267=_0x1f3b0c['error'])==null?_0x2e0c5e(0x413):_0x107267);}this['_transformIMECache'](_0x106a51),this[_0x2e0c5e(0x3f3)](_0x106a51),this[_0x2e0c5e(0x282)](_0x408f50),this[_0x2e0c5e(0x28f)](_0x106a51),this[_0x2e0c5e(0x33a)](_0x106a51),this[_0x2e0c5e(0x13d)]();}};let _0x51c4b3=class extends _0x30bec6{constructor(_0x191636,_0x3dbaae,_0x52c9db,_0x57a7be,_0x3685d2,_0x425356,_0xfff1c1,_0x1bf1b5,_0x34c474,_0xb38237){const _0x53ee51=_0x582532;super(_0x191636,_0x3dbaae,null,[],_0x52c9db,_0xfff1c1,_0x425356,_0x57a7be,_0xb38237),this[_0x53ee51(0x279)]=_0x3685d2,this[_0x53ee51(0x423)]=_0x1bf1b5,this[_0x53ee51(0x32c)]=_0x34c474,this[_0x53ee51(0x2dd)]=_0xb38237,_0x158768(this,_0x53ee51(0x18e),_0x259f7c[_0x53ee51(0x38c)]);}[_0x582532(0x167)](_0x1c6747){const _0x2fe4dc=_0x582532;let _0x4c7e7c=this[_0x2fe4dc(0x279)][_0x2fe4dc(0x327)](_0x348615,this[_0x2fe4dc(0x142)],this[_0x2fe4dc(0x1a4)],[_0x1c6747],this[_0x2fe4dc(0x3db)]);return _0x4c7e7c[_0x2fe4dc(0x2ae)](),_0x4c7e7c[_0x2fe4dc(0x140)](),_0x4c7e7c;}[_0x582532(0x42e)](_0xb4de09){const _0x758499=_0x582532;if(this['_checkMissing'](_0xb4de09))return this[_0x758499(0x279)][_0x758499(0x327)](_0x231f53,this[_0x758499(0x142)],this['type'],null,[],null,[_0xb4de09],this['_handler']);try{let _0x360525=this[_0x758499(0x32c)]['transformMutationsWithChangeset'](_0xb4de09,[_0xba6f9e[_0x758499(0x28b)]]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x360525)){let {c1Prime:_0x5c6725}=_0x360525;return this[_0x758499(0x3ab)](_0x5c6725),this;}throw _0x360525[_0x758499(0x171)];}catch(_0xd3a5bc){return this[_0x758499(0x423)][_0x758499(0x171)](_0xd3a5bc),this['_onConflict'](!0x1);}}[_0x582532(0x41d)](_0x42e58d){const _0x21f715=_0x582532;return this[_0x21f715(0x279)][_0x21f715(0x327)](_0x2d5de6,this[_0x21f715(0x142)],this['type'],null,[],this[_0x21f715(0x3db)],_0x42e58d);}['onRemoteAck'](){const _0x48cd23=_0x582532;throw Error(_0x48cd23(0x21e));}[_0x582532(0x1e3)](){const _0x578c8b=_0x582532;throw Error(_0x578c8b(0x2ce));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){const _0x187a31=_0x582532;return this[_0x187a31(0x279)][_0x187a31(0x327)](_0x23f8dc,this[_0x187a31(0x142)],this['type'],null,[],this[_0x187a31(0x3db)]);}[_0x582532(0x3f9)](){return this;}['resend'](){throw Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x68ae2=_0x582532;let _0x5900f8=this['_revisionService']['getCurrentRevOfUnit'](this[_0x68ae2(0x142)]);return this[_0x68ae2(0x3db)][_0x68ae2(0x35c)]({'from':_0x5900f8,'to':0x0}),this['_injector'][_0x68ae2(0x327)](_0x231f53,this['unitID'],this[_0x68ae2(0x1a4)],null,[],null,[],this[_0x68ae2(0x3db)]);}};_0x51c4b3=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x6,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x51c4b3);let _0x348615=_0x5bce94=class extends _0x30bec6{constructor(_0x1ab62a,_0x2a7f2a,_0x3998da,_0x565924,_0x175d39,_0x30fabc,_0x468985,_0x40d4df,_0x1718f4,_0x2f0f9d,_0x5b7bce,_0x3b5ed8,_0x2dacb0,_0x4d6ed2){const _0x3381ed=_0x582532;super(_0x1ab62a,_0x2a7f2a,null,_0x3998da,_0x565924,_0x1718f4,_0x2dacb0,_0x30fabc,_0x4d6ed2),this[_0x3381ed(0x279)]=_0x175d39,this[_0x3381ed(0x3b6)]=_0x468985,this['_logService']=_0x40d4df,this[_0x3381ed(0x3b0)]=_0x2f0f9d,this[_0x3381ed(0x32c)]=_0x5b7bce,this[_0x3381ed(0x136)]=_0x3b5ed8,_0x158768(this,_0x3381ed(0x18e),_0x259f7c[_0x3381ed(0x310)]),_0x158768(this,_0x3381ed(0x15f),null),_0x158768(this,_0x3381ed(0x1d3),null);}[_0x582532(0x167)](_0x1754c8){const _0x5b4731=_0x582532;return this[_0x5b4731(0x27f)]['push'](_0x1754c8),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x13a597){const _0x2387b0=_0x582532;if(this[_0x2387b0(0x266)](_0x13a597))return this[_0x2387b0(0x127)](),this['_injector'][_0x2387b0(0x327)](_0x231f53,this[_0x2387b0(0x142)],this['type'],null,this[_0x2387b0(0x27f)],null,[_0x13a597],this[_0x2387b0(0x3db)]);try{let _0x4f4bd2=this['_transformService'][_0x2387b0(0x18a)](_0x13a597,this[_0x2387b0(0x27f)]);if((0x0,_0xba6f9e[_0x2387b0(0x179)])(_0x4f4bd2)){let {c1Prime:_0x30c7de,m2Prime:_0x5b12f6}=_0x4f4bd2;this['_executeRemoteChangeset'](_0x30c7de);let _0x47bad4=this[_0x2387b0(0x279)]['createInstance'](_0x5bce94,this[_0x2387b0(0x142)],this[_0x2387b0(0x1a4)],_0x5b12f6,this[_0x2387b0(0x3db)]);this[_0x2387b0(0x127)]();let _0x273fd8=new Date()[_0x2387b0(0x2f9)](),_0x4db129=this[_0x2387b0(0x15f)]?Math[_0x2387b0(0x358)](this[_0x2387b0(0x15f)]-_0x273fd8,0x0):this[_0x2387b0(0x432)]();return _0x47bad4[_0x2387b0(0x2ae)](_0x4db129),_0x47bad4;}throw _0x4f4bd2[_0x2387b0(0x171)];}catch(_0x228ca1){return this[_0x2387b0(0x423)][_0x2387b0(0x171)](_0x228ca1),this[_0x2387b0(0x41d)](!0x1);}}[_0x582532(0x1e9)](){const _0xe2bd34=_0x582532;throw Error(_0xe2bd34(0x199));}['onRemoteRej'](){throw Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x3df602=_0x582532;return this[_0x3df602(0x127)](),this[_0x3df602(0x279)][_0x3df602(0x327)](_0x23f8dc,this[_0x3df602(0x142)],this[_0x3df602(0x1a4)],null,this[_0x3df602(0x27f)],this[_0x3df602(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x2ae)](_0x5a4988){const _0x18dcd8=_0x582532;let _0x52fda7=_0x5a4988==null?this['_getSendChangesetTimeout']():_0x5a4988;this['_scheduleCompleteTimestamp']=new Date()[_0x18dcd8(0x2f9)]()+_0x52fda7,this[_0x18dcd8(0x1d3)]=setTimeout(()=>{const _0x4ff290=_0x18dcd8;this[_0x4ff290(0x127)]();let _0x299b1d=null;switch(this['type']){case _0x21f9b6[_0x4ff290(0x3e4)]['UNIVER_SHEET']:_0x299b1d=_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this[_0x4ff290(0x136)],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]);break;case _0x21f9b6['UniverInstanceType'][_0x4ff290(0x1f3)]:_0x299b1d=this[_0x4ff290(0x27f)][_0x4ff290(0x1d9)](_0xd44c98=>_0xd44c98['id']===_0x1444ec[_0x4ff290(0x1ff)]['id'])?_0x3b1a7d(this[_0x4ff290(0x27f)],this[_0x4ff290(0x142)],this['_univerInstanceService'],this[_0x4ff290(0x262)],this[_0x4ff290(0x3b6)]):_0xb02396(this['_pendingMutations'],this[_0x4ff290(0x142)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;default:throw Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4ff290(0x1a4)]+_0x4ff290(0x12c));}let {changeset:_0xbfcbfa,pendingMutations:_0x3f827a}=_0x299b1d;this[_0x4ff290(0x3db)]['onSendChangeset'](_0xbfcbfa);let _0x18fee0=_0x3f827a['length']?this[_0x4ff290(0x279)]['createInstance'](_0x548b22,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,_0x3f827a,this[_0x4ff290(0x3db)],void 0x0):this[_0x4ff290(0x279)][_0x4ff290(0x327)](_0x4cb993,this[_0x4ff290(0x142)],this[_0x4ff290(0x1a4)],_0xbfcbfa,this[_0x4ff290(0x3db)]);_0x18fee0['_updateLocalCache'](),this[_0x4ff290(0x3db)]['onStateChange'](this,_0x18fee0);},_0x52fda7);}['_getSendChangesetTimeout'](){const _0x57542e=_0x582532;var _0x5388d8;let _0x8e446d=this[_0x57542e(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x5388d8=_0x8e446d==null?void 0x0:_0x8e446d[_0x57542e(0x219)])==null?0x7d0:_0x5388d8;}['resend'](){const _0x16a690=_0x582532;throw Error(_0x16a690(0x115));}[_0x582532(0x127)](){const _0x410e28=_0x582532;this[_0x410e28(0x1d3)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x410e28(0x1d3)]=null);}[_0x582532(0x41d)](_0x5cce5b){const _0x1f328c=_0x582532;return this[_0x1f328c(0x127)](),this[_0x1f328c(0x279)][_0x1f328c(0x327)](_0x2d5de6,this[_0x1f328c(0x142)],this['type'],null,this[_0x1f328c(0x27f)],this[_0x1f328c(0x3db)],_0x5cce5b);}};_0x348615=_0x5bce94=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x42c541)),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x348615);let _0x4cb993=_0x5ccf93=class extends _0x30bec6{constructor(_0x5ae621,_0x121bf5,_0x262e39,_0x2b5481,_0x514f22,_0x473c76,_0x2c09a5,_0x311085,_0x322bf4,_0x276cbf,_0x5370ee){const _0x5dc3d3=_0x582532;super(_0x5ae621,_0x121bf5,_0x262e39,[],_0x2b5481,_0x2c09a5,_0x276cbf,_0x473c76,_0x5370ee),this[_0x5dc3d3(0x279)]=_0x514f22,this['_logService']=_0x311085,this[_0x5dc3d3(0x32c)]=_0x322bf4,_0x158768(this,_0x5dc3d3(0x18e),_0x259f7c[_0x5dc3d3(0x3f1)]),_0x158768(this,_0x5dc3d3(0x345),0x0),_0x158768(this,_0x5dc3d3(0x2fb),0x0),_0x158768(this,_0x5dc3d3(0x1e6),void 0x0),_0x158768(this,_0x5dc3d3(0x1e1),void 0x0);}['appendMutation'](_0x1c2523){const _0x5db447=_0x582532;this[_0x5db447(0x127)]();let _0x5ad262=this[_0x5db447(0x279)]['createInstance'](_0x548b22,this[_0x5db447(0x142)],this['type'],this[_0x5db447(0x209)],[_0x1c2523],this['_handler'],this[_0x5db447(0x1e6)]);return _0x5ad262[_0x5db447(0x140)](),_0x5ad262;}[_0x582532(0x42e)](_0x44d48b){const _0x11b52d=_0x582532;if(this['_checkMissing'](_0x44d48b))return this[_0x11b52d(0x127)](),this['_injector'][_0x11b52d(0x327)](_0x231f53,this['unitID'],this[_0x11b52d(0x1a4)],this[_0x11b52d(0x209)],[],null,[_0x44d48b],this[_0x11b52d(0x3db)]);try{let _0x47b469=this[_0x11b52d(0x32c)][_0x11b52d(0x388)]([_0x44d48b],[this[_0x11b52d(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x11b52d(0x2f6)])(_0x47b469)){let {c1Prime:_0x2c953a,c2Prime:_0x16c29a}=_0x47b469;this[_0x11b52d(0x3ab)](_0x2c953a[0x0]),_0x16c29a[0x0][_0x11b52d(0x42d)]=this[_0x11b52d(0x146)](),this['_clearScheduledTask']();let _0x4ad2ee=this[_0x11b52d(0x279)][_0x11b52d(0x327)](_0x5ccf93,this[_0x11b52d(0x142)],this['type'],_0x16c29a[0x0],this[_0x11b52d(0x3db)]);return _0x4ad2ee[_0x11b52d(0x140)](),_0x4ad2ee;}return this[_0x11b52d(0x41d)](!0x1);}catch(_0x471fbd){return this[_0x11b52d(0x423)][_0x11b52d(0x171)](_0x471fbd),this['_onConflict'](!0x1);}}[_0x582532(0x1e9)](_0xfda263){const _0x4c2b8a=_0x582532;this[_0x4c2b8a(0x127)]();let _0x52aa92=this[_0x4c2b8a(0x262)][_0x4c2b8a(0x326)](this[_0x4c2b8a(0x142)]);if(_0xfda263[_0x4c2b8a(0x1e5)]<_0x52aa92-0x1)return this;if(this[_0x4c2b8a(0x266)](_0xfda263))return this['_injector'][_0x4c2b8a(0x327)](_0x231f53,this[_0x4c2b8a(0x142)],this[_0x4c2b8a(0x1a4)],null,[],this[_0x4c2b8a(0x209)],[],this[_0x4c2b8a(0x3db)]);this[_0x4c2b8a(0x13d)]();let _0x1bec25=this[_0x4c2b8a(0x279)][_0x4c2b8a(0x327)](_0x51c4b3,this['unitID'],this[_0x4c2b8a(0x1a4)],this['_handler']);return _0x1bec25['_updateLocalCache'](),_0x1bec25;}['onRemoteRej'](_0x55fc0c){const _0x3cd3ea=_0x582532;return this[_0x3cd3ea(0x41d)](!!(_0x55fc0c!=null&&_0x55fc0c[_0x3cd3ea(0x21a)]));}[_0x582532(0x3ba)](_0x4ce1e4){const _0x379df2=_0x582532;return this[_0x379df2(0x2fb)]>_0x35b288?this['toggleOffline']():(this['_resendTimer']=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x379df2(0x345)],'reqId':_0x4ce1e4[_0x379df2(0x37d)]}),this[_0x379df2(0x1e1)]=this[_0x379df2(0x1e6)][_0x379df2(0x237)](({reqId:_0x4c25e2,timeout:_0x961807})=>{const _0x48d43d=_0x379df2;this[_0x48d43d(0x241)](_0x4c25e2,_0x961807);}),this);}['toggleOffline'](){const _0x2fc99b=_0x582532;return this[_0x2fc99b(0x127)](),this[_0x2fc99b(0x279)][_0x2fc99b(0x327)](_0x23f8dc,this[_0x2fc99b(0x142)],this[_0x2fc99b(0x1a4)],this['_awaitingChangeset'],[],this[_0x2fc99b(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x132)](){const _0x5a83d8=_0x582532;this[_0x5a83d8(0x3db)]['onSendChangeset'](this[_0x5a83d8(0x209)]);}['_onConflict'](_0x300cd1){const _0xbb9a50=_0x582532;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x2d5de6,this[_0xbb9a50(0x142)],this[_0xbb9a50(0x1a4)],this[_0xbb9a50(0x209)],[],this[_0xbb9a50(0x3db)],_0x300cd1);}[_0x582532(0x241)](_0x1c096e,_0x47d51c){const _0x4dde86=_0x582532;var _0x35a75c;_0x1c096e===((_0x35a75c=this[_0x4dde86(0x209)])==null?void 0x0:_0x35a75c[_0x4dde86(0x37d)])&&(this[_0x4dde86(0x132)](),this[_0x4dde86(0x345)]=_0x47d51c===0x0?0x3e8:Math[_0x4dde86(0x215)](_0x47d51c*0x2,_0x48a954),this[_0x4dde86(0x2fb)]+=this[_0x4dde86(0x345)]);}['_clearScheduledTask'](){const _0x2e85ac=_0x582532;var _0x3b277c;(_0x3b277c=this[_0x2e85ac(0x1e1)])==null||_0x3b277c[_0x2e85ac(0x347)](),this[_0x2e85ac(0x345)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x4cb993=_0x5ccf93=_0x9fca30([_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x6,_0x21f9b6['ICommandService']),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x8,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x4cb993);let _0x548b22=_0x3cf1d4=class extends _0x30bec6{constructor(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x476a10,_0x58ad0d,_0x584c6a,_0x25884a,_0xa1a8c8,_0x50b2e0,_0x43a927,_0x993219){const _0x191ba0=_0x582532;super(_0x13907a,_0x2ee344,_0x2e6ce6,_0x489fac,_0x29a727,_0x25884a,_0x43a927,_0x584c6a,_0x993219),this[_0x191ba0(0x279)]=_0x58ad0d,this[_0x191ba0(0x423)]=_0xa1a8c8,this[_0x191ba0(0x32c)]=_0x50b2e0,this[_0x191ba0(0x2dd)]=_0x993219,_0x158768(this,_0x191ba0(0x18e),_0x259f7c['AWAITING_WITH_PENDING']),_0x158768(this,'_resendTimeout',0x0),_0x158768(this,_0x191ba0(0x2fb),0x0),_0x158768(this,_0x191ba0(0x1e6),void 0x0),_0x158768(this,_0x191ba0(0x1e1),void 0x0),_0x476a10&&(this['_resendTimer']=_0x476a10,this['_sender']=this[_0x191ba0(0x1e6)]['subscribe'](({reqId:_0x30324b,timeout:_0x5b4b07})=>{const _0x5a3859=_0x191ba0;this[_0x5a3859(0x241)](_0x30324b,_0x5b4b07);}));}[_0x582532(0x167)](_0x4cf22d){const _0x3d7741=_0x582532;return this[_0x3d7741(0x27f)][_0x3d7741(0x2b7)](_0x4cf22d),this;}[_0x582532(0x42e)](_0x375667){const _0x272661=_0x582532;if(this[_0x272661(0x266)](_0x375667))return this['_clearScheduledTask'](),this['_injector'][_0x272661(0x327)](_0x231f53,this[_0x272661(0x142)],this[_0x272661(0x1a4)],this[_0x272661(0x209)],this['_pendingMutations'],null,[_0x375667],this[_0x272661(0x3db)]);try{let _0x6af304=this[_0x272661(0x32c)]['transformChangesets']([_0x375667],[this[_0x272661(0x209)]],!0x1);if((0x0,_0xba6f9e[_0x272661(0x2f6)])(_0x6af304)){let {c1Prime:_0x40f146,c2Prime:_0x5a3f49}=_0x6af304,_0x260a89=this[_0x272661(0x32c)]['transformMutationsWithChangeset'](_0x40f146[0x0],this[_0x272661(0x27f)]);if((0x0,_0xba6f9e['isTransformMutationsWithChangesetSuccess'])(_0x260a89)){let {c1Prime:_0x44acfd,m2Prime:_0x2c0702}=_0x260a89;return this[_0x272661(0x3ab)](_0x44acfd),_0x5a3f49[0x0][_0x272661(0x42d)]=this['_getCurrentRevision'](),this[_0x272661(0x127)](),this['_injector'][_0x272661(0x327)](_0x3cf1d4,this['unitID'],this[_0x272661(0x1a4)],_0x5a3f49[0x0],_0x2c0702,this[_0x272661(0x3db)],void 0x0);}throw _0x260a89['error'];}throw _0x6af304[_0x272661(0x171)];}catch(_0x2435b6){return this['_logService']['error'](_0x2435b6),this[_0x272661(0x41d)](!0x1);}}[_0x582532(0x1e9)](_0x2214c6){const _0x56b1b3=_0x582532;if(this['_clearScheduledTask'](),this[_0x56b1b3(0x266)](_0x2214c6))return this['_injector'][_0x56b1b3(0x327)](_0x231f53,this[_0x56b1b3(0x142)],this['type'],null,this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x209)],[],this[_0x56b1b3(0x3db)]);this[_0x56b1b3(0x13d)]();let _0x4f8c88=this[_0x56b1b3(0x279)][_0x56b1b3(0x327)](_0x348615,this['unitID'],this['type'],this[_0x56b1b3(0x27f)],this[_0x56b1b3(0x3db)]);return _0x4f8c88[_0x56b1b3(0x2ae)](),_0x4f8c88[_0x56b1b3(0x140)](),_0x4f8c88;}[_0x582532(0x1e3)](_0x552c10){const _0x516b8b=_0x582532;return this[_0x516b8b(0x41d)](!!(_0x552c10!=null&&_0x552c10['isPermissionRej']));}[_0x582532(0x3ba)](_0x1c22e0){const _0x153216=_0x582532;return this[_0x153216(0x2fb)]>_0x35b288?this['toggleOffline']():(this[_0x153216(0x1e6)]=_0x28d3ce(this['_resendTimeout'],{'timeout':this[_0x153216(0x345)],'reqId':_0x1c22e0[_0x153216(0x37d)]}),this[_0x153216(0x1e1)]=this[_0x153216(0x1e6)][_0x153216(0x237)](({reqId:_0x4d006d,timeout:_0x251a94})=>{const _0x189237=_0x153216;this[_0x189237(0x241)](_0x4d006d,_0x251a94);}),this);}['toggleOffline'](){const _0x101e23=_0x582532;return this[_0x101e23(0x127)](),this[_0x101e23(0x279)][_0x101e23(0x327)](_0x23f8dc,this[_0x101e23(0x142)],this[_0x101e23(0x1a4)],this[_0x101e23(0x209)],this['_pendingMutations'],this[_0x101e23(0x3db)]);}[_0x582532(0x3f9)](){return this;}[_0x582532(0x132)](){const _0x2a3017=_0x582532;this[_0x2a3017(0x3db)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x582532(0x41d)](_0x3a429a){const _0x4adf68=_0x582532;return this[_0x4adf68(0x127)](),this[_0x4adf68(0x279)]['createInstance'](_0x2d5de6,this['unitID'],this[_0x4adf68(0x1a4)],null,this['_pendingMutations'],this['_handler'],_0x3a429a);}[_0x582532(0x241)](_0x2dc870,_0x2b422a){const _0x542b7b=_0x582532;var _0x1d6961;_0x2dc870===((_0x1d6961=this['_awaitingChangeset'])==null?void 0x0:_0x1d6961['reqId'])&&(this['resend'](),this[_0x542b7b(0x345)]=_0x2b422a===0x0?0x3e8:Math[_0x542b7b(0x215)](_0x2b422a*0x2,_0x48a954),this[_0x542b7b(0x2fb)]+=this[_0x542b7b(0x345)]);}[_0x582532(0x127)](){const _0x50fd3f=_0x582532;var _0x5d9c8d;(_0x5d9c8d=this[_0x50fd3f(0x1e1)])==null||_0x5d9c8d[_0x50fd3f(0x347)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x548b22=_0x3cf1d4=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['Injector'])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x8,_0x21f9b6['ICommandService']),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xb,_0x21f9b6['IUndoRedoService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x548b22);let _0x2d5de6=class extends _0x30bec6{constructor(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x452b50=!0x1,_0x35b082,_0x980067,_0x1d57b8,_0x503f15,_0x5d7213,_0x51214e,_0x28260a){const _0x275b6a=_0x582532;super(_0xf5fd1c,_0x26b480,_0x15299f,_0x6d64be,_0x256cea,_0x980067,_0x1d57b8,_0x503f15,_0x28260a),this[_0x275b6a(0x261)]=_0x452b50,this[_0x275b6a(0x3bb)]=_0x35b082,this[_0x275b6a(0x120)]=_0x5d7213,this[_0x275b6a(0x2ca)]=_0x51214e,this[_0x275b6a(0x2dd)]=_0x28260a,_0x158768(this,_0x275b6a(0x18e),_0x259f7c[_0x275b6a(0x335)]),this[_0x275b6a(0x367)](),this[_0x275b6a(0x324)](),this['_disableEditing']();}[_0x582532(0x167)](){return this;}[_0x582532(0x42e)](){return this;}['onRemoteAck'](){return this;}[_0x582532(0x1e3)](){return this;}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x34ac66=_0x582532;throw Error(_0x34ac66(0x2ef));}[_0x582532(0x324)](){const _0x3bb7c6=_0x582532;var _0x1d57c5;(_0x1d57c5=this[_0x3bb7c6(0x1e7)])==null||_0x1d57c5[_0x3bb7c6(0x28e)](this[_0x3bb7c6(0x142)],this[_0x3bb7c6(0x1a4)],null,[]);}[_0x582532(0x367)](){const _0x542e23=_0x582532;this[_0x542e23(0x261)]?this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x256)]}):this[_0x542e23(0x2ca)][_0x542e23(0x121)]({'id':_0x214ddb[_0x542e23(0x335)]});}[_0x582532(0x1ad)](){const _0x487c00=_0x582532;this[_0x487c00(0x3bb)][_0x487c00(0x122)](new _0x17b170[(_0x487c00(0x34e))](this[_0x487c00(0x142)])['id'],!0x1);}};_0x2d5de6=_0x9fca30([_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x350)])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6['Inject'])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0xa,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0xb,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x2d5de6);let _0x23f8dc=class extends _0x30bec6{constructor(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x11adb6,_0x1c7326,_0x162a22,_0x19c429,_0x4025f4){const _0x11a97d=_0x582532;super(_0x247506,_0x28cd61,_0x1b682d,_0x5deb89,_0x2280ba,_0x162a22,_0x19c429,_0x1c7326,_0x4025f4),this[_0x11a97d(0x279)]=_0x11adb6,_0x158768(this,'status',_0x259f7c[_0x11a97d(0x234)]);}[_0x582532(0x167)](_0x3ea730){const _0x1f2c53=_0x582532;return this[_0x1f2c53(0x27f)][_0x1f2c53(0x2b7)](_0x3ea730),this[_0x1f2c53(0x140)](),this;}[_0x582532(0x42e)](_0x2d467f){const _0x1387b2=_0x582532;throw Error(_0x1387b2(0x2a0));}[_0x582532(0x1e9)](){throw Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x433db6=_0x582532;throw Error(_0x433db6(0x166));}[_0x582532(0x3ba)](){return this;}['toggleOffline'](){return this;}[_0x582532(0x3f9)](){const _0x4fe268=_0x582532;let {_injector:_0x7ae0fc,_pendingMutations:_0x5506f7,_awaitingChangeset:_0x493394,unitID:_0x183c2c,_handler:_0x1f4062,type:_0xabb73c}=this,_0x4835d9=_0xb3493c(_0x7ae0fc,_0x183c2c,_0xabb73c,_0x493394,_0x5506f7,_0x1f4062);return _0x4835d9 instanceof _0x348615?_0x4835d9['_schedule']():(_0x4835d9 instanceof _0x548b22||_0x4835d9 instanceof _0x4cb993)&&_0x4835d9[_0x4fe268(0x132)](),_0x4835d9;}[_0x582532(0x132)](){const _0x5e4bbd=_0x582532;throw Error(_0x5e4bbd(0x352));}};_0x23f8dc=_0x9fca30([_0x385b9b(0x5,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0x9,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x23f8dc);let _0x231f53=class extends _0x30bec6{constructor(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x4b94ba,_0x1cd96f,_0x35e160,_0x4a662b,_0x1aee75,_0x44fa75,_0x4f4d79,_0x546367,_0x2d8ec0,_0x43033d){const _0x444b02=_0x582532;super(_0x427c88,_0x2450d2,_0x2633b7,_0x585a2a,_0x35e160,_0x4f4d79,_0x546367,_0x1aee75,_0x43033d),this[_0x444b02(0x3c7)]=_0x4b94ba,this[_0x444b02(0x2ea)]=_0x1cd96f,this[_0x444b02(0x279)]=_0x4a662b,this['_logService']=_0x44fa75,this[_0x444b02(0x32c)]=_0x2d8ec0,this[_0x444b02(0x2dd)]=_0x43033d,_0x158768(this,_0x444b02(0x18e),_0x259f7c[_0x444b02(0x203)]);}['onMissedChangesetFetched'](_0x4c2705){const _0x3b27d8=_0x582532;try{let _0x3b940d=[..._0x4c2705,...this['_queuedRemoteChangesets']],_0x3086df=[this[_0x3b27d8(0x209)]||this[_0x3b27d8(0x3c7)]][_0x3b27d8(0x382)](_0x521c4f=>!!_0x521c4f),_0x208f1a,_0x334c7e;if(_0x3086df[_0x3b27d8(0x2c6)]){let _0x591f92=this['_transformService'][_0x3b27d8(0x388)](_0x3b940d,_0x3086df,!0x1);if(!(0x0,_0xba6f9e[_0x3b27d8(0x2f6)])(_0x591f92))throw _0x591f92[_0x3b27d8(0x171)];_0x208f1a=_0x591f92[_0x3b27d8(0x301)],_0x334c7e=_0x591f92['c2Prime'];}else _0x208f1a=_0x3b940d,_0x334c7e=[];let _0x2afad1=this[_0x3b27d8(0x27f)];_0x208f1a[_0x3b27d8(0x2c3)](_0x3e4a89=>{const _0xce38cc=_0x3b27d8;let _0x312a11;if(_0x2afad1['length']){let _0x4c7e2b=this[_0xce38cc(0x32c)][_0xce38cc(0x18a)](_0x3e4a89,_0x2afad1);if(!(0x0,_0xba6f9e[_0xce38cc(0x179)])(_0x4c7e2b))throw _0x4c7e2b[_0xce38cc(0x171)];_0x312a11=_0x4c7e2b[_0xce38cc(0x301)],_0x2afad1=_0x4c7e2b['m2Prime'];}else _0x312a11=_0x3e4a89;this['_executeRemoteChangeset'](_0x312a11);}),this[_0x3b27d8(0x3c7)]&&this[_0x3b27d8(0x13d)](),this['_awaitingChangeset']&&_0x334c7e['length']&&(_0x334c7e[0x0][_0x3b27d8(0x42d)]=this['_getCurrentRevision']());let _0x5b2675;if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]!==0x0)_0x5b2675=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x548b22,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],_0x2afad1,this['_handler'],void 0x0);else{if(this[_0x3b27d8(0x209)]&&_0x2afad1[_0x3b27d8(0x2c6)]===0x0)_0x334c7e[0x0][_0x3b27d8(0x42d)]=this[_0x3b27d8(0x146)](),_0x5b2675=this['_injector']['createInstance'](_0x4cb993,this['unitID'],this[_0x3b27d8(0x1a4)],_0x334c7e[0x0],this[_0x3b27d8(0x3db)]);else{if(_0x2afad1['length']!==0x0){let _0xb65cc=this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x348615,this[_0x3b27d8(0x142)],this[_0x3b27d8(0x1a4)],_0x2afad1,this[_0x3b27d8(0x3db)]);_0xb65cc[_0x3b27d8(0x2ae)](),_0x5b2675=_0xb65cc;}else _0x5b2675=this[_0x3b27d8(0x279)]['createInstance'](_0x51c4b3,this['unitID'],this[_0x3b27d8(0x1a4)],this['_handler']);}}return _0x5b2675[_0x3b27d8(0x140)](),_0x5b2675;}catch(_0x581834){return this[_0x3b27d8(0x423)][_0x3b27d8(0x171)](_0x3b27d8(0x2a5),_0x3b27d8(0x1fb),_0x581834),this[_0x3b27d8(0x279)][_0x3b27d8(0x327)](_0x2d5de6,this[_0x3b27d8(0x142)],this['type'],this[_0x3b27d8(0x209)],this[_0x3b27d8(0x27f)],this[_0x3b27d8(0x3db)],!0x1);}}[_0x582532(0x132)](){const _0x527b08=_0x582532;throw Error(_0x527b08(0x21f));}[_0x582532(0x167)](_0x584773){const _0x3e095a=_0x582532;return this[_0x3e095a(0x27f)]['push'](_0x584773),this;}['onRemoteChangeset'](_0xe1d723){const _0x4fd9c3=_0x582532;return this[_0x4fd9c3(0x2ea)][_0x4fd9c3(0x2b7)](_0xe1d723),this;}[_0x582532(0x1e9)](_0x29181c){const _0x451fcf=_0x582532;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x451fcf(0x209)],this[_0x451fcf(0x209)]=null,this;throw Error(_0x451fcf(0x1f2));}[_0x582532(0x1e3)](_0x2afd4d){const _0x641db3=_0x582532;return this[_0x641db3(0x41d)](!!(_0x2afd4d!=null&&_0x2afd4d[_0x641db3(0x21a)]));}[_0x582532(0x3ba)](){return this;}[_0x582532(0x3ee)](){const _0x328a78=_0x582532;return this[_0x328a78(0x279)][_0x328a78(0x327)](_0x23f8dc,this[_0x328a78(0x142)],this[_0x328a78(0x1a4)],this[_0x328a78(0x209)],this[_0x328a78(0x27f)],this[_0x328a78(0x3db)]);}['toggleOnline'](){return this;}[_0x582532(0x41d)](_0x1eddc0){const _0x206e5c=_0x582532;return this[_0x206e5c(0x279)][_0x206e5c(0x327)](_0x2d5de6,this['unitID'],this[_0x206e5c(0x1a4)],this[_0x206e5c(0x209)],this[_0x206e5c(0x27f)],this[_0x206e5c(0x3db)],_0x1eddc0);}};_0x231f53=_0x9fca30([_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x3c6)]),_0x385b9b(0xc,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x231f53);function _0xb3493c(_0x28f7ca,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0){const _0x5b03b2=_0x582532;return _0x40faf5&&_0x2ebb6e['length']?_0x28f7ca[_0x5b03b2(0x327)](_0x548b22,_0x443a9e,_0x28b251,_0x40faf5,_0x2ebb6e,_0x53b6b0,void 0x0):_0x40faf5?_0x28f7ca['createInstance'](_0x4cb993,_0x443a9e,_0x28b251,_0x40faf5,_0x53b6b0):_0x2ebb6e['length']?_0x28f7ca['createInstance'](_0x348615,_0x443a9e,_0x28b251,_0x2ebb6e,_0x53b6b0):_0x28f7ca['createInstance'](_0x51c4b3,_0x443a9e,_0x28b251,_0x53b6b0);}let _0x20db3d=class extends _0x21f9b6[_0x582532(0x1c3)]{get[_0x582532(0x119)](){const _0x16d195=_0x582532;return this[_0x16d195(0x26b)];}constructor(_0x26a4d1,_0xf5a6e3,_0x50d5f8,_0x6fd0cc,_0x588da3,_0x45fa1c,_0x2f5ead,_0x472620,_0x48a7af,_0x383495,_0x3a2c94,_0x4b5044,_0x100fe9,_0xf01b31){const _0x307276=_0x582532;super(),this[_0x307276(0x142)]=_0x26a4d1,this[_0x307276(0x3a3)]=_0xf5a6e3,this[_0x307276(0x20b)]=_0x50d5f8,this['_injector']=_0x6fd0cc,this[_0x307276(0x418)]=_0x588da3,this[_0x307276(0x120)]=_0x45fa1c,this[_0x307276(0x262)]=_0x2f5ead,this['_eventService']=_0x472620,this[_0x307276(0x136)]=_0x48a7af,this[_0x307276(0x423)]=_0x383495,this[_0x307276(0x332)]=_0x3a2c94,this['_permissionService']=_0x4b5044,this['_singleActiveUnitService']=_0x100fe9,this[_0x307276(0x1e7)]=_0xf01b31,_0x158768(this,_0x307276(0x273),new _0x4ea2bc[(_0x307276(0x319))](null)),_0x158768(this,_0x307276(0x1ab),this[_0x307276(0x273)][_0x307276(0x2bd)]()),_0x158768(this,'_state',void 0x0),_0x158768(this,_0x307276(0x403),!0x1),_0x158768(this,'_changesetSessionId',''),_0x158768(this,_0x307276(0x3fc),0x0),_0x158768(this,'status$',this[_0x307276(0x1ab)][_0x307276(0x12f)]((0x0,_0x4ea2bc[_0x307276(0x312)])(_0x379ee3=>_0x379ee3?_0x379ee3[_0x307276(0x18e)]:_0x259f7c[_0x307276(0x234)]),(0x0,_0x4ea2bc[_0x307276(0x15e)])(0x1))),_0x158768(this,_0x307276(0x35d),!0x1),_0x158768(this,_0x307276(0x328),[]);}async[_0x582532(0x232)](){const _0x2d5cbf=_0x582532;if(this[_0x2d5cbf(0x119)])throw Error(_0x2d5cbf(0x399));await this[_0x2d5cbf(0x36f)]();}[_0x582532(0x397)](){const _0x186e19=_0x582532;return this[_0x186e19(0x403)]=!0x0,(0x0,_0x21f9b6[_0x186e19(0x2ed)])(()=>{const _0x18fbe3=_0x186e19;this[_0x18fbe3(0x403)]=!0x1,this[_0x18fbe3(0x288)]();});}[_0x582532(0x353)](_0x11bc01){this['_onLocalMutation'](_0x11bc01);}[_0x582532(0x1bb)](_0x401e0c){const _0x2e9e2a=_0x582532;this[_0x2e9e2a(0x26b)]=_0x401e0c,this[_0x2e9e2a(0x273)][_0x2e9e2a(0x270)](_0x401e0c);}async[_0x582532(0x36f)](){const _0x37363e=_0x582532;if(this['_updateState'](await this['_createInitialState']()),this[_0x37363e(0x3e7)]){var _0x3ffc3b;(_0x3ffc3b=this[_0x37363e(0x3e7)])==null||_0x3ffc3b['editingUnit'](this[_0x37363e(0x142)]),this['disposeWithMe'](this[_0x37363e(0x3e7)][_0x37363e(0x2a8)](this[_0x37363e(0x142)])[_0x37363e(0x237)](_0x27bf2a=>{const _0x1b53bf=_0x37363e;this[_0x1b53bf(0x423)][_0x1b53bf(0x2b1)](_0x1b53bf(0x19f),_0x1b53bf(0x31a),_0x27bf2a),_0x27bf2a===_0x5e2f10['OTHER_CLIENTS_EDITING']?(this[_0x1b53bf(0x133)][_0x1b53bf(0x121)]({'id':_0x214ddb['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1b53bf(0x3bb)][_0x1b53bf(0x122)](new _0x17b170[(_0x1b53bf(0x34e))](this[_0x1b53bf(0x142)])['id'],!0x0),this[_0x1b53bf(0x3bb)][_0x1b53bf(0x188)](!0x0));}));}let _0x4a9604=!0x1;return this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)][_0x37363e(0x210)][_0x37363e(0x237)](_0x2df962=>{const _0x611f69=_0x37363e;_0x2df962===_0x42d806[_0x611f69(0x3da)]?this['_toggleOnline'](_0x4a9604):_0x2df962===_0x42d806[_0x611f69(0x234)]&&(_0x4a9604=!0x0,this[_0x611f69(0x39c)]());})),this[_0x37363e(0x1b5)](this[_0x37363e(0x3a3)]['event$'][_0x37363e(0x237)](_0x171d9a=>{const _0x39fc32=_0x37363e;try{switch(_0x171d9a[_0x39fc32(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x30f)]:this['_onRemoteChangeset']((0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x171d9a['data']));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x161)]:this['_onRemoteACK'](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x299)]:this[_0x39fc32(0x3de)]();break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x2ec)]:this[_0x39fc32(0x408)](_0x171d9a[_0x39fc32(0x163)]);break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x392)]:this['_onFetchMissResult'](_0x171d9a['data'][_0x39fc32(0x3ac)]['map'](_0x123b1e=>(0x0,_0xba6f9e[_0x39fc32(0x14d)])(_0x123b1e)));break;case _0xba6f9e['CollaborationEvent'][_0x39fc32(0x204)]:this[_0x39fc32(0x3de)]({'isPermissionRej':!0x0});break;case _0xba6f9e[_0x39fc32(0x417)][_0x39fc32(0x275)]:break;}}catch(_0x431280){throw console[_0x39fc32(0x171)]('Error\x20on\x20receiving\x20event',_0x431280),_0x431280;}})),this[_0x37363e(0x26b)];}[_0x582532(0x187)](){const _0x46e37e=_0x582532;this[_0x46e37e(0x35d)]=!0x1;}[_0x582532(0x3aa)](){const _0x5c85b5=_0x582532;if(this[_0x5c85b5(0x35d)])throw Error(_0x5c85b5(0x217));this[_0x5c85b5(0x35d)]=!0x0;}[_0x582532(0x18b)](_0x26630a){const _0x188fc4=_0x582532;this['_lockTransition'](),this[_0x188fc4(0x1bb)](this[_0x188fc4(0x26b)][_0x188fc4(0x167)](_0x26630a)),this[_0x188fc4(0x187)]();}[_0x582532(0x3ef)](_0x42340a){const _0x3aa2ab=_0x582532;if(!(_0x42340a[_0x3aa2ab(0x1e5)]<=this[_0x3aa2ab(0x262)]['getCurrentRevOfUnit'](this[_0x3aa2ab(0x142)]))){if(this[_0x3aa2ab(0x403)]){this['_remoteChangesetQueue']['push'](_0x42340a);return;}this[_0x3aa2ab(0x141)](_0x42340a);}}[_0x582532(0x288)](){const _0xab48f2=_0x582532;this['_remoteChangesetQueue'][_0xab48f2(0x2c3)](_0x43462b=>this[_0xab48f2(0x141)](_0x43462b)),this['_remoteChangesetQueue']=[];}[_0x582532(0x141)](_0x36d493){const _0xac0e7b=_0x582532;let _0x25b3d8=this['_compressMutationService']['interceptor'][_0xac0e7b(0x26f)](this['_compressMutationService'][_0xac0e7b(0x3d7)][_0xac0e7b(0x39d)]()[_0xac0e7b(0x162)])(_0x36d493[_0xac0e7b(0x393)],null)||_0x36d493['mutations'],_0xf754fb={..._0x36d493,'mutations':_0x25b3d8};this['_lockTransition'](),this[_0xac0e7b(0x1bb)](this['_state'][_0xac0e7b(0x42e)](_0xf754fb)),this[_0xac0e7b(0x187)]();}[_0x582532(0x175)](_0x336e6c){const _0x4b0dc8=_0x582532;this[_0x4b0dc8(0x3aa)](),this['_updateState'](this[_0x4b0dc8(0x26b)]['onRemoteAck'](_0x336e6c)),this['_unlockTransition']();}['_onRemoteRejected'](_0x569511){const _0x5430c5=_0x582532;this[_0x5430c5(0x3aa)](),this['_updateState'](this['_state'][_0x5430c5(0x1e3)](_0x569511)),this['_unlockTransition']();}[_0x582532(0x408)](_0x4bacd4){const _0x7d2834=_0x582532;this[_0x7d2834(0x3aa)](),this[_0x7d2834(0x1bb)](this['_state'][_0x7d2834(0x3ba)](_0x4bacd4)),this[_0x7d2834(0x187)]();}[_0x582532(0x1c4)](_0x17dd99){const _0x53161a=_0x582532;if(!(this[_0x53161a(0x26b)]instanceof _0x231f53))throw TypeError(_0x53161a(0x431));let _0x31772a=_0x17dd99[_0x53161a(0x312)](_0x215dc2=>{const _0x5538ee=_0x53161a;let _0x5ed240=this['_compressMutationService'][_0x5538ee(0x3d7)][_0x5538ee(0x26f)](this['_compressMutationService'][_0x5538ee(0x3d7)]['getInterceptPoints']()[_0x5538ee(0x162)])(_0x215dc2[_0x5538ee(0x393)],null)||_0x215dc2[_0x5538ee(0x393)];return{..._0x215dc2,'mutations':_0x5ed240};});this['_lockTransition'](),this[_0x53161a(0x1bb)](this['_state'][_0x53161a(0x206)](_0x31772a)),this[_0x53161a(0x187)]();}[_0x582532(0x39c)](){const _0x438f21=_0x582532;this[_0x438f21(0x3aa)](),this[_0x438f21(0x1bb)](this[_0x438f21(0x26b)][_0x438f21(0x3ee)]()),this[_0x438f21(0x187)]();}[_0x582532(0x17d)](_0x472ae7=!0x1){const _0x20e23d=_0x582532;this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](this['_state'][_0x20e23d(0x3f9)]()),this[_0x20e23d(0x187)]();let _0x30212b=this[_0x20e23d(0x26b)];_0x472ae7&&_0x30212b instanceof _0x51c4b3&&(this[_0x20e23d(0x3aa)](),this[_0x20e23d(0x1bb)](_0x30212b[_0x20e23d(0x3eb)]()),this[_0x20e23d(0x187)]());}async[_0x582532(0x2fc)](){return new Promise(_0x2a4efd=>{const _0x2f9c0c=_0x1dac;this[_0x2f9c0c(0x3a3)][_0x2f9c0c(0x210)][_0x2f9c0c(0x12f)]((0x0,_0x4ea2bc[_0x2f9c0c(0x2d4)])(0x1))[_0x2f9c0c(0x237)](async _0x1d923e=>{const _0x3349a4=_0x2f9c0c;_0x2a4efd(await this['_createInitialStateImpl'](_0x1d923e===_0x42d806[_0x3349a4(0x3da)]));});});}[_0x582532(0x41a)](){const _0x3002f5=_0x582532;let _0x31dbab=this[_0x3002f5(0x142)];return{'onStateChange':(_0x128359,_0x276472)=>{const _0x33b240=_0x3002f5;if(_0x128359!==this[_0x33b240(0x26b)])throw Error(_0x33b240(0x19c)+_0x128359['status']+'\x0aAfter:\x20'+_0x276472[_0x33b240(0x18e)]+'\x0aCurrent:\x20'+this['_state']['status']);this[_0x33b240(0x1bb)](_0x276472);},'onSendChangeset':_0x35370d=>{const _0x2bb793=_0x3002f5;_0x35370d[_0x2bb793(0x1dc)]||(_0x35370d[_0x2bb793(0x1dc)]=this[_0x2bb793(0x229)],_0x35370d['reqId']=++this[_0x2bb793(0x3fc)]);let _0x4822a0={'eventID':_0xba6f9e[_0x2bb793(0x417)][_0x2bb793(0x1f8)],'data':{'unitID':_0x35370d[_0x2bb793(0x142)],'unitType':this['_type'],'changeset':_0x35370d,'memberID':this[_0x2bb793(0x3a3)]['getMemberID']()}};this['session'][_0x2bb793(0x311)](_0x4822a0,this[_0x2bb793(0x142)]);},'onMissingChangesets':({from:_0x516c72,to:_0x4f8067})=>{const _0x4b9f60=_0x3002f5;this[_0x4b9f60(0x423)]['debug'](_0x4b9f60(0x19f),_0x4b9f60(0x12a)+_0x516c72+'\x20to\x20'+_0x4f8067);let _0x39a23e={'eventID':_0xba6f9e[_0x4b9f60(0x417)]['FETCH_MISSING'],'data':{'unitID':_0x31dbab,'unitType':this['_type'],'from':_0x516c72,'to':_0x4f8067}};this[_0x4b9f60(0x3a3)][_0x4b9f60(0x311)](_0x39a23e,this[_0x4b9f60(0x142)]);}};}async[_0x582532(0x2b6)](_0x503ee7){const _0x27e280=_0x582532;var _0x37ad70,_0x20eb7b,_0x4c3ab0;let _0x5e64c2=await((_0x37ad70=this['_localCacheService'])==null?void 0x0:_0x37ad70[_0x27e280(0x1a7)](this[_0x27e280(0x142)])),_0x281145=(_0x20eb7b=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x393)])==null?[]:_0x20eb7b,_0x2ed360=(_0x4c3ab0=_0x5e64c2==null?void 0x0:_0x5e64c2[_0x27e280(0x343)])==null?null:_0x4c3ab0,_0x3302b6=!!(_0x2ed360!=null&&_0x2ed360['sid'])&&!!(_0x2ed360!=null&&_0x2ed360[_0x27e280(0x37d)]);this[_0x27e280(0x229)]=_0x3302b6?_0x2ed360['sid']:(0x0,_0xba6f9e['uuidv4'])(),this[_0x27e280(0x3fc)]=_0x3302b6?_0x2ed360[_0x27e280(0x37d)]:0x0;let _0x29d98f=this[_0x27e280(0x142)];try{this['_replayCachedMutations'](_0x2ed360,_0x281145);}catch(_0x5e2559){this[_0x27e280(0x423)][_0x27e280(0x171)](_0x5e2559);}let _0x1b1bab=this['_createHandler']();if(_0x503ee7){let _0x39ce01=_0xb3493c(this['_injector'],_0x29d98f,this[_0x27e280(0x20b)],_0x2ed360,_0x281145,_0x1b1bab);return _0x39ce01 instanceof _0x348615?_0x39ce01[_0x27e280(0x2ae)]():(_0x39ce01 instanceof _0x548b22||_0x39ce01 instanceof _0x4cb993)&&_0x39ce01[_0x27e280(0x132)](),_0x39ce01;}return this[_0x27e280(0x279)]['createInstance'](_0x23f8dc,_0x29d98f,this['_type'],_0x2ed360,_0x281145,_0x1b1bab);}['_replayCachedMutations'](_0x378041,_0x76d9cf){const _0x10575c=_0x582532;var _0x420591,_0x49d536;let _0x38f89b=this[_0x10575c(0x418)]['interceptor'][_0x10575c(0x26f)](this[_0x10575c(0x418)][_0x10575c(0x3d7)][_0x10575c(0x39d)]()['COMPRESS_MUTATION_APPLY']);(_0x420591=_0x38f89b((_0x378041==null?void 0x0:_0x378041[_0x10575c(0x393)])||[],null))==null||_0x420591['forEach'](_0x21b9d0=>this[_0x10575c(0x332)][_0x10575c(0x1ee)](_0x21b9d0['id'],_0x21b9d0[_0x10575c(0x2c1)])),(_0x49d536=_0x38f89b(_0x76d9cf||[],null))==null||_0x49d536[_0x10575c(0x2c3)](_0x56cc4d=>this[_0x10575c(0x332)]['executeCommand'](_0x56cc4d['id'],_0x56cc4d['params']));}};_0x20db3d=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x20db3d);let _0xd1a0d8=class extends _0x20db3d{constructor(_0x10f124,_0x169208,_0x5f1b6d,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e){const _0x968c6a=_0x582532;super(_0x10f124,_0x5f1b6d,_0x169208,_0x42aa08,_0x5bdcfa,_0x125779,_0x481f88,_0x5d941e,_0x1a953e,_0x314a42,_0x28230d,_0x103922,_0x17fb6d,_0x59804e),this['unitID']=_0x10f124,this[_0x968c6a(0x1a4)]=_0x169208,_0x158768(this,_0x968c6a(0x1f4),null);}[_0x582532(0x1ed)](_0x3cdb81){const _0x27b06e=_0x582532;this[_0x27b06e(0x1f4)]=_0x3cdb81;}['dispose'](){const _0x3e57db=_0x582532;this[_0x3e57db(0x1f4)]=null,super[_0x3e57db(0x2ab)]();}[_0x582532(0x41a)](){const _0x35160a=_0x582532;let _0x31e4ea=super[_0x35160a(0x41a)]();return _0x31e4ea['onTransformIME']=_0x83cfb2=>{const _0x5ba091=_0x35160a;var _0x23da4b,_0x461fe8;return(_0x23da4b=this[_0x5ba091(0x1f4)])==null||(_0x461fe8=_0x23da4b[_0x5ba091(0x35e)])==null?void 0x0:_0x461fe8[_0x5ba091(0x2f1)](_0x23da4b,_0x83cfb2);},_0x31e4ea[_0x35160a(0x396)]=_0x454835=>{const _0x2a74b1=_0x35160a;var _0x3a5c6e,_0x10ca4f;return(_0x3a5c6e=this[_0x2a74b1(0x1f4)])==null||(_0x10ca4f=_0x3a5c6e[_0x2a74b1(0x396)])==null?void 0x0:_0x10ca4f[_0x2a74b1(0x2f1)](_0x3a5c6e,_0x454835);},_0x31e4ea[_0x35160a(0x138)]=_0x2daf09=>{const _0x1d0548=_0x35160a;var _0x504162,_0x5423ee;return(_0x504162=this[_0x1d0548(0x1f4)])==null||(_0x5423ee=_0x504162[_0x1d0548(0x138)])==null?void 0x0:_0x5423ee[_0x1d0548(0x2f1)](_0x504162,_0x2daf09);},_0x31e4ea[_0x35160a(0x3d5)]=_0x2c5b52=>{const _0x3eed36=_0x35160a;var _0x5a25cb,_0x298cc3;return(_0x5a25cb=this[_0x3eed36(0x1f4)])==null||(_0x298cc3=_0x5a25cb[_0x3eed36(0x3d5)])==null?void 0x0:_0x298cc3[_0x3eed36(0x2f1)](_0x5a25cb,_0x2c5b52);},_0x31e4ea[_0x35160a(0x40b)]=_0x1313d8=>{const _0x2a2136=_0x35160a;var _0x4651e8,_0x466d6b,_0x119823;if(!((_0x4651e8=this[_0x2a2136(0x1f4)])!=null&&_0x4651e8[_0x2a2136(0x40b)]))throw Error(_0x2a2136(0x27a));return(_0x466d6b=this[_0x2a2136(0x1f4)])==null||(_0x119823=_0x466d6b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x119823[_0x2a2136(0x2f1)](_0x466d6b,_0x1313d8);},_0x31e4ea[_0x35160a(0x291)]=_0x223927=>{const _0x4ffbc5=_0x35160a;var _0x45a768,_0xc150f8,_0x4099e4;if(!((_0x45a768=this['_handlerCallback'])!=null&&_0x45a768[_0x4ffbc5(0x291)]))throw Error(_0x4ffbc5(0x2f2));return(_0xc150f8=this[_0x4ffbc5(0x1f4)])==null||(_0x4099e4=_0xc150f8[_0x4ffbc5(0x291)])==null?void 0x0:_0x4099e4[_0x4ffbc5(0x2f1)](_0xc150f8,_0x223927);},_0x31e4ea;}async[_0x582532(0x36f)](){const _0x46ef09=_0x582532;let _0x59ce32=await super[_0x46ef09(0x36f)]();return this['disposeWithMe'](this[_0x46ef09(0x332)][_0x46ef09(0x139)]((_0xe3338f,_0x1aa7aa)=>{const _0x26e996=_0x46ef09;if(_0xe3338f[_0x26e996(0x1a4)]!==_0x21f9b6[_0x26e996(0x276)]['MUTATION']||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1eb)]||_0x1aa7aa!=null&&_0x1aa7aa[_0x26e996(0x1c5)]||_0xe3338f['id']===_0x1444ec[_0x26e996(0x1ff)]['id'])return;let _0x417bfd=_0xe3338f[_0x26e996(0x2c1)];if((_0x417bfd==null?void 0x0:_0x417bfd[_0x26e996(0x415)])!==this[_0x26e996(0x142)])return;let _0x4aa6e3=_0xe3338f,_0x42a8bd=this[_0x26e996(0x418)]['interceptor']['fetchThroughInterceptors'](this[_0x26e996(0x418)][_0x26e996(0x3d7)][_0x26e996(0x39d)]()[_0x26e996(0x2f5)])([_0x4aa6e3],this[_0x26e996(0x136)])||[_0x4aa6e3];this[_0x26e996(0x18b)](_0x42a8bd[0x0]);})),_0x59ce32;}};_0xd1a0d8=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService'])),_0x385b9b(0x6,(0x0,_0x21f9b6['Inject'])(_0xba6f9e['RevisionService'])),_0x385b9b(0x7,(0x0,_0x21f9b6['Inject'])(_0x49c645)),_0x385b9b(0x8,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xa,_0x21f9b6['ICommandService']),_0x385b9b(0xb,_0x21f9b6['IPermissionService']),_0x385b9b(0xc,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xd1a0d8);let _0x33b45e=class extends _0x20db3d{constructor(_0xc4a590,_0x2e2468,_0xcaa88,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0x50c931,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc){const _0x311c7c=_0x582532;super(_0xc4a590,_0xcaa88,_0x2e2468,_0x3efb95,_0x223014,_0x3d30dc,_0xf1e1c9,_0xdf2647,_0x3e9b2f,_0x256650,_0x30bf3e,_0x2dc0e8,_0x1d95be,_0x534efc),this[_0x311c7c(0x142)]=_0xc4a590,this['type']=_0x2e2468,this['_sheetTransformSelectionsService']=_0x50c931;}[_0x582532(0x41a)](){const _0x559d13=_0x582532;let _0x3f8616=super[_0x559d13(0x41a)]();return _0x3f8616['onTransformSelections']=_0x210f73=>this[_0x559d13(0x2c4)][_0x559d13(0x3ff)](_0x210f73),_0x3f8616;}async['_init'](){const _0x8eb4eb=_0x582532;let _0x113bd8=await super[_0x8eb4eb(0x36f)]();return this[_0x8eb4eb(0x1b5)](this[_0x8eb4eb(0x332)][_0x8eb4eb(0x139)]((_0x3a20fa,_0x2e714e)=>{const _0x4b40e7=_0x8eb4eb;if(_0x3a20fa['type']!==_0x21f9b6[_0x4b40e7(0x276)][_0x4b40e7(0x3c5)]||_0x2e714e!=null&&_0x2e714e['fromCollab']||_0x2e714e!=null&&_0x2e714e['onlyLocal'])return;let _0x32b5bb=_0x3a20fa[_0x4b40e7(0x2c1)];if((_0x32b5bb==null?void 0x0:_0x32b5bb['unitId'])!==this[_0x4b40e7(0x142)])return;let _0x1b6823=_0x3a20fa,_0x5d71fa=this[_0x4b40e7(0x418)][_0x4b40e7(0x3d7)][_0x4b40e7(0x26f)](this['_compressMutationService'][_0x4b40e7(0x3d7)][_0x4b40e7(0x39d)]()[_0x4b40e7(0x2f5)])([_0x1b6823],this[_0x4b40e7(0x136)])||[_0x1b6823];this[_0x4b40e7(0x18b)](_0x5d71fa[0x0]);})),_0x113bd8;}};_0x33b45e=_0x9fca30([_0x385b9b(0x3,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x29c)])),_0x385b9b(0x5,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x263)])),_0x385b9b(0x6,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x3fa)])),_0x385b9b(0x7,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x43e293)),_0x385b9b(0x8,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x9,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0xa,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0xb,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0xc,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0xd,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x4ada3c)),_0x385b9b(0xe,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0x33b45e);let _0x3cb508=(0x0,_0x21f9b6[_0x582532(0x1aa)])('univer-pro.collaboration-client.network-condition.service');function _0x8921cb(_0x385c33){const _0x42e667=_0x582532;let _0x1d69c5=_0x385c33[_0x42e667(0x163)],_0x3671af=JSON[_0x42e667(0x286)](_0x1d69c5);switch(_0x3671af[_0x42e667(0x13e)]){case _0x4d42e2[_0x42e667(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x42e667(0x160)][_0x42e667(0x147)]:{let _0x37fff0=_0x3671af[_0x42e667(0x17a)];return{..._0x3671af,'data':_0x37fff0,'cmd':_0x3671af['cmd']};}case _0x4d42e2['CombCmd'][_0x42e667(0x2de)]:{let _0x43e4a6=_0x3671af[_0x42e667(0x2fd)];return{..._0x3671af,'data':_0x43e4a6,'cmd':_0x3671af[_0x42e667(0x13e)]};}case _0x4d42e2['CombCmd'][_0x42e667(0x2b2)]:{let _0x5b7a8a=_0x3671af[_0x42e667(0x3ec)];switch(_0x5b7a8a[_0x42e667(0x23e)]){case _0xba6f9e['CollaborationEvent'][_0x42e667(0x204)]:var _0x4d7f46;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x4d7f46=_0x5b7a8a[_0x42e667(0x3e0)])==null?void 0x0:_0x4d7f46['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['CHANGESET_ACK']:var _0x3eccc3;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x3eccc3=_0x5b7a8a['csAckEvent'])==null?void 0x0:_0x3eccc3['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x30f)]:var _0x50ce85;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x50ce85=_0x5b7a8a['newCsEvent'])==null?void 0x0:_0x50ce85['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x299)]:var _0x596b98;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x596b98=_0x5b7a8a['csRejEvent'])==null?void 0x0:_0x596b98['cs']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x2ec)]:var _0x1efbf2;return{..._0x3671af,'data':{..._0x5b7a8a,'data':(_0x1efbf2=_0x5b7a8a['csShouldRetryEvent'])==null?void 0x0:_0x1efbf2['cs']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x297)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x280)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x18c)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x338)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x296)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x1b7)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x42b)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e['CollaborationEvent'][_0x42e667(0x3ae)]:case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x267)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['liveShareOperation']},'cmd':_0x3671af['cmd']};case _0xba6f9e[_0x42e667(0x417)]['LIVESHARE_TERMINATE']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x16a)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x40a)]:return{..._0x3671af,'data':_0x5b7a8a,'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x390)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x277)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)][_0x42e667(0x264)]:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x434)]},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['SHOULD_CLOSE_CONN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a['shouldCloseConn']},'cmd':_0x3671af[_0x42e667(0x13e)]};case _0xba6f9e[_0x42e667(0x417)]['UNISCRIPT_RUN']:return{..._0x3671af,'data':{..._0x5b7a8a,'data':_0x5b7a8a[_0x42e667(0x2ad)]},'cmd':_0x3671af[_0x42e667(0x13e)]};default:return _0x3671af;}}default:return _0x3671af;}}function _0x16a106(_0x1c0dc8){const _0x256211=_0x582532;switch(_0x1c0dc8['cmd']){case _0x4d42e2[_0x256211(0x160)]['HEARTBEAT']:case _0x4d42e2[_0x256211(0x160)][_0x256211(0x147)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8['routeKey']});case _0x4d42e2['CombCmd'][_0x256211(0x12d)]:{let _0x1e2f9f;switch(_0x1c0dc8[_0x256211(0x163)][_0x256211(0x23e)]){case _0xba6f9e[_0x256211(0x417)][_0x256211(0x297)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)]['UPDATE_CURSOR'],'updateCursorEvent':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x296)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x296)],'leaveEvent':_0x1c0dc8[_0x256211(0x163)]['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x18c)],'joinEvent':_0x1c0dc8['data'][_0x256211(0x163)]};break;case _0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST']:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1c0dc8['data']['data']};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x267)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x267)],'liveShareOperation':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)]['LIVESHARE_TERMINATE']:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x1cd)],'liveShareTerminate':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x359)]:_0x1e2f9f={'eventID':_0xba6f9e['CollaborationEvent'][_0x256211(0x359)],'liveShareRequestHost':_0x1c0dc8[_0x256211(0x163)][_0x256211(0x163)]};break;case _0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]:_0x1e2f9f={'eventID':_0xba6f9e[_0x256211(0x417)][_0x256211(0x3ae)]};break;default:_0x1e2f9f={'eventID':_0x1c0dc8[_0x256211(0x163)]['eventID']};}return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'collaMsg':_0x1e2f9f});}case _0x4d42e2[_0x256211(0x160)][_0x256211(0x2de)]:return JSON[_0x256211(0x29e)]({'cmd':_0x1c0dc8['cmd'],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'joinReq':_0x1c0dc8['data']});case _0x4d42e2[_0x256211(0x160)][_0x256211(0x25c)]:return JSON['stringify']({'cmd':_0x1c0dc8[_0x256211(0x13e)],'routeKey':_0x1c0dc8[_0x256211(0x3e8)],'leaveReq':_0x1c0dc8[_0x256211(0x163)]});default:throw Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}let _0x1b8f90=(0x0,_0x21f9b6[_0x582532(0x1aa)])(_0x582532(0x3dc));function _0x24b777(_0x376e03,_0x2fc268,_0x12a2ea){const _0x193c97=_0x582532;return _0x376e03+'/'+_0x2fc268+_0x193c97(0x11e)+_0x12a2ea+'/new_changes';}let _0xc1659c=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x199150,_0x527888,_0x2b584d,_0xbbc32a,_0x3bcb7d){const _0x964504=_0x582532;super(),this[_0x964504(0x279)]=_0x199150,this[_0x964504(0x195)]=_0x527888,this[_0x964504(0x3b0)]=_0x2b584d,this['_logService']=_0xbbc32a,this[_0x964504(0x2cb)]=_0x3bcb7d;}[_0x582532(0x1a2)](_0x19031d){const _0x556ba4=_0x582532;let _0x529db8=this[_0x556ba4(0x279)][_0x556ba4(0x19e)](_0xf4c2fc[_0x556ba4(0x298)]);if(!_0x529db8)throw Error(_0x556ba4(0x25a));let _0xe4d533=_0x529db8[_0x556ba4(0x222)](_0x19031d);if(!_0xe4d533)throw Error(_0x556ba4(0x169));let _0x249a19=new _0x21f9b6['DisposableCollection'](),_0x181336=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['close$'][_0x556ba4(0x237)](_0x3c07fe=>_0x181336[_0x556ba4(0x270)](_0x3c07fe))),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x181336[_0x556ba4(0x159)]()));let _0x52914d=new _0x4ea2bc[(_0x556ba4(0x321))]();_0x249a19[_0x556ba4(0x3ad)](_0xe4d533['error$'][_0x556ba4(0x237)](_0x1b37b2=>_0x52914d[_0x556ba4(0x270)](_0x1b37b2))),_0x249a19['add']((0x0,_0x21f9b6['toDisposable'])(()=>_0x52914d['complete']()));let _0x58a414=new _0x4ea2bc['Subject']();_0x249a19['add'](_0xe4d533['message$'][_0x556ba4(0x237)](_0xb4b92a=>{const _0x329b9a=_0x556ba4;let _0x45de10=_0x8921cb(_0xb4b92a);_0x58a414[_0x329b9a(0x270)](_0x45de10);})),_0x249a19[_0x556ba4(0x3ad)]((0x0,_0x21f9b6[_0x556ba4(0x2ed)])(()=>_0x58a414[_0x556ba4(0x159)]()));let _0x353b08,_0x4cb60b=()=>{const _0xc9bcee=_0x556ba4;_0x52914d[_0xc9bcee(0x270)](new Event(_0xc9bcee(0x344))),_0x181336['next'](new Event(_0xc9bcee(0x344))),_0x353b08[_0xc9bcee(0x198)]();};return _0x353b08={'memberID':'','close$':_0x181336[_0x556ba4(0x2bd)](),'error$':_0x52914d[_0x556ba4(0x2bd)](),'open$':_0xe4d533['open$'],'message$':_0x58a414[_0x556ba4(0x2bd)](),'send':_0x3464b3=>{const _0x24e645=_0x556ba4;if(_0x3464b3[_0x24e645(0x13e)]===_0x4d42e2[_0x24e645(0x160)][_0x24e645(0x12d)]){if(_0x3464b3['data']['eventID']===_0xba6f9e[_0x24e645(0x417)][_0x24e645(0x1f8)]){this[_0x24e645(0x158)](_0x353b08,_0x3464b3[_0x24e645(0x163)])[_0x24e645(0x192)](_0x2431ba=>{const _0x2bc1e6=_0x24e645;this['_logService'][_0x2bc1e6(0x171)](_0x2431ba),_0x4cb60b();});return;}if(_0x3464b3[_0x24e645(0x163)][_0x24e645(0x23e)]===_0xba6f9e['CollaborationEvent'][_0x24e645(0x153)]){let _0x21355d=_0x3464b3[_0x24e645(0x163)];this[_0x24e645(0x2af)](_0x21355d)['then'](_0x4fe1c8=>{const _0x35c49b=_0x24e645;_0x58a414[_0x35c49b(0x270)]({'cmd':_0x4d42e2[_0x35c49b(0x160)]['RECV'],'code':_0x4d42e2[_0x35c49b(0x13c)]['OK'],'routeKey':_0x21355d['data']['unitID'],'routeType':'','data':{'eventID':_0xba6f9e[_0x35c49b(0x417)][_0x35c49b(0x392)],'data':{'changesets':_0x4fe1c8}}});})['catch'](_0x3d1f29=>{const _0x4842e1=_0x24e645;this['_logService'][_0x4842e1(0x171)](_0x3d1f29),_0x4cb60b();});return;}}_0xe4d533[_0x24e645(0x311)](_0x16a106(_0x3464b3));},'close':()=>{const _0xf2094d=_0x556ba4;_0xe4d533[_0xf2094d(0x198)](),_0x249a19[_0xf2094d(0x2ab)]();}},_0x353b08;}async[_0x582532(0x158)](_0x25db4e,_0x479b09){const _0x58f5c6=_0x582532;var _0x55011d;let {unitType:_0x446821,unitID:_0x3a8b29,changeset:_0xce152}=_0x479b09['data'],_0x4dcd47={'unitID':_0x3a8b29,'memberID':_0x25db4e[_0x58f5c6(0x208)],'type':_0x446821,'changeset':(0x0,_0xba6f9e[_0x58f5c6(0x1fc)])(_0xce152)},_0x306f95=this['_configService']['getConfig'](_0x3b7e3d),_0x300e8a=_0x24b777((_0x55011d=_0x306f95==null?void 0x0:_0x306f95['collabSubmitChangesetUrl'])==null?_0x58f5c6(0x369):_0x55011d,_0x446821,_0x3a8b29);try{await this[_0x58f5c6(0x195)][_0x58f5c6(0x370)](_0x300e8a,{'body':_0x4dcd47});}catch(_0x2a8e95){throw this[_0x58f5c6(0x423)][_0x58f5c6(0x171)](_0x58f5c6(0x3f2),'submit\x20changeset\x20error!'),_0x2a8e95;}}async[_0x582532(0x2af)](_0x48a9a4){const _0x5635e7=_0x582532;let {unitID:_0x1c7e86,from:_0x5155ea,to:_0x5657b7,unitType:_0x1ad323}=_0x48a9a4[_0x5635e7(0x163)];return(await this[_0x5635e7(0x2cb)][_0x5635e7(0x176)]({'metadata':void 0x0},{'unitID':_0x1c7e86,'type':_0x1ad323,'from':_0x5155ea,'to':_0x5657b7}))['changesets']['map'](_0x1576f6=>((_0x1576f6[_0x5635e7(0x393)]===null||_0x1576f6[_0x5635e7(0x393)]===void 0x0)&&(_0x1576f6[_0x5635e7(0x393)]=[]),_0x1576f6));}};_0xc1659c=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6['Inject'])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x4,_0xba6f9e[_0x582532(0x349)])],_0xc1659c);let _0x457933=class extends _0x21f9b6[_0x582532(0x183)]{get[_0x582532(0x2f0)](){const _0x316d4d=_0x582532;return this['_socket$'][_0x316d4d(0x308)]();}constructor(_0x274e47,_0x156621,_0x16a7d9,_0x19677d,_0x17c6f6,_0x330429){const _0xfa7362=_0x582532;super(),this['_injector']=_0x274e47,this[_0xfa7362(0x423)]=_0x156621,this[_0xfa7362(0x3b0)]=_0x16a7d9,this['_socketService']=_0x19677d,this[_0xfa7362(0x2ca)]=_0x17c6f6,this['_networkConditionService']=_0x330429,_0x158768(this,_0xfa7362(0x368),new _0x4ea2bc[(_0xfa7362(0x319))](void 0x0)),_0x158768(this,_0xfa7362(0x154),this[_0xfa7362(0x368)][_0xfa7362(0x2bd)]()),_0x158768(this,_0xfa7362(0x34c),null),_0x158768(this,'_sessions',new Map()),_0x158768(this,_0xfa7362(0x421),new _0x4ea2bc[(_0xfa7362(0x319))](_0x42d806[_0xfa7362(0x334)])),_0x158768(this,'status$',this[_0xfa7362(0x421)][_0xfa7362(0x2bd)]()),_0x158768(this,'_socketReady',!0x1),_0x158768(this,_0xfa7362(0x3ed),void 0x0),_0x158768(this,_0xfa7362(0x2cc),0x0),_0x158768(this,_0xfa7362(0x1f0),void 0x0),_0x158768(this,_0xfa7362(0x36e),void 0x0),this[_0xfa7362(0x25f)]();}[_0x582532(0x25f)](){const _0x4447cf=_0x582532;this[_0x4447cf(0x239)]&&this['disposeWithMe'](this[_0x4447cf(0x239)][_0x4447cf(0x2ff)][_0x4447cf(0x237)](_0xe9096e=>{const _0x49c93e=_0x4447cf;_0xe9096e&&!this[_0x49c93e(0x2f0)]&&this[_0x49c93e(0x2f3)](),_0xe9096e||this[_0x49c93e(0x156)]();}));}[_0x582532(0x2ab)](){const _0xca7b81=_0x582532;super[_0xca7b81(0x2ab)](),this[_0xca7b81(0x143)](),this[_0xca7b81(0x2eb)](),this[_0xca7b81(0x168)](),this[_0xca7b81(0x329)][_0xca7b81(0x2c3)](_0x6026fc=>_0x6026fc[_0xca7b81(0x2ab)]()),this['_sessions']['clear'](),this[_0xca7b81(0x421)][_0xca7b81(0x159)]();}async[_0x582532(0x13a)](_0x208729){const _0x1a3f5a=_0x582532;if(this[_0x1a3f5a(0x329)][_0x1a3f5a(0x2e9)](_0x208729))return this['_sessions']['get'](_0x208729);this[_0x1a3f5a(0x1ca)]();let _0x4e66db=this[_0x1a3f5a(0x279)][_0x1a3f5a(0x327)](_0x172cb0,_0x208729,this[_0x1a3f5a(0x368)]['asObservable']());return this[_0x1a3f5a(0x329)][_0x1a3f5a(0x31e)](_0x208729,_0x4e66db),_0x4e66db;}[_0x582532(0x3b5)](_0x21865b){const _0x3d1083=_0x582532;let _0x53f6ad=this[_0x3d1083(0x329)][_0x3d1083(0x19e)](_0x21865b);if(_0x53f6ad&&(this['_sessions'][_0x3d1083(0x1b0)](_0x21865b),_0x53f6ad['close']()),!this[_0x3d1083(0x329)][_0x3d1083(0x186)]){var _0x2b8767;(_0x2b8767=this['_socket'])==null||_0x2b8767['close']();}}[_0x582532(0x2f3)](){const _0x1ce214=_0x582532;this[_0x1ce214(0x2cc)]=0x0,this[_0x1ce214(0x143)](),this[_0x1ce214(0x231)]();}[_0x582532(0x143)](){const _0x5a8e9a=_0x582532;this[_0x5a8e9a(0x3ed)]!=null&&(clearTimeout(this[_0x5a8e9a(0x3ed)]),this['_retryConnectingTimer']=null);}async[_0x582532(0x1a9)](){const _0x18d727=_0x582532;var _0x551242;let _0x3f2f63=this['_configService'][_0x18d727(0x2ba)](_0x3b7e3d),_0x20d39f=(_0x551242=_0x3f2f63==null?void 0x0:_0x3f2f63['collabWebSocketUrl'])==null?_0x107e87:_0x551242,_0x118078=await this['_socketService'][_0x18d727(0x222)](_0x20d39f);return this[_0x18d727(0x34c)]=_0x118078,_0x118078;}async['_tryEnsureSocket'](){const _0x3ca933=_0x582532;try{var _0x1ebc86,_0x5be31f;let _0x52a484=(_0x1ebc86=(_0x5be31f=this['_socket'])==null?this[_0x3ca933(0x34c)]:_0x5be31f)==null?await this[_0x3ca933(0x1a9)]():_0x1ebc86;if(_0x52a484){let _0x554ab8=_0x52a484[_0x3ca933(0x311)];_0x52a484['send']=_0x3653fe=>(_0x3653fe['cmd']!==_0x4d42e2[_0x3ca933(0x160)][_0x3ca933(0x25c)]&&this[_0x3ca933(0x3be)](),_0x554ab8[_0x3ca933(0x32d)](_0x52a484,[_0x3653fe])),_0x52a484[_0x3ca933(0x23c)][_0x3ca933(0x237)](_0x23ae2b=>this['_onMessage'](_0x52a484,_0x23ae2b)),_0x52a484[_0x3ca933(0x145)][_0x3ca933(0x12f)]((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x5df1a4=>this[_0x3ca933(0x423)][_0x3ca933(0x171)]('[CollaborationSessionService]:\x20socket\x20error',_0x5df1a4)),_0x52a484[_0x3ca933(0x330)][_0x3ca933(0x12f)]((0x0,_0x40ad09['take'])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x52a484);}),_0x52a484['close$']['pipe']((0x0,_0x40ad09[_0x3ca933(0x2d4)])(0x1))[_0x3ca933(0x237)](_0x1c1e5c=>{const _0x6098ea=_0x3ca933;this[_0x6098ea(0x423)][_0x6098ea(0x2b1)](_0x6098ea(0x2a1),_0x6098ea(0x25d),_0x1c1e5c),this[_0x6098ea(0x2d6)]();});}}catch(_0x3cee88){this[_0x3ca933(0x423)][_0x3ca933(0x171)](_0x3cee88),this['_onConnectionFailed']();}}[_0x582532(0x178)](_0x3d619a){const _0x24e79c=_0x582532;this[_0x24e79c(0x423)][_0x24e79c(0x2b1)](_0x24e79c(0x2a1),_0x24e79c(0x2e8)),_0x3d619a[_0x24e79c(0x311)]({'cmd':_0x4d42e2[_0x24e79c(0x160)][_0x24e79c(0x147)]}),this[_0x24e79c(0x3be)]();}[_0x582532(0x156)](){const _0x5ba959=_0x582532;this['_socketReady']=!0x1,this[_0x5ba959(0x34c)]=null,this['_status$'][_0x5ba959(0x270)](_0x42d806[_0x5ba959(0x234)]),this[_0x5ba959(0x368)]['next'](null),this[_0x5ba959(0x2eb)](),this['_clearHeartbeatTimer']();}[_0x582532(0x2d6)](){const _0xc2c44b=_0x582532;var _0x4c41d8;this[_0xc2c44b(0x156)](),this['_retryCount']<((_0x4c41d8=this[_0xc2c44b(0x3b0)][_0xc2c44b(0x2ba)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x4c41d8)?(this[_0xc2c44b(0x2ca)]['emitEvent']({'id':_0x214ddb[_0xc2c44b(0x18d)]}),this[_0xc2c44b(0x231)]()):this[_0xc2c44b(0x2ca)][_0xc2c44b(0x121)]({'id':_0x214ddb[_0xc2c44b(0x1c9)]});}[_0x582532(0x231)](){const _0x244ed0=_0x582532;var _0x1b247e;let _0x148ed3=this[_0x244ed0(0x2cc)],_0x47e147=this[_0x244ed0(0x3b0)][_0x244ed0(0x2ba)](_0x3b7e3d),_0x4298f8=_0x148ed3===0x0?0x0:((_0x1b247e=_0x47e147==null?void 0x0:_0x47e147[_0x244ed0(0x1b4)])==null?0x4e20:_0x1b247e)*0x2**_0x148ed3;this[_0x244ed0(0x3ed)]=setTimeout(()=>{const _0x109e54=_0x244ed0;clearTimeout(this['_retryConnectingTimer']),this[_0x109e54(0x3ed)]=null,this['_tryEnsureSocket']();},_0x4298f8),this[_0x244ed0(0x2cc)]+=0x1;}[_0x582532(0x1d2)](_0x2fd457,_0x321cea){const _0x2a2e96=_0x582532;let {cmd:_0x2855ec}=_0x321cea;_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x147)]&&!this[_0x2a2e96(0x196)]&&(_0x2fd457[_0x2a2e96(0x208)]=_0x321cea[_0x2a2e96(0x163)][_0x2a2e96(0x208)],this['_socket$'][_0x2a2e96(0x270)](_0x2fd457),this[_0x2a2e96(0x421)][_0x2a2e96(0x270)](_0x42d806[_0x2a2e96(0x3da)]),this[_0x2a2e96(0x196)]=!0x0,this[_0x2a2e96(0x34c)]=null),_0x2855ec===_0x4d42e2[_0x2a2e96(0x160)][_0x2a2e96(0x2fe)]&&this[_0x2a2e96(0x2eb)](),this[_0x2a2e96(0x3be)]();}['_rescheduleHeartbeat'](){const _0x4f430b=_0x582532;var _0x519234;this[_0x4f430b(0x168)](),this[_0x4f430b(0x1f0)]=setTimeout(()=>this[_0x4f430b(0x1cb)](),(_0x519234=this[_0x4f430b(0x3b0)][_0x4f430b(0x2ba)](_0x4f430b(0x37a)))==null?0x7530:_0x519234);}[_0x582532(0x1cb)](){const _0x51cd57=_0x582532;this[_0x51cd57(0x2f0)][_0x51cd57(0x311)]({'cmd':_0x4d42e2[_0x51cd57(0x160)][_0x51cd57(0x2fe)]}),this[_0x51cd57(0x22c)]();}[_0x582532(0x22c)](){const _0x2f4916=_0x582532;var _0x2965f2;this[_0x2f4916(0x36e)]=setTimeout(()=>this[_0x2f4916(0x2d6)](),(_0x2965f2=this['_configService']['getConfig'](_0x2f4916(0x36a)))==null?_0x3ad1c7:_0x2965f2);}[_0x582532(0x168)](){const _0x44af00=_0x582532;this[_0x44af00(0x1f0)]!=null&&(clearTimeout(this[_0x44af00(0x1f0)]),this[_0x44af00(0x1f0)]=null);}[_0x582532(0x2eb)](){const _0xeb870b=_0x582532;this[_0xeb870b(0x36e)]!=null&&(clearTimeout(this[_0xeb870b(0x36e)]),this[_0xeb870b(0x36e)]=null);}};_0x457933=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,_0x21f9b6['IConfigService']),_0x385b9b(0x3,_0x1b8f90),_0x385b9b(0x4,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x49c645)),_0x385b9b(0x5,(0x0,_0x21f9b6['Optional'])(_0x3cb508))],_0x457933);let _0x28cc0e=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x51af53,_0x33e149,_0x16e70c,_0x34db9c){const _0x27654a=_0x582532;var _0x1bda93;super(),this['_injector']=_0x51af53,this[_0x27654a(0x35f)]=_0x33e149,this[_0x27654a(0x3b0)]=_0x16e70c,this['_univerInstanceService']=_0x34db9c,_0x158768(this,'_entities',new Map()),_0x158768(this,_0x27654a(0x292),new _0x4ea2bc[(_0x27654a(0x321))]()),_0x158768(this,_0x27654a(0x38e),this[_0x27654a(0x292)][_0x27654a(0x2bd)]()),((_0x1bda93=this[_0x27654a(0x3b0)]['getConfig'](_0x27654a(0x293)))==null?void 0x0:_0x1bda93['enableCollaboration'])!==!0x1&&this[_0x27654a(0x36f)]();}[_0x582532(0x2ab)](){const _0x4a0027=_0x582532;super[_0x4a0027(0x2ab)](),this[_0x4a0027(0x2bc)]['forEach'](_0x3fa063=>_0x3fa063['dispose']()),this[_0x4a0027(0x2bc)][_0x4a0027(0x157)]();}['getCollabEntity'](_0x5d8820){const _0x41afc6=_0x582532;var _0x5dbee9;return(_0x5dbee9=this[_0x41afc6(0x2bc)][_0x41afc6(0x19e)](_0x5d8820))==null?null:_0x5dbee9;}[_0x582532(0x348)](_0x1f517f){const _0x4b9f1b=_0x582532;let _0x27c5ee=this[_0x4b9f1b(0x254)](_0x1f517f);return _0x27c5ee?(0x0,_0x4ea2bc['of'])(_0x27c5ee):this[_0x4b9f1b(0x292)][_0x4b9f1b(0x12f)]((0x0,_0x40ad09[_0x4b9f1b(0x382)])(_0x777864=>_0x777864[_0x4b9f1b(0x142)]===_0x1f517f));}[_0x582532(0x21c)](_0x5007ab){const _0x1be260=_0x582532;return(0x0,_0x4ea2bc[_0x1be260(0x238)])(this[_0x1be260(0x348)](_0x5007ab)[_0x1be260(0x12f)]((0x0,_0x40ad09[_0x1be260(0x312)])(()=>void 0x0)));}[_0x582532(0x36f)](){const _0x9f900=_0x582532;this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc[_0x9f900(0x172)])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09['delay'])(0x10))[_0x9f900(0x237)](async _0x5c5669=>{const _0x44b92f=_0x9f900;let _0x416265=_0x5c5669['getUnitId'](),_0x146a86=await this[_0x44b92f(0x389)](_0x416265,_0x21f9b6['UniverInstanceType'][_0x44b92f(0x1ba)]);this[_0x44b92f(0x2bc)]['set'](_0x416265,_0x146a86);}),this[_0x9f900(0x136)][_0x9f900(0x2e6)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1f3)])[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this[_0x9f900(0x3b8)]),(0x0,_0x40ad09[_0x9f900(0x2e7)])(0x10))[_0x9f900(0x12f)]((0x0,_0x40ad09[_0x9f900(0x382)])(_0x277d68=>!_0x277d68[_0x9f900(0x31b)]()['startsWith']('__')))[_0x9f900(0x237)](async _0xd24bcc=>{const _0x5ca650=_0x9f900;let _0x573ec0=_0xd24bcc[_0x5ca650(0x31b)](),_0x2251a3=await this['_startCollaboration'](_0x573ec0,_0x21f9b6[_0x5ca650(0x3e4)][_0x5ca650(0x1f3)]);this['_entities']['set'](_0x573ec0,_0x2251a3);}),(0x0,_0x4ea2bc[_0x9f900(0x366)])(this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)][_0x9f900(0x1ba)]),this[_0x9f900(0x136)][_0x9f900(0x2e2)](_0x21f9b6[_0x9f900(0x3e4)]['UNIVER_DOC']))[_0x9f900(0x12f)]((0x0,_0x4ea2bc['takeUntil'])(this['dispose$']))[_0x9f900(0x237)](_0x177a7a=>{const _0x4dafdc=_0x9f900;let _0x5239bd=_0x177a7a[_0x4dafdc(0x31b)](),_0x407e1b=this[_0x4dafdc(0x2bc)]['get'](_0x5239bd);_0x407e1b&&(_0x407e1b[_0x4dafdc(0x2ab)](),this[_0x4dafdc(0x2bc)]['delete'](_0x5239bd));});}async[_0x582532(0x389)](_0x1c585b,_0x51ce10){const _0x498392=_0x582532;let _0x225ced=await this[_0x498392(0x35f)][_0x498392(0x13a)](_0x1c585b),_0x506704=this[_0x498392(0x279)][_0x498392(0x327)](this[_0x498392(0x274)](_0x51ce10),_0x1c585b,_0x51ce10,_0x225ced);return await _0x506704[_0x498392(0x232)](),this['_entityInit$']['next'](_0x506704),_0x506704;}[_0x582532(0x274)](_0x10cb28){const _0x179fa0=_0x582532;switch(_0x10cb28){case _0x21f9b6[_0x179fa0(0x3e4)]['UNIVER_DOC']:return _0xd1a0d8;case _0x21f9b6['UniverInstanceType'][_0x179fa0(0x1ba)]:return _0x33b45e;default:throw Error(_0x179fa0(0x26a)+_0x10cb28);}}};_0x28cc0e=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x207)])],_0x28cc0e);var _0x2aec61=_0x582532(0x230),_0x1c30ed=_0x582532(0x2e0);let _0x5e16b4=class extends _0x21f9b6[_0x582532(0x183)]{constructor(_0x2276dc,_0x61df2){const _0x19bdb3=_0x582532;super(),this[_0x19bdb3(0x136)]=_0x2276dc,this[_0x19bdb3(0x3b0)]=_0x61df2,this[_0x19bdb3(0x36f)]();}['_init'](){const _0x4cd0ad=_0x582532;this[_0x4cd0ad(0x1b5)](this[_0x4cd0ad(0x136)][_0x4cd0ad(0x1b6)][_0x4cd0ad(0x237)](()=>{const _0x1fadea=_0x4cd0ad;var _0x51b96b;let _0x336270=this[_0x1fadea(0x136)][_0x1fadea(0x3ce)](),_0x4618d8=(_0x51b96b=this[_0x1fadea(0x3b0)][_0x1fadea(0x2ba)]('DEFAULT_FILE_NAME'))==null?_0x1fadea(0x252):_0x51b96b;_0x336270 instanceof _0x21f9b6['Workbook']&&(_0x4618d8=_0x336270[_0x1fadea(0x272)]),document['title']=_0x4618d8;}));}};_0x5e16b4=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)])],_0x5e16b4);let _0x3d2f49=class{constructor(_0x51dd43,_0x2f8175,_0x563159){const _0x3495ee=_0x582532;this['_configService']=_0x51dd43,this[_0x3495ee(0x195)]=_0x2f8175,this[_0x3495ee(0x164)]=_0x563159,this[_0x3495ee(0x232)]();}[_0x582532(0x232)](){const _0x83af08=_0x582532;this[_0x83af08(0x195)][_0x83af08(0x185)]({'priority':0x1,'interceptor':(_0x49666d,_0x138292)=>_0x138292(_0x49666d)['pipe']((0x0,_0x4ea2bc['concatMap'])(async _0x538ca3=>{const _0x1b59e3=_0x83af08;let _0x231a5c=_0x538ca3;if(_0x231a5c[_0x1b59e3(0x18e)]===0x191){if(typeof window>'u')throw Error(_0x1b59e3(0x23d));if(window[_0x1b59e3(0x429)](this[_0x1b59e3(0x164)]['t'](_0x1b59e3(0x1de)))){let _0x2f5e6c=window[_0x1b59e3(0x354)](window[_0x1b59e3(0x383)][_0x1b59e3(0x428)]);window['location'][_0x1b59e3(0x428)]=this[_0x1b59e3(0x1fd)]()+_0x1b59e3(0x406)+_0x2f5e6c;}}return _0x231a5c;}))});}[_0x582532(0x1fd)](){const _0x201686=_0x582532;var _0x476484;let _0x7a2ce=this[_0x201686(0x3b0)][_0x201686(0x2ba)](_0x3b7e3d);return(_0x476484=_0x7a2ce==null?void 0x0:_0x7a2ce['loginUrlKey'])==null?'/universer-api/oidc/authpage':_0x476484;}};_0x3d2f49=_0x9fca30([_0x385b9b(0x0,_0x21f9b6['IConfigService']),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6['LocaleService']))],_0x3d2f49);let _0x23b744=class extends _0x21f9b6['Disposable']{constructor(_0x213693,_0xb29efb){const _0x30aa78=_0x582532;super(),this[_0x30aa78(0x285)]=_0x213693,this[_0x30aa78(0x3b0)]=_0xb29efb,_0x158768(this,_0x30aa78(0x2b5),!0x1),this[_0x30aa78(0x398)]();}[_0x582532(0x398)](){const _0x3e0550=_0x582532;let _0x3896d4=this;this[_0x3e0550(0x1b5)](this[_0x3e0550(0x285)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0xf4c2fc[_0x3e0550(0x17e)])({'isMatch'(_0x331e18){const _0x379a79=_0x3e0550;var _0x7786b9;if(_0x331e18[_0x379a79(0x1b1)]==='POST'&&(_0x7786b9=_0x331e18['requestParams'])!=null&&_0x7786b9[_0x379a79(0x41f)]){let {objectID:_0x51ac33,objectType:_0x5917c7}=_0x331e18[_0x379a79(0x3df)][_0x379a79(0x41f)]||{};if(!_0x51ac33||_0x5917c7===void 0x0)return!0x1;let _0x240696=_0x3896d4[_0x379a79(0x2d3)]()+'/'+_0x5917c7+_0x379a79(0x257)+_0x51ac33+'/allowed';if(_0x331e18['url']===_0x240696)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4de589){const _0x5d3112=_0x3e0550;var _0x5c06e8;return(_0x5c06e8=_0x4de589[_0x5d3112(0x3df)])==null?void 0x0:_0x5c06e8[_0x5d3112(0x41f)];},'mergeParamsToRequest'(_0x4c2486,_0x58c817){const _0x2f5015=_0x3e0550;let _0x38edc5=_0x3896d4[_0x2f5015(0x2d3)]()+_0x2f5015(0x197),_0x46b426=_0x4c2486['reduce']((_0x3b1deb,_0x1d9779)=>{const _0x1d7962=_0x2f5015;let {unitID:_0x6284a7,objectID:_0x1f85aa,objectType:_0xfe159e,actions:_0xff9ea0}=_0x1d9779;return _0x3b1deb[_0x6284a7]||(_0x3b1deb[_0x6284a7]={}),_0x3b1deb[_0x6284a7][_0x1f85aa]||(_0x3b1deb[_0x6284a7][_0x1f85aa]={'objectID':_0x1f85aa,'objectType':_0xfe159e,'actions':[]}),_0x3b1deb[_0x6284a7][_0x1f85aa][_0x1d7962(0x1ac)][_0x1d7962(0x2b7)](..._0xff9ea0),_0x3b1deb;},{}),_0x389ee1=[];for(let _0x2090d0 in _0x46b426)for(let _0x5f55b5 in _0x46b426[_0x2090d0]){let {actions:_0x1aa738,objectType:_0x296a0f}=_0x46b426[_0x2090d0][_0x5f55b5],_0x1ed8b9=[...new Set(_0x1aa738)];_0x389ee1[_0x2f5015(0x2b7)]({'unitID':_0x2090d0,'objectID':_0x5f55b5,'objectType':_0x296a0f,'actions':_0x1ed8b9});}return new _0xf4c2fc[(_0x2f5015(0x2aa))](_0x2f5015(0x363),_0x38edc5,{'headers':_0x58c817[_0x2f5015(0x295)],'withCredentials':_0x58c817[_0x2f5015(0x407)],'responseType':_0x58c817[_0x2f5015(0x3bc)],'body':{'requests':_0x389ee1}});}},{'distributeResult'(_0x49f6b4,_0x1a16a1){const _0x561f58=_0x3e0550;let {objectActions:_0x11a89a}=_0x49f6b4;return _0x1a16a1[_0x561f58(0x312)](_0x22adb5=>{const _0x7d100=_0x561f58;let {unitID:_0x53c07d,objectID:_0x24872c,actions:_0x541326}=_0x22adb5,_0x32fa9f=_0x11a89a[_0x7d100(0x283)](_0x1e3ec8=>_0x1e3ec8[_0x7d100(0x142)]===_0x53c07d&&_0x1e3ec8[_0x7d100(0x213)]===_0x24872c);return{'config':_0x22adb5,'result':{'actions':_0x541326['map'](_0x3e9a7a=>_0x32fa9f==null?void 0x0:_0x32fa9f[_0x7d100(0x1ac)][_0x7d100(0x283)](_0x23379f=>_0x23379f[_0x7d100(0x16c)]===_0x3e9a7a))['filter'](_0x5012e3=>!!_0x5012e3),'error':_0x49f6b4[_0x7d100(0x171)]}};});}})}));}['_getAPIPrefixPath'](){const _0x12c55f=_0x582532;var _0xdfa4cc;let _0x12c3d9=this[_0x12c55f(0x3b0)][_0x12c55f(0x2ba)](_0x3b7e3d);return(_0xdfa4cc=_0x12c3d9==null?void 0x0:_0x12c3d9[_0x12c55f(0x1ec)])==null?_0x12c55f(0x1bc):_0xdfa4cc;}async['create'](_0x3672b8){const _0x32724d=_0x582532;let _0x1c2691=this[_0x32724d(0x2d3)]()+'/'+_0x3672b8[_0x32724d(0x11b)]+'/object';return(await this[_0x32724d(0x285)][_0x32724d(0x370)](_0x1c2691,{'body':_0x3672b8}))[_0x32724d(0x41f)]['objectID']||'';}async[_0x582532(0x251)](_0x25a8a8){const _0x5135e2=_0x582532;let _0x755a28=this['_getAPIPrefixPath']()+_0x5135e2(0x190);return(await this[_0x5135e2(0x285)][_0x5135e2(0x370)](_0x755a28,{'body':_0x25a8a8}))[_0x5135e2(0x41f)][_0x5135e2(0x351)];}async[_0x582532(0x2d1)](_0x35c811){const _0x1116c1=_0x582532;var _0x15e7ed;let _0x16fa30=this[_0x1116c1(0x2d3)]()+'/'+_0x35c811[_0x1116c1(0x11b)]+'/object/'+_0x35c811[_0x1116c1(0x213)],_0x4ee158=await this[_0x1116c1(0x285)][_0x1116c1(0x2b0)](_0x16fa30,{'body':_0x35c811});if((_0x4ee158==null||(_0x15e7ed=_0x4ee158[_0x1116c1(0x41f)])==null||(_0x15e7ed=_0x15e7ed[_0x1116c1(0x171)])==null?void 0x0:_0x15e7ed[_0x1116c1(0x422)])!==0x1)throw Error(_0x1116c1(0x386));}async[_0x582532(0x1c2)](_0x3ee800){const _0x4be582=_0x582532;let _0x45a80d=this['_getAPIPrefixPath']()+'/'+_0x3ee800[_0x4be582(0x11b)]+_0x4be582(0x257)+_0x3ee800['objectID']+_0x4be582(0x250);return(await this[_0x4be582(0x285)][_0x4be582(0x370)](_0x45a80d,{'body':_0x3ee800}))[_0x4be582(0x41f)][_0x4be582(0x1ac)];}async['batchAllowed'](_0x49a5b5){const _0x80657b=_0x582532;let _0x59c25d=this[_0x80657b(0x2d3)]()+'/-/object/-/batch_allowed';return(await this[_0x80657b(0x285)][_0x80657b(0x370)](_0x59c25d,{'body':{'requests':_0x49a5b5}}))[_0x80657b(0x41f)]['objectActions'];}async['listRoles'](_0x2d6531){const _0x769ade=_0x582532;let _0x239ec2=this[_0x769ade(0x2d3)]()+'/'+_0x2d6531[_0x769ade(0x11b)]+_0x769ade(0x1db),_0x434332=await this[_0x769ade(0x285)][_0x769ade(0x370)](_0x239ec2,{'body':_0x2d6531});return{'roles':_0x434332[_0x769ade(0x41f)][_0x769ade(0x24c)],'actions':_0x434332[_0x769ade(0x41f)][_0x769ade(0x1ac)]};}async[_0x582532(0x1e4)](_0x5cc759){const _0x5b6717=_0x582532;let _0x317af8=this[_0x5b6717(0x2d3)]()+'/collaborator';await this[_0x5b6717(0x285)][_0x5b6717(0x1b0)](_0x317af8,{'params':{'collaboratorID':_0x5cc759[_0x5b6717(0x32e)],'objectID':_0x5cc759[_0x5b6717(0x213)],'unitID':_0x5cc759[_0x5b6717(0x142)]}});}async['updateCollaborator'](_0x5123bd){const _0x3a1ba8=_0x582532;let _0x6bd4d2=this[_0x3a1ba8(0x2d3)]()+'/collaborator';await this['_HTTPService'][_0x3a1ba8(0x32f)](_0x6bd4d2,{'body':_0x5123bd});}async['createCollaborator'](_0x300163){const _0x3e4cfa=_0x582532;let _0x29109c=this[_0x3e4cfa(0x2d3)]()+'/collaborator';await this[_0x3e4cfa(0x285)]['post'](_0x29109c,{'body':_0x300163});}async['listCollaborators'](_0x2dcee6){const _0x2e7663=_0x582532;var _0x1342a6;let _0x28910d=this[_0x2e7663(0x2d3)]()+_0x2e7663(0x20d),_0x134ee6=await this[_0x2e7663(0x285)]['get'](_0x28910d,{'params':{'objectID':_0x2dcee6['objectID'],'unitID':_0x2dcee6[_0x2e7663(0x142)]}});return this['setCfgEnableObjInherit']((_0x1342a6=_0x134ee6[_0x2e7663(0x41f)]['cfgEnableObjInherit'])==null?!0x1:_0x1342a6),_0x134ee6[_0x2e7663(0x41f)][_0x2e7663(0x3e3)];}async[_0x582532(0x371)](_0x272883){const _0x68c42a=_0x582532;let _0x5646c2=this[_0x68c42a(0x2d3)]()+'/collaborator';await this[_0x68c42a(0x285)][_0x68c42a(0x2b0)](_0x5646c2,{'body':_0x272883});}[_0x582532(0x15d)](_0x345801){const _0x46d200=_0x582532;this[_0x46d200(0x2b5)]=_0x345801;}['getCfgEnableObjInherit'](){return this['_cfgEnableObjInherit'];}};_0x23b744=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x3e2)]))],_0x23b744);function _0x37b175(_0x1959ed){const _0x56bd31=_0x582532;return _0x1959ed instanceof Uint8Array||ArrayBuffer[_0x56bd31(0x394)](_0x1959ed)&&_0x1959ed['constructor'][_0x56bd31(0x272)]===_0x56bd31(0x2c5)&&_0x56bd31(0x323)in _0x1959ed&&_0x1959ed[_0x56bd31(0x323)]===0x1;}function _0xd9eca4(_0x4a6d80){const _0x1cd73f=_0x582532;if(typeof _0x4a6d80!='number')throw TypeError('number\x20expected,\x20got\x20'+typeof _0x4a6d80);if(!Number['isSafeInteger'](_0x4a6d80)||_0x4a6d80<0x0)throw RangeError(_0x1cd73f(0x20f)+_0x4a6d80);}function _0x2b212e(_0x140cd8,_0x1d08f5,_0x488135=''){const _0xad2eeb=_0x582532;let _0x24ad2d=_0x37b175(_0x140cd8),_0x18ffd7=_0x140cd8==null?void 0x0:_0x140cd8[_0xad2eeb(0x2c6)],_0x584d9e=_0x1d08f5!==void 0x0;if(!_0x24ad2d||_0x584d9e&&_0x18ffd7!==_0x1d08f5){let _0x52cf1e=_0x488135&&'\x22'+_0x488135+'\x22\x20',_0x113956=_0x584d9e?_0xad2eeb(0x243)+_0x1d08f5:'',_0x12259f=_0x24ad2d?_0xad2eeb(0x24f)+_0x18ffd7:_0xad2eeb(0x41e)+typeof _0x140cd8,_0x5e9184=_0x52cf1e+_0xad2eeb(0x375)+_0x113956+_0xad2eeb(0x3a6)+_0x12259f;throw _0x24ad2d?RangeError(_0x5e9184):TypeError(_0x5e9184);}return _0x140cd8;}function _0x50d30e(_0x37ea02){const _0x225515=_0x582532;return new Uint32Array(_0x37ea02[_0x225515(0x2a7)],_0x37ea02[_0x225515(0x337)],Math['floor'](_0x37ea02[_0x225515(0x400)]/0x4));}function _0x524ec3(..._0x569517){const _0x3ac672=_0x582532;for(let _0x225f98=0x0;_0x225f98<_0x569517[_0x3ac672(0x2c6)];_0x225f98++)_0x569517[_0x225f98][_0x3ac672(0x33e)](0x0);}let _0x4512aa=new Uint8Array(new Uint32Array([0x11223344])[_0x582532(0x2a7)])[0x0]===0x44,_0x4fcfce=_0x1e46d1=>_0x1e46d1<<0x18&0xff000000|_0x1e46d1<<0x8&0xff0000|_0x1e46d1>>>0x8&0xff00|_0x1e46d1>>>0x18&0xff,_0x32199a=_0x4512aa?_0x4a4442=>_0x4a4442:_0x5a0057=>{for(let _0x4fbd8f=0x0;_0x4fbd8f<_0x5a0057['length'];_0x4fbd8f++)_0x5a0057[_0x4fbd8f]=_0x4fcfce(_0x5a0057[_0x4fbd8f]);return _0x5a0057;};typeof Uint8Array['from']([])[_0x582532(0x3d1)]=='function'&&Uint8Array[_0x582532(0x20e)];function _0x5cc704(_0x363ee7){const _0x5b141d=_0x582532;if(typeof _0x363ee7!=_0x5b141d(0x255))throw TypeError(_0x5b141d(0x2b9));return new Uint8Array(new TextEncoder()[_0x5b141d(0x30e)](_0x363ee7));}function _0x2c06c8(_0x3a09a1,_0x4fc1a8){const _0x1c6f51=_0x582532;return!_0x3a09a1[_0x1c6f51(0x400)]||!_0x4fc1a8[_0x1c6f51(0x400)]?!0x1:_0x3a09a1['buffer']===_0x4fc1a8[_0x1c6f51(0x2a7)]&&_0x3a09a1[_0x1c6f51(0x337)]<_0x4fc1a8[_0x1c6f51(0x337)]+_0x4fc1a8['byteLength']&&_0x4fc1a8['byteOffset']<_0x3a09a1[_0x1c6f51(0x337)]+_0x3a09a1[_0x1c6f51(0x400)];}function _0x1c61a7(_0x1a1d5b,_0x5807e3){const _0x126a71=_0x582532;if(_0x2c06c8(_0x1a1d5b,_0x5807e3)&&_0x1a1d5b['byteOffset']<_0x5807e3[_0x126a71(0x337)])throw Error(_0x126a71(0x336));}function _0x3f3bb2(..._0x527e35){const _0x220d9d=_0x582532;let _0x2ca980=0x0;for(let _0x4305ab=0x0;_0x4305ab<_0x527e35[_0x220d9d(0x2c6)];_0x4305ab++){let _0x15ed96=_0x527e35[_0x4305ab];_0x2b212e(_0x15ed96),_0x2ca980+=_0x15ed96[_0x220d9d(0x2c6)];}let _0x23022b=new Uint8Array(_0x2ca980);for(let _0x4a9778=0x0,_0x273056=0x0;_0x4a9778<_0x527e35[_0x220d9d(0x2c6)];_0x4a9778++){let _0x2e739e=_0x527e35[_0x4a9778];_0x23022b[_0x220d9d(0x31e)](_0x2e739e,_0x273056),_0x273056+=_0x2e739e[_0x220d9d(0x2c6)];}return _0x23022b;}let _0x28fc36=(_0x3ce0fc,_0x28acb7)=>{const _0x478830=_0x582532;function _0x204523(_0x5c2dee,..._0x50286c){const _0x50569e=_0x1dac;if(_0x2b212e(_0x5c2dee,void 0x0,'key'),_0x3ce0fc['nonceLength']!==void 0x0){let _0x135478=_0x50286c[0x0];_0x2b212e(_0x135478,_0x3ce0fc[_0x50569e(0x1c1)]?void 0x0:_0x3ce0fc['nonceLength'],_0x50569e(0x211));}let _0x23a8ef=_0x3ce0fc['tagLength'];_0x23a8ef&&_0x50286c[0x1]!==void 0x0&&_0x2b212e(_0x50286c[0x1],void 0x0,_0x50569e(0x35b));let _0x20a3d4=_0x28acb7(_0x5c2dee,..._0x50286c),_0x1f69f4=(_0x443459,_0x212882)=>{const _0x222311=_0x50569e;if(_0x212882!==void 0x0){if(_0x443459!==0x2)throw Error(_0x222311(0x126));_0x2b212e(_0x212882,void 0x0,_0x222311(0x130));}},_0x2cb6c4=!0x1;return{'encrypt'(_0x102b94,_0x5b4f3d){const _0x5b89b2=_0x50569e;if(_0x2cb6c4)throw Error(_0x5b89b2(0x309));return _0x2cb6c4=!0x0,_0x2b212e(_0x102b94),_0x1f69f4(_0x20a3d4[_0x5b89b2(0x170)]['length'],_0x5b4f3d),_0x20a3d4[_0x5b89b2(0x170)](_0x102b94,_0x5b4f3d);},'decrypt'(_0x329304,_0x406a3d){const _0x5e0af5=_0x50569e;if(_0x2b212e(_0x329304),_0x23a8ef&&_0x329304[_0x5e0af5(0x2c6)]<_0x23a8ef)throw Error(_0x5e0af5(0x38d)+_0x23a8ef);return _0x1f69f4(_0x20a3d4['decrypt'][_0x5e0af5(0x2c6)],_0x406a3d),_0x20a3d4[_0x5e0af5(0x214)](_0x329304,_0x406a3d);}};}return Object[_0x478830(0x3a4)](_0x204523,_0x3ce0fc),_0x204523;};function _0x1a7d56(_0x5affb1,_0x2de016,_0x2a2914=!0x0){const _0xeb18be=_0x582532;if(_0x2de016===void 0x0)return new Uint8Array(_0x5affb1);if(_0x2b212e(_0x2de016,void 0x0,_0xeb18be(0x130)),_0x2de016[_0xeb18be(0x2c6)]!==_0x5affb1)throw Error(_0xeb18be(0x27d)+_0x5affb1+_0xeb18be(0x433)+_0x2de016[_0xeb18be(0x2c6)]);if(_0x2a2914&&!_0x37db50(_0x2de016))throw Error(_0xeb18be(0x249));return _0x2de016;}function _0x37db50(_0x5ec377){const _0x484fac=_0x582532;return _0x5ec377[_0x484fac(0x337)]%0x4==0x0;}function _0x11fe44(_0x489b78){const _0x2c2638=_0x582532;return Uint8Array[_0x2c2638(0x2bf)](_0x2b212e(_0x489b78));}function _0x8b606d(_0x37d8f1=0x20){const _0x44e972=_0x582532;_0xd9eca4(_0x37d8f1);let _0x3f205d=typeof globalThis==_0x44e972(0x2f4)?globalThis[_0x44e972(0x11d)]:null;if(typeof(_0x3f205d==null?void 0x0:_0x3f205d['getRandomValues'])!='function')throw Error(_0x44e972(0x395));return _0x3f205d['getRandomValues'](new Uint8Array(_0x37d8f1));}function _0x15511f(_0x339882){const _0x2c3c2f=_0x582532;if(![0x10,0x18,0x20]['includes'](_0x339882[_0x2c3c2f(0x2c6)]))throw Error(_0x2c3c2f(0x24a)+_0x339882['length']);}function _0x1b018f(_0x202a48){return _0x202a48<<0x1^0x11b&-(_0x202a48>>0x7);}function _0x12f5a0(_0x1d09c3,_0x416b8c){let _0x436761=0x0;for(;_0x416b8c>0x0;_0x416b8c>>=0x1)_0x436761^=_0x1d09c3&-(_0x416b8c&0x1),_0x1d09c3=_0x1b018f(_0x1d09c3);return _0x436761;}let _0x1a5e35=((()=>{let _0x5510b7=new Uint8Array(0x100);for(let _0xa645c9=0x0,_0x3cf41e=0x1;_0xa645c9<0x100;_0xa645c9++,_0x3cf41e^=_0x1b018f(_0x3cf41e))_0x5510b7[_0xa645c9]=_0x3cf41e;let _0x521f77=new Uint8Array(0x100);_0x521f77[0x0]=0x63;for(let _0x52f831=0x0;_0x52f831<0xff;_0x52f831++){let _0x1ecde2=_0x5510b7[0xff-_0x52f831];_0x1ecde2|=_0x1ecde2<<0x8,_0x521f77[_0x5510b7[_0x52f831]]=(_0x1ecde2^_0x1ecde2>>0x4^_0x1ecde2>>0x5^_0x1ecde2>>0x6^_0x1ecde2>>0x7^0x63)&0xff;}return _0x524ec3(_0x5510b7),_0x521f77;})()),_0x43968b=_0x1a5e35[_0x582532(0x312)]((_0x5bc5b6,_0x1484f4)=>_0x1a5e35[_0x582532(0x30b)](_0x1484f4)),_0x4d6e5b=_0x4a238f=>_0x4a238f<<0x18|_0x4a238f>>>0x8,_0x53fcd1=_0xc85dc0=>_0xc85dc0<<0x8|_0xc85dc0>>>0x18;function _0x2599ea(_0x5db2d0,_0x3d8558){const _0x5bcb4c=_0x582532;if(_0x5db2d0[_0x5bcb4c(0x2c6)]!==0x100)throw Error('Wrong\x20sbox\x20length');let _0x5d87ab=new Uint32Array(0x100)[_0x5bcb4c(0x312)]((_0x1c4d6c,_0x24e471)=>_0x3d8558(_0x5db2d0[_0x24e471])),_0x22bb4a=_0x5d87ab[_0x5bcb4c(0x312)](_0x53fcd1),_0x35148c=_0x22bb4a[_0x5bcb4c(0x312)](_0x53fcd1),_0x305127=_0x35148c['map'](_0x53fcd1),_0x1fc7f3=new Uint32Array(0x100*0x100),_0x5e9d59=new Uint32Array(0x100*0x100),_0xcecfc2=new Uint16Array(0x100*0x100);for(let _0x3ffecf=0x0;_0x3ffecf<0x100;_0x3ffecf++)for(let _0xb59215=0x0;_0xb59215<0x100;_0xb59215++){let _0x49d40d=_0x3ffecf*0x100+_0xb59215;_0x1fc7f3[_0x49d40d]=_0x5d87ab[_0x3ffecf]^_0x22bb4a[_0xb59215],_0x5e9d59[_0x49d40d]=_0x35148c[_0x3ffecf]^_0x305127[_0xb59215],_0xcecfc2[_0x49d40d]=_0x5db2d0[_0x3ffecf]<<0x8|_0x5db2d0[_0xb59215];}return{'sbox':_0x5db2d0,'sbox2':_0xcecfc2,'T0':_0x5d87ab,'T1':_0x22bb4a,'T2':_0x35148c,'T3':_0x305127,'T01':_0x1fc7f3,'T23':_0x5e9d59};}let _0x2bb216=_0x2599ea(_0x1a5e35,_0xc15696=>_0x12f5a0(_0xc15696,0x3)<<0x18|_0xc15696<<0x10|_0xc15696<<0x8|_0x12f5a0(_0xc15696,0x2)),_0x29174a=_0x2599ea(_0x43968b,_0xa268c1=>_0x12f5a0(_0xa268c1,0xb)<<0x18|_0x12f5a0(_0xa268c1,0xd)<<0x10|_0x12f5a0(_0xa268c1,0x9)<<0x8|_0x12f5a0(_0xa268c1,0xe)),_0x4f06a7=((()=>{let _0x58d08b=new Uint8Array(0x10);for(let _0x4738f9=0x0,_0x18aa3e=0x1;_0x4738f9<0x10;_0x4738f9++,_0x18aa3e=_0x1b018f(_0x18aa3e))_0x58d08b[_0x4738f9]=_0x18aa3e;return _0x58d08b;})());function _0x5a5350(_0x2e1daa){const _0x1a50f1=_0x582532;_0x2b212e(_0x2e1daa);let _0x3d342c=_0x2e1daa[_0x1a50f1(0x2c6)];_0x15511f(_0x2e1daa);let {sbox2:_0x595cf9}=_0x2bb216,_0x36cbe7=[];(!_0x4512aa||!_0x37db50(_0x2e1daa))&&_0x36cbe7[_0x1a50f1(0x2b7)](_0x2e1daa=_0x11fe44(_0x2e1daa));let _0x20bc1a=_0x32199a(_0x50d30e(_0x2e1daa)),_0x3e4067=_0x20bc1a[_0x1a50f1(0x2c6)],_0x3147f3=_0x2b76d2=>_0x4e9853(_0x595cf9,_0x2b76d2,_0x2b76d2,_0x2b76d2,_0x2b76d2),_0x4c62ea=new Uint32Array(_0x3d342c+0x1c);_0x4c62ea[_0x1a50f1(0x31e)](_0x20bc1a);for(let _0x2798c4=_0x3e4067;_0x2798c4<_0x4c62ea['length'];_0x2798c4++){let _0x488097=_0x4c62ea[_0x2798c4-0x1];_0x2798c4%_0x3e4067===0x0?_0x488097=_0x3147f3(_0x4d6e5b(_0x488097))^_0x4f06a7[_0x2798c4/_0x3e4067-0x1]:_0x3e4067>0x6&&_0x2798c4%_0x3e4067===0x4&&(_0x488097=_0x3147f3(_0x488097)),_0x4c62ea[_0x2798c4]=_0x4c62ea[_0x2798c4-_0x3e4067]^_0x488097;}return _0x524ec3(..._0x36cbe7),_0x4c62ea;}function _0x43ba7b(_0x538286){const _0x127c83=_0x582532;let _0x597222=_0x5a5350(_0x538286),_0x9bfe7d=_0x597222[_0x127c83(0x24b)](),_0x143795=_0x597222['length'],{sbox2:_0x3af405}=_0x2bb216,{T0:_0x3eec10,T1:_0x21f010,T2:_0x3ac128,T3:_0x2ab6aa}=_0x29174a;for(let _0x4fb6d5=0x0;_0x4fb6d5<_0x143795;_0x4fb6d5+=0x4)for(let _0x52fb3f=0x0;_0x52fb3f<0x4;_0x52fb3f++)_0x9bfe7d[_0x4fb6d5+_0x52fb3f]=_0x597222[_0x143795-_0x4fb6d5-0x4+_0x52fb3f];_0x524ec3(_0x597222);for(let _0x4c2273=0x4;_0x4c2273<_0x143795-0x4;_0x4c2273++){let _0x2bd4d4=_0x9bfe7d[_0x4c2273],_0x359c23=_0x4e9853(_0x3af405,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4,_0x2bd4d4);_0x9bfe7d[_0x4c2273]=_0x3eec10[_0x359c23&0xff]^_0x21f010[_0x359c23>>>0x8&0xff]^_0x3ac128[_0x359c23>>>0x10&0xff]^_0x2ab6aa[_0x359c23>>>0x18];}return _0x9bfe7d;}function _0x3bc83e(_0x25d36f,_0x40ec53,_0x263691,_0x3ffa69,_0x297e8e,_0x23b143){return _0x25d36f[_0x263691<<0x8&0xff00|_0x3ffa69>>>0x8&0xff]^_0x40ec53[_0x297e8e>>>0x8&0xff00|_0x23b143>>>0x18&0xff];}function _0x4e9853(_0x30a18a,_0x22c724,_0x58bdf5,_0x5f1627,_0x47ecda){return _0x30a18a[_0x22c724&0xff|_0x58bdf5&0xff00]|_0x30a18a[_0x5f1627>>>0x10&0xff|_0x47ecda>>>0x10&0xff00]<<0x10;}function _0x42a4f2(_0x8b2762,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7){const _0x5700ef=_0x582532;let {sbox2:_0x3ae018,T01:_0x206f8d,T23:_0x4fc10e}=_0x2bb216,_0xb31bd4=0x0;_0x156c40^=_0x8b2762[_0xb31bd4++],_0x2f8aff^=_0x8b2762[_0xb31bd4++],_0x3aa835^=_0x8b2762[_0xb31bd4++],_0x3d71a7^=_0x8b2762[_0xb31bd4++];let _0x8e9559=_0x8b2762[_0x5700ef(0x2c6)]/0x4-0x2;for(let _0xc2951c=0x0;_0xc2951c<_0x8e9559;_0xc2951c++){let _0x300cc2=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),_0x5bcadd=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),_0x15b811=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),_0x484471=_0x8b2762[_0xb31bd4++]^_0x3bc83e(_0x206f8d,_0x4fc10e,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835);_0x156c40=_0x300cc2,_0x2f8aff=_0x5bcadd,_0x3aa835=_0x15b811,_0x3d71a7=_0x484471;}return{'s0':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x156c40,_0x2f8aff,_0x3aa835,_0x3d71a7),'s1':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x2f8aff,_0x3aa835,_0x3d71a7,_0x156c40),'s2':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3aa835,_0x3d71a7,_0x156c40,_0x2f8aff),'s3':_0x8b2762[_0xb31bd4++]^_0x4e9853(_0x3ae018,_0x3d71a7,_0x156c40,_0x2f8aff,_0x3aa835)};}function _0x4537dd(_0x5043bc,_0x2c7101,_0x4920fb,_0x2a5d38,_0x22e04b){const _0x584f8c=_0x582532;let {sbox2:_0x3ced94,T01:_0x79fcf1,T23:_0x23eb7f}=_0x29174a,_0x151046=0x0;_0x2c7101^=_0x5043bc[_0x151046++],_0x4920fb^=_0x5043bc[_0x151046++],_0x2a5d38^=_0x5043bc[_0x151046++],_0x22e04b^=_0x5043bc[_0x151046++];let _0x2b1bb3=_0x5043bc[_0x584f8c(0x2c6)]/0x4-0x2;for(let _0x198297=0x0;_0x198297<_0x2b1bb3;_0x198297++){let _0x42dd3a=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),_0x4e601c=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),_0x5ef9a6=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),_0x5dd8ad=_0x5043bc[_0x151046++]^_0x3bc83e(_0x79fcf1,_0x23eb7f,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101);_0x2c7101=_0x42dd3a,_0x4920fb=_0x4e601c,_0x2a5d38=_0x5ef9a6,_0x22e04b=_0x5dd8ad;}return{'s0':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2c7101,_0x22e04b,_0x2a5d38,_0x4920fb),'s1':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x4920fb,_0x2c7101,_0x22e04b,_0x2a5d38),'s2':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x2a5d38,_0x4920fb,_0x2c7101,_0x22e04b),'s3':_0x5043bc[_0x151046++]^_0x4e9853(_0x3ced94,_0x22e04b,_0x2a5d38,_0x4920fb,_0x2c7101)};}function _0x5665ee(_0x38d7bc){const _0x33b95d=_0x582532;if(_0x2b212e(_0x38d7bc),_0x38d7bc[_0x33b95d(0x2c6)]%0x10!=0x0)throw Error(_0x33b95d(0x3af));}function _0x1d63e3(_0x3b504f,_0x3048ad,_0x261980){const _0x2cf438=_0x582532;_0x2b212e(_0x3b504f);let _0x158f68=_0x3b504f[_0x2cf438(0x2c6)],_0x4f6c24=_0x158f68%0x10;if(!_0x3048ad&&_0x4f6c24!==0x0)throw Error(_0x2cf438(0x258));if(_0x3048ad){let _0x1cc9a2=0x10-_0x4f6c24;_0x1cc9a2||(_0x1cc9a2=0x10),_0x158f68+=_0x1cc9a2;}_0x261980=_0x1a7d56(_0x158f68,_0x261980),_0x1c61a7(_0x3b504f,_0x261980),(!_0x4512aa||!_0x37db50(_0x3b504f))&&(_0x3b504f=_0x11fe44(_0x3b504f));let _0x4fb4d4=_0x50d30e(_0x3b504f);return _0x32199a(_0x4fb4d4),{'b':_0x4fb4d4,'o':_0x50d30e(_0x261980),'out':_0x261980};}function _0xe2a58(_0xb6937b,_0x20760b){const _0xb9be62=_0x582532;if(!_0x20760b)return _0xb6937b;let _0x4f8417=_0xb6937b[_0xb9be62(0x2c6)];if(_0x4f8417===0x0)throw Error(_0xb9be62(0x302));let _0x457a9a=_0xb6937b[_0x4f8417-0x1],_0x43e8de=0x1;_0x43e8de&=_0x457a9a-0x1>>>0x1f^0x1,_0x43e8de&=0x10-_0x457a9a>>>0x1f^0x1;for(let _0x2504a2=0x0;_0x2504a2<0x10;_0x2504a2++){let _0x353c46=_0x2504a2-_0x457a9a>>>0x1f,_0x533d3e=+((_0xb6937b[_0x4f8417-0x1-_0x2504a2]^_0x457a9a)===0x0);_0x43e8de&=_0x533d3e|_0x353c46^0x1;}if(!_0x43e8de)throw Error(_0xb9be62(0x2da));return _0xb6937b[_0xb9be62(0x376)](0x0,_0x4f8417-_0x457a9a);}function _0x142ef9(_0x441925){const _0x401e98=_0x582532;let _0x585aaf=new Uint8Array(0x10),_0x3a4758=_0x50d30e(_0x585aaf);_0x585aaf[_0x401e98(0x31e)](_0x441925);let _0x2ccb3a=0x10-_0x441925[_0x401e98(0x2c6)];for(let _0x511b31=0x10-_0x2ccb3a;_0x511b31<0x10;_0x511b31++)_0x585aaf[_0x511b31]=_0x2ccb3a;return _0x3a4758;}let _0x1cd376=_0x28fc36({'blockSize':0x10,'nonceLength':0x10},function(_0x51ec6c,_0x233b67,_0x53f855={}){const _0x25516f=_0x582532;let _0x1442a0=!_0x53f855[_0x25516f(0x3bf)];return{'encrypt'(_0x179b6b,_0x1c4ba6){const _0x19f34f=_0x25516f;let _0x4e5fee=_0x5a5350(_0x51ec6c),{b:_0x12039f,o:_0x28da20,out:_0x598d70}=_0x1d63e3(_0x179b6b,_0x1442a0,_0x1c4ba6),_0x53cf9d=_0x233b67,_0x28deb4=[_0x4e5fee];(!_0x4512aa||!_0x37db50(_0x53cf9d))&&_0x28deb4[_0x19f34f(0x2b7)](_0x53cf9d=_0x11fe44(_0x53cf9d));let _0x307dd6=_0x50d30e(_0x53cf9d);_0x32199a(_0x307dd6);let _0x368f5c=_0x307dd6[0x0],_0x2ca1bf=_0x307dd6[0x1],_0x1fc217=_0x307dd6[0x2],_0x5169a0=_0x307dd6[0x3],_0xa93538=0x0;for(;_0xa93538+0x4<=_0x12039f[_0x19f34f(0x2c6)];)_0x368f5c^=_0x12039f[_0xa93538+0x0],_0x2ca1bf^=_0x12039f[_0xa93538+0x1],_0x1fc217^=_0x12039f[_0xa93538+0x2],_0x5169a0^=_0x12039f[_0xa93538+0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;if(_0x1442a0){let _0x5211e1=_0x142ef9(_0x179b6b[_0x19f34f(0x376)](_0xa93538*0x4));_0x32199a(_0x5211e1),_0x368f5c^=_0x5211e1[0x0],_0x2ca1bf^=_0x5211e1[0x1],_0x1fc217^=_0x5211e1[0x2],_0x5169a0^=_0x5211e1[0x3],{s0:_0x368f5c,s1:_0x2ca1bf,s2:_0x1fc217,s3:_0x5169a0}=_0x42a4f2(_0x4e5fee,_0x368f5c,_0x2ca1bf,_0x1fc217,_0x5169a0),_0x28da20[_0xa93538++]=_0x368f5c,_0x28da20[_0xa93538++]=_0x2ca1bf,_0x28da20[_0xa93538++]=_0x1fc217,_0x28da20[_0xa93538++]=_0x5169a0;}return _0x32199a(_0x28da20),_0x524ec3(..._0x28deb4),_0x598d70;},'decrypt'(_0x936a93,_0x1a49ae){const _0x54a305=_0x25516f;_0x5665ee(_0x936a93);let _0x5404b4=_0x43ba7b(_0x51ec6c),_0x46b331=_0x233b67,_0x3ea06c=[_0x5404b4];(!_0x4512aa||!_0x37db50(_0x46b331))&&_0x3ea06c[_0x54a305(0x2b7)](_0x46b331=_0x11fe44(_0x46b331));let _0x2da209=_0x50d30e(_0x46b331);_0x32199a(_0x2da209),_0x1a49ae=_0x1a7d56(_0x936a93['length'],_0x1a49ae),_0x1c61a7(_0x936a93,_0x1a49ae),(!_0x4512aa||!_0x37db50(_0x936a93))&&_0x3ea06c['push'](_0x936a93=_0x11fe44(_0x936a93));let _0x5ccd18=_0x50d30e(_0x936a93),_0x45b1b9=_0x50d30e(_0x1a49ae);_0x32199a(_0x5ccd18);let _0x2348ca=_0x2da209[0x0],_0x543eba=_0x2da209[0x1],_0x594d44=_0x2da209[0x2],_0x2bb1a4=_0x2da209[0x3];for(let _0x118bb4=0x0;_0x118bb4+0x4<=_0x5ccd18[_0x54a305(0x2c6)];){let _0x2477c9=_0x2348ca,_0x43ba60=_0x543eba,_0x5bf589=_0x594d44,_0x5c0832=_0x2bb1a4;_0x2348ca=_0x5ccd18[_0x118bb4+0x0],_0x543eba=_0x5ccd18[_0x118bb4+0x1],_0x594d44=_0x5ccd18[_0x118bb4+0x2],_0x2bb1a4=_0x5ccd18[_0x118bb4+0x3];let {s0:_0x41ee55,s1:_0x1f3131,s2:_0x4b9473,s3:_0x1054cd}=_0x4537dd(_0x5404b4,_0x2348ca,_0x543eba,_0x594d44,_0x2bb1a4);_0x45b1b9[_0x118bb4++]=_0x41ee55^_0x2477c9,_0x45b1b9[_0x118bb4++]=_0x1f3131^_0x43ba60,_0x45b1b9[_0x118bb4++]=_0x4b9473^_0x5bf589,_0x45b1b9[_0x118bb4++]=_0x1054cd^_0x5c0832;}return _0x32199a(_0x45b1b9),_0x524ec3(..._0x3ea06c),_0xe2a58(_0x1a49ae,_0x1442a0);}};});function _0x28a73e(_0x8a0a88){const _0x5bdc4d=_0x582532;let _0x172e02=atob(_0x8a0a88),_0x1b0445=new Uint8Array(_0x172e02[_0x5bdc4d(0x2c6)]);for(let _0x363c19=0x0;_0x363c19<_0x172e02[_0x5bdc4d(0x2c6)];_0x363c19++)_0x1b0445[_0x363c19]=_0x172e02[_0x5bdc4d(0x3f4)](_0x363c19);return _0x1b0445;}function _0x304433(_0x11ff17){const _0x1684c7=_0x582532;let _0x1b35c8='';for(let _0x21345a=0x0;_0x21345a<_0x11ff17[_0x1684c7(0x2c6)];_0x21345a++)_0x1b35c8+=String[_0x1684c7(0x181)](_0x11ff17[_0x21345a]);return btoa(_0x1b35c8);}function _0x202928(_0x202831,_0x349b91){const _0x209bd8=_0x582532;let _0x14e356=_0x28a73e(_0x349b91),_0x3dcbe4=_0x8b606d(0x10);return _0x304433(_0x3f3bb2(_0x3dcbe4,_0x1cd376(_0x14e356,_0x3dcbe4)[_0x209bd8(0x170)](_0x5cc704(_0x202831))));}function _0x14bffd(){const _0x246af9=_0x582532;let _0x57e86a=(0x0,_0xaf7c7d['getGlobalObject'])()[_0x246af9(0x3d9)];if(typeof window<'u'&&window[_0x246af9(0x383)]!==void 0x0&&_0x57e86a){let _0x467bde={'time':Math['floor'](Date[_0x246af9(0x14c)]()/0x3e8),'domain':location[_0x246af9(0x3c1)]};return _0x202928(JSON['stringify'](_0x467bde),_0x57e86a);}}let _0x23debf=class{constructor(_0x36eed4){const _0x40bfaf=_0x582532;this[_0x40bfaf(0x195)]=_0x36eed4,this[_0x40bfaf(0x3cf)]();}[_0x582532(0x3cf)](){const _0x4d2f94=_0x582532;this[_0x4d2f94(0x195)][_0x4d2f94(0x185)]({'interceptor':(_0x2dc6d8,_0x1ce67e)=>{const _0xc305ea=_0x4d2f94;let _0x594d28=_0x14bffd();return _0x594d28&&_0x2dc6d8['headers'][_0xc305ea(0x31e)](_0xc305ea(0x28d),_0x594d28),_0x1ce67e(_0x2dc6d8);}});}};_0x23debf=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc['HTTPService']))],_0x23debf);let _0xc0f129=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x4c76c5,_0x1d15ee,_0x53f7ed){const _0x48f1be=_0x582532;super(),this[_0x48f1be(0x423)]=_0x4c76c5,this['_snapshotService']=_0x1d15ee,this['_localCacheService']=_0x53f7ed,_0x158768(this,_0x48f1be(0x410),new _0x4ea2bc[(_0x48f1be(0x319))](null)),_0x158768(this,'unitInfo$',this['_unitInfo$']['asObservable']());}async[_0x582532(0x3dd)](_0x5bc631,_0x49f49c,_0x374797){const _0x47bb92=_0x582532;this[_0x47bb92(0x410)][_0x47bb92(0x270)]({'unitId':_0x5bc631,'type':_0x49f49c});let _0x57d0cb=null;switch(_0x49f49c){case _0x21f9b6[_0x47bb92(0x3e4)][_0x47bb92(0x1ba)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x1bd)](_0x5bc631,_0x374797);break;case _0x21f9b6['UniverInstanceType'][_0x47bb92(0x1f3)]:_0x57d0cb=await this['_snapshotService'][_0x47bb92(0x360)](_0x5bc631,_0x374797);break;default:this[_0x47bb92(0x423)][_0x47bb92(0x171)]('[DataLoaderService]',_0x47bb92(0x1f6));break;}return _0x57d0cb;}async[_0x582532(0x346)](_0x2adb3a,_0x41a794,_0x4f5b3a){const _0x1d1ac0=_0x582532;var _0x4aee01;this[_0x1d1ac0(0x410)]['next']({'unitId':_0x2adb3a,'type':_0x41a794,'subUnitId':_0x4f5b3a});let _0x94face=0x0,_0x2bf44c=await((_0x4aee01=this['_localCacheService'])==null?void 0x0:_0x4aee01[_0x1d1ac0(0x1a7)](_0x2adb3a));return _0x2bf44c&&(_0x2bf44c[_0x1d1ac0(0x343)]||_0x2bf44c[_0x1d1ac0(0x393)][_0x1d1ac0(0x2c6)]!==0x0)&&(_0x94face=_0x2bf44c[_0x1d1ac0(0x3f7)]),_0x94face===0x0&&this[_0x1d1ac0(0x423)][_0x1d1ac0(0x2b1)](_0x1d1ac0(0x17f),_0x1d1ac0(0x404)),this[_0x1d1ac0(0x3dd)](_0x2adb3a,_0x41a794,_0x94face);}};_0xc0f129=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xba6f9e[_0x582532(0x40f)])),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x2dc)])(_0x2705d1))],_0xc0f129);let _0x20a57b=['image/png',_0x582532(0x2a6),_0x582532(0x27b),_0x582532(0x29f),'image/bmp'],_0x567524=class{constructor(_0x59cf01,_0x4d66ef,_0x423e07){const _0x4d8296=_0x582532;this[_0x4d8296(0x195)]=_0x59cf01,this['_configService']=_0x4d66ef,this[_0x4d8296(0x136)]=_0x423e07,_0x158768(this,_0x4d8296(0x416),0x0),_0x158768(this,_0x4d8296(0x290),new _0x4ea2bc['Subject']()),_0x158768(this,_0x4d8296(0x34d),this[_0x4d8296(0x290)]),_0x158768(this,_0x4d8296(0x2fa),new Map());}[_0x582532(0x2d0)](_0x31aaee){const _0x56bfa6=_0x582532;this[_0x56bfa6(0x416)]=_0x31aaee,this[_0x56bfa6(0x290)][_0x56bfa6(0x270)](_0x31aaee);}['getImageSourceCache'](_0x44f755,_0x80d942){const _0x22e950=_0x582532;if(_0x80d942===_0x432f50['ImageSourceType'][_0x22e950(0x224)]){let _0x19a232=new Image();return _0x19a232['src']=_0x44f755,_0x19a232;}return this[_0x22e950(0x2fa)][_0x22e950(0x19e)](_0x44f755);}[_0x582532(0x15b)](_0x4e2e0f,_0x329b36,_0x1a754e){const _0xbb2a08=_0x582532;_0x329b36===_0x432f50[_0xbb2a08(0x23a)]['BASE64']||_0x1a754e==null||this[_0xbb2a08(0x2fa)][_0xbb2a08(0x31e)](_0x4e2e0f,_0x1a754e);}async[_0x582532(0x269)](_0x2ee489){const _0x238a60=_0x582532;try{let _0x612eb2=this[_0x238a60(0x27c)](this[_0x238a60(0x12b)](),''+_0x2ee489),_0xb12a8d=(await this['_httpService']['get'](_0x612eb2))[_0x238a60(0x41f)];if(_0xb12a8d[_0x238a60(0x171)]&&_0xb12a8d[_0x238a60(0x171)][_0x238a60(0x422)]===_0x4d42e2[_0x238a60(0x32a)]['OK']){let _0x1f6949=(0x0,_0x21f9b6[_0x238a60(0x1fe)])(_0xb12a8d['url'],this['_getDownloadEndpointURL']());return Promise['resolve'](_0x1f6949);}return Promise[_0x238a60(0x225)](_0xb12a8d[_0x238a60(0x171)]);}catch(_0x5670fc){return Promise['reject'](_0x5670fc);}}async[_0x582532(0x315)](_0x45a0b2){const _0x298f9a=_0x582532;let _0x7fb1de='';if(!_0x20a57b[_0x298f9a(0x180)](_0x45a0b2['type']))return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)][_0x298f9a(0x3c2)]));if(_0x45a0b2[_0x298f9a(0x186)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50[_0x298f9a(0x1cf)]['ERROR_EXCEED_SIZE']));try{let _0x15651a=new FormData();_0x15651a[_0x298f9a(0x361)](_0x298f9a(0x411),_0x45a0b2);let _0x35edb1=this['_univerInstanceService'][_0x298f9a(0x3ce)](),_0x223b53=_0x35edb1==null?void 0x0:_0x35edb1[_0x298f9a(0x31b)]();if(!_0x223b53)throw Error('unitId\x20is\x20not\x20found');let _0x4109ab=this[_0x298f9a(0x425)]()+_0x298f9a(0x173)+_0x45a0b2[_0x298f9a(0x186)]['toString']()+'&source='+_0x4d42e2['FileSource'][_0x298f9a(0x260)]+_0x298f9a(0x1cc)+encodeURIComponent(_0x223b53),_0x12c897={'body':_0x15651a},_0x132e18=(await this[_0x298f9a(0x195)][_0x298f9a(0x370)](_0x4109ab,_0x12c897))[_0x298f9a(0x41f)];if(typeof _0x132e18[_0x298f9a(0x3a7)]!=_0x298f9a(0x255))return this['_decreaseWaiting'](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));_0x7fb1de=_0x132e18['FileId'];}catch{return this[_0x298f9a(0x1c7)](),Promise[_0x298f9a(0x225)](Error(_0x432f50['ImageUploadStatusType'][_0x298f9a(0x39b)]));}return new Promise((_0x440d97,_0x5c5c9b)=>{const _0x5f2f27=_0x298f9a;let _0x152f8f=new FileReader();_0x152f8f[_0x5f2f27(0x3a1)](_0x45a0b2),_0x152f8f[_0x5f2f27(0x3f0)]=_0xe8a163=>{const _0x4ae741=_0x5f2f27;var _0x38a0a1;let _0x449474=(_0x38a0a1=_0xe8a163[_0x4ae741(0x3bd)])==null?void 0x0:_0x38a0a1[_0x4ae741(0x20c)];if(_0x449474==null){this['_decreaseWaiting'](),_0x5c5c9b(Error(_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x39b)]));return;}_0x440d97({'imageId':(0x0,_0x21f9b6[_0x4ae741(0x2df)])(0x6),'imageSourceType':_0x432f50[_0x4ae741(0x23a)][_0x4ae741(0x3b3)],'source':_0x7fb1de,'base64Cache':_0x449474,'status':_0x432f50[_0x4ae741(0x1cf)][_0x4ae741(0x2a4)]}),this[_0x4ae741(0x1c7)]();};});}[_0x582532(0x425)](){const _0x12da30=_0x582532;var _0x4c0d02;let _0x3363b6=this[_0x12da30(0x3b0)]['getConfig'](_0x3b7e3d);return(_0x4c0d02=_0x3363b6==null?void 0x0:_0x3363b6[_0x12da30(0x194)])==null?_0x12da30(0x137):_0x4c0d02;}[_0x582532(0x12b)](){const _0x5ebfe3=_0x582532;var _0x17ab87;let _0x939138=this[_0x5ebfe3(0x3b0)][_0x5ebfe3(0x2ba)](_0x3b7e3d);return(_0x17ab87=_0x939138==null?void 0x0:_0x939138[_0x5ebfe3(0x287)])==null?_0x5ebfe3(0x34f):_0x17ab87;}[_0x582532(0x3d3)](){const _0x5533aa=_0x582532;var _0x2bbb83;let _0x388621=this['_configService']['getConfig'](_0x3b7e3d);return(_0x2bbb83=_0x388621==null?void 0x0:_0x388621[_0x5533aa(0x193)])==null?location['origin']:_0x2bbb83;}['_replaceFileID'](_0x5c47a0,_0x38f5f9){const _0x44e421=_0x582532;return _0x5c47a0[_0x44e421(0x30c)](_0x44e421(0x3a9),_0x38f5f9);}[_0x582532(0x1c7)](){const _0x5c7d5a=_0x582532;--this['_waitCount'],this['_change$'][_0x5c7d5a(0x270)](this[_0x5c7d5a(0x416)]);}};_0x567524=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)])),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x2,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x207)]))],_0x567524);let _0x51ebde=class{constructor(_0x119f07,_0x17a32c){const _0x40875b=_0x582532;this['_configService']=_0x119f07,this[_0x40875b(0x285)]=_0x17a32c;}[_0x582532(0x2d3)](){const _0x390e02=_0x582532;var _0x4c1e97;let _0x4b114=this[_0x390e02(0x3b0)][_0x390e02(0x2ba)](_0x3b7e3d);return(_0x4c1e97=_0x4b114==null?void 0x0:_0x4b114[_0x390e02(0x1ec)])==null?'/universer-api/authz':_0x4c1e97;}async[_0x582532(0x251)](_0x30726f){const _0x19770a=_0x582532;let _0x2eb54c=this[_0x19770a(0x2d3)]()+'/collaborator';return{'list':[{'title':_0x19770a(0x205),'mentions':(await this[_0x19770a(0x285)]['get'](_0x2eb54c,{'params':{'objectID':_0x30726f[_0x19770a(0x415)],'unitID':_0x30726f[_0x19770a(0x415)]}}))['body']['collaborators']['map'](_0x30c717=>({'objectId':_0x30c717['id'],'name':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x272)],'metadata':{'icon':_0x30c717[_0x19770a(0x39e)][_0x19770a(0x1d0)]},'label':_0x30c717[_0x19770a(0x39e)]['name'],'objectType':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]})),'metadata':{},'type':_0x21f9b6[_0x19770a(0x331)][_0x19770a(0x36d)]}]};}};_0x51ebde=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6['Inject'])(_0x21f9b6['IConfigService'])),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x51ebde);let _0x2ff624=class extends _0x21f9b6[_0x582532(0x1c3)]{constructor(_0x2567eb,_0x42d4fc,_0x3afe36,_0xcac7e9,_0x40f732){const _0x521472=_0x582532;super(),this[_0x521472(0x279)]=_0x2567eb,this[_0x521472(0x136)]=_0x42d4fc,this[_0x521472(0x3bb)]=_0x3afe36,this[_0x521472(0x1a3)]=_0xcac7e9,this[_0x521472(0x2ca)]=_0x40f732,this[_0x521472(0x1b9)](),this['_initCloseConn']();}[_0x582532(0x259)](){const _0x508611=_0x582532;let _0x41f917=async _0x1beff0=>{const _0x38543c=_0x1dac;(await this['_collaborationSessionService'][_0x38543c(0x13a)](_0x1beff0))[_0x38543c(0x1a6)][_0x38543c(0x12f)]((0x0,_0x40ad09[_0x38543c(0x382)])(_0x26c956=>_0x26c956[_0x38543c(0x23e)]===_0xba6f9e[_0x38543c(0x417)][_0x38543c(0x22e)]),(0x0,_0x40ad09[_0x38543c(0x172)])(this[_0x38543c(0x3b8)]))[_0x38543c(0x237)](_0x3e88f0=>{const _0x566816=_0x38543c;let {reason:_0x381427}=_0x3e88f0[_0x566816(0x163)];this[_0x566816(0x2ca)][_0x566816(0x121)]({'id':_0x214ddb[_0x566816(0x365)],'data':_0x381427}),this[_0x566816(0x3bb)]['updatePermissionPoint'](new _0x17b170['WorkbookEditablePermission'](_0x1beff0)['id'],!0x1),this['_collaborationSessionService'][_0x566816(0x3b5)](_0x1beff0);});};(0x0,_0x4ea2bc[_0x508611(0x366)])(this[_0x508611(0x136)]['getTypeOfUnitAdded$'](_0x21f9b6['UniverInstanceType'][_0x508611(0x1ba)]),this['_univerInstanceService'][_0x508611(0x2e6)](_0x21f9b6[_0x508611(0x3e4)]['UNIVER_DOC']))[_0x508611(0x12f)]((0x0,_0x40ad09['map'])(_0x353819=>_0x353819['getUnitId']()),(0x0,_0x40ad09[_0x508611(0x382)])(_0x57f6d4=>!(0x0,_0x21f9b6[_0x508611(0x233)])(_0x57f6d4)),(0x0,_0x40ad09['takeUntil'])(this[_0x508611(0x3b8)]))[_0x508611(0x237)](_0x305db0=>{_0x41f917(_0x305db0);});}[_0x582532(0x1b9)](){const _0x1c7330=_0x582532;let _0x3e9e1e=async _0x2f2e48=>{const _0x4b74d9=_0x1dac;let _0x3d9a6a=await this['_collaborationSessionService'][_0x4b74d9(0x13a)](_0x2f2e48),_0x21542c=this[_0x4b74d9(0x279)]['get'](_0x17b170[_0x4b74d9(0x1d6)]);_0x3d9a6a[_0x4b74d9(0x1a6)][_0x4b74d9(0x12f)]((0x0,_0x40ad09['filter'])(_0x47ade5=>_0x47ade5[_0x4b74d9(0x23e)]===_0xba6f9e['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),(0x0,_0x40ad09[_0x4b74d9(0x172)])(this[_0x4b74d9(0x3b8)]))[_0x4b74d9(0x237)](_0x3dc6cd=>{const _0x3200b2=_0x4b74d9;let {objectId:_0x362ae3}=_0x3dc6cd['data'];_0x362ae3===_0x2f2e48?_0x21542c[_0x3200b2(0x3d6)](_0x2f2e48):_0x21542c[_0x3200b2(0x20a)](_0x2f2e48,_0x362ae3);});};(0x0,_0x4ea2bc[_0x1c7330(0x366)])(this['_univerInstanceService'][_0x1c7330(0x2e6)](_0x21f9b6[_0x1c7330(0x3e4)]['UNIVER_SHEET']))[_0x1c7330(0x12f)]((0x0,_0x40ad09[_0x1c7330(0x312)])(_0x16f855=>_0x16f855[_0x1c7330(0x31b)]()),(0x0,_0x40ad09['filter'])(_0x437e61=>!(0x0,_0x21f9b6[_0x1c7330(0x233)])(_0x437e61)),(0x0,_0x40ad09['takeUntil'])(this[_0x1c7330(0x3b8)]))[_0x1c7330(0x237)](_0xfa03ba=>{_0x3e9e1e(_0xfa03ba);});}};_0x2ff624=_0x9fca30([_0x385b9b(0x0,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x1,_0x21f9b6['IUniverInstanceService']),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x350)]),_0x385b9b(0x3,(0x0,_0x21f9b6[_0x582532(0x424)])(_0x457933)),_0x385b9b(0x4,(0x0,_0x21f9b6['Inject'])(_0x49c645))],_0x2ff624);let _0x583f98=class{constructor(_0x488d32,_0x4e759d){const _0x5ba7c7=_0x582532;this[_0x5ba7c7(0x3b0)]=_0x488d32,this['_httpService']=_0x4e759d;}async[_0x582532(0x155)](_0x12fad3,_0x2e09f0){const _0x4eccee=_0x582532;var _0x48ee03;let {unitID:_0x25aeb5,type:_0x42bdee,revision:_0x55a56e=0x0}=_0x2e09f0,_0x5349d4=this[_0x4eccee(0x177)]()+'/'+_0x42bdee+'/unit/'+_0x25aeb5+_0x4eccee(0x1c8)+_0x55a56e,_0x1ecb54=(await this['_httpService'][_0x4eccee(0x19e)](_0x5349d4))[_0x4eccee(0x41f)],_0x5e3968=(_0x48ee03=_0x1ecb54[_0x4eccee(0x3f5)])==null?void 0x0:_0x48ee03[_0x4eccee(0x305)];if(_0x5e3968){let _0x58f4d3=_0x5e3968==null?void 0x0:_0x5e3968['originalMeta'];_0x5e3968['originalMeta']=_0xba6f9e[_0x4eccee(0x3c3)][_0x4eccee(0x30e)]((0x0,_0xba6f9e[_0x4eccee(0x384)])(_0x58f4d3)),Object[_0x4eccee(0x304)](_0x5e3968[_0x4eccee(0x278)])[_0x4eccee(0x2c3)](([,_0x5bfcbf])=>{const _0x2979aa=_0x4eccee;let _0x519785=_0x5bfcbf[_0x2979aa(0x38f)];_0x5bfcbf['originalMeta']=_0xba6f9e['textEncoder']['encode']((0x0,_0xba6f9e[_0x2979aa(0x384)])(_0x519785));});}return _0x1ecb54;}async[_0x582532(0x235)](_0x113abe,_0x177128){const _0x33110e=_0x582532;let {unitID:_0x2eaa90,type:_0xaa9c5d,blockID:_0x4c0b84}=_0x177128,_0x5d88a0=this[_0x33110e(0x228)]()+'/'+_0xaa9c5d+_0x33110e(0x11e)+_0x2eaa90+_0x33110e(0x42c)+_0x4c0b84;return(await this[_0x33110e(0x195)]['get'](_0x5d88a0))['body'];}async[_0x582532(0x2a9)](_0x2db860,_0x8f1534){const _0x59e13d=_0x582532;let {unitID:_0x2af368,type:_0x32c5c0,blockID:_0x120bb3}=_0x8f1534,_0xc5a377=this['_getAPIPrefix']()+'/block/'+_0x32c5c0+_0x59e13d(0x11e)+_0x2af368+_0x59e13d(0x42c)+_0x120bb3;return(await this[_0x59e13d(0x195)][_0x59e13d(0x19e)](_0xc5a377))[_0x59e13d(0x41f)];}async[_0x582532(0x176)](_0x5a9330,_0x46e10f){const _0x4aa548=_0x582532;let {unitID:_0x26eb6c,type:_0xac34c0,from:_0x3cfbbe,to:_0x23b9a6}=_0x46e10f,_0x1684aa=this['_getAPIPrefix']()+'/'+_0xac34c0+'/unit/'+_0x26eb6c+_0x4aa548(0x25b)+_0x3cfbbe+_0x4aa548(0x33d)+_0x23b9a6;return(await this[_0x4aa548(0x195)][_0x4aa548(0x19e)](_0x1684aa))['body'];}[_0x582532(0x177)](){const _0x173883=_0x582532;var _0x21e5a7;return(_0x21e5a7=this['_configService']['getConfig'](_0x173883(0x268)))==null?this[_0x173883(0x228)]():_0x21e5a7;}[_0x582532(0x228)](){const _0x409884=_0x582532;var _0x834c38;let _0x235f3c=this[_0x409884(0x3b0)][_0x409884(0x2ba)](_0x3b7e3d);return(_0x834c38=_0x235f3c==null?void 0x0:_0x235f3c['snapshotServerUrl'])==null?'/universer-api/snapshot':_0x834c38;}async[_0x582532(0x372)](_0x3f1365,_0x718086){const _0x4dc852=_0x582532;let _0x14fb0d=_0x4dc852(0x1d4)+_0x718086[_0x4dc852(0x1a4)]+_0x4dc852(0x11e)+_0x718086[_0x4dc852(0x142)]+_0x4dc852(0x355);return(await this[_0x4dc852(0x195)][_0x4dc852(0x19e)](_0x14fb0d,{'params':{'resourceId':JSON['stringify'](_0x718086[_0x4dc852(0x129)])}}))[_0x4dc852(0x41f)];}[_0x582532(0x24e)](){const _0x4a8d54=_0x582532;throw Error(_0x4a8d54(0x2d5));}[_0x582532(0x318)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x12e)](){const _0x3e0669=_0x582532;throw Error(_0x3e0669(0x2d5));}['saveChangeset'](){const _0x4385af=_0x582532;throw Error(_0x4385af(0x2d5));}[_0x582532(0x3b1)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x582532(0x3ea)](){const _0x3a541f=_0x582532;throw Error(_0x3a541f(0x2d5));}};_0x583f98=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x3e2)]),_0x385b9b(0x1,(0x0,_0x21f9b6[_0x582532(0x424)])(_0xf4c2fc[_0x582532(0x1b3)]))],_0x583f98);let _0x42923c=class extends _0x21f9b6[_0x582532(0x240)]{constructor(_0x5b491f,_0x255d61,_0x11b184,_0x5cbc43,_0x5084e4){const _0x5223d4=_0x582532;super(_0x5b491f,_0x255d61,_0x11b184),this['_transformService']=_0x5cbc43,this[_0x5223d4(0x423)]=_0x5084e4;}[_0x582532(0x21b)](_0x256da3,_0x1ead75){const _0x34022c=_0x582532;let _0x1482a3=this[_0x34022c(0x3a2)](_0x256da3);if(_0x1482a3)try{let _0x14822e=this['_transformStack'](_0x1482a3,_0x1ead75);this['_substituteUndoStack'](_0x256da3,_0x14822e);}catch(_0x254aef){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x34022c(0x36c),_0x254aef),this[_0x34022c(0x33b)](_0x256da3);}let _0x35562c=this[_0x34022c(0x271)](_0x256da3);if(_0x35562c)try{let _0xef1f6b=this[_0x34022c(0x26d)](_0x35562c,_0x1ead75);this['_substituteRedoStack'](_0x256da3,_0xef1f6b);}catch(_0x2f0ba2){this[_0x34022c(0x423)][_0x34022c(0x171)](_0x2f0ba2),this[_0x34022c(0x2b4)](_0x256da3);}}[_0x582532(0x33b)](_0x7e3b6f){const _0x15de06=_0x582532;let _0x532ed8=this[_0x15de06(0x3a2)](_0x7e3b6f);_0x532ed8&&(_0x532ed8[_0x15de06(0x2c6)]=0x0,this[_0x15de06(0x1d8)]());}[_0x582532(0x2b4)](_0x4ef4e4){const _0xdfbc8f=_0x582532;let _0x39a6ad=this['_getRedoStack'](_0x4ef4e4);_0x39a6ad&&(_0x39a6ad[_0xdfbc8f(0x2c6)]=0x0,this[_0xdfbc8f(0x1d8)]());}[_0x582532(0x322)](_0x5434bb,_0x3995ce){const _0x2acdf1=_0x582532;this[_0x2acdf1(0x300)][_0x2acdf1(0x31e)](_0x5434bb,_0x3995ce),this['_updateStatus']();}[_0x582532(0x223)](_0x2c8d3e,_0x2b411d){const _0x17efbc=_0x582532;this[_0x17efbc(0x245)][_0x17efbc(0x31e)](_0x2c8d3e,_0x2b411d),this[_0x17efbc(0x1d8)]();}[_0x582532(0x26d)](_0x4e2a3c,_0x1b1886){const _0x57759a=_0x582532;let _0x493079=[],_0x31827b=_0x1b1886,_0x49ec64=_0x1b1886;for(let _0xc2ab7=_0x4e2a3c['length']-0x1;_0xc2ab7>=0x0;_0xc2ab7--){let {unitID:_0x549ac4,undoMutations:_0x50f208,redoMutations:_0x5cd67a}=_0x4e2a3c[_0xc2ab7],_0x757007=this['_transformService'][_0x57759a(0x18a)](_0x31827b,_0x50f208),_0x211e5e=this[_0x57759a(0x32c)][_0x57759a(0x18a)](_0x49ec64,_0x5cd67a);if((0x0,_0xba6f9e[_0x57759a(0x134)])(_0x757007)||(0x0,_0xba6f9e[_0x57759a(0x134)])(_0x211e5e)){this[_0x57759a(0x423)][_0x57759a(0x171)]('[CollaborationUndoRedoService]',_0x57759a(0x409),_0x757007,_0x211e5e);break;}_0x31827b=_0x757007[_0x57759a(0x301)],_0x49ec64=_0x211e5e[_0x57759a(0x301)],_0x493079['push']({'unitID':_0x549ac4,'undoMutations':_0x757007[_0x57759a(0x419)],'redoMutations':_0x211e5e['m2Prime']});}return _0x493079[_0x57759a(0x19b)]();}};_0x42923c=_0x9fca30([_0x385b9b(0x0,_0x21f9b6[_0x582532(0x207)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x284)]),_0x385b9b(0x2,_0x21f9b6[_0x582532(0x2cd)]),_0x385b9b(0x3,_0xba6f9e[_0x582532(0x2e5)]),_0x385b9b(0x4,_0x21f9b6[_0x582532(0x2d2)])],_0x42923c);let _0x10a260=class extends _0x21f9b6[_0x582532(0x201)]{constructor(_0x27815d={},_0x3ac0ff,_0x344d62,_0x5db8b2){const _0x5c6ace=_0x582532;super(),this[_0x5c6ace(0x226)]=_0x27815d,this['_logService']=_0x3ac0ff,this[_0x5c6ace(0x279)]=_0x344d62,this[_0x5c6ace(0x3b0)]=_0x5db8b2;let {..._0x5e6d3d}=(0x0,_0x21f9b6['merge'])({},_0x1a0a3c,_0x27815d);if(!_0x5e6d3d[_0x5c6ace(0x16d)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5e6d3d,this[_0x5c6ace(0x3b0)][_0x5c6ace(0x2d8)](_0x3b7e3d,_0x5e6d3d);}['onStarting'](){const _0x467e47=_0x582532;this[_0x467e47(0x35a)](),this[_0x467e47(0x1b8)]();}[_0x582532(0x35a)](){const _0x25fa56=_0x582532;var _0x5658e6,_0x8385e5;this[_0x25fa56(0x279)][_0x25fa56(0x2e9)](_0x21f9b6[_0x25fa56(0x3c6)])&&this[_0x25fa56(0x423)][_0x25fa56(0x171)](_0x25fa56(0x313),_0x25fa56(0x21d));let _0x2df68c=(0x0,_0x21f9b6[_0x25fa56(0x124)])([[_0x21f9b6[_0x25fa56(0x3c6)],{'useClass':_0x42923c}],[_0x457933],[_0x42c541],[_0x43e293],[_0x3d2f49],[_0x23debf],[_0x386670],[_0x2ff624],[_0x49c645],[_0xc0f129],[_0x1b8f90,{'useClass':this[_0x25fa56(0x226)][_0x25fa56(0x16d)]}],[_0xba6f9e[_0x25fa56(0x349)],{'useClass':_0x583f98}],[_0x21f9b6[_0x25fa56(0x1f1)],{'useClass':_0x23b744}],[_0x432f50[_0x25fa56(0x3e1)],{'useClass':_0x567524}],[_0x21f9b6[_0x25fa56(0x1e0)],{'useClass':_0x51ebde}],[_0x28cc0e],[_0x5e16b4]],(_0x5658e6=this['_config'])==null?void 0x0:_0x5658e6[_0x25fa56(0x356)]);if(!((_0x8385e5=this[_0x25fa56(0x226)])!=null&&_0x8385e5['enableSingleActiveInstanceLock'])){let _0x4454a2=_0x2df68c[_0x25fa56(0x26e)](([_0x4e8457])=>_0x4e8457===_0x4ada3c);_0x4454a2!==-0x1&&_0x2df68c['splice'](_0x4454a2,0x1);}(0x0,_0x21f9b6[_0x25fa56(0x37e)])(this[_0x25fa56(0x279)],_0x2df68c);}[_0x582532(0x1b8)](){const _0x292f3e=_0x582532;var _0x55f659,_0x4fa2c8;if(this[_0x292f3e(0x279)][_0x292f3e(0x19e)](_0xf4c2fc[_0x292f3e(0x1b3)])[_0x292f3e(0x185)]({'priority':0x14,'interceptor':(0x0,_0xf4c2fc[_0x292f3e(0x42a)])({'maxParallel':0x6})}),!((_0x55f659=this[_0x292f3e(0x226)])!=null&&_0x55f659[_0x292f3e(0x3b7)])){var _0x4c4737;(_0x4c4737=this['_injector'][_0x292f3e(0x19e)](_0x2705d1,_0x21f9b6[_0x292f3e(0x2be)]['OPTIONAL']))==null||_0x4c4737[_0x292f3e(0x405)]();}(_0x4fa2c8=this[_0x292f3e(0x226)])!=null&&_0x4fa2c8[_0x292f3e(0x1f7)]&&(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x3d2f49]]),(0x0,_0x21f9b6[_0x292f3e(0x37f)])(this['_injector'],[[_0x23debf],[_0x28cc0e],[_0x2ff624]]);}};_0x158768(_0x10a260,_0x582532(0x333),_0x582532(0x289)),_0x158768(_0x10a260,_0x582532(0x1d5),_0x2aec61),_0x158768(_0x10a260,_0x582532(0x1b2),_0x1c30ed),_0x10a260=_0x9fca30([(0x0,_0x21f9b6[_0x582532(0x31f)])(_0xaf7c7d['UniverLicensePlugin'],_0xba6f9e[_0x582532(0x247)],_0xf4c2fc[_0x582532(0x1d1)]),_0x385b9b(0x1,_0x21f9b6[_0x582532(0x2d2)]),_0x385b9b(0x2,(0x0,_0x21f9b6['Inject'])(_0x21f9b6[_0x582532(0x303)])),_0x385b9b(0x3,_0x21f9b6[_0x582532(0x3e2)])],_0x10a260),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x32b),{'enumerable':!0x0,'get':function(){return _0x23b744;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14f),{'enumerable':!0x0,'get':function(){return _0x4cb993;}}),Object[_0x582532(0x2f7)](_0x5382ad,'AwaitingWithPendingState',{'enumerable':!0x0,'get':function(){return _0x548b22;}}),_0x5382ad[_0x582532(0x11a)]=_0x3b7e3d,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x218),{'enumerable':!0x0,'get':function(){return _0x28cc0e;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x3fe),{'enumerable':!0x0,'get':function(){return _0x20db3d;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x307),{'enumerable':!0x0,'get':function(){return _0x567524;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x3f6),{'enumerable':!0x0,'get':function(){return _0x172cb0;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x342),{'enumerable':!0x0,'get':function(){return _0x457933;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2ee),{'enumerable':!0x0,'get':function(){return _0xc1659c;}}),_0x5382ad['CollaborationStatus']=_0x259f7c,_0x5382ad[_0x582532(0x3cc)]=_0x214ddb,_0x5382ad[_0x582532(0x135)]=_0x49c645,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x14b),{'enumerable':!0x0,'get':function(){return _0x42923c;}}),_0x5382ad[_0x582532(0x30d)]=_0x386670,Object['defineProperty'](_0x5382ad,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x2d5de6;}}),_0x5382ad[_0x582532(0x281)]=_0x107e87,_0x5382ad[_0x582532(0x414)]=_0x582532(0x14a),_0x5382ad[_0x582532(0x1be)]=_0x582532(0x374),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x27e),{'enumerable':!0x0,'get':function(){return _0xc0f129;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x36b),{'enumerable':!0x0,'get':function(){return _0xd1a0d8;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x29b),{'enumerable':!0x0,'get':function(){return _0x231f53;}}),_0x5382ad[_0x582532(0x339)]='HEARTBEAT_INTERVAL',_0x5382ad[_0x582532(0x242)]=_0x582532(0x36a),_0x5382ad[_0x582532(0x1c6)]=_0x1b8f90,_0x5382ad[_0x582532(0x427)]=_0x2705d1,_0x5382ad[_0x582532(0x2db)]=_0x3cb508,_0x5382ad[_0x582532(0x40d)]=_0x4ada3c,_0x5382ad[_0x582532(0x362)]=0x3e8,_0x5382ad[_0x582532(0x2d7)]=_0x582532(0x362),Object[_0x582532(0x2f7)](_0x5382ad,'MemberService',{'enumerable':!0x0,'get':function(){return _0x42c541;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x23f),{'enumerable':!0x0,'get':function(){return _0x51ebde;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x22d),{'enumerable':!0x0,'get':function(){return _0x23f8dc;}}),Object['defineProperty'](_0x5382ad,_0x582532(0x1a1),{'enumerable':!0x0,'get':function(){return _0x348615;}}),_0x5382ad[_0x582532(0x3e6)]=_0x582532(0x402),_0x5382ad[_0x582532(0x40c)]=_0x582532(0x1a5),_0x5382ad[_0x582532(0x184)]=_0x42d806,Object['defineProperty'](_0x5382ad,'SheetCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x33b45e;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x1da),{'enumerable':!0x0,'get':function(){return _0x43e293;}}),Object['defineProperty'](_0x5382ad,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x583f98;}}),Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x2c0),{'enumerable':!0x0,'get':function(){return _0x51c4b3;}}),_0x5382ad[_0x582532(0x1df)]=_0x5e2f10,Object[_0x582532(0x2f7)](_0x5382ad,_0x582532(0x182),{'enumerable':!0x0,'get':function(){return _0x10a260;}}),_0x5382ad[_0x582532(0x420)]=_0x8921cb,_0x5382ad[_0x582532(0x378)]=_0x183d07,_0x5382ad[_0x582532(0x391)]=_0x16a106;}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x292c(_0xae326f,_0x300f21){_0xae326f=_0xae326f-0x175;const _0x33aec4=_0x33ae();let _0x292ca3=_0x33aec4[_0xae326f];return _0x292ca3;}(function(_0x274e4c,_0x3f9b0c){const _0x388347=_0x292c,_0x643a41=_0x274e4c();while(!![]){try{const _0x5d4c48=parseInt(_0x388347(0x18c))/0x1*(parseInt(_0x388347(0x188))/0x2)+-parseInt(_0x388347(0x1ab))/0x3+parseInt(_0x388347(0x17e))/0x4+parseInt(_0x388347(0x17a))/0x5*(parseInt(_0x388347(0x1a7))/0x6)+-parseInt(_0x388347(0x1bf))/0x7+-parseInt(_0x388347(0x1c4))/0x8+parseInt(_0x388347(0x1ac))/0x9;if(_0x5d4c48===_0x3f9b0c)break;else _0x643a41['push'](_0x643a41['shift']());}catch(_0x354678){_0x643a41['push'](_0x643a41['shift']());}}}(_0x33ae,0xa3b15),function(_0x1c2ada,_0x3e4964){const _0x43bb27=_0x292c;typeof exports=='object'&&typeof module<'u'?_0x3e4964(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x43bb27(0x17f)&&define['amd']?define([_0x43bb27(0x19b),_0x43bb27(0x177),_0x43bb27(0x1a0),_0x43bb27(0x184),_0x43bb27(0x1c0),_0x43bb27(0x179)],_0x3e4964):(_0x1c2ada=typeof globalThis<'u'?globalThis:_0x1c2ada||self,_0x3e4964(_0x1c2ada[_0x43bb27(0x1c3)]={},_0x1c2ada[_0x43bb27(0x183)],_0x1c2ada[_0x43bb27(0x18e)],_0x1c2ada[_0x43bb27(0x1a2)],_0x1c2ada[_0x43bb27(0x1a3)],_0x1c2ada[_0x43bb27(0x179)]));}(this,function(_0x40b88f,_0x501736,_0x2c4a08,_0x5c64b9,_0x32de1a,_0x21b8db){const _0x398dd7=_0x292c;Object['defineProperty'](_0x40b88f,Symbol[_0x398dd7(0x1a1)],{'value':_0x398dd7(0x1a9)});var _0x36ae9a=class extends _0x2c4a08[_0x398dd7(0x19d)]{get[_0x398dd7(0x1b6)](){const _0x309911=_0x398dd7;return _0x501736[_0x309911(0x1b6)];}};_0x2c4a08[_0x398dd7(0x19d)][_0x398dd7(0x1ae)](_0x36ae9a);var _0x317e3a=class extends _0x2c4a08['FEventName']{get['CollaborationStatusChanged'](){const _0x162c05=_0x398dd7;return _0x162c05(0x18f);}};_0x2c4a08[_0x398dd7(0x1b1)][_0x398dd7(0x1ae)](_0x317e3a);function _0x306207(_0x3ecef8,_0x5cf808){return function(_0x398296,_0x5a57f2){_0x5cf808(_0x398296,_0x5a57f2,_0x3ecef8);};}function _0x120ca1(_0x1871b8,_0x14ca31,_0x2a7b49,_0x353ec3){const _0x5edad3=_0x398dd7;var _0x1eeec2=arguments[_0x5edad3(0x1b2)],_0x2aa954=_0x1eeec2<0x3?_0x14ca31:_0x353ec3===null?_0x353ec3=Object[_0x5edad3(0x187)](_0x14ca31,_0x2a7b49):_0x353ec3,_0x51e192;if(typeof Reflect==_0x5edad3(0x194)&&typeof Reflect[_0x5edad3(0x19e)]==_0x5edad3(0x17f))_0x2aa954=Reflect[_0x5edad3(0x19e)](_0x1871b8,_0x14ca31,_0x2a7b49,_0x353ec3);else{for(var _0x1f4f60=_0x1871b8[_0x5edad3(0x1b2)]-0x1;_0x1f4f60>=0x0;_0x1f4f60--)(_0x51e192=_0x1871b8[_0x1f4f60])&&(_0x2aa954=(_0x1eeec2<0x3?_0x51e192(_0x2aa954):_0x1eeec2>0x3?_0x51e192(_0x14ca31,_0x2a7b49,_0x2aa954):_0x51e192(_0x14ca31,_0x2a7b49))||_0x2aa954);}return _0x1eeec2>0x3&&_0x2aa954&&Object[_0x5edad3(0x1b0)](_0x14ca31,_0x2a7b49,_0x2aa954),_0x2aa954;}let _0x4b6b9a=class extends _0x2c4a08[_0x398dd7(0x195)]{constructor(_0x579153,_0x1afa20,_0x4619ef,_0x3ed91d,_0x3d52bb){const _0x94205f=_0x398dd7;super(),this[_0x94205f(0x1bc)]=_0x579153,this['_injector']=_0x1afa20,this[_0x94205f(0x18d)]=_0x4619ef,this[_0x94205f(0x1a8)]=_0x3ed91d,this[_0x94205f(0x1c1)]=_0x3d52bb;}async[_0x398dd7(0x1c2)](){const _0x3cf0=_0x398dd7;return this[_0x3cf0(0x191)]();}async[_0x398dd7(0x191)](){const _0x8095a1=_0x398dd7;throw Error(_0x8095a1(0x17d));}async[_0x398dd7(0x1af)](_0x5d08f1){return this['loadSheetAsync'](_0x5d08f1);}async[_0x398dd7(0x197)](_0x3da8d3,_0x140ac1){const _0x38b8af=_0x398dd7;return await this['_snapshotService'][_0x38b8af(0x1af)](_0x3da8d3,0x0,_0x140ac1)?(await this[_0x38b8af(0x1c1)][_0x38b8af(0x180)](_0x3da8d3),this['_handler'][_0x38b8af(0x178)](_0x3da8d3)):null;}[_0x398dd7(0x19c)](_0x25416e,_0xdab500){const _0x51d6a3=_0x398dd7;return(0x0,_0x5c64b9[_0x51d6a3(0x17c)])(this[_0x51d6a3(0x1b7)][_0x51d6a3(0x176)](_0x501736[_0x51d6a3(0x1bb)])[_0x51d6a3(0x19f)](_0x25416e)[_0x51d6a3(0x1b5)]((0x0,_0x21b8db[_0x51d6a3(0x181)])(_0xa728e7=>_0xa728e7[_0x51d6a3(0x199)]))[_0x51d6a3(0x189)](_0x22bbe2=>_0xdab500(Array[_0x51d6a3(0x186)](_0x22bbe2['values']()))));}[_0x398dd7(0x1ba)](_0x5ae5c6){const _0x536286=_0x398dd7;var _0x4bdbb9;let _0x540f0a;if(_0x5ae5c6)_0x540f0a=_0x5ae5c6;else{let _0x20b51e=this['_univerInstanceService'][_0x536286(0x18a)]();_0x540f0a=_0x20b51e==null?void 0x0:_0x20b51e[_0x536286(0x1a5)]();}if(!_0x540f0a)return _0x501736[_0x536286(0x1b6)][_0x536286(0x1ad)];let _0x200d18=this[_0x536286(0x1c1)][_0x536286(0x196)](_0x540f0a);return(_0x4bdbb9=_0x200d18==null?void 0x0:_0x200d18[_0x536286(0x1bd)][_0x536286(0x185)])==null?_0x501736[_0x536286(0x1b6)][_0x536286(0x1ad)]:_0x4bdbb9;}};_0x4b6b9a=_0x120ca1([_0x306207(0x1,(0x0,_0x5c64b9['Inject'])(_0x5c64b9['Injector'])),_0x306207(0x2,_0x5c64b9[_0x398dd7(0x1b9)]),_0x306207(0x3,(0x0,_0x5c64b9[_0x398dd7(0x1a6)])(_0x32de1a['SnapshotService'])),_0x306207(0x4,(0x0,_0x5c64b9[_0x398dd7(0x1a6)])(_0x501736['CollaborationController']))],_0x4b6b9a);var _0xb2e68c=class extends _0x2c4a08[_0x398dd7(0x192)]{[_0x398dd7(0x198)](_0x62b3d4){const _0x18c4d5=_0x398dd7;let _0x342a03=_0x62b3d4[_0x18c4d5(0x176)](_0x501736[_0x18c4d5(0x175)]);this[_0x18c4d5(0x1aa)](this[_0x18c4d5(0x19a)](this['Event'][_0x18c4d5(0x18f)],()=>{const _0x4a7061=_0x18c4d5;let _0x2b4346=new _0x5c64b9['DisposableCollection'](),_0x56343a=_0x342a03[_0x4a7061(0x1b3)]['subscribe'](_0x4a332e=>{const _0xb98ca9=_0x4a7061;let _0x22c4ae=_0x4a332e[_0xb98ca9(0x190)][_0xb98ca9(0x189)](_0x4a411b=>{const _0x5b6978=_0xb98ca9;let _0x5b48de={'unitId':_0x4a332e[_0x5b6978(0x182)],'status':_0x4a411b};this[_0x5b6978(0x193)](this['Event'][_0x5b6978(0x18f)],_0x5b48de);});_0x2b4346[_0xb98ca9(0x18b)]((0x0,_0x5c64b9[_0xb98ca9(0x17c)])(_0x22c4ae));});return _0x2b4346[_0x4a7061(0x18b)]((0x0,_0x5c64b9[_0x4a7061(0x17c)])(_0x56343a)),_0x2b4346;}));}[_0x398dd7(0x17b)](){const _0x3253e9=_0x398dd7;return this[_0x3253e9(0x1b7)][_0x3253e9(0x1be)](_0x4b6b9a,{'getUniverSheet':_0xf53d4e=>this['getUniverSheet'](_0xf53d4e)});}[_0x398dd7(0x1a4)](_0xc5de90,_0x462d95,_0x598c2d){const _0x24efa6=_0x398dd7;return this[_0x24efa6(0x1b7)][_0x24efa6(0x176)](_0x501736[_0x24efa6(0x1b4)])['loadUnit'](_0xc5de90,_0x462d95,_0x598c2d);}[_0x398dd7(0x1b8)](_0x42bf35,_0x431547,_0x3c4088){const _0x5dd813=_0x398dd7;return this['_injector'][_0x5dd813(0x176)](_0x501736['DataLoaderService'])['loadUnitOfRevision'](_0x42bf35,_0x431547,_0x3c4088);}};_0x2c4a08[_0x398dd7(0x192)]['extend'](_0xb2e68c),Object[_0x398dd7(0x1b0)](_0x40b88f,'FCollaboration',{'enumerable':!0x0,'get':function(){return _0x4b6b9a;}});}));function _0x33ae(){const _0x525349=['UniverProCollaborationClient','@univerjs/core','status','from','getOwnPropertyDescriptor','34DaSVZv','subscribe','getFocusedUnit','add','46091sXoAlP','_univerInstanceService','UniverCoreFacade','CollaborationStatusChanged','status$','loadActiveSheetAsync','FUniver','fireEvent','object','FBase','getCollabEntity','loadSheetAsync','_initialize','members$','registerEventHandler','exports','subscribeCollaborators','FEnum','decorate','waitForRoom$','@univerjs/core/facade','toStringTag','UniverCore','UniverProCollaboration','loadServerUnit','getUnitId','Inject','72jxpqKD','_snapshotService','Module','disposeWithMe','1490352yORlBj','6583590eOjRnp','NOT_COLLAB','extend','loadSheet','defineProperty','FEventName','length','entityInit$','DataLoaderService','pipe','CollaborationStatus','_injector','loadServerUnitOfRevision','IUniverInstanceService','getCollaborationStatus','MemberService','_handler','state','createInstance','5604354ALKSDu','@univerjs-pro/collaboration','_collaborationController','loadActiveSheet','UniverProCollaborationClientFacade','9381312lxmGsb','CollaborationController','get','@univerjs-pro/collaboration-client','getUniverSheet','rxjs','216120Xodomj','getCollaboration','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','4427240XVlMfR','function','readyForCollab','switchMap','unitID'];_0x33ae=function(){return _0x525349;};return _0x33ae();}
5
+ function _0x1786(_0x42ac8b,_0x442bad){_0x42ac8b=_0x42ac8b-0x1b3;const _0x465f91=_0x465f();let _0x178653=_0x465f91[_0x42ac8b];return _0x178653;}function _0x465f(){const _0x574421=['CollaborationStatusChanged','FCollaboration','getUnitId','rxjs','subscribeCollaborators','71BIXsFO','from','get','status','length','loadUnit','exports','values','@univerjs-pro/collaboration-client','85NDSxsg','FEnum','members$','_snapshotService','toDisposable','460350LVDAhT','loadServerUnit','loadSheet','7381680aQrXfE','_collaborationController','DisposableCollection','function','amd','CollaborationController','unitID','fireEvent','loadSheetAsync','UniverProCollaborationClientFacade','FEventName','createInstance','loadActiveSheetAsync','object','UniverCoreFacade','readyForCollab','_univerInstanceService','Inject','SnapshotService','2314602caHyKQ','@univerjs/core/facade','_injector','entityInit$','NOT_COLLAB','FBase','FUniver','subscribe','@univerjs-pro/collaboration','Event','getOwnPropertyDescriptor','defineProperty','loadUnitOfRevision','Module','24YmZqEx','_handler','Injector','380429fGArEb','2260EGDVac','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','IUniverInstanceService','waitForRoom$','DataLoaderService','5558SAUZcK','add','getCollaboration','1220124rQupYu','extend','decorate','CollaborationStatus','loadServerUnitOfRevision','MemberService','getFocusedUnit','getUniverSheet','state'];_0x465f=function(){return _0x574421;};return _0x465f();}(function(_0x588cef,_0x551514){const _0x1be84f=_0x1786,_0x1753c0=_0x588cef();while(!![]){try{const _0x37e259=parseInt(_0x1be84f(0x1fa))/0x1*(parseInt(_0x1be84f(0x1e9))/0x2)+-parseInt(_0x1be84f(0x1bb))/0x3+parseInt(_0x1be84f(0x1e3))/0x4*(-parseInt(_0x1be84f(0x1b6))/0x5)+-parseInt(_0x1be84f(0x1ec))/0x6+-parseInt(_0x1be84f(0x1e2))/0x7*(parseInt(_0x1be84f(0x1df))/0x8)+-parseInt(_0x1be84f(0x1d1))/0x9+parseInt(_0x1be84f(0x1be))/0xa;if(_0x37e259===_0x551514)break;else _0x1753c0['push'](_0x1753c0['shift']());}catch(_0x4e8225){_0x1753c0['push'](_0x1753c0['shift']());}}}(_0x465f,0x24571),function(_0x3e96c0,_0x5e67b3){const _0x1bb46c=_0x1786;typeof exports==_0x1bb46c(0x1cb)&&typeof module<'u'?_0x5e67b3(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x1bb46c(0x1c1)&&define[_0x1bb46c(0x1c2)]?define([_0x1bb46c(0x1b3),_0x1bb46c(0x1b5),_0x1bb46c(0x1d2),'@univerjs/core',_0x1bb46c(0x1d9),'rxjs'],_0x5e67b3):(_0x3e96c0=typeof globalThis<'u'?globalThis:_0x3e96c0||self,_0x5e67b3(_0x3e96c0[_0x1bb46c(0x1c7)]={},_0x3e96c0['UniverProCollaborationClient'],_0x3e96c0[_0x1bb46c(0x1cc)],_0x3e96c0['UniverCore'],_0x3e96c0['UniverProCollaboration'],_0x3e96c0[_0x1bb46c(0x1f8)]));}(this,function(_0x2ae065,_0x21c4b2,_0x2ada40,_0x6da4ff,_0x5a386d,_0x5930bc){const _0x4d33f7=_0x1786;Object['defineProperty'](_0x2ae065,Symbol['toStringTag'],{'value':_0x4d33f7(0x1de)});var _0x5b379d=class extends _0x2ada40['FEnum']{get['CollaborationStatus'](){const _0x403540=_0x4d33f7;return _0x21c4b2[_0x403540(0x1ef)];}};_0x2ada40[_0x4d33f7(0x1b7)][_0x4d33f7(0x1ed)](_0x5b379d);var _0x10e2a9=class extends _0x2ada40['FEventName']{get[_0x4d33f7(0x1f5)](){const _0x5d6328=_0x4d33f7;return _0x5d6328(0x1f5);}};_0x2ada40[_0x4d33f7(0x1c8)][_0x4d33f7(0x1ed)](_0x10e2a9);function _0x39c035(_0x2d58bb,_0x21511e){return function(_0xa3f24d,_0x401f36){_0x21511e(_0xa3f24d,_0x401f36,_0x2d58bb);};}function _0x48052d(_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581){const _0x34da51=_0x4d33f7;var _0x3d786e=arguments[_0x34da51(0x1fe)],_0x3d1e=_0x3d786e<0x3?_0x2902d5:_0x5aa581===null?_0x5aa581=Object[_0x34da51(0x1db)](_0x2902d5,_0x5e7906):_0x5aa581,_0x2e1e97;if(typeof Reflect==_0x34da51(0x1cb)&&typeof Reflect[_0x34da51(0x1ee)]==_0x34da51(0x1c1))_0x3d1e=Reflect['decorate'](_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581);else{for(var _0x5003e1=_0x86cb5d[_0x34da51(0x1fe)]-0x1;_0x5003e1>=0x0;_0x5003e1--)(_0x2e1e97=_0x86cb5d[_0x5003e1])&&(_0x3d1e=(_0x3d786e<0x3?_0x2e1e97(_0x3d1e):_0x3d786e>0x3?_0x2e1e97(_0x2902d5,_0x5e7906,_0x3d1e):_0x2e1e97(_0x2902d5,_0x5e7906))||_0x3d1e);}return _0x3d786e>0x3&&_0x3d1e&&Object['defineProperty'](_0x2902d5,_0x5e7906,_0x3d1e),_0x3d1e;}let _0x727f90=class extends _0x2ada40[_0x4d33f7(0x1d6)]{constructor(_0x3a9287,_0x18db48,_0x33b5e7,_0x5b6b0a,_0x5920a9){const _0x20cd0b=_0x4d33f7;super(),this[_0x20cd0b(0x1e0)]=_0x3a9287,this[_0x20cd0b(0x1d3)]=_0x18db48,this['_univerInstanceService']=_0x33b5e7,this[_0x20cd0b(0x1b9)]=_0x5b6b0a,this['_collaborationController']=_0x5920a9;}async['loadActiveSheet'](){const _0x17fe6e=_0x4d33f7;return this[_0x17fe6e(0x1ca)]();}async[_0x4d33f7(0x1ca)](){const _0x2ee707=_0x4d33f7;throw Error(_0x2ee707(0x1e4));}async[_0x4d33f7(0x1bd)](_0xb96f53){const _0x56cda4=_0x4d33f7;return this[_0x56cda4(0x1c6)](_0xb96f53);}async[_0x4d33f7(0x1c6)](_0x2055b6,_0x4d262d){const _0x83ccad=_0x4d33f7;return await this[_0x83ccad(0x1b9)][_0x83ccad(0x1bd)](_0x2055b6,0x0,_0x4d262d)?(await this[_0x83ccad(0x1bf)][_0x83ccad(0x1cd)](_0x2055b6),this[_0x83ccad(0x1e0)][_0x83ccad(0x1f3)](_0x2055b6)):null;}[_0x4d33f7(0x1f9)](_0x4453e7,_0x58e132){const _0x5b1ae8=_0x4d33f7;return(0x0,_0x6da4ff[_0x5b1ae8(0x1ba)])(this['_injector'][_0x5b1ae8(0x1fc)](_0x21c4b2[_0x5b1ae8(0x1f1)])[_0x5b1ae8(0x1e7)](_0x4453e7)['pipe']((0x0,_0x5930bc[_0x5b1ae8(0x1e5)])(_0x3479bd=>_0x3479bd[_0x5b1ae8(0x1b8)]))[_0x5b1ae8(0x1d8)](_0x24f2e4=>_0x58e132(Array[_0x5b1ae8(0x1fb)](_0x24f2e4[_0x5b1ae8(0x1b4)]()))));}['getCollaborationStatus'](_0x50be58){const _0x2ab72f=_0x4d33f7;var _0x2ec159;let _0x3116f3;if(_0x50be58)_0x3116f3=_0x50be58;else{let _0x40f2df=this[_0x2ab72f(0x1ce)][_0x2ab72f(0x1f2)]();_0x3116f3=_0x40f2df==null?void 0x0:_0x40f2df[_0x2ab72f(0x1f7)]();}if(!_0x3116f3)return _0x21c4b2[_0x2ab72f(0x1ef)][_0x2ab72f(0x1d5)];let _0x5ab197=this['_collaborationController']['getCollabEntity'](_0x3116f3);return(_0x2ec159=_0x5ab197==null?void 0x0:_0x5ab197[_0x2ab72f(0x1f4)][_0x2ab72f(0x1fd)])==null?_0x21c4b2['CollaborationStatus'][_0x2ab72f(0x1d5)]:_0x2ec159;}};_0x727f90=_0x48052d([_0x39c035(0x1,(0x0,_0x6da4ff['Inject'])(_0x6da4ff[_0x4d33f7(0x1e1)])),_0x39c035(0x2,_0x6da4ff[_0x4d33f7(0x1e6)]),_0x39c035(0x3,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x5a386d[_0x4d33f7(0x1d0)])),_0x39c035(0x4,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x21c4b2[_0x4d33f7(0x1c3)]))],_0x727f90);var _0x5da8ef=class extends _0x2ada40[_0x4d33f7(0x1d7)]{['_initialize'](_0x4a806d){const _0x193153=_0x4d33f7;let _0x4ff669=_0x4a806d[_0x193153(0x1fc)](_0x21c4b2['CollaborationController']);this['disposeWithMe'](this['registerEventHandler'](this[_0x193153(0x1da)][_0x193153(0x1f5)],()=>{const _0x5601fb=_0x193153;let _0x1d4079=new _0x6da4ff[(_0x5601fb(0x1c0))](),_0x13c898=_0x4ff669[_0x5601fb(0x1d4)][_0x5601fb(0x1d8)](_0x542b86=>{const _0x4ee6e0=_0x5601fb;let _0x34621e=_0x542b86['status$']['subscribe'](_0x134dd1=>{const _0x5a085c=_0x1786;let _0x153e69={'unitId':_0x542b86[_0x5a085c(0x1c4)],'status':_0x134dd1};this[_0x5a085c(0x1c5)](this[_0x5a085c(0x1da)][_0x5a085c(0x1f5)],_0x153e69);});_0x1d4079[_0x4ee6e0(0x1ea)]((0x0,_0x6da4ff[_0x4ee6e0(0x1ba)])(_0x34621e));});return _0x1d4079['add']((0x0,_0x6da4ff['toDisposable'])(_0x13c898)),_0x1d4079;}));}[_0x4d33f7(0x1eb)](){const _0x2433e3=_0x4d33f7;return this[_0x2433e3(0x1d3)][_0x2433e3(0x1c9)](_0x727f90,{'getUniverSheet':_0x128374=>this[_0x2433e3(0x1f3)](_0x128374)});}[_0x4d33f7(0x1bc)](_0x3ddfd3,_0x4bd757,_0xb4605b){const _0x539e41=_0x4d33f7;return this['_injector']['get'](_0x21c4b2['DataLoaderService'])[_0x539e41(0x1ff)](_0x3ddfd3,_0x4bd757,_0xb4605b);}[_0x4d33f7(0x1f0)](_0x55cdb5,_0x48689a,_0x1f223f){const _0x6bf600=_0x4d33f7;return this[_0x6bf600(0x1d3)][_0x6bf600(0x1fc)](_0x21c4b2[_0x6bf600(0x1e8)])[_0x6bf600(0x1dd)](_0x55cdb5,_0x48689a,_0x1f223f);}};_0x2ada40[_0x4d33f7(0x1d7)][_0x4d33f7(0x1ed)](_0x5da8ef),Object[_0x4d33f7(0x1dc)](_0x2ae065,_0x4d33f7(0x1f6),{'enumerable':!0x0,'get':function(){return _0x727f90;}});}));
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x84a9(_0x53c9ef,_0x42bbdc){_0x53c9ef=_0x53c9ef-0xa0;const _0x20d06=_0x20d0();let _0x84a97d=_0x20d06[_0x53c9ef];return _0x84a97d;}(function(_0x3c9cbf,_0x56f7b8){const _0x49b17c=_0x84a9,_0x76779d=_0x3c9cbf();while(!![]){try{const _0x225959=-parseInt(_0x49b17c(0x127))/0x1*(-parseInt(_0x49b17c(0xe2))/0x2)+parseInt(_0x49b17c(0x22c))/0x3+parseInt(_0x49b17c(0x378))/0x4*(-parseInt(_0x49b17c(0xa3))/0x5)+parseInt(_0x49b17c(0x145))/0x6*(parseInt(_0x49b17c(0x158))/0x7)+parseInt(_0x49b17c(0x36a))/0x8+parseInt(_0x49b17c(0x300))/0x9+parseInt(_0x49b17c(0x1f9))/0xa*(-parseInt(_0x49b17c(0x32f))/0xb);if(_0x225959===_0x56f7b8)break;else _0x76779d['push'](_0x76779d['shift']());}catch(_0x3347b8){_0x76779d['push'](_0x76779d['shift']());}}}(_0x20d0,0xe07d2),function(_0x35d55b,_0x4090fa){const _0x40bc5c=_0x84a9;typeof exports==_0x40bc5c(0xf0)&&typeof module<'u'?_0x4090fa(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`)):typeof define=='function'&&define[_0x40bc5c(0x2f6)]?define([_0x40bc5c(0x334),'@univerjs-pro/collaboration-client','@univerjs/core',_0x40bc5c(0x240),'rxjs',_0x40bc5c(0x21e),_0x40bc5c(0x31e),_0x40bc5c(0x342),'@univerjs/rpc',_0x40bc5c(0x13a),_0x40bc5c(0x222),_0x40bc5c(0x3b0),_0x40bc5c(0x107),_0x40bc5c(0x111),_0x40bc5c(0xd1),_0x40bc5c(0x2f8),'@univerjs/engine-formula','rxjs/operators',_0x40bc5c(0x200)],_0x4090fa):(_0x35d55b=typeof globalThis<'u'?globalThis:_0x35d55b||self,_0x4090fa(_0x35d55b['UniverProCollaborationClientUi']={},_0x35d55b[_0x40bc5c(0x1ea)],_0x35d55b[_0x40bc5c(0x243)],_0x35d55b['UniverUi'],_0x35d55b[_0x40bc5c(0x385)],_0x35d55b['UniverDesign'],_0x35d55b['React'],_0x35d55b[_0x40bc5c(0x156)],_0x35d55b[_0x40bc5c(0x2df)],_0x35d55b[_0x40bc5c(0x106)],_0x35d55b[_0x40bc5c(0x2a1)],_0x35d55b[_0x40bc5c(0x134)],_0x35d55b[_0x40bc5c(0x307)],_0x35d55b[_0x40bc5c(0x179)],_0x35d55b[_0x40bc5c(0x30e)],_0x35d55b[_0x40bc5c(0x358)],_0x35d55b['UniverEngineFormula'],_0x35d55b['rxjs']['operators'],_0x35d55b[_0x40bc5c(0x31a)]));}(this,function(_0x159966,_0x4a06d2,_0x13030d,_0x429bdf,_0x594669,_0x3df4e2,_0x4c0a01,_0x2f373e,_0x108d2d,_0x47b368,_0x5bc07b,_0x24b4f9,_0x57a234,_0x497386,_0x486545,_0x1aedbb,_0xe81250,_0x2525b7,_0x3c23de){const _0x24b96c=_0x84a9;Object[_0x24b96c(0x324)](_0x159966,Symbol[_0x24b96c(0xdf)],{'value':_0x24b96c(0x12f)});function _0x39d45f({ref:_0x5ca128,..._0xde6dbe}){const _0xb3b20f=_0x24b96c;let {icon:_0x2a6255,id:_0x224cc2,className:_0x341103,extend:_0x22bc4e,..._0x3db11a}=_0xde6dbe,_0x2fbf99=(_0xb3b20f(0x313)+_0x224cc2+'\x20'+(_0x341103||''))[_0xb3b20f(0x3a7)](),_0x5a8862=(0x0,_0x4c0a01['useRef'])('_'+_0x57d3ac());return _0x546513(_0x2a6255,''+_0x224cc2,{'defIds':_0x2a6255[_0xb3b20f(0x253)],'idSuffix':_0x5a8862['current']},{'ref':_0x5ca128,'className':_0x2fbf99,..._0x3db11a},_0x22bc4e);}function _0x546513(_0x47c5aa,_0x1cb9b4,_0x4e76f9,_0x361454,_0x56892b){const _0x38b404=_0x24b96c;return(0x0,_0x4c0a01['createElement'])(_0x47c5aa[_0x38b404(0x2db)],{'key':_0x1cb9b4,..._0x44ffa6(_0x47c5aa,_0x4e76f9,_0x56892b),..._0x361454},(_0x380e9f(_0x47c5aa,_0x4e76f9)[_0x38b404(0x11a)]||[])[_0x38b404(0x288)]((_0x340b4b,_0x5667f4)=>_0x546513(_0x340b4b,_0x1cb9b4+'-'+_0x47c5aa['tag']+'-'+_0x5667f4,_0x4e76f9,void 0x0,_0x56892b)));}function _0x44ffa6(_0x3a2c9f,_0x5dc838,_0x336050){const _0x2b6af0=_0x24b96c;let _0x53919f={..._0x3a2c9f[_0x2b6af0(0x2b3)]};_0x336050!=null&&_0x336050[_0x2b6af0(0x39d)]&&_0x53919f[_0x2b6af0(0xe8)]===_0x2b6af0(0x39d)&&(_0x53919f[_0x2b6af0(0xe8)]=_0x336050[_0x2b6af0(0x39d)]),_0x3a2c9f['tag']===_0x2b6af0(0x28f)&&_0x53919f['id']&&(_0x53919f['id']+=_0x5dc838['idSuffix']),Object['entries'](_0x53919f)[_0x2b6af0(0x172)](([_0x230a30,_0x5084c4])=>{const _0x426fa5=_0x2b6af0;_0x230a30===_0x426fa5(0x28f)&&typeof _0x5084c4==_0x426fa5(0x3ad)&&(_0x53919f[_0x230a30]=_0x5084c4['replace'](/url\(#(.*)\)/,_0x426fa5(0x30c)+_0x5dc838['idSuffix']+')'));});let {defIds:_0x20cb92}=_0x5dc838;return!_0x20cb92||_0x20cb92['length']===0x0?_0x53919f:(_0x3a2c9f[_0x2b6af0(0x2db)]===_0x2b6af0(0x190)&&_0x53919f[_0x2b6af0(0x2ce)]&&(_0x53919f[_0x2b6af0(0x2ce)]+=_0x5dc838[_0x2b6af0(0x2c5)]),Object[_0x2b6af0(0x1b7)](_0x53919f)[_0x2b6af0(0x172)](([_0x3eeff3,_0x28bc67])=>{const _0x58cd43=_0x2b6af0;typeof _0x28bc67=='string'&&(_0x53919f[_0x3eeff3]=_0x28bc67[_0x58cd43(0x29e)](/url\(#(.*)\)/,_0x58cd43(0x30c)+_0x5dc838[_0x58cd43(0x2c5)]+')'));}),_0x53919f);}function _0x380e9f(_0x3ad7d1,_0x559596){const _0x3c876c=_0x24b96c;var _0x5c2a97;let {defIds:_0x154dc9}=_0x559596;return!_0x154dc9||_0x154dc9['length']===0x0?_0x3ad7d1:_0x3ad7d1[_0x3c876c(0x2db)]===_0x3c876c(0x390)&&(_0x5c2a97=_0x3ad7d1['children'])!=null&&_0x5c2a97[_0x3c876c(0x36e)]?{..._0x3ad7d1,'children':_0x3ad7d1['children'][_0x3c876c(0x288)](_0xb2d8da=>typeof _0xb2d8da[_0x3c876c(0x2b3)]['id']==_0x3c876c(0x3ad)&&_0x154dc9&&_0x154dc9['includes'](_0xb2d8da['attrs']['id'])?{..._0xb2d8da,'attrs':{..._0xb2d8da['attrs'],'id':_0xb2d8da[_0x3c876c(0x2b3)]['id']+_0x559596['idSuffix']}}:_0xb2d8da)}:_0x3ad7d1;}function _0x57d3ac(){const _0x52c107=_0x24b96c;return Math[_0x52c107(0x12a)]()[_0x52c107(0x2d6)](0x24)[_0x52c107(0x1c1)](0x2,0x8);}_0x39d45f['displayName']='UniverIcon';let _0xb88bfb={'tag':'svg','attrs':{'xmlns':_0x24b96c(0x197),'fill':_0x24b96c(0x325),'viewBox':_0x24b96c(0xef),'width':_0x24b96c(0x2ec),'height':_0x24b96c(0x2ec)},'children':[{'tag':'g','attrs':{'clipPath':_0x24b96c(0x20c)},'children':[{'tag':_0x24b96c(0xff),'attrs':{'stroke':'currentColor','d':_0x24b96c(0x21f),'strokeLinecap':_0x24b96c(0x1c9),'strokeLinejoin':_0x24b96c(0x1c9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x24b96c(0x151),'attrs':{'id':_0x24b96c(0xf5)},'children':[{'tag':_0x24b96c(0xff),'attrs':{'fill':_0x24b96c(0x187),'d':_0x24b96c(0x2b7)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x119257=(0x0,_0x4c0a01['forwardRef'])(function(_0x1b416e,_0x24b5f2){const _0xe61e2c=_0x24b96c;return(0x0,_0x4c0a01[_0xe61e2c(0x36b)])(_0x39d45f,Object['assign']({},_0x1b416e,{'id':'off-line-icon','ref':_0x24b5f2,'icon':_0xb88bfb}));});_0x119257['displayName']=_0x24b96c(0x257);let _0x1a3145={'tag':_0x24b96c(0x312),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x24b96c(0x325),'viewBox':'0\x200\x2017\x2016','width':_0x24b96c(0x2ec),'height':_0x24b96c(0x2ec)},'children':[{'tag':'g','attrs':{'clipPath':_0x24b96c(0x186)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x24b96c(0xeb),'strokeLinecap':_0x24b96c(0x1c9),'strokeLinejoin':_0x24b96c(0x1c9),'strokeWidth':1.2}}]},{'tag':_0x24b96c(0x390),'attrs':{},'children':[{'tag':_0x24b96c(0x151),'attrs':{'id':_0x24b96c(0xcd)},'children':[{'tag':'path','attrs':{'fill':_0x24b96c(0x187),'d':'M0\x200H16V16H0z','transform':_0x24b96c(0x26f)}}]}]}],'defIds':[_0x24b96c(0xcd)]},_0x3e58fc=(0x0,_0x4c0a01[_0x24b96c(0x392)])(function(_0x15781f,_0x4955df){const _0x25c440=_0x24b96c;return(0x0,_0x4c0a01['createElement'])(_0x39d45f,Object['assign']({},_0x15781f,{'id':_0x25c440(0x2cb),'ref':_0x4955df,'icon':_0x1a3145}));});_0x3e58fc[_0x24b96c(0x17e)]='OnLineIcon';function _0x54f9bc(_0x461892){const _0x4fec92=_0x24b96c;switch(_0x461892){case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x33e)]:return'collabStatus.offline';case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0xee)]:return'collabStatus.conflict';case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x327)]:return _0x4fec92(0x35d);case _0x4a06d2[_0x4fec92(0x124)]['NOT_COLLAB']:return _0x4fec92(0x1e3);case _0x4a06d2['CollaborationStatus'][_0x4fec92(0x3a8)]:case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x171)]:return _0x4fec92(0x232);case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x354)]:case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x261)]:return _0x4fec92(0x117);}}function _0x12ed17(_0x2ff870){const _0x574c46=_0x24b96c;let {status$:_0x68daa7}=_0x2ff870,_0x179e7c=(0x0,_0x429bdf[_0x574c46(0x29b)])(_0x68daa7,_0x4a06d2[_0x574c46(0x124)][_0x574c46(0x208)]),_0x235c95=(0x0,_0x429bdf[_0x574c46(0x199)])(_0x13030d[_0x574c46(0x381)]),_0x22e1ce=(0x0,_0x429bdf[_0x574c46(0x199)])(_0x4a06d2['CollaborationSessionService']),_0x2db796=_0x179e7c!==_0x4a06d2['CollaborationStatus'][_0x574c46(0x33e)],_0x419416=_0x235c95['t'](_0x54f9bc(_0x179e7c)),_0xd1a7d9=_0x2db796?(0x0,_0x2f373e[_0x574c46(0xc2)])(_0x3e58fc,{}):(0x0,_0x2f373e[_0x574c46(0xc2)])(_0x119257,{}),_0x54ec2f=(0x0,_0x4c0a01[_0x574c46(0x1eb)])(()=>{_0x2db796||_0x22e1ce['reconnect']();},[_0x2db796,_0x22e1ce]);function _0x4fc60f(){const _0x41bb77=_0x574c46;return(0x0,_0x2f373e['jsxs'])(_0x41bb77(0x175),{'className':_0x41bb77(0x2cf),'onClick':_0x54ec2f,'children':[(0x0,_0x2f373e['jsx'])(_0x41bb77(0x175),{'className':(0x0,_0x3df4e2[_0x41bb77(0xfb)])(_0x41bb77(0x110),{'univer-text-green-500':_0x2db796,'univer-text-red-500':!_0x2db796}),'children':_0xd1a7d9}),(0x0,_0x2f373e['jsx'])(_0x41bb77(0x175),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x419416})]});}return _0x2db796?_0x4fc60f():(0x0,_0x2f373e['jsx'])(_0x3df4e2[_0x574c46(0x1a4)],{'title':_0x235c95['t'](_0x574c46(0x16e)),'children':_0x4fc60f()});}function _0x1f5272(_0x3c600b){'@babel/helpers - typeof';const _0x3fd240=_0x24b96c;return _0x1f5272=typeof Symbol==_0x3fd240(0x33d)&&typeof Symbol[_0x3fd240(0xe7)]=='symbol'?function(_0x1e4e8b){return typeof _0x1e4e8b;}:function(_0x3aafce){const _0x24ca6c=_0x3fd240;return _0x3aafce&&typeof Symbol==_0x24ca6c(0x33d)&&_0x3aafce[_0x24ca6c(0x2a3)]===Symbol&&_0x3aafce!==Symbol[_0x24ca6c(0x348)]?_0x24ca6c(0x359):typeof _0x3aafce;},_0x1f5272(_0x3c600b);}function _0x5639cc(_0x1c0f29,_0x3a089b){const _0xef9327=_0x24b96c;if(_0x1f5272(_0x1c0f29)!=_0xef9327(0xf0)||!_0x1c0f29)return _0x1c0f29;var _0x14713e=_0x1c0f29[Symbol['toPrimitive']];if(_0x14713e!==void 0x0){var _0x496e01=_0x14713e[_0xef9327(0x356)](_0x1c0f29,_0x3a089b||_0xef9327(0x33a));if(_0x1f5272(_0x496e01)!=_0xef9327(0xf0))return _0x496e01;throw TypeError(_0xef9327(0x149));}return(_0x3a089b==='string'?String:Number)(_0x1c0f29);}function _0x268348(_0x58d786){const _0x5d75ff=_0x24b96c;var _0x16dc1c=_0x5639cc(_0x58d786,_0x5d75ff(0x3ad));return _0x1f5272(_0x16dc1c)=='symbol'?_0x16dc1c:_0x16dc1c+'';}function _0x32f982(_0x50c3ee,_0x18977d,_0x1d4089){return(_0x18977d=_0x268348(_0x18977d))in _0x50c3ee?Object['defineProperty'](_0x50c3ee,_0x18977d,{'value':_0x1d4089,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50c3ee[_0x18977d]=_0x1d4089,_0x50c3ee;}function _0x517da2(_0x2a09e3,_0x154027){return function(_0x3e641d,_0x7dfedc){_0x154027(_0x3e641d,_0x7dfedc,_0x2a09e3);};}function _0x12d4ea(_0x4dfc70,_0x5c4c1a,_0x4d9335,_0x33279){const _0x1c6f24=_0x24b96c;var _0x32f447=arguments['length'],_0x4626fa=_0x32f447<0x3?_0x5c4c1a:_0x33279===null?_0x33279=Object[_0x1c6f24(0x32d)](_0x5c4c1a,_0x4d9335):_0x33279,_0x1c7afd;if(typeof Reflect=='object'&&typeof Reflect[_0x1c6f24(0x138)]==_0x1c6f24(0x33d))_0x4626fa=Reflect[_0x1c6f24(0x138)](_0x4dfc70,_0x5c4c1a,_0x4d9335,_0x33279);else{for(var _0x423e7a=_0x4dfc70[_0x1c6f24(0x36e)]-0x1;_0x423e7a>=0x0;_0x423e7a--)(_0x1c7afd=_0x4dfc70[_0x423e7a])&&(_0x4626fa=(_0x32f447<0x3?_0x1c7afd(_0x4626fa):_0x32f447>0x3?_0x1c7afd(_0x5c4c1a,_0x4d9335,_0x4626fa):_0x1c7afd(_0x5c4c1a,_0x4d9335))||_0x4626fa);}return _0x32f447>0x3&&_0x4626fa&&Object[_0x1c6f24(0x324)](_0x5c4c1a,_0x4d9335,_0x4626fa),_0x4626fa;}let _0xab3962=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x50634a,_0x1eea8a,_0x4289d4,_0x56eb1c){const _0x1b23a7=_0x24b96c;super(),this['_univerInstanceService']=_0x50634a,this['_injector']=_0x1eea8a,this[_0x1b23a7(0x1e5)]=_0x4289d4,this[_0x1b23a7(0x1fe)]=_0x56eb1c,_0x32f982(this,'_status$',new _0x594669[(_0x1b23a7(0x3a6))](_0x4a06d2[_0x1b23a7(0x124)][_0x1b23a7(0x208)])),this[_0x1b23a7(0xad)](),this['_initStatusListener']();}[_0x24b96c(0x15e)](){const _0x1ff015=_0x24b96c;this[_0x1ff015(0x220)](this['_univerInstanceService'][_0x1ff015(0x301)][_0x1ff015(0x2be)]((0x0,_0x594669[_0x1ff015(0x34b)])(()=>{const _0x13c0a1=_0x1ff015;let _0x31f4e6=this[_0x13c0a1(0x141)][_0x13c0a1(0x16c)]();return _0x31f4e6?this[_0x13c0a1(0x1e5)]['getCollabEntity$'](_0x31f4e6['getUnitId']()):(0x0,_0x594669['of'])(null);}),(0x0,_0x594669[_0x1ff015(0x34b)])(_0x2bcafa=>_0x2bcafa?_0x2bcafa[_0x1ff015(0xb2)]:(0x0,_0x594669['of'])(_0x4a06d2[_0x1ff015(0x124)][_0x1ff015(0x208)])))[_0x1ff015(0x320)](_0x256b48=>{const _0x35f0a3=_0x1ff015;this[_0x35f0a3(0x262)][_0x35f0a3(0x373)](_0x256b48);}));}['_initStatusComponent'](){const _0x3de841=_0x24b96c;this['disposeWithMe'](this[_0x3de841(0x1fe)]['registerComponent'](_0x429bdf[_0x3de841(0x1f7)][_0x3de841(0x1f0)],()=>(0x0,_0x429bdf[_0x3de841(0xc6)])(_0x31631e({'status$':this[_0x3de841(0x262)][_0x3de841(0x388)]()}),this[_0x3de841(0x23a)])));}};_0xab3962=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x120)])),_0x517da2(0x3,_0x429bdf['IUIPartsService'])],_0xab3962);function _0x31631e(_0x23266a){let {status$:_0x5e1282}=_0x23266a;return function(){const _0x2ec936=_0x84a9;return(0x0,_0x2f373e[_0x2ec936(0xc2)])(_0x12ed17,{'status$':_0x5e1282});};}let _0x55c8b2=(0x0,_0x13030d[_0x24b96c(0x267)])(_0x24b96c(0x1b8)),_0x2d4814=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x195def,_0x3af8bd,_0x2882e4,_0x18fe01,_0x442a90){const _0x206422=_0x24b96c;super(),this[_0x206422(0x31d)]=_0x195def,this[_0x206422(0xec)]=_0x3af8bd,this[_0x206422(0xa0)]=_0x2882e4,this[_0x206422(0x330)]=_0x18fe01,_0x442a90?_0x442a90==null||_0x442a90['whenReady']()[_0x206422(0x100)](()=>this[_0x206422(0xb7)]()):(this['_logService'][_0x206422(0x19d)](_0x206422(0xfe),_0x206422(0x14a)),this[_0x206422(0xb7)]());}async[_0x24b96c(0xb7)](){const _0x445ab5=_0x24b96c;let _0x5c353b=this[_0x445ab5(0x31d)][_0x445ab5(0x1c6)]('unit'),_0x10a16e=this['_urlService']['getParam'](_0x445ab5(0x35c)),_0xb7349=this[_0x445ab5(0x31d)][_0x445ab5(0x1c6)](_0x445ab5(0xbc));if(!_0x5c353b||!_0x10a16e){this[_0x445ab5(0xec)][_0x445ab5(0x19d)](_0x445ab5(0xfe),_0x445ab5(0x1fd));return;}let _0x21d4da=await this[_0x445ab5(0x330)][_0x445ab5(0x323)](_0x5c353b,Number(_0x10a16e),_0xb7349);_0x21d4da&&_0x21d4da instanceof _0x13030d['Workbook']&&this[_0x445ab5(0xb9)](_0x21d4da);}async[_0x24b96c(0xb9)](_0x4f6af4){const _0x3d0680=_0x24b96c;await this[_0x3d0680(0x203)](_0x4f6af4),_0x4f6af4[_0x3d0680(0x298)]['pipe']((0x0,_0x594669[_0x3d0680(0xc0)])(this[_0x3d0680(0x159)]))[_0x3d0680(0x320)](_0x430046=>{_0x430046&&this['_updateURLWithCurrentState'](_0x430046);}),this['_urlService'][_0x3d0680(0x31b)]['pipe']((0x0,_0x594669[_0x3d0680(0xc0)])(this[_0x3d0680(0x159)]))[_0x3d0680(0x320)](()=>this[_0x3d0680(0x203)](_0x4f6af4));}[_0x24b96c(0x128)](_0x5b6f5b,_0x1669f1=!0x1){const _0x4b8b4a=_0x24b96c;let _0x4ade55=this['_urlService'][_0x4b8b4a(0x1c6)](_0x4b8b4a(0xbc));_0x5b6f5b['getSheetId']()!==_0x4ade55&&this[_0x4b8b4a(0x31d)]['setParam'](_0x4b8b4a(0xbc),_0x5b6f5b[_0x4b8b4a(0x32a)](),_0x1669f1);}async[_0x24b96c(0x203)](_0x2fae54){const _0x5ca6bb=_0x24b96c;var _0x569f75;let _0x47c5a7=this['_urlService'][_0x5ca6bb(0x1c6)]('subunit');if(!_0x47c5a7||!_0x2fae54['getSheetBySheetId'](_0x47c5a7)){let _0x44c981=_0x2fae54[_0x5ca6bb(0x2c9)]()[0x0],_0x1ce690=_0x2fae54[_0x5ca6bb(0xa2)](_0x44c981);if(!_0x1ce690)return;this[_0x5ca6bb(0x128)](_0x1ce690,!0x0),await this['_commandService'][_0x5ca6bb(0x2a4)](_0x47b368[_0x5ca6bb(0x321)]['id'],{'unitId':_0x2fae54[_0x5ca6bb(0xf6)](),'subUnitId':_0x44c981});return;}((_0x569f75=_0x2fae54[_0x5ca6bb(0x12d)]())==null?void 0x0:_0x569f75['getSheetId']())!==_0x47c5a7&&await this[_0x5ca6bb(0xa0)][_0x5ca6bb(0x2a4)](_0x47b368['SetWorksheetActivateCommand']['id'],{'unitId':_0x2fae54[_0x5ca6bb(0xf6)](),'subUnitId':_0x47c5a7});}};_0x2d4814=_0x12d4ea([_0x517da2(0x0,_0x55c8b2),_0x517da2(0x1,_0x13030d[_0x24b96c(0x30f)]),_0x517da2(0x2,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['DataLoaderService'])),_0x517da2(0x4,(0x0,_0x13030d['Optional'])(_0x108d2d[_0x24b96c(0x139)]))],_0x2d4814);var _0x4837e7=_0x24b96c(0x36d),_0x47cc26=_0x24b96c(0x2a8);let _0x3543c2=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x3db76a,_0x495a05){const _0x2a513c=_0x24b96c;super(),this[_0x2a513c(0x215)]=_0x3db76a,this[_0x2a513c(0x163)]=_0x495a05,this[_0x2a513c(0xb7)]();}[_0x24b96c(0xb7)](){const _0x1700f5=_0x24b96c;let _0x389513=this;this[_0x1700f5(0x220)](this[_0x1700f5(0x215)][_0x1700f5(0x245)]({'onBeforePasteImage':async _0x3a10db=>{const _0x3072c9=_0x1700f5;let _0x316bef=await _0x389513['_imageIoService'][_0x3072c9(0x125)](_0x3a10db);return _0x316bef?{'source':_0x316bef['source'],'imageSourceType':_0x316bef[_0x3072c9(0xb6)]}:null;}}));}};_0x3543c2=_0x12d4ea([_0x517da2(0x0,_0x57a234[_0x24b96c(0x39f)]),_0x517da2(0x1,_0x497386[_0x24b96c(0x35e)])],_0x3543c2);let _0x1d5af9=[_0x24b96c(0x372),_0x24b96c(0x2cc),'green.600',_0x24b96c(0x1d0),_0x24b96c(0x161),_0x24b96c(0x275)];var _0x57da1c=class extends _0x13030d[_0x24b96c(0x328)]{constructor(..._0xb94d75){const _0x34abb1=_0x24b96c;super(..._0xb94d75),_0x32f982(this,_0x34abb1(0x157),new Map()),_0x32f982(this,_0x34abb1(0x2e2),0x0);}[_0x24b96c(0x36f)](_0x5eed0e){const _0x218e81=_0x24b96c;if(this[_0x218e81(0x157)]['has'](_0x5eed0e))return this[_0x218e81(0x157)][_0x218e81(0x283)](_0x5eed0e);let _0x734cee=_0x1d5af9[this['_colorIndex']];return this[_0x218e81(0x2e2)]=(this[_0x218e81(0x2e2)]+0x1)%_0x1d5af9[_0x218e81(0x36e)],this[_0x218e81(0x157)][_0x218e81(0x13e)](_0x5eed0e,_0x734cee),_0x734cee;}},_0x536f7a=function(_0x90c6d5){return _0x90c6d5['Active']='1',_0x90c6d5['Inactive']='0',_0x90c6d5;}(_0x536f7a||{});function _0x4aec9f(_0x2d4b3c){const _0x3ecdbe=_0x24b96c;let _0x4ce1ee='';for(let _0x3c4831 of _0x2d4b3c){let {startOffset:_0x428398,endOffset:_0x5a30ca,isActive:_0x42ed25,rangeType:_0x140041,segmentId:_0x5e318e,segmentPage:_0x51fda4}=_0x3c4831;_0x4ce1ee['length']&&(_0x4ce1ee+=','),_0x4ce1ee+=_0x428398+':'+_0x5a30ca+':'+(_0x42ed25?_0x536f7a['Active']:_0x536f7a[_0x3ecdbe(0x227)])+':'+_0x140041+':'+_0x5e318e+':'+_0x51fda4;}return _0x4ce1ee;}function _0x1de834(_0x391448){const _0x56e328=_0x24b96c;let _0x2f7cb9=_0x391448['split'](','),_0x506bf8=[];for(let _0x1d276f of _0x2f7cb9){let [_0x4668df,_0x5b26dd,_0x46613b,_0x1f90de,_0x178391,_0x5279fa]=_0x1d276f[_0x56e328(0x160)](':');_0x506bf8[_0x56e328(0x264)]({'startOffset':Number(_0x4668df),'endOffset':Number(_0x5b26dd),'collapsed':_0x4668df===_0x5b26dd,'isActive':_0x46613b===_0x536f7a[_0x56e328(0xe5)],'rangeType':_0x1f90de===_0x13030d[_0x56e328(0x1ef)][_0x56e328(0x24b)]?_0x13030d[_0x56e328(0x1ef)][_0x56e328(0x24b)]:_0x13030d['DOC_RANGE_TYPE'][_0x56e328(0x2ee)],'segmentId':typeof _0x178391==_0x56e328(0x3ad)?String(_0x178391):'','segmentPage':Number(_0x5279fa==null?-0x1:_0x5279fa)});}return _0x506bf8[_0x56e328(0x2b6)](_0x3b2272=>_0x3b2272[_0x56e328(0x207)])||(_0x506bf8[0x0][_0x56e328(0x207)]=!0x0),_0x506bf8;}var _0x26ea35=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(..._0x20907b){const _0x592f54=_0x24b96c;super(..._0x20907b),_0x32f982(this,_0x592f54(0x1ba),new _0x594669[(_0x592f54(0x3a6))](null)),_0x32f982(this,_0x592f54(0x35f),this[_0x592f54(0x1ba)]['asObservable']());}[_0x24b96c(0x18c)](_0x27f662){const _0x29197a=_0x24b96c;let {unitID:_0x4b78b8,memberID:_0x30ae70,textRanges:_0x92d2b}=_0x27f662,_0x22f2b3=_0x4aec9f(_0x92d2b);if(_0x22f2b3==='')return;let _0x54201d={'unitID':_0x4b78b8,'memberID':_0x30ae70,'selection':_0x22f2b3};this[_0x29197a(0x1ba)][_0x29197a(0x373)](_0x54201d);}};let _0x1bd4ab=class extends _0x13030d['RxDisposable']{get['cursorInfo'](){const _0x2bc43b=_0x24b96c;return this['_cursorInfo$'][_0x2bc43b(0x135)]();}get['roomMembers'](){const _0x3d8632=_0x24b96c;return this[_0x3d8632(0x349)][_0x3d8632(0x135)]();}constructor(_0x2bfb23,_0x2c95ab,_0xc27237,_0x44882c,_0x557e78,_0xa8d28b,_0x3ef58a,_0x16cde3,_0xe31651){const _0x4be920=_0x24b96c;super(),this['unitID']=_0x2bfb23,this[_0x4be920(0xd6)]=_0x2c95ab,this[_0x4be920(0x23a)]=_0xc27237,this[_0x4be920(0x1d9)]=_0x44882c,this[_0x4be920(0xed)]=_0x557e78,this[_0x4be920(0x155)]=_0xa8d28b,this[_0x4be920(0x22d)]=_0x3ef58a,this[_0x4be920(0x141)]=_0x16cde3,this['_commandService']=_0xe31651,_0x32f982(this,'_online',!0x1),_0x32f982(this,_0x4be920(0xb7),!0x1),_0x32f982(this,_0x4be920(0x242),new _0x594669[(_0x4be920(0x3a6))](new Map())),_0x32f982(this,_0x4be920(0x340),this['_cursorInfo$'][_0x4be920(0x388)]()),_0x32f982(this,_0x4be920(0x349),new _0x594669['BehaviorSubject']([])),_0x32f982(this,_0x4be920(0x1b3),this[_0x4be920(0x349)][_0x4be920(0x2be)]((0x0,_0x594669[_0x4be920(0x188)])(0x12c))),_0x32f982(this,_0x4be920(0x10d),(0x0,_0x13030d[_0x4be920(0x2b0)])(_0x234c2a=>{const _0x42b76e=_0x4be920;let _0x3d2df8={'eventID':_0x486545[_0x42b76e(0x195)][_0x42b76e(0x1e1)],'data':{'unitID':this[_0x42b76e(0x343)],'memberID':this[_0x42b76e(0xd6)][_0x42b76e(0x126)](),'selection':_0x4aec9f(_0x234c2a)}};this[_0x42b76e(0xd6)][_0x42b76e(0x34d)](_0x3d2df8,this[_0x42b76e(0x343)]);},0x64));}[_0x24b96c(0x29f)](){const _0x182650=_0x24b96c;super['dispose'](),this[_0x182650(0x242)][_0x182650(0x373)](new Map()),this[_0x182650(0x242)][_0x182650(0xdc)](),this[_0x182650(0x349)][_0x182650(0x373)]([]),this[_0x182650(0x349)][_0x182650(0xdc)]();}[_0x24b96c(0x387)](){const _0xc558c5=_0x24b96c;this[_0xc558c5(0xb7)]||(this[_0xc558c5(0xb7)]=!0x0,this[_0xc558c5(0xd6)]['sessionStatus$']['pipe']((0x0,_0x594669['takeUntil'])(this[_0xc558c5(0x159)]))[_0xc558c5(0x320)](_0x7bb920=>{const _0x8b18ba=_0xc558c5;_0x7bb920===_0x4a06d2[_0x8b18ba(0x1f2)]['ONLINE']?this[_0x8b18ba(0x2de)]():this[_0x8b18ba(0x2a7)]();}),this[_0xc558c5(0xd6)][_0xc558c5(0x1a3)][_0xc558c5(0x2be)]((0x0,_0x594669[_0xc558c5(0xc0)])(this[_0xc558c5(0x159)]))[_0xc558c5(0x320)](_0x16077c=>{const _0x936e95=_0xc558c5;let _0x2740ab=_0x16077c[_0x936e95(0x2dc)];_0x2740ab===_0x486545[_0x936e95(0x195)][_0x936e95(0x1e1)]&&this[_0x936e95(0x1d6)](_0x16077c),_0x2740ab===_0x486545[_0x936e95(0x195)]['USERS_LEAVE']&&this[_0x936e95(0x258)](_0x16077c);}),this[_0xc558c5(0x220)](this[_0xc558c5(0xa0)][_0xc558c5(0xd3)](_0x436b4f=>{const _0x30c0ab=_0xc558c5;let _0x5632bc=_0x436b4f[_0x30c0ab(0x22a)];_0x5632bc!=null&&this[_0x30c0ab(0x1e4)]&&_0x436b4f['id']===_0x1aedbb[_0x30c0ab(0x1fa)]['id']&&_0x5632bc[_0x30c0ab(0x1bf)]===this[_0x30c0ab(0x343)]&&_0x5632bc['isEditing']===!0x1&&_0x5632bc['ranges'][_0x30c0ab(0x36e)]>0x0&&this[_0x30c0ab(0x10d)](_0x5632bc[_0x30c0ab(0x11e)]);})),this[_0xc558c5(0x155)][_0xc558c5(0x35f)]['pipe']((0x0,_0x594669[_0xc558c5(0xc0)])(this['dispose$']))[_0xc558c5(0x320)](_0x2aba93=>{const _0x3cb27d=_0xc558c5;if((_0x2aba93==null?void 0x0:_0x2aba93['unitID'])!==this[_0x3cb27d(0x343)])return;let _0x28bcfb={'eventID':_0x486545['CollaborationEvent'][_0x3cb27d(0x1e1)],'data':_0x2aba93};this['_onCursorUpdate'](_0x28bcfb);}),this['disposeWithMe'](this[_0xc558c5(0xa0)][_0xc558c5(0xd3)](_0xaec00d=>{const _0x525968=_0xc558c5;if(_0xaec00d[_0x525968(0x22a)]==null)return;let _0x3b62ee=_0xaec00d[_0x525968(0x22a)];if(_0xaec00d['id']!==_0x1aedbb['RichTextEditingMutation']['id']||_0x3b62ee[_0x525968(0x1bf)]!==this[_0x525968(0x343)])return;let _0x3c7817={'id':_0x525968(0x1ae),'params':_0x3b62ee},_0xa52f09=this['cursorInfo'];for(let [_0x4abf19,_0x1f8409]of _0xa52f09){let _0x53cc00={'id':_0x525968(0x1ae),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1f8409[_0x525968(0x11e)]}},_0x309de5=this[_0x525968(0x22d)][_0x525968(0x26a)](_0x3c7817,_0x53cc00,!0x1);if((0x0,_0x486545[_0x525968(0x326)])(_0x309de5))throw _0x309de5['error'];_0xa52f09[_0x525968(0x13e)](_0x4abf19,{..._0x1f8409,'ranges':_0x309de5[_0x525968(0x32c)][_0x525968(0x22a)][_0x525968(0x132)]});}queueMicrotask(()=>{const _0x2fefb4=_0x525968;this[_0x2fefb4(0x242)][_0x2fefb4(0x373)](_0xa52f09);});})));}[_0x24b96c(0x1d6)](_0x48bdc4){const _0x14e332=_0x24b96c;var _0x82ab08,_0x12b1f6;let {memberID:_0x1ebdca,selection:_0x151be2}=_0x48bdc4[_0x14e332(0x366)],_0x4f7527=_0x1de834(_0x151be2),_0x125594=(_0x82ab08=(_0x12b1f6=this[_0x14e332(0xed)][_0x14e332(0x285)](this[_0x14e332(0x343)],_0x1ebdca))==null?void 0x0:_0x12b1f6['name'])==null?_0x14e332(0x1a6):_0x82ab08,_0x153512={'color':this[_0x14e332(0x1d9)]['assignAColorForMemberID'](_0x1ebdca),'name':_0x125594,'ranges':_0x4f7527},_0x5187d5=this[_0x14e332(0x336)];_0x5187d5[_0x14e332(0x13e)](_0x1ebdca,_0x153512),this[_0x14e332(0x242)][_0x14e332(0x373)](_0x5187d5);}['_onCursorDelete'](_0x1c6319){const _0x271cd9=_0x24b96c;let {memberID:_0x120cfe}=_0x1c6319[_0x271cd9(0x366)],_0x1775eb=this['cursorInfo'];_0x1775eb[_0x271cd9(0x103)](_0x120cfe),this[_0x271cd9(0x242)]['next'](_0x1775eb);}[_0x24b96c(0x2de)](){const _0x3d4424=_0x24b96c;var _0x2e975d;if(this[_0x3d4424(0x1e4)]=!0x0,((_0x2e975d=this[_0x3d4424(0x141)]['getFocusedUnit']())==null?void 0x0:_0x2e975d[_0x3d4424(0xf6)]())!==this[_0x3d4424(0x343)])return;let _0x17ac08=this[_0x3d4424(0x23a)][_0x3d4424(0x283)](_0x1aedbb[_0x3d4424(0x16a)])[_0x3d4424(0x396)]();Array['isArray'](_0x17ac08)&&_0x17ac08[_0x3d4424(0x36e)]>0x0&&this[_0x3d4424(0x10d)](_0x17ac08);}[_0x24b96c(0x2a7)](){const _0xa94f0b=_0x24b96c;this[_0xa94f0b(0x1e4)]=!0x1;}};_0x1bd4ab=_0x12d4ea([_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57da1c)),_0x517da2(0x4,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2[_0x24b96c(0x29c)])),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x26ea35)),_0x517da2(0x6,_0x486545['ITransformService']),_0x517da2(0x7,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x8,_0x13030d[_0x24b96c(0x2bb)])],_0x1bd4ab);let _0x7b8e21=()=>{let _0x3bc873=[],_0x24efd8=!0x1;return _0x52a1fd=>{const _0x6ef6cf=_0x84a9;_0x3bc873[_0x6ef6cf(0x264)](_0x52a1fd),_0x24efd8||(_0x24efd8=!0x0,setTimeout(()=>{const _0xc21006=_0x6ef6cf;_0x3bc873[_0xc21006(0x172)](_0x3fa477=>_0x3fa477()),_0x3bc873=[],_0x24efd8=!0x1;}));};},_0x163c94=class extends _0x13030d[_0x24b96c(0x2ae)]{get[_0x24b96c(0x336)](){const _0x2862f2=_0x24b96c;return this['_cursorInfo$'][_0x2862f2(0x135)]();}get[_0x24b96c(0x295)](){const _0x5646c1=_0x24b96c;return this['_roomMembers$'][_0x5646c1(0x135)]();}constructor(_0x4b6238,_0x363d9a,_0x7e1108,_0x3a9f76,_0xc5dafd,_0x1cf06d,_0x4d9512,_0x4e4eff){const _0x172a0d=_0x24b96c;super(),this[_0x172a0d(0x343)]=_0x4b6238,this[_0x172a0d(0xd6)]=_0x363d9a,this['_injector']=_0x7e1108,this[_0x172a0d(0x1d9)]=_0x3a9f76,this[_0x172a0d(0xed)]=_0xc5dafd,this[_0x172a0d(0x141)]=_0x1cf06d,this[_0x172a0d(0xa0)]=_0x4d9512,this[_0x172a0d(0x20e)]=_0x4e4eff,_0x32f982(this,_0x172a0d(0x1e4),!0x1),_0x32f982(this,_0x172a0d(0xb7),!0x1),_0x32f982(this,'_cursorInfo$',new _0x594669[(_0x172a0d(0x3a6))](new Map())),_0x32f982(this,_0x172a0d(0x340),this[_0x172a0d(0x242)][_0x172a0d(0x388)]()),_0x32f982(this,'_roomMembers$',new _0x594669['BehaviorSubject']([])),_0x32f982(this,_0x172a0d(0x1b3),this[_0x172a0d(0x349)][_0x172a0d(0x2be)]((0x0,_0x594669[_0x172a0d(0x188)])(0x12c))),_0x32f982(this,_0x172a0d(0x10d),(0x0,_0x13030d[_0x172a0d(0x2b0)])((_0x4695eb,_0x126d6f)=>{const _0x405ce9=_0x172a0d;let _0x56b94b={'eventID':_0x486545[_0x405ce9(0x195)][_0x405ce9(0x1e1)],'data':{'unitID':this[_0x405ce9(0x343)],'memberID':this[_0x405ce9(0xd6)][_0x405ce9(0x126)](),'selection':(0x0,_0xe81250[_0x405ce9(0x2f1)])(_0x4695eb,_0x126d6f[_0x405ce9(0x1a7)])}};this['_session']['send'](_0x56b94b,this['unitID']);},0x64));}['dispose'](){const _0x5d0e67=_0x24b96c;super[_0x5d0e67(0x29f)](),this[_0x5d0e67(0x242)][_0x5d0e67(0x373)](new Map()),this[_0x5d0e67(0x242)][_0x5d0e67(0xdc)](),this[_0x5d0e67(0x349)]['next']([]),this[_0x5d0e67(0x349)][_0x5d0e67(0xdc)]();}[_0x24b96c(0x387)](){const _0x33a80c=_0x24b96c;this[_0x33a80c(0xb7)]||(this[_0x33a80c(0xb7)]=!0x0,this['_session'][_0x33a80c(0x286)][_0x33a80c(0x2be)]((0x0,_0x594669[_0x33a80c(0xc0)])(this[_0x33a80c(0x159)]))[_0x33a80c(0x320)](_0x541a70=>{const _0x5c0099=_0x33a80c;_0x541a70===_0x4a06d2['SessionStatus'][_0x5c0099(0x39a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x33a80c(0xd6)][_0x33a80c(0x1a3)][_0x33a80c(0x2be)]((0x0,_0x594669[_0x33a80c(0xc0)])(this[_0x33a80c(0x159)]))[_0x33a80c(0x320)](_0x86bb61=>{const _0x2e2eff=_0x33a80c;let _0x4f1267=_0x86bb61[_0x2e2eff(0x2dc)];_0x4f1267===_0x486545[_0x2e2eff(0x195)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x86bb61),_0x4f1267===_0x486545[_0x2e2eff(0x195)][_0x2e2eff(0x18b)]&&this[_0x2e2eff(0x258)](_0x86bb61);}),this[_0x33a80c(0x2f2)](),this[_0x33a80c(0x220)](this['_commandService']['onCommandExecuted'](_0x4e3b84=>{const _0xb684b8=_0x33a80c;if(this['_online']&&_0x4e3b84['id']===_0x47b368[_0xb684b8(0xda)]['id']&&_0x4e3b84['params'][_0xb684b8(0x1bf)]===this[_0xb684b8(0x343)]){let _0x3bf9e9=_0x4e3b84[_0xb684b8(0x22a)];this['_updateLocalCursor'](_0x3bf9e9[_0xb684b8(0x30a)],_0x3bf9e9[_0xb684b8(0x27d)][0x0]);}})));}[_0x24b96c(0x1d6)](_0x1a87a2){const _0x38c870=_0x24b96c;var _0x337bc4,_0x1fd0dd;let {memberID:_0x1bedab,selection:_0x558164}=_0x1a87a2['data'],{sheetName:_0x15f59f,range:_0x49f3a6}=(0x0,_0xe81250[_0x38c870(0x15d)])(_0x558164),_0x34ce89={'name':(_0x337bc4=(_0x1fd0dd=this[_0x38c870(0xed)][_0x38c870(0x285)](this[_0x38c870(0x343)],_0x1bedab))==null?void 0x0:_0x1fd0dd[_0x38c870(0x1c4)])==null?_0x38c870(0x1a6):_0x337bc4,'range':this[_0x38c870(0x130)](_0x15f59f,_0x49f3a6),'sheetID':_0x15f59f,'color':this[_0x38c870(0x1d9)][_0x38c870(0x36f)](_0x1bedab),'selection':_0x558164},_0x100439=this[_0x38c870(0x336)];_0x100439[_0x38c870(0x13e)](_0x1bedab,_0x34ce89),this[_0x38c870(0x242)][_0x38c870(0x373)](_0x100439);}[_0x24b96c(0x258)](_0x28c4b3){const _0x10e137=_0x24b96c;let {memberID:_0x15a516}=_0x28c4b3[_0x10e137(0x366)],_0x69ed02=this[_0x10e137(0x336)];_0x69ed02['delete'](_0x15a516),this['_cursorInfo$']['next'](_0x69ed02);}[_0x24b96c(0x130)](_0x5728ee,_0x3cf6b0){const _0x2b7c41=_0x24b96c;var _0x272151;let _0x393c6c=(_0x272151=this[_0x2b7c41(0x141)][_0x2b7c41(0x28e)](this['unitID']))==null||(_0x272151=_0x272151[_0x2b7c41(0xa2)](_0x5728ee))==null?void 0x0:_0x272151[_0x2b7c41(0x1ec)]();return(_0x393c6c==null?void 0x0:_0x393c6c[_0x2b7c41(0x299)](_0x3f3eae=>_0x13030d['Rectangle'][_0x2b7c41(0x20a)](_0x3f3eae,_0x3cf6b0)))||_0x3cf6b0;}[_0x24b96c(0x2f2)](){const _0x3b68f5=_0x24b96c;let _0x31c8c9=new _0x13030d[(_0x3b68f5(0x19b))](),_0x36d977=_0x7b8e21(),_0x5885d3=()=>{_0x31c8c9['dispose']();let _0x2decc0=(_0x1ce68a,_0x2b65d3,_0x84f108,_0x19f520)=>{const _0x5b959e=_0x84a9;let _0x564fba=[];switch(_0x1ce68a['id']){case _0x47b368[_0x5b959e(0x177)]['DeleteRangeMoveLeftCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1ab)])(_0x1ce68a,_0x19f520);break;case _0x47b368['EffectRefRangId'][_0x5b959e(0x18d)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x369)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x273)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1e6)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x1a5)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x109)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x174)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x252)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)]['InsertRowCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0xf3)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0xf9)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x30b)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x304)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1f1)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)]['RemoveRowCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x268)])(_0x1ce68a,_0x19f520);break;}let _0x16cfd8=(0x0,_0x47b368[_0x5b959e(0x2a0)])(_0x564fba,_0x19f520),_0x4af4fd=this['cursorInfo']['get'](_0x2b65d3);if(_0x4af4fd&&_0x16cfd8){let _0x34c470={..._0x4af4fd,'range':_0x16cfd8};this[_0x5b959e(0x336)][_0x5b959e(0x13e)](_0x2b65d3,_0x34c470),_0x36d977(()=>{const _0x5c2d00=_0x5b959e;let _0x462be8=this[_0x5c2d00(0x20e)][_0x5c2d00(0x10e)](_0x16cfd8,_0x4dedd5=>(_0x462be8[_0x5c2d00(0x29f)](),_0x2decc0(_0x4dedd5,_0x2b65d3,_0x84f108,_0x16cfd8)));_0x31c8c9[_0x5c2d00(0x2e8)](_0x462be8);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x45d97e,_0x334f57)=>{const _0x497664=_0x84a9;let {range:_0x4fa1d1,sheetID:_0x20504a}=_0x45d97e,_0x80f811=this['_refRangeService']['registerRefRange'](_0x4fa1d1,_0x340e6e=>(_0x80f811[_0x497664(0x29f)](),_0x2decc0(_0x340e6e,_0x334f57,_0x20504a,_0x4fa1d1)));_0x31c8c9['add'](_0x80f811);});};this[_0x3b68f5(0x220)]((0x0,_0x13030d[_0x3b68f5(0x148)])(this[_0x3b68f5(0x242)][_0x3b68f5(0x320)](()=>{_0x5885d3();})));}[_0x24b96c(0x2de)](){const _0x3d17a7=_0x24b96c;var _0x2396a3,_0x835fbb;if(this[_0x3d17a7(0x1e4)]=!0x0,((_0x2396a3=this[_0x3d17a7(0x141)][_0x3d17a7(0x16c)]())==null?void 0x0:_0x2396a3[_0x3d17a7(0xf6)]())!==this[_0x3d17a7(0x343)])return;let _0x12107a=(_0x835fbb=this[_0x3d17a7(0x23a)]['get'](_0x47b368['SheetsSelectionsService'])[_0x3d17a7(0x3a9)]())==null?void 0x0:_0x835fbb[0x0],_0x18f405=this['_univerInstanceService']['getCurrentUnitForType'](_0x13030d[_0x3d17a7(0x3aa)][_0x3d17a7(0x2d8)])[_0x3d17a7(0x12d)]();_0x12107a&&_0x18f405&&this['_updateLocalCursor'](_0x18f405[_0x3d17a7(0x32a)](),_0x12107a);}[_0x24b96c(0x2a7)](){const _0x36d81e=_0x24b96c;this[_0x36d81e(0x1e4)]=!0x1;}};_0x163c94=_0x12d4ea([_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x3,(0x0,_0x13030d['Inject'])(_0x57da1c)),_0x517da2(0x4,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x29c)])),_0x517da2(0x5,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x6,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x7,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x47b368[_0x24b96c(0x291)]))],_0x163c94);let _0x56259b=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x4683d5,_0x1ade8c,_0x1c7aba){const _0x25f4ad=_0x24b96c;super(),this[_0x25f4ad(0x141)]=_0x4683d5,this['_injector']=_0x1ade8c,this[_0x25f4ad(0x18e)]=_0x1c7aba,_0x32f982(this,_0x25f4ad(0x2d2),new Map()),_0x32f982(this,_0x25f4ad(0x293),new _0x594669[(_0x25f4ad(0x21a))]()),this['_init']();}[_0x24b96c(0x29f)](){const _0x322038=_0x24b96c;super[_0x322038(0x29f)](),this[_0x322038(0x293)][_0x322038(0xdc)](),this[_0x322038(0x2d2)][_0x322038(0x172)](_0x46cf60=>_0x46cf60['dispose']());}['getCollabCursors$'](_0x57a5cb){const _0x31bbf0=_0x24b96c;return this['_entities']['has'](_0x57a5cb)?this[_0x31bbf0(0x2d2)]['get'](_0x57a5cb)[_0x31bbf0(0x340)]:this[_0x31bbf0(0x293)]['pipe']((0x0,_0x594669[_0x31bbf0(0xa7)])(_0x278d2c=>_0x278d2c['unitID']===_0x57a5cb),(0x0,_0x594669['switchMap'])(_0x20629b=>_0x20629b['cursorInfo$']));}['_init'](){const _0x273199=_0x24b96c;this[_0x273199(0x141)][_0x273199(0x21b)](_0x13030d[_0x273199(0x3aa)][_0x273199(0x2d8)])['pipe']((0x0,_0x594669[_0x273199(0xc0)])(this[_0x273199(0x159)]))[_0x273199(0x320)](async _0x3975d7=>{const _0xa3a71d=_0x273199;let _0x5b9b25=_0x3975d7[_0xa3a71d(0xf6)](),_0x4245d6=await this[_0xa3a71d(0x1b2)](_0x5b9b25);this['_entityInit$'][_0xa3a71d(0x373)](_0x4245d6),this['_entities'][_0xa3a71d(0x13e)](_0x5b9b25,_0x4245d6);}),this['_univerInstanceService'][_0x273199(0x21b)](_0x13030d[_0x273199(0x3aa)][_0x273199(0xd4)])['pipe']((0x0,_0x594669['takeUntil'])(this['dispose$']))['pipe']((0x0,_0x594669[_0x273199(0xa7)])(_0x8426e3=>!_0x8426e3[_0x273199(0xf6)]()[_0x273199(0x1c2)]('__')))[_0x273199(0x320)](async _0x3c7857=>{const _0x222f92=_0x273199;let _0x483875=_0x3c7857[_0x222f92(0xf6)](),_0x1a0c6d=await this[_0x222f92(0x2bd)](_0x483875);this[_0x222f92(0x293)][_0x222f92(0x373)](_0x1a0c6d),this[_0x222f92(0x2d2)][_0x222f92(0x13e)](_0x483875,_0x1a0c6d);}),(0x0,_0x594669[_0x273199(0xf7)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x13030d[_0x273199(0x3aa)][_0x273199(0xd4)]),this[_0x273199(0x141)][_0x273199(0x116)](_0x13030d[_0x273199(0x3aa)][_0x273199(0x2d8)]))[_0x273199(0x2be)]((0x0,_0x594669[_0x273199(0xc0)])(this['dispose$']))[_0x273199(0x320)](_0xd0fab9=>{const _0x1d9a30=_0x273199;let _0x757bd3=_0xd0fab9[_0x1d9a30(0xf6)](),_0x53b672=this['_entities'][_0x1d9a30(0x283)](_0x757bd3);_0x53b672&&(_0x53b672['dispose'](),this[_0x1d9a30(0x2d2)]['delete'](_0x757bd3));});}async[_0x24b96c(0x1b2)](_0x42a6bc){const _0x4de331=_0x24b96c;let _0x28ba97=await this[_0x4de331(0x18e)][_0x4de331(0x230)](_0x42a6bc),_0x54c252=this[_0x4de331(0x23a)][_0x4de331(0x1d2)](_0x163c94,_0x42a6bc,_0x28ba97);return _0x54c252[_0x4de331(0x387)](),_0x54c252;}async['_startDocCollabCursor'](_0x1e2f82){const _0x34aad9=_0x24b96c;let _0x2671d1=await this[_0x34aad9(0x18e)][_0x34aad9(0x230)](_0x1e2f82),_0x26e14e=this[_0x34aad9(0x23a)][_0x34aad9(0x1d2)](_0x1bd4ab,_0x1e2f82,_0x2671d1);return _0x26e14e['init'](),_0x26e14e;}};_0x56259b=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['CollaborationSessionService']))],_0x56259b);function _0x793ed2(_0x3f5196,_0x16f06f){const _0x26c95d=_0x24b96c;var _0x230200,_0x4cfb7d,_0x1cd3ff;let {radius:_0x293f09,width:_0x75a445,height:_0x4ed383}=_0x16f06f;_0x293f09=(_0x230200=_0x293f09)==null?0x0:_0x230200,_0x75a445=(_0x4cfb7d=_0x75a445)==null?0x1e:_0x4cfb7d,_0x4ed383=(_0x1cd3ff=_0x4ed383)==null?0x1e:_0x1cd3ff;let _0x1474e5=0x0,_0x8b72ef=0x0,_0xb513e2=0x0;_0x1474e5=_0x8b72ef=_0xb513e2=Math[_0x26c95d(0x24f)](_0x293f09,_0x75a445/0x2,_0x4ed383/0x2),_0x3f5196[_0x26c95d(0x30d)](),_0x3f5196[_0x26c95d(0x123)](_0x1474e5,0x0),_0x3f5196['lineTo'](_0x75a445-_0x8b72ef,0x0),_0x3f5196['arc'](_0x75a445-_0x8b72ef,_0x8b72ef,_0x8b72ef,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f5196['lineTo'](_0x75a445,_0x4ed383-_0xb513e2),_0x3f5196[_0x26c95d(0x365)](_0x75a445-_0xb513e2,_0x4ed383-_0xb513e2,_0xb513e2,0x0,Math['PI']/0x2,!0x1),_0x3f5196[_0x26c95d(0xfc)](0x0,_0x4ed383),_0x3f5196[_0x26c95d(0xfc)](0x0,_0x1474e5),_0x3f5196[_0x26c95d(0x365)](_0x1474e5,_0x1474e5,_0x1474e5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f5196[_0x26c95d(0x3a0)](),_0x16f06f[_0x26c95d(0xe8)]&&(_0x3f5196[_0x26c95d(0x367)](),_0x3f5196[_0x26c95d(0x185)]=_0x16f06f['fill'],_0x16f06f[_0x26c95d(0x20f)]===_0x26c95d(0x17d)?_0x3f5196[_0x26c95d(0xe8)](_0x26c95d(0x17d)):_0x3f5196['fill'](),_0x3f5196['restore']());}var _0xe27d5c=class _0x412e26 extends _0x5bc07b[_0x24b96c(0x1b1)]{constructor(_0x323ded,_0x210cf1){const _0x52f281=_0x24b96c;super(_0x323ded,_0x210cf1),_0x32f982(this,_0x52f281(0x305),void 0x0),_0x32f982(this,_0x52f281(0x2d7),void 0x0),this['color']=_0x210cf1==null?void 0x0:_0x210cf1[_0x52f281(0x305)],this[_0x52f281(0x2d7)]=_0x210cf1==null?void 0x0:_0x210cf1[_0x52f281(0x2d7)];}static[_0x24b96c(0xea)](_0x208f08,_0x162c3a){const _0x12c7d0=_0x24b96c;let {text:_0x340ecf,color:_0x13353b}=_0x162c3a;_0x208f08[_0x12c7d0(0x367)](),_0x208f08[_0x12c7d0(0x1ca)]=_0x12c7d0(0x219);let _0x2450b2=_0x208f08[_0x12c7d0(0x3a2)](_0x340ecf)[_0x12c7d0(0x2c3)];if(_0x793ed2(_0x208f08,{'height':0x14,'radius':0x4,'width':Math[_0x12c7d0(0x24f)](_0x2450b2+0x8,0xc8),'fill':_0x13353b,'evented':!0x1}),_0x208f08[_0x12c7d0(0x185)]=_0x12c7d0(0x287),_0x2450b2>0xc0){let _0x5598a5='',_0x158db1=0x0;for(let _0x30a342 of _0x340ecf){let _0x31c80f=_0x208f08['measureText'](_0x30a342)[_0x12c7d0(0x2c3)];if(_0x158db1+_0x31c80f<=0xc0-_0x208f08[_0x12c7d0(0x3a2)](_0x12c7d0(0x36c))[_0x12c7d0(0x2c3)])_0x5598a5+=_0x30a342,_0x158db1+=_0x31c80f;else{_0x5598a5+=_0x12c7d0(0x36c);break;}}_0x208f08[_0x12c7d0(0xd2)](_0x5598a5,0x4,0xf);}else _0x208f08[_0x12c7d0(0xd2)](_0x340ecf,0x4,0xf);_0x208f08['restore']();}[_0x24b96c(0x38a)](_0x2cb9d2){const _0x16e5ed=_0x24b96c;_0x412e26[_0x16e5ed(0xea)](_0x2cb9d2,this);}};let _0x5684fa=_0x24b96c(0x1be);var _0xc683db=class{constructor(_0x43df1c,_0x37056c,_0x373648,_0x167221){const _0x50e1ac=_0x24b96c;this['_cursor']=_0x43df1c,this['_scene']=_0x37056c,this['_docSkeleton']=_0x373648,this[_0x50e1ac(0x20b)]=_0x167221,_0x32f982(this,'_shapes',[]),_0x32f982(this,_0x50e1ac(0x15c),null),_0x32f982(this,_0x50e1ac(0x277),null),_0x32f982(this,'_anchorDot',null),_0x32f982(this,_0x50e1ac(0x191),null),_0x32f982(this,_0x50e1ac(0x108),null),this['_render']();}set[_0x24b96c(0xca)](_0x57a7f4){const _0x17ceaf=_0x24b96c;_0x57a7f4?(this['_anchorDot']&&this[_0x17ceaf(0x284)][_0x17ceaf(0x165)](),this[_0x17ceaf(0x277)]&&this['_textBubble'][_0x17ceaf(0x2d9)]()):(this['_anchorDot']&&this['_anchorDot'][_0x17ceaf(0x2d9)](),this['_textBubble']&&this[_0x17ceaf(0x277)][_0x17ceaf(0x165)]());}[_0x24b96c(0x29f)](){const _0x48f859=_0x24b96c;for(let _0x27b45e of this[_0x48f859(0x1dd)])_0x27b45e['dispose']();this['_textBubble']&&this['_textBubble'][_0x48f859(0x29f)](),this[_0x48f859(0x284)]&&this[_0x48f859(0x284)][_0x48f859(0x29f)](),this['_anchor']&&this[_0x48f859(0x15c)][_0x48f859(0x29f)](),this[_0x48f859(0x108)]&&this[_0x48f859(0x108)]();}[_0x24b96c(0x119)](){const _0x182de1=_0x24b96c;let {_docSkeleton:_0x212e79,_document:_0x4e64b4}=this,{color:_0x3e5af4,name:_0x11709b,ranges:_0x20e4f6}=this[_0x182de1(0xc3)],_0x51fd28=_0x4e64b4[_0x182de1(0x22b)](),{docsLeft:_0x533e37,docsTop:_0x1037b8}=_0x51fd28,_0x172826=new _0x57a234[(_0x182de1(0x183))](_0x51fd28,_0x212e79);for(let {startOffset:_0xd67627,endOffset:_0xa123b4,rangeType:_0x4120ca,segmentId:_0x518a10,segmentPage:_0x40edbd,collapsed:_0x4a6b7a,isActive:_0x50463d}of _0x20e4f6){let _0x57f4d3=_0x212e79[_0x182de1(0x16b)](_0xd67627,!0x0,_0x518a10,_0x40edbd),_0x379ace=_0x212e79[_0x182de1(0x16b)](_0xa123b4,!0x0,_0x518a10,_0x40edbd);if(_0x379ace==null&&(_0x379ace=_0x212e79[_0x182de1(0x16b)](_0xa123b4-0x1,!0x1,_0x518a10,_0x40edbd)),_0x50463d){let {contentBoxPointGroup:_0x33b7ee}=_0x172826[_0x182de1(0x3b5)](_0x379ace,_0x379ace);if(_0x33b7ee[_0x182de1(0x36e)]===0x0)continue;this['_drawAnchor'](_0x3e5af4,_0x33b7ee,_0x533e37,_0x1037b8,_0x11709b),this[_0x182de1(0x108)]=this[_0x182de1(0x1f8)]();}if(_0x57f4d3&&_0x379ace){if(_0x4120ca===_0x13030d['DOC_RANGE_TYPE'][_0x182de1(0x2ee)]){var _0x289866;let {pointGroup:_0x6341ef}=(_0x289866=new _0x57a234[(_0x182de1(0x265))](_0x51fd28,_0x212e79)['getRangePointData'](_0x57f4d3,_0x379ace))==null?{}:_0x289866;if(_0x6341ef==null||_0x6341ef[_0x182de1(0x36e)]===0x0)continue;this['_drawRectRange'](_0x3e5af4,_0x6341ef,_0x533e37,_0x1037b8);}else{if(!_0x4a6b7a){let {borderBoxPointGroup:_0x1c54a1}=_0x172826['getRangePointData'](_0x57f4d3,_0x379ace);if(_0x1c54a1[_0x182de1(0x36e)]===0x0)continue;this[_0x182de1(0x374)](_0x3e5af4,_0x1c54a1,_0x533e37,_0x1037b8);}}}}}[_0x24b96c(0x281)](_0x57421e,_0x1529cc,_0x303bb1,_0x3851ba,_0x57a535){const _0x1182ba=_0x24b96c;let {left:_0x159fe8,top:_0xde2ebc,height:_0x35a74b}=this[_0x1182ba(0x180)](_0x1529cc),_0x7446ce=1.5/this[_0x1182ba(0x214)](),_0x1754ad=new _0x5bc07b[(_0x1182ba(0x35b))](_0x5684fa+(0x0,_0x13030d[_0x1182ba(0x280)])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba,'height':_0x35a74b,'width':1.5,'fill':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d['COLORS'][_0x1182ba(0x2b1)],0x0),'strokeWidth':_0x7446ce,'stroke':_0x1182ba(0x1f3),'evented':!0x0});this[_0x1182ba(0x15c)]=_0x1754ad,this[_0x1182ba(0x1df)]['addObject'](_0x1754ad,_0x57a234[_0x1182ba(0x1b4)]);let _0x39a228=new _0x5bc07b[(_0x1182ba(0x35b))](_0x5684fa+(0x0,_0x13030d[_0x1182ba(0x280)])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d[_0x1182ba(0xf4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d['COLORS']['black'],0x0),'evented':!0x1});this[_0x1182ba(0x284)]=_0x39a228,this[_0x1182ba(0x1df)][_0x1182ba(0x21d)](_0x39a228,_0x57a234[_0x1182ba(0x1b4)]);let _0x155960=new _0xe27d5c(_0x5684fa+(0x0,_0x13030d['generateRandomId'])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba-0x14,'text':_0x57a535,'color':_0x57421e});this[_0x1182ba(0x277)]=_0x155960,this[_0x1182ba(0x1df)][_0x1182ba(0x21d)](_0x155960,_0x57a234['TEXT_RANGE_LAYER_INDEX']),this[_0x1182ba(0xca)]=!0x1;}[_0x24b96c(0x1f8)](){const _0x161855=_0x24b96c;let _0x2ecf70=this[_0x161855(0x15c)]['onPointerEnter$'][_0x161855(0x18a)](()=>{this['_hover']=!0x0;}),_0x1e7054=this['_anchor'][_0x161855(0x19e)][_0x161855(0x18a)](()=>{const _0xf18dab=_0x161855;this[_0xf18dab(0x191)]&&clearTimeout(this[_0xf18dab(0x191)]),this[_0xf18dab(0x191)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x52e128=_0x161855;_0x2ecf70[_0x52e128(0x38b)](),_0x1e7054[_0x52e128(0x38b)]();};}['_drawTextRange'](_0x21d758,_0x1ac994,_0x444247,_0xc42759){const _0x28b3a4=_0x24b96c;let _0x8d66ba=0.2,_0x36b891=new _0x13030d[(_0x28b3a4(0x39e))](_0x21d758)[_0x28b3a4(0x1cd)](_0x8d66ba)[_0x28b3a4(0x278)](),_0x5915db=new _0x5bc07b[(_0x28b3a4(0x17f))]('collab-text-range-'+(0x0,_0x13030d[_0x28b3a4(0x280)])(0x6),{'pointsGroup':_0x1ac994,'fill':_0x36b891||(0x0,_0x5bc07b[_0x28b3a4(0x27a)])(_0x13030d[_0x28b3a4(0xf4)]['black'],_0x8d66ba),'left':_0x444247,'top':_0xc42759,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28b3a4(0x1dd)]['push'](_0x5915db),this[_0x28b3a4(0x1df)][_0x28b3a4(0x21d)](_0x5915db,_0x57a234[_0x28b3a4(0x1b4)]);}[_0x24b96c(0x259)](_0x2d5434,_0x968345,_0x44895a,_0x2848ab){const _0x58531a=_0x24b96c;let _0x469557=0.2,_0x539cf0=new _0x13030d[(_0x58531a(0x39e))](_0x2d5434)[_0x58531a(0x1cd)](_0x469557)[_0x58531a(0x278)](),_0x516a61=new _0x5bc07b['RegularPolygon'](_0x58531a(0x2e9)+(0x0,_0x13030d[_0x58531a(0x280)])(0x6),{'pointsGroup':_0x968345,'fill':_0x539cf0||(0x0,_0x5bc07b[_0x58531a(0x27a)])(_0x13030d[_0x58531a(0xf4)]['black'],_0x469557),'left':_0x44895a,'top':_0x2848ab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58531a(0x1dd)][_0x58531a(0x264)](_0x516a61),this['_scene']['addObject'](_0x516a61,_0x57a234[_0x58531a(0x1b4)]);}[_0x24b96c(0x180)](_0x2da992){let _0x123e9d=_0x2da992[0x0],_0x74933c=_0x123e9d[0x0],_0x5d140f=_0x123e9d[0x2],{x:_0x588b8e,y:_0x4b742e}=_0x74933c,{x:_0x5e19f1,y:_0x664676}=_0x5d140f;return{'left':_0x588b8e,'top':_0x4b742e,'width':_0x5e19f1-_0x588b8e,'height':_0x664676-_0x4b742e};}[_0x24b96c(0x214)](){const _0x272d6a=_0x24b96c;let {scaleX:_0x4d141f,scaleY:_0x48ef67}=this[_0x272d6a(0x1df)][_0x272d6a(0x25f)]();return Math[_0x272d6a(0x269)](_0x4d141f,_0x48ef67);}};let _0x3ea851=class extends _0x13030d['RxDisposable']{constructor(_0x1f9bd4,_0x42a524,_0x346e23,_0x1eec5b,_0x118e16){const _0x22018e=_0x24b96c;super(),this[_0x22018e(0xbe)]=_0x1f9bd4,this[_0x22018e(0x39c)]=_0x42a524,this[_0x22018e(0x309)]=_0x346e23,this['_commandService']=_0x1eec5b,this['_themeService']=_0x118e16,_0x32f982(this,'_cursorShapes',[]),_0x32f982(this,'_cursors',[]),this[_0x22018e(0xb7)]();}[_0x24b96c(0xb7)](){const _0x23e10f=_0x24b96c;let _0x4bd5d2=this[_0x23e10f(0xbe)]['unitId'],_0xdaf29b=this[_0x23e10f(0x39c)];this[_0x23e10f(0x220)]((0x0,_0x594669[_0x23e10f(0x1ed)])([this[_0x23e10f(0x309)][_0x23e10f(0xc7)](_0x4bd5d2),this[_0x23e10f(0x2fa)][_0x23e10f(0x1cb)]])[_0x23e10f(0x2be)]((0x0,_0x2525b7[_0x23e10f(0x288)])(([_0x20acc9,_0x46d3d4])=>({'skeleton':_0xdaf29b[_0x23e10f(0x294)](),'cursors':[..._0x20acc9['values']()][_0x23e10f(0xc8)](_0x4d13ab=>({..._0x4d13ab,'color':this[_0x23e10f(0x2fa)][_0x23e10f(0x3b3)](_0x4d13ab[_0x23e10f(0x305)])}))})))[_0x23e10f(0x320)](_0x57960b=>{const _0x2f0313=_0x23e10f;if(this[_0x2f0313(0x192)](),_0x57960b){let {skeleton:_0x526442,cursors:_0x465ccb}=_0x57960b;this['_updateCollabCursors'](_0x526442,_0x465ccb);}})),this['_initResize'](),this[_0x23e10f(0x239)]();}[_0x24b96c(0x2f4)](_0x14a6e7,_0x463a47){const _0xe7599=_0x24b96c;let {scene:_0x3c43a6,mainComponent:_0x59124e}=this['_context'];this['_cursorShapes']=_0x463a47[_0xe7599(0x288)](_0x27e8b0=>new _0xc683db(_0x27e8b0,_0x3c43a6,_0x14a6e7,_0x59124e)),this[_0xe7599(0x212)]=_0x463a47;}[_0x24b96c(0x28d)](){const _0x26e030=_0x24b96c;this[_0x26e030(0x192)]();let {scene:_0x287c7c,mainComponent:_0x45dafb}=this[_0x26e030(0xbe)],_0x1935f9=this[_0x26e030(0x39c)][_0x26e030(0x294)]();this['_cursorShapes']=this['_cursors']['map'](_0x2b8e4d=>new _0xc683db(_0x2b8e4d,_0x287c7c,_0x1935f9,_0x45dafb));}[_0x24b96c(0x192)](){const _0x519a5c=_0x24b96c;this[_0x519a5c(0x3a3)]['forEach'](_0x14a70b=>_0x14a70b[_0x519a5c(0x29f)]()),this[_0x519a5c(0x3a3)]=[];}[_0x24b96c(0x239)](){const _0x4dad64=_0x24b96c;let _0x56e7e0=[_0x57a234[_0x4dad64(0x37d)]['id']];this['disposeWithMe'](this[_0x4dad64(0xa0)][_0x4dad64(0xd3)](_0x74892b=>{const _0x5ac7df=_0x4dad64;_0x56e7e0[_0x5ac7df(0x398)](_0x74892b['id'])&&_0x74892b[_0x5ac7df(0x22a)][_0x5ac7df(0x1bf)]===this[_0x5ac7df(0xbe)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x24b96c(0xc5)](){const _0x469832=_0x24b96c;this[_0x469832(0x220)]((0x0,_0x13030d['fromEventSubject'])(this['_context'][_0x469832(0x1a2)][_0x469832(0x2af)])[_0x469832(0x2be)]((0x0,_0x2525b7[_0x469832(0xa7)])(_0x3739b5=>_0x3739b5[_0x469832(0x35c)]===_0x5bc07b['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),(0x0,_0x2525b7[_0x469832(0x121)])(0x10))[_0x469832(0x320)](()=>{const _0x2b5784=_0x469832;this[_0x2b5784(0x28d)]();}));}};_0x3ea851=_0x12d4ea([_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x1aedbb[_0x24b96c(0x306)])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x56259b)),_0x517da2(0x3,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x4,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0xa8)]))],_0x3ea851);var _0x270909=class extends _0x5bc07b[_0x24b96c(0x1b1)]{constructor(_0x5b06fc,_0xfbb975){const _0x5e9ce5=_0x24b96c;if(super(_0x5b06fc,_0xfbb975),_0x32f982(this,_0x5e9ce5(0x23e),void 0x0),_0x32f982(this,_0x5e9ce5(0x2ab),!0x1),_0x32f982(this,'_range',void 0x0),_0x32f982(this,_0x5e9ce5(0x315),''),_0x32f982(this,'_labelPosition','top'),_0x32f982(this,_0x5e9ce5(0x17a),void 0x0),_0x32f982(this,_0x5e9ce5(0x2a6),void 0x0),_0x32f982(this,_0x5e9ce5(0x23c),void 0x0),_0x32f982(this,_0x5e9ce5(0x1de),0x4),_0x32f982(this,'_blinkTimer',void 0x0),_0x32f982(this,_0x5e9ce5(0x169),void 0x0),_0x32f982(this,_0x5e9ce5(0x376),!0x0),_0x32f982(this,_0x5e9ce5(0x3a5),0x0),_0xfbb975){var _0x44a4a0;if(this[_0x5e9ce5(0x333)](_0xfbb975),_0xfbb975[_0x5e9ce5(0x34c)]&&((_0x44a4a0=_0xfbb975['highlightSecond'])==null?this['_highlightSecond']:_0x44a4a0)){var _0x3a473a;this['_startBlinking']((_0x3a473a=_0xfbb975[_0x5e9ce5(0x221)])==null?this[_0x5e9ce5(0x1de)]:_0x3a473a);}}this[_0x5e9ce5(0x289)][_0x5e9ce5(0x18a)](()=>this[_0x5e9ce5(0x333)]({'hovered':!0x0})),this[_0x5e9ce5(0x19e)]['subscribeEvent'](()=>this[_0x5e9ce5(0x333)]({'hovered':!0x1}));}[_0x24b96c(0x3ae)](_0x1ff0e4){const _0xfdaf3d=_0x24b96c;this[_0xfdaf3d(0x3a5)]=_0x1ff0e4;}[_0x24b96c(0x333)](_0x543c0e){const _0x59a0ba=_0x24b96c;var _0x267ae8,_0x55ebec,_0x14277a,_0xa371c7,_0x170e04,_0x55fde8,_0x3aa6c7;this[_0x59a0ba(0x23e)]=(_0x267ae8=_0x543c0e[_0x59a0ba(0x305)])==null?this[_0x59a0ba(0x23e)]:_0x267ae8,this[_0x59a0ba(0x2ab)]=(_0x55ebec=_0x543c0e[_0x59a0ba(0x224)])==null?this[_0x59a0ba(0x2ab)]:_0x55ebec,this[_0x59a0ba(0x15f)]=(_0x14277a=_0x543c0e[_0x59a0ba(0x1a7)])==null?this['_range']:_0x14277a,this['_name']=(_0xa371c7=_0x543c0e[_0x59a0ba(0x1c4)])==null?this[_0x59a0ba(0x315)]:_0xa371c7,this[_0x59a0ba(0x318)]=(_0x170e04=_0x543c0e[_0x59a0ba(0x363)])==null?this[_0x59a0ba(0x318)]:_0x170e04,this['_backgroundColor']=(_0x55fde8=_0x543c0e[_0x59a0ba(0x266)])==null?this[_0x59a0ba(0x17a)]:_0x55fde8,this[_0x59a0ba(0x2a6)]=(_0x3aa6c7=_0x543c0e[_0x59a0ba(0x184)])==null?this['_showText']:_0x3aa6c7,_0x543c0e['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x543c0e[_0x59a0ba(0x221)]),_0x543c0e['highlight']!==void 0x0&&(this['_highlight']=_0x543c0e[_0x59a0ba(0x34c)]),_0x543c0e[_0x59a0ba(0x20d)]!==void 0x0&&(this[_0x59a0ba(0x3a5)]=_0x543c0e[_0x59a0ba(0x20d)]),this[_0x59a0ba(0xf8)]({'width':_0x543c0e[_0x59a0ba(0x2c3)],'height':_0x543c0e[_0x59a0ba(0x168)]});}[_0x24b96c(0x25b)](_0x5ccec9){const _0x464c06=_0x24b96c;let {row:_0x255843,column:_0x5c781a}=_0x5ccec9;if(_0x255843>=this['_range']['startRow']&&_0x255843<=this['_range'][_0x464c06(0x225)]&&_0x5c781a>=this[_0x464c06(0x15f)]['startColumn']&&_0x5c781a<=this['_range'][_0x464c06(0xae)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['_startBlinking'](_0x15a8e3){const _0x314826=_0x24b96c;this[_0x314826(0x1aa)](),this['_isBlinkVisible']=!0x0,this[_0x314826(0x169)]=window[_0x314826(0xd8)](()=>{const _0x3e5f56=_0x314826;this[_0x3e5f56(0x376)]=!this['_isBlinkVisible'],this[_0x3e5f56(0x1d3)](!0x0);},0x1f4),this[_0x314826(0x1ad)]=window[_0x314826(0x189)](()=>{const _0x3d5209=_0x314826;this[_0x3d5209(0x1aa)](),this['_isBlinkVisible']=!0x0,this[_0x3d5209(0x1d3)](!0x0);},_0x15a8e3*0x3e8);}['_stopBlinking'](){const _0x43e6c1=_0x24b96c;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x43e6c1(0x169)]),this[_0x43e6c1(0x169)]=void 0x0),this['_blinkTimer']&&(window[_0x43e6c1(0x395)](this[_0x43e6c1(0x1ad)]),this['_blinkTimer']=void 0x0);}[_0x24b96c(0x14d)](_0xe55b9d){return!0x1;}[_0x24b96c(0x29f)](){this['_stopBlinking'](),super['dispose']();}['_draw'](_0x5adf8f){const _0xd32a7d=_0x24b96c;var _0x36821e;let _0x27660a=this[_0xd32a7d(0x23e)],_0x44d470=this[_0xd32a7d(0x17a)];if(this[_0xd32a7d(0x23c)]&&!this[_0xd32a7d(0x376)]&&(_0x27660a=this['_getLighterColor'](this['_color']),_0x44d470=this[_0xd32a7d(0x17a)]?this[_0xd32a7d(0x24e)](this['_backgroundColor']):void 0x0),_0x5bc07b['Rect'][_0xd32a7d(0xea)](_0x5adf8f,{'width':this[_0xd32a7d(0x2c3)],'height':this['height'],'strokeWidth':(_0x36821e=this['strokeWidth'])==null?1.5:_0x36821e,'stroke':_0x27660a,'evented':!0x1,'fill':_0x44d470}),this['_hovered']||this['_showText']){var _0x231307;_0x5adf8f[_0xd32a7d(0x367)](),_0x5adf8f['transform'](0x1,0x0,0x0,0x1,this[_0xd32a7d(0x2c3)],(this['_labelPosition']===_0xd32a7d(0x355)?0x0:-0x14)+((_0x231307=this['_offsetY'])==null?0x0:_0x231307)),_0xe27d5c[_0xd32a7d(0xea)](_0x5adf8f,{'text':this['_name'],'color':_0x27660a}),_0x5adf8f[_0xd32a7d(0x1c3)]();}}[_0x24b96c(0x24e)](_0x498446){const _0xf4ec5a=_0x24b96c;return _0x498446[_0xf4ec5a(0x1c2)]('#')?'rgba('+Number[_0xf4ec5a(0x34f)](_0x498446[_0xf4ec5a(0x167)](0x1,0x3),0x10)+',\x20'+Number[_0xf4ec5a(0x34f)](_0x498446['slice'](0x3,0x5),0x10)+',\x20'+Number[_0xf4ec5a(0x34f)](_0x498446[_0xf4ec5a(0x167)](0x5,0x7),0x10)+_0xf4ec5a(0x2d5):_0x498446[_0xf4ec5a(0x1c2)]('rgba')?_0x498446[_0xf4ec5a(0x29e)](/[\d.]+\)$/g,_0xf4ec5a(0xa5)):_0x498446[_0xf4ec5a(0x1c2)](_0xf4ec5a(0x347))?_0x498446['replace'](_0xf4ec5a(0x347),'rgba')[_0xf4ec5a(0x29e)](')',_0xf4ec5a(0x2d5)):_0x498446;}};let _0x52222b=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x593da9,_0x1f4b63,_0x3530ec,_0x28d813){const _0x5c9af3=_0x24b96c;super(),this[_0x5c9af3(0xbe)]=_0x593da9,this['_sheetSkeletonManagerService']=_0x1f4b63,this[_0x5c9af3(0x309)]=_0x3530ec,this[_0x5c9af3(0x2fa)]=_0x28d813,_0x32f982(this,'_cursors',new Set()),_0x32f982(this,'_lastPointer',null),this[_0x5c9af3(0xb7)]();}['_init'](){const _0x28aa95=_0x24b96c;this[_0x28aa95(0x310)][_0x28aa95(0x2ac)][_0x28aa95(0x2be)]((0x0,_0x2525b7[_0x28aa95(0xc0)])(this[_0x28aa95(0x159)]),(0x0,_0x2525b7[_0x28aa95(0x34b)])(_0x1ba561=>{const _0x367e5a=_0x28aa95;if(_0x1ba561){let _0x4206fe=_0x1ba561['sheetId'];return(0x0,_0x594669[_0x367e5a(0x1ed)])(this['_collabCursorController'][_0x367e5a(0xc7)](this['_context'][_0x367e5a(0x1bf)]),this[_0x367e5a(0x2fa)][_0x367e5a(0x1cb)])[_0x367e5a(0x2be)]((0x0,_0x2525b7[_0x367e5a(0x288)])(([_0x14294d,_0x2e44fd])=>{let _0x500595=new Map();return _0x14294d['forEach']((_0x3bd638,_0x389192)=>{const _0x1bf4ec=_0x84a9;if(_0x3bd638[_0x1bf4ec(0x105)]===_0x4206fe){let _0x3d7fd8={..._0x3bd638};_0x3d7fd8['color']=this[_0x1bf4ec(0x2fa)][_0x1bf4ec(0x3b3)](_0x3bd638['color']),_0x500595[_0x1bf4ec(0x13e)](_0x389192,_0x3d7fd8);}}),{'skeleton':_0x1ba561,'cursors':_0x500595};}));}return(0x0,_0x594669['of'])({'skeleton':null,'cursors':new Map()});}))[_0x28aa95(0x320)](({skeleton:_0x3ffc43,cursors:_0x12c696})=>{this['_removeCollabCursors'](),_0x3ffc43&&this['_updateCollabCursors'](_0x3ffc43,_0x12c696);}),this[_0x28aa95(0x310)]['currentSkeleton$'][_0x28aa95(0x320)](_0x23ee5b=>{const _0x50843a=_0x28aa95;if(_0x23ee5b==null)return;let {skeleton:_0x4cbff2}=_0x23ee5b,{scene:_0xa68e57}=this[_0x50843a(0xbe)];_0xa68e57[_0x50843a(0x2f5)][_0x50843a(0x18a)]((0x0,_0x13030d[_0x50843a(0x2b0)])(_0xe11da0=>{const _0x54bcbd=_0x50843a;var _0x2804bc,_0x306499;let {offsetX:_0x408125,offsetY:_0x5c06be}=_0xe11da0,{x:_0x48f2d3,y:_0x90db85}=_0xa68e57[_0x54bcbd(0x35a)](_0x5bc07b[_0x54bcbd(0x297)][_0x54bcbd(0x102)]([_0x408125,_0x5c06be])),{scaleX:_0x554ab7,scaleY:_0x474293}=_0xa68e57[_0x54bcbd(0x25f)](),_0x51f95f=_0xa68e57['getViewport'](_0x5bc07b['SHEET_VIEWPORT_KEY'][_0x54bcbd(0x19a)]),_0x1ecdbf=_0xa68e57[_0x54bcbd(0xa1)](_0x5bc07b[_0x54bcbd(0x297)][_0x54bcbd(0x102)]([_0x48f2d3,_0x90db85]),_0x51f95f),_0x17c90f=_0x4cbff2[_0x54bcbd(0x2e3)](_0x408125,_0x5c06be,_0x554ab7,_0x474293,_0x1ecdbf);((_0x2804bc=this[_0x54bcbd(0x115)])==null?void 0x0:_0x2804bc['column'])===_0x17c90f[_0x54bcbd(0x196)]&&((_0x306499=this[_0x54bcbd(0x115)])==null?void 0x0:_0x306499['row'])===_0x17c90f[_0x54bcbd(0x314)]||this[_0x54bcbd(0x212)][_0x54bcbd(0x172)](_0xa1f5f1=>{const _0x53e821=_0x54bcbd;_0xa1f5f1[_0x53e821(0x25b)](_0x17c90f);});},0x64));});}['_updateCollabCursors'](_0x45735d,_0x820b6){const _0x289aff=_0x24b96c;let _0x2cb338=this['_sheetSkeletonManagerService'][_0x289aff(0x2fe)]();if(!_0x2cb338)return;let _0x468d9f=this[_0x289aff(0x182)]();if(!_0x468d9f)return;this['_cursors'][_0x289aff(0x172)](_0x125a77=>{const _0x5c85be=_0x289aff;_0x125a77[_0x5c85be(0x1d3)]();});let {scene:_0x3a484b}=_0x468d9f,_0x3bb83e=_0x1def5d(Array['from'](_0x820b6[_0x289aff(0x319)]()))[_0x289aff(0x288)](_0x4e3438=>{const _0x1351e6=_0x289aff;let {color:_0x12342a,range:_0x157eb1,name:_0x6c74a0,selection:_0x287b01,sheetID:_0x357aab}=_0x4e3438,{startColumn:_0x24b824,startRow:_0x50f310,endColumn:_0x29eb56,endRow:_0x2e1216}=_0x157eb1,_0x376237=(0x0,_0x3c23de[_0x1351e6(0x2f0)])(_0x50f310,_0x24b824,_0x3a484b,_0x2cb338),_0x581e3a=(0x0,_0x3c23de[_0x1351e6(0x2f0)])(_0x2e1216,_0x29eb56,_0x3a484b,_0x2cb338),{columnHeaderHeightAndMarginTop:_0x4f99b0}=_0x2cb338,{startX:_0x4af1be,startY:_0x320ed}=_0x376237,{endX:_0x1abf81,endY:_0x1e6631}=_0x581e3a,_0x201f0b=_0x1abf81-_0x4af1be,_0x436d52=_0x1e6631-_0x320ed;return new _0x270909(_0x6c74a0,{'labelPosition':_0x320ed-_0x4f99b0>=0x14?_0x1351e6(0x15b):_0x1351e6(0x355),'sheetID':_0x357aab,'range':_0x157eb1,'color':_0x12342a,'name':_0x6c74a0,'selection':_0x287b01,'left':_0x4af1be,'top':_0x320ed,'width':_0x201f0b,'height':_0x436d52,'evented':!0x1,'zIndex':0x1389});});_0x3a484b[_0x289aff(0x1e7)](_0x3bb83e,0x1),this[_0x289aff(0x212)]=new Set(_0x3bb83e);}[_0x24b96c(0x192)](){const _0x4f3872=_0x24b96c;var _0x4cf383;(_0x4cf383=this[_0x4f3872(0x212)])==null||_0x4cf383[_0x4f3872(0x172)](_0x47e518=>_0x47e518['dispose']());}[_0x24b96c(0x182)](){const _0x45cc6d=_0x24b96c;return(0x0,_0x3c23de[_0x45cc6d(0x2d1)])(this[_0x45cc6d(0xbe)][_0x45cc6d(0xac)],this['_context']);}};_0x52222b=_0x12d4ea([_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x3c23de['SheetSkeletonManagerService'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x56259b)),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0xa8)]))],_0x52222b);function _0x1def5d(_0x2e8b46){const _0x22795e=_0x24b96c;let _0x20fc00=new Map();return _0x2e8b46[_0x22795e(0x172)](_0x190fd3=>{const _0x5058c3=_0x22795e;if(_0x20fc00[_0x5058c3(0x361)](_0x190fd3['selection'])){let _0x5bce19=_0x20fc00[_0x5058c3(0x283)](_0x190fd3[_0x5058c3(0x231)]);_0x5bce19[_0x5058c3(0x1c4)]+=',\x20'+_0x190fd3['name'];}else _0x20fc00[_0x5058c3(0x13e)](_0x190fd3[_0x5058c3(0x231)],_0x190fd3);}),Array[_0x22795e(0x270)](_0x20fc00[_0x22795e(0x319)]());}let _0x1f50c9=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xcc496a,_0x161b08,_0x7c115b,_0x14b19a,_0x503701,_0x415442){const _0x2fa3cf=_0x24b96c;super(),this[_0x2fa3cf(0xd9)]=_0xcc496a,this[_0x2fa3cf(0xdd)]=_0x161b08,this['_collaborationUIEventService']=_0x7c115b,this[_0x2fa3cf(0x101)]=_0x14b19a,this[_0x2fa3cf(0x24a)]=_0x503701,this[_0x2fa3cf(0x1ac)]=_0x415442,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x24b96c(0x271)](){const _0x1609e6=_0x24b96c;this[_0x1609e6(0x220)](this[_0x1609e6(0xd9)][_0x1609e6(0x33c)](()=>{const _0x3921a7=_0x1609e6;if(this['_localCacheService'][_0x3921a7(0x32b)][_0x3921a7(0x379)])return this[_0x3921a7(0x1ac)]['t'](_0x3921a7(0x104));}));}['_initEvent'](){const _0x58ffb8=_0x24b96c;this[_0x58ffb8(0x220)](this[_0x58ffb8(0x389)][_0x58ffb8(0x1a3)][_0x58ffb8(0x320)](_0x383422=>{const _0x5a2ded=_0x58ffb8;_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x1bd)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x2b4))}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x394)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2['MessageType'][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x26e))}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)]['PERMISSION_DENIED']&&this[_0x5a2ded(0x24a)][_0x5a2ded(0x2d9)]({'title':this[_0x5a2ded(0x1ac)]['t']('permission.title'),'content':this['_localeService']['t'](_0x5a2ded(0x14e)),'type':_0x5a2ded(0xaf),'duration':0x0}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0xee)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0xf1)],'content':this['_localeService']['t'](_0x5a2ded(0x26e))+'('+_0x383422[_0x5a2ded(0x366)]+')'}),_0x383422['id']===_0x4a06d2['CollaborationUIEventId'][_0x5a2ded(0x15a)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x383422[_0x5a2ded(0x366)]||'')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x37e)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2['MessageType'][_0x5a2ded(0x391)],'content':this['_localeService']['t']('session.will-retry')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x1d7)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0xf1)],'content':this[_0x5a2ded(0x1ac)]['t']('session.connection-failed')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)]['Error'],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x241))});}));}};_0x1f50c9=_0x12d4ea([_0x517da2(0x0,_0x429bdf[_0x24b96c(0x2c4)]),_0x517da2(0x1,_0x4a06d2[_0x24b96c(0x31c)]),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x335)])),_0x517da2(0x3,_0x429bdf['IMessageService']),_0x517da2(0x4,_0x429bdf['INotificationService']),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x381)]))],_0x1f50c9);let _0x4f4f93=_0x24b96c(0xe0);Symbol(_0x4f4f93);let _0x475def={},_0x5176c7=class{constructor(_0x18d598,_0x2640a8){const _0x4ec4b3=_0x24b96c;this[_0x4ec4b3(0x22d)]=_0x18d598,this[_0x4ec4b3(0x136)]=_0x2640a8;}['transformIMECache'](_0x5af586){const _0x1a6e9a=_0x24b96c;this['_transformUndoRedoStack'](_0x5af586),this[_0x1a6e9a(0x150)](_0x5af586);}[_0x24b96c(0x210)](_0x1a2cff){const _0x244b85=_0x24b96c;let {unitID:_0x5e6639}=_0x1a2cff,{redoCache:_0x3e0721}=this['_renderManagerService'][_0x244b85(0x12b)](_0x5e6639)[_0x244b85(0x237)](_0x57a234[_0x244b85(0x129)])[_0x244b85(0x143)]();if(_0x3e0721[_0x244b85(0x36e)]===0x0)return _0x1a2cff;let _0x409ddb=_0x13030d['Tools']['deepClone'](_0x1a2cff[_0x244b85(0x384)][0x0]);for(let _0x28ed40=0x0;_0x28ed40<_0x3e0721[_0x244b85(0x36e)];_0x28ed40++){let _0x5e023a={'id':_0x244b85(0x1ae),'params':{..._0x3e0721[_0x28ed40]}},_0xdc3638=this[_0x244b85(0x22d)]['transformMutation'](_0x409ddb,_0x5e023a,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0xdc3638))throw _0xdc3638['error'];_0x409ddb=_0xdc3638[_0x244b85(0x272)];}return{..._0x13030d[_0x244b85(0x142)]['deepClone'](_0x1a2cff),'mutations':[_0x409ddb]};}[_0x24b96c(0xcb)](_0x14d195){const _0x18fd46=_0x24b96c;let {unitID:_0x276044}=_0x14d195,_0x3c73ea=this[_0x18fd46(0x136)][_0x18fd46(0x12b)](_0x276044)[_0x18fd46(0x237)](_0x57a234[_0x18fd46(0x129)]),{undoCache:_0x381214,redoCache:_0x1dbd99}=_0x3c73ea[_0x18fd46(0x143)]();if(_0x381214['length']===0x0||_0x1dbd99['length']===0x0)return;let _0x310dff=[],_0x2a1cf6=[],_0x148847=_0x13030d['Tools'][_0x18fd46(0x2ed)](_0x14d195['mutations'][0x0]),_0x2b0c38=_0x13030d[_0x18fd46(0x142)][_0x18fd46(0x2ed)](_0x14d195[_0x18fd46(0x384)][0x0]);for(let _0x58577a=_0x381214[_0x18fd46(0x36e)]-0x1;_0x58577a>=0x0;_0x58577a--){let _0x4fa0bd={'id':'doc.mutation.rich-text-editing','params':{..._0x381214[_0x58577a]}},_0xd25560={'id':_0x18fd46(0x1ae),'params':{..._0x1dbd99[_0x58577a]}},_0x22c50e=this['_transformService'][_0x18fd46(0x26a)](_0x148847,_0x4fa0bd,!0x1),_0x15f32a=this[_0x18fd46(0x22d)][_0x18fd46(0x26a)](_0x2b0c38,_0xd25560,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0x22c50e))throw _0x22c50e[_0x18fd46(0xaf)];if((0x0,_0x486545[_0x18fd46(0x326)])(_0x15f32a))throw _0x15f32a[_0x18fd46(0xaf)];_0x310dff[_0x18fd46(0x254)](_0x22c50e['m2Prime'][_0x18fd46(0x22a)]),_0x2a1cf6[_0x18fd46(0x254)](_0x15f32a['m2Prime']['params']),_0x148847=_0x22c50e[_0x18fd46(0x272)],_0x2b0c38=_0x15f32a[_0x18fd46(0x272)];}_0x3c73ea[_0x18fd46(0x38f)]({'undoCache':_0x310dff,'redoCache':_0x2a1cf6});}[_0x24b96c(0x150)](_0xa5f304){const _0x4d6096=_0x24b96c;let {unitID:_0x1c1e86}=_0xa5f304,_0x293833=this[_0x4d6096(0x136)][_0x4d6096(0x12b)](_0x1c1e86)['with'](_0x57a234['DocIMEInputManagerService']),_0x232dfc=_0x293833[_0x4d6096(0x308)]();if(_0x232dfc==null)return;let _0x453c10=[{'id':_0x4d6096(0x1ae),'params':{'unitId':_0xa5f304[_0x4d6096(0x343)],'actions':null,'textRanges':[_0x232dfc]}}],_0x1e543f=this[_0x4d6096(0x22d)][_0x4d6096(0xdb)](_0xa5f304,_0x453c10);if(!(0x0,_0x486545['isTransformMutationsWithChangesetSuccess'])(_0x1e543f))throw _0x1e543f[_0x4d6096(0xaf)];let _0x31c431=_0x1e543f[_0x4d6096(0x32c)][0x0][_0x4d6096(0x22a)][_0x4d6096(0x132)];Array['isArray'](_0x31c431)&&_0x31c431[_0x4d6096(0x36e)]&&_0x293833[_0x4d6096(0x3b4)](_0x31c431[0x0]);}};_0x5176c7=_0x12d4ea([_0x517da2(0x0,_0x486545[_0x24b96c(0x2e0)]),_0x517da2(0x1,_0x5bc07b[_0x24b96c(0x162)])],_0x5176c7);let _0x570b4f=class{constructor(_0x58a4bd,_0x3aaf9d,_0x420b94){const _0x40a450=_0x24b96c;this['_injector']=_0x58a4bd,this['_transformService']=_0x3aaf9d,this[_0x40a450(0x11d)]=_0x420b94;}[_0x24b96c(0x1e2)](_0x528347){const _0x410db3=_0x24b96c;this[_0x410db3(0x1d8)](_0x528347);}[_0x24b96c(0x210)](_0x3279d3){const _0xc085c3=_0x24b96c;let {unitID:_0x4773c5}=_0x3279d3,{collaboration:_0x4585db}=this[_0xc085c3(0x11d)][_0xc085c3(0x213)](_0x4773c5);if(_0x4585db['length']===0x0)return _0x3279d3;let _0x2d5be9=_0x13030d[_0xc085c3(0x142)][_0xc085c3(0x2ed)](_0x3279d3[_0xc085c3(0x384)][0x0]);for(let _0x46c4b1=0x0;_0x46c4b1<_0x4585db[_0xc085c3(0x36e)];_0x46c4b1++){let _0x2dfe9a={'id':_0xc085c3(0x1ae),'params':{'unitId':_0x4585db[_0x46c4b1][_0xc085c3(0x1bf)],..._0x4585db[_0x46c4b1][_0xc085c3(0x2a2)]}},_0x8389f9=this[_0xc085c3(0x22d)][_0xc085c3(0x26a)](_0x2d5be9,_0x2dfe9a,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0x8389f9))throw _0x8389f9[_0xc085c3(0xaf)];_0x2d5be9=_0x8389f9[_0xc085c3(0x272)];}return{..._0x13030d['Tools'][_0xc085c3(0x2ed)](_0x3279d3),'mutations':[_0x2d5be9]};}[_0x24b96c(0x1d8)](_0x372134){const _0x49b61a=_0x24b96c;let {unitID:_0x2b5d54}=_0x372134,{history:_0x5629e9,collaboration:_0x2066cb}=this[_0x49b61a(0x11d)][_0x49b61a(0x213)](_0x2b5d54);if(_0x5629e9[_0x49b61a(0x36e)]===0x0&&_0x2066cb[_0x49b61a(0x36e)]===0x0)return;let _0x27f5c2=[],_0x17bb0f=[],_0x29ecb3=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]),_0x243f61=_0x13030d[_0x49b61a(0x142)][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]);for(let _0x40e196=_0x5629e9[_0x49b61a(0x36e)]-0x1;_0x40e196>=0x0;_0x40e196--){let _0x1ef8a4={'id':_0x49b61a(0x1ae),'params':{'unitId':_0x5629e9[_0x40e196][_0x49b61a(0x1bf)],..._0x5629e9[_0x40e196][_0x49b61a(0x33f)]}},_0x4abeeb={'id':_0x49b61a(0x1ae),'params':{'unitId':_0x5629e9[_0x40e196][_0x49b61a(0x1bf)],..._0x5629e9[_0x40e196]['redoState']}},_0x304d6a=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x29ecb3,_0x1ef8a4,!0x1),_0xc6beca=this[_0x49b61a(0x22d)]['transformMutation'](_0x243f61,_0x4abeeb,!0x1);if((0x0,_0x486545[_0x49b61a(0x326)])(_0x304d6a))throw _0x304d6a[_0x49b61a(0xaf)];if((0x0,_0x486545[_0x49b61a(0x326)])(_0xc6beca))throw _0xc6beca[_0x49b61a(0xaf)];_0x27f5c2[_0x49b61a(0x254)]({..._0x5629e9[_0x40e196],'undoState':_0x304d6a[_0x49b61a(0x32c)][_0x49b61a(0x22a)],'redoState':_0xc6beca[_0x49b61a(0x32c)][_0x49b61a(0x22a)]}),_0x29ecb3=_0x304d6a['m1Prime'],_0x243f61=_0xc6beca[_0x49b61a(0x272)];}_0x29ecb3=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]),_0x243f61=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134['mutations'][0x0]);for(let _0x49c5b7=_0x2066cb['length']-0x1;_0x49c5b7>=0x0;_0x49c5b7--){let _0xc64be8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2066cb[_0x49c5b7][_0x49b61a(0x1bf)],..._0x2066cb[_0x49c5b7][_0x49b61a(0x33f)]}},_0x2a4f26={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2066cb[_0x49c5b7][_0x49b61a(0x1bf)],..._0x2066cb[_0x49c5b7]['redoState']}},_0x236fce=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x29ecb3,_0xc64be8,!0x1),_0x12a5cd=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x243f61,_0x2a4f26,!0x1);if((0x0,_0x486545[_0x49b61a(0x326)])(_0x236fce))throw _0x236fce['error'];if((0x0,_0x486545[_0x49b61a(0x326)])(_0x12a5cd))throw _0x12a5cd['error'];_0x17bb0f['unshift']({..._0x2066cb[_0x49c5b7],'undoState':_0x236fce[_0x49b61a(0x32c)][_0x49b61a(0x22a)],'redoState':_0x12a5cd[_0x49b61a(0x32c)][_0x49b61a(0x22a)]}),_0x29ecb3=_0x236fce[_0x49b61a(0x272)],_0x243f61=_0x12a5cd['m1Prime'];}this[_0x49b61a(0x11d)][_0x49b61a(0x23b)](_0x2b5d54,{'history':_0x27f5c2,'collaboration':_0x17bb0f});}};_0x570b4f=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,_0x486545[_0x24b96c(0x2e0)]),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57a234[_0x24b96c(0x17c)]))],_0x570b4f);let _0x38878b=class{constructor(_0x20eda7,_0x5b0735){const _0x51d9ec=_0x24b96c;this[_0x51d9ec(0x23a)]=_0x20eda7,this[_0x51d9ec(0x22d)]=_0x5b0735;}[_0x24b96c(0x26c)](_0x3dcd2f){const _0x121799=_0x24b96c;var _0x429f6a;let _0x530abb=this[_0x121799(0x23a)][_0x121799(0x283)](_0x1aedbb['DocSelectionManagerService']),_0x2e3940=(_0x429f6a=_0x530abb[_0x121799(0x396)]())==null?[]:_0x429f6a;if(_0x2e3940[_0x121799(0x36e)]===0x0)return;let _0x508a5a=_0x3dcd2f[_0x121799(0x343)],_0x31c650=[{'id':_0x121799(0x1ae),'params':{'unitId':_0x508a5a,'actions':null,'textRanges':_0x2e3940}}],_0xdb5ee2=this[_0x121799(0x22d)][_0x121799(0xdb)](_0x3dcd2f,_0x31c650);if(!(0x0,_0x486545[_0x121799(0x216)])(_0xdb5ee2))throw _0xdb5ee2[_0x121799(0xaf)];let _0x1f6e10=_0xdb5ee2['m2Prime'][0x0][_0x121799(0x22a)][_0x121799(0x132)];Array[_0x121799(0xe1)](_0x1f6e10)&&_0x1f6e10[_0x121799(0x36e)]&&_0x530abb['replaceDocRanges'](_0x1f6e10,{'unitId':_0x508a5a,'subUnitId':_0x508a5a},!0x1);}};_0x38878b=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,_0x486545[_0x24b96c(0x2e0)])],_0x38878b);let _0x11d522=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xe974cc,_0x51fd68,_0x54d14e,_0xf6d5b3,_0xb9d924,_0x4fb6c9,_0x14bad8,_0x1f52f3){const _0xf5b3c=_0x24b96c;super(),this[_0xf5b3c(0x11d)]=_0xe974cc,this[_0xf5b3c(0x1e5)]=_0x51fd68,this[_0xf5b3c(0x251)]=_0x54d14e,this[_0xf5b3c(0x19f)]=_0xf6d5b3,this[_0xf5b3c(0x317)]=_0xb9d924,this[_0xf5b3c(0x26d)]=_0x4fb6c9,this[_0xf5b3c(0x101)]=_0x14bad8,this[_0xf5b3c(0x1ac)]=_0x1f52f3,_0x32f982(this,_0xf5b3c(0x262),new _0x594669[(_0xf5b3c(0x3a6))](_0x4a06d2['CollaborationStatus']['NOT_COLLAB'])),this[_0xf5b3c(0x345)]();}[_0x24b96c(0x345)](){const _0x1a3674=_0x24b96c;this['disposeWithMe'](this[_0x1a3674(0x1e5)]['entityInit$'][_0x1a3674(0x320)](_0x5ebfbf=>{const _0x4b50c5=_0x1a3674;let _0x38b767=this[_0x4b50c5(0x11d)][_0x4b50c5(0x338)][_0x4b50c5(0x320)](_0x3bb438=>{const _0x31f4d8=_0x4b50c5;if(_0x3bb438==null)return;let {unitId:_0x407f27,redoState:_0x1f42a1,commandId:_0x166440}=_0x3bb438;if(_0x407f27!==_0x5ebfbf[_0x31f4d8(0x343)])return;let _0x372bb4={'id':_0x166440,'type':_0x13030d['CommandType'][_0x31f4d8(0xd7)],'params':{'unitId':_0x407f27,'actions':_0x1f42a1[_0x31f4d8(0x1ff)],'textRanges':null}};_0x5ebfbf['onLocalMutation'](_0x372bb4);});_0x5ebfbf['disposeWithMe'](_0x38b767),_0x5ebfbf instanceof _0x4a06d2[_0x4b50c5(0x11b)]&&_0x5ebfbf[_0x4b50c5(0x34e)]({'onTransformIME':_0x57abf2=>this[_0x4b50c5(0x251)][_0x4b50c5(0x2e6)](_0x57abf2),'onTransformState':_0x45fe1f=>this['_docTransformStateCacheService'][_0x4b50c5(0x1e2)](_0x45fe1f),'onTransformSelections':_0x3fbbce=>this['_docTransformSelectionsService']['transformSelections'](_0x3fbbce),'onSyncEditingCollabCursor':_0x579595=>this[_0x4b50c5(0x26d)][_0x4b50c5(0x18c)](_0x579595),'onTransformRemoteChangesetByIMECache':_0x1695c5=>this[_0x4b50c5(0x251)][_0x4b50c5(0x210)](_0x1695c5),'onTransformRemoteChangesetByStateCache':_0x5bc5f9=>this[_0x4b50c5(0x19f)][_0x4b50c5(0x210)](_0x5bc5f9)});}));}};_0x11d522=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57a234[_0x24b96c(0x17c)])),_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x4a06d2['CollaborationController'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x5176c7)),_0x517da2(0x3,(0x0,_0x13030d['Inject'])(_0x570b4f)),_0x517da2(0x4,(0x0,_0x13030d['Inject'])(_0x38878b)),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x26ea35)),_0x517da2(0x6,_0x429bdf['IMessageService']),_0x517da2(0x7,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x381)]))],_0x11d522);let _0x12c8b7=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xa0bfb,_0x19d2f5,_0xb09fb4,_0x4865fb){const _0x4860f9=_0x24b96c;super(),this[_0x4860f9(0x23a)]=_0xa0bfb,this[_0x4860f9(0x113)]=_0x19d2f5,this[_0x4860f9(0xec)]=_0xb09fb4,this[_0x4860f9(0x1cf)]=_0x4865fb,_0x32f982(this,_0x4860f9(0x382),void 0x0),this[_0x4860f9(0xb7)]();}[_0x24b96c(0xb7)](){const _0x17e5f7=_0x24b96c;this['_initWindowErrorListener'](),this[_0x17e5f7(0x26b)](),this[_0x17e5f7(0x14b)](),this['_initUserListener']();}[_0x24b96c(0x164)](){const _0x1faeab=_0x24b96c;this[_0x1faeab(0x220)](this['_collaborationSessionService']['socket$'][_0x1faeab(0x320)](_0x4ee7f4=>{const _0x84e39c=_0x1faeab;this[_0x84e39c(0x382)]=_0x4ee7f4==null?void 0x0:_0x4ee7f4[_0x84e39c(0x2ad)];}));}[_0x24b96c(0x194)](){const _0x264695=_0x24b96c;let _0x26202f=_0x4d9099=>{const _0x530675=_0x84a9;var _0x422db4;this[_0x530675(0x201)](_0x530675(0xaf),_0x530675(0x3ab)+_0x4d9099[_0x530675(0x290)]+_0x530675(0x11f)+_0x4d9099[_0x530675(0x249)]+':'+_0x4d9099[_0x530675(0x31f)]+':'+_0x4d9099[_0x530675(0x250)]+'\x0a'+(((_0x422db4=_0x4d9099[_0x530675(0xaf)])==null?void 0x0:_0x422db4['stack'])||''));};window[_0x264695(0x2ef)](_0x264695(0xaf),_0x26202f),this[_0x264695(0x220)](()=>{const _0x2cba6b=_0x264695;window[_0x2cba6b(0xb4)]('error',_0x26202f);});}[_0x24b96c(0x26b)](){const _0x5a4f30=_0x24b96c;let _0x701cb8=_0x160c62=>{const _0x1f0735=_0x84a9;this['_uploadLog'](_0x1f0735(0xaf),_0x1f0735(0x1fb)+_0x160c62[_0x1f0735(0x1fc)]);};window[_0x5a4f30(0x2ef)](_0x5a4f30(0x357),_0x701cb8),this[_0x5a4f30(0x220)](()=>{const _0x38424e=_0x5a4f30;window[_0x38424e(0xb4)](_0x38424e(0x357),_0x701cb8);});}[_0x24b96c(0x14b)](){const _0x5d17c7=_0x24b96c;let _0xa20f64=this[_0x5d17c7(0xec)][_0x5d17c7(0xaf)][_0x5d17c7(0x1af)](this[_0x5d17c7(0xec)]);this[_0x5d17c7(0xec)][_0x5d17c7(0xaf)]=(..._0x3fe744)=>{const _0x5d5d47=_0x5d17c7;let _0x8accda=_0x3fe744[_0x5d5d47(0x288)](_0x1e817c=>_0x1e817c instanceof Error?_0x1e817c[_0x5d5d47(0x290)]+'\x0a'+_0x1e817c[_0x5d5d47(0x346)]:String(_0x1e817c))[_0x5d5d47(0x234)]('\x20');this[_0x5d5d47(0x201)]('error',_0x5d5d47(0x1cc)+_0x8accda),_0xa20f64(..._0x3fe744);},this[_0x5d17c7(0x220)](()=>{const _0x13ec64=_0x5d17c7;this[_0x13ec64(0xec)]['error']=_0xa20f64;});}[_0x24b96c(0x201)](_0x381900,_0x159e74){const _0x1a66d0=_0x24b96c;try{let _0x222e14={'userId':this[_0x1a66d0(0x382)],'logLabel':_0x381900,'content':_0x159e74};this[_0x1a66d0(0x113)][_0x1a66d0(0x217)]('/universer-api/frontend/logs',{'body':_0x222e14})[_0x1a66d0(0x2b8)](()=>{});}catch{}}};_0x12c8b7=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9['HTTPService'])),_0x517da2(0x2,_0x13030d['ILogService']),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['CollaborationSessionService']))],_0x12c8b7);let _0x4da0aa=function(_0x2dc5b1){const _0x407f58=_0x24b96c;return _0x2dc5b1[_0x2dc5b1[_0x407f58(0x11c)]=0x0]=_0x407f58(0x11c),_0x2dc5b1[_0x2dc5b1['OK']=0x1]='OK',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x351)]=0x2]='INTERNAL_ERROR',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x32e)]=0x3]=_0x407f58(0x32e),_0x2dc5b1[_0x2dc5b1['NOT_FOUND']=0x4]=_0x407f58(0x352),_0x2dc5b1[_0x2dc5b1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2dc5b1[_0x2dc5b1['ALREADY_EXISTS']=0x6]=_0x407f58(0x353),_0x2dc5b1[_0x2dc5b1['INVALID_ARGUMENT']=0x7]=_0x407f58(0x146),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x28b)]=0x8]=_0x407f58(0x28b),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb5)]=0x9]=_0x407f58(0xb5),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x341)]=0xa]=_0x407f58(0x341),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x28c)]=0xb]=_0x407f58(0x28c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xcf)]=0xc]=_0x407f58(0xcf),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x112)]=0xd]=_0x407f58(0x112),_0x2dc5b1[_0x2dc5b1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x407f58(0x14c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x24c)]=0xf]=_0x407f58(0x24c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x133)]=0x10]=_0x407f58(0x133),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x10c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2dc5b1[_0x2dc5b1['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x2dc5b1[_0x2dc5b1['USER_NOT_FOUND']=0xc9]=_0x407f58(0x1a1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2c2)]=0xca]='USER_IS_ANONYMOUS',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1f4)]=0x1389]=_0x407f58(0x1f4),_0x2dc5b1[_0x2dc5b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x166)]=0x1772]=_0x407f58(0x166),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb1)]=0x1773]=_0x407f58(0xb1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x399)]=0x1b59]='APPLY_REJECT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x370)]=0x1b5a]=_0x407f58(0x370),_0x2dc5b1[_0x2dc5b1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x407f58(0x1d5),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x3b2)]=0x1b5c]=_0x407f58(0x3b2),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xa9)]=0x1b5d]=_0x407f58(0xa9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x10a)]=0x1f41]=_0x407f58(0x10a),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x3af)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2ff)]=0x232a]=_0x407f58(0x2ff),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xc9)]=0x232b]=_0x407f58(0xc9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x39b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x260)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x34a)]=0x2711]=_0x407f58(0x34a),_0x2dc5b1[_0x2dc5b1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x407f58(0x29a),_0x2dc5b1[_0x2dc5b1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x407f58(0x2d4),_0x2dc5b1[_0x2dc5b1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x407f58(0x38e),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25c)]=0x271a]=_0x407f58(0x25c),_0x2dc5b1[_0x2dc5b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x407f58(0x2b9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x296)]=0x271d]=_0x407f58(0x296),_0x2dc5b1[_0x2dc5b1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x407f58(0x1e0),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x29d)]=0x271f]=_0x407f58(0x29d),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x198)]=0x2720]=_0x407f58(0x198),_0x2dc5b1[_0x2dc5b1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1a0)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25a)]=0x2ee2]=_0x407f58(0x25a),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x292)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x154)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2dc5b1[_0x2dc5b1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x407f58(0x2aa),_0x2dc5b1[_0x2dc5b1['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x407f58(0x282),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2c1)]=0x32ca]=_0x407f58(0x2c1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x218)]=0x32cb]=_0x407f58(0x218),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1c5)]=0x36b1]=_0x407f58(0x1c5),_0x2dc5b1[_0x2dc5b1['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x407f58(0x2f9),_0x2dc5b1[_0x2dc5b1['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x407f58(0x152),_0x2dc5b1[_0x2dc5b1['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x144)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x21c)]=0x36b6]=_0x407f58(0x21c),_0x2dc5b1[_0x2dc5b1['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x407f58(0x247),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x371)]=0x36b8]=_0x407f58(0x371),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x122)]=0x3715]=_0x407f58(0x122),_0x2dc5b1[_0x2dc5b1['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x407f58(0x244),_0x2dc5b1[_0x2dc5b1['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x407f58(0x2cd),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x209)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2dc5b1[_0x2dc5b1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x407f58(0x233),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb3)]=0x3a9a]=_0x407f58(0xb3),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x223)]=0x3a9b]=_0x407f58(0x223),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1c0)]=0x3a9c]=_0x407f58(0x1c0),_0x2dc5b1[_0x2dc5b1['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x407f58(0x368),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x37a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1b6)]=0x3a9f]=_0x407f58(0x1b6),_0x2dc5b1[_0x2dc5b1['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x407f58(0x37f),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2fd)]=-0x1]=_0x407f58(0x2fd),_0x2dc5b1;}({});function _0x447e58(_0x54ebaf){const _0x55de7a=_0x24b96c;var _0x14a35f,_0x442ed9;let _0x1216f4=(_0x14a35f=_0x54ebaf[_0x55de7a(0x2ca)])==null?void 0x0:_0x14a35f[_0x55de7a(0x1a8)],_0x529ad3=((_0x442ed9=_0x54ebaf[_0x55de7a(0x2ca)])==null?void 0x0:_0x442ed9[_0x55de7a(0x2ea)])||0x0;return _0x1216f4===_0xe81250[_0x55de7a(0x322)][_0x55de7a(0x2c6)]&&_0x529ad3>0x0;}function _0x3dc7a8(_0x1699cc){const _0x51c24d=_0x24b96c;return _0x1699cc[_0x51c24d(0x1f6)]===_0xe81250[_0x51c24d(0x2a9)][_0x51c24d(0x302)];}let _0x31ebc2=class extends _0x13030d['Disposable']{constructor(_0x3cbd21,_0x454a95,_0x256d32,_0x16d931,_0x347222,_0x2f391a,_0x542ce1){const _0x194d55=_0x24b96c;super(),this['_messageService']=_0x3cbd21,this[_0x194d55(0xa0)]=_0x454a95,this[_0x194d55(0xb0)]=_0x256d32,this[_0x194d55(0x113)]=_0x16d931,this[_0x194d55(0x141)]=_0x347222,this[_0x194d55(0xec)]=_0x2f391a,this['_localeService']=_0x542ce1,_0x32f982(this,_0x194d55(0x176),null),_0x32f982(this,'_maxFormulaLimit',0x0),_0x32f982(this,_0x194d55(0x1e9),0x0),_0x32f982(this,_0x194d55(0x211),[]),_0x32f982(this,_0x194d55(0x2fb),0x0),this[_0x194d55(0x1b9)]();}[_0x24b96c(0x1b9)](){const _0x16690e=_0x24b96c;this[_0x16690e(0x220)](this[_0x16690e(0xa0)][_0x16690e(0xe6)]((_0x5163e7,_0x270c18)=>{const _0x5dfb3c=_0x16690e;var _0x1e8393;if(_0x5163e7['id']!==_0xe81250[_0x5dfb3c(0xb8)]['id'])return;let _0x30595c=_0x5163e7[_0x5dfb3c(0x22a)];if(this['_hasFormulaInDirtyRanges']((_0x1e8393=_0x30595c['dirtyRanges'])==null?[]:_0x1e8393)&&!this['_checkCalculationAvailable']())throw this[_0x5dfb3c(0x2a5)](_0x5163e7,_0x270c18),this['_showGuardMessage'](),new _0x13030d[(_0x5dfb3c(0x1c7))]();})),this[_0x16690e(0x220)](this['_commandService']['onCommandExecuted']((_0x182718,_0x2add67)=>{const _0xf2c3d0=_0x16690e;if(_0x182718['id']!==_0xe81250['SetFormulaCalculationNotificationMutation']['id'])return;let _0x4d3550=_0x182718['params'];if(_0x447e58(_0x4d3550)){let _0x4f85a5=(0x0,_0x13030d['generateRandomId'])();this[_0xf2c3d0(0x211)][_0xf2c3d0(0x264)](_0x4f85a5),this[_0xf2c3d0(0x27f)](_0x4f85a5);}else{if(_0x3dc7a8(_0x4d3550)&&this[_0xf2c3d0(0x211)][_0xf2c3d0(0x36e)]>0x0){let _0x8c0042=this[_0xf2c3d0(0x211)][_0xf2c3d0(0x153)]();this[_0xf2c3d0(0x16f)](_0x8c0042);}}}));}['dispose'](){const _0x224cc5=_0x24b96c;super['dispose'](),this[_0x224cc5(0x1db)](),this[_0x224cc5(0x211)]=[],this[_0x224cc5(0x1e9)]=0x0,this[_0x224cc5(0x2bf)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x11bc57,_0x3a9b59){const _0x418a1e=_0x24b96c;for(let _0x5b2cf9=0x0;_0x5b2cf9<0x1e;_0x5b2cf9++)try{if(await this[_0x418a1e(0x2e1)](),this[_0x418a1e(0xce)]()){this[_0x418a1e(0x13f)](_0x11bc57,_0x3a9b59),this[_0x418a1e(0x101)][_0x418a1e(0x2d9)]({'content':this[_0x418a1e(0x1ac)]['t'](_0x418a1e(0x2c0)),'type':_0x3df4e2[_0x418a1e(0x13b)][_0x418a1e(0x279)]});return;}await new Promise(_0x50b9a6=>{const _0x433858=_0x418a1e;this[_0x433858(0x176)]=window[_0x433858(0x189)](_0x50b9a6,0x3e8);});}catch(_0x13a00d){this[_0x418a1e(0xec)][_0x418a1e(0xaf)](_0x13a00d);}this[_0x418a1e(0x101)][_0x418a1e(0x2d9)]({'content':this['_localeService']['t'](_0x418a1e(0x12c)),'type':_0x3df4e2[_0x418a1e(0x13b)]['Error']});}[_0x24b96c(0x13f)](_0x45a143,_0x968484){const _0x3a31cf=_0x24b96c;try{this[_0x3a31cf(0xa0)][_0x3a31cf(0x2a4)](_0x45a143['id'],_0x45a143[_0x3a31cf(0x22a)],_0x968484);}catch(_0x4755dd){this[_0x3a31cf(0xec)][_0x3a31cf(0xaf)](_0x4755dd);}}[_0x24b96c(0x360)](_0x3f48be,_0x193a1b){const _0x39951e=_0x24b96c;_0x193a1b<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x193a1b,this[_0x39951e(0x2bf)]=Number[_0x39951e(0x34f)](_0x3f48be[_0x39951e(0x2f7)]),this[_0x39951e(0x1e9)]=Number['parseInt'](_0x3f48be[_0x39951e(0x1d4)]));}async[_0x24b96c(0x27f)](_0x3b7e92){const _0x197f79=_0x24b96c;let _0x2649f8=Date['now']();try{var _0x28ffa4,_0x4defd6;let _0x192a3a=((_0x28ffa4=this['_configService'][_0x197f79(0x3a4)](_0x4a06d2[_0x197f79(0x386)]))==null?void 0x0:_0x28ffa4[_0x197f79(0x1e8)])||'/universer-api/license/formula/limit/start',_0x4997cf=(await this['_httpService'][_0x197f79(0x217)](_0x192a3a,{'body':JSON[_0x197f79(0x2e7)]({'taskId':_0x3b7e92})}))['body'];if(((_0x4defd6=_0x4997cf['error'])==null?void 0x0:_0x4defd6[_0x197f79(0xbb)])!==_0x4da0aa['OK'])return;this['_setFormulaLimitStatus'](_0x4997cf[_0x197f79(0xc4)],_0x2649f8);}catch(_0x7d58cf){this[_0x197f79(0xec)]['error'](_0x7d58cf);}}async[_0x24b96c(0x2e1)](_0x3d91f7){const _0x144190=_0x24b96c;let _0x37c3f5=Date['now']();try{var _0x482089,_0x1bb055;let _0x371315=((_0x482089=this[_0x144190(0xb0)][_0x144190(0x3a4)](_0x4a06d2[_0x144190(0x386)]))==null?void 0x0:_0x482089['getFormulaLimitStatusUrl'])||_0x144190(0x344),_0x5a6a0d=_0x3d91f7?_0x371315+'?taskId='+encodeURIComponent(_0x3d91f7):_0x371315,_0x1a131c=(await this['_httpService'][_0x144190(0x283)](_0x5a6a0d))[_0x144190(0x1da)];if(((_0x1bb055=_0x1a131c[_0x144190(0xaf)])==null?void 0x0:_0x1bb055[_0x144190(0xbb)])!==_0x4da0aa['OK'])return;this[_0x144190(0x360)](_0x1a131c[_0x144190(0xc4)],_0x37c3f5);}catch(_0x313972){this[_0x144190(0xec)][_0x144190(0xaf)](_0x313972);}}async['_releaseCalculationLimit'](_0x5c3b35){const _0x58db7b=_0x24b96c;let _0x2fbf33=Date[_0x58db7b(0x393)]();try{var _0x446e66,_0x50fab0;let _0x779325=((_0x446e66=this[_0x58db7b(0xb0)][_0x58db7b(0x3a4)](_0x4a06d2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x446e66[_0x58db7b(0xde)])||_0x58db7b(0x383),_0x2f09e2=(await this[_0x58db7b(0x113)][_0x58db7b(0x217)](_0x779325,{'body':JSON[_0x58db7b(0x2e7)]({'taskId':_0x5c3b35})}))[_0x58db7b(0x1da)];if(((_0x50fab0=_0x2f09e2['error'])==null?void 0x0:_0x50fab0[_0x58db7b(0xbb)])!==_0x4da0aa['OK'])return;this[_0x58db7b(0x360)](_0x2f09e2[_0x58db7b(0xc4)],_0x2fbf33);}catch(_0x1fa1e2){this[_0x58db7b(0xec)]['error'](_0x1fa1e2);}}[_0x24b96c(0xce)](){const _0x3908c0=_0x24b96c;return this[_0x3908c0(0x2bf)]===0x0?!0x0:this[_0x3908c0(0x2bf)]-this[_0x3908c0(0x1e9)]>0x0;}[_0x24b96c(0x1db)](){const _0x4c05c2=_0x24b96c;this[_0x4c05c2(0x176)]&&(clearTimeout(this[_0x4c05c2(0x176)]),this['_pollingInterval']=null);}[_0x24b96c(0x14f)](){const _0x18de74=_0x24b96c;this['_messageService'][_0x18de74(0x2d9)]({'content':this[_0x18de74(0x1ac)]['t'](_0x18de74(0x2ba)),'type':_0x3df4e2[_0x18de74(0x13b)][_0x18de74(0xe9)]});}[_0x24b96c(0xcc)](_0x14bd4e){const _0x4205b9=_0x24b96c;for(let _0x39fbeb of _0x14bd4e){let {unitId:_0xe9a631,sheetId:_0x2c5c81,range:_0x104d93}=_0x39fbeb,_0x25a22a=this['_univerInstanceService']['getUnit'](_0xe9a631);if(!_0x25a22a)continue;let _0x45bc52=_0x25a22a[_0x4205b9(0xa2)](_0x2c5c81);if(!_0x45bc52)continue;let _0x53cf56=_0x45bc52['getCellMatrix']();for(let _0x8a89fd=_0x104d93['startRow'];_0x8a89fd<=_0x104d93[_0x4205b9(0x225)];_0x8a89fd++)for(let _0xc7c22=_0x104d93['startColumn'];_0xc7c22<=_0x104d93[_0x4205b9(0xae)];_0xc7c22++){let _0x447fef=_0x53cf56['getValue'](_0x8a89fd,_0xc7c22);if(_0x447fef&&((0x0,_0x13030d['isFormulaString'])(_0x447fef['f'])||(0x0,_0x13030d[_0x4205b9(0xd0)])(_0x447fef['si'])))return!0x0;}}return!0x1;}};_0x31ebc2=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d['Inject'])(_0x429bdf['IMessageService'])),_0x517da2(0x1,_0x13030d['ICommandService']),_0x517da2(0x2,_0x13030d[_0x24b96c(0x23f)]),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x4,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x5,_0x13030d['ILogService']),_0x517da2(0x6,(0x0,_0x13030d['Inject'])(_0x13030d[_0x24b96c(0x381)]))],_0x31ebc2);let _0x4f755f=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x2183cc,_0x4d688a,_0x3de2f8){const _0x7ab778=_0x24b96c;super(),this[_0x7ab778(0xb0)]=_0x2183cc,this[_0x7ab778(0x375)]=_0x4d688a,this[_0x7ab778(0xba)]=_0x3de2f8,_0x32f982(this,_0x7ab778(0x236),new Map()),_0x32f982(this,_0x7ab778(0x1b0),new Map()),_0x32f982(this,_0x7ab778(0x205),!0x1);}[_0x24b96c(0x2d3)](){const _0x524419=_0x24b96c;this[_0x524419(0x205)]=!0x0;}['enableLocalCache'](){const _0x1f291e=_0x24b96c;this[_0x1f291e(0x205)]=!0x1;}get[_0x24b96c(0x32b)](){return this['_saveTaskMap'];}['dispose'](){const _0xb42c23=_0x24b96c;this['exhaustSavingTask']()[_0xb42c23(0x100)](()=>super[_0xb42c23(0x29f)]());}async[_0x24b96c(0xd5)](_0x48df14){const _0x3a4f3b=_0x24b96c;return this[_0x3a4f3b(0x205)]?null:this[_0x3a4f3b(0x375)][_0x3a4f3b(0x202)]((0x0,_0x4a06d2[_0x3a4f3b(0x13c)])(_0x48df14));}async[_0x24b96c(0x364)](_0x926570,_0x194ecf){const _0x4020a4=_0x24b96c;return!!this['_localStorageService'][_0x4020a4(0x178)](_0x926570,_0x194ecf);}['updateOfflineData'](_0x14c198,_0x568481,_0x370efa,_0x52615d){const _0x38e829=_0x24b96c;let _0x3e109b=this[_0x38e829(0xba)][_0x38e829(0x27e)](_0x14c198);this[_0x38e829(0x236)][_0x38e829(0x13e)](_0x14c198,{'unitID':_0x14c198,'type':_0x568481,'awaitingChangeset':_0x370efa,'mutations':_0x52615d,'rev':_0x3e109b}),this[_0x38e829(0x1b0)][_0x38e829(0x361)](_0x14c198)||this[_0x38e829(0x2eb)](_0x14c198);}['_scheduleSaving'](_0x421495){const _0x49af2e=_0x24b96c;let _0x3f8f9f=this['_getSaveTimeout']();_0x3f8f9f===0x0?this[_0x49af2e(0x2c7)](_0x421495):this[_0x49af2e(0x1b0)][_0x49af2e(0x13e)](_0x421495,setTimeout(()=>this[_0x49af2e(0x2c7)](_0x421495),_0x3f8f9f));}[_0x24b96c(0x246)](){const _0x2c12e9=_0x24b96c;var _0x397e1b;return(_0x397e1b=this['_configService'][_0x2c12e9(0x3a4)](_0x4a06d2[_0x2c12e9(0x3a1)]))==null?_0x4a06d2['LOCAL_CACHE_INTERVAL']:_0x397e1b;}[_0x24b96c(0x2c7)](_0x4914c8){const _0x2315a1=_0x24b96c;let _0x479973=this[_0x2315a1(0x1b0)][_0x2315a1(0x283)](_0x4914c8);return _0x479973!==void 0x0&&window[_0x2315a1(0x395)](_0x479973),this[_0x2315a1(0x375)]['setItem']((0x0,_0x4a06d2[_0x2315a1(0x13c)])(_0x4914c8),this[_0x2315a1(0x236)][_0x2315a1(0x283)](_0x4914c8))[_0x2315a1(0x100)](()=>this[_0x2315a1(0x1b0)][_0x2315a1(0x103)](_0x4914c8));}async['exhaustSavingTask'](){const _0x5a6c65=_0x24b96c;let _0x1704fd=[];this[_0x5a6c65(0x1b0)][_0x5a6c65(0x172)]((_0x5cf478,_0x5a5766)=>{const _0x2d3cc0=_0x5a6c65;window[_0x2d3cc0(0x395)](_0x5cf478),_0x1704fd['push'](this['_saveCache'](_0x5a5766)[_0x2d3cc0(0x100)](()=>{const _0x32c82d=_0x2d3cc0;this['_saveTaskMap'][_0x32c82d(0x103)](_0x5a5766);}));}),await Promise[_0x5a6c65(0xbd)](_0x1704fd);}};_0x4f755f=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x23f)]),_0x517da2(0x1,_0x13030d[_0x24b96c(0x131)]),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x486545[_0x24b96c(0x256)]))],_0x4f755f);var _0xabb915=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(){const _0x5823ba=_0x24b96c;super(),_0x32f982(this,'urlChange$',void 0x0),this[_0x5823ba(0x31b)]=(0x0,_0x594669['fromEvent'])(window,_0x5823ba(0x377))[_0x5823ba(0x2be)]((0x0,_0x594669[_0x5823ba(0xc0)])(this['dispose$']),(0x0,_0x594669['shareReplay'])(0x1),(0x0,_0x594669[_0x5823ba(0x337)])(void 0x0));}[_0x24b96c(0x2e5)](_0x9619b1,_0x532230,_0x3211a5=!0x1){const _0x4bb329=_0x24b96c;let _0x2bb504=new URL(window[_0x4bb329(0x22f)][_0x4bb329(0x1bb)]);_0x2bb504[_0x4bb329(0x33b)][_0x4bb329(0x13e)](_0x9619b1,_0x532230),_0x3211a5?window[_0x4bb329(0xaa)][_0x4bb329(0x12e)]('','',_0x2bb504[_0x4bb329(0x2d6)]()):window['history'][_0x4bb329(0x22e)]('','',_0x2bb504[_0x4bb329(0x2d6)]());}[_0x24b96c(0x16d)](_0x1858cb,_0x14f193=!0x1){const _0x3f73ea=_0x24b96c;let _0x54ba53=new URL(window[_0x3f73ea(0x22f)]['href']);_0x54ba53[_0x3f73ea(0x33b)]['delete'](_0x1858cb),_0x14f193?window['history'][_0x3f73ea(0x12e)]('','',_0x54ba53['toString']()):window[_0x3f73ea(0xaa)][_0x3f73ea(0x22e)]('','',_0x54ba53[_0x3f73ea(0x2d6)]());}['getParam'](_0x14935b){const _0x118272=_0x24b96c;var _0x4ee8a7;return(_0x4ee8a7=new URL(window[_0x118272(0x22f)]['href'])[_0x118272(0x33b)][_0x118272(0x283)](_0x14935b))==null?void 0x0:_0x4ee8a7;}};let _0x3db514=class extends _0x13030d[_0x24b96c(0xfa)]{constructor(_0x35bb5=_0x475def,_0xb69bcd,_0x338368,_0x27250f){const _0x3be8d0=_0x24b96c;super(),this['_config']=_0x35bb5,this[_0x3be8d0(0x136)]=_0xb69bcd,this[_0x3be8d0(0x23a)]=_0x338368,this[_0x3be8d0(0xb0)]=_0x27250f;let {..._0x1fb90c}=(0x0,_0x13030d[_0x3be8d0(0xf7)])({},_0x475def,this[_0x3be8d0(0x25d)]);this[_0x3be8d0(0xb0)][_0x3be8d0(0x248)](_0x4f4f93,_0x1fb90c);}[_0x24b96c(0x380)](){const _0x8f6b77=_0x24b96c;this[_0x8f6b77(0x1ee)](),this['_initDependencies']();}[_0x24b96c(0x173)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2c9962=_0x24b96c;var _0x31fabd;let _0x45e9a1=[[_0x57da1c],[_0x31ebc2],[_0x38878b],[_0x5176c7],[_0x570b4f],[_0x26ea35],[_0x55c8b2,{'useClass':_0xabb915}],[_0x24b4f9[_0x2c9962(0x38d)],{'useClass':_0x24b4f9[_0x2c9962(0x170)]}],[_0x4a06d2[_0x2c9962(0x31c)],{'useClass':_0x4f755f}],[_0xab3962],[_0x11d522],[_0x1f50c9],[_0x56259b],[_0x3543c2],[_0x2d4814]];this[_0x2c9962(0x25d)][_0x2c9962(0x17b)]&&_0x45e9a1[_0x2c9962(0x264)]([_0x12c8b7]),(0x0,_0x13030d[_0x2c9962(0x2b5)])(this['_injector'],(0x0,_0x13030d[_0x2c9962(0x228)])(_0x45e9a1,(_0x31fabd=this[_0x2c9962(0x25d)])==null?void 0x0:_0x31fabd[_0x2c9962(0x19c)]));}['_registerRenderDependencies'](){const _0x5d7df6=_0x24b96c;this[_0x5d7df6(0x220)](this[_0x5d7df6(0x136)][_0x5d7df6(0xe3)](_0x13030d[_0x5d7df6(0x3aa)][_0x5d7df6(0xd4)],[_0x3ea851])),this[_0x5d7df6(0x220)](this[_0x5d7df6(0x136)][_0x5d7df6(0xe3)](_0x13030d[_0x5d7df6(0x3aa)]['UNIVER_SHEET'],[_0x52222b]));}[_0x24b96c(0x24d)](){const _0x43f0f2=_0x24b96c;(0x0,_0x13030d[_0x43f0f2(0x38c)])(this['_injector'],[[_0x56259b],[_0xab3962],[_0x11d522],[_0x1f50c9],[_0x2d4814],[_0x31ebc2]]),this['_config']['enableFrontendLog']&&(0x0,_0x13030d[_0x43f0f2(0x38c)])(this[_0x43f0f2(0x23a)],[[_0x12c8b7]]);}};_0x32f982(_0x3db514,'pluginName',_0x24b96c(0x263)),_0x32f982(_0x3db514,_0x24b96c(0x114),_0x4837e7),_0x32f982(_0x3db514,_0x24b96c(0x10b),_0x47cc26),_0x3db514=_0x12d4ea([(0x0,_0x13030d[_0x24b96c(0x350)])(_0x4a06d2[_0x24b96c(0x118)]),_0x517da2(0x1,_0x5bc07b[_0x24b96c(0x162)]),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x3,_0x13030d[_0x24b96c(0x23f)])],_0x3db514);let _0x43ad0c=class extends _0x4a06d2[_0x24b96c(0x303)]{constructor(_0x22afe0,_0x31c531,_0xace4fa,_0x4f3823,_0x28412c){super(_0x22afe0,_0x31c531,_0xace4fa,_0x4f3823,_0x28412c);}async[_0x24b96c(0xa6)](_0xe447e){const _0x1f6732=_0x24b96c;let _0xb307e0=await this['_getSessionTicket'](),_0x2dfa99=this[_0x1f6732(0x2dd)](_0xe447e,_0xb307e0);return this[_0x1f6732(0x23d)](_0x2dfa99);}['_createSocketURL'](_0x29c239,_0x9499ff){const _0x50f71a=_0x24b96c;let _0x5c73cd=typeof window>'u'?new URL(_0x29c239):new URL(_0x29c239,window[_0x50f71a(0x22f)][_0x50f71a(0x2b2)]);_0x5c73cd[_0x50f71a(0x33b)][_0x50f71a(0x13e)](_0x50f71a(0x2c8),_0x9499ff);let _0x1b7bb5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50f71a(0x22f)][_0x50f71a(0x1d1)]);return _0x1b7bb5[_0x50f71a(0x283)](_0x50f71a(0x1ce))&&_0x5c73cd[_0x50f71a(0x33b)][_0x50f71a(0x13e)](_0x50f71a(0x1ce),_0x1b7bb5['get']('runId')),_0x5c73cd[_0x50f71a(0x2d6)]();}async['_getSessionTicket'](){const _0x3406a0=_0x24b96c;var _0x4cebe0,_0x3a279c,_0x1dd9c0;let _0x28ceee=this[_0x3406a0(0xb0)][_0x3406a0(0x3a4)](_0x4a06d2[_0x3406a0(0x386)]),_0x2476be=(_0x4cebe0=_0x28ceee==null?void 0x0:_0x28ceee['wsSessionTicketUrl'])==null?_0x4a06d2[_0x3406a0(0x206)]:_0x4cebe0;return(_0x3a279c=(_0x1dd9c0=(await this[_0x3406a0(0x113)]['get'](_0x2476be,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x1dd9c0[_0x3406a0(0x2da)])==null?'':_0x3a279c;}};_0x43ad0c=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x2,_0x13030d['IConfigService']),_0x517da2(0x3,_0x13030d[_0x24b96c(0x30f)]),_0x517da2(0x4,_0x486545[_0x24b96c(0x3ac)])],_0x43ad0c);let _0xef30b7=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x4389a3,_0x57e51a,_0x19b4db){const _0x43496f=_0x24b96c;super(),this[_0x43496f(0x1b5)]=_0x4389a3,this['_httpService']=_0x57e51a,this[_0x43496f(0xb0)]=_0x19b4db;}async['runOnServer'](_0x1fea69,_0x1ebf20,_0x319dc5,..._0x319971){const _0x2dd3db=_0x24b96c;var _0xfc1093,_0x549b15,_0x423a1a,_0x27e6b4;let _0x54b571=this[_0x2dd3db(0x1b5)][_0x2dd3db(0x16c)]();if(!_0x54b571)throw Error(_0x2dd3db(0x2e4));let _0x4a4252=((_0xfc1093=this[_0x2dd3db(0xb0)][_0x2dd3db(0x3a4)](_0x4a06d2[_0x2dd3db(0xa4)]))==null?_0x4a06d2[_0x2dd3db(0x238)]:_0xfc1093)+'/'+_0x1fea69+_0x2dd3db(0x311)+_0x1ebf20,_0x158ec2={'scriptId':_0x1fea69,'runId':(_0x549b15=new URL(window['location'][_0x2dd3db(0x1bb)])[_0x2dd3db(0x33b)]['get']('runId'))==null?'':_0x549b15,'function':_0x1ebf20,'unitId':_0x54b571[_0x2dd3db(0xf6)](),'argsOfFunction':JSON[_0x2dd3db(0x2e7)](_0x319971),'invokeId':(_0x423a1a=_0x319dc5['invokeId'])==null?'':_0x423a1a,'executionId':(_0x27e6b4=_0x319dc5[_0x2dd3db(0x140)])==null?'':_0x27e6b4};try{let _0x5773d0=await this[_0x2dd3db(0x113)]['post'](_0x4a4252,{'body':_0x158ec2});return _0x5773d0[_0x2dd3db(0x1da)]['error']&&_0x5773d0[_0x2dd3db(0x1da)][_0x2dd3db(0xaf)]['code']!==_0x4da0aa['OK']?_0x2dd3db(0xe4):_0x5773d0[_0x2dd3db(0x1da)][_0x2dd3db(0x362)];}catch{return'Failed';}}};_0xef30b7=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x2,_0x13030d['IConfigService'])],_0xef30b7);var _0x15b42c=function(_0x14c13c){const _0x524b57=_0x24b96c;return _0x14c13c[_0x14c13c[_0x524b57(0xc1)]=0x0]=_0x524b57(0xc1),_0x14c13c[_0x14c13c[_0x524b57(0x276)]=0x1]=_0x524b57(0x276),_0x14c13c[_0x14c13c[_0x524b57(0x1dc)]=0x2]=_0x524b57(0x1dc),_0x14c13c;}(_0x15b42c||{});let _0x529135=0x7530,_0x56d1bf=_0x24b96c(0x226);var _0x4603c6=class extends _0x13030d['Disposable']{constructor(){const _0x3d51e5=_0x24b96c;super(),_0x32f982(this,_0x3d51e5(0x3b1),(0x0,_0x13030d[_0x3d51e5(0x280)])()),_0x32f982(this,_0x3d51e5(0x147),new Set()),_0x32f982(this,_0x3d51e5(0x204),new Map()),_0x32f982(this,'_heartbeatTimer',null),_0x32f982(this,_0x3d51e5(0x2f3),new Map()),_0x32f982(this,_0x3d51e5(0xbf),new Map()),this[_0x3d51e5(0xb7)]();}[_0x24b96c(0x29f)](){const _0x105505=_0x24b96c;super[_0x105505(0x29f)](),this[_0x105505(0x2f3)][_0x105505(0x172)]((_0x521cc2,_0x2e132a)=>this[_0x105505(0x329)](_0x2e132a)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x24b96c(0x316)](_0x340e2b){const _0x4e536f=_0x24b96c;return this[_0x4e536f(0x1c8)](_0x340e2b)[_0x4e536f(0x2be)]((0x0,_0x594669[_0x4e536f(0x229)])());}[_0x24b96c(0x10f)](_0x1f9e16){const _0xf21af7=_0x24b96c;this[_0xf21af7(0x147)][_0xf21af7(0x379)]===0x0&&this['_scheduleHeartbeat'](),this[_0xf21af7(0x147)][_0xf21af7(0x2e8)](_0x1f9e16),this[_0xf21af7(0x18f)]({'type':_0x15b42c[_0xf21af7(0xc1)],'memberID':this[_0xf21af7(0x3b1)],'unitIDs':[_0x1f9e16],'isForwarded':!0x1});}[_0x24b96c(0x27c)](_0x4f346b){const _0x224e16=_0x24b96c;this['_selfUnitIDs'][_0x224e16(0x103)](_0x4f346b),this['_selfUnitIDs']['size']===0x0&&this[_0x224e16(0x27b)]&&window[_0x224e16(0x28a)](this[_0x224e16(0x27b)]);}[_0x24b96c(0xb7)](){const _0x78c228=_0x24b96c;this[_0x78c228(0x220)]((0x0,_0x13030d['toDisposable'])((0x0,_0x594669[_0x78c228(0x397)])(window,_0x78c228(0x37b))['subscribe'](_0x3e1fda=>{const _0x322609=_0x78c228;if(_0x3e1fda[_0x322609(0x37c)]!==_0x56d1bf||!_0x3e1fda['newValue'])return;let _0x23c1c2=JSON[_0x322609(0xf2)](_0x3e1fda['newValue']);this[_0x322609(0x2fc)](_0x23c1c2);}))),window[_0x78c228(0x2ef)]('unload',()=>this[_0x78c228(0x18f)]({'type':_0x15b42c[_0x78c228(0x276)],'memberID':this[_0x78c228(0x3b1)],'unitIDs':Array['from'](this[_0x78c228(0x147)])}));}[_0x24b96c(0x2fc)](_0x5162f3){const _0x337c98=_0x24b96c;switch(_0x5162f3[_0x337c98(0x35c)]){case _0x15b42c[_0x337c98(0xc1)]:this['_handleJoinEvent'](_0x5162f3);break;case _0x15b42c[_0x337c98(0x276)]:this[_0x337c98(0x1f5)](_0x5162f3);break;case _0x15b42c[_0x337c98(0x1dc)]:this[_0x337c98(0x193)](_0x5162f3);break;}}[_0x24b96c(0x1a9)](_0x5099f2){const _0x42060e=_0x24b96c;let {unitIDs:_0x2f0ce8,memberID:_0x21003b,isForwarded:_0x1950d0}=_0x5099f2;_0x2f0ce8[_0x42060e(0x172)](_0x51e139=>{const _0x2fef39=_0x42060e;if(!_0x1950d0&&this[_0x2fef39(0x204)]['has'](_0x51e139)&&this['_ensureSubject'](_0x51e139)[_0x2fef39(0x373)](_0x4a06d2[_0x2fef39(0x332)][_0x2fef39(0xab)]),!this[_0x2fef39(0x204)]['has'](_0x51e139)||!this[_0x2fef39(0x204)][_0x2fef39(0x283)](_0x51e139)[_0x2fef39(0x361)](_0x21003b)){let _0x42582b=this[_0x2fef39(0x204)][_0x2fef39(0x283)](_0x51e139)||new Set();_0x42582b[_0x2fef39(0x2e8)](_0x21003b),this[_0x2fef39(0x204)][_0x2fef39(0x13e)](_0x51e139,_0x42582b),this['_scheduleClearOtherTimer'](_0x21003b);}}),_0x1950d0||this['_send']({'type':_0x15b42c[_0x42060e(0xc1)],'memberID':this[_0x42060e(0x3b1)],'unitIDs':[...this[_0x42060e(0x147)]],'isForwarded':!0x0});}[_0x24b96c(0x2bc)](_0x190fab){const _0x56b706=_0x24b96c;this[_0x56b706(0x329)](_0x190fab);let _0x39a112=window[_0x56b706(0x189)](()=>{const _0x383014=_0x56b706;this[_0x383014(0x204)][_0x383014(0x172)](_0x47dc18=>{const _0x44b16d=_0x383014;_0x47dc18[_0x44b16d(0x103)](_0x190fab);});},_0x529135*0x2);this[_0x56b706(0x2f3)]['set'](_0x190fab,_0x39a112);}[_0x24b96c(0x329)](_0x28e971){const _0x132149=_0x24b96c;if(this['_clearOtherTimers'][_0x132149(0x361)](_0x28e971)){let _0x4cebd7=this[_0x132149(0x2f3)][_0x132149(0x283)](_0x28e971);_0x4cebd7&&window[_0x132149(0x395)](_0x4cebd7),this['_clearOtherTimers']['set'](_0x28e971,null);}}['_handleLeaveEvent'](_0x297a15){const _0x4f0063=_0x24b96c;let {memberID:_0x3f2415,unitIDs:_0x36da90}=_0x297a15;_0x36da90[_0x4f0063(0x172)](_0x116a17=>{const _0x3d5c2a=_0x4f0063;var _0x30f0b3;let _0x448a7c=this[_0x3d5c2a(0x204)]['get'](_0x116a17);_0x448a7c&&(_0x448a7c[_0x3d5c2a(0x103)](_0x3f2415),(_0x30f0b3=this['_ensureSubject'](_0x116a17))==null||_0x30f0b3[_0x3d5c2a(0x373)](_0x448a7c[_0x3d5c2a(0x379)]===0x0?_0x4a06d2['UnitStatus'][_0x3d5c2a(0x181)]:_0x4a06d2['UnitStatus'][_0x3d5c2a(0xab)]));}),this['_removeClearOtherTimer'](_0x3f2415);}[_0x24b96c(0x193)](_0x5002b4){const _0x320f62=_0x24b96c;this[_0x320f62(0x2bc)](_0x5002b4[_0x320f62(0x2ad)]);}[_0x24b96c(0x18f)](_0x209246){const _0x1484a4=_0x24b96c;localStorage[_0x1484a4(0x178)](_0x56d1bf,JSON[_0x1484a4(0x2e7)](_0x209246));}[_0x24b96c(0x255)](){const _0x36d78d=_0x24b96c;this['_heartbeatTimer']=window[_0x36d78d(0xd8)](()=>{const _0x1a0248=_0x36d78d;this[_0x1a0248(0x18f)]({'type':_0x15b42c[_0x1a0248(0x1dc)],'memberID':this[_0x1a0248(0x3b1)]});},_0x529135);}[_0x24b96c(0x1c8)](_0x23eb49){const _0x3e08a3=_0x24b96c;return this['_unitStatus']['has'](_0x23eb49)||this['_unitStatus'][_0x3e08a3(0x13e)](_0x23eb49,new _0x594669[(_0x3e08a3(0x3a6))](_0x4a06d2[_0x3e08a3(0x332)][_0x3e08a3(0x181)])),this[_0x3e08a3(0xbf)][_0x3e08a3(0x283)](_0x23eb49);}};Object[_0x24b96c(0x324)](_0x159966,_0x24b96c(0x274),{'enumerable':!0x0,'get':function(){return _0x43ad0c;}}),Object[_0x24b96c(0x324)](_0x159966,_0x24b96c(0x137),{'enumerable':!0x0,'get':function(){return _0x2d4814;}}),Object[_0x24b96c(0x324)](_0x159966,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0xab3962;}}),_0x159966['IURLService']=_0x55c8b2,Object[_0x24b96c(0x324)](_0x159966,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0xef30b7;}}),_0x159966['SheetCollabCursorShape']=_0x270909,Object['defineProperty'](_0x159966,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x3db514;}}),_0x159966[_0x24b96c(0xfd)]=_0x4603c6,_0x159966[_0x24b96c(0x13d)]=_0xabb915;}));function _0x20d0(){const _0x59783f=['YUUMI_ASYNCIO_CANCELLED','formula.calculation.waiting','ICommandService','_scheduleClearOtherTimer','_startDocCollabCursor','pipe','_maxFormulaLimit','formula.calculation.started','MOBILE_HAS_BEEN_BOUND','USER_IS_ANONYMOUS','width','IBeforeCloseService','idSuffix','START_CALCULATION','_saveCache','sessionTicket','getUnhiddenWorksheets','stageInfo','on-line-icon','jiqing.500','ENTITLE_INSUFFICIENT_QUOTA','xlink:href','univer-flex\x20univer-items-center','Inject','getSheetObject','_entities','disableLocalCache','YUUMI_RATE_OVER_LIMIT',',\x200.2)','toString','text','UNIVER_SHEET','show','ticket','tag','eventID','_createSocketURL','_toggleOnline','UniverRpc','ITransformService','_getFormulaLimitStatus','_colorIndex','getCellPositionByOffset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setParam','transformIMECache','stringify','add','collab-rect-range-','totalFormulasToCalculate','_scheduleSaving','1em','deepClone','RECT','addEventListener','getCoordByCell','serializeRangeWithSheet','_onRefRangeChange','_clearOtherTimers','_updateCollabCursors','onPointerMove$','amd','maxFormulaLimit','@univerjs/docs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_themeService','_lastResponseTimestamp','_handleEvent','UNRECOGNIZED','getCurrentSkeleton','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1114722utllyq','focused$','SUCCESS','CollaborationSocketService','RemoveColCommandId','color','DocSkeletonManagerService','UniverDocsUi','getActiveRange','_collabCursorController','subUnitId','handleMoveRange','url(#$1','beginPath','UniverProCollaboration','ILogService','_sheetSkeletonManagerService','/run/','svg','univerjs-icon\x20univerjs-icon-','row','_name','getUnitStatus$','_docTransformSelectionsService','_labelPosition','values','UniverSheetsUi','urlChange$','ILocalCacheService','_urlService','react','lineno','subscribe','SetWorksheetActivateCommand','FormulaExecuteStageType','loadUnit','defineProperty','none','isTransformMutationFailure','FETCH_MISS','Disposable','_removeClearOtherTimer','getSheetId','saveTaskMap','m2Prime','getOwnPropertyDescriptor','PERMISSION_DENIED','187CjQVBZ','_dataLoaderService','Injector','UnitStatus','setShapeProps','exports','CollaborationUIEventService','cursorInfo','mapTo','docStateChange$','HTTPService','default','searchParams','registerBeforeClose','function','OFFLINE','undoState','cursorInfo$','LOGIN_FAILED','react/jsx-runtime','unitID','/universer-api/license/formula/limit/status','_initEntityListener','stack','rgb','prototype','_roomMembers$','YUUMI_UNABLE_LOAD_URL','switchMap','highlight','send','addHandlerCallback','parseInt','DependentOn','INTERNAL_ERROR','NOT_FOUND','ALREADY_EXISTS','SYNCED','bottom','call','unhandledrejection','UniverDocs','symbol','getRelativeToViewportCoord','Rect','type','collabStatus.fetchMiss','IImageIoService','collabCursorState$','_setFormulaLimitStatus','has','result','labelPosition','saveOfflineData','arc','data','save','REDEMPTION_USER_NOT_ELIGIBLE','handleDeleteRangeMoveUp','1070280HSFFET','createElement','...','@univerjs-pro/collaboration-client-ui','length','assignAColorForMemberID','APPLY_NON_SEQUENTIAL_REVISION','ENTITLE_USE_COUPON_NOT_1ST_TRADE','purple.300','next','_drawTextRange','_localStorageService','_isBlinkVisible','popstate','1081952HUkaQj','size','REDEMPTION_USER_REDEEM_TIMES_EXCEED','storage','key','SetDocZoomRatioOperation','SOCKET_FAILED_RETRY','DATA_SOURCE_TOO_LARGE','onStarting','LocaleService','_memberID','/universer-api/license/formula/limit/done','mutations','rxjs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','asObservable','_collaborationUIEventService','_draw','unsubscribe','touchDependencies','ISocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','setUndoRedoMutationParamsCache','defs','Warning','forwardRef','now','CLOSE_ROOM','clearTimeout','getDocRanges','fromEvent','includes','APPLY_REJECT','ONLINE','LICENSE_EXPORT_SIZE_EXCEEDED','_docSkeletonManagerService','colorChannel1','ColorKit','IDocClipboardService','closePath','LOCAL_CACHE_INTERVAL_KEY','measureText','_cursorShapes','getConfig','_offsetY','BehaviorSubject','trim','AWAITING','getCurrentSelections','UniverInstanceType','[Window\x20Error]:\x20','ISnapshotServerService','string','setOffsetY','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/network','_id','APPLY_PERMISSION_DENIED','getColorFromTheme','setActiveRange','getRangePointData','_commandService','getVpScrollXYInfoByPosToVp','getSheetBySheetId','5VkhaQQ','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','0.2)','createSocket','filter','ThemeService','APPLY_DUPLICATED','history','OTHER_CLIENTS_EDITING','unit','_initStatusComponent','endColumn','error','_configService','ENSURE_SNAPSHOT_EXECUTION','status$','REDEMPTION_CODE_INACTIVE','removeEventListener','COMPLETION_FINISHED','imageSourceType','_init','SetFormulaCalculationStartMutation','_setupSubUnitSync','_revisionService','code','subunit','all','_context','_unitStatus','takeUntil','JOIN','jsx','_cursor','limitInfo','_initResize','connectInjector','getCollabCursors$','flatMap','LICENSE_IMPORT_SIZE_EXCEEDED','_hover','_transformUndoRedoStack','_hasFormulaInDirtyRanges','on-line-icon_clip0_910_349','_checkCalculationAvailable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isFormulaId','@univerjs-pro/collaboration','fillText','onCommandExecuted','UNIVER_DOC','loadOfflineData','_session','MUTATION','setInterval','_beforeCloseService','SetSelectionsOperation','transformMutationsWithChangeset','complete','_localCacheService','releaseFormulaLimitUrl','toStringTag','collaboration-client-ui.config','isArray','1422116RsagXl','registerRenderModule','Failed','Active','beforeCommandExecuted','iterator','fill','Loading','drawWith','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_logService','_memberService','CONFLICT','0\x200\x2016\x2016','object','Error','parse','handleInsertRow','COLORS','off-line-icon_clip0_910_343','getUnitId','merge','transformByState','MoveRangeCommandId','Plugin','clsx','lineTo','WebBrowserSingleActiveUnitService','[CollaborationDataLoaderController]','path','then','_messageService','FromArray','delete','collaboration.offline-data-not-saved','sheetID','UniverSheets','@univerjs/docs-ui','_eventUnsubscribe','handleInsertRangeMoveDown','CONNECTOR_DATA_TOO_LARGE','version','CURRENT_STATUS_CANNOT_OPERATE','_updateLocalCursor','registerRefRange','editingUnit','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/drawing','EMAIL_VERIFY_CODE_MISMATCH','_httpService','packageName','_lastPointer','getTypeOfUnitDisposed$','collabStatus.synced','UniverCollaborationClientPlugin','_render','children','DocCollaborationEntity','UNDEFINED','_docStateChangeManagerService','ranges','\x20at\x20','CollaborationController','throttleTime','ENTITLE_CHAT_LIMIT_EXCEED','moveTo','CollaborationStatus','saveImage','getMemberID','2gnLzSu','_updateURLWithCurrentState','DocIMEInputManagerService','random','getRenderById','formula.calculation.unable','getActiveSheet','replaceState','Module','_getMergeRange','ILocalStorageService','textRanges','LOGIN_TOKEN_PROCESSING_FAILED','UniverNetwork','getValue','_renderManagerService','CollaborationDataLoaderController','decorate','IRemoteInstanceService','@univerjs/sheets','MessageType','getLocalCacheKey','WebURLService','set','_applyCommand','executionId','_univerInstanceService','Tools','getUndoRedoMutationParamsCache','ENTITLE_INVALID_COUPON_CODE','45618smWpZd','INVALID_ARGUMENT','_selfUnitIDs','toDisposable','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_monkeyPatchLogService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','triggerDblclick','permission.content','_showGuardMessage','_transformPreviousActiveRange','clipPath','ENTITLE_DUP_SUBSCRIPTION','shift','USER_NOT_INVITED_CODE','_syncEditingCollabCursorService','React','_assignedColors','777YOMzom','dispose$','JOIN_ROOM_FAILED','top','_anchor','deserializeRangeWithSheet','_initStatusListener','_range','split','blue.400','IRenderManagerService','_imageIoService','_initUserListener','hide','SNAPSHOT_HAS_BEEN_REMOVED','slice','height','_blinkIntervalTimer','DocSelectionManagerService','findNodePositionByCharIndex','getFocusedUnit','removeParam','collab-client.tooltip.reconnect','_releaseCalculationLimit','WebSocketService','AWAITING_WITH_PENDING','forEach','onRendered','InsertRangeMoveRightCommandId','div','_pollingInterval','EffectRefRangId','setItem','UniverDrawing','_backgroundColor','enableFrontendLog','DocStateChangeManagerService','evenodd','displayName','RegularPolygon','_getAnchorBounding','NO_OTHER_CLIENTS_EDITING','_getSheetObject','NodePositionConvertToCursor','showText','fillStyle','url(#on-line-icon_clip0_910_349)','white','debounceTime','setTimeout','subscribeEvent','USERS_LEAVE','syncEditingCollabCursor','DeleteRangeMoveUpCommandId','_collabSessionService','_send','use','_hideTimer','_removeCollabCursors','_handleHeartbeatEvent','_initWindowErrorListener','CollaborationEvent','column','http://www.w3.org/2000/svg','YUUMI_CONNECTOR_URL_NOT_FOUND','useDependency','VIEW_MAIN','DisposableCollection','override','debug','onPointerLeave$','_docTransformStateCacheService','INVITE_CODE_HAS_BEEN_UES','USER_NOT_FOUND','engine','event$','Tooltip','InsertRangeMoveDownCommandId','Unknown\x20user','range','stage','_handleJoinEvent','_stopBlinking','handleDeleteRangeMoveLeft','_localeService','_blinkTimer','doc.mutation.rich-text-editing','bind','_saveTaskMap','Shape','_startSheetCollabCursor','roomMembers$','TEXT_RANGE_LAYER_INDEX','_instanceService','REDEMPTION_CODE_HAS_BEEN_CREATED','entries','uni.network.url-service','_initCommandInterceptor','_collabCursorState$','href','CollaborationUIEventId','OTHER_CLIENT_EDITING','collab-text-anchor-','unitId','REDEMPTION_CODE_NOT_STARTED','substring','startsWith','restore','name','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getParam','CanceledError','_ensureSubject','round','font','currentTheme$','[LogService\x20Error]:\x20','setAlpha','runId','_collaborationSessionService','red.300','search','createInstance','makeDirty','currentUsage','APPLY_REVISION_CONFILICT','_onCursorUpdate','SOCKET_FAILED','_transformHistoryAndStateStack','_colorAssignService','body','_clearPolling','HEARTBEAT','_shapes','_highlightSecond','_scene','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UPDATE_CURSOR','transformStateCache','collabStatus.notCollab','_online','_collaborationController','handleInsertCol','addObjects','startFormulaLimitUrl','_currentUsage','UniverProCollaborationClient','useCallback','getMergeData','combineLatest','_registerDependencies','DOC_RANGE_TYPE','HEADER_MENU','handleIRemoveCol','SessionStatus','rgba(255,\x20255,\x20255,\x200.01)','CHANGESET_REVISION_CONFILICT','_handleLeaveEvent','functionsExecutedState','BuiltInUIPart','_handleHover','842750jDHWJz','SetTextSelectionsOperation','[Unhandled\x20Rejection]:\x20','reason','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_uiPartsService','actions','@univerjs/sheets-ui','_uploadLog','getItem','_updateSubUnitFromURLParams','_unitOnClients','_disabled','DEFAULT_WS_SESSION_TICKET_URL','isActive','NOT_COLLAB','ENTITLE_NEED_BILLING_ADDRESS','contains','_document','url(#off-line-icon_clip0_910_343)','offsetY','_refRangeService','fillRule','transformRemoteChangeset','_taskIds','_cursors','getStateCache','_getScale','_docClipboardService','isTransformMutationsWithChangesetSuccess','post','EMAIL_HAS_BEEN_BOUND','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Subject','getTypeOfUnitAdded$','ENTITLE_COUPON_EXPIRED','addObject','@univerjs/design','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','disposeWithMe','highlightSecond','@univerjs/engine-render','REDEMPTION_CODE_FULLY_REDEEMED','hovered','endRow','ACTIVE_UNIT_EVENT_CHANNEL','Inactive','mergeOverrideWithDependencies','distinctUntilChanged','params','getOffsetConfig','296931QwdxAv','_transformService','pushState','location','requireSession','selection','collabStatus.syncing','REDEMPTION_INVALID_CODE','join','IUniverInstanceService','_cachedData','with','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initCommandExecutedListener','_injector','setStateCache','_highlight','_doCreateSocket','_color','IConfigService','@univerjs/ui','session.collaboration-timeout','_cursorInfo$','UniverCore','ENTITLE_REPORT_LIMIT_EXCEED','addClipboardHook','_getSaveTimeout','ENTITLE_COUPON_USED_UP','setConfig','filename','_notificationService','TEXT','AUTHORIZE_CODE_ILLEGAL','_initDependencies','_getLighterColor','min','colno','_docTransformIMECacheService','handleInsertRangeMoveRight','defIds','unshift','_scheduleHeartbeat','RevisionService','OffLineIcon','_onCursorDelete','_drawRectRange','INVALID_INVITE_CODE','onMouseMove','YUUMI_NO_CUBOID_FOR_QUESTION','_config','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getAncestorScale','LICENSE_DISTRO_REJECTED','PENDING','_status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','push','NodePositionConvertToRectRange','backgroundColor','createIdentifier','handleIRemoveRow','max','transformMutation','_initUnhandledRejectionListener','transformSelections','_docSyncEditingCollabCursorService','collaboration.closeRoom','translate(.97)','from','_setupBeforeClosingHandler','m1Prime','InsertColCommandId','BrowserCollaborationSocketService','yellow.400','LEAVE','_textBubble','toRgbString','Success','getColor','_heartbeatTimer','disposeUnit','selections','getCurrentRevOfUnit','_startCalculationLimit','generateRandomId','_drawAnchor','WECHAT_HAS_BEEN_BOUND','get','_anchorDot','getMember','sessionStatus$','#FFF','map','onPointerEnter$','clearInterval','TOO_MANY_REQUESTS','MOBILE_VERIFY_CODE_MISMATCH','_refreshCollabCursors','getUniverSheetInstance','mask','message','RefRangeService','INVITE_CODE_REQUIRED','_entityInit$','getSkeleton','roomMembers','YUUMI_ALL_TABLES_IS_INVALID','Vector2','activeSheet$','find','YUUMI_URL_COL_OUT_OF_RANGE','useObservable','MemberService','YUUMI_AI_RUN_FAILED','replace','dispose','runRefRangeMutations','UniverEngineRender','redoState','constructor','executeCommand','_checkAndWaitForCalculationPermission','_showText','_toggleOffline','0.20.1','FormulaExecutedStateType','INVITE_CODE_ALREADY_BOUND','_hovered','currentSkeleton$','memberID','RxDisposable','onTransformChange$','debounce','black','origin','attrs','collaboration.single-unit.warning','registerDependencies','some','M0\x200H16V16H0z','catch'];_0x20d0=function(){return _0x59783f;};return _0x20d0();}
8
+ function _0x1170(){const _0x378a22=['unitId','getColor','min','RxDisposable','WebSocketService','UniverSheets','RichTextEditingMutation','_configService','size','UNIVER_SHEET','_removeCollabCursors','addObject','key','m1Prime','resize','result','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','engine','1em','rgba(255,\x20255,\x20255,\x200.01)','UniverSheetsUi','_renderManagerService','replaceDocRanges','getTypeOfUnitDisposed$','/universer-api/license/formula/limit/start','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','eventID','MessageType','drawWith','_initCommandExecutedListener','off-line-icon_clip0_910_343','jsx','Rectangle','roomMembers$','mask','join','ErrorCode','UniverNetwork','UniverProtocol','handleInsertRangeMoveDown','Success','status$','textRanges','collaboration.closeRoom','_blinkIntervalTimer','evenodd','prototype','setTimeout','SYNCED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','getActiveRange','addObjects','_assignedColors','on-line-icon_clip0_910_349','isTransformMutationFailure','createInstance','_updateSubUnitFromURLParams','saveOfflineData','PERMISSION_DENIED','_getAnchorBounding','_monkeyPatchLogService','path','requireSession','ONLINE','_startDocCollabCursor','_collabCursorState$','_colorIndex','UniverCollaborationClientPlugin','getSheetObject','maxFormulaLimit','createElement','_entityInit$','ranges','Disposable','subUnitId','searchParams','_refreshCollabCursors','[Window\x20Error]:\x20','0.21.0','toRgbString','_getSheetObject','registerBeforeClose','popstate','moveTo','forwardRef','iterator','_notificationService','_toggleOnline','on-line-icon','isActive','_updateLocalCursor','_anchor','selection','_getLighterColor','location','replace','debug','univer-h-8\x20univer-w-8\x20univer-rounded-lg','InsertRangeMoveRightCommandId','_stopBlinking','/universer-api/license/formula/limit/status','unload','black','setUndoRedoMutationParamsCache','3YPMfgM','getCurrentUnitForType','\x20at\x20','_handleEvent','DataLoaderService','has','getParam','replaceState','defs','focused$','_setFormulaLimitStatus','restore','_drawAnchor','show','_color','post','handleIRemoveRow','_onCursorDelete','random','LEAVE','substring','_initResize','Inactive','currentSkeleton$','_document','transform','debounce','stringify','UniverProCollaboration','AWAITING_WITH_PENDING','forEach','SheetsSelectionsService','code','split','call','FormulaExecuteStageType','Injector','memberID','_context','_online','setShapeProps','i18nKey','red.300','_revisionService','getUnitStatus$','OTHER_CLIENTS_EDITING','_removeClearOtherTimer','_maxFormulaLimit','dispose$','onStarting','collabStatus.offline','@univerjs/protocol','_initUnhandledRejectionListener','_initCommandInterceptor','loadUnit','onCommandExecuted','length','transformMutation','_startCalculationLimit','init','_localCacheService','green.600','map','string','780gpdRRC','@univerjs-pro/collaboration-client','url(#on-line-icon_clip0_910_349)','round','_initEvent','top','_pollingInterval','ILocalCacheService','_highlight','SetSelectionsOperation','xlink:href','LOCAL_CACHE_INTERVAL_KEY','setItem','undoState','\x20-\x20','type','tag','filter','version','_commandService','constructor','toPrimitive','stage','useRef','switchMap','_heartbeatTimer','SOCKET_FAILED','@univerjs/drawing','_shapes','unsubscribe','_toggleOffline','currentTheme$','getUniverSheetInstance','transformStateCache','Active','_logService','391844abOGYV','getDocRanges','getOwnPropertyDescriptor','UniverCore','Module','Inject','_collaborationUIEventService','data','univer-border-none\x20univer-bg-transparent','session.collaboration-timeout','InsertRowCommandId','removeEventListener','storage','_releaseCalculationLimit','hide','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collaborationController','runId','collabStatus.fetchMiss','startsWith','_themeService','_disabled','USERS_LEAVE','Shape','sessionTicket','UniverProCollaborationClient','some','IRenderManagerService','getMember','_labelPosition','SheetCollabCursorShape','_taskIds','_saveCache','editingUnit','_registerDependencies','takeUntil','_createSocketURL','_getSaveTimeout','_config','event$','_cursors','_name','assignAColorForMemberID','functionsExecutedState','merge','?taskId=','getRenderById','bottom','unhandledrejection','exports','UniverCollaborationClientUIPlugin','shift','pushState','RemoteUniscriptService','runOnServer','_transformService','FromArray','collab-text-range-','packageName','colorClass','_hovered','rgb','preventDefault','get','getCellMatrix','startRow','useObservable','_scheduleHeartbeat','transformMutationsWithChangeset','_initEntityListener','lineTo','SetFormulaCalculationStartMutation','INotificationService','values','entityInit$','error','UniverEngineFormula','createSocket','UnitStatus','0.2)','clipPath','amd','IRemoteInstanceService','CollaborationSessionService','univer-text-orange-500','attrs','DeleteRangeMoveLeftCommandId','OnLineIcon','http://www.w3.org/2000/svg','isTransformMutationsWithChangesetSuccess','_docClipboardService','m2Prime','_handleHover','/universer-api/frontend/logs','useMemo','_unitStatus','fromEvent','labelPosition','getVpScrollXYInfoByPosToVp','_transformHistoryAndStateStack','_highlightSecond','collabStatus.syncing','limitInfo','white','_univerInstanceService','#0B9EFB','BehaviorSubject','releaseFormulaLimitUrl','translate(.97)','_memberID','univer-text-blue-500','width','SessionStatus','function','_messageService','hovered','_range','updateOfflineData','sessionStatus$','getRangePointData','whenReady','registerRefRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','div','includes','COLORS','6ExVLxz','...','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_docTransformSelectionsService','_setupBeforeClosingHandler','connectInjector','DocStateChangeManagerService','startFormulaLimitUrl','getSheetId','BrowserCollaborationSocketService','3320MPDiAF','_isBlinkVisible','collaboration.offline-data-not-saved','CLOSE_ROOM','_instanceService','setActiveRange','unitID','serializeRangeWithSheet','InsertRangeMoveDownCommandId','name','reconnect','transformSelections','Error','syncEditingCollabCursor','DesktopCollaborationStatusDisplayController','RefRangeService','Workbook','_registerRenderDependencies','getSkeleton','_onRefRangeChange','getConfig','formula.calculation.started','SOCKET_FAILED_RETRY','shareReplay','decorate','_cursorShapes','_showGuardMessage','_anchorDot','loadOfflineData','enableFrontendLog','_showText','getFocusedUnit','docStateChange$','_offsetY','operators','ISocketService','DocSkeletonManagerService','wsSessionTicketUrl','_init','href','getAncestorScale','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loading-multi-icon','backgroundColor','transformByState','purple.300','isArray','5408520mIddGV','_imageIoService','highlight','IMessageService','getRelativeToViewportCoord','mapTo','_blinkTimer','LOCAL_CACHE_INTERVAL','_startBlinking','closePath','sheetId','ThemeService','onLocalMutation','CollaborationController','getFormulaLimitStatusUrl','findNodePositionByCharIndex','getViewport','_onCursorUpdate','addEventListener','row','body','SetDocZoomRatioOperation','getItem','_sheetSkeletonManagerService','_docSyncEditingCollabCursorService','getStateCache','_lastPointer','history','HTTPService','jiqing.500','endRow','getCoordByCell','DocIMEInputManagerService','UniverProCollaborationClientUi','ITransformService','imageSourceType','RegularPolygon','subunit','_initDependencies','dispose','message','@univerjs/sheets','_textBubble','color','Failed','setInterval','_collabCursorController','_scheduleClearOtherTimer','session.will-retry','_unitOnClients','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','univer-text-green-500','CollaborationSocketService','lineno','default','_uiPartsService','_hover','_currentUsage','_clearPolling','Enter','isFormulaId','[Unhandled\x20Rejection]:\x20','_saveTaskMap','endColumn','_getSessionTicket','_scheduleSaving','OTHER_CLIENT_EDITING','roomMembers','DependentOn','highlightSecond','height','setParam','offsetY','SetWorksheetActivateCommand',',\x200.2)','push','distinctUntilChanged','combineLatest','_memberService','collabStatus.synced','set','currentColor','deepClone','0\x200\x2016\x2016','SUBMIT_CHANGESET_TIMEOUT','_handleJoinEvent','Tools','registerComponent','@univerjs/ui','_transformUndoRedoStack','filename','collab-client.tooltip.reconnect','_roomMembers$','CONFLICT','entries','univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-red-500','NOT_COLLAB','totalFormulasToCalculate','UniverDocsUi','CollaborationEvent','PENDING','_docSkeletonManagerService','colorChannel1','spin','beginPath','exhaustSavingTask','save','all','asObservable','beforeCommandExecuted','_cursor','RemoveColCommandId','setAlpha','cursorInfo$','_clearOtherTimers','React','_id','_cachedData','6540940siLseu','FETCH_MISS','true','ILocalStorageService','_draw','yellow.400','_startSheetCollabCursor','10984784lqCUHX','EffectRefRangId','session.connection-failed','currentUsage','throttleTime','generateRandomId','parse','getUnhiddenWorksheets','getOffsetConfig','override','executionId','UniverDocs','_session','current','text','Unknown\x20user','217413WoMGzS','strokeWidth','_checkAndWaitForCalculationPermission','_docStateChangeManagerService','getColorFromTheme','_ensureSubject','RECT','svg','SetTextSelectionsOperation','@univerjs/core','getValue','AWAITING','IURLService','Loading','symbol','reason','toString','Warning','saveTaskMap','getUnit','params','_updateURLWithCurrentState','[CollaborationDataLoaderController]','redoState','onRendered','_entities','@univerjs/sheets-ui','M0\x200H16V16H0z','saveImage','_cursorInfo$','defineProperty','collabStatus.notCollab','_collabSessionService','fillRule','rgba(','urlChange$','stageInfo','clsx','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_applyCommand','setOffsetY','HEARTBEAT','UniverInstanceType','object','_send','univer-inline-flex\x20univer-items-center\x20univer-justify-center','Tooltip','_httpService','SHEET_VIEWPORT_KEY','IConfigService','BuiltInUIPart','slice','DocSelectionManagerService','indicator','children','ICommandService','_collaborationSessionService','getUnitId','getCollabEntity$','complete','deserializeRangeWithSheet','doc.mutation.rich-text-editing','rxjs','Rect','TEXT','range','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','LocaleService','unshift','_refRangeService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','unit','status','onPointerLeave$','SUCCESS','url(#$1','_lastResponseTimestamp','disposeWithMe','_getFormulaLimitStatus','handleIRemoveCol','clickable','delete','Vector2','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_transformPreviousActiveRange','CollaborationUIEventId','_drawTextRange','getTypeOfUnitAdded$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN','search','TEXT_RANGE_LAYER_INDEX','Optional','JOIN_ROOM_FAILED','UniverRpc','_initWindowErrorListener','arc','span','@univerjs/docs-ui','measureText','parseInt','_initStatusListener','next','getSheetBySheetId','@univerjs-pro/collaboration-client-ui','pipe','[LogService\x20Error]:\x20','_status$','_backgroundColor','_urlService','fillText','collab-text-anchor-','#FFF','debounceTime','isEditing','CollaborationStatus','transformIMECache','useDependency','_selfUnitIDs','fill','clearInterval','touchDependencies','cursorInfo','mergeOverrideWithDependencies','UniverDrawing','mutations','SheetSkeletonManagerService','assign','handleDeleteRangeMoveLeft','triggerDblclick','IUIPartsService','now','UNIVER_DOC','UPDATE_CURSOR','handleMoveRange','column','DocCollaborationEntity','NO_OTHER_CLIENTS_EDITING','dirtyRanges','_initStatusComponent','displayName','WebBrowserSingleActiveUnitService','univer-m-0\x20univer-p-0','none','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','MemberService','polite','_localeService','transformRemoteChangeset','_docTransformStateCacheService','START_CALCULATION','formula.calculation.waiting','RevisionService','_updateCollabCursors','_getScale','_scene','ILogService','_initUserListener','_injector','InsertColCommandId','getUndoRedoMutationParamsCache','application/json','clearTimeout','getMemberID','1729211fueeNA','idSuffix','_uploadLog','_hasFormulaInDirtyRanges','handleDeleteRangeMoveUp','send','DOC_RANGE_TYPE','subscribeEvent','onPointerMove$','_getMergeRange','ISnapshotServerService','origin','_render','_eventUnsubscribe','handleInsertRow','_colorAssignService','stack','_drawRectRange','formula.calculation.unable','univer-appearance-none','then','use','useCallback','WebURLService','pluginName','onMouseMove','LoadingMultiIcon','fillStyle','_hideTimer','IUniverInstanceService','subscribe','with','_checkCalculationAvailable','newValue','static','catch','tooltipKey','_dataLoaderService','actions','registerDependencies','_handleHeartbeatEvent','executeCommand','@univerjs/rpc','_docTransformIMECacheService','rgba','@univerjs/docs','button'];_0x1170=function(){return _0x378a22;};return _0x1170();}function _0x3eb0(_0x35607c,_0x23c8bd){_0x35607c=_0x35607c-0xe1;const _0x117080=_0x1170();let _0x3eb0f0=_0x117080[_0x35607c];return _0x3eb0f0;}(function(_0x296b3b,_0x260d6e){const _0x2a6984=_0x3eb0,_0x4aced1=_0x296b3b();while(!![]){try{const _0x50422f=-parseInt(_0x2a6984(0x2c1))/0x1+-parseInt(_0x2a6984(0x3bd))/0x2*(parseInt(_0x2a6984(0x359))/0x3)+-parseInt(_0x2a6984(0x18d))/0x4+parseInt(_0x2a6984(0x15e))/0x5*(-parseInt(_0x2a6984(0x154))/0x6)+parseInt(_0x2a6984(0x205))/0x7+parseInt(_0x2a6984(0x20c))/0x8+parseInt(_0x2a6984(0x21c))/0x9*(parseInt(_0x2a6984(0x399))/0xa);if(_0x50422f===_0x260d6e)break;else _0x4aced1['push'](_0x4aced1['shift']());}catch(_0x435e9c){_0x4aced1['push'](_0x4aced1['shift']());}}}(_0x1170,0xdf1ad),function(_0x6306fa,_0x4882cc){const _0x58ff26=_0x3eb0;typeof exports=='object'&&typeof module<'u'?_0x4882cc(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/rpc`),require(`@univerjs/sheets`),require(`@univerjs/engine-render`),require(`@univerjs/network`),require(`@univerjs/docs-ui`),require(`@univerjs/drawing`),require(`@univerjs-pro/collaboration`),require(`@univerjs/docs`),require(`@univerjs/engine-formula`),require(`rxjs/operators`),require(`@univerjs/sheets-ui`),require(`@univerjs/protocol`)):typeof define=='function'&&define[_0x58ff26(0x126)]?define([_0x58ff26(0x106),_0x58ff26(0x39a),_0x58ff26(0x225),_0x58ff26(0x1e6),_0x58ff26(0x25a),'@univerjs/design','react','react/jsx-runtime',_0x58ff26(0x2eb),_0x58ff26(0x1b6),'@univerjs/engine-render','@univerjs/network',_0x58ff26(0x27f),_0x58ff26(0x3b4),'@univerjs-pro/collaboration',_0x58ff26(0x2ee),'@univerjs/engine-formula','rxjs/operators',_0x58ff26(0x236),_0x58ff26(0x38c)],_0x4882cc):(_0x6306fa=typeof globalThis<'u'?globalThis:_0x6306fa||self,_0x4882cc(_0x6306fa[_0x58ff26(0x1ae)]={},_0x6306fa[_0x58ff26(0xee)],_0x6306fa[_0x58ff26(0x3c0)],_0x6306fa['UniverUi'],_0x6306fa['rxjs'],_0x6306fa['UniverDesign'],_0x6306fa[_0x58ff26(0x202)],_0x6306fa['React'],_0x6306fa[_0x58ff26(0x27b)],_0x6306fa[_0x58ff26(0x2f5)],_0x6306fa['UniverEngineRender'],_0x6306fa[_0x58ff26(0x315)],_0x6306fa[_0x58ff26(0x1f1)],_0x6306fa[_0x58ff26(0x299)],_0x6306fa[_0x58ff26(0x375)],_0x6306fa[_0x58ff26(0x217)],_0x6306fa[_0x58ff26(0x121)],_0x6306fa[_0x58ff26(0x25a)][_0x58ff26(0x180)],_0x6306fa[_0x58ff26(0x304)],_0x6306fa[_0x58ff26(0x316)]));}(this,function(_0x59af53,_0x5ba2ed,_0x3789e1,_0x28956d,_0x4a289e,_0x239455,_0x148fc0,_0x4f8cd5,_0x47f4ed,_0x5081db,_0x4b5cb2,_0x2ccad2,_0x4d692e,_0x5be687,_0x136fe4,_0x43a715,_0x12c154,_0x21659b,_0x35b411,_0x53e205){const _0x486c12=_0x3eb0;Object[_0x486c12(0x23a)](_0x59af53,Symbol['toStringTag'],{'value':_0x486c12(0x3c1)});function _0x412b8c({ref:_0x154f47,..._0x25e30b}){const _0xa16a68=_0x486c12;let {icon:_0x19d2e2,id:_0x5beaa6,className:_0x146bf8,extend:_0x1372c7,..._0xcd47e}=_0x25e30b,_0x5e1dab=(_0xa16a68(0x1bf)+_0x5beaa6+'\x20'+(_0x146bf8||''))['trim'](),_0x557b89=(0x0,_0x148fc0[_0xa16a68(0x3b0)])('_'+_0x4f713d());return _0x1d17e3(_0x19d2e2,''+_0x5beaa6,{'defIds':_0x19d2e2['defIds'],'idSuffix':_0x557b89[_0xa16a68(0x219)]},{'ref':_0x154f47,'className':_0x5e1dab,..._0xcd47e},_0x1372c7);}function _0x1d17e3(_0x48101e,_0x4fd882,_0x2d5cf1,_0x2b51e0,_0x79df68){const _0x4dfba9=_0x486c12;return(0x0,_0x148fc0[_0x4dfba9(0x337)])(_0x48101e[_0x4dfba9(0x3a9)],{'key':_0x4fd882,..._0x5dc3d1(_0x48101e,_0x2d5cf1,_0x79df68),..._0x2b51e0},(_0x1a2ec5(_0x48101e,_0x2d5cf1)[_0x4dfba9(0x252)]||[])[_0x4dfba9(0x397)]((_0x2c0f73,_0x20abe1)=>_0x1d17e3(_0x2c0f73,_0x4fd882+'-'+_0x48101e[_0x4dfba9(0x3a9)]+'-'+_0x20abe1,_0x2d5cf1,void 0x0,_0x79df68)));}function _0x5dc3d1(_0x53bb14,_0x42d6a3,_0x2ce14d){const _0x2d683a=_0x486c12;let _0x146a44={..._0x53bb14[_0x2d683a(0x12a)]};_0x2ce14d!=null&&_0x2ce14d[_0x2d683a(0x1f5)]&&_0x146a44['fill']===_0x2d683a(0x1f5)&&(_0x146a44[_0x2d683a(0x294)]=_0x2ce14d[_0x2d683a(0x1f5)]),_0x53bb14['tag']===_0x2d683a(0x312)&&_0x146a44['id']&&(_0x146a44['id']+=_0x42d6a3[_0x2d683a(0x2c2)]),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0xe7a392,_0x2ca131])=>{const _0x26c455=_0x2d683a;_0xe7a392==='mask'&&typeof _0x2ca131==_0x26c455(0x398)&&(_0x146a44[_0xe7a392]=_0x2ca131['replace'](/url\(#(.*)\)/,_0x26c455(0x268)+_0x42d6a3[_0x26c455(0x2c2)]+')'));});let {defIds:_0x1917b4}=_0x42d6a3;return!_0x1917b4||_0x1917b4[_0x2d683a(0x391)]===0x0?_0x146a44:(_0x53bb14[_0x2d683a(0x3a9)]===_0x2d683a(0x2d6)&&_0x146a44['xlink:href']&&(_0x146a44[_0x2d683a(0x3a3)]+=_0x42d6a3['idSuffix']),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0x54f5ab,_0x538ae7])=>{const _0x5301cc=_0x2d683a;typeof _0x538ae7==_0x5301cc(0x398)&&(_0x146a44[_0x54f5ab]=_0x538ae7[_0x5301cc(0x350)](/url\(#(.*)\)/,_0x5301cc(0x268)+_0x42d6a3['idSuffix']+')'));}),_0x146a44);}function _0x1a2ec5(_0x54de95,_0x58162d){const _0x845b84=_0x486c12;var _0x469d35;let {defIds:_0xf4bd05}=_0x58162d;return!_0xf4bd05||_0xf4bd05[_0x845b84(0x391)]===0x0?_0x54de95:_0x54de95[_0x845b84(0x3a9)]===_0x845b84(0x361)&&(_0x469d35=_0x54de95[_0x845b84(0x252)])!=null&&_0x469d35[_0x845b84(0x391)]?{..._0x54de95,'children':_0x54de95['children'][_0x845b84(0x397)](_0x2dd4ec=>typeof _0x2dd4ec[_0x845b84(0x12a)]['id']==_0x845b84(0x398)&&_0xf4bd05&&_0xf4bd05['includes'](_0x2dd4ec[_0x845b84(0x12a)]['id'])?{..._0x2dd4ec,'attrs':{..._0x2dd4ec[_0x845b84(0x12a)],'id':_0x2dd4ec[_0x845b84(0x12a)]['id']+_0x58162d[_0x845b84(0x2c2)]}}:_0x2dd4ec)}:_0x54de95;}function _0x4f713d(){const _0x31c3e4=_0x486c12;return Math[_0x31c3e4(0x36b)]()[_0x31c3e4(0x22c)](0x24)[_0x31c3e4(0x36d)](0x2,0x8);}_0x412b8c[_0x486c12(0x2a9)]='UniverIcon';let _0x2b3a9b={'tag':'svg','attrs':{'xmlns':_0x486c12(0x12d),'fill':_0x486c12(0x2ac),'viewBox':'0\x200\x2016\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x2ad),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':_0x486c12(0x39c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x486c12(0x30e)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5bf108=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x5ec82c,_0x5760eb){const _0x41540e=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object[_0x41540e(0x29c)]({},_0x5ec82c,{'id':'off-line-icon','ref':_0x5760eb,'icon':_0x2b3a9b}));});_0x5bf108[_0x486c12(0x2a9)]='OffLineIcon';let _0x682c12={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':_0x486c12(0x39b)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x300),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x486c12(0x361),'attrs':{},'children':[{'tag':_0x486c12(0x125),'attrs':{'id':_0x486c12(0x326)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237),'transform':_0x486c12(0x141)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x19e81b=(0x0,_0x148fc0['forwardRef'])(function(_0x2ff1fe,_0x2fc17d){const _0x181945=_0x486c12;return(0x0,_0x148fc0[_0x181945(0x337)])(_0x412b8c,Object[_0x181945(0x29c)]({},_0x2ff1fe,{'id':_0x181945(0x349),'ref':_0x2fc17d,'icon':_0x682c12}));});_0x19e81b[_0x486c12(0x2a9)]=_0x486c12(0x12c);let _0x24b25b={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':_0x486c12(0x1e1),'width':'1em','height':_0x486c12(0x302)},'children':[{'tag':'path','attrs':{'fill':_0x486c12(0x13e),'d':_0x486c12(0x156),'fillOpacity':0.2,'fillRule':_0x486c12(0x31d),'clipRule':_0x486c12(0x31d)}},{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13e),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x486c12(0x31d),'clipRule':'evenodd'}}]},_0x423b97=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x49fb54,_0x4dce00){const _0xa107f6=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object['assign']({},_0x49fb54,{'id':_0xa107f6(0x188),'ref':_0x4dce00,'icon':_0x24b25b}));});_0x423b97[_0x486c12(0x2a9)]=_0x486c12(0x2db);function _0x83fed(_0x3c8afd){const _0x48f29f=_0x486c12;switch(_0x3c8afd){case _0x5ba2ed[_0x48f29f(0x290)]['OFFLINE']:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x1ee),'i18nKey':_0x48f29f(0x38b),'tooltipKey':_0x48f29f(0x1e9),'clickable':!0x0,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1eb)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x129),'i18nKey':'collabStatus.conflict','clickable':!0x1,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x206)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x48f29f(0xe7),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x1ef)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x48f29f(0x23b),'clickable':!0x1,'indicator':'static'};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x227)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x376)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':_0x48f29f(0x143),'i18nKey':_0x48f29f(0x13a),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x320)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1f3)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':_0x48f29f(0x1c1),'i18nKey':_0x48f29f(0x1dd),'clickable':!0x1,'indicator':'static'};}}function _0x4b4d17(_0x3874b3){const _0x4bc170=_0x486c12;let {status$:_0x2e19d7}=_0x3874b3,_0xd06cd1=(0x0,_0x28956d[_0x4bc170(0x117)])(_0x2e19d7,_0x5ba2ed['CollaborationStatus'][_0x4bc170(0x1ef)]),_0x29b6df=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x3789e1[_0x4bc170(0x260)]),_0x451b6b=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x5ba2ed[_0x4bc170(0x128)]),_0x2057b4=(0x0,_0x148fc0[_0x4bc170(0x133)])(()=>_0x83fed(_0xd06cd1),[_0xd06cd1]),_0x1db9ad=_0xd06cd1!==_0x5ba2ed['CollaborationStatus']['OFFLINE'],_0x315680=_0x29b6df['t'](_0x2057b4[_0x4bc170(0x382)]),_0x41b92c=_0x2057b4['tooltipKey']?_0x29b6df['t'](_0x2057b4[_0x4bc170(0x2e5)]):_0x315680,_0xab70f6=(0x0,_0x148fc0[_0x4bc170(0x2d7)])(()=>{const _0x204bbc=_0x4bc170;_0x1db9ad||_0x451b6b[_0x204bbc(0x168)]();},[_0x1db9ad,_0x451b6b]),_0x5725f6=(0x0,_0x148fc0['useCallback'])(_0x5ce383=>{const _0x933650=_0x4bc170;!_0x1db9ad&&(_0x5ce383['key']===_0x933650(0x1c9)||_0x5ce383[_0x933650(0x2fc)]==='\x20')&&(_0x5ce383[_0x933650(0x113)](),_0x451b6b[_0x933650(0x168)]());},[_0x1db9ad,_0x451b6b]),_0x50a6cf=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x270),_0x2057b4[_0x4bc170(0x110)],{'univer-animate-spin':_0x2057b4[_0x4bc170(0x251)]===_0x4bc170(0x1f6),'univer-animate-pulse':_0x2057b4[_0x4bc170(0x251)]==='pulse'}),'aria-hidden':_0x4bc170(0x207),'children':_0x2057b4['icon']}),_0x2fe446=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])(_0x4bc170(0x1ed),_0x4bc170(0x352),'univer-transition-all\x20univer-duration-200',_0x4bc170(0x263),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2057b4[_0x4bc170(0x26d)],'univer-cursor-default':!_0x2057b4[_0x4bc170(0x26d)]}),'children':_0x50a6cf});return _0x2057b4[_0x4bc170(0x26d)]?(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455[_0x4bc170(0x24a)],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x4bc170(0x2ef),{'type':_0x4bc170(0x2ef),'onClick':_0xab70f6,'onKeyDown':_0x5725f6,'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x3c5),_0x4bc170(0x2ab),_0x4bc170(0x2d4)),'aria-label':_0x315680+_0x4bc170(0x3a7)+_0x41b92c,'role':_0x4bc170(0x265),'aria-live':_0x4bc170(0x2af),'aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})}):(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455['Tooltip'],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x151),{'className':(0x0,_0x239455['clsx'])(_0x4bc170(0x249),_0x4bc170(0x3c5),_0x4bc170(0x2ab)),'aria-label':_0x315680,'role':_0x4bc170(0x265),'aria-live':'polite','aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})});}function _0x34d6b5(_0x272f63){'@babel/helpers - typeof';const _0x5a4d0b=_0x486c12;return _0x34d6b5=typeof Symbol==_0x5a4d0b(0x146)&&typeof Symbol[_0x5a4d0b(0x346)]==_0x5a4d0b(0x22a)?function(_0x2a9e15){return typeof _0x2a9e15;}:function(_0x1a5c22){const _0x704a1c=_0x5a4d0b;return _0x1a5c22&&typeof Symbol==_0x704a1c(0x146)&&_0x1a5c22[_0x704a1c(0x3ad)]===Symbol&&_0x1a5c22!==Symbol[_0x704a1c(0x31e)]?_0x704a1c(0x22a):typeof _0x1a5c22;},_0x34d6b5(_0x272f63);}function _0x408cfb(_0xc296c3,_0x4ad84f){const _0x2e0150=_0x486c12;if(_0x34d6b5(_0xc296c3)!='object'||!_0xc296c3)return _0xc296c3;var _0x50fb4b=_0xc296c3[Symbol[_0x2e0150(0x3ae)]];if(_0x50fb4b!==void 0x0){var _0x3f4347=_0x50fb4b[_0x2e0150(0x37b)](_0xc296c3,_0x4ad84f||_0x2e0150(0x1c4));if(_0x34d6b5(_0x3f4347)!='object')return _0x3f4347;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4ad84f===_0x2e0150(0x398)?String:Number)(_0xc296c3);}function _0x21d468(_0xccac71){const _0x4e6f8d=_0x486c12;var _0x43a763=_0x408cfb(_0xccac71,_0x4e6f8d(0x398));return _0x34d6b5(_0x43a763)=='symbol'?_0x43a763:_0x43a763+'';}function _0x28a1e3(_0x47a4f7,_0x3c1a41,_0x56bb84){const _0x344b5e=_0x486c12;return(_0x3c1a41=_0x21d468(_0x3c1a41))in _0x47a4f7?Object[_0x344b5e(0x23a)](_0x47a4f7,_0x3c1a41,{'value':_0x56bb84,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x47a4f7[_0x3c1a41]=_0x56bb84,_0x47a4f7;}function _0x5dbd47(_0x34596a,_0x1f6e8d){return function(_0x559663,_0x42ad4d){_0x1f6e8d(_0x559663,_0x42ad4d,_0x34596a);};}function _0x2eed91(_0x4c7584,_0x33ebea,_0x358666,_0x3807b2){const _0x11a992=_0x486c12;var _0x4c9261=arguments[_0x11a992(0x391)],_0x24db04=_0x4c9261<0x3?_0x33ebea:_0x3807b2===null?_0x3807b2=Object[_0x11a992(0x3bf)](_0x33ebea,_0x358666):_0x3807b2,_0x5aecbc;if(typeof Reflect==_0x11a992(0x247)&&typeof Reflect[_0x11a992(0x176)]=='function')_0x24db04=Reflect[_0x11a992(0x176)](_0x4c7584,_0x33ebea,_0x358666,_0x3807b2);else{for(var _0x4dd6ae=_0x4c7584['length']-0x1;_0x4dd6ae>=0x0;_0x4dd6ae--)(_0x5aecbc=_0x4c7584[_0x4dd6ae])&&(_0x24db04=(_0x4c9261<0x3?_0x5aecbc(_0x24db04):_0x4c9261>0x3?_0x5aecbc(_0x33ebea,_0x358666,_0x24db04):_0x5aecbc(_0x33ebea,_0x358666))||_0x24db04);}return _0x4c9261>0x3&&_0x24db04&&Object[_0x11a992(0x23a)](_0x33ebea,_0x358666,_0x24db04),_0x24db04;}let _0x2f2efb=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x357c19,_0x2f27fb,_0x4e1788,_0x48c92e){const _0x2ec5fc=_0x486c12;super(),this[_0x2ec5fc(0x13d)]=_0x357c19,this[_0x2ec5fc(0x2bb)]=_0x2f27fb,this[_0x2ec5fc(0xe5)]=_0x4e1788,this['_uiPartsService']=_0x48c92e,_0x28a1e3(this,_0x2ec5fc(0x288),new _0x4a289e[(_0x2ec5fc(0x13f))](_0x5ba2ed['CollaborationStatus'][_0x2ec5fc(0x1ef)])),this['_initStatusComponent'](),this['_initStatusListener']();}[_0x486c12(0x282)](){const _0xbd4315=_0x486c12;this[_0xbd4315(0x26a)](this[_0xbd4315(0x13d)][_0xbd4315(0x362)]['pipe']((0x0,_0x4a289e[_0xbd4315(0x3b1)])(()=>{const _0x462cef=_0xbd4315;let _0x4a6d3e=this['_univerInstanceService'][_0x462cef(0x17d)]();return _0x4a6d3e?this[_0x462cef(0xe5)][_0x462cef(0x256)](_0x4a6d3e[_0x462cef(0x255)]()):(0x0,_0x4a289e['of'])(null);}),(0x0,_0x4a289e[_0xbd4315(0x3b1)])(_0x39ed51=>_0x39ed51?_0x39ed51[_0xbd4315(0x319)]:(0x0,_0x4a289e['of'])(_0x5ba2ed['CollaborationStatus'][_0xbd4315(0x1ef)])))[_0xbd4315(0x2df)](_0x47115a=>{this['_status$']['next'](_0x47115a);}));}[_0x486c12(0x2a8)](){const _0x5456e3=_0x486c12;this['disposeWithMe'](this[_0x5456e3(0x1c5)][_0x5456e3(0x1e5)](_0x28956d[_0x5456e3(0x24e)]['HEADER_MENU'],()=>(0x0,_0x28956d[_0x5456e3(0x159)])(_0xe0157a({'status$':this['_status$']['asObservable']()}),this[_0x5456e3(0x2bb)])));}};_0x2f2efb=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationController'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x29f)])],_0x2f2efb);function _0xe0157a(_0x42b58a){let {status$:_0x43724c}=_0x42b58a;return function(){const _0x18ce6b=_0x3eb0;return(0x0,_0x4f8cd5[_0x18ce6b(0x30f)])(_0x4b4d17,{'status$':_0x43724c});};}let _0x1b48a9=(0x0,_0x3789e1['createIdentifier'])('uni.network.url-service'),_0xe6e34a=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x20f4ed,_0xdd982c,_0x32038e,_0x418b08,_0x3e178a){const _0x40a6b9=_0x486c12;super(),this[_0x40a6b9(0x28a)]=_0x20f4ed,this[_0x40a6b9(0x3bc)]=_0xdd982c,this['_commandService']=_0x32038e,this[_0x40a6b9(0x2e6)]=_0x418b08,_0x3e178a?_0x3e178a==null||_0x3e178a[_0x40a6b9(0x14d)]()[_0x40a6b9(0x2d5)](()=>this[_0x40a6b9(0x184)]()):(this[_0x40a6b9(0x3bc)][_0x40a6b9(0x351)](_0x40a6b9(0x232),_0x40a6b9(0x14f)),this[_0x40a6b9(0x184)]());}async[_0x486c12(0x184)](){const _0x3c4c7e=_0x486c12;let _0x22c0be=this[_0x3c4c7e(0x28a)]['getParam']('unit'),_0x232282=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x3a8)),_0x47beb9=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x1b2));if(!_0x22c0be||!_0x232282){this[_0x3c4c7e(0x3bc)][_0x3c4c7e(0x351)](_0x3c4c7e(0x232),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x40c4d4=await this[_0x3c4c7e(0x2e6)][_0x3c4c7e(0x38f)](_0x22c0be,Number(_0x232282),_0x47beb9);_0x40c4d4&&_0x40c4d4 instanceof _0x3789e1[_0x3c4c7e(0x16e)]&&this['_setupSubUnitSync'](_0x40c4d4);}async['_setupSubUnitSync'](_0x322c77){const _0x5a594e=_0x486c12;await this[_0x5a594e(0x329)](_0x322c77),_0x322c77['activeSheet$'][_0x5a594e(0x286)]((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](_0x12b1a3=>{_0x12b1a3&&this['_updateURLWithCurrentState'](_0x12b1a3);}),this[_0x5a594e(0x28a)][_0x5a594e(0x23f)]['pipe']((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](()=>this[_0x5a594e(0x329)](_0x322c77));}[_0x486c12(0x231)](_0x3cdc47,_0x49e237=!0x1){const _0x10a993=_0x486c12;let _0x3df033=this[_0x10a993(0x28a)][_0x10a993(0x35f)](_0x10a993(0x1b2));_0x3cdc47[_0x10a993(0x15c)]()!==_0x3df033&&this[_0x10a993(0x28a)][_0x10a993(0x1d5)](_0x10a993(0x1b2),_0x3cdc47[_0x10a993(0x15c)](),_0x49e237);}async[_0x486c12(0x329)](_0x41c689){const _0x39567c=_0x486c12;var _0x3bce0e;let _0x25a182=this[_0x39567c(0x28a)][_0x39567c(0x35f)]('subunit');if(!_0x25a182||!_0x41c689[_0x39567c(0x284)](_0x25a182)){let _0x5dfa08=_0x41c689[_0x39567c(0x213)]()[0x0],_0x28212a=_0x41c689[_0x39567c(0x284)](_0x5dfa08);if(!_0x28212a)return;this[_0x39567c(0x231)](_0x28212a,!0x0),await this[_0x39567c(0x3ac)][_0x39567c(0x2ea)](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689[_0x39567c(0x255)](),'subUnitId':_0x5dfa08});return;}((_0x3bce0e=_0x41c689['getActiveSheet']())==null?void 0x0:_0x3bce0e[_0x39567c(0x15c)]())!==_0x25a182&&await this[_0x39567c(0x3ac)]['executeCommand'](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689['getUnitId'](),'subUnitId':_0x25a182});}};_0xe6e34a=_0x2eed91([_0x5dbd47(0x0,_0x1b48a9),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x35d)])),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x279)])(_0x47f4ed[_0x486c12(0x127)]))],_0xe6e34a);var _0x606168=_0x486c12(0x285),_0x34f54e=_0x486c12(0x33f);let _0x560036=class extends _0x3789e1['RxDisposable']{constructor(_0x1d10c6,_0x208f3f){const _0x5bd632=_0x486c12;super(),this['_docClipboardService']=_0x1d10c6,this[_0x5bd632(0x18e)]=_0x208f3f,this[_0x5bd632(0x184)]();}['_init'](){const _0x5d4c82=_0x486c12;let _0x26defa=this;this['disposeWithMe'](this[_0x5d4c82(0x12f)]['addClipboardHook']({'onBeforePasteImage':async _0x44a74f=>{const _0x4df972=_0x5d4c82;let _0x1b5cab=await _0x26defa['_imageIoService'][_0x4df972(0x238)](_0x44a74f);return _0x1b5cab?{'source':_0x1b5cab['source'],'imageSourceType':_0x1b5cab[_0x4df972(0x1b0)]}:null;}}));}};_0x560036=_0x2eed91([_0x5dbd47(0x0,_0x4d692e['IDocClipboardService']),_0x5dbd47(0x1,_0x5be687['IImageIoService'])],_0x560036);let _0x4cbed8=[_0x486c12(0x18b),_0x486c12(0x1aa),_0x486c12(0x396),_0x486c12(0x383),'blue.400',_0x486c12(0x20a)];var _0x3e01b5=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(..._0xa81c6f){const _0xa93aa4=_0x486c12;super(..._0xa81c6f),_0x28a1e3(this,'_assignedColors',new Map()),_0x28a1e3(this,_0xa93aa4(0x333),0x0);}[_0x486c12(0xff)](_0xb79f37){const _0x3b2466=_0x486c12;if(this[_0x3b2466(0x325)]['has'](_0xb79f37))return this[_0x3b2466(0x325)]['get'](_0xb79f37);let _0x16fc3a=_0x4cbed8[this['_colorIndex']];return this[_0x3b2466(0x333)]=(this[_0x3b2466(0x333)]+0x1)%_0x4cbed8[_0x3b2466(0x391)],this[_0x3b2466(0x325)][_0x3b2466(0x1de)](_0xb79f37,_0x16fc3a),_0x16fc3a;}},_0x32684e=function(_0x785c03){const _0x37459d=_0x486c12;return _0x785c03[_0x37459d(0x3bb)]='1',_0x785c03[_0x37459d(0x36f)]='0',_0x785c03;}(_0x32684e||{});function _0x5138d6(_0x5258d5){const _0x3e8632=_0x486c12;let _0x2d9314='';for(let _0x2cc0d3 of _0x5258d5){let {startOffset:_0x1304b6,endOffset:_0x11ebb8,isActive:_0x46ce0d,rangeType:_0x3a4701,segmentId:_0x2ca50e,segmentPage:_0x59f267}=_0x2cc0d3;_0x2d9314['length']&&(_0x2d9314+=','),_0x2d9314+=_0x1304b6+':'+_0x11ebb8+':'+(_0x46ce0d?_0x32684e[_0x3e8632(0x3bb)]:_0x32684e[_0x3e8632(0x36f)])+':'+_0x3a4701+':'+_0x2ca50e+':'+_0x59f267;}return _0x2d9314;}function _0x429d89(_0xae8d4f){const _0x476aa1=_0x486c12;let _0x15fe18=_0xae8d4f[_0x476aa1(0x37a)](','),_0x2996ed=[];for(let _0x41595e of _0x15fe18){let [_0x2ba73d,_0x429348,_0x249a9d,_0x146f29,_0x163b2f,_0x59f943]=_0x41595e[_0x476aa1(0x37a)](':');_0x2996ed[_0x476aa1(0x1d9)]({'startOffset':Number(_0x2ba73d),'endOffset':Number(_0x429348),'collapsed':_0x2ba73d===_0x429348,'isActive':_0x249a9d===_0x32684e[_0x476aa1(0x3bb)],'rangeType':_0x146f29===_0x3789e1[_0x476aa1(0x2c7)]['TEXT']?_0x3789e1[_0x476aa1(0x2c7)][_0x476aa1(0x25c)]:_0x3789e1[_0x476aa1(0x2c7)]['RECT'],'segmentId':typeof _0x163b2f==_0x476aa1(0x398)?String(_0x163b2f):'','segmentPage':Number(_0x59f943==null?-0x1:_0x59f943)});}return _0x2996ed[_0x476aa1(0xef)](_0x253325=>_0x253325[_0x476aa1(0x34a)])||(_0x2996ed[0x0][_0x476aa1(0x34a)]=!0x0),_0x2996ed;}var _0xb4d8f5=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(..._0x2ee086){const _0x716738=_0x486c12;super(..._0x2ee086),_0x28a1e3(this,'_collabCursorState$',new _0x4a289e['BehaviorSubject'](null)),_0x28a1e3(this,'collabCursorState$',this[_0x716738(0x332)][_0x716738(0x1fb)]());}[_0x486c12(0x16b)](_0x30068a){const _0x2eef3e=_0x486c12;let {unitID:_0x4ce52a,memberID:_0x2c9828,textRanges:_0x5d9b2d}=_0x30068a,_0x2570dd=_0x5138d6(_0x5d9b2d);if(_0x2570dd==='')return;let _0x44014c={'unitID':_0x4ce52a,'memberID':_0x2c9828,'selection':_0x2570dd};this['_collabCursorState$'][_0x2eef3e(0x283)](_0x44014c);}};let _0x443cbb=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x251928=_0x486c12;return this[_0x251928(0x239)][_0x251928(0x226)]();}get['roomMembers'](){const _0x4f9e82=_0x486c12;return this[_0x4f9e82(0x1ea)][_0x4f9e82(0x226)]();}constructor(_0x52bcce,_0x131d5f,_0x4489b5,_0x2fd13c,_0x11d727,_0x2526be,_0x1272cd,_0xff233d,_0x1258ed){const _0x53f315=_0x486c12;super(),this['unitID']=_0x52bcce,this['_session']=_0x131d5f,this['_injector']=_0x4489b5,this['_colorAssignService']=_0x2fd13c,this[_0x53f315(0x1dc)]=_0x11d727,this['_syncEditingCollabCursorService']=_0x2526be,this[_0x53f315(0x10c)]=_0x1272cd,this[_0x53f315(0x13d)]=_0xff233d,this[_0x53f315(0x3ac)]=_0x1258ed,_0x28a1e3(this,_0x53f315(0x380),!0x1),_0x28a1e3(this,_0x53f315(0x184),!0x1),_0x28a1e3(this,_0x53f315(0x239),new _0x4a289e['BehaviorSubject'](new Map())),_0x28a1e3(this,_0x53f315(0x200),this[_0x53f315(0x239)]['asObservable']()),_0x28a1e3(this,_0x53f315(0x1ea),new _0x4a289e['BehaviorSubject']([])),_0x28a1e3(this,_0x53f315(0x311),this[_0x53f315(0x1ea)][_0x53f315(0x286)]((0x0,_0x4a289e[_0x53f315(0x28e)])(0x12c))),_0x28a1e3(this,_0x53f315(0x34b),(0x0,_0x3789e1[_0x53f315(0x373)])(_0x173009=>{const _0x583fc3=_0x53f315;let _0x53924={'eventID':_0x136fe4[_0x583fc3(0x1f2)][_0x583fc3(0x2a2)],'data':{'unitID':this[_0x583fc3(0x164)],'memberID':this[_0x583fc3(0x218)][_0x583fc3(0x2c0)](),'selection':_0x5138d6(_0x173009)}};this['_session'][_0x583fc3(0x2c6)](_0x53924,this[_0x583fc3(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x3e9109=_0x486c12;super[_0x3e9109(0x1b4)](),this[_0x3e9109(0x239)][_0x3e9109(0x283)](new Map()),this[_0x3e9109(0x239)]['complete'](),this[_0x3e9109(0x1ea)][_0x3e9109(0x283)]([]),this[_0x3e9109(0x1ea)]['complete']();}[_0x486c12(0x394)](){const _0x19f062=_0x486c12;this[_0x19f062(0x184)]||(this[_0x19f062(0x184)]=!0x0,this[_0x19f062(0x218)][_0x19f062(0x14b)][_0x19f062(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x27b979=>{const _0x27336d=_0x19f062;_0x27b979===_0x5ba2ed[_0x27336d(0x145)]['ONLINE']?this[_0x27336d(0x348)]():this[_0x27336d(0x3b7)]();}),this[_0x19f062(0x218)][_0x19f062(0xfc)][_0x19f062(0x286)]((0x0,_0x4a289e[_0x19f062(0xf8)])(this['dispose$']))[_0x19f062(0x2df)](_0x492d51=>{const _0xb02562=_0x19f062;let _0x4d10df=_0x492d51['eventID'];_0x4d10df===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x492d51),_0x4d10df===_0x136fe4[_0xb02562(0x1f2)][_0xb02562(0xeb)]&&this[_0xb02562(0x36a)](_0x492d51);}),this[_0x19f062(0x26a)](this['_commandService'][_0x19f062(0x390)](_0x131ebe=>{const _0x3874aa=_0x19f062;let _0x1d1624=_0x131ebe[_0x3874aa(0x230)];_0x1d1624!=null&&this['_online']&&_0x131ebe['id']===_0x43a715[_0x3874aa(0x224)]['id']&&_0x1d1624[_0x3874aa(0x2f0)]===this['unitID']&&_0x1d1624[_0x3874aa(0x28f)]===!0x1&&_0x1d1624['ranges']['length']>0x0&&this[_0x3874aa(0x34b)](_0x1d1624[_0x3874aa(0x339)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe']((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x4b8b36=>{const _0xe67b1b=_0x19f062;if((_0x4b8b36==null?void 0x0:_0x4b8b36[_0xe67b1b(0x164)])!==this['unitID'])return;let _0x26c39e={'eventID':_0x136fe4[_0xe67b1b(0x1f2)][_0xe67b1b(0x2a2)],'data':_0x4b8b36};this[_0xe67b1b(0x19e)](_0x26c39e);}),this[_0x19f062(0x26a)](this[_0x19f062(0x3ac)]['onCommandExecuted'](_0x3bd3ce=>{const _0x17e757=_0x19f062;if(_0x3bd3ce['params']==null)return;let _0x2bb3af=_0x3bd3ce[_0x17e757(0x230)];if(_0x3bd3ce['id']!==_0x43a715[_0x17e757(0x2f6)]['id']||_0x2bb3af['unitId']!==this[_0x17e757(0x164)])return;let _0xdf87a7={'id':_0x17e757(0x259),'params':_0x2bb3af},_0x232d06=this[_0x17e757(0x297)];for(let [_0x39850f,_0x308d7b]of _0x232d06){let _0x355df0={'id':_0x17e757(0x259),'params':{'unitId':this[_0x17e757(0x164)],'actions':null,'textRanges':_0x308d7b[_0x17e757(0x339)]}},_0x5a2aa0=this[_0x17e757(0x10c)][_0x17e757(0x392)](_0xdf87a7,_0x355df0,!0x1);if((0x0,_0x136fe4[_0x17e757(0x327)])(_0x5a2aa0))throw _0x5a2aa0[_0x17e757(0x120)];_0x232d06[_0x17e757(0x1de)](_0x39850f,{..._0x308d7b,'ranges':_0x5a2aa0[_0x17e757(0x130)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4341b6=_0x17e757;this[_0x4341b6(0x239)][_0x4341b6(0x283)](_0x232d06);});})));}[_0x486c12(0x19e)](_0x27c495){const _0x4cb6f2=_0x486c12;var _0xada09,_0x2a9074;let {memberID:_0x4c460e,selection:_0x8f2140}=_0x27c495['data'],_0x2212b4=_0x429d89(_0x8f2140),_0x1e3a10=(_0xada09=(_0x2a9074=this[_0x4cb6f2(0x1dc)]['getMember'](this[_0x4cb6f2(0x164)],_0x4c460e))==null?void 0x0:_0x2a9074[_0x4cb6f2(0x167)])==null?_0x4cb6f2(0x21b):_0xada09,_0x4072f8={'color':this[_0x4cb6f2(0x2d0)][_0x4cb6f2(0xff)](_0x4c460e),'name':_0x1e3a10,'ranges':_0x2212b4},_0x51d523=this[_0x4cb6f2(0x297)];_0x51d523[_0x4cb6f2(0x1de)](_0x4c460e,_0x4072f8),this[_0x4cb6f2(0x239)][_0x4cb6f2(0x283)](_0x51d523);}[_0x486c12(0x36a)](_0x373a7d){const _0x703077=_0x486c12;let {memberID:_0x17c173}=_0x373a7d[_0x703077(0x3c4)],_0xdc4cc0=this[_0x703077(0x297)];_0xdc4cc0[_0x703077(0x26e)](_0x17c173),this[_0x703077(0x239)][_0x703077(0x283)](_0xdc4cc0);}['_toggleOnline'](){const _0x18bb2f=_0x486c12;var _0x516587;if(this[_0x18bb2f(0x380)]=!0x0,((_0x516587=this[_0x18bb2f(0x13d)][_0x18bb2f(0x17d)]())==null?void 0x0:_0x516587[_0x18bb2f(0x255)]())!==this[_0x18bb2f(0x164)])return;let _0x1fe2b1=this['_injector'][_0x18bb2f(0x114)](_0x43a715[_0x18bb2f(0x250)])[_0x18bb2f(0x3be)]();Array['isArray'](_0x1fe2b1)&&_0x1fe2b1['length']>0x0&&this['_updateLocalCursor'](_0x1fe2b1);}['_toggleOffline'](){const _0x3b6b00=_0x486c12;this[_0x3b6b00(0x380)]=!0x1;}};_0x443cbb=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0xb4d8f5)),_0x5dbd47(0x6,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x7,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x8,_0x3789e1[_0x486c12(0x253)])],_0x443cbb);let _0x54474f=()=>{let _0x2e032d=[],_0x2bfdf4=!0x1;return _0x5e1ead=>{_0x2e032d['push'](_0x5e1ead),_0x2bfdf4||(_0x2bfdf4=!0x0,setTimeout(()=>{const _0x5085a4=_0x3eb0;_0x2e032d[_0x5085a4(0x377)](_0x5c9302=>_0x5c9302()),_0x2e032d=[],_0x2bfdf4=!0x1;}));};},_0x35ff85=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x557e5e=_0x486c12;return this[_0x557e5e(0x239)][_0x557e5e(0x226)]();}get[_0x486c12(0x1d1)](){const _0x3ad4da=_0x486c12;return this[_0x3ad4da(0x1ea)][_0x3ad4da(0x226)]();}constructor(_0x4634e9,_0x12a1c3,_0x109dae,_0x9189d1,_0x31007c,_0x3ab41d,_0x1e09d9,_0x21594e){const _0x2ea6a5=_0x486c12;super(),this[_0x2ea6a5(0x164)]=_0x4634e9,this['_session']=_0x12a1c3,this[_0x2ea6a5(0x2bb)]=_0x109dae,this[_0x2ea6a5(0x2d0)]=_0x9189d1,this[_0x2ea6a5(0x1dc)]=_0x31007c,this[_0x2ea6a5(0x13d)]=_0x3ab41d,this[_0x2ea6a5(0x3ac)]=_0x1e09d9,this['_refRangeService']=_0x21594e,_0x28a1e3(this,_0x2ea6a5(0x380),!0x1),_0x28a1e3(this,_0x2ea6a5(0x184),!0x1),_0x28a1e3(this,'_cursorInfo$',new _0x4a289e[(_0x2ea6a5(0x13f))](new Map())),_0x28a1e3(this,_0x2ea6a5(0x200),this[_0x2ea6a5(0x239)][_0x2ea6a5(0x1fb)]()),_0x28a1e3(this,'_roomMembers$',new _0x4a289e[(_0x2ea6a5(0x13f))]([])),_0x28a1e3(this,_0x2ea6a5(0x311),this[_0x2ea6a5(0x1ea)]['pipe']((0x0,_0x4a289e[_0x2ea6a5(0x28e)])(0x12c))),_0x28a1e3(this,_0x2ea6a5(0x34b),(0x0,_0x3789e1['debounce'])((_0x27abfc,_0x40ab46)=>{const _0x3d6e67=_0x2ea6a5;let _0x121ef3={'eventID':_0x136fe4[_0x3d6e67(0x1f2)][_0x3d6e67(0x2a2)],'data':{'unitID':this[_0x3d6e67(0x164)],'memberID':this[_0x3d6e67(0x218)]['getMemberID'](),'selection':(0x0,_0x12c154[_0x3d6e67(0x165)])(_0x27abfc,_0x40ab46[_0x3d6e67(0x25d)])}};this['_session']['send'](_0x121ef3,this[_0x3d6e67(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x270a13=_0x486c12;super[_0x270a13(0x1b4)](),this[_0x270a13(0x239)][_0x270a13(0x283)](new Map()),this[_0x270a13(0x239)][_0x270a13(0x257)](),this['_roomMembers$']['next']([]),this[_0x270a13(0x1ea)][_0x270a13(0x257)]();}[_0x486c12(0x394)](){const _0x5f425d=_0x486c12;this[_0x5f425d(0x184)]||(this[_0x5f425d(0x184)]=!0x0,this[_0x5f425d(0x218)]['sessionStatus$'][_0x5f425d(0x286)]((0x0,_0x4a289e['takeUntil'])(this['dispose$']))[_0x5f425d(0x2df)](_0x26ec04=>{const _0x4728a5=_0x5f425d;_0x26ec04===_0x5ba2ed['SessionStatus'][_0x4728a5(0x330)]?this[_0x4728a5(0x348)]():this['_toggleOffline']();}),this[_0x5f425d(0x218)][_0x5f425d(0xfc)][_0x5f425d(0x286)]((0x0,_0x4a289e[_0x5f425d(0xf8)])(this[_0x5f425d(0x389)]))[_0x5f425d(0x2df)](_0x207e0f=>{const _0x329e62=_0x5f425d;let _0x1cff83=_0x207e0f[_0x329e62(0x30a)];_0x1cff83===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x329e62(0x19e)](_0x207e0f),_0x1cff83===_0x136fe4['CollaborationEvent']['USERS_LEAVE']&&this[_0x329e62(0x36a)](_0x207e0f);}),this[_0x5f425d(0x171)](),this[_0x5f425d(0x26a)](this[_0x5f425d(0x3ac)][_0x5f425d(0x390)](_0x58fa97=>{const _0x394126=_0x5f425d;if(this[_0x394126(0x380)]&&_0x58fa97['id']===_0x5081db[_0x394126(0x3a2)]['id']&&_0x58fa97[_0x394126(0x230)][_0x394126(0x2f0)]===this[_0x394126(0x164)]){let _0x36fe10=_0x58fa97['params'];this[_0x394126(0x34b)](_0x36fe10[_0x394126(0x33b)],_0x36fe10['selections'][0x0]);}})));}[_0x486c12(0x19e)](_0x302a25){const _0xaa2a92=_0x486c12;var _0x16a206,_0x3208f7;let {memberID:_0x521d7d,selection:_0xc5707b}=_0x302a25[_0xaa2a92(0x3c4)],{sheetName:_0x53ebec,range:_0x154280}=(0x0,_0x12c154[_0xaa2a92(0x258)])(_0xc5707b),_0x235b8e={'name':(_0x16a206=(_0x3208f7=this['_memberService'][_0xaa2a92(0xf1)](this[_0xaa2a92(0x164)],_0x521d7d))==null?void 0x0:_0x3208f7[_0xaa2a92(0x167)])==null?_0xaa2a92(0x21b):_0x16a206,'range':this[_0xaa2a92(0x2ca)](_0x53ebec,_0x154280),'sheetID':_0x53ebec,'color':this[_0xaa2a92(0x2d0)][_0xaa2a92(0xff)](_0x521d7d),'selection':_0xc5707b},_0x10ce8d=this[_0xaa2a92(0x297)];_0x10ce8d[_0xaa2a92(0x1de)](_0x521d7d,_0x235b8e),this[_0xaa2a92(0x239)][_0xaa2a92(0x283)](_0x10ce8d);}[_0x486c12(0x36a)](_0x158f55){const _0x4aa443=_0x486c12;let {memberID:_0xfab6c9}=_0x158f55[_0x4aa443(0x3c4)],_0xd04186=this[_0x4aa443(0x297)];_0xd04186[_0x4aa443(0x26e)](_0xfab6c9),this[_0x4aa443(0x239)][_0x4aa443(0x283)](_0xd04186);}[_0x486c12(0x2ca)](_0x397d71,_0x65c539){const _0x486ca6=_0x486c12;var _0x1eb8b3;let _0x4f3cc6=(_0x1eb8b3=this['_univerInstanceService'][_0x486ca6(0x3b9)](this[_0x486ca6(0x164)]))==null||(_0x1eb8b3=_0x1eb8b3[_0x486ca6(0x284)](_0x397d71))==null?void 0x0:_0x1eb8b3['getMergeData']();return(_0x4f3cc6==null?void 0x0:_0x4f3cc6['find'](_0x4c5232=>_0x3789e1[_0x486ca6(0x310)]['contains'](_0x4c5232,_0x65c539)))||_0x65c539;}[_0x486c12(0x171)](){const _0x24fc46=_0x486c12;let _0x1de951=new _0x3789e1['DisposableCollection'](),_0xc23063=_0x54474f(),_0x1cfdc3=()=>{const _0x518b4d=_0x3eb0;_0x1de951['dispose']();let _0x5d91ee=(_0x486fdf,_0x551ae8,_0x4d7cd9,_0x4f28b6)=>{const _0x190e0d=_0x3eb0;let _0x4893b4=[];switch(_0x486fdf['id']){case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x12b)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x29d)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['DeleteRangeMoveUpCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2c5)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x2bc)]:_0x4893b4=(0x0,_0x5081db['handleInsertCol'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x166)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x317)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x353)]:_0x4893b4=(0x0,_0x5081db['handleInsertRangeMoveRight'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x3c7)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2cf)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['MoveRangeCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2a3)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x1fe)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x26c)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['RemoveRowCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x369)])(_0x486fdf,_0x4f28b6);break;}let _0x4d6a1d=(0x0,_0x5081db['runRefRangeMutations'])(_0x4893b4,_0x4f28b6),_0x343478=this['cursorInfo'][_0x190e0d(0x114)](_0x551ae8);if(_0x343478&&_0x4d6a1d){let _0x885a1c={..._0x343478,'range':_0x4d6a1d};this[_0x190e0d(0x297)][_0x190e0d(0x1de)](_0x551ae8,_0x885a1c),_0xc23063(()=>{const _0x577f23=_0x190e0d;let _0x29c0dc=this[_0x577f23(0x262)][_0x577f23(0x14e)](_0x4d6a1d,_0x1a11d7=>(_0x29c0dc[_0x577f23(0x1b4)](),_0x5d91ee(_0x1a11d7,_0x551ae8,_0x4d7cd9,_0x4d6a1d)));_0x1de951['add'](_0x29c0dc);});}return{'redos':[],'undos':[]};};this[_0x518b4d(0x297)][_0x518b4d(0x377)]((_0x2b29ab,_0x1345e3)=>{const _0x845aa4=_0x518b4d;let {range:_0x3404d3,sheetID:_0x2f9556}=_0x2b29ab,_0xc7475e=this['_refRangeService'][_0x845aa4(0x14e)](_0x3404d3,_0x28faf9=>(_0xc7475e[_0x845aa4(0x1b4)](),_0x5d91ee(_0x28faf9,_0x1345e3,_0x2f9556,_0x3404d3)));_0x1de951['add'](_0xc7475e);});};this['disposeWithMe']((0x0,_0x3789e1['toDisposable'])(this['_cursorInfo$'][_0x24fc46(0x2df)](()=>{_0x1cfdc3();})));}[_0x486c12(0x348)](){const _0x18aa1d=_0x486c12;var _0x5d0bb7,_0x58819d;if(this[_0x18aa1d(0x380)]=!0x0,((_0x5d0bb7=this[_0x18aa1d(0x13d)][_0x18aa1d(0x17d)]())==null?void 0x0:_0x5d0bb7[_0x18aa1d(0x255)]())!==this[_0x18aa1d(0x164)])return;let _0xb09e00=(_0x58819d=this[_0x18aa1d(0x2bb)][_0x18aa1d(0x114)](_0x5081db[_0x18aa1d(0x378)])['getCurrentSelections']())==null?void 0x0:_0x58819d[0x0],_0x29fa3c=this['_univerInstanceService'][_0x18aa1d(0x35a)](_0x3789e1[_0x18aa1d(0x246)][_0x18aa1d(0x2f9)])['getActiveSheet']();_0xb09e00&&_0x29fa3c&&this[_0x18aa1d(0x34b)](_0x29fa3c[_0x18aa1d(0x15c)](),_0xb09e00);}[_0x486c12(0x3b7)](){this['_online']=!0x1;}};_0x35ff85=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x6,_0x3789e1['ICommandService']),_0x5dbd47(0x7,(0x0,_0x3789e1['Inject'])(_0x5081db[_0x486c12(0x16d)]))],_0x35ff85);let _0x59bc3e=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5b1676,_0x4d8b34,_0x57bcac){const _0x1cbf1=_0x486c12;super(),this[_0x1cbf1(0x13d)]=_0x5b1676,this['_injector']=_0x4d8b34,this[_0x1cbf1(0x23c)]=_0x57bcac,_0x28a1e3(this,_0x1cbf1(0x235),new Map()),_0x28a1e3(this,_0x1cbf1(0x338),new _0x4a289e['Subject']()),this['_init']();}[_0x486c12(0x1b4)](){const _0x5a8f65=_0x486c12;super[_0x5a8f65(0x1b4)](),this[_0x5a8f65(0x338)][_0x5a8f65(0x257)](),this[_0x5a8f65(0x235)][_0x5a8f65(0x377)](_0x891527=>_0x891527[_0x5a8f65(0x1b4)]());}['getCollabCursors$'](_0xaac18e){const _0x450c12=_0x486c12;return this[_0x450c12(0x235)][_0x450c12(0x35e)](_0xaac18e)?this['_entities'][_0x450c12(0x114)](_0xaac18e)[_0x450c12(0x200)]:this['_entityInit$']['pipe']((0x0,_0x4a289e['filter'])(_0x516596=>_0x516596[_0x450c12(0x164)]===_0xaac18e),(0x0,_0x4a289e[_0x450c12(0x3b1)])(_0x2d4b09=>_0x2d4b09[_0x450c12(0x200)]));}['_init'](){const _0x120b07=_0x486c12;this[_0x120b07(0x13d)][_0x120b07(0x274)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2f9)])[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this[_0x120b07(0x389)]))[_0x120b07(0x2df)](async _0x4176f6=>{const _0x1725cf=_0x120b07;let _0xf9fbbb=_0x4176f6[_0x1725cf(0x255)](),_0x3dba44=await this[_0x1725cf(0x20b)](_0xf9fbbb);this[_0x1725cf(0x338)][_0x1725cf(0x283)](_0x3dba44),this[_0x1725cf(0x235)][_0x1725cf(0x1de)](_0xf9fbbb,_0x3dba44);}),this[_0x120b07(0x13d)]['getTypeOfUnitAdded$'](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)])[_0x120b07(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x120b07(0x389)]))['pipe']((0x0,_0x4a289e[_0x120b07(0x3aa)])(_0x1df644=>!_0x1df644[_0x120b07(0x255)]()[_0x120b07(0xe8)]('__')))[_0x120b07(0x2df)](async _0x3896fb=>{const _0x35f852=_0x120b07;let _0x2b3962=_0x3896fb[_0x35f852(0x255)](),_0x105b95=await this[_0x35f852(0x331)](_0x2b3962);this['_entityInit$'][_0x35f852(0x283)](_0x105b95),this[_0x35f852(0x235)][_0x35f852(0x1de)](_0x2b3962,_0x105b95);}),(0x0,_0x4a289e[_0x120b07(0x101)])(this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)]),this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)]['UNIVER_SHEET']))[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this['dispose$']))[_0x120b07(0x2df)](_0x3c892d=>{const _0x39af94=_0x120b07;let _0x52b57b=_0x3c892d['getUnitId'](),_0x33e041=this[_0x39af94(0x235)][_0x39af94(0x114)](_0x52b57b);_0x33e041&&(_0x33e041[_0x39af94(0x1b4)](),this[_0x39af94(0x235)][_0x39af94(0x26e)](_0x52b57b));});}async['_startSheetCollabCursor'](_0x53111c){const _0x155f91=_0x486c12;let _0x7d5ef9=await this[_0x155f91(0x23c)][_0x155f91(0x32f)](_0x53111c),_0x2bcc3b=this[_0x155f91(0x2bb)][_0x155f91(0x328)](_0x35ff85,_0x53111c,_0x7d5ef9);return _0x2bcc3b[_0x155f91(0x394)](),_0x2bcc3b;}async[_0x486c12(0x331)](_0x31011d){const _0x38265a=_0x486c12;let _0x2af25c=await this['_collabSessionService'][_0x38265a(0x32f)](_0x31011d),_0x259f3a=this[_0x38265a(0x2bb)][_0x38265a(0x328)](_0x443cbb,_0x31011d,_0x2af25c);return _0x259f3a[_0x38265a(0x394)](),_0x259f3a;}};_0x59bc3e=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x59bc3e);function _0x2b2b89(_0xe705a3,_0x64ea77){const _0x320958=_0x486c12;var _0x313a87,_0x34160e,_0x394d5f;let {radius:_0x327d74,width:_0x53222c,height:_0x4c72da}=_0x64ea77;_0x327d74=(_0x313a87=_0x327d74)==null?0x0:_0x313a87,_0x53222c=(_0x34160e=_0x53222c)==null?0x1e:_0x34160e,_0x4c72da=(_0x394d5f=_0x4c72da)==null?0x1e:_0x394d5f;let _0x42fa09=0x0,_0x391d75=0x0,_0x2f5dba=0x0;_0x42fa09=_0x391d75=_0x2f5dba=Math[_0x320958(0x2f2)](_0x327d74,_0x53222c/0x2,_0x4c72da/0x2),_0xe705a3[_0x320958(0x1f7)](),_0xe705a3[_0x320958(0x344)](_0x42fa09,0x0),_0xe705a3['lineTo'](_0x53222c-_0x391d75,0x0),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x391d75,_0x391d75,_0x391d75,Math['PI']*0x3/0x2,0x0,!0x1),_0xe705a3[_0x320958(0x11b)](_0x53222c,_0x4c72da-_0x2f5dba),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x2f5dba,_0x4c72da-_0x2f5dba,_0x2f5dba,0x0,Math['PI']/0x2,!0x1),_0xe705a3[_0x320958(0x11b)](0x0,_0x4c72da),_0xe705a3[_0x320958(0x11b)](0x0,_0x42fa09),_0xe705a3[_0x320958(0x27d)](_0x42fa09,_0x42fa09,_0x42fa09,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe705a3[_0x320958(0x196)](),_0x64ea77[_0x320958(0x294)]&&(_0xe705a3[_0x320958(0x1f9)](),_0xe705a3['fillStyle']=_0x64ea77['fill'],_0x64ea77[_0x320958(0x23d)]==='evenodd'?_0xe705a3[_0x320958(0x294)]('evenodd'):_0xe705a3['fill'](),_0xe705a3[_0x320958(0x364)]());}var _0x31aed2=class _0x3f0e2d extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0x254e33,_0x3a6150){const _0x4f0b33=_0x486c12;super(_0x254e33,_0x3a6150),_0x28a1e3(this,'color',void 0x0),_0x28a1e3(this,_0x4f0b33(0x21a),void 0x0),this[_0x4f0b33(0x1b8)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x1b8)],this[_0x4f0b33(0x21a)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x21a)];}static[_0x486c12(0x30c)](_0x1b1d84,_0xc70b39){const _0x1186cc=_0x486c12;let {text:_0x1071db,color:_0x9dd47a}=_0xc70b39;_0x1b1d84[_0x1186cc(0x1f9)](),_0x1b1d84['font']=_0x1186cc(0xe4);let _0x494478=_0x1b1d84[_0x1186cc(0x280)](_0x1071db)[_0x1186cc(0x144)];if(_0x2b2b89(_0x1b1d84,{'height':0x14,'radius':0x4,'width':Math[_0x1186cc(0x2f2)](_0x494478+0x8,0xc8),'fill':_0x9dd47a,'evented':!0x1}),_0x1b1d84[_0x1186cc(0x2dc)]=_0x1186cc(0x28d),_0x494478>0xc0){let _0x1e03f7='',_0x160878=0x0;for(let _0x3b3695 of _0x1071db){let _0xeb4548=_0x1b1d84[_0x1186cc(0x280)](_0x3b3695)[_0x1186cc(0x144)];if(_0x160878+_0xeb4548<=0xc0-_0x1b1d84['measureText'](_0x1186cc(0x155))[_0x1186cc(0x144)])_0x1e03f7+=_0x3b3695,_0x160878+=_0xeb4548;else{_0x1e03f7+='...';break;}}_0x1b1d84[_0x1186cc(0x28b)](_0x1e03f7,0x4,0xf);}else _0x1b1d84[_0x1186cc(0x28b)](_0x1071db,0x4,0xf);_0x1b1d84[_0x1186cc(0x364)]();}[_0x486c12(0x209)](_0x450793){_0x3f0e2d['drawWith'](_0x450793,this);}};let _0x41be05=_0x486c12(0x28c);var _0x210b6c=class{constructor(_0x18d080,_0x2e3fc3,_0x2ffa8a,_0x6278b){const _0x1862e4=_0x486c12;this[_0x1862e4(0x1fd)]=_0x18d080,this[_0x1862e4(0x2b8)]=_0x2e3fc3,this['_docSkeleton']=_0x2ffa8a,this[_0x1862e4(0x371)]=_0x6278b,_0x28a1e3(this,_0x1862e4(0x3b5),[]),_0x28a1e3(this,'_anchor',null),_0x28a1e3(this,_0x1862e4(0x1b7),null),_0x28a1e3(this,_0x1862e4(0x179),null),_0x28a1e3(this,_0x1862e4(0x2dd),null),_0x28a1e3(this,_0x1862e4(0x2ce),null),this[_0x1862e4(0x2cd)]();}set[_0x486c12(0x1c6)](_0x29f3fe){const _0x2a1958=_0x486c12;_0x29f3fe?(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)]['hide'](),this[_0x2a1958(0x1b7)]&&this['_textBubble']['show']()):(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)][_0x2a1958(0x366)](),this['_textBubble']&&this[_0x2a1958(0x1b7)][_0x2a1958(0xe3)]());}[_0x486c12(0x1b4)](){const _0x21608d=_0x486c12;for(let _0x547474 of this[_0x21608d(0x3b5)])_0x547474[_0x21608d(0x1b4)]();this[_0x21608d(0x1b7)]&&this[_0x21608d(0x1b7)][_0x21608d(0x1b4)](),this[_0x21608d(0x179)]&&this['_anchorDot'][_0x21608d(0x1b4)](),this[_0x21608d(0x34c)]&&this[_0x21608d(0x34c)][_0x21608d(0x1b4)](),this[_0x21608d(0x2ce)]&&this[_0x21608d(0x2ce)]();}['_render'](){const _0x24f58a=_0x486c12;let {_docSkeleton:_0x1a3e87,_document:_0x539462}=this,{color:_0x159c2f,name:_0x5a2577,ranges:_0x15cbbb}=this[_0x24f58a(0x1fd)],_0x4545ce=_0x539462[_0x24f58a(0x214)](),{docsLeft:_0xb94453,docsTop:_0x22f4ed}=_0x4545ce,_0xe8fd6a=new _0x4d692e['NodePositionConvertToCursor'](_0x4545ce,_0x1a3e87);for(let {startOffset:_0x35ba82,endOffset:_0x182245,rangeType:_0x8149be,segmentId:_0x3c067d,segmentPage:_0x122592,collapsed:_0x28179e,isActive:_0x33914c}of _0x15cbbb){let _0x1cf936=_0x1a3e87[_0x24f58a(0x19c)](_0x35ba82,!0x0,_0x3c067d,_0x122592),_0x56dde4=_0x1a3e87[_0x24f58a(0x19c)](_0x182245,!0x0,_0x3c067d,_0x122592);if(_0x56dde4==null&&(_0x56dde4=_0x1a3e87['findNodePositionByCharIndex'](_0x182245-0x1,!0x1,_0x3c067d,_0x122592)),_0x33914c){let {contentBoxPointGroup:_0x540b07}=_0xe8fd6a['getRangePointData'](_0x56dde4,_0x56dde4);if(_0x540b07[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x365)](_0x159c2f,_0x540b07,_0xb94453,_0x22f4ed,_0x5a2577),this[_0x24f58a(0x2ce)]=this['_handleHover']();}if(_0x1cf936&&_0x56dde4){if(_0x8149be===_0x3789e1[_0x24f58a(0x2c7)][_0x24f58a(0x222)]){var _0x338d97;let {pointGroup:_0x55b21b}=(_0x338d97=new _0x4d692e['NodePositionConvertToRectRange'](_0x4545ce,_0x1a3e87)['getRangePointData'](_0x1cf936,_0x56dde4))==null?{}:_0x338d97;if(_0x55b21b==null||_0x55b21b[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x2d2)](_0x159c2f,_0x55b21b,_0xb94453,_0x22f4ed);}else{if(!_0x28179e){let {borderBoxPointGroup:_0x326434}=_0xe8fd6a[_0x24f58a(0x14c)](_0x1cf936,_0x56dde4);if(_0x326434['length']===0x0)continue;this[_0x24f58a(0x273)](_0x159c2f,_0x326434,_0xb94453,_0x22f4ed);}}}}}[_0x486c12(0x365)](_0x1a806c,_0x41656c,_0x4beb98,_0x33090d,_0x410445){const _0x13f2c2=_0x486c12;let {left:_0x4c3193,top:_0x586718,height:_0x4dfa26}=this[_0x13f2c2(0x32c)](_0x41656c),_0x278608=1.5/this[_0x13f2c2(0x2b7)](),_0x24a261=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d,'height':_0x4dfa26,'width':1.5,'fill':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':_0x278608,'stroke':_0x13f2c2(0x303),'evented':!0x0});this[_0x13f2c2(0x34c)]=_0x24a261,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x24a261,_0x4d692e[_0x13f2c2(0x278)]);let _0x16f567=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x1a806c||(0x0,_0x4b5cb2['getColor'])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':0x0,'stroke':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'evented':!0x1});this[_0x13f2c2(0x179)]=_0x16f567,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x16f567,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);let _0x1af2eb=new _0x31aed2(_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x14,'text':_0x410445,'color':_0x1a806c});this[_0x13f2c2(0x1b7)]=_0x1af2eb,this['_scene'][_0x13f2c2(0x2fb)](_0x1af2eb,_0x4d692e[_0x13f2c2(0x278)]),this[_0x13f2c2(0x1c6)]=!0x1;}[_0x486c12(0x131)](){const _0x1f4857=_0x486c12;let _0xc75d6=this[_0x1f4857(0x34c)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x441bbc=_0x1f4857;this[_0x441bbc(0x1c6)]=!0x0;}),_0x4516a3=this[_0x1f4857(0x34c)][_0x1f4857(0x266)][_0x1f4857(0x2c8)](()=>{const _0x6e1f2d=_0x1f4857;this[_0x6e1f2d(0x2dd)]&&clearTimeout(this[_0x6e1f2d(0x2dd)]),this['_hideTimer']=setTimeout(()=>{const _0x1cec1e=_0x6e1f2d;this[_0x1cec1e(0x1c6)]=!0x1;},0x7d0);});return()=>{const _0x1ab6cc=_0x1f4857;_0xc75d6[_0x1ab6cc(0x3b6)](),_0x4516a3['unsubscribe']();};}[_0x486c12(0x273)](_0x16400b,_0x3962db,_0x4e3f67,_0x1b0fbe){const _0x12f50b=_0x486c12;let _0x2ee898=0.2,_0x5e47ff=new _0x3789e1['ColorKit'](_0x16400b)[_0x12f50b(0x1ff)](_0x2ee898)[_0x12f50b(0x340)](),_0x5a672d=new _0x4b5cb2[(_0x12f50b(0x1b1))](_0x12f50b(0x10e)+(0x0,_0x3789e1[_0x12f50b(0x211)])(0x6),{'pointsGroup':_0x3962db,'fill':_0x5e47ff||(0x0,_0x4b5cb2['getColor'])(_0x3789e1['COLORS']['black'],_0x2ee898),'left':_0x4e3f67,'top':_0x1b0fbe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12f50b(0x3b5)][_0x12f50b(0x1d9)](_0x5a672d),this[_0x12f50b(0x2b8)][_0x12f50b(0x2fb)](_0x5a672d,_0x4d692e[_0x12f50b(0x278)]);}[_0x486c12(0x2d2)](_0x311592,_0x1a9843,_0x50b8cb,_0x49f096){const _0x20eaeb=_0x486c12;let _0x38c4db=0.2,_0x29cb5b=new _0x3789e1['ColorKit'](_0x311592)[_0x20eaeb(0x1ff)](_0x38c4db)['toRgbString'](),_0x5260d9=new _0x4b5cb2[(_0x20eaeb(0x1b1))](_0x20eaeb(0x25f)+(0x0,_0x3789e1[_0x20eaeb(0x211)])(0x6),{'pointsGroup':_0x1a9843,'fill':_0x29cb5b||(0x0,_0x4b5cb2[_0x20eaeb(0x2f1)])(_0x3789e1[_0x20eaeb(0x153)][_0x20eaeb(0x357)],_0x38c4db),'left':_0x50b8cb,'top':_0x49f096,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20eaeb(0x3b5)][_0x20eaeb(0x1d9)](_0x5260d9),this[_0x20eaeb(0x2b8)][_0x20eaeb(0x2fb)](_0x5260d9,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);}[_0x486c12(0x32c)](_0x337fb7){let _0x13106f=_0x337fb7[0x0],_0x4d5153=_0x13106f[0x0],_0x51eca9=_0x13106f[0x2],{x:_0x430fe6,y:_0x1f926b}=_0x4d5153,{x:_0x33dcc1,y:_0x1327a9}=_0x51eca9;return{'left':_0x430fe6,'top':_0x1f926b,'width':_0x33dcc1-_0x430fe6,'height':_0x1327a9-_0x1f926b};}[_0x486c12(0x2b7)](){const _0x4ef09f=_0x486c12;let {scaleX:_0x15c31d,scaleY:_0x429363}=this['_scene'][_0x4ef09f(0x186)]();return Math['max'](_0x15c31d,_0x429363);}};let _0x8c0b72=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x583e0c,_0x35a3c5,_0x482636,_0x408868,_0x44a3d1){const _0x21ac07=_0x486c12;super(),this[_0x21ac07(0x37f)]=_0x583e0c,this[_0x21ac07(0x1f4)]=_0x35a3c5,this[_0x21ac07(0x1bb)]=_0x482636,this[_0x21ac07(0x3ac)]=_0x408868,this[_0x21ac07(0xe9)]=_0x44a3d1,_0x28a1e3(this,_0x21ac07(0x177),[]),_0x28a1e3(this,_0x21ac07(0xfd),[]),this[_0x21ac07(0x184)]();}['_init'](){const _0x238841=_0x486c12;let _0x369cd5=this[_0x238841(0x37f)]['unitId'],_0x3b404e=this[_0x238841(0x1f4)];this['disposeWithMe']((0x0,_0x4a289e[_0x238841(0x1db)])([this[_0x238841(0x1bb)]['getCollabCursors$'](_0x369cd5),this[_0x238841(0xe9)][_0x238841(0x3b8)]])[_0x238841(0x286)]((0x0,_0x21659b[_0x238841(0x397)])(([_0x36aa5e,_0x300c26])=>({'skeleton':_0x3b404e['getSkeleton'](),'cursors':[..._0x36aa5e[_0x238841(0x11e)]()]['flatMap'](_0x346453=>({..._0x346453,'color':this[_0x238841(0xe9)][_0x238841(0x220)](_0x346453[_0x238841(0x1b8)])}))})))[_0x238841(0x2df)](_0x3ca73a=>{if(this['_removeCollabCursors'](),_0x3ca73a){let {skeleton:_0x1a9e69,cursors:_0xab6dd7}=_0x3ca73a;this['_updateCollabCursors'](_0x1a9e69,_0xab6dd7);}})),this[_0x238841(0x36e)](),this[_0x238841(0x30d)]();}[_0x486c12(0x2b6)](_0x5df0b8,_0x51f6b9){const _0x2d0652=_0x486c12;let {scene:_0x7ff283,mainComponent:_0x8ad69c}=this[_0x2d0652(0x37f)];this[_0x2d0652(0x177)]=_0x51f6b9[_0x2d0652(0x397)](_0x47c2f7=>new _0x210b6c(_0x47c2f7,_0x7ff283,_0x5df0b8,_0x8ad69c)),this[_0x2d0652(0xfd)]=_0x51f6b9;}[_0x486c12(0x33d)](){const _0x59dedb=_0x486c12;this[_0x59dedb(0x2fa)]();let {scene:_0x57638a,mainComponent:_0x148049}=this[_0x59dedb(0x37f)],_0x3416b1=this[_0x59dedb(0x1f4)][_0x59dedb(0x170)]();this[_0x59dedb(0x177)]=this[_0x59dedb(0xfd)]['map'](_0x9a669c=>new _0x210b6c(_0x9a669c,_0x57638a,_0x3416b1,_0x148049));}[_0x486c12(0x2fa)](){const _0x24ef6b=_0x486c12;this[_0x24ef6b(0x177)][_0x24ef6b(0x377)](_0x210b37=>_0x210b37[_0x24ef6b(0x1b4)]()),this[_0x24ef6b(0x177)]=[];}['_initCommandExecutedListener'](){const _0x141e75=_0x486c12;let _0x5783f6=[_0x4d692e[_0x141e75(0x1a2)]['id']];this[_0x141e75(0x26a)](this[_0x141e75(0x3ac)][_0x141e75(0x390)](_0x336e7f=>{const _0x11bc21=_0x141e75;_0x5783f6[_0x11bc21(0x152)](_0x336e7f['id'])&&_0x336e7f['params'][_0x11bc21(0x2f0)]===this[_0x11bc21(0x37f)][_0x11bc21(0x2f0)]&&this[_0x11bc21(0x33d)]();}));}[_0x486c12(0x36e)](){const _0x2eaff6=_0x486c12;this['disposeWithMe']((0x0,_0x3789e1[_0x2eaff6(0x322)])(this['_context'][_0x2eaff6(0x301)]['onTransformChange$'])[_0x2eaff6(0x286)]((0x0,_0x21659b[_0x2eaff6(0x3aa)])(_0x27bee3=>_0x27bee3[_0x2eaff6(0x3a8)]===_0x4b5cb2[_0x2eaff6(0x321)][_0x2eaff6(0x2fe)]),(0x0,_0x21659b[_0x2eaff6(0x210)])(0x10))[_0x2eaff6(0x2df)](()=>{this['_refreshCollabCursors']();}));}};_0x8c0b72=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x43a715[_0x486c12(0x182)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x3789e1['ThemeService']))],_0x8c0b72);var _0x573714=class extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0xb16d59,_0x1e0d6b){const _0x33e25a=_0x486c12;if(super(_0xb16d59,_0x1e0d6b),_0x28a1e3(this,_0x33e25a(0x367),void 0x0),_0x28a1e3(this,_0x33e25a(0x111),!0x1),_0x28a1e3(this,_0x33e25a(0x149),void 0x0),_0x28a1e3(this,'_name',''),_0x28a1e3(this,_0x33e25a(0xf2),_0x33e25a(0x39e)),_0x28a1e3(this,'_backgroundColor',void 0x0),_0x28a1e3(this,'_showText',void 0x0),_0x28a1e3(this,_0x33e25a(0x3a1),void 0x0),_0x28a1e3(this,_0x33e25a(0x139),0x4),_0x28a1e3(this,_0x33e25a(0x193),void 0x0),_0x28a1e3(this,_0x33e25a(0x31c),void 0x0),_0x28a1e3(this,_0x33e25a(0x15f),!0x0),_0x28a1e3(this,_0x33e25a(0x17f),0x0),_0x1e0d6b){var _0x1749e8;if(this[_0x33e25a(0x381)](_0x1e0d6b),_0x1e0d6b[_0x33e25a(0x18f)]&&((_0x1749e8=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0x1749e8)){var _0xf2b536;this['_startBlinking']((_0xf2b536=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0xf2b536);}}this['onPointerEnter$'][_0x33e25a(0x2c8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x33e25a(0x266)][_0x33e25a(0x2c8)](()=>this[_0x33e25a(0x381)]({'hovered':!0x1}));}[_0x486c12(0x244)](_0x5abd76){this['_offsetY']=_0x5abd76;}[_0x486c12(0x381)](_0x284966){const _0x5f5b66=_0x486c12;var _0xf8407f,_0x341771,_0x110675,_0x3317c3,_0x5c34e7,_0xf17ea3,_0x494891;this[_0x5f5b66(0x367)]=(_0xf8407f=_0x284966['color'])==null?this[_0x5f5b66(0x367)]:_0xf8407f,this[_0x5f5b66(0x111)]=(_0x341771=_0x284966[_0x5f5b66(0x148)])==null?this[_0x5f5b66(0x111)]:_0x341771,this[_0x5f5b66(0x149)]=(_0x110675=_0x284966[_0x5f5b66(0x25d)])==null?this[_0x5f5b66(0x149)]:_0x110675,this[_0x5f5b66(0xfe)]=(_0x3317c3=_0x284966[_0x5f5b66(0x167)])==null?this['_name']:_0x3317c3,this[_0x5f5b66(0xf2)]=(_0x5c34e7=_0x284966[_0x5f5b66(0x136)])==null?this[_0x5f5b66(0xf2)]:_0x5c34e7,this[_0x5f5b66(0x289)]=(_0xf17ea3=_0x284966[_0x5f5b66(0x189)])==null?this[_0x5f5b66(0x289)]:_0xf17ea3,this[_0x5f5b66(0x17c)]=(_0x494891=_0x284966['showText'])==null?this[_0x5f5b66(0x17c)]:_0x494891,_0x284966['highlightSecond']!==void 0x0&&(this[_0x5f5b66(0x139)]=_0x284966[_0x5f5b66(0x1d3)]),_0x284966[_0x5f5b66(0x18f)]!==void 0x0&&(this[_0x5f5b66(0x3a1)]=_0x284966['highlight']),_0x284966[_0x5f5b66(0x1d6)]!==void 0x0&&(this[_0x5f5b66(0x17f)]=_0x284966[_0x5f5b66(0x1d6)]),this[_0x5f5b66(0x18a)]({'width':_0x284966[_0x5f5b66(0x144)],'height':_0x284966['height']});}[_0x486c12(0x2da)](_0x2ae81b){const _0x1f5bd4=_0x486c12;let {row:_0x345c1f,column:_0x95d49}=_0x2ae81b;if(_0x345c1f>=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x116)]&&_0x345c1f<=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x1ab)]&&_0x95d49>=this[_0x1f5bd4(0x149)]['startColumn']&&_0x95d49<=this['_range'][_0x1f5bd4(0x1cd)]){this[_0x1f5bd4(0x381)]({'hovered':!0x0});return;}this[_0x1f5bd4(0x381)]({'hovered':!0x1});}[_0x486c12(0x195)](_0x5abec8){const _0x3ff4c7=_0x486c12;this[_0x3ff4c7(0x354)](),this[_0x3ff4c7(0x15f)]=!0x0,this[_0x3ff4c7(0x31c)]=window[_0x3ff4c7(0x1ba)](()=>{const _0x386772=_0x3ff4c7;this['_isBlinkVisible']=!this[_0x386772(0x15f)],this['makeDirty'](!0x0);},0x1f4),this[_0x3ff4c7(0x193)]=window[_0x3ff4c7(0x31f)](()=>{const _0x42ec7c=_0x3ff4c7;this[_0x42ec7c(0x354)](),this[_0x42ec7c(0x15f)]=!0x0,this['makeDirty'](!0x0);},_0x5abec8*0x3e8);}[_0x486c12(0x354)](){const _0x1766e8=_0x486c12;this[_0x1766e8(0x31c)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x1766e8(0x31c)]=void 0x0),this[_0x1766e8(0x193)]&&(window[_0x1766e8(0x2bf)](this[_0x1766e8(0x193)]),this[_0x1766e8(0x193)]=void 0x0);}[_0x486c12(0x29e)](_0x521dd2){return!0x1;}[_0x486c12(0x1b4)](){const _0x1d6344=_0x486c12;this[_0x1d6344(0x354)](),super[_0x1d6344(0x1b4)]();}[_0x486c12(0x209)](_0x44abf6){const _0x427c55=_0x486c12;var _0x260ed1;let _0x19294b=this[_0x427c55(0x367)],_0xa22401=this['_backgroundColor'];if(this[_0x427c55(0x3a1)]&&!this[_0x427c55(0x15f)]&&(_0x19294b=this[_0x427c55(0x34e)](this[_0x427c55(0x367)]),_0xa22401=this[_0x427c55(0x289)]?this[_0x427c55(0x34e)](this['_backgroundColor']):void 0x0),_0x4b5cb2[_0x427c55(0x25b)][_0x427c55(0x30c)](_0x44abf6,{'width':this['width'],'height':this[_0x427c55(0x1d4)],'strokeWidth':(_0x260ed1=this[_0x427c55(0x21d)])==null?1.5:_0x260ed1,'stroke':_0x19294b,'evented':!0x1,'fill':_0xa22401}),this[_0x427c55(0x111)]||this[_0x427c55(0x17c)]){var _0x1bc6e3;_0x44abf6['save'](),_0x44abf6[_0x427c55(0x372)](0x1,0x0,0x0,0x1,this[_0x427c55(0x144)],(this['_labelPosition']===_0x427c55(0x104)?0x0:-0x14)+((_0x1bc6e3=this['_offsetY'])==null?0x0:_0x1bc6e3)),_0x31aed2[_0x427c55(0x30c)](_0x44abf6,{'text':this[_0x427c55(0xfe)],'color':_0x19294b}),_0x44abf6[_0x427c55(0x364)]();}}[_0x486c12(0x34e)](_0x5e4b04){const _0x3b8cde=_0x486c12;return _0x5e4b04[_0x3b8cde(0xe8)]('#')?_0x3b8cde(0x23e)+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x5e4b04[_0x3b8cde(0x24f)](0x3,0x5),0x10)+',\x20'+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x5,0x7),0x10)+_0x3b8cde(0x1d8):_0x5e4b04['startsWith'](_0x3b8cde(0x2ed))?_0x5e4b04[_0x3b8cde(0x350)](/[\d.]+\)$/g,_0x3b8cde(0x124)):_0x5e4b04['startsWith']('rgb')?_0x5e4b04[_0x3b8cde(0x350)](_0x3b8cde(0x112),_0x3b8cde(0x2ed))['replace'](')',_0x3b8cde(0x1d8)):_0x5e4b04;}};let _0x4d3930=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5786b5,_0x220fb4,_0x598bcc,_0x42204d){const _0x34141e=_0x486c12;super(),this[_0x34141e(0x37f)]=_0x5786b5,this[_0x34141e(0x1a4)]=_0x220fb4,this[_0x34141e(0x1bb)]=_0x598bcc,this[_0x34141e(0xe9)]=_0x42204d,_0x28a1e3(this,_0x34141e(0xfd),new Set()),_0x28a1e3(this,'_lastPointer',null),this['_init']();}['_init'](){const _0x50ad64=_0x486c12;this[_0x50ad64(0x1a4)][_0x50ad64(0x370)][_0x50ad64(0x286)]((0x0,_0x21659b['takeUntil'])(this[_0x50ad64(0x389)]),(0x0,_0x21659b['switchMap'])(_0x544d38=>{const _0x335084=_0x50ad64;if(_0x544d38){let _0x4e8cce=_0x544d38[_0x335084(0x197)];return(0x0,_0x4a289e[_0x335084(0x1db)])(this[_0x335084(0x1bb)]['getCollabCursors$'](this[_0x335084(0x37f)][_0x335084(0x2f0)]),this[_0x335084(0xe9)][_0x335084(0x3b8)])[_0x335084(0x286)]((0x0,_0x21659b[_0x335084(0x397)])(([_0x5739a6,_0x2fa677])=>{const _0x2cf6d9=_0x335084;let _0x2668e4=new Map();return _0x5739a6[_0x2cf6d9(0x377)]((_0xa33950,_0x5af9ba)=>{const _0x31d74b=_0x2cf6d9;if(_0xa33950['sheetID']===_0x4e8cce){let _0x107cfb={..._0xa33950};_0x107cfb[_0x31d74b(0x1b8)]=this[_0x31d74b(0xe9)][_0x31d74b(0x220)](_0xa33950[_0x31d74b(0x1b8)]),_0x2668e4[_0x31d74b(0x1de)](_0x5af9ba,_0x107cfb);}}),{'skeleton':_0x544d38,'cursors':_0x2668e4};}));}return(0x0,_0x4a289e['of'])({'skeleton':null,'cursors':new Map()});}))[_0x50ad64(0x2df)](({skeleton:_0x2f4ead,cursors:_0x4e48c5})=>{const _0xf76e27=_0x50ad64;this[_0xf76e27(0x2fa)](),_0x2f4ead&&this[_0xf76e27(0x2b6)](_0x2f4ead,_0x4e48c5);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x50ad64(0x2df)](_0x18443c=>{const _0x735014=_0x50ad64;if(_0x18443c==null)return;let {skeleton:_0x24a58c}=_0x18443c,{scene:_0x3167a0}=this[_0x735014(0x37f)];_0x3167a0[_0x735014(0x2c9)]['subscribeEvent']((0x0,_0x3789e1[_0x735014(0x373)])(_0x4fbf28=>{const _0x296de0=_0x735014;var _0x2e1f31,_0x4202d5;let {offsetX:_0x29993a,offsetY:_0x23c54f}=_0x4fbf28,{x:_0x401955,y:_0x583c35}=_0x3167a0[_0x296de0(0x191)](_0x4b5cb2[_0x296de0(0x26f)][_0x296de0(0x10d)]([_0x29993a,_0x23c54f])),{scaleX:_0xf62b14,scaleY:_0x5863df}=_0x3167a0[_0x296de0(0x186)](),_0x2b3971=_0x3167a0[_0x296de0(0x19d)](_0x4b5cb2[_0x296de0(0x24c)]['VIEW_MAIN']),_0x4de390=_0x3167a0[_0x296de0(0x137)](_0x4b5cb2['Vector2'][_0x296de0(0x10d)]([_0x401955,_0x583c35]),_0x2b3971),_0x37e856=_0x24a58c['getCellPositionByOffset'](_0x29993a,_0x23c54f,_0xf62b14,_0x5863df,_0x4de390);((_0x2e1f31=this[_0x296de0(0x1a7)])==null?void 0x0:_0x2e1f31[_0x296de0(0x2a4)])===_0x37e856['column']&&((_0x4202d5=this['_lastPointer'])==null?void 0x0:_0x4202d5[_0x296de0(0x1a0)])===_0x37e856['row']||this[_0x296de0(0xfd)][_0x296de0(0x377)](_0x1a2ccd=>{const _0x1198d3=_0x296de0;_0x1a2ccd[_0x1198d3(0x2da)](_0x37e856);});},0x64));});}[_0x486c12(0x2b6)](_0x1e8151,_0x2ba9a1){const _0x56e68b=_0x486c12;let _0x307601=this[_0x56e68b(0x1a4)]['getCurrentSkeleton']();if(!_0x307601)return;let _0x5a1c51=this[_0x56e68b(0x341)]();if(!_0x5a1c51)return;this[_0x56e68b(0xfd)]['forEach'](_0x5480dd=>{_0x5480dd['makeDirty']();});let {scene:_0x3104bf}=_0x5a1c51,_0x922b36=_0x172d5f(Array['from'](_0x2ba9a1[_0x56e68b(0x11e)]()))[_0x56e68b(0x397)](_0x3746a9=>{const _0x23a721=_0x56e68b;let {color:_0x445a53,range:_0x3e67bc,name:_0x10d9de,selection:_0x574084,sheetID:_0x52fe64}=_0x3746a9,{startColumn:_0xf47ac9,startRow:_0x571e9b,endColumn:_0x5f296c,endRow:_0x4d5ee0}=_0x3e67bc,_0x4e1f78=(0x0,_0x35b411['getCoordByCell'])(_0x571e9b,_0xf47ac9,_0x3104bf,_0x307601),_0x2a1efc=(0x0,_0x35b411[_0x23a721(0x1ac)])(_0x4d5ee0,_0x5f296c,_0x3104bf,_0x307601),{columnHeaderHeightAndMarginTop:_0x39d5cc}=_0x307601,{startX:_0x4413f5,startY:_0x18d29c}=_0x4e1f78,{endX:_0x5042c4,endY:_0x88a6b}=_0x2a1efc,_0x1a7d5f=_0x5042c4-_0x4413f5,_0x284116=_0x88a6b-_0x18d29c;return new _0x573714(_0x10d9de,{'labelPosition':_0x18d29c-_0x39d5cc>=0x14?_0x23a721(0x39e):_0x23a721(0x104),'sheetID':_0x52fe64,'range':_0x3e67bc,'color':_0x445a53,'name':_0x10d9de,'selection':_0x574084,'left':_0x4413f5,'top':_0x18d29c,'width':_0x1a7d5f,'height':_0x284116,'evented':!0x1,'zIndex':0x1389});});_0x3104bf[_0x56e68b(0x324)](_0x922b36,0x1),this[_0x56e68b(0xfd)]=new Set(_0x922b36);}['_removeCollabCursors'](){const _0x6e67f4=_0x486c12;var _0x495fdc;(_0x495fdc=this[_0x6e67f4(0xfd)])==null||_0x495fdc['forEach'](_0x3417b8=>_0x3417b8[_0x6e67f4(0x1b4)]());}[_0x486c12(0x341)](){const _0x2d40ae=_0x486c12;return(0x0,_0x35b411[_0x2d40ae(0x335)])(this[_0x2d40ae(0x37f)][_0x2d40ae(0x264)],this['_context']);}};_0x4d3930=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x35b411[_0x486c12(0x29b)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x198)]))],_0x4d3930);function _0x172d5f(_0x462b4a){const _0x1c11e8=_0x486c12;let _0xa8874e=new Map();return _0x462b4a[_0x1c11e8(0x377)](_0xdd5fa7=>{const _0x5dc12a=_0x1c11e8;if(_0xa8874e[_0x5dc12a(0x35e)](_0xdd5fa7[_0x5dc12a(0x34d)])){let _0x452694=_0xa8874e[_0x5dc12a(0x114)](_0xdd5fa7[_0x5dc12a(0x34d)]);_0x452694[_0x5dc12a(0x167)]+=',\x20'+_0xdd5fa7[_0x5dc12a(0x167)];}else _0xa8874e['set'](_0xdd5fa7['selection'],_0xdd5fa7);}),Array['from'](_0xa8874e[_0x1c11e8(0x11e)]());}let _0x3bb688=class extends _0x3789e1['Disposable']{constructor(_0x28e265,_0x548d2b,_0x5da078,_0x226fe5,_0x476fd4,_0x199c42){const _0x1aa432=_0x486c12;super(),this['_beforeCloseService']=_0x28e265,this[_0x1aa432(0x395)]=_0x548d2b,this[_0x1aa432(0x3c3)]=_0x5da078,this[_0x1aa432(0x147)]=_0x226fe5,this[_0x1aa432(0x347)]=_0x476fd4,this[_0x1aa432(0x2b0)]=_0x199c42,this[_0x1aa432(0x158)](),this[_0x1aa432(0x39d)]();}[_0x486c12(0x158)](){const _0x19237b=_0x486c12;this['disposeWithMe'](this['_beforeCloseService'][_0x19237b(0x342)](()=>{const _0x58227d=_0x19237b;if(this[_0x58227d(0x395)][_0x58227d(0x22e)]['size'])return this[_0x58227d(0x2b0)]['t'](_0x58227d(0x160));}));}[_0x486c12(0x39d)](){const _0x51e10b=_0x486c12;this[_0x51e10b(0x26a)](this[_0x51e10b(0x3c3)]['event$']['subscribe'](_0x1f4207=>{const _0x1dd249=_0x51e10b;_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1d0)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x161)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x32b)]&&this[_0x1dd249(0x347)][_0x1dd249(0x366)]({'title':this[_0x1dd249(0x2b0)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1dd249(0x120),'duration':0x0}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1eb)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))+'('+_0x1f4207[_0x1dd249(0x3c4)]+')'}),_0x1f4207['id']===_0x5ba2ed['CollaborationUIEventId'][_0x1dd249(0x27a)]&&this['_messageService'][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1f4207[_0x1dd249(0x3c4)]||'')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x174)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t'](_0x1dd249(0x1bd))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x3b3)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x20e))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1e2)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x3c6))});}));}};_0x3bb688=_0x2eed91([_0x5dbd47(0x0,_0x28956d['IBeforeCloseService']),_0x5dbd47(0x1,_0x5ba2ed[_0x486c12(0x3a0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationUIEventService'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x4,_0x28956d[_0x486c12(0x11d)]),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x3bb688);let _0x529e28='collaboration-client-ui.config';Symbol(_0x529e28);let _0x157272={},_0x1dc143=class{constructor(_0x316ab1,_0x6c5b5d){const _0x324d4e=_0x486c12;this[_0x324d4e(0x10c)]=_0x316ab1,this[_0x324d4e(0x305)]=_0x6c5b5d;}[_0x486c12(0x291)](_0x30c14f){const _0x29f88d=_0x486c12;this[_0x29f88d(0x1e7)](_0x30c14f),this[_0x29f88d(0x271)](_0x30c14f);}['transformRemoteChangeset'](_0x2ffaa7){const _0x417436=_0x486c12;let {unitID:_0xfa1e24}=_0x2ffaa7,{redoCache:_0x452345}=this[_0x417436(0x305)][_0x417436(0x103)](_0xfa1e24)['with'](_0x4d692e[_0x417436(0x1ad)])[_0x417436(0x2bd)]();if(_0x452345[_0x417436(0x391)]===0x0)return _0x2ffaa7;let _0x31d3d1=_0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7[_0x417436(0x29a)][0x0]);for(let _0x4d5bbc=0x0;_0x4d5bbc<_0x452345['length'];_0x4d5bbc++){let _0x32cfa2={'id':_0x417436(0x259),'params':{..._0x452345[_0x4d5bbc]}},_0x410c73=this[_0x417436(0x10c)][_0x417436(0x392)](_0x31d3d1,_0x32cfa2,!0x1);if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x410c73))throw _0x410c73[_0x417436(0x120)];_0x31d3d1=_0x410c73[_0x417436(0x2fd)];}return{..._0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7),'mutations':[_0x31d3d1]};}[_0x486c12(0x1e7)](_0x981f2c){const _0xcacea=_0x486c12;let {unitID:_0x3f3b40}=_0x981f2c,_0x492f6a=this[_0xcacea(0x305)][_0xcacea(0x103)](_0x3f3b40)[_0xcacea(0x2e0)](_0x4d692e['DocIMEInputManagerService']),{undoCache:_0x1355e3,redoCache:_0x35f486}=_0x492f6a[_0xcacea(0x2bd)]();if(_0x1355e3['length']===0x0||_0x35f486['length']===0x0)return;let _0x35621a=[],_0x19eb0d=[],_0x51b906=_0x3789e1[_0xcacea(0x1e4)][_0xcacea(0x1e0)](_0x981f2c[_0xcacea(0x29a)][0x0]),_0x3dfaaf=_0x3789e1['Tools'][_0xcacea(0x1e0)](_0x981f2c['mutations'][0x0]);for(let _0x43824f=_0x1355e3['length']-0x1;_0x43824f>=0x0;_0x43824f--){let _0x357152={'id':'doc.mutation.rich-text-editing','params':{..._0x1355e3[_0x43824f]}},_0x2aee85={'id':_0xcacea(0x259),'params':{..._0x35f486[_0x43824f]}},_0x24754f=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x51b906,_0x357152,!0x1),_0x5d6704=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x3dfaaf,_0x2aee85,!0x1);if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x24754f))throw _0x24754f[_0xcacea(0x120)];if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x5d6704))throw _0x5d6704['error'];_0x35621a[_0xcacea(0x261)](_0x24754f[_0xcacea(0x130)]['params']),_0x19eb0d[_0xcacea(0x261)](_0x5d6704[_0xcacea(0x130)][_0xcacea(0x230)]),_0x51b906=_0x24754f[_0xcacea(0x2fd)],_0x3dfaaf=_0x5d6704[_0xcacea(0x2fd)];}_0x492f6a[_0xcacea(0x358)]({'undoCache':_0x35621a,'redoCache':_0x19eb0d});}[_0x486c12(0x271)](_0x30a90c){const _0x357bfd=_0x486c12;let {unitID:_0x13dea0}=_0x30a90c,_0x414888=this[_0x357bfd(0x305)]['getRenderById'](_0x13dea0)[_0x357bfd(0x2e0)](_0x4d692e[_0x357bfd(0x1ad)]),_0x1bc9d1=_0x414888[_0x357bfd(0x323)]();if(_0x1bc9d1==null)return;let _0x154f20=[{'id':_0x357bfd(0x259),'params':{'unitId':_0x30a90c[_0x357bfd(0x164)],'actions':null,'textRanges':[_0x1bc9d1]}}],_0x504c1c=this[_0x357bfd(0x10c)][_0x357bfd(0x119)](_0x30a90c,_0x154f20);if(!(0x0,_0x136fe4[_0x357bfd(0x12e)])(_0x504c1c))throw _0x504c1c[_0x357bfd(0x120)];let _0xce8f73=_0x504c1c[_0x357bfd(0x130)][0x0]['params'][_0x357bfd(0x31a)];Array[_0x357bfd(0x18c)](_0xce8f73)&&_0xce8f73[_0x357bfd(0x391)]&&_0x414888[_0x357bfd(0x163)](_0xce8f73[0x0]);}};_0x1dc143=_0x2eed91([_0x5dbd47(0x0,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)])],_0x1dc143);let _0x4e2c0d=class{constructor(_0x27d192,_0x30d9a4,_0xf15f23){const _0xd152ed=_0x486c12;this[_0xd152ed(0x2bb)]=_0x27d192,this[_0xd152ed(0x10c)]=_0x30d9a4,this[_0xd152ed(0x21f)]=_0xf15f23;}[_0x486c12(0x3ba)](_0x9e0321){const _0x374891=_0x486c12;this[_0x374891(0x138)](_0x9e0321);}[_0x486c12(0x2b1)](_0x83b2ae){const _0x1b73d7=_0x486c12;let {unitID:_0x311984}=_0x83b2ae,{collaboration:_0x44e473}=this[_0x1b73d7(0x21f)][_0x1b73d7(0x1a6)](_0x311984);if(_0x44e473[_0x1b73d7(0x391)]===0x0)return _0x83b2ae;let _0x4d014c=_0x3789e1[_0x1b73d7(0x1e4)][_0x1b73d7(0x1e0)](_0x83b2ae[_0x1b73d7(0x29a)][0x0]);for(let _0x13616d=0x0;_0x13616d<_0x44e473['length'];_0x13616d++){let _0x1edf21={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44e473[_0x13616d][_0x1b73d7(0x2f0)],..._0x44e473[_0x13616d][_0x1b73d7(0x233)]}},_0x2c024b=this[_0x1b73d7(0x10c)]['transformMutation'](_0x4d014c,_0x1edf21,!0x1);if((0x0,_0x136fe4[_0x1b73d7(0x327)])(_0x2c024b))throw _0x2c024b[_0x1b73d7(0x120)];_0x4d014c=_0x2c024b['m1Prime'];}return{..._0x3789e1['Tools']['deepClone'](_0x83b2ae),'mutations':[_0x4d014c]};}['_transformHistoryAndStateStack'](_0x9ed3b8){const _0x2de605=_0x486c12;let {unitID:_0x53c774}=_0x9ed3b8,{history:_0x37fb20,collaboration:_0x342682}=this[_0x2de605(0x21f)][_0x2de605(0x1a6)](_0x53c774);if(_0x37fb20[_0x2de605(0x391)]===0x0&&_0x342682[_0x2de605(0x391)]===0x0)return;let _0x20c38a=[],_0x482565=[],_0x41df6e=_0x3789e1['Tools'][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0x5f4282=_0x37fb20[_0x2de605(0x391)]-0x1;_0x5f4282>=0x0;_0x5f4282--){let _0x550fec={'id':_0x2de605(0x259),'params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x3a6)]}},_0x3e4b1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x233)]}},_0x285154=this['_transformService'][_0x2de605(0x392)](_0x41df6e,_0x550fec,!0x1),_0x4699b1=this['_transformService']['transformMutation'](_0x36b6ed,_0x3e4b1d,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x285154))throw _0x285154[_0x2de605(0x120)];if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4699b1))throw _0x4699b1[_0x2de605(0x120)];_0x20c38a[_0x2de605(0x261)]({..._0x37fb20[_0x5f4282],'undoState':_0x285154[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x4699b1[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x285154['m1Prime'],_0x36b6ed=_0x4699b1['m1Prime'];}_0x41df6e=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8['mutations'][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)]['deepClone'](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0xd0ab15=_0x342682[_0x2de605(0x391)]-0x1;_0xd0ab15>=0x0;_0xd0ab15--){let _0x587335={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x3a6)]}},_0x2cb1ae={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x233)]}},_0x4a3bde=this[_0x2de605(0x10c)]['transformMutation'](_0x41df6e,_0x587335,!0x1),_0x5054d8=this['_transformService']['transformMutation'](_0x36b6ed,_0x2cb1ae,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4a3bde))throw _0x4a3bde['error'];if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x5054d8))throw _0x5054d8[_0x2de605(0x120)];_0x482565['unshift']({..._0x342682[_0xd0ab15],'undoState':_0x4a3bde[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x5054d8[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x4a3bde['m1Prime'],_0x36b6ed=_0x5054d8[_0x2de605(0x2fd)];}this['_docStateChangeManagerService']['setStateCache'](_0x53c774,{'history':_0x20c38a,'collaboration':_0x482565});}};_0x4e2c0d=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4['ITransformService']),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)]))],_0x4e2c0d);let _0x115b18=class{constructor(_0x99f86e,_0x4ae26d){const _0xe3756c=_0x486c12;this[_0xe3756c(0x2bb)]=_0x99f86e,this[_0xe3756c(0x10c)]=_0x4ae26d;}[_0x486c12(0x169)](_0x28294b){const _0x33de51=_0x486c12;var _0x4ea723;let _0x5b48d9=this[_0x33de51(0x2bb)][_0x33de51(0x114)](_0x43a715[_0x33de51(0x250)]),_0x57a36f=(_0x4ea723=_0x5b48d9['getDocRanges']())==null?[]:_0x4ea723;if(_0x57a36f['length']===0x0)return;let _0x2d7aa=_0x28294b[_0x33de51(0x164)],_0x554c4e=[{'id':_0x33de51(0x259),'params':{'unitId':_0x2d7aa,'actions':null,'textRanges':_0x57a36f}}],_0x730645=this[_0x33de51(0x10c)][_0x33de51(0x119)](_0x28294b,_0x554c4e);if(!(0x0,_0x136fe4[_0x33de51(0x12e)])(_0x730645))throw _0x730645[_0x33de51(0x120)];let _0x4756d8=_0x730645[_0x33de51(0x130)][0x0][_0x33de51(0x230)]['textRanges'];Array['isArray'](_0x4756d8)&&_0x4756d8[_0x33de51(0x391)]&&_0x5b48d9[_0x33de51(0x306)](_0x4756d8,{'unitId':_0x2d7aa,'subUnitId':_0x2d7aa},!0x1);}};_0x115b18=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4[_0x486c12(0x1af)])],_0x115b18);let _0x27249b=class extends _0x3789e1['Disposable']{constructor(_0x3e5bf8,_0x5c57c7,_0x4a4265,_0x4c5283,_0x5edf8f,_0x110aca,_0x4efb86,_0x1248ec){const _0x164e76=_0x486c12;super(),this[_0x164e76(0x21f)]=_0x3e5bf8,this[_0x164e76(0xe5)]=_0x5c57c7,this[_0x164e76(0x2ec)]=_0x4a4265,this[_0x164e76(0x2b2)]=_0x4c5283,this[_0x164e76(0x157)]=_0x5edf8f,this['_docSyncEditingCollabCursorService']=_0x110aca,this[_0x164e76(0x147)]=_0x4efb86,this[_0x164e76(0x2b0)]=_0x1248ec,_0x28a1e3(this,'_status$',new _0x4a289e[(_0x164e76(0x13f))](_0x5ba2ed[_0x164e76(0x290)][_0x164e76(0x1ef)])),this[_0x164e76(0x11a)]();}[_0x486c12(0x11a)](){const _0xe1a8da=_0x486c12;this[_0xe1a8da(0x26a)](this[_0xe1a8da(0xe5)][_0xe1a8da(0x11f)][_0xe1a8da(0x2df)](_0x411399=>{const _0x520906=_0xe1a8da;let _0x116ad3=this[_0x520906(0x21f)][_0x520906(0x17e)][_0x520906(0x2df)](_0x1ba696=>{const _0x528465=_0x520906;if(_0x1ba696==null)return;let {unitId:_0x455bf1,redoState:_0x12e489,commandId:_0x100191}=_0x1ba696;if(_0x455bf1!==_0x411399[_0x528465(0x164)])return;let _0x2f8095={'id':_0x100191,'type':_0x3789e1['CommandType']['MUTATION'],'params':{'unitId':_0x455bf1,'actions':_0x12e489[_0x528465(0x2e7)],'textRanges':null}};_0x411399[_0x528465(0x199)](_0x2f8095);});_0x411399['disposeWithMe'](_0x116ad3),_0x411399 instanceof _0x5ba2ed[_0x520906(0x2a5)]&&_0x411399['addHandlerCallback']({'onTransformIME':_0x889800=>this[_0x520906(0x2ec)][_0x520906(0x291)](_0x889800),'onTransformState':_0x347202=>this[_0x520906(0x2b2)][_0x520906(0x3ba)](_0x347202),'onTransformSelections':_0x5a92f0=>this[_0x520906(0x157)][_0x520906(0x169)](_0x5a92f0),'onSyncEditingCollabCursor':_0x458f6d=>this[_0x520906(0x1a5)][_0x520906(0x16b)](_0x458f6d),'onTransformRemoteChangesetByIMECache':_0x320201=>this[_0x520906(0x2ec)][_0x520906(0x2b1)](_0x320201),'onTransformRemoteChangesetByStateCache':_0x3ff69e=>this[_0x520906(0x2b2)][_0x520906(0x2b1)](_0x3ff69e)});}));}};_0x27249b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x19a)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x1dc143)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x4e2c0d)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x115b18)),_0x5dbd47(0x5,(0x0,_0x3789e1['Inject'])(_0xb4d8f5)),_0x5dbd47(0x6,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x7,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x27249b);let _0x558a6b=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x3c6f07,_0x40d970,_0x555e97,_0xe099e1){const _0x2c6d3b=_0x486c12;super(),this[_0x2c6d3b(0x2bb)]=_0x3c6f07,this[_0x2c6d3b(0x24b)]=_0x40d970,this[_0x2c6d3b(0x3bc)]=_0x555e97,this[_0x2c6d3b(0x254)]=_0xe099e1,_0x28a1e3(this,_0x2c6d3b(0x142),void 0x0),this['_init']();}[_0x486c12(0x184)](){const _0x2729a2=_0x486c12;this['_initWindowErrorListener'](),this[_0x2729a2(0x38d)](),this[_0x2729a2(0x32d)](),this[_0x2729a2(0x2ba)]();}[_0x486c12(0x2ba)](){const _0x1a1432=_0x486c12;this[_0x1a1432(0x26a)](this['_collaborationSessionService']['socket$'][_0x1a1432(0x2df)](_0x48041f=>{const _0x3d44f8=_0x1a1432;this[_0x3d44f8(0x142)]=_0x48041f==null?void 0x0:_0x48041f['memberID'];}));}[_0x486c12(0x27c)](){const _0x11f724=_0x486c12;let _0x5dd5dd=_0x5d125b=>{const _0x5d97b6=_0x3eb0;var _0x12bec3;this[_0x5d97b6(0x2c3)]('error',_0x5d97b6(0x33e)+_0x5d125b[_0x5d97b6(0x1b5)]+_0x5d97b6(0x35b)+_0x5d125b[_0x5d97b6(0x1e8)]+':'+_0x5d125b[_0x5d97b6(0x1c3)]+':'+_0x5d125b['colno']+'\x0a'+(((_0x12bec3=_0x5d125b[_0x5d97b6(0x120)])==null?void 0x0:_0x12bec3[_0x5d97b6(0x2d1)])||''));};window[_0x11f724(0x19f)](_0x11f724(0x120),_0x5dd5dd),this[_0x11f724(0x26a)](()=>{const _0x3d00b2=_0x11f724;window[_0x3d00b2(0x3c8)](_0x3d00b2(0x120),_0x5dd5dd);});}[_0x486c12(0x38d)](){const _0x3db13f=_0x486c12;let _0x12d373=_0x469d6d=>{const _0x4ed178=_0x3eb0;this[_0x4ed178(0x2c3)](_0x4ed178(0x120),_0x4ed178(0x1cb)+_0x469d6d[_0x4ed178(0x22b)]);};window[_0x3db13f(0x19f)](_0x3db13f(0x105),_0x12d373),this[_0x3db13f(0x26a)](()=>{const _0x2d0a6d=_0x3db13f;window[_0x2d0a6d(0x3c8)](_0x2d0a6d(0x105),_0x12d373);});}[_0x486c12(0x32d)](){const _0x5e8175=_0x486c12;let _0x103845=this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]['bind'](this[_0x5e8175(0x3bc)]);this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]=(..._0x337617)=>{const _0x51b125=_0x5e8175;let _0x56cdf1=_0x337617[_0x51b125(0x397)](_0x21e969=>_0x21e969 instanceof Error?_0x21e969[_0x51b125(0x1b5)]+'\x0a'+_0x21e969['stack']:String(_0x21e969))[_0x51b125(0x313)]('\x20');this['_uploadLog'](_0x51b125(0x120),_0x51b125(0x287)+_0x56cdf1),_0x103845(..._0x337617);},this['disposeWithMe'](()=>{const _0x3c3917=_0x5e8175;this[_0x3c3917(0x3bc)][_0x3c3917(0x120)]=_0x103845;});}['_uploadLog'](_0x332185,_0x3452ea){const _0x129fd0=_0x486c12;try{let _0x24d2d9={'userId':this[_0x129fd0(0x142)],'logLabel':_0x332185,'content':_0x3452ea};this['_httpService'][_0x129fd0(0x368)](_0x129fd0(0x132),{'body':_0x24d2d9})[_0x129fd0(0x2e4)](()=>{});}catch{}}};_0x558a6b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x558a6b);function _0x41a53b(_0xfb89fd){const _0x333910=_0x486c12;var _0x35dca6,_0x2d1e52;let _0x1f75ea=(_0x35dca6=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x35dca6[_0x333910(0x3af)],_0x24c6e8=((_0x2d1e52=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x2d1e52[_0x333910(0x1f0)])||0x0;return _0x1f75ea===_0x12c154[_0x333910(0x37c)][_0x333910(0x2b3)]&&_0x24c6e8>0x0;}function _0x30afc0(_0xa7bf90){const _0x3e2292=_0x486c12;return _0xa7bf90[_0x3e2292(0x100)]===_0x12c154['FormulaExecutedStateType'][_0x3e2292(0x267)];}let _0x3c0988=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x5ccb1b,_0x59a544,_0x4358ad,_0x1dcd3c,_0x358c22,_0x481255,_0x4b8e61){const _0x3a4425=_0x486c12;super(),this[_0x3a4425(0x147)]=_0x5ccb1b,this[_0x3a4425(0x3ac)]=_0x59a544,this[_0x3a4425(0x2f7)]=_0x4358ad,this['_httpService']=_0x1dcd3c,this[_0x3a4425(0x13d)]=_0x358c22,this[_0x3a4425(0x3bc)]=_0x481255,this['_localeService']=_0x4b8e61,_0x28a1e3(this,_0x3a4425(0x39f),null),_0x28a1e3(this,_0x3a4425(0x388),0x0),_0x28a1e3(this,_0x3a4425(0x1c7),0x0),_0x28a1e3(this,_0x3a4425(0xf4),[]),_0x28a1e3(this,_0x3a4425(0x269),0x0),this[_0x3a4425(0x38e)]();}[_0x486c12(0x38e)](){const _0x5f0ea2=_0x486c12;this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)][_0x5f0ea2(0x1fc)]((_0x305dc2,_0xd91981)=>{const _0x15ec04=_0x5f0ea2;var _0x45f92a;if(_0x305dc2['id']!==_0x12c154[_0x15ec04(0x11c)]['id'])return;let _0x140b2f=_0x305dc2[_0x15ec04(0x230)];if(this['_hasFormulaInDirtyRanges']((_0x45f92a=_0x140b2f[_0x15ec04(0x2a7)])==null?[]:_0x45f92a)&&!this[_0x15ec04(0x2e1)]())throw this[_0x15ec04(0x21e)](_0x305dc2,_0xd91981),this[_0x15ec04(0x178)](),new _0x3789e1['CanceledError']();})),this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)]['onCommandExecuted']((_0x4581b3,_0x2c1f5d)=>{const _0x395327=_0x5f0ea2;if(_0x4581b3['id']!==_0x12c154['SetFormulaCalculationNotificationMutation']['id'])return;let _0x5a954d=_0x4581b3[_0x395327(0x230)];if(_0x41a53b(_0x5a954d)){let _0x85e801=(0x0,_0x3789e1[_0x395327(0x211)])();this[_0x395327(0xf4)]['push'](_0x85e801),this['_startCalculationLimit'](_0x85e801);}else{if(_0x30afc0(_0x5a954d)&&this['_taskIds'][_0x395327(0x391)]>0x0){let _0x50a7c5=this['_taskIds'][_0x395327(0x108)]();this[_0x395327(0xe2)](_0x50a7c5);}}}));}['dispose'](){const _0x2ecfe0=_0x486c12;super['dispose'](),this[_0x2ecfe0(0x1c8)](),this[_0x2ecfe0(0xf4)]=[],this[_0x2ecfe0(0x1c7)]=0x0,this[_0x2ecfe0(0x388)]=0x0,this[_0x2ecfe0(0x269)]=0x0;}async[_0x486c12(0x21e)](_0x262399,_0xb6cf1c){const _0x1dba60=_0x486c12;for(let _0x574ebf=0x0;_0x574ebf<0x1e;_0x574ebf++)try{if(await this[_0x1dba60(0x26b)](),this[_0x1dba60(0x2e1)]()){this[_0x1dba60(0x243)](_0x262399,_0xb6cf1c),this[_0x1dba60(0x147)][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x173)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x318)]});return;}await new Promise(_0x267921=>{const _0x26160a=_0x1dba60;this[_0x26160a(0x39f)]=window['setTimeout'](_0x267921,0x3e8);});}catch(_0x438bc5){this[_0x1dba60(0x3bc)]['error'](_0x438bc5);}this['_messageService'][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x2d3)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x16a)]});}[_0x486c12(0x243)](_0x15f251,_0x133396){const _0xe7df52=_0x486c12;try{this['_commandService']['executeCommand'](_0x15f251['id'],_0x15f251['params'],_0x133396);}catch(_0x284dd3){this['_logService'][_0xe7df52(0x120)](_0x284dd3);}}[_0x486c12(0x363)](_0x548c07,_0x13a9ba){const _0x541435=_0x486c12;_0x13a9ba<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x13a9ba,this[_0x541435(0x388)]=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x336)]),this['_currentUsage']=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x20f)]));}async[_0x486c12(0x393)](_0x1d0c00){const _0x1d3c2d=_0x486c12;let _0x4eaf65=Date['now']();try{var _0x12470d,_0x184031;let _0x5b35c0=((_0x12470d=this[_0x1d3c2d(0x2f7)]['getConfig'](_0x5ba2ed[_0x1d3c2d(0x275)]))==null?void 0x0:_0x12470d[_0x1d3c2d(0x15b)])||_0x1d3c2d(0x308),_0x547230=(await this['_httpService']['post'](_0x5b35c0,{'body':JSON[_0x1d3c2d(0x374)]({'taskId':_0x1d0c00})}))[_0x1d3c2d(0x1a1)];if(((_0x184031=_0x547230['error'])==null?void 0x0:_0x184031[_0x1d3c2d(0x379)])!==_0x53e205[_0x1d3c2d(0x314)]['OK'])return;this[_0x1d3c2d(0x363)](_0x547230[_0x1d3c2d(0x13b)],_0x4eaf65);}catch(_0xb2e5db){this[_0x1d3c2d(0x3bc)][_0x1d3c2d(0x120)](_0xb2e5db);}}async[_0x486c12(0x26b)](_0x686d5f){const _0xcd475c=_0x486c12;let _0x4792ac=Date['now']();try{var _0x213fb7,_0x3c6e0c;let _0xd797c8=((_0x213fb7=this[_0xcd475c(0x2f7)][_0xcd475c(0x172)](_0x5ba2ed[_0xcd475c(0x275)]))==null?void 0x0:_0x213fb7[_0xcd475c(0x19b)])||_0xcd475c(0x355),_0x31000d=_0x686d5f?_0xd797c8+_0xcd475c(0x102)+encodeURIComponent(_0x686d5f):_0xd797c8,_0x461b68=(await this['_httpService'][_0xcd475c(0x114)](_0x31000d))[_0xcd475c(0x1a1)];if(((_0x3c6e0c=_0x461b68[_0xcd475c(0x120)])==null?void 0x0:_0x3c6e0c[_0xcd475c(0x379)])!==_0x53e205[_0xcd475c(0x314)]['OK'])return;this[_0xcd475c(0x363)](_0x461b68[_0xcd475c(0x13b)],_0x4792ac);}catch(_0x3b7f9e){this[_0xcd475c(0x3bc)]['error'](_0x3b7f9e);}}async[_0x486c12(0xe2)](_0x49ff96){const _0x41e0f3=_0x486c12;let _0x5bb5f9=Date[_0x41e0f3(0x2a0)]();try{var _0x11a615,_0x3faf12;let _0x16320a=((_0x11a615=this[_0x41e0f3(0x2f7)]['getConfig'](_0x5ba2ed[_0x41e0f3(0x275)]))==null?void 0x0:_0x11a615[_0x41e0f3(0x140)])||'/universer-api/license/formula/limit/done',_0x5b1c9d=(await this[_0x41e0f3(0x24b)][_0x41e0f3(0x368)](_0x16320a,{'body':JSON[_0x41e0f3(0x374)]({'taskId':_0x49ff96})}))['body'];if(((_0x3faf12=_0x5b1c9d['error'])==null?void 0x0:_0x3faf12[_0x41e0f3(0x379)])!==_0x53e205[_0x41e0f3(0x314)]['OK'])return;this[_0x41e0f3(0x363)](_0x5b1c9d[_0x41e0f3(0x13b)],_0x5bb5f9);}catch(_0x3b3096){this[_0x41e0f3(0x3bc)][_0x41e0f3(0x120)](_0x3b3096);}}[_0x486c12(0x2e1)](){const _0x24b62a=_0x486c12;return this[_0x24b62a(0x388)]===0x0?!0x0:this[_0x24b62a(0x388)]-this[_0x24b62a(0x1c7)]>0x0;}[_0x486c12(0x1c8)](){const _0x5d0264=_0x486c12;this[_0x5d0264(0x39f)]&&(clearTimeout(this['_pollingInterval']),this[_0x5d0264(0x39f)]=null);}[_0x486c12(0x178)](){const _0x5ef60c=_0x486c12;this[_0x5ef60c(0x147)][_0x5ef60c(0x366)]({'content':this['_localeService']['t'](_0x5ef60c(0x2b4)),'type':_0x239455[_0x5ef60c(0x30b)][_0x5ef60c(0x229)]});}[_0x486c12(0x2c4)](_0x2f40aa){const _0x58e4fc=_0x486c12;for(let _0x4eafe8 of _0x2f40aa){let {unitId:_0x434404,sheetId:_0xe2e04c,range:_0x5a7316}=_0x4eafe8,_0xe23547=this['_univerInstanceService'][_0x58e4fc(0x22f)](_0x434404);if(!_0xe23547)continue;let _0x49629e=_0xe23547['getSheetBySheetId'](_0xe2e04c);if(!_0x49629e)continue;let _0x1c9777=_0x49629e[_0x58e4fc(0x115)]();for(let _0x428936=_0x5a7316[_0x58e4fc(0x116)];_0x428936<=_0x5a7316[_0x58e4fc(0x1ab)];_0x428936++)for(let _0x791ad8=_0x5a7316['startColumn'];_0x791ad8<=_0x5a7316['endColumn'];_0x791ad8++){let _0x21895d=_0x1c9777[_0x58e4fc(0x226)](_0x428936,_0x791ad8);if(_0x21895d&&((0x0,_0x3789e1['isFormulaString'])(_0x21895d['f'])||(0x0,_0x3789e1[_0x58e4fc(0x1ca)])(_0x21895d['si'])))return!0x0;}}return!0x1;}};_0x3c0988=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x28956d[_0x486c12(0x190)])),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x4,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x5,_0x3789e1['ILogService']),_0x5dbd47(0x6,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1['LocaleService']))],_0x3c0988);let _0x49419b=class extends _0x3789e1['Disposable']{constructor(_0x346635,_0x507546,_0x1423a4){const _0x3117e2=_0x486c12;super(),this[_0x3117e2(0x2f7)]=_0x346635,this['_localStorageService']=_0x507546,this['_revisionService']=_0x1423a4,_0x28a1e3(this,_0x3117e2(0x204),new Map()),_0x28a1e3(this,_0x3117e2(0x1cc),new Map()),_0x28a1e3(this,_0x3117e2(0xea),!0x1);}['disableLocalCache'](){const _0x299471=_0x486c12;this[_0x299471(0xea)]=!0x0;}['enableLocalCache'](){const _0x3838d3=_0x486c12;this[_0x3838d3(0xea)]=!0x1;}get[_0x486c12(0x22e)](){const _0x210bb0=_0x486c12;return this[_0x210bb0(0x1cc)];}[_0x486c12(0x1b4)](){const _0x32421f=_0x486c12;this[_0x32421f(0x1f8)]()['then'](()=>super[_0x32421f(0x1b4)]());}async[_0x486c12(0x17a)](_0x2a4257){const _0xfe53a7=_0x486c12;return this[_0xfe53a7(0xea)]?null:this['_localStorageService'][_0xfe53a7(0x1a3)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x2a4257));}async[_0x486c12(0x32a)](_0x4b1ab9,_0x54b9f7){return!!this['_localStorageService']['setItem'](_0x4b1ab9,_0x54b9f7);}[_0x486c12(0x14a)](_0x53b4c3,_0x1d8705,_0x5cdca9,_0x381cad){const _0x54ddb5=_0x486c12;let _0x2e3cd9=this[_0x54ddb5(0x384)]['getCurrentRevOfUnit'](_0x53b4c3);this[_0x54ddb5(0x204)]['set'](_0x53b4c3,{'unitID':_0x53b4c3,'type':_0x1d8705,'awaitingChangeset':_0x5cdca9,'mutations':_0x381cad,'rev':_0x2e3cd9}),this[_0x54ddb5(0x1cc)][_0x54ddb5(0x35e)](_0x53b4c3)||this[_0x54ddb5(0x1cf)](_0x53b4c3);}[_0x486c12(0x1cf)](_0x245429){const _0x3b3194=_0x486c12;let _0x19e80f=this['_getSaveTimeout']();_0x19e80f===0x0?this['_saveCache'](_0x245429):this[_0x3b3194(0x1cc)][_0x3b3194(0x1de)](_0x245429,setTimeout(()=>this[_0x3b3194(0xf5)](_0x245429),_0x19e80f));}[_0x486c12(0xfa)](){const _0xe35530=_0x486c12;var _0x19a71c;return(_0x19a71c=this['_configService'][_0xe35530(0x172)](_0x5ba2ed[_0xe35530(0x3a4)]))==null?_0x5ba2ed[_0xe35530(0x194)]:_0x19a71c;}[_0x486c12(0xf5)](_0x39367a){const _0x23a805=_0x486c12;let _0x5a18c0=this[_0x23a805(0x1cc)][_0x23a805(0x114)](_0x39367a);return _0x5a18c0!==void 0x0&&window[_0x23a805(0x2bf)](_0x5a18c0),this['_localStorageService'][_0x23a805(0x3a5)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x39367a),this[_0x23a805(0x204)]['get'](_0x39367a))[_0x23a805(0x2d5)](()=>this[_0x23a805(0x1cc)][_0x23a805(0x26e)](_0x39367a));}async[_0x486c12(0x1f8)](){const _0x4e8654=_0x486c12;let _0x220d2e=[];this[_0x4e8654(0x1cc)][_0x4e8654(0x377)]((_0x2ec676,_0x2392c4)=>{const _0x2d5642=_0x4e8654;window['clearTimeout'](_0x2ec676),_0x220d2e[_0x2d5642(0x1d9)](this[_0x2d5642(0xf5)](_0x2392c4)[_0x2d5642(0x2d5)](()=>{const _0x5e2b8e=_0x2d5642;this[_0x5e2b8e(0x1cc)][_0x5e2b8e(0x26e)](_0x2392c4);}));}),await Promise[_0x4e8654(0x1fa)](_0x220d2e);}};_0x49419b=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x208)]),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x136fe4[_0x486c12(0x2b5)]))],_0x49419b);var _0x5b0485=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(){const _0x4fa941=_0x486c12;super(),_0x28a1e3(this,_0x4fa941(0x23f),void 0x0),this[_0x4fa941(0x23f)]=(0x0,_0x4a289e[_0x4fa941(0x135)])(window,_0x4fa941(0x343))['pipe']((0x0,_0x4a289e['takeUntil'])(this['dispose$']),(0x0,_0x4a289e[_0x4fa941(0x175)])(0x1),(0x0,_0x4a289e[_0x4fa941(0x192)])(void 0x0));}[_0x486c12(0x1d5)](_0x560112,_0x3f6c19,_0x14129e=!0x1){const _0x60e71d=_0x486c12;let _0x35a2fa=new URL(window[_0x60e71d(0x34f)][_0x60e71d(0x185)]);_0x35a2fa['searchParams']['set'](_0x560112,_0x3f6c19),_0x14129e?window[_0x60e71d(0x1a8)][_0x60e71d(0x360)]('','',_0x35a2fa[_0x60e71d(0x22c)]()):window[_0x60e71d(0x1a8)][_0x60e71d(0x109)]('','',_0x35a2fa[_0x60e71d(0x22c)]());}['removeParam'](_0x21ecf7,_0x39176f=!0x1){const _0x25f08e=_0x486c12;let _0x52cf29=new URL(window[_0x25f08e(0x34f)][_0x25f08e(0x185)]);_0x52cf29[_0x25f08e(0x33c)][_0x25f08e(0x26e)](_0x21ecf7),_0x39176f?window[_0x25f08e(0x1a8)]['replaceState']('','',_0x52cf29[_0x25f08e(0x22c)]()):window[_0x25f08e(0x1a8)][_0x25f08e(0x109)]('','',_0x52cf29['toString']());}['getParam'](_0x46710a){const _0x513557=_0x486c12;var _0x2bea5e;return(_0x2bea5e=new URL(window[_0x513557(0x34f)][_0x513557(0x185)])[_0x513557(0x33c)][_0x513557(0x114)](_0x46710a))==null?void 0x0:_0x2bea5e;}};let _0x4c8995=class extends _0x3789e1['Plugin']{constructor(_0x334f78=_0x157272,_0x3785,_0x3c3d32,_0x28af26){const _0x9c7c45=_0x486c12;super(),this[_0x9c7c45(0xfb)]=_0x334f78,this[_0x9c7c45(0x305)]=_0x3785,this[_0x9c7c45(0x2bb)]=_0x3c3d32,this['_configService']=_0x28af26;let {..._0x591ac8}=(0x0,_0x3789e1[_0x9c7c45(0x101)])({},_0x157272,this[_0x9c7c45(0xfb)]);this[_0x9c7c45(0x2f7)]['setConfig'](_0x529e28,_0x591ac8);}[_0x486c12(0x38a)](){const _0x338265=_0x486c12;this[_0x338265(0xf7)](),this[_0x338265(0x1b3)]();}[_0x486c12(0x234)](){const _0x480da0=_0x486c12;this[_0x480da0(0x16f)]();}[_0x486c12(0xf7)](){const _0x4dea67=_0x486c12;var _0x83d2a0;let _0x1aa8d7=[[_0x3e01b5],[_0x3c0988],[_0x115b18],[_0x1dc143],[_0x4e2c0d],[_0xb4d8f5],[_0x1b48a9,{'useClass':_0x5b0485}],[_0x2ccad2[_0x4dea67(0x181)],{'useClass':_0x2ccad2[_0x4dea67(0x2f4)]}],[_0x5ba2ed[_0x4dea67(0x3a0)],{'useClass':_0x49419b}],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0x59bc3e],[_0x560036],[_0xe6e34a]];this['_config'][_0x4dea67(0x17b)]&&_0x1aa8d7[_0x4dea67(0x1d9)]([_0x558a6b]),(0x0,_0x3789e1[_0x4dea67(0x2e8)])(this[_0x4dea67(0x2bb)],(0x0,_0x3789e1[_0x4dea67(0x298)])(_0x1aa8d7,(_0x83d2a0=this[_0x4dea67(0xfb)])==null?void 0x0:_0x83d2a0[_0x4dea67(0x215)]));}[_0x486c12(0x16f)](){const _0x397303=_0x486c12;this[_0x397303(0x26a)](this[_0x397303(0x305)]['registerRenderModule'](_0x3789e1['UniverInstanceType'][_0x397303(0x2a1)],[_0x8c0b72])),this[_0x397303(0x26a)](this['_renderManagerService']['registerRenderModule'](_0x3789e1[_0x397303(0x246)]['UNIVER_SHEET'],[_0x4d3930]));}['_initDependencies'](){const _0x554a4c=_0x486c12;(0x0,_0x3789e1[_0x554a4c(0x296)])(this[_0x554a4c(0x2bb)],[[_0x59bc3e],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0xe6e34a],[_0x3c0988]]),this[_0x554a4c(0xfb)][_0x554a4c(0x17b)]&&(0x0,_0x3789e1['touchDependencies'])(this[_0x554a4c(0x2bb)],[[_0x558a6b]]);}};_0x28a1e3(_0x4c8995,_0x486c12(0x2d9),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x28a1e3(_0x4c8995,_0x486c12(0x10f),_0x606168),_0x28a1e3(_0x4c8995,_0x486c12(0x3ab),_0x34f54e),_0x4c8995=_0x2eed91([(0x0,_0x3789e1[_0x486c12(0x1d2)])(_0x5ba2ed[_0x486c12(0x334)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x24d)])],_0x4c8995);let _0x7679a8=class extends _0x5ba2ed[_0x486c12(0x1c2)]{constructor(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c){super(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c);}async[_0x486c12(0x122)](_0x140943){const _0x438b1c=_0x486c12;let _0x5cc25e=await this['_getSessionTicket'](),_0x38630b=this[_0x438b1c(0xf9)](_0x140943,_0x5cc25e);return this['_doCreateSocket'](_0x38630b);}['_createSocketURL'](_0x59f37c,_0x5beb49){const _0x3504b9=_0x486c12;let _0x147e2c=typeof window>'u'?new URL(_0x59f37c):new URL(_0x59f37c,window['location'][_0x3504b9(0x2cc)]);_0x147e2c['searchParams'][_0x3504b9(0x1de)](_0x3504b9(0xed),_0x5beb49);let _0x3dee12=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3504b9(0x34f)][_0x3504b9(0x277)]);return _0x3dee12[_0x3504b9(0x114)]('runId')&&_0x147e2c[_0x3504b9(0x33c)][_0x3504b9(0x1de)](_0x3504b9(0xe6),_0x3dee12[_0x3504b9(0x114)](_0x3504b9(0xe6))),_0x147e2c[_0x3504b9(0x22c)]();}async[_0x486c12(0x1ce)](){const _0x2cd3db=_0x486c12;var _0x46bb87,_0x426580,_0x266441;let _0x49ce9a=this['_configService'][_0x2cd3db(0x172)](_0x5ba2ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1a4cda=(_0x46bb87=_0x49ce9a==null?void 0x0:_0x49ce9a[_0x2cd3db(0x183)])==null?_0x5ba2ed['DEFAULT_WS_SESSION_TICKET_URL']:_0x46bb87;return(_0x426580=(_0x266441=(await this[_0x2cd3db(0x24b)]['get'](_0x1a4cda,{'headers':{'Content-Type':_0x2cd3db(0x2be)}}))[_0x2cd3db(0x1a1)])==null?void 0x0:_0x266441['ticket'])==null?'':_0x426580;}};_0x7679a8=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,_0x3789e1['ILogService']),_0x5dbd47(0x4,_0x136fe4[_0x486c12(0x2cb)])],_0x7679a8);let _0x4caaa6=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x511213,_0x1ab376,_0x1d115e){const _0x391bec=_0x486c12;super(),this[_0x391bec(0x162)]=_0x511213,this[_0x391bec(0x24b)]=_0x1ab376,this[_0x391bec(0x2f7)]=_0x1d115e;}async[_0x486c12(0x10b)](_0x41c07f,_0x429439,_0x496744,..._0x56b0ed){const _0x1bb5b2=_0x486c12;var _0x244cf6,_0x1103b9,_0x2010bc,_0x659e8b;let _0x45bd9f=this[_0x1bb5b2(0x162)][_0x1bb5b2(0x17d)]();if(!_0x45bd9f)throw Error(_0x1bb5b2(0x187));let _0x3b442f=((_0x244cf6=this[_0x1bb5b2(0x2f7)][_0x1bb5b2(0x172)](_0x5ba2ed[_0x1bb5b2(0x242)]))==null?_0x5ba2ed[_0x1bb5b2(0x309)]:_0x244cf6)+'/'+_0x41c07f+'/run/'+_0x429439,_0x437771={'scriptId':_0x41c07f,'runId':(_0x1103b9=new URL(window[_0x1bb5b2(0x34f)][_0x1bb5b2(0x185)])[_0x1bb5b2(0x33c)][_0x1bb5b2(0x114)](_0x1bb5b2(0xe6)))==null?'':_0x1103b9,'function':_0x429439,'unitId':_0x45bd9f[_0x1bb5b2(0x255)](),'argsOfFunction':JSON[_0x1bb5b2(0x374)](_0x56b0ed),'invokeId':(_0x2010bc=_0x496744['invokeId'])==null?'':_0x2010bc,'executionId':(_0x659e8b=_0x496744[_0x1bb5b2(0x216)])==null?'':_0x659e8b};try{let _0x1dc12c=await this[_0x1bb5b2(0x24b)][_0x1bb5b2(0x368)](_0x3b442f,{'body':_0x437771});return _0x1dc12c['body'][_0x1bb5b2(0x120)]&&_0x1dc12c[_0x1bb5b2(0x1a1)]['error'][_0x1bb5b2(0x379)]!==_0x53e205['ErrorCode']['OK']?'Failed':_0x1dc12c[_0x1bb5b2(0x1a1)][_0x1bb5b2(0x2ff)];}catch{return _0x1bb5b2(0x1b9);}}};_0x4caaa6=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1['IConfigService'])],_0x4caaa6);var _0x4626a9=function(_0x3795b4){const _0x705879=_0x486c12;return _0x3795b4[_0x3795b4[_0x705879(0x276)]=0x0]=_0x705879(0x276),_0x3795b4[_0x3795b4[_0x705879(0x36c)]=0x1]=_0x705879(0x36c),_0x3795b4[_0x3795b4['HEARTBEAT']=0x2]=_0x705879(0x245),_0x3795b4;}(_0x4626a9||{});let _0x4e3ed2=0x7530,_0x4653ed=_0x486c12(0x25e);var _0x12c06f=class extends _0x3789e1['Disposable']{constructor(){const _0x21ed61=_0x486c12;super(),_0x28a1e3(this,_0x21ed61(0x203),(0x0,_0x3789e1[_0x21ed61(0x211)])()),_0x28a1e3(this,'_selfUnitIDs',new Set()),_0x28a1e3(this,'_unitOnClients',new Map()),_0x28a1e3(this,_0x21ed61(0x3b2),null),_0x28a1e3(this,_0x21ed61(0x201),new Map()),_0x28a1e3(this,_0x21ed61(0x134),new Map()),this[_0x21ed61(0x184)]();}[_0x486c12(0x1b4)](){const _0x3632c3=_0x486c12;super[_0x3632c3(0x1b4)](),this['_clearOtherTimers'][_0x3632c3(0x377)]((_0x11b291,_0xbd5cbd)=>this[_0x3632c3(0x387)](_0xbd5cbd)),this['_heartbeatTimer']&&window[_0x3632c3(0x295)](this[_0x3632c3(0x3b2)]);}[_0x486c12(0x385)](_0x5b2872){const _0x51a467=_0x486c12;return this[_0x51a467(0x221)](_0x5b2872)[_0x51a467(0x286)]((0x0,_0x4a289e[_0x51a467(0x1da)])());}[_0x486c12(0xf6)](_0x427fd9){const _0x2944d5=_0x486c12;this[_0x2944d5(0x293)][_0x2944d5(0x2f8)]===0x0&&this[_0x2944d5(0x118)](),this['_selfUnitIDs'][_0x2944d5(0x150)](_0x427fd9),this['_send']({'type':_0x4626a9[_0x2944d5(0x276)],'memberID':this[_0x2944d5(0x203)],'unitIDs':[_0x427fd9],'isForwarded':!0x1});}['disposeUnit'](_0x32d735){const _0x22b5d0=_0x486c12;this[_0x22b5d0(0x293)][_0x22b5d0(0x26e)](_0x32d735),this[_0x22b5d0(0x293)][_0x22b5d0(0x2f8)]===0x0&&this[_0x22b5d0(0x3b2)]&&window['clearInterval'](this[_0x22b5d0(0x3b2)]);}['_init'](){const _0x49d701=_0x486c12;this[_0x49d701(0x26a)]((0x0,_0x3789e1['toDisposable'])((0x0,_0x4a289e['fromEvent'])(window,_0x49d701(0xe1))['subscribe'](_0x4853d6=>{const _0x16f3cc=_0x49d701;if(_0x4853d6[_0x16f3cc(0x2fc)]!==_0x4653ed||!_0x4853d6[_0x16f3cc(0x2e2)])return;let _0x3dce19=JSON[_0x16f3cc(0x212)](_0x4853d6[_0x16f3cc(0x2e2)]);this[_0x16f3cc(0x35c)](_0x3dce19);}))),window['addEventListener'](_0x49d701(0x356),()=>this[_0x49d701(0x248)]({'type':_0x4626a9[_0x49d701(0x36c)],'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x486c12(0x35c)](_0xb7cee1){const _0x35570f=_0x486c12;switch(_0xb7cee1[_0x35570f(0x3a8)]){case _0x4626a9[_0x35570f(0x276)]:this[_0x35570f(0x1e3)](_0xb7cee1);break;case _0x4626a9[_0x35570f(0x36c)]:this['_handleLeaveEvent'](_0xb7cee1);break;case _0x4626a9['HEARTBEAT']:this[_0x35570f(0x2e9)](_0xb7cee1);break;}}[_0x486c12(0x1e3)](_0x1f523a){const _0x524630=_0x486c12;let {unitIDs:_0x4b5674,memberID:_0x2bd38e,isForwarded:_0x24899c}=_0x1f523a;_0x4b5674[_0x524630(0x377)](_0x5b4d53=>{const _0x218589=_0x524630;if(!_0x24899c&&this['_unitOnClients'][_0x218589(0x35e)](_0x5b4d53)&&this[_0x218589(0x221)](_0x5b4d53)['next'](_0x5ba2ed[_0x218589(0x123)][_0x218589(0x386)]),!this[_0x218589(0x1be)][_0x218589(0x35e)](_0x5b4d53)||!this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)[_0x218589(0x35e)](_0x2bd38e)){let _0x3bb28e=this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)||new Set();_0x3bb28e[_0x218589(0x150)](_0x2bd38e),this['_unitOnClients']['set'](_0x5b4d53,_0x3bb28e),this['_scheduleClearOtherTimer'](_0x2bd38e);}}),_0x24899c||this[_0x524630(0x248)]({'type':_0x4626a9['JOIN'],'memberID':this['_id'],'unitIDs':[...this[_0x524630(0x293)]],'isForwarded':!0x0});}[_0x486c12(0x1bc)](_0x3d07e2){const _0x12fca4=_0x486c12;this[_0x12fca4(0x387)](_0x3d07e2);let _0x2d7612=window[_0x12fca4(0x31f)](()=>{const _0x372f9c=_0x12fca4;this['_unitOnClients'][_0x372f9c(0x377)](_0x558b82=>{const _0x48d6d3=_0x372f9c;_0x558b82[_0x48d6d3(0x26e)](_0x3d07e2);});},_0x4e3ed2*0x2);this[_0x12fca4(0x201)][_0x12fca4(0x1de)](_0x3d07e2,_0x2d7612);}[_0x486c12(0x387)](_0x6dbc1c){const _0x1f42bc=_0x486c12;if(this[_0x1f42bc(0x201)][_0x1f42bc(0x35e)](_0x6dbc1c)){let _0x179dff=this[_0x1f42bc(0x201)]['get'](_0x6dbc1c);_0x179dff&&window[_0x1f42bc(0x2bf)](_0x179dff),this[_0x1f42bc(0x201)]['set'](_0x6dbc1c,null);}}['_handleLeaveEvent'](_0x20f780){let {memberID:_0x47de61,unitIDs:_0x3c2fcc}=_0x20f780;_0x3c2fcc['forEach'](_0x3794f1=>{const _0xb69dde=_0x3eb0;var _0x3ab9d3;let _0x4e9709=this[_0xb69dde(0x1be)][_0xb69dde(0x114)](_0x3794f1);_0x4e9709&&(_0x4e9709[_0xb69dde(0x26e)](_0x47de61),(_0x3ab9d3=this[_0xb69dde(0x221)](_0x3794f1))==null||_0x3ab9d3[_0xb69dde(0x283)](_0x4e9709['size']===0x0?_0x5ba2ed[_0xb69dde(0x123)][_0xb69dde(0x2a6)]:_0x5ba2ed['UnitStatus'][_0xb69dde(0x386)]));}),this['_removeClearOtherTimer'](_0x47de61);}[_0x486c12(0x2e9)](_0x21a671){const _0x150ab2=_0x486c12;this['_scheduleClearOtherTimer'](_0x21a671[_0x150ab2(0x37e)]);}[_0x486c12(0x248)](_0x524f86){const _0x22d454=_0x486c12;localStorage['setItem'](_0x4653ed,JSON[_0x22d454(0x374)](_0x524f86));}[_0x486c12(0x118)](){const _0x1ec70e=_0x486c12;this['_heartbeatTimer']=window[_0x1ec70e(0x1ba)](()=>{const _0x13062d=_0x1ec70e;this['_send']({'type':_0x4626a9[_0x13062d(0x245)],'memberID':this[_0x13062d(0x203)]});},_0x4e3ed2);}[_0x486c12(0x221)](_0x2e8c7c){const _0x1f9807=_0x486c12;return this[_0x1f9807(0x134)][_0x1f9807(0x35e)](_0x2e8c7c)||this[_0x1f9807(0x134)][_0x1f9807(0x1de)](_0x2e8c7c,new _0x4a289e['BehaviorSubject'](_0x5ba2ed['UnitStatus'][_0x1f9807(0x2a6)])),this[_0x1f9807(0x134)][_0x1f9807(0x114)](_0x2e8c7c);}};Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x15d),{'enumerable':!0x0,'get':function(){return _0x7679a8;}}),Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x1c0),{'enumerable':!0x0,'get':function(){return _0xe6e34a;}}),Object['defineProperty'](_0x59af53,_0x486c12(0x16c),{'enumerable':!0x0,'get':function(){return _0x2f2efb;}}),_0x59af53[_0x486c12(0x228)]=_0x1b48a9,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x10a),{'enumerable':!0x0,'get':function(){return _0x4caaa6;}}),_0x59af53[_0x486c12(0xf3)]=_0x573714,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x107),{'enumerable':!0x0,'get':function(){return _0x4c8995;}}),_0x59af53[_0x486c12(0x2aa)]=_0x12c06f,_0x59af53[_0x486c12(0x2d8)]=_0x5b0485;}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x2a6b(_0x1268b4,_0x2c6d83){_0x1268b4=_0x1268b4-0x1a7;var _0x19aa33=_0x19aa();var _0x2a6bff=_0x19aa33[_0x1268b4];return _0x2a6bff;}function _0x19aa(){var _0x28ff03=['runOnServer','get','42eCqycX','extend','UniverProCollaborationClientUi','664733ueaUwi','1596760Smpdug','FUniver','@univerjs-pro/collaboration-client-ui','107989zhVrce','_injector','function','amd','RemoteUniscriptService','8lRxdoh','2366262GdCkuU','1769583HHAUjJ','196484UpYOJo','UniverCoreFacade','25DOLyrM','7725060nouPbH'];_0x19aa=function(){return _0x28ff03;};return _0x19aa();}(function(_0x4a2243,_0x38f23a){var _0x675622=_0x2a6b,_0x44a88c=_0x4a2243();while(!![]){try{var _0x52e6f5=parseInt(_0x675622(0x1aa))/0x1+-parseInt(_0x675622(0x1ab))/0x2+-parseInt(_0x675622(0x1b5))/0x3+parseInt(_0x675622(0x1b6))/0x4*(parseInt(_0x675622(0x1b8))/0x5)+parseInt(_0x675622(0x1a7))/0x6*(-parseInt(_0x675622(0x1ae))/0x7)+parseInt(_0x675622(0x1b3))/0x8*(parseInt(_0x675622(0x1b4))/0x9)+parseInt(_0x675622(0x1b9))/0xa;if(_0x52e6f5===_0x38f23a)break;else _0x44a88c['push'](_0x44a88c['shift']());}catch(_0x17b3df){_0x44a88c['push'](_0x44a88c['shift']());}}}(_0x19aa,0x6dbfc),function(_0x29fa1b,_0x55aeb1){var _0x430a5e=_0x2a6b;typeof exports=='object'&&typeof module<'u'?_0x55aeb1(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0x430a5e(0x1b0)&&define[_0x430a5e(0x1b1)]?define([_0x430a5e(0x1ad),'@univerjs/core/facade'],_0x55aeb1):(_0x29fa1b=typeof globalThis<'u'?globalThis:_0x29fa1b||self,_0x55aeb1(_0x29fa1b[_0x430a5e(0x1a9)],_0x29fa1b[_0x430a5e(0x1b7)]));}(this,function(_0x58959c,_0x4d3e29){var _0x239443=_0x2a6b,_0x3871a5=class extends _0x4d3e29[_0x239443(0x1ac)]{[_0x239443(0x1ba)](_0x20d44d,_0x11ef09,..._0x46ad64){var _0x81ddd5=_0x239443;return this[_0x81ddd5(0x1af)][_0x81ddd5(0x1bb)](_0x58959c[_0x81ddd5(0x1b2)])['runOnServer'](_0x20d44d,_0x11ef09,{},..._0x46ad64);}};_0x4d3e29[_0x239443(0x1ac)][_0x239443(0x1a8)](_0x3871a5);}));
11
+ (function(_0x5506b9,_0x517984){var _0x370a75=_0x484b,_0x492708=_0x5506b9();while(!![]){try{var _0x42edf1=parseInt(_0x370a75(0x8c))/0x1+-parseInt(_0x370a75(0x8d))/0x2*(parseInt(_0x370a75(0x78))/0x3)+parseInt(_0x370a75(0x85))/0x4*(-parseInt(_0x370a75(0x88))/0x5)+parseInt(_0x370a75(0x79))/0x6+parseInt(_0x370a75(0x8b))/0x7*(parseInt(_0x370a75(0x7d))/0x8)+-parseInt(_0x370a75(0x7e))/0x9+-parseInt(_0x370a75(0x7a))/0xa*(-parseInt(_0x370a75(0x89))/0xb);if(_0x42edf1===_0x517984)break;else _0x492708['push'](_0x492708['shift']());}catch(_0x4ce3d0){_0x492708['push'](_0x492708['shift']());}}}(_0x1779,0x4bc9e),function(_0x39050b,_0x22c7c1){var _0x2b468b=_0x484b;typeof exports==_0x2b468b(0x7b)&&typeof module<'u'?_0x22c7c1(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define=='function'&&define[_0x2b468b(0x8a)]?define([_0x2b468b(0x82),'@univerjs/core/facade'],_0x22c7c1):(_0x39050b=typeof globalThis<'u'?globalThis:_0x39050b||self,_0x22c7c1(_0x39050b[_0x2b468b(0x81)],_0x39050b[_0x2b468b(0x80)]));}(this,function(_0x5179e1,_0x7dae9c){var _0x5c5123=_0x484b,_0x1094e9=class extends _0x7dae9c[_0x5c5123(0x84)]{['runOnServer'](_0x23fdcb,_0x3921b8,..._0x9d145){var _0x323cca=_0x5c5123;return this[_0x323cca(0x83)][_0x323cca(0x7f)](_0x5179e1[_0x323cca(0x87)])[_0x323cca(0x7c)](_0x23fdcb,_0x3921b8,{},..._0x9d145);}};_0x7dae9c[_0x5c5123(0x84)][_0x5c5123(0x86)](_0x1094e9);}));function _0x484b(_0x6efd47,_0x2fb122){_0x6efd47=_0x6efd47-0x78;var _0x177950=_0x1779();var _0x484bdd=_0x177950[_0x6efd47];return _0x484bdd;}function _0x1779(){var _0x24c3a1=['amd','28UEKFOB','38153LmGzSQ','179182sWuBAK','15NfvTRX','477084qjoTTw','211420EEHpzj','object','runOnServer','55736zXYIku','5564295RKExFO','get','UniverCoreFacade','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client-ui','_injector','FUniver','4276MDchNo','extend','RemoteUniscriptService','175EJuDeO','660byFjNJ'];_0x1779=function(){return _0x24c3a1;};return _0x1779();}
12
12
 
13
13
  // index
14
14
  (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));