@univerjs-pro/collaboration-client 0.9.4-nightly.202507290757 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0xbf377e=_0x1cff;(function(_0x579c15,_0xf59596){var _0x523bb5=_0x1cff,_0x942ace=_0x579c15();while(!![]){try{var _0x1943c8=-parseInt(_0x523bb5(0x208))/0x1+parseInt(_0x523bb5(0x39e))/0x2+parseInt(_0x523bb5(0x337))/0x3+parseInt(_0x523bb5(0x3b7))/0x4+-parseInt(_0x523bb5(0x34c))/0x5*(parseInt(_0x523bb5(0x468))/0x6)+parseInt(_0x523bb5(0x499))/0x7*(-parseInt(_0x523bb5(0x1fe))/0x8)+parseInt(_0x523bb5(0x2af))/0x9;if(_0x1943c8===_0xf59596)break;else _0x942ace['push'](_0x942ace['shift']());}catch(_0x1b652d){_0x942ace['push'](_0x942ace['shift']());}}}(_0x3e02,0x366ab));var yi=Object[_0xbf377e(0x2cc)],Ni=(_0x5c2cc7,_0x23a0f2,_0x2f5dd4)=>_0x23a0f2 in _0x5c2cc7?yi(_0x5c2cc7,_0x23a0f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f5dd4}):_0x5c2cc7[_0x23a0f2]=_0x2f5dd4,N=(_0x4184e1,_0x5bdeb4,_0x3acc74)=>Ni(_0x4184e1,typeof _0x5bdeb4!=_0xbf377e(0x3d1)?_0x5bdeb4+'':_0x5bdeb4,_0x3acc74);import{createIdentifier as _0x175981,Inject as _0x1c582e,Injector as _0x268804,IConfigService as _0xe9c879,ILogService as _0x11790f,Disposable as _0x2d6575,DisposableCollection as _0x3de499,toDisposable as _0x1ddba4,IUniverInstanceService as _0x8ffa5d,UserManagerService as _0xf61b8a,UniverInstanceType as _0x4db421,Optional as _0x452fc6,RxDisposable as _0x50936f,Tools as _0x4560ad,Rectangle as _0x3bf751,ICommandService as _0xc02145,JSONX as _0x3c9047,CommandType as _0x1a9537,IUndoRedoService as _0x26e538,IPermissionService as _0xe07f13,LocaleService as _0x213c64,sequenceExecute as _0x1835bf,Workbook as _0x34d027,generateRandomId as _0x14caa5,MentionType as _0x1aa237,isInternalEditorID as _0x78defc,LocalUndoRedoService as _0x5f87cb,IContextService as _0x282538,DependentOn as _0x20d5d3,Plugin as _0x4ce592,merge as _0x7ea52c,mergeOverrideWithDependencies as _0x4dcd6c,IAuthzIoService as _0x45bf45,IMentionIOService as _0x241c1d,registerDependencies as _0x2fa2a5,Quantity as _0x1c434c,touchDependencies as _0x144c72}from'@univerjs/core';import{Subject as _0x4a9222,merge as _0x2df817,of as _0x11003f,BehaviorSubject as _0x1f6c9f,takeUntil as _0x39b035,ReplaySubject as _0x2ee19e,take as _0x3e5144,map as _0x55e73e,shareReplay as _0x139ba8,firstValueFrom as _0x39a30b,concatMap as _0x10f916}from'rxjs';import{map as _0x1ef428,take as _0x4d9d3d,filter as _0x28ef92,delay as _0x100efb,takeUntil as _0x4d45ba}from'rxjs/operators';import{CollaborationEvent as _0x5899ec,ISnapshotServerService as _0x35d6f9,parseChangesetToProtocol as _0xe4be05,ITransformService as _0xf8efc,isTransformMutationsWithChangesetSuccess as _0x13d19e,mapDocumentTypeToUniverType as _0x32f7b5,RevisionService as _0x22d135,isTransformChangesetsSuccess as _0x270b22,CompressMutationService as _0x55cac5,parseProtocolChangeset as _0x96ddd6,uuidv4 as _0x4e9df5,SnapshotService as _0x19e068,textEncoder as _0x3b6a78,b64DecodeUnicode as _0x436c26,isTransformMutationsWithChangesetFailure as _0x1a63b6,UniverCollaborationPlugin as _0x243f38}from'@univerjs-pro/collaboration';import{HTTPService as _0x44ae9d,ISocketService as _0x2682c0,MergeInterceptorFactory as _0x2e637b,HTTPRequest as _0x385b69,UniverNetworkPlugin as _0x471690,ThresholdInterceptorFactory as _0x2e5e2d}from'@univerjs/network';import{ITelemetryService as _0x9e3ba4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x166f61}from'@univerjs/docs';import{SheetsSelectionsService as _0x3af427,SetSelectionsOperation as _0x1ef4a2,InsertSheetMutation as _0x1a0324,EmptyMutation as _0x5b670f,WorkbookEditablePermission as _0xc85e7d,SheetPermissionInitController as _0x966d12}from'@univerjs/sheets';import{ImageSourceType as _0x46d845,ImageUploadStatusType as _0x1995e6,IImageIoService as _0x459fa1}from'@univerjs/drawing';import{getGlobalObject as _0x541ccd}from'@univerjs-pro/license';const fs=_0xbf377e(0x29a),vs=_0xbf377e(0x1f6),ps=0x7d0,ms=_0xbf377e(0x33f),Ir=_0xbf377e(0x20d),gs=_0xbf377e(0x475),Ss=0x7530,di=_0xbf377e(0x36e),fi=0x4e20,Es=0x4e20,Is=_0xbf377e(0x425),Ts=0x3,Tr=_0xbf377e(0x3a3),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0xbf377e(0x30a),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0xbf377e(0x32c);var vi=(_0x4ff8f9=>(_0x4ff8f9[_0x4ff8f9['UNDEFINED']=0x0]='UNDEFINED',_0x4ff8f9[_0x4ff8f9['OK']=0x1]='OK',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x32a)]=0x2]=_0xbf377e(0x32a),_0x4ff8f9[_0x4ff8f9['PERMISSION_DENIED']=0x3]=_0xbf377e(0x387),_0x4ff8f9[_0x4ff8f9['NOT_FOUND']=0x4]='NOT_FOUND',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x49e)]=0x5]=_0xbf377e(0x49e),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x306)]=0x6]=_0xbf377e(0x306),_0x4ff8f9[_0x4ff8f9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x330)]=0x8]='TOO_MANY_REQUESTS',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x44e)]=0x9]=_0xbf377e(0x44e),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x372)]=0xa]=_0xbf377e(0x372),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x47c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x2c2)]=0xc]=_0xbf377e(0x2c2),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x416)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x33d)]=0xe]=_0xbf377e(0x33d),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x218)]=0x1389]=_0xbf377e(0x218),_0x4ff8f9[_0x4ff8f9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xbf377e(0x321),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3ef)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x263)]=0x1773]=_0xbf377e(0x263),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x2c3)]=0x1b59]=_0xbf377e(0x2c3),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3a8)]=0x1b5a]=_0xbf377e(0x3a8),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3af)]=0x1b5b]=_0xbf377e(0x3af),_0x4ff8f9[_0x4ff8f9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbf377e(0x348),_0x4ff8f9[_0x4ff8f9['APPLY_DUPLICATED']=0x1b5d]=_0xbf377e(0x415),_0x4ff8f9[_0x4ff8f9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4ff8f9[_0x4ff8f9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xbf377e(0x289),_0x4ff8f9[_0x4ff8f9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbf377e(0x2b4),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x262)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ff8f9[_0x4ff8f9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4ff8f9[_0x4ff8f9['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbf377e(0x3f1),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4c5)]=0x2711]=_0xbf377e(0x4c5),_0x4ff8f9[_0x4ff8f9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4ff8f9[_0x4ff8f9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xbf377e(0x434),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x333)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4e6)]=0x271a]=_0xbf377e(0x4e6),_0x4ff8f9[_0x4ff8f9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xbf377e(0x4e8),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x216)]=0x271c]=_0xbf377e(0x216),_0x4ff8f9[_0x4ff8f9['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xbf377e(0x347),_0x4ff8f9[_0x4ff8f9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xbf377e(0x3c5),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3ac)]=0x271f]=_0xbf377e(0x3ac),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x47e)]=0x2720]=_0xbf377e(0x47e),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x1f7)]=0x2af9]=_0xbf377e(0x1f7),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3dc)]=0x2ee1]=_0xbf377e(0x3dc),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x441)]=0x2ee2]='INVALID_INVITE_CODE',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x45f)]=0x2ee3]=_0xbf377e(0x45f),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x43f)]=0x2ee4]=_0xbf377e(0x43f),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4e7)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x395)]=0x32c9]=_0xbf377e(0x395),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x23e)]=0x32ca]=_0xbf377e(0x23e),_0x4ff8f9[_0x4ff8f9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xbf377e(0x2e0),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4b1)]=-0x1]='UNRECOGNIZED',_0x4ff8f9))(vi||{}),Z=(_0x37b722=>(_0x37b722[_0x37b722['UNIVER_UNKNOWN']=0x0]=_0xbf377e(0x4f3),_0x37b722[_0x37b722[_0xbf377e(0x2e9)]=0x1]=_0xbf377e(0x2e9),_0x37b722[_0x37b722['UNIVER_SHEET']=0x2]=_0xbf377e(0x229),_0x37b722[_0x37b722[_0xbf377e(0x2da)]=0x3]=_0xbf377e(0x2da),_0x37b722[_0x37b722[_0xbf377e(0x21c)]=0x4]=_0xbf377e(0x21c),_0x37b722[_0x37b722['UNRECOGNIZED']=-0x1]=_0xbf377e(0x4b1),_0x37b722))(Z||{}),F=(_0x4436d4=>(_0x4436d4[_0x4436d4['UNKNOWN_CMD']=0x0]=_0xbf377e(0x1f2),_0x4436d4[_0x4436d4[_0xbf377e(0x25a)]=0x1]=_0xbf377e(0x25a),_0x4436d4[_0x4436d4[_0xbf377e(0x450)]=0x2]=_0xbf377e(0x450),_0x4436d4[_0x4436d4[_0xbf377e(0x3ab)]=0x3]=_0xbf377e(0x3ab),_0x4436d4[_0x4436d4[_0xbf377e(0x3df)]=0x4]=_0xbf377e(0x3df),_0x4436d4[_0x4436d4[_0xbf377e(0x478)]=0x5]=_0xbf377e(0x478),_0x4436d4[_0x4436d4[_0xbf377e(0x2eb)]=0x6]=_0xbf377e(0x2eb),_0x4436d4[_0x4436d4['UNRECOGNIZED']=-0x1]=_0xbf377e(0x4b1),_0x4436d4))(F||{}),pe=(_0x4420aa=>(_0x4420aa[_0x4420aa[_0xbf377e(0x384)]=0x0]=_0xbf377e(0x384),_0x4420aa[_0x4420aa['OK']=0x1]='OK',_0x4420aa[_0x4420aa[_0xbf377e(0x1f8)]=0x2]=_0xbf377e(0x1f8),_0x4420aa[_0x4420aa[_0xbf377e(0x30b)]=0x3e9]=_0xbf377e(0x30b),_0x4420aa[_0x4420aa[_0xbf377e(0x2d3)]=0x3ea]=_0xbf377e(0x2d3),_0x4420aa[_0x4420aa['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4420aa[_0x4420aa[_0xbf377e(0x311)]=0x3ec]=_0xbf377e(0x311),_0x4420aa[_0x4420aa[_0xbf377e(0x4b1)]=-0x1]=_0xbf377e(0x4b1),_0x4420aa))(pe||{}),pi=(_0x15c03b=>(_0x15c03b[_0x15c03b[_0xbf377e(0x253)]=0x0]='Undefined',_0x15c03b[_0x15c03b[_0xbf377e(0x390)]=0x1]=_0xbf377e(0x390),_0x15c03b[_0x15c03b[_0xbf377e(0x4ef)]=0x2]=_0xbf377e(0x4ef),_0x15c03b[_0x15c03b['UnitEmbedded']=0x3]=_0xbf377e(0x2c6),_0x15c03b[_0x15c03b[_0xbf377e(0x2a2)]=0x4]=_0xbf377e(0x2a2),_0x15c03b[_0x15c03b[_0xbf377e(0x41d)]=0x5]='UserProfileImg',_0x15c03b[_0x15c03b[_0xbf377e(0x4b1)]=-0x1]='UNRECOGNIZED',_0x15c03b))(pi||{});const K='collaboration-client.config',Os={};var ne=(_0x5d51d8=>(_0x5d51d8[_0xbf377e(0x456)]=_0xbf377e(0x456),_0x5d51d8[_0xbf377e(0x387)]=_0xbf377e(0x387),_0x5d51d8[_0xbf377e(0x4d5)]=_0xbf377e(0x4d5),_0x5d51d8[_0xbf377e(0x370)]=_0xbf377e(0x370),_0x5d51d8[_0xbf377e(0x2b5)]=_0xbf377e(0x2b5),_0x5d51d8[_0xbf377e(0x4bb)]=_0xbf377e(0x4bb),_0x5d51d8['SOCKET_FAILED']=_0xbf377e(0x4b8),_0x5d51d8[_0xbf377e(0x210)]='SUBMIT_CHANGESET_TIMEOUT',_0x5d51d8))(ne||{});class ve{constructor(){var _0x32e63d=_0xbf377e;N(this,'_event$',new _0x4a9222()),N(this,'event$',this['_event$'][_0x32e63d(0x22f)]());}[_0xbf377e(0x37b)](_0x53f2ce){var _0x423568=_0xbf377e;this[_0x423568(0x293)]['next'](_0x53f2ce);}}const bs=_0x175981(_0xbf377e(0x4cf));function ys(_0x2049e7){var _0x3fa722=_0xbf377e,_0x54e1c5,_0x5dd94c,_0x267668,_0x27bb16,_0x4bb234;const _0x502c1b=_0x2049e7[_0x3fa722(0x3bb)],_0x412ad7=JSON[_0x3fa722(0x2de)](_0x502c1b);switch(_0x412ad7[_0x3fa722(0x48f)]){case F[_0x3fa722(0x478)]:case F[_0x3fa722(0x25a)]:{const _0x404998=_0x412ad7[_0x3fa722(0x2ca)];return{..._0x412ad7,'data':_0x404998,'cmd':_0x412ad7[_0x3fa722(0x48f)]};}case F[_0x3fa722(0x450)]:{const _0x160017=_0x412ad7[_0x3fa722(0x276)];return{..._0x412ad7,'data':_0x160017,'cmd':_0x412ad7[_0x3fa722(0x48f)]};}case F[_0x3fa722(0x2eb)]:{const _0x1271f0=_0x412ad7['collaMsg'];switch(_0x1271f0[_0x3fa722(0x214)]){case _0x5899ec[_0x3fa722(0x4db)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x54e1c5=_0x1271f0['permissionRejEvent'])==null?void 0x0:_0x54e1c5['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x27e)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x5dd94c=_0x1271f0[_0x3fa722(0x47f)])==null?void 0x0:_0x5dd94c['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x319)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x267668=_0x1271f0[_0x3fa722(0x3ce)])==null?void 0x0:_0x267668['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x217)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x27bb16=_0x1271f0[_0x3fa722(0x252)])==null?void 0x0:_0x27bb16['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x3b4)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x4bb234=_0x1271f0[_0x3fa722(0x207)])==null?void 0x0:_0x4bb234['cs']},'cmd':_0x412ad7['cmd']};case _0x5899ec['UPDATE_CURSOR']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x42d)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec['USERS_ENTER']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x40d)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x260)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['leaveEvent']},'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x23b)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['liveShareNewHost']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x4a6)]:case _0x5899ec['LIVESHARE_OPERATION']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x242)]},'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x462)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x31b)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x3d7)]:return{..._0x412ad7,'data':_0x1271f0,'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x3e1)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['commentUpdateEvent']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec['UPDATE_PERMISSION_OBJ']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['updatePermissionObjEvent']},'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x448)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x38e)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x42a)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x2a3)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};default:return _0x412ad7;}}default:return _0x412ad7;}}function Ns(_0x2c71a5){var _0x3d5804=_0xbf377e;switch(_0x2c71a5['cmd']){case F[_0x3d5804(0x478)]:case F[_0x3d5804(0x25a)]:return JSON[_0x3d5804(0x25e)]({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5[_0x3d5804(0x484)]});case F['INGEST']:{let _0x3aa499;switch(_0x2c71a5[_0x3d5804(0x3bb)]['eventID']){case _0x5899ec[_0x3d5804(0x35a)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x35a)],'updateCursorEvent':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x260)]:{_0x3aa499={'eventID':_0x5899ec['USERS_LEAVE'],'leaveEvent':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec['USERS_ENTER']:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x497)],'joinEvent':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x23b)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x23b)],'liveShareNewHost':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x3fe)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x3fe)],'liveShareOperation':_0x2c71a5['data']['data']};break;}case _0x5899ec[_0x3d5804(0x462)]:{_0x3aa499={'eventID':_0x5899ec['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x3c9)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x3c9)],'liveShareRequestHost':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec['LIVESHARE_FETCH_OPERATIONS']:{_0x3aa499={'eventID':_0x5899ec['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3aa499={'eventID':_0x2c71a5['data']['eventID']};}return JSON['stringify']({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5[_0x3d5804(0x484)],'collaMsg':_0x3aa499});}case F['JOIN']:return JSON['stringify']({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5['routeKey'],'joinReq':_0x2c71a5['data']});case F['LEAVE']:return JSON[_0x3d5804(0x25e)]({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5[_0x3d5804(0x484)],'leaveReq':_0x2c71a5[_0x3d5804(0x3bb)]});default:throw new Error(_0x3d5804(0x496));}}var Ds=Object[_0xbf377e(0x359)],Us=(_0x16912b,_0x1f4a3c,_0x1a2578,_0xafcd63)=>{for(var _0x2195b9=_0xafcd63>0x1?void 0x0:_0xafcd63?Ds(_0x1f4a3c,_0x1a2578):_0x1f4a3c,_0x5ab0c6=_0x16912b['length']-0x1,_0x1f63c9;_0x5ab0c6>=0x0;_0x5ab0c6--)(_0x1f63c9=_0x16912b[_0x5ab0c6])&&(_0x2195b9=_0x1f63c9(_0x2195b9)||_0x2195b9);return _0x2195b9;},De=(_0x389f37,_0x240afb)=>(_0x5db1d7,_0x26ab22)=>_0x240afb(_0x5db1d7,_0x26ab22,_0x389f37);const mi=_0x175981('univer-pro.collaboration-client-socket-service');function As(_0xe766a,_0x2ef82f,_0x307d98){var _0x854253=_0xbf377e;return _0xe766a+'/'+_0x2ef82f+_0x854253(0x20e)+_0x307d98+'/new_changes';}let Ft=class extends _0x2d6575{constructor(_0x2f82ac,_0x4a6bed,_0x34abce,_0x109b37,_0xd87743){var _0x2c5def=_0xbf377e;super(),this[_0x2c5def(0x223)]=_0x2f82ac,this[_0x2c5def(0x367)]=_0x4a6bed,this['_configService']=_0x34abce,this['_logService']=_0x109b37,this[_0x2c5def(0x35c)]=_0xd87743;}[_0xbf377e(0x29e)](_0x4baf99){var _0xee71e7=_0xbf377e;const _0x3c091a=this[_0xee71e7(0x223)][_0xee71e7(0x4e3)](_0x2682c0);if(!_0x3c091a)throw new Error(_0xee71e7(0x2bd));const _0x435718=_0x3c091a['createSocket'](_0x4baf99);if(!_0x435718)throw new Error(_0xee71e7(0x2c8));const _0x37a107=new _0x3de499(),_0x5d8f6c=new _0x4a9222();_0x37a107[_0xee71e7(0x477)](_0x435718[_0xee71e7(0x381)]['subscribe'](_0x37c798=>_0x5d8f6c[_0xee71e7(0x233)](_0x37c798))),_0x37a107[_0xee71e7(0x477)](_0x1ddba4(()=>_0x5d8f6c['complete']()));const _0xf84009=new _0x4a9222();_0x37a107[_0xee71e7(0x477)](_0x435718[_0xee71e7(0x4e0)][_0xee71e7(0x251)](_0x41277f=>_0xf84009[_0xee71e7(0x233)](_0x41277f))),_0x37a107['add'](_0x1ddba4(()=>_0xf84009[_0xee71e7(0x224)]()));const _0x2c1071=new _0x4a9222();_0x37a107[_0xee71e7(0x477)](_0x435718[_0xee71e7(0x3bc)][_0xee71e7(0x251)](_0x3c283c=>{var _0x492238=_0xee71e7;const _0x3e161a=ys(_0x3c283c);_0x2c1071[_0x492238(0x233)](_0x3e161a);})),_0x37a107['add'](_0x1ddba4(()=>_0x2c1071[_0xee71e7(0x224)]()));let _0x7fc43a;const _0x4c4eea=()=>{var _0x39fb25=_0xee71e7;_0xf84009[_0x39fb25(0x233)](new Event(_0x39fb25(0x373))),_0x5d8f6c[_0x39fb25(0x233)](new Event(_0x39fb25(0x373))),_0x7fc43a[_0x39fb25(0x433)]();};return _0x7fc43a={'memberID':'','close$':_0x5d8f6c[_0xee71e7(0x22f)](),'error$':_0xf84009[_0xee71e7(0x22f)](),'open$':_0x435718[_0xee71e7(0x203)],'message$':_0x2c1071[_0xee71e7(0x22f)](),'send':_0xe2cb66=>{var _0x5ca359=_0xee71e7;if(_0xe2cb66['cmd']===F[_0x5ca359(0x3df)]){if(_0xe2cb66['data'][_0x5ca359(0x214)]===_0x5899ec[_0x5ca359(0x2ce)]){this[_0x5ca359(0x4d2)](_0x7fc43a,_0xe2cb66[_0x5ca359(0x3bb)])[_0x5ca359(0x23a)](_0x2aa703=>{var _0x54833c=_0x5ca359;this[_0x54833c(0x3fb)][_0x54833c(0x215)](_0x2aa703),_0x4c4eea();});return;}if(_0xe2cb66[_0x5ca359(0x3bb)][_0x5ca359(0x214)]===_0x5899ec[_0x5ca359(0x391)]){const _0x271adc=_0xe2cb66[_0x5ca359(0x3bb)];this[_0x5ca359(0x227)](_0x271adc)[_0x5ca359(0x219)](_0x5254ba=>{var _0x195e55=_0x5ca359;_0x2c1071[_0x195e55(0x233)]({'cmd':F[_0x195e55(0x2eb)],'code':pe['OK'],'routeKey':_0x271adc['data'][_0x195e55(0x378)],'routeType':'','data':{'eventID':_0x5899ec['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5254ba}}});})[_0x5ca359(0x23a)](_0x2e4e21=>{var _0x43690d=_0x5ca359;this[_0x43690d(0x3fb)][_0x43690d(0x215)](_0x2e4e21),_0x4c4eea();});return;}}_0x435718[_0x5ca359(0x469)](Ns(_0xe2cb66));},'close':()=>{var _0x19a0b2=_0xee71e7;_0x435718[_0x19a0b2(0x433)](),_0x37a107[_0x19a0b2(0x211)]();}},_0x7fc43a;}async['_submitChangeset'](_0x2b93fc,_0xebe2ba){var _0x526ec9=_0xbf377e,_0x5635cd;const {unitType:_0x5a7cdb,unitID:_0x489c7b,changeset:_0xfe9841}=_0xebe2ba[_0x526ec9(0x3bb)],_0x2b60ac={'unitID':_0x489c7b,'memberID':_0x2b93fc[_0x526ec9(0x392)],'type':_0x5a7cdb,'changeset':_0xe4be05(_0xfe9841)},_0x5194a6=this[_0x526ec9(0x457)]['getConfig'](K),_0x228953=As((_0x5635cd=_0x5194a6==null?void 0x0:_0x5194a6['collabSubmitChangesetUrl'])!=null?_0x5635cd:Cs,_0x5a7cdb,_0x489c7b);try{await this[_0x526ec9(0x367)][_0x526ec9(0x459)](_0x228953,{'body':_0x2b60ac});}catch(_0x227ab7){throw this[_0x526ec9(0x3fb)][_0x526ec9(0x215)](_0x526ec9(0x2bc),_0x526ec9(0x449)),_0x227ab7;}}async[_0xbf377e(0x227)](_0x43b579){var _0x5b9c21=_0xbf377e;const {unitID:_0x537f46,from:_0x27b3d5,to:_0x21588e,unitType:_0x23a0d8}=_0x43b579['data'];return(await this[_0x5b9c21(0x35c)][_0x5b9c21(0x3ff)]({'metadata':void 0x0},{'unitID':_0x537f46,'type':_0x23a0d8,'from':_0x27b3d5,'to':_0x21588e}))[_0x5b9c21(0x355)];}};Ft=Us([De(0x0,_0x1c582e(_0x268804)),De(0x1,_0x1c582e(_0x44ae9d)),De(0x2,_0xe9c879),De(0x3,_0x11790f),De(0x4,_0x35d6f9)],Ft);const ws=_0xbf377e(0x22a);function Ps(_0x372b51){var _0x838b0d=_0xbf377e;return JSON[_0x838b0d(0x25e)](_0x372b51)[_0x838b0d(0x234)];}class gi{constructor(){var _0x3c8298=_0xbf377e;N(this,_0x3c8298(0x1f3),new _0x4a9222()),N(this,_0x3c8298(0x481),this[_0x3c8298(0x1f3)][_0x3c8298(0x22f)]());}['onCommentUpdate'](_0xcb996){var _0x24ed4d=_0xbf377e;this[_0x24ed4d(0x1f3)][_0x24ed4d(0x233)](_0xcb996);}}var Ms=Object['getOwnPropertyDescriptor'],Ls=(_0x1e7db8,_0x51fed8,_0x501278,_0x220ff6)=>{var _0x22e08d=_0xbf377e;for(var _0x1186f2=_0x220ff6>0x1?void 0x0:_0x220ff6?Ms(_0x51fed8,_0x501278):_0x51fed8,_0x3bdad5=_0x1e7db8[_0x22e08d(0x234)]-0x1,_0x16d8cc;_0x3bdad5>=0x0;_0x3bdad5--)(_0x16d8cc=_0x1e7db8[_0x3bdad5])&&(_0x1186f2=_0x16d8cc(_0x1186f2)||_0x1186f2);return _0x1186f2;},Vt=(_0x655dcf,_0x39bf2b)=>(_0x59b440,_0x4569de)=>_0x39bf2b(_0x59b440,_0x4569de,_0x655dcf);let we=class extends _0x2d6575{constructor(_0x31fe55,_0xd30207){var _0x18e1a8=_0xbf377e;super(),N(this,'_roomMembers',new Map()),N(this,_0x18e1a8(0x4f0),new _0x4a9222()),(this[_0x18e1a8(0x268)]=_0x31fe55,this['_userManagerService']=_0xd30207,this[_0x18e1a8(0x32e)](_0x2df817(this[_0x18e1a8(0x268)][_0x18e1a8(0x35f)](_0x4db421['UNIVER_SHEET'])[_0x18e1a8(0x2fd)](_0x1ef428(_0x57ec23=>_0x57ec23[_0x18e1a8(0x4c2)]())),this['_univerInstanceService'][_0x18e1a8(0x35f)](_0x4db421[_0x18e1a8(0x2e9)])['pipe'](_0x1ef428(_0x2d5b9e=>_0x2d5b9e[_0x18e1a8(0x4c2)]())),this[_0x18e1a8(0x268)][_0x18e1a8(0x35f)](_0x4db421[_0x18e1a8(0x2da)])[_0x18e1a8(0x2fd)](_0x1ef428(_0x355c9a=>_0x355c9a['getUnitId']())))[_0x18e1a8(0x251)](_0xdbaf7b=>this['_removeRoom'](_0xdbaf7b))));}[_0xbf377e(0x407)](_0x4d7e3b){var _0x4350f7=_0xbf377e;return this[_0x4350f7(0x47b)][_0x4350f7(0x255)](_0x4d7e3b)?_0x11003f(this[_0x4350f7(0x47b)]['get'](_0x4d7e3b)):this['_roomCreated$']['pipe'](_0x1ef428(_0x54158c=>{var _0x3e2374=_0x4350f7;if(_0x54158c===_0x4d7e3b)return this[_0x3e2374(0x47b)][_0x3e2374(0x4e3)](_0x54158c);}));}[_0xbf377e(0x44f)](_0x1ec701){var _0x5101cd=_0xbf377e;this[_0x5101cd(0x275)][_0x5101cd(0x44f)](_0x1ec701);}[_0xbf377e(0x4ae)](){var _0x31c9dd=_0xbf377e;return this['_userManagerService'][_0x31c9dd(0x4ae)]();}[_0xbf377e(0x408)](_0x2faee7,_0x4dc07c){var _0x490fe7=_0xbf377e;let _0x1fadad=this[_0x490fe7(0x47b)][_0x490fe7(0x4e3)](_0x2faee7);_0x1fadad||(_0x1fadad=new xs(),this[_0x490fe7(0x47b)][_0x490fe7(0x2f7)](_0x2faee7,_0x1fadad),this[_0x490fe7(0x4f0)][_0x490fe7(0x233)](_0x2faee7)),_0x1fadad[_0x490fe7(0x408)](_0x4dc07c);}[_0xbf377e(0x428)](_0x391b7a,_0x108bcb){var _0x5c719a=_0xbf377e;const _0x111b84=this[_0x5c719a(0x47b)][_0x5c719a(0x4e3)](_0x391b7a);_0x111b84&&_0x111b84['removeMember'](_0x108bcb);}[_0xbf377e(0x46e)](_0x332313){var _0x25663a=_0xbf377e;return this['_roomMembers'][_0x25663a(0x4e3)](_0x332313);}[_0xbf377e(0x322)](_0x161ace,_0x2e7ede){var _0x3b3a34=_0xbf377e;const _0x9c9cad=this[_0x3b3a34(0x47b)][_0x3b3a34(0x4e3)](_0x161ace);if(_0x9c9cad)return _0x9c9cad[_0x3b3a34(0x322)](_0x2e7ede);}['_removeRoom'](_0x14d92d){var _0x5aa963=_0xbf377e;const _0x10ecc4=this['_roomMembers'][_0x5aa963(0x4e3)](_0x14d92d);_0x10ecc4&&(_0x10ecc4[_0x5aa963(0x211)](),this[_0x5aa963(0x47b)][_0x5aa963(0x284)](_0x14d92d));}[_0xbf377e(0x211)](){var _0x4d6d6b=_0xbf377e;this['_roomMembers'][_0x4d6d6b(0x250)](_0x50c77e=>_0x50c77e[_0x4d6d6b(0x211)]()),this['_roomMembers'][_0x4d6d6b(0x426)](),this[_0x4d6d6b(0x4f0)][_0x4d6d6b(0x224)]();}};we=Ls([Vt(0x0,_0x8ffa5d),Vt(0x1,_0x1c582e(_0xf61b8a))],we);class xs extends _0x2d6575{constructor(){var _0x4b9030=_0xbf377e;super(...arguments),N(this,'_members',new Map()),N(this,_0x4b9030(0x28e),new _0x1f6c9f(this['_members'])),N(this,_0x4b9030(0x432),this[_0x4b9030(0x28e)]['asObservable']());}[_0xbf377e(0x211)](){var _0x38fc30=_0xbf377e;this[_0x38fc30(0x283)]['clear']();}[_0xbf377e(0x408)](_0xae0ace){var _0x137216=_0xbf377e;this[_0x137216(0x283)][_0x137216(0x2f7)](_0xae0ace[_0x137216(0x392)],_0xae0ace),this['_emitMembers']();}[_0xbf377e(0x428)](_0x56a133){var _0x3fd33f=_0xbf377e;this[_0x3fd33f(0x283)][_0x3fd33f(0x284)](_0x56a133);}[_0xbf377e(0x322)](_0xa62874){var _0x58acc4=_0xbf377e;return this[_0x58acc4(0x283)]['get'](_0xa62874);}[_0xbf377e(0x326)](){var _0x46c59b=_0xbf377e;return Array[_0x46c59b(0x40f)](this[_0x46c59b(0x283)][_0x46c59b(0x28f)]());}[_0xbf377e(0x4b0)](){var _0x2376b7=_0xbf377e;this[_0x2376b7(0x28e)][_0x2376b7(0x233)](this[_0x2376b7(0x283)]);}}var ks=Object['getOwnPropertyDescriptor'],$s=(_0x2b2ea2,_0x11f5fc,_0x5dc12b,_0x5c4504)=>{var _0x2307df=_0xbf377e;for(var _0x28cf3a=_0x5c4504>0x1?void 0x0:_0x5c4504?ks(_0x11f5fc,_0x5dc12b):_0x11f5fc,_0x4dc284=_0x2b2ea2[_0x2307df(0x234)]-0x1,_0x5dc9e1;_0x4dc284>=0x0;_0x4dc284--)(_0x5dc9e1=_0x2b2ea2[_0x4dc284])&&(_0x28cf3a=_0x5dc9e1(_0x28cf3a)||_0x28cf3a);return _0x28cf3a;},Ce=(_0x217967,_0xd23bf4)=>(_0x5db5d5,_0x5d35e0)=>_0xd23bf4(_0x5db5d5,_0x5d35e0,_0x217967),ge=(_0x444d7d=>(_0x444d7d[_0x444d7d[_0xbf377e(0x232)]=0x0]='IDLE',_0x444d7d[_0x444d7d[_0xbf377e(0x2b3)]=0x1]=_0xbf377e(0x2b3),_0x444d7d[_0x444d7d[_0xbf377e(0x323)]=0x2]=_0xbf377e(0x323),_0x444d7d[_0x444d7d[_0xbf377e(0x2fa)]=0x3]=_0xbf377e(0x2fa),_0x444d7d))(ge||{});const Wt={[pe[_0xbf377e(0x1f8)]]:_0xbf377e(0x312),[pe[_0xbf377e(0x30b)]]:'session.room-full',[pe[_0xbf377e(0x2d3)]]:_0xbf377e(0x4ce),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0xbf377e(0x3eb),[pe[_0xbf377e(0x311)]]:_0xbf377e(0x3ca)};let gt=class extends _0x50936f{constructor(_0x2d1b61,_0x574357,_0x4e7cec,_0x13cc58,_0x2cd0a7,_0xe56af9,_0x351971,_0x1e3a67){var _0x50c6ca=_0xbf377e;super(),N(this,_0x50c6ca(0x3cc),new _0x1f6c9f(0x0)),N(this,_0x50c6ca(0x1ff),this[_0x50c6ca(0x3cc)][_0x50c6ca(0x22f)]()),N(this,_0x50c6ca(0x293),new _0x4a9222()),N(this,_0x50c6ca(0x25d),this[_0x50c6ca(0x293)]['asObservable']()),N(this,_0x50c6ca(0x2d1)),N(this,_0x50c6ca(0x26f)),N(this,_0x50c6ca(0x40b)),N(this,_0x50c6ca(0x34e),!0x1),N(this,_0x50c6ca(0x280),null),(this[_0x50c6ca(0x362)]=_0x2d1b61,this[_0x50c6ca(0x3fb)]=_0x4e7cec,this[_0x50c6ca(0x457)]=_0x13cc58,this[_0x50c6ca(0x2f2)]=_0x2cd0a7,this[_0x50c6ca(0x2c0)]=_0xe56af9,this['_collaborationUIEventService']=_0x351971,this[_0x50c6ca(0x2dc)]=_0x1e3a67,this[_0x50c6ca(0x34e)]=!!this[_0x50c6ca(0x2dc)],_0x574357[_0x50c6ca(0x2fd)](_0x39b035(this[_0x50c6ca(0x39f)]))[_0x50c6ca(0x251)](_0x5c4401=>{var _0x501cb9=_0x50c6ca,_0x2ed905;typeof _0x5c4401>'u'||(this['_socket']=_0x5c4401,_0x5c4401?(this['_joinRoom'](_0x5c4401),this['_socketMessageSubscription']=_0x5c4401['message$'][_0x501cb9(0x251)](_0x57b44f=>{var _0x2ebe4a=_0x501cb9;_0x57b44f[_0x2ebe4a(0x484)]===this[_0x2ebe4a(0x362)]&&this[_0x2ebe4a(0x205)](_0x57b44f);})):(this[_0x501cb9(0x4ed)](),this[_0x501cb9(0x3cc)]['next'](0x2),(_0x2ed905=this[_0x501cb9(0x26f)])==null||_0x2ed905[_0x501cb9(0x288)](),this[_0x501cb9(0x26f)]=null));}));}get['sessionStatus'](){var _0x341a4d=_0xbf377e;return this[_0x341a4d(0x3cc)][_0x341a4d(0x4c4)]();}[_0xbf377e(0x447)](){var _0x112c76=_0xbf377e,_0x4c96c0,_0x51a677;return(_0x51a677=(_0x4c96c0=this[_0x112c76(0x2d1)])==null?void 0x0:_0x4c96c0[_0x112c76(0x392)])!=null?_0x51a677:null;}['dispose'](){var _0x14963d=_0xbf377e;super[_0x14963d(0x211)](),this['dispose$'][_0x14963d(0x233)](),this['dispose$'][_0x14963d(0x224)]();}[_0xbf377e(0x433)](){var _0x2c27bb=_0xbf377e,_0x1df682,_0x1636fd;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1df682=this[_0x2c27bb(0x2d1)])==null||_0x1df682[_0x2c27bb(0x469)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x1636fd=this[_0x2c27bb(0x2d1)])==null||_0x1636fd[_0x2c27bb(0x433)](),this[_0x2c27bb(0x293)][_0x2c27bb(0x224)](),this[_0x2c27bb(0x3cc)][_0x2c27bb(0x224)](),this[_0x2c27bb(0x211)]();}[_0xbf377e(0x205)](_0x4f8a8b){var _0x55d130=_0xbf377e;_0x4f8a8b[_0x55d130(0x48f)]===F[_0x55d130(0x450)]?this['_onJoinRoomEvent'](_0x4f8a8b):_0x4f8a8b[_0x55d130(0x48f)]===F[_0x55d130(0x2eb)]&&this[_0x55d130(0x22d)](_0x4f8a8b);}[_0xbf377e(0x482)](_0x1afd0a){var _0x400713=_0xbf377e;this[_0x400713(0x3cc)][_0x400713(0x233)](0x1),_0x1afd0a[_0x400713(0x469)]({'cmd':F[_0x400713(0x450)],'routeKey':this[_0x400713(0x362)],'routeType':'','data':{'rooms':[{'roomID':this[_0x400713(0x362)]}]}});}[_0xbf377e(0x21d)](_0x777959){var _0x82c68e=_0xbf377e,_0x349c9c;if(_0x777959[_0x82c68e(0x3f4)]in Wt){this['_collaborationUIEventService'][_0x82c68e(0x37b)]({'id':ne[_0x82c68e(0x2b5)],'data':Wt[_0x777959[_0x82c68e(0x3f4)]]}),this[_0x82c68e(0x3cc)]['next'](0x2);return;}this[_0x82c68e(0x3cc)][_0x82c68e(0x233)](0x3);const _0x470610=(_0x349c9c=_0x777959[_0x82c68e(0x3bb)][_0x82c68e(0x491)][this[_0x82c68e(0x362)]])==null?void 0x0:_0x349c9c['members'];_0x470610&&_0x470610[_0x82c68e(0x250)](_0x2be2c9=>this['_memberService']['updateMember'](this['_unitID'],_0x2be2c9));}[_0xbf377e(0x22d)](_0x38f7ed){var _0x39899a=_0xbf377e;try{const _0x117d88=_0x38f7ed[_0x39899a(0x3bb)];switch(_0x117d88['eventID']){case _0x5899ec[_0x39899a(0x497)]:this[_0x39899a(0x451)](_0x117d88),this[_0x39899a(0x293)]['next'](_0x117d88);break;case _0x5899ec[_0x39899a(0x260)]:this[_0x39899a(0x424)](_0x117d88),this[_0x39899a(0x293)]['next'](_0x117d88);break;case _0x5899ec[_0x39899a(0x27e)]:case _0x5899ec[_0x39899a(0x3b4)]:this[_0x39899a(0x486)](),this['_clearCollaborationTimeoutTimer'](),this[_0x39899a(0x293)][_0x39899a(0x233)](_0x117d88);break;case _0x5899ec[_0x39899a(0x3d7)]:this[_0x39899a(0x3fb)]['error'](_0x39899a(0x38b)+JSON[_0x39899a(0x25e)](_0x117d88)),this[_0x39899a(0x293)][_0x39899a(0x233)](_0x117d88);break;case _0x5899ec['COMMENT_UPDATE']:this[_0x39899a(0x2c0)][_0x39899a(0x3c8)](_0x117d88[_0x39899a(0x3bb)]),this[_0x39899a(0x293)]['next'](_0x117d88);break;default:this['_event$'][_0x39899a(0x233)](_0x117d88);}}catch(_0x49f316){this[_0x39899a(0x3fb)][_0x39899a(0x215)](_0x49f316,_0x38f7ed);}}[_0xbf377e(0x451)](_0xc0fbb0){var _0x21969b=_0xbf377e;this[_0x21969b(0x2f2)][_0x21969b(0x408)](this[_0x21969b(0x362)],_0xc0fbb0[_0x21969b(0x3bb)]);}[_0xbf377e(0x424)](_0x4a78c4){var _0x3e1e81=_0xbf377e;this[_0x3e1e81(0x2f2)][_0x3e1e81(0x428)](this[_0x3e1e81(0x362)],_0x4a78c4['data']['memberID']);}async['send'](_0x960cfd,_0xf00930){var _0x4ba152=_0xbf377e;if(this[_0x4ba152(0x300)]!==0x3||!this[_0x4ba152(0x2d1)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x960cfd[_0x4ba152(0x214)]===_0x5899ec[_0x4ba152(0x2ce)]&&(this[_0x4ba152(0x36b)](),this['_startTelemetryCollaborationNewChangeset'](_0x960cfd)),this[_0x4ba152(0x2d1)][_0x4ba152(0x469)]({'cmd':F[_0x4ba152(0x3df)],'routeKey':_0xf00930,'routeType':'','data':_0x960cfd});}catch(_0x46b495){this[_0x4ba152(0x3fb)][_0x4ba152(0x215)](_0x46b495);}}[_0xbf377e(0x36b)](){var _0x15be09=_0xbf377e,_0x1bbd71;this[_0x15be09(0x40b)]=setTimeout(()=>{var _0x2131ac=_0x15be09;this[_0x2131ac(0x40b)]=null,this[_0x2131ac(0x264)][_0x2131ac(0x37b)]({'id':ne[_0x2131ac(0x210)]});},(_0x1bbd71=this[_0x15be09(0x457)]['getConfig'](di))!=null?_0x1bbd71:fi);}[_0xbf377e(0x490)](){var _0x432022=_0xbf377e;this[_0x432022(0x40b)]&&(clearTimeout(this[_0x432022(0x40b)]),this[_0x432022(0x40b)]=null);}[_0xbf377e(0x33b)](_0x2f2ab2){var _0x5e39e1=_0xbf377e;if(!this[_0x5e39e1(0x34e)])return;const {data:_0x135e3c}=_0x2f2ab2,{unitID:_0x10f612,changeset:_0x19afe7}=_0x135e3c,{mutations:_0x42d942,type:_0x9abadf}=_0x19afe7;this[_0x5e39e1(0x280)]={'unitId':_0x10f612,'type':_0x9abadf,'startTime':performance[_0x5e39e1(0x37f)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x42d942)};}[_0xbf377e(0x486)](){var _0x10313d=_0xbf377e;if(this[_0x10313d(0x34e)]){if(!this[_0x10313d(0x280)]){this['_logService']['error']('[CollaborationSession]',_0x10313d(0x351));return;}this[_0x10313d(0x280)][_0x10313d(0x2d4)]=performance[_0x10313d(0x37f)](),this['_telemetryInfo'][_0x10313d(0x3b1)]=this[_0x10313d(0x280)][_0x10313d(0x2d4)]-this[_0x10313d(0x280)][_0x10313d(0x4bd)],this['_telemetryService'][_0x10313d(0x4c9)](ws,this[_0x10313d(0x280)]),this[_0x10313d(0x280)]=null;}}[_0xbf377e(0x4ed)](){this['_telemetryInfo']=null;}};gt=$s([Ce(0x2,_0x11790f),Ce(0x3,_0xe9c879),Ce(0x4,_0x1c582e(we)),Ce(0x5,_0x1c582e(gi)),Ce(0x6,_0x1c582e(ve)),Ce(0x7,_0x452fc6(_0x9e3ba4))],gt);var Hs=Object[_0xbf377e(0x359)],Bs=(_0x3f2168,_0x4bbb57,_0x38233f,_0x1264e7)=>{var _0x94b187=_0xbf377e;for(var _0x37d111=_0x1264e7>0x1?void 0x0:_0x1264e7?Hs(_0x4bbb57,_0x38233f):_0x4bbb57,_0x496ae2=_0x3f2168[_0x94b187(0x234)]-0x1,_0x1bcd7f;_0x496ae2>=0x0;_0x496ae2--)(_0x1bcd7f=_0x3f2168[_0x496ae2])&&(_0x37d111=_0x1bcd7f(_0x37d111)||_0x37d111);return _0x37d111;},Re=(_0x45c799,_0x30a42f)=>(_0x4c21b3,_0x27e3a2)=>_0x30a42f(_0x4c21b3,_0x27e3a2,_0x45c799);let Pe=class extends _0x2d6575{constructor(_0x4312e9,_0x284b2b,_0x12ce97,_0x896ef6,_0x312f01,_0x29fa3b){var _0x4d6362=_0xbf377e;super(),N(this,'_socket$',new _0x1f6c9f(void 0x0)),N(this,_0x4d6362(0x222),this[_0x4d6362(0x41a)]['asObservable']()),N(this,_0x4d6362(0x23f),null),N(this,_0x4d6362(0x2a7),new Map()),N(this,_0x4d6362(0x29b),new _0x1f6c9f(ge[_0x4d6362(0x232)])),N(this,'status$',this[_0x4d6362(0x29b)][_0x4d6362(0x22f)]()),N(this,'_socketReady',!0x1),N(this,_0x4d6362(0x3e0)),N(this,'_retryCount',0x0),N(this,_0x4d6362(0x3fa)),N(this,_0x4d6362(0x24b)),(this[_0x4d6362(0x223)]=_0x4312e9,this['_logService']=_0x284b2b,this[_0x4d6362(0x457)]=_0x12ce97,this[_0x4d6362(0x4a1)]=_0x896ef6,this['_collaborationUIEventService']=_0x312f01,this[_0x4d6362(0x4f1)]=_0x29fa3b,this['_listenToNetworkCondition']());}get[_0xbf377e(0x2d1)](){var _0x1790a1=_0xbf377e;return this[_0x1790a1(0x41a)]['getValue']();}[_0xbf377e(0x429)](){var _0x344734=_0xbf377e;this[_0x344734(0x4f1)]&&this[_0x344734(0x32e)](this[_0x344734(0x4f1)][_0x344734(0x335)][_0x344734(0x251)](_0x1d80cc=>{var _0x36420f=_0x344734;_0x1d80cc&&!this[_0x36420f(0x2d1)]&&this[_0x36420f(0x471)](),_0x1d80cc||this[_0x36420f(0x3dd)]();}));}[_0xbf377e(0x211)](){var _0x306495=_0xbf377e;super[_0x306495(0x211)](),this[_0x306495(0x3a7)](),this[_0x306495(0x43d)](),this['_clearHeartbeatTimer'](),this[_0x306495(0x2a7)][_0x306495(0x250)](_0xbbd4c2=>_0xbbd4c2[_0x306495(0x211)]()),this[_0x306495(0x2a7)][_0x306495(0x426)](),this['_status$'][_0x306495(0x224)]();}async[_0xbf377e(0x455)](_0x50425d){var _0x17f81b=_0xbf377e;if(this[_0x17f81b(0x2a7)][_0x17f81b(0x255)](_0x50425d))return this[_0x17f81b(0x2a7)][_0x17f81b(0x4e3)](_0x50425d);this[_0x17f81b(0x278)]();const _0x48d8e9=this[_0x17f81b(0x223)][_0x17f81b(0x488)](gt,_0x50425d,this[_0x17f81b(0x41a)][_0x17f81b(0x22f)]());return this['_sessions']['set'](_0x50425d,_0x48d8e9),_0x48d8e9;}[_0xbf377e(0x483)](_0x5db275){var _0xb7ba3a=_0xbf377e,_0x55c5bd;const _0x592ba5=this[_0xb7ba3a(0x2a7)][_0xb7ba3a(0x4e3)](_0x5db275);_0x592ba5&&(this[_0xb7ba3a(0x2a7)][_0xb7ba3a(0x284)](_0x5db275),_0x592ba5[_0xb7ba3a(0x433)]()),this['_sessions'][_0xb7ba3a(0x3ae)]||(_0x55c5bd=this[_0xb7ba3a(0x2d1)])==null||_0x55c5bd['close']();}['reconnect'](){var _0x2dea6d=_0xbf377e;this[_0x2dea6d(0x3ea)]=0x0,this[_0x2dea6d(0x3a7)](),this[_0x2dea6d(0x2bf)]();}[_0xbf377e(0x3a7)](){var _0x44e692=_0xbf377e;this[_0x44e692(0x3e0)]!=null&&(clearTimeout(this[_0x44e692(0x3e0)]),this[_0x44e692(0x3e0)]=null);}async[_0xbf377e(0x30c)](){var _0x39527e=_0xbf377e,_0x49cdd4;const _0x3d9362=this[_0x39527e(0x457)][_0x39527e(0x225)](K),_0x5e082c=(_0x49cdd4=_0x3d9362==null?void 0x0:_0x3d9362[_0x39527e(0x389)])!=null?_0x49cdd4:ms,_0x3a73e4=await this[_0x39527e(0x4a1)][_0x39527e(0x379)](_0x5e082c);return this['_candidateSocket']=_0x3a73e4,_0x3a73e4;}async[_0xbf377e(0x278)](){var _0x45046b=_0xbf377e,_0x307009,_0x56bf0a;try{const _0x5402ea=(_0x56bf0a=(_0x307009=this[_0x45046b(0x2d1)])!=null?_0x307009:this[_0x45046b(0x23f)])!=null?_0x56bf0a:await this[_0x45046b(0x30c)]();if(_0x5402ea){const _0x2e3d01=_0x5402ea['send'];_0x5402ea['send']=_0x1cbb20=>(this[_0x45046b(0x43a)](),_0x2e3d01[_0x45046b(0x34b)](_0x5402ea,[_0x1cbb20])),_0x5402ea[_0x45046b(0x3bc)][_0x45046b(0x251)](_0x150171=>this[_0x45046b(0x296)](_0x5402ea,_0x150171)),_0x5402ea[_0x45046b(0x4e0)][_0x45046b(0x2fd)](_0x4d9d3d(0x1))[_0x45046b(0x251)](_0x96b2b9=>this[_0x45046b(0x3fb)][_0x45046b(0x215)](_0x45046b(0x40e),_0x96b2b9)),_0x5402ea[_0x45046b(0x203)][_0x45046b(0x2fd)](_0x4d9d3d(0x1))['subscribe'](()=>{var _0x2d9e36=_0x45046b;this[_0x2d9e36(0x386)](_0x5402ea);}),_0x5402ea[_0x45046b(0x381)][_0x45046b(0x2fd)](_0x4d9d3d(0x1))[_0x45046b(0x251)](_0x3e404e=>{var _0x3dfd93=_0x45046b;this[_0x3dfd93(0x3fb)][_0x3dfd93(0x2cd)](_0x3dfd93(0x40a),_0x3dfd93(0x37a),_0x3e404e),this[_0x3dfd93(0x35d)]();});}}catch(_0x221a15){this[_0x45046b(0x3fb)][_0x45046b(0x215)](_0x221a15),this[_0x45046b(0x35d)]();}}[_0xbf377e(0x386)](_0x46003c){var _0x17f72a=_0xbf377e;this[_0x17f72a(0x3fb)][_0x17f72a(0x2cd)](_0x17f72a(0x40a),_0x17f72a(0x380)),_0x46003c[_0x17f72a(0x469)]({'cmd':F['HELLO']}),this[_0x17f72a(0x43a)]();}[_0xbf377e(0x3dd)](){var _0x3c5f00=_0xbf377e;this['_socketReady']=!0x1,this[_0x3c5f00(0x23f)]=null,this[_0x3c5f00(0x29b)]['next'](ge['OFFLINE']),this[_0x3c5f00(0x41a)]['next'](null),this['_clearTimeoutTimer'](),this[_0x3c5f00(0x36c)]();}[_0xbf377e(0x35d)](){var _0x1aa347=_0xbf377e,_0x11e1b9;this[_0x1aa347(0x3dd)](),this[_0x1aa347(0x3ea)]<((_0x11e1b9=this[_0x1aa347(0x457)]['getConfig'](Is))!=null?_0x11e1b9:Ts)?(this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x1aa347(0x4bb)]}),this['_tryReconnect']()):this[_0x1aa347(0x264)][_0x1aa347(0x37b)]({'id':ne[_0x1aa347(0x4b8)]});}['_tryReconnect'](){var _0x459115=_0xbf377e,_0x4247ad;const _0x51a277=this[_0x459115(0x3ea)],_0x57a299=this[_0x459115(0x457)][_0x459115(0x225)](K),_0x10ecc0=_0x51a277===0x0?0x0:((_0x4247ad=_0x57a299==null?void 0x0:_0x57a299[_0x459115(0x299)])!=null?_0x4247ad:Es)*0x2**_0x51a277;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4b830b=_0x459115;clearTimeout(this[_0x4b830b(0x3e0)]),this[_0x4b830b(0x3e0)]=null,this[_0x4b830b(0x278)]();},_0x10ecc0),this[_0x459115(0x3ea)]+=0x1;}['_onMessage'](_0x1ac95b,_0x22346d){var _0x53d5c5=_0xbf377e;const {cmd:_0x13eba7}=_0x22346d;_0x13eba7===F['HELLO']&&!this[_0x53d5c5(0x4be)]&&(_0x1ac95b[_0x53d5c5(0x392)]=_0x22346d[_0x53d5c5(0x3bb)][_0x53d5c5(0x392)],this['_socket$'][_0x53d5c5(0x233)](_0x1ac95b),this[_0x53d5c5(0x29b)][_0x53d5c5(0x233)](ge[_0x53d5c5(0x2fa)]),this[_0x53d5c5(0x4be)]=!0x0,this['_candidateSocket']=null),_0x13eba7===F['HEARTBEAT']&&this[_0x53d5c5(0x43d)](),this['_rescheduleHeartbeat']();}[_0xbf377e(0x43a)](){var _0x95bdc6=_0xbf377e,_0x1f58a8;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x1f58a8=this[_0x95bdc6(0x457)][_0x95bdc6(0x225)](gs))!=null?_0x1f58a8:Ss);}[_0xbf377e(0x3f9)](){var _0x254dd0=_0xbf377e;this['_socket']['send']({'cmd':F[_0x254dd0(0x478)]}),this[_0x254dd0(0x2e5)]();}[_0xbf377e(0x2e5)](){var _0xf91790=_0xbf377e,_0x519663;this[_0xf91790(0x24b)]=setTimeout(()=>this[_0xf91790(0x35d)](),(_0x519663=this[_0xf91790(0x457)][_0xf91790(0x225)](di))!=null?_0x519663:fi);}[_0xbf377e(0x36c)](){var _0x37efac=_0xbf377e;this[_0x37efac(0x3fa)]!=null&&(clearTimeout(this[_0x37efac(0x3fa)]),this[_0x37efac(0x3fa)]=null);}[_0xbf377e(0x43d)](){var _0x1171b4=_0xbf377e;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1171b4(0x24b)]=null);}};Pe=Bs([Re(0x0,_0x1c582e(_0x268804)),Re(0x1,_0x11790f),Re(0x2,_0xe9c879),Re(0x3,mi),Re(0x4,_0x1c582e(ve)),Re(0x5,_0x452fc6(bs))],Pe);const J=_0x175981(_0xbf377e(0x3b8));function br(_0xb79b7b){var _0x379e87=_0xbf377e;return _0x379e87(0x402)+_0xb79b7b;}var js=Object[_0xbf377e(0x359)],Fs=(_0x4e2e0c,_0x5a42f4,_0x29390e,_0x49760b)=>{var _0x12e689=_0xbf377e;for(var _0x151f37=_0x49760b>0x1?void 0x0:_0x49760b?js(_0x5a42f4,_0x29390e):_0x5a42f4,_0x4d8990=_0x4e2e0c[_0x12e689(0x234)]-0x1,_0x3a4547;_0x4d8990>=0x0;_0x4d8990--)(_0x3a4547=_0x4e2e0c[_0x4d8990])&&(_0x151f37=_0x3a4547(_0x151f37)||_0x151f37);return _0x151f37;},ut=(_0x995bb6,_0x4c5c5d)=>(_0x4c3903,_0x50c54c)=>_0x4c5c5d(_0x4c3903,_0x50c54c,_0x995bb6);function Vs(_0xbde11e){var _0x9746c1=_0xbf377e;const {unitID:_0x4a6e04,mutations:_0x5c9846}=_0xbde11e;return{'unitId':_0x4a6e04,'subUnitId':_0x5c9846[0x0][_0x9746c1(0x439)][_0x9746c1(0x1f5)]};}let it=class{constructor(_0x7c23d4,_0x1b1952,_0x135d9f){var _0x226fb3=_0xbf377e;this['_injector']=_0x7c23d4,this[_0x226fb3(0x4d6)]=_0x1b1952,this['_instanceService']=_0x135d9f;}[_0xbf377e(0x3a1)](_0x131577){var _0x540088=_0xbf377e,_0x397cb3,_0x426ed9,_0x16953c,_0x44d7ca;const _0x26809d=this[_0x540088(0x223)][_0x540088(0x4e3)](_0x3af427),{unitId:_0x4c4b73,subUnitId:_0x293690}=Vs(_0x131577),_0x20bcd6=_0x26809d==null?void 0x0:_0x26809d[_0x540088(0x2be)](_0x4c4b73)['getCurrentSelections'](),_0x4e027a=(_0x426ed9=(_0x397cb3=this[_0x540088(0x2ec)]['getUnit'](_0x4c4b73))==null?void 0x0:_0x397cb3[_0x540088(0x30f)]())==null?void 0x0:_0x426ed9[_0x540088(0x27a)]();if(_0x20bcd6['length']===0x0||!_0x4c4b73||!_0x293690)return;const _0x21692d=[{'id':_0x1ef4a2['id'],'params':{'unitId':_0x4c4b73,'subUnitId':_0x4e027a,'selections':_0x4560ad[_0x540088(0x42e)](_0x20bcd6)}}],_0x577053=this[_0x540088(0x4d6)][_0x540088(0x238)](_0x131577,_0x21692d);if(!_0x13d19e(_0x577053))throw _0x577053[_0x540088(0x215)];const _0x23f52e=(_0x44d7ca=(_0x16953c=_0x577053[_0x540088(0x3cd)][0x0])==null?void 0x0:_0x16953c[_0x540088(0x439)])==null?void 0x0:_0x44d7ca['selections'];if(Array[_0x540088(0x3c0)](_0x23f52e)&&_0x23f52e[_0x540088(0x234)]){if(_0x23f52e[_0x540088(0x234)]===_0x21692d[0x0]['params'][_0x540088(0x2c4)][_0x540088(0x234)]&&_0x23f52e[_0x540088(0x44c)]((_0x13c537,_0x2151e3)=>_0x3bf751[_0x540088(0x297)](_0x13c537['range'],_0x21692d[0x0][_0x540088(0x439)][_0x540088(0x2c4)][_0x2151e3]['range'])))return;this[_0x540088(0x223)][_0x540088(0x4e3)](_0xc02145)[_0x540088(0x2ba)](_0x1ef4a2['id'],{'unitId':_0x4c4b73,'subUnitId':_0x4e027a,'selections':_0x23f52e});}}};it=Fs([ut(0x0,_0x1c582e(_0x268804)),ut(0x1,_0xf8efc),ut(0x2,_0x8ffa5d)],it);const ht=_0x175981(_0xbf377e(0x414));var Si=(_0x275874=>(_0x275874[_0x275874[_0xbf377e(0x489)]=0x0]=_0xbf377e(0x489),_0x275874[_0x275874[_0xbf377e(0x487)]=0x1]=_0xbf377e(0x487),_0x275874))(Si||{});const Ws=new Set([_0x1a0324['id']]);function Gt(_0x27f9fc,_0x264b01,_0x4a8250,_0x8b74ef,_0x507b30){var _0x3598dd=_0xbf377e,_0x1a4ad0,_0x12a1eb,_0x1fd708,_0x3d3cf6;const _0x27f3ec=[];for(const _0x43db8a of _0x27f9fc)if(Ws[_0x3598dd(0x255)](_0x43db8a['id'])){if(_0x27f3ec[_0x3598dd(0x234)]>0x0)break;_0x27f3ec['push'](_0x43db8a);break;}else _0x27f3ec[_0x3598dd(0x403)](_0x43db8a);const _0x30dc1a=(_0x12a1eb=(_0x1a4ad0=_0x507b30['getCurrentUser']())==null?void 0x0:_0x1a4ad0[_0x3598dd(0x273)])!=null?_0x12a1eb:_0x3598dd(0x2f6),_0x557e67=(_0x3d3cf6=(_0x1fd708=_0x507b30['getCurrentUser']())==null?void 0x0:_0x1fd708[_0x3598dd(0x392)])!=null?_0x3d3cf6:'unknown';return{'changeset':{'unitID':_0x264b01,'type':_0x32f7b5(_0x4a8250[_0x3598dd(0x42c)](_0x264b01)),'baseRev':_0x8b74ef[_0x3598dd(0x393)](_0x264b01),'revision':0x0,'userID':_0x30dc1a,'memberID':_0x557e67,'mutations':_0x27f3ec},'pendingMutations':_0x27f9fc[_0x3598dd(0x3ba)](_0x27f3ec[_0x3598dd(0x234)])};}function Gs(_0x4c2ae3,_0x34fb37,_0x35c671,_0x51a386,_0xbbd6e8){var _0x36a0d4=_0xbf377e,_0x3be3d,_0xea6a0d,_0x513ff5,_0x15d12d;const _0x393b2b=[_0x4c2ae3[_0x36a0d4(0x226)]((_0x170925,_0x56e999)=>{var _0x58fb53=_0x36a0d4,_0x355bd2;const {id:_0x2a1b83}=_0x170925,{id:_0x4d91f9,type:_0x146fe4}=_0x56e999,_0x250478=(_0x355bd2=_0x170925['params'])!=null?_0x355bd2:{'actions':null},_0x40f6b5=_0x56e999[_0x58fb53(0x439)];if(_0x2a1b83&&_0x2a1b83!==_0x4d91f9)throw new Error(_0x58fb53(0x444)+_0x2a1b83+'\x20-\x20'+_0x4d91f9+'.');return{..._0x170925,'id':_0x4d91f9,'type':_0x146fe4,'params':{'unitId':_0x40f6b5[_0x58fb53(0x3d9)],'textRanges':_0x40f6b5[_0x58fb53(0x2d6)],'actions':_0x3c9047[_0x58fb53(0x435)](_0x250478[_0x58fb53(0x350)],_0x40f6b5[_0x58fb53(0x350)])}};},{})],_0x307010=(_0xea6a0d=(_0x3be3d=_0xbbd6e8[_0x36a0d4(0x4ae)]())==null?void 0x0:_0x3be3d['userID'])!=null?_0xea6a0d:_0x36a0d4(0x2f6),_0x340650=(_0x15d12d=(_0x513ff5=_0xbbd6e8[_0x36a0d4(0x4ae)]())==null?void 0x0:_0x513ff5[_0x36a0d4(0x392)])!=null?_0x15d12d:_0x36a0d4(0x2f6);return{'changeset':{'unitID':_0x34fb37,'type':_0x32f7b5(_0x35c671[_0x36a0d4(0x42c)](_0x34fb37)),'baseRev':_0x51a386[_0x36a0d4(0x393)](_0x34fb37),'revision':0x0,'userID':_0x307010,'memberID':_0x340650,'mutations':_0x393b2b},'pendingMutations':[]};}function Ei(_0x1859ab,_0xd3c06d){var _0x4bac1d=_0xbf377e;const _0x1c7c1b=new _0x2ee19e(0x1);return setTimeout(()=>_0x1c7c1b[_0x4bac1d(0x233)](_0xd3c06d),_0x1859ab),_0x1c7c1b[_0x4bac1d(0x22f)]()['pipe'](_0x3e5144(0x1));}const Ys={'id':_0x5b670f['id'],'type':_0x1a9537[_0xbf377e(0x2df)],'params':{}};var Ks=Object['getOwnPropertyDescriptor'],Ee=(_0x5ec283,_0x1f99a6,_0x1014dd,_0x4b6773)=>{var _0x5b1205=_0xbf377e;for(var _0x4b7839=_0x4b6773>0x1?void 0x0:_0x4b6773?Ks(_0x1f99a6,_0x1014dd):_0x1f99a6,_0x2f70b2=_0x5ec283[_0x5b1205(0x234)]-0x1,_0x51ce4a;_0x2f70b2>=0x0;_0x2f70b2--)(_0x51ce4a=_0x5ec283[_0x2f70b2])&&(_0x4b7839=_0x51ce4a(_0x4b7839)||_0x4b7839);return _0x4b7839;},P=(_0x57d9fb,_0x3937d6)=>(_0xe2b5cc,_0x159c4e)=>_0x3937d6(_0xe2b5cc,_0x159c4e,_0x57d9fb),Ii=(_0x244923=>(_0x244923[_0xbf377e(0x271)]=_0xbf377e(0x28a),_0x244923[_0xbf377e(0x29d)]=_0xbf377e(0x291),_0x244923[_0xbf377e(0x2a6)]=_0xbf377e(0x2a4),_0x244923[_0xbf377e(0x3fc)]='awaiting',_0x244923[_0xbf377e(0x383)]=_0xbf377e(0x2ee),_0x244923[_0xbf377e(0x3d3)]=_0xbf377e(0x272),_0x244923[_0xbf377e(0x4d5)]=_0xbf377e(0x356),_0x244923[_0xbf377e(0x323)]=_0xbf377e(0x2a0),_0x244923))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x1d606f,_0x14dfa1,_0x3094a2,_0x2f3c27,_0x81ed23,_0x23c2cd,_0x326f1f,_0x2123cb,_0x3224ec){var _0x1f0067=_0xbf377e;N(this,'_awaitingChangeset',null),N(this,_0x1f0067(0x454),[]),(this[_0x1f0067(0x378)]=_0x1d606f,this[_0x1f0067(0x2a1)]=_0x14dfa1,this[_0x1f0067(0x28d)]=_0x81ed23,this[_0x1f0067(0x3d4)]=_0x23c2cd,this['_undoRedoService']=_0x326f1f,this[_0x1f0067(0x2b2)]=_0x2123cb,this[_0x1f0067(0x4de)]=_0x3224ec,this[_0x1f0067(0x493)]=_0x3094a2,this[_0x1f0067(0x454)]=_0x2f3c27);}[_0xbf377e(0x3be)](_0x13e620){var _0x2cbc64=_0xbf377e;const _0x1d5590=this[_0x2cbc64(0x2b2)][_0x2cbc64(0x393)](this['unitID']);return _0x13e620['revision']>_0x1d5590+0x1?(this[_0x2cbc64(0x28d)][_0x2cbc64(0x4c7)]({'from':_0x1d5590,'to':_0x13e620[_0x2cbc64(0x33a)]-0x1}),!0x0):!0x1;}[_0xbf377e(0x24d)](_0xc82184){var _0x2b8019=_0xbf377e;this[_0x2b8019(0x320)][_0x2b8019(0x46b)](this[_0x2b8019(0x378)],_0xc82184);}[_0xbf377e(0x20b)](_0x1845ef){var _0x1b2e6f=_0xbf377e,_0x107526,_0x362501;(_0x362501=(_0x107526=this[_0x1b2e6f(0x28d)])[_0x1b2e6f(0x466)])==null||_0x362501[_0x1b2e6f(0x341)](_0x107526,_0x1845ef);}[_0xbf377e(0x463)](_0x309e91){var _0x1252f7=_0xbf377e,_0x44747c,_0x4f6db7;return(_0x4f6db7=(_0x44747c=this[_0x1252f7(0x28d)])[_0x1252f7(0x246)])==null?void 0x0:_0x4f6db7['call'](_0x44747c,_0x309e91);}['_transformStateCache'](_0x2f3354){var _0x110a48=_0xbf377e,_0x2f7a7f,_0x1287ae;return(_0x1287ae=(_0x2f7a7f=this[_0x110a48(0x28d)])[_0x110a48(0x4a4)])==null?void 0x0:_0x1287ae[_0x110a48(0x341)](_0x2f7a7f,_0x2f3354);}[_0xbf377e(0x339)](_0x281ddd){var _0x510e61=_0xbf377e,_0x345834,_0x1b6c0d,_0xd3eccf;return(_0xd3eccf=(_0x1b6c0d=(_0x345834=this[_0x510e61(0x28d)])[_0x510e61(0x261)])==null?void 0x0:_0x1b6c0d[_0x510e61(0x341)](_0x345834,_0x281ddd))!=null?_0xd3eccf:_0x281ddd;}[_0xbf377e(0x37c)](_0x219af1){var _0x2ab13f=_0xbf377e,_0x5a6d57,_0x2f3f1f,_0xf9e6d3;return(_0xf9e6d3=(_0x2f3f1f=(_0x5a6d57=this[_0x2ab13f(0x28d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f3f1f[_0x2ab13f(0x341)](_0x5a6d57,_0x219af1))!=null?_0xf9e6d3:_0x219af1;}[_0xbf377e(0x401)](_0x2ffdf8){var _0x515574=_0xbf377e,_0x128dcc,_0xccc0d0;if(this[_0x515574(0x2a1)]===Z[_0x515574(0x2e9)]){const {unitID:_0xbf3b26,mutations:_0x48c482,memberID:_0x507457}=_0x2ffdf8,_0x1dcbb8=_0x48c482[0x0][_0x515574(0x439)][_0x515574(0x2d6)];Array['isArray'](_0x1dcbb8)&&_0x1dcbb8[_0x515574(0x234)]>0x0&&((_0xccc0d0=(_0x128dcc=this[_0x515574(0x28d)])[_0x515574(0x317)])==null||_0xccc0d0[_0x515574(0x341)](_0x128dcc,{'unitID':_0xbf3b26,'memberID':_0x507457,'textRanges':_0x1dcbb8}));}}[_0xbf377e(0x44b)](){var _0x28d61b=_0xbf377e,_0x2565ce;(_0x2565ce=this[_0x28d61b(0x4de)])==null||_0x2565ce['updateOfflineData'](this['unitID'],this[_0x28d61b(0x2a1)],this[_0x28d61b(0x493)],this[_0x28d61b(0x454)]);}[_0xbf377e(0x3db)](){var _0x563141=_0xbf377e;return this['_revisionService'][_0x563141(0x393)](this[_0x563141(0x378)]);}[_0xbf377e(0x472)](){var _0x49fd0e=_0xbf377e;this['_revisionService'][_0x49fd0e(0x394)](this['unitID']);}[_0xbf377e(0x2bb)](_0x59a3e2){var _0xd4dcab=_0xbf377e,_0x573e24;let _0xaa7b16=this[_0xd4dcab(0x339)](_0x59a3e2);_0xaa7b16=this[_0xd4dcab(0x37c)](_0xaa7b16);const _0x53a99a=_0x1835bf(_0xaa7b16['mutations'],this[_0xd4dcab(0x3d4)],{'fromCollab':!0x0});if(!_0x53a99a['result'])throw _0x53a99a['error']instanceof Error?_0x53a99a[_0xd4dcab(0x215)]:new Error((_0x573e24=_0x53a99a[_0xd4dcab(0x215)])!=null?_0x573e24:_0xd4dcab(0x22c));this[_0xd4dcab(0x463)](_0xaa7b16),this['_transformStateCache'](_0xaa7b16),this[_0xd4dcab(0x24d)](_0x59a3e2),this[_0xd4dcab(0x20b)](_0xaa7b16),this[_0xd4dcab(0x401)](_0xaa7b16),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x3cb7d7,_0x24ce09,_0x295f86,_0xf2f44d,_0x13a59e,_0x457b21,_0x446c4c,_0x479ebb,_0x159a9c,_0x421f1a){var _0x38f8f2=_0xbf377e;super(_0x3cb7d7,_0x24ce09,null,[],_0x295f86,_0x446c4c,_0x457b21,_0xf2f44d,_0x421f1a),N(this,_0x38f8f2(0x398),_0x38f8f2(0x291)),(this['_injector']=_0x13a59e,this['_logService']=_0x479ebb,this['_transformService']=_0x159a9c,this['localCacheService']=_0x421f1a);}[_0xbf377e(0x310)](_0x2f9df6){var _0x2fb3b6=_0xbf377e;const _0x541065=this['_injector'][_0x2fb3b6(0x488)](re,this['unitID'],this[_0x2fb3b6(0x2a1)],[_0x2f9df6],this['_handler']);return _0x541065[_0x2fb3b6(0x206)](),_0x541065[_0x2fb3b6(0x44b)](),_0x541065;}['onRemoteChangeset'](_0x24fed0){var _0x4e7689=_0xbf377e;if(this[_0x4e7689(0x3be)](_0x24fed0))return this[_0x4e7689(0x223)][_0x4e7689(0x488)](Q,this['unitID'],this['type'],null,[],null,[_0x24fed0],this[_0x4e7689(0x28d)]);try{const _0x501e21=this['_transformService'][_0x4e7689(0x238)](_0x24fed0,[Ys]);if(_0x13d19e(_0x501e21)){const {c1Prime:_0x18789c}=_0x501e21;return this[_0x4e7689(0x2bb)](_0x18789c),this;}throw _0x501e21[_0x4e7689(0x215)];}catch(_0x1865af){return this['_logService'][_0x4e7689(0x215)](_0x1865af),this[_0x4e7689(0x37e)](!0x1);}}[_0xbf377e(0x37e)](_0x4f98e0){var _0x1972a8=_0xbf377e;return this[_0x1972a8(0x223)][_0x1972a8(0x488)](le,this['unitID'],this[_0x1972a8(0x2a1)],null,[],this['_handler'],_0x4f98e0);}[_0xbf377e(0x2e8)](){var _0x522d3e=_0xbf377e;throw new Error(_0x522d3e(0x45e));}[_0xbf377e(0x2e6)](){var _0x1d2ec6=_0xbf377e;throw new Error(_0x1d2ec6(0x2d9));}['onRemoteRetry'](){return this;}[_0xbf377e(0x21a)](){var _0x596713=_0xbf377e;return this['_injector'][_0x596713(0x488)](ue,this[_0x596713(0x378)],this[_0x596713(0x2a1)],null,[],this[_0x596713(0x28d)]);}[_0xbf377e(0x36d)](){return this;}['resend'](){var _0x40bfe5=_0xbf377e;throw new Error(_0x40bfe5(0x38a));}[_0xbf377e(0x334)](){var _0x5b480b=_0xbf377e;const _0x1168fd=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5b480b(0x378)]);return this[_0x5b480b(0x28d)][_0x5b480b(0x4c7)]({'from':_0x1168fd,'to':0x0}),this[_0x5b480b(0x223)][_0x5b480b(0x488)](Q,this['unitID'],this[_0x5b480b(0x2a1)],null,[],null,[],this[_0x5b480b(0x28d)]);}};ye=Ee([P(0x3,_0x1c582e(_0x22d135)),P(0x4,_0x1c582e(_0x268804)),P(0x5,_0x26e538),P(0x6,_0xc02145),P(0x7,_0x11790f),P(0x8,_0xf8efc),P(0x9,_0x452fc6(J))],ye);let re=class extends Ie{constructor(_0xb474f0,_0x5ae146,_0x334e1c,_0x376be4,_0x4d585c,_0x4a90a1,_0x53069a,_0xca087c,_0x18a92a,_0x6fe699,_0x51db4c,_0x3209fc,_0x2a3048,_0x3774e2){var _0x15fa7d=_0xbf377e;super(_0xb474f0,_0x5ae146,null,_0x334e1c,_0x376be4,_0x18a92a,_0x2a3048,_0x4a90a1,_0x3774e2),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0x15fa7d(0x223)]=_0x4d585c,this[_0x15fa7d(0x2f2)]=_0x53069a,this['_logService']=_0xca087c,this[_0x15fa7d(0x457)]=_0x6fe699,this[_0x15fa7d(0x4d6)]=_0x51db4c,this['_univerInstanceService']=_0x3209fc);}[_0xbf377e(0x310)](_0x58f705){var _0x458db0=_0xbf377e;return this[_0x458db0(0x454)][_0x458db0(0x403)](_0x58f705),this[_0x458db0(0x44b)](),this;}[_0xbf377e(0x4a8)](_0xcaeda5){var _0x27c288=_0xbf377e;if(this[_0x27c288(0x3be)](_0xcaeda5))return this[_0x27c288(0x3f8)](),this[_0x27c288(0x223)][_0x27c288(0x488)](Q,this['unitID'],this[_0x27c288(0x2a1)],null,this[_0x27c288(0x454)],null,[_0xcaeda5],this[_0x27c288(0x28d)]);try{const _0xb2853e=this[_0x27c288(0x4d6)][_0x27c288(0x238)](_0xcaeda5,this['_pendingMutations']);if(_0x13d19e(_0xb2853e)){const {c1Prime:_0x736003,m2Prime:_0x1f0eba}=_0xb2853e;this['_executeRemoteChangeset'](_0x736003);const _0x5e041d=this[_0x27c288(0x223)][_0x27c288(0x488)](re,this[_0x27c288(0x378)],this[_0x27c288(0x2a1)],_0x1f0eba,this['_handler']);this[_0x27c288(0x3f8)]();const _0x3b2955=new Date()[_0x27c288(0x1fd)](),_0x30cf68=this[_0x27c288(0x4a2)]?Math[_0x27c288(0x31a)](this['_scheduleCompleteTimestamp']-_0x3b2955,0x0):this[_0x27c288(0x2a8)]();return _0x5e041d[_0x27c288(0x206)](_0x30cf68),_0x5e041d;}throw _0xb2853e['error'];}catch(_0x1fd027){return this[_0x27c288(0x3fb)][_0x27c288(0x215)](_0x1fd027),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x32a1bb=_0xbf377e;throw new Error(_0x32a1bb(0x476));}[_0xbf377e(0x2e6)](){var _0x12f650=_0xbf377e;throw new Error(_0x12f650(0x2e2));}[_0xbf377e(0x32f)](){return this;}[_0xbf377e(0x21a)](){var _0x3210ba=_0xbf377e;return this['_clearScheduledTask'](),this[_0x3210ba(0x223)][_0x3210ba(0x488)](ue,this['unitID'],this[_0x3210ba(0x2a1)],null,this[_0x3210ba(0x454)],this['_handler']);}[_0xbf377e(0x36d)](){return this;}[_0xbf377e(0x206)](_0x27fc9f){var _0x19e6e7=_0xbf377e;const _0x132e1c=_0x27fc9f!=null?_0x27fc9f:this[_0x19e6e7(0x2a8)]();this[_0x19e6e7(0x4a2)]=new Date()['getTime']()+_0x132e1c,this[_0x19e6e7(0x3e8)]=setTimeout(()=>{var _0x12312e=_0x19e6e7;this['_clearScheduledTask']();let _0x4a5a08=null;switch(this[_0x12312e(0x2a1)]){case Z[_0x12312e(0x229)]:{_0x4a5a08=Gt(this[_0x12312e(0x454)],this['unitID'],this[_0x12312e(0x268)],this['_revisionService'],this[_0x12312e(0x2f2)]);break;}case Z[_0x12312e(0x2e9)]:{this[_0x12312e(0x454)][_0x12312e(0x44c)](_0x53af20=>_0x53af20['id']===_0x166f61['id'])?_0x4a5a08=Gs(this[_0x12312e(0x454)],this[_0x12312e(0x378)],this[_0x12312e(0x268)],this[_0x12312e(0x2b2)],this[_0x12312e(0x2f2)]):_0x4a5a08=Gt(this[_0x12312e(0x454)],this[_0x12312e(0x378)],this[_0x12312e(0x268)],this[_0x12312e(0x2b2)],this['_memberService']);break;}default:throw new Error(_0x12312e(0x305)+this[_0x12312e(0x2a1)]+_0x12312e(0x4bf));}const {changeset:_0xf3a9b,pendingMutations:_0x1fc316}=_0x4a5a08;this[_0x12312e(0x28d)][_0x12312e(0x204)](_0xf3a9b);const _0x572a15=_0x1fc316[_0x12312e(0x234)]?this[_0x12312e(0x223)]['createInstance'](ae,this[_0x12312e(0x378)],this[_0x12312e(0x2a1)],_0xf3a9b,_0x1fc316,this['_handler'],void 0x0):this[_0x12312e(0x223)][_0x12312e(0x488)](_e,this[_0x12312e(0x378)],this[_0x12312e(0x2a1)],_0xf3a9b,this[_0x12312e(0x28d)]);_0x572a15[_0x12312e(0x44b)](),this[_0x12312e(0x28d)][_0x12312e(0x4b7)](this,_0x572a15);},_0x132e1c);}[_0xbf377e(0x2a8)](){var _0x33f83f=_0xbf377e,_0x15cf98;const _0x1133f8=this[_0x33f83f(0x457)][_0x33f83f(0x225)](K);return(_0x15cf98=_0x1133f8==null?void 0x0:_0x1133f8['sendChangesetTimeout'])!=null?_0x15cf98:ps;}['resend'](){var _0x540988=_0xbf377e;throw new Error(_0x540988(0x46f));}[_0xbf377e(0x3f8)](){var _0x173e93=_0xbf377e;this[_0x173e93(0x3e8)]!=null&&(clearTimeout(this[_0x173e93(0x3e8)]),this[_0x173e93(0x3e8)]=null);}[_0xbf377e(0x37e)](_0x3fb400){var _0x233053=_0xbf377e;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this['unitID'],this['type'],null,this[_0x233053(0x454)],this[_0x233053(0x28d)],_0x3fb400);}};re=Ee([P(0x4,_0x1c582e(_0x268804)),P(0x5,_0x1c582e(_0x22d135)),P(0x6,_0x1c582e(we)),P(0x7,_0x11790f),P(0x8,_0xc02145),P(0x9,_0xe9c879),P(0xa,_0xf8efc),P(0xb,_0x8ffa5d),P(0xc,_0x26e538),P(0xd,_0x452fc6(J))],re);let _e=class extends Ie{constructor(_0x2b183d,_0x2444cc,_0x34aae8,_0x43305b,_0x304125,_0x4e6b30,_0x532720,_0x58fca8,_0x5d4a80,_0x3c0698,_0x3f9dc5){var _0x26d6ef=_0xbf377e;super(_0x2b183d,_0x2444cc,_0x34aae8,[],_0x43305b,_0x532720,_0x3c0698,_0x4e6b30,_0x3f9dc5),N(this,'status',_0x26d6ef(0x445)),N(this,_0x26d6ef(0x3a0),0x0),N(this,_0x26d6ef(0x400)),N(this,_0x26d6ef(0x249)),(this[_0x26d6ef(0x223)]=_0x304125,this[_0x26d6ef(0x3fb)]=_0x58fca8,this[_0x26d6ef(0x4d6)]=_0x5d4a80);}[_0xbf377e(0x310)](_0x1e9a38){var _0x9e9062=_0xbf377e;this[_0x9e9062(0x3f8)]();const _0x2d62bb=this[_0x9e9062(0x223)]['createInstance'](ae,this['unitID'],this[_0x9e9062(0x2a1)],this[_0x9e9062(0x493)],[_0x1e9a38],this[_0x9e9062(0x28d)],this['_resendTimer']);return _0x2d62bb[_0x9e9062(0x44b)](),_0x2d62bb;}[_0xbf377e(0x4a8)](_0x9e1d35){var _0x5a0153=_0xbf377e;if(this[_0x5a0153(0x3be)](_0x9e1d35))return this[_0x5a0153(0x3f8)](),this[_0x5a0153(0x223)][_0x5a0153(0x488)](Q,this[_0x5a0153(0x378)],this[_0x5a0153(0x2a1)],this[_0x5a0153(0x493)],[],null,[_0x9e1d35],this[_0x5a0153(0x28d)]);try{const _0x463d2e=this[_0x5a0153(0x4d6)][_0x5a0153(0x21b)]([_0x9e1d35],[this[_0x5a0153(0x493)]],!0x1);if(_0x270b22(_0x463d2e)){const {c1Prime:_0x1f7402,c2Prime:_0xdb69a0}=_0x463d2e;this[_0x5a0153(0x2bb)](_0x1f7402[0x0]),_0xdb69a0[0x0][_0x5a0153(0x2e1)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x5d1efd=this[_0x5a0153(0x223)][_0x5a0153(0x488)](_e,this[_0x5a0153(0x378)],this['type'],_0xdb69a0[0x0],this[_0x5a0153(0x28d)]);return _0x5d1efd[_0x5a0153(0x44b)](),_0x5d1efd;}return this[_0x5a0153(0x37e)](!0x1);}catch(_0x1e857d){return this[_0x5a0153(0x3fb)][_0x5a0153(0x215)](_0x1e857d),this[_0x5a0153(0x37e)](!0x1);}}[_0xbf377e(0x2e8)](_0x4f0fe9){var _0x1f0347=_0xbf377e;this['_clearScheduledTask']();const _0x238e43=this[_0x1f0347(0x2b2)][_0x1f0347(0x393)](this[_0x1f0347(0x378)]);if(_0x4f0fe9[_0x1f0347(0x33a)]<_0x238e43-0x1)return this;if(this[_0x1f0347(0x3be)](_0x4f0fe9))return this[_0x1f0347(0x223)][_0x1f0347(0x488)](Q,this[_0x1f0347(0x378)],this[_0x1f0347(0x2a1)],null,[],this[_0x1f0347(0x493)],[],this[_0x1f0347(0x28d)]);this['_incrementRevisionNumber']();const _0x2be79c=this['_injector']['createInstance'](ye,this[_0x1f0347(0x378)],this[_0x1f0347(0x2a1)],this[_0x1f0347(0x28d)]);return _0x2be79c[_0x1f0347(0x44b)](),_0x2be79c;}[_0xbf377e(0x2e6)](_0x5b928a){var _0x146028=_0xbf377e;return this[_0x146028(0x37e)](!!(_0x5b928a!=null&&_0x5b928a[_0x146028(0x406)]));}[_0xbf377e(0x32f)](_0x233361){var _0x24df53=_0xbf377e;return this['_resendTimeout']>Ti?this['toggleOffline']():(this[_0x24df53(0x400)]=Ei(this[_0x24df53(0x3a0)],{'timeout':this[_0x24df53(0x3a0)],'reqId':_0x233361['reqId']}),this[_0x24df53(0x249)]=this[_0x24df53(0x400)][_0x24df53(0x251)](({reqId:_0x1b177e,timeout:_0x44403d})=>{var _0x552722=_0x24df53;this[_0x552722(0x467)](_0x1b177e,_0x44403d);}),this);}[_0xbf377e(0x21a)](){var _0x4daf07=_0xbf377e;return this[_0x4daf07(0x3f8)](),this['_injector']['createInstance'](ue,this[_0x4daf07(0x378)],this[_0x4daf07(0x2a1)],this[_0x4daf07(0x493)],[],this[_0x4daf07(0x28d)]);}['toggleOnline'](){return this;}[_0xbf377e(0x4c3)](){var _0x37e147=_0xbf377e;this[_0x37e147(0x28d)][_0x37e147(0x204)](this['_awaitingChangeset']);}[_0xbf377e(0x37e)](_0x190b8b){var _0x1f09c7=_0xbf377e;return this[_0x1f09c7(0x3f8)](),this[_0x1f09c7(0x223)]['createInstance'](le,this[_0x1f09c7(0x378)],this[_0x1f09c7(0x2a1)],this[_0x1f09c7(0x493)],[],this[_0x1f09c7(0x28d)],_0x190b8b);}[_0xbf377e(0x467)](_0x473ae6,_0x31811e){var _0x388c6b=_0xbf377e,_0x3ebc67;_0x473ae6===((_0x3ebc67=this[_0x388c6b(0x493)])==null?void 0x0:_0x3ebc67[_0x388c6b(0x3bd)])&&(this[_0x388c6b(0x4c3)](),this[_0x388c6b(0x3a0)]=_0x31811e===0x0?0x3e8:_0x31811e*0x2);}[_0xbf377e(0x3f8)](){var _0x37a69a=_0xbf377e,_0x5522aa;(_0x5522aa=this['_sender'])==null||_0x5522aa['unsubscribe'](),this[_0x37a69a(0x3a0)]=0x0;}};_e=Ee([P(0x4,_0x1c582e(_0x268804)),P(0x5,_0x1c582e(_0x22d135)),P(0x6,_0xc02145),P(0x7,_0x11790f),P(0x8,_0xf8efc),P(0x9,_0x26e538),P(0xa,_0x452fc6(J))],_e);let ae=class extends Ie{constructor(_0x46b423,_0x278931,_0x46f030,_0x47a8f9,_0x47b6f5,_0x5cb83e,_0xc8fc0a,_0x5e40da,_0x4e5df6,_0x485ff7,_0x189080,_0x19746a,_0x44ad6d){var _0x5db234=_0xbf377e;super(_0x46b423,_0x278931,_0x46f030,_0x47a8f9,_0x47b6f5,_0x4e5df6,_0x19746a,_0x5e40da,_0x44ad6d),N(this,_0x5db234(0x398),_0x5db234(0x2ee)),N(this,_0x5db234(0x3a0),0x0),N(this,_0x5db234(0x400)),N(this,_0x5db234(0x249)),(this[_0x5db234(0x223)]=_0xc8fc0a,this[_0x5db234(0x3fb)]=_0x485ff7,this[_0x5db234(0x4d6)]=_0x189080,this[_0x5db234(0x29f)]=_0x44ad6d,_0x5cb83e&&(this['_resendTimer']=_0x5cb83e,this[_0x5db234(0x249)]=this[_0x5db234(0x400)][_0x5db234(0x251)](({reqId:_0x4a27fe,timeout:_0x1352e9})=>{var _0x19d4d3=_0x5db234;this[_0x19d4d3(0x467)](_0x4a27fe,_0x1352e9);})));}[_0xbf377e(0x310)](_0x52ff2d){return this['_pendingMutations']['push'](_0x52ff2d),this;}[_0xbf377e(0x4a8)](_0x8bf70b){var _0x31bbfb=_0xbf377e;if(this[_0x31bbfb(0x3be)](_0x8bf70b))return this[_0x31bbfb(0x3f8)](),this[_0x31bbfb(0x223)][_0x31bbfb(0x488)](Q,this[_0x31bbfb(0x378)],this['type'],this[_0x31bbfb(0x493)],this[_0x31bbfb(0x454)],null,[_0x8bf70b],this[_0x31bbfb(0x28d)]);try{const _0x3ea6c8=this[_0x31bbfb(0x4d6)]['transformChangesets']([_0x8bf70b],[this['_awaitingChangeset']],!0x1);if(_0x270b22(_0x3ea6c8)){const {c1Prime:_0x5dbf2a,c2Prime:_0x41a22b}=_0x3ea6c8,_0x4f21c7=this[_0x31bbfb(0x4d6)][_0x31bbfb(0x238)](_0x5dbf2a[0x0],this[_0x31bbfb(0x454)]);if(_0x13d19e(_0x4f21c7)){const {c1Prime:_0x74c74a,m2Prime:_0x2248be}=_0x4f21c7;return this[_0x31bbfb(0x2bb)](_0x74c74a),_0x41a22b[0x0][_0x31bbfb(0x2e1)]=this['_getCurrentRevision'](),this[_0x31bbfb(0x3f8)](),this['_injector'][_0x31bbfb(0x488)](ae,this[_0x31bbfb(0x378)],this['type'],_0x41a22b[0x0],_0x2248be,this['_handler'],void 0x0);}throw _0x4f21c7['error'];}throw _0x3ea6c8[_0x31bbfb(0x215)];}catch(_0xee625a){return this[_0x31bbfb(0x3fb)]['error'](_0xee625a),this[_0x31bbfb(0x37e)](!0x1);}}['onRemoteAck'](_0x358036){var _0x5a2fe5=_0xbf377e;if(this[_0x5a2fe5(0x3f8)](),this[_0x5a2fe5(0x3be)](_0x358036))return this['_injector']['createInstance'](Q,this[_0x5a2fe5(0x378)],this[_0x5a2fe5(0x2a1)],null,this[_0x5a2fe5(0x454)],this[_0x5a2fe5(0x493)],[],this[_0x5a2fe5(0x28d)]);this[_0x5a2fe5(0x472)]();const _0x5a4528=this[_0x5a2fe5(0x223)][_0x5a2fe5(0x488)](re,this['unitID'],this[_0x5a2fe5(0x2a1)],this[_0x5a2fe5(0x454)],this['_handler']);return _0x5a4528[_0x5a2fe5(0x206)](),_0x5a4528[_0x5a2fe5(0x44b)](),_0x5a4528;}[_0xbf377e(0x2e6)](_0x3cf642){var _0x10b590=_0xbf377e;return this[_0x10b590(0x37e)](!!(_0x3cf642!=null&&_0x3cf642['isPermissionRej']));}[_0xbf377e(0x32f)](_0x3fc118){var _0x531bc4=_0xbf377e;return this[_0x531bc4(0x3a0)]>Ti?this[_0x531bc4(0x21a)]():(this[_0x531bc4(0x400)]=Ei(this[_0x531bc4(0x3a0)],{'timeout':this[_0x531bc4(0x3a0)],'reqId':_0x3fc118['reqId']}),this['_sender']=this['_resendTimer'][_0x531bc4(0x251)](({reqId:_0x8419ef,timeout:_0x5be731})=>{var _0x4360b5=_0x531bc4;this[_0x4360b5(0x467)](_0x8419ef,_0x5be731);}),this);}[_0xbf377e(0x21a)](){var _0x508a5e=_0xbf377e;return this[_0x508a5e(0x3f8)](),this[_0x508a5e(0x223)][_0x508a5e(0x488)](ue,this[_0x508a5e(0x378)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x508a5e(0x28d)]);}[_0xbf377e(0x36d)](){return this;}[_0xbf377e(0x4c3)](){var _0x215da5=_0xbf377e;this[_0x215da5(0x28d)][_0x215da5(0x204)](this[_0x215da5(0x493)]);}[_0xbf377e(0x37e)](_0x14dfc8){var _0x2a4ef5=_0xbf377e;return this[_0x2a4ef5(0x3f8)](),this[_0x2a4ef5(0x223)][_0x2a4ef5(0x488)](le,this[_0x2a4ef5(0x378)],this[_0x2a4ef5(0x2a1)],null,this[_0x2a4ef5(0x454)],this[_0x2a4ef5(0x28d)],_0x14dfc8);}[_0xbf377e(0x467)](_0x243137,_0x38608b){var _0xdf98a4=_0xbf377e,_0x1002f0;_0x243137===((_0x1002f0=this[_0xdf98a4(0x493)])==null?void 0x0:_0x1002f0[_0xdf98a4(0x3bd)])&&(this[_0xdf98a4(0x4c3)](),this['_resendTimeout']=_0x38608b===0x0?0x3e8:_0x38608b*0x2);}['_clearScheduledTask'](){var _0x230e9f=_0xbf377e,_0x8d0dda;(_0x8d0dda=this[_0x230e9f(0x249)])==null||_0x8d0dda[_0x230e9f(0x288)](),this[_0x230e9f(0x3a0)]=0x0;}};ae=Ee([P(0x6,_0x1c582e(_0x268804)),P(0x7,_0x1c582e(_0x22d135)),P(0x8,_0xc02145),P(0x9,_0x11790f),P(0xa,_0xf8efc),P(0xb,_0x26e538),P(0xc,_0x452fc6(J))],ae);let le=class extends Ie{constructor(_0x1b795c,_0x339e37,_0x1e3301,_0x3ea145,_0x4eb367,_0x37c6fd=!0x1,_0x1b14c7,_0x24b43a,_0x2b8a3a,_0x4bfedc,_0x231ec0,_0x2a6c8d,_0x1f7881){var _0x1396cc=_0xbf377e;super(_0x1b795c,_0x339e37,_0x1e3301,_0x3ea145,_0x4eb367,_0x24b43a,_0x2b8a3a,_0x4bfedc,_0x1f7881),N(this,'status',_0x1396cc(0x356)),(this[_0x1396cc(0x292)]=_0x37c6fd,this[_0x1396cc(0x495)]=_0x1b14c7,this[_0x1396cc(0x2f4)]=_0x231ec0,this[_0x1396cc(0x264)]=_0x2a6c8d,this['localCacheService']=_0x1f7881,this['_showConflictNotification'](),this[_0x1396cc(0x361)](),this[_0x1396cc(0x357)]());}[_0xbf377e(0x310)](){return this;}[_0xbf377e(0x4a8)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xbf377e(0x32f)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xbf377e(0x4c3)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xbf377e(0x361)](){var _0x4faf9a=_0xbf377e,_0x437c63;(_0x437c63=this[_0x4faf9a(0x4de)])==null||_0x437c63[_0x4faf9a(0x4f5)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x42ee3e=_0xbf377e;this[_0x42ee3e(0x292)]?this[_0x42ee3e(0x264)][_0x42ee3e(0x37b)]({'id':ne[_0x42ee3e(0x387)]}):this['_collaborationUIEventService'][_0x42ee3e(0x37b)]({'id':ne[_0x42ee3e(0x4d5)]});}[_0xbf377e(0x357)](){var _0x419bd0=_0xbf377e;this['_permissionService'][_0x419bd0(0x410)](new _0xc85e7d(this[_0x419bd0(0x378)])['id'],!0x1);}};le=Ee([P(0x6,_0x1c582e(_0xe07f13)),P(0x7,_0xc02145),P(0x8,_0x26e538),P(0x9,_0x1c582e(_0x22d135)),P(0xa,_0x1c582e(_0x213c64)),P(0xb,_0x1c582e(ve)),P(0xc,_0x452fc6(J))],le);let ue=class extends Ie{constructor(_0x33119b,_0x5b00f3,_0x5dce7b,_0x7e5f9a,_0x273dd9,_0x188d37,_0xcae618,_0x9724e6,_0x15e68f,_0x53529a){var _0x3ffebb=_0xbf377e;super(_0x33119b,_0x5b00f3,_0x5dce7b,_0x7e5f9a,_0x273dd9,_0x9724e6,_0x15e68f,_0xcae618,_0x53529a),N(this,_0x3ffebb(0x398),'offline'),this[_0x3ffebb(0x223)]=_0x188d37;}[_0xbf377e(0x310)](_0x4dd66d){var _0x159b5e=_0xbf377e;return this[_0x159b5e(0x454)][_0x159b5e(0x403)](_0x4dd66d),this[_0x159b5e(0x44b)](),this;}[_0xbf377e(0x4a8)](_0x429824){var _0x4c9210=_0xbf377e;throw new Error(_0x4c9210(0x31d));}[_0xbf377e(0x2e8)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xbf377e(0x2e6)](){var _0x4e4f4c=_0xbf377e;throw new Error(_0x4e4f4c(0x33c));}[_0xbf377e(0x32f)](){return this;}[_0xbf377e(0x21a)](){return this;}[_0xbf377e(0x36d)](){var _0x1350a7=_0xbf377e;const {_injector:_0x5502e6,_pendingMutations:_0x547f4f,_awaitingChangeset:_0x4d6186,unitID:_0x10c724,_handler:_0x53aed2,type:_0x3b389f}=this,_0x2aa38e=Ci(_0x5502e6,_0x10c724,_0x3b389f,_0x4d6186,_0x547f4f,_0x53aed2);return _0x2aa38e instanceof re?_0x2aa38e[_0x1350a7(0x206)]():(_0x2aa38e instanceof ae||_0x2aa38e instanceof _e)&&_0x2aa38e[_0x1350a7(0x4c3)](),_0x2aa38e;}[_0xbf377e(0x4c3)](){var _0x325421=_0xbf377e;throw new Error(_0x325421(0x431));}};ue=Ee([P(0x5,_0x1c582e(_0x268804)),P(0x6,_0x1c582e(_0x22d135)),P(0x7,_0xc02145),P(0x8,_0x26e538),P(0x9,_0x452fc6(J))],ue);let Q=class extends Ie{constructor(_0x4d89b9,_0x5daeaf,_0x28fb73,_0x1f7d1a,_0x1cbe09,_0x36c97e,_0x2c9376,_0x1a3117,_0x38c7ac,_0x1ff016,_0x58f6a8,_0x1c43a4,_0x1be82d,_0x5deb58){var _0x4ecf8f=_0xbf377e;super(_0x4d89b9,_0x5daeaf,_0x28fb73,_0x1f7d1a,_0x2c9376,_0x58f6a8,_0x1c43a4,_0x38c7ac,_0x5deb58),N(this,_0x4ecf8f(0x398),_0x4ecf8f(0x272)),(this['_acknowledgedAwaitingChangeset']=_0x1cbe09,this[_0x4ecf8f(0x4f2)]=_0x36c97e,this[_0x4ecf8f(0x223)]=_0x1a3117,this[_0x4ecf8f(0x3fb)]=_0x1ff016,this['_transformService']=_0x1be82d,this[_0x4ecf8f(0x29f)]=_0x5deb58);}[_0xbf377e(0x308)](_0x1a11f1){var _0x46d048=_0xbf377e;try{const _0x54d6ea=[..._0x1a11f1,...this[_0x46d048(0x4f2)]],_0x1dd8b1=[this['_awaitingChangeset']||this[_0x46d048(0x25f)]]['filter'](_0x28a20a=>!!_0x28a20a);let _0x326178,_0x4db5b2;if(_0x1dd8b1['length']){const _0xef2697=this[_0x46d048(0x4d6)]['transformChangesets'](_0x54d6ea,_0x1dd8b1,!0x1);if(!_0x270b22(_0xef2697))throw _0xef2697[_0x46d048(0x215)];_0x326178=_0xef2697[_0x46d048(0x27c)],_0x4db5b2=_0xef2697[_0x46d048(0x269)];}else _0x326178=_0x54d6ea,_0x4db5b2=[];let _0x195d3d=this['_pendingMutations'];_0x326178['forEach'](_0xd12d33=>{var _0x400f03=_0x46d048;let _0xdbf63a;if(_0x195d3d[_0x400f03(0x234)]){const _0x556bde=this[_0x400f03(0x4d6)][_0x400f03(0x238)](_0xd12d33,_0x195d3d);if(!_0x13d19e(_0x556bde))throw _0x556bde[_0x400f03(0x215)];_0xdbf63a=_0x556bde[_0x400f03(0x27c)],_0x195d3d=_0x556bde[_0x400f03(0x3cd)];}else _0xdbf63a=_0xd12d33;this[_0x400f03(0x2bb)](_0xdbf63a);}),this[_0x46d048(0x25f)]&&this[_0x46d048(0x472)](),this['_awaitingChangeset']&&_0x4db5b2[_0x46d048(0x234)]&&(_0x4db5b2[0x0][_0x46d048(0x2e1)]=this[_0x46d048(0x3db)]());let _0x5471e9;if(this['_awaitingChangeset']&&_0x195d3d[_0x46d048(0x234)]!==0x0)_0x5471e9=this[_0x46d048(0x223)][_0x46d048(0x488)](ae,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],_0x4db5b2[0x0],_0x195d3d,this[_0x46d048(0x28d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x195d3d[_0x46d048(0x234)]===0x0)_0x4db5b2[0x0]['baseRev']=this[_0x46d048(0x3db)](),_0x5471e9=this[_0x46d048(0x223)][_0x46d048(0x488)](_e,this['unitID'],this['type'],_0x4db5b2[0x0],this['_handler']);else{if(_0x195d3d[_0x46d048(0x234)]!==0x0){const _0x23c0a8=this[_0x46d048(0x223)]['createInstance'](re,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],_0x195d3d,this[_0x46d048(0x28d)]);_0x23c0a8[_0x46d048(0x206)](),_0x5471e9=_0x23c0a8;}else _0x5471e9=this[_0x46d048(0x223)][_0x46d048(0x488)](ye,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],this[_0x46d048(0x28d)]);}}return _0x5471e9[_0x46d048(0x44b)](),_0x5471e9;}catch(_0x42e45f){return this[_0x46d048(0x3fb)]['error'](_0x46d048(0x3b6),_0x46d048(0x46a),_0x42e45f),this[_0x46d048(0x223)][_0x46d048(0x488)](le,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],this[_0x46d048(0x493)],this['_pendingMutations'],this[_0x46d048(0x28d)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xbf377e(0x310)](_0x4d44f1){var _0x32a7b7=_0xbf377e;return this[_0x32a7b7(0x454)][_0x32a7b7(0x403)](_0x4d44f1),this;}['onRemoteChangeset'](_0x106596){var _0x4ed5ba=_0xbf377e;return this[_0x4ed5ba(0x4f2)][_0x4ed5ba(0x403)](_0x106596),this;}[_0xbf377e(0x2e8)](_0x44ea7d){var _0x4b31f7=_0xbf377e;if(this[_0x4b31f7(0x493)])return this[_0x4b31f7(0x25f)]=this[_0x4b31f7(0x493)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xbf377e(0x2e6)](_0x2ee80f){var _0x4f6118=_0xbf377e;return this['_onConflict'](!!(_0x2ee80f!=null&&_0x2ee80f[_0x4f6118(0x406)]));}[_0xbf377e(0x32f)](){return this;}['toggleOffline'](){var _0x14b4f8=_0xbf377e;return this[_0x14b4f8(0x223)][_0x14b4f8(0x488)](ue,this[_0x14b4f8(0x378)],this[_0x14b4f8(0x2a1)],this['_awaitingChangeset'],this[_0x14b4f8(0x454)],this[_0x14b4f8(0x28d)]);}[_0xbf377e(0x36d)](){return this;}[_0xbf377e(0x37e)](_0x4ba06b){var _0x3ea795=_0xbf377e;return this[_0x3ea795(0x223)]['createInstance'](le,this['unitID'],this[_0x3ea795(0x2a1)],this['_awaitingChangeset'],this[_0x3ea795(0x454)],this[_0x3ea795(0x28d)],_0x4ba06b);}};Q=Ee([P(0x7,_0x1c582e(_0x268804)),P(0x8,_0x1c582e(_0x22d135)),P(0x9,_0x11790f),P(0xa,_0xc02145),P(0xb,_0x26e538),P(0xc,_0xf8efc),P(0xd,_0x452fc6(J))],Q);function Ci(_0x1e64d9,_0x2530d5,_0x3fc47f,_0x312b30,_0x197d56,_0x530da1){var _0x53695a=_0xbf377e;return _0x312b30&&_0x197d56[_0x53695a(0x234)]?_0x1e64d9[_0x53695a(0x488)](ae,_0x2530d5,_0x3fc47f,_0x312b30,_0x197d56,_0x530da1,void 0x0):_0x312b30?_0x1e64d9['createInstance'](_e,_0x2530d5,_0x3fc47f,_0x312b30,_0x530da1):_0x197d56[_0x53695a(0x234)]?_0x1e64d9[_0x53695a(0x488)](re,_0x2530d5,_0x3fc47f,_0x197d56,_0x530da1):_0x1e64d9[_0x53695a(0x488)](ye,_0x2530d5,_0x3fc47f,_0x530da1);}var qs=Object['getOwnPropertyDescriptor'],wt=(_0x3062ee,_0x510a85,_0x2da5cd,_0x4c4fe4)=>{for(var _0xe9849a=_0x4c4fe4>0x1?void 0x0:_0x4c4fe4?qs(_0x510a85,_0x2da5cd):_0x510a85,_0xf241=_0x3062ee['length']-0x1,_0x4a0eb9;_0xf241>=0x0;_0xf241--)(_0x4a0eb9=_0x3062ee[_0xf241])&&(_0xe9849a=_0x4a0eb9(_0xe9849a)||_0xe9849a);return _0xe9849a;},H=(_0x14ea89,_0x2fc5fc)=>(_0x103c85,_0x426b5c)=>_0x2fc5fc(_0x103c85,_0x426b5c,_0x14ea89);let st=class extends _0x50936f{constructor(_0x3c0984,_0xbdc144,_0x43318b,_0x165f5f,_0x5b2be2,_0x4549d9,_0x29efc8,_0x2279bd,_0x416729,_0x4245c3,_0x3f785c,_0xbfd9b2,_0x1b88b6){var _0x20b9ec=_0xbf377e;super(),N(this,_0x20b9ec(0x48a),new _0x1f6c9f(null)),N(this,_0x20b9ec(0x3e6),this['_state$'][_0x20b9ec(0x22f)]()),N(this,_0x20b9ec(0x20f)),N(this,_0x20b9ec(0x30e),!0x1),N(this,_0x20b9ec(0x304),''),N(this,_0x20b9ec(0x4d7),0x0),N(this,_0x20b9ec(0x201),this[_0x20b9ec(0x3e6)][_0x20b9ec(0x2fd)](_0x55e73e(_0x764d20=>_0x764d20?_0x764d20[_0x20b9ec(0x398)]:Ii[_0x20b9ec(0x323)]),_0x139ba8(0x1))),N(this,_0x20b9ec(0x2a9),!0x1),N(this,_0x20b9ec(0x3e7),[]),(this[_0x20b9ec(0x378)]=_0x3c0984,this[_0x20b9ec(0x3a6)]=_0xbdc144,this[_0x20b9ec(0x309)]=_0x43318b,this[_0x20b9ec(0x223)]=_0x165f5f,this[_0x20b9ec(0x2d2)]=_0x5b2be2,this['_localeService']=_0x4549d9,this['_revisionService']=_0x29efc8,this['_eventService']=_0x2279bd,this['_logService']=_0x416729,this[_0x20b9ec(0x3d4)]=_0x4245c3,this[_0x20b9ec(0x495)]=_0x3f785c,this[_0x20b9ec(0x2f8)]=_0xbfd9b2,this[_0x20b9ec(0x4de)]=_0x1b88b6);}get[_0xbf377e(0x236)](){var _0x322c6f=_0xbf377e;return this[_0x322c6f(0x20f)];}async[_0xbf377e(0x2ef)](){var _0x45640b=_0xbf377e;if(this['state'])throw new Error(_0x45640b(0x4d1));await this[_0x45640b(0x3bf)]();}[_0xbf377e(0x2d7)](){var _0x37cc59=_0xbf377e;return this[_0x37cc59(0x30e)]=!0x0,_0x1ddba4(()=>{var _0x170022=_0x37cc59;this[_0x170022(0x30e)]=!0x1,this[_0x170022(0x427)]();});}[_0xbf377e(0x374)](_0x354545){var _0x1f0d5b=_0xbf377e;this[_0x1f0d5b(0x2cf)](_0x354545);}['_updateState'](_0x29656a){var _0x4bee0b=_0xbf377e;this['_state']=_0x29656a,this[_0x4bee0b(0x48a)][_0x4bee0b(0x233)](_0x29656a);}async[_0xbf377e(0x3bf)](){var _0x52d2f2=_0xbf377e,_0x4cb97b;this[_0x52d2f2(0x423)](await this[_0x52d2f2(0x3d6)]()),this[_0x52d2f2(0x2f8)]&&((_0x4cb97b=this[_0x52d2f2(0x2f8)])==null||_0x4cb97b[_0x52d2f2(0x3c2)](this[_0x52d2f2(0x378)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x52d2f2(0x241)](this[_0x52d2f2(0x378)])['subscribe'](_0x241c03=>{var _0x13b55e=_0x52d2f2;this['_logService'][_0x13b55e(0x2cd)](_0x13b55e(0x2c1),_0x13b55e(0x479),_0x241c03),_0x241c03===Si[_0x13b55e(0x487)]?(this[_0x13b55e(0x2ad)]['emitEvent']({'id':ne[_0x13b55e(0x456)]}),this['_permissionService'][_0x13b55e(0x410)](new _0xc85e7d(this[_0x13b55e(0x378)])['id'],!0x1),this['_permissionService'][_0x13b55e(0x2fe)](!0x1)):(this[_0x13b55e(0x495)][_0x13b55e(0x410)](new _0xc85e7d(this[_0x13b55e(0x378)])['id'],!0x0),this[_0x13b55e(0x495)][_0x13b55e(0x2fe)](!0x0));})));let _0x285fc9=!0x1;return this[_0x52d2f2(0x32e)](this[_0x52d2f2(0x3a6)][_0x52d2f2(0x1ff)][_0x52d2f2(0x251)](_0x3bd4c2=>{var _0x1adf94=_0x52d2f2;_0x3bd4c2===ge[_0x1adf94(0x2fa)]?this['_toggleOnline'](_0x285fc9):_0x3bd4c2===ge['OFFLINE']&&(_0x285fc9=!0x0,this[_0x1adf94(0x48c)]());})),this['disposeWithMe'](this[_0x52d2f2(0x3a6)][_0x52d2f2(0x25d)][_0x52d2f2(0x251)](_0x4dc7eb=>{var _0xab6230=_0x52d2f2;try{switch(_0x4dc7eb['eventID']){case _0x5899ec[_0xab6230(0x319)]:{this['_onRemoteChangeset'](_0x96ddd6(_0x4dc7eb[_0xab6230(0x3bb)]));break;}case _0x5899ec[_0xab6230(0x27e)]:{this['_onRemoteACK'](_0x4dc7eb[_0xab6230(0x3bb)]);break;}case _0x5899ec['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x5899ec[_0xab6230(0x3b4)]:{this[_0xab6230(0x2c5)](_0x4dc7eb[_0xab6230(0x3bb)]);break;}case _0x5899ec[_0xab6230(0x3f5)]:{this[_0xab6230(0x45d)](_0x4dc7eb[_0xab6230(0x3bb)]['changesets']['map'](_0x35c6ec=>_0x96ddd6(_0x35c6ec)));break;}case _0x5899ec[_0xab6230(0x4db)]:{this[_0xab6230(0x344)]({'isPermissionRej':!0x0});break;}case _0x5899ec[_0xab6230(0x42a)]:break;}}catch(_0x3d31b8){throw console[_0xab6230(0x215)](_0xab6230(0x37d),_0x3d31b8),_0x3d31b8;}})),this['_state'];}[_0xbf377e(0x36a)](){var _0x1e6b20=_0xbf377e;this[_0x1e6b20(0x2a9)]=!0x1;}[_0xbf377e(0x212)](){var _0x2f81e0=_0xbf377e;if(this[_0x2f81e0(0x2a9)])throw new Error(_0x2f81e0(0x417));this[_0x2f81e0(0x2a9)]=!0x0;}[_0xbf377e(0x2cf)](_0x5eb6f7){var _0x318d47=_0xbf377e;this['_lockTransition'](),this[_0x318d47(0x423)](this[_0x318d47(0x20f)][_0x318d47(0x310)](_0x5eb6f7)),this[_0x318d47(0x36a)]();}[_0xbf377e(0x239)](_0x3f632f){var _0x3bff0a=_0xbf377e;if(!(_0x3f632f[_0x3bff0a(0x33a)]<=this[_0x3bff0a(0x2b2)][_0x3bff0a(0x393)](this[_0x3bff0a(0x378)]))){if(this[_0x3bff0a(0x30e)]){this[_0x3bff0a(0x3e7)][_0x3bff0a(0x403)](_0x3f632f);return;}this[_0x3bff0a(0x4cc)](_0x3f632f);}}[_0xbf377e(0x427)](){var _0x5ae55f=_0xbf377e;this[_0x5ae55f(0x3e7)][_0x5ae55f(0x250)](_0x54bfd1=>this[_0x5ae55f(0x4cc)](_0x54bfd1)),this[_0x5ae55f(0x3e7)]=[];}['_applyRemoteChangeset'](_0x34e417){var _0x29f873=_0xbf377e;const _0x5f40b0=this[_0x29f873(0x2d2)]['interceptor']['fetchThroughInterceptors'](this[_0x29f873(0x2d2)][_0x29f873(0x485)][_0x29f873(0x2ff)]()[_0x29f873(0x4ec)])(_0x34e417[_0x29f873(0x2d8)],null)||_0x34e417[_0x29f873(0x2d8)],_0x46d5f1={..._0x34e417,'mutations':_0x5f40b0};this[_0x29f873(0x212)](),this['_updateState'](this[_0x29f873(0x20f)][_0x29f873(0x4a8)](_0x46d5f1)),this['_unlockTransition']();}[_0xbf377e(0x4ad)](_0x49d46d){var _0x4945d0=_0xbf377e;this[_0x4945d0(0x212)](),this['_updateState'](this[_0x4945d0(0x20f)]['onRemoteAck'](_0x49d46d)),this[_0x4945d0(0x36a)]();}[_0xbf377e(0x344)](_0x68441d){var _0x41a1f5=_0xbf377e;this['_lockTransition'](),this['_updateState'](this['_state'][_0x41a1f5(0x2e6)](_0x68441d)),this[_0x41a1f5(0x36a)]();}[_0xbf377e(0x2c5)](_0x2fbf1f){var _0x4fcdc3=_0xbf377e;this[_0x4fcdc3(0x212)](),this['_updateState'](this[_0x4fcdc3(0x20f)]['onRemoteRetry'](_0x2fbf1f)),this[_0x4fcdc3(0x36a)]();}[_0xbf377e(0x45d)](_0x554b67){var _0x12437b=_0xbf377e;if(!(this[_0x12437b(0x20f)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1783c3=_0x554b67[_0x12437b(0x422)](_0x4313b2=>{var _0x104e1c=_0x12437b;const _0x3189e8=this[_0x104e1c(0x2d2)][_0x104e1c(0x485)][_0x104e1c(0x46c)](this['_compressMutationService'][_0x104e1c(0x485)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4313b2[_0x104e1c(0x2d8)],null)||_0x4313b2[_0x104e1c(0x2d8)];return{..._0x4313b2,'mutations':_0x3189e8};});this[_0x12437b(0x212)](),this['_updateState'](this[_0x12437b(0x20f)][_0x12437b(0x308)](_0x1783c3)),this[_0x12437b(0x36a)]();}['_toggleOffline'](){var _0x52fcd1=_0xbf377e;this[_0x52fcd1(0x212)](),this[_0x52fcd1(0x423)](this['_state'][_0x52fcd1(0x21a)]()),this[_0x52fcd1(0x36a)]();}[_0xbf377e(0x42b)](_0x127847=!0x1){var _0x24ad04=_0xbf377e;this[_0x24ad04(0x212)](),this[_0x24ad04(0x423)](this[_0x24ad04(0x20f)][_0x24ad04(0x36d)]()),this[_0x24ad04(0x36a)]();const _0xe42a66=this[_0x24ad04(0x20f)];_0x127847&&_0xe42a66 instanceof ye&&(this[_0x24ad04(0x212)](),this[_0x24ad04(0x423)](_0xe42a66['fetchMiss']()),this['_unlockTransition']());}async[_0xbf377e(0x3d6)](){return new Promise(_0x4d1eb1=>{var _0x1039a7=_0x1cff;this['session'][_0x1039a7(0x1ff)]['pipe'](_0x3e5144(0x1))[_0x1039a7(0x251)](async _0x255a40=>{var _0x235f60=_0x1039a7;_0x4d1eb1(await this[_0x235f60(0x3ed)](_0x255a40===ge[_0x235f60(0x2fa)]));});});}['_createHandler'](){var _0x5f1c0d=_0xbf377e;const _0x295408=this[_0x5f1c0d(0x378)];return{'onStateChange':(_0x151ba3,_0x1a6b31)=>{var _0x436cd6=_0x5f1c0d;if(_0x151ba3!==this['_state'])throw new Error(_0x436cd6(0x3f0)+_0x151ba3['status']+'\x0aAfter:\x20'+_0x1a6b31[_0x436cd6(0x398)]+_0x436cd6(0x3e5)+this[_0x436cd6(0x20f)][_0x436cd6(0x398)]);this[_0x436cd6(0x423)](_0x1a6b31);},'onSendChangeset':_0x57ce76=>{var _0x26d412=_0x5f1c0d;_0x57ce76['sid']||(_0x57ce76['sid']=this['_changesetSessionId'],_0x57ce76[_0x26d412(0x3bd)]=++this['_changesetReqId']);const _0x463cff={'eventID':_0x5899ec[_0x26d412(0x2ce)],'data':{'unitID':_0x57ce76[_0x26d412(0x378)],'unitType':this[_0x26d412(0x309)],'changeset':_0x57ce76,'memberID':this['session'][_0x26d412(0x447)]()}};this['session'][_0x26d412(0x469)](_0x463cff,this[_0x26d412(0x378)]);},'onMissingChangesets':({from:_0xaaabb0,to:_0x4e36d1})=>{var _0x52cb03=_0x5f1c0d;this[_0x52cb03(0x3fb)][_0x52cb03(0x2cd)](_0x52cb03(0x2c1),'fetching\x20missing\x20changesets\x20from\x20'+_0xaaabb0+_0x52cb03(0x209)+_0x4e36d1);const _0x494636={'eventID':_0x5899ec[_0x52cb03(0x391)],'data':{'unitID':_0x295408,'unitType':this[_0x52cb03(0x309)],'from':_0xaaabb0,'to':_0x4e36d1}};this['session'][_0x52cb03(0x469)](_0x494636,this[_0x52cb03(0x378)]);}};}async[_0xbf377e(0x3ed)](_0x41bd22){var _0x95e82e=_0xbf377e,_0x389712,_0x2aec49,_0x3e01fe;const _0x382449=await((_0x389712=this['_localCacheService'])==null?void 0x0:_0x389712[_0x95e82e(0x298)](this[_0x95e82e(0x378)])),_0x4ff0bd=(_0x2aec49=_0x382449==null?void 0x0:_0x382449['mutations'])!=null?_0x2aec49:[],_0x2aea6c=(_0x3e01fe=_0x382449==null?void 0x0:_0x382449['awaitingChangeset'])!=null?_0x3e01fe:null,_0x4ce3f7=!!(_0x2aea6c!=null&&_0x2aea6c[_0x95e82e(0x26a)])&&!!(_0x2aea6c!=null&&_0x2aea6c[_0x95e82e(0x3bd)]);this['_changesetSessionId']=_0x4ce3f7?_0x2aea6c[_0x95e82e(0x26a)]:_0x4e9df5(),this[_0x95e82e(0x4d7)]=_0x4ce3f7?_0x2aea6c['reqId']:0x0;const _0x4dcdbe=this[_0x95e82e(0x378)];try{this[_0x95e82e(0x4d0)](_0x2aea6c,_0x4ff0bd);}catch(_0x20160e){this[_0x95e82e(0x3fb)]['error'](_0x20160e);}const _0x5c4523=this[_0x95e82e(0x28b)]();if(_0x41bd22){const _0xe89f80=Ci(this[_0x95e82e(0x223)],_0x4dcdbe,this['_type'],_0x2aea6c,_0x4ff0bd,_0x5c4523);return _0xe89f80 instanceof re?_0xe89f80[_0x95e82e(0x206)]():(_0xe89f80 instanceof ae||_0xe89f80 instanceof _e)&&_0xe89f80['resend'](),_0xe89f80;}return this[_0x95e82e(0x223)][_0x95e82e(0x488)](ue,_0x4dcdbe,this[_0x95e82e(0x309)],_0x2aea6c,_0x4ff0bd,_0x5c4523);}[_0xbf377e(0x4d0)](_0x1e4050,_0x193e38){var _0x1e918c=_0xbf377e,_0x4b32d4,_0x5bf469;const _0x1a1368=this[_0x1e918c(0x2d2)]['interceptor']['fetchThroughInterceptors'](this[_0x1e918c(0x2d2)][_0x1e918c(0x485)][_0x1e918c(0x2ff)]()['COMPRESS_MUTATION_APPLY']);(_0x4b32d4=_0x1a1368((_0x1e4050==null?void 0x0:_0x1e4050['mutations'])||[],null))==null||_0x4b32d4[_0x1e918c(0x250)](_0x50602c=>this['_commandService'][_0x1e918c(0x2ba)](_0x50602c['id'],_0x50602c[_0x1e918c(0x439)])),(_0x5bf469=_0x1a1368(_0x193e38||[],null))==null||_0x5bf469['forEach'](_0x1a93c7=>this['_commandService'][_0x1e918c(0x2ba)](_0x1a93c7['id'],_0x1a93c7['params']));}};function _0x3e02(){var _0x18d9c9=['[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.','reject','byteLength','_socket$','subject','saveImage','UserProfileImg','listCollaborators','action','getLatestCsReqIdBySid','_imageSourceCache','map','_updateState','_onUserLeave','RETRY_CONNECTING_MAX_COUNT','clear','_exhaustRemoteChangesetQueue','removeMember','_listenToNetworkCondition','UNISCRIPT_RUN','_toggleOnline','getUnitType','updateCursorEvent','deepClone','Decryptor','putCollaborators','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','members$','close','YUUMI_RATE_OVER_LIMIT','compose','onCommandExecuted','image/bmp','DEFAULT_FILE_NAME','params','_rescheduleHeartbeat','_decreaseWaiting','BufferedBlockAlgorithm','_clearTimeoutTimer','floor','USER_NOT_INVITED_CODE','rev','INVALID_INVITE_CODE','function','_getUndoStack','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','awaiting','words','getMemberID','SHOULD_CLOSE_CONN','submit\x20changeset\x20error!','getFocusedUnit','_updateLocalCache','every','put','COMPLETION_FINISHED','setCurrentUser','JOIN','_onUserJoin','entries','BASE64','_pendingMutations','requireSession','OTHER_CLIENT_EDITING','_configService','BlockCipherMode','post','HmacSHA1','href','SerializableCipher','_onFetchMissResult','[SyncedState]:\x20received\x20acknowledgement.','INVITE_CODE_REQUIRED','Latin1','requestParams','LIVESHARE_TERMINATE','_transformIMECache','/rev/','min','onTransformSelections','_resendWithTimeout','78WkBgfs','send','failed\x20to\x20apply\x20missed\x20changesets!','transformUndoRedo','fetchThroughInterceptors','sigBytes','getRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','PasswordBasedCipher','reconnect','_incrementRevisionNumber','clone','buffer','HEARTBEAT_INTERVAL','[PendingState]:\x20received\x20acknowledgement.','add','HEARTBEAT','editing\x20status\x20changed\x20to','concat','_roomMembers','MOBILE_VERIFY_CODE_MISMATCH','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','YUUMI_CONNECTOR_URL_NOT_FOUND','csAckEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','commentUpdate$','_joinRoom','closeSession','routeKey','interceptor','_stopTelemetryCollaborationNewChangeset','OTHER_CLIENTS_EDITING','createInstance','NO_OTHER_CLIENTS_EDITING','_state$','pad','_toggleOffline','origin','CBC','cmd','_clearCollaborationTimeoutTimer','roomInfos','url','_awaitingChangeset','ERROR_IMAGE_TYPE','_permissionService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','USERS_ENTER','replace','63jriVyc','_key','_getAPIPrefixPath','_data','POST','UNAUTHENTICATED','_collabSessionService','iterations','_socketService','_scheduleCompleteTimestamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onTransformState','_createHmacHelper','LIVESHARE_FETCH_OPERATIONS','exports','onRemoteChangeset','&assign=','People','override','fromCharCode','_onRemoteACK','getCurrentUser','_initCloseConn','_emitMembers','UNRECOGNIZED','localeService','addImageSourceCache','_process','fromCollab','hasher','onStateChange','SOCKET_FAILED','crypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SOCKET_FAILED_RETRY','_keyPriorReset','startTime','_socketReady','\x20in\x20_schedule.','onTransformRemoteChangesetByStateCache','registerHTTPInterceptor','getUnitId','resend','getValue','YUUMI_UNABLE_LOAD_URL','uploadFileServerUrl','onMissingChangesets','__Key__','capture','image/jpeg','createCollaborator','_applyRemoteChangeset','getRandomValues','session.room-not-exists','univer-pro.collaboration-client.network-condition.service','_replayCachedMutations','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_submitChangeset','withCredentials','_redoStacks','CONFLICT','_transformService','_changesetReqId','_invKeySchedule','_change$','mode','PERMISSION_REJ','responseType','getCollabEntity$','_localCacheService','_snapshotService','error$','entityInit$','image/png','get','ceil','join','YUUMI_NO_CUBOID_FOR_QUESTION','INVITE_CODE_ALREADY_BOUND','YUUMI_ASYNCIO_CANCELLED','_parse','cfg','downloadEndpointUrl','COMPRESS_MUTATION_APPLY','_throwTelemetryCollaborationNewChangeset','_getSignURL','HttpExport','_roomCreated$','_networkConditionService','_queuedRemoteChangesets','UNIVER_UNKNOWN','_createHelper','updateOfflineData','createDecryptor','[DataLoaderService]','_config','/block/','Base','UNKNOWN_CMD','_commentUpdate$','loadDoc','subUnitId','SNAPSHOT_URL_KEY','PY_RUNTIME_SCRIPT_ERROR','FAIL','_hash','list','indexOf','Pkcs7','getTime','60176byAVee','sessionStatus$','sin','status$','_getLoginPath','open$','onSendChangeset','_onCombEvent','_schedule','csShouldRetryEvent','185152zASvpR','\x20to\x20','_getCtorByUniverType','_transformSelections','/collaborator','/universer-api/user/session-ticket','/unit/','_state','SUBMIT_CHANGESET_TIMEOUT','dispose','_lockTransition','getCollabEntity','eventID','error','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CHANGESET_REJ','CHANGESET_REVISION_CONFILICT','then','toggleOffline','transformChangesets','UNIVER_PROJECT','_onJoinRoomEvent','_map','initWorkbookPermissionChange','_ENC_XFORM_MODE','_getRedoStack','socket$','_injector','complete','getConfig','reduce','_fetchMissChangesets','splice','UNIVER_SHEET','collaboration_new_changeset','create','[CollaborationState]:\x20apply\x20error!','_onRecvEvent','_getDownloadEndpointURL','asObservable','UNIVER_COLLABORATION_CLIENT_PLUGIN','headers','IDLE','next','length','_handlerCallback','state','setConfig','transformMutationsWithChangeset','_onRemoteChangeset','catch','LIVESHARE_NEW_HOST','_reverseMap','name','MOBILE_HAS_BEEN_BOUND','_candidateSocket','saveSheetBlock','getUnitStatus$','liveShareOperation','Hasher','BlockCipher','Encryptor','onTransformIME','_initDependencies','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_sender','lib','_timeoutTimer','find','_transformUndoredo','readAsDataURL','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','forEach','subscribe','csRejEvent','Undefined','Malformed\x20UTF-8\x20data','has','_initMergeInterceptor','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_oKey','_transformStack','HELLO','FileId','resourceIDs','event$','stringify','_acknowledgedAwaitingChangeset','USERS_LEAVE','onTransformRemoteChangesetByIMECache','LICENSE_IMPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','createEncryptor','getUnitOnRev','processBlock','_univerInstanceService','c2Prime','sid','update','msCrypto','_doReset','src','_socketMessageSubscription','_startCollaboration','NOT_COLLAB','fetch_missing','userID','Base64','_userManagerService','joinRsp','format','_tryEnsureSocket','charCodeAt','getSheetId','COMPRESS_MUTATION_SEND','c1Prime','_HTTPService','CHANGESET_ACK','image/jpg','_telemetryInfo','file','blockSize','_members','delete','$super','/-/object/list','target','unsubscribe','LICENSE_MAX_UNITS_EXCEEDED','not_collab','_createHandler','Could\x20not\x20dynamically\x20require\x20\x22','_handler','_members$','values','key','synced','_isPermissionRej','_event$','enableAuthServer','location','_onMessage','equals','loadOfflineData','retryConnectingInterval','/universer-api/snapshot','_status$','_xformMode','SYNCED','_doCreateSocket','localCacheService','offline','type','UnitSnapshot','uniscriptRunEvent','pending','AES','PENDING','_sessions','_getSendChangesetTimeout','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','extend','charAt','_eventService','loginUrlKey','1014120kmIeCh','NoPadding','hasOwnProperty','_revisionService','JOINING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','JOIN_ROOM_FAILED','authzUrl','_updateStatus','x-univer-host','_entityInit$','executeCommand','_executeRemoteChangeset','[CollaborationSession]','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getWorkbookSelections','_tryReconnect','_commentService','[CollaborationEntity]','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REJECT','selections','_onRemoteRetry','UnitEmbedded','enableOfflineEditing','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','OPTIONAL','infoRsp','/universer-api/authz','defineProperty','debug','SUBMIT_CHANGESET','_onLocalMutation','_waitCount','_socket','_compressMutationService','JOIN_ROOM_NOT_EXISTS','stopTime','HMAC','textRanges','pauseCollaboration','mutations','[SyncedState]:\x20received\x20rejection.','UNIVER_SLIDE','default','_telemetryService','_keySchedule','parse','MUTATION','EMAIL_HAS_BEEN_BOUND','baseRev','[PendingState]:\x20received\x20rejection.','_collaborationSessionService','ERROR_IMAGE','_waitForHeartbeatResponse','onRemoteRej','filter','onRemoteAck','UNIVER_DOC','objectType','RECV','_instanceService','refreshPermission','awaiting_with_pending','init','pluginName','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_memberService','encode','_localeService','Cipher','unknown','set','_singleActiveUnitService','allowed','ONLINE','__creator','ciphertext','pipe','setShowComponents','getInterceptPoints','sessionStatus','_iKey','/fetchmissing?from=','_initRequestHeader','_changesetSessionId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ALREADY_EXISTS','roles','onMissedChangesetFetched','_type','/universer-api/oidc/authpage','JOIN_ROOM_FULL','_createSocket','loadSheet','_collaborationPaused','getActiveSheet','appendMutation','GLOBAL_ROOMS_CNT_EXCEEDS','session.join-failed','decrypt','formatter','_getUploadFileURL','originalMeta','onSyncEditingCollabCursor','addHandlerCallback','NEW_CHANGESETS','max','liveShareNewHost','deleteCollaborator','[OfflineState]:\x20received\x20changeset.','reset','collaborators','_undoRedoService','SNAPSHOT_INVALID_SNAPSHOT','getMember','OFFLINE','[UniverCollaborationClientPlugin]','reverse','getAllMembers','WordArray','MD5','_minBufferSize','INTERNAL_ERROR','_doCryptBlock','/universer-api/uniscript','signUrlServerUrl','disposeWithMe','onRemoteRetry','TOO_MANY_REQUESTS','prototype','&to=','YUUMI_SUBSCRIPTION_NOT_FOUND','fetchMiss','online$','encryptBlock','558579xVHxBC','change$','_transformRemoteChangesetByIMECache','revision','_startTelemetryCollaborationNewChangeset','[OfflineState]:\x20received\x20rejection.','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','updateCollaborator','ws://127.0.0.1:8000/universer-api/comb/connect','_iv','call','random','OpenSSL','_onRemoteRejected','toString','finalize','YUUMI_ALL_TABLES_IS_INVALID','APPLY_PERMISSION_DENIED','_nDataBytes','kdf','apply','151385nizwCS','workbook','_shouldReportTelemetry','getImage','actions','telemetry\x20info\x20is\x20not\x20initialized','hostname','UUID','method','changesets','conflict','_disableEditing','algo','getOwnPropertyDescriptor','UPDATE_CURSOR','listRoles','_snapshotServerService','_onConnectionFailed','_hasher','getTypeOfUnitDisposed$','getSnapshotAPIPath','_clearLocalCache','_unitID','includes','/allowed','_getAPIPrefix','enableCollaboration','_httpService','keySize','result','_unlockTransition','_scheduleCollaborationTimeoutTimer','_clearHeartbeatTimer','toggleOnline','HEARTBEAT_TIMEOUT','mixIn','CLOSE_ROOM','_mode','LOGIN_FAILED','connection\x20error','onLocalMutation','_doFinalize','/-/object/-/batch_allowed','_prevBlock','unitID','createSocket','socket\x20close','emitEvent','_transformRemoteChangesetByStateCache','Error\x20on\x20receiving\x20event','_onConflict','now','socket\x20open.','close$','/resources','AWAITING_WITH_PENDING','UNKNOWN_CODE','PERSON','_onConnectionOpen','PERMISSION_DENIED','disableLocalCache','collabWebSocketUrl','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','save\x20fail\x20reason\x20is\x20','onStarting','enc','shouldCloseConn','Utf8','HttpImport','FETCH_MISSING','memberID','getCurrentRevOfUnit','incrementRevOfUnit','WECHAT_HAS_BEEN_BOUND','loadUnitOfRevision','encrypt','status','ivSize','copyFileMeta','encodeURIComponent','[CollaborationUndoRedoService]','_replaceFileID','457962sAJGaO','dispose$','_resendTimeout','transformSelections','body','LOCAL_CACHE_INTERVAL','UPDATE_PERMISSION_OBJ','salt','session','_clearRetryConnectingTimer','APPLY_NON_SEQUENTIAL_REVISION','unpad','compute','LEAVE','YUUMI_AI_RUN_FAILED','saveChangeset','size','APPLY_REVISION_CONFILICT','clamp','duration','EvpKDF','updateSnapshot','CHANGESET_SHOULD_RETRY','_substituteRedoStack','[FetchMissState]','1365952HdDivk','collaboration-client.local-cache-service','readInt32LE','slice','data','message$','reqId','_checkMissing','_init','isArray','repeat','editingUnit','/object/','_clearUndo','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_cipher','SHA1','onCommentUpdate','LIVESHARE_REQUEST_HOST','session.room-cnt-exceeds','randomBytes','_sessionStatus$','m2Prime','newCsEvent','_registerDependencies','snapshot','symbol','/object','FETCH_MISS','_commandService','image/gif','_createInitialState','MSG_FOR_ERROR','unitInfo$','unitId','{fileID}','_getCurrentRevision','INVITE_CODE_HAS_BEEN_UES','_onOffline','execute','INGEST','_retryConnectingTimer','COMMENT_UPDATE','_entities','getTypeOfUnitAdded$','_unitInfo$','\x0aCurrent:\x20','state$','_remoteChangesetQueue','_sendingTimer','socketService','_retryCount','session.room-permission-denied','_append','_createInitialStateImpl','_initUnitPermissionChange','SNAPSHOT_HAS_BEEN_REMOVED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_DISTRO_REJECTED','CipherParams','objects','code','PSEUDO_FETCH_MISSING_RESULT','objectID','padding','_clearScheduledTask','_sendHeartbeat','_sendHeartbeatTimer','_logService','AWAITING','_sheetTransformSelectionsService','LIVESHARE_OPERATION','fetchMissingChangesets','_resendTimer','_syncEditingCollabCursor','unit-cache-','push','Failed\x20to\x20update\x20permission\x20point','_nRounds','isPermissionRej','waitForRoom$','updateMember','getSheetBlock','[CollaborationSessionService]','_collaborationTimeoutTimer','string','joinEvent','[CollaborationSessionService]:\x20socket\x20error','from','updatePermissionPoint','_substituteUndoStack','resolve','auth.needGotoLoginAlert','univer-pro.collaboration-client.single-active-unit-service','APPLY_DUPLICATED','EMAIL_VERIFY_CODE_MISMATCH'];_0x3e02=function(){return _0x18d9c9;};return _0x3e02();}st=wt([H(0x3,_0x1c582e(_0x268804)),H(0x4,_0x1c582e(_0x55cac5)),H(0x5,_0x1c582e(_0x213c64)),H(0x6,_0x1c582e(_0x22d135)),H(0x7,_0x1c582e(ve)),H(0x8,_0x11790f),H(0x9,_0xc02145),H(0xa,_0xe07f13),H(0xb,_0x452fc6(ht)),H(0xc,_0x452fc6(J))],st);function _0x1cff(_0x28e26b,_0x3d41cd){var _0x3e02c4=_0x3e02();return _0x1cff=function(_0x1cff96,_0x1b02ec){_0x1cff96=_0x1cff96-0x1f1;var _0x306e14=_0x3e02c4[_0x1cff96];return _0x306e14;},_0x1cff(_0x28e26b,_0x3d41cd);}let St=class extends st{constructor(_0x5d172e,_0x4a2794,_0x353425,_0x52ed24,_0x34a075,_0x262b09,_0x90adb2,_0x554d5a,_0x73c298,_0x2e216e,_0x37f027,_0x12121d,_0x41f3e2){var _0x53709f=_0xbf377e;super(_0x5d172e,_0x353425,_0x4a2794,_0x52ed24,_0x34a075,_0x262b09,_0x90adb2,_0x554d5a,_0x73c298,_0x2e216e,_0x37f027,_0x12121d,_0x41f3e2),N(this,_0x53709f(0x235),null),(this['unitID']=_0x5d172e,this[_0x53709f(0x2a1)]=_0x4a2794);}[_0xbf377e(0x318)](_0x450b38){var _0x4169aa=_0xbf377e;this[_0x4169aa(0x235)]=_0x450b38;}[_0xbf377e(0x211)](){var _0x4a0f5e=_0xbf377e;this[_0x4a0f5e(0x235)]=null,super[_0x4a0f5e(0x211)]();}[_0xbf377e(0x28b)](){var _0x39b90f=_0xbf377e;const _0x4ba4b3=super['_createHandler']();return _0x4ba4b3[_0x39b90f(0x246)]=_0x37d461=>{var _0x12417d=_0x39b90f,_0x5ab3d7,_0x47b36f;return(_0x47b36f=(_0x5ab3d7=this[_0x12417d(0x235)])==null?void 0x0:_0x5ab3d7[_0x12417d(0x246)])==null?void 0x0:_0x47b36f[_0x12417d(0x341)](_0x5ab3d7,_0x37d461);},_0x4ba4b3[_0x39b90f(0x4a4)]=_0x5e9018=>{var _0x4a5a28=_0x39b90f,_0x1b73af,_0x2f9b40;return(_0x2f9b40=(_0x1b73af=this[_0x4a5a28(0x235)])==null?void 0x0:_0x1b73af[_0x4a5a28(0x4a4)])==null?void 0x0:_0x2f9b40[_0x4a5a28(0x341)](_0x1b73af,_0x5e9018);},_0x4ba4b3[_0x39b90f(0x466)]=_0xa0f88e=>{var _0x261aee=_0x39b90f,_0x69e74d,_0x1f98e3;return(_0x1f98e3=(_0x69e74d=this['_handlerCallback'])==null?void 0x0:_0x69e74d[_0x261aee(0x466)])==null?void 0x0:_0x1f98e3[_0x261aee(0x341)](_0x69e74d,_0xa0f88e);},_0x4ba4b3[_0x39b90f(0x317)]=_0xdbffd6=>{var _0x36af40=_0x39b90f,_0x4b5fe7,_0x5d2702;return(_0x5d2702=(_0x4b5fe7=this[_0x36af40(0x235)])==null?void 0x0:_0x4b5fe7['onSyncEditingCollabCursor'])==null?void 0x0:_0x5d2702['call'](_0x4b5fe7,_0xdbffd6);},_0x4ba4b3[_0x39b90f(0x261)]=_0x19fe85=>{var _0x2696d6=_0x39b90f,_0x43b48f,_0x4f7913,_0x15ce0d;if(!((_0x43b48f=this[_0x2696d6(0x235)])!=null&&_0x43b48f[_0x2696d6(0x261)]))throw new Error(_0x2696d6(0x248));return(_0x15ce0d=(_0x4f7913=this['_handlerCallback'])==null?void 0x0:_0x4f7913[_0x2696d6(0x261)])==null?void 0x0:_0x15ce0d[_0x2696d6(0x341)](_0x4f7913,_0x19fe85);},_0x4ba4b3[_0x39b90f(0x4c0)]=_0x598551=>{var _0x1bd0a0=_0x39b90f,_0x1fd31d,_0x3d1689,_0x4be935;if(!((_0x1fd31d=this[_0x1bd0a0(0x235)])!=null&&_0x1fd31d[_0x1bd0a0(0x4c0)]))throw new Error(_0x1bd0a0(0x4ba));return(_0x4be935=(_0x3d1689=this[_0x1bd0a0(0x235)])==null?void 0x0:_0x3d1689[_0x1bd0a0(0x4c0)])==null?void 0x0:_0x4be935[_0x1bd0a0(0x341)](_0x3d1689,_0x598551);},_0x4ba4b3;}async[_0xbf377e(0x3bf)](){var _0x358628=_0xbf377e;const _0x96d407=await super[_0x358628(0x3bf)]();return this[_0x358628(0x32e)](this[_0x358628(0x3d4)][_0x358628(0x436)]((_0x390031,_0x211fc7)=>{var _0xf9ea00=_0x358628;if(_0x390031[_0xf9ea00(0x2a1)]!==_0x1a9537[_0xf9ea00(0x2df)]||_0x211fc7!=null&&_0x211fc7[_0xf9ea00(0x4b5)]||_0x211fc7!=null&&_0x211fc7['onlyLocal']||_0x390031['id']===_0x166f61['id'])return;const _0x3c7109=_0x390031['params'];if((_0x3c7109==null?void 0x0:_0x3c7109[_0xf9ea00(0x3d9)])!==this[_0xf9ea00(0x378)])return;const _0x1402c0=_0x390031,_0x4d35dc=this['_compressMutationService'][_0xf9ea00(0x485)][_0xf9ea00(0x46c)](this[_0xf9ea00(0x2d2)][_0xf9ea00(0x485)][_0xf9ea00(0x2ff)]()[_0xf9ea00(0x27b)])([_0x1402c0],null)||[_0x1402c0];this[_0xf9ea00(0x2cf)](_0x4d35dc[0x0]);})),_0x96d407;}};St=wt([H(0x3,_0x1c582e(_0x268804)),H(0x4,_0x1c582e(_0x55cac5)),H(0x5,_0x1c582e(_0x213c64)),H(0x6,_0x1c582e(_0x22d135)),H(0x7,_0x1c582e(ve)),H(0x8,_0x11790f),H(0x9,_0xc02145),H(0xa,_0xe07f13),H(0xb,_0x452fc6(ht)),H(0xc,_0x452fc6(J))],St);let Et=class extends st{constructor(_0x1aa1b1,_0x57245e,_0x3071a6,_0x17d7ea,_0x478517,_0x20c60b,_0x2fe108,_0x49b5de,_0xd7086e,_0x4e1d67,_0x3f9d13,_0x360aa2,_0x2e4a14,_0x178267){var _0x392fac=_0xbf377e;super(_0x1aa1b1,_0x3071a6,_0x57245e,_0x17d7ea,_0x478517,_0x20c60b,_0x2fe108,_0xd7086e,_0x4e1d67,_0x3f9d13,_0x360aa2,_0x2e4a14,_0x178267),this['unitID']=_0x1aa1b1,this['type']=_0x57245e,this[_0x392fac(0x3fd)]=_0x49b5de;}[_0xbf377e(0x28b)](){var _0x8888cf=_0xbf377e;const _0x3e30cf=super['_createHandler']();return _0x3e30cf[_0x8888cf(0x466)]=_0x132120=>this[_0x8888cf(0x3fd)][_0x8888cf(0x3a1)](_0x132120),_0x3e30cf;}async[_0xbf377e(0x3bf)](){var _0x5511e4=_0xbf377e;const _0x2f6346=await super[_0x5511e4(0x3bf)]();return this['disposeWithMe'](this[_0x5511e4(0x3d4)][_0x5511e4(0x436)]((_0x1fb8bb,_0xd2d804)=>{var _0x5e3fb2=_0x5511e4;if(_0x1fb8bb['type']!==_0x1a9537[_0x5e3fb2(0x2df)]||_0xd2d804!=null&&_0xd2d804[_0x5e3fb2(0x4b5)]||_0xd2d804!=null&&_0xd2d804['onlyLocal'])return;const _0x500d65=_0x1fb8bb[_0x5e3fb2(0x439)];if((_0x500d65==null?void 0x0:_0x500d65[_0x5e3fb2(0x3d9)])!==this[_0x5e3fb2(0x378)])return;const _0x46c5f2=_0x1fb8bb,_0x301a2e=this[_0x5e3fb2(0x2d2)][_0x5e3fb2(0x485)][_0x5e3fb2(0x46c)](this[_0x5e3fb2(0x2d2)]['interceptor'][_0x5e3fb2(0x2ff)]()[_0x5e3fb2(0x27b)])([_0x46c5f2],null)||[_0x46c5f2];this['_onLocalMutation'](_0x301a2e[0x0]);})),_0x2f6346;}};Et=wt([H(0x3,_0x1c582e(_0x268804)),H(0x4,_0x1c582e(_0x55cac5)),H(0x5,_0x1c582e(_0x213c64)),H(0x6,_0x1c582e(_0x22d135)),H(0x7,_0x1c582e(it)),H(0x8,_0x1c582e(ve)),H(0x9,_0x11790f),H(0xa,_0xc02145),H(0xb,_0xe07f13),H(0xc,_0x452fc6(ht)),H(0xd,_0x452fc6(J))],Et);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x17408f,_0x594fbc,_0x42b996,_0x247075)=>{var _0x1d6f57=_0xbf377e;for(var _0x3075f7=_0x247075>0x1?void 0x0:_0x247075?zs(_0x594fbc,_0x42b996):_0x594fbc,_0x4ae119=_0x17408f[_0x1d6f57(0x234)]-0x1,_0x3cba3f;_0x4ae119>=0x0;_0x4ae119--)(_0x3cba3f=_0x17408f[_0x4ae119])&&(_0x3075f7=_0x3cba3f(_0x3075f7)||_0x3075f7);return _0x3075f7;},Be=(_0x202ffe,_0x1da52c)=>(_0xfa6cac,_0xb6f1f4)=>_0x1da52c(_0xfa6cac,_0xb6f1f4,_0x202ffe);let nt=class extends _0x50936f{constructor(_0x1f3fe9,_0x14296b,_0x2b9620,_0x29db8a){var _0x4da92e=_0xbf377e,_0x1e0e9a;super(),N(this,_0x4da92e(0x3e2),new Map()),N(this,_0x4da92e(0x2b9),new _0x4a9222()),N(this,_0x4da92e(0x4e1),this['_entityInit$'][_0x4da92e(0x22f)]()),(this['_injector']=_0x1f3fe9,this[_0x4da92e(0x49f)]=_0x14296b,this[_0x4da92e(0x457)]=_0x2b9620,this[_0x4da92e(0x268)]=_0x29db8a,((_0x1e0e9a=this[_0x4da92e(0x457)]['getConfig'](K))==null?void 0x0:_0x1e0e9a[_0x4da92e(0x366)])!==!0x1&&this[_0x4da92e(0x3bf)]());}[_0xbf377e(0x211)](){var _0x574307=_0xbf377e;super[_0x574307(0x211)](),this['_entities']['forEach'](_0x1869ca=>_0x1869ca[_0x574307(0x211)]()),this[_0x574307(0x3e2)]['clear']();}[_0xbf377e(0x213)](_0x1ad2ac){var _0x41b29f=_0xbf377e,_0x3e5258;return(_0x3e5258=this[_0x41b29f(0x3e2)][_0x41b29f(0x4e3)](_0x1ad2ac))!=null?_0x3e5258:null;}[_0xbf377e(0x4dd)](_0xfbeaf){var _0x397b5a=_0xbf377e;const _0x461c28=this['getCollabEntity'](_0xfbeaf);return _0x461c28?_0x11003f(_0x461c28):this[_0x397b5a(0x2b9)][_0x397b5a(0x2fd)](_0x28ef92(_0x23f6f0=>_0x23f6f0['unitID']===_0xfbeaf));}['readyForCollab'](_0x94d284){var _0x4f8d17=_0xbf377e;return _0x39a30b(this['getCollabEntity$'](_0x94d284)[_0x4f8d17(0x2fd)](_0x1ef428(()=>{})));}[_0xbf377e(0x3bf)](){var _0x1d1a57=_0xbf377e;this[_0x1d1a57(0x268)]['getTypeOfUnitAdded$'](_0x4db421['UNIVER_SHEET'])['pipe'](_0x39b035(this[_0x1d1a57(0x39f)]),_0x100efb(0x10))[_0x1d1a57(0x251)](async _0x2d29cf=>{var _0x5d7857=_0x1d1a57;const _0x204404=_0x2d29cf[_0x5d7857(0x4c2)](),_0x53c08e=await this[_0x5d7857(0x270)](_0x204404,Z[_0x5d7857(0x229)]);this[_0x5d7857(0x3e2)][_0x5d7857(0x2f7)](_0x204404,_0x53c08e);}),this[_0x1d1a57(0x268)]['getTypeOfUnitAdded$'](_0x4db421[_0x1d1a57(0x2e9)])[_0x1d1a57(0x2fd)](_0x39b035(this[_0x1d1a57(0x39f)]),_0x100efb(0x10))[_0x1d1a57(0x2fd)](_0x28ef92(_0x3e7ac2=>!_0x3e7ac2['getUnitId']()['startsWith']('__')))['subscribe'](async _0xa5fb6c=>{var _0x2e43e3=_0x1d1a57;const _0x49a743=_0xa5fb6c[_0x2e43e3(0x4c2)](),_0x3f09ba=await this[_0x2e43e3(0x270)](_0x49a743,Z[_0x2e43e3(0x2e9)]);this[_0x2e43e3(0x3e2)][_0x2e43e3(0x2f7)](_0x49a743,_0x3f09ba);}),_0x2df817(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4db421[_0x1d1a57(0x229)]),this[_0x1d1a57(0x268)][_0x1d1a57(0x35f)](_0x4db421['UNIVER_DOC']))[_0x1d1a57(0x2fd)](_0x39b035(this[_0x1d1a57(0x39f)]))[_0x1d1a57(0x251)](_0x42ceb7=>{var _0x406023=_0x1d1a57;const _0x48a7e7=_0x42ceb7[_0x406023(0x4c2)](),_0x475e08=this['_entities']['get'](_0x48a7e7);_0x475e08&&(_0x475e08[_0x406023(0x211)](),this['_entities'][_0x406023(0x284)](_0x48a7e7));});}async[_0xbf377e(0x270)](_0x2d663,_0x4e2cb8){var _0x13d2f2=_0xbf377e;const _0x4d00ce=await this[_0x13d2f2(0x49f)]['requireSession'](_0x2d663),_0x297e8c=this[_0x13d2f2(0x223)][_0x13d2f2(0x488)](this['_getCtorByUniverType'](_0x4e2cb8),_0x2d663,_0x4e2cb8,_0x4d00ce);return await _0x297e8c[_0x13d2f2(0x2ef)](),this[_0x13d2f2(0x2b9)][_0x13d2f2(0x233)](_0x297e8c),_0x297e8c;}[_0xbf377e(0x20a)](_0x951a71){var _0x5a5b77=_0xbf377e;switch(_0x951a71){case Z['UNIVER_DOC']:return St;case Z[_0x5a5b77(0x229)]:return Et;default:throw new Error(_0x5a5b77(0x2aa)+_0x951a71);}}};nt=Js([Be(0x0,_0x1c582e(_0x268804)),Be(0x1,_0x1c582e(Pe)),Be(0x2,_0xe9c879),Be(0x3,_0x8ffa5d)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x4479eb,_0x5c3a32,_0x232044,_0xee319d)=>{var _0x10e309=_0xbf377e;for(var _0x370074=_0xee319d>0x1?void 0x0:_0xee319d?Xs(_0x5c3a32,_0x232044):_0x5c3a32,_0xa351d2=_0x4479eb[_0x10e309(0x234)]-0x1,_0x55cf4e;_0xa351d2>=0x0;_0xa351d2--)(_0x55cf4e=_0x4479eb[_0xa351d2])&&(_0x370074=_0x55cf4e(_0x370074)||_0x370074);return _0x370074;},Yt=(_0x11adb4,_0x45f648)=>(_0x111d44,_0x1c9034)=>_0x45f648(_0x111d44,_0x1c9034,_0x11adb4);const Qs=_0xbf377e(0x438),en='Univer';let It=class extends _0x2d6575{constructor(_0x3bf2ef,_0x8a6425){var _0x1b1437=_0xbf377e;super(),this[_0x1b1437(0x268)]=_0x3bf2ef,this[_0x1b1437(0x457)]=_0x8a6425,this[_0x1b1437(0x3bf)]();}[_0xbf377e(0x3bf)](){var _0x5e0ffa=_0xbf377e;this[_0x5e0ffa(0x32e)](this[_0x5e0ffa(0x268)]['focused$'][_0x5e0ffa(0x251)](()=>{var _0x35199a=_0x5e0ffa,_0x470268;const _0x5a0cae=this[_0x35199a(0x268)][_0x35199a(0x44a)]();let _0x447e9d=(_0x470268=this[_0x35199a(0x457)][_0x35199a(0x225)](Qs))!=null?_0x470268:en;_0x5a0cae instanceof _0x34d027&&(_0x447e9d=_0x5a0cae['name']),document['title']=_0x447e9d;}));}};It=Zs([Yt(0x0,_0x8ffa5d),Yt(0x1,_0xe9c879)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x417a5d,_0x3e91ac,_0x44c48f,_0x2de849)=>{var _0x45d3f1=_0xbf377e;for(var _0x48517b=_0x2de849>0x1?void 0x0:_0x2de849?tn(_0x3e91ac,_0x44c48f):_0x3e91ac,_0x4169bd=_0x417a5d[_0x45d3f1(0x234)]-0x1,_0x35f3af;_0x4169bd>=0x0;_0x4169bd--)(_0x35f3af=_0x417a5d[_0x4169bd])&&(_0x48517b=_0x35f3af(_0x48517b)||_0x48517b);return _0x48517b;},dt=(_0x4b8f84,_0x79f71f)=>(_0x2b5cc3,_0x24ad4f)=>_0x79f71f(_0x2b5cc3,_0x24ad4f,_0x4b8f84);let rt=class{constructor(_0x514979,_0x1ea66f,_0x249014){var _0x1d4e84=_0xbf377e;this[_0x1d4e84(0x457)]=_0x514979,this[_0x1d4e84(0x367)]=_0x1ea66f,this[_0x1d4e84(0x4b2)]=_0x249014,this[_0x1d4e84(0x2ef)]();}[_0xbf377e(0x2ef)](){var _0x434e6c=_0xbf377e;this[_0x434e6c(0x367)][_0x434e6c(0x4c1)]({'priority':0x1,'interceptor':(_0x4b430f,_0x56fe21)=>_0x56fe21(_0x4b430f)[_0x434e6c(0x2fd)](_0x10f916(async _0x29f621=>{var _0x1b6643=_0x434e6c;const _0x41ac52=_0x29f621;if(_0x41ac52[_0x1b6643(0x398)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x1b6643(0x4b2)]['t'](_0x1b6643(0x413)))){const _0x110741=window[_0x1b6643(0x39b)](window[_0x1b6643(0x295)][_0x1b6643(0x45b)]);window[_0x1b6643(0x295)][_0x1b6643(0x45b)]=this[_0x1b6643(0x202)]()+'?url='+_0x110741;}}return _0x41ac52;}))});}[_0xbf377e(0x202)](){var _0x467c24=_0xbf377e,_0x3ff38d;const _0x2936fb=this[_0x467c24(0x457)][_0x467c24(0x225)](K);return(_0x3ff38d=_0x2936fb==null?void 0x0:_0x2936fb[_0x467c24(0x2ae)])!=null?_0x3ff38d:Rs;}};rt=sn([dt(0x0,_0xe9c879),dt(0x1,_0x1c582e(_0x44ae9d)),dt(0x2,_0x1c582e(_0x213c64))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x34f3b8,_0x2a0325,_0x282fff,_0x1b2b74)=>{var _0x2d105e=_0xbf377e;for(var _0x3af798=_0x1b2b74>0x1?void 0x0:_0x1b2b74?nn(_0x2a0325,_0x282fff):_0x2a0325,_0x3222dc=_0x34f3b8[_0x2d105e(0x234)]-0x1,_0x282d44;_0x3222dc>=0x0;_0x3222dc--)(_0x282d44=_0x34f3b8[_0x3222dc])&&(_0x3af798=_0x282d44(_0x3af798)||_0x3af798);return _0x3af798;},Kt=(_0x543b20,_0x380d30)=>(_0x5755a2,_0x267026)=>_0x380d30(_0x5755a2,_0x267026,_0x543b20);const an=_0xbf377e(0x2cb);let Tt=class extends _0x2d6575{constructor(_0xa3d685,_0x3cd3e6){var _0x566a2b=_0xbf377e;super(),this[_0x566a2b(0x27d)]=_0xa3d685,this[_0x566a2b(0x457)]=_0x3cd3e6,this[_0x566a2b(0x256)]();}['_initMergeInterceptor'](){var _0x277404=_0xbf377e;const _0x3b7343=this;this['disposeWithMe'](this['_HTTPService'][_0x277404(0x4c1)]({'priority':0x3e7,'interceptor':_0x2e637b({'isMatch'(_0x3eedac){var _0x5c9492=_0x277404,_0x50c0b6;if(_0x3eedac[_0x5c9492(0x354)]===_0x5c9492(0x49d)&&((_0x50c0b6=_0x3eedac[_0x5c9492(0x461)])!=null&&_0x50c0b6[_0x5c9492(0x3a2)])){const {objectID:_0x378b16,objectType:_0x2d54c6}=_0x3eedac[_0x5c9492(0x461)][_0x5c9492(0x3a2)]||{};if(!_0x378b16||_0x2d54c6===void 0x0)return!0x1;const _0x40ff3e=_0x3b7343[_0x5c9492(0x49b)]()+'/'+_0x2d54c6+_0x5c9492(0x3c3)+_0x378b16+_0x5c9492(0x364);if(_0x3eedac[_0x5c9492(0x492)]===_0x40ff3e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4e033e){var _0x390d5a=_0x277404,_0x4014b8;return(_0x4014b8=_0x4e033e[_0x390d5a(0x461)])==null?void 0x0:_0x4014b8[_0x390d5a(0x3a2)];},'mergeParamsToRequest'(_0x3ac9df,_0x12890f){var _0x21c228=_0x277404;const _0x23144b=_0x3b7343[_0x21c228(0x49b)]()+_0x21c228(0x376),_0x421172=_0x3ac9df[_0x21c228(0x226)]((_0x1057f3,_0x215a80)=>{var _0x5d0ac2=_0x21c228;const {unitID:_0x4b2f4d,objectID:_0x1cdb72,objectType:_0x548775,actions:_0x759c29}=_0x215a80;return _0x1057f3[_0x4b2f4d]||(_0x1057f3[_0x4b2f4d]={}),_0x1057f3[_0x4b2f4d][_0x1cdb72]||(_0x1057f3[_0x4b2f4d][_0x1cdb72]={'objectID':_0x1cdb72,'objectType':_0x548775,'actions':[]}),_0x1057f3[_0x4b2f4d][_0x1cdb72][_0x5d0ac2(0x350)][_0x5d0ac2(0x403)](..._0x759c29),_0x1057f3;},{}),_0x576a58=[];for(const _0x3877ed in _0x421172)for(const _0x242ef4 in _0x421172[_0x3877ed]){const {actions:_0x280cb4,objectType:_0x111d38}=_0x421172[_0x3877ed][_0x242ef4],_0x4a437f=[...new Set(_0x280cb4)];_0x576a58[_0x21c228(0x403)]({'unitID':_0x3877ed,'objectID':_0x242ef4,'objectType':_0x111d38,'actions':_0x4a437f});}return new _0x385b69(_0x21c228(0x49d),_0x23144b,{'headers':_0x12890f[_0x21c228(0x231)],'withCredentials':_0x12890f[_0x21c228(0x4d3)],'responseType':_0x12890f[_0x21c228(0x4dc)],'body':{'requests':_0x576a58}});}},{'distributeResult'(_0x204fc6,_0x85bfdf){var _0x266149=_0x277404;const {objectActions:_0x187d73}=_0x204fc6;return _0x85bfdf[_0x266149(0x422)](_0x1e6a49=>{var _0x55a350=_0x266149;const {unitID:_0x21d007,objectID:_0x17b748,actions:_0x4e474c}=_0x1e6a49,_0x110839=_0x187d73[_0x55a350(0x24c)](_0x5ceaad=>_0x5ceaad[_0x55a350(0x378)]===_0x21d007&&_0x5ceaad['objectID']===_0x17b748),_0x2d34ac=_0x4e474c[_0x55a350(0x422)](_0x1b32ac=>_0x110839==null?void 0x0:_0x110839[_0x55a350(0x350)][_0x55a350(0x24c)](_0x5a67ac=>_0x5a67ac[_0x55a350(0x41f)]===_0x1b32ac))[_0x55a350(0x2e7)](_0x5a0cbc=>!!_0x5a0cbc);return{'config':_0x1e6a49,'result':{'actions':_0x2d34ac,'error':_0x204fc6[_0x55a350(0x215)]}};});}})}));}[_0xbf377e(0x49b)](){var _0x3dd6d4=_0xbf377e,_0x17ba1f;const _0x1fb69f=this['_configService'][_0x3dd6d4(0x225)](K);return(_0x17ba1f=_0x1fb69f==null?void 0x0:_0x1fb69f[_0x3dd6d4(0x2b6)])!=null?_0x17ba1f:an;}async[_0xbf377e(0x22b)](_0x2c7865){var _0x10a467=_0xbf377e;const _0x50e2aa=this[_0x10a467(0x49b)]()+'/'+_0x2c7865[_0x10a467(0x2ea)]+_0x10a467(0x3d2);return(await this['_HTTPService'][_0x10a467(0x459)](_0x50e2aa,{'body':_0x2c7865}))[_0x10a467(0x3a2)][_0x10a467(0x3f6)]||'';}async[_0xbf377e(0x1fa)](_0x2d8ac1){var _0x464212=_0xbf377e;const _0x164af6=this[_0x464212(0x49b)]()+_0x464212(0x286);return(await this[_0x464212(0x27d)][_0x464212(0x459)](_0x164af6,{'body':_0x2d8ac1}))['body'][_0x464212(0x3f3)];}async[_0xbf377e(0x26b)](_0x505ff9){var _0x1d8c86=_0xbf377e,_0x7373cd,_0x14cd42;const _0x1d40e7=this['_getAPIPrefixPath']()+'/'+_0x505ff9[_0x1d8c86(0x2ea)]+_0x1d8c86(0x3c3)+_0x505ff9[_0x1d8c86(0x3f6)],_0x139b91=await this[_0x1d8c86(0x27d)]['put'](_0x1d40e7,{'body':_0x505ff9});if(((_0x14cd42=(_0x7373cd=_0x139b91==null?void 0x0:_0x139b91['body'])==null?void 0x0:_0x7373cd[_0x1d8c86(0x215)])==null?void 0x0:_0x14cd42[_0x1d8c86(0x3f4)])!==0x1)throw new Error(_0x1d8c86(0x404));}async[_0xbf377e(0x2f9)](_0x31655a){var _0xeca05d=_0xbf377e;const _0x5e55a0=this['_getAPIPrefixPath']()+'/'+_0x31655a[_0xeca05d(0x2ea)]+'/object/'+_0x31655a['objectID']+_0xeca05d(0x364);return(await this[_0xeca05d(0x27d)][_0xeca05d(0x459)](_0x5e55a0,{'body':_0x31655a}))['body'][_0xeca05d(0x350)];}async['batchAllowed'](_0x1f4ef5){var _0x866049=_0xbf377e;const _0x5540fe=this[_0x866049(0x49b)]()+_0x866049(0x376);return(await this[_0x866049(0x27d)]['post'](_0x5540fe,{'body':{'requests':_0x1f4ef5}}))[_0x866049(0x3a2)]['objectActions'];}async[_0xbf377e(0x35b)](_0x3949c7){var _0x210860=_0xbf377e;const _0x3d1b31=this[_0x210860(0x49b)]()+'/'+_0x3949c7[_0x210860(0x2ea)]+'/role',_0x3d1ac1=await this[_0x210860(0x27d)]['post'](_0x3d1b31,{'body':_0x3949c7});return{'roles':_0x3d1ac1[_0x210860(0x3a2)][_0x210860(0x307)],'actions':_0x3d1ac1[_0x210860(0x3a2)][_0x210860(0x350)]};}async[_0xbf377e(0x31c)](_0x3b3770){var _0x62417d=_0xbf377e;const _0x40f641=this[_0x62417d(0x49b)]()+_0x62417d(0x20c);await this[_0x62417d(0x27d)][_0x62417d(0x284)](_0x40f641,{'params':{'collaboratorID':_0x3b3770['collaboratorID'],'objectID':_0x3b3770['objectID'],'unitID':_0x3b3770[_0x62417d(0x378)]}});}async[_0xbf377e(0x33e)](_0x19bece){var _0x182b95=_0xbf377e;const _0x1f9fc8=this[_0x182b95(0x49b)]()+'/collaborator';await this['_HTTPService']['patch'](_0x1f9fc8,{'body':_0x19bece});}async[_0xbf377e(0x4cb)](_0x174782){var _0x34fdc5=_0xbf377e;const _0x216e4a=this[_0x34fdc5(0x49b)]()+_0x34fdc5(0x20c);await this['_HTTPService'][_0x34fdc5(0x459)](_0x216e4a,{'body':_0x174782});}async[_0xbf377e(0x41e)](_0x1a67f1){var _0x7f32c9=_0xbf377e;const _0x598a6d=this[_0x7f32c9(0x49b)]()+_0x7f32c9(0x20c);return(await this[_0x7f32c9(0x27d)][_0x7f32c9(0x4e3)](_0x598a6d,{'params':{'objectID':_0x1a67f1[_0x7f32c9(0x3f6)],'unitID':_0x1a67f1[_0x7f32c9(0x378)]}}))[_0x7f32c9(0x3a2)][_0x7f32c9(0x31f)];}async[_0xbf377e(0x430)](_0x5ed19b){var _0x9a4017=_0xbf377e;const _0x5ac21f=this[_0x9a4017(0x49b)]()+_0x9a4017(0x20c);await this[_0x9a4017(0x27d)][_0x9a4017(0x44d)](_0x5ac21f,{'body':_0x5ed19b});}};Tt=rn([Kt(0x0,_0x1c582e(_0x44ae9d)),Kt(0x1,_0x1c582e(_0xe9c879))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x16d52e){var _0x4b4cd7=_0xbf377e;return _0x16d52e&&_0x16d52e['__esModule']&&Object[_0x4b4cd7(0x331)][_0x4b4cd7(0x2b1)]['call'](_0x16d52e,_0x4b4cd7(0x2db))?_0x16d52e[_0x4b4cd7(0x2db)]:_0x16d52e;}var Ve={'exports':{}};function on(_0x4fbc87){var _0xa12a5e=_0xbf377e;throw new Error(_0xa12a5e(0x28c)+_0x4fbc87+_0xa12a5e(0x24f));}var We={'exports':{}},cn=We[_0xbf377e(0x4a7)],qt;function te(){var _0x5e4a2a=_0xbf377e;return qt||(qt=0x1,function(_0x4c5ada,_0x55a0c3){(function(_0x224ccb,_0x563988){_0x4c5ada['exports']=_0x563988();}(cn,function(){var _0x4706e3=_0x4706e3||function(_0x4af235,_0x24e8e3){var _0xfb5fe0=_0x1cff,_0x1297d8;if(typeof window<'u'&&window[_0xfb5fe0(0x4b9)]&&(_0x1297d8=window[_0xfb5fe0(0x4b9)]),typeof self<'u'&&self[_0xfb5fe0(0x4b9)]&&(_0x1297d8=self[_0xfb5fe0(0x4b9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1297d8=globalThis[_0xfb5fe0(0x4b9)]),!_0x1297d8&&typeof window<'u'&&window[_0xfb5fe0(0x26c)]&&(_0x1297d8=window[_0xfb5fe0(0x26c)]),!_0x1297d8&&typeof ft<'u'&&ft[_0xfb5fe0(0x4b9)]&&(_0x1297d8=ft[_0xfb5fe0(0x4b9)]),!_0x1297d8&&typeof on==_0xfb5fe0(0x442))try{_0x1297d8=require('crypto');}catch{}var _0x3cd39d=function(){var _0x2f7807=_0xfb5fe0;if(_0x1297d8){if(typeof _0x1297d8[_0x2f7807(0x4cd)]==_0x2f7807(0x442))try{return _0x1297d8[_0x2f7807(0x4cd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1297d8[_0x2f7807(0x3cb)]==_0x2f7807(0x442))try{return _0x1297d8[_0x2f7807(0x3cb)](0x4)[_0x2f7807(0x3b9)]();}catch{}}throw new Error(_0x2f7807(0x2f1));},_0x5e70d7=Object[_0xfb5fe0(0x22b)]||(function(){function _0xadb8c9(){}return function(_0x5722f3){var _0x381b94;return _0xadb8c9['prototype']=_0x5722f3,_0x381b94=new _0xadb8c9(),_0xadb8c9['prototype']=null,_0x381b94;};}()),_0x2c1e57={},_0x31e91a=_0x2c1e57[_0xfb5fe0(0x24a)]={},_0x397e8e=_0x31e91a[_0xfb5fe0(0x1f1)]=(function(){return{'extend':function(_0x148620){var _0x43b652=_0x1cff,_0x54f963=_0x5e70d7(this);return _0x148620&&_0x54f963[_0x43b652(0x36f)](_0x148620),(!_0x54f963[_0x43b652(0x2b1)](_0x43b652(0x2ef))||this[_0x43b652(0x2ef)]===_0x54f963['init'])&&(_0x54f963['init']=function(){var _0x4bcda0=_0x43b652;_0x54f963[_0x4bcda0(0x285)][_0x4bcda0(0x2ef)][_0x4bcda0(0x34b)](this,arguments);}),_0x54f963[_0x43b652(0x2ef)][_0x43b652(0x331)]=_0x54f963,_0x54f963[_0x43b652(0x285)]=this,_0x54f963;},'create':function(){var _0x5cc2cd=_0x1cff,_0x1ddb09=this[_0x5cc2cd(0x2ab)]();return _0x1ddb09[_0x5cc2cd(0x2ef)][_0x5cc2cd(0x34b)](_0x1ddb09,arguments),_0x1ddb09;},'init':function(){},'mixIn':function(_0x4a4ac3){var _0x2c47ae=_0x1cff;for(var _0x2c2c18 in _0x4a4ac3)_0x4a4ac3['hasOwnProperty'](_0x2c2c18)&&(this[_0x2c2c18]=_0x4a4ac3[_0x2c2c18]);_0x4a4ac3['hasOwnProperty'](_0x2c47ae(0x345))&&(this[_0x2c47ae(0x345)]=_0x4a4ac3[_0x2c47ae(0x345)]);},'clone':function(){var _0xc74886=_0x1cff;return this[_0xc74886(0x2ef)][_0xc74886(0x331)][_0xc74886(0x2ab)](this);}};}()),_0x2b332f=_0x31e91a['WordArray']=_0x397e8e[_0xfb5fe0(0x2ab)]({'init':function(_0x23a955,_0x1e3980){var _0x5fd1d6=_0xfb5fe0;_0x23a955=this[_0x5fd1d6(0x446)]=_0x23a955||[],_0x1e3980!=_0x24e8e3?this[_0x5fd1d6(0x46d)]=_0x1e3980:this['sigBytes']=_0x23a955[_0x5fd1d6(0x234)]*0x4;},'toString':function(_0x1b62be){var _0x2d1b38=_0xfb5fe0;return(_0x1b62be||_0x1434e2)[_0x2d1b38(0x25e)](this);},'concat':function(_0xabe3fa){var _0x4d926b=_0xfb5fe0,_0x58ca0d=this[_0x4d926b(0x446)],_0x2e9f34=_0xabe3fa[_0x4d926b(0x446)],_0x5817bd=this[_0x4d926b(0x46d)],_0x298b74=_0xabe3fa['sigBytes'];if(this['clamp'](),_0x5817bd%0x4)for(var _0x5af409=0x0;_0x5af409<_0x298b74;_0x5af409++){var _0x3c7400=_0x2e9f34[_0x5af409>>>0x2]>>>0x18-_0x5af409%0x4*0x8&0xff;_0x58ca0d[_0x5817bd+_0x5af409>>>0x2]|=_0x3c7400<<0x18-(_0x5817bd+_0x5af409)%0x4*0x8;}else{for(var _0x2828e2=0x0;_0x2828e2<_0x298b74;_0x2828e2+=0x4)_0x58ca0d[_0x5817bd+_0x2828e2>>>0x2]=_0x2e9f34[_0x2828e2>>>0x2];}return this[_0x4d926b(0x46d)]+=_0x298b74,this;},'clamp':function(){var _0x2ef96b=_0xfb5fe0,_0x2f1c5d=this[_0x2ef96b(0x446)],_0x9881c7=this['sigBytes'];_0x2f1c5d[_0x9881c7>>>0x2]&=0xffffffff<<0x20-_0x9881c7%0x4*0x8,_0x2f1c5d[_0x2ef96b(0x234)]=_0x4af235[_0x2ef96b(0x4e4)](_0x9881c7/0x4);},'clone':function(){var _0x512808=_0xfb5fe0,_0x17605f=_0x397e8e[_0x512808(0x473)]['call'](this);return _0x17605f[_0x512808(0x446)]=this[_0x512808(0x446)][_0x512808(0x3ba)](0x0),_0x17605f;},'random':function(_0x21f14f){var _0x3f3a46=_0xfb5fe0;for(var _0x2271f8=[],_0x49d15c=0x0;_0x49d15c<_0x21f14f;_0x49d15c+=0x4)_0x2271f8[_0x3f3a46(0x403)](_0x3cd39d());return new _0x2b332f['init'](_0x2271f8,_0x21f14f);}}),_0x3d4578=_0x2c1e57[_0xfb5fe0(0x38d)]={},_0x1434e2=_0x3d4578['Hex']={'stringify':function(_0x2ecad0){var _0x4a0e94=_0xfb5fe0;for(var _0x4686a1=_0x2ecad0[_0x4a0e94(0x446)],_0x22891e=_0x2ecad0[_0x4a0e94(0x46d)],_0x2c4859=[],_0x31a068=0x0;_0x31a068<_0x22891e;_0x31a068++){var _0x21225a=_0x4686a1[_0x31a068>>>0x2]>>>0x18-_0x31a068%0x4*0x8&0xff;_0x2c4859[_0x4a0e94(0x403)]((_0x21225a>>>0x4)['toString'](0x10)),_0x2c4859[_0x4a0e94(0x403)]((_0x21225a&0xf)[_0x4a0e94(0x345)](0x10));}return _0x2c4859[_0x4a0e94(0x4e5)]('');},'parse':function(_0x1b73c7){var _0x570a92=_0xfb5fe0;for(var _0x1bdc16=_0x1b73c7[_0x570a92(0x234)],_0x1099f4=[],_0x49ce18=0x0;_0x49ce18<_0x1bdc16;_0x49ce18+=0x2)_0x1099f4[_0x49ce18>>>0x3]|=parseInt(_0x1b73c7['substr'](_0x49ce18,0x2),0x10)<<0x18-_0x49ce18%0x8*0x4;return new _0x2b332f[(_0x570a92(0x2ef))](_0x1099f4,_0x1bdc16/0x2);}},_0x5bc4c6=_0x3d4578[_0xfb5fe0(0x460)]={'stringify':function(_0x580b5f){var _0xdfe45b=_0xfb5fe0;for(var _0x38fb29=_0x580b5f[_0xdfe45b(0x446)],_0x422a60=_0x580b5f[_0xdfe45b(0x46d)],_0x54cfeb=[],_0x4c0da7=0x0;_0x4c0da7<_0x422a60;_0x4c0da7++){var _0x580346=_0x38fb29[_0x4c0da7>>>0x2]>>>0x18-_0x4c0da7%0x4*0x8&0xff;_0x54cfeb[_0xdfe45b(0x403)](String[_0xdfe45b(0x4ac)](_0x580346));}return _0x54cfeb[_0xdfe45b(0x4e5)]('');},'parse':function(_0x4680e3){var _0x177097=_0xfb5fe0;for(var _0x5029c4=_0x4680e3[_0x177097(0x234)],_0x98f6d3=[],_0xed5acd=0x0;_0xed5acd<_0x5029c4;_0xed5acd++)_0x98f6d3[_0xed5acd>>>0x2]|=(_0x4680e3[_0x177097(0x279)](_0xed5acd)&0xff)<<0x18-_0xed5acd%0x4*0x8;return new _0x2b332f[(_0x177097(0x2ef))](_0x98f6d3,_0x5029c4);}},_0x14ad58=_0x3d4578[_0xfb5fe0(0x38f)]={'stringify':function(_0x524132){var _0xe0c095=_0xfb5fe0;try{return decodeURIComponent(escape(_0x5bc4c6[_0xe0c095(0x25e)](_0x524132)));}catch{throw new Error(_0xe0c095(0x254));}},'parse':function(_0x5c58a9){var _0x1be1ff=_0xfb5fe0;return _0x5bc4c6[_0x1be1ff(0x2de)](unescape(encodeURIComponent(_0x5c58a9)));}},_0x1dcbe6=_0x31e91a[_0xfb5fe0(0x43c)]=_0x397e8e[_0xfb5fe0(0x2ab)]({'reset':function(){var _0x1a0070=_0xfb5fe0;this['_data']=new _0x2b332f[(_0x1a0070(0x2ef))](),this['_nDataBytes']=0x0;},'_append':function(_0x575733){var _0x59232d=_0xfb5fe0;typeof _0x575733==_0x59232d(0x40c)&&(_0x575733=_0x14ad58[_0x59232d(0x2de)](_0x575733)),this[_0x59232d(0x49c)][_0x59232d(0x47a)](_0x575733),this[_0x59232d(0x349)]+=_0x575733[_0x59232d(0x46d)];},'_process':function(_0x562d7){var _0x355aa3=_0xfb5fe0,_0x1e5e4d,_0x4131c9=this['_data'],_0x426c20=_0x4131c9[_0x355aa3(0x446)],_0x5ce307=_0x4131c9[_0x355aa3(0x46d)],_0x2a9c38=this[_0x355aa3(0x282)],_0x262ecc=_0x2a9c38*0x4,_0x2c5524=_0x5ce307/_0x262ecc;_0x562d7?_0x2c5524=_0x4af235[_0x355aa3(0x4e4)](_0x2c5524):_0x2c5524=_0x4af235[_0x355aa3(0x31a)]((_0x2c5524|0x0)-this['_minBufferSize'],0x0);var _0x4bb1aa=_0x2c5524*_0x2a9c38,_0x17e549=_0x4af235[_0x355aa3(0x465)](_0x4bb1aa*0x4,_0x5ce307);if(_0x4bb1aa){for(var _0x45e81f=0x0;_0x45e81f<_0x4bb1aa;_0x45e81f+=_0x2a9c38)this['_doProcessBlock'](_0x426c20,_0x45e81f);_0x1e5e4d=_0x426c20[_0x355aa3(0x228)](0x0,_0x4bb1aa),_0x4131c9[_0x355aa3(0x46d)]-=_0x17e549;}return new _0x2b332f[(_0x355aa3(0x2ef))](_0x1e5e4d,_0x17e549);},'clone':function(){var _0x14fe00=_0xfb5fe0,_0x5a43b3=_0x397e8e['clone']['call'](this);return _0x5a43b3[_0x14fe00(0x49c)]=this[_0x14fe00(0x49c)][_0x14fe00(0x473)](),_0x5a43b3;},'_minBufferSize':0x0});_0x31e91a[_0xfb5fe0(0x243)]=_0x1dcbe6[_0xfb5fe0(0x2ab)]({'cfg':_0x397e8e['extend'](),'init':function(_0x3d56d4){var _0x40170c=_0xfb5fe0;this['cfg']=this[_0x40170c(0x4ea)][_0x40170c(0x2ab)](_0x3d56d4),this[_0x40170c(0x31e)]();},'reset':function(){var _0x4531e7=_0xfb5fe0;_0x1dcbe6[_0x4531e7(0x31e)]['call'](this),this[_0x4531e7(0x26d)]();},'update':function(_0x17aa2e){var _0x42e96b=_0xfb5fe0;return this[_0x42e96b(0x3ec)](_0x17aa2e),this[_0x42e96b(0x4b4)](),this;},'finalize':function(_0x1a6452){var _0x4ea3fc=_0xfb5fe0;_0x1a6452&&this['_append'](_0x1a6452);var _0x5daa38=this[_0x4ea3fc(0x375)]();return _0x5daa38;},'blockSize':0x10,'_createHelper':function(_0x320b0e){return function(_0x34fed2,_0x2156ed){var _0x2a7593=_0x1cff;return new _0x320b0e[(_0x2a7593(0x2ef))](_0x2156ed)[_0x2a7593(0x346)](_0x34fed2);};},'_createHmacHelper':function(_0x337e55){return function(_0x172e04,_0x2716a9){var _0x137227=_0x1cff;return new _0x3f1615[(_0x137227(0x2d5))]['init'](_0x337e55,_0x2716a9)[_0x137227(0x346)](_0x172e04);};}});var _0x3f1615=_0x2c1e57[_0xfb5fe0(0x358)]={};return _0x2c1e57;}(Math);return _0x4706e3;}));}(We)),We[_0x5e4a2a(0x4a7)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){return zt||(zt=0x1,function(_0x5020e4,_0x4cb3ca){(function(_0x543b2e,_0x28e5bc){var _0x1e0710=_0x1cff;_0x5020e4[_0x1e0710(0x4a7)]=_0x28e5bc(te());}(hn,function(_0x1634bc){var _0x29462e=_0x1cff;return(function(){var _0x4cc8ce=_0x1cff,_0x389ba9=_0x1634bc,_0x2e576e=_0x389ba9[_0x4cc8ce(0x24a)],_0x41fce3=_0x2e576e[_0x4cc8ce(0x327)],_0xc0843d=_0x389ba9[_0x4cc8ce(0x38d)];_0xc0843d[_0x4cc8ce(0x274)]={'stringify':function(_0x3987ed){var _0x1912dc=_0x4cc8ce,_0x1215b8=_0x3987ed[_0x1912dc(0x446)],_0x5927df=_0x3987ed[_0x1912dc(0x46d)],_0xa1d816=this[_0x1912dc(0x21e)];_0x3987ed[_0x1912dc(0x3b0)]();for(var _0x5acf28=[],_0x589750=0x0;_0x589750<_0x5927df;_0x589750+=0x3)for(var _0x57c6e1=_0x1215b8[_0x589750>>>0x2]>>>0x18-_0x589750%0x4*0x8&0xff,_0x5758fd=_0x1215b8[_0x589750+0x1>>>0x2]>>>0x18-(_0x589750+0x1)%0x4*0x8&0xff,_0x301525=_0x1215b8[_0x589750+0x2>>>0x2]>>>0x18-(_0x589750+0x2)%0x4*0x8&0xff,_0x3fa9d0=_0x57c6e1<<0x10|_0x5758fd<<0x8|_0x301525,_0x1cc4e2=0x0;_0x1cc4e2<0x4&&_0x589750+_0x1cc4e2*0.75<_0x5927df;_0x1cc4e2++)_0x5acf28[_0x1912dc(0x403)](_0xa1d816[_0x1912dc(0x2ac)](_0x3fa9d0>>>0x6*(0x3-_0x1cc4e2)&0x3f));var _0x199e87=_0xa1d816[_0x1912dc(0x2ac)](0x40);if(_0x199e87){for(;_0x5acf28[_0x1912dc(0x234)]%0x4;)_0x5acf28[_0x1912dc(0x403)](_0x199e87);}return _0x5acf28[_0x1912dc(0x4e5)]('');},'parse':function(_0x24e4db){var _0x5eab62=_0x4cc8ce,_0x8a9d61=_0x24e4db[_0x5eab62(0x234)],_0x1a1a36=this[_0x5eab62(0x21e)],_0x1e3fc7=this['_reverseMap'];if(!_0x1e3fc7){_0x1e3fc7=this[_0x5eab62(0x23c)]=[];for(var _0x1e0054=0x0;_0x1e0054<_0x1a1a36[_0x5eab62(0x234)];_0x1e0054++)_0x1e3fc7[_0x1a1a36[_0x5eab62(0x279)](_0x1e0054)]=_0x1e0054;}var _0xbbdbf8=_0x1a1a36[_0x5eab62(0x2ac)](0x40);if(_0xbbdbf8){var _0x8a355=_0x24e4db[_0x5eab62(0x1fb)](_0xbbdbf8);_0x8a355!==-0x1&&(_0x8a9d61=_0x8a355);}return _0x23d012(_0x24e4db,_0x8a9d61,_0x1e3fc7);},'_map':_0x4cc8ce(0x257)};function _0x23d012(_0xd478f1,_0x2d54e6,_0x5d616c){var _0x4c20aa=_0x4cc8ce;for(var _0x5dbbb1=[],_0x138f53=0x0,_0xeb4378=0x0;_0xeb4378<_0x2d54e6;_0xeb4378++)if(_0xeb4378%0x4){var _0x3fe65e=_0x5d616c[_0xd478f1[_0x4c20aa(0x279)](_0xeb4378-0x1)]<<_0xeb4378%0x4*0x2,_0x3ba6c9=_0x5d616c[_0xd478f1[_0x4c20aa(0x279)](_0xeb4378)]>>>0x6-_0xeb4378%0x4*0x2,_0x5c4b44=_0x3fe65e|_0x3ba6c9;_0x5dbbb1[_0x138f53>>>0x2]|=_0x5c4b44<<0x18-_0x138f53%0x4*0x8,_0x138f53++;}return _0x41fce3[_0x4c20aa(0x22b)](_0x5dbbb1,_0x138f53);}}()),_0x1634bc[_0x29462e(0x38d)][_0x29462e(0x274)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0xbf377e(0x4a7)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x19199a,_0x36c7b0){(function(_0x41fd03,_0x2a3bb5){_0x19199a['exports']=_0x2a3bb5(te());}(_n,function(_0x5c1944){return function(_0x520b85){var _0x1d911a=_0x1cff,_0x57476f=_0x5c1944,_0x3b3158=_0x57476f[_0x1d911a(0x24a)],_0x518326=_0x3b3158['WordArray'],_0x5e2166=_0x3b3158[_0x1d911a(0x243)],_0x226875=_0x57476f['algo'],_0x34200e=[];(function(){var _0x5d1d5d=_0x1d911a;for(var _0x1ed30a=0x0;_0x1ed30a<0x40;_0x1ed30a++)_0x34200e[_0x1ed30a]=_0x520b85['abs'](_0x520b85[_0x5d1d5d(0x200)](_0x1ed30a+0x1))*0x100000000|0x0;}());var _0x1d2fe9=_0x226875['MD5']=_0x5e2166[_0x1d911a(0x2ab)]({'_doReset':function(){var _0x110ca3=_0x1d911a;this[_0x110ca3(0x1f9)]=new _0x518326[(_0x110ca3(0x2ef))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f6f96,_0x371c34){var _0x16aedd=_0x1d911a;for(var _0x18d081=0x0;_0x18d081<0x10;_0x18d081++){var _0x2b454c=_0x371c34+_0x18d081,_0x45a020=_0x2f6f96[_0x2b454c];_0x2f6f96[_0x2b454c]=(_0x45a020<<0x8|_0x45a020>>>0x18)&0xff00ff|(_0x45a020<<0x18|_0x45a020>>>0x8)&0xff00ff00;}var _0x5602b1=this[_0x16aedd(0x1f9)][_0x16aedd(0x446)],_0x34c779=_0x2f6f96[_0x371c34+0x0],_0x3300e9=_0x2f6f96[_0x371c34+0x1],_0x9dca39=_0x2f6f96[_0x371c34+0x2],_0xe87036=_0x2f6f96[_0x371c34+0x3],_0x592f03=_0x2f6f96[_0x371c34+0x4],_0x16f066=_0x2f6f96[_0x371c34+0x5],_0x3e51a3=_0x2f6f96[_0x371c34+0x6],_0x6e69b9=_0x2f6f96[_0x371c34+0x7],_0x38a29e=_0x2f6f96[_0x371c34+0x8],_0x225379=_0x2f6f96[_0x371c34+0x9],_0x3152d6=_0x2f6f96[_0x371c34+0xa],_0x28eee7=_0x2f6f96[_0x371c34+0xb],_0x3bf913=_0x2f6f96[_0x371c34+0xc],_0x43c327=_0x2f6f96[_0x371c34+0xd],_0x564972=_0x2f6f96[_0x371c34+0xe],_0x3436cf=_0x2f6f96[_0x371c34+0xf],_0x570c97=_0x5602b1[0x0],_0x4256fc=_0x5602b1[0x1],_0x3c9ac6=_0x5602b1[0x2],_0x30ff68=_0x5602b1[0x3];_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x34c779,0x7,_0x34200e[0x0]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3300e9,0xc,_0x34200e[0x1]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x9dca39,0x11,_0x34200e[0x2]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0xe87036,0x16,_0x34200e[0x3]),_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x592f03,0x7,_0x34200e[0x4]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x16f066,0xc,_0x34200e[0x5]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3e51a3,0x11,_0x34200e[0x6]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x6e69b9,0x16,_0x34200e[0x7]),_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x38a29e,0x7,_0x34200e[0x8]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x225379,0xc,_0x34200e[0x9]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3152d6,0x11,_0x34200e[0xa]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x28eee7,0x16,_0x34200e[0xb]),_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3bf913,0x7,_0x34200e[0xc]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x43c327,0xc,_0x34200e[0xd]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x564972,0x11,_0x34200e[0xe]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3436cf,0x16,_0x34200e[0xf]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3300e9,0x5,_0x34200e[0x10]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3e51a3,0x9,_0x34200e[0x11]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x28eee7,0xe,_0x34200e[0x12]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x34c779,0x14,_0x34200e[0x13]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x16f066,0x5,_0x34200e[0x14]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3152d6,0x9,_0x34200e[0x15]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3436cf,0xe,_0x34200e[0x16]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x592f03,0x14,_0x34200e[0x17]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x225379,0x5,_0x34200e[0x18]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x564972,0x9,_0x34200e[0x19]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0xe87036,0xe,_0x34200e[0x1a]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x38a29e,0x14,_0x34200e[0x1b]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x43c327,0x5,_0x34200e[0x1c]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x9dca39,0x9,_0x34200e[0x1d]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x6e69b9,0xe,_0x34200e[0x1e]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3bf913,0x14,_0x34200e[0x1f]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x16f066,0x4,_0x34200e[0x20]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x38a29e,0xb,_0x34200e[0x21]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x28eee7,0x10,_0x34200e[0x22]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x564972,0x17,_0x34200e[0x23]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3300e9,0x4,_0x34200e[0x24]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x592f03,0xb,_0x34200e[0x25]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x6e69b9,0x10,_0x34200e[0x26]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3152d6,0x17,_0x34200e[0x27]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x43c327,0x4,_0x34200e[0x28]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x34c779,0xb,_0x34200e[0x29]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0xe87036,0x10,_0x34200e[0x2a]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3e51a3,0x17,_0x34200e[0x2b]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x225379,0x4,_0x34200e[0x2c]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3bf913,0xb,_0x34200e[0x2d]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3436cf,0x10,_0x34200e[0x2e]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x9dca39,0x17,_0x34200e[0x2f]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x34c779,0x6,_0x34200e[0x30]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x6e69b9,0xa,_0x34200e[0x31]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x564972,0xf,_0x34200e[0x32]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x16f066,0x15,_0x34200e[0x33]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3bf913,0x6,_0x34200e[0x34]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0xe87036,0xa,_0x34200e[0x35]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3152d6,0xf,_0x34200e[0x36]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3300e9,0x15,_0x34200e[0x37]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x38a29e,0x6,_0x34200e[0x38]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3436cf,0xa,_0x34200e[0x39]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3e51a3,0xf,_0x34200e[0x3a]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x43c327,0x15,_0x34200e[0x3b]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x592f03,0x6,_0x34200e[0x3c]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x28eee7,0xa,_0x34200e[0x3d]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x9dca39,0xf,_0x34200e[0x3e]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x225379,0x15,_0x34200e[0x3f]),_0x5602b1[0x0]=_0x5602b1[0x0]+_0x570c97|0x0,_0x5602b1[0x1]=_0x5602b1[0x1]+_0x4256fc|0x0,_0x5602b1[0x2]=_0x5602b1[0x2]+_0x3c9ac6|0x0,_0x5602b1[0x3]=_0x5602b1[0x3]+_0x30ff68|0x0;},'_doFinalize':function(){var _0x1386b7=_0x1d911a,_0x51254d=this[_0x1386b7(0x49c)],_0x23875a=_0x51254d['words'],_0x5f2c33=this[_0x1386b7(0x349)]*0x8,_0x334b75=_0x51254d[_0x1386b7(0x46d)]*0x8;_0x23875a[_0x334b75>>>0x5]|=0x80<<0x18-_0x334b75%0x20;var _0x10ffa6=_0x520b85[_0x1386b7(0x43e)](_0x5f2c33/0x100000000),_0x25a7df=_0x5f2c33;_0x23875a[(_0x334b75+0x40>>>0x9<<0x4)+0xf]=(_0x10ffa6<<0x8|_0x10ffa6>>>0x18)&0xff00ff|(_0x10ffa6<<0x18|_0x10ffa6>>>0x8)&0xff00ff00,_0x23875a[(_0x334b75+0x40>>>0x9<<0x4)+0xe]=(_0x25a7df<<0x8|_0x25a7df>>>0x18)&0xff00ff|(_0x25a7df<<0x18|_0x25a7df>>>0x8)&0xff00ff00,_0x51254d[_0x1386b7(0x46d)]=(_0x23875a[_0x1386b7(0x234)]+0x1)*0x4,this[_0x1386b7(0x4b4)]();for(var _0x3277ef=this[_0x1386b7(0x1f9)],_0x317dd4=_0x3277ef['words'],_0x25dae8=0x0;_0x25dae8<0x4;_0x25dae8++){var _0x282e3d=_0x317dd4[_0x25dae8];_0x317dd4[_0x25dae8]=(_0x282e3d<<0x8|_0x282e3d>>>0x18)&0xff00ff|(_0x282e3d<<0x18|_0x282e3d>>>0x8)&0xff00ff00;}return _0x3277ef;},'clone':function(){var _0x129c5a=_0x1d911a,_0x5107b6=_0x5e2166[_0x129c5a(0x473)]['call'](this);return _0x5107b6[_0x129c5a(0x1f9)]=this[_0x129c5a(0x1f9)]['clone'](),_0x5107b6;}});function _0x4eb628(_0x17eeb8,_0x57016e,_0x43503f,_0xbfab4c,_0x280c6f,_0xe8e2e2,_0x53b049){var _0x4811b2=_0x17eeb8+(_0x57016e&_0x43503f|~_0x57016e&_0xbfab4c)+_0x280c6f+_0x53b049;return(_0x4811b2<<_0xe8e2e2|_0x4811b2>>>0x20-_0xe8e2e2)+_0x57016e;}function _0x1a54fe(_0x279041,_0x426283,_0x3ee49d,_0x114b68,_0x1d1a04,_0x5ee19f,_0x1c2e5d){var _0x53f313=_0x279041+(_0x426283&_0x114b68|_0x3ee49d&~_0x114b68)+_0x1d1a04+_0x1c2e5d;return(_0x53f313<<_0x5ee19f|_0x53f313>>>0x20-_0x5ee19f)+_0x426283;}function _0x5f2ad8(_0x437989,_0x5eca73,_0x57c61d,_0xc8a6d,_0x12f07c,_0x25a622,_0x68b6a){var _0x5d9f9b=_0x437989+(_0x5eca73^_0x57c61d^_0xc8a6d)+_0x12f07c+_0x68b6a;return(_0x5d9f9b<<_0x25a622|_0x5d9f9b>>>0x20-_0x25a622)+_0x5eca73;}function _0x325c05(_0x5826e0,_0x243204,_0x3bdde3,_0x2b9b86,_0x46f005,_0x11506e,_0x45ec60){var _0x11547c=_0x5826e0+(_0x3bdde3^(_0x243204|~_0x2b9b86))+_0x46f005+_0x45ec60;return(_0x11547c<<_0x11506e|_0x11547c>>>0x20-_0x11506e)+_0x243204;}_0x57476f[_0x1d911a(0x328)]=_0x5e2166['_createHelper'](_0x1d2fe9),_0x57476f['HmacMD5']=_0x5e2166[_0x1d911a(0x4a5)](_0x1d2fe9);}(Math),_0x5c1944['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0xa23d95=_0xbf377e;return Xt||(Xt=0x1,function(_0x12e021,_0x2a642f){(function(_0x2f557f,_0x1a7890){var _0x3901b6=_0x1cff;_0x12e021[_0x3901b6(0x4a7)]=_0x1a7890(te());}(un,function(_0x377590){var _0x71c0cc=_0x1cff;return(function(){var _0x36164e=_0x1cff,_0x2ff595=_0x377590,_0x4ce4b9=_0x2ff595['lib'],_0x522808=_0x4ce4b9[_0x36164e(0x327)],_0xcffc87=_0x4ce4b9[_0x36164e(0x243)],_0x15d5d6=_0x2ff595[_0x36164e(0x358)],_0x5f1f12=[],_0x2550e9=_0x15d5d6[_0x36164e(0x3c7)]=_0xcffc87[_0x36164e(0x2ab)]({'_doReset':function(){var _0x318ace=_0x36164e;this[_0x318ace(0x1f9)]=new _0x522808[(_0x318ace(0x2ef))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x216317,_0x32bdb3){var _0x49e7d2=_0x36164e;for(var _0x2664d2=this[_0x49e7d2(0x1f9)][_0x49e7d2(0x446)],_0xd2d275=_0x2664d2[0x0],_0x2d7ba4=_0x2664d2[0x1],_0x1b5542=_0x2664d2[0x2],_0x79676d=_0x2664d2[0x3],_0x317072=_0x2664d2[0x4],_0x2aea2d=0x0;_0x2aea2d<0x50;_0x2aea2d++){if(_0x2aea2d<0x10)_0x5f1f12[_0x2aea2d]=_0x216317[_0x32bdb3+_0x2aea2d]|0x0;else{var _0x358261=_0x5f1f12[_0x2aea2d-0x3]^_0x5f1f12[_0x2aea2d-0x8]^_0x5f1f12[_0x2aea2d-0xe]^_0x5f1f12[_0x2aea2d-0x10];_0x5f1f12[_0x2aea2d]=_0x358261<<0x1|_0x358261>>>0x1f;}var _0x2060d7=(_0xd2d275<<0x5|_0xd2d275>>>0x1b)+_0x317072+_0x5f1f12[_0x2aea2d];_0x2aea2d<0x14?_0x2060d7+=(_0x2d7ba4&_0x1b5542|~_0x2d7ba4&_0x79676d)+0x5a827999:_0x2aea2d<0x28?_0x2060d7+=(_0x2d7ba4^_0x1b5542^_0x79676d)+0x6ed9eba1:_0x2aea2d<0x3c?_0x2060d7+=(_0x2d7ba4&_0x1b5542|_0x2d7ba4&_0x79676d|_0x1b5542&_0x79676d)-0x70e44324:_0x2060d7+=(_0x2d7ba4^_0x1b5542^_0x79676d)-0x359d3e2a,_0x317072=_0x79676d,_0x79676d=_0x1b5542,_0x1b5542=_0x2d7ba4<<0x1e|_0x2d7ba4>>>0x2,_0x2d7ba4=_0xd2d275,_0xd2d275=_0x2060d7;}_0x2664d2[0x0]=_0x2664d2[0x0]+_0xd2d275|0x0,_0x2664d2[0x1]=_0x2664d2[0x1]+_0x2d7ba4|0x0,_0x2664d2[0x2]=_0x2664d2[0x2]+_0x1b5542|0x0,_0x2664d2[0x3]=_0x2664d2[0x3]+_0x79676d|0x0,_0x2664d2[0x4]=_0x2664d2[0x4]+_0x317072|0x0;},'_doFinalize':function(){var _0x1ff360=_0x36164e,_0xb911af=this['_data'],_0x5afc7e=_0xb911af[_0x1ff360(0x446)],_0x4a309b=this['_nDataBytes']*0x8,_0x2344e2=_0xb911af[_0x1ff360(0x46d)]*0x8;return _0x5afc7e[_0x2344e2>>>0x5]|=0x80<<0x18-_0x2344e2%0x20,_0x5afc7e[(_0x2344e2+0x40>>>0x9<<0x4)+0xe]=Math[_0x1ff360(0x43e)](_0x4a309b/0x100000000),_0x5afc7e[(_0x2344e2+0x40>>>0x9<<0x4)+0xf]=_0x4a309b,_0xb911af[_0x1ff360(0x46d)]=_0x5afc7e['length']*0x4,this['_process'](),this[_0x1ff360(0x1f9)];},'clone':function(){var _0x5844ad=_0x36164e,_0x1f9c05=_0xcffc87[_0x5844ad(0x473)][_0x5844ad(0x341)](this);return _0x1f9c05['_hash']=this[_0x5844ad(0x1f9)][_0x5844ad(0x473)](),_0x1f9c05;}});_0x2ff595[_0x36164e(0x3c7)]=_0xcffc87[_0x36164e(0x4f4)](_0x2550e9),_0x2ff595[_0x36164e(0x45a)]=_0xcffc87[_0x36164e(0x4a5)](_0x2550e9);}()),_0x377590[_0x71c0cc(0x3c7)];}));}(qe)),qe[_0xa23d95(0x4a7)];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x3f4f17=_0xbf377e;return Zt||(Zt=0x1,function(_0x4ed791,_0x382b74){(function(_0x3058c4,_0x38d660){var _0x542875=_0x1cff;_0x4ed791[_0x542875(0x4a7)]=_0x38d660(te());}(fn,function(_0x3a420e){(function(){var _0x2ec31e=_0x1cff,_0x4d3a69=_0x3a420e,_0x17313f=_0x4d3a69[_0x2ec31e(0x24a)],_0x51bbb7=_0x17313f[_0x2ec31e(0x1f1)],_0x2e0256=_0x4d3a69[_0x2ec31e(0x38d)],_0xd1b8bb=_0x2e0256[_0x2ec31e(0x38f)],_0x55dfca=_0x4d3a69[_0x2ec31e(0x358)];_0x55dfca['HMAC']=_0x51bbb7['extend']({'init':function(_0x9fd404,_0x56d224){var _0x129083=_0x2ec31e;_0x9fd404=this['_hasher']=new _0x9fd404[(_0x129083(0x2ef))](),typeof _0x56d224==_0x129083(0x40c)&&(_0x56d224=_0xd1b8bb[_0x129083(0x2de)](_0x56d224));var _0x35b4e1=_0x9fd404['blockSize'],_0x512cc3=_0x35b4e1*0x4;_0x56d224[_0x129083(0x46d)]>_0x512cc3&&(_0x56d224=_0x9fd404[_0x129083(0x346)](_0x56d224)),_0x56d224['clamp']();for(var _0x4e8b92=this[_0x129083(0x258)]=_0x56d224[_0x129083(0x473)](),_0x5d86ad=this[_0x129083(0x301)]=_0x56d224[_0x129083(0x473)](),_0x3a42de=_0x4e8b92[_0x129083(0x446)],_0x2740c5=_0x5d86ad[_0x129083(0x446)],_0x192a95=0x0;_0x192a95<_0x35b4e1;_0x192a95++)_0x3a42de[_0x192a95]^=0x5c5c5c5c,_0x2740c5[_0x192a95]^=0x36363636;_0x4e8b92[_0x129083(0x46d)]=_0x5d86ad['sigBytes']=_0x512cc3,this[_0x129083(0x31e)]();},'reset':function(){var _0x52a5c2=_0x2ec31e,_0x440d3d=this[_0x52a5c2(0x35e)];_0x440d3d['reset'](),_0x440d3d[_0x52a5c2(0x26b)](this[_0x52a5c2(0x301)]);},'update':function(_0xc72d5b){var _0x516636=_0x2ec31e;return this[_0x516636(0x35e)][_0x516636(0x26b)](_0xc72d5b),this;},'finalize':function(_0x540dbe){var _0x454336=_0x2ec31e,_0x129889=this[_0x454336(0x35e)],_0x389cae=_0x129889['finalize'](_0x540dbe);_0x129889[_0x454336(0x31e)]();var _0x4f89d2=_0x129889[_0x454336(0x346)](this[_0x454336(0x258)][_0x454336(0x473)]()[_0x454336(0x47a)](_0x389cae));return _0x4f89d2;}});}());}));}(ze)),ze[_0x3f4f17(0x4a7)];}var pn=Ke['exports'],Qt;function Oi(){var _0x41ff84=_0xbf377e;return Qt||(Qt=0x1,function(_0x206fe4,_0x4a4d4f){(function(_0xe961bd,_0x35f623,_0x5d952d){var _0xbdd64=_0x1cff;_0x206fe4[_0xbdd64(0x4a7)]=_0x35f623(te(),dn(),vn());}(pn,function(_0x2924f1){return(function(){var _0x231528=_0x1cff,_0x329c01=_0x2924f1,_0x65f35d=_0x329c01['lib'],_0xf0c741=_0x65f35d['Base'],_0x12dc9f=_0x65f35d['WordArray'],_0x455df9=_0x329c01['algo'],_0x3d69bb=_0x455df9[_0x231528(0x328)],_0x10460a=_0x455df9[_0x231528(0x3b2)]=_0xf0c741[_0x231528(0x2ab)]({'cfg':_0xf0c741[_0x231528(0x2ab)]({'keySize':0x80/0x20,'hasher':_0x3d69bb,'iterations':0x1}),'init':function(_0x1e706f){var _0x198777=_0x231528;this[_0x198777(0x4ea)]=this[_0x198777(0x4ea)][_0x198777(0x2ab)](_0x1e706f);},'compute':function(_0x3dfa60,_0xdf567e){var _0x2f9bf8=_0x231528;for(var _0x47e54b,_0x191dba=this['cfg'],_0x30e83f=_0x191dba[_0x2f9bf8(0x4b6)]['create'](),_0x46d522=_0x12dc9f[_0x2f9bf8(0x22b)](),_0xa4c5f7=_0x46d522['words'],_0x445cb6=_0x191dba[_0x2f9bf8(0x368)],_0x252ad1=_0x191dba[_0x2f9bf8(0x4a0)];_0xa4c5f7[_0x2f9bf8(0x234)]<_0x445cb6;){_0x47e54b&&_0x30e83f[_0x2f9bf8(0x26b)](_0x47e54b),_0x47e54b=_0x30e83f[_0x2f9bf8(0x26b)](_0x3dfa60)[_0x2f9bf8(0x346)](_0xdf567e),_0x30e83f['reset']();for(var _0x557276=0x1;_0x557276<_0x252ad1;_0x557276++)_0x47e54b=_0x30e83f[_0x2f9bf8(0x346)](_0x47e54b),_0x30e83f['reset']();_0x46d522[_0x2f9bf8(0x47a)](_0x47e54b);}return _0x46d522[_0x2f9bf8(0x46d)]=_0x445cb6*0x4,_0x46d522;}});_0x329c01[_0x231528(0x3b2)]=function(_0x5bdb86,_0x410878,_0x1bcc4d){return _0x10460a['create'](_0x1bcc4d)['compute'](_0x5bdb86,_0x410878);};}()),_0x2924f1['EvpKDF'];}));}(Ke)),Ke[_0x41ff84(0x4a7)];}var Je={'exports':{}},mn=Je[_0xbf377e(0x4a7)],ei;function bi(){return ei||(ei=0x1,function(_0x48c370,_0x5803fd){(function(_0x3e70a5,_0x41fe50,_0x41013d){var _0x4e7a77=_0x1cff;_0x48c370[_0x4e7a77(0x4a7)]=_0x41fe50(te(),Oi());}(mn,function(_0x187df1){_0x187df1['lib']['Cipher']||function(_0x452319){var _0x1e0f5e=_0x1cff,_0x4e744a=_0x187df1,_0x2eefc6=_0x4e744a[_0x1e0f5e(0x24a)],_0x381a38=_0x2eefc6[_0x1e0f5e(0x1f1)],_0x277114=_0x2eefc6[_0x1e0f5e(0x327)],_0xe526e=_0x2eefc6[_0x1e0f5e(0x43c)],_0x412dce=_0x4e744a[_0x1e0f5e(0x38d)];_0x412dce[_0x1e0f5e(0x38f)];var _0x46ec65=_0x412dce[_0x1e0f5e(0x274)],_0x238366=_0x4e744a[_0x1e0f5e(0x358)],_0x30898d=_0x238366[_0x1e0f5e(0x3b2)],_0xd42296=_0x2eefc6[_0x1e0f5e(0x2f5)]=_0xe526e[_0x1e0f5e(0x2ab)]({'cfg':_0x381a38['extend'](),'createEncryptor':function(_0x4c036b,_0xdb265a){var _0x19c8e3=_0x1e0f5e;return this[_0x19c8e3(0x22b)](this[_0x19c8e3(0x220)],_0x4c036b,_0xdb265a);},'createDecryptor':function(_0x1cc2e7,_0x60e2de){var _0x5ac561=_0x1e0f5e;return this[_0x5ac561(0x22b)](this['_DEC_XFORM_MODE'],_0x1cc2e7,_0x60e2de);},'init':function(_0x7c1806,_0x3a16c6,_0x472a0d){var _0x51a156=_0x1e0f5e;this[_0x51a156(0x4ea)]=this[_0x51a156(0x4ea)][_0x51a156(0x2ab)](_0x472a0d),this[_0x51a156(0x29c)]=_0x7c1806,this[_0x51a156(0x49a)]=_0x3a16c6,this[_0x51a156(0x31e)]();},'reset':function(){var _0x1f7975=_0x1e0f5e;_0xe526e['reset']['call'](this),this[_0x1f7975(0x26d)]();},'process':function(_0x1f78b3){var _0x12a759=_0x1e0f5e;return this[_0x12a759(0x3ec)](_0x1f78b3),this[_0x12a759(0x4b4)]();},'finalize':function(_0x5d0212){var _0x46cb6b=_0x1e0f5e;_0x5d0212&&this[_0x46cb6b(0x3ec)](_0x5d0212);var _0x2bc88a=this['_doFinalize']();return _0x2bc88a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x522f9a(_0x54f943){var _0x5af496=_0x1cff;return typeof _0x54f943==_0x5af496(0x40c)?_0x367529:_0x310a3b;}return function(_0x8c3594){return{'encrypt':function(_0x1a570a,_0x3c0aa7,_0x3fc525){var _0x2ed0f2=_0x1cff;return _0x522f9a(_0x3c0aa7)[_0x2ed0f2(0x397)](_0x8c3594,_0x1a570a,_0x3c0aa7,_0x3fc525);},'decrypt':function(_0x1426d5,_0x103d44,_0x68d2a1){var _0x332878=_0x1cff;return _0x522f9a(_0x103d44)[_0x332878(0x313)](_0x8c3594,_0x1426d5,_0x103d44,_0x68d2a1);}};};}())});_0x2eefc6['StreamCipher']=_0xd42296[_0x1e0f5e(0x2ab)]({'_doFinalize':function(){var _0x5de69f=_0x1e0f5e,_0x1efbbc=this[_0x5de69f(0x4b4)](!0x0);return _0x1efbbc;},'blockSize':0x1});var _0xd3859c=_0x4e744a['mode']={},_0x584347=_0x2eefc6[_0x1e0f5e(0x458)]=_0x381a38['extend']({'createEncryptor':function(_0x11309f,_0x52c43a){var _0x396b81=_0x1e0f5e;return this['Encryptor'][_0x396b81(0x22b)](_0x11309f,_0x52c43a);},'createDecryptor':function(_0x4ce32f,_0x44729a){return this['Decryptor']['create'](_0x4ce32f,_0x44729a);},'init':function(_0x10207f,_0x5b35ea){var _0x454171=_0x1e0f5e;this[_0x454171(0x3c6)]=_0x10207f,this[_0x454171(0x340)]=_0x5b35ea;}}),_0x281f44=_0xd3859c[_0x1e0f5e(0x48e)]=(function(){var _0x4807ce=_0x1e0f5e,_0x1ed2d6=_0x584347['extend']();_0x1ed2d6[_0x4807ce(0x245)]=_0x1ed2d6[_0x4807ce(0x2ab)]({'processBlock':function(_0x2c6332,_0x5d351f){var _0x8201d8=_0x4807ce,_0x2ecdb=this[_0x8201d8(0x3c6)],_0x466f94=_0x2ecdb['blockSize'];_0x307697[_0x8201d8(0x341)](this,_0x2c6332,_0x5d351f,_0x466f94),_0x2ecdb[_0x8201d8(0x336)](_0x2c6332,_0x5d351f),this[_0x8201d8(0x377)]=_0x2c6332[_0x8201d8(0x3ba)](_0x5d351f,_0x5d351f+_0x466f94);}}),_0x1ed2d6[_0x4807ce(0x42f)]=_0x1ed2d6[_0x4807ce(0x2ab)]({'processBlock':function(_0x4313d6,_0x59dbe2){var _0x2f1685=_0x4807ce,_0x2c75f8=this[_0x2f1685(0x3c6)],_0xa90e32=_0x2c75f8[_0x2f1685(0x282)],_0x3b3ddf=_0x4313d6[_0x2f1685(0x3ba)](_0x59dbe2,_0x59dbe2+_0xa90e32);_0x2c75f8['decryptBlock'](_0x4313d6,_0x59dbe2),_0x307697[_0x2f1685(0x341)](this,_0x4313d6,_0x59dbe2,_0xa90e32),this['_prevBlock']=_0x3b3ddf;}});function _0x307697(_0x4dff01,_0x175016,_0x4a006e){var _0x5d6829=_0x4807ce,_0x5f2b33,_0x3bed17=this['_iv'];_0x3bed17?(_0x5f2b33=_0x3bed17,this[_0x5d6829(0x340)]=_0x452319):_0x5f2b33=this[_0x5d6829(0x377)];for(var _0x47cc47=0x0;_0x47cc47<_0x4a006e;_0x47cc47++)_0x4dff01[_0x175016+_0x47cc47]^=_0x5f2b33[_0x47cc47];}return _0x1ed2d6;}()),_0x574003=_0x4e744a[_0x1e0f5e(0x48b)]={},_0x194477=_0x574003[_0x1e0f5e(0x1fc)]={'pad':function(_0x4cfb07,_0x16fed1){var _0x5e97ba=_0x1e0f5e;for(var _0x11468e=_0x16fed1*0x4,_0x10be9e=_0x11468e-_0x4cfb07[_0x5e97ba(0x46d)]%_0x11468e,_0x291ad6=_0x10be9e<<0x18|_0x10be9e<<0x10|_0x10be9e<<0x8|_0x10be9e,_0x3e7054=[],_0x411b50=0x0;_0x411b50<_0x10be9e;_0x411b50+=0x4)_0x3e7054[_0x5e97ba(0x403)](_0x291ad6);var _0x24b084=_0x277114[_0x5e97ba(0x22b)](_0x3e7054,_0x10be9e);_0x4cfb07[_0x5e97ba(0x47a)](_0x24b084);},'unpad':function(_0x44bf8d){var _0x62bb63=_0x1e0f5e,_0xe71e96=_0x44bf8d[_0x62bb63(0x446)][_0x44bf8d[_0x62bb63(0x46d)]-0x1>>>0x2]&0xff;_0x44bf8d['sigBytes']-=_0xe71e96;}};_0x2eefc6[_0x1e0f5e(0x244)]=_0xd42296[_0x1e0f5e(0x2ab)]({'cfg':_0xd42296[_0x1e0f5e(0x4ea)][_0x1e0f5e(0x2ab)]({'mode':_0x281f44,'padding':_0x194477}),'reset':function(){var _0x5bba2a=_0x1e0f5e,_0x15392b;_0xd42296[_0x5bba2a(0x31e)][_0x5bba2a(0x341)](this);var _0x4953d2=this['cfg'],_0x14d6a0=_0x4953d2['iv'],_0xa5fbf8=_0x4953d2[_0x5bba2a(0x4da)];this[_0x5bba2a(0x29c)]==this[_0x5bba2a(0x220)]?_0x15392b=_0xa5fbf8[_0x5bba2a(0x265)]:(_0x15392b=_0xa5fbf8['createDecryptor'],this[_0x5bba2a(0x329)]=0x1),this[_0x5bba2a(0x371)]&&this[_0x5bba2a(0x371)][_0x5bba2a(0x2fb)]==_0x15392b?this['_mode'][_0x5bba2a(0x2ef)](this,_0x14d6a0&&_0x14d6a0[_0x5bba2a(0x446)]):(this[_0x5bba2a(0x371)]=_0x15392b['call'](_0xa5fbf8,this,_0x14d6a0&&_0x14d6a0[_0x5bba2a(0x446)]),this[_0x5bba2a(0x371)][_0x5bba2a(0x2fb)]=_0x15392b);},'_doProcessBlock':function(_0x491faa,_0x1ed77d){var _0x374501=_0x1e0f5e;this[_0x374501(0x371)][_0x374501(0x267)](_0x491faa,_0x1ed77d);},'_doFinalize':function(){var _0x5deb31=_0x1e0f5e,_0x14b841,_0x41a267=this[_0x5deb31(0x4ea)][_0x5deb31(0x3f7)];return this[_0x5deb31(0x29c)]==this[_0x5deb31(0x220)]?(_0x41a267[_0x5deb31(0x48b)](this[_0x5deb31(0x49c)],this[_0x5deb31(0x282)]),_0x14b841=this[_0x5deb31(0x4b4)](!0x0)):(_0x14b841=this[_0x5deb31(0x4b4)](!0x0),_0x41a267[_0x5deb31(0x3a9)](_0x14b841)),_0x14b841;},'blockSize':0x80/0x20});var _0x3f2a75=_0x2eefc6[_0x1e0f5e(0x3f2)]=_0x381a38['extend']({'init':function(_0x350169){var _0x4b41f6=_0x1e0f5e;this[_0x4b41f6(0x36f)](_0x350169);},'toString':function(_0x1d0fac){var _0x5d8947=_0x1e0f5e;return(_0x1d0fac||this[_0x5d8947(0x314)])[_0x5d8947(0x25e)](this);}}),_0x1b130f=_0x4e744a[_0x1e0f5e(0x277)]={},_0xd2d589=_0x1b130f[_0x1e0f5e(0x343)]={'stringify':function(_0x40ee0e){var _0x3e62e1=_0x1e0f5e,_0x56edc9,_0x4c20be=_0x40ee0e[_0x3e62e1(0x2fc)],_0x36d54f=_0x40ee0e['salt'];return _0x36d54f?_0x56edc9=_0x277114['create']([0x53616c74,0x65645f5f])[_0x3e62e1(0x47a)](_0x36d54f)[_0x3e62e1(0x47a)](_0x4c20be):_0x56edc9=_0x4c20be,_0x56edc9[_0x3e62e1(0x345)](_0x46ec65);},'parse':function(_0x2718e7){var _0x27af05=_0x1e0f5e,_0x9086c1,_0x47e93a=_0x46ec65['parse'](_0x2718e7),_0x16eea3=_0x47e93a[_0x27af05(0x446)];return _0x16eea3[0x0]==0x53616c74&&_0x16eea3[0x1]==0x65645f5f&&(_0x9086c1=_0x277114['create'](_0x16eea3['slice'](0x2,0x4)),_0x16eea3[_0x27af05(0x228)](0x0,0x4),_0x47e93a[_0x27af05(0x46d)]-=0x10),_0x3f2a75[_0x27af05(0x22b)]({'ciphertext':_0x47e93a,'salt':_0x9086c1});}},_0x310a3b=_0x2eefc6[_0x1e0f5e(0x45c)]=_0x381a38[_0x1e0f5e(0x2ab)]({'cfg':_0x381a38[_0x1e0f5e(0x2ab)]({'format':_0xd2d589}),'encrypt':function(_0x343f96,_0x3d2ecf,_0x14b545,_0x566423){var _0x4952f8=_0x1e0f5e;_0x566423=this['cfg'][_0x4952f8(0x2ab)](_0x566423);var _0x31f26d=_0x343f96[_0x4952f8(0x265)](_0x14b545,_0x566423),_0x503828=_0x31f26d[_0x4952f8(0x346)](_0x3d2ecf),_0x1dbdf5=_0x31f26d[_0x4952f8(0x4ea)];return _0x3f2a75[_0x4952f8(0x22b)]({'ciphertext':_0x503828,'key':_0x14b545,'iv':_0x1dbdf5['iv'],'algorithm':_0x343f96,'mode':_0x1dbdf5[_0x4952f8(0x4da)],'padding':_0x1dbdf5[_0x4952f8(0x3f7)],'blockSize':_0x343f96[_0x4952f8(0x282)],'formatter':_0x566423[_0x4952f8(0x277)]});},'decrypt':function(_0x581e0f,_0x530328,_0x16d2c8,_0x388fce){var _0x5495b6=_0x1e0f5e;_0x388fce=this[_0x5495b6(0x4ea)][_0x5495b6(0x2ab)](_0x388fce),_0x530328=this[_0x5495b6(0x4e9)](_0x530328,_0x388fce[_0x5495b6(0x277)]);var _0x4b53ae=_0x581e0f[_0x5495b6(0x4f6)](_0x16d2c8,_0x388fce)[_0x5495b6(0x346)](_0x530328[_0x5495b6(0x2fc)]);return _0x4b53ae;},'_parse':function(_0x5cd185,_0x2e3c1f){var _0x46e590=_0x1e0f5e;return typeof _0x5cd185==_0x46e590(0x40c)?_0x2e3c1f[_0x46e590(0x2de)](_0x5cd185,this):_0x5cd185;}}),_0x3ba302=_0x4e744a[_0x1e0f5e(0x34a)]={},_0x27f8fb=_0x3ba302[_0x1e0f5e(0x343)]={'execute':function(_0x36ec1e,_0x2d829a,_0x42de44,_0x47c3d7,_0x6a377d){var _0x4994c3=_0x1e0f5e;if(_0x47c3d7||(_0x47c3d7=_0x277114[_0x4994c3(0x342)](0x40/0x8)),_0x6a377d)var _0x5715b7=_0x30898d[_0x4994c3(0x22b)]({'keySize':_0x2d829a+_0x42de44,'hasher':_0x6a377d})[_0x4994c3(0x3aa)](_0x36ec1e,_0x47c3d7);else var _0x5715b7=_0x30898d['create']({'keySize':_0x2d829a+_0x42de44})[_0x4994c3(0x3aa)](_0x36ec1e,_0x47c3d7);var _0x52f13d=_0x277114[_0x4994c3(0x22b)](_0x5715b7[_0x4994c3(0x446)][_0x4994c3(0x3ba)](_0x2d829a),_0x42de44*0x4);return _0x5715b7[_0x4994c3(0x46d)]=_0x2d829a*0x4,_0x3f2a75[_0x4994c3(0x22b)]({'key':_0x5715b7,'iv':_0x52f13d,'salt':_0x47c3d7});}},_0x367529=_0x2eefc6[_0x1e0f5e(0x470)]=_0x310a3b['extend']({'cfg':_0x310a3b['cfg'][_0x1e0f5e(0x2ab)]({'kdf':_0x27f8fb}),'encrypt':function(_0x21f703,_0x4bab5f,_0x11ab1f,_0x2e55a8){var _0x42182e=_0x1e0f5e;_0x2e55a8=this[_0x42182e(0x4ea)][_0x42182e(0x2ab)](_0x2e55a8);var _0x25d317=_0x2e55a8[_0x42182e(0x34a)]['execute'](_0x11ab1f,_0x21f703['keySize'],_0x21f703['ivSize'],_0x2e55a8[_0x42182e(0x3a5)],_0x2e55a8['hasher']);_0x2e55a8['iv']=_0x25d317['iv'];var _0x4e6816=_0x310a3b['encrypt'][_0x42182e(0x341)](this,_0x21f703,_0x4bab5f,_0x25d317[_0x42182e(0x290)],_0x2e55a8);return _0x4e6816[_0x42182e(0x36f)](_0x25d317),_0x4e6816;},'decrypt':function(_0x3b8813,_0x1da774,_0x55a68d,_0x2becca){var _0x2f3f23=_0x1e0f5e;_0x2becca=this[_0x2f3f23(0x4ea)][_0x2f3f23(0x2ab)](_0x2becca),_0x1da774=this[_0x2f3f23(0x4e9)](_0x1da774,_0x2becca[_0x2f3f23(0x277)]);var _0x25509a=_0x2becca['kdf'][_0x2f3f23(0x3de)](_0x55a68d,_0x3b8813[_0x2f3f23(0x368)],_0x3b8813[_0x2f3f23(0x399)],_0x1da774[_0x2f3f23(0x3a5)],_0x2becca[_0x2f3f23(0x4b6)]);_0x2becca['iv']=_0x25509a['iv'];var _0x466133=_0x310a3b['decrypt'][_0x2f3f23(0x341)](this,_0x3b8813,_0x1da774,_0x25509a['key'],_0x2becca);return _0x466133;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0xbf377e(0x4a7)],ti;function Sn(){var _0x3bc8d9=_0xbf377e;return ti||(ti=0x1,function(_0x3b3d7b,_0x2aed36){(function(_0x215008,_0x25f281,_0x1cd8d6){var _0x352e51=_0x1cff;_0x3b3d7b[_0x352e51(0x4a7)]=_0x25f281(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x45e2e9){var _0x403605=_0x1cff;return(function(){var _0x148520=_0x1cff,_0x3a65c3=_0x45e2e9,_0x121166=_0x3a65c3[_0x148520(0x24a)],_0x1cd567=_0x121166[_0x148520(0x244)],_0x287f65=_0x3a65c3[_0x148520(0x358)],_0x1d40bf=[],_0x7a4a9d=[],_0x1dfde2=[],_0x3d2f54=[],_0x16539d=[],_0x5b1df5=[],_0x20fe86=[],_0x281d13=[],_0x2d50ec=[],_0x2019f7=[];(function(){for(var _0x4f0696=[],_0x2ac4c0=0x0;_0x2ac4c0<0x100;_0x2ac4c0++)_0x2ac4c0<0x80?_0x4f0696[_0x2ac4c0]=_0x2ac4c0<<0x1:_0x4f0696[_0x2ac4c0]=_0x2ac4c0<<0x1^0x11b;for(var _0x11bf45=0x0,_0x39c56d=0x0,_0x2ac4c0=0x0;_0x2ac4c0<0x100;_0x2ac4c0++){var _0x5ac132=_0x39c56d^_0x39c56d<<0x1^_0x39c56d<<0x2^_0x39c56d<<0x3^_0x39c56d<<0x4;_0x5ac132=_0x5ac132>>>0x8^_0x5ac132&0xff^0x63,_0x1d40bf[_0x11bf45]=_0x5ac132,_0x7a4a9d[_0x5ac132]=_0x11bf45;var _0x1e44ca=_0x4f0696[_0x11bf45],_0x2659d2=_0x4f0696[_0x1e44ca],_0x56c57e=_0x4f0696[_0x2659d2],_0x51e082=_0x4f0696[_0x5ac132]*0x101^_0x5ac132*0x1010100;_0x1dfde2[_0x11bf45]=_0x51e082<<0x18|_0x51e082>>>0x8,_0x3d2f54[_0x11bf45]=_0x51e082<<0x10|_0x51e082>>>0x10,_0x16539d[_0x11bf45]=_0x51e082<<0x8|_0x51e082>>>0x18,_0x5b1df5[_0x11bf45]=_0x51e082;var _0x51e082=_0x56c57e*0x1010101^_0x2659d2*0x10001^_0x1e44ca*0x101^_0x11bf45*0x1010100;_0x20fe86[_0x5ac132]=_0x51e082<<0x18|_0x51e082>>>0x8,_0x281d13[_0x5ac132]=_0x51e082<<0x10|_0x51e082>>>0x10,_0x2d50ec[_0x5ac132]=_0x51e082<<0x8|_0x51e082>>>0x18,_0x2019f7[_0x5ac132]=_0x51e082,_0x11bf45?(_0x11bf45=_0x1e44ca^_0x4f0696[_0x4f0696[_0x4f0696[_0x56c57e^_0x1e44ca]]],_0x39c56d^=_0x4f0696[_0x4f0696[_0x39c56d]]):_0x11bf45=_0x39c56d=0x1;}}());var _0x41c2bc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3981b1=_0x287f65[_0x148520(0x2a5)]=_0x1cd567[_0x148520(0x2ab)]({'_doReset':function(){var _0xfdf204=_0x148520,_0x1d23b9;if(!(this[_0xfdf204(0x405)]&&this['_keyPriorReset']===this[_0xfdf204(0x49a)])){for(var _0x589575=this[_0xfdf204(0x4bc)]=this[_0xfdf204(0x49a)],_0x533867=_0x589575['words'],_0x4d0b03=_0x589575['sigBytes']/0x4,_0x4d5a33=this[_0xfdf204(0x405)]=_0x4d0b03+0x6,_0x235e90=(_0x4d5a33+0x1)*0x4,_0x3a76dd=this[_0xfdf204(0x2dd)]=[],_0xd35eae=0x0;_0xd35eae<_0x235e90;_0xd35eae++)_0xd35eae<_0x4d0b03?_0x3a76dd[_0xd35eae]=_0x533867[_0xd35eae]:(_0x1d23b9=_0x3a76dd[_0xd35eae-0x1],_0xd35eae%_0x4d0b03?_0x4d0b03>0x6&&_0xd35eae%_0x4d0b03==0x4&&(_0x1d23b9=_0x1d40bf[_0x1d23b9>>>0x18]<<0x18|_0x1d40bf[_0x1d23b9>>>0x10&0xff]<<0x10|_0x1d40bf[_0x1d23b9>>>0x8&0xff]<<0x8|_0x1d40bf[_0x1d23b9&0xff]):(_0x1d23b9=_0x1d23b9<<0x8|_0x1d23b9>>>0x18,_0x1d23b9=_0x1d40bf[_0x1d23b9>>>0x18]<<0x18|_0x1d40bf[_0x1d23b9>>>0x10&0xff]<<0x10|_0x1d40bf[_0x1d23b9>>>0x8&0xff]<<0x8|_0x1d40bf[_0x1d23b9&0xff],_0x1d23b9^=_0x41c2bc[_0xd35eae/_0x4d0b03|0x0]<<0x18),_0x3a76dd[_0xd35eae]=_0x3a76dd[_0xd35eae-_0x4d0b03]^_0x1d23b9);for(var _0x5d5315=this[_0xfdf204(0x4d8)]=[],_0x13d169=0x0;_0x13d169<_0x235e90;_0x13d169++){var _0xd35eae=_0x235e90-_0x13d169;if(_0x13d169%0x4)var _0x1d23b9=_0x3a76dd[_0xd35eae];else var _0x1d23b9=_0x3a76dd[_0xd35eae-0x4];_0x13d169<0x4||_0xd35eae<=0x4?_0x5d5315[_0x13d169]=_0x1d23b9:_0x5d5315[_0x13d169]=_0x20fe86[_0x1d40bf[_0x1d23b9>>>0x18]]^_0x281d13[_0x1d40bf[_0x1d23b9>>>0x10&0xff]]^_0x2d50ec[_0x1d40bf[_0x1d23b9>>>0x8&0xff]]^_0x2019f7[_0x1d40bf[_0x1d23b9&0xff]];}}},'encryptBlock':function(_0x3528d7,_0x1ef535){var _0x401cb9=_0x148520;this[_0x401cb9(0x32b)](_0x3528d7,_0x1ef535,this['_keySchedule'],_0x1dfde2,_0x3d2f54,_0x16539d,_0x5b1df5,_0x1d40bf);},'decryptBlock':function(_0xa1dcb4,_0x1a200b){var _0x38fbab=_0xa1dcb4[_0x1a200b+0x1];_0xa1dcb4[_0x1a200b+0x1]=_0xa1dcb4[_0x1a200b+0x3],_0xa1dcb4[_0x1a200b+0x3]=_0x38fbab,this['_doCryptBlock'](_0xa1dcb4,_0x1a200b,this['_invKeySchedule'],_0x20fe86,_0x281d13,_0x2d50ec,_0x2019f7,_0x7a4a9d);var _0x38fbab=_0xa1dcb4[_0x1a200b+0x1];_0xa1dcb4[_0x1a200b+0x1]=_0xa1dcb4[_0x1a200b+0x3],_0xa1dcb4[_0x1a200b+0x3]=_0x38fbab;},'_doCryptBlock':function(_0x57e7de,_0x50f8bb,_0xd56f7e,_0x150bc6,_0x5779b9,_0x233f7f,_0x49e266,_0x32ec8b){var _0x4e15c2=_0x148520;for(var _0x118c84=this[_0x4e15c2(0x405)],_0x245a39=_0x57e7de[_0x50f8bb]^_0xd56f7e[0x0],_0x32aeb2=_0x57e7de[_0x50f8bb+0x1]^_0xd56f7e[0x1],_0x52f0d0=_0x57e7de[_0x50f8bb+0x2]^_0xd56f7e[0x2],_0x51e30=_0x57e7de[_0x50f8bb+0x3]^_0xd56f7e[0x3],_0x326c46=0x4,_0x3db44c=0x1;_0x3db44c<_0x118c84;_0x3db44c++){var _0xd473cf=_0x150bc6[_0x245a39>>>0x18]^_0x5779b9[_0x32aeb2>>>0x10&0xff]^_0x233f7f[_0x52f0d0>>>0x8&0xff]^_0x49e266[_0x51e30&0xff]^_0xd56f7e[_0x326c46++],_0x2b1012=_0x150bc6[_0x32aeb2>>>0x18]^_0x5779b9[_0x52f0d0>>>0x10&0xff]^_0x233f7f[_0x51e30>>>0x8&0xff]^_0x49e266[_0x245a39&0xff]^_0xd56f7e[_0x326c46++],_0x444975=_0x150bc6[_0x52f0d0>>>0x18]^_0x5779b9[_0x51e30>>>0x10&0xff]^_0x233f7f[_0x245a39>>>0x8&0xff]^_0x49e266[_0x32aeb2&0xff]^_0xd56f7e[_0x326c46++],_0x3479ce=_0x150bc6[_0x51e30>>>0x18]^_0x5779b9[_0x245a39>>>0x10&0xff]^_0x233f7f[_0x32aeb2>>>0x8&0xff]^_0x49e266[_0x52f0d0&0xff]^_0xd56f7e[_0x326c46++];_0x245a39=_0xd473cf,_0x32aeb2=_0x2b1012,_0x52f0d0=_0x444975,_0x51e30=_0x3479ce;}var _0xd473cf=(_0x32ec8b[_0x245a39>>>0x18]<<0x18|_0x32ec8b[_0x32aeb2>>>0x10&0xff]<<0x10|_0x32ec8b[_0x52f0d0>>>0x8&0xff]<<0x8|_0x32ec8b[_0x51e30&0xff])^_0xd56f7e[_0x326c46++],_0x2b1012=(_0x32ec8b[_0x32aeb2>>>0x18]<<0x18|_0x32ec8b[_0x52f0d0>>>0x10&0xff]<<0x10|_0x32ec8b[_0x51e30>>>0x8&0xff]<<0x8|_0x32ec8b[_0x245a39&0xff])^_0xd56f7e[_0x326c46++],_0x444975=(_0x32ec8b[_0x52f0d0>>>0x18]<<0x18|_0x32ec8b[_0x51e30>>>0x10&0xff]<<0x10|_0x32ec8b[_0x245a39>>>0x8&0xff]<<0x8|_0x32ec8b[_0x32aeb2&0xff])^_0xd56f7e[_0x326c46++],_0x3479ce=(_0x32ec8b[_0x51e30>>>0x18]<<0x18|_0x32ec8b[_0x245a39>>>0x10&0xff]<<0x10|_0x32ec8b[_0x32aeb2>>>0x8&0xff]<<0x8|_0x32ec8b[_0x52f0d0&0xff])^_0xd56f7e[_0x326c46++];_0x57e7de[_0x50f8bb]=_0xd473cf,_0x57e7de[_0x50f8bb+0x1]=_0x2b1012,_0x57e7de[_0x50f8bb+0x2]=_0x444975,_0x57e7de[_0x50f8bb+0x3]=_0x3479ce;},'keySize':0x100/0x20});_0x3a65c3[_0x148520(0x2a5)]=_0x1cd567[_0x148520(0x4f4)](_0x3981b1);}()),_0x45e2e9[_0x403605(0x2a5)];}));}(Ve)),Ve[_0x3bc8d9(0x4a7)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0xbf377e(0x4a7)],si;function Rn(){return si||(si=0x1,function(_0x51b9b4,_0x17c57f){(function(_0x595b01,_0x1988a3){var _0x359809=_0x1cff;_0x51b9b4[_0x359809(0x4a7)]=_0x1988a3(te());}(Cn,function(_0x18b25c){var _0x303f61=_0x1cff;return _0x18b25c[_0x303f61(0x38d)][_0x303f61(0x38f)];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xbf377e(0x4a7)],ni;function Nn(){var _0x3ede92=_0xbf377e;return ni||(ni=0x1,function(_0x102325,_0x1196f3){(function(_0x483553,_0x121bd3){var _0x19a448=_0x1cff;_0x102325[_0x19a448(0x4a7)]=_0x121bd3(te());}(yn,function(_0x5bddd5){var _0x173b21=_0x1cff;return(function(){var _0x404bc1=_0x1cff;if(typeof ArrayBuffer==_0x404bc1(0x442)){var _0x1fcb5f=_0x5bddd5,_0x4e1e63=_0x1fcb5f['lib'],_0x5886ab=_0x4e1e63[_0x404bc1(0x327)],_0x3d647a=_0x5886ab[_0x404bc1(0x2ef)],_0x2500f8=_0x5886ab[_0x404bc1(0x2ef)]=function(_0x27957b){var _0x110bbf=_0x404bc1;if(_0x27957b instanceof ArrayBuffer&&(_0x27957b=new Uint8Array(_0x27957b)),(_0x27957b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x27957b instanceof Uint8ClampedArray||_0x27957b instanceof Int16Array||_0x27957b instanceof Uint16Array||_0x27957b instanceof Int32Array||_0x27957b instanceof Uint32Array||_0x27957b instanceof Float32Array||_0x27957b instanceof Float64Array)&&(_0x27957b=new Uint8Array(_0x27957b[_0x110bbf(0x474)],_0x27957b['byteOffset'],_0x27957b['byteLength'])),_0x27957b instanceof Uint8Array){for(var _0x2ab3bd=_0x27957b[_0x110bbf(0x419)],_0x694db3=[],_0x52c259=0x0;_0x52c259<_0x2ab3bd;_0x52c259++)_0x694db3[_0x52c259>>>0x2]|=_0x27957b[_0x52c259]<<0x18-_0x52c259%0x4*0x8;_0x3d647a['call'](this,_0x694db3,_0x2ab3bd);}else _0x3d647a[_0x110bbf(0x34b)](this,arguments);};_0x2500f8[_0x404bc1(0x331)]=_0x5886ab;}}()),_0x5bddd5[_0x173b21(0x24a)][_0x173b21(0x327)];}));}(Ze)),Ze[_0x3ede92(0x4a7)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0xbf377e(0x4a7)],ri;function wn(){var _0xc1cf30=_0xbf377e;return ri||(ri=0x1,function(_0x4b12e3,_0x218aa9){(function(_0x6e4328,_0x2c0178,_0x51bcff){var _0x5103fc=_0x1cff;_0x4b12e3[_0x5103fc(0x4a7)]=_0x2c0178(te(),bi());}(An,function(_0x451022){var _0xbaf84a=_0x1cff;return _0x451022['pad'][_0xbaf84a(0x2b0)]={'pad':function(){},'unpad':function(){}},_0x451022[_0xbaf84a(0x48b)]['NoPadding'];}));}(Qe)),Qe[_0xc1cf30(0x4a7)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x4bceac,_0x142e26){var _0x59414a=_0xbf377e;const _0x43336d=_0x142e26-_0x4bceac[_0x59414a(0x234)]%_0x142e26,_0x1a96a3=String[_0x59414a(0x4ac)](_0x43336d)[_0x59414a(0x3c1)](_0x43336d);return _0x4bceac+_0x1a96a3;}function xn(_0x24f357,_0x3a2b65){var _0x2fb187=_0xbf377e;const _0xc8b464=Un['random'](0x10),_0x19a4f3=Ln(_0x24f357,0x10),_0x484d28=In[_0x2fb187(0x397)](bn['parse'](_0x19a4f3),ii[_0x2fb187(0x2de)](_0x3a2b65),{'iv':_0xc8b464,'padding':Mn});return _0xc8b464['concat'](_0x484d28[_0x2fb187(0x2fc)])[_0x2fb187(0x345)](ii);}function kn(){var _0x58b2b6=_0xbf377e;const _0x3768e1=_0x541ccd()[_0x58b2b6(0x4c8)];if(_0x3768e1){const _0xf04b97={'time':Math['floor'](Date[_0x58b2b6(0x37f)]()/0x3e8),'domain':location[_0x58b2b6(0x352)]};return xn(JSON[_0x58b2b6(0x25e)](_0xf04b97),_0x3768e1);}}var $n=Object[_0xbf377e(0x359)],Hn=(_0x399b36,_0x302363,_0x34cfb8,_0x125a59)=>{var _0x5644fc=_0xbf377e;for(var _0x52d831=_0x125a59>0x1?void 0x0:_0x125a59?$n(_0x302363,_0x34cfb8):_0x302363,_0x58ac1f=_0x399b36[_0x5644fc(0x234)]-0x1,_0xa6b12e;_0x58ac1f>=0x0;_0x58ac1f--)(_0xa6b12e=_0x399b36[_0x58ac1f])&&(_0x52d831=_0xa6b12e(_0x52d831)||_0x52d831);return _0x52d831;},Bn=(_0x2b8356,_0x3af6b2)=>(_0x9e9b54,_0x3f4e3b)=>_0x3af6b2(_0x9e9b54,_0x3f4e3b,_0x2b8356);let at=class{constructor(_0x56c8f8){var _0x48ca2f=_0xbf377e;this['_httpService']=_0x56c8f8,this[_0x48ca2f(0x303)]();}[_0xbf377e(0x303)](){var _0x1d9a03=_0xbf377e;this[_0x1d9a03(0x367)]['registerHTTPInterceptor']({'interceptor':(_0x3be176,_0x941bb4)=>{var _0x10bf59=_0x1d9a03;const _0x30f65b=_0x3be176[_0x10bf59(0x231)],_0x565af6=kn();return _0x565af6&&_0x30f65b[_0x10bf59(0x2f7)](_0x10bf59(0x2b8),_0x565af6),_0x941bb4(_0x3be176);}});}};at=Hn([Bn(0x0,_0x1c582e(_0x44ae9d))],at);var jn=Object[_0xbf377e(0x359)],Fn=(_0x2d72a7,_0x3ef8ca,_0x50f3bc,_0x3c90d4)=>{var _0x3d4953=_0xbf377e;for(var _0x1aa9d1=_0x3c90d4>0x1?void 0x0:_0x3c90d4?jn(_0x3ef8ca,_0x50f3bc):_0x3ef8ca,_0x4f4947=_0x2d72a7[_0x3d4953(0x234)]-0x1,_0x235d66;_0x4f4947>=0x0;_0x4f4947--)(_0x235d66=_0x2d72a7[_0x4f4947])&&(_0x1aa9d1=_0x235d66(_0x1aa9d1)||_0x1aa9d1);return _0x1aa9d1;},vt=(_0x423c5f,_0x2868b9)=>(_0x6bda0c,_0xc97c83)=>_0x2868b9(_0x6bda0c,_0xc97c83,_0x423c5f);let Ct=class extends _0x50936f{constructor(_0x310a48,_0x2836a3,_0x3ce13a){var _0xfb9dee=_0xbf377e;super(),N(this,'_unitInfo$',new _0x1f6c9f(null)),N(this,_0xfb9dee(0x3d8),this[_0xfb9dee(0x3e4)]['asObservable']()),(this[_0xfb9dee(0x3fb)]=_0x310a48,this[_0xfb9dee(0x4df)]=_0x2836a3,this[_0xfb9dee(0x4de)]=_0x3ce13a);}async[_0xbf377e(0x396)](_0x5809b7,_0x39c166,_0x37155d){var _0x2dd9cc=_0xbf377e;this[_0x2dd9cc(0x3e4)]['next']({'unitId':_0x5809b7,'type':_0x39c166});let _0x212403=null;switch(_0x39c166){case Z[_0x2dd9cc(0x229)]:{_0x212403=await this['_snapshotService'][_0x2dd9cc(0x30d)](_0x5809b7,_0x37155d);break;}case Z[_0x2dd9cc(0x2e9)]:{_0x212403=await this[_0x2dd9cc(0x4df)][_0x2dd9cc(0x1f4)](_0x5809b7,_0x37155d);break;}default:{this[_0x2dd9cc(0x3fb)][_0x2dd9cc(0x215)]('[DataLoaderService]',_0x2dd9cc(0x480));break;}}return _0x212403;}async['loadUnit'](_0x1f25a7,_0x25a465,_0x4d7975){var _0x501aa2=_0xbf377e,_0x1f8e9b;this[_0x501aa2(0x3e4)][_0x501aa2(0x233)]({'unitId':_0x1f25a7,'type':_0x25a465,'subUnitId':_0x4d7975});let _0x548281=0x0;const _0x89560e=await((_0x1f8e9b=this[_0x501aa2(0x4de)])==null?void 0x0:_0x1f8e9b[_0x501aa2(0x298)](_0x1f25a7));return _0x89560e&&(_0x89560e['awaitingChangeset']||_0x89560e[_0x501aa2(0x2d8)][_0x501aa2(0x234)]!==0x0)&&(_0x548281=_0x89560e[_0x501aa2(0x440)]),_0x548281===0x0&&this[_0x501aa2(0x3fb)][_0x501aa2(0x2cd)](_0x501aa2(0x4f7),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x501aa2(0x396)](_0x1f25a7,_0x25a465,_0x548281);}};Ct=Fn([vt(0x0,_0x11790f),vt(0x1,_0x1c582e(_0x19e068)),vt(0x2,_0x452fc6(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x349fa6,_0x27f488,_0x13a4f6,_0x13286e)=>{var _0x31aeb8=_0xbf377e;for(var _0x4e9f34=_0x13286e>0x1?void 0x0:_0x13286e?Vn(_0x27f488,_0x13a4f6):_0x27f488,_0x41044e=_0x349fa6[_0x31aeb8(0x234)]-0x1,_0x35e119;_0x41044e>=0x0;_0x41044e--)(_0x35e119=_0x349fa6[_0x41044e])&&(_0x4e9f34=_0x35e119(_0x4e9f34)||_0x4e9f34);return _0x4e9f34;},pt=(_0x306195,_0x8fdf39)=>(_0x15934e,_0x56ae8b)=>_0x8fdf39(_0x15934e,_0x56ae8b,_0x306195);const Gn=[_0xbf377e(0x4e2),_0xbf377e(0x4ca),_0xbf377e(0x27f),_0xbf377e(0x3d5),_0xbf377e(0x437)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x9464fc,_0x406669,_0x40aeb2){var _0x59cf2b=_0xbf377e;N(this,_0x59cf2b(0x2d0),0x0),N(this,_0x59cf2b(0x4d9),new _0x4a9222()),N(this,_0x59cf2b(0x338),this[_0x59cf2b(0x4d9)]),N(this,_0x59cf2b(0x421),new Map()),(this[_0x59cf2b(0x367)]=_0x9464fc,this[_0x59cf2b(0x457)]=_0x406669,this[_0x59cf2b(0x268)]=_0x40aeb2);}['setWaitCount'](_0x337980){var _0x2e87bb=_0xbf377e;this['_waitCount']=_0x337980,this[_0x2e87bb(0x4d9)][_0x2e87bb(0x233)](_0x337980);}['getImageSourceCache'](_0x3d01da,_0x2756af){var _0x548279=_0xbf377e;if(_0x2756af===_0x46d845[_0x548279(0x453)]){const _0x9ea014=new Image();return _0x9ea014[_0x548279(0x26e)]=_0x3d01da,_0x9ea014;}return this['_imageSourceCache']['get'](_0x3d01da);}[_0xbf377e(0x4b3)](_0x4d8b18,_0x278fc5,_0x45a6b1){var _0x5767be=_0xbf377e;_0x278fc5===_0x46d845[_0x5767be(0x453)]||_0x45a6b1==null||this[_0x5767be(0x421)][_0x5767be(0x2f7)](_0x4d8b18,_0x45a6b1);}async[_0xbf377e(0x34f)](_0x23b0fe){var _0x1b9aa4=_0xbf377e;try{const _0x11be45=this[_0x1b9aa4(0x39d)](this[_0x1b9aa4(0x4ee)](),''+_0x23b0fe),_0x4d7d58=(await this['_httpService'][_0x1b9aa4(0x4e3)](_0x11be45))[_0x1b9aa4(0x3a2)];if(_0x4d7d58[_0x1b9aa4(0x215)]&&_0x4d7d58[_0x1b9aa4(0x215)][_0x1b9aa4(0x3f4)]===vi['OK']){const _0x2002bb=new URL(_0x4d7d58[_0x1b9aa4(0x492)],this[_0x1b9aa4(0x22e)]())[_0x1b9aa4(0x345)]();return Promise[_0x1b9aa4(0x412)](_0x2002bb);}return Promise[_0x1b9aa4(0x418)](_0x4d7d58[_0x1b9aa4(0x215)]);}catch(_0x11bf51){return Promise[_0x1b9aa4(0x418)](_0x11bf51);}}async[_0xbf377e(0x41c)](_0x31c061){var _0x3abb2f=_0xbf377e;let _0x3bc58d='';if(!Gn[_0x3abb2f(0x363)](_0x31c061[_0x3abb2f(0x2a1)]))return this['_decreaseWaiting'](),Promise[_0x3abb2f(0x418)](new Error(_0x1995e6[_0x3abb2f(0x494)]));if(_0x31c061['size']>Yn)return this[_0x3abb2f(0x43b)](),Promise['reject'](new Error(_0x1995e6['ERROR_EXCEED_SIZE']));try{const _0x41c316=new FormData();_0x41c316['append'](_0x3abb2f(0x281),_0x31c061);const _0x4b1f95=this[_0x3abb2f(0x268)]['getFocusedUnit'](),_0x282622=_0x4b1f95==null?void 0x0:_0x4b1f95[_0x3abb2f(0x4c2)]();if(!_0x282622)throw new Error('unitId\x20is\x20not\x20found');const _0x4fe371=this['_getUploadFileURL']()+'?size='+_0x31c061[_0x3abb2f(0x3ae)]['toString']()+'&source='+pi[_0x3abb2f(0x2c6)]+_0x3abb2f(0x4a9)+encodeURIComponent(_0x282622),_0x37c02e={'body':_0x41c316},_0x56fd47=(await this['_httpService'][_0x3abb2f(0x459)](_0x4fe371,_0x37c02e))[_0x3abb2f(0x3a2)];if(typeof _0x56fd47[_0x3abb2f(0x25b)]!=_0x3abb2f(0x40c))return this[_0x3abb2f(0x43b)](),Promise[_0x3abb2f(0x418)](new Error(_0x1995e6[_0x3abb2f(0x2e4)]));_0x3bc58d=_0x56fd47['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1995e6[_0x3abb2f(0x2e4)]));}return new Promise((_0x20baad,_0x518598)=>{var _0x3f597d=_0x3abb2f;const _0x3eab04=new FileReader();_0x3eab04[_0x3f597d(0x24e)](_0x31c061),_0x3eab04['onload']=_0xe1b83f=>{var _0x25f3c5=_0x3f597d,_0x437a60;const _0x307861=(_0x437a60=_0xe1b83f[_0x25f3c5(0x287)])==null?void 0x0:_0x437a60[_0x25f3c5(0x369)];if(_0x307861==null){this[_0x25f3c5(0x43b)](),_0x518598(new Error(_0x1995e6[_0x25f3c5(0x2e4)]));return;}const _0x49e5bc=_0x14caa5(0x6);_0x20baad({'imageId':_0x49e5bc,'imageSourceType':_0x46d845[_0x25f3c5(0x353)],'source':_0x3bc58d,'base64Cache':_0x307861,'status':_0x1995e6['SUCCUSS']}),this[_0x25f3c5(0x43b)]();};});}[_0xbf377e(0x315)](){var _0x4d16af=_0xbf377e,_0x206f89;const _0x38dec7=this[_0x4d16af(0x457)][_0x4d16af(0x225)](K);return(_0x206f89=_0x38dec7==null?void 0x0:_0x38dec7[_0x4d16af(0x4c6)])!=null?_0x206f89:Kn;}[_0xbf377e(0x4ee)](){var _0x575856=_0xbf377e,_0x4e9ac4;const _0x10a606=this[_0x575856(0x457)][_0x575856(0x225)](K);return(_0x4e9ac4=_0x10a606==null?void 0x0:_0x10a606[_0x575856(0x32d)])!=null?_0x4e9ac4:qn;}[_0xbf377e(0x22e)](){var _0x3b1529=_0xbf377e,_0xa3cba1;const _0x2fdbfe=this[_0x3b1529(0x457)]['getConfig'](K);return(_0xa3cba1=_0x2fdbfe==null?void 0x0:_0x2fdbfe[_0x3b1529(0x4eb)])!=null?_0xa3cba1:location[_0x3b1529(0x48d)];}[_0xbf377e(0x39d)](_0x4208ea,_0x408ec4){var _0x36d1aa=_0xbf377e;return _0x4208ea[_0x36d1aa(0x498)](_0x36d1aa(0x3da),_0x408ec4);}['_decreaseWaiting'](){var _0x1c5cb1=_0xbf377e;this[_0x1c5cb1(0x2d0)]-=0x1,this[_0x1c5cb1(0x4d9)]['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x1c582e(_0x44ae9d)),pt(0x1,_0xe9c879),pt(0x2,_0x1c582e(_0x8ffa5d))],Rt);var zn=Object[_0xbf377e(0x359)],Jn=(_0x105112,_0x3ae8c2,_0x59cee3,_0x5540f6)=>{for(var _0x2dea49=_0x5540f6>0x1?void 0x0:_0x5540f6?zn(_0x3ae8c2,_0x59cee3):_0x3ae8c2,_0x32bfae=_0x105112['length']-0x1,_0x1f9ebb;_0x32bfae>=0x0;_0x32bfae--)(_0x1f9ebb=_0x105112[_0x32bfae])&&(_0x2dea49=_0x1f9ebb(_0x2dea49)||_0x2dea49);return _0x2dea49;},ai=(_0x5a08ae,_0x53c523)=>(_0x54eee2,_0x116d60)=>_0x53c523(_0x54eee2,_0x116d60,_0x5a08ae);const Xn=_0xbf377e(0x2cb);let Ot=class{constructor(_0x21bded,_0x29878c){var _0x32b2bf=_0xbf377e;this[_0x32b2bf(0x457)]=_0x21bded,this[_0x32b2bf(0x27d)]=_0x29878c;}[_0xbf377e(0x49b)](){var _0x324496=_0xbf377e,_0x2a1a9a;const _0x29207c=this['_configService'][_0x324496(0x225)](K);return(_0x2a1a9a=_0x29207c==null?void 0x0:_0x29207c['authzUrl'])!=null?_0x2a1a9a:Xn;}async[_0xbf377e(0x1fa)](_0x34f86a){var _0x5185c2=_0xbf377e;const _0x5ac47e=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x5185c2(0x4aa),'mentions':(await this[_0x5185c2(0x27d)][_0x5185c2(0x4e3)](_0x5ac47e,{'params':{'objectID':_0x34f86a['unitId'],'unitID':_0x34f86a[_0x5185c2(0x3d9)]}}))[_0x5185c2(0x3a2)][_0x5185c2(0x31f)][_0x5185c2(0x422)](_0x567312=>({'objectId':_0x567312['id'],'name':_0x567312[_0x5185c2(0x41b)][_0x5185c2(0x23d)],'metadata':{'icon':_0x567312[_0x5185c2(0x41b)]['avatar']},'label':_0x567312['subject']['name'],'objectType':_0x1aa237[_0x5185c2(0x385)]})),'metadata':{},'type':_0x1aa237[_0x5185c2(0x385)]}]};}};Ot=Jn([ai(0x0,_0x1c582e(_0xe9c879)),ai(0x1,_0x1c582e(_0x44ae9d))],Ot);var Zn=Object[_0xbf377e(0x359)],Qn=(_0x4e0634,_0x2797ec,_0x509b4e,_0x685419)=>{for(var _0x3a7f1c=_0x685419>0x1?void 0x0:_0x685419?Zn(_0x2797ec,_0x509b4e):_0x2797ec,_0x57092c=_0x4e0634['length']-0x1,_0x5dca6b;_0x57092c>=0x0;_0x57092c--)(_0x5dca6b=_0x4e0634[_0x57092c])&&(_0x3a7f1c=_0x5dca6b(_0x3a7f1c)||_0x3a7f1c);return _0x3a7f1c;},Ue=(_0x2bffed,_0x44ca92)=>(_0x223b7d,_0x25681f)=>_0x44ca92(_0x223b7d,_0x25681f,_0x2bffed);let ot=class extends _0x50936f{constructor(_0x2cb86e,_0x1c2343,_0x1715f3,_0x49c344,_0x4d1b90){var _0x3ee381=_0xbf377e;super(),this[_0x3ee381(0x223)]=_0x2cb86e,this[_0x3ee381(0x268)]=_0x1c2343,this['_permissionService']=_0x1715f3,this['_collaborationSessionService']=_0x49c344,this['_collaborationUIEventService']=_0x4d1b90,this['_initUnitPermissionChange'](),this[_0x3ee381(0x4af)]();}[_0xbf377e(0x4af)](){var _0x39da35=_0xbf377e;const _0xeec180=async _0x199ebb=>{var _0x2063d5=_0x1cff;(await this[_0x2063d5(0x2e3)][_0x2063d5(0x455)](_0x199ebb))[_0x2063d5(0x25d)][_0x2063d5(0x2fd)](_0x28ef92(_0x135d4b=>_0x135d4b['eventID']===_0x5899ec[_0x2063d5(0x448)]),_0x4d45ba(this[_0x2063d5(0x39f)]))['subscribe'](_0x12b3f0=>{var _0x5009ee=_0x2063d5;const _0x526338=_0x12b3f0,{reason:_0x1d9a88}=_0x526338[_0x5009ee(0x3bb)];this[_0x5009ee(0x264)]['emitEvent']({'id':ne[_0x5009ee(0x370)],'data':_0x1d9a88}),this[_0x5009ee(0x495)][_0x5009ee(0x410)](new _0xc85e7d(_0x199ebb)['id'],!0x1),this[_0x5009ee(0x2e3)]['closeSession'](_0x199ebb);});};_0x2df817(this[_0x39da35(0x268)][_0x39da35(0x3e3)](_0x4db421[_0x39da35(0x229)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4db421['UNIVER_DOC']))[_0x39da35(0x2fd)](_0x1ef428(_0x4c4438=>_0x4c4438['getUnitId']()),_0x28ef92(_0x6555e8=>!_0x78defc(_0x6555e8)),_0x4d45ba(this[_0x39da35(0x39f)]))['subscribe'](_0x25507c=>{_0xeec180(_0x25507c);});}[_0xbf377e(0x3ee)](){var _0x5b68f5=_0xbf377e;const _0x37d9a9=async _0x443246=>{var _0x212104=_0x1cff;const _0x5e84a2=await this[_0x212104(0x2e3)][_0x212104(0x455)](_0x443246),_0x43686a=this[_0x212104(0x223)]['get'](_0x966d12);_0x5e84a2[_0x212104(0x25d)][_0x212104(0x2fd)](_0x28ef92(_0xf2c91=>_0xf2c91[_0x212104(0x214)]===_0x5899ec[_0x212104(0x3a4)]),_0x4d45ba(this[_0x212104(0x39f)]))[_0x212104(0x251)](_0xe54c8c=>{var _0x44a5db=_0x212104;const _0x3855c2=_0xe54c8c,{objectId:_0x5138d8}=_0x3855c2['data'];_0x5138d8===_0x443246?_0x43686a[_0x44a5db(0x21f)](_0x443246):_0x43686a[_0x44a5db(0x2ed)](_0x443246,_0x5138d8);});};_0x2df817(this[_0x5b68f5(0x268)]['getTypeOfUnitAdded$'](_0x4db421[_0x5b68f5(0x229)]))[_0x5b68f5(0x2fd)](_0x1ef428(_0x5e6f00=>_0x5e6f00[_0x5b68f5(0x4c2)]()),_0x28ef92(_0x2b3c6e=>!_0x78defc(_0x2b3c6e)),_0x4d45ba(this['dispose$']))[_0x5b68f5(0x251)](_0x3c7ba2=>{_0x37d9a9(_0x3c7ba2);});}};ot=Qn([Ue(0x0,_0x1c582e(_0x268804)),Ue(0x1,_0x8ffa5d),Ue(0x2,_0xe07f13),Ue(0x3,_0x1c582e(Pe)),Ue(0x4,_0x1c582e(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x2b3b09,_0x4d4537,_0x317bac,_0x2cc3a0)=>{var _0x30a976=_0xbf377e;for(var _0x4dff81=_0x2cc3a0>0x1?void 0x0:_0x2cc3a0?er(_0x4d4537,_0x317bac):_0x4d4537,_0x42409d=_0x2b3b09[_0x30a976(0x234)]-0x1,_0x203c2a;_0x42409d>=0x0;_0x42409d--)(_0x203c2a=_0x2b3b09[_0x42409d])&&(_0x4dff81=_0x203c2a(_0x4dff81)||_0x4dff81);return _0x4dff81;},oi=(_0x54e36c,_0x5e33dd)=>(_0x1c6729,_0x2e4e31)=>_0x5e33dd(_0x1c6729,_0x2e4e31,_0x54e36c);let bt=class{constructor(_0x2b9232,_0x561e0a){var _0x3b3026=_0xbf377e;this['_configService']=_0x2b9232,this[_0x3b3026(0x367)]=_0x561e0a;}async[_0xbf377e(0x266)](_0x57d0de,_0x58cd84){var _0x29da36=_0xbf377e,_0x13bb77;const {unitID:_0x17c8f2,type:_0x3247b9,revision:_0x5671b7=0x0}=_0x58cd84,_0xf1e2e6=this[_0x29da36(0x360)]()+'/'+_0x3247b9+'/unit/'+_0x17c8f2+_0x29da36(0x464)+_0x5671b7,_0x48572e=(await this[_0x29da36(0x367)][_0x29da36(0x4e3)](_0xf1e2e6))['body'],_0x54a09a=(_0x13bb77=_0x48572e[_0x29da36(0x3d0)])==null?void 0x0:_0x13bb77[_0x29da36(0x34d)];if(_0x54a09a){const _0x3bb231=_0x54a09a==null?void 0x0:_0x54a09a[_0x29da36(0x316)],_0x1e1336=_0x3b6a78[_0x29da36(0x2f3)](_0x436c26(_0x3bb231));_0x54a09a[_0x29da36(0x316)]=_0x1e1336,Object[_0x29da36(0x452)](_0x54a09a['sheets'])[_0x29da36(0x250)](([,_0x20353a])=>{var _0x1a31d0=_0x29da36;const _0xb8bd24=_0x20353a[_0x1a31d0(0x316)],_0x3146f0=_0x3b6a78[_0x1a31d0(0x2f3)](_0x436c26(_0xb8bd24));_0x20353a[_0x1a31d0(0x316)]=_0x3146f0;});}return _0x48572e;}async[_0xbf377e(0x409)](_0x594add,_0x103d8a){var _0x40c294=_0xbf377e;const {unitID:_0x1f057f,type:_0x135b9d,blockID:_0x304fb2}=_0x103d8a,_0x1a9237=this[_0x40c294(0x365)]()+'/'+_0x135b9d+'/unit/'+_0x1f057f+'/block/'+_0x304fb2;return(await this['_httpService']['get'](_0x1a9237))[_0x40c294(0x3a2)];}async['getDeserializedSheetBlock'](_0x5cc56c,_0x2ba443){var _0x52952a=_0xbf377e;const {unitID:_0x28393b,type:_0x298dcd,blockID:_0x32e650}=_0x2ba443,_0x52e647=this[_0x52952a(0x365)]()+_0x52952a(0x4f9)+_0x298dcd+_0x52952a(0x20e)+_0x28393b+_0x52952a(0x4f9)+_0x32e650;return(await this[_0x52952a(0x367)][_0x52952a(0x4e3)](_0x52e647))[_0x52952a(0x3a2)];}async[_0xbf377e(0x3ff)](_0x433b4e,_0x507fa5){var _0x2ffb7d=_0xbf377e;const {unitID:_0x262484,type:_0x3dc96c,from:_0x16dd02,to:_0x5b0fcd}=_0x507fa5,_0x40d4bf=this[_0x2ffb7d(0x365)]()+'/'+_0x3dc96c+_0x2ffb7d(0x20e)+_0x262484+_0x2ffb7d(0x302)+_0x16dd02+_0x2ffb7d(0x332)+_0x5b0fcd;return(await this[_0x2ffb7d(0x367)][_0x2ffb7d(0x4e3)](_0x40d4bf))['body'];}[_0xbf377e(0x360)](){var _0x15358d=_0xbf377e,_0x4809fe;return(_0x4809fe=this[_0x15358d(0x457)]['getConfig'](vs))!=null?_0x4809fe:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x4e72d0=_0xbf377e,_0x294221;const _0x2a4c53=this[_0x4e72d0(0x457)]['getConfig'](K);return(_0x294221=_0x2a4c53==null?void 0x0:_0x2a4c53['snapshotServerUrl'])!=null?_0x294221:fs;}async['getResourcesRequest'](_0x792e66,_0x16ec18){var _0x278d2d=_0xbf377e;const _0x41e330='/universer-api/snapshot/'+_0x16ec18['type']+_0x278d2d(0x20e)+_0x16ec18['unitID']+_0x278d2d(0x382);return(await this[_0x278d2d(0x367)]['get'](_0x41e330,{'params':{'resourceId':JSON[_0x278d2d(0x25e)](_0x16ec18[_0x278d2d(0x25c)])}}))[_0x278d2d(0x3a2)];}['saveSnapshot'](){var _0x4bf7af=_0xbf377e;throw new Error(_0x4bf7af(0x4a3));}[_0xbf377e(0x3b3)](){var _0x3c465f=_0xbf377e;throw new Error(_0x3c465f(0x4a3));}[_0xbf377e(0x240)](){var _0x1c2918=_0xbf377e;throw new Error(_0x1c2918(0x4a3));}[_0xbf377e(0x3ad)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbf377e(0x39a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbf377e(0x420)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0xe9c879),oi(0x1,_0x1c582e(_0x44ae9d))],bt);var ir=Object[_0xbf377e(0x359)],sr=(_0x10196f,_0x1269e1,_0x281850,_0x485002)=>{var _0x422dad=_0xbf377e;for(var _0x8216c9=_0x485002>0x1?void 0x0:_0x485002?ir(_0x1269e1,_0x281850):_0x1269e1,_0x46bf50=_0x10196f[_0x422dad(0x234)]-0x1,_0x2c9bc4;_0x46bf50>=0x0;_0x46bf50--)(_0x2c9bc4=_0x10196f[_0x46bf50])&&(_0x8216c9=_0x2c9bc4(_0x8216c9)||_0x8216c9);return _0x8216c9;},Ae=(_0x23be32,_0x2e8008)=>(_0x523d13,_0x41ede3)=>_0x2e8008(_0x523d13,_0x41ede3,_0x23be32);let yt=class extends _0x5f87cb{constructor(_0x3c997e,_0x27af9e,_0x5dae28,_0x10c89,_0x11c44c){super(_0x3c997e,_0x27af9e,_0x5dae28),this['_transformService']=_0x10c89,this['_logService']=_0x11c44c;}[_0xbf377e(0x46b)](_0xdfc3ac,_0x519714){var _0x122b5c=_0xbf377e;const _0x3cebec=this['_getUndoStack'](_0xdfc3ac);if(_0x3cebec)try{const _0x373199=this[_0x122b5c(0x259)](_0x3cebec,_0x519714);this[_0x122b5c(0x411)](_0xdfc3ac,_0x373199);}catch(_0x5f3923){this['_logService'][_0x122b5c(0x215)](_0x122b5c(0x39c),_0x5f3923),this[_0x122b5c(0x3c4)](_0xdfc3ac);}const _0x15f187=this['_getRedoStack'](_0xdfc3ac);if(_0x15f187)try{const _0x2f72f2=this[_0x122b5c(0x259)](_0x15f187,_0x519714);this['_substituteRedoStack'](_0xdfc3ac,_0x2f72f2);}catch(_0x493042){this[_0x122b5c(0x3fb)][_0x122b5c(0x215)](_0x493042),this['_clearRedo'](_0xdfc3ac);}}[_0xbf377e(0x3c4)](_0x33f426){var _0x2cc792=_0xbf377e;const _0x23e5d3=this[_0x2cc792(0x443)](_0x33f426);_0x23e5d3&&(_0x23e5d3[_0x2cc792(0x234)]=0x0,this[_0x2cc792(0x2b7)]());}['_clearRedo'](_0x194c70){var _0x5b839e=_0xbf377e;const _0x5d89f8=this[_0x5b839e(0x221)](_0x194c70);_0x5d89f8&&(_0x5d89f8[_0x5b839e(0x234)]=0x0,this[_0x5b839e(0x2b7)]());}['_substituteUndoStack'](_0x838429,_0x3394e4){var _0x39c209=_0xbf377e;this['_undoStacks'][_0x39c209(0x2f7)](_0x838429,_0x3394e4),this['_updateStatus']();}[_0xbf377e(0x3b5)](_0x3ca1de,_0x1aaf3e){var _0x8bf882=_0xbf377e;this[_0x8bf882(0x4d4)][_0x8bf882(0x2f7)](_0x3ca1de,_0x1aaf3e),this[_0x8bf882(0x2b7)]();}[_0xbf377e(0x259)](_0x4a3f10,_0x4d453f){var _0xe32a6a=_0xbf377e;const _0x29ddd1=[];let _0x46e28e=_0x4d453f,_0x4bbceb=_0x4d453f;for(let _0x40c019=_0x4a3f10[_0xe32a6a(0x234)]-0x1;_0x40c019>=0x0;_0x40c019--){const {unitID:_0x425f39,undoMutations:_0x2b5c48,redoMutations:_0x43eba7}=_0x4a3f10[_0x40c019],_0x433fcb=this[_0xe32a6a(0x4d6)][_0xe32a6a(0x238)](_0x46e28e,_0x2b5c48),_0x3d9f55=this[_0xe32a6a(0x4d6)][_0xe32a6a(0x238)](_0x4bbceb,_0x43eba7);if(_0x1a63b6(_0x433fcb)||_0x1a63b6(_0x3d9f55)){this[_0xe32a6a(0x3fb)]['error']('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x433fcb,_0x3d9f55);break;}_0x46e28e=_0x433fcb[_0xe32a6a(0x27c)],_0x4bbceb=_0x3d9f55[_0xe32a6a(0x27c)],_0x29ddd1['push']({'unitID':_0x425f39,'undoMutations':_0x433fcb[_0xe32a6a(0x3cd)],'redoMutations':_0x3d9f55[_0xe32a6a(0x3cd)]});}return _0x29ddd1[_0xe32a6a(0x325)]();}};yt=sr([Ae(0x0,_0x8ffa5d),Ae(0x1,_0xc02145),Ae(0x2,_0x282538),Ae(0x3,_0xf8efc),Ae(0x4,_0x11790f)],yt);var nr=Object[_0xbf377e(0x2cc)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x40ef7a,_0x503eab,_0x14b100)=>_0x503eab in _0x40ef7a?nr(_0x40ef7a,_0x503eab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14b100}):_0x40ef7a[_0x503eab]=_0x14b100,or=(_0x5c0677,_0x10b608,_0x43281a,_0x3528b9)=>{var _0x3bcc20=_0xbf377e;for(var _0x261a34=_0x3528b9>0x1?void 0x0:_0x3528b9?rr(_0x10b608,_0x43281a):_0x10b608,_0x50f48f=_0x5c0677[_0x3bcc20(0x234)]-0x1,_0x4bbd68;_0x50f48f>=0x0;_0x50f48f--)(_0x4bbd68=_0x5c0677[_0x50f48f])&&(_0x261a34=_0x4bbd68(_0x261a34)||_0x261a34);return _0x261a34;},mt=(_0x26a7a0,_0x1ccea9)=>(_0x19cf3e,_0x2b213c)=>_0x1ccea9(_0x19cf3e,_0x2b213c,_0x26a7a0),cr=(_0x57f86a,_0x5e9f17,_0x424acd)=>ar(_0x57f86a,_0x5e9f17+'',_0x424acd);const hr=_0xbf377e(0x230);let Nt=class extends _0x4ce592{constructor(_0xe915d3,_0x388bc3,_0x250d12,_0x4d48be){var _0x42ac4f=_0xbf377e;super(),N(this,_0x42ac4f(0x4f8)),(this[_0x42ac4f(0x3fb)]=_0x388bc3,this[_0x42ac4f(0x223)]=_0x250d12,this[_0x42ac4f(0x457)]=_0x4d48be);const {..._0x322d18}=_0x7ea52c({},Os,_0xe915d3);if(!_0x322d18[_0x42ac4f(0x3e9)])throw new Error(_0x42ac4f(0x47d));this['_config']=_0x322d18,this[_0x42ac4f(0x457)][_0x42ac4f(0x237)](K,_0x322d18);}[_0xbf377e(0x38c)](){var _0x325b15=_0xbf377e;this[_0x325b15(0x3cf)](),this[_0x325b15(0x247)]();}[_0xbf377e(0x3cf)](){var _0x3f6f91=_0xbf377e,_0xed7248,_0x2bed0f;this[_0x3f6f91(0x223)][_0x3f6f91(0x255)](_0x26e538)&&this[_0x3f6f91(0x3fb)][_0x3f6f91(0x215)](_0x3f6f91(0x324),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2ddb4b=_0x4dcd6c([[_0x26e538,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x3f6f91(0x4f8)][_0x3f6f91(0x3e9)]}],[_0x35d6f9,{'useClass':bt}],[_0x45bf45,{'useClass':Tt}],[_0x459fa1,{'useClass':Rt}],[_0x241c1d,{'useClass':Ot}],[nt],[It]],(_0xed7248=this[_0x3f6f91(0x4f8)])==null?void 0x0:_0xed7248[_0x3f6f91(0x4ab)]);if(!((_0x2bed0f=this['_config'])!=null&&_0x2bed0f['enableSingleActiveInstanceLock'])){const _0x1b42db=_0x2ddb4b['findIndex'](([_0x366a48])=>_0x366a48===ht);_0x1b42db!==-0x1&&_0x2ddb4b[_0x3f6f91(0x228)](_0x1b42db,0x1);}_0x2fa2a5(this['_injector'],_0x2ddb4b);}[_0xbf377e(0x247)](){var _0x2bfac7=_0xbf377e,_0x4172df,_0x2ea46c,_0x222c98;this[_0x2bfac7(0x223)][_0x2bfac7(0x4e3)](_0x44ae9d)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2e5e2d({'maxParallel':0x6})}),(_0x4172df=this[_0x2bfac7(0x4f8)])!=null&&_0x4172df[_0x2bfac7(0x2c7)]||(_0x2ea46c=this[_0x2bfac7(0x223)][_0x2bfac7(0x4e3)](J,_0x1c434c[_0x2bfac7(0x2c9)]))==null||_0x2ea46c[_0x2bfac7(0x388)](),(_0x222c98=this[_0x2bfac7(0x4f8)])!=null&&_0x222c98[_0x2bfac7(0x294)]&&_0x144c72(this[_0x2bfac7(0x223)],[[rt]]),_0x144c72(this[_0x2bfac7(0x223)],[[at],[nt],[ot]]);}};cr(Nt,_0xbf377e(0x2f0),hr),Nt=or([_0x20d5d3(_0x243f38,_0x471690),mt(0x1,_0x11790f),mt(0x2,_0x1c582e(_0x268804)),mt(0x3,_0xe9c879)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
|
1
|
+
var _0x3f33cb=_0x2cdc;(function(_0x38716a,_0x2dee65){var _0x55b5c5=_0x2cdc,_0x5924e2=_0x38716a();while(!![]){try{var _0x5e5e9e=parseInt(_0x55b5c5(0x271))/0x1*(parseInt(_0x55b5c5(0x326))/0x2)+parseInt(_0x55b5c5(0x1bc))/0x3+parseInt(_0x55b5c5(0x277))/0x4*(-parseInt(_0x55b5c5(0x15e))/0x5)+parseInt(_0x55b5c5(0xd3))/0x6*(parseInt(_0x55b5c5(0x139))/0x7)+-parseInt(_0x55b5c5(0xfb))/0x8+parseInt(_0x55b5c5(0x3a3))/0x9+-parseInt(_0x55b5c5(0x231))/0xa;if(_0x5e5e9e===_0x2dee65)break;else _0x5924e2['push'](_0x5924e2['shift']());}catch(_0x3b4bd6){_0x5924e2['push'](_0x5924e2['shift']());}}}(_0x3cb4,0xb8d40));var yi=Object['defineProperty'],Ni=(_0x1ac931,_0x2a5895,_0x4e8586)=>_0x2a5895 in _0x1ac931?yi(_0x1ac931,_0x2a5895,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e8586}):_0x1ac931[_0x2a5895]=_0x4e8586,N=(_0x2d9d76,_0x4bfaa7,_0x65c21a)=>Ni(_0x2d9d76,typeof _0x4bfaa7!=_0x3f33cb(0xfc)?_0x4bfaa7+'':_0x4bfaa7,_0x65c21a);import{createIdentifier as _0x43bfb9,Inject as _0x289be2,Injector as _0x20dc98,IConfigService as _0x3594ab,ILogService as _0x575f9c,Disposable as _0x15e2a7,DisposableCollection as _0x24e867,toDisposable as _0xe5545b,IUniverInstanceService as _0x2366c1,UserManagerService as _0x292397,UniverInstanceType as _0x26aafa,Optional as _0x3d442c,RxDisposable as _0x4447d4,Tools as _0x31c009,Rectangle as _0x2a7e38,ICommandService as _0x587c6c,JSONX as _0x489e09,CommandType as _0x11cd3f,IUndoRedoService as _0x1f5600,IPermissionService as _0x1a3b09,LocaleService as _0x4c9010,sequenceExecute as _0x23dea5,Workbook as _0x5de3cd,generateRandomId as _0x39a79d,MentionType as _0xdc7560,isInternalEditorID as _0x5ad6a7,LocalUndoRedoService as _0x4a4674,IContextService as _0x3a1521,DependentOn as _0x1cf966,Plugin as _0xa33e9b,merge as _0x1cbe41,mergeOverrideWithDependencies as _0x3e21f6,IAuthzIoService as _0x4ecd2c,IMentionIOService as _0x1196e0,registerDependencies as _0x1086a2,Quantity as _0x2a7a98,touchDependencies as _0xcecd63}from'@univerjs/core';import{Subject as _0x11e6d4,merge as _0x3f4b1e,of as _0x4833a9,BehaviorSubject as _0x124502,takeUntil as _0x45a280,ReplaySubject as _0x281ac7,take as _0x344dee,map as _0x2b38ff,shareReplay as _0x1a4724,firstValueFrom as _0x2a469a,concatMap as _0x3db289}from'rxjs';import{map as _0x55fc2c,take as _0x288121,filter as _0x27f22b,delay as _0x55be58,takeUntil as _0x314b69}from'rxjs/operators';import{CollaborationEvent as _0x7f38ce,ISnapshotServerService as _0x56f565,parseChangesetToProtocol as _0x2270a8,ITransformService as _0x206be0,isTransformMutationsWithChangesetSuccess as _0x12b764,mapDocumentTypeToUniverType as _0x153148,RevisionService as _0x1b45af,isTransformChangesetsSuccess as _0x3e130b,CompressMutationService as _0x21a1eb,parseProtocolChangeset as _0x4a4f2e,uuidv4 as _0x2de936,SnapshotService as _0x19cd48,textEncoder as _0x4925e3,b64DecodeUnicode as _0x5d4d0d,isTransformMutationsWithChangesetFailure as _0x18adc8,UniverCollaborationPlugin as _0x30f392}from'@univerjs-pro/collaboration';import{HTTPService as _0x202828,ISocketService as _0x507d43,MergeInterceptorFactory as _0x1a594e,HTTPRequest as _0xe13e0d,UniverNetworkPlugin as _0x17a102,ThresholdInterceptorFactory as _0x31cf31}from'@univerjs/network';import{ITelemetryService as _0x213ec8}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x29a1a4}from'@univerjs/docs';import{SheetsSelectionsService as _0x4f48b0,SetSelectionsOperation as _0x120755,InsertSheetMutation as _0x45793f,EmptyMutation as _0x41cd1d,WorkbookEditablePermission as _0x158a74,SheetPermissionInitController as _0x4c96f0}from'@univerjs/sheets';import{ImageSourceType as _0x4efb65,ImageUploadStatusType as _0x578d57,IImageIoService as _0x5c02e2}from'@univerjs/drawing';import{getGlobalObject as _0xc4a606}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x3f33cb(0x114),ps=0x7d0,ms=_0x3f33cb(0x24f),Ir=_0x3f33cb(0x2f9),gs=_0x3f33cb(0xf8),Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0x3f33cb(0x295),Ts=0x3,Tr=_0x3f33cb(0x317),Cr=0x3e8,Cs=_0x3f33cb(0x22f),Rs=_0x3f33cb(0x1f0),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0x3f33cb(0x33f);var vi=(_0x5bdacc=>(_0x5bdacc[_0x5bdacc[_0x3f33cb(0x273)]=0x0]=_0x3f33cb(0x273),_0x5bdacc[_0x5bdacc['OK']=0x1]='OK',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x353)]=0x2]=_0x3f33cb(0x353),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x22e)]=0x3]=_0x3f33cb(0x22e),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2fd)]=0x4]=_0x3f33cb(0x2fd),_0x5bdacc[_0x5bdacc[_0x3f33cb(0xe0)]=0x5]=_0x3f33cb(0xe0),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1ec)]=0x6]=_0x3f33cb(0x1ec),_0x5bdacc[_0x5bdacc[_0x3f33cb(0xc0)]=0x7]=_0x3f33cb(0xc0),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x31e)]=0x8]=_0x3f33cb(0x31e),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x24c)]=0x9]='COMPLETION_FINISHED',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xf0)]=0xa]=_0x3f33cb(0xf0),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2f1)]=0xb]=_0x3f33cb(0x2f1),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x267)]=0xc]=_0x3f33cb(0x267),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x147)]=0xd]=_0x3f33cb(0x147),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x240)]=0xe]=_0x3f33cb(0x240),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x29d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5bdacc[_0x5bdacc['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2aa)]=0x1772]=_0x3f33cb(0x2aa),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1a7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x258)]=0x1b59]=_0x3f33cb(0x258),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x34d)]=0x1b5a]=_0x3f33cb(0x34d),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1ae)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x229)]=0x1b5c]=_0x3f33cb(0x229),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x111)]=0x1b5d]=_0x3f33cb(0x111),_0x5bdacc[_0x5bdacc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x250)]=0x2329]=_0x3f33cb(0x250),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x39c)]=0x232a]=_0x3f33cb(0x39c),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x127)]=0x232b]=_0x3f33cb(0x127),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2a9)]=0x232c]=_0x3f33cb(0x2a9),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2d4)]=0x232d]=_0x3f33cb(0x2d4),_0x5bdacc[_0x5bdacc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3f33cb(0x146),_0x5bdacc[_0x5bdacc['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3f33cb(0x191),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1e6)]=0x2713]=_0x3f33cb(0x1e6),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xea)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xeb)]=0x271b]=_0x3f33cb(0xeb),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x32b)]=0x271c]=_0x3f33cb(0x32b),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1ff)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x245)]=0x271e]=_0x3f33cb(0x245),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x13a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xa8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x150)]=0x2af9]=_0x3f33cb(0x150),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x25f)]=0x2ee1]=_0x3f33cb(0x25f),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2c7)]=0x2ee2]=_0x3f33cb(0x2c7),_0x5bdacc[_0x5bdacc['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xf2)]=0x2ee4]=_0x3f33cb(0xf2),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x138)]=0x2ee5]=_0x3f33cb(0x138),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1e2)]=0x32c9]=_0x3f33cb(0x1e2),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1d8)]=0x32ca]=_0x3f33cb(0x1d8),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x30b)]=0x32cb]=_0x3f33cb(0x30b),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1b9)]=-0x1]=_0x3f33cb(0x1b9),_0x5bdacc))(vi||{}),Z=(_0x50ceb3=>(_0x50ceb3[_0x50ceb3['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x50ceb3[_0x50ceb3['UNIVER_DOC']=0x1]=_0x3f33cb(0x387),_0x50ceb3[_0x50ceb3[_0x3f33cb(0xce)]=0x2]=_0x3f33cb(0xce),_0x50ceb3[_0x50ceb3['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x50ceb3[_0x50ceb3['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x50ceb3[_0x50ceb3[_0x3f33cb(0x1b9)]=-0x1]=_0x3f33cb(0x1b9),_0x50ceb3))(Z||{}),F=(_0x5f1797=>(_0x5f1797[_0x5f1797[_0x3f33cb(0x35d)]=0x0]='UNKNOWN_CMD',_0x5f1797[_0x5f1797[_0x3f33cb(0x265)]=0x1]=_0x3f33cb(0x265),_0x5f1797[_0x5f1797[_0x3f33cb(0x389)]=0x2]=_0x3f33cb(0x389),_0x5f1797[_0x5f1797['LEAVE']=0x3]=_0x3f33cb(0xb4),_0x5f1797[_0x5f1797[_0x3f33cb(0x1cf)]=0x4]='INGEST',_0x5f1797[_0x5f1797[_0x3f33cb(0x256)]=0x5]='HEARTBEAT',_0x5f1797[_0x5f1797[_0x3f33cb(0x1b0)]=0x6]=_0x3f33cb(0x1b0),_0x5f1797[_0x5f1797[_0x3f33cb(0x1b9)]=-0x1]=_0x3f33cb(0x1b9),_0x5f1797))(F||{}),pe=(_0x39c53b=>(_0x39c53b[_0x39c53b[_0x3f33cb(0x11d)]=0x0]=_0x3f33cb(0x11d),_0x39c53b[_0x39c53b['OK']=0x1]='OK',_0x39c53b[_0x39c53b['FAIL']=0x2]=_0x3f33cb(0xde),_0x39c53b[_0x39c53b[_0x3f33cb(0x10d)]=0x3e9]='JOIN_ROOM_FULL',_0x39c53b[_0x39c53b[_0x3f33cb(0x29f)]=0x3ea]=_0x3f33cb(0x29f),_0x39c53b[_0x39c53b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x3f33cb(0x1a9),_0x39c53b[_0x39c53b[_0x3f33cb(0x9e)]=0x3ec]=_0x3f33cb(0x9e),_0x39c53b[_0x39c53b[_0x3f33cb(0x1b9)]=-0x1]='UNRECOGNIZED',_0x39c53b))(pe||{}),pi=(_0x543ce2=>(_0x543ce2[_0x543ce2[_0x3f33cb(0x18b)]=0x0]='Undefined',_0x543ce2[_0x543ce2['HttpImport']=0x1]=_0x3f33cb(0x193),_0x543ce2[_0x543ce2[_0x3f33cb(0xf5)]=0x2]=_0x3f33cb(0xf5),_0x543ce2[_0x543ce2[_0x3f33cb(0x244)]=0x3]=_0x3f33cb(0x244),_0x543ce2[_0x543ce2[_0x3f33cb(0x190)]=0x4]=_0x3f33cb(0x190),_0x543ce2[_0x543ce2[_0x3f33cb(0x2d2)]=0x5]=_0x3f33cb(0x2d2),_0x543ce2[_0x543ce2['UNRECOGNIZED']=-0x1]=_0x3f33cb(0x1b9),_0x543ce2))(pi||{});const K=_0x3f33cb(0x2fb),Os={};var ne=(_0x35336c=>(_0x35336c[_0x3f33cb(0x1b7)]='OTHER_CLIENT_EDITING',_0x35336c[_0x3f33cb(0x22e)]=_0x3f33cb(0x22e),_0x35336c[_0x3f33cb(0x99)]='CONFLICT',_0x35336c['CLOSE_ROOM']=_0x3f33cb(0x2ac),_0x35336c['JOIN_ROOM_FAILED']=_0x3f33cb(0x101),_0x35336c[_0x3f33cb(0x9c)]=_0x3f33cb(0x9c),_0x35336c[_0x3f33cb(0x2ec)]=_0x3f33cb(0x2ec),_0x35336c['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x35336c))(ne||{});class ve{constructor(){var _0x180b80=_0x3f33cb;N(this,_0x180b80(0xb6),new _0x11e6d4()),N(this,_0x180b80(0x173),this['_event$'][_0x180b80(0x350)]());}['emitEvent'](_0x5ee01e){var _0x71f260=_0x3f33cb;this[_0x71f260(0xb6)][_0x71f260(0x38f)](_0x5ee01e);}}const bs=_0x43bfb9(_0x3f33cb(0x346));function ys(_0x191c36){var _0x55fc98=_0x3f33cb,_0x12f3bc,_0x116ea7,_0x405aa7,_0x4717c6,_0xb9b057;const _0x2d1b05=_0x191c36[_0x55fc98(0x38e)],_0x360eda=JSON[_0x55fc98(0x2cc)](_0x2d1b05);switch(_0x360eda[_0x55fc98(0x343)]){case F['HEARTBEAT']:case F[_0x55fc98(0x265)]:{const _0xd15590=_0x360eda[_0x55fc98(0x25c)];return{..._0x360eda,'data':_0xd15590,'cmd':_0x360eda['cmd']};}case F['JOIN']:{const _0x235c0b=_0x360eda['joinRsp'];return{..._0x360eda,'data':_0x235c0b,'cmd':_0x360eda[_0x55fc98(0x343)]};}case F[_0x55fc98(0x1b0)]:{const _0x3b08ef=_0x360eda[_0x55fc98(0x156)];switch(_0x3b08ef[_0x55fc98(0x2d6)]){case _0x7f38ce[_0x55fc98(0x123)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x12f3bc=_0x3b08ef[_0x55fc98(0x2a6)])==null?void 0x0:_0x12f3bc['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0xef)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x116ea7=_0x3b08ef[_0x55fc98(0x1ea)])==null?void 0x0:_0x116ea7['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x1fc)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x405aa7=_0x3b08ef[_0x55fc98(0x2f5)])==null?void 0x0:_0x405aa7['cs']},'cmd':_0x360eda['cmd']};case _0x7f38ce[_0x55fc98(0x2ee)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x4717c6=_0x3b08ef['csRejEvent'])==null?void 0x0:_0x4717c6['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x321)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0xb9b057=_0x3b08ef[_0x55fc98(0x22b)])==null?void 0x0:_0xb9b057['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce['UPDATE_CURSOR']:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0xcd)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x32c)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x262)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce['USERS_LEAVE']:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef['leaveEvent']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x311)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x125)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x23c)]:case _0x7f38ce['LIVESHARE_OPERATION']:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x1f3)]},'cmd':_0x360eda['cmd']};case _0x7f38ce[_0x55fc98(0x26a)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x125)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce['MSG_FOR_ERROR']:return{..._0x360eda,'data':_0x3b08ef,'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x388)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x1b1)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x332)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x38a)]},'cmd':_0x360eda['cmd']};case _0x7f38ce[_0x55fc98(0xd5)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x174)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x2f0)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0xed)]},'cmd':_0x360eda[_0x55fc98(0x343)]};default:return _0x360eda;}}default:return _0x360eda;}}function Ns(_0x573cab){var _0xac4482=_0x3f33cb;switch(_0x573cab[_0xac4482(0x343)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0xac4482(0x1df)]({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)]});case F[_0xac4482(0x1cf)]:{let _0x4d61ab;switch(_0x573cab[_0xac4482(0x38e)][_0xac4482(0x2d6)]){case _0x7f38ce[_0xac4482(0x2f8)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x2f8)],'updateCursorEvent':_0x573cab['data'][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x289)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x289)],'leaveEvent':_0x573cab['data']['data']};break;}case _0x7f38ce[_0xac4482(0x32c)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x32c)],'joinEvent':_0x573cab[_0xac4482(0x38e)][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x311)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x311)],'liveShareNewHost':_0x573cab[_0xac4482(0x38e)]['data']};break;}case _0x7f38ce['LIVESHARE_OPERATION']:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x19e)],'liveShareOperation':_0x573cab[_0xac4482(0x38e)][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x26a)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x26a)],'liveShareTerminate':_0x573cab['data'][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x1f4)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x1f4)],'liveShareRequestHost':_0x573cab['data'][_0xac4482(0x38e)]};break;}case _0x7f38ce['LIVESHARE_FETCH_OPERATIONS']:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x23c)]};break;}default:_0x4d61ab={'eventID':_0x573cab[_0xac4482(0x38e)][_0xac4482(0x2d6)]};}return JSON[_0xac4482(0x1df)]({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)],'collaMsg':_0x4d61ab});}case F[_0xac4482(0x389)]:return JSON['stringify']({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)],'joinReq':_0x573cab[_0xac4482(0x38e)]});case F[_0xac4482(0xb4)]:return JSON[_0xac4482(0x1df)]({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)],'leaveReq':_0x573cab[_0xac4482(0x38e)]});default:throw new Error(_0xac4482(0x2f3));}}var Ds=Object['getOwnPropertyDescriptor'],Us=(_0x1c023c,_0x24369c,_0x4033d5,_0x5235a0)=>{for(var _0x4d173b=_0x5235a0>0x1?void 0x0:_0x5235a0?Ds(_0x24369c,_0x4033d5):_0x24369c,_0x2e3414=_0x1c023c['length']-0x1,_0x147029;_0x2e3414>=0x0;_0x2e3414--)(_0x147029=_0x1c023c[_0x2e3414])&&(_0x4d173b=_0x147029(_0x4d173b)||_0x4d173b);return _0x4d173b;},De=(_0x1eef5e,_0x36ae25)=>(_0x4a5b0d,_0x103b44)=>_0x36ae25(_0x4a5b0d,_0x103b44,_0x1eef5e);const mi=_0x43bfb9(_0x3f33cb(0x120));function As(_0x1a0145,_0x34c73d,_0x2bc097){var _0x595628=_0x3f33cb;return _0x1a0145+'/'+_0x34c73d+_0x595628(0x144)+_0x2bc097+_0x595628(0x308);}let Ft=class extends _0x15e2a7{constructor(_0x257121,_0x477f7d,_0x54648f,_0x5bda9a,_0x288e5c){var _0x5595fd=_0x3f33cb;super(),this[_0x5595fd(0xee)]=_0x257121,this[_0x5595fd(0x141)]=_0x477f7d,this['_configService']=_0x54648f,this[_0x5595fd(0x259)]=_0x5bda9a,this[_0x5595fd(0x19a)]=_0x288e5c;}[_0x3f33cb(0x358)](_0x2fa536){var _0x47cecd=_0x3f33cb;const _0x3a5db6=this[_0x47cecd(0xee)][_0x47cecd(0x34f)](_0x507d43);if(!_0x3a5db6)throw new Error(_0x47cecd(0x100));const _0x10c568=_0x3a5db6[_0x47cecd(0x348)](_0x2fa536);if(!_0x10c568)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x318dd6=new _0x24e867(),_0x3215d5=new _0x11e6d4();_0x318dd6[_0x47cecd(0x130)](_0x10c568[_0x47cecd(0x105)][_0x47cecd(0xd2)](_0x4c7574=>_0x3215d5[_0x47cecd(0x38f)](_0x4c7574))),_0x318dd6[_0x47cecd(0x130)](_0xe5545b(()=>_0x3215d5[_0x47cecd(0x2a0)]()));const _0x207356=new _0x11e6d4();_0x318dd6[_0x47cecd(0x130)](_0x10c568[_0x47cecd(0x34e)][_0x47cecd(0xd2)](_0x2f6fa4=>_0x207356[_0x47cecd(0x38f)](_0x2f6fa4))),_0x318dd6[_0x47cecd(0x130)](_0xe5545b(()=>_0x207356[_0x47cecd(0x2a0)]()));const _0x188cab=new _0x11e6d4();_0x318dd6[_0x47cecd(0x130)](_0x10c568[_0x47cecd(0x39a)][_0x47cecd(0xd2)](_0xc31660=>{var _0x2a73c5=_0x47cecd;const _0x191509=ys(_0xc31660);_0x188cab[_0x2a73c5(0x38f)](_0x191509);})),_0x318dd6[_0x47cecd(0x130)](_0xe5545b(()=>_0x188cab['complete']()));let _0x462f15;const _0x2d1c1f=()=>{var _0x2f890d=_0x47cecd;_0x207356[_0x2f890d(0x38f)](new Event(_0x2f890d(0xc4))),_0x3215d5[_0x2f890d(0x38f)](new Event(_0x2f890d(0xc4))),_0x462f15[_0x2f890d(0x15c)]();};return _0x462f15={'memberID':'','close$':_0x3215d5[_0x47cecd(0x350)](),'error$':_0x207356[_0x47cecd(0x350)](),'open$':_0x10c568[_0x47cecd(0x322)],'message$':_0x188cab['asObservable'](),'send':_0x148b69=>{var _0x21a964=_0x47cecd;if(_0x148b69[_0x21a964(0x343)]===F[_0x21a964(0x1cf)]){if(_0x148b69[_0x21a964(0x38e)][_0x21a964(0x2d6)]===_0x7f38ce[_0x21a964(0x1f9)]){this[_0x21a964(0x154)](_0x462f15,_0x148b69[_0x21a964(0x38e)])['catch'](_0xbd49c=>{this['_logService']['error'](_0xbd49c),_0x2d1c1f();});return;}if(_0x148b69['data'][_0x21a964(0x2d6)]===_0x7f38ce[_0x21a964(0xd9)]){const _0x3aa488=_0x148b69[_0x21a964(0x38e)];this[_0x21a964(0x203)](_0x3aa488)[_0x21a964(0x278)](_0xf85b59=>{var _0x357d0a=_0x21a964;_0x188cab[_0x357d0a(0x38f)]({'cmd':F[_0x357d0a(0x1b0)],'code':pe['OK'],'routeKey':_0x3aa488[_0x357d0a(0x38e)]['unitID'],'routeType':'','data':{'eventID':_0x7f38ce[_0x357d0a(0x1bb)],'data':{'changesets':_0xf85b59}}});})[_0x21a964(0xd4)](_0xe329e5=>{this['_logService']['error'](_0xe329e5),_0x2d1c1f();});return;}}_0x10c568[_0x21a964(0x337)](Ns(_0x148b69));},'close':()=>{var _0x1d8cc2=_0x47cecd;_0x10c568[_0x1d8cc2(0x15c)](),_0x318dd6[_0x1d8cc2(0x16d)]();}},_0x462f15;}async['_submitChangeset'](_0x1910d3,_0x2068fc){var _0x5c77ee=_0x3f33cb,_0x343d18;const {unitType:_0x276940,unitID:_0xc9e683,changeset:_0x58bf8a}=_0x2068fc[_0x5c77ee(0x38e)],_0x21ba3c={'unitID':_0xc9e683,'memberID':_0x1910d3[_0x5c77ee(0x1bd)],'type':_0x276940,'changeset':_0x2270a8(_0x58bf8a)},_0x3eb8a9=this[_0x5c77ee(0x27e)]['getConfig'](K),_0x1fdcae=As((_0x343d18=_0x3eb8a9==null?void 0x0:_0x3eb8a9[_0x5c77ee(0x180)])!=null?_0x343d18:Cs,_0x276940,_0xc9e683);try{await this[_0x5c77ee(0x141)][_0x5c77ee(0x10c)](_0x1fdcae,{'body':_0x21ba3c});}catch(_0x4ba434){throw this[_0x5c77ee(0x259)]['error'](_0x5c77ee(0xbc),_0x5c77ee(0x21d)),_0x4ba434;}}async['_fetchMissChangesets'](_0x3cb509){var _0x239175=_0x3f33cb;const {unitID:_0x2d1cca,from:_0x47359d,to:_0x534703,unitType:_0xf6e7ca}=_0x3cb509['data'];return(await this[_0x239175(0x19a)][_0x239175(0x264)]({'metadata':void 0x0},{'unitID':_0x2d1cca,'type':_0xf6e7ca,'from':_0x47359d,'to':_0x534703}))[_0x239175(0x10a)];}};Ft=Us([De(0x0,_0x289be2(_0x20dc98)),De(0x1,_0x289be2(_0x202828)),De(0x2,_0x3594ab),De(0x3,_0x575f9c),De(0x4,_0x56f565)],Ft);const ws=_0x3f33cb(0x275);function Ps(_0x1c8ff0){var _0x4bd7eb=_0x3f33cb;return JSON[_0x4bd7eb(0x1df)](_0x1c8ff0)[_0x4bd7eb(0x2f6)];}class gi{constructor(){var _0x3db6e3=_0x3f33cb;N(this,_0x3db6e3(0x34a),new _0x11e6d4()),N(this,_0x3db6e3(0x24d),this[_0x3db6e3(0x34a)][_0x3db6e3(0x350)]());}[_0x3f33cb(0x33b)](_0x561c4f){var _0x2cf80f=_0x3f33cb;this[_0x2cf80f(0x34a)][_0x2cf80f(0x38f)](_0x561c4f);}}var Ms=Object['getOwnPropertyDescriptor'],Ls=(_0x3ecabe,_0x591e9a,_0x5ba18a,_0x448777)=>{for(var _0x3a9d5b=_0x448777>0x1?void 0x0:_0x448777?Ms(_0x591e9a,_0x5ba18a):_0x591e9a,_0x324645=_0x3ecabe['length']-0x1,_0x369905;_0x324645>=0x0;_0x324645--)(_0x369905=_0x3ecabe[_0x324645])&&(_0x3a9d5b=_0x369905(_0x3a9d5b)||_0x3a9d5b);return _0x3a9d5b;},Vt=(_0x2a02a8,_0x2e50d0)=>(_0x32b16f,_0x3bcb6e)=>_0x2e50d0(_0x32b16f,_0x3bcb6e,_0x2a02a8);let we=class extends _0x15e2a7{constructor(_0x3b5df5,_0x5dab90){var _0x3b098e=_0x3f33cb;super(),N(this,'_roomMembers',new Map()),N(this,_0x3b098e(0xc6),new _0x11e6d4()),(this['_univerInstanceService']=_0x3b5df5,this[_0x3b098e(0xdc)]=_0x5dab90,this[_0x3b098e(0x303)](_0x3f4b1e(this[_0x3b098e(0x198)]['getTypeOfUnitDisposed$'](_0x26aafa[_0x3b098e(0xce)])[_0x3b098e(0x2b6)](_0x55fc2c(_0x5b131d=>_0x5b131d[_0x3b098e(0x324)]())),this[_0x3b098e(0x198)][_0x3b098e(0x15b)](_0x26aafa['UNIVER_DOC'])[_0x3b098e(0x2b6)](_0x55fc2c(_0x463dd5=>_0x463dd5[_0x3b098e(0x324)]())),this[_0x3b098e(0x198)][_0x3b098e(0x15b)](_0x26aafa[_0x3b098e(0x212)])['pipe'](_0x55fc2c(_0x2fbbd4=>_0x2fbbd4['getUnitId']())))[_0x3b098e(0xd2)](_0x4dd039=>this[_0x3b098e(0x149)](_0x4dd039))));}[_0x3f33cb(0x1a8)](_0x2fe11a){var _0x5660b8=_0x3f33cb;return this[_0x5660b8(0x1cc)][_0x5660b8(0x2d5)](_0x2fe11a)?_0x4833a9(this[_0x5660b8(0x1cc)]['get'](_0x2fe11a)):this[_0x5660b8(0xc6)][_0x5660b8(0x2b6)](_0x55fc2c(_0x17a6b6=>{var _0x2b5e5b=_0x5660b8;if(_0x17a6b6===_0x2fe11a)return this[_0x2b5e5b(0x1cc)][_0x2b5e5b(0x34f)](_0x17a6b6);}));}[_0x3f33cb(0xe8)](_0x4a8a12){var _0x436926=_0x3f33cb;this[_0x436926(0xdc)][_0x436926(0xe8)](_0x4a8a12);}[_0x3f33cb(0x13e)](){var _0x55ebb4=_0x3f33cb;return this[_0x55ebb4(0xdc)][_0x55ebb4(0x13e)]();}[_0x3f33cb(0x287)](_0xf65523,_0x2bd3c2){var _0x3d9614=_0x3f33cb;let _0x21a2a6=this['_roomMembers'][_0x3d9614(0x34f)](_0xf65523);_0x21a2a6||(_0x21a2a6=new xs(),this[_0x3d9614(0x1cc)]['set'](_0xf65523,_0x21a2a6),this[_0x3d9614(0xc6)]['next'](_0xf65523)),_0x21a2a6[_0x3d9614(0x287)](_0x2bd3c2);}[_0x3f33cb(0x175)](_0x5e72f5,_0x452944){var _0x553d84=_0x3f33cb;const _0x354be2=this['_roomMembers'][_0x553d84(0x34f)](_0x5e72f5);_0x354be2&&_0x354be2[_0x553d84(0x175)](_0x452944);}[_0x3f33cb(0x2a1)](_0x426535){var _0x1bdcdf=_0x3f33cb;return this[_0x1bdcdf(0x1cc)][_0x1bdcdf(0x34f)](_0x426535);}[_0x3f33cb(0x28c)](_0xb8bd13,_0x76642f){var _0x4ad9d3=_0x3f33cb;const _0x5bbd93=this[_0x4ad9d3(0x1cc)][_0x4ad9d3(0x34f)](_0xb8bd13);if(_0x5bbd93)return _0x5bbd93['getMember'](_0x76642f);}[_0x3f33cb(0x149)](_0x97387c){var _0x547214=_0x3f33cb;const _0x53d531=this[_0x547214(0x1cc)][_0x547214(0x34f)](_0x97387c);_0x53d531&&(_0x53d531['dispose'](),this[_0x547214(0x1cc)][_0x547214(0x108)](_0x97387c));}[_0x3f33cb(0x16d)](){var _0x2ad1cd=_0x3f33cb;this['_roomMembers'][_0x2ad1cd(0x386)](_0x526b99=>_0x526b99['dispose']()),this[_0x2ad1cd(0x1cc)]['clear'](),this['_roomCreated$']['complete']();}};we=Ls([Vt(0x0,_0x2366c1),Vt(0x1,_0x289be2(_0x292397))],we);function _0x3cb4(){var _0x5572d8=['ALREADY_EXISTS','_executeRemoteChangeset','editingUnit','_memberService','/universer-api/oidc/authpage','EvpKDF','Univer','liveShareOperation','LIVESHARE_REQUEST_HOST','hasOwnProperty','c2Prime','ONLINE','_sessions','SUBMIT_CHANGESET','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchMissState]','NEW_CHANGESETS','getAllMembers','Base','YUUMI_ALL_TABLES_IS_INVALID','kdf','session.join-failed','[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.','_fetchMissChangesets','SYNCED','_onRemoteRetry','fetchThroughInterceptors','/universer-api/snapshot/','getMemberID','unitInfo$','slice','collaboratorID','_updateLocalCache','_startTelemetryCollaborationNewChangeset','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SerializableCipher','getUnitType','MD5','UNIVER_SLIDE','setConfig','_collaborationTimeoutTimer','requireSession','save\x20fail\x20reason\x20is\x20','_change$','_getAPIPrefixPath','_initDependencies','readAsDataURL','headers','pending','submit\x20changeset\x20error!','_transformService','executeCommand','_xformMode','reduce','_onFetchMissResult','method','_eventService','_minBufferSize','_updateStatus','onTransformRemoteChangesetByStateCache','ivSize','APPLY_PERMISSION_DENIED','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','csShouldRetryEvent','transformSelections','createInstance','PERMISSION_DENIED','/universer-api/comb','_telemetryService','8181210bbopXm','setShowComponents','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_transformSelections','onStarting','url','body','find','_commandService','salt','?url=','LIVESHARE_FETCH_OPERATIONS','onTransformState','_localeService','socket\x20close','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AWAITING','_oKey','getUnit','UnitEmbedded','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onRecvEvent','_onRemoteChangeset','OTHER_CLIENTS_EDITING','_doFinalize','_replayCachedMutations','_createInitialState','COMPLETION_FINISHED','commentUpdate$','selections','ws://127.0.0.1:8000/universer-api/comb/connect','LICENSE_MAX_UNITS_EXCEEDED','_getAPIPrefix','subject','__esModule','_sendingTimer','saveSnapshot','HEARTBEAT','_stopTelemetryCollaborationNewChangeset','APPLY_REJECT','_logService','encode','/block/','infoRsp','[CollaborationSessionService]','People','INVITE_CODE_HAS_BEEN_UES','ceil','_clearRetryConnectingTimer','joinEvent','_sendHeartbeatTimer','fetchMissingChangesets','HELLO','[SyncedState]:\x20received\x20acknowledgement.','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','init','_applyRemoteChangeset','LIVESHARE_TERMINATE','not_collab','enableAuthServer','_shouldReportTelemetry','PERSON','online$','downloadEndpointUrl','26429WTKTKt','revision','UNDEFINED','BASE64','collaboration_new_changeset','loadDoc','4JNDXnr','then','Base64','_mode','_onRemoteRejected','extend','startsWith','_configService','unitID','&assign=','COMPRESS_MUTATION_APPLY','origin','[PendingState]:\x20received\x20acknowledgement.','_data','OFFLINE','byteLength','updateMember','error','USERS_LEAVE','onRemoteRej','equals','getMember','_queuedRemoteChangesets','_collaborationUIEventService','from','objects','saveSheetBlock','AWAITING_WITH_PENDING','_socketService','_members$','RETRY_CONNECTING_MAX_COUNT','getOwnPropertyDescriptor','transformChangesets','CBC','enableCollaboration','_changesetReqId','_doReset','_createSocket','CHANGESET_REVISION_CONFILICT','_showConflictNotification','JOIN_ROOM_NOT_EXISTS','complete','getRoom','getImage','userID','AES','size','permissionRejEvent','_clearHeartbeatTimer','ERROR_IMAGE_TYPE','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','onStateChange','CLOSE_ROOM','_clearRedo','_toggleOnline','\x20-\x20','onRemoteAck','MSG_FOR_ERROR','snapshotServerUrl','_onOffline','_exhaustRemoteChangesetQueue','&source=','pipe','ERROR_IMAGE','entityInit$','_process','YUUMI_SUBSCRIPTION_NOT_FOUND','pluginName','resend','result','formatter','unit-cache-','dispose$','conflict','baseRev','_resendTimer','create','_undoRedoService','_state$','INVALID_INVITE_CODE','file','UNIVER_COLLABORATION_CLIENT_PLUGIN','getWorkbookSelections','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','parse','socket\x20open.','session.room-cnt-exceeds','socketService','DEFAULT_FILE_NAME','Pkcs7','UserProfileImg','crypto','LICENSE_DISTRO_REJECTED','has','eventID','_transitionLocked','change$','status','pauseCollaboration','interceptor','unpad','_revisionService','min','POST','getTypeOfUnitAdded$','_nRounds','setWaitCount','onTransformSelections','onSendChangeset','unknown','_resendTimeout','_scheduleCompleteTimestamp','Utf8','call','resolve','_clearCollaborationTimeoutTimer','SOCKET_FAILED','/-/object/list','CHANGESET_REJ','PENDING','UNISCRIPT_RUN','MOBILE_VERIFY_CODE_MISMATCH','_ENC_XFORM_MODE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onLocalMutation','newCsEvent','length','_members','UPDATE_CURSOR','/universer-api/user/session-ticket','_getSignURL','collaboration-client.config','getCollabEntity','NOT_FOUND','_transformRemoteChangesetByStateCache','sheets','_getUndoStack','charAt','isArray','disposeWithMe','WordArray','NoPadding','image/gif','_sender','/new_changes','collaborators','_imageSourceCache','EMAIL_HAS_BEEN_BOUND','fetchMiss','algo','updateSnapshot','byteOffset','StreamCipher','LIVESHARE_NEW_HOST','objectType','filter','capture','fetch_missing','_localCacheService','LOCAL_CACHE_INTERVAL','_getDownloadEndpointURL','range','string','getImageSourceCache','getSnapshotAPIPath','_replaceFileID','TOO_MANY_REQUESTS','FileId','_retryConnectingTimer','CHANGESET_SHOULD_RETRY','open$','_sessionStatus$','getUnitId','awaiting','76tVApUg','indexOf','members','[PendingState]:\x20received\x20rejection.','_key','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USERS_ENTER','createDecryptor','buffer','_createHelper','awaitingChangeset','updateOfflineData','UPDATE_PERMISSION_OBJ','putCollaborators','SUCCUSS','prototype','createEncryptor','send','getDeserializedSheetBlock','_getLoginPath','rev','onCommentUpdate','/-/object/-/batch_allowed','stopTime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/uniscript','m2Prime','BlockCipher','_status$','cmd','image/jpg','_iKey','univer-pro.collaboration-client.network-condition.service','updatePermissionPoint','createSocket','_getRedoStack','_commentUpdate$','roomInfos','focused$','APPLY_NON_SEQUENTIAL_REVISION','error$','get','asObservable','MUTATION','onSyncEditingCollabCursor','INTERNAL_ERROR','sigBytes','_permissionService','_timeoutTimer','getSheetBlock','_doCreateSocket','_isPermissionRej','objectActions','_onUserLeave','_initMergeInterceptor','UNKNOWN_CMD','_unitInfo$','params','splice','c1Prime','_sendHeartbeat','_cipher','subUnitId','/resources','_tryReconnect','/universer-api/file/{fileID}/sign-url','_onRemoteACK','_getUploadFileURL','decryptBlock','_listenToNetworkCondition','localeService','originalMeta','code','session.room-permission-denied','deleteCollaborator','encryptBlock','textRanges','/role','getUnitStatus$','reqId','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','$super','closeSession','allowed','_doCryptBlock','createCollaborator','onTransformRemoteChangesetByIMECache','title','toggleOffline','_parse','_createInitialStateImpl','registerHTTPInterceptor','NO_OTHER_CLIENTS_EDITING','format','_entityInit$','cfg','forEach','UNIVER_DOC','COMMENT_UPDATE','JOIN','updatePermissionObjEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','encrypt','_entities','data','next','toggleOnline','_socket','_handlerCallback','_collabSessionService','_onJoinRoomEvent','requestParams','getActiveSheet','_commentService','_iv','session','message$','loadUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','apply','_lockTransition','ciphertext','src','status$','exports','7430409TSrZut','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','repeat','pad','CONFLICT','/rev/','processBlock','SOCKET_FAILED_RETRY','getFocusedUnit','GLOBAL_ROOMS_CNT_EXCEEDS','_substituteUndoStack','emitEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_DEC_XFORM_MODE','every','loadSheet','_getCurrentRevision','[OfflineState]:\x20received\x20rejection.','_retryCount','YUUMI_CONNECTOR_URL_NOT_FOUND','transformUndoRedo','lib','getCurrentSelections','enc','_schedule','loginUrlKey','_prevBlock','_joinRoom','__creator','_compressMutationService','signUrlServerUrl','LEAVE','ERROR_EXCEED_SIZE','_event$','onRemoteChangeset','reverse','_sheetTransformSelectionsService','_waitForHeartbeatResponse','_telemetryInfo','[CollaborationSession]','_waitCount','offline','_invKeySchedule','INVALID_ARGUMENT','_substituteRedoStack','appendMutation','_collaborationPaused','connection\x20error','sessionStatus','_roomCreated$','fromCharCode','BufferedBlockAlgorithm','copyFileMeta','onRemoteRetry','routeKey','values','updateCursorEvent','UNIVER_SHEET','_initUnitPermissionChange','getInterceptPoints','override','subscribe','84qyzaZL','catch','SHOULD_CLOSE_CONN','_initCloseConn','onCommandExecuted','put','FETCH_MISSING','_socket$','_scheduleCollaborationTimeoutTimer','_userManagerService','_keySchedule','FAIL','duration','UNAUTHENTICATED','/object','join','&to=','_map','_remoteChangesetQueue','batchAllowed','max','setCurrentUser','_updateState','YUUMI_NO_CUBOID_FOR_QUESTION','YUUMI_ASYNCIO_CANCELLED','loadOfflineData','uniscriptRunEvent','_injector','CHANGESET_ACK','LOGIN_FAILED','addHandlerCallback','USER_NOT_INVITED_CODE','Decryptor','updateCollaborator','HttpExport','getTime','getValue','HEARTBEAT_INTERVAL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','unitId\x20is\x20not\x20found','3534496HSBgnw','symbol','_clearLocalCache','_onConnectionFailed','hasher','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','JOIN_ROOM_FAILED','localCacheService','awaiting_with_pending','onlyLocal','close$','list','padding','delete','random','changesets','floor','post','JOIN_ROOM_FULL','finalize','_reverseMap','_type','APPLY_DUPLICATED','getCollabEntity$','COMPRESS_MUTATION_SEND','SNAPSHOT_URL_KEY','_onConnectionOpen','_throwTelemetryCollaborationNewChangeset','_changesetSessionId','_createHmacHelper','clone','_onUserJoin','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_socketMessageSubscription','UNKNOWN_CODE','encodeURIComponent','SHA1','univer-pro.collaboration-client-socket-service','_tryEnsureSocket','NOT_COLLAB','PERMISSION_REJ','_collaborationSessionService','liveShareNewHost','update','LICENSE_IMPORT_SIZE_EXCEEDED','image/bmp','function','_transformStack','_disableEditing','getCurrentRevOfUnit','mutations','msCrypto','Error\x20on\x20receiving\x20event','add','Hex','_nDataBytes','_onMessage','responseType','_instanceService','unitId','_snapshotService','INVITE_CODE_ALREADY_BOUND','164136Kezuin','YUUMI_AI_RUN_FAILED','_candidateSocket','sessionStatus$','members$','getCurrentUser','sid','initWorkbookPermissionChange','_httpService','charCodeAt','randomBytes','/unit/','concat','YUUMI_UNABLE_LOAD_URL','EMAIL_VERIFY_CODE_MISMATCH','_config','_removeRoom','/universer-api/authz','location','enableSingleActiveInstanceLock','_transformStateCache','collaboration-client.local-cache-service','_incrementRevisionNumber','PY_RUNTIME_SCRIPT_ERROR','mixIn','key','blockSize','_submitChangeset','FETCH_MISS','collaMsg','[DataLoaderService]','JOINING','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/stream/file/upload','getTypeOfUnitDisposed$','close','reject','7234855lWDQkf','snapshot','_socketReady','_registerDependencies','default','saveChangeset','actions','objectID','onMissingChangesets','_startCollaboration','_syncEditingCollabCursor','reconnect','_HTTPService','transformStack\x20failed!','debug','dispose','[CollaborationUndoRedoService]','patch','_transformIMECache','_handler','execute','event$','shouldCloseConn','removeMember','onLocalMutation','OPTIONAL','toString','_clearScheduledTask','_doProcessBlock','avatar','fetching\x20missing\x20changesets\x20from\x20','_state','uploadFileServerUrl','HmacSHA1','collabSubmitChangesetUrl','_onConflict','_createHandler','BlockCipherMode','clear','map','_emitMembers','[SyncedState]:\x20received\x20rejection.','session.room-full','_pendingMutations','loadUnitOfRevision','Undefined','fromCollab','[CollaborationEntity]','_getSendChangesetTimeout','image/jpeg','UnitSnapshot','YUUMI_URL_COL_OUT_OF_RANGE','state','HttpImport','HMAC','push','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/allowed','_univerInstanceService','_checkMissing','_snapshotServerService','OpenSSL','confirm','state$','LIVESHARE_OPERATION','decrypt','_keyPriorReset','_unlockTransition','saveImage','href','getConfig','mode','socket$','ENSURE_SNAPSHOT_EXECUTION','waitForRoom$','JOIN_ROOM_PERMISSION_DENIED','getSheetId','resourceIDs','univer-pro.collaboration-client.single-active-unit-service','words','APPLY_REVISION_CONFILICT','_clearTimeoutTimer','RECV','commentUpdateEvent','isPermissionRej','_unitID','defineProperty','transformMutationsWithChangeset','_hash','OTHER_CLIENT_EDITING','name','UNRECOGNIZED','?size=','PSEUDO_FETCH_MISSING_RESULT','3917355QLwZKL','memberID','includes','Failed\x20to\x20update\x20permission\x20point','/fetchmissing?from=','getLatestCsReqIdBySid','keySize','_resendWithTimeout','type','_append','_clearUndo','substr','[CollaborationState]:\x20apply\x20error!','_singleActiveUnitService','_onCombEvent','authzUrl','_roomMembers','__Key__','_getCtorByUniverType','INGEST','telemetry\x20info\x20is\x20not\x20initialized','/collaborator','reset','_hasher','_networkConditionService','addImageSourceCache','_awaitingChangeset','now','MOBILE_HAS_BEEN_BOUND','compute','target','Hasher','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_toggleOffline','{fileID}','stringify','_init','_decreaseWaiting','WECHAT_HAS_BEEN_BOUND','clamp','/object/','_redoStacks','YUUMI_RATE_OVER_LIMIT','_acknowledgedAwaitingChangeset','_rescheduleHeartbeat','set','csAckEvent','_transformUndoredo'];_0x3cb4=function(){return _0x5572d8;};return _0x3cb4();}class xs extends _0x15e2a7{constructor(){var _0x2e4490=_0x3f33cb;super(...arguments),N(this,_0x2e4490(0x2f7),new Map()),N(this,_0x2e4490(0x294),new _0x124502(this['_members'])),N(this,_0x2e4490(0x13d),this[_0x2e4490(0x294)][_0x2e4490(0x350)]());}[_0x3f33cb(0x16d)](){var _0x1cd222=_0x3f33cb;this['_members'][_0x1cd222(0x184)]();}[_0x3f33cb(0x287)](_0x1568f1){var _0x3335b7=_0x3f33cb;this[_0x3335b7(0x2f7)]['set'](_0x1568f1[_0x3335b7(0x1bd)],_0x1568f1),this[_0x3335b7(0x186)]();}[_0x3f33cb(0x175)](_0x1e6794){var _0x2ec028=_0x3f33cb;this[_0x2ec028(0x2f7)][_0x2ec028(0x108)](_0x1e6794);}[_0x3f33cb(0x28c)](_0x267866){var _0x47d661=_0x3f33cb;return this[_0x47d661(0x2f7)][_0x47d661(0x34f)](_0x267866);}[_0x3f33cb(0x1fd)](){var _0x1f7166=_0x3f33cb;return Array[_0x1f7166(0x28f)](this[_0x1f7166(0x2f7)][_0x1f7166(0xcc)]());}[_0x3f33cb(0x186)](){var _0x290fd0=_0x3f33cb;this[_0x290fd0(0x294)]['next'](this[_0x290fd0(0x2f7)]);}}var ks=Object[_0x3f33cb(0x296)],$s=(_0x1cfe8e,_0x55f492,_0x1af208,_0x394e11)=>{var _0x1f4965=_0x3f33cb;for(var _0x532016=_0x394e11>0x1?void 0x0:_0x394e11?ks(_0x55f492,_0x1af208):_0x55f492,_0xefd576=_0x1cfe8e[_0x1f4965(0x2f6)]-0x1,_0x127926;_0xefd576>=0x0;_0xefd576--)(_0x127926=_0x1cfe8e[_0xefd576])&&(_0x532016=_0x127926(_0x532016)||_0x532016);return _0x532016;},Ce=(_0x56f17f,_0x4ba20a)=>(_0x221d0c,_0x5acdf3)=>_0x4ba20a(_0x221d0c,_0x5acdf3,_0x56f17f),ge=(_0x2d5bf9=>(_0x2d5bf9[_0x2d5bf9['IDLE']=0x0]='IDLE',_0x2d5bf9[_0x2d5bf9[_0x3f33cb(0x158)]=0x1]=_0x3f33cb(0x158),_0x2d5bf9[_0x2d5bf9['OFFLINE']=0x2]='OFFLINE',_0x2d5bf9[_0x2d5bf9[_0x3f33cb(0x1f7)]=0x3]=_0x3f33cb(0x1f7),_0x2d5bf9))(ge||{});const Wt={[pe[_0x3f33cb(0xde)]]:_0x3f33cb(0x201),[pe[_0x3f33cb(0x10d)]]:_0x3f33cb(0x188),[pe[_0x3f33cb(0x29f)]]:'session.room-not-exists',[pe[_0x3f33cb(0x1a9)]]:_0x3f33cb(0x36f),[pe[_0x3f33cb(0x9e)]]:_0x3f33cb(0x2ce)};let gt=class extends _0x4447d4{constructor(_0x5071b8,_0x442eae,_0x1a5af1,_0xcba218,_0x7b50bf,_0x7e5cc5,_0x25fb85,_0x1cc3e1){var _0x3802cb=_0x3f33cb;super(),N(this,_0x3802cb(0x323),new _0x124502(0x0)),N(this,_0x3802cb(0x13c),this[_0x3802cb(0x323)][_0x3802cb(0x350)]()),N(this,_0x3802cb(0xb6),new _0x11e6d4()),N(this,_0x3802cb(0x173),this[_0x3802cb(0xb6)]['asObservable']()),N(this,_0x3802cb(0x391)),N(this,'_socketMessageSubscription'),N(this,_0x3802cb(0x214)),N(this,_0x3802cb(0x26d),!0x1),N(this,_0x3802cb(0xbb),null),(this['_unitID']=_0x5071b8,this[_0x3802cb(0x259)]=_0x1a5af1,this['_configService']=_0xcba218,this['_memberService']=_0x7b50bf,this['_commentService']=_0x7e5cc5,this[_0x3802cb(0x28e)]=_0x25fb85,this[_0x3802cb(0x230)]=_0x1cc3e1,this[_0x3802cb(0x26d)]=!!this[_0x3802cb(0x230)],_0x442eae[_0x3802cb(0x2b6)](_0x45a280(this[_0x3802cb(0x2c0)]))[_0x3802cb(0xd2)](_0x403cda=>{var _0x439b08=_0x3802cb,_0x1b6118;typeof _0x403cda>'u'||(this[_0x439b08(0x391)]=_0x403cda,_0x403cda?(this[_0x439b08(0xb0)](_0x403cda),this[_0x439b08(0x11c)]=_0x403cda[_0x439b08(0x39a)][_0x439b08(0xd2)](_0x304d04=>{var _0x2c6a40=_0x439b08;_0x304d04[_0x2c6a40(0xcb)]===this[_0x2c6a40(0x1b3)]&&this[_0x2c6a40(0x1ca)](_0x304d04);})):(this[_0x439b08(0x116)](),this['_sessionStatus$'][_0x439b08(0x38f)](0x2),(_0x1b6118=this[_0x439b08(0x11c)])==null||_0x1b6118['unsubscribe'](),this[_0x439b08(0x11c)]=null));}));}get[_0x3f33cb(0xc5)](){var _0xb7584b=_0x3f33cb;return this[_0xb7584b(0x323)][_0xb7584b(0xf7)]();}[_0x3f33cb(0x208)](){var _0x190691=_0x3f33cb,_0x10e428,_0x12ffe2;return(_0x12ffe2=(_0x10e428=this['_socket'])==null?void 0x0:_0x10e428[_0x190691(0x1bd)])!=null?_0x12ffe2:null;}['dispose'](){var _0x117da3=_0x3f33cb;super[_0x117da3(0x16d)](),this[_0x117da3(0x2c0)][_0x117da3(0x38f)](),this['dispose$'][_0x117da3(0x2a0)]();}[_0x3f33cb(0x15c)](){var _0xb314af=_0x3f33cb,_0x155ad1,_0x292375;this[_0xb314af(0x116)](),(_0x155ad1=this['_socket'])==null||_0x155ad1[_0xb314af(0x337)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0xb314af(0x1b3)]}}),(_0x292375=this[_0xb314af(0x391)])==null||_0x292375['close'](),this[_0xb314af(0xb6)][_0xb314af(0x2a0)](),this[_0xb314af(0x323)][_0xb314af(0x2a0)](),this['dispose']();}[_0x3f33cb(0x1ca)](_0x193b9f){var _0x448040=_0x3f33cb;_0x193b9f[_0x448040(0x343)]===F[_0x448040(0x389)]?this[_0x448040(0x394)](_0x193b9f):_0x193b9f['cmd']===F['RECV']&&this[_0x448040(0x246)](_0x193b9f);}[_0x3f33cb(0xb0)](_0x213180){var _0x2af3d0=_0x3f33cb;this['_sessionStatus$'][_0x2af3d0(0x38f)](0x1),_0x213180[_0x2af3d0(0x337)]({'cmd':F['JOIN'],'routeKey':this[_0x2af3d0(0x1b3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2af3d0(0x1b3)]}]}});}[_0x3f33cb(0x394)](_0x561b3a){var _0x4f797e=_0x3f33cb,_0x743fc9;if(_0x561b3a['code']in Wt){this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x4f797e(0x101)],'data':Wt[_0x561b3a[_0x4f797e(0x36e)]]}),this[_0x4f797e(0x323)]['next'](0x2);return;}this[_0x4f797e(0x323)][_0x4f797e(0x38f)](0x3);const _0x431bfe=(_0x743fc9=_0x561b3a['data'][_0x4f797e(0x34b)][this[_0x4f797e(0x1b3)]])==null?void 0x0:_0x743fc9[_0x4f797e(0x328)];_0x431bfe&&_0x431bfe[_0x4f797e(0x386)](_0x16936b=>this['_memberService'][_0x4f797e(0x287)](this[_0x4f797e(0x1b3)],_0x16936b));}[_0x3f33cb(0x246)](_0x52c694){var _0x307648=_0x3f33cb;try{const _0x59f2d8=_0x52c694[_0x307648(0x38e)];switch(_0x59f2d8[_0x307648(0x2d6)]){case _0x7f38ce[_0x307648(0x32c)]:this[_0x307648(0x11a)](_0x59f2d8),this['_event$']['next'](_0x59f2d8);break;case _0x7f38ce[_0x307648(0x289)]:this[_0x307648(0x35b)](_0x59f2d8),this[_0x307648(0xb6)]['next'](_0x59f2d8);break;case _0x7f38ce[_0x307648(0xef)]:case _0x7f38ce[_0x307648(0x321)]:this[_0x307648(0x257)](),this[_0x307648(0x2eb)](),this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);break;case _0x7f38ce[_0x307648(0x2b1)]:this[_0x307648(0x259)]['error'](_0x307648(0x216)+JSON[_0x307648(0x1df)](_0x59f2d8)),this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);break;case _0x7f38ce['COMMENT_UPDATE']:this[_0x307648(0x397)][_0x307648(0x33b)](_0x59f2d8[_0x307648(0x38e)]),this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);break;default:this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);}}catch(_0x5ea0cb){this['_logService'][_0x307648(0x288)](_0x5ea0cb,_0x52c694);}}['_onUserJoin'](_0xee88a4){var _0x485a71=_0x3f33cb;this[_0x485a71(0x1ef)][_0x485a71(0x287)](this[_0x485a71(0x1b3)],_0xee88a4[_0x485a71(0x38e)]);}[_0x3f33cb(0x35b)](_0x2ef1d8){var _0x36bfe2=_0x3f33cb;this[_0x36bfe2(0x1ef)][_0x36bfe2(0x175)](this[_0x36bfe2(0x1b3)],_0x2ef1d8[_0x36bfe2(0x38e)][_0x36bfe2(0x1bd)]);}async[_0x3f33cb(0x337)](_0x41e6e6,_0x11e625){var _0x13e9dd=_0x3f33cb;if(this[_0x13e9dd(0xc5)]!==0x3||!this[_0x13e9dd(0x391)])throw new Error(_0x13e9dd(0x11b));try{_0x41e6e6[_0x13e9dd(0x2d6)]===_0x7f38ce[_0x13e9dd(0x1f9)]&&(this[_0x13e9dd(0xdb)](),this[_0x13e9dd(0x20d)](_0x41e6e6)),this[_0x13e9dd(0x391)]['send']({'cmd':F[_0x13e9dd(0x1cf)],'routeKey':_0x11e625,'routeType':'','data':_0x41e6e6});}catch(_0x3dbded){this['_logService']['error'](_0x3dbded);}}[_0x3f33cb(0xdb)](){var _0x407a91=_0x3f33cb,_0x4756b1;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x962aad=_0x2cdc;this[_0x962aad(0x214)]=null,this[_0x962aad(0x28e)][_0x962aad(0xa0)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4756b1=this[_0x407a91(0x27e)]['getConfig'](di))!=null?_0x4756b1:fi);}[_0x3f33cb(0x2eb)](){var _0x327ba8=_0x3f33cb;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x327ba8(0x214)]),this[_0x327ba8(0x214)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x39125c){var _0x57a2e9=_0x3f33cb;if(!this['_shouldReportTelemetry'])return;const {data:_0x19156f}=_0x39125c,{unitID:_0x3bb784,changeset:_0x2c9ad7}=_0x19156f,{mutations:_0x1fae34,type:_0xb1217a}=_0x2c9ad7;this[_0x57a2e9(0xbb)]={'unitId':_0x3bb784,'type':_0xb1217a,'startTime':performance[_0x57a2e9(0x1d7)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x1fae34)};}[_0x3f33cb(0x257)](){var _0x34a08b=_0x3f33cb;if(this['_shouldReportTelemetry']){if(!this[_0x34a08b(0xbb)]){this[_0x34a08b(0x259)][_0x34a08b(0x288)](_0x34a08b(0xbc),_0x34a08b(0x1d0));return;}this[_0x34a08b(0xbb)]['stopTime']=performance['now'](),this[_0x34a08b(0xbb)][_0x34a08b(0xdf)]=this['_telemetryInfo'][_0x34a08b(0x33d)]-this[_0x34a08b(0xbb)]['startTime'],this[_0x34a08b(0x230)][_0x34a08b(0x314)](ws,this[_0x34a08b(0xbb)]),this[_0x34a08b(0xbb)]=null;}}[_0x3f33cb(0x116)](){this['_telemetryInfo']=null;}};gt=$s([Ce(0x2,_0x575f9c),Ce(0x3,_0x3594ab),Ce(0x4,_0x289be2(we)),Ce(0x5,_0x289be2(gi)),Ce(0x6,_0x289be2(ve)),Ce(0x7,_0x3d442c(_0x213ec8))],gt);var Hs=Object[_0x3f33cb(0x296)],Bs=(_0x29cb0a,_0x2772fb,_0x359614,_0x3a869f)=>{var _0x4fa6ba=_0x3f33cb;for(var _0x5113ab=_0x3a869f>0x1?void 0x0:_0x3a869f?Hs(_0x2772fb,_0x359614):_0x2772fb,_0x3c5cb0=_0x29cb0a[_0x4fa6ba(0x2f6)]-0x1,_0x30cd0a;_0x3c5cb0>=0x0;_0x3c5cb0--)(_0x30cd0a=_0x29cb0a[_0x3c5cb0])&&(_0x5113ab=_0x30cd0a(_0x5113ab)||_0x5113ab);return _0x5113ab;},Re=(_0x6a3843,_0x32f273)=>(_0x2d14ed,_0x5950d3)=>_0x32f273(_0x2d14ed,_0x5950d3,_0x6a3843);let Pe=class extends _0x15e2a7{constructor(_0x1b3a3a,_0x53a635,_0x5564e9,_0x219665,_0x8b3580,_0x128ef9){var _0x168fd9=_0x3f33cb;super(),N(this,'_socket$',new _0x124502(void 0x0)),N(this,_0x168fd9(0x1a6),this[_0x168fd9(0xda)][_0x168fd9(0x350)]()),N(this,_0x168fd9(0x13b),null),N(this,_0x168fd9(0x1f8),new Map()),N(this,_0x168fd9(0x342),new _0x124502(ge['IDLE'])),N(this,_0x168fd9(0x3a1),this[_0x168fd9(0x342)][_0x168fd9(0x350)]()),N(this,_0x168fd9(0x160),!0x1),N(this,_0x168fd9(0x320)),N(this,_0x168fd9(0xa7),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x168fd9(0x356)),(this[_0x168fd9(0xee)]=_0x1b3a3a,this[_0x168fd9(0x259)]=_0x53a635,this[_0x168fd9(0x27e)]=_0x5564e9,this[_0x168fd9(0x293)]=_0x219665,this['_collaborationUIEventService']=_0x8b3580,this[_0x168fd9(0x1d4)]=_0x128ef9,this[_0x168fd9(0x36b)]());}get[_0x3f33cb(0x391)](){var _0x3ae3a0=_0x3f33cb;return this['_socket$'][_0x3ae3a0(0xf7)]();}[_0x3f33cb(0x36b)](){var _0x869e63=_0x3f33cb;this[_0x869e63(0x1d4)]&&this[_0x869e63(0x303)](this[_0x869e63(0x1d4)][_0x869e63(0x26f)][_0x869e63(0xd2)](_0x49ac79=>{var _0x27bef0=_0x869e63;_0x49ac79&&!this[_0x27bef0(0x391)]&&this[_0x27bef0(0x169)](),_0x49ac79||this[_0x27bef0(0x2b3)]();}));}[_0x3f33cb(0x16d)](){var _0x5b37a5=_0x3f33cb;super['dispose'](),this[_0x5b37a5(0x261)](),this['_clearTimeoutTimer'](),this[_0x5b37a5(0x2a7)](),this['_sessions']['forEach'](_0x1c8ed1=>_0x1c8ed1[_0x5b37a5(0x16d)]()),this['_sessions'][_0x5b37a5(0x184)](),this[_0x5b37a5(0x342)][_0x5b37a5(0x2a0)]();}async[_0x3f33cb(0x215)](_0x40f307){var _0x2bf5d0=_0x3f33cb;if(this[_0x2bf5d0(0x1f8)][_0x2bf5d0(0x2d5)](_0x40f307))return this[_0x2bf5d0(0x1f8)][_0x2bf5d0(0x34f)](_0x40f307);this[_0x2bf5d0(0x121)]();const _0x344573=this[_0x2bf5d0(0xee)]['createInstance'](gt,_0x40f307,this[_0x2bf5d0(0xda)][_0x2bf5d0(0x350)]());return this[_0x2bf5d0(0x1f8)][_0x2bf5d0(0x1e9)](_0x40f307,_0x344573),_0x344573;}[_0x3f33cb(0x378)](_0x3bab64){var _0x3142d5=_0x3f33cb,_0x1cec15;const _0x7cc1c=this[_0x3142d5(0x1f8)][_0x3142d5(0x34f)](_0x3bab64);_0x7cc1c&&(this[_0x3142d5(0x1f8)][_0x3142d5(0x108)](_0x3bab64),_0x7cc1c[_0x3142d5(0x15c)]()),this[_0x3142d5(0x1f8)][_0x3142d5(0x2a5)]||(_0x1cec15=this[_0x3142d5(0x391)])==null||_0x1cec15[_0x3142d5(0x15c)]();}['reconnect'](){var _0x3e572c=_0x3f33cb;this[_0x3e572c(0xa7)]=0x0,this[_0x3e572c(0x261)](),this[_0x3e572c(0x366)]();}[_0x3f33cb(0x261)](){var _0x5d82b1=_0x3f33cb;this[_0x5d82b1(0x320)]!=null&&(clearTimeout(this[_0x5d82b1(0x320)]),this[_0x5d82b1(0x320)]=null);}async['_createSocket'](){var _0x8ba0a5=_0x3f33cb,_0x5939fb;const _0x2ee843=this['_configService'][_0x8ba0a5(0x1a4)](K),_0x14ce38=(_0x5939fb=_0x2ee843==null?void 0x0:_0x2ee843['collabWebSocketUrl'])!=null?_0x5939fb:ms,_0x185ef5=await this['_socketService'][_0x8ba0a5(0x348)](_0x14ce38);return this[_0x8ba0a5(0x13b)]=_0x185ef5,_0x185ef5;}async[_0x3f33cb(0x121)](){var _0x343b79=_0x3f33cb,_0x94fec8,_0x10c050;try{const _0xe07d34=(_0x10c050=(_0x94fec8=this[_0x343b79(0x391)])!=null?_0x94fec8:this[_0x343b79(0x13b)])!=null?_0x10c050:await this[_0x343b79(0x29c)]();if(_0xe07d34){const _0x51f5aa=_0xe07d34['send'];_0xe07d34[_0x343b79(0x337)]=_0x57cc46=>(this[_0x343b79(0x1e8)](),_0x51f5aa[_0x343b79(0x39d)](_0xe07d34,[_0x57cc46])),_0xe07d34['message$'][_0x343b79(0xd2)](_0xe2edf6=>this[_0x343b79(0x133)](_0xe07d34,_0xe2edf6)),_0xe07d34['error$'][_0x343b79(0x2b6)](_0x288121(0x1))['subscribe'](_0x21f63e=>this['_logService'][_0x343b79(0x288)]('[CollaborationSessionService]:\x20socket\x20error',_0x21f63e)),_0xe07d34[_0x343b79(0x322)][_0x343b79(0x2b6)](_0x288121(0x1))['subscribe'](()=>{var _0x216933=_0x343b79;this[_0x216933(0x115)](_0xe07d34);}),_0xe07d34[_0x343b79(0x105)]['pipe'](_0x288121(0x1))['subscribe'](_0x3a1e54=>{var _0x82b0ea=_0x343b79;this[_0x82b0ea(0x259)][_0x82b0ea(0x16c)](_0x82b0ea(0x25d),_0x82b0ea(0x23f),_0x3a1e54),this[_0x82b0ea(0xfe)]();});}}catch(_0x80202){this['_logService'][_0x343b79(0x288)](_0x80202),this[_0x343b79(0xfe)]();}}['_onConnectionOpen'](_0x2d6ddc){var _0x12d77a=_0x3f33cb;this[_0x12d77a(0x259)][_0x12d77a(0x16c)](_0x12d77a(0x25d),_0x12d77a(0x2cd)),_0x2d6ddc['send']({'cmd':F[_0x12d77a(0x265)]}),this[_0x12d77a(0x1e8)]();}[_0x3f33cb(0x2b3)](){var _0x1dc485=_0x3f33cb;this[_0x1dc485(0x160)]=!0x1,this[_0x1dc485(0x13b)]=null,this[_0x1dc485(0x342)][_0x1dc485(0x38f)](ge[_0x1dc485(0x285)]),this[_0x1dc485(0xda)]['next'](null),this[_0x1dc485(0x1af)](),this[_0x1dc485(0x2a7)]();}['_onConnectionFailed'](){var _0xd54b83=_0x3f33cb,_0x5917fa;this[_0xd54b83(0x2b3)](),this[_0xd54b83(0xa7)]<((_0x5917fa=this[_0xd54b83(0x27e)][_0xd54b83(0x1a4)](Is))!=null?_0x5917fa:Ts)?(this[_0xd54b83(0x28e)][_0xd54b83(0xa0)]({'id':ne[_0xd54b83(0x9c)]}),this[_0xd54b83(0x366)]()):this['_collaborationUIEventService'][_0xd54b83(0xa0)]({'id':ne[_0xd54b83(0x2ec)]});}[_0x3f33cb(0x366)](){var _0x4336a0=_0x3f33cb,_0x1414d3;const _0x3b1e6c=this[_0x4336a0(0xa7)],_0x33e886=this[_0x4336a0(0x27e)][_0x4336a0(0x1a4)](K),_0x16a06a=_0x3b1e6c===0x0?0x0:((_0x1414d3=_0x33e886==null?void 0x0:_0x33e886['retryConnectingInterval'])!=null?_0x1414d3:Es)*0x2**_0x3b1e6c;this[_0x4336a0(0x320)]=setTimeout(()=>{var _0x47f453=_0x4336a0;clearTimeout(this[_0x47f453(0x320)]),this['_retryConnectingTimer']=null,this[_0x47f453(0x121)]();},_0x16a06a),this[_0x4336a0(0xa7)]+=0x1;}['_onMessage'](_0x383d61,_0xc52c47){var _0xeac5e0=_0x3f33cb;const {cmd:_0x34be7e}=_0xc52c47;_0x34be7e===F['HELLO']&&!this[_0xeac5e0(0x160)]&&(_0x383d61['memberID']=_0xc52c47[_0xeac5e0(0x38e)][_0xeac5e0(0x1bd)],this['_socket$']['next'](_0x383d61),this[_0xeac5e0(0x342)][_0xeac5e0(0x38f)](ge['ONLINE']),this[_0xeac5e0(0x160)]=!0x0,this[_0xeac5e0(0x13b)]=null),_0x34be7e===F[_0xeac5e0(0x256)]&&this['_clearTimeoutTimer'](),this[_0xeac5e0(0x1e8)]();}['_rescheduleHeartbeat'](){var _0xbafa71=_0x3f33cb,_0x508205;this[_0xbafa71(0x2a7)](),this[_0xbafa71(0x263)]=setTimeout(()=>this[_0xbafa71(0x362)](),(_0x508205=this['_configService'][_0xbafa71(0x1a4)](gs))!=null?_0x508205:Ss);}[_0x3f33cb(0x362)](){var _0xd46e0d=_0x3f33cb;this[_0xd46e0d(0x391)][_0xd46e0d(0x337)]({'cmd':F['HEARTBEAT']}),this[_0xd46e0d(0xba)]();}['_waitForHeartbeatResponse'](){var _0x3ab78f=_0x3f33cb,_0xb4445;this[_0x3ab78f(0x356)]=setTimeout(()=>this['_onConnectionFailed'](),(_0xb4445=this[_0x3ab78f(0x27e)][_0x3ab78f(0x1a4)](di))!=null?_0xb4445:fi);}['_clearHeartbeatTimer'](){var _0xf6d968=_0x3f33cb;this[_0xf6d968(0x263)]!=null&&(clearTimeout(this[_0xf6d968(0x263)]),this[_0xf6d968(0x263)]=null);}['_clearTimeoutTimer'](){var _0x386b31=_0x3f33cb;this[_0x386b31(0x356)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x386b31(0x356)]=null);}};Pe=Bs([Re(0x0,_0x289be2(_0x20dc98)),Re(0x1,_0x575f9c),Re(0x2,_0x3594ab),Re(0x3,mi),Re(0x4,_0x289be2(ve)),Re(0x5,_0x3d442c(bs))],Pe);const J=_0x43bfb9(_0x3f33cb(0x14e));function br(_0x44db6e){var _0x420c12=_0x3f33cb;return _0x420c12(0x2bf)+_0x44db6e;}var js=Object[_0x3f33cb(0x296)],Fs=(_0x12dd30,_0x4d5c4c,_0x75e7a9,_0x30acef)=>{var _0x447309=_0x3f33cb;for(var _0x1a5ff5=_0x30acef>0x1?void 0x0:_0x30acef?js(_0x4d5c4c,_0x75e7a9):_0x4d5c4c,_0x20dd69=_0x12dd30[_0x447309(0x2f6)]-0x1,_0x1cc9ea;_0x20dd69>=0x0;_0x20dd69--)(_0x1cc9ea=_0x12dd30[_0x20dd69])&&(_0x1a5ff5=_0x1cc9ea(_0x1a5ff5)||_0x1a5ff5);return _0x1a5ff5;},ut=(_0x21b3eb,_0x4005bd)=>(_0x5bc73c,_0x22ea29)=>_0x4005bd(_0x5bc73c,_0x22ea29,_0x21b3eb);function Vs(_0xa9f1f5){var _0x5b08a3=_0x3f33cb;const {unitID:_0x28daec,mutations:_0x212b44}=_0xa9f1f5;return{'unitId':_0x28daec,'subUnitId':_0x212b44[0x0][_0x5b08a3(0x35f)][_0x5b08a3(0x364)]};}let it=class{constructor(_0x2c3531,_0x52c844,_0xfe348){var _0x2e2447=_0x3f33cb;this[_0x2e2447(0xee)]=_0x2c3531,this['_transformService']=_0x52c844,this[_0x2e2447(0x135)]=_0xfe348;}[_0x3f33cb(0x22c)](_0x309b66){var _0x4613ce=_0x3f33cb,_0x103224,_0x1fc5c4,_0x5878e6,_0x32a343;const _0x136fe5=this['_injector'][_0x4613ce(0x34f)](_0x4f48b0),{unitId:_0x4d78a8,subUnitId:_0x43272b}=Vs(_0x309b66),_0xbbd68f=_0x136fe5==null?void 0x0:_0x136fe5[_0x4613ce(0x2ca)](_0x4d78a8)[_0x4613ce(0xab)](),_0x1746d5=(_0x1fc5c4=(_0x103224=this[_0x4613ce(0x135)][_0x4613ce(0x243)](_0x4d78a8))==null?void 0x0:_0x103224[_0x4613ce(0x396)]())==null?void 0x0:_0x1fc5c4[_0x4613ce(0x1aa)]();if(_0xbbd68f[_0x4613ce(0x2f6)]===0x0||!_0x4d78a8||!_0x43272b)return;const _0x270b2d=[{'id':_0x120755['id'],'params':{'unitId':_0x4d78a8,'subUnitId':_0x1746d5,'selections':_0x31c009['deepClone'](_0xbbd68f)}}],_0x4be66b=this[_0x4613ce(0x21e)]['transformMutationsWithChangeset'](_0x309b66,_0x270b2d);if(!_0x12b764(_0x4be66b))throw _0x4be66b[_0x4613ce(0x288)];const _0x51f7dc=(_0x32a343=(_0x5878e6=_0x4be66b[_0x4613ce(0x340)][0x0])==null?void 0x0:_0x5878e6[_0x4613ce(0x35f)])==null?void 0x0:_0x32a343[_0x4613ce(0x24e)];if(Array[_0x4613ce(0x302)](_0x51f7dc)&&_0x51f7dc[_0x4613ce(0x2f6)]){if(_0x51f7dc[_0x4613ce(0x2f6)]===_0x270b2d[0x0][_0x4613ce(0x35f)]['selections'][_0x4613ce(0x2f6)]&&_0x51f7dc['every']((_0x560abb,_0x588d30)=>_0x2a7e38[_0x4613ce(0x28b)](_0x560abb[_0x4613ce(0x319)],_0x270b2d[0x0][_0x4613ce(0x35f)][_0x4613ce(0x24e)][_0x588d30][_0x4613ce(0x319)])))return;this[_0x4613ce(0xee)][_0x4613ce(0x34f)](_0x587c6c)[_0x4613ce(0x21f)](_0x120755['id'],{'unitId':_0x4d78a8,'subUnitId':_0x1746d5,'selections':_0x51f7dc});}}};it=Fs([ut(0x0,_0x289be2(_0x20dc98)),ut(0x1,_0x206be0),ut(0x2,_0x2366c1)],it);const ht=_0x43bfb9(_0x3f33cb(0x1ac));var Si=(_0x59ff3e=>(_0x59ff3e[_0x59ff3e['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3f33cb(0x382),_0x59ff3e[_0x59ff3e[_0x3f33cb(0x248)]=0x1]=_0x3f33cb(0x248),_0x59ff3e))(Si||{});const Ws=new Set([_0x45793f['id']]);function Gt(_0x1c5b05,_0x20a5b8,_0x4b7527,_0x1147d9,_0x588672){var _0x2e1c07=_0x3f33cb,_0x1d9879,_0x47f5dd,_0x257506,_0x142b98;const _0x59d31a=[];for(const _0x36bc7d of _0x1c5b05)if(Ws[_0x2e1c07(0x2d5)](_0x36bc7d['id'])){if(_0x59d31a[_0x2e1c07(0x2f6)]>0x0)break;_0x59d31a[_0x2e1c07(0x195)](_0x36bc7d);break;}else _0x59d31a[_0x2e1c07(0x195)](_0x36bc7d);const _0x2aad64=(_0x47f5dd=(_0x1d9879=_0x588672[_0x2e1c07(0x13e)]())==null?void 0x0:_0x1d9879[_0x2e1c07(0x2a3)])!=null?_0x47f5dd:_0x2e1c07(0x2e5),_0x423f5f=(_0x142b98=(_0x257506=_0x588672[_0x2e1c07(0x13e)]())==null?void 0x0:_0x257506['memberID'])!=null?_0x142b98:'unknown';return{'changeset':{'unitID':_0x20a5b8,'type':_0x153148(_0x4b7527[_0x2e1c07(0x210)](_0x20a5b8)),'baseRev':_0x1147d9[_0x2e1c07(0x12c)](_0x20a5b8),'revision':0x0,'userID':_0x2aad64,'memberID':_0x423f5f,'mutations':_0x59d31a},'pendingMutations':_0x1c5b05['slice'](_0x59d31a[_0x2e1c07(0x2f6)])};}function Gs(_0x432ca4,_0x2712b1,_0x1c3f9f,_0x51daa1,_0x460f7e){var _0x4bd325=_0x3f33cb,_0x1aafb7,_0x3d6f75,_0x525c64,_0x5b5ae5;const _0x23484d=[_0x432ca4[_0x4bd325(0x221)]((_0x140d91,_0x2b6091)=>{var _0x23c51d=_0x4bd325,_0x2e2b80;const {id:_0x3f3166}=_0x140d91,{id:_0x3077f0,type:_0x7eaf1}=_0x2b6091,_0x2a79bc=(_0x2e2b80=_0x140d91['params'])!=null?_0x2e2b80:{'actions':null},_0x362e29=_0x2b6091['params'];if(_0x3f3166&&_0x3f3166!==_0x3077f0)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3f3166+_0x23c51d(0x2af)+_0x3077f0+'.');return{..._0x140d91,'id':_0x3077f0,'type':_0x7eaf1,'params':{'unitId':_0x362e29[_0x23c51d(0x136)],'textRanges':_0x362e29[_0x23c51d(0x372)],'actions':_0x489e09['compose'](_0x2a79bc[_0x23c51d(0x164)],_0x362e29[_0x23c51d(0x164)])}};},{})],_0x224619=(_0x3d6f75=(_0x1aafb7=_0x460f7e[_0x4bd325(0x13e)]())==null?void 0x0:_0x1aafb7[_0x4bd325(0x2a3)])!=null?_0x3d6f75:'unknown',_0x2a792f=(_0x5b5ae5=(_0x525c64=_0x460f7e['getCurrentUser']())==null?void 0x0:_0x525c64['memberID'])!=null?_0x5b5ae5:_0x4bd325(0x2e5);return{'changeset':{'unitID':_0x2712b1,'type':_0x153148(_0x1c3f9f[_0x4bd325(0x210)](_0x2712b1)),'baseRev':_0x51daa1[_0x4bd325(0x12c)](_0x2712b1),'revision':0x0,'userID':_0x224619,'memberID':_0x2a792f,'mutations':_0x23484d},'pendingMutations':[]};}function Ei(_0x465f3d,_0x2ad9d7){var _0x38422c=_0x3f33cb;const _0x332d88=new _0x281ac7(0x1);return setTimeout(()=>_0x332d88['next'](_0x2ad9d7),_0x465f3d),_0x332d88[_0x38422c(0x350)]()[_0x38422c(0x2b6)](_0x344dee(0x1));}const Ys={'id':_0x41cd1d['id'],'type':_0x11cd3f['MUTATION'],'params':{}};var Ks=Object[_0x3f33cb(0x296)],Ee=(_0x4ceca5,_0x1a55ca,_0x17433c,_0xca97ca)=>{var _0x23b128=_0x3f33cb;for(var _0x3a6e44=_0xca97ca>0x1?void 0x0:_0xca97ca?Ks(_0x1a55ca,_0x17433c):_0x1a55ca,_0xef3c5a=_0x4ceca5[_0x23b128(0x2f6)]-0x1,_0x1c1d1f;_0xef3c5a>=0x0;_0xef3c5a--)(_0x1c1d1f=_0x4ceca5[_0xef3c5a])&&(_0x3a6e44=_0x1c1d1f(_0x3a6e44)||_0x3a6e44);return _0x3a6e44;},P=(_0x5baeb0,_0x2cd92e)=>(_0x378983,_0xa5c924)=>_0x2cd92e(_0x378983,_0xa5c924,_0x5baeb0),Ii=(_0x119e96=>(_0x119e96[_0x3f33cb(0x122)]=_0x3f33cb(0x26b),_0x119e96[_0x3f33cb(0x204)]='synced',_0x119e96[_0x3f33cb(0x2ef)]=_0x3f33cb(0x21c),_0x119e96[_0x3f33cb(0x241)]=_0x3f33cb(0x325),_0x119e96[_0x3f33cb(0x292)]=_0x3f33cb(0x103),_0x119e96[_0x3f33cb(0x155)]=_0x3f33cb(0x315),_0x119e96[_0x3f33cb(0x99)]=_0x3f33cb(0x2c1),_0x119e96[_0x3f33cb(0x285)]=_0x3f33cb(0xbe),_0x119e96))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x2532c8,_0x374116,_0x1e4a27,_0x2531ed,_0x5dbe4a,_0x2bb80d,_0x2f3062,_0x48efa0,_0x3b528a){var _0x4419ff=_0x3f33cb;N(this,'_awaitingChangeset',null),N(this,_0x4419ff(0x189),[]),(this[_0x4419ff(0x27f)]=_0x2532c8,this[_0x4419ff(0x1c4)]=_0x374116,this[_0x4419ff(0x171)]=_0x5dbe4a,this[_0x4419ff(0x239)]=_0x2bb80d,this[_0x4419ff(0x2c5)]=_0x2f3062,this['_revisionService']=_0x48efa0,this[_0x4419ff(0x316)]=_0x3b528a,this['_awaitingChangeset']=_0x1e4a27,this['_pendingMutations']=_0x2531ed);}['_checkMissing'](_0x354109){var _0x4325b3=_0x3f33cb;const _0x1a087b=this[_0x4325b3(0x2dd)]['getCurrentRevOfUnit'](this[_0x4325b3(0x27f)]);return _0x354109[_0x4325b3(0x272)]>_0x1a087b+0x1?(this[_0x4325b3(0x171)]['onMissingChangesets']({'from':_0x1a087b,'to':_0x354109[_0x4325b3(0x272)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x16346c){var _0x31aa3f=_0x3f33cb;this[_0x31aa3f(0x2c5)][_0x31aa3f(0xa9)](this[_0x31aa3f(0x27f)],_0x16346c);}[_0x3f33cb(0x234)](_0x3351b9){var _0x257a62=_0x3f33cb,_0x54b6e0,_0x4db649;(_0x4db649=(_0x54b6e0=this[_0x257a62(0x171)])['onTransformSelections'])==null||_0x4db649[_0x257a62(0x2e9)](_0x54b6e0,_0x3351b9);}[_0x3f33cb(0x170)](_0x55a2fc){var _0x2e8b17=_0x3f33cb,_0x2dbfaf,_0x169829;return(_0x169829=(_0x2dbfaf=this['_handler'])['onTransformIME'])==null?void 0x0:_0x169829[_0x2e8b17(0x2e9)](_0x2dbfaf,_0x55a2fc);}['_transformStateCache'](_0x4eccf3){var _0x24d24f=_0x3f33cb,_0x5615b3,_0x2c13d7;return(_0x2c13d7=(_0x5615b3=this[_0x24d24f(0x171)])[_0x24d24f(0x23d)])==null?void 0x0:_0x2c13d7[_0x24d24f(0x2e9)](_0x5615b3,_0x4eccf3);}['_transformRemoteChangesetByIMECache'](_0x374804){var _0x538a48=_0x3f33cb,_0xdfb7f4,_0x4e2287,_0x33f781;return(_0x33f781=(_0x4e2287=(_0xdfb7f4=this[_0x538a48(0x171)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4e2287[_0x538a48(0x2e9)](_0xdfb7f4,_0x374804))!=null?_0x33f781:_0x374804;}[_0x3f33cb(0x2fe)](_0x8f699a){var _0xd83fe4=_0x3f33cb,_0x5582cc,_0x25f1d7,_0x4d127b;return(_0x4d127b=(_0x25f1d7=(_0x5582cc=this[_0xd83fe4(0x171)])[_0xd83fe4(0x227)])==null?void 0x0:_0x25f1d7['call'](_0x5582cc,_0x8f699a))!=null?_0x4d127b:_0x8f699a;}[_0x3f33cb(0x168)](_0x541e09){var _0xd31b3b=_0x3f33cb,_0x2d3b24,_0x320e09;if(this[_0xd31b3b(0x1c4)]===Z[_0xd31b3b(0x387)]){const {unitID:_0x438f1f,mutations:_0x55dfdc,memberID:_0x179af1}=_0x541e09,_0x5eac86=_0x55dfdc[0x0][_0xd31b3b(0x35f)]['textRanges'];Array[_0xd31b3b(0x302)](_0x5eac86)&&_0x5eac86['length']>0x0&&((_0x320e09=(_0x2d3b24=this['_handler'])[_0xd31b3b(0x352)])==null||_0x320e09[_0xd31b3b(0x2e9)](_0x2d3b24,{'unitID':_0x438f1f,'memberID':_0x179af1,'textRanges':_0x5eac86}));}}[_0x3f33cb(0x20c)](){var _0x194a03=_0x3f33cb,_0x2523c5;(_0x2523c5=this[_0x194a03(0x316)])==null||_0x2523c5[_0x194a03(0x331)](this[_0x194a03(0x27f)],this[_0x194a03(0x1c4)],this[_0x194a03(0x1d6)],this[_0x194a03(0x189)]);}['_getCurrentRevision'](){var _0x2ec4eb=_0x3f33cb;return this['_revisionService'][_0x2ec4eb(0x12c)](this['unitID']);}[_0x3f33cb(0x14f)](){var _0x50aebd=_0x3f33cb;this[_0x50aebd(0x2dd)]['incrementRevOfUnit'](this['unitID']);}[_0x3f33cb(0x1ed)](_0x4c77cd){var _0x1a120a=_0x3f33cb,_0x5d943b;let _0x27dc61=this['_transformRemoteChangesetByIMECache'](_0x4c77cd);_0x27dc61=this[_0x1a120a(0x2fe)](_0x27dc61);const _0x683e78=_0x23dea5(_0x27dc61['mutations'],this[_0x1a120a(0x239)],{'fromCollab':!0x0});if(!_0x683e78[_0x1a120a(0x2bd)])throw _0x683e78[_0x1a120a(0x288)]instanceof Error?_0x683e78[_0x1a120a(0x288)]:new Error((_0x5d943b=_0x683e78['error'])!=null?_0x5d943b:_0x1a120a(0x1c8));this[_0x1a120a(0x170)](_0x27dc61),this[_0x1a120a(0x14d)](_0x27dc61),this[_0x1a120a(0x1eb)](_0x4c77cd),this[_0x1a120a(0x234)](_0x27dc61),this[_0x1a120a(0x168)](_0x27dc61),this[_0x1a120a(0x14f)]();}}let ye=class extends Ie{constructor(_0x355c5d,_0x4a8b2b,_0x57dac8,_0x22b7e4,_0xfa29dc,_0x164628,_0x533b0b,_0x1b1994,_0x57f4a0,_0x34a541){var _0xad4f8a=_0x3f33cb;super(_0x355c5d,_0x4a8b2b,null,[],_0x57dac8,_0x533b0b,_0x164628,_0x22b7e4,_0x34a541),N(this,_0xad4f8a(0x2d9),'synced'),(this['_injector']=_0xfa29dc,this[_0xad4f8a(0x259)]=_0x1b1994,this[_0xad4f8a(0x21e)]=_0x57f4a0,this[_0xad4f8a(0x102)]=_0x34a541);}[_0x3f33cb(0xc2)](_0x42b017){var _0x1be1b6=_0x3f33cb;const _0x1e8362=this[_0x1be1b6(0xee)]['createInstance'](re,this[_0x1be1b6(0x27f)],this[_0x1be1b6(0x1c4)],[_0x42b017],this[_0x1be1b6(0x171)]);return _0x1e8362[_0x1be1b6(0xad)](),_0x1e8362['_updateLocalCache'](),_0x1e8362;}[_0x3f33cb(0xb7)](_0x31a6f1){var _0x4e6edd=_0x3f33cb;if(this[_0x4e6edd(0x199)](_0x31a6f1))return this[_0x4e6edd(0xee)][_0x4e6edd(0x22d)](Q,this[_0x4e6edd(0x27f)],this[_0x4e6edd(0x1c4)],null,[],null,[_0x31a6f1],this[_0x4e6edd(0x171)]);try{const _0x523e23=this[_0x4e6edd(0x21e)]['transformMutationsWithChangeset'](_0x31a6f1,[Ys]);if(_0x12b764(_0x523e23)){const {c1Prime:_0x172087}=_0x523e23;return this[_0x4e6edd(0x1ed)](_0x172087),this;}throw _0x523e23[_0x4e6edd(0x288)];}catch(_0x1a0fd6){return this['_logService']['error'](_0x1a0fd6),this[_0x4e6edd(0x181)](!0x1);}}[_0x3f33cb(0x181)](_0x3b2a85){var _0x450f8f=_0x3f33cb;return this[_0x450f8f(0xee)][_0x450f8f(0x22d)](le,this[_0x450f8f(0x27f)],this[_0x450f8f(0x1c4)],null,[],this[_0x450f8f(0x171)],_0x3b2a85);}[_0x3f33cb(0x2b0)](){var _0x78d7fb=_0x3f33cb;throw new Error(_0x78d7fb(0x266));}[_0x3f33cb(0x28a)](){var _0x9c19a9=_0x3f33cb;throw new Error(_0x9c19a9(0x187));}[_0x3f33cb(0xca)](){return this;}[_0x3f33cb(0x37e)](){var _0x533a82=_0x3f33cb;return this[_0x533a82(0xee)]['createInstance'](ue,this[_0x533a82(0x27f)],this[_0x533a82(0x1c4)],null,[],this[_0x533a82(0x171)]);}[_0x3f33cb(0x390)](){return this;}[_0x3f33cb(0x2bc)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f33cb(0x30c)](){var _0xe6ca7f=_0x3f33cb;const _0x5a87d6=this['_revisionService'][_0xe6ca7f(0x12c)](this[_0xe6ca7f(0x27f)]);return this[_0xe6ca7f(0x171)][_0xe6ca7f(0x166)]({'from':_0x5a87d6,'to':0x0}),this[_0xe6ca7f(0xee)][_0xe6ca7f(0x22d)](Q,this[_0xe6ca7f(0x27f)],this[_0xe6ca7f(0x1c4)],null,[],null,[],this[_0xe6ca7f(0x171)]);}};ye=Ee([P(0x3,_0x289be2(_0x1b45af)),P(0x4,_0x289be2(_0x20dc98)),P(0x5,_0x1f5600),P(0x6,_0x587c6c),P(0x7,_0x575f9c),P(0x8,_0x206be0),P(0x9,_0x3d442c(J))],ye);let re=class extends Ie{constructor(_0x5b5675,_0x40db13,_0x16780d,_0x234966,_0x48317c,_0x2927f8,_0x14f3a5,_0x3f023a,_0x479f04,_0x5a0869,_0x462bda,_0x104126,_0x4ea873,_0x3e793c){var _0x5c2d02=_0x3f33cb;super(_0x5b5675,_0x40db13,null,_0x16780d,_0x234966,_0x479f04,_0x4ea873,_0x2927f8,_0x3e793c),N(this,'status',_0x5c2d02(0x21c)),N(this,_0x5c2d02(0x2e7),null),N(this,'_sendingTimer',null),(this['_injector']=_0x48317c,this[_0x5c2d02(0x1ef)]=_0x14f3a5,this[_0x5c2d02(0x259)]=_0x3f023a,this[_0x5c2d02(0x27e)]=_0x5a0869,this[_0x5c2d02(0x21e)]=_0x462bda,this[_0x5c2d02(0x198)]=_0x104126);}['appendMutation'](_0x32b1d0){var _0x43134d=_0x3f33cb;return this[_0x43134d(0x189)][_0x43134d(0x195)](_0x32b1d0),this[_0x43134d(0x20c)](),this;}[_0x3f33cb(0xb7)](_0x3f8992){var _0x4b9f44=_0x3f33cb;if(this[_0x4b9f44(0x199)](_0x3f8992))return this['_clearScheduledTask'](),this[_0x4b9f44(0xee)]['createInstance'](Q,this[_0x4b9f44(0x27f)],this[_0x4b9f44(0x1c4)],null,this['_pendingMutations'],null,[_0x3f8992],this[_0x4b9f44(0x171)]);try{const _0x222a6c=this[_0x4b9f44(0x21e)][_0x4b9f44(0x1b5)](_0x3f8992,this[_0x4b9f44(0x189)]);if(_0x12b764(_0x222a6c)){const {c1Prime:_0x572dfd,m2Prime:_0x5939ab}=_0x222a6c;this[_0x4b9f44(0x1ed)](_0x572dfd);const _0x1eaae3=this[_0x4b9f44(0xee)][_0x4b9f44(0x22d)](re,this['unitID'],this[_0x4b9f44(0x1c4)],_0x5939ab,this[_0x4b9f44(0x171)]);this[_0x4b9f44(0x179)]();const _0x307cb9=new Date()[_0x4b9f44(0xf6)](),_0x28ce8e=this['_scheduleCompleteTimestamp']?Math[_0x4b9f44(0xe7)](this['_scheduleCompleteTimestamp']-_0x307cb9,0x0):this[_0x4b9f44(0x18e)]();return _0x1eaae3[_0x4b9f44(0xad)](_0x28ce8e),_0x1eaae3;}throw _0x222a6c[_0x4b9f44(0x288)];}catch(_0x5ac4c1){return this['_logService'][_0x4b9f44(0x288)](_0x5ac4c1),this[_0x4b9f44(0x181)](!0x1);}}[_0x3f33cb(0x2b0)](){var _0x2dfc45=_0x3f33cb;throw new Error(_0x2dfc45(0x283));}[_0x3f33cb(0x28a)](){var _0x26a60d=_0x3f33cb;throw new Error(_0x26a60d(0x329));}[_0x3f33cb(0xca)](){return this;}[_0x3f33cb(0x37e)](){var _0x2518f1=_0x3f33cb;return this['_clearScheduledTask'](),this[_0x2518f1(0xee)]['createInstance'](ue,this['unitID'],this[_0x2518f1(0x1c4)],null,this['_pendingMutations'],this[_0x2518f1(0x171)]);}[_0x3f33cb(0x390)](){return this;}[_0x3f33cb(0xad)](_0x2c9f0e){var _0x9e7624=_0x3f33cb;const _0x69fec4=_0x2c9f0e!=null?_0x2c9f0e:this['_getSendChangesetTimeout']();this[_0x9e7624(0x2e7)]=new Date()[_0x9e7624(0xf6)]()+_0x69fec4,this['_sendingTimer']=setTimeout(()=>{var _0x40c2b8=_0x9e7624;this[_0x40c2b8(0x179)]();let _0x47a844=null;switch(this[_0x40c2b8(0x1c4)]){case Z[_0x40c2b8(0xce)]:{_0x47a844=Gt(this['_pendingMutations'],this['unitID'],this[_0x40c2b8(0x198)],this[_0x40c2b8(0x2dd)],this[_0x40c2b8(0x1ef)]);break;}case Z[_0x40c2b8(0x387)]:{this['_pendingMutations'][_0x40c2b8(0xa3)](_0x173890=>_0x173890['id']===_0x29a1a4['id'])?_0x47a844=Gs(this['_pendingMutations'],this[_0x40c2b8(0x27f)],this['_univerInstanceService'],this[_0x40c2b8(0x2dd)],this[_0x40c2b8(0x1ef)]):_0x47a844=Gt(this[_0x40c2b8(0x189)],this[_0x40c2b8(0x27f)],this['_univerInstanceService'],this[_0x40c2b8(0x2dd)],this[_0x40c2b8(0x1ef)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x40c2b8(0x1c4)]+'\x20in\x20_schedule.');}const {changeset:_0x5195ab,pendingMutations:_0x561a9c}=_0x47a844;this['_handler']['onSendChangeset'](_0x5195ab);const _0x15a622=_0x561a9c[_0x40c2b8(0x2f6)]?this['_injector'][_0x40c2b8(0x22d)](ae,this[_0x40c2b8(0x27f)],this[_0x40c2b8(0x1c4)],_0x5195ab,_0x561a9c,this[_0x40c2b8(0x171)],void 0x0):this[_0x40c2b8(0xee)][_0x40c2b8(0x22d)](_e,this['unitID'],this[_0x40c2b8(0x1c4)],_0x5195ab,this[_0x40c2b8(0x171)]);_0x15a622['_updateLocalCache'](),this[_0x40c2b8(0x171)][_0x40c2b8(0x2ab)](this,_0x15a622);},_0x69fec4);}['_getSendChangesetTimeout'](){var _0x58da2d=_0x3f33cb,_0x26fb07;const _0x5b72ba=this[_0x58da2d(0x27e)][_0x58da2d(0x1a4)](K);return(_0x26fb07=_0x5b72ba==null?void 0x0:_0x5b72ba['sendChangesetTimeout'])!=null?_0x26fb07:ps;}[_0x3f33cb(0x2bc)](){var _0x5444d2=_0x3f33cb;throw new Error(_0x5444d2(0x33e));}[_0x3f33cb(0x179)](){var _0x38ec89=_0x3f33cb;this[_0x38ec89(0x254)]!=null&&(clearTimeout(this[_0x38ec89(0x254)]),this[_0x38ec89(0x254)]=null);}[_0x3f33cb(0x181)](_0x42cbac){var _0x254925=_0x3f33cb;return this['_clearScheduledTask'](),this[_0x254925(0xee)]['createInstance'](le,this[_0x254925(0x27f)],this[_0x254925(0x1c4)],null,this[_0x254925(0x189)],this[_0x254925(0x171)],_0x42cbac);}};re=Ee([P(0x4,_0x289be2(_0x20dc98)),P(0x5,_0x289be2(_0x1b45af)),P(0x6,_0x289be2(we)),P(0x7,_0x575f9c),P(0x8,_0x587c6c),P(0x9,_0x3594ab),P(0xa,_0x206be0),P(0xb,_0x2366c1),P(0xc,_0x1f5600),P(0xd,_0x3d442c(J))],re);let _e=class extends Ie{constructor(_0x3002df,_0x18e798,_0x31c129,_0x47034c,_0x280647,_0x4ba89b,_0x1f7bee,_0x35f157,_0x9149ec,_0x22514a,_0x3ceec5){var _0xb6faf1=_0x3f33cb;super(_0x3002df,_0x18e798,_0x31c129,[],_0x47034c,_0x1f7bee,_0x22514a,_0x4ba89b,_0x3ceec5),N(this,_0xb6faf1(0x2d9),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0xb6faf1(0x2c3)),N(this,_0xb6faf1(0x307)),(this['_injector']=_0x280647,this[_0xb6faf1(0x259)]=_0x35f157,this[_0xb6faf1(0x21e)]=_0x9149ec);}[_0x3f33cb(0xc2)](_0x452b5a){var _0x5c0ada=_0x3f33cb;this[_0x5c0ada(0x179)]();const _0xf4bfc5=this[_0x5c0ada(0xee)][_0x5c0ada(0x22d)](ae,this[_0x5c0ada(0x27f)],this[_0x5c0ada(0x1c4)],this['_awaitingChangeset'],[_0x452b5a],this['_handler'],this[_0x5c0ada(0x2c3)]);return _0xf4bfc5[_0x5c0ada(0x20c)](),_0xf4bfc5;}['onRemoteChangeset'](_0x289ad2){var _0x1f716a=_0x3f33cb;if(this[_0x1f716a(0x199)](_0x289ad2))return this[_0x1f716a(0x179)](),this['_injector']['createInstance'](Q,this[_0x1f716a(0x27f)],this[_0x1f716a(0x1c4)],this[_0x1f716a(0x1d6)],[],null,[_0x289ad2],this['_handler']);try{const _0x5506c7=this[_0x1f716a(0x21e)][_0x1f716a(0x297)]([_0x289ad2],[this['_awaitingChangeset']],!0x1);if(_0x3e130b(_0x5506c7)){const {c1Prime:_0x220eb4,c2Prime:_0x7fd748}=_0x5506c7;this[_0x1f716a(0x1ed)](_0x220eb4[0x0]),_0x7fd748[0x0][_0x1f716a(0x2c2)]=this[_0x1f716a(0xa5)](),this[_0x1f716a(0x179)]();const _0x4eb2e7=this[_0x1f716a(0xee)][_0x1f716a(0x22d)](_e,this[_0x1f716a(0x27f)],this[_0x1f716a(0x1c4)],_0x7fd748[0x0],this[_0x1f716a(0x171)]);return _0x4eb2e7[_0x1f716a(0x20c)](),_0x4eb2e7;}return this[_0x1f716a(0x181)](!0x1);}catch(_0x297ca3){return this[_0x1f716a(0x259)][_0x1f716a(0x288)](_0x297ca3),this[_0x1f716a(0x181)](!0x1);}}[_0x3f33cb(0x2b0)](_0x5621bb){var _0x2db8dd=_0x3f33cb;this['_clearScheduledTask']();const _0x2286f7=this[_0x2db8dd(0x2dd)][_0x2db8dd(0x12c)](this[_0x2db8dd(0x27f)]);if(_0x5621bb['revision']<_0x2286f7-0x1)return this;if(this[_0x2db8dd(0x199)](_0x5621bb))return this['_injector'][_0x2db8dd(0x22d)](Q,this[_0x2db8dd(0x27f)],this[_0x2db8dd(0x1c4)],null,[],this[_0x2db8dd(0x1d6)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5e2bdc=this[_0x2db8dd(0xee)]['createInstance'](ye,this[_0x2db8dd(0x27f)],this[_0x2db8dd(0x1c4)],this[_0x2db8dd(0x171)]);return _0x5e2bdc[_0x2db8dd(0x20c)](),_0x5e2bdc;}[_0x3f33cb(0x28a)](_0x2a7d02){var _0x59a6a3=_0x3f33cb;return this[_0x59a6a3(0x181)](!!(_0x2a7d02!=null&&_0x2a7d02[_0x59a6a3(0x1b2)]));}[_0x3f33cb(0xca)](_0x4abeba){var _0x53f6cc=_0x3f33cb;return this[_0x53f6cc(0x2e6)]>Ti?this[_0x53f6cc(0x37e)]():(this[_0x53f6cc(0x2c3)]=Ei(this[_0x53f6cc(0x2e6)],{'timeout':this[_0x53f6cc(0x2e6)],'reqId':_0x4abeba[_0x53f6cc(0x375)]}),this[_0x53f6cc(0x307)]=this[_0x53f6cc(0x2c3)][_0x53f6cc(0xd2)](({reqId:_0x1c1c9f,timeout:_0x389148})=>{this['_resendWithTimeout'](_0x1c1c9f,_0x389148);}),this);}[_0x3f33cb(0x37e)](){var _0x414bbf=_0x3f33cb;return this[_0x414bbf(0x179)](),this[_0x414bbf(0xee)][_0x414bbf(0x22d)](ue,this[_0x414bbf(0x27f)],this['type'],this[_0x414bbf(0x1d6)],[],this[_0x414bbf(0x171)]);}['toggleOnline'](){return this;}['resend'](){var _0x2b1b8e=_0x3f33cb;this[_0x2b1b8e(0x171)]['onSendChangeset'](this[_0x2b1b8e(0x1d6)]);}[_0x3f33cb(0x181)](_0x404d18){var _0x5cc4bc=_0x3f33cb;return this['_clearScheduledTask'](),this['_injector'][_0x5cc4bc(0x22d)](le,this[_0x5cc4bc(0x27f)],this[_0x5cc4bc(0x1c4)],this[_0x5cc4bc(0x1d6)],[],this[_0x5cc4bc(0x171)],_0x404d18);}[_0x3f33cb(0x1c3)](_0x394d61,_0x2e1633){var _0x498dd1=_0x3f33cb,_0x38a0b1;_0x394d61===((_0x38a0b1=this[_0x498dd1(0x1d6)])==null?void 0x0:_0x38a0b1[_0x498dd1(0x375)])&&(this['resend'](),this[_0x498dd1(0x2e6)]=_0x2e1633===0x0?0x3e8:_0x2e1633*0x2);}['_clearScheduledTask'](){var _0x59e061=_0x3f33cb,_0x387d07;(_0x387d07=this[_0x59e061(0x307)])==null||_0x387d07['unsubscribe'](),this[_0x59e061(0x2e6)]=0x0;}};_e=Ee([P(0x4,_0x289be2(_0x20dc98)),P(0x5,_0x289be2(_0x1b45af)),P(0x6,_0x587c6c),P(0x7,_0x575f9c),P(0x8,_0x206be0),P(0x9,_0x1f5600),P(0xa,_0x3d442c(J))],_e);let ae=class extends Ie{constructor(_0x2af573,_0x3e3d7f,_0x28b453,_0x27f1a1,_0x4da431,_0x271750,_0x3a73d2,_0x1ddb37,_0x1f8bb1,_0x4bb050,_0xe4b13d,_0x23df6f,_0x2e4990){var _0x1ac26d=_0x3f33cb;super(_0x2af573,_0x3e3d7f,_0x28b453,_0x27f1a1,_0x4da431,_0x1f8bb1,_0x23df6f,_0x1ddb37,_0x2e4990),N(this,'status',_0x1ac26d(0x103)),N(this,'_resendTimeout',0x0),N(this,_0x1ac26d(0x2c3)),N(this,_0x1ac26d(0x307)),(this['_injector']=_0x3a73d2,this['_logService']=_0x4bb050,this[_0x1ac26d(0x21e)]=_0xe4b13d,this[_0x1ac26d(0x102)]=_0x2e4990,_0x271750&&(this[_0x1ac26d(0x2c3)]=_0x271750,this[_0x1ac26d(0x307)]=this[_0x1ac26d(0x2c3)][_0x1ac26d(0xd2)](({reqId:_0x1a8193,timeout:_0x2f3dfb})=>{var _0x30a8e8=_0x1ac26d;this[_0x30a8e8(0x1c3)](_0x1a8193,_0x2f3dfb);})));}[_0x3f33cb(0xc2)](_0x3158f5){var _0x2d871c=_0x3f33cb;return this['_pendingMutations'][_0x2d871c(0x195)](_0x3158f5),this;}[_0x3f33cb(0xb7)](_0x17da7b){var _0x7f290e=_0x3f33cb;if(this[_0x7f290e(0x199)](_0x17da7b))return this[_0x7f290e(0x179)](),this[_0x7f290e(0xee)][_0x7f290e(0x22d)](Q,this['unitID'],this[_0x7f290e(0x1c4)],this[_0x7f290e(0x1d6)],this[_0x7f290e(0x189)],null,[_0x17da7b],this['_handler']);try{const _0x4800e2=this[_0x7f290e(0x21e)][_0x7f290e(0x297)]([_0x17da7b],[this['_awaitingChangeset']],!0x1);if(_0x3e130b(_0x4800e2)){const {c1Prime:_0x7512ae,c2Prime:_0x36a5a3}=_0x4800e2,_0x463995=this[_0x7f290e(0x21e)]['transformMutationsWithChangeset'](_0x7512ae[0x0],this[_0x7f290e(0x189)]);if(_0x12b764(_0x463995)){const {c1Prime:_0x183d04,m2Prime:_0x4e2555}=_0x463995;return this['_executeRemoteChangeset'](_0x183d04),_0x36a5a3[0x0][_0x7f290e(0x2c2)]=this['_getCurrentRevision'](),this[_0x7f290e(0x179)](),this[_0x7f290e(0xee)][_0x7f290e(0x22d)](ae,this['unitID'],this[_0x7f290e(0x1c4)],_0x36a5a3[0x0],_0x4e2555,this[_0x7f290e(0x171)],void 0x0);}throw _0x463995[_0x7f290e(0x288)];}throw _0x4800e2[_0x7f290e(0x288)];}catch(_0x150ce4){return this[_0x7f290e(0x259)][_0x7f290e(0x288)](_0x150ce4),this[_0x7f290e(0x181)](!0x1);}}['onRemoteAck'](_0x2fbe7e){var _0xb909f4=_0x3f33cb;if(this[_0xb909f4(0x179)](),this[_0xb909f4(0x199)](_0x2fbe7e))return this[_0xb909f4(0xee)][_0xb909f4(0x22d)](Q,this['unitID'],this[_0xb909f4(0x1c4)],null,this[_0xb909f4(0x189)],this[_0xb909f4(0x1d6)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x17ab61=this[_0xb909f4(0xee)][_0xb909f4(0x22d)](re,this['unitID'],this['type'],this[_0xb909f4(0x189)],this[_0xb909f4(0x171)]);return _0x17ab61[_0xb909f4(0xad)](),_0x17ab61['_updateLocalCache'](),_0x17ab61;}[_0x3f33cb(0x28a)](_0x4859f2){var _0xbe555f=_0x3f33cb;return this[_0xbe555f(0x181)](!!(_0x4859f2!=null&&_0x4859f2[_0xbe555f(0x1b2)]));}[_0x3f33cb(0xca)](_0x5736ff){var _0x543e5c=_0x3f33cb;return this['_resendTimeout']>Ti?this['toggleOffline']():(this[_0x543e5c(0x2c3)]=Ei(this[_0x543e5c(0x2e6)],{'timeout':this['_resendTimeout'],'reqId':_0x5736ff[_0x543e5c(0x375)]}),this[_0x543e5c(0x307)]=this[_0x543e5c(0x2c3)][_0x543e5c(0xd2)](({reqId:_0x5a3e21,timeout:_0x160ad1})=>{this['_resendWithTimeout'](_0x5a3e21,_0x160ad1);}),this);}[_0x3f33cb(0x37e)](){var _0x288014=_0x3f33cb;return this[_0x288014(0x179)](),this[_0x288014(0xee)][_0x288014(0x22d)](ue,this['unitID'],this[_0x288014(0x1c4)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x288014(0x171)]);}['toggleOnline'](){return this;}[_0x3f33cb(0x2bc)](){var _0x930b9a=_0x3f33cb;this[_0x930b9a(0x171)][_0x930b9a(0x2e4)](this[_0x930b9a(0x1d6)]);}[_0x3f33cb(0x181)](_0x485db0){var _0x4463d8=_0x3f33cb;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this[_0x4463d8(0x27f)],this[_0x4463d8(0x1c4)],null,this[_0x4463d8(0x189)],this['_handler'],_0x485db0);}[_0x3f33cb(0x1c3)](_0x2e4d11,_0x1c3819){var _0x469751=_0x3f33cb,_0x29b268;_0x2e4d11===((_0x29b268=this[_0x469751(0x1d6)])==null?void 0x0:_0x29b268[_0x469751(0x375)])&&(this[_0x469751(0x2bc)](),this[_0x469751(0x2e6)]=_0x1c3819===0x0?0x3e8:_0x1c3819*0x2);}['_clearScheduledTask'](){var _0x2608ba=_0x3f33cb,_0x598018;(_0x598018=this[_0x2608ba(0x307)])==null||_0x598018['unsubscribe'](),this[_0x2608ba(0x2e6)]=0x0;}};ae=Ee([P(0x6,_0x289be2(_0x20dc98)),P(0x7,_0x289be2(_0x1b45af)),P(0x8,_0x587c6c),P(0x9,_0x575f9c),P(0xa,_0x206be0),P(0xb,_0x1f5600),P(0xc,_0x3d442c(J))],ae);let le=class extends Ie{constructor(_0x4fc1fb,_0x286d91,_0x314bf4,_0x174cae,_0x2466eb,_0x10406b=!0x1,_0x3758c4,_0x364450,_0xd62845,_0x1f525e,_0x52586d,_0x726c9b,_0x3cef43){var _0x5014c1=_0x3f33cb;super(_0x4fc1fb,_0x286d91,_0x314bf4,_0x174cae,_0x2466eb,_0x364450,_0xd62845,_0x1f525e,_0x3cef43),N(this,_0x5014c1(0x2d9),_0x5014c1(0x2c1)),(this[_0x5014c1(0x359)]=_0x10406b,this[_0x5014c1(0x355)]=_0x3758c4,this[_0x5014c1(0x23e)]=_0x52586d,this[_0x5014c1(0x28e)]=_0x726c9b,this[_0x5014c1(0x102)]=_0x3cef43,this[_0x5014c1(0x29e)](),this[_0x5014c1(0xfd)](),this[_0x5014c1(0x12b)]());}[_0x3f33cb(0xc2)](){return this;}[_0x3f33cb(0xb7)](){return this;}[_0x3f33cb(0x2b0)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x3f33cb(0x2bc)](){var _0x2d1ea7=_0x3f33cb;throw new Error(_0x2d1ea7(0x2cb));}[_0x3f33cb(0xfd)](){var _0xfa9c44=_0x3f33cb,_0x281bce;(_0x281bce=this['_localCacheService'])==null||_0x281bce[_0xfa9c44(0x331)](this['unitID'],this[_0xfa9c44(0x1c4)],null,[]);}[_0x3f33cb(0x29e)](){var _0x4854b2=_0x3f33cb;this[_0x4854b2(0x359)]?this[_0x4854b2(0x28e)]['emitEvent']({'id':ne[_0x4854b2(0x22e)]}):this['_collaborationUIEventService'][_0x4854b2(0xa0)]({'id':ne[_0x4854b2(0x99)]});}['_disableEditing'](){var _0x1f32a9=_0x3f33cb;this[_0x1f32a9(0x355)][_0x1f32a9(0x347)](new _0x158a74(this[_0x1f32a9(0x27f)])['id'],!0x1);}};le=Ee([P(0x6,_0x289be2(_0x1a3b09)),P(0x7,_0x587c6c),P(0x8,_0x1f5600),P(0x9,_0x289be2(_0x1b45af)),P(0xa,_0x289be2(_0x4c9010)),P(0xb,_0x289be2(ve)),P(0xc,_0x3d442c(J))],le);let ue=class extends Ie{constructor(_0x1081f9,_0x54ecbf,_0x34bca2,_0x31780e,_0x1555b9,_0x206920,_0xdc4a23,_0x69a3ff,_0xc88fbf,_0x3d42c9){var _0xbb0dae=_0x3f33cb;super(_0x1081f9,_0x54ecbf,_0x34bca2,_0x31780e,_0x1555b9,_0x69a3ff,_0xc88fbf,_0xdc4a23,_0x3d42c9),N(this,_0xbb0dae(0x2d9),'offline'),this[_0xbb0dae(0xee)]=_0x206920;}[_0x3f33cb(0xc2)](_0x24a63f){var _0x551864=_0x3f33cb;return this[_0x551864(0x189)]['push'](_0x24a63f),this[_0x551864(0x20c)](),this;}[_0x3f33cb(0xb7)](_0x49ae48){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3f33cb(0x2b0)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x305feb=_0x3f33cb;throw new Error(_0x305feb(0xa6));}['onRemoteRetry'](){return this;}[_0x3f33cb(0x37e)](){return this;}[_0x3f33cb(0x390)](){var _0x4b113f=_0x3f33cb;const {_injector:_0x16659d,_pendingMutations:_0xc9e547,_awaitingChangeset:_0x58c6e2,unitID:_0x42f6d6,_handler:_0x35e8c2,type:_0x3868e8}=this,_0x85e434=Ci(_0x16659d,_0x42f6d6,_0x3868e8,_0x58c6e2,_0xc9e547,_0x35e8c2);return _0x85e434 instanceof re?_0x85e434['_schedule']():(_0x85e434 instanceof ae||_0x85e434 instanceof _e)&&_0x85e434[_0x4b113f(0x2bc)](),_0x85e434;}[_0x3f33cb(0x2bc)](){var _0x260abb=_0x3f33cb;throw new Error(_0x260abb(0x1fa));}};ue=Ee([P(0x5,_0x289be2(_0x20dc98)),P(0x6,_0x289be2(_0x1b45af)),P(0x7,_0x587c6c),P(0x8,_0x1f5600),P(0x9,_0x3d442c(J))],ue);let Q=class extends Ie{constructor(_0x167661,_0x4c37f6,_0x49c6d7,_0x2147ae,_0x537b39,_0x27365c,_0x4e3206,_0x3257a8,_0x1f8fb4,_0x22421e,_0x4118dc,_0x4296ff,_0x231a83,_0x1af232){var _0x1b8b0e=_0x3f33cb;super(_0x167661,_0x4c37f6,_0x49c6d7,_0x2147ae,_0x4e3206,_0x4118dc,_0x4296ff,_0x1f8fb4,_0x1af232),N(this,_0x1b8b0e(0x2d9),_0x1b8b0e(0x315)),(this[_0x1b8b0e(0x1e7)]=_0x537b39,this['_queuedRemoteChangesets']=_0x27365c,this[_0x1b8b0e(0xee)]=_0x3257a8,this[_0x1b8b0e(0x259)]=_0x22421e,this[_0x1b8b0e(0x21e)]=_0x231a83,this['localCacheService']=_0x1af232);}['onMissedChangesetFetched'](_0x39493b){var _0x153f81=_0x3f33cb;try{const _0x5a32c4=[..._0x39493b,...this[_0x153f81(0x28d)]],_0x5756ea=[this[_0x153f81(0x1d6)]||this[_0x153f81(0x1e7)]][_0x153f81(0x313)](_0x46ffe8=>!!_0x46ffe8);let _0x8aab5c,_0x457d51;if(_0x5756ea[_0x153f81(0x2f6)]){const _0x3c1656=this[_0x153f81(0x21e)]['transformChangesets'](_0x5a32c4,_0x5756ea,!0x1);if(!_0x3e130b(_0x3c1656))throw _0x3c1656[_0x153f81(0x288)];_0x8aab5c=_0x3c1656[_0x153f81(0x361)],_0x457d51=_0x3c1656[_0x153f81(0x1f6)];}else _0x8aab5c=_0x5a32c4,_0x457d51=[];let _0x4e82ba=this[_0x153f81(0x189)];_0x8aab5c['forEach'](_0x1e6923=>{var _0x25cb96=_0x153f81;let _0x1a5061;if(_0x4e82ba[_0x25cb96(0x2f6)]){const _0x4d47d7=this[_0x25cb96(0x21e)][_0x25cb96(0x1b5)](_0x1e6923,_0x4e82ba);if(!_0x12b764(_0x4d47d7))throw _0x4d47d7['error'];_0x1a5061=_0x4d47d7[_0x25cb96(0x361)],_0x4e82ba=_0x4d47d7['m2Prime'];}else _0x1a5061=_0x1e6923;this[_0x25cb96(0x1ed)](_0x1a5061);}),this[_0x153f81(0x1e7)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x457d51[_0x153f81(0x2f6)]&&(_0x457d51[0x0][_0x153f81(0x2c2)]=this[_0x153f81(0xa5)]());let _0x117dec;if(this[_0x153f81(0x1d6)]&&_0x4e82ba[_0x153f81(0x2f6)]!==0x0)_0x117dec=this[_0x153f81(0xee)][_0x153f81(0x22d)](ae,this[_0x153f81(0x27f)],this['type'],_0x457d51[0x0],_0x4e82ba,this[_0x153f81(0x171)],void 0x0);else{if(this[_0x153f81(0x1d6)]&&_0x4e82ba[_0x153f81(0x2f6)]===0x0)_0x457d51[0x0][_0x153f81(0x2c2)]=this[_0x153f81(0xa5)](),_0x117dec=this[_0x153f81(0xee)][_0x153f81(0x22d)](_e,this['unitID'],this[_0x153f81(0x1c4)],_0x457d51[0x0],this[_0x153f81(0x171)]);else{if(_0x4e82ba['length']!==0x0){const _0xfb16dc=this[_0x153f81(0xee)]['createInstance'](re,this[_0x153f81(0x27f)],this[_0x153f81(0x1c4)],_0x4e82ba,this[_0x153f81(0x171)]);_0xfb16dc[_0x153f81(0xad)](),_0x117dec=_0xfb16dc;}else _0x117dec=this[_0x153f81(0xee)][_0x153f81(0x22d)](ye,this['unitID'],this[_0x153f81(0x1c4)],this[_0x153f81(0x171)]);}}return _0x117dec['_updateLocalCache'](),_0x117dec;}catch(_0x42c1f0){return this[_0x153f81(0x259)][_0x153f81(0x288)](_0x153f81(0x1fb),'failed\x20to\x20apply\x20missed\x20changesets!',_0x42c1f0),this['_injector'][_0x153f81(0x22d)](le,this[_0x153f81(0x27f)],this[_0x153f81(0x1c4)],this[_0x153f81(0x1d6)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x221faa=_0x3f33cb;throw new Error(_0x221faa(0x38b));}[_0x3f33cb(0xc2)](_0x982ebf){var _0x36f518=_0x3f33cb;return this['_pendingMutations'][_0x36f518(0x195)](_0x982ebf),this;}['onRemoteChangeset'](_0x59e274){var _0x4a34eb=_0x3f33cb;return this[_0x4a34eb(0x28d)][_0x4a34eb(0x195)](_0x59e274),this;}[_0x3f33cb(0x2b0)](_0x319b61){var _0x4b6b2e=_0x3f33cb;if(this[_0x4b6b2e(0x1d6)])return this[_0x4b6b2e(0x1e7)]=this['_awaitingChangeset'],this[_0x4b6b2e(0x1d6)]=null,this;throw new Error(_0x4b6b2e(0x96));}[_0x3f33cb(0x28a)](_0x1f2312){var _0xc9f944=_0x3f33cb;return this[_0xc9f944(0x181)](!!(_0x1f2312!=null&&_0x1f2312[_0xc9f944(0x1b2)]));}[_0x3f33cb(0xca)](){return this;}[_0x3f33cb(0x37e)](){var _0x13ab5c=_0x3f33cb;return this['_injector'][_0x13ab5c(0x22d)](ue,this[_0x13ab5c(0x27f)],this['type'],this[_0x13ab5c(0x1d6)],this[_0x13ab5c(0x189)],this[_0x13ab5c(0x171)]);}[_0x3f33cb(0x390)](){return this;}[_0x3f33cb(0x181)](_0xa0bcd2){var _0x818660=_0x3f33cb;return this[_0x818660(0xee)][_0x818660(0x22d)](le,this['unitID'],this[_0x818660(0x1c4)],this[_0x818660(0x1d6)],this[_0x818660(0x189)],this['_handler'],_0xa0bcd2);}};Q=Ee([P(0x7,_0x289be2(_0x20dc98)),P(0x8,_0x289be2(_0x1b45af)),P(0x9,_0x575f9c),P(0xa,_0x587c6c),P(0xb,_0x1f5600),P(0xc,_0x206be0),P(0xd,_0x3d442c(J))],Q);function Ci(_0x1e55b7,_0x30beb5,_0x4d2ec5,_0x953931,_0x280616,_0x45fc17){var _0x252e11=_0x3f33cb;return _0x953931&&_0x280616[_0x252e11(0x2f6)]?_0x1e55b7[_0x252e11(0x22d)](ae,_0x30beb5,_0x4d2ec5,_0x953931,_0x280616,_0x45fc17,void 0x0):_0x953931?_0x1e55b7[_0x252e11(0x22d)](_e,_0x30beb5,_0x4d2ec5,_0x953931,_0x45fc17):_0x280616[_0x252e11(0x2f6)]?_0x1e55b7[_0x252e11(0x22d)](re,_0x30beb5,_0x4d2ec5,_0x280616,_0x45fc17):_0x1e55b7[_0x252e11(0x22d)](ye,_0x30beb5,_0x4d2ec5,_0x45fc17);}var qs=Object[_0x3f33cb(0x296)],wt=(_0x37f399,_0x55500d,_0x46f1c6,_0x8711ce)=>{var _0x552a8f=_0x3f33cb;for(var _0x17d3fc=_0x8711ce>0x1?void 0x0:_0x8711ce?qs(_0x55500d,_0x46f1c6):_0x55500d,_0x3844c5=_0x37f399[_0x552a8f(0x2f6)]-0x1,_0x23ce6c;_0x3844c5>=0x0;_0x3844c5--)(_0x23ce6c=_0x37f399[_0x3844c5])&&(_0x17d3fc=_0x23ce6c(_0x17d3fc)||_0x17d3fc);return _0x17d3fc;},H=(_0x35eb37,_0x32a692)=>(_0x478079,_0x2ab10d)=>_0x32a692(_0x478079,_0x2ab10d,_0x35eb37);let st=class extends _0x4447d4{constructor(_0x23a5a3,_0x1e0b2b,_0x3180e9,_0x5d5b72,_0x25e805,_0x22ba00,_0x10ccfe,_0x5c6c92,_0x4c19dc,_0x5e9279,_0x3a7ebc,_0xdbef5f,_0x5681eb){var _0x1a3a05=_0x3f33cb;super(),N(this,_0x1a3a05(0x2c6),new _0x124502(null)),N(this,'state$',this['_state$']['asObservable']()),N(this,_0x1a3a05(0x17d)),N(this,_0x1a3a05(0xc3),!0x1),N(this,_0x1a3a05(0x117),''),N(this,_0x1a3a05(0x29a),0x0),N(this,_0x1a3a05(0x3a1),this[_0x1a3a05(0x19d)]['pipe'](_0x2b38ff(_0x4496d7=>_0x4496d7?_0x4496d7[_0x1a3a05(0x2d9)]:Ii[_0x1a3a05(0x285)]),_0x1a4724(0x1))),N(this,_0x1a3a05(0x2d7),!0x1),N(this,_0x1a3a05(0xe5),[]),(this[_0x1a3a05(0x27f)]=_0x23a5a3,this[_0x1a3a05(0x399)]=_0x1e0b2b,this[_0x1a3a05(0x110)]=_0x3180e9,this[_0x1a3a05(0xee)]=_0x5d5b72,this[_0x1a3a05(0xb2)]=_0x25e805,this['_localeService']=_0x22ba00,this['_revisionService']=_0x10ccfe,this[_0x1a3a05(0x224)]=_0x5c6c92,this[_0x1a3a05(0x259)]=_0x4c19dc,this['_commandService']=_0x5e9279,this[_0x1a3a05(0x355)]=_0x3a7ebc,this[_0x1a3a05(0x1c9)]=_0xdbef5f,this[_0x1a3a05(0x316)]=_0x5681eb);}get[_0x3f33cb(0x192)](){return this['_state'];}async[_0x3f33cb(0x268)](){var _0x316643=_0x3f33cb;if(this[_0x316643(0x192)])throw new Error(_0x316643(0x376));await this[_0x316643(0x1e0)]();}[_0x3f33cb(0x2da)](){var _0x464198=_0x3f33cb;return this[_0x464198(0xc3)]=!0x0,_0xe5545b(()=>{var _0x4fa14f=_0x464198;this[_0x4fa14f(0xc3)]=!0x1,this[_0x4fa14f(0x2b4)]();});}[_0x3f33cb(0x176)](_0x5c83ca){var _0xddd524=_0x3f33cb;this[_0xddd524(0x2f4)](_0x5c83ca);}['_updateState'](_0x13be8a){var _0x22abca=_0x3f33cb;this['_state']=_0x13be8a,this[_0x22abca(0x2c6)][_0x22abca(0x38f)](_0x13be8a);}async[_0x3f33cb(0x1e0)](){var _0x355598=_0x3f33cb,_0x2f1a2a;this['_updateState'](await this[_0x355598(0x24b)]()),this[_0x355598(0x1c9)]&&((_0x2f1a2a=this[_0x355598(0x1c9)])==null||_0x2f1a2a[_0x355598(0x1ee)](this['unitID']),this[_0x355598(0x303)](this[_0x355598(0x1c9)][_0x355598(0x374)](this[_0x355598(0x27f)])['subscribe'](_0xd71ee5=>{var _0x4920bd=_0x355598;this[_0x4920bd(0x259)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xd71ee5),_0xd71ee5===Si[_0x4920bd(0x248)]?(this[_0x4920bd(0x224)][_0x4920bd(0xa0)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x4920bd(0x355)][_0x4920bd(0x347)](new _0x158a74(this[_0x4920bd(0x27f)])['id'],!0x1),this[_0x4920bd(0x355)][_0x4920bd(0x232)](!0x1)):(this[_0x4920bd(0x355)][_0x4920bd(0x347)](new _0x158a74(this['unitID'])['id'],!0x0),this[_0x4920bd(0x355)]['setShowComponents'](!0x0));})));let _0x3f9d8a=!0x1;return this['disposeWithMe'](this['session'][_0x355598(0x13c)][_0x355598(0xd2)](_0x42606e=>{var _0x392559=_0x355598;_0x42606e===ge[_0x392559(0x1f7)]?this[_0x392559(0x2ae)](_0x3f9d8a):_0x42606e===ge[_0x392559(0x285)]&&(_0x3f9d8a=!0x0,this[_0x392559(0x1dd)]());})),this[_0x355598(0x303)](this[_0x355598(0x399)][_0x355598(0x173)][_0x355598(0xd2)](_0x328eda=>{var _0x492249=_0x355598;try{switch(_0x328eda['eventID']){case _0x7f38ce[_0x492249(0x1fc)]:{this[_0x492249(0x247)](_0x4a4f2e(_0x328eda[_0x492249(0x38e)]));break;}case _0x7f38ce[_0x492249(0xef)]:{this[_0x492249(0x368)](_0x328eda[_0x492249(0x38e)]);break;}case _0x7f38ce['CHANGESET_REJ']:{this[_0x492249(0x27b)]();break;}case _0x7f38ce[_0x492249(0x321)]:{this[_0x492249(0x205)](_0x328eda[_0x492249(0x38e)]);break;}case _0x7f38ce[_0x492249(0x1bb)]:{this[_0x492249(0x222)](_0x328eda[_0x492249(0x38e)][_0x492249(0x10a)]['map'](_0x4bb2ac=>_0x4a4f2e(_0x4bb2ac)));break;}case _0x7f38ce['PERMISSION_REJ']:{this[_0x492249(0x27b)]({'isPermissionRej':!0x0});break;}case _0x7f38ce[_0x492249(0x2f0)]:break;}}catch(_0x355609){throw console[_0x492249(0x288)](_0x492249(0x12f),_0x355609),_0x355609;}})),this[_0x355598(0x17d)];}[_0x3f33cb(0x1a1)](){var _0x516e05=_0x3f33cb;this[_0x516e05(0x2d7)]=!0x1;}[_0x3f33cb(0x39e)](){var _0x5042c3=_0x3f33cb;if(this[_0x5042c3(0x2d7)])throw new Error(_0x5042c3(0x202));this[_0x5042c3(0x2d7)]=!0x0;}[_0x3f33cb(0x2f4)](_0x4692fc){var _0x47910c=_0x3f33cb;this['_lockTransition'](),this[_0x47910c(0xe9)](this[_0x47910c(0x17d)]['appendMutation'](_0x4692fc)),this['_unlockTransition']();}[_0x3f33cb(0x247)](_0x4e8058){var _0x4e1fe0=_0x3f33cb;if(!(_0x4e8058[_0x4e1fe0(0x272)]<=this[_0x4e1fe0(0x2dd)][_0x4e1fe0(0x12c)](this[_0x4e1fe0(0x27f)]))){if(this[_0x4e1fe0(0xc3)]){this[_0x4e1fe0(0xe5)][_0x4e1fe0(0x195)](_0x4e8058);return;}this[_0x4e1fe0(0x269)](_0x4e8058);}}[_0x3f33cb(0x2b4)](){var _0x570b8f=_0x3f33cb;this['_remoteChangesetQueue'][_0x570b8f(0x386)](_0x5449e2=>this[_0x570b8f(0x269)](_0x5449e2)),this[_0x570b8f(0xe5)]=[];}['_applyRemoteChangeset'](_0x2dd15f){var _0x1a9979=_0x3f33cb;const _0x475654=this[_0x1a9979(0xb2)]['interceptor'][_0x1a9979(0x206)](this[_0x1a9979(0xb2)][_0x1a9979(0x2db)]['getInterceptPoints']()[_0x1a9979(0x281)])(_0x2dd15f[_0x1a9979(0x12d)],null)||_0x2dd15f[_0x1a9979(0x12d)],_0x5b549f={..._0x2dd15f,'mutations':_0x475654};this['_lockTransition'](),this[_0x1a9979(0xe9)](this['_state'][_0x1a9979(0xb7)](_0x5b549f)),this[_0x1a9979(0x1a1)]();}[_0x3f33cb(0x368)](_0x49e0a7){var _0x2aa9b8=_0x3f33cb;this['_lockTransition'](),this[_0x2aa9b8(0xe9)](this['_state'][_0x2aa9b8(0x2b0)](_0x49e0a7)),this[_0x2aa9b8(0x1a1)]();}[_0x3f33cb(0x27b)](_0x2737be){var _0x3a4a62=_0x3f33cb;this[_0x3a4a62(0x39e)](),this[_0x3a4a62(0xe9)](this['_state'][_0x3a4a62(0x28a)](_0x2737be)),this[_0x3a4a62(0x1a1)]();}['_onRemoteRetry'](_0x4794d6){var _0x2f0a66=_0x3f33cb;this['_lockTransition'](),this['_updateState'](this[_0x2f0a66(0x17d)][_0x2f0a66(0xca)](_0x4794d6)),this[_0x2f0a66(0x1a1)]();}[_0x3f33cb(0x222)](_0x4c7fc7){var _0x2a98b2=_0x3f33cb;if(!(this[_0x2a98b2(0x17d)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xbeaa37=_0x4c7fc7[_0x2a98b2(0x185)](_0x38cba4=>{var _0x37892d=_0x2a98b2;const _0x2ef8=this[_0x37892d(0xb2)][_0x37892d(0x2db)][_0x37892d(0x206)](this[_0x37892d(0xb2)][_0x37892d(0x2db)][_0x37892d(0xd0)]()['COMPRESS_MUTATION_APPLY'])(_0x38cba4[_0x37892d(0x12d)],null)||_0x38cba4[_0x37892d(0x12d)];return{..._0x38cba4,'mutations':_0x2ef8};});this['_lockTransition'](),this[_0x2a98b2(0xe9)](this['_state']['onMissedChangesetFetched'](_0xbeaa37)),this[_0x2a98b2(0x1a1)]();}[_0x3f33cb(0x1dd)](){var _0x35935f=_0x3f33cb;this[_0x35935f(0x39e)](),this[_0x35935f(0xe9)](this[_0x35935f(0x17d)][_0x35935f(0x37e)]()),this[_0x35935f(0x1a1)]();}['_toggleOnline'](_0x487221=!0x1){var _0x3cf26b=_0x3f33cb;this[_0x3cf26b(0x39e)](),this['_updateState'](this[_0x3cf26b(0x17d)]['toggleOnline']()),this[_0x3cf26b(0x1a1)]();const _0x4cccab=this[_0x3cf26b(0x17d)];_0x487221&&_0x4cccab instanceof ye&&(this[_0x3cf26b(0x39e)](),this['_updateState'](_0x4cccab[_0x3cf26b(0x30c)]()),this[_0x3cf26b(0x1a1)]());}async['_createInitialState'](){return new Promise(_0x3a7538=>{var _0x232907=_0x2cdc;this[_0x232907(0x399)]['sessionStatus$'][_0x232907(0x2b6)](_0x344dee(0x1))['subscribe'](async _0x10b5cb=>{var _0x1feada=_0x232907;_0x3a7538(await this[_0x1feada(0x380)](_0x10b5cb===ge[_0x1feada(0x1f7)]));});});}[_0x3f33cb(0x182)](){const _0x598ded=this['unitID'];return{'onStateChange':(_0x3b254e,_0xccd03c)=>{var _0x310b66=_0x2cdc;if(_0x3b254e!==this[_0x310b66(0x17d)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3b254e['status']+'\x0aAfter:\x20'+_0xccd03c['status']+'\x0aCurrent:\x20'+this['_state'][_0x310b66(0x2d9)]);this[_0x310b66(0xe9)](_0xccd03c);},'onSendChangeset':_0x4df8ef=>{var _0x170e0c=_0x2cdc;_0x4df8ef['sid']||(_0x4df8ef[_0x170e0c(0x13f)]=this[_0x170e0c(0x117)],_0x4df8ef[_0x170e0c(0x375)]=++this[_0x170e0c(0x29a)]);const _0x1bd1ee={'eventID':_0x7f38ce[_0x170e0c(0x1f9)],'data':{'unitID':_0x4df8ef[_0x170e0c(0x27f)],'unitType':this[_0x170e0c(0x110)],'changeset':_0x4df8ef,'memberID':this[_0x170e0c(0x399)][_0x170e0c(0x208)]()}};this[_0x170e0c(0x399)]['send'](_0x1bd1ee,this[_0x170e0c(0x27f)]);},'onMissingChangesets':({from:_0x1b39ab,to:_0xb88c30})=>{var _0xa301f4=_0x2cdc;this[_0xa301f4(0x259)][_0xa301f4(0x16c)](_0xa301f4(0x18d),_0xa301f4(0x17c)+_0x1b39ab+'\x20to\x20'+_0xb88c30);const _0x3b35da={'eventID':_0x7f38ce[_0xa301f4(0xd9)],'data':{'unitID':_0x598ded,'unitType':this[_0xa301f4(0x110)],'from':_0x1b39ab,'to':_0xb88c30}};this[_0xa301f4(0x399)]['send'](_0x3b35da,this[_0xa301f4(0x27f)]);}};}async[_0x3f33cb(0x380)](_0x3fbe30){var _0x560a7b=_0x3f33cb,_0x58fcb5,_0x35a58c,_0x161bd6;const _0x325364=await((_0x58fcb5=this[_0x560a7b(0x316)])==null?void 0x0:_0x58fcb5[_0x560a7b(0xec)](this[_0x560a7b(0x27f)])),_0x17b871=(_0x35a58c=_0x325364==null?void 0x0:_0x325364[_0x560a7b(0x12d)])!=null?_0x35a58c:[],_0x464b7c=(_0x161bd6=_0x325364==null?void 0x0:_0x325364[_0x560a7b(0x330)])!=null?_0x161bd6:null,_0x16ce44=!!(_0x464b7c!=null&&_0x464b7c['sid'])&&!!(_0x464b7c!=null&&_0x464b7c['reqId']);this[_0x560a7b(0x117)]=_0x16ce44?_0x464b7c[_0x560a7b(0x13f)]:_0x2de936(),this[_0x560a7b(0x29a)]=_0x16ce44?_0x464b7c['reqId']:0x0;const _0x26e117=this['unitID'];try{this[_0x560a7b(0x24a)](_0x464b7c,_0x17b871);}catch(_0x2357cc){this[_0x560a7b(0x259)][_0x560a7b(0x288)](_0x2357cc);}const _0x949f77=this[_0x560a7b(0x182)]();if(_0x3fbe30){const _0x5644c1=Ci(this['_injector'],_0x26e117,this[_0x560a7b(0x110)],_0x464b7c,_0x17b871,_0x949f77);return _0x5644c1 instanceof re?_0x5644c1[_0x560a7b(0xad)]():(_0x5644c1 instanceof ae||_0x5644c1 instanceof _e)&&_0x5644c1[_0x560a7b(0x2bc)](),_0x5644c1;}return this['_injector'][_0x560a7b(0x22d)](ue,_0x26e117,this[_0x560a7b(0x110)],_0x464b7c,_0x17b871,_0x949f77);}[_0x3f33cb(0x24a)](_0x5a26fa,_0x10b0a1){var _0x37c5e2=_0x3f33cb,_0x58f31a,_0x473810;const _0x15a9ca=this[_0x37c5e2(0xb2)][_0x37c5e2(0x2db)][_0x37c5e2(0x206)](this[_0x37c5e2(0xb2)]['interceptor'][_0x37c5e2(0xd0)]()['COMPRESS_MUTATION_APPLY']);(_0x58f31a=_0x15a9ca((_0x5a26fa==null?void 0x0:_0x5a26fa[_0x37c5e2(0x12d)])||[],null))==null||_0x58f31a[_0x37c5e2(0x386)](_0x4ffd9b=>this[_0x37c5e2(0x239)][_0x37c5e2(0x21f)](_0x4ffd9b['id'],_0x4ffd9b[_0x37c5e2(0x35f)])),(_0x473810=_0x15a9ca(_0x10b0a1||[],null))==null||_0x473810[_0x37c5e2(0x386)](_0x455a3b=>this[_0x37c5e2(0x239)]['executeCommand'](_0x455a3b['id'],_0x455a3b[_0x37c5e2(0x35f)]));}};st=wt([H(0x3,_0x289be2(_0x20dc98)),H(0x4,_0x289be2(_0x21a1eb)),H(0x5,_0x289be2(_0x4c9010)),H(0x6,_0x289be2(_0x1b45af)),H(0x7,_0x289be2(ve)),H(0x8,_0x575f9c),H(0x9,_0x587c6c),H(0xa,_0x1a3b09),H(0xb,_0x3d442c(ht)),H(0xc,_0x3d442c(J))],st);let St=class extends st{constructor(_0x32251b,_0x58b3d7,_0x4ac133,_0x573ffb,_0x5ad8e9,_0x3be4ed,_0x118f18,_0x3ee9a2,_0x4c7283,_0x3c9f3d,_0x48ef0a,_0x3703e5,_0x29d97c){var _0x10065f=_0x3f33cb;super(_0x32251b,_0x4ac133,_0x58b3d7,_0x573ffb,_0x5ad8e9,_0x3be4ed,_0x118f18,_0x3ee9a2,_0x4c7283,_0x3c9f3d,_0x48ef0a,_0x3703e5,_0x29d97c),N(this,_0x10065f(0x392),null),(this[_0x10065f(0x27f)]=_0x32251b,this[_0x10065f(0x1c4)]=_0x58b3d7);}[_0x3f33cb(0xf1)](_0x5cd7d0){var _0x38cf32=_0x3f33cb;this[_0x38cf32(0x392)]=_0x5cd7d0;}[_0x3f33cb(0x16d)](){var _0x4a78ba=_0x3f33cb;this[_0x4a78ba(0x392)]=null,super['dispose']();}[_0x3f33cb(0x182)](){var _0x2396bb=_0x3f33cb;const _0x4c34d1=super[_0x2396bb(0x182)]();return _0x4c34d1['onTransformIME']=_0x302e1c=>{var _0x1a8b87=_0x2396bb,_0x2cb509,_0x4bd604;return(_0x4bd604=(_0x2cb509=this['_handlerCallback'])==null?void 0x0:_0x2cb509['onTransformIME'])==null?void 0x0:_0x4bd604[_0x1a8b87(0x2e9)](_0x2cb509,_0x302e1c);},_0x4c34d1[_0x2396bb(0x23d)]=_0x2f5f22=>{var _0x561243=_0x2396bb,_0x2b74b6,_0x4c50a8;return(_0x4c50a8=(_0x2b74b6=this[_0x561243(0x392)])==null?void 0x0:_0x2b74b6[_0x561243(0x23d)])==null?void 0x0:_0x4c50a8[_0x561243(0x2e9)](_0x2b74b6,_0x2f5f22);},_0x4c34d1[_0x2396bb(0x2e3)]=_0x54f163=>{var _0x25b748=_0x2396bb,_0x13ef1f,_0x55dfd8;return(_0x55dfd8=(_0x13ef1f=this[_0x25b748(0x392)])==null?void 0x0:_0x13ef1f[_0x25b748(0x2e3)])==null?void 0x0:_0x55dfd8['call'](_0x13ef1f,_0x54f163);},_0x4c34d1[_0x2396bb(0x352)]=_0x5394f1=>{var _0x51ce31=_0x2396bb,_0x2e94c7,_0x5604a2;return(_0x5604a2=(_0x2e94c7=this[_0x51ce31(0x392)])==null?void 0x0:_0x2e94c7[_0x51ce31(0x352)])==null?void 0x0:_0x5604a2[_0x51ce31(0x2e9)](_0x2e94c7,_0x5394f1);},_0x4c34d1[_0x2396bb(0x37c)]=_0x498bd9=>{var _0x4981b3=_0x2396bb,_0x2c3ebb,_0x5915ee,_0x2da59e;if(!((_0x2c3ebb=this[_0x4981b3(0x392)])!=null&&_0x2c3ebb[_0x4981b3(0x37c)]))throw new Error(_0x4981b3(0x159));return(_0x2da59e=(_0x5915ee=this[_0x4981b3(0x392)])==null?void 0x0:_0x5915ee[_0x4981b3(0x37c)])==null?void 0x0:_0x2da59e['call'](_0x5915ee,_0x498bd9);},_0x4c34d1[_0x2396bb(0x227)]=_0x1284cd=>{var _0x2bae65=_0x2396bb,_0x2ee6ad,_0x1754cc,_0x57aadd;if(!((_0x2ee6ad=this[_0x2bae65(0x392)])!=null&&_0x2ee6ad[_0x2bae65(0x227)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x57aadd=(_0x1754cc=this[_0x2bae65(0x392)])==null?void 0x0:_0x1754cc[_0x2bae65(0x227)])==null?void 0x0:_0x57aadd[_0x2bae65(0x2e9)](_0x1754cc,_0x1284cd);},_0x4c34d1;}async[_0x3f33cb(0x1e0)](){var _0x45aaed=_0x3f33cb;const _0x23cdc0=await super['_init']();return this[_0x45aaed(0x303)](this[_0x45aaed(0x239)][_0x45aaed(0xd7)]((_0x3d4f0d,_0x3b58d1)=>{var _0x4ee4a2=_0x45aaed;if(_0x3d4f0d[_0x4ee4a2(0x1c4)]!==_0x11cd3f[_0x4ee4a2(0x351)]||_0x3b58d1!=null&&_0x3b58d1[_0x4ee4a2(0x18c)]||_0x3b58d1!=null&&_0x3b58d1[_0x4ee4a2(0x104)]||_0x3d4f0d['id']===_0x29a1a4['id'])return;const _0xf6e58f=_0x3d4f0d[_0x4ee4a2(0x35f)];if((_0xf6e58f==null?void 0x0:_0xf6e58f[_0x4ee4a2(0x136)])!==this[_0x4ee4a2(0x27f)])return;const _0x3dabb4=_0x3d4f0d,_0x38abdc=this[_0x4ee4a2(0xb2)][_0x4ee4a2(0x2db)][_0x4ee4a2(0x206)](this['_compressMutationService'][_0x4ee4a2(0x2db)]['getInterceptPoints']()[_0x4ee4a2(0x113)])([_0x3dabb4],null)||[_0x3dabb4];this[_0x4ee4a2(0x2f4)](_0x38abdc[0x0]);})),_0x23cdc0;}};St=wt([H(0x3,_0x289be2(_0x20dc98)),H(0x4,_0x289be2(_0x21a1eb)),H(0x5,_0x289be2(_0x4c9010)),H(0x6,_0x289be2(_0x1b45af)),H(0x7,_0x289be2(ve)),H(0x8,_0x575f9c),H(0x9,_0x587c6c),H(0xa,_0x1a3b09),H(0xb,_0x3d442c(ht)),H(0xc,_0x3d442c(J))],St);let Et=class extends st{constructor(_0x51c670,_0xebb473,_0x1676e1,_0x1f1f16,_0x4a171a,_0x12c902,_0x201a4f,_0x5596d5,_0xdc6231,_0x350898,_0x5b3405,_0x41ed2d,_0x271a52,_0x4df617){var _0x24ff07=_0x3f33cb;super(_0x51c670,_0x1676e1,_0xebb473,_0x1f1f16,_0x4a171a,_0x12c902,_0x201a4f,_0xdc6231,_0x350898,_0x5b3405,_0x41ed2d,_0x271a52,_0x4df617),this[_0x24ff07(0x27f)]=_0x51c670,this[_0x24ff07(0x1c4)]=_0xebb473,this['_sheetTransformSelectionsService']=_0x5596d5;}[_0x3f33cb(0x182)](){var _0x18d601=_0x3f33cb;const _0x1873a6=super[_0x18d601(0x182)]();return _0x1873a6[_0x18d601(0x2e3)]=_0x450e67=>this[_0x18d601(0xb9)][_0x18d601(0x22c)](_0x450e67),_0x1873a6;}async[_0x3f33cb(0x1e0)](){var _0x189040=_0x3f33cb;const _0x503bb5=await super[_0x189040(0x1e0)]();return this[_0x189040(0x303)](this['_commandService'][_0x189040(0xd7)]((_0x3f5bc3,_0x3ac245)=>{var _0xade5de=_0x189040;if(_0x3f5bc3[_0xade5de(0x1c4)]!==_0x11cd3f[_0xade5de(0x351)]||_0x3ac245!=null&&_0x3ac245[_0xade5de(0x18c)]||_0x3ac245!=null&&_0x3ac245[_0xade5de(0x104)])return;const _0xe9ad04=_0x3f5bc3['params'];if((_0xe9ad04==null?void 0x0:_0xe9ad04['unitId'])!==this[_0xade5de(0x27f)])return;const _0x2e014e=_0x3f5bc3,_0x38315e=this['_compressMutationService'][_0xade5de(0x2db)][_0xade5de(0x206)](this['_compressMutationService'][_0xade5de(0x2db)][_0xade5de(0xd0)]()['COMPRESS_MUTATION_SEND'])([_0x2e014e],null)||[_0x2e014e];this[_0xade5de(0x2f4)](_0x38315e[0x0]);})),_0x503bb5;}};Et=wt([H(0x3,_0x289be2(_0x20dc98)),H(0x4,_0x289be2(_0x21a1eb)),H(0x5,_0x289be2(_0x4c9010)),H(0x6,_0x289be2(_0x1b45af)),H(0x7,_0x289be2(it)),H(0x8,_0x289be2(ve)),H(0x9,_0x575f9c),H(0xa,_0x587c6c),H(0xb,_0x1a3b09),H(0xc,_0x3d442c(ht)),H(0xd,_0x3d442c(J))],Et);var zs=Object[_0x3f33cb(0x296)],Js=(_0x59ee3b,_0x572c71,_0x54f3ef,_0x24bc67)=>{for(var _0x418ed5=_0x24bc67>0x1?void 0x0:_0x24bc67?zs(_0x572c71,_0x54f3ef):_0x572c71,_0x5244ec=_0x59ee3b['length']-0x1,_0x12f0c1;_0x5244ec>=0x0;_0x5244ec--)(_0x12f0c1=_0x59ee3b[_0x5244ec])&&(_0x418ed5=_0x12f0c1(_0x418ed5)||_0x418ed5);return _0x418ed5;},Be=(_0x1c9da4,_0x2f4640)=>(_0x297290,_0x354c21)=>_0x2f4640(_0x297290,_0x354c21,_0x1c9da4);let nt=class extends _0x4447d4{constructor(_0x19c412,_0x4af483,_0x55309b,_0x221819){var _0x199a2f=_0x3f33cb,_0x56c71d;super(),N(this,_0x199a2f(0x38d),new Map()),N(this,_0x199a2f(0x384),new _0x11e6d4()),N(this,_0x199a2f(0x2b8),this['_entityInit$'][_0x199a2f(0x350)]()),(this[_0x199a2f(0xee)]=_0x19c412,this[_0x199a2f(0x393)]=_0x4af483,this['_configService']=_0x55309b,this[_0x199a2f(0x198)]=_0x221819,((_0x56c71d=this[_0x199a2f(0x27e)]['getConfig'](K))==null?void 0x0:_0x56c71d[_0x199a2f(0x299)])!==!0x1&&this['_init']());}['dispose'](){var _0x49e4c3=_0x3f33cb;super[_0x49e4c3(0x16d)](),this[_0x49e4c3(0x38d)][_0x49e4c3(0x386)](_0x26a66d=>_0x26a66d[_0x49e4c3(0x16d)]()),this[_0x49e4c3(0x38d)]['clear']();}[_0x3f33cb(0x2fc)](_0x1a6f70){var _0x4f23c3;return(_0x4f23c3=this['_entities']['get'](_0x1a6f70))!=null?_0x4f23c3:null;}[_0x3f33cb(0x112)](_0x29f41b){var _0x22913c=_0x3f33cb;const _0xc0e4c1=this[_0x22913c(0x2fc)](_0x29f41b);return _0xc0e4c1?_0x4833a9(_0xc0e4c1):this[_0x22913c(0x384)][_0x22913c(0x2b6)](_0x27f22b(_0x647810=>_0x647810[_0x22913c(0x27f)]===_0x29f41b));}['readyForCollab'](_0x54ed8d){var _0x4fdb42=_0x3f33cb;return _0x2a469a(this['getCollabEntity$'](_0x54ed8d)[_0x4fdb42(0x2b6)](_0x55fc2c(()=>{})));}[_0x3f33cb(0x1e0)](){var _0x5cd948=_0x3f33cb;this['_univerInstanceService'][_0x5cd948(0x2e0)](_0x26aafa[_0x5cd948(0xce)])['pipe'](_0x45a280(this[_0x5cd948(0x2c0)]),_0x55be58(0x10))[_0x5cd948(0xd2)](async _0x2954ef=>{var _0x5eccd1=_0x5cd948;const _0xc5e519=_0x2954ef[_0x5eccd1(0x324)](),_0x402e40=await this[_0x5eccd1(0x167)](_0xc5e519,Z[_0x5eccd1(0xce)]);this[_0x5eccd1(0x38d)]['set'](_0xc5e519,_0x402e40);}),this[_0x5cd948(0x198)]['getTypeOfUnitAdded$'](_0x26aafa[_0x5cd948(0x387)])['pipe'](_0x45a280(this[_0x5cd948(0x2c0)]),_0x55be58(0x10))['pipe'](_0x27f22b(_0x379bb4=>!_0x379bb4[_0x5cd948(0x324)]()[_0x5cd948(0x27d)]('__')))[_0x5cd948(0xd2)](async _0x3fd437=>{var _0x7346a3=_0x5cd948;const _0x4af2b3=_0x3fd437[_0x7346a3(0x324)](),_0x48fac2=await this[_0x7346a3(0x167)](_0x4af2b3,Z[_0x7346a3(0x387)]);this[_0x7346a3(0x38d)]['set'](_0x4af2b3,_0x48fac2);}),_0x3f4b1e(this[_0x5cd948(0x198)][_0x5cd948(0x15b)](_0x26aafa[_0x5cd948(0xce)]),this['_univerInstanceService'][_0x5cd948(0x15b)](_0x26aafa['UNIVER_DOC']))[_0x5cd948(0x2b6)](_0x45a280(this[_0x5cd948(0x2c0)]))['subscribe'](_0x371fd8=>{var _0x416b97=_0x5cd948;const _0x3bb87c=_0x371fd8[_0x416b97(0x324)](),_0x32ae31=this['_entities'][_0x416b97(0x34f)](_0x3bb87c);_0x32ae31&&(_0x32ae31[_0x416b97(0x16d)](),this[_0x416b97(0x38d)][_0x416b97(0x108)](_0x3bb87c));});}async['_startCollaboration'](_0x8f9993,_0xdc5d23){var _0x39aa08=_0x3f33cb;const _0x3eec8d=await this[_0x39aa08(0x393)][_0x39aa08(0x215)](_0x8f9993),_0x49f3e0=this[_0x39aa08(0xee)][_0x39aa08(0x22d)](this[_0x39aa08(0x1ce)](_0xdc5d23),_0x8f9993,_0xdc5d23,_0x3eec8d);return await _0x49f3e0[_0x39aa08(0x268)](),this[_0x39aa08(0x384)][_0x39aa08(0x38f)](_0x49f3e0),_0x49f3e0;}['_getCtorByUniverType'](_0x2f402b){var _0x177e78=_0x3f33cb;switch(_0x2f402b){case Z[_0x177e78(0x387)]:return St;case Z[_0x177e78(0xce)]:return Et;default:throw new Error(_0x177e78(0xf9)+_0x2f402b);}}};nt=Js([Be(0x0,_0x289be2(_0x20dc98)),Be(0x1,_0x289be2(Pe)),Be(0x2,_0x3594ab),Be(0x3,_0x2366c1)],nt);var Xs=Object[_0x3f33cb(0x296)],Zs=(_0x1282ee,_0x4167fb,_0x3a86d8,_0xecfd58)=>{for(var _0x480409=_0xecfd58>0x1?void 0x0:_0xecfd58?Xs(_0x4167fb,_0x3a86d8):_0x4167fb,_0xe450ce=_0x1282ee['length']-0x1,_0xdc58d5;_0xe450ce>=0x0;_0xe450ce--)(_0xdc58d5=_0x1282ee[_0xe450ce])&&(_0x480409=_0xdc58d5(_0x480409)||_0x480409);return _0x480409;},Yt=(_0x54a9af,_0x4e2b9c)=>(_0x4d9ecb,_0x1766f3)=>_0x4e2b9c(_0x4d9ecb,_0x1766f3,_0x54a9af);const Qs=_0x3f33cb(0x2d0),en=_0x3f33cb(0x1f2);let It=class extends _0x15e2a7{constructor(_0x1585f7,_0x44de5d){var _0x25f51c=_0x3f33cb;super(),this[_0x25f51c(0x198)]=_0x1585f7,this[_0x25f51c(0x27e)]=_0x44de5d,this[_0x25f51c(0x1e0)]();}[_0x3f33cb(0x1e0)](){var _0x12bfdf=_0x3f33cb;this[_0x12bfdf(0x303)](this[_0x12bfdf(0x198)][_0x12bfdf(0x34c)][_0x12bfdf(0xd2)](()=>{var _0x1ba237=_0x12bfdf,_0x50ebe0;const _0x2c187a=this[_0x1ba237(0x198)][_0x1ba237(0x9d)]();let _0x2398fa=(_0x50ebe0=this['_configService'][_0x1ba237(0x1a4)](Qs))!=null?_0x50ebe0:en;_0x2c187a instanceof _0x5de3cd&&(_0x2398fa=_0x2c187a['name']),document[_0x1ba237(0x37d)]=_0x2398fa;}));}};It=Zs([Yt(0x0,_0x2366c1),Yt(0x1,_0x3594ab)],It);var tn=Object[_0x3f33cb(0x296)],sn=(_0x4bc00b,_0x3958b2,_0x53c7fd,_0x1b6075)=>{var _0x423f03=_0x3f33cb;for(var _0x418119=_0x1b6075>0x1?void 0x0:_0x1b6075?tn(_0x3958b2,_0x53c7fd):_0x3958b2,_0x435917=_0x4bc00b[_0x423f03(0x2f6)]-0x1,_0x418e96;_0x435917>=0x0;_0x435917--)(_0x418e96=_0x4bc00b[_0x435917])&&(_0x418119=_0x418e96(_0x418119)||_0x418119);return _0x418119;},dt=(_0x54df73,_0x37d148)=>(_0x1f5d24,_0x26c052)=>_0x37d148(_0x1f5d24,_0x26c052,_0x54df73);let rt=class{constructor(_0x12e33f,_0x24f8ff,_0x1638ba){var _0x5fb07d=_0x3f33cb;this[_0x5fb07d(0x27e)]=_0x12e33f,this[_0x5fb07d(0x141)]=_0x24f8ff,this[_0x5fb07d(0x36c)]=_0x1638ba,this[_0x5fb07d(0x268)]();}[_0x3f33cb(0x268)](){var _0x193e53=_0x3f33cb;this['_httpService'][_0x193e53(0x381)]({'priority':0x1,'interceptor':(_0x5252f6,_0x55dedc)=>_0x55dedc(_0x5252f6)[_0x193e53(0x2b6)](_0x3db289(async _0x45c436=>{var _0x305bdd=_0x193e53;const _0x4662c9=_0x45c436;if(_0x4662c9[_0x305bdd(0x2d9)]===0x191){if(typeof window>'u')throw new Error(_0x305bdd(0x1dc));if(window[_0x305bdd(0x19c)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x15b84d=window[_0x305bdd(0x11e)](window[_0x305bdd(0x14b)][_0x305bdd(0x1a3)]);window[_0x305bdd(0x14b)][_0x305bdd(0x1a3)]=this['_getLoginPath']()+_0x305bdd(0x23b)+_0x15b84d;}}return _0x4662c9;}))});}[_0x3f33cb(0x339)](){var _0x40b1f3=_0x3f33cb,_0x11396e;const _0x28cc96=this[_0x40b1f3(0x27e)][_0x40b1f3(0x1a4)](K);return(_0x11396e=_0x28cc96==null?void 0x0:_0x28cc96[_0x40b1f3(0xae)])!=null?_0x11396e:Rs;}};rt=sn([dt(0x0,_0x3594ab),dt(0x1,_0x289be2(_0x202828)),dt(0x2,_0x289be2(_0x4c9010))],rt);var nn=Object[_0x3f33cb(0x296)],rn=(_0x432c98,_0x3574ce,_0x1baf05,_0x16c3f5)=>{for(var _0x49de43=_0x16c3f5>0x1?void 0x0:_0x16c3f5?nn(_0x3574ce,_0x1baf05):_0x3574ce,_0x3e7017=_0x432c98['length']-0x1,_0x2f5416;_0x3e7017>=0x0;_0x3e7017--)(_0x2f5416=_0x432c98[_0x3e7017])&&(_0x49de43=_0x2f5416(_0x49de43)||_0x49de43);return _0x49de43;},Kt=(_0x35d48c,_0x52df43)=>(_0x19e82b,_0x26ce17)=>_0x52df43(_0x19e82b,_0x26ce17,_0x35d48c);const an=_0x3f33cb(0x14a);let Tt=class extends _0x15e2a7{constructor(_0x4da6be,_0x3baaba){var _0x2324e4=_0x3f33cb;super(),this['_HTTPService']=_0x4da6be,this[_0x2324e4(0x27e)]=_0x3baaba,this[_0x2324e4(0x35c)]();}[_0x3f33cb(0x35c)](){var _0x11a88b=_0x3f33cb;const _0x413285=this;this[_0x11a88b(0x303)](this[_0x11a88b(0x16a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1a594e({'isMatch'(_0x575100){var _0x4ccb95=_0x11a88b,_0x3d8d95;if(_0x575100[_0x4ccb95(0x223)]===_0x4ccb95(0x2df)&&((_0x3d8d95=_0x575100[_0x4ccb95(0x395)])!=null&&_0x3d8d95[_0x4ccb95(0x237)])){const {objectID:_0x47a84a,objectType:_0x3e6d98}=_0x575100[_0x4ccb95(0x395)]['body']||{};if(!_0x47a84a||_0x3e6d98===void 0x0)return!0x1;const _0x1e19bd=_0x413285['_getAPIPrefixPath']()+'/'+_0x3e6d98+_0x4ccb95(0x1e4)+_0x47a84a+'/allowed';if(_0x575100[_0x4ccb95(0x236)]===_0x1e19bd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5a762f){var _0x58b2f4=_0x11a88b,_0x3db2b7;return(_0x3db2b7=_0x5a762f[_0x58b2f4(0x395)])==null?void 0x0:_0x3db2b7[_0x58b2f4(0x237)];},'mergeParamsToRequest'(_0x4baf51,_0x5b9826){var _0x16121c=_0x11a88b;const _0x21568d=_0x413285[_0x16121c(0x218)]()+_0x16121c(0x33c),_0x398096=_0x4baf51[_0x16121c(0x221)]((_0x4e8b29,_0x45b930)=>{var _0x4f2c14=_0x16121c;const {unitID:_0x1c66fb,objectID:_0x32bdbf,objectType:_0x2f927a,actions:_0x40a654}=_0x45b930;return _0x4e8b29[_0x1c66fb]||(_0x4e8b29[_0x1c66fb]={}),_0x4e8b29[_0x1c66fb][_0x32bdbf]||(_0x4e8b29[_0x1c66fb][_0x32bdbf]={'objectID':_0x32bdbf,'objectType':_0x2f927a,'actions':[]}),_0x4e8b29[_0x1c66fb][_0x32bdbf][_0x4f2c14(0x164)][_0x4f2c14(0x195)](..._0x40a654),_0x4e8b29;},{}),_0x5408f6=[];for(const _0x6c574c in _0x398096)for(const _0x2c3a1a in _0x398096[_0x6c574c]){const {actions:_0x2149f5,objectType:_0x18bcd0}=_0x398096[_0x6c574c][_0x2c3a1a],_0x4e12d7=[...new Set(_0x2149f5)];_0x5408f6[_0x16121c(0x195)]({'unitID':_0x6c574c,'objectID':_0x2c3a1a,'objectType':_0x18bcd0,'actions':_0x4e12d7});}return new _0xe13e0d('POST',_0x21568d,{'headers':_0x5b9826[_0x16121c(0x21b)],'withCredentials':_0x5b9826['withCredentials'],'responseType':_0x5b9826[_0x16121c(0x134)],'body':{'requests':_0x5408f6}});}},{'distributeResult'(_0x175e8d,_0x7fe8ad){var _0x38f72f=_0x11a88b;const {objectActions:_0x16f506}=_0x175e8d;return _0x7fe8ad[_0x38f72f(0x185)](_0x3cb5d4=>{var _0x4f8d4a=_0x38f72f;const {unitID:_0x470695,objectID:_0x2e2a67,actions:_0x4129d3}=_0x3cb5d4,_0x3172bc=_0x16f506[_0x4f8d4a(0x238)](_0x52a13b=>_0x52a13b[_0x4f8d4a(0x27f)]===_0x470695&&_0x52a13b[_0x4f8d4a(0x165)]===_0x2e2a67),_0x4c3800=_0x4129d3[_0x4f8d4a(0x185)](_0x412d45=>_0x3172bc==null?void 0x0:_0x3172bc[_0x4f8d4a(0x164)][_0x4f8d4a(0x238)](_0x2100d6=>_0x2100d6['action']===_0x412d45))['filter'](_0x4db6af=>!!_0x4db6af);return{'config':_0x3cb5d4,'result':{'actions':_0x4c3800,'error':_0x175e8d[_0x4f8d4a(0x288)]}};});}})}));}[_0x3f33cb(0x218)](){var _0x4ce28c=_0x3f33cb,_0x344eb0;const _0x1df2d1=this[_0x4ce28c(0x27e)]['getConfig'](K);return(_0x344eb0=_0x1df2d1==null?void 0x0:_0x1df2d1['authzUrl'])!=null?_0x344eb0:an;}async[_0x3f33cb(0x2c4)](_0x1c14cd){var _0x3114d4=_0x3f33cb;const _0x5b1dac=this['_getAPIPrefixPath']()+'/'+_0x1c14cd[_0x3114d4(0x312)]+_0x3114d4(0xe1);return(await this[_0x3114d4(0x16a)]['post'](_0x5b1dac,{'body':_0x1c14cd}))[_0x3114d4(0x237)][_0x3114d4(0x165)]||'';}async[_0x3f33cb(0x106)](_0x4df76f){var _0x5e7b5e=_0x3f33cb;const _0x180bb1=this[_0x5e7b5e(0x218)]()+_0x5e7b5e(0x2ed);return(await this['_HTTPService'][_0x5e7b5e(0x10c)](_0x180bb1,{'body':_0x4df76f}))['body'][_0x5e7b5e(0x290)];}async['update'](_0x50b449){var _0x3e4734=_0x3f33cb,_0x3bdfe8,_0x58c327;const _0x242170=this[_0x3e4734(0x218)]()+'/'+_0x50b449[_0x3e4734(0x312)]+_0x3e4734(0x1e4)+_0x50b449[_0x3e4734(0x165)],_0x275e1b=await this[_0x3e4734(0x16a)][_0x3e4734(0xd8)](_0x242170,{'body':_0x50b449});if(((_0x58c327=(_0x3bdfe8=_0x275e1b==null?void 0x0:_0x275e1b[_0x3e4734(0x237)])==null?void 0x0:_0x3bdfe8[_0x3e4734(0x288)])==null?void 0x0:_0x58c327[_0x3e4734(0x36e)])!==0x1)throw new Error(_0x3e4734(0x1bf));}async[_0x3f33cb(0x379)](_0x536f9b){var _0x1a7e62=_0x3f33cb;const _0x37c9ee=this[_0x1a7e62(0x218)]()+'/'+_0x536f9b[_0x1a7e62(0x312)]+'/object/'+_0x536f9b[_0x1a7e62(0x165)]+_0x1a7e62(0x197);return(await this['_HTTPService'][_0x1a7e62(0x10c)](_0x37c9ee,{'body':_0x536f9b}))[_0x1a7e62(0x237)][_0x1a7e62(0x164)];}async[_0x3f33cb(0xe6)](_0x295171){var _0x5d3b07=_0x3f33cb;const _0xf6ec86=this[_0x5d3b07(0x218)]()+_0x5d3b07(0x33c);return(await this[_0x5d3b07(0x16a)][_0x5d3b07(0x10c)](_0xf6ec86,{'body':{'requests':_0x295171}}))[_0x5d3b07(0x237)][_0x5d3b07(0x35a)];}async['listRoles'](_0x6353d3){var _0x256ed9=_0x3f33cb;const _0x45e157=this['_getAPIPrefixPath']()+'/'+_0x6353d3[_0x256ed9(0x312)]+_0x256ed9(0x373),_0x470726=await this[_0x256ed9(0x16a)][_0x256ed9(0x10c)](_0x45e157,{'body':_0x6353d3});return{'roles':_0x470726[_0x256ed9(0x237)]['roles'],'actions':_0x470726['body']['actions']};}async[_0x3f33cb(0x370)](_0x231e72){var _0x450c7d=_0x3f33cb;const _0x18a113=this[_0x450c7d(0x218)]()+_0x450c7d(0x1d1);await this[_0x450c7d(0x16a)]['delete'](_0x18a113,{'params':{'collaboratorID':_0x231e72[_0x450c7d(0x20b)],'objectID':_0x231e72[_0x450c7d(0x165)],'unitID':_0x231e72[_0x450c7d(0x27f)]}});}async[_0x3f33cb(0xf4)](_0x45b7d6){var _0x5e9710=_0x3f33cb;const _0xacc716=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5e9710(0x16a)][_0x5e9710(0x16f)](_0xacc716,{'body':_0x45b7d6});}async[_0x3f33cb(0x37b)](_0x56bb81){var _0x5e77eb=_0x3f33cb;const _0x40d629=this['_getAPIPrefixPath']()+_0x5e77eb(0x1d1);await this['_HTTPService'][_0x5e77eb(0x10c)](_0x40d629,{'body':_0x56bb81});}async['listCollaborators'](_0x4b54fc){var _0x50b0b0=_0x3f33cb;const _0x2f27f8=this['_getAPIPrefixPath']()+_0x50b0b0(0x1d1);return(await this['_HTTPService'][_0x50b0b0(0x34f)](_0x2f27f8,{'params':{'objectID':_0x4b54fc[_0x50b0b0(0x165)],'unitID':_0x4b54fc[_0x50b0b0(0x27f)]}}))['body'][_0x50b0b0(0x309)];}async[_0x3f33cb(0x333)](_0x3d379d){var _0x4cf6d0=_0x3f33cb;const _0x3053a3=this['_getAPIPrefixPath']()+_0x4cf6d0(0x1d1);await this['_HTTPService'][_0x4cf6d0(0xd8)](_0x3053a3,{'body':_0x3d379d});}};Tt=rn([Kt(0x0,_0x289be2(_0x202828)),Kt(0x1,_0x289be2(_0x3594ab))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x10567c){var _0x597827=_0x3f33cb;return _0x10567c&&_0x10567c[_0x597827(0x253)]&&Object['prototype'][_0x597827(0x1f5)][_0x597827(0x2e9)](_0x10567c,_0x597827(0x162))?_0x10567c[_0x597827(0x162)]:_0x10567c;}var Ve={'exports':{}};function on(_0x276f21){var _0x2bf081=_0x3f33cb;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x276f21+_0x2bf081(0x20e));}var We={'exports':{}},cn=We[_0x3f33cb(0x3a2)],qt;function te(){var _0x4a3e8b=_0x3f33cb;return qt||(qt=0x1,function(_0x4ddf16,_0x10bda1){(function(_0x115ba5,_0x388702){var _0x2a5825=_0x2cdc;_0x4ddf16[_0x2a5825(0x3a2)]=_0x388702();}(cn,function(){var _0x4fed22=_0x4fed22||function(_0x33f705,_0x200efc){var _0x47f052=_0x2cdc,_0x220af9;if(typeof window<'u'&&window[_0x47f052(0x2d3)]&&(_0x220af9=window[_0x47f052(0x2d3)]),typeof self<'u'&&self['crypto']&&(_0x220af9=self[_0x47f052(0x2d3)]),typeof globalThis<'u'&&globalThis[_0x47f052(0x2d3)]&&(_0x220af9=globalThis[_0x47f052(0x2d3)]),!_0x220af9&&typeof window<'u'&&window[_0x47f052(0x12e)]&&(_0x220af9=window[_0x47f052(0x12e)]),!_0x220af9&&typeof ft<'u'&&ft[_0x47f052(0x2d3)]&&(_0x220af9=ft[_0x47f052(0x2d3)]),!_0x220af9&&typeof on=='function')try{_0x220af9=require('crypto');}catch{}var _0x5b2bc8=function(){var _0x4bb188=_0x47f052;if(_0x220af9){if(typeof _0x220af9['getRandomValues']=='function')try{return _0x220af9['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x220af9[_0x4bb188(0x143)]==_0x4bb188(0x129))try{return _0x220af9[_0x4bb188(0x143)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4bb188(0x233));},_0xd57a51=Object[_0x47f052(0x2c4)]||(function(){function _0x4779d5(){}return function(_0x1c3124){var _0x5d261d=_0x2cdc,_0x51cf8c;return _0x4779d5[_0x5d261d(0x335)]=_0x1c3124,_0x51cf8c=new _0x4779d5(),_0x4779d5[_0x5d261d(0x335)]=null,_0x51cf8c;};}()),_0x25abb8={},_0x817f44=_0x25abb8['lib']={},_0xda7987=_0x817f44[_0x47f052(0x1fe)]=(function(){return{'extend':function(_0x43d8bc){var _0x4b9b18=_0x2cdc,_0x1e25f0=_0xd57a51(this);return _0x43d8bc&&_0x1e25f0[_0x4b9b18(0x151)](_0x43d8bc),(!_0x1e25f0[_0x4b9b18(0x1f5)]('init')||this[_0x4b9b18(0x268)]===_0x1e25f0[_0x4b9b18(0x268)])&&(_0x1e25f0['init']=function(){var _0x4078dc=_0x4b9b18;_0x1e25f0[_0x4078dc(0x377)]['init']['apply'](this,arguments);}),_0x1e25f0[_0x4b9b18(0x268)][_0x4b9b18(0x335)]=_0x1e25f0,_0x1e25f0['$super']=this,_0x1e25f0;},'create':function(){var _0xf400aa=_0x2cdc,_0x3049f5=this[_0xf400aa(0x27c)]();return _0x3049f5[_0xf400aa(0x268)][_0xf400aa(0x39d)](_0x3049f5,arguments),_0x3049f5;},'init':function(){},'mixIn':function(_0x4d606e){var _0x5b2c70=_0x2cdc;for(var _0x23d751 in _0x4d606e)_0x4d606e[_0x5b2c70(0x1f5)](_0x23d751)&&(this[_0x23d751]=_0x4d606e[_0x23d751]);_0x4d606e['hasOwnProperty'](_0x5b2c70(0x178))&&(this['toString']=_0x4d606e[_0x5b2c70(0x178)]);},'clone':function(){var _0x5754f6=_0x2cdc;return this[_0x5754f6(0x268)]['prototype'][_0x5754f6(0x27c)](this);}};}()),_0x2ac79c=_0x817f44[_0x47f052(0x304)]=_0xda7987[_0x47f052(0x27c)]({'init':function(_0x399f91,_0x47d7c3){var _0x5eeea7=_0x47f052;_0x399f91=this[_0x5eeea7(0x1ad)]=_0x399f91||[],_0x47d7c3!=_0x200efc?this[_0x5eeea7(0x354)]=_0x47d7c3:this[_0x5eeea7(0x354)]=_0x399f91[_0x5eeea7(0x2f6)]*0x4;},'toString':function(_0xaa1bba){var _0x1dadb3=_0x47f052;return(_0xaa1bba||_0x5e12d1)[_0x1dadb3(0x1df)](this);},'concat':function(_0x295ed2){var _0x33caba=_0x47f052,_0x644862=this['words'],_0x1f69d5=_0x295ed2[_0x33caba(0x1ad)],_0x4f0b16=this['sigBytes'],_0x364d31=_0x295ed2['sigBytes'];if(this[_0x33caba(0x1e3)](),_0x4f0b16%0x4)for(var _0x5f5a8b=0x0;_0x5f5a8b<_0x364d31;_0x5f5a8b++){var _0x544c5f=_0x1f69d5[_0x5f5a8b>>>0x2]>>>0x18-_0x5f5a8b%0x4*0x8&0xff;_0x644862[_0x4f0b16+_0x5f5a8b>>>0x2]|=_0x544c5f<<0x18-(_0x4f0b16+_0x5f5a8b)%0x4*0x8;}else{for(var _0x1eab2f=0x0;_0x1eab2f<_0x364d31;_0x1eab2f+=0x4)_0x644862[_0x4f0b16+_0x1eab2f>>>0x2]=_0x1f69d5[_0x1eab2f>>>0x2];}return this[_0x33caba(0x354)]+=_0x364d31,this;},'clamp':function(){var _0x2cf01a=_0x47f052,_0x6cae01=this[_0x2cf01a(0x1ad)],_0x1d591a=this[_0x2cf01a(0x354)];_0x6cae01[_0x1d591a>>>0x2]&=0xffffffff<<0x20-_0x1d591a%0x4*0x8,_0x6cae01[_0x2cf01a(0x2f6)]=_0x33f705['ceil'](_0x1d591a/0x4);},'clone':function(){var _0x381d00=_0x47f052,_0x22bd8a=_0xda7987[_0x381d00(0x119)][_0x381d00(0x2e9)](this);return _0x22bd8a[_0x381d00(0x1ad)]=this[_0x381d00(0x1ad)]['slice'](0x0),_0x22bd8a;},'random':function(_0x1cc57e){var _0x58dab6=_0x47f052;for(var _0x466a63=[],_0x2bf7a9=0x0;_0x2bf7a9<_0x1cc57e;_0x2bf7a9+=0x4)_0x466a63[_0x58dab6(0x195)](_0x5b2bc8());return new _0x2ac79c['init'](_0x466a63,_0x1cc57e);}}),_0x278419=_0x25abb8[_0x47f052(0xac)]={},_0x5e12d1=_0x278419[_0x47f052(0x131)]={'stringify':function(_0xc4c1a1){var _0x33cc56=_0x47f052;for(var _0x50748a=_0xc4c1a1[_0x33cc56(0x1ad)],_0x3ae54b=_0xc4c1a1[_0x33cc56(0x354)],_0x4d87a2=[],_0x71eaf=0x0;_0x71eaf<_0x3ae54b;_0x71eaf++){var _0xe0f8b3=_0x50748a[_0x71eaf>>>0x2]>>>0x18-_0x71eaf%0x4*0x8&0xff;_0x4d87a2[_0x33cc56(0x195)]((_0xe0f8b3>>>0x4)[_0x33cc56(0x178)](0x10)),_0x4d87a2[_0x33cc56(0x195)]((_0xe0f8b3&0xf)[_0x33cc56(0x178)](0x10));}return _0x4d87a2['join']('');},'parse':function(_0x2e8215){var _0x5db554=_0x47f052;for(var _0x1c3999=_0x2e8215[_0x5db554(0x2f6)],_0x343985=[],_0x1dc5f7=0x0;_0x1dc5f7<_0x1c3999;_0x1dc5f7+=0x2)_0x343985[_0x1dc5f7>>>0x3]|=parseInt(_0x2e8215[_0x5db554(0x1c7)](_0x1dc5f7,0x2),0x10)<<0x18-_0x1dc5f7%0x8*0x4;return new _0x2ac79c[(_0x5db554(0x268))](_0x343985,_0x1c3999/0x2);}},_0x102fd7=_0x278419['Latin1']={'stringify':function(_0x1c1c5c){var _0x2abfb3=_0x47f052;for(var _0x4d1e4f=_0x1c1c5c[_0x2abfb3(0x1ad)],_0x11304f=_0x1c1c5c['sigBytes'],_0xf64873=[],_0x3910c8=0x0;_0x3910c8<_0x11304f;_0x3910c8++){var _0x448a91=_0x4d1e4f[_0x3910c8>>>0x2]>>>0x18-_0x3910c8%0x4*0x8&0xff;_0xf64873['push'](String['fromCharCode'](_0x448a91));}return _0xf64873['join']('');},'parse':function(_0x1c2876){var _0x15065a=_0x47f052;for(var _0x364ed9=_0x1c2876[_0x15065a(0x2f6)],_0x38fbd4=[],_0x1c32e9=0x0;_0x1c32e9<_0x364ed9;_0x1c32e9++)_0x38fbd4[_0x1c32e9>>>0x2]|=(_0x1c2876['charCodeAt'](_0x1c32e9)&0xff)<<0x18-_0x1c32e9%0x4*0x8;return new _0x2ac79c[(_0x15065a(0x268))](_0x38fbd4,_0x364ed9);}},_0x2d18e8=_0x278419[_0x47f052(0x2e8)]={'stringify':function(_0xf9af16){var _0x4d89ea=_0x47f052;try{return decodeURIComponent(escape(_0x102fd7[_0x4d89ea(0x1df)](_0xf9af16)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1f7c4a){var _0xbd3998=_0x47f052;return _0x102fd7[_0xbd3998(0x2cc)](unescape(encodeURIComponent(_0x1f7c4a)));}},_0x188507=_0x817f44[_0x47f052(0xc8)]=_0xda7987[_0x47f052(0x27c)]({'reset':function(){var _0x419678=_0x47f052;this[_0x419678(0x284)]=new _0x2ac79c['init'](),this[_0x419678(0x132)]=0x0;},'_append':function(_0x31a85d){var _0x4862a3=_0x47f052;typeof _0x31a85d==_0x4862a3(0x31a)&&(_0x31a85d=_0x2d18e8['parse'](_0x31a85d)),this[_0x4862a3(0x284)]['concat'](_0x31a85d),this[_0x4862a3(0x132)]+=_0x31a85d[_0x4862a3(0x354)];},'_process':function(_0x12d01a){var _0x18fb1f=_0x47f052,_0xd626a9,_0x247bad=this[_0x18fb1f(0x284)],_0x2c474b=_0x247bad[_0x18fb1f(0x1ad)],_0x554f2a=_0x247bad[_0x18fb1f(0x354)],_0x107bcc=this['blockSize'],_0x2048bb=_0x107bcc*0x4,_0x225440=_0x554f2a/_0x2048bb;_0x12d01a?_0x225440=_0x33f705[_0x18fb1f(0x260)](_0x225440):_0x225440=_0x33f705[_0x18fb1f(0xe7)]((_0x225440|0x0)-this[_0x18fb1f(0x225)],0x0);var _0x16b425=_0x225440*_0x107bcc,_0x4a09a2=_0x33f705[_0x18fb1f(0x2de)](_0x16b425*0x4,_0x554f2a);if(_0x16b425){for(var _0x2e6ae4=0x0;_0x2e6ae4<_0x16b425;_0x2e6ae4+=_0x107bcc)this[_0x18fb1f(0x17a)](_0x2c474b,_0x2e6ae4);_0xd626a9=_0x2c474b['splice'](0x0,_0x16b425),_0x247bad[_0x18fb1f(0x354)]-=_0x4a09a2;}return new _0x2ac79c[(_0x18fb1f(0x268))](_0xd626a9,_0x4a09a2);},'clone':function(){var _0x4e92af=_0x47f052,_0x2f0c8b=_0xda7987[_0x4e92af(0x119)][_0x4e92af(0x2e9)](this);return _0x2f0c8b[_0x4e92af(0x284)]=this[_0x4e92af(0x284)][_0x4e92af(0x119)](),_0x2f0c8b;},'_minBufferSize':0x0});_0x817f44[_0x47f052(0x1db)]=_0x188507[_0x47f052(0x27c)]({'cfg':_0xda7987[_0x47f052(0x27c)](),'init':function(_0xc5b723){var _0x3e186d=_0x47f052;this[_0x3e186d(0x385)]=this[_0x3e186d(0x385)][_0x3e186d(0x27c)](_0xc5b723),this[_0x3e186d(0x1d2)]();},'reset':function(){var _0x2e438f=_0x47f052;_0x188507[_0x2e438f(0x1d2)][_0x2e438f(0x2e9)](this),this[_0x2e438f(0x29b)]();},'update':function(_0x1f44cc){var _0x43c9a3=_0x47f052;return this[_0x43c9a3(0x1c5)](_0x1f44cc),this[_0x43c9a3(0x2b9)](),this;},'finalize':function(_0x4aa56c){var _0x5da12f=_0x47f052;_0x4aa56c&&this['_append'](_0x4aa56c);var _0x4a4c3a=this[_0x5da12f(0x249)]();return _0x4a4c3a;},'blockSize':0x10,'_createHelper':function(_0x2749ef){return function(_0x3915b4,_0x3af750){var _0x1bff4f=_0x2cdc;return new _0x2749ef[(_0x1bff4f(0x268))](_0x3af750)['finalize'](_0x3915b4);};},'_createHmacHelper':function(_0x1154f6){return function(_0x54fa88,_0x1cfeb3){var _0x4e3ca7=_0x2cdc;return new _0x395cc4[(_0x4e3ca7(0x194))][(_0x4e3ca7(0x268))](_0x1154f6,_0x1cfeb3)['finalize'](_0x54fa88);};}});var _0x395cc4=_0x25abb8[_0x47f052(0x30d)]={};return _0x25abb8;}(Math);return _0x4fed22;}));}(We)),We[_0x4a3e8b(0x3a2)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){return zt||(zt=0x1,function(_0x1a8039,_0x49e457){(function(_0x6fbf40,_0x3bc2f8){var _0x2edee8=_0x2cdc;_0x1a8039[_0x2edee8(0x3a2)]=_0x3bc2f8(te());}(hn,function(_0x66711c){var _0x2dfaaf=_0x2cdc;return(function(){var _0x3f5f50=_0x2cdc,_0x3c0aeb=_0x66711c,_0x3e64e2=_0x3c0aeb[_0x3f5f50(0xaa)],_0x45974d=_0x3e64e2[_0x3f5f50(0x304)],_0x3762cb=_0x3c0aeb[_0x3f5f50(0xac)];_0x3762cb['Base64']={'stringify':function(_0x1bc263){var _0x1467fe=_0x3f5f50,_0x9b7e4e=_0x1bc263[_0x1467fe(0x1ad)],_0x47c427=_0x1bc263[_0x1467fe(0x354)],_0xef1d84=this[_0x1467fe(0xe4)];_0x1bc263[_0x1467fe(0x1e3)]();for(var _0x1da4ba=[],_0x4fea2f=0x0;_0x4fea2f<_0x47c427;_0x4fea2f+=0x3)for(var _0x5e6b80=_0x9b7e4e[_0x4fea2f>>>0x2]>>>0x18-_0x4fea2f%0x4*0x8&0xff,_0x3fe2e7=_0x9b7e4e[_0x4fea2f+0x1>>>0x2]>>>0x18-(_0x4fea2f+0x1)%0x4*0x8&0xff,_0x42929b=_0x9b7e4e[_0x4fea2f+0x2>>>0x2]>>>0x18-(_0x4fea2f+0x2)%0x4*0x8&0xff,_0x114919=_0x5e6b80<<0x10|_0x3fe2e7<<0x8|_0x42929b,_0x26d3e5=0x0;_0x26d3e5<0x4&&_0x4fea2f+_0x26d3e5*0.75<_0x47c427;_0x26d3e5++)_0x1da4ba[_0x1467fe(0x195)](_0xef1d84['charAt'](_0x114919>>>0x6*(0x3-_0x26d3e5)&0x3f));var _0x460a73=_0xef1d84['charAt'](0x40);if(_0x460a73){for(;_0x1da4ba[_0x1467fe(0x2f6)]%0x4;)_0x1da4ba[_0x1467fe(0x195)](_0x460a73);}return _0x1da4ba[_0x1467fe(0xe2)]('');},'parse':function(_0xd517d9){var _0x1e8431=_0x3f5f50,_0x56cc4a=_0xd517d9[_0x1e8431(0x2f6)],_0x2330cb=this['_map'],_0x1e9fe9=this[_0x1e8431(0x10f)];if(!_0x1e9fe9){_0x1e9fe9=this['_reverseMap']=[];for(var _0x3d2893=0x0;_0x3d2893<_0x2330cb[_0x1e8431(0x2f6)];_0x3d2893++)_0x1e9fe9[_0x2330cb['charCodeAt'](_0x3d2893)]=_0x3d2893;}var _0x16f766=_0x2330cb[_0x1e8431(0x301)](0x40);if(_0x16f766){var _0x29afa9=_0xd517d9[_0x1e8431(0x327)](_0x16f766);_0x29afa9!==-0x1&&(_0x56cc4a=_0x29afa9);}return _0x39c183(_0xd517d9,_0x56cc4a,_0x1e9fe9);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x39c183(_0x28f5fd,_0x31e97a,_0x1a6cce){var _0x5d8fdb=_0x3f5f50;for(var _0x35ffb0=[],_0x1bab7b=0x0,_0x518aa2=0x0;_0x518aa2<_0x31e97a;_0x518aa2++)if(_0x518aa2%0x4){var _0x506263=_0x1a6cce[_0x28f5fd[_0x5d8fdb(0x142)](_0x518aa2-0x1)]<<_0x518aa2%0x4*0x2,_0x1ade45=_0x1a6cce[_0x28f5fd[_0x5d8fdb(0x142)](_0x518aa2)]>>>0x6-_0x518aa2%0x4*0x2,_0x1e7f6b=_0x506263|_0x1ade45;_0x35ffb0[_0x1bab7b>>>0x2]|=_0x1e7f6b<<0x18-_0x1bab7b%0x4*0x8,_0x1bab7b++;}return _0x45974d['create'](_0x35ffb0,_0x1bab7b);}}()),_0x66711c[_0x2dfaaf(0xac)][_0x2dfaaf(0x279)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x3f33cb(0x3a2)],Jt;function ln(){var _0x277537=_0x3f33cb;return Jt||(Jt=0x1,function(_0x4d24b3,_0x49b8b3){(function(_0x4569c9,_0x3c09b9){_0x4d24b3['exports']=_0x3c09b9(te());}(_n,function(_0x1fc822){var _0xfdd684=_0x2cdc;return function(_0x421b1f){var _0x59634b=_0x2cdc,_0x4d566c=_0x1fc822,_0x5a6d42=_0x4d566c[_0x59634b(0xaa)],_0x38efed=_0x5a6d42[_0x59634b(0x304)],_0x8e93e3=_0x5a6d42['Hasher'],_0x20968c=_0x4d566c[_0x59634b(0x30d)],_0xff7703=[];(function(){for(var _0x59627a=0x0;_0x59627a<0x40;_0x59627a++)_0xff7703[_0x59627a]=_0x421b1f['abs'](_0x421b1f['sin'](_0x59627a+0x1))*0x100000000|0x0;}());var _0x3f4d20=_0x20968c[_0x59634b(0x211)]=_0x8e93e3[_0x59634b(0x27c)]({'_doReset':function(){var _0x224d4e=_0x59634b;this[_0x224d4e(0x1b6)]=new _0x38efed[(_0x224d4e(0x268))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x19ea1d,_0xa334a6){var _0x51ee32=_0x59634b;for(var _0x2aa345=0x0;_0x2aa345<0x10;_0x2aa345++){var _0x50d9f1=_0xa334a6+_0x2aa345,_0x17d54=_0x19ea1d[_0x50d9f1];_0x19ea1d[_0x50d9f1]=(_0x17d54<<0x8|_0x17d54>>>0x18)&0xff00ff|(_0x17d54<<0x18|_0x17d54>>>0x8)&0xff00ff00;}var _0x502181=this[_0x51ee32(0x1b6)][_0x51ee32(0x1ad)],_0x3c11f2=_0x19ea1d[_0xa334a6+0x0],_0x1751f4=_0x19ea1d[_0xa334a6+0x1],_0x3db824=_0x19ea1d[_0xa334a6+0x2],_0x3c70ab=_0x19ea1d[_0xa334a6+0x3],_0x18ce2e=_0x19ea1d[_0xa334a6+0x4],_0x3cc524=_0x19ea1d[_0xa334a6+0x5],_0xf1d474=_0x19ea1d[_0xa334a6+0x6],_0x2f7366=_0x19ea1d[_0xa334a6+0x7],_0x33df7a=_0x19ea1d[_0xa334a6+0x8],_0x3b2275=_0x19ea1d[_0xa334a6+0x9],_0x5cafb5=_0x19ea1d[_0xa334a6+0xa],_0x215af3=_0x19ea1d[_0xa334a6+0xb],_0xb37978=_0x19ea1d[_0xa334a6+0xc],_0x204d1d=_0x19ea1d[_0xa334a6+0xd],_0x44237d=_0x19ea1d[_0xa334a6+0xe],_0x1b3823=_0x19ea1d[_0xa334a6+0xf],_0x73b247=_0x502181[0x0],_0x3f86e3=_0x502181[0x1],_0x466724=_0x502181[0x2],_0x4bceea=_0x502181[0x3];_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3c11f2,0x7,_0xff7703[0x0]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x1751f4,0xc,_0xff7703[0x1]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3db824,0x11,_0xff7703[0x2]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3c70ab,0x16,_0xff7703[0x3]),_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x18ce2e,0x7,_0xff7703[0x4]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3cc524,0xc,_0xff7703[0x5]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0xf1d474,0x11,_0xff7703[0x6]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x2f7366,0x16,_0xff7703[0x7]),_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x33df7a,0x7,_0xff7703[0x8]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3b2275,0xc,_0xff7703[0x9]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x5cafb5,0x11,_0xff7703[0xa]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x215af3,0x16,_0xff7703[0xb]),_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0xb37978,0x7,_0xff7703[0xc]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x204d1d,0xc,_0xff7703[0xd]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x44237d,0x11,_0xff7703[0xe]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x1b3823,0x16,_0xff7703[0xf]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x1751f4,0x5,_0xff7703[0x10]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0xf1d474,0x9,_0xff7703[0x11]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x215af3,0xe,_0xff7703[0x12]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3c11f2,0x14,_0xff7703[0x13]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3cc524,0x5,_0xff7703[0x14]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x5cafb5,0x9,_0xff7703[0x15]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x1b3823,0xe,_0xff7703[0x16]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x18ce2e,0x14,_0xff7703[0x17]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3b2275,0x5,_0xff7703[0x18]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x44237d,0x9,_0xff7703[0x19]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3c70ab,0xe,_0xff7703[0x1a]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x33df7a,0x14,_0xff7703[0x1b]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x204d1d,0x5,_0xff7703[0x1c]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3db824,0x9,_0xff7703[0x1d]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x2f7366,0xe,_0xff7703[0x1e]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0xb37978,0x14,_0xff7703[0x1f]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3cc524,0x4,_0xff7703[0x20]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x33df7a,0xb,_0xff7703[0x21]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x215af3,0x10,_0xff7703[0x22]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x44237d,0x17,_0xff7703[0x23]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x1751f4,0x4,_0xff7703[0x24]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x18ce2e,0xb,_0xff7703[0x25]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x2f7366,0x10,_0xff7703[0x26]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x5cafb5,0x17,_0xff7703[0x27]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x204d1d,0x4,_0xff7703[0x28]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3c11f2,0xb,_0xff7703[0x29]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3c70ab,0x10,_0xff7703[0x2a]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0xf1d474,0x17,_0xff7703[0x2b]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3b2275,0x4,_0xff7703[0x2c]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0xb37978,0xb,_0xff7703[0x2d]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x1b3823,0x10,_0xff7703[0x2e]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3db824,0x17,_0xff7703[0x2f]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3c11f2,0x6,_0xff7703[0x30]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x2f7366,0xa,_0xff7703[0x31]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x44237d,0xf,_0xff7703[0x32]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3cc524,0x15,_0xff7703[0x33]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0xb37978,0x6,_0xff7703[0x34]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3c70ab,0xa,_0xff7703[0x35]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x5cafb5,0xf,_0xff7703[0x36]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x1751f4,0x15,_0xff7703[0x37]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x33df7a,0x6,_0xff7703[0x38]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x1b3823,0xa,_0xff7703[0x39]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0xf1d474,0xf,_0xff7703[0x3a]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x204d1d,0x15,_0xff7703[0x3b]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x18ce2e,0x6,_0xff7703[0x3c]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x215af3,0xa,_0xff7703[0x3d]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3db824,0xf,_0xff7703[0x3e]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3b2275,0x15,_0xff7703[0x3f]),_0x502181[0x0]=_0x502181[0x0]+_0x73b247|0x0,_0x502181[0x1]=_0x502181[0x1]+_0x3f86e3|0x0,_0x502181[0x2]=_0x502181[0x2]+_0x466724|0x0,_0x502181[0x3]=_0x502181[0x3]+_0x4bceea|0x0;},'_doFinalize':function(){var _0x15684c=_0x59634b,_0xec724e=this['_data'],_0x431a8c=_0xec724e[_0x15684c(0x1ad)],_0x6e3cbd=this[_0x15684c(0x132)]*0x8,_0xf42406=_0xec724e[_0x15684c(0x354)]*0x8;_0x431a8c[_0xf42406>>>0x5]|=0x80<<0x18-_0xf42406%0x20;var _0x415695=_0x421b1f[_0x15684c(0x10b)](_0x6e3cbd/0x100000000),_0x28e887=_0x6e3cbd;_0x431a8c[(_0xf42406+0x40>>>0x9<<0x4)+0xf]=(_0x415695<<0x8|_0x415695>>>0x18)&0xff00ff|(_0x415695<<0x18|_0x415695>>>0x8)&0xff00ff00,_0x431a8c[(_0xf42406+0x40>>>0x9<<0x4)+0xe]=(_0x28e887<<0x8|_0x28e887>>>0x18)&0xff00ff|(_0x28e887<<0x18|_0x28e887>>>0x8)&0xff00ff00,_0xec724e[_0x15684c(0x354)]=(_0x431a8c[_0x15684c(0x2f6)]+0x1)*0x4,this[_0x15684c(0x2b9)]();for(var _0x237da2=this['_hash'],_0x554af4=_0x237da2[_0x15684c(0x1ad)],_0x1ccdf8=0x0;_0x1ccdf8<0x4;_0x1ccdf8++){var _0x2854ec=_0x554af4[_0x1ccdf8];_0x554af4[_0x1ccdf8]=(_0x2854ec<<0x8|_0x2854ec>>>0x18)&0xff00ff|(_0x2854ec<<0x18|_0x2854ec>>>0x8)&0xff00ff00;}return _0x237da2;},'clone':function(){var _0x27b410=_0x59634b,_0x561e11=_0x8e93e3[_0x27b410(0x119)][_0x27b410(0x2e9)](this);return _0x561e11[_0x27b410(0x1b6)]=this[_0x27b410(0x1b6)][_0x27b410(0x119)](),_0x561e11;}});function _0x56fa2f(_0xf94cc8,_0x264e13,_0x55421e,_0x1e430d,_0x4a9b49,_0x5f1d1a,_0x57badf){var _0x542357=_0xf94cc8+(_0x264e13&_0x55421e|~_0x264e13&_0x1e430d)+_0x4a9b49+_0x57badf;return(_0x542357<<_0x5f1d1a|_0x542357>>>0x20-_0x5f1d1a)+_0x264e13;}function _0x4fec05(_0x568fda,_0x426ad8,_0x3bbef9,_0x367c66,_0x4d6c8e,_0x1db5f0,_0x31cd42){var _0x1407d1=_0x568fda+(_0x426ad8&_0x367c66|_0x3bbef9&~_0x367c66)+_0x4d6c8e+_0x31cd42;return(_0x1407d1<<_0x1db5f0|_0x1407d1>>>0x20-_0x1db5f0)+_0x426ad8;}function _0x21d5fd(_0x1688f6,_0x51b47f,_0x37242d,_0x56eaa0,_0x3b524e,_0x4d5e43,_0x488afb){var _0x441a0f=_0x1688f6+(_0x51b47f^_0x37242d^_0x56eaa0)+_0x3b524e+_0x488afb;return(_0x441a0f<<_0x4d5e43|_0x441a0f>>>0x20-_0x4d5e43)+_0x51b47f;}function _0x5be136(_0x315bb,_0x449874,_0x565e7d,_0x4f01f7,_0x21a224,_0x20b947,_0xfa15a1){var _0x50b3c0=_0x315bb+(_0x565e7d^(_0x449874|~_0x4f01f7))+_0x21a224+_0xfa15a1;return(_0x50b3c0<<_0x20b947|_0x50b3c0>>>0x20-_0x20b947)+_0x449874;}_0x4d566c[_0x59634b(0x211)]=_0x8e93e3[_0x59634b(0x32f)](_0x3f4d20),_0x4d566c['HmacMD5']=_0x8e93e3[_0x59634b(0x118)](_0x3f4d20);}(Math),_0x1fc822[_0xfdd684(0x211)];}));}(Ye)),Ye[_0x277537(0x3a2)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3f33cb(0x3a2)],Xt;function dn(){var _0x8731ba=_0x3f33cb;return Xt||(Xt=0x1,function(_0x9bb14,_0xa20f01){(function(_0xda1dcc,_0x902275){_0x9bb14['exports']=_0x902275(te());}(un,function(_0xd231bd){var _0x52caf3=_0x2cdc;return(function(){var _0x37c14f=_0x2cdc,_0x721ee9=_0xd231bd,_0x4bcfa8=_0x721ee9['lib'],_0x3bb998=_0x4bcfa8[_0x37c14f(0x304)],_0x2d37a8=_0x4bcfa8[_0x37c14f(0x1db)],_0x15a54d=_0x721ee9[_0x37c14f(0x30d)],_0x380e2f=[],_0x27d2db=_0x15a54d[_0x37c14f(0x11f)]=_0x2d37a8['extend']({'_doReset':function(){this['_hash']=new _0x3bb998['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5d557a,_0x4b82bf){var _0x54a2ba=_0x37c14f;for(var _0x1a1469=this[_0x54a2ba(0x1b6)][_0x54a2ba(0x1ad)],_0x51ff56=_0x1a1469[0x0],_0xc126c5=_0x1a1469[0x1],_0x21d104=_0x1a1469[0x2],_0x1d42f0=_0x1a1469[0x3],_0x5d497f=_0x1a1469[0x4],_0x4c9274=0x0;_0x4c9274<0x50;_0x4c9274++){if(_0x4c9274<0x10)_0x380e2f[_0x4c9274]=_0x5d557a[_0x4b82bf+_0x4c9274]|0x0;else{var _0x473d05=_0x380e2f[_0x4c9274-0x3]^_0x380e2f[_0x4c9274-0x8]^_0x380e2f[_0x4c9274-0xe]^_0x380e2f[_0x4c9274-0x10];_0x380e2f[_0x4c9274]=_0x473d05<<0x1|_0x473d05>>>0x1f;}var _0x4c57a5=(_0x51ff56<<0x5|_0x51ff56>>>0x1b)+_0x5d497f+_0x380e2f[_0x4c9274];_0x4c9274<0x14?_0x4c57a5+=(_0xc126c5&_0x21d104|~_0xc126c5&_0x1d42f0)+0x5a827999:_0x4c9274<0x28?_0x4c57a5+=(_0xc126c5^_0x21d104^_0x1d42f0)+0x6ed9eba1:_0x4c9274<0x3c?_0x4c57a5+=(_0xc126c5&_0x21d104|_0xc126c5&_0x1d42f0|_0x21d104&_0x1d42f0)-0x70e44324:_0x4c57a5+=(_0xc126c5^_0x21d104^_0x1d42f0)-0x359d3e2a,_0x5d497f=_0x1d42f0,_0x1d42f0=_0x21d104,_0x21d104=_0xc126c5<<0x1e|_0xc126c5>>>0x2,_0xc126c5=_0x51ff56,_0x51ff56=_0x4c57a5;}_0x1a1469[0x0]=_0x1a1469[0x0]+_0x51ff56|0x0,_0x1a1469[0x1]=_0x1a1469[0x1]+_0xc126c5|0x0,_0x1a1469[0x2]=_0x1a1469[0x2]+_0x21d104|0x0,_0x1a1469[0x3]=_0x1a1469[0x3]+_0x1d42f0|0x0,_0x1a1469[0x4]=_0x1a1469[0x4]+_0x5d497f|0x0;},'_doFinalize':function(){var _0x49df81=_0x37c14f,_0x14665d=this['_data'],_0x19799f=_0x14665d['words'],_0x26c17f=this[_0x49df81(0x132)]*0x8,_0x37c160=_0x14665d[_0x49df81(0x354)]*0x8;return _0x19799f[_0x37c160>>>0x5]|=0x80<<0x18-_0x37c160%0x20,_0x19799f[(_0x37c160+0x40>>>0x9<<0x4)+0xe]=Math[_0x49df81(0x10b)](_0x26c17f/0x100000000),_0x19799f[(_0x37c160+0x40>>>0x9<<0x4)+0xf]=_0x26c17f,_0x14665d[_0x49df81(0x354)]=_0x19799f[_0x49df81(0x2f6)]*0x4,this[_0x49df81(0x2b9)](),this['_hash'];},'clone':function(){var _0x203e3f=_0x37c14f,_0x24cb35=_0x2d37a8[_0x203e3f(0x119)][_0x203e3f(0x2e9)](this);return _0x24cb35[_0x203e3f(0x1b6)]=this['_hash']['clone'](),_0x24cb35;}});_0x721ee9[_0x37c14f(0x11f)]=_0x2d37a8[_0x37c14f(0x32f)](_0x27d2db),_0x721ee9[_0x37c14f(0x17f)]=_0x2d37a8['_createHmacHelper'](_0x27d2db);}()),_0xd231bd[_0x52caf3(0x11f)];}));}(qe)),qe[_0x8731ba(0x3a2)];}function _0x2cdc(_0x2c3815,_0x261ac8){var _0x3cb414=_0x3cb4();return _0x2cdc=function(_0x2cdc21,_0x5ce875){_0x2cdc21=_0x2cdc21-0x96;var _0x4116d3=_0x3cb414[_0x2cdc21];return _0x4116d3;},_0x2cdc(_0x2c3815,_0x261ac8);}var ze={'exports':{}},fn=ze[_0x3f33cb(0x3a2)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x2e9bfe,_0x3fb9b6){(function(_0x2aa293,_0x30840f){var _0x2e180b=_0x2cdc;_0x2e9bfe[_0x2e180b(0x3a2)]=_0x30840f(te());}(fn,function(_0x10f770){(function(){var _0x23545a=_0x2cdc,_0x5c2739=_0x10f770,_0x5678b2=_0x5c2739['lib'],_0x944acf=_0x5678b2[_0x23545a(0x1fe)],_0x5a6fdf=_0x5c2739[_0x23545a(0xac)],_0x4217b9=_0x5a6fdf['Utf8'],_0xe4e96c=_0x5c2739[_0x23545a(0x30d)];_0xe4e96c[_0x23545a(0x194)]=_0x944acf['extend']({'init':function(_0x437644,_0x22431b){var _0x219ee1=_0x23545a;_0x437644=this[_0x219ee1(0x1d3)]=new _0x437644[(_0x219ee1(0x268))](),typeof _0x22431b==_0x219ee1(0x31a)&&(_0x22431b=_0x4217b9[_0x219ee1(0x2cc)](_0x22431b));var _0x1eab46=_0x437644[_0x219ee1(0x153)],_0x220420=_0x1eab46*0x4;_0x22431b[_0x219ee1(0x354)]>_0x220420&&(_0x22431b=_0x437644['finalize'](_0x22431b)),_0x22431b[_0x219ee1(0x1e3)]();for(var _0x2ad6bc=this[_0x219ee1(0x242)]=_0x22431b['clone'](),_0x4730b6=this[_0x219ee1(0x345)]=_0x22431b[_0x219ee1(0x119)](),_0x3725f0=_0x2ad6bc[_0x219ee1(0x1ad)],_0x5194f1=_0x4730b6[_0x219ee1(0x1ad)],_0x4ad26a=0x0;_0x4ad26a<_0x1eab46;_0x4ad26a++)_0x3725f0[_0x4ad26a]^=0x5c5c5c5c,_0x5194f1[_0x4ad26a]^=0x36363636;_0x2ad6bc[_0x219ee1(0x354)]=_0x4730b6[_0x219ee1(0x354)]=_0x220420,this['reset']();},'reset':function(){var _0xdb4c29=_0x23545a,_0x51a4d3=this[_0xdb4c29(0x1d3)];_0x51a4d3[_0xdb4c29(0x1d2)](),_0x51a4d3[_0xdb4c29(0x126)](this[_0xdb4c29(0x345)]);},'update':function(_0x2ab0c2){var _0x125a60=_0x23545a;return this[_0x125a60(0x1d3)][_0x125a60(0x126)](_0x2ab0c2),this;},'finalize':function(_0x144ddf){var _0x110249=_0x23545a,_0x97bbd0=this[_0x110249(0x1d3)],_0xefe208=_0x97bbd0[_0x110249(0x10e)](_0x144ddf);_0x97bbd0['reset']();var _0x31f74f=_0x97bbd0['finalize'](this[_0x110249(0x242)][_0x110249(0x119)]()[_0x110249(0x145)](_0xefe208));return _0x31f74f;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x3f33cb(0x3a2)],Qt;function Oi(){var _0x4ffdfb=_0x3f33cb;return Qt||(Qt=0x1,function(_0x3c492f,_0x3bd85b){(function(_0x16d8a0,_0x368ee5,_0x139e55){var _0x67b938=_0x2cdc;_0x3c492f[_0x67b938(0x3a2)]=_0x368ee5(te(),dn(),vn());}(pn,function(_0x10d738){return(function(){var _0x301b02=_0x2cdc,_0x3e6ffc=_0x10d738,_0x284ff2=_0x3e6ffc[_0x301b02(0xaa)],_0x4ebdca=_0x284ff2[_0x301b02(0x1fe)],_0x430153=_0x284ff2[_0x301b02(0x304)],_0x280e19=_0x3e6ffc[_0x301b02(0x30d)],_0xb1d26f=_0x280e19[_0x301b02(0x211)],_0x24d71a=_0x280e19[_0x301b02(0x1f1)]=_0x4ebdca[_0x301b02(0x27c)]({'cfg':_0x4ebdca[_0x301b02(0x27c)]({'keySize':0x80/0x20,'hasher':_0xb1d26f,'iterations':0x1}),'init':function(_0x1bf644){var _0x545d73=_0x301b02;this[_0x545d73(0x385)]=this[_0x545d73(0x385)][_0x545d73(0x27c)](_0x1bf644);},'compute':function(_0x486bbe,_0x107d33){var _0x4e1071=_0x301b02;for(var _0x137247,_0x443441=this[_0x4e1071(0x385)],_0x17f598=_0x443441[_0x4e1071(0xff)][_0x4e1071(0x2c4)](),_0x58cfde=_0x430153[_0x4e1071(0x2c4)](),_0xbf3c1b=_0x58cfde['words'],_0xfa76e8=_0x443441[_0x4e1071(0x1c2)],_0x2821d8=_0x443441['iterations'];_0xbf3c1b[_0x4e1071(0x2f6)]<_0xfa76e8;){_0x137247&&_0x17f598[_0x4e1071(0x126)](_0x137247),_0x137247=_0x17f598[_0x4e1071(0x126)](_0x486bbe)[_0x4e1071(0x10e)](_0x107d33),_0x17f598[_0x4e1071(0x1d2)]();for(var _0x4c6d74=0x1;_0x4c6d74<_0x2821d8;_0x4c6d74++)_0x137247=_0x17f598[_0x4e1071(0x10e)](_0x137247),_0x17f598[_0x4e1071(0x1d2)]();_0x58cfde[_0x4e1071(0x145)](_0x137247);}return _0x58cfde[_0x4e1071(0x354)]=_0xfa76e8*0x4,_0x58cfde;}});_0x3e6ffc[_0x301b02(0x1f1)]=function(_0x1af6d5,_0x2fa746,_0x238c5c){var _0x155499=_0x301b02;return _0x24d71a[_0x155499(0x2c4)](_0x238c5c)[_0x155499(0x1d9)](_0x1af6d5,_0x2fa746);};}()),_0x10d738['EvpKDF'];}));}(Ke)),Ke[_0x4ffdfb(0x3a2)];}var Je={'exports':{}},mn=Je[_0x3f33cb(0x3a2)],ei;function bi(){var _0x5e3da4=_0x3f33cb;return ei||(ei=0x1,function(_0x3c6f1e,_0x51dba1){(function(_0x562a0c,_0x433de5,_0x411100){var _0xfac7d1=_0x2cdc;_0x3c6f1e[_0xfac7d1(0x3a2)]=_0x433de5(te(),Oi());}(mn,function(_0x6e6736){var _0x51e9c6=_0x2cdc;_0x6e6736[_0x51e9c6(0xaa)]['Cipher']||function(_0x565be6){var _0x263a59=_0x51e9c6,_0x1e622c=_0x6e6736,_0x44d3d5=_0x1e622c[_0x263a59(0xaa)],_0x1bfefa=_0x44d3d5[_0x263a59(0x1fe)],_0x5257d1=_0x44d3d5[_0x263a59(0x304)],_0x30700b=_0x44d3d5[_0x263a59(0xc8)],_0x424e97=_0x1e622c[_0x263a59(0xac)];_0x424e97[_0x263a59(0x2e8)];var _0x5f0f64=_0x424e97[_0x263a59(0x279)],_0x20e7f8=_0x1e622c[_0x263a59(0x30d)],_0x2fd47e=_0x20e7f8[_0x263a59(0x1f1)],_0x5f050a=_0x44d3d5['Cipher']=_0x30700b[_0x263a59(0x27c)]({'cfg':_0x1bfefa[_0x263a59(0x27c)](),'createEncryptor':function(_0x3fd1b9,_0x758db9){var _0x5f442d=_0x263a59;return this[_0x5f442d(0x2c4)](this[_0x5f442d(0x2f2)],_0x3fd1b9,_0x758db9);},'createDecryptor':function(_0x24264d,_0x31f650){var _0x43bd0d=_0x263a59;return this['create'](this[_0x43bd0d(0xa2)],_0x24264d,_0x31f650);},'init':function(_0x5b766c,_0x54a30d,_0x7464b9){var _0x5c22b4=_0x263a59;this[_0x5c22b4(0x385)]=this[_0x5c22b4(0x385)][_0x5c22b4(0x27c)](_0x7464b9),this[_0x5c22b4(0x220)]=_0x5b766c,this[_0x5c22b4(0x32a)]=_0x54a30d,this[_0x5c22b4(0x1d2)]();},'reset':function(){var _0x1b4282=_0x263a59;_0x30700b[_0x1b4282(0x1d2)][_0x1b4282(0x2e9)](this),this['_doReset']();},'process':function(_0x3c28d4){var _0x31a2d7=_0x263a59;return this['_append'](_0x3c28d4),this[_0x31a2d7(0x2b9)]();},'finalize':function(_0x115f50){_0x115f50&&this['_append'](_0x115f50);var _0x1be5a9=this['_doFinalize']();return _0x1be5a9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xbb0927(_0x1f61e6){var _0x238e4f=_0x2cdc;return typeof _0x1f61e6==_0x238e4f(0x31a)?_0x418f5a:_0x56af08;}return function(_0x4b3c03){return{'encrypt':function(_0x3ea28d,_0x1fb20e,_0x3d33a2){var _0x311de9=_0x2cdc;return _0xbb0927(_0x1fb20e)[_0x311de9(0x38c)](_0x4b3c03,_0x3ea28d,_0x1fb20e,_0x3d33a2);},'decrypt':function(_0x5d08ce,_0x2d3fd6,_0x37e6c8){var _0x54f93=_0x2cdc;return _0xbb0927(_0x2d3fd6)[_0x54f93(0x19f)](_0x4b3c03,_0x5d08ce,_0x2d3fd6,_0x37e6c8);}};};}())});_0x44d3d5[_0x263a59(0x310)]=_0x5f050a[_0x263a59(0x27c)]({'_doFinalize':function(){var _0x24387f=_0x263a59,_0x3619f0=this[_0x24387f(0x2b9)](!0x0);return _0x3619f0;},'blockSize':0x1});var _0x26978c=_0x1e622c['mode']={},_0x10811d=_0x44d3d5[_0x263a59(0x183)]=_0x1bfefa[_0x263a59(0x27c)]({'createEncryptor':function(_0x10e5de,_0x458cdc){var _0x2e9064=_0x263a59;return this['Encryptor'][_0x2e9064(0x2c4)](_0x10e5de,_0x458cdc);},'createDecryptor':function(_0x46bf2d,_0x1caec5){var _0x1dc009=_0x263a59;return this[_0x1dc009(0xf3)][_0x1dc009(0x2c4)](_0x46bf2d,_0x1caec5);},'init':function(_0x38f715,_0x22970c){var _0x1d6ca9=_0x263a59;this['_cipher']=_0x38f715,this[_0x1d6ca9(0x398)]=_0x22970c;}}),_0x5fefad=_0x26978c[_0x263a59(0x298)]=(function(){var _0x3d72b3=_0x263a59,_0x23257c=_0x10811d[_0x3d72b3(0x27c)]();_0x23257c['Encryptor']=_0x23257c[_0x3d72b3(0x27c)]({'processBlock':function(_0x4d360c,_0x255261){var _0x57345d=_0x3d72b3,_0x46d3ec=this[_0x57345d(0x363)],_0x1be749=_0x46d3ec[_0x57345d(0x153)];_0x351c7a[_0x57345d(0x2e9)](this,_0x4d360c,_0x255261,_0x1be749),_0x46d3ec[_0x57345d(0x371)](_0x4d360c,_0x255261),this[_0x57345d(0xaf)]=_0x4d360c[_0x57345d(0x20a)](_0x255261,_0x255261+_0x1be749);}}),_0x23257c['Decryptor']=_0x23257c[_0x3d72b3(0x27c)]({'processBlock':function(_0x81f185,_0x58e0e9){var _0x19f19c=_0x3d72b3,_0x484985=this[_0x19f19c(0x363)],_0x2789c0=_0x484985[_0x19f19c(0x153)],_0x4669db=_0x81f185[_0x19f19c(0x20a)](_0x58e0e9,_0x58e0e9+_0x2789c0);_0x484985[_0x19f19c(0x36a)](_0x81f185,_0x58e0e9),_0x351c7a[_0x19f19c(0x2e9)](this,_0x81f185,_0x58e0e9,_0x2789c0),this[_0x19f19c(0xaf)]=_0x4669db;}});function _0x351c7a(_0x16956f,_0x232699,_0x5a345c){var _0x3595e1=_0x3d72b3,_0x2ebb65,_0x2172f7=this[_0x3595e1(0x398)];_0x2172f7?(_0x2ebb65=_0x2172f7,this[_0x3595e1(0x398)]=_0x565be6):_0x2ebb65=this[_0x3595e1(0xaf)];for(var _0x2fad86=0x0;_0x2fad86<_0x5a345c;_0x2fad86++)_0x16956f[_0x232699+_0x2fad86]^=_0x2ebb65[_0x2fad86];}return _0x23257c;}()),_0x2de5de=_0x1e622c[_0x263a59(0x98)]={},_0x509232=_0x2de5de[_0x263a59(0x2d1)]={'pad':function(_0x6110ba,_0x39facc){var _0x1657d5=_0x263a59;for(var _0x17b1a9=_0x39facc*0x4,_0x4ed149=_0x17b1a9-_0x6110ba[_0x1657d5(0x354)]%_0x17b1a9,_0x5f1692=_0x4ed149<<0x18|_0x4ed149<<0x10|_0x4ed149<<0x8|_0x4ed149,_0x53cfd5=[],_0x2111c7=0x0;_0x2111c7<_0x4ed149;_0x2111c7+=0x4)_0x53cfd5[_0x1657d5(0x195)](_0x5f1692);var _0x275376=_0x5257d1[_0x1657d5(0x2c4)](_0x53cfd5,_0x4ed149);_0x6110ba[_0x1657d5(0x145)](_0x275376);},'unpad':function(_0x17dcbe){var _0xe80a7c=_0x263a59,_0x4dff1b=_0x17dcbe['words'][_0x17dcbe[_0xe80a7c(0x354)]-0x1>>>0x2]&0xff;_0x17dcbe['sigBytes']-=_0x4dff1b;}};_0x44d3d5[_0x263a59(0x341)]=_0x5f050a['extend']({'cfg':_0x5f050a[_0x263a59(0x385)][_0x263a59(0x27c)]({'mode':_0x5fefad,'padding':_0x509232}),'reset':function(){var _0x1636da=_0x263a59,_0x255dd0;_0x5f050a[_0x1636da(0x1d2)]['call'](this);var _0x2543a4=this[_0x1636da(0x385)],_0x3b73de=_0x2543a4['iv'],_0x155c0e=_0x2543a4[_0x1636da(0x1a5)];this['_xformMode']==this[_0x1636da(0x2f2)]?_0x255dd0=_0x155c0e[_0x1636da(0x336)]:(_0x255dd0=_0x155c0e[_0x1636da(0x32d)],this[_0x1636da(0x225)]=0x1),this['_mode']&&this[_0x1636da(0x27a)][_0x1636da(0xb1)]==_0x255dd0?this[_0x1636da(0x27a)][_0x1636da(0x268)](this,_0x3b73de&&_0x3b73de[_0x1636da(0x1ad)]):(this[_0x1636da(0x27a)]=_0x255dd0[_0x1636da(0x2e9)](_0x155c0e,this,_0x3b73de&&_0x3b73de[_0x1636da(0x1ad)]),this[_0x1636da(0x27a)][_0x1636da(0xb1)]=_0x255dd0);},'_doProcessBlock':function(_0x13d91c,_0xad4b8a){var _0x38d53c=_0x263a59;this[_0x38d53c(0x27a)][_0x38d53c(0x9b)](_0x13d91c,_0xad4b8a);},'_doFinalize':function(){var _0x1f558b=_0x263a59,_0x3d44fb,_0x18be57=this['cfg'][_0x1f558b(0x107)];return this['_xformMode']==this[_0x1f558b(0x2f2)]?(_0x18be57[_0x1f558b(0x98)](this['_data'],this[_0x1f558b(0x153)]),_0x3d44fb=this[_0x1f558b(0x2b9)](!0x0)):(_0x3d44fb=this['_process'](!0x0),_0x18be57[_0x1f558b(0x2dc)](_0x3d44fb)),_0x3d44fb;},'blockSize':0x80/0x20});var _0x3de5f9=_0x44d3d5['CipherParams']=_0x1bfefa[_0x263a59(0x27c)]({'init':function(_0x36104a){var _0x297db1=_0x263a59;this[_0x297db1(0x151)](_0x36104a);},'toString':function(_0x41c565){var _0x379c8e=_0x263a59;return(_0x41c565||this[_0x379c8e(0x2be)])[_0x379c8e(0x1df)](this);}}),_0x33ccb2=_0x1e622c[_0x263a59(0x383)]={},_0x5765f3=_0x33ccb2[_0x263a59(0x19b)]={'stringify':function(_0x19ced1){var _0xa68570=_0x263a59,_0x310038,_0xadf3a2=_0x19ced1[_0xa68570(0x39f)],_0x167543=_0x19ced1[_0xa68570(0x23a)];return _0x167543?_0x310038=_0x5257d1['create']([0x53616c74,0x65645f5f])[_0xa68570(0x145)](_0x167543)['concat'](_0xadf3a2):_0x310038=_0xadf3a2,_0x310038[_0xa68570(0x178)](_0x5f0f64);},'parse':function(_0x2690b4){var _0x23eca9=_0x263a59,_0x35f2f0,_0x3d74d4=_0x5f0f64[_0x23eca9(0x2cc)](_0x2690b4),_0x25b901=_0x3d74d4[_0x23eca9(0x1ad)];return _0x25b901[0x0]==0x53616c74&&_0x25b901[0x1]==0x65645f5f&&(_0x35f2f0=_0x5257d1[_0x23eca9(0x2c4)](_0x25b901[_0x23eca9(0x20a)](0x2,0x4)),_0x25b901[_0x23eca9(0x360)](0x0,0x4),_0x3d74d4['sigBytes']-=0x10),_0x3de5f9[_0x23eca9(0x2c4)]({'ciphertext':_0x3d74d4,'salt':_0x35f2f0});}},_0x56af08=_0x44d3d5[_0x263a59(0x20f)]=_0x1bfefa[_0x263a59(0x27c)]({'cfg':_0x1bfefa[_0x263a59(0x27c)]({'format':_0x5765f3}),'encrypt':function(_0x1981e2,_0x4ad1f2,_0x3005c1,_0x122ebd){var _0x2c7656=_0x263a59;_0x122ebd=this[_0x2c7656(0x385)][_0x2c7656(0x27c)](_0x122ebd);var _0x26f3d2=_0x1981e2['createEncryptor'](_0x3005c1,_0x122ebd),_0x5deff8=_0x26f3d2['finalize'](_0x4ad1f2),_0x40d859=_0x26f3d2[_0x2c7656(0x385)];return _0x3de5f9['create']({'ciphertext':_0x5deff8,'key':_0x3005c1,'iv':_0x40d859['iv'],'algorithm':_0x1981e2,'mode':_0x40d859['mode'],'padding':_0x40d859[_0x2c7656(0x107)],'blockSize':_0x1981e2[_0x2c7656(0x153)],'formatter':_0x122ebd[_0x2c7656(0x383)]});},'decrypt':function(_0x31d6fd,_0x2ff05f,_0x292978,_0x1be1e8){var _0x4a396c=_0x263a59;_0x1be1e8=this[_0x4a396c(0x385)][_0x4a396c(0x27c)](_0x1be1e8),_0x2ff05f=this['_parse'](_0x2ff05f,_0x1be1e8[_0x4a396c(0x383)]);var _0x20cdd2=_0x31d6fd[_0x4a396c(0x32d)](_0x292978,_0x1be1e8)['finalize'](_0x2ff05f[_0x4a396c(0x39f)]);return _0x20cdd2;},'_parse':function(_0x38b3a0,_0x2a4010){var _0x723ac0=_0x263a59;return typeof _0x38b3a0=='string'?_0x2a4010[_0x723ac0(0x2cc)](_0x38b3a0,this):_0x38b3a0;}}),_0x3c5516=_0x1e622c[_0x263a59(0x200)]={},_0x4bb8e8=_0x3c5516[_0x263a59(0x19b)]={'execute':function(_0x1dc515,_0x7f738d,_0x2cdcd1,_0x2b95e8,_0x25b72b){var _0x539553=_0x263a59;if(_0x2b95e8||(_0x2b95e8=_0x5257d1[_0x539553(0x109)](0x40/0x8)),_0x25b72b)var _0x5ac579=_0x2fd47e['create']({'keySize':_0x7f738d+_0x2cdcd1,'hasher':_0x25b72b})[_0x539553(0x1d9)](_0x1dc515,_0x2b95e8);else var _0x5ac579=_0x2fd47e['create']({'keySize':_0x7f738d+_0x2cdcd1})[_0x539553(0x1d9)](_0x1dc515,_0x2b95e8);var _0x5a01d0=_0x5257d1[_0x539553(0x2c4)](_0x5ac579['words'][_0x539553(0x20a)](_0x7f738d),_0x2cdcd1*0x4);return _0x5ac579[_0x539553(0x354)]=_0x7f738d*0x4,_0x3de5f9[_0x539553(0x2c4)]({'key':_0x5ac579,'iv':_0x5a01d0,'salt':_0x2b95e8});}},_0x418f5a=_0x44d3d5['PasswordBasedCipher']=_0x56af08[_0x263a59(0x27c)]({'cfg':_0x56af08['cfg']['extend']({'kdf':_0x4bb8e8}),'encrypt':function(_0x500f98,_0x2f88fb,_0x2591c1,_0x1b625e){var _0x3ab1e0=_0x263a59;_0x1b625e=this['cfg'][_0x3ab1e0(0x27c)](_0x1b625e);var _0x46c0a9=_0x1b625e['kdf']['execute'](_0x2591c1,_0x500f98[_0x3ab1e0(0x1c2)],_0x500f98['ivSize'],_0x1b625e[_0x3ab1e0(0x23a)],_0x1b625e[_0x3ab1e0(0xff)]);_0x1b625e['iv']=_0x46c0a9['iv'];var _0x483fcc=_0x56af08['encrypt'][_0x3ab1e0(0x2e9)](this,_0x500f98,_0x2f88fb,_0x46c0a9[_0x3ab1e0(0x152)],_0x1b625e);return _0x483fcc[_0x3ab1e0(0x151)](_0x46c0a9),_0x483fcc;},'decrypt':function(_0x3c4688,_0x2d8946,_0x188f90,_0x1c432f){var _0x3749b6=_0x263a59;_0x1c432f=this[_0x3749b6(0x385)][_0x3749b6(0x27c)](_0x1c432f),_0x2d8946=this[_0x3749b6(0x37f)](_0x2d8946,_0x1c432f[_0x3749b6(0x383)]);var _0x5a70a5=_0x1c432f['kdf'][_0x3749b6(0x172)](_0x188f90,_0x3c4688[_0x3749b6(0x1c2)],_0x3c4688[_0x3749b6(0x228)],_0x2d8946['salt'],_0x1c432f[_0x3749b6(0xff)]);_0x1c432f['iv']=_0x5a70a5['iv'];var _0xcf6595=_0x56af08['decrypt'][_0x3749b6(0x2e9)](this,_0x3c4688,_0x2d8946,_0x5a70a5[_0x3749b6(0x152)],_0x1c432f);return _0xcf6595;}});}();}));}(Je)),Je[_0x5e3da4(0x3a2)];}var gn=Ve[_0x3f33cb(0x3a2)],ti;function Sn(){var _0x1664f1=_0x3f33cb;return ti||(ti=0x1,function(_0x1f8ec4,_0x46c900){(function(_0x3fe638,_0x5a3334,_0x8a72f7){var _0x48678e=_0x2cdc;_0x1f8ec4[_0x48678e(0x3a2)]=_0x5a3334(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x4a6166){var _0x291df9=_0x2cdc;return(function(){var _0x5d1337=_0x2cdc,_0x579ebe=_0x4a6166,_0x15d821=_0x579ebe['lib'],_0x53e338=_0x15d821['BlockCipher'],_0x23e1e9=_0x579ebe['algo'],_0x16277e=[],_0x294936=[],_0x12a528=[],_0x2433d1=[],_0x27fdfc=[],_0x2cfd0d=[],_0x15a26a=[],_0x2e5f3d=[],_0xa6be1c=[],_0x4f9af0=[];(function(){for(var _0x311be7=[],_0x29d686=0x0;_0x29d686<0x100;_0x29d686++)_0x29d686<0x80?_0x311be7[_0x29d686]=_0x29d686<<0x1:_0x311be7[_0x29d686]=_0x29d686<<0x1^0x11b;for(var _0x53e42a=0x0,_0xcceb22=0x0,_0x29d686=0x0;_0x29d686<0x100;_0x29d686++){var _0x22d5e3=_0xcceb22^_0xcceb22<<0x1^_0xcceb22<<0x2^_0xcceb22<<0x3^_0xcceb22<<0x4;_0x22d5e3=_0x22d5e3>>>0x8^_0x22d5e3&0xff^0x63,_0x16277e[_0x53e42a]=_0x22d5e3,_0x294936[_0x22d5e3]=_0x53e42a;var _0xb80587=_0x311be7[_0x53e42a],_0x13d1c1=_0x311be7[_0xb80587],_0x20fe59=_0x311be7[_0x13d1c1],_0x49678c=_0x311be7[_0x22d5e3]*0x101^_0x22d5e3*0x1010100;_0x12a528[_0x53e42a]=_0x49678c<<0x18|_0x49678c>>>0x8,_0x2433d1[_0x53e42a]=_0x49678c<<0x10|_0x49678c>>>0x10,_0x27fdfc[_0x53e42a]=_0x49678c<<0x8|_0x49678c>>>0x18,_0x2cfd0d[_0x53e42a]=_0x49678c;var _0x49678c=_0x20fe59*0x1010101^_0x13d1c1*0x10001^_0xb80587*0x101^_0x53e42a*0x1010100;_0x15a26a[_0x22d5e3]=_0x49678c<<0x18|_0x49678c>>>0x8,_0x2e5f3d[_0x22d5e3]=_0x49678c<<0x10|_0x49678c>>>0x10,_0xa6be1c[_0x22d5e3]=_0x49678c<<0x8|_0x49678c>>>0x18,_0x4f9af0[_0x22d5e3]=_0x49678c,_0x53e42a?(_0x53e42a=_0xb80587^_0x311be7[_0x311be7[_0x311be7[_0x20fe59^_0xb80587]]],_0xcceb22^=_0x311be7[_0x311be7[_0xcceb22]]):_0x53e42a=_0xcceb22=0x1;}}());var _0x2101be=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f34a8=_0x23e1e9['AES']=_0x53e338[_0x5d1337(0x27c)]({'_doReset':function(){var _0x3689c4=_0x5d1337,_0xb94857;if(!(this[_0x3689c4(0x2e1)]&&this[_0x3689c4(0x1a0)]===this[_0x3689c4(0x32a)])){for(var _0x544001=this[_0x3689c4(0x1a0)]=this['_key'],_0x1fc65b=_0x544001['words'],_0x579268=_0x544001[_0x3689c4(0x354)]/0x4,_0x34667d=this[_0x3689c4(0x2e1)]=_0x579268+0x6,_0x42d5fc=(_0x34667d+0x1)*0x4,_0x4b2930=this['_keySchedule']=[],_0x561a3a=0x0;_0x561a3a<_0x42d5fc;_0x561a3a++)_0x561a3a<_0x579268?_0x4b2930[_0x561a3a]=_0x1fc65b[_0x561a3a]:(_0xb94857=_0x4b2930[_0x561a3a-0x1],_0x561a3a%_0x579268?_0x579268>0x6&&_0x561a3a%_0x579268==0x4&&(_0xb94857=_0x16277e[_0xb94857>>>0x18]<<0x18|_0x16277e[_0xb94857>>>0x10&0xff]<<0x10|_0x16277e[_0xb94857>>>0x8&0xff]<<0x8|_0x16277e[_0xb94857&0xff]):(_0xb94857=_0xb94857<<0x8|_0xb94857>>>0x18,_0xb94857=_0x16277e[_0xb94857>>>0x18]<<0x18|_0x16277e[_0xb94857>>>0x10&0xff]<<0x10|_0x16277e[_0xb94857>>>0x8&0xff]<<0x8|_0x16277e[_0xb94857&0xff],_0xb94857^=_0x2101be[_0x561a3a/_0x579268|0x0]<<0x18),_0x4b2930[_0x561a3a]=_0x4b2930[_0x561a3a-_0x579268]^_0xb94857);for(var _0x4fbce2=this[_0x3689c4(0xbf)]=[],_0x16b400=0x0;_0x16b400<_0x42d5fc;_0x16b400++){var _0x561a3a=_0x42d5fc-_0x16b400;if(_0x16b400%0x4)var _0xb94857=_0x4b2930[_0x561a3a];else var _0xb94857=_0x4b2930[_0x561a3a-0x4];_0x16b400<0x4||_0x561a3a<=0x4?_0x4fbce2[_0x16b400]=_0xb94857:_0x4fbce2[_0x16b400]=_0x15a26a[_0x16277e[_0xb94857>>>0x18]]^_0x2e5f3d[_0x16277e[_0xb94857>>>0x10&0xff]]^_0xa6be1c[_0x16277e[_0xb94857>>>0x8&0xff]]^_0x4f9af0[_0x16277e[_0xb94857&0xff]];}}},'encryptBlock':function(_0x4b9aae,_0x5b6d93){var _0x23a0f7=_0x5d1337;this['_doCryptBlock'](_0x4b9aae,_0x5b6d93,this[_0x23a0f7(0xdd)],_0x12a528,_0x2433d1,_0x27fdfc,_0x2cfd0d,_0x16277e);},'decryptBlock':function(_0x41a21a,_0x281da3){var _0x243b11=_0x5d1337,_0x6a3a48=_0x41a21a[_0x281da3+0x1];_0x41a21a[_0x281da3+0x1]=_0x41a21a[_0x281da3+0x3],_0x41a21a[_0x281da3+0x3]=_0x6a3a48,this[_0x243b11(0x37a)](_0x41a21a,_0x281da3,this[_0x243b11(0xbf)],_0x15a26a,_0x2e5f3d,_0xa6be1c,_0x4f9af0,_0x294936);var _0x6a3a48=_0x41a21a[_0x281da3+0x1];_0x41a21a[_0x281da3+0x1]=_0x41a21a[_0x281da3+0x3],_0x41a21a[_0x281da3+0x3]=_0x6a3a48;},'_doCryptBlock':function(_0x20c900,_0x437333,_0xe6328d,_0x2d3c1c,_0x471609,_0x3913cd,_0x19fef6,_0x41b94d){var _0x2265a7=_0x5d1337;for(var _0x378a9f=this[_0x2265a7(0x2e1)],_0x33b0fe=_0x20c900[_0x437333]^_0xe6328d[0x0],_0x1ea2a2=_0x20c900[_0x437333+0x1]^_0xe6328d[0x1],_0x54a268=_0x20c900[_0x437333+0x2]^_0xe6328d[0x2],_0x9aec=_0x20c900[_0x437333+0x3]^_0xe6328d[0x3],_0x82edec=0x4,_0x70cc36=0x1;_0x70cc36<_0x378a9f;_0x70cc36++){var _0x481643=_0x2d3c1c[_0x33b0fe>>>0x18]^_0x471609[_0x1ea2a2>>>0x10&0xff]^_0x3913cd[_0x54a268>>>0x8&0xff]^_0x19fef6[_0x9aec&0xff]^_0xe6328d[_0x82edec++],_0x3b5d50=_0x2d3c1c[_0x1ea2a2>>>0x18]^_0x471609[_0x54a268>>>0x10&0xff]^_0x3913cd[_0x9aec>>>0x8&0xff]^_0x19fef6[_0x33b0fe&0xff]^_0xe6328d[_0x82edec++],_0x297698=_0x2d3c1c[_0x54a268>>>0x18]^_0x471609[_0x9aec>>>0x10&0xff]^_0x3913cd[_0x33b0fe>>>0x8&0xff]^_0x19fef6[_0x1ea2a2&0xff]^_0xe6328d[_0x82edec++],_0x4a6bb9=_0x2d3c1c[_0x9aec>>>0x18]^_0x471609[_0x33b0fe>>>0x10&0xff]^_0x3913cd[_0x1ea2a2>>>0x8&0xff]^_0x19fef6[_0x54a268&0xff]^_0xe6328d[_0x82edec++];_0x33b0fe=_0x481643,_0x1ea2a2=_0x3b5d50,_0x54a268=_0x297698,_0x9aec=_0x4a6bb9;}var _0x481643=(_0x41b94d[_0x33b0fe>>>0x18]<<0x18|_0x41b94d[_0x1ea2a2>>>0x10&0xff]<<0x10|_0x41b94d[_0x54a268>>>0x8&0xff]<<0x8|_0x41b94d[_0x9aec&0xff])^_0xe6328d[_0x82edec++],_0x3b5d50=(_0x41b94d[_0x1ea2a2>>>0x18]<<0x18|_0x41b94d[_0x54a268>>>0x10&0xff]<<0x10|_0x41b94d[_0x9aec>>>0x8&0xff]<<0x8|_0x41b94d[_0x33b0fe&0xff])^_0xe6328d[_0x82edec++],_0x297698=(_0x41b94d[_0x54a268>>>0x18]<<0x18|_0x41b94d[_0x9aec>>>0x10&0xff]<<0x10|_0x41b94d[_0x33b0fe>>>0x8&0xff]<<0x8|_0x41b94d[_0x1ea2a2&0xff])^_0xe6328d[_0x82edec++],_0x4a6bb9=(_0x41b94d[_0x9aec>>>0x18]<<0x18|_0x41b94d[_0x33b0fe>>>0x10&0xff]<<0x10|_0x41b94d[_0x1ea2a2>>>0x8&0xff]<<0x8|_0x41b94d[_0x54a268&0xff])^_0xe6328d[_0x82edec++];_0x20c900[_0x437333]=_0x481643,_0x20c900[_0x437333+0x1]=_0x3b5d50,_0x20c900[_0x437333+0x2]=_0x297698,_0x20c900[_0x437333+0x3]=_0x4a6bb9;},'keySize':0x100/0x20});_0x579ebe['AES']=_0x53e338[_0x5d1337(0x32f)](_0x3f34a8);}()),_0x4a6166[_0x291df9(0x2a4)];}));}(Ve)),Ve[_0x1664f1(0x3a2)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x3f33cb(0x3a2)],si;function Rn(){var _0x45e4e7=_0x3f33cb;return si||(si=0x1,function(_0x2991d3,_0x4ecf90){(function(_0x27ee5f,_0x309206){_0x2991d3['exports']=_0x309206(te());}(Cn,function(_0x560f2d){var _0x2801c9=_0x2cdc;return _0x560f2d[_0x2801c9(0xac)]['Utf8'];}));}(Xe)),Xe[_0x45e4e7(0x3a2)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x3f33cb(0x3a2)],ni;function Nn(){return ni||(ni=0x1,function(_0x59b21e,_0xb07508){(function(_0x38ae28,_0x540c57){var _0x164de7=_0x2cdc;_0x59b21e[_0x164de7(0x3a2)]=_0x540c57(te());}(yn,function(_0xd7db50){var _0xb20abc=_0x2cdc;return(function(){var _0x37a4d4=_0x2cdc;if(typeof ArrayBuffer==_0x37a4d4(0x129)){var _0x15d8ff=_0xd7db50,_0x4b805a=_0x15d8ff[_0x37a4d4(0xaa)],_0x5c0c42=_0x4b805a['WordArray'],_0x11001a=_0x5c0c42[_0x37a4d4(0x268)],_0x101208=_0x5c0c42['init']=function(_0x467725){var _0x36a276=_0x37a4d4;if(_0x467725 instanceof ArrayBuffer&&(_0x467725=new Uint8Array(_0x467725)),(_0x467725 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x467725 instanceof Uint8ClampedArray||_0x467725 instanceof Int16Array||_0x467725 instanceof Uint16Array||_0x467725 instanceof Int32Array||_0x467725 instanceof Uint32Array||_0x467725 instanceof Float32Array||_0x467725 instanceof Float64Array)&&(_0x467725=new Uint8Array(_0x467725[_0x36a276(0x32e)],_0x467725[_0x36a276(0x30f)],_0x467725['byteLength'])),_0x467725 instanceof Uint8Array){for(var _0x3ed43c=_0x467725[_0x36a276(0x286)],_0x366d9e=[],_0x32abc2=0x0;_0x32abc2<_0x3ed43c;_0x32abc2++)_0x366d9e[_0x32abc2>>>0x2]|=_0x467725[_0x32abc2]<<0x18-_0x32abc2%0x4*0x8;_0x11001a[_0x36a276(0x2e9)](this,_0x366d9e,_0x3ed43c);}else _0x11001a[_0x36a276(0x39d)](this,arguments);};_0x101208[_0x37a4d4(0x335)]=_0x5c0c42;}}()),_0xd7db50[_0xb20abc(0xaa)][_0xb20abc(0x304)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x3f33cb(0x3a2)],ri;function wn(){var _0x5bcab2=_0x3f33cb;return ri||(ri=0x1,function(_0xa212d,_0x21f249){(function(_0x3e187a,_0xebf2dd,_0x461192){_0xa212d['exports']=_0xebf2dd(te(),bi());}(An,function(_0x62d507){var _0x2067b9=_0x2cdc;return _0x62d507['pad'][_0x2067b9(0x305)]={'pad':function(){},'unpad':function(){}},_0x62d507['pad'][_0x2067b9(0x305)];}));}(Qe)),Qe[_0x5bcab2(0x3a2)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x512d17,_0x1bf3ec){var _0x5f5aa6=_0x3f33cb;const _0xb7768=_0x1bf3ec-_0x512d17[_0x5f5aa6(0x2f6)]%_0x1bf3ec,_0x57172b=String[_0x5f5aa6(0xc7)](_0xb7768)[_0x5f5aa6(0x97)](_0xb7768);return _0x512d17+_0x57172b;}function xn(_0x23c058,_0x493060){var _0x2880ff=_0x3f33cb;const _0x5d0f95=Un[_0x2880ff(0x109)](0x10),_0xae6c11=Ln(_0x23c058,0x10),_0x2d3b50=In[_0x2880ff(0x38c)](bn['parse'](_0xae6c11),ii[_0x2880ff(0x2cc)](_0x493060),{'iv':_0x5d0f95,'padding':Mn});return _0x5d0f95[_0x2880ff(0x145)](_0x2d3b50['ciphertext'])[_0x2880ff(0x178)](ii);}function kn(){var _0x22990e=_0x3f33cb;const _0x4e92f3=_0xc4a606()[_0x22990e(0x1cd)];if(_0x4e92f3){const _0x2288ab={'time':Math[_0x22990e(0x10b)](Date[_0x22990e(0x1d7)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x22990e(0x1df)](_0x2288ab),_0x4e92f3);}}var $n=Object[_0x3f33cb(0x296)],Hn=(_0x2e68dc,_0x413f55,_0x1c8fed,_0x53b465)=>{var _0x5b5e6c=_0x3f33cb;for(var _0x1d54c7=_0x53b465>0x1?void 0x0:_0x53b465?$n(_0x413f55,_0x1c8fed):_0x413f55,_0x1dad19=_0x2e68dc[_0x5b5e6c(0x2f6)]-0x1,_0x5d89d1;_0x1dad19>=0x0;_0x1dad19--)(_0x5d89d1=_0x2e68dc[_0x1dad19])&&(_0x1d54c7=_0x5d89d1(_0x1d54c7)||_0x1d54c7);return _0x1d54c7;},Bn=(_0x4c0235,_0xa4b818)=>(_0x31567e,_0x4570fb)=>_0xa4b818(_0x31567e,_0x4570fb,_0x4c0235);let at=class{constructor(_0x461bb4){var _0x3fbf36=_0x3f33cb;this[_0x3fbf36(0x141)]=_0x461bb4,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x263bd1=_0x3f33cb;this[_0x263bd1(0x141)][_0x263bd1(0x381)]({'interceptor':(_0x54dfa2,_0x5c97fc)=>{const _0x23095c=_0x54dfa2['headers'],_0x4dfdbe=kn();return _0x4dfdbe&&_0x23095c['set']('x-univer-host',_0x4dfdbe),_0x5c97fc(_0x54dfa2);}});}};at=Hn([Bn(0x0,_0x289be2(_0x202828))],at);var jn=Object[_0x3f33cb(0x296)],Fn=(_0x4cfd97,_0x18ae36,_0x50d027,_0xfcdbe2)=>{for(var _0x4d71e9=_0xfcdbe2>0x1?void 0x0:_0xfcdbe2?jn(_0x18ae36,_0x50d027):_0x18ae36,_0x1ce3dc=_0x4cfd97['length']-0x1,_0x796c04;_0x1ce3dc>=0x0;_0x1ce3dc--)(_0x796c04=_0x4cfd97[_0x1ce3dc])&&(_0x4d71e9=_0x796c04(_0x4d71e9)||_0x4d71e9);return _0x4d71e9;},vt=(_0x43a301,_0x50e0bf)=>(_0x35e662,_0x1c4d39)=>_0x50e0bf(_0x35e662,_0x1c4d39,_0x43a301);let Ct=class extends _0x4447d4{constructor(_0xd985f7,_0x3c2832,_0x153af9){var _0x2bf6be=_0x3f33cb;super(),N(this,_0x2bf6be(0x35e),new _0x124502(null)),N(this,_0x2bf6be(0x209),this['_unitInfo$'][_0x2bf6be(0x350)]()),(this[_0x2bf6be(0x259)]=_0xd985f7,this[_0x2bf6be(0x137)]=_0x3c2832,this['_localCacheService']=_0x153af9);}async[_0x3f33cb(0x18a)](_0x38eaca,_0x423a4a,_0x54b6c9){var _0x12008e=_0x3f33cb;this[_0x12008e(0x35e)][_0x12008e(0x38f)]({'unitId':_0x38eaca,'type':_0x423a4a});let _0x22aa0c=null;switch(_0x423a4a){case Z[_0x12008e(0xce)]:{_0x22aa0c=await this[_0x12008e(0x137)][_0x12008e(0xa4)](_0x38eaca,_0x54b6c9);break;}case Z[_0x12008e(0x387)]:{_0x22aa0c=await this[_0x12008e(0x137)][_0x12008e(0x276)](_0x38eaca,_0x54b6c9);break;}default:{this[_0x12008e(0x259)]['error'](_0x12008e(0x157),_0x12008e(0xa1));break;}}return _0x22aa0c;}async[_0x3f33cb(0x39b)](_0x4ef4a5,_0x1b69ff,_0x4914cf){var _0xb2ee7a=_0x3f33cb,_0x21a203;this['_unitInfo$'][_0xb2ee7a(0x38f)]({'unitId':_0x4ef4a5,'type':_0x1b69ff,'subUnitId':_0x4914cf});let _0x52b732=0x0;const _0xac5021=await((_0x21a203=this[_0xb2ee7a(0x316)])==null?void 0x0:_0x21a203[_0xb2ee7a(0xec)](_0x4ef4a5));return _0xac5021&&(_0xac5021[_0xb2ee7a(0x330)]||_0xac5021[_0xb2ee7a(0x12d)]['length']!==0x0)&&(_0x52b732=_0xac5021[_0xb2ee7a(0x33a)]),_0x52b732===0x0&&this[_0xb2ee7a(0x259)][_0xb2ee7a(0x16c)](_0xb2ee7a(0x157),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x4ef4a5,_0x1b69ff,_0x52b732);}};Ct=Fn([vt(0x0,_0x575f9c),vt(0x1,_0x289be2(_0x19cd48)),vt(0x2,_0x3d442c(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x681011,_0x1eaa54,_0x205c0c,_0x3ce774)=>{var _0x58f1ae=_0x3f33cb;for(var _0x2aec06=_0x3ce774>0x1?void 0x0:_0x3ce774?Vn(_0x1eaa54,_0x205c0c):_0x1eaa54,_0x15a49b=_0x681011[_0x58f1ae(0x2f6)]-0x1,_0x3e8b70;_0x15a49b>=0x0;_0x15a49b--)(_0x3e8b70=_0x681011[_0x15a49b])&&(_0x2aec06=_0x3e8b70(_0x2aec06)||_0x2aec06);return _0x2aec06;},pt=(_0x8116ca,_0x1aa746)=>(_0x5f2f5c,_0x299042)=>_0x1aa746(_0x5f2f5c,_0x299042,_0x8116ca);const Gn=['image/png',_0x3f33cb(0x18f),_0x3f33cb(0x344),_0x3f33cb(0x306),_0x3f33cb(0x128)],Yn=0x5*0x400*0x400,Kn=_0x3f33cb(0x15a),qn=_0x3f33cb(0x367);let Rt=class{constructor(_0x25faa1,_0x813b1,_0x2cea80){var _0x2ab5f4=_0x3f33cb;N(this,_0x2ab5f4(0xbd),0x0),N(this,_0x2ab5f4(0x217),new _0x11e6d4()),N(this,_0x2ab5f4(0x2d8),this[_0x2ab5f4(0x217)]),N(this,'_imageSourceCache',new Map()),(this[_0x2ab5f4(0x141)]=_0x25faa1,this[_0x2ab5f4(0x27e)]=_0x813b1,this[_0x2ab5f4(0x198)]=_0x2cea80);}[_0x3f33cb(0x2e2)](_0x46bb9c){var _0x3b96df=_0x3f33cb;this[_0x3b96df(0xbd)]=_0x46bb9c,this[_0x3b96df(0x217)][_0x3b96df(0x38f)](_0x46bb9c);}[_0x3f33cb(0x31b)](_0x33c3c5,_0x2b96de){var _0x363f7a=_0x3f33cb;if(_0x2b96de===_0x4efb65[_0x363f7a(0x274)]){const _0x28b39c=new Image();return _0x28b39c[_0x363f7a(0x3a0)]=_0x33c3c5,_0x28b39c;}return this['_imageSourceCache'][_0x363f7a(0x34f)](_0x33c3c5);}[_0x3f33cb(0x1d5)](_0x46f2ee,_0x1a2a9c,_0x448745){var _0x14dac1=_0x3f33cb;_0x1a2a9c===_0x4efb65[_0x14dac1(0x274)]||_0x448745==null||this[_0x14dac1(0x30a)][_0x14dac1(0x1e9)](_0x46f2ee,_0x448745);}async[_0x3f33cb(0x2a2)](_0x3dd2c2){var _0x47526b=_0x3f33cb;try{const _0x3c4c13=this[_0x47526b(0x31d)](this[_0x47526b(0x2fa)](),''+_0x3dd2c2),_0x29b49e=(await this[_0x47526b(0x141)][_0x47526b(0x34f)](_0x3c4c13))[_0x47526b(0x237)];if(_0x29b49e[_0x47526b(0x288)]&&_0x29b49e[_0x47526b(0x288)][_0x47526b(0x36e)]===vi['OK']){const _0xee77a7=new URL(_0x29b49e[_0x47526b(0x236)],this[_0x47526b(0x318)]())[_0x47526b(0x178)]();return Promise[_0x47526b(0x2ea)](_0xee77a7);}return Promise[_0x47526b(0x15d)](_0x29b49e['error']);}catch(_0x397c01){return Promise[_0x47526b(0x15d)](_0x397c01);}}async[_0x3f33cb(0x1a2)](_0x1c2d8f){var _0x1f0f21=_0x3f33cb;let _0x2e2935='';if(!Gn[_0x1f0f21(0x1be)](_0x1c2d8f[_0x1f0f21(0x1c4)]))return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57[_0x1f0f21(0x2a8)]));if(_0x1c2d8f[_0x1f0f21(0x2a5)]>Yn)return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57[_0x1f0f21(0xb5)]));try{const _0x3e4527=new FormData();_0x3e4527['append'](_0x1f0f21(0x2c8),_0x1c2d8f);const _0x3c33b3=this[_0x1f0f21(0x198)][_0x1f0f21(0x9d)](),_0x533bb6=_0x3c33b3==null?void 0x0:_0x3c33b3[_0x1f0f21(0x324)]();if(!_0x533bb6)throw new Error(_0x1f0f21(0xfa));const _0x41790e=this['_getUploadFileURL']()+_0x1f0f21(0x1ba)+_0x1c2d8f[_0x1f0f21(0x2a5)][_0x1f0f21(0x178)]()+_0x1f0f21(0x2b5)+pi[_0x1f0f21(0x244)]+_0x1f0f21(0x280)+encodeURIComponent(_0x533bb6),_0x5217d3={'body':_0x3e4527},_0x4abcbf=(await this[_0x1f0f21(0x141)]['post'](_0x41790e,_0x5217d3))[_0x1f0f21(0x237)];if(typeof _0x4abcbf[_0x1f0f21(0x31f)]!=_0x1f0f21(0x31a))return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57['ERROR_IMAGE']));_0x2e2935=_0x4abcbf[_0x1f0f21(0x31f)];}catch{return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57[_0x1f0f21(0x2b7)]));}return new Promise((_0x9334a9,_0x233ab8)=>{var _0x19b4b4=_0x1f0f21;const _0x4f987f=new FileReader();_0x4f987f[_0x19b4b4(0x21a)](_0x1c2d8f),_0x4f987f['onload']=_0x5582ff=>{var _0x4712ce=_0x19b4b4,_0x3ff7fd;const _0x519c11=(_0x3ff7fd=_0x5582ff[_0x4712ce(0x1da)])==null?void 0x0:_0x3ff7fd[_0x4712ce(0x2bd)];if(_0x519c11==null){this['_decreaseWaiting'](),_0x233ab8(new Error(_0x578d57['ERROR_IMAGE']));return;}const _0x4cf343=_0x39a79d(0x6);_0x9334a9({'imageId':_0x4cf343,'imageSourceType':_0x4efb65['UUID'],'source':_0x2e2935,'base64Cache':_0x519c11,'status':_0x578d57[_0x4712ce(0x334)]}),this[_0x4712ce(0x1e1)]();};});}[_0x3f33cb(0x369)](){var _0x30b236=_0x3f33cb,_0xdcc69;const _0x97003c=this[_0x30b236(0x27e)][_0x30b236(0x1a4)](K);return(_0xdcc69=_0x97003c==null?void 0x0:_0x97003c[_0x30b236(0x17e)])!=null?_0xdcc69:Kn;}['_getSignURL'](){var _0x1b112b=_0x3f33cb,_0x557537;const _0x133ef6=this['_configService'][_0x1b112b(0x1a4)](K);return(_0x557537=_0x133ef6==null?void 0x0:_0x133ef6[_0x1b112b(0xb3)])!=null?_0x557537:qn;}['_getDownloadEndpointURL'](){var _0x3adb85=_0x3f33cb,_0x67f98b;const _0x5057db=this['_configService'][_0x3adb85(0x1a4)](K);return(_0x67f98b=_0x5057db==null?void 0x0:_0x5057db[_0x3adb85(0x270)])!=null?_0x67f98b:location[_0x3adb85(0x282)];}[_0x3f33cb(0x31d)](_0x2095ac,_0x15010f){var _0x306c11=_0x3f33cb;return _0x2095ac['replace'](_0x306c11(0x1de),_0x15010f);}[_0x3f33cb(0x1e1)](){var _0x547642=_0x3f33cb;this[_0x547642(0xbd)]-=0x1,this[_0x547642(0x217)]['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x289be2(_0x202828)),pt(0x1,_0x3594ab),pt(0x2,_0x289be2(_0x2366c1))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x478fff,_0x158fb,_0x5db416,_0x3e7959)=>{var _0x5d8142=_0x3f33cb;for(var _0x57949d=_0x3e7959>0x1?void 0x0:_0x3e7959?zn(_0x158fb,_0x5db416):_0x158fb,_0x7850ea=_0x478fff[_0x5d8142(0x2f6)]-0x1,_0x21f65c;_0x7850ea>=0x0;_0x7850ea--)(_0x21f65c=_0x478fff[_0x7850ea])&&(_0x57949d=_0x21f65c(_0x57949d)||_0x57949d);return _0x57949d;},ai=(_0x5680a2,_0x5d7510)=>(_0x166ec4,_0x2530e5)=>_0x5d7510(_0x166ec4,_0x2530e5,_0x5680a2);const Xn=_0x3f33cb(0x14a);let Ot=class{constructor(_0x4e5025,_0x5ad879){var _0x51aaea=_0x3f33cb;this[_0x51aaea(0x27e)]=_0x4e5025,this[_0x51aaea(0x16a)]=_0x5ad879;}[_0x3f33cb(0x218)](){var _0x467ed6=_0x3f33cb,_0x181894;const _0x4149fd=this[_0x467ed6(0x27e)][_0x467ed6(0x1a4)](K);return(_0x181894=_0x4149fd==null?void 0x0:_0x4149fd[_0x467ed6(0x1cb)])!=null?_0x181894:Xn;}async[_0x3f33cb(0x106)](_0x2e3c1f){var _0x1c4624=_0x3f33cb;const _0x412531=this[_0x1c4624(0x218)]()+_0x1c4624(0x1d1);return{'list':[{'title':_0x1c4624(0x25e),'mentions':(await this['_HTTPService']['get'](_0x412531,{'params':{'objectID':_0x2e3c1f[_0x1c4624(0x136)],'unitID':_0x2e3c1f[_0x1c4624(0x136)]}}))[_0x1c4624(0x237)][_0x1c4624(0x309)]['map'](_0x4bcaa0=>({'objectId':_0x4bcaa0['id'],'name':_0x4bcaa0[_0x1c4624(0x252)][_0x1c4624(0x1b8)],'metadata':{'icon':_0x4bcaa0[_0x1c4624(0x252)][_0x1c4624(0x17b)]},'label':_0x4bcaa0['subject'][_0x1c4624(0x1b8)],'objectType':_0xdc7560['PERSON']})),'metadata':{},'type':_0xdc7560[_0x1c4624(0x26e)]}]};}};Ot=Jn([ai(0x0,_0x289be2(_0x3594ab)),ai(0x1,_0x289be2(_0x202828))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x493144,_0x41a597,_0x24f45b,_0x86f12b)=>{for(var _0x34c6b9=_0x86f12b>0x1?void 0x0:_0x86f12b?Zn(_0x41a597,_0x24f45b):_0x41a597,_0x147492=_0x493144['length']-0x1,_0x7e335e;_0x147492>=0x0;_0x147492--)(_0x7e335e=_0x493144[_0x147492])&&(_0x34c6b9=_0x7e335e(_0x34c6b9)||_0x34c6b9);return _0x34c6b9;},Ue=(_0x570140,_0x51e401)=>(_0x31bf16,_0x28d499)=>_0x51e401(_0x31bf16,_0x28d499,_0x570140);let ot=class extends _0x4447d4{constructor(_0x20edbc,_0x30988e,_0x5198bb,_0x36be33,_0x5e984f){var _0x5a74b4=_0x3f33cb;super(),this[_0x5a74b4(0xee)]=_0x20edbc,this[_0x5a74b4(0x198)]=_0x30988e,this[_0x5a74b4(0x355)]=_0x5198bb,this[_0x5a74b4(0x124)]=_0x36be33,this[_0x5a74b4(0x28e)]=_0x5e984f,this[_0x5a74b4(0xcf)](),this[_0x5a74b4(0xd6)]();}[_0x3f33cb(0xd6)](){var _0x129313=_0x3f33cb;const _0x4ba744=async _0xb8df9=>{var _0x4cc698=_0x2cdc;(await this['_collaborationSessionService'][_0x4cc698(0x215)](_0xb8df9))['event$'][_0x4cc698(0x2b6)](_0x27f22b(_0x46c43d=>_0x46c43d['eventID']===_0x7f38ce['SHOULD_CLOSE_CONN']),_0x314b69(this[_0x4cc698(0x2c0)]))[_0x4cc698(0xd2)](_0x2c9d33=>{var _0x3201ae=_0x4cc698;const _0x19eefb=_0x2c9d33,{reason:_0x48051b}=_0x19eefb[_0x3201ae(0x38e)];this[_0x3201ae(0x28e)][_0x3201ae(0xa0)]({'id':ne[_0x3201ae(0x2ac)],'data':_0x48051b}),this[_0x3201ae(0x355)][_0x3201ae(0x347)](new _0x158a74(_0xb8df9)['id'],!0x1),this[_0x3201ae(0x124)][_0x3201ae(0x378)](_0xb8df9);});};_0x3f4b1e(this['_univerInstanceService'][_0x129313(0x2e0)](_0x26aafa[_0x129313(0xce)]),this[_0x129313(0x198)][_0x129313(0x2e0)](_0x26aafa[_0x129313(0x387)]))[_0x129313(0x2b6)](_0x55fc2c(_0xc52b6a=>_0xc52b6a[_0x129313(0x324)]()),_0x27f22b(_0x61c05d=>!_0x5ad6a7(_0x61c05d)),_0x314b69(this[_0x129313(0x2c0)]))['subscribe'](_0x50d713=>{_0x4ba744(_0x50d713);});}[_0x3f33cb(0xcf)](){var _0x453dbe=_0x3f33cb;const _0x2b100f=async _0x1451d5=>{var _0x35bf60=_0x2cdc;const _0x15731d=await this[_0x35bf60(0x124)]['requireSession'](_0x1451d5),_0x28e3bc=this[_0x35bf60(0xee)][_0x35bf60(0x34f)](_0x4c96f0);_0x15731d[_0x35bf60(0x173)][_0x35bf60(0x2b6)](_0x27f22b(_0x6224a=>_0x6224a['eventID']===_0x7f38ce[_0x35bf60(0x332)]),_0x314b69(this[_0x35bf60(0x2c0)]))[_0x35bf60(0xd2)](_0x4d9251=>{var _0x521386=_0x35bf60;const _0x3ca150=_0x4d9251,{objectId:_0x3509ce}=_0x3ca150[_0x521386(0x38e)];_0x3509ce===_0x1451d5?_0x28e3bc[_0x521386(0x140)](_0x1451d5):_0x28e3bc['refreshPermission'](_0x1451d5,_0x3509ce);});};_0x3f4b1e(this[_0x453dbe(0x198)][_0x453dbe(0x2e0)](_0x26aafa[_0x453dbe(0xce)]))[_0x453dbe(0x2b6)](_0x55fc2c(_0x5e0a5d=>_0x5e0a5d[_0x453dbe(0x324)]()),_0x27f22b(_0x13f1c2=>!_0x5ad6a7(_0x13f1c2)),_0x314b69(this[_0x453dbe(0x2c0)]))[_0x453dbe(0xd2)](_0x57ca37=>{_0x2b100f(_0x57ca37);});}};ot=Qn([Ue(0x0,_0x289be2(_0x20dc98)),Ue(0x1,_0x2366c1),Ue(0x2,_0x1a3b09),Ue(0x3,_0x289be2(Pe)),Ue(0x4,_0x289be2(ve))],ot);var er=Object[_0x3f33cb(0x296)],tr=(_0x43c174,_0x261a13,_0x4c3eb2,_0x4fade7)=>{var _0x169eed=_0x3f33cb;for(var _0x4dc68b=_0x4fade7>0x1?void 0x0:_0x4fade7?er(_0x261a13,_0x4c3eb2):_0x261a13,_0x47c557=_0x43c174[_0x169eed(0x2f6)]-0x1,_0x3662b0;_0x47c557>=0x0;_0x47c557--)(_0x3662b0=_0x43c174[_0x47c557])&&(_0x4dc68b=_0x3662b0(_0x4dc68b)||_0x4dc68b);return _0x4dc68b;},oi=(_0x57e96e,_0x1e0d45)=>(_0x1c4a7a,_0x364ed3)=>_0x1e0d45(_0x1c4a7a,_0x364ed3,_0x57e96e);let bt=class{constructor(_0x38cc4c,_0x2fbadf){var _0x57eb56=_0x3f33cb;this['_configService']=_0x38cc4c,this[_0x57eb56(0x141)]=_0x2fbadf;}async['getUnitOnRev'](_0x512cbf,_0x3f0378){var _0x5139d8=_0x3f33cb,_0x56f23f;const {unitID:_0x5472c7,type:_0x3bd798,revision:_0x39514b=0x0}=_0x3f0378,_0x43fd3a=this['getSnapshotAPIPath']()+'/'+_0x3bd798+_0x5139d8(0x144)+_0x5472c7+_0x5139d8(0x9a)+_0x39514b,_0x5544e0=(await this[_0x5139d8(0x141)][_0x5139d8(0x34f)](_0x43fd3a))[_0x5139d8(0x237)],_0x11ec7d=(_0x56f23f=_0x5544e0[_0x5139d8(0x15f)])==null?void 0x0:_0x56f23f['workbook'];if(_0x11ec7d){const _0x1a6a44=_0x11ec7d==null?void 0x0:_0x11ec7d[_0x5139d8(0x36d)],_0x28ac33=_0x4925e3[_0x5139d8(0x25a)](_0x5d4d0d(_0x1a6a44));_0x11ec7d['originalMeta']=_0x28ac33,Object['entries'](_0x11ec7d[_0x5139d8(0x2ff)])[_0x5139d8(0x386)](([,_0x405410])=>{var _0x598bf2=_0x5139d8;const _0x4be670=_0x405410[_0x598bf2(0x36d)],_0x3e0587=_0x4925e3['encode'](_0x5d4d0d(_0x4be670));_0x405410[_0x598bf2(0x36d)]=_0x3e0587;});}return _0x5544e0;}async[_0x3f33cb(0x357)](_0x59635d,_0x5b4cfd){var _0x36bf30=_0x3f33cb;const {unitID:_0xc87145,type:_0x43c0e9,blockID:_0x1bb54a}=_0x5b4cfd,_0x4d5093=this[_0x36bf30(0x251)]()+'/'+_0x43c0e9+'/unit/'+_0xc87145+'/block/'+_0x1bb54a;return(await this[_0x36bf30(0x141)][_0x36bf30(0x34f)](_0x4d5093))[_0x36bf30(0x237)];}async[_0x3f33cb(0x338)](_0x54a728,_0x7189cd){var _0x528adb=_0x3f33cb;const {unitID:_0x33103b,type:_0x1a53c3,blockID:_0x4111c3}=_0x7189cd,_0xb9703a=this[_0x528adb(0x251)]()+_0x528adb(0x25b)+_0x1a53c3+'/unit/'+_0x33103b+_0x528adb(0x25b)+_0x4111c3;return(await this[_0x528adb(0x141)][_0x528adb(0x34f)](_0xb9703a))[_0x528adb(0x237)];}async[_0x3f33cb(0x264)](_0x5614e7,_0x30ccef){var _0x6c1965=_0x3f33cb;const {unitID:_0x13b93c,type:_0x1b33b1,from:_0x4de5c9,to:_0x577426}=_0x30ccef,_0x87ae69=this[_0x6c1965(0x251)]()+'/'+_0x1b33b1+_0x6c1965(0x144)+_0x13b93c+_0x6c1965(0x1c0)+_0x4de5c9+_0x6c1965(0xe3)+_0x577426;return(await this[_0x6c1965(0x141)]['get'](_0x87ae69))[_0x6c1965(0x237)];}[_0x3f33cb(0x31c)](){var _0x304350=_0x3f33cb,_0x31835b;return(_0x31835b=this[_0x304350(0x27e)]['getConfig'](vs))!=null?_0x31835b:this[_0x304350(0x251)]();}[_0x3f33cb(0x251)](){var _0x3ad8f3=_0x3f33cb,_0x460770;const _0x50ae3a=this['_configService']['getConfig'](K);return(_0x460770=_0x50ae3a==null?void 0x0:_0x50ae3a[_0x3ad8f3(0x2b2)])!=null?_0x460770:fs;}async['getResourcesRequest'](_0x1b50f8,_0x396203){var _0x2a329c=_0x3f33cb;const _0x481c84=_0x2a329c(0x207)+_0x396203[_0x2a329c(0x1c4)]+_0x2a329c(0x144)+_0x396203[_0x2a329c(0x27f)]+_0x2a329c(0x365);return(await this['_httpService'][_0x2a329c(0x34f)](_0x481c84,{'params':{'resourceId':JSON[_0x2a329c(0x1df)](_0x396203[_0x2a329c(0x1ab)])}}))[_0x2a329c(0x237)];}[_0x3f33cb(0x255)](){var _0x3f04bb=_0x3f33cb;throw new Error(_0x3f04bb(0x196));}[_0x3f33cb(0x30e)](){var _0x2e7941=_0x3f33cb;throw new Error(_0x2e7941(0x196));}[_0x3f33cb(0x291)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f33cb(0x163)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f33cb(0xc9)](){var _0x34dc6f=_0x3f33cb;throw new Error(_0x34dc6f(0x196));}[_0x3f33cb(0x1c1)](){var _0x2f4114=_0x3f33cb;throw new Error(_0x2f4114(0x196));}};bt=tr([oi(0x0,_0x3594ab),oi(0x1,_0x289be2(_0x202828))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x4f71be,_0x2a29c1,_0x5a9e61,_0x188a6a)=>{var _0x29ee2d=_0x3f33cb;for(var _0x4a5c8c=_0x188a6a>0x1?void 0x0:_0x188a6a?ir(_0x2a29c1,_0x5a9e61):_0x2a29c1,_0x258cd5=_0x4f71be[_0x29ee2d(0x2f6)]-0x1,_0x22023a;_0x258cd5>=0x0;_0x258cd5--)(_0x22023a=_0x4f71be[_0x258cd5])&&(_0x4a5c8c=_0x22023a(_0x4a5c8c)||_0x4a5c8c);return _0x4a5c8c;},Ae=(_0x218c9b,_0x491cef)=>(_0x367704,_0x24ed78)=>_0x491cef(_0x367704,_0x24ed78,_0x218c9b);let yt=class extends _0x4a4674{constructor(_0x264dfa,_0x4264d6,_0x53071a,_0xdd4796,_0x7544c3){var _0x3c0917=_0x3f33cb;super(_0x264dfa,_0x4264d6,_0x53071a),this[_0x3c0917(0x21e)]=_0xdd4796,this[_0x3c0917(0x259)]=_0x7544c3;}[_0x3f33cb(0xa9)](_0x3eda85,_0x51b844){var _0x521e0d=_0x3f33cb;const _0x489e6d=this['_getUndoStack'](_0x3eda85);if(_0x489e6d)try{const _0x3a247d=this['_transformStack'](_0x489e6d,_0x51b844);this['_substituteUndoStack'](_0x3eda85,_0x3a247d);}catch(_0x27f577){this[_0x521e0d(0x259)]['error'](_0x521e0d(0x16e),_0x27f577),this[_0x521e0d(0x1c6)](_0x3eda85);}const _0x4d019=this[_0x521e0d(0x349)](_0x3eda85);if(_0x4d019)try{const _0x31ab24=this[_0x521e0d(0x12a)](_0x4d019,_0x51b844);this['_substituteRedoStack'](_0x3eda85,_0x31ab24);}catch(_0x170f58){this[_0x521e0d(0x259)][_0x521e0d(0x288)](_0x170f58),this[_0x521e0d(0x2ad)](_0x3eda85);}}[_0x3f33cb(0x1c6)](_0x131006){var _0x12212c=_0x3f33cb;const _0x53f708=this[_0x12212c(0x300)](_0x131006);_0x53f708&&(_0x53f708[_0x12212c(0x2f6)]=0x0,this['_updateStatus']());}[_0x3f33cb(0x2ad)](_0x15a65e){var _0xee5243=_0x3f33cb;const _0x2afacc=this[_0xee5243(0x349)](_0x15a65e);_0x2afacc&&(_0x2afacc[_0xee5243(0x2f6)]=0x0,this[_0xee5243(0x226)]());}[_0x3f33cb(0x9f)](_0x294d9e,_0x565264){this['_undoStacks']['set'](_0x294d9e,_0x565264),this['_updateStatus']();}[_0x3f33cb(0xc1)](_0x499465,_0x539536){var _0x1b6d6a=_0x3f33cb;this[_0x1b6d6a(0x1e5)][_0x1b6d6a(0x1e9)](_0x499465,_0x539536),this[_0x1b6d6a(0x226)]();}['_transformStack'](_0x5b8f42,_0x83668e){var _0x42c436=_0x3f33cb;const _0x2c7069=[];let _0x27e2bf=_0x83668e,_0x2ae962=_0x83668e;for(let _0x12aade=_0x5b8f42[_0x42c436(0x2f6)]-0x1;_0x12aade>=0x0;_0x12aade--){const {unitID:_0x221f8d,undoMutations:_0xce9f07,redoMutations:_0x238a0e}=_0x5b8f42[_0x12aade],_0x428b8e=this[_0x42c436(0x21e)][_0x42c436(0x1b5)](_0x27e2bf,_0xce9f07),_0x17e06c=this[_0x42c436(0x21e)]['transformMutationsWithChangeset'](_0x2ae962,_0x238a0e);if(_0x18adc8(_0x428b8e)||_0x18adc8(_0x17e06c)){this[_0x42c436(0x259)]['error'](_0x42c436(0x16e),_0x42c436(0x16b),_0x428b8e,_0x17e06c);break;}_0x27e2bf=_0x428b8e[_0x42c436(0x361)],_0x2ae962=_0x17e06c['c1Prime'],_0x2c7069['push']({'unitID':_0x221f8d,'undoMutations':_0x428b8e[_0x42c436(0x340)],'redoMutations':_0x17e06c[_0x42c436(0x340)]});}return _0x2c7069[_0x42c436(0xb8)]();}};yt=sr([Ae(0x0,_0x2366c1),Ae(0x1,_0x587c6c),Ae(0x2,_0x3a1521),Ae(0x3,_0x206be0),Ae(0x4,_0x575f9c)],yt);var nr=Object[_0x3f33cb(0x1b4)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x3e0e4f,_0x484861,_0x41dd90)=>_0x484861 in _0x3e0e4f?nr(_0x3e0e4f,_0x484861,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41dd90}):_0x3e0e4f[_0x484861]=_0x41dd90,or=(_0x217448,_0x5662e7,_0xe1866b,_0x57ce17)=>{var _0x141fe4=_0x3f33cb;for(var _0x409094=_0x57ce17>0x1?void 0x0:_0x57ce17?rr(_0x5662e7,_0xe1866b):_0x5662e7,_0x2bdc5e=_0x217448[_0x141fe4(0x2f6)]-0x1,_0x3b3cd6;_0x2bdc5e>=0x0;_0x2bdc5e--)(_0x3b3cd6=_0x217448[_0x2bdc5e])&&(_0x409094=_0x3b3cd6(_0x409094)||_0x409094);return _0x409094;},mt=(_0x3d540a,_0x5d4e7d)=>(_0x4c07bb,_0xfabebd)=>_0x5d4e7d(_0x4c07bb,_0xfabebd,_0x3d540a),cr=(_0x4ce4b7,_0x468c80,_0x230573)=>ar(_0x4ce4b7,_0x468c80+'',_0x230573);const hr=_0x3f33cb(0x2c9);let Nt=class extends _0xa33e9b{constructor(_0x5f1a35,_0x3fa6e4,_0x4f8d9d,_0x5df08f){var _0xa001bb=_0x3f33cb;super(),N(this,_0xa001bb(0x148)),(this[_0xa001bb(0x259)]=_0x3fa6e4,this['_injector']=_0x4f8d9d,this[_0xa001bb(0x27e)]=_0x5df08f);const {..._0x175293}=_0x1cbe41({},Os,_0x5f1a35);if(!_0x175293[_0xa001bb(0x2cf)])throw new Error(_0xa001bb(0x22a));this['_config']=_0x175293,this[_0xa001bb(0x27e)][_0xa001bb(0x213)](K,_0x175293);}[_0x3f33cb(0x235)](){var _0x132af5=_0x3f33cb;this[_0x132af5(0x161)](),this[_0x132af5(0x219)]();}[_0x3f33cb(0x161)](){var _0xe3fbe9=_0x3f33cb,_0x165a5f,_0x16deec;this[_0xe3fbe9(0xee)][_0xe3fbe9(0x2d5)](_0x1f5600)&&this['_logService'][_0xe3fbe9(0x288)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3acbba=_0x3e21f6([[_0x1f5600,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0xe3fbe9(0x148)][_0xe3fbe9(0x2cf)]}],[_0x56f565,{'useClass':bt}],[_0x4ecd2c,{'useClass':Tt}],[_0x5c02e2,{'useClass':Rt}],[_0x1196e0,{'useClass':Ot}],[nt],[It]],(_0x165a5f=this[_0xe3fbe9(0x148)])==null?void 0x0:_0x165a5f[_0xe3fbe9(0xd1)]);if(!((_0x16deec=this[_0xe3fbe9(0x148)])!=null&&_0x16deec[_0xe3fbe9(0x14c)])){const _0x13de9a=_0x3acbba['findIndex'](([_0x3ea420])=>_0x3ea420===ht);_0x13de9a!==-0x1&&_0x3acbba['splice'](_0x13de9a,0x1);}_0x1086a2(this[_0xe3fbe9(0xee)],_0x3acbba);}[_0x3f33cb(0x219)](){var _0x352df0=_0x3f33cb,_0x15f83c,_0x1dc3d9,_0x2f2f4c;this[_0x352df0(0xee)][_0x352df0(0x34f)](_0x202828)[_0x352df0(0x381)]({'priority':0x14,'interceptor':_0x31cf31({'maxParallel':0x6})}),(_0x15f83c=this[_0x352df0(0x148)])!=null&&_0x15f83c['enableOfflineEditing']||(_0x1dc3d9=this[_0x352df0(0xee)][_0x352df0(0x34f)](J,_0x2a7a98[_0x352df0(0x177)]))==null||_0x1dc3d9['disableLocalCache'](),(_0x2f2f4c=this[_0x352df0(0x148)])!=null&&_0x2f2f4c[_0x352df0(0x26c)]&&_0xcecd63(this[_0x352df0(0xee)],[[rt]]),_0xcecd63(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,_0x3f33cb(0x2bb),hr),Nt=or([_0x1cf966(_0x30f392,_0x17a102),mt(0x1,_0x575f9c),mt(0x2,_0x289be2(_0x20dc98)),mt(0x3,_0x3594ab)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
|