@univerjs-pro/collaboration-client 0.8.1-nightly.202506191607 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0xb98a65=_0x5981;function _0x5981(_0x4050d5,_0x4a00fc){var _0x4dcd52=_0x4dcd();return _0x5981=function(_0x598116,_0x25f3e2){_0x598116=_0x598116-0x13b;var _0x3e7fcb=_0x4dcd52[_0x598116];return _0x3e7fcb;},_0x5981(_0x4050d5,_0x4a00fc);}(function(_0x1f124f,_0x373f9a){var _0x37a423=_0x5981,_0x2de8e5=_0x1f124f();while(!![]){try{var _0x3586ed=-parseInt(_0x37a423(0x3ba))/0x1+parseInt(_0x37a423(0x41a))/0x2*(parseInt(_0x37a423(0x2a2))/0x3)+-parseInt(_0x37a423(0x1d8))/0x4+parseInt(_0x37a423(0x172))/0x5+parseInt(_0x37a423(0x47e))/0x6+-parseInt(_0x37a423(0x212))/0x7+parseInt(_0x37a423(0x1f4))/0x8*(-parseInt(_0x37a423(0x182))/0x9);if(_0x3586ed===_0x373f9a)break;else _0x2de8e5['push'](_0x2de8e5['shift']());}catch(_0x1f8bb0){_0x2de8e5['push'](_0x2de8e5['shift']());}}}(_0x4dcd,0x73b3c));var Ut=Object['defineProperty'],At=(_0x4c9e2e,_0x51b3d4,_0x406524)=>_0x51b3d4 in _0x4c9e2e?Ut(_0x4c9e2e,_0x51b3d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x406524}):_0x4c9e2e[_0x51b3d4]=_0x406524,A=(_0x4092ac,_0x4ef67e,_0x310c42)=>At(_0x4092ac,typeof _0x4ef67e!='symbol'?_0x4ef67e+'':_0x4ef67e,_0x310c42);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0xb98a65(0x403)});const a=require(_0xb98a65(0x254)),$=require(_0xb98a65(0x16b)),V=require(_0xb98a65(0x2f9)),p=require(_0xb98a65(0x3cf)),K=require('@univerjs/network'),Pt=require(_0xb98a65(0x401)),ht=require(_0xb98a65(0x36d)),X=require(_0xb98a65(0x493)),z=require(_0xb98a65(0x1d2)),Lt=require(_0xb98a65(0x3f3)),_t=_0xb98a65(0x17c),wt=_0xb98a65(0x439),lt=_0xb98a65(0x46d),Mt=_0xb98a65(0x3f0),xt=0x7d0,ut=_0xb98a65(0x1af),dt=_0xb98a65(0x272),kt=_0xb98a65(0x257),vt=_0xb98a65(0x26b),Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft=_0xb98a65(0x4c7),jt=0x3,Bt=_0xb98a65(0x46a),Ft=0x3e8,It=_0xb98a65(0x2f8),Vt=_0xb98a65(0x32a),pt=_0xb98a65(0x19b),Wt=_0xb98a65(0x49e),Yt=_0xb98a65(0x286),Gt=_0xb98a65(0x450);var gt=(_0x5a488f=>(_0x5a488f[_0x5a488f[_0xb98a65(0x3bb)]=0x0]=_0xb98a65(0x3bb),_0x5a488f[_0x5a488f['OK']=0x1]='OK',_0x5a488f[_0x5a488f['INTERNAL_ERROR']=0x2]=_0xb98a65(0x453),_0x5a488f[_0x5a488f['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5a488f[_0x5a488f[_0xb98a65(0x2a9)]=0x4]=_0xb98a65(0x2a9),_0x5a488f[_0x5a488f['UNAUTHENTICATED']=0x5]=_0xb98a65(0x250),_0x5a488f[_0x5a488f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x5a488f[_0x5a488f[_0xb98a65(0x358)]=0x7]=_0xb98a65(0x358),_0x5a488f[_0x5a488f[_0xb98a65(0x44e)]=0x8]=_0xb98a65(0x44e),_0x5a488f[_0x5a488f[_0xb98a65(0x39e)]=0x9]='COMPLETION_FINISHED',_0x5a488f[_0x5a488f[_0xb98a65(0x445)]=0xa]=_0xb98a65(0x445),_0x5a488f[_0x5a488f[_0xb98a65(0x330)]=0xb]=_0xb98a65(0x330),_0x5a488f[_0x5a488f[_0xb98a65(0x466)]=0xc]=_0xb98a65(0x466),_0x5a488f[_0x5a488f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xb98a65(0x2fe),_0x5a488f[_0x5a488f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xb98a65(0x48e),_0x5a488f[_0x5a488f[_0xb98a65(0x2e6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5a488f[_0x5a488f[_0xb98a65(0x327)]=0x1771]=_0xb98a65(0x327),_0x5a488f[_0x5a488f[_0xb98a65(0x3d7)]=0x1772]=_0xb98a65(0x3d7),_0x5a488f[_0x5a488f[_0xb98a65(0x23c)]=0x1773]=_0xb98a65(0x23c),_0x5a488f[_0x5a488f[_0xb98a65(0x41d)]=0x1b59]=_0xb98a65(0x41d),_0x5a488f[_0x5a488f[_0xb98a65(0x36f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5a488f[_0x5a488f[_0xb98a65(0x251)]=0x1b5b]=_0xb98a65(0x251),_0x5a488f[_0x5a488f[_0xb98a65(0x1ea)]=0x1b5c]=_0xb98a65(0x1ea),_0x5a488f[_0x5a488f[_0xb98a65(0x42d)]=0x1b5d]=_0xb98a65(0x42d),_0x5a488f[_0x5a488f[_0xb98a65(0x1aa)]=0x1f41]=_0xb98a65(0x1aa),_0x5a488f[_0x5a488f[_0xb98a65(0x444)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5a488f[_0x5a488f[_0xb98a65(0x1b3)]=0x232a]=_0xb98a65(0x1b3),_0x5a488f[_0x5a488f[_0xb98a65(0x1c5)]=0x232b]=_0xb98a65(0x1c5),_0x5a488f[_0x5a488f[_0xb98a65(0x441)]=0x232c]=_0xb98a65(0x441),_0x5a488f[_0x5a488f[_0xb98a65(0x280)]=0x232d]=_0xb98a65(0x280),_0x5a488f[_0x5a488f[_0xb98a65(0x3d4)]=0x2711]=_0xb98a65(0x3d4),_0x5a488f[_0x5a488f[_0xb98a65(0x2ea)]=0x2712]=_0xb98a65(0x2ea),_0x5a488f[_0x5a488f[_0xb98a65(0x17b)]=0x2713]=_0xb98a65(0x17b),_0x5a488f[_0x5a488f[_0xb98a65(0x4b6)]=0x2714]=_0xb98a65(0x4b6),_0x5a488f[_0x5a488f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xb98a65(0x19e),_0x5a488f[_0x5a488f[_0xb98a65(0x462)]=0x271b]=_0xb98a65(0x462),_0x5a488f[_0x5a488f['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xb98a65(0x3e8),_0x5a488f[_0x5a488f['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xb98a65(0x3dc),_0x5a488f[_0x5a488f[_0xb98a65(0x443)]=0x271e]=_0xb98a65(0x443),_0x5a488f[_0x5a488f[_0xb98a65(0x274)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5a488f[_0x5a488f[_0xb98a65(0x1c2)]=0x2720]=_0xb98a65(0x1c2),_0x5a488f[_0x5a488f[_0xb98a65(0x258)]=0x2af9]=_0xb98a65(0x258),_0x5a488f[_0x5a488f['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xb98a65(0x396),_0x5a488f[_0x5a488f[_0xb98a65(0x28c)]=0x2ee2]='INVALID_INVITE_CODE',_0x5a488f[_0x5a488f[_0xb98a65(0x2a7)]=0x2ee3]=_0xb98a65(0x2a7),_0x5a488f[_0x5a488f[_0xb98a65(0x3b0)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5a488f[_0x5a488f[_0xb98a65(0x473)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5a488f[_0x5a488f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb98a65(0x264),_0x5a488f[_0x5a488f[_0xb98a65(0x1da)]=0x32ca]=_0xb98a65(0x1da),_0x5a488f[_0x5a488f[_0xb98a65(0x1b7)]=0x32cb]=_0xb98a65(0x1b7),_0x5a488f[_0x5a488f[_0xb98a65(0x15c)]=-0x1]=_0xb98a65(0x15c),_0x5a488f))(gt||{}),J=(_0x54dfed=>(_0x54dfed[_0x54dfed[_0xb98a65(0x470)]=0x0]=_0xb98a65(0x470),_0x54dfed[_0x54dfed['UNIVER_DOC']=0x1]=_0xb98a65(0x153),_0x54dfed[_0x54dfed[_0xb98a65(0x42b)]=0x2]=_0xb98a65(0x42b),_0x54dfed[_0x54dfed[_0xb98a65(0x47a)]=0x3]=_0xb98a65(0x47a),_0x54dfed[_0x54dfed[_0xb98a65(0x419)]=0x4]='UNIVER_PROJECT',_0x54dfed[_0x54dfed[_0xb98a65(0x15c)]=-0x1]=_0xb98a65(0x15c),_0x54dfed))(J||{}),W=(_0x2dbdda=>(_0x2dbdda[_0x2dbdda[_0xb98a65(0x3f2)]=0x0]=_0xb98a65(0x3f2),_0x2dbdda[_0x2dbdda[_0xb98a65(0x189)]=0x1]=_0xb98a65(0x189),_0x2dbdda[_0x2dbdda[_0xb98a65(0x16e)]=0x2]='JOIN',_0x2dbdda[_0x2dbdda['LEAVE']=0x3]=_0xb98a65(0x455),_0x2dbdda[_0x2dbdda[_0xb98a65(0x224)]=0x4]=_0xb98a65(0x224),_0x2dbdda[_0x2dbdda[_0xb98a65(0x4ae)]=0x5]=_0xb98a65(0x4ae),_0x2dbdda[_0x2dbdda['RECV']=0x6]=_0xb98a65(0x468),_0x2dbdda[_0x2dbdda[_0xb98a65(0x15c)]=-0x1]='UNRECOGNIZED',_0x2dbdda))(W||{}),oe=(_0x2cf43c=>(_0x2cf43c[_0x2cf43c['UNKNOWN_CODE']=0x0]=_0xb98a65(0x328),_0x2cf43c[_0x2cf43c['OK']=0x1]='OK',_0x2cf43c[_0x2cf43c[_0xb98a65(0x3ae)]=0x2]=_0xb98a65(0x3ae),_0x2cf43c[_0x2cf43c['JOIN_ROOM_FULL']=0x3e9]=_0xb98a65(0x426),_0x2cf43c[_0x2cf43c[_0xb98a65(0x3cd)]=0x3ea]=_0xb98a65(0x3cd),_0x2cf43c[_0x2cf43c[_0xb98a65(0x1ba)]=0x3eb]=_0xb98a65(0x1ba),_0x2cf43c[_0x2cf43c[_0xb98a65(0x376)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2cf43c[_0x2cf43c[_0xb98a65(0x15c)]=-0x1]=_0xb98a65(0x15c),_0x2cf43c))(oe||{}),Et=(_0x4f6f55=>(_0x4f6f55[_0x4f6f55[_0xb98a65(0x1f3)]=0x0]=_0xb98a65(0x1f3),_0x4f6f55[_0x4f6f55['HttpImport']=0x1]=_0xb98a65(0x21e),_0x4f6f55[_0x4f6f55[_0xb98a65(0x45b)]=0x2]=_0xb98a65(0x45b),_0x4f6f55[_0x4f6f55[_0xb98a65(0x275)]=0x3]='UnitEmbedded',_0x4f6f55[_0x4f6f55[_0xb98a65(0x2a3)]=0x4]='UnitSnapshot',_0x4f6f55[_0x4f6f55[_0xb98a65(0x248)]=0x5]='UserProfileImg',_0x4f6f55[_0x4f6f55['UNRECOGNIZED']=-0x1]=_0xb98a65(0x15c),_0x4f6f55))(Et||{});const G=_0xb98a65(0x4a9),Kt={};function _0x4dcd(){var _0x5f049f=['[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','COMPLETION_FINISHED','Injector','every','_clearLocalCache','_permissionService','next','SheetTransformSelectionsService','getSnapshotAPIPath','StreamCipher','FetchingMissState','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','compute','string','_oKey','DataLoaderService','image/bmp','FAIL','_onRemoteACK','USER_NOT_INVITED_CODE','reconnect','sessionStatus','join','error','_httpService','IPermissionService','setShowComponents','not_collab','IMentionIOService','347879MAHnXO','UNDEFINED','univer-pro.collaboration-client.single-active-unit-service','Subject','CHANGESET_REJ','charAt','selections','getLatestCsReqIdBySid','telemetry\x20info\x20is\x20not\x20initialized','_clearRedo','connection\x20error','/allowed','listCollaborators','_clearRetryConnectingTimer','_exhaustRemoteChangesetQueue','_keySchedule','then','_socketService','_onUserLeave','JOIN_ROOM_NOT_EXISTS','PasswordBasedCipher','@univerjs-pro/collaboration','LIVESHARE_NEW_HOST','Optional','getActiveSheet','getInterceptPoints','YUUMI_UNABLE_LOAD_URL','ISingleActiveUnitService','unknown','SNAPSHOT_HAS_BEEN_REMOVED','_createSocket','synced','/-/object/list','event$','YUUMI_ALL_TABLES_IS_INVALID','IContextService','substr','_onRemoteRetry','randomBytes','setConfig','_telemetryInfo','_listenToNetworkCondition','SheetCollaborationEntity','floor','getConfig','_mode','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_key','INetworkConditionService','getTypeOfUnitDisposed$','_unlockTransition','default','firstValueFrom','ReplaySubject','SEND_CHANGESET_TIMEOUT','NEW_CHANGESETS','UNKNOWN_CMD','@univerjs-pro/license','_collaborationTimeoutTimer','apply','MSG_FOR_ERROR','__esModule','pauseCollaboration','merge','_ENC_XFORM_MODE','_queuedRemoteChangesets','LIVESHARE_OPERATION','entries','_onMessage','charCodeAt','_isPermissionRej','@univerjs/telemetry','_createHelper','Module','indexOf','collaboratorID','error$','buffer','_imageSourceCache','prototype','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','removeMember','_userManagerService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_compressMutationService','getSheetId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Workbook','[CollaborationState]:\x20apply\x20error!','getCurrentSelections','_unitID','src','OFFLINE','_redoStacks','_memberService','UNIVER_PROJECT','1864814lytuik','SUBMIT_CHANGESET_TIMEOUT','getCollabEntity','APPLY_REJECT','_doFinalize','sigBytes','getRoom','MentionType','retryConnectingInterval','ILogService','x-univer-host','originalMeta','JOIN_ROOM_FULL','createDecryptor','repeat','ILocalCacheService','CollaborationController','UNIVER_SHEET','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_DUPLICATED','Inject','params','WorkbookEditablePermission','_parse','_incrementRevisionNumber','shareReplay','_configService','_checkMissing','_getUploadFileURL','ICommandService','reduce','/universer-api/snapshot','IImageIoService','joinEvent','Utf8','Disposable','abs','_collaborationSessionService','init','LICENSE_EXPORT_SIZE_EXCEEDED','map','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','LOGIN_FAILED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','initWorkbookPermissionChange','AWAITING','_snapshotServerService','_iv','c2Prime','onLocalMutation','ConflictState','TOO_MANY_REQUESTS','_disableEditing','/universer-api/uniscript','LOCAL_CACHE_INTERVAL_KEY','__Key__','INTERNAL_ERROR','_candidateSocket','LEAVE','/universer-api/authz','editingUnit','IUndoRedoService','objectID','SUBMIT_CHANGESET','HttpExport','actions','OpenSSL','_state','PERMISSION_DENIED','_tryReconnect','parseProtocolChangeset','YUUMI_ASYNCIO_CANCELLED','HmacMD5','collaboration_new_changeset','_showConflictNotification','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromCharCode','RECV','session','LOCAL_CACHE_INTERVAL','COLLAB_SUBMIT_CHANGESET_URL_KEY','_onRemoteChangeset','SNAPSHOT_URL_KEY','loadOfflineData','SyncedState','UNIVER_UNKNOWN','UserManagerService','saveImage','INVITE_CODE_ALREADY_BOUND','_unitInfo$','{fileID}','getDeserializedSheetBlock','_changesetReqId','toDisposable','_socketReady','UNIVER_SLIDE','loadUnitOfRevision','emitEvent','DocCollaborationEntity','4281906JkgPWd','headers','find','href','\x0aCurrent:\x20','_onLocalMutation','PERSON','Error\x20on\x20receiving\x20event','localCacheService','_keyPriorReset','NO_OTHER_CLIENTS_EDITING','_getRedoStack','clear','getUnitType','transformMutationsWithChangeset','/universer-api/snapshot/','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','entityInit$','pipe','_nDataBytes','JOIN_ROOM_FAILED','@univerjs/sheets','subject','clone','_transformSelections','blockSize','_append','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','USERS_LEAVE','slice','getMemberID','_DEC_XFORM_MODE','/universer-api/oidc/authpage','textRanges','lib','CipherParams','_getLoginPath','getRandomValues','stringify','saveSnapshot','univer-pro.collaboration-client.network-condition.service','BlockCipherMode','_telemetryService','collaboration-client.config','OTHER_CLIENT_EDITING','_onConnectionFailed','cmd','_onCombEvent','HEARTBEAT','withCredentials','pluginName','_sendHeartbeat','HMAC','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','registerDependencies','_updateState','YUUMI_SUBSCRIPTION_NOT_FOUND','complete','$super','byteLength','keySize','UniverNetworkPlugin','shouldCloseConn','fetchMissingChangesets','[PendingState]:\x20received\x20rejection.','call','getValue','_transformRemoteChangesetByStateCache','decrypt','getCurrentUser','leaveEvent','_tryEnsureSocket','uniscriptRunEvent','RETRY_CONNECTING_MAX_COUNT','body','_univerInstanceService','ImageSourceType','image/png','authzUrl','crypto','UPDATE_CURSOR','_doCryptBlock','BufferedBlockAlgorithm','_transformIMECache','univer-pro.collaboration-client-socket-service','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onCommentUpdate','findIndex','enc','permissionRejEvent','_state$','_updateStatus','csAckEvent','parse','_collaborationPaused','_onUserJoin','ImageUploadStatusType','_executeRemoteChangeset','onlyLocal','_onOffline','CHANGESET_ACK','UNIVER_DOC','interceptor','getTypeOfUnitAdded$','_clearCollaborationTimeoutTimer','hasOwnProperty','_retryCount','_doCreateSocket','put','createEncryptor','UNRECOGNIZED','method','changesets','socket\x20open.','_revisionService','_nRounds','\x20to\x20','saveChangeset','transformChangesets','SetSelectionsOperation','readAsDataURL','take','signUrlServerUrl','[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.','setWaitCount','rxjs','newCsEvent','encrypt','JOIN','debug','_onConnectionOpen','_transformService','1421590dLOnWM','unitID','MD5','commentUpdate$','encryptBlock','localeService','capture','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','deleteCollaborator','YUUMI_RATE_OVER_LIMIT','SNAPSHOT_SERVER_URL_KEY','ceil','createSocket','isPermissionRej','open$','USERS_ENTER','36JQcbeJ','reset','getImage','/object/','Rectangle','putCollaborators','touchDependencies','HELLO','[SyncedState]:\x20received\x20acknowledgement.','enableOfflineEditing','message$','DEFAULT_WS_SESSION_TICKET_URL','AUTHZ_URL_KEY','ciphertext','FETCH_MISSING','BlockCipher','HEARTBEAT_INTERVAL_KEY','_createHandler','patch','\x0aAfter:\x20','revision','_replayCachedMutations','ivSize','_initMergeInterceptor','_getCtorByUniverType','LOGIN_URL_KEY','MentionIoHttpService','Latin1','YUUMI_NO_CUBOID_FOR_QUESTION','sequenceExecute','responseType','BASE64','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onRemoteRetry','_clearTimeoutTimer','CollaborationSessionService','Cipher','_status$','/-/object/-/batch_allowed','reqId','CONNECTOR_DATA_TOO_LARGE','onTransformSelections','max','collabWebSocketUrl','Tools','COLLAB_WEB_SOCKET_URL','[CollaborationSessionService]','COMPRESS_MUTATION_SEND','&assign=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isTransformMutationsWithChangesetSuccess','_sender','conflict','EMAIL_HAS_BEEN_BOUND','OfflineState','session.room-not-exists','JOIN_ROOM_PERMISSION_DENIED','CompressMutationService','_collaborationUIEventService','_doProcessBlock','_data','onMissedChangesetFetched','sid','_onJoinRoomEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','PERMISSION_REJ','_hash','LICENSE_IMPORT_SIZE_EXCEEDED','create','awaitingChangeset','function','_sendingTimer','roles','_getAPIPrefix','onCommandExecuted','_pendingMutations','socket$','length','_clearScheduledTask','AES','@univerjs/drawing','CHANGESET_SHOULD_RETRY','Encryptor','SheetPermissionInitController','dispose','_commandService','383876mokHkd','image/jpg','MOBILE_HAS_BEEN_BOUND','append','createCollaborator','collabSubmitChangesetUrl','CommandType','OPTIONAL','isTransformChangesetsSuccess','/block/','requireSession','_getCurrentRevision','[OfflineState]:\x20received\x20changeset.','HTTPService','transformStack\x20failed!','avatar','joinRsp','_getUndoStack','APPLY_PERMISSION_DENIED','m2Prime','SnapshotServerOverHTTPService','splice','_shouldReportTelemetry','_HTTPService','awaiting_with_pending','readInt32LE','&source=','Undefined','1473944hNgzpS','addHandlerCallback','_initCloseConn','_handlerCallback','_sheetTransformSelectionsService','add','[OfflineState]:\x20received\x20acknowledgement.','onStateChange','getUnit','toggleOnline','catch','[CollaborationEntity]','_iKey','Pkcs7','_rescheduleHeartbeat','[DataLoaderService]','/fetchmissing?from=','isInternalEditorID','CONFLICT','_scheduleCompleteTimestamp','result','[PendingState]:\x20received\x20acknowledgement.','subscribe','baseRev','eventID','replace','uuidv4','_clearHeartbeatTimer','refreshPermission','resend','1929480tMVJcN','_entityInit$','online$','_removeRoom','disableLocalCache','ONLINE','COMMENT_UPDATE','UniverInstanceType','_entities','close$','setCurrentUser','/rev/','HttpImport','delete','code','file','_instanceService','disposeWithMe','INGEST','AwaitingWithPendingState','unitInfo$','override','_substituteRedoStack','onRemoteRej','Could\x20not\x20dynamically\x20require\x20\x22','data','list','_applyRemoteChangeset','decryptBlock','image/jpeg','Hasher','onMissingChangesets','routeKey','mode','_snapshotService','_remoteChangesetQueue','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_socket','save\x20fail\x20reason\x20is\x20','mergeOverrideWithDependencies','status$','waitForRoom$','ENSURE_SNAPSHOT_EXECUTION','liveShareNewHost','_cipher','_onRecvEvent','_scheduleCollaborationTimeoutTimer','unsubscribe','allowed','_roomMembers','_config','RichTextEditingMutation','isArray','DisposableCollection','UserProfileImg','fetchThroughInterceptors','socketService','session.room-permission-denied','_initUnitPermissionChange','_doReset','socket\x20close','_eventService','UNAUTHENTICATED','APPLY_REVISION_CONFILICT','getUnitOnRev','reverse','@univerjs/core','AuthzIoHttpService','takeUntil','/universer-api/user/session-ticket','PY_RUNTIME_SCRIPT_ERROR','csRejEvent','mixIn','updateSnapshot','saveSheetBlock','COMPRESS_MUTATION_APPLY','generateRandomId','_sessions','_localeService','onRemoteAck','_injector','cfg','WECHAT_HAS_BEEN_BOUND','_getSendChangesetTimeout','CollaborationStatus','loginUrlKey','url','registerHTTPInterceptor','UniverCollaborationClientPlugin','HEARTBEAT_INTERVAL','_handler','getTime','_transformRemoteChangesetByIMECache','SYNCED','getUnitId','format','ws://127.0.0.1:8000/universer-api/comb/connect','UNISCRIPT_RUN','YUUMI_AI_RUN_FAILED','UnitEmbedded','offline','PendingState','copyFileMeta','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_startCollaboration','[CollaborationSession]','defineProperty','collaborators','_throwTelemetryCollaborationNewChangeset','WordArray','LICENSE_DISTRO_REJECTED','has','mutations','updateCursorEvent','_updateLocalCache','_lockTransition','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getDownloadEndpointURL','[CollaborationUndoRedoService]','post','sin','LIVESHARE_REQUEST_HOST','INVALID_INVITE_CODE','batchAllowed','_substituteUndoStack','_transformStack','_changesetSessionId','hostname','_roomCreated$','/unit/','getFocusedUnit','POST','Base','dispose$','_socket$','CollaborationUIEventService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20in\x20_schedule.','__creator','CollaborationEvent','_acknowledgedAwaitingChangeset','_emitMembers','random','IConfigService','3fbHyAX','UnitSnapshot','CollaborationEntity','getCurrentRevOfUnit','_commentService','INVITE_CODE_REQUIRED','type','NOT_FOUND','_initDependencies','delay','stopTime','_getSignURL','Plugin','_replaceFileID','ITelemetryService','pad','Hex','[SyncedState]:\x20received\x20rejection.','onSyncEditingCollabCursor','LocaleService','_invKeySchedule','_awaitingChangeset','getOwnPropertyDescriptor','NOT_COLLAB','parseChangesetToProtocol','IUniverInstanceService','getWorkbookSelections','Decryptor','_commentUpdate$','ERROR_IMAGE','_decreaseWaiting','NoPadding','_initRequestHeader','auth.needGotoLoginAlert','location','resourceIDs','sessionStatus$','size','CLOSE_ROOM','appendMutation','_socketMessageSubscription','_members$','getResourcesRequest','_localCacheService','_minBufferSize','/universer-api/file/{fileID}/sign-url','rev','roomInfos','toggleOffline','JSONX','_toggleOnline','getCollabEntity$','RevisionService','transformSelections','finalize','MUTATION','send','createInstance','userID','words','updatePermissionPoint','session.join-failed','_toggleOffline','_hasher','fetchMiss','_init','objects','_collabSessionService','CHANGESET_REVISION_CONFILICT','_schedule','deserializeToCombResponse','getUnitStatus$','YUUMI_URL_COL_OUT_OF_RANGE','_getAPIPrefixPath','onTransformRemoteChangesetByIMECache','[CollaborationSessionService]:\x20socket\x20error','_event$','getImageSourceCache','_sendHeartbeatTimer','CollaborationSocketService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','startTime','onTransformRemoteChangesetByStateCache','LocalUndoRedoService','SheetsSelectionsService','SEND_CHANGESET_TIMEOUT_KEY','COLLAB_SUBMIT_CHANGESET_URL','rxjs/operators','SOCKET_FAILED_RETRY','AWAITING_WITH_PENDING','_transformUndoredo','filter','EMAIL_VERIFY_CODE_MISMATCH','concat','PENDING','onTransformState','_singleActiveUnitService','executeCommand','forEach','_undoRedoService','includes','submit\x20changeset\x20error!','LIVESHARE_TERMINATE','?size=','onRemoteChangeset','update','RETRY_CONNECTING_MAX_COUNT_KEY','duration','c1Prime','OTHER_CLIENTS_EDITING','AwaitingState','EmptyMutation','snapshotServerUrl','updateOfflineData','infoRsp','FETCH_MISS','values','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sheets','_process','mapDocumentTypeToUniverType','focused$','HTTPRequest','LIVESHARE_FETCH_OPERATIONS','_waitForHeartbeatResponse','MemberService','COLLAB_WEB_SOCKET_URL_KEY','compose','_startTelemetryCollaborationNewChangeset','&to=','get','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ISnapshotServerService','SNAPSHOT_INVALID_SNAPSHOT','UNKNOWN_CODE','_fetchMissChangesets','/universer-api/comb','_transformStateCache','now','isTransformMutationsWithChangesetFailure','/collaborator','_onRemoteRejected','MOBILE_VERIFY_CODE_MISMATCH','onTransformIME','_registerDependencies','EvpKDF','ITransformService','_stopTelemetryCollaborationNewChangeset','/universer-api/stream/file/upload','set','state','JOINING','awaiting','UPDATE_PERMISSION_OBJ','SHA1','closeSession','_type','_change$','origin','close','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','CollaborationImageIoService','unitId','asObservable','SOCKET_FAILED','msCrypto','RxDisposable','hasher','loadDoc','failed\x20to\x20apply\x20missed\x20changesets!','clamp','_resendTimeout','key','unit-cache-','action','state$','encode','_networkConditionService','_timeoutTimer','onStarting','exports','_transitionLocked','INVALID_ARGUMENT','uploadFileServerUrl','UnitStatus','Base64','getMember','unpad','onSendChangeset','_syncEditingCollabCursor','push','confirm','range','requestParams','_prevBlock','SUCCUSS','subUnitId','IAuthzIoService','snapshot','_retryConnectingTimer','name','CollaborativeUndoRedoService','CollaborationSession','@univerjs/docs','memberID','APPLY_NON_SEQUENTIAL_REVISION','extend','b64DecodeUnicode','commentUpdateEvent','status','PSEUDO_FETCH_MISSING_RESULT','updatePermissionObjEvent','GLOBAL_ROOMS_CNT_EXCEEDS','ISocketService','deepClone','IDLE','_sessionStatus$','change$','SHOULD_CLOSE_CONN','/resources','createIdentifier','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_logService','toString','getSheetBlock','_clearUndo','_members','padding','_waitCount','algo','updateMember','_createInitialStateImpl','_resendWithTimeout','_xformMode','BehaviorSubject','textEncoder','_createInitialState','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadUnit','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','salt','_undoStacks','_onConflict','reject','INVITE_CODE_HAS_BEEN_UES','getGlobalObject','objectType','_resendTimer','workbook','objectActions'];_0x4dcd=function(){return _0x5f049f;};return _0x4dcd();}var Z=(_0x3223fd=>(_0x3223fd['OTHER_CLIENT_EDITING']=_0xb98a65(0x4aa),_0x3223fd['PERMISSION_DENIED']=_0xb98a65(0x45f),_0x3223fd[_0xb98a65(0x206)]=_0xb98a65(0x206),_0x3223fd[_0xb98a65(0x2c8)]=_0xb98a65(0x2c8),_0x3223fd['JOIN_ROOM_FAILED']=_0xb98a65(0x492),_0x3223fd[_0xb98a65(0x2fa)]=_0xb98a65(0x2fa),_0x3223fd[_0xb98a65(0x346)]='SOCKET_FAILED',_0x3223fd['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x3223fd))(Z||{});class ee{constructor(){var _0x1c7d50=_0xb98a65;A(this,'_event$',new $[(_0x1c7d50(0x3bd))]()),A(this,'event$',this[_0x1c7d50(0x2ee)][_0x1c7d50(0x345)]());}['emitEvent'](_0x3fb994){var _0x41da03=_0xb98a65;this[_0x41da03(0x2ee)]['next'](_0x3fb994);}}const mt=a[_0xb98a65(0x37e)](_0xb98a65(0x4a6));function Ct(_0x4488b5){var _0x30547e=_0xb98a65,_0x38ab50,_0x2ddb08,_0x330063,_0x36207b,_0x5dac76;const _0x1a9bdc=_0x4488b5[_0x30547e(0x22b)],_0x923533=JSON[_0x30547e(0x14b)](_0x1a9bdc);switch(_0x923533[_0x30547e(0x4ac)]){case W['HEARTBEAT']:case W[_0x30547e(0x189)]:{const _0x4d68db=_0x923533[_0x30547e(0x314)];return{..._0x923533,'data':_0x4d68db,'cmd':_0x923533['cmd']};}case W[_0x30547e(0x16e)]:{const _0x18f553=_0x923533[_0x30547e(0x1e8)];return{..._0x923533,'data':_0x18f553,'cmd':_0x923533['cmd']};}case W[_0x30547e(0x468)]:{const _0x3050e9=_0x923533['collaMsg'];switch(_0x3050e9[_0x30547e(0x20c)]){case p['CollaborationEvent'][_0x30547e(0x1c3)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x38ab50=_0x3050e9[_0x30547e(0x147)])==null?void 0x0:_0x38ab50['cs']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p['CollaborationEvent'][_0x30547e(0x152)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x2ddb08=_0x3050e9[_0x30547e(0x14a)])==null?void 0x0:_0x2ddb08['cs']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)]['NEW_CHANGESETS']:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x330063=_0x3050e9[_0x30547e(0x16c)])==null?void 0x0:_0x330063['cs']},'cmd':_0x923533['cmd']};case p[_0x30547e(0x29d)][_0x30547e(0x3be)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x36207b=_0x3050e9[_0x30547e(0x259)])==null?void 0x0:_0x36207b['cs']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)][_0x30547e(0x1d3)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x5dac76=_0x3050e9['csShouldRetryEvent'])==null?void 0x0:_0x5dac76['cs']},'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x13e)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x283)]},'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x181)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x43b)]},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)][_0x30547e(0x49a)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x4c4)]},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)][_0x30547e(0x3d0)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9['liveShareNewHost']},'cmd':_0x923533['cmd']};case p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case p[_0x30547e(0x29d)][_0x30547e(0x3fc)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9['liveShareOperation']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)]['LIVESHARE_TERMINATE']:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x23d)]},'cmd':_0x923533['cmd']};case p[_0x30547e(0x29d)][_0x30547e(0x3f6)]:return{..._0x923533,'data':_0x3050e9,'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x218)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x372)]},'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x33b)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x375)]},'cmd':_0x923533['cmd']};case p[_0x30547e(0x29d)][_0x30547e(0x37c)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x4bc)]},'cmd':_0x923533[_0x30547e(0x4ac)]};case p['CollaborationEvent'][_0x30547e(0x273)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x4c6)]},'cmd':_0x923533['cmd']};default:return _0x923533;}}default:return _0x923533;}}function Tt(_0x307e80){var _0x44dee2=_0xb98a65;switch(_0x307e80['cmd']){case W[_0x44dee2(0x4ae)]:case W[_0x44dee2(0x189)]:return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80[_0x44dee2(0x4ac)],'routeKey':_0x307e80[_0x44dee2(0x232)]});case W['INGEST']:{let _0x243b0d;switch(_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x20c)]){case p[_0x44dee2(0x29d)][_0x44dee2(0x13e)]:{_0x243b0d={'eventID':p[_0x44dee2(0x29d)][_0x44dee2(0x13e)],'updateCursorEvent':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)]['USERS_LEAVE']:{_0x243b0d={'eventID':p['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x307e80[_0x44dee2(0x22b)]['data']};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x181)]:{_0x243b0d={'eventID':p[_0x44dee2(0x29d)][_0x44dee2(0x181)],'joinEvent':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p['CollaborationEvent'][_0x44dee2(0x3d0)]:{_0x243b0d={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x307e80['data'][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x3fc)]:{_0x243b0d={'eventID':p[_0x44dee2(0x29d)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x308)]:{_0x243b0d={'eventID':p['CollaborationEvent'][_0x44dee2(0x308)],'liveShareTerminate':_0x307e80[_0x44dee2(0x22b)]['data']};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x243b0d={'eventID':p['CollaborationEvent'][_0x44dee2(0x28b)],'liveShareRequestHost':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x31d)]:{_0x243b0d={'eventID':p['CollaborationEvent'][_0x44dee2(0x31d)]};break;}default:_0x243b0d={'eventID':_0x307e80['data']['eventID']};}return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80['cmd'],'routeKey':_0x307e80[_0x44dee2(0x232)],'collaMsg':_0x243b0d});}case W['JOIN']:return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80[_0x44dee2(0x4ac)],'routeKey':_0x307e80[_0x44dee2(0x232)],'joinReq':_0x307e80[_0x44dee2(0x22b)]});case W[_0x44dee2(0x455)]:return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80[_0x44dee2(0x4ac)],'routeKey':_0x307e80[_0x44dee2(0x232)],'leaveReq':_0x307e80[_0x44dee2(0x22b)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0xb98a65(0x2b8)],zt=(_0x564b6d,_0x28a06d,_0x18c4ea,_0x29e010)=>{for(var _0x137cbf=_0x29e010>0x1?void 0x0:_0x29e010?qt(_0x28a06d,_0x18c4ea):_0x28a06d,_0x366b97=_0x564b6d['length']-0x1,_0x4366b0;_0x366b97>=0x0;_0x366b97--)(_0x4366b0=_0x564b6d[_0x366b97])&&(_0x137cbf=_0x4366b0(_0x137cbf)||_0x137cbf);return _0x137cbf;},_e=(_0x19e8dc,_0x497a50)=>(_0x5ba233,_0x2b60df)=>_0x497a50(_0x5ba233,_0x2b60df,_0x19e8dc);const He=a[_0xb98a65(0x37e)](_0xb98a65(0x142));function Jt(_0x3f1cd1,_0x1ffbd6,_0x3085f3){var _0x3e8261=_0xb98a65;return _0x3f1cd1+'/'+_0x1ffbd6+_0x3e8261(0x293)+_0x3085f3+'/new_changes';}exports[_0xb98a65(0x2f1)]=class extends a[_0xb98a65(0x43d)]{constructor(_0x36c886,_0x26f6c7,_0x58acc7,_0x3b09af,_0x5352b0){var _0x4e1381=_0xb98a65;super(),this[_0x4e1381(0x262)]=_0x36c886,this['_httpService']=_0x26f6c7,this[_0x4e1381(0x434)]=_0x58acc7,this[_0x4e1381(0x380)]=_0x3b09af,this[_0x4e1381(0x449)]=_0x5352b0;}[_0xb98a65(0x159)](_0x1f67f2){var _0x4942bb=_0xb98a65;const _0x525f4b=this[_0x4942bb(0x262)][_0x4942bb(0x324)](K[_0x4942bb(0x377)]);if(!_0x525f4b)throw new Error(_0x4942bb(0x342));const _0x10eb90=_0x525f4b[_0x4942bb(0x17e)](_0x1f67f2);if(!_0x10eb90)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x494bfe=new a[(_0x4942bb(0x247))](),_0x47a01f=new $['Subject']();_0x494bfe['add'](_0x10eb90[_0x4942bb(0x21b)][_0x4942bb(0x20a)](_0x30b0e7=>_0x47a01f[_0x4942bb(0x3a3)](_0x30b0e7))),_0x494bfe[_0x4942bb(0x1f9)](a['toDisposable'](()=>_0x47a01f['complete']()));const _0x4cf53e=new $[(_0x4942bb(0x3bd))]();_0x494bfe[_0x4942bb(0x1f9)](_0x10eb90[_0x4942bb(0x406)][_0x4942bb(0x20a)](_0x1bfd2b=>_0x4cf53e[_0x4942bb(0x3a3)](_0x1bfd2b))),_0x494bfe[_0x4942bb(0x1f9)](a[_0x4942bb(0x478)](()=>_0x4cf53e[_0x4942bb(0x4b7)]()));const _0x3f3227=new $[(_0x4942bb(0x3bd))]();_0x494bfe[_0x4942bb(0x1f9)](_0x10eb90[_0x4942bb(0x18c)]['subscribe'](_0x51aa34=>{var _0x2f8019=_0x4942bb;const _0x29fa46=Ct(_0x51aa34);_0x3f3227[_0x2f8019(0x3a3)](_0x29fa46);})),_0x494bfe[_0x4942bb(0x1f9)](a[_0x4942bb(0x478)](()=>_0x3f3227[_0x4942bb(0x4b7)]()));let _0x2bf479;const _0x3d157e=()=>{var _0x686b20=_0x4942bb;_0x4cf53e[_0x686b20(0x3a3)](new Event('connection\x20error')),_0x47a01f[_0x686b20(0x3a3)](new Event(_0x686b20(0x3c4))),_0x2bf479[_0x686b20(0x341)]();};return _0x2bf479={'memberID':'','close$':_0x47a01f[_0x4942bb(0x345)](),'error$':_0x4cf53e['asObservable'](),'open$':_0x10eb90[_0x4942bb(0x180)],'message$':_0x3f3227[_0x4942bb(0x345)](),'send':_0x55d047=>{var _0x408587=_0x4942bb;if(_0x55d047['cmd']===W[_0x408587(0x224)]){if(_0x55d047['data'][_0x408587(0x20c)]===p['CollaborationEvent']['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x2bf479,_0x55d047['data'])['catch'](_0x208776=>{var _0x22ce74=_0x408587;this[_0x22ce74(0x380)]['error'](_0x208776),_0x3d157e();});return;}if(_0x55d047[_0x408587(0x22b)][_0x408587(0x20c)]===p[_0x408587(0x29d)][_0x408587(0x190)]){const _0xad5c61=_0x55d047['data'];this['_fetchMissChangesets'](_0xad5c61)[_0x408587(0x3ca)](_0x1fd5fa=>{var _0x1e2005=_0x408587;_0x3f3227[_0x1e2005(0x3a3)]({'cmd':W[_0x1e2005(0x468)],'code':oe['OK'],'routeKey':_0xad5c61[_0x1e2005(0x22b)]['unitID'],'routeType':'','data':{'eventID':p[_0x1e2005(0x29d)][_0x1e2005(0x374)],'data':{'changesets':_0x1fd5fa}}});})[_0x408587(0x1fe)](_0x22aa75=>{var _0x505c9d=_0x408587;this[_0x505c9d(0x380)][_0x505c9d(0x3b4)](_0x22aa75),_0x3d157e();});return;}}_0x10eb90[_0x408587(0x2da)](Tt(_0x55d047));},'close':()=>{var _0x413af3=_0x4942bb;_0x10eb90[_0x413af3(0x341)](),_0x494bfe['dispose']();}},_0x2bf479;}async['_submitChangeset'](_0xa18721,_0x5ea8e6){var _0x2567c6=_0xb98a65,_0xd9061a,_0x54b811;const {unitType:_0x35c4d9,unitID:_0x22945d,changeset:_0x38b6d5}=_0x5ea8e6[_0x2567c6(0x22b)],_0x2b318e={'unitID':_0x22945d,'memberID':_0xa18721[_0x2567c6(0x36e)],'type':_0x35c4d9,'changeset':p[_0x2567c6(0x2ba)](_0x38b6d5)},_0x74a5c7=this['_configService']['getConfig'](It),_0x198c9d=this[_0x2567c6(0x434)][_0x2567c6(0x3e6)](G),_0x1c049c=Jt((_0x54b811=(_0xd9061a=_0x198c9d==null?void 0x0:_0x198c9d[_0x2567c6(0x1dd)])!=null?_0xd9061a:_0x74a5c7)!=null?_0x54b811:Vt,_0x35c4d9,_0x22945d);try{await this[_0x2567c6(0x3b5)][_0x2567c6(0x289)](_0x1c049c,{'body':_0x2b318e});}catch(_0x43c762){throw this[_0x2567c6(0x380)][_0x2567c6(0x3b4)](_0x2567c6(0x27b),_0x2567c6(0x307)),_0x43c762;}}async[_0xb98a65(0x329)](_0x1dc25c){var _0x55fc61=_0xb98a65;const {unitID:_0x33777e,from:_0x157d53,to:_0x1332e6,unitType:_0x1626e2}=_0x1dc25c[_0x55fc61(0x22b)];return(await this[_0x55fc61(0x449)][_0x55fc61(0x4bd)]({'metadata':void 0x0},{'unitID':_0x33777e,'type':_0x1626e2,'from':_0x157d53,'to':_0x1332e6}))[_0x55fc61(0x15e)];}},exports[_0xb98a65(0x2f1)]=zt([_e(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),_e(0x1,a['Inject'](K[_0xb98a65(0x1e5)])),_e(0x2,a[_0xb98a65(0x2a1)]),_e(0x3,a[_0xb98a65(0x423)]),_e(0x4,p['ISnapshotServerService'])],exports['CollaborationSocketService']);const Xt=_0xb98a65(0x464);function Zt(_0x332244){var _0x5e4665=_0xb98a65;return JSON['stringify'](_0x332244)[_0x5e4665(0x1cf)];}class $e{constructor(){var _0x1e3876=_0xb98a65;A(this,_0x1e3876(0x2be),new $[(_0x1e3876(0x3bd))]()),A(this,_0x1e3876(0x175),this[_0x1e3876(0x2be)]['asObservable']());}[_0xb98a65(0x144)](_0x44f07){var _0x405241=_0xb98a65;this[_0x405241(0x2be)][_0x405241(0x3a3)](_0x44f07);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x4e7d9d,_0xa35b0b,_0x4a36e7,_0x227c7d)=>{var _0x4c7841=_0xb98a65;for(var _0x28ed74=_0x227c7d>0x1?void 0x0:_0x227c7d?Qt(_0xa35b0b,_0x4a36e7):_0xa35b0b,_0x481606=_0x4e7d9d[_0x4c7841(0x1cf)]-0x1,_0x1a9325;_0x481606>=0x0;_0x481606--)(_0x1a9325=_0x4e7d9d[_0x481606])&&(_0x28ed74=_0x1a9325(_0x28ed74)||_0x28ed74);return _0x28ed74;},We=(_0x898c6a,_0x2589fc)=>(_0x5ade82,_0x4d461a)=>_0x2589fc(_0x5ade82,_0x4d461a,_0x898c6a);exports[_0xb98a65(0x31f)]=class extends a[_0xb98a65(0x43d)]{constructor(_0x474bd9,_0x5c758b){var _0x1cde6d=_0xb98a65;super(),A(this,_0x1cde6d(0x243),new Map()),A(this,_0x1cde6d(0x292),new $[(_0x1cde6d(0x3bd))]()),(this[_0x1cde6d(0x4c9)]=_0x474bd9,this[_0x1cde6d(0x40c)]=_0x5c758b,this[_0x1cde6d(0x223)]($[_0x1cde6d(0x3f9)](this[_0x1cde6d(0x4c9)][_0x1cde6d(0x3eb)](a[_0x1cde6d(0x219)][_0x1cde6d(0x42b)])[_0x1cde6d(0x490)](V[_0x1cde6d(0x442)](_0x262ba2=>_0x262ba2[_0x1cde6d(0x270)]())),this[_0x1cde6d(0x4c9)][_0x1cde6d(0x3eb)](a['UniverInstanceType'][_0x1cde6d(0x153)])['pipe'](V[_0x1cde6d(0x442)](_0x37a298=>_0x37a298[_0x1cde6d(0x270)]())),this[_0x1cde6d(0x4c9)][_0x1cde6d(0x3eb)](a[_0x1cde6d(0x219)][_0x1cde6d(0x47a)])[_0x1cde6d(0x490)](V[_0x1cde6d(0x442)](_0x39c33a=>_0x39c33a[_0x1cde6d(0x270)]())))[_0x1cde6d(0x20a)](_0x30e4af=>this[_0x1cde6d(0x215)](_0x30e4af))));}[_0xb98a65(0x23b)](_0x59f876){var _0x3da291=_0xb98a65;return this[_0x3da291(0x243)][_0x3da291(0x281)](_0x59f876)?$['of'](this[_0x3da291(0x243)][_0x3da291(0x324)](_0x59f876)):this[_0x3da291(0x292)][_0x3da291(0x490)](V[_0x3da291(0x442)](_0x5726ac=>{var _0x1c175e=_0x3da291;if(_0x5726ac===_0x59f876)return this[_0x1c175e(0x243)][_0x1c175e(0x324)](_0x5726ac);}));}['setCurrentUser'](_0x24e0d9){var _0x48cf8c=_0xb98a65;this['_userManagerService'][_0x48cf8c(0x21c)](_0x24e0d9);}[_0xb98a65(0x4c3)](){var _0x31ed4e=_0xb98a65;return this[_0x31ed4e(0x40c)][_0x31ed4e(0x4c3)]();}[_0xb98a65(0x388)](_0x18061d,_0x3eb100){var _0x4dcce0=_0xb98a65;let _0x59b12e=this[_0x4dcce0(0x243)][_0x4dcce0(0x324)](_0x18061d);_0x59b12e||(_0x59b12e=new ti(),this[_0x4dcce0(0x243)]['set'](_0x18061d,_0x59b12e),this[_0x4dcce0(0x292)][_0x4dcce0(0x3a3)](_0x18061d)),_0x59b12e['updateMember'](_0x3eb100);}[_0xb98a65(0x40b)](_0x4a697a,_0x37f7d7){var _0x171514=_0xb98a65;const _0x5c98af=this[_0x171514(0x243)]['get'](_0x4a697a);_0x5c98af&&_0x5c98af[_0x171514(0x40b)](_0x37f7d7);}[_0xb98a65(0x420)](_0x3e4776){var _0x46d9ee=_0xb98a65;return this[_0x46d9ee(0x243)]['get'](_0x3e4776);}[_0xb98a65(0x35c)](_0x2a90b3,_0x53b8cd){var _0x231ba9=_0xb98a65;const _0x140c6f=this['_roomMembers'][_0x231ba9(0x324)](_0x2a90b3);if(_0x140c6f)return _0x140c6f[_0x231ba9(0x35c)](_0x53b8cd);}[_0xb98a65(0x215)](_0xae1d19){var _0x29c03c=_0xb98a65;const _0x52f9ef=this[_0x29c03c(0x243)][_0x29c03c(0x324)](_0xae1d19);_0x52f9ef&&(_0x52f9ef[_0x29c03c(0x1d6)](),this[_0x29c03c(0x243)][_0x29c03c(0x21f)](_0xae1d19));}[_0xb98a65(0x1d6)](){var _0x278816=_0xb98a65;this[_0x278816(0x243)][_0x278816(0x304)](_0x427341=>_0x427341['dispose']()),this['_roomMembers']['clear'](),this[_0x278816(0x292)][_0x278816(0x4b7)]();}},exports[_0xb98a65(0x31f)]=ei([We(0x0,a[_0xb98a65(0x2bb)]),We(0x1,a[_0xb98a65(0x42e)](a[_0xb98a65(0x471)]))],exports['MemberService']);class ti extends a['Disposable']{constructor(){var _0x425d85=_0xb98a65;super(...arguments),A(this,_0x425d85(0x384),new Map()),A(this,_0x425d85(0x2cb),new $[(_0x425d85(0x38c))](this[_0x425d85(0x384)])),A(this,'members$',this[_0x425d85(0x2cb)][_0x425d85(0x345)]());}[_0xb98a65(0x1d6)](){var _0x5eae51=_0xb98a65;this[_0x5eae51(0x384)][_0x5eae51(0x48a)]();}[_0xb98a65(0x388)](_0x58d9ed){var _0x13ca5e=_0xb98a65;this[_0x13ca5e(0x384)][_0x13ca5e(0x337)](_0x58d9ed[_0x13ca5e(0x36e)],_0x58d9ed),this[_0x13ca5e(0x29f)]();}[_0xb98a65(0x40b)](_0x5646fd){var _0x3ea78d=_0xb98a65;this[_0x3ea78d(0x384)][_0x3ea78d(0x21f)](_0x5646fd);}[_0xb98a65(0x35c)](_0x148629){var _0x17f17c=_0xb98a65;return this[_0x17f17c(0x384)]['get'](_0x148629);}['getAllMembers'](){var _0x19ab4a=_0xb98a65;return Array['from'](this[_0x19ab4a(0x384)][_0x19ab4a(0x316)]());}['_emitMembers'](){var _0x43ecbb=_0xb98a65;this[_0x43ecbb(0x2cb)]['next'](this[_0x43ecbb(0x384)]);}}var ii=Object[_0xb98a65(0x2b8)],ni=(_0x2f6d8b,_0x149afd,_0x37b123,_0x27c88b)=>{var _0x269896=_0xb98a65;for(var _0x2285ca=_0x27c88b>0x1?void 0x0:_0x27c88b?ii(_0x149afd,_0x37b123):_0x149afd,_0x25b8ef=_0x2f6d8b[_0x269896(0x1cf)]-0x1,_0x3fbbe8;_0x25b8ef>=0x0;_0x25b8ef--)(_0x3fbbe8=_0x2f6d8b[_0x25b8ef])&&(_0x2285ca=_0x3fbbe8(_0x2285ca)||_0x2285ca);return _0x2285ca;},se=(_0x3fddc1,_0x20e550)=>(_0x14b076,_0x1dcdbc)=>_0x20e550(_0x14b076,_0x1dcdbc,_0x3fddc1),re=(_0x43f3a5=>(_0x43f3a5[_0x43f3a5[_0xb98a65(0x379)]=0x0]=_0xb98a65(0x379),_0x43f3a5[_0x43f3a5[_0xb98a65(0x339)]=0x1]=_0xb98a65(0x339),_0x43f3a5[_0x43f3a5['OFFLINE']=0x2]=_0xb98a65(0x416),_0x43f3a5[_0x43f3a5[_0xb98a65(0x217)]=0x3]='ONLINE',_0x43f3a5))(re||{});const Ye={[oe[_0xb98a65(0x3ae)]]:_0xb98a65(0x2df),[oe[_0xb98a65(0x426)]]:'session.room-full',[oe[_0xb98a65(0x3cd)]]:_0xb98a65(0x1b9),[oe[_0xb98a65(0x1ba)]]:_0xb98a65(0x24b),[oe[_0xb98a65(0x376)]]:'session.room-cnt-exceeds'};exports[_0xb98a65(0x36c)]=class extends a[_0xb98a65(0x348)]{constructor(_0x168361,_0x110148,_0x5fccf6,_0x1a733d,_0x55b609,_0xe8f5d9,_0x3a853c,_0x3f1821,_0x3c414e){var _0x590b30=_0xb98a65;super(),A(this,'_sessionStatus$',new $[(_0x590b30(0x38c))](0x0)),A(this,'sessionStatus$',this[_0x590b30(0x37a)][_0x590b30(0x345)]()),A(this,'_event$',new $[(_0x590b30(0x3bd))]()),A(this,_0x590b30(0x3db),this[_0x590b30(0x2ee)][_0x590b30(0x345)]()),A(this,_0x590b30(0x237)),A(this,'_socketMessageSubscription'),A(this,_0x590b30(0x3f4)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x590b30(0x3e2),null),(this['_unitID']=_0x168361,this[_0x590b30(0x380)]=_0x5fccf6,this[_0x590b30(0x434)]=_0x1a733d,this[_0x590b30(0x260)]=_0x55b609,this['_memberService']=_0xe8f5d9,this[_0x590b30(0x2a6)]=_0x3a853c,this['_collaborationUIEventService']=_0x3f1821,this[_0x590b30(0x4a8)]=_0x3c414e,this[_0x590b30(0x1ee)]=!!this[_0x590b30(0x4a8)],_0x110148[_0x590b30(0x490)]($[_0x590b30(0x256)](this[_0x590b30(0x297)]))['subscribe'](_0x43ec43=>{var _0x276b9e=_0x590b30,_0x2f644;typeof _0x43ec43>'u'||(this[_0x276b9e(0x237)]=_0x43ec43,_0x43ec43?(this['_joinRoom'](_0x43ec43),this['_socketMessageSubscription']=_0x43ec43[_0x276b9e(0x18c)]['subscribe'](_0x437447=>{var _0x347bdc=_0x276b9e;_0x437447['routeKey']===this[_0x347bdc(0x414)]&&this[_0x347bdc(0x4ad)](_0x437447);})):(this[_0x276b9e(0x27e)](),this[_0x276b9e(0x37a)]['next'](0x2),(_0x2f644=this[_0x276b9e(0x2ca)])==null||_0x2f644[_0x276b9e(0x241)](),this[_0x276b9e(0x2ca)]=null));}));}get['sessionStatus'](){var _0x45297a=_0xb98a65;return this[_0x45297a(0x37a)]['getValue']();}['getMemberID'](){var _0x321806=_0xb98a65,_0x5c7dfb,_0x39ec15;return(_0x39ec15=(_0x5c7dfb=this[_0x321806(0x237)])==null?void 0x0:_0x5c7dfb[_0x321806(0x36e)])!=null?_0x39ec15:null;}[_0xb98a65(0x1d6)](){var _0x32a97a=_0xb98a65;super[_0x32a97a(0x1d6)](),this['dispose$'][_0x32a97a(0x3a3)](),this['dispose$'][_0x32a97a(0x4b7)]();}[_0xb98a65(0x341)](){var _0x1c2216=_0xb98a65,_0x5e1030,_0x1d1b5c;this[_0x1c2216(0x27e)](),(_0x5e1030=this[_0x1c2216(0x237)])==null||_0x5e1030[_0x1c2216(0x2da)]({'cmd':W[_0x1c2216(0x455)],'data':{'roomID':this[_0x1c2216(0x414)]}}),(_0x1d1b5c=this[_0x1c2216(0x237)])==null||_0x1d1b5c[_0x1c2216(0x341)](),this[_0x1c2216(0x2ee)][_0x1c2216(0x4b7)](),this[_0x1c2216(0x37a)][_0x1c2216(0x4b7)](),this['dispose']();}[_0xb98a65(0x4ad)](_0x539034){var _0x5a4b9c=_0xb98a65;_0x539034[_0x5a4b9c(0x4ac)]===W[_0x5a4b9c(0x16e)]?this[_0x5a4b9c(0x1c1)](_0x539034):_0x539034[_0x5a4b9c(0x4ac)]===W['RECV']&&this['_onRecvEvent'](_0x539034);}['_joinRoom'](_0xc54eaf){var _0x3d2450=_0xb98a65;this[_0x3d2450(0x37a)]['next'](0x1),_0xc54eaf['send']({'cmd':W['JOIN'],'routeKey':this[_0x3d2450(0x414)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3d2450(0x414)]}]}});}[_0xb98a65(0x1c1)](_0xc40e78){var _0x430b40=_0xb98a65,_0x8c3dee;if(_0xc40e78['code']in Ye){this['_collaborationUIEventService'][_0x430b40(0x47c)]({'id':Z[_0x430b40(0x492)],'data':Ye[_0xc40e78['code']]}),this[_0x430b40(0x37a)][_0x430b40(0x3a3)](0x2);return;}this[_0x430b40(0x37a)][_0x430b40(0x3a3)](0x3);const _0x47fcca=(_0x8c3dee=_0xc40e78['data'][_0x430b40(0x2d1)][this[_0x430b40(0x414)]])==null?void 0x0:_0x8c3dee['members'];_0x47fcca&&_0x47fcca[_0x430b40(0x304)](_0x2c8a76=>this['_memberService'][_0x430b40(0x388)](this[_0x430b40(0x414)],_0x2c8a76));}[_0xb98a65(0x23f)](_0xda7de4){var _0x2652c5=_0xb98a65;try{const _0x4f92ff=_0xda7de4[_0x2652c5(0x22b)];switch(_0x4f92ff['eventID']){case p[_0x2652c5(0x29d)]['USERS_ENTER']:this[_0x2652c5(0x14d)](_0x4f92ff),this['_event$'][_0x2652c5(0x3a3)](_0x4f92ff);break;case p[_0x2652c5(0x29d)]['USERS_LEAVE']:this['_onUserLeave'](_0x4f92ff),this['_event$']['next'](_0x4f92ff);break;case p[_0x2652c5(0x29d)][_0x2652c5(0x152)]:case p['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x2652c5(0x335)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2652c5(0x2ee)][_0x2652c5(0x3a3)](_0x4f92ff);break;case p[_0x2652c5(0x29d)][_0x2652c5(0x3f6)]:this[_0x2652c5(0x380)][_0x2652c5(0x3b4)](_0x2652c5(0x238)+JSON[_0x2652c5(0x4a4)](_0x4f92ff)),this[_0x2652c5(0x2ee)]['next'](_0x4f92ff);break;case p['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x2652c5(0x144)](_0x4f92ff[_0x2652c5(0x22b)]),this[_0x2652c5(0x2ee)][_0x2652c5(0x3a3)](_0x4f92ff);break;default:this['_event$'][_0x2652c5(0x3a3)](_0x4f92ff);}}catch(_0x2db2bb){this[_0x2652c5(0x380)]['error'](_0x2db2bb,_0xda7de4);}}['_onUserJoin'](_0x3343a0){var _0x263288=_0xb98a65;this['_memberService'][_0x263288(0x388)](this[_0x263288(0x414)],_0x3343a0[_0x263288(0x22b)]);}[_0xb98a65(0x3cc)](_0x1f18a7){var _0x290611=_0xb98a65;this[_0x290611(0x418)][_0x290611(0x40b)](this[_0x290611(0x414)],_0x1f18a7['data']['memberID']);}async['send'](_0x2533aa,_0x273c5f){var _0x3fbe40=_0xb98a65;if(this[_0x3fbe40(0x3b2)]!==0x3||!this[_0x3fbe40(0x237)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2533aa[_0x3fbe40(0x20c)]===p[_0x3fbe40(0x29d)][_0x3fbe40(0x45a)]&&(this[_0x3fbe40(0x240)](),this[_0x3fbe40(0x322)](_0x2533aa)),this['_socket'][_0x3fbe40(0x2da)]({'cmd':W['INGEST'],'routeKey':_0x273c5f,'routeType':'','data':_0x2533aa});}catch(_0x25b9ed){this['_logService'][_0x3fbe40(0x3b4)](_0x25b9ed);}}[_0xb98a65(0x240)](){var _0x23edb6=_0xb98a65,_0x52a266;this[_0x23edb6(0x3f4)]=setTimeout(()=>{var _0x1dde5d=_0x23edb6;this[_0x1dde5d(0x3f4)]=null,this['_collaborationUIEventService'][_0x1dde5d(0x47c)]({'id':Z[_0x1dde5d(0x41b)]});},(_0x52a266=this[_0x23edb6(0x434)][_0x23edb6(0x3e6)](ke))!=null?_0x52a266:St);}[_0xb98a65(0x156)](){var _0x3cac6b=_0xb98a65;this[_0x3cac6b(0x3f4)]&&(clearTimeout(this[_0x3cac6b(0x3f4)]),this[_0x3cac6b(0x3f4)]=null);}[_0xb98a65(0x322)](_0x487f13){var _0x125d81=_0xb98a65;if(!this[_0x125d81(0x1ee)])return;const {data:_0x4e509d}=_0x487f13,{unitID:_0x24ec30,changeset:_0x502130}=_0x4e509d,{mutations:_0x16ad81,type:_0x251d2a}=_0x502130;this['_telemetryInfo']={'unitId':_0x24ec30,'type':_0x251d2a,'startTime':performance[_0x125d81(0x32c)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x16ad81)};}[_0xb98a65(0x335)](){var _0x327f22=_0xb98a65;if(this['_shouldReportTelemetry']){if(!this[_0x327f22(0x3e2)]){this[_0x327f22(0x380)][_0x327f22(0x3b4)](_0x327f22(0x27b),_0x327f22(0x3c2));return;}this['_telemetryInfo']['stopTime']=performance[_0x327f22(0x32c)](),this[_0x327f22(0x3e2)][_0x327f22(0x30d)]=this['_telemetryInfo'][_0x327f22(0x2ac)]-this[_0x327f22(0x3e2)][_0x327f22(0x2f3)],this[_0x327f22(0x4a8)][_0x327f22(0x178)](Xt,this[_0x327f22(0x3e2)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x395d74=_0xb98a65;this[_0x395d74(0x3e2)]=null;}},exports[_0xb98a65(0x36c)]=ni([se(0x2,a[_0xb98a65(0x423)]),se(0x3,a[_0xb98a65(0x2a1)]),se(0x4,a[_0xb98a65(0x42e)](a['LocaleService'])),se(0x5,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x31f)])),se(0x6,a[_0xb98a65(0x42e)]($e)),se(0x7,a[_0xb98a65(0x42e)](ee)),se(0x8,a['Optional'](Pt[_0xb98a65(0x2b0)]))],exports['CollaborationSession']);var ri=Object[_0xb98a65(0x2b8)],si=(_0xddc051,_0x1f0634,_0x463e18,_0x665eda)=>{var _0x2ddd96=_0xb98a65;for(var _0x2c0991=_0x665eda>0x1?void 0x0:_0x665eda?ri(_0x1f0634,_0x463e18):_0x1f0634,_0x1074a8=_0xddc051[_0x2ddd96(0x1cf)]-0x1,_0x30c377;_0x1074a8>=0x0;_0x1074a8--)(_0x30c377=_0xddc051[_0x1074a8])&&(_0x2c0991=_0x30c377(_0x2c0991)||_0x2c0991);return _0x2c0991;},he=(_0x32895e,_0x2b11a7)=>(_0x5b79b5,_0x1925c9)=>_0x2b11a7(_0x5b79b5,_0x1925c9,_0x32895e);exports[_0xb98a65(0x1a5)]=class extends a['Disposable']{constructor(_0x5295f4,_0x5f1355,_0x55eaac,_0x10aaa6,_0x28529e,_0x2dd454){var _0x53cbdd=_0xb98a65;super(),A(this,'_socket$',new $['BehaviorSubject'](void 0x0)),A(this,_0x53cbdd(0x1ce),this[_0x53cbdd(0x298)][_0x53cbdd(0x345)]()),A(this,_0x53cbdd(0x454),null),A(this,'_sessions',new Map()),A(this,_0x53cbdd(0x1a7),new $[(_0x53cbdd(0x38c))](re[_0x53cbdd(0x379)])),A(this,'status$',this[_0x53cbdd(0x1a7)][_0x53cbdd(0x345)]()),A(this,'_socketReady',!0x1),A(this,'_retryConnectingTimer'),A(this,_0x53cbdd(0x158),0x0),A(this,_0x53cbdd(0x2f0)),A(this,_0x53cbdd(0x354)),(this[_0x53cbdd(0x262)]=_0x5295f4,this[_0x53cbdd(0x380)]=_0x5f1355,this[_0x53cbdd(0x434)]=_0x55eaac,this[_0x53cbdd(0x3cb)]=_0x10aaa6,this[_0x53cbdd(0x1bc)]=_0x28529e,this[_0x53cbdd(0x353)]=_0x2dd454,this[_0x53cbdd(0x3e3)]());}get[_0xb98a65(0x237)](){var _0x5494d7=_0xb98a65;return this[_0x5494d7(0x298)][_0x5494d7(0x4c0)]();}[_0xb98a65(0x3e3)](){var _0x229b4a=_0xb98a65;this[_0x229b4a(0x353)]&&this[_0x229b4a(0x223)](this['_networkConditionService'][_0x229b4a(0x214)]['subscribe'](_0x1aafab=>{var _0x12f8c2=_0x229b4a;_0x1aafab&&!this['_socket']&&this[_0x12f8c2(0x3b1)](),_0x1aafab||this[_0x12f8c2(0x151)]();}));}[_0xb98a65(0x1d6)](){var _0x1e1335=_0xb98a65;super[_0x1e1335(0x1d6)](),this[_0x1e1335(0x3c7)](),this[_0x1e1335(0x1a4)](),this[_0x1e1335(0x20f)](),this['_sessions']['forEach'](_0xdfdea3=>_0xdfdea3[_0x1e1335(0x1d6)]()),this[_0x1e1335(0x25f)][_0x1e1335(0x48a)](),this[_0x1e1335(0x1a7)][_0x1e1335(0x4b7)]();}async['requireSession'](_0x35136c){var _0x46a877=_0xb98a65;if(this[_0x46a877(0x25f)][_0x46a877(0x281)](_0x35136c))return this[_0x46a877(0x25f)][_0x46a877(0x324)](_0x35136c);this[_0x46a877(0x4c5)]();const _0x3eb756=this['_injector'][_0x46a877(0x2db)](exports['CollaborationSession'],_0x35136c,this[_0x46a877(0x298)][_0x46a877(0x345)]());return this[_0x46a877(0x25f)][_0x46a877(0x337)](_0x35136c,_0x3eb756),_0x3eb756;}['closeSession'](_0x3bac52){var _0x11fc72=_0xb98a65,_0x276962;const _0x4fda2e=this[_0x11fc72(0x25f)][_0x11fc72(0x324)](_0x3bac52);_0x4fda2e&&(this['_sessions']['delete'](_0x3bac52),_0x4fda2e[_0x11fc72(0x341)]()),this[_0x11fc72(0x25f)]['size']||(_0x276962=this[_0x11fc72(0x237)])==null||_0x276962[_0x11fc72(0x341)]();}[_0xb98a65(0x3b1)](){var _0x1dc4f=_0xb98a65;this[_0x1dc4f(0x158)]=0x0,this[_0x1dc4f(0x3c7)](),this['_tryReconnect']();}[_0xb98a65(0x3c7)](){var _0x472a40=_0xb98a65;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x472a40(0x369)]),this[_0x472a40(0x369)]=null);}async['_createSocket'](){var _0x2c8b63=_0xb98a65,_0x44bc9a,_0x1996e4;const _0x230ce0=this['_configService']['getConfig'](ut),_0x555201=this[_0x2c8b63(0x434)]['getConfig'](G),_0x3b1cf8=(_0x1996e4=(_0x44bc9a=_0x555201==null?void 0x0:_0x555201[_0x2c8b63(0x1ad)])!=null?_0x44bc9a:_0x230ce0)!=null?_0x1996e4:dt,_0x1a8381=await this['_socketService']['createSocket'](_0x3b1cf8);return this[_0x2c8b63(0x454)]=_0x1a8381,_0x1a8381;}async[_0xb98a65(0x4c5)](){var _0x4ae33d=_0xb98a65,_0x4113ac,_0x1f613d;try{const _0x7ed3db=(_0x1f613d=(_0x4113ac=this[_0x4ae33d(0x237)])!=null?_0x4113ac:this['_candidateSocket'])!=null?_0x1f613d:await this[_0x4ae33d(0x3d8)]();if(_0x7ed3db){const _0x1077e2=_0x7ed3db[_0x4ae33d(0x2da)];_0x7ed3db['send']=_0x3bbafa=>(this['_rescheduleHeartbeat'](),_0x1077e2['apply'](_0x7ed3db,[_0x3bbafa])),_0x7ed3db[_0x4ae33d(0x18c)][_0x4ae33d(0x20a)](_0x456717=>this[_0x4ae33d(0x3fe)](_0x7ed3db,_0x456717)),_0x7ed3db['error$']['pipe'](V[_0x4ae33d(0x167)](0x1))[_0x4ae33d(0x20a)](_0x576470=>this[_0x4ae33d(0x380)][_0x4ae33d(0x3b4)](_0x4ae33d(0x2ed),_0x576470)),_0x7ed3db['open$'][_0x4ae33d(0x490)](V[_0x4ae33d(0x167)](0x1))[_0x4ae33d(0x20a)](()=>{this['_onConnectionOpen'](_0x7ed3db);}),_0x7ed3db[_0x4ae33d(0x21b)][_0x4ae33d(0x490)](V[_0x4ae33d(0x167)](0x1))[_0x4ae33d(0x20a)](_0x23a01a=>{var _0x5ea68a=_0x4ae33d;this[_0x5ea68a(0x380)][_0x5ea68a(0x16f)](_0x5ea68a(0x1b0),_0x5ea68a(0x24e),_0x23a01a),this[_0x5ea68a(0x4ab)]();});}}catch(_0x566ceb){this[_0x4ae33d(0x380)][_0x4ae33d(0x3b4)](_0x566ceb),this[_0x4ae33d(0x4ab)]();}}[_0xb98a65(0x170)](_0x5f2c51){var _0x297233=_0xb98a65;this[_0x297233(0x380)][_0x297233(0x16f)]('[CollaborationSessionService]',_0x297233(0x15f)),_0x5f2c51['send']({'cmd':W[_0x297233(0x189)]}),this[_0x297233(0x202)]();}[_0xb98a65(0x151)](){var _0x12ca44=_0xb98a65;this[_0x12ca44(0x479)]=!0x1,this[_0x12ca44(0x454)]=null,this[_0x12ca44(0x1a7)][_0x12ca44(0x3a3)](re['OFFLINE']),this[_0x12ca44(0x298)]['next'](null),this[_0x12ca44(0x1a4)](),this[_0x12ca44(0x20f)]();}[_0xb98a65(0x4ab)](){var _0x52d000=_0xb98a65,_0x26f96b;this['_onOffline'](),this[_0x52d000(0x158)]<((_0x26f96b=this[_0x52d000(0x434)][_0x52d000(0x3e6)](ft))!=null?_0x26f96b:jt)?(this[_0x52d000(0x1bc)][_0x52d000(0x47c)]({'id':Z[_0x52d000(0x2fa)]}),this[_0x52d000(0x460)]()):this[_0x52d000(0x1bc)][_0x52d000(0x47c)]({'id':Z[_0x52d000(0x346)]});}['_tryReconnect'](){var _0x291325=_0xb98a65,_0x2b4e79;const _0x14d3c1=this[_0x291325(0x158)],_0x3ccf95=this['_configService'][_0x291325(0x3e6)](G),_0x5c0a11=_0x14d3c1===0x0?0x0:((_0x2b4e79=_0x3ccf95==null?void 0x0:_0x3ccf95[_0x291325(0x422)])!=null?_0x2b4e79:$t)*0x2**_0x14d3c1;this[_0x291325(0x369)]=setTimeout(()=>{var _0x323584=_0x291325;clearTimeout(this[_0x323584(0x369)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x5c0a11),this['_retryCount']+=0x1;}[_0xb98a65(0x3fe)](_0x281b2e,_0x10256d){var _0x5b9e52=_0xb98a65;const {cmd:_0x259255}=_0x10256d;_0x259255===W[_0x5b9e52(0x189)]&&!this[_0x5b9e52(0x479)]&&(_0x281b2e['memberID']=_0x10256d['data']['memberID'],this[_0x5b9e52(0x298)]['next'](_0x281b2e),this[_0x5b9e52(0x1a7)][_0x5b9e52(0x3a3)](re[_0x5b9e52(0x217)]),this[_0x5b9e52(0x479)]=!0x0,this[_0x5b9e52(0x454)]=null),_0x259255===W[_0x5b9e52(0x4ae)]&&this[_0x5b9e52(0x1a4)](),this[_0x5b9e52(0x202)]();}[_0xb98a65(0x202)](){var _0x564e15=_0xb98a65,_0x5307f1;this[_0x564e15(0x20f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x564e15(0x4b1)](),(_0x5307f1=this[_0x564e15(0x434)][_0x564e15(0x3e6)](vt))!=null?_0x5307f1:Ht);}[_0xb98a65(0x4b1)](){var _0x5b9746=_0xb98a65;this[_0x5b9746(0x237)][_0x5b9746(0x2da)]({'cmd':W[_0x5b9746(0x4ae)]}),this['_waitForHeartbeatResponse']();}[_0xb98a65(0x31e)](){var _0x30eaa2=_0xb98a65,_0x52ff91;this[_0x30eaa2(0x354)]=setTimeout(()=>this[_0x30eaa2(0x4ab)](),(_0x52ff91=this[_0x30eaa2(0x434)][_0x30eaa2(0x3e6)](ke))!=null?_0x52ff91:St);}['_clearHeartbeatTimer'](){var _0x4763da=_0xb98a65;this[_0x4763da(0x2f0)]!=null&&(clearTimeout(this[_0x4763da(0x2f0)]),this['_sendHeartbeatTimer']=null);}[_0xb98a65(0x1a4)](){var _0x283ff7=_0xb98a65;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x283ff7(0x354)]),this[_0x283ff7(0x354)]=null);}},exports[_0xb98a65(0x1a5)]=si([he(0x0,a[_0xb98a65(0x42e)](a['Injector'])),he(0x1,a[_0xb98a65(0x423)]),he(0x2,a[_0xb98a65(0x2a1)]),he(0x3,He),he(0x4,a[_0xb98a65(0x42e)](ee)),he(0x5,a[_0xb98a65(0x3d1)](mt))],exports[_0xb98a65(0x1a5)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x894d5b){var _0xf4270c=_0xb98a65;return _0xf4270c(0x34f)+_0x894d5b;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x54c014,_0xe19ce9,_0x59b07e,_0x15a9a2)=>{var _0x50eb94=_0xb98a65;for(var _0x3f09de=_0x15a9a2>0x1?void 0x0:_0x15a9a2?ai(_0xe19ce9,_0x59b07e):_0xe19ce9,_0x21dd26=_0x54c014[_0x50eb94(0x1cf)]-0x1,_0x47ec4a;_0x21dd26>=0x0;_0x21dd26--)(_0x47ec4a=_0x54c014[_0x21dd26])&&(_0x3f09de=_0x47ec4a(_0x3f09de)||_0x3f09de);return _0x3f09de;},Ue=(_0x3526e9,_0x33c993)=>(_0xa5c632,_0x30734b)=>_0x33c993(_0xa5c632,_0x30734b,_0x3526e9);function hi(_0x31a07a){var _0x326d3d=_0xb98a65;const {unitID:_0x587ca7,mutations:_0x55c2fa}=_0x31a07a;return{'unitId':_0x587ca7,'subUnitId':_0x55c2fa[0x0][_0x326d3d(0x42f)][_0x326d3d(0x366)]};}exports[_0xb98a65(0x3a4)]=class{constructor(_0x558bdd,_0x3464ce,_0x5f52d9){var _0x3d74b4=_0xb98a65;this[_0x3d74b4(0x262)]=_0x558bdd,this[_0x3d74b4(0x171)]=_0x3464ce,this['_instanceService']=_0x5f52d9;}[_0xb98a65(0x2d7)](_0x3e4f6e){var _0x2f341d=_0xb98a65,_0x24ca5b,_0x1c7482,_0x27cbad,_0x1b3e3e;const _0x2974cf=this[_0x2f341d(0x262)][_0x2f341d(0x324)](X[_0x2f341d(0x2f6)]),{unitId:_0x8d1e20,subUnitId:_0x46fcaf}=hi(_0x3e4f6e),_0x108300=_0x2974cf==null?void 0x0:_0x2974cf[_0x2f341d(0x2bc)](_0x8d1e20)[_0x2f341d(0x413)](),_0x2aac88=(_0x1c7482=(_0x24ca5b=this[_0x2f341d(0x222)][_0x2f341d(0x1fc)](_0x8d1e20))==null?void 0x0:_0x24ca5b[_0x2f341d(0x3d2)]())==null?void 0x0:_0x1c7482[_0x2f341d(0x40f)]();if(_0x108300[_0x2f341d(0x1cf)]===0x0||!_0x8d1e20||!_0x46fcaf)return;const _0x3addc0=[{'id':X[_0x2f341d(0x165)]['id'],'params':{'unitId':_0x8d1e20,'subUnitId':_0x2aac88,'selections':a[_0x2f341d(0x1ae)][_0x2f341d(0x378)](_0x108300)}}],_0x4d8335=this['_transformService'][_0x2f341d(0x48c)](_0x3e4f6e,_0x3addc0);if(!p['isTransformMutationsWithChangesetSuccess'](_0x4d8335))throw _0x4d8335['error'];const _0xb8727e=(_0x1b3e3e=(_0x27cbad=_0x4d8335[_0x2f341d(0x1eb)][0x0])==null?void 0x0:_0x27cbad[_0x2f341d(0x42f)])==null?void 0x0:_0x1b3e3e[_0x2f341d(0x3c0)];if(Array[_0x2f341d(0x246)](_0xb8727e)&&_0xb8727e[_0x2f341d(0x1cf)]){if(_0xb8727e[_0x2f341d(0x1cf)]===_0x3addc0[0x0][_0x2f341d(0x42f)][_0x2f341d(0x3c0)][_0x2f341d(0x1cf)]&&_0xb8727e[_0x2f341d(0x3a0)]((_0x1a7946,_0x1b071d)=>a[_0x2f341d(0x186)]['equals'](_0x1a7946[_0x2f341d(0x362)],_0x3addc0[0x0][_0x2f341d(0x42f)][_0x2f341d(0x3c0)][_0x1b071d][_0x2f341d(0x362)])))return;this[_0x2f341d(0x262)][_0x2f341d(0x324)](a['ICommandService'])[_0x2f341d(0x303)](X['SetSelectionsOperation']['id'],{'unitId':_0x8d1e20,'subUnitId':_0x2aac88,'selections':_0xb8727e});}}},exports[_0xb98a65(0x3a4)]=ci([Ue(0x0,a['Inject'](a[_0xb98a65(0x39f)])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0xb98a65(0x2bb)])],exports[_0xb98a65(0x3a4)]);const de=a[_0xb98a65(0x37e)](_0xb98a65(0x3bc));var je=(_0x210bf5=>(_0x210bf5[_0x210bf5[_0xb98a65(0x488)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x210bf5[_0x210bf5[_0xb98a65(0x30f)]=0x1]=_0xb98a65(0x30f),_0x210bf5))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ge(_0xeaf507,_0xa09278,_0x5f14b6,_0x5ae522,_0x427f90){var _0x49fb1d=_0xb98a65,_0x42d83f,_0x889cc,_0x282d57,_0x3fccdf;const _0x17387d=[];for(const _0x51c234 of _0xeaf507)if(_i[_0x49fb1d(0x281)](_0x51c234['id'])){if(_0x17387d[_0x49fb1d(0x1cf)]>0x0)break;_0x17387d[_0x49fb1d(0x360)](_0x51c234);break;}else _0x17387d[_0x49fb1d(0x360)](_0x51c234);const _0x22864e=(_0x889cc=(_0x42d83f=_0x427f90['getCurrentUser']())==null?void 0x0:_0x42d83f[_0x49fb1d(0x2dc)])!=null?_0x889cc:'unknown',_0x286f19=(_0x3fccdf=(_0x282d57=_0x427f90['getCurrentUser']())==null?void 0x0:_0x282d57[_0x49fb1d(0x36e)])!=null?_0x3fccdf:_0x49fb1d(0x3d6);return{'changeset':{'unitID':_0xa09278,'type':p[_0x49fb1d(0x31a)](_0x5f14b6['getUnitType'](_0xa09278)),'baseRev':_0x5ae522[_0x49fb1d(0x2a5)](_0xa09278),'revision':0x0,'userID':_0x22864e,'memberID':_0x286f19,'mutations':_0x17387d},'pendingMutations':_0xeaf507['slice'](_0x17387d['length'])};}function li(_0x2fc0e0,_0x954f3,_0x364e2f,_0x148e22,_0x2e5281){var _0x3999a4=_0xb98a65,_0x3e1dc4,_0x4638c2,_0x26a118,_0x56ac0b;const _0x15adc8=[_0x2fc0e0[_0x3999a4(0x438)]((_0x13a67d,_0x18b7dd)=>{var _0x5aee60=_0x3999a4,_0x340de4;const {id:_0x362a39}=_0x13a67d,{id:_0x3b3f9a,type:_0x2a60fe}=_0x18b7dd,_0x1dd888=(_0x340de4=_0x13a67d[_0x5aee60(0x42f)])!=null?_0x340de4:{'actions':null},_0x3d3c75=_0x18b7dd[_0x5aee60(0x42f)];if(_0x362a39&&_0x362a39!==_0x3b3f9a)throw new Error(_0x5aee60(0x446)+_0x362a39+'\x20-\x20'+_0x3b3f9a+'.');return{..._0x13a67d,'id':_0x3b3f9a,'type':_0x2a60fe,'params':{'unitId':_0x3d3c75[_0x5aee60(0x344)],'textRanges':_0x3d3c75[_0x5aee60(0x49f)],'actions':a[_0x5aee60(0x2d3)][_0x5aee60(0x321)](_0x1dd888[_0x5aee60(0x45c)],_0x3d3c75[_0x5aee60(0x45c)])}};},{})],_0xdfb4d9=(_0x4638c2=(_0x3e1dc4=_0x2e5281[_0x3999a4(0x4c3)]())==null?void 0x0:_0x3e1dc4['userID'])!=null?_0x4638c2:_0x3999a4(0x3d6),_0x4aabd9=(_0x56ac0b=(_0x26a118=_0x2e5281[_0x3999a4(0x4c3)]())==null?void 0x0:_0x26a118[_0x3999a4(0x36e)])!=null?_0x56ac0b:_0x3999a4(0x3d6);return{'changeset':{'unitID':_0x954f3,'type':p[_0x3999a4(0x31a)](_0x364e2f[_0x3999a4(0x48b)](_0x954f3)),'baseRev':_0x148e22['getCurrentRevOfUnit'](_0x954f3),'revision':0x0,'userID':_0xdfb4d9,'memberID':_0x4aabd9,'mutations':_0x15adc8},'pendingMutations':[]};}function bt(_0x4b760c,_0x3aa52f){var _0x1cf351=_0xb98a65;const _0x48e97e=new $[(_0x1cf351(0x3ef))](0x1);return setTimeout(()=>_0x48e97e[_0x1cf351(0x3a3)](_0x3aa52f),_0x4b760c),_0x48e97e[_0x1cf351(0x345)]()['pipe']($['take'](0x1));}const ui={'id':X[_0xb98a65(0x311)]['id'],'type':a[_0xb98a65(0x1de)][_0xb98a65(0x2d9)],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x2e0ffb,_0x57332f,_0x3412c6,_0x1a51a4)=>{var _0x559bf1=_0xb98a65;for(var _0x39febe=_0x1a51a4>0x1?void 0x0:_0x1a51a4?di(_0x57332f,_0x3412c6):_0x57332f,_0x2d9332=_0x2e0ffb[_0x559bf1(0x1cf)]-0x1,_0x5f4078;_0x2d9332>=0x0;_0x2d9332--)(_0x5f4078=_0x2e0ffb[_0x2d9332])&&(_0x39febe=_0x5f4078(_0x39febe)||_0x39febe);return _0x39febe;},L=(_0x268b54,_0x18bbcf)=>(_0x2fb995,_0x1e3fd0)=>_0x18bbcf(_0x2fb995,_0x1e3fd0,_0x268b54),Be=(_0x2f6d7a=>(_0x2f6d7a[_0xb98a65(0x2b9)]=_0xb98a65(0x3b8),_0x2f6d7a[_0xb98a65(0x26f)]=_0xb98a65(0x3d9),_0x2f6d7a[_0xb98a65(0x300)]='pending',_0x2f6d7a[_0xb98a65(0x448)]=_0xb98a65(0x33a),_0x2f6d7a[_0xb98a65(0x2fb)]=_0xb98a65(0x1f0),_0x2f6d7a[_0xb98a65(0x315)]='fetch_missing',_0x2f6d7a[_0xb98a65(0x206)]=_0xb98a65(0x1b6),_0x2f6d7a['OFFLINE']='offline',_0x2f6d7a))(Be||{});const Rt=0xea60;class ce{constructor(_0x309407,_0x221bfa,_0x2f21ff,_0x73c621,_0x546b1b,_0x3417b9,_0x225097,_0x31ace8,_0x3ec488){var _0x3947b7=_0xb98a65;A(this,_0x3947b7(0x2b7),null),A(this,_0x3947b7(0x1cd),[]),(this['unitID']=_0x309407,this['type']=_0x221bfa,this[_0x3947b7(0x26c)]=_0x546b1b,this[_0x3947b7(0x1d7)]=_0x3417b9,this[_0x3947b7(0x305)]=_0x225097,this[_0x3947b7(0x160)]=_0x31ace8,this['_localCacheService']=_0x3ec488,this[_0x3947b7(0x2b7)]=_0x2f21ff,this['_pendingMutations']=_0x73c621);}[_0xb98a65(0x435)](_0x2aa4a4){var _0x26bbdd=_0xb98a65;const _0x14083d=this[_0x26bbdd(0x160)]['getCurrentRevOfUnit'](this[_0x26bbdd(0x173)]);return _0x2aa4a4['revision']>_0x14083d+0x1?(this[_0x26bbdd(0x26c)][_0x26bbdd(0x231)]({'from':_0x14083d,'to':_0x2aa4a4[_0x26bbdd(0x196)]-0x1}),!0x0):!0x1;}[_0xb98a65(0x2fc)](_0x390813){var _0x10c7d9=_0xb98a65;this[_0x10c7d9(0x305)]['transformUndoRedo'](this[_0x10c7d9(0x173)],_0x390813);}[_0xb98a65(0x496)](_0x44ac4c){var _0x67faef=_0xb98a65,_0x2cb052,_0x33fa18;(_0x33fa18=(_0x2cb052=this['_handler'])[_0x67faef(0x1ab)])==null||_0x33fa18[_0x67faef(0x4bf)](_0x2cb052,_0x44ac4c);}[_0xb98a65(0x141)](_0x2819dd){var _0x20bf31=_0xb98a65,_0x4ae4a8,_0x3e6ae1;return(_0x3e6ae1=(_0x4ae4a8=this[_0x20bf31(0x26c)])['onTransformIME'])==null?void 0x0:_0x3e6ae1[_0x20bf31(0x4bf)](_0x4ae4a8,_0x2819dd);}['_transformStateCache'](_0x15ea8f){var _0x3d4b86=_0xb98a65,_0x4b4d1f,_0x4377a3;return(_0x4377a3=(_0x4b4d1f=this[_0x3d4b86(0x26c)])[_0x3d4b86(0x301)])==null?void 0x0:_0x4377a3[_0x3d4b86(0x4bf)](_0x4b4d1f,_0x15ea8f);}[_0xb98a65(0x26e)](_0x11da1d){var _0x4ca89a=_0xb98a65,_0x6c9e07,_0x1e235d,_0x54a68a;return(_0x54a68a=(_0x1e235d=(_0x6c9e07=this[_0x4ca89a(0x26c)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1e235d[_0x4ca89a(0x4bf)](_0x6c9e07,_0x11da1d))!=null?_0x54a68a:_0x11da1d;}['_transformRemoteChangesetByStateCache'](_0x280b36){var _0xd2ab99=_0xb98a65,_0x1d5aaa,_0x151c86,_0x38ce6a;return(_0x38ce6a=(_0x151c86=(_0x1d5aaa=this['_handler'])[_0xd2ab99(0x2f4)])==null?void 0x0:_0x151c86['call'](_0x1d5aaa,_0x280b36))!=null?_0x38ce6a:_0x280b36;}[_0xb98a65(0x35f)](_0x2e1046){var _0x23c9cd=_0xb98a65,_0x5380d5,_0x412c0f;if(this[_0x23c9cd(0x2a8)]===J[_0x23c9cd(0x153)]){const {unitID:_0x364827,mutations:_0x483ed4,memberID:_0x49cadf}=_0x2e1046,_0x4e94d9=_0x483ed4[0x0][_0x23c9cd(0x42f)][_0x23c9cd(0x49f)];Array[_0x23c9cd(0x246)](_0x4e94d9)&&_0x4e94d9[_0x23c9cd(0x1cf)]>0x0&&((_0x412c0f=(_0x5380d5=this[_0x23c9cd(0x26c)])['onSyncEditingCollabCursor'])==null||_0x412c0f[_0x23c9cd(0x4bf)](_0x5380d5,{'unitID':_0x364827,'memberID':_0x49cadf,'textRanges':_0x4e94d9}));}}['_updateLocalCache'](){var _0x55b21f=_0xb98a65,_0x2c6414;(_0x2c6414=this[_0x55b21f(0x2cd)])==null||_0x2c6414[_0x55b21f(0x313)](this[_0x55b21f(0x173)],this['type'],this['_awaitingChangeset'],this[_0x55b21f(0x1cd)]);}[_0xb98a65(0x1e3)](){var _0x35e3f6=_0xb98a65;return this[_0x35e3f6(0x160)][_0x35e3f6(0x2a5)](this[_0x35e3f6(0x173)]);}[_0xb98a65(0x432)](){var _0x131027=_0xb98a65;this[_0x131027(0x160)]['incrementRevOfUnit'](this[_0x131027(0x173)]);}[_0xb98a65(0x14f)](_0xc63f52){var _0x521e4a=_0xb98a65,_0x193134;let _0x260e71=this[_0x521e4a(0x26e)](_0xc63f52);_0x260e71=this[_0x521e4a(0x4c1)](_0x260e71);const _0x5b5779=a[_0x521e4a(0x19f)](_0x260e71[_0x521e4a(0x282)],this[_0x521e4a(0x1d7)],{'fromCollab':!0x0});if(!_0x5b5779[_0x521e4a(0x208)])throw _0x5b5779[_0x521e4a(0x3b4)]instanceof Error?_0x5b5779[_0x521e4a(0x3b4)]:new Error((_0x193134=_0x5b5779['error'])!=null?_0x193134:_0x521e4a(0x412));this[_0x521e4a(0x141)](_0x260e71),this[_0x521e4a(0x32b)](_0x260e71),this[_0x521e4a(0x2fc)](_0xc63f52),this[_0x521e4a(0x496)](_0x260e71),this[_0x521e4a(0x35f)](_0x260e71),this[_0x521e4a(0x432)]();}}exports[_0xb98a65(0x46f)]=class extends ce{constructor(_0x3e3a1a,_0x4bbb18,_0xbacd6,_0x561438,_0x3b137a,_0xebc14f,_0xfc7c2d,_0x3f6ed3,_0x10a3a9,_0x1866a4){var _0x17b660=_0xb98a65;super(_0x3e3a1a,_0x4bbb18,null,[],_0xbacd6,_0xfc7c2d,_0xebc14f,_0x561438,_0x1866a4),A(this,'status',_0x17b660(0x3d9)),(this['_injector']=_0x3b137a,this[_0x17b660(0x380)]=_0x3f6ed3,this['_transformService']=_0x10a3a9,this[_0x17b660(0x486)]=_0x1866a4);}[_0xb98a65(0x2c9)](_0x350667){var _0xb6c97b=_0xb98a65;const _0x390ae2=this[_0xb6c97b(0x262)]['createInstance'](exports[_0xb6c97b(0x277)],this[_0xb6c97b(0x173)],this['type'],[_0x350667],this[_0xb6c97b(0x26c)]);return _0x390ae2[_0xb6c97b(0x2e7)](),_0x390ae2[_0xb6c97b(0x284)](),_0x390ae2;}[_0xb98a65(0x30a)](_0x2ed31a){var _0x44ed4a=_0xb98a65;if(this['_checkMissing'](_0x2ed31a))return this[_0x44ed4a(0x262)][_0x44ed4a(0x2db)](exports[_0x44ed4a(0x3a7)],this[_0x44ed4a(0x173)],this[_0x44ed4a(0x2a8)],null,[],null,[_0x2ed31a],this[_0x44ed4a(0x26c)]);try{const _0x4f2982=this[_0x44ed4a(0x171)][_0x44ed4a(0x48c)](_0x2ed31a,[ui]);if(p[_0x44ed4a(0x1b4)](_0x4f2982)){const {c1Prime:_0x255370}=_0x4f2982;return this[_0x44ed4a(0x14f)](_0x255370),this;}throw _0x4f2982['error'];}catch(_0x21638f){return this[_0x44ed4a(0x380)][_0x44ed4a(0x3b4)](_0x21638f),this['_onConflict'](!0x1);}}['_onConflict'](_0x3824ae){var _0x57cde1=_0xb98a65;return this['_injector'][_0x57cde1(0x2db)](exports[_0x57cde1(0x44d)],this['unitID'],this[_0x57cde1(0x2a8)],null,[],this[_0x57cde1(0x26c)],_0x3824ae);}[_0xb98a65(0x261)](){var _0x32c2c4=_0xb98a65;throw new Error(_0x32c2c4(0x18a));}[_0xb98a65(0x229)](){var _0x278a61=_0xb98a65;throw new Error(_0x278a61(0x2b3));}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){var _0x4d3d2d=_0xb98a65;return this[_0x4d3d2d(0x262)][_0x4d3d2d(0x2db)](exports[_0x4d3d2d(0x1b8)],this[_0x4d3d2d(0x173)],this[_0x4d3d2d(0x2a8)],null,[],this[_0x4d3d2d(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x18da91=_0xb98a65;const _0x3336df=this['_revisionService']['getCurrentRevOfUnit'](this[_0x18da91(0x173)]);return this[_0x18da91(0x26c)][_0x18da91(0x231)]({'from':_0x3336df,'to':0x0}),this[_0x18da91(0x262)]['createInstance'](exports[_0x18da91(0x3a7)],this[_0x18da91(0x173)],this[_0x18da91(0x2a8)],null,[],null,[],this[_0x18da91(0x26c)]);}},exports[_0xb98a65(0x46f)]=ae([L(0x3,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x4,a['Inject'](a[_0xb98a65(0x39f)])),L(0x5,a[_0xb98a65(0x458)]),L(0x6,a[_0xb98a65(0x437)]),L(0x7,a['ILogService']),L(0x8,p[_0xb98a65(0x334)]),L(0x9,a[_0xb98a65(0x3d1)](q))],exports['SyncedState']),exports['PendingState']=class extends ce{constructor(_0x587e36,_0x340599,_0x120b33,_0x2862da,_0x3c98d1,_0x2fc11e,_0x3b4ad1,_0x27fdb7,_0x23ac9a,_0x139662,_0x18f418,_0x42abb9,_0x41380c,_0x1c827f){var _0x3584c2=_0xb98a65;super(_0x587e36,_0x340599,null,_0x120b33,_0x2862da,_0x23ac9a,_0x41380c,_0x2fc11e,_0x1c827f),A(this,_0x3584c2(0x373),'pending'),A(this,_0x3584c2(0x207),null),A(this,'_sendingTimer',null),(this[_0x3584c2(0x262)]=_0x3c98d1,this['_memberService']=_0x3b4ad1,this[_0x3584c2(0x380)]=_0x27fdb7,this[_0x3584c2(0x434)]=_0x139662,this[_0x3584c2(0x171)]=_0x18f418,this[_0x3584c2(0x4c9)]=_0x42abb9);}[_0xb98a65(0x2c9)](_0x39ac33){var _0x3424e8=_0xb98a65;return this['_pendingMutations'][_0x3424e8(0x360)](_0x39ac33),this[_0x3424e8(0x284)](),this;}[_0xb98a65(0x30a)](_0xe8b039){var _0x195cfa=_0xb98a65;if(this[_0x195cfa(0x435)](_0xe8b039))return this[_0x195cfa(0x1d0)](),this[_0x195cfa(0x262)][_0x195cfa(0x2db)](exports[_0x195cfa(0x3a7)],this[_0x195cfa(0x173)],this[_0x195cfa(0x2a8)],null,this['_pendingMutations'],null,[_0xe8b039],this[_0x195cfa(0x26c)]);try{const _0x1ac938=this['_transformService'][_0x195cfa(0x48c)](_0xe8b039,this[_0x195cfa(0x1cd)]);if(p[_0x195cfa(0x1b4)](_0x1ac938)){const {c1Prime:_0x290a29,m2Prime:_0x458bad}=_0x1ac938;this[_0x195cfa(0x14f)](_0x290a29);const _0x26fc12=this[_0x195cfa(0x262)][_0x195cfa(0x2db)](exports[_0x195cfa(0x277)],this[_0x195cfa(0x173)],this['type'],_0x458bad,this[_0x195cfa(0x26c)]);this['_clearScheduledTask']();const _0x541e49=new Date()[_0x195cfa(0x26d)](),_0x1d3fa6=this[_0x195cfa(0x207)]?Math['max'](this[_0x195cfa(0x207)]-_0x541e49,0x0):this['_getSendChangesetTimeout']();return _0x26fc12['_schedule'](_0x1d3fa6),_0x26fc12;}throw _0x1ac938[_0x195cfa(0x3b4)];}catch(_0x475080){return this[_0x195cfa(0x380)][_0x195cfa(0x3b4)](_0x475080),this['_onConflict'](!0x1);}}[_0xb98a65(0x261)](){var _0x4cda71=_0xb98a65;throw new Error(_0x4cda71(0x209));}[_0xb98a65(0x229)](){var _0x41c3fb=_0xb98a65;throw new Error(_0x41c3fb(0x4be));}['onRemoteRetry'](){return this;}[_0xb98a65(0x2d2)](){var _0x45ef4a=_0xb98a65;return this['_clearScheduledTask'](),this[_0x45ef4a(0x262)][_0x45ef4a(0x2db)](exports[_0x45ef4a(0x1b8)],this[_0x45ef4a(0x173)],this[_0x45ef4a(0x2a8)],null,this[_0x45ef4a(0x1cd)],this[_0x45ef4a(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x2e7)](_0x51d135){var _0xec3adb=_0xb98a65;const _0x5026b9=_0x51d135!=null?_0x51d135:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0xec3adb(0x26d)]()+_0x5026b9,this[_0xec3adb(0x1c9)]=setTimeout(()=>{var _0x2826d7=_0xec3adb;this[_0x2826d7(0x1d0)]();let _0x5e394f=null;switch(this[_0x2826d7(0x2a8)]){case J['UNIVER_SHEET']:{_0x5e394f=Ge(this[_0x2826d7(0x1cd)],this[_0x2826d7(0x173)],this['_univerInstanceService'],this[_0x2826d7(0x160)],this[_0x2826d7(0x418)]);break;}case J[_0x2826d7(0x153)]:{this[_0x2826d7(0x1cd)][_0x2826d7(0x3a0)](_0x13b760=>_0x13b760['id']===ht['RichTextEditingMutation']['id'])?_0x5e394f=li(this['_pendingMutations'],this[_0x2826d7(0x173)],this[_0x2826d7(0x4c9)],this['_revisionService'],this[_0x2826d7(0x418)]):_0x5e394f=Ge(this[_0x2826d7(0x1cd)],this[_0x2826d7(0x173)],this[_0x2826d7(0x4c9)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x2826d7(0x1a2)+this[_0x2826d7(0x2a8)]+_0x2826d7(0x29b));}const {changeset:_0x5aabcd,pendingMutations:_0x42d968}=_0x5e394f;this[_0x2826d7(0x26c)][_0x2826d7(0x35e)](_0x5aabcd);const _0x2ab986=_0x42d968[_0x2826d7(0x1cf)]?this[_0x2826d7(0x262)][_0x2826d7(0x2db)](exports['AwaitingWithPendingState'],this[_0x2826d7(0x173)],this[_0x2826d7(0x2a8)],_0x5aabcd,_0x42d968,this['_handler'],void 0x0):this['_injector'][_0x2826d7(0x2db)](exports['AwaitingState'],this[_0x2826d7(0x173)],this[_0x2826d7(0x2a8)],_0x5aabcd,this[_0x2826d7(0x26c)]);_0x2ab986['_updateLocalCache'](),this['_handler'][_0x2826d7(0x1fb)](this,_0x2ab986);},_0x5026b9);}[_0xb98a65(0x265)](){var _0x4637a6=_0xb98a65,_0xbac513;const _0x235ffd=this[_0x4637a6(0x434)][_0x4637a6(0x3e6)](G);return(_0xbac513=_0x235ffd==null?void 0x0:_0x235ffd['sendChangesetTimeout'])!=null?_0xbac513:xt;}[_0xb98a65(0x211)](){var _0x37ae72=_0xb98a65;throw new Error(_0x37ae72(0x42c));}[_0xb98a65(0x1d0)](){var _0x433fdd=_0xb98a65;this[_0x433fdd(0x1c9)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x433fdd(0x1c9)]=null);}[_0xb98a65(0x394)](_0x2a9db7){var _0x52250f=_0xb98a65;return this['_clearScheduledTask'](),this[_0x52250f(0x262)][_0x52250f(0x2db)](exports[_0x52250f(0x44d)],this[_0x52250f(0x173)],this[_0x52250f(0x2a8)],null,this[_0x52250f(0x1cd)],this[_0x52250f(0x26c)],_0x2a9db7);}},exports['PendingState']=ae([L(0x4,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),L(0x5,a['Inject'](p['RevisionService'])),L(0x6,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x31f)])),L(0x7,a['ILogService']),L(0x8,a[_0xb98a65(0x437)]),L(0x9,a[_0xb98a65(0x2a1)]),L(0xa,p[_0xb98a65(0x334)]),L(0xb,a[_0xb98a65(0x2bb)]),L(0xc,a[_0xb98a65(0x458)]),L(0xd,a[_0xb98a65(0x3d1)](q))],exports['PendingState']),exports[_0xb98a65(0x310)]=class extends ce{constructor(_0x1572e0,_0xe377cc,_0x33cafb,_0x1a8774,_0x589308,_0x3e34ec,_0x15ef28,_0x54deb4,_0x6e2bcf,_0x4b1e17,_0x3e75b2){var _0xa25cd5=_0xb98a65;super(_0x1572e0,_0xe377cc,_0x33cafb,[],_0x1a8774,_0x15ef28,_0x4b1e17,_0x3e34ec,_0x3e75b2),A(this,'status','awaiting'),A(this,_0xa25cd5(0x34d),0x0),A(this,_0xa25cd5(0x399)),A(this,_0xa25cd5(0x1b5)),(this[_0xa25cd5(0x262)]=_0x589308,this['_logService']=_0x54deb4,this['_transformService']=_0x6e2bcf);}[_0xb98a65(0x2c9)](_0x4bb2b1){var _0x488a05=_0xb98a65;this[_0x488a05(0x1d0)]();const _0x174d29=this[_0x488a05(0x262)]['createInstance'](exports[_0x488a05(0x225)],this[_0x488a05(0x173)],this['type'],this[_0x488a05(0x2b7)],[_0x4bb2b1],this[_0x488a05(0x26c)],this[_0x488a05(0x399)]);return _0x174d29[_0x488a05(0x284)](),_0x174d29;}['onRemoteChangeset'](_0x18cc0d){var _0x29cea3=_0xb98a65;if(this[_0x29cea3(0x435)](_0x18cc0d))return this[_0x29cea3(0x1d0)](),this[_0x29cea3(0x262)][_0x29cea3(0x2db)](exports[_0x29cea3(0x3a7)],this[_0x29cea3(0x173)],this[_0x29cea3(0x2a8)],this[_0x29cea3(0x2b7)],[],null,[_0x18cc0d],this[_0x29cea3(0x26c)]);try{const _0x4f3658=this[_0x29cea3(0x171)]['transformChangesets']([_0x18cc0d],[this[_0x29cea3(0x2b7)]],!0x1);if(p[_0x29cea3(0x1e0)](_0x4f3658)){const {c1Prime:_0x72220,c2Prime:_0x138223}=_0x4f3658;this[_0x29cea3(0x14f)](_0x72220[0x0]),_0x138223[0x0][_0x29cea3(0x20b)]=this[_0x29cea3(0x1e3)](),this[_0x29cea3(0x1d0)]();const _0x5e17ab=this[_0x29cea3(0x262)][_0x29cea3(0x2db)](exports[_0x29cea3(0x310)],this[_0x29cea3(0x173)],this[_0x29cea3(0x2a8)],_0x138223[0x0],this[_0x29cea3(0x26c)]);return _0x5e17ab[_0x29cea3(0x284)](),_0x5e17ab;}return this[_0x29cea3(0x394)](!0x1);}catch(_0x112342){return this[_0x29cea3(0x380)][_0x29cea3(0x3b4)](_0x112342),this[_0x29cea3(0x394)](!0x1);}}['onRemoteAck'](_0xaafd3d){var _0x4c0df3=_0xb98a65;this[_0x4c0df3(0x1d0)]();const _0x3959d6=this[_0x4c0df3(0x160)][_0x4c0df3(0x2a5)](this['unitID']);if(_0xaafd3d[_0x4c0df3(0x196)]<_0x3959d6-0x1)return this;if(this['_checkMissing'](_0xaafd3d))return this[_0x4c0df3(0x262)][_0x4c0df3(0x2db)](exports[_0x4c0df3(0x3a7)],this[_0x4c0df3(0x173)],this[_0x4c0df3(0x2a8)],null,[],this[_0x4c0df3(0x2b7)],[],this[_0x4c0df3(0x26c)]);this[_0x4c0df3(0x432)]();const _0x49c207=this[_0x4c0df3(0x262)]['createInstance'](exports[_0x4c0df3(0x46f)],this[_0x4c0df3(0x173)],this[_0x4c0df3(0x2a8)],this[_0x4c0df3(0x26c)]);return _0x49c207[_0x4c0df3(0x284)](),_0x49c207;}[_0xb98a65(0x229)](_0x149f2c){var _0x183af5=_0xb98a65;return this[_0x183af5(0x394)](!!(_0x149f2c!=null&&_0x149f2c[_0x183af5(0x17f)]));}['onRemoteRetry'](_0x223dd9){var _0x238c9f=_0xb98a65;return this[_0x238c9f(0x34d)]>Rt?this[_0x238c9f(0x2d2)]():(this[_0x238c9f(0x399)]=bt(this[_0x238c9f(0x34d)],{'timeout':this[_0x238c9f(0x34d)],'reqId':_0x223dd9['reqId']}),this[_0x238c9f(0x1b5)]=this['_resendTimer']['subscribe'](({reqId:_0x58ca48,timeout:_0x2ee736})=>{var _0x301aef=_0x238c9f;this[_0x301aef(0x38a)](_0x58ca48,_0x2ee736);}),this);}[_0xb98a65(0x2d2)](){var _0x260c81=_0xb98a65;return this[_0x260c81(0x1d0)](),this[_0x260c81(0x262)]['createInstance'](exports[_0x260c81(0x1b8)],this[_0x260c81(0x173)],this['type'],this['_awaitingChangeset'],[],this[_0x260c81(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){var _0x58465b=_0xb98a65;this[_0x58465b(0x26c)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x2f3753){var _0x190058=_0xb98a65;return this[_0x190058(0x1d0)](),this['_injector'][_0x190058(0x2db)](exports['ConflictState'],this['unitID'],this['type'],this[_0x190058(0x2b7)],[],this[_0x190058(0x26c)],_0x2f3753);}['_resendWithTimeout'](_0x19dc9f,_0x31c2b8){var _0x65d7d0=_0xb98a65,_0x929c00;_0x19dc9f===((_0x929c00=this[_0x65d7d0(0x2b7)])==null?void 0x0:_0x929c00['reqId'])&&(this[_0x65d7d0(0x211)](),this[_0x65d7d0(0x34d)]=_0x31c2b8===0x0?0x3e8:_0x31c2b8*0x2);}[_0xb98a65(0x1d0)](){var _0x24d7da=_0xb98a65,_0x2500ac;(_0x2500ac=this[_0x24d7da(0x1b5)])==null||_0x2500ac[_0x24d7da(0x241)](),this[_0x24d7da(0x34d)]=0x0;}},exports['AwaitingState']=ae([L(0x4,a['Inject'](a[_0xb98a65(0x39f)])),L(0x5,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x6,a['ICommandService']),L(0x7,a[_0xb98a65(0x423)]),L(0x8,p['ITransformService']),L(0x9,a[_0xb98a65(0x458)]),L(0xa,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x310)]),exports[_0xb98a65(0x225)]=class extends ce{constructor(_0x22551b,_0x56a0b2,_0x1ab61f,_0xefed4c,_0xba3b3b,_0x38cbdc,_0x16293c,_0x364be6,_0xaa0d99,_0x532263,_0x4aac1e,_0x4dcf66,_0xc22134){var _0x4613b6=_0xb98a65;super(_0x22551b,_0x56a0b2,_0x1ab61f,_0xefed4c,_0xba3b3b,_0xaa0d99,_0x4dcf66,_0x364be6,_0xc22134),A(this,_0x4613b6(0x373),_0x4613b6(0x1f0)),A(this,_0x4613b6(0x34d),0x0),A(this,_0x4613b6(0x399)),A(this,_0x4613b6(0x1b5)),(this[_0x4613b6(0x262)]=_0x16293c,this['_logService']=_0x532263,this[_0x4613b6(0x171)]=_0x4aac1e,this[_0x4613b6(0x486)]=_0xc22134,_0x38cbdc&&(this[_0x4613b6(0x399)]=_0x38cbdc,this[_0x4613b6(0x1b5)]=this[_0x4613b6(0x399)]['subscribe'](({reqId:_0xf5d41d,timeout:_0x594adc})=>{var _0x1c328d=_0x4613b6;this[_0x1c328d(0x38a)](_0xf5d41d,_0x594adc);})));}[_0xb98a65(0x2c9)](_0xcbdcb3){var _0x11ad4c=_0xb98a65;return this[_0x11ad4c(0x1cd)][_0x11ad4c(0x360)](_0xcbdcb3),this;}[_0xb98a65(0x30a)](_0x4bb685){var _0x2e9baf=_0xb98a65;if(this[_0x2e9baf(0x435)](_0x4bb685))return this['_clearScheduledTask'](),this[_0x2e9baf(0x262)][_0x2e9baf(0x2db)](exports[_0x2e9baf(0x3a7)],this[_0x2e9baf(0x173)],this[_0x2e9baf(0x2a8)],this[_0x2e9baf(0x2b7)],this[_0x2e9baf(0x1cd)],null,[_0x4bb685],this[_0x2e9baf(0x26c)]);try{const _0x490e26=this['_transformService'][_0x2e9baf(0x164)]([_0x4bb685],[this[_0x2e9baf(0x2b7)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x490e26)){const {c1Prime:_0x3d8a9d,c2Prime:_0x44d740}=_0x490e26,_0x42bb4b=this[_0x2e9baf(0x171)][_0x2e9baf(0x48c)](_0x3d8a9d[0x0],this[_0x2e9baf(0x1cd)]);if(p[_0x2e9baf(0x1b4)](_0x42bb4b)){const {c1Prime:_0x13cc99,m2Prime:_0x56390a}=_0x42bb4b;return this['_executeRemoteChangeset'](_0x13cc99),_0x44d740[0x0][_0x2e9baf(0x20b)]=this['_getCurrentRevision'](),this[_0x2e9baf(0x1d0)](),this[_0x2e9baf(0x262)][_0x2e9baf(0x2db)](exports[_0x2e9baf(0x225)],this[_0x2e9baf(0x173)],this[_0x2e9baf(0x2a8)],_0x44d740[0x0],_0x56390a,this[_0x2e9baf(0x26c)],void 0x0);}throw _0x42bb4b[_0x2e9baf(0x3b4)];}throw _0x490e26['error'];}catch(_0x200048){return this[_0x2e9baf(0x380)][_0x2e9baf(0x3b4)](_0x200048),this[_0x2e9baf(0x394)](!0x1);}}['onRemoteAck'](_0x586010){var _0x42d107=_0xb98a65;if(this[_0x42d107(0x1d0)](),this['_checkMissing'](_0x586010))return this[_0x42d107(0x262)]['createInstance'](exports[_0x42d107(0x3a7)],this[_0x42d107(0x173)],this[_0x42d107(0x2a8)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1f4836=this[_0x42d107(0x262)][_0x42d107(0x2db)](exports[_0x42d107(0x277)],this[_0x42d107(0x173)],this[_0x42d107(0x2a8)],this[_0x42d107(0x1cd)],this[_0x42d107(0x26c)]);return _0x1f4836[_0x42d107(0x2e7)](),_0x1f4836[_0x42d107(0x284)](),_0x1f4836;}[_0xb98a65(0x229)](_0x53b2b7){var _0x10dc17=_0xb98a65;return this[_0x10dc17(0x394)](!!(_0x53b2b7!=null&&_0x53b2b7[_0x10dc17(0x17f)]));}[_0xb98a65(0x1a3)](_0x41f7fe){var _0x4e177f=_0xb98a65;return this[_0x4e177f(0x34d)]>Rt?this[_0x4e177f(0x2d2)]():(this[_0x4e177f(0x399)]=bt(this['_resendTimeout'],{'timeout':this[_0x4e177f(0x34d)],'reqId':_0x41f7fe[_0x4e177f(0x1a9)]}),this['_sender']=this[_0x4e177f(0x399)][_0x4e177f(0x20a)](({reqId:_0x331d23,timeout:_0x1021c4})=>{var _0x149b83=_0x4e177f;this[_0x149b83(0x38a)](_0x331d23,_0x1021c4);}),this);}[_0xb98a65(0x2d2)](){var _0x4fc1fa=_0xb98a65;return this[_0x4fc1fa(0x1d0)](),this[_0x4fc1fa(0x262)][_0x4fc1fa(0x2db)](exports[_0x4fc1fa(0x1b8)],this[_0x4fc1fa(0x173)],this[_0x4fc1fa(0x2a8)],this[_0x4fc1fa(0x2b7)],this['_pendingMutations'],this[_0x4fc1fa(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){var _0x36f4a1=_0xb98a65;this[_0x36f4a1(0x26c)][_0x36f4a1(0x35e)](this[_0x36f4a1(0x2b7)]);}[_0xb98a65(0x394)](_0x41e35e){var _0x4cc1bd=_0xb98a65;return this['_clearScheduledTask'](),this[_0x4cc1bd(0x262)][_0x4cc1bd(0x2db)](exports[_0x4cc1bd(0x44d)],this['unitID'],this[_0x4cc1bd(0x2a8)],null,this[_0x4cc1bd(0x1cd)],this[_0x4cc1bd(0x26c)],_0x41e35e);}[_0xb98a65(0x38a)](_0x43ad39,_0x5e0c6d){var _0x40bf16=_0xb98a65,_0x2f2be5;_0x43ad39===((_0x2f2be5=this[_0x40bf16(0x2b7)])==null?void 0x0:_0x2f2be5[_0x40bf16(0x1a9)])&&(this[_0x40bf16(0x211)](),this[_0x40bf16(0x34d)]=_0x5e0c6d===0x0?0x3e8:_0x5e0c6d*0x2);}[_0xb98a65(0x1d0)](){var _0x3dd1bb=_0xb98a65,_0x3a3a77;(_0x3a3a77=this['_sender'])==null||_0x3a3a77[_0x3dd1bb(0x241)](),this[_0x3dd1bb(0x34d)]=0x0;}},exports[_0xb98a65(0x225)]=ae([L(0x6,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),L(0x7,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x8,a[_0xb98a65(0x437)]),L(0x9,a[_0xb98a65(0x423)]),L(0xa,p[_0xb98a65(0x334)]),L(0xb,a[_0xb98a65(0x458)]),L(0xc,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x225)]),exports['ConflictState']=class extends ce{constructor(_0x176e2c,_0x23dd3c,_0x1aa0a3,_0x24c829,_0x59083a,_0x5d1599=!0x1,_0x1ab4fa,_0x2342a6,_0x5c6725,_0x2455f5,_0x48f154,_0x43b984,_0x55cebc){var _0x4aafb4=_0xb98a65;super(_0x176e2c,_0x23dd3c,_0x1aa0a3,_0x24c829,_0x59083a,_0x2342a6,_0x5c6725,_0x2455f5,_0x55cebc),A(this,_0x4aafb4(0x373),_0x4aafb4(0x1b6)),(this[_0x4aafb4(0x400)]=_0x5d1599,this[_0x4aafb4(0x3a2)]=_0x1ab4fa,this[_0x4aafb4(0x260)]=_0x48f154,this['_collaborationUIEventService']=_0x43b984,this[_0x4aafb4(0x486)]=_0x55cebc,this[_0x4aafb4(0x465)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0xb98a65(0x30a)](){return this;}[_0xb98a65(0x261)](){return this;}[_0xb98a65(0x229)](){return this;}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){return this;}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){var _0x31c8f3=_0xb98a65;throw new Error(_0x31c8f3(0x29a));}[_0xb98a65(0x3a1)](){var _0x3b20e0=_0xb98a65,_0xfcc4d7;(_0xfcc4d7=this[_0x3b20e0(0x2cd)])==null||_0xfcc4d7['updateOfflineData'](this['unitID'],this[_0x3b20e0(0x2a8)],null,[]);}[_0xb98a65(0x465)](){var _0x16d4a3=_0xb98a65;this[_0x16d4a3(0x400)]?this['_collaborationUIEventService'][_0x16d4a3(0x47c)]({'id':Z[_0x16d4a3(0x45f)]}):this[_0x16d4a3(0x1bc)]['emitEvent']({'id':Z[_0x16d4a3(0x206)]});}[_0xb98a65(0x44f)](){var _0x237b1e=_0xb98a65;this['_permissionService']['updatePermissionPoint'](new X[(_0x237b1e(0x430))](this[_0x237b1e(0x173)])['id'],!0x1);}},exports[_0xb98a65(0x44d)]=ae([L(0x6,a['Inject'](a[_0xb98a65(0x3b6)])),L(0x7,a[_0xb98a65(0x437)]),L(0x8,a[_0xb98a65(0x458)]),L(0x9,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0xa,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),L(0xb,a[_0xb98a65(0x42e)](ee)),L(0xc,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x44d)]),exports[_0xb98a65(0x1b8)]=class extends ce{constructor(_0x33b597,_0x462cdd,_0x44d4f1,_0x56e8e7,_0xdce4c2,_0x24d8cf,_0x55bc01,_0x396f37,_0x10ed60,_0x37a44e){var _0x5ca62f=_0xb98a65;super(_0x33b597,_0x462cdd,_0x44d4f1,_0x56e8e7,_0xdce4c2,_0x396f37,_0x10ed60,_0x55bc01,_0x37a44e),A(this,_0x5ca62f(0x373),_0x5ca62f(0x276)),this[_0x5ca62f(0x262)]=_0x24d8cf;}['appendMutation'](_0x9a16db){var _0x295510=_0xb98a65;return this[_0x295510(0x1cd)][_0x295510(0x360)](_0x9a16db),this[_0x295510(0x284)](),this;}[_0xb98a65(0x30a)](_0x3887fd){var _0xeba76c=_0xb98a65;throw new Error(_0xeba76c(0x1e4));}['onRemoteAck'](){var _0x56e504=_0xb98a65;throw new Error(_0x56e504(0x1fa));}[_0xb98a65(0x229)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){return this;}['toggleOnline'](){var _0x2133b8=_0xb98a65;const {_injector:_0x1ad392,_pendingMutations:_0x219468,_awaitingChangeset:_0x38b60c,unitID:_0x499900,_handler:_0x1dac56,type:_0x337cc0}=this,_0x1010e2=Ot(_0x1ad392,_0x499900,_0x337cc0,_0x38b60c,_0x219468,_0x1dac56);return _0x1010e2 instanceof exports[_0x2133b8(0x277)]?_0x1010e2[_0x2133b8(0x2e7)]():(_0x1010e2 instanceof exports['AwaitingWithPendingState']||_0x1010e2 instanceof exports[_0x2133b8(0x310)])&&_0x1010e2[_0x2133b8(0x211)](),_0x1010e2;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0xb98a65(0x1b8)]=ae([L(0x5,a[_0xb98a65(0x42e)](a['Injector'])),L(0x6,a[_0xb98a65(0x42e)](p['RevisionService'])),L(0x7,a['ICommandService']),L(0x8,a[_0xb98a65(0x458)]),L(0x9,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x1b8)]),exports[_0xb98a65(0x3a7)]=class extends ce{constructor(_0x2c63b0,_0x567b01,_0x1acdd6,_0x442483,_0x3a1a82,_0x252ef7,_0x3e15c3,_0xb68dda,_0x26512c,_0xd93c5c,_0x5c5448,_0x5cf6cd,_0x3f392a,_0x4a4de2){var _0x1a6079=_0xb98a65;super(_0x2c63b0,_0x567b01,_0x1acdd6,_0x442483,_0x3e15c3,_0x5c5448,_0x5cf6cd,_0x26512c,_0x4a4de2),A(this,_0x1a6079(0x373),'fetch_missing'),(this[_0x1a6079(0x29e)]=_0x3a1a82,this[_0x1a6079(0x3fb)]=_0x252ef7,this[_0x1a6079(0x262)]=_0xb68dda,this[_0x1a6079(0x380)]=_0xd93c5c,this[_0x1a6079(0x171)]=_0x3f392a,this[_0x1a6079(0x486)]=_0x4a4de2);}['onMissedChangesetFetched'](_0x31bae1){var _0x17c15b=_0xb98a65;try{const _0x2a3240=[..._0x31bae1,...this[_0x17c15b(0x3fb)]],_0x55afda=[this[_0x17c15b(0x2b7)]||this[_0x17c15b(0x29e)]][_0x17c15b(0x2fd)](_0x1eb8fb=>!!_0x1eb8fb);let _0x5405f7,_0x1211da;if(_0x55afda[_0x17c15b(0x1cf)]){const _0x1cae63=this['_transformService'][_0x17c15b(0x164)](_0x2a3240,_0x55afda,!0x1);if(!p['isTransformChangesetsSuccess'](_0x1cae63))throw _0x1cae63['error'];_0x5405f7=_0x1cae63['c1Prime'],_0x1211da=_0x1cae63[_0x17c15b(0x44b)];}else _0x5405f7=_0x2a3240,_0x1211da=[];let _0x5cbf4d=this[_0x17c15b(0x1cd)];_0x5405f7[_0x17c15b(0x304)](_0x37dc44=>{var _0x530875=_0x17c15b;let _0x2b572a;if(_0x5cbf4d['length']){const _0x46ffce=this[_0x530875(0x171)][_0x530875(0x48c)](_0x37dc44,_0x5cbf4d);if(!p[_0x530875(0x1b4)](_0x46ffce))throw _0x46ffce[_0x530875(0x3b4)];_0x2b572a=_0x46ffce[_0x530875(0x30e)],_0x5cbf4d=_0x46ffce[_0x530875(0x1eb)];}else _0x2b572a=_0x37dc44;this[_0x530875(0x14f)](_0x2b572a);}),this[_0x17c15b(0x29e)]&&this[_0x17c15b(0x432)](),this[_0x17c15b(0x2b7)]&&_0x1211da['length']&&(_0x1211da[0x0][_0x17c15b(0x20b)]=this[_0x17c15b(0x1e3)]());let _0x1440ad;if(this[_0x17c15b(0x2b7)]&&_0x5cbf4d['length']!==0x0)_0x1440ad=this['_injector'][_0x17c15b(0x2db)](exports[_0x17c15b(0x225)],this[_0x17c15b(0x173)],this['type'],_0x1211da[0x0],_0x5cbf4d,this[_0x17c15b(0x26c)],void 0x0);else{if(this[_0x17c15b(0x2b7)]&&_0x5cbf4d[_0x17c15b(0x1cf)]===0x0)_0x1211da[0x0][_0x17c15b(0x20b)]=this[_0x17c15b(0x1e3)](),_0x1440ad=this[_0x17c15b(0x262)][_0x17c15b(0x2db)](exports[_0x17c15b(0x310)],this[_0x17c15b(0x173)],this[_0x17c15b(0x2a8)],_0x1211da[0x0],this['_handler']);else{if(_0x5cbf4d['length']!==0x0){const _0x2b2440=this[_0x17c15b(0x262)][_0x17c15b(0x2db)](exports['PendingState'],this[_0x17c15b(0x173)],this[_0x17c15b(0x2a8)],_0x5cbf4d,this[_0x17c15b(0x26c)]);_0x2b2440['_schedule'](),_0x1440ad=_0x2b2440;}else _0x1440ad=this[_0x17c15b(0x262)][_0x17c15b(0x2db)](exports[_0x17c15b(0x46f)],this[_0x17c15b(0x173)],this[_0x17c15b(0x2a8)],this[_0x17c15b(0x26c)]);}}return _0x1440ad[_0x17c15b(0x284)](),_0x1440ad;}catch(_0x3b778c){return this[_0x17c15b(0x380)][_0x17c15b(0x3b4)]('[FetchMissState]',_0x17c15b(0x34b),_0x3b778c),this['_injector'][_0x17c15b(0x2db)](exports[_0x17c15b(0x44d)],this['unitID'],this[_0x17c15b(0x2a8)],this[_0x17c15b(0x2b7)],this[_0x17c15b(0x1cd)],this[_0x17c15b(0x26c)],!0x1);}}[_0xb98a65(0x211)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xb98a65(0x2c9)](_0x4c400e){var _0x5168df=_0xb98a65;return this[_0x5168df(0x1cd)]['push'](_0x4c400e),this;}[_0xb98a65(0x30a)](_0x2d5bd5){return this['_queuedRemoteChangesets']['push'](_0x2d5bd5),this;}['onRemoteAck'](_0x65e404){var _0x1ca954=_0xb98a65;if(this['_awaitingChangeset'])return this[_0x1ca954(0x29e)]=this[_0x1ca954(0x2b7)],this[_0x1ca954(0x2b7)]=null,this;throw new Error(_0x1ca954(0x40d));}['onRemoteRej'](_0x3ee554){var _0x10ae41=_0xb98a65;return this['_onConflict'](!!(_0x3ee554!=null&&_0x3ee554[_0x10ae41(0x17f)]));}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){var _0x311601=_0xb98a65;return this[_0x311601(0x262)]['createInstance'](exports[_0x311601(0x1b8)],this[_0x311601(0x173)],this[_0x311601(0x2a8)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x311601(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}['_onConflict'](_0x371e0f){var _0x230a7d=_0xb98a65;return this['_injector']['createInstance'](exports[_0x230a7d(0x44d)],this['unitID'],this[_0x230a7d(0x2a8)],this[_0x230a7d(0x2b7)],this[_0x230a7d(0x1cd)],this[_0x230a7d(0x26c)],_0x371e0f);}},exports[_0xb98a65(0x3a7)]=ae([L(0x7,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),L(0x8,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x9,a['ILogService']),L(0xa,a[_0xb98a65(0x437)]),L(0xb,a['IUndoRedoService']),L(0xc,p[_0xb98a65(0x334)]),L(0xd,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x3a7)]);function Ot(_0x2f5f8f,_0x54d6b1,_0x5debbb,_0x29fa91,_0xae6d78,_0x3db76f){var _0x582f9d=_0xb98a65;return _0x29fa91&&_0xae6d78['length']?_0x2f5f8f['createInstance'](exports['AwaitingWithPendingState'],_0x54d6b1,_0x5debbb,_0x29fa91,_0xae6d78,_0x3db76f,void 0x0):_0x29fa91?_0x2f5f8f[_0x582f9d(0x2db)](exports['AwaitingState'],_0x54d6b1,_0x5debbb,_0x29fa91,_0x3db76f):_0xae6d78[_0x582f9d(0x1cf)]?_0x2f5f8f[_0x582f9d(0x2db)](exports[_0x582f9d(0x277)],_0x54d6b1,_0x5debbb,_0xae6d78,_0x3db76f):_0x2f5f8f[_0x582f9d(0x2db)](exports[_0x582f9d(0x46f)],_0x54d6b1,_0x5debbb,_0x3db76f);}var vi=Object['getOwnPropertyDescriptor'],Fe=(_0x4088aa,_0xb32dd7,_0x4b632e,_0x534dfa)=>{var _0x5f2eae=_0xb98a65;for(var _0x5618f6=_0x534dfa>0x1?void 0x0:_0x534dfa?vi(_0xb32dd7,_0x4b632e):_0xb32dd7,_0x11c928=_0x4088aa[_0x5f2eae(0x1cf)]-0x1,_0x5ae98a;_0x11c928>=0x0;_0x11c928--)(_0x5ae98a=_0x4088aa[_0x11c928])&&(_0x5618f6=_0x5ae98a(_0x5618f6)||_0x5618f6);return _0x5618f6;},j=(_0x5056db,_0x3dbcff)=>(_0x114e32,_0xec6229)=>_0x3dbcff(_0x114e32,_0xec6229,_0x5056db);exports[_0xb98a65(0x2a4)]=class extends a['RxDisposable']{constructor(_0x1bc690,_0x1099ae,_0x331cff,_0x455e1c,_0x5799b7,_0x2b0c93,_0xb2f563,_0x5be051,_0xbf6598,_0x17b304,_0x2ac252,_0x431c95,_0x1ce54e){var _0x2abb4c=_0xb98a65;super(),A(this,_0x2abb4c(0x148),new $[(_0x2abb4c(0x38c))](null)),A(this,_0x2abb4c(0x351),this[_0x2abb4c(0x148)]['asObservable']()),A(this,_0x2abb4c(0x45e)),A(this,'_collaborationPaused',!0x1),A(this,_0x2abb4c(0x290),''),A(this,_0x2abb4c(0x477),0x0),A(this,_0x2abb4c(0x23a),this['state$'][_0x2abb4c(0x490)]($[_0x2abb4c(0x442)](_0x59a53e=>_0x59a53e?_0x59a53e['status']:Be[_0x2abb4c(0x416)]),$[_0x2abb4c(0x433)](0x1))),A(this,_0x2abb4c(0x357),!0x1),A(this,_0x2abb4c(0x235),[]),(this[_0x2abb4c(0x173)]=_0x1bc690,this[_0x2abb4c(0x469)]=_0x1099ae,this[_0x2abb4c(0x33e)]=_0x331cff,this[_0x2abb4c(0x262)]=_0x455e1c,this[_0x2abb4c(0x40e)]=_0x5799b7,this[_0x2abb4c(0x260)]=_0x2b0c93,this[_0x2abb4c(0x160)]=_0xb2f563,this[_0x2abb4c(0x24f)]=_0x5be051,this[_0x2abb4c(0x380)]=_0xbf6598,this[_0x2abb4c(0x1d7)]=_0x17b304,this[_0x2abb4c(0x3a2)]=_0x2ac252,this[_0x2abb4c(0x302)]=_0x431c95,this[_0x2abb4c(0x2cd)]=_0x1ce54e);}get[_0xb98a65(0x338)](){var _0xddc995=_0xb98a65;return this[_0xddc995(0x45e)];}async['init'](){var _0xd4d73d=_0xb98a65;if(this[_0xd4d73d(0x338)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xd4d73d(0x2e3)]();}[_0xb98a65(0x3f8)](){var _0x176e90=_0xb98a65;return this[_0x176e90(0x14c)]=!0x0,a['toDisposable'](()=>{var _0x4743b0=_0x176e90;this[_0x4743b0(0x14c)]=!0x1,this[_0x4743b0(0x3c8)]();});}[_0xb98a65(0x44c)](_0x8a430){var _0x262c29=_0xb98a65;this[_0x262c29(0x483)](_0x8a430);}[_0xb98a65(0x4b5)](_0xbcd974){var _0xf5186e=_0xb98a65;this[_0xf5186e(0x45e)]=_0xbcd974,this[_0xf5186e(0x148)][_0xf5186e(0x3a3)](_0xbcd974);}async[_0xb98a65(0x2e3)](){var _0x32e722=_0xb98a65,_0x1fd6d4;this['_updateState'](await this[_0x32e722(0x38e)]()),this['_singleActiveUnitService']&&((_0x1fd6d4=this[_0x32e722(0x302)])==null||_0x1fd6d4[_0x32e722(0x457)](this['unitID']),this[_0x32e722(0x223)](this[_0x32e722(0x302)][_0x32e722(0x2e9)](this[_0x32e722(0x173)])[_0x32e722(0x20a)](_0x40b249=>{var _0x40673=_0x32e722;this['_logService'][_0x40673(0x16f)](_0x40673(0x1ff),'editing\x20status\x20changed\x20to',_0x40b249),_0x40b249===je[_0x40673(0x30f)]?(this[_0x40673(0x24f)]['emitEvent']({'id':Z[_0x40673(0x4aa)]}),this[_0x40673(0x3a2)][_0x40673(0x2de)](new X['WorkbookEditablePermission'](this[_0x40673(0x173)])['id'],!0x1),this[_0x40673(0x3a2)][_0x40673(0x3b7)](!0x1)):(this[_0x40673(0x3a2)]['updatePermissionPoint'](new X[(_0x40673(0x430))](this[_0x40673(0x173)])['id'],!0x0),this[_0x40673(0x3a2)][_0x40673(0x3b7)](!0x0));})));let _0x3063ca=!0x1;return this['disposeWithMe'](this[_0x32e722(0x469)][_0x32e722(0x2c6)]['subscribe'](_0x333384=>{var _0xd2771f=_0x32e722;_0x333384===re[_0xd2771f(0x217)]?this['_toggleOnline'](_0x3063ca):_0x333384===re[_0xd2771f(0x416)]&&(_0x3063ca=!0x0,this[_0xd2771f(0x2e0)]());})),this['disposeWithMe'](this[_0x32e722(0x469)][_0x32e722(0x3db)][_0x32e722(0x20a)](_0x35a487=>{var _0xa0c77b=_0x32e722;try{switch(_0x35a487[_0xa0c77b(0x20c)]){case p['CollaborationEvent'][_0xa0c77b(0x3f1)]:{this[_0xa0c77b(0x46c)](p[_0xa0c77b(0x461)](_0x35a487[_0xa0c77b(0x22b)]));break;}case p['CollaborationEvent'][_0xa0c77b(0x152)]:{this[_0xa0c77b(0x3af)](_0x35a487[_0xa0c77b(0x22b)]);break;}case p[_0xa0c77b(0x29d)][_0xa0c77b(0x3be)]:{this[_0xa0c77b(0x32f)]();break;}case p['CollaborationEvent'][_0xa0c77b(0x1d3)]:{this[_0xa0c77b(0x3df)](_0x35a487[_0xa0c77b(0x22b)]);break;}case p['CollaborationEvent'][_0xa0c77b(0x374)]:{this['_onFetchMissResult'](_0x35a487[_0xa0c77b(0x22b)][_0xa0c77b(0x15e)][_0xa0c77b(0x442)](_0x2e8a5a=>p[_0xa0c77b(0x461)](_0x2e8a5a)));break;}case p['CollaborationEvent'][_0xa0c77b(0x1c3)]:{this[_0xa0c77b(0x32f)]({'isPermissionRej':!0x0});break;}case p[_0xa0c77b(0x29d)]['UNISCRIPT_RUN']:break;}}catch(_0x1a80cf){throw console[_0xa0c77b(0x3b4)](_0xa0c77b(0x485),_0x1a80cf),_0x1a80cf;}})),this[_0x32e722(0x45e)];}[_0xb98a65(0x3ec)](){var _0x4000c9=_0xb98a65;this[_0x4000c9(0x357)]=!0x1;}['_lockTransition'](){var _0x508c96=_0xb98a65;if(this[_0x508c96(0x357)])throw new Error(_0x508c96(0x169));this['_transitionLocked']=!0x0;}[_0xb98a65(0x483)](_0x567dc5){var _0x517512=_0xb98a65;this[_0x517512(0x285)](),this[_0x517512(0x4b5)](this[_0x517512(0x45e)][_0x517512(0x2c9)](_0x567dc5)),this[_0x517512(0x3ec)]();}[_0xb98a65(0x46c)](_0x5696a1){var _0x1ee585=_0xb98a65;if(!(_0x5696a1['revision']<=this['_revisionService'][_0x1ee585(0x2a5)](this[_0x1ee585(0x173)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x5696a1);return;}this[_0x1ee585(0x22d)](_0x5696a1);}}[_0xb98a65(0x3c8)](){var _0x104b0c=_0xb98a65;this[_0x104b0c(0x235)][_0x104b0c(0x304)](_0x40423e=>this[_0x104b0c(0x22d)](_0x40423e)),this[_0x104b0c(0x235)]=[];}[_0xb98a65(0x22d)](_0x5653d3){var _0x10d69e=_0xb98a65;const _0xbc0474=this['_compressMutationService'][_0x10d69e(0x154)][_0x10d69e(0x249)](this[_0x10d69e(0x40e)][_0x10d69e(0x154)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5653d3[_0x10d69e(0x282)],null)||_0x5653d3['mutations'],_0x463804={..._0x5653d3,'mutations':_0xbc0474};this[_0x10d69e(0x285)](),this['_updateState'](this[_0x10d69e(0x45e)][_0x10d69e(0x30a)](_0x463804)),this[_0x10d69e(0x3ec)]();}[_0xb98a65(0x3af)](_0x3074c2){var _0x2488e2=_0xb98a65;this[_0x2488e2(0x285)](),this[_0x2488e2(0x4b5)](this['_state'][_0x2488e2(0x261)](_0x3074c2)),this[_0x2488e2(0x3ec)]();}[_0xb98a65(0x32f)](_0x2cd989){var _0x34fc67=_0xb98a65;this[_0x34fc67(0x285)](),this[_0x34fc67(0x4b5)](this['_state'][_0x34fc67(0x229)](_0x2cd989)),this[_0x34fc67(0x3ec)]();}['_onRemoteRetry'](_0x5affac){var _0x1590c2=_0xb98a65;this[_0x1590c2(0x285)](),this[_0x1590c2(0x4b5)](this['_state']['onRemoteRetry'](_0x5affac)),this['_unlockTransition']();}['_onFetchMissResult'](_0x1bf08d){var _0x39bc37=_0xb98a65;if(!(this[_0x39bc37(0x45e)]instanceof exports['FetchingMissState']))throw new TypeError(_0x39bc37(0x2f2));const _0x1dd60f=_0x1bf08d['map'](_0x4f3c00=>{var _0x289039=_0x39bc37;const _0x162cdf=this['_compressMutationService'][_0x289039(0x154)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x289039(0x154)]['getInterceptPoints']()[_0x289039(0x25d)])(_0x4f3c00[_0x289039(0x282)],null)||_0x4f3c00[_0x289039(0x282)];return{..._0x4f3c00,'mutations':_0x162cdf};});this[_0x39bc37(0x285)](),this[_0x39bc37(0x4b5)](this[_0x39bc37(0x45e)][_0x39bc37(0x1bf)](_0x1dd60f)),this[_0x39bc37(0x3ec)]();}[_0xb98a65(0x2e0)](){var _0x19bcb3=_0xb98a65;this[_0x19bcb3(0x285)](),this['_updateState'](this[_0x19bcb3(0x45e)]['toggleOffline']()),this['_unlockTransition']();}[_0xb98a65(0x2d4)](_0x2a2fa6=!0x1){var _0x8567ba=_0xb98a65;this[_0x8567ba(0x285)](),this[_0x8567ba(0x4b5)](this['_state'][_0x8567ba(0x1fd)]()),this[_0x8567ba(0x3ec)]();const _0x111c1a=this['_state'];_0x2a2fa6&&_0x111c1a instanceof exports[_0x8567ba(0x46f)]&&(this[_0x8567ba(0x285)](),this[_0x8567ba(0x4b5)](_0x111c1a[_0x8567ba(0x2e2)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x5781b5=>{var _0x5339f6=_0x5981;this[_0x5339f6(0x469)]['sessionStatus$'][_0x5339f6(0x490)]($[_0x5339f6(0x167)](0x1))[_0x5339f6(0x20a)](async _0x3621ef=>{var _0x4c98fd=_0x5339f6;_0x5781b5(await this[_0x4c98fd(0x389)](_0x3621ef===re[_0x4c98fd(0x217)]));});});}[_0xb98a65(0x193)](){var _0x586235=_0xb98a65;const _0x26729e=this[_0x586235(0x173)];return{'onStateChange':(_0x4dc6a2,_0x167230)=>{var _0x5f5262=_0x586235;if(_0x4dc6a2!==this[_0x5f5262(0x45e)])throw new Error(_0x5f5262(0x40a)+_0x4dc6a2['status']+_0x5f5262(0x195)+_0x167230['status']+_0x5f5262(0x482)+this[_0x5f5262(0x45e)][_0x5f5262(0x373)]);this[_0x5f5262(0x4b5)](_0x167230);},'onSendChangeset':_0x5dcb69=>{var _0x40c72a=_0x586235;_0x5dcb69[_0x40c72a(0x1c0)]||(_0x5dcb69[_0x40c72a(0x1c0)]=this[_0x40c72a(0x290)],_0x5dcb69['reqId']=++this[_0x40c72a(0x477)]);const _0x96d7a2={'eventID':p[_0x40c72a(0x29d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x5dcb69[_0x40c72a(0x173)],'unitType':this[_0x40c72a(0x33e)],'changeset':_0x5dcb69,'memberID':this[_0x40c72a(0x469)][_0x40c72a(0x49c)]()}};this[_0x40c72a(0x469)][_0x40c72a(0x2da)](_0x96d7a2,this[_0x40c72a(0x173)]);},'onMissingChangesets':({from:_0x5d342c,to:_0x389ded})=>{var _0xd8baa3=_0x586235;this[_0xd8baa3(0x380)][_0xd8baa3(0x16f)](_0xd8baa3(0x1ff),'fetching\x20missing\x20changesets\x20from\x20'+_0x5d342c+_0xd8baa3(0x162)+_0x389ded);const _0x22d388={'eventID':p[_0xd8baa3(0x29d)][_0xd8baa3(0x190)],'data':{'unitID':_0x26729e,'unitType':this[_0xd8baa3(0x33e)],'from':_0x5d342c,'to':_0x389ded}};this['session'][_0xd8baa3(0x2da)](_0x22d388,this[_0xd8baa3(0x173)]);}};}async['_createInitialStateImpl'](_0x2d1316){var _0x15d9d3=_0xb98a65,_0x4b87c9,_0x53e62b,_0x3efdc8;const _0x4a9b33=await((_0x4b87c9=this['_localCacheService'])==null?void 0x0:_0x4b87c9[_0x15d9d3(0x46e)](this['unitID'])),_0x252824=(_0x53e62b=_0x4a9b33==null?void 0x0:_0x4a9b33[_0x15d9d3(0x282)])!=null?_0x53e62b:[],_0xcb46b=(_0x3efdc8=_0x4a9b33==null?void 0x0:_0x4a9b33[_0x15d9d3(0x1c7)])!=null?_0x3efdc8:null,_0x46a538=!!(_0xcb46b!=null&&_0xcb46b[_0x15d9d3(0x1c0)])&&!!(_0xcb46b!=null&&_0xcb46b[_0x15d9d3(0x1a9)]);this[_0x15d9d3(0x290)]=_0x46a538?_0xcb46b[_0x15d9d3(0x1c0)]:p[_0x15d9d3(0x20e)](),this[_0x15d9d3(0x477)]=_0x46a538?_0xcb46b['reqId']:0x0;const _0x76e6ac=this[_0x15d9d3(0x173)];try{this[_0x15d9d3(0x197)](_0xcb46b,_0x252824);}catch(_0x291273){this[_0x15d9d3(0x380)][_0x15d9d3(0x3b4)](_0x291273);}const _0x420701=this[_0x15d9d3(0x193)]();if(_0x2d1316){const _0xcc4225=Ot(this[_0x15d9d3(0x262)],_0x76e6ac,this['_type'],_0xcb46b,_0x252824,_0x420701);return _0xcc4225 instanceof exports[_0x15d9d3(0x277)]?_0xcc4225['_schedule']():(_0xcc4225 instanceof exports[_0x15d9d3(0x225)]||_0xcc4225 instanceof exports[_0x15d9d3(0x310)])&&_0xcc4225['resend'](),_0xcc4225;}return this['_injector'][_0x15d9d3(0x2db)](exports[_0x15d9d3(0x1b8)],_0x76e6ac,this[_0x15d9d3(0x33e)],_0xcb46b,_0x252824,_0x420701);}['_replayCachedMutations'](_0x4d118b,_0x3f68ee){var _0x3fb86d=_0xb98a65,_0x303fa7,_0x341811;const _0x1a94ee=this[_0x3fb86d(0x40e)]['interceptor'][_0x3fb86d(0x249)](this[_0x3fb86d(0x40e)][_0x3fb86d(0x154)][_0x3fb86d(0x3d3)]()[_0x3fb86d(0x25d)]);(_0x303fa7=_0x1a94ee((_0x4d118b==null?void 0x0:_0x4d118b[_0x3fb86d(0x282)])||[],null))==null||_0x303fa7[_0x3fb86d(0x304)](_0x22ef0f=>this[_0x3fb86d(0x1d7)][_0x3fb86d(0x303)](_0x22ef0f['id'],_0x22ef0f['params'])),(_0x341811=_0x1a94ee(_0x3f68ee||[],null))==null||_0x341811[_0x3fb86d(0x304)](_0x1a1780=>this['_commandService'][_0x3fb86d(0x303)](_0x1a1780['id'],_0x1a1780[_0x3fb86d(0x42f)]));}},exports['CollaborationEntity']=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0xb98a65(0x42e)](p[_0xb98a65(0x1bb)])),j(0x5,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),j(0x6,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0xb98a65(0x423)]),j(0x9,a['ICommandService']),j(0xa,a[_0xb98a65(0x3b6)]),j(0xb,a[_0xb98a65(0x3d1)](de)),j(0xc,a[_0xb98a65(0x3d1)](q))],exports['CollaborationEntity']),exports[_0xb98a65(0x47d)]=class extends exports[_0xb98a65(0x2a4)]{constructor(_0x3a878f,_0x447dfb,_0xa9fc03,_0x5d7b1a,_0x38cc92,_0x58b0e7,_0xfa63d9,_0x40db38,_0x5a4f26,_0xfe3629,_0x58e824,_0x509053,_0x827ce2){var _0x33f23f=_0xb98a65;super(_0x3a878f,_0xa9fc03,_0x447dfb,_0x5d7b1a,_0x38cc92,_0x58b0e7,_0xfa63d9,_0x40db38,_0x5a4f26,_0xfe3629,_0x58e824,_0x509053,_0x827ce2),A(this,_0x33f23f(0x1f7),null),(this[_0x33f23f(0x173)]=_0x3a878f,this['type']=_0x447dfb);}[_0xb98a65(0x1f5)](_0x126feb){this['_handlerCallback']=_0x126feb;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}[_0xb98a65(0x193)](){var _0x2be6c7=_0xb98a65;const _0x5ae9a3=super[_0x2be6c7(0x193)]();return _0x5ae9a3[_0x2be6c7(0x331)]=_0x4c743b=>{var _0x4a4c9b=_0x2be6c7,_0x4c7529,_0x56cd35;return(_0x56cd35=(_0x4c7529=this[_0x4a4c9b(0x1f7)])==null?void 0x0:_0x4c7529[_0x4a4c9b(0x331)])==null?void 0x0:_0x56cd35['call'](_0x4c7529,_0x4c743b);},_0x5ae9a3[_0x2be6c7(0x301)]=_0x49dccf=>{var _0xf82a54=_0x2be6c7,_0x5439ac,_0x522e78;return(_0x522e78=(_0x5439ac=this[_0xf82a54(0x1f7)])==null?void 0x0:_0x5439ac[_0xf82a54(0x301)])==null?void 0x0:_0x522e78['call'](_0x5439ac,_0x49dccf);},_0x5ae9a3['onTransformSelections']=_0x4efb78=>{var _0x1239e3=_0x2be6c7,_0x260bc6,_0x4ee1da;return(_0x4ee1da=(_0x260bc6=this[_0x1239e3(0x1f7)])==null?void 0x0:_0x260bc6['onTransformSelections'])==null?void 0x0:_0x4ee1da[_0x1239e3(0x4bf)](_0x260bc6,_0x4efb78);},_0x5ae9a3[_0x2be6c7(0x2b4)]=_0x4884e0=>{var _0x5b9be9=_0x2be6c7,_0x44ab27,_0xfe2222;return(_0xfe2222=(_0x44ab27=this[_0x5b9be9(0x1f7)])==null?void 0x0:_0x44ab27[_0x5b9be9(0x2b4)])==null?void 0x0:_0xfe2222[_0x5b9be9(0x4bf)](_0x44ab27,_0x4884e0);},_0x5ae9a3[_0x2be6c7(0x2ec)]=_0x2a913a=>{var _0x1f892e=_0x2be6c7,_0xdddd49,_0x438938,_0x343b0b;if(!((_0xdddd49=this[_0x1f892e(0x1f7)])!=null&&_0xdddd49[_0x1f892e(0x2ec)]))throw new Error(_0x1f892e(0x179));return(_0x343b0b=(_0x438938=this[_0x1f892e(0x1f7)])==null?void 0x0:_0x438938[_0x1f892e(0x2ec)])==null?void 0x0:_0x343b0b['call'](_0x438938,_0x2a913a);},_0x5ae9a3[_0x2be6c7(0x2f4)]=_0x467b48=>{var _0x3fd5be=_0x2be6c7,_0x5cb148,_0x4d62e5,_0x3f4e76;if(!((_0x5cb148=this[_0x3fd5be(0x1f7)])!=null&&_0x5cb148[_0x3fd5be(0x2f4)]))throw new Error(_0x3fd5be(0x37f));return(_0x3f4e76=(_0x4d62e5=this[_0x3fd5be(0x1f7)])==null?void 0x0:_0x4d62e5[_0x3fd5be(0x2f4)])==null?void 0x0:_0x3f4e76[_0x3fd5be(0x4bf)](_0x4d62e5,_0x467b48);},_0x5ae9a3;}async[_0xb98a65(0x2e3)](){var _0xd07c08=_0xb98a65;const _0x53aff9=await super[_0xd07c08(0x2e3)]();return this[_0xd07c08(0x223)](this[_0xd07c08(0x1d7)][_0xd07c08(0x1cc)]((_0x546f06,_0x3fc8f4)=>{var _0x4009ca=_0xd07c08;if(_0x546f06[_0x4009ca(0x2a8)]!==a[_0x4009ca(0x1de)][_0x4009ca(0x2d9)]||_0x3fc8f4!=null&&_0x3fc8f4['fromCollab']||_0x3fc8f4!=null&&_0x3fc8f4[_0x4009ca(0x150)]||_0x546f06['id']===ht[_0x4009ca(0x245)]['id'])return;const _0x184f51=_0x546f06[_0x4009ca(0x42f)];if((_0x184f51==null?void 0x0:_0x184f51[_0x4009ca(0x344)])!==this[_0x4009ca(0x173)])return;const _0x4dccd4=_0x546f06,_0x2365aa=this[_0x4009ca(0x40e)][_0x4009ca(0x154)][_0x4009ca(0x249)](this['_compressMutationService'][_0x4009ca(0x154)]['getInterceptPoints']()[_0x4009ca(0x1b1)])([_0x4dccd4],null)||[_0x4dccd4];this[_0x4009ca(0x483)](_0x2365aa[0x0]);})),_0x53aff9;}},exports[_0xb98a65(0x47d)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0xb98a65(0x42e)](p['CompressMutationService'])),j(0x5,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),j(0x6,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),j(0x7,a[_0xb98a65(0x42e)](ee)),j(0x8,a[_0xb98a65(0x423)]),j(0x9,a[_0xb98a65(0x437)]),j(0xa,a[_0xb98a65(0x3b6)]),j(0xb,a[_0xb98a65(0x3d1)](de)),j(0xc,a['Optional'](q))],exports[_0xb98a65(0x47d)]),exports[_0xb98a65(0x3e4)]=class extends exports['CollaborationEntity']{constructor(_0x495360,_0x4f1cc3,_0x1361a0,_0x4e3334,_0x3256f2,_0x57a12d,_0x1e4268,_0x3c7e6e,_0x474de6,_0x17361f,_0x469660,_0x5bb46d,_0x49d14b,_0x20bc52){var _0x54abd1=_0xb98a65;super(_0x495360,_0x1361a0,_0x4f1cc3,_0x4e3334,_0x3256f2,_0x57a12d,_0x1e4268,_0x474de6,_0x17361f,_0x469660,_0x5bb46d,_0x49d14b,_0x20bc52),this[_0x54abd1(0x173)]=_0x495360,this[_0x54abd1(0x2a8)]=_0x4f1cc3,this[_0x54abd1(0x1f8)]=_0x3c7e6e;}[_0xb98a65(0x193)](){var _0x5ac705=_0xb98a65;const _0x374816=super['_createHandler']();return _0x374816[_0x5ac705(0x1ab)]=_0x1c6796=>this['_sheetTransformSelectionsService'][_0x5ac705(0x2d7)](_0x1c6796),_0x374816;}async[_0xb98a65(0x2e3)](){var _0x1410ab=_0xb98a65;const _0xa5538f=await super[_0x1410ab(0x2e3)]();return this[_0x1410ab(0x223)](this[_0x1410ab(0x1d7)]['onCommandExecuted']((_0xa4f3c3,_0x6783b8)=>{var _0x20ef75=_0x1410ab;if(_0xa4f3c3[_0x20ef75(0x2a8)]!==a[_0x20ef75(0x1de)][_0x20ef75(0x2d9)]||_0x6783b8!=null&&_0x6783b8['fromCollab']||_0x6783b8!=null&&_0x6783b8[_0x20ef75(0x150)])return;const _0x41280b=_0xa4f3c3[_0x20ef75(0x42f)];if((_0x41280b==null?void 0x0:_0x41280b['unitId'])!==this['unitID'])return;const _0x1159fd=_0xa4f3c3,_0x381399=this[_0x20ef75(0x40e)][_0x20ef75(0x154)][_0x20ef75(0x249)](this[_0x20ef75(0x40e)][_0x20ef75(0x154)][_0x20ef75(0x3d3)]()[_0x20ef75(0x1b1)])([_0x1159fd],null)||[_0x1159fd];this[_0x20ef75(0x483)](_0x381399[0x0]);})),_0xa5538f;}},exports[_0xb98a65(0x3e4)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0xb98a65(0x42e)](p['CompressMutationService'])),j(0x5,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),j(0x6,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),j(0x7,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x3a4)])),j(0x8,a[_0xb98a65(0x42e)](ee)),j(0x9,a[_0xb98a65(0x423)]),j(0xa,a[_0xb98a65(0x437)]),j(0xb,a['IPermissionService']),j(0xc,a[_0xb98a65(0x3d1)](de)),j(0xd,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x3e4)]);var Si=Object[_0xb98a65(0x2b8)],fi=(_0x1825d9,_0x136650,_0x41c74b,_0x1b5445)=>{var _0x51c306=_0xb98a65;for(var _0x55c755=_0x1b5445>0x1?void 0x0:_0x1b5445?Si(_0x136650,_0x41c74b):_0x136650,_0x3be3c5=_0x1825d9[_0x51c306(0x1cf)]-0x1,_0xddfd93;_0x3be3c5>=0x0;_0x3be3c5--)(_0xddfd93=_0x1825d9[_0x3be3c5])&&(_0x55c755=_0xddfd93(_0x55c755)||_0x55c755);return _0x55c755;},Se=(_0x353236,_0x48b984)=>(_0x5816a4,_0xb0fe57)=>_0x48b984(_0x5816a4,_0xb0fe57,_0x353236);exports[_0xb98a65(0x42a)]=class extends a['RxDisposable']{constructor(_0x5182a2,_0x37b732,_0x7f105c,_0x59257a){var _0x1a4b8e=_0xb98a65,_0x5681cb;super(),A(this,_0x1a4b8e(0x21a),new Map()),A(this,_0x1a4b8e(0x213),new $[(_0x1a4b8e(0x3bd))]()),A(this,_0x1a4b8e(0x48f),this[_0x1a4b8e(0x213)][_0x1a4b8e(0x345)]()),(this['_injector']=_0x5182a2,this[_0x1a4b8e(0x2e5)]=_0x37b732,this[_0x1a4b8e(0x434)]=_0x7f105c,this[_0x1a4b8e(0x4c9)]=_0x59257a,((_0x5681cb=this[_0x1a4b8e(0x434)][_0x1a4b8e(0x3e6)](G))==null?void 0x0:_0x5681cb['enableCollaboration'])!==!0x1&&this[_0x1a4b8e(0x2e3)]());}[_0xb98a65(0x1d6)](){var _0x30eee8=_0xb98a65;super['dispose'](),this[_0x30eee8(0x21a)]['forEach'](_0x4d6ba7=>_0x4d6ba7[_0x30eee8(0x1d6)]()),this['_entities'][_0x30eee8(0x48a)]();}[_0xb98a65(0x41c)](_0x2f22aa){var _0x420a9c=_0xb98a65,_0x5aa33c;return(_0x5aa33c=this[_0x420a9c(0x21a)][_0x420a9c(0x324)](_0x2f22aa))!=null?_0x5aa33c:null;}[_0xb98a65(0x2d5)](_0x537045){var _0x1ad4c4=_0xb98a65;const _0x123cda=this[_0x1ad4c4(0x41c)](_0x537045);return _0x123cda?$['of'](_0x123cda):this[_0x1ad4c4(0x213)]['pipe'](V[_0x1ad4c4(0x2fd)](_0x18279b=>_0x18279b[_0x1ad4c4(0x173)]===_0x537045));}['readyForCollab'](_0x567045){var _0x30ec61=_0xb98a65;return $[_0x30ec61(0x3ee)](this['getCollabEntity$'](_0x567045)[_0x30ec61(0x490)](V['map'](()=>{})));}[_0xb98a65(0x2e3)](){var _0x3c2d47=_0xb98a65;this['_univerInstanceService'][_0x3c2d47(0x155)](a[_0x3c2d47(0x219)][_0x3c2d47(0x42b)])[_0x3c2d47(0x490)]($[_0x3c2d47(0x256)](this[_0x3c2d47(0x297)]),V[_0x3c2d47(0x2ab)](0x10))[_0x3c2d47(0x20a)](async _0x3bf265=>{var _0x451f8e=_0x3c2d47;const _0x339dd2=_0x3bf265[_0x451f8e(0x270)](),_0x5e8606=await this['_startCollaboration'](_0x339dd2,J[_0x451f8e(0x42b)]);this['_entities'][_0x451f8e(0x337)](_0x339dd2,_0x5e8606);}),this[_0x3c2d47(0x4c9)][_0x3c2d47(0x155)](a[_0x3c2d47(0x219)][_0x3c2d47(0x153)])[_0x3c2d47(0x490)]($[_0x3c2d47(0x256)](this[_0x3c2d47(0x297)]),V[_0x3c2d47(0x2ab)](0x10))[_0x3c2d47(0x490)](V['filter'](_0x3a752f=>!_0x3a752f[_0x3c2d47(0x270)]()['startsWith']('__')))[_0x3c2d47(0x20a)](async _0x462b0a=>{var _0x4f739d=_0x3c2d47;const _0xb019=_0x462b0a[_0x4f739d(0x270)](),_0x478e07=await this[_0x4f739d(0x27a)](_0xb019,J[_0x4f739d(0x153)]);this['_entities'][_0x4f739d(0x337)](_0xb019,_0x478e07);}),$['merge'](this[_0x3c2d47(0x4c9)][_0x3c2d47(0x3eb)](a[_0x3c2d47(0x219)]['UNIVER_SHEET']),this[_0x3c2d47(0x4c9)][_0x3c2d47(0x3eb)](a[_0x3c2d47(0x219)]['UNIVER_DOC']))['pipe']($[_0x3c2d47(0x256)](this[_0x3c2d47(0x297)]))[_0x3c2d47(0x20a)](_0x177c9a=>{var _0x5a2ef4=_0x3c2d47;const _0x2d5c6b=_0x177c9a[_0x5a2ef4(0x270)](),_0x23f3ad=this[_0x5a2ef4(0x21a)][_0x5a2ef4(0x324)](_0x2d5c6b);_0x23f3ad&&(_0x23f3ad[_0x5a2ef4(0x1d6)](),this[_0x5a2ef4(0x21a)][_0x5a2ef4(0x21f)](_0x2d5c6b));});}async[_0xb98a65(0x27a)](_0x5fc2d4,_0x505c65){var _0x553d00=_0xb98a65;const _0x255433=await this[_0x553d00(0x2e5)][_0x553d00(0x1e2)](_0x5fc2d4),_0xc60f53=this[_0x553d00(0x262)]['createInstance'](this[_0x553d00(0x19a)](_0x505c65),_0x5fc2d4,_0x505c65,_0x255433);return await _0xc60f53[_0x553d00(0x440)](),this['_entityInit$']['next'](_0xc60f53),_0xc60f53;}[_0xb98a65(0x19a)](_0x4031e3){var _0x164105=_0xb98a65;switch(_0x4031e3){case J['UNIVER_DOC']:return exports['DocCollaborationEntity'];case J[_0x164105(0x42b)]:return exports[_0x164105(0x3e4)];default:throw new Error(_0x164105(0x317)+_0x4031e3);}}},exports['CollaborationController']=fi([Se(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),Se(0x1,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x1a5)])),Se(0x2,a[_0xb98a65(0x2a1)]),Se(0x3,a[_0xb98a65(0x2bb)])],exports[_0xb98a65(0x42a)]);var Ii=Object[_0xb98a65(0x2b8)],pi=(_0x1eb192,_0x414b07,_0x1ea7a6,_0x2fdf1a)=>{var _0x481858=_0xb98a65;for(var _0x482d5f=_0x2fdf1a>0x1?void 0x0:_0x2fdf1a?Ii(_0x414b07,_0x1ea7a6):_0x414b07,_0x26ce76=_0x1eb192[_0x481858(0x1cf)]-0x1,_0x37a362;_0x26ce76>=0x0;_0x26ce76--)(_0x37a362=_0x1eb192[_0x26ce76])&&(_0x482d5f=_0x37a362(_0x482d5f)||_0x482d5f);return _0x482d5f;},Ke=(_0x3169f9,_0x4f27dc)=>(_0x59899d,_0x450010)=>_0x4f27dc(_0x59899d,_0x450010,_0x3169f9);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0xb98a65(0x43d)]{constructor(_0x4a839d,_0x43dccb){var _0x1f84cc=_0xb98a65;super(),this[_0x1f84cc(0x4c9)]=_0x4a839d,this[_0x1f84cc(0x434)]=_0x43dccb,this['_init']();}[_0xb98a65(0x2e3)](){var _0x4fb2ce=_0xb98a65;this[_0x4fb2ce(0x223)](this['_univerInstanceService'][_0x4fb2ce(0x31b)]['subscribe'](()=>{var _0x380528=_0x4fb2ce,_0x504a06;const _0xb43842=this[_0x380528(0x4c9)][_0x380528(0x294)]();let _0x5ed5dc=(_0x504a06=this['_configService'][_0x380528(0x3e6)](gi))!=null?_0x504a06:Ei;_0xb43842 instanceof a[_0x380528(0x411)]&&(_0x5ed5dc=_0xb43842[_0x380528(0x36a)]),document['title']=_0x5ed5dc;}));}};xe=pi([Ke(0x0,a[_0xb98a65(0x2bb)]),Ke(0x1,a['IConfigService'])],xe);var mi=Object[_0xb98a65(0x2b8)],Ci=(_0x5836aa,_0x3e6126,_0xf994a3,_0x331901)=>{for(var _0xb8b34=_0x331901>0x1?void 0x0:_0x331901?mi(_0x3e6126,_0xf994a3):_0x3e6126,_0x2914a6=_0x5836aa['length']-0x1,_0x1b9bf1;_0x2914a6>=0x0;_0x2914a6--)(_0x1b9bf1=_0x5836aa[_0x2914a6])&&(_0xb8b34=_0x1b9bf1(_0xb8b34)||_0xb8b34);return _0xb8b34;},Ae=(_0xc612f8,_0x13d8f6)=>(_0x484cf1,_0x28160d)=>_0x13d8f6(_0x484cf1,_0x28160d,_0xc612f8);let ye=class{constructor(_0x4aa3e1,_0x28c2b1,_0x2c3fdb){var _0x433a69=_0xb98a65;this['_configService']=_0x4aa3e1,this[_0x433a69(0x3b5)]=_0x28c2b1,this['localeService']=_0x2c3fdb,this[_0x433a69(0x440)]();}[_0xb98a65(0x440)](){var _0x10348a=_0xb98a65;this[_0x10348a(0x3b5)][_0x10348a(0x269)]({'priority':0x1,'interceptor':(_0x560387,_0x2c40a2)=>_0x2c40a2(_0x560387)[_0x10348a(0x490)]($['concatMap'](async _0x2b87d4=>{var _0x163780=_0x10348a;const _0x2ba18c=_0x2b87d4;if(_0x2ba18c['status']===0x191){if(typeof window>'u')throw new Error(_0x163780(0x4b3));if(window[_0x163780(0x361)](this[_0x163780(0x177)]['t'](_0x163780(0x2c3)))){const _0x2636e5=window['encodeURIComponent'](window[_0x163780(0x2c4)][_0x163780(0x481)]);window[_0x163780(0x2c4)][_0x163780(0x481)]=this[_0x163780(0x4a2)]()+'?url='+_0x2636e5;}}return _0x2ba18c;}))});}[_0xb98a65(0x4a2)](){var _0x2f0897=_0xb98a65,_0x246056,_0x548937;const _0x2fad94=this[_0x2f0897(0x434)][_0x2f0897(0x3e6)](pt),_0x30df81=this[_0x2f0897(0x434)]['getConfig'](G);return(_0x548937=(_0x246056=_0x30df81==null?void 0x0:_0x30df81[_0x2f0897(0x267)])!=null?_0x246056:_0x2fad94)!=null?_0x548937:Wt;}};ye=Ci([Ae(0x0,a[_0xb98a65(0x2a1)]),Ae(0x1,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)])),Ae(0x2,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)]))],ye);var Ti=Object[_0xb98a65(0x2b8)],bi=(_0x3f266d,_0x29d901,_0x457155,_0x4e6957)=>{var _0x187f2d=_0xb98a65;for(var _0x178ebb=_0x4e6957>0x1?void 0x0:_0x4e6957?Ti(_0x29d901,_0x457155):_0x29d901,_0x25723f=_0x3f266d[_0x187f2d(0x1cf)]-0x1,_0x37f3ed;_0x25723f>=0x0;_0x25723f--)(_0x37f3ed=_0x3f266d[_0x25723f])&&(_0x178ebb=_0x37f3ed(_0x178ebb)||_0x178ebb);return _0x178ebb;},qe=(_0x4108ef,_0x38c1b0)=>(_0x198ade,_0x293a75)=>_0x38c1b0(_0x198ade,_0x293a75,_0x4108ef);const Ve='AUTHZ_URL_KEY',Ri=_0xb98a65(0x456);exports[_0xb98a65(0x255)]=class extends a[_0xb98a65(0x43d)]{constructor(_0x35ca18,_0x25a837){var _0x4ac3e4=_0xb98a65;super(),this[_0x4ac3e4(0x1ef)]=_0x35ca18,this[_0x4ac3e4(0x434)]=_0x25a837,this[_0x4ac3e4(0x199)]();}[_0xb98a65(0x199)](){var _0x20b847=_0xb98a65;const _0x4cc1e7=this;this[_0x20b847(0x223)](this[_0x20b847(0x1ef)][_0x20b847(0x269)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x5efb5e){var _0x193343=_0x20b847,_0x1f5d43;if(_0x5efb5e[_0x193343(0x15d)]===_0x193343(0x295)&&((_0x1f5d43=_0x5efb5e[_0x193343(0x363)])!=null&&_0x1f5d43[_0x193343(0x4c8)])){const {objectID:_0x38316e,objectType:_0x5b4fe6}=_0x5efb5e[_0x193343(0x363)]['body']||{};if(!_0x38316e||_0x5b4fe6===void 0x0)return!0x1;const _0x419b1c=_0x4cc1e7[_0x193343(0x2eb)]()+'/'+_0x5b4fe6+_0x193343(0x185)+_0x38316e+_0x193343(0x3c5);if(_0x5efb5e[_0x193343(0x268)]===_0x419b1c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2ce30d){var _0x154f74=_0x20b847,_0xf9e1d3;return(_0xf9e1d3=_0x2ce30d[_0x154f74(0x363)])==null?void 0x0:_0xf9e1d3['body'];},'mergeParamsToRequest'(_0x46ff18,_0xfa07b8){var _0x57dd21=_0x20b847;const _0x4048f1=_0x4cc1e7[_0x57dd21(0x2eb)]()+_0x57dd21(0x1a8),_0x303754=_0x46ff18[_0x57dd21(0x438)]((_0x3cf0fe,_0x2a4e8d)=>{var _0x1c1605=_0x57dd21;const {unitID:_0x17340f,objectID:_0x5ef51b,objectType:_0x5bc172,actions:_0x5cea08}=_0x2a4e8d;return _0x3cf0fe[_0x17340f]||(_0x3cf0fe[_0x17340f]={}),_0x3cf0fe[_0x17340f][_0x5ef51b]||(_0x3cf0fe[_0x17340f][_0x5ef51b]={'objectID':_0x5ef51b,'objectType':_0x5bc172,'actions':[]}),_0x3cf0fe[_0x17340f][_0x5ef51b]['actions'][_0x1c1605(0x360)](..._0x5cea08),_0x3cf0fe;},{}),_0x34ee7a=[];for(const _0x19ad2a in _0x303754)for(const _0x2a54e9 in _0x303754[_0x19ad2a]){const {actions:_0x49581d,objectType:_0x3062}=_0x303754[_0x19ad2a][_0x2a54e9],_0x322725=[...new Set(_0x49581d)];_0x34ee7a[_0x57dd21(0x360)]({'unitID':_0x19ad2a,'objectID':_0x2a54e9,'objectType':_0x3062,'actions':_0x322725});}return new K[(_0x57dd21(0x31c))]('POST',_0x4048f1,{'headers':_0xfa07b8['headers'],'withCredentials':_0xfa07b8[_0x57dd21(0x4af)],'responseType':_0xfa07b8[_0x57dd21(0x1a0)],'body':{'requests':_0x34ee7a}});}},{'distributeResult'(_0x3b7817,_0x40e677){const {objectActions:_0x3cf2fa}=_0x3b7817;return _0x40e677['map'](_0x583329=>{var _0x118168=_0x5981;const {unitID:_0x523c38,objectID:_0x4c5b90,actions:_0x48d2a0}=_0x583329,_0xbb3ad9=_0x3cf2fa[_0x118168(0x480)](_0xedc9ff=>_0xedc9ff[_0x118168(0x173)]===_0x523c38&&_0xedc9ff['objectID']===_0x4c5b90),_0x3f04f2=_0x48d2a0[_0x118168(0x442)](_0x571e23=>_0xbb3ad9==null?void 0x0:_0xbb3ad9[_0x118168(0x45c)][_0x118168(0x480)](_0x5bf73a=>_0x5bf73a[_0x118168(0x350)]===_0x571e23))[_0x118168(0x2fd)](_0x53bd5e=>!!_0x53bd5e);return{'config':_0x583329,'result':{'actions':_0x3f04f2,'error':_0x3b7817[_0x118168(0x3b4)]}};});}})}));}[_0xb98a65(0x2eb)](){var _0x4e5bce=_0xb98a65,_0x2f2086,_0x15a01d;const _0x5c8d9e=this[_0x4e5bce(0x434)][_0x4e5bce(0x3e6)](Ve),_0x77bf55=this[_0x4e5bce(0x434)][_0x4e5bce(0x3e6)](G);return(_0x15a01d=(_0x2f2086=_0x77bf55==null?void 0x0:_0x77bf55[_0x4e5bce(0x13c)])!=null?_0x2f2086:_0x5c8d9e)!=null?_0x15a01d:Ri;}async['create'](_0x4cc035){var _0x3f2bbd=_0xb98a65;const _0x380cd8=this[_0x3f2bbd(0x2eb)]()+'/'+_0x4cc035[_0x3f2bbd(0x398)]+'/object';return(await this[_0x3f2bbd(0x1ef)][_0x3f2bbd(0x289)](_0x380cd8,{'body':_0x4cc035}))[_0x3f2bbd(0x4c8)][_0x3f2bbd(0x459)]||'';}async[_0xb98a65(0x22c)](_0x5be657){var _0x4740c6=_0xb98a65;const _0x2be236=this[_0x4740c6(0x2eb)]()+_0x4740c6(0x3da);return(await this[_0x4740c6(0x1ef)][_0x4740c6(0x289)](_0x2be236,{'body':_0x5be657}))[_0x4740c6(0x4c8)][_0x4740c6(0x2e4)];}async[_0xb98a65(0x30b)](_0x458a03){var _0x3cb4e4=_0xb98a65,_0x10184e,_0xc2f4a2;const _0x51b110=this[_0x3cb4e4(0x2eb)]()+'/'+_0x458a03[_0x3cb4e4(0x398)]+_0x3cb4e4(0x185)+_0x458a03[_0x3cb4e4(0x459)],_0x48b66c=await this[_0x3cb4e4(0x1ef)][_0x3cb4e4(0x15a)](_0x51b110,{'body':_0x458a03});if(((_0xc2f4a2=(_0x10184e=_0x48b66c==null?void 0x0:_0x48b66c[_0x3cb4e4(0x4c8)])==null?void 0x0:_0x10184e[_0x3cb4e4(0x3b4)])==null?void 0x0:_0xc2f4a2['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xb98a65(0x242)](_0x51c827){var _0x5089a7=_0xb98a65;const _0x23a6ec=this[_0x5089a7(0x2eb)]()+'/'+_0x51c827['objectType']+'/object/'+_0x51c827[_0x5089a7(0x459)]+'/allowed';return(await this[_0x5089a7(0x1ef)]['post'](_0x23a6ec,{'body':_0x51c827}))[_0x5089a7(0x4c8)]['actions'];}async[_0xb98a65(0x28d)](_0x5b118f){var _0x560410=_0xb98a65;const _0x46037d=this['_getAPIPrefixPath']()+_0x560410(0x1a8);return(await this[_0x560410(0x1ef)]['post'](_0x46037d,{'body':{'requests':_0x5b118f}}))[_0x560410(0x4c8)][_0x560410(0x39b)];}async['listRoles'](_0x9e6484){var _0x239f19=_0xb98a65;const _0x1c7fd7=this[_0x239f19(0x2eb)]()+'/'+_0x9e6484[_0x239f19(0x398)]+'/role',_0x12ea1f=await this[_0x239f19(0x1ef)][_0x239f19(0x289)](_0x1c7fd7,{'body':_0x9e6484});return{'roles':_0x12ea1f[_0x239f19(0x4c8)][_0x239f19(0x1ca)],'actions':_0x12ea1f[_0x239f19(0x4c8)][_0x239f19(0x45c)]};}async[_0xb98a65(0x17a)](_0x13120c){var _0x591db8=_0xb98a65;const _0x511d66=this[_0x591db8(0x2eb)]()+_0x591db8(0x32e);await this['_HTTPService'][_0x591db8(0x21f)](_0x511d66,{'params':{'collaboratorID':_0x13120c[_0x591db8(0x405)],'objectID':_0x13120c[_0x591db8(0x459)],'unitID':_0x13120c[_0x591db8(0x173)]}});}async['updateCollaborator'](_0xb121ff){var _0x140ed8=_0xb98a65;const _0x4f7337=this[_0x140ed8(0x2eb)]()+'/collaborator';await this[_0x140ed8(0x1ef)][_0x140ed8(0x194)](_0x4f7337,{'body':_0xb121ff});}async[_0xb98a65(0x1dc)](_0x2cc950){var _0x2163d7=_0xb98a65;const _0x377631=this[_0x2163d7(0x2eb)]()+_0x2163d7(0x32e);await this[_0x2163d7(0x1ef)][_0x2163d7(0x289)](_0x377631,{'body':_0x2cc950});}async[_0xb98a65(0x3c6)](_0x22cf16){var _0x2bbabb=_0xb98a65;const _0x558b20=this[_0x2bbabb(0x2eb)]()+'/collaborator';return(await this[_0x2bbabb(0x1ef)][_0x2bbabb(0x324)](_0x558b20,{'params':{'objectID':_0x22cf16['objectID'],'unitID':_0x22cf16[_0x2bbabb(0x173)]}}))[_0x2bbabb(0x4c8)]['collaborators'];}async[_0xb98a65(0x187)](_0x19b7d2){var _0x434385=_0xb98a65;const _0x266c68=this['_getAPIPrefixPath']()+_0x434385(0x32e);await this[_0x434385(0x1ef)][_0x434385(0x15a)](_0x266c68,{'body':_0x19b7d2});}},exports[_0xb98a65(0x255)]=bi([qe(0x0,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)])),qe(0x1,a['Inject'](a[_0xb98a65(0x2a1)]))],exports[_0xb98a65(0x255)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3e86f6){var _0x2b3a99=_0xb98a65;return _0x3e86f6&&_0x3e86f6[_0x2b3a99(0x3f7)]&&Object['prototype'][_0x2b3a99(0x157)][_0x2b3a99(0x4bf)](_0x3e86f6,'default')?_0x3e86f6[_0x2b3a99(0x3ed)]:_0x3e86f6;}var fe={'exports':{}};function Oi(_0x365b1b){var _0x2e687c=_0xb98a65;throw new Error(_0x2e687c(0x22a)+_0x365b1b+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},yi=Ie['exports'],ze;function Q(){var _0x5d5f3e=_0xb98a65;return ze||(ze=0x1,function(_0x2fa863,_0x5ca69d){(function(_0x5aadee,_0x3cf0af){var _0x1a7e52=_0x5981;_0x2fa863[_0x1a7e52(0x356)]=_0x3cf0af();}(yi,function(){var _0x29e760=_0x29e760||function(_0x2052fe,_0x4c7754){var _0x37e2f5=_0x5981,_0x1a9eee;if(typeof window<'u'&&window['crypto']&&(_0x1a9eee=window[_0x37e2f5(0x13d)]),typeof self<'u'&&self[_0x37e2f5(0x13d)]&&(_0x1a9eee=self[_0x37e2f5(0x13d)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1a9eee=globalThis[_0x37e2f5(0x13d)]),!_0x1a9eee&&typeof window<'u'&&window[_0x37e2f5(0x347)]&&(_0x1a9eee=window[_0x37e2f5(0x347)]),!_0x1a9eee&&typeof Pe<'u'&&Pe[_0x37e2f5(0x13d)]&&(_0x1a9eee=Pe['crypto']),!_0x1a9eee&&typeof Oi==_0x37e2f5(0x1c8))try{_0x1a9eee=require('crypto');}catch{}var _0x275747=function(){var _0x3e2d44=_0x37e2f5;if(_0x1a9eee){if(typeof _0x1a9eee[_0x3e2d44(0x4a3)]==_0x3e2d44(0x1c8))try{return _0x1a9eee['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a9eee[_0x3e2d44(0x3e0)]==_0x3e2d44(0x1c8))try{return _0x1a9eee[_0x3e2d44(0x3e0)](0x4)[_0x3e2d44(0x1f1)]();}catch{}}throw new Error(_0x3e2d44(0x325));},_0x545d21=Object['create']||(function(){function _0x32076c(){}return function(_0x279603){var _0x51d212=_0x5981,_0x28bee0;return _0x32076c[_0x51d212(0x409)]=_0x279603,_0x28bee0=new _0x32076c(),_0x32076c[_0x51d212(0x409)]=null,_0x28bee0;};}()),_0x5b65de={},_0x3fb94d=_0x5b65de['lib']={},_0x4978fc=_0x3fb94d[_0x37e2f5(0x296)]=(function(){return{'extend':function(_0x5f5581){var _0x4e554f=_0x5981,_0x4feb1b=_0x545d21(this);return _0x5f5581&&_0x4feb1b['mixIn'](_0x5f5581),(!_0x4feb1b[_0x4e554f(0x157)](_0x4e554f(0x440))||this[_0x4e554f(0x440)]===_0x4feb1b[_0x4e554f(0x440)])&&(_0x4feb1b['init']=function(){var _0x5c2d0f=_0x4e554f;_0x4feb1b[_0x5c2d0f(0x4b8)][_0x5c2d0f(0x440)]['apply'](this,arguments);}),_0x4feb1b['init'][_0x4e554f(0x409)]=_0x4feb1b,_0x4feb1b[_0x4e554f(0x4b8)]=this,_0x4feb1b;},'create':function(){var _0x378934=_0x5981,_0x1ecfce=this[_0x378934(0x370)]();return _0x1ecfce[_0x378934(0x440)][_0x378934(0x3f5)](_0x1ecfce,arguments),_0x1ecfce;},'init':function(){},'mixIn':function(_0x44149a){var _0x3d39d3=_0x5981;for(var _0x2b2873 in _0x44149a)_0x44149a[_0x3d39d3(0x157)](_0x2b2873)&&(this[_0x2b2873]=_0x44149a[_0x2b2873]);_0x44149a[_0x3d39d3(0x157)]('toString')&&(this[_0x3d39d3(0x381)]=_0x44149a['toString']);},'clone':function(){var _0x16e072=_0x5981;return this[_0x16e072(0x440)]['prototype'][_0x16e072(0x370)](this);}};}()),_0x119573=_0x3fb94d['WordArray']=_0x4978fc['extend']({'init':function(_0x42cf6a,_0x414b5b){var _0x38547e=_0x37e2f5;_0x42cf6a=this[_0x38547e(0x2dd)]=_0x42cf6a||[],_0x414b5b!=_0x4c7754?this[_0x38547e(0x41f)]=_0x414b5b:this[_0x38547e(0x41f)]=_0x42cf6a['length']*0x4;},'toString':function(_0x28537e){var _0x3f734f=_0x37e2f5;return(_0x28537e||_0x348258)[_0x3f734f(0x4a4)](this);},'concat':function(_0x2681f7){var _0x27e34f=_0x37e2f5,_0x4400eb=this[_0x27e34f(0x2dd)],_0x44ebf4=_0x2681f7['words'],_0x161029=this['sigBytes'],_0x57fb13=_0x2681f7[_0x27e34f(0x41f)];if(this[_0x27e34f(0x34c)](),_0x161029%0x4)for(var _0x4777a8=0x0;_0x4777a8<_0x57fb13;_0x4777a8++){var _0x324a0c=_0x44ebf4[_0x4777a8>>>0x2]>>>0x18-_0x4777a8%0x4*0x8&0xff;_0x4400eb[_0x161029+_0x4777a8>>>0x2]|=_0x324a0c<<0x18-(_0x161029+_0x4777a8)%0x4*0x8;}else{for(var _0x5901d3=0x0;_0x5901d3<_0x57fb13;_0x5901d3+=0x4)_0x4400eb[_0x161029+_0x5901d3>>>0x2]=_0x44ebf4[_0x5901d3>>>0x2];}return this[_0x27e34f(0x41f)]+=_0x57fb13,this;},'clamp':function(){var _0x4a072d=_0x37e2f5,_0x5a6a26=this[_0x4a072d(0x2dd)],_0x45bb23=this['sigBytes'];_0x5a6a26[_0x45bb23>>>0x2]&=0xffffffff<<0x20-_0x45bb23%0x4*0x8,_0x5a6a26[_0x4a072d(0x1cf)]=_0x2052fe['ceil'](_0x45bb23/0x4);},'clone':function(){var _0x1ce2c0=_0x37e2f5,_0x313776=_0x4978fc[_0x1ce2c0(0x495)]['call'](this);return _0x313776[_0x1ce2c0(0x2dd)]=this[_0x1ce2c0(0x2dd)][_0x1ce2c0(0x49b)](0x0),_0x313776;},'random':function(_0x1b4357){var _0x43cb7c=_0x37e2f5;for(var _0x304b99=[],_0x597e32=0x0;_0x597e32<_0x1b4357;_0x597e32+=0x4)_0x304b99['push'](_0x275747());return new _0x119573[(_0x43cb7c(0x440))](_0x304b99,_0x1b4357);}}),_0x1568f8=_0x5b65de['enc']={},_0x348258=_0x1568f8[_0x37e2f5(0x2b2)]={'stringify':function(_0x16dca8){var _0x3e7184=_0x37e2f5;for(var _0x4a30c0=_0x16dca8['words'],_0x3cfedd=_0x16dca8[_0x3e7184(0x41f)],_0x2324db=[],_0x31713b=0x0;_0x31713b<_0x3cfedd;_0x31713b++){var _0x4ae513=_0x4a30c0[_0x31713b>>>0x2]>>>0x18-_0x31713b%0x4*0x8&0xff;_0x2324db[_0x3e7184(0x360)]((_0x4ae513>>>0x4)[_0x3e7184(0x381)](0x10)),_0x2324db['push']((_0x4ae513&0xf)['toString'](0x10));}return _0x2324db[_0x3e7184(0x3b3)]('');},'parse':function(_0xafa3d1){var _0x325673=_0x37e2f5;for(var _0xb2ca1d=_0xafa3d1[_0x325673(0x1cf)],_0x358619=[],_0x50d15a=0x0;_0x50d15a<_0xb2ca1d;_0x50d15a+=0x2)_0x358619[_0x50d15a>>>0x3]|=parseInt(_0xafa3d1[_0x325673(0x3de)](_0x50d15a,0x2),0x10)<<0x18-_0x50d15a%0x8*0x4;return new _0x119573[(_0x325673(0x440))](_0x358619,_0xb2ca1d/0x2);}},_0x5dbcaa=_0x1568f8[_0x37e2f5(0x19d)]={'stringify':function(_0xe9c4eb){var _0x4ddf87=_0x37e2f5;for(var _0x175f89=_0xe9c4eb[_0x4ddf87(0x2dd)],_0x4ca049=_0xe9c4eb[_0x4ddf87(0x41f)],_0x3631fa=[],_0x4f63b9=0x0;_0x4f63b9<_0x4ca049;_0x4f63b9++){var _0x1b8584=_0x175f89[_0x4f63b9>>>0x2]>>>0x18-_0x4f63b9%0x4*0x8&0xff;_0x3631fa[_0x4ddf87(0x360)](String['fromCharCode'](_0x1b8584));}return _0x3631fa[_0x4ddf87(0x3b3)]('');},'parse':function(_0x23e71e){var _0x1da047=_0x37e2f5;for(var _0x4f8345=_0x23e71e['length'],_0x4077ec=[],_0x3b6635=0x0;_0x3b6635<_0x4f8345;_0x3b6635++)_0x4077ec[_0x3b6635>>>0x2]|=(_0x23e71e['charCodeAt'](_0x3b6635)&0xff)<<0x18-_0x3b6635%0x4*0x8;return new _0x119573[(_0x1da047(0x440))](_0x4077ec,_0x4f8345);}},_0x5357bb=_0x1568f8['Utf8']={'stringify':function(_0x18df39){var _0x1b9089=_0x37e2f5;try{return decodeURIComponent(escape(_0x5dbcaa[_0x1b9089(0x4a4)](_0x18df39)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4aeee7){var _0x7edcd3=_0x37e2f5;return _0x5dbcaa[_0x7edcd3(0x14b)](unescape(encodeURIComponent(_0x4aeee7)));}},_0x276cb3=_0x3fb94d[_0x37e2f5(0x140)]=_0x4978fc[_0x37e2f5(0x370)]({'reset':function(){var _0x320563=_0x37e2f5;this['_data']=new _0x119573[(_0x320563(0x440))](),this[_0x320563(0x491)]=0x0;},'_append':function(_0x2c3e80){var _0x23af06=_0x37e2f5;typeof _0x2c3e80==_0x23af06(0x3aa)&&(_0x2c3e80=_0x5357bb[_0x23af06(0x14b)](_0x2c3e80)),this[_0x23af06(0x1be)][_0x23af06(0x2ff)](_0x2c3e80),this[_0x23af06(0x491)]+=_0x2c3e80[_0x23af06(0x41f)];},'_process':function(_0x4c8c18){var _0x21c3b5=_0x37e2f5,_0x195ba8,_0x5e62e0=this['_data'],_0x33172b=_0x5e62e0[_0x21c3b5(0x2dd)],_0x3a6603=_0x5e62e0[_0x21c3b5(0x41f)],_0x10daf5=this[_0x21c3b5(0x497)],_0x946e3=_0x10daf5*0x4,_0x5dd0c8=_0x3a6603/_0x946e3;_0x4c8c18?_0x5dd0c8=_0x2052fe[_0x21c3b5(0x17d)](_0x5dd0c8):_0x5dd0c8=_0x2052fe[_0x21c3b5(0x1ac)]((_0x5dd0c8|0x0)-this[_0x21c3b5(0x2ce)],0x0);var _0x1b280d=_0x5dd0c8*_0x10daf5,_0x3904a6=_0x2052fe['min'](_0x1b280d*0x4,_0x3a6603);if(_0x1b280d){for(var _0x1bd6da=0x0;_0x1bd6da<_0x1b280d;_0x1bd6da+=_0x10daf5)this[_0x21c3b5(0x1bd)](_0x33172b,_0x1bd6da);_0x195ba8=_0x33172b[_0x21c3b5(0x1ed)](0x0,_0x1b280d),_0x5e62e0['sigBytes']-=_0x3904a6;}return new _0x119573[(_0x21c3b5(0x440))](_0x195ba8,_0x3904a6);},'clone':function(){var _0x5aa635=_0x37e2f5,_0x13ab9d=_0x4978fc[_0x5aa635(0x495)]['call'](this);return _0x13ab9d[_0x5aa635(0x1be)]=this[_0x5aa635(0x1be)][_0x5aa635(0x495)](),_0x13ab9d;},'_minBufferSize':0x0});_0x3fb94d[_0x37e2f5(0x230)]=_0x276cb3[_0x37e2f5(0x370)]({'cfg':_0x4978fc['extend'](),'init':function(_0x5df91c){var _0x560584=_0x37e2f5;this['cfg']=this['cfg'][_0x560584(0x370)](_0x5df91c),this[_0x560584(0x183)]();},'reset':function(){var _0x541a69=_0x37e2f5;_0x276cb3['reset'][_0x541a69(0x4bf)](this),this[_0x541a69(0x24d)]();},'update':function(_0x53686e){var _0x57802=_0x37e2f5;return this[_0x57802(0x498)](_0x53686e),this[_0x57802(0x319)](),this;},'finalize':function(_0x361463){var _0x3b6af9=_0x37e2f5;_0x361463&&this[_0x3b6af9(0x498)](_0x361463);var _0x5ce0af=this[_0x3b6af9(0x41e)]();return _0x5ce0af;},'blockSize':0x10,'_createHelper':function(_0x96618){return function(_0x52adf8,_0x3a3898){var _0x1181fa=_0x5981;return new _0x96618[(_0x1181fa(0x440))](_0x3a3898)[_0x1181fa(0x2d8)](_0x52adf8);};},'_createHmacHelper':function(_0x1e9d46){return function(_0x16db90,_0x2952b5){var _0x5146e6=_0x5981;return new _0x3050ec[(_0x5146e6(0x4b2))]['init'](_0x1e9d46,_0x2952b5)[_0x5146e6(0x2d8)](_0x16db90);};}});var _0x3050ec=_0x5b65de[_0x37e2f5(0x387)]={};return _0x5b65de;}(Math);return _0x29e760;}));}(Ie)),Ie[_0x5d5f3e(0x356)];}var pe={'exports':{}},Ni=pe[_0xb98a65(0x356)],Je;function yt(){var _0x537cac=_0xb98a65;return Je||(Je=0x1,function(_0x43a7c9,_0x4ccfd0){(function(_0xee415b,_0x305eb0){var _0xade857=_0x5981;_0x43a7c9[_0xade857(0x356)]=_0x305eb0(Q());}(Ni,function(_0x35b44f){var _0x48b889=_0x5981;return(function(){var _0x1d42dd=_0x5981,_0x303db9=_0x35b44f,_0x349098=_0x303db9[_0x1d42dd(0x4a0)],_0x45187c=_0x349098['WordArray'],_0x54f531=_0x303db9[_0x1d42dd(0x146)];_0x54f531[_0x1d42dd(0x35b)]={'stringify':function(_0x1cc575){var _0x5b0bcb=_0x1d42dd,_0x44bd7f=_0x1cc575[_0x5b0bcb(0x2dd)],_0x5bbcd7=_0x1cc575[_0x5b0bcb(0x41f)],_0x1773a7=this['_map'];_0x1cc575[_0x5b0bcb(0x34c)]();for(var _0x407d02=[],_0x16fedf=0x0;_0x16fedf<_0x5bbcd7;_0x16fedf+=0x3)for(var _0x558cc2=_0x44bd7f[_0x16fedf>>>0x2]>>>0x18-_0x16fedf%0x4*0x8&0xff,_0x2167bc=_0x44bd7f[_0x16fedf+0x1>>>0x2]>>>0x18-(_0x16fedf+0x1)%0x4*0x8&0xff,_0x544b7e=_0x44bd7f[_0x16fedf+0x2>>>0x2]>>>0x18-(_0x16fedf+0x2)%0x4*0x8&0xff,_0x198b9c=_0x558cc2<<0x10|_0x2167bc<<0x8|_0x544b7e,_0x2be88c=0x0;_0x2be88c<0x4&&_0x16fedf+_0x2be88c*0.75<_0x5bbcd7;_0x2be88c++)_0x407d02[_0x5b0bcb(0x360)](_0x1773a7['charAt'](_0x198b9c>>>0x6*(0x3-_0x2be88c)&0x3f));var _0x3ed309=_0x1773a7[_0x5b0bcb(0x3bf)](0x40);if(_0x3ed309){for(;_0x407d02[_0x5b0bcb(0x1cf)]%0x4;)_0x407d02[_0x5b0bcb(0x360)](_0x3ed309);}return _0x407d02[_0x5b0bcb(0x3b3)]('');},'parse':function(_0x4be52b){var _0xcb05ec=_0x1d42dd,_0xb4d7c2=_0x4be52b[_0xcb05ec(0x1cf)],_0x449cb3=this['_map'],_0x23535b=this['_reverseMap'];if(!_0x23535b){_0x23535b=this['_reverseMap']=[];for(var _0x510509=0x0;_0x510509<_0x449cb3[_0xcb05ec(0x1cf)];_0x510509++)_0x23535b[_0x449cb3[_0xcb05ec(0x3ff)](_0x510509)]=_0x510509;}var _0x25fe3c=_0x449cb3[_0xcb05ec(0x3bf)](0x40);if(_0x25fe3c){var _0x3687bb=_0x4be52b[_0xcb05ec(0x404)](_0x25fe3c);_0x3687bb!==-0x1&&(_0xb4d7c2=_0x3687bb);}return _0x3c7730(_0x4be52b,_0xb4d7c2,_0x23535b);},'_map':_0x1d42dd(0x3a8)};function _0x3c7730(_0x5e6bf0,_0xf280f0,_0xa48b88){var _0x573c1a=_0x1d42dd;for(var _0x5ba21d=[],_0x5dd626=0x0,_0x49fc4f=0x0;_0x49fc4f<_0xf280f0;_0x49fc4f++)if(_0x49fc4f%0x4){var _0xade90a=_0xa48b88[_0x5e6bf0[_0x573c1a(0x3ff)](_0x49fc4f-0x1)]<<_0x49fc4f%0x4*0x2,_0x191f2b=_0xa48b88[_0x5e6bf0['charCodeAt'](_0x49fc4f)]>>>0x6-_0x49fc4f%0x4*0x2,_0x302339=_0xade90a|_0x191f2b;_0x5ba21d[_0x5dd626>>>0x2]|=_0x302339<<0x18-_0x5dd626%0x4*0x8,_0x5dd626++;}return _0x45187c['create'](_0x5ba21d,_0x5dd626);}}()),_0x35b44f[_0x48b889(0x146)][_0x48b889(0x35b)];}));}(pe)),pe[_0x537cac(0x356)];}var ge={'exports':{}},Di=ge[_0xb98a65(0x356)],Xe;function Ui(){var _0x23bb06=_0xb98a65;return Xe||(Xe=0x1,function(_0x3df56b,_0x275ec0){(function(_0x208c3b,_0x11f42b){var _0x55c3e5=_0x5981;_0x3df56b[_0x55c3e5(0x356)]=_0x11f42b(Q());}(Di,function(_0x1f1fde){var _0xe6227d=_0x5981;return function(_0x2908d6){var _0x4ae9ff=_0x5981,_0x3b0fec=_0x1f1fde,_0x28e2ba=_0x3b0fec['lib'],_0x34938b=_0x28e2ba[_0x4ae9ff(0x27f)],_0x563296=_0x28e2ba[_0x4ae9ff(0x230)],_0x32311b=_0x3b0fec['algo'],_0x569422=[];(function(){var _0x1209fc=_0x4ae9ff;for(var _0x4bd5ff=0x0;_0x4bd5ff<0x40;_0x4bd5ff++)_0x569422[_0x4bd5ff]=_0x2908d6[_0x1209fc(0x43e)](_0x2908d6[_0x1209fc(0x28a)](_0x4bd5ff+0x1))*0x100000000|0x0;}());var _0x341ea8=_0x32311b[_0x4ae9ff(0x174)]=_0x563296[_0x4ae9ff(0x370)]({'_doReset':function(){var _0x1e3718=_0x4ae9ff;this[_0x1e3718(0x1c4)]=new _0x34938b[(_0x1e3718(0x440))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x337d20,_0x14ee42){for(var _0x675139=0x0;_0x675139<0x10;_0x675139++){var _0x143228=_0x14ee42+_0x675139,_0x42b4f5=_0x337d20[_0x143228];_0x337d20[_0x143228]=(_0x42b4f5<<0x8|_0x42b4f5>>>0x18)&0xff00ff|(_0x42b4f5<<0x18|_0x42b4f5>>>0x8)&0xff00ff00;}var _0x156320=this['_hash']['words'],_0x5dfecb=_0x337d20[_0x14ee42+0x0],_0x21f0a1=_0x337d20[_0x14ee42+0x1],_0x18b33a=_0x337d20[_0x14ee42+0x2],_0x17b412=_0x337d20[_0x14ee42+0x3],_0x4bec7b=_0x337d20[_0x14ee42+0x4],_0x4d09a4=_0x337d20[_0x14ee42+0x5],_0x399881=_0x337d20[_0x14ee42+0x6],_0x4ea611=_0x337d20[_0x14ee42+0x7],_0x9830fa=_0x337d20[_0x14ee42+0x8],_0x25e6bc=_0x337d20[_0x14ee42+0x9],_0x38b66a=_0x337d20[_0x14ee42+0xa],_0x1df82e=_0x337d20[_0x14ee42+0xb],_0x2c0c20=_0x337d20[_0x14ee42+0xc],_0x389c50=_0x337d20[_0x14ee42+0xd],_0x23a435=_0x337d20[_0x14ee42+0xe],_0x39a0b8=_0x337d20[_0x14ee42+0xf],_0xdcf157=_0x156320[0x0],_0x22b77f=_0x156320[0x1],_0x2f1725=_0x156320[0x2],_0x14d3ab=_0x156320[0x3];_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x5dfecb,0x7,_0x569422[0x0]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x21f0a1,0xc,_0x569422[0x1]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x18b33a,0x11,_0x569422[0x2]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x17b412,0x16,_0x569422[0x3]),_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4bec7b,0x7,_0x569422[0x4]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x4d09a4,0xc,_0x569422[0x5]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x399881,0x11,_0x569422[0x6]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x4ea611,0x16,_0x569422[0x7]),_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x9830fa,0x7,_0x569422[0x8]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x25e6bc,0xc,_0x569422[0x9]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x38b66a,0x11,_0x569422[0xa]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x1df82e,0x16,_0x569422[0xb]),_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x2c0c20,0x7,_0x569422[0xc]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x389c50,0xc,_0x569422[0xd]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x23a435,0x11,_0x569422[0xe]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x39a0b8,0x16,_0x569422[0xf]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x21f0a1,0x5,_0x569422[0x10]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x399881,0x9,_0x569422[0x11]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x1df82e,0xe,_0x569422[0x12]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x5dfecb,0x14,_0x569422[0x13]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4d09a4,0x5,_0x569422[0x14]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x38b66a,0x9,_0x569422[0x15]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x39a0b8,0xe,_0x569422[0x16]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x4bec7b,0x14,_0x569422[0x17]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x25e6bc,0x5,_0x569422[0x18]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x23a435,0x9,_0x569422[0x19]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x17b412,0xe,_0x569422[0x1a]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x9830fa,0x14,_0x569422[0x1b]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x389c50,0x5,_0x569422[0x1c]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x18b33a,0x9,_0x569422[0x1d]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x4ea611,0xe,_0x569422[0x1e]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x2c0c20,0x14,_0x569422[0x1f]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4d09a4,0x4,_0x569422[0x20]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x9830fa,0xb,_0x569422[0x21]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x1df82e,0x10,_0x569422[0x22]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x23a435,0x17,_0x569422[0x23]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x21f0a1,0x4,_0x569422[0x24]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x4bec7b,0xb,_0x569422[0x25]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x4ea611,0x10,_0x569422[0x26]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x38b66a,0x17,_0x569422[0x27]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x389c50,0x4,_0x569422[0x28]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x5dfecb,0xb,_0x569422[0x29]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x17b412,0x10,_0x569422[0x2a]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x399881,0x17,_0x569422[0x2b]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x25e6bc,0x4,_0x569422[0x2c]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x2c0c20,0xb,_0x569422[0x2d]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x39a0b8,0x10,_0x569422[0x2e]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x18b33a,0x17,_0x569422[0x2f]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x5dfecb,0x6,_0x569422[0x30]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x4ea611,0xa,_0x569422[0x31]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x23a435,0xf,_0x569422[0x32]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x4d09a4,0x15,_0x569422[0x33]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x2c0c20,0x6,_0x569422[0x34]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x17b412,0xa,_0x569422[0x35]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x38b66a,0xf,_0x569422[0x36]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x21f0a1,0x15,_0x569422[0x37]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x9830fa,0x6,_0x569422[0x38]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x39a0b8,0xa,_0x569422[0x39]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x399881,0xf,_0x569422[0x3a]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x389c50,0x15,_0x569422[0x3b]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4bec7b,0x6,_0x569422[0x3c]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x1df82e,0xa,_0x569422[0x3d]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x18b33a,0xf,_0x569422[0x3e]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x25e6bc,0x15,_0x569422[0x3f]),_0x156320[0x0]=_0x156320[0x0]+_0xdcf157|0x0,_0x156320[0x1]=_0x156320[0x1]+_0x22b77f|0x0,_0x156320[0x2]=_0x156320[0x2]+_0x2f1725|0x0,_0x156320[0x3]=_0x156320[0x3]+_0x14d3ab|0x0;},'_doFinalize':function(){var _0x18170e=_0x4ae9ff,_0x8e7003=this[_0x18170e(0x1be)],_0x146f9c=_0x8e7003[_0x18170e(0x2dd)],_0x9c1c07=this[_0x18170e(0x491)]*0x8,_0x38ae5e=_0x8e7003[_0x18170e(0x41f)]*0x8;_0x146f9c[_0x38ae5e>>>0x5]|=0x80<<0x18-_0x38ae5e%0x20;var _0x7d045a=_0x2908d6[_0x18170e(0x3e5)](_0x9c1c07/0x100000000),_0xf09292=_0x9c1c07;_0x146f9c[(_0x38ae5e+0x40>>>0x9<<0x4)+0xf]=(_0x7d045a<<0x8|_0x7d045a>>>0x18)&0xff00ff|(_0x7d045a<<0x18|_0x7d045a>>>0x8)&0xff00ff00,_0x146f9c[(_0x38ae5e+0x40>>>0x9<<0x4)+0xe]=(_0xf09292<<0x8|_0xf09292>>>0x18)&0xff00ff|(_0xf09292<<0x18|_0xf09292>>>0x8)&0xff00ff00,_0x8e7003['sigBytes']=(_0x146f9c[_0x18170e(0x1cf)]+0x1)*0x4,this['_process']();for(var _0x4af785=this[_0x18170e(0x1c4)],_0x435359=_0x4af785['words'],_0x2c1b29=0x0;_0x2c1b29<0x4;_0x2c1b29++){var _0x472f48=_0x435359[_0x2c1b29];_0x435359[_0x2c1b29]=(_0x472f48<<0x8|_0x472f48>>>0x18)&0xff00ff|(_0x472f48<<0x18|_0x472f48>>>0x8)&0xff00ff00;}return _0x4af785;},'clone':function(){var _0x21bb3b=_0x4ae9ff,_0x4d52a7=_0x563296[_0x21bb3b(0x495)][_0x21bb3b(0x4bf)](this);return _0x4d52a7[_0x21bb3b(0x1c4)]=this[_0x21bb3b(0x1c4)]['clone'](),_0x4d52a7;}});function _0x1a52c7(_0x5268e8,_0xf24c85,_0x237e76,_0x3aee81,_0x52cec6,_0x435c64,_0x2477d2){var _0x87edde=_0x5268e8+(_0xf24c85&_0x237e76|~_0xf24c85&_0x3aee81)+_0x52cec6+_0x2477d2;return(_0x87edde<<_0x435c64|_0x87edde>>>0x20-_0x435c64)+_0xf24c85;}function _0x32a32c(_0x392c07,_0x1efcbc,_0x2d070b,_0x147a1c,_0x3153e2,_0x2160cd,_0x5a7a7f){var _0x91200d=_0x392c07+(_0x1efcbc&_0x147a1c|_0x2d070b&~_0x147a1c)+_0x3153e2+_0x5a7a7f;return(_0x91200d<<_0x2160cd|_0x91200d>>>0x20-_0x2160cd)+_0x1efcbc;}function _0x26632a(_0x4c43a2,_0xbd7804,_0x2fd78a,_0x1f5974,_0x49b567,_0x4090ea,_0x531c07){var _0x171b4f=_0x4c43a2+(_0xbd7804^_0x2fd78a^_0x1f5974)+_0x49b567+_0x531c07;return(_0x171b4f<<_0x4090ea|_0x171b4f>>>0x20-_0x4090ea)+_0xbd7804;}function _0x48332c(_0xd8e206,_0x461576,_0x681c4a,_0x5b3a3d,_0x4c1bb8,_0x4aaed6,_0x208eef){var _0x1be5ac=_0xd8e206+(_0x681c4a^(_0x461576|~_0x5b3a3d))+_0x4c1bb8+_0x208eef;return(_0x1be5ac<<_0x4aaed6|_0x1be5ac>>>0x20-_0x4aaed6)+_0x461576;}_0x3b0fec[_0x4ae9ff(0x174)]=_0x563296[_0x4ae9ff(0x402)](_0x341ea8),_0x3b0fec[_0x4ae9ff(0x463)]=_0x563296['_createHmacHelper'](_0x341ea8);}(Math),_0x1f1fde[_0xe6227d(0x174)];}));}(ge)),ge[_0x23bb06(0x356)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0xb98a65(0x356)],Ze;function Pi(){var _0x49c5db=_0xb98a65;return Ze||(Ze=0x1,function(_0x50013d,_0x1a89bc){(function(_0x3a3b56,_0x1cf999){var _0x4e5e73=_0x5981;_0x50013d[_0x4e5e73(0x356)]=_0x1cf999(Q());}(Ai,function(_0x5892d5){return(function(){var _0x38e97a=_0x5981,_0x3e64aa=_0x5892d5,_0x37f00d=_0x3e64aa[_0x38e97a(0x4a0)],_0xcd30db=_0x37f00d[_0x38e97a(0x27f)],_0x1d64f8=_0x37f00d['Hasher'],_0x444e59=_0x3e64aa[_0x38e97a(0x387)],_0x32e8ef=[],_0x5396db=_0x444e59['SHA1']=_0x1d64f8['extend']({'_doReset':function(){var _0x2f5637=_0x38e97a;this['_hash']=new _0xcd30db[(_0x2f5637(0x440))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x413c6a,_0x22cfbb){var _0x2b0733=_0x38e97a;for(var _0x5e78b3=this[_0x2b0733(0x1c4)]['words'],_0x7b8f29=_0x5e78b3[0x0],_0x2f07dd=_0x5e78b3[0x1],_0x130035=_0x5e78b3[0x2],_0x5e3f18=_0x5e78b3[0x3],_0x25e4e3=_0x5e78b3[0x4],_0x48fe8d=0x0;_0x48fe8d<0x50;_0x48fe8d++){if(_0x48fe8d<0x10)_0x32e8ef[_0x48fe8d]=_0x413c6a[_0x22cfbb+_0x48fe8d]|0x0;else{var _0x15b9fd=_0x32e8ef[_0x48fe8d-0x3]^_0x32e8ef[_0x48fe8d-0x8]^_0x32e8ef[_0x48fe8d-0xe]^_0x32e8ef[_0x48fe8d-0x10];_0x32e8ef[_0x48fe8d]=_0x15b9fd<<0x1|_0x15b9fd>>>0x1f;}var _0x5f4a32=(_0x7b8f29<<0x5|_0x7b8f29>>>0x1b)+_0x25e4e3+_0x32e8ef[_0x48fe8d];_0x48fe8d<0x14?_0x5f4a32+=(_0x2f07dd&_0x130035|~_0x2f07dd&_0x5e3f18)+0x5a827999:_0x48fe8d<0x28?_0x5f4a32+=(_0x2f07dd^_0x130035^_0x5e3f18)+0x6ed9eba1:_0x48fe8d<0x3c?_0x5f4a32+=(_0x2f07dd&_0x130035|_0x2f07dd&_0x5e3f18|_0x130035&_0x5e3f18)-0x70e44324:_0x5f4a32+=(_0x2f07dd^_0x130035^_0x5e3f18)-0x359d3e2a,_0x25e4e3=_0x5e3f18,_0x5e3f18=_0x130035,_0x130035=_0x2f07dd<<0x1e|_0x2f07dd>>>0x2,_0x2f07dd=_0x7b8f29,_0x7b8f29=_0x5f4a32;}_0x5e78b3[0x0]=_0x5e78b3[0x0]+_0x7b8f29|0x0,_0x5e78b3[0x1]=_0x5e78b3[0x1]+_0x2f07dd|0x0,_0x5e78b3[0x2]=_0x5e78b3[0x2]+_0x130035|0x0,_0x5e78b3[0x3]=_0x5e78b3[0x3]+_0x5e3f18|0x0,_0x5e78b3[0x4]=_0x5e78b3[0x4]+_0x25e4e3|0x0;},'_doFinalize':function(){var _0x4070bd=_0x38e97a,_0x3d6332=this[_0x4070bd(0x1be)],_0x14ba35=_0x3d6332[_0x4070bd(0x2dd)],_0x4987d8=this[_0x4070bd(0x491)]*0x8,_0x4659a6=_0x3d6332[_0x4070bd(0x41f)]*0x8;return _0x14ba35[_0x4659a6>>>0x5]|=0x80<<0x18-_0x4659a6%0x20,_0x14ba35[(_0x4659a6+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4987d8/0x100000000),_0x14ba35[(_0x4659a6+0x40>>>0x9<<0x4)+0xf]=_0x4987d8,_0x3d6332[_0x4070bd(0x41f)]=_0x14ba35[_0x4070bd(0x1cf)]*0x4,this[_0x4070bd(0x319)](),this['_hash'];},'clone':function(){var _0x169ea2=_0x38e97a,_0x2627e7=_0x1d64f8[_0x169ea2(0x495)][_0x169ea2(0x4bf)](this);return _0x2627e7[_0x169ea2(0x1c4)]=this[_0x169ea2(0x1c4)]['clone'](),_0x2627e7;}});_0x3e64aa[_0x38e97a(0x33c)]=_0x1d64f8['_createHelper'](_0x5396db),_0x3e64aa['HmacSHA1']=_0x1d64f8['_createHmacHelper'](_0x5396db);}()),_0x5892d5['SHA1'];}));}(me)),me[_0x49c5db(0x356)];}var Ce={'exports':{}},Li=Ce[_0xb98a65(0x356)],Qe;function wi(){var _0x2c0c16=_0xb98a65;return Qe||(Qe=0x1,function(_0x5e6aeb,_0x3b39b5){(function(_0x5da778,_0x248b48){_0x5e6aeb['exports']=_0x248b48(Q());}(Li,function(_0xc66f2a){(function(){var _0x3eec23=_0x5981,_0x543e4b=_0xc66f2a,_0x1b0f37=_0x543e4b[_0x3eec23(0x4a0)],_0x8d7ede=_0x1b0f37[_0x3eec23(0x296)],_0xa806af=_0x543e4b[_0x3eec23(0x146)],_0x4d6845=_0xa806af[_0x3eec23(0x43c)],_0x43acfc=_0x543e4b['algo'];_0x43acfc[_0x3eec23(0x4b2)]=_0x8d7ede[_0x3eec23(0x370)]({'init':function(_0x3be27d,_0x2539f1){var _0x5196e9=_0x3eec23;_0x3be27d=this[_0x5196e9(0x2e1)]=new _0x3be27d['init'](),typeof _0x2539f1=='string'&&(_0x2539f1=_0x4d6845[_0x5196e9(0x14b)](_0x2539f1));var _0x3e2873=_0x3be27d[_0x5196e9(0x497)],_0x412c4b=_0x3e2873*0x4;_0x2539f1[_0x5196e9(0x41f)]>_0x412c4b&&(_0x2539f1=_0x3be27d[_0x5196e9(0x2d8)](_0x2539f1)),_0x2539f1[_0x5196e9(0x34c)]();for(var _0x248c02=this[_0x5196e9(0x3ab)]=_0x2539f1[_0x5196e9(0x495)](),_0x3c221a=this[_0x5196e9(0x200)]=_0x2539f1['clone'](),_0x16920c=_0x248c02[_0x5196e9(0x2dd)],_0x27f67f=_0x3c221a['words'],_0x2a0799=0x0;_0x2a0799<_0x3e2873;_0x2a0799++)_0x16920c[_0x2a0799]^=0x5c5c5c5c,_0x27f67f[_0x2a0799]^=0x36363636;_0x248c02['sigBytes']=_0x3c221a['sigBytes']=_0x412c4b,this[_0x5196e9(0x183)]();},'reset':function(){var _0x1338f8=_0x3eec23,_0x39bc8f=this[_0x1338f8(0x2e1)];_0x39bc8f[_0x1338f8(0x183)](),_0x39bc8f[_0x1338f8(0x30b)](this[_0x1338f8(0x200)]);},'update':function(_0x4b7e64){var _0x350440=_0x3eec23;return this[_0x350440(0x2e1)][_0x350440(0x30b)](_0x4b7e64),this;},'finalize':function(_0x40b1ec){var _0x1f674c=_0x3eec23,_0x7a9aa7=this[_0x1f674c(0x2e1)],_0x5ab264=_0x7a9aa7[_0x1f674c(0x2d8)](_0x40b1ec);_0x7a9aa7[_0x1f674c(0x183)]();var _0x59a181=_0x7a9aa7['finalize'](this[_0x1f674c(0x3ab)][_0x1f674c(0x495)]()[_0x1f674c(0x2ff)](_0x5ab264));return _0x59a181;}});}());}));}(Ce)),Ce[_0x2c0c16(0x356)];}var Mi=Ee[_0xb98a65(0x356)],et;function Nt(){var _0x49f65a=_0xb98a65;return et||(et=0x1,function(_0x5c19f8,_0x3b6350){(function(_0x257c6a,_0x5e0465,_0x3d9814){var _0x58d2b1=_0x5981;_0x5c19f8[_0x58d2b1(0x356)]=_0x5e0465(Q(),Pi(),wi());}(Mi,function(_0x14b8f6){return(function(){var _0x729d93=_0x5981,_0xb9d16e=_0x14b8f6,_0x406ee9=_0xb9d16e[_0x729d93(0x4a0)],_0x2f6dec=_0x406ee9[_0x729d93(0x296)],_0x544a80=_0x406ee9[_0x729d93(0x27f)],_0x13b8a2=_0xb9d16e[_0x729d93(0x387)],_0x9ccceb=_0x13b8a2['MD5'],_0x1ea31b=_0x13b8a2[_0x729d93(0x333)]=_0x2f6dec[_0x729d93(0x370)]({'cfg':_0x2f6dec[_0x729d93(0x370)]({'keySize':0x80/0x20,'hasher':_0x9ccceb,'iterations':0x1}),'init':function(_0x100985){var _0xd1c5fc=_0x729d93;this[_0xd1c5fc(0x263)]=this['cfg']['extend'](_0x100985);},'compute':function(_0x18d3f8,_0x1776a7){var _0x2ec0d6=_0x729d93;for(var _0x19b2f2,_0x1a8473=this[_0x2ec0d6(0x263)],_0x153fd5=_0x1a8473[_0x2ec0d6(0x349)][_0x2ec0d6(0x1c6)](),_0x337a4a=_0x544a80['create'](),_0x1b0af3=_0x337a4a[_0x2ec0d6(0x2dd)],_0x2bba60=_0x1a8473[_0x2ec0d6(0x4ba)],_0x558952=_0x1a8473['iterations'];_0x1b0af3[_0x2ec0d6(0x1cf)]<_0x2bba60;){_0x19b2f2&&_0x153fd5[_0x2ec0d6(0x30b)](_0x19b2f2),_0x19b2f2=_0x153fd5[_0x2ec0d6(0x30b)](_0x18d3f8)[_0x2ec0d6(0x2d8)](_0x1776a7),_0x153fd5[_0x2ec0d6(0x183)]();for(var _0x53e22f=0x1;_0x53e22f<_0x558952;_0x53e22f++)_0x19b2f2=_0x153fd5[_0x2ec0d6(0x2d8)](_0x19b2f2),_0x153fd5[_0x2ec0d6(0x183)]();_0x337a4a[_0x2ec0d6(0x2ff)](_0x19b2f2);}return _0x337a4a[_0x2ec0d6(0x41f)]=_0x2bba60*0x4,_0x337a4a;}});_0xb9d16e[_0x729d93(0x333)]=function(_0x36250a,_0x3fdf73,_0x505154){var _0x10d0bd=_0x729d93;return _0x1ea31b[_0x10d0bd(0x1c6)](_0x505154)['compute'](_0x36250a,_0x3fdf73);};}()),_0x14b8f6['EvpKDF'];}));}(Ee)),Ee[_0x49f65a(0x356)];}var Te={'exports':{}},xi=Te['exports'],tt;function Dt(){return tt||(tt=0x1,function(_0x4b07b7,_0x3c83d4){(function(_0x52fb1b,_0x3ad3a3,_0x5cc0cb){var _0x20457d=_0x5981;_0x4b07b7[_0x20457d(0x356)]=_0x3ad3a3(Q(),Nt());}(xi,function(_0x310055){var _0x31904f=_0x5981;_0x310055[_0x31904f(0x4a0)][_0x31904f(0x1a6)]||function(_0x4ffbbd){var _0x23a586=_0x31904f,_0x5e438c=_0x310055,_0x48aac7=_0x5e438c['lib'],_0x3c8e92=_0x48aac7[_0x23a586(0x296)],_0x1f161d=_0x48aac7['WordArray'],_0x5899d9=_0x48aac7[_0x23a586(0x140)],_0x142704=_0x5e438c[_0x23a586(0x146)];_0x142704[_0x23a586(0x43c)];var _0x40cdd6=_0x142704['Base64'],_0x18b364=_0x5e438c[_0x23a586(0x387)],_0x4e5e29=_0x18b364['EvpKDF'],_0xe0be91=_0x48aac7['Cipher']=_0x5899d9[_0x23a586(0x370)]({'cfg':_0x3c8e92[_0x23a586(0x370)](),'createEncryptor':function(_0x81ac2a,_0x544cd2){var _0x2e4d91=_0x23a586;return this['create'](this[_0x2e4d91(0x3fa)],_0x81ac2a,_0x544cd2);},'createDecryptor':function(_0x12e40c,_0x2b0eee){var _0x36f195=_0x23a586;return this[_0x36f195(0x1c6)](this[_0x36f195(0x49d)],_0x12e40c,_0x2b0eee);},'init':function(_0x601c56,_0x10c01b,_0x545821){var _0x1f010b=_0x23a586;this[_0x1f010b(0x263)]=this[_0x1f010b(0x263)][_0x1f010b(0x370)](_0x545821),this[_0x1f010b(0x38b)]=_0x601c56,this[_0x1f010b(0x3e9)]=_0x10c01b,this[_0x1f010b(0x183)]();},'reset':function(){var _0x5cfb52=_0x23a586;_0x5899d9[_0x5cfb52(0x183)][_0x5cfb52(0x4bf)](this),this[_0x5cfb52(0x24d)]();},'process':function(_0x3a148e){var _0x56c582=_0x23a586;return this[_0x56c582(0x498)](_0x3a148e),this[_0x56c582(0x319)]();},'finalize':function(_0x257848){var _0x35a921=_0x23a586;_0x257848&&this[_0x35a921(0x498)](_0x257848);var _0x894a7f=this[_0x35a921(0x41e)]();return _0x894a7f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5488f5(_0x59bf7a){var _0x5a67a1=_0x5981;return typeof _0x59bf7a==_0x5a67a1(0x3aa)?_0xe8e166:_0x51d9dc;}return function(_0x163ad1){return{'encrypt':function(_0x442a58,_0x5f378d,_0x55d0b9){var _0x2c3687=_0x5981;return _0x5488f5(_0x5f378d)[_0x2c3687(0x16d)](_0x163ad1,_0x442a58,_0x5f378d,_0x55d0b9);},'decrypt':function(_0x107153,_0x377e87,_0x3b073b){var _0x26ae54=_0x5981;return _0x5488f5(_0x377e87)[_0x26ae54(0x4c2)](_0x163ad1,_0x107153,_0x377e87,_0x3b073b);}};};}())});_0x48aac7[_0x23a586(0x3a6)]=_0xe0be91[_0x23a586(0x370)]({'_doFinalize':function(){var _0x3c661=this['_process'](!0x0);return _0x3c661;},'blockSize':0x1});var _0x1123f5=_0x5e438c[_0x23a586(0x233)]={},_0x6e6761=_0x48aac7[_0x23a586(0x4a7)]=_0x3c8e92[_0x23a586(0x370)]({'createEncryptor':function(_0x42154b,_0x4db339){var _0x278279=_0x23a586;return this['Encryptor'][_0x278279(0x1c6)](_0x42154b,_0x4db339);},'createDecryptor':function(_0x33b1ce,_0x5f34b6){var _0x1df046=_0x23a586;return this[_0x1df046(0x2bd)][_0x1df046(0x1c6)](_0x33b1ce,_0x5f34b6);},'init':function(_0x2d32fb,_0x4bb4f2){var _0x187b20=_0x23a586;this[_0x187b20(0x23e)]=_0x2d32fb,this[_0x187b20(0x44a)]=_0x4bb4f2;}}),_0xb9b905=_0x1123f5['CBC']=(function(){var _0x19e1d1=_0x23a586,_0x246485=_0x6e6761[_0x19e1d1(0x370)]();_0x246485[_0x19e1d1(0x1d4)]=_0x246485['extend']({'processBlock':function(_0x4b152b,_0x1a55c9){var _0x3533d3=_0x19e1d1,_0x58c6e0=this[_0x3533d3(0x23e)],_0x14195d=_0x58c6e0[_0x3533d3(0x497)];_0x5a011e['call'](this,_0x4b152b,_0x1a55c9,_0x14195d),_0x58c6e0[_0x3533d3(0x176)](_0x4b152b,_0x1a55c9),this[_0x3533d3(0x364)]=_0x4b152b['slice'](_0x1a55c9,_0x1a55c9+_0x14195d);}}),_0x246485[_0x19e1d1(0x2bd)]=_0x246485['extend']({'processBlock':function(_0xed5962,_0x1f9d1a){var _0x3c7a07=_0x19e1d1,_0x4897d5=this[_0x3c7a07(0x23e)],_0x16480b=_0x4897d5[_0x3c7a07(0x497)],_0x205a19=_0xed5962[_0x3c7a07(0x49b)](_0x1f9d1a,_0x1f9d1a+_0x16480b);_0x4897d5[_0x3c7a07(0x22e)](_0xed5962,_0x1f9d1a),_0x5a011e['call'](this,_0xed5962,_0x1f9d1a,_0x16480b),this[_0x3c7a07(0x364)]=_0x205a19;}});function _0x5a011e(_0x4382bc,_0x1646f4,_0x12d76a){var _0x14b240=_0x19e1d1,_0x3d3580,_0x8999ad=this[_0x14b240(0x44a)];_0x8999ad?(_0x3d3580=_0x8999ad,this[_0x14b240(0x44a)]=_0x4ffbbd):_0x3d3580=this['_prevBlock'];for(var _0x220956=0x0;_0x220956<_0x12d76a;_0x220956++)_0x4382bc[_0x1646f4+_0x220956]^=_0x3d3580[_0x220956];}return _0x246485;}()),_0x1df800=_0x5e438c[_0x23a586(0x2b1)]={},_0x19cc5a=_0x1df800[_0x23a586(0x201)]={'pad':function(_0x10991a,_0x31c8a3){var _0x377d57=_0x23a586;for(var _0xc0b9ac=_0x31c8a3*0x4,_0x2f7cbc=_0xc0b9ac-_0x10991a[_0x377d57(0x41f)]%_0xc0b9ac,_0x343864=_0x2f7cbc<<0x18|_0x2f7cbc<<0x10|_0x2f7cbc<<0x8|_0x2f7cbc,_0x1fde60=[],_0x566a02=0x0;_0x566a02<_0x2f7cbc;_0x566a02+=0x4)_0x1fde60[_0x377d57(0x360)](_0x343864);var _0x511bce=_0x1f161d[_0x377d57(0x1c6)](_0x1fde60,_0x2f7cbc);_0x10991a[_0x377d57(0x2ff)](_0x511bce);},'unpad':function(_0x586a58){var _0x4dc7a0=_0x23a586,_0x32f0a6=_0x586a58[_0x4dc7a0(0x2dd)][_0x586a58['sigBytes']-0x1>>>0x2]&0xff;_0x586a58['sigBytes']-=_0x32f0a6;}};_0x48aac7[_0x23a586(0x191)]=_0xe0be91[_0x23a586(0x370)]({'cfg':_0xe0be91[_0x23a586(0x263)][_0x23a586(0x370)]({'mode':_0xb9b905,'padding':_0x19cc5a}),'reset':function(){var _0x274f64=_0x23a586,_0x240ba2;_0xe0be91[_0x274f64(0x183)][_0x274f64(0x4bf)](this);var _0x12b9dc=this[_0x274f64(0x263)],_0x261b4f=_0x12b9dc['iv'],_0xc50c0f=_0x12b9dc[_0x274f64(0x233)];this[_0x274f64(0x38b)]==this[_0x274f64(0x3fa)]?_0x240ba2=_0xc50c0f[_0x274f64(0x15b)]:(_0x240ba2=_0xc50c0f[_0x274f64(0x427)],this[_0x274f64(0x2ce)]=0x1),this[_0x274f64(0x3e7)]&&this[_0x274f64(0x3e7)][_0x274f64(0x29c)]==_0x240ba2?this[_0x274f64(0x3e7)][_0x274f64(0x440)](this,_0x261b4f&&_0x261b4f[_0x274f64(0x2dd)]):(this[_0x274f64(0x3e7)]=_0x240ba2['call'](_0xc50c0f,this,_0x261b4f&&_0x261b4f[_0x274f64(0x2dd)]),this[_0x274f64(0x3e7)]['__creator']=_0x240ba2);},'_doProcessBlock':function(_0x5efc04,_0x163c35){var _0x10764d=_0x23a586;this[_0x10764d(0x3e7)]['processBlock'](_0x5efc04,_0x163c35);},'_doFinalize':function(){var _0x500e71=_0x23a586,_0x33ad29,_0x2355cb=this[_0x500e71(0x263)][_0x500e71(0x385)];return this[_0x500e71(0x38b)]==this[_0x500e71(0x3fa)]?(_0x2355cb[_0x500e71(0x2b1)](this[_0x500e71(0x1be)],this[_0x500e71(0x497)]),_0x33ad29=this[_0x500e71(0x319)](!0x0)):(_0x33ad29=this[_0x500e71(0x319)](!0x0),_0x2355cb[_0x500e71(0x35d)](_0x33ad29)),_0x33ad29;},'blockSize':0x80/0x20});var _0x284815=_0x48aac7[_0x23a586(0x4a1)]=_0x3c8e92['extend']({'init':function(_0x15df95){this['mixIn'](_0x15df95);},'toString':function(_0x705524){var _0x3f264c=_0x23a586;return(_0x705524||this['formatter'])[_0x3f264c(0x4a4)](this);}}),_0x3f7ce6=_0x5e438c['format']={},_0xb96a5a=_0x3f7ce6['OpenSSL']={'stringify':function(_0x14208e){var _0x37bc6c=_0x23a586,_0xc82877,_0x26220d=_0x14208e[_0x37bc6c(0x18f)],_0x56d55c=_0x14208e['salt'];return _0x56d55c?_0xc82877=_0x1f161d[_0x37bc6c(0x1c6)]([0x53616c74,0x65645f5f])[_0x37bc6c(0x2ff)](_0x56d55c)[_0x37bc6c(0x2ff)](_0x26220d):_0xc82877=_0x26220d,_0xc82877[_0x37bc6c(0x381)](_0x40cdd6);},'parse':function(_0x4fdecb){var _0x223934=_0x23a586,_0x5cc600,_0x26a1bf=_0x40cdd6[_0x223934(0x14b)](_0x4fdecb),_0x21fa92=_0x26a1bf[_0x223934(0x2dd)];return _0x21fa92[0x0]==0x53616c74&&_0x21fa92[0x1]==0x65645f5f&&(_0x5cc600=_0x1f161d[_0x223934(0x1c6)](_0x21fa92[_0x223934(0x49b)](0x2,0x4)),_0x21fa92[_0x223934(0x1ed)](0x0,0x4),_0x26a1bf[_0x223934(0x41f)]-=0x10),_0x284815[_0x223934(0x1c6)]({'ciphertext':_0x26a1bf,'salt':_0x5cc600});}},_0x51d9dc=_0x48aac7['SerializableCipher']=_0x3c8e92[_0x23a586(0x370)]({'cfg':_0x3c8e92['extend']({'format':_0xb96a5a}),'encrypt':function(_0x513b3a,_0x48a6d2,_0x2a18f7,_0x643b4c){var _0x11b9c1=_0x23a586;_0x643b4c=this['cfg'][_0x11b9c1(0x370)](_0x643b4c);var _0x453fa7=_0x513b3a[_0x11b9c1(0x15b)](_0x2a18f7,_0x643b4c),_0x2f4995=_0x453fa7[_0x11b9c1(0x2d8)](_0x48a6d2),_0x9317b9=_0x453fa7[_0x11b9c1(0x263)];return _0x284815[_0x11b9c1(0x1c6)]({'ciphertext':_0x2f4995,'key':_0x2a18f7,'iv':_0x9317b9['iv'],'algorithm':_0x513b3a,'mode':_0x9317b9[_0x11b9c1(0x233)],'padding':_0x9317b9[_0x11b9c1(0x385)],'blockSize':_0x513b3a[_0x11b9c1(0x497)],'formatter':_0x643b4c[_0x11b9c1(0x271)]});},'decrypt':function(_0x17084a,_0x546106,_0x19c7b5,_0x26a6a1){var _0x4ccc97=_0x23a586;_0x26a6a1=this[_0x4ccc97(0x263)][_0x4ccc97(0x370)](_0x26a6a1),_0x546106=this[_0x4ccc97(0x431)](_0x546106,_0x26a6a1[_0x4ccc97(0x271)]);var _0x37899f=_0x17084a['createDecryptor'](_0x19c7b5,_0x26a6a1)[_0x4ccc97(0x2d8)](_0x546106['ciphertext']);return _0x37899f;},'_parse':function(_0x8f1f6c,_0x30b4d9){var _0x18b8b4=_0x23a586;return typeof _0x8f1f6c==_0x18b8b4(0x3aa)?_0x30b4d9[_0x18b8b4(0x14b)](_0x8f1f6c,this):_0x8f1f6c;}}),_0x1aca0e=_0x5e438c['kdf']={},_0x14499e=_0x1aca0e[_0x23a586(0x45d)]={'execute':function(_0x21219e,_0x47a1f2,_0x32f958,_0x5f2061,_0x56ea85){var _0x319522=_0x23a586;if(_0x5f2061||(_0x5f2061=_0x1f161d[_0x319522(0x2a0)](0x40/0x8)),_0x56ea85)var _0x328614=_0x4e5e29[_0x319522(0x1c6)]({'keySize':_0x47a1f2+_0x32f958,'hasher':_0x56ea85})[_0x319522(0x3a9)](_0x21219e,_0x5f2061);else var _0x328614=_0x4e5e29[_0x319522(0x1c6)]({'keySize':_0x47a1f2+_0x32f958})['compute'](_0x21219e,_0x5f2061);var _0x348e6a=_0x1f161d[_0x319522(0x1c6)](_0x328614[_0x319522(0x2dd)][_0x319522(0x49b)](_0x47a1f2),_0x32f958*0x4);return _0x328614['sigBytes']=_0x47a1f2*0x4,_0x284815[_0x319522(0x1c6)]({'key':_0x328614,'iv':_0x348e6a,'salt':_0x5f2061});}},_0xe8e166=_0x48aac7[_0x23a586(0x3ce)]=_0x51d9dc['extend']({'cfg':_0x51d9dc['cfg'][_0x23a586(0x370)]({'kdf':_0x14499e}),'encrypt':function(_0xd7f7d4,_0x232d82,_0x5a6ce3,_0x3b6ef1){var _0xed8eb8=_0x23a586;_0x3b6ef1=this[_0xed8eb8(0x263)][_0xed8eb8(0x370)](_0x3b6ef1);var _0x4a8844=_0x3b6ef1['kdf']['execute'](_0x5a6ce3,_0xd7f7d4[_0xed8eb8(0x4ba)],_0xd7f7d4[_0xed8eb8(0x198)],_0x3b6ef1['salt'],_0x3b6ef1[_0xed8eb8(0x349)]);_0x3b6ef1['iv']=_0x4a8844['iv'];var _0x213f43=_0x51d9dc[_0xed8eb8(0x16d)][_0xed8eb8(0x4bf)](this,_0xd7f7d4,_0x232d82,_0x4a8844[_0xed8eb8(0x34e)],_0x3b6ef1);return _0x213f43[_0xed8eb8(0x25a)](_0x4a8844),_0x213f43;},'decrypt':function(_0x16d6df,_0x463981,_0x17e837,_0x221600){var _0x1371d0=_0x23a586;_0x221600=this['cfg']['extend'](_0x221600),_0x463981=this['_parse'](_0x463981,_0x221600[_0x1371d0(0x271)]);var _0x3cfd47=_0x221600['kdf']['execute'](_0x17e837,_0x16d6df[_0x1371d0(0x4ba)],_0x16d6df[_0x1371d0(0x198)],_0x463981[_0x1371d0(0x392)],_0x221600[_0x1371d0(0x349)]);_0x221600['iv']=_0x3cfd47['iv'];var _0xa6f93=_0x51d9dc['decrypt'][_0x1371d0(0x4bf)](this,_0x16d6df,_0x463981,_0x3cfd47['key'],_0x221600);return _0xa6f93;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0xb98a65(0x356)],it;function Hi(){var _0x1dee0f=_0xb98a65;return it||(it=0x1,function(_0x1ea31e,_0x4ac438){(function(_0x471e86,_0x1e298a,_0x32d37a){var _0x3f598b=_0x5981;_0x1ea31e[_0x3f598b(0x356)]=_0x1e298a(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x9a3932){var _0x47fc23=_0x5981;return(function(){var _0x48cfcd=_0x5981,_0x482636=_0x9a3932,_0x41dc94=_0x482636[_0x48cfcd(0x4a0)],_0x3b1962=_0x41dc94[_0x48cfcd(0x191)],_0x29d9fc=_0x482636[_0x48cfcd(0x387)],_0x391d3a=[],_0x3a3510=[],_0x25c9ec=[],_0x2c30ad=[],_0x15c162=[],_0x4143ce=[],_0x8e8800=[],_0x141dda=[],_0x44bb08=[],_0x6e1274=[];(function(){for(var _0x11e39a=[],_0x215233=0x0;_0x215233<0x100;_0x215233++)_0x215233<0x80?_0x11e39a[_0x215233]=_0x215233<<0x1:_0x11e39a[_0x215233]=_0x215233<<0x1^0x11b;for(var _0x44fe79=0x0,_0x228934=0x0,_0x215233=0x0;_0x215233<0x100;_0x215233++){var _0xcdcb5a=_0x228934^_0x228934<<0x1^_0x228934<<0x2^_0x228934<<0x3^_0x228934<<0x4;_0xcdcb5a=_0xcdcb5a>>>0x8^_0xcdcb5a&0xff^0x63,_0x391d3a[_0x44fe79]=_0xcdcb5a,_0x3a3510[_0xcdcb5a]=_0x44fe79;var _0x20f46f=_0x11e39a[_0x44fe79],_0x5b0ae7=_0x11e39a[_0x20f46f],_0x554866=_0x11e39a[_0x5b0ae7],_0x4c242f=_0x11e39a[_0xcdcb5a]*0x101^_0xcdcb5a*0x1010100;_0x25c9ec[_0x44fe79]=_0x4c242f<<0x18|_0x4c242f>>>0x8,_0x2c30ad[_0x44fe79]=_0x4c242f<<0x10|_0x4c242f>>>0x10,_0x15c162[_0x44fe79]=_0x4c242f<<0x8|_0x4c242f>>>0x18,_0x4143ce[_0x44fe79]=_0x4c242f;var _0x4c242f=_0x554866*0x1010101^_0x5b0ae7*0x10001^_0x20f46f*0x101^_0x44fe79*0x1010100;_0x8e8800[_0xcdcb5a]=_0x4c242f<<0x18|_0x4c242f>>>0x8,_0x141dda[_0xcdcb5a]=_0x4c242f<<0x10|_0x4c242f>>>0x10,_0x44bb08[_0xcdcb5a]=_0x4c242f<<0x8|_0x4c242f>>>0x18,_0x6e1274[_0xcdcb5a]=_0x4c242f,_0x44fe79?(_0x44fe79=_0x20f46f^_0x11e39a[_0x11e39a[_0x11e39a[_0x554866^_0x20f46f]]],_0x228934^=_0x11e39a[_0x11e39a[_0x228934]]):_0x44fe79=_0x228934=0x1;}}());var _0x20a249=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xa2747a=_0x29d9fc['AES']=_0x3b1962['extend']({'_doReset':function(){var _0x34d6e6=_0x48cfcd,_0x5dd6b9;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x34d6e6(0x3e9)])){for(var _0x4d1fc4=this[_0x34d6e6(0x487)]=this[_0x34d6e6(0x3e9)],_0x3fa5d6=_0x4d1fc4[_0x34d6e6(0x2dd)],_0x1e2aa4=_0x4d1fc4['sigBytes']/0x4,_0x8ea786=this[_0x34d6e6(0x161)]=_0x1e2aa4+0x6,_0x4873f3=(_0x8ea786+0x1)*0x4,_0x1f2420=this['_keySchedule']=[],_0x5a23c1=0x0;_0x5a23c1<_0x4873f3;_0x5a23c1++)_0x5a23c1<_0x1e2aa4?_0x1f2420[_0x5a23c1]=_0x3fa5d6[_0x5a23c1]:(_0x5dd6b9=_0x1f2420[_0x5a23c1-0x1],_0x5a23c1%_0x1e2aa4?_0x1e2aa4>0x6&&_0x5a23c1%_0x1e2aa4==0x4&&(_0x5dd6b9=_0x391d3a[_0x5dd6b9>>>0x18]<<0x18|_0x391d3a[_0x5dd6b9>>>0x10&0xff]<<0x10|_0x391d3a[_0x5dd6b9>>>0x8&0xff]<<0x8|_0x391d3a[_0x5dd6b9&0xff]):(_0x5dd6b9=_0x5dd6b9<<0x8|_0x5dd6b9>>>0x18,_0x5dd6b9=_0x391d3a[_0x5dd6b9>>>0x18]<<0x18|_0x391d3a[_0x5dd6b9>>>0x10&0xff]<<0x10|_0x391d3a[_0x5dd6b9>>>0x8&0xff]<<0x8|_0x391d3a[_0x5dd6b9&0xff],_0x5dd6b9^=_0x20a249[_0x5a23c1/_0x1e2aa4|0x0]<<0x18),_0x1f2420[_0x5a23c1]=_0x1f2420[_0x5a23c1-_0x1e2aa4]^_0x5dd6b9);for(var _0x32e4fb=this['_invKeySchedule']=[],_0x51ef22=0x0;_0x51ef22<_0x4873f3;_0x51ef22++){var _0x5a23c1=_0x4873f3-_0x51ef22;if(_0x51ef22%0x4)var _0x5dd6b9=_0x1f2420[_0x5a23c1];else var _0x5dd6b9=_0x1f2420[_0x5a23c1-0x4];_0x51ef22<0x4||_0x5a23c1<=0x4?_0x32e4fb[_0x51ef22]=_0x5dd6b9:_0x32e4fb[_0x51ef22]=_0x8e8800[_0x391d3a[_0x5dd6b9>>>0x18]]^_0x141dda[_0x391d3a[_0x5dd6b9>>>0x10&0xff]]^_0x44bb08[_0x391d3a[_0x5dd6b9>>>0x8&0xff]]^_0x6e1274[_0x391d3a[_0x5dd6b9&0xff]];}}},'encryptBlock':function(_0x85a999,_0x365d5d){var _0x2a65c1=_0x48cfcd;this[_0x2a65c1(0x13f)](_0x85a999,_0x365d5d,this[_0x2a65c1(0x3c9)],_0x25c9ec,_0x2c30ad,_0x15c162,_0x4143ce,_0x391d3a);},'decryptBlock':function(_0x3c0a4d,_0x53901e){var _0x54825f=_0x48cfcd,_0x257d71=_0x3c0a4d[_0x53901e+0x1];_0x3c0a4d[_0x53901e+0x1]=_0x3c0a4d[_0x53901e+0x3],_0x3c0a4d[_0x53901e+0x3]=_0x257d71,this['_doCryptBlock'](_0x3c0a4d,_0x53901e,this[_0x54825f(0x2b6)],_0x8e8800,_0x141dda,_0x44bb08,_0x6e1274,_0x3a3510);var _0x257d71=_0x3c0a4d[_0x53901e+0x1];_0x3c0a4d[_0x53901e+0x1]=_0x3c0a4d[_0x53901e+0x3],_0x3c0a4d[_0x53901e+0x3]=_0x257d71;},'_doCryptBlock':function(_0x34826a,_0x4fd686,_0x5f3098,_0x28b9e8,_0x1e6426,_0xc5e8,_0x4ba9b7,_0x4aaf2e){var _0x55177b=_0x48cfcd;for(var _0x2cacfb=this[_0x55177b(0x161)],_0xf381ea=_0x34826a[_0x4fd686]^_0x5f3098[0x0],_0x420fbd=_0x34826a[_0x4fd686+0x1]^_0x5f3098[0x1],_0x2e6274=_0x34826a[_0x4fd686+0x2]^_0x5f3098[0x2],_0x5911c8=_0x34826a[_0x4fd686+0x3]^_0x5f3098[0x3],_0x4ea704=0x4,_0x4cfeb6=0x1;_0x4cfeb6<_0x2cacfb;_0x4cfeb6++){var _0xcebacd=_0x28b9e8[_0xf381ea>>>0x18]^_0x1e6426[_0x420fbd>>>0x10&0xff]^_0xc5e8[_0x2e6274>>>0x8&0xff]^_0x4ba9b7[_0x5911c8&0xff]^_0x5f3098[_0x4ea704++],_0x5bc9b3=_0x28b9e8[_0x420fbd>>>0x18]^_0x1e6426[_0x2e6274>>>0x10&0xff]^_0xc5e8[_0x5911c8>>>0x8&0xff]^_0x4ba9b7[_0xf381ea&0xff]^_0x5f3098[_0x4ea704++],_0x5cde5e=_0x28b9e8[_0x2e6274>>>0x18]^_0x1e6426[_0x5911c8>>>0x10&0xff]^_0xc5e8[_0xf381ea>>>0x8&0xff]^_0x4ba9b7[_0x420fbd&0xff]^_0x5f3098[_0x4ea704++],_0x3255a4=_0x28b9e8[_0x5911c8>>>0x18]^_0x1e6426[_0xf381ea>>>0x10&0xff]^_0xc5e8[_0x420fbd>>>0x8&0xff]^_0x4ba9b7[_0x2e6274&0xff]^_0x5f3098[_0x4ea704++];_0xf381ea=_0xcebacd,_0x420fbd=_0x5bc9b3,_0x2e6274=_0x5cde5e,_0x5911c8=_0x3255a4;}var _0xcebacd=(_0x4aaf2e[_0xf381ea>>>0x18]<<0x18|_0x4aaf2e[_0x420fbd>>>0x10&0xff]<<0x10|_0x4aaf2e[_0x2e6274>>>0x8&0xff]<<0x8|_0x4aaf2e[_0x5911c8&0xff])^_0x5f3098[_0x4ea704++],_0x5bc9b3=(_0x4aaf2e[_0x420fbd>>>0x18]<<0x18|_0x4aaf2e[_0x2e6274>>>0x10&0xff]<<0x10|_0x4aaf2e[_0x5911c8>>>0x8&0xff]<<0x8|_0x4aaf2e[_0xf381ea&0xff])^_0x5f3098[_0x4ea704++],_0x5cde5e=(_0x4aaf2e[_0x2e6274>>>0x18]<<0x18|_0x4aaf2e[_0x5911c8>>>0x10&0xff]<<0x10|_0x4aaf2e[_0xf381ea>>>0x8&0xff]<<0x8|_0x4aaf2e[_0x420fbd&0xff])^_0x5f3098[_0x4ea704++],_0x3255a4=(_0x4aaf2e[_0x5911c8>>>0x18]<<0x18|_0x4aaf2e[_0xf381ea>>>0x10&0xff]<<0x10|_0x4aaf2e[_0x420fbd>>>0x8&0xff]<<0x8|_0x4aaf2e[_0x2e6274&0xff])^_0x5f3098[_0x4ea704++];_0x34826a[_0x4fd686]=_0xcebacd,_0x34826a[_0x4fd686+0x1]=_0x5bc9b3,_0x34826a[_0x4fd686+0x2]=_0x5cde5e,_0x34826a[_0x4fd686+0x3]=_0x3255a4;},'keySize':0x100/0x20});_0x482636[_0x48cfcd(0x1d1)]=_0x3b1962[_0x48cfcd(0x402)](_0xa2747a);}()),_0x9a3932[_0x47fc23(0x1d1)];}));}(fe)),fe[_0x1dee0f(0x356)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0xb98a65(0x356)],rt;function Vi(){return rt||(rt=0x1,function(_0x2cf96f,_0x210ff2){(function(_0x53bcd5,_0xff5260){_0x2cf96f['exports']=_0xff5260(Q());}(Fi,function(_0x400ab1){var _0x47d90d=_0x5981;return _0x400ab1['enc'][_0x47d90d(0x43c)];}));}(be)),be['exports'];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0xb98a65(0x356)],st;function Ki(){var _0x3280f1=_0xb98a65;return st||(st=0x1,function(_0x42e042,_0x563a1){(function(_0x1bb861,_0x5d12dc){var _0x1c11cd=_0x5981;_0x42e042[_0x1c11cd(0x356)]=_0x5d12dc(Q());}(Gi,function(_0x476af9){var _0x3b723a=_0x5981;return(function(){var _0x5af792=_0x5981;if(typeof ArrayBuffer==_0x5af792(0x1c8)){var _0x29f2a2=_0x476af9,_0x48850d=_0x29f2a2[_0x5af792(0x4a0)],_0x180ba8=_0x48850d[_0x5af792(0x27f)],_0x465b66=_0x180ba8[_0x5af792(0x440)],_0x2b93fa=_0x180ba8[_0x5af792(0x440)]=function(_0x12b321){var _0x68cd48=_0x5af792;if(_0x12b321 instanceof ArrayBuffer&&(_0x12b321=new Uint8Array(_0x12b321)),(_0x12b321 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12b321 instanceof Uint8ClampedArray||_0x12b321 instanceof Int16Array||_0x12b321 instanceof Uint16Array||_0x12b321 instanceof Int32Array||_0x12b321 instanceof Uint32Array||_0x12b321 instanceof Float32Array||_0x12b321 instanceof Float64Array)&&(_0x12b321=new Uint8Array(_0x12b321[_0x68cd48(0x407)],_0x12b321['byteOffset'],_0x12b321[_0x68cd48(0x4b9)])),_0x12b321 instanceof Uint8Array){for(var _0x31ab78=_0x12b321[_0x68cd48(0x4b9)],_0x2869f3=[],_0x22a59f=0x0;_0x22a59f<_0x31ab78;_0x22a59f++)_0x2869f3[_0x22a59f>>>0x2]|=_0x12b321[_0x22a59f]<<0x18-_0x22a59f%0x4*0x8;_0x465b66[_0x68cd48(0x4bf)](this,_0x2869f3,_0x31ab78);}else _0x465b66[_0x68cd48(0x3f5)](this,arguments);};_0x2b93fa[_0x5af792(0x409)]=_0x180ba8;}}()),_0x476af9[_0x3b723a(0x4a0)][_0x3b723a(0x27f)];}));}(Re)),Re[_0x3280f1(0x356)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0xb98a65(0x356)],ot;function Xi(){var _0x5b14d4=_0xb98a65;return ot||(ot=0x1,function(_0x241fce,_0x4848f7){(function(_0x98eca,_0x2518af,_0x1b016c){_0x241fce['exports']=_0x2518af(Q(),Dt());}(Ji,function(_0x722dc3){var _0x458532=_0x5981;return _0x722dc3[_0x458532(0x2b1)][_0x458532(0x2c1)]={'pad':function(){},'unpad':function(){}},_0x722dc3[_0x458532(0x2b1)][_0x458532(0x2c1)];}));}(Oe)),Oe[_0x5b14d4(0x356)];}var Zi=Xi();const Qi=ve(Zi);function en(_0xab94dc,_0x3ec412){var _0x495315=_0xb98a65;const _0x4d06a6=_0x3ec412-_0xab94dc[_0x495315(0x1cf)]%_0x3ec412,_0x22970b=String[_0x495315(0x467)](_0x4d06a6)[_0x495315(0x428)](_0x4d06a6);return _0xab94dc+_0x22970b;}function tn(_0x1d7625,_0x50b6e5){var _0x13aab2=_0xb98a65;const _0x4c5adb=zi[_0x13aab2(0x2a0)](0x10),_0x480ff1=en(_0x1d7625,0x10),_0x248d03=ji[_0x13aab2(0x16d)](Yi[_0x13aab2(0x14b)](_0x480ff1),nt['parse'](_0x50b6e5),{'iv':_0x4c5adb,'padding':Qi});return _0x4c5adb[_0x13aab2(0x2ff)](_0x248d03[_0x13aab2(0x18f)])[_0x13aab2(0x381)](nt);}function nn(){var _0x32d203=_0xb98a65;const _0x5a52c2=Lt[_0x32d203(0x397)]()[_0x32d203(0x452)];if(_0x5a52c2){const _0x1cf49c={'time':Math[_0x32d203(0x3e5)](Date[_0x32d203(0x32c)]()/0x3e8),'domain':location[_0x32d203(0x291)]};return tn(JSON[_0x32d203(0x4a4)](_0x1cf49c),_0x5a52c2);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x39559f,_0x1ceb7e,_0x8a87d8,_0x2e53af)=>{var _0x1ff7c1=_0xb98a65;for(var _0x1c97c0=_0x2e53af>0x1?void 0x0:_0x2e53af?rn(_0x1ceb7e,_0x8a87d8):_0x1ceb7e,_0x151d65=_0x39559f[_0x1ff7c1(0x1cf)]-0x1,_0x18043f;_0x151d65>=0x0;_0x151d65--)(_0x18043f=_0x39559f[_0x151d65])&&(_0x1c97c0=_0x18043f(_0x1c97c0)||_0x1c97c0);return _0x1c97c0;},on=(_0x95da86,_0x143dd8)=>(_0x247a6c,_0x1d17ae)=>_0x143dd8(_0x247a6c,_0x1d17ae,_0x95da86);let Ne=class{constructor(_0x229d1e){var _0x28101d=_0xb98a65;this[_0x28101d(0x3b5)]=_0x229d1e,this['_initRequestHeader']();}[_0xb98a65(0x2c2)](){var _0x504fec=_0xb98a65;this[_0x504fec(0x3b5)][_0x504fec(0x269)]({'interceptor':(_0x18d045,_0x336c1a)=>{var _0x1efebd=_0x504fec;const _0x273dd5=_0x18d045[_0x1efebd(0x47f)],_0x2481ef=nn();return _0x2481ef&&_0x273dd5[_0x1efebd(0x337)](_0x1efebd(0x424),_0x2481ef),_0x336c1a(_0x18d045);}});}};Ne=sn([on(0x0,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)]))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4be4d5,_0x12eecc,_0x2065df,_0xf36333)=>{var _0x10734e=_0xb98a65;for(var _0x3150fe=_0xf36333>0x1?void 0x0:_0xf36333?an(_0x12eecc,_0x2065df):_0x12eecc,_0x32df55=_0x4be4d5[_0x10734e(0x1cf)]-0x1,_0x3ee1eb;_0x32df55>=0x0;_0x32df55--)(_0x3ee1eb=_0x4be4d5[_0x32df55])&&(_0x3150fe=_0x3ee1eb(_0x3150fe)||_0x3150fe);return _0x3150fe;},Le=(_0x51629e,_0xea3dbe)=>(_0x3fde05,_0x4ce547)=>_0xea3dbe(_0x3fde05,_0x4ce547,_0x51629e);exports[_0xb98a65(0x3ac)]=class extends a[_0xb98a65(0x348)]{constructor(_0x1f0252,_0x419c17,_0x1c588d){var _0x409f83=_0xb98a65;super(),A(this,_0x409f83(0x474),new $[(_0x409f83(0x38c))](null)),A(this,_0x409f83(0x226),this[_0x409f83(0x474)][_0x409f83(0x345)]()),(this['_logService']=_0x1f0252,this['_snapshotService']=_0x419c17,this[_0x409f83(0x2cd)]=_0x1c588d);}async[_0xb98a65(0x47b)](_0x47898b,_0x49090d,_0x182429){var _0x3d5c8f=_0xb98a65;this[_0x3d5c8f(0x474)][_0x3d5c8f(0x3a3)]({'unitId':_0x47898b,'type':_0x49090d});let _0x5e216a=null;switch(_0x49090d){case J[_0x3d5c8f(0x42b)]:{_0x5e216a=await this['_snapshotService']['loadSheet'](_0x47898b,_0x182429);break;}case J[_0x3d5c8f(0x153)]:{_0x5e216a=await this[_0x3d5c8f(0x234)][_0x3d5c8f(0x34a)](_0x47898b,_0x182429);break;}default:{this['_logService'][_0x3d5c8f(0x3b4)](_0x3d5c8f(0x203),_0x3d5c8f(0x38f));break;}}return _0x5e216a;}async[_0xb98a65(0x390)](_0x353805,_0x33abd5,_0x27427b){var _0x46c5e7=_0xb98a65,_0x231d8c;this[_0x46c5e7(0x474)][_0x46c5e7(0x3a3)]({'unitId':_0x353805,'type':_0x33abd5,'subUnitId':_0x27427b});let _0x138328=0x0;const _0x4fb0bd=await((_0x231d8c=this[_0x46c5e7(0x2cd)])==null?void 0x0:_0x231d8c[_0x46c5e7(0x46e)](_0x353805));return _0x4fb0bd&&(_0x4fb0bd[_0x46c5e7(0x1c7)]||_0x4fb0bd[_0x46c5e7(0x282)][_0x46c5e7(0x1cf)]!==0x0)&&(_0x138328=_0x4fb0bd[_0x46c5e7(0x2d0)]),_0x138328===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x46c5e7(0x236)),this['loadUnitOfRevision'](_0x353805,_0x33abd5,_0x138328);}},exports['DataLoaderService']=cn([Le(0x0,a[_0xb98a65(0x423)]),Le(0x1,a[_0xb98a65(0x42e)](p['SnapshotService'])),Le(0x2,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x3ac)]);var hn=Object[_0xb98a65(0x2b8)],_n=(_0x4b5f26,_0x5c38de,_0x88464c,_0x5332ab)=>{var _0x426357=_0xb98a65;for(var _0x31d519=_0x5332ab>0x1?void 0x0:_0x5332ab?hn(_0x5c38de,_0x88464c):_0x5c38de,_0x156209=_0x4b5f26[_0x426357(0x1cf)]-0x1,_0x1d530e;_0x156209>=0x0;_0x156209--)(_0x1d530e=_0x4b5f26[_0x156209])&&(_0x31d519=_0x1d530e(_0x31d519)||_0x31d519);return _0x31d519;},we=(_0x16bbd1,_0xb00a49)=>(_0x7f7274,_0x101fb0)=>_0xb00a49(_0x7f7274,_0x101fb0,_0x16bbd1);const ln=[_0xb98a65(0x13b),_0xb98a65(0x22f),_0xb98a65(0x1d9),'image/gif',_0xb98a65(0x3ad)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0xb98a65(0x336),Sn=_0xb98a65(0x39d),fn=_0xb98a65(0x2cf);exports[_0xb98a65(0x343)]=class{constructor(_0x466a84,_0xd2de6d,_0x4ed741){var _0x3cafa8=_0xb98a65;A(this,'_waitCount',0x0),A(this,_0x3cafa8(0x33f),new $[(_0x3cafa8(0x3bd))]()),A(this,_0x3cafa8(0x37b),this[_0x3cafa8(0x33f)]),A(this,'_imageSourceCache',new Map()),(this[_0x3cafa8(0x3b5)]=_0x466a84,this[_0x3cafa8(0x434)]=_0xd2de6d,this[_0x3cafa8(0x4c9)]=_0x4ed741);}[_0xb98a65(0x16a)](_0x50258e){var _0x4c9a3f=_0xb98a65;this[_0x4c9a3f(0x386)]=_0x50258e,this['_change$'][_0x4c9a3f(0x3a3)](_0x50258e);}[_0xb98a65(0x2ef)](_0x530ab9,_0x576828){var _0x4ebe14=_0xb98a65;if(_0x576828===z[_0x4ebe14(0x4ca)][_0x4ebe14(0x1a1)]){const _0x238ebc=new Image();return _0x238ebc[_0x4ebe14(0x415)]=_0x530ab9,_0x238ebc;}return this['_imageSourceCache'][_0x4ebe14(0x324)](_0x530ab9);}['addImageSourceCache'](_0x4c1d49,_0x3679c9,_0x59b015){var _0x20e3c4=_0xb98a65;_0x3679c9===z['ImageSourceType'][_0x20e3c4(0x1a1)]||_0x59b015==null||this[_0x20e3c4(0x408)][_0x20e3c4(0x337)](_0x4c1d49,_0x59b015);}async[_0xb98a65(0x184)](_0x5cf1d8){var _0x5862b5=_0xb98a65;try{const _0x8dd458=this[_0x5862b5(0x2af)](this[_0x5862b5(0x2ad)](),''+_0x5cf1d8),_0x2ff1c0=(await this[_0x5862b5(0x3b5)]['get'](_0x8dd458))[_0x5862b5(0x4c8)];if(_0x2ff1c0[_0x5862b5(0x3b4)]&&_0x2ff1c0['error'][_0x5862b5(0x220)]===gt['OK']){const _0x112765=new URL(_0x2ff1c0['url'],this[_0x5862b5(0x287)]())[_0x5862b5(0x381)]();return Promise['resolve'](_0x112765);}return Promise[_0x5862b5(0x395)](_0x2ff1c0[_0x5862b5(0x3b4)]);}catch(_0x2bc907){return Promise['reject'](_0x2bc907);}}async[_0xb98a65(0x472)](_0x323d47){var _0x676262=_0xb98a65;let _0x569f31='';if(!ln[_0x676262(0x306)](_0x323d47[_0x676262(0x2a8)]))return this[_0x676262(0x2c0)](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)]['ERROR_IMAGE_TYPE']));if(_0x323d47[_0x676262(0x2c7)]>un)return this[_0x676262(0x2c0)](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)]['ERROR_EXCEED_SIZE']));try{const _0x3c6591=new FormData();_0x3c6591[_0x676262(0x1db)](_0x676262(0x221),_0x323d47);const _0x3b0da0=this[_0x676262(0x4c9)][_0x676262(0x294)](),_0xac5c14=_0x3b0da0==null?void 0x0:_0x3b0da0[_0x676262(0x270)]();if(!_0xac5c14)throw new Error('unitId\x20is\x20not\x20found');const _0x44500d=this['_getUploadFileURL']()+_0x676262(0x309)+_0x323d47['size']['toString']()+_0x676262(0x1f2)+Et[_0x676262(0x275)]+_0x676262(0x1b2)+encodeURIComponent(_0xac5c14),_0x58ad4c={'body':_0x3c6591},_0x438179=(await this[_0x676262(0x3b5)][_0x676262(0x289)](_0x44500d,_0x58ad4c))[_0x676262(0x4c8)];if(typeof _0x438179['FileId']!=_0x676262(0x3aa))return this['_decreaseWaiting'](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)][_0x676262(0x2bf)]));_0x569f31=_0x438179['FileId'];}catch{return this[_0x676262(0x2c0)](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)]['ERROR_IMAGE']));}return new Promise((_0x12ae7f,_0x267ea4)=>{var _0xdbfc6a=_0x676262;const _0x21f688=new FileReader();_0x21f688[_0xdbfc6a(0x166)](_0x323d47),_0x21f688['onload']=_0x7becc3=>{var _0x1dfe4b=_0xdbfc6a,_0x1900ed;const _0xfd43e5=(_0x1900ed=_0x7becc3['target'])==null?void 0x0:_0x1900ed[_0x1dfe4b(0x208)];if(_0xfd43e5==null){this[_0x1dfe4b(0x2c0)](),_0x267ea4(new Error(z[_0x1dfe4b(0x14e)]['ERROR_IMAGE']));return;}const _0x14e11d=a[_0x1dfe4b(0x1ae)][_0x1dfe4b(0x25e)](0x6);_0x12ae7f({'imageId':_0x14e11d,'imageSourceType':z[_0x1dfe4b(0x4ca)]['UUID'],'source':_0x569f31,'base64Cache':_0xfd43e5,'status':z[_0x1dfe4b(0x14e)][_0x1dfe4b(0x365)]}),this['_decreaseWaiting']();};});}[_0xb98a65(0x436)](){var _0x1692a9=_0xb98a65,_0xcf97e9,_0x4adca6;const _0x465a98=this[_0x1692a9(0x434)][_0x1692a9(0x3e6)](dn),_0x17f2f2=this['_configService'][_0x1692a9(0x3e6)](G);return(_0x4adca6=(_0xcf97e9=_0x17f2f2==null?void 0x0:_0x17f2f2[_0x1692a9(0x359)])!=null?_0xcf97e9:_0x465a98)!=null?_0x4adca6:vn;}[_0xb98a65(0x2ad)](){var _0x4e3a55=_0xb98a65,_0x333b5a,_0x136e1f;const _0x3dfae0=this[_0x4e3a55(0x434)][_0x4e3a55(0x3e6)](Sn),_0x4f9a79=this[_0x4e3a55(0x434)]['getConfig'](G);return(_0x136e1f=(_0x333b5a=_0x4f9a79==null?void 0x0:_0x4f9a79[_0x4e3a55(0x168)])!=null?_0x333b5a:_0x3dfae0)!=null?_0x136e1f:fn;}['_getDownloadEndpointURL'](){var _0x31ad22=_0xb98a65,_0x41b568;const _0x5bedf3=this[_0x31ad22(0x434)][_0x31ad22(0x3e6)](G);return(_0x41b568=_0x5bedf3==null?void 0x0:_0x5bedf3['downloadEndpointUrl'])!=null?_0x41b568:location[_0x31ad22(0x340)];}[_0xb98a65(0x2af)](_0x1a6528,_0x5e93cf){var _0x4e7c17=_0xb98a65;return _0x1a6528[_0x4e7c17(0x20d)](_0x4e7c17(0x475),_0x5e93cf);}['_decreaseWaiting'](){var _0x2966c1=_0xb98a65;this[_0x2966c1(0x386)]-=0x1,this[_0x2966c1(0x33f)][_0x2966c1(0x3a3)](this[_0x2966c1(0x386)]);}},exports[_0xb98a65(0x343)]=_n([we(0x0,a['Inject'](K[_0xb98a65(0x1e5)])),we(0x1,a[_0xb98a65(0x2a1)]),we(0x2,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2bb)]))],exports['CollaborationImageIoService']);var In=Object[_0xb98a65(0x2b8)],pn=(_0x4ec4a1,_0x1e0ce6,_0x47e241,_0x34cff1)=>{var _0xd768c0=_0xb98a65;for(var _0x16b60a=_0x34cff1>0x1?void 0x0:_0x34cff1?In(_0x1e0ce6,_0x47e241):_0x1e0ce6,_0x4fd51e=_0x4ec4a1[_0xd768c0(0x1cf)]-0x1,_0x4dc7a2;_0x4fd51e>=0x0;_0x4fd51e--)(_0x4dc7a2=_0x4ec4a1[_0x4fd51e])&&(_0x16b60a=_0x4dc7a2(_0x16b60a)||_0x16b60a);return _0x16b60a;},at=(_0x452f30,_0x341f0f)=>(_0x42614b,_0x4c8ee2)=>_0x341f0f(_0x42614b,_0x4c8ee2,_0x452f30);const gn='/universer-api/authz';exports[_0xb98a65(0x19c)]=class{constructor(_0x4e0fac,_0x1b583a){var _0x2a9b5d=_0xb98a65;this[_0x2a9b5d(0x434)]=_0x4e0fac,this[_0x2a9b5d(0x1ef)]=_0x1b583a;}['_getAPIPrefixPath'](){var _0x3754da=_0xb98a65,_0x53592a,_0x371754;const _0x207763=this[_0x3754da(0x434)]['getConfig'](Ve),_0x5d2c69=this['_configService'][_0x3754da(0x3e6)](G);return(_0x371754=(_0x53592a=_0x5d2c69==null?void 0x0:_0x5d2c69[_0x3754da(0x13c)])!=null?_0x53592a:_0x207763)!=null?_0x371754:gn;}async[_0xb98a65(0x22c)](_0x147a07){var _0x481bbc=_0xb98a65;const _0x1870ed=this['_getAPIPrefixPath']()+_0x481bbc(0x32e);return{'list':[{'title':'People','mentions':(await this[_0x481bbc(0x1ef)][_0x481bbc(0x324)](_0x1870ed,{'params':{'objectID':_0x147a07[_0x481bbc(0x344)],'unitID':_0x147a07[_0x481bbc(0x344)]}}))['body'][_0x481bbc(0x27d)][_0x481bbc(0x442)](_0x22d85b=>({'objectId':_0x22d85b['id'],'name':_0x22d85b[_0x481bbc(0x494)][_0x481bbc(0x36a)],'metadata':{'icon':_0x22d85b[_0x481bbc(0x494)][_0x481bbc(0x1e7)]},'label':_0x22d85b[_0x481bbc(0x494)][_0x481bbc(0x36a)],'objectType':a[_0x481bbc(0x421)][_0x481bbc(0x484)]})),'metadata':{},'type':a[_0x481bbc(0x421)][_0x481bbc(0x484)]}]};}},exports[_0xb98a65(0x19c)]=pn([at(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2a1)])),at(0x1,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)]))],exports['MentionIoHttpService']);var En=Object['getOwnPropertyDescriptor'],mn=(_0x3b5cd5,_0x37cb37,_0x1fac4d,_0x130543)=>{for(var _0x261ff7=_0x130543>0x1?void 0x0:_0x130543?En(_0x37cb37,_0x1fac4d):_0x37cb37,_0x161c5a=_0x3b5cd5['length']-0x1,_0x1bdab0;_0x161c5a>=0x0;_0x161c5a--)(_0x1bdab0=_0x3b5cd5[_0x161c5a])&&(_0x261ff7=_0x1bdab0(_0x261ff7)||_0x261ff7);return _0x261ff7;},le=(_0x24cdfb,_0x1a8827)=>(_0x14ba54,_0x4353b5)=>_0x1a8827(_0x14ba54,_0x4353b5,_0x24cdfb);let De=class extends a['RxDisposable']{constructor(_0x42894e,_0x35740d,_0x1d75e9,_0x9b80f6,_0x1c91c2){var _0x4b793d=_0xb98a65;super(),this[_0x4b793d(0x262)]=_0x42894e,this['_univerInstanceService']=_0x35740d,this[_0x4b793d(0x3a2)]=_0x1d75e9,this[_0x4b793d(0x43f)]=_0x9b80f6,this[_0x4b793d(0x1bc)]=_0x1c91c2,this[_0x4b793d(0x24c)](),this[_0x4b793d(0x1f6)]();}[_0xb98a65(0x1f6)](){var _0x2bd6a9=_0xb98a65;const _0x523233=async _0x43d2f5=>{var _0x16b318=_0x5981;(await this[_0x16b318(0x43f)][_0x16b318(0x1e2)](_0x43d2f5))[_0x16b318(0x3db)][_0x16b318(0x490)](V[_0x16b318(0x2fd)](_0x373ec2=>_0x373ec2[_0x16b318(0x20c)]===p[_0x16b318(0x29d)][_0x16b318(0x37c)]),V[_0x16b318(0x256)](this[_0x16b318(0x297)]))[_0x16b318(0x20a)](_0x362251=>{var _0xc90031=_0x16b318;const _0x163087=_0x362251,{reason:_0x579e4a}=_0x163087['data'];this[_0xc90031(0x1bc)][_0xc90031(0x47c)]({'id':Z[_0xc90031(0x2c8)],'data':_0x579e4a}),this[_0xc90031(0x3a2)][_0xc90031(0x2de)](new X[(_0xc90031(0x430))](_0x43d2f5)['id'],!0x1),this[_0xc90031(0x43f)][_0xc90031(0x33d)](_0x43d2f5);});};$[_0x2bd6a9(0x3f9)](this[_0x2bd6a9(0x4c9)][_0x2bd6a9(0x155)](a['UniverInstanceType'][_0x2bd6a9(0x42b)]),this['_univerInstanceService'][_0x2bd6a9(0x155)](a[_0x2bd6a9(0x219)]['UNIVER_DOC']))[_0x2bd6a9(0x490)](V['map'](_0x2e0f7b=>_0x2e0f7b[_0x2bd6a9(0x270)]()),V['filter'](_0x37f33d=>!a['isInternalEditorID'](_0x37f33d)),V['takeUntil'](this[_0x2bd6a9(0x297)]))[_0x2bd6a9(0x20a)](_0x3f7f5b=>{_0x523233(_0x3f7f5b);});}['_initUnitPermissionChange'](){var _0x36bea1=_0xb98a65;const _0x535ed5=async _0x292709=>{var _0x23dcfd=_0x5981;const _0x3e09aa=await this['_collaborationSessionService'][_0x23dcfd(0x1e2)](_0x292709),_0x135a3b=this[_0x23dcfd(0x262)][_0x23dcfd(0x324)](X[_0x23dcfd(0x1d5)]);_0x3e09aa['event$'][_0x23dcfd(0x490)](V[_0x23dcfd(0x2fd)](_0x5c2bfd=>_0x5c2bfd[_0x23dcfd(0x20c)]===p[_0x23dcfd(0x29d)][_0x23dcfd(0x33b)]),V[_0x23dcfd(0x256)](this[_0x23dcfd(0x297)]))[_0x23dcfd(0x20a)](_0x4923f0=>{var _0x2ba7a2=_0x23dcfd;const _0x5c7ece=_0x4923f0,{objectId:_0x3f41c2}=_0x5c7ece[_0x2ba7a2(0x22b)];_0x3f41c2===_0x292709?_0x135a3b[_0x2ba7a2(0x447)](_0x292709):_0x135a3b[_0x2ba7a2(0x210)](_0x292709,_0x3f41c2);});};$[_0x36bea1(0x3f9)](this[_0x36bea1(0x4c9)][_0x36bea1(0x155)](a[_0x36bea1(0x219)]['UNIVER_SHEET']))['pipe'](V['map'](_0x16160b=>_0x16160b[_0x36bea1(0x270)]()),V[_0x36bea1(0x2fd)](_0x4a0d17=>!a[_0x36bea1(0x205)](_0x4a0d17)),V['takeUntil'](this[_0x36bea1(0x297)]))['subscribe'](_0x4d5254=>{_0x535ed5(_0x4d5254);});}};De=mn([le(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),le(0x1,a['IUniverInstanceService']),le(0x2,a['IPermissionService']),le(0x3,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x1a5)])),le(0x4,a[_0xb98a65(0x42e)](ee))],De);var Cn=Object[_0xb98a65(0x2b8)],Tn=(_0x5a9eed,_0xe17c9a,_0x1e9293,_0xa8bf4f)=>{var _0x3fc31f=_0xb98a65;for(var _0x5bbdac=_0xa8bf4f>0x1?void 0x0:_0xa8bf4f?Cn(_0xe17c9a,_0x1e9293):_0xe17c9a,_0x2bb1b6=_0x5a9eed[_0x3fc31f(0x1cf)]-0x1,_0x268ad4;_0x2bb1b6>=0x0;_0x2bb1b6--)(_0x268ad4=_0x5a9eed[_0x2bb1b6])&&(_0x5bbdac=_0x268ad4(_0x5bbdac)||_0x5bbdac);return _0x5bbdac;},ct=(_0x36b029,_0x4edf51)=>(_0x3897db,_0x192557)=>_0x4edf51(_0x3897db,_0x192557,_0x36b029);exports[_0xb98a65(0x1ec)]=class{constructor(_0x489c34,_0x561d53){var _0x531b2e=_0xb98a65;this[_0x531b2e(0x434)]=_0x489c34,this[_0x531b2e(0x3b5)]=_0x561d53;}async[_0xb98a65(0x252)](_0x7767e5,_0x70cc80){var _0x1c3544=_0xb98a65,_0x4db95e;const {unitID:_0x22f922,type:_0xbef03f,revision:_0xc0b6b9=0x0}=_0x70cc80,_0x1ec440=this[_0x1c3544(0x3a5)]()+'/'+_0xbef03f+_0x1c3544(0x293)+_0x22f922+_0x1c3544(0x21d)+_0xc0b6b9,_0xf541eb=(await this[_0x1c3544(0x3b5)][_0x1c3544(0x324)](_0x1ec440))[_0x1c3544(0x4c8)],_0x39177a=(_0x4db95e=_0xf541eb[_0x1c3544(0x368)])==null?void 0x0:_0x4db95e[_0x1c3544(0x39a)];if(_0x39177a){const _0x24ad22=_0x39177a==null?void 0x0:_0x39177a['originalMeta'],_0x670735=p['textEncoder']['encode'](p[_0x1c3544(0x371)](_0x24ad22));_0x39177a['originalMeta']=_0x670735,Object[_0x1c3544(0x3fd)](_0x39177a[_0x1c3544(0x318)])[_0x1c3544(0x304)](([,_0xb95e30])=>{var _0x18dd7b=_0x1c3544;const _0x58ed8a=_0xb95e30[_0x18dd7b(0x425)],_0x163f4c=p[_0x18dd7b(0x38d)][_0x18dd7b(0x352)](p[_0x18dd7b(0x371)](_0x58ed8a));_0xb95e30[_0x18dd7b(0x425)]=_0x163f4c;});}return _0xf541eb;}async[_0xb98a65(0x382)](_0x168dcb,_0x4e587f){var _0x2b642b=_0xb98a65;const {unitID:_0x3789d9,type:_0x53368c,blockID:_0x216109}=_0x4e587f,_0x557f03=this['_getAPIPrefix']()+'/'+_0x53368c+_0x2b642b(0x293)+_0x3789d9+_0x2b642b(0x1e1)+_0x216109;return(await this['_httpService'][_0x2b642b(0x324)](_0x557f03))[_0x2b642b(0x4c8)];}async[_0xb98a65(0x476)](_0x5c0e70,_0x4c67af){var _0x2187a6=_0xb98a65;const {unitID:_0x2f27b2,type:_0x8081d4,blockID:_0x3a7149}=_0x4c67af,_0x235492=this['_getAPIPrefix']()+_0x2187a6(0x1e1)+_0x8081d4+_0x2187a6(0x293)+_0x2f27b2+_0x2187a6(0x1e1)+_0x3a7149;return(await this['_httpService'][_0x2187a6(0x324)](_0x235492))[_0x2187a6(0x4c8)];}async[_0xb98a65(0x4bd)](_0x4a279c,_0x151cb6){var _0x494f13=_0xb98a65;const {unitID:_0x39009f,type:_0x1ebb2e,from:_0xf79cc8,to:_0x42940e}=_0x151cb6,_0x194e33=this[_0x494f13(0x1cb)]()+'/'+_0x1ebb2e+_0x494f13(0x293)+_0x39009f+_0x494f13(0x204)+_0xf79cc8+_0x494f13(0x323)+_0x42940e;return(await this[_0x494f13(0x3b5)][_0x494f13(0x324)](_0x194e33))[_0x494f13(0x4c8)];}['getSnapshotAPIPath'](){var _0x22033f=_0xb98a65,_0x3a0e85;return(_0x3a0e85=this[_0x22033f(0x434)][_0x22033f(0x3e6)](lt))!=null?_0x3a0e85:this[_0x22033f(0x1cb)]();}['_getAPIPrefix'](){var _0xd6452=_0xb98a65,_0x5cc31,_0x298fae;const _0x50c776=this['_configService'][_0xd6452(0x3e6)](_t),_0x18828d=this[_0xd6452(0x434)][_0xd6452(0x3e6)](G);return(_0x298fae=(_0x5cc31=_0x18828d==null?void 0x0:_0x18828d[_0xd6452(0x312)])!=null?_0x5cc31:_0x50c776)!=null?_0x298fae:wt;}async[_0xb98a65(0x2cc)](_0x14cc37,_0x25ec9e){var _0x45815f=_0xb98a65;const _0x150d69=_0x45815f(0x48d)+_0x25ec9e[_0x45815f(0x2a8)]+_0x45815f(0x293)+_0x25ec9e[_0x45815f(0x173)]+_0x45815f(0x37d);return(await this[_0x45815f(0x3b5)][_0x45815f(0x324)](_0x150d69,{'params':{'resourceId':JSON[_0x45815f(0x4a4)](_0x25ec9e[_0x45815f(0x2c5)])}}))[_0x45815f(0x4c8)];}[_0xb98a65(0x4a5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x25b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x25c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x163)](){var _0x341869=_0xb98a65;throw new Error(_0x341869(0x499));}[_0xb98a65(0x278)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x3c1)](){var _0x477b4c=_0xb98a65;throw new Error(_0x477b4c(0x499));}},exports[_0xb98a65(0x1ec)]=Tn([ct(0x0,a[_0xb98a65(0x2a1)]),ct(0x1,a[_0xb98a65(0x42e)](K['HTTPService']))],exports[_0xb98a65(0x1ec)]);var bn=Object[_0xb98a65(0x2b8)],Rn=(_0x34c821,_0x3e0d18,_0x5bbba3,_0x506c06)=>{for(var _0x2866b8=_0x506c06>0x1?void 0x0:_0x506c06?bn(_0x3e0d18,_0x5bbba3):_0x3e0d18,_0x57ded5=_0x34c821['length']-0x1,_0x363f02;_0x57ded5>=0x0;_0x57ded5--)(_0x363f02=_0x34c821[_0x57ded5])&&(_0x2866b8=_0x363f02(_0x2866b8)||_0x2866b8);return _0x2866b8;},ue=(_0x2a23bd,_0x447247)=>(_0x5dc0d5,_0x2c86ba)=>_0x447247(_0x5dc0d5,_0x2c86ba,_0x2a23bd);exports[_0xb98a65(0x36b)]=class extends a[_0xb98a65(0x2f5)]{constructor(_0x5818cf,_0x4b0e70,_0x2088a4,_0x5c6b9a,_0x467ef5){var _0x457490=_0xb98a65;super(_0x5818cf,_0x4b0e70,_0x2088a4),this[_0x457490(0x171)]=_0x5c6b9a,this[_0x457490(0x380)]=_0x467ef5;}['transformUndoRedo'](_0x3c6e8c,_0x5c2eaa){var _0x182231=_0xb98a65;const _0x1bd5d6=this[_0x182231(0x1e9)](_0x3c6e8c);if(_0x1bd5d6)try{const _0x4b6203=this[_0x182231(0x28f)](_0x1bd5d6,_0x5c2eaa);this[_0x182231(0x28e)](_0x3c6e8c,_0x4b6203);}catch(_0x2872f7){this['_logService'][_0x182231(0x3b4)](_0x182231(0x288),_0x2872f7),this[_0x182231(0x383)](_0x3c6e8c);}const _0x1fabbf=this[_0x182231(0x489)](_0x3c6e8c);if(_0x1fabbf)try{const _0x39d76c=this[_0x182231(0x28f)](_0x1fabbf,_0x5c2eaa);this[_0x182231(0x228)](_0x3c6e8c,_0x39d76c);}catch(_0x33ec0b){this[_0x182231(0x380)][_0x182231(0x3b4)](_0x33ec0b),this[_0x182231(0x3c3)](_0x3c6e8c);}}[_0xb98a65(0x383)](_0x2e23ae){var _0x658ea7=_0xb98a65;const _0x34a20e=this[_0x658ea7(0x1e9)](_0x2e23ae);_0x34a20e&&(_0x34a20e[_0x658ea7(0x1cf)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x24a099){var _0x572c89=_0xb98a65;const _0x34127f=this[_0x572c89(0x489)](_0x24a099);_0x34127f&&(_0x34127f[_0x572c89(0x1cf)]=0x0,this['_updateStatus']());}[_0xb98a65(0x28e)](_0x2d8000,_0x4b0dfd){var _0x521c5d=_0xb98a65;this[_0x521c5d(0x393)][_0x521c5d(0x337)](_0x2d8000,_0x4b0dfd),this[_0x521c5d(0x149)]();}[_0xb98a65(0x228)](_0x27b168,_0x1785eb){var _0x32636f=_0xb98a65;this[_0x32636f(0x417)][_0x32636f(0x337)](_0x27b168,_0x1785eb),this[_0x32636f(0x149)]();}[_0xb98a65(0x28f)](_0x4a8654,_0x9de09){var _0x390d51=_0xb98a65;const _0x18ca61=[];let _0x11b738=_0x9de09,_0x3cd21d=_0x9de09;for(let _0x3c43dc=_0x4a8654['length']-0x1;_0x3c43dc>=0x0;_0x3c43dc--){const {unitID:_0x2bf4aa,undoMutations:_0x32cb0d,redoMutations:_0x3b29ae}=_0x4a8654[_0x3c43dc],_0x363a1e=this['_transformService'][_0x390d51(0x48c)](_0x11b738,_0x32cb0d),_0x42291e=this['_transformService'][_0x390d51(0x48c)](_0x3cd21d,_0x3b29ae);if(p[_0x390d51(0x32d)](_0x363a1e)||p[_0x390d51(0x32d)](_0x42291e)){this['_logService'][_0x390d51(0x3b4)]('[CollaborationUndoRedoService]',_0x390d51(0x1e6),_0x363a1e,_0x42291e);break;}_0x11b738=_0x363a1e[_0x390d51(0x30e)],_0x3cd21d=_0x42291e['c1Prime'],_0x18ca61[_0x390d51(0x360)]({'unitID':_0x2bf4aa,'undoMutations':_0x363a1e[_0x390d51(0x1eb)],'redoMutations':_0x42291e[_0x390d51(0x1eb)]});}return _0x18ca61[_0x390d51(0x253)]();}},exports[_0xb98a65(0x36b)]=Rn([ue(0x0,a[_0xb98a65(0x2bb)]),ue(0x1,a['ICommandService']),ue(0x2,a[_0xb98a65(0x3dd)]),ue(0x3,p['ITransformService']),ue(0x4,a[_0xb98a65(0x423)])],exports[_0xb98a65(0x36b)]);var On=Object[_0xb98a65(0x27c)],yn=Object[_0xb98a65(0x2b8)],Nn=(_0x28e762,_0x58ea73,_0x550f08)=>_0x58ea73 in _0x28e762?On(_0x28e762,_0x58ea73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x550f08}):_0x28e762[_0x58ea73]=_0x550f08,Dn=(_0x50a3b3,_0x5cf9f7,_0x17bfef,_0x53f97d)=>{var _0x3693fa=_0xb98a65;for(var _0x54ec20=_0x53f97d>0x1?void 0x0:_0x53f97d?yn(_0x5cf9f7,_0x17bfef):_0x5cf9f7,_0x269b3b=_0x50a3b3[_0x3693fa(0x1cf)]-0x1,_0x130329;_0x269b3b>=0x0;_0x269b3b--)(_0x130329=_0x50a3b3[_0x269b3b])&&(_0x54ec20=_0x130329(_0x54ec20)||_0x54ec20);return _0x54ec20;},Me=(_0x21bfc3,_0x3bd912)=>(_0x5dd389,_0x4cd53d)=>_0x3bd912(_0x5dd389,_0x4cd53d,_0x21bfc3),Un=(_0x99e7a8,_0x25e46a,_0x35abef)=>Nn(_0x99e7a8,_0x25e46a+'',_0x35abef);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0xb98a65(0x26a)]=class extends a[_0xb98a65(0x2ae)]{constructor(_0x3b955d,_0xbae697,_0x277502,_0x580439){var _0x23673c=_0xb98a65;super(),A(this,'_config'),(this[_0x23673c(0x380)]=_0xbae697,this[_0x23673c(0x262)]=_0x277502,this[_0x23673c(0x434)]=_0x580439);const {..._0x31a44e}=a[_0x23673c(0x3f9)]({},Kt,_0x3b955d);if(!_0x31a44e[_0x23673c(0x24a)])throw new Error(_0x23673c(0x39c));this[_0x23673c(0x244)]=_0x31a44e,this[_0x23673c(0x434)][_0x23673c(0x3e1)](G,_0x31a44e);}[_0xb98a65(0x355)](){var _0x28c7d1=_0xb98a65;this['_registerDependencies'](),this[_0x28c7d1(0x2aa)]();}[_0xb98a65(0x332)](){var _0x43e227=_0xb98a65,_0x28d0b9,_0x1bda07;this[_0x43e227(0x262)][_0x43e227(0x281)](a[_0x43e227(0x458)])&&this['_logService'][_0x43e227(0x3b4)]('[UniverCollaborationClientPlugin]',_0x43e227(0x391));const _0x3273a1=a[_0x43e227(0x239)]([[a[_0x43e227(0x458)],{'useClass':exports[_0x43e227(0x36b)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x43e227(0x3a4)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x43e227(0x3ac)]],[He,{'useClass':this[_0x43e227(0x244)][_0x43e227(0x24a)]}],[p[_0x43e227(0x326)],{'useClass':exports[_0x43e227(0x1ec)]}],[a[_0x43e227(0x367)],{'useClass':exports[_0x43e227(0x255)]}],[z[_0x43e227(0x43a)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x43e227(0x3b9)],{'useClass':exports[_0x43e227(0x19c)]}],[exports[_0x43e227(0x42a)]],[xe]],(_0x28d0b9=this[_0x43e227(0x244)])==null?void 0x0:_0x28d0b9[_0x43e227(0x227)]);if(!((_0x1bda07=this[_0x43e227(0x244)])!=null&&_0x1bda07['enableSingleActiveInstanceLock'])){const _0x3c18a8=_0x3273a1[_0x43e227(0x145)](([_0x58eb22])=>_0x58eb22===de);_0x3c18a8!==-0x1&&_0x3273a1[_0x43e227(0x1ed)](_0x3c18a8,0x1);}a[_0x43e227(0x4b4)](this[_0x43e227(0x262)],_0x3273a1);}[_0xb98a65(0x2aa)](){var _0xed7183=_0xb98a65,_0xc19fb8,_0x21499a,_0x5a44c9;this[_0xed7183(0x262)]['get'](K['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0xc19fb8=this[_0xed7183(0x244)])!=null&&_0xc19fb8[_0xed7183(0x18b)]||(_0x21499a=this[_0xed7183(0x262)]['get'](q,a['Quantity'][_0xed7183(0x1df)]))==null||_0x21499a[_0xed7183(0x216)](),(_0x5a44c9=this[_0xed7183(0x244)])!=null&&_0x5a44c9['enableAuthServer']&&a['touchDependencies'](this[_0xed7183(0x262)],[[ye]]),a[_0xed7183(0x188)](this['_injector'],[[Ne],[exports[_0xed7183(0x42a)]],[De]]);}},Un(exports[_0xb98a65(0x26a)],_0xb98a65(0x4b0),An),exports[_0xb98a65(0x26a)]=Dn([a['DependentOn'](p['UniverCollaborationPlugin'],K[_0xb98a65(0x4bb)]),Me(0x1,a[_0xb98a65(0x423)]),Me(0x2,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),Me(0x3,a[_0xb98a65(0x2a1)])],exports[_0xb98a65(0x26a)]),exports[_0xb98a65(0x18e)]=Ve,exports[_0xb98a65(0x143)]=G,exports[_0xb98a65(0x46b)]=It,exports[_0xb98a65(0x320)]=ut,exports[_0xb98a65(0x266)]=Be,exports['CollaborationUIEventId']=Z,exports[_0xb98a65(0x299)]=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0xb98a65(0x279)]=Gt,exports[_0xb98a65(0x18d)]=kt,exports[_0xb98a65(0x192)]=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports[_0xb98a65(0x429)]=q,exports[_0xb98a65(0x3ea)]=mt,exports[_0xb98a65(0x3d5)]=de,exports[_0xb98a65(0x46a)]=Ft,exports[_0xb98a65(0x451)]=Bt,exports[_0xb98a65(0x19b)]=pt,exports[_0xb98a65(0x410)]=Yt,exports[_0xb98a65(0x30c)]=ft,exports[_0xb98a65(0x2f7)]=Mt,exports[_0xb98a65(0x17c)]=_t,exports[_0xb98a65(0x46d)]=lt,exports['SessionStatus']=re,exports[_0xb98a65(0x35a)]=je,exports[_0xb98a65(0x2e8)]=Ct,exports['getLocalCacheKey']=oi,exports['serializeCombRequest']=Tt;
|
1
|
+
'use strict';var _0x72c010=_0x284f;function _0x284f(_0x429eb1,_0x14d8b6){var _0x347f63=_0x347f();return _0x284f=function(_0x284fdc,_0x925d6d){_0x284fdc=_0x284fdc-0x145;var _0x7ffa8f=_0x347f63[_0x284fdc];return _0x7ffa8f;},_0x284f(_0x429eb1,_0x14d8b6);}(function(_0x431cf3,_0x2197cc){var _0x3b21ff=_0x284f,_0x7bb776=_0x431cf3();while(!![]){try{var _0x227845=parseInt(_0x3b21ff(0x27f))/0x1*(-parseInt(_0x3b21ff(0x1c6))/0x2)+parseInt(_0x3b21ff(0x327))/0x3+-parseInt(_0x3b21ff(0x3fd))/0x4+parseInt(_0x3b21ff(0x155))/0x5*(-parseInt(_0x3b21ff(0x46a))/0x6)+parseInt(_0x3b21ff(0x46b))/0x7+parseInt(_0x3b21ff(0x471))/0x8*(parseInt(_0x3b21ff(0x3de))/0x9)+parseInt(_0x3b21ff(0x39d))/0xa;if(_0x227845===_0x2197cc)break;else _0x7bb776['push'](_0x7bb776['shift']());}catch(_0x5b7968){_0x7bb776['push'](_0x7bb776['shift']());}}}(_0x347f,0xd764f));var Dt=Object[_0x72c010(0x210)],At=(_0x573db9,_0x3159e3,_0x3992c1)=>_0x3159e3 in _0x573db9?Dt(_0x573db9,_0x3159e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3992c1}):_0x573db9[_0x3159e3]=_0x3992c1,A=(_0x2d9719,_0x255729,_0x32cb68)=>At(_0x2d9719,typeof _0x255729!=_0x72c010(0x2f5)?_0x255729+'':_0x255729,_0x32cb68);Object[_0x72c010(0x210)](exports,Symbol[_0x72c010(0x207)],{'value':_0x72c010(0x2ed)});const a=require(_0x72c010(0x435)),$=require(_0x72c010(0x2a5)),V=require(_0x72c010(0x3b1)),I=require(_0x72c010(0x1e5)),Y=require(_0x72c010(0x1e3)),Pt=require(_0x72c010(0x1f5)),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),wt=require('@univerjs-pro/license'),_t=_0x72c010(0x250),Lt=_0x72c010(0x1a8),lt='SNAPSHOT_URL_KEY',Mt=_0x72c010(0x150),xt=0x7d0,ut=_0x72c010(0x4b6),dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt=_0x72c010(0x346),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x72c010(0x265),St=0x4e20,$t=0x4e20,ft=_0x72c010(0x2f8),jt=0x3,Bt=_0x72c010(0x4b3),Ft=0x3e8,pt='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0x72c010(0x24f),It=_0x72c010(0x371),Wt='/universer-api/oidc/authpage',Gt=_0x72c010(0x1bd),Kt=_0x72c010(0x462);var gt=(_0x18ffa2=>(_0x18ffa2[_0x18ffa2['UNDEFINED']=0x0]=_0x72c010(0x160),_0x18ffa2[_0x18ffa2['OK']=0x1]='OK',_0x18ffa2[_0x18ffa2[_0x72c010(0x395)]=0x2]=_0x72c010(0x395),_0x18ffa2[_0x18ffa2['PERMISSION_DENIED']=0x3]=_0x72c010(0x26d),_0x18ffa2[_0x18ffa2[_0x72c010(0x264)]=0x4]=_0x72c010(0x264),_0x18ffa2[_0x18ffa2[_0x72c010(0x28e)]=0x5]='UNAUTHENTICATED',_0x18ffa2[_0x18ffa2['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x18ffa2[_0x18ffa2['INVALID_ARGUMENT']=0x7]=_0x72c010(0x248),_0x18ffa2[_0x18ffa2[_0x72c010(0x41a)]=0x8]=_0x72c010(0x41a),_0x18ffa2[_0x18ffa2[_0x72c010(0x415)]=0x9]=_0x72c010(0x415),_0x18ffa2[_0x18ffa2['LOGIN_FAILED']=0xa]=_0x72c010(0x274),_0x18ffa2[_0x18ffa2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x72c010(0x319),_0x18ffa2[_0x18ffa2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x72c010(0x2a9),_0x18ffa2[_0x18ffa2[_0x72c010(0x1a9)]=0x1772]=_0x72c010(0x1a9),_0x18ffa2[_0x18ffa2[_0x72c010(0x1b4)]=0x1773]=_0x72c010(0x1b4),_0x18ffa2[_0x18ffa2[_0x72c010(0x29e)]=0x1b59]=_0x72c010(0x29e),_0x18ffa2[_0x18ffa2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x72c010(0x32e),_0x18ffa2[_0x18ffa2[_0x72c010(0x2d5)]=0x1b5b]=_0x72c010(0x2d5),_0x18ffa2[_0x18ffa2[_0x72c010(0x35c)]=0x1b5c]=_0x72c010(0x35c),_0x18ffa2[_0x18ffa2[_0x72c010(0x1bb)]=0x1b5d]=_0x72c010(0x1bb),_0x18ffa2[_0x18ffa2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x72c010(0x22f),_0x18ffa2[_0x18ffa2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x72c010(0x1ee),_0x18ffa2[_0x18ffa2[_0x72c010(0x3e8)]=0x232a]=_0x72c010(0x3e8),_0x18ffa2[_0x18ffa2[_0x72c010(0x3c5)]=0x232b]=_0x72c010(0x3c5),_0x18ffa2[_0x18ffa2['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x72c010(0x392),_0x18ffa2[_0x18ffa2[_0x72c010(0x3e0)]=0x232d]=_0x72c010(0x3e0),_0x18ffa2[_0x18ffa2[_0x72c010(0x469)]=0x2711]=_0x72c010(0x469),_0x18ffa2[_0x18ffa2[_0x72c010(0x3e2)]=0x2712]=_0x72c010(0x3e2),_0x18ffa2[_0x18ffa2[_0x72c010(0x397)]=0x2713]=_0x72c010(0x397),_0x18ffa2[_0x18ffa2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x72c010(0x40d),_0x18ffa2[_0x18ffa2[_0x72c010(0x365)]=0x271a]=_0x72c010(0x365),_0x18ffa2[_0x18ffa2[_0x72c010(0x396)]=0x271b]=_0x72c010(0x396),_0x18ffa2[_0x18ffa2[_0x72c010(0x425)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x18ffa2[_0x18ffa2[_0x72c010(0x49d)]=0x271d]=_0x72c010(0x49d),_0x18ffa2[_0x18ffa2[_0x72c010(0x337)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x18ffa2[_0x18ffa2[_0x72c010(0x169)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x18ffa2[_0x18ffa2[_0x72c010(0x360)]=0x2af9]=_0x72c010(0x360),_0x18ffa2[_0x18ffa2[_0x72c010(0x199)]=0x2ee1]=_0x72c010(0x199),_0x18ffa2[_0x18ffa2[_0x72c010(0x1d6)]=0x2ee2]='INVALID_INVITE_CODE',_0x18ffa2[_0x18ffa2[_0x72c010(0x464)]=0x2ee3]=_0x72c010(0x464),_0x18ffa2[_0x18ffa2[_0x72c010(0x182)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x18ffa2[_0x18ffa2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x18ffa2[_0x18ffa2[_0x72c010(0x284)]=0x32c9]=_0x72c010(0x284),_0x18ffa2[_0x18ffa2[_0x72c010(0x234)]=0x32ca]=_0x72c010(0x234),_0x18ffa2[_0x18ffa2[_0x72c010(0x148)]=0x32cb]=_0x72c010(0x148),_0x18ffa2[_0x18ffa2[_0x72c010(0x49e)]=-0x1]=_0x72c010(0x49e),_0x18ffa2))(gt||{}),J=(_0x19a790=>(_0x19a790[_0x19a790[_0x72c010(0x4a7)]=0x0]='UNIVER_UNKNOWN',_0x19a790[_0x19a790[_0x72c010(0x356)]=0x1]=_0x72c010(0x356),_0x19a790[_0x19a790[_0x72c010(0x477)]=0x2]=_0x72c010(0x477),_0x19a790[_0x19a790['UNIVER_SLIDE']=0x3]=_0x72c010(0x3d1),_0x19a790[_0x19a790[_0x72c010(0x498)]=0x4]=_0x72c010(0x498),_0x19a790[_0x19a790['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x19a790))(J||{}),W=(_0x5bcad8=>(_0x5bcad8[_0x5bcad8[_0x72c010(0x41e)]=0x0]='UNKNOWN_CMD',_0x5bcad8[_0x5bcad8[_0x72c010(0x326)]=0x1]=_0x72c010(0x326),_0x5bcad8[_0x5bcad8['JOIN']=0x2]=_0x72c010(0x256),_0x5bcad8[_0x5bcad8[_0x72c010(0x331)]=0x3]=_0x72c010(0x331),_0x5bcad8[_0x5bcad8[_0x72c010(0x4a2)]=0x4]=_0x72c010(0x4a2),_0x5bcad8[_0x5bcad8[_0x72c010(0x3ef)]=0x5]=_0x72c010(0x3ef),_0x5bcad8[_0x5bcad8[_0x72c010(0x1f9)]=0x6]=_0x72c010(0x1f9),_0x5bcad8[_0x5bcad8[_0x72c010(0x49e)]=-0x1]=_0x72c010(0x49e),_0x5bcad8))(W||{}),oe=(_0x2343d6=>(_0x2343d6[_0x2343d6[_0x72c010(0x492)]=0x0]=_0x72c010(0x492),_0x2343d6[_0x2343d6['OK']=0x1]='OK',_0x2343d6[_0x2343d6['FAIL']=0x2]=_0x72c010(0x470),_0x2343d6[_0x2343d6['JOIN_ROOM_FULL']=0x3e9]=_0x72c010(0x31e),_0x2343d6[_0x2343d6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x72c010(0x33b),_0x2343d6[_0x2343d6[_0x72c010(0x30d)]=0x3eb]=_0x72c010(0x30d),_0x2343d6[_0x2343d6[_0x72c010(0x42c)]=0x3ec]=_0x72c010(0x42c),_0x2343d6[_0x2343d6['UNRECOGNIZED']=-0x1]=_0x72c010(0x49e),_0x2343d6))(oe||{}),Et=(_0x2cdb86=>(_0x2cdb86[_0x2cdb86[_0x72c010(0x378)]=0x0]=_0x72c010(0x378),_0x2cdb86[_0x2cdb86['HttpImport']=0x1]=_0x72c010(0x3cd),_0x2cdb86[_0x2cdb86[_0x72c010(0x1b0)]=0x2]=_0x72c010(0x1b0),_0x2cdb86[_0x2cdb86[_0x72c010(0x40e)]=0x3]=_0x72c010(0x40e),_0x2cdb86[_0x2cdb86[_0x72c010(0x2c0)]=0x4]=_0x72c010(0x2c0),_0x2cdb86[_0x2cdb86['UserProfileImg']=0x5]=_0x72c010(0x2dc),_0x2cdb86[_0x2cdb86[_0x72c010(0x49e)]=-0x1]=_0x72c010(0x49e),_0x2cdb86))(Et||{});const K=_0x72c010(0x427),Yt={};var Z=(_0x5a4f75=>(_0x5a4f75[_0x72c010(0x454)]=_0x72c010(0x454),_0x5a4f75[_0x72c010(0x26d)]=_0x72c010(0x26d),_0x5a4f75[_0x72c010(0x15b)]=_0x72c010(0x15b),_0x5a4f75[_0x72c010(0x453)]=_0x72c010(0x453),_0x5a4f75['JOIN_ROOM_FAILED']=_0x72c010(0x4b2),_0x5a4f75[_0x72c010(0x393)]=_0x72c010(0x393),_0x5a4f75[_0x72c010(0x494)]=_0x72c010(0x494),_0x5a4f75['SUBMIT_CHANGESET_TIMEOUT']=_0x72c010(0x352),_0x5a4f75))(Z||{});class ee{constructor(){var _0x1ca0ae=_0x72c010;A(this,_0x1ca0ae(0x401),new $['Subject']()),A(this,_0x1ca0ae(0x2d2),this['_event$']['asObservable']());}[_0x72c010(0x42a)](_0x1e66ae){var _0x26cd61=_0x72c010;this[_0x26cd61(0x401)][_0x26cd61(0x1fb)](_0x1e66ae);}}const mt=a[_0x72c010(0x1ad)](_0x72c010(0x189));function Ct(_0x41fe22){var _0x3f520e=_0x72c010,_0x311b35,_0x56ae3a,_0x170e1d,_0x21fa14,_0x35959c;const _0xd5ae92=_0x41fe22[_0x3f520e(0x35f)],_0x1da0fb=JSON['parse'](_0xd5ae92);switch(_0x1da0fb[_0x3f520e(0x4ad)]){case W[_0x3f520e(0x3ef)]:case W[_0x3f520e(0x326)]:{const _0x4f0a0c=_0x1da0fb[_0x3f520e(0x212)];return{..._0x1da0fb,'data':_0x4f0a0c,'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};}case W[_0x3f520e(0x256)]:{const _0x227911=_0x1da0fb[_0x3f520e(0x3a2)];return{..._0x1da0fb,'data':_0x227911,'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};}case W[_0x3f520e(0x1f9)]:{const _0x50a128=_0x1da0fb['collaMsg'];switch(_0x50a128[_0x3f520e(0x249)]){case I['CollaborationEvent'][_0x3f520e(0x47c)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x311b35=_0x50a128[_0x3f520e(0x3f5)])==null?void 0x0:_0x311b35['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x405)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x56ae3a=_0x50a128['csAckEvent'])==null?void 0x0:_0x56ae3a['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x170e1d=_0x50a128[_0x3f520e(0x2fc)])==null?void 0x0:_0x170e1d['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x2a7)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x21fa14=_0x50a128['csRejEvent'])==null?void 0x0:_0x21fa14['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x35959c=_0x50a128[_0x3f520e(0x463)])==null?void 0x0:_0x35959c['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x1b6)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x244)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x1e4)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128['joinEvent']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x39c)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x228)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x486)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x215)]},'cmd':_0x1da0fb['cmd']};case I['CollaborationEvent'][_0x3f520e(0x490)]:case I[_0x3f520e(0x3b2)]['LIVESHARE_OPERATION']:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x297)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)]['LIVESHARE_TERMINATE']:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x215)]},'cmd':_0x1da0fb['cmd']};case I['CollaborationEvent'][_0x3f520e(0x285)]:return{..._0x1da0fb,'data':_0x50a128,'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x2e9)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x431)]},'cmd':_0x1da0fb['cmd']};case I[_0x3f520e(0x3b2)][_0x3f520e(0x3a5)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x222)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x19d)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x166)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x283)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x194)]},'cmd':_0x1da0fb['cmd']};default:return _0x1da0fb;}}default:return _0x1da0fb;}}function Tt(_0x26d40b){var _0x4971b5=_0x72c010;switch(_0x26d40b[_0x4971b5(0x4ad)]){case W[_0x4971b5(0x3ef)]:case W['HELLO']:return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)]});case W[_0x4971b5(0x4a2)]:{let _0x4f5105;switch(_0x26d40b['data'][_0x4971b5(0x249)]){case I[_0x4971b5(0x3b2)][_0x4971b5(0x1b6)]:{_0x4f5105={'eventID':I['CollaborationEvent'][_0x4971b5(0x1b6)],'updateCursorEvent':_0x26d40b['data'][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)]['USERS_LEAVE']:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x39c)],'leaveEvent':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x1e4)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x1e4)],'joinEvent':_0x26d40b['data'][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)]['LIVESHARE_NEW_HOST']:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x486)],'liveShareNewHost':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)]['LIVESHARE_OPERATION']:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x39b)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x39b)],'liveShareTerminate':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x3ce)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x3ce)],'liveShareRequestHost':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x490)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x490)]};break;}default:_0x4f5105={'eventID':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x249)]};}return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)],'collaMsg':_0x4f5105});}case W[_0x4971b5(0x256)]:return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)],'joinReq':_0x26d40b[_0x4971b5(0x35f)]});case W['LEAVE']:return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)],'leaveReq':_0x26d40b[_0x4971b5(0x35f)]});default:throw new Error(_0x4971b5(0x46d));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x4f6bae,_0x26d955,_0x169cfb,_0x20c25d)=>{var _0x23edfd=_0x72c010;for(var _0x2e6da8=_0x20c25d>0x1?void 0x0:_0x20c25d?qt(_0x26d955,_0x169cfb):_0x26d955,_0x89311e=_0x4f6bae[_0x23edfd(0x2f9)]-0x1,_0x29841f;_0x89311e>=0x0;_0x89311e--)(_0x29841f=_0x4f6bae[_0x89311e])&&(_0x2e6da8=_0x29841f(_0x2e6da8)||_0x2e6da8);return _0x2e6da8;},_e=(_0x14ebfa,_0x483fa1)=>(_0x6265c5,_0x4ae955)=>_0x483fa1(_0x6265c5,_0x4ae955,_0x14ebfa);const He=a[_0x72c010(0x1ad)]('univer-pro.collaboration-client-socket-service');function Jt(_0x3da297,_0x562153,_0xa68e19){var _0x405bb0=_0x72c010;return _0x3da297+'/'+_0x562153+_0x405bb0(0x158)+_0xa68e19+_0x405bb0(0x440);}exports[_0x72c010(0x24c)]=class extends a[_0x72c010(0x1df)]{constructor(_0x3ebfa4,_0xda68ec,_0x35a0a8,_0xc7cc,_0x541ca2){var _0x430692=_0x72c010;super(),this[_0x430692(0x39f)]=_0x3ebfa4,this['_httpService']=_0xda68ec,this['_configService']=_0x35a0a8,this[_0x430692(0x452)]=_0xc7cc,this['_snapshotServerService']=_0x541ca2;}[_0x72c010(0x33c)](_0x3957f6){var _0x489ecc=_0x72c010;const _0x3466a6=this[_0x489ecc(0x39f)]['get'](Y[_0x489ecc(0x252)]);if(!_0x3466a6)throw new Error(_0x489ecc(0x347));const _0x1165b4=_0x3466a6['createSocket'](_0x3957f6);if(!_0x1165b4)throw new Error(_0x489ecc(0x472));const _0xc5edeb=new a['DisposableCollection'](),_0x4f84b1=new $['Subject']();_0xc5edeb['add'](_0x1165b4[_0x489ecc(0x46f)][_0x489ecc(0x184)](_0x524cc6=>_0x4f84b1['next'](_0x524cc6))),_0xc5edeb[_0x489ecc(0x358)](a['toDisposable'](()=>_0x4f84b1[_0x489ecc(0x16b)]()));const _0x3cbaba=new $[(_0x489ecc(0x475))]();_0xc5edeb[_0x489ecc(0x358)](_0x1165b4[_0x489ecc(0x3b4)]['subscribe'](_0x575e75=>_0x3cbaba[_0x489ecc(0x1fb)](_0x575e75))),_0xc5edeb[_0x489ecc(0x358)](a[_0x489ecc(0x146)](()=>_0x3cbaba[_0x489ecc(0x16b)]()));const _0x558477=new $[(_0x489ecc(0x475))]();_0xc5edeb[_0x489ecc(0x358)](_0x1165b4[_0x489ecc(0x236)][_0x489ecc(0x184)](_0x21d61a=>{var _0x539823=_0x489ecc;const _0x4e4ba5=Ct(_0x21d61a);_0x558477[_0x539823(0x1fb)](_0x4e4ba5);})),_0xc5edeb[_0x489ecc(0x358)](a[_0x489ecc(0x146)](()=>_0x558477[_0x489ecc(0x16b)]()));let _0x52aeee;const _0x751cd7=()=>{var _0x596e2c=_0x489ecc;_0x3cbaba[_0x596e2c(0x1fb)](new Event(_0x596e2c(0x165))),_0x4f84b1['next'](new Event(_0x596e2c(0x165))),_0x52aeee['close']();};return _0x52aeee={'memberID':'','close$':_0x4f84b1[_0x489ecc(0x2df)](),'error$':_0x3cbaba['asObservable'](),'open$':_0x1165b4[_0x489ecc(0x2c9)],'message$':_0x558477[_0x489ecc(0x2df)](),'send':_0x187fbf=>{var _0x489ace=_0x489ecc;if(_0x187fbf[_0x489ace(0x4ad)]===W[_0x489ace(0x4a2)]){if(_0x187fbf[_0x489ace(0x35f)]['eventID']===I[_0x489ace(0x3b2)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x52aeee,_0x187fbf[_0x489ace(0x35f)])[_0x489ace(0x237)](_0x45c25f=>{var _0x223373=_0x489ace;this[_0x223373(0x452)][_0x223373(0x2e5)](_0x45c25f),_0x751cd7();});return;}if(_0x187fbf['data'][_0x489ace(0x249)]===I[_0x489ace(0x3b2)][_0x489ace(0x48c)]){const _0x2a6ee1=_0x187fbf[_0x489ace(0x35f)];this[_0x489ace(0x1f3)](_0x2a6ee1)['then'](_0x2110a4=>{var _0x456e0d=_0x489ace;_0x558477[_0x456e0d(0x1fb)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x2a6ee1[_0x456e0d(0x35f)][_0x456e0d(0x4af)],'routeType':'','data':{'eventID':I[_0x456e0d(0x3b2)][_0x456e0d(0x4a8)],'data':{'changesets':_0x2110a4}}});})[_0x489ace(0x237)](_0x378759=>{var _0x277b87=_0x489ace;this['_logService'][_0x277b87(0x2e5)](_0x378759),_0x751cd7();});return;}}_0x1165b4[_0x489ace(0x2f6)](Tt(_0x187fbf));},'close':()=>{var _0x116b8e=_0x489ecc;_0x1165b4[_0x116b8e(0x20d)](),_0xc5edeb[_0x116b8e(0x406)]();}},_0x52aeee;}async[_0x72c010(0x362)](_0x543218,_0x5b80a1){var _0x40e195=_0x72c010,_0x5350e9,_0x480cd0;const {unitType:_0x347e2b,unitID:_0x146235,changeset:_0x32d414}=_0x5b80a1[_0x40e195(0x35f)],_0x371cc1={'unitID':_0x146235,'memberID':_0x543218[_0x40e195(0x276)],'type':_0x347e2b,'changeset':I[_0x40e195(0x1d2)](_0x32d414)},_0x3832e2=this[_0x40e195(0x23d)]['getConfig'](pt),_0x9b3120=this['_configService'][_0x40e195(0x282)](K),_0x35eae9=Jt((_0x480cd0=(_0x5350e9=_0x9b3120==null?void 0x0:_0x9b3120[_0x40e195(0x3d6)])!=null?_0x5350e9:_0x3832e2)!=null?_0x480cd0:Vt,_0x347e2b,_0x146235);try{await this[_0x40e195(0x1ec)][_0x40e195(0x306)](_0x35eae9,{'body':_0x371cc1});}catch(_0x325961){throw this[_0x40e195(0x452)][_0x40e195(0x2e5)]('[CollaborationSession]',_0x40e195(0x4aa)),_0x325961;}}async[_0x72c010(0x1f3)](_0x22b29b){var _0x33fcac=_0x72c010;const {unitID:_0x1a8017,from:_0x282bdd,to:_0x561c85,unitType:_0x150c79}=_0x22b29b[_0x33fcac(0x35f)];return(await this[_0x33fcac(0x3bc)][_0x33fcac(0x29f)]({'metadata':void 0x0},{'unitID':_0x1a8017,'type':_0x150c79,'from':_0x282bdd,'to':_0x561c85}))[_0x33fcac(0x28d)];}},exports[_0x72c010(0x24c)]=zt([_e(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),_e(0x1,a['Inject'](Y[_0x72c010(0x48f)])),_e(0x2,a[_0x72c010(0x25f)]),_e(0x3,a['ILogService']),_e(0x4,I[_0x72c010(0x3e1)])],exports[_0x72c010(0x24c)]);const Xt=_0x72c010(0x481);function Zt(_0x51a0f1){var _0x1ab2d0=_0x72c010;return JSON[_0x1ab2d0(0x45a)](_0x51a0f1)[_0x1ab2d0(0x2f9)];}class $e{constructor(){var _0x3e4dd1=_0x72c010;A(this,'_commentUpdate$',new $[(_0x3e4dd1(0x475))]()),A(this,'commentUpdate$',this[_0x3e4dd1(0x298)][_0x3e4dd1(0x2df)]());}['onCommentUpdate'](_0x193288){var _0x4fe8d6=_0x72c010;this[_0x4fe8d6(0x298)][_0x4fe8d6(0x1fb)](_0x193288);}}var Qt=Object[_0x72c010(0x43c)],ei=(_0x335832,_0x3ac3c0,_0x1097d4,_0x500375)=>{var _0x17c4e4=_0x72c010;for(var _0x3dbda0=_0x500375>0x1?void 0x0:_0x500375?Qt(_0x3ac3c0,_0x1097d4):_0x3ac3c0,_0x1bf17c=_0x335832[_0x17c4e4(0x2f9)]-0x1,_0x10d997;_0x1bf17c>=0x0;_0x1bf17c--)(_0x10d997=_0x335832[_0x1bf17c])&&(_0x3dbda0=_0x10d997(_0x3dbda0)||_0x3dbda0);return _0x3dbda0;},We=(_0x5ef8de,_0x215570)=>(_0x53d3d0,_0x41e333)=>_0x215570(_0x53d3d0,_0x41e333,_0x5ef8de);exports[_0x72c010(0x29b)]=class extends a[_0x72c010(0x1df)]{constructor(_0x34e6ca,_0x41a73c){var _0x19c69e=_0x72c010;super(),A(this,'_roomMembers',new Map()),A(this,_0x19c69e(0x443),new $[(_0x19c69e(0x475))]()),(this[_0x19c69e(0x286)]=_0x34e6ca,this[_0x19c69e(0x499)]=_0x41a73c,this[_0x19c69e(0x1ef)]($[_0x19c69e(0x42f)](this[_0x19c69e(0x286)][_0x19c69e(0x465)](a[_0x19c69e(0x30f)][_0x19c69e(0x477)])[_0x19c69e(0x190)](V['map'](_0xede49f=>_0xede49f[_0x19c69e(0x233)]())),this[_0x19c69e(0x286)][_0x19c69e(0x465)](a[_0x19c69e(0x30f)][_0x19c69e(0x356)])['pipe'](V[_0x19c69e(0x14c)](_0x178581=>_0x178581['getUnitId']())),this[_0x19c69e(0x286)]['getTypeOfUnitDisposed$'](a[_0x19c69e(0x30f)]['UNIVER_SLIDE'])['pipe'](V[_0x19c69e(0x14c)](_0x24194e=>_0x24194e[_0x19c69e(0x233)]())))['subscribe'](_0x54eb20=>this[_0x19c69e(0x2c6)](_0x54eb20))));}[_0x72c010(0x262)](_0x25f8f8){var _0x1fbf53=_0x72c010;return this['_roomMembers']['has'](_0x25f8f8)?$['of'](this[_0x1fbf53(0x309)][_0x1fbf53(0x4b7)](_0x25f8f8)):this[_0x1fbf53(0x443)][_0x1fbf53(0x190)](V['map'](_0x171aa2=>{var _0x8bd486=_0x1fbf53;if(_0x171aa2===_0x25f8f8)return this[_0x8bd486(0x309)][_0x8bd486(0x4b7)](_0x171aa2);}));}['setCurrentUser'](_0x1fface){var _0x57ec1d=_0x72c010;this[_0x57ec1d(0x499)][_0x57ec1d(0x455)](_0x1fface);}[_0x72c010(0x161)](){var _0x14e492=_0x72c010;return this['_userManagerService'][_0x14e492(0x161)]();}[_0x72c010(0x4a3)](_0x20ba45,_0x3329f4){var _0x4689c1=_0x72c010;let _0x594ed4=this[_0x4689c1(0x309)]['get'](_0x20ba45);_0x594ed4||(_0x594ed4=new ti(),this[_0x4689c1(0x309)][_0x4689c1(0x268)](_0x20ba45,_0x594ed4),this[_0x4689c1(0x443)][_0x4689c1(0x1fb)](_0x20ba45)),_0x594ed4[_0x4689c1(0x4a3)](_0x3329f4);}[_0x72c010(0x2d1)](_0x3c34d2,_0x29a5e9){var _0x2fa2f3=_0x72c010;const _0x3e095a=this[_0x2fa2f3(0x309)]['get'](_0x3c34d2);_0x3e095a&&_0x3e095a[_0x2fa2f3(0x2d1)](_0x29a5e9);}[_0x72c010(0x373)](_0x53da3e){var _0x4c6ca0=_0x72c010;return this[_0x4c6ca0(0x309)][_0x4c6ca0(0x4b7)](_0x53da3e);}['getMember'](_0x491754,_0x39cfb2){var _0x5b77d8=_0x72c010;const _0x397b31=this[_0x5b77d8(0x309)][_0x5b77d8(0x4b7)](_0x491754);if(_0x397b31)return _0x397b31[_0x5b77d8(0x48a)](_0x39cfb2);}[_0x72c010(0x2c6)](_0x281751){var _0x1772fd=_0x72c010;const _0x29864d=this['_roomMembers'][_0x1772fd(0x4b7)](_0x281751);_0x29864d&&(_0x29864d['dispose'](),this[_0x1772fd(0x309)][_0x1772fd(0x229)](_0x281751));}[_0x72c010(0x406)](){var _0x36ef31=_0x72c010;this[_0x36ef31(0x309)]['forEach'](_0xa8463f=>_0xa8463f[_0x36ef31(0x406)]()),this[_0x36ef31(0x309)]['clear'](),this[_0x36ef31(0x443)][_0x36ef31(0x16b)]();}},exports[_0x72c010(0x29b)]=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a['Inject'](a[_0x72c010(0x487)]))],exports[_0x72c010(0x29b)]);class ti extends a[_0x72c010(0x1df)]{constructor(){var _0x4a4192=_0x72c010;super(...arguments),A(this,_0x4a4192(0x34b),new Map()),A(this,'_members$',new $[(_0x4a4192(0x3cc))](this['_members'])),A(this,_0x4a4192(0x1db),this[_0x4a4192(0x3f3)][_0x4a4192(0x2df)]());}[_0x72c010(0x406)](){var _0x4f55f3=_0x72c010;this['_members'][_0x4f55f3(0x1c9)]();}['updateMember'](_0x521357){var _0x14ad34=_0x72c010;this[_0x14ad34(0x34b)][_0x14ad34(0x268)](_0x521357[_0x14ad34(0x276)],_0x521357),this['_emitMembers']();}['removeMember'](_0x2ce9f8){var _0x2b3679=_0x72c010;this['_members'][_0x2b3679(0x229)](_0x2ce9f8);}[_0x72c010(0x48a)](_0x2be872){var _0x31e6b3=_0x72c010;return this[_0x31e6b3(0x34b)][_0x31e6b3(0x4b7)](_0x2be872);}[_0x72c010(0x3ed)](){var _0x10d7f1=_0x72c010;return Array[_0x10d7f1(0x423)](this[_0x10d7f1(0x34b)]['values']());}['_emitMembers'](){var _0x249d80=_0x72c010;this[_0x249d80(0x3f3)][_0x249d80(0x1fb)](this[_0x249d80(0x34b)]);}}var ii=Object[_0x72c010(0x43c)],ni=(_0x514c0e,_0x5bb97f,_0x355c18,_0x3ab4f3)=>{var _0x2aafac=_0x72c010;for(var _0x1c449a=_0x3ab4f3>0x1?void 0x0:_0x3ab4f3?ii(_0x5bb97f,_0x355c18):_0x5bb97f,_0x39b4f4=_0x514c0e[_0x2aafac(0x2f9)]-0x1,_0x618de7;_0x39b4f4>=0x0;_0x39b4f4--)(_0x618de7=_0x514c0e[_0x39b4f4])&&(_0x1c449a=_0x618de7(_0x1c449a)||_0x1c449a);return _0x1c449a;},se=(_0x14843d,_0x4ee0ef)=>(_0xc5c82e,_0x22c606)=>_0x4ee0ef(_0xc5c82e,_0x22c606,_0x14843d),re=(_0x16781e=>(_0x16781e[_0x16781e['IDLE']=0x0]=_0x72c010(0x2c2),_0x16781e[_0x16781e[_0x72c010(0x398)]=0x1]=_0x72c010(0x398),_0x16781e[_0x16781e[_0x72c010(0x38a)]=0x2]='OFFLINE',_0x16781e[_0x16781e[_0x72c010(0x1c7)]=0x3]=_0x72c010(0x1c7),_0x16781e))(re||{});const Ge={[oe['FAIL']]:_0x72c010(0x3b5),[oe[_0x72c010(0x31e)]]:_0x72c010(0x30a),[oe[_0x72c010(0x33b)]]:_0x72c010(0x25d),[oe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[oe[_0x72c010(0x42c)]]:_0x72c010(0x2a8)};exports[_0x72c010(0x167)]=class extends a[_0x72c010(0x3d3)]{constructor(_0x2e244f,_0x47a7f5,_0xf474b0,_0xff9537,_0x137abb,_0x3c8dd2,_0x578fff,_0x25ff93,_0x1b15ba){var _0x190dec=_0x72c010;super(),A(this,_0x190dec(0x3bb),new $[(_0x190dec(0x3cc))](0x0)),A(this,_0x190dec(0x3be),this['_sessionStatus$'][_0x190dec(0x2df)]()),A(this,'_event$',new $[(_0x190dec(0x475))]()),A(this,_0x190dec(0x2d2),this['_event$'][_0x190dec(0x2df)]()),A(this,_0x190dec(0x434)),A(this,_0x190dec(0x27e)),A(this,'_collaborationTimeoutTimer'),A(this,_0x190dec(0x270),!0x1),A(this,'_telemetryInfo',null),(this[_0x190dec(0x3a6)]=_0x2e244f,this[_0x190dec(0x452)]=_0xf474b0,this[_0x190dec(0x23d)]=_0xff9537,this['_localeService']=_0x137abb,this['_memberService']=_0x3c8dd2,this[_0x190dec(0x344)]=_0x578fff,this[_0x190dec(0x2b9)]=_0x25ff93,this[_0x190dec(0x196)]=_0x1b15ba,this[_0x190dec(0x270)]=!!this[_0x190dec(0x196)],_0x47a7f5[_0x190dec(0x190)]($['takeUntil'](this[_0x190dec(0x1b8)]))[_0x190dec(0x184)](_0x2fb748=>{var _0x4c5eee=_0x190dec,_0x1ea7f4;typeof _0x2fb748>'u'||(this['_socket']=_0x2fb748,_0x2fb748?(this[_0x4c5eee(0x2a0)](_0x2fb748),this[_0x4c5eee(0x27e)]=_0x2fb748[_0x4c5eee(0x236)][_0x4c5eee(0x184)](_0x495ccf=>{var _0x196f87=_0x4c5eee;_0x495ccf[_0x196f87(0x461)]===this[_0x196f87(0x3a6)]&&this[_0x196f87(0x2ea)](_0x495ccf);})):(this[_0x4c5eee(0x449)](),this[_0x4c5eee(0x3bb)]['next'](0x2),(_0x1ea7f4=this[_0x4c5eee(0x27e)])==null||_0x1ea7f4['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x72c010(0x1bc)](){var _0x578b86=_0x72c010;return this['_sessionStatus$'][_0x578b86(0x213)]();}[_0x72c010(0x321)](){var _0x36b31f=_0x72c010,_0x55559d,_0x53bd7d;return(_0x53bd7d=(_0x55559d=this[_0x36b31f(0x434)])==null?void 0x0:_0x55559d[_0x36b31f(0x276)])!=null?_0x53bd7d:null;}[_0x72c010(0x406)](){var _0x98847=_0x72c010;super[_0x98847(0x406)](),this['dispose$'][_0x98847(0x1fb)](),this[_0x98847(0x1b8)][_0x98847(0x16b)]();}[_0x72c010(0x20d)](){var _0x49a134=_0x72c010,_0x19cd84,_0x257b8a;this[_0x49a134(0x449)](),(_0x19cd84=this[_0x49a134(0x434)])==null||_0x19cd84['send']({'cmd':W[_0x49a134(0x331)],'data':{'roomID':this[_0x49a134(0x3a6)]}}),(_0x257b8a=this[_0x49a134(0x434)])==null||_0x257b8a[_0x49a134(0x20d)](),this[_0x49a134(0x401)][_0x49a134(0x16b)](),this['_sessionStatus$'][_0x49a134(0x16b)](),this[_0x49a134(0x406)]();}[_0x72c010(0x2ea)](_0x53f34f){var _0x55ef2f=_0x72c010;_0x53f34f['cmd']===W[_0x55ef2f(0x256)]?this[_0x55ef2f(0x1e6)](_0x53f34f):_0x53f34f[_0x55ef2f(0x4ad)]===W[_0x55ef2f(0x1f9)]&&this[_0x55ef2f(0x316)](_0x53f34f);}[_0x72c010(0x2a0)](_0x592436){var _0x3d0ba1=_0x72c010;this['_sessionStatus$']['next'](0x1),_0x592436[_0x3d0ba1(0x2f6)]({'cmd':W['JOIN'],'routeKey':this[_0x3d0ba1(0x3a6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3d0ba1(0x3a6)]}]}});}['_onJoinRoomEvent'](_0x32f0e7){var _0x4ca8be=_0x72c010,_0x383914;if(_0x32f0e7[_0x4ca8be(0x369)]in Ge){this[_0x4ca8be(0x2b9)][_0x4ca8be(0x42a)]({'id':Z[_0x4ca8be(0x4b2)],'data':Ge[_0x32f0e7[_0x4ca8be(0x369)]]}),this['_sessionStatus$'][_0x4ca8be(0x1fb)](0x2);return;}this[_0x4ca8be(0x3bb)][_0x4ca8be(0x1fb)](0x3);const _0x5b946e=(_0x383914=_0x32f0e7[_0x4ca8be(0x35f)][_0x4ca8be(0x168)][this[_0x4ca8be(0x3a6)]])==null?void 0x0:_0x383914[_0x4ca8be(0x336)];_0x5b946e&&_0x5b946e[_0x4ca8be(0x292)](_0xa594aa=>this[_0x4ca8be(0x1be)][_0x4ca8be(0x4a3)](this[_0x4ca8be(0x3a6)],_0xa594aa));}[_0x72c010(0x316)](_0x26ca52){var _0x42084e=_0x72c010;try{const _0x31dacd=_0x26ca52[_0x42084e(0x35f)];switch(_0x31dacd['eventID']){case I['CollaborationEvent'][_0x42084e(0x1e4)]:this[_0x42084e(0x20f)](_0x31dacd),this['_event$'][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)][_0x42084e(0x39c)]:this['_onUserLeave'](_0x31dacd),this[_0x42084e(0x401)][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)]['CHANGESET_ACK']:case I[_0x42084e(0x3b2)][_0x42084e(0x28f)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)][_0x42084e(0x285)]:this[_0x42084e(0x452)][_0x42084e(0x2e5)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x42084e(0x45a)](_0x31dacd)),this['_event$'][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)][_0x42084e(0x2e9)]:this[_0x42084e(0x344)][_0x42084e(0x370)](_0x31dacd['data']),this['_event$']['next'](_0x31dacd);break;default:this[_0x42084e(0x401)][_0x42084e(0x1fb)](_0x31dacd);}}catch(_0x29e978){this[_0x42084e(0x452)][_0x42084e(0x2e5)](_0x29e978,_0x26ca52);}}[_0x72c010(0x20f)](_0xe3efa5){var _0xbbccd9=_0x72c010;this[_0xbbccd9(0x1be)][_0xbbccd9(0x4a3)](this['_unitID'],_0xe3efa5['data']);}['_onUserLeave'](_0x11cea4){var _0x102a4d=_0x72c010;this['_memberService'][_0x102a4d(0x2d1)](this['_unitID'],_0x11cea4['data'][_0x102a4d(0x276)]);}async[_0x72c010(0x2f6)](_0x5ad468,_0x5f5a80){var _0x5779d6=_0x72c010;if(this['sessionStatus']!==0x3||!this[_0x5779d6(0x434)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5ad468[_0x5779d6(0x249)]===I[_0x5779d6(0x3b2)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5779d6(0x2d7)](_0x5ad468)),this[_0x5779d6(0x434)][_0x5779d6(0x2f6)]({'cmd':W[_0x5779d6(0x4a2)],'routeKey':_0x5f5a80,'routeType':'','data':_0x5ad468});}catch(_0x1cdc8b){this[_0x5779d6(0x452)]['error'](_0x1cdc8b);}}['_scheduleCollaborationTimeoutTimer'](){var _0x20dbf0=_0x72c010,_0x3c5edb;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4d562e=_0x284f;this[_0x4d562e(0x2f4)]=null,this[_0x4d562e(0x2b9)][_0x4d562e(0x42a)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3c5edb=this[_0x20dbf0(0x23d)][_0x20dbf0(0x282)](ke))!=null?_0x3c5edb:St);}['_clearCollaborationTimeoutTimer'](){var _0xd110d5=_0x72c010;this[_0xd110d5(0x2f4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x72c010(0x2d7)](_0x56a742){if(!this['_shouldReportTelemetry'])return;const {data:_0x5dfc2d}=_0x56a742,{unitID:_0x2ed376,changeset:_0x37a739}=_0x5dfc2d,{mutations:_0x10e665,type:_0x29800a}=_0x37a739;this['_telemetryInfo']={'unitId':_0x2ed376,'type':_0x29800a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x10e665)};}[_0x72c010(0x340)](){var _0x484093=_0x72c010;if(this[_0x484093(0x270)]){if(!this[_0x484093(0x3d0)]){this[_0x484093(0x452)][_0x484093(0x2e5)](_0x484093(0x417),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x484093(0x3d0)][_0x484093(0x459)]=performance[_0x484093(0x278)](),this[_0x484093(0x3d0)][_0x484093(0x2c8)]=this['_telemetryInfo'][_0x484093(0x459)]-this[_0x484093(0x3d0)]['startTime'],this[_0x484093(0x196)][_0x484093(0x205)](Xt,this['_telemetryInfo']),this[_0x484093(0x3d0)]=null;}}[_0x72c010(0x449)](){var _0xbba0ac=_0x72c010;this[_0xbba0ac(0x3d0)]=null;}},exports[_0x72c010(0x167)]=ni([se(0x2,a['ILogService']),se(0x3,a[_0x72c010(0x25f)]),se(0x4,a[_0x72c010(0x21f)](a['LocaleService'])),se(0x5,a[_0x72c010(0x21f)](exports[_0x72c010(0x29b)])),se(0x6,a[_0x72c010(0x21f)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x72c010(0x3a8)](Pt[_0x72c010(0x2cc)]))],exports[_0x72c010(0x167)]);var ri=Object[_0x72c010(0x43c)],si=(_0x4624d5,_0x2aedab,_0x2c8560,_0xb03858)=>{var _0x5a8d0f=_0x72c010;for(var _0x5604db=_0xb03858>0x1?void 0x0:_0xb03858?ri(_0x2aedab,_0x2c8560):_0x2aedab,_0x203e3d=_0x4624d5[_0x5a8d0f(0x2f9)]-0x1,_0x1a1f36;_0x203e3d>=0x0;_0x203e3d--)(_0x1a1f36=_0x4624d5[_0x203e3d])&&(_0x5604db=_0x1a1f36(_0x5604db)||_0x5604db);return _0x5604db;},he=(_0x43466f,_0x2d1cd7)=>(_0x35577d,_0x3373b2)=>_0x2d1cd7(_0x35577d,_0x3373b2,_0x43466f);exports[_0x72c010(0x3f8)]=class extends a[_0x72c010(0x1df)]{constructor(_0x312d50,_0x3badc9,_0x75b3b2,_0x4d2319,_0x5cc1a7,_0x43cdb4){var _0x553737=_0x72c010;super(),A(this,_0x553737(0x400),new $['BehaviorSubject'](void 0x0)),A(this,_0x553737(0x1ff),this[_0x553737(0x400)][_0x553737(0x2df)]()),A(this,_0x553737(0x4a9),null),A(this,_0x553737(0x418),new Map()),A(this,'_status$',new $[(_0x553737(0x3cc))](re[_0x553737(0x2c2)])),A(this,_0x553737(0x350),this[_0x553737(0x31f)][_0x553737(0x2df)]()),A(this,_0x553737(0x25a),!0x1),A(this,_0x553737(0x31a)),A(this,_0x553737(0x241),0x0),A(this,_0x553737(0x2b8)),A(this,_0x553737(0x386)),(this[_0x553737(0x39f)]=_0x312d50,this[_0x553737(0x452)]=_0x3badc9,this[_0x553737(0x23d)]=_0x75b3b2,this['_socketService']=_0x4d2319,this['_collaborationUIEventService']=_0x5cc1a7,this[_0x553737(0x353)]=_0x43cdb4,this[_0x553737(0x185)]());}get[_0x72c010(0x434)](){var _0x128795=_0x72c010;return this[_0x128795(0x400)][_0x128795(0x213)]();}[_0x72c010(0x185)](){var _0x4e902f=_0x72c010;this[_0x4e902f(0x353)]&&this['disposeWithMe'](this['_networkConditionService'][_0x4e902f(0x3db)][_0x4e902f(0x184)](_0x1e9b4a=>{var _0x504e5b=_0x4e902f;_0x1e9b4a&&!this[_0x504e5b(0x434)]&&this['reconnect'](),_0x1e9b4a||this[_0x504e5b(0x1c4)]();}));}[_0x72c010(0x406)](){var _0x450de4=_0x72c010;super[_0x450de4(0x406)](),this[_0x450de4(0x2be)](),this[_0x450de4(0x291)](),this[_0x450de4(0x38c)](),this[_0x450de4(0x418)][_0x450de4(0x292)](_0x134a91=>_0x134a91[_0x450de4(0x406)]()),this[_0x450de4(0x418)][_0x450de4(0x1c9)](),this[_0x450de4(0x31f)][_0x450de4(0x16b)]();}async[_0x72c010(0x24e)](_0x4be730){var _0x33d23b=_0x72c010;if(this['_sessions'][_0x33d23b(0x257)](_0x4be730))return this[_0x33d23b(0x418)]['get'](_0x4be730);this[_0x33d23b(0x1b2)]();const _0x5ccf7a=this[_0x33d23b(0x39f)]['createInstance'](exports['CollaborationSession'],_0x4be730,this[_0x33d23b(0x400)]['asObservable']());return this['_sessions'][_0x33d23b(0x268)](_0x4be730,_0x5ccf7a),_0x5ccf7a;}[_0x72c010(0x376)](_0x30aeed){var _0x3b6512=_0x72c010,_0x3507fa;const _0x21f32d=this[_0x3b6512(0x418)][_0x3b6512(0x4b7)](_0x30aeed);_0x21f32d&&(this[_0x3b6512(0x418)][_0x3b6512(0x229)](_0x30aeed),_0x21f32d['close']()),this[_0x3b6512(0x418)][_0x3b6512(0x3ae)]||(_0x3507fa=this[_0x3b6512(0x434)])==null||_0x3507fa[_0x3b6512(0x20d)]();}[_0x72c010(0x3fc)](){var _0x5736ec=_0x72c010;this[_0x5736ec(0x241)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x72c010(0x2be)](){var _0x508762=_0x72c010;this[_0x508762(0x31a)]!=null&&(clearTimeout(this[_0x508762(0x31a)]),this[_0x508762(0x31a)]=null);}async['_createSocket'](){var _0x19d1e9=_0x72c010,_0x25f32b,_0xfe1a79;const _0x4fa504=this[_0x19d1e9(0x23d)][_0x19d1e9(0x282)](ut),_0x7be48f=this[_0x19d1e9(0x23d)][_0x19d1e9(0x282)](K),_0x483c6a=(_0xfe1a79=(_0x25f32b=_0x7be48f==null?void 0x0:_0x7be48f['collabWebSocketUrl'])!=null?_0x25f32b:_0x4fa504)!=null?_0xfe1a79:dt,_0x1634b7=await this['_socketService'][_0x19d1e9(0x436)](_0x483c6a);return this['_candidateSocket']=_0x1634b7,_0x1634b7;}async[_0x72c010(0x1b2)](){var _0x3eb25e=_0x72c010,_0x3c393f,_0x2a2c58;try{const _0x2b3895=(_0x2a2c58=(_0x3c393f=this[_0x3eb25e(0x434)])!=null?_0x3c393f:this[_0x3eb25e(0x4a9)])!=null?_0x2a2c58:await this[_0x3eb25e(0x28c)]();if(_0x2b3895){const _0x4c299f=_0x2b3895[_0x3eb25e(0x2f6)];_0x2b3895[_0x3eb25e(0x2f6)]=_0x39ec05=>(this[_0x3eb25e(0x2b3)](),_0x4c299f[_0x3eb25e(0x20a)](_0x2b3895,[_0x39ec05])),_0x2b3895[_0x3eb25e(0x236)][_0x3eb25e(0x184)](_0x5aca7c=>this[_0x3eb25e(0x16a)](_0x2b3895,_0x5aca7c)),_0x2b3895['error$'][_0x3eb25e(0x190)](V['take'](0x1))[_0x3eb25e(0x184)](_0x147019=>this[_0x3eb25e(0x452)][_0x3eb25e(0x2e5)](_0x3eb25e(0x432),_0x147019)),_0x2b3895['open$'][_0x3eb25e(0x190)](V[_0x3eb25e(0x1d1)](0x1))[_0x3eb25e(0x184)](()=>{this['_onConnectionOpen'](_0x2b3895);}),_0x2b3895['close$'][_0x3eb25e(0x190)](V['take'](0x1))[_0x3eb25e(0x184)](_0x5d8781=>{var _0x22cf04=_0x3eb25e;this[_0x22cf04(0x452)][_0x22cf04(0x18f)](_0x22cf04(0x39a),'socket\x20close',_0x5d8781),this[_0x22cf04(0x47b)]();});}}catch(_0xa75d4){this[_0x3eb25e(0x452)][_0x3eb25e(0x2e5)](_0xa75d4),this[_0x3eb25e(0x47b)]();}}['_onConnectionOpen'](_0x2987e0){var _0x33fd10=_0x72c010;this[_0x33fd10(0x452)][_0x33fd10(0x18f)]('[CollaborationSessionService]',_0x33fd10(0x239)),_0x2987e0[_0x33fd10(0x2f6)]({'cmd':W[_0x33fd10(0x326)]}),this[_0x33fd10(0x2b3)]();}['_onOffline'](){var _0x1b20e0=_0x72c010;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x1b20e0(0x1fb)](re[_0x1b20e0(0x38a)]),this['_socket$'][_0x1b20e0(0x1fb)](null),this[_0x1b20e0(0x291)](),this[_0x1b20e0(0x38c)]();}[_0x72c010(0x47b)](){var _0x17fcee=_0x72c010,_0x5891fa;this[_0x17fcee(0x1c4)](),this['_retryCount']<((_0x5891fa=this[_0x17fcee(0x23d)][_0x17fcee(0x282)](ft))!=null?_0x5891fa:jt)?(this[_0x17fcee(0x2b9)]['emitEvent']({'id':Z[_0x17fcee(0x393)]}),this[_0x17fcee(0x19a)]()):this[_0x17fcee(0x2b9)][_0x17fcee(0x42a)]({'id':Z[_0x17fcee(0x494)]});}[_0x72c010(0x19a)](){var _0x5c44b0=_0x72c010,_0x14922d;const _0x3a2b52=this[_0x5c44b0(0x241)],_0xa0d9f8=this[_0x5c44b0(0x23d)][_0x5c44b0(0x282)](K),_0x3b1157=_0x3a2b52===0x0?0x0:((_0x14922d=_0xa0d9f8==null?void 0x0:_0xa0d9f8[_0x5c44b0(0x375)])!=null?_0x14922d:$t)*0x2**_0x3a2b52;this[_0x5c44b0(0x31a)]=setTimeout(()=>{var _0x16b79c=_0x5c44b0;clearTimeout(this[_0x16b79c(0x31a)]),this['_retryConnectingTimer']=null,this[_0x16b79c(0x1b2)]();},_0x3b1157),this[_0x5c44b0(0x241)]+=0x1;}[_0x72c010(0x16a)](_0x40b4f5,_0x9b755f){var _0x124446=_0x72c010;const {cmd:_0xb3fed3}=_0x9b755f;_0xb3fed3===W[_0x124446(0x326)]&&!this[_0x124446(0x25a)]&&(_0x40b4f5[_0x124446(0x276)]=_0x9b755f[_0x124446(0x35f)]['memberID'],this['_socket$'][_0x124446(0x1fb)](_0x40b4f5),this[_0x124446(0x31f)][_0x124446(0x1fb)](re['ONLINE']),this[_0x124446(0x25a)]=!0x0,this[_0x124446(0x4a9)]=null),_0xb3fed3===W[_0x124446(0x3ef)]&&this[_0x124446(0x291)](),this[_0x124446(0x2b3)]();}[_0x72c010(0x2b3)](){var _0x1832ee=_0x72c010,_0x578a4b;this['_clearHeartbeatTimer'](),this[_0x1832ee(0x2b8)]=setTimeout(()=>this[_0x1832ee(0x178)](),(_0x578a4b=this['_configService'][_0x1832ee(0x282)](vt))!=null?_0x578a4b:Ht);}[_0x72c010(0x178)](){var _0x5c5043=_0x72c010;this[_0x5c5043(0x434)][_0x5c5043(0x2f6)]({'cmd':W[_0x5c5043(0x3ef)]}),this[_0x5c5043(0x473)]();}[_0x72c010(0x473)](){var _0x11594=_0x72c010,_0x48ef56;this[_0x11594(0x386)]=setTimeout(()=>this[_0x11594(0x47b)](),(_0x48ef56=this[_0x11594(0x23d)][_0x11594(0x282)](ke))!=null?_0x48ef56:St);}['_clearHeartbeatTimer'](){var _0x35fdfc=_0x72c010;this[_0x35fdfc(0x2b8)]!=null&&(clearTimeout(this[_0x35fdfc(0x2b8)]),this[_0x35fdfc(0x2b8)]=null);}[_0x72c010(0x291)](){var _0x50b6be=_0x72c010;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x50b6be(0x386)]),this[_0x50b6be(0x386)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),he(0x1,a[_0x72c010(0x36f)]),he(0x2,a[_0x72c010(0x25f)]),he(0x3,He),he(0x4,a[_0x72c010(0x21f)](ee)),he(0x5,a['Optional'](mt))],exports[_0x72c010(0x3f8)]);const q=a[_0x72c010(0x1ad)](_0x72c010(0x1af));function oi(_0x44e82d){var _0x1831e1=_0x72c010;return _0x1831e1(0x3bd)+_0x44e82d;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x555f7d,_0x5e5512,_0x3ace1d,_0x31fd20)=>{for(var _0x4d3bdd=_0x31fd20>0x1?void 0x0:_0x31fd20?ai(_0x5e5512,_0x3ace1d):_0x5e5512,_0x1717d5=_0x555f7d['length']-0x1,_0x2cc6d9;_0x1717d5>=0x0;_0x1717d5--)(_0x2cc6d9=_0x555f7d[_0x1717d5])&&(_0x4d3bdd=_0x2cc6d9(_0x4d3bdd)||_0x4d3bdd);return _0x4d3bdd;},De=(_0x5d7b28,_0x982fbc)=>(_0x4da8ff,_0x58a326)=>_0x982fbc(_0x4da8ff,_0x58a326,_0x5d7b28);function hi(_0x341f58){var _0x5a7a59=_0x72c010;const {unitID:_0x28e2fc,mutations:_0x2c7d47}=_0x341f58;return{'unitId':_0x28e2fc,'subUnitId':_0x2c7d47[0x0][_0x5a7a59(0x1de)]['subUnitId']};}exports[_0x72c010(0x1a1)]=class{constructor(_0x4486b2,_0x376475,_0x1e3c32){var _0x52e0b5=_0x72c010;this['_injector']=_0x4486b2,this[_0x52e0b5(0x253)]=_0x376475,this[_0x52e0b5(0x173)]=_0x1e3c32;}[_0x72c010(0x43b)](_0xbf07d4){var _0x5f8315=_0x72c010,_0x1f5f2d,_0x37fc3f,_0x58734f,_0x22ef42;const _0x424732=this['_injector'][_0x5f8315(0x4b7)](X[_0x5f8315(0x1a2)]),{unitId:_0x9c8255,subUnitId:_0x5b7758}=hi(_0xbf07d4),_0x5dc5b2=_0x424732==null?void 0x0:_0x424732['getWorkbookSelections'](_0x9c8255)['getCurrentSelections'](),_0x3e1b32=(_0x37fc3f=(_0x1f5f2d=this[_0x5f8315(0x173)][_0x5f8315(0x303)](_0x9c8255))==null?void 0x0:_0x1f5f2d[_0x5f8315(0x22a)]())==null?void 0x0:_0x37fc3f[_0x5f8315(0x17e)]();if(_0x5dc5b2[_0x5f8315(0x2f9)]===0x0||!_0x9c8255||!_0x5b7758)return;const _0x43e5c1=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x9c8255,'subUnitId':_0x3e1b32,'selections':a['Tools'][_0x5f8315(0x16f)](_0x5dc5b2)}}],_0x248d1a=this[_0x5f8315(0x253)][_0x5f8315(0x2f0)](_0xbf07d4,_0x43e5c1);if(!I['isTransformMutationsWithChangesetSuccess'](_0x248d1a))throw _0x248d1a[_0x5f8315(0x2e5)];const _0x16c111=(_0x22ef42=(_0x58734f=_0x248d1a[_0x5f8315(0x4a6)][0x0])==null?void 0x0:_0x58734f[_0x5f8315(0x1de)])==null?void 0x0:_0x22ef42['selections'];if(Array[_0x5f8315(0x163)](_0x16c111)&&_0x16c111[_0x5f8315(0x2f9)]){if(_0x16c111[_0x5f8315(0x2f9)]===_0x43e5c1[0x0][_0x5f8315(0x1de)][_0x5f8315(0x279)]['length']&&_0x16c111[_0x5f8315(0x311)]((_0x38fb41,_0x50b1f7)=>a[_0x5f8315(0x219)][_0x5f8315(0x46c)](_0x38fb41[_0x5f8315(0x42d)],_0x43e5c1[0x0]['params']['selections'][_0x50b1f7][_0x5f8315(0x42d)])))return;this['_injector'][_0x5f8315(0x4b7)](a[_0x5f8315(0x287)])['executeCommand'](X[_0x5f8315(0x49c)]['id'],{'unitId':_0x9c8255,'subUnitId':_0x3e1b32,'selections':_0x16c111});}}},exports['SheetTransformSelectionsService']=ci([De(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),De(0x1,I[_0x72c010(0x170)]),De(0x2,a['IUniverInstanceService'])],exports[_0x72c010(0x1a1)]);const de=a[_0x72c010(0x1ad)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0xf898e6=>(_0xf898e6[_0xf898e6[_0x72c010(0x225)]=0x0]=_0x72c010(0x225),_0xf898e6[_0xf898e6[_0x72c010(0x38f)]=0x1]=_0x72c010(0x38f),_0xf898e6))(je||{});const _i=new Set([X[_0x72c010(0x1ae)]['id']]);function Ke(_0x13d5dd,_0x58e3df,_0x27a1bc,_0x184d70,_0x549ee2){var _0x301c0e=_0x72c010,_0x3640a8,_0x4bbe01,_0x224049,_0x57578a;const _0x2d3c09=[];for(const _0x1538b3 of _0x13d5dd)if(_i[_0x301c0e(0x257)](_0x1538b3['id'])){if(_0x2d3c09[_0x301c0e(0x2f9)]>0x0)break;_0x2d3c09[_0x301c0e(0x41b)](_0x1538b3);break;}else _0x2d3c09[_0x301c0e(0x41b)](_0x1538b3);const _0x349a8e=(_0x4bbe01=(_0x3640a8=_0x549ee2[_0x301c0e(0x161)]())==null?void 0x0:_0x3640a8[_0x301c0e(0x2c4)])!=null?_0x4bbe01:_0x301c0e(0x3df),_0x4b54bc=(_0x57578a=(_0x224049=_0x549ee2[_0x301c0e(0x161)]())==null?void 0x0:_0x224049['memberID'])!=null?_0x57578a:_0x301c0e(0x3df);return{'changeset':{'unitID':_0x58e3df,'type':I['mapDocumentTypeToUniverType'](_0x27a1bc[_0x301c0e(0x3ad)](_0x58e3df)),'baseRev':_0x184d70['getCurrentRevOfUnit'](_0x58e3df),'revision':0x0,'userID':_0x349a8e,'memberID':_0x4b54bc,'mutations':_0x2d3c09},'pendingMutations':_0x13d5dd[_0x301c0e(0x351)](_0x2d3c09[_0x301c0e(0x2f9)])};}function li(_0x4251fc,_0xc0c766,_0x4ae5dc,_0x42a48e,_0x222a61){var _0x254c10=_0x72c010,_0x3e6d84,_0x44dddd,_0x321730,_0x60e79a;const _0x47906d=[_0x4251fc['reduce']((_0x575967,_0x1cd337)=>{var _0x5e8f94=_0x284f,_0x2246a8;const {id:_0x1255eb}=_0x575967,{id:_0x4ba8c3,type:_0x361229}=_0x1cd337,_0x36d386=(_0x2246a8=_0x575967[_0x5e8f94(0x1de)])!=null?_0x2246a8:{'actions':null},_0x26bf1c=_0x1cd337['params'];if(_0x1255eb&&_0x1255eb!==_0x4ba8c3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1255eb+_0x5e8f94(0x1ea)+_0x4ba8c3+'.');return{..._0x575967,'id':_0x4ba8c3,'type':_0x361229,'params':{'unitId':_0x26bf1c[_0x5e8f94(0x2bc)],'textRanges':_0x26bf1c[_0x5e8f94(0x231)],'actions':a['JSONX'][_0x5e8f94(0x447)](_0x36d386[_0x5e8f94(0x1c3)],_0x26bf1c[_0x5e8f94(0x1c3)])}};},{})],_0x10577b=(_0x44dddd=(_0x3e6d84=_0x222a61[_0x254c10(0x161)]())==null?void 0x0:_0x3e6d84[_0x254c10(0x2c4)])!=null?_0x44dddd:_0x254c10(0x3df),_0x32865c=(_0x60e79a=(_0x321730=_0x222a61['getCurrentUser']())==null?void 0x0:_0x321730[_0x254c10(0x276)])!=null?_0x60e79a:_0x254c10(0x3df);return{'changeset':{'unitID':_0xc0c766,'type':I[_0x254c10(0x1ac)](_0x4ae5dc['getUnitType'](_0xc0c766)),'baseRev':_0x42a48e[_0x254c10(0x2b1)](_0xc0c766),'revision':0x0,'userID':_0x10577b,'memberID':_0x32865c,'mutations':_0x47906d},'pendingMutations':[]};}function bt(_0x54195b,_0x27451e){var _0x18dbdd=_0x72c010;const _0x5da84d=new $['ReplaySubject'](0x1);return setTimeout(()=>_0x5da84d[_0x18dbdd(0x1fb)](_0x27451e),_0x54195b),_0x5da84d[_0x18dbdd(0x2df)]()[_0x18dbdd(0x190)]($[_0x18dbdd(0x1d1)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a['CommandType'][_0x72c010(0x1e9)],'params':{}};var di=Object[_0x72c010(0x43c)],ae=(_0x5cc173,_0x2789ae,_0x2c1f7e,_0x3f1a7e)=>{var _0x5b4746=_0x72c010;for(var _0x42408a=_0x3f1a7e>0x1?void 0x0:_0x3f1a7e?di(_0x2789ae,_0x2c1f7e):_0x2789ae,_0x500fbb=_0x5cc173[_0x5b4746(0x2f9)]-0x1,_0xcc88a8;_0x500fbb>=0x0;_0x500fbb--)(_0xcc88a8=_0x5cc173[_0x500fbb])&&(_0x42408a=_0xcc88a8(_0x42408a)||_0x42408a);return _0x42408a;},w=(_0x5121b4,_0x46a001)=>(_0x498b67,_0x4c65bc)=>_0x46a001(_0x498b67,_0x4c65bc,_0x5121b4),Be=(_0x48fc21=>(_0x48fc21[_0x72c010(0x43f)]='not_collab',_0x48fc21[_0x72c010(0x2fa)]=_0x72c010(0x27d),_0x48fc21[_0x72c010(0x338)]=_0x72c010(0x242),_0x48fc21['AWAITING']='awaiting',_0x48fc21['AWAITING_WITH_PENDING']=_0x72c010(0x295),_0x48fc21[_0x72c010(0x197)]='fetch_missing',_0x48fc21[_0x72c010(0x15b)]='conflict',_0x48fc21['OFFLINE']=_0x72c010(0x302),_0x48fc21))(Be||{});const Rt=0xea60;class ce{constructor(_0x11be54,_0x2ae913,_0x582a0f,_0x4e2213,_0x391f34,_0x559c22,_0x16dd2c,_0x393a3d,_0x3ca356){var _0x64b8f4=_0x72c010;A(this,_0x64b8f4(0x21b),null),A(this,'_pendingMutations',[]),(this[_0x64b8f4(0x4af)]=_0x11be54,this[_0x64b8f4(0x37b)]=_0x2ae913,this[_0x64b8f4(0x235)]=_0x391f34,this['_commandService']=_0x559c22,this[_0x64b8f4(0x4b0)]=_0x16dd2c,this[_0x64b8f4(0x2c5)]=_0x393a3d,this[_0x64b8f4(0x329)]=_0x3ca356,this[_0x64b8f4(0x21b)]=_0x582a0f,this[_0x64b8f4(0x367)]=_0x4e2213);}[_0x72c010(0x30b)](_0x2ee254){var _0x4de8ee=_0x72c010;const _0xe9e4fc=this[_0x4de8ee(0x2c5)][_0x4de8ee(0x2b1)](this['unitID']);return _0x2ee254[_0x4de8ee(0x147)]>_0xe9e4fc+0x1?(this[_0x4de8ee(0x235)][_0x4de8ee(0x275)]({'from':_0xe9e4fc,'to':_0x2ee254[_0x4de8ee(0x147)]-0x1}),!0x0):!0x1;}[_0x72c010(0x38d)](_0x1403d9){var _0x477793=_0x72c010;this['_undoRedoService'][_0x477793(0x2db)](this[_0x477793(0x4af)],_0x1403d9);}[_0x72c010(0x27a)](_0x2f0950){var _0x5dcd6b=_0x72c010,_0x253767,_0x15001d;(_0x15001d=(_0x253767=this[_0x5dcd6b(0x235)])[_0x5dcd6b(0x296)])==null||_0x15001d[_0x5dcd6b(0x478)](_0x253767,_0x2f0950);}[_0x72c010(0x39e)](_0x3c1486){var _0x237cd8=_0x72c010,_0x1122f8,_0x3d9336;return(_0x3d9336=(_0x1122f8=this['_handler'])[_0x237cd8(0x40b)])==null?void 0x0:_0x3d9336[_0x237cd8(0x478)](_0x1122f8,_0x3c1486);}[_0x72c010(0x3b8)](_0x4f664c){var _0x167ac4=_0x72c010,_0x526729,_0x5d2a30;return(_0x5d2a30=(_0x526729=this[_0x167ac4(0x235)])['onTransformState'])==null?void 0x0:_0x5d2a30['call'](_0x526729,_0x4f664c);}[_0x72c010(0x2ca)](_0x11f9ee){var _0xd89e13=_0x72c010,_0x567956,_0x4e9ac2,_0x50fbcb;return(_0x50fbcb=(_0x4e9ac2=(_0x567956=this['_handler'])[_0xd89e13(0x17d)])==null?void 0x0:_0x4e9ac2[_0xd89e13(0x478)](_0x567956,_0x11f9ee))!=null?_0x50fbcb:_0x11f9ee;}[_0x72c010(0x40a)](_0x3f2a2e){var _0x4bd888=_0x72c010,_0x207db6,_0x4f01b0,_0x49f1bb;return(_0x49f1bb=(_0x4f01b0=(_0x207db6=this[_0x4bd888(0x235)])[_0x4bd888(0x399)])==null?void 0x0:_0x4f01b0['call'](_0x207db6,_0x3f2a2e))!=null?_0x49f1bb:_0x3f2a2e;}[_0x72c010(0x380)](_0x5c39f2){var _0x2a9a48=_0x72c010,_0x539a2d,_0x27633c;if(this[_0x2a9a48(0x37b)]===J[_0x2a9a48(0x356)]){const {unitID:_0x23bd7d,mutations:_0x3d2b15,memberID:_0x5e04a9}=_0x5c39f2,_0xfd37ad=_0x3d2b15[0x0][_0x2a9a48(0x1de)][_0x2a9a48(0x231)];Array[_0x2a9a48(0x163)](_0xfd37ad)&&_0xfd37ad['length']>0x0&&((_0x27633c=(_0x539a2d=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x27633c[_0x2a9a48(0x478)](_0x539a2d,{'unitID':_0x23bd7d,'memberID':_0x5e04a9,'textRanges':_0xfd37ad}));}}['_updateLocalCache'](){var _0x385ab7=_0x72c010,_0x2c9649;(_0x2c9649=this[_0x385ab7(0x329)])==null||_0x2c9649[_0x385ab7(0x3fe)](this['unitID'],this[_0x385ab7(0x37b)],this[_0x385ab7(0x21b)],this[_0x385ab7(0x367)]);}[_0x72c010(0x381)](){var _0x59ed2f=_0x72c010;return this['_revisionService'][_0x59ed2f(0x2b1)](this[_0x59ed2f(0x4af)]);}['_incrementRevisionNumber'](){var _0x2afa8f=_0x72c010;this[_0x2afa8f(0x2c5)][_0x2afa8f(0x430)](this['unitID']);}[_0x72c010(0x41c)](_0x18ab3f){var _0x3313ea=_0x72c010,_0x2a1e78;let _0x53a0cb=this[_0x3313ea(0x2ca)](_0x18ab3f);_0x53a0cb=this[_0x3313ea(0x40a)](_0x53a0cb);const _0x19f2ec=a['sequenceExecute'](_0x53a0cb[_0x3313ea(0x2e2)],this['_commandService'],{'fromCollab':!0x0});if(!_0x19f2ec[_0x3313ea(0x243)])throw _0x19f2ec[_0x3313ea(0x2e5)]instanceof Error?_0x19f2ec[_0x3313ea(0x2e5)]:new Error((_0x2a1e78=_0x19f2ec['error'])!=null?_0x2a1e78:_0x3313ea(0x444));this[_0x3313ea(0x39e)](_0x53a0cb),this[_0x3313ea(0x3b8)](_0x53a0cb),this['_transformUndoredo'](_0x18ab3f),this[_0x3313ea(0x27a)](_0x53a0cb),this[_0x3313ea(0x380)](_0x53a0cb),this[_0x3313ea(0x36b)]();}}exports[_0x72c010(0x3a1)]=class extends ce{constructor(_0x3b2ec4,_0x3ec2fb,_0x4ba124,_0x2811da,_0x43b7a3,_0x484b8d,_0x37f3de,_0x5eea5d,_0x23aa05,_0x3c488b){var _0x545ba2=_0x72c010;super(_0x3b2ec4,_0x3ec2fb,null,[],_0x4ba124,_0x37f3de,_0x484b8d,_0x2811da,_0x3c488b),A(this,_0x545ba2(0x383),_0x545ba2(0x27d)),(this[_0x545ba2(0x39f)]=_0x43b7a3,this['_logService']=_0x5eea5d,this['_transformService']=_0x23aa05,this['localCacheService']=_0x3c488b);}[_0x72c010(0x2e4)](_0x2d4ec1){var _0x5a1877=_0x72c010;const _0x31d34a=this[_0x5a1877(0x39f)][_0x5a1877(0x357)](exports['PendingState'],this[_0x5a1877(0x4af)],this[_0x5a1877(0x37b)],[_0x2d4ec1],this['_handler']);return _0x31d34a[_0x5a1877(0x259)](),_0x31d34a[_0x5a1877(0x341)](),_0x31d34a;}[_0x72c010(0x1e7)](_0x5f5c41){var _0x4c269b=_0x72c010;if(this[_0x4c269b(0x30b)](_0x5f5c41))return this[_0x4c269b(0x39f)][_0x4c269b(0x357)](exports[_0x4c269b(0x1b3)],this['unitID'],this['type'],null,[],null,[_0x5f5c41],this['_handler']);try{const _0x1ae410=this[_0x4c269b(0x253)][_0x4c269b(0x2f0)](_0x5f5c41,[ui]);if(I[_0x4c269b(0x43a)](_0x1ae410)){const {c1Prime:_0x2e2939}=_0x1ae410;return this['_executeRemoteChangeset'](_0x2e2939),this;}throw _0x1ae410['error'];}catch(_0x40389c){return this[_0x4c269b(0x452)][_0x4c269b(0x2e5)](_0x40389c),this[_0x4c269b(0x1b7)](!0x1);}}[_0x72c010(0x1b7)](_0x1525aa){var _0x3cdd50=_0x72c010;return this['_injector']['createInstance'](exports['ConflictState'],this[_0x3cdd50(0x4af)],this[_0x3cdd50(0x37b)],null,[],this[_0x3cdd50(0x235)],_0x1525aa);}['onRemoteAck'](){var _0xd0e854=_0x72c010;throw new Error(_0xd0e854(0x2bb));}[_0x72c010(0x3f2)](){var _0x1e5a3d=_0x72c010;throw new Error(_0x1e5a3d(0x22d));}['onRemoteRetry'](){return this;}[_0x72c010(0x2d6)](){var _0x22503d=_0x72c010;return this['_injector'][_0x22503d(0x357)](exports[_0x22503d(0x1dc)],this[_0x22503d(0x4af)],this[_0x22503d(0x37b)],null,[],this[_0x22503d(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x20c)](){var _0x3737b6=_0x72c010;throw new Error(_0x3737b6(0x28b));}[_0x72c010(0x2ac)](){var _0x585062=_0x72c010;const _0x2b84e2=this[_0x585062(0x2c5)][_0x585062(0x2b1)](this['unitID']);return this[_0x585062(0x235)]['onMissingChangesets']({'from':_0x2b84e2,'to':0x0}),this[_0x585062(0x39f)]['createInstance'](exports['FetchingMissState'],this[_0x585062(0x4af)],this[_0x585062(0x37b)],null,[],null,[],this[_0x585062(0x235)]);}},exports['SyncedState']=ae([w(0x3,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),w(0x4,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x72c010(0x287)]),w(0x7,a[_0x72c010(0x36f)]),w(0x8,I[_0x72c010(0x170)]),w(0x9,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x3a1)]),exports[_0x72c010(0x3d8)]=class extends ce{constructor(_0x1bca5a,_0x1de2db,_0x1a6338,_0x35593b,_0x571ca3,_0x22e7b7,_0x5e0bb,_0x4530ab,_0x1196db,_0x3edc06,_0x29e961,_0x1f73d5,_0xce479b,_0x1f5c6d){var _0x46b678=_0x72c010;super(_0x1bca5a,_0x1de2db,null,_0x1a6338,_0x35593b,_0x1196db,_0xce479b,_0x22e7b7,_0x1f5c6d),A(this,_0x46b678(0x383),_0x46b678(0x242)),A(this,_0x46b678(0x152),null),A(this,_0x46b678(0x202),null),(this['_injector']=_0x571ca3,this['_memberService']=_0x5e0bb,this[_0x46b678(0x452)]=_0x4530ab,this[_0x46b678(0x23d)]=_0x3edc06,this[_0x46b678(0x253)]=_0x29e961,this[_0x46b678(0x286)]=_0x1f73d5);}[_0x72c010(0x2e4)](_0x4a803c){var _0x2f2cfc=_0x72c010;return this[_0x2f2cfc(0x367)][_0x2f2cfc(0x41b)](_0x4a803c),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2e53e6){var _0x2077a4=_0x72c010;if(this['_checkMissing'](_0x2e53e6))return this[_0x2077a4(0x36c)](),this[_0x2077a4(0x39f)][_0x2077a4(0x357)](exports[_0x2077a4(0x1b3)],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x2e53e6],this['_handler']);try{const _0x53e3fa=this[_0x2077a4(0x253)]['transformMutationsWithChangeset'](_0x2e53e6,this[_0x2077a4(0x367)]);if(I[_0x2077a4(0x43a)](_0x53e3fa)){const {c1Prime:_0x6c0a1,m2Prime:_0x174bdc}=_0x53e3fa;this[_0x2077a4(0x41c)](_0x6c0a1);const _0x5ece28=this['_injector'][_0x2077a4(0x357)](exports['PendingState'],this[_0x2077a4(0x4af)],this['type'],_0x174bdc,this[_0x2077a4(0x235)]);this[_0x2077a4(0x36c)]();const _0x552bf6=new Date()[_0x2077a4(0x19e)](),_0x4d3c43=this[_0x2077a4(0x152)]?Math[_0x2077a4(0x25c)](this[_0x2077a4(0x152)]-_0x552bf6,0x0):this[_0x2077a4(0x156)]();return _0x5ece28[_0x2077a4(0x259)](_0x4d3c43),_0x5ece28;}throw _0x53e3fa[_0x2077a4(0x2e5)];}catch(_0x357a8a){return this['_logService']['error'](_0x357a8a),this[_0x2077a4(0x1b7)](!0x1);}}[_0x72c010(0x2b5)](){var _0xa12924=_0x72c010;throw new Error(_0xa12924(0x232));}[_0x72c010(0x3f2)](){var _0x56a0e5=_0x72c010;throw new Error(_0x56a0e5(0x458));}['onRemoteRetry'](){return this;}[_0x72c010(0x2d6)](){var _0x1aec94=_0x72c010;return this[_0x1aec94(0x36c)](),this['_injector'][_0x1aec94(0x357)](exports[_0x1aec94(0x1dc)],this[_0x1aec94(0x4af)],this[_0x1aec94(0x37b)],null,this[_0x1aec94(0x367)],this[_0x1aec94(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x259)](_0x244b01){var _0x2c2937=_0x72c010;const _0x45b713=_0x244b01!=null?_0x244b01:this[_0x2c2937(0x156)]();this['_scheduleCompleteTimestamp']=new Date()[_0x2c2937(0x19e)]()+_0x45b713,this['_sendingTimer']=setTimeout(()=>{var _0x5d4856=_0x2c2937;this[_0x5d4856(0x36c)]();let _0x3678a1=null;switch(this[_0x5d4856(0x37b)]){case J['UNIVER_SHEET']:{_0x3678a1=Ke(this['_pendingMutations'],this[_0x5d4856(0x4af)],this['_univerInstanceService'],this[_0x5d4856(0x2c5)],this[_0x5d4856(0x1be)]);break;}case J[_0x5d4856(0x356)]:{this['_pendingMutations']['every'](_0x267ddf=>_0x267ddf['id']===ht[_0x5d4856(0x35b)]['id'])?_0x3678a1=li(this['_pendingMutations'],this[_0x5d4856(0x4af)],this[_0x5d4856(0x286)],this['_revisionService'],this[_0x5d4856(0x1be)]):_0x3678a1=Ke(this[_0x5d4856(0x367)],this['unitID'],this['_univerInstanceService'],this[_0x5d4856(0x2c5)],this['_memberService']);break;}default:throw new Error(_0x5d4856(0x3d2)+this[_0x5d4856(0x37b)]+_0x5d4856(0x448));}const {changeset:_0x13edb2,pendingMutations:_0x5b2c69}=_0x3678a1;this[_0x5d4856(0x235)]['onSendChangeset'](_0x13edb2);const _0x5f2fa4=_0x5b2c69[_0x5d4856(0x2f9)]?this[_0x5d4856(0x39f)][_0x5d4856(0x357)](exports[_0x5d4856(0x227)],this[_0x5d4856(0x4af)],this[_0x5d4856(0x37b)],_0x13edb2,_0x5b2c69,this[_0x5d4856(0x235)],void 0x0):this['_injector'][_0x5d4856(0x357)](exports[_0x5d4856(0x37d)],this[_0x5d4856(0x4af)],this[_0x5d4856(0x37b)],_0x13edb2,this[_0x5d4856(0x235)]);_0x5f2fa4[_0x5d4856(0x341)](),this[_0x5d4856(0x235)][_0x5d4856(0x1cf)](this,_0x5f2fa4);},_0x45b713);}[_0x72c010(0x156)](){var _0x5b8f38=_0x72c010,_0x464e28;const _0x233490=this[_0x5b8f38(0x23d)][_0x5b8f38(0x282)](K);return(_0x464e28=_0x233490==null?void 0x0:_0x233490['sendChangesetTimeout'])!=null?_0x464e28:xt;}[_0x72c010(0x20c)](){var _0x3e4941=_0x72c010;throw new Error(_0x3e4941(0x2d9));}[_0x72c010(0x36c)](){var _0x3c545a=_0x72c010;this[_0x3c545a(0x202)]!=null&&(clearTimeout(this[_0x3c545a(0x202)]),this[_0x3c545a(0x202)]=null);}['_onConflict'](_0x3726d1){var _0x4c0dcf=_0x72c010;return this[_0x4c0dcf(0x36c)](),this[_0x4c0dcf(0x39f)]['createInstance'](exports['ConflictState'],this[_0x4c0dcf(0x4af)],this['type'],null,this[_0x4c0dcf(0x367)],this[_0x4c0dcf(0x235)],_0x3726d1);}},exports[_0x72c010(0x3d8)]=ae([w(0x4,a['Inject'](a[_0x72c010(0x15c)])),w(0x5,a['Inject'](I[_0x72c010(0x308)])),w(0x6,a[_0x72c010(0x21f)](exports[_0x72c010(0x29b)])),w(0x7,a[_0x72c010(0x36f)]),w(0x8,a[_0x72c010(0x287)]),w(0x9,a['IConfigService']),w(0xa,I[_0x72c010(0x170)]),w(0xb,a[_0x72c010(0x37f)]),w(0xc,a[_0x72c010(0x34c)]),w(0xd,a[_0x72c010(0x3a8)](q))],exports['PendingState']),exports[_0x72c010(0x37d)]=class extends ce{constructor(_0x2c82c1,_0x4c0f6f,_0xbe822,_0x2ba9a8,_0x2b48f7,_0x1e00a9,_0x36dd95,_0x8ace23,_0x4fdd48,_0x3387f,_0x3dba9b){var _0x1c5467=_0x72c010;super(_0x2c82c1,_0x4c0f6f,_0xbe822,[],_0x2ba9a8,_0x36dd95,_0x3387f,_0x1e00a9,_0x3dba9b),A(this,_0x1c5467(0x383),'awaiting'),A(this,_0x1c5467(0x48d),0x0),A(this,_0x1c5467(0x175)),A(this,_0x1c5467(0x3f9)),(this[_0x1c5467(0x39f)]=_0x2b48f7,this[_0x1c5467(0x452)]=_0x8ace23,this[_0x1c5467(0x253)]=_0x4fdd48);}[_0x72c010(0x2e4)](_0xc715d6){var _0x2c0ceb=_0x72c010;this[_0x2c0ceb(0x36c)]();const _0x1d2cbb=this[_0x2c0ceb(0x39f)][_0x2c0ceb(0x357)](exports[_0x2c0ceb(0x227)],this[_0x2c0ceb(0x4af)],this['type'],this['_awaitingChangeset'],[_0xc715d6],this[_0x2c0ceb(0x235)],this[_0x2c0ceb(0x175)]);return _0x1d2cbb[_0x2c0ceb(0x341)](),_0x1d2cbb;}[_0x72c010(0x1e7)](_0x38a52a){var _0x40d267=_0x72c010;if(this['_checkMissing'](_0x38a52a))return this[_0x40d267(0x36c)](),this[_0x40d267(0x39f)][_0x40d267(0x357)](exports[_0x40d267(0x1b3)],this['unitID'],this[_0x40d267(0x37b)],this[_0x40d267(0x21b)],[],null,[_0x38a52a],this[_0x40d267(0x235)]);try{const _0xa5319=this[_0x40d267(0x253)]['transformChangesets']([_0x38a52a],[this[_0x40d267(0x21b)]],!0x1);if(I[_0x40d267(0x216)](_0xa5319)){const {c1Prime:_0x376de3,c2Prime:_0x584250}=_0xa5319;this[_0x40d267(0x41c)](_0x376de3[0x0]),_0x584250[0x0][_0x40d267(0x1c2)]=this['_getCurrentRevision'](),this[_0x40d267(0x36c)]();const _0x27b761=this[_0x40d267(0x39f)]['createInstance'](exports['AwaitingState'],this[_0x40d267(0x4af)],this[_0x40d267(0x37b)],_0x584250[0x0],this[_0x40d267(0x235)]);return _0x27b761[_0x40d267(0x341)](),_0x27b761;}return this[_0x40d267(0x1b7)](!0x1);}catch(_0x3272ab){return this[_0x40d267(0x452)][_0x40d267(0x2e5)](_0x3272ab),this[_0x40d267(0x1b7)](!0x1);}}[_0x72c010(0x2b5)](_0x2e6e30){var _0x52193a=_0x72c010;this[_0x52193a(0x36c)]();const _0x5ba53b=this[_0x52193a(0x2c5)][_0x52193a(0x2b1)](this[_0x52193a(0x4af)]);if(_0x2e6e30[_0x52193a(0x147)]<_0x5ba53b-0x1)return this;if(this[_0x52193a(0x30b)](_0x2e6e30))return this[_0x52193a(0x39f)][_0x52193a(0x357)](exports[_0x52193a(0x1b3)],this[_0x52193a(0x4af)],this['type'],null,[],this[_0x52193a(0x21b)],[],this['_handler']);this[_0x52193a(0x36b)]();const _0x4d4c1a=this['_injector'][_0x52193a(0x357)](exports[_0x52193a(0x3a1)],this[_0x52193a(0x4af)],this[_0x52193a(0x37b)],this[_0x52193a(0x235)]);return _0x4d4c1a[_0x52193a(0x341)](),_0x4d4c1a;}['onRemoteRej'](_0x3f73e4){var _0x4b6130=_0x72c010;return this[_0x4b6130(0x1b7)](!!(_0x3f73e4!=null&&_0x3f73e4[_0x4b6130(0x277)]));}[_0x72c010(0x4a4)](_0x3dd2ba){var _0x4c031d=_0x72c010;return this[_0x4c031d(0x48d)]>Rt?this['toggleOffline']():(this['_resendTimer']=bt(this[_0x4c031d(0x48d)],{'timeout':this[_0x4c031d(0x48d)],'reqId':_0x3dd2ba['reqId']}),this[_0x4c031d(0x3f9)]=this[_0x4c031d(0x175)][_0x4c031d(0x184)](({reqId:_0x24f00f,timeout:_0x1e6c71})=>{var _0x2c7875=_0x4c031d;this[_0x2c7875(0x2dd)](_0x24f00f,_0x1e6c71);}),this);}[_0x72c010(0x2d6)](){var _0xb1398a=_0x72c010;return this[_0xb1398a(0x36c)](),this[_0xb1398a(0x39f)][_0xb1398a(0x357)](exports[_0xb1398a(0x1dc)],this[_0xb1398a(0x4af)],this[_0xb1398a(0x37b)],this['_awaitingChangeset'],[],this[_0xb1398a(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x20c)](){var _0x15b87d=_0x72c010;this[_0x15b87d(0x235)][_0x15b87d(0x18d)](this[_0x15b87d(0x21b)]);}[_0x72c010(0x1b7)](_0x5d4eda){var _0x2b1050=_0x72c010;return this[_0x2b1050(0x36c)](),this[_0x2b1050(0x39f)][_0x2b1050(0x357)](exports['ConflictState'],this[_0x2b1050(0x4af)],this['type'],this[_0x2b1050(0x21b)],[],this[_0x2b1050(0x235)],_0x5d4eda);}[_0x72c010(0x2dd)](_0x435acb,_0xe4dbb6){var _0x469442=_0x72c010,_0x5a60cb;_0x435acb===((_0x5a60cb=this[_0x469442(0x21b)])==null?void 0x0:_0x5a60cb['reqId'])&&(this[_0x469442(0x20c)](),this[_0x469442(0x48d)]=_0xe4dbb6===0x0?0x3e8:_0xe4dbb6*0x2);}[_0x72c010(0x36c)](){var _0x2434fe=_0x72c010,_0xa00f03;(_0xa00f03=this[_0x2434fe(0x3f9)])==null||_0xa00f03[_0x2434fe(0x23b)](),this['_resendTimeout']=0x0;}},exports[_0x72c010(0x37d)]=ae([w(0x4,a[_0x72c010(0x21f)](a['Injector'])),w(0x5,a['Inject'](I['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,I[_0x72c010(0x170)]),w(0x9,a[_0x72c010(0x34c)]),w(0xa,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x37d)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x4bb14c,_0x54429b,_0x5b8163,_0x39863d,_0x1f6fae,_0x44e230,_0x3bc18e,_0x310436,_0x2ca576,_0x1cab2f,_0x51c4f8,_0x8e5b3f,_0x5d6621){var _0x33ed22=_0x72c010;super(_0x4bb14c,_0x54429b,_0x5b8163,_0x39863d,_0x1f6fae,_0x2ca576,_0x8e5b3f,_0x310436,_0x5d6621),A(this,_0x33ed22(0x383),_0x33ed22(0x295)),A(this,_0x33ed22(0x48d),0x0),A(this,_0x33ed22(0x175)),A(this,'_sender'),(this['_injector']=_0x3bc18e,this[_0x33ed22(0x452)]=_0x1cab2f,this['_transformService']=_0x51c4f8,this[_0x33ed22(0x4a0)]=_0x5d6621,_0x44e230&&(this[_0x33ed22(0x175)]=_0x44e230,this[_0x33ed22(0x3f9)]=this[_0x33ed22(0x175)][_0x33ed22(0x184)](({reqId:_0x3c31f0,timeout:_0x4ac4bd})=>{var _0x2db7e1=_0x33ed22;this[_0x2db7e1(0x2dd)](_0x3c31f0,_0x4ac4bd);})));}[_0x72c010(0x2e4)](_0x1a46ef){return this['_pendingMutations']['push'](_0x1a46ef),this;}[_0x72c010(0x1e7)](_0x36235b){var _0x859bda=_0x72c010;if(this[_0x859bda(0x30b)](_0x36235b))return this[_0x859bda(0x36c)](),this[_0x859bda(0x39f)][_0x859bda(0x357)](exports[_0x859bda(0x1b3)],this[_0x859bda(0x4af)],this[_0x859bda(0x37b)],this[_0x859bda(0x21b)],this[_0x859bda(0x367)],null,[_0x36235b],this['_handler']);try{const _0x196010=this['_transformService']['transformChangesets']([_0x36235b],[this[_0x859bda(0x21b)]],!0x1);if(I[_0x859bda(0x216)](_0x196010)){const {c1Prime:_0xa2c82d,c2Prime:_0x27a481}=_0x196010,_0x7bec7c=this[_0x859bda(0x253)]['transformMutationsWithChangeset'](_0xa2c82d[0x0],this[_0x859bda(0x367)]);if(I[_0x859bda(0x43a)](_0x7bec7c)){const {c1Prime:_0x4af09b,m2Prime:_0x3b7d9e}=_0x7bec7c;return this[_0x859bda(0x41c)](_0x4af09b),_0x27a481[0x0][_0x859bda(0x1c2)]=this['_getCurrentRevision'](),this[_0x859bda(0x36c)](),this['_injector'][_0x859bda(0x357)](exports[_0x859bda(0x227)],this['unitID'],this[_0x859bda(0x37b)],_0x27a481[0x0],_0x3b7d9e,this['_handler'],void 0x0);}throw _0x7bec7c['error'];}throw _0x196010[_0x859bda(0x2e5)];}catch(_0x7ac6da){return this[_0x859bda(0x452)][_0x859bda(0x2e5)](_0x7ac6da),this[_0x859bda(0x1b7)](!0x1);}}[_0x72c010(0x2b5)](_0x5a7304){var _0xef63b1=_0x72c010;if(this[_0xef63b1(0x36c)](),this[_0xef63b1(0x30b)](_0x5a7304))return this[_0xef63b1(0x39f)][_0xef63b1(0x357)](exports[_0xef63b1(0x1b3)],this[_0xef63b1(0x4af)],this[_0xef63b1(0x37b)],null,this[_0xef63b1(0x367)],this[_0xef63b1(0x21b)],[],this[_0xef63b1(0x235)]);this[_0xef63b1(0x36b)]();const _0x46c62b=this[_0xef63b1(0x39f)][_0xef63b1(0x357)](exports[_0xef63b1(0x3d8)],this['unitID'],this[_0xef63b1(0x37b)],this['_pendingMutations'],this[_0xef63b1(0x235)]);return _0x46c62b[_0xef63b1(0x259)](),_0x46c62b[_0xef63b1(0x341)](),_0x46c62b;}[_0x72c010(0x3f2)](_0x3c57be){var _0x527ff2=_0x72c010;return this[_0x527ff2(0x1b7)](!!(_0x3c57be!=null&&_0x3c57be[_0x527ff2(0x277)]));}[_0x72c010(0x4a4)](_0x23bbae){var _0x51a526=_0x72c010;return this[_0x51a526(0x48d)]>Rt?this[_0x51a526(0x2d6)]():(this[_0x51a526(0x175)]=bt(this[_0x51a526(0x48d)],{'timeout':this[_0x51a526(0x48d)],'reqId':_0x23bbae[_0x51a526(0x1d5)]}),this[_0x51a526(0x3f9)]=this[_0x51a526(0x175)]['subscribe'](({reqId:_0x7a16ff,timeout:_0x29537f})=>{var _0x446c26=_0x51a526;this[_0x446c26(0x2dd)](_0x7a16ff,_0x29537f);}),this);}[_0x72c010(0x2d6)](){var _0x190496=_0x72c010;return this[_0x190496(0x36c)](),this['_injector'][_0x190496(0x357)](exports[_0x190496(0x1dc)],this[_0x190496(0x4af)],this[_0x190496(0x37b)],this[_0x190496(0x21b)],this[_0x190496(0x367)],this[_0x190496(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x20c)](){var _0x246d9c=_0x72c010;this[_0x246d9c(0x235)][_0x246d9c(0x18d)](this[_0x246d9c(0x21b)]);}['_onConflict'](_0x31c8cf){var _0xb51b75=_0x72c010;return this['_clearScheduledTask'](),this['_injector'][_0xb51b75(0x357)](exports[_0xb51b75(0x48b)],this[_0xb51b75(0x4af)],this['type'],null,this[_0xb51b75(0x367)],this['_handler'],_0x31c8cf);}[_0x72c010(0x2dd)](_0x44fd7b,_0x53443f){var _0x1a505d=_0x72c010,_0x55aace;_0x44fd7b===((_0x55aace=this['_awaitingChangeset'])==null?void 0x0:_0x55aace[_0x1a505d(0x1d5)])&&(this[_0x1a505d(0x20c)](),this[_0x1a505d(0x48d)]=_0x53443f===0x0?0x3e8:_0x53443f*0x2);}[_0x72c010(0x36c)](){var _0x1d46f8=_0x72c010,_0x390f6e;(_0x390f6e=this['_sender'])==null||_0x390f6e[_0x1d46f8(0x23b)](),this[_0x1d46f8(0x48d)]=0x0;}},exports[_0x72c010(0x227)]=ae([w(0x6,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x7,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),w(0x8,a[_0x72c010(0x287)]),w(0x9,a[_0x72c010(0x36f)]),w(0xa,I[_0x72c010(0x170)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x72c010(0x3a8)](q))],exports['AwaitingWithPendingState']),exports[_0x72c010(0x48b)]=class extends ce{constructor(_0x4f3567,_0x28bb2a,_0x38cca3,_0x52e30f,_0x4ea0b1,_0x2d8c49=!0x1,_0x5234b5,_0x4fb0cd,_0x9b3b71,_0x37729d,_0x38f21e,_0x1a23cd,_0x46ede2){var _0x19f547=_0x72c010;super(_0x4f3567,_0x28bb2a,_0x38cca3,_0x52e30f,_0x4ea0b1,_0x4fb0cd,_0x9b3b71,_0x37729d,_0x46ede2),A(this,_0x19f547(0x383),'conflict'),(this[_0x19f547(0x2de)]=_0x2d8c49,this['_permissionService']=_0x5234b5,this[_0x19f547(0x1f2)]=_0x38f21e,this['_collaborationUIEventService']=_0x1a23cd,this['localCacheService']=_0x46ede2,this[_0x19f547(0x403)](),this[_0x19f547(0x2a2)](),this[_0x19f547(0x2a1)]());}[_0x72c010(0x2e4)](){return this;}[_0x72c010(0x1e7)](){return this;}[_0x72c010(0x2b5)](){return this;}[_0x72c010(0x3f2)](){return this;}[_0x72c010(0x4a4)](){return this;}[_0x72c010(0x2d6)](){return this;}['toggleOnline'](){return this;}[_0x72c010(0x20c)](){var _0xe44525=_0x72c010;throw new Error(_0xe44525(0x1c8));}[_0x72c010(0x2a2)](){var _0x324f10=_0x72c010,_0x35cdbb;(_0x35cdbb=this[_0x324f10(0x329)])==null||_0x35cdbb[_0x324f10(0x3fe)](this[_0x324f10(0x4af)],this['type'],null,[]);}[_0x72c010(0x403)](){var _0x4373a7=_0x72c010;this[_0x4373a7(0x2de)]?this[_0x4373a7(0x2b9)]['emitEvent']({'id':Z[_0x4373a7(0x26d)]}):this[_0x4373a7(0x2b9)]['emitEvent']({'id':Z[_0x4373a7(0x15b)]});}[_0x72c010(0x2a1)](){var _0x25be52=_0x72c010;this[_0x25be52(0x328)]['updatePermissionPoint'](new X[(_0x25be52(0x1eb))](this['unitID'])['id'],!0x1);}},exports[_0x72c010(0x48b)]=ae([w(0x6,a[_0x72c010(0x21f)](a[_0x72c010(0x3c4)])),w(0x7,a['ICommandService']),w(0x8,a[_0x72c010(0x34c)]),w(0x9,a['Inject'](I[_0x72c010(0x308)])),w(0xa,a[_0x72c010(0x21f)](a['LocaleService'])),w(0xb,a[_0x72c010(0x21f)](ee)),w(0xc,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x48b)]),exports[_0x72c010(0x1dc)]=class extends ce{constructor(_0x27e84b,_0x50df19,_0xac9bf6,_0x29bb77,_0x5723fd,_0x590282,_0x14ef60,_0x1c0051,_0x14e2aa,_0x34443f){var _0x2eeece=_0x72c010;super(_0x27e84b,_0x50df19,_0xac9bf6,_0x29bb77,_0x5723fd,_0x1c0051,_0x14e2aa,_0x14ef60,_0x34443f),A(this,_0x2eeece(0x383),'offline'),this['_injector']=_0x590282;}[_0x72c010(0x2e4)](_0x350e10){var _0x5bb6e4=_0x72c010;return this[_0x5bb6e4(0x367)]['push'](_0x350e10),this[_0x5bb6e4(0x341)](),this;}[_0x72c010(0x1e7)](_0x5c6721){var _0x117e06=_0x72c010;throw new Error(_0x117e06(0x493));}['onRemoteAck'](){var _0x434942=_0x72c010;throw new Error(_0x434942(0x1d8));}[_0x72c010(0x3f2)](){var _0x2cb5ed=_0x72c010;throw new Error(_0x2cb5ed(0x21d));}[_0x72c010(0x4a4)](){return this;}[_0x72c010(0x2d6)](){return this;}[_0x72c010(0x180)](){var _0x30ed8b=_0x72c010;const {_injector:_0x5d250b,_pendingMutations:_0x229bad,_awaitingChangeset:_0x2362b,unitID:_0x5035de,_handler:_0x338fa1,type:_0x1b782d}=this,_0x40bd60=Ot(_0x5d250b,_0x5035de,_0x1b782d,_0x2362b,_0x229bad,_0x338fa1);return _0x40bd60 instanceof exports[_0x30ed8b(0x3d8)]?_0x40bd60['_schedule']():(_0x40bd60 instanceof exports[_0x30ed8b(0x227)]||_0x40bd60 instanceof exports[_0x30ed8b(0x37d)])&&_0x40bd60['resend'](),_0x40bd60;}[_0x72c010(0x20c)](){var _0x1f7623=_0x72c010;throw new Error(_0x1f7623(0x3b6));}},exports[_0x72c010(0x1dc)]=ae([w(0x5,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x6,a['Inject'](I[_0x72c010(0x308)])),w(0x7,a[_0x72c010(0x287)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x1dc)]),exports[_0x72c010(0x1b3)]=class extends ce{constructor(_0x2c1974,_0x31b676,_0xaf92c3,_0x56dda9,_0x1346b6,_0x21e833,_0x502663,_0x5ab999,_0x5bd19f,_0x409111,_0x39fdd1,_0x22027f,_0x2d93f9,_0x3064ec){var _0x4408f9=_0x72c010;super(_0x2c1974,_0x31b676,_0xaf92c3,_0x56dda9,_0x502663,_0x39fdd1,_0x22027f,_0x5bd19f,_0x3064ec),A(this,_0x4408f9(0x383),_0x4408f9(0x342)),(this[_0x4408f9(0x366)]=_0x1346b6,this['_queuedRemoteChangesets']=_0x21e833,this[_0x4408f9(0x39f)]=_0x5ab999,this[_0x4408f9(0x452)]=_0x409111,this[_0x4408f9(0x253)]=_0x2d93f9,this[_0x4408f9(0x4a0)]=_0x3064ec);}[_0x72c010(0x442)](_0x5573c3){var _0x53835f=_0x72c010;try{const _0x4614d5=[..._0x5573c3,...this[_0x53835f(0x484)]],_0x3e51a5=[this[_0x53835f(0x21b)]||this[_0x53835f(0x366)]]['filter'](_0x3555ee=>!!_0x3555ee);let _0x1f34e5,_0xf1ccd7;if(_0x3e51a5[_0x53835f(0x2f9)]){const _0x1c417d=this['_transformService'][_0x53835f(0x3fa)](_0x4614d5,_0x3e51a5,!0x1);if(!I[_0x53835f(0x216)](_0x1c417d))throw _0x1c417d[_0x53835f(0x2e5)];_0x1f34e5=_0x1c417d[_0x53835f(0x2af)],_0xf1ccd7=_0x1c417d[_0x53835f(0x3b3)];}else _0x1f34e5=_0x4614d5,_0xf1ccd7=[];let _0x1fdf54=this[_0x53835f(0x367)];_0x1f34e5['forEach'](_0x22d093=>{var _0x48e76a=_0x53835f;let _0xa9c5f7;if(_0x1fdf54[_0x48e76a(0x2f9)]){const _0x3edb38=this[_0x48e76a(0x253)][_0x48e76a(0x2f0)](_0x22d093,_0x1fdf54);if(!I['isTransformMutationsWithChangesetSuccess'](_0x3edb38))throw _0x3edb38['error'];_0xa9c5f7=_0x3edb38[_0x48e76a(0x2af)],_0x1fdf54=_0x3edb38[_0x48e76a(0x4a6)];}else _0xa9c5f7=_0x22d093;this['_executeRemoteChangeset'](_0xa9c5f7);}),this[_0x53835f(0x366)]&&this[_0x53835f(0x36b)](),this[_0x53835f(0x21b)]&&_0xf1ccd7[_0x53835f(0x2f9)]&&(_0xf1ccd7[0x0][_0x53835f(0x1c2)]=this[_0x53835f(0x381)]());let _0x2bdaa2;if(this[_0x53835f(0x21b)]&&_0x1fdf54[_0x53835f(0x2f9)]!==0x0)_0x2bdaa2=this['_injector'][_0x53835f(0x357)](exports['AwaitingWithPendingState'],this[_0x53835f(0x4af)],this['type'],_0xf1ccd7[0x0],_0x1fdf54,this[_0x53835f(0x235)],void 0x0);else{if(this[_0x53835f(0x21b)]&&_0x1fdf54[_0x53835f(0x2f9)]===0x0)_0xf1ccd7[0x0][_0x53835f(0x1c2)]=this[_0x53835f(0x381)](),_0x2bdaa2=this['_injector'][_0x53835f(0x357)](exports[_0x53835f(0x37d)],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],_0xf1ccd7[0x0],this[_0x53835f(0x235)]);else{if(_0x1fdf54[_0x53835f(0x2f9)]!==0x0){const _0xd0e359=this[_0x53835f(0x39f)]['createInstance'](exports[_0x53835f(0x3d8)],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],_0x1fdf54,this['_handler']);_0xd0e359[_0x53835f(0x259)](),_0x2bdaa2=_0xd0e359;}else _0x2bdaa2=this[_0x53835f(0x39f)]['createInstance'](exports['SyncedState'],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],this[_0x53835f(0x235)]);}}return _0x2bdaa2['_updateLocalCache'](),_0x2bdaa2;}catch(_0x1e95e7){return this[_0x53835f(0x452)][_0x53835f(0x2e5)](_0x53835f(0x339),_0x53835f(0x457),_0x1e95e7),this[_0x53835f(0x39f)][_0x53835f(0x357)](exports[_0x53835f(0x48b)],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],this[_0x53835f(0x21b)],this[_0x53835f(0x367)],this['_handler'],!0x1);}}[_0x72c010(0x20c)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x72c010(0x2e4)](_0x9e9f8a){var _0x1afff7=_0x72c010;return this[_0x1afff7(0x367)]['push'](_0x9e9f8a),this;}[_0x72c010(0x1e7)](_0x21ae35){var _0x424e82=_0x72c010;return this[_0x424e82(0x484)]['push'](_0x21ae35),this;}['onRemoteAck'](_0x7527c2){var _0x3cf4ae=_0x72c010;if(this[_0x3cf4ae(0x21b)])return this[_0x3cf4ae(0x366)]=this[_0x3cf4ae(0x21b)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x72c010(0x3f2)](_0x19a1d8){var _0x5a34be=_0x72c010;return this['_onConflict'](!!(_0x19a1d8!=null&&_0x19a1d8[_0x5a34be(0x277)]));}['onRemoteRetry'](){return this;}[_0x72c010(0x2d6)](){var _0x74aa76=_0x72c010;return this[_0x74aa76(0x39f)]['createInstance'](exports['OfflineState'],this[_0x74aa76(0x4af)],this[_0x74aa76(0x37b)],this[_0x74aa76(0x21b)],this[_0x74aa76(0x367)],this[_0x74aa76(0x235)]);}[_0x72c010(0x180)](){return this;}['_onConflict'](_0x19a895){var _0x527587=_0x72c010;return this[_0x527587(0x39f)][_0x527587(0x357)](exports[_0x527587(0x48b)],this[_0x527587(0x4af)],this[_0x527587(0x37b)],this[_0x527587(0x21b)],this['_pendingMutations'],this[_0x527587(0x235)],_0x19a895);}},exports[_0x72c010(0x1b3)]=ae([w(0x7,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x8,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),w(0x9,a[_0x72c010(0x36f)]),w(0xa,a['ICommandService']),w(0xb,a[_0x72c010(0x34c)]),w(0xc,I['ITransformService']),w(0xd,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x1b3)]);function Ot(_0x4e14df,_0x5290dd,_0x351fe9,_0x155eff,_0x3df75e,_0x1de8e6){var _0x101254=_0x72c010;return _0x155eff&&_0x3df75e[_0x101254(0x2f9)]?_0x4e14df['createInstance'](exports[_0x101254(0x227)],_0x5290dd,_0x351fe9,_0x155eff,_0x3df75e,_0x1de8e6,void 0x0):_0x155eff?_0x4e14df[_0x101254(0x357)](exports['AwaitingState'],_0x5290dd,_0x351fe9,_0x155eff,_0x1de8e6):_0x3df75e['length']?_0x4e14df['createInstance'](exports['PendingState'],_0x5290dd,_0x351fe9,_0x3df75e,_0x1de8e6):_0x4e14df['createInstance'](exports[_0x101254(0x3a1)],_0x5290dd,_0x351fe9,_0x1de8e6);}var vi=Object[_0x72c010(0x43c)],Fe=(_0x40a03e,_0xf23733,_0x55d230,_0x23abba)=>{var _0x36525b=_0x72c010;for(var _0x5758f0=_0x23abba>0x1?void 0x0:_0x23abba?vi(_0xf23733,_0x55d230):_0xf23733,_0x53063a=_0x40a03e[_0x36525b(0x2f9)]-0x1,_0x5af3ea;_0x53063a>=0x0;_0x53063a--)(_0x5af3ea=_0x40a03e[_0x53063a])&&(_0x5758f0=_0x5af3ea(_0x5758f0)||_0x5758f0);return _0x5758f0;},j=(_0x4eb39e,_0x53c915)=>(_0x3b72f3,_0x29740f)=>_0x53c915(_0x3b72f3,_0x29740f,_0x4eb39e);exports['CollaborationEntity']=class extends a[_0x72c010(0x3d3)]{constructor(_0x4f2b25,_0x447e4e,_0x1f89b3,_0x3e8c86,_0x95a271,_0x2ac91d,_0x463003,_0x9813d9,_0x5523b0,_0x316bdb,_0x24cf08,_0x301a90,_0x7fce6a){var _0x55999b=_0x72c010;super(),A(this,_0x55999b(0x211),new $['BehaviorSubject'](null)),A(this,_0x55999b(0x315),this[_0x55999b(0x211)][_0x55999b(0x2df)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x55999b(0x16e),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x55999b(0x315)][_0x55999b(0x190)]($[_0x55999b(0x14c)](_0x178b33=>_0x178b33?_0x178b33[_0x55999b(0x383)]:Be[_0x55999b(0x38a)]),$[_0x55999b(0x21c)](0x1))),A(this,'_transitionLocked',!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x55999b(0x4af)]=_0x4f2b25,this['session']=_0x447e4e,this['_type']=_0x1f89b3,this[_0x55999b(0x39f)]=_0x3e8c86,this[_0x55999b(0x4b5)]=_0x95a271,this[_0x55999b(0x1f2)]=_0x2ac91d,this[_0x55999b(0x2c5)]=_0x463003,this[_0x55999b(0x32f)]=_0x9813d9,this[_0x55999b(0x452)]=_0x5523b0,this[_0x55999b(0x3ba)]=_0x316bdb,this[_0x55999b(0x328)]=_0x24cf08,this[_0x55999b(0x191)]=_0x301a90,this[_0x55999b(0x329)]=_0x7fce6a);}get[_0x72c010(0x2e7)](){var _0x328cb6=_0x72c010;return this[_0x328cb6(0x43e)];}async[_0x72c010(0x154)](){var _0x11ee8d=_0x72c010;if(this[_0x11ee8d(0x2e7)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x11ee8d(0x15d)]();}[_0x72c010(0x153)](){var _0x31733a=_0x72c010;return this[_0x31733a(0x3b9)]=!0x0,a[_0x31733a(0x146)](()=>{var _0x2dfaff=_0x31733a;this[_0x2dfaff(0x3b9)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x72c010(0x186)](_0x404d04){this['_onLocalMutation'](_0x404d04);}['_updateState'](_0x1b55ed){var _0x50db46=_0x72c010;this['_state']=_0x1b55ed,this[_0x50db46(0x211)][_0x50db46(0x1fb)](_0x1b55ed);}async[_0x72c010(0x15d)](){var _0x5bb8ed=_0x72c010,_0x59d3d4;this[_0x5bb8ed(0x2a3)](await this[_0x5bb8ed(0x226)]()),this[_0x5bb8ed(0x191)]&&((_0x59d3d4=this['_singleActiveUnitService'])==null||_0x59d3d4[_0x5bb8ed(0x3c2)](this[_0x5bb8ed(0x4af)]),this[_0x5bb8ed(0x1ef)](this[_0x5bb8ed(0x191)][_0x5bb8ed(0x269)](this[_0x5bb8ed(0x4af)])['subscribe'](_0x371f7a=>{var _0x4c54ea=_0x5bb8ed;this[_0x4c54ea(0x452)][_0x4c54ea(0x18f)]('[CollaborationEntity]',_0x4c54ea(0x495),_0x371f7a),_0x371f7a===je[_0x4c54ea(0x38f)]?(this[_0x4c54ea(0x32f)][_0x4c54ea(0x42a)]({'id':Z[_0x4c54ea(0x454)]}),this[_0x4c54ea(0x328)][_0x4c54ea(0x330)](new X['WorkbookEditablePermission'](this[_0x4c54ea(0x4af)])['id'],!0x1),this[_0x4c54ea(0x328)]['setShowComponents'](!0x1)):(this[_0x4c54ea(0x328)][_0x4c54ea(0x330)](new X[(_0x4c54ea(0x1eb))](this[_0x4c54ea(0x4af)])['id'],!0x0),this[_0x4c54ea(0x328)][_0x4c54ea(0x1fa)](!0x0));})));let _0x3a8dc5=!0x1;return this[_0x5bb8ed(0x1ef)](this[_0x5bb8ed(0x364)][_0x5bb8ed(0x3be)][_0x5bb8ed(0x184)](_0xab497b=>{var _0x27b4aa=_0x5bb8ed;_0xab497b===re['ONLINE']?this['_toggleOnline'](_0x3a8dc5):_0xab497b===re['OFFLINE']&&(_0x3a8dc5=!0x0,this[_0x27b4aa(0x38b)]());})),this[_0x5bb8ed(0x1ef)](this[_0x5bb8ed(0x364)][_0x5bb8ed(0x2d2)]['subscribe'](_0x404d72=>{var _0x336d0f=_0x5bb8ed;try{switch(_0x404d72[_0x336d0f(0x249)]){case I[_0x336d0f(0x3b2)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](I[_0x336d0f(0x251)](_0x404d72['data']));break;}case I['CollaborationEvent'][_0x336d0f(0x405)]:{this[_0x336d0f(0x1ed)](_0x404d72[_0x336d0f(0x35f)]);break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x2a7)]:{this[_0x336d0f(0x3d5)]();break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x28f)]:{this[_0x336d0f(0x3da)](_0x404d72[_0x336d0f(0x35f)]);break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x4a8)]:{this['_onFetchMissResult'](_0x404d72[_0x336d0f(0x35f)][_0x336d0f(0x28d)][_0x336d0f(0x14c)](_0x4696d3=>I[_0x336d0f(0x251)](_0x4696d3)));break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x47c)]:{this[_0x336d0f(0x3d5)]({'isPermissionRej':!0x0});break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x283)]:break;}}catch(_0x56c19d){throw console[_0x336d0f(0x2e5)](_0x336d0f(0x2fe),_0x56c19d),_0x56c19d;}})),this['_state'];}[_0x72c010(0x18c)](){var _0x3857dc=_0x72c010;this[_0x3857dc(0x348)]=!0x1;}['_lockTransition'](){var _0x73f78d=_0x72c010;if(this[_0x73f78d(0x348)])throw new Error(_0x73f78d(0x468));this[_0x73f78d(0x348)]=!0x0;}[_0x72c010(0x359)](_0x284be0){var _0x1e5a31=_0x72c010;this['_lockTransition'](),this[_0x1e5a31(0x2a3)](this[_0x1e5a31(0x43e)][_0x1e5a31(0x2e4)](_0x284be0)),this['_unlockTransition']();}[_0x72c010(0x2e3)](_0x272bfc){var _0xa5bf35=_0x72c010;if(!(_0x272bfc[_0xa5bf35(0x147)]<=this[_0xa5bf35(0x2c5)]['getCurrentRevOfUnit'](this[_0xa5bf35(0x4af)]))){if(this[_0xa5bf35(0x3b9)]){this[_0xa5bf35(0x27c)][_0xa5bf35(0x41b)](_0x272bfc);return;}this[_0xa5bf35(0x305)](_0x272bfc);}}['_exhaustRemoteChangesetQueue'](){var _0x26276a=_0x72c010;this[_0x26276a(0x27c)][_0x26276a(0x292)](_0x5e2be=>this['_applyRemoteChangeset'](_0x5e2be)),this[_0x26276a(0x27c)]=[];}['_applyRemoteChangeset'](_0x33c29a){var _0x374022=_0x72c010;const _0xedf0f8=this[_0x374022(0x4b5)][_0x374022(0x18a)][_0x374022(0x151)](this[_0x374022(0x4b5)][_0x374022(0x18a)]['getInterceptPoints']()[_0x374022(0x3ca)])(_0x33c29a[_0x374022(0x2e2)],null)||_0x33c29a[_0x374022(0x2e2)],_0xeb9bf2={..._0x33c29a,'mutations':_0xedf0f8};this['_lockTransition'](),this['_updateState'](this[_0x374022(0x43e)]['onRemoteChangeset'](_0xeb9bf2)),this['_unlockTransition']();}[_0x72c010(0x1ed)](_0x164f13){var _0x5c1059=_0x72c010;this[_0x5c1059(0x33d)](),this[_0x5c1059(0x2a3)](this[_0x5c1059(0x43e)][_0x5c1059(0x2b5)](_0x164f13)),this['_unlockTransition']();}[_0x72c010(0x3d5)](_0x196aec){var _0xe794ba=_0x72c010;this[_0xe794ba(0x33d)](),this[_0xe794ba(0x2a3)](this[_0xe794ba(0x43e)]['onRemoteRej'](_0x196aec)),this[_0xe794ba(0x18c)]();}['_onRemoteRetry'](_0x4c7992){var _0xe5ad26=_0x72c010;this[_0xe5ad26(0x33d)](),this[_0xe5ad26(0x2a3)](this[_0xe5ad26(0x43e)][_0xe5ad26(0x4a4)](_0x4c7992)),this[_0xe5ad26(0x18c)]();}[_0x72c010(0x32b)](_0x1957b8){var _0x2b46ab=_0x72c010;if(!(this['_state']instanceof exports[_0x2b46ab(0x1b3)]))throw new TypeError(_0x2b46ab(0x31b));const _0x1a9d8c=_0x1957b8['map'](_0xcaa233=>{var _0x5a0c58=_0x2b46ab;const _0x5030ca=this[_0x5a0c58(0x4b5)][_0x5a0c58(0x18a)][_0x5a0c58(0x151)](this[_0x5a0c58(0x4b5)]['interceptor'][_0x5a0c58(0x377)]()[_0x5a0c58(0x3ca)])(_0xcaa233[_0x5a0c58(0x2e2)],null)||_0xcaa233[_0x5a0c58(0x2e2)];return{..._0xcaa233,'mutations':_0x5030ca};});this[_0x2b46ab(0x33d)](),this['_updateState'](this[_0x2b46ab(0x43e)][_0x2b46ab(0x442)](_0x1a9d8c)),this['_unlockTransition']();}['_toggleOffline'](){var _0x5499f0=_0x72c010;this[_0x5499f0(0x33d)](),this[_0x5499f0(0x2a3)](this[_0x5499f0(0x43e)]['toggleOffline']()),this[_0x5499f0(0x18c)]();}[_0x72c010(0x218)](_0x3d76a8=!0x1){var _0x214131=_0x72c010;this[_0x214131(0x33d)](),this[_0x214131(0x2a3)](this[_0x214131(0x43e)][_0x214131(0x180)]()),this[_0x214131(0x18c)]();const _0x5d21fe=this[_0x214131(0x43e)];_0x3d76a8&&_0x5d21fe instanceof exports[_0x214131(0x3a1)]&&(this[_0x214131(0x33d)](),this[_0x214131(0x2a3)](_0x5d21fe[_0x214131(0x2ac)]()),this[_0x214131(0x18c)]());}async[_0x72c010(0x226)](){return new Promise(_0x3b06c0=>{var _0x283aad=_0x284f;this[_0x283aad(0x364)][_0x283aad(0x3be)][_0x283aad(0x190)]($['take'](0x1))['subscribe'](async _0x4b6137=>{var _0x481950=_0x283aad;_0x3b06c0(await this[_0x481950(0x36e)](_0x4b6137===re[_0x481950(0x1c7)]));});});}[_0x72c010(0x36d)](){var _0x1768bb=_0x72c010;const _0x5baaba=this[_0x1768bb(0x4af)];return{'onStateChange':(_0x1175b5,_0xeeee2)=>{var _0x4293ec=_0x1768bb;if(_0x1175b5!==this[_0x4293ec(0x43e)])throw new Error(_0x4293ec(0x34f)+_0x1175b5[_0x4293ec(0x383)]+_0x4293ec(0x476)+_0xeeee2['status']+'\x0aCurrent:\x20'+this[_0x4293ec(0x43e)][_0x4293ec(0x383)]);this[_0x4293ec(0x2a3)](_0xeeee2);},'onSendChangeset':_0x56d78d=>{var _0x2dffac=_0x1768bb;_0x56d78d[_0x2dffac(0x2ee)]||(_0x56d78d[_0x2dffac(0x2ee)]=this[_0x2dffac(0x16e)],_0x56d78d[_0x2dffac(0x1d5)]=++this['_changesetReqId']);const _0x59db75={'eventID':I['CollaborationEvent'][_0x2dffac(0x1b1)],'data':{'unitID':_0x56d78d['unitID'],'unitType':this[_0x2dffac(0x195)],'changeset':_0x56d78d,'memberID':this[_0x2dffac(0x364)][_0x2dffac(0x321)]()}};this['session'][_0x2dffac(0x2f6)](_0x59db75,this[_0x2dffac(0x4af)]);},'onMissingChangesets':({from:_0x3f03f9,to:_0x4e586c})=>{var _0x3aa071=_0x1768bb;this[_0x3aa071(0x452)][_0x3aa071(0x18f)](_0x3aa071(0x343),_0x3aa071(0x21e)+_0x3f03f9+_0x3aa071(0x3e7)+_0x4e586c);const _0x23b88e={'eventID':I[_0x3aa071(0x3b2)]['FETCH_MISSING'],'data':{'unitID':_0x5baaba,'unitType':this['_type'],'from':_0x3f03f9,'to':_0x4e586c}};this[_0x3aa071(0x364)]['send'](_0x23b88e,this[_0x3aa071(0x4af)]);}};}async['_createInitialStateImpl'](_0x2165bc){var _0x1a9e54=_0x72c010,_0x8be58a,_0x1744a7,_0x5a03b2;const _0x159ca3=await((_0x8be58a=this[_0x1a9e54(0x329)])==null?void 0x0:_0x8be58a['loadOfflineData'](this['unitID'])),_0x216703=(_0x1744a7=_0x159ca3==null?void 0x0:_0x159ca3['mutations'])!=null?_0x1744a7:[],_0x403780=(_0x5a03b2=_0x159ca3==null?void 0x0:_0x159ca3[_0x1a9e54(0x3e3)])!=null?_0x5a03b2:null,_0xd9d777=!!(_0x403780!=null&&_0x403780[_0x1a9e54(0x2ee)])&&!!(_0x403780!=null&&_0x403780[_0x1a9e54(0x1d5)]);this[_0x1a9e54(0x16e)]=_0xd9d777?_0x403780[_0x1a9e54(0x2ee)]:I[_0x1a9e54(0x3b0)](),this[_0x1a9e54(0x368)]=_0xd9d777?_0x403780[_0x1a9e54(0x1d5)]:0x0;const _0x483839=this[_0x1a9e54(0x4af)];try{this['_replayCachedMutations'](_0x403780,_0x216703);}catch(_0x2b884b){this['_logService'][_0x1a9e54(0x2e5)](_0x2b884b);}const _0x57cf3b=this[_0x1a9e54(0x36d)]();if(_0x2165bc){const _0x12481b=Ot(this['_injector'],_0x483839,this[_0x1a9e54(0x195)],_0x403780,_0x216703,_0x57cf3b);return _0x12481b instanceof exports[_0x1a9e54(0x3d8)]?_0x12481b['_schedule']():(_0x12481b instanceof exports['AwaitingWithPendingState']||_0x12481b instanceof exports['AwaitingState'])&&_0x12481b[_0x1a9e54(0x20c)](),_0x12481b;}return this['_injector'][_0x1a9e54(0x357)](exports[_0x1a9e54(0x1dc)],_0x483839,this[_0x1a9e54(0x195)],_0x403780,_0x216703,_0x57cf3b);}[_0x72c010(0x1a4)](_0x4ceaf9,_0x3a180c){var _0x23c5f4=_0x72c010,_0x543a31,_0x459663;const _0xc797b0=this[_0x23c5f4(0x4b5)][_0x23c5f4(0x18a)][_0x23c5f4(0x151)](this[_0x23c5f4(0x4b5)][_0x23c5f4(0x18a)][_0x23c5f4(0x377)]()['COMPRESS_MUTATION_APPLY']);(_0x543a31=_0xc797b0((_0x4ceaf9==null?void 0x0:_0x4ceaf9[_0x23c5f4(0x2e2)])||[],null))==null||_0x543a31[_0x23c5f4(0x292)](_0x528e00=>this[_0x23c5f4(0x3ba)]['executeCommand'](_0x528e00['id'],_0x528e00[_0x23c5f4(0x1de)])),(_0x459663=_0xc797b0(_0x3a180c||[],null))==null||_0x459663['forEach'](_0x32e39e=>this[_0x23c5f4(0x3ba)][_0x23c5f4(0x1f1)](_0x32e39e['id'],_0x32e39e['params']));}},exports[_0x72c010(0x3e5)]=Fe([j(0x3,a[_0x72c010(0x21f)](a['Injector'])),j(0x4,a[_0x72c010(0x21f)](I[_0x72c010(0x2a6)])),j(0x5,a[_0x72c010(0x21f)](a[_0x72c010(0x334)])),j(0x6,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),j(0x7,a[_0x72c010(0x21f)](ee)),j(0x8,a[_0x72c010(0x36f)]),j(0x9,a['ICommandService']),j(0xa,a[_0x72c010(0x3c4)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x3e5)]),exports[_0x72c010(0x3ee)]=class extends exports[_0x72c010(0x3e5)]{constructor(_0x53168d,_0x168dbc,_0x63d5cc,_0x51d91d,_0x310cf6,_0xa0c2eb,_0x73b3f4,_0x1b61aa,_0xe5571f,_0x12f761,_0x252577,_0x42f28b,_0x3bfd71){var _0x5de1f3=_0x72c010;super(_0x53168d,_0x63d5cc,_0x168dbc,_0x51d91d,_0x310cf6,_0xa0c2eb,_0x73b3f4,_0x1b61aa,_0xe5571f,_0x12f761,_0x252577,_0x42f28b,_0x3bfd71),A(this,_0x5de1f3(0x3a4),null),(this[_0x5de1f3(0x4af)]=_0x53168d,this['type']=_0x168dbc);}[_0x72c010(0x394)](_0x1e8733){this['_handlerCallback']=_0x1e8733;}[_0x72c010(0x406)](){var _0x459697=_0x72c010;this[_0x459697(0x3a4)]=null,super[_0x459697(0x406)]();}[_0x72c010(0x36d)](){var _0x34ea80=_0x72c010;const _0x28f81c=super[_0x34ea80(0x36d)]();return _0x28f81c[_0x34ea80(0x40b)]=_0x1a0509=>{var _0xe6409f=_0x34ea80,_0x1be40d,_0x170c65;return(_0x170c65=(_0x1be40d=this['_handlerCallback'])==null?void 0x0:_0x1be40d[_0xe6409f(0x40b)])==null?void 0x0:_0x170c65[_0xe6409f(0x478)](_0x1be40d,_0x1a0509);},_0x28f81c[_0x34ea80(0x16c)]=_0x1d177a=>{var _0x3576f5=_0x34ea80,_0x3b45fd,_0x4823d4;return(_0x4823d4=(_0x3b45fd=this[_0x3576f5(0x3a4)])==null?void 0x0:_0x3b45fd[_0x3576f5(0x16c)])==null?void 0x0:_0x4823d4['call'](_0x3b45fd,_0x1d177a);},_0x28f81c[_0x34ea80(0x296)]=_0x7c1e92=>{var _0x5614b2=_0x34ea80,_0x5d41d7,_0x3770c5;return(_0x3770c5=(_0x5d41d7=this[_0x5614b2(0x3a4)])==null?void 0x0:_0x5d41d7[_0x5614b2(0x296)])==null?void 0x0:_0x3770c5[_0x5614b2(0x478)](_0x5d41d7,_0x7c1e92);},_0x28f81c[_0x34ea80(0x2ae)]=_0x2808b0=>{var _0x4c873c=_0x34ea80,_0x3d56a2,_0x48b696;return(_0x48b696=(_0x3d56a2=this[_0x4c873c(0x3a4)])==null?void 0x0:_0x3d56a2[_0x4c873c(0x2ae)])==null?void 0x0:_0x48b696[_0x4c873c(0x478)](_0x3d56a2,_0x2808b0);},_0x28f81c[_0x34ea80(0x17d)]=_0x369c16=>{var _0x583bc8=_0x34ea80,_0x3ed21f,_0x8c1b01,_0xaf1eda;if(!((_0x3ed21f=this[_0x583bc8(0x3a4)])!=null&&_0x3ed21f['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xaf1eda=(_0x8c1b01=this[_0x583bc8(0x3a4)])==null?void 0x0:_0x8c1b01[_0x583bc8(0x17d)])==null?void 0x0:_0xaf1eda[_0x583bc8(0x478)](_0x8c1b01,_0x369c16);},_0x28f81c[_0x34ea80(0x399)]=_0x35067b=>{var _0x3e00ee=_0x34ea80,_0x153df3,_0x196f5b,_0x416497;if(!((_0x153df3=this[_0x3e00ee(0x3a4)])!=null&&_0x153df3['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3e00ee(0x4a5));return(_0x416497=(_0x196f5b=this[_0x3e00ee(0x3a4)])==null?void 0x0:_0x196f5b[_0x3e00ee(0x399)])==null?void 0x0:_0x416497[_0x3e00ee(0x478)](_0x196f5b,_0x35067b);},_0x28f81c;}async['_init'](){var _0x320534=_0x72c010;const _0x3003de=await super[_0x320534(0x15d)]();return this[_0x320534(0x1ef)](this[_0x320534(0x3ba)][_0x320534(0x320)]((_0x18890e,_0x49775f)=>{var _0x524158=_0x320534;if(_0x18890e[_0x524158(0x37b)]!==a[_0x524158(0x412)]['MUTATION']||_0x49775f!=null&&_0x49775f[_0x524158(0x22b)]||_0x49775f!=null&&_0x49775f[_0x524158(0x1a7)]||_0x18890e['id']===ht['RichTextEditingMutation']['id'])return;const _0x84df04=_0x18890e[_0x524158(0x1de)];if((_0x84df04==null?void 0x0:_0x84df04[_0x524158(0x2bc)])!==this['unitID'])return;const _0x613548=_0x18890e,_0x30bfc0=this[_0x524158(0x4b5)]['interceptor'][_0x524158(0x151)](this['_compressMutationService'][_0x524158(0x18a)][_0x524158(0x377)]()[_0x524158(0x451)])([_0x613548],null)||[_0x613548];this['_onLocalMutation'](_0x30bfc0[0x0]);})),_0x3003de;}},exports['DocCollaborationEntity']=Fe([j(0x3,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),j(0x4,a[_0x72c010(0x21f)](I[_0x72c010(0x2a6)])),j(0x5,a[_0x72c010(0x21f)](a[_0x72c010(0x334)])),j(0x6,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),j(0x7,a[_0x72c010(0x21f)](ee)),j(0x8,a[_0x72c010(0x36f)]),j(0x9,a[_0x72c010(0x287)]),j(0xa,a[_0x72c010(0x3c4)]),j(0xb,a[_0x72c010(0x3a8)](de)),j(0xc,a['Optional'](q))],exports[_0x72c010(0x3ee)]),exports[_0x72c010(0x1d9)]=class extends exports['CollaborationEntity']{constructor(_0x14c875,_0x123d0e,_0x17f608,_0x4ca0e3,_0x5e7b26,_0x508e09,_0x2d7d12,_0x30c2d5,_0x5d6de4,_0x35b78c,_0x41a684,_0xa037ac,_0x27e3af,_0x31639c){var _0x1e55fb=_0x72c010;super(_0x14c875,_0x17f608,_0x123d0e,_0x4ca0e3,_0x5e7b26,_0x508e09,_0x2d7d12,_0x5d6de4,_0x35b78c,_0x41a684,_0xa037ac,_0x27e3af,_0x31639c),this[_0x1e55fb(0x4af)]=_0x14c875,this[_0x1e55fb(0x37b)]=_0x123d0e,this['_sheetTransformSelectionsService']=_0x30c2d5;}[_0x72c010(0x36d)](){var _0x3b2c60=_0x72c010;const _0x5306ee=super[_0x3b2c60(0x36d)]();return _0x5306ee[_0x3b2c60(0x296)]=_0x4f7b41=>this[_0x3b2c60(0x17a)][_0x3b2c60(0x43b)](_0x4f7b41),_0x5306ee;}async[_0x72c010(0x15d)](){var _0xdda5ca=_0x72c010;const _0x11ed09=await super[_0xdda5ca(0x15d)]();return this['disposeWithMe'](this[_0xdda5ca(0x3ba)]['onCommandExecuted']((_0xa29397,_0x587605)=>{var _0x171ee5=_0xdda5ca;if(_0xa29397[_0x171ee5(0x37b)]!==a[_0x171ee5(0x412)]['MUTATION']||_0x587605!=null&&_0x587605[_0x171ee5(0x22b)]||_0x587605!=null&&_0x587605[_0x171ee5(0x1a7)])return;const _0x32ab09=_0xa29397[_0x171ee5(0x1de)];if((_0x32ab09==null?void 0x0:_0x32ab09['unitId'])!==this[_0x171ee5(0x4af)])return;const _0x50b314=_0xa29397,_0x5888c7=this[_0x171ee5(0x4b5)][_0x171ee5(0x18a)][_0x171ee5(0x151)](this[_0x171ee5(0x4b5)][_0x171ee5(0x18a)][_0x171ee5(0x377)]()['COMPRESS_MUTATION_SEND'])([_0x50b314],null)||[_0x50b314];this[_0x171ee5(0x359)](_0x5888c7[0x0]);})),_0x11ed09;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),j(0x4,a[_0x72c010(0x21f)](I[_0x72c010(0x2a6)])),j(0x5,a[_0x72c010(0x21f)](a['LocaleService'])),j(0x6,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),j(0x7,a[_0x72c010(0x21f)](exports[_0x72c010(0x1a1)])),j(0x8,a[_0x72c010(0x21f)](ee)),j(0x9,a[_0x72c010(0x36f)]),j(0xa,a[_0x72c010(0x287)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x1d9)]);var Si=Object[_0x72c010(0x43c)],fi=(_0xf5012b,_0x22fdc5,_0x1798ff,_0x55274b)=>{for(var _0x4d83b1=_0x55274b>0x1?void 0x0:_0x55274b?Si(_0x22fdc5,_0x1798ff):_0x22fdc5,_0x2121bf=_0xf5012b['length']-0x1,_0x3b2203;_0x2121bf>=0x0;_0x2121bf--)(_0x3b2203=_0xf5012b[_0x2121bf])&&(_0x4d83b1=_0x3b2203(_0x4d83b1)||_0x4d83b1);return _0x4d83b1;},Se=(_0x47660a,_0x2398a9)=>(_0x39e062,_0x17d78c)=>_0x2398a9(_0x39e062,_0x17d78c,_0x47660a);exports[_0x72c010(0x372)]=class extends a['RxDisposable']{constructor(_0x167865,_0x6e857,_0x368f8a,_0x4c593d){var _0x3a718a=_0x72c010,_0xa5a80;super(),A(this,_0x3a718a(0x23e),new Map()),A(this,_0x3a718a(0x32d),new $[(_0x3a718a(0x475))]()),A(this,_0x3a718a(0x26e),this[_0x3a718a(0x32d)]['asObservable']()),(this[_0x3a718a(0x39f)]=_0x167865,this[_0x3a718a(0x3f6)]=_0x6e857,this[_0x3a718a(0x23d)]=_0x368f8a,this['_univerInstanceService']=_0x4c593d,((_0xa5a80=this['_configService']['getConfig'](K))==null?void 0x0:_0xa5a80[_0x3a718a(0x379)])!==!0x1&&this[_0x3a718a(0x15d)]());}[_0x72c010(0x406)](){var _0xaba97a=_0x72c010;super[_0xaba97a(0x406)](),this['_entities']['forEach'](_0x13342c=>_0x13342c[_0xaba97a(0x406)]()),this['_entities'][_0xaba97a(0x1c9)]();}['getCollabEntity'](_0x2377c3){var _0xa883fc=_0x72c010,_0x2c6f8d;return(_0x2c6f8d=this[_0xa883fc(0x23e)][_0xa883fc(0x4b7)](_0x2377c3))!=null?_0x2c6f8d:null;}['getCollabEntity$'](_0x5ba38b){var _0x6b1573=_0x72c010;const _0xdf3259=this[_0x6b1573(0x25b)](_0x5ba38b);return _0xdf3259?$['of'](_0xdf3259):this[_0x6b1573(0x32d)][_0x6b1573(0x190)](V[_0x6b1573(0x1cb)](_0x26c345=>_0x26c345[_0x6b1573(0x4af)]===_0x5ba38b));}[_0x72c010(0x3b7)](_0x185929){var _0x5d54fa=_0x72c010;return $[_0x5d54fa(0x1d0)](this['getCollabEntity$'](_0x185929)[_0x5d54fa(0x190)](V[_0x5d54fa(0x14c)](()=>{})));}[_0x72c010(0x15d)](){var _0x645f05=_0x72c010;this[_0x645f05(0x286)][_0x645f05(0x354)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe']($['takeUntil'](this[_0x645f05(0x1b8)]),V[_0x645f05(0x489)](0x10))[_0x645f05(0x184)](async _0x5f123f=>{var _0x507020=_0x645f05;const _0x2fec5b=_0x5f123f[_0x507020(0x233)](),_0x24724f=await this[_0x507020(0x1fc)](_0x2fec5b,J[_0x507020(0x477)]);this[_0x507020(0x23e)][_0x507020(0x268)](_0x2fec5b,_0x24724f);}),this[_0x645f05(0x286)][_0x645f05(0x354)](a[_0x645f05(0x30f)][_0x645f05(0x356)])[_0x645f05(0x190)]($[_0x645f05(0x3eb)](this['dispose$']),V[_0x645f05(0x489)](0x10))[_0x645f05(0x190)](V[_0x645f05(0x1cb)](_0x43f3a1=>!_0x43f3a1['getUnitId']()['startsWith']('__')))['subscribe'](async _0x277905=>{var _0x3c539a=_0x645f05;const _0x225743=_0x277905[_0x3c539a(0x233)](),_0x4c331e=await this[_0x3c539a(0x1fc)](_0x225743,J['UNIVER_DOC']);this['_entities'][_0x3c539a(0x268)](_0x225743,_0x4c331e);}),$[_0x645f05(0x42f)](this['_univerInstanceService'][_0x645f05(0x465)](a[_0x645f05(0x30f)][_0x645f05(0x477)]),this[_0x645f05(0x286)][_0x645f05(0x465)](a[_0x645f05(0x30f)][_0x645f05(0x356)]))['pipe']($[_0x645f05(0x3eb)](this[_0x645f05(0x1b8)]))['subscribe'](_0x4cdb04=>{var _0x2816aa=_0x645f05;const _0xdf79ad=_0x4cdb04['getUnitId'](),_0x5117cc=this['_entities'][_0x2816aa(0x4b7)](_0xdf79ad);_0x5117cc&&(_0x5117cc[_0x2816aa(0x406)](),this[_0x2816aa(0x23e)]['delete'](_0xdf79ad));});}async['_startCollaboration'](_0x41ab97,_0x3ee043){var _0x3e6482=_0x72c010;const _0x1d417d=await this[_0x3e6482(0x3f6)]['requireSession'](_0x41ab97),_0x3c692b=this[_0x3e6482(0x39f)][_0x3e6482(0x357)](this[_0x3e6482(0x1ab)](_0x3ee043),_0x41ab97,_0x3ee043,_0x1d417d);return await _0x3c692b[_0x3e6482(0x154)](),this[_0x3e6482(0x32d)][_0x3e6482(0x1fb)](_0x3c692b),_0x3c692b;}[_0x72c010(0x1ab)](_0x2cde98){var _0x5de68f=_0x72c010;switch(_0x2cde98){case J['UNIVER_DOC']:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x5de68f(0x1d9)];default:throw new Error(_0x5de68f(0x2b6)+_0x2cde98);}}},exports[_0x72c010(0x372)]=fi([Se(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),Se(0x1,a['Inject'](exports[_0x72c010(0x3f8)])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x72c010(0x37f)])],exports['CollaborationController']);var pi=Object[_0x72c010(0x43c)],Ii=(_0x4a789c,_0x41e141,_0x4797c6,_0x303db3)=>{for(var _0x4d771e=_0x303db3>0x1?void 0x0:_0x303db3?pi(_0x41e141,_0x4797c6):_0x41e141,_0x239a88=_0x4a789c['length']-0x1,_0x2af648;_0x239a88>=0x0;_0x239a88--)(_0x2af648=_0x4a789c[_0x239a88])&&(_0x4d771e=_0x2af648(_0x4d771e)||_0x4d771e);return _0x4d771e;},Ye=(_0x573f6a,_0x139938)=>(_0x490d7c,_0x5945c5)=>_0x139938(_0x490d7c,_0x5945c5,_0x573f6a);const gi=_0x72c010(0x220),Ei=_0x72c010(0x2b7);let xe=class extends a['Disposable']{constructor(_0x5d27e2,_0x1f900b){var _0x1efe64=_0x72c010;super(),this['_univerInstanceService']=_0x5d27e2,this[_0x1efe64(0x23d)]=_0x1f900b,this[_0x1efe64(0x15d)]();}['_init'](){var _0x46493b=_0x72c010;this[_0x46493b(0x1ef)](this[_0x46493b(0x286)][_0x46493b(0x40f)][_0x46493b(0x184)](()=>{var _0x52f578=_0x46493b,_0x25c440;const _0x462b9f=this['_univerInstanceService']['getFocusedUnit']();let _0x6fa04c=(_0x25c440=this['_configService'][_0x52f578(0x282)](gi))!=null?_0x25c440:Ei;_0x462b9f instanceof a[_0x52f578(0x420)]&&(_0x6fa04c=_0x462b9f[_0x52f578(0x3a7)]),document[_0x52f578(0x24b)]=_0x6fa04c;}));}};xe=Ii([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x72c010(0x25f)])],xe);var mi=Object[_0x72c010(0x43c)],Ci=(_0x4288b1,_0x183936,_0x4fef03,_0x326438)=>{var _0xfe9ca7=_0x72c010;for(var _0x2059d2=_0x326438>0x1?void 0x0:_0x326438?mi(_0x183936,_0x4fef03):_0x183936,_0x1cee6c=_0x4288b1[_0xfe9ca7(0x2f9)]-0x1,_0x1884dd;_0x1cee6c>=0x0;_0x1cee6c--)(_0x1884dd=_0x4288b1[_0x1cee6c])&&(_0x2059d2=_0x1884dd(_0x2059d2)||_0x2059d2);return _0x2059d2;},Ae=(_0x597efc,_0x158417)=>(_0x42a827,_0x806cf9)=>_0x158417(_0x42a827,_0x806cf9,_0x597efc);let ye=class{constructor(_0x2e3b6f,_0x35868f,_0x2bdee4){var _0x4f32eb=_0x72c010;this[_0x4f32eb(0x23d)]=_0x2e3b6f,this[_0x4f32eb(0x1ec)]=_0x35868f,this['localeService']=_0x2bdee4,this[_0x4f32eb(0x154)]();}[_0x72c010(0x154)](){var _0x41d8db=_0x72c010;this[_0x41d8db(0x1ec)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x38fbec,_0x2e69a9)=>_0x2e69a9(_0x38fbec)[_0x41d8db(0x190)]($['concatMap'](async _0x364028=>{var _0x1df6e2=_0x41d8db;const _0x48c68d=_0x364028;if(_0x48c68d['status']===0x191){if(typeof window>'u')throw new Error(_0x1df6e2(0x426));if(window[_0x1df6e2(0x438)](this[_0x1df6e2(0x174)]['t'](_0x1df6e2(0x2d4)))){const _0x318a36=window['encodeURIComponent'](window[_0x1df6e2(0x3a0)][_0x1df6e2(0x2b4)]);window[_0x1df6e2(0x3a0)][_0x1df6e2(0x2b4)]=this[_0x1df6e2(0x221)]()+'?url='+_0x318a36;}}return _0x48c68d;}))});}[_0x72c010(0x221)](){var _0xe1810e=_0x72c010,_0x45e179,_0x1e108a;const _0x17ba24=this[_0xe1810e(0x23d)][_0xe1810e(0x282)](It),_0x56be80=this[_0xe1810e(0x23d)][_0xe1810e(0x282)](K);return(_0x1e108a=(_0x45e179=_0x56be80==null?void 0x0:_0x56be80[_0xe1810e(0x280)])!=null?_0x45e179:_0x17ba24)!=null?_0x1e108a:Wt;}};ye=Ci([Ae(0x0,a[_0x72c010(0x25f)]),Ae(0x1,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)])),Ae(0x2,a[_0x72c010(0x21f)](a[_0x72c010(0x334)]))],ye);var Ti=Object[_0x72c010(0x43c)],bi=(_0x4fe7c1,_0x5b8fd9,_0x3adcc1,_0x1000c6)=>{var _0x581ad6=_0x72c010;for(var _0x59b65b=_0x1000c6>0x1?void 0x0:_0x1000c6?Ti(_0x5b8fd9,_0x3adcc1):_0x5b8fd9,_0x5eaee2=_0x4fe7c1[_0x581ad6(0x2f9)]-0x1,_0x59acf9;_0x5eaee2>=0x0;_0x5eaee2--)(_0x59acf9=_0x4fe7c1[_0x5eaee2])&&(_0x59b65b=_0x59acf9(_0x59b65b)||_0x59b65b);return _0x59b65b;},qe=(_0x5d6fef,_0xde9e18)=>(_0x3dcf16,_0x4bf41e)=>_0xde9e18(_0x3dcf16,_0x4bf41e,_0x5d6fef);const Ve='AUTHZ_URL_KEY',Ri=_0x72c010(0x3f1);function _0x347f(){var _0xfa0076=['subject','reconnect','3849612pzKxZn','updateOfflineData','_transformStack','_socket$','_event$','authzUrl','_showConflictNotification','/-/object/-/batch_allowed','CHANGESET_ACK','dispose','&assign=','uploadFileServerUrl','src','_transformRemoteChangesetByStateCache','onTransformIME','/fetchmissing?from=','YUUMI_SUBSCRIPTION_NOT_FOUND','UnitEmbedded','focused$','CipherParams','_snapshotService','CommandType','MD5','_waitCount','COMPLETION_FINISHED','requestParams','[CollaborationSession]','_sessions','_process','TOO_MANY_REQUESTS','push','_executeRemoteChangeset','saveSheetBlock','UNKNOWN_CMD','Failed\x20to\x20update\x20permission\x20point','Workbook','Encryptor','_key','from','list','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','collaboration-client.config','padding','_nRounds','emitEvent','createDecryptor','GLOBAL_ROOMS_CNT_EXCEEDS','range','[DataLoaderService]','merge','incrementRevOfUnit','commentUpdateEvent','[CollaborationSessionService]:\x20socket\x20error','image/bmp','_socket','@univerjs/core','createSocket','NoPadding','confirm','touchDependencies','isTransformMutationsWithChangesetSuccess','transformSelections','getOwnPropertyDescriptor','_decreaseWaiting','_state','NOT_COLLAB','/new_changes','formatter','onMissedChangesetFetched','_roomCreated$','[CollaborationState]:\x20apply\x20error!','join','/rev/','compose','\x20in\x20_schedule.','_throwTelemetryCollaborationNewChangeset','objectID','includes','saveImage','_map','enc','listCollaborators','originalMeta','COMPRESS_MUTATION_SEND','_logService','CLOSE_ROOM','OTHER_CLIENT_EDITING','setCurrentUser','COLLAB_SUBMIT_CHANGESET_URL_KEY','failed\x20to\x20apply\x20missed\x20changesets!','[PendingState]:\x20received\x20rejection.','stopTime','stringify','blockSize','getRandomValues','HTTPRequest','disableLocalCache','MergeInterceptorFactory','substr','routeKey','/universer-api/uniscript','csShouldRetryEvent','INVITE_CODE_REQUIRED','getTypeOfUnitDisposed$','MentionIoHttpService','getImage','[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.','YUUMI_UNABLE_LOAD_URL','6rraFSS','3855166vGylQM','equals','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','loadDoc','close$','FAIL','872saSaNV','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_waitForHeartbeatResponse','_getRedoStack','Subject','\x0aAfter:\x20','UNIVER_SHEET','call','ImageUploadStatusType','MentionType','_onConnectionFailed','PERMISSION_REJ','FileId','withCredentials','EvpKDF','encrypt','collaboration_new_changeset','_ENC_XFORM_MODE','cfg','_queuedRemoteChangesets','responseType','LIVESHARE_NEW_HOST','UserManagerService','_getAPIPrefixPath','delay','getMember','ConflictState','FETCH_MISSING','_resendTimeout','loadSheet','HTTPService','LIVESHARE_FETCH_OPERATIONS','image/jpeg','UNKNOWN_CODE','[OfflineState]:\x20received\x20changeset.','SOCKET_FAILED','editing\x20status\x20changed\x20to','_hasher','byteOffset','UNIVER_PROJECT','_userManagerService','reduce','AES','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','UNRECOGNIZED','_clearRedo','localCacheService','_createHmacHelper','INGEST','updateMember','onRemoteRetry','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','m2Prime','UNIVER_UNKNOWN','PSEUDO_FETCH_MISSING_RESULT','_candidateSocket','submit\x20changeset\x20error!','__creator','IContextService','cmd','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitID','_undoRedoService','objects','JOIN_ROOM_FAILED','LOCAL_CACHE_INTERVAL','__Key__','_compressMutationService','COLLAB_WEB_SOCKET_URL','get','readInt32LE','toDisposable','revision','EMAIL_HAS_BEEN_BOUND','UniverCollaborationClientPlugin','CollaborationUIEventService','/block/','map','CollaborationStatus','generateRandomId','People','SEND_CHANGESET_TIMEOUT','fetchThroughInterceptors','_scheduleCompleteTimestamp','pauseCollaboration','init','7906225vlcPtU','_getSendChangesetTimeout','Hasher','/unit/','Utf8','CollaborationUIEventId','CONFLICT','Injector','_init','clone','objectType','UNDEFINED','getCurrentUser','signUrlServerUrl','isArray','Latin1','connection\x20error','shouldCloseConn','CollaborationSession','roomInfos','YUUMI_AI_RUN_FAILED','_onMessage','complete','onTransformState','abs','_changesetSessionId','deepClone','ITransformService','socketService','processBlock','_instanceService','localeService','_resendTimer','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getAPIPrefix','_sendHeartbeat','reset','_sheetTransformSelectionsService','_change$','updateSnapshot','onTransformRemoteChangesetByIMECache','getSheetId','extend','toggleOnline','/universer-api/file/{fileID}/sign-url','USER_NOT_INVITED_CODE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','subscribe','_listenToNetworkCondition','onLocalMutation','override','file','univer-pro.collaboration-client.network-condition.service','interceptor','_iKey','_unlockTransition','onSendChangeset','roles','debug','pipe','_singleActiveUnitService','downloadEndpointUrl','HmacSHA1','uniscriptRunEvent','_type','_telemetryService','FETCH_MISS','initWorkbookPermissionChange','INVITE_CODE_HAS_BEEN_UES','_tryReconnect','image/png','SheetPermissionInitController','SHOULD_CLOSE_CONN','getTime','_registerDependencies','min','SheetTransformSelectionsService','SheetsSelectionsService','_keyPriorReset','_replayCachedMutations','SHA1','_parse','onlyLocal','/universer-api/snapshot','SNAPSHOT_HAS_BEEN_REMOVED','words','_getCtorByUniverType','mapDocumentTypeToUniverType','createIdentifier','InsertSheetMutation','collaboration-client.local-cache-service','HttpExport','SUBMIT_CHANGESET','_tryEnsureSocket','FetchingMissState','ENSURE_SNAPSHOT_EXECUTION','patch','UPDATE_CURSOR','_onConflict','dispose$','_append','_initUnitPermissionChange','APPLY_DUPLICATED','sessionStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_memberService','random','_unitInfo$','append','baseRev','actions','_onOffline','fromCharCode','136SzOCOV','ONLINE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','clear','OpenSSL','filter','_getUploadFileURL','sigBytes','byteLength','onStateChange','firstValueFrom','take','parseChangesetToProtocol','unitId\x20is\x20not\x20found','charCodeAt','reqId','INVALID_INVITE_CODE','url','[OfflineState]:\x20received\x20acknowledgement.','SheetCollaborationEntity','enableOfflineEditing','members$','OfflineState','refreshPermission','params','Disposable','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','lib','key','@univerjs/network','USERS_ENTER','@univerjs-pro/collaboration','_onJoinRoomEvent','onRemoteChangeset','hasher','MUTATION','\x20-\x20','WorkbookEditablePermission','_httpService','_onRemoteACK','LICENSE_MAX_UNITS_EXCEEDED','disposeWithMe','SNAPSHOT_URL_KEY','executeCommand','_localeService','_fetchMissChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','@univerjs/telemetry','hasOwnProperty','HMAC','loadOfflineData','RECV','setShowComponents','next','_startCollaboration','mode','batchAllowed','socket$','Plugin','LOCAL_CACHE_INTERVAL_KEY','_sendingTimer','algo','CommentService','capture','function','toStringTag','_minBufferSize','randomBytes','apply','iterations','resend','close','ERROR_IMAGE','_onUserJoin','defineProperty','_state$','infoRsp','getValue','createCollaborator','liveShareNewHost','isTransformChangesetsSuccess','decrypt','_toggleOnline','Rectangle','mixIn','_awaitingChangeset','shareReplay','[OfflineState]:\x20received\x20rejection.','fetching\x20missing\x20changesets\x20from\x20','Inject','DEFAULT_FILE_NAME','_getLoginPath','updatePermissionObjEvent','_undoStacks','_config','NO_OTHER_CLIENTS_EDITING','_createInitialState','AwaitingWithPendingState','leaveEvent','delete','getActiveSheet','fromCollab','Decryptor','[SyncedState]:\x20received\x20rejection.','_cipher','CONNECTOR_DATA_TOO_LARGE','_mode','textRanges','[PendingState]:\x20received\x20acknowledgement.','getUnitId','MOBILE_HAS_BEEN_BOUND','_handler','message$','catch','resolve','socket\x20open.','UUID','unsubscribe','repeat','_configService','_entities','put','OPTIONAL','_retryCount','pending','result','updateCursorEvent','replace','_keySchedule','_invKeySchedule','INVALID_ARGUMENT','eventID','BlockCipherMode','title','CollaborationSocketService','SUCCUSS','requireSession','/universer-api/comb','SNAPSHOT_SERVER_URL_KEY','parseProtocolChangeset','ISocketService','_transformService','ERROR_EXCEED_SIZE','RETRY_CONNECTING_MAX_COUNT_KEY','JOIN','has','clamp','_schedule','_socketReady','getCollabEntity','max','session.room-not-exists','toString','IConfigService','/role','POST','waitForRoom$','_initRequestHeader','NOT_FOUND','HEARTBEAT_TIMEOUT','SessionStatus','_reverseMap','set','getUnitStatus$','serializeCombRequest','reject','CollaborationImageIoService','PERMISSION_DENIED','entityInit$','snapshot','_shouldReportTelemetry','_oKey','splice','body','LOGIN_FAILED','onMissingChangesets','memberID','isPermissionRej','now','selections','_transformSelections','onStarting','_remoteChangesetQueue','synced','_socketMessageSubscription','22957gcDMNP','loginUrlKey','ISingleActiveUnitService','getConfig','UNISCRIPT_RUN','WECHAT_HAS_BEEN_BOUND','MSG_FOR_ERROR','_univerInstanceService','ICommandService','_imageSourceCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','floor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_createSocket','changesets','UNAUTHENTICATED','CHANGESET_SHOULD_RETRY','addImageSourceCache','_clearTimeoutTimer','forEach','_getDownloadEndpointURL','string','awaiting_with_pending','onTransformSelections','liveShareOperation','_commentUpdate$','DEFAULT_WS_SESSION_TICKET_URL','IImageIoService','MemberService','setWaitCount','findIndex','APPLY_REJECT','fetchMissingChangesets','_joinRoom','_disableEditing','_clearLocalCache','_updateState','HEARTBEAT_INTERVAL_KEY','rxjs','CompressMutationService','CHANGESET_REJ','session.room-cnt-exceeds','SNAPSHOT_INVALID_SNAPSHOT','keySize','UNIVER_COLLABORATION_CLIENT_PLUGIN','fetchMiss','msCrypto','onSyncEditingCollabCursor','c1Prime','/universer-api/snapshot/','getCurrentRevOfUnit','b64DecodeUnicode','_rescheduleHeartbeat','href','onRemoteAck','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Univer','_sendHeartbeatTimer','_collaborationUIEventService','exports','[SyncedState]:\x20received\x20acknowledgement.','unitId','getGlobalObject','_clearRetryConnectingTimer','Base64','UnitSnapshot','StreamCipher','IDLE','_getSignURL','userID','_revisionService','_removeRoom','DEFAULT_COLLAB_WEB_SOCKET_URL','duration','open$','_transformRemoteChangesetByIMECache','compute','ITelemetryService','createEncryptor','_doFinalize','getFocusedUnit','ImageSourceType','removeMember','event$','_xformMode','auth.needGotoLoginAlert','APPLY_REVISION_CONFILICT','toggleOffline','_startTelemetryCollaborationNewChangeset','registerDependencies','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','transformUndoRedo','UserProfileImg','_resendWithTimeout','_isPermissionRej','asObservable','textEncoder','loadUnitOfRevision','mutations','_onRemoteChangeset','appendMutation','error','{fileID}','state','_substituteUndoStack','COMMENT_UPDATE','_onCombEvent','putCollaborators','setConfig','Module','sid','prototype','transformMutationsWithChangeset','target','_createHelper','_nDataBytes','_collaborationTimeoutTimer','symbol','send','salt','RETRY_CONNECTING_MAX_COUNT','length','SYNCED','collaboratorID','newCsEvent','method','Error\x20on\x20receiving\x20event','find','kdf','/allowed','offline','getUnit','execute','_applyRemoteChangeset','post','finalize','RevisionService','_roomMembers','session.room-full','_checkMissing','_doReset','JOIN_ROOM_PERMISSION_DENIED','buffer','UniverInstanceType','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','every','BlockCipher','Quantity','crypto','state$','_onRecvEvent','Tools','format','CHANGESET_REVISION_CONFILICT','_retryConnectingTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','INetworkConditionService','update','JOIN_ROOM_FULL','_status$','onCommandExecuted','getMemberID','encode','_redoStacks','/object','ivSize','HELLO','3907482PgfAQe','_permissionService','_localCacheService','_substituteRedoStack','_onFetchMissResult','CollaborativeUndoRedoService','_entityInit$','APPLY_NON_SEQUENTIAL_REVISION','_eventService','updatePermissionPoint','LEAVE','BASE64','IAuthzIoService','LocaleService','_collaborationSessionService','members','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','PENDING','[FetchMissState]','Base','JOIN_ROOM_NOT_EXISTS','_doCreateSocket','_lockTransition','action','create','_stopTelemetryCollaborationNewChangeset','_updateLocalCache','fetch_missing','[CollaborationEntity]','_commentService','/universer-api/stream/file/upload','/universer-api/user/session-ticket','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_transitionLocked','getUnitOnRev','charAt','_members','IUndoRedoService','mergeOverrideWithDependencies','DependentOn','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','status$','slice','SUBMIT_CHANGESET_TIMEOUT','_networkConditionService','getTypeOfUnitAdded$','_HTTPService','UNIVER_DOC','createInstance','add','_onLocalMutation','transformStack\x20failed!','RichTextEditingMutation','APPLY_PERMISSION_DENIED','_doProcessBlock','DataLoaderService','data','PY_RUNTIME_SCRIPT_ERROR','pluginName','_submitChangeset','_data','session','YUUMI_NO_CUBOID_FOR_QUESTION','_acknowledgedAwaitingChangeset','_pendingMutations','_changesetReqId','code','_prevBlock','_incrementRevisionNumber','_clearScheduledTask','_createHandler','_createInitialStateImpl','ILogService','onCommentUpdate','LOGIN_URL_KEY','CollaborationController','getRoom','loadUnit','retryConnectingInterval','closeSession','getInterceptPoints','Undefined','enableCollaboration','__esModule','type','ceil','AwaitingState','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IUniverInstanceService','_syncEditingCollabCursor','_getCurrentRevision','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','status','_initMergeInterceptor','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_timeoutTimer','_updateStatus','deserializeToCombResponse','_doCryptBlock','OFFLINE','_toggleOffline','_clearHeartbeatTimer','_transformUndoredo','$super','OTHER_CLIENTS_EDITING','concat','image/gif','LICENSE_EXPORT_SIZE_EXCEEDED','SOCKET_FAILED_RETRY','addHandlerCallback','INTERNAL_ERROR','YUUMI_ASYNCIO_CANCELLED','YUUMI_RATE_OVER_LIMIT','JOINING','onTransformRemoteChangesetByStateCache','[CollaborationSessionService]','LIVESHARE_TERMINATE','USERS_LEAVE','23408810ycOyBQ','_transformIMECache','_injector','location','SyncedState','joinRsp','AUTHZ_URL_KEY','_handlerCallback','UPDATE_PERMISSION_OBJ','_unitID','name','Optional','pad','Hex','default','collaborators','getUnitType','size','unitInfo$','uuidv4','rxjs/operators','CollaborationEvent','c2Prime','error$','session.join-failed','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','readyForCollab','_transformStateCache','_collaborationPaused','_commandService','_sessionStatus$','_snapshotServerService','unit-cache-','sessionStatus$','SnapshotServerOverHTTPService','WordArray','sheets','editingUnit','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','IPermissionService','LICENSE_IMPORT_SIZE_EXCEEDED','[UniverCollaborationClientPlugin]','_initDependencies','AuthzIoHttpService','parse','COMPRESS_MUTATION_APPLY','ciphertext','BehaviorSubject','HttpImport','LIVESHARE_REQUEST_HOST','copyFileMeta','_telemetryInfo','UNIVER_SLIDE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','RxDisposable','_iv','_onRemoteRejected','collabSubmitChangesetUrl','_getUndoStack','PendingState','saveChangeset','_onRemoteRetry','online$','COLLAB_WEB_SOCKET_URL_KEY','_initCloseConn','65466UnGzRX','unknown','LICENSE_DISTRO_REJECTED','ISnapshotServerService','YUUMI_URL_COL_OUT_OF_RANGE','awaitingChangeset','registerHTTPInterceptor','CollaborationEntity','/object/','\x20to\x20','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Pkcs7','/-/object/list','takeUntil','/collaborator','getAllMembers','DocCollaborationEntity','HEARTBEAT','getImageSourceCache','/universer-api/authz','onRemoteRej','_members$','_hash','permissionRejEvent','_collabSessionService','[CollaborationUndoRedoService]','CollaborationSessionService','_sender','transformChangesets'];_0x347f=function(){return _0xfa0076;};return _0x347f();}exports[_0x72c010(0x3c8)]=class extends a[_0x72c010(0x1df)]{constructor(_0x4a9f69,_0x4cc8dc){var _0xdf595b=_0x72c010;super(),this[_0xdf595b(0x355)]=_0x4a9f69,this[_0xdf595b(0x23d)]=_0x4cc8dc,this[_0xdf595b(0x384)]();}[_0x72c010(0x384)](){var _0x2a018d=_0x72c010;const _0x1e052b=this;this[_0x2a018d(0x1ef)](this[_0x2a018d(0x355)][_0x2a018d(0x3e4)]({'priority':0x3e7,'interceptor':Y[_0x2a018d(0x45f)]({'isMatch'(_0x2e1887){var _0x16e3a3=_0x2a018d,_0x3597c1;if(_0x2e1887[_0x16e3a3(0x2fd)]===_0x16e3a3(0x261)&&((_0x3597c1=_0x2e1887['requestParams'])!=null&&_0x3597c1['body'])){const {objectID:_0x412756,objectType:_0x4beb6d}=_0x2e1887[_0x16e3a3(0x416)][_0x16e3a3(0x273)]||{};if(!_0x412756||_0x4beb6d===void 0x0)return!0x1;const _0xff693b=_0x1e052b['_getAPIPrefixPath']()+'/'+_0x4beb6d+_0x16e3a3(0x3e6)+_0x412756+_0x16e3a3(0x301);if(_0x2e1887[_0x16e3a3(0x1d7)]===_0xff693b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd927a2){var _0x3380b7=_0x2a018d,_0x3c156e;return(_0x3c156e=_0xd927a2['requestParams'])==null?void 0x0:_0x3c156e[_0x3380b7(0x273)];},'mergeParamsToRequest'(_0x4f13b1,_0x4d3854){var _0x7aaa85=_0x2a018d;const _0x9deaa9=_0x1e052b[_0x7aaa85(0x488)]()+_0x7aaa85(0x404),_0x29085a=_0x4f13b1[_0x7aaa85(0x49a)]((_0x2d2726,_0x3dc557)=>{var _0x4302de=_0x7aaa85;const {unitID:_0x321ccc,objectID:_0x58cff2,objectType:_0xe702d,actions:_0x409cf5}=_0x3dc557;return _0x2d2726[_0x321ccc]||(_0x2d2726[_0x321ccc]={}),_0x2d2726[_0x321ccc][_0x58cff2]||(_0x2d2726[_0x321ccc][_0x58cff2]={'objectID':_0x58cff2,'objectType':_0xe702d,'actions':[]}),_0x2d2726[_0x321ccc][_0x58cff2][_0x4302de(0x1c3)][_0x4302de(0x41b)](..._0x409cf5),_0x2d2726;},{}),_0x24be4c=[];for(const _0x4806c8 in _0x29085a)for(const _0x31b78b in _0x29085a[_0x4806c8]){const {actions:_0x40a987,objectType:_0xcbab41}=_0x29085a[_0x4806c8][_0x31b78b],_0x211be5=[...new Set(_0x40a987)];_0x24be4c[_0x7aaa85(0x41b)]({'unitID':_0x4806c8,'objectID':_0x31b78b,'objectType':_0xcbab41,'actions':_0x211be5});}return new Y[(_0x7aaa85(0x45d))](_0x7aaa85(0x261),_0x9deaa9,{'headers':_0x4d3854['headers'],'withCredentials':_0x4d3854[_0x7aaa85(0x47e)],'responseType':_0x4d3854[_0x7aaa85(0x485)],'body':{'requests':_0x24be4c}});}},{'distributeResult'(_0xbb9167,_0x2478f8){const {objectActions:_0x78f827}=_0xbb9167;return _0x2478f8['map'](_0x17f39e=>{var _0x107fcc=_0x284f;const {unitID:_0x2c43b1,objectID:_0x9f7fcb,actions:_0x1d5316}=_0x17f39e,_0x3deb85=_0x78f827[_0x107fcc(0x2ff)](_0x5ab631=>_0x5ab631['unitID']===_0x2c43b1&&_0x5ab631[_0x107fcc(0x44a)]===_0x9f7fcb),_0x2f34f3=_0x1d5316[_0x107fcc(0x14c)](_0xcf27bc=>_0x3deb85==null?void 0x0:_0x3deb85[_0x107fcc(0x1c3)][_0x107fcc(0x2ff)](_0x18143=>_0x18143[_0x107fcc(0x33e)]===_0xcf27bc))[_0x107fcc(0x1cb)](_0x170116=>!!_0x170116);return{'config':_0x17f39e,'result':{'actions':_0x2f34f3,'error':_0xbb9167['error']}};});}})}));}[_0x72c010(0x488)](){var _0x32d2ec=_0x72c010,_0x919a69,_0x1ce5ad;const _0xb1febd=this[_0x32d2ec(0x23d)][_0x32d2ec(0x282)](Ve),_0xab1c2e=this[_0x32d2ec(0x23d)][_0x32d2ec(0x282)](K);return(_0x1ce5ad=(_0x919a69=_0xab1c2e==null?void 0x0:_0xab1c2e[_0x32d2ec(0x402)])!=null?_0x919a69:_0xb1febd)!=null?_0x1ce5ad:Ri;}async[_0x72c010(0x33f)](_0x1c9434){var _0x16beda=_0x72c010;const _0xbad0a2=this[_0x16beda(0x488)]()+'/'+_0x1c9434[_0x16beda(0x15f)]+_0x16beda(0x324);return(await this[_0x16beda(0x355)][_0x16beda(0x306)](_0xbad0a2,{'body':_0x1c9434}))[_0x16beda(0x273)][_0x16beda(0x44a)]||'';}async[_0x72c010(0x424)](_0x14faae){var _0x325e40=_0x72c010;const _0x4194db=this['_getAPIPrefixPath']()+_0x325e40(0x3ea);return(await this[_0x325e40(0x355)]['post'](_0x4194db,{'body':_0x14faae}))[_0x325e40(0x273)][_0x325e40(0x4b1)];}async[_0x72c010(0x31d)](_0x300481){var _0x3b764e=_0x72c010,_0x575456,_0x3a35ba;const _0x8b3417=this['_getAPIPrefixPath']()+'/'+_0x300481[_0x3b764e(0x15f)]+_0x3b764e(0x3e6)+_0x300481[_0x3b764e(0x44a)],_0x11aa86=await this[_0x3b764e(0x355)][_0x3b764e(0x23f)](_0x8b3417,{'body':_0x300481});if(((_0x3a35ba=(_0x575456=_0x11aa86==null?void 0x0:_0x11aa86['body'])==null?void 0x0:_0x575456[_0x3b764e(0x2e5)])==null?void 0x0:_0x3a35ba['code'])!==0x1)throw new Error(_0x3b764e(0x41f));}async['allowed'](_0x1a0ab6){var _0x7e103=_0x72c010;const _0x17db9e=this[_0x7e103(0x488)]()+'/'+_0x1a0ab6[_0x7e103(0x15f)]+_0x7e103(0x3e6)+_0x1a0ab6[_0x7e103(0x44a)]+_0x7e103(0x301);return(await this[_0x7e103(0x355)][_0x7e103(0x306)](_0x17db9e,{'body':_0x1a0ab6}))['body']['actions'];}async[_0x72c010(0x1fe)](_0x21d26a){var _0x11e99f=_0x72c010;const _0x5af2d9=this[_0x11e99f(0x488)]()+_0x11e99f(0x404);return(await this[_0x11e99f(0x355)][_0x11e99f(0x306)](_0x5af2d9,{'body':{'requests':_0x21d26a}}))['body']['objectActions'];}async['listRoles'](_0x14ea11){var _0x3eac45=_0x72c010;const _0x4f3252=this[_0x3eac45(0x488)]()+'/'+_0x14ea11['objectType']+_0x3eac45(0x260),_0x38ab3d=await this[_0x3eac45(0x355)][_0x3eac45(0x306)](_0x4f3252,{'body':_0x14ea11});return{'roles':_0x38ab3d[_0x3eac45(0x273)][_0x3eac45(0x18e)],'actions':_0x38ab3d[_0x3eac45(0x273)][_0x3eac45(0x1c3)]};}async['deleteCollaborator'](_0x1736dc){var _0x59ca28=_0x72c010;const _0x500822=this['_getAPIPrefixPath']()+_0x59ca28(0x3ec);await this[_0x59ca28(0x355)][_0x59ca28(0x229)](_0x500822,{'params':{'collaboratorID':_0x1736dc[_0x59ca28(0x2fb)],'objectID':_0x1736dc[_0x59ca28(0x44a)],'unitID':_0x1736dc[_0x59ca28(0x4af)]}});}async[_0x72c010(0x2da)](_0x45bc80){var _0x2d2d8f=_0x72c010;const _0x3b2692=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2d2d8f(0x355)][_0x2d2d8f(0x1b5)](_0x3b2692,{'body':_0x45bc80});}async[_0x72c010(0x214)](_0x2513a8){var _0x1a33e7=_0x72c010;const _0x2d6bee=this[_0x1a33e7(0x488)]()+_0x1a33e7(0x3ec);await this[_0x1a33e7(0x355)]['post'](_0x2d6bee,{'body':_0x2513a8});}async[_0x72c010(0x44f)](_0x38887d){var _0x11d3d5=_0x72c010;const _0x7e4d69=this[_0x11d3d5(0x488)]()+_0x11d3d5(0x3ec);return(await this[_0x11d3d5(0x355)][_0x11d3d5(0x4b7)](_0x7e4d69,{'params':{'objectID':_0x38887d[_0x11d3d5(0x44a)],'unitID':_0x38887d[_0x11d3d5(0x4af)]}}))[_0x11d3d5(0x273)][_0x11d3d5(0x3ac)];}async[_0x72c010(0x2eb)](_0x137ac5){var _0x4a997c=_0x72c010;const _0x1687b3=this['_getAPIPrefixPath']()+_0x4a997c(0x3ec);await this[_0x4a997c(0x355)]['put'](_0x1687b3,{'body':_0x137ac5});}},exports[_0x72c010(0x3c8)]=bi([qe(0x0,a[_0x72c010(0x21f)](Y['HTTPService'])),qe(0x1,a[_0x72c010(0x21f)](a[_0x72c010(0x25f)]))],exports[_0x72c010(0x3c8)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3173d9){var _0x45915f=_0x72c010;return _0x3173d9&&_0x3173d9[_0x45915f(0x37a)]&&Object['prototype'][_0x45915f(0x1f6)][_0x45915f(0x478)](_0x3173d9,_0x45915f(0x3ab))?_0x3173d9['default']:_0x3173d9;}var fe={'exports':{}};function Oi(_0x1d375c){var _0x45634a=_0x72c010;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d375c+_0x45634a(0x3c3));}var pe={'exports':{}},yi=pe[_0x72c010(0x2ba)],ze;function Q(){var _0x82900b=_0x72c010;return ze||(ze=0x1,function(_0x2ba876,_0x340383){(function(_0x4116bb,_0x103535){var _0xfd7bdc=_0x284f;_0x2ba876[_0xfd7bdc(0x2ba)]=_0x103535();}(yi,function(){var _0xb2a711=_0xb2a711||function(_0x31fca2,_0x4fefcb){var _0x5bfe6e=_0x284f,_0x586a60;if(typeof window<'u'&&window[_0x5bfe6e(0x314)]&&(_0x586a60=window[_0x5bfe6e(0x314)]),typeof self<'u'&&self[_0x5bfe6e(0x314)]&&(_0x586a60=self[_0x5bfe6e(0x314)]),typeof globalThis<'u'&&globalThis[_0x5bfe6e(0x314)]&&(_0x586a60=globalThis[_0x5bfe6e(0x314)]),!_0x586a60&&typeof window<'u'&&window[_0x5bfe6e(0x2ad)]&&(_0x586a60=window[_0x5bfe6e(0x2ad)]),!_0x586a60&&typeof Pe<'u'&&Pe[_0x5bfe6e(0x314)]&&(_0x586a60=Pe[_0x5bfe6e(0x314)]),!_0x586a60&&typeof Oi=='function')try{_0x586a60=require(_0x5bfe6e(0x314));}catch{}var _0xf1f64d=function(){var _0x10dde4=_0x5bfe6e;if(_0x586a60){if(typeof _0x586a60[_0x10dde4(0x45c)]==_0x10dde4(0x206))try{return _0x586a60[_0x10dde4(0x45c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x586a60[_0x10dde4(0x209)]==_0x10dde4(0x206))try{return _0x586a60['randomBytes'](0x4)[_0x10dde4(0x145)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x47928a=Object['create']||(function(){function _0x2b0c9d(){}return function(_0x33e4d4){var _0x5d0199=_0x284f,_0x2c72e7;return _0x2b0c9d[_0x5d0199(0x2ef)]=_0x33e4d4,_0x2c72e7=new _0x2b0c9d(),_0x2b0c9d[_0x5d0199(0x2ef)]=null,_0x2c72e7;};}()),_0x5ca683={},_0x56a03f=_0x5ca683['lib']={},_0x3f51ed=_0x56a03f[_0x5bfe6e(0x33a)]=(function(){return{'extend':function(_0x3d076c){var _0x83802d=_0x284f,_0x4ed2d6=_0x47928a(this);return _0x3d076c&&_0x4ed2d6['mixIn'](_0x3d076c),(!_0x4ed2d6['hasOwnProperty'](_0x83802d(0x154))||this['init']===_0x4ed2d6['init'])&&(_0x4ed2d6[_0x83802d(0x154)]=function(){var _0x475923=_0x83802d;_0x4ed2d6[_0x475923(0x38e)]['init'][_0x475923(0x20a)](this,arguments);}),_0x4ed2d6['init']['prototype']=_0x4ed2d6,_0x4ed2d6[_0x83802d(0x38e)]=this,_0x4ed2d6;},'create':function(){var _0x5072ac=_0x284f,_0x391e7a=this['extend']();return _0x391e7a[_0x5072ac(0x154)][_0x5072ac(0x20a)](_0x391e7a,arguments),_0x391e7a;},'init':function(){},'mixIn':function(_0x4f9077){var _0x4d66c3=_0x284f;for(var _0x33909b in _0x4f9077)_0x4f9077['hasOwnProperty'](_0x33909b)&&(this[_0x33909b]=_0x4f9077[_0x33909b]);_0x4f9077[_0x4d66c3(0x1f6)](_0x4d66c3(0x25e))&&(this['toString']=_0x4f9077[_0x4d66c3(0x25e)]);},'clone':function(){var _0x176598=_0x284f;return this['init']['prototype'][_0x176598(0x17f)](this);}};}()),_0x5f233b=_0x56a03f[_0x5bfe6e(0x3c0)]=_0x3f51ed['extend']({'init':function(_0x3abee2,_0x4dd90c){var _0x1ca9c7=_0x5bfe6e;_0x3abee2=this['words']=_0x3abee2||[],_0x4dd90c!=_0x4fefcb?this['sigBytes']=_0x4dd90c:this[_0x1ca9c7(0x1cd)]=_0x3abee2[_0x1ca9c7(0x2f9)]*0x4;},'toString':function(_0x441330){var _0x312eef=_0x5bfe6e;return(_0x441330||_0x342fc7)[_0x312eef(0x45a)](this);},'concat':function(_0x53cc5a){var _0x4e3534=_0x5bfe6e,_0x25d354=this[_0x4e3534(0x1aa)],_0x47e24e=_0x53cc5a[_0x4e3534(0x1aa)],_0x56b951=this[_0x4e3534(0x1cd)],_0x123ccf=_0x53cc5a['sigBytes'];if(this[_0x4e3534(0x258)](),_0x56b951%0x4)for(var _0x16565f=0x0;_0x16565f<_0x123ccf;_0x16565f++){var _0x3f863e=_0x47e24e[_0x16565f>>>0x2]>>>0x18-_0x16565f%0x4*0x8&0xff;_0x25d354[_0x56b951+_0x16565f>>>0x2]|=_0x3f863e<<0x18-(_0x56b951+_0x16565f)%0x4*0x8;}else{for(var _0x1da2d0=0x0;_0x1da2d0<_0x123ccf;_0x1da2d0+=0x4)_0x25d354[_0x56b951+_0x1da2d0>>>0x2]=_0x47e24e[_0x1da2d0>>>0x2];}return this[_0x4e3534(0x1cd)]+=_0x123ccf,this;},'clamp':function(){var _0x34f041=_0x5bfe6e,_0x52d986=this[_0x34f041(0x1aa)],_0x100c77=this['sigBytes'];_0x52d986[_0x100c77>>>0x2]&=0xffffffff<<0x20-_0x100c77%0x4*0x8,_0x52d986[_0x34f041(0x2f9)]=_0x31fca2[_0x34f041(0x37c)](_0x100c77/0x4);},'clone':function(){var _0x3b4e7d=_0x5bfe6e,_0x206820=_0x3f51ed[_0x3b4e7d(0x15e)][_0x3b4e7d(0x478)](this);return _0x206820['words']=this[_0x3b4e7d(0x1aa)][_0x3b4e7d(0x351)](0x0),_0x206820;},'random':function(_0x2ad1ec){var _0x198257=_0x5bfe6e;for(var _0x56030b=[],_0x37800a=0x0;_0x37800a<_0x2ad1ec;_0x37800a+=0x4)_0x56030b[_0x198257(0x41b)](_0xf1f64d());return new _0x5f233b[(_0x198257(0x154))](_0x56030b,_0x2ad1ec);}}),_0x586c1b=_0x5ca683[_0x5bfe6e(0x44e)]={},_0x342fc7=_0x586c1b[_0x5bfe6e(0x3aa)]={'stringify':function(_0x235305){var _0x5330b4=_0x5bfe6e;for(var _0x1707d6=_0x235305[_0x5330b4(0x1aa)],_0x1e1276=_0x235305[_0x5330b4(0x1cd)],_0x2ee85a=[],_0x88882d=0x0;_0x88882d<_0x1e1276;_0x88882d++){var _0x3146f9=_0x1707d6[_0x88882d>>>0x2]>>>0x18-_0x88882d%0x4*0x8&0xff;_0x2ee85a[_0x5330b4(0x41b)]((_0x3146f9>>>0x4)[_0x5330b4(0x25e)](0x10)),_0x2ee85a[_0x5330b4(0x41b)]((_0x3146f9&0xf)[_0x5330b4(0x25e)](0x10));}return _0x2ee85a[_0x5330b4(0x445)]('');},'parse':function(_0xd6dba0){var _0x1a48cd=_0x5bfe6e;for(var _0x297cbf=_0xd6dba0[_0x1a48cd(0x2f9)],_0x1f9ffe=[],_0x5a30cf=0x0;_0x5a30cf<_0x297cbf;_0x5a30cf+=0x2)_0x1f9ffe[_0x5a30cf>>>0x3]|=parseInt(_0xd6dba0[_0x1a48cd(0x460)](_0x5a30cf,0x2),0x10)<<0x18-_0x5a30cf%0x8*0x4;return new _0x5f233b['init'](_0x1f9ffe,_0x297cbf/0x2);}},_0xec2a75=_0x586c1b[_0x5bfe6e(0x164)]={'stringify':function(_0x4385d8){var _0x2abcec=_0x5bfe6e;for(var _0x197fe9=_0x4385d8[_0x2abcec(0x1aa)],_0xe7a72d=_0x4385d8['sigBytes'],_0x425294=[],_0x71da99=0x0;_0x71da99<_0xe7a72d;_0x71da99++){var _0x18cb20=_0x197fe9[_0x71da99>>>0x2]>>>0x18-_0x71da99%0x4*0x8&0xff;_0x425294['push'](String[_0x2abcec(0x1c5)](_0x18cb20));}return _0x425294[_0x2abcec(0x445)]('');},'parse':function(_0x4f4a27){var _0xdb501c=_0x5bfe6e;for(var _0x18358=_0x4f4a27['length'],_0x209e98=[],_0x537026=0x0;_0x537026<_0x18358;_0x537026++)_0x209e98[_0x537026>>>0x2]|=(_0x4f4a27[_0xdb501c(0x1d4)](_0x537026)&0xff)<<0x18-_0x537026%0x4*0x8;return new _0x5f233b[(_0xdb501c(0x154))](_0x209e98,_0x18358);}},_0x56c3da=_0x586c1b[_0x5bfe6e(0x159)]={'stringify':function(_0x20aa52){var _0x38143c=_0x5bfe6e;try{return decodeURIComponent(escape(_0xec2a75[_0x38143c(0x45a)](_0x20aa52)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x71533b){var _0x6e849d=_0x5bfe6e;return _0xec2a75[_0x6e849d(0x3c9)](unescape(encodeURIComponent(_0x71533b)));}},_0x16f950=_0x56a03f['BufferedBlockAlgorithm']=_0x3f51ed[_0x5bfe6e(0x17f)]({'reset':function(){var _0x43196f=_0x5bfe6e;this[_0x43196f(0x363)]=new _0x5f233b['init'](),this[_0x43196f(0x2f3)]=0x0;},'_append':function(_0x393730){var _0x147771=_0x5bfe6e;typeof _0x393730==_0x147771(0x294)&&(_0x393730=_0x56c3da[_0x147771(0x3c9)](_0x393730)),this[_0x147771(0x363)]['concat'](_0x393730),this[_0x147771(0x2f3)]+=_0x393730[_0x147771(0x1cd)];},'_process':function(_0x5817cb){var _0x44e0cd=_0x5bfe6e,_0x9119a5,_0x432395=this['_data'],_0x54b66e=_0x432395[_0x44e0cd(0x1aa)],_0x39069a=_0x432395[_0x44e0cd(0x1cd)],_0x5d0e6a=this['blockSize'],_0x423cc5=_0x5d0e6a*0x4,_0x5549d5=_0x39069a/_0x423cc5;_0x5817cb?_0x5549d5=_0x31fca2['ceil'](_0x5549d5):_0x5549d5=_0x31fca2[_0x44e0cd(0x25c)]((_0x5549d5|0x0)-this[_0x44e0cd(0x208)],0x0);var _0x52d883=_0x5549d5*_0x5d0e6a,_0xcde870=_0x31fca2[_0x44e0cd(0x1a0)](_0x52d883*0x4,_0x39069a);if(_0x52d883){for(var _0x551ba4=0x0;_0x551ba4<_0x52d883;_0x551ba4+=_0x5d0e6a)this[_0x44e0cd(0x35d)](_0x54b66e,_0x551ba4);_0x9119a5=_0x54b66e[_0x44e0cd(0x272)](0x0,_0x52d883),_0x432395[_0x44e0cd(0x1cd)]-=_0xcde870;}return new _0x5f233b['init'](_0x9119a5,_0xcde870);},'clone':function(){var _0x18cf23=_0x5bfe6e,_0x934950=_0x3f51ed[_0x18cf23(0x15e)][_0x18cf23(0x478)](this);return _0x934950[_0x18cf23(0x363)]=this['_data'][_0x18cf23(0x15e)](),_0x934950;},'_minBufferSize':0x0});_0x56a03f[_0x5bfe6e(0x157)]=_0x16f950['extend']({'cfg':_0x3f51ed[_0x5bfe6e(0x17f)](),'init':function(_0x5e7bc3){var _0x3380d6=_0x5bfe6e;this[_0x3380d6(0x483)]=this['cfg']['extend'](_0x5e7bc3),this[_0x3380d6(0x179)]();},'reset':function(){var _0x27838a=_0x5bfe6e;_0x16f950[_0x27838a(0x179)][_0x27838a(0x478)](this),this[_0x27838a(0x30c)]();},'update':function(_0x1b84db){var _0x35d313=_0x5bfe6e;return this[_0x35d313(0x1b9)](_0x1b84db),this[_0x35d313(0x419)](),this;},'finalize':function(_0x399cf6){var _0x56360d=_0x5bfe6e;_0x399cf6&&this[_0x56360d(0x1b9)](_0x399cf6);var _0x54317c=this[_0x56360d(0x2ce)]();return _0x54317c;},'blockSize':0x10,'_createHelper':function(_0x102c7b){return function(_0x3c38fe,_0x1ed4ba){var _0x1aa67c=_0x284f;return new _0x102c7b[(_0x1aa67c(0x154))](_0x1ed4ba)[_0x1aa67c(0x307)](_0x3c38fe);};},'_createHmacHelper':function(_0x450ce0){return function(_0x1f51bb,_0x21f952){var _0x2cf261=_0x284f;return new _0x2cb6b4[(_0x2cf261(0x1f7))][(_0x2cf261(0x154))](_0x450ce0,_0x21f952)[_0x2cf261(0x307)](_0x1f51bb);};}});var _0x2cb6b4=_0x5ca683[_0x5bfe6e(0x203)]={};return _0x5ca683;}(Math);return _0xb2a711;}));}(pe)),pe[_0x82900b(0x2ba)];}var Ie={'exports':{}},Ni=Ie[_0x72c010(0x2ba)],Je;function yt(){var _0x23422f=_0x72c010;return Je||(Je=0x1,function(_0x50f60c,_0x5635b1){(function(_0x45d290,_0x24667f){var _0x3da731=_0x284f;_0x50f60c[_0x3da731(0x2ba)]=_0x24667f(Q());}(Ni,function(_0x4b2364){var _0x3525cf=_0x284f;return(function(){var _0x353b1f=_0x284f,_0x2a9e00=_0x4b2364,_0x4e597f=_0x2a9e00[_0x353b1f(0x1e1)],_0x222a66=_0x4e597f[_0x353b1f(0x3c0)],_0x11d1df=_0x2a9e00[_0x353b1f(0x44e)];_0x11d1df[_0x353b1f(0x2bf)]={'stringify':function(_0x24ae8a){var _0x4e7b16=_0x353b1f,_0xe6481f=_0x24ae8a[_0x4e7b16(0x1aa)],_0x52c971=_0x24ae8a[_0x4e7b16(0x1cd)],_0x947c04=this[_0x4e7b16(0x44d)];_0x24ae8a[_0x4e7b16(0x258)]();for(var _0x3da394=[],_0x5d702e=0x0;_0x5d702e<_0x52c971;_0x5d702e+=0x3)for(var _0x9ae9bf=_0xe6481f[_0x5d702e>>>0x2]>>>0x18-_0x5d702e%0x4*0x8&0xff,_0x5359ec=_0xe6481f[_0x5d702e+0x1>>>0x2]>>>0x18-(_0x5d702e+0x1)%0x4*0x8&0xff,_0x4b80a2=_0xe6481f[_0x5d702e+0x2>>>0x2]>>>0x18-(_0x5d702e+0x2)%0x4*0x8&0xff,_0x151194=_0x9ae9bf<<0x10|_0x5359ec<<0x8|_0x4b80a2,_0x1d128c=0x0;_0x1d128c<0x4&&_0x5d702e+_0x1d128c*0.75<_0x52c971;_0x1d128c++)_0x3da394['push'](_0x947c04[_0x4e7b16(0x34a)](_0x151194>>>0x6*(0x3-_0x1d128c)&0x3f));var _0x371381=_0x947c04['charAt'](0x40);if(_0x371381){for(;_0x3da394[_0x4e7b16(0x2f9)]%0x4;)_0x3da394['push'](_0x371381);}return _0x3da394[_0x4e7b16(0x445)]('');},'parse':function(_0xb69cf1){var _0x4eea27=_0x353b1f,_0x874343=_0xb69cf1[_0x4eea27(0x2f9)],_0x15619b=this[_0x4eea27(0x44d)],_0x1a09ba=this[_0x4eea27(0x267)];if(!_0x1a09ba){_0x1a09ba=this[_0x4eea27(0x267)]=[];for(var _0x2f1678=0x0;_0x2f1678<_0x15619b[_0x4eea27(0x2f9)];_0x2f1678++)_0x1a09ba[_0x15619b[_0x4eea27(0x1d4)](_0x2f1678)]=_0x2f1678;}var _0x4df31e=_0x15619b[_0x4eea27(0x34a)](0x40);if(_0x4df31e){var _0x2bb4ec=_0xb69cf1['indexOf'](_0x4df31e);_0x2bb4ec!==-0x1&&(_0x874343=_0x2bb4ec);}return _0x305176(_0xb69cf1,_0x874343,_0x1a09ba);},'_map':_0x353b1f(0x1e0)};function _0x305176(_0x32fb8b,_0x363182,_0x1b78e2){var _0x2f0309=_0x353b1f;for(var _0x796906=[],_0x1f2041=0x0,_0x37a194=0x0;_0x37a194<_0x363182;_0x37a194++)if(_0x37a194%0x4){var _0x25dbab=_0x1b78e2[_0x32fb8b[_0x2f0309(0x1d4)](_0x37a194-0x1)]<<_0x37a194%0x4*0x2,_0x3b3e68=_0x1b78e2[_0x32fb8b[_0x2f0309(0x1d4)](_0x37a194)]>>>0x6-_0x37a194%0x4*0x2,_0x4da478=_0x25dbab|_0x3b3e68;_0x796906[_0x1f2041>>>0x2]|=_0x4da478<<0x18-_0x1f2041%0x4*0x8,_0x1f2041++;}return _0x222a66[_0x2f0309(0x33f)](_0x796906,_0x1f2041);}}()),_0x4b2364['enc'][_0x3525cf(0x2bf)];}));}(Ie)),Ie[_0x23422f(0x2ba)];}var ge={'exports':{}},Ui=ge[_0x72c010(0x2ba)],Xe;function Di(){var _0x3e8deb=_0x72c010;return Xe||(Xe=0x1,function(_0x105844,_0x173b38){(function(_0x131ce8,_0x334667){_0x105844['exports']=_0x334667(Q());}(Ui,function(_0x47fd7e){var _0x5b4a38=_0x284f;return function(_0x1cc6c3){var _0x5301b1=_0x284f,_0x45f4b4=_0x47fd7e,_0x25150a=_0x45f4b4[_0x5301b1(0x1e1)],_0x30b38d=_0x25150a[_0x5301b1(0x3c0)],_0x13b871=_0x25150a[_0x5301b1(0x157)],_0x15e6c4=_0x45f4b4[_0x5301b1(0x203)],_0x418b09=[];(function(){var _0x51705b=_0x5301b1;for(var _0x5ca368=0x0;_0x5ca368<0x40;_0x5ca368++)_0x418b09[_0x5ca368]=_0x1cc6c3[_0x51705b(0x16d)](_0x1cc6c3['sin'](_0x5ca368+0x1))*0x100000000|0x0;}());var _0x1ec0e1=_0x15e6c4[_0x5301b1(0x413)]=_0x13b871[_0x5301b1(0x17f)]({'_doReset':function(){var _0xc4989=_0x5301b1;this[_0xc4989(0x3f4)]=new _0x30b38d[(_0xc4989(0x154))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x515961,_0x56be75){var _0x2d8533=_0x5301b1;for(var _0x248ff2=0x0;_0x248ff2<0x10;_0x248ff2++){var _0x2eaebb=_0x56be75+_0x248ff2,_0xaa1cf8=_0x515961[_0x2eaebb];_0x515961[_0x2eaebb]=(_0xaa1cf8<<0x8|_0xaa1cf8>>>0x18)&0xff00ff|(_0xaa1cf8<<0x18|_0xaa1cf8>>>0x8)&0xff00ff00;}var _0x3b13a6=this[_0x2d8533(0x3f4)][_0x2d8533(0x1aa)],_0x2f6561=_0x515961[_0x56be75+0x0],_0x106543=_0x515961[_0x56be75+0x1],_0x12f824=_0x515961[_0x56be75+0x2],_0x291061=_0x515961[_0x56be75+0x3],_0x12926a=_0x515961[_0x56be75+0x4],_0x53548c=_0x515961[_0x56be75+0x5],_0x573348=_0x515961[_0x56be75+0x6],_0x401f26=_0x515961[_0x56be75+0x7],_0x1fce8a=_0x515961[_0x56be75+0x8],_0x44a83e=_0x515961[_0x56be75+0x9],_0x13391d=_0x515961[_0x56be75+0xa],_0x31b6d1=_0x515961[_0x56be75+0xb],_0x43fa38=_0x515961[_0x56be75+0xc],_0x1faee6=_0x515961[_0x56be75+0xd],_0x197cbd=_0x515961[_0x56be75+0xe],_0xfda385=_0x515961[_0x56be75+0xf],_0x539f06=_0x3b13a6[0x0],_0x4299c4=_0x3b13a6[0x1],_0x3541a8=_0x3b13a6[0x2],_0x5619ff=_0x3b13a6[0x3];_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x2f6561,0x7,_0x418b09[0x0]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x106543,0xc,_0x418b09[0x1]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x12f824,0x11,_0x418b09[0x2]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x291061,0x16,_0x418b09[0x3]),_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x12926a,0x7,_0x418b09[0x4]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x53548c,0xc,_0x418b09[0x5]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x573348,0x11,_0x418b09[0x6]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x401f26,0x16,_0x418b09[0x7]),_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1fce8a,0x7,_0x418b09[0x8]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x44a83e,0xc,_0x418b09[0x9]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x13391d,0x11,_0x418b09[0xa]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x31b6d1,0x16,_0x418b09[0xb]),_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x43fa38,0x7,_0x418b09[0xc]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x1faee6,0xc,_0x418b09[0xd]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x197cbd,0x11,_0x418b09[0xe]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0xfda385,0x16,_0x418b09[0xf]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x106543,0x5,_0x418b09[0x10]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x573348,0x9,_0x418b09[0x11]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x31b6d1,0xe,_0x418b09[0x12]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x2f6561,0x14,_0x418b09[0x13]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x53548c,0x5,_0x418b09[0x14]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x13391d,0x9,_0x418b09[0x15]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0xfda385,0xe,_0x418b09[0x16]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x12926a,0x14,_0x418b09[0x17]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x44a83e,0x5,_0x418b09[0x18]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x197cbd,0x9,_0x418b09[0x19]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x291061,0xe,_0x418b09[0x1a]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x1fce8a,0x14,_0x418b09[0x1b]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1faee6,0x5,_0x418b09[0x1c]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x12f824,0x9,_0x418b09[0x1d]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x401f26,0xe,_0x418b09[0x1e]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x43fa38,0x14,_0x418b09[0x1f]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x53548c,0x4,_0x418b09[0x20]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x1fce8a,0xb,_0x418b09[0x21]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x31b6d1,0x10,_0x418b09[0x22]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x197cbd,0x17,_0x418b09[0x23]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x106543,0x4,_0x418b09[0x24]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x12926a,0xb,_0x418b09[0x25]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x401f26,0x10,_0x418b09[0x26]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x13391d,0x17,_0x418b09[0x27]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1faee6,0x4,_0x418b09[0x28]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x2f6561,0xb,_0x418b09[0x29]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x291061,0x10,_0x418b09[0x2a]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x573348,0x17,_0x418b09[0x2b]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x44a83e,0x4,_0x418b09[0x2c]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x43fa38,0xb,_0x418b09[0x2d]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0xfda385,0x10,_0x418b09[0x2e]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x12f824,0x17,_0x418b09[0x2f]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x2f6561,0x6,_0x418b09[0x30]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x401f26,0xa,_0x418b09[0x31]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x197cbd,0xf,_0x418b09[0x32]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x53548c,0x15,_0x418b09[0x33]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x43fa38,0x6,_0x418b09[0x34]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x291061,0xa,_0x418b09[0x35]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x13391d,0xf,_0x418b09[0x36]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x106543,0x15,_0x418b09[0x37]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1fce8a,0x6,_0x418b09[0x38]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0xfda385,0xa,_0x418b09[0x39]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x573348,0xf,_0x418b09[0x3a]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x1faee6,0x15,_0x418b09[0x3b]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x12926a,0x6,_0x418b09[0x3c]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x31b6d1,0xa,_0x418b09[0x3d]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x12f824,0xf,_0x418b09[0x3e]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x44a83e,0x15,_0x418b09[0x3f]),_0x3b13a6[0x0]=_0x3b13a6[0x0]+_0x539f06|0x0,_0x3b13a6[0x1]=_0x3b13a6[0x1]+_0x4299c4|0x0,_0x3b13a6[0x2]=_0x3b13a6[0x2]+_0x3541a8|0x0,_0x3b13a6[0x3]=_0x3b13a6[0x3]+_0x5619ff|0x0;},'_doFinalize':function(){var _0xc0a403=_0x5301b1,_0x54282e=this[_0xc0a403(0x363)],_0x45c066=_0x54282e[_0xc0a403(0x1aa)],_0x2a7b0b=this['_nDataBytes']*0x8,_0x344a2e=_0x54282e[_0xc0a403(0x1cd)]*0x8;_0x45c066[_0x344a2e>>>0x5]|=0x80<<0x18-_0x344a2e%0x20;var _0x1dddbf=_0x1cc6c3[_0xc0a403(0x28a)](_0x2a7b0b/0x100000000),_0x5ba7eb=_0x2a7b0b;_0x45c066[(_0x344a2e+0x40>>>0x9<<0x4)+0xf]=(_0x1dddbf<<0x8|_0x1dddbf>>>0x18)&0xff00ff|(_0x1dddbf<<0x18|_0x1dddbf>>>0x8)&0xff00ff00,_0x45c066[(_0x344a2e+0x40>>>0x9<<0x4)+0xe]=(_0x5ba7eb<<0x8|_0x5ba7eb>>>0x18)&0xff00ff|(_0x5ba7eb<<0x18|_0x5ba7eb>>>0x8)&0xff00ff00,_0x54282e[_0xc0a403(0x1cd)]=(_0x45c066[_0xc0a403(0x2f9)]+0x1)*0x4,this[_0xc0a403(0x419)]();for(var _0x2b0a69=this[_0xc0a403(0x3f4)],_0x1ba3c1=_0x2b0a69[_0xc0a403(0x1aa)],_0x16d444=0x0;_0x16d444<0x4;_0x16d444++){var _0x3806c8=_0x1ba3c1[_0x16d444];_0x1ba3c1[_0x16d444]=(_0x3806c8<<0x8|_0x3806c8>>>0x18)&0xff00ff|(_0x3806c8<<0x18|_0x3806c8>>>0x8)&0xff00ff00;}return _0x2b0a69;},'clone':function(){var _0x39efb4=_0x5301b1,_0x135d8b=_0x13b871[_0x39efb4(0x15e)]['call'](this);return _0x135d8b[_0x39efb4(0x3f4)]=this[_0x39efb4(0x3f4)][_0x39efb4(0x15e)](),_0x135d8b;}});function _0x1df739(_0x4b2819,_0x1c7a45,_0x4d8ed5,_0x4a2f1c,_0x37b52b,_0x3d9c63,_0x39cf24){var _0x5ccd38=_0x4b2819+(_0x1c7a45&_0x4d8ed5|~_0x1c7a45&_0x4a2f1c)+_0x37b52b+_0x39cf24;return(_0x5ccd38<<_0x3d9c63|_0x5ccd38>>>0x20-_0x3d9c63)+_0x1c7a45;}function _0x5a3349(_0x1a5b32,_0x45b1c5,_0xf8429d,_0x227351,_0xe160cd,_0x46227e,_0xf50302){var _0xc263cd=_0x1a5b32+(_0x45b1c5&_0x227351|_0xf8429d&~_0x227351)+_0xe160cd+_0xf50302;return(_0xc263cd<<_0x46227e|_0xc263cd>>>0x20-_0x46227e)+_0x45b1c5;}function _0x5be237(_0x874e23,_0x43a692,_0xcb184c,_0x463658,_0x5da703,_0x4e3532,_0x117d84){var _0xd62da8=_0x874e23+(_0x43a692^_0xcb184c^_0x463658)+_0x5da703+_0x117d84;return(_0xd62da8<<_0x4e3532|_0xd62da8>>>0x20-_0x4e3532)+_0x43a692;}function _0x21cbdf(_0x9f8d5c,_0x31fbf2,_0x12af9c,_0x322472,_0x3f9c4f,_0x11533f,_0x57a4da){var _0x506bda=_0x9f8d5c+(_0x12af9c^(_0x31fbf2|~_0x322472))+_0x3f9c4f+_0x57a4da;return(_0x506bda<<_0x11533f|_0x506bda>>>0x20-_0x11533f)+_0x31fbf2;}_0x45f4b4[_0x5301b1(0x413)]=_0x13b871['_createHelper'](_0x1ec0e1),_0x45f4b4['HmacMD5']=_0x13b871['_createHmacHelper'](_0x1ec0e1);}(Math),_0x47fd7e[_0x5b4a38(0x413)];}));}(ge)),ge[_0x3e8deb(0x2ba)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x72c010(0x2ba)],Ze;function Pi(){var _0x58c9d1=_0x72c010;return Ze||(Ze=0x1,function(_0x521d02,_0x510e49){(function(_0x4306a9,_0x522fe8){var _0x29667b=_0x284f;_0x521d02[_0x29667b(0x2ba)]=_0x522fe8(Q());}(Ai,function(_0x278225){var _0x5bfc9f=_0x284f;return(function(){var _0x3daf87=_0x284f,_0x43cdc1=_0x278225,_0x3d3bff=_0x43cdc1['lib'],_0x120c3a=_0x3d3bff['WordArray'],_0x190b03=_0x3d3bff['Hasher'],_0x1a8ceb=_0x43cdc1[_0x3daf87(0x203)],_0xd90227=[],_0x1de0ca=_0x1a8ceb['SHA1']=_0x190b03[_0x3daf87(0x17f)]({'_doReset':function(){var _0x4b5531=_0x3daf87;this[_0x4b5531(0x3f4)]=new _0x120c3a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xc5de26,_0xb73ae4){var _0x53e041=_0x3daf87;for(var _0x2bd064=this[_0x53e041(0x3f4)][_0x53e041(0x1aa)],_0x4e658f=_0x2bd064[0x0],_0x51bd4c=_0x2bd064[0x1],_0x47a044=_0x2bd064[0x2],_0x1fc388=_0x2bd064[0x3],_0x53ecf8=_0x2bd064[0x4],_0xdc29f6=0x0;_0xdc29f6<0x50;_0xdc29f6++){if(_0xdc29f6<0x10)_0xd90227[_0xdc29f6]=_0xc5de26[_0xb73ae4+_0xdc29f6]|0x0;else{var _0x34bfd7=_0xd90227[_0xdc29f6-0x3]^_0xd90227[_0xdc29f6-0x8]^_0xd90227[_0xdc29f6-0xe]^_0xd90227[_0xdc29f6-0x10];_0xd90227[_0xdc29f6]=_0x34bfd7<<0x1|_0x34bfd7>>>0x1f;}var _0x4467df=(_0x4e658f<<0x5|_0x4e658f>>>0x1b)+_0x53ecf8+_0xd90227[_0xdc29f6];_0xdc29f6<0x14?_0x4467df+=(_0x51bd4c&_0x47a044|~_0x51bd4c&_0x1fc388)+0x5a827999:_0xdc29f6<0x28?_0x4467df+=(_0x51bd4c^_0x47a044^_0x1fc388)+0x6ed9eba1:_0xdc29f6<0x3c?_0x4467df+=(_0x51bd4c&_0x47a044|_0x51bd4c&_0x1fc388|_0x47a044&_0x1fc388)-0x70e44324:_0x4467df+=(_0x51bd4c^_0x47a044^_0x1fc388)-0x359d3e2a,_0x53ecf8=_0x1fc388,_0x1fc388=_0x47a044,_0x47a044=_0x51bd4c<<0x1e|_0x51bd4c>>>0x2,_0x51bd4c=_0x4e658f,_0x4e658f=_0x4467df;}_0x2bd064[0x0]=_0x2bd064[0x0]+_0x4e658f|0x0,_0x2bd064[0x1]=_0x2bd064[0x1]+_0x51bd4c|0x0,_0x2bd064[0x2]=_0x2bd064[0x2]+_0x47a044|0x0,_0x2bd064[0x3]=_0x2bd064[0x3]+_0x1fc388|0x0,_0x2bd064[0x4]=_0x2bd064[0x4]+_0x53ecf8|0x0;},'_doFinalize':function(){var _0x25684c=_0x3daf87,_0x3d9d7e=this[_0x25684c(0x363)],_0x32e5cd=_0x3d9d7e['words'],_0x2f8718=this['_nDataBytes']*0x8,_0x31aedd=_0x3d9d7e[_0x25684c(0x1cd)]*0x8;return _0x32e5cd[_0x31aedd>>>0x5]|=0x80<<0x18-_0x31aedd%0x20,_0x32e5cd[(_0x31aedd+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2f8718/0x100000000),_0x32e5cd[(_0x31aedd+0x40>>>0x9<<0x4)+0xf]=_0x2f8718,_0x3d9d7e[_0x25684c(0x1cd)]=_0x32e5cd[_0x25684c(0x2f9)]*0x4,this[_0x25684c(0x419)](),this[_0x25684c(0x3f4)];},'clone':function(){var _0x4cf804=_0x3daf87,_0x1ad4db=_0x190b03['clone']['call'](this);return _0x1ad4db[_0x4cf804(0x3f4)]=this[_0x4cf804(0x3f4)][_0x4cf804(0x15e)](),_0x1ad4db;}});_0x43cdc1[_0x3daf87(0x1a5)]=_0x190b03[_0x3daf87(0x2f2)](_0x1de0ca),_0x43cdc1[_0x3daf87(0x193)]=_0x190b03[_0x3daf87(0x4a1)](_0x1de0ca);}()),_0x278225[_0x5bfc9f(0x1a5)];}));}(me)),me[_0x58c9d1(0x2ba)];}var Ce={'exports':{}},wi=Ce[_0x72c010(0x2ba)],Qe;function Li(){var _0x2c8a8b=_0x72c010;return Qe||(Qe=0x1,function(_0x18dd78,_0x35fb06){(function(_0x39ad3e,_0x5ba66c){var _0x12d9e3=_0x284f;_0x18dd78[_0x12d9e3(0x2ba)]=_0x5ba66c(Q());}(wi,function(_0x5308e0){(function(){var _0x55b346=_0x284f,_0x1f344b=_0x5308e0,_0x2f02fe=_0x1f344b[_0x55b346(0x1e1)],_0x16aabb=_0x2f02fe[_0x55b346(0x33a)],_0x3bbb7b=_0x1f344b[_0x55b346(0x44e)],_0x27cb1b=_0x3bbb7b[_0x55b346(0x159)],_0x2c9b25=_0x1f344b[_0x55b346(0x203)];_0x2c9b25[_0x55b346(0x1f7)]=_0x16aabb['extend']({'init':function(_0x26d591,_0x38d3d6){var _0x1f7b5f=_0x55b346;_0x26d591=this[_0x1f7b5f(0x496)]=new _0x26d591[(_0x1f7b5f(0x154))](),typeof _0x38d3d6==_0x1f7b5f(0x294)&&(_0x38d3d6=_0x27cb1b[_0x1f7b5f(0x3c9)](_0x38d3d6));var _0x231a29=_0x26d591[_0x1f7b5f(0x45b)],_0x3098e7=_0x231a29*0x4;_0x38d3d6[_0x1f7b5f(0x1cd)]>_0x3098e7&&(_0x38d3d6=_0x26d591[_0x1f7b5f(0x307)](_0x38d3d6)),_0x38d3d6[_0x1f7b5f(0x258)]();for(var _0x1a4cd8=this[_0x1f7b5f(0x271)]=_0x38d3d6[_0x1f7b5f(0x15e)](),_0x1d2e21=this[_0x1f7b5f(0x18b)]=_0x38d3d6[_0x1f7b5f(0x15e)](),_0x3d4e9f=_0x1a4cd8['words'],_0x3c1e51=_0x1d2e21[_0x1f7b5f(0x1aa)],_0x2545d1=0x0;_0x2545d1<_0x231a29;_0x2545d1++)_0x3d4e9f[_0x2545d1]^=0x5c5c5c5c,_0x3c1e51[_0x2545d1]^=0x36363636;_0x1a4cd8[_0x1f7b5f(0x1cd)]=_0x1d2e21[_0x1f7b5f(0x1cd)]=_0x3098e7,this[_0x1f7b5f(0x179)]();},'reset':function(){var _0x5bb8c2=_0x55b346,_0x493631=this['_hasher'];_0x493631[_0x5bb8c2(0x179)](),_0x493631[_0x5bb8c2(0x31d)](this[_0x5bb8c2(0x18b)]);},'update':function(_0x4689ee){var _0x55089d=_0x55b346;return this[_0x55089d(0x496)]['update'](_0x4689ee),this;},'finalize':function(_0x4096d1){var _0x576951=_0x55b346,_0x1c27c7=this[_0x576951(0x496)],_0x32e8da=_0x1c27c7[_0x576951(0x307)](_0x4096d1);_0x1c27c7[_0x576951(0x179)]();var _0x489e17=_0x1c27c7['finalize'](this[_0x576951(0x271)][_0x576951(0x15e)]()['concat'](_0x32e8da));return _0x489e17;}});}());}));}(Ce)),Ce[_0x2c8a8b(0x2ba)];}var Mi=Ee[_0x72c010(0x2ba)],et;function Nt(){var _0x4d899a=_0x72c010;return et||(et=0x1,function(_0x147b14,_0x533531){(function(_0x17d448,_0x3efa25,_0x408d26){var _0x2ca94e=_0x284f;_0x147b14[_0x2ca94e(0x2ba)]=_0x3efa25(Q(),Pi(),Li());}(Mi,function(_0x56b503){var _0x43a6c8=_0x284f;return(function(){var _0x5d50a5=_0x284f,_0x14fb70=_0x56b503,_0x58d23d=_0x14fb70[_0x5d50a5(0x1e1)],_0x552f7a=_0x58d23d[_0x5d50a5(0x33a)],_0x2cf04e=_0x58d23d['WordArray'],_0x123eb1=_0x14fb70[_0x5d50a5(0x203)],_0x51d875=_0x123eb1[_0x5d50a5(0x413)],_0x4e683b=_0x123eb1[_0x5d50a5(0x47f)]=_0x552f7a[_0x5d50a5(0x17f)]({'cfg':_0x552f7a['extend']({'keySize':0x80/0x20,'hasher':_0x51d875,'iterations':0x1}),'init':function(_0x4de34f){var _0x21e07a=_0x5d50a5;this[_0x21e07a(0x483)]=this[_0x21e07a(0x483)][_0x21e07a(0x17f)](_0x4de34f);},'compute':function(_0x56a07c,_0x26e878){var _0x1e859a=_0x5d50a5;for(var _0x1758ba,_0x556154=this[_0x1e859a(0x483)],_0x25306f=_0x556154['hasher'][_0x1e859a(0x33f)](),_0x26d5da=_0x2cf04e[_0x1e859a(0x33f)](),_0x25dce4=_0x26d5da[_0x1e859a(0x1aa)],_0x48543f=_0x556154['keySize'],_0x354b4a=_0x556154[_0x1e859a(0x20b)];_0x25dce4[_0x1e859a(0x2f9)]<_0x48543f;){_0x1758ba&&_0x25306f[_0x1e859a(0x31d)](_0x1758ba),_0x1758ba=_0x25306f[_0x1e859a(0x31d)](_0x56a07c)[_0x1e859a(0x307)](_0x26e878),_0x25306f[_0x1e859a(0x179)]();for(var _0x4b93d0=0x1;_0x4b93d0<_0x354b4a;_0x4b93d0++)_0x1758ba=_0x25306f[_0x1e859a(0x307)](_0x1758ba),_0x25306f['reset']();_0x26d5da['concat'](_0x1758ba);}return _0x26d5da[_0x1e859a(0x1cd)]=_0x48543f*0x4,_0x26d5da;}});_0x14fb70['EvpKDF']=function(_0x3c16a8,_0xc8291e,_0x201435){var _0x4600ae=_0x5d50a5;return _0x4e683b[_0x4600ae(0x33f)](_0x201435)[_0x4600ae(0x2cb)](_0x3c16a8,_0xc8291e);};}()),_0x56b503[_0x43a6c8(0x47f)];}));}(Ee)),Ee[_0x4d899a(0x2ba)];}var Te={'exports':{}},xi=Te[_0x72c010(0x2ba)],tt;function Ut(){var _0x1c5de9=_0x72c010;return tt||(tt=0x1,function(_0x2b77c2,_0x1ae4f0){(function(_0x373a33,_0x3ff9f2,_0x30bb32){var _0x1285b9=_0x284f;_0x2b77c2[_0x1285b9(0x2ba)]=_0x3ff9f2(Q(),Nt());}(xi,function(_0x251856){var _0x14a0e2=_0x284f;_0x251856[_0x14a0e2(0x1e1)]['Cipher']||function(_0xa0be86){var _0x28928b=_0x14a0e2,_0x4c64d3=_0x251856,_0x459c67=_0x4c64d3[_0x28928b(0x1e1)],_0xe26e81=_0x459c67[_0x28928b(0x33a)],_0x3476e3=_0x459c67['WordArray'],_0x5d2608=_0x459c67['BufferedBlockAlgorithm'],_0x3adfae=_0x4c64d3[_0x28928b(0x44e)];_0x3adfae[_0x28928b(0x159)];var _0x4e3e57=_0x3adfae['Base64'],_0x5ec043=_0x4c64d3['algo'],_0x4e7c85=_0x5ec043[_0x28928b(0x47f)],_0x18c6b7=_0x459c67['Cipher']=_0x5d2608[_0x28928b(0x17f)]({'cfg':_0xe26e81['extend'](),'createEncryptor':function(_0x14a479,_0x376b17){var _0x17c49f=_0x28928b;return this[_0x17c49f(0x33f)](this[_0x17c49f(0x482)],_0x14a479,_0x376b17);},'createDecryptor':function(_0x2e6840,_0xe79140){var _0x5e6af3=_0x28928b;return this[_0x5e6af3(0x33f)](this['_DEC_XFORM_MODE'],_0x2e6840,_0xe79140);},'init':function(_0x1812b5,_0x4d9e39,_0xd48d30){var _0x1e0527=_0x28928b;this[_0x1e0527(0x483)]=this[_0x1e0527(0x483)][_0x1e0527(0x17f)](_0xd48d30),this[_0x1e0527(0x2d3)]=_0x1812b5,this['_key']=_0x4d9e39,this[_0x1e0527(0x179)]();},'reset':function(){var _0x27973c=_0x28928b;_0x5d2608[_0x27973c(0x179)][_0x27973c(0x478)](this),this['_doReset']();},'process':function(_0xc88419){var _0x4b54d7=_0x28928b;return this[_0x4b54d7(0x1b9)](_0xc88419),this[_0x4b54d7(0x419)]();},'finalize':function(_0xc43268){var _0x3eb8d5=_0x28928b;_0xc43268&&this[_0x3eb8d5(0x1b9)](_0xc43268);var _0x2e2666=this['_doFinalize']();return _0x2e2666;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x352aef(_0x7ded7a){var _0x2ae962=_0x284f;return typeof _0x7ded7a==_0x2ae962(0x294)?_0x3be49d:_0x33e478;}return function(_0x283664){return{'encrypt':function(_0x2f5341,_0x269aba,_0x25194e){var _0x5f3b69=_0x284f;return _0x352aef(_0x269aba)[_0x5f3b69(0x480)](_0x283664,_0x2f5341,_0x269aba,_0x25194e);},'decrypt':function(_0x4ad0de,_0x3eac3b,_0x501855){var _0x4a41f9=_0x284f;return _0x352aef(_0x3eac3b)[_0x4a41f9(0x217)](_0x283664,_0x4ad0de,_0x3eac3b,_0x501855);}};};}())});_0x459c67[_0x28928b(0x2c1)]=_0x18c6b7[_0x28928b(0x17f)]({'_doFinalize':function(){var _0x2eb23a=_0x28928b,_0x377bd3=this[_0x2eb23a(0x419)](!0x0);return _0x377bd3;},'blockSize':0x1});var _0x41ada4=_0x4c64d3[_0x28928b(0x1fd)]={},_0x181176=_0x459c67[_0x28928b(0x24a)]=_0xe26e81[_0x28928b(0x17f)]({'createEncryptor':function(_0x51b233,_0x341262){var _0x432fdf=_0x28928b;return this[_0x432fdf(0x421)][_0x432fdf(0x33f)](_0x51b233,_0x341262);},'createDecryptor':function(_0x2fc4fb,_0x4b8a57){var _0x209590=_0x28928b;return this[_0x209590(0x22c)][_0x209590(0x33f)](_0x2fc4fb,_0x4b8a57);},'init':function(_0x7c7fd6,_0x2432ca){var _0x229566=_0x28928b;this[_0x229566(0x22e)]=_0x7c7fd6,this[_0x229566(0x3d4)]=_0x2432ca;}}),_0x2b780d=_0x41ada4['CBC']=(function(){var _0x234a75=_0x28928b,_0x2dfe73=_0x181176[_0x234a75(0x17f)]();_0x2dfe73[_0x234a75(0x421)]=_0x2dfe73[_0x234a75(0x17f)]({'processBlock':function(_0x2e5823,_0x2ce7c3){var _0x35200b=_0x234a75,_0x5da587=this['_cipher'],_0x53d158=_0x5da587['blockSize'];_0x40a89a[_0x35200b(0x478)](this,_0x2e5823,_0x2ce7c3,_0x53d158),_0x5da587['encryptBlock'](_0x2e5823,_0x2ce7c3),this[_0x35200b(0x36a)]=_0x2e5823['slice'](_0x2ce7c3,_0x2ce7c3+_0x53d158);}}),_0x2dfe73[_0x234a75(0x22c)]=_0x2dfe73[_0x234a75(0x17f)]({'processBlock':function(_0x2461e0,_0x36f3d){var _0xb4a9b7=_0x234a75,_0x815ff4=this[_0xb4a9b7(0x22e)],_0x13c4b3=_0x815ff4[_0xb4a9b7(0x45b)],_0x511f2f=_0x2461e0[_0xb4a9b7(0x351)](_0x36f3d,_0x36f3d+_0x13c4b3);_0x815ff4['decryptBlock'](_0x2461e0,_0x36f3d),_0x40a89a['call'](this,_0x2461e0,_0x36f3d,_0x13c4b3),this[_0xb4a9b7(0x36a)]=_0x511f2f;}});function _0x40a89a(_0x12c163,_0x5446c6,_0x185713){var _0x1dc4f3=_0x234a75,_0x23950e,_0x3427d4=this[_0x1dc4f3(0x3d4)];_0x3427d4?(_0x23950e=_0x3427d4,this[_0x1dc4f3(0x3d4)]=_0xa0be86):_0x23950e=this['_prevBlock'];for(var _0x32a8ac=0x0;_0x32a8ac<_0x185713;_0x32a8ac++)_0x12c163[_0x5446c6+_0x32a8ac]^=_0x23950e[_0x32a8ac];}return _0x2dfe73;}()),_0x16246c=_0x4c64d3[_0x28928b(0x3a9)]={},_0x1b7122=_0x16246c[_0x28928b(0x3e9)]={'pad':function(_0x1ed031,_0x44ba06){var _0x521141=_0x28928b;for(var _0x563c05=_0x44ba06*0x4,_0xde637c=_0x563c05-_0x1ed031['sigBytes']%_0x563c05,_0x58d87c=_0xde637c<<0x18|_0xde637c<<0x10|_0xde637c<<0x8|_0xde637c,_0x137089=[],_0x33aa62=0x0;_0x33aa62<_0xde637c;_0x33aa62+=0x4)_0x137089[_0x521141(0x41b)](_0x58d87c);var _0x3b9ebe=_0x3476e3[_0x521141(0x33f)](_0x137089,_0xde637c);_0x1ed031[_0x521141(0x390)](_0x3b9ebe);},'unpad':function(_0x253cac){var _0x55a732=_0x28928b,_0x369aff=_0x253cac[_0x55a732(0x1aa)][_0x253cac[_0x55a732(0x1cd)]-0x1>>>0x2]&0xff;_0x253cac[_0x55a732(0x1cd)]-=_0x369aff;}};_0x459c67[_0x28928b(0x312)]=_0x18c6b7['extend']({'cfg':_0x18c6b7[_0x28928b(0x483)][_0x28928b(0x17f)]({'mode':_0x2b780d,'padding':_0x1b7122}),'reset':function(){var _0xbcb59a=_0x28928b,_0x17a480;_0x18c6b7['reset'][_0xbcb59a(0x478)](this);var _0x2c354c=this[_0xbcb59a(0x483)],_0x2c55c7=_0x2c354c['iv'],_0x32be4c=_0x2c354c[_0xbcb59a(0x1fd)];this[_0xbcb59a(0x2d3)]==this[_0xbcb59a(0x482)]?_0x17a480=_0x32be4c[_0xbcb59a(0x2cd)]:(_0x17a480=_0x32be4c['createDecryptor'],this[_0xbcb59a(0x208)]=0x1),this[_0xbcb59a(0x230)]&&this['_mode'][_0xbcb59a(0x4ab)]==_0x17a480?this[_0xbcb59a(0x230)][_0xbcb59a(0x154)](this,_0x2c55c7&&_0x2c55c7['words']):(this[_0xbcb59a(0x230)]=_0x17a480[_0xbcb59a(0x478)](_0x32be4c,this,_0x2c55c7&&_0x2c55c7[_0xbcb59a(0x1aa)]),this[_0xbcb59a(0x230)][_0xbcb59a(0x4ab)]=_0x17a480);},'_doProcessBlock':function(_0x55d0d3,_0x66fbaf){var _0x1f1469=_0x28928b;this[_0x1f1469(0x230)][_0x1f1469(0x172)](_0x55d0d3,_0x66fbaf);},'_doFinalize':function(){var _0x1664b6=_0x28928b,_0x2b6ab9,_0x34f154=this[_0x1664b6(0x483)][_0x1664b6(0x428)];return this[_0x1664b6(0x2d3)]==this[_0x1664b6(0x482)]?(_0x34f154['pad'](this[_0x1664b6(0x363)],this[_0x1664b6(0x45b)]),_0x2b6ab9=this[_0x1664b6(0x419)](!0x0)):(_0x2b6ab9=this[_0x1664b6(0x419)](!0x0),_0x34f154['unpad'](_0x2b6ab9)),_0x2b6ab9;},'blockSize':0x80/0x20});var _0x1b94db=_0x459c67[_0x28928b(0x410)]=_0xe26e81[_0x28928b(0x17f)]({'init':function(_0x59d80f){var _0x18c8e0=_0x28928b;this[_0x18c8e0(0x21a)](_0x59d80f);},'toString':function(_0x523229){var _0x341046=_0x28928b;return(_0x523229||this[_0x341046(0x441)])[_0x341046(0x45a)](this);}}),_0x15ce85=_0x4c64d3[_0x28928b(0x318)]={},_0x323c71=_0x15ce85['OpenSSL']={'stringify':function(_0x3c9ab7){var _0x31c1ff=_0x28928b,_0x152378,_0x5c1234=_0x3c9ab7[_0x31c1ff(0x3cb)],_0x1a8cbd=_0x3c9ab7[_0x31c1ff(0x2f7)];return _0x1a8cbd?_0x152378=_0x3476e3['create']([0x53616c74,0x65645f5f])['concat'](_0x1a8cbd)[_0x31c1ff(0x390)](_0x5c1234):_0x152378=_0x5c1234,_0x152378[_0x31c1ff(0x25e)](_0x4e3e57);},'parse':function(_0x22bd1f){var _0x575bf6=_0x28928b,_0xc35f1a,_0x433f71=_0x4e3e57[_0x575bf6(0x3c9)](_0x22bd1f),_0x14cca6=_0x433f71[_0x575bf6(0x1aa)];return _0x14cca6[0x0]==0x53616c74&&_0x14cca6[0x1]==0x65645f5f&&(_0xc35f1a=_0x3476e3[_0x575bf6(0x33f)](_0x14cca6[_0x575bf6(0x351)](0x2,0x4)),_0x14cca6[_0x575bf6(0x272)](0x0,0x4),_0x433f71[_0x575bf6(0x1cd)]-=0x10),_0x1b94db[_0x575bf6(0x33f)]({'ciphertext':_0x433f71,'salt':_0xc35f1a});}},_0x33e478=_0x459c67['SerializableCipher']=_0xe26e81[_0x28928b(0x17f)]({'cfg':_0xe26e81[_0x28928b(0x17f)]({'format':_0x323c71}),'encrypt':function(_0x8e5ec4,_0x3b7e51,_0x597d63,_0x3a9c25){var _0x1e7884=_0x28928b;_0x3a9c25=this[_0x1e7884(0x483)][_0x1e7884(0x17f)](_0x3a9c25);var _0x5a0108=_0x8e5ec4[_0x1e7884(0x2cd)](_0x597d63,_0x3a9c25),_0x4ede04=_0x5a0108['finalize'](_0x3b7e51),_0x5d63ff=_0x5a0108[_0x1e7884(0x483)];return _0x1b94db['create']({'ciphertext':_0x4ede04,'key':_0x597d63,'iv':_0x5d63ff['iv'],'algorithm':_0x8e5ec4,'mode':_0x5d63ff[_0x1e7884(0x1fd)],'padding':_0x5d63ff['padding'],'blockSize':_0x8e5ec4[_0x1e7884(0x45b)],'formatter':_0x3a9c25['format']});},'decrypt':function(_0x287d53,_0x33d68d,_0x4d9afc,_0x5d526c){var _0x5d6776=_0x28928b;_0x5d526c=this[_0x5d6776(0x483)]['extend'](_0x5d526c),_0x33d68d=this['_parse'](_0x33d68d,_0x5d526c[_0x5d6776(0x318)]);var _0x5defc2=_0x287d53[_0x5d6776(0x42b)](_0x4d9afc,_0x5d526c)[_0x5d6776(0x307)](_0x33d68d['ciphertext']);return _0x5defc2;},'_parse':function(_0x4feece,_0x1a8251){var _0x5ce074=_0x28928b;return typeof _0x4feece==_0x5ce074(0x294)?_0x1a8251[_0x5ce074(0x3c9)](_0x4feece,this):_0x4feece;}}),_0xc7422e=_0x4c64d3[_0x28928b(0x300)]={},_0x1ad948=_0xc7422e[_0x28928b(0x1ca)]={'execute':function(_0x96c6f1,_0x426f11,_0x595874,_0x3643db,_0x8f1fc1){var _0x17d6cb=_0x28928b;if(_0x3643db||(_0x3643db=_0x3476e3[_0x17d6cb(0x1bf)](0x40/0x8)),_0x8f1fc1)var _0x5d89c5=_0x4e7c85[_0x17d6cb(0x33f)]({'keySize':_0x426f11+_0x595874,'hasher':_0x8f1fc1})['compute'](_0x96c6f1,_0x3643db);else var _0x5d89c5=_0x4e7c85[_0x17d6cb(0x33f)]({'keySize':_0x426f11+_0x595874})[_0x17d6cb(0x2cb)](_0x96c6f1,_0x3643db);var _0x4572fc=_0x3476e3[_0x17d6cb(0x33f)](_0x5d89c5[_0x17d6cb(0x1aa)][_0x17d6cb(0x351)](_0x426f11),_0x595874*0x4);return _0x5d89c5[_0x17d6cb(0x1cd)]=_0x426f11*0x4,_0x1b94db[_0x17d6cb(0x33f)]({'key':_0x5d89c5,'iv':_0x4572fc,'salt':_0x3643db});}},_0x3be49d=_0x459c67['PasswordBasedCipher']=_0x33e478['extend']({'cfg':_0x33e478['cfg']['extend']({'kdf':_0x1ad948}),'encrypt':function(_0x44729c,_0x9d0ab7,_0x281c52,_0x1584c1){var _0x1b3f0d=_0x28928b;_0x1584c1=this[_0x1b3f0d(0x483)]['extend'](_0x1584c1);var _0x314e3a=_0x1584c1[_0x1b3f0d(0x300)]['execute'](_0x281c52,_0x44729c[_0x1b3f0d(0x2aa)],_0x44729c[_0x1b3f0d(0x325)],_0x1584c1[_0x1b3f0d(0x2f7)],_0x1584c1[_0x1b3f0d(0x1e8)]);_0x1584c1['iv']=_0x314e3a['iv'];var _0x1486c8=_0x33e478[_0x1b3f0d(0x480)][_0x1b3f0d(0x478)](this,_0x44729c,_0x9d0ab7,_0x314e3a[_0x1b3f0d(0x1e2)],_0x1584c1);return _0x1486c8[_0x1b3f0d(0x21a)](_0x314e3a),_0x1486c8;},'decrypt':function(_0xaad9e7,_0x16f2f0,_0x3a059e,_0xfa4523){var _0x4f6a09=_0x28928b;_0xfa4523=this[_0x4f6a09(0x483)][_0x4f6a09(0x17f)](_0xfa4523),_0x16f2f0=this[_0x4f6a09(0x1a6)](_0x16f2f0,_0xfa4523['format']);var _0x13600d=_0xfa4523[_0x4f6a09(0x300)][_0x4f6a09(0x304)](_0x3a059e,_0xaad9e7[_0x4f6a09(0x2aa)],_0xaad9e7[_0x4f6a09(0x325)],_0x16f2f0[_0x4f6a09(0x2f7)],_0xfa4523[_0x4f6a09(0x1e8)]);_0xfa4523['iv']=_0x13600d['iv'];var _0x4e5493=_0x33e478[_0x4f6a09(0x217)][_0x4f6a09(0x478)](this,_0xaad9e7,_0x16f2f0,_0x13600d[_0x4f6a09(0x1e2)],_0xfa4523);return _0x4e5493;}});}();}));}(Te)),Te[_0x1c5de9(0x2ba)];}var ki=fe[_0x72c010(0x2ba)],it;function Hi(){var _0x19a9f1=_0x72c010;return it||(it=0x1,function(_0x2d41a9,_0x1df273){(function(_0x183386,_0x2a76e3,_0x32f9f2){var _0x1af109=_0x284f;_0x2d41a9[_0x1af109(0x2ba)]=_0x2a76e3(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x502436){var _0x338ce8=_0x284f;return(function(){var _0x33474e=_0x284f,_0x1d02e4=_0x502436,_0x464a90=_0x1d02e4[_0x33474e(0x1e1)],_0x33e548=_0x464a90[_0x33474e(0x312)],_0x37bf86=_0x1d02e4[_0x33474e(0x203)],_0x4d96bf=[],_0x2035a4=[],_0x202e3a=[],_0x3a47a2=[],_0x552aa1=[],_0x200628=[],_0x3a6fd9=[],_0x56c7ca=[],_0x5b15c2=[],_0x12fbf6=[];(function(){for(var _0x3d8a5a=[],_0x4a5bc6=0x0;_0x4a5bc6<0x100;_0x4a5bc6++)_0x4a5bc6<0x80?_0x3d8a5a[_0x4a5bc6]=_0x4a5bc6<<0x1:_0x3d8a5a[_0x4a5bc6]=_0x4a5bc6<<0x1^0x11b;for(var _0x4a7df2=0x0,_0x1f6121=0x0,_0x4a5bc6=0x0;_0x4a5bc6<0x100;_0x4a5bc6++){var _0xa4f24f=_0x1f6121^_0x1f6121<<0x1^_0x1f6121<<0x2^_0x1f6121<<0x3^_0x1f6121<<0x4;_0xa4f24f=_0xa4f24f>>>0x8^_0xa4f24f&0xff^0x63,_0x4d96bf[_0x4a7df2]=_0xa4f24f,_0x2035a4[_0xa4f24f]=_0x4a7df2;var _0x2b3af1=_0x3d8a5a[_0x4a7df2],_0x6cb471=_0x3d8a5a[_0x2b3af1],_0x2c2da4=_0x3d8a5a[_0x6cb471],_0x12434f=_0x3d8a5a[_0xa4f24f]*0x101^_0xa4f24f*0x1010100;_0x202e3a[_0x4a7df2]=_0x12434f<<0x18|_0x12434f>>>0x8,_0x3a47a2[_0x4a7df2]=_0x12434f<<0x10|_0x12434f>>>0x10,_0x552aa1[_0x4a7df2]=_0x12434f<<0x8|_0x12434f>>>0x18,_0x200628[_0x4a7df2]=_0x12434f;var _0x12434f=_0x2c2da4*0x1010101^_0x6cb471*0x10001^_0x2b3af1*0x101^_0x4a7df2*0x1010100;_0x3a6fd9[_0xa4f24f]=_0x12434f<<0x18|_0x12434f>>>0x8,_0x56c7ca[_0xa4f24f]=_0x12434f<<0x10|_0x12434f>>>0x10,_0x5b15c2[_0xa4f24f]=_0x12434f<<0x8|_0x12434f>>>0x18,_0x12fbf6[_0xa4f24f]=_0x12434f,_0x4a7df2?(_0x4a7df2=_0x2b3af1^_0x3d8a5a[_0x3d8a5a[_0x3d8a5a[_0x2c2da4^_0x2b3af1]]],_0x1f6121^=_0x3d8a5a[_0x3d8a5a[_0x1f6121]]):_0x4a7df2=_0x1f6121=0x1;}}());var _0x1ac705=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f6305=_0x37bf86[_0x33474e(0x49b)]=_0x33e548[_0x33474e(0x17f)]({'_doReset':function(){var _0x6bcc8a=_0x33474e,_0x45a17e;if(!(this[_0x6bcc8a(0x429)]&&this[_0x6bcc8a(0x1a3)]===this[_0x6bcc8a(0x422)])){for(var _0x157145=this['_keyPriorReset']=this[_0x6bcc8a(0x422)],_0x437e1d=_0x157145[_0x6bcc8a(0x1aa)],_0x453799=_0x157145[_0x6bcc8a(0x1cd)]/0x4,_0xae7ff4=this[_0x6bcc8a(0x429)]=_0x453799+0x6,_0x3b3878=(_0xae7ff4+0x1)*0x4,_0x1e0225=this[_0x6bcc8a(0x246)]=[],_0x38547d=0x0;_0x38547d<_0x3b3878;_0x38547d++)_0x38547d<_0x453799?_0x1e0225[_0x38547d]=_0x437e1d[_0x38547d]:(_0x45a17e=_0x1e0225[_0x38547d-0x1],_0x38547d%_0x453799?_0x453799>0x6&&_0x38547d%_0x453799==0x4&&(_0x45a17e=_0x4d96bf[_0x45a17e>>>0x18]<<0x18|_0x4d96bf[_0x45a17e>>>0x10&0xff]<<0x10|_0x4d96bf[_0x45a17e>>>0x8&0xff]<<0x8|_0x4d96bf[_0x45a17e&0xff]):(_0x45a17e=_0x45a17e<<0x8|_0x45a17e>>>0x18,_0x45a17e=_0x4d96bf[_0x45a17e>>>0x18]<<0x18|_0x4d96bf[_0x45a17e>>>0x10&0xff]<<0x10|_0x4d96bf[_0x45a17e>>>0x8&0xff]<<0x8|_0x4d96bf[_0x45a17e&0xff],_0x45a17e^=_0x1ac705[_0x38547d/_0x453799|0x0]<<0x18),_0x1e0225[_0x38547d]=_0x1e0225[_0x38547d-_0x453799]^_0x45a17e);for(var _0x5ce66f=this[_0x6bcc8a(0x247)]=[],_0x28220a=0x0;_0x28220a<_0x3b3878;_0x28220a++){var _0x38547d=_0x3b3878-_0x28220a;if(_0x28220a%0x4)var _0x45a17e=_0x1e0225[_0x38547d];else var _0x45a17e=_0x1e0225[_0x38547d-0x4];_0x28220a<0x4||_0x38547d<=0x4?_0x5ce66f[_0x28220a]=_0x45a17e:_0x5ce66f[_0x28220a]=_0x3a6fd9[_0x4d96bf[_0x45a17e>>>0x18]]^_0x56c7ca[_0x4d96bf[_0x45a17e>>>0x10&0xff]]^_0x5b15c2[_0x4d96bf[_0x45a17e>>>0x8&0xff]]^_0x12fbf6[_0x4d96bf[_0x45a17e&0xff]];}}},'encryptBlock':function(_0x525416,_0x626d6e){var _0x322179=_0x33474e;this[_0x322179(0x389)](_0x525416,_0x626d6e,this[_0x322179(0x246)],_0x202e3a,_0x3a47a2,_0x552aa1,_0x200628,_0x4d96bf);},'decryptBlock':function(_0x4ae75b,_0x3c58df){var _0x29c2e4=_0x33474e,_0x1f1d10=_0x4ae75b[_0x3c58df+0x1];_0x4ae75b[_0x3c58df+0x1]=_0x4ae75b[_0x3c58df+0x3],_0x4ae75b[_0x3c58df+0x3]=_0x1f1d10,this[_0x29c2e4(0x389)](_0x4ae75b,_0x3c58df,this[_0x29c2e4(0x247)],_0x3a6fd9,_0x56c7ca,_0x5b15c2,_0x12fbf6,_0x2035a4);var _0x1f1d10=_0x4ae75b[_0x3c58df+0x1];_0x4ae75b[_0x3c58df+0x1]=_0x4ae75b[_0x3c58df+0x3],_0x4ae75b[_0x3c58df+0x3]=_0x1f1d10;},'_doCryptBlock':function(_0xa65bd5,_0x6e1f20,_0x13dd1d,_0x111967,_0xbfb1d7,_0x5403a5,_0x28c006,_0xbb396c){var _0x2c47a5=_0x33474e;for(var _0x5e2a0c=this[_0x2c47a5(0x429)],_0x5e14ff=_0xa65bd5[_0x6e1f20]^_0x13dd1d[0x0],_0x2301fc=_0xa65bd5[_0x6e1f20+0x1]^_0x13dd1d[0x1],_0x4be417=_0xa65bd5[_0x6e1f20+0x2]^_0x13dd1d[0x2],_0x31146a=_0xa65bd5[_0x6e1f20+0x3]^_0x13dd1d[0x3],_0x2907bc=0x4,_0x50592b=0x1;_0x50592b<_0x5e2a0c;_0x50592b++){var _0x32a697=_0x111967[_0x5e14ff>>>0x18]^_0xbfb1d7[_0x2301fc>>>0x10&0xff]^_0x5403a5[_0x4be417>>>0x8&0xff]^_0x28c006[_0x31146a&0xff]^_0x13dd1d[_0x2907bc++],_0x5654b9=_0x111967[_0x2301fc>>>0x18]^_0xbfb1d7[_0x4be417>>>0x10&0xff]^_0x5403a5[_0x31146a>>>0x8&0xff]^_0x28c006[_0x5e14ff&0xff]^_0x13dd1d[_0x2907bc++],_0x41c102=_0x111967[_0x4be417>>>0x18]^_0xbfb1d7[_0x31146a>>>0x10&0xff]^_0x5403a5[_0x5e14ff>>>0x8&0xff]^_0x28c006[_0x2301fc&0xff]^_0x13dd1d[_0x2907bc++],_0x20b894=_0x111967[_0x31146a>>>0x18]^_0xbfb1d7[_0x5e14ff>>>0x10&0xff]^_0x5403a5[_0x2301fc>>>0x8&0xff]^_0x28c006[_0x4be417&0xff]^_0x13dd1d[_0x2907bc++];_0x5e14ff=_0x32a697,_0x2301fc=_0x5654b9,_0x4be417=_0x41c102,_0x31146a=_0x20b894;}var _0x32a697=(_0xbb396c[_0x5e14ff>>>0x18]<<0x18|_0xbb396c[_0x2301fc>>>0x10&0xff]<<0x10|_0xbb396c[_0x4be417>>>0x8&0xff]<<0x8|_0xbb396c[_0x31146a&0xff])^_0x13dd1d[_0x2907bc++],_0x5654b9=(_0xbb396c[_0x2301fc>>>0x18]<<0x18|_0xbb396c[_0x4be417>>>0x10&0xff]<<0x10|_0xbb396c[_0x31146a>>>0x8&0xff]<<0x8|_0xbb396c[_0x5e14ff&0xff])^_0x13dd1d[_0x2907bc++],_0x41c102=(_0xbb396c[_0x4be417>>>0x18]<<0x18|_0xbb396c[_0x31146a>>>0x10&0xff]<<0x10|_0xbb396c[_0x5e14ff>>>0x8&0xff]<<0x8|_0xbb396c[_0x2301fc&0xff])^_0x13dd1d[_0x2907bc++],_0x20b894=(_0xbb396c[_0x31146a>>>0x18]<<0x18|_0xbb396c[_0x5e14ff>>>0x10&0xff]<<0x10|_0xbb396c[_0x2301fc>>>0x8&0xff]<<0x8|_0xbb396c[_0x4be417&0xff])^_0x13dd1d[_0x2907bc++];_0xa65bd5[_0x6e1f20]=_0x32a697,_0xa65bd5[_0x6e1f20+0x1]=_0x5654b9,_0xa65bd5[_0x6e1f20+0x2]=_0x41c102,_0xa65bd5[_0x6e1f20+0x3]=_0x20b894;},'keySize':0x100/0x20});_0x1d02e4[_0x33474e(0x49b)]=_0x33e548[_0x33474e(0x2f2)](_0x3f6305);}()),_0x502436[_0x338ce8(0x49b)];}));}(fe)),fe[_0x19a9f1(0x2ba)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x72c010(0x2ba)],rt;function Vi(){var _0x53d9a1=_0x72c010;return rt||(rt=0x1,function(_0x1b76b6,_0x5b4875){(function(_0x3d431d,_0x370311){var _0x1a7b7e=_0x284f;_0x1b76b6[_0x1a7b7e(0x2ba)]=_0x370311(Q());}(Fi,function(_0xd5241a){var _0x252755=_0x284f;return _0xd5241a[_0x252755(0x44e)][_0x252755(0x159)];}));}(be)),be[_0x53d9a1(0x2ba)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x72c010(0x2ba)],st;function Yi(){return st||(st=0x1,function(_0x19c996,_0x573962){(function(_0x5676ca,_0x435b36){var _0x166639=_0x284f;_0x19c996[_0x166639(0x2ba)]=_0x435b36(Q());}(Ki,function(_0x4d2f3b){var _0x1ead06=_0x284f;return(function(){var _0x7989d4=_0x284f;if(typeof ArrayBuffer==_0x7989d4(0x206)){var _0x137c3c=_0x4d2f3b,_0x3fc5f1=_0x137c3c[_0x7989d4(0x1e1)],_0x616508=_0x3fc5f1[_0x7989d4(0x3c0)],_0x5e303c=_0x616508[_0x7989d4(0x154)],_0x559a28=_0x616508[_0x7989d4(0x154)]=function(_0x308897){var _0x10402d=_0x7989d4;if(_0x308897 instanceof ArrayBuffer&&(_0x308897=new Uint8Array(_0x308897)),(_0x308897 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x308897 instanceof Uint8ClampedArray||_0x308897 instanceof Int16Array||_0x308897 instanceof Uint16Array||_0x308897 instanceof Int32Array||_0x308897 instanceof Uint32Array||_0x308897 instanceof Float32Array||_0x308897 instanceof Float64Array)&&(_0x308897=new Uint8Array(_0x308897[_0x10402d(0x30e)],_0x308897[_0x10402d(0x497)],_0x308897['byteLength'])),_0x308897 instanceof Uint8Array){for(var _0x4c371b=_0x308897[_0x10402d(0x1ce)],_0x18965d=[],_0x4ad8dc=0x0;_0x4ad8dc<_0x4c371b;_0x4ad8dc++)_0x18965d[_0x4ad8dc>>>0x2]|=_0x308897[_0x4ad8dc]<<0x18-_0x4ad8dc%0x4*0x8;_0x5e303c[_0x10402d(0x478)](this,_0x18965d,_0x4c371b);}else _0x5e303c[_0x10402d(0x20a)](this,arguments);};_0x559a28['prototype']=_0x616508;}}()),_0x4d2f3b[_0x1ead06(0x1e1)][_0x1ead06(0x3c0)];}));}(Re)),Re['exports'];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x72c010(0x2ba)],ot;function Xi(){var _0x17c254=_0x72c010;return ot||(ot=0x1,function(_0x1819a2,_0x4e4ef8){(function(_0x5dc898,_0x33ba87,_0x3d2627){var _0x42cc38=_0x284f;_0x1819a2[_0x42cc38(0x2ba)]=_0x33ba87(Q(),Ut());}(Ji,function(_0x4d25a3){var _0x21ea44=_0x284f;return _0x4d25a3[_0x21ea44(0x3a9)][_0x21ea44(0x437)]={'pad':function(){},'unpad':function(){}},_0x4d25a3[_0x21ea44(0x3a9)][_0x21ea44(0x437)];}));}(Oe)),Oe[_0x17c254(0x2ba)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x43d536,_0x45f2e4){var _0x1a9e02=_0x72c010;const _0x36ab48=_0x45f2e4-_0x43d536[_0x1a9e02(0x2f9)]%_0x45f2e4,_0x5c71bb=String[_0x1a9e02(0x1c5)](_0x36ab48)[_0x1a9e02(0x23c)](_0x36ab48);return _0x43d536+_0x5c71bb;}function tn(_0x5e07db,_0x169661){var _0x15bfbe=_0x72c010;const _0x5bc380=zi[_0x15bfbe(0x1bf)](0x10),_0x206419=en(_0x5e07db,0x10),_0x34b941=ji[_0x15bfbe(0x480)](Gi[_0x15bfbe(0x3c9)](_0x206419),nt[_0x15bfbe(0x3c9)](_0x169661),{'iv':_0x5bc380,'padding':Qi});return _0x5bc380[_0x15bfbe(0x390)](_0x34b941[_0x15bfbe(0x3cb)])[_0x15bfbe(0x25e)](nt);}function nn(){var _0x38bbba=_0x72c010;const _0x5d71f7=wt[_0x38bbba(0x2bd)]()[_0x38bbba(0x4b4)];if(_0x5d71f7){const _0x2b73f4={'time':Math[_0x38bbba(0x28a)](Date[_0x38bbba(0x278)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x38bbba(0x45a)](_0x2b73f4),_0x5d71f7);}}var rn=Object[_0x72c010(0x43c)],sn=(_0x53e6ae,_0x4f0c16,_0x5bab5c,_0x4aae90)=>{var _0x2f07c2=_0x72c010;for(var _0x369556=_0x4aae90>0x1?void 0x0:_0x4aae90?rn(_0x4f0c16,_0x5bab5c):_0x4f0c16,_0x1d458b=_0x53e6ae[_0x2f07c2(0x2f9)]-0x1,_0x316f29;_0x1d458b>=0x0;_0x1d458b--)(_0x316f29=_0x53e6ae[_0x1d458b])&&(_0x369556=_0x316f29(_0x369556)||_0x369556);return _0x369556;},on=(_0xa276e7,_0x5ccf16)=>(_0x241071,_0x36e78f)=>_0x5ccf16(_0x241071,_0x36e78f,_0xa276e7);let Ne=class{constructor(_0x18ebae){var _0x2e9d55=_0x72c010;this[_0x2e9d55(0x1ec)]=_0x18ebae,this[_0x2e9d55(0x263)]();}[_0x72c010(0x263)](){var _0xd40293=_0x72c010;this[_0xd40293(0x1ec)][_0xd40293(0x3e4)]({'interceptor':(_0x1ba9a1,_0x270b9a)=>{const _0x58ac34=_0x1ba9a1['headers'],_0x41144b=nn();return _0x41144b&&_0x58ac34['set']('x-univer-host',_0x41144b),_0x270b9a(_0x1ba9a1);}});}};Ne=sn([on(0x0,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)]))],Ne);var an=Object[_0x72c010(0x43c)],cn=(_0x13ccd9,_0x13fe2d,_0x5dd20f,_0x320d22)=>{for(var _0x5c1daf=_0x320d22>0x1?void 0x0:_0x320d22?an(_0x13fe2d,_0x5dd20f):_0x13fe2d,_0x40a34a=_0x13ccd9['length']-0x1,_0x1990f7;_0x40a34a>=0x0;_0x40a34a--)(_0x1990f7=_0x13ccd9[_0x40a34a])&&(_0x5c1daf=_0x1990f7(_0x5c1daf)||_0x5c1daf);return _0x5c1daf;},we=(_0x35fecc,_0x15eae3)=>(_0xbf5a5e,_0x98a7d3)=>_0x15eae3(_0xbf5a5e,_0x98a7d3,_0x35fecc);exports[_0x72c010(0x35e)]=class extends a['RxDisposable']{constructor(_0x479a5c,_0x2edb9b,_0x43d4fc){var _0x21bb8e=_0x72c010;super(),A(this,_0x21bb8e(0x1c0),new $['BehaviorSubject'](null)),A(this,_0x21bb8e(0x3af),this[_0x21bb8e(0x1c0)][_0x21bb8e(0x2df)]()),(this[_0x21bb8e(0x452)]=_0x479a5c,this[_0x21bb8e(0x411)]=_0x2edb9b,this[_0x21bb8e(0x329)]=_0x43d4fc);}async[_0x72c010(0x2e1)](_0xf1b892,_0x21cbee,_0x5a93e7){var _0x405932=_0x72c010;this[_0x405932(0x1c0)]['next']({'unitId':_0xf1b892,'type':_0x21cbee});let _0x525c6c=null;switch(_0x21cbee){case J['UNIVER_SHEET']:{_0x525c6c=await this[_0x405932(0x411)][_0x405932(0x48e)](_0xf1b892,_0x5a93e7);break;}case J[_0x405932(0x356)]:{_0x525c6c=await this[_0x405932(0x411)][_0x405932(0x46e)](_0xf1b892,_0x5a93e7);break;}default:{this['_logService'][_0x405932(0x2e5)](_0x405932(0x42e),_0x405932(0x37e));break;}}return _0x525c6c;}async[_0x72c010(0x374)](_0x694545,_0x12892e,_0x350a7d){var _0x123e76=_0x72c010,_0x240b5e;this[_0x123e76(0x1c0)]['next']({'unitId':_0x694545,'type':_0x12892e,'subUnitId':_0x350a7d});let _0x5b6841=0x0;const _0x5d5f8a=await((_0x240b5e=this[_0x123e76(0x329)])==null?void 0x0:_0x240b5e[_0x123e76(0x1f8)](_0x694545));return _0x5d5f8a&&(_0x5d5f8a[_0x123e76(0x3e3)]||_0x5d5f8a['mutations'][_0x123e76(0x2f9)]!==0x0)&&(_0x5b6841=_0x5d5f8a['rev']),_0x5b6841===0x0&&this[_0x123e76(0x452)][_0x123e76(0x18f)](_0x123e76(0x42e),_0x123e76(0x1f4)),this['loadUnitOfRevision'](_0x694545,_0x12892e,_0x5b6841);}},exports[_0x72c010(0x35e)]=cn([we(0x0,a[_0x72c010(0x36f)]),we(0x1,a[_0x72c010(0x21f)](I['SnapshotService'])),we(0x2,a[_0x72c010(0x3a8)](q))],exports['DataLoaderService']);var hn=Object[_0x72c010(0x43c)],_n=(_0x38e285,_0x215548,_0x339a90,_0x50eacd)=>{var _0x2a59b9=_0x72c010;for(var _0x434ea8=_0x50eacd>0x1?void 0x0:_0x50eacd?hn(_0x215548,_0x339a90):_0x215548,_0x41be4e=_0x38e285[_0x2a59b9(0x2f9)]-0x1,_0x179471;_0x41be4e>=0x0;_0x41be4e--)(_0x179471=_0x38e285[_0x41be4e])&&(_0x434ea8=_0x179471(_0x434ea8)||_0x434ea8);return _0x434ea8;},Le=(_0x481ebe,_0xce942e)=>(_0x5ca4ea,_0x3e46c9)=>_0xce942e(_0x5ca4ea,_0x3e46c9,_0x481ebe);const ln=[_0x72c010(0x19b),_0x72c010(0x491),'image/jpg',_0x72c010(0x391),_0x72c010(0x433)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x72c010(0x345),Sn=_0x72c010(0x176),fn=_0x72c010(0x181);exports[_0x72c010(0x26c)]=class{constructor(_0x14f4da,_0x59a11f,_0x5c8084){var _0x5676ab=_0x72c010;A(this,'_waitCount',0x0),A(this,_0x5676ab(0x17b),new $['Subject']()),A(this,'change$',this[_0x5676ab(0x17b)]),A(this,_0x5676ab(0x288),new Map()),(this['_httpService']=_0x14f4da,this[_0x5676ab(0x23d)]=_0x59a11f,this[_0x5676ab(0x286)]=_0x5c8084);}[_0x72c010(0x29c)](_0x3bca00){var _0x516c0d=_0x72c010;this[_0x516c0d(0x414)]=_0x3bca00,this[_0x516c0d(0x17b)][_0x516c0d(0x1fb)](_0x3bca00);}[_0x72c010(0x3f0)](_0x1cc4bc,_0x497ff7){var _0x2af30a=_0x72c010;if(_0x497ff7===z[_0x2af30a(0x2d0)][_0x2af30a(0x332)]){const _0x2da2c9=new Image();return _0x2da2c9[_0x2af30a(0x409)]=_0x1cc4bc,_0x2da2c9;}return this[_0x2af30a(0x288)]['get'](_0x1cc4bc);}[_0x72c010(0x290)](_0x76e7ba,_0x5665cf,_0x3cf0c2){var _0x302ccb=_0x72c010;_0x5665cf===z[_0x302ccb(0x2d0)][_0x302ccb(0x332)]||_0x3cf0c2==null||this[_0x302ccb(0x288)]['set'](_0x76e7ba,_0x3cf0c2);}async[_0x72c010(0x467)](_0x416dc2){var _0x3d8e95=_0x72c010;try{const _0xfae267=this['_replaceFileID'](this[_0x3d8e95(0x2c3)](),''+_0x416dc2),_0x441c7f=(await this['_httpService'][_0x3d8e95(0x4b7)](_0xfae267))[_0x3d8e95(0x273)];if(_0x441c7f[_0x3d8e95(0x2e5)]&&_0x441c7f['error'][_0x3d8e95(0x369)]===gt['OK']){const _0x5aba37=new URL(_0x441c7f['url'],this[_0x3d8e95(0x293)]())[_0x3d8e95(0x25e)]();return Promise[_0x3d8e95(0x238)](_0x5aba37);}return Promise['reject'](_0x441c7f[_0x3d8e95(0x2e5)]);}catch(_0x385c18){return Promise['reject'](_0x385c18);}}async[_0x72c010(0x44c)](_0x4919cd){var _0xb8d7e7=_0x72c010;let _0x4cbb76='';if(!ln[_0xb8d7e7(0x44b)](_0x4919cd[_0xb8d7e7(0x37b)]))return this[_0xb8d7e7(0x43d)](),Promise[_0xb8d7e7(0x26b)](new Error(z[_0xb8d7e7(0x479)]['ERROR_IMAGE_TYPE']));if(_0x4919cd[_0xb8d7e7(0x3ae)]>un)return this[_0xb8d7e7(0x43d)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0xb8d7e7(0x254)]));try{const _0x5ea7b7=new FormData();_0x5ea7b7[_0xb8d7e7(0x1c1)](_0xb8d7e7(0x188),_0x4919cd);const _0x4ae87f=this[_0xb8d7e7(0x286)][_0xb8d7e7(0x2cf)](),_0x41993c=_0x4ae87f==null?void 0x0:_0x4ae87f[_0xb8d7e7(0x233)]();if(!_0x41993c)throw new Error(_0xb8d7e7(0x1d3));const _0x5c0b6b=this['_getUploadFileURL']()+'?size='+_0x4919cd['size']['toString']()+'&source='+Et[_0xb8d7e7(0x40e)]+_0xb8d7e7(0x407)+encodeURIComponent(_0x41993c),_0x54de47={'body':_0x5ea7b7},_0xc8c4ce=(await this['_httpService'][_0xb8d7e7(0x306)](_0x5c0b6b,_0x54de47))['body'];if(typeof _0xc8c4ce[_0xb8d7e7(0x47d)]!=_0xb8d7e7(0x294))return this[_0xb8d7e7(0x43d)](),Promise[_0xb8d7e7(0x26b)](new Error(z[_0xb8d7e7(0x479)][_0xb8d7e7(0x20e)]));_0x4cbb76=_0xc8c4ce[_0xb8d7e7(0x47d)];}catch{return this[_0xb8d7e7(0x43d)](),Promise['reject'](new Error(z[_0xb8d7e7(0x479)]['ERROR_IMAGE']));}return new Promise((_0x18fafc,_0x25c5b0)=>{const _0x5eccef=new FileReader();_0x5eccef['readAsDataURL'](_0x4919cd),_0x5eccef['onload']=_0x499835=>{var _0x2b89c0=_0x284f,_0x12e8f3;const _0x17e2a0=(_0x12e8f3=_0x499835[_0x2b89c0(0x2f1)])==null?void 0x0:_0x12e8f3[_0x2b89c0(0x243)];if(_0x17e2a0==null){this['_decreaseWaiting'](),_0x25c5b0(new Error(z[_0x2b89c0(0x479)][_0x2b89c0(0x20e)]));return;}const _0x4afaf1=a[_0x2b89c0(0x317)][_0x2b89c0(0x14e)](0x6);_0x18fafc({'imageId':_0x4afaf1,'imageSourceType':z['ImageSourceType'][_0x2b89c0(0x23a)],'source':_0x4cbb76,'base64Cache':_0x17e2a0,'status':z[_0x2b89c0(0x479)][_0x2b89c0(0x24d)]}),this[_0x2b89c0(0x43d)]();};});}[_0x72c010(0x1cc)](){var _0x21fc81=_0x72c010,_0x4ad9aa,_0x1eddf0;const _0x4a50f5=this[_0x21fc81(0x23d)]['getConfig'](dn),_0x158681=this[_0x21fc81(0x23d)][_0x21fc81(0x282)](K);return(_0x1eddf0=(_0x4ad9aa=_0x158681==null?void 0x0:_0x158681[_0x21fc81(0x408)])!=null?_0x4ad9aa:_0x4a50f5)!=null?_0x1eddf0:vn;}[_0x72c010(0x2c3)](){var _0x14ef96=_0x72c010,_0x1dbd84,_0x100fb9;const _0x134778=this[_0x14ef96(0x23d)]['getConfig'](Sn),_0x54bd6a=this[_0x14ef96(0x23d)][_0x14ef96(0x282)](K);return(_0x100fb9=(_0x1dbd84=_0x54bd6a==null?void 0x0:_0x54bd6a[_0x14ef96(0x162)])!=null?_0x1dbd84:_0x134778)!=null?_0x100fb9:fn;}[_0x72c010(0x293)](){var _0x208806=_0x72c010,_0x96b8b0;const _0x3a17ea=this[_0x208806(0x23d)][_0x208806(0x282)](K);return(_0x96b8b0=_0x3a17ea==null?void 0x0:_0x3a17ea[_0x208806(0x192)])!=null?_0x96b8b0:location['origin'];}['_replaceFileID'](_0x51f062,_0x259439){var _0x161168=_0x72c010;return _0x51f062[_0x161168(0x245)](_0x161168(0x2e6),_0x259439);}[_0x72c010(0x43d)](){var _0x534233=_0x72c010;this[_0x534233(0x414)]-=0x1,this[_0x534233(0x17b)][_0x534233(0x1fb)](this[_0x534233(0x414)]);}},exports[_0x72c010(0x26c)]=_n([Le(0x0,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)])),Le(0x1,a[_0x72c010(0x25f)]),Le(0x2,a[_0x72c010(0x21f)](a[_0x72c010(0x37f)]))],exports['CollaborationImageIoService']);var pn=Object['getOwnPropertyDescriptor'],In=(_0x2d0a44,_0x366edb,_0x49ea79,_0x54273c)=>{var _0x14ee00=_0x72c010;for(var _0x33a1be=_0x54273c>0x1?void 0x0:_0x54273c?pn(_0x366edb,_0x49ea79):_0x366edb,_0x1b1229=_0x2d0a44[_0x14ee00(0x2f9)]-0x1,_0x62f1ac;_0x1b1229>=0x0;_0x1b1229--)(_0x62f1ac=_0x2d0a44[_0x1b1229])&&(_0x33a1be=_0x62f1ac(_0x33a1be)||_0x33a1be);return _0x33a1be;},at=(_0x43654b,_0x1fb838)=>(_0x7dfdd8,_0x1b4c12)=>_0x1fb838(_0x7dfdd8,_0x1b4c12,_0x43654b);const gn=_0x72c010(0x3f1);exports[_0x72c010(0x466)]=class{constructor(_0x3b7795,_0x53302b){var _0x42c731=_0x72c010;this[_0x42c731(0x23d)]=_0x3b7795,this[_0x42c731(0x355)]=_0x53302b;}['_getAPIPrefixPath'](){var _0xcad381=_0x72c010,_0x32b254,_0x7f914e;const _0x248bae=this[_0xcad381(0x23d)][_0xcad381(0x282)](Ve),_0x1e3cdd=this[_0xcad381(0x23d)][_0xcad381(0x282)](K);return(_0x7f914e=(_0x32b254=_0x1e3cdd==null?void 0x0:_0x1e3cdd[_0xcad381(0x402)])!=null?_0x32b254:_0x248bae)!=null?_0x7f914e:gn;}async[_0x72c010(0x424)](_0x308044){var _0x3bc50c=_0x72c010;const _0x2e37dd=this[_0x3bc50c(0x488)]()+_0x3bc50c(0x3ec);return{'list':[{'title':_0x3bc50c(0x14f),'mentions':(await this[_0x3bc50c(0x355)][_0x3bc50c(0x4b7)](_0x2e37dd,{'params':{'objectID':_0x308044['unitId'],'unitID':_0x308044['unitId']}}))[_0x3bc50c(0x273)][_0x3bc50c(0x3ac)][_0x3bc50c(0x14c)](_0x219f34=>({'objectId':_0x219f34['id'],'name':_0x219f34['subject']['name'],'metadata':{'icon':_0x219f34['subject']['avatar']},'label':_0x219f34[_0x3bc50c(0x3fb)][_0x3bc50c(0x3a7)],'objectType':a[_0x3bc50c(0x47a)]['PERSON']})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x72c010(0x466)]=In([at(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x25f)])),at(0x1,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)]))],exports[_0x72c010(0x466)]);var En=Object[_0x72c010(0x43c)],mn=(_0x566b57,_0x4423ad,_0x15ec1b,_0x3f0896)=>{for(var _0x5761d3=_0x3f0896>0x1?void 0x0:_0x3f0896?En(_0x4423ad,_0x15ec1b):_0x4423ad,_0x4514a8=_0x566b57['length']-0x1,_0x34ade7;_0x4514a8>=0x0;_0x4514a8--)(_0x34ade7=_0x566b57[_0x4514a8])&&(_0x5761d3=_0x34ade7(_0x5761d3)||_0x5761d3);return _0x5761d3;},le=(_0x54c72a,_0x28f808)=>(_0x3b83af,_0x491cb1)=>_0x28f808(_0x3b83af,_0x491cb1,_0x54c72a);let Ue=class extends a[_0x72c010(0x3d3)]{constructor(_0x160bcf,_0x20fb5d,_0x29aa8a,_0x209ff8,_0xaf1f7f){var _0x238ec=_0x72c010;super(),this[_0x238ec(0x39f)]=_0x160bcf,this[_0x238ec(0x286)]=_0x20fb5d,this[_0x238ec(0x328)]=_0x29aa8a,this[_0x238ec(0x335)]=_0x209ff8,this[_0x238ec(0x2b9)]=_0xaf1f7f,this[_0x238ec(0x1ba)](),this[_0x238ec(0x3dd)]();}[_0x72c010(0x3dd)](){var _0x50b535=_0x72c010;const _0xad7665=async _0x430285=>{var _0x46cd1e=_0x284f;(await this[_0x46cd1e(0x335)]['requireSession'](_0x430285))[_0x46cd1e(0x2d2)][_0x46cd1e(0x190)](V[_0x46cd1e(0x1cb)](_0x446725=>_0x446725[_0x46cd1e(0x249)]===I[_0x46cd1e(0x3b2)][_0x46cd1e(0x19d)]),V['takeUntil'](this[_0x46cd1e(0x1b8)]))[_0x46cd1e(0x184)](_0x30459f=>{var _0x22378c=_0x46cd1e;const _0x5bf653=_0x30459f,{reason:_0x1477db}=_0x5bf653[_0x22378c(0x35f)];this[_0x22378c(0x2b9)]['emitEvent']({'id':Z[_0x22378c(0x453)],'data':_0x1477db}),this[_0x22378c(0x328)]['updatePermissionPoint'](new X['WorkbookEditablePermission'](_0x430285)['id'],!0x1),this[_0x22378c(0x335)]['closeSession'](_0x430285);});};$['merge'](this[_0x50b535(0x286)][_0x50b535(0x354)](a[_0x50b535(0x30f)][_0x50b535(0x477)]),this[_0x50b535(0x286)][_0x50b535(0x354)](a[_0x50b535(0x30f)]['UNIVER_DOC']))[_0x50b535(0x190)](V[_0x50b535(0x14c)](_0x4a963d=>_0x4a963d[_0x50b535(0x233)]()),V['filter'](_0x568f4a=>!a['isInternalEditorID'](_0x568f4a)),V[_0x50b535(0x3eb)](this[_0x50b535(0x1b8)]))[_0x50b535(0x184)](_0x35a6ea=>{_0xad7665(_0x35a6ea);});}[_0x72c010(0x1ba)](){var _0x5ef3b8=_0x72c010;const _0x77e4e0=async _0xb728d3=>{var _0x42c713=_0x284f;const _0x587b8a=await this[_0x42c713(0x335)][_0x42c713(0x24e)](_0xb728d3),_0x186c00=this['_injector']['get'](X[_0x42c713(0x19c)]);_0x587b8a[_0x42c713(0x2d2)]['pipe'](V[_0x42c713(0x1cb)](_0x3f65eb=>_0x3f65eb[_0x42c713(0x249)]===I[_0x42c713(0x3b2)][_0x42c713(0x3a5)]),V[_0x42c713(0x3eb)](this[_0x42c713(0x1b8)]))['subscribe'](_0x444f1b=>{var _0x417798=_0x42c713;const _0x245812=_0x444f1b,{objectId:_0x49c1ae}=_0x245812[_0x417798(0x35f)];_0x49c1ae===_0xb728d3?_0x186c00[_0x417798(0x198)](_0xb728d3):_0x186c00[_0x417798(0x1dd)](_0xb728d3,_0x49c1ae);});};$[_0x5ef3b8(0x42f)](this[_0x5ef3b8(0x286)][_0x5ef3b8(0x354)](a[_0x5ef3b8(0x30f)][_0x5ef3b8(0x477)]))['pipe'](V[_0x5ef3b8(0x14c)](_0x38485b=>_0x38485b[_0x5ef3b8(0x233)]()),V['filter'](_0x4c12f7=>!a['isInternalEditorID'](_0x4c12f7)),V[_0x5ef3b8(0x3eb)](this['dispose$']))[_0x5ef3b8(0x184)](_0x5a671e=>{_0x77e4e0(_0x5a671e);});}};Ue=mn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x72c010(0x37f)]),le(0x2,a[_0x72c010(0x3c4)]),le(0x3,a['Inject'](exports['CollaborationSessionService'])),le(0x4,a[_0x72c010(0x21f)](ee))],Ue);var Cn=Object[_0x72c010(0x43c)],Tn=(_0x1118f6,_0x5e0ead,_0x424bd9,_0xfcc9e8)=>{var _0x2234c4=_0x72c010;for(var _0x5e814f=_0xfcc9e8>0x1?void 0x0:_0xfcc9e8?Cn(_0x5e0ead,_0x424bd9):_0x5e0ead,_0x56ebde=_0x1118f6[_0x2234c4(0x2f9)]-0x1,_0x371329;_0x56ebde>=0x0;_0x56ebde--)(_0x371329=_0x1118f6[_0x56ebde])&&(_0x5e814f=_0x371329(_0x5e814f)||_0x5e814f);return _0x5e814f;},ct=(_0x239665,_0x2e15e8)=>(_0xb6577b,_0x326596)=>_0x2e15e8(_0xb6577b,_0x326596,_0x239665);exports[_0x72c010(0x3bf)]=class{constructor(_0x13c400,_0x4d3550){var _0x4b058c=_0x72c010;this['_configService']=_0x13c400,this[_0x4b058c(0x1ec)]=_0x4d3550;}async[_0x72c010(0x349)](_0x54293e,_0x43cfab){var _0x245009=_0x72c010,_0x3b42cc;const {unitID:_0x4b8d4c,type:_0x920dc6,revision:_0x5ee9fe=0x0}=_0x43cfab,_0x1c0761=this['getSnapshotAPIPath']()+'/'+_0x920dc6+_0x245009(0x158)+_0x4b8d4c+_0x245009(0x446)+_0x5ee9fe,_0x13e87c=(await this['_httpService'][_0x245009(0x4b7)](_0x1c0761))['body'],_0x1c314e=(_0x3b42cc=_0x13e87c[_0x245009(0x26f)])==null?void 0x0:_0x3b42cc['workbook'];if(_0x1c314e){const _0x200bf0=_0x1c314e==null?void 0x0:_0x1c314e[_0x245009(0x450)],_0x3ffb18=I[_0x245009(0x2e0)][_0x245009(0x322)](I[_0x245009(0x2b2)](_0x200bf0));_0x1c314e[_0x245009(0x450)]=_0x3ffb18,Object['entries'](_0x1c314e[_0x245009(0x3c1)])[_0x245009(0x292)](([,_0x395e03])=>{var _0x4e45fe=_0x245009;const _0xac8a86=_0x395e03['originalMeta'],_0x1673b5=I['textEncoder'][_0x4e45fe(0x322)](I[_0x4e45fe(0x2b2)](_0xac8a86));_0x395e03[_0x4e45fe(0x450)]=_0x1673b5;});}return _0x13e87c;}async['getSheetBlock'](_0x1ce070,_0x2faffa){var _0x128d2c=_0x72c010;const {unitID:_0x8a102e,type:_0x28da0a,blockID:_0x2cf52f}=_0x2faffa,_0x4a5973=this[_0x128d2c(0x177)]()+'/'+_0x28da0a+_0x128d2c(0x158)+_0x8a102e+_0x128d2c(0x14b)+_0x2cf52f;return(await this[_0x128d2c(0x1ec)]['get'](_0x4a5973))[_0x128d2c(0x273)];}async['getDeserializedSheetBlock'](_0x1a560b,_0x451e00){var _0x1fd964=_0x72c010;const {unitID:_0x5e0af7,type:_0xd7199d,blockID:_0x4b8769}=_0x451e00,_0x543a5b=this['_getAPIPrefix']()+_0x1fd964(0x14b)+_0xd7199d+_0x1fd964(0x158)+_0x5e0af7+'/block/'+_0x4b8769;return(await this[_0x1fd964(0x1ec)]['get'](_0x543a5b))[_0x1fd964(0x273)];}async['fetchMissingChangesets'](_0x817c8d,_0x3eac85){var _0x299e5a=_0x72c010;const {unitID:_0x484238,type:_0x486a74,from:_0x41a64c,to:_0x5d5742}=_0x3eac85,_0xbd62db=this['_getAPIPrefix']()+'/'+_0x486a74+_0x299e5a(0x158)+_0x484238+_0x299e5a(0x40c)+_0x41a64c+'&to='+_0x5d5742;return(await this[_0x299e5a(0x1ec)][_0x299e5a(0x4b7)](_0xbd62db))['body'];}['getSnapshotAPIPath'](){var _0x6bbbe3=_0x72c010,_0x3584f2;return(_0x3584f2=this['_configService'][_0x6bbbe3(0x282)](lt))!=null?_0x3584f2:this[_0x6bbbe3(0x177)]();}['_getAPIPrefix'](){var _0x2d84be=_0x72c010,_0x3dc4c9,_0x563e3e;const _0x69f758=this[_0x2d84be(0x23d)][_0x2d84be(0x282)](_t),_0x2685f4=this[_0x2d84be(0x23d)][_0x2d84be(0x282)](K);return(_0x563e3e=(_0x3dc4c9=_0x2685f4==null?void 0x0:_0x2685f4['snapshotServerUrl'])!=null?_0x3dc4c9:_0x69f758)!=null?_0x563e3e:Lt;}async['getResourcesRequest'](_0x3784d7,_0x4c6c71){var _0x2b40fa=_0x72c010;const _0x113fa3=_0x2b40fa(0x2b0)+_0x4c6c71[_0x2b40fa(0x37b)]+_0x2b40fa(0x158)+_0x4c6c71[_0x2b40fa(0x4af)]+'/resources';return(await this[_0x2b40fa(0x1ec)][_0x2b40fa(0x4b7)](_0x113fa3,{'params':{'resourceId':JSON[_0x2b40fa(0x45a)](_0x4c6c71['resourceIDs'])}}))[_0x2b40fa(0x273)];}['saveSnapshot'](){var _0x383a9e=_0x72c010;throw new Error(_0x383a9e(0x382));}[_0x72c010(0x17c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x72c010(0x41d)](){var _0x5f8a79=_0x72c010;throw new Error(_0x5f8a79(0x382));}[_0x72c010(0x3d9)](){var _0x18f69b=_0x72c010;throw new Error(_0x18f69b(0x382));}[_0x72c010(0x3cf)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x57efc9=_0x72c010;throw new Error(_0x57efc9(0x382));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a[_0x72c010(0x25f)]),ct(0x1,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)]))],exports[_0x72c010(0x3bf)]);var bn=Object[_0x72c010(0x43c)],Rn=(_0x24d027,_0x47eb1f,_0x5f01ee,_0x4c67a7)=>{var _0x52d0c3=_0x72c010;for(var _0x4e7957=_0x4c67a7>0x1?void 0x0:_0x4c67a7?bn(_0x47eb1f,_0x5f01ee):_0x47eb1f,_0x1bda51=_0x24d027[_0x52d0c3(0x2f9)]-0x1,_0x4489fb;_0x1bda51>=0x0;_0x1bda51--)(_0x4489fb=_0x24d027[_0x1bda51])&&(_0x4e7957=_0x4489fb(_0x4e7957)||_0x4e7957);return _0x4e7957;},ue=(_0x18db11,_0x4ee89a)=>(_0x306338,_0x72a183)=>_0x4ee89a(_0x306338,_0x72a183,_0x18db11);exports[_0x72c010(0x32c)]=class extends a['LocalUndoRedoService']{constructor(_0x16c22b,_0x558273,_0x54ec09,_0x1f318f,_0x35cf26){var _0x4a9d0d=_0x72c010;super(_0x16c22b,_0x558273,_0x54ec09),this[_0x4a9d0d(0x253)]=_0x1f318f,this[_0x4a9d0d(0x452)]=_0x35cf26;}['transformUndoRedo'](_0x12d43c,_0x440810){var _0x5a736c=_0x72c010;const _0x236ee8=this[_0x5a736c(0x3d7)](_0x12d43c);if(_0x236ee8)try{const _0x16ba74=this['_transformStack'](_0x236ee8,_0x440810);this[_0x5a736c(0x2e8)](_0x12d43c,_0x16ba74);}catch(_0x5d9d7f){this['_logService'][_0x5a736c(0x2e5)](_0x5a736c(0x3f7),_0x5d9d7f),this['_clearUndo'](_0x12d43c);}const _0x4c166c=this[_0x5a736c(0x474)](_0x12d43c);if(_0x4c166c)try{const _0x1731e7=this['_transformStack'](_0x4c166c,_0x440810);this[_0x5a736c(0x32a)](_0x12d43c,_0x1731e7);}catch(_0x2dad90){this['_logService'][_0x5a736c(0x2e5)](_0x2dad90),this[_0x5a736c(0x49f)](_0x12d43c);}}['_clearUndo'](_0x285164){var _0x5beca1=_0x72c010;const _0x7600f4=this['_getUndoStack'](_0x285164);_0x7600f4&&(_0x7600f4[_0x5beca1(0x2f9)]=0x0,this['_updateStatus']());}[_0x72c010(0x49f)](_0x3e2ae4){var _0x222fa5=_0x72c010;const _0x32a998=this[_0x222fa5(0x474)](_0x3e2ae4);_0x32a998&&(_0x32a998[_0x222fa5(0x2f9)]=0x0,this[_0x222fa5(0x387)]());}['_substituteUndoStack'](_0x253a7f,_0x509ee8){var _0x526c55=_0x72c010;this[_0x526c55(0x223)]['set'](_0x253a7f,_0x509ee8),this[_0x526c55(0x387)]();}[_0x72c010(0x32a)](_0x271c2d,_0x1eae2b){var _0x3bb5c4=_0x72c010;this[_0x3bb5c4(0x323)][_0x3bb5c4(0x268)](_0x271c2d,_0x1eae2b),this[_0x3bb5c4(0x387)]();}[_0x72c010(0x3ff)](_0x34c0a2,_0x406513){var _0x5e0123=_0x72c010;const _0x5a7594=[];let _0x5451b3=_0x406513,_0x23e3a5=_0x406513;for(let _0x5b67e1=_0x34c0a2[_0x5e0123(0x2f9)]-0x1;_0x5b67e1>=0x0;_0x5b67e1--){const {unitID:_0x209af4,undoMutations:_0x17ff39,redoMutations:_0x551449}=_0x34c0a2[_0x5b67e1],_0x33967a=this[_0x5e0123(0x253)][_0x5e0123(0x2f0)](_0x5451b3,_0x17ff39),_0x192125=this['_transformService'][_0x5e0123(0x2f0)](_0x23e3a5,_0x551449);if(I['isTransformMutationsWithChangesetFailure'](_0x33967a)||I['isTransformMutationsWithChangesetFailure'](_0x192125)){this[_0x5e0123(0x452)][_0x5e0123(0x2e5)](_0x5e0123(0x3f7),_0x5e0123(0x35a),_0x33967a,_0x192125);break;}_0x5451b3=_0x33967a[_0x5e0123(0x2af)],_0x23e3a5=_0x192125[_0x5e0123(0x2af)],_0x5a7594[_0x5e0123(0x41b)]({'unitID':_0x209af4,'undoMutations':_0x33967a['m2Prime'],'redoMutations':_0x192125[_0x5e0123(0x4a6)]});}return _0x5a7594['reverse']();}},exports[_0x72c010(0x32c)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x72c010(0x287)]),ue(0x2,a[_0x72c010(0x4ac)]),ue(0x3,I[_0x72c010(0x170)]),ue(0x4,a[_0x72c010(0x36f)])],exports[_0x72c010(0x32c)]);var On=Object[_0x72c010(0x210)],yn=Object[_0x72c010(0x43c)],Nn=(_0x31549e,_0x3c610b,_0x32e5c9)=>_0x3c610b in _0x31549e?On(_0x31549e,_0x3c610b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32e5c9}):_0x31549e[_0x3c610b]=_0x32e5c9,Un=(_0x57a53b,_0x459b16,_0x43e293,_0x2a7be6)=>{for(var _0x3e6f39=_0x2a7be6>0x1?void 0x0:_0x2a7be6?yn(_0x459b16,_0x43e293):_0x459b16,_0x17d390=_0x57a53b['length']-0x1,_0xdd65ae;_0x17d390>=0x0;_0x17d390--)(_0xdd65ae=_0x57a53b[_0x17d390])&&(_0x3e6f39=_0xdd65ae(_0x3e6f39)||_0x3e6f39);return _0x3e6f39;},Me=(_0x469291,_0x327871)=>(_0x9415c4,_0x35d68e)=>_0x327871(_0x9415c4,_0x35d68e,_0x469291),Dn=(_0x471bd3,_0x47ae9c,_0xdfa002)=>Nn(_0x471bd3,_0x47ae9c+'',_0xdfa002);const An=_0x72c010(0x2ab);exports[_0x72c010(0x149)]=class extends a[_0x72c010(0x200)]{constructor(_0x243d24,_0x2311a5,_0x3db181,_0x48fc9b){var _0x471d07=_0x72c010;super(),A(this,'_config'),(this['_logService']=_0x2311a5,this[_0x471d07(0x39f)]=_0x3db181,this[_0x471d07(0x23d)]=_0x48fc9b);const {..._0x3900e3}=a[_0x471d07(0x42f)]({},Yt,_0x243d24);if(!_0x3900e3['socketService'])throw new Error(_0x471d07(0x385));this[_0x471d07(0x224)]=_0x3900e3,this[_0x471d07(0x23d)][_0x471d07(0x2ec)](K,_0x3900e3);}[_0x72c010(0x27b)](){var _0x493cb9=_0x72c010;this['_registerDependencies'](),this[_0x493cb9(0x3c7)]();}[_0x72c010(0x19f)](){var _0x23c1fe=_0x72c010,_0x15e540,_0x12bf25;this[_0x23c1fe(0x39f)][_0x23c1fe(0x257)](a[_0x23c1fe(0x34c)])&&this[_0x23c1fe(0x452)]['error'](_0x23c1fe(0x3c6),_0x23c1fe(0x310));const _0x316449=a[_0x23c1fe(0x34d)]([[a[_0x23c1fe(0x34c)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x23c1fe(0x3f8)]],[exports[_0x23c1fe(0x29b)]],[exports[_0x23c1fe(0x1a1)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x23c1fe(0x35e)]],[He,{'useClass':this[_0x23c1fe(0x224)][_0x23c1fe(0x171)]}],[I[_0x23c1fe(0x3e1)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x23c1fe(0x333)],{'useClass':exports[_0x23c1fe(0x3c8)]}],[z[_0x23c1fe(0x29a)],{'useClass':exports['CollaborationImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x23c1fe(0x466)]}],[exports[_0x23c1fe(0x372)]],[xe]],(_0x15e540=this[_0x23c1fe(0x224)])==null?void 0x0:_0x15e540[_0x23c1fe(0x187)]);if(!((_0x12bf25=this[_0x23c1fe(0x224)])!=null&&_0x12bf25['enableSingleActiveInstanceLock'])){const _0x12523c=_0x316449[_0x23c1fe(0x29d)](([_0x3a11c2])=>_0x3a11c2===de);_0x12523c!==-0x1&&_0x316449[_0x23c1fe(0x272)](_0x12523c,0x1);}a[_0x23c1fe(0x2d8)](this[_0x23c1fe(0x39f)],_0x316449);}[_0x72c010(0x3c7)](){var _0x54525c=_0x72c010,_0x90601f,_0x2b927d,_0x5b939e;this['_injector']['get'](Y[_0x54525c(0x48f)])[_0x54525c(0x3e4)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x90601f=this[_0x54525c(0x224)])!=null&&_0x90601f[_0x54525c(0x1da)]||(_0x2b927d=this[_0x54525c(0x39f)][_0x54525c(0x4b7)](q,a[_0x54525c(0x313)][_0x54525c(0x240)]))==null||_0x2b927d[_0x54525c(0x45e)](),(_0x5b939e=this[_0x54525c(0x224)])!=null&&_0x5b939e['enableAuthServer']&&a['touchDependencies'](this[_0x54525c(0x39f)],[[ye]]),a[_0x54525c(0x439)](this[_0x54525c(0x39f)],[[Ne],[exports[_0x54525c(0x372)]],[Ue]]);}},Dn(exports[_0x72c010(0x149)],_0x72c010(0x361),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x72c010(0x34e)](I['UniverCollaborationPlugin'],Y['UniverNetworkPlugin']),Me(0x1,a[_0x72c010(0x36f)]),Me(0x2,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),Me(0x3,a[_0x72c010(0x25f)])],exports['UniverCollaborationClientPlugin']),exports[_0x72c010(0x3a3)]=Ve,exports[_0x72c010(0x183)]=K,exports[_0x72c010(0x456)]=pt,exports[_0x72c010(0x3dc)]=ut,exports[_0x72c010(0x14d)]=Be,exports[_0x72c010(0x15a)]=Z,exports[_0x72c010(0x14a)]=ee,exports[_0x72c010(0x204)]=$e,exports[_0x72c010(0x2c7)]=dt,exports[_0x72c010(0x4ae)]=Kt,exports[_0x72c010(0x299)]=kt,exports[_0x72c010(0x2a4)]=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports['ILocalCacheService']=q,exports[_0x72c010(0x31c)]=mt,exports[_0x72c010(0x281)]=de,exports[_0x72c010(0x4b3)]=Ft,exports[_0x72c010(0x201)]=Bt,exports[_0x72c010(0x371)]=It,exports[_0x72c010(0x289)]=Gt,exports[_0x72c010(0x255)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x72c010(0x250)]=_t,exports[_0x72c010(0x1f0)]=lt,exports[_0x72c010(0x266)]=re,exports['UnitStatus']=je,exports[_0x72c010(0x388)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x72c010(0x26a)]=Tt;
|