@univerjs-pro/collaboration-client 0.10.11 → 0.10.12-nightly.202510221114
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 +11 -11
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x1970a9=_0x35ab;(function(_0x3810db,_0x4452de){var _0x4f0b77=_0x35ab,_0xfe3ff2=_0x3810db();while(!![]){try{var _0x564110=-parseInt(_0x4f0b77(0x283))/0x1*(-parseInt(_0x4f0b77(0x448))/0x2)+-parseInt(_0x4f0b77(0x193))/0x3*(-parseInt(_0x4f0b77(0x40f))/0x4)+-parseInt(_0x4f0b77(0x3b4))/0x5*(parseInt(_0x4f0b77(0x42f))/0x6)+-parseInt(_0x4f0b77(0x1fe))/0x7+parseInt(_0x4f0b77(0x22b))/0x8+parseInt(_0x4f0b77(0x1f0))/0x9+-parseInt(_0x4f0b77(0x454))/0xa;if(_0x564110===_0x4452de)break;else _0xfe3ff2['push'](_0xfe3ff2['shift']());}catch(_0x22ad79){_0xfe3ff2['push'](_0xfe3ff2['shift']());}}}(_0x39cf,0xce317));var bi=Object[_0x1970a9(0x3ed)],Di=(_0x22959d,_0x428508,_0x3b0348)=>_0x428508 in _0x22959d?bi(_0x22959d,_0x428508,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b0348}):_0x22959d[_0x428508]=_0x3b0348,D=(_0x176bcb,_0x3c35ad,_0x1160a7)=>Di(_0x176bcb,typeof _0x3c35ad!='symbol'?_0x3c35ad+'':_0x3c35ad,_0x1160a7);import{CollaborationEvent as _0x274cb2,ITransformService as _0x1f95db,isTransformMutationsWithChangesetSuccess as _0x5cc134,mapDocumentTypeToUniverType as _0x278b84,RevisionService as _0x54f50d,isTransformChangesetsSuccess as _0x24d7db,CompressMutationService as _0x19f875,parseProtocolChangeset as _0x36f6cc,uuidv4 as _0x48a14e,ISnapshotServerService as _0x4c2e80,parseChangesetToProtocol as _0x1edcfd,SnapshotService as _0x2e8d63,textEncoder as _0xfdba58,b64DecodeUnicode as _0x108a5b,isTransformMutationsWithChangesetFailure as _0x43d70f,UniverCollaborationPlugin as _0x49b531}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xe0db57,Inject as _0x253c3d,UserManagerService as _0x132f5c,Disposable as _0x14f4a8,UniverInstanceType as _0x3de6eb,ILogService as _0x41ff63,IConfigService as _0x4a008f,Optional as _0x36e38f,RxDisposable as _0x3dd074,createIdentifier as _0x2ffbe9,Injector as _0x9d7216,Tools as _0x3fe39d,Rectangle as _0xd93da,ICommandService as _0x2fde4d,JSONX as _0x56ce5b,CommandType as _0x384b46,IUndoRedoService as _0x5b65e3,IPermissionService as _0x4a0dfc,LocaleService as _0x1de809,sequenceExecute as _0x118b15,toDisposable as _0x19f54d,DisposableCollection as _0x2f5548,Workbook as _0x1bbd6e,generateRandomId as _0x4590a2,MentionType as _0x41dc11,isInternalEditorID as _0x369838,LocalUndoRedoService as _0x4abd47,IContextService as _0x23dd4f,DependentOn as _0x3a0f8e,Plugin as _0x39de00,merge as _0x32dbed,mergeOverrideWithDependencies as _0x2b78e4,IAuthzIoService as _0x2e6301,IMentionIOService as _0x5e3df7,registerDependencies as _0xc1daf3,Quantity as _0x256ea3,touchDependencies as _0x5cbcc9}from'@univerjs/core';import{RichTextEditingMutation as _0x3925f7}from'@univerjs/docs';import{SheetsSelectionsService as _0x15a0de,SetSelectionsOperation as _0x3964b0,InsertSheetMutation as _0xc6c030,EmptyMutation as _0x1f2acc,WorkbookEditablePermission as _0x50fba4,SheetPermissionInitController as _0x3f2d8f}from'@univerjs/sheets';import{Subject as _0x5c9b29,merge as _0x3c68f6,of as _0x4deaa7,BehaviorSubject as _0x3e8a63,takeUntil as _0x3b37d2,ReplaySubject as _0x586912,take as _0x4f52fd,map as _0x2d041f,shareReplay as _0x280f7e,firstValueFrom as _0x3d2cb0,concatMap as _0x1b3246}from'rxjs';import{ITelemetryService as _0x332aa7}from'@univerjs/telemetry';import{map as _0x54e938,take as _0x40c456,filter as _0xed575f,delay as _0x4313f6,takeUntil as _0x268a47}from'rxjs/operators';import{HTTPService as _0x2ab676,ISocketService as _0x2b260f,MergeInterceptorFactory as _0x12c28b,HTTPRequest as _0x4ba868,UniverNetworkPlugin as _0x3cb9ed,ThresholdInterceptorFactory as _0xc851f2}from'@univerjs/network';import{ImageSourceType as _0x53befb,ImageUploadStatusType as _0x1dc5a,IImageIoService as _0x198a92}from'@univerjs/drawing';import{getGlobalObject as _0x4717bc}from'@univerjs-pro/license';const fs=_0x1970a9(0x462),vs=_0x1970a9(0x433),ps=0x7d0,Es=_0x1970a9(0x183),gr=_0x1970a9(0x469),ms=_0x1970a9(0x3d3),Is=0x7530,di=_0x1970a9(0x1bd),fi=0x4e20,Ss=0x4e20,gs=_0x1970a9(0x264),Ts=0x3,Tr=_0x1970a9(0x2f3),Or=0x3e8,Os=_0x1970a9(0x357),Rs=_0x1970a9(0x237),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Cr=_0x1970a9(0x195);var vi=(_0x3e41ad=>(_0x3e41ad[_0x3e41ad[_0x1970a9(0x278)]=0x0]=_0x1970a9(0x278),_0x3e41ad[_0x3e41ad['OK']=0x1]='OK',_0x3e41ad[_0x3e41ad[_0x1970a9(0x342)]=0x2]=_0x1970a9(0x342),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1b3)]=0x3]=_0x1970a9(0x1b3),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1f1)]=0x4]='NOT_FOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x397)]=0x5]='UNAUTHENTICATED',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1f5)]=0x6]=_0x1970a9(0x1f5),_0x3e41ad[_0x3e41ad[_0x1970a9(0x442)]=0x7]='INVALID_ARGUMENT',_0x3e41ad[_0x3e41ad[_0x1970a9(0x20d)]=0x8]=_0x1970a9(0x20d),_0x3e41ad[_0x3e41ad[_0x1970a9(0x2b3)]=0x9]=_0x1970a9(0x2b3),_0x3e41ad[_0x3e41ad[_0x1970a9(0x308)]=0xa]=_0x1970a9(0x308),_0x3e41ad[_0x3e41ad['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1970a9(0x218),_0x3e41ad[_0x3e41ad[_0x1970a9(0x2ca)]=0xc]=_0x1970a9(0x2ca),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1c4)]=0xd]=_0x1970a9(0x1c4),_0x3e41ad[_0x3e41ad[_0x1970a9(0x41e)]=0xe]=_0x1970a9(0x41e),_0x3e41ad[_0x3e41ad['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x1970a9(0x44f),_0x3e41ad[_0x3e41ad['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1970a9(0x260),_0x3e41ad[_0x3e41ad[_0x1970a9(0x361)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1ae)]=0x65]=_0x1970a9(0x1ae),_0x3e41ad[_0x3e41ad[_0x1970a9(0x396)]=0xc9]=_0x1970a9(0x396),_0x3e41ad[_0x3e41ad[_0x1970a9(0x33a)]=0xca]=_0x1970a9(0x33a),_0x3e41ad[_0x3e41ad['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1970a9(0x362),_0x3e41ad[_0x3e41ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3e41ad[_0x3e41ad[_0x1970a9(0x28a)]=0x1772]=_0x1970a9(0x28a),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3f6)]=0x1773]=_0x1970a9(0x3f6),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3d6)]=0x1b59]=_0x1970a9(0x3d6),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3f3)]=0x1b5a]=_0x1970a9(0x3f3),_0x3e41ad[_0x3e41ad[_0x1970a9(0x30f)]=0x1b5b]=_0x1970a9(0x30f),_0x3e41ad[_0x3e41ad[_0x1970a9(0x236)]=0x1b5c]=_0x1970a9(0x236),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3eb)]=0x1b5d]='APPLY_DUPLICATED',_0x3e41ad[_0x3e41ad['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1970a9(0x450),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3ff)]=0x2329]=_0x1970a9(0x3ff),_0x3e41ad[_0x3e41ad[_0x1970a9(0x38a)]=0x232a]=_0x1970a9(0x38a),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3c2)]=0x232b]=_0x1970a9(0x3c2),_0x3e41ad[_0x3e41ad[_0x1970a9(0x45a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3e41ad[_0x3e41ad[_0x1970a9(0x452)]=0x232d]=_0x1970a9(0x452),_0x3e41ad[_0x3e41ad['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1fc)]=0x2712]=_0x1970a9(0x1fc),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3a7)]=0x2713]=_0x1970a9(0x3a7),_0x3e41ad[_0x3e41ad[_0x1970a9(0x43e)]=0x2714]=_0x1970a9(0x43e),_0x3e41ad[_0x3e41ad['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1970a9(0x2f0),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1e9)]=0x271b]=_0x1970a9(0x1e9),_0x3e41ad[_0x3e41ad[_0x1970a9(0x266)]=0x271c]=_0x1970a9(0x266),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3c8)]=0x271d]=_0x1970a9(0x3c8),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1b2)]=0x271e]=_0x1970a9(0x1b2),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3e1)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3e41ad[_0x3e41ad[_0x1970a9(0x426)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x267)]=0x2af9]=_0x1970a9(0x267),_0x3e41ad[_0x3e41ad[_0x1970a9(0x413)]=0x2ee1]=_0x1970a9(0x413),_0x3e41ad[_0x3e41ad[_0x1970a9(0x30c)]=0x2ee2]='INVALID_INVITE_CODE',_0x3e41ad[_0x3e41ad['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1970a9(0x3d9),_0x3e41ad[_0x3e41ad[_0x1970a9(0x471)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3e41ad[_0x3e41ad[_0x1970a9(0x3a4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1c1)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x271)]=0x32ca]=_0x1970a9(0x271),_0x3e41ad[_0x3e41ad['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1970a9(0x290),_0x3e41ad[_0x3e41ad[_0x1970a9(0x34f)]=0x36b1]=_0x1970a9(0x34f),_0x3e41ad[_0x3e41ad[_0x1970a9(0x22f)]=0x36b2]=_0x1970a9(0x22f),_0x3e41ad[_0x3e41ad[_0x1970a9(0x375)]=0x36b3]=_0x1970a9(0x375),_0x3e41ad[_0x3e41ad[_0x1970a9(0x28d)]=0x36b4]=_0x1970a9(0x28d),_0x3e41ad[_0x3e41ad[_0x1970a9(0x269)]=0x3715]=_0x1970a9(0x269),_0x3e41ad[_0x3e41ad[_0x1970a9(0x2a6)]=0x3716]=_0x1970a9(0x2a6),_0x3e41ad[_0x3e41ad['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1970a9(0x26a),_0x3e41ad[_0x3e41ad['REDEMPTION_INVALID_CODE']=0x3a99]=_0x1970a9(0x3ee),_0x3e41ad[_0x3e41ad[_0x1970a9(0x167)]=0x3a9a]=_0x1970a9(0x167),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1ec)]=0x3a9b]=_0x1970a9(0x1ec),_0x3e41ad[_0x3e41ad[_0x1970a9(0x26e)]=0x3a9c]=_0x1970a9(0x26e),_0x3e41ad[_0x3e41ad['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1970a9(0x210),_0x3e41ad[_0x3e41ad['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1970a9(0x204),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3cf)]=0x3a9f]=_0x1970a9(0x3cf),_0x3e41ad[_0x3e41ad[_0x1970a9(0x437)]=-0x1]='UNRECOGNIZED',_0x3e41ad))(vi||{}),Q=(_0x1a9d6b=>(_0x1a9d6b[_0x1a9d6b['UNIVER_UNKNOWN']=0x0]=_0x1970a9(0x1f3),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x466)]=0x1]=_0x1970a9(0x466),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x441)]=0x2]=_0x1970a9(0x441),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x2a4)]=0x3]='UNIVER_SLIDE',_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x3fd)]=0x4]=_0x1970a9(0x3fd),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x437)]=-0x1]=_0x1970a9(0x437),_0x1a9d6b))(Q||{}),F=(_0x17cd72=>(_0x17cd72[_0x17cd72[_0x1970a9(0x23c)]=0x0]=_0x1970a9(0x23c),_0x17cd72[_0x17cd72[_0x1970a9(0x381)]=0x1]=_0x1970a9(0x381),_0x17cd72[_0x17cd72[_0x1970a9(0x2b6)]=0x2]=_0x1970a9(0x2b6),_0x17cd72[_0x17cd72['LEAVE']=0x3]=_0x1970a9(0x229),_0x17cd72[_0x17cd72[_0x1970a9(0x33c)]=0x4]=_0x1970a9(0x33c),_0x17cd72[_0x17cd72[_0x1970a9(0x238)]=0x5]=_0x1970a9(0x238),_0x17cd72[_0x17cd72['RECV']=0x6]=_0x1970a9(0x376),_0x17cd72[_0x17cd72[_0x1970a9(0x437)]=-0x1]=_0x1970a9(0x437),_0x17cd72))(F||{}),pe=(_0x4211b8=>(_0x4211b8[_0x4211b8[_0x1970a9(0x302)]=0x0]='UNKNOWN_CODE',_0x4211b8[_0x4211b8['OK']=0x1]='OK',_0x4211b8[_0x4211b8['FAIL']=0x2]=_0x1970a9(0x1ca),_0x4211b8[_0x4211b8[_0x1970a9(0x367)]=0x3e9]=_0x1970a9(0x367),_0x4211b8[_0x4211b8[_0x1970a9(0x282)]=0x3ea]=_0x1970a9(0x282),_0x4211b8[_0x4211b8[_0x1970a9(0x1b1)]=0x3eb]=_0x1970a9(0x1b1),_0x4211b8[_0x4211b8[_0x1970a9(0x232)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4211b8[_0x4211b8[_0x1970a9(0x437)]=-0x1]=_0x1970a9(0x437),_0x4211b8))(pe||{}),pi=(_0x2ef33c=>(_0x2ef33c[_0x2ef33c[_0x1970a9(0x355)]=0x0]=_0x1970a9(0x355),_0x2ef33c[_0x2ef33c[_0x1970a9(0x256)]=0x1]=_0x1970a9(0x256),_0x2ef33c[_0x2ef33c[_0x1970a9(0x163)]=0x2]=_0x1970a9(0x163),_0x2ef33c[_0x2ef33c[_0x1970a9(0x2a0)]=0x3]='UnitEmbedded',_0x2ef33c[_0x2ef33c[_0x1970a9(0x1df)]=0x4]='UnitSnapshot',_0x2ef33c[_0x2ef33c[_0x1970a9(0x391)]=0x5]='UserProfileImg',_0x2ef33c[_0x2ef33c[_0x1970a9(0x2ff)]=0x6]=_0x1970a9(0x2ff),_0x2ef33c[_0x2ef33c[_0x1970a9(0x437)]=-0x1]='UNRECOGNIZED',_0x2ef33c))(pi||{});const Cs=_0x1970a9(0x3a3);function Ns(_0x12104b){var _0x3ba7bb=_0x1970a9;return JSON[_0x3ba7bb(0x1af)](_0x12104b)['length'];}var re=(_0x59fa6a=>(_0x59fa6a[_0x1970a9(0x39c)]='OTHER_CLIENT_EDITING',_0x59fa6a[_0x1970a9(0x1b3)]=_0x1970a9(0x1b3),_0x59fa6a[_0x1970a9(0x457)]=_0x1970a9(0x457),_0x59fa6a[_0x1970a9(0x41c)]=_0x1970a9(0x41c),_0x59fa6a[_0x1970a9(0x176)]=_0x1970a9(0x176),_0x59fa6a['SOCKET_FAILED_RETRY']=_0x1970a9(0x28b),_0x59fa6a['SOCKET_FAILED']=_0x1970a9(0x231),_0x59fa6a[_0x1970a9(0x206)]='SUBMIT_CHANGESET_TIMEOUT',_0x59fa6a))(re||{});class ve{constructor(){var _0x41faab=_0x1970a9;D(this,'_event$',new _0x5c9b29()),D(this,_0x41faab(0x2b5),this[_0x41faab(0x3f7)]['asObservable']());}[_0x1970a9(0x1f7)](_0x3540b5){var _0x56601f=_0x1970a9;this[_0x56601f(0x3f7)][_0x56601f(0x28f)](_0x3540b5);}}class Ei{constructor(){var _0x1a5ed2=_0x1970a9;D(this,_0x1a5ed2(0x25d),new _0x5c9b29()),D(this,_0x1a5ed2(0x244),this[_0x1a5ed2(0x25d)][_0x1a5ed2(0x173)]());}[_0x1970a9(0x28c)](_0x548b27){var _0x1aaee1=_0x1970a9;this[_0x1aaee1(0x25d)][_0x1aaee1(0x28f)](_0x548b27);}}var bs=Object[_0x1970a9(0x16f)],Ds=(_0x36d05f,_0x3a6cf9,_0x219e4e,_0x1f70a1)=>{var _0x137019=_0x1970a9;for(var _0x4557a9=_0x1f70a1>0x1?void 0x0:_0x1f70a1?bs(_0x3a6cf9,_0x219e4e):_0x3a6cf9,_0x319769=_0x36d05f[_0x137019(0x439)]-0x1,_0x34b79a;_0x319769>=0x0;_0x319769--)(_0x34b79a=_0x36d05f[_0x319769])&&(_0x4557a9=_0x34b79a(_0x4557a9)||_0x4557a9);return _0x4557a9;},Ft=(_0x2f20d5,_0x37a485)=>(_0x5c7c79,_0x17aa29)=>_0x37a485(_0x5c7c79,_0x17aa29,_0x2f20d5);let Pe=class extends _0x14f4a8{constructor(_0x2a6de4,_0x6f6851){var _0x355090=_0x1970a9;super(),D(this,'_roomMembers',new Map()),D(this,_0x355090(0x3f4),new _0x5c9b29()),(this['_univerInstanceService']=_0x2a6de4,this['_userManagerService']=_0x6f6851,this['disposeWithMe'](_0x3c68f6(this[_0x355090(0x461)]['getTypeOfUnitDisposed$'](_0x3de6eb['UNIVER_SHEET'])[_0x355090(0x296)](_0x54e938(_0x4e6eab=>_0x4e6eab['getUnitId']())),this['_univerInstanceService'][_0x355090(0x1cf)](_0x3de6eb[_0x355090(0x466)])['pipe'](_0x54e938(_0x4e52d4=>_0x4e52d4[_0x355090(0x26c)]())),this[_0x355090(0x461)][_0x355090(0x1cf)](_0x3de6eb[_0x355090(0x2a4)])['pipe'](_0x54e938(_0x5599e8=>_0x5599e8[_0x355090(0x26c)]())))['subscribe'](_0x233bfe=>this[_0x355090(0x19e)](_0x233bfe))));}[_0x1970a9(0x39a)](_0x40f463){var _0x52ed90=_0x1970a9;return this[_0x52ed90(0x3f2)][_0x52ed90(0x3b3)](_0x40f463)?_0x4deaa7(this[_0x52ed90(0x3f2)][_0x52ed90(0x190)](_0x40f463)):this[_0x52ed90(0x3f4)][_0x52ed90(0x296)](_0x54e938(_0x49103a=>{var _0x265a2e=_0x52ed90;if(_0x49103a===_0x40f463)return this['_roomMembers'][_0x265a2e(0x190)](_0x49103a);}));}['setCurrentUser'](_0x205925){var _0xb4de9d=_0x1970a9;this[_0xb4de9d(0x3e3)][_0xb4de9d(0x228)](_0x205925);}[_0x1970a9(0x3ba)](){var _0x4b1747=_0x1970a9;return this[_0x4b1747(0x3e3)][_0x4b1747(0x3ba)]();}[_0x1970a9(0x243)](_0xd7e167,_0x5c15ec){var _0x505c6e=_0x1970a9;let _0x3849c8=this[_0x505c6e(0x3f2)][_0x505c6e(0x190)](_0xd7e167);_0x3849c8||(_0x3849c8=new ys(),this['_roomMembers'][_0x505c6e(0x3d2)](_0xd7e167,_0x3849c8),this[_0x505c6e(0x3f4)][_0x505c6e(0x28f)](_0xd7e167)),_0x3849c8['updateMember'](_0x5c15ec);}['removeMember'](_0x5ab994,_0x2666ea){var _0x5c9800=_0x1970a9;const _0xeeeda0=this['_roomMembers'][_0x5c9800(0x190)](_0x5ab994);_0xeeeda0&&_0xeeeda0[_0x5c9800(0x2d4)](_0x2666ea);}[_0x1970a9(0x213)](_0x1505fd){var _0x2e0554=_0x1970a9;return this[_0x2e0554(0x3f2)][_0x2e0554(0x190)](_0x1505fd);}[_0x1970a9(0x1b5)](_0x14f204,_0x175ea1){var _0x426be5=_0x1970a9;const _0x498ad0=this[_0x426be5(0x3f2)]['get'](_0x14f204);if(_0x498ad0)return _0x498ad0[_0x426be5(0x1b5)](_0x175ea1);}[_0x1970a9(0x19e)](_0x278916){var _0x162704=_0x1970a9;const _0x6fa84=this[_0x162704(0x3f2)]['get'](_0x278916);_0x6fa84&&(_0x6fa84[_0x162704(0x19a)](),this['_roomMembers'][_0x162704(0x21b)](_0x278916));}[_0x1970a9(0x19a)](){var _0x248d05=_0x1970a9;this['_roomMembers'][_0x248d05(0x445)](_0x3e8253=>_0x3e8253[_0x248d05(0x19a)]()),this['_roomMembers'][_0x248d05(0x25e)](),this[_0x248d05(0x3f4)][_0x248d05(0x186)]();}};Pe=Ds([Ft(0x0,_0xe0db57),Ft(0x1,_0x253c3d(_0x132f5c))],Pe);class ys extends _0x14f4a8{constructor(){var _0x5dc447=_0x1970a9;super(...arguments),D(this,'_members',new Map()),D(this,_0x5dc447(0x27d),new _0x3e8a63(this[_0x5dc447(0x24d)])),D(this,'members$',this['_members$'][_0x5dc447(0x173)]());}[_0x1970a9(0x19a)](){var _0x1e7d3d=_0x1970a9;this['_members'][_0x1e7d3d(0x25e)]();}[_0x1970a9(0x243)](_0x5c4aa1){var _0x27316c=_0x1970a9;this[_0x27316c(0x24d)]['set'](_0x5c4aa1['memberID'],_0x5c4aa1),this['_emitMembers']();}[_0x1970a9(0x2d4)](_0x2aa51b){this['_members']['delete'](_0x2aa51b);}[_0x1970a9(0x1b5)](_0x425fb5){var _0xf9dee4=_0x1970a9;return this['_members'][_0xf9dee4(0x190)](_0x425fb5);}[_0x1970a9(0x409)](){var _0x25b71f=_0x1970a9;return Array[_0x25b71f(0x1bb)](this['_members'][_0x25b71f(0x43a)]());}['_emitMembers'](){var _0x3f8558=_0x1970a9;this[_0x3f8558(0x27d)][_0x3f8558(0x28f)](this[_0x3f8558(0x24d)]);}}var Us=Object[_0x1970a9(0x16f)],As=(_0x5e9e72,_0x14b39e,_0x3439bc,_0xb151ad)=>{var _0x4a6f9b=_0x1970a9;for(var _0x7e0be2=_0xb151ad>0x1?void 0x0:_0xb151ad?Us(_0x14b39e,_0x3439bc):_0x14b39e,_0x54cc19=_0x5e9e72[_0x4a6f9b(0x439)]-0x1,_0x4172eb;_0x54cc19>=0x0;_0x54cc19--)(_0x4172eb=_0x5e9e72[_0x54cc19])&&(_0x7e0be2=_0x4172eb(_0x7e0be2)||_0x7e0be2);return _0x7e0be2;},Oe=(_0x364703,_0x441c79)=>(_0x33f131,_0x45888e)=>_0x441c79(_0x33f131,_0x45888e,_0x364703),me=(_0x3505d1=>(_0x3505d1[_0x3505d1['IDLE']=0x0]='IDLE',_0x3505d1[_0x3505d1[_0x1970a9(0x211)]=0x1]=_0x1970a9(0x211),_0x3505d1[_0x3505d1[_0x1970a9(0x28e)]=0x2]=_0x1970a9(0x28e),_0x3505d1[_0x3505d1['ONLINE']=0x3]=_0x1970a9(0x3c7),_0x3505d1))(me||{});const Vt={[pe[_0x1970a9(0x1ca)]]:_0x1970a9(0x1fd),[pe['JOIN_ROOM_FULL']]:_0x1970a9(0x2ab),[pe[_0x1970a9(0x282)]]:_0x1970a9(0x2a3),[pe[_0x1970a9(0x1b1)]]:_0x1970a9(0x451),[pe[_0x1970a9(0x232)]]:_0x1970a9(0x247)};let mt=class extends _0x3dd074{constructor(_0x4ecbcf,_0xbfcd3e,_0x5ae323,_0x12d727,_0x4fe0a7,_0x2e016d,_0x943032,_0x56cac0){var _0x3e22df=_0x1970a9;super(),D(this,_0x3e22df(0x45b),new _0x3e8a63(0x0)),D(this,_0x3e22df(0x15d),this['_sessionStatus$'][_0x3e22df(0x173)]()),D(this,_0x3e22df(0x3f7),new _0x5c9b29()),D(this,_0x3e22df(0x2b5),this[_0x3e22df(0x3f7)][_0x3e22df(0x173)]()),D(this,_0x3e22df(0x301)),D(this,_0x3e22df(0x1d7)),D(this,_0x3e22df(0x3a2)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3e22df(0x400),null),(this[_0x3e22df(0x42c)]=_0x4ecbcf,this[_0x3e22df(0x179)]=_0x5ae323,this[_0x3e22df(0x180)]=_0x12d727,this['_memberService']=_0x4fe0a7,this[_0x3e22df(0x32c)]=_0x2e016d,this[_0x3e22df(0x17c)]=_0x943032,this[_0x3e22df(0x47a)]=_0x56cac0,this[_0x3e22df(0x280)]=!!this[_0x3e22df(0x47a)],_0xbfcd3e[_0x3e22df(0x296)](_0x3b37d2(this[_0x3e22df(0x212)]))[_0x3e22df(0x22c)](_0x5951dc=>{var _0x581e4c=_0x3e22df,_0x311c4c;typeof _0x5951dc>'u'||(this[_0x581e4c(0x301)]=_0x5951dc,_0x5951dc?(this[_0x581e4c(0x2e8)](_0x5951dc),this['_socketMessageSubscription']=_0x5951dc['message$'][_0x581e4c(0x22c)](_0x127122=>{var _0x20f980=_0x581e4c;_0x127122[_0x20f980(0x1be)]===this[_0x20f980(0x42c)]&&this[_0x20f980(0x1b8)](_0x127122);})):(this[_0x581e4c(0x24c)](),this[_0x581e4c(0x45b)][_0x581e4c(0x28f)](0x2),(_0x311c4c=this[_0x581e4c(0x1d7)])==null||_0x311c4c[_0x581e4c(0x2b9)](),this[_0x581e4c(0x1d7)]=null));}));}get['sessionStatus'](){var _0x2f6a16=_0x1970a9;return this['_sessionStatus$'][_0x2f6a16(0x476)]();}['getMemberID'](){var _0xeb4d52=_0x1970a9,_0x2bffa5,_0x24c370;return(_0x24c370=(_0x2bffa5=this[_0xeb4d52(0x301)])==null?void 0x0:_0x2bffa5['memberID'])!=null?_0x24c370:null;}['dispose'](){var _0x3b7c7d=_0x1970a9;super[_0x3b7c7d(0x19a)](),this[_0x3b7c7d(0x212)][_0x3b7c7d(0x28f)](),this['dispose$'][_0x3b7c7d(0x186)]();}[_0x1970a9(0x2a8)](){var _0xeff797=_0x1970a9,_0xc4ffaf,_0x49ba5a;this['_throwTelemetryCollaborationNewChangeset'](),(_0xc4ffaf=this[_0xeff797(0x301)])==null||_0xc4ffaf['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x49ba5a=this[_0xeff797(0x301)])==null||_0x49ba5a[_0xeff797(0x2a8)](),this[_0xeff797(0x3f7)][_0xeff797(0x186)](),this['_sessionStatus$'][_0xeff797(0x186)](),this['dispose']();}['_onCombEvent'](_0x42bfab){var _0x45b874=_0x1970a9;_0x42bfab['cmd']===F[_0x45b874(0x2b6)]?this[_0x45b874(0x1b6)](_0x42bfab):_0x42bfab[_0x45b874(0x18c)]===F['RECV']&&this['_onRecvEvent'](_0x42bfab);}['_joinRoom'](_0x2a1368){var _0xa76d98=_0x1970a9;this[_0xa76d98(0x45b)][_0xa76d98(0x28f)](0x1),_0x2a1368[_0xa76d98(0x43b)]({'cmd':F[_0xa76d98(0x2b6)],'routeKey':this[_0xa76d98(0x42c)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa76d98(0x42c)]}]}});}[_0x1970a9(0x1b6)](_0x283da8){var _0x3f96a0=_0x1970a9,_0x5be9bf;if(_0x283da8[_0x3f96a0(0x404)]in Vt){this[_0x3f96a0(0x17c)][_0x3f96a0(0x1f7)]({'id':re[_0x3f96a0(0x176)],'data':Vt[_0x283da8[_0x3f96a0(0x404)]]}),this[_0x3f96a0(0x45b)]['next'](0x2);return;}this['_sessionStatus$'][_0x3f96a0(0x28f)](0x3);const _0x1f08b1=(_0x5be9bf=_0x283da8[_0x3f96a0(0x32f)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x5be9bf['members'];_0x1f08b1&&_0x1f08b1['forEach'](_0x1940c2=>this[_0x3f96a0(0x2fa)]['updateMember'](this[_0x3f96a0(0x42c)],_0x1940c2));}[_0x1970a9(0x31a)](_0x50a31c){var _0x183b7e=_0x1970a9;try{const _0x3bf7ab=_0x50a31c[_0x183b7e(0x32f)];switch(_0x3bf7ab['eventID']){case _0x274cb2[_0x183b7e(0x1ed)]:this['_onUserJoin'](_0x3bf7ab),this['_event$'][_0x183b7e(0x28f)](_0x3bf7ab);break;case _0x274cb2[_0x183b7e(0x29b)]:this[_0x183b7e(0x3aa)](_0x3bf7ab),this[_0x183b7e(0x3f7)][_0x183b7e(0x28f)](_0x3bf7ab);break;case _0x274cb2[_0x183b7e(0x29f)]:case _0x274cb2['CHANGESET_SHOULD_RETRY']:this[_0x183b7e(0x38c)](),this[_0x183b7e(0x1cb)](),this[_0x183b7e(0x3f7)]['next'](_0x3bf7ab);break;case _0x274cb2['MSG_FOR_ERROR']:this[_0x183b7e(0x179)]['error'](_0x183b7e(0x46b)+JSON[_0x183b7e(0x1af)](_0x3bf7ab)),this[_0x183b7e(0x3f7)][_0x183b7e(0x28f)](_0x3bf7ab);break;case _0x274cb2[_0x183b7e(0x3e7)]:this['_commentService']['onCommentUpdate'](_0x3bf7ab[_0x183b7e(0x32f)]),this[_0x183b7e(0x3f7)]['next'](_0x3bf7ab);break;default:this[_0x183b7e(0x3f7)]['next'](_0x3bf7ab);}}catch(_0x4b1fe0){this[_0x183b7e(0x179)][_0x183b7e(0x421)](_0x4b1fe0,_0x50a31c);}}['_onUserJoin'](_0x376706){var _0xb3339e=_0x1970a9;this['_memberService'][_0xb3339e(0x243)](this[_0xb3339e(0x42c)],_0x376706[_0xb3339e(0x32f)]);}[_0x1970a9(0x3aa)](_0x35ac9b){var _0x14e903=_0x1970a9;this['_memberService'][_0x14e903(0x2d4)](this['_unitID'],_0x35ac9b[_0x14e903(0x32f)][_0x14e903(0x2ed)]);}async[_0x1970a9(0x43b)](_0x289c7e,_0x2cda9a){var _0x41a2f1=_0x1970a9;if(this[_0x41a2f1(0x438)]!==0x3||!this['_socket'])throw new Error(_0x41a2f1(0x324));try{_0x289c7e['eventID']===_0x274cb2['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x41a2f1(0x24a)](_0x289c7e)),this[_0x41a2f1(0x301)][_0x41a2f1(0x43b)]({'cmd':F[_0x41a2f1(0x33c)],'routeKey':_0x2cda9a,'routeType':'','data':_0x289c7e});}catch(_0x2d6af0){this['_logService'][_0x41a2f1(0x421)](_0x2d6af0);}}[_0x1970a9(0x3fc)](){var _0x16e5ec=_0x1970a9,_0x59cce2;this[_0x16e5ec(0x3a2)]=setTimeout(()=>{var _0x336341=_0x16e5ec;this[_0x336341(0x3a2)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x336341(0x206)]});},(_0x59cce2=this[_0x16e5ec(0x180)][_0x16e5ec(0x26d)](di))!=null?_0x59cce2:fi);}[_0x1970a9(0x1cb)](){var _0x4c20ea=_0x1970a9;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4c20ea(0x3a2)]),this[_0x4c20ea(0x3a2)]=null);}[_0x1970a9(0x24a)](_0x3eec81){var _0x503361=_0x1970a9;if(!this[_0x503361(0x280)])return;const {data:_0x264be9}=_0x3eec81,{unitID:_0x45f447,changeset:_0x478d5d}=_0x264be9,{mutations:_0x4aa87c,type:_0x2cbe1b}=_0x478d5d;this[_0x503361(0x400)]={'unitId':_0x45f447,'type':_0x2cbe1b,'startTime':performance[_0x503361(0x3d5)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x4aa87c)};}[_0x1970a9(0x38c)](){var _0x40e6a4=_0x1970a9;if(this[_0x40e6a4(0x280)]){if(!this['_telemetryInfo']){this[_0x40e6a4(0x179)][_0x40e6a4(0x421)](_0x40e6a4(0x170),_0x40e6a4(0x19f));return;}this[_0x40e6a4(0x400)][_0x40e6a4(0x405)]=performance[_0x40e6a4(0x3d5)](),this[_0x40e6a4(0x400)]['duration']=this[_0x40e6a4(0x400)][_0x40e6a4(0x405)]-this['_telemetryInfo']['startTime'],this[_0x40e6a4(0x47a)][_0x40e6a4(0x174)](Cs,this['_telemetryInfo']),this[_0x40e6a4(0x400)]=null;}}[_0x1970a9(0x24c)](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x41ff63),Oe(0x3,_0x4a008f),Oe(0x4,_0x253c3d(Pe)),Oe(0x5,_0x253c3d(Ei)),Oe(0x6,_0x253c3d(ve)),Oe(0x7,_0x36e38f(_0x332aa7))],mt);function _0x35ab(_0x2a791f,_0x3ed058){var _0x39cf97=_0x39cf();return _0x35ab=function(_0x35aba0,_0x26ad91){_0x35aba0=_0x35aba0-0x159;var _0x5c5fd7=_0x39cf97[_0x35aba0];return _0x5c5fd7;},_0x35ab(_0x2a791f,_0x3ed058);}const J=_0x2ffbe9(_0x1970a9(0x17a));function Nr(_0x2f2f79){var _0x686f22=_0x1970a9;return _0x686f22(0x3b8)+_0x2f2f79;}var Ps=Object[_0x1970a9(0x16f)],ws=(_0x5f0a97,_0xe2e899,_0x24738,_0xf4a14)=>{var _0x42a663=_0x1970a9;for(var _0x5be50e=_0xf4a14>0x1?void 0x0:_0xf4a14?Ps(_0xe2e899,_0x24738):_0xe2e899,_0x468984=_0x5f0a97[_0x42a663(0x439)]-0x1,_0x1cabf5;_0x468984>=0x0;_0x468984--)(_0x1cabf5=_0x5f0a97[_0x468984])&&(_0x5be50e=_0x1cabf5(_0x5be50e)||_0x5be50e);return _0x5be50e;},ut=(_0x72ede2,_0x52f8f)=>(_0x47a8df,_0x4b7551)=>_0x52f8f(_0x47a8df,_0x4b7551,_0x72ede2);function Ms(_0x2157ac){var _0x324501=_0x1970a9;const {unitID:_0x432b27,mutations:_0x36b955}=_0x2157ac;return{'unitId':_0x432b27,'subUnitId':_0x36b955[0x0][_0x324501(0x423)][_0x324501(0x36c)]};}let it=class{constructor(_0x3c659a,_0x32d2dc,_0x491a3f){var _0x420daa=_0x1970a9;this[_0x420daa(0x2e7)]=_0x3c659a,this['_transformService']=_0x32d2dc,this[_0x420daa(0x346)]=_0x491a3f;}['transformSelections'](_0xa56ffd){var _0x2a6421=_0x1970a9,_0x416176,_0x13b38d,_0x2fb5cc,_0x3b3870;const _0xc1bd77=this[_0x2a6421(0x2e7)][_0x2a6421(0x190)](_0x15a0de),{unitId:_0x3d22c8,subUnitId:_0x41a3ec}=Ms(_0xa56ffd),_0xb2c02c=_0xc1bd77==null?void 0x0:_0xc1bd77[_0x2a6421(0x1c2)](_0x3d22c8)['getCurrentSelections'](),_0x5016bf=(_0x13b38d=(_0x416176=this[_0x2a6421(0x346)][_0x2a6421(0x194)](_0x3d22c8))==null?void 0x0:_0x416176[_0x2a6421(0x257)]())==null?void 0x0:_0x13b38d[_0x2a6421(0x226)]();if(_0xb2c02c[_0x2a6421(0x439)]===0x0||!_0x3d22c8||!_0x41a3ec)return;const _0x2b1b2c=[{'id':_0x3964b0['id'],'params':{'unitId':_0x3d22c8,'subUnitId':_0x5016bf,'selections':_0x3fe39d[_0x2a6421(0x340)](_0xb2c02c)}}],_0x78bec0=this[_0x2a6421(0x37e)]['transformMutationsWithChangeset'](_0xa56ffd,_0x2b1b2c);if(!_0x5cc134(_0x78bec0))throw _0x78bec0[_0x2a6421(0x421)];const _0x3e719c=(_0x3b3870=(_0x2fb5cc=_0x78bec0[_0x2a6421(0x349)][0x0])==null?void 0x0:_0x2fb5cc['params'])==null?void 0x0:_0x3b3870[_0x2a6421(0x425)];if(Array['isArray'](_0x3e719c)&&_0x3e719c[_0x2a6421(0x439)]){if(_0x3e719c[_0x2a6421(0x439)]===_0x2b1b2c[0x0][_0x2a6421(0x423)][_0x2a6421(0x425)][_0x2a6421(0x439)]&&_0x3e719c['every']((_0x4d2fbd,_0x8f0b83)=>_0xd93da[_0x2a6421(0x3f9)](_0x4d2fbd[_0x2a6421(0x1b4)],_0x2b1b2c[0x0][_0x2a6421(0x423)][_0x2a6421(0x425)][_0x8f0b83][_0x2a6421(0x1b4)])))return;this['_injector'][_0x2a6421(0x190)](_0x2fde4d)[_0x2a6421(0x430)](_0x3964b0['id'],{'unitId':_0x3d22c8,'subUnitId':_0x5016bf,'selections':_0x3e719c});}}};it=ws([ut(0x0,_0x253c3d(_0x9d7216)),ut(0x1,_0x1f95db),ut(0x2,_0xe0db57)],it);const _t=_0x2ffbe9(_0x1970a9(0x348));var mi=(_0x1fad09=>(_0x1fad09[_0x1fad09[_0x1970a9(0x31c)]=0x0]=_0x1970a9(0x31c),_0x1fad09[_0x1fad09[_0x1970a9(0x385)]=0x1]=_0x1970a9(0x385),_0x1fad09))(mi||{});const K=_0x1970a9(0x3ae),Ls={},xs=new Set([_0xc6c030['id']]);function Gt(_0x464351,_0x1f423c,_0x57553b,_0x248f53,_0x4d37c4){var _0x3cef08=_0x1970a9,_0xe7a55,_0x333c54,_0x412608,_0x400c1d;const _0x53b992=[];for(const _0x55a567 of _0x464351)if(xs[_0x3cef08(0x3b3)](_0x55a567['id'])){if(_0x53b992['length']>0x0)break;_0x53b992[_0x3cef08(0x227)](_0x55a567);break;}else _0x53b992[_0x3cef08(0x227)](_0x55a567);const _0x41b130=(_0x333c54=(_0xe7a55=_0x4d37c4[_0x3cef08(0x3ba)]())==null?void 0x0:_0xe7a55[_0x3cef08(0x188)])!=null?_0x333c54:_0x3cef08(0x2cf),_0x4fe0bb=(_0x400c1d=(_0x412608=_0x4d37c4[_0x3cef08(0x3ba)]())==null?void 0x0:_0x412608[_0x3cef08(0x2ed)])!=null?_0x400c1d:_0x3cef08(0x2cf);return{'changeset':{'unitID':_0x1f423c,'type':_0x278b84(_0x57553b[_0x3cef08(0x162)](_0x1f423c)),'baseRev':_0x248f53['getCurrentRevOfUnit'](_0x1f423c),'revision':0x0,'userID':_0x41b130,'memberID':_0x4fe0bb,'mutations':_0x53b992},'pendingMutations':_0x464351[_0x3cef08(0x209)](_0x53b992['length'])};}function ks(_0x563087,_0x354c6e,_0x11bf7e,_0x2da6d5,_0x5507f0){var _0x40d7fc=_0x1970a9,_0x233482,_0x40e87a,_0x515fbb,_0x295a72;const _0x51df1f=[_0x563087[_0x40d7fc(0x464)]((_0x575f17,_0x6abf55)=>{var _0x1c7ea6=_0x40d7fc,_0x197589;const {id:_0x105221}=_0x575f17,{id:_0x41f348,type:_0x54f175}=_0x6abf55,_0x4df002=(_0x197589=_0x575f17['params'])!=null?_0x197589:{'actions':null},_0x3e5445=_0x6abf55[_0x1c7ea6(0x423)];if(_0x105221&&_0x105221!==_0x41f348)throw new Error(_0x1c7ea6(0x2ae)+_0x105221+'\x20-\x20'+_0x41f348+'.');return{..._0x575f17,'id':_0x41f348,'type':_0x54f175,'params':{'unitId':_0x3e5445['unitId'],'textRanges':_0x3e5445[_0x1c7ea6(0x2c5)],'actions':_0x56ce5b[_0x1c7ea6(0x406)](_0x4df002['actions'],_0x3e5445['actions'])}};},{})],_0x87173f=(_0x40e87a=(_0x233482=_0x5507f0[_0x40d7fc(0x3ba)]())==null?void 0x0:_0x233482['userID'])!=null?_0x40e87a:_0x40d7fc(0x2cf),_0x7c2247=(_0x295a72=(_0x515fbb=_0x5507f0[_0x40d7fc(0x3ba)]())==null?void 0x0:_0x515fbb[_0x40d7fc(0x2ed)])!=null?_0x295a72:_0x40d7fc(0x2cf);return{'changeset':{'unitID':_0x354c6e,'type':_0x278b84(_0x11bf7e['getUnitType'](_0x354c6e)),'baseRev':_0x2da6d5[_0x40d7fc(0x33e)](_0x354c6e),'revision':0x0,'userID':_0x87173f,'memberID':_0x7c2247,'mutations':_0x51df1f},'pendingMutations':[]};}function Ii(_0x12c914,_0x3414a6){var _0x3e2b8a=_0x1970a9;const _0x116262=new _0x586912(0x1);return setTimeout(()=>_0x116262[_0x3e2b8a(0x28f)](_0x3414a6),_0x12c914),_0x116262[_0x3e2b8a(0x173)]()[_0x3e2b8a(0x296)](_0x4f52fd(0x1));}const $s={'id':_0x1f2acc['id'],'type':_0x384b46['MUTATION'],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Se=(_0x20e591,_0x5a0619,_0x28e3b3,_0x5cd0ec)=>{var _0x1844fe=_0x1970a9;for(var _0x59f93e=_0x5cd0ec>0x1?void 0x0:_0x5cd0ec?Hs(_0x5a0619,_0x28e3b3):_0x5a0619,_0x5829f6=_0x20e591[_0x1844fe(0x439)]-0x1,_0x2ef0b1;_0x5829f6>=0x0;_0x5829f6--)(_0x2ef0b1=_0x20e591[_0x5829f6])&&(_0x59f93e=_0x2ef0b1(_0x59f93e)||_0x59f93e);return _0x59f93e;},w=(_0xbdeded,_0x4ab2d8)=>(_0x18cd5b,_0x3ec993)=>_0x4ab2d8(_0x18cd5b,_0x3ec993,_0xbdeded),Si=(_0x50653e=>(_0x50653e[_0x1970a9(0x352)]='not_collab',_0x50653e[_0x1970a9(0x1ac)]=_0x1970a9(0x159),_0x50653e[_0x1970a9(0x3a9)]=_0x1970a9(0x2e0),_0x50653e['AWAITING']=_0x1970a9(0x41a),_0x50653e['AWAITING_WITH_PENDING']=_0x1970a9(0x408),_0x50653e[_0x1970a9(0x293)]=_0x1970a9(0x1a1),_0x50653e[_0x1970a9(0x457)]=_0x1970a9(0x3cc),_0x50653e[_0x1970a9(0x28e)]=_0x1970a9(0x388),_0x50653e))(Si||{});const gi=0xea60;class ge{constructor(_0x540fb1,_0x13ca19,_0x4a2374,_0x4e14,_0x2c6169,_0x118b96,_0x501aef,_0x3e09e7,_0x36d8bc){var _0x154b3c=_0x1970a9;D(this,'_awaitingChangeset',null),D(this,_0x154b3c(0x387),[]),(this['unitID']=_0x540fb1,this[_0x154b3c(0x3b9)]=_0x13ca19,this[_0x154b3c(0x2b8)]=_0x2c6169,this[_0x154b3c(0x363)]=_0x118b96,this[_0x154b3c(0x3fb)]=_0x501aef,this[_0x154b3c(0x20b)]=_0x3e09e7,this[_0x154b3c(0x2ef)]=_0x36d8bc,this[_0x154b3c(0x371)]=_0x4a2374,this['_pendingMutations']=_0x4e14);}[_0x1970a9(0x2af)](_0x4ddba4){var _0x4cdda2=_0x1970a9;const _0x4eee45=this[_0x4cdda2(0x20b)][_0x4cdda2(0x33e)](this[_0x4cdda2(0x402)]);return _0x4ddba4[_0x4cdda2(0x470)]>_0x4eee45+0x1?(this[_0x4cdda2(0x2b8)]['onMissingChangesets']({'from':_0x4eee45,'to':_0x4ddba4[_0x4cdda2(0x470)]-0x1}),!0x0):!0x1;}[_0x1970a9(0x415)](_0x43ac09){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x43ac09);}['_transformSelections'](_0x5b0ecb){var _0x396656=_0x1970a9,_0x253c57,_0x19b320;(_0x19b320=(_0x253c57=this[_0x396656(0x2b8)])[_0x396656(0x2ea)])==null||_0x19b320[_0x396656(0x3fe)](_0x253c57,_0x5b0ecb);}[_0x1970a9(0x40a)](_0x1f64d6){var _0x3b9204=_0x1970a9,_0x46545b,_0x10c163;return(_0x10c163=(_0x46545b=this['_handler'])[_0x3b9204(0x165)])==null?void 0x0:_0x10c163[_0x3b9204(0x3fe)](_0x46545b,_0x1f64d6);}[_0x1970a9(0x419)](_0x4acfef){var _0x5289ce=_0x1970a9,_0x251716,_0x116578;return(_0x116578=(_0x251716=this[_0x5289ce(0x2b8)])[_0x5289ce(0x378)])==null?void 0x0:_0x116578['call'](_0x251716,_0x4acfef);}[_0x1970a9(0x1f8)](_0x599a7f){var _0x468c9a=_0x1970a9,_0x4d8950,_0x11b9e4,_0x218b8c;return(_0x218b8c=(_0x11b9e4=(_0x4d8950=this[_0x468c9a(0x2b8)])[_0x468c9a(0x31f)])==null?void 0x0:_0x11b9e4[_0x468c9a(0x3fe)](_0x4d8950,_0x599a7f))!=null?_0x218b8c:_0x599a7f;}[_0x1970a9(0x255)](_0x135dcd){var _0xf5cf21=_0x1970a9,_0x484d4b,_0x3a063e,_0x161a1b;return(_0x161a1b=(_0x3a063e=(_0x484d4b=this[_0xf5cf21(0x2b8)])[_0xf5cf21(0x36f)])==null?void 0x0:_0x3a063e[_0xf5cf21(0x3fe)](_0x484d4b,_0x135dcd))!=null?_0x161a1b:_0x135dcd;}[_0x1970a9(0x288)](_0xaf0790){var _0x429471=_0x1970a9,_0x352b37,_0x5359df;if(this[_0x429471(0x3b9)]===Q[_0x429471(0x466)]){const {unitID:_0x464ab3,mutations:_0x2d3f36,memberID:_0x458201}=_0xaf0790,_0x30fe3d=_0x2d3f36[0x0][_0x429471(0x423)][_0x429471(0x2c5)];Array[_0x429471(0x373)](_0x30fe3d)&&_0x30fe3d[_0x429471(0x439)]>0x0&&((_0x5359df=(_0x352b37=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x5359df[_0x429471(0x3fe)](_0x352b37,{'unitID':_0x464ab3,'memberID':_0x458201,'textRanges':_0x30fe3d}));}}[_0x1970a9(0x42d)](){var _0x52e06b=_0x1970a9,_0x33f30d;(_0x33f30d=this[_0x52e06b(0x2ef)])==null||_0x33f30d[_0x52e06b(0x453)](this[_0x52e06b(0x402)],this[_0x52e06b(0x3b9)],this[_0x52e06b(0x371)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x4407c3=_0x1970a9;return this['_revisionService'][_0x4407c3(0x33e)](this[_0x4407c3(0x402)]);}[_0x1970a9(0x366)](){var _0xfdd626=_0x1970a9;this['_revisionService'][_0xfdd626(0x473)](this[_0xfdd626(0x402)]);}[_0x1970a9(0x3ca)](_0x528208){var _0x12b552=_0x1970a9,_0x5c4e64;let _0x3a57bf=this[_0x12b552(0x1f8)](_0x528208);_0x3a57bf=this[_0x12b552(0x255)](_0x3a57bf);const _0x2d8693=_0x118b15(_0x3a57bf[_0x12b552(0x3b1)],this[_0x12b552(0x363)],{'fromCollab':!0x0});if(!_0x2d8693[_0x12b552(0x2eb)])throw _0x2d8693[_0x12b552(0x421)]instanceof Error?_0x2d8693[_0x12b552(0x421)]:new Error((_0x5c4e64=_0x2d8693[_0x12b552(0x421)])!=null?_0x5c4e64:_0x12b552(0x223));this[_0x12b552(0x40a)](_0x3a57bf),this[_0x12b552(0x419)](_0x3a57bf),this[_0x12b552(0x415)](_0x528208),this[_0x12b552(0x326)](_0x3a57bf),this[_0x12b552(0x288)](_0x3a57bf),this[_0x12b552(0x366)]();}}let be=class extends ge{constructor(_0x262240,_0x50ae1a,_0x3d5faa,_0x5a3d02,_0x24b56f,_0x4cc9f1,_0x5de424,_0x5618a1,_0x561f23,_0x43cfca){var _0x33778e=_0x1970a9;super(_0x262240,_0x50ae1a,null,[],_0x3d5faa,_0x5de424,_0x4cc9f1,_0x5a3d02,_0x43cfca),D(this,_0x33778e(0x234),_0x33778e(0x159)),(this[_0x33778e(0x2e7)]=_0x24b56f,this[_0x33778e(0x179)]=_0x5618a1,this['_transformService']=_0x561f23,this[_0x33778e(0x356)]=_0x43cfca);}[_0x1970a9(0x2b0)](_0x394ebf){var _0x10d40b=_0x1970a9;const _0x35b7fc=this[_0x10d40b(0x2e7)][_0x10d40b(0x185)](ae,this[_0x10d40b(0x402)],this[_0x10d40b(0x3b9)],[_0x394ebf],this[_0x10d40b(0x2b8)]);return _0x35b7fc['_schedule'](),_0x35b7fc['_updateLocalCache'](),_0x35b7fc;}['onRemoteChangeset'](_0x4ac28a){var _0x2428e7=_0x1970a9;if(this[_0x2428e7(0x2af)](_0x4ac28a))return this['_injector'][_0x2428e7(0x185)](ee,this[_0x2428e7(0x402)],this[_0x2428e7(0x3b9)],null,[],null,[_0x4ac28a],this[_0x2428e7(0x2b8)]);try{const _0xf25bf7=this[_0x2428e7(0x37e)][_0x2428e7(0x1c6)](_0x4ac28a,[$s]);if(_0x5cc134(_0xf25bf7)){const {c1Prime:_0x577d33}=_0xf25bf7;return this[_0x2428e7(0x3ca)](_0x577d33),this;}throw _0xf25bf7['error'];}catch(_0x16ccf4){return this[_0x2428e7(0x179)][_0x2428e7(0x421)](_0x16ccf4),this['_onConflict'](!0x1);}}[_0x1970a9(0x22a)](_0x3c8d6f){var _0x5459f6=_0x1970a9;return this[_0x5459f6(0x2e7)][_0x5459f6(0x185)](ue,this['unitID'],this[_0x5459f6(0x3b9)],null,[],this[_0x5459f6(0x2b8)],_0x3c8d6f);}[_0x1970a9(0x3bf)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1970a9(0x3c3)](){var _0x306e7a=_0x1970a9;throw new Error(_0x306e7a(0x1ff));}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){var _0x179532=_0x1970a9;return this[_0x179532(0x2e7)]['createInstance'](de,this[_0x179532(0x402)],this[_0x179532(0x3b9)],null,[],this[_0x179532(0x2b8)]);}['toggleOnline'](){return this;}[_0x1970a9(0x3a0)](){var _0x4ce58b=_0x1970a9;throw new Error(_0x4ce58b(0x1a2));}[_0x1970a9(0x171)](){var _0x34ad43=_0x1970a9;const _0x52da84=this['_revisionService'][_0x34ad43(0x33e)](this[_0x34ad43(0x402)]);return this[_0x34ad43(0x2b8)][_0x34ad43(0x309)]({'from':_0x52da84,'to':0x0}),this[_0x34ad43(0x2e7)][_0x34ad43(0x185)](ee,this[_0x34ad43(0x402)],this[_0x34ad43(0x3b9)],null,[],null,[],this[_0x34ad43(0x2b8)]);}};be=Se([w(0x3,_0x253c3d(_0x54f50d)),w(0x4,_0x253c3d(_0x9d7216)),w(0x5,_0x5b65e3),w(0x6,_0x2fde4d),w(0x7,_0x41ff63),w(0x8,_0x1f95db),w(0x9,_0x36e38f(J))],be);let ae=class extends ge{constructor(_0xe7a4e5,_0x43e45d,_0x525a12,_0x4ccac3,_0x40b069,_0x9e001c,_0x261244,_0x2c30e0,_0x2b249a,_0x195ba3,_0x578523,_0x26efd3,_0xdbab56,_0x24e605){var _0x1fc369=_0x1970a9;super(_0xe7a4e5,_0x43e45d,null,_0x525a12,_0x4ccac3,_0x2b249a,_0xdbab56,_0x9e001c,_0x24e605),D(this,'status',_0x1fc369(0x2e0)),D(this,_0x1fc369(0x2cd),null),D(this,_0x1fc369(0x42b),null),(this['_injector']=_0x40b069,this['_memberService']=_0x261244,this[_0x1fc369(0x179)]=_0x2c30e0,this[_0x1fc369(0x180)]=_0x195ba3,this[_0x1fc369(0x37e)]=_0x578523,this['_univerInstanceService']=_0x26efd3);}[_0x1970a9(0x2b0)](_0x3b881e){var _0x2b7692=_0x1970a9;return this['_pendingMutations'][_0x2b7692(0x227)](_0x3b881e),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x587f90){var _0xcff6e3=_0x1970a9;if(this[_0xcff6e3(0x2af)](_0x587f90))return this[_0xcff6e3(0x1d6)](),this[_0xcff6e3(0x2e7)]['createInstance'](ee,this[_0xcff6e3(0x402)],this['type'],null,this[_0xcff6e3(0x387)],null,[_0x587f90],this[_0xcff6e3(0x2b8)]);try{const _0x36221e=this['_transformService'][_0xcff6e3(0x1c6)](_0x587f90,this['_pendingMutations']);if(_0x5cc134(_0x36221e)){const {c1Prime:_0x94aa34,m2Prime:_0x4315b0}=_0x36221e;this[_0xcff6e3(0x3ca)](_0x94aa34);const _0x3d2e5f=this[_0xcff6e3(0x2e7)]['createInstance'](ae,this['unitID'],this[_0xcff6e3(0x3b9)],_0x4315b0,this['_handler']);this[_0xcff6e3(0x1d6)]();const _0x34571b=new Date()['getTime'](),_0xe6c998=this[_0xcff6e3(0x2cd)]?Math[_0xcff6e3(0x336)](this[_0xcff6e3(0x2cd)]-_0x34571b,0x0):this[_0xcff6e3(0x317)]();return _0x3d2e5f[_0xcff6e3(0x35f)](_0xe6c998),_0x3d2e5f;}throw _0x36221e['error'];}catch(_0x45eede){return this['_logService']['error'](_0x45eede),this[_0xcff6e3(0x22a)](!0x1);}}[_0x1970a9(0x3bf)](){var _0x411d5b=_0x1970a9;throw new Error(_0x411d5b(0x233));}['onRemoteRej'](){var _0x4d23b8=_0x1970a9;throw new Error(_0x4d23b8(0x2d2));}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){var _0x1f3f73=_0x1970a9;return this['_clearScheduledTask'](),this[_0x1f3f73(0x2e7)][_0x1f3f73(0x185)](de,this[_0x1f3f73(0x402)],this[_0x1f3f73(0x3b9)],null,this[_0x1f3f73(0x387)],this[_0x1f3f73(0x2b8)]);}['toggleOnline'](){return this;}[_0x1970a9(0x35f)](_0x4c48a6){var _0x7fe984=_0x1970a9;const _0x113c27=_0x4c48a6!=null?_0x4c48a6:this[_0x7fe984(0x317)]();this[_0x7fe984(0x2cd)]=new Date()[_0x7fe984(0x3b0)]()+_0x113c27,this[_0x7fe984(0x42b)]=setTimeout(()=>{var _0x46ba3a=_0x7fe984;this[_0x46ba3a(0x1d6)]();let _0x3243be=null;switch(this[_0x46ba3a(0x3b9)]){case Q['UNIVER_SHEET']:{_0x3243be=Gt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x46ba3a(0x2fa)]);break;}case Q[_0x46ba3a(0x466)]:{this[_0x46ba3a(0x387)][_0x46ba3a(0x23a)](_0x20d206=>_0x20d206['id']===_0x3925f7['id'])?_0x3243be=ks(this['_pendingMutations'],this[_0x46ba3a(0x402)],this[_0x46ba3a(0x461)],this[_0x46ba3a(0x20b)],this[_0x46ba3a(0x2fa)]):_0x3243be=Gt(this['_pendingMutations'],this[_0x46ba3a(0x402)],this[_0x46ba3a(0x461)],this['_revisionService'],this[_0x46ba3a(0x2fa)]);break;}default:throw new Error(_0x46ba3a(0x44c)+this[_0x46ba3a(0x3b9)]+'\x20in\x20_schedule.');}const {changeset:_0x872012,pendingMutations:_0x49432d}=_0x3243be;this[_0x46ba3a(0x2b8)][_0x46ba3a(0x414)](_0x872012);const _0x27fea9=_0x49432d[_0x46ba3a(0x439)]?this['_injector'][_0x46ba3a(0x185)](oe,this[_0x46ba3a(0x402)],this[_0x46ba3a(0x3b9)],_0x872012,_0x49432d,this[_0x46ba3a(0x2b8)],void 0x0):this['_injector']['createInstance'](le,this[_0x46ba3a(0x402)],this[_0x46ba3a(0x3b9)],_0x872012,this[_0x46ba3a(0x2b8)]);_0x27fea9[_0x46ba3a(0x42d)](),this['_handler'][_0x46ba3a(0x24e)](this,_0x27fea9);},_0x113c27);}['_getSendChangesetTimeout'](){var _0x3d7ceb=_0x1970a9,_0x4fbf10;const _0x2b17d4=this[_0x3d7ceb(0x180)][_0x3d7ceb(0x26d)](K);return(_0x4fbf10=_0x2b17d4==null?void 0x0:_0x2b17d4[_0x3d7ceb(0x3f1)])!=null?_0x4fbf10:ps;}[_0x1970a9(0x3a0)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1970a9(0x1d6)](){var _0x3deef7=_0x1970a9;this[_0x3deef7(0x42b)]!=null&&(clearTimeout(this[_0x3deef7(0x42b)]),this[_0x3deef7(0x42b)]=null);}[_0x1970a9(0x22a)](_0x3fd30c){var _0x10cf3b=_0x1970a9;return this['_clearScheduledTask'](),this[_0x10cf3b(0x2e7)][_0x10cf3b(0x185)](ue,this[_0x10cf3b(0x402)],this[_0x10cf3b(0x3b9)],null,this[_0x10cf3b(0x387)],this[_0x10cf3b(0x2b8)],_0x3fd30c);}};ae=Se([w(0x4,_0x253c3d(_0x9d7216)),w(0x5,_0x253c3d(_0x54f50d)),w(0x6,_0x253c3d(Pe)),w(0x7,_0x41ff63),w(0x8,_0x2fde4d),w(0x9,_0x4a008f),w(0xa,_0x1f95db),w(0xb,_0xe0db57),w(0xc,_0x5b65e3),w(0xd,_0x36e38f(J))],ae);let le=class extends ge{constructor(_0x423871,_0x543928,_0x5a2f5c,_0x5c8087,_0x20f420,_0x2347cd,_0x10c872,_0x3e27b6,_0x1b5092,_0x463061,_0x4ac489){var _0x3134b2=_0x1970a9;super(_0x423871,_0x543928,_0x5a2f5c,[],_0x5c8087,_0x10c872,_0x463061,_0x2347cd,_0x4ac489),D(this,_0x3134b2(0x234),'awaiting'),D(this,_0x3134b2(0x21a),0x0),D(this,_0x3134b2(0x465)),D(this,_0x3134b2(0x215)),(this['_injector']=_0x20f420,this['_logService']=_0x3e27b6,this[_0x3134b2(0x37e)]=_0x1b5092);}[_0x1970a9(0x2b0)](_0x460ec0){var _0x53d2e1=_0x1970a9;this['_clearScheduledTask']();const _0x55fc19=this[_0x53d2e1(0x2e7)][_0x53d2e1(0x185)](oe,this[_0x53d2e1(0x402)],this[_0x53d2e1(0x3b9)],this[_0x53d2e1(0x371)],[_0x460ec0],this[_0x53d2e1(0x2b8)],this[_0x53d2e1(0x465)]);return _0x55fc19[_0x53d2e1(0x42d)](),_0x55fc19;}[_0x1970a9(0x36d)](_0x11d82e){var _0x2467f1=_0x1970a9;if(this[_0x2467f1(0x2af)](_0x11d82e))return this[_0x2467f1(0x1d6)](),this['_injector'][_0x2467f1(0x185)](ee,this[_0x2467f1(0x402)],this['type'],this['_awaitingChangeset'],[],null,[_0x11d82e],this[_0x2467f1(0x2b8)]);try{const _0x10a768=this[_0x2467f1(0x37e)][_0x2467f1(0x208)]([_0x11d82e],[this['_awaitingChangeset']],!0x1);if(_0x24d7db(_0x10a768)){const {c1Prime:_0x833b85,c2Prime:_0x1c8471}=_0x10a768;this[_0x2467f1(0x3ca)](_0x833b85[0x0]),_0x1c8471[0x0]['baseRev']=this[_0x2467f1(0x30b)](),this['_clearScheduledTask']();const _0x5b1922=this[_0x2467f1(0x2e7)][_0x2467f1(0x185)](le,this['unitID'],this[_0x2467f1(0x3b9)],_0x1c8471[0x0],this[_0x2467f1(0x2b8)]);return _0x5b1922['_updateLocalCache'](),_0x5b1922;}return this[_0x2467f1(0x22a)](!0x1);}catch(_0x5c4a5a){return this[_0x2467f1(0x179)][_0x2467f1(0x421)](_0x5c4a5a),this[_0x2467f1(0x22a)](!0x1);}}[_0x1970a9(0x3bf)](_0x840215){var _0x2a61c9=_0x1970a9;this['_clearScheduledTask']();const _0x3f31a7=this['_revisionService'][_0x2a61c9(0x33e)](this['unitID']);if(_0x840215[_0x2a61c9(0x470)]<_0x3f31a7-0x1)return this;if(this[_0x2a61c9(0x2af)](_0x840215))return this[_0x2a61c9(0x2e7)][_0x2a61c9(0x185)](ee,this[_0x2a61c9(0x402)],this[_0x2a61c9(0x3b9)],null,[],this[_0x2a61c9(0x371)],[],this[_0x2a61c9(0x2b8)]);this[_0x2a61c9(0x366)]();const _0x45a3d4=this[_0x2a61c9(0x2e7)][_0x2a61c9(0x185)](be,this[_0x2a61c9(0x402)],this['type'],this['_handler']);return _0x45a3d4['_updateLocalCache'](),_0x45a3d4;}['onRemoteRej'](_0xc275ed){var _0x21d36f=_0x1970a9;return this[_0x21d36f(0x22a)](!!(_0xc275ed!=null&&_0xc275ed[_0x21d36f(0x20a)]));}[_0x1970a9(0x1f6)](_0x21c702){var _0x3fdc2d=_0x1970a9;return this[_0x3fdc2d(0x21a)]>gi?this[_0x3fdc2d(0x205)]():(this[_0x3fdc2d(0x465)]=Ii(this[_0x3fdc2d(0x21a)],{'timeout':this[_0x3fdc2d(0x21a)],'reqId':_0x21c702[_0x3fdc2d(0x35c)]}),this[_0x3fdc2d(0x215)]=this[_0x3fdc2d(0x465)][_0x3fdc2d(0x22c)](({reqId:_0x5b64e9,timeout:_0x339a49})=>{this['_resendWithTimeout'](_0x5b64e9,_0x339a49);}),this);}['toggleOffline'](){var _0x516e97=_0x1970a9;return this[_0x516e97(0x1d6)](),this[_0x516e97(0x2e7)][_0x516e97(0x185)](de,this[_0x516e97(0x402)],this[_0x516e97(0x3b9)],this[_0x516e97(0x371)],[],this[_0x516e97(0x2b8)]);}[_0x1970a9(0x3f5)](){return this;}[_0x1970a9(0x3a0)](){var _0x17bd86=_0x1970a9;this[_0x17bd86(0x2b8)][_0x17bd86(0x414)](this[_0x17bd86(0x371)]);}[_0x1970a9(0x22a)](_0x234fe1){var _0x3b00b7=_0x1970a9;return this[_0x3b00b7(0x1d6)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x3b00b7(0x3b9)],this[_0x3b00b7(0x371)],[],this[_0x3b00b7(0x2b8)],_0x234fe1);}[_0x1970a9(0x35d)](_0x4d4f94,_0x54c0d3){var _0x29b2e7=_0x1970a9,_0x2279ce;_0x4d4f94===((_0x2279ce=this[_0x29b2e7(0x371)])==null?void 0x0:_0x2279ce[_0x29b2e7(0x35c)])&&(this[_0x29b2e7(0x3a0)](),this['_resendTimeout']=_0x54c0d3===0x0?0x3e8:_0x54c0d3*0x2);}[_0x1970a9(0x1d6)](){var _0x4c8342=_0x1970a9,_0x44ab1f;(_0x44ab1f=this[_0x4c8342(0x215)])==null||_0x44ab1f[_0x4c8342(0x2b9)](),this[_0x4c8342(0x21a)]=0x0;}};le=Se([w(0x4,_0x253c3d(_0x9d7216)),w(0x5,_0x253c3d(_0x54f50d)),w(0x6,_0x2fde4d),w(0x7,_0x41ff63),w(0x8,_0x1f95db),w(0x9,_0x5b65e3),w(0xa,_0x36e38f(J))],le);let oe=class extends ge{constructor(_0xe6d6d3,_0x1876ef,_0x5586e7,_0x1e06bd,_0x112dc9,_0x480b95,_0x112625,_0x3e5b8e,_0x3b11d6,_0x40dc06,_0x5303c0,_0x3d8a98,_0x52105a){var _0x4946b8=_0x1970a9;super(_0xe6d6d3,_0x1876ef,_0x5586e7,_0x1e06bd,_0x112dc9,_0x3b11d6,_0x3d8a98,_0x3e5b8e,_0x52105a),D(this,'status',_0x4946b8(0x408)),D(this,'_resendTimeout',0x0),D(this,_0x4946b8(0x465)),D(this,_0x4946b8(0x215)),(this[_0x4946b8(0x2e7)]=_0x112625,this[_0x4946b8(0x179)]=_0x40dc06,this[_0x4946b8(0x37e)]=_0x5303c0,this[_0x4946b8(0x356)]=_0x52105a,_0x480b95&&(this[_0x4946b8(0x465)]=_0x480b95,this['_sender']=this[_0x4946b8(0x465)][_0x4946b8(0x22c)](({reqId:_0x5d94cb,timeout:_0x31c1ba})=>{var _0x1b327f=_0x4946b8;this[_0x1b327f(0x35d)](_0x5d94cb,_0x31c1ba);})));}[_0x1970a9(0x2b0)](_0x43f170){var _0x36f17c=_0x1970a9;return this[_0x36f17c(0x387)][_0x36f17c(0x227)](_0x43f170),this;}[_0x1970a9(0x36d)](_0x21127e){var _0x22f135=_0x1970a9;if(this['_checkMissing'](_0x21127e))return this['_clearScheduledTask'](),this['_injector'][_0x22f135(0x185)](ee,this[_0x22f135(0x402)],this[_0x22f135(0x3b9)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x21127e],this[_0x22f135(0x2b8)]);try{const _0x40f09a=this['_transformService']['transformChangesets']([_0x21127e],[this['_awaitingChangeset']],!0x1);if(_0x24d7db(_0x40f09a)){const {c1Prime:_0x4f84d2,c2Prime:_0x1e7b20}=_0x40f09a,_0x5d4bef=this['_transformService']['transformMutationsWithChangeset'](_0x4f84d2[0x0],this[_0x22f135(0x387)]);if(_0x5cc134(_0x5d4bef)){const {c1Prime:_0x509446,m2Prime:_0x5edf89}=_0x5d4bef;return this[_0x22f135(0x3ca)](_0x509446),_0x1e7b20[0x0][_0x22f135(0x386)]=this['_getCurrentRevision'](),this[_0x22f135(0x1d6)](),this[_0x22f135(0x2e7)][_0x22f135(0x185)](oe,this[_0x22f135(0x402)],this[_0x22f135(0x3b9)],_0x1e7b20[0x0],_0x5edf89,this[_0x22f135(0x2b8)],void 0x0);}throw _0x5d4bef['error'];}throw _0x40f09a['error'];}catch(_0x3a8297){return this[_0x22f135(0x179)][_0x22f135(0x421)](_0x3a8297),this['_onConflict'](!0x1);}}[_0x1970a9(0x3bf)](_0x37eb9a){var _0x311e17=_0x1970a9;if(this[_0x311e17(0x1d6)](),this[_0x311e17(0x2af)](_0x37eb9a))return this[_0x311e17(0x2e7)][_0x311e17(0x185)](ee,this[_0x311e17(0x402)],this[_0x311e17(0x3b9)],null,this[_0x311e17(0x387)],this['_awaitingChangeset'],[],this['_handler']);this[_0x311e17(0x366)]();const _0x27c8c5=this['_injector']['createInstance'](ae,this[_0x311e17(0x402)],this['type'],this[_0x311e17(0x387)],this[_0x311e17(0x2b8)]);return _0x27c8c5[_0x311e17(0x35f)](),_0x27c8c5[_0x311e17(0x42d)](),_0x27c8c5;}[_0x1970a9(0x3c3)](_0x499ab2){var _0x41107c=_0x1970a9;return this['_onConflict'](!!(_0x499ab2!=null&&_0x499ab2[_0x41107c(0x20a)]));}[_0x1970a9(0x1f6)](_0xfaf546){var _0x10d6a1=_0x1970a9;return this[_0x10d6a1(0x21a)]>gi?this['toggleOffline']():(this[_0x10d6a1(0x465)]=Ii(this[_0x10d6a1(0x21a)],{'timeout':this['_resendTimeout'],'reqId':_0xfaf546[_0x10d6a1(0x35c)]}),this[_0x10d6a1(0x215)]=this['_resendTimer'][_0x10d6a1(0x22c)](({reqId:_0x520f7f,timeout:_0x1cda1c})=>{var _0x3a51e6=_0x10d6a1;this[_0x3a51e6(0x35d)](_0x520f7f,_0x1cda1c);}),this);}[_0x1970a9(0x205)](){var _0x5de10c=_0x1970a9;return this['_clearScheduledTask'](),this[_0x5de10c(0x2e7)][_0x5de10c(0x185)](de,this['unitID'],this[_0x5de10c(0x3b9)],this[_0x5de10c(0x371)],this[_0x5de10c(0x387)],this[_0x5de10c(0x2b8)]);}[_0x1970a9(0x3f5)](){return this;}['resend'](){var _0x619bc3=_0x1970a9;this['_handler'][_0x619bc3(0x414)](this['_awaitingChangeset']);}[_0x1970a9(0x22a)](_0x242f23){var _0x241839=_0x1970a9;return this[_0x241839(0x1d6)](),this[_0x241839(0x2e7)]['createInstance'](ue,this[_0x241839(0x402)],this[_0x241839(0x3b9)],null,this[_0x241839(0x387)],this[_0x241839(0x2b8)],_0x242f23);}[_0x1970a9(0x35d)](_0x50f714,_0x37f57d){var _0x457679=_0x1970a9,_0x5de700;_0x50f714===((_0x5de700=this['_awaitingChangeset'])==null?void 0x0:_0x5de700[_0x457679(0x35c)])&&(this['resend'](),this[_0x457679(0x21a)]=_0x37f57d===0x0?0x3e8:_0x37f57d*0x2);}[_0x1970a9(0x1d6)](){var _0x572b15=_0x1970a9,_0x1629c8;(_0x1629c8=this['_sender'])==null||_0x1629c8[_0x572b15(0x2b9)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x253c3d(_0x9d7216)),w(0x7,_0x253c3d(_0x54f50d)),w(0x8,_0x2fde4d),w(0x9,_0x41ff63),w(0xa,_0x1f95db),w(0xb,_0x5b65e3),w(0xc,_0x36e38f(J))],oe);let ue=class extends ge{constructor(_0x45c9a2,_0x340189,_0x3c0f54,_0x1753d0,_0x2028b1,_0x24058=!0x1,_0x56359c,_0x3ff24f,_0x3c82a2,_0x369a48,_0x381507,_0x34d637,_0x4c5376){var _0x10737f=_0x1970a9;super(_0x45c9a2,_0x340189,_0x3c0f54,_0x1753d0,_0x2028b1,_0x3ff24f,_0x3c82a2,_0x369a48,_0x4c5376),D(this,'status','conflict'),(this[_0x10737f(0x39e)]=_0x24058,this['_permissionService']=_0x56359c,this[_0x10737f(0x2fd)]=_0x381507,this[_0x10737f(0x17c)]=_0x34d637,this['localCacheService']=_0x4c5376,this[_0x10737f(0x2f6)](),this[_0x10737f(0x2a7)](),this[_0x10737f(0x291)]());}['appendMutation'](){return this;}[_0x1970a9(0x36d)](){return this;}[_0x1970a9(0x3bf)](){return this;}[_0x1970a9(0x3c3)](){return this;}['onRemoteRetry'](){return this;}[_0x1970a9(0x205)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x3950b1=_0x1970a9;throw new Error(_0x3950b1(0x2ba));}[_0x1970a9(0x2a7)](){var _0x392c65=_0x1970a9,_0x25a316;(_0x25a316=this[_0x392c65(0x2ef)])==null||_0x25a316[_0x392c65(0x453)](this[_0x392c65(0x402)],this[_0x392c65(0x3b9)],null,[]);}['_showConflictNotification'](){var _0x5a24e9=_0x1970a9;this['_isPermissionRej']?this[_0x5a24e9(0x17c)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x5a24e9(0x17c)][_0x5a24e9(0x1f7)]({'id':re[_0x5a24e9(0x457)]});}['_disableEditing'](){var _0x1f0683=_0x1970a9;this[_0x1f0683(0x306)]['updatePermissionPoint'](new _0x50fba4(this[_0x1f0683(0x402)])['id'],!0x1);}};ue=Se([w(0x6,_0x253c3d(_0x4a0dfc)),w(0x7,_0x2fde4d),w(0x8,_0x5b65e3),w(0x9,_0x253c3d(_0x54f50d)),w(0xa,_0x253c3d(_0x1de809)),w(0xb,_0x253c3d(ve)),w(0xc,_0x36e38f(J))],ue);let de=class extends ge{constructor(_0x3a56ea,_0x3faee0,_0x25f141,_0x50838a,_0x48c903,_0x3b3d72,_0x186c45,_0x37bb61,_0x5018d0,_0x29b447){var _0x4dcdb5=_0x1970a9;super(_0x3a56ea,_0x3faee0,_0x25f141,_0x50838a,_0x48c903,_0x37bb61,_0x5018d0,_0x186c45,_0x29b447),D(this,_0x4dcdb5(0x234),_0x4dcdb5(0x388)),this['_injector']=_0x3b3d72;}[_0x1970a9(0x2b0)](_0x22b4b5){var _0x15be2c=_0x1970a9;return this[_0x15be2c(0x387)][_0x15be2c(0x227)](_0x22b4b5),this[_0x15be2c(0x42d)](),this;}['onRemoteChangeset'](_0x253cd2){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x922b63=_0x1970a9;throw new Error(_0x922b63(0x249));}[_0x1970a9(0x3c3)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){return this;}[_0x1970a9(0x3f5)](){var _0x503fa9=_0x1970a9;const {_injector:_0x22f59c,_pendingMutations:_0x2c7f24,_awaitingChangeset:_0x10688e,unitID:_0x58bc39,_handler:_0x4094e1,type:_0xb7751}=this,_0x1c8dd5=Ti(_0x22f59c,_0x58bc39,_0xb7751,_0x10688e,_0x2c7f24,_0x4094e1);return _0x1c8dd5 instanceof ae?_0x1c8dd5[_0x503fa9(0x35f)]():(_0x1c8dd5 instanceof oe||_0x1c8dd5 instanceof le)&&_0x1c8dd5['resend'](),_0x1c8dd5;}[_0x1970a9(0x3a0)](){var _0x5024ad=_0x1970a9;throw new Error(_0x5024ad(0x337));}};de=Se([w(0x5,_0x253c3d(_0x9d7216)),w(0x6,_0x253c3d(_0x54f50d)),w(0x7,_0x2fde4d),w(0x8,_0x5b65e3),w(0x9,_0x36e38f(J))],de);let ee=class extends ge{constructor(_0x2c5961,_0x190d10,_0x14eda0,_0x226722,_0x59cb33,_0x244e3e,_0x9c259a,_0x8e3882,_0x7ec69f,_0x1ef283,_0x74e7b8,_0x530e10,_0x67e287,_0x4632b7){var _0x2441df=_0x1970a9;super(_0x2c5961,_0x190d10,_0x14eda0,_0x226722,_0x9c259a,_0x74e7b8,_0x530e10,_0x7ec69f,_0x4632b7),D(this,_0x2441df(0x234),_0x2441df(0x1a1)),(this['_acknowledgedAwaitingChangeset']=_0x59cb33,this[_0x2441df(0x38e)]=_0x244e3e,this[_0x2441df(0x2e7)]=_0x8e3882,this['_logService']=_0x1ef283,this['_transformService']=_0x67e287,this[_0x2441df(0x356)]=_0x4632b7);}[_0x1970a9(0x46c)](_0x1280fd){var _0x1adf31=_0x1970a9;try{const _0x4ac67a=[..._0x1280fd,...this[_0x1adf31(0x38e)]],_0x3b2093=[this['_awaitingChangeset']||this[_0x1adf31(0x3de)]][_0x1adf31(0x1d2)](_0x2544ce=>!!_0x2544ce);let _0x2c17cb,_0x33b8ab;if(_0x3b2093[_0x1adf31(0x439)]){const _0x440677=this[_0x1adf31(0x37e)]['transformChangesets'](_0x4ac67a,_0x3b2093,!0x1);if(!_0x24d7db(_0x440677))throw _0x440677['error'];_0x2c17cb=_0x440677['c1Prime'],_0x33b8ab=_0x440677[_0x1adf31(0x42a)];}else _0x2c17cb=_0x4ac67a,_0x33b8ab=[];let _0x3bc2ec=this[_0x1adf31(0x387)];_0x2c17cb[_0x1adf31(0x445)](_0xf5e5b5=>{var _0x50e6eb=_0x1adf31;let _0x108adc;if(_0x3bc2ec[_0x50e6eb(0x439)]){const _0xe73164=this['_transformService'][_0x50e6eb(0x1c6)](_0xf5e5b5,_0x3bc2ec);if(!_0x5cc134(_0xe73164))throw _0xe73164[_0x50e6eb(0x421)];_0x108adc=_0xe73164[_0x50e6eb(0x2a2)],_0x3bc2ec=_0xe73164[_0x50e6eb(0x349)];}else _0x108adc=_0xf5e5b5;this['_executeRemoteChangeset'](_0x108adc);}),this[_0x1adf31(0x3de)]&&this['_incrementRevisionNumber'](),this[_0x1adf31(0x371)]&&_0x33b8ab[_0x1adf31(0x439)]&&(_0x33b8ab[0x0][_0x1adf31(0x386)]=this['_getCurrentRevision']());let _0x8d901d;if(this[_0x1adf31(0x371)]&&_0x3bc2ec[_0x1adf31(0x439)]!==0x0)_0x8d901d=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](oe,this[_0x1adf31(0x402)],this[_0x1adf31(0x3b9)],_0x33b8ab[0x0],_0x3bc2ec,this[_0x1adf31(0x2b8)],void 0x0);else{if(this[_0x1adf31(0x371)]&&_0x3bc2ec[_0x1adf31(0x439)]===0x0)_0x33b8ab[0x0][_0x1adf31(0x386)]=this[_0x1adf31(0x30b)](),_0x8d901d=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](le,this['unitID'],this['type'],_0x33b8ab[0x0],this[_0x1adf31(0x2b8)]);else{if(_0x3bc2ec['length']!==0x0){const _0x1099ea=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](ae,this[_0x1adf31(0x402)],this[_0x1adf31(0x3b9)],_0x3bc2ec,this['_handler']);_0x1099ea['_schedule'](),_0x8d901d=_0x1099ea;}else _0x8d901d=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](be,this[_0x1adf31(0x402)],this[_0x1adf31(0x3b9)],this['_handler']);}}return _0x8d901d['_updateLocalCache'](),_0x8d901d;}catch(_0x373b0f){return this[_0x1adf31(0x179)]['error'](_0x1adf31(0x2ce),_0x1adf31(0x168),_0x373b0f),this[_0x1adf31(0x2e7)]['createInstance'](ue,this['unitID'],this[_0x1adf31(0x3b9)],this[_0x1adf31(0x371)],this[_0x1adf31(0x387)],this['_handler'],!0x1);}}[_0x1970a9(0x3a0)](){var _0x205639=_0x1970a9;throw new Error(_0x205639(0x341));}[_0x1970a9(0x2b0)](_0x2418e0){var _0x3fffad=_0x1970a9;return this[_0x3fffad(0x387)]['push'](_0x2418e0),this;}['onRemoteChangeset'](_0x16fdb5){return this['_queuedRemoteChangesets']['push'](_0x16fdb5),this;}[_0x1970a9(0x3bf)](_0x5efe50){var _0x561b0d=_0x1970a9;if(this[_0x561b0d(0x371)])return this[_0x561b0d(0x3de)]=this[_0x561b0d(0x371)],this[_0x561b0d(0x371)]=null,this;throw new Error(_0x561b0d(0x241));}[_0x1970a9(0x3c3)](_0x428666){var _0x2b3084=_0x1970a9;return this['_onConflict'](!!(_0x428666!=null&&_0x428666[_0x2b3084(0x20a)]));}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){var _0x432f87=_0x1970a9;return this[_0x432f87(0x2e7)][_0x432f87(0x185)](de,this[_0x432f87(0x402)],this[_0x432f87(0x3b9)],this[_0x432f87(0x371)],this[_0x432f87(0x387)],this[_0x432f87(0x2b8)]);}[_0x1970a9(0x3f5)](){return this;}[_0x1970a9(0x22a)](_0x3ff7cc){var _0x492f34=_0x1970a9;return this[_0x492f34(0x2e7)][_0x492f34(0x185)](ue,this[_0x492f34(0x402)],this[_0x492f34(0x3b9)],this[_0x492f34(0x371)],this['_pendingMutations'],this['_handler'],_0x3ff7cc);}};ee=Se([w(0x7,_0x253c3d(_0x9d7216)),w(0x8,_0x253c3d(_0x54f50d)),w(0x9,_0x41ff63),w(0xa,_0x2fde4d),w(0xb,_0x5b65e3),w(0xc,_0x1f95db),w(0xd,_0x36e38f(J))],ee);function Ti(_0x333a28,_0x184199,_0x564aa5,_0x4345fe,_0x188ed1,_0x2ac6b7){var _0x17674d=_0x1970a9;return _0x4345fe&&_0x188ed1[_0x17674d(0x439)]?_0x333a28['createInstance'](oe,_0x184199,_0x564aa5,_0x4345fe,_0x188ed1,_0x2ac6b7,void 0x0):_0x4345fe?_0x333a28[_0x17674d(0x185)](le,_0x184199,_0x564aa5,_0x4345fe,_0x2ac6b7):_0x188ed1[_0x17674d(0x439)]?_0x333a28[_0x17674d(0x185)](ae,_0x184199,_0x564aa5,_0x188ed1,_0x2ac6b7):_0x333a28[_0x17674d(0x185)](be,_0x184199,_0x564aa5,_0x2ac6b7);}var Bs=Object[_0x1970a9(0x16f)],Pt=(_0x138b5d,_0x2eadb6,_0x3235a3,_0x3cbeb9)=>{var _0x32a6be=_0x1970a9;for(var _0xd3ed04=_0x3cbeb9>0x1?void 0x0:_0x3cbeb9?Bs(_0x2eadb6,_0x3235a3):_0x2eadb6,_0x5f0d35=_0x138b5d[_0x32a6be(0x439)]-0x1,_0xd58e72;_0x5f0d35>=0x0;_0x5f0d35--)(_0xd58e72=_0x138b5d[_0x5f0d35])&&(_0xd3ed04=_0xd58e72(_0xd3ed04)||_0xd3ed04);return _0xd3ed04;},$=(_0x237765,_0x3d4edc)=>(_0x48d94c,_0x2f0603)=>_0x3d4edc(_0x48d94c,_0x2f0603,_0x237765);let st=class extends _0x3dd074{constructor(_0x5eb5c9,_0x2075d4,_0x225c0d,_0x5b1d43,_0x1b08aa,_0x55c250,_0x142499,_0x2f0ada,_0x40e0ec,_0x5e4869,_0x3f6e91,_0xbfe20d,_0x254eaf,_0x58fd9b){var _0x7b6bab=_0x1970a9;super(),D(this,_0x7b6bab(0x1e1),new _0x3e8a63(null)),D(this,'state$',this[_0x7b6bab(0x1e1)][_0x7b6bab(0x173)]()),D(this,_0x7b6bab(0x1cd)),D(this,'_collaborationPaused',!0x1),D(this,_0x7b6bab(0x253),''),D(this,'_changesetReqId',0x0),D(this,_0x7b6bab(0x261),this[_0x7b6bab(0x2e2)][_0x7b6bab(0x296)](_0x2d041f(_0x339d44=>_0x339d44?_0x339d44[_0x7b6bab(0x234)]:Si['OFFLINE']),_0x280f7e(0x1))),D(this,_0x7b6bab(0x299),!0x1),D(this,_0x7b6bab(0x3ec),[]),(this[_0x7b6bab(0x402)]=_0x5eb5c9,this[_0x7b6bab(0x34e)]=_0x2075d4,this[_0x7b6bab(0x2c2)]=_0x225c0d,this[_0x7b6bab(0x2e7)]=_0x5b1d43,this['_compressMutationService']=_0x1b08aa,this[_0x7b6bab(0x2fd)]=_0x55c250,this[_0x7b6bab(0x20b)]=_0x142499,this[_0x7b6bab(0x15e)]=_0x2f0ada,this[_0x7b6bab(0x461)]=_0x40e0ec,this[_0x7b6bab(0x179)]=_0x5e4869,this[_0x7b6bab(0x363)]=_0x3f6e91,this[_0x7b6bab(0x306)]=_0xbfe20d,this[_0x7b6bab(0x1ba)]=_0x254eaf,this[_0x7b6bab(0x2ef)]=_0x58fd9b);}get[_0x1970a9(0x1bf)](){var _0x213446=_0x1970a9;return this[_0x213446(0x1cd)];}async['init'](){var _0xdc8831=_0x1970a9;if(this['state'])throw new Error(_0xdc8831(0x45f));await this[_0xdc8831(0x294)]();}[_0x1970a9(0x279)](){var _0x43b2f5=_0x1970a9;return this[_0x43b2f5(0x1d3)]=!0x0,_0x19f54d(()=>{var _0x2f5669=_0x43b2f5;this['_collaborationPaused']=!0x1,this[_0x2f5669(0x1e8)]();});}[_0x1970a9(0x23d)](_0x43370c){var _0x1b356b=_0x1970a9;this[_0x1b356b(0x42e)](_0x43370c);}[_0x1970a9(0x354)](_0x16f1b8){var _0x132c16=_0x1970a9;this[_0x132c16(0x1cd)]=_0x16f1b8,this[_0x132c16(0x1e1)]['next'](_0x16f1b8);}async[_0x1970a9(0x294)](){var _0x24222e=_0x1970a9,_0xf67c63;this['_updateState'](await this['_createInitialState']()),this[_0x24222e(0x1ba)]&&((_0xf67c63=this[_0x24222e(0x1ba)])==null||_0xf67c63[_0x24222e(0x1ce)](this['unitID']),this['disposeWithMe'](this[_0x24222e(0x1ba)]['getUnitStatus$'](this['unitID'])[_0x24222e(0x22c)](_0x2fcb7e=>{var _0x12d68b=_0x24222e;this[_0x12d68b(0x179)][_0x12d68b(0x214)](_0x12d68b(0x242),_0x12d68b(0x34b),_0x2fcb7e),_0x2fcb7e===mi['OTHER_CLIENTS_EDITING']?(this[_0x12d68b(0x15e)][_0x12d68b(0x1f7)]({'id':re[_0x12d68b(0x39c)]}),this[_0x12d68b(0x306)][_0x12d68b(0x201)](new _0x50fba4(this['unitID'])['id'],!0x1),this[_0x12d68b(0x306)][_0x12d68b(0x3db)](!0x1)):(this[_0x12d68b(0x306)][_0x12d68b(0x201)](new _0x50fba4(this[_0x12d68b(0x402)])['id'],!0x0),this[_0x12d68b(0x306)][_0x12d68b(0x3db)](!0x0));})));let _0x9f9b1f=!0x1;return this[_0x24222e(0x455)](this['session']['sessionStatus$']['subscribe'](_0xb18e68=>{var _0x170487=_0x24222e;_0xb18e68===me[_0x170487(0x3c7)]?this['_toggleOnline'](_0x9f9b1f):_0xb18e68===me[_0x170487(0x28e)]&&(_0x9f9b1f=!0x0,this[_0x170487(0x401)]());})),this[_0x24222e(0x455)](this['session'][_0x24222e(0x2b5)][_0x24222e(0x22c)](_0x66aafa=>{var _0x4a3092=_0x24222e;try{switch(_0x66aafa['eventID']){case _0x274cb2['NEW_CHANGESETS']:{this[_0x4a3092(0x1c5)](_0x36f6cc(_0x66aafa['data']));break;}case _0x274cb2[_0x4a3092(0x29f)]:{this['_onRemoteACK'](_0x66aafa['data']);break;}case _0x274cb2[_0x4a3092(0x36a)]:{this['_onRemoteRejected']();break;}case _0x274cb2[_0x4a3092(0x192)]:{this[_0x4a3092(0x3b6)](_0x66aafa[_0x4a3092(0x32f)]);break;}case _0x274cb2['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x66aafa[_0x4a3092(0x32f)][_0x4a3092(0x364)]['map'](_0x1fd8eb=>_0x36f6cc(_0x1fd8eb)));break;}case _0x274cb2[_0x4a3092(0x416)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x274cb2[_0x4a3092(0x43f)]:break;}}catch(_0x4e2893){throw console[_0x4a3092(0x421)](_0x4a3092(0x384),_0x4e2893),_0x4e2893;}})),this[_0x24222e(0x1cd)];}[_0x1970a9(0x200)](){var _0x5ca087=_0x1970a9;this[_0x5ca087(0x299)]=!0x1;}['_lockTransition'](){var _0x170aa7=_0x1970a9;if(this[_0x170aa7(0x299)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x1970a9(0x42e)](_0x1d1df2){var _0x2a2b40=_0x1970a9;this['_lockTransition'](),this[_0x2a2b40(0x354)](this[_0x2a2b40(0x1cd)]['appendMutation'](_0x1d1df2)),this['_unlockTransition']();}[_0x1970a9(0x1c5)](_0x3658b6){var _0x2b118f=_0x1970a9;if(!(_0x3658b6[_0x2b118f(0x470)]<=this[_0x2b118f(0x20b)]['getCurrentRevOfUnit'](this[_0x2b118f(0x402)]))){if(this[_0x2b118f(0x1d3)]){this[_0x2b118f(0x3ec)]['push'](_0x3658b6);return;}this[_0x2b118f(0x2bd)](_0x3658b6);}}[_0x1970a9(0x1e8)](){var _0x418c31=_0x1970a9;this[_0x418c31(0x3ec)]['forEach'](_0x46c9c0=>this['_applyRemoteChangeset'](_0x46c9c0)),this['_remoteChangesetQueue']=[];}[_0x1970a9(0x2bd)](_0x1b3aef){var _0x15b400=_0x1970a9;const _0x52fe4f=this['_compressMutationService'][_0x15b400(0x3f8)][_0x15b400(0x3ab)](this['_compressMutationService']['interceptor'][_0x15b400(0x322)]()[_0x15b400(0x2f1)])(_0x1b3aef[_0x15b400(0x3b1)],null)||_0x1b3aef[_0x15b400(0x3b1)],_0x1d8e30={..._0x1b3aef,'mutations':_0x52fe4f};this[_0x15b400(0x258)](),this[_0x15b400(0x354)](this[_0x15b400(0x1cd)][_0x15b400(0x36d)](_0x1d8e30)),this[_0x15b400(0x200)]();}[_0x1970a9(0x248)](_0x506e01){var _0x21af2d=_0x1970a9;this[_0x21af2d(0x258)](),this[_0x21af2d(0x354)](this[_0x21af2d(0x1cd)][_0x21af2d(0x3bf)](_0x506e01)),this[_0x21af2d(0x200)]();}[_0x1970a9(0x1f4)](_0x36b7b9){var _0x271553=_0x1970a9;this[_0x271553(0x258)](),this[_0x271553(0x354)](this['_state'][_0x271553(0x3c3)](_0x36b7b9)),this[_0x271553(0x200)]();}['_onRemoteRetry'](_0x5018dc){var _0x66cb0d=_0x1970a9;this[_0x66cb0d(0x258)](),this[_0x66cb0d(0x354)](this[_0x66cb0d(0x1cd)][_0x66cb0d(0x1f6)](_0x5018dc)),this[_0x66cb0d(0x200)]();}[_0x1970a9(0x33d)](_0x262777){var _0x266c01=_0x1970a9;if(!(this[_0x266c01(0x1cd)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x16a74c=_0x262777[_0x266c01(0x417)](_0x1eae7f=>{var _0x444831=_0x266c01;const _0xb11a1c=this[_0x444831(0x27f)][_0x444831(0x3f8)][_0x444831(0x3ab)](this['_compressMutationService']['interceptor'][_0x444831(0x322)]()[_0x444831(0x2f1)])(_0x1eae7f[_0x444831(0x3b1)],null)||_0x1eae7f[_0x444831(0x3b1)];return{..._0x1eae7f,'mutations':_0xb11a1c};});this[_0x266c01(0x258)](),this[_0x266c01(0x354)](this[_0x266c01(0x1cd)]['onMissedChangesetFetched'](_0x16a74c)),this['_unlockTransition']();}[_0x1970a9(0x401)](){var _0x5a11e9=_0x1970a9;this[_0x5a11e9(0x258)](),this[_0x5a11e9(0x354)](this[_0x5a11e9(0x1cd)][_0x5a11e9(0x205)]()),this[_0x5a11e9(0x200)]();}[_0x1970a9(0x351)](_0x81d4f=!0x1){var _0x85960=_0x1970a9;this['_lockTransition'](),this[_0x85960(0x354)](this[_0x85960(0x1cd)][_0x85960(0x3f5)]()),this[_0x85960(0x200)]();const _0x266218=this['_state'];_0x81d4f&&_0x266218 instanceof be&&(this[_0x85960(0x258)](),this[_0x85960(0x354)](_0x266218[_0x85960(0x171)]()),this[_0x85960(0x200)]());}async['_createInitialState'](){return new Promise(_0x391616=>{var _0x7a61cb=_0x35ab;this[_0x7a61cb(0x34e)][_0x7a61cb(0x15d)]['pipe'](_0x4f52fd(0x1))[_0x7a61cb(0x22c)](async _0x2f01b2=>{var _0x38ef81=_0x7a61cb;_0x391616(await this[_0x38ef81(0x424)](_0x2f01b2===me[_0x38ef81(0x3c7)]));});});}['_createHandler'](){var _0x1eaf3b=_0x1970a9;const _0x599095=this[_0x1eaf3b(0x402)];return{'onStateChange':(_0x233c64,_0x1d475d)=>{var _0x303fb8=_0x1eaf3b;if(_0x233c64!==this[_0x303fb8(0x1cd)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x233c64[_0x303fb8(0x234)]+'\x0aAfter:\x20'+_0x1d475d[_0x303fb8(0x234)]+_0x303fb8(0x46f)+this[_0x303fb8(0x1cd)][_0x303fb8(0x234)]);this[_0x303fb8(0x354)](_0x1d475d);},'onSendChangeset':_0x5b84a2=>{var _0x535b5a=_0x1eaf3b;_0x5b84a2['sid']||(_0x5b84a2[_0x535b5a(0x21e)]=this['_changesetSessionId'],_0x5b84a2[_0x535b5a(0x35c)]=++this[_0x535b5a(0x1b9)]);const _0x3f95fd={'eventID':_0x274cb2[_0x535b5a(0x1d8)],'data':{'unitID':_0x5b84a2[_0x535b5a(0x402)],'unitType':this[_0x535b5a(0x2c2)],'changeset':_0x5b84a2,'memberID':this[_0x535b5a(0x34e)][_0x535b5a(0x2df)]()}};this['session']['send'](_0x3f95fd,this['unitID']);},'onMissingChangesets':({from:_0x1ddc68,to:_0x55ea8d})=>{var _0x320f00=_0x1eaf3b;this[_0x320f00(0x179)][_0x320f00(0x214)](_0x320f00(0x242),_0x320f00(0x25f)+_0x1ddc68+_0x320f00(0x327)+_0x55ea8d);const _0x596c1d={'eventID':_0x274cb2[_0x320f00(0x338)],'data':{'unitID':_0x599095,'unitType':this[_0x320f00(0x2c2)],'from':_0x1ddc68,'to':_0x55ea8d}};this[_0x320f00(0x34e)][_0x320f00(0x43b)](_0x596c1d,this['unitID']);}};}async['_createInitialStateImpl'](_0x83c08d){var _0x578be1=_0x1970a9,_0x18fedc,_0x41fab1,_0x3519d2;const _0x221799=await((_0x18fedc=this[_0x578be1(0x2ef)])==null?void 0x0:_0x18fedc[_0x578be1(0x311)](this[_0x578be1(0x402)])),_0x43de4d=(_0x41fab1=_0x221799==null?void 0x0:_0x221799['mutations'])!=null?_0x41fab1:[],_0x3c7b20=(_0x3519d2=_0x221799==null?void 0x0:_0x221799[_0x578be1(0x2bb)])!=null?_0x3519d2:null,_0x1e0a4b=!!(_0x3c7b20!=null&&_0x3c7b20['sid'])&&!!(_0x3c7b20!=null&&_0x3c7b20[_0x578be1(0x35c)]);this[_0x578be1(0x253)]=_0x1e0a4b?_0x3c7b20['sid']:_0x48a14e(),this[_0x578be1(0x1b9)]=_0x1e0a4b?_0x3c7b20[_0x578be1(0x35c)]:0x0;const _0x43cb14=this['unitID'];try{this['_replayCachedMutations'](_0x3c7b20,_0x43de4d);}catch(_0x199e3c){this['_logService'][_0x578be1(0x421)](_0x199e3c);}const _0xcbb929=this[_0x578be1(0x3b7)]();if(_0x83c08d){const _0x14ce70=Ti(this[_0x578be1(0x2e7)],_0x43cb14,this[_0x578be1(0x2c2)],_0x3c7b20,_0x43de4d,_0xcbb929);return _0x14ce70 instanceof ae?_0x14ce70[_0x578be1(0x35f)]():(_0x14ce70 instanceof oe||_0x14ce70 instanceof le)&&_0x14ce70[_0x578be1(0x3a0)](),_0x14ce70;}return this[_0x578be1(0x2e7)][_0x578be1(0x185)](de,_0x43cb14,this[_0x578be1(0x2c2)],_0x3c7b20,_0x43de4d,_0xcbb929);}[_0x1970a9(0x274)](_0x3f326c,_0x367428){var _0x1d51e7=_0x1970a9,_0x3bd7bf,_0x21074a;const _0x1eea70=this[_0x1d51e7(0x27f)]['interceptor'][_0x1d51e7(0x3ab)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x1d51e7(0x2f1)]);(_0x3bd7bf=_0x1eea70((_0x3f326c==null?void 0x0:_0x3f326c[_0x1d51e7(0x3b1)])||[],null))==null||_0x3bd7bf[_0x1d51e7(0x445)](_0x365072=>this[_0x1d51e7(0x363)][_0x1d51e7(0x430)](_0x365072['id'],_0x365072[_0x1d51e7(0x423)])),(_0x21074a=_0x1eea70(_0x367428||[],null))==null||_0x21074a[_0x1d51e7(0x445)](_0x12549b=>this[_0x1d51e7(0x363)][_0x1d51e7(0x430)](_0x12549b['id'],_0x12549b[_0x1d51e7(0x423)]));}};st=Pt([$(0x3,_0x253c3d(_0x9d7216)),$(0x4,_0x253c3d(_0x19f875)),$(0x5,_0x253c3d(_0x1de809)),$(0x6,_0x253c3d(_0x54f50d)),$(0x7,_0x253c3d(ve)),$(0x8,_0xe0db57),$(0x9,_0x41ff63),$(0xa,_0x2fde4d),$(0xb,_0x4a0dfc),$(0xc,_0x36e38f(_t)),$(0xd,_0x36e38f(J))],st);let It=class extends st{constructor(_0x42ffde,_0xcbe8ae,_0x7b51e7,_0x45e733,_0x2ddd56,_0x172460,_0x1451d7,_0x2d658c,_0x7caeba,_0x42df1a,_0x335bf0,_0x37cde4,_0x515f3e,_0x4c6c4f){var _0x4764fe=_0x1970a9;super(_0x42ffde,_0x7b51e7,_0xcbe8ae,_0x45e733,_0x2ddd56,_0x172460,_0x1451d7,_0x2d658c,_0x7caeba,_0x42df1a,_0x335bf0,_0x37cde4,_0x515f3e,_0x4c6c4f),D(this,'_handlerCallback',null),(this[_0x4764fe(0x402)]=_0x42ffde,this[_0x4764fe(0x3b9)]=_0xcbe8ae);}[_0x1970a9(0x398)](_0x41f0ca){var _0x51cf2e=_0x1970a9;this[_0x51cf2e(0x3e6)]=_0x41f0ca;}[_0x1970a9(0x19a)](){var _0x18ede7=_0x1970a9;this[_0x18ede7(0x3e6)]=null,super['dispose']();}[_0x1970a9(0x3b7)](){var _0x4b0e4f=_0x1970a9;const _0x549684=super[_0x4b0e4f(0x3b7)]();return _0x549684[_0x4b0e4f(0x165)]=_0x31e4a5=>{var _0x324df=_0x4b0e4f,_0x2ab52e,_0xbd041c;return(_0xbd041c=(_0x2ab52e=this[_0x324df(0x3e6)])==null?void 0x0:_0x2ab52e['onTransformIME'])==null?void 0x0:_0xbd041c['call'](_0x2ab52e,_0x31e4a5);},_0x549684[_0x4b0e4f(0x378)]=_0x2b100f=>{var _0x23f681=_0x4b0e4f,_0x375824,_0x538f48;return(_0x538f48=(_0x375824=this[_0x23f681(0x3e6)])==null?void 0x0:_0x375824[_0x23f681(0x378)])==null?void 0x0:_0x538f48[_0x23f681(0x3fe)](_0x375824,_0x2b100f);},_0x549684[_0x4b0e4f(0x2ea)]=_0x222bbc=>{var _0x43c0f2=_0x4b0e4f,_0x2b2434,_0x312578;return(_0x312578=(_0x2b2434=this[_0x43c0f2(0x3e6)])==null?void 0x0:_0x2b2434[_0x43c0f2(0x2ea)])==null?void 0x0:_0x312578[_0x43c0f2(0x3fe)](_0x2b2434,_0x222bbc);},_0x549684[_0x4b0e4f(0x250)]=_0x50f21c=>{var _0x4fb7c3=_0x4b0e4f,_0x5d7793,_0x155703;return(_0x155703=(_0x5d7793=this[_0x4fb7c3(0x3e6)])==null?void 0x0:_0x5d7793[_0x4fb7c3(0x250)])==null?void 0x0:_0x155703[_0x4fb7c3(0x3fe)](_0x5d7793,_0x50f21c);},_0x549684['onTransformRemoteChangesetByIMECache']=_0x4ff752=>{var _0x321159=_0x4b0e4f,_0xdf6c78,_0x51312d,_0x3319a7;if(!((_0xdf6c78=this[_0x321159(0x3e6)])!=null&&_0xdf6c78[_0x321159(0x31f)]))throw new Error(_0x321159(0x449));return(_0x3319a7=(_0x51312d=this[_0x321159(0x3e6)])==null?void 0x0:_0x51312d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3319a7[_0x321159(0x3fe)](_0x51312d,_0x4ff752);},_0x549684[_0x4b0e4f(0x36f)]=_0x1ecd24=>{var _0x4aa0df=_0x4b0e4f,_0x1d5cef,_0xe830db,_0x1081e7;if(!((_0x1d5cef=this[_0x4aa0df(0x3e6)])!=null&&_0x1d5cef['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4aa0df(0x33b));return(_0x1081e7=(_0xe830db=this[_0x4aa0df(0x3e6)])==null?void 0x0:_0xe830db['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1081e7[_0x4aa0df(0x3fe)](_0xe830db,_0x1ecd24);},_0x549684;}async['_init'](){var _0x8f1f62=_0x1970a9;const _0x1cee54=await super[_0x8f1f62(0x294)]();return this[_0x8f1f62(0x455)](this['_commandService']['onCommandExecuted']((_0x5f030b,_0x4b45fe)=>{var _0x4526cf=_0x8f1f62;if(_0x5f030b[_0x4526cf(0x3b9)]!==_0x384b46[_0x4526cf(0x372)]||_0x4b45fe!=null&&_0x4b45fe[_0x4526cf(0x3c4)]||_0x4b45fe!=null&&_0x4b45fe['onlyLocal']||_0x5f030b['id']===_0x3925f7['id'])return;const _0x172600=_0x5f030b[_0x4526cf(0x423)];if((_0x172600==null?void 0x0:_0x172600[_0x4526cf(0x447)])!==this[_0x4526cf(0x402)])return;const _0x130c95=_0x5f030b,_0x31b3da=this['_compressMutationService'][_0x4526cf(0x3f8)][_0x4526cf(0x3ab)](this[_0x4526cf(0x27f)]['interceptor']['getInterceptPoints']()[_0x4526cf(0x468)])([_0x130c95],this[_0x4526cf(0x461)])||[_0x130c95];this[_0x4526cf(0x42e)](_0x31b3da[0x0]);})),_0x1cee54;}};It=Pt([$(0x3,_0x253c3d(_0x9d7216)),$(0x4,_0x253c3d(_0x19f875)),$(0x5,_0x253c3d(_0x1de809)),$(0x6,_0x253c3d(_0x54f50d)),$(0x7,_0x253c3d(ve)),$(0x8,_0xe0db57),$(0x9,_0x41ff63),$(0xa,_0x2fde4d),$(0xb,_0x4a0dfc),$(0xc,_0x36e38f(_t)),$(0xd,_0x36e38f(J))],It);let St=class extends st{constructor(_0x4b36f5,_0xff087d,_0x36a60a,_0x1a0ab8,_0xe56f15,_0x22b9d0,_0x277112,_0x4b191a,_0x219dfe,_0x38f8f9,_0x2d5973,_0x54d335,_0x448061,_0x47c53d,_0x35c618){var _0x22f792=_0x1970a9;super(_0x4b36f5,_0x36a60a,_0xff087d,_0x1a0ab8,_0xe56f15,_0x22b9d0,_0x277112,_0x219dfe,_0x38f8f9,_0x2d5973,_0x54d335,_0x448061,_0x47c53d,_0x35c618),this[_0x22f792(0x402)]=_0x4b36f5,this['type']=_0xff087d,this[_0x22f792(0x368)]=_0x4b191a;}['_createHandler'](){var _0x3f47d9=_0x1970a9;const _0x4840d8=super['_createHandler']();return _0x4840d8[_0x3f47d9(0x2ea)]=_0x4bd5b3=>this[_0x3f47d9(0x368)][_0x3f47d9(0x365)](_0x4bd5b3),_0x4840d8;}async[_0x1970a9(0x294)](){var _0x5bc083=_0x1970a9;const _0x5d2c09=await super[_0x5bc083(0x294)]();return this['disposeWithMe'](this['_commandService'][_0x5bc083(0x34d)]((_0x1c0d73,_0x2c2dd7)=>{var _0x2acfdd=_0x5bc083;if(_0x1c0d73[_0x2acfdd(0x3b9)]!==_0x384b46[_0x2acfdd(0x372)]||_0x2c2dd7!=null&&_0x2c2dd7['fromCollab']||_0x2c2dd7!=null&&_0x2c2dd7[_0x2acfdd(0x2e4)])return;const _0x1185cf=_0x1c0d73[_0x2acfdd(0x423)];if((_0x1185cf==null?void 0x0:_0x1185cf[_0x2acfdd(0x447)])!==this['unitID'])return;const _0x4776b0=_0x1c0d73,_0x4a53a6=this[_0x2acfdd(0x27f)][_0x2acfdd(0x3f8)]['fetchThroughInterceptors'](this[_0x2acfdd(0x27f)][_0x2acfdd(0x3f8)][_0x2acfdd(0x322)]()['COMPRESS_MUTATION_SEND'])([_0x4776b0],this[_0x2acfdd(0x461)])||[_0x4776b0];this[_0x2acfdd(0x42e)](_0x4a53a6[0x0]);})),_0x5d2c09;}};St=Pt([$(0x3,_0x253c3d(_0x9d7216)),$(0x4,_0x253c3d(_0x19f875)),$(0x5,_0x253c3d(_0x1de809)),$(0x6,_0x253c3d(_0x54f50d)),$(0x7,_0x253c3d(it)),$(0x8,_0x253c3d(ve)),$(0x9,_0xe0db57),$(0xa,_0x41ff63),$(0xb,_0x2fde4d),$(0xc,_0x4a0dfc),$(0xd,_0x36e38f(_t)),$(0xe,_0x36e38f(J))],St);const js=_0x2ffbe9(_0x1970a9(0x161));function Fs(_0x325225){var _0x138bdc=_0x1970a9,_0x1929d5,_0x2a46c5,_0x464d80,_0x5aa6e1,_0x4c161c;const _0x5e8474=_0x325225[_0x138bdc(0x32f)],_0x8bf8b4=JSON['parse'](_0x5e8474);switch(_0x8bf8b4['cmd']){case F[_0x138bdc(0x238)]:case F[_0x138bdc(0x381)]:{const _0x48d0ba=_0x8bf8b4[_0x138bdc(0x429)];return{..._0x8bf8b4,'data':_0x48d0ba,'cmd':_0x8bf8b4['cmd']};}case F[_0x138bdc(0x2b6)]:{const _0x5c4e44=_0x8bf8b4[_0x138bdc(0x29a)];return{..._0x8bf8b4,'data':_0x5c4e44,'cmd':_0x8bf8b4['cmd']};}case F[_0x138bdc(0x376)]:{const _0x331149=_0x8bf8b4['collaMsg'];switch(_0x331149[_0x138bdc(0x332)]){case _0x274cb2[_0x138bdc(0x416)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x1929d5=_0x331149['permissionRejEvent'])==null?void 0x0:_0x1929d5['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x29f)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x2a46c5=_0x331149[_0x138bdc(0x395)])==null?void 0x0:_0x2a46c5['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x303)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x464d80=_0x331149['newCsEvent'])==null?void 0x0:_0x464d80['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x36a)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x5aa6e1=_0x331149[_0x138bdc(0x297)])==null?void 0x0:_0x5aa6e1['cs']},'cmd':_0x8bf8b4['cmd']};case _0x274cb2[_0x138bdc(0x192)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x4c161c=_0x331149[_0x138bdc(0x25a)])==null?void 0x0:_0x4c161c['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x3e0)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x314)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x1ed)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x2b1)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x29b)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x3df)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2['LIVESHARE_NEW_HOST']:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['liveShareNewHost']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x263)]:case _0x274cb2[_0x138bdc(0x22e)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['liveShareOperation']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x268)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['liveShareNewHost']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x319)]:return{..._0x8bf8b4,'data':_0x331149,'cmd':_0x8bf8b4['cmd']};case _0x274cb2[_0x138bdc(0x3e7)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x377)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x347)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['updatePermissionObjEvent']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x289)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x254)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x43f)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x1c3)]},'cmd':_0x8bf8b4['cmd']};default:return _0x8bf8b4;}}default:return _0x8bf8b4;}}function Vs(_0x353876){var _0x4c0ebe=_0x1970a9;switch(_0x353876[_0x4c0ebe(0x18c)]){case F['HEARTBEAT']:case F[_0x4c0ebe(0x381)]:return JSON[_0x4c0ebe(0x1af)]({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876['routeKey']});case F[_0x4c0ebe(0x33c)]:{let _0x25dae8;switch(_0x353876['data'][_0x4c0ebe(0x332)]){case _0x274cb2['UPDATE_CURSOR']:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x3e0)],'updateCursorEvent':_0x353876[_0x4c0ebe(0x32f)]['data']};break;}case _0x274cb2[_0x4c0ebe(0x29b)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x29b)],'leaveEvent':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2[_0x4c0ebe(0x1ed)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x1ed)],'joinEvent':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2['LIVESHARE_NEW_HOST']:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x224)],'liveShareNewHost':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2[_0x4c0ebe(0x22e)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x22e)],'liveShareOperation':_0x353876[_0x4c0ebe(0x32f)]['data']};break;}case _0x274cb2[_0x4c0ebe(0x268)]:{_0x25dae8={'eventID':_0x274cb2['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x353876['data']['data']};break;}case _0x274cb2[_0x4c0ebe(0x389)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x389)],'liveShareRequestHost':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2[_0x4c0ebe(0x263)]:{_0x25dae8={'eventID':_0x274cb2['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x25dae8={'eventID':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x332)]};}return JSON[_0x4c0ebe(0x1af)]({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876[_0x4c0ebe(0x1be)],'collaMsg':_0x25dae8});}case F[_0x4c0ebe(0x2b6)]:return JSON['stringify']({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876[_0x4c0ebe(0x1be)],'joinReq':_0x353876['data']});case F['LEAVE']:return JSON[_0x4c0ebe(0x1af)]({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876['routeKey'],'leaveReq':_0x353876['data']});default:throw new Error(_0x4c0ebe(0x1a3));}}var Gs=Object[_0x1970a9(0x16f)],Ws=(_0x5b1774,_0x3a5dce,_0x80c005,_0x22d0e1)=>{var _0x2d9c94=_0x1970a9;for(var _0x113a26=_0x22d0e1>0x1?void 0x0:_0x22d0e1?Gs(_0x3a5dce,_0x80c005):_0x3a5dce,_0x6d4076=_0x5b1774[_0x2d9c94(0x439)]-0x1,_0x5bb8fc;_0x6d4076>=0x0;_0x6d4076--)(_0x5bb8fc=_0x5b1774[_0x6d4076])&&(_0x113a26=_0x5bb8fc(_0x113a26)||_0x113a26);return _0x113a26;},ye=(_0x4b960f,_0x5e9a55)=>(_0x43e946,_0x36dfb5)=>_0x5e9a55(_0x43e946,_0x36dfb5,_0x4b960f);const Oi=_0x2ffbe9('univer-pro.collaboration-client-socket-service');function Ys(_0x108e57,_0x5aafeb,_0x3b4d10){var _0x2c60ed=_0x1970a9;return _0x108e57+'/'+_0x5aafeb+_0x2c60ed(0x16a)+_0x3b4d10+_0x2c60ed(0x1de);}let Wt=class extends _0x14f4a8{constructor(_0x46f9f7,_0x5ad360,_0x4e3af5,_0x4e56bd,_0x4ffe7f){var _0x443b39=_0x1970a9;super(),this[_0x443b39(0x2e7)]=_0x46f9f7,this[_0x443b39(0x15b)]=_0x5ad360,this[_0x443b39(0x180)]=_0x4e3af5,this[_0x443b39(0x179)]=_0x4e56bd,this[_0x443b39(0x15a)]=_0x4ffe7f;}[_0x1970a9(0x3a1)](_0x4756e9){var _0x4b3aff=_0x1970a9;const _0x1c8c5d=this['_injector'][_0x4b3aff(0x190)](_0x2b260f);if(!_0x1c8c5d)throw new Error(_0x4b3aff(0x2d6));const _0x4338c8=_0x1c8c5d[_0x4b3aff(0x33f)](_0x4756e9);if(!_0x4338c8)throw new Error(_0x4b3aff(0x474));const _0x2989cf=new _0x2f5548(),_0x55691d=new _0x5c9b29();_0x2989cf[_0x4b3aff(0x240)](_0x4338c8['close$'][_0x4b3aff(0x22c)](_0xe1031b=>_0x55691d[_0x4b3aff(0x28f)](_0xe1031b))),_0x2989cf['add'](_0x19f54d(()=>_0x55691d[_0x4b3aff(0x186)]()));const _0x6ecb9c=new _0x5c9b29();_0x2989cf[_0x4b3aff(0x240)](_0x4338c8[_0x4b3aff(0x43c)][_0x4b3aff(0x22c)](_0x3975a3=>_0x6ecb9c[_0x4b3aff(0x28f)](_0x3975a3))),_0x2989cf[_0x4b3aff(0x240)](_0x19f54d(()=>_0x6ecb9c[_0x4b3aff(0x186)]()));const _0x50ea20=new _0x5c9b29();_0x2989cf[_0x4b3aff(0x240)](_0x4338c8['message$'][_0x4b3aff(0x22c)](_0x4f1a05=>{var _0xc1df82=_0x4b3aff;const _0x17cf3d=Fs(_0x4f1a05);_0x50ea20[_0xc1df82(0x28f)](_0x17cf3d);})),_0x2989cf[_0x4b3aff(0x240)](_0x19f54d(()=>_0x50ea20['complete']()));let _0x8096ab;const _0x26a6d1=()=>{var _0x4bd475=_0x4b3aff;_0x6ecb9c[_0x4bd475(0x28f)](new Event(_0x4bd475(0x1d0))),_0x55691d[_0x4bd475(0x28f)](new Event(_0x4bd475(0x1d0))),_0x8096ab['close']();};return _0x8096ab={'memberID':'','close$':_0x55691d[_0x4b3aff(0x173)](),'error$':_0x6ecb9c[_0x4b3aff(0x173)](),'open$':_0x4338c8['open$'],'message$':_0x50ea20[_0x4b3aff(0x173)](),'send':_0x4f87a4=>{var _0xa8921=_0x4b3aff;if(_0x4f87a4[_0xa8921(0x18c)]===F[_0xa8921(0x33c)]){if(_0x4f87a4[_0xa8921(0x32f)][_0xa8921(0x332)]===_0x274cb2['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x8096ab,_0x4f87a4[_0xa8921(0x32f)])[_0xa8921(0x407)](_0x3aa565=>{var _0x12a783=_0xa8921;this['_logService'][_0x12a783(0x421)](_0x3aa565),_0x26a6d1();});return;}if(_0x4f87a4[_0xa8921(0x32f)][_0xa8921(0x332)]===_0x274cb2[_0xa8921(0x338)]){const _0x290fe2=_0x4f87a4[_0xa8921(0x32f)];this[_0xa8921(0x38d)](_0x290fe2)[_0xa8921(0x411)](_0x16eb2c=>{var _0x1d1a16=_0xa8921;_0x50ea20[_0x1d1a16(0x28f)]({'cmd':F[_0x1d1a16(0x376)],'code':pe['OK'],'routeKey':_0x290fe2[_0x1d1a16(0x32f)]['unitID'],'routeType':'','data':{'eventID':_0x274cb2[_0x1d1a16(0x230)],'data':{'changesets':_0x16eb2c}}});})['catch'](_0x5f1083=>{var _0x5d8e97=_0xa8921;this[_0x5d8e97(0x179)][_0x5d8e97(0x421)](_0x5f1083),_0x26a6d1();});return;}}_0x4338c8['send'](Vs(_0x4f87a4));},'close':()=>{var _0x413aed=_0x4b3aff;_0x4338c8[_0x413aed(0x2a8)](),_0x2989cf[_0x413aed(0x19a)]();}},_0x8096ab;}async[_0x1970a9(0x198)](_0xf9f05e,_0xf8c2e){var _0x426af0=_0x1970a9,_0x7725dd;const {unitType:_0x3e7e0c,unitID:_0x505507,changeset:_0x557a59}=_0xf8c2e['data'],_0xa9b0bf={'unitID':_0x505507,'memberID':_0xf9f05e[_0x426af0(0x2ed)],'type':_0x3e7e0c,'changeset':_0x1edcfd(_0x557a59)},_0x28ecfd=this[_0x426af0(0x180)]['getConfig'](K),_0x2ee59f=Ys((_0x7725dd=_0x28ecfd==null?void 0x0:_0x28ecfd[_0x426af0(0x178)])!=null?_0x7725dd:Os,_0x3e7e0c,_0x505507);try{await this[_0x426af0(0x15b)][_0x426af0(0x27c)](_0x2ee59f,{'body':_0xa9b0bf});}catch(_0x52785c){throw this[_0x426af0(0x179)][_0x426af0(0x421)](_0x426af0(0x170),_0x426af0(0x273)),_0x52785c;}}async[_0x1970a9(0x38d)](_0x4fecc5){var _0x2eb3f6=_0x1970a9;const {unitID:_0x194fda,from:_0x39f72b,to:_0x2a8421,unitType:_0x44768e}=_0x4fecc5[_0x2eb3f6(0x32f)];return(await this[_0x2eb3f6(0x15a)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x194fda,'type':_0x44768e,'from':_0x39f72b,'to':_0x2a8421}))['changesets'];}};Wt=Ws([ye(0x0,_0x253c3d(_0x9d7216)),ye(0x1,_0x253c3d(_0x2ab676)),ye(0x2,_0x4a008f),ye(0x3,_0x41ff63),ye(0x4,_0x4c2e80)],Wt);var Ks=Object[_0x1970a9(0x16f)],qs=(_0x442809,_0x344d0e,_0x5c4cf4,_0x4aeaa1)=>{var _0x27d1f8=_0x1970a9;for(var _0x565119=_0x4aeaa1>0x1?void 0x0:_0x4aeaa1?Ks(_0x344d0e,_0x5c4cf4):_0x344d0e,_0x379434=_0x442809[_0x27d1f8(0x439)]-0x1,_0x481b7b;_0x379434>=0x0;_0x379434--)(_0x481b7b=_0x442809[_0x379434])&&(_0x565119=_0x481b7b(_0x565119)||_0x565119);return _0x565119;},Re=(_0x257131,_0x3b1f52)=>(_0x57c6e8,_0x5e20a7)=>_0x3b1f52(_0x57c6e8,_0x5e20a7,_0x257131);let we=class extends _0x14f4a8{constructor(_0x2f2b3d,_0x3dd05e,_0x281cbc,_0x413827,_0x72caba,_0x1c0ede){var _0x30d4e6=_0x1970a9;super(),D(this,_0x30d4e6(0x46e),new _0x3e8a63(void 0x0)),D(this,_0x30d4e6(0x20e),this[_0x30d4e6(0x46e)][_0x30d4e6(0x173)]()),D(this,_0x30d4e6(0x2c4),null),D(this,_0x30d4e6(0x19c),new Map()),D(this,'_status$',new _0x3e8a63(me['IDLE'])),D(this,_0x30d4e6(0x261),this[_0x30d4e6(0x2aa)][_0x30d4e6(0x173)]()),D(this,_0x30d4e6(0x22d),!0x1),D(this,_0x30d4e6(0x2f4)),D(this,_0x30d4e6(0x21c),0x0),D(this,_0x30d4e6(0x3d1)),D(this,_0x30d4e6(0x270)),(this[_0x30d4e6(0x2e7)]=_0x2f2b3d,this['_logService']=_0x3dd05e,this['_configService']=_0x281cbc,this[_0x30d4e6(0x339)]=_0x413827,this[_0x30d4e6(0x17c)]=_0x72caba,this[_0x30d4e6(0x25c)]=_0x1c0ede,this[_0x30d4e6(0x1e2)]());}get[_0x1970a9(0x301)](){var _0x4e0119=_0x1970a9;return this[_0x4e0119(0x46e)][_0x4e0119(0x476)]();}[_0x1970a9(0x1e2)](){var _0x726ff3=_0x1970a9;this['_networkConditionService']&&this[_0x726ff3(0x455)](this['_networkConditionService']['online$']['subscribe'](_0xe598e8=>{var _0xa13bf7=_0x726ff3;_0xe598e8&&!this[_0xa13bf7(0x301)]&&this[_0xa13bf7(0x334)](),_0xe598e8||this[_0xa13bf7(0x2f9)]();}));}['dispose'](){var _0x5c9487=_0x1970a9;super[_0x5c9487(0x19a)](),this[_0x5c9487(0x16d)](),this['_clearTimeoutTimer'](),this[_0x5c9487(0x328)](),this[_0x5c9487(0x19c)][_0x5c9487(0x445)](_0x44325b=>_0x44325b['dispose']()),this[_0x5c9487(0x19c)][_0x5c9487(0x25e)](),this[_0x5c9487(0x2aa)][_0x5c9487(0x186)]();}async[_0x1970a9(0x3be)](_0x23f1d5){var _0x2ff471=_0x1970a9;if(this[_0x2ff471(0x19c)][_0x2ff471(0x3b3)](_0x23f1d5))return this['_sessions'][_0x2ff471(0x190)](_0x23f1d5);this[_0x2ff471(0x382)]();const _0x392d37=this[_0x2ff471(0x2e7)][_0x2ff471(0x185)](mt,_0x23f1d5,this[_0x2ff471(0x46e)][_0x2ff471(0x173)]());return this[_0x2ff471(0x19c)]['set'](_0x23f1d5,_0x392d37),_0x392d37;}[_0x1970a9(0x380)](_0xdaaa54){var _0x1e4dd8=_0x1970a9,_0x5dcc44;const _0x4eeaa1=this['_sessions'][_0x1e4dd8(0x190)](_0xdaaa54);_0x4eeaa1&&(this[_0x1e4dd8(0x19c)][_0x1e4dd8(0x21b)](_0xdaaa54),_0x4eeaa1['close']()),this[_0x1e4dd8(0x19c)][_0x1e4dd8(0x199)]||(_0x5dcc44=this[_0x1e4dd8(0x301)])==null||_0x5dcc44['close']();}['reconnect'](){var _0x33923f=_0x1970a9;this[_0x33923f(0x21c)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x2e3eda=_0x1970a9;this[_0x2e3eda(0x2f4)]!=null&&(clearTimeout(this[_0x2e3eda(0x2f4)]),this[_0x2e3eda(0x2f4)]=null);}async['_createSocket'](){var _0x283d7f=_0x1970a9,_0xa2535e;const _0x132a38=this[_0x283d7f(0x180)][_0x283d7f(0x26d)](K),_0x1f9f99=(_0xa2535e=_0x132a38==null?void 0x0:_0x132a38[_0x283d7f(0x34c)])!=null?_0xa2535e:Es,_0x49349f=await this[_0x283d7f(0x339)]['createSocket'](_0x1f9f99);return this['_candidateSocket']=_0x49349f,_0x49349f;}async[_0x1970a9(0x382)](){var _0x23ade5=_0x1970a9,_0x14617a,_0x1347f9;try{const _0x456011=(_0x1347f9=(_0x14617a=this[_0x23ade5(0x301)])!=null?_0x14617a:this['_candidateSocket'])!=null?_0x1347f9:await this['_createSocket']();if(_0x456011){const _0x25f951=_0x456011['send'];_0x456011[_0x23ade5(0x43b)]=_0x255d3e=>(this['_rescheduleHeartbeat'](),_0x25f951[_0x23ade5(0x2fc)](_0x456011,[_0x255d3e])),_0x456011[_0x23ade5(0x40b)]['subscribe'](_0xdf4564=>this['_onMessage'](_0x456011,_0xdf4564)),_0x456011[_0x23ade5(0x43c)][_0x23ade5(0x296)](_0x40c456(0x1))[_0x23ade5(0x22c)](_0x224089=>this[_0x23ade5(0x179)][_0x23ade5(0x421)](_0x23ade5(0x3fa),_0x224089)),_0x456011[_0x23ade5(0x177)][_0x23ade5(0x296)](_0x40c456(0x1))[_0x23ade5(0x22c)](()=>{var _0x2ef42c=_0x23ade5;this[_0x2ef42c(0x331)](_0x456011);}),_0x456011['close$']['pipe'](_0x40c456(0x1))['subscribe'](_0xf8c353=>{var _0x24cfc2=_0x23ade5;this[_0x24cfc2(0x179)][_0x24cfc2(0x214)]('[CollaborationSessionService]',_0x24cfc2(0x325),_0xf8c353),this[_0x24cfc2(0x40d)]();});}}catch(_0x4d49c9){this[_0x23ade5(0x179)]['error'](_0x4d49c9),this[_0x23ade5(0x40d)]();}}[_0x1970a9(0x331)](_0x30607d){var _0x4f5b76=_0x1970a9;this[_0x4f5b76(0x179)][_0x4f5b76(0x214)]('[CollaborationSessionService]',_0x4f5b76(0x39d)),_0x30607d['send']({'cmd':F[_0x4f5b76(0x381)]}),this[_0x4f5b76(0x26f)]();}[_0x1970a9(0x2f9)](){var _0x9c5954=_0x1970a9;this[_0x9c5954(0x22d)]=!0x1,this[_0x9c5954(0x2c4)]=null,this[_0x9c5954(0x2aa)]['next'](me[_0x9c5954(0x28e)]),this['_socket$'][_0x9c5954(0x28f)](null),this['_clearTimeoutTimer'](),this[_0x9c5954(0x328)]();}[_0x1970a9(0x40d)](){var _0x580013=_0x1970a9,_0x597f10;this['_onOffline'](),this['_retryCount']<((_0x597f10=this[_0x580013(0x180)][_0x580013(0x26d)](gs))!=null?_0x597f10:Ts)?(this['_collaborationUIEventService'][_0x580013(0x1f7)]({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x580013(0x1f7)]({'id':re[_0x580013(0x231)]});}[_0x1970a9(0x1e4)](){var _0x94cf6f=_0x1970a9,_0x3277b1;const _0x3e8c28=this[_0x94cf6f(0x21c)],_0x297cc8=this[_0x94cf6f(0x180)][_0x94cf6f(0x26d)](K),_0x37fd97=_0x3e8c28===0x0?0x0:((_0x3277b1=_0x297cc8==null?void 0x0:_0x297cc8['retryConnectingInterval'])!=null?_0x3277b1:Ss)*0x2**_0x3e8c28;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5edf68=_0x94cf6f;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x5edf68(0x382)]();},_0x37fd97),this[_0x94cf6f(0x21c)]+=0x1;}[_0x1970a9(0x477)](_0xea0140,_0x39342d){var _0x904eed=_0x1970a9;const {cmd:_0x43a31f}=_0x39342d;_0x43a31f===F[_0x904eed(0x381)]&&!this[_0x904eed(0x22d)]&&(_0xea0140['memberID']=_0x39342d[_0x904eed(0x32f)][_0x904eed(0x2ed)],this['_socket$'][_0x904eed(0x28f)](_0xea0140),this[_0x904eed(0x2aa)]['next'](me[_0x904eed(0x3c7)]),this[_0x904eed(0x22d)]=!0x0,this[_0x904eed(0x2c4)]=null),_0x43a31f===F[_0x904eed(0x238)]&&this[_0x904eed(0x44e)](),this['_rescheduleHeartbeat']();}[_0x1970a9(0x26f)](){var _0xaf36a0=_0x1970a9,_0x3a3643;this['_clearHeartbeatTimer'](),this[_0xaf36a0(0x3d1)]=setTimeout(()=>this[_0xaf36a0(0x34a)](),(_0x3a3643=this['_configService'][_0xaf36a0(0x26d)](ms))!=null?_0x3a3643:Is);}[_0x1970a9(0x34a)](){var _0x10af0f=_0x1970a9;this['_socket'][_0x10af0f(0x43b)]({'cmd':F[_0x10af0f(0x238)]}),this['_waitForHeartbeatResponse']();}[_0x1970a9(0x219)](){var _0x51aec2=_0x1970a9,_0x14940e;this[_0x51aec2(0x270)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x14940e=this[_0x51aec2(0x180)][_0x51aec2(0x26d)](di))!=null?_0x14940e:fi);}['_clearHeartbeatTimer'](){var _0x5e5e25=_0x1970a9;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5e5e25(0x3d1)]),this[_0x5e5e25(0x3d1)]=null);}['_clearTimeoutTimer'](){var _0xa2c4cb=_0x1970a9;this[_0xa2c4cb(0x270)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xa2c4cb(0x270)]=null);}};we=qs([Re(0x0,_0x253c3d(_0x9d7216)),Re(0x1,_0x41ff63),Re(0x2,_0x4a008f),Re(0x3,Oi),Re(0x4,_0x253c3d(ve)),Re(0x5,_0x36e38f(js))],we);var zs=Object[_0x1970a9(0x16f)],Js=(_0x59999b,_0x3a860a,_0x3d3ee4,_0x359010)=>{for(var _0x733f40=_0x359010>0x1?void 0x0:_0x359010?zs(_0x3a860a,_0x3d3ee4):_0x3a860a,_0xaf6c9f=_0x59999b['length']-0x1,_0x39b3bb;_0xaf6c9f>=0x0;_0xaf6c9f--)(_0x39b3bb=_0x59999b[_0xaf6c9f])&&(_0x733f40=_0x39b3bb(_0x733f40)||_0x733f40);return _0x733f40;},Be=(_0xd3d5a,_0x34998b)=>(_0x4011f7,_0x527380)=>_0x34998b(_0x4011f7,_0x527380,_0xd3d5a);let nt=class extends _0x3dd074{constructor(_0x3f370c,_0x39de5e,_0xb1063a,_0x41678c){var _0x277699=_0x1970a9,_0x442b65;super(),D(this,'_entities',new Map()),D(this,_0x277699(0x24b),new _0x5c9b29()),D(this,'entityInit$',this[_0x277699(0x24b)]['asObservable']()),(this['_injector']=_0x3f370c,this['_collabSessionService']=_0x39de5e,this[_0x277699(0x180)]=_0xb1063a,this['_univerInstanceService']=_0x41678c,((_0x442b65=this['_configService'][_0x277699(0x26d)](K))==null?void 0x0:_0x442b65[_0x277699(0x18d)])!==!0x1&&this['_init']());}[_0x1970a9(0x19a)](){var _0x1c3ece=_0x1970a9;super[_0x1c3ece(0x19a)](),this[_0x1c3ece(0x32e)][_0x1c3ece(0x445)](_0x592560=>_0x592560['dispose']()),this['_entities'][_0x1c3ece(0x25e)]();}['getCollabEntity'](_0x33c9cf){var _0x3797fe=_0x1970a9,_0x314ff3;return(_0x314ff3=this[_0x3797fe(0x32e)][_0x3797fe(0x190)](_0x33c9cf))!=null?_0x314ff3:null;}[_0x1970a9(0x35b)](_0x3d0175){var _0x343f8f=_0x1970a9;const _0x13b216=this[_0x343f8f(0x175)](_0x3d0175);return _0x13b216?_0x4deaa7(_0x13b216):this['_entityInit$'][_0x343f8f(0x296)](_0xed575f(_0x3b1fc6=>_0x3b1fc6['unitID']===_0x3d0175));}['readyForCollab'](_0x2fd203){var _0x7d8818=_0x1970a9;return _0x3d2cb0(this[_0x7d8818(0x35b)](_0x2fd203)[_0x7d8818(0x296)](_0x54e938(()=>{})));}['_init'](){var _0x18217f=_0x1970a9;this[_0x18217f(0x461)]['getTypeOfUnitAdded$'](_0x3de6eb[_0x18217f(0x441)])[_0x18217f(0x296)](_0x3b37d2(this[_0x18217f(0x212)]),_0x4313f6(0x10))[_0x18217f(0x22c)](async _0x80ceab=>{var _0x45440f=_0x18217f;const _0x10ffaa=_0x80ceab[_0x45440f(0x26c)](),_0x2ec9eb=await this[_0x45440f(0x3c1)](_0x10ffaa,Q[_0x45440f(0x441)]);this[_0x45440f(0x32e)][_0x45440f(0x3d2)](_0x10ffaa,_0x2ec9eb);}),this['_univerInstanceService'][_0x18217f(0x275)](_0x3de6eb[_0x18217f(0x466)])[_0x18217f(0x296)](_0x3b37d2(this[_0x18217f(0x212)]),_0x4313f6(0x10))[_0x18217f(0x296)](_0xed575f(_0x6462a3=>!_0x6462a3[_0x18217f(0x26c)]()[_0x18217f(0x1aa)]('__')))['subscribe'](async _0x545272=>{var _0x10e2cf=_0x18217f;const _0x40cd7c=_0x545272[_0x10e2cf(0x26c)](),_0xbdcfdd=await this['_startCollaboration'](_0x40cd7c,Q[_0x10e2cf(0x466)]);this[_0x10e2cf(0x32e)]['set'](_0x40cd7c,_0xbdcfdd);}),_0x3c68f6(this[_0x18217f(0x461)][_0x18217f(0x1cf)](_0x3de6eb['UNIVER_SHEET']),this['_univerInstanceService'][_0x18217f(0x1cf)](_0x3de6eb[_0x18217f(0x466)]))[_0x18217f(0x296)](_0x3b37d2(this['dispose$']))[_0x18217f(0x22c)](_0x43960e=>{var _0x50122f=_0x18217f;const _0x27fe33=_0x43960e[_0x50122f(0x26c)](),_0x4dd812=this['_entities'][_0x50122f(0x190)](_0x27fe33);_0x4dd812&&(_0x4dd812[_0x50122f(0x19a)](),this[_0x50122f(0x32e)]['delete'](_0x27fe33));});}async[_0x1970a9(0x3c1)](_0x3a8785,_0xf39d78){var _0x567150=_0x1970a9;const _0x3c0539=await this[_0x567150(0x1d4)][_0x567150(0x3be)](_0x3a8785),_0xe3623a=this[_0x567150(0x2e7)][_0x567150(0x185)](this[_0x567150(0x2c0)](_0xf39d78),_0x3a8785,_0xf39d78,_0x3c0539);return await _0xe3623a[_0x567150(0x1c7)](),this['_entityInit$']['next'](_0xe3623a),_0xe3623a;}[_0x1970a9(0x2c0)](_0x4b7a17){var _0x13cccc=_0x1970a9;switch(_0x4b7a17){case Q[_0x13cccc(0x466)]:return It;case Q[_0x13cccc(0x441)]:return St;default:throw new Error(_0x13cccc(0x44b)+_0x4b7a17);}}};nt=Js([Be(0x0,_0x253c3d(_0x9d7216)),Be(0x1,_0x253c3d(we)),Be(0x2,_0x4a008f),Be(0x3,_0xe0db57)],nt);var Xs=Object[_0x1970a9(0x16f)],Zs=(_0x35ded5,_0x4d71ed,_0x59df7b,_0x2a29da)=>{var _0x5d3ad4=_0x1970a9;for(var _0x1b6306=_0x2a29da>0x1?void 0x0:_0x2a29da?Xs(_0x4d71ed,_0x59df7b):_0x4d71ed,_0x4f0a11=_0x35ded5[_0x5d3ad4(0x439)]-0x1,_0x15668a;_0x4f0a11>=0x0;_0x4f0a11--)(_0x15668a=_0x35ded5[_0x4f0a11])&&(_0x1b6306=_0x15668a(_0x1b6306)||_0x1b6306);return _0x1b6306;},Yt=(_0x2a1f3a,_0x46127b)=>(_0xd15d22,_0x3cd0bb)=>_0x46127b(_0xd15d22,_0x3cd0bb,_0x2a1f3a);const Qs=_0x1970a9(0x31e),en='Univer';let gt=class extends _0x14f4a8{constructor(_0x1178df,_0x3ad75b){var _0x3d2f1a=_0x1970a9;super(),this[_0x3d2f1a(0x461)]=_0x1178df,this['_configService']=_0x3ad75b,this['_init']();}['_init'](){var _0x5bdd40=_0x1970a9;this['disposeWithMe'](this['_univerInstanceService'][_0x5bdd40(0x29c)][_0x5bdd40(0x22c)](()=>{var _0x50e0a6=_0x5bdd40,_0x1b1a7b;const _0x27a9d5=this[_0x50e0a6(0x461)]['getFocusedUnit']();let _0x1788d0=(_0x1b1a7b=this[_0x50e0a6(0x180)][_0x50e0a6(0x26d)](Qs))!=null?_0x1b1a7b:en;_0x27a9d5 instanceof _0x1bbd6e&&(_0x1788d0=_0x27a9d5[_0x50e0a6(0x403)]),document[_0x50e0a6(0x21f)]=_0x1788d0;}));}};gt=Zs([Yt(0x0,_0xe0db57),Yt(0x1,_0x4a008f)],gt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x32aa0b,_0x795b42,_0xdb7fac,_0x5012e2)=>{var _0x3ad61f=_0x1970a9;for(var _0x2f54c4=_0x5012e2>0x1?void 0x0:_0x5012e2?tn(_0x795b42,_0xdb7fac):_0x795b42,_0x5684d8=_0x32aa0b[_0x3ad61f(0x439)]-0x1,_0x442dfd;_0x5684d8>=0x0;_0x5684d8--)(_0x442dfd=_0x32aa0b[_0x5684d8])&&(_0x2f54c4=_0x442dfd(_0x2f54c4)||_0x2f54c4);return _0x2f54c4;},dt=(_0x311247,_0x78e2f2)=>(_0x77296a,_0x1de28d)=>_0x78e2f2(_0x77296a,_0x1de28d,_0x311247);let rt=class{constructor(_0x5b8932,_0x1363f4,_0x42a3b2){var _0x6366d7=_0x1970a9;this['_configService']=_0x5b8932,this[_0x6366d7(0x15b)]=_0x1363f4,this['localeService']=_0x42a3b2,this[_0x6366d7(0x1c7)]();}[_0x1970a9(0x1c7)](){var _0xb6b120=_0x1970a9;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xad51b2,_0x433d85)=>_0x433d85(_0xad51b2)[_0xb6b120(0x296)](_0x1b3246(async _0x4e2474=>{var _0x475d1d=_0xb6b120;const _0x2116bf=_0x4e2474;if(_0x2116bf['status']===0x191){if(typeof window>'u')throw new Error(_0x475d1d(0x18f));if(window[_0x475d1d(0x3d8)](this[_0x475d1d(0x321)]['t'](_0x475d1d(0x18a)))){const _0x28eb1f=window[_0x475d1d(0x2cb)](window[_0x475d1d(0x3c5)]['href']);window[_0x475d1d(0x3c5)][_0x475d1d(0x221)]=this[_0x475d1d(0x2f7)]()+_0x475d1d(0x436)+_0x28eb1f;}}return _0x2116bf;}))});}[_0x1970a9(0x2f7)](){var _0x790fc2=_0x1970a9,_0x403802;const _0x1b047b=this[_0x790fc2(0x180)][_0x790fc2(0x26d)](K);return(_0x403802=_0x1b047b==null?void 0x0:_0x1b047b[_0x790fc2(0x305)])!=null?_0x403802:Rs;}};rt=sn([dt(0x0,_0x4a008f),dt(0x1,_0x253c3d(_0x2ab676)),dt(0x2,_0x253c3d(_0x1de809))],rt);var nn=Object[_0x1970a9(0x16f)],rn=(_0x144adc,_0x4ad971,_0x5e8f70,_0x32b5d9)=>{for(var _0x4a7453=_0x32b5d9>0x1?void 0x0:_0x32b5d9?nn(_0x4ad971,_0x5e8f70):_0x4ad971,_0x123f8b=_0x144adc['length']-0x1,_0x51a0e1;_0x123f8b>=0x0;_0x123f8b--)(_0x51a0e1=_0x144adc[_0x123f8b])&&(_0x4a7453=_0x51a0e1(_0x4a7453)||_0x4a7453);return _0x4a7453;},Kt=(_0x38834b,_0x3b973a)=>(_0x11a36a,_0x254ff3)=>_0x3b973a(_0x11a36a,_0x254ff3,_0x38834b);const an='/universer-api/authz';let Tt=class extends _0x14f4a8{constructor(_0x29ee7c,_0x1292bf){var _0x568ca6=_0x1970a9;super(),this[_0x568ca6(0x310)]=_0x29ee7c,this[_0x568ca6(0x180)]=_0x1292bf,this['_initMergeInterceptor']();}[_0x1970a9(0x239)](){var _0x1a54a8=_0x1970a9;const _0x25257b=this;this[_0x1a54a8(0x455)](this[_0x1a54a8(0x310)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x12c28b({'isMatch'(_0x2195ac){var _0x14986b=_0x1a54a8,_0x4fb0ee;if(_0x2195ac[_0x14986b(0x252)]===_0x14986b(0x3d7)&&((_0x4fb0ee=_0x2195ac['requestParams'])!=null&&_0x4fb0ee[_0x14986b(0x29d)])){const {objectID:_0x56383a,objectType:_0x36ae7a}=_0x2195ac['requestParams'][_0x14986b(0x29d)]||{};if(!_0x56383a||_0x36ae7a===void 0x0)return!0x1;const _0x2d9574=_0x25257b['_getAPIPrefixPath']()+'/'+_0x36ae7a+_0x14986b(0x478)+_0x56383a+'/allowed';if(_0x2195ac['url']===_0x2d9574)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x46836b){var _0x4bcd78=_0x1a54a8,_0x3ff476;return(_0x3ff476=_0x46836b[_0x4bcd78(0x2c9)])==null?void 0x0:_0x3ff476[_0x4bcd78(0x29d)];},'mergeParamsToRequest'(_0xd5ad58,_0x4f4c27){var _0x3375f1=_0x1a54a8;const _0x5dd955=_0x25257b[_0x3375f1(0x1e3)]()+_0x3375f1(0x1e0),_0x2465c3=_0xd5ad58[_0x3375f1(0x464)]((_0x336b75,_0x13c3b7)=>{var _0x21973e=_0x3375f1;const {unitID:_0x5d3668,objectID:_0xad884a,objectType:_0x2ec069,actions:_0x4a128b}=_0x13c3b7;return _0x336b75[_0x5d3668]||(_0x336b75[_0x5d3668]={}),_0x336b75[_0x5d3668][_0xad884a]||(_0x336b75[_0x5d3668][_0xad884a]={'objectID':_0xad884a,'objectType':_0x2ec069,'actions':[]}),_0x336b75[_0x5d3668][_0xad884a][_0x21973e(0x2dc)][_0x21973e(0x227)](..._0x4a128b),_0x336b75;},{}),_0x1b3639=[];for(const _0x1740fc in _0x2465c3)for(const _0x51d0cd in _0x2465c3[_0x1740fc]){const {actions:_0x1d7b52,objectType:_0x47085f}=_0x2465c3[_0x1740fc][_0x51d0cd],_0xdedc22=[...new Set(_0x1d7b52)];_0x1b3639[_0x3375f1(0x227)]({'unitID':_0x1740fc,'objectID':_0x51d0cd,'objectType':_0x47085f,'actions':_0xdedc22});}return new _0x4ba868('POST',_0x5dd955,{'headers':_0x4f4c27[_0x3375f1(0x343)],'withCredentials':_0x4f4c27[_0x3375f1(0x29e)],'responseType':_0x4f4c27[_0x3375f1(0x2e6)],'body':{'requests':_0x1b3639}});}},{'distributeResult'(_0x4290c3,_0x569b6a){const {objectActions:_0x1c9b61}=_0x4290c3;return _0x569b6a['map'](_0x558032=>{var _0x4ffb9c=_0x35ab;const {unitID:_0xf7dcec,objectID:_0x3058f0,actions:_0x15f202}=_0x558032,_0x43f681=_0x1c9b61[_0x4ffb9c(0x245)](_0x11b8d8=>_0x11b8d8[_0x4ffb9c(0x402)]===_0xf7dcec&&_0x11b8d8['objectID']===_0x3058f0),_0x5f2bea=_0x15f202[_0x4ffb9c(0x417)](_0x3b0d6d=>_0x43f681==null?void 0x0:_0x43f681[_0x4ffb9c(0x2dc)][_0x4ffb9c(0x245)](_0x24d126=>_0x24d126[_0x4ffb9c(0x41f)]===_0x3b0d6d))[_0x4ffb9c(0x1d2)](_0x24d601=>!!_0x24d601);return{'config':_0x558032,'result':{'actions':_0x5f2bea,'error':_0x4290c3[_0x4ffb9c(0x421)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4e47cb=_0x1970a9,_0x5c8264;const _0xaf78e9=this['_configService'][_0x4e47cb(0x26d)](K);return(_0x5c8264=_0xaf78e9==null?void 0x0:_0xaf78e9['authzUrl'])!=null?_0x5c8264:an;}async[_0x1970a9(0x1ef)](_0x490a12){var _0x298795=_0x1970a9;const _0x3684e2=this[_0x298795(0x1e3)]()+'/'+_0x490a12[_0x298795(0x23f)]+_0x298795(0x2fe);return(await this[_0x298795(0x310)]['post'](_0x3684e2,{'body':_0x490a12}))[_0x298795(0x29d)][_0x298795(0x320)]||'';}async[_0x1970a9(0x1e6)](_0x5d94fa){var _0x42e9d7=_0x1970a9;const _0xce8278=this[_0x42e9d7(0x1e3)]()+_0x42e9d7(0x1a7);return(await this['_HTTPService'][_0x42e9d7(0x27c)](_0xce8278,{'body':_0x5d94fa}))[_0x42e9d7(0x29d)][_0x42e9d7(0x2ad)];}async['update'](_0x53cce3){var _0x938904=_0x1970a9,_0x14d014,_0x5a479d;const _0x327afc=this['_getAPIPrefixPath']()+'/'+_0x53cce3[_0x938904(0x23f)]+'/object/'+_0x53cce3[_0x938904(0x320)],_0x369f07=await this[_0x938904(0x310)][_0x938904(0x2e9)](_0x327afc,{'body':_0x53cce3});if(((_0x5a479d=(_0x14d014=_0x369f07==null?void 0x0:_0x369f07[_0x938904(0x29d)])==null?void 0x0:_0x14d014[_0x938904(0x421)])==null?void 0x0:_0x5a479d[_0x938904(0x404)])!==0x1)throw new Error(_0x938904(0x420));}async[_0x1970a9(0x1f9)](_0x2a4245){var _0x3e3f63=_0x1970a9;const _0x369fdb=this[_0x3e3f63(0x1e3)]()+'/'+_0x2a4245[_0x3e3f63(0x23f)]+'/object/'+_0x2a4245[_0x3e3f63(0x320)]+_0x3e3f63(0x37c);return(await this[_0x3e3f63(0x310)]['post'](_0x369fdb,{'body':_0x2a4245}))[_0x3e3f63(0x29d)][_0x3e3f63(0x2dc)];}async[_0x1970a9(0x207)](_0x2c9a35){var _0x4d5909=_0x1970a9;const _0x4ac652=this[_0x4d5909(0x1e3)]()+'/-/object/-/batch_allowed';return(await this[_0x4d5909(0x310)][_0x4d5909(0x27c)](_0x4ac652,{'body':{'requests':_0x2c9a35}}))[_0x4d5909(0x29d)][_0x4d5909(0x36e)];}async[_0x1970a9(0x45d)](_0x92759b){var _0x4ae0e8=_0x1970a9;const _0x1e5fbd=this[_0x4ae0e8(0x1e3)]()+'/'+_0x92759b[_0x4ae0e8(0x23f)]+'/role',_0x21789a=await this[_0x4ae0e8(0x310)]['post'](_0x1e5fbd,{'body':_0x92759b});return{'roles':_0x21789a[_0x4ae0e8(0x29d)][_0x4ae0e8(0x37d)],'actions':_0x21789a[_0x4ae0e8(0x29d)][_0x4ae0e8(0x2dc)]};}async[_0x1970a9(0x2dd)](_0xaa9604){var _0x1dc2c3=_0x1970a9;const _0x4f0621=this[_0x1dc2c3(0x1e3)]()+_0x1dc2c3(0x399);await this[_0x1dc2c3(0x310)][_0x1dc2c3(0x21b)](_0x4f0621,{'params':{'collaboratorID':_0xaa9604[_0x1dc2c3(0x45c)],'objectID':_0xaa9604[_0x1dc2c3(0x320)],'unitID':_0xaa9604[_0x1dc2c3(0x402)]}});}async[_0x1970a9(0x2ac)](_0x5c7e32){var _0xce0260=_0x1970a9;const _0x224652=this[_0xce0260(0x1e3)]()+_0xce0260(0x399);await this[_0xce0260(0x310)][_0xce0260(0x197)](_0x224652,{'body':_0x5c7e32});}async[_0x1970a9(0x2d3)](_0x234795){var _0x49f097=_0x1970a9;const _0x429c72=this['_getAPIPrefixPath']()+_0x49f097(0x399);await this[_0x49f097(0x310)][_0x49f097(0x27c)](_0x429c72,{'body':_0x234795});}async['listCollaborators'](_0x58cf9b){var _0x57c16b=_0x1970a9;const _0x4b08fb=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x57c16b(0x190)](_0x4b08fb,{'params':{'objectID':_0x58cf9b[_0x57c16b(0x320)],'unitID':_0x58cf9b[_0x57c16b(0x402)]}}))[_0x57c16b(0x29d)][_0x57c16b(0x2db)];}async['putCollaborators'](_0xe9f10a){var _0xb77609=_0x1970a9;const _0x5b13b5=this[_0xb77609(0x1e3)]()+_0xb77609(0x399);await this[_0xb77609(0x310)]['put'](_0x5b13b5,{'body':_0xe9f10a});}};Tt=rn([Kt(0x0,_0x253c3d(_0x2ab676)),Kt(0x1,_0x253c3d(_0x4a008f))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2e94e6){var _0x13c2db=_0x1970a9;return _0x2e94e6&&_0x2e94e6[_0x13c2db(0x1d1)]&&Object[_0x13c2db(0x1cc)][_0x13c2db(0x45e)][_0x13c2db(0x3fe)](_0x2e94e6,'default')?_0x2e94e6[_0x13c2db(0x431)]:_0x2e94e6;}var Ve={'exports':{}};function on(_0x64834f){var _0x1c17d3=_0x1970a9;throw new Error(_0x1c17d3(0x1e7)+_0x64834f+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x1970a9(0x3dc)],qt;function ie(){var _0x3773b3=_0x1970a9;return qt||(qt=0x1,function(_0xba5127,_0x1ac865){(function(_0x204504,_0x2e5c62){var _0x267a60=_0x35ab;_0xba5127[_0x267a60(0x3dc)]=_0x2e5c62();}(cn,function(){var _0x3e47eb=_0x3e47eb||function(_0x1afa21,_0x3d44e5){var _0x3500b0=_0x35ab,_0x5a1bbc;if(typeof window<'u'&&window[_0x3500b0(0x1fa)]&&(_0x5a1bbc=window[_0x3500b0(0x1fa)]),typeof self<'u'&&self['crypto']&&(_0x5a1bbc=self[_0x3500b0(0x1fa)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5a1bbc=globalThis[_0x3500b0(0x1fa)]),!_0x5a1bbc&&typeof window<'u'&&window[_0x3500b0(0x292)]&&(_0x5a1bbc=window[_0x3500b0(0x292)]),!_0x5a1bbc&&typeof ft<'u'&&ft[_0x3500b0(0x1fa)]&&(_0x5a1bbc=ft[_0x3500b0(0x1fa)]),!_0x5a1bbc&&typeof on==_0x3500b0(0x410))try{_0x5a1bbc=require('crypto');}catch{}var _0x5e240a=function(){var _0x4ccd81=_0x3500b0;if(_0x5a1bbc){if(typeof _0x5a1bbc[_0x4ccd81(0x475)]==_0x4ccd81(0x410))try{return _0x5a1bbc[_0x4ccd81(0x475)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5a1bbc[_0x4ccd81(0x393)]==_0x4ccd81(0x410))try{return _0x5a1bbc[_0x4ccd81(0x393)](0x4)[_0x4ccd81(0x440)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3f01a1=Object[_0x3500b0(0x1ef)]||(function(){function _0x564a59(){}return function(_0x41bd7a){var _0x555684=_0x35ab,_0x75a0ea;return _0x564a59[_0x555684(0x1cc)]=_0x41bd7a,_0x75a0ea=new _0x564a59(),_0x564a59[_0x555684(0x1cc)]=null,_0x75a0ea;};}()),_0x554d20={},_0x9a68ae=_0x554d20['lib']={},_0x585428=_0x9a68ae[_0x3500b0(0x1c9)]=(function(){return{'extend':function(_0x5ed039){var _0x138c56=_0x35ab,_0x4c23d9=_0x3f01a1(this);return _0x5ed039&&_0x4c23d9['mixIn'](_0x5ed039),(!_0x4c23d9[_0x138c56(0x45e)]('init')||this[_0x138c56(0x1c7)]===_0x4c23d9[_0x138c56(0x1c7)])&&(_0x4c23d9['init']=function(){var _0x3129f7=_0x138c56;_0x4c23d9[_0x3129f7(0x300)][_0x3129f7(0x1c7)][_0x3129f7(0x2fc)](this,arguments);}),_0x4c23d9['init'][_0x138c56(0x1cc)]=_0x4c23d9,_0x4c23d9['$super']=this,_0x4c23d9;},'create':function(){var _0x1ae938=_0x35ab,_0x1ca10b=this[_0x1ae938(0x169)]();return _0x1ca10b[_0x1ae938(0x1c7)][_0x1ae938(0x2fc)](_0x1ca10b,arguments),_0x1ca10b;},'init':function(){},'mixIn':function(_0x533d25){var _0x417ed8=_0x35ab;for(var _0x508930 in _0x533d25)_0x533d25[_0x417ed8(0x45e)](_0x508930)&&(this[_0x508930]=_0x533d25[_0x508930]);_0x533d25[_0x417ed8(0x45e)](_0x417ed8(0x284))&&(this['toString']=_0x533d25['toString']);},'clone':function(){var _0x2df2fc=_0x35ab;return this[_0x2df2fc(0x1c7)][_0x2df2fc(0x1cc)][_0x2df2fc(0x169)](this);}};}()),_0x29644d=_0x9a68ae[_0x3500b0(0x19d)]=_0x585428[_0x3500b0(0x169)]({'init':function(_0x1349ff,_0x2f7585){var _0x309a52=_0x3500b0;_0x1349ff=this[_0x309a52(0x463)]=_0x1349ff||[],_0x2f7585!=_0x3d44e5?this['sigBytes']=_0x2f7585:this[_0x309a52(0x35a)]=_0x1349ff[_0x309a52(0x439)]*0x4;},'toString':function(_0x11f39b){var _0x5555aa=_0x3500b0;return(_0x11f39b||_0x26c397)[_0x5555aa(0x1af)](this);},'concat':function(_0x18f304){var _0x187847=_0x3500b0,_0x494f3d=this[_0x187847(0x463)],_0x12b907=_0x18f304[_0x187847(0x463)],_0x2851d5=this['sigBytes'],_0x2f5212=_0x18f304[_0x187847(0x35a)];if(this[_0x187847(0x46d)](),_0x2851d5%0x4)for(var _0x2bbb58=0x0;_0x2bbb58<_0x2f5212;_0x2bbb58++){var _0x49af15=_0x12b907[_0x2bbb58>>>0x2]>>>0x18-_0x2bbb58%0x4*0x8&0xff;_0x494f3d[_0x2851d5+_0x2bbb58>>>0x2]|=_0x49af15<<0x18-(_0x2851d5+_0x2bbb58)%0x4*0x8;}else{for(var _0x94d1cc=0x0;_0x94d1cc<_0x2f5212;_0x94d1cc+=0x4)_0x494f3d[_0x2851d5+_0x94d1cc>>>0x2]=_0x12b907[_0x94d1cc>>>0x2];}return this[_0x187847(0x35a)]+=_0x2f5212,this;},'clamp':function(){var _0x50cb86=_0x3500b0,_0x53f4bd=this[_0x50cb86(0x463)],_0xcf283=this[_0x50cb86(0x35a)];_0x53f4bd[_0xcf283>>>0x2]&=0xffffffff<<0x20-_0xcf283%0x4*0x8,_0x53f4bd[_0x50cb86(0x439)]=_0x1afa21[_0x50cb86(0x235)](_0xcf283/0x4);},'clone':function(){var _0x502a26=_0x3500b0,_0x50e392=_0x585428[_0x502a26(0x3ad)]['call'](this);return _0x50e392[_0x502a26(0x463)]=this[_0x502a26(0x463)][_0x502a26(0x209)](0x0),_0x50e392;},'random':function(_0x518b92){var _0x929e5b=_0x3500b0;for(var _0x595138=[],_0x1f6ab3=0x0;_0x1f6ab3<_0x518b92;_0x1f6ab3+=0x4)_0x595138[_0x929e5b(0x227)](_0x5e240a());return new _0x29644d[(_0x929e5b(0x1c7))](_0x595138,_0x518b92);}}),_0x47cc8d=_0x554d20[_0x3500b0(0x32b)]={},_0x26c397=_0x47cc8d[_0x3500b0(0x272)]={'stringify':function(_0x193757){var _0x24a95b=_0x3500b0;for(var _0x1e9eda=_0x193757[_0x24a95b(0x463)],_0x1db472=_0x193757['sigBytes'],_0x54346b=[],_0x4fefc5=0x0;_0x4fefc5<_0x1db472;_0x4fefc5++){var _0x15b12b=_0x1e9eda[_0x4fefc5>>>0x2]>>>0x18-_0x4fefc5%0x4*0x8&0xff;_0x54346b['push']((_0x15b12b>>>0x4)[_0x24a95b(0x284)](0x10)),_0x54346b[_0x24a95b(0x227)]((_0x15b12b&0xf)[_0x24a95b(0x284)](0x10));}return _0x54346b[_0x24a95b(0x360)]('');},'parse':function(_0x54216e){var _0x250b1c=_0x3500b0;for(var _0x1cb467=_0x54216e[_0x250b1c(0x439)],_0x291b10=[],_0x894849=0x0;_0x894849<_0x1cb467;_0x894849+=0x2)_0x291b10[_0x894849>>>0x3]|=parseInt(_0x54216e[_0x250b1c(0x37a)](_0x894849,0x2),0x10)<<0x18-_0x894849%0x8*0x4;return new _0x29644d['init'](_0x291b10,_0x1cb467/0x2);}},_0x3ec064=_0x47cc8d['Latin1']={'stringify':function(_0x186602){var _0x1740af=_0x3500b0;for(var _0x33e337=_0x186602[_0x1740af(0x463)],_0x503e44=_0x186602[_0x1740af(0x35a)],_0x3df29c=[],_0x3c8a19=0x0;_0x3c8a19<_0x503e44;_0x3c8a19++){var _0x21236d=_0x33e337[_0x3c8a19>>>0x2]>>>0x18-_0x3c8a19%0x4*0x8&0xff;_0x3df29c[_0x1740af(0x227)](String[_0x1740af(0x446)](_0x21236d));}return _0x3df29c[_0x1740af(0x360)]('');},'parse':function(_0x495afd){var _0x8e0fe=_0x3500b0;for(var _0x809d75=_0x495afd[_0x8e0fe(0x439)],_0x1bf665=[],_0x12dfaa=0x0;_0x12dfaa<_0x809d75;_0x12dfaa++)_0x1bf665[_0x12dfaa>>>0x2]|=(_0x495afd[_0x8e0fe(0x353)](_0x12dfaa)&0xff)<<0x18-_0x12dfaa%0x4*0x8;return new _0x29644d['init'](_0x1bf665,_0x809d75);}},_0x11783b=_0x47cc8d[_0x3500b0(0x3bb)]={'stringify':function(_0x3b757d){var _0x147f7c=_0x3500b0;try{return decodeURIComponent(escape(_0x3ec064['stringify'](_0x3b757d)));}catch{throw new Error(_0x147f7c(0x3f0));}},'parse':function(_0x132a59){var _0x30f4de=_0x3500b0;return _0x3ec064[_0x30f4de(0x37b)](unescape(encodeURIComponent(_0x132a59)));}},_0x267b2d=_0x9a68ae[_0x3500b0(0x427)]=_0x585428[_0x3500b0(0x169)]({'reset':function(){var _0x473810=_0x3500b0;this[_0x473810(0x1e5)]=new _0x29644d['init'](),this[_0x473810(0x41b)]=0x0;},'_append':function(_0x53e838){var _0x3b7431=_0x3500b0;typeof _0x53e838==_0x3b7431(0x318)&&(_0x53e838=_0x11783b['parse'](_0x53e838)),this[_0x3b7431(0x1e5)][_0x3b7431(0x2bc)](_0x53e838),this['_nDataBytes']+=_0x53e838['sigBytes'];},'_process':function(_0x3e4cb5){var _0x2ed53d=_0x3500b0,_0x30bf10,_0x315fcb=this[_0x2ed53d(0x1e5)],_0x3b5696=_0x315fcb[_0x2ed53d(0x463)],_0x2c9238=_0x315fcb[_0x2ed53d(0x35a)],_0x3c042a=this[_0x2ed53d(0x203)],_0x193b5e=_0x3c042a*0x4,_0x4f0e8d=_0x2c9238/_0x193b5e;_0x3e4cb5?_0x4f0e8d=_0x1afa21['ceil'](_0x4f0e8d):_0x4f0e8d=_0x1afa21[_0x2ed53d(0x336)]((_0x4f0e8d|0x0)-this['_minBufferSize'],0x0);var _0x2a815f=_0x4f0e8d*_0x3c042a,_0x22a359=_0x1afa21['min'](_0x2a815f*0x4,_0x2c9238);if(_0x2a815f){for(var _0xde9055=0x0;_0xde9055<_0x2a815f;_0xde9055+=_0x3c042a)this[_0x2ed53d(0x458)](_0x3b5696,_0xde9055);_0x30bf10=_0x3b5696[_0x2ed53d(0x307)](0x0,_0x2a815f),_0x315fcb['sigBytes']-=_0x22a359;}return new _0x29644d[(_0x2ed53d(0x1c7))](_0x30bf10,_0x22a359);},'clone':function(){var _0x48d821=_0x3500b0,_0x5cf35e=_0x585428['clone']['call'](this);return _0x5cf35e[_0x48d821(0x1e5)]=this[_0x48d821(0x1e5)][_0x48d821(0x3ad)](),_0x5cf35e;},'_minBufferSize':0x0});_0x9a68ae['Hasher']=_0x267b2d[_0x3500b0(0x169)]({'cfg':_0x585428['extend'](),'init':function(_0x421f8d){var _0x303401=_0x3500b0;this[_0x303401(0x443)]=this[_0x303401(0x443)]['extend'](_0x421f8d),this[_0x303401(0x479)]();},'reset':function(){var _0x3ccefc=_0x3500b0;_0x267b2d['reset'][_0x3ccefc(0x3fe)](this),this[_0x3ccefc(0x1bc)]();},'update':function(_0x2a1c21){var _0x4e0421=_0x3500b0;return this[_0x4e0421(0x225)](_0x2a1c21),this[_0x4e0421(0x277)](),this;},'finalize':function(_0x5b897d){var _0x1bccbd=_0x3500b0;_0x5b897d&&this[_0x1bccbd(0x225)](_0x5b897d);var _0x4b3ad3=this[_0x1bccbd(0x246)]();return _0x4b3ad3;},'blockSize':0x10,'_createHelper':function(_0x5718e7){return function(_0x25b9a8,_0x1f807){var _0x3aeb2c=_0x35ab;return new _0x5718e7[(_0x3aeb2c(0x1c7))](_0x1f807)[_0x3aeb2c(0x1eb)](_0x25b9a8);};},'_createHmacHelper':function(_0x5ca80f){return function(_0x3e4b60,_0xd22930){var _0x35c751=_0x35ab;return new _0x7a7f12[(_0x35c751(0x459))][(_0x35c751(0x1c7))](_0x5ca80f,_0xd22930)[_0x35c751(0x1eb)](_0x3e4b60);};}});var _0x7a7f12=_0x554d20[_0x3500b0(0x2e3)]={};return _0x554d20;}(Math);return _0x3e47eb;}));}(Ge)),Ge[_0x3773b3(0x3dc)];}var We={'exports':{}},_n=We[_0x1970a9(0x3dc)],zt;function Ri(){var _0x2dfe96=_0x1970a9;return zt||(zt=0x1,function(_0x31e066,_0x20d9ec){(function(_0x7e8f8,_0x435e6a){var _0x5e68dc=_0x35ab;_0x31e066[_0x5e68dc(0x3dc)]=_0x435e6a(ie());}(_n,function(_0x345f1e){var _0x4cf864=_0x35ab;return(function(){var _0x4cb639=_0x35ab,_0x5d9a06=_0x345f1e,_0x5759ea=_0x5d9a06[_0x4cb639(0x2b2)],_0x206c75=_0x5759ea[_0x4cb639(0x19d)],_0x4125af=_0x5d9a06[_0x4cb639(0x32b)];_0x4125af['Base64']={'stringify':function(_0x1d5956){var _0x5c4835=_0x4cb639,_0x3d98f5=_0x1d5956['words'],_0xa621cf=_0x1d5956['sigBytes'],_0x4f8e40=this['_map'];_0x1d5956[_0x5c4835(0x46d)]();for(var _0x5d9293=[],_0x4cd451=0x0;_0x4cd451<_0xa621cf;_0x4cd451+=0x3)for(var _0xdfecfc=_0x3d98f5[_0x4cd451>>>0x2]>>>0x18-_0x4cd451%0x4*0x8&0xff,_0x561d40=_0x3d98f5[_0x4cd451+0x1>>>0x2]>>>0x18-(_0x4cd451+0x1)%0x4*0x8&0xff,_0xd2688=_0x3d98f5[_0x4cd451+0x2>>>0x2]>>>0x18-(_0x4cd451+0x2)%0x4*0x8&0xff,_0x4b2f97=_0xdfecfc<<0x10|_0x561d40<<0x8|_0xd2688,_0x2eb42d=0x0;_0x2eb42d<0x4&&_0x4cd451+_0x2eb42d*0.75<_0xa621cf;_0x2eb42d++)_0x5d9293[_0x5c4835(0x227)](_0x4f8e40['charAt'](_0x4b2f97>>>0x6*(0x3-_0x2eb42d)&0x3f));var _0x5252a8=_0x4f8e40[_0x5c4835(0x182)](0x40);if(_0x5252a8){for(;_0x5d9293[_0x5c4835(0x439)]%0x4;)_0x5d9293[_0x5c4835(0x227)](_0x5252a8);}return _0x5d9293[_0x5c4835(0x360)]('');},'parse':function(_0x31a6ed){var _0x268129=_0x4cb639,_0x41fb08=_0x31a6ed[_0x268129(0x439)],_0x4379bf=this['_map'],_0x2e3977=this[_0x268129(0x2c3)];if(!_0x2e3977){_0x2e3977=this[_0x268129(0x2c3)]=[];for(var _0x25f621=0x0;_0x25f621<_0x4379bf[_0x268129(0x439)];_0x25f621++)_0x2e3977[_0x4379bf[_0x268129(0x353)](_0x25f621)]=_0x25f621;}var _0x215292=_0x4379bf[_0x268129(0x182)](0x40);if(_0x215292){var _0x3e4775=_0x31a6ed[_0x268129(0x422)](_0x215292);_0x3e4775!==-0x1&&(_0x41fb08=_0x3e4775);}return _0x6fbb7c(_0x31a6ed,_0x41fb08,_0x2e3977);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x6fbb7c(_0x6a7daa,_0x293bb3,_0x11b0ee){var _0x260134=_0x4cb639;for(var _0x7770e8=[],_0x5a8128=0x0,_0xa5e4f3=0x0;_0xa5e4f3<_0x293bb3;_0xa5e4f3++)if(_0xa5e4f3%0x4){var _0x169b3f=_0x11b0ee[_0x6a7daa[_0x260134(0x353)](_0xa5e4f3-0x1)]<<_0xa5e4f3%0x4*0x2,_0x1b3922=_0x11b0ee[_0x6a7daa[_0x260134(0x353)](_0xa5e4f3)]>>>0x6-_0xa5e4f3%0x4*0x2,_0x76d3c4=_0x169b3f|_0x1b3922;_0x7770e8[_0x5a8128>>>0x2]|=_0x76d3c4<<0x18-_0x5a8128%0x4*0x8,_0x5a8128++;}return _0x206c75['create'](_0x7770e8,_0x5a8128);}}()),_0x345f1e[_0x4cf864(0x32b)]['Base64'];}));}(We)),We[_0x2dfe96(0x3dc)];}var Ye={'exports':{}},hn=Ye[_0x1970a9(0x3dc)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x3f53e4,_0x37f28f){(function(_0x4366b9,_0x231644){var _0x258e1b=_0x35ab;_0x3f53e4[_0x258e1b(0x3dc)]=_0x231644(ie());}(hn,function(_0x1afc72){return function(_0x2d5736){var _0x3a9ff5=_0x35ab,_0x2099a1=_0x1afc72,_0x58d3a1=_0x2099a1[_0x3a9ff5(0x2b2)],_0x7cb772=_0x58d3a1['WordArray'],_0x5a6b56=_0x58d3a1[_0x3a9ff5(0x3c9)],_0x11ca08=_0x2099a1[_0x3a9ff5(0x2e3)],_0x5ba1c7=[];(function(){var _0x49f805=_0x3a9ff5;for(var _0x139bb6=0x0;_0x139bb6<0x40;_0x139bb6++)_0x5ba1c7[_0x139bb6]=_0x2d5736[_0x49f805(0x2da)](_0x2d5736['sin'](_0x139bb6+0x1))*0x100000000|0x0;}());var _0x34e6ec=_0x11ca08[_0x3a9ff5(0x259)]=_0x5a6b56[_0x3a9ff5(0x169)]({'_doReset':function(){var _0x1b65cf=_0x3a9ff5;this[_0x1b65cf(0x166)]=new _0x7cb772['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e60ab,_0x2ebedc){var _0x29c831=_0x3a9ff5;for(var _0x16b29c=0x0;_0x16b29c<0x10;_0x16b29c++){var _0x119318=_0x2ebedc+_0x16b29c,_0x28a4e3=_0x2e60ab[_0x119318];_0x2e60ab[_0x119318]=(_0x28a4e3<<0x8|_0x28a4e3>>>0x18)&0xff00ff|(_0x28a4e3<<0x18|_0x28a4e3>>>0x8)&0xff00ff00;}var _0x37aaa3=this[_0x29c831(0x166)][_0x29c831(0x463)],_0x333b70=_0x2e60ab[_0x2ebedc+0x0],_0x1bce37=_0x2e60ab[_0x2ebedc+0x1],_0x2b2d5e=_0x2e60ab[_0x2ebedc+0x2],_0x51f4ba=_0x2e60ab[_0x2ebedc+0x3],_0x50fb86=_0x2e60ab[_0x2ebedc+0x4],_0x560562=_0x2e60ab[_0x2ebedc+0x5],_0xb5b7c7=_0x2e60ab[_0x2ebedc+0x6],_0x2cb8b7=_0x2e60ab[_0x2ebedc+0x7],_0x46a6ab=_0x2e60ab[_0x2ebedc+0x8],_0x1e8145=_0x2e60ab[_0x2ebedc+0x9],_0x5db1b1=_0x2e60ab[_0x2ebedc+0xa],_0x419c9b=_0x2e60ab[_0x2ebedc+0xb],_0x4978ba=_0x2e60ab[_0x2ebedc+0xc],_0x4dc0fa=_0x2e60ab[_0x2ebedc+0xd],_0x83bfe3=_0x2e60ab[_0x2ebedc+0xe],_0x3cdef5=_0x2e60ab[_0x2ebedc+0xf],_0x1fb8cf=_0x37aaa3[0x0],_0x3b66f9=_0x37aaa3[0x1],_0x5b1d4b=_0x37aaa3[0x2],_0x56db10=_0x37aaa3[0x3];_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x333b70,0x7,_0x5ba1c7[0x0]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x1bce37,0xc,_0x5ba1c7[0x1]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2b2d5e,0x11,_0x5ba1c7[0x2]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x51f4ba,0x16,_0x5ba1c7[0x3]),_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x50fb86,0x7,_0x5ba1c7[0x4]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x560562,0xc,_0x5ba1c7[0x5]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0xb5b7c7,0x11,_0x5ba1c7[0x6]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x2cb8b7,0x16,_0x5ba1c7[0x7]),_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x46a6ab,0x7,_0x5ba1c7[0x8]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x1e8145,0xc,_0x5ba1c7[0x9]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5db1b1,0x11,_0x5ba1c7[0xa]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x419c9b,0x16,_0x5ba1c7[0xb]),_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4978ba,0x7,_0x5ba1c7[0xc]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x4dc0fa,0xc,_0x5ba1c7[0xd]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x83bfe3,0x11,_0x5ba1c7[0xe]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3cdef5,0x16,_0x5ba1c7[0xf]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1bce37,0x5,_0x5ba1c7[0x10]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0xb5b7c7,0x9,_0x5ba1c7[0x11]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x419c9b,0xe,_0x5ba1c7[0x12]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x333b70,0x14,_0x5ba1c7[0x13]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x560562,0x5,_0x5ba1c7[0x14]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x5db1b1,0x9,_0x5ba1c7[0x15]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x3cdef5,0xe,_0x5ba1c7[0x16]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x50fb86,0x14,_0x5ba1c7[0x17]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1e8145,0x5,_0x5ba1c7[0x18]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x83bfe3,0x9,_0x5ba1c7[0x19]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x51f4ba,0xe,_0x5ba1c7[0x1a]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x46a6ab,0x14,_0x5ba1c7[0x1b]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4dc0fa,0x5,_0x5ba1c7[0x1c]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x2b2d5e,0x9,_0x5ba1c7[0x1d]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2cb8b7,0xe,_0x5ba1c7[0x1e]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x4978ba,0x14,_0x5ba1c7[0x1f]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x560562,0x4,_0x5ba1c7[0x20]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x46a6ab,0xb,_0x5ba1c7[0x21]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x419c9b,0x10,_0x5ba1c7[0x22]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x83bfe3,0x17,_0x5ba1c7[0x23]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1bce37,0x4,_0x5ba1c7[0x24]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x50fb86,0xb,_0x5ba1c7[0x25]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2cb8b7,0x10,_0x5ba1c7[0x26]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x5db1b1,0x17,_0x5ba1c7[0x27]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4dc0fa,0x4,_0x5ba1c7[0x28]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x333b70,0xb,_0x5ba1c7[0x29]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x51f4ba,0x10,_0x5ba1c7[0x2a]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0xb5b7c7,0x17,_0x5ba1c7[0x2b]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1e8145,0x4,_0x5ba1c7[0x2c]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x4978ba,0xb,_0x5ba1c7[0x2d]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x3cdef5,0x10,_0x5ba1c7[0x2e]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x2b2d5e,0x17,_0x5ba1c7[0x2f]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x333b70,0x6,_0x5ba1c7[0x30]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x2cb8b7,0xa,_0x5ba1c7[0x31]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x83bfe3,0xf,_0x5ba1c7[0x32]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x560562,0x15,_0x5ba1c7[0x33]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4978ba,0x6,_0x5ba1c7[0x34]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x51f4ba,0xa,_0x5ba1c7[0x35]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5db1b1,0xf,_0x5ba1c7[0x36]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x1bce37,0x15,_0x5ba1c7[0x37]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x46a6ab,0x6,_0x5ba1c7[0x38]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x3cdef5,0xa,_0x5ba1c7[0x39]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0xb5b7c7,0xf,_0x5ba1c7[0x3a]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x4dc0fa,0x15,_0x5ba1c7[0x3b]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x50fb86,0x6,_0x5ba1c7[0x3c]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x419c9b,0xa,_0x5ba1c7[0x3d]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2b2d5e,0xf,_0x5ba1c7[0x3e]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x1e8145,0x15,_0x5ba1c7[0x3f]),_0x37aaa3[0x0]=_0x37aaa3[0x0]+_0x1fb8cf|0x0,_0x37aaa3[0x1]=_0x37aaa3[0x1]+_0x3b66f9|0x0,_0x37aaa3[0x2]=_0x37aaa3[0x2]+_0x5b1d4b|0x0,_0x37aaa3[0x3]=_0x37aaa3[0x3]+_0x56db10|0x0;},'_doFinalize':function(){var _0x1bab76=_0x3a9ff5,_0x5441f3=this[_0x1bab76(0x1e5)],_0x55472d=_0x5441f3['words'],_0x2c4d27=this[_0x1bab76(0x41b)]*0x8,_0x3b1a15=_0x5441f3[_0x1bab76(0x35a)]*0x8;_0x55472d[_0x3b1a15>>>0x5]|=0x80<<0x18-_0x3b1a15%0x20;var _0x401783=_0x2d5736[_0x1bab76(0x432)](_0x2c4d27/0x100000000),_0x17ab2b=_0x2c4d27;_0x55472d[(_0x3b1a15+0x40>>>0x9<<0x4)+0xf]=(_0x401783<<0x8|_0x401783>>>0x18)&0xff00ff|(_0x401783<<0x18|_0x401783>>>0x8)&0xff00ff00,_0x55472d[(_0x3b1a15+0x40>>>0x9<<0x4)+0xe]=(_0x17ab2b<<0x8|_0x17ab2b>>>0x18)&0xff00ff|(_0x17ab2b<<0x18|_0x17ab2b>>>0x8)&0xff00ff00,_0x5441f3[_0x1bab76(0x35a)]=(_0x55472d['length']+0x1)*0x4,this[_0x1bab76(0x277)]();for(var _0x46f0ad=this[_0x1bab76(0x166)],_0x5dd704=_0x46f0ad[_0x1bab76(0x463)],_0x1a2d8e=0x0;_0x1a2d8e<0x4;_0x1a2d8e++){var _0x151939=_0x5dd704[_0x1a2d8e];_0x5dd704[_0x1a2d8e]=(_0x151939<<0x8|_0x151939>>>0x18)&0xff00ff|(_0x151939<<0x18|_0x151939>>>0x8)&0xff00ff00;}return _0x46f0ad;},'clone':function(){var _0x2c7693=_0x3a9ff5,_0x509117=_0x5a6b56['clone'][_0x2c7693(0x3fe)](this);return _0x509117[_0x2c7693(0x166)]=this[_0x2c7693(0x166)][_0x2c7693(0x3ad)](),_0x509117;}});function _0x39741f(_0x517daf,_0x5c9674,_0x267643,_0x3608cd,_0x3df9fa,_0x3e3715,_0x215cac){var _0x2eaeac=_0x517daf+(_0x5c9674&_0x267643|~_0x5c9674&_0x3608cd)+_0x3df9fa+_0x215cac;return(_0x2eaeac<<_0x3e3715|_0x2eaeac>>>0x20-_0x3e3715)+_0x5c9674;}function _0x45818b(_0x1fda15,_0x390c8f,_0x38632c,_0x315d52,_0x34daed,_0x34efe6,_0x49a4e8){var _0x5b7057=_0x1fda15+(_0x390c8f&_0x315d52|_0x38632c&~_0x315d52)+_0x34daed+_0x49a4e8;return(_0x5b7057<<_0x34efe6|_0x5b7057>>>0x20-_0x34efe6)+_0x390c8f;}function _0x10fefe(_0x283b5e,_0x29c4d7,_0x3dbb5a,_0x33fee8,_0x4c9b22,_0xc1888b,_0x44637c){var _0x14d864=_0x283b5e+(_0x29c4d7^_0x3dbb5a^_0x33fee8)+_0x4c9b22+_0x44637c;return(_0x14d864<<_0xc1888b|_0x14d864>>>0x20-_0xc1888b)+_0x29c4d7;}function _0xba0fa(_0x1cbb83,_0xb4ede0,_0x233811,_0x4e39e0,_0x213e98,_0x4f7f96,_0x2ab7f4){var _0x1ac4e0=_0x1cbb83+(_0x233811^(_0xb4ede0|~_0x4e39e0))+_0x213e98+_0x2ab7f4;return(_0x1ac4e0<<_0x4f7f96|_0x1ac4e0>>>0x20-_0x4f7f96)+_0xb4ede0;}_0x2099a1['MD5']=_0x5a6b56[_0x3a9ff5(0x16b)](_0x34e6ec),_0x2099a1['HmacMD5']=_0x5a6b56[_0x3a9ff5(0x3c0)](_0x34e6ec);}(Math),_0x1afc72['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x1970a9(0x3dc)],Xt;function dn(){var _0xd34a50=_0x1970a9;return Xt||(Xt=0x1,function(_0x47f7d6,_0x10c694){(function(_0x5d2905,_0x4adb02){_0x47f7d6['exports']=_0x4adb02(ie());}(un,function(_0x4c79c4){return(function(){var _0x219059=_0x35ab,_0x4e6c65=_0x4c79c4,_0x6d1b5b=_0x4e6c65[_0x219059(0x2b2)],_0xd7469b=_0x6d1b5b[_0x219059(0x19d)],_0x4c526a=_0x6d1b5b[_0x219059(0x3c9)],_0x5d8e7b=_0x4e6c65['algo'],_0x57f519=[],_0x58c428=_0x5d8e7b['SHA1']=_0x4c526a[_0x219059(0x169)]({'_doReset':function(){var _0x17467e=_0x219059;this[_0x17467e(0x166)]=new _0xd7469b[(_0x17467e(0x1c7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40b3c3,_0xec911){var _0x1834e7=_0x219059;for(var _0x44c513=this[_0x1834e7(0x166)][_0x1834e7(0x463)],_0x4559fa=_0x44c513[0x0],_0x5e980d=_0x44c513[0x1],_0x359542=_0x44c513[0x2],_0x211be0=_0x44c513[0x3],_0x5e85bd=_0x44c513[0x4],_0x5ef7b5=0x0;_0x5ef7b5<0x50;_0x5ef7b5++){if(_0x5ef7b5<0x10)_0x57f519[_0x5ef7b5]=_0x40b3c3[_0xec911+_0x5ef7b5]|0x0;else{var _0x135bf7=_0x57f519[_0x5ef7b5-0x3]^_0x57f519[_0x5ef7b5-0x8]^_0x57f519[_0x5ef7b5-0xe]^_0x57f519[_0x5ef7b5-0x10];_0x57f519[_0x5ef7b5]=_0x135bf7<<0x1|_0x135bf7>>>0x1f;}var _0x548c7c=(_0x4559fa<<0x5|_0x4559fa>>>0x1b)+_0x5e85bd+_0x57f519[_0x5ef7b5];_0x5ef7b5<0x14?_0x548c7c+=(_0x5e980d&_0x359542|~_0x5e980d&_0x211be0)+0x5a827999:_0x5ef7b5<0x28?_0x548c7c+=(_0x5e980d^_0x359542^_0x211be0)+0x6ed9eba1:_0x5ef7b5<0x3c?_0x548c7c+=(_0x5e980d&_0x359542|_0x5e980d&_0x211be0|_0x359542&_0x211be0)-0x70e44324:_0x548c7c+=(_0x5e980d^_0x359542^_0x211be0)-0x359d3e2a,_0x5e85bd=_0x211be0,_0x211be0=_0x359542,_0x359542=_0x5e980d<<0x1e|_0x5e980d>>>0x2,_0x5e980d=_0x4559fa,_0x4559fa=_0x548c7c;}_0x44c513[0x0]=_0x44c513[0x0]+_0x4559fa|0x0,_0x44c513[0x1]=_0x44c513[0x1]+_0x5e980d|0x0,_0x44c513[0x2]=_0x44c513[0x2]+_0x359542|0x0,_0x44c513[0x3]=_0x44c513[0x3]+_0x211be0|0x0,_0x44c513[0x4]=_0x44c513[0x4]+_0x5e85bd|0x0;},'_doFinalize':function(){var _0x4ea570=_0x219059,_0x7c5a8=this[_0x4ea570(0x1e5)],_0x121e17=_0x7c5a8['words'],_0x4345e2=this[_0x4ea570(0x41b)]*0x8,_0x4e143f=_0x7c5a8['sigBytes']*0x8;return _0x121e17[_0x4e143f>>>0x5]|=0x80<<0x18-_0x4e143f%0x20,_0x121e17[(_0x4e143f+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ea570(0x432)](_0x4345e2/0x100000000),_0x121e17[(_0x4e143f+0x40>>>0x9<<0x4)+0xf]=_0x4345e2,_0x7c5a8[_0x4ea570(0x35a)]=_0x121e17[_0x4ea570(0x439)]*0x4,this['_process'](),this[_0x4ea570(0x166)];},'clone':function(){var _0x508bf8=_0x219059,_0x49900a=_0x4c526a[_0x508bf8(0x3ad)][_0x508bf8(0x3fe)](this);return _0x49900a[_0x508bf8(0x166)]=this[_0x508bf8(0x166)]['clone'](),_0x49900a;}});_0x4e6c65[_0x219059(0x3e8)]=_0x4c526a[_0x219059(0x16b)](_0x58c428),_0x4e6c65[_0x219059(0x1d9)]=_0x4c526a[_0x219059(0x3c0)](_0x58c428);}()),_0x4c79c4['SHA1'];}));}(qe)),qe[_0xd34a50(0x3dc)];}var ze={'exports':{}},fn=ze[_0x1970a9(0x3dc)],Zt;function vn(){var _0x159b4a=_0x1970a9;return Zt||(Zt=0x1,function(_0x14f3aa,_0x2290e2){(function(_0x1dd91b,_0x542216){var _0x4976b1=_0x35ab;_0x14f3aa[_0x4976b1(0x3dc)]=_0x542216(ie());}(fn,function(_0x31e627){(function(){var _0xcc3c59=_0x35ab,_0x3f9ee6=_0x31e627,_0x67a974=_0x3f9ee6['lib'],_0x23f728=_0x67a974['Base'],_0x1326ee=_0x3f9ee6[_0xcc3c59(0x32b)],_0x7a2e6f=_0x1326ee[_0xcc3c59(0x3bb)],_0x23f802=_0x3f9ee6[_0xcc3c59(0x2e3)];_0x23f802['HMAC']=_0x23f728['extend']({'init':function(_0x5046cb,_0x41af98){var _0x3f57a0=_0xcc3c59;_0x5046cb=this[_0x3f57a0(0x2bf)]=new _0x5046cb['init'](),typeof _0x41af98==_0x3f57a0(0x318)&&(_0x41af98=_0x7a2e6f['parse'](_0x41af98));var _0x1aadec=_0x5046cb[_0x3f57a0(0x203)],_0x4dd0b2=_0x1aadec*0x4;_0x41af98[_0x3f57a0(0x35a)]>_0x4dd0b2&&(_0x41af98=_0x5046cb[_0x3f57a0(0x1eb)](_0x41af98)),_0x41af98[_0x3f57a0(0x46d)]();for(var _0x3eda34=this[_0x3f57a0(0x2f2)]=_0x41af98[_0x3f57a0(0x3ad)](),_0x965ff6=this[_0x3f57a0(0x17b)]=_0x41af98[_0x3f57a0(0x3ad)](),_0x319af5=_0x3eda34[_0x3f57a0(0x463)],_0x16c2a2=_0x965ff6['words'],_0x21d842=0x0;_0x21d842<_0x1aadec;_0x21d842++)_0x319af5[_0x21d842]^=0x5c5c5c5c,_0x16c2a2[_0x21d842]^=0x36363636;_0x3eda34[_0x3f57a0(0x35a)]=_0x965ff6[_0x3f57a0(0x35a)]=_0x4dd0b2,this[_0x3f57a0(0x479)]();},'reset':function(){var _0x55c2f0=_0xcc3c59,_0x56dd35=this[_0x55c2f0(0x2bf)];_0x56dd35['reset'](),_0x56dd35[_0x55c2f0(0x43d)](this[_0x55c2f0(0x17b)]);},'update':function(_0x5f1856){return this['_hasher']['update'](_0x5f1856),this;},'finalize':function(_0x36591c){var _0x29d878=_0xcc3c59,_0x471bb5=this[_0x29d878(0x2bf)],_0x4d2e0a=_0x471bb5['finalize'](_0x36591c);_0x471bb5[_0x29d878(0x479)]();var _0x552edd=_0x471bb5['finalize'](this[_0x29d878(0x2f2)]['clone']()[_0x29d878(0x2bc)](_0x4d2e0a));return _0x552edd;}});}());}));}(ze)),ze[_0x159b4a(0x3dc)];}var pn=Ke[_0x1970a9(0x3dc)],Qt;function Ci(){var _0x4245c2=_0x1970a9;return Qt||(Qt=0x1,function(_0x4348bb,_0x4c506c){(function(_0x14553f,_0x85c0c9,_0x57e98d){_0x4348bb['exports']=_0x85c0c9(ie(),dn(),vn());}(pn,function(_0x51bb89){return(function(){var _0x32346f=_0x35ab,_0x2e0b0f=_0x51bb89,_0x6d1ca8=_0x2e0b0f[_0x32346f(0x2b2)],_0x2f1d76=_0x6d1ca8[_0x32346f(0x1c9)],_0x1b9269=_0x6d1ca8['WordArray'],_0x2f7407=_0x2e0b0f['algo'],_0x4bad55=_0x2f7407['MD5'],_0x520678=_0x2f7407[_0x32346f(0x444)]=_0x2f1d76[_0x32346f(0x169)]({'cfg':_0x2f1d76[_0x32346f(0x169)]({'keySize':0x80/0x20,'hasher':_0x4bad55,'iterations':0x1}),'init':function(_0xc29003){var _0x199967=_0x32346f;this[_0x199967(0x443)]=this[_0x199967(0x443)][_0x199967(0x169)](_0xc29003);},'compute':function(_0x52db57,_0x26f82b){var _0xb94601=_0x32346f;for(var _0x3bc002,_0x3d5771=this[_0xb94601(0x443)],_0x700b2f=_0x3d5771[_0xb94601(0x329)]['create'](),_0xc9404d=_0x1b9269[_0xb94601(0x1ef)](),_0x1b55bf=_0xc9404d[_0xb94601(0x463)],_0x569055=_0x3d5771[_0xb94601(0x2f8)],_0x406bcb=_0x3d5771[_0xb94601(0x27a)];_0x1b55bf[_0xb94601(0x439)]<_0x569055;){_0x3bc002&&_0x700b2f['update'](_0x3bc002),_0x3bc002=_0x700b2f[_0xb94601(0x43d)](_0x52db57)[_0xb94601(0x1eb)](_0x26f82b),_0x700b2f[_0xb94601(0x479)]();for(var _0x370ce2=0x1;_0x370ce2<_0x406bcb;_0x370ce2++)_0x3bc002=_0x700b2f[_0xb94601(0x1eb)](_0x3bc002),_0x700b2f[_0xb94601(0x479)]();_0xc9404d[_0xb94601(0x2bc)](_0x3bc002);}return _0xc9404d[_0xb94601(0x35a)]=_0x569055*0x4,_0xc9404d;}});_0x2e0b0f[_0x32346f(0x444)]=function(_0xcaa07a,_0x1b659c,_0x6c0b94){var _0x110f5d=_0x32346f;return _0x520678[_0x110f5d(0x1ef)](_0x6c0b94)[_0x110f5d(0x374)](_0xcaa07a,_0x1b659c);};}()),_0x51bb89['EvpKDF'];}));}(Ke)),Ke[_0x4245c2(0x3dc)];}var Je={'exports':{}},En=Je[_0x1970a9(0x3dc)],ei;function Ni(){return ei||(ei=0x1,function(_0x58a884,_0x12fa5d){(function(_0x936993,_0x4b00e4,_0x4a0f41){var _0x52af5d=_0x35ab;_0x58a884[_0x52af5d(0x3dc)]=_0x4b00e4(ie(),Ci());}(En,function(_0x1f1723){var _0x1ecc32=_0x35ab;_0x1f1723[_0x1ecc32(0x2b2)][_0x1ecc32(0x19b)]||function(_0x418adb){var _0x10d10f=_0x1ecc32,_0x342641=_0x1f1723,_0x15f353=_0x342641[_0x10d10f(0x2b2)],_0x2fd3d9=_0x15f353[_0x10d10f(0x1c9)],_0x56e68d=_0x15f353[_0x10d10f(0x19d)],_0x4d5761=_0x15f353['BufferedBlockAlgorithm'],_0x1b46e6=_0x342641[_0x10d10f(0x32b)];_0x1b46e6[_0x10d10f(0x3bb)];var _0x4f3d88=_0x1b46e6[_0x10d10f(0x1a4)],_0x557607=_0x342641[_0x10d10f(0x2e3)],_0x2fb20d=_0x557607[_0x10d10f(0x444)],_0x378679=_0x15f353[_0x10d10f(0x19b)]=_0x4d5761[_0x10d10f(0x169)]({'cfg':_0x2fd3d9['extend'](),'createEncryptor':function(_0x2e5b4c,_0x4edb29){var _0xe603de=_0x10d10f;return this[_0xe603de(0x1ef)](this[_0xe603de(0x2ee)],_0x2e5b4c,_0x4edb29);},'createDecryptor':function(_0x481e29,_0x20031a){var _0x280ed4=_0x10d10f;return this['create'](this[_0x280ed4(0x44a)],_0x481e29,_0x20031a);},'init':function(_0x17e843,_0x1b2932,_0x2bfbd0){var _0x55a82f=_0x10d10f;this[_0x55a82f(0x443)]=this['cfg']['extend'](_0x2bfbd0),this['_xformMode']=_0x17e843,this['_key']=_0x1b2932,this['reset']();},'reset':function(){var _0x1bbcaf=_0x10d10f;_0x4d5761[_0x1bbcaf(0x479)]['call'](this),this[_0x1bbcaf(0x1bc)]();},'process':function(_0x19a2b0){var _0x34bcdb=_0x10d10f;return this[_0x34bcdb(0x225)](_0x19a2b0),this[_0x34bcdb(0x277)]();},'finalize':function(_0x1acdc0){var _0x5771cf=_0x10d10f;_0x1acdc0&&this[_0x5771cf(0x225)](_0x1acdc0);var _0x34da68=this[_0x5771cf(0x246)]();return _0x34da68;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1cd79f(_0x3ac0e2){var _0x126e88=_0x35ab;return typeof _0x3ac0e2==_0x126e88(0x318)?_0x26310b:_0x382fbc;}return function(_0xc643b6){return{'encrypt':function(_0x2a29df,_0x11c90a,_0x45f357){var _0x3abefc=_0x35ab;return _0x1cd79f(_0x11c90a)[_0x3abefc(0x3ce)](_0xc643b6,_0x2a29df,_0x11c90a,_0x45f357);},'decrypt':function(_0x589e16,_0x36ecc0,_0x11624e){var _0x4a7f20=_0x35ab;return _0x1cd79f(_0x36ecc0)[_0x4a7f20(0x15c)](_0xc643b6,_0x589e16,_0x36ecc0,_0x11624e);}};};}())});_0x15f353[_0x10d10f(0x2a9)]=_0x378679[_0x10d10f(0x169)]({'_doFinalize':function(){var _0x2abda0=_0x10d10f,_0x4be78f=this[_0x2abda0(0x277)](!0x0);return _0x4be78f;},'blockSize':0x1});var _0x190418=_0x342641[_0x10d10f(0x335)]={},_0x4712d1=_0x15f353[_0x10d10f(0x3b5)]=_0x2fd3d9[_0x10d10f(0x169)]({'createEncryptor':function(_0x188618,_0x41d801){var _0x618af5=_0x10d10f;return this[_0x618af5(0x31b)][_0x618af5(0x1ef)](_0x188618,_0x41d801);},'createDecryptor':function(_0xf3c50,_0x58bfb9){var _0xe11c3=_0x10d10f;return this[_0xe11c3(0x2be)][_0xe11c3(0x1ef)](_0xf3c50,_0x58bfb9);},'init':function(_0x5750af,_0x586400){var _0x34ecf6=_0x10d10f;this[_0x34ecf6(0x1ab)]=_0x5750af,this[_0x34ecf6(0x1ee)]=_0x586400;}}),_0x411fd5=_0x190418[_0x10d10f(0x3bc)]=(function(){var _0x52adbe=_0x10d10f,_0x19c4eb=_0x4712d1[_0x52adbe(0x169)]();_0x19c4eb[_0x52adbe(0x31b)]=_0x19c4eb[_0x52adbe(0x169)]({'processBlock':function(_0x13daa1,_0x3698e8){var _0x2fc37f=_0x52adbe,_0x19e374=this['_cipher'],_0x4e251b=_0x19e374[_0x2fc37f(0x203)];_0x19a13f[_0x2fc37f(0x3fe)](this,_0x13daa1,_0x3698e8,_0x4e251b),_0x19e374[_0x2fc37f(0x2d7)](_0x13daa1,_0x3698e8),this[_0x2fc37f(0x1a5)]=_0x13daa1[_0x2fc37f(0x209)](_0x3698e8,_0x3698e8+_0x4e251b);}}),_0x19c4eb['Decryptor']=_0x19c4eb[_0x52adbe(0x169)]({'processBlock':function(_0x17cbb7,_0x5dc655){var _0x463ee6=_0x52adbe,_0x3f3ae2=this[_0x463ee6(0x1ab)],_0x4d6b0e=_0x3f3ae2[_0x463ee6(0x203)],_0x1d0255=_0x17cbb7[_0x463ee6(0x209)](_0x5dc655,_0x5dc655+_0x4d6b0e);_0x3f3ae2[_0x463ee6(0x2ec)](_0x17cbb7,_0x5dc655),_0x19a13f['call'](this,_0x17cbb7,_0x5dc655,_0x4d6b0e),this[_0x463ee6(0x1a5)]=_0x1d0255;}});function _0x19a13f(_0x2510db,_0x167296,_0x22957b){var _0x5928b7=_0x52adbe,_0x22c5eb,_0x270044=this[_0x5928b7(0x1ee)];_0x270044?(_0x22c5eb=_0x270044,this[_0x5928b7(0x1ee)]=_0x418adb):_0x22c5eb=this[_0x5928b7(0x1a5)];for(var _0x400a72=0x0;_0x400a72<_0x22957b;_0x400a72++)_0x2510db[_0x167296+_0x400a72]^=_0x22c5eb[_0x400a72];}return _0x19c4eb;}()),_0x18f9d5=_0x342641[_0x10d10f(0x3e4)]={},_0x335b4f=_0x18f9d5['Pkcs7']={'pad':function(_0x17a507,_0x5e54db){var _0x2d71df=_0x10d10f;for(var _0x52713e=_0x5e54db*0x4,_0x1eac6c=_0x52713e-_0x17a507['sigBytes']%_0x52713e,_0x3fa06f=_0x1eac6c<<0x18|_0x1eac6c<<0x10|_0x1eac6c<<0x8|_0x1eac6c,_0x366b50=[],_0x46b222=0x0;_0x46b222<_0x1eac6c;_0x46b222+=0x4)_0x366b50['push'](_0x3fa06f);var _0x5959e9=_0x56e68d[_0x2d71df(0x1ef)](_0x366b50,_0x1eac6c);_0x17a507['concat'](_0x5959e9);},'unpad':function(_0x5d3e27){var _0x513d8b=_0x10d10f,_0x4c9584=_0x5d3e27[_0x513d8b(0x463)][_0x5d3e27[_0x513d8b(0x35a)]-0x1>>>0x2]&0xff;_0x5d3e27[_0x513d8b(0x35a)]-=_0x4c9584;}};_0x15f353[_0x10d10f(0x456)]=_0x378679['extend']({'cfg':_0x378679['cfg'][_0x10d10f(0x169)]({'mode':_0x411fd5,'padding':_0x335b4f}),'reset':function(){var _0x179a47=_0x10d10f,_0x15dc14;_0x378679[_0x179a47(0x479)]['call'](this);var _0x141e6e=this[_0x179a47(0x443)],_0x44311f=_0x141e6e['iv'],_0x2233a8=_0x141e6e['mode'];this[_0x179a47(0x1b7)]==this[_0x179a47(0x2ee)]?_0x15dc14=_0x2233a8[_0x179a47(0x41d)]:(_0x15dc14=_0x2233a8[_0x179a47(0x2e5)],this[_0x179a47(0x316)]=0x1),this[_0x179a47(0x44d)]&&this[_0x179a47(0x44d)][_0x179a47(0x467)]==_0x15dc14?this[_0x179a47(0x44d)][_0x179a47(0x1c7)](this,_0x44311f&&_0x44311f['words']):(this[_0x179a47(0x44d)]=_0x15dc14[_0x179a47(0x3fe)](_0x2233a8,this,_0x44311f&&_0x44311f[_0x179a47(0x463)]),this[_0x179a47(0x44d)][_0x179a47(0x467)]=_0x15dc14);},'_doProcessBlock':function(_0x467ff4,_0x5cd08d){var _0x101af4=_0x10d10f;this['_mode'][_0x101af4(0x2c8)](_0x467ff4,_0x5cd08d);},'_doFinalize':function(){var _0x34d760=_0x10d10f,_0x4b728a,_0x5a2e5b=this[_0x34d760(0x443)]['padding'];return this[_0x34d760(0x1b7)]==this[_0x34d760(0x2ee)]?(_0x5a2e5b[_0x34d760(0x3e4)](this[_0x34d760(0x1e5)],this['blockSize']),_0x4b728a=this[_0x34d760(0x277)](!0x0)):(_0x4b728a=this['_process'](!0x0),_0x5a2e5b[_0x34d760(0x160)](_0x4b728a)),_0x4b728a;},'blockSize':0x80/0x20});var _0x1a4a66=_0x15f353['CipherParams']=_0x2fd3d9[_0x10d10f(0x169)]({'init':function(_0x3a1dd2){var _0x1a7d69=_0x10d10f;this[_0x1a7d69(0x25b)](_0x3a1dd2);},'toString':function(_0x220a81){var _0x5b469e=_0x10d10f;return(_0x220a81||this[_0x5b469e(0x1d5)])['stringify'](this);}}),_0x3d1140=_0x342641[_0x10d10f(0x460)]={},_0x46219c=_0x3d1140[_0x10d10f(0x295)]={'stringify':function(_0x115e20){var _0x3999e9=_0x10d10f,_0x2c434e,_0x472293=_0x115e20[_0x3999e9(0x330)],_0x64d20e=_0x115e20[_0x3999e9(0x217)];return _0x64d20e?_0x2c434e=_0x56e68d[_0x3999e9(0x1ef)]([0x53616c74,0x65645f5f])[_0x3999e9(0x2bc)](_0x64d20e)[_0x3999e9(0x2bc)](_0x472293):_0x2c434e=_0x472293,_0x2c434e[_0x3999e9(0x284)](_0x4f3d88);},'parse':function(_0x4c180a){var _0x24481e=_0x10d10f,_0x5856c6,_0x4cb7f9=_0x4f3d88[_0x24481e(0x37b)](_0x4c180a),_0x4c54bb=_0x4cb7f9[_0x24481e(0x463)];return _0x4c54bb[0x0]==0x53616c74&&_0x4c54bb[0x1]==0x65645f5f&&(_0x5856c6=_0x56e68d[_0x24481e(0x1ef)](_0x4c54bb[_0x24481e(0x209)](0x2,0x4)),_0x4c54bb[_0x24481e(0x307)](0x0,0x4),_0x4cb7f9[_0x24481e(0x35a)]-=0x10),_0x1a4a66[_0x24481e(0x1ef)]({'ciphertext':_0x4cb7f9,'salt':_0x5856c6});}},_0x382fbc=_0x15f353['SerializableCipher']=_0x2fd3d9[_0x10d10f(0x169)]({'cfg':_0x2fd3d9[_0x10d10f(0x169)]({'format':_0x46219c}),'encrypt':function(_0x3b9ff4,_0x31d42f,_0x4566ef,_0x5b32ba){var _0x1f576c=_0x10d10f;_0x5b32ba=this[_0x1f576c(0x443)]['extend'](_0x5b32ba);var _0x276935=_0x3b9ff4[_0x1f576c(0x41d)](_0x4566ef,_0x5b32ba),_0x29db3c=_0x276935['finalize'](_0x31d42f),_0x58099d=_0x276935[_0x1f576c(0x443)];return _0x1a4a66[_0x1f576c(0x1ef)]({'ciphertext':_0x29db3c,'key':_0x4566ef,'iv':_0x58099d['iv'],'algorithm':_0x3b9ff4,'mode':_0x58099d[_0x1f576c(0x335)],'padding':_0x58099d[_0x1f576c(0x39f)],'blockSize':_0x3b9ff4[_0x1f576c(0x203)],'formatter':_0x5b32ba[_0x1f576c(0x460)]});},'decrypt':function(_0x51ede3,_0x411e2c,_0x145cb6,_0x116891){var _0x989ad2=_0x10d10f;_0x116891=this['cfg']['extend'](_0x116891),_0x411e2c=this['_parse'](_0x411e2c,_0x116891[_0x989ad2(0x460)]);var _0x3fef6b=_0x51ede3[_0x989ad2(0x2e5)](_0x145cb6,_0x116891)[_0x989ad2(0x1eb)](_0x411e2c[_0x989ad2(0x330)]);return _0x3fef6b;},'_parse':function(_0x39db67,_0x3b98f5){var _0xe90ba7=_0x10d10f;return typeof _0x39db67==_0xe90ba7(0x318)?_0x3b98f5['parse'](_0x39db67,this):_0x39db67;}}),_0x2295b1=_0x342641[_0x10d10f(0x3a6)]={},_0x233a18=_0x2295b1[_0x10d10f(0x295)]={'execute':function(_0x1f0702,_0x2f4025,_0xf1ae4f,_0x41853e,_0x59cbf9){var _0x470968=_0x10d10f;if(_0x41853e||(_0x41853e=_0x56e68d[_0x470968(0x358)](0x40/0x8)),_0x59cbf9)var _0x47d8d9=_0x2fb20d[_0x470968(0x1ef)]({'keySize':_0x2f4025+_0xf1ae4f,'hasher':_0x59cbf9})[_0x470968(0x374)](_0x1f0702,_0x41853e);else var _0x47d8d9=_0x2fb20d[_0x470968(0x1ef)]({'keySize':_0x2f4025+_0xf1ae4f})[_0x470968(0x374)](_0x1f0702,_0x41853e);var _0x205838=_0x56e68d[_0x470968(0x1ef)](_0x47d8d9['words']['slice'](_0x2f4025),_0xf1ae4f*0x4);return _0x47d8d9[_0x470968(0x35a)]=_0x2f4025*0x4,_0x1a4a66[_0x470968(0x1ef)]({'key':_0x47d8d9,'iv':_0x205838,'salt':_0x41853e});}},_0x26310b=_0x15f353['PasswordBasedCipher']=_0x382fbc[_0x10d10f(0x169)]({'cfg':_0x382fbc[_0x10d10f(0x443)]['extend']({'kdf':_0x233a18}),'encrypt':function(_0x561f8d,_0x42f2f3,_0x53510c,_0x1b4493){var _0x1fe3cc=_0x10d10f;_0x1b4493=this['cfg']['extend'](_0x1b4493);var _0x4048bd=_0x1b4493['kdf'][_0x1fe3cc(0x17e)](_0x53510c,_0x561f8d[_0x1fe3cc(0x2f8)],_0x561f8d[_0x1fe3cc(0x17f)],_0x1b4493['salt'],_0x1b4493[_0x1fe3cc(0x329)]);_0x1b4493['iv']=_0x4048bd['iv'];var _0x3aef24=_0x382fbc[_0x1fe3cc(0x3ce)][_0x1fe3cc(0x3fe)](this,_0x561f8d,_0x42f2f3,_0x4048bd[_0x1fe3cc(0x359)],_0x1b4493);return _0x3aef24[_0x1fe3cc(0x25b)](_0x4048bd),_0x3aef24;},'decrypt':function(_0xa67396,_0x4d8709,_0x480700,_0x545488){var _0x9e510=_0x10d10f;_0x545488=this[_0x9e510(0x443)][_0x9e510(0x169)](_0x545488),_0x4d8709=this['_parse'](_0x4d8709,_0x545488['format']);var _0x2027ee=_0x545488[_0x9e510(0x3a6)][_0x9e510(0x17e)](_0x480700,_0xa67396[_0x9e510(0x2f8)],_0xa67396[_0x9e510(0x17f)],_0x4d8709['salt'],_0x545488[_0x9e510(0x329)]);_0x545488['iv']=_0x2027ee['iv'];var _0x3f657c=_0x382fbc[_0x9e510(0x15c)][_0x9e510(0x3fe)](this,_0xa67396,_0x4d8709,_0x2027ee['key'],_0x545488);return _0x3f657c;}});}();}));}(Je)),Je['exports'];}var mn=Ve['exports'],ti;function In(){var _0x90436e=_0x1970a9;return ti||(ti=0x1,function(_0x2b3c76,_0x36f029){(function(_0x1280ed,_0x5a1f19,_0x30f283){var _0x2469b1=_0x35ab;_0x2b3c76[_0x2469b1(0x3dc)]=_0x5a1f19(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x58019f){var _0x5c16b1=_0x35ab;return(function(){var _0x2fa26d=_0x35ab,_0xfac48f=_0x58019f,_0x2df823=_0xfac48f[_0x2fa26d(0x2b2)],_0x1d775b=_0x2df823[_0x2fa26d(0x456)],_0x3fbbba=_0xfac48f[_0x2fa26d(0x2e3)],_0x282735=[],_0x251f0b=[],_0x5cef95=[],_0x1dfce0=[],_0x224bb6=[],_0x34a1b1=[],_0x433a71=[],_0x4de41a=[],_0x29f57a=[],_0x7b524c=[];(function(){for(var _0x300a6f=[],_0x5591b0=0x0;_0x5591b0<0x100;_0x5591b0++)_0x5591b0<0x80?_0x300a6f[_0x5591b0]=_0x5591b0<<0x1:_0x300a6f[_0x5591b0]=_0x5591b0<<0x1^0x11b;for(var _0x5b3b39=0x0,_0x57f5f8=0x0,_0x5591b0=0x0;_0x5591b0<0x100;_0x5591b0++){var _0x312c59=_0x57f5f8^_0x57f5f8<<0x1^_0x57f5f8<<0x2^_0x57f5f8<<0x3^_0x57f5f8<<0x4;_0x312c59=_0x312c59>>>0x8^_0x312c59&0xff^0x63,_0x282735[_0x5b3b39]=_0x312c59,_0x251f0b[_0x312c59]=_0x5b3b39;var _0x97b446=_0x300a6f[_0x5b3b39],_0x485a23=_0x300a6f[_0x97b446],_0x29545b=_0x300a6f[_0x485a23],_0x387da8=_0x300a6f[_0x312c59]*0x101^_0x312c59*0x1010100;_0x5cef95[_0x5b3b39]=_0x387da8<<0x18|_0x387da8>>>0x8,_0x1dfce0[_0x5b3b39]=_0x387da8<<0x10|_0x387da8>>>0x10,_0x224bb6[_0x5b3b39]=_0x387da8<<0x8|_0x387da8>>>0x18,_0x34a1b1[_0x5b3b39]=_0x387da8;var _0x387da8=_0x29545b*0x1010101^_0x485a23*0x10001^_0x97b446*0x101^_0x5b3b39*0x1010100;_0x433a71[_0x312c59]=_0x387da8<<0x18|_0x387da8>>>0x8,_0x4de41a[_0x312c59]=_0x387da8<<0x10|_0x387da8>>>0x10,_0x29f57a[_0x312c59]=_0x387da8<<0x8|_0x387da8>>>0x18,_0x7b524c[_0x312c59]=_0x387da8,_0x5b3b39?(_0x5b3b39=_0x97b446^_0x300a6f[_0x300a6f[_0x300a6f[_0x29545b^_0x97b446]]],_0x57f5f8^=_0x300a6f[_0x300a6f[_0x57f5f8]]):_0x5b3b39=_0x57f5f8=0x1;}}());var _0x36c468=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30e17c=_0x3fbbba[_0x2fa26d(0x16c)]=_0x1d775b['extend']({'_doReset':function(){var _0x54769a=_0x2fa26d,_0x427e9c;if(!(this[_0x54769a(0x379)]&&this[_0x54769a(0x220)]===this[_0x54769a(0x1db)])){for(var _0x3386d2=this['_keyPriorReset']=this[_0x54769a(0x1db)],_0x4afc35=_0x3386d2[_0x54769a(0x463)],_0x30eeb8=_0x3386d2[_0x54769a(0x35a)]/0x4,_0x385c93=this[_0x54769a(0x379)]=_0x30eeb8+0x6,_0x4cebbc=(_0x385c93+0x1)*0x4,_0x89bde8=this['_keySchedule']=[],_0xb5c3fe=0x0;_0xb5c3fe<_0x4cebbc;_0xb5c3fe++)_0xb5c3fe<_0x30eeb8?_0x89bde8[_0xb5c3fe]=_0x4afc35[_0xb5c3fe]:(_0x427e9c=_0x89bde8[_0xb5c3fe-0x1],_0xb5c3fe%_0x30eeb8?_0x30eeb8>0x6&&_0xb5c3fe%_0x30eeb8==0x4&&(_0x427e9c=_0x282735[_0x427e9c>>>0x18]<<0x18|_0x282735[_0x427e9c>>>0x10&0xff]<<0x10|_0x282735[_0x427e9c>>>0x8&0xff]<<0x8|_0x282735[_0x427e9c&0xff]):(_0x427e9c=_0x427e9c<<0x8|_0x427e9c>>>0x18,_0x427e9c=_0x282735[_0x427e9c>>>0x18]<<0x18|_0x282735[_0x427e9c>>>0x10&0xff]<<0x10|_0x282735[_0x427e9c>>>0x8&0xff]<<0x8|_0x282735[_0x427e9c&0xff],_0x427e9c^=_0x36c468[_0xb5c3fe/_0x30eeb8|0x0]<<0x18),_0x89bde8[_0xb5c3fe]=_0x89bde8[_0xb5c3fe-_0x30eeb8]^_0x427e9c);for(var _0x329f56=this[_0x54769a(0x222)]=[],_0x368ed9=0x0;_0x368ed9<_0x4cebbc;_0x368ed9++){var _0xb5c3fe=_0x4cebbc-_0x368ed9;if(_0x368ed9%0x4)var _0x427e9c=_0x89bde8[_0xb5c3fe];else var _0x427e9c=_0x89bde8[_0xb5c3fe-0x4];_0x368ed9<0x4||_0xb5c3fe<=0x4?_0x329f56[_0x368ed9]=_0x427e9c:_0x329f56[_0x368ed9]=_0x433a71[_0x282735[_0x427e9c>>>0x18]]^_0x4de41a[_0x282735[_0x427e9c>>>0x10&0xff]]^_0x29f57a[_0x282735[_0x427e9c>>>0x8&0xff]]^_0x7b524c[_0x282735[_0x427e9c&0xff]];}}},'encryptBlock':function(_0xf4959b,_0x3f418a){var _0xb91f94=_0x2fa26d;this['_doCryptBlock'](_0xf4959b,_0x3f418a,this[_0xb91f94(0x3ac)],_0x5cef95,_0x1dfce0,_0x224bb6,_0x34a1b1,_0x282735);},'decryptBlock':function(_0x19efb0,_0xb6d35d){var _0x4f0a08=_0x2fa26d,_0x52ff0e=_0x19efb0[_0xb6d35d+0x1];_0x19efb0[_0xb6d35d+0x1]=_0x19efb0[_0xb6d35d+0x3],_0x19efb0[_0xb6d35d+0x3]=_0x52ff0e,this[_0x4f0a08(0x23b)](_0x19efb0,_0xb6d35d,this[_0x4f0a08(0x222)],_0x433a71,_0x4de41a,_0x29f57a,_0x7b524c,_0x251f0b);var _0x52ff0e=_0x19efb0[_0xb6d35d+0x1];_0x19efb0[_0xb6d35d+0x1]=_0x19efb0[_0xb6d35d+0x3],_0x19efb0[_0xb6d35d+0x3]=_0x52ff0e;},'_doCryptBlock':function(_0x1688cd,_0x582707,_0x333b56,_0x4fef5c,_0x437355,_0x4bd00c,_0x3e59ca,_0x90b05c){var _0x201323=_0x2fa26d;for(var _0x27c9a5=this[_0x201323(0x379)],_0x2fffe7=_0x1688cd[_0x582707]^_0x333b56[0x0],_0x5d6895=_0x1688cd[_0x582707+0x1]^_0x333b56[0x1],_0x19892c=_0x1688cd[_0x582707+0x2]^_0x333b56[0x2],_0xfbb927=_0x1688cd[_0x582707+0x3]^_0x333b56[0x3],_0x3f25e0=0x4,_0xda7346=0x1;_0xda7346<_0x27c9a5;_0xda7346++){var _0x16b7ca=_0x4fef5c[_0x2fffe7>>>0x18]^_0x437355[_0x5d6895>>>0x10&0xff]^_0x4bd00c[_0x19892c>>>0x8&0xff]^_0x3e59ca[_0xfbb927&0xff]^_0x333b56[_0x3f25e0++],_0x14a02f=_0x4fef5c[_0x5d6895>>>0x18]^_0x437355[_0x19892c>>>0x10&0xff]^_0x4bd00c[_0xfbb927>>>0x8&0xff]^_0x3e59ca[_0x2fffe7&0xff]^_0x333b56[_0x3f25e0++],_0x1197e6=_0x4fef5c[_0x19892c>>>0x18]^_0x437355[_0xfbb927>>>0x10&0xff]^_0x4bd00c[_0x2fffe7>>>0x8&0xff]^_0x3e59ca[_0x5d6895&0xff]^_0x333b56[_0x3f25e0++],_0x25d482=_0x4fef5c[_0xfbb927>>>0x18]^_0x437355[_0x2fffe7>>>0x10&0xff]^_0x4bd00c[_0x5d6895>>>0x8&0xff]^_0x3e59ca[_0x19892c&0xff]^_0x333b56[_0x3f25e0++];_0x2fffe7=_0x16b7ca,_0x5d6895=_0x14a02f,_0x19892c=_0x1197e6,_0xfbb927=_0x25d482;}var _0x16b7ca=(_0x90b05c[_0x2fffe7>>>0x18]<<0x18|_0x90b05c[_0x5d6895>>>0x10&0xff]<<0x10|_0x90b05c[_0x19892c>>>0x8&0xff]<<0x8|_0x90b05c[_0xfbb927&0xff])^_0x333b56[_0x3f25e0++],_0x14a02f=(_0x90b05c[_0x5d6895>>>0x18]<<0x18|_0x90b05c[_0x19892c>>>0x10&0xff]<<0x10|_0x90b05c[_0xfbb927>>>0x8&0xff]<<0x8|_0x90b05c[_0x2fffe7&0xff])^_0x333b56[_0x3f25e0++],_0x1197e6=(_0x90b05c[_0x19892c>>>0x18]<<0x18|_0x90b05c[_0xfbb927>>>0x10&0xff]<<0x10|_0x90b05c[_0x2fffe7>>>0x8&0xff]<<0x8|_0x90b05c[_0x5d6895&0xff])^_0x333b56[_0x3f25e0++],_0x25d482=(_0x90b05c[_0xfbb927>>>0x18]<<0x18|_0x90b05c[_0x2fffe7>>>0x10&0xff]<<0x10|_0x90b05c[_0x5d6895>>>0x8&0xff]<<0x8|_0x90b05c[_0x19892c&0xff])^_0x333b56[_0x3f25e0++];_0x1688cd[_0x582707]=_0x16b7ca,_0x1688cd[_0x582707+0x1]=_0x14a02f,_0x1688cd[_0x582707+0x2]=_0x1197e6,_0x1688cd[_0x582707+0x3]=_0x25d482;},'keySize':0x100/0x20});_0xfac48f['AES']=_0x1d775b[_0x2fa26d(0x16b)](_0x30e17c);}()),_0x58019f[_0x5c16b1(0x16c)];}));}(Ve)),Ve[_0x90436e(0x3dc)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe['exports'],si;function Rn(){var _0x45c6a8=_0x1970a9;return si||(si=0x1,function(_0x521c34,_0x3edeb6){(function(_0x4b26cb,_0x22399b){var _0x97fdd9=_0x35ab;_0x521c34[_0x97fdd9(0x3dc)]=_0x22399b(ie());}(On,function(_0x55f6f3){var _0x5d33bc=_0x35ab;return _0x55f6f3['enc'][_0x5d33bc(0x3bb)];}));}(Xe)),Xe[_0x45c6a8(0x3dc)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x1970a9(0x3dc)],ni;function Dn(){return ni||(ni=0x1,function(_0x539de4,_0x406eff){(function(_0x5023ff,_0x396fbd){_0x539de4['exports']=_0x396fbd(ie());}(bn,function(_0x347727){var _0x1ddab2=_0x35ab;return(function(){var _0x1aa700=_0x35ab;if(typeof ArrayBuffer==_0x1aa700(0x410)){var _0x2bea31=_0x347727,_0x5065ee=_0x2bea31[_0x1aa700(0x2b2)],_0x1314b4=_0x5065ee['WordArray'],_0x2a03b6=_0x1314b4['init'],_0x3b3e1e=_0x1314b4[_0x1aa700(0x1c7)]=function(_0x2c2d41){var _0x549492=_0x1aa700;if(_0x2c2d41 instanceof ArrayBuffer&&(_0x2c2d41=new Uint8Array(_0x2c2d41)),(_0x2c2d41 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c2d41 instanceof Uint8ClampedArray||_0x2c2d41 instanceof Int16Array||_0x2c2d41 instanceof Uint16Array||_0x2c2d41 instanceof Int32Array||_0x2c2d41 instanceof Uint32Array||_0x2c2d41 instanceof Float32Array||_0x2c2d41 instanceof Float64Array)&&(_0x2c2d41=new Uint8Array(_0x2c2d41['buffer'],_0x2c2d41[_0x549492(0x434)],_0x2c2d41[_0x549492(0x216)])),_0x2c2d41 instanceof Uint8Array){for(var _0x319fbc=_0x2c2d41[_0x549492(0x216)],_0x89865e=[],_0x404fe9=0x0;_0x404fe9<_0x319fbc;_0x404fe9++)_0x89865e[_0x404fe9>>>0x2]|=_0x2c2d41[_0x404fe9]<<0x18-_0x404fe9%0x4*0x8;_0x2a03b6[_0x549492(0x3fe)](this,_0x89865e,_0x319fbc);}else _0x2a03b6[_0x549492(0x2fc)](this,arguments);};_0x3b3e1e[_0x1aa700(0x1cc)]=_0x1314b4;}}()),_0x347727[_0x1ddab2(0x2b2)][_0x1ddab2(0x19d)];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x1970a9(0x3dc)],ri;function Pn(){var _0x2a9211=_0x1970a9;return ri||(ri=0x1,function(_0x32cb72,_0x5ba300){(function(_0x5347d6,_0x2d50d2,_0x240155){var _0x2c0cb9=_0x35ab;_0x32cb72[_0x2c0cb9(0x3dc)]=_0x2d50d2(ie(),Ni());}(An,function(_0x5a820c){var _0x5659f9=_0x35ab;return _0x5a820c[_0x5659f9(0x3e4)][_0x5659f9(0x412)]={'pad':function(){},'unpad':function(){}},_0x5a820c['pad'][_0x5659f9(0x412)];}));}(Qe)),Qe[_0x2a9211(0x3dc)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x47937d,_0x3f97f9){var _0x561656=_0x1970a9;const _0x41ba90=_0x3f97f9-_0x47937d['length']%_0x3f97f9,_0x5dd1fb=String['fromCharCode'](_0x41ba90)[_0x561656(0x3e5)](_0x41ba90);return _0x47937d+_0x5dd1fb;}function xn(_0x547a89,_0x3779ff){var _0x42e4f5=_0x1970a9;const _0x4ffc30=Un['random'](0x10),_0x5f5114=Ln(_0x547a89,0x10),_0x33749b=gn[_0x42e4f5(0x3ce)](Nn[_0x42e4f5(0x37b)](_0x5f5114),ii[_0x42e4f5(0x37b)](_0x3779ff),{'iv':_0x4ffc30,'padding':Mn});return _0x4ffc30[_0x42e4f5(0x2bc)](_0x33749b['ciphertext'])[_0x42e4f5(0x284)](ii);}function kn(){var _0x38092b=_0x1970a9;const _0x4cd5f5=_0x4717bc()[_0x38092b(0x24f)];if(_0x4cd5f5){const _0x13a3e3={'time':Math[_0x38092b(0x432)](Date[_0x38092b(0x3d5)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x38092b(0x1af)](_0x13a3e3),_0x4cd5f5);}}var $n=Object[_0x1970a9(0x16f)],Hn=(_0x16196e,_0xcd862,_0x56a02d,_0x1b74b9)=>{var _0x5856e5=_0x1970a9;for(var _0x532fcb=_0x1b74b9>0x1?void 0x0:_0x1b74b9?$n(_0xcd862,_0x56a02d):_0xcd862,_0x39c053=_0x16196e[_0x5856e5(0x439)]-0x1,_0x7db46a;_0x39c053>=0x0;_0x39c053--)(_0x7db46a=_0x16196e[_0x39c053])&&(_0x532fcb=_0x7db46a(_0x532fcb)||_0x532fcb);return _0x532fcb;},Bn=(_0x41625f,_0x1a8a71)=>(_0x178ef9,_0x1f388c)=>_0x1a8a71(_0x178ef9,_0x1f388c,_0x41625f);function _0x39cf(){var _0xa4f5=['setWaitCount','updateCursorEvent','/rev/','_minBufferSize','_getSendChangesetTimeout','string','MSG_FOR_ERROR','_onRecvEvent','Encryptor','NO_OTHER_CLIENTS_EDITING','loadDoc','DEFAULT_FILE_NAME','onTransformRemoteChangesetByIMECache','objectID','localeService','getInterceptPoints','_snapshotService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','socket\x20close','_transformSelections','\x20to\x20','_clearHeartbeatTimer','hasher','replace','enc','_commentService','includes','_entities','data','ciphertext','_onConnectionOpen','eventID','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','reconnect','mode','max','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISSING','_socketService','USER_IS_ANONYMOUS','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','INGEST','_onFetchMissResult','getCurrentRevOfUnit','createSocket','deepClone','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','INTERNAL_ERROR','headers','updateSnapshot','FileId','_instanceService','UPDATE_PERMISSION_OBJ','univer-pro.collaboration-client.single-active-unit-service','m2Prime','_sendHeartbeat','editing\x20status\x20changed\x20to','collabWebSocketUrl','onCommandExecuted','session','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_replaceFileID','_toggleOnline','NOT_COLLAB','charCodeAt','_updateState','Undefined','localCacheService','/universer-api/comb','random','key','sigBytes','getCollabEntity$','reqId','_resendWithTimeout','[DataLoaderService]','_schedule','join','CURRENT_STATUS_CANNOT_OPERATE','CHANGESET_REVISION_CONFILICT','_commandService','changesets','transformSelections','_incrementRevisionNumber','JOIN_ROOM_FULL','_sheetTransformSelectionsService','/fetchmissing?from=','CHANGESET_REJ','OPTIONAL','subUnitId','onRemoteChangeset','objectActions','onTransformRemoteChangesetByStateCache','_imageSourceCache','_awaitingChangeset','MUTATION','isArray','compute','ENTITLE_DUP_SUBSCRIPTION','RECV','commentUpdateEvent','onTransformState','_nRounds','substr','parse','/allowed','roles','_transformService','change$','closeSession','HELLO','_tryEnsureSocket','_substituteUndoStack','Error\x20on\x20receiving\x20event','OTHER_CLIENTS_EDITING','baseRev','_pendingMutations','offline','LIVESHARE_REQUEST_HOST','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getDownloadEndpointURL','_stopTelemetryCollaborationNewChangeset','_fetchMissChangesets','_queuedRemoteChangesets','rev','ERROR_IMAGE','UserProfileImg','enableOfflineEditing','randomBytes','{fileID}','csAckEvent','USER_NOT_FOUND','UNAUTHENTICATED','addHandlerCallback','/collaborator','waitForRoom$','unitInfo$','OTHER_CLIENT_EDITING','socket\x20open.','_isPermissionRej','padding','resend','_doCreateSocket','_collaborationTimeoutTimer','collaboration_new_changeset','INVITE_CODE_ALREADY_BOUND','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','kdf','YUUMI_RATE_OVER_LIMIT','_updateStatus','PENDING','_onUserLeave','fetchThroughInterceptors','_keySchedule','clone','collaboration-client.config','_collaborationSessionService','getTime','mutations','origin','has','3482515KyRipu','BlockCipherMode','_onRemoteRetry','_createHandler','unit-cache-','type','getCurrentUser','Utf8','CBC','reverse','requireSession','onRemoteAck','_createHmacHelper','_startCollaboration','LICENSE_IMPORT_SIZE_EXCEEDED','onRemoteRej','fromCollab','location','loadUnit','ONLINE','YUUMI_ALL_TABLES_IS_INVALID','Hasher','_executeRemoteChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','conflict','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encrypt','REDEMPTION_CODE_HAS_BEEN_CREATED','enableAuthServer','_sendHeartbeatTimer','set','HEARTBEAT_INTERVAL','refreshPermission','now','APPLY_REJECT','POST','confirm','INVITE_CODE_REQUIRED','_transformStack','setShowComponents','exports','transformStack\x20failed!','_acknowledgedAwaitingChangeset','leaveEvent','UPDATE_CURSOR','YUUMI_AI_RUN_FAILED','avatar','_userManagerService','pad','repeat','_handlerCallback','COMMENT_UPDATE','SHA1','transformUndoRedo','x-univer-host','APPLY_DUPLICATED','_remoteChangesetQueue','defineProperty','REDEMPTION_INVALID_CODE','originalMeta','Malformed\x20UTF-8\x20data','sendChangesetTimeout','_roomMembers','APPLY_NON_SEQUENTIAL_REVISION','_roomCreated$','toggleOnline','ENSURE_SNAPSHOT_EXECUTION','_event$','interceptor','equals','[CollaborationSessionService]:\x20socket\x20error','_undoRedoService','_scheduleCollaborationTimeoutTimer','UNIVER_PROJECT','call','LICENSE_MAX_UNITS_EXCEEDED','_telemetryInfo','_toggleOffline','unitID','name','code','stopTime','compose','catch','awaiting_with_pending','getAllMembers','_transformIMECache','message$','_waitCount','_onConnectionFailed','saveSnapshot','18148vxFbLR','function','then','NoPadding','INVITE_CODE_HAS_BEEN_UES','onSendChangeset','_transformUndoredo','PERMISSION_REJ','map','ERROR_EXCEED_SIZE','_transformStateCache','awaiting','_nDataBytes','CLOSE_ROOM','createEncryptor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','action','Failed\x20to\x20update\x20permission\x20point','error','indexOf','params','_createInitialStateImpl','selections','YUUMI_CONNECTOR_URL_NOT_FOUND','BufferedBlockAlgorithm','[CollaborationUndoRedoService]','infoRsp','c2Prime','_sendingTimer','_unitID','_updateLocalCache','_onLocalMutation','6NOUszg','executeCommand','default','floor','SNAPSHOT_URL_KEY','byteOffset','image/bmp','?url=','UNRECOGNIZED','sessionStatus','length','values','send','error$','update','YUUMI_SUBSCRIPTION_NOT_FOUND','UNISCRIPT_RUN','readInt32LE','UNIVER_SHEET','INVALID_ARGUMENT','cfg','EvpKDF','forEach','fromCharCode','unitId','492DyrQql','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_DEC_XFORM_MODE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_mode','_clearTimeoutTimer','AUTHORIZE_CODE_ILLEGAL','CONNECTOR_DATA_TOO_LARGE','session.room-permission-denied','LICENSE_DISTRO_REJECTED','updateOfflineData','7515600kPfPGe','disposeWithMe','BlockCipher','CONFLICT','_doProcessBlock','HMAC','LICENSE_EXPORT_SIZE_EXCEEDED','_sessionStatus$','collaboratorID','listRoles','hasOwnProperty','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','format','_univerInstanceService','/universer-api/snapshot','words','reduce','_resendTimer','UNIVER_DOC','__creator','COMPRESS_MUTATION_SEND','/universer-api/user/session-ticket','ERROR_IMAGE_TYPE','save\x20fail\x20reason\x20is\x20','onMissedChangesetFetched','clamp','_socket$','\x0aCurrent:\x20','revision','USER_NOT_INVITED_CODE','_unitInfo$','incrementRevOfUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getRandomValues','getValue','_onMessage','/object/','reset','_telemetryService','loadUnitOfRevision','synced','_snapshotServerService','_httpService','decrypt','sessionStatus$','_eventService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unpad','univer-pro.collaboration-client.network-condition.service','getUnitType','HttpExport','addImageSourceCache','onTransformIME','_hash','REDEMPTION_CODE_INACTIVE','failed\x20to\x20apply\x20missed\x20changesets!','extend','/unit/','_createHelper','AES','_clearRetryConnectingTimer','/block/','getOwnPropertyDescriptor','[CollaborationSession]','fetchMiss','registerHTTPInterceptor','asObservable','capture','getCollabEntity','JOIN_ROOM_FAILED','open$','collabSubmitChangesetUrl','_logService','collaboration-client.local-cache-service','_iKey','_collaborationUIEventService','_initUnitPermissionChange','execute','ivSize','_configService','subject','charAt','ws://127.0.0.1:8000/universer-api/comb/connect','snapshotServerUrl','createInstance','complete','encode','userID','downloadEndpointUrl','auth.needGotoLoginAlert','_getRedoStack','cmd','enableCollaboration','_change$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','get','resourceIDs','CHANGESET_SHOULD_RETRY','177FPkRKq','getUnit','/universer-api/uniscript','UUID','patch','_submitChangeset','size','dispose','Cipher','_sessions','WordArray','_removeRoom','telemetry\x20info\x20is\x20not\x20initialized','resolve','fetch_missing','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Base64','_prevBlock','/universer-api/file/{fileID}/sign-url','/-/object/list','saveImage','_registerDependencies','startsWith','_cipher','SYNCED','getDeserializedSheetBlock','ERROR_AGAIN','stringify','setConfig','JOIN_ROOM_PERMISSION_DENIED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','PERMISSION_DENIED','range','getMember','_onJoinRoomEvent','_xformMode','_onCombEvent','_changesetReqId','_singleActiveUnitService','from','_doReset','HEARTBEAT_TIMEOUT','routeKey','state','findIndex','WECHAT_HAS_BEEN_BOUND','getWorkbookSelections','uniscriptRunEvent','EMAIL_VERIFY_CODE_MISMATCH','_onRemoteChangeset','transformMutationsWithChangeset','init','workbook','Base','FAIL','_clearCollaborationTimeoutTimer','prototype','_state','editingUnit','getTypeOfUnitDisposed$','connection\x20error','__esModule','filter','_collaborationPaused','_collabSessionService','formatter','_clearScheduledTask','_socketMessageSubscription','SUBMIT_CHANGESET','HmacSHA1','image/png','_key','_initDependencies','getSheetBlock','/new_changes','UnitSnapshot','/-/object/-/batch_allowed','_state$','_listenToNetworkCondition','_getAPIPrefixPath','_tryReconnect','_data','list','Could\x20not\x20dynamically\x20require\x20\x22','_exhaustRemoteChangesetQueue','YUUMI_ASYNCIO_CANCELLED','_clearUndo','finalize','REDEMPTION_CODE_FULLY_REDEEMED','USERS_ENTER','_iv','create','5245236vGAJkl','NOT_FOUND','sheets','UNIVER_UNKNOWN','_onRemoteRejected','ALREADY_EXISTS','onRemoteRetry','emitEvent','_transformRemoteChangesetByIMECache','allowed','crypto','_initRequestHeader','YUUMI_URL_COL_OUT_OF_RANGE','session.join-failed','3842216WjvcJu','[SyncedState]:\x20received\x20rejection.','_unlockTransition','updatePermissionPoint','pluginName','blockSize','REDEMPTION_USER_REDEEM_TIMES_EXCEED','toggleOffline','SUBMIT_CHANGESET_TIMEOUT','batchAllowed','transformChangesets','slice','isPermissionRej','_revisionService','&assign=','TOO_MANY_REQUESTS','socket$','_getAPIPrefix','REDEMPTION_USER_NOT_ELIGIBLE','JOINING','dispose$','getRoom','debug','_sender','byteLength','salt','MOBILE_VERIFY_CODE_MISMATCH','_waitForHeartbeatResponse','_resendTimeout','delete','_retryCount','_decreaseWaiting','sid','title','_keyPriorReset','href','_invKeySchedule','[CollaborationState]:\x20apply\x20error!','LIVESHARE_NEW_HOST','_append','getSheetId','push','setCurrentUser','LEAVE','_onConflict','6721944IXEkWe','subscribe','_socketReady','LIVESHARE_OPERATION','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','PSEUDO_FETCH_MISSING_RESULT','SOCKET_FAILED','GLOBAL_ROOMS_CNT_EXCEEDS','[PendingState]:\x20received\x20acknowledgement.','status','ceil','APPLY_PERMISSION_DENIED','/universer-api/oidc/authpage','HEARTBEAT','_initMergeInterceptor','every','_doCryptBlock','UNKNOWN_CMD','onLocalMutation','_getSignURL','objectType','add','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationEntity]','updateMember','commentUpdate$','find','_doFinalize','session.room-cnt-exceeds','_onRemoteACK','[OfflineState]:\x20received\x20acknowledgement.','_startTelemetryCollaborationNewChangeset','_entityInit$','_throwTelemetryCollaborationNewChangeset','_members','onStateChange','__Key__','onSyncEditingCollabCursor','unitId\x20is\x20not\x20found','method','_changesetSessionId','shouldCloseConn','_transformRemoteChangesetByStateCache','HttpImport','getActiveSheet','_lockTransition','MD5','csShouldRetryEvent','mixIn','_networkConditionService','_commentUpdate$','clear','fetching\x20missing\x20changesets\x20from\x20','LOGIN_TOKEN_PROCESSING_FAILED','status$','_config','LIVESHARE_FETCH_OPERATIONS','RETRY_CONNECTING_MAX_COUNT','_substituteRedoStack','YUUMI_TABLE_NOT_FOUND_IN_UNIT','PY_RUNTIME_SCRIPT_ERROR','LIVESHARE_TERMINATE','ENTITLE_CHAT_LIMIT_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_undoStacks','getUnitId','getConfig','REDEMPTION_CODE_NOT_STARTED','_rescheduleHeartbeat','_timeoutTimer','MOBILE_HAS_BEEN_BOUND','Hex','submit\x20changeset\x20error!','_replayCachedMutations','getTypeOfUnitAdded$','override','_process','UNDEFINED','pauseCollaboration','iterations','loadSheet','post','_members$','onload','_compressMutationService','_shouldReportTelemetry','PERSON','JOIN_ROOM_NOT_EXISTS','4678WsEnfe','toString','/universer-api/snapshot/','_initCloseConn','_getUndoStack','_syncEditingCollabCursor','SHOULD_CLOSE_CONN','SNAPSHOT_HAS_BEEN_REMOVED','SOCKET_FAILED_RETRY','onCommentUpdate','PAYMENT_CHANNEL_NOT_SUPPORT','OFFLINE','next','EMAIL_HAS_BEEN_BOUND','_disableEditing','msCrypto','FETCH_MISS','_init','OpenSSL','pipe','csRejEvent','src','_transitionLocked','joinRsp','USERS_LEAVE','focused$','body','withCredentials','CHANGESET_ACK','UnitEmbedded','socketService','c1Prime','session.room-not-exists','UNIVER_SLIDE','fetchMissingChangesets','ENTITLE_REPORT_LIMIT_EXCEED','_clearLocalCache','close','StreamCipher','_status$','session.room-full','updateCollaborator','objects','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_checkMissing','appendMutation','joinEvent','lib','COMPLETION_FINISHED','file','event$','JOIN','enableSingleActiveInstanceLock','_handler','unsubscribe','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','awaitingChangeset','concat','_applyRemoteChangeset','Decryptor','_hasher','_getCtorByUniverType','reject','_type','_reverseMap','_candidateSocket','textRanges','copyFileMeta','[UniverCollaborationClientPlugin]','processBlock','requestParams','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','encodeURIComponent','image/jpeg','_scheduleCompleteTimestamp','[FetchMissState]','unknown','getSnapshotAPIPath','/resources','[PendingState]:\x20received\x20rejection.','createCollaborator','removeMember','_clearRedo','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','encryptBlock','saveChangeset','disableLocalCache','abs','collaborators','actions','deleteCollaborator','getResourcesRequest','getMemberID','pending','/universer-api/stream/file/upload','state$','algo','onlyLocal','createDecryptor','responseType','_injector','_joinRoom','put','onTransformSelections','result','decryptBlock','memberID','_ENC_XFORM_MODE','_localCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','COMPRESS_MUTATION_APPLY','_oKey','LOCAL_CACHE_INTERVAL','_retryConnectingTimer','target','_showConflictNotification','_getLoginPath','keySize','_onOffline','_memberService','UNIVER_COLLABORATION_CLIENT_PLUGIN','apply','_localeService','/object','ClipsheetFragments','$super','_socket','UNKNOWN_CODE','NEW_CHANGESETS','image/gif','loginUrlKey','_permissionService','splice','LOGIN_FAILED','onMissingChangesets','getUnitOnRev','_getCurrentRevision','INVALID_INVITE_CODE','getImage','saveSheetBlock','APPLY_REVISION_CONFILICT','_HTTPService','loadOfflineData','onStarting'];_0x39cf=function(){return _0xa4f5;};return _0x39cf();}let at=class{constructor(_0x58e7c2){var _0x521a4a=_0x1970a9;this[_0x521a4a(0x15b)]=_0x58e7c2,this[_0x521a4a(0x1fb)]();}[_0x1970a9(0x1fb)](){var _0x1179f3=_0x1970a9;this[_0x1179f3(0x15b)][_0x1179f3(0x172)]({'interceptor':(_0x3b9576,_0x30242f)=>{var _0xf55f2c=_0x1179f3;const _0x196a29=_0x3b9576['headers'],_0x541332=kn();return _0x541332&&_0x196a29[_0xf55f2c(0x3d2)](_0xf55f2c(0x3ea),_0x541332),_0x30242f(_0x3b9576);}});}};at=Hn([Bn(0x0,_0x253c3d(_0x2ab676))],at);var jn=Object[_0x1970a9(0x16f)],Fn=(_0x6a5b02,_0x2b8e7f,_0x4f8eac,_0x4a0a8c)=>{var _0x3bf397=_0x1970a9;for(var _0x5f2498=_0x4a0a8c>0x1?void 0x0:_0x4a0a8c?jn(_0x2b8e7f,_0x4f8eac):_0x2b8e7f,_0x2a95b8=_0x6a5b02[_0x3bf397(0x439)]-0x1,_0xa9569b;_0x2a95b8>=0x0;_0x2a95b8--)(_0xa9569b=_0x6a5b02[_0x2a95b8])&&(_0x5f2498=_0xa9569b(_0x5f2498)||_0x5f2498);return _0x5f2498;},vt=(_0x306df7,_0xc4ac88)=>(_0xb3e47f,_0x5bcf1b)=>_0xc4ac88(_0xb3e47f,_0x5bcf1b,_0x306df7);let Ot=class extends _0x3dd074{constructor(_0x579df5,_0x541397,_0x497397){var _0x4568db=_0x1970a9;super(),D(this,_0x4568db(0x472),new _0x3e8a63(null)),D(this,_0x4568db(0x39b),this[_0x4568db(0x472)][_0x4568db(0x173)]()),(this[_0x4568db(0x179)]=_0x579df5,this[_0x4568db(0x323)]=_0x541397,this[_0x4568db(0x2ef)]=_0x497397);}async[_0x1970a9(0x47b)](_0x271163,_0xbfc131,_0x2b9cc9){var _0x12c4cc=_0x1970a9;this['_unitInfo$'][_0x12c4cc(0x28f)]({'unitId':_0x271163,'type':_0xbfc131});let _0xf7a8ba=null;switch(_0xbfc131){case Q[_0x12c4cc(0x441)]:{_0xf7a8ba=await this['_snapshotService'][_0x12c4cc(0x27b)](_0x271163,_0x2b9cc9);break;}case Q[_0x12c4cc(0x466)]:{_0xf7a8ba=await this[_0x12c4cc(0x323)][_0x12c4cc(0x31d)](_0x271163,_0x2b9cc9);break;}default:{this[_0x12c4cc(0x179)][_0x12c4cc(0x421)](_0x12c4cc(0x35e),_0x12c4cc(0x15f));break;}}return _0xf7a8ba;}async[_0x1970a9(0x3c6)](_0x4ace67,_0x3ba6cc,_0x28cf38){var _0x9b3da0=_0x1970a9,_0x5d0cc3;this[_0x9b3da0(0x472)][_0x9b3da0(0x28f)]({'unitId':_0x4ace67,'type':_0x3ba6cc,'subUnitId':_0x28cf38});let _0x36972b=0x0;const _0x4f7b5c=await((_0x5d0cc3=this[_0x9b3da0(0x2ef)])==null?void 0x0:_0x5d0cc3[_0x9b3da0(0x311)](_0x4ace67));return _0x4f7b5c&&(_0x4f7b5c[_0x9b3da0(0x2bb)]||_0x4f7b5c[_0x9b3da0(0x3b1)]['length']!==0x0)&&(_0x36972b=_0x4f7b5c[_0x9b3da0(0x38f)]),_0x36972b===0x0&&this['_logService'][_0x9b3da0(0x214)]('[DataLoaderService]',_0x9b3da0(0x3a5)),this['loadUnitOfRevision'](_0x4ace67,_0x3ba6cc,_0x36972b);}};Ot=Fn([vt(0x0,_0x41ff63),vt(0x1,_0x253c3d(_0x2e8d63)),vt(0x2,_0x36e38f(J))],Ot);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x48a651,_0x33c439,_0x5ec52c,_0x456e71)=>{var _0x1a2085=_0x1970a9;for(var _0x5f2fb5=_0x456e71>0x1?void 0x0:_0x456e71?Vn(_0x33c439,_0x5ec52c):_0x33c439,_0x2fc793=_0x48a651[_0x1a2085(0x439)]-0x1,_0x19706b;_0x2fc793>=0x0;_0x2fc793--)(_0x19706b=_0x48a651[_0x2fc793])&&(_0x5f2fb5=_0x19706b(_0x5f2fb5)||_0x5f2fb5);return _0x5f2fb5;},pt=(_0x523c50,_0x1af080)=>(_0x387a73,_0x12406d)=>_0x1af080(_0x387a73,_0x12406d,_0x523c50);const Wn=[_0x1970a9(0x1da),_0x1970a9(0x2cc),'image/jpg',_0x1970a9(0x304),_0x1970a9(0x435)],Yn=0x5*0x400*0x400,Kn=_0x1970a9(0x2e1),qn=_0x1970a9(0x1a6);let Rt=class{constructor(_0x2261c6,_0x3f8e99,_0x29bc47){var _0x302fd9=_0x1970a9;D(this,_0x302fd9(0x40c),0x0),D(this,'_change$',new _0x5c9b29()),D(this,_0x302fd9(0x37f),this[_0x302fd9(0x18e)]),D(this,_0x302fd9(0x370),new Map()),(this[_0x302fd9(0x15b)]=_0x2261c6,this['_configService']=_0x3f8e99,this[_0x302fd9(0x461)]=_0x29bc47);}[_0x1970a9(0x313)](_0x1cb405){var _0x27ca9c=_0x1970a9;this[_0x27ca9c(0x40c)]=_0x1cb405,this['_change$'][_0x27ca9c(0x28f)](_0x1cb405);}['getImageSourceCache'](_0x2c28d0,_0x33983f){var _0x3d438f=_0x1970a9;if(_0x33983f===_0x53befb['BASE64']){const _0x16374b=new Image();return _0x16374b[_0x3d438f(0x298)]=_0x2c28d0,_0x16374b;}return this[_0x3d438f(0x370)][_0x3d438f(0x190)](_0x2c28d0);}[_0x1970a9(0x164)](_0x1168d5,_0x29aa78,_0x49f8c3){var _0x2cd786=_0x1970a9;_0x29aa78===_0x53befb['BASE64']||_0x49f8c3==null||this['_imageSourceCache'][_0x2cd786(0x3d2)](_0x1168d5,_0x49f8c3);}async[_0x1970a9(0x30d)](_0x28989e){var _0x4db41a=_0x1970a9;try{const _0xd35591=this[_0x4db41a(0x350)](this[_0x4db41a(0x23e)](),''+_0x28989e),_0x1e34f9=(await this['_httpService'][_0x4db41a(0x190)](_0xd35591))[_0x4db41a(0x29d)];if(_0x1e34f9[_0x4db41a(0x421)]&&_0x1e34f9['error'][_0x4db41a(0x404)]===vi['OK']){const _0x26b133=new URL(_0x1e34f9['url'],this[_0x4db41a(0x38b)]())[_0x4db41a(0x284)]();return Promise[_0x4db41a(0x1a0)](_0x26b133);}return Promise[_0x4db41a(0x2c1)](_0x1e34f9['error']);}catch(_0x56ad04){return Promise[_0x4db41a(0x2c1)](_0x56ad04);}}async[_0x1970a9(0x1a8)](_0x29b1a1){var _0x1ebab5=_0x1970a9;let _0x317ca7='';if(!Wn[_0x1ebab5(0x32d)](_0x29b1a1[_0x1ebab5(0x3b9)]))return this[_0x1ebab5(0x21d)](),Promise[_0x1ebab5(0x2c1)](new Error(_0x1dc5a[_0x1ebab5(0x46a)]));if(_0x29b1a1['size']>Yn)return this['_decreaseWaiting'](),Promise[_0x1ebab5(0x2c1)](new Error(_0x1dc5a[_0x1ebab5(0x418)]));try{const _0x22881b=new FormData();_0x22881b['append'](_0x1ebab5(0x2b4),_0x29b1a1);const _0x42ea71=this[_0x1ebab5(0x461)]['getFocusedUnit'](),_0xda9900=_0x42ea71==null?void 0x0:_0x42ea71[_0x1ebab5(0x26c)]();if(!_0xda9900)throw new Error(_0x1ebab5(0x251));const _0x4f14f4=this['_getUploadFileURL']()+'?size='+_0x29b1a1[_0x1ebab5(0x199)][_0x1ebab5(0x284)]()+'&source='+pi[_0x1ebab5(0x2a0)]+_0x1ebab5(0x20c)+encodeURIComponent(_0xda9900),_0x3febd7={'body':_0x22881b},_0x48699c=(await this[_0x1ebab5(0x15b)][_0x1ebab5(0x27c)](_0x4f14f4,_0x3febd7))[_0x1ebab5(0x29d)];if(typeof _0x48699c[_0x1ebab5(0x345)]!='string')return this[_0x1ebab5(0x21d)](),Promise['reject'](new Error(_0x1dc5a['ERROR_IMAGE']));_0x317ca7=_0x48699c[_0x1ebab5(0x345)];}catch{return this[_0x1ebab5(0x21d)](),Promise[_0x1ebab5(0x2c1)](new Error(_0x1dc5a[_0x1ebab5(0x390)]));}return new Promise((_0x413955,_0x35ba60)=>{var _0x3b462a=_0x1ebab5;const _0x2fc7eb=new FileReader();_0x2fc7eb['readAsDataURL'](_0x29b1a1),_0x2fc7eb[_0x3b462a(0x27e)]=_0x2cf85e=>{var _0x2cf373=_0x3b462a,_0xd42237;const _0x55320e=(_0xd42237=_0x2cf85e[_0x2cf373(0x2f5)])==null?void 0x0:_0xd42237['result'];if(_0x55320e==null){this[_0x2cf373(0x21d)](),_0x35ba60(new Error(_0x1dc5a['ERROR_IMAGE']));return;}const _0x59aba6=_0x4590a2(0x6);_0x413955({'imageId':_0x59aba6,'imageSourceType':_0x53befb[_0x2cf373(0x196)],'source':_0x317ca7,'base64Cache':_0x55320e,'status':_0x1dc5a['SUCCUSS']}),this[_0x2cf373(0x21d)]();};});}['_getUploadFileURL'](){var _0x3f602e=_0x1970a9,_0x38bd45;const _0x3be589=this[_0x3f602e(0x180)][_0x3f602e(0x26d)](K);return(_0x38bd45=_0x3be589==null?void 0x0:_0x3be589['uploadFileServerUrl'])!=null?_0x38bd45:Kn;}[_0x1970a9(0x23e)](){var _0x30a538=_0x1970a9,_0x20ad24;const _0x5a3993=this[_0x30a538(0x180)][_0x30a538(0x26d)](K);return(_0x20ad24=_0x5a3993==null?void 0x0:_0x5a3993['signUrlServerUrl'])!=null?_0x20ad24:qn;}[_0x1970a9(0x38b)](){var _0x5ec5de=_0x1970a9,_0x32b55a;const _0x39a336=this[_0x5ec5de(0x180)]['getConfig'](K);return(_0x32b55a=_0x39a336==null?void 0x0:_0x39a336[_0x5ec5de(0x189)])!=null?_0x32b55a:location[_0x5ec5de(0x3b2)];}[_0x1970a9(0x350)](_0x17f2f2,_0x1acfda){var _0x4d23dc=_0x1970a9;return _0x17f2f2[_0x4d23dc(0x32a)](_0x4d23dc(0x394),_0x1acfda);}[_0x1970a9(0x21d)](){var _0x47bd10=_0x1970a9;this[_0x47bd10(0x40c)]-=0x1,this[_0x47bd10(0x18e)]['next'](this[_0x47bd10(0x40c)]);}};Rt=Gn([pt(0x0,_0x253c3d(_0x2ab676)),pt(0x1,_0x4a008f),pt(0x2,_0x253c3d(_0xe0db57))],Rt);var zn=Object[_0x1970a9(0x16f)],Jn=(_0x36beb3,_0x48476a,_0x1c4b8d,_0x5cf12f)=>{var _0x32d1e7=_0x1970a9;for(var _0x36fbbc=_0x5cf12f>0x1?void 0x0:_0x5cf12f?zn(_0x48476a,_0x1c4b8d):_0x48476a,_0xb80a00=_0x36beb3[_0x32d1e7(0x439)]-0x1,_0x32f140;_0xb80a00>=0x0;_0xb80a00--)(_0x32f140=_0x36beb3[_0xb80a00])&&(_0x36fbbc=_0x32f140(_0x36fbbc)||_0x36fbbc);return _0x36fbbc;},ai=(_0x515524,_0xf9298d)=>(_0x453268,_0x2596f0)=>_0xf9298d(_0x453268,_0x2596f0,_0x515524);const Xn='/universer-api/authz';let Ct=class{constructor(_0x1d2d66,_0x537a1e){var _0x3cd1c4=_0x1970a9;this[_0x3cd1c4(0x180)]=_0x1d2d66,this[_0x3cd1c4(0x310)]=_0x537a1e;}[_0x1970a9(0x1e3)](){var _0x36f48d=_0x1970a9,_0x28744e;const _0x53e766=this['_configService'][_0x36f48d(0x26d)](K);return(_0x28744e=_0x53e766==null?void 0x0:_0x53e766['authzUrl'])!=null?_0x28744e:Xn;}async['list'](_0x920f79){var _0x212b58=_0x1970a9;const _0x5e9c9c=this['_getAPIPrefixPath']()+_0x212b58(0x399);return{'list':[{'title':'People','mentions':(await this[_0x212b58(0x310)][_0x212b58(0x190)](_0x5e9c9c,{'params':{'objectID':_0x920f79['unitId'],'unitID':_0x920f79['unitId']}}))[_0x212b58(0x29d)][_0x212b58(0x2db)][_0x212b58(0x417)](_0x1460f1=>({'objectId':_0x1460f1['id'],'name':_0x1460f1[_0x212b58(0x181)]['name'],'metadata':{'icon':_0x1460f1['subject'][_0x212b58(0x3e2)]},'label':_0x1460f1[_0x212b58(0x181)]['name'],'objectType':_0x41dc11['PERSON']})),'metadata':{},'type':_0x41dc11[_0x212b58(0x281)]}]};}};Ct=Jn([ai(0x0,_0x253c3d(_0x4a008f)),ai(0x1,_0x253c3d(_0x2ab676))],Ct);var Zn=Object[_0x1970a9(0x16f)],Qn=(_0x105f80,_0x1ee78b,_0x1ac7dd,_0x1adcc2)=>{var _0x164d7b=_0x1970a9;for(var _0x52b846=_0x1adcc2>0x1?void 0x0:_0x1adcc2?Zn(_0x1ee78b,_0x1ac7dd):_0x1ee78b,_0x4bfdbf=_0x105f80[_0x164d7b(0x439)]-0x1,_0x109873;_0x4bfdbf>=0x0;_0x4bfdbf--)(_0x109873=_0x105f80[_0x4bfdbf])&&(_0x52b846=_0x109873(_0x52b846)||_0x52b846);return _0x52b846;},Ue=(_0x49a3e3,_0x3341c4)=>(_0x410844,_0x89f987)=>_0x3341c4(_0x410844,_0x89f987,_0x49a3e3);let ot=class extends _0x3dd074{constructor(_0x12df92,_0x4e6872,_0x2bc873,_0x39253d,_0x2f04ff){var _0x15df58=_0x1970a9;super(),this[_0x15df58(0x2e7)]=_0x12df92,this[_0x15df58(0x461)]=_0x4e6872,this[_0x15df58(0x306)]=_0x2bc873,this['_collaborationSessionService']=_0x39253d,this[_0x15df58(0x17c)]=_0x2f04ff,this[_0x15df58(0x17d)](),this[_0x15df58(0x286)]();}['_initCloseConn'](){var _0x2f7979=_0x1970a9;const _0x3de147=async _0x39c982=>{var _0x5939ae=_0x35ab;(await this[_0x5939ae(0x3af)][_0x5939ae(0x3be)](_0x39c982))[_0x5939ae(0x2b5)]['pipe'](_0xed575f(_0x53f4a2=>_0x53f4a2[_0x5939ae(0x332)]===_0x274cb2[_0x5939ae(0x289)]),_0x268a47(this[_0x5939ae(0x212)]))[_0x5939ae(0x22c)](_0x5a1407=>{var _0x4b1357=_0x5939ae;const _0x44b5fd=_0x5a1407,{reason:_0x30ac0d}=_0x44b5fd['data'];this[_0x4b1357(0x17c)][_0x4b1357(0x1f7)]({'id':re['CLOSE_ROOM'],'data':_0x30ac0d}),this[_0x4b1357(0x306)][_0x4b1357(0x201)](new _0x50fba4(_0x39c982)['id'],!0x1),this[_0x4b1357(0x3af)]['closeSession'](_0x39c982);});};_0x3c68f6(this[_0x2f7979(0x461)][_0x2f7979(0x275)](_0x3de6eb[_0x2f7979(0x441)]),this['_univerInstanceService'][_0x2f7979(0x275)](_0x3de6eb[_0x2f7979(0x466)]))[_0x2f7979(0x296)](_0x54e938(_0x3bef93=>_0x3bef93[_0x2f7979(0x26c)]()),_0xed575f(_0x4026cd=>!_0x369838(_0x4026cd)),_0x268a47(this[_0x2f7979(0x212)]))['subscribe'](_0x3af4ff=>{_0x3de147(_0x3af4ff);});}[_0x1970a9(0x17d)](){var _0xcbae3b=_0x1970a9;const _0x2b14ff=async _0x5275ff=>{var _0x4f452d=_0x35ab;const _0x4f22d6=await this[_0x4f452d(0x3af)]['requireSession'](_0x5275ff),_0x280ba6=this[_0x4f452d(0x2e7)][_0x4f452d(0x190)](_0x3f2d8f);_0x4f22d6[_0x4f452d(0x2b5)][_0x4f452d(0x296)](_0xed575f(_0x32be75=>_0x32be75[_0x4f452d(0x332)]===_0x274cb2[_0x4f452d(0x347)]),_0x268a47(this[_0x4f452d(0x212)]))[_0x4f452d(0x22c)](_0x166989=>{var _0x4891c8=_0x4f452d;const _0x206951=_0x166989,{objectId:_0x2aadf4}=_0x206951[_0x4891c8(0x32f)];_0x2aadf4===_0x5275ff?_0x280ba6['initWorkbookPermissionChange'](_0x5275ff):_0x280ba6[_0x4891c8(0x3d4)](_0x5275ff,_0x2aadf4);});};_0x3c68f6(this[_0xcbae3b(0x461)][_0xcbae3b(0x275)](_0x3de6eb[_0xcbae3b(0x441)]))[_0xcbae3b(0x296)](_0x54e938(_0x173be9=>_0x173be9[_0xcbae3b(0x26c)]()),_0xed575f(_0x4d8f43=>!_0x369838(_0x4d8f43)),_0x268a47(this[_0xcbae3b(0x212)]))['subscribe'](_0x51aed6=>{_0x2b14ff(_0x51aed6);});}};ot=Qn([Ue(0x0,_0x253c3d(_0x9d7216)),Ue(0x1,_0xe0db57),Ue(0x2,_0x4a0dfc),Ue(0x3,_0x253c3d(we)),Ue(0x4,_0x253c3d(ve))],ot);var er=Object[_0x1970a9(0x16f)],tr=(_0x4000b1,_0x527068,_0x178b81,_0x2db85b)=>{var _0x3a3144=_0x1970a9;for(var _0x488648=_0x2db85b>0x1?void 0x0:_0x2db85b?er(_0x527068,_0x178b81):_0x527068,_0x547478=_0x4000b1[_0x3a3144(0x439)]-0x1,_0x122325;_0x547478>=0x0;_0x547478--)(_0x122325=_0x4000b1[_0x547478])&&(_0x488648=_0x122325(_0x488648)||_0x488648);return _0x488648;},oi=(_0x9a5dc8,_0x516d8f)=>(_0xcb27bd,_0x42742b)=>_0x516d8f(_0xcb27bd,_0x42742b,_0x9a5dc8);let Nt=class{constructor(_0x267b8c,_0x33fbbc){var _0xf9793f=_0x1970a9;this['_configService']=_0x267b8c,this[_0xf9793f(0x15b)]=_0x33fbbc;}async[_0x1970a9(0x30a)](_0x3ee4e0,_0x2561e0){var _0x1e300c=_0x1970a9,_0x32a4ea;const {unitID:_0x7c4d75,type:_0x2616bd,revision:_0xf89acd=0x0}=_0x2561e0,_0x2a56d7=this[_0x1e300c(0x2d0)]()+'/'+_0x2616bd+_0x1e300c(0x16a)+_0x7c4d75+_0x1e300c(0x315)+_0xf89acd,_0x5445a9=(await this['_httpService']['get'](_0x2a56d7))[_0x1e300c(0x29d)],_0x5096fc=(_0x32a4ea=_0x5445a9['snapshot'])==null?void 0x0:_0x32a4ea[_0x1e300c(0x1c8)];if(_0x5096fc){const _0x153501=_0x5096fc==null?void 0x0:_0x5096fc[_0x1e300c(0x3ef)],_0x5237e7=_0xfdba58[_0x1e300c(0x187)](_0x108a5b(_0x153501));_0x5096fc[_0x1e300c(0x3ef)]=_0x5237e7,Object['entries'](_0x5096fc[_0x1e300c(0x1f2)])[_0x1e300c(0x445)](([,_0x3683c1])=>{var _0x4eb3f8=_0x1e300c;const _0xd7a55a=_0x3683c1[_0x4eb3f8(0x3ef)],_0xe86284=_0xfdba58[_0x4eb3f8(0x187)](_0x108a5b(_0xd7a55a));_0x3683c1[_0x4eb3f8(0x3ef)]=_0xe86284;});}return _0x5445a9;}async[_0x1970a9(0x1dd)](_0x2b89b7,_0x20eb92){var _0x42b823=_0x1970a9;const {unitID:_0x4bf17e,type:_0x612fb8,blockID:_0x146aaa}=_0x20eb92,_0x979cb9=this[_0x42b823(0x20f)]()+'/'+_0x612fb8+'/unit/'+_0x4bf17e+_0x42b823(0x16e)+_0x146aaa;return(await this['_httpService']['get'](_0x979cb9))[_0x42b823(0x29d)];}async[_0x1970a9(0x1ad)](_0x1585b1,_0x1f556a){var _0x494893=_0x1970a9;const {unitID:_0x7b16b4,type:_0x11f91d,blockID:_0x4ee3b9}=_0x1f556a,_0x112c09=this[_0x494893(0x20f)]()+_0x494893(0x16e)+_0x11f91d+_0x494893(0x16a)+_0x7b16b4+_0x494893(0x16e)+_0x4ee3b9;return(await this[_0x494893(0x15b)][_0x494893(0x190)](_0x112c09))[_0x494893(0x29d)];}async[_0x1970a9(0x2a5)](_0x565848,_0x1e95a1){var _0xc8a372=_0x1970a9;const {unitID:_0x35d9fb,type:_0x26c66e,from:_0x584e37,to:_0x58258f}=_0x1e95a1,_0x2bb1a0=this[_0xc8a372(0x20f)]()+'/'+_0x26c66e+_0xc8a372(0x16a)+_0x35d9fb+_0xc8a372(0x369)+_0x584e37+'&to='+_0x58258f;return(await this[_0xc8a372(0x15b)][_0xc8a372(0x190)](_0x2bb1a0))[_0xc8a372(0x29d)];}[_0x1970a9(0x2d0)](){var _0x34c57d=_0x1970a9,_0x33bce0;return(_0x33bce0=this['_configService'][_0x34c57d(0x26d)](vs))!=null?_0x33bce0:this[_0x34c57d(0x20f)]();}[_0x1970a9(0x20f)](){var _0x41657b=_0x1970a9,_0x3dbff3;const _0x262e33=this[_0x41657b(0x180)][_0x41657b(0x26d)](K);return(_0x3dbff3=_0x262e33==null?void 0x0:_0x262e33[_0x41657b(0x184)])!=null?_0x3dbff3:fs;}async[_0x1970a9(0x2de)](_0x357f1f,_0xbe7b5b){var _0x522588=_0x1970a9;const _0x230a4f=_0x522588(0x285)+_0xbe7b5b[_0x522588(0x3b9)]+_0x522588(0x16a)+_0xbe7b5b['unitID']+_0x522588(0x2d1);return(await this[_0x522588(0x15b)][_0x522588(0x190)](_0x230a4f,{'params':{'resourceId':JSON['stringify'](_0xbe7b5b[_0x522588(0x191)])}}))[_0x522588(0x29d)];}[_0x1970a9(0x40e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x344)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x30e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x2d8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x2c6)](){var _0x1dde13=_0x1970a9;throw new Error(_0x1dde13(0x3cb));}['getLatestCsReqIdBySid'](){var _0x37ec91=_0x1970a9;throw new Error(_0x37ec91(0x3cb));}};Nt=tr([oi(0x0,_0x4a008f),oi(0x1,_0x253c3d(_0x2ab676))],Nt);var ir=Object[_0x1970a9(0x16f)],sr=(_0x5e6211,_0x4a9f85,_0x1ca59b,_0x1ac4e5)=>{var _0x415bf0=_0x1970a9;for(var _0x3e0025=_0x1ac4e5>0x1?void 0x0:_0x1ac4e5?ir(_0x4a9f85,_0x1ca59b):_0x4a9f85,_0x346c88=_0x5e6211[_0x415bf0(0x439)]-0x1,_0x41bb4c;_0x346c88>=0x0;_0x346c88--)(_0x41bb4c=_0x5e6211[_0x346c88])&&(_0x3e0025=_0x41bb4c(_0x3e0025)||_0x3e0025);return _0x3e0025;},Ae=(_0x5a7aa1,_0x2da800)=>(_0x1d61c9,_0x29c176)=>_0x2da800(_0x1d61c9,_0x29c176,_0x5a7aa1);let bt=class extends _0x4abd47{constructor(_0x320834,_0x3cc3e9,_0x4eace5,_0x4f5d10,_0x15c2b7){var _0x42fe84=_0x1970a9;super(_0x320834,_0x3cc3e9,_0x4eace5),this[_0x42fe84(0x37e)]=_0x4f5d10,this['_logService']=_0x15c2b7;}[_0x1970a9(0x3e9)](_0x96964,_0x2af46f){var _0x9aa561=_0x1970a9;const _0x3c734d=this[_0x9aa561(0x287)](_0x96964);if(_0x3c734d)try{const _0x2bc504=this[_0x9aa561(0x3da)](_0x3c734d,_0x2af46f);this[_0x9aa561(0x383)](_0x96964,_0x2bc504);}catch(_0x185652){this[_0x9aa561(0x179)][_0x9aa561(0x421)](_0x9aa561(0x428),_0x185652),this[_0x9aa561(0x1ea)](_0x96964);}const _0x598a29=this[_0x9aa561(0x18b)](_0x96964);if(_0x598a29)try{const _0x46add5=this[_0x9aa561(0x3da)](_0x598a29,_0x2af46f);this[_0x9aa561(0x265)](_0x96964,_0x46add5);}catch(_0xb5f4b2){this['_logService'][_0x9aa561(0x421)](_0xb5f4b2),this['_clearRedo'](_0x96964);}}[_0x1970a9(0x1ea)](_0x376ef3){var _0x15943a=_0x1970a9;const _0xa90f5a=this[_0x15943a(0x287)](_0x376ef3);_0xa90f5a&&(_0xa90f5a['length']=0x0,this[_0x15943a(0x3a8)]());}[_0x1970a9(0x2d5)](_0xf4521){var _0x80aa61=_0x1970a9;const _0x3a5ce3=this[_0x80aa61(0x18b)](_0xf4521);_0x3a5ce3&&(_0x3a5ce3[_0x80aa61(0x439)]=0x0,this[_0x80aa61(0x3a8)]());}[_0x1970a9(0x383)](_0x39ae95,_0x1e6815){var _0x58e20b=_0x1970a9;this[_0x58e20b(0x26b)][_0x58e20b(0x3d2)](_0x39ae95,_0x1e6815),this[_0x58e20b(0x3a8)]();}[_0x1970a9(0x265)](_0x557af3,_0x255ab6){var _0x2290eb=_0x1970a9;this['_redoStacks'][_0x2290eb(0x3d2)](_0x557af3,_0x255ab6),this['_updateStatus']();}[_0x1970a9(0x3da)](_0x54d559,_0x14dcd6){var _0x127d73=_0x1970a9;const _0x5dd98b=[];let _0x4aace3=_0x14dcd6,_0x44410a=_0x14dcd6;for(let _0x4bae3e=_0x54d559['length']-0x1;_0x4bae3e>=0x0;_0x4bae3e--){const {unitID:_0xd7423,undoMutations:_0x55562d,redoMutations:_0x2b632e}=_0x54d559[_0x4bae3e],_0x574194=this[_0x127d73(0x37e)][_0x127d73(0x1c6)](_0x4aace3,_0x55562d),_0x4b3337=this[_0x127d73(0x37e)][_0x127d73(0x1c6)](_0x44410a,_0x2b632e);if(_0x43d70f(_0x574194)||_0x43d70f(_0x4b3337)){this[_0x127d73(0x179)][_0x127d73(0x421)](_0x127d73(0x428),_0x127d73(0x3dd),_0x574194,_0x4b3337);break;}_0x4aace3=_0x574194[_0x127d73(0x2a2)],_0x44410a=_0x4b3337[_0x127d73(0x2a2)],_0x5dd98b[_0x127d73(0x227)]({'unitID':_0xd7423,'undoMutations':_0x574194[_0x127d73(0x349)],'redoMutations':_0x4b3337[_0x127d73(0x349)]});}return _0x5dd98b[_0x127d73(0x3bd)]();}};bt=sr([Ae(0x0,_0xe0db57),Ae(0x1,_0x2fde4d),Ae(0x2,_0x23dd4f),Ae(0x3,_0x1f95db),Ae(0x4,_0x41ff63)],bt);var nr=Object[_0x1970a9(0x3ed)],rr=Object[_0x1970a9(0x16f)],ar=(_0x5f41a6,_0x2b47ba,_0x48ea38)=>_0x2b47ba in _0x5f41a6?nr(_0x5f41a6,_0x2b47ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48ea38}):_0x5f41a6[_0x2b47ba]=_0x48ea38,or=(_0xa0c340,_0x167d31,_0x4a010e,_0x4fb709)=>{var _0x169c3a=_0x1970a9;for(var _0x4e5cdc=_0x4fb709>0x1?void 0x0:_0x4fb709?rr(_0x167d31,_0x4a010e):_0x167d31,_0xe7bd1=_0xa0c340[_0x169c3a(0x439)]-0x1,_0x291d57;_0xe7bd1>=0x0;_0xe7bd1--)(_0x291d57=_0xa0c340[_0xe7bd1])&&(_0x4e5cdc=_0x291d57(_0x4e5cdc)||_0x4e5cdc);return _0x4e5cdc;},Et=(_0x5738a9,_0x5aa459)=>(_0x702a66,_0x3353ca)=>_0x5aa459(_0x702a66,_0x3353ca,_0x5738a9),cr=(_0x41491e,_0x5581aa,_0x3cfbef)=>ar(_0x41491e,_0x5581aa+'',_0x3cfbef);const _r=_0x1970a9(0x2fb);let Dt=class extends _0x39de00{constructor(_0x3c1e80,_0x2e50f6,_0x468c02,_0x1b54ad){var _0x5a2ee1=_0x1970a9;super(),D(this,_0x5a2ee1(0x262)),(this[_0x5a2ee1(0x179)]=_0x2e50f6,this['_injector']=_0x468c02,this['_configService']=_0x1b54ad);const {..._0x57cd3e}=_0x32dbed({},Ls,_0x3c1e80);if(!_0x57cd3e[_0x5a2ee1(0x2a1)])throw new Error(_0x5a2ee1(0x333));this['_config']=_0x57cd3e,this[_0x5a2ee1(0x180)][_0x5a2ee1(0x1b0)](K,_0x57cd3e);}[_0x1970a9(0x312)](){var _0x17efce=_0x1970a9;this[_0x17efce(0x1a9)](),this['_initDependencies']();}[_0x1970a9(0x1a9)](){var _0x43fd7c=_0x1970a9,_0x1a6428,_0x3234e8;this[_0x43fd7c(0x2e7)][_0x43fd7c(0x3b3)](_0x5b65e3)&&this[_0x43fd7c(0x179)][_0x43fd7c(0x421)](_0x43fd7c(0x2c7),_0x43fd7c(0x3cd));const _0x587b3d=_0x2b78e4([[_0x5b65e3,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x43fd7c(0x262)][_0x43fd7c(0x2a1)]}],[_0x4c2e80,{'useClass':Nt}],[_0x2e6301,{'useClass':Tt}],[_0x198a92,{'useClass':Rt}],[_0x5e3df7,{'useClass':Ct}],[nt],[gt]],(_0x1a6428=this['_config'])==null?void 0x0:_0x1a6428[_0x43fd7c(0x276)]);if(!((_0x3234e8=this[_0x43fd7c(0x262)])!=null&&_0x3234e8[_0x43fd7c(0x2b7)])){const _0x51aa1d=_0x587b3d[_0x43fd7c(0x1c0)](([_0xa6737b])=>_0xa6737b===_t);_0x51aa1d!==-0x1&&_0x587b3d[_0x43fd7c(0x307)](_0x51aa1d,0x1);}_0xc1daf3(this[_0x43fd7c(0x2e7)],_0x587b3d);}[_0x1970a9(0x1dc)](){var _0x8dd7f0=_0x1970a9,_0x4448ef,_0x253adc,_0x47f368;this[_0x8dd7f0(0x2e7)][_0x8dd7f0(0x190)](_0x2ab676)[_0x8dd7f0(0x172)]({'priority':0x14,'interceptor':_0xc851f2({'maxParallel':0x6})}),(_0x4448ef=this['_config'])!=null&&_0x4448ef[_0x8dd7f0(0x392)]||(_0x253adc=this[_0x8dd7f0(0x2e7)][_0x8dd7f0(0x190)](J,_0x256ea3[_0x8dd7f0(0x36b)]))==null||_0x253adc[_0x8dd7f0(0x2d9)](),(_0x47f368=this[_0x8dd7f0(0x262)])!=null&&_0x47f368[_0x8dd7f0(0x3d0)]&&_0x5cbcc9(this[_0x8dd7f0(0x2e7)],[[rt]]),_0x5cbcc9(this['_injector'],[[at],[nt],[ot]]);}};cr(Dt,_0x1970a9(0x202),_r),Dt=or([_0x3a0f8e(_0x49b531,_0x3cb9ed),Et(0x1,_0x41ff63),Et(0x2,_0x253c3d(_0x9d7216)),Et(0x3,_0x4a008f)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};
|
|
1
|
+
var _0x1494d6=_0x842d;(function(_0x1efeda,_0x2cab80){var _0x4630af=_0x842d,_0x1e2978=_0x1efeda();while(!![]){try{var _0x146ce9=parseInt(_0x4630af(0x399))/0x1+-parseInt(_0x4630af(0x3eb))/0x2*(-parseInt(_0x4630af(0x338))/0x3)+-parseInt(_0x4630af(0x24e))/0x4*(-parseInt(_0x4630af(0x2f7))/0x5)+-parseInt(_0x4630af(0x186))/0x6+-parseInt(_0x4630af(0x360))/0x7+-parseInt(_0x4630af(0x45f))/0x8*(parseInt(_0x4630af(0x32d))/0x9)+-parseInt(_0x4630af(0x310))/0xa*(-parseInt(_0x4630af(0x460))/0xb);if(_0x146ce9===_0x2cab80)break;else _0x1e2978['push'](_0x1e2978['shift']());}catch(_0x3ec17a){_0x1e2978['push'](_0x1e2978['shift']());}}}(_0x1d67,0xbdead));var bi=Object['defineProperty'],Di=(_0xe8c7a4,_0x822489,_0x282853)=>_0x822489 in _0xe8c7a4?bi(_0xe8c7a4,_0x822489,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282853}):_0xe8c7a4[_0x822489]=_0x282853,D=(_0x570967,_0x1fd5bd,_0x53e3d2)=>Di(_0x570967,typeof _0x1fd5bd!='symbol'?_0x1fd5bd+'':_0x1fd5bd,_0x53e3d2);import{CollaborationEvent as _0x3719ba,ITransformService as _0x2bd043,isTransformMutationsWithChangesetSuccess as _0x336147,mapDocumentTypeToUniverType as _0x51d561,RevisionService as _0x65d3e9,isTransformChangesetsSuccess as _0x19caf4,CompressMutationService as _0x318cb1,parseProtocolChangeset as _0x5acf7f,uuidv4 as _0x1c092a,ISnapshotServerService as _0x23a044,parseChangesetToProtocol as _0x48039d,SnapshotService as _0x296a90,textEncoder as _0x34c8a9,b64DecodeUnicode as _0x2e7445,isTransformMutationsWithChangesetFailure as _0x9cf1b2,UniverCollaborationPlugin as _0x1a80f6}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3aa953,Inject as _0x40a927,UserManagerService as _0x318364,Disposable as _0x1d2b58,UniverInstanceType as _0x2a0d2a,ILogService as _0x1c7d35,IConfigService as _0x5c8b82,Optional as _0x207d04,RxDisposable as _0x2e5652,createIdentifier as _0x200585,Injector as _0x10bc24,Tools as _0x5a702b,Rectangle as _0x2b66fb,ICommandService as _0x40a596,JSONX as _0x4de356,CommandType as _0x2950ef,IUndoRedoService as _0x5154ce,IPermissionService as _0x2fea40,LocaleService as _0x504914,sequenceExecute as _0x390d53,toDisposable as _0x4a0717,DisposableCollection as _0x153b55,Workbook as _0xf72f57,generateRandomId as _0x3a562c,MentionType as _0x3a7593,isInternalEditorID as _0xa2efb9,LocalUndoRedoService as _0x19047e,IContextService as _0x26392a,DependentOn as _0x17d11c,Plugin as _0x695746,merge as _0x10f4d2,mergeOverrideWithDependencies as _0x349fb5,IAuthzIoService as _0x550f2e,IMentionIOService as _0x4a57b1,registerDependencies as _0x291633,Quantity as _0x18dc41,touchDependencies as _0x27ce6e}from'@univerjs/core';import{RichTextEditingMutation as _0x3c3e36}from'@univerjs/docs';import{SheetsSelectionsService as _0x866edf,SetSelectionsOperation as _0x3d1ff1,InsertSheetMutation as _0x1f250d,EmptyMutation as _0x1286d6,WorkbookEditablePermission as _0x2034a7,SheetPermissionInitController as _0x5a12cb}from'@univerjs/sheets';import{Subject as _0x6f301c,merge as _0x285c6f,of as _0x511935,BehaviorSubject as _0x9f1b26,takeUntil as _0x1b5caf,ReplaySubject as _0x5da10e,take as _0x4e8e35,map as _0x43487e,shareReplay as _0x4a16e1,firstValueFrom as _0x31a2c6,concatMap as _0x30775d}from'rxjs';import{ITelemetryService as _0x4d310e}from'@univerjs/telemetry';import{map as _0xf67729,take as _0x2d565f,filter as _0x54e0eb,delay as _0xebd4b2,takeUntil as _0x897a52}from'rxjs/operators';import{HTTPService as _0x21f421,ISocketService as _0x3cd2eb,MergeInterceptorFactory as _0x1915e7,HTTPRequest as _0x29d66c,UniverNetworkPlugin as _0x326f79,ThresholdInterceptorFactory as _0x5410e1}from'@univerjs/network';import{ImageSourceType as _0x308a33,ImageUploadStatusType as _0x3a1106,IImageIoService as _0x44bb90}from'@univerjs/drawing';import{getGlobalObject as _0x2c067a}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x1494d6(0x279),ps=0x7d0,Es=_0x1494d6(0x371),gr=_0x1494d6(0x247),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x1494d6(0x2cf),fi=0x4e20,Ss=0x4e20,gs=_0x1494d6(0x236),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Or=0x3e8,Os=_0x1494d6(0x414),Rs=_0x1494d6(0x28f),Rr=_0x1494d6(0x3b5),Cr=_0x1494d6(0x2a6);var vi=(_0x51bdbf=>(_0x51bdbf[_0x51bdbf[_0x1494d6(0x37c)]=0x0]='UNDEFINED',_0x51bdbf[_0x51bdbf['OK']=0x1]='OK',_0x51bdbf[_0x51bdbf[_0x1494d6(0x47d)]=0x2]='INTERNAL_ERROR',_0x51bdbf[_0x51bdbf[_0x1494d6(0x31e)]=0x3]='PERMISSION_DENIED',_0x51bdbf[_0x51bdbf['NOT_FOUND']=0x4]='NOT_FOUND',_0x51bdbf[_0x51bdbf[_0x1494d6(0x200)]=0x5]=_0x1494d6(0x200),_0x51bdbf[_0x51bdbf['ALREADY_EXISTS']=0x6]=_0x1494d6(0x2e9),_0x51bdbf[_0x51bdbf[_0x1494d6(0x25d)]=0x7]=_0x1494d6(0x25d),_0x51bdbf[_0x51bdbf[_0x1494d6(0x448)]=0x8]=_0x1494d6(0x448),_0x51bdbf[_0x51bdbf['COMPLETION_FINISHED']=0x9]=_0x1494d6(0x20b),_0x51bdbf[_0x51bdbf[_0x1494d6(0x262)]=0xa]=_0x1494d6(0x262),_0x51bdbf[_0x51bdbf['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x51bdbf[_0x51bdbf[_0x1494d6(0x426)]=0xc]=_0x1494d6(0x426),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3cc)]=0xd]=_0x1494d6(0x3cc),_0x51bdbf[_0x51bdbf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x20f)]=0xf]=_0x1494d6(0x20f),_0x51bdbf[_0x51bdbf[_0x1494d6(0x350)]=0x10]=_0x1494d6(0x350),_0x51bdbf[_0x51bdbf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1494d6(0x30b),_0x51bdbf[_0x51bdbf['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x51bdbf[_0x51bdbf[_0x1494d6(0x227)]=0xc9]=_0x1494d6(0x227),_0x51bdbf[_0x51bdbf[_0x1494d6(0x397)]=0xca]='USER_IS_ANONYMOUS',_0x51bdbf[_0x51bdbf['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1494d6(0x31b),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1e6)]=0x1771]=_0x1494d6(0x1e6),_0x51bdbf[_0x51bdbf['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x400)]=0x1773]=_0x1494d6(0x400),_0x51bdbf[_0x51bdbf[_0x1494d6(0x2fd)]=0x1b59]='APPLY_REJECT',_0x51bdbf[_0x51bdbf[_0x1494d6(0x470)]=0x1b5a]=_0x1494d6(0x470),_0x51bdbf[_0x51bdbf['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1494d6(0x18a),_0x51bdbf[_0x51bdbf[_0x1494d6(0x234)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x51bdbf[_0x51bdbf['APPLY_DUPLICATED']=0x1b5d]=_0x1494d6(0x46f),_0x51bdbf[_0x51bdbf['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1494d6(0x3e5),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1cd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x381)]=0x232a]=_0x1494d6(0x381),_0x51bdbf[_0x51bdbf['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1494d6(0x45d),_0x51bdbf[_0x51bdbf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1494d6(0x43c),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1ea)]=0x232d]=_0x1494d6(0x1ea),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1bc)]=0x2711]=_0x1494d6(0x1bc),_0x51bdbf[_0x51bdbf['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1494d6(0x44b),_0x51bdbf[_0x51bdbf[_0x1494d6(0x415)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x51bdbf[_0x51bdbf[_0x1494d6(0x1b2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51bdbf[_0x51bdbf[_0x1494d6(0x23d)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x51bdbf[_0x51bdbf[_0x1494d6(0x2b9)]=0x271b]=_0x1494d6(0x2b9),_0x51bdbf[_0x51bdbf[_0x1494d6(0x35c)]=0x271c]=_0x1494d6(0x35c),_0x51bdbf[_0x51bdbf[_0x1494d6(0x2a1)]=0x271d]=_0x1494d6(0x2a1),_0x51bdbf[_0x51bdbf[_0x1494d6(0x229)]=0x271e]=_0x1494d6(0x229),_0x51bdbf[_0x51bdbf[_0x1494d6(0x463)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x22e)]=0x2720]=_0x1494d6(0x22e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3c2)]=0x2af9]=_0x1494d6(0x3c2),_0x51bdbf[_0x51bdbf[_0x1494d6(0x265)]=0x2ee1]=_0x1494d6(0x265),_0x51bdbf[_0x51bdbf[_0x1494d6(0x172)]=0x2ee2]=_0x1494d6(0x172),_0x51bdbf[_0x51bdbf[_0x1494d6(0x38f)]=0x2ee3]=_0x1494d6(0x38f),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1ae)]=0x2ee4]=_0x1494d6(0x1ae),_0x51bdbf[_0x51bdbf['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1494d6(0x42d),_0x51bdbf[_0x51bdbf[_0x1494d6(0x212)]=0x32c9]=_0x1494d6(0x212),_0x51bdbf[_0x51bdbf[_0x1494d6(0x286)]=0x32ca]=_0x1494d6(0x286),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3c9)]=0x32cb]=_0x1494d6(0x3c9),_0x51bdbf[_0x51bdbf[_0x1494d6(0x23e)]=0x36b1]=_0x1494d6(0x23e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x1d0)]=0x36b2]=_0x1494d6(0x1d0),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3b7)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x51bdbf[_0x51bdbf[_0x1494d6(0x1ec)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x51bdbf[_0x51bdbf[_0x1494d6(0x43e)]=0x3715]=_0x1494d6(0x43e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x24c)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x51bdbf[_0x51bdbf['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x51bdbf[_0x51bdbf[_0x1494d6(0x1c5)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x51bdbf[_0x51bdbf[_0x1494d6(0x393)]=0x3a9a]=_0x1494d6(0x393),_0x51bdbf[_0x51bdbf[_0x1494d6(0x41d)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x51bdbf[_0x51bdbf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1494d6(0x364),_0x51bdbf[_0x51bdbf[_0x1494d6(0x2ac)]=0x3a9d]=_0x1494d6(0x2ac),_0x51bdbf[_0x51bdbf['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1494d6(0x46e),_0x51bdbf[_0x51bdbf[_0x1494d6(0x3b4)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x51bdbf[_0x51bdbf[_0x1494d6(0x37f)]=-0x1]=_0x1494d6(0x37f),_0x51bdbf))(vi||{}),Q=(_0x586781=>(_0x586781[_0x586781['UNIVER_UNKNOWN']=0x0]=_0x1494d6(0x1fc),_0x586781[_0x586781['UNIVER_DOC']=0x1]=_0x1494d6(0x32a),_0x586781[_0x586781[_0x1494d6(0x334)]=0x2]=_0x1494d6(0x334),_0x586781[_0x586781['UNIVER_SLIDE']=0x3]=_0x1494d6(0x3b0),_0x586781[_0x586781[_0x1494d6(0x2fc)]=0x4]=_0x1494d6(0x2fc),_0x586781[_0x586781['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x586781))(Q||{}),F=(_0x516175=>(_0x516175[_0x516175['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x516175[_0x516175[_0x1494d6(0x22a)]=0x1]=_0x1494d6(0x22a),_0x516175[_0x516175[_0x1494d6(0x204)]=0x2]='JOIN',_0x516175[_0x516175[_0x1494d6(0x34a)]=0x3]=_0x1494d6(0x34a),_0x516175[_0x516175[_0x1494d6(0x417)]=0x4]='INGEST',_0x516175[_0x516175['HEARTBEAT']=0x5]='HEARTBEAT',_0x516175[_0x516175[_0x1494d6(0x34d)]=0x6]=_0x1494d6(0x34d),_0x516175[_0x516175['UNRECOGNIZED']=-0x1]=_0x1494d6(0x37f),_0x516175))(F||{}),pe=(_0x1fbfc1=>(_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x377)]=0x0]=_0x1494d6(0x377),_0x1fbfc1[_0x1fbfc1['OK']=0x1]='OK',_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x369)]=0x2]=_0x1494d6(0x369),_0x1fbfc1[_0x1fbfc1['JOIN_ROOM_FULL']=0x3e9]=_0x1494d6(0x18c),_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x384)]=0x3ea]=_0x1494d6(0x384),_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x276)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1fbfc1[_0x1fbfc1['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x1494d6(0x451),_0x1fbfc1[_0x1fbfc1[_0x1494d6(0x37f)]=-0x1]=_0x1494d6(0x37f),_0x1fbfc1))(pe||{}),pi=(_0x348938=>(_0x348938[_0x348938[_0x1494d6(0x3f3)]=0x0]=_0x1494d6(0x3f3),_0x348938[_0x348938[_0x1494d6(0x349)]=0x1]='HttpImport',_0x348938[_0x348938['HttpExport']=0x2]=_0x1494d6(0x268),_0x348938[_0x348938[_0x1494d6(0x3e3)]=0x3]=_0x1494d6(0x3e3),_0x348938[_0x348938['UnitSnapshot']=0x4]=_0x1494d6(0x1f7),_0x348938[_0x348938[_0x1494d6(0x38b)]=0x5]=_0x1494d6(0x38b),_0x348938[_0x348938[_0x1494d6(0x29a)]=0x6]='ClipsheetFragments',_0x348938[_0x348938['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x348938))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x573d69){var _0x2c81db=_0x1494d6;return JSON[_0x2c81db(0x25a)](_0x573d69)[_0x2c81db(0x1c0)];}var re=(_0x1d89e3=>(_0x1d89e3[_0x1494d6(0x220)]='OTHER_CLIENT_EDITING',_0x1d89e3[_0x1494d6(0x31e)]=_0x1494d6(0x31e),_0x1d89e3[_0x1494d6(0x216)]=_0x1494d6(0x216),_0x1d89e3[_0x1494d6(0x1d3)]=_0x1494d6(0x1d3),_0x1d89e3[_0x1494d6(0x429)]='JOIN_ROOM_FAILED',_0x1d89e3[_0x1494d6(0x255)]=_0x1494d6(0x255),_0x1d89e3[_0x1494d6(0x22b)]=_0x1494d6(0x22b),_0x1d89e3['SUBMIT_CHANGESET_TIMEOUT']=_0x1494d6(0x257),_0x1d89e3))(re||{});class ve{constructor(){var _0x3568b8=_0x1494d6;D(this,_0x3568b8(0x266),new _0x6f301c()),D(this,_0x3568b8(0x1c8),this[_0x3568b8(0x266)]['asObservable']());}[_0x1494d6(0x21b)](_0x582656){var _0x4de79f=_0x1494d6;this[_0x4de79f(0x266)][_0x4de79f(0x1a6)](_0x582656);}}class Ei{constructor(){var _0x710223=_0x1494d6;D(this,'_commentUpdate$',new _0x6f301c()),D(this,_0x710223(0x244),this[_0x710223(0x28c)]['asObservable']());}[_0x1494d6(0x330)](_0x3af069){var _0x4a7986=_0x1494d6;this['_commentUpdate$'][_0x4a7986(0x1a6)](_0x3af069);}}var bs=Object[_0x1494d6(0x3e7)],Ds=(_0x1160e6,_0x229af7,_0xf8d124,_0x3c123d)=>{for(var _0x11453f=_0x3c123d>0x1?void 0x0:_0x3c123d?bs(_0x229af7,_0xf8d124):_0x229af7,_0x6d441f=_0x1160e6['length']-0x1,_0x1c7ca8;_0x6d441f>=0x0;_0x6d441f--)(_0x1c7ca8=_0x1160e6[_0x6d441f])&&(_0x11453f=_0x1c7ca8(_0x11453f)||_0x11453f);return _0x11453f;},Ft=(_0x35db2e,_0x49032f)=>(_0x362035,_0x3b774f)=>_0x49032f(_0x362035,_0x3b774f,_0x35db2e);let Pe=class extends _0x1d2b58{constructor(_0x2f0e55,_0x1ef9c4){var _0x36bca4=_0x1494d6;super(),D(this,_0x36bca4(0x1af),new Map()),D(this,_0x36bca4(0x258),new _0x6f301c()),(this[_0x36bca4(0x45e)]=_0x2f0e55,this[_0x36bca4(0x24a)]=_0x1ef9c4,this[_0x36bca4(0x32e)](_0x285c6f(this[_0x36bca4(0x45e)][_0x36bca4(0x223)](_0x2a0d2a[_0x36bca4(0x334)])[_0x36bca4(0x354)](_0xf67729(_0x4220b0=>_0x4220b0['getUnitId']())),this[_0x36bca4(0x45e)][_0x36bca4(0x223)](_0x2a0d2a[_0x36bca4(0x32a)])['pipe'](_0xf67729(_0x8ef8bf=>_0x8ef8bf[_0x36bca4(0x47e)]())),this['_univerInstanceService'][_0x36bca4(0x223)](_0x2a0d2a[_0x36bca4(0x3b0)])[_0x36bca4(0x354)](_0xf67729(_0x3b68ba=>_0x3b68ba[_0x36bca4(0x47e)]())))['subscribe'](_0xd2c0b4=>this[_0x36bca4(0x3fb)](_0xd2c0b4))));}[_0x1494d6(0x466)](_0x45cd3f){var _0x2c670e=_0x1494d6;return this[_0x2c670e(0x1af)][_0x2c670e(0x283)](_0x45cd3f)?_0x511935(this[_0x2c670e(0x1af)]['get'](_0x45cd3f)):this[_0x2c670e(0x258)]['pipe'](_0xf67729(_0x5b706a=>{var _0x4b8893=_0x2c670e;if(_0x5b706a===_0x45cd3f)return this[_0x4b8893(0x1af)][_0x4b8893(0x292)](_0x5b706a);}));}[_0x1494d6(0x314)](_0x1a04dd){var _0x439d66=_0x1494d6;this[_0x439d66(0x24a)][_0x439d66(0x314)](_0x1a04dd);}['getCurrentUser'](){var _0x527b39=_0x1494d6;return this[_0x527b39(0x24a)][_0x527b39(0x253)]();}[_0x1494d6(0x382)](_0x23f8fa,_0x812e08){var _0x4dd616=_0x1494d6;let _0x1db215=this[_0x4dd616(0x1af)]['get'](_0x23f8fa);_0x1db215||(_0x1db215=new ys(),this['_roomMembers']['set'](_0x23f8fa,_0x1db215),this['_roomCreated$']['next'](_0x23f8fa)),_0x1db215[_0x4dd616(0x382)](_0x812e08);}[_0x1494d6(0x321)](_0x143ac6,_0x4503f0){var _0x3519df=_0x1494d6;const _0x540c72=this[_0x3519df(0x1af)][_0x3519df(0x292)](_0x143ac6);_0x540c72&&_0x540c72[_0x3519df(0x321)](_0x4503f0);}[_0x1494d6(0x3e0)](_0x3e2fa8){var _0x58ccfb=_0x1494d6;return this[_0x58ccfb(0x1af)][_0x58ccfb(0x292)](_0x3e2fa8);}[_0x1494d6(0x192)](_0x4bc4a7,_0x3f2f47){var _0x5a97cc=_0x1494d6;const _0x4d31f1=this['_roomMembers'][_0x5a97cc(0x292)](_0x4bc4a7);if(_0x4d31f1)return _0x4d31f1[_0x5a97cc(0x192)](_0x3f2f47);}[_0x1494d6(0x3fb)](_0x1c8d55){var _0x2093e2=_0x1494d6;const _0x3be8a1=this[_0x2093e2(0x1af)][_0x2093e2(0x292)](_0x1c8d55);_0x3be8a1&&(_0x3be8a1[_0x2093e2(0x462)](),this[_0x2093e2(0x1af)]['delete'](_0x1c8d55));}[_0x1494d6(0x462)](){var _0xd1138f=_0x1494d6;this['_roomMembers'][_0xd1138f(0x2f5)](_0x33a851=>_0x33a851['dispose']()),this[_0xd1138f(0x1af)]['clear'](),this[_0xd1138f(0x258)][_0xd1138f(0x416)]();}};Pe=Ds([Ft(0x0,_0x3aa953),Ft(0x1,_0x40a927(_0x318364))],Pe);class ys extends _0x1d2b58{constructor(){var _0xf8d5b3=_0x1494d6;super(...arguments),D(this,_0xf8d5b3(0x3e4),new Map()),D(this,'_members$',new _0x9f1b26(this[_0xf8d5b3(0x3e4)])),D(this,_0xf8d5b3(0x1cc),this[_0xf8d5b3(0x394)][_0xf8d5b3(0x311)]());}['dispose'](){var _0x157c9b=_0x1494d6;this[_0x157c9b(0x3e4)][_0x157c9b(0x373)]();}[_0x1494d6(0x382)](_0xc98d98){var _0x31b231=_0x1494d6;this[_0x31b231(0x3e4)][_0x31b231(0x2d7)](_0xc98d98[_0x31b231(0x1ff)],_0xc98d98),this[_0x31b231(0x32c)]();}['removeMember'](_0x590bf7){var _0x331fb8=_0x1494d6;this[_0x331fb8(0x3e4)][_0x331fb8(0x452)](_0x590bf7);}['getMember'](_0x31924f){var _0x40079b=_0x1494d6;return this[_0x40079b(0x3e4)][_0x40079b(0x292)](_0x31924f);}[_0x1494d6(0x241)](){var _0x4ac1d5=_0x1494d6;return Array['from'](this[_0x4ac1d5(0x3e4)]['values']());}[_0x1494d6(0x32c)](){var _0x4dde47=_0x1494d6;this[_0x4dde47(0x394)][_0x4dde47(0x1a6)](this[_0x4dde47(0x3e4)]);}}var Us=Object[_0x1494d6(0x3e7)],As=(_0x18e91d,_0x1d5f1b,_0x358d5b,_0x5df6bf)=>{var _0x5a56c9=_0x1494d6;for(var _0x41e5de=_0x5df6bf>0x1?void 0x0:_0x5df6bf?Us(_0x1d5f1b,_0x358d5b):_0x1d5f1b,_0x3def26=_0x18e91d[_0x5a56c9(0x1c0)]-0x1,_0x1b8cf6;_0x3def26>=0x0;_0x3def26--)(_0x1b8cf6=_0x18e91d[_0x3def26])&&(_0x41e5de=_0x1b8cf6(_0x41e5de)||_0x41e5de);return _0x41e5de;},Oe=(_0x3527d1,_0x145584)=>(_0x2ecf1f,_0x427583)=>_0x145584(_0x2ecf1f,_0x427583,_0x3527d1),me=(_0x204e5e=>(_0x204e5e[_0x204e5e[_0x1494d6(0x361)]=0x0]=_0x1494d6(0x361),_0x204e5e[_0x204e5e[_0x1494d6(0x17d)]=0x1]=_0x1494d6(0x17d),_0x204e5e[_0x204e5e[_0x1494d6(0x368)]=0x2]=_0x1494d6(0x368),_0x204e5e[_0x204e5e['ONLINE']=0x3]=_0x1494d6(0x18d),_0x204e5e))(me||{});const Vt={[pe[_0x1494d6(0x369)]]:_0x1494d6(0x383),[pe[_0x1494d6(0x18c)]]:_0x1494d6(0x31c),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x1494d6(0x461),[pe[_0x1494d6(0x451)]]:'session.room-cnt-exceeds'};let mt=class extends _0x2e5652{constructor(_0x14bcdb,_0x1faa9f,_0x361f1a,_0x1d8581,_0x1b17a4,_0x1cb928,_0x5258b1,_0x14580f){var _0x58235c=_0x1494d6;super(),D(this,_0x58235c(0x386),new _0x9f1b26(0x0)),D(this,_0x58235c(0x35a),this['_sessionStatus$'][_0x58235c(0x311)]()),D(this,_0x58235c(0x266),new _0x6f301c()),D(this,_0x58235c(0x1c8),this['_event$'][_0x58235c(0x311)]()),D(this,'_socket'),D(this,_0x58235c(0x2fe)),D(this,_0x58235c(0x339)),D(this,_0x58235c(0x398),!0x1),D(this,_0x58235c(0x312),null),(this[_0x58235c(0x433)]=_0x14bcdb,this[_0x58235c(0x29c)]=_0x361f1a,this[_0x58235c(0x2c3)]=_0x1d8581,this[_0x58235c(0x3c3)]=_0x1b17a4,this[_0x58235c(0x388)]=_0x1cb928,this[_0x58235c(0x177)]=_0x5258b1,this[_0x58235c(0x347)]=_0x14580f,this[_0x58235c(0x398)]=!!this[_0x58235c(0x347)],_0x1faa9f['pipe'](_0x1b5caf(this[_0x58235c(0x2f3)]))[_0x58235c(0x3c6)](_0x1d8e00=>{var _0x25ea51=_0x58235c,_0x5c9054;typeof _0x1d8e00>'u'||(this[_0x25ea51(0x439)]=_0x1d8e00,_0x1d8e00?(this['_joinRoom'](_0x1d8e00),this[_0x25ea51(0x2fe)]=_0x1d8e00[_0x25ea51(0x2fa)][_0x25ea51(0x3c6)](_0x34724d=>{var _0x3dcdd8=_0x25ea51;_0x34724d[_0x3dcdd8(0x323)]===this['_unitID']&&this['_onCombEvent'](_0x34724d);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x25ea51(0x386)][_0x25ea51(0x1a6)](0x2),(_0x5c9054=this['_socketMessageSubscription'])==null||_0x5c9054[_0x25ea51(0x3db)](),this[_0x25ea51(0x2fe)]=null));}));}get[_0x1494d6(0x475)](){var _0x32839d=_0x1494d6;return this['_sessionStatus$'][_0x32839d(0x478)]();}[_0x1494d6(0x26c)](){var _0x59dc28=_0x1494d6,_0x554ae5,_0x2fa7b0;return(_0x2fa7b0=(_0x554ae5=this[_0x59dc28(0x439)])==null?void 0x0:_0x554ae5[_0x59dc28(0x1ff)])!=null?_0x2fa7b0:null;}[_0x1494d6(0x462)](){var _0x51f8f3=_0x1494d6;super[_0x51f8f3(0x462)](),this[_0x51f8f3(0x2f3)][_0x51f8f3(0x1a6)](),this[_0x51f8f3(0x2f3)][_0x51f8f3(0x416)]();}[_0x1494d6(0x1aa)](){var _0x46b76a=_0x1494d6,_0x4e272b,_0x5ae500;this[_0x46b76a(0x180)](),(_0x4e272b=this['_socket'])==null||_0x4e272b[_0x46b76a(0x3d4)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5ae500=this['_socket'])==null||_0x5ae500['close'](),this['_event$'][_0x46b76a(0x416)](),this['_sessionStatus$'][_0x46b76a(0x416)](),this[_0x46b76a(0x462)]();}[_0x1494d6(0x2be)](_0x317e4e){var _0x3668f8=_0x1494d6;_0x317e4e[_0x3668f8(0x19b)]===F[_0x3668f8(0x204)]?this[_0x3668f8(0x21e)](_0x317e4e):_0x317e4e[_0x3668f8(0x19b)]===F[_0x3668f8(0x34d)]&&this[_0x3668f8(0x2de)](_0x317e4e);}[_0x1494d6(0x3e9)](_0x17bf66){var _0x198812=_0x1494d6;this[_0x198812(0x386)][_0x198812(0x1a6)](0x1),_0x17bf66[_0x198812(0x3d4)]({'cmd':F[_0x198812(0x204)],'routeKey':this[_0x198812(0x433)],'routeType':'','data':{'rooms':[{'roomID':this[_0x198812(0x433)]}]}});}[_0x1494d6(0x21e)](_0x51920e){var _0x32f8e0=_0x1494d6,_0x415191;if(_0x51920e[_0x32f8e0(0x35d)]in Vt){this[_0x32f8e0(0x177)]['emitEvent']({'id':re[_0x32f8e0(0x429)],'data':Vt[_0x51920e[_0x32f8e0(0x35d)]]}),this[_0x32f8e0(0x386)][_0x32f8e0(0x1a6)](0x2);return;}this[_0x32f8e0(0x386)]['next'](0x3);const _0x45810c=(_0x415191=_0x51920e[_0x32f8e0(0x40d)][_0x32f8e0(0x1f8)][this['_unitID']])==null?void 0x0:_0x415191['members'];_0x45810c&&_0x45810c[_0x32f8e0(0x2f5)](_0x3fa642=>this[_0x32f8e0(0x3c3)][_0x32f8e0(0x382)](this[_0x32f8e0(0x433)],_0x3fa642));}[_0x1494d6(0x2de)](_0x363bc5){var _0x5a360d=_0x1494d6;try{const _0x80da9c=_0x363bc5[_0x5a360d(0x40d)];switch(_0x80da9c[_0x5a360d(0x440)]){case _0x3719ba['USERS_ENTER']:this['_onUserJoin'](_0x80da9c),this['_event$']['next'](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x32b)]:this[_0x5a360d(0x455)](_0x80da9c),this[_0x5a360d(0x266)][_0x5a360d(0x1a6)](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x2c4)]:case _0x3719ba['CHANGESET_SHOULD_RETRY']:this[_0x5a360d(0x374)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5a360d(0x266)]['next'](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x19f)]:this[_0x5a360d(0x29c)][_0x5a360d(0x2ce)](_0x5a360d(0x3b2)+JSON[_0x5a360d(0x25a)](_0x80da9c)),this['_event$'][_0x5a360d(0x1a6)](_0x80da9c);break;case _0x3719ba[_0x5a360d(0x2a4)]:this['_commentService'][_0x5a360d(0x330)](_0x80da9c[_0x5a360d(0x40d)]),this[_0x5a360d(0x266)][_0x5a360d(0x1a6)](_0x80da9c);break;default:this[_0x5a360d(0x266)][_0x5a360d(0x1a6)](_0x80da9c);}}catch(_0x126b99){this[_0x5a360d(0x29c)][_0x5a360d(0x2ce)](_0x126b99,_0x363bc5);}}[_0x1494d6(0x2ff)](_0x4b03c5){var _0x272e74=_0x1494d6;this[_0x272e74(0x3c3)][_0x272e74(0x382)](this[_0x272e74(0x433)],_0x4b03c5['data']);}[_0x1494d6(0x455)](_0x160fb0){var _0x1740d6=_0x1494d6;this[_0x1740d6(0x3c3)]['removeMember'](this['_unitID'],_0x160fb0['data'][_0x1740d6(0x1ff)]);}async['send'](_0x2f0750,_0x57e27a){var _0x1c8cd9=_0x1494d6;if(this[_0x1c8cd9(0x475)]!==0x3||!this[_0x1c8cd9(0x439)])throw new Error(_0x1c8cd9(0x41c));try{_0x2f0750[_0x1c8cd9(0x440)]===_0x3719ba['SUBMIT_CHANGESET']&&(this[_0x1c8cd9(0x3d6)](),this[_0x1c8cd9(0x173)](_0x2f0750)),this['_socket']['send']({'cmd':F[_0x1c8cd9(0x417)],'routeKey':_0x57e27a,'routeType':'','data':_0x2f0750});}catch(_0x4441d9){this[_0x1c8cd9(0x29c)][_0x1c8cd9(0x2ce)](_0x4441d9);}}[_0x1494d6(0x3d6)](){var _0x30b586=_0x1494d6,_0x3af2f0;this[_0x30b586(0x339)]=setTimeout(()=>{var _0x5c6e23=_0x30b586;this['_collaborationTimeoutTimer']=null,this[_0x5c6e23(0x177)][_0x5c6e23(0x21b)]({'id':re[_0x5c6e23(0x257)]});},(_0x3af2f0=this[_0x30b586(0x2c3)][_0x30b586(0x1f3)](di))!=null?_0x3af2f0:fi);}[_0x1494d6(0x20a)](){var _0x44ac66=_0x1494d6;this[_0x44ac66(0x339)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x44ac66(0x339)]=null);}[_0x1494d6(0x173)](_0x59980b){var _0x5bbf6b=_0x1494d6;if(!this[_0x5bbf6b(0x398)])return;const {data:_0x2f6aae}=_0x59980b,{unitID:_0x3c20b8,changeset:_0x49f167}=_0x2f6aae,{mutations:_0x574962,type:_0x1dc62a}=_0x49f167;this[_0x5bbf6b(0x312)]={'unitId':_0x3c20b8,'type':_0x1dc62a,'startTime':performance[_0x5bbf6b(0x1ab)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x574962)};}[_0x1494d6(0x374)](){var _0x1efbb6=_0x1494d6;if(this[_0x1efbb6(0x398)]){if(!this[_0x1efbb6(0x312)]){this[_0x1efbb6(0x29c)][_0x1efbb6(0x2ce)](_0x1efbb6(0x467),_0x1efbb6(0x1ba));return;}this['_telemetryInfo'][_0x1efbb6(0x264)]=performance[_0x1efbb6(0x1ab)](),this[_0x1efbb6(0x312)][_0x1efbb6(0x1fd)]=this[_0x1efbb6(0x312)][_0x1efbb6(0x264)]-this[_0x1efbb6(0x312)][_0x1efbb6(0x434)],this['_telemetryService'][_0x1efbb6(0x27b)](Cs,this[_0x1efbb6(0x312)]),this[_0x1efbb6(0x312)]=null;}}[_0x1494d6(0x180)](){var _0x2b456d=_0x1494d6;this[_0x2b456d(0x312)]=null;}};mt=As([Oe(0x2,_0x1c7d35),Oe(0x3,_0x5c8b82),Oe(0x4,_0x40a927(Pe)),Oe(0x5,_0x40a927(Ei)),Oe(0x6,_0x40a927(ve)),Oe(0x7,_0x207d04(_0x4d310e))],mt);const J=_0x200585(_0x1494d6(0x1de));function Nr(_0x34850e){return'unit-cache-'+_0x34850e;}var Ps=Object[_0x1494d6(0x3e7)],ws=(_0x1445b0,_0x205ab9,_0x5e2cff,_0x23cf28)=>{var _0x41e809=_0x1494d6;for(var _0x14da26=_0x23cf28>0x1?void 0x0:_0x23cf28?Ps(_0x205ab9,_0x5e2cff):_0x205ab9,_0x387660=_0x1445b0[_0x41e809(0x1c0)]-0x1,_0x779a51;_0x387660>=0x0;_0x387660--)(_0x779a51=_0x1445b0[_0x387660])&&(_0x14da26=_0x779a51(_0x14da26)||_0x14da26);return _0x14da26;},ut=(_0x20f419,_0x5a3389)=>(_0x3373fd,_0x26fb65)=>_0x5a3389(_0x3373fd,_0x26fb65,_0x20f419);function Ms(_0x5448f1){var _0x4fb56e=_0x1494d6;const {unitID:_0x54469c,mutations:_0x190b1d}=_0x5448f1;return{'unitId':_0x54469c,'subUnitId':_0x190b1d[0x0][_0x4fb56e(0x344)]['subUnitId']};}let it=class{constructor(_0x7afedc,_0x5b1788,_0x674b36){var _0x261127=_0x1494d6;this[_0x261127(0x380)]=_0x7afedc,this[_0x261127(0x3bb)]=_0x5b1788,this[_0x261127(0x3f5)]=_0x674b36;}[_0x1494d6(0x2b4)](_0x11d749){var _0x5c15ae=_0x1494d6,_0x57edc6,_0x465a93,_0xf7dd79,_0x3eb16b;const _0xe4f830=this[_0x5c15ae(0x380)][_0x5c15ae(0x292)](_0x866edf),{unitId:_0xc66837,subUnitId:_0x116ba4}=Ms(_0x11d749),_0x25f954=_0xe4f830==null?void 0x0:_0xe4f830['getWorkbookSelections'](_0xc66837)[_0x5c15ae(0x411)](),_0x47e8a6=(_0x465a93=(_0x57edc6=this[_0x5c15ae(0x3f5)][_0x5c15ae(0x454)](_0xc66837))==null?void 0x0:_0x57edc6[_0x5c15ae(0x246)]())==null?void 0x0:_0x465a93['getSheetId']();if(_0x25f954['length']===0x0||!_0xc66837||!_0x116ba4)return;const _0x3973e3=[{'id':_0x3d1ff1['id'],'params':{'unitId':_0xc66837,'subUnitId':_0x47e8a6,'selections':_0x5a702b[_0x5c15ae(0x3a7)](_0x25f954)}}],_0x4c99d1=this[_0x5c15ae(0x3bb)]['transformMutationsWithChangeset'](_0x11d749,_0x3973e3);if(!_0x336147(_0x4c99d1))throw _0x4c99d1[_0x5c15ae(0x2ce)];const _0x40265d=(_0x3eb16b=(_0xf7dd79=_0x4c99d1[_0x5c15ae(0x3de)][0x0])==null?void 0x0:_0xf7dd79['params'])==null?void 0x0:_0x3eb16b[_0x5c15ae(0x352)];if(Array['isArray'](_0x40265d)&&_0x40265d['length']){if(_0x40265d['length']===_0x3973e3[0x0]['params']['selections'][_0x5c15ae(0x1c0)]&&_0x40265d[_0x5c15ae(0x36b)]((_0x1d1c6d,_0x1902a8)=>_0x2b66fb['equals'](_0x1d1c6d[_0x5c15ae(0x318)],_0x3973e3[0x0]['params'][_0x5c15ae(0x352)][_0x1902a8][_0x5c15ae(0x318)])))return;this[_0x5c15ae(0x380)][_0x5c15ae(0x292)](_0x40a596)['executeCommand'](_0x3d1ff1['id'],{'unitId':_0xc66837,'subUnitId':_0x47e8a6,'selections':_0x40265d});}}};it=ws([ut(0x0,_0x40a927(_0x10bc24)),ut(0x1,_0x2bd043),ut(0x2,_0x3aa953)],it);const _t=_0x200585(_0x1494d6(0x1ad));var mi=(_0x36f119=>(_0x36f119[_0x36f119[_0x1494d6(0x410)]=0x0]=_0x1494d6(0x410),_0x36f119[_0x36f119['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x36f119))(mi||{});const K=_0x1494d6(0x2b5),Ls={},xs=new Set([_0x1f250d['id']]);function Gt(_0x5e70f6,_0x203559,_0x5c2ab4,_0x32d933,_0x5352a0){var _0xf19f23=_0x1494d6,_0x2638be,_0x47a8fd,_0x8fe3c4,_0x5f53c6;const _0x1965a9=[];for(const _0x2adb76 of _0x5e70f6)if(xs[_0xf19f23(0x283)](_0x2adb76['id'])){if(_0x1965a9[_0xf19f23(0x1c0)]>0x0)break;_0x1965a9[_0xf19f23(0x359)](_0x2adb76);break;}else _0x1965a9[_0xf19f23(0x359)](_0x2adb76);const _0x1c8894=(_0x47a8fd=(_0x2638be=_0x5352a0['getCurrentUser']())==null?void 0x0:_0x2638be['userID'])!=null?_0x47a8fd:_0xf19f23(0x1dd),_0x5924ab=(_0x5f53c6=(_0x8fe3c4=_0x5352a0['getCurrentUser']())==null?void 0x0:_0x8fe3c4[_0xf19f23(0x1ff)])!=null?_0x5f53c6:_0xf19f23(0x1dd);return{'changeset':{'unitID':_0x203559,'type':_0x51d561(_0x5c2ab4[_0xf19f23(0x351)](_0x203559)),'baseRev':_0x32d933[_0xf19f23(0x436)](_0x203559),'revision':0x0,'userID':_0x1c8894,'memberID':_0x5924ab,'mutations':_0x1965a9},'pendingMutations':_0x5e70f6['slice'](_0x1965a9['length'])};}function ks(_0x311d3b,_0x464169,_0xe89595,_0x5a2b59,_0x11171b){var _0x3e403f=_0x1494d6,_0x4080de,_0x2ce7bf,_0xd3ae6d,_0x16548e;const _0x15c22d=[_0x311d3b[_0x3e403f(0x3f8)]((_0x32b557,_0x4fda2)=>{var _0x2caa70=_0x3e403f,_0x5bed0d;const {id:_0x1c9055}=_0x32b557,{id:_0x231fd1,type:_0x497ac5}=_0x4fda2,_0x4e914e=(_0x5bed0d=_0x32b557[_0x2caa70(0x344)])!=null?_0x5bed0d:{'actions':null},_0xcda60f=_0x4fda2[_0x2caa70(0x344)];if(_0x1c9055&&_0x1c9055!==_0x231fd1)throw new Error(_0x2caa70(0x29b)+_0x1c9055+_0x2caa70(0x181)+_0x231fd1+'.');return{..._0x32b557,'id':_0x231fd1,'type':_0x497ac5,'params':{'unitId':_0xcda60f['unitId'],'textRanges':_0xcda60f['textRanges'],'actions':_0x4de356[_0x2caa70(0x23b)](_0x4e914e['actions'],_0xcda60f[_0x2caa70(0x21a)])}};},{})],_0x3cf8aa=(_0x2ce7bf=(_0x4080de=_0x11171b[_0x3e403f(0x253)]())==null?void 0x0:_0x4080de[_0x3e403f(0x260)])!=null?_0x2ce7bf:'unknown',_0x312e62=(_0x16548e=(_0xd3ae6d=_0x11171b[_0x3e403f(0x253)]())==null?void 0x0:_0xd3ae6d[_0x3e403f(0x1ff)])!=null?_0x16548e:_0x3e403f(0x1dd);return{'changeset':{'unitID':_0x464169,'type':_0x51d561(_0xe89595[_0x3e403f(0x351)](_0x464169)),'baseRev':_0x5a2b59['getCurrentRevOfUnit'](_0x464169),'revision':0x0,'userID':_0x3cf8aa,'memberID':_0x312e62,'mutations':_0x15c22d},'pendingMutations':[]};}function Ii(_0x5b8dd4,_0x331a0f){var _0x3d8570=_0x1494d6;const _0x2e302f=new _0x5da10e(0x1);return setTimeout(()=>_0x2e302f[_0x3d8570(0x1a6)](_0x331a0f),_0x5b8dd4),_0x2e302f[_0x3d8570(0x311)]()['pipe'](_0x4e8e35(0x1));}const $s={'id':_0x1286d6['id'],'type':_0x2950ef['MUTATION'],'params':{}};var Hs=Object[_0x1494d6(0x3e7)],Se=(_0x4c66a6,_0x1ed616,_0x177c3a,_0x4973f7)=>{for(var _0x5c924b=_0x4973f7>0x1?void 0x0:_0x4973f7?Hs(_0x1ed616,_0x177c3a):_0x1ed616,_0x4e446d=_0x4c66a6['length']-0x1,_0x41f2db;_0x4e446d>=0x0;_0x4e446d--)(_0x41f2db=_0x4c66a6[_0x4e446d])&&(_0x5c924b=_0x41f2db(_0x5c924b)||_0x5c924b);return _0x5c924b;},w=(_0x3617ca,_0x2109c5)=>(_0x24a37f,_0x1914da)=>_0x2109c5(_0x24a37f,_0x1914da,_0x3617ca),Si=(_0x56bf3e=>(_0x56bf3e[_0x1494d6(0x2fb)]=_0x1494d6(0x1f9),_0x56bf3e[_0x1494d6(0x3b9)]=_0x1494d6(0x20d),_0x56bf3e[_0x1494d6(0x477)]='pending',_0x56bf3e[_0x1494d6(0x182)]=_0x1494d6(0x206),_0x56bf3e['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x56bf3e[_0x1494d6(0x469)]=_0x1494d6(0x31a),_0x56bf3e[_0x1494d6(0x216)]=_0x1494d6(0x379),_0x56bf3e['OFFLINE']=_0x1494d6(0x22d),_0x56bf3e))(Si||{});const gi=0xea60;class ge{constructor(_0x1346b5,_0xa23ef6,_0x69b358,_0x18bbf0,_0x47c0c7,_0x5f56d4,_0x37a9dc,_0x129bae,_0x34a607){var _0x29478d=_0x1494d6;D(this,_0x29478d(0x1df),null),D(this,'_pendingMutations',[]),(this['unitID']=_0x1346b5,this['type']=_0xa23ef6,this[_0x29478d(0x3e1)]=_0x47c0c7,this[_0x29478d(0x443)]=_0x5f56d4,this['_undoRedoService']=_0x37a9dc,this['_revisionService']=_0x129bae,this['_localCacheService']=_0x34a607,this['_awaitingChangeset']=_0x69b358,this[_0x29478d(0x3ae)]=_0x18bbf0);}[_0x1494d6(0x446)](_0x5788a5){var _0x46bd1d=_0x1494d6;const _0x3972e2=this[_0x46bd1d(0x2db)][_0x46bd1d(0x436)](this[_0x46bd1d(0x430)]);return _0x5788a5[_0x46bd1d(0x3c5)]>_0x3972e2+0x1?(this[_0x46bd1d(0x3e1)][_0x46bd1d(0x30a)]({'from':_0x3972e2,'to':_0x5788a5['revision']-0x1}),!0x0):!0x1;}[_0x1494d6(0x1f1)](_0x715836){var _0x551b26=_0x1494d6;this[_0x551b26(0x3f7)][_0x551b26(0x468)](this[_0x551b26(0x430)],_0x715836);}['_transformSelections'](_0x573838){var _0x4866ad=_0x1494d6,_0x5cd05d,_0x517a61;(_0x517a61=(_0x5cd05d=this['_handler'])[_0x4866ad(0x203)])==null||_0x517a61[_0x4866ad(0x40b)](_0x5cd05d,_0x573838);}[_0x1494d6(0x29d)](_0x5ec126){var _0xc46362=_0x1494d6,_0x1f5ed9,_0x2cbca8;return(_0x2cbca8=(_0x1f5ed9=this[_0xc46362(0x3e1)])['onTransformIME'])==null?void 0x0:_0x2cbca8[_0xc46362(0x40b)](_0x1f5ed9,_0x5ec126);}[_0x1494d6(0x3a3)](_0x5a2ee3){var _0x543414=_0x1494d6,_0x5d967e,_0x1bd170;return(_0x1bd170=(_0x5d967e=this['_handler'])[_0x543414(0x275)])==null?void 0x0:_0x1bd170[_0x543414(0x40b)](_0x5d967e,_0x5a2ee3);}[_0x1494d6(0x3ca)](_0x91f5b){var _0x28cfc5=_0x1494d6,_0x2e29aa,_0x409e0c,_0x3ca37e;return(_0x3ca37e=(_0x409e0c=(_0x2e29aa=this[_0x28cfc5(0x3e1)])[_0x28cfc5(0x27c)])==null?void 0x0:_0x409e0c[_0x28cfc5(0x40b)](_0x2e29aa,_0x91f5b))!=null?_0x3ca37e:_0x91f5b;}[_0x1494d6(0x2dd)](_0x448a15){var _0x16bd84=_0x1494d6,_0x39e294,_0x16b48a,_0x27161b;return(_0x27161b=(_0x16b48a=(_0x39e294=this['_handler'])[_0x16bd84(0x1d8)])==null?void 0x0:_0x16b48a[_0x16bd84(0x40b)](_0x39e294,_0x448a15))!=null?_0x27161b:_0x448a15;}[_0x1494d6(0x402)](_0x21e5a9){var _0x497a6a=_0x1494d6,_0xdfebba,_0x357a3b;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x16975e,mutations:_0x50fcfa,memberID:_0x309b04}=_0x21e5a9,_0x7c3028=_0x50fcfa[0x0][_0x497a6a(0x344)][_0x497a6a(0x33d)];Array[_0x497a6a(0x225)](_0x7c3028)&&_0x7c3028[_0x497a6a(0x1c0)]>0x0&&((_0x357a3b=(_0xdfebba=this[_0x497a6a(0x3e1)])[_0x497a6a(0x37a)])==null||_0x357a3b[_0x497a6a(0x40b)](_0xdfebba,{'unitID':_0x16975e,'memberID':_0x309b04,'textRanges':_0x7c3028}));}}[_0x1494d6(0x18b)](){var _0x313752=_0x1494d6,_0x409ee7;(_0x409ee7=this[_0x313752(0x26e)])==null||_0x409ee7[_0x313752(0x441)](this[_0x313752(0x430)],this[_0x313752(0x33a)],this[_0x313752(0x1df)],this[_0x313752(0x3ae)]);}[_0x1494d6(0x46d)](){var _0x510a71=_0x1494d6;return this[_0x510a71(0x2db)][_0x510a71(0x436)](this[_0x510a71(0x430)]);}[_0x1494d6(0x450)](){var _0x24f0cd=_0x1494d6;this[_0x24f0cd(0x2db)][_0x24f0cd(0x28b)](this[_0x24f0cd(0x430)]);}[_0x1494d6(0x3cb)](_0x5b6d39){var _0x21cacd=_0x1494d6,_0x378e07;let _0x474b04=this['_transformRemoteChangesetByIMECache'](_0x5b6d39);_0x474b04=this['_transformRemoteChangesetByStateCache'](_0x474b04);const _0x1f765e=_0x390d53(_0x474b04['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x1f765e[_0x21cacd(0x36c)])throw _0x1f765e[_0x21cacd(0x2ce)]instanceof Error?_0x1f765e[_0x21cacd(0x2ce)]:new Error((_0x378e07=_0x1f765e[_0x21cacd(0x2ce)])!=null?_0x378e07:'[CollaborationState]:\x20apply\x20error!');this[_0x21cacd(0x29d)](_0x474b04),this[_0x21cacd(0x3a3)](_0x474b04),this[_0x21cacd(0x1f1)](_0x5b6d39),this['_transformSelections'](_0x474b04),this[_0x21cacd(0x402)](_0x474b04),this[_0x21cacd(0x450)]();}}let be=class extends ge{constructor(_0x22a95a,_0x227478,_0x3d3e4b,_0x5cb63c,_0x1234e8,_0x101ca6,_0x59e30d,_0x455c0f,_0xca1e4f,_0x1c4f88){var _0x4680d3=_0x1494d6;super(_0x22a95a,_0x227478,null,[],_0x3d3e4b,_0x59e30d,_0x101ca6,_0x5cb63c,_0x1c4f88),D(this,_0x4680d3(0x3df),_0x4680d3(0x20d)),(this[_0x4680d3(0x380)]=_0x1234e8,this[_0x4680d3(0x29c)]=_0x455c0f,this[_0x4680d3(0x3bb)]=_0xca1e4f,this[_0x4680d3(0x27e)]=_0x1c4f88);}[_0x1494d6(0x396)](_0x168bf0){var _0x20f680=_0x1494d6;const _0x184fcc=this[_0x20f680(0x380)][_0x20f680(0x390)](ae,this[_0x20f680(0x430)],this['type'],[_0x168bf0],this['_handler']);return _0x184fcc[_0x20f680(0x2df)](),_0x184fcc['_updateLocalCache'](),_0x184fcc;}[_0x1494d6(0x23a)](_0x3a4cec){var _0x36b374=_0x1494d6;if(this[_0x36b374(0x446)](_0x3a4cec))return this[_0x36b374(0x380)][_0x36b374(0x390)](ee,this[_0x36b374(0x430)],this[_0x36b374(0x33a)],null,[],null,[_0x3a4cec],this[_0x36b374(0x3e1)]);try{const _0x511cd0=this[_0x36b374(0x3bb)][_0x36b374(0x2e5)](_0x3a4cec,[$s]);if(_0x336147(_0x511cd0)){const {c1Prime:_0x4f7ed4}=_0x511cd0;return this[_0x36b374(0x3cb)](_0x4f7ed4),this;}throw _0x511cd0['error'];}catch(_0x5b413e){return this[_0x36b374(0x29c)]['error'](_0x5b413e),this[_0x36b374(0x362)](!0x1);}}['_onConflict'](_0x50be6c){var _0x2a10fe=_0x1494d6;return this['_injector'][_0x2a10fe(0x390)](ue,this['unitID'],this[_0x2a10fe(0x33a)],null,[],this[_0x2a10fe(0x3e1)],_0x50be6c);}['onRemoteAck'](){var _0x7f9f43=_0x1494d6;throw new Error(_0x7f9f43(0x1dc));}[_0x1494d6(0x47f)](){var _0x5bf38a=_0x1494d6;throw new Error(_0x5bf38a(0x1b3));}[_0x1494d6(0x188)](){return this;}['toggleOffline'](){var _0x5d02c2=_0x1494d6;return this['_injector'][_0x5d02c2(0x390)](de,this[_0x5d02c2(0x430)],this[_0x5d02c2(0x33a)],null,[],this[_0x5d02c2(0x3e1)]);}[_0x1494d6(0x1d1)](){return this;}[_0x1494d6(0x211)](){var _0xfa1d32=_0x1494d6;throw new Error(_0xfa1d32(0x2b3));}['fetchMiss'](){var _0x3668ee=_0x1494d6;const _0x397853=this[_0x3668ee(0x2db)][_0x3668ee(0x436)](this[_0x3668ee(0x430)]);return this[_0x3668ee(0x3e1)][_0x3668ee(0x30a)]({'from':_0x397853,'to':0x0}),this[_0x3668ee(0x380)][_0x3668ee(0x390)](ee,this[_0x3668ee(0x430)],this[_0x3668ee(0x33a)],null,[],null,[],this[_0x3668ee(0x3e1)]);}};be=Se([w(0x3,_0x40a927(_0x65d3e9)),w(0x4,_0x40a927(_0x10bc24)),w(0x5,_0x5154ce),w(0x6,_0x40a596),w(0x7,_0x1c7d35),w(0x8,_0x2bd043),w(0x9,_0x207d04(J))],be);let ae=class extends ge{constructor(_0x3dc1cd,_0x59a0bb,_0x3f9bdb,_0x2f2b30,_0x4ee4c7,_0x3b77df,_0x50f25c,_0x51dac0,_0x301317,_0x2a568a,_0x492d6e,_0x4bf1de,_0x7b06b5,_0x2204eb){var _0x41cfbf=_0x1494d6;super(_0x3dc1cd,_0x59a0bb,null,_0x3f9bdb,_0x2f2b30,_0x301317,_0x7b06b5,_0x3b77df,_0x2204eb),D(this,_0x41cfbf(0x3df),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x41cfbf(0x47b),null),(this[_0x41cfbf(0x380)]=_0x4ee4c7,this['_memberService']=_0x50f25c,this[_0x41cfbf(0x29c)]=_0x51dac0,this[_0x41cfbf(0x2c3)]=_0x2a568a,this[_0x41cfbf(0x3bb)]=_0x492d6e,this[_0x41cfbf(0x45e)]=_0x4bf1de);}[_0x1494d6(0x396)](_0x323332){var _0x27288b=_0x1494d6;return this['_pendingMutations'][_0x27288b(0x359)](_0x323332),this[_0x27288b(0x18b)](),this;}[_0x1494d6(0x23a)](_0x2f01ca){var _0x2ca6b4=_0x1494d6;if(this[_0x2ca6b4(0x446)](_0x2f01ca))return this[_0x2ca6b4(0x2d6)](),this[_0x2ca6b4(0x380)][_0x2ca6b4(0x390)](ee,this[_0x2ca6b4(0x430)],this['type'],null,this[_0x2ca6b4(0x3ae)],null,[_0x2f01ca],this['_handler']);try{const _0x28ceac=this[_0x2ca6b4(0x3bb)][_0x2ca6b4(0x2e5)](_0x2f01ca,this['_pendingMutations']);if(_0x336147(_0x28ceac)){const {c1Prime:_0x3fb48b,m2Prime:_0x4f0b8d}=_0x28ceac;this['_executeRemoteChangeset'](_0x3fb48b);const _0x289852=this[_0x2ca6b4(0x380)][_0x2ca6b4(0x390)](ae,this[_0x2ca6b4(0x430)],this[_0x2ca6b4(0x33a)],_0x4f0b8d,this[_0x2ca6b4(0x3e1)]);this[_0x2ca6b4(0x2d6)]();const _0x47ede1=new Date()['getTime'](),_0x32efbd=this[_0x2ca6b4(0x261)]?Math[_0x2ca6b4(0x2a8)](this['_scheduleCompleteTimestamp']-_0x47ede1,0x0):this[_0x2ca6b4(0x335)]();return _0x289852[_0x2ca6b4(0x2df)](_0x32efbd),_0x289852;}throw _0x28ceac[_0x2ca6b4(0x2ce)];}catch(_0x526e64){return this[_0x2ca6b4(0x29c)][_0x2ca6b4(0x2ce)](_0x526e64),this['_onConflict'](!0x1);}}[_0x1494d6(0x1ef)](){var _0x181301=_0x1494d6;throw new Error(_0x181301(0x19e));}[_0x1494d6(0x47f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1494d6(0x188)](){return this;}[_0x1494d6(0x39f)](){var _0x347402=_0x1494d6;return this[_0x347402(0x2d6)](),this[_0x347402(0x380)][_0x347402(0x390)](de,this['unitID'],this[_0x347402(0x33a)],null,this['_pendingMutations'],this[_0x347402(0x3e1)]);}['toggleOnline'](){return this;}[_0x1494d6(0x2df)](_0x534604){var _0x24b21c=_0x1494d6;const _0x483fd8=_0x534604!=null?_0x534604:this[_0x24b21c(0x335)]();this[_0x24b21c(0x261)]=new Date()[_0x24b21c(0x199)]()+_0x483fd8,this[_0x24b21c(0x47b)]=setTimeout(()=>{var _0x32474e=_0x24b21c;this['_clearScheduledTask']();let _0x13a98d=null;switch(this['type']){case Q[_0x32474e(0x334)]:{_0x13a98d=Gt(this[_0x32474e(0x3ae)],this[_0x32474e(0x430)],this[_0x32474e(0x45e)],this[_0x32474e(0x2db)],this[_0x32474e(0x3c3)]);break;}case Q[_0x32474e(0x32a)]:{this['_pendingMutations'][_0x32474e(0x36b)](_0x381aaa=>_0x381aaa['id']===_0x3c3e36['id'])?_0x13a98d=ks(this[_0x32474e(0x3ae)],this['unitID'],this[_0x32474e(0x45e)],this[_0x32474e(0x2db)],this[_0x32474e(0x3c3)]):_0x13a98d=Gt(this[_0x32474e(0x3ae)],this[_0x32474e(0x430)],this['_univerInstanceService'],this['_revisionService'],this[_0x32474e(0x3c3)]);break;}default:throw new Error(_0x32474e(0x174)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1df32a,pendingMutations:_0x1a9c9b}=_0x13a98d;this[_0x32474e(0x3e1)][_0x32474e(0x222)](_0x1df32a);const _0x1e0162=_0x1a9c9b[_0x32474e(0x1c0)]?this[_0x32474e(0x380)]['createInstance'](oe,this[_0x32474e(0x430)],this[_0x32474e(0x33a)],_0x1df32a,_0x1a9c9b,this['_handler'],void 0x0):this[_0x32474e(0x380)][_0x32474e(0x390)](le,this[_0x32474e(0x430)],this[_0x32474e(0x33a)],_0x1df32a,this[_0x32474e(0x3e1)]);_0x1e0162[_0x32474e(0x18b)](),this['_handler'][_0x32474e(0x23f)](this,_0x1e0162);},_0x483fd8);}[_0x1494d6(0x335)](){var _0x1f8ecf=_0x1494d6,_0x261d43;const _0x230acb=this[_0x1f8ecf(0x2c3)][_0x1f8ecf(0x1f3)](K);return(_0x261d43=_0x230acb==null?void 0x0:_0x230acb[_0x1f8ecf(0x35b)])!=null?_0x261d43:ps;}[_0x1494d6(0x211)](){var _0x5167b9=_0x1494d6;throw new Error(_0x5167b9(0x3ee));}['_clearScheduledTask'](){var _0x266907=_0x1494d6;this['_sendingTimer']!=null&&(clearTimeout(this[_0x266907(0x47b)]),this[_0x266907(0x47b)]=null);}['_onConflict'](_0x259d21){var _0x3398a1=_0x1494d6;return this['_clearScheduledTask'](),this[_0x3398a1(0x380)]['createInstance'](ue,this[_0x3398a1(0x430)],this[_0x3398a1(0x33a)],null,this[_0x3398a1(0x3ae)],this[_0x3398a1(0x3e1)],_0x259d21);}};ae=Se([w(0x4,_0x40a927(_0x10bc24)),w(0x5,_0x40a927(_0x65d3e9)),w(0x6,_0x40a927(Pe)),w(0x7,_0x1c7d35),w(0x8,_0x40a596),w(0x9,_0x5c8b82),w(0xa,_0x2bd043),w(0xb,_0x3aa953),w(0xc,_0x5154ce),w(0xd,_0x207d04(J))],ae);let le=class extends ge{constructor(_0x459500,_0x474913,_0x2f7925,_0x44e3db,_0x4e8b4b,_0x1c07e8,_0xa062f7,_0x5904cb,_0x116325,_0x3f9bb8,_0x120791){var _0x1ffb4c=_0x1494d6;super(_0x459500,_0x474913,_0x2f7925,[],_0x44e3db,_0xa062f7,_0x3f9bb8,_0x1c07e8,_0x120791),D(this,'status',_0x1ffb4c(0x206)),D(this,'_resendTimeout',0x0),D(this,_0x1ffb4c(0x372)),D(this,_0x1ffb4c(0x290)),(this['_injector']=_0x4e8b4b,this['_logService']=_0x5904cb,this[_0x1ffb4c(0x3bb)]=_0x116325);}[_0x1494d6(0x396)](_0xba1998){var _0x46cff4=_0x1494d6;this['_clearScheduledTask']();const _0x480de4=this['_injector'][_0x46cff4(0x390)](oe,this['unitID'],this[_0x46cff4(0x33a)],this[_0x46cff4(0x1df)],[_0xba1998],this[_0x46cff4(0x3e1)],this[_0x46cff4(0x372)]);return _0x480de4[_0x46cff4(0x18b)](),_0x480de4;}['onRemoteChangeset'](_0x15d135){var _0x3ff17b=_0x1494d6;if(this[_0x3ff17b(0x446)](_0x15d135))return this[_0x3ff17b(0x2d6)](),this['_injector'][_0x3ff17b(0x390)](ee,this[_0x3ff17b(0x430)],this[_0x3ff17b(0x33a)],this[_0x3ff17b(0x1df)],[],null,[_0x15d135],this[_0x3ff17b(0x3e1)]);try{const _0x278976=this[_0x3ff17b(0x3bb)][_0x3ff17b(0x1ce)]([_0x15d135],[this[_0x3ff17b(0x1df)]],!0x1);if(_0x19caf4(_0x278976)){const {c1Prime:_0x510c00,c2Prime:_0x25a733}=_0x278976;this[_0x3ff17b(0x3cb)](_0x510c00[0x0]),_0x25a733[0x0]['baseRev']=this[_0x3ff17b(0x46d)](),this[_0x3ff17b(0x2d6)]();const _0x7898e=this[_0x3ff17b(0x380)][_0x3ff17b(0x390)](le,this[_0x3ff17b(0x430)],this[_0x3ff17b(0x33a)],_0x25a733[0x0],this[_0x3ff17b(0x3e1)]);return _0x7898e[_0x3ff17b(0x18b)](),_0x7898e;}return this[_0x3ff17b(0x362)](!0x1);}catch(_0x19f7ac){return this['_logService']['error'](_0x19f7ac),this['_onConflict'](!0x1);}}[_0x1494d6(0x1ef)](_0x543ae8){var _0x313db3=_0x1494d6;this['_clearScheduledTask']();const _0x2fc3aa=this[_0x313db3(0x2db)]['getCurrentRevOfUnit'](this[_0x313db3(0x430)]);if(_0x543ae8[_0x313db3(0x3c5)]<_0x2fc3aa-0x1)return this;if(this[_0x313db3(0x446)](_0x543ae8))return this['_injector'][_0x313db3(0x390)](ee,this[_0x313db3(0x430)],this[_0x313db3(0x33a)],null,[],this[_0x313db3(0x1df)],[],this[_0x313db3(0x3e1)]);this['_incrementRevisionNumber']();const _0xedb88a=this[_0x313db3(0x380)][_0x313db3(0x390)](be,this[_0x313db3(0x430)],this[_0x313db3(0x33a)],this['_handler']);return _0xedb88a[_0x313db3(0x18b)](),_0xedb88a;}[_0x1494d6(0x47f)](_0x5dafed){var _0x29ab1f=_0x1494d6;return this['_onConflict'](!!(_0x5dafed!=null&&_0x5dafed[_0x29ab1f(0x407)]));}['onRemoteRetry'](_0x3c61fb){var _0x2a23d0=_0x1494d6;return this[_0x2a23d0(0x308)]>gi?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x2a23d0(0x308)],{'timeout':this[_0x2a23d0(0x308)],'reqId':_0x3c61fb[_0x2a23d0(0x1fe)]}),this[_0x2a23d0(0x290)]=this[_0x2a23d0(0x372)][_0x2a23d0(0x3c6)](({reqId:_0x47ceae,timeout:_0x1bccbe})=>{var _0x3bace9=_0x2a23d0;this[_0x3bace9(0x2a2)](_0x47ceae,_0x1bccbe);}),this);}[_0x1494d6(0x39f)](){var _0x5bf3aa=_0x1494d6;return this[_0x5bf3aa(0x2d6)](),this['_injector'][_0x5bf3aa(0x390)](de,this[_0x5bf3aa(0x430)],this['type'],this[_0x5bf3aa(0x1df)],[],this[_0x5bf3aa(0x3e1)]);}['toggleOnline'](){return this;}[_0x1494d6(0x211)](){var _0x562ee6=_0x1494d6;this[_0x562ee6(0x3e1)][_0x562ee6(0x222)](this[_0x562ee6(0x1df)]);}[_0x1494d6(0x362)](_0x481e9c){var _0x315aaf=_0x1494d6;return this[_0x315aaf(0x2d6)](),this[_0x315aaf(0x380)][_0x315aaf(0x390)](ue,this[_0x315aaf(0x430)],this[_0x315aaf(0x33a)],this[_0x315aaf(0x1df)],[],this['_handler'],_0x481e9c);}[_0x1494d6(0x2a2)](_0x58a323,_0x479971){var _0x2be549=_0x1494d6,_0x2eb03e;_0x58a323===((_0x2eb03e=this['_awaitingChangeset'])==null?void 0x0:_0x2eb03e['reqId'])&&(this[_0x2be549(0x211)](),this[_0x2be549(0x308)]=_0x479971===0x0?0x3e8:_0x479971*0x2);}['_clearScheduledTask'](){var _0x252967=_0x1494d6,_0x3f93ca;(_0x3f93ca=this[_0x252967(0x290)])==null||_0x3f93ca[_0x252967(0x3db)](),this[_0x252967(0x308)]=0x0;}};function _0x842d(_0x3f4417,_0x2f545a){var _0x1d6768=_0x1d67();return _0x842d=function(_0x842d3,_0x6c49df){_0x842d3=_0x842d3-0x172;var _0x4add97=_0x1d6768[_0x842d3];return _0x4add97;},_0x842d(_0x3f4417,_0x2f545a);}le=Se([w(0x4,_0x40a927(_0x10bc24)),w(0x5,_0x40a927(_0x65d3e9)),w(0x6,_0x40a596),w(0x7,_0x1c7d35),w(0x8,_0x2bd043),w(0x9,_0x5154ce),w(0xa,_0x207d04(J))],le);let oe=class extends ge{constructor(_0x2907fc,_0x4fa701,_0x176c1c,_0x573739,_0x4bde48,_0x5c416f,_0x2d02c7,_0x276011,_0xeecb3d,_0x592ece,_0xe787cd,_0x2f2f9d,_0x5150d1){var _0x2f2f0f=_0x1494d6;super(_0x2907fc,_0x4fa701,_0x176c1c,_0x573739,_0x4bde48,_0xeecb3d,_0x2f2f9d,_0x276011,_0x5150d1),D(this,'status',_0x2f2f0f(0x348)),D(this,_0x2f2f0f(0x308),0x0),D(this,_0x2f2f0f(0x372)),D(this,_0x2f2f0f(0x290)),(this[_0x2f2f0f(0x380)]=_0x2d02c7,this[_0x2f2f0f(0x29c)]=_0x592ece,this[_0x2f2f0f(0x3bb)]=_0xe787cd,this[_0x2f2f0f(0x27e)]=_0x5150d1,_0x5c416f&&(this[_0x2f2f0f(0x372)]=_0x5c416f,this['_sender']=this[_0x2f2f0f(0x372)]['subscribe'](({reqId:_0x349795,timeout:_0x2f53cd})=>{var _0xc57b3b=_0x2f2f0f;this[_0xc57b3b(0x2a2)](_0x349795,_0x2f53cd);})));}['appendMutation'](_0x8b9a3){var _0x56d24c=_0x1494d6;return this[_0x56d24c(0x3ae)][_0x56d24c(0x359)](_0x8b9a3),this;}['onRemoteChangeset'](_0x1fd463){var _0x3261ab=_0x1494d6;if(this['_checkMissing'](_0x1fd463))return this[_0x3261ab(0x2d6)](),this[_0x3261ab(0x380)]['createInstance'](ee,this[_0x3261ab(0x430)],this[_0x3261ab(0x33a)],this[_0x3261ab(0x1df)],this[_0x3261ab(0x3ae)],null,[_0x1fd463],this[_0x3261ab(0x3e1)]);try{const _0x25114f=this[_0x3261ab(0x3bb)]['transformChangesets']([_0x1fd463],[this['_awaitingChangeset']],!0x1);if(_0x19caf4(_0x25114f)){const {c1Prime:_0x41bee5,c2Prime:_0x4f3166}=_0x25114f,_0x35ed5c=this[_0x3261ab(0x3bb)][_0x3261ab(0x2e5)](_0x41bee5[0x0],this[_0x3261ab(0x3ae)]);if(_0x336147(_0x35ed5c)){const {c1Prime:_0x20191a,m2Prime:_0x73b1ca}=_0x35ed5c;return this[_0x3261ab(0x3cb)](_0x20191a),_0x4f3166[0x0][_0x3261ab(0x278)]=this[_0x3261ab(0x46d)](),this['_clearScheduledTask'](),this['_injector'][_0x3261ab(0x390)](oe,this['unitID'],this[_0x3261ab(0x33a)],_0x4f3166[0x0],_0x73b1ca,this[_0x3261ab(0x3e1)],void 0x0);}throw _0x35ed5c[_0x3261ab(0x2ce)];}throw _0x25114f['error'];}catch(_0x12b685){return this[_0x3261ab(0x29c)][_0x3261ab(0x2ce)](_0x12b685),this[_0x3261ab(0x362)](!0x1);}}[_0x1494d6(0x1ef)](_0x29a8fa){var _0xcb593=_0x1494d6;if(this[_0xcb593(0x2d6)](),this[_0xcb593(0x446)](_0x29a8fa))return this[_0xcb593(0x380)][_0xcb593(0x390)](ee,this[_0xcb593(0x430)],this[_0xcb593(0x33a)],null,this[_0xcb593(0x3ae)],this[_0xcb593(0x1df)],[],this[_0xcb593(0x3e1)]);this[_0xcb593(0x450)]();const _0x34c1dd=this['_injector'][_0xcb593(0x390)](ae,this['unitID'],this['type'],this[_0xcb593(0x3ae)],this['_handler']);return _0x34c1dd['_schedule'](),_0x34c1dd[_0xcb593(0x18b)](),_0x34c1dd;}[_0x1494d6(0x47f)](_0x123090){return this['_onConflict'](!!(_0x123090!=null&&_0x123090['isPermissionRej']));}[_0x1494d6(0x188)](_0x5b9d18){var _0x22d04c=_0x1494d6;return this[_0x22d04c(0x308)]>gi?this[_0x22d04c(0x39f)]():(this[_0x22d04c(0x372)]=Ii(this[_0x22d04c(0x308)],{'timeout':this[_0x22d04c(0x308)],'reqId':_0x5b9d18['reqId']}),this[_0x22d04c(0x290)]=this[_0x22d04c(0x372)]['subscribe'](({reqId:_0x4ad150,timeout:_0x420b2d})=>{var _0x30430c=_0x22d04c;this[_0x30430c(0x2a2)](_0x4ad150,_0x420b2d);}),this);}[_0x1494d6(0x39f)](){var _0x34276e=_0x1494d6;return this['_clearScheduledTask'](),this[_0x34276e(0x380)][_0x34276e(0x390)](de,this[_0x34276e(0x430)],this[_0x34276e(0x33a)],this[_0x34276e(0x1df)],this[_0x34276e(0x3ae)],this[_0x34276e(0x3e1)]);}[_0x1494d6(0x1d1)](){return this;}['resend'](){var _0x1cb094=_0x1494d6;this['_handler'][_0x1cb094(0x222)](this[_0x1cb094(0x1df)]);}[_0x1494d6(0x362)](_0x543713){var _0x14f5d8=_0x1494d6;return this[_0x14f5d8(0x2d6)](),this[_0x14f5d8(0x380)][_0x14f5d8(0x390)](ue,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x14f5d8(0x3e1)],_0x543713);}[_0x1494d6(0x2a2)](_0x52e149,_0x260d43){var _0x3fb1e3=_0x1494d6,_0x2865c3;_0x52e149===((_0x2865c3=this[_0x3fb1e3(0x1df)])==null?void 0x0:_0x2865c3[_0x3fb1e3(0x1fe)])&&(this[_0x3fb1e3(0x211)](),this[_0x3fb1e3(0x308)]=_0x260d43===0x0?0x3e8:_0x260d43*0x2);}[_0x1494d6(0x2d6)](){var _0x32ca54=_0x1494d6,_0x32e286;(_0x32e286=this[_0x32ca54(0x290)])==null||_0x32e286[_0x32ca54(0x3db)](),this[_0x32ca54(0x308)]=0x0;}};oe=Se([w(0x6,_0x40a927(_0x10bc24)),w(0x7,_0x40a927(_0x65d3e9)),w(0x8,_0x40a596),w(0x9,_0x1c7d35),w(0xa,_0x2bd043),w(0xb,_0x5154ce),w(0xc,_0x207d04(J))],oe);let ue=class extends ge{constructor(_0x23c4d1,_0x1147fa,_0x2f425e,_0x29b55e,_0xe99fb2,_0x42f80d=!0x1,_0x46a444,_0x487e92,_0x2779a0,_0x17975e,_0x1c17a3,_0x11a814,_0x461125){var _0x10017b=_0x1494d6;super(_0x23c4d1,_0x1147fa,_0x2f425e,_0x29b55e,_0xe99fb2,_0x487e92,_0x2779a0,_0x17975e,_0x461125),D(this,'status','conflict'),(this['_isPermissionRej']=_0x42f80d,this[_0x10017b(0x196)]=_0x46a444,this['_localeService']=_0x1c17a3,this[_0x10017b(0x177)]=_0x11a814,this['localCacheService']=_0x461125,this['_showConflictNotification'](),this[_0x10017b(0x1d5)](),this[_0x10017b(0x40f)]());}[_0x1494d6(0x396)](){return this;}[_0x1494d6(0x23a)](){return this;}[_0x1494d6(0x1ef)](){return this;}[_0x1494d6(0x47f)](){return this;}['onRemoteRetry'](){return this;}[_0x1494d6(0x39f)](){return this;}[_0x1494d6(0x1d1)](){return this;}[_0x1494d6(0x211)](){var _0x3da954=_0x1494d6;throw new Error(_0x3da954(0x43a));}[_0x1494d6(0x1d5)](){var _0x3bd7b9=_0x1494d6,_0x5682a5;(_0x5682a5=this[_0x3bd7b9(0x26e)])==null||_0x5682a5['updateOfflineData'](this[_0x3bd7b9(0x430)],this['type'],null,[]);}[_0x1494d6(0x193)](){var _0x54536e=_0x1494d6;this['_isPermissionRej']?this[_0x54536e(0x177)][_0x54536e(0x21b)]({'id':re['PERMISSION_DENIED']}):this[_0x54536e(0x177)][_0x54536e(0x21b)]({'id':re[_0x54536e(0x216)]});}[_0x1494d6(0x40f)](){this['_permissionService']['updatePermissionPoint'](new _0x2034a7(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x40a927(_0x2fea40)),w(0x7,_0x40a596),w(0x8,_0x5154ce),w(0x9,_0x40a927(_0x65d3e9)),w(0xa,_0x40a927(_0x504914)),w(0xb,_0x40a927(ve)),w(0xc,_0x207d04(J))],ue);let de=class extends ge{constructor(_0x2a932e,_0x7856c5,_0x1a6abe,_0x15f846,_0x2ed1c8,_0x2687da,_0x2ef07e,_0x2fda3a,_0x357a4f,_0x4c5232){var _0x2c6450=_0x1494d6;super(_0x2a932e,_0x7856c5,_0x1a6abe,_0x15f846,_0x2ed1c8,_0x2fda3a,_0x357a4f,_0x2ef07e,_0x4c5232),D(this,_0x2c6450(0x3df),_0x2c6450(0x22d)),this[_0x2c6450(0x380)]=_0x2687da;}[_0x1494d6(0x396)](_0xf4961b){var _0x43a116=_0x1494d6;return this[_0x43a116(0x3ae)][_0x43a116(0x359)](_0xf4961b),this[_0x43a116(0x18b)](),this;}[_0x1494d6(0x23a)](_0x2f6f47){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1494d6(0x1ef)](){var _0x1ba9e7=_0x1494d6;throw new Error(_0x1ba9e7(0x2cd));}[_0x1494d6(0x47f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1494d6(0x188)](){return this;}[_0x1494d6(0x39f)](){return this;}[_0x1494d6(0x1d1)](){var _0x5d29fe=_0x1494d6;const {_injector:_0x46d2ad,_pendingMutations:_0x527c19,_awaitingChangeset:_0x177715,unitID:_0x1d194c,_handler:_0x17e1cf,type:_0x23fd93}=this,_0x280ffa=Ti(_0x46d2ad,_0x1d194c,_0x23fd93,_0x177715,_0x527c19,_0x17e1cf);return _0x280ffa instanceof ae?_0x280ffa[_0x5d29fe(0x2df)]():(_0x280ffa instanceof oe||_0x280ffa instanceof le)&&_0x280ffa[_0x5d29fe(0x211)](),_0x280ffa;}[_0x1494d6(0x211)](){var _0x35a017=_0x1494d6;throw new Error(_0x35a017(0x189));}};de=Se([w(0x5,_0x40a927(_0x10bc24)),w(0x6,_0x40a927(_0x65d3e9)),w(0x7,_0x40a596),w(0x8,_0x5154ce),w(0x9,_0x207d04(J))],de);let ee=class extends ge{constructor(_0x34bd0b,_0x4b4494,_0x43e548,_0x319ddc,_0x5639b8,_0x373e42,_0x4153d1,_0x3109d0,_0xe54b27,_0x3e3e0b,_0x116021,_0x4918d3,_0x47d277,_0x58f48c){var _0x58b3e2=_0x1494d6;super(_0x34bd0b,_0x4b4494,_0x43e548,_0x319ddc,_0x4153d1,_0x116021,_0x4918d3,_0xe54b27,_0x58f48c),D(this,_0x58b3e2(0x3df),_0x58b3e2(0x31a)),(this[_0x58b3e2(0x438)]=_0x5639b8,this[_0x58b3e2(0x248)]=_0x373e42,this[_0x58b3e2(0x380)]=_0x3109d0,this[_0x58b3e2(0x29c)]=_0x3e3e0b,this[_0x58b3e2(0x3bb)]=_0x47d277,this[_0x58b3e2(0x27e)]=_0x58f48c);}[_0x1494d6(0x457)](_0x31dfd7){var _0x44143b=_0x1494d6;try{const _0x167c38=[..._0x31dfd7,...this[_0x44143b(0x248)]],_0x2eeb3d=[this[_0x44143b(0x1df)]||this[_0x44143b(0x438)]][_0x44143b(0x1ee)](_0x56dac7=>!!_0x56dac7);let _0x430ace,_0x4b4b6c;if(_0x2eeb3d['length']){const _0x5bf397=this[_0x44143b(0x3bb)][_0x44143b(0x1ce)](_0x167c38,_0x2eeb3d,!0x1);if(!_0x19caf4(_0x5bf397))throw _0x5bf397[_0x44143b(0x2ce)];_0x430ace=_0x5bf397['c1Prime'],_0x4b4b6c=_0x5bf397['c2Prime'];}else _0x430ace=_0x167c38,_0x4b4b6c=[];let _0x2eb9cf=this['_pendingMutations'];_0x430ace[_0x44143b(0x2f5)](_0x172fdb=>{var _0x4936c3=_0x44143b;let _0x27971f;if(_0x2eb9cf[_0x4936c3(0x1c0)]){const _0x3d0142=this[_0x4936c3(0x3bb)][_0x4936c3(0x2e5)](_0x172fdb,_0x2eb9cf);if(!_0x336147(_0x3d0142))throw _0x3d0142[_0x4936c3(0x2ce)];_0x27971f=_0x3d0142['c1Prime'],_0x2eb9cf=_0x3d0142[_0x4936c3(0x3de)];}else _0x27971f=_0x172fdb;this['_executeRemoteChangeset'](_0x27971f);}),this[_0x44143b(0x438)]&&this['_incrementRevisionNumber'](),this[_0x44143b(0x1df)]&&_0x4b4b6c[_0x44143b(0x1c0)]&&(_0x4b4b6c[0x0]['baseRev']=this[_0x44143b(0x46d)]());let _0x5bc04f;if(this[_0x44143b(0x1df)]&&_0x2eb9cf['length']!==0x0)_0x5bc04f=this[_0x44143b(0x380)][_0x44143b(0x390)](oe,this[_0x44143b(0x430)],this[_0x44143b(0x33a)],_0x4b4b6c[0x0],_0x2eb9cf,this['_handler'],void 0x0);else{if(this[_0x44143b(0x1df)]&&_0x2eb9cf['length']===0x0)_0x4b4b6c[0x0][_0x44143b(0x278)]=this[_0x44143b(0x46d)](),_0x5bc04f=this[_0x44143b(0x380)][_0x44143b(0x390)](le,this[_0x44143b(0x430)],this[_0x44143b(0x33a)],_0x4b4b6c[0x0],this['_handler']);else{if(_0x2eb9cf[_0x44143b(0x1c0)]!==0x0){const _0x2bece4=this[_0x44143b(0x380)][_0x44143b(0x390)](ae,this['unitID'],this[_0x44143b(0x33a)],_0x2eb9cf,this[_0x44143b(0x3e1)]);_0x2bece4[_0x44143b(0x2df)](),_0x5bc04f=_0x2bece4;}else _0x5bc04f=this['_injector'][_0x44143b(0x390)](be,this[_0x44143b(0x430)],this['type'],this['_handler']);}}return _0x5bc04f[_0x44143b(0x18b)](),_0x5bc04f;}catch(_0x23e568){return this[_0x44143b(0x29c)][_0x44143b(0x2ce)]('[FetchMissState]',_0x44143b(0x215),_0x23e568),this['_injector']['createInstance'](ue,this[_0x44143b(0x430)],this[_0x44143b(0x33a)],this[_0x44143b(0x1df)],this[_0x44143b(0x3ae)],this['_handler'],!0x1);}}['resend'](){var _0x10bc51=_0x1494d6;throw new Error(_0x10bc51(0x2d8));}[_0x1494d6(0x396)](_0x4eddfc){return this['_pendingMutations']['push'](_0x4eddfc),this;}[_0x1494d6(0x23a)](_0x31f785){var _0xa66943=_0x1494d6;return this[_0xa66943(0x248)]['push'](_0x31f785),this;}[_0x1494d6(0x1ef)](_0x2f3ac2){var _0x11836a=_0x1494d6;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x11836a(0x1df)],this[_0x11836a(0x1df)]=null,this;throw new Error(_0x11836a(0x2c7));}[_0x1494d6(0x47f)](_0x5bbbb3){var _0x5ec656=_0x1494d6;return this[_0x5ec656(0x362)](!!(_0x5bbbb3!=null&&_0x5bbbb3[_0x5ec656(0x407)]));}['onRemoteRetry'](){return this;}[_0x1494d6(0x39f)](){var _0x23044b=_0x1494d6;return this[_0x23044b(0x380)][_0x23044b(0x390)](de,this['unitID'],this[_0x23044b(0x33a)],this[_0x23044b(0x1df)],this[_0x23044b(0x3ae)],this[_0x23044b(0x3e1)]);}[_0x1494d6(0x1d1)](){return this;}[_0x1494d6(0x362)](_0x4f74a){var _0x1ecdf7=_0x1494d6;return this['_injector']['createInstance'](ue,this[_0x1ecdf7(0x430)],this[_0x1ecdf7(0x33a)],this[_0x1ecdf7(0x1df)],this[_0x1ecdf7(0x3ae)],this[_0x1ecdf7(0x3e1)],_0x4f74a);}};ee=Se([w(0x7,_0x40a927(_0x10bc24)),w(0x8,_0x40a927(_0x65d3e9)),w(0x9,_0x1c7d35),w(0xa,_0x40a596),w(0xb,_0x5154ce),w(0xc,_0x2bd043),w(0xd,_0x207d04(J))],ee);function Ti(_0x4f0852,_0x57cc8b,_0x5f406e,_0x2e4875,_0x7565d,_0x3791bb){var _0x1dcc39=_0x1494d6;return _0x2e4875&&_0x7565d[_0x1dcc39(0x1c0)]?_0x4f0852['createInstance'](oe,_0x57cc8b,_0x5f406e,_0x2e4875,_0x7565d,_0x3791bb,void 0x0):_0x2e4875?_0x4f0852[_0x1dcc39(0x390)](le,_0x57cc8b,_0x5f406e,_0x2e4875,_0x3791bb):_0x7565d[_0x1dcc39(0x1c0)]?_0x4f0852[_0x1dcc39(0x390)](ae,_0x57cc8b,_0x5f406e,_0x7565d,_0x3791bb):_0x4f0852['createInstance'](be,_0x57cc8b,_0x5f406e,_0x3791bb);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x6b9454,_0x3291f8,_0xca83d1,_0x2dddf1)=>{var _0x5c0e2d=_0x1494d6;for(var _0x36c501=_0x2dddf1>0x1?void 0x0:_0x2dddf1?Bs(_0x3291f8,_0xca83d1):_0x3291f8,_0x4b752f=_0x6b9454[_0x5c0e2d(0x1c0)]-0x1,_0x48c7a7;_0x4b752f>=0x0;_0x4b752f--)(_0x48c7a7=_0x6b9454[_0x4b752f])&&(_0x36c501=_0x48c7a7(_0x36c501)||_0x36c501);return _0x36c501;},$=(_0x9e67da,_0x35b8b6)=>(_0x300d7f,_0x14ee7f)=>_0x35b8b6(_0x300d7f,_0x14ee7f,_0x9e67da);let st=class extends _0x2e5652{constructor(_0x81d581,_0x5e7bf1,_0x1621c1,_0x5533b3,_0x16f556,_0x483d56,_0x59ed52,_0x2153c3,_0x4ff260,_0x138e00,_0x5e0d19,_0x544d4b,_0xf0602e,_0x19a821){var _0x223bd3=_0x1494d6;super(),D(this,_0x223bd3(0x3dd),new _0x9f1b26(null)),D(this,'state$',this['_state$'][_0x223bd3(0x311)]()),D(this,_0x223bd3(0x408)),D(this,'_collaborationPaused',!0x1),D(this,_0x223bd3(0x428),''),D(this,_0x223bd3(0x2ad),0x0),D(this,_0x223bd3(0x333),this[_0x223bd3(0x34f)]['pipe'](_0x43487e(_0x453f0c=>_0x453f0c?_0x453f0c[_0x223bd3(0x3df)]:Si[_0x223bd3(0x368)]),_0x4a16e1(0x1))),D(this,_0x223bd3(0x3d0),!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x81d581,this[_0x223bd3(0x320)]=_0x5e7bf1,this[_0x223bd3(0x3da)]=_0x1621c1,this[_0x223bd3(0x380)]=_0x5533b3,this[_0x223bd3(0x2d2)]=_0x16f556,this[_0x223bd3(0x45a)]=_0x483d56,this[_0x223bd3(0x2db)]=_0x59ed52,this[_0x223bd3(0x1c3)]=_0x2153c3,this['_univerInstanceService']=_0x4ff260,this[_0x223bd3(0x29c)]=_0x138e00,this[_0x223bd3(0x443)]=_0x5e0d19,this['_permissionService']=_0x544d4b,this[_0x223bd3(0x3b3)]=_0xf0602e,this[_0x223bd3(0x26e)]=_0x19a821);}get['state'](){var _0x428aa0=_0x1494d6;return this[_0x428aa0(0x408)];}async[_0x1494d6(0x287)](){var _0x461a7a=_0x1494d6;if(this['state'])throw new Error(_0x461a7a(0x42a));await this[_0x461a7a(0x39a)]();}['pauseCollaboration'](){var _0x11ee01=_0x1494d6;return this[_0x11ee01(0x1d9)]=!0x0,_0x4a0717(()=>{var _0x15ee2f=_0x11ee01;this[_0x15ee2f(0x1d9)]=!0x1,this[_0x15ee2f(0x3a9)]();});}['onLocalMutation'](_0x26b6ac){this['_onLocalMutation'](_0x26b6ac);}['_updateState'](_0x397099){var _0x2f1256=_0x1494d6;this[_0x2f1256(0x408)]=_0x397099,this[_0x2f1256(0x3dd)][_0x2f1256(0x1a6)](_0x397099);}async[_0x1494d6(0x39a)](){var _0x5bd858=_0x1494d6,_0x21c21a;this[_0x5bd858(0x25c)](await this['_createInitialState']()),this[_0x5bd858(0x3b3)]&&((_0x21c21a=this[_0x5bd858(0x3b3)])==null||_0x21c21a['editingUnit'](this[_0x5bd858(0x430)]),this[_0x5bd858(0x32e)](this[_0x5bd858(0x3b3)][_0x5bd858(0x1a3)](this[_0x5bd858(0x430)])[_0x5bd858(0x3c6)](_0x53716d=>{var _0x3c704c=_0x5bd858;this[_0x3c704c(0x29c)][_0x3c704c(0x1cf)]('[CollaborationEntity]',_0x3c704c(0x219),_0x53716d),_0x53716d===mi['OTHER_CLIENTS_EDITING']?(this[_0x3c704c(0x1c3)]['emitEvent']({'id':re[_0x3c704c(0x220)]}),this[_0x3c704c(0x196)][_0x3c704c(0x47a)](new _0x2034a7(this[_0x3c704c(0x430)])['id'],!0x1),this[_0x3c704c(0x196)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x3c704c(0x47a)](new _0x2034a7(this['unitID'])['id'],!0x0),this[_0x3c704c(0x196)][_0x3c704c(0x22c)](!0x0));})));let _0x1ed264=!0x1;return this[_0x5bd858(0x32e)](this['session'][_0x5bd858(0x35a)][_0x5bd858(0x3c6)](_0x4acfad=>{var _0x109876=_0x5bd858;_0x4acfad===me[_0x109876(0x18d)]?this['_toggleOnline'](_0x1ed264):_0x4acfad===me[_0x109876(0x368)]&&(_0x1ed264=!0x0,this[_0x109876(0x1b8)]());})),this[_0x5bd858(0x32e)](this['session'][_0x5bd858(0x1c8)][_0x5bd858(0x3c6)](_0x6187c3=>{var _0x9135a7=_0x5bd858;try{switch(_0x6187c3['eventID']){case _0x3719ba[_0x9135a7(0x3e8)]:{this[_0x9135a7(0x42b)](_0x5acf7f(_0x6187c3[_0x9135a7(0x40d)]));break;}case _0x3719ba[_0x9135a7(0x2c4)]:{this['_onRemoteACK'](_0x6187c3[_0x9135a7(0x40d)]);break;}case _0x3719ba['CHANGESET_REJ']:{this[_0x9135a7(0x40c)]();break;}case _0x3719ba[_0x9135a7(0x1bd)]:{this[_0x9135a7(0x2b2)](_0x6187c3[_0x9135a7(0x40d)]);break;}case _0x3719ba[_0x9135a7(0x259)]:{this[_0x9135a7(0x2c5)](_0x6187c3[_0x9135a7(0x40d)][_0x9135a7(0x39e)][_0x9135a7(0x31d)](_0x4713cc=>_0x5acf7f(_0x4713cc)));break;}case _0x3719ba[_0x9135a7(0x41a)]:{this[_0x9135a7(0x40c)]({'isPermissionRej':!0x0});break;}case _0x3719ba[_0x9135a7(0x2bc)]:break;}}catch(_0xa921f){throw console[_0x9135a7(0x2ce)]('Error\x20on\x20receiving\x20event',_0xa921f),_0xa921f;}})),this[_0x5bd858(0x408)];}[_0x1494d6(0x3f9)](){var _0x4d47ab=_0x1494d6;this[_0x4d47ab(0x3d0)]=!0x1;}[_0x1494d6(0x3ac)](){var _0x5732cf=_0x1494d6;if(this[_0x5732cf(0x3d0)])throw new Error(_0x5732cf(0x235));this[_0x5732cf(0x3d0)]=!0x0;}['_onLocalMutation'](_0x86ff06){var _0x10e5b6=_0x1494d6;this[_0x10e5b6(0x3ac)](),this[_0x10e5b6(0x25c)](this['_state'][_0x10e5b6(0x396)](_0x86ff06)),this[_0x10e5b6(0x3f9)]();}[_0x1494d6(0x42b)](_0x546af5){var _0x168ca1=_0x1494d6;if(!(_0x546af5[_0x168ca1(0x3c5)]<=this[_0x168ca1(0x2db)][_0x168ca1(0x436)](this[_0x168ca1(0x430)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x168ca1(0x359)](_0x546af5);return;}this[_0x168ca1(0x178)](_0x546af5);}}[_0x1494d6(0x3a9)](){var _0xd5eeec=_0x1494d6;this[_0xd5eeec(0x465)][_0xd5eeec(0x2f5)](_0x48fb1e=>this[_0xd5eeec(0x178)](_0x48fb1e)),this[_0xd5eeec(0x465)]=[];}['_applyRemoteChangeset'](_0x4b9eaa){var _0x527d47=_0x1494d6;const _0x2c28e7=this['_compressMutationService'][_0x527d47(0x218)][_0x527d47(0x3c7)](this[_0x527d47(0x2d2)][_0x527d47(0x218)][_0x527d47(0x37b)]()[_0x527d47(0x1a8)])(_0x4b9eaa['mutations'],null)||_0x4b9eaa[_0x527d47(0x2f2)],_0x16e8f0={..._0x4b9eaa,'mutations':_0x2c28e7};this[_0x527d47(0x3ac)](),this['_updateState'](this['_state'][_0x527d47(0x23a)](_0x16e8f0)),this[_0x527d47(0x3f9)]();}['_onRemoteACK'](_0x5e2644){var _0x376258=_0x1494d6;this[_0x376258(0x3ac)](),this[_0x376258(0x25c)](this['_state']['onRemoteAck'](_0x5e2644)),this[_0x376258(0x3f9)]();}[_0x1494d6(0x40c)](_0x439994){var _0x503f59=_0x1494d6;this['_lockTransition'](),this[_0x503f59(0x25c)](this['_state'][_0x503f59(0x47f)](_0x439994)),this[_0x503f59(0x3f9)]();}[_0x1494d6(0x2b2)](_0x1a2e23){var _0x56b9bf=_0x1494d6;this['_lockTransition'](),this[_0x56b9bf(0x25c)](this['_state'][_0x56b9bf(0x188)](_0x1a2e23)),this['_unlockTransition']();}[_0x1494d6(0x2c5)](_0x3d499d){var _0x2b6e28=_0x1494d6;if(!(this[_0x2b6e28(0x408)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x137cb4=_0x3d499d[_0x2b6e28(0x31d)](_0x32017f=>{var _0x2c0af8=_0x2b6e28;const _0x24e37a=this[_0x2c0af8(0x2d2)]['interceptor']['fetchThroughInterceptors'](this[_0x2c0af8(0x2d2)][_0x2c0af8(0x218)][_0x2c0af8(0x37b)]()[_0x2c0af8(0x1a8)])(_0x32017f[_0x2c0af8(0x2f2)],null)||_0x32017f[_0x2c0af8(0x2f2)];return{..._0x32017f,'mutations':_0x24e37a};});this[_0x2b6e28(0x3ac)](),this[_0x2b6e28(0x25c)](this[_0x2b6e28(0x408)][_0x2b6e28(0x457)](_0x137cb4)),this['_unlockTransition']();}['_toggleOffline'](){var _0x243279=_0x1494d6;this[_0x243279(0x3ac)](),this[_0x243279(0x25c)](this['_state'][_0x243279(0x39f)]()),this['_unlockTransition']();}[_0x1494d6(0x3a1)](_0x1fe716=!0x1){var _0x1443e9=_0x1494d6;this[_0x1443e9(0x3ac)](),this[_0x1443e9(0x25c)](this[_0x1443e9(0x408)][_0x1443e9(0x1d1)]()),this[_0x1443e9(0x3f9)]();const _0x4d211e=this[_0x1443e9(0x408)];_0x1fe716&&_0x4d211e instanceof be&&(this['_lockTransition'](),this[_0x1443e9(0x25c)](_0x4d211e[_0x1443e9(0x453)]()),this[_0x1443e9(0x3f9)]());}async[_0x1494d6(0x42e)](){return new Promise(_0x4a9d66=>{var _0x34683b=_0x842d;this[_0x34683b(0x320)][_0x34683b(0x35a)][_0x34683b(0x354)](_0x4e8e35(0x1))['subscribe'](async _0x5dfa69=>{var _0xebd092=_0x34683b;_0x4a9d66(await this[_0xebd092(0x18e)](_0x5dfa69===me['ONLINE']));});});}[_0x1494d6(0x2e0)](){const _0x8bdb71=this['unitID'];return{'onStateChange':(_0x474748,_0x133414)=>{var _0x16555e=_0x842d;if(_0x474748!==this[_0x16555e(0x408)])throw new Error(_0x16555e(0x185)+_0x474748[_0x16555e(0x3df)]+_0x16555e(0x1ed)+_0x133414['status']+'\x0aCurrent:\x20'+this[_0x16555e(0x408)][_0x16555e(0x3df)]);this['_updateState'](_0x133414);},'onSendChangeset':_0x44d2ae=>{var _0x32a81a=_0x842d;_0x44d2ae[_0x32a81a(0x37e)]||(_0x44d2ae[_0x32a81a(0x37e)]=this[_0x32a81a(0x428)],_0x44d2ae[_0x32a81a(0x1fe)]=++this[_0x32a81a(0x2ad)]);const _0x209c20={'eventID':_0x3719ba[_0x32a81a(0x420)],'data':{'unitID':_0x44d2ae[_0x32a81a(0x430)],'unitType':this[_0x32a81a(0x3da)],'changeset':_0x44d2ae,'memberID':this['session'][_0x32a81a(0x26c)]()}};this[_0x32a81a(0x320)]['send'](_0x209c20,this[_0x32a81a(0x430)]);},'onMissingChangesets':({from:_0x3462ca,to:_0x536f88})=>{var _0x45037d=_0x842d;this['_logService']['debug']('[CollaborationEntity]',_0x45037d(0x2cc)+_0x3462ca+_0x45037d(0x479)+_0x536f88);const _0x4ca1da={'eventID':_0x3719ba[_0x45037d(0x2ec)],'data':{'unitID':_0x8bdb71,'unitType':this[_0x45037d(0x3da)],'from':_0x3462ca,'to':_0x536f88}};this['session']['send'](_0x4ca1da,this[_0x45037d(0x430)]);}};}async[_0x1494d6(0x18e)](_0x3439ec){var _0x5644ba=_0x1494d6,_0x169d69,_0x386471,_0x329994;const _0x585fff=await((_0x169d69=this[_0x5644ba(0x26e)])==null?void 0x0:_0x169d69['loadOfflineData'](this['unitID'])),_0xbe996e=(_0x386471=_0x585fff==null?void 0x0:_0x585fff[_0x5644ba(0x2f2)])!=null?_0x386471:[],_0x1f6bcb=(_0x329994=_0x585fff==null?void 0x0:_0x585fff[_0x5644ba(0x319)])!=null?_0x329994:null,_0x189ea3=!!(_0x1f6bcb!=null&&_0x1f6bcb[_0x5644ba(0x37e)])&&!!(_0x1f6bcb!=null&&_0x1f6bcb[_0x5644ba(0x1fe)]);this['_changesetSessionId']=_0x189ea3?_0x1f6bcb[_0x5644ba(0x37e)]:_0x1c092a(),this[_0x5644ba(0x2ad)]=_0x189ea3?_0x1f6bcb[_0x5644ba(0x1fe)]:0x0;const _0x3f854c=this[_0x5644ba(0x430)];try{this['_replayCachedMutations'](_0x1f6bcb,_0xbe996e);}catch(_0x52074e){this[_0x5644ba(0x29c)]['error'](_0x52074e);}const _0x54f7c9=this[_0x5644ba(0x2e0)]();if(_0x3439ec){const _0x126f99=Ti(this[_0x5644ba(0x380)],_0x3f854c,this[_0x5644ba(0x3da)],_0x1f6bcb,_0xbe996e,_0x54f7c9);return _0x126f99 instanceof ae?_0x126f99[_0x5644ba(0x2df)]():(_0x126f99 instanceof oe||_0x126f99 instanceof le)&&_0x126f99[_0x5644ba(0x211)](),_0x126f99;}return this[_0x5644ba(0x380)][_0x5644ba(0x390)](de,_0x3f854c,this['_type'],_0x1f6bcb,_0xbe996e,_0x54f7c9);}[_0x1494d6(0x240)](_0x1caa12,_0x7242de){var _0x51046f=_0x1494d6,_0x10485a,_0x4519fc;const _0x4b3e81=this['_compressMutationService']['interceptor'][_0x51046f(0x3c7)](this[_0x51046f(0x2d2)][_0x51046f(0x218)]['getInterceptPoints']()[_0x51046f(0x1a8)]);(_0x10485a=_0x4b3e81((_0x1caa12==null?void 0x0:_0x1caa12['mutations'])||[],null))==null||_0x10485a[_0x51046f(0x2f5)](_0x24a207=>this[_0x51046f(0x443)][_0x51046f(0x270)](_0x24a207['id'],_0x24a207[_0x51046f(0x344)])),(_0x4519fc=_0x4b3e81(_0x7242de||[],null))==null||_0x4519fc[_0x51046f(0x2f5)](_0x40eb8a=>this[_0x51046f(0x443)][_0x51046f(0x270)](_0x40eb8a['id'],_0x40eb8a['params']));}};st=Pt([$(0x3,_0x40a927(_0x10bc24)),$(0x4,_0x40a927(_0x318cb1)),$(0x5,_0x40a927(_0x504914)),$(0x6,_0x40a927(_0x65d3e9)),$(0x7,_0x40a927(ve)),$(0x8,_0x3aa953),$(0x9,_0x1c7d35),$(0xa,_0x40a596),$(0xb,_0x2fea40),$(0xc,_0x207d04(_t)),$(0xd,_0x207d04(J))],st);let It=class extends st{constructor(_0x4d4665,_0xbf74f8,_0x252f0b,_0x2ef7a5,_0x128b88,_0x36c8f8,_0x3cd566,_0x5e12fa,_0x259507,_0x51b730,_0x39b8dc,_0x5d240e,_0x365e45,_0x548564){var _0x7ada96=_0x1494d6;super(_0x4d4665,_0x252f0b,_0xbf74f8,_0x2ef7a5,_0x128b88,_0x36c8f8,_0x3cd566,_0x5e12fa,_0x259507,_0x51b730,_0x39b8dc,_0x5d240e,_0x365e45,_0x548564),D(this,_0x7ada96(0x27a),null),(this[_0x7ada96(0x430)]=_0x4d4665,this['type']=_0xbf74f8);}[_0x1494d6(0x237)](_0x3be562){this['_handlerCallback']=_0x3be562;}['dispose'](){var _0x56ac1f=_0x1494d6;this[_0x56ac1f(0x27a)]=null,super[_0x56ac1f(0x462)]();}[_0x1494d6(0x2e0)](){var _0x5e7ba6=_0x1494d6;const _0x196297=super['_createHandler']();return _0x196297[_0x5e7ba6(0x1db)]=_0x3193f4=>{var _0x298e3d=_0x5e7ba6,_0x57a655,_0x4d22a2;return(_0x4d22a2=(_0x57a655=this[_0x298e3d(0x27a)])==null?void 0x0:_0x57a655[_0x298e3d(0x1db)])==null?void 0x0:_0x4d22a2['call'](_0x57a655,_0x3193f4);},_0x196297[_0x5e7ba6(0x275)]=_0x35f13b=>{var _0x2cec02=_0x5e7ba6,_0x1ba91e,_0x2a4552;return(_0x2a4552=(_0x1ba91e=this[_0x2cec02(0x27a)])==null?void 0x0:_0x1ba91e[_0x2cec02(0x275)])==null?void 0x0:_0x2a4552['call'](_0x1ba91e,_0x35f13b);},_0x196297['onTransformSelections']=_0x426962=>{var _0x4f534a=_0x5e7ba6,_0x6d56a5,_0x48b651;return(_0x48b651=(_0x6d56a5=this[_0x4f534a(0x27a)])==null?void 0x0:_0x6d56a5['onTransformSelections'])==null?void 0x0:_0x48b651[_0x4f534a(0x40b)](_0x6d56a5,_0x426962);},_0x196297[_0x5e7ba6(0x37a)]=_0x18d8c2=>{var _0x5f3a71=_0x5e7ba6,_0x50d44f,_0x5732e7;return(_0x5732e7=(_0x50d44f=this[_0x5f3a71(0x27a)])==null?void 0x0:_0x50d44f[_0x5f3a71(0x37a)])==null?void 0x0:_0x5732e7['call'](_0x50d44f,_0x18d8c2);},_0x196297[_0x5e7ba6(0x27c)]=_0x124f0c=>{var _0x405c83=_0x5e7ba6,_0x22f783,_0x244283,_0x4b74ae;if(!((_0x22f783=this[_0x405c83(0x27a)])!=null&&_0x22f783['onTransformRemoteChangesetByIMECache']))throw new Error(_0x405c83(0x3d9));return(_0x4b74ae=(_0x244283=this[_0x405c83(0x27a)])==null?void 0x0:_0x244283[_0x405c83(0x27c)])==null?void 0x0:_0x4b74ae['call'](_0x244283,_0x124f0c);},_0x196297['onTransformRemoteChangesetByStateCache']=_0xb29e48=>{var _0xdb8fd2=_0x5e7ba6,_0xbc2744,_0x4354c5,_0x43e9a3;if(!((_0xbc2744=this['_handlerCallback'])!=null&&_0xbc2744[_0xdb8fd2(0x1d8)]))throw new Error(_0xdb8fd2(0x2f9));return(_0x43e9a3=(_0x4354c5=this[_0xdb8fd2(0x27a)])==null?void 0x0:_0x4354c5[_0xdb8fd2(0x1d8)])==null?void 0x0:_0x43e9a3[_0xdb8fd2(0x40b)](_0x4354c5,_0xb29e48);},_0x196297;}async[_0x1494d6(0x39a)](){var _0x3a543a=_0x1494d6;const _0x122a36=await super['_init']();return this[_0x3a543a(0x32e)](this[_0x3a543a(0x443)][_0x3a543a(0x208)]((_0x2f354b,_0x2da2f7)=>{var _0x154482=_0x3a543a;if(_0x2f354b[_0x154482(0x33a)]!==_0x2950ef[_0x154482(0x3a2)]||_0x2da2f7!=null&&_0x2da2f7[_0x154482(0x3d1)]||_0x2da2f7!=null&&_0x2da2f7[_0x154482(0x458)]||_0x2f354b['id']===_0x3c3e36['id'])return;const _0x15321d=_0x2f354b[_0x154482(0x344)];if((_0x15321d==null?void 0x0:_0x15321d['unitId'])!==this[_0x154482(0x430)])return;const _0x4405a8=_0x2f354b,_0x3b5dfd=this[_0x154482(0x2d2)][_0x154482(0x218)][_0x154482(0x3c7)](this[_0x154482(0x2d2)][_0x154482(0x218)][_0x154482(0x37b)]()[_0x154482(0x263)])([_0x4405a8],this[_0x154482(0x45e)])||[_0x4405a8];this[_0x154482(0x282)](_0x3b5dfd[0x0]);})),_0x122a36;}};It=Pt([$(0x3,_0x40a927(_0x10bc24)),$(0x4,_0x40a927(_0x318cb1)),$(0x5,_0x40a927(_0x504914)),$(0x6,_0x40a927(_0x65d3e9)),$(0x7,_0x40a927(ve)),$(0x8,_0x3aa953),$(0x9,_0x1c7d35),$(0xa,_0x40a596),$(0xb,_0x2fea40),$(0xc,_0x207d04(_t)),$(0xd,_0x207d04(J))],It);let St=class extends st{constructor(_0xb07e2e,_0x151eb9,_0x333c6e,_0x109c01,_0x50cc61,_0xdab82,_0x2ef0fb,_0x440f8d,_0x1dc611,_0x473219,_0x266354,_0xbfb6bf,_0x5883d5,_0x4441dc,_0xa6ee2a){var _0x2fbb15=_0x1494d6;super(_0xb07e2e,_0x333c6e,_0x151eb9,_0x109c01,_0x50cc61,_0xdab82,_0x2ef0fb,_0x1dc611,_0x473219,_0x266354,_0xbfb6bf,_0x5883d5,_0x4441dc,_0xa6ee2a),this[_0x2fbb15(0x430)]=_0xb07e2e,this[_0x2fbb15(0x33a)]=_0x151eb9,this[_0x2fbb15(0x1d7)]=_0x440f8d;}[_0x1494d6(0x2e0)](){var _0x4bf1f4=_0x1494d6;const _0x1b23f2=super[_0x4bf1f4(0x2e0)]();return _0x1b23f2[_0x4bf1f4(0x203)]=_0x47ffba=>this[_0x4bf1f4(0x1d7)][_0x4bf1f4(0x2b4)](_0x47ffba),_0x1b23f2;}async['_init'](){var _0x3e9938=_0x1494d6;const _0x1ac837=await super[_0x3e9938(0x39a)]();return this[_0x3e9938(0x32e)](this[_0x3e9938(0x443)][_0x3e9938(0x208)]((_0x46879f,_0x449f55)=>{var _0xc4437f=_0x3e9938;if(_0x46879f[_0xc4437f(0x33a)]!==_0x2950ef[_0xc4437f(0x3a2)]||_0x449f55!=null&&_0x449f55['fromCollab']||_0x449f55!=null&&_0x449f55[_0xc4437f(0x458)])return;const _0x4dc7b4=_0x46879f[_0xc4437f(0x344)];if((_0x4dc7b4==null?void 0x0:_0x4dc7b4['unitId'])!==this[_0xc4437f(0x430)])return;const _0x1e9443=_0x46879f,_0x5f54c0=this[_0xc4437f(0x2d2)][_0xc4437f(0x218)][_0xc4437f(0x3c7)](this[_0xc4437f(0x2d2)]['interceptor'][_0xc4437f(0x37b)]()[_0xc4437f(0x263)])([_0x1e9443],this[_0xc4437f(0x45e)])||[_0x1e9443];this[_0xc4437f(0x282)](_0x5f54c0[0x0]);})),_0x1ac837;}};St=Pt([$(0x3,_0x40a927(_0x10bc24)),$(0x4,_0x40a927(_0x318cb1)),$(0x5,_0x40a927(_0x504914)),$(0x6,_0x40a927(_0x65d3e9)),$(0x7,_0x40a927(it)),$(0x8,_0x40a927(ve)),$(0x9,_0x3aa953),$(0xa,_0x1c7d35),$(0xb,_0x40a596),$(0xc,_0x2fea40),$(0xd,_0x207d04(_t)),$(0xe,_0x207d04(J))],St);const js=_0x200585('univer-pro.collaboration-client.network-condition.service');function Fs(_0x59a18b){var _0x1929c0=_0x1494d6,_0x2a9586,_0x2fec67,_0x2e0319,_0xebbf41,_0x3b0653;const _0x308b89=_0x59a18b['data'],_0x36da0e=JSON[_0x1929c0(0x2ed)](_0x308b89);switch(_0x36da0e[_0x1929c0(0x19b)]){case F['HEARTBEAT']:case F[_0x1929c0(0x22a)]:{const _0x59e070=_0x36da0e[_0x1929c0(0x2ba)];return{..._0x36da0e,'data':_0x59e070,'cmd':_0x36da0e[_0x1929c0(0x19b)]};}case F[_0x1929c0(0x204)]:{const _0x2e92ea=_0x36da0e[_0x1929c0(0x357)];return{..._0x36da0e,'data':_0x2e92ea,'cmd':_0x36da0e[_0x1929c0(0x19b)]};}case F['RECV']:{const _0x5b233d=_0x36da0e[_0x1929c0(0x44f)];switch(_0x5b233d[_0x1929c0(0x440)]){case _0x3719ba['PERMISSION_REJ']:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x2a9586=_0x5b233d['permissionRejEvent'])==null?void 0x0:_0x2a9586['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba['CHANGESET_ACK']:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x2fec67=_0x5b233d[_0x1929c0(0x315)])==null?void 0x0:_0x2fec67['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x3e8)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x2e0319=_0x5b233d['newCsEvent'])==null?void 0x0:_0x2e0319['cs']},'cmd':_0x36da0e['cmd']};case _0x3719ba['CHANGESET_REJ']:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0xebbf41=_0x5b233d['csRejEvent'])==null?void 0x0:_0xebbf41['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x1bd)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':(_0x3b0653=_0x5b233d['csShouldRetryEvent'])==null?void 0x0:_0x3b0653['cs']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x24f)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x27d)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x296)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x36e)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x32b)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['leaveEvent']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x39c)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x41e)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x37d)]:case _0x3719ba['LIVESHARE_OPERATION']:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['liveShareOperation']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x205)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x41e)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba[_0x1929c0(0x19f)]:return{..._0x36da0e,'data':_0x5b233d,'cmd':_0x36da0e['cmd']};case _0x3719ba[_0x1929c0(0x2a4)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x214)]},'cmd':_0x36da0e['cmd']};case _0x3719ba[_0x1929c0(0x190)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d[_0x1929c0(0x2ee)]},'cmd':_0x36da0e[_0x1929c0(0x19b)]};case _0x3719ba['SHOULD_CLOSE_CONN']:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['shouldCloseConn']},'cmd':_0x36da0e['cmd']};case _0x3719ba[_0x1929c0(0x2bc)]:return{..._0x36da0e,'data':{..._0x5b233d,'data':_0x5b233d['uniscriptRunEvent']},'cmd':_0x36da0e[_0x1929c0(0x19b)]};default:return _0x36da0e;}}default:return _0x36da0e;}}function Vs(_0x12f169){var _0x2abedf=_0x1494d6;switch(_0x12f169[_0x2abedf(0x19b)]){case F[_0x2abedf(0x326)]:case F[_0x2abedf(0x22a)]:return JSON[_0x2abedf(0x25a)]({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169['routeKey']});case F[_0x2abedf(0x417)]:{let _0x55cf9b;switch(_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x440)]){case _0x3719ba[_0x2abedf(0x24f)]:{_0x55cf9b={'eventID':_0x3719ba['UPDATE_CURSOR'],'updateCursorEvent':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x32b)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x32b)],'leaveEvent':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x296)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x296)],'joinEvent':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x39c)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x39c)],'liveShareNewHost':_0x12f169['data'][_0x2abedf(0x40d)]};break;}case _0x3719ba['LIVESHARE_OPERATION']:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x3ad)],'liveShareOperation':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba['LIVESHARE_TERMINATE']:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x205)],'liveShareTerminate':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba[_0x2abedf(0x3e6)]:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x3e6)],'liveShareRequestHost':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x40d)]};break;}case _0x3719ba['LIVESHARE_FETCH_OPERATIONS']:{_0x55cf9b={'eventID':_0x3719ba[_0x2abedf(0x37d)]};break;}default:_0x55cf9b={'eventID':_0x12f169[_0x2abedf(0x40d)][_0x2abedf(0x440)]};}return JSON[_0x2abedf(0x25a)]({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169[_0x2abedf(0x323)],'collaMsg':_0x55cf9b});}case F[_0x2abedf(0x204)]:return JSON[_0x2abedf(0x25a)]({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169[_0x2abedf(0x323)],'joinReq':_0x12f169[_0x2abedf(0x40d)]});case F[_0x2abedf(0x34a)]:return JSON['stringify']({'cmd':_0x12f169[_0x2abedf(0x19b)],'routeKey':_0x12f169[_0x2abedf(0x323)],'leaveReq':_0x12f169[_0x2abedf(0x40d)]});default:throw new Error(_0x2abedf(0x2b0));}}var Gs=Object[_0x1494d6(0x3e7)],Ws=(_0x58face,_0x2e6d6a,_0x4f3373,_0x3b0626)=>{for(var _0x51bb4c=_0x3b0626>0x1?void 0x0:_0x3b0626?Gs(_0x2e6d6a,_0x4f3373):_0x2e6d6a,_0x3c0e9a=_0x58face['length']-0x1,_0x5d1b0c;_0x3c0e9a>=0x0;_0x3c0e9a--)(_0x5d1b0c=_0x58face[_0x3c0e9a])&&(_0x51bb4c=_0x5d1b0c(_0x51bb4c)||_0x51bb4c);return _0x51bb4c;},ye=(_0xaf63a1,_0x43e78f)=>(_0x246a9a,_0x9b1ab6)=>_0x43e78f(_0x246a9a,_0x9b1ab6,_0xaf63a1);const Oi=_0x200585(_0x1494d6(0x43f));function Ys(_0x2d154b,_0x4b09d0,_0x1dba2e){var _0x3afced=_0x1494d6;return _0x2d154b+'/'+_0x4b09d0+_0x3afced(0x210)+_0x1dba2e+_0x3afced(0x1fb);}let Wt=class extends _0x1d2b58{constructor(_0x31dbe0,_0x175ef5,_0x2e0ae3,_0xb67420,_0x17743c){var _0x48bdbd=_0x1494d6;super(),this[_0x48bdbd(0x380)]=_0x31dbe0,this['_httpService']=_0x175ef5,this[_0x48bdbd(0x2c3)]=_0x2e0ae3,this[_0x48bdbd(0x29c)]=_0xb67420,this['_snapshotServerService']=_0x17743c;}['_doCreateSocket'](_0x2de29b){var _0x5dadca=_0x1494d6;const _0x3be8e5=this[_0x5dadca(0x380)][_0x5dadca(0x292)](_0x3cd2eb);if(!_0x3be8e5)throw new Error(_0x5dadca(0x285));const _0x101f8b=_0x3be8e5[_0x5dadca(0x1da)](_0x2de29b);if(!_0x101f8b)throw new Error(_0x5dadca(0x3bf));const _0x5e9c9d=new _0x153b55(),_0x1dcd24=new _0x6f301c();_0x5e9c9d[_0x5dadca(0x43b)](_0x101f8b['close$']['subscribe'](_0x3fea41=>_0x1dcd24[_0x5dadca(0x1a6)](_0x3fea41))),_0x5e9c9d[_0x5dadca(0x43b)](_0x4a0717(()=>_0x1dcd24[_0x5dadca(0x416)]()));const _0x5b069a=new _0x6f301c();_0x5e9c9d['add'](_0x101f8b[_0x5dadca(0x474)][_0x5dadca(0x3c6)](_0x4a8a92=>_0x5b069a[_0x5dadca(0x1a6)](_0x4a8a92))),_0x5e9c9d['add'](_0x4a0717(()=>_0x5b069a[_0x5dadca(0x416)]()));const _0x13c05d=new _0x6f301c();_0x5e9c9d[_0x5dadca(0x43b)](_0x101f8b[_0x5dadca(0x2fa)][_0x5dadca(0x3c6)](_0x3ae2bc=>{const _0x1bbb4b=Fs(_0x3ae2bc);_0x13c05d['next'](_0x1bbb4b);})),_0x5e9c9d['add'](_0x4a0717(()=>_0x13c05d[_0x5dadca(0x416)]()));let _0x19b661;const _0x5e09cf=()=>{var _0x48b11c=_0x5dadca;_0x5b069a[_0x48b11c(0x1a6)](new Event('connection\x20error')),_0x1dcd24[_0x48b11c(0x1a6)](new Event(_0x48b11c(0x2dc))),_0x19b661[_0x48b11c(0x1aa)]();};return _0x19b661={'memberID':'','close$':_0x1dcd24[_0x5dadca(0x311)](),'error$':_0x5b069a[_0x5dadca(0x311)](),'open$':_0x101f8b[_0x5dadca(0x1fa)],'message$':_0x13c05d[_0x5dadca(0x311)](),'send':_0x38a84c=>{var _0x3789ce=_0x5dadca;if(_0x38a84c[_0x3789ce(0x19b)]===F[_0x3789ce(0x417)]){if(_0x38a84c['data'][_0x3789ce(0x440)]===_0x3719ba[_0x3789ce(0x420)]){this['_submitChangeset'](_0x19b661,_0x38a84c[_0x3789ce(0x40d)])[_0x3789ce(0x293)](_0x429174=>{this['_logService']['error'](_0x429174),_0x5e09cf();});return;}if(_0x38a84c[_0x3789ce(0x40d)]['eventID']===_0x3719ba[_0x3789ce(0x2ec)]){const _0x25ee18=_0x38a84c[_0x3789ce(0x40d)];this[_0x3789ce(0x375)](_0x25ee18)[_0x3789ce(0x353)](_0xb1ca16=>{var _0x1cdc92=_0x3789ce;_0x13c05d[_0x1cdc92(0x1a6)]({'cmd':F[_0x1cdc92(0x34d)],'code':pe['OK'],'routeKey':_0x25ee18[_0x1cdc92(0x40d)][_0x1cdc92(0x430)],'routeType':'','data':{'eventID':_0x3719ba[_0x1cdc92(0x259)],'data':{'changesets':_0xb1ca16}}});})[_0x3789ce(0x293)](_0x4c9f2f=>{var _0x48faa4=_0x3789ce;this[_0x48faa4(0x29c)]['error'](_0x4c9f2f),_0x5e09cf();});return;}}_0x101f8b[_0x3789ce(0x3d4)](Vs(_0x38a84c));},'close':()=>{var _0x1324a=_0x5dadca;_0x101f8b[_0x1324a(0x1aa)](),_0x5e9c9d[_0x1324a(0x462)]();}},_0x19b661;}async[_0x1494d6(0x224)](_0x278f60,_0x12f929){var _0x21fc11=_0x1494d6,_0x3c88fc;const {unitType:_0x106a3d,unitID:_0x3b7b75,changeset:_0x244dd2}=_0x12f929[_0x21fc11(0x40d)],_0x39c188={'unitID':_0x3b7b75,'memberID':_0x278f60[_0x21fc11(0x1ff)],'type':_0x106a3d,'changeset':_0x48039d(_0x244dd2)},_0x374f42=this[_0x21fc11(0x2c3)][_0x21fc11(0x1f3)](K),_0x854194=Ys((_0x3c88fc=_0x374f42==null?void 0x0:_0x374f42[_0x21fc11(0x3fe)])!=null?_0x3c88fc:Os,_0x106a3d,_0x3b7b75);try{await this[_0x21fc11(0x175)][_0x21fc11(0x3ce)](_0x854194,{'body':_0x39c188});}catch(_0x120533){throw this[_0x21fc11(0x29c)][_0x21fc11(0x2ce)](_0x21fc11(0x467),'submit\x20changeset\x20error!'),_0x120533;}}async['_fetchMissChangesets'](_0x56648b){var _0x302770=_0x1494d6;const {unitID:_0x5dfb92,from:_0x2b66e8,to:_0x4ade69,unitType:_0x61315c}=_0x56648b['data'];return(await this[_0x302770(0x345)][_0x302770(0x39d)]({'metadata':void 0x0},{'unitID':_0x5dfb92,'type':_0x61315c,'from':_0x2b66e8,'to':_0x4ade69}))[_0x302770(0x39e)];}};Wt=Ws([ye(0x0,_0x40a927(_0x10bc24)),ye(0x1,_0x40a927(_0x21f421)),ye(0x2,_0x5c8b82),ye(0x3,_0x1c7d35),ye(0x4,_0x23a044)],Wt);var Ks=Object[_0x1494d6(0x3e7)],qs=(_0x428ffe,_0x6833f9,_0x150cc4,_0x436058)=>{var _0x1e9bd0=_0x1494d6;for(var _0xcdc5d6=_0x436058>0x1?void 0x0:_0x436058?Ks(_0x6833f9,_0x150cc4):_0x6833f9,_0x3dd6d8=_0x428ffe[_0x1e9bd0(0x1c0)]-0x1,_0x14a556;_0x3dd6d8>=0x0;_0x3dd6d8--)(_0x14a556=_0x428ffe[_0x3dd6d8])&&(_0xcdc5d6=_0x14a556(_0xcdc5d6)||_0xcdc5d6);return _0xcdc5d6;},Re=(_0x4d294e,_0x5a8222)=>(_0x2c7dd5,_0x513de3)=>_0x5a8222(_0x2c7dd5,_0x513de3,_0x4d294e);let we=class extends _0x1d2b58{constructor(_0xed2599,_0x5bd0ad,_0x1f53b0,_0x38e136,_0x5c5e45,_0x4fcf87){var _0x286ca2=_0x1494d6;super(),D(this,_0x286ca2(0x31f),new _0x9f1b26(void 0x0)),D(this,_0x286ca2(0x1e2),this[_0x286ca2(0x31f)][_0x286ca2(0x311)]()),D(this,_0x286ca2(0x3ef),null),D(this,_0x286ca2(0x3d2),new Map()),D(this,_0x286ca2(0x3f6),new _0x9f1b26(me['IDLE'])),D(this,_0x286ca2(0x333),this['_status$'][_0x286ca2(0x311)]()),D(this,_0x286ca2(0x34b),!0x1),D(this,_0x286ca2(0x403)),D(this,_0x286ca2(0x2bb),0x0),D(this,'_sendHeartbeatTimer'),D(this,'_timeoutTimer'),(this[_0x286ca2(0x380)]=_0xed2599,this[_0x286ca2(0x29c)]=_0x5bd0ad,this[_0x286ca2(0x2c3)]=_0x1f53b0,this['_socketService']=_0x38e136,this[_0x286ca2(0x177)]=_0x5c5e45,this[_0x286ca2(0x17c)]=_0x4fcf87,this[_0x286ca2(0x3e2)]());}get[_0x1494d6(0x439)](){var _0x49bcc7=_0x1494d6;return this[_0x49bcc7(0x31f)][_0x49bcc7(0x478)]();}[_0x1494d6(0x3e2)](){var _0x6a6b82=_0x1494d6;this[_0x6a6b82(0x17c)]&&this[_0x6a6b82(0x32e)](this[_0x6a6b82(0x17c)][_0x6a6b82(0x3ab)][_0x6a6b82(0x3c6)](_0x20390c=>{var _0x4b222a=_0x6a6b82;_0x20390c&&!this['_socket']&&this[_0x4b222a(0x1e1)](),_0x20390c||this[_0x4b222a(0x17e)]();}));}[_0x1494d6(0x462)](){var _0xe029af=_0x1494d6;super['dispose'](),this[_0xe029af(0x342)](),this[_0xe029af(0x271)](),this['_clearHeartbeatTimer'](),this[_0xe029af(0x3d2)][_0xe029af(0x2f5)](_0x640f1d=>_0x640f1d[_0xe029af(0x462)]()),this[_0xe029af(0x3d2)][_0xe029af(0x373)](),this[_0xe029af(0x3f6)]['complete']();}async['requireSession'](_0x57a23b){var _0x507a2e=_0x1494d6;if(this[_0x507a2e(0x3d2)][_0x507a2e(0x283)](_0x57a23b))return this['_sessions'][_0x507a2e(0x292)](_0x57a23b);this[_0x507a2e(0x30c)]();const _0x251fc0=this[_0x507a2e(0x380)][_0x507a2e(0x390)](mt,_0x57a23b,this['_socket$'][_0x507a2e(0x311)]());return this['_sessions'][_0x507a2e(0x2d7)](_0x57a23b,_0x251fc0),_0x251fc0;}[_0x1494d6(0x277)](_0x41c1b7){var _0x4dc416=_0x1494d6,_0x54a595;const _0x6307c2=this[_0x4dc416(0x3d2)][_0x4dc416(0x292)](_0x41c1b7);_0x6307c2&&(this[_0x4dc416(0x3d2)]['delete'](_0x41c1b7),_0x6307c2[_0x4dc416(0x1aa)]()),this['_sessions'][_0x4dc416(0x471)]||(_0x54a595=this['_socket'])==null||_0x54a595[_0x4dc416(0x1aa)]();}[_0x1494d6(0x1e1)](){var _0x6eb3f2=_0x1494d6;this['_retryCount']=0x0,this[_0x6eb3f2(0x342)](),this['_tryReconnect']();}[_0x1494d6(0x342)](){var _0x4810df=_0x1494d6;this[_0x4810df(0x403)]!=null&&(clearTimeout(this[_0x4810df(0x403)]),this[_0x4810df(0x403)]=null);}async[_0x1494d6(0x294)](){var _0x3b265f=_0x1494d6,_0x40f0a8;const _0x46d134=this[_0x3b265f(0x2c3)]['getConfig'](K),_0x41d0d9=(_0x40f0a8=_0x46d134==null?void 0x0:_0x46d134[_0x3b265f(0x44a)])!=null?_0x40f0a8:Es,_0xb9143a=await this[_0x3b265f(0x3d3)][_0x3b265f(0x1da)](_0x41d0d9);return this[_0x3b265f(0x3ef)]=_0xb9143a,_0xb9143a;}async[_0x1494d6(0x30c)](){var _0x2f3aa5=_0x1494d6,_0x754d99,_0x35ab1f;try{const _0x53f510=(_0x35ab1f=(_0x754d99=this[_0x2f3aa5(0x439)])!=null?_0x754d99:this['_candidateSocket'])!=null?_0x35ab1f:await this[_0x2f3aa5(0x294)]();if(_0x53f510){const _0x2510b6=_0x53f510[_0x2f3aa5(0x3d4)];_0x53f510[_0x2f3aa5(0x3d4)]=_0x1ab755=>(this['_rescheduleHeartbeat'](),_0x2510b6[_0x2f3aa5(0x1e7)](_0x53f510,[_0x1ab755])),_0x53f510['message$'][_0x2f3aa5(0x3c6)](_0x30793b=>this['_onMessage'](_0x53f510,_0x30793b)),_0x53f510[_0x2f3aa5(0x474)][_0x2f3aa5(0x354)](_0x2d565f(0x1))['subscribe'](_0x28fcfa=>this[_0x2f3aa5(0x29c)][_0x2f3aa5(0x2ce)]('[CollaborationSessionService]:\x20socket\x20error',_0x28fcfa)),_0x53f510[_0x2f3aa5(0x1fa)][_0x2f3aa5(0x354)](_0x2d565f(0x1))[_0x2f3aa5(0x3c6)](()=>{var _0xbe1d07=_0x2f3aa5;this[_0xbe1d07(0x2d3)](_0x53f510);}),_0x53f510[_0x2f3aa5(0x1f2)][_0x2f3aa5(0x354)](_0x2d565f(0x1))[_0x2f3aa5(0x3c6)](_0x3fc757=>{var _0x16cac2=_0x2f3aa5;this[_0x16cac2(0x29c)][_0x16cac2(0x1cf)]('[CollaborationSessionService]','socket\x20close',_0x3fc757),this[_0x16cac2(0x395)]();});}}catch(_0x5b5616){this[_0x2f3aa5(0x29c)][_0x2f3aa5(0x2ce)](_0x5b5616),this[_0x2f3aa5(0x395)]();}}[_0x1494d6(0x2d3)](_0x37e734){var _0x27530a=_0x1494d6;this[_0x27530a(0x29c)]['debug']('[CollaborationSessionService]',_0x27530a(0x17f)),_0x37e734['send']({'cmd':F['HELLO']}),this[_0x27530a(0x358)]();}[_0x1494d6(0x17e)](){var _0x3458d1=_0x1494d6;this[_0x3458d1(0x34b)]=!0x1,this[_0x3458d1(0x3ef)]=null,this[_0x3458d1(0x3f6)][_0x3458d1(0x1a6)](me['OFFLINE']),this[_0x3458d1(0x31f)][_0x3458d1(0x1a6)](null),this[_0x3458d1(0x271)](),this['_clearHeartbeatTimer']();}[_0x1494d6(0x395)](){var _0x6da49e=_0x1494d6,_0x179221;this[_0x6da49e(0x17e)](),this[_0x6da49e(0x2bb)]<((_0x179221=this[_0x6da49e(0x2c3)][_0x6da49e(0x1f3)](gs))!=null?_0x179221:Ts)?(this[_0x6da49e(0x177)][_0x6da49e(0x21b)]({'id':re[_0x6da49e(0x255)]}),this['_tryReconnect']()):this[_0x6da49e(0x177)][_0x6da49e(0x21b)]({'id':re[_0x6da49e(0x22b)]});}[_0x1494d6(0x33f)](){var _0x5d4ff0=_0x1494d6,_0x17a677;const _0x2d8023=this[_0x5d4ff0(0x2bb)],_0x1647f7=this[_0x5d4ff0(0x2c3)][_0x5d4ff0(0x1f3)](K),_0x1e9597=_0x2d8023===0x0?0x0:((_0x17a677=_0x1647f7==null?void 0x0:_0x1647f7['retryConnectingInterval'])!=null?_0x17a677:Ss)*0x2**_0x2d8023;this['_retryConnectingTimer']=setTimeout(()=>{var _0x27ab1e=_0x5d4ff0;clearTimeout(this[_0x27ab1e(0x403)]),this[_0x27ab1e(0x403)]=null,this[_0x27ab1e(0x30c)]();},_0x1e9597),this[_0x5d4ff0(0x2bb)]+=0x1;}[_0x1494d6(0x29f)](_0x4499fc,_0x48911a){var _0xc9a56c=_0x1494d6;const {cmd:_0x1ed2a3}=_0x48911a;_0x1ed2a3===F['HELLO']&&!this[_0xc9a56c(0x34b)]&&(_0x4499fc[_0xc9a56c(0x1ff)]=_0x48911a[_0xc9a56c(0x40d)][_0xc9a56c(0x1ff)],this[_0xc9a56c(0x31f)]['next'](_0x4499fc),this[_0xc9a56c(0x3f6)][_0xc9a56c(0x1a6)](me[_0xc9a56c(0x18d)]),this[_0xc9a56c(0x34b)]=!0x0,this[_0xc9a56c(0x3ef)]=null),_0x1ed2a3===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0xc9a56c(0x358)]();}[_0x1494d6(0x358)](){var _0x2ec044=_0x1494d6,_0x8db5ee;this[_0x2ec044(0x419)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x2ec044(0x2d5)](),(_0x8db5ee=this[_0x2ec044(0x2c3)]['getConfig'](ms))!=null?_0x8db5ee:Is);}[_0x1494d6(0x2d5)](){var _0x2ba870=_0x1494d6;this[_0x2ba870(0x439)][_0x2ba870(0x3d4)]({'cmd':F[_0x2ba870(0x326)]}),this[_0x2ba870(0x221)]();}[_0x1494d6(0x221)](){var _0x5d8705=_0x1494d6,_0x5ebef1;this[_0x5d8705(0x21f)]=setTimeout(()=>this[_0x5d8705(0x395)](),(_0x5ebef1=this[_0x5d8705(0x2c3)][_0x5d8705(0x1f3)](di))!=null?_0x5ebef1:fi);}[_0x1494d6(0x419)](){var _0x51a61c=_0x1494d6;this[_0x51a61c(0x36d)]!=null&&(clearTimeout(this[_0x51a61c(0x36d)]),this['_sendHeartbeatTimer']=null);}[_0x1494d6(0x271)](){var _0x1ab4e8=_0x1494d6;this[_0x1ab4e8(0x21f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1ab4e8(0x21f)]=null);}};we=qs([Re(0x0,_0x40a927(_0x10bc24)),Re(0x1,_0x1c7d35),Re(0x2,_0x5c8b82),Re(0x3,Oi),Re(0x4,_0x40a927(ve)),Re(0x5,_0x207d04(js))],we);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x187dd0,_0x346c89,_0x54b113,_0x406386)=>{for(var _0x1510cc=_0x406386>0x1?void 0x0:_0x406386?zs(_0x346c89,_0x54b113):_0x346c89,_0x5ac2e7=_0x187dd0['length']-0x1,_0x57d201;_0x5ac2e7>=0x0;_0x5ac2e7--)(_0x57d201=_0x187dd0[_0x5ac2e7])&&(_0x1510cc=_0x57d201(_0x1510cc)||_0x1510cc);return _0x1510cc;},Be=(_0x1b9283,_0x543f60)=>(_0x3a7a30,_0x2d5f52)=>_0x543f60(_0x3a7a30,_0x2d5f52,_0x1b9283);let nt=class extends _0x2e5652{constructor(_0x564a76,_0x23573c,_0xb1684b,_0x2706e4){var _0xabcdd=_0x1494d6,_0x508394;super(),D(this,_0xabcdd(0x184),new Map()),D(this,'_entityInit$',new _0x6f301c()),D(this,_0xabcdd(0x298),this[_0xabcdd(0x32f)]['asObservable']()),(this['_injector']=_0x564a76,this[_0xabcdd(0x2da)]=_0x23573c,this[_0xabcdd(0x2c3)]=_0xb1684b,this['_univerInstanceService']=_0x2706e4,((_0x508394=this[_0xabcdd(0x2c3)][_0xabcdd(0x1f3)](K))==null?void 0x0:_0x508394['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x55301b=_0x1494d6;super['dispose'](),this[_0x55301b(0x184)]['forEach'](_0x2f50a5=>_0x2f50a5['dispose']()),this[_0x55301b(0x184)][_0x55301b(0x373)]();}[_0x1494d6(0x2ea)](_0x142543){var _0x4b46ce=_0x1494d6,_0x197e32;return(_0x197e32=this[_0x4b46ce(0x184)][_0x4b46ce(0x292)](_0x142543))!=null?_0x197e32:null;}[_0x1494d6(0x297)](_0x59d0f9){var _0x32b6d5=_0x1494d6;const _0x13a14a=this[_0x32b6d5(0x2ea)](_0x59d0f9);return _0x13a14a?_0x511935(_0x13a14a):this[_0x32b6d5(0x32f)]['pipe'](_0x54e0eb(_0x1fbffc=>_0x1fbffc[_0x32b6d5(0x430)]===_0x59d0f9));}[_0x1494d6(0x249)](_0x2f8527){var _0x52e9c1=_0x1494d6;return _0x31a2c6(this[_0x52e9c1(0x297)](_0x2f8527)[_0x52e9c1(0x354)](_0xf67729(()=>{})));}[_0x1494d6(0x39a)](){var _0x47f819=_0x1494d6;this[_0x47f819(0x45e)]['getTypeOfUnitAdded$'](_0x2a0d2a[_0x47f819(0x334)])[_0x47f819(0x354)](_0x1b5caf(this[_0x47f819(0x2f3)]),_0xebd4b2(0x10))[_0x47f819(0x3c6)](async _0x227284=>{var _0x398e11=_0x47f819;const _0x45b4c5=_0x227284[_0x398e11(0x47e)](),_0xab53ed=await this['_startCollaboration'](_0x45b4c5,Q[_0x398e11(0x334)]);this['_entities'][_0x398e11(0x2d7)](_0x45b4c5,_0xab53ed);}),this[_0x47f819(0x45e)][_0x47f819(0x40e)](_0x2a0d2a[_0x47f819(0x32a)])[_0x47f819(0x354)](_0x1b5caf(this[_0x47f819(0x2f3)]),_0xebd4b2(0x10))['pipe'](_0x54e0eb(_0x29d0be=>!_0x29d0be[_0x47f819(0x47e)]()['startsWith']('__')))[_0x47f819(0x3c6)](async _0x4c068f=>{var _0x27b89b=_0x47f819;const _0x3c75eb=_0x4c068f[_0x27b89b(0x47e)](),_0x30afb7=await this['_startCollaboration'](_0x3c75eb,Q[_0x27b89b(0x32a)]);this['_entities'][_0x27b89b(0x2d7)](_0x3c75eb,_0x30afb7);}),_0x285c6f(this[_0x47f819(0x45e)][_0x47f819(0x223)](_0x2a0d2a[_0x47f819(0x334)]),this['_univerInstanceService'][_0x47f819(0x223)](_0x2a0d2a[_0x47f819(0x32a)]))[_0x47f819(0x354)](_0x1b5caf(this[_0x47f819(0x2f3)]))[_0x47f819(0x3c6)](_0x481443=>{var _0x297012=_0x47f819;const _0x5e8dbe=_0x481443[_0x297012(0x47e)](),_0x2c8bdf=this['_entities'][_0x297012(0x292)](_0x5e8dbe);_0x2c8bdf&&(_0x2c8bdf[_0x297012(0x462)](),this[_0x297012(0x184)][_0x297012(0x452)](_0x5e8dbe));});}async['_startCollaboration'](_0x5304e4,_0x45a1c0){var _0x4d33d4=_0x1494d6;const _0x293d6d=await this[_0x4d33d4(0x2da)][_0x4d33d4(0x46a)](_0x5304e4),_0x558f1c=this[_0x4d33d4(0x380)][_0x4d33d4(0x390)](this[_0x4d33d4(0x33e)](_0x45a1c0),_0x5304e4,_0x45a1c0,_0x293d6d);return await _0x558f1c[_0x4d33d4(0x287)](),this[_0x4d33d4(0x32f)][_0x4d33d4(0x1a6)](_0x558f1c),_0x558f1c;}[_0x1494d6(0x33e)](_0x5a63fc){var _0x29e5cf=_0x1494d6;switch(_0x5a63fc){case Q[_0x29e5cf(0x32a)]:return It;case Q[_0x29e5cf(0x334)]:return St;default:throw new Error(_0x29e5cf(0x1f5)+_0x5a63fc);}}};nt=Js([Be(0x0,_0x40a927(_0x10bc24)),Be(0x1,_0x40a927(we)),Be(0x2,_0x5c8b82),Be(0x3,_0x3aa953)],nt);var Xs=Object[_0x1494d6(0x3e7)],Zs=(_0x39dff0,_0x35f443,_0x5ae946,_0x2ced13)=>{var _0x3f7384=_0x1494d6;for(var _0x2de342=_0x2ced13>0x1?void 0x0:_0x2ced13?Xs(_0x35f443,_0x5ae946):_0x35f443,_0x7a7ae5=_0x39dff0[_0x3f7384(0x1c0)]-0x1,_0x1b013d;_0x7a7ae5>=0x0;_0x7a7ae5--)(_0x1b013d=_0x39dff0[_0x7a7ae5])&&(_0x2de342=_0x1b013d(_0x2de342)||_0x2de342);return _0x2de342;},Yt=(_0x55798f,_0x27fbaa)=>(_0xcbd053,_0x4abd50)=>_0x27fbaa(_0xcbd053,_0x4abd50,_0x55798f);const Qs=_0x1494d6(0x232),en='Univer';let gt=class extends _0x1d2b58{constructor(_0x311d08,_0x3a4b0e){var _0x4bd346=_0x1494d6;super(),this[_0x4bd346(0x45e)]=_0x311d08,this[_0x4bd346(0x2c3)]=_0x3a4b0e,this[_0x4bd346(0x39a)]();}['_init'](){var _0x25d51c=_0x1494d6;this['disposeWithMe'](this['_univerInstanceService'][_0x25d51c(0x2c1)]['subscribe'](()=>{var _0x30f106=_0x25d51c,_0x461104;const _0x35f21e=this['_univerInstanceService'][_0x30f106(0x3f4)]();let _0x2689c9=(_0x461104=this[_0x30f106(0x2c3)][_0x30f106(0x1f3)](Qs))!=null?_0x461104:en;_0x35f21e instanceof _0xf72f57&&(_0x2689c9=_0x35f21e[_0x30f106(0x431)]),document[_0x30f106(0x3b6)]=_0x2689c9;}));}};gt=Zs([Yt(0x0,_0x3aa953),Yt(0x1,_0x5c8b82)],gt);var tn=Object[_0x1494d6(0x3e7)],sn=(_0x57cc57,_0x165856,_0x59a620,_0x4f5117)=>{var _0x5e2034=_0x1494d6;for(var _0x390420=_0x4f5117>0x1?void 0x0:_0x4f5117?tn(_0x165856,_0x59a620):_0x165856,_0x2f29c8=_0x57cc57[_0x5e2034(0x1c0)]-0x1,_0x3d6fb3;_0x2f29c8>=0x0;_0x2f29c8--)(_0x3d6fb3=_0x57cc57[_0x2f29c8])&&(_0x390420=_0x3d6fb3(_0x390420)||_0x390420);return _0x390420;},dt=(_0x5509a8,_0x304b39)=>(_0x321506,_0x5666ee)=>_0x304b39(_0x321506,_0x5666ee,_0x5509a8);let rt=class{constructor(_0x98b273,_0x34d82b,_0x2bf779){var _0x555f67=_0x1494d6;this[_0x555f67(0x2c3)]=_0x98b273,this[_0x555f67(0x175)]=_0x34d82b,this[_0x555f67(0x346)]=_0x2bf779,this[_0x555f67(0x287)]();}[_0x1494d6(0x287)](){var _0x26cf75=_0x1494d6;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4bb5b8,_0xca7d4d)=>_0xca7d4d(_0x4bb5b8)[_0x26cf75(0x354)](_0x30775d(async _0x183373=>{var _0x32b778=_0x26cf75;const _0x11da6b=_0x183373;if(_0x11da6b['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x32b778(0x2a0)](this[_0x32b778(0x346)]['t'](_0x32b778(0x427)))){const _0x4ebef7=window[_0x32b778(0x273)](window[_0x32b778(0x45b)]['href']);window['location']['href']=this[_0x32b778(0x1ca)]()+_0x32b778(0x284)+_0x4ebef7;}}return _0x11da6b;}))});}[_0x1494d6(0x1ca)](){var _0x4e50df=_0x1494d6,_0x164a8b;const _0x202edf=this[_0x4e50df(0x2c3)]['getConfig'](K);return(_0x164a8b=_0x202edf==null?void 0x0:_0x202edf['loginUrlKey'])!=null?_0x164a8b:Rs;}};rt=sn([dt(0x0,_0x5c8b82),dt(0x1,_0x40a927(_0x21f421)),dt(0x2,_0x40a927(_0x504914))],rt);function _0x1d67(){var _0x4255dc=['_sendHeartbeat','_clearScheduledTask','set','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','join','_collabSessionService','_revisionService','connection\x20error','_transformRemoteChangesetByStateCache','_onRecvEvent','_schedule','_createHandler','ERROR_IMAGE_TYPE','BASE64','_initMergeInterceptor','_minBufferSize','transformMutationsWithChangeset','AES','_imageSourceCache','Failed\x20to\x20update\x20permission\x20point','ALREADY_EXISTS','getCollabEntity','avatar','FETCH_MISSING','parse','updatePermissionObjEvent','_doProcessBlock','create','words','mutations','dispose$','_doCryptBlock','forEach','Cipher','5Vczdyh','_initRequestHeader','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','message$','NOT_COLLAB','UNIVER_PROJECT','APPLY_REJECT','_socketMessageSubscription','_onUserJoin','/universer-api/file/{fileID}/sign-url','MD5','/-/object/list','_substituteUndoStack','objects','fromCharCode','_transformStack','salt','_resendTimeout','sigBytes','onMissingChangesets','CURRENT_STATUS_CANNOT_OPERATE','_tryEnsureSocket','append','downloadEndpointUrl','_createHmacHelper','3238730IFozNv','asObservable','_telemetryInfo','BlockCipher','setCurrentUser','csAckEvent','slice','_clearRedo','range','awaitingChangeset','fetch_missing','CHANGESET_REVISION_CONFILICT','session.room-full','map','PERMISSION_DENIED','_socket$','session','removeMember','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','routeKey','snapshotServerUrl','_ENC_XFORM_MODE','HEARTBEAT','NoPadding','_getAPIPrefix','reject','UNIVER_DOC','USERS_LEAVE','_emitMembers','117MtnptV','disposeWithMe','_entityInit$','onCommentUpdate','saveSheetBlock','decrypt','status$','UNIVER_SHEET','_getSendChangesetTimeout','/fetchmissing?from=','change$','6tFtNud','_collaborationTimeoutTimer','type','getResourcesRequest','refreshPermission','textRanges','_getCtorByUniverType','_tryReconnect','objectActions','__creator','_clearRetryConnectingTimer','createEncryptor','params','_snapshotServerService','localeService','_telemetryService','awaiting_with_pending','HttpImport','LEAVE','_socketReady','blockSize','RECV','finalize','state$','LOGIN_TOKEN_PROCESSING_FAILED','getUnitType','selections','then','pipe','[UniverCollaborationClientPlugin]','_cipher','joinRsp','_rescheduleHeartbeat','push','sessionStatus$','sendChangesetTimeout','YUUMI_TABLE_NOT_FOUND_IN_UNIT','code','_nRounds','WordArray','3729523DlAxvr','IDLE','_onConflict','_initCloseConn','REDEMPTION_CODE_NOT_STARTED','_hasher','splice','/collaborator','OFFLINE','FAIL','_initDependencies','every','result','_sendHeartbeatTimer','joinEvent','_iv','POST','ws://127.0.0.1:8000/universer-api/comb/connect','_resendTimer','clear','_stopTelemetryCollaborationNewChangeset','_fetchMissChangesets','PERSON','UNKNOWN_CODE','saveSnapshot','conflict','onSyncEditingCollabCursor','getInterceptPoints','UNDEFINED','LIVESHARE_FETCH_OPERATIONS','sid','UNRECOGNIZED','_injector','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','updateMember','session.join-failed','JOIN_ROOM_NOT_EXISTS','resourceIDs','_sessionStatus$','Base','_commentService','prototype','crypto','UserProfileImg','_clearUndo','c1Prime','objectID','INVITE_CODE_REQUIRED','createInstance','clone','_iKey','REDEMPTION_CODE_INACTIVE','_members$','_onConnectionFailed','appendMutation','USER_IS_ANONYMOUS','_shouldReportTelemetry','349535LiJnFR','_init','&assign=','LIVESHARE_NEW_HOST','fetchMissingChangesets','changesets','toggleOffline','algo','_toggleOnline','MUTATION','_transformStateCache','_decreaseWaiting','onload','_getAPIPrefixPath','deepClone','getLatestCsReqIdBySid','_exhaustRemoteChangesetQueue','readAsDataURL','online$','_lockTransition','LIVESHARE_OPERATION','_pendingMutations','headers','UNIVER_SLIDE','_HTTPService','save\x20fail\x20reason\x20is\x20','_singleActiveUnitService','REDEMPTION_CODE_HAS_BEEN_CREATED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','title','ENTITLE_DUP_SUBSCRIPTION','{fileID}','SYNCED','sin','_transformService','roles','OPTIONAL','createDecryptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_keySchedule','cfg','PY_RUNTIME_SCRIPT_ERROR','_memberService','updateCollaborator','revision','subscribe','fetchThroughInterceptors','byteLength','EMAIL_HAS_BEEN_BOUND','_transformRemoteChangesetByIMECache','_executeRemoteChangeset','EMAIL_VERIFY_CODE_MISMATCH','defineProperty','post','reverse','_transitionLocked','fromCollab','_sessions','_socketService','send','getUnitOnRev','_scheduleCollaborationTimeoutTimer','charAt','_registerDependencies','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_type','unsubscribe','byteOffset','_state$','m2Prime','status','getRoom','_handler','_listenToNetworkCondition','UnitEmbedded','_members','CONNECTOR_DATA_TOO_LARGE','LIVESHARE_REQUEST_HOST','getOwnPropertyDescriptor','NEW_CHANGESETS','_joinRoom','Could\x20not\x20dynamically\x20require\x20\x22','987980yNaiMH','_createHelper','hostname','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_candidateSocket','ciphertext','updateSnapshot','_change$','Undefined','getFocusedUnit','_instanceService','_status$','_undoRedoService','reduce','_unlockTransition','patch','_removeRoom','disableLocalCache','collaborators','collabSubmitChangesetUrl','update','ENSURE_SNAPSHOT_EXECUTION','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_syncEditingCollabCursor','_retryConnectingTimer','[CollaborationUndoRedoService]','_DEC_XFORM_MODE','src','isPermissionRej','_state','_invKeySchedule','enc','call','_onRemoteRejected','data','getTypeOfUnitAdded$','_disableEditing','NO_OTHER_CLIENTS_EDITING','getCurrentSelections','random','_hash','/universer-api/comb','YUUMI_RATE_OVER_LIMIT','complete','INGEST','listRoles','_clearHeartbeatTimer','PERMISSION_REJ','_undoStacks','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','REDEMPTION_CODE_FULLY_REDEEMED','liveShareNewHost','target','SUBMIT_CHANGESET','_substituteRedoStack','compute','$super','override','ERROR_EXCEED_SIZE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','auth.needGotoLoginAlert','_changesetSessionId','JOIN_ROOM_FAILED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onRemoteChangeset','Malformed\x20UTF-8\x20data','INVITE_CODE_ALREADY_BOUND','_createInitialState','extend','unitID','name','PasswordBasedCipher','_unitID','startTime','getSheetBlock','getCurrentRevOfUnit','Latin1','_acknowledgedAwaitingChangeset','_socket','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','add','LICENSE_EXPORT_SIZE_EXCEEDED','putCollaborators','ENTITLE_CHAT_LIMIT_EXCEED','univer-pro.collaboration-client-socket-service','eventID','updateOfflineData','ERROR_IMAGE','_commandService','exports','_getRedoStack','_checkMissing','UUID','TOO_MANY_REQUESTS','_key','collabWebSocketUrl','YUUMI_URL_COL_OUT_OF_RANGE','FileId','_nDataBytes','[DataLoaderService]','collaMsg','_incrementRevisionNumber','GLOBAL_ROOMS_CNT_EXCEEDS','delete','fetchMiss','getUnit','_onUserLeave','resolve','onMissedChangesetFetched','onlyLocal','subject','_localeService','location','_collaborationSessionService','LICENSE_IMPORT_SIZE_EXCEEDED','_univerInstanceService','872008sZJfpS','66BWJbhx','session.room-permission-denied','dispose','YUUMI_AI_RUN_FAILED','replace','_remoteChangesetQueue','waitForRoom$','[CollaborationSession]','transformUndoRedo','FETCH_MISS','requireSession','findIndex','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_getCurrentRevision','REDEMPTION_USER_REDEEM_TIMES_EXCEED','APPLY_DUPLICATED','APPLY_NON_SEQUENTIAL_REVISION','size','image/gif','SUCCUSS','error$','sessionStatus','reset','PENDING','getValue','\x20to\x20','updatePermissionPoint','_sendingTimer','deleteCollaborator','INTERNAL_ERROR','getUnitId','onRemoteRej','INVALID_INVITE_CODE','_startTelemetryCollaborationNewChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_httpService','_reverseMap','_collaborationUIEventService','_applyRemoteChangeset','sheets','HMAC','decryptBlock','_networkConditionService','JOINING','_onOffline','socket\x20open.','_throwTelemetryCollaborationNewChangeset','\x20-\x20','AWAITING','_data','_entities','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','4016766vMQkUX','getDeserializedSheetBlock','onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_REVISION_CONFILICT','_updateLocalCache','JOIN_ROOM_FULL','ONLINE','_createInitialStateImpl','enableSingleActiveInstanceLock','UPDATE_PERMISSION_OBJ','mode','getMember','_showConflictNotification','/role','method','_permissionService','_mode','body','getTime','People','cmd','_doReset','loadUnitOfRevision','[PendingState]:\x20received\x20acknowledgement.','MSG_FOR_ERROR','pluginName','lib','concat','getUnitStatus$','repeat','SHA1','next','/resources','COMPRESS_MUTATION_APPLY','__esModule','close','now','_parse','univer-pro.collaboration-client.single-active-unit-service','USER_NOT_INVITED_CODE','_roomMembers','/allowed','buffer','YUUMI_SUBSCRIPTION_NOT_FOUND','[SyncedState]:\x20received\x20rejection.','OpenSSL','origin','HmacMD5','objectType','_toggleOffline','UNIVER_COLLABORATION_CLIENT_PLUGIN','telemetry\x20info\x20is\x20not\x20initialized','Hex','YUUMI_UNABLE_LOAD_URL','CHANGESET_SHOULD_RETRY','Utf8','getSnapshotAPIPath','length','requestParams','charCodeAt','_eventService','pad','REDEMPTION_INVALID_CODE','ivSize','workbook','event$','entries','_getLoginPath','_getUploadFileURL','members$','LICENSE_MAX_UNITS_EXCEEDED','transformChangesets','debug','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','toggleOnline','enableAuthServer','CLOSE_ROOM','ceil','_clearLocalCache','/-/object/-/batch_allowed','_sheetTransformSelectionsService','onTransformRemoteChangesetByStateCache','_collaborationPaused','createSocket','onTransformIME','[SyncedState]:\x20received\x20acknowledgement.','unknown','collaboration-client.local-cache-service','_awaitingChangeset','_xformMode','reconnect','socket$','transformStack\x20failed!','loadDoc','image/jpeg','SNAPSHOT_INVALID_SNAPSHOT','apply','keySize','HmacSHA1','LICENSE_DISTRO_REJECTED','collaboratorID','PAYMENT_CHANNEL_NOT_SUPPORT','\x0aAfter:\x20','filter','onRemoteAck','_updateStatus','_transformUndoredo','close$','getConfig','_doFinalize','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','hasOwnProperty','UnitSnapshot','roomInfos','not_collab','open$','/new_changes','UNIVER_UNKNOWN','duration','reqId','memberID','UNAUTHENTICATED','/universer-api/authz','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onTransformSelections','JOIN','LIVESHARE_TERMINATE','awaiting','default','onCommandExecuted','kdf','_clearCollaborationTimeoutTimer','COMPLETION_FINISHED','iterations','synced','_getUndoStack','AUTHORIZE_CODE_ILLEGAL','/unit/','resend','WECHAT_HAS_BEEN_BOUND','function','commentUpdateEvent','failed\x20to\x20apply\x20missed\x20changesets!','CONFLICT','socketService','interceptor','editing\x20status\x20changed\x20to','actions','emitEvent','listCollaborators','mixIn','_onJoinRoomEvent','_timeoutTimer','OTHER_CLIENT_EDITING','_waitForHeartbeatResponse','onSendChangeset','getTypeOfUnitDisposed$','_submitChangeset','isArray','format','USER_NOT_FOUND','getImage','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','HELLO','SOCKET_FAILED','setShowComponents','offline','YUUMI_CONNECTOR_URL_NOT_FOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','unitInfo$','string','DEFAULT_FILE_NAME','Decryptor','APPLY_PERMISSION_DENIED','[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.','RETRY_CONNECTING_MAX_COUNT','addHandlerCallback','list','floor','onRemoteChangeset','compose','x-univer-host','YUUMI_NO_CUBOID_FOR_QUESTION','ENTITLE_CAN_NOT_BUY_LOWER_OTP','onStateChange','_replayCachedMutations','getAllMembers','encrypt','copyFileMeta','commentUpdate$','_prevBlock','getActiveSheet','/universer-api/user/session-ticket','_queuedRemoteChangesets','readyForCollab','_userManagerService','_redoStacks','ENTITLE_REPORT_LIMIT_EXCEED','/block/','465644FzthSG','UPDATE_CURSOR','_unitInfo$','clamp','rev','getCurrentUser','_getSignURL','SOCKET_FAILED_RETRY','toString','SUBMIT_CHANGESET_TIMEOUT','_roomCreated$','PSEUDO_FETCH_MISSING_RESULT','stringify','/rev/','_updateState','INVALID_ARGUMENT','_config','_process','userID','_scheduleCompleteTimestamp','LOGIN_FAILED','COMPRESS_MUTATION_SEND','stopTime','INVITE_CODE_HAS_BEEN_UES','_event$','action','HttpExport','/object/','/universer-api/stream/file/upload','registerHTTPInterceptor','getMemberID','image/jpg','_localCacheService','SHOULD_CLOSE_CONN','executeCommand','_clearTimeoutTimer','execute','encodeURIComponent','find','onTransformState','JOIN_ROOM_PERMISSION_DENIED','closeSession','baseRev','SNAPSHOT_URL_KEY','_handlerCallback','capture','onTransformRemoteChangesetByIMECache','updateCursorEvent','localCacheService','getRandomValues','setWaitCount','_waitCount','_onLocalMutation','has','?url=','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','MOBILE_HAS_BEEN_BOUND','init','min','Base64','_getDownloadEndpointURL','incrementRevOfUnit','_commentUpdate$','originalMeta','loadSheet','/universer-api/oidc/authpage','_sender','_initUnitPermissionChange','get','catch','_createSocket','_map','USERS_ENTER','getCollabEntity$','entityInit$','put','ClipsheetFragments','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_logService','_transformIMECache','unitId','_onMessage','confirm','YUUMI_ALL_TABLES_IS_INVALID','_resendWithTimeout','BufferedBlockAlgorithm','COMMENT_UPDATE','onStarting','/universer-api/uniscript','encode','max','image/png','getImageSourceCache','_oKey','REDEMPTION_USER_NOT_ELIGIBLE','_changesetReqId','msCrypto','_keyPriorReset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','allowed','_onRemoteRetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','transformSelections','collaboration-client.config','_snapshotService','file','/universer-api/snapshot/','YUUMI_ASYNCIO_CANCELLED','infoRsp','_retryCount','UNISCRIPT_RUN','image/bmp','_onCombEvent','__Key__','Hasher','focused$','abs','_configService','CHANGESET_ACK','_onFetchMissResult','hasher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','key','url','_append','_replaceFileID','fetching\x20missing\x20changesets\x20from\x20','[OfflineState]:\x20received\x20acknowledgement.','error','HEARTBEAT_TIMEOUT','EvpKDF','Encryptor','_compressMutationService','_onConnectionOpen','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!'];_0x1d67=function(){return _0x4255dc;};return _0x1d67();}var nn=Object[_0x1494d6(0x3e7)],rn=(_0x3c4e44,_0x453014,_0x46b0d4,_0x614b95)=>{var _0x4d47dd=_0x1494d6;for(var _0x28c252=_0x614b95>0x1?void 0x0:_0x614b95?nn(_0x453014,_0x46b0d4):_0x453014,_0x39d6ea=_0x3c4e44[_0x4d47dd(0x1c0)]-0x1,_0x7563de;_0x39d6ea>=0x0;_0x39d6ea--)(_0x7563de=_0x3c4e44[_0x39d6ea])&&(_0x28c252=_0x7563de(_0x28c252)||_0x28c252);return _0x28c252;},Kt=(_0x1351b2,_0x110b22)=>(_0x84efdb,_0x1db5f0)=>_0x110b22(_0x84efdb,_0x1db5f0,_0x1351b2);const an=_0x1494d6(0x201);let Tt=class extends _0x1d2b58{constructor(_0x28e726,_0x4018c8){var _0x50ed6e=_0x1494d6;super(),this[_0x50ed6e(0x3b1)]=_0x28e726,this[_0x50ed6e(0x2c3)]=_0x4018c8,this[_0x50ed6e(0x2e3)]();}['_initMergeInterceptor'](){var _0x43d3e2=_0x1494d6;const _0x53e7f0=this;this['disposeWithMe'](this['_HTTPService'][_0x43d3e2(0x26b)]({'priority':0x3e7,'interceptor':_0x1915e7({'isMatch'(_0x3d3394){var _0x317145=_0x43d3e2,_0x43fd35;if(_0x3d3394[_0x317145(0x195)]===_0x317145(0x370)&&((_0x43fd35=_0x3d3394[_0x317145(0x1c1)])!=null&&_0x43fd35[_0x317145(0x198)])){const {objectID:_0x17aaa8,objectType:_0x77f9b5}=_0x3d3394[_0x317145(0x1c1)][_0x317145(0x198)]||{};if(!_0x17aaa8||_0x77f9b5===void 0x0)return!0x1;const _0x62e637=_0x53e7f0['_getAPIPrefixPath']()+'/'+_0x77f9b5+'/object/'+_0x17aaa8+_0x317145(0x1b0);if(_0x3d3394[_0x317145(0x2c9)]===_0x62e637)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x25404e){var _0x3cecfd=_0x43d3e2,_0xa7c68c;return(_0xa7c68c=_0x25404e['requestParams'])==null?void 0x0:_0xa7c68c[_0x3cecfd(0x198)];},'mergeParamsToRequest'(_0x51b06a,_0x28fa24){var _0x123465=_0x43d3e2;const _0x508273=_0x53e7f0[_0x123465(0x3a6)]()+'/-/object/-/batch_allowed',_0x550d04=_0x51b06a['reduce']((_0x3fe7e5,_0x198d8a)=>{var _0x1e044d=_0x123465;const {unitID:_0x180ed4,objectID:_0x30c147,objectType:_0x220e07,actions:_0x247b49}=_0x198d8a;return _0x3fe7e5[_0x180ed4]||(_0x3fe7e5[_0x180ed4]={}),_0x3fe7e5[_0x180ed4][_0x30c147]||(_0x3fe7e5[_0x180ed4][_0x30c147]={'objectID':_0x30c147,'objectType':_0x220e07,'actions':[]}),_0x3fe7e5[_0x180ed4][_0x30c147][_0x1e044d(0x21a)][_0x1e044d(0x359)](..._0x247b49),_0x3fe7e5;},{}),_0x35abad=[];for(const _0x4961d7 in _0x550d04)for(const _0x243c0b in _0x550d04[_0x4961d7]){const {actions:_0x2fae42,objectType:_0x51b5fa}=_0x550d04[_0x4961d7][_0x243c0b],_0x2f43f3=[...new Set(_0x2fae42)];_0x35abad[_0x123465(0x359)]({'unitID':_0x4961d7,'objectID':_0x243c0b,'objectType':_0x51b5fa,'actions':_0x2f43f3});}return new _0x29d66c(_0x123465(0x370),_0x508273,{'headers':_0x28fa24['headers'],'withCredentials':_0x28fa24['withCredentials'],'responseType':_0x28fa24['responseType'],'body':{'requests':_0x35abad}});}},{'distributeResult'(_0x42537a,_0x46c75e){const {objectActions:_0x485be1}=_0x42537a;return _0x46c75e['map'](_0x45bc0d=>{var _0x37e762=_0x842d;const {unitID:_0x48d223,objectID:_0x5d1209,actions:_0x59a7fc}=_0x45bc0d,_0x50018c=_0x485be1[_0x37e762(0x274)](_0xd5804e=>_0xd5804e['unitID']===_0x48d223&&_0xd5804e[_0x37e762(0x38e)]===_0x5d1209),_0x29a04a=_0x59a7fc[_0x37e762(0x31d)](_0x157588=>_0x50018c==null?void 0x0:_0x50018c[_0x37e762(0x21a)][_0x37e762(0x274)](_0x28b0aa=>_0x28b0aa[_0x37e762(0x267)]===_0x157588))[_0x37e762(0x1ee)](_0x28bf66=>!!_0x28bf66);return{'config':_0x45bc0d,'result':{'actions':_0x29a04a,'error':_0x42537a[_0x37e762(0x2ce)]}};});}})}));}[_0x1494d6(0x3a6)](){var _0x199729=_0x1494d6,_0x36ce48;const _0x53086c=this['_configService'][_0x199729(0x1f3)](K);return(_0x36ce48=_0x53086c==null?void 0x0:_0x53086c['authzUrl'])!=null?_0x36ce48:an;}async[_0x1494d6(0x2f0)](_0x302eaa){var _0x4c7392=_0x1494d6;const _0x1a65ce=this[_0x4c7392(0x3a6)]()+'/'+_0x302eaa[_0x4c7392(0x1b7)]+'/object';return(await this[_0x4c7392(0x3b1)][_0x4c7392(0x3ce)](_0x1a65ce,{'body':_0x302eaa}))[_0x4c7392(0x198)][_0x4c7392(0x38e)]||'';}async[_0x1494d6(0x238)](_0x104587){var _0x562d4f=_0x1494d6;const _0x53f6be=this['_getAPIPrefixPath']()+_0x562d4f(0x302);return(await this[_0x562d4f(0x3b1)][_0x562d4f(0x3ce)](_0x53f6be,{'body':_0x104587}))[_0x562d4f(0x198)][_0x562d4f(0x304)];}async[_0x1494d6(0x3ff)](_0x4512fb){var _0x511261=_0x1494d6,_0x2e29b6,_0x588cc6;const _0x4b9e04=this[_0x511261(0x3a6)]()+'/'+_0x4512fb[_0x511261(0x1b7)]+_0x511261(0x269)+_0x4512fb['objectID'],_0xe2f271=await this[_0x511261(0x3b1)][_0x511261(0x299)](_0x4b9e04,{'body':_0x4512fb});if(((_0x588cc6=(_0x2e29b6=_0xe2f271==null?void 0x0:_0xe2f271['body'])==null?void 0x0:_0x2e29b6['error'])==null?void 0x0:_0x588cc6[_0x511261(0x35d)])!==0x1)throw new Error(_0x511261(0x2e8));}async[_0x1494d6(0x2b1)](_0xe71a57){var _0x2d985a=_0x1494d6;const _0x202426=this['_getAPIPrefixPath']()+'/'+_0xe71a57[_0x2d985a(0x1b7)]+_0x2d985a(0x269)+_0xe71a57[_0x2d985a(0x38e)]+_0x2d985a(0x1b0);return(await this[_0x2d985a(0x3b1)]['post'](_0x202426,{'body':_0xe71a57}))[_0x2d985a(0x198)]['actions'];}async['batchAllowed'](_0x479935){var _0x64c43a=_0x1494d6;const _0x31ec2f=this[_0x64c43a(0x3a6)]()+_0x64c43a(0x1d6);return(await this[_0x64c43a(0x3b1)][_0x64c43a(0x3ce)](_0x31ec2f,{'body':{'requests':_0x479935}}))[_0x64c43a(0x198)][_0x64c43a(0x340)];}async[_0x1494d6(0x418)](_0x58589f){var _0x18515d=_0x1494d6;const _0x4e61d8=this['_getAPIPrefixPath']()+'/'+_0x58589f[_0x18515d(0x1b7)]+_0x18515d(0x194),_0x281c83=await this[_0x18515d(0x3b1)][_0x18515d(0x3ce)](_0x4e61d8,{'body':_0x58589f});return{'roles':_0x281c83['body'][_0x18515d(0x3bc)],'actions':_0x281c83[_0x18515d(0x198)][_0x18515d(0x21a)]};}async[_0x1494d6(0x47c)](_0x357806){var _0x1561d3=_0x1494d6;const _0x43cdcb=this['_getAPIPrefixPath']()+_0x1561d3(0x367);await this['_HTTPService']['delete'](_0x43cdcb,{'params':{'collaboratorID':_0x357806[_0x1561d3(0x1eb)],'objectID':_0x357806[_0x1561d3(0x38e)],'unitID':_0x357806[_0x1561d3(0x430)]}});}async[_0x1494d6(0x3c4)](_0x6a0055){var _0x39882e=_0x1494d6;const _0x5c576f=this[_0x39882e(0x3a6)]()+'/collaborator';await this[_0x39882e(0x3b1)][_0x39882e(0x3fa)](_0x5c576f,{'body':_0x6a0055});}async['createCollaborator'](_0x3cb760){var _0x336325=_0x1494d6;const _0x247ac9=this[_0x336325(0x3a6)]()+_0x336325(0x367);await this[_0x336325(0x3b1)][_0x336325(0x3ce)](_0x247ac9,{'body':_0x3cb760});}async[_0x1494d6(0x21c)](_0x1543f6){var _0x2a2d2b=_0x1494d6;const _0x151858=this[_0x2a2d2b(0x3a6)]()+_0x2a2d2b(0x367);return(await this[_0x2a2d2b(0x3b1)]['get'](_0x151858,{'params':{'objectID':_0x1543f6[_0x2a2d2b(0x38e)],'unitID':_0x1543f6[_0x2a2d2b(0x430)]}}))[_0x2a2d2b(0x198)][_0x2a2d2b(0x3fd)];}async[_0x1494d6(0x43d)](_0x172781){var _0xffe1c1=_0x1494d6;const _0x259de2=this[_0xffe1c1(0x3a6)]()+_0xffe1c1(0x367);await this[_0xffe1c1(0x3b1)][_0xffe1c1(0x299)](_0x259de2,{'body':_0x172781});}};Tt=rn([Kt(0x0,_0x40a927(_0x21f421)),Kt(0x1,_0x40a927(_0x5c8b82))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4d4acb){var _0xd77f73=_0x1494d6;return _0x4d4acb&&_0x4d4acb[_0xd77f73(0x1a9)]&&Object['prototype'][_0xd77f73(0x1f6)][_0xd77f73(0x40b)](_0x4d4acb,'default')?_0x4d4acb[_0xd77f73(0x207)]:_0x4d4acb;}var Ve={'exports':{}};function on(_0x36c595){var _0x1aa269=_0x1494d6;throw new Error(_0x1aa269(0x3ea)+_0x36c595+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x1494d6(0x444)],qt;function ie(){var _0x4dc5a0=_0x1494d6;return qt||(qt=0x1,function(_0xc94e22,_0x186d61){(function(_0x235e4e,_0x447f0b){var _0x1ff992=_0x842d;_0xc94e22[_0x1ff992(0x444)]=_0x447f0b();}(cn,function(){var _0x438df6=_0x438df6||function(_0x267f90,_0xbdeb4a){var _0x43f95b=_0x842d,_0x47412e;if(typeof window<'u'&&window['crypto']&&(_0x47412e=window['crypto']),typeof self<'u'&&self[_0x43f95b(0x38a)]&&(_0x47412e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x43f95b(0x38a)]&&(_0x47412e=globalThis[_0x43f95b(0x38a)]),!_0x47412e&&typeof window<'u'&&window['msCrypto']&&(_0x47412e=window[_0x43f95b(0x2ae)]),!_0x47412e&&typeof ft<'u'&&ft[_0x43f95b(0x38a)]&&(_0x47412e=ft['crypto']),!_0x47412e&&typeof on=='function')try{_0x47412e=require('crypto');}catch{}var _0x4d9ded=function(){var _0x31f443=_0x43f95b;if(_0x47412e){if(typeof _0x47412e[_0x31f443(0x27f)]==_0x31f443(0x213))try{return _0x47412e[_0x31f443(0x27f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x47412e['randomBytes']==_0x31f443(0x213))try{return _0x47412e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x31f443(0x46c));},_0x3c1e5e=Object[_0x43f95b(0x2f0)]||(function(){function _0x26af8b(){}return function(_0xe14658){var _0x3663bb=_0x842d,_0x3d9593;return _0x26af8b['prototype']=_0xe14658,_0x3d9593=new _0x26af8b(),_0x26af8b[_0x3663bb(0x389)]=null,_0x3d9593;};}()),_0x18fba7={},_0x4f418c=_0x18fba7[_0x43f95b(0x1a1)]={},_0x360f01=_0x4f418c['Base']=(function(){return{'extend':function(_0x546247){var _0x5581fb=_0x842d,_0xf6c237=_0x3c1e5e(this);return _0x546247&&_0xf6c237['mixIn'](_0x546247),(!_0xf6c237['hasOwnProperty'](_0x5581fb(0x287))||this[_0x5581fb(0x287)]===_0xf6c237[_0x5581fb(0x287)])&&(_0xf6c237[_0x5581fb(0x287)]=function(){var _0x179db1=_0x5581fb;_0xf6c237['$super']['init'][_0x179db1(0x1e7)](this,arguments);}),_0xf6c237[_0x5581fb(0x287)][_0x5581fb(0x389)]=_0xf6c237,_0xf6c237[_0x5581fb(0x423)]=this,_0xf6c237;},'create':function(){var _0xe4aa3e=_0x842d,_0x1c4e78=this[_0xe4aa3e(0x42f)]();return _0x1c4e78[_0xe4aa3e(0x287)][_0xe4aa3e(0x1e7)](_0x1c4e78,arguments),_0x1c4e78;},'init':function(){},'mixIn':function(_0x445e37){var _0x1e46b6=_0x842d;for(var _0x293f6b in _0x445e37)_0x445e37[_0x1e46b6(0x1f6)](_0x293f6b)&&(this[_0x293f6b]=_0x445e37[_0x293f6b]);_0x445e37[_0x1e46b6(0x1f6)](_0x1e46b6(0x256))&&(this[_0x1e46b6(0x256)]=_0x445e37['toString']);},'clone':function(){var _0x1b81db=_0x842d;return this['init'][_0x1b81db(0x389)][_0x1b81db(0x42f)](this);}};}()),_0x4ad5da=_0x4f418c[_0x43f95b(0x35f)]=_0x360f01['extend']({'init':function(_0x3db2a3,_0x2908e3){var _0x46f5f0=_0x43f95b;_0x3db2a3=this[_0x46f5f0(0x2f1)]=_0x3db2a3||[],_0x2908e3!=_0xbdeb4a?this[_0x46f5f0(0x309)]=_0x2908e3:this[_0x46f5f0(0x309)]=_0x3db2a3[_0x46f5f0(0x1c0)]*0x4;},'toString':function(_0x2ab685){var _0xf2c059=_0x43f95b;return(_0x2ab685||_0x34fb9d)[_0xf2c059(0x25a)](this);},'concat':function(_0x32fb01){var _0x6ae461=_0x43f95b,_0x3cd3f6=this[_0x6ae461(0x2f1)],_0x594bac=_0x32fb01[_0x6ae461(0x2f1)],_0x3bcbf7=this[_0x6ae461(0x309)],_0x42d07b=_0x32fb01[_0x6ae461(0x309)];if(this['clamp'](),_0x3bcbf7%0x4)for(var _0x5a5751=0x0;_0x5a5751<_0x42d07b;_0x5a5751++){var _0x2f0ec9=_0x594bac[_0x5a5751>>>0x2]>>>0x18-_0x5a5751%0x4*0x8&0xff;_0x3cd3f6[_0x3bcbf7+_0x5a5751>>>0x2]|=_0x2f0ec9<<0x18-(_0x3bcbf7+_0x5a5751)%0x4*0x8;}else{for(var _0x41cddd=0x0;_0x41cddd<_0x42d07b;_0x41cddd+=0x4)_0x3cd3f6[_0x3bcbf7+_0x41cddd>>>0x2]=_0x594bac[_0x41cddd>>>0x2];}return this[_0x6ae461(0x309)]+=_0x42d07b,this;},'clamp':function(){var _0x3e413a=_0x43f95b,_0x2a93ea=this[_0x3e413a(0x2f1)],_0x5b7c14=this[_0x3e413a(0x309)];_0x2a93ea[_0x5b7c14>>>0x2]&=0xffffffff<<0x20-_0x5b7c14%0x4*0x8,_0x2a93ea[_0x3e413a(0x1c0)]=_0x267f90[_0x3e413a(0x1d4)](_0x5b7c14/0x4);},'clone':function(){var _0x2d476b=_0x43f95b,_0xd0eb1=_0x360f01[_0x2d476b(0x391)]['call'](this);return _0xd0eb1[_0x2d476b(0x2f1)]=this[_0x2d476b(0x2f1)]['slice'](0x0),_0xd0eb1;},'random':function(_0x35690d){var _0x2831c5=_0x43f95b;for(var _0x1d61c7=[],_0x3c4fa9=0x0;_0x3c4fa9<_0x35690d;_0x3c4fa9+=0x4)_0x1d61c7['push'](_0x4d9ded());return new _0x4ad5da[(_0x2831c5(0x287))](_0x1d61c7,_0x35690d);}}),_0x205261=_0x18fba7['enc']={},_0x34fb9d=_0x205261[_0x43f95b(0x1bb)]={'stringify':function(_0x21f551){var _0x1a17cf=_0x43f95b;for(var _0x277dfe=_0x21f551[_0x1a17cf(0x2f1)],_0x1f48f4=_0x21f551[_0x1a17cf(0x309)],_0x2c6b68=[],_0x17d6a4=0x0;_0x17d6a4<_0x1f48f4;_0x17d6a4++){var _0x522287=_0x277dfe[_0x17d6a4>>>0x2]>>>0x18-_0x17d6a4%0x4*0x8&0xff;_0x2c6b68[_0x1a17cf(0x359)]((_0x522287>>>0x4)[_0x1a17cf(0x256)](0x10)),_0x2c6b68[_0x1a17cf(0x359)]((_0x522287&0xf)['toString'](0x10));}return _0x2c6b68[_0x1a17cf(0x2d9)]('');},'parse':function(_0x7e12a0){var _0x3441c8=_0x43f95b;for(var _0x464a0d=_0x7e12a0['length'],_0x1e67a1=[],_0x177292=0x0;_0x177292<_0x464a0d;_0x177292+=0x2)_0x1e67a1[_0x177292>>>0x3]|=parseInt(_0x7e12a0['substr'](_0x177292,0x2),0x10)<<0x18-_0x177292%0x8*0x4;return new _0x4ad5da[(_0x3441c8(0x287))](_0x1e67a1,_0x464a0d/0x2);}},_0x3604be=_0x205261[_0x43f95b(0x437)]={'stringify':function(_0x40dafe){var _0x2b1384=_0x43f95b;for(var _0x1c70f4=_0x40dafe[_0x2b1384(0x2f1)],_0x5b4de7=_0x40dafe[_0x2b1384(0x309)],_0x770b18=[],_0x2afe3e=0x0;_0x2afe3e<_0x5b4de7;_0x2afe3e++){var _0x5d94b6=_0x1c70f4[_0x2afe3e>>>0x2]>>>0x18-_0x2afe3e%0x4*0x8&0xff;_0x770b18[_0x2b1384(0x359)](String['fromCharCode'](_0x5d94b6));}return _0x770b18[_0x2b1384(0x2d9)]('');},'parse':function(_0x4b117a){var _0x5e496d=_0x43f95b;for(var _0x1f8e98=_0x4b117a[_0x5e496d(0x1c0)],_0x405a0d=[],_0x3811af=0x0;_0x3811af<_0x1f8e98;_0x3811af++)_0x405a0d[_0x3811af>>>0x2]|=(_0x4b117a[_0x5e496d(0x1c2)](_0x3811af)&0xff)<<0x18-_0x3811af%0x4*0x8;return new _0x4ad5da[(_0x5e496d(0x287))](_0x405a0d,_0x1f8e98);}},_0x5f007f=_0x205261[_0x43f95b(0x1be)]={'stringify':function(_0x58dbcc){var _0x2167d6=_0x43f95b;try{return decodeURIComponent(escape(_0x3604be['stringify'](_0x58dbcc)));}catch{throw new Error(_0x2167d6(0x42c));}},'parse':function(_0x116ead){return _0x3604be['parse'](unescape(encodeURIComponent(_0x116ead)));}},_0x321255=_0x4f418c[_0x43f95b(0x2a3)]=_0x360f01['extend']({'reset':function(){var _0x5bf4d0=_0x43f95b;this[_0x5bf4d0(0x183)]=new _0x4ad5da[(_0x5bf4d0(0x287))](),this[_0x5bf4d0(0x44d)]=0x0;},'_append':function(_0x1ae896){var _0x500af3=_0x43f95b;typeof _0x1ae896=='string'&&(_0x1ae896=_0x5f007f['parse'](_0x1ae896)),this[_0x500af3(0x183)][_0x500af3(0x1a2)](_0x1ae896),this['_nDataBytes']+=_0x1ae896['sigBytes'];},'_process':function(_0x5bd5f0){var _0x42bc18=_0x43f95b,_0x64b228,_0x180d8a=this['_data'],_0x2440a8=_0x180d8a[_0x42bc18(0x2f1)],_0xace4b9=_0x180d8a[_0x42bc18(0x309)],_0x130905=this[_0x42bc18(0x34c)],_0x4676b6=_0x130905*0x4,_0x4b0ef2=_0xace4b9/_0x4676b6;_0x5bd5f0?_0x4b0ef2=_0x267f90['ceil'](_0x4b0ef2):_0x4b0ef2=_0x267f90['max']((_0x4b0ef2|0x0)-this[_0x42bc18(0x2e4)],0x0);var _0x31cf78=_0x4b0ef2*_0x130905,_0x3cc6e9=_0x267f90[_0x42bc18(0x288)](_0x31cf78*0x4,_0xace4b9);if(_0x31cf78){for(var _0x4d18af=0x0;_0x4d18af<_0x31cf78;_0x4d18af+=_0x130905)this[_0x42bc18(0x2ef)](_0x2440a8,_0x4d18af);_0x64b228=_0x2440a8[_0x42bc18(0x366)](0x0,_0x31cf78),_0x180d8a[_0x42bc18(0x309)]-=_0x3cc6e9;}return new _0x4ad5da[(_0x42bc18(0x287))](_0x64b228,_0x3cc6e9);},'clone':function(){var _0x48a408=_0x43f95b,_0x5883f=_0x360f01[_0x48a408(0x391)][_0x48a408(0x40b)](this);return _0x5883f[_0x48a408(0x183)]=this[_0x48a408(0x183)][_0x48a408(0x391)](),_0x5883f;},'_minBufferSize':0x0});_0x4f418c['Hasher']=_0x321255[_0x43f95b(0x42f)]({'cfg':_0x360f01[_0x43f95b(0x42f)](),'init':function(_0x3e5cd7){var _0x5b63d0=_0x43f95b;this[_0x5b63d0(0x3c1)]=this[_0x5b63d0(0x3c1)][_0x5b63d0(0x42f)](_0x3e5cd7),this[_0x5b63d0(0x476)]();},'reset':function(){_0x321255['reset']['call'](this),this['_doReset']();},'update':function(_0x5b4259){var _0x21e3ec=_0x43f95b;return this['_append'](_0x5b4259),this[_0x21e3ec(0x25f)](),this;},'finalize':function(_0x34f399){var _0x2722ec=_0x43f95b;_0x34f399&&this[_0x2722ec(0x2ca)](_0x34f399);var _0x559e28=this[_0x2722ec(0x1f4)]();return _0x559e28;},'blockSize':0x10,'_createHelper':function(_0x7b099f){return function(_0x218e5d,_0x56be72){var _0xfce39e=_0x842d;return new _0x7b099f[(_0xfce39e(0x287))](_0x56be72)[_0xfce39e(0x34e)](_0x218e5d);};},'_createHmacHelper':function(_0x5db8a3){return function(_0x315a4c,_0x4642fe){var _0x5db3a1=_0x842d;return new _0x3f180b[(_0x5db3a1(0x17a))][(_0x5db3a1(0x287))](_0x5db8a3,_0x4642fe)[_0x5db3a1(0x34e)](_0x315a4c);};}});var _0x3f180b=_0x18fba7['algo']={};return _0x18fba7;}(Math);return _0x438df6;}));}(Ge)),Ge[_0x4dc5a0(0x444)];}var We={'exports':{}},_n=We[_0x1494d6(0x444)],zt;function Ri(){var _0x12555a=_0x1494d6;return zt||(zt=0x1,function(_0x35911a,_0x12422d){(function(_0x4dbd26,_0x35bba0){var _0x4b728e=_0x842d;_0x35911a[_0x4b728e(0x444)]=_0x35bba0(ie());}(_n,function(_0x467188){var _0x46d3a7=_0x842d;return(function(){var _0x8dbff0=_0x842d,_0x5b9f67=_0x467188,_0x37d769=_0x5b9f67[_0x8dbff0(0x1a1)],_0x1b1b80=_0x37d769[_0x8dbff0(0x35f)],_0x4666f2=_0x5b9f67[_0x8dbff0(0x40a)];_0x4666f2[_0x8dbff0(0x289)]={'stringify':function(_0x20b226){var _0x496111=_0x8dbff0,_0x680069=_0x20b226[_0x496111(0x2f1)],_0x4a7dd8=_0x20b226[_0x496111(0x309)],_0x266a81=this[_0x496111(0x295)];_0x20b226['clamp']();for(var _0x5cb9a0=[],_0x1ff235=0x0;_0x1ff235<_0x4a7dd8;_0x1ff235+=0x3)for(var _0x374dda=_0x680069[_0x1ff235>>>0x2]>>>0x18-_0x1ff235%0x4*0x8&0xff,_0x36f143=_0x680069[_0x1ff235+0x1>>>0x2]>>>0x18-(_0x1ff235+0x1)%0x4*0x8&0xff,_0x2055d4=_0x680069[_0x1ff235+0x2>>>0x2]>>>0x18-(_0x1ff235+0x2)%0x4*0x8&0xff,_0x35e29c=_0x374dda<<0x10|_0x36f143<<0x8|_0x2055d4,_0x13ff23=0x0;_0x13ff23<0x4&&_0x1ff235+_0x13ff23*0.75<_0x4a7dd8;_0x13ff23++)_0x5cb9a0[_0x496111(0x359)](_0x266a81['charAt'](_0x35e29c>>>0x6*(0x3-_0x13ff23)&0x3f));var _0x9dd8e9=_0x266a81[_0x496111(0x3d7)](0x40);if(_0x9dd8e9){for(;_0x5cb9a0[_0x496111(0x1c0)]%0x4;)_0x5cb9a0[_0x496111(0x359)](_0x9dd8e9);}return _0x5cb9a0[_0x496111(0x2d9)]('');},'parse':function(_0x427e9c){var _0x3b8fae=_0x8dbff0,_0xeb60b5=_0x427e9c[_0x3b8fae(0x1c0)],_0xe7a24a=this['_map'],_0x1f0e1b=this[_0x3b8fae(0x176)];if(!_0x1f0e1b){_0x1f0e1b=this[_0x3b8fae(0x176)]=[];for(var _0x1a1e8a=0x0;_0x1a1e8a<_0xe7a24a[_0x3b8fae(0x1c0)];_0x1a1e8a++)_0x1f0e1b[_0xe7a24a[_0x3b8fae(0x1c2)](_0x1a1e8a)]=_0x1a1e8a;}var _0x5bbddc=_0xe7a24a[_0x3b8fae(0x3d7)](0x40);if(_0x5bbddc){var _0x5dfc7f=_0x427e9c['indexOf'](_0x5bbddc);_0x5dfc7f!==-0x1&&(_0xeb60b5=_0x5dfc7f);}return _0x5634a3(_0x427e9c,_0xeb60b5,_0x1f0e1b);},'_map':_0x8dbff0(0x202)};function _0x5634a3(_0x1050c5,_0x106e8b,_0x846ae2){var _0x4573d7=_0x8dbff0;for(var _0x4fcee0=[],_0x7ca921=0x0,_0x56fc6c=0x0;_0x56fc6c<_0x106e8b;_0x56fc6c++)if(_0x56fc6c%0x4){var _0x84510e=_0x846ae2[_0x1050c5[_0x4573d7(0x1c2)](_0x56fc6c-0x1)]<<_0x56fc6c%0x4*0x2,_0x425f7c=_0x846ae2[_0x1050c5[_0x4573d7(0x1c2)](_0x56fc6c)]>>>0x6-_0x56fc6c%0x4*0x2,_0x41d115=_0x84510e|_0x425f7c;_0x4fcee0[_0x7ca921>>>0x2]|=_0x41d115<<0x18-_0x7ca921%0x4*0x8,_0x7ca921++;}return _0x1b1b80['create'](_0x4fcee0,_0x7ca921);}}()),_0x467188[_0x46d3a7(0x40a)][_0x46d3a7(0x289)];}));}(We)),We[_0x12555a(0x444)];}var Ye={'exports':{}},hn=Ye[_0x1494d6(0x444)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x2c022e,_0x264549){(function(_0xbc3cca,_0x1f62eb){var _0x3af50f=_0x842d;_0x2c022e[_0x3af50f(0x444)]=_0x1f62eb(ie());}(hn,function(_0xc526eb){var _0x117569=_0x842d;return function(_0x476d1c){var _0x99808b=_0x842d,_0x55175f=_0xc526eb,_0x1d4222=_0x55175f[_0x99808b(0x1a1)],_0x3a81e6=_0x1d4222['WordArray'],_0x15824e=_0x1d4222['Hasher'],_0x53688f=_0x55175f[_0x99808b(0x3a0)],_0x350158=[];(function(){var _0x26aa5b=_0x99808b;for(var _0x11b9e7=0x0;_0x11b9e7<0x40;_0x11b9e7++)_0x350158[_0x11b9e7]=_0x476d1c[_0x26aa5b(0x2c2)](_0x476d1c[_0x26aa5b(0x3ba)](_0x11b9e7+0x1))*0x100000000|0x0;}());var _0x4fbd58=_0x53688f['MD5']=_0x15824e[_0x99808b(0x42f)]({'_doReset':function(){var _0x3c3faf=_0x99808b;this[_0x3c3faf(0x413)]=new _0x3a81e6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4250c1,_0x1049c5){var _0x546c91=_0x99808b;for(var _0xaba755=0x0;_0xaba755<0x10;_0xaba755++){var _0x44c1ae=_0x1049c5+_0xaba755,_0x163d4e=_0x4250c1[_0x44c1ae];_0x4250c1[_0x44c1ae]=(_0x163d4e<<0x8|_0x163d4e>>>0x18)&0xff00ff|(_0x163d4e<<0x18|_0x163d4e>>>0x8)&0xff00ff00;}var _0x251d17=this[_0x546c91(0x413)][_0x546c91(0x2f1)],_0x47f239=_0x4250c1[_0x1049c5+0x0],_0x3f7944=_0x4250c1[_0x1049c5+0x1],_0x5169e7=_0x4250c1[_0x1049c5+0x2],_0x207c7e=_0x4250c1[_0x1049c5+0x3],_0x1e50a6=_0x4250c1[_0x1049c5+0x4],_0x344e3b=_0x4250c1[_0x1049c5+0x5],_0xfe5911=_0x4250c1[_0x1049c5+0x6],_0x4e13d7=_0x4250c1[_0x1049c5+0x7],_0x34429c=_0x4250c1[_0x1049c5+0x8],_0x54fb67=_0x4250c1[_0x1049c5+0x9],_0x286ff6=_0x4250c1[_0x1049c5+0xa],_0x3671b7=_0x4250c1[_0x1049c5+0xb],_0xbdf1fc=_0x4250c1[_0x1049c5+0xc],_0x290c60=_0x4250c1[_0x1049c5+0xd],_0x433908=_0x4250c1[_0x1049c5+0xe],_0x5f1d6d=_0x4250c1[_0x1049c5+0xf],_0xe54862=_0x251d17[0x0],_0xe7f597=_0x251d17[0x1],_0x2bfa98=_0x251d17[0x2],_0x4387de=_0x251d17[0x3];_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x47f239,0x7,_0x350158[0x0]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x3f7944,0xc,_0x350158[0x1]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5169e7,0x11,_0x350158[0x2]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x207c7e,0x16,_0x350158[0x3]),_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x1e50a6,0x7,_0x350158[0x4]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x344e3b,0xc,_0x350158[0x5]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0xfe5911,0x11,_0x350158[0x6]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x4e13d7,0x16,_0x350158[0x7]),_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x34429c,0x7,_0x350158[0x8]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x54fb67,0xc,_0x350158[0x9]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x286ff6,0x11,_0x350158[0xa]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x3671b7,0x16,_0x350158[0xb]),_0xe54862=_0x2c780a(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0xbdf1fc,0x7,_0x350158[0xc]),_0x4387de=_0x2c780a(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x290c60,0xc,_0x350158[0xd]),_0x2bfa98=_0x2c780a(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x433908,0x11,_0x350158[0xe]),_0xe7f597=_0x2c780a(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x5f1d6d,0x16,_0x350158[0xf]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x3f7944,0x5,_0x350158[0x10]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0xfe5911,0x9,_0x350158[0x11]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x3671b7,0xe,_0x350158[0x12]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x47f239,0x14,_0x350158[0x13]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x344e3b,0x5,_0x350158[0x14]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x286ff6,0x9,_0x350158[0x15]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5f1d6d,0xe,_0x350158[0x16]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x1e50a6,0x14,_0x350158[0x17]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x54fb67,0x5,_0x350158[0x18]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x433908,0x9,_0x350158[0x19]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x207c7e,0xe,_0x350158[0x1a]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x34429c,0x14,_0x350158[0x1b]),_0xe54862=_0x140245(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x290c60,0x5,_0x350158[0x1c]),_0x4387de=_0x140245(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x5169e7,0x9,_0x350158[0x1d]),_0x2bfa98=_0x140245(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x4e13d7,0xe,_0x350158[0x1e]),_0xe7f597=_0x140245(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0xbdf1fc,0x14,_0x350158[0x1f]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x344e3b,0x4,_0x350158[0x20]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x34429c,0xb,_0x350158[0x21]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x3671b7,0x10,_0x350158[0x22]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x433908,0x17,_0x350158[0x23]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x3f7944,0x4,_0x350158[0x24]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x1e50a6,0xb,_0x350158[0x25]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x4e13d7,0x10,_0x350158[0x26]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x286ff6,0x17,_0x350158[0x27]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x290c60,0x4,_0x350158[0x28]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x47f239,0xb,_0x350158[0x29]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x207c7e,0x10,_0x350158[0x2a]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0xfe5911,0x17,_0x350158[0x2b]),_0xe54862=_0x1759ca(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x54fb67,0x4,_0x350158[0x2c]),_0x4387de=_0x1759ca(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0xbdf1fc,0xb,_0x350158[0x2d]),_0x2bfa98=_0x1759ca(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5f1d6d,0x10,_0x350158[0x2e]),_0xe7f597=_0x1759ca(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x5169e7,0x17,_0x350158[0x2f]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x47f239,0x6,_0x350158[0x30]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x4e13d7,0xa,_0x350158[0x31]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x433908,0xf,_0x350158[0x32]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x344e3b,0x15,_0x350158[0x33]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0xbdf1fc,0x6,_0x350158[0x34]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x207c7e,0xa,_0x350158[0x35]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x286ff6,0xf,_0x350158[0x36]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x3f7944,0x15,_0x350158[0x37]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x34429c,0x6,_0x350158[0x38]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x5f1d6d,0xa,_0x350158[0x39]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0xfe5911,0xf,_0x350158[0x3a]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x290c60,0x15,_0x350158[0x3b]),_0xe54862=_0x30c10f(_0xe54862,_0xe7f597,_0x2bfa98,_0x4387de,_0x1e50a6,0x6,_0x350158[0x3c]),_0x4387de=_0x30c10f(_0x4387de,_0xe54862,_0xe7f597,_0x2bfa98,_0x3671b7,0xa,_0x350158[0x3d]),_0x2bfa98=_0x30c10f(_0x2bfa98,_0x4387de,_0xe54862,_0xe7f597,_0x5169e7,0xf,_0x350158[0x3e]),_0xe7f597=_0x30c10f(_0xe7f597,_0x2bfa98,_0x4387de,_0xe54862,_0x54fb67,0x15,_0x350158[0x3f]),_0x251d17[0x0]=_0x251d17[0x0]+_0xe54862|0x0,_0x251d17[0x1]=_0x251d17[0x1]+_0xe7f597|0x0,_0x251d17[0x2]=_0x251d17[0x2]+_0x2bfa98|0x0,_0x251d17[0x3]=_0x251d17[0x3]+_0x4387de|0x0;},'_doFinalize':function(){var _0x105952=_0x99808b,_0x47983f=this[_0x105952(0x183)],_0x25564a=_0x47983f[_0x105952(0x2f1)],_0x4130a7=this[_0x105952(0x44d)]*0x8,_0x2ba8fc=_0x47983f[_0x105952(0x309)]*0x8;_0x25564a[_0x2ba8fc>>>0x5]|=0x80<<0x18-_0x2ba8fc%0x20;var _0x379c8d=_0x476d1c['floor'](_0x4130a7/0x100000000),_0x35e0b2=_0x4130a7;_0x25564a[(_0x2ba8fc+0x40>>>0x9<<0x4)+0xf]=(_0x379c8d<<0x8|_0x379c8d>>>0x18)&0xff00ff|(_0x379c8d<<0x18|_0x379c8d>>>0x8)&0xff00ff00,_0x25564a[(_0x2ba8fc+0x40>>>0x9<<0x4)+0xe]=(_0x35e0b2<<0x8|_0x35e0b2>>>0x18)&0xff00ff|(_0x35e0b2<<0x18|_0x35e0b2>>>0x8)&0xff00ff00,_0x47983f[_0x105952(0x309)]=(_0x25564a[_0x105952(0x1c0)]+0x1)*0x4,this[_0x105952(0x25f)]();for(var _0x2f9e41=this['_hash'],_0x52bc87=_0x2f9e41[_0x105952(0x2f1)],_0x54204d=0x0;_0x54204d<0x4;_0x54204d++){var _0x4c6dd1=_0x52bc87[_0x54204d];_0x52bc87[_0x54204d]=(_0x4c6dd1<<0x8|_0x4c6dd1>>>0x18)&0xff00ff|(_0x4c6dd1<<0x18|_0x4c6dd1>>>0x8)&0xff00ff00;}return _0x2f9e41;},'clone':function(){var _0x245721=_0x99808b,_0x31d91b=_0x15824e['clone'][_0x245721(0x40b)](this);return _0x31d91b[_0x245721(0x413)]=this[_0x245721(0x413)][_0x245721(0x391)](),_0x31d91b;}});function _0x2c780a(_0xf2a8a6,_0xaf53a5,_0x326b77,_0x263ce7,_0x159c24,_0x304241,_0x3e7acf){var _0x139eb1=_0xf2a8a6+(_0xaf53a5&_0x326b77|~_0xaf53a5&_0x263ce7)+_0x159c24+_0x3e7acf;return(_0x139eb1<<_0x304241|_0x139eb1>>>0x20-_0x304241)+_0xaf53a5;}function _0x140245(_0x362220,_0x3d6b1b,_0x412ee7,_0x2b8680,_0x11b568,_0x23fe72,_0x49babf){var _0x845407=_0x362220+(_0x3d6b1b&_0x2b8680|_0x412ee7&~_0x2b8680)+_0x11b568+_0x49babf;return(_0x845407<<_0x23fe72|_0x845407>>>0x20-_0x23fe72)+_0x3d6b1b;}function _0x1759ca(_0x1aa4d1,_0x4c489b,_0x577166,_0x481827,_0x854bed,_0xdaca75,_0x519122){var _0x5a614a=_0x1aa4d1+(_0x4c489b^_0x577166^_0x481827)+_0x854bed+_0x519122;return(_0x5a614a<<_0xdaca75|_0x5a614a>>>0x20-_0xdaca75)+_0x4c489b;}function _0x30c10f(_0x50dd81,_0x4d6a14,_0xdc5e72,_0x3fbe35,_0x1f1934,_0x3dcb62,_0x4d45d8){var _0x35059f=_0x50dd81+(_0xdc5e72^(_0x4d6a14|~_0x3fbe35))+_0x1f1934+_0x4d45d8;return(_0x35059f<<_0x3dcb62|_0x35059f>>>0x20-_0x3dcb62)+_0x4d6a14;}_0x55175f[_0x99808b(0x301)]=_0x15824e[_0x99808b(0x3ec)](_0x4fbd58),_0x55175f[_0x99808b(0x1b6)]=_0x15824e[_0x99808b(0x30f)](_0x4fbd58);}(Math),_0xc526eb[_0x117569(0x301)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0x2d2cc7=_0x1494d6;return Xt||(Xt=0x1,function(_0x300f88,_0x51eba8){(function(_0x43a86a,_0x1bee87){var _0x7dac81=_0x842d;_0x300f88[_0x7dac81(0x444)]=_0x1bee87(ie());}(un,function(_0x46b0a8){var _0x4d2d5d=_0x842d;return(function(){var _0x5bc5c4=_0x842d,_0x51cf35=_0x46b0a8,_0x43191e=_0x51cf35[_0x5bc5c4(0x1a1)],_0x1a6716=_0x43191e['WordArray'],_0x2b1421=_0x43191e[_0x5bc5c4(0x2c0)],_0x3f890d=_0x51cf35[_0x5bc5c4(0x3a0)],_0x55d903=[],_0x396fe3=_0x3f890d[_0x5bc5c4(0x1a5)]=_0x2b1421['extend']({'_doReset':function(){var _0x55b898=_0x5bc5c4;this['_hash']=new _0x1a6716[(_0x55b898(0x287))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x44d4a5,_0x3b6bce){var _0x5dc555=_0x5bc5c4;for(var _0x129a19=this[_0x5dc555(0x413)][_0x5dc555(0x2f1)],_0x30b6ac=_0x129a19[0x0],_0x2a7fc1=_0x129a19[0x1],_0x46281f=_0x129a19[0x2],_0x4b49f5=_0x129a19[0x3],_0x62f045=_0x129a19[0x4],_0x173db8=0x0;_0x173db8<0x50;_0x173db8++){if(_0x173db8<0x10)_0x55d903[_0x173db8]=_0x44d4a5[_0x3b6bce+_0x173db8]|0x0;else{var _0x3956e9=_0x55d903[_0x173db8-0x3]^_0x55d903[_0x173db8-0x8]^_0x55d903[_0x173db8-0xe]^_0x55d903[_0x173db8-0x10];_0x55d903[_0x173db8]=_0x3956e9<<0x1|_0x3956e9>>>0x1f;}var _0x7d1c14=(_0x30b6ac<<0x5|_0x30b6ac>>>0x1b)+_0x62f045+_0x55d903[_0x173db8];_0x173db8<0x14?_0x7d1c14+=(_0x2a7fc1&_0x46281f|~_0x2a7fc1&_0x4b49f5)+0x5a827999:_0x173db8<0x28?_0x7d1c14+=(_0x2a7fc1^_0x46281f^_0x4b49f5)+0x6ed9eba1:_0x173db8<0x3c?_0x7d1c14+=(_0x2a7fc1&_0x46281f|_0x2a7fc1&_0x4b49f5|_0x46281f&_0x4b49f5)-0x70e44324:_0x7d1c14+=(_0x2a7fc1^_0x46281f^_0x4b49f5)-0x359d3e2a,_0x62f045=_0x4b49f5,_0x4b49f5=_0x46281f,_0x46281f=_0x2a7fc1<<0x1e|_0x2a7fc1>>>0x2,_0x2a7fc1=_0x30b6ac,_0x30b6ac=_0x7d1c14;}_0x129a19[0x0]=_0x129a19[0x0]+_0x30b6ac|0x0,_0x129a19[0x1]=_0x129a19[0x1]+_0x2a7fc1|0x0,_0x129a19[0x2]=_0x129a19[0x2]+_0x46281f|0x0,_0x129a19[0x3]=_0x129a19[0x3]+_0x4b49f5|0x0,_0x129a19[0x4]=_0x129a19[0x4]+_0x62f045|0x0;},'_doFinalize':function(){var _0x2c0a80=_0x5bc5c4,_0x35952a=this[_0x2c0a80(0x183)],_0x1e63f7=_0x35952a['words'],_0x41c36e=this[_0x2c0a80(0x44d)]*0x8,_0x23b14e=_0x35952a[_0x2c0a80(0x309)]*0x8;return _0x1e63f7[_0x23b14e>>>0x5]|=0x80<<0x18-_0x23b14e%0x20,_0x1e63f7[(_0x23b14e+0x40>>>0x9<<0x4)+0xe]=Math[_0x2c0a80(0x239)](_0x41c36e/0x100000000),_0x1e63f7[(_0x23b14e+0x40>>>0x9<<0x4)+0xf]=_0x41c36e,_0x35952a[_0x2c0a80(0x309)]=_0x1e63f7[_0x2c0a80(0x1c0)]*0x4,this[_0x2c0a80(0x25f)](),this[_0x2c0a80(0x413)];},'clone':function(){var _0x32eaf3=_0x5bc5c4,_0x2cdb45=_0x2b1421[_0x32eaf3(0x391)][_0x32eaf3(0x40b)](this);return _0x2cdb45[_0x32eaf3(0x413)]=this[_0x32eaf3(0x413)][_0x32eaf3(0x391)](),_0x2cdb45;}});_0x51cf35['SHA1']=_0x2b1421['_createHelper'](_0x396fe3),_0x51cf35[_0x5bc5c4(0x1e9)]=_0x2b1421['_createHmacHelper'](_0x396fe3);}()),_0x46b0a8[_0x4d2d5d(0x1a5)];}));}(qe)),qe[_0x2d2cc7(0x444)];}var ze={'exports':{}},fn=ze[_0x1494d6(0x444)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x5be001,_0x57c807){(function(_0x201de8,_0x3244dc){var _0x1a403e=_0x842d;_0x5be001[_0x1a403e(0x444)]=_0x3244dc(ie());}(fn,function(_0x5bf448){(function(){var _0x3efc76=_0x842d,_0x484943=_0x5bf448,_0x343120=_0x484943[_0x3efc76(0x1a1)],_0x5a8fd8=_0x343120['Base'],_0x123e9e=_0x484943[_0x3efc76(0x40a)],_0x56872d=_0x123e9e['Utf8'],_0xb355cd=_0x484943['algo'];_0xb355cd[_0x3efc76(0x17a)]=_0x5a8fd8[_0x3efc76(0x42f)]({'init':function(_0x2a1594,_0x15d865){var _0x194f83=_0x3efc76;_0x2a1594=this[_0x194f83(0x365)]=new _0x2a1594[(_0x194f83(0x287))](),typeof _0x15d865==_0x194f83(0x231)&&(_0x15d865=_0x56872d[_0x194f83(0x2ed)](_0x15d865));var _0x4784f4=_0x2a1594[_0x194f83(0x34c)],_0x1b9a16=_0x4784f4*0x4;_0x15d865[_0x194f83(0x309)]>_0x1b9a16&&(_0x15d865=_0x2a1594[_0x194f83(0x34e)](_0x15d865)),_0x15d865[_0x194f83(0x251)]();for(var _0x28b900=this[_0x194f83(0x2ab)]=_0x15d865[_0x194f83(0x391)](),_0x5374ad=this[_0x194f83(0x392)]=_0x15d865[_0x194f83(0x391)](),_0x56d716=_0x28b900['words'],_0xf0c057=_0x5374ad[_0x194f83(0x2f1)],_0xdb2c7e=0x0;_0xdb2c7e<_0x4784f4;_0xdb2c7e++)_0x56d716[_0xdb2c7e]^=0x5c5c5c5c,_0xf0c057[_0xdb2c7e]^=0x36363636;_0x28b900[_0x194f83(0x309)]=_0x5374ad[_0x194f83(0x309)]=_0x1b9a16,this[_0x194f83(0x476)]();},'reset':function(){var _0x331e68=_0x3efc76,_0x18623f=this[_0x331e68(0x365)];_0x18623f[_0x331e68(0x476)](),_0x18623f[_0x331e68(0x3ff)](this['_iKey']);},'update':function(_0x49a386){var _0x412c80=_0x3efc76;return this['_hasher'][_0x412c80(0x3ff)](_0x49a386),this;},'finalize':function(_0x23a9b3){var _0x2dd2a7=_0x3efc76,_0x2c314f=this[_0x2dd2a7(0x365)],_0x22b195=_0x2c314f['finalize'](_0x23a9b3);_0x2c314f[_0x2dd2a7(0x476)]();var _0xcadbf4=_0x2c314f[_0x2dd2a7(0x34e)](this[_0x2dd2a7(0x2ab)]['clone']()[_0x2dd2a7(0x1a2)](_0x22b195));return _0xcadbf4;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x1494d6(0x444)],Qt;function Ci(){return Qt||(Qt=0x1,function(_0x397c94,_0x45a017){(function(_0x20a306,_0x4c8168,_0x2def07){var _0x26c5b7=_0x842d;_0x397c94[_0x26c5b7(0x444)]=_0x4c8168(ie(),dn(),vn());}(pn,function(_0x235849){var _0x53299e=_0x842d;return(function(){var _0x2ea9f4=_0x842d,_0x5edb5b=_0x235849,_0x4ae53a=_0x5edb5b[_0x2ea9f4(0x1a1)],_0x18ed6c=_0x4ae53a[_0x2ea9f4(0x387)],_0x49fc24=_0x4ae53a[_0x2ea9f4(0x35f)],_0x3b2586=_0x5edb5b['algo'],_0x561a2e=_0x3b2586[_0x2ea9f4(0x301)],_0x5c70de=_0x3b2586[_0x2ea9f4(0x2d0)]=_0x18ed6c[_0x2ea9f4(0x42f)]({'cfg':_0x18ed6c[_0x2ea9f4(0x42f)]({'keySize':0x80/0x20,'hasher':_0x561a2e,'iterations':0x1}),'init':function(_0x49129e){var _0x42d8d3=_0x2ea9f4;this[_0x42d8d3(0x3c1)]=this[_0x42d8d3(0x3c1)][_0x42d8d3(0x42f)](_0x49129e);},'compute':function(_0x3a5a00,_0x38f6ff){var _0x2cfda2=_0x2ea9f4;for(var _0x516733,_0x246c18=this['cfg'],_0x594d1f=_0x246c18[_0x2cfda2(0x2c6)][_0x2cfda2(0x2f0)](),_0x162319=_0x49fc24[_0x2cfda2(0x2f0)](),_0x181b79=_0x162319[_0x2cfda2(0x2f1)],_0x506131=_0x246c18[_0x2cfda2(0x1e8)],_0x38ef49=_0x246c18[_0x2cfda2(0x20c)];_0x181b79[_0x2cfda2(0x1c0)]<_0x506131;){_0x516733&&_0x594d1f[_0x2cfda2(0x3ff)](_0x516733),_0x516733=_0x594d1f[_0x2cfda2(0x3ff)](_0x3a5a00)['finalize'](_0x38f6ff),_0x594d1f[_0x2cfda2(0x476)]();for(var _0x68b62b=0x1;_0x68b62b<_0x38ef49;_0x68b62b++)_0x516733=_0x594d1f['finalize'](_0x516733),_0x594d1f[_0x2cfda2(0x476)]();_0x162319[_0x2cfda2(0x1a2)](_0x516733);}return _0x162319[_0x2cfda2(0x309)]=_0x506131*0x4,_0x162319;}});_0x5edb5b[_0x2ea9f4(0x2d0)]=function(_0x1039ff,_0x48fce3,_0x1e8392){var _0x38cb71=_0x2ea9f4;return _0x5c70de['create'](_0x1e8392)[_0x38cb71(0x422)](_0x1039ff,_0x48fce3);};}()),_0x235849[_0x53299e(0x2d0)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},En=Je[_0x1494d6(0x444)],ei;function Ni(){var _0x29834f=_0x1494d6;return ei||(ei=0x1,function(_0x5dffb9,_0x147395){(function(_0x18b3dc,_0x4ff9c8,_0xc8c5de){var _0x335dc5=_0x842d;_0x5dffb9[_0x335dc5(0x444)]=_0x4ff9c8(ie(),Ci());}(En,function(_0x41e5ea){var _0x2ce52c=_0x842d;_0x41e5ea[_0x2ce52c(0x1a1)]['Cipher']||function(_0x272b17){var _0x585191=_0x2ce52c,_0x3d36fa=_0x41e5ea,_0x3b87c6=_0x3d36fa[_0x585191(0x1a1)],_0x25e7bc=_0x3b87c6[_0x585191(0x387)],_0x4badce=_0x3b87c6[_0x585191(0x35f)],_0x55b2b5=_0x3b87c6[_0x585191(0x2a3)],_0x366092=_0x3d36fa['enc'];_0x366092[_0x585191(0x1be)];var _0x3a8da4=_0x366092[_0x585191(0x289)],_0x4eb42a=_0x3d36fa[_0x585191(0x3a0)],_0x21cfcb=_0x4eb42a[_0x585191(0x2d0)],_0xad4613=_0x3b87c6[_0x585191(0x2f6)]=_0x55b2b5[_0x585191(0x42f)]({'cfg':_0x25e7bc['extend'](),'createEncryptor':function(_0x53d551,_0x9f1efa){var _0x1cca40=_0x585191;return this[_0x1cca40(0x2f0)](this[_0x1cca40(0x325)],_0x53d551,_0x9f1efa);},'createDecryptor':function(_0x14f681,_0x511d62){var _0x589ada=_0x585191;return this[_0x589ada(0x2f0)](this[_0x589ada(0x405)],_0x14f681,_0x511d62);},'init':function(_0x1bd2db,_0x3f3072,_0x28f2e6){var _0x13238b=_0x585191;this[_0x13238b(0x3c1)]=this['cfg']['extend'](_0x28f2e6),this[_0x13238b(0x1e0)]=_0x1bd2db,this[_0x13238b(0x449)]=_0x3f3072,this[_0x13238b(0x476)]();},'reset':function(){var _0x32cdb4=_0x585191;_0x55b2b5[_0x32cdb4(0x476)]['call'](this),this[_0x32cdb4(0x19c)]();},'process':function(_0x1472c4){var _0x12812c=_0x585191;return this[_0x12812c(0x2ca)](_0x1472c4),this['_process']();},'finalize':function(_0xbf28d1){var _0x455d94=_0x585191;_0xbf28d1&&this[_0x455d94(0x2ca)](_0xbf28d1);var _0x2d4a36=this[_0x455d94(0x1f4)]();return _0x2d4a36;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1e4455(_0x4480f3){var _0x585504=_0x842d;return typeof _0x4480f3==_0x585504(0x231)?_0x4092d1:_0x1d42bc;}return function(_0x1b8a20){return{'encrypt':function(_0x4ae61d,_0x564397,_0x1ac234){var _0x2eb190=_0x842d;return _0x1e4455(_0x564397)[_0x2eb190(0x242)](_0x1b8a20,_0x4ae61d,_0x564397,_0x1ac234);},'decrypt':function(_0x40e2e3,_0x594093,_0x227ca0){var _0x5b3dff=_0x842d;return _0x1e4455(_0x594093)[_0x5b3dff(0x332)](_0x1b8a20,_0x40e2e3,_0x594093,_0x227ca0);}};};}())});_0x3b87c6['StreamCipher']=_0xad4613[_0x585191(0x42f)]({'_doFinalize':function(){var _0xa7210e=this['_process'](!0x0);return _0xa7210e;},'blockSize':0x1});var _0x81a30c=_0x3d36fa[_0x585191(0x191)]={},_0x437989=_0x3b87c6['BlockCipherMode']=_0x25e7bc[_0x585191(0x42f)]({'createEncryptor':function(_0x52b8cf,_0x20a008){var _0x1e65b4=_0x585191;return this[_0x1e65b4(0x2d1)][_0x1e65b4(0x2f0)](_0x52b8cf,_0x20a008);},'createDecryptor':function(_0x3533c8,_0x198607){var _0x34546d=_0x585191;return this[_0x34546d(0x233)][_0x34546d(0x2f0)](_0x3533c8,_0x198607);},'init':function(_0x5e4fc5,_0x3d4e6a){var _0x4f8943=_0x585191;this['_cipher']=_0x5e4fc5,this[_0x4f8943(0x36f)]=_0x3d4e6a;}}),_0x14b7fe=_0x81a30c['CBC']=(function(){var _0x3f05b3=_0x585191,_0x3bcca2=_0x437989[_0x3f05b3(0x42f)]();_0x3bcca2[_0x3f05b3(0x2d1)]=_0x3bcca2[_0x3f05b3(0x42f)]({'processBlock':function(_0x33a39e,_0x3c42db){var _0x43d11d=_0x3f05b3,_0x43e5f1=this[_0x43d11d(0x356)],_0x224c2d=_0x43e5f1[_0x43d11d(0x34c)];_0x4bc3d4[_0x43d11d(0x40b)](this,_0x33a39e,_0x3c42db,_0x224c2d),_0x43e5f1['encryptBlock'](_0x33a39e,_0x3c42db),this[_0x43d11d(0x245)]=_0x33a39e[_0x43d11d(0x316)](_0x3c42db,_0x3c42db+_0x224c2d);}}),_0x3bcca2[_0x3f05b3(0x233)]=_0x3bcca2[_0x3f05b3(0x42f)]({'processBlock':function(_0x366051,_0x8eb1a){var _0x324bf7=_0x3f05b3,_0x185470=this['_cipher'],_0x318bc4=_0x185470[_0x324bf7(0x34c)],_0x112dc8=_0x366051[_0x324bf7(0x316)](_0x8eb1a,_0x8eb1a+_0x318bc4);_0x185470[_0x324bf7(0x17b)](_0x366051,_0x8eb1a),_0x4bc3d4[_0x324bf7(0x40b)](this,_0x366051,_0x8eb1a,_0x318bc4),this['_prevBlock']=_0x112dc8;}});function _0x4bc3d4(_0x5f1f1a,_0x3494fe,_0x3ca3ee){var _0x68d3f0=_0x3f05b3,_0x591201,_0x7e8ce=this['_iv'];_0x7e8ce?(_0x591201=_0x7e8ce,this[_0x68d3f0(0x36f)]=_0x272b17):_0x591201=this[_0x68d3f0(0x245)];for(var _0x2aee6a=0x0;_0x2aee6a<_0x3ca3ee;_0x2aee6a++)_0x5f1f1a[_0x3494fe+_0x2aee6a]^=_0x591201[_0x2aee6a];}return _0x3bcca2;}()),_0x364733=_0x3d36fa[_0x585191(0x1c4)]={},_0x410fc8=_0x364733['Pkcs7']={'pad':function(_0x220de3,_0x284ab2){var _0x2ed559=_0x585191;for(var _0x5a1a24=_0x284ab2*0x4,_0x38e420=_0x5a1a24-_0x220de3[_0x2ed559(0x309)]%_0x5a1a24,_0x3ca2e1=_0x38e420<<0x18|_0x38e420<<0x10|_0x38e420<<0x8|_0x38e420,_0x5c9223=[],_0x6f5c73=0x0;_0x6f5c73<_0x38e420;_0x6f5c73+=0x4)_0x5c9223['push'](_0x3ca2e1);var _0x174508=_0x4badce[_0x2ed559(0x2f0)](_0x5c9223,_0x38e420);_0x220de3[_0x2ed559(0x1a2)](_0x174508);},'unpad':function(_0x30d528){var _0x5dcd3c=_0x585191,_0x282b77=_0x30d528[_0x5dcd3c(0x2f1)][_0x30d528['sigBytes']-0x1>>>0x2]&0xff;_0x30d528['sigBytes']-=_0x282b77;}};_0x3b87c6[_0x585191(0x313)]=_0xad4613[_0x585191(0x42f)]({'cfg':_0xad4613[_0x585191(0x3c1)]['extend']({'mode':_0x14b7fe,'padding':_0x410fc8}),'reset':function(){var _0x8c4a25=_0x585191,_0x493f03;_0xad4613[_0x8c4a25(0x476)][_0x8c4a25(0x40b)](this);var _0x37f58=this[_0x8c4a25(0x3c1)],_0x48de86=_0x37f58['iv'],_0x554c64=_0x37f58[_0x8c4a25(0x191)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x493f03=_0x554c64['createEncryptor']:(_0x493f03=_0x554c64[_0x8c4a25(0x3be)],this[_0x8c4a25(0x2e4)]=0x1),this['_mode']&&this[_0x8c4a25(0x197)][_0x8c4a25(0x341)]==_0x493f03?this['_mode'][_0x8c4a25(0x287)](this,_0x48de86&&_0x48de86['words']):(this[_0x8c4a25(0x197)]=_0x493f03[_0x8c4a25(0x40b)](_0x554c64,this,_0x48de86&&_0x48de86[_0x8c4a25(0x2f1)]),this['_mode'][_0x8c4a25(0x341)]=_0x493f03);},'_doProcessBlock':function(_0x4b4fec,_0x4d1b0c){var _0xa6a517=_0x585191;this[_0xa6a517(0x197)]['processBlock'](_0x4b4fec,_0x4d1b0c);},'_doFinalize':function(){var _0x1dd5e0=_0x585191,_0x3f80db,_0x3d2034=this[_0x1dd5e0(0x3c1)]['padding'];return this[_0x1dd5e0(0x1e0)]==this[_0x1dd5e0(0x325)]?(_0x3d2034[_0x1dd5e0(0x1c4)](this[_0x1dd5e0(0x183)],this['blockSize']),_0x3f80db=this[_0x1dd5e0(0x25f)](!0x0)):(_0x3f80db=this[_0x1dd5e0(0x25f)](!0x0),_0x3d2034['unpad'](_0x3f80db)),_0x3f80db;},'blockSize':0x80/0x20});var _0x687a2a=_0x3b87c6['CipherParams']=_0x25e7bc[_0x585191(0x42f)]({'init':function(_0x1002de){var _0x1caa48=_0x585191;this[_0x1caa48(0x21d)](_0x1002de);},'toString':function(_0x3886c4){var _0x16ce58=_0x585191;return(_0x3886c4||this['formatter'])[_0x16ce58(0x25a)](this);}}),_0x1ab13a=_0x3d36fa[_0x585191(0x226)]={},_0x505e55=_0x1ab13a[_0x585191(0x1b4)]={'stringify':function(_0x5d92a2){var _0x58e1d8=_0x585191,_0xd1d8e2,_0x52cc42=_0x5d92a2[_0x58e1d8(0x3f0)],_0x54e72f=_0x5d92a2[_0x58e1d8(0x307)];return _0x54e72f?_0xd1d8e2=_0x4badce[_0x58e1d8(0x2f0)]([0x53616c74,0x65645f5f])[_0x58e1d8(0x1a2)](_0x54e72f)[_0x58e1d8(0x1a2)](_0x52cc42):_0xd1d8e2=_0x52cc42,_0xd1d8e2[_0x58e1d8(0x256)](_0x3a8da4);},'parse':function(_0x38d141){var _0x7f341b=_0x585191,_0x44b869,_0xb3080f=_0x3a8da4[_0x7f341b(0x2ed)](_0x38d141),_0x22f5df=_0xb3080f[_0x7f341b(0x2f1)];return _0x22f5df[0x0]==0x53616c74&&_0x22f5df[0x1]==0x65645f5f&&(_0x44b869=_0x4badce[_0x7f341b(0x2f0)](_0x22f5df[_0x7f341b(0x316)](0x2,0x4)),_0x22f5df[_0x7f341b(0x366)](0x0,0x4),_0xb3080f[_0x7f341b(0x309)]-=0x10),_0x687a2a[_0x7f341b(0x2f0)]({'ciphertext':_0xb3080f,'salt':_0x44b869});}},_0x1d42bc=_0x3b87c6['SerializableCipher']=_0x25e7bc[_0x585191(0x42f)]({'cfg':_0x25e7bc['extend']({'format':_0x505e55}),'encrypt':function(_0x466f34,_0x55a8ff,_0x258ce8,_0x716b7e){var _0x1df77a=_0x585191;_0x716b7e=this[_0x1df77a(0x3c1)][_0x1df77a(0x42f)](_0x716b7e);var _0x4ef5de=_0x466f34[_0x1df77a(0x343)](_0x258ce8,_0x716b7e),_0x426a1d=_0x4ef5de[_0x1df77a(0x34e)](_0x55a8ff),_0xada6a0=_0x4ef5de['cfg'];return _0x687a2a[_0x1df77a(0x2f0)]({'ciphertext':_0x426a1d,'key':_0x258ce8,'iv':_0xada6a0['iv'],'algorithm':_0x466f34,'mode':_0xada6a0['mode'],'padding':_0xada6a0['padding'],'blockSize':_0x466f34['blockSize'],'formatter':_0x716b7e[_0x1df77a(0x226)]});},'decrypt':function(_0x13813f,_0x371f5c,_0x433631,_0x408e82){var _0x3a3e1e=_0x585191;_0x408e82=this[_0x3a3e1e(0x3c1)][_0x3a3e1e(0x42f)](_0x408e82),_0x371f5c=this[_0x3a3e1e(0x1ac)](_0x371f5c,_0x408e82[_0x3a3e1e(0x226)]);var _0x2aab80=_0x13813f[_0x3a3e1e(0x3be)](_0x433631,_0x408e82)[_0x3a3e1e(0x34e)](_0x371f5c[_0x3a3e1e(0x3f0)]);return _0x2aab80;},'_parse':function(_0x157db8,_0x35ffc1){var _0x392d56=_0x585191;return typeof _0x157db8==_0x392d56(0x231)?_0x35ffc1['parse'](_0x157db8,this):_0x157db8;}}),_0x1687b3=_0x3d36fa[_0x585191(0x209)]={},_0x2788e9=_0x1687b3['OpenSSL']={'execute':function(_0x116d33,_0x221ca1,_0x56a50f,_0x507cd9,_0x1ca440){var _0x539ec4=_0x585191;if(_0x507cd9||(_0x507cd9=_0x4badce[_0x539ec4(0x412)](0x40/0x8)),_0x1ca440)var _0x2c258d=_0x21cfcb[_0x539ec4(0x2f0)]({'keySize':_0x221ca1+_0x56a50f,'hasher':_0x1ca440})[_0x539ec4(0x422)](_0x116d33,_0x507cd9);else var _0x2c258d=_0x21cfcb[_0x539ec4(0x2f0)]({'keySize':_0x221ca1+_0x56a50f})[_0x539ec4(0x422)](_0x116d33,_0x507cd9);var _0xc2a495=_0x4badce[_0x539ec4(0x2f0)](_0x2c258d[_0x539ec4(0x2f1)]['slice'](_0x221ca1),_0x56a50f*0x4);return _0x2c258d[_0x539ec4(0x309)]=_0x221ca1*0x4,_0x687a2a[_0x539ec4(0x2f0)]({'key':_0x2c258d,'iv':_0xc2a495,'salt':_0x507cd9});}},_0x4092d1=_0x3b87c6[_0x585191(0x432)]=_0x1d42bc['extend']({'cfg':_0x1d42bc[_0x585191(0x3c1)]['extend']({'kdf':_0x2788e9}),'encrypt':function(_0x34d19a,_0x3a285c,_0x2d89ef,_0x446de1){var _0xf64608=_0x585191;_0x446de1=this['cfg'][_0xf64608(0x42f)](_0x446de1);var _0x1f7a03=_0x446de1[_0xf64608(0x209)][_0xf64608(0x272)](_0x2d89ef,_0x34d19a['keySize'],_0x34d19a[_0xf64608(0x1c6)],_0x446de1[_0xf64608(0x307)],_0x446de1[_0xf64608(0x2c6)]);_0x446de1['iv']=_0x1f7a03['iv'];var _0x1712bc=_0x1d42bc[_0xf64608(0x242)][_0xf64608(0x40b)](this,_0x34d19a,_0x3a285c,_0x1f7a03[_0xf64608(0x2c8)],_0x446de1);return _0x1712bc['mixIn'](_0x1f7a03),_0x1712bc;},'decrypt':function(_0x458be8,_0x12a8a6,_0x101a96,_0x34186b){var _0x1fa98f=_0x585191;_0x34186b=this['cfg'][_0x1fa98f(0x42f)](_0x34186b),_0x12a8a6=this[_0x1fa98f(0x1ac)](_0x12a8a6,_0x34186b[_0x1fa98f(0x226)]);var _0x367118=_0x34186b[_0x1fa98f(0x209)][_0x1fa98f(0x272)](_0x101a96,_0x458be8[_0x1fa98f(0x1e8)],_0x458be8[_0x1fa98f(0x1c6)],_0x12a8a6[_0x1fa98f(0x307)],_0x34186b[_0x1fa98f(0x2c6)]);_0x34186b['iv']=_0x367118['iv'];var _0x3d7c62=_0x1d42bc[_0x1fa98f(0x332)][_0x1fa98f(0x40b)](this,_0x458be8,_0x12a8a6,_0x367118[_0x1fa98f(0x2c8)],_0x34186b);return _0x3d7c62;}});}();}));}(Je)),Je[_0x29834f(0x444)];}var mn=Ve['exports'],ti;function In(){return ti||(ti=0x1,function(_0x160fc5,_0x181b1f){(function(_0x2d759a,_0x433ec1,_0x2ce01b){var _0x54e87d=_0x842d;_0x160fc5[_0x54e87d(0x444)]=_0x433ec1(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x1b07fa){return(function(){var _0x4133fa=_0x842d,_0x1e3dc4=_0x1b07fa,_0x48e31a=_0x1e3dc4[_0x4133fa(0x1a1)],_0x477e06=_0x48e31a[_0x4133fa(0x313)],_0x1db429=_0x1e3dc4[_0x4133fa(0x3a0)],_0x2578b4=[],_0xc1a11f=[],_0x4f697f=[],_0x2a893d=[],_0x48020f=[],_0x1e53fb=[],_0x4f538a=[],_0xc84a20=[],_0x5add10=[],_0x5c4dcb=[];(function(){for(var _0x2b6a55=[],_0x2f3630=0x0;_0x2f3630<0x100;_0x2f3630++)_0x2f3630<0x80?_0x2b6a55[_0x2f3630]=_0x2f3630<<0x1:_0x2b6a55[_0x2f3630]=_0x2f3630<<0x1^0x11b;for(var _0x10851a=0x0,_0x2d3171=0x0,_0x2f3630=0x0;_0x2f3630<0x100;_0x2f3630++){var _0x30c087=_0x2d3171^_0x2d3171<<0x1^_0x2d3171<<0x2^_0x2d3171<<0x3^_0x2d3171<<0x4;_0x30c087=_0x30c087>>>0x8^_0x30c087&0xff^0x63,_0x2578b4[_0x10851a]=_0x30c087,_0xc1a11f[_0x30c087]=_0x10851a;var _0x1005a2=_0x2b6a55[_0x10851a],_0x74a32b=_0x2b6a55[_0x1005a2],_0x47d40b=_0x2b6a55[_0x74a32b],_0x50001a=_0x2b6a55[_0x30c087]*0x101^_0x30c087*0x1010100;_0x4f697f[_0x10851a]=_0x50001a<<0x18|_0x50001a>>>0x8,_0x2a893d[_0x10851a]=_0x50001a<<0x10|_0x50001a>>>0x10,_0x48020f[_0x10851a]=_0x50001a<<0x8|_0x50001a>>>0x18,_0x1e53fb[_0x10851a]=_0x50001a;var _0x50001a=_0x47d40b*0x1010101^_0x74a32b*0x10001^_0x1005a2*0x101^_0x10851a*0x1010100;_0x4f538a[_0x30c087]=_0x50001a<<0x18|_0x50001a>>>0x8,_0xc84a20[_0x30c087]=_0x50001a<<0x10|_0x50001a>>>0x10,_0x5add10[_0x30c087]=_0x50001a<<0x8|_0x50001a>>>0x18,_0x5c4dcb[_0x30c087]=_0x50001a,_0x10851a?(_0x10851a=_0x1005a2^_0x2b6a55[_0x2b6a55[_0x2b6a55[_0x47d40b^_0x1005a2]]],_0x2d3171^=_0x2b6a55[_0x2b6a55[_0x2d3171]]):_0x10851a=_0x2d3171=0x1;}}());var _0x218928=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5021d3=_0x1db429['AES']=_0x477e06[_0x4133fa(0x42f)]({'_doReset':function(){var _0x5c1d5f=_0x4133fa,_0x3a7158;if(!(this['_nRounds']&&this[_0x5c1d5f(0x2af)]===this[_0x5c1d5f(0x449)])){for(var _0x491ee1=this[_0x5c1d5f(0x2af)]=this['_key'],_0x4971de=_0x491ee1[_0x5c1d5f(0x2f1)],_0x574e3c=_0x491ee1[_0x5c1d5f(0x309)]/0x4,_0x7ba179=this['_nRounds']=_0x574e3c+0x6,_0x1a0920=(_0x7ba179+0x1)*0x4,_0x5ef229=this[_0x5c1d5f(0x3c0)]=[],_0x55c0e6=0x0;_0x55c0e6<_0x1a0920;_0x55c0e6++)_0x55c0e6<_0x574e3c?_0x5ef229[_0x55c0e6]=_0x4971de[_0x55c0e6]:(_0x3a7158=_0x5ef229[_0x55c0e6-0x1],_0x55c0e6%_0x574e3c?_0x574e3c>0x6&&_0x55c0e6%_0x574e3c==0x4&&(_0x3a7158=_0x2578b4[_0x3a7158>>>0x18]<<0x18|_0x2578b4[_0x3a7158>>>0x10&0xff]<<0x10|_0x2578b4[_0x3a7158>>>0x8&0xff]<<0x8|_0x2578b4[_0x3a7158&0xff]):(_0x3a7158=_0x3a7158<<0x8|_0x3a7158>>>0x18,_0x3a7158=_0x2578b4[_0x3a7158>>>0x18]<<0x18|_0x2578b4[_0x3a7158>>>0x10&0xff]<<0x10|_0x2578b4[_0x3a7158>>>0x8&0xff]<<0x8|_0x2578b4[_0x3a7158&0xff],_0x3a7158^=_0x218928[_0x55c0e6/_0x574e3c|0x0]<<0x18),_0x5ef229[_0x55c0e6]=_0x5ef229[_0x55c0e6-_0x574e3c]^_0x3a7158);for(var _0x46ef59=this[_0x5c1d5f(0x409)]=[],_0x42873a=0x0;_0x42873a<_0x1a0920;_0x42873a++){var _0x55c0e6=_0x1a0920-_0x42873a;if(_0x42873a%0x4)var _0x3a7158=_0x5ef229[_0x55c0e6];else var _0x3a7158=_0x5ef229[_0x55c0e6-0x4];_0x42873a<0x4||_0x55c0e6<=0x4?_0x46ef59[_0x42873a]=_0x3a7158:_0x46ef59[_0x42873a]=_0x4f538a[_0x2578b4[_0x3a7158>>>0x18]]^_0xc84a20[_0x2578b4[_0x3a7158>>>0x10&0xff]]^_0x5add10[_0x2578b4[_0x3a7158>>>0x8&0xff]]^_0x5c4dcb[_0x2578b4[_0x3a7158&0xff]];}}},'encryptBlock':function(_0x5d3d3a,_0x49c8f1){var _0x47b999=_0x4133fa;this['_doCryptBlock'](_0x5d3d3a,_0x49c8f1,this[_0x47b999(0x3c0)],_0x4f697f,_0x2a893d,_0x48020f,_0x1e53fb,_0x2578b4);},'decryptBlock':function(_0x5ead3b,_0x526819){var _0x137b70=_0x4133fa,_0x31cea5=_0x5ead3b[_0x526819+0x1];_0x5ead3b[_0x526819+0x1]=_0x5ead3b[_0x526819+0x3],_0x5ead3b[_0x526819+0x3]=_0x31cea5,this[_0x137b70(0x2f4)](_0x5ead3b,_0x526819,this['_invKeySchedule'],_0x4f538a,_0xc84a20,_0x5add10,_0x5c4dcb,_0xc1a11f);var _0x31cea5=_0x5ead3b[_0x526819+0x1];_0x5ead3b[_0x526819+0x1]=_0x5ead3b[_0x526819+0x3],_0x5ead3b[_0x526819+0x3]=_0x31cea5;},'_doCryptBlock':function(_0x52de5f,_0x4a79e4,_0x14edf3,_0x331f1a,_0x3f1a98,_0x8d4578,_0x13a374,_0x3dfa45){var _0x3d7a06=_0x4133fa;for(var _0xff280=this[_0x3d7a06(0x35e)],_0x49b5e2=_0x52de5f[_0x4a79e4]^_0x14edf3[0x0],_0x54f14c=_0x52de5f[_0x4a79e4+0x1]^_0x14edf3[0x1],_0x4f953e=_0x52de5f[_0x4a79e4+0x2]^_0x14edf3[0x2],_0x140dbb=_0x52de5f[_0x4a79e4+0x3]^_0x14edf3[0x3],_0x1219b1=0x4,_0x592310=0x1;_0x592310<_0xff280;_0x592310++){var _0x10abe9=_0x331f1a[_0x49b5e2>>>0x18]^_0x3f1a98[_0x54f14c>>>0x10&0xff]^_0x8d4578[_0x4f953e>>>0x8&0xff]^_0x13a374[_0x140dbb&0xff]^_0x14edf3[_0x1219b1++],_0x123dbb=_0x331f1a[_0x54f14c>>>0x18]^_0x3f1a98[_0x4f953e>>>0x10&0xff]^_0x8d4578[_0x140dbb>>>0x8&0xff]^_0x13a374[_0x49b5e2&0xff]^_0x14edf3[_0x1219b1++],_0x299ad8=_0x331f1a[_0x4f953e>>>0x18]^_0x3f1a98[_0x140dbb>>>0x10&0xff]^_0x8d4578[_0x49b5e2>>>0x8&0xff]^_0x13a374[_0x54f14c&0xff]^_0x14edf3[_0x1219b1++],_0x7129f2=_0x331f1a[_0x140dbb>>>0x18]^_0x3f1a98[_0x49b5e2>>>0x10&0xff]^_0x8d4578[_0x54f14c>>>0x8&0xff]^_0x13a374[_0x4f953e&0xff]^_0x14edf3[_0x1219b1++];_0x49b5e2=_0x10abe9,_0x54f14c=_0x123dbb,_0x4f953e=_0x299ad8,_0x140dbb=_0x7129f2;}var _0x10abe9=(_0x3dfa45[_0x49b5e2>>>0x18]<<0x18|_0x3dfa45[_0x54f14c>>>0x10&0xff]<<0x10|_0x3dfa45[_0x4f953e>>>0x8&0xff]<<0x8|_0x3dfa45[_0x140dbb&0xff])^_0x14edf3[_0x1219b1++],_0x123dbb=(_0x3dfa45[_0x54f14c>>>0x18]<<0x18|_0x3dfa45[_0x4f953e>>>0x10&0xff]<<0x10|_0x3dfa45[_0x140dbb>>>0x8&0xff]<<0x8|_0x3dfa45[_0x49b5e2&0xff])^_0x14edf3[_0x1219b1++],_0x299ad8=(_0x3dfa45[_0x4f953e>>>0x18]<<0x18|_0x3dfa45[_0x140dbb>>>0x10&0xff]<<0x10|_0x3dfa45[_0x49b5e2>>>0x8&0xff]<<0x8|_0x3dfa45[_0x54f14c&0xff])^_0x14edf3[_0x1219b1++],_0x7129f2=(_0x3dfa45[_0x140dbb>>>0x18]<<0x18|_0x3dfa45[_0x49b5e2>>>0x10&0xff]<<0x10|_0x3dfa45[_0x54f14c>>>0x8&0xff]<<0x8|_0x3dfa45[_0x4f953e&0xff])^_0x14edf3[_0x1219b1++];_0x52de5f[_0x4a79e4]=_0x10abe9,_0x52de5f[_0x4a79e4+0x1]=_0x123dbb,_0x52de5f[_0x4a79e4+0x2]=_0x299ad8,_0x52de5f[_0x4a79e4+0x3]=_0x7129f2;},'keySize':0x100/0x20});_0x1e3dc4[_0x4133fa(0x2e6)]=_0x477e06[_0x4133fa(0x3ec)](_0x5021d3);}()),_0x1b07fa['AES'];}));}(Ve)),Ve['exports'];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe['exports'],si;function Rn(){return si||(si=0x1,function(_0x5c30a5,_0x5ef5bc){(function(_0x164bce,_0x229d69){_0x5c30a5['exports']=_0x229d69(ie());}(On,function(_0x4b4243){var _0x47b93d=_0x842d;return _0x4b4243[_0x47b93d(0x40a)][_0x47b93d(0x1be)];}));}(Xe)),Xe['exports'];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze['exports'],ni;function Dn(){var _0x500496=_0x1494d6;return ni||(ni=0x1,function(_0x34bada,_0x5aa998){(function(_0x30a932,_0xf2dd5c){var _0x383d66=_0x842d;_0x34bada[_0x383d66(0x444)]=_0xf2dd5c(ie());}(bn,function(_0x372c02){var _0x234c04=_0x842d;return(function(){var _0x32fe60=_0x842d;if(typeof ArrayBuffer=='function'){var _0x2b585d=_0x372c02,_0x19d62e=_0x2b585d['lib'],_0x18395d=_0x19d62e['WordArray'],_0x5e296b=_0x18395d[_0x32fe60(0x287)],_0x3bf68e=_0x18395d['init']=function(_0x129c93){var _0x282b9c=_0x32fe60;if(_0x129c93 instanceof ArrayBuffer&&(_0x129c93=new Uint8Array(_0x129c93)),(_0x129c93 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x129c93 instanceof Uint8ClampedArray||_0x129c93 instanceof Int16Array||_0x129c93 instanceof Uint16Array||_0x129c93 instanceof Int32Array||_0x129c93 instanceof Uint32Array||_0x129c93 instanceof Float32Array||_0x129c93 instanceof Float64Array)&&(_0x129c93=new Uint8Array(_0x129c93[_0x282b9c(0x1b1)],_0x129c93[_0x282b9c(0x3dc)],_0x129c93['byteLength'])),_0x129c93 instanceof Uint8Array){for(var _0x55f66d=_0x129c93[_0x282b9c(0x3c8)],_0x2f96cc=[],_0x1168ca=0x0;_0x1168ca<_0x55f66d;_0x1168ca++)_0x2f96cc[_0x1168ca>>>0x2]|=_0x129c93[_0x1168ca]<<0x18-_0x1168ca%0x4*0x8;_0x5e296b[_0x282b9c(0x40b)](this,_0x2f96cc,_0x55f66d);}else _0x5e296b[_0x282b9c(0x1e7)](this,arguments);};_0x3bf68e[_0x32fe60(0x389)]=_0x18395d;}}()),_0x372c02['lib'][_0x234c04(0x35f)];}));}(Ze)),Ze[_0x500496(0x444)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe['exports'],ri;function Pn(){return ri||(ri=0x1,function(_0x391ba1,_0x208ae9){(function(_0x5a47f3,_0x385ccd,_0x13bc2f){var _0x2b269d=_0x842d;_0x391ba1[_0x2b269d(0x444)]=_0x385ccd(ie(),Ni());}(An,function(_0x2a9dd7){var _0x3f7684=_0x842d;return _0x2a9dd7['pad'][_0x3f7684(0x327)]={'pad':function(){},'unpad':function(){}},_0x2a9dd7[_0x3f7684(0x1c4)][_0x3f7684(0x327)];}));}(Qe)),Qe['exports'];}var wn=Pn();const Mn=$e(wn);function Ln(_0x17cccc,_0x1146bb){var _0x9eb099=_0x1494d6;const _0x2ee474=_0x1146bb-_0x17cccc[_0x9eb099(0x1c0)]%_0x1146bb,_0x571fa3=String[_0x9eb099(0x305)](_0x2ee474)[_0x9eb099(0x1a4)](_0x2ee474);return _0x17cccc+_0x571fa3;}function xn(_0x5cbfeb,_0x3b4f75){var _0x24d917=_0x1494d6;const _0x30b3f2=Un[_0x24d917(0x412)](0x10),_0x25e60a=Ln(_0x5cbfeb,0x10),_0x4716b0=gn[_0x24d917(0x242)](Nn['parse'](_0x25e60a),ii[_0x24d917(0x2ed)](_0x3b4f75),{'iv':_0x30b3f2,'padding':Mn});return _0x30b3f2['concat'](_0x4716b0[_0x24d917(0x3f0)])[_0x24d917(0x256)](ii);}function kn(){var _0x4c7a4a=_0x1494d6;const _0x3f9d8a=_0x2c067a()[_0x4c7a4a(0x2bf)];if(_0x3f9d8a){const _0x1cd3a5={'time':Math['floor'](Date[_0x4c7a4a(0x1ab)]()/0x3e8),'domain':location[_0x4c7a4a(0x3ed)]};return xn(JSON['stringify'](_0x1cd3a5),_0x3f9d8a);}}var $n=Object[_0x1494d6(0x3e7)],Hn=(_0x4f7c9c,_0x1d1d63,_0xf8d7aa,_0x1fab10)=>{var _0x201195=_0x1494d6;for(var _0xe78224=_0x1fab10>0x1?void 0x0:_0x1fab10?$n(_0x1d1d63,_0xf8d7aa):_0x1d1d63,_0x5969c5=_0x4f7c9c[_0x201195(0x1c0)]-0x1,_0x552c8c;_0x5969c5>=0x0;_0x5969c5--)(_0x552c8c=_0x4f7c9c[_0x5969c5])&&(_0xe78224=_0x552c8c(_0xe78224)||_0xe78224);return _0xe78224;},Bn=(_0x57a49f,_0x35bfa9)=>(_0x3d0942,_0xb82c84)=>_0x35bfa9(_0x3d0942,_0xb82c84,_0x57a49f);let at=class{constructor(_0x3630f4){var _0x307b8d=_0x1494d6;this[_0x307b8d(0x175)]=_0x3630f4,this['_initRequestHeader']();}[_0x1494d6(0x2f8)](){var _0x6e6644=_0x1494d6;this[_0x6e6644(0x175)][_0x6e6644(0x26b)]({'interceptor':(_0x3d6ccd,_0x50a3ed)=>{var _0x38fee9=_0x6e6644;const _0x9c0f07=_0x3d6ccd[_0x38fee9(0x3af)],_0x2ef16d=kn();return _0x2ef16d&&_0x9c0f07[_0x38fee9(0x2d7)](_0x38fee9(0x23c),_0x2ef16d),_0x50a3ed(_0x3d6ccd);}});}};at=Hn([Bn(0x0,_0x40a927(_0x21f421))],at);var jn=Object[_0x1494d6(0x3e7)],Fn=(_0x28266a,_0x50ec82,_0x42f6f0,_0x56553f)=>{for(var _0x4fb925=_0x56553f>0x1?void 0x0:_0x56553f?jn(_0x50ec82,_0x42f6f0):_0x50ec82,_0x35ab55=_0x28266a['length']-0x1,_0x52d914;_0x35ab55>=0x0;_0x35ab55--)(_0x52d914=_0x28266a[_0x35ab55])&&(_0x4fb925=_0x52d914(_0x4fb925)||_0x4fb925);return _0x4fb925;},vt=(_0x29e163,_0x1568a7)=>(_0x586930,_0x2a7cc6)=>_0x1568a7(_0x586930,_0x2a7cc6,_0x29e163);let Ot=class extends _0x2e5652{constructor(_0x77fb5e,_0xfb1d5e,_0x208117){var _0x129a4d=_0x1494d6;super(),D(this,'_unitInfo$',new _0x9f1b26(null)),D(this,_0x129a4d(0x230),this['_unitInfo$']['asObservable']()),(this[_0x129a4d(0x29c)]=_0x77fb5e,this[_0x129a4d(0x2b6)]=_0xfb1d5e,this[_0x129a4d(0x26e)]=_0x208117);}async[_0x1494d6(0x19d)](_0x593b9e,_0x4bd5c3,_0x35757b){var _0x149247=_0x1494d6;this[_0x149247(0x250)]['next']({'unitId':_0x593b9e,'type':_0x4bd5c3});let _0x2c1a13=null;switch(_0x4bd5c3){case Q[_0x149247(0x334)]:{_0x2c1a13=await this[_0x149247(0x2b6)][_0x149247(0x28e)](_0x593b9e,_0x35757b);break;}case Q[_0x149247(0x32a)]:{_0x2c1a13=await this[_0x149247(0x2b6)][_0x149247(0x1e4)](_0x593b9e,_0x35757b);break;}default:{this['_logService']['error'](_0x149247(0x44e),_0x149247(0x401));break;}}return _0x2c1a13;}async['loadUnit'](_0x2db12d,_0x582d26,_0x34ddaa){var _0x4e105e=_0x1494d6,_0x4bf809;this[_0x4e105e(0x250)]['next']({'unitId':_0x2db12d,'type':_0x582d26,'subUnitId':_0x34ddaa});let _0x32598d=0x0;const _0x36d7b7=await((_0x4bf809=this['_localCacheService'])==null?void 0x0:_0x4bf809['loadOfflineData'](_0x2db12d));return _0x36d7b7&&(_0x36d7b7['awaitingChangeset']||_0x36d7b7[_0x4e105e(0x2f2)]['length']!==0x0)&&(_0x32598d=_0x36d7b7[_0x4e105e(0x252)]),_0x32598d===0x0&&this[_0x4e105e(0x29c)]['debug'](_0x4e105e(0x44e),_0x4e105e(0x322)),this[_0x4e105e(0x19d)](_0x2db12d,_0x582d26,_0x32598d);}};Ot=Fn([vt(0x0,_0x1c7d35),vt(0x1,_0x40a927(_0x296a90)),vt(0x2,_0x207d04(J))],Ot);var Vn=Object[_0x1494d6(0x3e7)],Gn=(_0x452a8f,_0x355421,_0x35fa85,_0x2c87d7)=>{var _0x247072=_0x1494d6;for(var _0x4dc126=_0x2c87d7>0x1?void 0x0:_0x2c87d7?Vn(_0x355421,_0x35fa85):_0x355421,_0x52d5d6=_0x452a8f[_0x247072(0x1c0)]-0x1,_0x2484d3;_0x52d5d6>=0x0;_0x52d5d6--)(_0x2484d3=_0x452a8f[_0x52d5d6])&&(_0x4dc126=_0x2484d3(_0x4dc126)||_0x4dc126);return _0x4dc126;},pt=(_0x4cade9,_0x352479)=>(_0x4ac2bc,_0x4752dd)=>_0x352479(_0x4ac2bc,_0x4752dd,_0x4cade9);const Wn=[_0x1494d6(0x2a9),_0x1494d6(0x1e5),_0x1494d6(0x26d),_0x1494d6(0x472),_0x1494d6(0x2bd)],Yn=0x5*0x400*0x400,Kn=_0x1494d6(0x26a),qn=_0x1494d6(0x300);let Rt=class{constructor(_0x534cc2,_0x163dd1,_0x2a33f6){var _0xc513cf=_0x1494d6;D(this,_0xc513cf(0x281),0x0),D(this,_0xc513cf(0x3f2),new _0x6f301c()),D(this,_0xc513cf(0x337),this[_0xc513cf(0x3f2)]),D(this,_0xc513cf(0x2e7),new Map()),(this[_0xc513cf(0x175)]=_0x534cc2,this[_0xc513cf(0x2c3)]=_0x163dd1,this['_univerInstanceService']=_0x2a33f6);}[_0x1494d6(0x280)](_0x4508be){var _0x798455=_0x1494d6;this[_0x798455(0x281)]=_0x4508be,this['_change$'][_0x798455(0x1a6)](_0x4508be);}[_0x1494d6(0x2aa)](_0x176294,_0x3a0d37){var _0x2f7fb7=_0x1494d6;if(_0x3a0d37===_0x308a33[_0x2f7fb7(0x2e2)]){const _0x5d96a0=new Image();return _0x5d96a0[_0x2f7fb7(0x406)]=_0x176294,_0x5d96a0;}return this[_0x2f7fb7(0x2e7)][_0x2f7fb7(0x292)](_0x176294);}['addImageSourceCache'](_0x780f95,_0x493654,_0xecf4c0){var _0x539a4a=_0x1494d6;_0x493654===_0x308a33[_0x539a4a(0x2e2)]||_0xecf4c0==null||this[_0x539a4a(0x2e7)][_0x539a4a(0x2d7)](_0x780f95,_0xecf4c0);}async[_0x1494d6(0x228)](_0x185057){var _0x2b30be=_0x1494d6;try{const _0x1b1503=this[_0x2b30be(0x2cb)](this[_0x2b30be(0x254)](),''+_0x185057),_0x4bae78=(await this[_0x2b30be(0x175)][_0x2b30be(0x292)](_0x1b1503))[_0x2b30be(0x198)];if(_0x4bae78['error']&&_0x4bae78[_0x2b30be(0x2ce)][_0x2b30be(0x35d)]===vi['OK']){const _0x2a76e0=new URL(_0x4bae78[_0x2b30be(0x2c9)],this['_getDownloadEndpointURL']())[_0x2b30be(0x256)]();return Promise[_0x2b30be(0x456)](_0x2a76e0);}return Promise[_0x2b30be(0x329)](_0x4bae78[_0x2b30be(0x2ce)]);}catch(_0x2cafc1){return Promise['reject'](_0x2cafc1);}}async['saveImage'](_0x9f60af){var _0x219383=_0x1494d6;let _0x3278aa='';if(!Wn['includes'](_0x9f60af[_0x219383(0x33a)]))return this[_0x219383(0x3a4)](),Promise[_0x219383(0x329)](new Error(_0x3a1106[_0x219383(0x2e1)]));if(_0x9f60af[_0x219383(0x471)]>Yn)return this['_decreaseWaiting'](),Promise[_0x219383(0x329)](new Error(_0x3a1106[_0x219383(0x425)]));try{const _0xf7ff6d=new FormData();_0xf7ff6d[_0x219383(0x30d)](_0x219383(0x2b7),_0x9f60af);const _0x58afb4=this[_0x219383(0x45e)][_0x219383(0x3f4)](),_0x5f28b0=_0x58afb4==null?void 0x0:_0x58afb4['getUnitId']();if(!_0x5f28b0)throw new Error('unitId\x20is\x20not\x20found');const _0x10b47a=this[_0x219383(0x1cb)]()+'?size='+_0x9f60af[_0x219383(0x471)][_0x219383(0x256)]()+'&source='+pi[_0x219383(0x3e3)]+_0x219383(0x39b)+encodeURIComponent(_0x5f28b0),_0x500a8e={'body':_0xf7ff6d},_0x1b7767=(await this[_0x219383(0x175)][_0x219383(0x3ce)](_0x10b47a,_0x500a8e))[_0x219383(0x198)];if(typeof _0x1b7767[_0x219383(0x44c)]!=_0x219383(0x231))return this[_0x219383(0x3a4)](),Promise[_0x219383(0x329)](new Error(_0x3a1106[_0x219383(0x442)]));_0x3278aa=_0x1b7767[_0x219383(0x44c)];}catch{return this[_0x219383(0x3a4)](),Promise['reject'](new Error(_0x3a1106[_0x219383(0x442)]));}return new Promise((_0x26a0f8,_0x48dfa7)=>{var _0x5ed2f0=_0x219383;const _0x962f44=new FileReader();_0x962f44[_0x5ed2f0(0x3aa)](_0x9f60af),_0x962f44[_0x5ed2f0(0x3a5)]=_0x17e249=>{var _0x5425ea=_0x5ed2f0,_0x589f8b;const _0x16a230=(_0x589f8b=_0x17e249[_0x5425ea(0x41f)])==null?void 0x0:_0x589f8b[_0x5425ea(0x36c)];if(_0x16a230==null){this[_0x5425ea(0x3a4)](),_0x48dfa7(new Error(_0x3a1106[_0x5425ea(0x442)]));return;}const _0x16742f=_0x3a562c(0x6);_0x26a0f8({'imageId':_0x16742f,'imageSourceType':_0x308a33[_0x5425ea(0x447)],'source':_0x3278aa,'base64Cache':_0x16a230,'status':_0x3a1106[_0x5425ea(0x473)]}),this[_0x5425ea(0x3a4)]();};});}[_0x1494d6(0x1cb)](){var _0x53bbc2=_0x1494d6,_0xbd125e;const _0x50c205=this[_0x53bbc2(0x2c3)][_0x53bbc2(0x1f3)](K);return(_0xbd125e=_0x50c205==null?void 0x0:_0x50c205['uploadFileServerUrl'])!=null?_0xbd125e:Kn;}[_0x1494d6(0x254)](){var _0x5eb7f7=_0x1494d6,_0x40e943;const _0x5902bf=this[_0x5eb7f7(0x2c3)][_0x5eb7f7(0x1f3)](K);return(_0x40e943=_0x5902bf==null?void 0x0:_0x5902bf['signUrlServerUrl'])!=null?_0x40e943:qn;}[_0x1494d6(0x28a)](){var _0x38c813=_0x1494d6,_0x576998;const _0x3af46c=this[_0x38c813(0x2c3)][_0x38c813(0x1f3)](K);return(_0x576998=_0x3af46c==null?void 0x0:_0x3af46c[_0x38c813(0x30e)])!=null?_0x576998:location[_0x38c813(0x1b5)];}[_0x1494d6(0x2cb)](_0x1f78c2,_0x1a83ad){var _0x291724=_0x1494d6;return _0x1f78c2[_0x291724(0x464)](_0x291724(0x3b8),_0x1a83ad);}['_decreaseWaiting'](){var _0x957227=_0x1494d6;this['_waitCount']-=0x1,this[_0x957227(0x3f2)]['next'](this[_0x957227(0x281)]);}};Rt=Gn([pt(0x0,_0x40a927(_0x21f421)),pt(0x1,_0x5c8b82),pt(0x2,_0x40a927(_0x3aa953))],Rt);var zn=Object[_0x1494d6(0x3e7)],Jn=(_0xe59d63,_0x4441a8,_0x587acf,_0x5984b9)=>{for(var _0x54538b=_0x5984b9>0x1?void 0x0:_0x5984b9?zn(_0x4441a8,_0x587acf):_0x4441a8,_0x112356=_0xe59d63['length']-0x1,_0x5c2013;_0x112356>=0x0;_0x112356--)(_0x5c2013=_0xe59d63[_0x112356])&&(_0x54538b=_0x5c2013(_0x54538b)||_0x54538b);return _0x54538b;},ai=(_0x414b58,_0x2f5a8a)=>(_0x414ed1,_0x49914e)=>_0x2f5a8a(_0x414ed1,_0x49914e,_0x414b58);const Xn=_0x1494d6(0x201);let Ct=class{constructor(_0xf1faa7,_0x68a41b){var _0x1f618c=_0x1494d6;this['_configService']=_0xf1faa7,this[_0x1f618c(0x3b1)]=_0x68a41b;}['_getAPIPrefixPath'](){var _0x1daa86=_0x1494d6,_0x37e7f1;const _0xc808d0=this[_0x1daa86(0x2c3)][_0x1daa86(0x1f3)](K);return(_0x37e7f1=_0xc808d0==null?void 0x0:_0xc808d0['authzUrl'])!=null?_0x37e7f1:Xn;}async[_0x1494d6(0x238)](_0x73672){var _0x1bf487=_0x1494d6;const _0x502cd5=this[_0x1bf487(0x3a6)]()+'/collaborator';return{'list':[{'title':_0x1bf487(0x19a),'mentions':(await this[_0x1bf487(0x3b1)][_0x1bf487(0x292)](_0x502cd5,{'params':{'objectID':_0x73672[_0x1bf487(0x29e)],'unitID':_0x73672['unitId']}}))[_0x1bf487(0x198)][_0x1bf487(0x3fd)][_0x1bf487(0x31d)](_0x1dbbad=>({'objectId':_0x1dbbad['id'],'name':_0x1dbbad[_0x1bf487(0x459)][_0x1bf487(0x431)],'metadata':{'icon':_0x1dbbad[_0x1bf487(0x459)][_0x1bf487(0x2eb)]},'label':_0x1dbbad[_0x1bf487(0x459)][_0x1bf487(0x431)],'objectType':_0x3a7593[_0x1bf487(0x376)]})),'metadata':{},'type':_0x3a7593[_0x1bf487(0x376)]}]};}};Ct=Jn([ai(0x0,_0x40a927(_0x5c8b82)),ai(0x1,_0x40a927(_0x21f421))],Ct);var Zn=Object[_0x1494d6(0x3e7)],Qn=(_0x544a95,_0x48ebdb,_0x59d22b,_0x570034)=>{for(var _0x4d0af4=_0x570034>0x1?void 0x0:_0x570034?Zn(_0x48ebdb,_0x59d22b):_0x48ebdb,_0x203dcf=_0x544a95['length']-0x1,_0xace511;_0x203dcf>=0x0;_0x203dcf--)(_0xace511=_0x544a95[_0x203dcf])&&(_0x4d0af4=_0xace511(_0x4d0af4)||_0x4d0af4);return _0x4d0af4;},Ue=(_0x46a3b3,_0x51a8d3)=>(_0x517752,_0x47ee71)=>_0x51a8d3(_0x517752,_0x47ee71,_0x46a3b3);let ot=class extends _0x2e5652{constructor(_0xcfc079,_0x461d69,_0x1a47c5,_0x2653b3,_0x1bc4b0){var _0x37d696=_0x1494d6;super(),this['_injector']=_0xcfc079,this[_0x37d696(0x45e)]=_0x461d69,this['_permissionService']=_0x1a47c5,this[_0x37d696(0x45c)]=_0x2653b3,this[_0x37d696(0x177)]=_0x1bc4b0,this[_0x37d696(0x291)](),this[_0x37d696(0x363)]();}[_0x1494d6(0x363)](){var _0x131187=_0x1494d6;const _0x4dfb35=async _0x14cc9d=>{var _0x24748b=_0x842d;(await this[_0x24748b(0x45c)][_0x24748b(0x46a)](_0x14cc9d))[_0x24748b(0x1c8)][_0x24748b(0x354)](_0x54e0eb(_0x27dddd=>_0x27dddd[_0x24748b(0x440)]===_0x3719ba[_0x24748b(0x26f)]),_0x897a52(this['dispose$']))[_0x24748b(0x3c6)](_0x4ff657=>{var _0x20d12d=_0x24748b;const _0x3eb089=_0x4ff657,{reason:_0x5dba66}=_0x3eb089[_0x20d12d(0x40d)];this[_0x20d12d(0x177)][_0x20d12d(0x21b)]({'id':re['CLOSE_ROOM'],'data':_0x5dba66}),this[_0x20d12d(0x196)][_0x20d12d(0x47a)](new _0x2034a7(_0x14cc9d)['id'],!0x1),this[_0x20d12d(0x45c)][_0x20d12d(0x277)](_0x14cc9d);});};_0x285c6f(this['_univerInstanceService'][_0x131187(0x40e)](_0x2a0d2a['UNIVER_SHEET']),this[_0x131187(0x45e)]['getTypeOfUnitAdded$'](_0x2a0d2a['UNIVER_DOC']))[_0x131187(0x354)](_0xf67729(_0x52df67=>_0x52df67[_0x131187(0x47e)]()),_0x54e0eb(_0x258e6f=>!_0xa2efb9(_0x258e6f)),_0x897a52(this[_0x131187(0x2f3)]))[_0x131187(0x3c6)](_0x1f439d=>{_0x4dfb35(_0x1f439d);});}[_0x1494d6(0x291)](){var _0x1ed216=_0x1494d6;const _0x322485=async _0x419f62=>{var _0x6c20d9=_0x842d;const _0x19e45c=await this[_0x6c20d9(0x45c)][_0x6c20d9(0x46a)](_0x419f62),_0x5f12af=this[_0x6c20d9(0x380)]['get'](_0x5a12cb);_0x19e45c[_0x6c20d9(0x1c8)][_0x6c20d9(0x354)](_0x54e0eb(_0x30957e=>_0x30957e[_0x6c20d9(0x440)]===_0x3719ba[_0x6c20d9(0x190)]),_0x897a52(this[_0x6c20d9(0x2f3)]))['subscribe'](_0x31d1f3=>{var _0x23bf52=_0x6c20d9;const _0x1e0d5f=_0x31d1f3,{objectId:_0x485859}=_0x1e0d5f[_0x23bf52(0x40d)];_0x485859===_0x419f62?_0x5f12af['initWorkbookPermissionChange'](_0x419f62):_0x5f12af[_0x23bf52(0x33c)](_0x419f62,_0x485859);});};_0x285c6f(this[_0x1ed216(0x45e)][_0x1ed216(0x40e)](_0x2a0d2a[_0x1ed216(0x334)]))['pipe'](_0xf67729(_0x288878=>_0x288878[_0x1ed216(0x47e)]()),_0x54e0eb(_0x1ed07d=>!_0xa2efb9(_0x1ed07d)),_0x897a52(this[_0x1ed216(0x2f3)]))[_0x1ed216(0x3c6)](_0x3cf1a5=>{_0x322485(_0x3cf1a5);});}};ot=Qn([Ue(0x0,_0x40a927(_0x10bc24)),Ue(0x1,_0x3aa953),Ue(0x2,_0x2fea40),Ue(0x3,_0x40a927(we)),Ue(0x4,_0x40a927(ve))],ot);var er=Object[_0x1494d6(0x3e7)],tr=(_0x5ca34c,_0x1f20f2,_0x11c563,_0x3c4c77)=>{var _0x43fa1d=_0x1494d6;for(var _0xf8803b=_0x3c4c77>0x1?void 0x0:_0x3c4c77?er(_0x1f20f2,_0x11c563):_0x1f20f2,_0x47feda=_0x5ca34c[_0x43fa1d(0x1c0)]-0x1,_0x274e8f;_0x47feda>=0x0;_0x47feda--)(_0x274e8f=_0x5ca34c[_0x47feda])&&(_0xf8803b=_0x274e8f(_0xf8803b)||_0xf8803b);return _0xf8803b;},oi=(_0x2544f3,_0x256d8d)=>(_0xbcdc09,_0x596808)=>_0x256d8d(_0xbcdc09,_0x596808,_0x2544f3);let Nt=class{constructor(_0x3c8237,_0x8a9b4b){var _0x2d0622=_0x1494d6;this[_0x2d0622(0x2c3)]=_0x3c8237,this[_0x2d0622(0x175)]=_0x8a9b4b;}async[_0x1494d6(0x3d5)](_0x291a0e,_0x43fd4f){var _0x5e82ce=_0x1494d6,_0x52f671;const {unitID:_0x167e60,type:_0x358546,revision:_0x187cd6=0x0}=_0x43fd4f,_0x214c82=this[_0x5e82ce(0x1bf)]()+'/'+_0x358546+_0x5e82ce(0x210)+_0x167e60+_0x5e82ce(0x25b)+_0x187cd6,_0x488909=(await this[_0x5e82ce(0x175)][_0x5e82ce(0x292)](_0x214c82))['body'],_0xb5a32a=(_0x52f671=_0x488909['snapshot'])==null?void 0x0:_0x52f671[_0x5e82ce(0x1c7)];if(_0xb5a32a){const _0x9d24f1=_0xb5a32a==null?void 0x0:_0xb5a32a['originalMeta'],_0x213b79=_0x34c8a9['encode'](_0x2e7445(_0x9d24f1));_0xb5a32a[_0x5e82ce(0x28d)]=_0x213b79,Object[_0x5e82ce(0x1c9)](_0xb5a32a[_0x5e82ce(0x179)])[_0x5e82ce(0x2f5)](([,_0x1d3167])=>{var _0x4ffdde=_0x5e82ce;const _0x464e79=_0x1d3167[_0x4ffdde(0x28d)],_0x3d64a9=_0x34c8a9[_0x4ffdde(0x2a7)](_0x2e7445(_0x464e79));_0x1d3167[_0x4ffdde(0x28d)]=_0x3d64a9;});}return _0x488909;}async[_0x1494d6(0x435)](_0x24846f,_0xce301a){var _0x549caa=_0x1494d6;const {unitID:_0x44e789,type:_0x2f27bb,blockID:_0x8a16a3}=_0xce301a,_0x266302=this[_0x549caa(0x328)]()+'/'+_0x2f27bb+_0x549caa(0x210)+_0x44e789+_0x549caa(0x24d)+_0x8a16a3;return(await this[_0x549caa(0x175)][_0x549caa(0x292)](_0x266302))[_0x549caa(0x198)];}async[_0x1494d6(0x187)](_0x3b40d0,_0x9f5324){var _0x14d642=_0x1494d6;const {unitID:_0x41bede,type:_0x2d2503,blockID:_0x1f5355}=_0x9f5324,_0x194f3a=this[_0x14d642(0x328)]()+_0x14d642(0x24d)+_0x2d2503+_0x14d642(0x210)+_0x41bede+'/block/'+_0x1f5355;return(await this[_0x14d642(0x175)][_0x14d642(0x292)](_0x194f3a))['body'];}async[_0x1494d6(0x39d)](_0x59b043,_0xa84eb0){var _0x614bd4=_0x1494d6;const {unitID:_0x3a6048,type:_0x2981c2,from:_0x22e44e,to:_0xdb1e12}=_0xa84eb0,_0x3a20a7=this[_0x614bd4(0x328)]()+'/'+_0x2981c2+_0x614bd4(0x210)+_0x3a6048+_0x614bd4(0x336)+_0x22e44e+'&to='+_0xdb1e12;return(await this[_0x614bd4(0x175)][_0x614bd4(0x292)](_0x3a20a7))[_0x614bd4(0x198)];}['getSnapshotAPIPath'](){var _0x114d0c=_0x1494d6,_0xe90668;return(_0xe90668=this[_0x114d0c(0x2c3)]['getConfig'](vs))!=null?_0xe90668:this[_0x114d0c(0x328)]();}['_getAPIPrefix'](){var _0x209f48=_0x1494d6,_0x4d659e;const _0xf174c1=this[_0x209f48(0x2c3)][_0x209f48(0x1f3)](K);return(_0x4d659e=_0xf174c1==null?void 0x0:_0xf174c1[_0x209f48(0x324)])!=null?_0x4d659e:fs;}async[_0x1494d6(0x33b)](_0x57b810,_0x309304){var _0x41657d=_0x1494d6;const _0x2c3a3b=_0x41657d(0x2b8)+_0x309304['type']+_0x41657d(0x210)+_0x309304[_0x41657d(0x430)]+_0x41657d(0x1a7);return(await this['_httpService'][_0x41657d(0x292)](_0x2c3a3b,{'params':{'resourceId':JSON['stringify'](_0x309304[_0x41657d(0x385)])}}))[_0x41657d(0x198)];}[_0x1494d6(0x378)](){var _0x1ccfc9=_0x1494d6;throw new Error(_0x1ccfc9(0x22f));}[_0x1494d6(0x3f1)](){var _0x893e78=_0x1494d6;throw new Error(_0x893e78(0x22f));}[_0x1494d6(0x331)](){var _0x5469f3=_0x1494d6;throw new Error(_0x5469f3(0x22f));}['saveChangeset'](){var _0x3a057b=_0x1494d6;throw new Error(_0x3a057b(0x22f));}[_0x1494d6(0x243)](){var _0x3737ca=_0x1494d6;throw new Error(_0x3737ca(0x22f));}[_0x1494d6(0x3a8)](){var _0x3c2577=_0x1494d6;throw new Error(_0x3c2577(0x22f));}};Nt=tr([oi(0x0,_0x5c8b82),oi(0x1,_0x40a927(_0x21f421))],Nt);var ir=Object[_0x1494d6(0x3e7)],sr=(_0x30f7e4,_0x33fb7e,_0x3394e6,_0xe20905)=>{var _0x56513d=_0x1494d6;for(var _0x4da367=_0xe20905>0x1?void 0x0:_0xe20905?ir(_0x33fb7e,_0x3394e6):_0x33fb7e,_0x24aa63=_0x30f7e4[_0x56513d(0x1c0)]-0x1,_0x5b2ec2;_0x24aa63>=0x0;_0x24aa63--)(_0x5b2ec2=_0x30f7e4[_0x24aa63])&&(_0x4da367=_0x5b2ec2(_0x4da367)||_0x4da367);return _0x4da367;},Ae=(_0x20d14a,_0xc95016)=>(_0x5622f9,_0x3ef4a4)=>_0xc95016(_0x5622f9,_0x3ef4a4,_0x20d14a);let bt=class extends _0x19047e{constructor(_0x179e7b,_0x32fa86,_0x197f31,_0x1e3758,_0x376da2){var _0x1410df=_0x1494d6;super(_0x179e7b,_0x32fa86,_0x197f31),this[_0x1410df(0x3bb)]=_0x1e3758,this[_0x1410df(0x29c)]=_0x376da2;}[_0x1494d6(0x468)](_0x3e01f2,_0x1ef65b){var _0x3e8610=_0x1494d6;const _0x5a3c1d=this[_0x3e8610(0x20e)](_0x3e01f2);if(_0x5a3c1d)try{const _0x143687=this[_0x3e8610(0x306)](_0x5a3c1d,_0x1ef65b);this[_0x3e8610(0x303)](_0x3e01f2,_0x143687);}catch(_0x5b6910){this[_0x3e8610(0x29c)][_0x3e8610(0x2ce)](_0x3e8610(0x404),_0x5b6910),this[_0x3e8610(0x38c)](_0x3e01f2);}const _0x2700ec=this[_0x3e8610(0x445)](_0x3e01f2);if(_0x2700ec)try{const _0x2adfd5=this[_0x3e8610(0x306)](_0x2700ec,_0x1ef65b);this[_0x3e8610(0x421)](_0x3e01f2,_0x2adfd5);}catch(_0x38127c){this[_0x3e8610(0x29c)]['error'](_0x38127c),this['_clearRedo'](_0x3e01f2);}}['_clearUndo'](_0x27dfda){var _0x5e18a0=_0x1494d6;const _0x526dda=this[_0x5e18a0(0x20e)](_0x27dfda);_0x526dda&&(_0x526dda[_0x5e18a0(0x1c0)]=0x0,this[_0x5e18a0(0x1f0)]());}[_0x1494d6(0x317)](_0x1897dc){var _0x1b119c=_0x1494d6;const _0x53f957=this[_0x1b119c(0x445)](_0x1897dc);_0x53f957&&(_0x53f957[_0x1b119c(0x1c0)]=0x0,this['_updateStatus']());}[_0x1494d6(0x303)](_0x5a610f,_0x19bcb9){var _0x421692=_0x1494d6;this[_0x421692(0x41b)][_0x421692(0x2d7)](_0x5a610f,_0x19bcb9),this['_updateStatus']();}['_substituteRedoStack'](_0x3b8023,_0x2dd2aa){var _0x4e9521=_0x1494d6;this[_0x4e9521(0x24b)][_0x4e9521(0x2d7)](_0x3b8023,_0x2dd2aa),this[_0x4e9521(0x1f0)]();}[_0x1494d6(0x306)](_0x267061,_0x8d7e){var _0x4c2df9=_0x1494d6;const _0x307b63=[];let _0x50c77f=_0x8d7e,_0x461fd7=_0x8d7e;for(let _0x358676=_0x267061[_0x4c2df9(0x1c0)]-0x1;_0x358676>=0x0;_0x358676--){const {unitID:_0x8bb60d,undoMutations:_0x58a23b,redoMutations:_0x1ef7a6}=_0x267061[_0x358676],_0x547a95=this[_0x4c2df9(0x3bb)]['transformMutationsWithChangeset'](_0x50c77f,_0x58a23b),_0x87e97f=this['_transformService'][_0x4c2df9(0x2e5)](_0x461fd7,_0x1ef7a6);if(_0x9cf1b2(_0x547a95)||_0x9cf1b2(_0x87e97f)){this[_0x4c2df9(0x29c)][_0x4c2df9(0x2ce)](_0x4c2df9(0x404),_0x4c2df9(0x1e3),_0x547a95,_0x87e97f);break;}_0x50c77f=_0x547a95['c1Prime'],_0x461fd7=_0x87e97f[_0x4c2df9(0x38d)],_0x307b63[_0x4c2df9(0x359)]({'unitID':_0x8bb60d,'undoMutations':_0x547a95[_0x4c2df9(0x3de)],'redoMutations':_0x87e97f[_0x4c2df9(0x3de)]});}return _0x307b63[_0x4c2df9(0x3cf)]();}};bt=sr([Ae(0x0,_0x3aa953),Ae(0x1,_0x40a596),Ae(0x2,_0x26392a),Ae(0x3,_0x2bd043),Ae(0x4,_0x1c7d35)],bt);var nr=Object[_0x1494d6(0x3cd)],rr=Object[_0x1494d6(0x3e7)],ar=(_0x437a71,_0x7ea6e5,_0x3d662d)=>_0x7ea6e5 in _0x437a71?nr(_0x437a71,_0x7ea6e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d662d}):_0x437a71[_0x7ea6e5]=_0x3d662d,or=(_0x15d3f1,_0x1671fa,_0x4f014a,_0x5b00ed)=>{for(var _0x9df1fa=_0x5b00ed>0x1?void 0x0:_0x5b00ed?rr(_0x1671fa,_0x4f014a):_0x1671fa,_0x369bbc=_0x15d3f1['length']-0x1,_0x358d79;_0x369bbc>=0x0;_0x369bbc--)(_0x358d79=_0x15d3f1[_0x369bbc])&&(_0x9df1fa=_0x358d79(_0x9df1fa)||_0x9df1fa);return _0x9df1fa;},Et=(_0x47da9b,_0xc34ebe)=>(_0x348497,_0x4e5b05)=>_0xc34ebe(_0x348497,_0x4e5b05,_0x47da9b),cr=(_0x5944f1,_0x208a8b,_0x32a47a)=>ar(_0x5944f1,_0x208a8b+'',_0x32a47a);const _r=_0x1494d6(0x1b9);let Dt=class extends _0x695746{constructor(_0x27bfa9,_0x2934eb,_0x2a3988,_0x10b767){var _0x322790=_0x1494d6;super(),D(this,_0x322790(0x25e)),(this['_logService']=_0x2934eb,this[_0x322790(0x380)]=_0x2a3988,this['_configService']=_0x10b767);const {..._0x5cf2da}=_0x10f4d2({},Ls,_0x27bfa9);if(!_0x5cf2da[_0x322790(0x217)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x322790(0x25e)]=_0x5cf2da,this['_configService']['setConfig'](K,_0x5cf2da);}[_0x1494d6(0x2a5)](){var _0x3498cb=_0x1494d6;this[_0x3498cb(0x3d8)](),this[_0x3498cb(0x36a)]();}[_0x1494d6(0x3d8)](){var _0x436235=_0x1494d6,_0x2b3435,_0x28704a;this['_injector'][_0x436235(0x283)](_0x5154ce)&&this['_logService']['error'](_0x436235(0x355),_0x436235(0x2d4));const _0x5e1e36=_0x349fb5([[_0x5154ce,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this['_config'][_0x436235(0x217)]}],[_0x23a044,{'useClass':Nt}],[_0x550f2e,{'useClass':Tt}],[_0x44bb90,{'useClass':Rt}],[_0x4a57b1,{'useClass':Ct}],[nt],[gt]],(_0x2b3435=this[_0x436235(0x25e)])==null?void 0x0:_0x2b3435[_0x436235(0x424)]);if(!((_0x28704a=this[_0x436235(0x25e)])!=null&&_0x28704a[_0x436235(0x18f)])){const _0x256d9a=_0x5e1e36[_0x436235(0x46b)](([_0x2f9b98])=>_0x2f9b98===_t);_0x256d9a!==-0x1&&_0x5e1e36[_0x436235(0x366)](_0x256d9a,0x1);}_0x291633(this[_0x436235(0x380)],_0x5e1e36);}['_initDependencies'](){var _0x2358d9=_0x1494d6,_0x3c9488,_0x51dc21,_0x5e8e34;this[_0x2358d9(0x380)][_0x2358d9(0x292)](_0x21f421)[_0x2358d9(0x26b)]({'priority':0x14,'interceptor':_0x5410e1({'maxParallel':0x6})}),(_0x3c9488=this[_0x2358d9(0x25e)])!=null&&_0x3c9488['enableOfflineEditing']||(_0x51dc21=this['_injector'][_0x2358d9(0x292)](J,_0x18dc41[_0x2358d9(0x3bd)]))==null||_0x51dc21[_0x2358d9(0x3fc)](),(_0x5e8e34=this[_0x2358d9(0x25e)])!=null&&_0x5e8e34[_0x2358d9(0x1d2)]&&_0x27ce6e(this[_0x2358d9(0x380)],[[rt]]),_0x27ce6e(this[_0x2358d9(0x380)],[[at],[nt],[ot]]);}};cr(Dt,_0x1494d6(0x1a0),_r),Dt=or([_0x17d11c(_0x1a80f6,_0x326f79),Et(0x1,_0x1c7d35),Et(0x2,_0x40a927(_0x10bc24)),Et(0x3,_0x5c8b82)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};
|